1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BpelZvfg.js","./Ca8I1NDR.js","./CMaATeSK.js","./DsvKFbFK.js","./DihDAdJ2.js","./entry.D5kE4mfa.css","./VModalPopup.C7oHPzS7.css","./Da0nx2w4.js","./layouts.B8aOlk-5.css","./BQ8qqqO0.js","./VLoader.C6EPn3M9.css"])))=>i.map(i=>d[i]); 2import{f as ve,s as le,c,a as u,h as m,e as g,z as h,t as f,A as x,j as y,w as p,o,F as I,r as $,B as L,W as ce,x as Ae,l as V,a9 as z,_ as b,I as P,J as S,aa as Ee,U as G,ab as E,q as O,ac as Z,i as U,k as X,d as k,ad as j,n as D,M as H,ae as A,m as we,b as ie,af as De,$ as je,a0 as ze,a1 as We,K as J,u as qe,L as Ke}from"./DihDAdJ2.js";import{_ as Q}from"./bxl9QzLy.js";import{u as W}from"./BaF3stCa.js";import{z as q,a as Qe,o as ae,j as re,C as Me,I as Ye}from"./DsvKFbFK.js";import{C as de}from"./4ZukHta5.js";import{a as me,u as _e}from"./CwB5O_YZ.js";import{r as T}from"./Vaw1ghbW.js";import{h as K}from"./PvlcFIQT.js";import{u as F}from"./Da0nx2w4.js";import{V as Ge}from"./Dmiazl5n.js";import{e as ye}from"./7dpTBQOr.js";import{l as Je,_ as Xe}from"./Ca8I1NDR.js";import{V as Ze}from"./UczJ-nrp.js";import et from"./CMaATeSK.js";import"./DOC7VimO.js";const tt={class:"language-select-mobile"},nt={class:"language-select-mobile__code"},st={class:"language-select-mobile__overlay-header"},ot={class:"language-select-mobile__overlay-content"},lt=["onClick"],be=ve({__name:"LanguageSelectMobile",props:{language:{},options:{}},emits:["change-language"],setup(e,{emit:t}){const s=t,r=e,l=le(!1),n=le(r.language),i=W();function a(){i.isLoading||(l.value=!0)}function _(){l.value=!1}function d(w){n.value=w}function v(){n.value.key!==r.language.key&&s("change-language",n.value),_()}return(w,B)=>(o(),c("div",tt,[u("div",{class:"language-select-mobile__trigger",onClick:a},[u("div",nt,f(w.language.code),1),x(i).isLoading?h("",!0):(o(),g(x(q),{key:0,class:y(["language-select-mobile__code-icon",{"language-select-mobile__code-icon_open":l.value}]),name:"sw-control/arrow-down-16"},null,8,["class"]))]),m(x(Qe),{modelValue:l.value,"onUpdate:modelValue":B[0]||(B[0]=M=>l.value=M),"dark-background":"","no-padding":"",position:"center","show-close-panel":!1,class:"language-select-mobile__overlay",onClose:_},{default:p(()=>[u("span",st,f(w.$t("ModalCountryLink.SelectLanguage")),1),u("div",ot,[(o(!0),c(I,null,$(w.options,M=>(o(),c("div",{key:M.key,class:"language-select-mobile__overlay-item",onClick:C=>d(M)},[L(f(M.value)+" - "+f(M.code.toUpperCase())+" ",1),M.key===n.value.key?(o(),g(x(q),{key:0,name:"sw-control/check-16",class:y({"language-select-mobile__overlay-item_active":M.key===n.value.key})},null,8,["class"])):h("",!0)],8,lt))),128))]),m(x(ae),{size:"small",color:"primary-alt",class:"language-select-mobile__overlay-button",onClick:v},{default:p(()=>[L(f(w.$t("ModalCountryLink.SaveLanguage")),1)]),_:1})]),_:1},8,["modelValue"])]))}}),it={class:"language-select-desktop"},at={class:"language-select-desktop__content"},rt={class:"language-select-desktop__options-title"},ut={class:"language-select-desktop__options-content"},ct=["onClick"],dt=ve({__name:"LanguageSelectDesktop",props:{language:{},options:{}},emits:["change-language"],setup(e,{emit:t}){const s=t,r=e,l=le(!1),n=ce("selectContent"),i=ce("selectTrigger"),a=W();Ae(()=>{document.addEventListener("mousedown",v)});function _(w){s("change-language",w),l.value=!1}function d(){r.options.length&&!a.isLoading&&(l.value=!l.value)}function v(w){var B,M;!((B=n==null?void 0:n.value)!=null&&B.contains(w.target))&&!((M=i==null?void 0:i.value)!=null&&M.contains(w.target))&&(l.value=!1)}return(w,B)=>(o(),c("div",it,[u("div",{ref_key:"selectTrigger",ref:i,class:"language-select-desktop__trigger",onClick:d},[u("div",at,f(w.language.code),1),x(a).isLoading?h("",!0):(o(),c("div",{key:0,class:y(["language-select-desktop__arrow",{"language-select-desktop__arrow_open":l.value}])},[m(x(q),{name:"sw-control/arrow-down-16"})],2))],512),V(u("div",{ref_key:"selectContent",ref:n,class:y([{"language-select-desktop__options_open":l.value},"language-select-desktop__options"])},[u("span",rt,f(w.$t("ModalCountryLink.SelectLanguage"))+":",1),u("div",ut,[(o(!0),c(I,null,$(w.options,M=>(o(),c("div",{key:M.key,class:"language-select-desktop__option-item",onClick:C=>_(M)},[L(f(M.value)+" - "+f(M.code.toUpperCase())+" ",1),M.key===w.language.key?(o(),g(x(q),{key:0,name:"sw-control/check-16",class:y({"language-select-desktop__option-item_active":M.key===w.language.key})},null,8,["class"])):h("",!0)],8,ct))),128))])],2),[[z,l.value&&!x(a).isLoading]])]))}}),mt={name:"LangSelect",components:{languageSelectMobile:be},computed:{...S(O,{languageList:"languages",getLanguage:"getCurrentLanguage",getRegionId:"serverRegionId",isMobile:"isMobile"}),...S(W,{getLoadingStatus:"isLoading"}),...S(me,{currentCategory:"category"}),...S(_e,{product:"product"}),language(){return{key:this.getLanguage?this.getLanguage.id:0,value:this.getLanguage?this.getLanguage.name:"",code:this.getLanguage?this.getLanguage.code:""}},options(){let e=[];for(let t of this.languageList)e.push({key:t.id,value:t.name,code:t.code});return e}}
2,mounted(){const e=this.languageList.find(t=>t.code===Z("languageCode").value);this.setCurrentLanguage(e)},methods:{...P(O,{loadExternalLinks:"externalLinks",setCurrentLanguage:"setCurrentLanguage"}),...P(W,{toggleLoadingStatus:"toggleLoadingStatus"}),...P(_e,{findProduct:"findProduct"}),...P(me,{findCategory:"findCategory",setCategory:"setCategory"}),...P(E,{fetchMainMenu:"fetchMainMenu"}),async LangSelectEvent(e){const t=Ee();this.toggleLoadingStatus(!0);try{let s=this.languageList.find(r=>r.id===e.key);if(this.$i18n.setLocaleCookie(s.code),this.setCurrentLanguage(s),await this.loadExternalLinks(),await this.fetchMainMenu(),!(this._.provides[G]||this.$route).name){const r=(this._.provides[G]||this.$route).path.split("/").slice(2).join("/");window.location.replace(`/${s.code}/${r}`);return}if(this.$i18n.locale!==s.code){if((this._.provides[G]||this.$route).params.category){await this.redirectToCategoryInAnotherLanguage(s);return}if((this._.provides[G]||this.$route).params.product){await this.redirectToProductInAnotherLanguage(s);return}await this.$i18n.setLocale(s.code),await this.$router.push(t(s.code))}}catch(s){console.error("in LangSelectEvent:",s),this.getLoadingStatus&&await this.$router.push({path:"/"})}},async redirectToCategoryInAnotherLanguage(e){var l;const t=new de;t.CurrentPage=1,t.PerPage=500,t.BaseId=this.currentCategory.BaseId,t.LanguageId=e.id,t.RegionId=this.getRegionId;const s=await this.findCategory({filter:t}),r=(l=s==null?void 0:s.List)==null?void 0:l.find(n=>n.BaseId===this.currentCategory.BaseId);await this.$i18n.setLocale(e.code),await this.$router.push((r==null?void 0:r.UrlCode)||"/")},async redirectToProductInAnotherLanguage(e){var a,_,d;const t=new de;t.CurrentPage=1,t.PerPage=500,t.BaseId=this.currentCategory.BaseId,t.LanguageId=e.id,t.RegionId=this.getRegionId;const s=await this.findCategory({filter:t}),r=(a=s==null?void 0:s.List)==null?void 0:a.find(v=>v.BaseId===this.currentCategory.BaseId);this.setCategory(r);const l={};l.CurrentPage=1,l.PerPage=500,l.LanguageId=e.id,l.RegionId=this.getRegionId,l.Code=this.product.Code,l.IsActive=!0,l.Fields=["UrlCode"];const n=await this.findProduct({filter:l}),i=(d=(_=n==null?void 0:n.List)==null?void 0:_[0])==null?void 0:d.UrlCode;await this.$i18n.setLocale(e.code),await this.$router.push(i||"/")}}};function _t(e,t,s,r,l,n){const i=be,a=dt;return o(),c("div",null,[e.isMobile?(o(),g(i,{key:0,options:n.options,language:n.language,onChangeLanguage:n.LangSelectEvent},null,8,["options","language","onChangeLanguage"])):(o(),g(a,{key:1,options:n.options,language:n.language,onChangeLanguage:n.LangSelectEvent},null,8,["options","language","onChangeLanguage"]))])}const ee=b(mt,[["render",_t]]),ht={name:"Sw21HeaderNavPopUp",components:{VLink:U},props:{showMenu:{type:Boolean,required:!0},items:{type:Array,default:()=>[]}},emits:["close"],methods:{close(e){e.target.tagName==="A"&&this.$emit("close")},defineLinkType(e){return e.includes("https://")}}},gt={key:0,class:"sw21-header-nav-popup"};function pt(e,t,s,r,l,n){const i=k("v-link"),a=X("t");return o(),g(j,{name:"fade-nav-popup"},{default:p(()=>[s.showMenu&&s.items.length?(o(),c("div",gt,[(o(!0),c(I,null,$(s.items,_=>(o(),c("p",{key:_.id,class:"sw21-header-nav-popup__item",onClick:t[0]||(t[0]=d=>n.close(d))},[V(m(i,{url:_.url,"use-tag":n.defineLinkType(_.url),target:n.defineLinkType(_.url)?"_blank":"_self",class:"sw21-header-nav-popup__item-link"},null,8,["url","use-tag","target"]),[[a,_.value]])]))),128))])):h("",!0)]),_:1})}const Ie=b(ht,[["render",pt]]),ue=[{isProducts:!0,value:"HeaderTop.Menu.Products.Name",url:"",code:"c-category",children:[]},{isProducts:!1,isShowing:!1,value:"HeaderTop.Menu.AboutMenu.Name",url:"",code:"about-menu",children:[{value:"HeaderTop.Menu.AboutUs.Name",url:T.about_new,code:"about-new",children:[]},{value:"HeaderTop.Menu.AboutUs.Name",url:T.about,code:"about",children:[]},{value:"HeaderTop.Menu.News.Name",url:T.news,code:"news",children:[]},{value:"HeaderTop.Menu.PressAboutUs.Name",url:T.press_about_us,code:"press-about-us",children:[]},{value:"HeaderTop.Menu.Announcements.Name",url:"https://vn.siberianhealth.com/vn/shop/page/announcements/",code:"announcements",children:[]},{value:"HeaderTop.Menu.OnlineStore.Name",url:"https://vn.siberianhealth.com/vn/",code:"online-store",children:[]}]},{isProducts:!1,isShowing:!1,value:"HeaderTop.Menu.BusinessMenu.Name",url:"",code:"business-menu",children:[{value:"HeaderTop.Menu.Business.Name",url:T.business,co
2de:"business",children:[]},{value:"HeaderTop.Menu.MarketingPlan.Name",url:T.programs,code:"programs",children:[]},{value:"HeaderTop.Menu.ReferralProgram.Name",url:T.referralprogram,code:"referralprogram",children:[]},{value:"HeaderTop.Menu.InternationalBusiness.Name",url:T.international_business,code:"international_business",children:[]},{value:"HeaderTop.Menu.SuccessfulStories.Name",url:T.stories,isStories:!0,code:"stories",children:[]},{value:"HeaderTop.Menu.TopLeaders.Name",url:T.blog,code:"leadership",children:[]}]},{isProducts:!1,value:"HeaderTop.Menu.BuyProfitable.Name",url:T.buyProfitable,code:"cashback",children:[]}],ft={name:"Sw21HeaderMenuInfo",components:{VLink:U},emits:["click-link","close"],methods:{close(){this.$emit("close")}}},kt={class:"sw21-header-menu-info sw21-container"},vt={class:"sw21-header-menu-info__text"};function wt(e,t,s,r,l,n){const i=k("VLink");return o(),c("div",kt,[u("div",vt,[L(f(e.$t("Sw21Header.InfoText"))+"Â ",1),m(i,{class:"sw21-header-menu-info__link",onClick:t[0]||(t[0]=a=>e.$emit("click-link"))},{default:p(()=>[L(f(e.$t("Sw21Header.InfoLinkText")),1)]),_:1}),u("div",{class:"sw21-header-menu-info__close",onClick:t[1]||(t[1]=(...a)=>n.close&&n.close(...a))})])])}const Y=b(ft,[["render",wt]]),Le=Object.freeze(Object.defineProperty({__proto__:null,default:Y},Symbol.toStringTag,{value:"Module"})),he=16,Mt={name:"MenuDesktop",components:{SwLink:re},props:{menuItems:{type:Array,default(){return[]}},arrowLeftOffset:{type:String,default(){return"100%"}}},emits:["close"],data(){return{selectedMenuItem:null}},computed:{selectCategory(){var e;return this.selectedMenuItem??((e=this.menuItems)==null?void 0:e[0])},getMaxNumberCategoryRows(){let e=this.selectCategory.children.map(s=>{var r;return(r=s.children)==null?void 0:r.length}),t=Math.max.apply(null,e);return t>he?he:t}},mounted(){document.body.classList.add("no-scroll")},unmounted(){document.body.classList.remove("no-scroll")},methods:{close(){this.$emit("close")},mouseenter(e){this.selectedMenuItem=e}}},yt={class:"menu-desktop__dropdown"},bt={class:"menu-desktop__container sw21-container"},It={class:"menu-desktop__wrapper"},Lt={class:"menu-desktop__list menu-desktop__list-category"},Ct=["onMouseenter"],St={key:0,class:"menu-desktop__list menu-desktop__list-subcategory menu-desktop__list-subcategory_children"},Pt={class:"menu-desktop__child-header"},$t={key:0,class:"menu-desktop__child-list"};function Tt(e,t,s,r,l,n){const i=k("SwLink");return o(),c("div",{style:D({"--arrowLeftOffset":s.arrowLeftOffset}),class:"menu-desktop",onMouseleave:t[0]||(t[0]=(...a)=>n.close&&n.close(...a))},[u("div",yt,[u("div",bt,[u("div",It,[u("ul",Lt,[(o(!0),c(I,null,$(s.menuItems,a=>(o(),c("li",{key:a.id,class:y([{"menu-desktop__list-item_selected":a.id===n.selectCategory.id},"menu-desktop__list-item menu-desktop__list-item_category"]),onMouseenter:_=>n.mouseenter(a)},[m(i,{to:a.url,color:"main-text","hover-color":"primary-alt",class:"menu-desktop__list-item-link",onClick:n.close},{default:p(()=>[L(f(a.value),1)]),_:2},1032,["to","onClick"])],42,Ct))),128))]),n.selectCategory?(o(),c("ul",St,[(o(!0),c(I,null,$(n.selectCategory.children,a=>(o(),c("li",{key:a.id,class:"menu-desktop__list-item menu-desktop__list-item_subcategory menu-desktop__list-item_children"},[u("div",null,[u("p",Pt,f(a.value),1),a.children.length>0?(o(),c("ul",$t,[u("li",{style:D({"--grid-template-rows":`repeat(${n.getMaxNumberCategoryRows}, minmax(32px, max-content))`}),class:"menu-desktop__child-list-item-container"},[(o(!0),c(I,null,$(a.children,_=>(o(),c("div",{key:_.id,class:"menu-desktop__child-item"},[m(i,{to:_.url,color:"main-text","hover-color":"primary-alt",onClick:n.close},{default:p(()=>[L(f(_.value),1)]),_:2},1032,["to","onClick"])]))),128))],4)])):h("",!0)])]))),128))])):h("",!0)])])])],36)}const Ce=b(Mt,[["render",Tt]]),Vt=Object.freeze(Object.defineProperty({__proto__:null,default:Ce},Symbol.toStringTag,{value:"Module"})),Bt={name:"Sw21MenuDesktop",components:{MenuDesktop:K(()=>H(()=>Promise.resolve().then(()=>Vt),void 0,import.meta.url)),Sw21HeaderMenuInfo:K(()=>H(()=>Promise.resolve().then(()=>Le),void 0,import.meta.url))},props:{value:{type:Boolean,default:!1},additionalMenu:{type:Array,default(){return[]}},menuItems:{type:Array,default(){return[]}},top:{type:String,default(){return"100%"}},arrowLeftOffset:{type:String,default(){return"100%"}},openClass:{type:Array,default(){return[]}}},emits:["toggle-menu","close"],setup(){return{showHeaderInfoBlock:Z("showHeaderInfoBlock")}},data(){return{isShowInfo:!1}},mounted(){this.isShowInfo=!this.showHeaderInfoBlock},methods:{...P(F,{setPassedObj:"setPassedObj"}),close(){this.$emit("close")},clickInfoLink(){this.isShowInfo=!1,this.setPassedObj({eventName:"country-link",eventValue:"go-to-store"}),this.$cookies.set("showHeaderInfoBlock",!0)},closeInfo(){this.$cookies.set("showHeaderInfoBlock",!0),this.isShowInfo=!1},handleMouseOverMenu(){this.$emit("toggle-menu",!0)},handleMouseLeaveMenu(){this.$emit("toggle-menu",!1)}}};function xt(e,t,s,r,l,n){const i=Y,a=Ce;return o(),g(j,{name:"fade-menu"},{default:p(()=>[s.value?(o(),c("div",{key:0,style:D({"--top":s.top}),class:"main-menu-21",onMouseover:t[0]||(t[0]=(..._)=>n.handleMouseOverMenu&&n.handleMouseOverMenu(..._)),onMouseleave:t[1]||(t[1]=(..._)=>n.handleMouseLeaveMenu&&n.handleMouseLeaveMenu(..._))},[l.isShowInfo?(o(),g(i,{key:0,onClose:n.closeInfo,onClickLink:n.clickInfoLink},null,8,["onClose","onClickLink"])):h("",!0),m(a,{"menu-items":s.menuItems,class:"main-menu-21__desktop",onClose:n.close},null,8,["menu-items","onClose"])],36)):h("",!0)]),_:1})}const Ht=b(Bt,[["render",xt]]),ge={uz:"https://uz.siberianhealth.com/uz/",mn:"https://mn.siberianhealth.com/mn/",hy:"https://am.siberianhealth.com/hy/"},Se={computed:{$onProductClickRedirectMixin_redirectUrl(){return this.$i18n.locale in ge?ge[this.$i18n.locale]:null}},methods:{$onProductClickRedirectMixin_onProductClick(){this.$onProductClickRedirectMixin_redirectUrl&&window.open(this.$onProductClickRedirectMixin_redirectUrl,"_blank").focus()}}},te=(e,t,s,r)=>{const l=r.find(n=>n[t]===e);if(l)return l;for(const n of r){const i=te(e,t,s,n[s]);if(i)return i}},ne=(e,t,s=0)=>(e.forEach(r=>{if(r.depth=s,r.id="_"+Math.random().toString(36).substr(2,9),r[t]&&r[t].length>0)return ne(r[t],t,s+1)}),e);let R;const Ut={name:"Sw21HeaderNavDesktop",components:{Sw21MenuDesktop:Ht,Sw21HeaderNavPopUp:Ie,VLink:U},mixins:[Se],emits:["is-hovering"],data(){return{showMainMenu:!1,isMenuHidingAnimation:!1,desktopMenuItems:[],currentDesktopMenuItems:[],filteredItems:[],currentDesktopMenuItemsId:"",isHovering:!1}},constants:{routesLocal:T},computed:{...S(E,{menuItems:"getMainMenuTree"}),...S(O,{getLanguage:"getCurrentLanguage"}),needShowProductsMenu(){return!this.$config.public.notShowedBlocks.sw21.productsMenu.includes(this.$i18n.locale)}},watch:{"$i18n.locale":{handler(){this.initMenuItems()}}
2,"$route.path":{handler(){this.desktopMenuItems.forEach(e=>{e.isShowing=!1})},immediate:!0}},created(){this.initMenuItems()},methods:{initMenuItems(){this.desktopMenuItems=ue.filter(e=>!e.isProducts&&!this.$config.public.protectedRoutes[this.$i18n.locale].some(t=>t===e.code)),this.currentDesktopMenuItems=this.processMenuItems(this.desktopMenuItems)},processMenuItems(e){return ne(e,"children")},hideMenuItemPopup(e){this.desktopMenuItems=this.desktopMenuItems.map(t=>(t.id===e.id&&(t.isShowing=!1),t))},handleMouseOverMenu(e,t){const s=this.$refs.headerNavItem,r=document.querySelector("#sw21-header-nav__business-menu");for(const l of s)if(l.contains(t.target)&&!(r!=null&&r.contains(t.target))){e.isShowing=!0;const n=te(e.id,"id","children",this.desktopMenuItems);n!=null&&n.children&&(this.filterItems(n==null?void 0:n.children),this.currentDesktopMenuItems=this.filteredItems,this.currentDesktopMenuItemsId=n.id)}},filterItems(e){this.filteredItems=e;for(const t of this.$config.public.protectedRoutes[this.$i18n.locale])this.filteredItems=this.filteredItems.filter(s=>s.code!==t)},closeProductsMenu(){this.showMainMenu=!1},closeBusinessMenu(e){e.isShowing=!1},getLink(e){return e.isTranslate?this.$t(e.url):e.url},handleMouseLeaveProducts(){clearTimeout(R),R=setTimeout(()=>{this.showMainMenu=!1,this.$emit("is-hovering",!1)},500),this.isMenuHidingAnimation=!0,setTimeout(()=>{this.isMenuHidingAnimation=!1},350)},handleMouseOverProducts(e){e.target.id==="sw21-header-nav-desktop__products-menu-item"?(clearTimeout(R),R=setTimeout(()=>{this.showMainMenu=!0,this.$emit("is-hovering",!0)},200)):!this.isMenuHidingAnimation&&this.showMainMenu&&(clearTimeout(R),R=setTimeout(()=>{this.showMainMenu=!0,this.$emit("is-hovering",!0)},200))},changeTimeout(e){clearTimeout(R),this.showMainMenu=e}}},Nt={"data-header":"header",class:"sw21-header-nav"},Ot=["onMouseenter","onMouseleave"],Ft={key:0};function Rt(e,t,s,r,l,n){const i=k("sw21-menu-desktop"),a=Ie,_=k("v-link");return o(),c("nav",Nt,[n.needShowProductsMenu?(o(),c("div",{key:0,id:"sw21-header-nav-desktop__products-menu-item",class:y(["sw21-header-nav__item",{"sw21-header-nav__item_hover":l.isHovering}]),onMouseover:t[2]||(t[2]=d=>n.handleMouseOverProducts(d)),onMouseleave:t[3]||(t[3]=(...d)=>n.handleMouseLeaveProducts&&n.handleMouseLeaveProducts(...d)),onClick:t[4]||(t[4]=(...d)=>e.$onProductClickRedirectMixin_onProductClick&&e.$onProductClickRedirectMixin_onProductClick(...d))},[L(f(e.$t("HeaderTop.Menu.Products.Name"))+" ",1),e.$onProductClickRedirectMixin_redirectUrl?h("",!0):(o(),g(i,{key:0,value:l.showMainMenu,"onUpdate:value":t[0]||(t[0]=d=>l.showMainMenu=d),"menu-items":e.menuItems,top:"90.5px",onToggleMenu:t[1]||(t[1]=d=>n.changeTimeout(d)),onClose:n.closeProductsMenu},null,8,["value","menu-items","onClose"]))],34)):h("",!0),(o(!0),c(I,null,$(l.desktopMenuItems,d=>(o(),c("div",{key:d.id,ref_for:!0,ref:"headerNavItem",class:"sw21-header-nav__item",onMouseenter:v=>n.handleMouseOverMenu(d,v),onMouseleave:v=>n.hideMenuItemPopup(d)}
2,[d.children.length?(o(),c("div",Ft,[L(f(e.$t(d.value))+" ",1),m(a,{id:"sw21-header-nav__business-menu",link:n.getLink(d),items:l.currentDesktopMenuItems,"show-menu":d.isShowing,class:"sw21-header-nav__business-menu",onClose:v=>n.closeBusinessMenu(d)},null,8,["link","items","show-menu","onClose"])])):d.url?(o(),g(_,{key:1,url:d.url,target:"_blank",class:"sw21-header-nav__item"},{default:p(()=>[L(f(e.$t(d.value)),1)]),_:2},1032,["url"])):h("",!0)],40,Ot))),128))])}const Pe=b(Ut,[["render",Rt]]);let oe=null;const At={bind:function(e,t){function s(r){const l=r.target;e!=null&&e.contains(l)||t.value()}oe=s,window.addEventListener("click",oe)},unbind:function(){window.removeEventListener("click",oe)}},Et={name:"Sw21HeaderNavPopUpTablet",components:{VLink:U},directives:{clickOutside:At},props:{showMenu:{type:Boolean,required:!0},items:{type:Array,default:()=>[]}},emits:["click-outside","close"],methods:{clickOutside(){this.$emit("click-outside")},close(e){e.target.tagName==="A"&&this.$emit("close")}}},Dt={key:0,ref:"navPopup",class:"sw21-header-nav-popup"};function jt(e,t,s,r,l,n){const i=k("VLink"),a=X("t"),_=X("click-outside");return o(),g(j,{name:"fade-nav-popup"},{default:p(()=>[s.showMenu&&s.items.length?V((o(),c("div",Dt,[(o(!0),c(I,null,$(s.items,d=>(o(),c("p",{key:d.id,class:"sw21-header-nav-popup__item",onClick:t[0]||(t[0]=v=>n.close(v))},[V(m(i,{url:d.url,class:"sw21-header-nav-popup__item-link"},null,8,["url"]),[[a,d.value]])]))),128))])),[[_,n.clickOutside]]):h("",!0)]),_:1})}const $e=b(Et,[["render",jt]]),pe=16,zt={name:"MenuTablet",components:{SwLink:re},props:{menuItems:{type:Array,default(){return[]}},arrowLeftOffset:{type:String,default(){return"100%"}}},emits:["close"],data(){return{selectedMenuItem:null}},computed:{selectCategory(){var e;return this.selectedMenuItem??((e=this.menuItems)==null?void 0:e[0])},getMaxNumberCategoryRows(){let e=this.selectCategory.children.map(s=>{var r;return(r=s.children)==null?void 0:r.length}),t=Math.max.apply(null,e);return t>pe?pe:t}},mounted(){document.body.classList.add("no-scroll")},unmounted(){document.body.classList.remove("no-scroll")},methods:{close(e,t){e.depth===1&&this.mouseClick(e),setTimeout(()=>{this.$emit("close",t)},100)},mouseClick(e){this.selectedMenuItem=e,this.$cookies.set("menuCategory",e)}}},Wt={class:"menu-tablet__dropdown"},qt={class:"menu-tablet__container sw21-container"},Kt={class:"menu-tablet__wrapper"},Qt={class:"menu-tablet__list menu-tablet__list-category"},Yt=["onClick"],Gt={key:0,class:"menu-tablet__list menu-tablet__list-subcategory menu-tablet__list-subcategory_children"},Jt={class:"menu-tablet__child-header"},Xt={key:0,class:"menu-tablet__child-list"};function Zt(e,t,s,r,l,n){const i=k("SwLink");return o(),c("div",{style:D({"--arrowLeftOffset":s.arrowLeftOffset}),class:"menu-tablet"},[u("div",Wt,[u("div",qt,[u("div",Kt,[u("ul",Qt,[(o(!0),c(I,null,$(s.menuItems,a=>(o(),c("li",{key:a.id,class:y([{"menu-tablet__list-item_selected":a.id===n.selectCategory.id},"menu-tablet__list-item menu-tablet__list-item_category"]),onClick:_=>n.mouseClick(a)},[m(i,{to:a.url,color:"main-text","hover-color":"primary-alt",class:"menu-tablet__list-item-link",onClick:_=>n.close(a,_)},{default:p(()=>[L(f(a.value),1)]),_:2},1032,["to","onClick"])],10,Yt))),128))]),n.selectCategory?(o(),c("ul",Gt,[(o(!0),c(I,null,$(n.selectCategory.children,a=>(o(),c("li",{key:a.id,class:"menu-tablet__list-item menu-tablet__list-item_subcategory menu-tablet__list-item_children"},[u("div",null,[u("p",Jt,f(a.value),1),a.children.length>0?(o(),c("ul",Xt,[u("li",{style:D({"--grid-template-rows":`repeat(${n.getMaxNumberCategoryRows}, minmax(32px, max-content))`}),class:"menu-tablet__child-list-item-container"},[(o(!0),c(I,null,$(a.children,_=>(o(),c("div",{key:_.id,class:"menu-tablet__child-item"},[m(i,{to:_.url,color:"main-text","hover-color":"primary-alt",class:"menu-tablet__child-item-link",onClick:d=>n.close(_,d)},{default:p(()=>[L(f(_.value),1)]),_:2},1032,["to","onClick"])]))),128))],4)])):h("",!0)])]))),128))])):h("",!0)])])])],4)}const Te=b(zt,[["render",Zt]]),en=Object.freeze(Object.defineProperty({__proto__:null,default:Te},Symbol.toStringTag,{value:"Module"})),tn={name:"Menu",components:{MenuTablet:K(()=>H(()=>Promise.resolve().then(()=>en),void 0,import.meta.url)),Sw21HeaderMenuInfo:K(()=>H(()=>Promise.resolve().then(()=>Le),void 0,import.meta.url))},props:{value:{type:Boolean,default:!1},additionalMenu:{type:Array,default:()=>[]},menuItems:{type:Array,default:()=>[]},top:{type:String,default:"100%"},arrowLeftOffset:{type:String,default:"100%"},openClass:{type:Array,default:()=>[]}},emits:["toggle-menu"],setup(){return{showHeaderInfoBlock:Z("showHeaderInfoBlock")}},data(){return{isShowInfo:!1}},mounted(){this.isShowInfo=!this.showHeaderInfoBlock},methods:{...P(F,{setPassedObj:"setPassedObj"}),clickInfoLink(){this.isShowInfo=!1,this.setPassedObj({eventName:"country-link",eventValue:"go-to-store"}),this.$cookies.set("showHeaderInfoBlock",!0)},closeMenu(){this.$emit("toggle-menu",!1)},closeInfo(){this.$cookies.set("showHeaderInfoBlock",!0),this.isShowInfo=!1}}};function nn(e,t,s,r,l,n){const i=Y,a=Te;return o(),g(j,{name:"fade-menu"},{default:p(()=>[s.value?(o(),c("div",{key:0,style:D({"--top":s.top}),class:"main-menu-21"},[l.isShowInfo?(o(),g(i,{key:0,onClose:n.closeInfo,onClickLink:n.clickInfoLink},null,8,["onClose","onClickLink"])):h("",!0),m(a,{"menu-items":s.menuItems,class:"main-menu-21__tablet",onClose:n.closeMenu},null,8,["menu-items","onClose"])],4)):h("",!0)]),_:1})}const sn=b(tn,[["render",nn]]),on={name:"Sw21HeaderNavTablet",components:{Sw21MenuTablet:sn,Sw21HeaderNavPopUpTablet:$e,VLink:U},mixins:[Se],props:{showProductsMenu:{type:Boolean,required:!0}},emits:["toggle-menu"],data(){return{isMenuHidingAnimation:!1,desktopMenuItems:[],currentDesktopMenuItems:[],filteredItems:[],currentDesktopMenuItemsId:""}},constants:{routesLocal:T},computed:{...S(E,{menuItems:"getMainMenuTree"}),needShowProductsMenu(){return!this.$config.public.notShowedBlocks.sw21.productsMenu.includes(this.$i18n.locale)},needShowProductsMenuOverlay(){return this.showProductsMenu}},watch:{"$i18n.locale"(){this.initMenuItems()}},created(){this.initMenuItems()},methods:{close(e){e.isShowing=!1},closeNavMenu(){this.desktopMenuItems=this.desktopMenuItems.map(e=>(e.isShowing=!1,e))},initMenuItems(){this.desktopMenuItems=ue.filter(e=>!e.isProducts&&!this.$config.public.protectedRoutes[this.$i18n.locale].some(t=>t===e.code)),this.currentDesktopMenuItems=this.processMenuItems(this.desktopMenuItems)},processMenuItems(e){return ne(e,"children")},handleClick(e,t){const s=this.$refs.headerNavItem,r=document.querySelector("#sw21-header-nav-tablet__business-menu");for(const l of s)if(l.contains(t.target)&&!(r!=null&&r.contains(t.target))){this.$emit("toggle-menu",!1),this.desktopMenuItems=this.desktopMenuItems.map(i=>(i.id!==e.id&&(i.isShowing=!1),i)),e.isShowing=!e.isShowing;const n=te(e.id,"id","children",this.desktopMenuItems);n!=null&&n.children&&(this.filterItems(n==null?void 0:n.children),this.currentDesktopMenuItems=this.filteredItems,this.currentDesktopMenuItemsId=n.id)}},filterItems(e){this.filteredItems=e;for(const t of this.$config.public.protectedRoutes[this.$i18n.locale])this.filteredItems=this.filteredItems.filter(s=>s.code!==t)},getLink(e){return e.isTranslate?this.$t(e.url):e.url},toggleMenu(e){this.$emit("toggle-menu",e)}}},ln={"data-header":"header",class:"sw21-header-nav-tablet"},an=["onClick"],rn={key:0};function un(e,t,s,r,l,n){const i=k("sw21-menu-tablet"),a=$e,_=k("v-link");return o(),c("nav",ln,[n.needShowProductsMenu?(o(),c("div",{key:0,id:"sw21-header-nav-tablet__products-menu-item",class:y([{"sw21-header-nav-tablet__item_mod":s.showProductsMenu},"sw21-header-nav-tablet__item"]),onClick:t[0]||(t[0]=(...d)=>e.$onProductClickRedirectMixin_onProductClick&&e.$onProductClickRedirectMixin_onProductClick(...d))},[u("span",null,f(e.$t("HeaderTop.Menu.Products.Name")),1)],2)):h("",!0),e.$onProductClickRedirectMixin_redirectUrl?h("",!0):(o(),g(i,{key:1,modelValue:n.needShowProductsMenuOverlay,"onUpdate:modelValue":t[1]||(t[1]=d=>n.needShowProductsMenuOverlay=d),"menu-items":e.menuItems,top:"90.5px",onToggleMenu:t[2]||(t[2]=d=>n.toggleMenu(d))},null,8,["modelValue","menu-items"])),(o(!0),c(I,null,$(l.desktopMenuItems,d=>(o(),c("div",{key:d.id,ref_for:!0,ref:"headerNavItem",class:y([{"sw21-header-nav-tablet__item_mod":d.isShowing&&d.children.length},"sw21-header-nav-tablet__item"]),onClick:A(v=>n.handleClick(d,v),["stop"])},[d.children.length?(o(),c("div",rn,[u("span",null,f(e.$t(d.value)),1),m(a,{id:"sw21-header-nav-tablet__business-menu",link:n.getLink(d),items:l.currentDesktopMenuItems,"show-menu":d.isShowing,class:"sw21-header-nav-tablet__business-menu",onClickOutside:n.closeNavMenu,onClose:v=>n.close(d)},null,8,["link","items","show-menu","onClickOutside","onClose"])])):d.url?(o(),g(_,{key:1,url:d.url,class:"sw21-header-nav-tablet__item"},{default:p(()=>[L(f(e.$t(d.value)),1)]),_:2},1032,["url"])):h("",!0)],10,an))),128))])}const Ve=b(on,[["render",un]]),cn={name:"Sw21HeaderButtons",components:{SwButton:ae},computed:{...S(O,{isMobile:"isMobile",isTablet:"isTablet"})},methods:{...P(F,{setPassedObj:"setPassedObj"}),openCountryModal(e){this.setPassedObj({eventName:"country-link",eventValue:e})}}},dn={class:"sw21-header__buttons"};function mn(e,t,s,r,l,n){const i=k("sw-button");return o(),c("div",dn,[m(i,{color:"primary-alt",size:e.isMobile||e.
2isTablet?"medium":"small","full-width":e.isMobile||e.isTablet,onClick:t[0]||(t[0]=a=>n.openCountryModal("check-in-dist-link-th"))},{default:p(()=>[L(f(e.$t("HeaderTop.Buttons.CheckIn")),1)]),_:1},8,["size","full-width"])])}const se=b(cn,[["render",mn]]),_n={name:"Sw21Icon",props:{name:{type:String,required:!0},size:{type:[String,Number],default:24}}};function hn(e,t,s,r,l,n){const i=Q;return o(),g(i,we({name:s.name},e.$attrs,{class:"sw21-icon",style:{"--icon-size":s.size+"px"}}),null,16,["name","style"])}const gn=b(_n,[["render",hn]]),pn={name:"Sw21ActionButton",components:{Sw21Icon:gn},themes:{gray:{default:"--color-text-1",hover:"--color-gray-elements-6",active:"--color-main-3",disabled:"--color-gray-elements-4",applied:""}},props:{iconName:{type:String,required:!0},colorTheme:{type:String,default:"gray"}},computed:{styles(){return{"--color-default":`var(${this.$options.themes[this.colorTheme].default})`,"--color-hover":`var(${this.$options.themes[this.colorTheme].hover})`,"--color-active":`var(${this.$options.themes[this.colorTheme].active})`,"--color-disabled":`var(${this.$options.themes[this.colorTheme].disabled})`,"--color-applied":`var(${this.$options.themes[this.colorTheme].applied})`}}}};function fn(e,t,s,r,l,n){const i=k("Sw21Icon");return o(),c("button",we({type:"button"},e.$attrs,{class:"sw21-action-button",style:n.styles}),[m(i,{name:s.iconName},null,8,["name"])],16)}const kn=b(pn,[["render",fn]]),vn={name:"Sw21HeaderMobileMenuItem",components:{SwLink:re,SwMenuItem:Me},props:{id:{type:String,required:!0},title:{type:String,required:!0},link:{type:String,default:""},items:{type:Array,default:()=>[]},depthLevel:{type:Number,default:0}},emits:["click-item"],computed:{...S(O,{getLanguage:"getCurrentLanguage"}),isProductsLevel(){return this.depthLevel===2&&this.items.length},getLinkWithLang(){return`/${this.getLanguage.code}${this.link}`}},methods:{handleMenuItemLink(e){this.$router.push(e),document.body.classList.remove("scroll-hidden")},handleMenuItemClick(e){setTimeout(()=>{this.$emit("click-item",e)},100)},isExternalLink(e){return this.$te(e)?!this.$t(e).startsWith("/"):!e.startsWith("/")}}};function wn(e,t,s,r,l,n){const i=k("sw-link"),a=k("sw-menu-item");return o(),c("div",null,[s.link&&s.items&&s.items.length===0?(o(),c(I,{key:0},[s.depthLevel<3?(o(),g(i,{key:0,to:n.getLinkWithLang,target:n.isExternalLink(s.link)?"_blank":null,class:"sw21-header-mobile-menu-item__link",onClick:t[0]||(t[0]=A(_=>n.handleMenuItemLink(n.getLinkWithLang),["prevent"]))},{default:p(()=>[L(f(e.$t(s.title)),1)]),_:1},8,["to","target"])):(o(),g(i,{key:1,to:s.link,target:n.isExternalLink(s.link)?"_blank":null,class:"sw21-header-mobile-menu-item__link",onClick:t[1]||(t[1]=A(_=>n.handleMenuItemLink(s.link),["prevent"]))},{default:p(()=>[L(f(e.$t(s.title)),1)]),_:1},8,["to","target"]))],64)):s.items&&s.items.length>0?(o(),c(I,{key:1},[s.link?(o(),g(a,{key:0,icon:"",text:e.$t(s.title),class:"sw21-header-mobile-menu-item__link",onClick:t[2]||(t[2]=_=>n.handleMenuItemClick(s.id))},null,8,["text"])):(o(),c("div",{key:1,class:y([{"sw21-header-mobile-menu-item__link-list_no-padding":n.isProductsLevel},"sw21-header-mobile-menu-item__link-list"])},[m(a,{icon:"",text:e.$t(s.title),class:"sw21-header-mobile-menu-item__link",onClick:t[3]||(t[3]=_=>n.handleMenuItemClick(s.id))},null,8,["text"]),n.isProductsLevel?(o(!0),c(I,{key:0},$(s.items,_=>(o(),g(i,{key:_.id,class:"sw21-header-mobile-menu-item__link",onClick:A(d=>n.handleMenuItemLink(_.url),["prevent"])},{default:p(()=>[L(f(_.value),1)]),_:2},1032,["onClick"]))),128)):h("",!0)],2))],64)):h("",!0)])}const Be=b(vn,[["render",wn]]),Mn={name:"Sw21HeaderMobileMenuList",components:{Sw21HeaderMobileMenuItem:Be,SwMenuItem:Me},props:{items:{type:Array,required:!0},isProducts:{type:Boolean,default:!1},url:{type:String,default:""}},emits:["click-item","close"],computed:{filteredItems(){return this.items.filter(e=>!this.$config.public.protectedRoutes[this.$i18n.locale].some(t=>t===e.code))},isProductsDepthLevel(){return this.url&&this.filteredItems.some(e=>e.depth===2)}},methods:{handleClick(e){this.$emit("click-item",e)},getLink(e){return e.isTranslate?this.$t(e.url):e.url},handleClickAll(){this.$router.push(this.url),this.$emit("close")}}},yn={class:"sw21-header-mobile-menu-list"};function bn(e,t,s,r,l,n){const i=k("SwMenuItem"),a=Be;return o(),c("div",yn,[n.isProductsDepthLevel?(o(),g(i,{key:0,text:e.$t("HeaderTop.Menu.AllCategoryProducts"),onClick:A(n.handleClickAll,["prevent"])},null,8,["text","onClick"])):h("",!0),(o(!0),c(I,null,$(n.filteredItems,_=>(o(),g(a,{id:_.id,key:_.id,title:_.value,link:n.getLink(_),"depth-level":_.depth,items:_.children,class:y(n.isProductsDepthLevel?"":"sw21-header-mobile-menu-item"),onClickItem:t[0]||(t[0]=d=>n.handleClick(d))},null,8,["id","title","link","depth-level","items","class"]))),128))])}
2const xe=b(Mn,[["render",bn]]),In={computed:{...S(O,{getLanguage:"getCurrentLanguage"}),...S(E,{getMainMenu:"mainMenu",menuItemsTree:"getMainMenuTree"}),activePage:function(){const e=this.$route.name;return e?e.replace(/__.*/,""):""}},methods:{...P(E,{loadMenu:"fetchMainMenu"})}};let fe=null;const Ln={name:"Sw21MobileMenu",components:{Sw21HeaderButtons:se,Sw21HeaderMenuInfo:Y,Sw21HeaderMobileMenuList:xe},mixins:[In],props:{showMobileMenu:{type:Boolean,required:!0}},emits:["update:showMobileMenu"],setup(){return{showHeaderInfoBlock:Z("showHeaderInfoBlock")}},data(){return{depthLevel:0,isShowInfo:!1,currentMenuItems:[],currentMenuItemsName:"",currentMenuItemsUrl:"",menuItems:[],currentMenuItemId:0,initMenuItemsTree:[],isFirstLevel:!0}},computed:{...S(E,{productMenuItems:"getMainMenuTree"})},watch:{"$i18n.locale"(){this.initMenuItems()},$route(){this.close()}},mounted(){this.isShowInfo=!this.showHeaderInfoBlock,this.initMenuItems(),window.addEventListener("resize",this.throttleHandlePageResize)},beforeUnmount(){window.removeEventListener("resize",this.throttleHandlePageResize)},methods:{...P(F,{setPassedObj:"setPassedObj"}),throttleHandlePageResize(){clearTimeout(fe),fe=setTimeout(()=>{this.handlePageResize()},200)},handlePageResize(){window.innerWidth>=1024&&this.close()},close(){document.body.classList.remove("scroll-hidden"),this.initMenuItems(),this.isFirstLevel=!0,this.showMobileMenu&&this.$emit("update:showMobileMenu",!1)},initMenuItems(){var e;if(this.menuItems=ue,this.$config.public.notShowedBlocks.sw21.productsMenu.includes(this.$i18n.locale))this.menuItems=this.menuItems.filter(t=>!t.isProducts);else{const t=this.menuItems.find(s=>s.isProducts);t&&(t.children=((e=this.productMenuItems)==null?void 0:e.map(s=>(s.children=s.children.map(r=>(r.isCatalogMenuItem=!0,r)),s)))??[])}this.currentMenuItems=this.initMenuItemsTree=this.processMenuItems(this.menuItems)},processMenuItems(e){return ne(e,"children")},clickInfoLink(){this.isShowInfo=!1,this.setPassedObj({eventName:"country-link",eventValue:"go-to-store"}),this.$cookies.set("showHeaderInfoBlock",!0)},closeInfo(){this.$cookies.set("showHeaderInfoBlock",!0),this.isShowInfo=!1},backClick(e){this.initMenuItemsTree.some(t=>t.id===e)?(this.currentMenuItems=this.initMenuItemsTree,this.isFirstLevel=!0):this.setPrevItems(this.initMenuItemsTree,e)},setPrevItems(e,t){e.forEach(s=>{s.children.some(r=>r.id===t)?(this.currentMenuItems=s.children,this.currentMenuItemsName=s.value,this.currentMenuItemsUrl=s.url,this.currentMenuItemId=s.id):this.setPrevItems(s.children,t)})},async handleClick(e){if(this.isFirstLevel&&this.menuItems.find(r=>r.id===e&&r.isProducts)&&this.$onProductClickRedirectMixin_redirectUrl){this.$onProductClickRedirectMixin_onProductClick();return}this.isFirstLevel=!1;const t=te(e,"id","children",this.currentMenuItems);this.currentMenuItemsName=t.value,this.currentMenuItemsUrl=t.url,t!=null&&t.children&&(this.currentMenuItems=t.children,this.currentMenuItemId=t.id)}}},Cn={key:0,class:"sw21-menu-mobile"},Sn={class:"sw21-menu-mobile__content"},Pn={key:1,class:"sw21-menu-mobile__title sw21-container"};function $n(e,t,s,r,l,n){const i=Q,a=se,_=Y,d=xe;return o(),g(j,{name:"slide-menu"},{default:p(()=>[s.showMobileMenu?(o(),c("div",Cn,[u("div",{class:y([{"sw21-menu-mobile__header_with-arrow":!l.isFirstLevel},"sw21-container sw21-menu-mobile__header"])},[l.isFirstLevel?h("",!0):(o(),g(i,{key:0,name:"arrow-back-slim",class:"sw21-menu-mobile__arrow-back",onClick:t[0]||(t[0]=v=>n.backClick(l.currentMenuItemId))})),m(i,{name:"close-slim",class:"sw21-menu-mobile__close",onClick:n.close},null,8,["onClick"])],2),u("div",Sn,[l.isFirstLevel?(o(),g(a,{key:0,class:"sw21-menu-mobile__buttons sw21-container"})):(o(),c("div",Pn,f(e.$t(l.currentMenuItemsName)),1)),l.isShowInfo&&!l.isFirstLevel?(o(),g(_,{key:2,onClose:n.closeInfo,onClickLink:n.clickInfoLink},null,8,["onClose","onClickLink"])):h("",!0),m(d,{items:l.currentMenuItems,"is-products":l.currentMenuItems.some(v=>v.isCatalogMenuItem),url:l.currentMenuItemsUrl,class:"sw21-container",onClickItem:t[1]||(t[1]=v=>n.handleClick(v)),onClose:n.close},null,8,["items","is-products","url","onClose"])])])):h("",!0)]),_:1})}const Tn=b(Ln,[["render",$n]]);let ke=null;const Vn={name:"Sw21Header",components:{VImage:Ge,SwButton:ae,Sw21M
2obileMenu:Tn,Sw21HeaderNavTablet:Ve,Sw21HeaderNavDesktop:Pe,Sw21HeaderButtons:se,LangSelect:ee,VLink:U,Sw21ActionButton:kn,SwSkeleton:Ye},desktopWidth:1280,tabletWidth:1024,data(){return{showMobileMenu:!1,windowWidth:0,showProductsMenu:!1,isHovering:!1}},computed:{...S(W,{getLoadingStatus:"isLoading"})},mounted(){this.windowWidth=window.innerWidth,window.addEventListener("resize",this.throttleHandlePageResize)},beforeUnmount(){window.removeEventListener("resize",this.throttleHandlePageResize)},methods:{...P(F,{setPassedObj:"setPassedObj"}),openCountryModal(e){this.setPassedObj({eventName:"country-link",eventValue:e})},toggleProductsMenu(e){const t=document.querySelector("#sw21-header-nav-tablet__products-menu-item"),s=document.querySelector(".main-menu-21");t!=null&&t.contains(e.target)&&(this.showProductsMenu=!this.showProductsMenu),s&&(this.showProductsMenu=s==null?void 0:s.contains(e.target))},throttleHandlePageResize(){clearTimeout(ke),ke=setTimeout(()=>{this.handlePageResize()},100)},handlePageResize(){this.windowWidth=window.innerWidth},handleShowMobileMenu(){this.getLoadingStatus||(document.body.classList.add("scroll-hidden"),this.showMobileMenu=!0)},toggleMenu(e){this.showProductsMenu=e}}},Bn={class:"sw21-header"},xn={key:0,class:"sw21-header-top__skeleton"},Hn={key:1,class:"sw21-header-top"},Un={class:"sw21-header-top__text"},Nn={class:"sw21-header-top__button"},On={class:"sw21-header__skeleton-left"},Fn={class:"sw21-header__skeleton-right"},Rn={class:"sw21-header__language-switcher"},An={class:"sw21-header__left"},En={class:"sw21-header__right"},Dn={class:"sw21-header__language-switcher"};function jn(e,t,s,r,l,n){const i=k("sw-skeleton"),a=Q,_=k("sw-button"),d=k("v-image"),v=k("v-link"),w=ee,B=k("sw21-action-button"),M=Pe,C=Ve,Fe=se,Re=k("sw21-mobile-menu");return o(),c("div",null,[t[5]||(t[5]=u("div",{class:"sw21-header__stab"},null,-1)),u("div",Bn,[e.getLoadingStatus?(o(),c("div",xn,[m(i,{class:"sw21-header-top__skeleton-text"}),m(i,{class:"sw21-header-top__skeleton-btn"})])):(o(),c("div",Hn,[u("span",Un,f(e.$t("HeaderTop.GlobalSite")),1),m(_,{size:"small",mode:"border",onClick:t[0]||(t[0]=N=>n.openCountryModal("go-to-store"))},{default:p(()=>[u("div",Nn,[m(a,{name:"sw21/basket"}),u("span",null,f(e.$t("Sw21Header.Shop")),1)])]),_:1})])),u("div",{class:y([{"sw21-container_mod":l.isHovering},"sw21-header-bottom sw21-container"]),onClick:t[4]||(t[4]=N=>n.toggleProductsMenu(N))},[e.getLoadingStatus&&l.windowWidth>=e.$options.tabletWidth?(o(),c(I,{key:0},[u("div",On,[m(v,{url:"/",class:"sw21-header__logo"},{default:p(()=>[m(d,{url:"/img/logo/sw-logo.svg",alt:"sw-logo","src-sets":"90, 180, 270, 400",sizes:"(max-width: 767px) 90px, 135px"})]),_:1}),m(i,{class:"sw21-header__skeleton-nav"})]),u("div",Fn,[u("div",Rn,[m(w)]),m(i,{class:"sw21-header__skeleton-button"})])],64)):(o(),c(I,{key:1},[m(B,{"icon-name":"sw21/burger",class:"sw21-header__burger",onClick:n.handleShowMobileMenu},null,8,["onClick"]),u("div",An,[m(v,{url:"/",class:"sw21-header__logo"},{default:p(()=>[m(d,{url:"/img/logo/sw-logo.svg",alt:"sw-logo","src-sets":"90, 180, 270, 400",sizes:"(max-width: 767px) 90px, 135px"})]),_:1}),l.windowWidth>=e.$options.desktopWidth?(o(),g(M,{key:0,class:"sw21-header__nav",onIsHovering:t[1]||(t[1]=N=>l.isHovering=N)})):(o(),g(C,{key:1,"show-products-menu":l.showProductsMenu,class:"sw21-header__nav",onToggleMenu:t[2]||(t[2]=N=>n.toggleMenu(N))},null,8,["show-products-menu"]))]),u("div",En,[u("div",Dn,[m(w)]),m(Fe,{class:"sw21-header__action-buttons"})]),m(Re,{showMobileMenu:l.showMobileMenu,"onUpdate:showMobileMenu":t[3]||(t[3]=N=>l.showMobileMenu=N)},null,8,["showMobileMenu"])],64))],2)])])}const He=b(Vn,[["render",jn]]),zn={name:"OurSocials",components:{VLink:U,SwSvgIcon:q},mixins:[ye],computed:{tiktokUrl(){return this.$externalLinkMixin_getLinkByType("tiktok")},vkUrl(){return this.$externalLinkMixin_getLinkByType("vk")},telegramUrl(){return this.$externalLinkMixin_getLinkByType("telegram")},okUrl(){return this.$externalLinkMixin_getLinkByType("ok")},youtubeUrl(){return this.$externalLinkMixin_getLinkByType("youtube")},instagramUrl(){return this.$externalLinkMixin_getLinkByType("instagram")},isShowSocialBlock(){return!!(this.vkUrl||this.okUrl||this.telegramUrl||this.tiktokUrl||this.youtubeUrl||this.instagramUrl)}}},Wn={key:0,class:"our-socials sw21-container"},qn={class:"our-socials__grid"},Kn={class:"our-socials__title"},Qn={class:"our-socials__items"};function Yn(e,t,s,r,l,n){const i=k("sw-svg-icon"),a=k("v-link");return n.isShowSocialBlock?(o(),c("div",Wn,[u("div",qn,[u("div",Kn,f(e.$t("Footer.HaveQuestions")),1),u("div",Qn,[n.tiktokUrl?(o(),g(a,{key:0,url:n.tiktokUrl,"use-tag":!0,target:"_blank",class:"our-socials__link-wrapper"},{default:p(()=>[m(i,{name:"sw-social/tiktok-32",class:"our-socials__link-item"})]),_:1},8,["url"])):h("",!0),n.vkUrl?(o(),g(a,{key:1,url:n.vkUrl,"use-tag":!0,target:"_blank",class:"our-socials__link-wrapper"},{default:p(()=>[m(i,{name:"sw-social/vk-32",class:"our-socials__link-item"})]),_:1},8,["url"])):h("",!0),n.okUrl?(o(),g(a,{key:2,url:n.okUrl,"use-tag":!0,target:"_blank",class:"our-socials__link-wrapper"},{default:p(()=>[m(i,{name:"sw-social/ok-32",class:"our-socials__link-item"})]),_:1},8,["url"])):h("",!0),n.telegramUrl?(o(),g(a,{key:3,url:n.telegramUrl,"use-tag":!0,target:"_blank",class:"our-socials__link-wrapper"},{default:p(()=>[m(i,{name:"sw-social/telegram-32",class:"our-socials__link-item"})]),_:1},8,["url"])):h("",!0),n.youtubeUrl?(o(),g(a,{key:4,url:n.youtubeUrl,"use-tag":!0,target:"_blank",class:"our-socials__link-wrapper"},{default:p(()=>[m(i,{name:"sw-social/youtube-32",class:"our-socials__link-item"})]),_:1},8,["url"])):h("",!0),n.instagramUrl?(o(),g(a,{key:5,url:n.instagramUrl,"use-tag":!0,target:"_blank",class:"our-socials__link-wrapper"},{default:p(()=>[m(i,{name:"sw-social/instagram-32",class:"our-socials__link-item"})]),_:1},8,["url"])):h("",!0)])])])):h("",!0)}const Ue=b(zn,[["render",Yn]]),Gn=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"})),Jn={name:"Sw21Footer",components:{VLink:U},mixins:[ye],props:{fullWidth062021:{type:Boolean,default:!1},noSocials:{type:Boolean,default:!1}},computed:{VkUrl(){return this.$externalLinkMixin_getLinkByType("vk")},FacebookUrl(){return this.$externalLinkMixin_getLinkByType("facebook")},InstagramUrl(){return this.$externalLinkMixin_getLinkByType("instagram")},telegramUrl(){return this.$externalLinkMixin_getLinkByType("telegram")},OkUrl(){return this.$externalLinkMixin_getLinkByType("ok")},YouTubeUrl(){return this.$externalLinkMixin_getLinkByType("youtube")}},methods:{...P(F,{setPassedObj:"setPassedObj"}),openModalContactForm(){this.setPassedObj({eventName:"showContactForm"})}}},Xn={key:0,class:"footer__top-line"},Zn={class:"sw-21container"},es={"data-translate-id":"Footer.HaveQuestions",class:"footer__title"},ts={class:"footer__socials-items"},ns={class:"sw21-container"},ss={class:"footer__bottom"},os={class:"footer__bottom-content"},ls={class:"footer__bottom-text-block"},is={class:"footer__bottom-text","data-translate-id":"Footer.Copyright"},as={key:0,"data-translate-id":"Footer.Attention",class:"footer__bottom-text"},rs={key:1,class:"footer__bottom-text"},us={class:"footer__bottom-links-block"};function cs(e,t,s,r,l,n){const i=Q,a=k("v-link");return o(),c("footer",{class:y([{"container-fullscreen container-fullscreen_n
2o-padding":!s.fullWidth062021,"container-fullscreen":!s.fullWidth062021},"footer"])},[s.noSocials?h("",!0):(o(),c("div",Xn,[u("div",Zn,[u("div",es,f(e.$t("Footer.HaveQuestions")),1),u("div",ts,[n.VkUrl?(o(),g(a,{key:0,url:n.VkUrl,"use-tag":!0,class:"footer__social-item",target:"_blank"},{default:p(()=>[m(i,{name:"socials/vk"})]),_:1},8,["url"])):h("",!0),n.FacebookUrl?(o(),g(a,{key:1,url:n.FacebookUrl,"use-tag":!0,class:"footer__social-item",target:"_blank"},{default:p(()=>[m(i,{name:"socials/facebook"})]),_:1},8,["url"])):h("",!0),n.OkUrl?(o(),g(a,{key:2,url:n.OkUrl,"use-tag":!0,class:"footer__social-item",target:"_blank"},{default:p(()=>[m(i,{name:"socials/odnoklassniki"})]),_:1},8,["url"])):h("",!0),n.telegramUrl?(o(),g(a,{key:3,url:n.telegramUrl,"use-tag":!0,class:"footer__social-item",target:"_blank"},{default:p(()=>[m(i,{name:"socials/telegram"})]),_:1},8,["url"])):h("",!0),n.InstagramUrl?(o(),g(a,{key:4,url:n.InstagramUrl,"use-tag":!0,class:"footer__social-item",target:"_blank"},{default:p(()=>[m(i,{name:"socials/instagram"})]),_:1},8,["url"])):h("",!0),n.YouTubeUrl?(o(),g(a,{key:5,url:n.YouTubeUrl,"use-tag":!0,class:"footer__social-item",target:"_blank"},{default:p(()=>[m(i,{name:"socials/youtube"})]),_:1},8,["url"])):h("",!0)])])])),u("div",ns,[u("div",ss,[u("div",os,[u("div",ls,[u("p",is,f(e.$t("Footer.Copyright")),1),e.$config.public.notShowedBlocks.footer.permissionText.includes(e.$i18n.locale)?h("",!0):(o(),c("p",as,f(e.$t("Footer.Attention")),1)),e.$config.public.notShowedBlocks.footer.permissionText.includes(e.$i18n.locale)?h("",!0):(o(),c("p",rs,f(e.$t("Footer.Permission")),1))]),u("div",us,[m(a,{url:"/confidential_information",class:"footer__bottom-link"},{default:p(()=>[u("span",null,f(e.$t("Footer.Politic")),1)]),_:1}),u("button",{type:"button",class:"footer__bottom-link",onClick:t[0]||(t[0]=(..._)=>n.openModalContactForm&&n.openModalContactForm(..._))},[u("span",null,f(e.$t("Footer.Contact")),1)])])])])])],2)}const Ne=b(Jn,[["render",cs]]),ds=Object.freeze(Object.defineProperty({__proto__:null,default:Ne},Symbol.toStringTag,{value:"Module"})),ms={name:"VInput",props:{id:{type:String,default:""},type:{type:String,default:"text"},value:{type:[String,Number],default:""},name:{type:String,default:""},correct:{type:Boolean,default:!0},errorMessage:{type:String,default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},maxLength:{type:Number,default:0},mask:{type:[String,Object],default(){return null}},regular:{type:RegExp,default:null},nativePlaceholder:{type:Boolean,default:!1}},emits:["blur","focus","input","change"],data(){return{inputFocused:!1,mutedValue:"",autofilled:!1}},computed:{hasIconLeft(){return!!this.$slots["icon-left"]},hasIconRight(){return!!this.$slots["icon-right"]},nativePlaceholderText(){return this.nativePlaceholder?this.placeholder:""}},watch:{value(){this.mutedValue!==this.value&&(this.mutedValue=this.value)}},mounted(){this.mutedValue=this.value;const e=this.$refs.input;this.autofilled=window.getComputedStyle(e,":-webkit-autofill").animationName==="onAutoFillStart"},methods:{placeholderShow(){return this.nativePlaceholder||!this.correct&&this.placeholderUpper()||this.mutedValue!==""&&!this.placeholderUpper()?!1:!(!this.correct&&this.inputFocused)},placeholderUpper(){return!this.nativePlaceholder&&this.correct&&this.placeholder!==""&&(this.inputFocused||this.mutedValue!=="")||this.autofilled},handleBlur(e){this.$emit("blur",e),this.inputFocused=!1},handleFocus(e){this.$emit("focus",e),this.inputFocused=!0},handleInput(){this.maxLength!==0&&this.mutedValue.length>this.maxLength&&(this.mutedValue=this.mutedValue.slice(0,this.maxLength)),this.regular&&(this.mutedValue=this.mutedValue.replace(this.regular,""),this.mutedValue===null&&(this.mutedValue="")),this.$emit("input",this.mutedValue),this.$emit("change",this.mutedValue)},clickPlaceholder(){this.$refs.input.focus()},check(e){if(this.type==="number"){e=e||window.event;let t=e.which?e.which:e.keyCode;if(t>31&&(t<48||t>57)&&t!==46)e.preventDefault();else return!0}},checkAnimation(e){e.animationName==="onAutoFillStart"?this.autofilled=!0:e.animationName==="onAutoFillCancel"&&(this.autofilled=!1)}}},_s={class:"form-input__wrapper"},hs=["disabled","name","placeholder","type"],gs={class:"form-input__icon form-input__icon_right"};function ps(e,t,s,r,l,n){return o(),c("div",{class:y([{"form-input_error":!s.correct},"form-input"])},[V(u("div",{class:y([{"form-input__icon_focused":n.placeholderUpper()||!s.correct},"form-input__icon form-input__icon_left"])},[ie(e.$slots,"icon-left")],2),[[z,n.hasIconLeft]]),u("div",_s,[m(j,{duration:"200","enter-active-class":"animated shake"},{default:p(()=>[V(u("div",{class:y([{"form-input__error-message_icon-left":n.hasIconLeft},"form-input__error-message"]),onClick:t[0]||(t[0]=i=>n.clickPlaceholder())},f(s.errorMessage),3),[[z,!s.correct]])]),_:1}),n.placeholderShow()?(o(),c("div",{key:0,class:y([{"form-input__placeholder_upper":n.placeholderUpper(),"form-input__placeholder_bottom":!s.correct,"form-input__placeholder_icon-left":n.hasIconLeft},"form-input__placeholder"]),onClick:t[1]||(t[1]=i=>n.clickPlaceholder())},f(s.placeholder),3)):h("",!0),V(u("input",{ref:"input","onUpdate:modelValue":t[2]||(t[2]=i=>l.mutedValue=i),class:y([{"form-input__input_bottom":n.placeholderUpper()||!s.correct,"form-input__input_icon-left":n.hasIconLeft},"form-input__input"]),disabled:s.disabled,name:s.name,placeholder:n.nativePlaceholderText,type:s.type,onAnimationstart:t[3]||(t[3]=(...i)=>n.checkAnimation&&n.checkAnimation(...i)),onBlur:t[4]||(t[4]=(...i)=>
2n.handleBlur&&n.handleBlur(...i)),onChange:t[5]||(t[5]=(...i)=>n.handleInput&&n.handleInput(...i)),onFocus:t[6]||(t[6]=(...i)=>n.handleFocus&&n.handleFocus(...i)),onInput:t[7]||(t[7]=(...i)=>n.handleInput&&n.handleInput(...i)),onKeypress:t[8]||(t[8]=(...i)=>n.check&&n.check(...i))},null,42,hs),[[De,l.mutedValue]])]),V(u("div",gs,[ie(e.$slots,"icon-right")],512),[[z,n.hasIconRight]])],2)}const fs=b(ms,[["render",ps]]),ks={name:"VTextArea",props:{value:{type:String,default(){return""}},cols:{type:Number,default(){return 30}},rows:{type:Number,default(){return 30}},name:{type:String,default(){return""}},placeholder:{type:String,default(){return""}},block:{type:Boolean,default(){return!0}},correct:{type:Boolean,default:()=>!0},disabled:{type:Boolean,default:()=>!1}},emits:["input"],data(){return{inputFocused:!1}},computed:{upperPlaceholder(){return this.inputFocused||this.value!==""}},methods:{input(e){this.$emit("input",e.target.value)},clickPlaceholder(){this.$refs.textarea.focus()}}},vs=["name","cols","rows","disabled"];function ws(e,t,s,r,l,n){return o(),c("div",{class:y([{"input-area_incorrect":!s.correct},"input-area"])},[u("span",{class:y([{"input-area__placeholder_upper":n.upperPlaceholder},"input-area__placeholder"]),onClick:t[0]||(t[0]=(...i)=>n.clickPlaceholder&&n.clickPlaceholder(...i))},f(s.placeholder),3),u("textarea",{ref:"textarea",name:s.name,cols:s.cols,rows:s.rows,disabled:s.disabled,class:y([{"input-area_block":s.block},"input-area__field"]),onFocus:t[1]||(t[1]=i=>l.inputFocused=!0),onBlur:t[2]||(t[2]=i=>l.inputFocused=!1),onInput:t[3]||(t[3]=(...i)=>n.input&&n.input(...i))},null,42,vs)],2)}const Ms=b(ks,[["render",ws]]),ys=je("contactFormStore",()=>{const e=O();function t({filter:s,header:r,data:l}){const n={regionId:e.serverRegion.Id,...l};return ze.create(We.sendContactEmail,n,s,r)}return{postForm:t}}),bs={name:"ModalContactForm",components:{VButton:Ze,VTextArea:Ms,VInput:fs,LangSelect:ee,VLink:U,VModalPopup:et},data(){return{show:!1,hidden:"",name:"",email:"",message:"",nameIsValid:!0,emailIsValid:!0,messageIsValid:!0}},computed:{...S(F,{passedObj:"passedObj"}),nameErrorMessage(){return this.validateNameByLength(this.name)?"":this.$t("ContactForm.NotEmpty")},emailErrorMessage(){return this.validateNameByLength(this.email)?this.validateEmailByRules(this.email)?"":this.$t("ContactForm.CheckMail"):this.$t("ContactForm.NotEmpty")},messageErrorMessage(){return this.validateMessageByLength(this.message)?"":this.$t("ContactForm.NotEmpty")}},watch:{passedObj:{handler(e){e.eventName==="showContactForm"&&(this.show=!0)},immediate:!0},name(){this.nameIsValid=!0},email(){this.emailIsValid=!0},message(){this.messageIsValid=!0}},methods:{...P(ys,{postForm:"postForm"}),...P(F,{setPassedObj:"setPassedObj"}),close(){this.show=!1,this.setPassedObj({})},onSubmit(){const e={name:this.name,from:this.email,text:this.message,hiddenField:this.hidden};this.validate()&&(this.show=!1,this.postForm({data:e}))},validate(){return this.nameIsValid=this.validateNameByLength(this.name),this.emailIsValid=this.validateEmailByLength(this.email)&&this.validateEmailByRules(this.email),this.messageIsValid=this.validateMessageByLength(this.message),this.nameIsValid&&this.emailIsValid&&this.messageIsValid},validateNameByLength(e){return e.length>2},validateEmailByLength(e){return!!e},validateEmailByRules(e){return/.+@.+\..+/i.test(e)},validateMessageByLength(e){return e.length>2}}},Is={class:"modal-contact-form-header"},Ls={class:"modal-contact-form-header__select"},Cs={class:"modal-contact-form-content__title"},Ss={class:"modal-contact-form-content__buttons"};function Ps(e,t,s,r,l,n){const i=Q,a=k("VLink"),_=ee,d=k("VInput"),v=k("VTextArea"),w=k("VButton"),B=k("VModalPopup"),M=X("t");return o(),g(B,{show:l.show,"onUpdate:show":t[5]||(t[5]=C=>l.show=C),full:{mobile:!0},"close-button":!1,"not-margin":{mobile:!0},"not-padding":{mobile:!0,table:!0,desktop:!0},"style-block":{width:"580px"},onClose:n.close},{header:p(()=>[u("div",Is,[m(i,{name:"arrow-big",class:"modal-contact-form-header__back",onClick:n.close},null,8,["onClick"]),m(a,{url:"/",class:"modal-contact-form-header__logo"},{default:p(()=>[m(i,{name:"logo"})]),_:1}),u("div",Ls,[m(_)]),m(i,{name:"close",class:"modal-contact-form-header__close",onClick:n.close},null,8,["onClick"])])]),default:p(()=>[u("form",{class:"modal-contact-form-content",onSubmit:t[4]||(t[4]=A((...C)=>n.onSubmit&&n.onSubmit(...C),["prevent"]))},[V(u("h3",Cs,null,512),[[M,"ContactForm.Title"]]),V(m(d,{modelValue:l.hidden,"onUpdate:modelValue":t[0]||(t[0]=C=>l.hidden=C)},null,8,["modelValue"]),[[z,!1]]),m(d,{modelValue:l.name,"onUpdate:modelValue":t[1]||(t[1]=C=>l.name=C),placeholder:e.$t("ContactForm.Name")+" *",correct:l.nameIsValid,"error-message":n.nameErrorMessage},null,8,["modelValue","placeholder","correct","error-message"]),m(d,{modelValue:l.email,"onUpdate:modelValue":t[2]||(t[2]=C=>l.email=C),placeholder:"Email *",correct:l.emailIsValid,"error-message":n.emailErrorMessage},null,8,["modelValue","correct","error-message"]),m(v,{modelValue:l.message,"onUpdate:modelValue":t[3]||(t[3]=C=>l.message=C),rows:5,placeholder:e.$t("ContactForm.Message")+" *",correct:l.messageIsValid},null,8,["modelValue","placeholder","correct"]),u("div",Ss,[m(w,{block:"",size:"large",class:"modal-contact-form-content__button"},{default:p(()=>[V(u("span",null,null,512),[[M,"ContactForm.Send"]])]),_:1}),m(w,{block:"",white:"",size:"large",class:"modal-contact-form-content__button",onClick:n.close},{default:p(()=>[V(u("span",null,null,512),[[M,"ContactForm.Cancel"]])]),_:1},8,["onClick"])])],32)]),_:1},8,["show","onClose"])}const Oe=b(bs,[["render",Ps],["__scopeId","data-v-14994c83"]]),$s=Object.freeze(Object.defineProperty({__proto__:null,default:Oe},Symbol.toStringTag,{value:"Module"}
2)),Ts={name:"Default",components:{Sw21Header:He,OurSocials:J(()=>H(()=>Promise.resolve().then(()=>Gn),void 0,import.meta.url)),Sw21Footer:J(()=>H(()=>Promise.resolve().then(()=>ds),void 0,import.meta.url)),ModalContactForm:J(()=>H(()=>Promise.resolve().then(()=>$s),void 0,import.meta.url)),SwModalCountryLink:J(()=>H(()=>import("./BpelZvfg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),VLoader:K(()=>H(()=>import("./BQ8qqqO0.js"),__vite__mapDeps([9,4,5,10]),import.meta.url))},mixins:[Je],setup(){const{t:e}=qe();Ke({title:e("ShopPage.SeoTitle"),meta:[{hid:"description",name:"description",content:e("ShopPage.SeoDescription")}]})},computed:{...S(O,{isLangAr:"isLanguageArabic"})}},Vs={key:0,class:"layout"},Bs={class:"layout__main-shadow"};function xs(e,t,s,r,l,n){const i=He,a=Ue,_=Ne,d=Xe,v=Oe,w=k("v-loader");return o(),c("div",{class:y([{"default-layout_ar":e.isLangAr},"default-layout"])},[m(i),ie(e.$slots,"default"),m(a),m(_,{"no-socials":""}),m(d),m(v),e.showLoader?(o(),c("div",Vs,[u("div",Bs,[m(w,{class:"layout__main-loader"})])])):h("",!0)],2)}const Ys=b(Ts,[["render",xs]]);export{Ys as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.