PageSourceSearch

https://www.gazin.com.br/_next/static/chunks/pages/hotsites/[...slug-url]-69733a0373f32e76.js

js gazin.com.br collected 2026-09-24 18:04:28 UTC 43,927 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2005],{10775:(e,t,i)=>{"use strict";i.d(t,{$:()=>r});let r=new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL",minimumFractionDigits:2,maximumFractionDigits:3})},10780:(e,t,i)=>{"use strict";i.d(t,{V:()=>m});var r=i(18153),o=i(38993),n=i(72452),a=i(14232),l=i(88199),s=i(24873),d=i(72421),c=i(87109),p=i(27888);i(30346),i(12815),i(18058),i(9572);let m=(0,a.memo)(e=>{let{categories:t,textColor:i,backgroundColor:m,isBlackFriday:u,pagination:g=!1,autoplay:h=!0,onClickItem:f}=e,v=(0,a.useRef)(null),{width:b}=(0,s.v)(),x=b<=768,w=b>768&&b<=992,y=(0,a.useMemo)(()=>t.filter(e=>{let{media:t}=e;return(null==t?void 0:t.desktop)&&t.mobile}),[t]),k=(0,a.useMemo)(()=>b?b<768?3:b<1024?4:g?6:5:g?6:5,[b,g]),C=h&&y.length>k,Y={modules:[c.dK,c.Vx,c.Ij],slidesPerView:6,spaceBetween:16,centeredSlides:!1,centerInsufficientSlides:!0,breakpoints:{1024:{slidesPerView:g?6:5,spaceBetween:16},768:{slidesPerView:4,spaceBetween:12},530:{slidesPerView:3.5,spaceBetween:8},320:{slidesPerView:3.5,spaceBetween:8},0:{slidesPerView:3.5,spaceBetween:8}},navigation:!0,pagination:{clickable:!0,type:"bullets",enabled:g},autoplay:!!C&&{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},direction:"horizontal",onBeforeInit:e=>{v.current=e}},_=(0,a.useMemo)(()=>x?"4.375rem":w?"5.625rem":"7.5rem",[x,w]),F=(0,a.useMemo)(()=>x?"5.5rem":w?"7rem":"9rem",[x,w]),D=(0,a.useMemo)(()=>x?.7:w?.875:1.1,[x,w]);return(0,r.FD)(n.azJ,{"data-testid":"category-carousel",position:"relative",overflow:"visible",css:(0,o.css)(".swiper{overflow:visible;padding-top:0.625rem;padding-bottom:",g&&!x?"1.625rem":"0rem",";}.swiper-slide{padding-top:1.25rem;overflow:visible;}.swiper-pagination{opacity:1;}.swiper-hidden{display:none;}[data-testid='g-categories']{align-items:center;text-align:center;}[data-testid='g-categories-image']{margin-bottom:calc(\n            (",F," - ",_,") / 2 + 0.5rem\n          ) !important;}[data-testid='g-categories'] img{width:",F," !important;height:",F," !important;object-fit:contain;top:calc(\n            (",_," - ",F,") / 2\n          ) !important;left:50% !important;transform:translateX(-50%) !important;}[data-testid='g-categories'] p,[data-testid='g-categories'] span{min-height:2.5em;display:flex;align-items:flex-start;justify-content:center;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}.swiper-button-next,.swiper-button-prev{opacity:0;}.swiper-pagination-bullets{bottom:0px;left:0px;display:flex;align-items:center;justify-content:center;}.swiper-pagination-bullet{width:16px;height:3px;border-radius:0px;opacity:1;background:#66a9ff;}.swiper-pagination-bullet-active{width:16px;height:3px;border-radius:0px;background:#0d71f0;opacity:1;}@media (max-width:992px){.swiper-pagination{opacity:0;}}"),children:[g&&y.length>6&&(0,r.Y)(n.K0,{icon:(0,r.Y)(n.Pl9,{color:"#0D71F0",transform:"rotate(-180deg)",w:"0.875rem",h:"0.875rem"}),variant:"unstyled",display:{base:"none",lg:"flex"},justifyContent:"center","aria-label":"prev-button",position:"absolute",bg:"neutral.75",left:"0",top:"38%",borderRadius:"100%",zIndex:2,width:"42px",height:"42px",bgSize:42,onClick:()=>{var e;return null==(e=v.current)?void 0:e.slidePrev()}}),(0,r.Y)(n.azJ,{mx:{base:"0",lg:g&&y.length>6?"3rem":"0"},overflow:"hidden",children:(0,r.Y)(p.RC,{...Y,ref:v,className:y.length?"":"swiper-hidden",children:null==y?void 0:y.map(e=>{let{value:t,description:o,media:a}=e;return(0,r.Y)(p.qr,{children:(0,r.Y)(n.Ewq,{opacity:u?1:.5,fontSize:x?".625rem":".75rem",title:o,backgroundSize:_,colorText:u?"#fff":i||l.w.colors.blue[500],variant:u?"#8a8a8a":m||l.w.colors.blue[500],urlImage:(null==a?void 0:a.mobile)?(0,d.v)(a.mobile,D,75):"",path:f?void 0:"/categoria/".concat(t),onClick:()=>null==f?void 0:f(t)})},t)})})}),g&&y.length>6&&(0,r.Y)(n.K0,{icon:(0,r.Y)(n.Pl9,{color:"#0D71F0",w:"0.875rem",h:"0.875rem"}),display:{base:"none",lg:"flex"},justifyContent:"center",variant:"unstyled","aria-label":"next-button",position:"absolute",bg:"neutral.75",right:"0",top:"38%",zIndex:2,borderRadius:"100%",width:"42px",height:"42px",bgSize:42,onClick:()=>{var e;return null==(e=v.current)?void 0:e.slideNext()}})]})})},33854:(e,t,i)=>{"use strict";let r;i.r(t),i.d(t,{__N_SSP:()=>eG,default:()=>
1eK});var o=i(18153),n=i(52589),a=i(14232),l=i(88199),s=i(27888),d=i(37839),c=i(41576),p=i(95514),m=i(67956);let u=e=>{let{banners:t,darkTheme:i,swiperColor:r}=e,[n,l]=(0,a.useState)([]),u=!!(0,m.ADb)({base:!0,sm:!0,md:!1}),g=(0,a.useCallback)(()=>{l(t.reduce((e,t)=>{let i=[];if(u)t.banner.imagem_mobile&&i.push({banner:t,link:t.banner.imagem_mobile.link||"#",urlImage:t.banner.imagem_mobile.url});else if(t.banner.imagem_desktop){var r,o;i.push({banner:t,link:(null==(o=t.banner)||null==(r=o.imagem_mobile)?void 0:r.link)||"#",urlImage:t.banner.imagem_desktop.url})}return e.concat(i)},[]))},[t,u]);return(0,a.useEffect)(()=>{g()},[u,g]),(0,o.Y)(d.A,{darkTheme:i,swiperColor:r,isHotsite:!0,children:(0,o.Y)(s.RC,{...d.Y,children:n.map((e,t)=>(0,o.Y)(s.qr,{children:(0,o.Y)(c.A,{href:e.link,target:"_blank",className:"hotsite",children:(0,o.Y)(p.A,{src:e.urlImage,quality:99,fill:!0,alt:"Banner Hotsite"})})},t))})})},g=e=>{let{color:t,banners:i}=e;return(0,o.Y)(u,{banners:i.map(e=>{let t={banner:{}};return e.desktop&&(t.banner.imagem_desktop={url:e.desktop,link:e.url}),e.mobile&&(t.banner.imagem_mobile={url:e.mobile,link:e.url}),t}),swiperColor:t})};var h=i(72452),f=i(28888),v=i(21053),b=i(38993);function x(){let e=(0,f._)(["\n    > div > div > div > p {\n      color: ",";\n    }\n  "]);return x=function(){return e},e}function w(){let e=(0,f._)(["\n    > div:first-child > p:first-child {\n      color: ",";\n    }\n  "]);return w=function(){return e},e}function y(){let e=(0,f._)(["\n    > div:first-child > p:first-child {\n      font-size: ",";\n      margin-bottom: ",";\n    }\n  "]);return y=function(){return e},e}let k=(0,v.default)("div",{target:"ej8p1d00"})("*{all:revert;}",e=>{let{isBlackFriday:t}=e;return(0,b.css)(x(),t&&"#fff")}," ",e=>{let{isBlackFriday:t}=e;return(0,b.css)(w(),t&&"#fff")}," ",e=>{let{showLogo:t}=e;return(0,b.css)(y(),t?"18px":"32px",t?"12px":"40px")},"  & div > div > div > div{border:0.0625rem solid ",e=>e.color,";}"),C=e=>{let{color:t,finalDate:i,showLogo:n,isBlackFriday:l}=e,[s,d]=(0,a.useState)({days:0,hours:0,minutes:0,seconds:0});return(0,a.useEffect)(()=>(r=setInterval(()=>{let e=new Date,t=i.getTime()-e.getTime(),r=Math.floor(t/864e5),o=Math.floor(t%864e5/36e5);d({days:r,hours:o,minutes:Math.floor(t%36e5/6e4),seconds:Math.floor(t%6e4/1e3)})},1e3),()=>clearInterval(r)),[i]),(0,o.Y)(k,{color:t,showLogo:n,isBlackFriday:l,children:(0,o.Y)(h.AnO,{time:s,color:t})})},Y=(0,v.default)("div",{target:"e6r5bta0"})("padding-top:36px;padding-bottom:20px;display:flex;justify-content:",e=>{let{banners:t}=e;return(null==t?void 0:t.length)?"space-between":"center"},";@media (max-width:1064px){padding-top:12px;padding-bottom:12px;flex-direction:column;align-items:center;}"),_=(0,v.default)("div",{target:"e6r5bta1"})("width:100%;max-width:28.1875rem;display:flex;flex-direction:column;justify-content:",e=>{let{hasLogo:t,hasClock:i}=e;return t&&i?"space-between":"center"},";align-items:",e=>{let{hasLogo:t,hasClock:i}=e;return t&&i?"space-between":"flex-start"},";@media (max-width:1064px){margin-bottom:2rem;align-items:center;gap:1.5rem;}@media (max-width:468px){margin-bottom:0.5rem;}"),F=(0,v.default)("div",{target:"e6r5bta2"})("width:100%;height:100%;position:relative;height:18.75rem;display:flex;justify-content:center;align-items:center;@media (max-width:468px){height:100%;}"),D=(0,v.default)("div",{target:"e6r5bta3"})("width:",e=>{let{banners:t,hasLogo:i,hasClock:r}=e;return(null==t?void 0:t.length)?i||r?"60%":"100%":"fit-content"},";@media (max-width:1064px){width:100%;}"),I=(0,a.memo)(e=>{let{logo:t,color:i,banners:r,finalDate:n,showBanner:a,showLogo:s,showClock:d,isMobile:c,isBlackFriday:m}=e;return(0,o.FD)(Y,{banners:r,children:[(s||d)&&(0,o.FD)(_,{hasLogo:s,hasClock:d,children:[(null==r?void 0:r.length)>0&&s&&t.desktop&&t.mobile&&(0,o.Y)(F,{children:(0,o.Y)(p.A,{src:c?t.mobile:t.desktop,alt:"Logo do Hotsite",width:450,height:300,quality:99})}),d&&(0,o.Y)(C,{isBlackFriday:m,showLogo:s,color:i||l.w.colors.blue[500],finalDate:n})]}),(0,o.Y)(D,{banners:r,hasLogo:s,hasClock:d,children:a&&(0,o.Y)(g,{color:i,banners:r})})]})}),O={normal:"1.5rem",medium:"calc(9px + 2vw)",small:".875rem"},S=(0,v.default)("p",{target:"e1v0oaqo0"})("text-align:center;font-size:",O.normal,";margin:0;color:",l.w.colors.grey[300],";& strong{font-weight:600;font-size:",O.normal,";}@media (max-width:768px){&,& strong{font-size:",O.medium,";}}@media (max-width:425px){&,& strong{font-size:",O.small,";}}"),z=()=>(0,o.FD)(S,{children:[(0,o.Y)("strong",{children:"N\xe3o h\xe1 ofertas que correspondem \xe0 sua busca"}),(0,o.Y)("br",{}
1),"Revise os filtros aplicados para obter novos resultados"]}),P=(0,v.default)("button",{target:"e1xrgcig0"})("display:flex;justify-content:center;align-items:center;padding:8px;color:",e=>{let{color:t}=e;return t},";background:",l.w.colors.grey[900],";border-radius:4px;font-weight:600;font-size:14px;cursor:pointer;"),B=e=>{let{color:t,children:i,onClick:r,isBlackFriday:n}=e;return(0,o.Y)(P,{color:t,onClick:r,style:n?{backgroundColor:"#8a8a8a"}:{backgroundColor:"#fff"},children:i})};function j(){let e=(0,f._)(["\n      background-color: #141723;\n    "]);return j=function(){return e},e}function E(){let e=(0,f._)(["\n    > div > p {\n      color: ",";\n    }\n    > div > div > div > div > label {\n      color: ",";\n    }\n  "]);return E=function(){return e},e}let q="96px",M=(0,v.default)("div",{target:"evtq03f0"})("background:",l.w.colors.grey[900],";display:flex;flex-direction:column;height:100vh;position:fixed;left:0;right:0;top:0;bottom:0;width:100vw;z-index:11;"),L=(0,v.default)("div",{target:"evtq03f1"})("height:",q,";width:100vw;display:grid;align-items:center;justify-content:center;grid-template-columns:1fr 5fr 1fr;color:",l.w.colors.white,";padding-top:52px;padding-right:6px;padding-left:6px;margin-top:-1px;background:",e=>{let{initialColor:t,finalColor:i}=e;return"linear-gradient(\n    89.75deg,\n    ".concat(t," 3.91%,\n    ").concat(i," 98.18%\n  )")},";"),A=(0,v.default)("span",{target:"evtq03f2"})("font-size:1rem;display:flex;justify-content:center;align-items:center;font-weight:600;color:",e=>e.textColor||l.w.colors.white,";"),R=(0,v.default)("div",{target:"evtq03f3"})("height:","calc(100vh - ".concat(q,")"),";overflow-y:scroll;display:flex;flex-direction:column;padding-top:6px;padding-bottom:100px;",e=>{let{isBlackFriday:t}=e;return t&&(0,b.css)(j())}),T=(0,v.default)("div",{target:"evtq03f4"})("position:fixed;display:flex;justify-content:space-between;gap:16px;align-items:center;background:",e=>{let{initialColor:t,finalColor:i}=e;return"linear-gradient(\n    89.75deg,\n    ".concat(t," 3.91%,\n    ").concat(i," 98.18%\n  )")},";height:80px;left:0;right:0;bottom:-1px;width:100%;padding-left:1rem;padding-right:1rem;"),N=(0,v.default)("button",{target:"evtq03f5"})("display:flex;justify-content:space-between;align-items:center;padding:1rem;font-weight:400;font-size:0.875rem;:hover{opacity:0.9;}"),V=(0,v.default)("div",{target:"evtq03f6"})("display:flex;align-items:center;padding:18px 32px;",e=>{let{isBlackFriday:t}=e;return(0,b.css)(E(),t&&"#fff",t&&"#fff")}),G=(0,v.default)("div",{target:"e1h1irbs0"})();(0,v.default)("p",{target:"e1h1irbs1"})("font-family:'Inter';font-weight:600;font-size:0.75rem;color:",l.w.colors.black[200],";margin-bottom:0.5rem;");let K=(0,v.default)("div",{target:"e1h1irbs2"})("display:flex;flex-direction:column;margin-bottom:0;"),Q=(0,v.default)("div",{target:"e1h1irbs3"})("display:flex;flex-direction:row;gap:16px;align-items:center;padding:18px 16px;"),U=(0,v.default)("input",{target:"e1h1irbs4"})("display:flex;font-family:'Inter';height:20px;width:20px;border-radius:16px;border:",e=>{let{isSelected:t}=e;return t?"4px solid ".concat(l.w.primary.main):"2px solid ".concat(l.w.colors.grey[500])},";"),W=(0,v.default)("label",{target:"e1h1irbs5"})("font-size:0.875rem;color:",e=>{let{isBlackFriday:t}=e;return t?"#fff":l.w.colors.grey[200]},";font-weight:",e=>{let{isSelected:t}=e;return t?"600":"400"},";"),H=e=>{let{filterOptions:t,selectedOption:i,onClick:r,isBlackFriday:n}=e;return(0,o.Y)(G,{children:(0,o.Y)(K,{children:t.map(e=>(0,o.Y)(a.Fragment,{children:(0,o.FD)(Q,{children:[(0,o.Y)(U,{type:"radio",value:e.value,id:e.value,isSelected:i===e.value,onClick:()=>r(e.value)}),(0,o.Y)(W,{isBlackFriday:n,isSelected:i===e.value,htmlFor:e.description,children:e.description})]})},e.value))})})},J=(0,v.default)("button",{target:"e1ndooqd0"})("display:flex;justify-content:space-between;align-items:flex-start;padding:1rem;:hover{background:",l.w.colors.grey[800],";}"),X=(0,v.default)("div",{target:"e1ndooqd1"})("display:flex;flex-direction:column;align-items:flex-start;font-weight:400;"),$=(0,v.default)("span",{target:"e1ndooqd2"})("color:",e=>{let{isBlackFriday:t}=e;return t?"#fff":l.w.colors.grey[200]},";font-size:0.875rem;"),Z=(0,v.default)("span",{target:"e1ndooqd3"})("font-size:0.875rem;color:",e=>{let{isBlackFriday:t}=e;return t?"#fff":l.w.colors.grey[300]},";");function ee(e){let{text:t,filterSelected:i,isBlackFriday:r,...n}=e;return(0,o.FD)(J,{...n,children:[(0,o.FD)(X,{children:[(0,o.Y)($,{isBlackFriday:r,children:t}),(0,o.Y)(Z,{isBlackFriday:r,style:i?{paddingTop:"8px",alignItems:"flex-start"}:{paddingTop:"0px",alignItems:"center"},children:i})]}),(0,o.Y)(h.Pl9,{color:r?l.w.colors.white:l.w.neutral.main,width:"8px",height:"14px"})]})}var et=i(10775),ei=function(e){return e.RADIO="radio",e.PRICE="price",e}(ei||{});let er=e=>{var t;let{options:i,selected:r,onChange:n,onClose:s,filterPrice:{minimum:d,maximum:c},initialColor:p,finalColor:m,buttonColor:u,textColor:g,isBlackFriday:f}=e,[v,b]=(0,a.useState)(void 0),[x,w]=(0,a.useState)(r),y=()=>{b(void 0)};function k(e,t,i){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"radio";b({name:e,value:t,selectedKey:i,render:r})}let C=e=>{b(t=>({...t,selectedValue:e}))};function Y(e,t){var r,o;return null==(o=i[t||e])||null==(r=o.find(t=>t.value===x[e]))?void 0:r.description}return(0,o.FD)(M,{children:[(0,o.FD)(L,{initialColor:p||l.w.colors.purple[800],finalColor:m||l.w.colors.blue[500],children:[(0,o.Y)(N,{onClick:()=>v?y():s(),children:(0,o.Y)(h.CP6,{color:l.w.colors.white,width:".5rem",height:".875rem"})}),(0,o.Y)(A,{textColor:g,children:v?v.name:"Filtros"})]}),(0,o.FD)(R,{isBlackFriday:f,children:[!v&&(0,o.FD)(o.FK,{children:[(0,o.Y)(ee,{isBlackFriday:f,filterSelected:Y("order"),text:"Ordem",onClick:()=>k("Ordem",i.order,"order")}),(0,o.Y)(h.cGx,{}),(null==(t=i.categories)?void 0:t.length)>0&&(0,o.FD)(o.FK,{children:[(0,o.Y)(ee,{isBlackFriday:f,filterSelected:Y("category","categories"),text:"Categorias",onClick:()=>
1k("Categorias",i.categories,"category")}),(0,o.Y)(h.cGx,{})]}),(0,o.Y)(ee,{isBlackFriday:f,filterSelected:x.prices?(e=>{let{minimum:t,maximum:i}=e,r=et.$.format(t),o=et.$.format(i);return"".concat(r," - ").concat(o)})(x.prices):void 0,text:"Pre\xe7o",onClick:()=>k("Pre\xe7o",x.prices,"prices","price")}),(0,o.Y)(h.cGx,{}),i.brands.length>0&&(0,o.FD)(o.FK,{children:[(0,o.Y)(ee,{isBlackFriday:f,filterSelected:Y("brand","brands"),text:"Marca",onClick:()=>k("Marca",i.brands,"brand")}),(0,o.Y)(h.cGx,{})]}),i.colors.length>0&&(0,o.FD)(o.FK,{children:[(0,o.Y)(ee,{isBlackFriday:f,filterSelected:Y("color","colors"),text:"Cor",onClick:()=>k("Cor",i.colors,"color")}),(0,o.Y)(h.cGx,{})]}),i.voltages.length>0&&(0,o.FD)(o.FK,{children:[(0,o.Y)(ee,{isBlackFriday:f,filterSelected:Y("voltage","voltages"),text:"Voltagem",onClick:()=>k("Voltagem",i.voltages,"voltage")}),(0,o.Y)(h.cGx,{})]}),Object.entries(i.information).map(e=>{var t,r;let[n,l]=e,s=null!=(r=null==(t=i.informationLabels)?void 0:t[n])?r:n;return(0,o.FD)(a.Fragment,{children:[(0,o.Y)(ee,{isBlackFriday:f,filterSelected:function(e){var t,r;return null==(r=i.information[e])||null==(t=r.find(t=>{var i;return t.value===(null==(i=x.information)?void 0:i[e])}))?void 0:t.description}(n),text:s,onClick:()=>k(s,l,"information."+n)}),(0,o.Y)(h.cGx,{})]},n)})]}),(null==v?void 0:v.render)==="price"&&(0,o.Y)(V,{isBlackFriday:f,children:(0,o.Y)(h.c_9,{maximumPrice:c,minimumPrice:d,onChange:(e,t)=>
1{C({minimum:e,maximum:t})}})}),(null==v?void 0:v.render)==="radio"&&(0,o.FD)(o.FK,{children:[(0,o.Y)(H,{isBlackFriday:f,selectedOption:v.selectedValue,filterOptions:v.value,onClick:e=>{C(e)}},v.name),(0,o.Y)(h.cGx,{})]})]}),(0,o.FD)(T,{initialColor:f?p:"#fff",finalColor:f?m:"#fff",children:[(0,o.Y)(h.cGW,{variantType:"outline",color:"".concat(f?l.w.primary.main:g||l.w.primary.main," !important"),bgColor:"white !important",borderColor:u||l.w.primary.main,width:"10.1875rem",height:"3rem",label:v?"Voltar":"Ver todos",onClick:()=>v?y():void(n({order:"",category:"",brand:"",color:"",voltage:"",prices:{minimum:d,maximum:c},information:{}}),s())}),(0,o.Y)(h.cGW,{bgColor:f?"white !important":u||l.w.primary.main,variant:u||l.w.primary.main,width:"10.1875rem",height:"3rem",label:v?"Selecionar":"Aplicar",color:"".concat(f?l.w.primary.main:g||l.w.colors.white," !important"),onClick:()=>v?(()=>{if(!(null==v?void 0:v.selectedValue))return;let e=((e,t,i)=>{let r=Array.isArray(t)?t:t.split("."),o=r.length-1;return r.reduce((e,t,r)=>(e.hasOwnProperty(t)||(e[t]={}),r===o&&(e[t]=i),e[t]),e),e})(x,v.selectedKey,null==v?void 0:v.selectedValue);w(t=>{var i,r,o,n;return{...t,prices:{minimum:(null==v||null==(i=v.selectedValue)?void 0:i.minimum)||(null==(r=t.prices)?void 0:r.minimum),maximum:(null==v||null==(o=v.selectedValue)?void 0:o.maximum)||(null==(n=t.prices)?void 0:n.maximum)},...e.information?{information:{...t.information,...e.information}}:e}}),y()})():void(n(x),s())})]})]})},eo=(0,v.default)("div",{target:"e1s18cek0"})("width:100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:2rem;@media (max-width:480px){grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:1.25rem 0.1875rem;}@media (max-width:320px){grid-template-columns:repeat(auto-fill,minmax(8.9375rem,1fr));}");var en=i(33123);let ea=e=>{let{products:t,baseColor:i,textColor:r,isBlackFriday:n}=e;return(0,o.Y)(eo,{children:t.map((e,t)=>(0,o.Y)(en.M,{isHotSite:!0,baseColor:i,product:e,textColor:r,isBlackFriday:n},t))})};function el(){let e=(0,f._)(["\n      p,\n      label,\n      input {\n        color: #fff;\n      }\n    "]);return el=function(){return e},e}let es=(0,b.css)("& > div > div p{margin-bottom:0px;font-size:0.875rem;}"),ed=(0,v.default)("section",{target:"e17htraj0"})(e=>{let{isBlackFriday:t}=e;return t&&(0,b.css)(el())}),ec=(0,v.default)("div",{target:"e17htraj1"})("max-width:11.5625rem;margin-bottom:1.5rem;",es),ep=e=>{var t,i,r,n;let{filterPrice:{minimum:a,maximum:s},options:d,selected:c,onChange:p,isBlackFriday:m}=e,u=l.w.primary.main,g=e=>{p({...c,prices:{minimum:a,maximum:s},...e.information?{information:{...c.information,...e.information}}:e})};return(0,o.FD)(ed,{isBlackFriday:m,children:[(null==(t=d.sideCategories)?void 0:t.length)>0&&(0,o.Y)(ec,{children:(0,o.Y)(h.vy6,{onClick:e=>g({category:e}),title:"Categoria",baseColor:u,optionSelected:c.category,filterOptions:d.categories||d.sideCategories})}),a>0&&s>0&&(0,o.Y)(ec,{children:(0,o.Y)(h.c_9,{minimumPrice:a,maximumPrice:s,onChange:(e,t)=>
1{g({prices:{minimum:e,maximum:t}})}})}),(null==(i=d.brands)?void 0:i.length)>0&&(0,o.Y)(ec,{children:(0,o.Y)(h.vy6,{onClick:e=>g({brand:e}),title:"Marca",baseColor:u,optionSelected:c.brand,filterOptions:d.brands})}),(null==(r=d.colors)?void 0:r.length)>0&&(0,o.Y)(ec,{children:(0,o.Y)(h.vy6,{onClick:e=>g({color:e}),title:"Cor",baseColor:u,optionSelected:c.color,filterOptions:d.colors})}),(null==(n=d.voltages)?void 0:n.length)>0&&(0,o.Y)(ec,{children:(0,o.Y)(h.vy6,{onClick:e=>g({voltage:e}),title:"Voltagem",baseColor:u,optionSelected:c.voltage,filterOptions:d.voltages})}),d.information&&Object.entries(d.information).map(e=>{var t,i;let[r,n]=e;return(0,o.Y)(ec,{children:(0,o.Y)(h.vy6,{onClick:e=>{g({information:{[r]:e}})},title:null!=(i=null==(t=d.informationLabels)?void 0:t[r])?i:r,baseColor:u,optionSelected:c.information[r],filterOptions:n})},r)})]})};var em=i(27390);let eu=e=>({value:e.value,description:e.description}),eg=(e,t,i)=>{if(t[e])return{[e]:i.find(i=>i.value===t[e])}},eh=(0,b.css)("p{margin:0;}"),ef=(0,v.default)("div",{target:"e6kip5o0"})("display:flex;justify-content:end;align-items:center;color:",e=>{let{isBlackFriday:t}=e;return t?"#fff":l.w.colors.grey[300]},";"),ev=(0,v.default)("div",{target:"e6kip5o1"})("display:flex;align-items:start;flex-wrap:wrap;margin-top:1.5rem;gap:0.5rem;@media (max-width:768px){justify-content:center;}@media (min-width:1024px){margin-left:60px;}",eh),eb=(0,v.default)("span",{target:"e6kip5o2"})("font-family:'Inter';font-weight:400;font-size:0.875rem;"),ex=(0,v.default)("label",{target:"e6kip5o3"})("display:flex;align-items:center;margin-left:4.4375rem;"),ew=(0,v.default)("div",{target:"e6kip5o4"})("margin-left:0.875rem;width:11.625rem;"),ey=e=>{let{orderOptions:t,selectedOrderOption:i,selectedFilterOptions:r,informationLabels:n,baseColor:s,isMobile:d,onChange:c,isBlackFriday:p}=e,[m,u]=(0,a.useState)([]),[g,f]=(0,a.useState)([]),[v,b]=(0,a.useState)([]),x=e=>{c({...w(i,r),information:Object.entries(r.information).reduce((e,t)=>{let[i,r]=t;return e[i]=r.description,e},{}),...e})},w=(e,t)=>{var i,r,o,n,a,l,s,d,c,p;return{order:e,category:null!=(l=null==t||null==(i=t.category)?void 0:i.value)?l:"",sideCategory:null!=(s=null==t||null==(r=t.sideCategory)?void 0:r.value)?s:"",brand:null!=(d=null==t||null==(o=t.brand)?void 0:o.value)?d:"",color:null!=(c=null==t||null==(n=t.color)?void 0:n.value)?c:"",voltage:null!=(p=null==t||null==(a=t.voltage)?void 0:a.value)?p:""}};(0,a.useEffect)(()=>{let e=JSON.parse(JSON.stringify(r)),t=e.information;delete e.information,b(Object.entries(t));let i=e.category;if(i)if(g.some(e=>e.value===(null==i?void 0:i.value)))e.categories=g;else{let t=[...g,i];f(t),e.categories=t}delete e.category,u(Object.entries(e))},[r]);let y=(0,a.useCallback)(e=>{var t;let i=g.findIndex(t=>t.value===e);if(i<0)return;let r=[...g.slice(0,i),...g.slice(i+1)],o=m.findIndex(e=>e.find(e=>"categories"===e)),n=[...m.slice(0,o),["categories",r],...m.slice(o+1)];f(r),u(n),x({category:(null==(t=n[0][1][r.length-1])?void 0:t.value)||""})},[g,m]);return(0,o.FD)("div",{children:[!d&&(0,o.Y)(ef,{isBlackFriday:p,children:(0,o.FD)(ex,{children:[(0,o.Y)(eb,{children:"Ordenar por:"}),(0,o.Y)(ew,{children:(0,o.Y)(h.kW6,{selectProps:{value:i},options:t.map(e=>({value:e.value,label:e.description})),onChange:e=>{let{target:t}=e;return x({order:t.value})},name:"select-filter-order"})})]})}),(0,o.FD)(ev,{children:[m.map(e=>{let[t,i]=e;if(i)return Array.isArray(i)?i.map(e=>(0,o.Y)(h.IfI,{text:e.description,icon:"close",onClick:()=>y(e.value),color:p?"#fff":l.w.colors.grey[300]},e.value)):(0,o.Y)(h.IfI,{text:i.description,icon:"close",onClick:()=>x({[t]:""}),color:p?"#fff":l.w.colors.grey[300]},i.value)}),v.map(e=>{let[t,a]=e;if(a)return(0,o.Y)(h.IfI,{text:"".concat(null==n?void 0:n[t]," (").concat(a.description,")"),icon:"close",onClick:()=>(e=>{let t;c({...w(i,r),information:(t=r.information,Object.entries(t).reduce((t,i)=>{let[r,o]=i;return e===r||(t[r]=o.description),t},{}))})})(t),color:p?"#fff":l.w.colors.grey[300]},a.value)}),(m.length>0||v.length>0)&&(0,o.Y)(h.IfI,{color:p?"#fff":s||l.w.colors.blue[500],text:"Limpar filtros",icon:"cleanAll",onClick:()=>{c({order:"",category:"",sideCategory:"",brand:"",color:"",voltage:"",information:{}}),f([])}})]})]})},ek=(0,v.default)("div",{target:"e1pzhqep0"})("display:flex;padding-top:20px;padding-bottom:20px;@media (max-width:768px){padding-top:12px;padding-bottom:12px;}"),eC=(0,v.default)("div",{target:"e1pzhqep1"})("width:100%;@media (max-width:768px){margin-left:0;}"),eY=(0,v.default)("div",{target:"e1pzhqep2"})("display:none;@media (max-width:768px){display:flex;justify-content:center;}"),e_=(0,v.default)("div",{target:"e1pzhqep3"})("margin-top:80px;margin-bottom:40px;
1display:flex;justify-content:center;align-items:center;@media (max-width:768px){height:100px;}"),eF=(0,v.default)("div",{target:"e1pzhqep4"})("margin-top:24px;@media (min-width:1024px){margin-left:60px;}"),eD=(0,v.default)("div",{target:"e1pzhqep5"})("top:0px;left:0px;width:100%;position:fixed;background:white;z-index:9999;"),eI=(0,v.default)("div",{target:"e1pzhqep6"})("display:flex;justify-content:center;align-items:center;margin-bottom:40px;font-size:1.125rem;@media (max-width:768px){font-size:0.875rem;}"),eO=(0,a.memo)(e=>{let{loading:t,products:i,initialRangePrice:r,options:n,selected:l,onChange:s,filtersDataTags:d,isMobile:c,baseColor:p,initialColor:m,finalColor:u,buttonColor:g,textColor:f,isBlackFriday:v}=e,[b,x]=(0,a.useState)(!1),w=()=>x(e=>!e),y=e=>{s({...l,...e})};return(0,a.useEffect)(()=>{var e,t;b?null==(e=document.querySelector("body"))||e.style.setProperty("overflow","hidden"):null==(t=document.querySelector("body"))||t.style.setProperty("overflow","auto")},[b]),(0,o.FD)(o.FK,{children:[b&&(0,o.Y)(eD,{onClick:e=>e.stopPropagation(),children:(0,o.Y)(er,{filterPrice:r,selected:l,options:(e=>({order:e.ordinations.map(eu),categories:e.sideCategories.map(eu),brands:e.brands.map(eu),colors:e.colors.map(eu),voltages:e.voltages.map(eu),information:Object.entries(e.information).reduce((e,t)=>{let[i,r]=t;return e[i]=r.map(eu),e},{}),informationLabels:e.informationLabels}))(n),initialColor:m,finalColor:u,buttonColor:g,textColor:f,onChange:y,onClose:w})}),(0,o.FD)(ek,{children:[!c&&(0,o.Y)(ep,{options:n,filterPrice:r,onChange:y,selected:l,isBlackFriday:v}),(0,o.FD)(eC,{children:[c&&(0,o.Y)(eY,{children:(0,o.FD)(B,{color:f,isBlackFriday:v,onClick:w,children:["Filtrar",(0,o.Y)("span",{children:(0,o.Y)(h.uJ7,{color:f})})]})}),(0,o.Y)(ey,{selectedOrderOption:l.order,orderOptions:n.ordinations,selectedFilterOptions:((e,t)=>{let i,r;return{...eg("category",e,[(null==t?void 0:t.category)||{}]),...eg("sideCategory",e,[(null==t?void 0:t.sideCategory)||{}]),...eg("brand",e,[(null==t?void 0:t.brand)||{}]),...eg("color",e,[(null==t?void 0:t.color)||{}]),...eg("voltage",e,[(null==t?void 0:t.voltage)||{}]),information:(i=e,r=(null==t?void 0:t.information)||[],Object.entries(i.information).reduce((e,t)=>{var i;let[o,n]=t;return e[o]=null!=(i=r.find(e=>e.description===n&&e.value===o))?i:{value:o,description:n},e},{}))}})(l,d),informationLabels:n.informationLabels,baseColor:p,onChange:y,isMobile:c,isBlackFriday:v}),(null==i?void 0:i.length)===0&&(0,o.Y)(e_,{children:(0,o.Y)(z,{})}),(0,o.FD)(eF,{children:[t&&(0,o.Y)(em.A,{}),(null==i?void 0:i.length)>0?(0,o.Y)(ea,{isBlackFriday:v,baseColor:p,products:i,textColor:f}):(0,o.Y)(eI,{children:"Nenhum produto encontrado."})]})]})]})]})});var eS=i(72421);let ez=(0,v.default)("div",{target:"e10wecdq0"})("width:100%;display:flex;justify-content:center;padding-top:1.25rem;padding-bottom:1.25rem;@media (max-width:768px){padding-top:0.75rem;padding-bottom:0.75rem;}"),eP=e=>{let{banner:t}=e,i=(0,eS.v)(t,1,75);return(0,o.Y)(ez,{children:(0,o.Y)("img",{src:i,alt:"Banner de Apoio",width:"100%",height:"100%"})})};var eB=function(e){return e.TOP="top-hotsite",e.MIDDLE="middle-hotsite",e.BOTTOM="bottom-hotsite",e}({}),ej=function(e){return e.LOGO="logo",e.CLOCK="timer",e.CAROUSEL="slider",e.FILTER_CATEGORIES="filtro-categorias",e.BANNER="banner",e.PRODUCT_GRID="catalogo",e.NEWSLETTER="newsletter",e}({});let eE=(0,v.default)("div",{target:"eoxce1k0"})("margin-left:auto;margin-right:auto;max-width:1310px;padding:0 15px;padding-top:2.25rem;width:100%;");var eq=i(10780);let eM=e=>{let{loading:t,products:i,filtersData:r,initialRangePrice:n,logo:l,banners:s,finalDate:d,theme:{base:c,initial:p,final:u,button:g,defaultText:h},slugUrl:f,components:v,searchFilter:b,setSearchFilter:x,filtersDataTags:w}=e,y=(0,m.ADb)({base:!0,md:!1}),k=(0,m.ADb)({base:!0,md:!0,lg:!1}),C="blackfriday"===f,Y=(0,a.useCallback)(e=>{x(t=>({...t,...e}))},[x]);return(0,o.Y)(o.FK,{children:(0,o.Y)(eE,{children:((e,a)=>{let s=t=>-1!==e.findIndex(e=>e.type===t),m=e=>a[e]||[],f=m(eB.TOP);return e.reduce((e,a)=>{var v;if(a.type===ej.CLOCK&&!f.length)return e.concat(function(){return(0,o.Y)(I,{logo:l,showBanner:!1,showClock:!0,showLogo:!0,finalDate:d,color:C?"#fff":c,isBlackFriday:C,banners:[],isMobile:!!y})});if(["slider"].includes(a.type)){let t=m(eB.TOP),i=s(ej.CLOCK),r=s(ej.LOGO),n=t.map(e=>
1k?e.mobile:e.desktop).filter(Boolean).length>0;return e.concat(function(){return(0,o.Y)(I,{logo:l,showBanner:n,showClock:i,showLogo:r,finalDate:d,color:C?"#fff":c,isBlackFriday:C,banners:t,isMobile:!!y})})}let x=m(eB.MIDDLE)[0],_=y&&(null==x?void 0:x.mobile)||!y&&(null==x?void 0:x.desktop),F=y?null==x?void 0:x.mobile:null==x?void 0:x.desktop;return[ej.BANNER].includes(a.type)&&_&&F?e.concat(function(){return(0,o.Y)(eP,{banner:F})}):a.type===ej.FILTER_CATEGORIES&&(null==r||null==(v=r.fastCategories)?void 0:v.length)>0?e.concat(function(){return(0,o.Y)(eq.V,{categories:r.fastCategories,textColor:c,backgroundColor:c,isBlackFriday:C,onClickItem:e=>Y({category:e})})}):a.type===ej.PRODUCT_GRID?e.concat(function(){return(0,o.Y)(eO,{loading:t,products:i,selected:b,filtersDataTags:w,initialRangePrice:n,options:r,isMobile:!!k,onChange:Y,baseColor:c,initialColor:p,finalColor:u,buttonColor:g,isBlackFriday:C,textColor:h})}):e},[])})(v,s).map((e,t)=>(0,o.Y)(a.Fragment,{children:e()},t))})})};var eL=i(65422);let eA=e=>null==e?void 0:e.map(e=>({description:e.value,value:e.slug,quantity:e.productQuantity}));var eR=i(40525);let eT=async(e,t,i)=>{try{let{data:r}=await eR.re.get("/canais/hotsites/".concat(e,"/produtos?").concat(t.toString()),{headers:i?{"X-Forwarded-For":i}:void 0});return(e=>({products:e.produtos.map(e=>{var t,i,r;return{id:e.id,color:null!=(t=e.atributos.cor)?t:"",voltage:null!=(i=e.atributos.voltagem)?i:"",title:e.descricao,productUrl:e.url_produto,imageUrl:e.imagem_url,description:e.descricao,isAvailable:!e.indisponivel,colorsQuantity:e.quantidade_cores,possui_preco_variavel:null!=(r=e.possui_preco_variavel)&&r,promoEventImage:{desktop:e.promocao_desktop_midia_url,mobile:e.promocao_mobile_midia_url},quantidade_avaliacoes:e.quantidade_avaliacoes,media:e.media,prices:{price:{discountPercentage:e.precos_produto.preco.percentual_desconto,de:e.precos_produto.preco.de,por:e.precos_produto.preco.por,installment:{installmentPriceWithInterest:e.precos_produto.preco.parcelamento.valor_parcela_com_juros,installmentMaxQuantity:e.precos_produto.preco.parcelamento.quantidade_maxima,installmentMaxQuantityWithoutInterest:e.precos_produto.preco.parcelamento.quantidade_maxima_sem_juros}},paymentMethods:{billet:{de:e.precos_produto.formas_pagamento.boleto.de,por:e.precos_produto.formas_pagamento.boleto.por},creditCard:{de:e.precos_produto.formas_pagamento.cartao_credito.de,por:e.precos_produto.formas_pagamento.cartao_credito.por}}}}}),filters:{fastCategories:e.filtros.categoria.filtro_rapido.map(e=>({slug:e.slug,value:e.valor,desktop:e.desktop_midia,mobile:e.mobile_midia})),sideCategories:e.filtros.categoria.filtro_lateral.map(e=>({productQuantity:e.total_produtos,slug:e.slug,value:e.valor})),brands:e.filtros.marcas.map(e=>({productQuantity:e.total_produtos,slug:e.slug,value:e.valor})),colors:e.filtros.cores.map(e=>({productQuantity:e.total_produtos,slug:e.slug,value:e.valor})),voltages:e.filtros.voltagens.map(e=>({productQuantity:e.total_produtos,slug:e.slug,value:e.valor})),prices:{minimum:e.filtros.preco.minimo,maximum:e.filtros.preco.maximo},information:e.filtros.informacoes.reduce((e,t)=>(e[t.slug]=t.valores.map(e=>({slug:e.valor,value:e.valor,productQuantity:e.total_produtos})),e),{}),informationLabels:e.filtros.informacoes.reduce((e,t)=>(e[t.slug]=t.valor,e),{})},selectedFilter:Object.entries(e.filtros_selecionados).reduce((e,t)=>{let[i,r]=t,o={categoria:"category",marca:"brand",cor:"color",voltagem:"voltage",informacoes:"information"},n=e=>({value:e.slug,description:e.valor});return{...e,...(()=>{let e={};return Array.isArray(r)?e[o[i]]=r.map(n):e[o[i]]=n(r),e})()}},{}),order:e.order,current_page:e.paginate.current_page,last_page:e.paginate.last_page}))(r)}catch(e){return}};var eN=i(89099),eV=i(13734),eG=!0;function eK(e){var t,i;let r,l,s,{hotsiteLayoutData:d,hotsiteContentData:c}=e,[p,m]=(0,a.useState)(c),{current:u}=(0,a.useRef)(null==p||null==(t=p.filters)?void 0:t.prices),[g,h]=(0,a.useState)({order:null==p?void 0:p.order,category:"",sideCategory:"",brand:"",color:"",voltage:"",prices:{...null==p||null==(i=p.filters)?void 0:i.prices},information:{}}),[f,v]=(0,a.useState)(1),[b,x]=(0,a.useState)(!1),w=(0,a.useRef)(!0),y=(0,a.useCallback)(async function(e){var t,i,r,o;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];x(!0);let l=await eT(d.id,new URLSearchParams({order:null==e?void 0:e.order,preco_minimo:null==e||null==(i=e.prices)||null==(t=i.minimum)?void 0:t.toString(),preco_maximo:null==e||null==(o=e.prices)||null==(r=o.maximum)?void 0:r.toString(),per_page:"20",page:null==n?void 0:n.toString(),nao_carregar_filtros:null==a?void 0:a.toString(),...(null==e?void 0:e.category)!==""&&{categoria_slug:null==e?void 0:e.category},...(null==e?void 0:e.sideCategory)!==""&&{categoria_slug:null==e?void 0:e.sideCategory},...(null==e?void 0:e.brand)!==""&&{marca_slug:null==e?void 0:e.brand},...(null==e?void 0:e.color)!==""&&{cor_slug:null==e?void 0:e.color},...(null==e?void 0:e.voltage)!==""&&{voltagem_slug:null==e?void 0:e.voltage},...Object.entries(null==e?void 0:e.information).reduce((e,t)=>
1{let[i,r]=t;return e["informacoes[".concat(i,"]")]=r,e},{})}));return x(!1),l},[d.id]);(0,a.useEffect)(()=>{let e=async()=>{v(1),m(await y(g))};w.current||e(),w.current=!1},[g,y]),(0,a.useEffect)(()=>{navigator.userAgent.match(/OPR/i)&&eV.toast.info("Desative o modo economia de dados para uma melhor experi\xeancia",{autoClose:1e4})},[]);let k=async()=>{let e=f+1,t=await y(g,e,!0);v(e),m(e=>({...t,products:e.products.concat(t.products),filters:e.filters,selectedFilter:e.selectedFilter}))},C=(0,a.useMemo)(()=>(null==p?void 0:p.current_page)<(null==p?void 0:p.last_page),[p]),Y=!!d.components.find(e=>e.type===ej.NEWSLETTER),[_]=(0,eN.useRouter)().query["slug-url"],F="".concat(_.charAt(0).toUpperCase()).concat(_.slice(1)," | Gazin - Loja de telefonia, eletrodom\xe9sticos e muito mais!");return(0,o.Y)(n.A,{pageTopButton:!0,title:F,hotsite:{showNewsletter:Y,showMenuCategory:!1,initialColor:d.color.startDegrade,finalColor:d.color.endDegrade,buttonColor:d.color.buttons,baseColor:d.color.base,textColor:d.color.defaultText},children:(0,o.Y)("main",{children:(0,o.Y)(eL.A,{dataLength:null==p?void 0:p.products.length,next:k,hasMore:C,scrollThreshold:.5,loader:null,style:{overflow:"hidden",backgroundColor:"blackfriday"===_?"#141723":"#fff"},children:(0,o.Y)(eM,{loading:b,products:null==(l=null==p?void 0:p.products)?void 0:l.map(e=>{var t,i;return{id:e.id,color:e.color,voltage:e.voltage,title:e.title,productUrl:e.productUrl,imageUrl:e.imageUrl,colorsQuantity:e.colorsQuantity,percent:e.prices.price.discountPercentage,price:e.prices.paymentMethods.billet.por,de:e.prices.price.de,por:e.prices.price.por,installmentPriceWithInterest:e.prices.price.installment.installmentPriceWithInterest,installmentMaxQuantity:e.prices.price.installment.installmentMaxQuantity,installmentMaxQuantityWithoutInterest:e.prices.price.installment.installmentMaxQuantityWithoutInterest,isAvailable:e.isAvailable,promoEventImage:{desktop:null==(t=e.promoEventImage)?void 0:t.desktop,mobile:null==(i=e.promoEventImage)?void 0:i.mobile},reviewQuantity:e.quantidade_avaliacoes,reviewRating:e.media,hasVariablePrice:e.possui_preco_variavel}}),initialRangePrice:u,searchFilter:g,setSearchFilter:h,filtersData:{ordinations:[{description:"Recentes",value:"recentes"},{description:"Menor Pre\xe7o",value:"menor_preco"},{description:"Maior Pre\xe7o",value:"maior_preco"},{description:"Mais Vendidos",value:"mais_vendido"}],fastCategories:null==(r=(s=p.filters).fastCategories)?void 0:r.map(e=>({description:e.value,value:e.slug,media:{desktop:e.desktop,mobile:e.mobile}})),sideCategories:eA(s.sideCategories),brands:eA(s.brands),colors:eA(s.colors),voltages:eA(s.voltages),information:(e=>{if(e)return Object.entries(e).reduce((e,t)=>{let[i,r]=t;return e[i]=eA(r),e},{})})(s.information),informationLabels:s.informationLabels},filtersDataTags:null==p?void 0:p.selectedFilter,logo:d.logo,banners:d.banners,slugUrl:_,theme:{defaultText:d.color.defaultText,base:d.color.base,initial:d.color.startDegrade,final:d.color.endDegrade,button:d.color.buttons},finalDate:new Date(d.endDate),components:d.components})})})})}},37839:(e,t,i)=>{"use strict";i.d(t,{A:()=>f,Y:()=>h});var r=i(18153),o=i(28888),n=i(21053),a=i(38993);function l(){let e=(0,o._)(["\n      background-color: #141723 !important;\n    "]);return l=function(){return e},e}function s(){let e=(0,o._)(["\n        border-radius: 1rem !important;\n      "]);return s=function(){return e},e}function d(){let e=(0,o._)(["\n        background-color: #141723 !important;\n      "]);return d=function(){return e},e}let c=(0,n.default)("section",{target:"e9nozkp0"})("position:relative;overflow:hidden;min-height:",e=>{let{isCategory:t}=e;return t?"auto":"472px"},";max-width:",e=>{let{isHotsite:t}=e;return t?"1300px":"100%"},";margin:auto;",e=>{let{darkTheme:t}=e;return t&&(0,a.css)(l())},"  .btn{position:absolute;z-index:2;top:",e=>{let{isCategory:t}=e;return t?"40%":"50%"},";margin-top:-24px;cursor:pointer;transform:scale(1);transition:all 0.4s;&:hover{transform:scale(1.05);transition:all 0.4s;}&.swiper-button-disabled{opacity:0.5;}&#btn-next-banner{right:3em;}&#btn-prev-banner{left:3em;}}.swiper-slide{width:100%;height:",e=>{let{isCategory:t}=e;return t?"170px":"472px"},";transform:scale(1);transition:all 0.4s;&:hover{transform:scale(1.02);transition:all 0.4s;}a{display:block;width:100%;height:100%;max-width:1920px;margin:0 auto;position:relative;img{object-fit:",e=>{let{isCategory:t}=e;return t?"fill":"cover"},";}}.hotsite{display:block;width:100%;height:100%;max-width:1920px;max-height:650px;margin:0 auto;position:relative;img{@media (min-width:320px) and (max-width:425px){object-fit:unset;}}}}.swiper{margin-top:0em;",e=>{let{isHotsite:t}=e;return t&&(0,a.css)(s())},"}.ctrl-slide{left:0;bottom:6px;z-index:1;width:100%;min-height:41px;",e=>{let{darkTheme:t}=e;return t&&(0,a.css)(d())},"    .swiper-pagination{position:relative;bottom:0;z-index:1;.swiper-pagination-bullet{background-color:",e=>{let{swiperColor:t}=e;return t||"#3399ff"},";margin:0px 6.5px;opacity:0.4;transition:all 0.3s;width:17px;height:4px;display:inline-block;border-radius:2px;opacity:0.2;&.swiper-pagination-bullet-active{opacity:1;transition:all 0.3s;}}}}.swiper-button-prev,.swiper-button-next{display:none;}@media (min-width:1065px) and (max-width:1200px){margin:-0.1em 0 1em 0;min-height:471px;:has(.hotsite){min-height:450px;}.swiper-slide{background-size:cover;height:410px;:has(.hotsite){height:380px;}}.swiper{margin-top:1.5rem;border-radius:15px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:910px) and (max-width:1064px){margin:-0.1em 0 1em 0;min-height:471px;:has(.hotsite){min-height:600px;}.swiper-slide{background-size:cover;height:410px;:has(.hotsite){height:550px;}}
1.swiper{margin-top:1.5rem;border-radius:15px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:800px) and (max-width:910px){margin:-0.1em 0 1em 0;min-height:471px;:has(.hotsite){min-height:525px;}.swiper-slide{background-size:cover;height:410px;:has(.hotsite){height:440px;}}.swiper{margin-top:1.5rem;border-radius:15px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:600px) and (max-width:800px){margin:-0.1em 0 1em 0;min-height:371px;:has(.hotsite){min-height:490px;}.swiper-slide{background-size:cover;height:310px;:has(.hotsite){height:435px;}}.swiper{margin-top:1.5rem;border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:491px) and (max-width:520px){:has(.hotsite){min-height:290px;}.swiper-slide{background-size:cover;height:240px;:has(.hotsite){height:220px;}}.swiper{margin-top:1.5rem;border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:601px) and (max-width:768px){margin-top:-0.1em;min-height:301px;:has(.hotsite){min-height:420px;}.swiper-slide{background-size:cover;height:240px;:has(.hotsite){height:350px;}}.swiper{margin-top:1.5rem;border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:520px) and (max-width:600px){margin-top:-0.1em;min-height:301px;:has(.hotsite){min-height:340px;}.swiper-slide{background-size:cover;height:240px;:has(.hotsite){height:280px;}}.swiper{margin-top:1.5rem;border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:390px) and (max-width:490px){margin-top:-0.1em;min-height:241px;:has(.hotsite){min-height:250px;}.swiper-slide{background-size:cover;height:190px;}.swiper{margin-top:",e=>{let{darkTheme:t}=e;return t?"0.5rem":"1.5rem"},";border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:330px) and (max-width:390px){margin-top:-0.1em;min-height:240px;.swiper{margin-top:1.5rem;border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.swiper-slide{background-size:cover;height:176px;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (min-width:290px) and (max-width:330px){margin-top:-0.1em;min-height:240px;.swiper{margin-top:1.5rem;border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.swiper-slide{background-size:cover;height:176px;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}@media (max-width:290px){margin-top:-0.1em;min-height:240px;.swiper{margin-top:1.5rem;border-radius:6px;margin-left:1.3rem;margin-right:1.3rem;}.swiper-slide{background-size:cover;height:176px;}.btn{display:none;}.ctrl-slide{position:absolute;bottom:0;margin:0;}}"),p=(0,n.default)("div",{target:"e9nozkp1"})("display:flex;justify-content:center;margin-left:auto;margin-right:auto;max-width:1310px;padding:0 15px;width:100%;@media (max-width:30rem){margin-top:1rem;}");var m=i(87109);i(30346),i(18058),i(9572),i(12815);var u=i(54587),g=i.n(u);let h={modules:[m.Vx,m.dK,m.Ij],centeredSlides:!0,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:1,navigation:{nextEl:"#btn-next-banner",prevEl:"#btn-prev-banner"},speed:800,pagination:{el:".ctrl-slide .swiper-pagination",type:"bullets",clickable:!0}};function f(e){let{swiperColor:t,isHotsite:i,darkTheme:o=!1,isCategory:n=!1,children:a}=e;return(0,r.FD)(c,{isHotsite:i,swiperColor:t,darkTheme:o&&!n,isCategory:n,children:[!i&&(0,r.FD)(r.FK,{children:[(0,r.Y)(g(),{src:n?"/images/svg/arrow-left.svg":"/images/svg/arrow-prev-slide.svg",className:"btn",id:"btn-prev-banner",alt:"Prev Icon",width:48,height:48}),(0,r.Y)(g(),{src:n?"/images/svg/arrow-right.svg":"/images/svg/arrow-next-slide.svg",className:"btn",id:"btn-next-banner",alt:"Next Icon",width:48,height:48})]}),a,(0,r.Y)("div",{className:"ctrl-slide",children:(0,r.Y)(p,{isHotsite:i,children:(0,r.Y)("div",{className:"swiper-pagination"})})})]})}},67882:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/hotsites/[...slug-url]",function(){return i(33854)}])}},e=>{e.O(0,[956,9517,219,2708,8564,6245,9921,2589,3123,636,6593,8792],()=>e(e.s=67882)),_N_E=e.O()}]);
2//# sourceMappingURL=[...slug-url]-69733a0373f32e76.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.