PageSourceSearch

https://static.antigravity.tech/assets/www/_next/static/chunks/pag…/online-stores-bf157257365c6c02.js

js antigravity.tech collected 2026-10-03 21:56:36 UTC 16,363 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3919],{3245:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(81041);let s={trackingFilterClick:function(e,t){o.i2.eventPush({event:"accessories_filter_click",eventParameters:{module_name:e,status:t}})},trackingFilterOptionClick:function(e,t,n){o.i2.eventPush({event:"accessories_filter_option_click",eventParameters:{module_name:e,status:t,source_type:n}})},trackingFilterResetClick:function(){o.i2.eventPush({event:"accessories_filter_reset_click",eventParameters:{}})},trackingSortClick:function(){o.i2.eventPush({event:"accessories_sort_click",eventParameters:{}})},trackingSortOptionClick:function(e){o.i2.eventPush({event:"accessories_sort_option_click",eventParameters:{module_name:e}})},trackingFilterExpose:function(){o.i2.eventPush({event:"accessories_filter_expose",eventParameters:{}})},trackingFilterCloseClick:function(e){o.i2.eventPush({event:"accessories_filter_close_click",eventParameters:{source_type:e}})},trackingFilterDoneClick:function(){o.i2.eventPush({event:"accessories_filter_done_click",eventParameters:{}})},trackingPageNumberClick:function(e){o.i2.eventPush({event:"accessories_page_number_click",eventParameters:{position:e}})},trackingPageArrowClick:function(e,t){o.i2.eventPush({event:"accessories_page_arrow_click",eventParameters:{status:e,position:t}})}}},23219:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>x,default:()=>N});var o=n(44478),s=n(14232),i=n(18847),r=n.n(i),a=n(39316),l=n(42908),c=n(57481),u=n(75986),_=n(39332),d=n(15891
1),h=n(58117),p=n(93948),f=n(43593),m=n(33743),v=n.n(m),g=n(37876),b=r()(function(){return Promise.all([n.e(7077),n.e(8720),n.e(8992),n.e(9723),n.e(9373)]).then(n.bind(n,69373)).then(function(e){return{default:e.LocationSelector}})},{ssr:!1,loadableGenerated:{webpack:function(){return[69373]}}}),S=function(e){if(!e)return"";var t=e.split(/[_-]/);return t.length<2?e.toLowerCase():"".concat(t[0].toLowerCase(),"_").concat(t[1].toUpperCase())},y=function(e,t){if(!e)return"";try{var n,o=JSON.parse(e),s=S(t),i=o.find(function(e){return S(e.language)===s});return(null==i?void 0:i.title)||(null==(n=o[0])?void 0:n.title)||""}catch(e){return""}},x=!0;let N=function(e){var t=e.pageList,n=e.onlineStores,i=(0,d.P)(),r=i.metaStore.isMobile,m=i.areaStore,S=m.LANG,x=m.regionInfo,N=(0,s.useState)(void 0),w=N[0],C=N[1],j=(0,s.useRef)(!0),P=(0,h.O4)({buyType:"online",enabled:(null==x?void 0:x.region)!=="cn"}).data,k=(0,s.useMemo)(function(){if(w&&null!=P&&P.locations){var e=P.locations.find(function(e){return("string"==typeof e.id?e.id:String(e.id))===w});return null==e?void 0:e.name}},[w,null==P?void 0:P.locations]),T=(0,h.bm)(w&&k?{country:k}:void 0).data,A=(0,h.nV)(w?{locationId:w}:void 0).data,L=(0,s.useMemo)(function(){return(console.log("initialPageList",t),void 0!==w)?(null==T?void 0:T.outletPage)||[]:(null==T?void 0:T.outletPage)||t||[]},[null==T?void 0:T.outletPage,t,w]),F=(0,s.useMemo)(function(){return(console.log("initialPageList",n),void 0!==w)?(null==A?void 0:A.stores)||[]:(null==A?void 0:A.stores)||n||[]},[null==A?void 0:A.stores,n,w]),I=(0,s.useState)(1),O=I[0],M=I[1],B=(0,s.useState)(9),R=B[0],U=B[1];(0,s.useEffect)(function(){M(1),U(9)},[w,9]);var W=(0,s.useMemo)(function(){return F.length>0?Math.ceil(F.length/9):0},[F.length]),E=(0,s.useMemo)(function(){var e=(O-1)*9;return F.slice(e,e+9)},[F,O,9]),G=(0,s.useMemo)(function(){return F.slice(0,R)},[F,R]),H=R<F.length,q=(0,s.useState)(new Set),D=q[0],K=q[1],V=(0,s.useState)(new Set),z=V[0],X=V[1],Z=(0,s.useRef)(""),J=(0,s.useRef)("");(0,s.useEffect)(function(){var e="".concat(null!=w?w:"","-").concat(L.length);e!==Z.current&&(Z.current=e,K(new Set))},[w,L.length]),(0,s.useEffect)(function(){var e="".concat(null!=w?w:"","-").concat(F.length,"-").concat(O);e!==J.current&&(J.current=e,X(new Set))},[w,F.length,O]);var Q=r?2:3,Y=r?1:3,$=function(e){if(j.current){j.current=!1;return}C(e)};return(0,g.jsx)("div",{className:v().page,children:(0,g.jsxs)("div",{className:v().wrap,children:[(0,g.jsx)(f.x,{activeKey:"online",children:r&&(0,g.jsx)(b,{buyType:"online",value:w,onChange:$})}),(0,g.jsxs)("div",{className:v().listWrapper,children:[!r&&(0,g.jsx)(b,{className:v().locationSelector,buyType:"online",value:w,onChange:$}),Array.isArray(L)&&L.length>0&&(0,g.jsxs)("section",{className:v().officialStoresSection,children:[(0,g.jsx)("h2",{className:v().sectionTitle,children:S["where_to_buy.official_stores_title"]}),(0,g.jsx)("div",{className:v().storeGrid,children:L.map(function(e,t){var n,s,i=y(null==(n=e.websiteOutletStore)?void 0:n.languageTitle,(null==x?void 0:x.locale)||"en_US"),a=(null==(s=e.websiteOutletStore)?void 0:s.iconUrl)||null,c=r?e.mobileUrl||e.pcUrl:e.pcUrl||e.mobileUrl||"#";return(0,g.jsx)(_.q,{itemId:"official-".concat(e.id),index:t,columnsPerRow:Q,visibleItems:D,className:v().cardWrapper,activeClassName:v().visible,onItemVisible:function(e){return K(function(t){return new Set([].concat((0,o.A)(t),[e]))})},children:(0,g.jsxs)("a",{href:c,target:c.startsWith("http")?"_blank":"_self",rel:(0,p.yT)(c),className:v().storeCard,children:[(0,g.jsx)(l._,{src:a||"",alt:i||"",width:r?80:120,height:r?80:120,className:v().storeLogo,objectFit:"contain"}),(0,g.jsx)("h3",{className:v().storeName,children:i||"Store"})]})},e.id)})})]}),F.length>0&&(null==x?void 0:x.region)!=="cn"&&(0,g.jsxs)("section",{className:v().agentStoresSection,children:[(0,g.jsx)("h2",{className:v().sectionTitle,children:S["where_to_buy.agent_stores_title"]}),(0,g.jsx)("div",{className:v().agentStoresGrid,children:(r?G:E).map(function(e,t){var n=e.link||"#";return(0,g.jsx)(_.q,{itemId:"agent-".concat(e.id),index:t,columnsPerRow:Y,visibleItems:z,className:v().cardWrapper,activeClassName:v().visible,onItemVisible:function(e){return X(function(t){return new Set([].concat((0,o.A)(t),[e]))})},children:(0,g.jsxs)("a",{href:n,target:n.startsWith("http")?"_blank":"_self",rel:(0,p.yT)(n),className:v().agentStoreCard,children:[(0,g.jsx)("h3",{className:v().storeName,children:e.name||"Store"}),n&&"#"!==n&&(0,g.jsx)("p",{className:v().storeUrl,children:n})]})},e.id)})}),r?H&&(0,g.jsxs)("button",{type:"button",className:v().showMoreBtn,onClick:function(){U(function(e){return Math.min(e+9,F.length)})},children:[(0,g.jsx)("span",{children:S["common.btn.show_more"]}
1),(0,g.jsx)(a.H,{direction:"down",size:24,fill:"currentColor",fillOpacity:"1"})]}):W>1&&(0,g.jsx)(c.A,{current:O,total:W,className:v().pagination,onChange:M})]}),(null==x?void 0:x.region)==="cn"&&(0,g.jsxs)("section",{className:v().contactSection,children:[(0,g.jsx)("h2",{className:v().sectionTitle,children:S["where_to_buy.contact_title"]}),(0,g.jsx)("div",{className:v().contactBanner,children:(0,g.jsxs)("div",{className:v().contactContent,children:[(0,g.jsx)("h3",{className:v().contactTitle,children:S["where_to_buy.contact_subtitle"]}),(0,g.jsx)(u.A,{className:v().contactDesc,html:S["where_to_buy.contact_desc"]||"",tag:"p"})]})})]})]})]})})}},23907:e=>{e.exports={wrapper:"ScrollRevealWrapper_wrapper__pz8Ev",visible:"ScrollRevealWrapper_visible__o5cjC"}},27082:e=>{e.exports={container:"FocusSymbol_container__J2FHz",focus_symbol:"FocusSymbol_focus_symbol__eop1L",focus_symbol_top_left:"FocusSymbol_focus_symbol_top_left__pU95d",focus_symbol_top_right:"FocusSymbol_focus_symbol_top_right___iQ1s",focus_symbol_bottom_left:"FocusSymbol_focus_symbol_bottom_left__3XS2C",focus_symbol_bottom_right:"FocusSymbol_focus_symbol_bottom_right__F492j",focus_line_top:"FocusSymbol_focus_line_top__vkxiP",focus_line_right:"FocusSymbol_focus_line_right__ble1s",focus_line_bottom:"FocusSymbol_focus_line_bottom__EeK8I",focus_line_left:"FocusSymbol_focus_line_left__3kRAq"}},33743:e=>{e.exports={page:"online-stores_page__TvNxq",wrap:"online-stores_wrap__o0MxA",cardWrapper:"online-stores_cardWrapper__FTXQo",visible:"online-stores_visible__LT98x",sectionTitle:"online-stores_sectionTitle__18ucH",listWrapper:"online-stores_listWrapper__4nEDc",locationSelector:"online-stores_locationSelector__XXh25",storeGridBase:"online-stores_storeGridBase__tBd6A",agentStoresGrid:"online-stores_agentStoresGrid__2DuFa",storeGrid:"online-stores_storeGrid__I6I3H",storeCardBase:"online-stores_storeCardBase__8BSVL",agentStoreCard:"online-stores_agentStoreCard__ISn0m",storeCard:"online-stores_storeCard__W9enb",storeNameBase:"online-stores_storeNameBase__no_z0",storeName:"online-stores_storeName__0rTIA",officialStoresSection:"online-stores_officialStoresSection__BMMof",storeLogo:"online-stores_storeLogo__uOd_4",storeLogoPlaceholder:"online-stores_storeLogoPlaceholder__7Etyx",emptyState:"online-stores_emptyState__aZiHP",agentStoresSection:"online-stores_agentStoresSection__dZsSF",storeUrl:"online-stores_storeUrl__uxhbP",pagination:"online-stores_pagination__tJpRe",showMoreBtn:"online-stores_showMoreBtn__2hMff",contactSection:"online-stores_contactSection__LKiFZ",contactBanner:"online-stores_contactBanner__7VlI3",contactContent:"online-stores_contactContent__QVAUL",contactTitle:"online-stores_contactTitle__W4c3M",contactDesc:"online-stores_contactDesc__YjLUj"}},39332:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var o=n(14232),s=n(59765),i=n(87052),r=n(23907),a=n.n(r),l=n(37876),c=function(e){var t=e.itemId,n=e.index,r=e.columnsPerRow,c=void 0===r?1:r,u=e.delayMode,_=void 0===u?"row":u,d=e.visibleItems,h=e.onItemVisible,p=e.className,f=e.activeClassName,m=e.delayPerCard,v=void 0===m?.1:m,g=e.threshold,b=e.rootMargin,S=e.triggerOnce,y=e.children,x=d.has(t),N=(0,o.useRef)(null);(0,o.useEffect)(function(){return function(){N.current&&window.clearTimeout(N.current)}},[]);var w=(0,i.B)(function(e){e&&!x&&(N.current&&(window.clearTimeout(N.current),N.current=null),N.current=window.setTimeout(function(){N.current=null,h(t)},("index"===_?n:n%c)*v*1e3))},{threshold:void 0===g?.1:g,rootMargin:void 0===b?"50px":b,triggerOnce:void 0===S||S});return(0,l.jsx)("div",{ref:w,className:(0,s.Z2)([null!=p?p:a().wrapper,x&&(null!=f?f:a().visible)]),children:y})}},43593:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var o=n(14232),s=n(94693),i=n(15891),r=n(89166),a=n.n(r),l=n(37876),c=o.memo(function(e){var t=e.activeKey,n=e.className,r=e.children,c=(0,i.P)().areaStore.LANG,u=(0,o.useMemo)(function(){return[{key:"offline",label:c["where_to_buy.channel_offline"],href:"/where-to-buy/retail-stores"},{key:"online",label:c["where_to_buy.channel_online"],href:"/where-to-buy/online-stores"}]},[c]);return(0,l.jsxs)("section",{className:"".concat(a().channelSection," ").concat(n||""),children:[(0,l.jsx)("div",{className:a().header,children:(0,l.jsx)("h1",{className:a().sectionTitle,children:c["where_to_buy.channel_title"]})}),(0,l.jsx)("div",{className:a().channelOptions,children:u.map(function(e){var n=e.key===t;return(0,l.jsx)("a",{href:e.href,className:"".concat(a().channelOption," ").concat(n?a().active:""),"aria-label":e.label,children:n?(0,l.jsx)(s.A,{width:6,height:6,color:"#FF7700",showBorder:!1,children:e.label}):e.label},e.key)})}),r]})});c.displayName="ChannelSelector"},44110:e=>{e.exports={paginationWrapper:"Pagination_paginationWrapper__FfDm8",pagination:"Pagination_pagination__6AKf1",arrow:"Pagination_arrow__lfIxk",disabled:"Pagination_disabled__TqqtM",pages:"Pagination_pages__GHdt0",page:"Pagination_page__9HQtK",active:"Pagination_active__ZJnj3"}},57481:(e,t,n)=>{"use strict";n.d(t,{A:()=>l}),n(14232);var o=n(39316),s=n(3245),i=n(44110),r=n.n(i),a=n(37876);
1let l=function(e){var t=e.current,n=e.total,i=e.onChange,l=e.className,c=e.enableTracking,u=void 0===c||c;if(n<=1)return null;var _=function(e){e!==t&&e>=1&&e<=n&&(u&&s.A.trackingPageNumberClick(e),i(e))},d=function(){var e=[];if(n<=10)for(var o=1;o<=n;o++)e.push(o);else if(t<=10){for(var s=1;s<=10;s++)e.push(s);e.push("ellipsis"),e.push(n)}else if(t>n-9){e.push(1),e.push("ellipsis");for(var i=n-9;i<=n;i++)e.push(i)}else{e.push(1),e.push("ellipsis");for(var r=t-2;r<=t+2;r++)e.push(r);e.push("ellipsis"),e.push(n)}return e}(),h=t>1,p=t<n;return(0,a.jsx)("div",{className:"".concat(r().paginationWrapper," ").concat(l||""),children:(0,a.jsxs)("div",{className:r().pagination,children:[(0,a.jsx)("button",{className:"".concat(r().arrow," ").concat(r().prev," ").concat(h?"":r().disabled),disabled:!h,"aria-label":"Previous page",onClick:function(){t>1&&(u&&s.A.trackingPageArrowClick("left",t-1),i(t-1))},children:(0,a.jsx)(o.H,{direction:"left",size:24,fillOpacity:h?"0.55":"0.15"})}),(0,a.jsx)("div",{className:r().pages,children:d.map(function(e,n){if("ellipsis"===e)return(0,a.jsx)("img",{src:"https://static.antigravity.tech/assets/aaabf9007872d95c8340592162a5766a/moreDotIcon.svg",alt:"ellipsis"},"ellipsis-".concat(n));var o=e===t;return(0,a.jsx)("button",{className:"".concat(r().page," ").concat(o?r().active:""),onClick:function(){return _(e)},children:e},e)})}),(0,a.jsx)("button",{className:"".concat(r().arrow," ").concat(r().next," ").concat(p?"":r().disabled),disabled:!p,"aria-label":"Next page",onClick:function(){t<n&&(u&&s.A.trackingPageArrowClick("right",t+1),i(t+1))},children:(0,a.jsx)(o.H,{direction:"right",size:24,fillOpacity:p?"0.55":"0.15"})})]})})}},58117:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>s,O4:()=>a,RC:()=>r,bm:()=>i,dm:()=>c,nV:()=>l});var o=n(36922),s=function(e,t){var n=(null==t?void 0:t.enabled)!==!1,s=new URLSearchParams;null!=e&&e.searchContent&&s.append("searchContent",e.searchContent),null!=e&&e.chainStore&&s.append("chainStore",e.chainStore),null!=e&&e.provinceCode&&s.append("provinceCode",e.provinceCode),null!=e&&e.cityCode&&s.append("cityCode",e.cityCode),null!=e&&e.districtCode&&s.append("districtCode",e.districtCode);var i=s.toString();return(0,o.Ay)(n?[i?"/portal/support/offline/getStoreList?".concat(i):"/portal/support/offline/getStoreList"]:null)},i=function(e){var t=new URLSearchParams;null!=e&&e.country&&t.append("country",e.country);var n=t.toString(),s=null!=e&&e.country?"/portal/outlet/getPageList?".concat(n):null;return(0,o.Ay)(s?[s]:null)},r=function(e){return(0,o.Ay)(["/portal/support/offline/getStoreAreasCounts"])},a=function(e){var t=new URLSearchParams;null!=e&&e.buyType&&t.append("buyType",e.buyType);var n=t.toString();return(0,o.Ay)((null==e?void 0:e.enabled)===!1?null:[n?"/portal/support/purchase/listLocations?".concat(n):"/portal/support/purchase/listLocations"])},l=function(e){var t=new URLSearchParams;null!=e&&e.locationId&&t.append("locationId",e.locationId);var n=t.toString(),s=null!=e&&e.locationId?"/portal/support/purchase/getOnlineStores?".concat(n):null;return(0,o.Ay)(s?[s]:null)},c=function(e,t){var n=(null==t?void 0:t.enabled)!==!1,s="/portal/support/purchase/getOfflineStores",i=new URLSearchParams;(null==e?void 0:e.locationId)!=null&&i.append("locationId",String(e.locationId)),(null==e?void 0:e.searchText)!=null&&""!==e.searchText&&i.append("searchContent",e.searchText);var r=i.toString(),a=r?"".concat(s,"?").concat(r):s;return(0,o.Ay)(n?[a]:null)}},87730:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/where-to-buy/online-stores",function(){return n(23219)}])},89166:e=>{e.exports={channelSection:"ChannelSelector_channelSection__KevRb",header:"ChannelSelector_header__srHGI",sectionTitle:"ChannelSelector_sectionTitle__g2vpf",channelOptions:"ChannelSelector_channelOptions__uksLv",channelOption:"ChannelSelector_channelOption__G7qrK",active:"ChannelSelector_active__y0ZU7"}},94693:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),n(14232);var o=n(27082),s=n.n(o),i=n(37876);function r(e){var t=e.children,n=e.width,o=e.height,r=e.color,a=e.showBorder,l=e.padding;
1return(0,i.jsxs)("div",{className:s().container,style:{"--focus-symbol-width":"".concat(void 0===n?8:n,"px"),"--focus-symbol-height":"".concat(void 0===o?8:o,"px"),"--focus-symbol-color":void 0===r?"#ff7700":r,"--focus-symbol-padding":void 0===l?"":l},children:[(0,i.jsxs)("div",{className:s().focus_symbol,"data-role":"focus-symbol",children:[(0,i.jsx)("div",{className:s().focus_symbol_top_left}),(0,i.jsx)("div",{className:s().focus_symbol_top_right}),(0,i.jsx)("div",{className:s().focus_symbol_bottom_left}),(0,i.jsx)("div",{className:s().focus_symbol_bottom_right}),void 0!==a&&a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:s().focus_line_top}),(0,i.jsx)("div",{className:s().focus_line_left}),(0,i.jsx)("div",{className:s().focus_line_right}),(0,i.jsx)("div",{className:s().focus_line_bottom})]})]}),t]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=87730)),_N_E=e.O()}]);
2//# sourceMappingURL=online-stores-bf157257365c6c02.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.