PageSourceSearch

https://websiteoss.ecoflow.com/_next/static/chunks/14967-da95ba67e5559772.js

js ecoflow.com collected 2026-09-24 08:31:18 UTC 15,591 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14967],{314967:function(e,n,a){"use strict";a.d(n,{Z:function(){return V}});var s=a(759499),t=a(217674),i=a(23279),r=a.n(i),c=a(505152),l=a.n(c),o=a(750029),d=a(364687),u=a.n(d),h=a(765848),m=a(435259),v=a(571374),p=a(613564),f=a(55451),b=a(773762),x=a(281735),j=a(234889),w=a(223441),N=a(998181),g=a(760050),y=a(127558),k=a(26326),T=a(546572),_=a(931623),P=a(434057),O=a(434787),C=a(41675),I=a(483154),Z=a(788323),S=a(879291),D=a(821571),E=a(672873),L=a(609311),B=a.n(L),H=a(785893),q=l()(function(){return a.e(28909).then(a.bind(a,628909))},{ssr:!0,loadableGenerated:{webpack:function(){return[628909]}}}),F={za:{productId:7322399834321,variantId:41834564452561}},A={za:"https://za.ecoflow.com/products/glacier-portable-refrigerator"};function M(e){var n,a=e.activityId,s=e.bannerData,i=e.activeTab,r=e.callBack,c=e.isPreOrder,l=e.showCalculator,d=e.hideBundles,L=void 0!==d&&d,M=(0,Z.O)(),W=M.useLang,G=M.useEffect,K=M.useState,R=M.useRouter,U=M.gtm,z=M.Link,X=W("shared").t,Y=R(),Q=Y.locale,J=Y.pathname,V=s.swiperImgs,$=s.subTitle,ee=s.title,en=s.desc,ea=s.tip,es=s.days,et=s.webpUrl,ei=s.showTC,er=s.showShareLinks,ec=s.productKey,el=void 0===ec?"":ec,eo=s.showCountdown,ed=s.countdownTime,eu=s.buyNowLink,eh=s.buyNowText,em=(0,I.Y)(et).EFPic,ev=K(!1),ep=(0,t.Z)(ev,2),ef=ep[0],eb=ep[1],ex=_.u[Q]||_.u.us,ej=ex.FACEBOOK_COMMUNITY,ew=ex.FACEBOOK,eN=ex.INSTAGRAM,eg=ex.YOUTUBE,ey=ex.TWITTER,ek=ex.REDDIT,eT=ex.TIKTOK,e_=ex.LINE,eP=K(0),eO=(0,t.Z)(eP,2),eC=eO[0],eI=eO[1],eZ=K({}),eS=(0,t.Z)(eZ,2),eD=eS[0],eE=eS[1];G(function(){a&&(0,o.Z)(u().mark(function e(){var n,s,t;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,P.IO)({activityId:a});case 3:return(null==(n=e.sent)?void 0:n.code)==="0"&&eI(Math.max(null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.totalFlow,eC)),e.next=7,(0,P.qv)({activityId:a});case 7:null==(t=e.sent)||t.code,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}},e,null,[[0,11]])}))()},[a]);var eL=(n=(0,o.Z)(u().mark(function e(n,a){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise(function(){var e=(0,o.Z)(u().mark(function e(s,t){var i,r,c,l;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,O.X)({productId:n,variantId:a},Q);case 3:if((null==(i=e.sent)?void 0:i.code)!=="0"){e.next=11;break}return eE({discountPrice:(0,S.Z)((null==i?void 0:null===(r=i.data)||void 0===r?void 0:r.price)||16999,Q),originalPrice:(0,S.Z)((null==i?void 0:null===(c=i.data)||void 0===c?void 0:c.compareAtPrice)||(null==i?void 0:null===(l=i.data)||void 0===l?void 0:l.price)||18999,Q)}),e.abrupt("return",s(i));case 11:return e.abrupt("return",t(null==i?void 0:i.message));case 12:e.next=17;break;case 14:return e.prev=14,e.t0=e.catch(0),e.abrupt("return",t(e.t0));case 17:case"end":return e.stop()}},e,null,[[0,14]])}));return function(n,a){return e.apply(this,arguments)}}());case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),function(e,a){return n.apply(this,arguments)});G(function(){var e=F[Q];L&&e&&eL(e.productId,e.variantId)},[]);var eB=function(e){return{event:"uaEvent",event_name:"share",method:e,item_id:ee}};return(0,H.jsxs)("div",{className:"top-banner ".concat(B().topBanner),children:[(0,H.jsxs)("div",{className:"title-box",children:[$&&(0,H.jsx)("p",{className:"sub-title",children:$}),ee&&(0,H.jsx)("p",{className:"title",children:ee}),en&&(0,H.jsx)("div",{className:"desc",children:en}),ea&&(0,H.jsx)("p",{className:"tip",children:ea})]}),(0,H.jsx)("div",{className:"left-swiper",children:(0,H.jsx)(E.t,{modules:[D.Navigation,D.Pagination],pagination:{clickable:!0},navigation:!0,initialSlide:0,loop:!0,lazy:!0,autoplay:!1,id:"air-swiper",speed:800,children:null==V?void 0:V.map(function(e,n){return(0,H.jsx)(E.o,{children:(0,H.jsx)("div",{className:"swiper-img",children:null!=Array&&Array.isArray(e)?e[0].endsWith(".webm")&&e[1].endsWith(".mp4")?(0,H.jsx)(h.Z,{className:"fullImgs",sources:e,width:"100%",height:"100%",autoPlay:!0,muted:!0,playsInl
1ine:!0,preload:"auto","aria-label":ee}):(0,H.jsx)(em,{name:e,className:"fullImgs",alt:ee,"aria-label":ee}):e.endsWith(".mp4")?(0,H.jsx)("video",{className:"fullImgs",src:(0,C.WH)(e),width:"100%",height:"100%",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":ee}):(0,H.jsx)(m.Z,{src:e,className:"fullImgs",layout:"fill",noUseSrcset:!0,alt:ee,"aria-label":ee})})},n)})})}),(0,H.jsxs)("div",{className:"right-info",children:[(0,H.jsxs)("div",{className:"active-box",children:[(0,H.jsxs)("div",{className:"interested active-item",children:[!L&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)("div",{className:"icon",children:(0,H.jsx)(y.default,{})}),(0,H.jsxs)("div",{className:"number-box",children:[(0,H.jsx)("p",{className:"number",children:(0,T.o)(eC+(["us","ca"].includes(Q)&&"/wave-2-portable-air-conditioner"===J?2969750:0))}),(0,H.jsxs)("div",{className:"number-desc",children:[(0,H.jsx)("span",{className:"desc-text",children:X("crowdfunding.header.interested")}),ei&&(0,H.jsx)("span",{className:"question",onClick:function(){el&&eb(!0),U.push({event:"uaEvent",event_name:"activity_hints",button_name:"Question mark"})},children:(0,H.jsx)(v.Ql,{})})]})]})]}),L&&(0,H.jsxs)("div",{className:"price",children:[(0,H.jsx)("span",{className:"discountPrice",children:eD.discountPrice}),(0,H.jsx)("span",{className:"originalPrice",children:eD.originalPrice})]})]}),["jp"].includes(Q)&&(0,H.jsxs)("div",{className:"days active-item",children:[(0,H.jsx)("div",{className:"icon",children:(0,H.jsx)(g.default,{})}),(0,H.jsxs)("div",{className:"number-box",children:[void 0!==eo&&eo?(0,H.jsxs)("div",{className:"countdown-box",children:[(null==ed?void 0:ed.d)&&(0,H.jsxs)("p",{className:"number",children:[null==ed?void 0:ed.d,(0,H.jsx)("span",{className:"days-small",children:(null==ed?void 0:ed.d)===1?X("crowdfunding.bundles.Days"):X("crowdfunding.bundles.Day")})]}),(null==ed?void 0:ed.h)&&(0,H.jsxs)("p",{className:"number",children:[null==ed?void 0:ed.h,(0,H.jsx)("span",{className:"days-small",children:(null==ed?void 0:ed.h)===1?X("crowdfunding.bundles.Hours"):X("crowdfunding.bundles.Hour")})]}),(null==ed?void 0:ed.m)&&(0,H.jsxs)("p",{className:"number",children:[null==ed?void 0:ed.m,(0,H.jsx)("span",{className:"days-small",children:(null==ed?void 0:ed.m)===1?X("crowdfunding.bundles.Minutes"):X("crowdfunding.bundles.Minute")})]}),(null==ed?void 0:ed.s)&&(0,H.jsxs)("p",{className:"number",children:[null==ed?void 0:ed.s,(0,H.jsx)("span",{className:"days-small",children:(null==ed?void 0:ed.s)===1?X("crowdfunding.bundles.Seconds"):X("crowdfunding.bundles.Second")})]})]}):(0,H.jsxs)("p",{className:"number",children:[es,(0,H.jsx)("span",{className:"days-small",children:1===es?X("crowdfunding.header.day"):X("crowdfunding.header.days")})]}),(0,H.jsx)("p",{className:"number-desc",children:X("crowdfunding.header.ends_in")})]})]})]}),(0,H.jsx)("div",{className:"btn-box",children:(0,H.jsx)("button",{className:"btn-order btn",onClick:function(e){if(L){var n,a,s=eu||A[Q];s&&window.open(s);return}"bundles"!==i&&r("bundles");var t=document.querySelector(".crowdfunding-tabs-nav"),c=(null==t?void 0:t.offsetTop)+(null==t?void 0:t.offsetHeight)||0;window.scrollTo({top:c,behavior:"smooth"});try{U.push({event:"uaEvent",event_name:"click_anchor",position:X("crowdfunding.tabs.bundles"),button_name:e?X("crowdfunding.header.pre_order"):X("crowdfunding.header.order_now")}),(null===(n=window)||void 0===n?void 0:n.fbq)&&(null===(a=window)||void 0===a||a.fbq("track","Donate"))}catch(e){}},children:eh||(c?X("crowdfunding.header.pre_order"):X("crowdfunding.header.order_now"))})}),(null==l?void 0:l.link)&&(0,H.jsxs)(z,{className:"calculator",href:null==l?void 0:l.link,children:[(0,H.jsx)("div",{className:"calculator-text",children:null==l?void 0:l.btn}),(0,H.jsx)("div",{className:"arrow",children:(0,H.jsx)(k.default,{})})]}),c&&(0,H.jsx)("p",{className:"preorder-note",children:X("crowdfunding.header.preorder_note")}),(void 0===er||er)&&(0,H.jsxs)("div",{className:"share-links",children:[ej&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:ej,dataLayer:eB("Facebook Community"),children:(0,H.jsx)(p.Z,{})})}),ew&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:ew,dataLayer:eB("Facebook"),children:(0,H.jsx)(p.Z,{})})}),eN&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:eN,dataLayer:eB("Instagram"),children:(0,H.jsx)(f.Z,{})})}),eg&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:eg,dataLayer:eB("Youtube"),children:(0,H.jsx)(N.Z,{})})}),ey&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:ey,dataLayer:eB("Twitter"),children:(0,H.jsx)(w.Z,{})})}),ek&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:ek,dataLayer:eB("Reddit"),children:(0,H.jsx)(x.Z,{})})}),eT&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:eT,dataLayer:eB("Tiktok"),
1children:(0,H.jsx)(j.Z,{})})}),e_&&(0,H.jsx)("div",{className:"share-link",children:(0,H.jsx)(z,{className:"link-media",href:e_,dataLayer:eB("Line"),children:(0,H.jsx)(b.Z,{})})})]})]}),ef&&ei&&(0,H.jsx)(q,{productKey:el,callBack:eb})]})}M.displayName="TopBanner";var W=a(114776),G=a.n(W),K=a(435532),R=a(590529);function U(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,s)}return a}function z(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?U(Object(a),!0).forEach(function(n){(0,s.Z)(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):U(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}var X=l()(function(){return a.e(70939).then(a.bind(a,770939))},{ssr:!0,loadableGenerated:{webpack:function(){return[770939]}}}),Y=l()(function(){return Promise.all([a.e(32287),a.e(39083)]).then(a.bind(a,114252))},{ssr:!0,loadableGenerated:{webpack:function(){return[114252]}}}),Q=l()(function(){return Promise.all([a.e(11216),a.e(13773),a.e(36676)]).then(a.bind(a,143416))},{ssr:!0,loadableGenerated:{webpack:function(){return[143416]}}}),J=l()(function(){return a.e(84515).then(a.bind(a,584515))},{ssr:!0,loadableGenerated:{webpack:function(){return[584515]}}});function V(e){var n=e.productDetail,a=e.resProductCatagory,s=e.supportData,i=e.nowSysTime,c=e.bundlesData,l=e.bannerData,o=e.crowdfundingTimeline,d=e.shopifyBtnProps,u=e.activityId,h=e.isPreOrder,m=e.Com,v=e.showCalculator,p=e.theme,f=void 0===p?"white":p,b=e.tabChange,x=e.needEmail,j=e.getShopifyPr
1ice,w=e.hideBundles,N=void 0!==w&&w,g=(0,Z.O)(),y=g.useState,k=g.useEffect,T=g.useRouter,_=g.useLang,P=g.gtm,O=_("shared").t,C=T(),I=(C.locale,C.query),S=y((null==I?void 0:I.tab)||"product"),D=(0,t.Z)(S,2),E=D[0],L=D[1],B=y(""),q=(0,t.Z)(B,2),F=q[0],A=q[1],W=y(0),U=(0,t.Z)(W,2),V=U[0],$=U[1],ee=y(null),en=(0,t.Z)(ee,2),ea=en[0],es=en[1],et=y(0),ei=(0,t.Z)(et,2),er=ei[0],ec=ei[1],el=0,eo=0,ed=function(e){L(e);var n=document.querySelector(".gap"),a=document.querySelector(".crowdfunding-tabs-nav"),s=(null==n?void 0:n.offsetTop)+(null==n?void 0:n.offsetHeight)+(null==a?void 0:a.offsetHeight)||834,t="product"===e?s+4:s;window.scrollTo({top:t,behavior:"smooth"}),b&&b(e),P.push({event:"uaEvent",event_name:"tab_click",list_name:"none",button_name:O("crowdfunding.tabs.".concat(e))})};return k(function(){var e=r()(function(){var e=document.querySelector(".gap"),n=(null==e?void 0:e.offsetTop)+(null==e?void 0:e.offsetHeight)||784,a=document.querySelector(".crowdfunding-tabs-nav");null==a||a.classList.toggle("frost",(null==a?void 0:a.offsetTop)>n)},100);return document.addEventListener("scroll",e),function(){document.removeEventListener("scroll",e)}},[]),k(function(){setTimeout(function(){var e=document.querySelector(".announcement-bar");e&&ec(Number("sticky"===window.getComputedStyle(e).position?null==e?void 0:e.offsetHeight:0)||0)},3e3)},[]),(0,H.jsxs)("div",{className:"crowdFundingH5 ".concat(G().crowdfunding," ").concat(null!=l&&l.note?"hasNote":""),children:[(null==l?void 0:l.note)&&(0,H.jsxs)("div",{className:"top-note",children:[(0,H.jsx)("div",{className:"top-icon",children:(0,H.jsx)(K.Z,{width:".2rem",height:".2rem"})}),(0,H.jsx)("div",{className:"top-text",children:null==l?void 0:l.note}),(0,H.jsx)("div",{className:"top-icon",children:(0,H.jsx)(K.Z,{width:".2rem",height:".2rem"})})]}),(null==l?void 0:l.promotion)&&(0,H.jsx)("p",{className:"top-promotion",children:null==l?void 0:l.promotion}),(0,H.jsx)(M,{bannerData:z(z({},l),{},{subTitle:F,days:V,countdownTime:ea}),activeTab:E,callBack:L,activityId:u,isPreOrder:h,showCalculator:v,hideBundles:N}),(0,H.jsx)("div",{className:"gap"}),(0,H.jsx)("div",{className:"crowdfunding-tabs-nav nav-".concat(E," ").concat(f),style:{top:"".concat(er,"px")},children:(0,H.jsx)("div",{className:"nav-wrapper",children:(0,H.jsxs)("ul",{className:"right-tabs",onTouchStart:function(e){var n,a;el=parseFloat(null===(n=e.currentTarget)||void 0===n?void 0:n.style.left)||0,eo=null===(a=e.targetTouches[0])||void 0===a?void 0:a.clientX},onTouchMove:function(e){var n,a=null===(n=e.targetTouches[0])||void 0===n?void 0:n.clientX,s=el+a-eo;s<=0&&s>=window.innerWidth-e.currentTarget.offsetWidth&&(e.currentTarget.style.left="".concat(s,"px"))},children:[(0,H.jsx)("li",{className:"tab-item tab-product ".concat("product"===E?"active":""),onClick:function(){return ed("product")},children:O("crowdfunding.tabs.product")}),!N&&(0,H.jsx)("li",{className:"tab-item tab-bundles ".concat("bundles"===E?"active":""),onClick:function(){return ed("bundles")},children:O("crowdfunding.tabs.bundles")}),(0,H.jsx)("li",{className:"tab-item tab-specs ".concat("specs"===E?"active":""),onClick:function(){return ed("specs")},children:O("crowdfunding.tabs.specs")}),(0,H.jsx)("li",{className:"tab-item tab-support ".concat("support"===E?"active":""),onClick:function(){return ed("support")},children:O("crowdfunding.tabs.support")}),(null==n?void 0:n.buyLink)&&(0,H.jsx)(R.Z,{className:"tab-item tab-buy",href:(null==n?void 0:n.buyLink)||"",children:O("crowdfunding.header.order_now")})]})})}),(0,H.jsxs)("div",{className:"crowdfunding-tabs-content",children:[(0,H.jsx)("div",{className:"content-item content-product ".concat("product"===E?"show":"hide"),children:(0,H.jsx)(J,{Com:m,needEmail:void 0!==x&&x})}),!N&&(0,H.jsx)("div",{className:"content-item content-bundles ".concat("bundles"===E?"show":"hide"),children:(0,H.jsx)(Q,{bundlesData:c,shopifyBtnProps:d,crowdfundingTimeline:o,nowSysTime:i,activeTab:E,activityId:u,callbackSubtitle:A,callbackDays:$,days:null==l?void 0:l.days,callbackCountdown:es,topCountdown:null==l?void 0:l.showCountdown,getShopifyPr
1ice:void 0!==j&&j})}),(0,H.jsx)("div",{className:"content-item content-specs ".concat("specs"===E?"show":"hide"),children:(0,H.jsx)(X,{productDetail:n,resProductCatagory:a})}),(0,H.jsx)("div",{className:"content-item content-support ".concat("support"===E?"show":"hide"),children:(0,H.jsx)(Y,{supportData:s})})]})]})}V.displayName="CrowdFundingH5"},609311:function(e){e.exports={topBanner:"TopBanner_topBanner__I0DsT",tooltips:"TopBanner_tooltips__6wjeX"}},114776:function(e){e.exports={crowdfunding:"CrowdFunding_crowdfunding__HH2iD"}}}]);

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.