"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[780],{96844:function(e,i,t){t.d(i,{Z:function(){return x}});var n=t(85893),o=t(87603),a=t.n(o),r=t(25675),s=t.n(r),l=t(45697),d=t.n(l),c=t(90962),m=new String(".top_banner.jsx-83169fcbb5c5c818{background:#000;overflow-y:hidden;width:100%;width:1435px;margin:0 auto}.banner_container.jsx-83169fcbb5c5c818{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.banner_image.jsx-83169fcbb5c5c818{width:100%}.banner_image.jsx-83169fcbb5c5c818 img.jsx-83169fcbb5c5c818{width:100%}.banner_image_mobile.jsx-83169fcbb5c5c818{display:none}@media(max-width:".concat(c.ZP.small,"){.banner_image_desktop.jsx-83169fcbb5c5c818{display:none}.banner_image_mobile.jsx-83169fcbb5c5c818{display:block;height:auto!important}}@media(max-width:1435px){.top_banner.jsx-83169fcbb5c5c818{width:100%}}"));m.__hash="83169fcbb5c5c818";var p=m,u=function(e){var i=e.bannerImage,t=e.bannerImageMobile;return i?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"jsx-".concat(p.__hash)+" top_banner",children:(0,n.jsx)("div",{className:"jsx-".concat(p.__hash)+" banner_container",children:(0,n.jsxs)("div",{className:"jsx-".concat(p.__hash)+" banner_image",children:[(0,n.jsx)("div",{className:"jsx-".concat(p.__hash)+" banner_image_desktop",children:(0,n.jsx)(s(),{draggable:!1,layout:"responsive",src:i.url,alt:i.alt,width:i.dimensions.width,height:i.dimensions.height})}),(0,n.jsx)("div",{className:"jsx-".concat(p.__hash)+" banner_image_mobile",children:(0,n.jsx)(s(),{draggable:!1,src:t.url,alt:t.alt,width:t.dimensions.width,height:t.dimensions.height})})]})})}),(0,n.jsx)(a(),{id:p.__hash,children:p})]}):""};u.propTypes={bannerImage:d().object.isRequired,bannerImageMobile:d().object.isRequired};var x=u},75698:function(e,i,t){var n=t(85893),o=t(87603),a=t.n(o),r=t(45697),s=t.n(r),l=t(96844),d=t(90962),c=function(e){var i=e.bannerImage,t=e.bannerImageMobile,o=e.title,r=e.description;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{bannerImage:i,bannerImageMobile:t}),(0,n.jsx)("div",{className:a().dynamic([["a2ac0e67bb0061e7",[d.ZP.small,d.ZP.medium,d.ZP.small]]])+" wrapper",children:(0,n.jsxs)("div",{className:a().dynamic([["a2ac0e67bb0061e7",[d.ZP.small,d.ZP.medium,d.ZP.small]]])+" header",children:[(0,n.jsx)("div",{className:a().dynamic([["a2ac0e67bb0061e7",[d.ZP.small,d.ZP.medium,d.ZP.small]]]),children:(0,n.jsx)("h1",{className:a().dynamic([["a2ac0e67bb0061e7",[d.ZP.small,d.ZP.medium,d.ZP.small]]])+" heading",children:o})}),(0,n.jsx)("div",{className:a().dynamic([["a2ac0e67bb0061e7",[d.ZP.small,d.ZP.medium,d.ZP.small]]])+" description",children:r})]})}),(0,n.jsx)(a(),{id:"a2ac0e67bb0061e7",dynamic:[d.ZP.small,d.ZP.medium,d.ZP.small],children:'.header.__jsx-style-dynamic-selector{padding:50px 100px}.heading.__jsx-style-dynamic-selector{color:#e4e4e4;font-family:"Eurostile-Bold";font-size:39px;letter-spacing:0;line-height:48px;text-align:center}.description.__jsx-style-dynamic-selector{width:656px;margin-left:auto;margin-right:auto;color:#e4e4e4;font-family:"Roboto-Normal";font-size:16px;letter-spacing:0;line-height:24px;text-align:center}@media(max-width:'.concat(d.ZP.small,'){.description.__jsx-style-dynamic-selector{margin-left:auto;margin-right:auto;color:#e4e4e4;font-family:"Roboto-Normal";font-size:16px;letter-spacing:0;line-height:24px;text-align:center}}@media(max-width:').concat(d.ZP.medium,"){.description.__jsx-style-dynamic-selector{width:unset}}@media(max-width:").concat(d.ZP.small,"){.header.__jsx-style-dynamic-selector{background-color:#000;padding:50px 50px}}")})]})};c.propTypes={bannerImage:s().object,bannerImageMobile:s().object,title:s().string,description:s().string},c.defaultProps={bannerImage:null,bannerImageMobile:null,title:null,description:null},i.Z=c},64296:function(e,i,t){var n=t(828),o=t(85893),a=t(87603),r=t.n(a),s=t(45697),l=t.n(s),d=t(25675),c=t.n(d),m=t(90962),p=t(41664),u=t.n(p),x=t(67294),b=(t(46387),t(6746)),_=t(50549),f=function(e){var i,t,a,s,l,d,p,f,y,g,h=e.allPcModels,v=e.item,j=e.buttonLabel,w=e.fixedPrice;if(!v.pc_model||!v.featureDoc)return"";var k,P=(0,x.useRef)(0),Z=(0,x.useRef)(0),N=v.link.includes("?selections=");if(N){var z=v.link.split("?")[1],S=new URLSearchParams(z).get("selections"),R=decodeURIComponent(S);k=JSON.parse(R)}var C=v.featureDoc.data.features,T=(v.pc_model.data,v.pc_model.uid||function(e){if(e.includes("ultrafocus-pro"))return"ultrafocus-pro";if(e.includes("ai-top"))return"aitop";var i=e.split("/");return i[2].includes("?selections")?i[2].split("?")[0]:i[2]}(v.link)),L=null===h||void 0===h?void 0:h.find((function(e){return e.prismic_uid===T})),I=(0,x.useState)((null===v||void 0===v||null===(i=v.thumbnail)||void 0===i?void 0:i.url)||"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/product.png?v=1714032274"),M=I[0],E=I[1],D=null===L||void 0===L?void 0:L.compare_at;if(N){var G,O=Object.entries(k),A=(0,b.Z2)(L).options.filter((function(e){return O.some((function(i){var t=(0,n.Z)(i,2),o=t[0],a=t[1];return e.group_type.toLowerCase()===o.toLowerCase()&&e.variant_id===a}))})),W=A.reduce((function(e,i){return e+i.price}),0),q=A.reduce((function(e,i){return e+(i.compare_at>0?i.compare_at:i.price)}),0);P.current=(null===(G=A[0])||void 0===G?void 0:G.o_price)+W,Z.current=D+q}else P.current=(null===L||void 0===L?void 0:L.price)||0,Z.current=(null===L||void 0===L?void 0:L.compare_at)||0;return(0,o.jsxs)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]]),children:[(0,o.jsxs)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_card",children:[(0,o.jsxs)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_card_contents",children:[(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_title",children:(0,o.jsx)(u(),{href:v.link||"#",children:(0,o.jsx)("a",{href:v.link||"#",className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]]),children:v.title1})})}),(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_keywords",children:v.subtitle}),(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" image-container",children:(null===v||void 0===v||null===(t=v.thumbnail2)||void 0===t?void 0:t.url)?(0,o.jsx)(u(),{href:v.link||"#",children:(0,o.jsx)("a",{href:v.link||"#",className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" view_more",children:(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" image-wrapper",children:(0,o.jsx)(c(),{draggable:!1,src:M,alt:v.thumbnail.alt,width:null===(a=v.thumbnail)||void 0===a||null===(s=a.dimensions)||void 0===s?void 0:s.width,height:null===(l=v.thumbnail)||void 0===l||null===(d=l.dimensions)||void 0===d?void 0:d.height,onMouseEnter:function(){var e;(null===v||void 0===v||null===(e=v.thumbnail2)||void 0===e?void 0:e.url)&&E(v.thumbnail2.url)},onMouseLeave:function(){var e;E((null===v||void 0===v||null===(e=v.thumbnail)||void 0===e?void 0:e.url)||"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/product.png?v=1714032274")}})})})}):(0,o.jsx)(u(),{href:v.link||"#",children:(0,o.jsx)("a",{href:v.link||"#",className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" view_more",children:(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" image-wrapper",children:(0,o.jsx)(c(),{draggable:!1,src:M,alt:v.thumbnail.alt,width:null===(p=v.thumbnail)||void 0===p||null===(f=p.dimensions)||void 0===f?void 0:f.width,height:null===(y=v.thumbnail)||void 0===y||null===(g=y.dimensions)||void 0===g?void 0:g.height})})})})}),(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_features",children:(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_features_item",children:C.map((function(e){var i,t;return(0,o.jsxs)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" feature_item",children:[(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" feature_icon",children:(0,o.jsx)(c(),{draggable:!1,src:(null===(i=e.icon)||void 0===i?void 0:i.url)||"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/icon-cpu_1.png?v=1714038645",alt:null===(t=e.icon)||void 0===t?void 0:t.alt,width:15,height:15})}),(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" feature_title",children:e.label})]},e.label)}))})})]}),(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_pricing",children:L?(0,o.jsxs)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_pricing_total",children:[(0,o.jsx)("span",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_pricing_from",children:w?"SGD":"from SGD"}),(0,o.jsxs)("span",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_pricing_price",children:[(0,o.jsx)("span",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]]),children:"$"}),P.current.toLocaleString()]}),(0,o.jsx)("span",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_pricing_compare_price",children:(0,o.jsx)("strike",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]]),children:Z.current.toLocaleString()})})]}):(0,o.jsx)(_.y,{baseColor:"#202020",highlightColor:"#444",width:180,children:(0,o.jsx)("p",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]]),children:(0,o.jsx)(_.Z,{count:1})})})}),(0,o.jsx)("div",{className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" product_link",children:(0,o.jsx)(u(),{href:v.link,children:(0,o.jsx)("a",{href:v.link,className:r().dynamic([["7b3f7d6111289230",[m.ZP.medium,m.ZP.extraSmall]]])+" view_more",children:j||"START CUSTOMISING"})})})]}),(0,o.jsx)(r(),{id:"7b3f7d6111289230",dynamic:[m.ZP.medium,m.ZP.extraSmall],children:'.feature_item.__jsx-style-dynamic-selector{margin-bottom:10px}.product_card.__jsx-style-dynamic-selector{width:312px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1}.product_card_contents.__jsx-style-dynamic-selector{background:#242424;color:#e4e4e4;width:312px;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.product_title.__jsx-style-dynamic-selector{color:#e4e4e4;font-family:big_noodle_titling;font-size:25px;letter-spacing:0;line-height:32px;text-align:center;padding-top:20px}.product_keywords.__jsx-style-dynamic-selector{color:#949494;font-family:"Roboto-Medium";font-size:14px;letter-spacing:0;line-height:24px;text-align:center;margin-bottom:10px;text-transform:uppercase;height:48px}.product_benchmarks.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;color:#949494;font-family:"Roboto-Normal";font-size:10px;letter-spacing:0;line-height:16px;padding:20px}.benchmark_percentage.__jsx-style-dynamic-selector{width:50px;height:50px;margin-right:25px}.benchmark_category.__jsx-style-dynamic-selector{width:50%;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.benchmark_text.__jsx-style-dynamic-selector{padding-top:25px;padding-left:10px}hr.__jsx-style-dynamic-selector{width:90%;border:none;height:1px;background-color:#949494}.product_features.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:20px;padding:20px}.product_features_item.__jsx-style-dynamic-selector{width:98%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:0 auto;gap:5px}.feature_item.__jsx-style-dynamic-selector{width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:10px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;color:#e4e4e4;font-family:"Roboto-Normal";font-size:13px;letter-spacing:0;line-height:20px;margin-bottom:10px;height:40px}.feature_title.__jsx-style-dynamic-selector{text-align:left;font-family:"Roboto-Normal"}.feature_icon.__jsx-style-dynamic-selector{margin-top:5px}.product_pricing.__jsx-style-dynamic-selector{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#141414;padding:30px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;width:312px}.product_pricing_total.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:10px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.product_pricing_from.__jsx-style-dynamic-selector{color:#949494;font-family:"Roboto-Normal";font-size:13px;letter-spacing:0;line-height:13px;text-align:right}.product_pricing_price.__jsx-style-dynamic-selector{color:#e4e4e4;font-family:"big_noodle_titling";font-size:31px;letter-spacing:0;line-height:40px}.product_pricing_compare_price.__jsx-style-dynamic-selector{color:#949494;font-family:"Roboto-Normal";font-size:16px;letter-spacing:0;line-height:13px;text-align:right}.product_link.__jsx-style-dynamic-selector{background-color:#950810;color:#e4e4e4;font-family:"Eurostile-Bold";font-size:16px;font-weight:500;letter-spacing:0;line-height:50px;height:50px;text-align:center;width:312px;-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.product_link.__jsx-style-dynamic-selector:hover{background-color:#800006}.view_more.__jsx-style-dynamic-selector{display:block;width:100%;height:100%}.image-wrapper.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:312px;height:312px}hr.__jsx-style-dynamic-selector{background-color:#343434!important}.image-container.__jsx-style-dynamic-selector{cursor:pointer;position:relative}.bg-image.__jsx-style-dynamic-selector{background-image:url("photographer.jpg");filter:blur(5px);-webkit-filter:blur(8px);height:100%;background-position:center;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.image-background.__jsx-style-dynamic-selector{background-color:#242424;width:100%;height:280px;position:absolute;overflow:hidden}.bg-image-container.__jsx-style-dynamic-selector{width:100%;height:280px;position:absolute}.bg-image-container.__jsx-style-dynamic-selector .image.__jsx-style-dynamic-selector{width:100%;height:100%;position:relative!important;-o-object-fit:cover;object-fit:cover}.darken-image.__jsx-style-dynamic-selector .overlay.__jsx-style-dynamic-selector{position:absolute;left:0;width:100%;height:100%;background-color:rgb(0 0 0/60%)}@media(max-width:'.concat(m.ZP.medium,"){.product_card.__jsx-style-dynamic-selector{margin:0 auto}.product_title.__jsx-style-dynamic-selector{padding-top:10px;font-size:20px;line-height:20px}.product_keywords.__jsx-style-dynamic-selector{font-size:15px;margin-bottom:5px;line-height:20px}.feature_item.__jsx-style-dynamic-selector{margin-bottom:0;font-size:11px}.product_features.__jsx-style-dynamic-selector{padding:10px}.product_features_item.__jsx-style-dynamic-selector{gap:0}.product_pricing.__jsx-style-dynamic-selector{padding:0px}.product_pricing_price.__jsx-style-dynamic-selector{font-size:18px}.product_pricing_from.__jsx-style-dynamic-selector{font-size:10px}.product_pricing_compare_price.__jsx-style-dynamic-selector{font-size:10px}.view_more.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.product_link.__jsx-style-dynamic-selector{font-size:12px;height:35px}}@media(max-width:").concat(m.ZP.extraSmall,"){.product_card.__jsx-style-dynamic-selector{width:auto}.product_card_contents.__jsx-style-dynamic-selector{width:auto}.product_pricing.__jsx-style-dynamic-selector{width:auto}.product_link.__jsx-style-dynamic-selector{width:auto}}")})]})};f.propTypes={item:l().object.isRequired,buttonLabel:l().string,fixedPrice:l().bool},f.defaultProps={buttonLabel:"START CUSTOMISING",fixedPrice:!1},i.Z=f},49714:function(e,i,t){t.d(i,{Z:function(){return D}});var n=t(14924),o=t(26042),a=t(85893),r=t(87603),s=t.n(r),l=t(45697),d=t.n(l),c=t(25675),m=t.n(c),p=t(90962),u=t(41664),x=t.n(u),b=t(67294),_=t(47478),f=t(94184),y=t.n(f),g=t(97007),h=t(95462),v=t(96076),j=t(27032);var w=function(e){var i=e.startDate,t=e.endDate,n=e.timerLabel,o=(0,b.useState)(0),r=o[0],l=o[1],d=(0,b.useState)(0),c=d[0],m=d[1],p=(0,b.useState)(0),u=p[0],x=p[1],_=(0,b.useState)(0),f=_[0],y=_[1],g=(0,b.useState)(0),h=g[0],v=g[1],w=new Date(i).getTime(),k=new Date(t).getTime(),P=k-w,Z=setInterval((function(){var e=(new Date).getTime(),i=k-e;i<0&&clearInterval(Z);var t=Math.floor(i/864e5),n=Math.floor(i%864e5/36e5),o=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);l(t),m(n),x(o),y(a);var r,s=e-w;r=Math.floor(s/P*100),v(r)}),1e3),N=(new Date).getTime();return k-N<0&&clearInterval(Z),w&&k&&k-N>0?(0,a.jsxs)("div",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]])+" countdown-container",children:[(0,a.jsxs)("div",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]])+" countdown-text",children:[(0,a.jsx)("span",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]]),children:n}),(0,a.jsxs)("span",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]])+" countdown-time",children:[r>0&&(0,a.jsx)("span",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]]),children:(0,j.Kz)({number:r,plural:"days",singular:"day"})}),c>0&&(0,a.jsx)("span",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]]),children:(0,j.Kz)({number:c,plural:"hours",singular:"hour"})}),u>0&&(0,a.jsx)("span",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]]),children:(0,j.Kz)({number:u,plural:"minutes",singular:"minute"})}),f>0&&(0,a.jsx)("span",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]]),children:(0,j.Kz)({number:f,plural:"seconds",singular:"second"})})]})]}),(0,a.jsx)("div",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]])+" countdown-bar-container",children:(0,a.jsx)("div",{className:s().dynamic([["5d94f5a498508b9f",[r>0?"grid":"flex",h]]])+" countdown-bar"})}),(0,a.jsx)(s(),{id:"5d94f5a498508b9f",dynamic:[r>0?"grid":"flex",h],children:'.countdown-container.__jsx-style-dynamic-selector{width:100%}.countdown-text.__jsx-style-dynamic-selector{font-size:13px;color:#818184;font-family:"Roboto-Medium";display:'.concat(r>0?"grid":"flex",";gap:4px}.countdown-time.__jsx-style-dynamic-selector{color:#ce1c1c;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}.countdown-bar-container.__jsx-style-dynamic-selector{background:#d9d9d9;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;height:7px;overflow:hidden;margin-top:4px}.countdown-bar.__jsx-style-dynamic-selector{background:#ce1c1c;height:100%;width:").concat(h,"%}")})]}):null};var k=function(e){var i=e.restockDate,t=e.timerLabel,n=(0,b.useState)(0),o=n[0],r=n[1],l=(0,b.useState)(0),d=l[0],c=l[1],m=(0,b.useState)(0),p=m[0],u=m[1],x=(0,b.useState)(0),_=x[0],f=x[1],y=new Date(i).getTime(),g=setInterval((function(){var e=(new Date).getTime(),i=y-e;i<0&&clearInterval(g);var t=Math.floor(i/864e5),n=Math.floor(i%864e5/36e5),o=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);r(t),c(n),u(o),f(a)}),1e3),h=(new Date).getTime();return y-h<0&&clearInterval(g),i&&y-h>0?(0,a.jsxs)("div",{className:"jsx-b0f0b699e15a927f countdown-container",children:[(0,a.jsxs)("div",{className:"jsx-b0f0b699e15a927f countdown-text",children:[t,(0,a.jsxs)("span",{className:"jsx-b0f0b699e15a927f countdown-time",children:[o>0&&(0,a.jsx)("span",{className:"jsx-b0f0b699e15a927f",children:(0,j.Kz)({number:o,plural:"days",singular:"day"})}),d>0&&(0,a.jsx)("span",{className:"jsx-b0f0b699e15a927f",children:(0,j.Kz)({number:d,plural:"hours",singular:"hour"})}),p>0&&(0,a.jsx)("span",{className:"jsx-b0f0b699e15a927f",children:(0,j.Kz)({number:p,plural:"minutes",singular:"minute"})}),_>0&&(0,a.jsx)("span",{className:"jsx-b0f0b699e15a927f",children:(0,j.Kz)({number:_,plural:"seconds",singular:"second"})})]})]}),(0,a.jsx)(s(),{id:"b0f0b699e15a927f",children:'.countdown-container.jsx-b0f0b699e15a927f{width:100%}.countdown-text.jsx-b0f0b699e15a927f{font-size:13px;color:#818184;font-family:"Roboto-Medium";display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.countdown-time.jsx-b0f0b699e15a927f{color:#ce1c1c;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}'})]}):null},P=t(37887),Z=t(12054),N=t(46387),z=t(78678),S=t(31644),R="#fc6522",C="#0071c5",T="#76b900",L="#bd0000",I="#949494",M=function(e){var i,t,n,o=e.tags,r=e.title.split("/")[1].trim().split(" + "),s="intel"===(null===(t=o.CPU)||void 0===t?void 0:t.toLowerCase())||(null===t||void 0===t?void 0:t.toLowerCase().startsWith("intel"))?C:"amd"===(null===t||void 0===t?void 0:t.toLowerCase())||(null===t||void 0===t?void 0:t.toLowerCase().startsWith("amd"))?R:I,l=(n=o["Graphics-card"]?o["Graphics-card"]:o["graphics-card"],/\bRTX\b/i.test(n)||(null===n||void 0===n?void 0:n.toLowerCase().startsWith("nvidia"))?T:/\bRX\b/i.test(n)||(null===n||void 0===n?void 0:n.toLowerCase().startsWith("amd"))?L:I);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:s},children:r[0]}),"intergrated"!==o["Graphics-card"]&&"Intel Graphics"!==o["Graphics-card"]&&!(null===(i=o["Graphics-card"])||void 0===i?void 0:i.toLowerCase().includes("integrated"))&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:"white"},children:" + "}),(0,a.jsx)("span",{style:{color:l},children:r[1]})]})]})},E=function(e){var i,t,r,l,d,c,u,f,j,R,C,T,L,I,E,D,G,O,A,W,q,U,F,J,K,Y,B,$,H,X,V,Q=e.item,ee=e.buttonLabel,ie=e.fixedPrice,te=e.type,ne=(0,b.useContext)(z.r).setIsLaptop,oe=(0,b.useState)(!1),ae=oe[0],re=oe[1];if(!Q.product)return"";var se=null===Q||void 0===Q||null===(i=Q.product)||void 0===i?void 0:i.tags.split(","),le=(0,b.useState)(-1),de=le[0],ce=le[1],me=(0,b.useState)(!1),pe=me[0],ue=me[1],xe=null===se||void 0===se?void 0:se.filter((function(e){return e.trim().startsWith("performance:")})),be=se.filter((function(e){return e.trim().startsWith("specifications:")})),_e=se.filter((function(e){return e.trim().startsWith("shipping:")})),fe=se.filter((function(e){return e.trim().startsWith("category:")})),ye=se.filter((function(e){return e.trim().startsWith("unique:")})),ge=se.find((function(e){return e.trim().startsWith("list_type:")})),he=fe.length>0&&(null===(t=fe[0])||void 0===t?void 0:t.split(":"));he.shift();he.includes("LAPTOPS");var ve=_e.length>0&&_e[0].split(":")[1],je=se.filter((function(e){return e.trim().startsWith("banner:")})),we=0,ke=0,Pe=!1,Ze=!1,Ne=null,ze=null,Se=null,Re=(0,N.Z)(),Ce=(0,P.a)(Z.zA,{variables:(0,Z.I7)(null===Q||void 0===Q||null===(r=Q.product)||void 0===r?void 0:r.handle)}),Te=(Ce.loading,Ce.data);if(!Ce.error&&void 0!=Te){var Le,Ie,Me=null===Te||void 0===Te||null===(Le=Te.product)||void 0===Le||null===(Ie=Le.tags)||void 0===Ie?void 0:Ie.filter((function(e){return e.trim().startsWith("timer:")}));if((null===Me||void 0===Me?void 0:Me.length)>0){Me.forEach((function(e){switch(e.trim().split(":")[1]){case"limit":Pe=!0;break;case"restock":Ze=!0;break;default:Pe=!1,Ze=!1}}));var Ee,De,Ge,Oe,Ae,We,qe,Ue,Fe,Je,Ke,Ye,Be=(new Date).getTime();if(Pe)ze=null===(Ge=null===Te||void 0===Te||null===(Ee=Te.product)||void 0===Ee||null===(De=Ee.metafields)||void 0===De?void 0:De.edges.find((function(e){var i,t;return"custom"===(null===e||void 0===e||null===(i=e.node)||void 0===i?void 0:i.namespace)&&"limited_time_deal_end"===(null===e||void 0===e||null===(t=e.node)||void 0===t?void 0:t.key)})))||void 0===Ge||null===(Oe=Ge.node)||void 0===Oe?void 0:Oe.value,Ne=null===(qe=null===Te||void 0===Te||null===(Ae=Te.product)||void 0===Ae||null===(We=Ae.metafields)||void 0===We?void 0:We.edges.find((function(e){var i,t;return"custom"===(null===e||void 0===e||null===(i=e.node)||void 0===i?void 0:i.namespace)&&"limited_time_deal_start"===(null===e||void 0===e||null===(t=e.node)||void 0===t?void 0:t.key)})))||void 0===qe||null===(Ue=qe.node)||void 0===Ue?void 0:Ue.value,we=new Date(ze).getTime()-Be;if(Ze)Se=null===(Ke=null===Te||void 0===Te||null===(Fe=Te.product)||void 0===Fe||null===(Je=Fe.metafields)||void 0===Je?void 0:Je.edges.find((function(e){var i,t;return"custom"===(null===e||void 0===e||null===(i=e.node)||void 0===i?void 0:i.namespace)&&"restock_time"===(null===e||void 0===e||null===(t=e.node)||void 0===t?void 0:t.key)})))||void 0===Ke||null===(Ye=Ke.node)||void 0===Ye?void 0:Ye.value,ke=new Date(Se).getTime()-Be,console.log({checkEndDateReStock:ke,item:Q,isRestocking:Ze,restockDate:Se})}}var $e=je.length>0&&je[0].split(":")[1],He=function(e){var i=[],t={};return e.map((function(e){var n=e.split(":");if(n.length>=4){var o="collection"===n[1],a={id:o?n[2]:n[1],type:n[2+(o?1:0)],description:n.slice(3+(o?1:0)).join(":")};o?t[a.id]=a:i.push(a)}})),i.map((function(e){return t[e.id]?t[e.id]:e})).sort((function(e,i){var t,n,o=Number(null===(t=e.id.match(/\d+/))||void 0===t?void 0:t[0]),a=Number(null===(n=i.id.match(/\d+/))||void 0===n?void 0:n[0]),r=!isNaN(o),s=!isNaN(a);return r&&s?o-a:r?1:s?-1:e.id.localeCompare(i.id)}))}(be).filter((function(e){return"cpu"===e.type.toLowerCase()||"graphics-card"===e.type.toLowerCase()||"ram"===e.type.toLowerCase()||"storage"===e.type.toLowerCase()||"display"===e.type.toLowerCase()||"motherboard"===e.type.toLowerCase()||"cooler"===e.type.toLowerCase()||"power"===e.type.toLowerCase()?e:void 0})),Xe=(0,b.useState)((null===(d=null===Q||void 0===Q||null===(l=Q.product)||void 0===l?void 0:l.images[0])||void 0===d?void 0:d.src)||"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/product.png?v=1714032274"),Ve=Xe[0],Qe=Xe[1];(0,b.useEffect)((function(){var e,i,t;"undefined"!==typeof(null===(e=Q.product.images[0])||void 0===e?void 0:e.src)&&Qe(null===(t=null===Q||void 0===Q||null===(i=Q.product)||void 0===i?void 0:i.images[0])||void 0===t?void 0:t.src)}),[Q]);var ei=function(){ue(!1)},ii=function(e){switch(e){case"same-day-shipping":return"Same Day Shipping";case"next-day-shipping":return"Next Day Shipping";case"pre-order":return"Pre Order";default:return""}};(0,b.useEffect)((function(){var e=sessionStorage.getItem("productHandle");if(null!=e){var i=document.getElementsByClassName("desktop".concat(e))[0].offsetTop;window.scrollTo({top:i-130,behavior:"instant"})}}),[]),(0,b.useEffect)((function(){Q.product.tags.includes("category:LAPTOPS")?ne(!0):ne(!1)}));var ti=be.map((function(e){var i=e.split(":"),t=i[2],o=i.slice(3).join(":");return(0,n.Z)({},t,o)})).reduce((function(e,i){return(0,o.Z)({},e,i)}),{});return(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" "+(te+Q.product.handle||""),children:[(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_card",children:[(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_card_contents",children:[(0,a.jsx)("div",{style:""!=je||"continue"!==(null===(c=Q.product.variants)||void 0===c||null===(u=c[0])||void 0===u?void 0:u.inventory_policy)&&(null===(f=Q.product.variants)||void 0===f||null===(j=f[0])||void 0===j?void 0:j.inventory_quantity)<1?{paddingTop:16}:{paddingTop:10},className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_title",children:(0,a.jsx)(x(),{href:"/products/".concat(Q.product.handle)||0,children:(0,a.jsx)("a",{href:"/products/".concat(Q.product.handle)||0,className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" view_more",children:Q.product.title.split("/")[0]})})}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_keywords",children:(0,a.jsx)(M,{tags:ti,title:Q.product.title})}),(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" "+(y()("image-container")||""),children:[(0,a.jsx)("div",{style:Re<=990&&"continue"!==(null===(R=Q.product.variants)||void 0===R||null===(C=R[0])||void 0===C?void 0:C.inventory_policy)&&(null===(T=Q.product.variants)||void 0===T||null===(L=T[0])||void 0===L?void 0:L.inventory_quantity)<1?{opacity:.4}:{},className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" "+(y()("image-container")||""),children:Re<=990&&(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" image-background",children:(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" bg-image-container darken-image",children:[(0,a.jsx)(m(),{draggable:!1,src:Ve,width:300,height:300,alt:"background_image"}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" overlay"})]})})}),(null===(E=null===Q||void 0===Q||null===(I=Q.product)||void 0===I?void 0:I.images[1])||void 0===E?void 0:E.src)?(0,a.jsx)(x(),{href:"/products/".concat(Q.product.handle)||0,children:(0,a.jsx)("a",{href:"/products/".concat(Q.product.handle)||0,className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" view_more",children:(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" "+(("continue"!==(null===(D=Q.product.variants)||void 0===D||null===(G=D[0])||void 0===G?void 0:G.inventory_policy)&&(null===(O=Q.product.variants)||void 0===O||null===(A=O[0])||void 0===A?void 0:A.inventory_quantity)<1?"image-sold-out":"")||""),children:(0,a.jsx)(m(),{draggable:!1,src:Ve,alt:Q.product.title,width:Re<=990?280:312,height:Re<=990?280:312,onMouseEnter:function(){var e,i;(null===(i=null===Q||void 0===Q||null===(e=Q.product)||void 0===e?void 0:e.images[1])||void 0===i?void 0:i.src)&&Qe(Q.product.images[1].src)},onMouseLeave:function(){var e,i;Qe((null===(i=null===Q||void 0===Q||null===(e=Q.product)||void 0===e?void 0:e.images[0])||void 0===i?void 0:i.src)||"item.product.images[0]?.src")}})})})}):(0,a.jsx)(x(),{href:"/products/".concat(Q.product.handle)||0,children:(0,a.jsx)("a",{href:"/products/".concat(Q.product.handle)||0,className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" view_more",children:(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" "+(("continue"!==(null===(W=Q.product.variants)||void 0===W||null===(q=W[0])||void 0===q?void 0:q.inventory_policy)&&(null===(U=Q.product.variants)||void 0===U||null===(F=U[0])||void 0===F?void 0:F.inventory_quantity)<1?"image-sold-out":"")||""),children:(0,a.jsx)(m(),{draggable:!1,src:Ve,alt:Q.product.title,width:Re<=990?280:312,height:Re<=990?280:312})})})})]}),(null===xe||void 0===xe?void 0:xe.length)>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_benchmarks",children:xe.map((function(e,i){var t="undefined"!==typeof(null===e||void 0===e?void 0:e.split(":")[1])?null===e||void 0===e?void 0:e.split(":")[1].replace("-"," ").toUpperCase():"",n="undefined"!==typeof(null===e||void 0===e?void 0:e.split(":")[2])?e.split(":")[2]:"";return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" collectionPage stat",children:[(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" stat-label",children:[(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" performance-title",children:(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]]),children:t})}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" performance-tips",children:(0,a.jsx)("div",{onClick:function(){return function(e){ue(!0),ce(e)}(i)},className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" tip_icon",children:(0,a.jsx)(m(),{draggable:!1,src:"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/info_1.png?v=1714033735",alt:"performance tip",width:15,height:15})})}),de===i&&(0,a.jsx)(g.Z,{name:t,page:"collection",isTooltipOpen:pe,handleCloseModal:ei})]}),(0,a.jsx)(h.Z,{bgcolor:"#7ed321",progress:n||0})]},e)})}))}),(0,a.jsx)("hr",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" card-breakline"})]}),(null===He||void 0===He?void 0:He.length)>0&&(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_features",children:(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_features_item",children:[ge?null===ye||void 0===ye?void 0:ye.map((function(e,i){var t=e.trim().split(":")[2],n=e.trim().split(":")[3],o=v.aK.find((function(e){return e.groupType===t}));return(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" feature_item",children:[(0,a.jsx)(m(),{draggable:!1,src:o.image,alt:o.groupType,width:22,height:22}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" feature_title",children:n})]},i)})):He.map((function(e,i){var t=e.type,n=e.description,o=Re<=990?"Storage"===t?{padding:"0 1px"}:{}:"Storage"===t?{padding:"0 3px"}:{};return(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" feature_item",children:[t&&(0,a.jsxs)("div",{onMouseLeave:function(){return re(!1)},onMouseEnter:function(){return re(i)},style:o,className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]]),children:[ae===i?(0,a.jsx)("span",{style:{},className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" feature_item_title",children:t}):null,(0,a.jsx)(m(),{draggable:!1,src:(0,S.n)(t),alt:"product_features",width:Re<=990?"Storage"===t?12:17:"Storage"===t?17:22,height:Re<=990?17:22})]}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" feature_title",children:n.split("|").map((function(e,i){return(0,a.jsxs)(b.Fragment,{children:[e,(0,a.jsx)("br",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])})]},i)}))})]},i)})),ve&&"delayed"!=ve&&(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" feature_item shipping-tag-con",children:[""!==ii(ve)&&(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]]),children:(0,a.jsx)(m(),{draggable:!1,src:"Pre Order"!=ii(ve)?"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/truck-green.png?v=1714056888":"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/truck-cyan.png?v=1714056921",alt:"product_features",width:Re<=990?15:22,height:Re<=990?15:22})}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" feature_title shipping-tag",children:(0,a.jsx)("span",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" "+(("Pre Order"!=ii(ve)?"glow":"glow2")||""),children:ii(ve)})})]}),we>0&&(0,a.jsx)(w,{startDate:Ne,endDate:ze,timerLabel:"Deals ends in"}),ke>0&&(0,a.jsx)(k,{restockDate:Se,timerLabel:"Limited Stock To Be Reloaded In"})]})})]}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_pricing",children:(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_pricing_total",children:[(0,a.jsx)("span",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_pricing_from",children:ie?"SGD":"from SGD"}),(null===(K=null===Q||void 0===Q||null===(J=Q.product)||void 0===J?void 0:J.variants[0])||void 0===K?void 0:K.price)&&(0,a.jsxs)("span",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_pricing_price",children:[(0,a.jsx)("span",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]]),children:"$"}),parseFloat(Q.product.variants[0].price).toLocaleString()]}),(null===(B=null===Q||void 0===Q||null===(Y=Q.product)||void 0===Y?void 0:Y.variants[0])||void 0===B?void 0:B.compare_at_price)&&(0,a.jsx)("span",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_pricing_compare_price",children:(0,a.jsx)("strike",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]]),children:parseFloat(Q.product.variants[0].compare_at_price).toLocaleString()})})]})}),(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" product_link",children:(0,a.jsx)(x(),{href:"/products/".concat(Q.product.handle),children:(0,a.jsx)("a",{href:"/products/".concat(Q.product.handle),className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" view_more",children:ee||"START CUSTOMISING"})})}),(0,a.jsxs)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" banner-container",children:["continue"!==(null===($=Q.product.variants)||void 0===$||null===(H=$[0])||void 0===H?void 0:H.inventory_policy)&&(null===(X=Q.product.variants)||void 0===X||null===(V=X[0])||void 0===V?void 0:V.inventory_quantity)<1?(0,a.jsx)(_.Z,{}):"",""!=je&&(0,a.jsx)("div",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]])+" same_day_shipping",children:(0,a.jsx)("button",{className:s().dynamic([["611dafeb08b6bd71",[p.ZP.medium,p.ZP.medium,p.ZP.medium]]]),children:$e})})]})]}),(0,a.jsx)(s(),{id:"611dafeb08b6bd71",dynamic:[p.ZP.medium,p.ZP.medium,p.ZP.medium],children:'.product_title.__jsx-style-dynamic-selector{height:2.75rem}.product_keywords.__jsx-style-dynamic-selector{height:1rem}#imagecontainer.__jsx-style-dynamic-selector{height:310px}.same_day_shipping.__jsx-style-dynamic-selector{top:0;right:0;font-family:"Roboto-Medium";text-transform:uppercase;font-size:10px;line-height:16px;padding:1px 4px;background-color:#646464;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#e4e4e4;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);left:0;padding:2px 4px 2px 4px;background:#950810;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;text-align:center;width:45%}.same_day_shipping.__jsx-style-dynamic-selector img.__jsx-style-dynamic-selector{width:12px;height:auto;margin-top:5px}.same_day_shipping.__jsx-style-dynamic-selector button.__jsx-style-dynamic-selector{background:transparent;border:none;font-weight:600;font-size:10px;line-height:16px;text-align:center;color:#e4e4e4;padding:0}@media(max-width:'.concat(p.ZP.medium,'){.same_day_shipping.__jsx-style-dynamic-selector{top:32px}.product_features.__jsx-style-dynamic-selector{display:inline-block!important;height:auto!important;padding-top:0;padding-bottom:10px}}.tip_icon.__jsx-style-dynamic-selector{cursor:pointer}.stat.__jsx-style-dynamic-selector+.stat.__jsx-style-dynamic-selector{margin-top:20px}.performance-tips.__jsx-style-dynamic-selector{float:right}.look_feel_title.__jsx-style-dynamic-selector .performance-tips.__jsx-style-dynamic-selector{margin-left:5px}.performance-tags.__jsx-style-dynamic-selector{padding-top:10px}.stat-label.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;position:relative;font-size:12px;line-height:normal;color:#949494;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.performance-title.__jsx-style-dynamic-selector{margin-bottom:4px;color:#949494;font-family:"Roboto-Medium";font-size:13px;letter-spacing:0;line-height:20px;margin-right:10px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}.Storage.__jsx-style-dynamic-selector{padding:3px 7px 0 2px}.benchmark_text.__jsx-style-dynamic-selector img.__jsx-style-dynamic-selector{-webkit-filter:invert(.4);filter:invert(.4);width:17px;height:auto;position:relative;top:4px;left:5px}.image-container.__jsx-style-dynamic-selector{position:inherit!important}.product_card.__jsx-style-dynamic-selector{width:308px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;position:relative}.product_card_contents.__jsx-style-dynamic-selector{background:#242424;color:#e4e4e4;width:312px;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.product_title.__jsx-style-dynamic-selector{color:#e4e4e4;font-family:"big_noodle_titling";font-size:25px;letter-spacing:0;line-height:32px;text-align:center}.product_keywords.__jsx-style-dynamic-selector{color:#949494;font-family:"Roboto-Medium";font-size:14px;-webkit-letter-spacing:0;-moz-letter-spacing:0;-ms-letter-spacing:0;letter-spacing:0;line-height:24px;text-align:center;margin-bottom:10px;min-height:24px}.product_benchmarks.__jsx-style-dynamic-selector{color:#949494;font-size:13px;letter-spacing:0;padding:15px;-webkit-letter-spacing:0;-moz-letter-spacing:0;-ms-letter-spacing:0;font-style:normal;font-weight:400;line-height:20px}.benchmark_percentage.__jsx-style-dynamic-selector{width:50px;margin-top:5px}.benchmark_category.__jsx-style-dynamic-selector{width:50%;display:initial;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.benchmark_text.__jsx-style-dynamic-selector{padding-top:25px;padding-left:5px}hr.__jsx-style-dynamic-selector{width:90%;border:none;height:1px;background-color:#949494}.product_features.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:20px;padding:15px;height:400px}.product_features_item.__jsx-style-dynamic-selector{width:98%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:0 auto;gap:10px 15px}.feature_item_title.__jsx-style-dynamic-selector{border:1px solid#3b3b3b;padding:4px;position:absolute;top:-30px;left:-15px;text-align:center;background:#242424}.feature_item.__jsx-style-dynamic-selector{width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:10px;-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;-ms-flex-align:start;align-items:start;color:#e4e4e4;font-family:"Roboto-Normal";font-size:13px;letter-spacing:0;line-height:20px;position:relative}.feature_title.__jsx-style-dynamic-selector{text-align:left;width:90%;overflow:hidden;height:auto;line-height:normal;-o-text-overflow:ellipsis;text-overflow:ellipsis}.feature_icon.__jsx-style-dynamic-selector{margin-top:0px;width:10%}.product_pricing.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#141414;padding:30px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;width:312px}.product_pricing_total.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:10px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.product_pricing_from.__jsx-style-dynamic-selector{color:#949494;font-family:"Roboto-Normal";font-size:13px;letter-spacing:0;line-height:13px;text-align:right}.product_pricing_price.__jsx-style-dynamic-selector{color:#e4e4e4;font-family:"big_noodle_titling";font-size:31px;letter-spacing:0;line-height:40px}.product_pricing_compare_price.__jsx-style-dynamic-selector{color:#949494;font-family:"Roboto-Normal";font-size:16px;letter-spacing:0;line-height:13px;text-align:right}.product_link.__jsx-style-dynamic-selector{background-color:#950810;color:#e4e4e4;font-family:"Roboto-Medium";font-size:16px;font-weight:500;letter-spacing:0;line-height:50px;height:50px;text-align:center;width:312px;-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.product_link.__jsx-style-dynamic-selector:hover{background-color:#800006}.view_more.__jsx-style-dynamic-selector{display:block;width:100%;height:100%}hr.__jsx-style-dynamic-selector{background-color:#343434!important}.image-container.__jsx-style-dynamic-selector{position:relative}.image-sold-out.__jsx-style-dynamic-selector{opacity:.4}.hide.__jsx-style-dynamic-selector{display:none}@media(max-width:').concat(p.ZP.medium,'){.product_card.__jsx-style-dynamic-selector{margin:0 auto;padding:32px 0}}.banner-container.__jsx-style-dynamic-selector{width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;position:absolute;top:0;-webkit-box-pack:space-evenly;-webkit-justify-content:space-evenly;-moz-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly;-webkit-flex-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit}.shipping-tag-con.__jsx-style-dynamic-selector{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:-7%;height:18px}.shipping-tag.__jsx-style-dynamic-selector{color:#00e300;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;font-weight:bold;font-family:"Roboto-Medium";width:auto;height:auto}.bg-image.__jsx-style-dynamic-selector{background-image:url("photographer.jpg");filter:blur(5px);-webkit-filter:blur(8px);height:100%;background-position:center;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.image-background.__jsx-style-dynamic-selector{background-color:black;width:102%;height:280px;position:absolute;overflow:hidden}.bg-image-container.__jsx-style-dynamic-selector{width:100%;height:280px;position:absolute;-webkit-filter:blur(2px);filter:blur(2px);top:-51px}.bg-image-container.__jsx-style-dynamic-selector .image.__jsx-style-dynamic-selector{width:100%;height:100%;position:relative!important;-o-object-fit:cover;object-fit:cover}.darken-image.__jsx-style-dynamic-selector .overlay.__jsx-style-dynamic-selector{position:absolute;top:49px;left:0;width:100%;height:110%;background-color:rgb(0 0 0/60%)}@media(max-width:').concat(p.ZP.medium,"){.same_day_shipping.__jsx-style-dynamic-selector{top:32px}.banner-container.__jsx-style-dynamic-selector{top:32px}.product_features.__jsx-style-dynamic-selector{display:inline-block!important;height:auto!important;padding-top:5px;padding-bottom:5px}.shipping-tag-con.__jsx-style-dynamic-selector{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:-2%;height:18px}.product_pricing.__jsx-style-dynamic-selector{padding:0px}.product_pricing_price.__jsx-style-dynamic-selector{font-size:18px}.product_title.__jsx-style-dynamic-selector{line-height:15px;font-size:18px}.product_keywords.__jsx-style-dynamic-selector{font-size:12px;margin-bottom:0px;text-transform:uppercase}.product_features_item.__jsx-style-dynamic-selector{gap:5px 15px}.card-breakline.__jsx-style-dynamic-selector{display:none}.feature_item.__jsx-style-dynamic-selector{font-size:11px}.view_more.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.product_link.__jsx-style-dynamic-selector{font-size:12px;height:35px}.glow.__jsx-style-dynamic-selector{font-size:12px}.glow2.__jsx-style-dynamic-selector{font-size:12px}.product_pricing_from.__jsx-style-dynamic-selector{font-size:10px}.product_pricing_compare_price.__jsx-style-dynamic-selector{font-size:10px}.image-sold-out.__jsx-style-dynamic-selector{opacity:1}.same_day_shipping.__jsx-style-dynamic-selector button.__jsx-style-dynamic-selector{font-size:8px}}")})]})};E.propTypes={item:d().object.isRequired,buttonLabel:d().string,fixedPrice:d().bool},E.defaultProps={buttonLabel:"START CUSTOMISING",fixedPrice:!1};var D=E},47478:function(e,i,t){var n=t(85893),o=t(87603),a=t.n(o),r=t(90962);i.Z=function(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:a().dynamic([["26da3ae92ad01647",[r.ZP.medium]]])+" sold-out-container",children:"Sold out"}),(0,n.jsx)(a(),{id:"26da3ae92ad01647",dynamic:[r.ZP.medium],children:'.sold-out-container.__jsx-style-dynamic-selector{top:0;right:43%;font-family:"Roboto-Medium";text-transform:uppercase;font-size:10px;line-height:16px;padding:1px 4px;background-color:#646464;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#e4e4e4;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}@media(max-width:'.concat(r.ZP.medium,"){.sold-out-container.__jsx-style-dynamic-selector{top:32px}}")})]})}},24342:function(e,i,t){t.d(i,{Ge:function(){return a},Ss:function(){return n},uP:function(){return o}});var n=["core","support","styling","accessories","review"],o={core:"Core",support:"Support",styling:"Styling",accessories:"Accessories",review:"Review"},a={core:"CORE COMPONENTS",support:"COOLING AND STORAGE",styling:"DESIGN AND AESTHETICS",accessories:"ACCESSORIES AND GEAR",review:"REVIEW",build:"CREATE YOUR DREAM RIG",chassis:"CREATE YOUR DREAM RIG"}},68824:function(e,i,t){var n=t(85893),o=t(87603),a=t.n(o),r=t(67294),s=t(66261),l=t(90962);i.Z=function(e){var i=e.listIndex,t=e.item,o=e.handleActiveNav,d=e.activeNav,c=(0,r.useRef)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:a().dynamic([["3c60d3437e9c2ecc",[l.ZP.medium,l.ZP.medium]]])+" list_item_desktop",children:(0,n.jsx)("li",{className:a().dynamic([["3c60d3437e9c2ecc",[l.ZP.medium,l.ZP.medium]]])+" "+((d===i?"active_link":"")||""),children:(0,n.jsx)(s.rU,{onSetActive:function(){o(i)},to:t,spy:!0,smooth:!0,offset:-80,duration:1e3,delay:0,children:(0,n.jsx)("div",{className:a().dynamic([["3c60d3437e9c2ecc",[l.ZP.medium,l.ZP.medium]]])+" "+((d===i?"":"link_text")||""),children:t})})},i)}),(0,n.jsx)("div",{className:a().dynamic([["3c60d3437e9c2ecc",[l.ZP.medium,l.ZP.medium]]])+" list_item_mobile",children:(0,n.jsx)("li",{ref:c,className:a().dynamic([["3c60d3437e9c2ecc",[l.ZP.medium,l.ZP.medium]]])+" "+((d===i?"active_link":"")||""),children:(0,n.jsx)(s.rU,{onSetActive:function(){o(i)},to:t,spy:!0,smooth:!0,offset:-140,duration:1e3,delay:0,children:(0,n.jsx)("div",{className:a().dynamic([["3c60d3437e9c2ecc",[l.ZP.medium,l.ZP.medium]]])+" "+((d===i?"":"link_text")||""),children:t})})},i)}),(0,n.jsx)(a(),{id:"3c60d3437e9c2ecc",dynamic:[l.ZP.medium,l.ZP.medium],children:'.active_link.__jsx-style-dynamic-selector{color:#fd0300!important}li.__jsx-style-dynamic-selector{color:#e4e4e4;font-family:"Roboto-Normal";font-size:16px;letter-spacing:0;line-height:24px;cursor:pointer;padding-bottom:20px;text-transform:uppercase}li.__jsx-style-dynamic-selector:hover{color:#fd0300}@media(min-width:'.concat(l.ZP.medium,"){.list_item_mobile.__jsx-style-dynamic-selector{display:none}}@media(max-width:").concat(l.ZP.medium,"){.list_item_desktop.__jsx-style-dynamic-selector{display:none}.active_link.__jsx-style-dynamic-selector{color:#fd0300!important}li.__jsx-style-dynamic-selector{padding-right:24px;padding-bottom:0px}.link_text.__jsx-style-dynamic-selector{background:-webkit-radial-gradient(center,transparent 5%,#e4e4e4);-webkit-background-clip:text}.link_text.__jsx-style-dynamic-selector:hover{color:#fd0300}}")})]})}},42159:function(e,i,t){t.d(i,{ER:function(){return s},r$:function(){return r},wr:function(){return l}});var n=t(31304),o=t.n(n),a=t(24342),r=function(e){return function(e,i,t){if("string"!==typeof t)throw new Error("str is not String");return t.replace(e,i)}(/[-]/g,"_",o()(e).toLocaleLowerCase())};function s(e){var i=e.option_id,t=e.option_sub_group_id,n=void 0===t?0:t,o=e.group_type,a=void 0===o?"None":o,s=e.sub_group_name,l=e.sub_group_title,d=e.sub_group_description,c=e.pc_model_uid,m=e.pc_model_title,p=e.priority;this.option_id=i,this.option_sub_group_id=n,this.group_type=r(a),this.sub_group_name=null!==s&&void 0!==s?s:"Untitled",this.sub_group_title=null!==l&&void 0!==l?l:"Untitled",this.sub_group_description=d,this.pc_model_uid=c,this.pc_model_title=m,this.priority=p}function l(e){var i=e.price,t=e.compare_at,n=e.option_id,o=e.group_type,s=void 0===o?"None":o,l=e.option_sub_group_id,d=void 0===l?0:l,c=e.group_title,m=e.group_step_new,p=e.id,u=e.title,x=e.sku,b=e.is_base,_=e.is_recommended,f=e.image,y=e.variant_id,g=e.tags,h=e.pc_model_uid,v=e.pc_model_title,j=e.o_price;this.price=i,this.compare_at=t,this.option_id=n,this.group_type=r(s),this.option_sub_group_id=d,this.group_title=c,this.group_step_new="string"===typeof m?m.toLowerCase():a.Ss[0],this.id=p,this.title=u,this.sku=x,this.is_base=b,this.is_recommended=_,this.image=f,this.variant_id=y,this.tags=g,this.pc_model_uid=h,this.pc_model_title=v,this.o_price=j}function d(e){var i=e.variant_id,t=e.quantity,n=e.tracked,o=e.policy;this.variant_id=i,this.quantity=t,this.tracked=n,this.policy=o}function c(e){var i=e.option_id,t=e.base_price,n=e.compared_at_price_diff,o=e.group_type,a=void 0===o?"None":o,s=e.pc_model_uid,l=e.price_diff,d=e.sku,c=e.variant_id;this.option_id=i,this.base_price=t,this.compared_at_price_diff=n,this.group_type=r(a),this.pc_model_uid=s,this.price_diff=l,this.sku=d,this.variant_id=c}function m(e){var i={};for(var t in e)if(Object.hasOwnProperty.call(e,t)){var n=e[t];i[t]=n}return i}l.prototype.toJson=function(){return JSON.stringify({option_id:this.option_id=option_id,group_type:this.group_type,option_sub_group_id:this.option_sub_group_id=option_sub_group_id,group_title:this.group_title=group_title,group_step_new:this.group_step_new,id:this.id=id,title:this.title=title,sku:this.sku=sku,is_base:this.is_base=is_base,is_recommended:this.is_recommended=is_recommended,image:this.image=image,variant_id:this.variant_id=variant_id,tags:this.tags=tags,pc_model_uid:this.pc_model_uid=pc_model_uid,pc_model_title:this.pc_model_title=pc_model_title,o_price:this.pc_model_title=o_price})},d.prototype.toJson=function(){return JSON.stringify({variant_id:this.variant_id,quantity:this.quantity,tracked:this.tracked,policy:this.policy})},c.prototype.toJson=function(){return JSON.stringify({option_id:this.option_id,base_price:this.base_price,compared_at_price_diff:this.compared_at_price_diff,group_type:this.group_type,pc_model_uid:this.pc_model_uid,price_diff:this.price_diff,sku:this.sku,variant_id:this.variant_id})},l.prototype.toJS=function(){return m(this)},d.prototype.toJS=function(){return m(this)},c.prototype.toJS=function(){return m(this)}},6746:function(e,i,t){t.d(i,{Jb:function(){return l},Z2:function(){return s}});var n=t(828),o=t(29815),a=t(16877),r=t(42159),s=function(e){try{var i,t=[],n=[];if(!e)return{options:[],sub_groups:[]};null===e||void 0===e||null===(i=e.modelOptionGroup)||void 0===i||i.forEach((function(i){null===i||void 0===i||i.options.forEach((function(o){var a,s,l,d,p,u,x,b,_,f;n.push(new r.ER({group_type:null===i||void 0===i||null===(a=i.optionGroup)||void 0===a?void 0:a.option_group_title,sub_group_name:null===o||void 0===o||null===(s=o.optionSubGroup)||void 0===s?void 0:s.option_sub_group_title,sub_group_title:null===o||void 0===o||null===(l=o.optionSubGroup)||void 0===l?void 0:l.option_sub_group_title,sub_group_description:null===o||void 0===o||null===(d=o.optionSubGroup)||void 0===d?void 0:d.option_sub_group_description,pc_model_uid:e.slug,pc_model_title:e.model_title,o_price:e.price,option_id:o.option_id,option_sub_group_id:null===o||void 0===o||null===(p=o.optionSubGroup)||void 0===p?void 0:p.option_sub_group_id,priority:null===o||void 0===o||null===(u=o.optionSubGroup)||void 0===u?void 0:u.priority})),t.push(new r.wr({price:null===o||void 0===o?void 0:o.price,compare_at:null===o||void 0===o?void 0:o.compare_at,option_id:null===o||void 0===o?void 0:o.option_id,group_type:null===i||void 0===i||null===(x=i.optionGroup)||void 0===x?void 0:x.option_group_title,group_title:null===i||void 0===i||null===(b=i.optionGroup)||void 0===b?void 0:b.option_group_title,option_sub_group_id:null===o||void 0===o||null===(_=o.optionSubGroup)||void 0===_?void 0:_.option_sub_group_id,group_step_new:null===i||void 0===i||null===(f=i.configStep)||void 0===f?void 0:f.config_step_title,id:null===o||void 0===o?void 0:o.component.component_id,title:null===o||void 0===o?void 0:o.component.component_title,sku:null===o||void 0===o?void 0:o.component.sku,is_base:0!==(null===o||void 0===o?void 0:o.base),is_recommended:!1,image:c(o),variant_id:null===o||void 0===o?void 0:o.component.variant_id,tags:m(null===o||void 0===o?void 0:o.component.tags),pc_model_uid:e.slug,pc_model_title:e.model_title,o_price:e.price}))}))}));var s=function(e){var i=(0,o.Z)(e),t=(0,a.vMG)((function(e){return e.group_type}))(e),n=Object.keys(t);return null===n||void 0===n||n.forEach((function(t){if(!e.find((function(e){return e.group_type===t&&e.is_base}))){var n=e.findIndex((function(e){return e.group_type===t}));i[n].is_base=!0}})),i}(t);return{options:(0,a.mNm)((0,a.vgT)("option_id"),s),sub_groups:n}}catch(l){return console.error("deconstructDoc",l),[]}},l=function(e){try{var i,t,n,o,a,s,l=[];return e?(l.push(new r.wr({price:null===(i=e.product)||void 0===i?void 0:i.variants[0].price,id:e.product.id,title:null===(t=e.product)||void 0===t?void 0:t.title,sku:null===(n=e.product)||void 0===n?void 0:n.variants[0].sku,variants:null===(o=e.product)||void 0===o?void 0:o.variants,is_base:1,is_recommended:!1,image:d(e),variant_id:null===(a=e.product)||void 0===a?void 0:a.variants[0].id,tags:m(null===(s=e.product)||void 0===s?void 0:s.tags),pc_model_uid:e.slug})),{options:l}):{options:[]}}catch(c){return console.error("deconstructDoc",c),[]}};function d(e){var i,t=e.product.title;return{src:(null===(i=e.product.images[0])||void 0===i?void 0:i.src)||"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/image-placeholder.png?v=1714058007",alt:t,width:300,height:300}}function c(e){var i=e.component.component_title;return{src:e.component.image||"https://cdn.shopify.com/s/files/1/0637/0407/2436/files/image-placeholder.png?v=1714058007",alt:i,width:300,height:300}}var m=function(e){return e?[e.split(", ").filter((function(e){return e.startsWith("attr:")})).map((function(e){var i=(0,n.Z)(e.split(":"),3);return{name:i[1],value:i[2]}})),e.split(", ").filter((function(e){return e.startsWith("req:")})).map((function(e){var i=(0,n.Z)(e.split(":"),4);return{name:i[1],operator:i[2],value:i[3]}})),e.split(", ").filter((function(e){return e.startsWith("aggr:")})).map((function(e){var i=(0,n.Z)(e.split(":"),5);return{name:i[2],operator:i[3],value:i[4]}})),e.split(", ").filter((function(e){return e.startsWith("hide:")})).map((function(e){var i=(0,n.Z)(e.split(":"),4);return{name:i[1],operator:i[2],value:i[3]}}))]:[[],[],[],[]]}}}]); //# sourceMappingURL=780-06a0bff33426457b.js.map