1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7cfd3ce2-68ba-4b38-a6b6-fe6e6908884e",e._sentryDebugIdIdentifier="sentry-dbid-7cfd3ce2-68ba-4b38-a6b6-fe6e6908884e")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1030],{31030:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y});var r=a(2860),l=a(55729),d=a(98986),n=a(84660),s=a(5325),o=a(47126),i=a(41642),c=a(53031),u=a(71024),b=a.n(u),p=a(82203),m=a.n(p),h=a(50624);let f=b()(()=>Promise.resolve().then(a.bind(a,83665)),{loadableGenerated:{webpack:()=>[83665]},ssr:!1}),g=b()(()=>a.e(7160).then(a.bind(a,77160)),{loadableGenerated:{webpack:()=>[77160]},ssr:!1}),x=b()(Promise.resolve().then(a.bind(a,50463)).then(e=>e.QuantifiedMeasureCard),{loadableGenerated:{webpack:()=>[50463]},loading:()=>(0,r.Y)("div",{className:"h-[96px]"})}),v=e=>{let{ProductVariantItem:t,productVariantUrl:a,isOpened:l,factLabelItems:n,onClose:s}=e,{t:o,i18n:i}=(0,d.Bd)(),c=(0,h.v)(),u=(0,r.FD)("div",{className:"flex flex-col gap-2 overflow-hidden rounded-t-2xl bg-white px-4 py-5",children:[(0,r.Y)(t,{isClickDisabled:!0}),n.length>0&&(0,r.Y)("div",{className:"hide-scrollbar flex flex-col overflow-y-scroll",children:(0,r.Y)(x,{factsLabels:n,lang:i.resolvedLanguage})}),(0,r.Y)(m(),{className:"bg-grayscale-100 text-grayscale-800 no-text-decoration block h-9 rounded-2xl py-2 text-center text-sm no-underline",href:a,children:o("crowdin:product-page.product-detail.collection.go-to-product")})]});return c?(0,r.Y)(f,{maxWidth:"375px",maxHeight:"90vh",onClose:s,open:l,padding:"0",children:(0,r.Y)(r.FK,{children:u})}):(0,r.Y)(g,{isOpened:l,onClose:s,bgClasses:"max-h-[80vh]",children:u})},w=e=>{let{productVariant:t,factLabelItems:a}=e,[d,s]=(0,l.useState)(!1),o=()=>s(!d),u=e=>{let{isClickDisabled:a}=e;return(0,r.FD)("div",{className:(0,n.Q)("flex items-center gap-3",a?"pointer-events-none":"cursor-pointer"),onClick:o,children:[(0,r.Y)(c._,{width:"80",height:"60",src:t.productCardThumbnailUrl,alt:t.productVariantName,className:"aspect-[4/3] shrink-0 rounded-lg object-cover"}),(0,r.Y)("span",{className:"text-sm text-gray-800",children:t.name})]})};return(0,r.FD)("div",{className:"mb-3 last:mb-0",children:[(0,r.Y)(u,{}),(0,r.Y)(v,{isOpened:d,ProductVariantItem:u,productVariantUrl:i.H.DETAIL({productId:t.id}),factLabelItems:a,onClose:()=>s(!1)})]})},y=e=>{let{collectionOffer:t}=e,{t:a}=(0,d.Bd)(),[i,c]=(0,l.useState)(!1),u=(0,l.useMemo)(()=>t.data.attributes.products||[],[t.data.attributes.products]),b=(0,l.useMemo)(()=>t.data.attributes.factsLabelsV3.data||[],[t.data.attributes.factsLabelsV3.data]),p=(0,l.useMemo)(()=>(i?u:u.slice(0,3)).map(e=>{var t;let a=(null==(t=b.find(t=>t.name===e.name))?void 0:t.items)||[];return(0,r.Y)(w,{productVariant:e,factLabelItems:a},e.id)}),[i,b,u]);if(!u.length)return null;let m=u.length>3;return(0,r.FD)("div",{className:"text-grayscale-800 relative mb-5",children:[(0,r.Y)("div",{className:"mb-2 text-base font-medium",children:a("crowdin:product-page.product-detail.collection.title")}),(0,r.FD)("div",{className:"mb-3 flex items-center gap-1 text-sm",children:[(0,r.Y)(o.I,{type:"collections_bookmark"}),(0,r.Y)("span",{children:a("crowdin:product-page.product-detail.collection.materials",{num:u.length})})]}),(0,r.Y)("div",{className:"border-grayscale-100 rounded-2xl border border-solid p-4",children:m?(0,r.Y)("div",{className:(0,n.Q)("transition-maxHeight max-h-[223px] overflow-hidden duration-700",i?"max-h-[2000px]":"pb-3"),children:p}):p}),m&&!i&&(0,r.FD)(s.$,{className:"border-grayscale-100 absolute -bottom-5 left-[50%] z-10 flex w-max translate-x-[-50%] items-center justify-center rounded-[20px] border border-solid bg-white px-5 py-2",onClick:()=>c(!i),children:[(0,r.Y)("span",{className:"mr-1 text-sm",children:a("crowdin:product-page.product-detail.collection.show-all-material")}),(0,r.Y)(o.I,{type:i?"keyboard_arrow_up":"keyboard_arrow_down"})]})]})}}}]);
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.