PageSourceSearch

https://www.kaiglo.com/_next/static/chunks/2791-fb60895dc007b814.js

js kaiglo.com collected 2026-10-02 00:00:53 UTC 10,447 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2791],{35976:(e,s,a)=>{a.d(s,{E:()=>r});var l=a(95155),t=a(68122),i=a(82889),n=a(25016);let r=e=>{let{showTimer:s=!1,variant:a="carousel",bgColor:r}=e;return(0,l.jsx)("section",{className:(0,n.cn)("py-8",r),children:(0,l.jsxs)("div",{className:"mx-auto max-w-7xl px-4",children:[(0,l.jsxs)("div",{className:"mb-6 flex flex-wrap items-center justify-between gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,l.jsx)(t.E,{className:"h-8 w-48"}),s&&(0,l.jsx)(t.E,{className:"h-6 w-32"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(t.E,{className:"hidden h-8 w-8 rounded-full md:block"}),(0,l.jsx)(t.E,{className:"hidden h-8 w-8 rounded-full md:block"}),(0,l.jsx)(t.E,{className:"h-8 w-20"})]})]}),"carousel"===a?(0,l.jsx)("div",{className:"flex gap-4 overflow-x-hidden pb-4",children:Array.from({length:6}).map((e,s)=>(0,l.jsx)("div",{className:"w-[180px] flex-shrink-0 sm:w-[200px] lg:w-[220px]",children:(0,l.jsx)(i.D,{})},s))}):(0,l.jsx)("div",{className:"grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6",children:Array.from({length:6}).map((e,s)=>(0,l.jsx)(i.D,{},s))})]})})}},39092:(e,s,a)=>{a.d(s,{W:()=>n});var l=a(95155),t=a(12115),i=a(26983);let n=e=>{let{endTime:s}=e,a=s||new Date(Date.now()+864e5),n=()=>{let e=a.getTime()-Date.now();return e<=0?{days:0,hours:0,minutes:0,seconds:0}:{days:Math.floor(e/864e5),hours:Math.floor(e/36e5%24),minutes:Math.floor(e/6e4%60),seconds:Math.floor(e/1e3%60)}},[c,o]=(0,t.useState)(n()),[d,x]=(0,t.useState)(!1);(0,t.useEffect)(()=>{x(!0);let e=setInterval(()=>{o(n())},1e3);return()=>clearInterval(e)},[a]);let m=e=>e.toString().padStart(2,"0");if(!d)return(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(i.A,{className:"h-4 w-4 text-kaiglo_attention-base"}),(0,l.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground",children:"Ends in:"}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(r,{value:"00",label:"h"}),(0,l.jsx)("span",{className:"text-kaiglo_attention-base",children:":"}),(0,l.jsx)(r,{value:"00",label:"m"})]})]});let h=c.days>0,g=c.hours>0||c.days>0;return(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(i.A,{className:"h-3.5 w-3.5 text-kaiglo_attention-base animate-pulse"}),(0,l.jsx)("span",{className:"text-[10px] sm:text-xs font-bold uppercase tracking-widest text-muted-foreground",children:"Ends in:"}),(0,l.jsx)("div",{className:"flex items-center gap-1",children:h?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r,{value:m(c.days),label:"d"}),(0,l.jsx)("span",{className:"text-kaiglo_attention-base font-bold",children:":"}),(0,l.jsx)(r,{value:m(c.hours),label:"h"}),(0,l.jsx)("span",{className:"text-kaiglo_attention-base font-bold",children:":"}),(0,l.jsx)(r,{value:m(c.minutes),label:"m"}),(0,l.jsx)("span",{className:"text-kaiglo_attention-base font-bold",children:":"}),(0,l.jsx)(r,{value:m(c.seconds),label:"s"})]}):g?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r,{value:m(c.hours),label:"h"}),(0,l.jsx)("span",{className:"text-kaiglo_attention-base font-bold",children:":"}),(0,l.jsx)(r,{value:m(c.minutes),label:"m"}),(0,l.jsx)("span",{className:"text-kaiglo_attention-base font-bold",children:":"}),(0,l.jsx)(r,{value:m(c.seconds),label:"s"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r,{value:m(c.minutes),label:"m"}),(0,l.jsx)("span",{className:"text-kaiglo_attention-base font-bold",children:":"}),(0,l.jsx)(r,{value:m(c.seconds),label:"s"})]})})]})},r=e=>{let{value:s,label:a}=e;return(0,l.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,l.jsx)("span",{className:"rounded bg-kaiglo_attention-base px-1.5 py-0.5 text-sm font-bold text-white",children:s}),(0,l.jsx)("span",{className:"text-xs text-muted-foreground",children:a})]})}},42323:(e,s,a)=>{a.d(s,{Z:()=>r});var l=a(83900),t=a(82320),i=a(17571),n=a(12587);let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{limit:s=36,page:a=1,strategy:r="personalized",contextItemId:c,filters:o={},enabled:d=!0,staleTime:x}=e,m="session_based"===r||"affinity-shift"===r,h=(0,i.Cl)(),g=n.Ay.getUserId();return(0,l.useQuery)(["lehnz-recommendations",h,g,r,s,a,c,JSON.stringify(o)],async()=>{let e={strategy:r,limit:s,page:a,filters:o};return!m&&c&&(e.contextItemId=c),g?e.userId=g:h&&(e.clientId=h),(0,t.MB)({url:"recommendations/lehnz",payload:e})},{staleTime:null!=x?x:m?15e3:3e4,refetchOnWindowFocus:!1,cacheTime:6e5,enabled:d})}},47304:(e,s,a)=>{a.d(s,{A:()=>l});let l={src:"/_next/static/media/product-image-placeholder.9d8834e8.png",height:528,width:522,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAACVBMVEXr7fDj5Oja3N+iG2jLAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAG0lEQVR4nGNgwAIYGRkZIQwmJgwGVIoBRkMAAANKABgRvABNAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},67812:(e,s,a)=>{a.d(s,{E:()=>r});var l=a(95155);a(12115);var t=a(92885),i=a(25016);let n=(0,t.F)("inline-flex items-center rounded-[96px] px-2 py-0.5 text-[10px] font-bold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 h-7 leading-[12px]",{variants:{variant:{primary:"bg-kaiglo_brand-base text-white",secondary:"bg-kaiglo_success-100 text-kaiglo_brand-base",critical:"bg-kaiglo_critical-100 text-kaiglo_critical-base",critical_solid:"bg-kaiglo_critical-base text-white",outline:"border border-kaiglo_grey bg-transparent",attention:"bg-kaiglo_attention-100 text-kaiglo_attention-base",attention_solid:"bg-kaiglo_attention-base text-white",purple:"bg-kaiglo_purple-100 text-kaiglo_purple-base",purple_solid:"bg-kaiglo_purple-base text-white",info:"bg-kaiglo_info-100 text-kaiglo_info-base",info_solid:"bg-kaiglo_info-base text-white",accent:"bg-kaiglo_accent-base text-black",ghost:"bg-kaiglo_grey-disabled text-black",link:"text-kaiglo_brand-base underline-offset-4 hover:underline"}},defaultVariants:{variant:"primary"}});function r(e){let{className:s,variant:a,...t}=e;return(0,l.jsx)("div",{className:(0,i.cn)(n({variant:a}),s),...t})}},82889:(e,s,a)=>{a.d(s,{D:()=>n});
1var l=a(95155),t=a(68122),i=a(25016);let n=()=>(0,l.jsxs)("div",{className:(0,i.cn)("flex flex-col overflow-hidden rounded-lg border bg-card"),children:[(0,l.jsx)("div",{className:"aspect-w-1 aspect-h-1 w-full bg-kaiglo_grey-disabled/20 animate-pulse"}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col p-3",children:[(0,l.jsxs)("div",{className:"mb-2 space-y-1",children:[(0,l.jsx)(t.E,{className:"h-4 w-full"}),(0,l.jsx)(t.E,{className:"h-4 w-3/4"})]}),(0,l.jsxs)("div",{className:"mt-auto",children:[(0,l.jsx)(t.E,{className:"h-5 w-20 mb-1"}),(0,l.jsx)(t.E,{className:"h-3 w-16"})]}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)(t.E,{className:"h-3 w-24"})})]})]})},85945:(e,s,a)=>{a.r(s),a.d(s,{ProductSection:()=>g});var l=a(95155),t=a(12115),i=a(90368),n=a(27937),r=a(52987),c=a(97003),o=a(27904),d=a(39092),x=a(25016),m=a(52619),h=a.n(m);let g=e=>{let{title:s,products:a=[],viewAllLink:m="#",showTimer:g=!1,variant:u="carousel",bgColor:b,timerEndTime:f,padding:p="py-8",margin:j="mb-6"}=e,[v,N]=(0,t.useState)(0),w=(0,t.useRef)(null),k=e=>{w.current&&w.current.scrollBy({left:"left"===e?-300:300,behavior:"smooth"})};return a&&0!==a.length?(0,l.jsx)("section",{className:(0,x.cn)(p,b),children:(0,l.jsxs)("div",{className:"mx-auto max-w-7xl px-4",children:[(0,l.jsxs)("div",{className:j,children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 sm:gap-4 min-w-0",children:[(0,l.jsx)("h2",{className:"text-xl font-bold text-foreground lg:text-2xl truncate",children:s}),(0,l.jsx)("div",{className:"hidden lg:block",children:g&&(0,l.jsx)(d.W,{endTime:f})})]}),(0,l.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:["carousel"===u&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.$,{variant:"outline",size:"icon",className:"hidden h-8 w-8 rounded-full md:flex",onClick:()=>k("left"),children:(0,l.jsx)(i.A,{className:"h-4 w-4"})}),(0,l.jsx)(c.$,{variant:"outline",size:"icon",className:"hidden h-8 w-8 rounded-full md:flex",onClick:()=>k("right"),children:(0,l.jsx)(n.A,{className:"h-4 w-4"})})]}),m&&"#"!==m&&(0,l.jsx)(c.$,{variant:"ghost",className:"text-kaiglo_brand-base hover:text-kaiglo_brand-base hover:bg-kaiglo_brand-base/10",asChild:!0,children:(0,l.jsxs)(h(),{href:m,children:["See All",(0,l.jsx)(r.A,{className:"ml-1 h-4 w-4"})]})})]})]}),g&&(0,l.jsx)("div",{className:"mt-3 lg:hidden",children:(0,l.jsx)(d.W,{endTime:f})})]}),"carousel"===u?(0,l.jsxs)("div",{className:"relative group/carousel",children:[(0,l.jsx)("div",{ref:w,onScroll:()=>{if(w.current){let{scrollLeft:e,scrollWidth:s,clientWidth:a}=w.current;N(e/(s-a)*100)}},className:"flex gap-4 overflow-x-auto pb-6 pt-2 scrollbar-hide -mx-4 px-4 sm:mx-0 sm:px-0",children:a.map((e,s)=>(0,l.jsx)("div",{className:"w-[180px] flex-shrink-0 sm:w-[200px] lg:w-[220px] transition-transform hover:scale-[1.02]",children:(0,l.jsx)(o.A,{...e})},"".concat(e.id,"-").concat(s)))}),(0,l.jsxs)("div",{className:"absolute top-1/2 -translate-y-1/2 left-0 right-0 flex justify-between px-2 pointer-events-none md:hidden",children:[(0,l.jsx)(c.$,{variant:"secondary",size:"icon",className:"h-10 w-10 rounded-full bg-white/80 shadow-lg backdrop-blur-sm pointer-events-auto opacity-0 group-hover/carousel:opacity-100 transition-opacity active:scale-95",onClick:()=>k("left"),children:(0,l.jsx)(i.A,{className:"h-6 w-6 text-foreground"})}),(0,l.jsx)(c.$,{variant:"secondary",size:"icon",className:"h-10 w-10 rounded-full bg-white/80 shadow-lg backdrop-blur-sm pointer-events-auto opacity-0 group-hover/carousel:opacity-100 transition-opacity active:scale-95",onClick:()=>k("right"),children:(0,l.jsx)(n.A,{className:"h-6 w-6 text-foreground"})})]}),(0,l.jsx)("div",{className:"mt-2 flex justify-center gap-1.5 md:hidden",children:(0,l.jsx)("div",{className:"h-1.5 w-16 rounded-full bg-muted-foreground/10 overflow-hidden relative",children:(0,l.jsx)("div",{className:"absolute inset-y-0 h-full w-1/3 bg-kaiglo_brand-base rounded-full transition-all duration-300 ease-out",style:{left:"".concat(2*v/3,"%")}})})})]}):(0,l.jsx)("div",{className:"grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6",children:a.map((e,s)=>(0,l.jsx)(o.A,{...e},"".concat(e.id,"-").concat(s)))})]})}):null}}}]);

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.