PageSourceSearch

https://lenoxx.com.br/_next/static/chunks/app/(homeLayout)/page-da0c9c4b51b9e4a5.js

js lenoxx.com.br collected 2026-10-05 19:05:28 UTC 14,596 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1735],{3032:(e,l,t)=>{"use strict";t.d(l,{default:()=>w});var a=t(95155),s=t(52596),i=t(6874),r=t.n(i),n=t(73986),d=t(82442),o=t(42732),c=t(94380),u=t(55669),m=t(12115),x=t(83715);let h=e=>{let{size:l="md",...t}=e,i=l?x.f[l]:void 0;return(0,a.jsx)("svg",{"aria-hidden":"true",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:(0,s.A)(t.className,i),children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM9 8.25a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V9a.75.75 0 0 0-.75-.75H9Zm4.5 0a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75H15a.75.75 0 0 0 .75-.75V9a.75.75 0 0 0-.75-.75h-1.5Z",fillRule:"evenodd"})})},v=e=>{let{size:l="md",...t}=e,i=l?x.f[l]:void 0;return(0,a.jsx)("svg",{"aria-hidden":"true",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:(0,s.A)(t.className,i),children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm14.024-.983a1.125 1.125 0 0 1 0 1.966l-5.603 3.113A1.125 1.125 0 0 1 9 15.113V8.887c0-.857.921-1.4 1.671-.983l5.603 3.113Z",fillRule:"evenodd"})})},p=e=>{let{size:l="md",...t}=e,i=l?x.f[l]:void 0;return(0,a.jsx)("svg",{"aria-hidden":"true",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:(0,s.A)(t.className,i),children:(0,a.jsx)("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM17.78 9.22a.75.75 0 1 0-1.06 1.06L18.44 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L20.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-1.72 1.72-1.72-1.72Z"})})},g=e=>{let{size:l="md",...t}=e,i=l?x.f[l]:void 0;return(0,a.jsxs)("svg",{"aria-hidden":"true",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:(0,s.A)(t.className,i),children:[(0,a.jsx)("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM18.584 5.106a.75.75 0 0 1 1.06 0c3.808 3.807 3.808 9.98 0 13.788a.75.75 0 0 1-1.06-1.06 8.25 8.25 0 0 0 0-11.668.75.75 0 0 1 0-1.06Z"}),(0,a.jsx)("path",{d:"M15.932 7.757a.75.75 0 0 1 1.061 0 6 6 0 0 1 0 8.486.75.75 0 0 1-1.06-1.061 4.5 4.5 0 0 0 0-6.364.75.75 0 0 1 0-1.06Z"})]})},f=e=>{let{videoSrc:l,ariaLabel:t,className:i}=e,[r,n]=(0,m.useState)(!0),[d,o]=(0,m.useState)(!0),[c,x]=(0,m.useState)(0),[f,b]=(0,m.useState)(1),[w,j]=(0,m.useState)(!1),y=(0,m.useRef)(null),N=e=>{e.preventDefault(),e.stopPropagation()},V=e=>{let l=y.current;l&&(l.volume=e,l.muted=0===e,b(e))};return(0,m.useEffect)(()=>{let e=y.current;if(!e)return;let l=()=>n(!0),t=()=>n(!1),a=()=>{e&&(o(e.muted||0===e.volume),x(e.volume))};return e.addEventListener("play",l),e.addEventListener("pause",t),e.addEventListener("volumechange",a),()=>{e.removeEventListener("play",l),e.removeEventListener("pause",t),e.removeEventListener("volumechange",a)}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("video",{ref:y,className:(0,s.A)("w-full object-cover",i),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,"aria-label":t,preload:"metadata",children:(0,a.jsx)("source",{src:l})}),(0,a.jsxs)("div",{className:"absolute bottom-4 right-4 z-10 flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"relative flex flex-col items-center",onMouseLeave:()=>j(!1),children:[w&&(0,a.jsx)("div",{className:"absolute bottom-full flex flex-col items-center",children:(0,a.jsx)("div",{className:"z-20 h-24 rounded-lg bg-black/70 p-2 shadow-lg backdrop-blur-sm",onClickCapture:N,onMouseEnter:()=>j(!0),children:(0,a.jsx)(u.Q,{"aria-label":"Controle de volume",maxValue:1,minValue:0,orientation:"vertical",className:"h-full",size:"sm",step:.05,value:c,onChange:e=>V(e)})})}),(0,a.jsxs)("button",{onClick:e=>{N(e);let l=y.current;l&&(l.muted||0===l.volume?(l.volume=f>0?f:1,l.muted=!1):(b(l.volume),l.volume=0,l.muted=!0))},onMouseEnter:()=>j(!0),className:"rounded-full text-white outline-primary transition-all duration-200 ease-in-out hover:scale-110 active:scale-95","aria-label":d?"Ativar som":"Desativar som",children:[(0,a.jsx)(g,{className:(0,s.A)({hidden:d}),size:"lg"}),(0,a.jsx)(p,{className:(0,s.A)({hidden:!d}),size:"lg"})]})]}),(0,a.jsxs)("button",{onClick:e=>{N(e);let l=y.current;l&&(l.paused?l.play():l.pause())},className:"rounded-full text-white outline-primary transition-all duration-200 ease-in-out hover:scale-110 active:scale-95","aria-label":r?"Pausar v\xeddeo":"Reproduzir v\xeddeo",children:[(0,a.jsx)(v,{className:(0,s.A)({hidden:r}),size:"lg"}),(0,a.jsx)(h,{className:(0,s.A)({hidden:!r}),size:"lg"})]})]})]})},b=e=>{let{banner:l,index:t=0,totalBanners:i=1,aspectRatio:c,overlayVariant:u,roundedClass:m="rounded-2xl",animationVariant:x="card"}=e,h="split"===x,v=(0,a.jsx)("div",{className:(0,s.A)("h-full w-full overflow-hidden",m),children:(0,a.jsx)(n.P.div,{className:"h-full w-full",...h?{initial:{scale:1.3},whileInView:{scale:1},viewport:{once:!1,amount:.3},transition:{duration:.8,ease:"easeOut"}}:{},children:l.type===d.zK.Image?(0,a.jsx)(o.A,{className:"h-full w-full object-cover",src:l.imageSrc,alt:l.title,priority:0===t,quality:100,fetchPriority:0===t?"high":"low",dataCy:i>1?"banner-".concat(l.sitePosition.toLowerCase(),"-").concat(t):"banner-".concat(l.sitePosition.toLowerCase())}):(0,a.jsx)(f,{videoSrc:l.imageSrc,ariaLabel:l.title,className:"h-full"})})});return l.title&&l.showTitle?(0,a.jsxs)("div",{className:"relative w-full",style:{aspectRatio:c},children:[v,(0,a.jsx)("div",{className:(0,s.A)("absolute inset-0 flex justify-start bg-black/20",m,"bottom"===u?"items-end px-5 py-12 lg:px-10":"items-center px-[10%]"),children:(0,a.jsxs)(n.P.div,{className:"flex max-w-md flex-col",...h?{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!1,amount:.3},transition:{duration:.6,ease:"easeOut",delay:.2}}:{},children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-white lg:text-4xl",children:l.title}),l.subtitle&&(0,a.jsx)("p",{className:"text-xl text-white/90",children:l.subt
1itle}),(0,a.jsx)(r(),{className:(0,s.A)("w-fit rounded-full border-1 border-white bg-black/40 px-10 py-2 text-white outline-primary hover:bg-white hover:text-black","bottom"===u?"mt-4":"mt-4 lg:mt-8"),href:l.relativeLink,children:"Saiba mais"})]})})]}):(0,a.jsx)("div",{className:"relative w-full",style:{aspectRatio:c},children:(0,a.jsx)(r(),{href:l.relativeLink,"aria-label":"Acessar banner ".concat(l.title||t+1),children:v})})},w=e=>{var l,t;let{data:s,aspectRatio:i,overlayVariant:r,roundedClass:d,animationVariant:o="card"}=e,u=Array.isArray(s),m=u?s:[s];if(!m.length)return null;let x="card"===o?{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,ease:"easeOut"}}:{};return u&&1!==m.length?(0,a.jsx)(n.P.div,{className:"w-full",...x,children:(0,a.jsx)(c.A,{options:{loop:!0},showDotButtons:!0,showPrevNextButtons:!1,dataCy:"banner-".concat(null==(t=m[0])||null==(l=t.sitePosition)?void 0:l.toLowerCase()),children:m.map((e,l)=>(0,a.jsx)(b,{banner:e,index:l,totalBanners:m.length,aspectRatio:i,overlayVariant:r,roundedClass:d,animationVariant:o},l))})}):(0,a.jsx)(n.P.div,{className:"w-full",...x,children:(0,a.jsx)(b,{banner:m[0],aspectRatio:i,overlayVariant:r,roundedClass:d,animationVariant:o})})}},13869:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});var a=t(95155),s=t(52596);let i=()=>(0,a.jsxs)("div",{className:"grid h-full grid-cols-2",children:[(0,a.jsx)("div",{className:"h-full skew-x-[25deg] rounded-l-full bg-primary-600"}),(0,a.jsx)("div",{className:"h-full skew-x-[25deg] bg-danger"})]}),r=()=>(0,a.jsxs)("div",{className:"grid h-full grid-cols-3",children:[(0,a.jsx)("div",{className:"h-full -skew-x-[25deg] bg-primary-600"}),(0,a.jsx)("div",{className:"h-full -skew-x-[25deg] bg-white"}),(0,a.jsx)("div",{className:"h-full -skew-x-[25deg] rounded-r-full bg-danger"})]}),n=e=>{let{className:l}=e;return(0,a.jsxs)("div",{className:(0,s.A)(["grid h-[3px] w-[calc(100%-1px)] grid-cols-5",l]),"data-cy":"divider-flags",children:[(0,a.jsx)(i,{}),(0,a.jsx)("div",{className:"col-span-3 h-full -skew-x-[25deg] bg-[#d8b66b]"}),(0,a.jsx)(r,{})]})}},22008:(e,l,t)=>{"use strict";t.d(l,{default:()=>w});var a=t(95155),s=t(6874),i=t.n(s),r=t(12115),n=t(73986),d=t(64286),o=t(52855),c=t(6653),u=t(33995),m=t(34627),x=t(5001),h=t(42732),v=t(13741),p=t(99813),g=t(93875),f=t(70079),b=t(94380);function w(e){var l,t;let{featuredProduct:s}=e,{sendEvent:w}=(0,c.s)(),{tenant:j}=(0,m.w)(),[y,N]=(0,r.useState)(s.skus.find(e=>e.slug===s.slug)),{ref:V}=(0,o.c)({callback:()=>{y&&w({name:"view_item",ecommerce:{currency:"BRL",value:y.pixValue,items:[{item_id:y.id,item_name:y.title,discount:y.oldValue-y.pixValue,item_brand:y.brand,item_category:y.category,item_variant:y.productVariant,price:y.pixValue}]}})}}),{handleViewMore:A,handleBuyNow:P,handleClick:C}=(0,u.O)({id:(null==y?void 0:y.id)||"",slug:(null==y?void 0:y.slug)||"",title:(null==y?void 0:y.title)||"",imageSrc:(null==y||null==(t=y.images)||null==(l=t[0])?void 0:l.src)||"",productVariant:null==y?void 0:y.productVariant,oldValue:((null==y?void 0:y.oldValue)||0)/100,value:((null==y?void 0:y.pixValue)||0)/100,brand:null==y?void 0:y.brand,category:null==y?void 0:y.category});return y?(0,a.jsxs)(n.P.div,{ref:V,initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,ease:"easeOut"},className:"mx-auto flex w-full flex-col items-center justify-around gap-5 rounded-2xl bg-white p-5 shadow-xl md:flex-row lg:p-10 dark:bg-content1",children:[(0,a.jsxs)("div",{className:"relative w-full max-w-md",children:[(0,a.jsx)("div",{children:(0,a.jsx)(b.A,{options:{loop:!0},slidesPerView:{base:1},prevNextButtonsPosition:"center",thumbsPerView:{base:4.5,lg:5.5},thumbnailChildren:(y.images||[]).map((e,l)=>(0,a.jsx)("div",{className:"aspect-square rounded-sm bg-white",children:(0,a.jsx)(h.A,{className:"p-2",quality:40,priority:0===l,src:e.src||"",alt:e.alt||"",dataCy:"featured-product-image-thumb-".concat(l)})},l)),dataCy:"featured-product-images-carousel",children:(y.images||[]).map((e,l)=>(0,a.jsx)("div",{className:"aspect-square rounded bg-white",children:(0,a.jsx)(h.A,{className:"p-5",priority:0===l,fetchPriority:0===l?"high":void 0,src:e.src||"",alt:e.alt||"",dataCy:"featured-product-image-".concat(l)})},l))})}),y.badges&&y.badges.length>0&&(0,a.jsx)("div",{className:"absolute left-3 top-3 z-10",children:(0,a.jsx)(f.default,{badges:y.badges})})]}),(0,a.jsxs)("div",{className:"flex w-full flex-col gap-3 lg:max-w-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-lg","data-cy":"product-title",children:y.category}),(0,a.jsx)(i(),{className:"hover:underline",href:"/produtos/".concat(y.slug),onClick:C,children:(0,a.jsx)("h2",{className:"text-lg font-semibold text-default-900 lg:text-2xl","data-cy":"product-title",children:y.title})}),(0,a.jsx)("p",{className:"line-clamp-3 text-base text-default-900","data-cy":"product-title",children:(0,d.QZ)(y.description||"").slice(0,200)})]}),y.variants&&(0,a.jsx)(g.A,{variants:y.variants,productName:y.title,selectedValue:y.slug,onSelect:e=>N(s.skus.find(l=>l.slug===e))}),(0,a.jsx)(p.A,{oldValue:y.oldValue,pixValue:y.pixValue,installments:y.installments,installmentValue:y.installmentValue}
1),j===x.b.Joog&&(0,a.jsx)(v.default,{size:"lg",radius:"full",variant:"ghost",onPress:A,children:"Ver mais"}),"UNAVAILABLE"===y.status&&(0,a.jsx)(v.default,{size:"lg",radius:"full",disabled:!0,children:"Indispon\xedvel"}),"AVAILABLE"===y.status&&(0,a.jsx)(v.default,{size:"lg",radius:"full",color:"primary",onPress:P,children:"Comprar agora"})]})]}):null}},26866:(e,l,t)=>{"use strict";t.d(l,{default:()=>x});var a=t(95155),s=t(52596),i=t(73986),r=t(5001),n=t(52855),d=t(6653),o=t(51206),c=t(94380);let u=e=>{let{showcase:l,products:t}=e,{sendEvent:s}=(0,d.s)(),{ref:r}=(0,n.c)({callback:()=>{s({name:"view_item_list",ecommerce:{item_list_id:l.id,item_list_name:l.title,items:t.map((e,l)=>({item_id:e.id,item_name:e.title,discount:e.oldValue-e.pixValue,index:l,item_brand:e.brand,item_category:e.category,item_variant:e.productVariant,price:e.pixValue}))}})}});return(0,a.jsx)("div",{ref:r,children:(0,a.jsx)(i.P.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.1},transition:{staggerChildren:.05},children:(0,a.jsx)(c.A,{slidesPerView:{base:1.5,sm:2.5,lg:3.5,xl:4.5},options:{dragFree:!0,align:"end"},hidePrevNextButtonsOnMobile:!0,dataCy:"carousel",children:t.map((e,t)=>(0,a.jsx)(i.P.div,{className:"h-full pl-0.5 pr-4",variants:{hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},transition:{duration:.6,ease:"easeOut"},children:(0,a.jsx)(o.A,{...e,variant:"vertical",priceIsInteger:!0,list:{id:l.id,name:l.title},index:t})},t))})})})};var m=t(13869);let x=e=>{let{tenant:l,showcase:t}=e;return t&&t.products.length?(0,a.jsxs)("div",{children:[(0,a.jsx)(i.P.p,{className:(0,s.A)(["text-lg font-extrabold uppercase lg:text-2xl",l===r.b.DonPatto?"mb-3 text-center":"mb-5"]),initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.6,ease:"easeOut"},"data-cy":"product-showcase-title",children:t.title}),l===r.b.DonPatto&&(0,a.jsx)(m.A,{className:"mx-auto mb-5 max-w-sm"}),(0,a.jsx)(u,{showcase:t,products:t.products})]}):null}},28094:(e,l,t)=>{Promise.resolve().then(t.t.bind(t,6874,23)),Promise.resolve().then(t.t.bind(t,33063,23)),Promise.resolve().then(t.bind(t,62146)),Promise.resolve().then(t.bind(t,10255)),Promise.resolve().then(t.bind(t,3032)),Promise.resolve().then(t.bind(t,22008)),Promise.resolve().then(t.bind(t,26866)),Promise.resolve().then(t.bind(t,89804))},52855:(e,l,t)=>{"use strict";t.d(l,{c:()=>s});var a=t(12115);let s=e=>{let{callback:l}=e,t=(0,a.useRef)(null),[s,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{!s&&e.isIntersecting&&(i(!0),l())})},{root:null,rootMargin:"0px",threshold:.2});return t.current&&e.observe(t.current),()=>{t.current&&e.unobserve(t.current)}},[l]),{ref:t}}},94380:(e,l,t)=>{"use strict";t.d(l,{A:()=>a});let a=t(89804).Carousel}},e=>{var l=l=>e(e.s=l);e.O(0,[2362,4738,3580,1238,4395,1119,9132,3063,6874,2636,3738,262,5669,8870,9230,8,1206,3956,8441,1684,7358],()=>l(28094)),_N_E=e.O()}]);

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.