(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3985],{22764:function(n,e,t){"use strict";t.d(e,{V:function(){return CartPage}});var i=t(85893),o=t(20559),a=t(88064),r=t(37340),s=t(20256),l=t(40230),c=t(74331);function _templateObject(){let n=(0,r._)(["\n @media only screen and (max-width: 1024px) {\n min-height: calc(100vh - ","px);\n }\n\n .cart-recommendation {\n padding: 0;\n background: none;\n max-width: 1300px;\n margin: auto;\n\n .recommended-products {\n &__wrapper {\n padding: 0;\n\n @media only screen and (max-width: 768px) {\n margin-bottom: 32px;\n\n .carousel__slide:only-child {\n margin: auto;\n // override lib style\n transform: translateX(0) !important;\n }\n }\n }\n }\n }\n\n .complement-items-recommendation {\n width: 60vw;\n max-width: 938px;\n padding: 16px 0;\n background: none;\n\n .recommended-products {\n &__wrapper {\n padding: 0px;\n }\n\n &__title {\n text-align: left;\n\n @media screen and (max-width: 1024px) {\n width: 100vw;\n max-width: 100%;\n }\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let d=(0,s.ZP)(c.V).withConfig({componentId:"sc-c073fca-0"})(_templateObject(),l.i.MOBILE_HEADER_HEIGHT);var u=t(1493),p=t.n(u);function CartPage(n){return(0,i.jsx)(d,{...n,renderRecommendedProducts:function(n){let{hasProducts:e}=n;return e?null:(0,i.jsx)(o.v,{sectionId:a.RECOMMENDATION_SECTION_IDS.EMPTY_CART})},renderComplementProductsCarousel:function(n){let{shouldRenderTitle:e}=n;return(0,i.jsx)(o.v,{sectionId:a.RECOMMENDATION_SECTION_IDS.CART_LIST,titleClassName:e?"":"tw-hidden"})},shouldRenderCarouselBeforeBuyButton:!0,className:p().wrapper})}},54899:function(n,e,t){"use strict";t.r(e),t.d(e,{CategoryBanners:function(){return CategoryBanners},NoSearchResult:function(){return NoSearchResult}});var i=t(85893),o=t(41664),a=t.n(o),r=t(96984),s=t(25416),l=t(38538),c=t(82888),d=t(37340),u=t(20256);function _templateObject(){let n=(0,d._)(["\n display: grid;\n grid-template-columns: 1fr;\n grid-gap: 7px;\n width: 100%;\n margin-bottom: 24px;\n\n &.multiple-banners {\n @media only screen and (min-width: 1024px) {\n grid-template-columns: 1fr 1fr;\n }\n }\n"]);return _templateObject=function(){return n},n}let p=u.ZP.div.withConfig({componentId:"sc-e0621f2a-0"})(_templateObject());function CategoryBanners(n){var e;let{slot:t,title:o,className:d=""}=n,{isTablet:u}=(0,l.k)(),[m,x]=(0,c.N)(),h=(null==t?void 0:null===(e=t.components[0])||void 0===e?void 0:e.banners)||[];if(0===h.length)return null;let _=h.length>1,f=o.toLowerCase().replace(/\s/g,""),g="".concat(s.W.CATEGORY_BANNER,"-").concat(f);return(0,i.jsx)(p,{id:g,className:"".concat(_?"multiple-banners":""," ").concat(d).trim(),ref:m.set,children:function(){if(!(!u||x))return null;if(_)return h.slice(0,2).map((n,e)=>{let{imageUrl:t,imageAltText:o="",redirectPath:s="",imageCode:l}=n,c=!u&&0===e;return(0,i.jsx)(a(),{href:s,prefetch:!1,children:(0,i.jsx)(r.M.Image,{src:t,alt:o,width:950,height:342,layout:"responsive",objectFit:"cover",priority:c,fetchpriority:c?"high":"auto"})},l)});let{imageUrl:n,imageAltText:e="",redirectPath:t=""}=h[0]||[];return(0,i.jsx)(a(),{href:t,children:(0,i.jsx)(r.M.FullWidthImage,{src:n,alt:e,height:u?1614:342,priority:!u,fetchpriority:u?"auto":"high"})})}()})}var m=t(29973),x=t(93804);function styles_templateObject(){let n=(0,d._)(["\n background-color: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 40px 63px;\n\n .no-search-result {\n &__title {\n font-weight: 500;\n padding-bottom: 13px;\n position: relative;\n font-size: 24px;\n color: ",";\n\n @media only screen and (max-width: 1024px) {\n font-size: 18px;\n text-align: center;\n }\n\n ::after {\n content: '';\n width: 111px;\n height: 3px;\n background-color: ",";\n display: block;\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n\n @media only screen and (max-width: 1024px) {\n width: 59px;\n }\n }\n }\n\n &__description {\n font-size: 12px;\n opacity: 0.6;\n margin-top: 10px;\n text-align: center;\n }\n }\n"]);return styles_templateObject=function(){return n},n}let h=u.ZP.div.withConfig({componentId:"sc-453d3638-0"})(styles_templateObject(),x.H.ALABASTER,x.H.MINE_SHAFT,x.H.TORCH_RED),_={[m.s.CATEGORY]:{title:"N\xe3o encontramos resultados para sua busca :(",subtitle:""},[m.s.SEARCH]:{title:"N\xe3o encontramos resultados para sua busca :(",subtitle:""},[m.s.STORE_FINDER]:{title:"Nenhum produto encontrado",subtitle:"N\xe3o encontramos nenhum produto em lojas pr\xf3ximas de voc\xea. Se preferir, altere o CEP para consultar em outra localiza\xe7\xe3o."}};function NoSearchResult(n){let{searchTerm:e="",resultMessageType:t=m.s.SEARCH}=n,{title:o,subtitle:a}=_[t];return(0,i.jsxs)(h,{children:[(0,i.jsx)("h2",{className:"no-search-result__title",children:o}),a?(0,i.jsx)("p",{className:"no-search-result__description",children:a}):null,e?(0,i.jsxs)("p",{className:"no-search-result__description",children:["Voc\xea buscou por “",e,"”"]}):null]})}},64760:function(n,e,t){"use strict";t.d(e,{B:function(){return CategoryPage}});var i=t(85893),o=t(67294),a=t(5152),r=t.n(a),s=t(11163),l=t(60439),c=t(72707),d=t(80584),u=t(20559),p=t(19060),m=t(52429),x=t(22393),h=t(35234),_=t(59492),f=t(88064),g=t(38538),w=t(22564),b=t(53917),j=t(46840),v=t(91315),N=t(81836),E=t(32248),S=t(78069),O=t(52029),y=t(37340),I=t(20256);function _templateObject(){let n=(0,y._)(["\n width: 100%;\n\n .breadcrumb-wrapper {\n margin: 10px 0 32px 20px;\n }\n\n .is-desktop-only {\n @media only screen and (max-width: 1024px) {\n display: none;\n }\n }\n\n .is-mobile-only {\n @media only screen and (min-width: 1025px) {\n display: none;\n }\n }\n"]);return _templateObject=function(){return n},n}let C=I.ZP.div.withConfig({componentId:"sc-50908591-0"})(_templateObject()),T=r()(t.e(3985).then(t.bind(t,54899)).then(n=>n.NoSearchResult),{loadableGenerated:{webpack:()=>[54899]}}),R=r()(t.e(3985).then(t.bind(t,54899)).then(n=>n.CategoryBanners),{loadableGenerated:{webpack:()=>[54899]}});function CategoryPage(n){var e,t,a,r;let{slots:y,seoContent:I}=n,{seoTitle:P,categoryName:A,headerTitle:k,categoryDescription:z}=I||{},H=(0,o.useRef)(null),{isTablet:D,isMobile:M}=(0,g.k)(),{results:L,isLoading:B}=(0,w.C)(),{onApplyCategoryFilters:U,getMoreCategoryProducts:G}=(0,b.N)(),F=(0,j.o)(),{cepLocation:V}=(0,v.f)(),q=(0,s.useRouter)(),{breadcrumbCategory:Z,products:Y,pagination:W}=L,{previousSearch:X,resultType:K}=q.query,Q=k||A,$=D?null==y?void 0:null===(e=y[h.o.ANA_LEADS_FORM_COMPONENT_MOBILE])||void 0===e?void 0:e.components:null==y?void 0:null===(t=y[h.o.ANA_LEADS_FORM_COMPONENT])||void 0===t?void 0:t.components;async function updateCategorySort(n){let{currentQuery:e,pagination:t}=L,i=e.query.value.replace(t.sort,n);U(i)}function getShouldShowDesktopBanners(){var n;let e=null==y?void 0:y[h.o.SECTION_BANNERS_1],t=(null==e?void 0:null===(n=e.components[0])||void 0===n?void 0:n.banners)||[],i=t.length>0;return!D&&!K&&i}(0,N.Q)(()=>{F.geolocation(()=>({cepLocation:V}))},[]),(0,E.T)({productsLength:Y.length,isLoading:B,isCategory:!0});let J=D?null==y?void 0:y[h.o.SECTION_GRID_BANNERS_MOBILE]:null==y?void 0:y[h.o.SECTION_GRID_BANNERS],nn=(null==J?void 0:null===(a=J.components)||void 0===a?void 0:a[0])||[];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.F,{title:P||(A?"".concat(A," | ").concat(S.T.PAGE_TITLE_BRAND_NAME):"".concat(S.T.PAGE_TITLE_BRAND_NAME)),description:function(){if(z)return(0,O.ju)(z)}()}),(0,i.jsxs)(m.A,{children:[(0,i.jsx)(p.I,{slot:null==y?void 0:y[h.o.HEADER],extraSlot:null==y?void 0:y[h.o.SECTION_HTML_CAROUSEL]}),function(){let n=M?null==y?void 0:y[h.o.ANACAPRI_TIMER_MOBILE]:null==y?void 0:y[h.o.ANACAPRI_TIMER];return(0,i.jsx)(p.I,{slot:n})}(),function(){let n=getShouldShowDesktopBanners();if(!n)return null;let e=null==$?void 0:$[0],t=e?(0,i.jsx)(d.Y,{...e}):null;return(0,i.jsxs)("div",{className:"tw-relative",children:[(0,i.jsx)(R,{title:Q,slot:null==y?void 0:y[h.o.SECTION_BANNERS_1],className:"is-desktop-only"}),t]})}(),(0,i.jsxs)(C,{children:[K?(0,i.jsx)(T,{searchTerm:X,resultMessageType:Number(K)}):null,D?null:(0,i.jsx)("div",{className:"breadcrumb-wrapper",children:(0,i.jsx)(c.a,{data:(()=>{let n=Z.find(n=>"Home"===n.name)||{name:"Home",url:_.Z.HOME},e=Z.filter(e=>e.name!==n.name);return[n,...e]})()})}),(0,i.jsx)(x.p,{hasDesktopBanner:getShouldShowDesktopBanners(),isLoading:B,linkListSlot:null==y?void 0:y[h.o.SECTION_LINK_LIST_MOBILE],storiesSlot:null==y?void 0:y[h.o.STORIES],promotionParagraphSlot:null==y?void 0:y[h.o.SECTION_PROMOTION_PARAGRAPH],rangeSliderSlot:null==y?void 0:y[h.o.RANGE_SLIDER],seoContent:I,onDropdownPress:n=>updateCategorySort(n),totalResults:W.totalResults,seoBottomRef:H,results:L,onApplyFilter:U,getMoreProducts:G,renderMobileBanners:function(){return D?(0,i.jsx)(R,{slot:null==y?void 0:y[h.o.SECTION_BANNERS_MOBILE_1],title:Q,className:"is-mobile-only"}):null},gridBanners:nn,leadCaptureData:M&&(null==$?void 0:$[0]),renderRecommendedProducts:function(){return(0,i.jsx)("div",{className:"tw-mb-3 tw-mt-5 tw-w-0 tw-min-w-full sm:tw-mb-8 sm:tw-px-4",children:(0,i.jsx)(u.v,{sectionId:f.RECOMMENDATION_SECTION_IDS.PDC_GRID_BOTTOM})})},featureProducts:null==y?void 0:null===(r=y[h.o.FEATURE_PRODUCTS])||void 0===r?void 0:r.components})]}),(0,i.jsx)(p.I,{slot:null==y?void 0:y[h.o.WHEEL]}),(0,i.jsx)(p.I,{slot:null==y?void 0:y[h.o.FOOTER]})]})]})}},23359:function(n,e,t){"use strict";t.d(e,{m:function(){return ChangePasswordPage}});var i=t(85893),o=t(37340),a=t(20256),r=t(21624),s=t(93804);function _templateObject(){let n=(0,o._)(["\n .change-password {\n &__title {\n font-size: 16px;\n font-weight: bold;\n color: ",";\n text-transform: uppercase;\n margin-bottom: 10px;\n }\n\n &__description {\n font-size: 12px;\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.m).withConfig({componentId:"sc-fd2834dc-0"})(_templateObject(),s.H.MINE_SHAFT);function ChangePasswordPage(n){return(0,i.jsx)(l,{...n})}},32881:function(n,e,t){"use strict";t.d(e,{W:function(){return GiftGuidePage}});var i,o,a=t(85893),r=t(67294),s=t(11163),l=t(60439),c=t(19060),d=t(40230),u=t(2243),p=t(17244),m=t(16114),x=t(38538),h=t(66999);(i=o||(o={}))[i.INTRODUCTION=0]="INTRODUCTION",i[i.GIFTED_PERSON=1]="GIFTED_PERSON",i[i.FEATURES=2]="FEATURES",i[i.HOROSCOPE=3]="HOROSCOPE",i[i.BUDGET=4]="BUDGET",i[i.RESULTS=5]="RESULTS";let _={1:{title:"Quero comprar presente para",options:[{description:"Minha m\xe3e",value:"",id:"gifted-person-mom"},{description:"Eu mesma",value:"",id:"gifted-person-myself"},{description:"Minha av\xf3",value:"",id:"gifted-person-grandma"},{description:"Minha melhor amiga",value:"",id:"gifted-person-bff"},{description:"Uma pessoa especial",value:"",id:"gifted-person-dear"},{description:"Outro",value:"",id:"gifted-person-other"}]},2:{title:"Quais s\xe3o as principais caracter\xedsticas da presenteada?",options:[{description:"Atemporal",value:"categories=casual&q=:creation-time",id:"features-timeless"},{description:"Aut\xeantica",value:"categories=brilhos&q=:creation-time",id:"features-authentic"},{description:"Cl\xe1ssica",value:"categories=classicos&q=:creation-time",id:"features-classic"},{description:"Criativa",value:"categories=novidades&q=:creation-time:color:AMARELO:color:AZUL:color:LARANJA:color:ROSA:color:ROXO:color:VERDE:color:VERMELHO",id:"features-creative"},{description:"Descomplicada",value:"categories=classicos&q=:creation-time",id:"features-simple"},{description:"Elegante",value:"categories=casual&q=:creation-time",id:"features-elegant"},{description:"Fashionista",value:"categories=tenistendencia&q=:creation-time",id:"features-fashionista"},{description:"Moderna",value:"categories=novidades&q=:creation-time:color:MARROM:color:VERMELHO",id:"features-modern"},{description:"Vibrante",value:"categories=novidades&q=:creation-time:color:DOURADO:color:PRATEADO:color:BRONZE:color:AZUL:color:LARANJA:color:AMARELO:color:ROSA:color:VERMELHO:color:VERDE:color:MULTICOLOR",id:"features-vibrant"}]},3:{title:"Marque a op\xe7\xe3o abaixo que contenha o signo da presenteada",options:[{description:"\xc1ries",value:"",id:"horoscope-aries"},{description:"Touro",value:"",id:"horoscope-taurus"},{description:"G\xeameos",value:"",id:"horoscope-gemini"},{description:"C\xe2ncer",value:"",id:"horoscope-cancer"},{description:"Le\xe3o",value:"",id:"horoscope-leo"},{description:"Virgem",value:"",id:"horoscope-virgo"},{description:"Libra",value:"",id:"horoscope-libra"},{description:"Escorpi\xe3o",value:"",id:"horoscope-scorpio"},{description:"Sagit\xe1rio",value:"",id:"horoscope-sagittarius"},{description:"Capric\xf3rnio",value:"",id:"horoscope-capricorn"},{description:"Aqu\xe1rio",value:"",id:"horoscope-aquarius"},{description:"Peixes",value:"",id:"horoscope-pisces"},{description:"N\xe3o sei o signo",value:"",id:"horoscope-unknown"}]},4:{title:"Em m\xe9dia, quanto voc\xea quer investir no presente?",options:[{description:"At\xe9 R$ 150",value:":price:R%24+0+-+R%24+100:price:R%24+100+-+R%24+150&page=0",id:"budget-150"},{description:"At\xe9 R$ 200",value:":price:R%24+0+-+R%24+100:price:R%24+100+-+R%24+150:price:R%24+150+-+R%24+200&page=0",id:"budget-200"},{description:"At\xe9 R$ 250",value:":price:R%24+0+-+R%24+100:price:R%24+100+-+R%24+150:price:R%24+150+-+R%24+200:price:R%24+200+-+R%24+250&page=0",id:"budget-250"},{description:"Acima de R$ 250",value:":price:R%24+250+-+R%24+300:price:R%24+300+-+R%24+350:price:R%24+350+-+R%24+400:price:R%24+400+-+R%24+450&page=0",id:"budget-over-250"},{description:"N\xe3o decidi ainda",value:"",id:"budget-unknown"}]}},f={DESKTOP:{src:h.Y.GIFT_GUIDE.ACTION.DESKTOP,width:408,height:380,className:"tw-object-cover"},MOBILE:{src:h.Y.GIFT_GUIDE.ACTION.MOBILE,width:244,height:186,className:"tw-object-cover tw-scale-110"}};function Introduction(n){let{goToStep:e}=n,{isTablet:t,isLoadingSize:i}=(0,x.k)(),r=t?"calc(100dvh - ".concat(d.i.MOBILE_HEADER_HEIGHT,"px)"):"calc(100vh - ".concat(d.i.HEADER_HEIGHT,"px)");return(0,a.jsxs)("div",{className:"tw-flex tw-flex-col tw-items-center tw-bg-white lg:tw-flex-row",style:{height:r},children:[(0,a.jsx)("div",{className:"tw-relative tw-h-full tw-w-full tw-overflow-hidden tw-bg-anacapri-xmas-light-red lg:tw-w-1/2",children:i?null:(0,a.jsx)(m.P,{alt:"Banner do Guia de Presentes Anacapri",width:t?375:1440,height:t?667:805,quality:100,src:h.Y.GIFT_GUIDE.BACKGROUND,className:"tw-h-full tw-w-full tw-object-contain lg:tw-object-cover"})}),(0,a.jsx)("div",{className:"tw-mb-6 tw-mt-10 tw-flex tw-h-full tw-w-full tw-items-center tw-justify-center lg:tw-mt-0 lg:tw-w-1/2",children:(0,a.jsx)("button",{className:"tw-flex",onClick:function(){e({newStep:o.GIFTED_PERSON,lastStep:o.INTRODUCTION})},children:function(){let n=t?f.MOBILE:f.DESKTOP;return(0,a.jsx)(m.P,{alt:"Guia de Presentes Anacapri",quality:100,...n})}()})})]})}var g=t(42473),w=t(87808),b=t(82888);let j="adaptive-bottom-sheet [&_button]:tw-m-0 tw-z-[2] tw-fixed tw-bottom-0 tw-left-0 tw-w-full tw-rounded-t-[32px] tw-bg-mexican-red tw-px-4 tw-py-6 tw-transition-transform tw-duration-300 md:tw-hidden";function AdaptiveBottomSheet(n){let{isRefElementInViewport:e,children:t}=n,[i,o]=(0,r.useState)(j);return(0,r.useEffect)(()=>{e?o("".concat(j," tw-translate-y-full")):o("".concat(j," tw-translate-y-0 tw-animate-slideUpOnce"))},[e]),(0,a.jsx)("div",{className:i,children:t})}function QuestionForm(n){let{goToStep:e,questionTitle:t,options:i,currentStep:s,onSubmitStep:l,pastSelectedOptions:c}=n,[u,p]=(0,r.useState)({id:"",value:"",description:""}),{isMobile:m}=(0,x.k)(),[h,_]=(0,r.useState)(!1),[f,j]=(0,b.N)({persistAfterFirstView:!1,rootMargin:m?"".concat(-d.i.MOBILE_HEADER_HEIGHT,"px"):"".concat(-d.i.HEADER_HEIGHT,"px")});function renderButton(n){let{hasRef:e=!1}=n||{},t=e?{ref:f.set}:{},i=s===o.BUDGET,r=i?null:(0,a.jsx)(g.X,{name:"arrowRight",size:12,className:"[&_svg_path]:[stroke-width:3px]"});return(0,a.jsxs)(w.z,{shouldGrow:!0,className:"tw-mx-0 tw-my-[4vh] tw-gap-2 tw-border-anacapri-xmas-green\n tw-bg-anacapri-xmas-green tw-text-base tw-font-medium\n md:tw-max-w-[400px]\n ".concat(u.id?"tw-text-white":"tw-text-zinc-400"),type:"submit",isDisabled:!u.id,...t,children:[i?"Conferir sugest\xf5es de produtos":"Continuar"," ",r]})}return(0,r.useEffect)(()=>{let n=setTimeout(()=>{_(!0)},810);return()=>{clearTimeout(n)}},[]),(0,r.useEffect)(()=>{let n=c[s];p(n)},[c,s]),(0,a.jsxs)("form",{className:"tw-flex tw-h-full tw-min-h-[inherit] tw-flex-col tw-items-center tw-justify-center tw-px-4 tw-pb-0 tw-pt-10 tw-text-white md:tw-pt-9 md:[&_>_*]:tw-w-full md:[&_>_*]:tw-max-w-[800px]",onSubmit:function(n){n.preventDefault(),l({[s]:u})},children:[(0,a.jsxs)("div",{className:"tw-mb-6 tw-flex tw-w-full tw-items-center tw-justify-between tw-font-medium",children:[(0,a.jsxs)("button",{className:"tw-flex tw-items-center tw-gap-2 tw-text-sm tw-font-medium tw-leading-6 tw-text-inherit",type:"button",onClick:function(){e({newStep:s-1,lastStep:s})},children:[(0,a.jsx)(g.X,{name:"arrowLeft",size:12,className:"[&_svg_path]:[stroke-width:3px]"}),"Voltar"]}),s," / 4"]}),(0,a.jsx)("h2",{className:"tw-mb-4 tw-w-full tw-text-2xl tw-font-bold tw-leading-9",children:t}),(0,a.jsx)("div",{className:"tw-flex tw-flex-1 tw-flex-wrap tw-gap-2 [--flexPercentage:45%] md:has-children-4:[--flexPercentage:100%] md:has-children-9:[--flexPercentage:30%] md:has-children-12:[--flexPercentage:20%]",children:i.map(n=>{let{description:e="",value:t="",id:i}=n;return(0,a.jsxs)("label",{className:"tw-inline-flex tw-min-h-[90px] tw-flex-[1_1_var(--flexPercentage)] tw-cursor-pointer tw-flex-col tw-items-center tw-justify-center tw-rounded-2xl tw-bg-white tw-text-center tw-text-base tw-font-medium tw-uppercase tw-text-anacapri-xmas-red tw-transition-colors tw-duration-300 [&:has(input:checked)]:tw-bg-anacapri-xmas-green [&:has(input:checked)]:tw-text-white [&:last-child:has(img)]:tw-max-w-[calc(50%_-_4px)] [&:not(:has(img))]:tw-min-h-[50px]",children:[(0,a.jsx)("input",{id:i,type:"radio",name:"option",value:t,onChange:()=>p({id:i,value:t,description:e}),checked:i===u.id,className:"tw-hidden"}),(0,a.jsx)("span",{children:e})]},i)})}),renderButton({hasRef:!0}),m&&h?(0,a.jsx)(AdaptiveBottomSheet,{isRefElementInViewport:j,children:renderButton()}):null]})}var v=t(5152),N=t.n(v),E=t(7597),S=t.n(E),O=t(51408),y=t(5632),I=t(68460),C=t(6357),T=t(77794),R=t(21503),P=t(22564),A=t(46840),k=t(11356),z=t(91315),H=t(53917),D=t(62169),M=t(81836),L=t(55773);let B=N()(()=>Promise.all([t.e(1255),t.e(2422),t.e(741),t.e(759),t.e(5360),t.e(1598),t.e(1991),t.e(8284),t.e(3989),t.e(7483),t.e(8025),t.e(3717)]).then(t.bind(t,68512)).then(n=>n.ProgressBar),{loadableGenerated:{webpack:()=>[68512]}}),U=/:price:[^&:]+/g,G=/&page=\d+/g,F="Guia de presentes Anacapri",V={MOBILE:2,DESKTOP:5};function Results(n){let{goToStep:e,selectedOptions:t,clearSelectedOptions:i}=n,{isLoading:l,results:{products:c,pagination:d},isLoadingMore:u}=(0,P.C)(),p=(0,A.o)(),{user:m}=(0,k.aC)(),{cepLocation:h}=(0,z.f)(),_=(0,s.useRouter)(),{getMoreCategoryProducts:f}=(0,H.N)(),{isMobile:g}=(0,x.k)(),[b,j]=(0,r.useState)(!0),[v,N]=(0,r.useState)(!1),E=g?V.MOBILE:V.DESKTOP,q=(0,r.useMemo)(()=>c.map((n,e)=>({...n,positionInList:e})),[c]);(0,r.useEffect)(()=>{let n=setTimeout(()=>{j(!1)},2e3);return()=>clearTimeout(n)},[]),(0,r.useEffect)(()=>{var n;let e=_.query.q,i=c.length>0,a=(null===(n=t[o.BUDGET])||void 0===n?void 0:n.id)==="budget-over-250",r=null==e?void 0:e.includes(":price:"),s=!l&&!i&&!v&&a&&r;if(s){N(!0);let n=e.replace(U,"").replace(G,"");_.replace({query:{..._.query,q:n}},void 0,{shallow:!0})}},[l,c.length,v,t,_]);let[Z,Y]=(0,D.o)({threshold:.5,childrenData:q,isLoading:l});async function handleProductEvent(n){let{trackingProductsList:e,isClick:t}=n,i=await (0,L.SG)({user:m,cepLocation:h});p.giftGuideImpression({products:e,title:F,userProperty:i,eventType:t?R.SX.PRODUCT_CLICK:R.SX.PRODUCT_IMPRESSION})}function renderChipOption(n){let{label:e}=n;return(0,a.jsx)(O.A,{className:"tw-h-8 tw-min-w-max tw-bg-pampas [&_span]:tw-text-base [&_span]:tw-text-emperor",label:e})}function renderSelectedOptions(n){let{isCarousel:e}=n;return Object.values(t).filter(n=>{let{description:e}=n;return!!e}).map(n=>{let{id:t,description:i}=n;return e?(0,a.jsx)(y.q,{className:"tw-min-w-fit",children:renderChipOption({label:i})},t):(0,a.jsx)("li",{children:renderChipOption({label:i})},t)})}function handleClickSeeMoreProducts(n){n.currentTarget.blur(),f({isOutsideCategoryPage:!0})}return(0,M.Q)(()=>{0===Y.length||b||handleProductEvent({trackingProductsList:Y})},[Y,b]),(0,a.jsxs)("div",{className:"tw-flex tw-min-h-[inherit] tw-flex-col",children:[(0,a.jsxs)("div",{className:"tw-mt-12 tw-flex tw-flex-col tw-items-center tw-justify-center tw-px-5 tw-text-center tw-text-white",children:[(0,a.jsxs)("h1",{className:"tw-mb-6 tw-flex tw-flex-col tw-gap-1 tw-text-[32px] tw-font-bold tw-leading-10",children:[(0,a.jsx)("span",{className:"tw-text-xs tw-font-medium tw-uppercase tw-leading-[14px]",children:"Guia de Presentes"}),F]}),(0,a.jsx)("p",{className:"tw-mb-2 tw-font-bold",children:"Suas prefer\xeancias"}),g?(0,a.jsx)(I.l,{className:"tw-w-[calc(100%+40px)]",options:{hidePagination:!0,hideArrows:!0,drag:!0,mode:"snap",slides:{perView:"auto",spacing:8,origin:.05}},children:renderSelectedOptions({isCarousel:!0})}):(0,a.jsx)("ul",{className:"tw-flex tw-flex-wrap tw-justify-center tw-gap-2",children:renderSelectedOptions({isCarousel:!1})}),(0,a.jsx)("button",{onClick:function(){e({newStep:o.INTRODUCTION,lastStep:o.RESULTS}),setTimeout(()=>{i(),_.push({query:""},void 0,{shallow:!0})},800)},className:"tw-mb-8 tw-mt-2 tw-text-xs tw-leading-[18px] tw-text-ebb tw-underline",children:"Refazer quiz"})]}),(0,a.jsxs)("div",{className:"tw-w-full tw-flex-1 tw-rounded-t-[32px] tw-bg-white tw-px-4 tw-py-6 md:tw-p-10 md:tw-pb-20",children:[(0,a.jsx)("h2",{className:"tw-mb-6 tw-text-center tw-text-[28px] tw-font-bold tw-leading-[34px] tw-text-bright-red",children:function(){let n=t[o.GIFTED_PERSON].id;return"gifted-person-other"===n?"Essa \xe9 a nossa sugest\xe3o de produtos para voc\xea":"Achamos que ".concat(function(){let n=t[o.GIFTED_PERSON].id;return({"gifted-person-mom":"sua m\xe3e","gifted-person-myself":"voc\xea","gifted-person-grandma":"sua av\xf3","gifted-person-bff":"sua melhor amiga","gifted-person-dear":"sua pessoa especial","gifted-person-other":"essa pessoa especial"})[n]}()," vai gostar")}()}),(0,a.jsx)("ul",{className:"tw-mb-7 tw-flex tw-w-full tw-flex-wrap tw-gap-4 md:tw-m-auto md:tw-max-w-[1104px] md:tw-gap-10",ref:Z.set,children:function(){let n=l&&!u;return n?Array.from({length:E}).map(()=>(0,a.jsx)(C.O,{className:"tw-aspect-[20.1_/_26] tw-w-[calc(50%-8px)] md:tw-w-[calc(20%-32px)] [&_.skeleton-line]:tw-mb-4 [&_.skeleton-line]:tw-h-full md:[&_.skeleton-line]:tw-mb-10",lines:2},S().generate())):q.map((n,e)=>(0,a.jsx)(T.C,{product:n,hasDiscountTag:!0,hasImagePriority:0===e,className:"tw-w-[calc(50%-8px)] md:tw-w-[calc(20%-32px)]",trackingEvent:n=>{let{trackingProductsList:e}=n;return handleProductEvent({trackingProductsList:e,isClick:!0})},hasGtmAttr:!1,dataIndex:e},n.code))}()}),function(){let{totalResults:n}=d,e=c.length;return e*]:tw-left-[unset]",isLoading:u,onClick:handleClickSeeMoreProducts,children:"Ver mais produtos"})]}):null}()]})]})}let q={id:"",value:"",description:""},Z={[o.INTRODUCTION]:q,[o.GIFTED_PERSON]:q,[o.FEATURES]:q,[o.HOROSCOPE]:q,[o.BUDGET]:q,[o.RESULTS]:q},Y={"--minScreenHeightDesktop":"calc(100vh - ".concat(d.i.HEADER_HEIGHT,"px)"),"--minScreenHeightMobile":"calc(100dvh - ".concat(d.i.MOBILE_HEADER_HEIGHT,"px)")};function GiftGuidePage(n){let{slots:e}=n,[t,i]=(0,r.useState)(o.INTRODUCTION),[d,m]=(0,r.useState)(null),[x,h]=(0,r.useState)(Z),[f,g]=(0,r.useState)(!1),w=(0,s.useRouter)(),{isSourceApp:b}=(0,p.x)();function updateStep(n){let{newStep:e,lastStep:t}=n;window.scrollTo({top:0,behavior:"smooth"}),i(e),g(!0),m(t),setTimeout(()=>{g(!1),m(null)},810)}function handleSubmitStep(n){let e={...x,...n};h(e);let i=Object.keys(n).includes(o.BUDGET.toString());if(i){let n=Object.values(e).map(n=>n.value).join("");if(b){let e=n.replace("categories=","/c/").replace("&","?"),t=decodeURIComponent(e).replaceAll("+"," ");return w.push(t)}w.replace({query:n},{query:""},{shallow:!0})}updateStep({newStep:t+1,lastStep:t})}function clearSelectedOptions(){h(Z)}function renderStep(n){var e;let t={[o.INTRODUCTION]:()=>(0,a.jsx)(Introduction,{goToStep:updateStep}),[o.GIFTED_PERSON]:()=>{let{title:n,options:e}=_[o.GIFTED_PERSON];return(0,a.jsx)(QuestionForm,{goToStep:updateStep,questionTitle:n,options:e,currentStep:o.GIFTED_PERSON,onSubmitStep:handleSubmitStep,pastSelectedOptions:x},o.GIFTED_PERSON)},[o.FEATURES]:()=>{let{title:n,options:e}=_[o.FEATURES];return(0,a.jsx)(QuestionForm,{goToStep:updateStep,questionTitle:n,options:e,currentStep:o.FEATURES,onSubmitStep:handleSubmitStep,pastSelectedOptions:x},o.FEATURES)},[o.HOROSCOPE]:()=>{let{title:n,options:e}=_[o.HOROSCOPE];return(0,a.jsx)(QuestionForm,{goToStep:updateStep,questionTitle:n,options:e,currentStep:o.HOROSCOPE,onSubmitStep:handleSubmitStep,pastSelectedOptions:x},o.HOROSCOPE)},[o.BUDGET]:()=>{let{title:n,options:e}=_[o.BUDGET];return(0,a.jsx)(QuestionForm,{goToStep:updateStep,questionTitle:n,options:e,currentStep:o.BUDGET,onSubmitStep:handleSubmitStep,pastSelectedOptions:x},o.BUDGET)},[o.RESULTS]:()=>(0,a.jsx)(Results,{goToStep:updateStep,selectedOptions:x,clearSelectedOptions:clearSelectedOptions})};return(null===(e=t[n])||void 0===e?void 0:e.call(t))||null}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.F,{title:"Guia de Presentes"}),(0,a.jsx)(c.I,{slot:null==e?void 0:e[u.e.HEADER]}),(0,a.jsxs)("div",{style:Y,className:"tw-relative tw-min-h-[--minScreenHeightMobile] tw-overflow-x-hidden tw-bg-anacapri-xmas-red lg:tw-min-h-[--minScreenHeightDesktop]",children:[(0,a.jsx)("div",{className:function(){let n=null!==d&&d>t;return f?"".concat(n?"tw-animate-slideLeftIn":"tw-animate-slideRightIn"," tw-min-h-[inherit]"):"tw-min-h-[inherit]"}(),children:renderStep(t)}),function(){let n=null!==d;return n?(0,a.jsx)("div",{className:function(){let n="tw-min-h-[inherit] tw-pointer-events-none tw-z-[1] tw-absolute tw-top-0 tw-left-0 tw-w-full";return null===d?"":d>t?"".concat(n," tw-animate-slideRightOut"):"".concat(n," tw-animate-slideLeftOut")}(),children:renderStep(d)}):null}()]}),(0,a.jsx)(c.I,{slot:null==e?void 0:e[u.e.FOOTER]})]})}},73336:function(n,e,t){"use strict";t.d(e,{U:function(){return HomePage}});var i=t(85893),o=t(19060),a=t(69289),r=t(38538),s=t(69280),l=t(46840),c=t(91315),d=t(81836),u=t(37340),p=t(20256),m=t(52429);function _templateObject(){let n=(0,u._)(["\n .home-stories {\n margin-bottom: 16px;\n }\n"]);return _templateObject=function(){return n},n}let x=(0,p.ZP)(m.A).withConfig({componentId:"sc-d2cef1b6-0"})(_templateObject());function HomePage(n){let{slots:e}=n,{isMobile:t,isTablet:u}=(0,r.k)(),{isServer:p}=(0,s.w)(),m=(0,l.o)(),{cepLocation:h}=(0,c.f)();return(0,d.Q)(()=>{m.geolocation(()=>({cepLocation:h}))},[]),(0,i.jsxs)(x,{children:[(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.HEADER],extraSlot:null==e?void 0:e[a.O.SECTION_HTML_CAROUSEL]}),function(){let n=t?null==e?void 0:e[a.O.ANACAPRI_TIMER_MOBILE]:null==e?void 0:e[a.O.ANACAPRI_TIMER];return(0,i.jsx)(o.I,{slot:n})}(),function(){let n=p||t?null==e?void 0:e[a.O.SECTION_BANNER_CAROUSEL_MOBILE]:null==e?void 0:e[a.O.SECTION_BANNER_CAROUSEL];return(0,i.jsx)(o.I,{slot:n})}(),function(){let n=null==e?void 0:e[a.O.FEATURE_PRODUCTS];return(0,i.jsx)(o.I,{slot:n})}(),(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.SECTION_CAMPAIGN_BANNERS]}),u?(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.STORIES],className:"home-stories"}):null,function(){let n=t?null==e?void 0:e[a.O.SECTION_COLLECTION_SHOWCASE_MOBILE]:null==e?void 0:e[a.O.SECTION_COLLECTION_SHOWCASE];return(0,i.jsx)(o.I,{slot:n})}(),(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.SECTION_BANNERS]}),(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.SECTION_PRODUCT_CAROUSEL_1]}),function(){let n=t?null==e?void 0:e[a.O.BANNER_1_MOBILE]:null==e?void 0:e[a.O.BANNER_1];return(0,i.jsx)(o.I,{slot:n})}(),(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.SECTION_ZZ_CONTENT_HIGHLIGHT_POSTS]}),(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.PRODUCT_LIST_BY_OPTION]}),(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.WHEEL]}),(0,i.jsx)(o.I,{slot:null==e?void 0:e[a.O.FOOTER]})]})}},96038:function(n,e,t){"use strict";t.d(e,{q:function(){return InspiraPage}});var i=t(85893),o=t(67294),a=t(11163),r=t(5632),s=t(68460),l=t(5506),c=t(87808),d=t(52429),u=t(19060),p=t(58035),m=t(40230),x=t(88029),h=t(69183),_=t(38538),f=t(59925),g=t(51714),w=t(11084),b=t(73866),j=t(34431),v=t(41664),N=t.n(v),E=t(96984);function InspiraPost(n){let{post:e,className:t=""}=n,{title:o,imageUrl:a,summary:r,publicationDate:s,url:l}=e;return(0,i.jsx)("article",{className:"".concat(t," tw-w-full tw-animate-[tw-opening_1.5s_ease] tw-rounded-lg tw-bg-white tw-p-3 lg:tw-p-[18px]"),children:(0,i.jsxs)(N(),{prefetch:!1,href:l,className:"post-link tw-flex tw-h-full tw-flex-row tw-text-emperor tw-no-underline lg:tw-flex-col",children:[(0,i.jsx)("div",{className:"post-image tw-w-2/5 tw-max-w-[140px] lg:tw-w-full lg:tw-max-w-[unset]",children:(0,i.jsx)(E.M.Image,{src:a,alt:o,width:380,height:380,layout:"responsive",objectFit:"cover",className:"tw-transition-transform tw-duration-200"})}),(0,i.jsxs)("div",{className:"post-content tw-ml-2.5 tw-flex tw-h-full tw-w-3/5 tw-flex-col lg:tw-m-0 lg:tw-w-full",children:[(0,i.jsxs)("div",{className:"post-heading tw-mt-2.5 tw-flex tw-justify-between tw-gap-2.5 lg:tw-my-2.5",children:[(0,i.jsx)("h3",{className:"tw-line-clamp-2 tw-min-h-8 tw-text-sm tw-font-bold tw-leading-4",children:o}),(0,i.jsx)("p",{className:"tw-whitespace-nowrap tw-text-xs",children:s})]}),(0,i.jsx)("p",{className:"post-summary tw-mt-2 tw-line-clamp-4 tw-text-xs lg:tw-my-2",children:r}),(0,i.jsx)("span",{className:"tw-mt-auto tw-hidden tw-text-xs tw-underline lg:tw-block",children:"Ler mais"})]})]})})}let S={hidePagination:!0,hideArrows:!0,slides:{perView:1.25,spacing:15,origin:.05},loop:!1},O="Ops! N\xe3o foi poss\xedvel carregar os posts no momento. Por favor, tente novamente mais tarde.",y="highlight";function InspiraPage(n){let{slots:e,posts:t,highlightPosts:v,pagination:N,previousSearch:E,searchText:I}=n,[C,T]=(0,o.useState)(t),[R,P]=(0,o.useState)(N),[A,k]=(0,o.useState)(!1),z=(0,a.useRouter)(),{toast:H}=(0,h.pm)(),{isTablet:D,isMobile:M}=(0,_.k)(),L=M&&C.length>2;function renderPosts(n,e){return L?n.map(n=>(0,i.jsx)(r.q,{children:(0,i.jsx)(InspiraPost,{className:e,post:n},n.url)},n.url)):n.map(n=>(0,i.jsx)(InspiraPost,{className:e,post:n},n.url))}async function handleClickSeeMoreButton(n){var e,t;let i=n.currentTarget.offsetTop;n.currentTarget.blur(),k(!0);let{result:o,hasError:a,errors:r}=await w.s.getPosts({categoryCode:null===(e=z.query.categoryCode)||void 0===e?void 0:e.toString(),currentPage:R.currentPage+1,searchText:null===(t=z.query.searchText)||void 0===t?void 0:t.toString()}),s=!(null==o?void 0:o.posts.length);if(a||s){H.error(O,{isDismissible:!0}),b.vU({title:O,stack:r}),k(!1);return}let{posts:l=[],pagination:c}=o||{};T(n=>[...n,...l]),P(n=>c||n),z.push({query:{...z.query,currentPage:null==c?void 0:c.currentPage}},void 0,{shallow:!0}),k(!1);let d=D?m.i.MOBILE_HEADER_HEIGHT:m.i.HEADER_HEIGHT;scrollTo({top:i-1.5*d,behavior:"smooth"})}return(0,f.Y)(()=>{T(t),P(N)},[t,N]),(0,i.jsxs)(d.A,{children:[(0,i.jsx)(u.I,{slot:null==e?void 0:e[x.C.HEADER]}),(0,i.jsxs)("div",{children:[(0,i.jsx)(p.H,{initialSearchValue:I||E,categoryListSlot:null==e?void 0:e[x.C.ZZ_CONTENT_CATEGORY_LIST]}),(0,i.jsx)("section",{className:"tw-flex tw-flex-col tw-items-center tw-justify-center",children:(0,i.jsxs)("div",{className:"tw-mx-auto tw-w-full tw-max-w-[1140px] tw-px-5",children:[I?(0,i.jsx)("div",{className:"tw-mx-auto tw-mb-7 tw-mt-9 tw-text-center",children:(0,i.jsxs)("p",{className:"tw-mx-auto tw-mb-8 tw-mt-2.5 tw-text-sm lg:tw-text-base",children:["Voc\xea buscou por"," ",(0,i.jsx)("span",{className:"tw-font-bold",children:decodeURIComponent(I)})]})}):null,E?(0,i.jsxs)("div",{className:"tw-mx-auto tw-mb-7 tw-mt-9 tw-text-center",children:[(0,i.jsx)("h3",{className:"tw-text-bold tw-relative tw-pb-[13px] tw-text-center tw-text-lg tw-text-mine-shaft after:tw-absolute after:tw-bottom-0 after:tw-left-1/2 after:tw-block after:tw-h-[3px] after:tw-w-[59px] after:-tw-translate-x-1/2 after:tw-bg-torch-red after:tw-content-[''] lg:tw-text-2xl lg:after:tw-w-[111px]",children:"N\xe3o encontramos resultados para sua busca :("}),(0,i.jsxs)("p",{className:"tw-mx-auto tw-mb-8 tw-mt-2.5 tw-text-sm lg:tw-text-base",children:["Voc\xea buscou por"," ",(0,i.jsx)("span",{className:"tw-font-bold",children:decodeURIComponent(E)})]}),(0,i.jsx)("h4",{className:"tw-text-base lg:tw-text-lg",children:"Que tal navegar em algumas das op\xe7\xf5es abaixo?"})]}):null,(0,i.jsx)("div",{className:"tw-mb-9 tw-mt-8 tw-flex tw-gap-5 [&_.highlight]:tw-p-0 [&_.highlight_.post-content]:tw-ml-0 [&_.highlight_.post-content]:tw-w-full [&_.highlight_.post-image]:tw-w-full [&_.highlight_.post-image]:tw-max-w-[unset] [&_.highlight_.post-link]:tw-flex-col [&_.highlight_.post-summary]:tw-mb-2 [&_.highlight_.post-summary]:tw-mt-4 [&_.highlight_span]:tw-block",children:function(){let n=(null==v?void 0:v.length)>0&&!E;return n?L?(0,i.jsx)(s.l,{className:"tw-w-[calc(100%+40px)] -tw-translate-x-5",options:S,children:renderPosts(v,y)}):renderPosts(v,y):null}()})]})}),(0,i.jsxs)("section",{className:"tw-bg-pampas-pink tw-py-9 lg:tw-py-14",children:[(0,i.jsx)("div",{className:"tw-mx-auto tw-flex tw-w-full tw-max-w-[1070px] tw-flex-col tw-gap-3 tw-px-5 lg:tw-flex-row lg:tw-flex-wrap lg:tw-gap-y-[18px] [&_article]:lg:tw-w-[calc(25%-9px)]",children:renderPosts(C)}),function(){let{totalPages:n,currentPage:e,totalResults:t}=R,o=C.length,{shouldRenderSeeMorePostsButton:a}=(0,j.W)({currentPage:e,defaultPageSize:g.DEFAULT_PAGE_SIZE,totalPages:n,totalResults:t}),r=Math.round(100*o/t);return a?(0,i.jsxs)("div",{className:"tw-mx-auto tw-my-8 tw-max-w-56 tw-text-center",children:[(0,i.jsxs)("p",{className:"tw-mb-3 tw-text-xs tw-text-dove-gray",children:[o," de ",t]}),(0,i.jsx)(l.k,{percentage:r}),(0,i.jsx)(c.z,{isLoading:A,onClick:handleClickSeeMoreButton,className:"tw-mt-3 tw-min-h-10 tw-text-xs",children:"Ver mais posts"})]}):null}()]})]}),(0,i.jsx)(u.I,{slot:null==e?void 0:e[x.C.FOOTER]})]})}},83814:function(n,e,t){"use strict";t.d(e,{X:function(){return LoginPage}});var i=t(85893),o=t(37340),a=t(20256),r=t(94182);function _templateObject(){let n=(0,o._)(["\n .grid-login {\n max-width: 970px;\n }\n\n .divider {\n padding: 10px 15px;\n }\n\n .register-step-back {\n text-transform: uppercase;\n }\n"]);return _templateObject=function(){return n},n}let s=(0,a.ZP)(r.X).withConfig({componentId:"sc-7ca12398-0"})(_templateObject());function LoginPage(n){let{slots:e}=n;return(0,i.jsx)(s,{slots:e})}},74797:function(n,e,t){"use strict";t.d(e,{y:function(){return AddressBookPage}});var i=t(85893),o=t(37340),a=t(20256),r=t(32274),s=t(93804);function _templateObject(){let n=(0,o._)(["\n :nth-child(n) {\n .address-form {\n &__footer {\n &.floating {\n @media only screen and (max-width: 768px) {\n bottom: 50px;\n }\n }\n }\n }\n }\n\n .accordion-address,\n .accordion__container {\n border-radius: 5px;\n }\n\n .accordion-address__title {\n label {\n font-size: 14px;\n color: ",";\n }\n }\n\n .container-link {\n margin-top: 12px;\n\n .link {\n font-size: 12px;\n }\n }\n\n .register-new-address {\n .zz-icon {\n right: 20px;\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.y).withConfig({componentId:"sc-6e420f09-0"})(_templateObject(),s.H.MINE_SHAFT);function AddressBookPage(n){return(0,i.jsx)(l,{...n})}},34946:function(n,e,t){"use strict";t.d(e,{R:function(){return CashbackPage}});var i=t(85893),o=t(74416);function CashbackPage(n){return(0,i.jsx)(o.R,{...n})}},84374:function(n,e,t){"use strict";t.d(e,{u:function(){return ExchangeDetailsPage}});var i=t(85893);t(67294);var o=t(37340),a=t(20256),r=t(73231),s=t(93804);function _templateObject(){let n=(0,o._)(["\n .account {\n &__box {\n padding: 18px 24px;\n border-radius: 5px;\n }\n }\n\n .details {\n &__item {\n margin: 20px 0 0;\n border: 1px solid ",";\n border-radius: 5px;\n\n .section-title {\n font-weight: 700;\n font-size: 14px;\n letter-spacing: 0;\n }\n\n .description {\n @media only screen and (min-width: 1024px) {\n min-width: 174px;\n }\n }\n\n .circle {\n &--active {\n border-color: ",";\n }\n\n &::before {\n @media only screen and (min-width: 1024px) {\n width: 175px;\n }\n }\n }\n }\n }\n\n .product-details {\n margin: 20px 0 0;\n border: 1px solid ",";\n border-radius: 5px;\n\n .product {\n &__thumb {\n border: none;\n min-width: 90px;\n }\n }\n\n .title-box {\n .button {\n .zz-icon svg path {\n fill: currentColor;\n }\n\n &:hover,\n &:focus {\n background-color: ",";\n border: none;\n }\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.u).withConfig({componentId:"sc-30141cab-0"})(_templateObject(),s.H.ALTO,s.H.FUN_GREEN,s.H.ALTO,s.H.TRANSPARENT);function ExchangeDetailsPage(n){return(0,i.jsx)(l,{...n})}},40782:function(n,e,t){"use strict";t.d(e,{P:function(){return MyCreditsPage}});var i=t(85893);t(67294);var o=t(37340),a=t(20256),r=t(31650),s=t(93804);function _templateObject(){let n=(0,o._)(["\n .my-credits {\n &__container-current-balance {\n margin-bottom: 10px;\n }\n\n &__current-balance-label {\n font-weight: bold;\n font-size: 16px;\n margin-bottom: 0;\n color: ",";\n }\n\n &__current-balance {\n font-weight: 700;\n font-size: 16px;\n color: ",";\n }\n\n &__content {\n border-radius: 5px;\n\n &--emphasis {\n font-weight: bold;\n }\n\n @media only screen and (min-width: 768px) {\n gap: 12px;\n padding: 30px 25px;\n }\n }\n\n &__container-link {\n a {\n font-size: 12px;\n }\n }\n }\n\n .transaction-amount {\n white-space: nowrap;\n font-weight: 600;\n\n &--debit {\n span {\n color: ",";\n }\n }\n\n &--credit {\n span {\n color: ",";\n }\n }\n\n span {\n font-size: 14px;\n }\n }\n\n .transaction-name {\n font-weight: 500;\n display: flex;\n align-items: center;\n }\n\n @media only screen and (max-width: 768px) {\n .my-credits {\n &__current-balance-label {\n font-size: 14px;\n }\n\n &__current-balance {\n font-size: 14px;\n }\n\n &__content {\n &--description {\n font-size: 12px;\n line-height: 1.4;\n }\n }\n\n &__transaction-balance {\n font-size: 12px;\n }\n }\n\n .transaction-list-label {\n font-size: 12px;\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.P).withConfig({componentId:"sc-a24f0b49-0"})(_templateObject(),s.H.DAVYS_GREY_DARKER,s.H.FUN_GREEN,s.H.CARMINE,s.H.FUN_GREEN);function MyCreditsPage(n){return(0,i.jsx)(l,{...n})}},81495:function(n,e,t){"use strict";t.d(e,{L:function(){return OrderPage}});var i=t(85893),o=t(37340),a=t(20256),r=t(16156),s=t(93804);function _templateObject(){let n=(0,o._)(["\n .order-page {\n &__container-detail {\n padding: 25px;\n box-shadow: none;\n }\n\n .order-header {\n border: 0;\n margin-bottom: 5px;\n }\n\n .delivery-content {\n &__header {\n padding: 10px 12px 0;\n }\n\n > div:not(:first-child) {\n margin: 0 20px 5px;\n }\n }\n\n .section-title {\n font-size: 14px;\n }\n\n .item-box {\n &__image {\n border: none;\n }\n }\n\n .payment-order {\n @media only screen and (min-width: 768px) {\n margin-bottom: 20px;\n }\n }\n\n .product__info {\n &--processing-order {\n font-size: 14px;\n }\n }\n\n .delivery-mode-label {\n font-weight: 700;\n }\n\n .resume {\n font-size: 14px;\n font-weight: 400;\n gap: 0;\n\n .section-title {\n @media only screen and (max-width: 768px) {\n font-weight: 400;\n }\n }\n }\n\n .link-ticket-rules {\n text-transform: none;\n font-weight: 400;\n margin-top: 5px;\n display: block;\n color: ",";\n }\n\n .pix-how-to {\n text-transform: none;\n font-weight: 400;\n text-decoration: underline;\n border: 0;\n background: none;\n cursor: pointer;\n color: ",";\n }\n\n .payment-mode-label {\n font-weight: 700;\n }\n\n .payment-code {\n > div {\n align-items: center;\n }\n\n .apple-pay {\n align-items: flex-start;\n }\n\n .section-title {\n font-weight: 400;\n margin-bottom: 0;\n }\n }\n\n .timer {\n &--expired {\n color: ",";\n }\n }\n\n .bank-slip-due-date {\n &--expired {\n color: ",";\n }\n }\n\n .container-card {\n &__icon {\n box-shadow: none;\n\n .zz-icon {\n height: auto;\n }\n }\n\n &__name {\n font-weight: 400;\n font-size: 14px;\n }\n }\n\n .container-buttons {\n a {\n margin: 10px 0;\n }\n }\n\n .close-accordion {\n height: 65px;\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.L).withConfig({componentId:"sc-a5e03ea4-0"})(_templateObject(),s.H.MINE_SHAFT,s.H.MINE_SHAFT,s.H.TORCH_RED,s.H.TORCH_RED);function OrderPage(n){return(0,i.jsx)(l,{...n})}},345:function(n,e,t){"use strict";t.d(e,{N:function(){return UpdateProfilePage}});var i=t(85893);t(67294);var o=t(37340),a=t(20256),r=t(89230),s=t(93804);function _templateObject(){let n=(0,o._)(["\n :nth-child(n) {\n border-radius: 5px;\n\n .label {\n font-size: 12px;\n text-transform: initial;\n color: ",";\n }\n\n .CustomSelect {\n &__control {\n max-height: 45px;\n font-size: 14px;\n }\n }\n\n .upload-picture {\n background-color: ",";\n border-color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n }\n }\n\n .container-divider {\n margin: 20px 0;\n\n @media screen and (max-width: 768px) {\n margin: 5px 0;\n }\n }\n\n .password-checker {\n .title {\n font-size: 12px;\n font-weight: 500;\n text-transform: uppercase;\n margin-bottom: 4px;\n }\n }\n\n .buttons-personal,\n .buttons-password {\n margin-top: 7px;\n }\n\n @media only screen and (min-width: 768px) {\n padding-top: 40px;\n gap: 0;\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.N).withConfig({componentId:"sc-cc652bfe-0"})(_templateObject(),s.H.DAVYS_GREY_DARKER,s.H.MINE_SHAFT,s.H.MINE_SHAFT,s.H.COD_GRAY,s.H.COD_GRAY);function UpdateProfilePage(n){return(0,i.jsx)(l,{...n})}},87464:function(n,e,t){"use strict";t.d(e,{W:function(){return WishListPage}});var i=t(85893);t(67294);var o=t(37340),a=t(20256),r=t(76023),s=t(93804);function _templateObject(){let n=(0,o._)(["\n .wish-list {\n &__container {\n box-shadow: none;\n\n .share-container {\n padding: 0;\n top: -30px;\n\n > button {\n background-color: ",";\n width: 32px;\n\n &:hover {\n width: 160px;\n }\n }\n\n .share-links {\n &__content {\n padding: 0;\n }\n }\n }\n\n .list {\n padding: 17px;\n grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));\n\n @media (max-width: 768px) {\n grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));\n }\n }\n }\n }\n\n .product-item {\n &__info {\n &__color-options {\n display: none;\n }\n\n &__tag {\n margin-left: 0;\n\n ::before {\n content: '';\n }\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.W).withConfig({componentId:"sc-eb698fb2-0"})(_templateObject(),s.H.CULTURED);function WishListPage(n){return(0,i.jsx)(l,{...n})}},28932:function(n,e,t){"use strict";t.d(e,{k:function(){return OmniExchangesPage}});var i=t(85893),o=t(37340),a=t(20256),r=t(76980),s=t(93804);function _templateObject(){let n=(0,o._)(["\n color: ",";\n\n .omni-header {\n &__title {\n font-size: 28px;\n font-weight: 700;\n text-transform: none;\n padding: 0;\n margin-top: 100px;\n text-align: start;\n width: 660px;\n }\n }\n\n .omni-container {\n border-top: 0;\n padding: 20px 0;\n width: 660px;\n\n p {\n font-weight: 300;\n font-size: 16px;\n }\n\n .content {\n &__title {\n font-size: 16px;\n font-weight: 700;\n text-transform: none;\n }\n\n &__terms {\n padding-left: 20px;\n text-align: start;\n\n li {\n font-size: 16px;\n padding-bottom: 20px;\n list-style: decimal;\n\n &::marker {\n font-weight: 300;\n }\n\n span {\n font-weight: 300;\n }\n\n :last-child {\n padding-bottom: 0;\n }\n }\n }\n }\n\n .omni-exchanges {\n &__form {\n padding: 0;\n }\n }\n\n .button-icon {\n display: none;\n }\n\n .omni-search {\n &__button {\n margin: 0;\n position: absolute;\n right: 0;\n width: 30%;\n }\n }\n }\n\n .input-container {\n position: relative;\n\n .inner-input {\n padding: 13px 54px 13px 16px;\n }\n\n .omni-search {\n &__button {\n min-height: 45px;\n }\n }\n }\n\n .list {\n padding: 0;\n margin: 25px 0;\n\n .name {\n font-weight: 700;\n font-size: 20px;\n text-transform: unset;\n }\n\n .info-label {\n text-transform: unset;\n font-size: 16px;\n }\n\n .error {\n &__title {\n padding: 5px 0 5px 16px;\n color: ",";\n font-size: 14px;\n margin-top: -25px;\n }\n\n &__message {\n display: none;\n }\n }\n }\n\n @media only screen and (max-width: 768px) {\n .omni-page {\n background-color: ",";\n }\n\n .omni-header {\n background-color: ",";\n width: 90%;\n\n &__title {\n font-size: 28px;\n line-height: 33px;\n margin-top: 30px;\n }\n\n .form {\n padding: 0;\n }\n }\n\n .omni-container {\n width: 90%;\n\n .content {\n &__title {\n padding: 25px 0;\n }\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let l=(0,a.ZP)(r.k).withConfig({componentId:"sc-31c89820-0"})(_templateObject(),s.H.MINE_SHAFT,s.H.CARMINE,s.H.WHITE,s.H.WHITE);function OmniExchangesPage(n){let{slots:e}=n;return(0,i.jsx)(l,{slots:e})}},19528:function(n,e,t){"use strict";t.d(e,{u:function(){return PageNotFound}});var i=t(85893),o=t(87536),a=t(11163),r=t(19060),s=t(52429),l=t(62604),c=t(87808),d=t(40243),u=t(99267),p=t(71064),m=t(37340),x=t(20256),h=t(93804);function _templateObject(){let n=(0,m._)(["\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: ",";\n position: relative;\n\n @media only screen and (min-width: 768px) {\n border-top: 2px solid ",";\n }\n\n &::before {\n content: '';\n width: 100%;\n height: 142px;\n position: absolute;\n left: 0;\n top: 0;\n background-color: ",";\n\n @media only screen and (min-width: 768px) {\n height: 200px;\n }\n }\n\n .not-found-box {\n &__wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 90px 20px 50px;\n max-width: 610px;\n text-align: left;\n position: relative;\n\n @media only screen and (min-width: 768px) {\n padding: 120px 20px 90px;\n }\n }\n\n &__title {\n font-weight: 700;\n font-size: 32px;\n line-height: 1;\n color: ",";\n margin-bottom: 20px;\n\n @media only screen and (min-width: 768px) {\n font-size: 48px;\n }\n\n &::after {\n content: '';\n display: block;\n width: 110px;\n height: 3px;\n background-color: ",";\n margin-top: 30px;\n }\n }\n\n &__description {\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n max-width: 310px;\n margin-bottom: 40px;\n align-self: flex-start;\n\n @media only screen and (min-width: 768px) {\n font-size: 16px;\n margin-bottom: 48px;\n }\n }\n\n &__form {\n margin-bottom: 36px;\n width: 100%;\n\n @media only screen and (min-width: 768px) {\n margin-bottom: 50px;\n }\n\n .inner-input {\n @media only screen and (min-width: 768px) {\n height: 35px;\n }\n }\n }\n\n &__help-box {\n text-align: center;\n width: 100%;\n\n @media only screen and (min-width: 768px) {\n max-width: 350px;\n }\n\n &__title {\n font-size: 16px;\n }\n }\n\n &__button {\n cursor: pointer;\n padding: 11px 52px;\n }\n }\n"]);return _templateObject=function(){return n},n}let _=x.ZP.section.withConfig({componentId:"sc-a90fdd14-0"})(_templateObject(),h.H.WHITE,h.H.WHITE,h.H.PAMPAS_PINK,h.H.TORCH_RED,h.H.TORCH_RED);function PageNotFound(n){let{slots:e}=n,{register:t,handleSubmit:m}=(0,o.cI)(),x=(0,a.useRouter)();async function onSubmitSearch(n){let{searchText:e}=n,t=e.trim();if(!t)return;let i=(0,p.cT)({text:t});return x.push(i)}return(0,i.jsxs)(s.A,{children:[(0,i.jsx)(r.I,{slot:null==e?void 0:e[d.G.HEADER],extraSlot:null==e?void 0:e[d.G.SECTION_HTML_CAROUSEL]}),(0,i.jsx)(_,{className:"not-found-box",children:(0,i.jsxs)("div",{className:"not-found-box__wrapper",children:[(0,i.jsxs)("h1",{className:"not-found-box__title",children:["OPS! ",(0,i.jsx)("br",{})," N\xe3o encontramos essa p\xe1gina"]}),(0,i.jsx)("p",{className:"not-found-box__description",children:"Verifique se o endere\xe7o informado est\xe1 correto e tente novamente"}),(0,i.jsx)("form",{className:"not-found-box__form",onSubmit:m(onSubmitSearch),children:(0,i.jsx)(l.I,{className:"not-found-box__input",placeholder:"Buscar por",icon:{name:"search",size:20},register:t("searchText"),onClickIcon:m(onSubmitSearch),"aria-label":"Buscar por"})}),(0,i.jsxs)("div",{className:"not-found-box__help-box",children:[(0,i.jsx)("p",{className:"not-found-box__help-box__title",children:"Precisa de ajuda?"}),(0,i.jsx)(c.z,{className:"not-found-box__button",as:"a",shouldGrow:!0,href:u.B.SUPPORT_ZENDESK,children:"Fale com nosso atendimento"})]})]})}),(0,i.jsx)(r.I,{slot:null==e?void 0:e[d.G.FOOTER]})]})}},38036:function(n,e,t){"use strict";t.d(e,{_:function(){return BuyButtons}});var i,o,a=t(85893),r=t(67294),s=t(11163),l=t(64893),c=t(87808),d=t(42473),u=t(94887),p=t(36065),m=t(6357),x=t(6748),h=t(79697),_=t(31238),f=t(39461),g=t(21503),w=t(59492),b=t(28542),j=t(80490),v=t(69183),N=t(38538),E=t(46840),S=t(69280),O=t(11356),y=t(91315),I=t(22564),C=t(35393),T=t(56423),R=t(93804),P=t(73866),A=t(55773),k=t(37340),z=t(20256);function _templateObject(){let n=(0,k._)(["\n padding-bottom: 24px;\n\n &:nth-child(n) {\n .buy-button,\n .add-to-cart-button {\n margin: 0;\n\n > span {\n display: flex;\n }\n }\n\n .buy-button {\n margin-bottom: 10px;\n\n .arrow-icon {\n margin-left: 30px;\n }\n }\n\n .add-to-cart-button {\n .zz-icon svg path {\n fill: ",";\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let H=z.ZP.div.withConfig({componentId:"sc-7062d08b-0"})(_templateObject(),R.H.COD_GRAY);(i=o||(o={})).SHOE="shoe",i.BAG="bag";let D="Tivemos um erro ao adicionar esse produto na sacola, tente novamente.";function BuyButtons(n){let{isLoadingDynamicData:e,selectedOption:t,product:i,productSizesRef:k,setHasSizeNotSelectedError:z,isPersonalizeEnabled:M=!1,productCashback:L}=n,[B,U]=(0,r.useState)(!1),[G,F]=(0,r.useState)(!1),[V,q]=(0,r.useState)(!1),[Z,Y]=(0,r.useState)(!1),W=(0,s.useRouter)(),{addToCart:X,items:K}=(0,j.jD)(),{toast:Q}=(0,v.pm)(),{isMobile:$}=(0,N.k)(),J=(0,E.o)(),{isServer:nn}=(0,S.w)(),{user:ne}=(0,O.aC)(),{cepLocation:nt}=(0,y.f)(),{CONFIG:ni,HEADER:no,FORM:na,SUCCESS:nr,CUSTOM_MESSAGE:ns}=h.WISH_GIFT,nl=nn?"":document.URL,{results:{sorts:nc}}=(0,I.C)(),[nd]=(0,C._)(_.LOCAL_STORAGE.SEARCH_QUERY_TERM),nu=(0,T.f)().getWebConfig(),{personalizedKits:np,personalizedBagCharm:nm}=nu||{},nx={personalizedItems:nm,...f.J},nh={personalizedItems:np,...f.d},n_=i.productType===o.BAG?nx:nh;async function handleClickButton(n,e){if(n&&n.currentTarget.blur(),null==t?void 0:t.code){U(!0);let n=K.map(n=>J.cartEntryToProduct(n)),{hasError:o,errors:a}=await X(t.code);if(o){Q.error(D),P.vU({title:D,stack:a||[]}),U(!1);return}let r=await (0,A.SG)({user:ne,cepLocation:nt}),s=(0,A.gr)({userBalance:null==ne?void 0:ne.balanceAvailableAmount,cashbackValue:null==L?void 0:L.value}),l=nc.find(n=>{let{selected:e}=n;return e}),c=(null!=nd?nd:"").replace(" ","_"),d=(0,A.E2)({isSearch:!!nd,searchTerm:c,selectedSort:l,isRedirectToPDC:!!nd,productColor:i.color.toLowerCase()}),u={...d,cd139:"false",cd146:g.gz.GRID,cd147:"product_details_pdp",cd148:i.primaryImage.url};J.addToCart(()=>({product:i,userProperty:r,cashbackProperty:s,options:{element:"botao",elementText:"comprar",quantity:1,size:t.value}}),[...n,{...i,size:t.displayText}],u),(null==e?void 0:e.shouldRedirectToCart)?W.push(w.Z.CART):U(!1)}else if(z(!0),$){var o;null===(o=k.current)||void 0===o||o.scrollIntoView({behavior:"smooth",block:"center"})}}function handleClickPersonalized(n,e){if(n.currentTarget.blur(),!(null==t?void 0:t.code)){if(z(!0),$){var i;null===(i=k.current)||void 0===i||i.scrollIntoView({behavior:"smooth",block:"center"})}return null}if(M)return q(!0),null;handleClickButton(n,e)}return(0,r.useEffect)(()=>{(null==t?void 0:t.code)&&z(!1)},[null==t?void 0:t.code,z]),(0,r.useEffect)(()=>{z(!1)},[i,z]),(0,a.jsxs)(a.Fragment,{children:[function(){if(e)return(0,a.jsx)(m.O,{lines:8});if(!i.sellable)return null;let n=t&&!(null==t?void 0:t.sellable);return n?null:(0,a.jsxs)(H,{children:[function(){let n=(null==t?void 0:t.stock.isPreOrder)?"pr\xe9-venda":"agora",e="Comprar ".concat(n).trim();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.z,{shouldGrow:!0,className:"buy-button",onClick:n=>{handleClickPersonalized(n,{shouldRedirectToCart:!0}),Y(!0)},isDisabled:B,isLoading:B,dataTestId:b.zn.BUY_BUTTON,children:[e,(0,a.jsx)(d.X,{name:"arrowRight",className:"arrow-icon",size:13})]}),(0,a.jsx)(u.u,{isOpen:V,onRequestClose:n=>{q(!1),handleClickButton(n,{shouldRedirectToCart:Z})},lockPageScrollOnOpen:!0,contentClassName:" tw-pt-0 tw-pb-0 tw-m-0 tw-min-h-screen tw-w-full tw-px-0 tw-h-dvh md:tw-mx-auto md:tw-my-16 md:tw-min-h-[770px] md:tw-min-w-[820px] md:tw-rounded-3xl md:tw-h-auto ",closeButtonClassName:"md:tw-mr-4 md:tw-mt-4",children:(0,a.jsx)(p.Y,{modalConfig:n_,selectedOption:null==t?void 0:t.code,handleContinueWithoutPersonalization:handleClickButton,isLoadingApi:B,setIsLoadingApi:U})})]})}(),(0,a.jsx)(c.z,{shouldGrow:!0,variant:l.c.outlined,className:"add-to-cart-button",onClick:n=>handleClickPersonalized(n),isDisabled:B,isLoading:B,dataTestId:b.zn.ADD_TO_CART_BUTTON,children:"Adicionar \xe0 sacola"})]})}(),function(){let{showWishGiftButton:n,code:e,sellable:t}=i;return n&&t?(0,a.jsxs)(c.z,{shouldGrow:!0,className:"tw-m-0 tw-mb-6 tw-flex tw-justify-start tw-gap-4 tw-rounded-xl tw-border-pampas-pink tw-bg-pampas-pink tw-p-4",type:"button",variant:l.c.secondary,onClick:()=>F(!0),children:[(0,a.jsx)(d.X,{name:"gift",size:18,fillColor:R.H.COD_GRAY}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"tw-block tw-leading-tight tw-text-cod-gray",children:"Gostou deste produto Anacapri?"}),(0,a.jsx)("span",{className:"tw-block tw-text-left tw-leading-tight tw-text-cod-gray tw-underline",children:"Pe\xe7a de presente!"})]})]},e):null}(),(0,a.jsx)(x.E,{product:i,isOpen:G,setIsOpen:F,headerTitle:no.TITLE,headerDescription:no.DESCRIPTION,campaignName:ni.EMARSYS_CAMPAIGN,contactListId:ni.CONTACT_LIST_ID,customMessage:ns(nl),customInputLabels:na.LABELS,customInputPlaceholders:na.PLACEHOLDERS,shouldRenderSizeError:!0,shouldSendEmarsys:!0,shouldRenderFeedbackComponent:!1,onSuccess:function(){F(!1),Q.success(nr.TITLE)},maxWidth:"406px",contentClassName:"tw-p-4"})]})}},52957:function(n,e,t){"use strict";t.r(e),t.d(e,{BagDimensionsModal:function(){return BagDimensionsModal},BuyButtons:function(){return K._},MoreColors:function(){return T.K},NearStores:function(){return S.r},NotifyMe:function(){return O.c},PaymentMethods:function(){return V.A},ProductContent:function(){return ProductContent},ProductDetails:function(){return ProductDetails},ProductGallery:function(){return o.L},ProductImage:function(){return i.q},ProductInfo:function(){return s.w},ProductReferences:function(){return ProductReferences},ProductSizes:function(){return a.o},ProductSizesStock:function(){return r.R},SimilarProducts:function(){return W.E},UnavailableSizes:function(){return X.w}});var i=t(38312),o=t(54886),a=t(99957),r=t(22589),s=t(9585),l=t(85893),c=t(67294),d=t(25935),u=t(42473),p=t(7404),m=t(50263),x=t(51356),h=t(28542),_=t(38175),f=t(38538),g=t(93804),w=t(35426),b=t(16344),j=t(37340),v=t(20256);function _templateObject(){let n=(0,j._)(["\n padding: 10px 0 0;\n width: auto;\n margin: 0 10px;\n\n @media only screen and (min-width: 769px) {\n width: 100%;\n }\n\n .details-accordion {\n background-color: ",";\n margin: 0 10px 10px;\n padding: 0;\n border-radius: 10px;\n width: auto;\n\n :first-child {\n padding-top: 10px;\n border-top: 1px solid ",";\n }\n\n &.is-open {\n margin: 0 10px;\n }\n\n @media only screen and (min-width: 769px) {\n display: none;\n }\n\n &__content {\n margin-bottom: 10px;\n border-bottom: 1px solid ",";\n\n &[open] {\n margin: 0 10px 10px;\n }\n }\n\n .zz-icon {\n height: 10px;\n width: 18px;\n }\n\n .title {\n font-weight: 600;\n font-size: 16px;\n text-transform: unset;\n color: ",";\n }\n }\n\n .product-details {\n position: relative;\n display: flex;\n flex-direction: column-reverse;\n background-color: ",";\n margin: 0 10px;\n padding: 0;\n border-radius: 0 0 10px 10px;\n\n @media only screen and (min-width: 769px) {\n border-radius: 0;\n background-color: ",";\n padding: 33px 0 0 0;\n border-top: 1px solid ",";\n flex-direction: row;\n margin: 0;\n\n ::before {\n content: 'Descri\xe7\xe3o';\n color: ",";\n font-weight: 400;\n position: absolute;\n top: -37px;\n width: 120px;\n line-height: 35px;\n border-bottom: 3px solid ",";\n text-align: center;\n }\n\n &--empty-description {\n flex-direction: column-reverse;\n }\n }\n\n &__description {\n flex: 1.2;\n line-height: 20px;\n font-size: 12px;\n font-weight: 400;\n padding-top: 15px;\n\n @media only screen and (min-width: 769px) {\n padding: 0;\n }\n }\n\n &--empty-description {\n .product-details__features {\n padding-left: 0;\n }\n }\n\n &__features {\n flex: 0.8;\n padding-top: 15px;\n\n @media only screen and (min-width: 769px) {\n padding-left: 135px;\n padding-top: 0;\n }\n\n &__title,\n &__item {\n font-size: 12px;\n padding-bottom: 15px;\n font-weight: 400;\n }\n\n &__item {\n display: flex;\n align-items: center;\n &__icon {\n margin-right: 15px;\n min-width: 15px;\n display: flex;\n justify-content: center;\n }\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let N=v.ZP.section.withConfig({componentId:"sc-5aaf2dde-0"})(_templateObject(),g.H.WHITE,g.H.GALLERY,g.H.GALLERY,g.H.DAVYS_GREY_DARKER,g.H.WHITE,g.H.WHITE,g.H.ALTO,g.H.TORCH_RED,g.H.TORCH_RED),E=[{key:_._F.MATERIAL,name:"material"},{key:_._F.COLOR,name:"color"},{key:_._F.REFERENCE,name:"tag"},{key:_._F.DIMENSION,name:"ruler"}];function ProductDetails(n){let{description:e,characteristics:t,legacySKU:i,dimensions:o,productType:a}=n,{isMobile:r}=(0,f.k)(),[s,j]=(0,c.useState)(!1),[v,S]=(0,c.useState)(!0),O=!!e;function renderIcon(n){let e=E.find(e=>e.key===n);return e?(0,l.jsx)("div",{className:"product-details__features__item__icon",children:(0,l.jsx)(u.X,{name:e.name,fillColor:g.H.TORCH_RED,size:14})}):null}function renderFeatures(){var n;let e=r?null:(0,l.jsx)("h2",{className:"product-details__features__title",children:"Caracter\xedsticas"});return(0,l.jsxs)("div",{className:"product-details__features",children:[e,(0,l.jsxs)("ul",{children:[t.map(n=>(function(n){let e=n.split(":"),t=e[0],i=e[1];return(0,l.jsxs)("li",{className:"product-details__features__item","data-testid":w.V4(e[0]),children:[renderIcon(t),(0,l.jsxs)("div",{className:"tw-flex tw-flex-wrap",children:[t,": ",i]})]},t)})(n)),function(){let n=(0,b.nQ)({dimensions:o,productType:a});return n?(0,l.jsxs)("li",{className:"product-details__features__item","data-testid":h.zn.PRODUCT_INFORMATION_DIMENSION,children:[renderIcon(_._F.DIMENSION),(0,l.jsx)(p.Q,{dimensions:o,productType:a,shouldUseSpanTag:!1})]}):null}(),(n=_._F.REFERENCE,i?(0,l.jsxs)("li",{className:"product-details__features__item","data-testid":h.zn.PRODUCT_INFORMATION_SKU,children:[renderIcon(n),(0,l.jsxs)("div",{className:"tw-flex tw-flex-wrap",children:[n,": ",i]})]}):null)]})]})}function renderDescription(){return(0,l.jsxs)("div",{className:"product-details__description",children:[(0,d.ZP)(e),(0,l.jsx)(m.B,{})]})}return(0,l.jsx)(N,{children:r?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(x.U,{title:"Caracter\xedsticas",isAccordionOpen:v,clickAccordion:()=>S(!v),className:"details-accordion",contentClassName:"details-accordion__content",titleAsTag:"h2",children:renderFeatures()}),(0,l.jsx)(x.U,{title:"Descri\xe7\xe3o",isAccordionOpen:s,clickAccordion:()=>j(!s),className:"details-accordion",contentClassName:"details-accordion__content",titleAsTag:"h2",children:renderDescription()})]}):function(){let n="product-details ".concat(O?"":"product-details--empty-description").trim();return(0,l.jsxs)("div",{className:n,children:[renderDescription(),renderFeatures()]})}()})}var S=t(53486),O=t(72190),y=t(20559),I=t(88064),C=t(82888);function ProductReferences(n){let{currentPageProduct:e}=n,[t,i]=(0,C.N)();return(0,l.jsx)("div",{id:"pdp-recommendation-references-container",ref:t.set,children:i?(0,l.jsx)(y.v,{sectionId:I.RECOMMENDATION_SECTION_IDS.PDP_PRODUCT_DESCRIPTION,currentPageProduct:e}):null})}var T=t(52992),R=t(5152),P=t.n(R),A=t(41664),k=t.n(A),z=t(96984),H=t(87808),D=t(10770);function styles_templateObject(){let n=(0,j._)(["\n position: relative;\n margin-bottom: 50px;\n padding: 32px 0;\n\n @media only screen and (max-width: 1024px) {\n padding: 0 0 32px;\n }\n\n &:before {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: calc(100% - ","px);\n background-color: ",";\n\n @media screen and (min-width: 1025px) {\n height: calc(100% - ","px);\n }\n }\n\n .product-content {\n &__grid {\n padding: 0 18px;\n width: 100%;\n max-width: 1366px;\n margin: 0 auto;\n gap: 32px;\n display: flex;\n flex-direction: column;\n\n @media screen and (min-width: 1025px) {\n flex-direction: row;\n padding: 0 32px;\n }\n\n @media screen and (min-width: 1366px) {\n gap: 62px;\n }\n }\n\n &__images-wrapper {\n min-width: 50%;\n\n @media screen and (min-width: 1025px) {\n display: flex;\n justify-content: center;\n align-items: flex-end;\n }\n\n &--three-images {\n flex: 1.5;\n\n @media screen and (min-width: 1366px) {\n flex: 2.2;\n }\n }\n }\n\n &__image {\n width: 100%;\n max-width: 475px;\n margin: 0 auto;\n\n @media screen and (min-width: 1025px) {\n max-width: 234px;\n flex: 1;\n margin: 0;\n\n &:first-child {\n max-width: 350px;\n flex: 1.5;\n }\n\n &:nth-child(2) {\n margin-left: 32px;\n }\n\n &:nth-child(3) {\n margin-bottom: 100px;\n }\n }\n }\n\n .carousel {\n .keen-slider {\n &__slide {\n display: flex;\n justify-content: center;\n width: 100%;\n }\n }\n\n &__pagination {\n &__dot {\n &--active {\n background-color: ",";\n }\n }\n }\n }\n\n &__content {\n display: flex;\n text-align: center;\n position: relative;\n justify-content: center;\n width: 100%;\n\n @media screen and (min-width: 1025px) {\n text-align: left;\n width: 380px;\n }\n\n &__wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n @media screen and (min-width: 1025px) {\n margin-top: 72px;\n }\n }\n }\n\n &__title {\n font-size: 30px;\n line-height: 37px;\n font-weight: 400;\n color: ",";\n margin-bottom: 18px;\n\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n\n @media screen and (min-width: 1025px) {\n font-size: 50px;\n line-height: 61px;\n margin-bottom: 40px;\n }\n }\n\n &__description {\n font-size: 14px;\n color: ",";\n line-height: 22px;\n\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n margin-bottom: 32px;\n }\n\n &__button {\n cursor: pointer;\n font-size: 12px;\n position: absolute;\n left: 50%;\n bottom: -32px;\n transform: translate(-50%, 50%);\n margin: 0;\n\n @media screen and (min-width: 1025px) {\n left: 0;\n transform: translate(0, 50%);\n }\n\n .zz-icon {\n margin-left: 24px;\n }\n }\n }\n"]);return styles_templateObject=function(){return n},n}let M=g.H.PAMPAS_PINK,L=g.H.MINE_SHAFT,B=v.ZP.div.withConfig({componentId:"sc-e33734d5-0"})(styles_templateObject(),92,n=>n.backgroundColor||M,82,g.H.DAVYS_GREY_DARKER,n=>n.contentColor||L,n=>n.contentColor||L),U={slides:{perView:1},hideArrows:!0},G=P()(()=>Promise.all([t.e(1255),t.e(2422),t.e(741),t.e(759),t.e(5360),t.e(1598),t.e(1991),t.e(8284),t.e(3989),t.e(7483),t.e(9439)]).then(t.bind(t,68512)).then(n=>n.Carousel),{loadableGenerated:{webpack:()=>[68512]}}),F=P()(()=>Promise.all([t.e(1255),t.e(2422),t.e(741),t.e(759),t.e(5360),t.e(1598),t.e(1991),t.e(8284),t.e(3989),t.e(7483),t.e(9439)]).then(t.bind(t,68512)).then(n=>n.CarouselSlide),{loadableGenerated:{webpack:()=>[68512]}});function ProductContent(n){let{infoSection:e}=n,{titleText:t,descriptionText:i,mediaImage:o,linkUrl:a="",linkText:r,backgroundColor:s,contentColor:c}=e,{isTablet:d}=(0,f.k)(),p=!!(null==o?void 0:o.length),m=p&&d&&(null==o?void 0:o.length)>1;function renderImage(n){let{url:e="",altText:t=""}=n;return(0,l.jsx)("div",{className:"product-content__image",children:(0,l.jsx)(z.M.Image,{src:e,alt:t,width:350,height:350,layout:"responsive"},e)},e)}return(0,l.jsx)(B,{className:"product-content",backgroundColor:s,contentColor:c,children:(0,l.jsxs)("div",{className:"product-content__grid",children:[(0,l.jsx)("div",{className:function(){let n="product-content__images-wrapper",e=p&&(null==o?void 0:o.length)>=3,t=p&&e?"".concat(n,"--three-images"):"";return"".concat(n," ").concat(t)}(),children:p?m?(0,l.jsx)(G,{options:U,children:o.map(n=>(0,l.jsx)(F,{children:renderImage(n)},n.url))}):o.map(n=>renderImage(n)):null}),(0,l.jsx)("div",{className:"product-content__content",children:(0,l.jsxs)("div",{className:"product-content__content__wrapper",children:[t?(0,l.jsx)("h2",{className:"product-content__title",children:t}):null,i?(0,l.jsx)("p",{className:"product-content__description",children:i}):null,a&&r?(0,l.jsx)(k(),{href:a,legacyBehavior:!0,children:(0,l.jsxs)(H.z,{as:"a",className:"product-content__button",variant:D.c.tertiary,children:[r,(0,l.jsx)(u.X,{name:"arrowRight",size:12})]})}):null]})})]})})}var V=t(34583),q=t(94887),Z=t(66999);function DimensionItem(n){let{iconClassName:e="",icon:t,title:i,value:o,dataTestId:a}=n;return(0,l.jsxs)("div",{className:"tw-flex tw-gap-3",children:[(0,l.jsx)(u.X,{name:t,size:18,className:"tw-text-torch-red ".concat(e)}),(0,l.jsx)("strong",{children:i})," ",(0,l.jsxs)("span",{"data-testid":a,children:[o,"cm"]})]})}let Y="Dimens\xf5es do Produto";function BagDimensionsModal(n){let{dimensions:e}=n,[t,i]=(0,c.useReducer)(n=>!n,!1),{productHeight:o,productLength:a,productWidth:r,strapDropHeight:s}=e,d=(0,b.Ou)({productHeight:o,productLength:a,productWidth:r});return d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:i,className:"tw-text-end tw-underline","data-testid":h.zn.BAG_DIMENSIONS_OPEN_BTN,children:"Ver dimens\xf5es do produto"}),(0,l.jsx)(q.u,{lockPageScrollOnOpen:!0,isOpen:t,title:Y,"aria-label":"Modal de dimens\xf5es do produto",onRequestClose:i,contentClassName:" tw-my-0 tw-top-1/2 tw-p-6 md:tw-p-8 -tw-translate-y-1/2 tw-max-w-md tw-rounded-3xl [&>.close-button]:tw-top-7 [&>.close-button]:md:tw-top-8 [&>.close-button]:tw-right-6 [&>.close-button]:md:tw-right-8 ",children:(0,l.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-7 tw-text-emperor",children:[(0,l.jsx)("h3",{className:"tw-text-base tw-uppercase tw-underline tw-decoration-torch-red tw-decoration-[3px] tw-underline-offset-8",children:Y}),(0,l.jsx)(z.M.Image,{alt:Y,width:386,height:302,src:Z.Y.BAG_DIMENSIONS}),(0,l.jsx)(DimensionItem,{icon:"expand",title:"Altura",value:o,dataTestId:h.zn.BAG_DIMENSIONS_BAG_HEIGHT}),(0,l.jsx)(DimensionItem,{icon:"expand",title:"Comprimento",iconClassName:"tw-rotate-90",value:a,dataTestId:h.zn.BAG_DIMENSIONS_BAG_LENGTH}),(0,l.jsx)(DimensionItem,{icon:"expand",title:"Largura",iconClassName:"-tw-rotate-45",value:r,dataTestId:h.zn.BAG_DIMENSIONS_BAG_WIDTH}),(0,b.iu)(s)?(0,l.jsx)(DimensionItem,{icon:"shoppingBagSide",title:"Altura da al\xe7a",value:s,dataTestId:h.zn.BAG_DIMENSIONS_STRAP_DROP_HEIGHT}):null]})})]}):null}var W=t(39069),X=t(42005),K=t(38036)},52992:function(n,e,t){"use strict";t.d(e,{K:function(){return MoreColors}});var i=t(85893),o=t(5152),a=t.n(o),r=t(41664),s=t.n(r),l=t(96984),c=t(5632),d=t(28542),u=t(82888),p=t(37340),m=t(20256),x=t(6226),h=t(93804);function _templateObject(){let n=(0,p._)(["\n width: 100%;\n\n .more-colors {\n &__label {\n margin-bottom: 10px;\n }\n\n &__name {\n font-weight: normal;\n font-size: 12px;\n color: ",";\n }\n\n &__list {\n display: flex;\n list-style-type: none;\n\n &__item {\n width: 20%;\n\n :not(:last-child) {\n margin-right: 10px;\n }\n }\n }\n\n &__option-link {\n display: block;\n padding: 4px;\n border-radius: 10px;\n\n &--active {\n border: 1px solid ",";\n }\n }\n\n &__carousel {\n .carousel {\n &__arrow {\n height: 101%;\n border-radius: 0;\n transition: opacity 0.3s;\n border: 0;\n\n .zz-icon {\n height: 15px;\n position: absolute;\n }\n\n &--next {\n right: 0;\n padding: 0 10px;\n background: linear-gradient(\n 90deg,\n ",",\n "," 80%\n );\n justify-content: right;\n\n .zz-icon {\n right: 0;\n }\n }\n\n &--prev {\n left: 0;\n padding: 0 10px;\n background: linear-gradient(\n 90deg,\n "," 35%,\n ","\n );\n\n .zz-icon {\n left: 0;\n }\n }\n\n &--disabled {\n opacity: 0;\n pointer-events: none;\n }\n }\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let _=m.ZP.div.withConfig({componentId:"sc-b2980e6d-0"})(_templateObject(),h.H.MINE_SHAFT,h.H.TORCH_RED,(0,x.a7)(h.H.WHITE,0),(0,x.a7)(h.H.WHITE,100),(0,x.a7)(h.H.WHITE,100),(0,x.a7)(h.H.WHITE,0)),f=a()(()=>Promise.all([t.e(1255),t.e(2422),t.e(741),t.e(759),t.e(5360),t.e(1598),t.e(1991),t.e(8284),t.e(3989),t.e(7483),t.e(185)]).then(t.bind(t,68512)).then(n=>n.Carousel),{loadableGenerated:{webpack:()=>[68512]}}),g={hidePagination:!0,slides:{perView:4.5,spacing:8}};function MoreColors(n){let{colorOptions:e,productCode:t,currentColor:o}=n,[a,r]=(0,u.N)();function renderOption(n,e){let{isSelectedColor:t,url:o,primaryImage:a,name:r}=n,c="more-colors__option-link ".concat(t?"more-colors__option-link--active":"").trim(),u="".concat(d.zn.MORE_COLORS_OPTION).concat(e);return(0,i.jsx)(s(),{prefetch:!1,href:o,className:c,"data-testid":u,children:(0,i.jsx)(l.M.Image,{src:a.url,alt:a.altText||r,objectFit:"contain",layout:"responsive",width:49,height:40})})}return 0===e.length?null:(0,i.jsxs)(_,{ref:a.set,children:[o?(0,i.jsx)("div",{className:"more-colors__label",children:(0,i.jsxs)("h2",{className:"more-colors__name",children:["Cor: ",(0,i.jsx)("b",{children:o})]})}):null,function(){let n=e.length>5;return n?(0,i.jsx)(f,{options:g,className:"more-colors__carousel",children:e.map((n,e)=>{let t="".concat(e,"-").concat(o);return(0,i.jsx)(c.q,{children:renderOption(n,e)},t)})},o):r?(0,i.jsx)("ul",{className:"more-colors__list",children:e.map((n,e)=>(0,i.jsx)("li",{className:"more-colors__list__item",children:renderOption(n,e)},n.code))},t):null}()]})}},53486:function(n,e,t){"use strict";t.d(e,{r:function(){return NearStores}});var i=t(85893),o=t(6357),a=t(47178),r=t(78069),s=t(65856),l=t(87808),c=t(98174),d=t(10770),u=t(89771),p=t(46840),m=t(91315),x=t(82888),h=t(81836),_=t(67294),f=t(87536),g=t(42473),w=t(62604),b=t(89190),j=t(37340),v=t(20256),N=t(93804);function _templateObject(){let n=(0,j._)(["\n .submit-button {\n position: absolute;\n top: 0;\n right: 0;\n background-color: ",";\n color: ",";\n border: none;\n height: 45px;\n width: 45px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n"]);return _templateObject=function(){return n},n}let E=v.ZP.form.withConfig({componentId:"sc-522e8ad0-0"})(_templateObject(),N.H.TRANSPARENT,N.H.COD_GRAY);function ZipCodeForm(n){let{onSubmit:e,className:t="",renderCustomButton:o,placeholder:a="CEP",customValidate:r,onLoadForm:l}=n,{cepLocation:{cep:c=""}}=(0,m.f)(),d=(0,f.cI)({reValidateMode:"onSubmit"}),{register:p,handleSubmit:x,formState:{errors:h},clearErrors:j}=d,{clearAllErrors:v,handleSubmitZipCodeForm:N,isLoadingZipCode:S,zipCodeError:O}=(0,u.y)();return(0,_.useEffect)(()=>{null==l||l(d)},[d,l]),(0,i.jsx)(E,{onSubmit:x(function(n){j(),v(),N({data:n,onSuccess:()=>null==e?void 0:e()})}),className:t,children:(0,i.jsx)(w.I,{type:"tel",mask:"99999-999",maskChar:null,defaultValue:c,placeholder:a,register:p("zipCode",{required:{value:!0,message:b.Y.empty},validate:function(n){let e=9===n.length,t=!r||r();return e?t:b.Y.pattern}}),errorMessage:h.zipCode?h.zipCode.message:O,renderButton:function(){return o?o({isLoadingZipCode:S}):(0,i.jsx)("button",{className:"submit-button",type:"submit",onClick:n=>n.currentTarget.blur(),"aria-label":"Enviar CEP",children:S?(0,i.jsx)(s.a,{size:20}):(0,i.jsx)(g.X,{name:"arrowRight",size:12})})}},c)})}function styles_templateObject(){let n=(0,j._)(["\n .box-near-to-you {\n &__title {\n text-align: left;\n font-size: 16px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n &__sub-title {\n text-align: left;\n font-size: 14px;\n font-weight: 400;\n margin: 0 40px 12px 0;\n max-width: 330px;\n }\n }\n\n .button-my-location {\n justify-content: center;\n margin: 13px 0 0;\n width: 100%;\n }\n"]);return styles_templateObject=function(){return n},n}let S=v.ZP.div.withConfig({componentId:"sc-c2397bd-0"})(styles_templateObject());function NearToYou(n){let{hasLocation:e,omniProduct:t}=n,{clearAllErrors:o,coordsError:a,handleShareBrowserLocation:r,isLoadingCoords:_}=(0,u.y)(),f=(0,p.o)(),{cepLocation:g}=(0,m.f)(),[w,b]=(0,x.N)();function handleDataLayerProps(n){f.geolocationNearMeBoxSearch(()=>({searchType:n,product:t}))}return(0,h.Q)(()=>{b&&f.omniFeature(()=>({actionName:"pdp_product_details.visualizou.botao.ative_sua_localizacao",primarySection:"pdp_product_details",element:"botao",elementText:"ative_sua_localizacao",location:g,hasLocation:e}))},[b]),(0,i.jsxs)(S,{ref:w.set,children:[(0,i.jsxs)("div",{className:"box-near-to-you",children:[(0,i.jsx)("h2",{className:"box-near-to-you__title",children:"Perto de voc\xea"}),(0,i.jsx)("p",{className:"box-near-to-you__sub-title",children:e?"Preencha seu CEP para consultar a disponibilidade nas lojas pr\xf3ximas de voc\xea!":"Preencha seu CEP para descobrir produtos perto de voc\xea!"}),(0,i.jsx)(ZipCodeForm,{onSubmit:()=>handleDataLayerProps("CEP")})]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.z,{onClick:function(){o(),r({onSuccess:()=>{handleDataLayerProps("browserAPI")}})},variant:d.c.outlined,className:"button-my-location",children:_?(0,i.jsx)(s.a,{size:20}):"Utilizar minha localiza\xe7\xe3o"}),a?(0,i.jsx)(c.j,{children:a}):null]})]})}var O=t(51408),y=t(11163),I=t(96984),C=t(74025),T=t(32244),R=t(59492),P=t(80490),A=t(69183),k=t(23345),z=t(87766),H=t(94887);function near_stores_modal_styles_templateObject(){let n=(0,j._)(["\n display: flex;\n align-items: center;\n transition: opacity 0.3s ease-in-out;\n\n &.exited,\n &.exiting {\n opacity: 0;\n }\n\n &.entered {\n opacity: 1;\n }\n\n .close-button {\n right: 20px;\n top: 20px;\n }\n\n .content-container {\n max-width: 400px;\n border-radius: 10px;\n background-color: ",";\n padding: 10px;\n }\n\n .modal-content {\n display: flex;\n flex-direction: column;\n\n .near-stores-modal-header {\n display: flex;\n align-items: center;\n background-color: ",";\n border-radius: 10px;\n padding: 30px 15px 20px;\n\n &__info {\n max-width: 70%;\n margin-left: 17px;\n }\n\n &__product-name {\n font-size: 12px;\n margin-bottom: 15px;\n }\n }\n\n .near-stores-modal-controls {\n display: flex;\n align-items: center;\n gap: 5px;\n\n &__form {\n flex: 2;\n }\n\n &__size-select {\n flex: 1;\n\n .CustomSelect {\n &__control {\n height: 40px;\n }\n\n &__indicators {\n margin: 15px 5px;\n }\n }\n\n .custom-select__label {\n padding: 12px;\n }\n }\n\n .zip-code {\n max-width: 130px;\n\n &__button {\n height: 40px;\n width: 40px;\n }\n\n .inner-input {\n height: 40px;\n padding: 10px;\n }\n }\n }\n\n .near-stores-modal-wrapper {\n background-color: ",";\n border-radius: 10px;\n margin: 10px 0 30px 0;\n padding: 20px 15px 0;\n\n &__description {\n > h4 {\n font-size: 14px;\n font-weight: 600;\n }\n\n > div {\n display: flex;\n gap: 10px;\n }\n\n > p {\n font-size: 12px;\n margin: 6px 0;\n }\n }\n }\n\n .near-stores-modal-form {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n\n &__button-wrapper {\n display: flex;\n justify-content: center;\n }\n\n &__submit-button {\n width: 173px;\n display: flex;\n align-items: center;\n justify-content: space-around;\n transform: translateY(50%);\n margin: 0;\n }\n\n &__stores-wrapper {\n padding-top: 20px;\n flex-grow: 1;\n height: 220px;\n }\n\n .stores-list {\n overflow-y: auto;\n height: 100%;\n margin-right: 10px;\n\n &__empty {\n padding: 20px;\n text-align: center;\n }\n\n &__item {\n padding: 5px 10px 5px 0;\n\n :first-child {\n padding-top: 10px;\n }\n\n :last-child {\n padding-bottom: 10px;\n }\n }\n\n &__description {\n width: 100%;\n display: flex;\n font-size: 12px;\n font-weight: 400;\n gap: 5px;\n\n > p {\n flex: 1;\n }\n\n .distance {\n color: ",";\n font-weight: 600;\n max-width: 50px;\n }\n }\n }\n }\n }\n"]);return near_stores_modal_styles_templateObject=function(){return n},n}let D=(0,v.ZP)(n=>(0,i.jsx)(H.u,{...n})).withConfig({componentId:"sc-83a6bed3-0"})(near_stores_modal_styles_templateObject(),N.H.PAMPAS_PINK,N.H.WHITE,N.H.WHITE,N.H.TORCH_RED),M={storeId:"storeId"};function NearStoresModal(n){let{nearStoresDetails:e,hasUpdateStoresError:t,isLoadingStoresDetails:o,updateNearStoresDetails:a,isModalOpen:r,setModalOpen:c,initialProductSelectedSize:u,omniProduct:w,product:b}=n,{addToCart:j}=(0,P.jD)(),{toast:v}=(0,A.pm)(),N=(0,p.o)(),{cepLocation:E,hasLocation:S}=(0,m.f)(),[H,L]=(0,x.N)(),B=(0,y.useRouter)(),{unlockScroll:U}=(0,k.F)(),[G,F]=(0,_.useState)(!1),[V,q]=(0,_.useState)(null),[Z,Y]=(0,_.useState)(null==u?void 0:u.code),[W,X]=(0,z.R)({isStateActive:r,durationInMs:300}),{register:K,handleSubmit:Q,reset:$}=(0,f.cI)({mode:"onChange"}),J=0===e.length||!V||G;(0,h.Q)(()=>{L&&N.omniFeature(()=>({actionName:"pdp_product_details.visualizou.modal.compre_perto_de_voce",primarySection:"pdp_product_details",element:"modal",elementText:"compre_perto_de_voce",location:E,hasLocation:S}))},[L]),(0,_.useEffect)(()=>{Y(null==u?void 0:u.code)},[null==u?void 0:u.code,r]),(0,_.useEffect)(()=>{r&&Z&&($(),a(Z))},[r,$,Z,a]);let nn=(0,_.useCallback)(()=>{let n=b.variantOptions.filter(n=>n.sellable);return n.map(n=>{let{code:e,displayText:t,stores:i,sellable:o}=n;return{value:e,label:t,isCustomDisabled:!1,stores:i,size:t,isSellable:o}})},[b]),ne=nn(),nt=(0,_.useCallback)(n=>ne.find(e=>e.value===n),[ne]);async function onSubmit(n){if(!Z)return;F(!0);let{hasError:e,errors:t}=await j(Z,n.storeId);if(e){t&&v.allErrors(t),closeModal();return}V&&N.pickUpInStoreBuy(()=>({product:w,cepLocation:E,store:V})),N.omniFeature(()=>({actionName:"pdp_product_details.clicou.botao.comprar_modal_compre_perto_de_voce",primarySection:"pdp_product_details",element:"botao",elementText:"comprar_modal_compre_perto_de_voce",location:E,hasLocation:S})),B.push(R.Z.CART),F(!1)}function closeModal(){Y(void 0),q(null),c(!1)}return(0,i.jsx)(D,{isOpen:W,lockPageScrollOnOpen:!0,onRequestClose:closeModal,className:X,children:(0,i.jsxs)("div",{ref:H.set,className:"modal-content",children:[(0,i.jsxs)("div",{className:"near-stores-modal-header",children:[(0,i.jsx)(I.M.Image,{width:88,height:72,src:b.primaryImage.url,title:b.name,alt:b.primaryImage.altText,objectFit:"contain"}),(0,i.jsxs)("div",{className:"near-stores-modal-header__info",children:[(0,i.jsx)("p",{className:"near-stores-modal-header__product-name",children:b.name}),(0,i.jsxs)("div",{className:"near-stores-modal-controls",children:[(0,i.jsx)(C.A,{onChange:n=>{$(),q(null),Y(n.value)},value:nt(Z),className:"near-stores-modal-controls__size-select",options:nn(),isSearchable:!1}),(0,i.jsx)(ZipCodeForm,{className:"near-stores-modal-controls__form",onSubmit:function(){N.geolocationNearMeBoxSearch(()=>({searchType:"CEP",product:w})),U()}})]})]})]}),(0,i.jsxs)("div",{className:"near-stores-modal-wrapper",children:[(0,i.jsxs)("div",{className:"near-stores-modal-wrapper__description",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h4",{children:"Retire na loja"}),(0,i.jsx)(O.A,{label:"Gr\xe1tis"})]}),(0,i.jsx)("p",{children:"Confira a seguir as lojas dispon\xedveis para retirada:"})]}),(0,i.jsxs)("form",{className:"near-stores-modal-form",onSubmit:Q(onSubmit),children:[(0,i.jsx)("div",{className:"near-stores-modal-form__stores-wrapper",children:(0,i.jsx)("ul",{className:"stores-list",children:t?(0,i.jsxs)("div",{className:"near-stores-modal__content__stores-list__empty",children:[(0,i.jsx)("p",{children:"Essa numera\xe7\xe3o n\xe3o est\xe1 dispon\xedvel em nenhuma loja pr\xf3xima \xe0 voc\xea."}),(0,i.jsx)("p",{children:"Se preferir, busque por outra localiza\xe7\xe3o acima."})]}):o?o?(0,i.jsx)("div",{className:"spinner-wrapper",children:(0,i.jsx)(s.a,{size:30})}):null:e.map(n=>{let{name:e,displayName:t,address:{town:o},formattedDistance:a}=n,{storeId:r}=M;return(0,i.jsx)("li",{className:"stores-list__item",children:(0,i.jsx)(T.N,{className:"stores-list__item__label",checkmarkClassName:"stores-list__item__label__checkmark",id:e,name:r,value:e,register:K(r),checked:e===(null==V?void 0:V.name),onClickLabel:()=>{q(n)},children:(0,i.jsxs)("div",{className:"stores-list__description",children:[(0,i.jsxs)("p",{children:[t," - ",o]}),(0,i.jsx)("span",{className:"distance",children:a})]})})},e)})})}),(0,i.jsx)("div",{className:"near-stores-modal-form__button-wrapper",children:(0,i.jsxs)(l.z,{type:"submit",isDisabled:J,variant:d.c.primary,className:"near-stores-modal-form__submit-button",children:["Comprar",(0,i.jsx)(g.X,{name:"arrowRight",size:13})]})})]})]})]})})}function near_stores_available_styles_templateObject(){let n=(0,j._)(["\n background-color: ",";\n padding: 16px 20px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n .near-stores-available {\n &__title {\n font-weight: 600;\n font-size: 14px;\n margin-bottom: 9px;\n width: max-content;\n display: flex;\n align-items: center;\n }\n\n &__chip {\n margin-left: 4px;\n }\n\n &__text {\n font-size: 12px;\n }\n\n &__action-button {\n background-color: ",";\n margin: 0;\n padding: 9px 24px;\n width: 100%;\n max-width: 130px;\n min-height: 40px;\n }\n }\n"]);return near_stores_available_styles_templateObject=function(){return n},n}let L=v.ZP.div.withConfig({componentId:"sc-33afa33a-0"})(near_stores_available_styles_templateObject(),N.H.PAMPAS_PINK,N.H.WHITE);function NearStoresAvailable(n){let{selectedOption:e,product:t,omniProduct:o,nearStoresQuantityFromSize:a,nearStoresDetails:r,hasUpdateStoresError:s,isLoadingStoresDetails:c,updateNearStoresDetails:u}=n,f=(0,p.o)(),{cepLocation:g,hasLocation:w}=(0,m.f)(),[b,j]=(0,x.N)(),[v,N]=(0,_.useState)(!1);return(0,h.Q)(()=>{j&&f.omniFeature(()=>({actionName:"pdp_product_details.visualizou.botao.retire_na_loja",primarySection:"pdp_product_details",element:"botao",elementText:"retire_na_loja",location:g,hasLocation:w}))},[j]),(0,h.Q)(()=>{r.length>0&&f.pickUpInStoreBoxShow(()=>({product:o,cepLocation:g,stores:r}))},[r]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(L,{ref:b.set,children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)("p",{className:"near-stores-available__title",children:[(0,i.jsx)("span",{children:"Retire na Loja"}),(0,i.jsx)(O.A,{label:"Gr\xe1tis",className:"near-stores-available__chip"})]}),(0,i.jsxs)("p",{className:"near-stores-available__text",children:["Encontramos ",a," loja(s) pr\xf3xima(s) de voc\xea"]})]}),(0,i.jsx)(l.z,{className:"near-stores-available__action-button",onClick:function(){f.omniFeature(()=>({actionName:"pdp_product_details.clicou.botao.retire_na_loja",primarySection:"pdp_product_details",element:"botao",elementText:"retire_na_loja",location:g,hasLocation:w})),N(!0)},variant:d.c.outlined,children:"Ver lojas"})]}),(0,i.jsx)(NearStoresModal,{isModalOpen:v,setModalOpen:N,omniProduct:o,initialProductSelectedSize:e,product:t,nearStoresDetails:r,hasUpdateStoresError:s,isLoadingStoresDetails:c,updateNearStoresDetails:u})]})}function NearStores(n){let{isLoadingDynamicData:e,selectedOption:t,product:s}=n,{hasLocation:l,hasNearStoresFromSize:c,isLoadingInitialState:d,isPickupWebParamActive:u,isProductOrSizeUnavailable:p,nearStoresDetails:m,nearStoresQuantityFromSize:x,hasUpdateStoresError:h,isLoadingStoresDetails:_,updateNearStoresDetails:f}=(0,a.f)({isProductSellable:s.sellable,isLoadingDynamicData:e,selectedOption:t});function getOmniProduct(){return{name:s.name,id:s.code,size:null==t?void 0:t.value,price:s.price.value,category:s.productType,brand:r.T.BRAND_NAME}}return d?(0,i.jsx)(o.O,{lines:3}):u?!l||p?(0,i.jsx)(NearToYou,{hasLocation:l,omniProduct:getOmniProduct()}):c?(0,i.jsx)(NearStoresAvailable,{selectedOption:t,product:s,omniProduct:getOmniProduct(),nearStoresDetails:m,nearStoresQuantityFromSize:x,hasUpdateStoresError:h,isLoadingStoresDetails:_,updateNearStoresDetails:f}):null:null}},72190:function(n,e,t){"use strict";t.d(e,{c:function(){return NotifyMe}});var i=t(85893),o=t(67294),a=t(87536),r=t(75260),s=t(74025),l=t(62604),c=t(41417),d=t(87808),u=t(42473),p=t(73403),m=t(28542),x=t(14908),h=t(11356),_=t(69183),f=t(97986),g=t(73866),w=t(37340),b=t(20256),j=t(93804);function _templateObject(){let n=(0,w._)(["\n margin: 24px 0;\n\n .notify-me {\n &__paragraph {\n margin-bottom: 20px;\n letter-spacing: 0.5px;\n font-size: 14px;\n color: ",";\n\n &__highlight {\n font-weight: 700;\n display: block;\n }\n }\n\n &__form {\n &__input-wrapper {\n margin-bottom: 16px;\n font-size: 14px;\n\n .label {\n color: ",";\n }\n }\n\n &__checkbox-wrapper {\n max-width: 280px;\n\n .content {\n letter-spacing: 0.5px;\n font-size: 12px;\n }\n\n .checkmark-container {\n align-items: flex-start;\n }\n\n .checkmark-wrapper {\n margin: 5px 0;\n }\n }\n\n &__submit-wrapper {\n &__button {\n margin: 0;\n\n > span {\n display: flex;\n }\n\n &__icon {\n margin-left: 32px;\n }\n }\n }\n }\n\n &__confirmation-box {\n &__title-wrapper {\n display: flex;\n color: ",";\n font-size: 16px;\n margin-bottom: 12px;\n\n .zz-icon {\n margin-right: 8px;\n }\n }\n\n .notify-me__paragraph {\n font-size: 12px;\n line-height: 16px;\n }\n\n &__return-button {\n background: none;\n border: none;\n font-family: inherit;\n text-decoration: underline;\n color: ",";\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let v=b.ZP.div.withConfig({componentId:"sc-bcb925c4-0"})(_templateObject(),j.H.DAVYS_GREY_DARKER,j.H.DAVYS_GREY_DARKER,j.H.FUN_GREEN,j.H.DAVYS_GREY_DARKER),N={customerName:"customerName",customerEmail:"customerEmail",phoneNumber:"phoneNumber",shoeSize:"shoeSize",newsletter:"newsletter"},E="Ocorreu um erro ao salvar seus dados. Tente novamente.";function NotifyMe(n){let{productCode:e,sizes:t=[],selectedOption:w,productName:b,className:j="",shouldUseSizeField:S=!0,checkboxId:O="notify-me-email",onSubmitGTMEvent:y}=n,[I,C]=(0,o.useState)(!1),[T,R]=(0,o.useState)(!1),{user:P,isAuthenticated:A}=(0,h.aC)(),{toast:k}=(0,_.pm)(),{register:z,handleSubmit:H,formState:{errors:D},control:M,setValue:L}=(0,a.cI)({shouldFocusError:!1}),B={customerName:"Nome obrigat\xf3rio",customerEmail:"E-mail obrigat\xf3rio"},U=(0,o.useCallback)(()=>{let n=t.filter(n=>!n.sellable);return n.map(n=>{let{value:e,displayText:t,stores:i,sellable:o}=n;return{value:e,label:t,isCustomDisabled:!1,stores:i,size:t,isSellable:o}})},[t]),G=(0,o.useCallback)(()=>A()?p.l.USER:p.l.ANONYMOUS,[A]),F=(0,o.useCallback)(n=>U().find(e=>e.value===n),[U]);function getErrorMessage(n){var e;return(null===(e=D[n])||void 0===e?void 0:e.message)||""}async function onSubmit(n){null==y||y(),R(!0);let{newsletter:t,phoneNumber:i="",shoeSize:o=(null==w?void 0:w.value)||""}=n,{hasError:a,errors:r}=await f.b.postNotifyMe({...n,shoeSize:o,productCode:e,phoneNumber:i,newsletter:!!t,myStore:"",userId:G()});if(a){R(!1),k.error(E,{isDismissible:!0}),g.vU({title:E,stack:r});return}R(!1),C(!0)}return(0,o.useEffect)(()=>{C(!1)},[w]),(0,o.useEffect)(()=>{var n,e;let t=(null===(n=F(null==w?void 0:w.value))||void 0===n?void 0:n.value)||(null===(e=U()[0])||void 0===e?void 0:e.value);L(N.shoeSize,t)},[F,U,w,L]),(0,o.useEffect)(()=>{if(A()){var n;L(N.customerName,(null==P?void 0:null===(n=P.firstName)||void 0===n?void 0:n.normalize("NFC"))||""),L(N.customerEmail,(null==P?void 0:P.email)||""),L(N.phoneNumber,(null==P?void 0:P.phoneNumber)||"")}},[A,L,null==P?void 0:P.email,null==P?void 0:P.firstName,null==P?void 0:P.phoneNumber]),(0,i.jsxs)(v,{className:j,children:[I?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h3",{className:"tw-text-base tw-font-bold",children:"Quer esperar por esse modelo?"}),(0,i.jsxs)("p",{className:"notify-me__paragraph tw-pt-2","data-testid":m.zn.NOTIFY_ME_TITLE,children:["Cadastre-se para ser informada",(0,i.jsx)("span",{className:"notify-me__paragraph__highlight",children:"quando este produto estiver dispon\xedvel"})]})]}),I?(0,i.jsxs)("div",{className:"notify-me__confirmation-box",children:[(0,i.jsxs)("div",{className:"notify-me__confirmation-box__title-wrapper",children:[(0,i.jsx)(u.X,{name:"checkButtonLight",size:22}),(0,i.jsx)("p",{className:"notify-me__title notify-me__title--success",children:"Avise-me cadastrado com sucesso"})]}),(0,i.jsxs)("p",{className:"notify-me__paragraph",children:["N\xf3s avisaremos voc\xea por e-mail quando o produto"," ",(0,i.jsx)("span",{className:"notify-me__paragraph__highlight",children:b})," ","estiver dispon\xedvel novamente em estoque."]}),(0,i.jsxs)("p",{className:"notify-me__paragraph",children:[(0,i.jsxs)("span",{className:"notify-me__paragraph__highlight notify-me__paragraph__highlight--full-line",children:["Importante:"," "]}),"Este aviso n\xe3o significa que o produto ser\xe1 reservado. O e-mail enviado \xe9 para avisar da chegada do produto novamente em estoque, por isso, quando receber o e-mail seja r\xe1pida!"]}),(0,i.jsx)("button",{onClick:()=>C(!1),className:"notify-me__confirmation-box__return-button",children:"Voltar"})]}):(0,i.jsxs)("form",{className:"notify-me__form",onSubmit:H(onSubmit),children:[S?(0,i.jsx)("div",{className:"notify-me__form__input-wrapper",children:(0,i.jsxs)("div",{children:[(0,i.jsx)(r._,{className:"label",children:"Selecione um tamanho"}),(0,i.jsx)(a.Qr,{name:N.shoeSize,control:M,rules:{required:{value:!0,message:"Tamanho inv\xe1lido."}},render:n=>{var e;let{field:{onChange:t,value:o,name:a,ref:r}}=n;return(0,i.jsx)(s.A,{placeholder:"Selecione um tamanho",id:N.shoeSize,customSelectClassName:m.zn.REMEMBER_ME_SIZE_SELECT,value:F(o),options:U(),isSearchable:!1,hasError:!!(null===(e=D[N.shoeSize])||void 0===e?void 0:e.message),inputRef:r,name:a,onChange:n=>{t(n.value)}})}})]})}):null,(0,i.jsx)("div",{className:"notify-me__form__input-wrapper",children:(0,i.jsx)(l.I,{label:"Nome",isDisabled:T,placeholder:"Informe seu nome",register:z(N.customerName,{required:{value:!0,message:B.customerName},pattern:{value:x.m.NAME,message:B.customerName},value:(null==P?void 0:P.firstName)||""}),errorMessage:getErrorMessage(N.customerName),inputClassName:"\n ".concat(m.zn.REMEMBER_ME_NAME_INPUT,"\n notify-me__form__name-input\n notify-me__form__input\n ")})}),(0,i.jsx)("div",{className:"notify-me__form__input-wrapper",children:(0,i.jsx)(l.I,{label:"E-mail",isDisabled:T,placeholder:"Informe seu e-mail",register:z(N.customerEmail,{required:{value:!0,message:B.customerEmail},pattern:{value:x.m.EMAIL,message:B.customerEmail},value:(null==P?void 0:P.email)||""}),errorMessage:getErrorMessage(N.customerEmail),inputClassName:"\n ".concat(m.zn.REMEMBER_ME_EMAIL_INPUT,"\n notify-me__form__input\n ")})}),(0,i.jsx)("div",{className:"notify-me__form__input-wrapper",children:(0,i.jsx)(l.I,{label:"Telefone",placeholder:"(xx) xxxxx xxxx",isDisabled:T,register:z(N.phoneNumber,{value:(null==P?void 0:P.phoneNumber)||""}),mask:"(99) 99999-9999",maskChar:null,inputClassName:"\n ".concat(m.zn.REMEMBER_ME_PHONE_INPUT,"\n notify-me__form__phone-input\n notify-me__form__input\n ")})}),(0,i.jsx)("div",{className:"notify-me__form__checkbox-wrapper",children:(0,i.jsx)(c.I,{id:O,isDisabled:T,register:z(N.newsletter),className:m.zn.REMEMBER_ME_CHECKBOX_SEND_NEWS,children:"Aceito receber novidades da Anacapri por e-mail e SMS."})}),(0,i.jsx)("div",{className:"notify-me__form__submit-wrapper",children:(0,i.jsxs)(d.z,{shouldGrow:!0,isLoading:T,isDisabled:T,type:"submit",className:"notify-me__form__submit-wrapper__button\n ".concat(m.zn.REMEMBER_ME_SEND_BUTTON),children:["Avise-me quando chegar",(0,i.jsx)(u.X,{name:"arrowRight",size:15,className:"notify-me__form__submit-wrapper__button__icon"})]})})]})]})}},34583:function(n,e,t){"use strict";t.d(e,{A:function(){return PaymentMethods}});var i=t(85893),o=t(67294),a=t(42473),r=t(87808),s=t(46840),l=t(37340),c=t(20256),d=t(94887),u=t(93804);function _templateObject(){let n=(0,l._)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 12px 16px;\n background-color: ",";\n border-radius: 10px;\n width: 100%;\n margin-bottom: 24px;\n\n .zz-icon path {\n stroke-width: 3;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,l._)(["\n :nth-child(n) {\n display: flex;\n align-items: center;\n justify-content: center;\n\n .content-container {\n padding: 20px 16px;\n border-radius: 20px;\n max-width: 406px;\n\n .payment-methods {\n &__title {\n font-weight: 400;\n font-size: 16px;\n margin-bottom: 16px;\n\n ::after {\n content: '';\n display: block;\n height: 3px;\n width: 103px;\n background-color: ",";\n margin-top: 16px;\n border-radius: 30px;\n }\n }\n\n &__table {\n width: 100%;\n\n &__row {\n display: flex;\n justify-content: space-between;\n }\n\n &__cell {\n margin-bottom: 16px;\n display: inline-flex;\n align-items: center;\n font-size: 12px;\n\n :last-child {\n font-weight: bold;\n }\n\n .zz-icon {\n margin-right: 9px;\n }\n }\n }\n\n &__ok-button {\n margin: 0;\n min-height: unset;\n padding: 11px 24px;\n }\n }\n }\n\n .close-button {\n top: 20px;\n right: 15px;\n }\n }\n"]);return _templateObject1=function(){return n},n}let p=c.ZP.button.withConfig({componentId:"sc-65b18f65-0"})(_templateObject(),u.H.PAMPAS_PINK),m=(0,c.ZP)(d.u).withConfig({componentId:"sc-65b18f65-1"})(_templateObject1(),u.H.TORCH_RED),x="Verificar formas de pagamento";function PaymentMethods(n){let{price:e,installments:t}=n,[l,c]=(0,o.useState)(!1),d=(0,s.o)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(p,{className:"payment-methods__open-modal-button",onClick:function(){c(!0),d.showPaymentInfo(()=>({elementText:x}))},children:[x," ",(0,i.jsx)(a.X,{name:"arrowRight",size:13})]}),(0,i.jsxs)(m,{isOpen:l,onRequestClose:()=>c(!1),children:[(0,i.jsx)("h2",{className:"payment-methods__title",children:"Formas de Pagamento"}),(0,i.jsx)("table",{className:"payment-methods__table",children:(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{className:"payment-methods__table__row",children:[(0,i.jsxs)("td",{className:"payment-methods__table__cell",children:[(0,i.jsx)(a.X,{name:"creditCards",size:12})," Cart\xe3o de Cr\xe9dito"]}),(0,i.jsxs)("td",{className:"payment-methods__table__cell",children:[t," sem juros"]})]}),(0,i.jsxs)("tr",{className:"payment-methods__table__row",children:[(0,i.jsxs)("td",{className:"payment-methods__table__cell",children:[(0,i.jsx)(a.X,{name:"barCode",size:16})," Boleto"]}),(0,i.jsxs)("td",{className:"payment-methods__table__cell",children:[e," \xe0 vista"]})]}),(0,i.jsxs)("tr",{className:"payment-methods__table__row",children:[(0,i.jsxs)("td",{className:"payment-methods__table__cell",children:[(0,i.jsx)(a.X,{name:"pixPay",size:16})," Pix"]}),(0,i.jsxs)("td",{className:"payment-methods__table__cell",children:[e," \xe0 vista"]})]})]})}),(0,i.jsx)(r.z,{className:"payment-methods__ok-button",shouldGrow:!0,onClick:()=>c(!1),children:"Ok"})]})]})}},63131:function(n,e,t){"use strict";t.r(e),t.d(e,{ThumbnailCarousel:function(){return ThumbnailCarousel},ZoomModal:function(){return ZoomModal}});var i=t(85893),o=t(67294),a=t(96984),r=t(42473),s=t(5632),l=t(28542),c=t(38538),d=t(6900),u=t(37340),p=t(20256),m=t(68460),x=t(6226),h=t(93804);function _templateObject(){let n=(0,u._)(["\n position: relative;\n flex: 1;\n\n :nth-child(n) {\n .carousel {\n &__slide {\n padding: 2px 0;\n }\n\n &__arrow {\n background-color: ",";\n border: none;\n top: unset;\n left: unset;\n bottom: unset;\n right: 50%;\n transform: translate(50%, 0);\n\n .zz-icon {\n color: ",";\n height: 10px;\n }\n\n &--next {\n bottom: 6px;\n }\n\n &--prev {\n top: -6px;\n }\n }\n }\n\n .thumbnail {\n background-color: ",";\n border: 1px solid ",";\n transition: 0.2s;\n display: flex;\n flex-direction: column;\n border-radius: 10px;\n overflow: hidden;\n width: 72px;\n height: 60px;\n max-height: 100%;\n position: relative;\n margin: 0 auto;\n\n @media only screen and (min-width: 1366px) {\n width: 82px;\n height: 68px;\n }\n\n &--video {\n .icon-wrapper {\n width: 100%;\n height: 100%;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n\n .zz-icon {\n color: ",";\n }\n }\n }\n\n &--is-active {\n border-color: ",";\n }\n\n /** prevent mobile from applying hover style on click */\n @media (hover: hover) {\n &:hover {\n border-color: ",";\n }\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let _=(0,p.ZP)(m.l).withConfig({componentId:"sc-75a372af-0"})(_templateObject(),h.H.TRANSPARENT,h.H.EMPEROR,h.H.TRANSPARENT,h.H.TRANSPARENT,(0,x.a7)(h.H.WHITE,70),h.H.COD_GRAY,h.H.TORCH_RED,h.H.TORCH_RED),f={width:80,height:66},g={width:70,height:58};function isVideoType(n){return n===d.c.VIMEO||n===d.c.YOUTUBE}function ThumbnailCarousel(n){let{imagesArray:e,onClickThumbnail:t,activeSlideIndex:d,className:u,options:p,productName:m="",...x}=n,{isTablet:h}=(0,c.k)();return(0,o.createElement)(_,{...x,className:"".concat(u," ").concat(function(){let n=e.length<5?"product-thumbnails__center":"";return"".concat(n," product-thumbnails").trim()}()).trim(),options:p,renderPrevButtonContent:()=>(0,i.jsx)(r.X,{name:"arrowUp"}),renderNextButtonContent:()=>(0,i.jsx)(r.X,{name:"arrowDown"}),key:e[0].url},e.map((n,o)=>{let{type:c="",url:u}=n;return(0,i.jsx)(s.q,{children:(0,i.jsx)("button",{onClick:()=>t(o),className:function(n){let{type:e="",index:t=0}=n,i=isVideoType(e)?"thumbnail--video":"";return"thumbnail ".concat(i," ").concat(d===t?"thumbnail--is-active":"").trim()}({type:c,index:o}),children:function(n){let{altText:t="",type:o="",url:s=""}=n,c=isVideoType(o),d=h?g:f;return c?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.M.Image,{src:e[0].url||"",alt:t||m,width:d.width,height:d.height,objectFit:"contain",className:"thumbnail__image","data-testid":l.zn.THUMBNAIL_ITEM}),(0,i.jsx)("div",{className:"icon-wrapper",children:(0,i.jsx)(r.X,{name:"play",size:20})})]}):(0,i.jsx)(a.M.Image,{src:s,alt:t||m,width:d.width,height:d.height,objectFit:"cover",className:"thumbnail__image","data-testid":l.zn.THUMBNAIL_ITEM})}(n)})},"".concat(u,"-").concat(c))}))}var w=t(26126),b=t(89352),j=t(19931),v=t(94887);function styles_templateObject(){let n=(0,u._)(["\n &.zoom-modal {\n height: 100%;\n }\n\n &:nth-child(n) {\n .close-button {\n z-index: 1;\n width: auto;\n right: 32px;\n top: 32px;\n }\n\n .content-container {\n display: flex;\n top: 0;\n left: 0;\n padding: 0;\n margin: 0;\n max-width: none;\n width: 100%;\n height: 100%;\n overflow: hidden;\n flex-direction: column-reverse;\n\n @media (min-width: 1025px) {\n flex-direction: row;\n }\n\n .zoom-container {\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: ",";\n overflow: hidden;\n\n &__wrapper {\n height: 100%;\n width: 100%;\n\n @media (min-width: 1025px) {\n width: auto;\n }\n\n .carousel {\n &__container {\n height: 100%;\n width: 100%;\n overflow: hidden;\n aspect-ratio: 1;\n }\n\n &__slide {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n justify-content: center;\n }\n }\n }\n }\n\n .hover-zoom-image {\n flex-direction: column;\n height: 100%;\n max-width: unset;\n max-height: unset;\n\n .container-image {\n background-color: ",";\n }\n }\n\n .pinch-container {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n }\n\n .thumbnails-container {\n width: 100%;\n margin: 32px 2px;\n\n @media only screen and (min-width: 1025px) {\n width: 85px;\n height: 100%;\n margin: 0 32px;\n padding: 60px 0;\n }\n\n .carousel {\n &__slide {\n min-height: auto;\n min-width: 85px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n &__container {\n height: 100%;\n width: 100%;\n margin: 0;\n max-height: 100vh;\n }\n\n &__arrow {\n &--prev {\n top: 10px;\n }\n\n &--next {\n bottom: 10px;\n }\n }\n }\n }\n }\n }\n"]);return styles_templateObject=function(){return n},n}let N=(0,p.ZP)(v.u).withConfig({componentId:"sc-af860adc-0"})(styles_templateObject(),h.H.WHITE,h.H.WHITE),E={hideArrows:!0,hidePagination:!0,drag:!1,slides:{perView:1}},S={slides:{perView:5},hidePagination:!0,vertical:!0,breakpoints:{"(min-height: 760px)":{slides:{perView:6}}}},O={slides:{perView:4.5},hidePagination:!0,hideArrows:!0};function ZoomModal(n){let{zoomImages:e,thumbImages:t,currentImageIndex:r=0,isOpenZoomModal:l,onCloseModal:d}=n,[u,p]=(0,o.useState)(r),[x,h]=(0,o.useState)(null),[_]=(0,o.useState)(null),{isTablet:f}=(0,c.k)(),{isDragEnabled:g,setIsDragEnabled:v,onAnimationEnded:y,onPanning:I,onZoomStop:C}=(0,j.D)({mainActiveSlideIndex:r,slidesContent:[],mainCarousel:x}),T=(0,o.useCallback)(n=>{let t=n>=0&&n{T(r),p(r)},[r,x,_,l,T]),(0,i.jsxs)(N,{className:"zoom-modal",isOpen:l,onRequestClose:d,lockPageScrollOnOpen:!0,children:[(0,i.jsx)(ThumbnailCarousel,{imagesArray:t,activeSlideIndex:u,onClickThumbnail:function(n){T(n),p(n)},className:"thumbnails-container",options:f?O:S}),(0,i.jsx)("div",{className:"zoom-container",children:(0,i.jsx)(m.l,{onAnimationEnded:y,className:"zoom-container__wrapper",options:E,onLoad:n=>h(n),shouldMoveIndex:!1,children:e.map((n,t)=>{let o=f?(0,i.jsx)("div",{className:"pinch-container",children:(0,i.jsx)(w.d$,{initialScale:1,minScale:1,maxScale:3,limitToBounds:!0,panning:{disabled:g},onZoomStart:()=>v(!1),onZoomStop:n=>C(n),onPanningStop:n=>I(n),children:(0,i.jsx)(w.Uv,{contentClass:"pinch-container__content",children:(0,i.jsx)(a.M.Image,{src:n.url,alt:(null==n?void 0:n.altText)||"",width:676,height:555,objectFit:"contain"})})})}):(0,i.jsx)(b.k,{altText:n.altText,imageSrc:n.url,zoomImageSrc:e[t].url||n.url,className:"hover-zoom-image",width:676,height:555,layout:"fill"});return(0,i.jsx)(s.q,{className:"zoom-container__slide",children:o},t)})})})]})}},54886:function(n,e,t){"use strict";t.d(e,{L:function(){return ProductGallery}});var i=t(85893),o=t(67294),a=t(5152),r=t.n(a),s=t(5632),l=t(68460),c=t(28542),d=t(38538),u=t(85051),p=t(59925),m=t(6900),x=t(38312),h=t(37340),_=t(20256),f=t(40230),g=t(6226),w=t(93804),b=t(35183);function _templateObject(){let n=(0,h._)(["\n background-image: url(",");\n aspect-ratio: 16 / 17;\n\n @media only screen and (min-width: 1024px) {\n aspect-ratio: 16 / 11;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,h._)(["\n width: 100%;\n display: flex;\n position: relative;\n overflow: hidden;\n flex-direction: column-reverse;\n\n @media only screen and (min-width: 1025px) {\n flex-direction: row;\n }\n\n .product-carousel {\n padding: 0 18px;\n margin: 0 auto;\n width: 100%;\n height: fit-content;\n flex: auto;\n\n @media only screen and (min-width: 1025px) {\n padding: 0 30px;\n }\n\n @media only screen and (min-width: 1366px) {\n padding: 0 80px;\n }\n\n .video-player-wrapper {\n max-width: 100%;\n aspect-ratio: 16 / 13.14;\n }\n\n .carousel {\n &__container {\n max-height: calc(100vh - ","px);\n aspect-ratio: 16 / 13.14;\n margin-bottom: 32px;\n }\n\n &__slide {\n min-width: 100% !important; // overwrite lib style\n height: 100%;\n\n > div {\n max-height: calc(100vh - ","px);\n height: 100%;\n }\n\n .button {\n cursor: pointer;\n\n &__image-container {\n display: flex;\n flex-direction: column;\n }\n }\n }\n\n &__pagination {\n width: fit-content;\n margin: auto;\n padding: 0 40px;\n position: relative;\n\n @media only screen and (max-width: 1025px) {\n margin-bottom: 40px;\n }\n\n &__dot {\n height: 9px;\n width: 9px;\n background-color: ",";\n opacity: 1;\n padding: 0;\n margin: 3px 5px;\n\n &--active {\n background-color: ",";\n }\n }\n }\n }\n }\n\n .play {\n &__button {\n width: 33px;\n height: 33px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n z-index: 1;\n background-color: ",";\n position: absolute;\n right: 0;\n top: 0;\n }\n }\n\n .container-thumbnail {\n .carousel {\n &__container {\n @media only screen and (min-width: 1025px) {\n margin: 32px 0;\n height: calc(100vh - ","px);\n max-height: 535px;\n }\n }\n }\n }\n"]);return _templateObject1=function(){return n},n}let j=f.i.HEADER_HEIGHT+58,v=j+80;_.ZP.div.withConfig({componentId:"sc-efa46da0-0"})(_templateObject(),b.a);let N=_.ZP.div.withConfig({componentId:"sc-efa46da0-1"})(_templateObject1(),v,v,w.H.SILVER_CHALICE,w.H.EMPEROR,(0,g.a7)(w.H.GRAY,8),v),E={loop:!0,hideArrows:!0,showDotsArrows:!0,hidePagination:!1},S={slides:{perView:4,spacing:8},hidePagination:!0,vertical:!0,breakpoints:{"(min-height: 760px)":{slides:{perView:5,spacing:8}}}},O={slides:{perView:4.5},hidePagination:!0,hideArrows:!0},y=r()(()=>Promise.all([t.e(1255),t.e(2422),t.e(741),t.e(759),t.e(5360),t.e(1598),t.e(1991),t.e(8284),t.e(3989),t.e(7483),t.e(185)]).then(t.bind(t,68512)).then(n=>n.Video),{loadableGenerated:{webpack:()=>[68512]}}),I=r()(()=>Promise.all([t.e(2422),t.e(3985),t.e(7685)]).then(t.bind(t,63131)).then(n=>n.ZoomModal),{loadableGenerated:{webpack:()=>[63131]}}),C=r()(()=>Promise.all([t.e(2422),t.e(3985),t.e(7685)]).then(t.bind(t,63131)).then(n=>n.ThumbnailCarousel),{loadableGenerated:{webpack:()=>[63131]}}),T="thumbnail";function ProductGallery(n){let{product:e}=n,{isTablet:t}=(0,d.k)(),[a,r]=(0,o.useState)(0),[h,_]=(0,o.useState)(0),[f,g]=(0,o.useState)(!1),[w,b]=(0,o.useState)([]),[j,v]=(0,o.useState)(null),[R,P]=(0,o.useState)(null),{getImagesAndVideo:A,getImagesByFormat:k}=(0,u._)({product:e}),z=A("product"),H=A(T),D=k("zoom"),M=k(T),L=0;return(0,p.Y)(()=>{null==j||j.track.init(0),null==R||R.track.init(0)},[z[0].url]),(0,o.useEffect)(()=>{let n=!!j&&!!R;n&&(null==j||j.on("animationStarted",n=>{let e=n.track.absToRel((null==n?void 0:n.animator.targetIdx)||0),t=Math.min(R.track.details.maxIdx,e);R.moveToIdx(t)}),null==j||j.on("animationEnded",n=>{n.update()}))},[j,R]),(0,i.jsxs)(N,{children:[(0,i.jsx)(C,{imagesArray:H,onClickThumbnail:function(n){null==j||j.moveToIdx(n),r(n)},onLoad:P,activeSlideIndex:a,options:t?O:S,className:"container-thumbnail",productName:e.name}),(0,i.jsx)(l.l,{hasLazyLoad:!0,className:"product-carousel",options:E,onMove:function(n){r(n),b(e=>e.includes(n)?e:[...e,n])},onLoad:n=>v(n),children:z.map((n,t)=>{let o=m.j.includes(n.type),a=o?function(n,t){let{altText:o="",thumb:a="",url:r=""}=n,s=n.type===m.c.YOUTUBE,l=w.includes(t);return(L++,l)?(0,i.jsx)(y,{options:{playing:!0,url:r,muted:!0,controls:!1,height:"100%"},shouldUseIframe:!1,shouldUseCustomControl:s,shouldHideTag:!0,shouldHideAudioToggle:!0}):(0,i.jsx)(x.q,{title:o,src:a,alt:o||e.name,priority:0===t,dataTestId:c.zn.PRODUCT_GALLERY_PHOTO})}(n,t):function(n,t){let{altText:o="",url:a}=n,r=t-L;return(0,i.jsx)(x.q,{title:o,src:a,alt:o||e.name,onClick:()=>{_(r),g(!0)},priority:0===t,dataTestId:c.zn.PRODUCT_GALLERY_PHOTO})}(n,t);return(0,i.jsx)(s.q,{className:"".concat(o?"carousel__slide--video":""),children:a},n.url)})},function(){let n=!!j,e=z[0].url;return"".concat(e).concat(n.toString())}()),(0,i.jsx)(I,{zoomImages:D,thumbImages:M,currentImageIndex:h,isOpenZoomModal:f,onCloseModal:()=>g(!1)})]})}},38312:function(n,e,t){"use strict";t.d(e,{q:function(){return ProductImage}});var i=t(85893),o=t(96984),a=t(38538),r=t(37340),s=t(20256),l=t(93804);function _templateObject(){let n=(0,r._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n .button {\n display: block;\n width: 100%;\n height: 100%;\n appearance: none;\n border: none;\n background: ",";\n display: flex;\n\n &__image-container {\n width: 100%;\n height: 100%;\n\n > div {\n height: 100%;\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let c=s.ZP.div.withConfig({componentId:"sc-4e9935d2-0"})(_templateObject(),l.H.TRANSPARENT),d={width:375,height:308},u={width:676,height:555};function ProductImage(n){let{src:e,alt:t="",id:r,title:s,onClick:l,priority:p=!1,dataTestId:m}=n,{isMobile:x}=(0,a.k)(),h=x?d:u;return(0,i.jsx)(c,{children:(0,i.jsx)("button",{className:"button",type:"button",onClick:l,id:r,children:(0,i.jsx)("div",{className:"button__image-container",children:(0,i.jsx)(o.M.Image,{title:s,width:h.width,height:h.height,layout:"responsive",objectFit:"contain",src:e,alt:t,className:"image",priority:p,fetchpriority:p?"high":"auto","data-testid":m})})})})}},9585:function(n,e,t){"use strict";t.d(e,{w:function(){return ProductInfo}});var i=t(85893),o=t(67294),a=t(6357),r=t(44424),s=t(72744),l=t(73008),c=t(24185),d=t(28542),u=t(63097),p=t(70004),m=t(38538),x=t(56423),h=t(79560),_=t(16114),f=t(76328),g=t(66999);function CampaignVoucher(n){let{voucherCode:e}=n;return(0,i.jsxs)("div",{className:"tw-mb-6 tw-flex tw-w-full tw-justify-between tw-gap-3 tw-rounded-3xl tw-bg-linen tw-px-3 tw-py-1.5",children:[(0,i.jsxs)("div",{className:"tw-flex tw-items-center",children:[(0,i.jsx)("div",{className:"tw-flex tw-w-full tw-max-w-8",children:(0,i.jsx)(_.P,{className:"tw-object-contain",src:g.Y.BUNNY,alt:"Coelho",width:32,height:32})}),(0,i.jsx)("p",{className:"tw-ml-[6px] tw-text-xs tw-leading-[14px]",children:"Voc\xea encontrou o voucher especial"})]}),(0,i.jsx)("div",{className:"tw-flex",children:(0,i.jsx)(f.C,{wrapperClassName:"tw-bg-white tw-text-xs tw-border-none tw-h-fit tw-m-auto [&:nth-child(n)]:tw-gap-2 [&_span]:tw-tracking-wider",buttonClassName:"[&:nth-child(n)]:tw-py-1 [&_.zz-icon]:tw-h-[17px] tw-text-white [&:nth-child(n)]:tw-bg-torch-red",code:e})})]})}var w=t(42473),b=t(88873),j=t(88002),v=t(41244),N=t(69183),E=t(46840),S=t(73866),O=t(35426),y=t(37340),I=t(20256);function _templateObject(){let n=(0,y._)(["\n display: flex;\n\n .favorite-button {\n z-index: auto;\n width: auto;\n height: auto;\n padding: 3px 5px;\n }\n\n .share-button {\n background: none;\n border: none;\n margin-right: 18px;\n }\n"]);return _templateObject=function(){return n},n}let C=I.ZP.div.withConfig({componentId:"sc-2c9e72db-0"})(_templateObject()),T="N\xe3o foi poss\xedvel compartilhar no momento, por favor, tente novamente mais tarde.";function FavoriteAndShare(n){let{product:e,isLoadingDynamicData:t,className:a=""}=n,{favorited:r,name:s}=e,l=(0,v.W)(),{isTablet:c}=(0,m.k)(),{toast:d}=(0,N.pm)(),[u,p]=(0,o.useState)(""),x=(0,E.o)();async function handleClickShare(){if(x.shareLink(()=>({product:e})),!navigator.share){d.error(T,{isDismissible:!0}),S.vU({title:T});return}await navigator.share({text:s,url:u})}(0,o.useEffect)(()=>{p(document.URL)},[]);let h=(0,o.useCallback)(n=>{l(j.e.PRODUCTS_SEARCH.MATCHER,!1,O.EA,n)},[l]);return(0,i.jsxs)(C,{className:a,children:[c?(0,i.jsx)("button",{type:"button",className:"share-button",onClick:handleClickShare,"aria-label":"Compartilhar produto",children:(0,i.jsx)(w.X,{name:"share",size:20})}):null,(0,i.jsx)(b._,{product:e,isProductFavorited:r,isLoading:t,onFavoriteChange:h,className:"favorite-button"})]})}var R=t(99267);function CheaperOnApp(){let[n,e]=(0,o.useState)(!1),{isMobile:t}=(0,m.k)();function handleClick(i){t||(i.preventDefault(),e(!n))}let a=!t&&n?"tw-rounded-t-lg":"tw-rounded-lg",r=n?"tw-rotate-180":"tw-rotate-0";function renderContent(){return(0,i.jsxs)("div",{className:"tw-flex tw-w-full tw-cursor-pointer tw-items-center tw-gap-2\n tw-bg-torch-red-light tw-p-4 tw-text-torch-red\n ".concat(a),onClick:handleClick,children:[(0,i.jsx)(w.X,{name:"appIcon",size:22}),(0,i.jsxs)("p",{className:"tw-justify-start tw-text-xs tw-font-semibold",children:["Pre\xe7o menor no app. ",(0,i.jsx)("span",{className:"tw-underline",children:"Baixe agora!"})]}),t?null:(0,i.jsx)(w.X,{className:"tw-ml-auto tw-transition-transform tw-duration-200\n ".concat(r),name:"newArrow",size:9})]})}return(0,i.jsx)("div",{className:"tw-relative tw-mb-6",children:t?(0,i.jsx)("a",{href:R.B.DOWNLOAD_APP,rel:"noopener noreferrer",children:renderContent()}):(0,i.jsxs)(i.Fragment,{children:[renderContent(),t||!n?null:(0,i.jsx)("div",{className:"tw-relative tw-left-0 tw-top-full tw-z-[1] tw-w-full tw-animate-dropdownOpen tw-rounded-b-lg tw-bg-torch-red-light",children:(0,i.jsxs)("div",{className:"tw-flex tw-gap-4 tw-px-4 tw-pb-4",children:[(0,i.jsx)("div",{className:"tw-text-torch-red",children:(0,i.jsxs)("p",{className:"tw-text-xs",children:["Aponte a c\xe2mera do seu celular para o QR CODE ao lado e garanta"," ",(0,i.jsx)("span",{className:"tw-font-bold",children:"benef\xedcios exclusivos no app!"})]})}),(0,i.jsx)(_.P,{alt:"qrcode app",src:g.Y.QRCODE_APP,className:"tw-size-14 tw-object-contain",width:56,height:56})]})})]})})}var P=t(93804);function styles_templateObject(){let n=(0,y._)(["\n margin-bottom: 25px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n .product-info {\n &__tag {\n margin-bottom: 15px;\n }\n\n &__name {\n font-size: 20px;\n font-weight: normal;\n margin-bottom: 13px;\n color: ",";\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n margin-right: 28px;\n }\n\n &__name-and-actions-container {\n display: flex;\n justify-content: space-between;\n }\n\n &__price {\n font-size: 18px;\n margin-bottom: 3px;\n\n &--is-unavailable {\n .price {\n color: ",";\n }\n }\n }\n }\n\n .skeleton-tag {\n margin-bottom: 15px;\n\n .skeleton-line {\n height: 25px;\n margin: 0;\n }\n }\n"]);return styles_templateObject=function(){return n},n}let A=I.ZP.div.withConfig({componentId:"sc-c7d66c99-0"})(styles_templateObject(),P.H.MINE_SHAFT,P.H.SPANISH_GRAY),k=(0,u.w)(n=>n.CashbackValue);function ProductInfo(n){let{product:e,productSize:t,isLoadingDynamicData:u,productCashback:_}=n,{showAppPromo:f}=(0,p.C)(e.isCheaperOn),{price:g,name:w,discountPrice:b,installment:j,sellable:v,availableInStore:N,stampTitle:E,stampStyle:S,code:O,priceFormattedDiscountPix:y,isPreOrder:I}=e,{currentSize:C}=t,T=!!(null==y?void 0:y.formattedValue),R=v||N,{isTablet:P}=(0,m.k)(),{getIsVariant:z,isLoadingFirebase:H,initFirebase:D,getWebConfig:M}=(0,x.f)();(0,o.useEffect)(()=>{D({testsToInit:[{parameterId:l.M.PIX_PRICE_LAYOUT_PDP}]})},[D]);let L=z({parameterId:l.M.PIX_PRICE_LAYOUT_PDP,activeVariant:c.F.C}),B=z({parameterId:l.M.PIX_PRICE_LAYOUT_PDP,activeVariant:c.F.D}),{seasonalCampaign:{startDate:U,endDate:G}}=(0,h.m4)(),F=new Date;function renderCampaignVoucher(n){let{isTabletOnly:e}=n||{},{easterProductsCampaign:t}=M()||{};if(!t)return null;let o=t.find(n=>n.code===O);if(!o)return null;let a=!Number.isNaN(U.getTime())&&!Number.isNaN(G.getTime());return a&&F>=U&&F<=G&&(e&&P||!e&&!P)?(0,i.jsx)(CampaignVoucher,{voucherCode:o.voucher}):null}return(0,i.jsxs)(i.Fragment,{children:[renderCampaignVoucher({isTabletOnly:!0}),(0,i.jsxs)(A,{children:[(0,i.jsxs)("div",{children:[function(){var n;if(u)return(0,i.jsx)(a.O,{className:"skeleton-tag",lines:1});let e=!!(I||(null==C?void 0:null===(n=C.stock)||void 0===n?void 0:n.isPreOrder));return(!R||E||e)&&e?(0,i.jsx)(r.s,{text:R?E:"Indispon\xedvel",dataTestId:d.zn.PRODUCT_TAG,className:"product-info__tag",styleColors:R?S:void 0}):null}(),(0,i.jsx)("div",{className:"product-info__name-and-actions-container",children:(0,i.jsx)("h1",{className:"product-info__name","data-testid":d.zn.PRODUCT_NAME,children:w})}),u||H?(0,i.jsx)(a.O,{lines:2}):(B||L)&&T?L?function(){if(!T)return null;let{formattedValue:n}=g,{formattedValue:e}=b,{formattedValue:t}=y;return(0,i.jsxs)("div",{className:"tw-flex tw-flex-col",children:[(0,i.jsx)(s.t,{value:n,valueWithDiscount:e,className:"product-info__price"}),(0,i.jsxs)("p",{className:"tw-mb-1.5 tw-text-sm",children:["em at\xe9 ",j," sem juros"]}),(0,i.jsxs)("p",{className:"tw-text-sm",children:["ou ",t," no Pix"]})]})}():function(){if(!T)return null;let{formattedValue:n}=g,{formattedValue:e}=b,{formattedValue:t}=y;return(0,i.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-1.5",children:[e&&(0,i.jsx)("p",{className:"tw-text-sm tw-line-through",children:n}),(0,i.jsxs)("p",{children:[(0,i.jsx)("span",{className:"tw-text-lg tw-font-bold ".concat(e?"tw-text-torch-red":"tw-text-mine-shaft"),children:t})," ","no Pix"]}),(0,i.jsxs)("span",{className:"tw-text-sm",children:["ou ",e||n," em at\xe9 ",j," sem juros"]})]})}():(0,i.jsxs)("div",{className:"product-info__price-container",children:[(0,i.jsx)(s.t,{value:g.formattedValue,valueWithDiscount:b.formattedValue,className:"".concat("product-info__price"," ").concat(R?"":"product-info__price--is-unavailable").trim()}),(0,i.jsxs)("span",{className:"product-info__installments",children:["ou ",j," sem juros"]})]}),function(){if(!_)return null;let n={value:_.value,formattedValue:_.formattedValue};return(0,i.jsx)(k,{className:"tw-mt-2",amount:n})}()]}),(0,i.jsx)(FavoriteAndShare,{product:e,isLoadingDynamicData:u,className:"product-info__favorite-and-share-container"})]}),f?(0,i.jsx)(CheaperOnApp,{}):null,renderCampaignVoucher()]})}},22589:function(n,e,t){"use strict";t.d(e,{R:function(){return ProductSizesStock}});var i=t(85893),o=t(67294),a=t(64893),r=t(98174),s=t(87808),l=t(25573),c=t(6357),d=t(36563),u=t(28542),p=t(46840),m=t(79560),x=t(67662),h=t(99957),_=t(38036),f=t(72190),g=t(42005),w=t(53486),b=t(39069),j=t(96612),v=t(94887);let N=[{key:"33",value:"22cm"},{key:"33/34",value:"22cm"},{key:"34",value:"22,6cm"},{key:"35",value:"23,3cm"},{key:"35/36",value:"23,3cm"},{key:"36",value:"24cm"},{key:"37",value:"24,6cm"},{key:"37/38",value:"24,6cm"},{key:"38",value:"25,3cm"},{key:"39",value:"26cm"},{key:"39/40",value:"26cm"},{key:"40",value:"26,6cm"}];function SizeGuide(n){let{sizes:e}=n,[t,a]=(0,o.useState)(!1);function toggleOpenModal(){a(!t)}return(0,i.jsxs)("div",{children:[(0,i.jsx)("button",{className:"tw-h-7 tw-text-mine-shaft tw-underline",onClick:toggleOpenModal,children:"Descubra seu tamanho"}),(0,i.jsxs)(v.u,{isOpen:t,lockPageScrollOnOpen:!0,onRequestClose:toggleOpenModal,className:"[&:nth-child(n)]:tw-flex [&:nth-child(n)]:tw-items-center [&:nth-child(n)]:tw-justify-center [&:nth-child(n)_.content-container]:tw-max-w-[338px] [&:nth-child(n)_.content-container]:tw-rounded-[20px] [&:nth-child(n)_.content-container]:tw-px-4 [&:nth-child(n)_.content-container]:tw-pb-11 [&:nth-child(n)_.content-container]:tw-pt-5 [&:nth-child(n)_.content-container]:lg:tw-w-auto [&:nth-child(n)_.content-container]:lg:tw-max-w-[unset] [&:nth-child(n)_.content-container_.close-button]:tw-right-4 [&:nth-child(n)_.content-container_.close-button]:tw-top-5 [&:nth-child(n)_.content-container_.close-button]:tw-z-[1]",children:[(0,i.jsx)("h2",{className:"tw-relative tw-mb-7 tw-text-base tw-font-normal after:tw-absolute after:tw-bottom-[-9px] after:tw-block after:tw-h-[3px] after:tw-w-[103px] after:tw-rounded-[30px] after:tw-bg-torch-red after:tw-content-['']",children:"Descubra seu tamanho"}),(0,i.jsx)("p",{className:"tw-max-w-72 tw-text-xs tw-text-dove-gray",children:"Consulte a seguir as medidas em cent\xedmetros referente a cada numera\xe7\xe3o"}),(0,i.jsx)("div",{className:"tw-mt-[53px] tw-grid tw-grid-cols-4 tw-gap-4 tw-px-3 tw-text-center lg:tw-max-w-[448px] lg:tw-grid-cols-5 lg:tw-gap-8",children:function(){let n=e.length>0?e:N;return n.map(n=>{let{key:e,value:t}=n;return(0,i.jsxs)("div",{className:"tw-flex tw-flex-col tw-items-center",children:[(0,i.jsx)("p",{className:"tw-mb-[5px] tw-text-base tw-text-cod-gray",children:e}),(0,i.jsx)("p",{className:"tw-text-xs tw-text-torch-red",children:t})]},e)})}()})]})]})}let E=new Set(["Meias"]);function ProductSizesStock(n){let{product:e,productSize:t,isLoadingDynamicData:v,isPersonalizeEnabled:N,productCashback:S}=n,{name:O,code:y,productType:I,breadCrumbs:C}=e,[T,R]=(0,o.useState)(!1),[P,A]=(0,o.useState)(!1),[k,z]=(0,o.useState)(null),{sizeOptions:H,isUniqueSize:D,currentSize:M,setCurrentSize:L,remainingWarn:B,isUnavailableProduct:U,isUnavailable:G,sizeGuide:F,sizesNotSellable:V}=t,q=(0,o.useRef)(null),Z=(0,p.o)(),{recommendations:Y}=(0,m.m4)(),W=(0,j.C2)(Y,d.bL),X=C.some(n=>E.has(n.name));function handleClickUnavailableSize(n){z(n||H[0]),A(!0),Z.similarProductsClickUnavailableSize(y,(null==n?void 0:n.displayText)||"Tamanho \xfanico")}function handleSelectSizeOption(n){L(n),n.sellable||(A(!0),Z.similarProductsClickUnavailableSize(y,n.displayText))}function renderProductSizes(){return(0,i.jsx)(h.o,{remainingWarn:B||"",sizes:H,forwardedRef:q,selectedOption:M,setSelectedOption:handleSelectSizeOption,hasSizeNotSelectedError:T})}return v?(0,i.jsx)(c.O,{lines:5}):(0,i.jsxs)("div",{className:"tw-w-full",children:[D?null:U?(0,i.jsxs)("div",{className:"tw-mb-4",children:[(0,i.jsxs)("div",{className:"tw-text-emperor",children:[(0,i.jsx)("h3",{className:"tw-text-base tw-font-bold",children:"Produto indispon\xedvel"}),(0,i.jsx)("p",{className:"tw-pt-2 tw-text-sm",children:"Clique na sua numera\xe7\xe3o para ver produtos similares dispon\xedveis"})]}),renderProductSizes()]}):renderProductSizes(),U?null:(0,i.jsxs)("div",{className:"tw-mb-6 tw-flex tw-items-center tw-justify-end",children:[B?(0,i.jsx)("p",{className:"tw-mr-auto tw-animate-opening tw-rounded tw-bg-gallery tw-px-6 tw-py-1.5 tw-text-xs tw-text-torch-red",children:B}):null,function(){let n=F.length>0||"shoe"===I||X;return n?(0,i.jsx)(SizeGuide,{sizes:F}):null}()]}),U&&D&&W?(0,i.jsxs)("div",{className:"tw-mb-6 tw-flex tw-flex-col tw-gap-2 tw-text-emperor",children:[(0,i.jsx)("h3",{className:"tw-text-base tw-font-bold","data-testid":u.zn.UNAVAILABLE_UNIQUE_SIZE_TITLE,children:"Produto indispon\xedvel"}),(0,i.jsx)("p",{className:"tw-text-sm",children:"Encontramos produtos similares que est\xe3o dispon\xedveis"}),(0,i.jsx)(s.z,{dataTestId:u.zn.UNAVAILABLE_UNIQUE_SIZE_OPEN_SIMILAR_BTN,onClick:()=>handleClickUnavailableSize(),variant:a.c.outlined,className:"tw-m-0 tw-mt-1",children:"Ver produtos similares"})]}):null,(0,i.jsx)(x.q,{currentSize:M,productCode:y,sizeOptions:H}),T?(0,i.jsx)(r.j,{className:"tw-animate-fade-in tw-mb-2 tw-text-center tw-text-xs tw-text-red-ribbon",children:"Selecione um tamanho antes de continuar"}):null,function(){let{stock:{isPreOrder:n,nextFormattedDeliveryDate:e}={}}=null!=M?M:{};return n?(0,i.jsxs)("div",{className:"tw-animate-fade-in tw-mb-4 tw-rounded-lg tw-bg-pampas-pink tw-p-4 tw-text-sm","data-testid":u.zn.PRE_ORDER_BOX,children:[(0,i.jsxs)("p",{className:"tw-font-xs tw-mb-2 tw-uppercase tw-text-cod-gray",children:["Previs\xe3o de envio: ",(0,i.jsx)("b",{children:e})]}),(0,i.jsx)("p",{children:"Consulte na sacola a disponibilidade de prazo reduzido recebendo a partir de uma loja perto de voc\xea."})]}):null}(),(0,i.jsx)(_._,{product:e,isLoadingDynamicData:v,selectedOption:M,productSizesRef:q,setHasSizeNotSelectedError:R,isPersonalizeEnabled:N,productCashback:S}),(0,i.jsx)(w.r,{isLoadingDynamicData:v,product:e,selectedOption:M}),!v&&U?(0,i.jsx)(f.c,{productCode:y,productName:O,selectedOption:M,sizes:H}):null,U?null:(0,i.jsx)(g.w,{sizeOptions:H,onClickSize:handleClickUnavailableSize}),(0,i.jsx)(l.d,{lockPageScrollOnOpen:!0,isOpen:P,onClose:function(){A(!1),z(null),M&&!G||L(null)},children:(0,i.jsx)(b.E,{isUniqueSize:D,product:e,selectedSizeOption:k||M,sizesNotSellable:V})})]})}},99957:function(n,e,t){"use strict";t.d(e,{o:function(){return ProductSizes}});var i=t(85893),o=t(28542),a=t(46840),r=t(91315),s=t(45907),l=t(37340),c=t(20256),d=t(93804);function _templateObject(){let n=(0,l._)(["\n @keyframes showUp {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n .product-sizes {\n display: grid;\n grid-template-columns: repeat(4, minmax(76px, auto));\n justify-content: space-between;\n gap: 13px;\n margin: 15px 0;\n\n @media only screen and (max-width: 375px) {\n gap: 13px 0;\n }\n\n &__size {\n font-family: inherit;\n font-weight: 700;\n font-size: 16px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 48px;\n border-radius: 100px;\n color: ",";\n border: 1px solid ",";\n background: ",";\n transition: all 0.4s ease;\n\n @media only screen and (max-width: 1024px) {\n width: 100%;\n }\n\n &--selected {\n color: ",";\n background: ",";\n border-color: ",";\n }\n\n &--unavailable {\n color: ",";\n background: ",";\n border-color: ",";\n\n &.product-sizes__size--selected {\n color: ",";\n background: ",";\n border-color: ",";\n }\n }\n\n &--error {\n border-color: ",";\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let u=c.ZP.div.withConfig({componentId:"sc-e1e6debf-0"})(_templateObject(),d.H.AURO_METAL_SAURUS,d.H.AURO_METAL_SAURUS,d.H.WHITE,d.H.WHITE,d.H.TORCH_RED,d.H.TORCH_RED,d.H.AURO_METAL_SAURUS,d.H.LIGHT_SILVER,d.H.LIGHT_SILVER,d.H.WHITE,d.H.TORCH_RED,d.H.TORCH_RED,d.H.RED_RIBBON);function ProductSizes(n){let{sizes:e,selectedOption:t,setSelectedOption:l,forwardedRef:c}=n,d=(0,a.o)(),{cepLocation:p,hasLocation:m}=(0,r.f)();return(0,i.jsx)(u,{ref:c,children:(0,i.jsx)("div",{className:"product-sizes",children:null==e?void 0:e.map(n=>(0,i.jsx)("button",{className:"product-sizes__size ".concat(function(n){let e=!n.sellable,i=(null==t?void 0:t.code)===n.code,a=e?"".concat(o.zn.SIZE_UNAVAILABLE_SELECT):"".concat(o.zn.SIZE_SELECT),r="button-size ".concat(i?"product-sizes__size--selected":""," ").concat(e?"product-sizes__size--unavailable":""," ").concat(a,"-").concat(n.value);return s.UA(r)}(n)),type:"button",onClick:()=>{d.omniFeature(()=>({actionName:"pdp_product_details.clicou.tamanho",primarySection:"pdp_product_details",element:"tamanho",location:p,hasLocation:m})),l(n)},children:n.value},n.code))})})}},39069:function(n,e,t){"use strict";t.d(e,{E:function(){return SimilarProducts}});var i=t(37340),o=t(85893),a=t(5632),r=t(65856),s=t(77794),l=t(68460),c=t(88064),d=t(28542),u=t(56910),p=t(38538),m=t(46840),x=t(68472),h=t(72190);function _templateObject(){let n=(0,i._)(["tw-min-h-[244px] max-md:-tw-mr-5\n min-[1025px]:tw-min-h-[196px]\n [&>.carousel\\_\\_arrow--next]:tw-right-0\n [&>.carousel\\_\\_arrow--prev]:tw-left-0\n [&>.carousel\\_\\_container]:tw-m-auto\n [&>.carousel\\_\\_container]:min-[1025px]:tw-w-[74%]"],["tw-min-h-[244px] max-md:-tw-mr-5\n min-[1025px]:tw-min-h-[196px]\n [&>.carousel\\\\_\\\\_arrow--next]:tw-right-0\n [&>.carousel\\\\_\\\\_arrow--prev]:tw-left-0\n [&>.carousel\\\\_\\\\_container]:tw-m-auto\n [&>.carousel\\\\_\\\\_container]:min-[1025px]:tw-w-[74%]"]);return _templateObject=function(){return n},n}function SimilarProducts(n){let{selectedSizeOption:e,product:t,isUniqueSize:i,sizesNotSellable:_}=n,{code:f,name:g}=t,{PDP_UNAVAILABLE_SIZE:w}=c.RECOMMENDATION_SECTION_IDS,b=c.Q[w][0],{isLoading:j,products:v,isCarouselEnabledBackOffice:N}=(0,u.n)({section:b,currentPageProduct:t,productSize:null==e?void 0:e.value}),{isTablet:E}=(0,p.k)(),S=(0,m.o)(),O=N&&v.length>0,{handleCarouselSlideMove:y,handleTrackSimilarProductClick:I}=(0,x.G)({isLoadingFetchSimilarProducts:j,mainProductCode:f,similarProducts:v});return(0,o.jsxs)("div",{className:"tw-p-5 tw-text-emperor md:tw-p-7",children:[(0,o.jsx)("h3",{className:"tw-text-base tw-uppercase","data-testid":d.zn.SIMILAR_PRODUCTS_TITLE,children:i?"Produto indispon\xedvel":"Tamanho indispon\xedvel"}),O?(0,o.jsxs)("p",{className:"tw-pt-2 tw-text-sm","data-testid":d.zn.SIMILAR_PRODUCTS_DESCRIPTION,children:["Encontramos produtos similares que est\xe3o dispon\xedveis",i?".":" ",!i&&(0,o.jsxs)(o.Fragment,{children:["no ",(0,o.jsxs)("strong",{children:["tamanho ",null==e?void 0:e.displayText,"."]})]})]}):null,O?(0,o.jsx)(l.l,{"data-testid":d.zn.SIMILAR_PRODUCTS_CAROUSEL,className:String.raw(_templateObject()),options:{hideArrows:!!E,hidePagination:!0,slides:{perView:1.5,spacing:16},breakpoints:{"(min-width: 1025px)":{slides:{perView:2,spacing:20}}}},onMove:y,children:j?Array.from({length:2}).map((n,e)=>(0,o.jsx)(a.q,{children:(0,o.jsx)("div",{className:"tw-min-h-[244px] min-[1025px]:tw-min-h-[196px]",children:(0,o.jsx)(r.a,{})})},e)):v.map((n,e)=>(0,o.jsx)(a.q,{onClick:()=>I(n,e),children:(0,o.jsx)(s.C,{product:{...n},shouldHideInfo:!0,dataTestId:"".concat(d.zn.SIMILAR_PRODUCTS_PRODUCT,"-").concat(e+1),hasGtmAttr:!1})},n.code))}):null,(0,o.jsx)("div",{className:O?"tw-mt-10":"tw-mt-6",children:(0,o.jsx)(h.c,{checkboxId:"similar-products-notify-me-checkbox",className:"tw-my-2",productCode:f,productName:g,selectedOption:e,shouldUseSizeField:!1,onSubmitGTMEvent:function(){S.similarProductsSubmitForm(f,(null==e?void 0:e.displayText)||_[0].displayText)}})})]})}},42005:function(n,e,t){"use strict";t.d(e,{w:function(){return UnavailableSizes}});var i=t(85893),o=t(28542);function UnavailableSizes(n){let{sizeOptions:e,onClickSize:t}=n,a=e.some(n=>!n.sellable);return a?(0,i.jsxs)("div",{className:"tw-mt-6 tw-flex tw-flex-col tw-gap-1 tw-text-emperor",children:[(0,i.jsx)("h3",{className:"tw-text-base tw-font-bold","data-testid":o.zn.UNAVAILABLE_SIZES_LIST_TITLE,children:"N\xe3o achou seu tamanho?"}),(0,i.jsx)("p",{className:"tw-text-sm",children:"Temos op\xe7\xf5es similares pra voc\xea"}),(0,i.jsx)("div",{className:"tw-mt-2 tw-flex tw-flex-wrap tw-gap-1.5",children:e.filter(n=>!n.sellable).map(n=>(0,i.jsx)("button",{"data-testid":"".concat(o.zn.UNAVAILABLE_SIZES_LIST_SIZE,"-").concat(n.value),onClick:()=>t(n),className:" tw-flex tw-items-center tw-justify-center tw-rounded-3xl tw-border tw-border-emperor tw-px-4 tw-py-2.5 tw-text-xs tw-font-medium ",children:n.displayText},n.value))})]}):null}},39906:function(n,e,t){"use strict";t.d(e,{e:function(){return ProductPage}});var i=t(85893),o=t(67294),a=t(5152),r=t.n(a),s=t(19060),l=t(72707),c=t(6357),d=t(2177),u=t(20559),p=t(66006),m=t(29626),x=t(30576),h=t(59492),_=t(88064),f=t(82415),g=t(14683),w=t(38538),b=t(91315),j=t(58477),v=t(1716),N=t(63025),E=t(12198),S=t(46840),O=t(81836),y=t(23821),I=t(52992),C=t(34583),T=t(54886),R=t(9585),P=t(22589),A=t(73089),k=t.n(A),z=t(37340),H=t(20256),D=t(52429);function _templateObject(){let n=(0,z._)(["\n .product-grid {\n padding: 0 ","px;\n width: 100%;\n max-width: 1366px;\n margin: 0 auto;\n\n @media only screen and (max-width: 768px) {\n &__details {\n padding: 0;\n }\n }\n\n @media only screen and (max-width: 1024px) and (min-width: 769px) {\n &__details {\n padding: 0 16px;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 0;\n\n &__info-column,\n &__reference,\n &__content {\n padding: 0 16px;\n }\n }\n\n .breadcrumb-wrapper {\n margin: 10px 0 32px;\n }\n\n &__row {\n display: flex;\n\n @media only screen and (max-width: 1024px) {\n flex-direction: column;\n margin-bottom: 60px;\n }\n }\n\n &__gallery-column {\n margin-right: ","px;\n width: calc(70% - ","px);\n flex: 2;\n\n @media only screen and (max-width: 1024px) {\n width: 100%;\n }\n }\n\n &__info-column {\n width: 345px;\n margin-top: 10px;\n\n @media only screen and (max-width: 1024px) {\n width: 100%;\n }\n }\n\n &__gallery {\n margin-bottom: 50px;\n }\n\n &__references {\n margin-bottom: 60px;\n\n @media only screen and (max-width: 1024px) {\n margin-bottom: 25px;\n }\n }\n\n &__details {\n display: flex;\n margin-bottom: 70px;\n\n @media only screen and (max-width: 1024px) {\n flex-direction: column-reverse;\n margin-bottom: 21px;\n }\n }\n\n &__content {\n margin-bottom: 40px;\n\n @media only screen and (max-width: 1024px) {\n margin-bottom: 18px;\n }\n }\n\n &__recommended-carousel {\n margin-bottom: 6px;\n\n @media only screen and (max-width: 1024px) {\n margin-bottom: 0;\n padding-right: 0;\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let M=(0,H.ZP)(D.A).withConfig({componentId:"sc-63553a59-0"})(_templateObject(),34,44,112),L={autoplay:!0,delay:7e3,hidePagination:!0,loop:!0,slides:{spacing:10}},B=r()(()=>Promise.all([t.e(741),t.e(3985),t.e(1353)]).then(t.bind(t,52957)).then(n=>n.ProductContent),{loadableGenerated:{webpack:()=>[52957]}}),U=r()(()=>Promise.all([t.e(741),t.e(3985),t.e(1353)]).then(t.bind(t,52957)).then(n=>n.ProductReferences),{loadableGenerated:{webpack:()=>[52957]}}),G=r()(()=>Promise.all([t.e(741),t.e(3985),t.e(1353)]).then(t.bind(t,52957)).then(n=>n.ProductDetails),{loadableGenerated:{webpack:()=>[52957]}}),F=r()(()=>Promise.all([t.e(741),t.e(3985),t.e(1353)]).then(t.bind(t,52957)).then(n=>n.BagDimensionsModal),{loadableGenerated:{webpack:()=>[52957]}});function ProductPage(n){let{product:e,isPersonalizeEnabled:t,slots:a}=n,[r,A]=(0,o.useState)(e),[z,H]=(0,o.useState)((0,f.b)({})),{isVariant:D}=(0,g.t)({experienceId:m.a.PAYMENT_METHODS_ON_PDP}),[V,q]=(0,o.useState)(!0),{isTablet:Z,isMobile:Y}=(0,w.k)(),{cepLocation:W}=(0,b.f)(),{cep:X}=W,{productCashback:K,isCashbackWebEnabled:Q}=(0,j.E)({isLoadingDynamicData:V,product:r}),$=(0,v.G)({product:r}),{code:J,breadCrumbs:nn,description:ne,characteristics:nt,productType:ni,legacySKU:no,color:na,colorOptions:nr,infoSection:ns,name:nl,dimensions:nc}=r;(0,N.h)({code:J}),(0,E.G)({product:r,productCashback:K,isCashbackWebEnabled:Q,isLoadingDynamicData:V});let nd=(0,S.o)(),nu=(0,o.useCallback)(async()=>{q(!0);let{result:n,hasError:t}=await y.M.getDynamicProductData(e.code);!t&&n&&(H(n),A({...e,...n}),q(!1))},[e]);function renderProductReference(n){let{isMobileOnly:e}=n||{},t=function(n){let{isMobileOnly:e}=n;return e&&Z||!e&&!Z}({isMobileOnly:e});if(!t)return null;let{references:o=[]}=r;return(0,i.jsx)(U,{products:o,currentPageProduct:r,className:"product-grid__references"})}return(0,o.useEffect)(()=>{nu()},[nu,X]),(0,O.Q)(()=>{nd.geolocation(()=>({cepLocation:W}))},[]),(0,i.jsxs)(M,{children:[(0,i.jsx)(p.F,{...r}),(0,i.jsx)(s.I,{slot:null==a?void 0:a[x.N.HEADER],extraSlot:null==a?void 0:a[x.N.SECTION_HTML_CAROUSEL]}),function(){let n=Y?null==a?void 0:a[x.N.ANACAPRI_TIMER_MOBILE]:null==a?void 0:a[x.N.ANACAPRI_TIMER];return(0,i.jsx)(s.I,{slot:n})}(),(0,i.jsxs)("div",{className:"product-grid",children:[(0,i.jsxs)("div",{className:"product-grid__row",children:[(0,i.jsxs)("div",{className:"product-grid__gallery-column",children:[Z?null:(0,i.jsx)("div",{className:"breadcrumb-wrapper",children:(0,i.jsx)(l.a,{data:(()=>{let n=nn.find(n=>"Home"===n.name)||{name:"Home",url:h.Z.HOME},e=nn.filter(e=>e.name!==n.name);return[n,...e]})()})}),(0,i.jsx)("div",{className:"product-grid__gallery",children:(0,i.jsx)(T.L,{product:r})}),renderProductReference()]}),(0,i.jsxs)("div",{className:"product-grid__info-column",children:[(0,i.jsx)(R.w,{product:r,productSize:$,isLoadingDynamicData:V,productCashback:K}),function(){if(!D)return null;let{discountPrice:n,price:e,installment:t}=r,o=n.formattedValue||e.formattedValue;return(0,i.jsx)(C.A,{price:o,installments:t})}(),(0,i.jsxs)("div",{className:"tw-mb-6 tw-flex tw-flex-col tw-gap-4",children:[(0,i.jsx)("div",{className:"tw-w-full",children:(0,i.jsx)(d._,{product:z,className:k().carousel,carouselOptions:L})}),V?(0,i.jsx)(c.O,{lines:3}):0===nr.length?null:(0,i.jsx)(I.K,{colorOptions:nr,currentColor:na,productCode:J}),"bag"!==ni?null:(0,i.jsx)(F,{dimensions:nc})]}),(0,i.jsx)(P.R,{product:r,productSize:$,isLoadingDynamicData:V,isPersonalizeEnabled:t,productCashback:K})]})]}),renderProductReference({isMobileOnly:!0}),(0,i.jsx)("div",{className:"product-grid__details",children:(0,i.jsx)(G,{description:ne,characteristics:nt,legacySKU:no,dimensions:nc,productType:ni})})]}),function(){let{titleText:n,descriptionText:e}=ns;return n||e?(0,i.jsx)(B,{infoSection:ns}):null}(),V?null:(0,i.jsx)(u.v,{sectionId:_.RECOMMENDATION_SECTION_IDS.PDP_FOOTER,currentPageProduct:r,isLoading:V}),(0,i.jsx)(s.I,{slot:null==a?void 0:a[x.N.FOOTER]})]})}},75130:function(n,e,t){"use strict";t.d(e,{Z:function(){return SearchPage}});var i=t(85893),o=t(67294),a=t(11163),r=t(72707),s=t(60439),l=t(19060),c=t(22393),d=t(59492),u=t(35234),p=t(38538),m=t(22564),x=t(1214),h=t(53917),_=t(32248),f=t(78069),g=t(37340),w=t(20256),b=t(52429);function _templateObject(){let n=(0,g._)(["\n width: 100%;\n\n .breadcrumb-wrapper {\n margin: 10px 0 32px 20px;\n }\n"]);return _templateObject=function(){return n},n}let j=(0,w.ZP)(b.A).withConfig({componentId:"sc-de80c65d-0"})(_templateObject());function SearchPage(n){let{slots:e,seoContent:t}=n,{seoTitle:g,categoryName:w}=t||{},{isTablet:b}=(0,p.k)(),{results:v,isLoading:N}=(0,m.C)(),{breadcrumbCategory:E,pagination:S}=v,{products:O,keywordRedirectUrl:y}=v;(0,x.Z)({keywordRedirectUrl:y});let I=(0,o.useRef)(null),{onApplySearchFilters:C,getMoreSearchProducts:T}=(0,h.N)(),R=(0,a.useRouter)(),{text:P}=R.query;function getTitle(){return g||(w?"".concat(w," | ").concat(f.T.PAGE_TITLE_BRAND_NAME):"".concat(f.T.PAGE_TITLE_BRAND_NAME))}async function updateCategorySort(n){let{currentQuery:e,pagination:t}=v,i=e.query.value.replace(t.sort,n);C(i)}return(0,_.T)({productsLength:O.length,isLoading:N,keywordRedirectUrl:y}),(0,i.jsxs)(j,{children:[(0,i.jsx)(s.F,{title:getTitle(),description:getTitle()}),(0,i.jsx)(l.I,{slot:null==e?void 0:e[u.o.HEADER]}),b?null:(0,i.jsx)("div",{className:"breadcrumb-wrapper",children:(0,i.jsx)(r.a,{data:(()=>{let n=E.find(n=>"Home"===n.name)||{name:"Home",url:d.Z.HOME},e=E.filter(e=>e.name!==n.name);return[n,...e]})()})}),(0,i.jsx)(c.p,{isLoading:N,seoContent:t,totalResults:S.totalResults,onDropdownPress:n=>updateCategorySort(n),seoBottomRef:I,results:v,onApplyFilter:C,getMoreProducts:T,searchText:P}),(0,i.jsx)(l.I,{slot:null==e?void 0:e[u.o.FOOTER]})]})}},18313:function(n,e,t){"use strict";t.d(e,{l:function(){return StaticPage}});var i=t(85893),o=t(58035),a=t(52429),r=t(64646),s=t(20634);function StaticPage(n){let{slots:e,...t}=n;return(0,i.jsx)(a.A,{children:(0,i.jsx)(s.l,{...t,slots:e,renderCustomCategoryList:function(){let n=null==e?void 0:e[r.s.ZZ_CONTENT_CATEGORY_LIST];return(0,i.jsx)(o.H,{shouldHideDescription:!0,shouldHideSearch:!0,categoryListSlot:n,isPost:!0})}})})}},51890:function(n,e,t){"use strict";t.d(e,{I:function(){return StoreFinderPage}});var i=t(85893),o=t(67294),a=t(91697),r=t(6357),s=t(52429),l=t(19060),c=t(63362),d=t(38538),u=t(5632),p=t(23345),m=t(37340),x=t(20256),h=t(68460),_=t(6226),f=t(93804);function _templateObject(){let n=(0,m._)(["\n position: fixed;\n bottom: 0;\n width: 100%;\n z-index: 1;\n width: 100%;\n\n .carousel {\n &__container {\n height: 90vh;\n position: absolute;\n width: 100%;\n box-shadow: 0px 4px 15px ",";\n border-radius: 40px 40px 0 0;\n overflow: visible;\n top: -","px;\n background-color: ",";\n padding: ","px 17px 0;\n }\n\n &__slide {\n min-height: auto !important;\n overflow: visible;\n }\n }\n\n .draggable-card {\n &__content {\n height: 100%;\n width: 100%;\n position: relative;\n overflow-y: visible;\n padding-bottom: ","px;\n }\n }\n"]);return _templateObject=function(){return n},n}let g=(0,x.ZP)(h.l).withConfig({componentId:"sc-9e7ae9ae-0"})(_templateObject(),(0,_.a7)(f.H.BLACK,25),n=>{let{firstSlideHeight:e}=n;return e+25},f.H.PAMPAS_PINK,25,25);function DraggableCard(n){let{renderCardContent:e=()=>null,renderCardHeader:t=()=>null,className:a="",onLoad:r}=n,s=(0,o.useRef)(0),[l,c]=(0,o.useState)(0),[d,m]=(0,o.useState)(!1),{lockScroll:x,unlockScroll:h}=(0,p.F)();return(0,i.jsx)(g,{className:a,onMove:function(n){let e=1===n;m(e),e?x():h()},options:{hideArrows:!0,hidePagination:!0,vertical:!0,rubberband:!0,slides:function(n,e){s.current=e[0].getBoundingClientRect().height,c(s.current);let t=n-s.current;n=t;let i=(t-s.current)/t;return[{size:s.current/t,origin:0},{size:i,origin:-i}]},detailsChanged:function(n){let e=n.track.details,t=5*s.current,i=-((n.size-s.current)*(t/1e3)*e.length*e.progress*1);n.container.style.transform="translate3d(0, ".concat(Math.round(i),"px, 0)")},renderMode:"custom",initial:0},firstSlideHeight:l,onLoad:r,children:(0,i.jsxs)("div",{className:"draggable-card__content","data-keen-slider-scrollable":!0,style:{overflowY:d?"scroll":"visible"},children:[(0,i.jsx)(u.q,{children:t()}),(0,i.jsx)(u.q,{children:e()})]})})}var w=t(87536),b=t(85519),j=t(42473),v=t(62604),N=t(87808),E=t(10770),S=t(92908),O=t(28542),y=t(43643),I=t(64633);function styles_templateObject(){let n=(0,m._)(["\n width: 100%;\n display: flex;\n align-items: end;\n justify-content: center;\n gap: 20px;\n margin-bottom: 25px;\n\n @media only screen and (max-width: 1024px) {\n flex-direction: column;\n padding: 0 20px;\n align-items: flex-start;\n gap: 10px;\n }\n\n .loader {\n right: 10px;\n top: 8px;\n }\n\n .title {\n position: relative;\n font-size: 24px;\n line-height: 42px;\n font-weight: 400;\n margin-bottom: 15px;\n color: ",";\n &:after {\n content: '';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 110px;\n height: 3px;\n background-color: ",";\n\n @media only screen and (max-width: 1024px) {\n width: 85px;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n font-size: 18px;\n }\n }\n\n .description {\n font-size: 12px;\n\n @media only screen and (max-width: 1024px) {\n padding-bottom: 10px;\n }\n }\n\n .form-location {\n min-width: 280px;\n\n @media only screen and (max-width: 1024px) {\n min-width: none;\n width: 100%;\n }\n\n &__input {\n .label {\n margin-left: 0;\n }\n }\n\n &__submit-button {\n position: absolute;\n top: 15px;\n right: 15px;\n background: none;\n border: none;\n }\n }\n\n .near-stores {\n &__button {\n height: 40px;\n\n @media only screen and (max-width: 1024px) {\n margin: 0;\n width: 100%;\n }\n }\n }\n"]);return styles_templateObject=function(){return n},n}let C=x.ZP.section.withConfig({componentId:"sc-8e08f04c-0"})(styles_templateObject(),f.H.MINE_SHAFT,f.H.TORCH_RED),T={zipCodeOrAddress:"zipCodeOrAddress"};function SearchStoresForm(n){let{setIsStoresLoading:e,setError:t,setStoreList:a,setActiveStore:r,defaultCoordinates:s,setSearchedField:l,isStoresLoading:c}=n,[d,u]=(0,o.useState)(""),{register:p,handleSubmit:m,setValue:x}=(0,w.cI)(),{position:h}=(0,y.O)();function handleGetStoresServiceResponse(n){let{result:i,hasError:o}=n;if(o){e(!1),t({hasError:!0,errorType:S.Z.ERROR});return}i&&(e(!1),0===i.stores.length&&t({hasError:!0,errorType:S.Z.NOT_FOUND}),a(i),r(i.stores[0]))}function startLoadingState(){e(!0),t({hasError:!1,errorType:""})}async function getStoresByCoordinates(){startLoadingState();let{latitude:n,longitude:e}=h,t=n||s.latitude,i=e||s.longitude,{result:o,hasError:a}=await I.M.getStoresByCoords({latitude:t,longitude:i});handleGetStoresServiceResponse({result:o,hasError:a})}async function getStoresBySearchTerm(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};startLoadingState();let{zipCodeOrAddress:e}=n,t=d||e;l(d);let{result:i,hasError:o}=await I.M.getStores(t||"");handleGetStoresServiceResponse({result:i,hasError:o})}return(0,i.jsxs)(C,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h1",{className:"title",children:" Localizador de Lojas"}),(0,i.jsx)("span",{className:"description",children:"Preencha o campo a seguir e encontre lojas pr\xf3ximas a voc\xea"})]}),(0,i.jsx)("form",{className:"form-location",onSubmit:m(getStoresBySearchTerm),children:(0,i.jsx)("div",{className:"content-wrapper",children:(0,i.jsx)(v.I,{id:"cep-input",className:"form-location__input",placeholder:"Insira seu CEP ou cidade",register:p(T.zipCodeOrAddress,{onChange:n=>(function(n){let{value:e}=n.target;if(Number.isInteger(Number.parseInt(e[0],10))){let t=e.replace(/\D/g,"");n.target.maxLength=8,t.length>8&&(t=e.slice(0,-1),n.target.value=t);let i=t.replace(/\D/g,"").replace(/(\d{5})(\d{3})/,"$1-$2");x(T.zipCodeOrAddress,i),u(i)}else n.target.maxLength=255,n.target.value=e,u(e)})(n)}),dataTestId:O.UI.INPUT_CEP,label:"CEP / Cidade",renderButton:function(){return c?(0,i.jsx)(b.$,{className:"loader"}):(0,i.jsx)("button",{className:"form-location__submit-button",children:(0,i.jsx)(j.X,{name:"arrowRightBold",size:13})})}})})}),(0,i.jsx)(N.z,{variant:E.c.primary,className:"near-stores__button",onClick:getStoresByCoordinates,isLoading:c,children:"Ver lojas perto de mim"})]})}var R=t(45907);function store_list_item_styles_templateObject(){let n=(0,m._)(["\n border: none;\n border-radius: 10px;\n background-color: ",";\n padding: 25px 25px 18px;\n font-family: inherit;\n font-size: 14px;\n display: flex;\n flex-direction: column;\n min-height: 210px;\n width: 100%;\n align-items: flex-start;\n text-align: left;\n\n @media only screen and (max-width: 1024px) {\n min-height: 168px;\n }\n\n .store-list-item {\n &__name {\n text-transform: uppercase;\n color: ",";\n font-size: inherit;\n margin-bottom: 6px;\n }\n\n &__address {\n &__line {\n line-height: 22px;\n }\n }\n\n &__see-on-map {\n color: ",";\n margin-top: auto;\n align-self: flex-end;\n\n .zz-icon {\n display: inline-flex;\n margin-left: 32px;\n }\n }\n }\n"]);return store_list_item_styles_templateObject=function(){return n},n}let P=x.ZP.button.withConfig({componentId:"sc-e1af5953-0"})(store_list_item_styles_templateObject(),f.H.WHITE,f.H.MINE_SHAFT,f.H.COD_GRAY);function StoreListItem(n){let{store:{displayName:e,address:t,phoneNumber:o},onClick:a}=n;return(0,i.jsxs)(P,{onClick:a,children:[(0,i.jsx)("h2",{className:"store-list-item__name",children:e}),function(){let{streetName:n,streetNumber:e,district:a,town:r,phone:s,complement:l}=t,c=(0,R.RQ)(t);return n&&e?(0,i.jsxs)("div",{className:"store-list-item__address",children:[(0,i.jsxs)("p",{className:"store-list-item__address__line",children:[n,", ",e]}),(0,i.jsx)("p",{className:"store-list-item__address__line",children:l}),(0,i.jsxs)("p",{className:"store-list-item__address__line",children:[a?"".concat(a," - "):"",r,"/",c]}),(0,i.jsx)("p",{className:"store-list-item__address__line",children:s||o||""})]}):null}(),(0,i.jsxs)("div",{className:"store-list-item__see-on-map",children:[(0,i.jsx)("span",{children:"Ver no mapa"}),(0,i.jsx)(j.X,{name:"arrowRight",size:13})]})]})}var A=t(40230);function store_finder_page_styles_templateObject(){let n=(0,m._)(["\n margin-top: 50px;\n position: relative;\n\n @media only screen and (max-width: 1024px) {\n margin-top: 20px;\n }\n\n .store-finder {\n &__map-and-list-wrapper {\n display: flex;\n background-color: ",";\n }\n\n &__list,\n &__list-loader {\n flex: 1;\n margin: 14px;\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 14px;\n\n @media only screen and (max-width: 1024px) {\n display: block;\n margin: 0;\n }\n }\n\n &__list {\n align-content: flex-start;\n\n &__item {\n list-style-type: none;\n }\n }\n\n &__list-loader {\n &__skeleton {\n .skeleton-line {\n height: 210px;\n margin: 0;\n\n @media only screen and (max-width: 1024px) {\n height: 168px;\n margin-bottom: 15px;\n }\n }\n }\n }\n\n &__no-results {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: calc(100vh - ","px);\n margin: 14px;\n\n @media only screen and (max-width: 1024px) {\n height: auto;\n margin: 34px 7px;\n }\n\n &__title {\n font-size: 24px;\n font-weight: 500;\n max-width: 345px;\n color: ",";\n text-align: center;\n margin-bottom: 16px;\n }\n\n &__search-term {\n font-weight: 400;\n font-size: 12px;\n text-align: center;\n opacity: 0.6;\n }\n }\n\n &__map {\n flex: 1;\n height: 100vh;\n position: sticky;\n top: 0;\n\n &-loader {\n height: 100%;\n\n .map-box {\n height: 100%;\n .skeleton-line {\n margin: 0;\n height: 100%;\n }\n }\n }\n\n @media only screen and (max-width: 1024px) {\n height: calc(100vh - ","px);\n }\n }\n }\n\n .draggable-card {\n &__content {\n .store-finder {\n &__list {\n &__item {\n padding-bottom: 15px;\n }\n }\n }\n }\n }\n"]);return store_finder_page_styles_templateObject=function(){return n},n}let k=A.i.HEADER_HEIGHT+125,z=A.i.MOBILE_HEADER_HEIGHT+270,H=x.ZP.div.withConfig({componentId:"sc-308113c4-0"})(store_finder_page_styles_templateObject(),f.H.PAMPAS_PINK,k,f.H.MINE_SHAFT,z),D={latitude:-23.548536,longitude:-46.6412717},M={controlSize:35,streetViewControl:!1,zoomControl:!1,mapTypeControl:!1,mapId:"d1996c40f283fa4c"},L={x:0,y:-30},B={x:100,y:0};function StoreFinderPage(n){let{slots:e}=n,[t,u]=(0,o.useState)(null),[p,m]=(0,o.useState)(!1),[x,h]=(0,o.useState)(""),[_,f]=(0,o.useState)({stores:[],sourceLatitude:0,sourceLongitude:0}),[g,w]=(0,o.useState)({hasError:!1,errorType:""}),[b,j]=(0,o.useState)(null),[v,N]=(0,o.useState)(!1),[E,S]=(0,o.useState)(null),{isTablet:O}=(0,d.k)();function renderError(){return(0,i.jsxs)("div",{className:"store-finder__no-results",children:[(0,i.jsx)("p",{className:"store-finder__no-results__title",children:"N\xe3o encontramos resultados para sua busca :("}),(0,i.jsxs)("p",{className:"store-finder__no-results__search-term",children:["Voc\xea buscou por “",x,"”"]})]})}(0,o.useEffect)(()=>{let n=b&&v,e={lat:(null==t?void 0:t.geoPoint.latitude)||D.latitude,lng:(null==t?void 0:t.geoPoint.longitude)||D.longitude};n&&setTimeout(()=>{b.panTo(e)},300)},[t,b,v]);let y=(0,o.useCallback)(n=>{var e,t;u(n);let i=n.geoPoint.latitude===(null==b?void 0:null===(e=b.getCenter())||void 0===e?void 0:e.lat())&&n.geoPoint.longitude===(null==b?void 0:null===(t=b.getCenter())||void 0===t?void 0:t.lng());if(i){let n=O?L:B;null==b||b.panBy(n.x,n.y)}},[O,b]);function handleMapLoaded(n){j(n),n.addListener("tilesloaded",()=>{N(!0)})}let I=(0,o.useMemo)(()=>(0,i.jsx)(a.h,{onClickMarker:y,centerPosition:(null==t?void 0:t.geoPoint)||D,stores:_.stores,currentStore:t||void 0,mapOptions:M,onLoad:handleMapLoaded,isCurrentStorePopUpAlwaysOpen:!0}),[t,y,_.stores]);function renderStoreListItems(n){return n.map(n=>(0,i.jsx)("li",{className:"store-finder__list__item",children:(0,i.jsx)(StoreListItem,{store:n,onClick:()=>(function(n){u(n);let e=O&&!!E;e&&E.moveToIdx(0)})(n)})},n.name))}function renderStoresLoader(){let n=O?1:10,e=Array.from({length:n}).map((n,e)=>(0,i.jsx)(r.O,{className:"store-finder__list-loader__skeleton"},e));return(0,i.jsx)("div",{className:"store-finder__list-loader",children:e})}return(0,i.jsxs)(s.A,{children:[(0,i.jsx)(l.I,{slot:null==e?void 0:e[c.e.HEADER]}),(0,i.jsxs)(H,{children:[(0,i.jsx)(SearchStoresForm,{setStoreList:f,setIsStoresLoading:m,isStoresLoading:p,setError:w,defaultCoordinates:D,setSearchedField:h,setActiveStore:u}),(0,i.jsxs)("div",{className:"store-finder__map-and-list-wrapper",children:[function(){let{hasError:n}=g,e=_.stores.length,t=n||e>0||p;if(!t)return null;if(O)return(0,i.jsx)(DraggableCard,{renderCardHeader:()=>{if(p)return renderStoresLoader();if(n)return renderError();let e=[_.stores[0]];return renderStoreListItems(e)},renderCardContent:()=>{if(!(!n&&!p))return null;let t=_.stores.slice(1,e);return renderStoreListItems(t)},className:"draggable-card",onLoad:S});if(p)return renderStoresLoader();if(n)return renderError();if(e>0){let n=renderStoreListItems(_.stores);return(0,i.jsx)("ul",{className:"store-finder__list",children:n})}}(),(0,i.jsxs)("div",{className:"store-finder__map",children:[I,v?null:(0,i.jsx)("div",{className:"store-finder__map-loader",children:(0,i.jsx)(r.O,{className:"map-box"})})]})]})]}),(0,i.jsx)(l.I,{slot:null==e?void 0:e[c.e.FOOTER]})]})}},1493:function(n){n.exports={"tw-container":"styles_tw-container__U4YTI","tw-main-container":"styles_tw-main-container__OTpM7","tw-h-dvh":"styles_tw-h-dvh__G3QfW",wrapper:"styles_wrapper__VWdg4"}},73089:function(n){n.exports={"tw-container":"style_tw-container__KgPCq","tw-main-container":"style_tw-main-container__Fpjn0","tw-h-dvh":"style_tw-h-dvh__s6m7f",carousel:"style_carousel__l6NFq"}}}]);