PageSourceSearch

https://www.pinkpanda.hu/_nuxt/Ce-hPS8g.js

js pinkpanda.hu collected 2026-09-26 19:51:09 UTC 86,006 bytes, 1 lines download raw bytes

1import{h as xe,u as ie,g as Me,k as Pe,a as pe,_ as ge,v as et,p as Oe,x as qt,y as Nt,n as Be,z as lt,d as ke,e as Ae,s as tt,A as At,B as Ht}from"./3Ps77TiH.js";import{_ as Vt}from"./CeJb9nqB.js";import{_ as it}from"./CwerMOC6.js";import{b as E,l as N,aa as ye,c as re,P as t,Q as w,u as s,U as o,V as a,M as k,S as d,Y as C,L as z,a1 as Z,n as oe,$ as V,aj as ot,ab as R,ad as rt,ae as ct,B as ve,o as be,a3 as $e,a5 as He,N as Se,a6 as Ee,ag as dt,ak as ut,z as qe}from"./B9WjbkLb.js";import fe from"./CQsczvyr.js";import{n as Ve,e as Fe,l as Ne,c as mt}from"./D3pctV-p.js";import{u as we}from"./BbPrvvhm.js";import{_ as pt}from"./VVxv-_Sc.js";import{_ as gt,a as Ft,b as zt}from"./D3aMWxCS.js";import{_ as Rt,a as Ut}from"./BaT4egWQ.js";import{_ as ft}from"./C0zpw1rE.js";import{L as _t}from"./_-ErIdAR.js";import{_ as De}from"./UGNOh53s.js";import{s as ht}from"./x_rD_Ya3.js";import{p as Gt,_ as Wt}from"./BuLVdiWZ.js";import{u as Te}from"./f7uC-UHa.js";import{_ as xt,a as ze,b as yt,c as vt}from"./2CKlosul.js";import{_ as wt,a as bt,b as $t,c as Pt}from"./BGwJcbCF.js";import{C as kt}from"./BM6rhd0s.js";import{_ as Dt}from"./DhtOaJnD.js";import{_ as St}from"./CXyTrzPE.js";import{_ as Ct}from"./BO9kKejz.js";import{q as Ce}from"./DClKkC4h.js";import{_ as Xt,a as Yt,b as Kt}from"./yhUaaclB.js";import{_ as Jt,a as Qt}from"./CtQgD6d9.js";import{u as Mt}from"./CxNwIVsx.js";import{_ as Zt}from"./9bSeUYCz.js";import{_ as en}from"./DDz_1dDZ.js";import tn from"./DQJzgtxX.js";import"./CJbG-lx0.js";import"./mlu0Q1ug.js";import"./B6TMT7vU.js";import"./DPkd8hTs.js";import"./BJtl3rmf.js";import"./D2F6DztT.js";import"./BV042yML.js";import"./BnxB1Wlx.js";import"./CkwMkOFy.js";import"./BYwDCyC4.js";import"./WvZgxJ8U.js";import"./CN_Obp83.js";import"./BdRGYzN6.js";import"./B-mckVKX.js";import"./DiTXFcm-.js";const Ot={__name:"ProductList",props:{selection:String,landingPageData:Object,swiper:Boolean,dynamic:Boolean},async setup(e){let n,y;const g=e,{$api:u}=xe(),l=ie(),x=Me(),P=E([]),S=E(!0),_=N(()=>l.query.brand?P.value.filter(f=>f.brand_id==l.query.brand):P.value);async function b(){var f;try{if(!g.selection)return;S.value=!0,await new Promise(c=>setTimeout(c,400)),P.value=[];let $,v;const p={limit:9999,category_id:l.query.category||void 0};if(l.query.discount&&(p.discount=l.query.discount),l.query.min_price&&(p.min_price=l.query.min_price),l.query.max_price&&(p.max_price=l.query.max_price),g.dynamic?{data:$,error:v}=await u.products.getSelectionProductsDynamic(l.params&&l.params.url,{...p,selection_tab:g.selection}):{data:$,error:v}=await u.products.getSelectionProducts(g.selection,p),v.value)return;P.value=(f=$.value)==null?void 0:f.data.products,S.value=!1}catch($){return S.value=!1,$}}return[n,y]=ye(()=>b()),await n,y(),re(()=>[l.query.category,l.query.tab,l.query.discount,l.query.min_price,l.query.max_price],(f,$)=>{const[v,p,c,r,m]=f,[h,O,D,M,B]=$;(v!==h||p!==O||c!==D||r!==M||m!==B)&&b()}),re(()=>[l.query.brand],(f,$)=>{const[v]=f,[p]=$;if(v!==p){const c={...l.query};delete c.category,delete c.tab,x.push({path:l.path,query:c})}}),(f,$)=>{const v=Vt,p=it;return g.swiper?(t(),w(v,{key:0,products:s(_)},null,8,["products"])):(t(),w(p,{key:1,products:s(_),loading:s(S),type:"OUTLET","landing-page-data":e.landingPageData},null,8,["products","loading","landing-page-data"]))}}},nn={__name:"AddSetButton",props:{products:Array,landingPageId:[String,Number],setId:[String,Number]},setup(e){const n=e,{$toast:y}=xe(),{t:g}=pe(),u=E(!1),l=we(),{addProductToBasket:x,itemInBasketBool:P}=l,S=N(()=>n.products.every(f=>f.product.stock===0)),_=N(()=>n.products.every(f=>{const $=f.product;return $.stock>0?P($):$.stock===0}));async function b(){var f;u.value=!0;for(const $ of n.products){const v=$.product;v.stock>0?await x({...v,quantity:1,landing_page_id:(f=n.landingPageId)!=null?f:null,set_id:n.setId}):v.stock===0&&(y==null||y.add({status:"SUCCESS",summary:g("error_oh_no"),detail:"".concat(v.title," ").concat(g("not_in_stock")),life:8e3}))}u.value=!1}return(f,$)=>{const v=fe;return t(),w(v,{icon:"pi pi-arrow-right","icon-pos":"right",loading:s(u),disabled:s(_),label:s(_)?s(S)?f.$t("not_in_stock_short"):f.$t("upsell_added"):f.$t("korean.add_set_to_basket"),pt:{root:{class:"pulse-button w-full rounded-md py-3 px-3.5 text-base bg-[#000] text-white border-2 border-[#000]".concat(s(Ve)).concat(s(Fe))},label:{class:"font-semibold"}},onClick:$[0]||($[0]=p=>b())},null,8,["loading","disabled","label","pt"])}}},an=Pe(nn,[["__scopeId","data-v-5d08a97d"]]),sn={class:"w-full h-full max-w-sm bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition-shadow duration-300 flex flex-col relative border border-neutral-100"},ln={class:"relative w-full aspect-square bg-neutral-100 flex items-center justify-center"},on={class:"p-4 flex flex-col flex-1 items-center text-center gap-2"},rn={class:"text-lg font-semibold text-neutral-900"},cn={key:0,class:"w-full flex flex-col items-center gap-1"},dn={class:"flex items-center gap-2"},un={class:"line-through text-gray-400 text-sm"},mn={class:"text-red-600 font-bold text-xl"},pn={class:"w-full flex flex-wrap sm:block gap-2 sm:space-y-2 justify-center sm:justify-start"},gn=["title"],fn=["href"],_n=["src","alt"],hn={class:"hidden sm:block line-clamp-2 leading-tight text-[13px]"},xn={class:"mt-auto w-full"},yn={__name:"Set",props:{set:Object,landingPageId:[String,Number],setId:[String,Number]},setup(e){const{set:n,landingPageId:y}=e,g=N(()=>{var b;const _=(b=n==null?void 0:n.products)==null?void 0:b.reduce((f,$)=>{var v;return f+(Number.parseFloat((v=$.product)==null?void 0:v.normal_price_num)||0)},0);return Number.isNaN(_)?0:_}),u=N(()=>(g.value*.6).toFixed(2)),l=N(()=>g.value>0),x=N(()=>l.value?g.value.toFixed(2).replace(".",","):""),P=N(()=>l.value?u.value.replace(".",","):""),S=N(()=>{var _,b,f;return((f=(b=(_=n==null?void 0:n.products)==null?void 0:_[0])==null?void 0:b.product)==null?void 0:f.currency_iso)||"EUR"});return(_,b)=>{const f=ge,$=an;return t(),o("div",sn,[a("div",ln,[k(f,{src:n.image,class:"max-h-48 object-contain"},null,8,["src"]),n.icon?(t(),w(f,{key:0,src:n.icon,class:"absolute top-3 left-3 w-10 h-10 object-contain"},null,8,["src"])):d("",!0)]),a("div",on,[a("p",rn,C(n.title),1),l.value?(t(),o("div",cn,[a("div",dn,[a("span",un,C(x.value)+" "+C(S.value),1),b[0]||(b[0]=a("span",{class:"bg-red-100 text-red-700 text-xs font-semibold px-2 py-1 rounded-full"}," -40% ",-1))]),a("div",mn,C(P.value)+" "+C(S.value),1)])):d("",!0),a("ul",pn,[(t(!0),o(z,null,Z(n.products.filter(v=>{var p,c;return((p=v.product)==null?void 0:p.title)&&((c=v.product)==null?void 0:c.image)}),(v,p)=>(t(),o("li",{key:p,class:"flex items-center gap-2 p-2 bg-white rounded-lg border border-neutral-200 hover:bg-neutral-50 transition text-sm w-[45%] sm:w-full",title:v.product.title},[a("a",{href:v.product.full_product_url,target:"_blank",rel:"noopener",class:"flex items-center justify-center sm:justify-start gap-2 sm:gap-3 w-full"},[a("img",{src:v.product.image,alt:v.product.title,class:"w-12 h-12 sm:w-10 sm:h-10 object-cover rounded"}
1,null,8,_n),a("p",hn,C(v.product.title),1)],8,fn)],8,gn))),128))]),a("div",xn,[k($,{products:n.products,"landing-page-id":y,"set-id":e.setId},null,8,["products","set-id"])])])])}}},vn=Pe(yn,[["__scopeId","data-v-b3a0a0a7"]]),wn={key:0,class:"custom-swiper-button-next-discount bg-[url('~/assets/icons/arrow-black-right.svg')]"},bn={__name:"DiscountTabs",props:{discounts:Object,disabled:Boolean,colorMode:{default:"default",type:String}},setup(e){const n=e,y=ie(),g=Me(),u=E(null),l=E(!1),x=N(()=>y.query.discount||null),P={dark:"bg-black",default:"bg-white",xmas:"bg-[#FFF8EC]"},S={nextEl:".custom-swiper-button-next-discount",disabledClass:"swiper-button-disabled-discount",hideOnClick:!1},_={next:{translate:["100%",0,0]}};function b(p){var O;const c={dark:"largeDarkSelected",default:"largeDefaultSelected",xmas:"largeXmasSelected"},r={dark:"largeDarkDefault",default:"largeDefault",xmas:"largeXmasDefault"},m=(O=x.value)==null?void 0:O.toString(),h=p==null?void 0:p.toString();return m===h?c[n.colorMode]:r[n.colorMode]}function f(p){g.push({path:y.path,query:{...y.query,discount:p.option_value||p.discount_id||void 0},replace:!0})}function $(){g.push({path:y.path,query:{...y.query,discount:void 0},replace:!0})}function v(p){p&&oe(()=>{if(p.wrapperEl&&p.el){const c=p.wrapperEl.scrollWidth,r=p.el.clientWidth,m=c>r;l.value!==m&&(l.value=m,oe(()=>{p.update()}))}})}return re(()=>l.value,()=>{u.value&&oe(()=>{u.value.update()})}),re(()=>x.value,()=>{u.value&&oe(()=>{var r,m;const p=u.value;let c=0;if(x.value){const h=(m=(r=n.discounts)==null?void 0:r.items)==null?void 0:m.findIndex(O=>{var D;return String((D=O.option_value)!=null?D:O.discount_id)===String(x.value)});h!==void 0&&h>=0&&(c=h+1)}c<p.slides.length&&p.slideTo(c,300)})},{immediate:!0}),(p,c)=>{var D,M;const r=pt,m=rt,h=ct,O=gt;return e.discounts&&((M=(D=e.discounts)==null?void 0:D.items)==null?void 0:M.length)>0?(t(),o("div",{key:0,class:R(["max-w-full md:static z-10 swiper-additional-tabs relative",P[n.colorMode]])},[k(O,null,{default:V(()=>[k(h,{"space-between":0,"slides-per-view":"auto",modules:["SwiperNavigation"in p?p.SwiperNavigation:s(ot)],navigation:S,"creative-effect":_,"slide-to-clicked-slide":!0,class:"swiper-additional-tabs-style fading-element",onSwiper:c[0]||(c[0]=B=>{u.value=B,v(B)}),onSlideChange:c[1]||(c[1]=B=>v(B)),onResize:c[2]||(c[2]=B=>v(B))},{default:V(()=>[(t(),w(m,{key:"all-discount",name:"swiper-element-all",class:R(["!w-fit pr-2.5",{"last:pr-10":s(l)}])},{default:V(()=>[k(r,{title:p.$t("browse.all_discounts"),"custom-on-click":!0,idx:0,disabled:e.disabled,type:b(null),class:"h-full discount-tab-button",onOnClick:$},null,8,["title","disabled","type"])]),_:1},8,["class"])),(t(!0),o(z,null,Z(e.discounts.items,(B,T)=>(t(),w(m,{key:"discount-".concat(T),name:"swiper-element-".concat(T),class:R(["!w-fit pr-2.5",s(l)&&T===e.discounts.items.length-1?"pr-10":""])},{default:V(()=>{var j,A;return[k(r,{title:B.title,"custom-on-click":!0,idx:T+1,disabled:e.disabled,type:b((A=(j=B.option_value)!=null?j:B.discount_id)!=null?A:T),class:"h-full discount-tab-button",onOnClick:U=>f(B)},null,8,["title","idx","disabled","type","onOnClick"])]}),_:2},1032,["name","class"]))),128))]),_:1},8,["modules"]),s(l)?(t(),o("button",wn)):d("",!0)]),_:1})],2)):d("",!0)}}},$n=Pe(bn,[["__scopeId","data-v-45b3c38d"]]),Pn={key:0,class:"custom-swiper-button-next-price bg-[url('~/assets/icons/arrow-black-right.svg')]"},kn={__name:"PriceTabs",props:{prices:Object,disabled:Boolean,colorMode:{default:"default",type:String}},setup(e){const n=e,y=ie(),g=Me(),u=E(null),l=E(!1);function x(c,r){return!c&&!r?null:c&&r?"".concat(c,"-").concat(r):c&&!r?"".concat(c,"-"):!c&&r?"-".concat(r):null}const P=N(()=>x(y.query.min_price,y.query.max_price)),S={dark:"bg-black",default:"bg-white",xmas:"bg-[#FFF8EC]"},_={nextEl:".custom-swiper-button-next-price",disabledClass:"swiper-button-disabled-price",hideOnClick:!1},b={next:{translate:["100%",0,0]}};function f(c){var D;const r={dark:"largeDarkSelected",default:"largeDefaultSelected",xmas:"largeXmasSelected"},m={dark:"largeDarkDefault",default:"largeDefault",xmas:"largeXmasDefault"},h=(D=P.value)==null?void 0:D.toString(),O=c==null?void 0:c.toString();return h===O?r[n.colorMode]:m[n.colorMode]}function $(c){var r,m,h,O;try{if(!c){console.error("Price object is null or undefined");return}const D={...y.query},M=c.option_value||c.price_id||"";if(M)if(M.includes("-")){const B=M.split("-"),T=(r=B[0])==null?void 0:r.trim(),j=(m=B[1])==null?void 0:m.trim();T&&T!==""?D.min_price=T:delete D.min_price,j&&j!==""?D.max_price=j:delete D.max_price}else D.max_price=M,delete D.min_price;else{const B=(h=c.min_price)!=null?h:c.min,T=(O=c.max_price)!=null?O:c.max;
1B!=null&&B!==""?D.min_price=B.toString():delete D.min_price,T!=null&&T!==""?D.max_price=T.toString():delete D.max_price}g.push({path:y.path,query:D,replace:!0}).catch(B=>{console.error("Router push error:",B)})}catch(D){console.error("Error in priceClick:",D)}}function v(){g.push({path:y.path,query:{...y.query,min_price:void 0,max_price:void 0},replace:!0})}function p(c){c&&oe(()=>{if(c.wrapperEl&&c.el){const r=c.wrapperEl.scrollWidth,m=c.el.clientWidth,h=r>m;l.value!==h&&(l.value=h,oe(()=>{c.update()}))}})}return re(()=>l.value,()=>{u.value&&oe(()=>{u.value.update()})}),re(()=>P.value,()=>{u.value&&oe(()=>{var m;const c=u.value;let r=0;if(P.value&&((m=n.prices)!=null&&m.items)){const h=n.prices.items.findIndex(O=>(O.option_value||O.price_id||"")===P.value);h!==void 0&&h>=0&&(r=h+1)}r<c.slides.length&&c.slideTo(r,300)})},{immediate:!0}),(c,r)=>{var M,B;const m=pt,h=rt,O=ct,D=gt;return e.prices&&((B=(M=e.prices)==null?void 0:M.items)==null?void 0:B.length)>0?(t(),o("div",{key:0,class:R(["max-w-full md:static z-10 swiper-additional-tabs relative",S[n.colorMode]])},[k(D,null,{default:V(()=>[k(O,{"space-between":0,"slides-per-view":"auto",modules:["SwiperNavigation"in c?c.SwiperNavigation:s(ot)],navigation:_,"creative-effect":b,"slide-to-clicked-slide":!0,class:"swiper-additional-tabs-style fading-element",onSwiper:r[0]||(r[0]=T=>{u.value=T,p(T)}),onSlideChange:r[1]||(r[1]=T=>p(T)),onResize:r[2]||(r[2]=T=>p(T))},{default:V(()=>[(t(),w(h,{key:"all-price",name:"swiper-element-all",class:R(["!w-fit pr-2.5",{"last:pr-10":s(l)}])},{default:V(()=>[k(m,{title:c.$t("browse.all_prices"),"custom-on-click":!0,idx:0,disabled:e.disabled,type:f(null),class:"h-full price-tab-button",onOnClick:v},null,8,["title","disabled","type"])]),_:1},8,["class"])),(t(!0),o(z,null,Z(e.prices.items,(T,j)=>(t(),w(h,{key:"price-".concat(j),name:"swiper-element-".concat(j),class:R(["!w-fit pr-2.5",s(l)&&j===e.prices.items.length-1?"pr-10":""])},{default:V(()=>[k(m,{title:T.title,"custom-on-click":!0,idx:j+1,disabled:e.disabled,type:f(T.option_value||T.price_id),class:"h-full price-tab-button",onOnClick:A=>$(T)},null,8,["title","idx","disabled","type","onOnClick"])]),_:2},1032,["name","class"]))),128))]),_:1},8,["modules"]),s(l)?(t(),o("button",Pn)):d("",!0)]),_:1})],2)):d("",!0)}}},Dn=Pe(kn,[["__scopeId","data-v-3f78205e"]]),Sn={key:0,class:"w-full flex justify-center py-8"},Cn={key:1},Mn=["id"],On=["id"],Bn={key:1,class:"w-full flex justify-center pb-8 px-4"},Bt={__name:"Infinite",props:{landingPageData:Object},async setup(e){let n,y;const g=e,u=ie();Me();const{$api:l}=xe(),x=E(!1),P={discount:u.query.discount||void 0,min_price:u.query.min_price||void 0,max_price:u.query.max_price||void 0},{data:S,pending:_,refresh:b}=([n,y]=ye(()=>{var m;return l.products.getInitialInfiniteScroll((m=u==null?void 0:u.params)==null?void 0:m.url,P)}),n=await n,y(),n);function f(m){const h=m.getBoundingClientRect(),O=window.innerWidth,D=window.innerHeight,M=Math.min(h.right,O)-Math.max(h.left,0),B=Math.min(h.bottom,D)-Math.max(h.top,0);return M>0&&B>0?M*B:0}const $=et("outlet-visual-active-tab",()=>null),v=et("outlet-programmatic-scrolling",()=>!1);let p=null;const c=()=>{v.value||(p!==null&&cancelAnimationFrame(p),p=requestAnimationFrame(()=>{let m=0,h=null;if(document.querySelectorAll('[id^="wrapper_tabid_"]').forEach(D=>{const M=f(D);M>m&&(m=M,h=D)}),h){const D=h==null?void 0:h.id.replace("wrapper_tabid_","");$.value=D}p=null}))};ve(()=>{window.addEventListener("scroll",c),window.addEventListener("resize",c)}),be(()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",c),p!==null&&(cancelAnimationFrame(p),p=null)}),re(()=>u.query.discount,(m,h)=>{m!==h&&(P.discount=m||void 0,b())}),re(()=>[u.query.min_price,u.query.max_price],([m,h],[O,D])=>{m===O&&h===D||(P.min_price=m||void 0,P.max_price=h||void 0,b())});async function r(m){var j,A,U;x.value=!0;const h=S.value.find(q=>q.tab_id===m.tab_id),O=h.products.length,D=((j=g.landingPageData)==null?void 0:j.dynamic_tabs)&&g.landingPageData.dynamic_tabs.length>0;let M,B;const T={offset:O,discount:u.query.discount||void 0,min_price:u.query.min_price||void 0,max_price:u.query.max_price||void 0};if(D?{data:M,error:B}=await l.products.getSelectionProductsDynamic(u.params&&u.params.url,{...T,selection_tab:m.tab_id}):{data:M,error:B}=await l.products.getSelectionProducts(m.selection_id,T),B.value){x.value=!1;return}x.value=!1,h&&(Array.isArray(h.products)||(h.products=[]),h.products.push(...((U=(A=M.value)==null?void 0:A.data)==null?void 0:U.products)||[]))}return(m,h)=>{const O=it,D=fe;return s(_)?(t(),o("div",Sn,[k(s(_t),{class:"w-8"}
1)])):!s(u).query.brand&&s(S)&&Object.keys(s(S)).length>0?(t(),o("div",Cn,[(t(!0),o(z,null,Z(s(S),(M,B)=>{var T,j,A;return t(),o("div",{key:"additional".concat(B),class:"w-full"},[M.products.length>0?(t(),o("div",{key:0,id:"wrapper_tabid_".concat(M.tab_id)},[(((T=g.landingPageData)==null?void 0:T.type)==="VIP_LANDING"||((j=g.landingPageData)==null?void 0:j.type)==="OPEN_SALES_LANDING"||((A=g.landingPageData)==null?void 0:A.type)==="AUTO_OPEN_SALES_LANDING")&&(M!=null&&M.title)?(t(),o("h2",{key:0,id:"title_tabid_".concat(M.tab_id),class:"uppercase font-primary pl-3 text-[32px] font-medium mb-4 md:pl-6"},C(M==null?void 0:M.title),9,On)):d("",!0),k(O,{products:M.products,"landing-page-data":g.landingPageData,type:"OUTLET",class:"!pb-0"},null,8,["products","landing-page-data"]),M.products.length<M.all_products_count?(t(),o("div",Bn,[k(D,{name:"btn-show-more",type:"button",label:m.$t("show_more"),loading:s(x),pt:s(Ne),class:"sm:max-w-xs",onClick:U=>r(M)},null,8,["label","loading","pt","onClick"])])):d("",!0)],8,Mn)):d("",!0)])}),128))])):d("",!0)}}},Tn={class:"w-full"},Ln={key:0,class:"uppercase font-primary pl-3 text-[32px] font-medium mb-4 md:pl-6"},Tt={__name:"Regular",props:{landingPageData:Object,dynamicTabs:Object,dynamic:Boolean},setup(e){const n=e,y=ie(),g=N(()=>{var l,x,P;let u=[];if(n.dynamic&&((l=n.dynamicTabs)!=null&&l.length)?u=n.dynamicTabs.map(S=>({...S,placeholder:S.tab_id})):u=(P=(x=n.landingPageData)==null?void 0:x.tabs)!=null?P:[],!!u.length)return y.query.tab?u.find(S=>String(S.tab_id)===String(y.query.tab)):u[0]});return(u,l)=>{var S,_,b,f;const x=Ot,P=Oe;return t(),o("div",Tn,[(((S=e.landingPageData)==null?void 0:S.type)==="VIP_LANDING"||((_=e.landingPageData)==null?void 0:_.type)==="OPEN_SALES_LANDING")&&((b=s(g))!=null&&b.title)?(t(),o("h2",Ln,C((f=s(g))==null?void 0:f.title),1)):d("",!0),k(P,null,{default:V(()=>{var $;return[k(x,{selection:($=s(g))==null?void 0:$.placeholder,"landing-page-data":e.landingPageData,dynamic:e.dynamic},null,8,["selection","landing-page-data","dynamic"])]}),_:1})])}}},In={key:0,class:"w-full bg-black flex flex-col lg:flex-row items-center pt-4 pb-4 px-4"},jn={class:"flex items-center font-semibold pb-2 lg:pb-0"},En={class:"text-white pr-2 whitespace-nowrap"},qn={class:"text-brand-600 bg-white rounded w-[88px] text-center"},Nn={class:"relative w-full h-2 bg-white rounded flex items-center lg:mx-4"},Ie=600,Lt={__name:"Large",props:{timestamp:String,promoCode:String},emits:["onTimerDone"],setup(e,{emit:n}){const y=e,g=n,u=E(""),l=E(Ie-2),x=E(Ie),P=E(0),S=E(100);function _(){const f=new Date(y.timestamp).getTime(),$=new Date().getTime(),v=(f-$)/1e3<Ie;if(v&&u.value===""&&(x.value=Math.round(Math.max(0,f-$)/1e3),l.value=Math.round(Math.max(0,f-$)/1e3)),v&&u.value!==""?(l.value=l.value-1,S.value=l.value/x.value*100):v||(l.value>3&&(l.value=l.value-1),S.value=(l.value/x.value)**10*100),l.value===1||l.value===0)return g("onTimerDone");u.value=b(Math.max(0,f-$))}function b(f){const $=Math.floor(f/1e3),v=Math.floor($/3600),p=Math.floor($%3600/60),c=$%60;return"".concat(String(v).padStart(2,"0"),":").concat(String(p).padStart(2,"0"),":").concat(String(c).padStart(2,"0"))}return ve(()=>{_(),P.value=ht(_,1e3)}),be(()=>{clearInterval(P.value)}),(f,$)=>{const v=De;return t(),w(He,null,{default:V(()=>[s(l)>0?(t(),o("div",In,[a("div",jn,[a("p",En,C(f.$t("timer_time_left")),1),a("p",qn,C(s(u)),1)]),a("div",Nn,[a("div",{class:"transition-all h-1.5 bg-brand-600 rounded ml-0.5",style:$e({width:"".concat(s(S),"%")})},null,4)]),e.promoCode?(t(),w(v,{key:0,class:"hidden lg:flex w-full","promo-code":e.promoCode},null,8,["promo-code"])):d("",!0)])):d("",!0)]),_:1})}}},An={key:0,class:"w-full bg-black flex flex-wrap justify-center items-start pt-4 pb-4 px-4"},Hn={class:"flex flex-wrap justify-center items-center font-semibold pb-4 gap-2"},Vn={class:"text-white pr-2 whitespace-nowrap w-full sm:w-auto text-center"},Fn={key:0,class:"bg-brand-800 text-brand-100 rounded text-center whitespace-nowrap py-1 px-2"},zn=["innerHTML"],je=600,It={__name:"Fomo",props:{timestamp:String,promoCode:String,disclosure:String},emits:["onTimerDone"],setup(e,{emit:n}){const y=e,g=n,u=E(""),l=E(je-2),x=E(je),P=E(0),S=E(100),_=N(()=>y.timestamp?new Date(y.timestamp).toLocaleDateString("cs-CZ",{day:"2-digit",month:"2-digit",year:"numeric"}):"");function b(){const $=new Date(y.timestamp),v=new Date;let p=$.getTime();
1if((p-v.getTime())/1e3>86400){const h=new Date;h.setHours(23,59,59,999),p=h.getTime()}const r=v.getTime(),m=(p-r)/1e3<je;if(m&&u.value===""&&(x.value=Math.round(Math.max(0,p-r)/1e3),l.value=x.value),m&&u.value!==""?(l.value=l.value-1,S.value=l.value/x.value*100):m||(l.value>3&&(l.value=l.value-1),S.value=(l.value/x.value)**10*100),l.value===1||l.value===0)return g("onTimerDone");u.value=f(Math.max(0,p-r))}function f($){const v=Math.floor($/1e3),p=Math.floor(v/3600),c=Math.floor(v%3600/60),r=v%60;return"".concat(String(p).padStart(2,"0"),"h : ").concat(String(c).padStart(2,"0"),"m : ").concat(String(r).padStart(2,"0"),"s")}return ve(()=>{b(),P.value=ht(b,1e3)}),be(()=>{clearInterval(P.value)}),($,v)=>(t(),w(He,null,{default:V(()=>[s(l)>0?(t(),o("div",An,[a("div",Hn,[a("p",Vn,C($.$t("timer_fomo_left"))+" "+C(s(_)),1),s(u)?(t(),o("p",Fn,C(s(u)),1)):d("",!0)]),e.disclosure?(t(),o("div",{key:0,class:"text-center text-gray-400",innerHTML:e.disclosure},null,8,zn)):d("",!0)])):d("",!0)]),_:1}))}},Rn={key:0,id:"outlet-header",class:"w-full self-center relative"},Un={class:"w-full flex flex-col items-center mb-10 sm:px-6 lg:px-8"},Gn={class:"w-full max-w-6xl"},Wn={class:"w-full flex flex-col items-center sm:px-6 lg:px-8"},Xn={key:0,class:"text-2xl sm:text-3xl font-bold text-center"},Yn=["innerHTML"],Kn={key:2,class:"text-center"},Jn={key:3,class:"flex justify-center"},Qn=["src"],Zn={key:4,class:"grid grid-cols-2 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4"},ea={key:5},ta={class:"flex flex-col md:flex-row gap-2 mt-1 w-full pt-2"},na={class:"sticky md:static md:w-auto top-12 bg-white z-10 pb-2"},aa={class:"flex flex-col items-center w-full overflow-hidden"},sa={key:6},la=["innerHTML"],ia={key:7,class:"flex flex-col items-center py-0"},oa={class:"flex flex-col md:flex-row items-center justify-center gap-3 md:gap-4"},ra={class:"flex items-center"},ca={key:0,class:"flex items-center gap-3"},da={class:"text-3xl md:text-4xl font-bold text-brand-600","data-testid":"product-price-discount"},ua={key:8,class:"flex flex-col items-center py-0 px-4 sm:px-6"},ma={key:9,class:"flex flex-col items-center py-0 px-4 sm:px-6"},pa={key:10,class:"text-center text-gray-400 italic"},ga={__name:"Dynamic",props:{landingPageData:Object,pending:Boolean,error:Object},setup(e){const n=e,y=ie(),{public:{ENV:g}}=Nt(),u=qt();let l;g!=="production"?l="".concat(u.protocol,"//").concat(u.hostname):l="//licilasicdn.s3.amazonaws.com/";const x=E(!0);(y.query.tab||y.query.category)&&(x.value=!1);const P=we(),{addProductToBasket:S}=P,{lastContactCheckoutUrl:_}=Te(),b=E({}),f=N(()=>{var h;const r=[];let m=[];for(const O of((h=n.landingPageData)==null?void 0:h.dynamic_tabs)||[])O.section_id==="set"?m.push(O):(m.length&&(r.push({section_id:"set_group",sets:m}),m=[]),r.push(O));return m.length&&r.push({section_id:"set_group",sets:m}),r});function $(r){return r==null?"":Gt(r)}async function v(r){var h,O,D;const m=r.section_holder_id||"default";b.value[m]=!0;try{const M={item_id:(h=r.data)==null?void 0:h.resource_id,type:((O=r.data)==null?void 0:O.resource_type)||"product",quantity:1};(D=n.landingPageData)!=null&&D.landing_page_id&&(M.landing_page_id=n.landingPageData.landing_page_id),await S(M)}catch(M){console.error("Error adding product to cart:",M)}finally{setTimeout(()=>{b.value[m]=!1},1e3)}}async function p(r){var h,O,D,M;const m=r.section_holder_id||"default";b.value[m]=!0;try{const B={item_id:(h=r.data)==null?void 0:h.resource_id,type:((O=r.data)==null?void 0:O.resource_type)||"product",quantity:1};(D=n.landingPageData)!=null&&D.landing_page_id&&(B.landing_page_id=n.landingPageData.landing_page_id),await S(B);const T=(M=r.data)==null?void 0:M.apply_promo_code;let j=_.value;T&&(j="".concat(j,"?apply-promo-code=").concat(T,"&promo=true")),Be(j,{external:!0})}catch(B){console.error("Error in buy now:",B),b.value[m]=!1}}const{t:c}=pe();return(r,m)=>{var I,L,te,ne,Y,K,J,Q;const h=ge,O=Ot,D=Oe,M=vn,B=$n,T=Dn,j=Rt,A=ft,U=Bt,q=Tt,F=Lt,W=It,ee=De,X=Ft,G=fe;return t(),o(z,null,[(L=(I=e.landingPageData)==null?void 0:I.images)!=null&&L.desktop||(ne=(te=e.landingPageData)==null?void 0:te.images)!=null&&ne.mobile?(t(),o("div",Rn,[a("div",Un,[a("div",Gn,[(K=(Y=e.landingPageData)==null?void 0:Y.images)!=null&&K.desktop?(t(),w(h,{key:0,class:"w-full h-auto hidden md:block lg:rounded",src:e.landingPageData.images.desktop,alt:"Banner Image Desktop"},null,8,["src"])):d("",!0),(Q=(J=e.landingPageData)==null?void 0:J.images)!=null&&Q.mobile?(t(),w(h,{key:1,class:"w-full h-auto md:hidden",src:e.landingPageData.images.mobile,alt:"Banner Image Mobile"},null,8,["src"])):d("",!0)])])])):d("",!0),a("div",Wn,[(t(!0),o(z,null,Z(s(f),(i,le)=>{var se,ce,de,ue,me,_e,H,ae,Le,Re,Ue,Ge,We,Xe,Ye,Ke,Je;return t(),o("div",{key:i.section_holder_id||le,class:"w-full max-w-6xl mb-10"},[i.section_id==="main_title"?(t(),o("h2",Xn,C(i.data),1)):i.section_id==="paragraph"?(t(),o("div",{key:1,class:"text-base text-gray-700 text-center leading-tight rounded-md p-4 sm:p-6",style:$e({backgroundColor:((se=i.data)==null?void 0:se.background)||"transparent"})},[a("div",{innerHTML:(ce=i.data)==null?void 0:ce.value},null,8,Yn)],4)):i.section_id==="selection"?(t(),o("div",Kn,[k(D,null,{default:V(()=>[k(O,{selection:i.data,swiper:!0},null,8,["selection"])]),_:2},1024)])):i.section_id==="hero_image"?(t(),o("div",Jn,[a("img",{src:"".concat(s(l)).concat(i.data),alt:"Hero Image",class:"w-full h-auto object-cover rounded"},null,8,Qn)])):i.section_id==="set_group"?(t(),o("div",Zn,[(t(!0),o(z,null,Z(i.sets,(he,Qe)=>{var Ze;return t(),w(M,{key:he.section_holder_id||Qe,set:he,"set-id":he.section_holder_id||Qe,"landing-page-id":(Ze=e.landingPageData)==null?void 0:Ze.landing_page_id,class:"h-full"},null,8,["set","set-id","landing-page-id"])}),128))])):i.section_id==="advanced_selection"?(t(),o("div",ea,[k(D,null,{default:V(()=>[m[1]||(m[1]=a("div",{id:"scrollToHere"},null,-1)),a("div",ta,[k(B,{discounts:i==null?void 0:i.discounts,"color-mode":"default",class:"md:hidden w-full pt-2.5 md:pt-0.5 pb-0 pl-3 md:pl-6"},null,8,["discounts"]),k(T,{prices:i==null?void 0:i.prices,"color-mode":"default",class:"md:hidden w-full pt-2.5 md:pt-0.5 pb-0 pl-3 md:pl-6"},null,8,["prices"]),a("div",na,[i!=null&&i.additional_tabs?(t(),w(j,{key:0,tabs:i==null?void 0:i.additional_tabs,"color-mode":"default",class:"md:hidden w-full pt-2.5 md:pt-0.5 pb-0 pl-3 md:pl-6"},null,8,["tabs"])):d("",!0),i!=null&&i.tabs?(t(),w(A,{key:1,tabs:i==null?void 0:i.tabs,"infinite-mode":s(x),onResetInfiniteMode:m[0]||(m[0]=he=>x.value=!1)},null,8,["tabs","infinite-mode"])):d("",!0)]),a("div",aa,[i!=null&&i.additional_tabs?(t(),w(j,{key:0,tabs:i==null?void 0:i.additional_tabs,disabled:e.pending,"color-mode":"dark",class:"hidden py-2.5 pb-2 pl-3 md:pl-6 md:block md:pt-0.5"},null,8,["tabs","disabled"])):d("",!0),i!=null&&i.discounts?(t(),w(B,{key:1,discounts:i==null?void 0:i.discounts,disabled:e.pending,"color-mode":"default",class:"hidden py-2.5 pb-2 pl-3 md:pl-6 md:block md:pt-0.5 md:pb-6"},null,8,["discounts","disabled"])):d("",!0),i!=null&&i.prices?(t(),w(T,{key:2,prices:i==null?void 0:i.prices,disabled:e.pending,"color-mode":"default",class:"hidden py-2.5 pb-2 pl-3 md:pl-6 md:block md:pt-0.5 md:pb-6"},null,8,["prices","disabled"])):d("",!0),s(x)?(t(),w(U,{key:3,"landing-page-data":e.landingPageData},null,8,["landing-page-data"])):(t(),w(q,{key:4,"landing-page-data":e.landingPageData,"dynamic-tabs":i==null?void 0:i.tabs,dynamic:!0},null,8,["landing-page-data","dynamic-tabs"]))])])]),_:2},1024)])):i.section_id==="countdown_timer"?(t(),o("div",sa,[((de=i==null?void 0:i.data)==null?void 0:de.style)==="default"?(t(),w(F,{key:0,class:"lg:rounded-md -mt-10 lg:-mt-6",timestamp:(ue=i==null?void 0:i.data)==null?void 0:ue.deadline,"promo-code":(me=i==null?void 0:i.data)==null?void 0:me.promo_code},null,8,["timestamp","promo-code"])):(t(),w(W,{key:1,class:"lg:rounded-md lg:mt-4",timestamp:(_e=i==null?void 0:i.data)==null?void 0:_e.deadline,"promo-code":(H=i==null?void 0:i.data)==null?void 0:H.promo_code,disclosure:(ae=i==null?void 0:i.data)==null?void 0:ae.disclaimer},null,8,["timestamp","promo-code","disclosure"])),(Le=i==null?void 0:i.data)!=null&&Le.promo_code?(t(),o("div",{key:2,class:R(["m-3 mb-0 flex justify-center",{"lg:hidden":(Re=i==null?void 0:i.data)==null?void 0:Re.deadline}])}
1,[k(ee,{class:"max-w-md self-center w-full","promo-code":(Ue=i==null?void 0:i.data)==null?void 0:Ue.promo_code},null,8,["promo-code"])],2)):d("",!0),((Ge=i==null?void 0:i.data)==null?void 0:Ge.style)==="default"&&((We=i==null?void 0:i.data)!=null&&We.disclaimer)?(t(),o("div",{key:3,class:"text-center p-4 pt-8 pb-0 text-xs text-gray-500",innerHTML:(Xe=i==null?void 0:i.data)==null?void 0:Xe.disclaimer},null,8,la)):d("",!0)])):i.section_id==="product_price"&&(i!=null&&i.product_price_data)?(t(),o("div",ia,[a("div",oa,[a("div",ra,[a("p",{class:R(i.product_price_data.discount_price?"line-through text-neutral-300 text-xl md:text-2xl font-medium":"text-3xl md:text-4xl font-bold text-black"),"data-testid":"product-price-normal"},C($(i.product_price_data.normal_price)),3)]),i.product_price_data.discount_price?(t(),o("div",ca,[a("p",da,C($(i.product_price_data.discount_price)),1),i.product_price_data.discount_percent?(t(),w(X,{key:0,"discount-number":i.product_price_data.discount_percent,class:"!mb-0"},null,8,["discount-number"])):d("",!0)])):d("",!0)])])):i.section_id==="add_to_cart"&&((Ye=i==null?void 0:i.data)!=null&&Ye.resource_id)?(t(),o("div",ua,[k(G,{id:"btn-add-cart-dynamic-".concat(i.section_holder_id),type:"button",icon:"pi pi-shopping-cart",label:s(c)("add_to_basket"),loading:s(b)[i.section_holder_id],"loading-icon":"pi pi-spin pi-spinner",pt:s(Ne),class:"bg-success-500 border-success-500 w-full max-w-md",onClick:he=>v(i)},null,8,["id","label","loading","pt","onClick"])])):i.section_id==="buy_now"&&((Ke=i==null?void 0:i.data)!=null&&Ke.resource_id)?(t(),o("div",ma,[k(G,{id:"btn-buy-now-dynamic-".concat(i.section_holder_id),type:"button",icon:"pi pi-arrow-right",label:s(c)("buy_now"),loading:s(b)[i.section_holder_id],"loading-icon":"pi pi-spin pi-spinner",pt:s(Ne),class:"w-full max-w-md",style:$e((Je=i.data)!=null&&Je.background?{backgroundColor:i.data.background,borderColor:i.data.background}:{}),onClick:he=>p(i)},null,8,["id","label","loading","pt","style","onClick"])])):(t(),o("div",pa," Unknown section: "+C(i.section_id),1))])}),128))])],64)}}},fa={class:"w-full flex flex-col"},_a=["innerHTML"],ha={class:"flex items-center border-neutral-200 border rounded-md p-4 my-1"},xa={class:"w-7 self-center"},ya={class:"ml-4"},va=["innerHTML"],wa={class:"font-bold pt-1"},ba=["innerHTML"],$a={__name:"ProductListingV2",props:{products:{type:Array},firstText:String,secondText:String},setup(e){return(n,y)=>{const g=ge;return t(),o("div",fa,[e.firstText?(t(),o("p",{key:0,class:"my-2 text-neutral-600",innerHTML:e.firstText},null,8,_a)):d("",!0),(t(!0),o(z,null,Z(e.products,(u,l)=>(t(),o("div",{key:l},[a("div",ha,[a("div",xa,[k(s(kt),{class:"text-success-500 mr-4"})]),k(g,{src:u.image,class:"!w-16"},null,8,["src"]),a("div",ya,[a("div",{class:"text-neutral-600 text-base md:text-lg",innerHTML:u.title},null,8,va),a("p",wa,C(u.normal_price),1)])])]))),128)),e.secondText?(t(),o("p",{key:1,class:"text-neutral-600 mt-4",innerHTML:e.secondText},null,8,ba)):d("",!0)])}}},jt=Pe($a,[["__scopeId","data-v-9058ecd4"]]),Pa={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"17",fill:"none"};function ka(e,n){return t(),o("svg",Pa,n[0]||(n[0]=[a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M3.279 2.401a.593.593 0 0 1 .825-.229L10.5 5.985a.636.636 0 0 1 .221.853.593.593 0 0 1-.825.23L3.5 3.253a.636.636 0 0 1-.221-.853","clip-rule":"evenodd"},null,-1),a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M5.989.746a1.98 1.98 0 0 1 2.022 0l.002.001 4.974 2.939c.308.183.563.447.741.765S14 5.13 14 5.497v5.878c0 .367-.094.729-.272 1.047a2.06 2.06 0 0 1-.74.765l-.003.001-4.972 2.938h-.001a1.97 1.97 0 0 1-2.024 0l-4.973-2.938-.002-.001a2.06 2.06 0 0 1-.741-.765A2.15 2.15 0 0 1 0 11.376V5.498c0-.368.094-.729.272-1.047a2.06 2.06 0 0 1 .74-.765l.003-.002zM7 1.716a.8.8 0 0 0-.409.113l-.002.001-4.972 2.937-.001.001a.83.83 0 0 0-.298.308.87.87 0 0 0-.11.422v5.877c0 .148.038.293.11.422a.83.83 0 0 0 .298.308l4.975 2.94a.8.8 0 0 0 .818 0l.002-.002 4.972-2.938h.001a.83.83 0 0 0 .298-.309.87.87 0 0 0 .11-.421V5.498a.87.87 0 0 0-.11-.422.83.83 0 0 0-.298-.308l-4.975-2.94A.8.8 0 0 0 7 1.717","clip-rule":"evenodd"},null,-1),a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M.273 4.42a.593.593 0 0 1 .825-.227L7 7.723l5.902-3.53a.593.593 0 0 1 .825.228.636.636 0 0 1-.22.853l-6.205 3.71a.59.59 0 0 1-.604 0L.493 5.274a.636.636 0 0 1-.22-.853","clip-rule":"evenodd"},null,-1),a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M7 7.812c.334 0 .604.28.604.624v7.406c0 .345-.27.
1625-.604.625a.615.615 0 0 1-.604-.625V8.436c0-.344.27-.624.604-.624","clip-rule":"evenodd"},null,-1)]))}const Da={render:ka},Sa={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"16",fill:"none"};function Ca(e,n){return t(),o("svg",Sa,n[0]||(n[0]=[a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M5 1.717a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5m-5 3.75a5 5 0 1 1 10 0 5 5 0 0 1-10 0","clip-rule":"evenodd"},null,-1),a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M7.287 8.522a.625.625 0 0 1 .701.537l.757 5.7a.625.625 0 0 1-.942.618L5 13.696l-2.803 1.682a.625.625 0 0 1-.942-.618l.757-5.693a.625.625 0 0 1 1.239.164l-.586 4.409 2.013-1.208a.63.63 0 0 1 .644 0l2.013 1.208-.586-4.415a.625.625 0 0 1 .538-.702","clip-rule":"evenodd"},null,-1)]))}const Ma={render:Ca},Oa={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"17",fill:"none"};function Ba(e,n){return t(),o("svg",Oa,n[0]||(n[0]=[a("path",{fill:"#76797F",d:"M9 .075 8.632.82l-.821.12.594.578-.14.819L9 1.95l.734.387-.14-.818.595-.58-.822-.12zM5.545 1.104l-.367.744-.822.12.595.579-.14.818.734-.386.735.386-.14-.818.594-.58-.821-.119zm6.91 0-.368.744-.822.12.595.579-.14.818.734-.386.735.386-.14-.818.594-.58-.822-.119zM2.927 3.738l-.367.744-.822.12.595.579-.14.818.734-.386.735.386-.14-.818.594-.58-.822-.12zm12.143 0-.367.744-.822.12.595.579-.14.818.734-.386.735.386-.14-.818.594-.58-.821-.12zM1.991 7.194l-.368.745-.821.12.594.578-.14.819.735-.387.734.387-.14-.819.594-.579-.821-.12zm14.018 0-.367.745-.822.12.595.578-.14.819.734-.387.735.387-.14-.819.594-.579-.822-.12zm-13.08 3.512-.368.744-.822.12.595.579-.14.818.734-.386.735.386-.14-.818.594-.58-.822-.119zm12.142 0-.367.744-.822.12.595.58-.14.817.734-.386.735.386-.14-.818.594-.58-.821-.119zm-9.526 2.568-.367.745-.822.119.595.58-.14.818.734-.387.735.387-.14-.819.594-.58-.821-.119zm6.91 0-.368.745-.822.119.595.58-.14.818.734-.387.735.387-.14-.819.594-.58-.822-.119zm-3.462.923-.367.744-.822.12.594.579-.14.818.015-.008-.001.008.728-.383.728.383-.002-.008.015.008-.14-.818.594-.58-.821-.119-.367-.744L9 14.21z"},null,-1)]))}const Ta={render:Ba},La={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"15",fill:"none"};function Ia(e,n){return t(),o("svg",La,n[0]||(n[0]=[a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M.083 1.433c0-.368.295-.666.66-.666h9.896c.364 0 .66.298.66.666V10.1a.663.663 0 0 1-.66.667H.743a.663.663 0 0 1-.66-.667zm1.32.667v7.333h8.576V2.1z","clip-rule":"evenodd"},null,-1),a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M9.979 4.767c0-.369.295-.667.66-.667h2.639c.174 0 .342.07.466.195l1.98 2a.67.67 0 0 1 .192.472V10.1a.663.663 0 0 1-.66.667H10.64a.663.663 0 0 1-.66-.667zm1.32.666v4h3.298v-2.39l-1.593-1.61zM3.711 10.767a.995.995 0 0 0-.99 1c0 .552.444 1 .99 1 .547 0 .99-.448.99-1 0-.553-.443-1-.99-1m-2.309 1c0-1.29 1.034-2.334 2.31-2.334 1.275 0 2.309 1.045 2.309 2.334 0 1.288-1.034 2.333-2.31 2.333-1.275 0-2.309-1.045-2.309-2.333","clip-rule":"evenodd"},null,-1),a("path",{fill:"#76797F","fill-rule":"evenodd",d:"M12.288 10.767a.995.995 0 0 0-.99 1c0 .552.443 1 .99 1s.99-.448.99-1c0-.553-.444-1-.99-1m-2.31 1c0-1.29 1.035-2.334 2.31-2.334s2.309 1.045 2.309 2.334c0 1.288-1.034 2.333-2.31 2.333-1.274 0-2.308-1.045-2.308-2.333","clip-rule":"evenodd"},null,-1)]))}const ja={render:Ia},Ea={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13",fill:"none"};function qa(e,n){return t(),o("svg",Ea,n[0]||(n[0]=[a("path",{stroke:"#D74D39","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m11 1.267-10 10M1 1.267l10 10"},null,-1)]))}const Na={render:qa},Aa={class:"bg-neutral-50 border border-neutral-200 p-6 text-neutral-500 rounded-md"},Ha={class:"flex pb-2 last:pb-0 justify-start items-center text-left"},Va={class:"!min-w-5 !max-w-5 flex justify-center"},Fa={class:"pl-3"},za={class:"flex pb-2 last:pb-0 justify-start items-center text-left"},Ra={class:"!min-w-5 !max-w-5 flex justify-center"},Ua={class:"pl-3"},Ga={class:"flex pb-2 last:pb-0 justify-start items-center text-left"},Wa={class:"!min-w-5 !max-w-5 flex justify-center"},Xa={class:"pl-3"},Ya={class:"flex pb-2 last:pb-0 justify-start items-center text-left"},Ka={class:"!min-w-5 !max-w-5 flex justify-center"},Ja={class:"pl-3"},Qa={class:"flex pb-2 last:pb-0 justify-start items-center text-left"},Za={class:"!min-w-5 !max-w-5 flex justify-center"},es={class:"pl-3"},Et={__name:"SellingPoints",setup(e){return(n,y)=>(t(),o("div",Aa,[a("div",Ha,[a("div",Va,[k(s(Ta))]),a("p",Fa,C(n.$t("selling_points.first")),1)]),a("div",za,[a("div",Ra,[k(s(Da))]),a("p",Ua,C(n.$t("selling_points.second")),1)]),a("div",Ga,[a("div",Wa,[k(s(ja))]),a("p",Xa,C(n.$t("selling_points.third")),1)]),a("div",Ya,[a("div",Ka,[k(s(Ma
1))]),a("p",Ja,C(n.$t("selling_points.fourth")),1)]),a("div",Qa,[a("div",Za,[k(s(Na))]),a("p",es,C(n.$t("selling_points.fifth")),1)])]))}},ts={key:1,class:"flex flex-col items-center w-full"},ns={key:0,class:"h-2"},as={key:1,class:"bg-neutral-50 flex justify-center pb-2 w-full"},ss={class:"flex flex-col max-w-xl self-center w-full px-4"},ls={key:2,class:"md:px-4 w-full max-w-xl self-center"},is=["src"],os={class:"flex flex-col max-w-xl self-center w-full pb-4 px-4"},rs=["innerHTML"],cs={key:11,class:"text-center pt-4"},ds={class:"text-center text-[28px] md:text-[32px] font-medium font-primary"},us={class:"pb-4 max-w-xl w-full px-4 text-center text-neutral-600 text-xs"},ms={__name:"MerchPacket",props:{landingPageData:Object},async setup(e){var $,v;let n,y;const g=e,u=ie(),{t:l,locale:x}=pe(),{data:P,error:S}=([n,y]=ye(async()=>lt("mystery-bag-".concat(u.params.url),async()=>{let p=null;const c="mystery_bags/_".concat(x.value,"/").concat(u.params.url);try{p=await Ce(c).findOne()}catch(r){console.warn("Primary content not found, falling back to default...",c,r)}if(!p)try{return await Ce("mystery_bags/_".concat(x.value,"/default")).findOne()}catch(r){console.warn("Default content not found...",r)}return p})),n=await n,y(),n),_="".concat(($=g.landingPageData)!=null&&$.title?"".concat((v=g.landingPageData)==null?void 0:v.title," | "):"").concat(l("store_name"));function b(){const{lastContactCheckoutUrl:p}=Te(),c=p.value,r=c.includes("?")?"&":"?",m="".concat(c).concat(r,"apply-promo-code=").concat(g.landingPageData.promo_code,"&promo=true");Be(m,{external:!0})}const f=N(()=>g.landingPageData.secret_products==="1");return ke({title:()=>_,meta:[{property:"og:title",content:()=>_},{name:"twitter:title",content:()=>_}]}),(p,c)=>{var X,G;const r=Ae,m=xt,h=wt,O=ze,D=jt,M=bt,B=Et,T=Dt,j=De,A=$t,U=yt,q=St,F=Pt,W=Ct,ee=vt;return s(S)?(t(),w(r,{key:0})):s(P)&&((X=s(P))!=null&&X.components)?(t(),o("div",ts,[(t(!0),o(z,null,Z((G=s(P))==null?void 0:G.components,I=>{var L,te,ne,Y,K,J,Q;return t(),o(z,{key:I.type},[I.type==="spacer"?(t(),o("div",ns)):d("",!0),I.type==="testimonials"?(t(),o("div",as,[a("div",ss,[k(m,Se({ref_for:!0},I.data),null,16)])])):d("",!0),I.type==="video"&&((L=e.landingPageData)!=null&&L.video)&&((ne=Object.keys((te=e.landingPageData)==null?void 0:te.video))==null?void 0:ne.length)>0?(t(),o("div",ls,[k(h,{class:"w-full",video:e.landingPageData.video},null,8,["video"])])):d("",!0),I.type==="carousel"&&!s(f)?(t(),w(O,{key:3,class:"max-w-xl self-center w-full",images:e.landingPageData.images,"show-swiper":"","discount-value":e.landingPageData.sale_percentage_off},null,8,["images","discount-value"])):d("",!0),I.type==="carousel"&&s(f)?(t(),o("img",{key:4,src:e.landingPageData.images[0],class:"max-w-xl self-center w-full",alt:"Single Image"},null,8,is)):d("",!0),a("div",os,[I.type==="product_listing"&&!s(f)?(t(),w(D,{key:0,"first-text":I.data.first_text,"second-text":I.data.second_text,products:e.landingPageData.products},null,8,["first-text","second-text","products"])):d("",!0),I.type==="text"?(t(),o("p",{key:1,class:"text-neutral-600",innerHTML:e.landingPageData.per_product_text},null,8,rs)):d("",!0),I.type==="pink_text"?(t(),w(M,{key:2,text:e.landingPageData.discount_text},null,8,["text"])):d("",!0),I.type==="selling_points"?(t(),w(B,{key:3})):d("",!0),I.type==="trustpilot"?(t(),w(T,{key:4})):d("",!0),I.type==="promo_code"&&e.landingPageData.promo_code?(t(),w(j,{key:5,"promo-code":e.landingPageData.promo_code,class:"max-w-md w-full self-center"},null,8,["promo-code"])):d("",!0),I.type==="prices"?(t(),w(A,{key:6,prices:{normal_price:e.landingPageData.normal_price,special_price:e.landingPageData.special_price,savings:e.landingPageData.savings}},null,8,["prices"])):d("",!0),I.type==="cta_button"?(t(),w(U,{key:7,text:p.$t("offer.order_now"),onClick:b},null,8,["text"])):d("",!0),I.type==="card_payment"?(t(),w(q,{key:8})):d("",!0),I.type==="checks"&&((K=(Y=e.landingPageData)==null?void 0:Y.attributes)==null?void 0:K.length)>0?(t(),w(F,Se({key:9,ref_for:!0},I.data,{checks:e.landingPageData.attributes}),null,16,["checks"])):d("",!0),I.type==="guarantee_return"?(t(),w(W,{key:10,text:e.landingPageData.support_guranantee,long:(J=I.data)==null?void 0:J.long},null,8,["text","long"])):d("",!0),I.type==="header_text"?(t(),o("div",cs,[(Q=I.data.limitedStock)!=null&&Q.enabled?(t(),w(ee,{key:0,text:I.data.limitedStock.text},null,8,["text"])):d("",!0),a("h1",ds,C(e.landingPageData.title),1)])):d("",!0)])],64)}),128)),a("p",us,C(p.$t("offer.box_disclaimer")),1)])):d("",!0)}}}
1,ps={xmlns:"http://www.w3.org/2000/svg",width:"38",height:"38",fill:"none"};function gs(e,n){return t(),o("svg",ps,n[0]||(n[0]=[a("path",{fill:"#000","fill-rule":"evenodd",d:"M18.582 2.416a5.07 5.07 0 0 1-5.542 1.102.59.59 0 0 0-.773.32 5.07 5.07 0 0 1-4.698 3.14.59.59 0 0 0-.591.59 5.07 5.07 0 0 1-3.14 4.7.59.59 0 0 0-.32.771c.79 1.9.355 4.09-1.102 5.543a.59.59 0 0 0 0 .836 5.07 5.07 0 0 1 1.102 5.543.59.59 0 0 0 .32.772 5.07 5.07 0 0 1 3.14 4.698.59.59 0 0 0 .59.591 5.07 5.07 0 0 1 4.7 3.14.59.59 0 0 0 .771.32c1.9-.79 4.09-.355 5.543 1.102a.59.59 0 0 0 .836 0 5.07 5.07 0 0 1 5.543-1.102.59.59 0 0 0 .772-.32 5.07 5.07 0 0 1 4.698-3.14.59.59 0 0 0 .591-.59 5.07 5.07 0 0 1 3.14-4.7.59.59 0 0 0 .32-.771 5.07 5.07 0 0 1 1.102-5.543.59.59 0 0 0 0-.836 5.07 5.07 0 0 1-1.102-5.542.59.59 0 0 0-.32-.773 5.07 5.07 0 0 1-3.14-4.698.59.59 0 0 0-.59-.591 5.07 5.07 0 0 1-4.7-3.14.59.59 0 0 0-.771-.32c-1.9.79-4.09.355-5.543-1.102a.59.59 0 0 0-.836 0M21.006.833a2.83 2.83 0 0 0-4.012 0 2.83 2.83 0 0 1-3.093.615 2.83 2.83 0 0 0-3.706 1.535 2.83 2.83 0 0 1-2.623 1.752 2.83 2.83 0 0 0-2.837 2.837 2.83 2.83 0 0 1-1.752 2.623A2.83 2.83 0 0 0 1.448 13.9a2.83 2.83 0 0 1-.615 3.093 2.83 2.83 0 0 0 0 4.012 2.83 2.83 0 0 1 .615 3.093 2.83 2.83 0 0 0 1.535 3.706 2.83 2.83 0 0 1 1.752 2.623 2.83 2.83 0 0 0 2.837 2.837 2.83 2.83 0 0 1 2.623 1.752 2.83 2.83 0 0 0 3.706 1.535 2.83 2.83 0 0 1 3.093.615 2.83 2.83 0 0 0 4.012 0 2.83 2.83 0 0 1 3.093-.615 2.83 2.83 0 0 0 3.706-1.535 2.83 2.83 0 0 1 2.623-1.752 2.83 2.83 0 0 0 2.837-2.837 2.83 2.83 0 0 1 1.752-2.623 2.83 2.83 0 0 0 1.535-3.706 2.83 2.83 0 0 1 .615-3.093 2.83 2.83 0 0 0 0-4.012 2.83 2.83 0 0 1-.615-3.093 2.83 2.83 0 0 0-1.535-3.706 2.83 2.83 0 0 1-1.752-2.623 2.83 2.83 0 0 0-2.837-2.837 2.83 2.83 0 0 1-2.623-1.752A2.83 2.83 0 0 0 24.1 1.448a2.83 2.83 0 0 1-3.093-.615","clip-rule":"evenodd"},null,-1),a("path",{fill:"#000",d:"M14.193 12.946c2.009 0 3.507 1.462 3.507 3.417 0 1.973-1.498 3.435-3.507 3.435-2 0-3.498-1.462-3.498-3.435 0-1.955 1.498-3.417 3.498-3.417m0 1.875c-.861 0-1.507.645-1.507 1.542 0 .915.646 1.56 1.507 1.56.879 0 1.516-.645 1.516-1.56 0-.897-.637-1.542-1.516-1.542m10.08-1.65-8.412 12.555h-2.35l8.422-12.556zm-.654 5.928c2.009 0 3.506 1.47 3.506 3.426 0 1.964-1.497 3.426-3.506 3.426-2 0-3.498-1.462-3.498-3.426 0-1.938 1.498-3.426 3.498-3.426m0 1.874c-.87 0-1.507.646-1.507 1.552s.637 1.551 1.507 1.551c.879 0 1.515-.646 1.515-1.551 0-.906-.636-1.552-1.515-1.552"},null,-1)]))}const fs={render:gs},_s={xmlns:"http://www.w3.org/2000/svg",width:"38",height:"38",fill:"none"};function hs(e,n){return t(),o("svg",_s,n[0]||(n[0]=[a("path",{stroke:"#000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M34.195 18.28v15.84c0 1.59-1.256 2.88-2.805 2.88H6.61c-1.549 0-2.805-1.29-2.805-2.88V18.28M19.234 6.04c0-2.784-2.198-5.04-4.91-5.04-2.71 0-4.908 2.256-4.908 5.04s2.198 5.04 4.909 5.04h4.909m0-5.04v5.04m0-5.04c0-2.784 2.198-5.04 4.909-5.04s4.909 2.256 4.909 5.04-2.198 5.04-4.91 5.04h-4.908m0 0V37M3.104 18.28h31.792c1.162 0 2.104-.967 2.104-2.16v-2.88c0-1.193-.942-2.16-2.104-2.16H3.104C1.942 11.08 1 12.047 1 13.24v2.88c0 1.193.942 2.16 2.104 2.16"},null,-1)]))}const xs={render:hs},ys={key:0,class:"max-w-6xl w-full flex flex-col self-center pt-6"},vs={class:"grid px-4 grid-cols-1 md:grid-cols-2 gap-0 md:gap-10"},ws={class:"relative md:top-16 h-min md:sticky"},bs={name:"merch-packet-title",class:"text-[28px] font-bold pt-4 pb-2 md:pt-0 md:pb-4"},$s={class:"py-4 border-y border-neutral-200 flex items-center text-sm font-bold gap-3"},Ps={class:"py-4 border-b border-neutral-200 flex items-center text-sm font-bold gap-3"},ks={__name:"MerchPacketV2",props:{landingPageData:Object,pending:Boolean,error:Boolean},setup(e){var b,f,$,v,p,c,r,m,h,O;const n=e,{t:y}=pe(),{stripHtml:g}=Mt(),u=we(),{addProductToBasket:l,itemInBasketBool:x}=u,P="".concat((f=(b=n.landingPageData)==null?void 0:b.item)!=null&&f.title?"".concat((v=($=n.landingPageData)==null?void 0:$.item)==null?void 0:v.title," | "):"").concat(y("store_name")),S="https:".concat(((c=(p=n.landingPageData)==null?void 0:p.item)==null?void 0:c.image)||"https://licilasicdn.s3.eu-west-1.amazonaws.com/public/assets/desktop_vthree/img/logos/new-logo.svg"),_=(m=(r=n.landingPageData)==null?void 0:r.item)!=null&&m.description?g((O=(h=n.landingPageData)==null?void 0:h.item)==null?void 0:O.de
1scription):y("store_name");return ke({title:()=>P,meta:[{name:"description",content:()=>_},{property:"og:title",content:()=>P},{property:"og:description",content:()=>_},{property:"og:image",content:()=>S},{name:"twitter:image",content:()=>S},{name:"twitter:title",content:()=>P},{name:"twitter:description",content:()=>_}]}),(D,M)=>{var W,ee,X,G,I,L;const B=Xt,T=zt,j=Wt,A=Yt,U=Kt,q=Jt,F=Qt;return t(),o(z,null,[e.landingPageData?(t(),o("div",ys,[a("div",vs,[a("div",ws,[(W=e.landingPageData.item)!=null&&W.images?(t(),w(B,{key:0,"show-swiper":"",slides:e.landingPageData.item.images},null,8,["slides"])):d("",!0),k(T,{class:"absolute top-4 left-2 z-10 text-sm md:text-base","is-new":!0})]),a("div",null,[a("h1",bs,C(e.landingPageData.item.title),1),k(j,{"normal-price":e.landingPageData.item.normal_price,"normal-price-currency":e.landingPageData.item.normal_price_currency,"special-price":e.landingPageData.item.special_price,"special-price-currency":e.landingPageData.item.special_price_currency,"sale-percentage-off":e.landingPageData.item.sale_percentage_off},null,8,["normal-price","normal-price-currency","special-price","special-price-currency","sale-percentage-off"]),k(A,{class:"pb-8 pt-4 main-merch-packet-button","item-id":e.landingPageData.item.item_id,stock:e.landingPageData.item.stock,"in-basket":s(x)(e.landingPageData.item),"hide-notify-button":"","hide-quantity":"",onAddToBasket:M[0]||(M[0]=te=>s(l)({...e.landingPageData.item,quantity:1}))},null,8,["item-id","stock","in-basket"]),a("div",$s,[a("div",null,[k(s(fs))]),Ee(" "+C(D.$t("100_original")),1)]),a("div",Ps,[a("div",null,[k(s(xs))]),Ee(" "+C(D.$t("no_of_sold")),1)]),k(U,{ingredients:(ee=e.landingPageData.item)==null?void 0:ee.ingredients,description:(X=e.landingPageData.item)==null?void 0:X.description,brand:(G=e.landingPageData.item)==null?void 0:G.brand,"manufacture-country":(I=e.landingPageData.item)==null?void 0:I.country_of_manufacture,delivery:(L=e.landingPageData.item)==null?void 0:L.delivery},null,8,["ingredients","description","brand","manufacture-country","delivery"])])]),k(q,{class:"mt-8 lg:mt-0"})])):d("",!0),k(F)],64)}}},Ds={class:"flex border-b border-black md:border h-full"},Ss={class:"!w-1/2 gap-1 flex flex-col p-3 border-black justify-center"},Cs={class:"uppercase text-[14px] italic"},Ms={class:"font-bold text-[14px]"},Os={class:"!w-1/2 flex flex-col justify-center p-3"},Bs={class:"uppercase font-bold text-[18px]"},Ts={class:"!min-w-4 !max-w-4"},Ls={__name:"Product",props:{product:Object,title:String},emits:["click"],setup(e){return(n,y)=>{const g=ge,u=fe;return t(),o("div",Ds,[a("div",Ss,[k(g,{src:e.product.image,class:"max-w-24 sm:max-w-28 w-full aspect-square self-center mix-blend-multiply"},null,8,["src"]),a("p",Cs,C(e.product.title),1),a("p",Ms,C(e.product.normal_price),1)]),y[1]||(y[1]=a("div",{class:"h-full w-[1px] bg-black"}
1,null,-1)),a("div",Os,[a("p",Bs,C(e.title),1),(t(!0),o(z,null,Z(e.product.attributes,(l,x)=>(t(),o("div",{key:x,class:"flex gap-3 py-0.5 items-start text-sm pt-2"},[a("div",Ts,[k(s(kt),{class:"text-success-500 mt-2"})]),a("span",null,C(l),1)]))),128)),k(u,{label:n.$t("korean.check_product"),pt:{root:{class:"cursor-pointer mt-2 rounded-md !w-fit py-1.5 px-3.5 text-base bg-transparent text-[#A18757] border-2 border-[#A18757] ".concat(s(Ve)).concat(s(Fe))},label:{class:"font-semibold text-sm"}},onClick:y[0]||(y[0]=l=>n.$emit("click"))},null,8,["label","pt"])])])}}},Is={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"none"};function js(e,n){return t(),o("svg",Is,n[0]||(n[0]=[a("path",{fill:"#E47998",d:"M12.696 25.458c-3.92-8.307-4.21-14.56-3.738-18.372a1.6 1.6 0 0 1 2.825-.812c2.225 2.707 5.097 7.6 6.406 15.619q.75-.295 1.527-.513c-1.02-6.064-3.013-11.163-5.952-15.145a20.7 20.7 0 0 0-4.456-4.522.424.424 0 0 0-.703.204 19.9 19.9 0 0 0-1.273 5.465c-.415 4.114.018 10.753 4.216 19.367q.538-.677 1.148-1.291M5.622 9.024A13.25 13.25 0 0 0 1.6 18.8c0 5.09 2.616 9.211 6.976 13.754a15.9 15.9 0 0 1 1.92-4.328C6.364 20.067 5.477 13.51 5.622 9.024"},null,-1),a("path",{fill:"#E47998",d:"M13.945 24.35a16 16 0 0 1 2.734-1.773c-1.215-7.907-3.98-12.663-6.119-15.274-.45 3.545-.176 9.322 3.385 17.047M24 20.8c1.176.005 2.348.14 3.495.4a37.9 37.9 0 0 1 5.231-14.424 12.6 12.6 0 0 0-6.82 4.86 2.367 2.367 0 0 1-3.814 0 13.24 13.24 0 0 0-5.82-4.547 38.1 38.1 0 0 1 5.008 13.946A16 16 0 0 1 24 20.8M30.56 22.207c1.285-8.217 4.194-13.192 6.46-15.94a1.6 1.6 0 0 1 2.822.833c.48 3.906.16 10.352-4.013 18.928q.593.65 1.112 1.36c4.32-8.604 4.896-15.267 4.58-19.403a20 20 0 0 0-1.326-6.065.425.425 0 0 0-.704-.205 20.4 20.4 0 0 0-4.377 4.42c-3.019 4.042-5.052 9.257-6.07 15.49q.773.253 1.516.582"},null,-1),a("path",{fill:"#E47998",d:"M32.065 22.968a16 16 0 0 1 2.56 1.87c3.78-7.977 4.08-13.925 3.628-17.556-2.182 2.652-5.002 7.518-6.188 15.686M43.193 9.873c.01 4.51-1.04 11.02-5.252 19.071a16 16 0 0 1 1.484 3.61C43.784 28.01 46.4 23.89 46.4 18.8a13.5 13.5 0 0 0-3.207-8.927M24 22.4A14.345 14.345 0 0 0 9.907 33.91q.515.508 1.055 1.024c2.24 2.15 4.874 4.48 7.666 6.952 1.536 1.36 3.151 2.787 4.835 4.304a.793.793 0 0 0 1.071 0c1.687-1.52 3.302-2.948 4.838-4.306 2.792-2.47 5.429-4.8 7.666-6.951q.54-.519 1.055-1.026A14.345 14.345 0 0 0 24 22.4m-8 10.4a.8.8 0 0 1 1.6 0c0 .326.623.8 1.6.8s1.6-.474 1.6-.8a.8.8 0 0 1 1.6 0c0 1.346-1.406 2.4-3.2 2.4S16 34.145 16 32.8m9.246 8.974c-.259.16-.533.324-.822.504a.8.8 0 0 1-.848 0c-.289-.18-.56-.347-.822-.505C21.155 40.8 20 40.098 20 38.853a2.223 2.223 0 0 1 2.4-2.052 2.9 2.9 0 0 1 1.6.453 2.9 2.9 0 0 1 1.6-.453 2.224 2.224 0 0 1 2.4 2.052c0 1.245-1.155 1.948-2.754 2.922M28.8 35.2c-1.794 0-3.2-1.055-3.2-2.4a.8.8 0 0 1 1.6 0c0 .326.623.8 1.6.8s1.6-.474 1.6-.8a.8.8 0 0 1 1.6 0c0 1.346-1.406 2.4-3.2 2.4"},null,-1),a("path",{fill:"#E47998",d:"M25.6 38.4a1.18 1.18 0 0 0-.95.387.85.85 0 0 1-.666.32.8.8 0 0 1-.635-.325 1.18 1.18 0 0 0-.95-.382c-.493 0-.8.234-.8.452 0 .346 1.011.96 1.987 1.555l.414.252.413-.252c.976-.594 1.987-1.207 1.987-1.555 0-.218-.307-.452-.8-.452"},null,-1)]))}const Es={render:js},qs={xmlns:"http://www.w3.org/2000/svg",width:"44",height:"44",fill:"none"};function Ns(e,n){return t(),o("svg",qs,n[0]||(n[0]=[a("path",{fill:"#EA7C99",d:"M29.906 8.207a43.7 43.7 0 0 0-7.124-6.583 1.375 1.375 0 0 0-1.578 0 43.7 43.7 0 0 0-7.11 6.583C9.369 13.633 6.875 19.353 6.875 24.75a15.125 15.125 0 0 0 30.25 0c0-5.397-2.494-11.117-7.219-16.543M31.6 26.355a9.9 9.9 0 0 1-8.002 8.001 1.375 1.375 0 0 1-.449-2.712c2.848-.48 5.265-2.896 5.748-5.75a1.376 1.376 0 0 1 2.712.461z"},null,-1)]))}const As={render:Ns},Hs={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"none"};function Vs(e,n){return t(),o("svg",Hs,n[0]||(n[0]=[dt('<g fill="#E47998" clip-path="url(#a)"><path d="M3.145 10.502c1.746 4.06 4.694 8.078 8.819 9.81a9.5 9.5 0 0 0 1.554.465c1.099-1.638 2.36-2.967 3.836-4.056 1.27-.932 2.6-1.663 3.968-2.237a11 11 0 0 0-1.236-.75c-1.717-.898-3.576-1.687-5.386-2.536 1.702.461 3.654.633 5.283 1.226a12.3 12.3 0 0 1 2.825 1.501c2.604-.888 5.326-1.314 8.043-1.638-2.202-3.659-6.9-6.597-10.442-7.926-3.698-1.388-7.886-1.56-12.001-1.986-2.521-.26-5.263-1.202-7.269-2.3C.683-.175.197.24.354.747 1.34 3.9 1.84 7.47 3.145 10.502"></path><path d="M46.624 10.021c-4.64 2.521-9.961 2.83-15.175 3.429-2.545.294-5.066.657-7.465 1.383-.52.157-1.04.333-1.55.53a18.3 18.3 0 0 0-4.355 2.354c-1.294.951-2.354 2.08-3.247 3.32-1.422 1.981-2.413 4.262-3.227 6.631A37.8 37.8 0 0 0 9.57 41.087c.054 1.844.083 3.762.54 5.562.102.397.2.902.51 1.197.402.387 1.123-.01.96-.574-1.166-3.978-.44-8.627 1.173-12.429 1.854-4.37 5.434-6.97 9.81-8.553 1.162-.422 2.349-.79 3.555-1.138.024-.01.049-.01.074-.01.24 0 .343.353.093.466-1.423.643-2.835 1.29-4.179 1.991-6.582 3.434-9.456 11.428-6.99 11.428q.302.001.707-.167c3.806-1.574 8.328-1.589 12.512-2.364 1.471-.27 2.903-.637 4.247-1.196 5.337-2.227 9.152-6.582 11.423-11.82 1.692-3.91 2.35-8.525 3.63-12.586.166-.52-.202-.966-.653-.966a.7.7 0 0 0-.358.093"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h48v48H0z"></path></clipPath></defs>',2)]))}const nt={render:Vs},Fs={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"none"};function zs(e,n){return t(),o("svg",Fs,n[0]||(n[0]=[dt('<g fill="#EA7C99" clip-path="url(#a)"><path fill-rule="evenodd" d="M24 0a1.674 1.674 0 0 1 1.674 1.674V6.14a1.674 1.674 0 1 1-3.348 0V1.674A1.674 1.674 0 0 1 24 0M9.421 9.421a1.674 1.674 0 0 1 2.367 0l.768.766a1.674 1.674 0 0 1-2.369 2.367l-.766-.766a1.674 1.674 0 0 1 0-2.367m29.158 0a1.674 1.674 0 0 1 0 2.367l-.766.768a1.674 1.674 0 0 1-2.367-2.369l.766-.766a1.674 1.674 0 0 1 2.367 0M0 24a1.674 1.674 0 0 1 1.674-1.674H6.14a1.674 1.674 0 1 1 0 3.348H1.674A1.674 1.674 0 0 1 0 24m40.186 0a1.674 1.674 0 0 1 1.675-1.674h4.465a1.674 1.674 0 1 1 0 3.348H41.86A1.674 1.674 0 0 1 40.186 24M12.5
154 35.446a1.675 1.675 0 0 1 0 2.367l-.766.766a1.674 1.674 0 0 1-2.367-2.367l.766-.766a1.675 1.675 0 0 1 2.367 0m22.892 0a1.675 1.675 0 0 1 2.367 0l.766.766a1.674 1.674 0 1 1-2.367 2.367l-.766-.766a1.675 1.675 0 0 1 0-2.367M24 40.186a1.674 1.674 0 0 1 1.674 1.675v4.465a1.674 1.674 0 1 1-3.348 0V41.86A1.674 1.674 0 0 1 24 40.186" clip-rule="evenodd"></path><path d="M13 21.8c0 5.649 4.422 8.66 7.656 11.356C21.8 34.104 22.9 35 24 35s2.2-.896 3.344-1.844C30.578 30.46 35 27.449 35 21.8s-6.05-9.658-11-4.227c-4.95-5.43-11-1.422-11 4.227"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h48v48H0z"></path></clipPath></defs>',2)]))}const at={render:zs},Rs={class:"flex gap-3 w-full items-start justify-between flex-col md:flex-row px-3 md:px-0 gap-8"},Us={key:0,class:"flex gap-3"},Gs={class:"!min-w-12 !max-w-12 flex justify-center"},Ws={class:"font-bold uppercase"},Xs={class:"font-medium"},Ys={key:1,class:"flex gap-3"},Ks={class:"!min-w-12 !max-w-12 flex justify-center"},Js={class:"font-bold uppercase"},Qs={class:"font-medium"},Zs={key:2,class:"flex gap-3"},el={class:"!min-w-12 !max-w-12 flex justify-center"},tl={class:"font-bold uppercase"},nl={class:"font-medium"},al={key:3,class:"flex gap-3"},sl={class:"!min-w-12 !max-w-12 flex justify-center"},ll={class:"font-bold uppercase"},il={class:"font-medium"},ol={key:4,class:"flex gap-3"},rl={class:"!min-w-12 !max-w-12 flex justify-center"},cl={class:"font-bold uppercase"},dl={class:"font-medium"},ul={key:5,class:"flex gap-3"},ml={class:"!min-w-12 !max-w-12 flex justify-center"},pl={class:"font-bold uppercase"},gl={class:"font-medium"},fl={__name:"SellingPointsV3",props:{crueltyFree:Boolean,women:Boolean,premium:Boolean,formulation:Boolean,passionatelyCrafted:Boolean,conscious:Boolean},setup(e){return(n,y)=>(t(),o("div",Rs,[e.crueltyFree?(t(),o("div",Us,[a("div",Gs,[k(s(Es))]),a("div",null,[a("p",Ws,C(n.$t("selling_points.cruelty_free_title")),1),a("p",Xs,C(n.$t("selling_points.cruelty_free_desc")),1)])])):d("",!0),e.women?(t(),o("div",Ys,[a("div",Ks,[k(s(at))]),a("div",null,[a("p",Js,C(n.$t("selling_points.women_title")),1),a("p",Qs,C(n.$t("selling_points.women_desc")),1)])])):d("",!0),e.premium?(t(),o("div",Zs,[a("div",el,[k(s(nt))]),a("div",null,[a("p",tl,C(n.$t("selling_points.premium_title")),1),a("p",nl,C(n.$t("selling_points.premium_desc")),1)])])):d("",!0),e.formulation?(t(),o("div",al,[a("div",sl,[k(s(As))]),a("div",null,[a("p",ll,C(n.$t("selling_points.formulation_title")),1),a("p",il,C(n.$t("selling_points.formulation_desc")),1)])])):d("",!0),e.passionatelyCrafted?(t(),o("div",ol,[a("div",rl,[k(s(at))]),a("div",null,[a("p",cl,C(n.$t("selling_points.passion_title")),1),a("p",dl,C(n.$t("selling_points.passion_desc")),1)])])):d("",!0),e.conscious?(t(),o("div",ul,[a("div",ml,[k(s(nt))]),a("div",null,[a("p",pl,C(n.$t("selling_points.conscious_title")),1),a("p",gl,C(n.$t("selling_points.conscious_desc")),1)])])):d("",!0)]))}},_l={class:"flex gap-2 justify-between py-3 px-2 w-full cursor-pointer"},hl={class:"flex flex-col justify-center gap-3"},xl={key:0,class:"text-sm text-neutral-400 line-through"},yl={__name:"UpsellProduct",props:{product:Object},emits:["click"],setup(e){const n=e,y=we(),{addProductToBasket:g,itemInBasketBool:u}=y,{t:l}=pe(),x=E(!1),P=N(()=>{var _;return((_=n.product)==null?void 0:_.stock)<=0?l("not_in_stock_short"):u(n==null?void 0:n.product)?l("upsell_added"):l("add_to_basket")});async function S(){try{x.value=!0,await g({...n.product,quantity:1}),x.value=!1}catch(_){return _}}return(_,b)=>{var v,p,c;const f=fe,$=ge;return t(),o("div",_l,[a("div",hl,[a("p",{class:"uppercase font-bold line-clamp-2 text-sm",onClick:b[0]||(b[0]=r=>_.$emit("click"))},C(e.product.title),1),a("div",{class:"flex gap-3",onClick:b[1]||(b[1]=r=>_.$emit("click"))},[a("p",{class:R(["font-bold",e.product.special_price?"text-brand-600":""])},C(e.product.special_price||e.product.normal_price),3),e.product.special_price?(t(),o("p",xl,C(e.product.normal_price),1)):d("",!0)]),k(f,{name:((v=e.product)==null?void 0:v.stock)===0?"btn-not-in-stock":"btn-add-cart-product-".concat((p=e.product)==null?void 0:p.item_id),type:"button",loading:s(x),disabled:((c=e.product)==null?void 0:c.stock)===0||s(u)(e.product),icon:"pi pi-shopping-cart",label:s(P),pt:s(mt),class:"transition-all mt-auto bg-black border-black max-w-44",onClick:b[2]||(b[2]=ut(r=>S(),["prevent"]))},null,8,["name","loading","disabled","label","pt"])]),k($,{src:e.product.image,class:"w-28 aspect-square self-center mix-blend-multiply",onClick:b[3]||(b[3]=r=>_.$emit("click"))},null,8,["src"])])}}},vl={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};
1function wl(e,n){return t(),o("svg",vl,n[0]||(n[0]=[a("path",{fill:"#E47998",d:"M12 0C5.373 0 0 5.373 0 12c0 6.628 5.373 12 12 12 6.628 0 12-5.372 12-12 0-6.627-5.372-12-12-12m0 22.524C6.21 22.524 1.5 17.79 1.5 12S6.21 1.5 12 1.5 22.5 6.21 22.5 12 17.79 22.524 12 22.524m4.79-14.915-7.042 7.085-3.17-3.17a.75.75 0 0 0-1.061 1.06l3.712 3.712a.75.75 0 0 0 1.15-.108L17.85 8.67a.75.75 0 0 0-1.06-1.06"},null,-1)]))}const st={render:wl},bl={key:0,class:"w-full flex flex-col items-center justify-center"},$l={id:"merch-header",class:"max-w-6xl w-full"},Pl={class:"bg-[#F0F0F0] w-full flex items-center flex-col justify-center lg:mt-8"},kl={class:"max-w-6xl w-full flex flex-col"},Dl={class:"font-bold text-2xl md:text-3xl uppercase pt-8 px-3 text-[#00000066]"},Sl={class:"font-bold text-xl md:text-2xl uppercase pt-4 px-3 md:hidden max-w-md md:self-center"},Cl={class:"mt-8 grid md:grid-cols-2 md:gap-6 md:pb-8 md:px-3"},Ml={class:"w-full flex flex-col md:flex-row gap-4 max-w-6xl md:pt-8"},Ol={key:0,class:"overflow-hidden flex-1 !max-w-[1/2]"},Bl={class:"flex-1"},Tl={class:"font-bold text-3xl uppercase pt-4 px-3"},Ll={class:"flex px-3 my-4 items-end gap-2 flex-wrap"},Il={class:"text-brand-500 text-[40px] font-bold"},jl={key:0,class:"text-neutral-400 text-3xl line-through pb-3"},El={class:"px-3 pb-2 text-[20px] uppercase font-medium"},ql={class:"!min-w-4 !max-w-4"},Nl={class:"font-medium"},Al={class:"px-3 pt-4"},Hl={class:"px-3 text-[20px] uppercase font-bold pt-8 pb-4 w-full max-w-xl"},Vl={class:"flex flex-col gap-4 px-3 max-w-xl"},Fl={class:"!min-w-4 !max-w-4"},zl={class:"bg-[#F0F0F0] w-full flex items-center justify-center pb-8"},Rl={class:"max-w-6xl"},Ul={class:"px-3 text-[26px] uppercase font-bold pt-8 pb-4 w-full md:text-center md:pb-8"},Gl={class:"grid md:grid-cols-2 xl:grid-cols-3 mx-3 gap-6"},Wl={__name:"MerchPacketV3",props:{landingPageData:Object,pending:Boolean,error:Boolean},async setup(e){var m,h,O,D,M,B,T,j,A,U;let n,y;const g=e,u=E(!1),l=E({});re(u,()=>{u.value===!1&&(l.value={})});const{t:x}=pe(),{$api:P}=xe(),{stripHtml:S}=Mt(),_=we(),{addProductToBasket:b,itemInBasketBool:f}=_,{data:$}=([n,y]=ye(()=>P.products.getBrandProducts(g.landingPageData.brand_url)),n=await n,y(),n),v=N(()=>g.landingPageData.merch_packet.products.filter(q=>q.featured).sort((q,F)=>q.featured_order_number-F.featured_order_number)),p="".concat((h=(m=g.landingPageData)==null?void 0:m.merch_packet)!=null&&h.title?"".concat((D=(O=g.landingPageData)==null?void 0:O.merch_packet)==null?void 0:D.title," | "):"").concat(x("store_name")),c="https:".concat(((B=(M=g.landingPageData)==null?void 0:M.merch_packet)==null?void 0:B.image)||"https://licilasicdn.s3.eu-west-1.amazonaws.com/public/assets/desktop_vthree/img/logos/new-logo.svg"),r=(j=(T=g.landingPageData)==null?void 0:T.merch_packet)!=null&&j.description?S((U=(A=g.landingPageData)==null?void 0:A.merch_packet)==null?void 0:U.description):x("store_name");return ke({title:()=>p,meta:[{name:"description",content:()=>r},{property:"og:title",content:()=>p},{property:"og:description",content:()=>r},{property:"og:image",content:()=>c},{name:"twitter:image",content:()=>c},{name:"twitter:title",content:()=>p},{name:"twitter:description",content:()=>r}]}),(q,F)=>{var Y,K,J,Q,i,le,se,ce,de,ue,me,_e;const W=ge,ee=Ls,X=fl,G=ze,I=fe,L=yl,te=Zt,ne=en;return e.landingPageData?(t(),o("div",bl,[a("div",$l,[k(W,{src:(K=(Y=e.landingPageData)==null?void 0:Y.main_image)==null?void 0:K.mobile,class:"sm:hidden w-full"},null,8,["src"]),k(W,{src:(Q=(J=e.landingPageData)==null?void 0:J.main_image)==null?void 0:Q.desktop,class:"hidden sm:block w-full max-w-6xl lg:rounded-md"},null,8,["src"])]),a("div",Pl,[a("div",kl,[a("p",Dl,C(q.$t("offer.description")),1),a("p",Sl,C(q.$t("korean.title")),1),a("div",Cl,[(t(!0),o(z,null,Z(s(v),(H,ae)=>(t(),w(ee,{key:ae,class:R(["first:border-t border-black md:border",{"flex-row-reverse md:flex-row":ae===1||ae===3}]),product:H,title:s(x)("korean.step_".concat(ae+1)),onClick:Le=>{l.value=H,u.value=!0}},null,8,["product","title","class","onClick"]))),128))]),k(X,{"cruelty-free":"",women:"",premium:"",class:"max-w-6xl py-12 md:px-3"})])]),a("div",Ml,[e.landingPageData.carousel_images||(i=e.landingPageData.merch_packet)!=null&&i.images?(t(),o("div",Ol,[k(G,{"show-swiper":"",images:e.landingPageData.carousel_images||((le=e.landingPageData.merch_packet)==null?void 0:le.images),class:"sm:px-0 md:pl-3","discount-value":(ce=(se=e.landingPageData)==null?void 0:se.merch_packet)==null?void 0:ce.sale_percentage_off},null,8,["images","discount-value"])])):d("",!0),a("div",Bl,[a("p",Tl,C(e.landingPageData.merch_packet.title),
11),a("div",Ll,[a("p",Il,C(e.landingPageData.merch_packet.special_price||e.landingPageData.merch_packet.normal_price),1),e.landingPageData.merch_packet.special_price?(t(),o("p",jl,C(e.landingPageData.merch_packet.normal_price),1)):d("",!0)]),a("p",El,C(q.$t("offer.why_this_set")),1),(t(!0),o(z,null,Z((de=e.landingPageData.merch_packet)==null?void 0:de.attributes,(H,ae)=>(t(),o("div",{key:ae,class:"font-bold flex gap-5 py-2 px-3 items-center text-sm"},[a("div",ql,[k(s(st))]),a("span",Nl,C(H),1)]))),128)),a("div",Al,[k(I,{name:"btn-add-cart-product",type:"button",disabled:e.landingPageData.merch_packet.stock<=0||s(f)(e.landingPageData.merch_packet),icon:"pi pi-shopping-cart",label:s(f)(e.landingPageData.merch_packet)?e.landingPageData.merch_packet.stock<=0?q.$t("not_in_stock_short"):q.$t("upsell_added"):q.$t("korean.add_set_to_basket"),pt:{root:{class:"pulse-button w-full rounded-md py-3 px-3.5 text-base bg-black text-white border-2 border-black ".concat(s(Ve)).concat(s(Fe))},label:{class:"font-semibold"}},onClick:F[0]||(F[0]=ut(H=>s(b)({...e.landingPageData.merch_packet,quantity:1}),["prevent"]))},null,8,["disabled","label","pt"])])])]),a("p",Hl,C(q.$t("offer.why_this_set")),1),a("div",Vl,[(t(!0),o(z,null,Z((ue=e.landingPageData.merch_packet)==null?void 0:ue.bottom_attributes,(H,ae)=>(t(),o("div",{key:ae,class:"flex gap-5 py-0.5 items-center text-sm"},[a("div",Fl,[k(s(st))]),a("span",null,C(H),1)]))),128))]),(me=e.landingPageData)!=null&&me.footer_image?(t(),w(W,{key:0,src:(_e=e.landingPageData)==null?void 0:_e.footer_image,class:"w-full pt-8 max-w-xl md:py-8"},null,8,["src"])):d("",!0),k(X,{formulation:"","passionately-crafted":"",conscious:"",class:"max-w-6xl py-12 md:px-3"}),a("div",zl,[a("div",Rl,[a("p",Ul,C(q.$t("offer.add_to_set"))+": ",1),a("div",Gl,[(t(!0),o(z,null,Z(s($),H=>(t(),w(L,{key:H==null?void 0:H.item_id,class:"border-b border-black md:border",product:H,onClick:ae=>{l.value=H,u.value=!0}},null,8,["product","onClick"]))),128))])])]),s(l)&&Object.keys(s(l)).length>0?(t(),w(te,{key:1,visible:s(u),"onUpdate:visible":F[1]||(F[1]=H=>qe(u)?u.value=H:null),product:s(l),"onUpdate:product":F[2]||(F[2]=H=>qe(l)?l.value=H:null)},null,8,["visible","product"])):d("",!0),k(ne,{"element-visibility-check":"merch-header",background:"bg-black"})])):d("",!0)}}},Xl={key:0,class:"w-full flex flex-col items-center mb-4"},Yl={class:"w-full max-w-6xl"},Kl={__name:"MegaboxBanner",props:{bannerImage:{type:Object,required:!0}},setup(e){return(n,y)=>{var u,l,x,P;const g=ge;return(u=e.bannerImage)!=null&&u.desktop||(l=e.bannerImage)!=null&&l.mobile?(t(),o("div",Xl,[a("div",Yl,[(x=e.bannerImage)!=null&&x.desktop?(t(),w(g,{key:0,class:"w-full h-auto hidden md:block lg:rounded",src:e.bannerImage.desktop,alt:"Megabox Banner Desktop"},null,8,["src"])):d("",!0),(P=e.bannerImage)!=null&&P.mobile?(t(),w(g,{key:1,class:"w-full h-auto md:hidden",src:e.bannerImage.mobile,alt:"Megabox Banner Mobile"},null,8,["src"])):d("",!0)])])):d("",!0)}}},Jl={key:1,class:"flex flex-col items-center w-full"},Ql={key:0,class:"h-2"},Zl={key:2,class:"bg-neutral-50 flex justify-center pb-2 w-full"},ei={class:"flex flex-col max-w-xl self-center w-full px-4"},ti={key:3,class:"md:px-4 w-full max-w-xl self-center"},ni=["src"],ai={class:"flex flex-col max-w-xl self-center w-full pb-4 px-4"},si=["innerHTML"],li={key:11,class:"text-center pt-4"},ii={class:"text-center text-[28px] md:text-[32px] font-medium font-primary"},oi={class:"pb-4 max-w-xl w-full px-4 text-center text-neutral-600 text-xs"},ri={__name:"MerchPacketV4",props:{landingPageData:Object,pending:Boolean,error:Boolean},async setup(e){var $,v;let n,y;const g=e,u=ie(),{t:l,locale:x}=pe(),{data:P,error:S}=([n,y]=ye(async()=>lt("mystery-bag-v4-".concat(x.value,"-").concat(u.params.url),async()=>{let p=null;const c="mystery_bags/_".concat(x.value,"/magabox-v4");try{p=await Ce(c).findOne()}catch(r){console.warn("Primary V4 content not found, falling back to default...",c,r)}if(!p)try{return await Ce("mystery_bags/_".concat(x.value,"/default")).findOne()}catch(r){console.warn("Default content not found...",r)}return p})),n=await n,y(),n),_="".concat(($=g.landingPageData)!=null&&$.title?"".concat((v=g.landingPageData)==null?void 0:v.title," | "):"").concat(l("store_name"));function b(){const{lastContactCheckoutUrl:p}=Te(),c=p.value,r=c.includes("?")?"&":"?",m="".concat(c).concat(r,"apply-promo-code=").concat(g.landingPageData.promo_code,"&promo=true");Be(m,{external:!0})}const f=N(()=>g.landingPageData.secret_products==="1");return ke({title:()=>_,meta:[{property:"og:title",content:()=>_},{name:"twitter:title",content:()=>_}]}
1),(p,c)=>{var G,I;const r=Ae,m=Kl,h=xt,O=wt,D=ze,M=jt,B=bt,T=Et,j=Dt,A=De,U=$t,q=yt,F=St,W=Pt,ee=Ct,X=vt;return s(S)?(t(),w(r,{key:0})):s(P)&&((G=s(P))!=null&&G.components)?(t(),o("div",Jl,[(t(!0),o(z,null,Z((I=s(P))==null?void 0:I.components,(L,te)=>{var ne,Y,K,J,Q,i,le,se;return t(),o(z,{key:"".concat(L.type,"-").concat(te)},[L.type==="spacer"?(t(),o("div",Ql)):d("",!0),L.type==="banner_image"&&((ne=e.landingPageData)!=null&&ne.banner_image)?(t(),w(m,{key:1,"banner-image":e.landingPageData.banner_image},null,8,["banner-image"])):d("",!0),L.type==="testimonials"?(t(),o("div",Zl,[a("div",ei,[k(h,Se({ref_for:!0},L.data),null,16)])])):d("",!0),L.type==="video"&&((Y=e.landingPageData)!=null&&Y.video)&&((J=Object.keys((K=e.landingPageData)==null?void 0:K.video))==null?void 0:J.length)>0?(t(),o("div",ti,[k(O,{class:"w-full",video:e.landingPageData.video},null,8,["video"])])):d("",!0),L.type==="carousel"&&!s(f)?(t(),w(D,{key:4,class:"max-w-xl self-center w-full",images:e.landingPageData.images,"show-swiper":"","discount-value":e.landingPageData.sale_percentage_off},null,8,["images","discount-value"])):d("",!0),L.type==="carousel"&&s(f)?(t(),o("img",{key:5,src:e.landingPageData.images[0],class:"max-w-xl self-center w-full",alt:"Single Image"},null,8,ni)):d("",!0),a("div",ai,[L.type==="product_listing"&&!s(f)?(t(),w(M,{key:0,"first-text":L.data.first_text,"second-text":L.data.second_text,products:e.landingPageData.products},null,8,["first-text","second-text","products"])):d("",!0),L.type==="text"?(t(),o("p",{key:1,class:"text-neutral-600",innerHTML:e.landingPageData.per_product_text},null,8,si)):d("",!0),L.type==="pink_text"?(t(),w(B,{key:2,text:e.landingPageData.discount_text},null,8,["text"])):d("",!0),L.type==="selling_points"?(t(),w(T,{key:3})):d("",!0),L.type==="trustpilot"?(t(),w(j,{key:4})):d("",!0),L.type==="promo_code"&&e.landingPageData.promo_code?(t(),w(A,{key:5,"promo-code":e.landingPageData.promo_code,class:"max-w-md w-full self-center"},null,8,["promo-code"])):d("",!0),L.type==="prices"?(t(),w(U,{key:6,prices:{normal_price:e.landingPageData.normal_price,special_price:e.landingPageData.special_price,savings:e.landingPageData.savings}},null,8,["prices"])):d("",!0),L.type==="cta_button"?(t(),w(q,{key:7,text:p.$t("offer.order_now"),onClick:b},null,8,["text"])):d("",!0),L.type==="card_payment"?(t(),w(F,{key:8})):d("",!0),L.type==="checks"&&((i=(Q=e.landingPageData)==null?void 0:Q.attributes)==null?void 0:i.length)>0?(t(),w(W,Se({key:9,ref_for:!0},L.data,{checks:e.landingPageData.attributes}),null,16,["checks"])):d("",!0),L.type==="guarantee_return"?(t(),w(ee,{key:10,text:e.landingPageData.support_guranantee,long:(le=L.data)==null?void 0:le.long},null,8,["text","long"])):d("",!0),L.type==="header_text"?(t(),o("div",li,[(se=L.data.limitedStock)!=null&&se.enabled?(t(),w(X,{key:0,text:L.data.limitedStock.text},null,8,["text"])):d("",!0),a("h1",ii,C(e.landingPageData.title),1)])):d("",!0)])],64)}),128)),a("p",oi,C(p.$t("offer.box_disclaimer")),1)])):d("",!0)}}},ci={__name:"Header",props:{promoCode:{type:String,required:!1},images:Object,timer:{type:Object,required:!1},type:String},setup(e){const n=e,y=E(!1),g=E(null),u=E(null),l=E(!0),x=N(()=>{var _,b;return n.images.desktop&&window.innerWidth>=768?((_=g.value)==null?void 0:_.imgEl)||null:n.images.mobile&&((b=u.value)==null?void 0:b.imgEl)||null});function P(){const _=x;_!=null&&_.value?oe(()=>{const b=_.value.getBoundingClientRect().bottom+window.scrollY,f=()=>{const $=window.scrollY+window.innerHeight,v=window.scrollY+window.innerHeight*.8;window.scrollY>b?y.value=!1:y.value=v<b,$>b?l.value=!1:l.value=!0};f(),window.addEventListener("scroll",f),be(()=>{window.removeEventListener("scroll",f)})}):y.value=!1}function S(){const _=x;if(_!=null&&_.value){const b=_.value.getBoundingClientRect().bottom+window.scrollY;window.scrollTo({top:b,behavior:"smooth"})}else console.error("Active image is not available.")}return ve(()=>{P(),window.addEventListener("resize",P),be(()=>{window.removeEventListener("resize",P)})}),(_,b)=>{const f=ge,$=Lt,v=De;
1return t(),o("div",{id:"outlet-header",class:R(["w-full self-center relative",{"px-3":e.type==="SELECTION_LANDING"}])},[e.images.desktop?(t(),w(f,{key:0,ref_key:"desktopImage",ref:g,class:R(["w-full h-auto hidden md:block lg:rounded",{"rounded-md":e.type==="SELECTION_LANDING"}]),src:e.images.desktop},null,8,["class","src"])):d("",!0),e.images.mobile?(t(),w(f,{key:1,ref_key:"mobileImage",ref:u,class:R(["w-full h-auto md:hidden",{rounded:e.type==="SELECTION_LANDING"}]),src:e.images.mobile},null,8,["class","src"])):d("",!0),s(y)?(t(),o("button",{key:2,class:R(["bottom-5 right-5 bg-black text-xs text-white px-4 py-2 text-base uppercase rounded-full shadow-lg z-50",{fixed:s(l),absolute:!s(l)}]),onClick:S},C(_.$t("show_offer"))+" 👇 ",3)):d("",!0),e.timer&&e.timer.type==="default"?(t(),w($,{key:3,class:"lg:rounded-md lg:mt-4",timestamp:e.timer.deadline,"promo-code":e.promoCode},null,8,["timestamp","promo-code"])):d("",!0),e.promoCode?(t(),o("div",{key:4,class:R(["m-3 mb-0 flex justify-center",{"lg:hidden":e.timer.deadline}])}
1,[k(v,{class:"max-w-md self-center w-full","promo-code":e.promoCode},null,8,["promo-code"])],2)):d("",!0)],2)}}},di={class:"relative bg-transparent border-0 rounded-xl w-full"},ui={key:0,class:"text-center text-gray-500"},mi={class:"relative rounded-xl bg-transparent w-full max-w-[780px] aspect-[0.79] mx-auto overflow-hidden"},pi=["src"],gi={__name:"VideoModal",props:{modalOptions:{type:Object,required:!0}},setup(e,{expose:n}){const y=e,g=E(!1);n({visible:g});const u=N(()=>y.modalOptions.video_url);function l(){g.value=!1}function x(){var P;if((P=y.modalOptions)!=null&&P.popup_time_to_show){const S=y.modalOptions.popup_time_to_show*1e3;setTimeout(()=>{g.value=!0},S)}}return ve(()=>{x()}),(P,S)=>(t(),w(s(tn),{visible:s(g),"onUpdate:visible":S[0]||(S[0]=_=>qe(g)?g.value=_:null),name:"modal-video",modal:"",position:"center","close-on-escape":!0,"dismissable-mask":!0,class:"w-[90%] max-w-[30rem] border-0 rounded-xl",style:{"background-color":"transparent !important"},onHide:l},{container:V(()=>[a("div",di,[a("button",{class:"flex absolute z-10 -top-5 -right-4 w-7 h-7 items-center justify-center bg-white text-gray-800 hover:bg-gray-100 rounded-full shadow focus:outline-none focus:ring-2 focus:ring-gray-500","aria-label":"Close",onClick:l},S[1]||(S[1]=[a("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor","stroke-width":"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)])),s(u)?d("",!0):(t(),o("p",ui," Debug: Video URL is not available. ")),a("div",mi,[a("iframe",{src:"".concat(s(u),"?autoplay=1"),class:"absolute top-0 left-0 w-[calc(100%+5px)] h-[calc(100%+5px)] -translate-x-[3px] -translate-y-[3px] border-none bg-black",frameborder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowfullscreen:""},null,8,pi)])])]),_:1},8,["visible"]))}},fi=()=>xe().$device,_i={key:0,class:"bg-white text-xs max-w-[420px] w-full fixed bottom-2 left-1/2 -translate-x-1/2 rounded-lg z-[99999999] shadow-md"},hi={class:"bg-neutral-100 w-full py-[2px] px-2 relative rounded-t-lg overflow-hidden"},xi=["innerHTML"],yi=["innerHTML"],vi={class:"w-full px-2 flex justify-center pb-1.5"},wi={class:"w-full max-w-md rounded-md overflow-hidden mt-1.5"},bi={class:"p-2"},$i={key:0},Pi=["innerHTML"],ki={__name:"BottomBarV2",props:{elementVisibilityCheck:String,outletLimit:Number,background:{default:"bg-success-500",type:String},mysteryBagsLeft:String,promoCode:String},setup(e){const n=e,y=we(),{numOfBasketItems:g,numBasketPrice:u,numBasketPriceString:l,basketSavings:x,basketSavingsString:P}=tt(y),S=At(),{currency:_}=tt(S),b=E(!1),{isApple:f}=fi();ve(()=>{if(n.elementVisibilityCheck){const r=document.getElementById(n.elementVisibilityCheck);r&&new IntersectionObserver(h=>{h.forEach(O=>{b.value=!O.isIntersecting})}).observe(r)}const c=document.getElementById("minimized-footer");c&&new IntersectionObserver(m=>{m.forEach(h=>{b.value=!h.isIntersecting})}).observe(c)});function $(){const{lastContactCheckoutUrl:c}=Te(),r=c.value,m=r.includes("?")?"&":"?";return Be("".concat(r).concat(m,"apply-promo-code=").concat(n.promoCode),{external:!0})}function v(c,r){return c.replace("XX",'<span class="font-bold text-brand-600">'.concat(r," ").concat(_.value,"</span>"))}function p(c,r){return c.replace("XX",'<span class="font-bold">'.concat(r," ").concat(_.value,"</span>"))}return(c,r)=>{const m=fe,h=Oe;return t(),w(He,null,{default:V(()=>[s(g)>0&&s(b)?(t(),o("div",_i,[a("div",hi,[a("div",{class:R(["transition-all duration-500 bg-brand-100 absolute top-0 bottom-0 left-0",{"!bg-success-100":s(u)>=e.outletLimit}]),style:$e({width:"".concat(s(u)/e.outletLimit*100,"%")})},null,6),s(u)<e.outletLimit?(t(),o("p",{key:0,class:"text-[11px] font-semibold relative z-10 text-center text-brand-600",innerHTML:v(c.$t("until_gift"),(e.outletLimit-s(u)).toFixed(2).replace(".",","))},null,8,xi)):e.mysteryBagsLeft?(t(),o("p",{key:1,class:"text-[11px] font-semibold relative z-10 text-center text-success-600",innerHTML:e.mysteryBagsLeft},null,8,yi)):d("",!0)]),a("div",vi,[a("div",wi,[a("div",bi,[k(m,{name:"btn-go-to-cart-bf",type:"button","icon-pos":"right",pt:s(mt),class:R(["w-full flex items-center justify-center gap-2 text-[13px] font-bold py-2 px-3 rounded-md border-none",e.background]),onClick:r[0]||(r[0]=O=>$())},{default:V(()=>[r[1]||(r[1]=a("i",{class:"pi pi-shopping-bag text-sm"},null,-1)),a("span",null,[Ee(C(c.$t("cart.cart")),1),s(u)?(t(),o("span",$i," – "+C(s(l))+" "+C(s(_)),1)):d("",!0)])]),_:1}
1,8,["pt","class"])])])]),k(h,null,{default:V(()=>[s(x)?(t(),o("div",{key:0,class:R(["text-success-600 text-[11px] font-semibold text-center",[{"pb-4":s(f),"pb-2":!s(f)}]]),innerHTML:p(c.$t("you_saved"),s(P))},null,10,Pi)):d("",!0)]),_:1})])):d("",!0)]),_:1})}}},Di={key:0,class:"flex flex-col max-w-6xl self-center w-full"},Si=["innerHTML"],Ci={class:"flex flex-col md:flex-row gap-2 mt-1 w-full pt-2"},Mi={class:"sticky md:static md:w-auto top-12 bg-white z-10 pb-2"},Oi={class:"flex flex-col items-center w-full overflow-hidden"},Bi=["innerHTML"],Ti={__name:"Outlet",props:{landingPageData:Object,pending:Boolean,error:Boolean},setup(e){var v,p,c;const n=e,y=ie(),{t:g}=pe(),u=E(!0);(y.query.tab||y.query.category)&&(u.value=!1);const l=N(()=>{if(!n.landingPageData||!n.landingPageData.tabs)return;const r=n.landingPageData.tabs;return y.query.tab?r.find(m=>String(m.tab_id)===String(y.query.tab)):r[0]}),x=N(()=>{var r;return(r=n.landingPageData)!=null&&r.enable_countdown?{deadline:n.landingPageData.countdown_deadline,type:n.landingPageData.countdown_type}:null}),P=N(()=>n.landingPageData.banner_disclosure_top?n.landingPageData.banner_disclosure_top:l.value.content||null),S="".concat((v=n.landingPageData)!=null&&v.title?"".concat(n.landingPageData.title," | "):"").concat(g("store_name")),_="https:".concat(((c=(p=n.landingPageData)==null?void 0:p.images)==null?void 0:c.desktop)||"https://licilasicdn.s3.eu-west-1.amazonaws.com/public/assets/desktop_vthree/img/logos/new-logo.svg"),b=g("store_description");ke({title:()=>S,meta:[{name:"description",content:()=>b},{property:"og:title",content:()=>S},{property:"og:description",content:()=>b},{property:"og:image",content:()=>_},{name:"twitter:image",content:()=>_},{name:"twitter:title",content:()=>S},{name:"twitter:description",content:()=>b}]});const f=E(null);function $(){f.value&&(f.value.visible=!0)}return(r,m)=>{var q,F,W,ee,X,G,I,L,te,ne,Y,K,J,Q,i,le,se,ce,de,ue,me;const h=ci,O=It,D=Oe,M=ft,B=Bt,T=Tt,j=Ut,A=gi,U=ki;return t(),o(z,null,[e.landingPageData&&!e.pending?(t(),o("div",Di,[k(h,{"promo-code":(q=e.landingPageData)==null?void 0:q.promo_code,images:{desktop:(W=(F=e.landingPageData)==null?void 0:F.images)==null?void 0:W.desktop,mobile:(X=(ee=e.landingPageData)==null?void 0:ee.images)==null?void 0:X.mobile},timer:s(x),type:(G=e.landingPageData)==null?void 0:G.type},null,8,["promo-code","images","timer","type"]),s(x)&&s(x).type==="fomo"?(t(),w(O,{key:0,class:"lg:rounded-md lg:mt-4",timestamp:s(x).deadline,"promo-code":r.promoCode,disclosure:s(P)},null,8,["timestamp","promo-code","disclosure"])):d("",!0),k(D,null,{default:V(()=>[s(P)&&!(s(x)&&s(x).type==="fomo")?(t(),o("div",{key:0,class:"text-center p-4 pt-8 pb-0 text-xs text-gray-500",innerHTML:s(P)},null,8,Si)):d("",!0)]),_:1}),(I=e.landingPageData)!=null&&I.video_modal?(t(),o("button",{key:1,class:"text-sm font-semibold tracking-[0.1px] uppercase text-white mt-2 sm:mx-4 xl:mx-0 mx-3 px-4 py-2 rounded hover:opacity-80 animate-shake",style:$e({background:((te=(L=e.landingPageData)==null?void 0:L.video_modal)==null?void 0:te.button_bg)||"#000",color:((Y=(ne=e.landingPageData)==null?void 0:ne.video_modal)==null?void 0:Y.button_color)||"#fff"}),onClick:$},C(((J=(K=e.landingPageData)==null?void 0:K.video_modal)==null?void 0:J.button_text)||"Open Video Popup"),5)):d("",!0),m[1]||(m[1]=a("div",{id:"scrollToHere"},null,-1)),a("div",Ci,[a("div",Mi,[((Q=e.landingPageData)==null?void 0:Q.type)==="VIP_LANDING"||((i=e.landingPageData)==null?void 0:i.type)==="OPEN_SALES_LANDING"?(t(),w(M,{key:0,tabs:(le=e.landingPageData)==null?void 0:le.tabs,"infinite-mode":s(u),onResetInfiniteMode:m[0]||(m[0]=_e=>u.value=!1)},null,8,["tabs","infinite-mode"])):d("",!0)]),a("div",Oi,[s(u)?(t(),w(B,{key:0,"landing-page-data":e.landingPageData},null,8,["landing-page-data"])):(t(),w(T,{key:1,"landing-page-data":e.landingPageData},null,8,["landing-page-data"]))])]),k(D,null,{default:V(()=>[e.landingPageData.banner_disclosure?(t(),o("div",{key:0,class:"text-center p-4 text-xs text-gray-500",innerHTML:e.landingPageData.banner_disclosure},null,8,Bi)):d("",!0)]),_:1}
1)])):d("",!0),e.landingPageData.modal_options?(t(),w(j,{key:1,"modal-options":e.landingPageData.modal_options,campaign:s(y).params.url},null,8,["modal-options","campaign"])):d("",!0),(se=e.landingPageData)!=null&&se.video_modal?(t(),w(A,{key:2,ref_key:"videoModalRef",ref:f,"modal-options":(ce=e.landingPageData)==null?void 0:ce.video_modal},null,8,["modal-options"])):d("",!0),k(U,{"element-visibility-check":"outlet-header","outlet-limit":(de=e.landingPageData)==null?void 0:de.mystery_bag_limit,"mystery-bags-left":(ue=e.landingPageData)==null?void 0:ue.mystery_bags_left_text,"promo-code":(me=e.landingPageData)==null?void 0:me.promo_code},null,8,["outlet-limit","mystery-bags-left","promo-code"])],64)}}},Li={key:1,class:"w-full h-24 flex items-center justify-center"},Ii={key:2,class:"w-full flex justify-center flex-col"},Do={__name:"[url]",async setup(e){let n,y;const g=ie(),{$api:u}=xe(),{data:l,status:x,error:P}=([n,y]=ye(()=>{var _,b;return u.landingPages.getLandingPageByURL((_=g==null?void 0:g.params)==null?void 0:_.url,(b=g.query)==null?void 0:b.tab)}),n=await n,y(),n),S=N(()=>{var _;return((_=l.value)==null?void 0:_.dynamic_tabs)&&l.value.dynamic_tabs.length>0});return(_,b)=>{var O;const f=Ae,$=ga,v=ms,p=ks,c=Wl,r=ri,m=Ti,h=Ht;return t(),w(h,{name:((O=s(l))==null?void 0:O.type)==="MERCH_PACKET_LANDING"?"pages-landing":"default"},{default:V(()=>{var D,M,B,T;return[s(P)?(t(),w(f,{key:0})):s(x)==="pending"?(t(),o("div",Li,[k(s(_t),{class:"w-8"})])):d("",!0),s(l)?(t(),o("div",Ii,[s(S)?(t(),w($,{key:0,"landing-page-data":s(l),pending:s(x)==="pending",error:s(P)},null,8,["landing-page-data","pending","error"])):((D=s(l))==null?void 0:D.type)==="MERCH_PACKET_LANDING"?(t(),w(v,{key:1,"landing-page-data":s(l),pending:s(x)==="pending",error:s(P)},null,8,["landing-page-data","pending","error"])):((M=s(l))==null?void 0:M.type)==="MERCH_PACKET_V2_LANDING"?(t(),w(p,{key:2,"landing-page-data":s(l),pending:s(x)==="pending",error:s(P)},null,8,["landing-page-data","pending","error"])):((B=s(l))==null?void 0:B.type)==="MERCH_PACKET_V3_LANDING"?(t(),w(c,{key:3,"landing-page-data":s(l),pending:s(x)==="pending",error:s(P)},null,8,["landing-page-data","pending","error"])):((T=s(l))==null?void 0:T.type)==="MERCH_PACKET_V4_LANDING"?(t(),w(r,{key:4,"landing-page-data":s(l),pending:s(x)==="pending",error:s(P)},null,8,["landing-page-data","pending","error"])):(t(),w(m,{key:5,"landing-page-data":s(l),pending:s(x)==="pending",error:s(P)},null,8,["landing-page-data","pending","error"]))])):d("",!0)]}),_:1},8,["name"])}}};export{Do 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.