PageSourceSearch

https://www.anker.com/_next/static/chunks/43102.2e6c6b0e89fda1ce.js

js anker.com collected 2026-10-01 08:37:29 UTC 21,542 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1205483d-a3d6-462e-b2e4-e88c6110f887",e._sentryDebugIdIdentifier="sentry-dbid-1205483d-a3d6-462e-b2e4-e88c6110f887")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43102],{70981:function(e,n,l){"use strict";function t(e,n){var l;return null==e?void 0:null===(l=e.variants)||void 0===l?void 0:l.find(e=>Object.entries(n).every(n=>{let[l,t]=n;return e.options.find(e=>{if("MultipleChoiceOption"===e.__typename&&e.displayName.toLowerCase()===l.toLowerCase())return e.values.find(e=>e.label.toLowerCase()===t)})}))}l.d(n,{p:function(){return t}})},53083:function(e,n,l){"use strict";l.d(n,{V:function(){return s},r:function(){return r}});var t=l(75271),a=l(34064),o=l(98662),i=l(96496),d=l(38600);function r(e){return null==e?void 0:e.reduce((e,n)=>{var l,t,a,o;return e[null==n?void 0:null===(l=n.displayName)||void 0===l?void 0:l.toLowerCase()]=null===(o=n.values)||void 0===o?void 0:null===(a=o[0])||void 0===a?void 0:null===(t=a.label)||void 0===t?void 0:t.toLowerCase(),e},{})}function s(e,n){let{selectedOptions:l,setSelectedOptions:s}=(0,i.l8)(),u=(0,a.useRouter)();return(0,t.useEffect)(()=>{if(u.isReady){var t,a,i;let c=u.query.variant||(0,d.Tb)("variant",window.location.href),p=(0,d.d4)(c),v=null==e?void 0:null===(t=e.variants)||void 0===t?void 0:t.find(e=>n?e.sku===n:e.id===p),m=(null===(a=e.variants)||void 0===a?void 0:a.find(e=>e.options.every(e=>l.hasOwnProperty(e.displayName)&&l[e.displayName]===e.values[0].label.toLowerCase())))||(null===(i=e.variants)||void 0===i?void 0:i[0]),b=v||m,f=r(null==b?void 0:b.options);(0,o.Z)(f)||s(f)}},[u.isReady,u.query.variant,e,n]),[l,s]}},44999:function(e,n,l){"use strict";l.d(n,{c1:function(){return r}});var t=l(75271),a=l(34064),o=l(2462),i=l(38600),d=l(70981);function r(e,n){var l;let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=(0,a.useRouter)(),[c,p]=(0,t.useState)({...(null==e?void 0:null===(l=e.variants)||void 0===l?void 0:l[0])||{},productHandle:(null==e?void 0:e.slug)||(null==e?void 0:e.handle)});return(0,t.useLayoutEffect)(()=>{var n;let l=(0,i.Tb)("variant",window.location.href),t=(0,i.d4)(l),a=null==e?void 0:null===(n=e.variants)||void 0===n?void 0:n.find(e=>e.id===t);a&&p({...a,productHandle:(null==e?void 0:e.slug)||(null==e?void 0:e.handle)})},[e]),(0,t.useEffect)(()=>{let l=(0,d.p)(e,n);l&&u.isReady?(l.productHandle=e.slug||e.handle,p({...l,productHandle:(null==e?void 0:e.slug)||(null==e?void 0:e.handle)}),r&&function(e){let n=(0,o.pm)();n.variant=(0,i.Ll)(null==e?void 0:e.id),window.history.replaceState({},"","".concat(window.location.pathname,"?").concat((0,i.HD)(n)).concat(location.hash))}(l),s&&function(){let e=new URL(window.location.href);e.searchParams.delete("variant"),window.history.replaceState({},"",e.toString())}()):u.isReady},[n,e,u.isReady,r,s]),c}},68041:function(e,n,l){"use strict";l.d(n,{W:function(){return a}});var t=l(63440);let a=e=>{let{sku:n,quantity:l,metafields:a}=e,{corporateEasyBuyDiscount:o}=a;if(!o||!n||!l)return null;let{pcs10_99_price_cal:i,pcs100_299_price_cal:d,pcs300_499_price_cal:r,sku_list:s,bulk_cfg:u}=o,c=s.find(e=>e.sku===n);if(!c)return null;if((null==u?void 0:u.length)>0){for(let e of u)if(l>=e.min_quantity&&l<=e.max_quantity){if(1===e.discount_type){let n=new t.Z(e.discount_amount).div(100);return new t.Z(c.base_price).times(n).toDecimalPlaces(2,t.Z.ROUND_HALF_UP).toNumber()}if(2===e.discount_type)return new t.Z(c.base_price).minus(e.discount_amount).toNumber();if(3===e.discount_type)return e.discount_amount}}let p=c.pcs500_plus_price,v=new t.Z(p).plus(r).toNumber(),m=new t.Z(p).plus(d).toNumber(),b=new t.Z(p).plus(i).toNumber();return l>=500?p:l>=300?v:l>=100?m:b}},43102:function(e,n,l){"use strict";l.r(n);var t=l(52676),a=l(75271),o=l(10293),i=l.n(o),d=l(34064),r=l(82187),s=l.n(r),u=l(63440),c=l(57682),p=l(17046),v=l(98662),m=l(96496),b=l(38600),f=l(29271),g=l(33621),x=l(53083),h=l(44999),w=l(68041),y=l(55893),k=l(9652),_=l.n(k);let j=i()(()=>Promise.all([l.e(21693),l.e(72083),l.e(61387),l.e(83482),l.e(40771)]).then(l.bind(l,83482)),{loadableGenerated:{webpack:()=>[83482]}}),C=i()(()=>Promise.all([l.e(45571),l.e(18489)]).then(l.bind(l,18489)),{loadableGenerated:{webpack:()=>[18489]}}),P=i()(()=>Promise.resolve().then(l.bind(l,45695)),{loadableGenerated:{webpack:()=>[45695]}}),N=i()(()=>Promise.all([l.e(26851),l.e(95095),l.e(49779),l.e(90129),l.e(21693),l.e(97546),l.e(62706),l.e(72083),l.e(61387),l.e(36755),l.e(45010),l.e(32025),l.e(53822),l.e(22516),l.e(54528),l.e(1327),l.e(14741),l.e(65766),l.e(25350),l.e(4911),l.e(87210),l.e(3166),l.e(66818),l.e(76712),l.e(53023),l.e(31011),l.e(16702),l.e(23278),l.e(87577),l.e(17276),l.e(79803),l.e(37574),l.e(81792),l.e(6159),l.e(3249)]).then(l.bind(l,97309)),{loadableGenerated:{webpack:()=>[97309]}}),M=i()(()=>l.e(71080).then(l.bind(l,71080)),{loadableGenerated:{webpack:()=>[71080]}}),G=i()(()=>Promise.all([l.e(95095),l.e(40178)]).then(l.bind(l,40178)),{loadableGenerated:{webpack:()=>[40178]}}),D=i()(()=>l.e(441).then(l.bind(l,441)),{loadableGenerated:{webpack:()=>[441]}}),T=i()(()=>Promise.all([l.e(95095),l.e(72083),l.e(61387),l.e(71030)]).then(l.bind(l,71030)),{loadableGenerated:{webpack:()=>[71030]}}),L=i()(()=>Promise.all([l.e(95095),l.e(72083),l.e(61387),l.e(16702),l.e(23278),l.e(57637),l.e(15731)]).then(l.bind(l,6956)),{loadableGenerated:{webpack:()=>[6956]}}),B=i()(()=>l.e(3238).then(l.bind(l,3238)),{loadableGenerated:{webpack:()=>[3238]}}),E=i()(()=>Promise.all([l.e(72083),l.e(61387),l.e(75863)]).then(l.bind(l,75863)),{loadableGenerated:{webpack:()=>[75863]}}),S=i()(()=>Promise.all([l.e(95095),l.e(72083),l.e(61387),l.e(16702),l.e(23278),l.e(3332),l.e(55259)]).then(l.bind(l,3332)),{loadableGenerated:{webpack:()=>[3332]}}),Z=i()(()=>Promise.all([l.e(72083),l.e(61387),l.e(14855)]).then(l.bind(l,14855)),{loadableGenerated:{webpack:()=>[14855]}}),F=i()(()=>Promise.all([l.e(21693),l.e(72083),l.e(61387),l.e(76449)]).then(l.bind(l,76449)),{loadableGenerated:{webpack:()=>[76449]}}),z=i()(()=>Promise.all([l.e(72083),l.e(61387),l.e(90272)]).then(l.bind(l,90272)),{loadableGenerated:{webpack:()=>[90272]}}),R=i()(()=>
1Promise.all([l.e(61873),l.e(58303)]).then(l.bind(l,58303)),{loadableGenerated:{webpack:()=>[58303]}}),H=i()(()=>Promise.all([l.e(79243),l.e(95095),l.e(72083),l.e(61387),l.e(36755),l.e(45010),l.e(32025),l.e(53822),l.e(22516),l.e(98070),l.e(54528),l.e(1327),l.e(16702),l.e(23278),l.e(58334)]).then(l.bind(l,78153)),{loadableGenerated:{webpack:()=>[78153]}}),I=i()(()=>Promise.all([l.e(21693),l.e(54908)]).then(l.bind(l,54908)),{loadableGenerated:{webpack:()=>[54908]}}),U=i()(()=>Promise.all([l.e(85368),l.e(68440),l.e(56532)]).then(l.bind(l,56532)),{loadableGenerated:{webpack:()=>[56532]}}),q=i()(()=>Promise.all([l.e(17024),l.e(36896)]).then(l.bind(l,36896)),{loadableGenerated:{webpack:()=>[36896]}}),O=i()(()=>Promise.all([l.e(49779),l.e(87577),l.e(1208)]).then(l.bind(l,1208)),{loadableGenerated:{webpack:()=>[1208]}}),W=i()(()=>Promise.all([l.e(95095),l.e(21693),l.e(36755),l.e(45010),l.e(32025),l.e(69126),l.e(80329)]).then(l.bind(l,80329)),{loadableGenerated:{webpack:()=>[80329]}}),K=i()(()=>Promise.all([l.e(49779),l.e(95095),l.e(62706),l.e(72083),l.e(61387),l.e(36755),l.e(45010),l.e(32025),l.e(4911),l.e(76712),l.e(16702),l.e(23278),l.e(79803),l.e(93586)]).then(l.bind(l,27250)),{loadableGenerated:{webpack:()=>[27250]}}),Y=i()(()=>l.e(64745).then(l.bind(l,64745)),{loadableGenerated:{webpack:()=>[64745]}}),A=i()(()=>l.e(57617).then(l.bind(l,57617)),{loadableGenerated:{webpack:()=>[57617]}}),Q=i()(()=>Promise.all([l.e(53566),l.e(93894)]).then(l.bind(l,93894)),{loadableGenerated:{webpack:()=>[93894]}});n.default=e=>{var n,l,o,i,r,k,_,X,J,$,ee,en,el;let{product:et,relatedProducts:ea,metafields:eo,pageType:ei,type:ed,slug:er,pageHandle:es,legalGuarantee:eu}=e,{data:ec=[]}=(0,y.Z)(),ep=(0,d.useRouter)(),[ev,em]=(0,a.useState)(null!=ep&&null!==(n=ep.query)&&void 0!==n&&!!n.variant),eb=(0,a.useMemo)(()=>({products:(null==ea?void 0:ea.map(e=>null==e?void 0:e.result))||[],originList:(null==ea?void 0:ea.map(e=>null==e?void 0:e.origin))||[]}),[ea]),{gtm:ef}=(0,m.l8)(),{component_order:eg,preRender:ex,pageCommon:eh,shopCommon:ew,summerCampaignDiscount:ey,compareParams:ek}=eo,[e_,ej]=(0,x.V)(et),eC=(0,h.c1)(et,e_,ev),[eP,eN]=(0,a.useState)(!1);(0,a.useEffect)(()=>{"b"===(0,b.Tb)("cov",window.location.href)?eN(!0):eN(!1)},[]);let{data:eM}=(0,v.IY)(eo,"MppPageNav",eC),eG=(null==eg?void 0:eg.includes("MppPageNav"))?{...(0,v.mz)(ew),...eh||{},...eM}:null,{hasMemberDiscount:eD,memberDiscountData:eT,listingData:eL,isSolix:eB}=(0,g.Z)({metafields:eo,product:et,variant:eC}),[eE,eS]=(0,a.useState)(""),[eZ,eF]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=()=>{var e;eF(1280>=((null===(e=document.body)||void 0===e?void 0:e.offsetWidth)||0))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,a.useEffect)(()=>{var e;let n;let l=(n=(null==ew?void 0:null===(e=ew.abTestConfig)||void 0===e?void 0:e.campaignSource)||"cov",(0,c.parse)(window.location.search)[n]);l&&eS(l)},[]);let ez=e=>{var n,l,t;let a=(null==ew?void 0:null===(n=ew.abTestConfig)||void 0===n?void 0:n.abTestGroup)||"b",o=(null==ew?void 0:null===(l=ew.abTestConfig)||void 0===l?void 0:l.handle)||[],i=(null==ew?void 0:null===(t=ew.abTestConfig)||void 0===t?void 0:t.module)||[];return a===eE&&o.includes(er)&&i.includes(e)},eR=(null==eo?void 0:eo.corporateEasyBuyDiscount)?(e=>{var n,l;let{data:t,locale:a,shopCommon:o,variant:i,product:d}=e;return(null==o?void 0:null===(l=o.corporateEasyBuyDiscount)||void 0===l?void 0:null===(n=l.sku_list)||void 0===n?void 0:n.find(e=>e.sku===i.sku))&&[{breakpoint:500},{breakpoint:300},{breakpoint:100},{breakpoint:10}].map(e=>{let n=(0,w.W)({sku:i.sku,quantity:e.breakpoint,metafields:o});return{breakpoint:e.breakpoint,discount:new u.Z(i.price).minus(n||i.price).toNumber()}})||[]})({product:et,variant:eC,shopCommon:eo}):null,{profile:eH}=(0,p.Un)();return ep.isFallback?(0,t.jsx)("h1",{children:"Loading..."}):(0,t.jsxs)(t.Fragment,{children:[!(null==ex?void 0:ex.preSale)&&(0,t.jsxs)(t.Fragment,{children:[eG?(0,t.jsx)(R,{gs:{navContent:"!bg-[#fff] min-md:border-b-[1px] border-[#BFBFBF]",name:"!text-[#333]",nav:"!text-[#9C9C9C]",navActive:"!text-[#000]",button:"!bg-[#00a7e1] !text-[#fff]",mask:"!bg-[#00a7e1]"},id:"MppPageNav",data:eG},"MppPageNav"):(0,t.jsx)(C,{productTitle:(null==eC?void 0:null===(o=eC.metafields)||void 0===o?void 0:null===(l=o.infos)||void 0===l?void 0:l.name)||et.name,metafields:eo,variant:eC}),(0,t.jsx)(N,{product:{...et,corporateDiscount:eR},metafields:eo,variant:eC,selectedOptions:e_,setSelectedOptions:ej,pageType:ei,isMobile:eZ,versionB:eP,setIsUpdateQuery:em})]}),(null==et?void 0:null===(i=et.tags)||void 0===i?void 0:i.includes(null==ey?void 0:ey.tag))&&(null==ey?void 0:ey.freeGifts)&&(0,t.jsx)(B,{data:null==ey?void 0:ey.freeGifts,className:"!pb-0"}),(null==eo?void 0:null===(r=eo.components)||void 0===r?void 0:r.iconFixed)&&(0,t.jsx)(G,{data:null==eo?void 0:null===(k=eo.components)||void 0===k?void 0:k.iconFixed,page:er,pageCommon:eh,pageType:ei,type:"product"}),(eD||(0,v.K_)(et))&&!(0,v.Nn)(et)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:"\n              .footer {\n                display: none;\n              }\n            "}),(null==eL?void 0:null===(_=eL.components)||void 0===_?void 0:_.perks)&&(0,t.jsx)(T,{data:{...(0,v.mz)(ew),...(null==eL?void 0:null===(X=eL.components)||void 0===X?void 0:X.perks)||{}}
1,id:"perks",listing:!0,theme:eB?"solix":""}),(null==eL?void 0:null===(J=eL.components)||void 0===J?void 0:J.steps)&&(0,t.jsx)(D,{data:null==eL?void 0:null===($=eL.components)||void 0===$?void 0:$.steps,id:"steps"}),(null==eL?void 0:null===(ee=eL.components)||void 0===ee?void 0:ee.navTop)&&(0,t.jsx)(M,{}),(null==eL?void 0:null===(en=eL.components)||void 0===en?void 0:en.giftCard)&&(0,t.jsx)(L,{data:{...(0,v.mz)(ew),...null==eL?void 0:null===(el=eL.components)||void 0===el?void 0:el.giftCard},discountData:eT,listing:!0,theme:eB?"solix":"",id:"giftCard"})]}),null==eg?void 0:eg.map(e=>{var n,l,a,o,i,d;let{key:r,data:u}=(0,v.IY)(eo,e,eC),c={...(0,v.mz)(ew),...eh||{},...u,_last:eg[eg.length-1]===r};switch(r){case"MppChargeFaster":if(ez(e))return null;return c&&(0,t.jsx)(E,{id:e,data:c},e);case"MppRotateCricle":if(ez(e))return null;return c&&(0,t.jsx)(S,{id:e,data:c,pageType:"listing",start:"top top+=30px",gs:{layer:"min-md:!bg-[#fff] md:py-[42px]",RotateCricleLayer:"".concat((null==c?void 0:null===(l=c.list)||void 0===l?void 0:null===(n=l.filter(e=>!e.hideShow))||void 0===n?void 0:n.length)<=3?"md:!h-[480px]":""),contentMaxWidth:"!max-w-[1440px]"},pageHandle:et.handle},e);case"MppYoutubers":if(ez(e))return null;return c&&(0,t.jsx)(z,{id:e,data:c},e);case"Firework":if(ez(e))return null;return c&&(0,t.jsx)("div",{id:e,className:s()("pt-[100px] md:pt-[90px]",{"pb-[100px] md:pb-[90px]":null==c?void 0:c.paddingBottom}),children:(0,t.jsx)(I,{data:c,s:{title:"text-[40px] leading-[1.2] l:text-[20px] font-bold text-[#000] text-center mb-[55px] md:mb-[30px]"}},e)});case"ProductKsp":if(ez(e))return null;return c&&(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(A,{id:e,data:c},e)},e);case"MppFirstModule":if(ez(e))return null;return c&&(0,t.jsx)(Z,{id:e,data:c},e);case"MppSecondModule":if(ez(e))return null;return c&&(0,t.jsx)(F,{id:e,data:c},e);case"MppCompare":if(ez(e))return null;return c&&(0,t.jsx)(H,{id:e,data:c},e);case"swiperProducts":if(ez(e))return null;return c&&(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(U,{relatedProducts:eb,data:c,dataKey:e,metafields:eo,shopCommon:ew,pageCommon:eh,pageHandle:es,isMobile:eZ})},e);case"compatible":case"devices":if(ez(e))return null;return c&&(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(q,{data:c,dataKey:e,metafields:eo,shopCommon:ew,pageCommon:eh,pageHandle:es,isMobile:eZ})},e);case"specs":if(ez(e)||!(null==eC?void 0:null===(a=eC.metafields)||void 0===a?void 0:a.specs))return null;return c&&(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(O,{lang:c,data:null==eC?void 0:null===(o=eC.metafields)||void 0===o?void 0:o.specs,shopCommon:ew,compareParams:null==ek?void 0:ek.compareParams})},e);case"faq":if(ez(e))return null;return c&&(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(W,{data:c,className:"layer flex flex-col items-center !gap-[32px] md:!gap-[24px]",s:{questionClass:"!font-[700]",container:"maxContent",title:"!mb-0 text-[40px] font-[700] md:text-[20px]",categories:"mb-0 flex justify-center gap-[32px] overflow-auto",categoriesWrap:"content border-b-[1px] border-b-[solid] border-b-[#cececf]",category:"text-[16px] font-[700] text-[#1d1d1f]",faqCategoryItem:"w-auto rounded-none border-0 py-[10
1px] leading-[24px] whitespace-nowrap ",activeCategory:"bg-[transport] border-b-[3px] border-b-[solid] border-b-[#17BBEf] "}})},e);case"productCompare":if(ez(e)||!(null==eC?void 0:null===(d=eC.metafields)||void 0===d?void 0:null===(i=d.infos)||void 0===i?void 0:i.compare_collection_handle)||!(null==ew?void 0:ew.compare))return null;return c&&(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(K,{shopCommon:ew,data:ek,sectionData:c,isMobile:eZ,product:et,variant:eC})},e);case"chargingCapability":if(ez(e))return null;return c&&(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(Q,{data:c,dataKey:e})},e);case"newProductDownloads":if(ez(e))return null;return(0,t.jsx)(V,{id:e,data:c,children:(0,t.jsx)(Y,{data:c})},e);default:if(ez(e))return null;return(0,t.jsx)(j,{dataKey:e,pagehandle:et.handle,metafields:eo,product:et,variant:eC,relatedProducts:ea,legalGuarantee:eu},e)}}),!(eg||[]).some(e=>(null==e?void 0:e.split("_")[0])==="reviews")&&(0,t.jsx)(f.Gy,{data:eu,variant:eC,className:"my-20 md:my-8"}),(0,t.jsx)(P,{type:ed,pageType:ei,product:et,categories:ec})]})};let V=e=>{var n,l,a,o,i;let{id:d,className:r,data:u,isSticky:c=!1,...p}=e;return(0,t.jsx)("section",{id:d,className:s()((null==u?void 0:null===(n=u.styles)||void 0===n?void 0:n.paddingTop)&&_().paddingTop,(null==u?void 0:null===(l=u.styles)||void 0===l?void 0:l.paddingBottom)&&_().paddingBottom,(null==u?void 0:null===(a=u.styles)||void 0===a?void 0:a.paddingTopMob)&&_().paddingTopMob,(null==u?void 0:null===(o=u.styles)||void 0===o?void 0:o.paddingBottomMob)&&_().paddingBottomMob,"PageSection relative leading-[1.2] "+r,c?"overflow-unset":"overflow-hidden",_().PageSection),style:{background:(null==u?void 0:null===(i=u.styles)||void 0===i?void 0:i.backgroundColor)||"transparent"},...p})}},29271:function(e,n,l){"use strict";l.d(n,{Gy:function(){return s},gX:function(){return r}});var t=l(52676),a=l(75271),o=l(82187),i=l.n(o),d=l(30967);let r="annex1";function s(e){var n;let{variant:l,data:o,className:r,ariaLabel:s="Legal guarantee",zoomable:u=!0}=e,c=(null==o?void 0:o[null==l?void 0:l.sku])||[],[p,v]=(0,a.useState)(null),m=(0,a.useCallback)(()=>v(null),[]);return((0,a.useEffect)(()=>{if(!p)return;let e=e=>{"Escape"===e.key&&v(null)};document.addEventListener("keydown",e);let n=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=n}},[p]),c.length)?(0,t.jsxs)("section",{className:i()("w-full",r),"aria-label":s,"aria-roledescription":"carousel",children:[(0,t.jsx)("ul",{className:i()("m-0 flex list-none items-stretch gap-3 overflow-x-auto overflow-y-hidden pr-6","pl-6 [scroll-padding-left:1.5rem]","min-md:gap-4 min-md:pl-10 min-md:pr-8 min-md:[scroll-padding-left:2.5rem]","min-l:pl-[max(80px,calc((100%_-_1280px)/2))]","min-l:[scroll-padding-left:max(80px,calc((100%_-_1280px)/2))]","[scroll-snap-type:x_mandatory] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden","[-webkit-overflow-scrolling:touch] [overscroll-behavior-x:contain]"),children:c.map((e,n)=>{var l,a,o,d;return(0,t.jsx)("li",{className:i()("flex w-[200px] flex-[0_0_auto] items-center bg-[#f9f9f9] px-2 [scroll-snap-align:start]","min-md:w-[260px] min-md:px-4","min-l:w-[300px]","min-x:w-[340px]"),children:u?(0,t.jsx)("button",{type:"button",onClick:()=>v(e),className:"block w-full cursor-zoom-in border-0 bg-transparent p-0","aria-label":"".concat(s," ").concat(n+1," — 放大查看"),children:(0,t.jsx)("img",{className:"block h-auto w-full object-contain",src:e.imageUrl,alt:null!==(l=e.alt)&&void 0!==l?l:"".concat(s," ").concat(n+1),loading:"lazy",decoding:"async"})}):(0,t.jsx)("img",{className:"block h-auto w-full object-contain",src:e.imageUrl,alt:null!==(a=e.alt)&&void 0!==a?a:"".concat(s," ").concat(n+1),loading:"lazy",decoding:"async"})},"".concat(null!==(o=e.type)&&void 0!==o?o:"image","-").concat(null!==(d=e.sku)&&void 0!==d?d:"","-").concat(n))})}),u&&p&&(0,d.createPortal)((0,t.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"".concat(s," 放大预览"),className:"fixed inset-0 z-[9999] flex items-center justify-center overscroll-contain bg-black/80 p-4",children:[(0,t.jsx)("button",{type:"button",onClick:m,"aria-label":"点击遮罩关闭预览",className:"absolute inset-0 size-full cursor-zoom-out border-0 bg-transparent p-0"}),(0,t.jsx)("img",{src:p.imageUrl,alt:null!==(n=p.alt)&&void 0!==n?n:s,className:"pointer-events-none relative max-h-full max-w-full object-contain"}),(0,t.jsx)("button",{type:"button",onClick:m,"aria-label":"关闭预览",className:"absolute right-4 top-4 flex size-10 cursor-pointer items-center justify-center rounded-full border-0 bg-white/90 text-[#363636]",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"size-5","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18"})})})]}),document.body)]}):null}n.ZP=s},33621:function(e,n,l){"use strict";var t=l(63440),a=l(98662),o=l(96496);n.Z=e=>{var n,l,i,d,r,s,u,c;let{product:p,variant:v,metafields:m}=e,{combineVariant:b}=(0,o.l8)(),f=b?null==b?void 0:null===(n=b[0])||void 0===n?void 0:n.product:p,g=b?null==b?void 0:null===(l=b[0])||void 0===l?void 0:l.variant:v,{ankerDayDiscount:x={},ankerDayPPSDiscount:h={},ankerDayCopy:w={},ankerDayPPSCopy:y={}}=m,k=["hes","PowerHouse","powerStation"].includes(b?"hes":null==p?void 0:null===(d=p.metafields)||void 0===d?void 0:null===(i=d.pageType)||void 0===i?void 0:i.pageType),_=k?h:x,j=(0,a.m9)({product:f,variant:g,memberDiscountData:_}),C=(null==_?void 0:null===(u=_.products)||void 0===u?void 0:null===(s=u.find(e=>{let[n]=e;return(null==n?void 0:n.handle)===(null==f?void 0:f.handle)&&(null==n?void 0:n.sku)===(null==g?void 0:g.sku)}))||void 0===s?void 0:null===(r=s[0])||void 0===r?void 0:r.value)||0;return C&&((null==_?void 0:_.discountType)==="percentage"?C=new t.Z(C||0).times(100).toFixed(2,t.Z.ROUND_UP):(null==_?void 0:_.discountType)==="fix_amount"&&(C=null===(c=new t.Z((null==v?void 0:v.price)||0).minus(C||0))||void 0===c?void 0:c.toNumber())),{hasMemberDiscount:(0,a.b2)({product:f,variant:g,memberDiscountData:_}),memberDiscountData:_,memberDiscount:j,isSolix:k,listingData:k?null==y?void 0:y.listing:null==w?void 0:w.listing,discountValue:C}}},9652:function(e){e.exports={container:"Default_container__PuXTn",relatedProduct:"Default_relatedProduct__1ndlZ",brandInfo:"Default_brandInfo__onntn",productManual:"Default_productManual__UfM16",paddingTop:"Default_paddingTop__CMuuF",paddingBottom:"Default_paddingBottom__Yr024",paddingTopMob:"Default_paddingTopMob__5HQ_z",paddingBottomMob:"Default_paddingBottomMob__F_kWd"}}}]);

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.