1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3046],{3046:function(e,t,l){"use strict";l.r(t);var i=l(44037),o=l(26608),r=l(60029),n=l(6035),s=l(11909),m=l(60715),a=l(68584),d=l.n(a);t.default=function(e){var t;let{header:l,productListing:a,seeMoreButton:c}=e,u=(null==c?void 0:null===(t=c.buttonPageSlug)||void 0===t?void 0:t.slug)||(null==c?void 0:c.buttonUrl);return(0,i.jsxs)("div",{className:(0,o.Z)("px-[0.938rem] lg:px-9 pb-[1.875rem] max-w-[69.375rem] mx-auto",(null==l?void 0:l.title)&&"pt-[1.875rem]"),children:[l&&(0,i.jsx)("div",{className:(0,o.Z)("mx-auto pb-[1.25rem]"),children:(0,i.jsx)(n.Z,{...l})}),(0,i.jsx)("div",{className:(0,o.Z)("grid grid-cols-[repeat(2,_minmax(0px,_1fr))] md:grid-cols-2 lg:grid-cols-4 gap-[0.625rem] md:gap-[1.875rem]"),children:null==a?void 0:a.map(e=>(0,i.jsx)(r.Z,{isMobileTwoCol:!0,...e},e.id))}),(0,i.jsx)("div",{className:"text-center mx-auto w-full md:w-[31.25rem] mt-[3.75rem]",children:c&&u&&(0,i.jsx)(m.Z,{href:u,rel:c.buttonLinkRel,isExternalLink:!!c.buttonUrl,children:(0,i.jsx)("div",{className:(0,o.Z)("my-[1.875rem] mx-auto",d().productListingSeemoreButton),children:(0,i.jsx)(s.Z,{...c,isRowButton:!0,buttonType:"outline",buttonSize:"normal",fontWeight:"bold"})})})})]})}},60029:function(e,t,l){"use strict";l.d(t,{Z:function(){return f}});var i=l(44037),o=l(26608),r=l(60715),n=l(11909),s=function(e){var t;let{button:l}=e,o=(null==l?void 0:null===(t=l.buttonPageSlug)||void 0===t?void 0:t.slug)&&"/".concat(l.buttonPageSlug.slug)||(null==l?void 0:l.buttonUrl);return(0,i.jsx)("div",{className:"flex-auto w-full",children:l&&o&&(0,i.jsx)("div",{className:"w-full mt-[10px]",children:(0,i.jsx)(r.Z,{href:o,rel:l.buttonLinkRel,isExternalLink:!!l.buttonUrl,className:"block text-center !leading-1 h-[38px] rounded-[6px] text-[16px]",useUTMParams:(null==l?void 0:l.useUTMParams)||!1,children:(0,i.jsx)(n.Z,{...l,isFullWidth:!0,btnStyle:"h-[2.375rem] p-[0.532rem] rounded-[0.375rem]"})})})})},m=l(69895),a=l(42012),d=l(92983),c=l(85286),u=l(93972),x=l.n(u),h=function(e){let{titleColor:t,title:l,subtitleColor:r,subtitle:n,bulletColor:s,image:u,content:h}=e,g=(null==u?void 0:u.desktopImage)&&(0,c.L4)(u.desktopImage.width,u.desktopImage.height);return(0,i.jsxs)("div",{className:"flex flex-row flex-wrap w-full",children:[(null==u?void 0:u.desktopImage)&&(0,i.jsx)("div",{className:(0,o.Z)("flex-none block overflow-hidden mr-[20px] max-h-[9.125rem]","vertical"===g?"min-w-[5.813rem]":"min-w-[9.4rem]","vertical"===g?"min-h-[9.125rem]":"min-h-[5.875rem]",x().productListing__image),children:(0,i.jsx)(m.Z,{src:u.desktopImage,srcMobile:u.mobileImage,artDirection:u.artDirection,width:u.desktopImage.width,height:u.desktopImage.height})}),(0,i.jsxs)("div",{className:"block flex-1",children:[(0,i.jsx)("div",{className:"text-[18px] font-bold leading-[24px] text-ellipsis overflow-hidden line-clamp-2",children:(0,i.jsx)(a.Z,{md:l,textAlign:"left",textColor:t,className:"justify-center text-center text-[18px] font-[700]"})}),(0,i.jsx)("div",{className:"text-[18px] font-bold leading-[24px] text-ellipsis overflow-hidden line-clamp-2",children:(0,i.jsx)(a.Z,{md:n,textAlign:"left",textColor:r,className:"justify-center text-center text-[16px] font-[400] leading-[1.375rem]"})})]}),(0,i.jsx)("div",{className:"flex-none w-full mt-[1.063rem]",children:(0,i.jsx)("div",{className:x().productListing__text,children:(0,i.jsx)(d.Z,{bulletColor:s,subtitle:null!=h?h:"",align:"left",subtitleColor:"#4f4b66"})})})]})},g=l(63817),p=l(49908),_=l.n(p),w=function(e){let{titleColor:t,title:l,subtitleColor:r,subtitle:n,bulletColor:s,image:d,content:u}=e,x=(null==d?void 0:d.desktopImage)&&(0,c.L4)(d.desktopImage.width,d.desktopImage.height);return(0,i.jsxs)("div",{className:"flex flex-row flex-wrap h-[auto] w-full",children:[(null==d?void 0:d.desktopImage)&&(0,i.jsx)("div",{className:(0,o.Z)("min-w-full","vertical"===x?"md:min-w-[5.813rem]":"md:min-w-[9.4rem]","vertical"===x?"md:min-h-[9.125rem]":"md:min-h-[5.813rem]",_().productItemTwoColumn__image),children:(0,i.jsx)(m.Z,{src:d.desktopImage,srcMobile:d.mobileImage,artDirection:d.artDirection,width:d.desktopImage.width,height:d.desktopImage.height})}),(0,i.jsxs)("div",{className:"block flex-[0_0_100%] mt-[0.625rem]",children:[(0,i.jsx)("div",{className:"text-[16px] leading-[24px] font-bold box overflow-hidden text-ellipsis line-clamp-2",children:(0,i.jsx)("div",{className:"text-left lg:text-center",children:(0,i.jsx)(a.Z,{md:l,textAlign:"center",textColor:t})})}),(0,i.jsx)("div",{className:"text-[15px] font-normal leading-[22px]",children:(0,i.jsx)("div",{className:"text-left lg:text-center",children:(0,i.jsx)(a.Z,{md:n,textAlign:"center",textColor:r})})})]}),(0,i.jsx)("div",{className:"flex-[0_0_100%] mt-[0.625rem]",children:(0,i.jsx)("div",{className:_().productItemTwoColumn__text,children:(0,i.jsx)(g.Z,{bulletColor:s,subtitle:null!=u?u:"",align:"left",subtitleColor:_().textColor,cssClass:"heart-bullet-v2"})})})]})},f=function(e){let{title:t,subtitle:l,titleColor:r,subtitleColor:n,content:m,image:a,button:d,bulletColor:c,isMobileTwoCol:u}=e;return(0,i.jsxs)("div",{className:(0,o.Z)("p-[0.625rem] md:p-[1rem]",u?" bg-white":"bg-transparent","rounded-[10px] border-[1px] border-solid flex flex-wrap content-between"),children:[u?(0,i.jsx)(w,{title:t,subtitle:l,titleColor:r,subtitleColor:n,content:m,image:a,bulletColor:c}):(0,i.jsx)(h,{title:t,subtitle:l,titleColor:r,subtitleColor:n,content:m,image:a,bulletColor:c}),(0,i.jsx)(s,{button:d})]})}},63817:function(e,t,l){"use strict";var i=l(44037),o=l(26608),r=l(95244);t.Z=function(e){let{bulletColor:t,subtitle:l,align:n,subtitleColor:s,cssClass:m=""}=e;return(0,i.jsx)("div",{className:(0,o.Z)("heart-bullet",t,m),children:(0,i.jsx)(r.Z,{md:l,textAlign:n,textColor:s})})}},92983:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var i=l(44037),o=l(26608),r=l(48054),n=l(42012);function s(e){let{bulletColor:t,subtitle:l,align:s,subtitleColor:m,cssClass:a=""}=e,{locale:d}=(0,r.useRouter)();return(0,i.jsx)("div",{className:(0,o.Z)("heart-bullet",t,a,"th-TH"==d&&"checkmark"),children:(0,i.jsx)(n.Z,{md:l,textAlign:s,textColor:m})})}},69895:function(e,t,l){"use strict";l.d(t,{m:function(){return o}});var i,o,r=l(44037),n=l(50520),s=l(43822),m=l.n(s),a=l(49453),d=l.n(a),c=l(4194);(i=o||(o={})).RESPONSIVE="responsive",i.CROP="crop_center",i.USE_MOBILE="use_mobile_image",t.Z=function(e){let{src:t,srcMobile:l,artDirection:i="responsive",priority:o=!1,sizes:s}=e,[a]=(0,c.Z)(),u=e=>{switch(e){case"crop_center":return"crop_center";case"use_mobile_image":return"use_mobile_image";default:return"responsive"}};return"crop_center"===u(i)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d(),{children:o&&(0,r.jsxs)(r.Fragment,{children:[l&&(0,r.jsx)("link",{rel:"preload",href:l.url,as:"image",media:"(max-width: 768px)"}),t&&(0,r.jsx)("link",{rel:"preload",href:t.url,as:"image",media:"(min-width: 769px)"})]})}),(0,r.jsx)("div",{className:m().desktopImage,children:(0,r.jsx)(n.Z,{src:t.url,alt:t.alt||t.name||"image",sizes:s||"100vw",width:t.width,height:t.height,priority:o,quality:50})}),(0,r.jsx)("div",{className:"".concat(m().mobileImage," ").concat(m().crop_center),style:{width:t.width,height:t.height,position:"relative"}
1,children:(0,r.jsx)(n.Z,{src:t.url,alt:t.alt||t.name||"image",fill:!0,quality:25})})]}):"use_mobile_image"===u(i)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.Z,{src:l?l.url:t.url,alt:l?l.alt||l.name||"image":t.alt||t.name||"image",width:l?l.width:t.width,height:l?l.height:t.height,priority:o,quality:25,className:"md:hidden",sizes:s||"100vw",style:{objectFit:"cover"}}),(0,r.jsx)(n.Z,{src:t.url,alt:t.alt||t.name||"image",width:t.width,height:t.height,className:"hidden md:block",quality:50,style:{width:"100%",height:"auto"}})]}):(0,r.jsx)(n.Z,{src:t.url,alt:t.alt||t.name||"image",sizes:a?s:"100vw",width:t.width,height:t.height,priority:o,quality:a?25:50,style:{width:"100%",height:"auto"}})}},68584:function(e){e.exports={productListingSeemoreButton:"ProductListingMoreColumns_productListingSeemoreButton__J8I2m"}},93972:function(e){e.exports={productListing__image:"ProductListing_productListing__image__F2N8i",productListing__title:"ProductListing_productListing__title__RGz0u",productListing__text:"ProductListing_productListing__text__2Yn0X"}},49908:function(e){e.exports={textColor:"#4f4b66",productItemTwoColumn__box:"productItemTwoColumn_productItemTwoColumn__box__M5BeD",productItemTwoColumn__image:"productItemTwoColumn_productItemTwoColumn__image__vuhg4",productItemTwoColumn__title:"productItemTwoColumn_productItemTwoColumn__title__pXHfC",productItemTwoColumn__title__markdown:"productItemTwoColumn_productItemTwoColumn__title__markdown__m1mD5",productItemTwoColumn__text:"productItemTwoColumn_productItemTwoColumn__text__3WMPt",productItemTwoColumn__text__markdown:"productItemTwoColumn_productItemTwoColumn__text__markdown__d4bwc"}},43822:function(e){e.exports={crop_center:"ResponsiveImage_crop_center__vZzhx",desktopImage:"ResponsiveImage_desktopImage__sX0JV",mobileImage:"ResponsiveImage_mobileImage__P4O1N"}}}]); 2//# sourceMappingURL=3046.ad3d1542131063a8.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.