"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3242],{76661:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var r=a(95353);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function n(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){c(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function c(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const o={data:function(){return{isOpen:!1,languages:[]}},computed:n({},(0,r.L8)(["getThemeMode","getcompactLeftSideBarBgColor","getAvailableLanguages"])),methods:n(n({},(0,r.i0)(["changeThemeRtl","changeThemeLayout","changeThemeMode","changecompactLeftSideBarBgColor"])),{},{SetLocal:function(e){this.$i18n.locale=e,this.$store.dispatch("language/setLanguage",e),Fire.$emit("ChangeLanguage"),window.location.reload()}}),created:function(){this.$store.dispatch("loadAvailableLanguages")}};const l=(0,a(14486).A)(o,(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"customizer",class:{open:e.isOpen}},[t("div",{staticClass:"handle",on:{click:function(t){e.isOpen=!e.isOpen}}},[t("i",{staticClass:"i-Gear spin"})]),e._v(" "),t("vue-perfect-scrollbar",{staticClass:"customizer-body ps rtl-ps-none",attrs:{settings:{suppressScrollX:!0,wheelPropagation:!1}}},["vertical-sidebar"!=e.getThemeMode.layout&&"vertical-sidebar-two"!=e.getThemeMode.layout?t("div",{},[t("div",{staticClass:"card-header",attrs:{id:"headingOne"}},[t("p",{staticClass:"mb-0"},[e._v("RTL")])]),e._v(" "),t("div",{staticClass:"card-body"},[t("label",{staticClass:"checkbox checkbox-primary"},[t("input",{attrs:{type:"checkbox",id:"rtl-checkbox"},on:{change:e.changeThemeRtl}}),e._v(" "),t("span",[e._v("Enable RTL")]),e._v(" "),t("span",{staticClass:"checkmark"})])])]):e._e(),e._v(" "),t("div",{},[t("div",{staticClass:"card-header"},[t("p",{staticClass:"mb-0"},[e._v("Dark Mode")])]),e._v(" "),t("div",{staticClass:"card-body"},[t("label",{directives:[{name:"b-popover",rawName:"v-b-popover.hover.left",value:"Dark Mode",expression:"'Dark Mode'",modifiers:{hover:!0,left:!0}}],staticClass:"switch switch-primary mr-3 mt-2"},[t("input",{attrs:{type:"checkbox"},on:{click:e.changeThemeMode}}),e._v(" "),t("span",{staticClass:"slider"})])])]),e._v(" "),t("div",{},[t("div",{staticClass:"card-header"},[t("p",{staticClass:"mb-0"},[e._v("Language")])]),e._v(" "),t("div",{staticClass:"card-body"},[t("div",{staticClass:"menu-icon-language"},e._l(e.getAvailableLanguages,(function(a){return t("a",{key:a.locale,on:{click:function(t){return e.SetLocal(a.locale)}}},[t("img",{staticClass:"flag-icon flag-icon-squared",staticStyle:{width:"20px","margin-right":"8px"},attrs:{src:"/flags/".concat(a.flag),alt:a.name}}),e._v(" "),t("span",{staticClass:"title-lang"},[e._v(e._s(a.name))])])})),0)])])])],1)])}),[],!1,null,"3712b66b",null).exports}}]);