1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1754bb7e-995b-4402-93ad-e96995f5062c",e._sentryDebugIdIdentifier="sentry-dbid-1754bb7e-995b-4402-93ad-e96995f5062c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1084,5348,2874,5899],{92245:function(e,t,n){Promise.resolve().then(n.t.bind(n,90995,23)),Promise.resolve().then(n.bind(n,10430)),Promise.resolve().then(n.bind(n,65195)),Promise.resolve().then(n.bind(n,96202)),Promise.resolve().then(n.bind(n,81783)),Promise.resolve().then(n.bind(n,67992)),Promise.resolve().then(n.bind(n,75066)),Promise.resolve().then(n.bind(n,60770)),Promise.resolve().then(n.bind(n,46580)),Promise.resolve().then(n.bind(n,12347)),Promise.resolve().then(n.bind(n,74632)),Promise.resolve().then(n.bind(n,44419)),Promise.resolve().then(n.bind(n,9782)),Promise.resolve().then(n.bind(n,50838)),Promise.resolve().then(n.t.bind(n,91855,23)),Promise.resolve().then(n.t.bind(n,40190,23))},515:function(e,t,n){"use strict";n.d(t,{x:function(){return s}}),n(10485);var s=(0,n(87308).$)("89a40e849330a78cd218802d7a92849b2848cc49")},72970:function(e,t,n){"use strict";n.d(t,{CI:function(){return r},N8:function(){return i}}),n(10485);var s=n(87308);(0,s.$)("dc097aeea0dca20a738c30440bbf6b196e82d8c4");var r=(0,s.$)("c6b53085b75077c98d9593d4eaf56ec914b2c3f7"),i=(0,s.$)("d9ac2638e9b141aee6f8a1b8d35c84b570530bb5");(0,s.$)("8771051eb77e7733ed7f6137ff15c043cc56fa8b")},85354:function(e,t,n){"use strict";n.d(t,{default:function(){return h},r:function(){return m}});var s=n(5333),r=n(1671),i=n(84792),a=n(14574),l=n(95348),o=n(74704),c=n(45788),d=n(38031),u=n(59907);let m=[{text:(0,s.jsx)(r.cC,{id:"vERlcd"}),href:"/dashboard/profile",name:"Profile"},{text:(0,s.jsx)(r.cC,{id:"oS2F65"}),href:"/dashboard/buying",name:"Buying"},{text:(0,s.jsx)(r.cC,{id:"WEVa0d"}),element:(0,s.jsx)(c.Z,{children:(0,s.jsx)(r.cC,{id:"WEVa0d"})}),href:"/dashboard/selling",name:"Selling"},{text:(0,s.jsx)(r.cC,{id:"BrrIs8"}),href:"/dashboard/storage",name:"Storage"},{text:(0,s.jsx)(r.cC,{id:"I0D//A"}),href:"/dashboard/wishlist",name:"Wishlist"},{text:(0,s.jsx)(r.cC,{id:"FLWWWE"}),href:"/dashboard/post",name:"Create Post"},{text:(0,s.jsx)(r.cC,{id:"t9hU87"}),element:(0,s.jsxs)("div",{children:[(0,s.jsx)(r.cC,{id:"t9hU87"}),(0,s.jsx)("div",{className:"text-sm",children:(0,s.jsx)(r.cC,{id:"al12rV"})})]}),href:"/dashboard/payout-request",name:"NS Payout"},{text:(0,s.jsx)(r.cC,{id:"xh7FGs"}),href:"/dashboard/promotions",name:"Promotions"},{text:(0,s.jsx)(r.cC,{id:"Tz0i8g"}),href:"/dashboard/settings",name:"Settings"}];function h(){let e=(0,i.usePathname)(),{user:t,isAuthenticated:n}=(0,l.Z)();return n?(0,s.jsxs)("aside",{className:"hidden min-w-60 px-5 text-right md:block",children:[t?.id&&(0,s.jsxs)("div",{className:"mt-3 hidden w-full flex-col items-end py-2 sm:flex",children:[(0,s.jsx)("div",{className:"text-xl",children:t.firstname||(0,s.jsx)(r.cC,{id:"qhwV2C"})}),(0,s.jsx)("div",{className:"w-full break-words text-sm",children:t.email}),"vacation"===t.status?(0,s.jsx)(a.Anchor,{href:"/dashboard/settings",children:(0,s.jsx)(f,{className:"mt-2 border-ns-orange bg-ns-orange",children:(0,s.jsx)(r.cC,{id:"hvWuqZ"})})}):"banned"===t.status&&(0,s.jsx)(f,{className:"mt-2 border-ns-red bg-ns-red",children:(0,s.jsx)(r.cC,{id:"fwzYkj"})})]}),t?.id&&(0,s.jsx)("div",{className:"my-2 mr-2 hidden h-px w-full max-w-[140] bg-ns-divider sm:block"}),(0,s.jsx)("nav",{className:"flex flex-col items-end",children:m.map((t,n)=>(0,s.jsx)(a.Anchor,{href:t.href,className:(0,o.cn)("py-1 text-ns-gray3 hover:text-ns-gray2",{"text-ns-black hover:text-ns-black":e.includes(t.href)}),onClick:()=>u.Z.click("Dashboard Menu",{item:t.name}),children:t.element||t.text},n))}),(0,s.jsx)("div",{className:"my-2 mr-2 hidden h-px w-full max-w-[140] bg-ns-divider sm:block"}),(0,s.jsx)("button",{className:"w-full py-1.5 text-right hover:text-ns-gray2",onClick:()=>(0,d.k)(),children:(0,s.jsx)(r.cC,{id:"nOhz3x"})})]}):null}let f=e=>{let{className:t,...n}=e;return(0,s.jsx)("div",{className:(0,o.cn)("flex items-center whitespace-nowrap rounded-[18px] border px-3 py-0.5 !text-xxs font-bold uppercase tracking-wider text-white",t),...n})}},45788:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var s=n(5333),r=n(95348),i=n(86587);function a(e){let{children:t,shippingStats:n}=e,{user:a}=(0,r.Z)(),{has_to_ship_delayed:l=null,has_to_ship:o}=n||a?.shipping_stats||{};return t?(0,s.jsxs)("div",{className:"relative flex",children:[t,l?(0,s.jsx)(i.IEI,{className:"absolute -right-2.5 -top-0.5 -mb-0.5 size-3 text-ns-red"}
1):o?(0,s.jsx)("div",{className:"absolute -right-1 size-2 rounded-full bg-ns-red"}):null]}):(0,s.jsx)("div",{className:"p-1",children:l?(0,s.jsx)(i.IEI,{className:"-mb-0.5 size-3 text-ns-red"}):o?(0,s.jsx)("div",{className:"size-2 rounded-full bg-ns-red"}):null})}},72819:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});var s=n(5333);let r=encodeURIComponent((0,n(34600).uS)((0,s.jsx)(function(){return(0,s.jsx)("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 256 256",xmlSpace:"preserve",children:(0,s.jsx)("g",{children:(0,s.jsx)("g",{children:(0,s.jsx)("polygon",{style:{color:"#131315"},points:"225.8,48.9 128,146.7 30.2,48.9 0,79.1 128,207.1 256,79.1 "})})})})},{})))},91514:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var s=n(5333);let r=encodeURIComponent((0,n(34600).uS)((0,s.jsx)(function(){return(0,s.jsxs)("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 256 256",fill:"#666",xmlSpace:"preserve",children:[(0,s.jsx)("g",{children:(0,s.jsx)("g",{children:(0,s.jsx)("polygon",{points:"225.813,48.907 128,146.72 30.187,48.907 0,79.093 128,207.093 256,79.093 "})})}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{}),(0,s.jsx)("g",{})]})},{})))},14574:function(e,t,n){"use strict";n.r(t),n.d(t,{Anchor:function(){return o}});var s=n(5333),r=n(94929),i=n(84792),a=n(79682);let l=Object.values(a.Mj).map(e=>{let{routeName:t}=e;return t}).filter(Boolean).map(e=>`/${e}/`),o=e=>{let{href:t,children:n,className:o,...c}=e,[d]=((0,i.usePathname)()||"").split("/").slice(1),u=Object.entries(a.Mj).find(e=>{let[,{routeName:t}]=e;return t===d})?d:"",m=String(t),h=t&&/:\/\/|\/test-api\/|\/api\/|\/edge\/|\/partners|\/news|\/blog/.test(m)||void 0,f=l.some(e=>m.startsWith(e));h&&!c.target&&(c.target="_blank");let x=h||f?t:`${u?`/${u}`:""}/${t}`.replace("//","/");return(0,s.jsx)(r.default,{href:x,className:o,...c,prefetch:!1,children:n})}},52006:function(e,t,n){"use strict";var s=n(5333),r=n(86698),i=n(14574);t.Z=e=>(0,s.jsx)(i.Anchor,{...e,onClick:t=>{(0,r._g)(),e.onClick?.(t)}})},10430:function(e,t,n){"use strict";n.d(t,{default:function(){return h}});var s=n(5333),r=n(46353),i=n(81540),a=n(84792),l=n(59907),o=n(95348),c=n(89689),d=n(83837),u=n(9723);function m(){let e=(0,a.usePathname)(),t=(0,a.useSearchParams)(),n=d.Uu.map(e=>t.get(e)).join("|");return(0,r.useEffect)(()=>{(0,c.m1)(),l.Z.pageView((0,d.LX)()),(0,d.rm)(e,t.toString())},[e,n]),null}function h(){let e=i.O.NEXT_PUBLIC_FACEBOOK_PIXEL_ID,t=i.O.NEXT_PUBLIC_THOUGHTMETRIC_PIXEL_ID,n=i.O.NEXT_PUBLIC_THOUGHTMETRIC_PROXY,a=i.O.NEXT_PUBLIC_IMPACT_ID,{currentCurrency:c,currentCountry:d,currentLanguage:h,user:f,countryDetected:x}=(0,o.Z)();return l.Z.init(),l.Z.setContext({currency:c,country:d,language:h,clevertapCountry:x,userType:f&&f.id?"logged_in":"guest"}),l.Z.identify(f),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Suspense,{fallback:null,children:(0,s.jsx)(m,{})}),(0,s.jsx)(u.default,{id:"triplepixel-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 2 window.TriplePixelData={TripleName:"novelship.com",ver:"2.17",plat:"custom-msp",isHeadless:true}; 3 (function(W,H,A,L,E,_,B,N){ 4 function O(U,T,P,H,R){ 5 if(R===void 0) R=false; 6 H=new XMLHttpRequest; 7 if(P){ 8 H.open("POST",U,true); 9 H.setRequestHeader("Content-Type","text/plain"); 10 } else { 11 H.open("GET",U,true); 12 } 13 H.send(JSON.stringify(P||{})); 14 H.onreadystatechange=function(){ 15 if(H.readyState===4 && H.status===200){ 16 R=H.responseText; 17 if(U.includes("/first")) eval(R); 18 else if(!P) N[B]=R; 19 } else if((H.status>299 || H.status<200) && T && !R){ 20 R=true; 21 O(U,T-1,P); 22 } 23 } 24 } 25 if(!(N=window)[H+"sn"]){ 26 N[H+"sn"]=1; 27 L=function(){ 28 return Date.now().toString(36)+"_"+Math.random().toString(36) 29 }; 30 try{ 31 A.setItem(H,1+(0|A.getItem(H)||0)); 32 (E=JSON.parse(A.getItem(H+"U")||"[]")).push({ 33 u:location.href, 34 r:document.referrer, 35 t:Date.now(), 36 id:L() 37 }); 38 A.setItem(H+"U",JSON.stringify(E)); 39 }catch(e){} 40 var i,m,p; 41 if(!A.getItem('"!nC\`')){ 42 _=A; 43 A=N; 44 if(!A[H]){ 45 E=A[H]=function(t,e,a){ 46 if(a===void 0) a=[]; 47 if(t=="State") return E.s; 48 W=L(); 49 (E._q=E._q||[]).push([W,t,e].concat(a)); 50 return W; 51 }; 52 E.s="Installed"; 53 E._q=[]; 54 E.ch=W; 55 B="configSecurityConfModel"; 56 N[B]=1; 57 O("https://conf.config-security.com/model",5); 58 i=L(); 59 m=A[atob("c2NyZWVu")]; 60 _.setItem("di_pmt_wt",i); 61 p={ 62 id:i, 63 action:"profile", 64 avatar:_.getItem("auth-security_rand_salt_"), 65 time:m[atob("d2lkdGg=")]+":"+m[atob("aGVpZ2h0")], 66 host:A.TriplePixelData.TripleName, 67 plat:A.TriplePixelData.plat, 68 url:window.location.href.slice(0,500), 69 ref:document.referrer, 70 ver:A.TriplePixelData.ver 71 }; 72 O("https://api.config-security.com/event",5,p); 73 O("https://api.config-security.com/first?host=novelship.com&plat=custom-msp",5); 74 } 75 } 76 } 77 })("","TriplePixel",localStorage); 78 `}}),(0,s.jsx)(u.default,{id:"facebook-pixel",children:` 79 !function(f,b,e,v,n,t,s) 80 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 81 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 82 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 83 n.queue=[];t=b.createElement(e);t.async=!0; 84 t.src=v;s=b.getElementsByTagName(e)[0]; 85 s.parentNode.insertBefore(t,s)}(window, document,'script', 86 'https://connect.facebook.net/en_US/fbevents.js'); 87 fbq('init', ${e}); 88 fbq('track', 'PageView'); 89 `}),(0,s.jsx)(u.default,{id:"thoughtmetric-pixel",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:`
90 !function(t,e,i){ 91 if(!t.thoughtmetric){ 92 t.thoughtmetricQueue=t.thoughtmetricQueue||[], t.thoughtmetric=t.thoughtmetric||function(){t.thoughtmetricQueue.push(arguments)}; 93 var u=e.createElement("script"); 94 u.async=!0; 95 u.src="https://pjovw5.novelship.com/tmpixel.min.js"; 96 var h=e.getElementsByTagName("script")[0]; 97 h.parentNode.insertBefore(u,h) 98 } 99 }(window,document); 100 thoughtmetric("init","${t}"); 101 thoughtmetric("proxy","${n}"); 102 thoughtmetric("pageview"); 103 `}}),(0,s.jsx)(u.default,{id:"impact-analytics",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 104 (function(a, b, c, d, e, f, g) { 105 e['ire_o'] = c; 106 e[c] = e[c] || function() { 107 (e[c].a = e[c].a || []).push(arguments); 108 }; 109 f = d.createElement(b); 110 g = d.getElementsByTagName(b)[0]; 111 f.async = 1; 112 f.src = a; 113 g.parentNode.insertBefore(f, g); 114 })( 115 'https://utt.impactcdn.com/A3696336-a5e1-40c1-aa66-f35b09828e761.js', 116 'script', 117 'ire', 118 document, 119 window 120 ); 121 `}}),(0,s.jsx)(u.default,{id:"impact-analytics-delay",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 122 123 window.isPrerender = 124 typeof navigator != 'undefined' && /prerender/i.test(navigator.userAgent); 125 126 window.isNativeApp = 127 window.isNativeApp || (window.location.search || '').includes('isNativeApp'); 128 var doc = document; 129 var i = doc.createElement('script'); 130 i.id = 'ire'; 131 doc.getElementsByTagName('head')[0].appendChild(i); 132 133 setTimeout(() => { 134 if (!window.isPrerender && !window.isNativeApp) { 135 // Impact: load js with defer after timeout 136 i.defer = true; 137 i.src = 'https://utt.impactcdn.com/${a}.js'; 138 } 139 }, 8000); 140 `}})]})}},65195:function(e,t,n){"use strict";n.d(t,{default:function(){return $}});var s=n(5333),r=n(1671),i=n(14574),a=n(75066),l=n(96745),o=n(95348),c=n(82078),d=n(50838),u=n(46353),m=n(34778),h=n(32573);function f(){let{currentCountry:e}=(0,o.Z)(),t=(0,d.cacheGet)("cookie_response","pending"),[n,f]=(0,u.useState)(t||"pending"),[x,p]=(0,u.useState)(!1);if((0,u.useEffect)(()=>p(!0),[]),(0,u.useEffect)(()=>{"granted"===n&&(0,h.S)("granted")},[n]),(0,u.useEffect)(()=>{"pending"===n&&e?.shortcode&&!a.F.includes(e.shortcode)&&(f("granted"),(0,d.cacheSet)("cookie_response","granted"))},[n,e]),!x||"pending"!==n)return null;let g=e=>{f(e),(0,d.cacheSet)("cookie_response",e),(0,c.iz)(e),(0,h.S)(e)};return(0,s.jsx)("div",{style:{boxShadow:"0 -4px 12px rgba(0, 0, 0, 0.1)"},className:"fixed bottom-0 z-50 flex w-full bg-white",children:(0,s.jsx)(m.Z,{children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-between gap-3 p-5 pt-4 md:flex-row",children:[(0,s.jsxs)("div",{className:"mb-[2px] max-w-[880px] text-xs sm:text-sm",children:[(0,s.jsx)("div",{className:"font-semibold uppercase leading-[1.8]",children:(0,s.jsx)(r.cC,{id:"hjg2us"})}),(0,s.jsx)("div",{children:(0,s.jsx)(r.cC,{id:"T+s5er",components:{0:(0,s.jsx)(i.Anchor,{href:"/privacy",className:"underline"})}})})]}),(0,s.jsxs)("div",{className:"flex min-w-[170px] flex-row gap-2 md:flex-col",children:[(0,s.jsx)(l.Z,{variant:"black",size:"sm",onClick:()=>g("granted"),children:(0,s.jsx)(r.cC,{id:"C20SQW"})}),(0,s.jsx)(l.Z,{variant:"white",size:"sm",onClick:()=>g("denied"),children:(0,s.jsx)(r.cC,{id:"1t/NnN"})})]})]})})})}var x=n(84792),p=n(94929),g=n(88978),v=n(45999),w=n(75552),y=n(59907),j=n(38031),b=n(80392),_=n(42167),k=n(43769),N=n(52006);let C=(e,t,n)=>()=>{y.Z.click("Footer",{footer_section:e,url:t,text:n})},S=e=>[{category:e("Nike"),url:"/sneakers/nike",items:[{name:e("Nike Air Force 1"),url:"/sneakers/nike/air-force/air-force-1"},{name:e("Nike Dunk Low"),url:"/sneakers/nike/dunk/low"},{name:e("Nike Zoom Vomero"),url:"/sneakers/nike/vomero"},{name:e("Nike Air Max Plus"),url:"/sneakers/nike/air-max/air-max-plus"},{name:e("Nike Air Max 90"),url:"/sneakers/nike/air-max/air-max-90"},{name:e("Nike Air Max 1"),url:"/sneakers/nike/air-max/air-max-1"}]},{category:e("Jordan"),url:"/sneakers/jordan",items:[{name:e("Jordan 1 Low"),url:"/sneakers/jordan/jordan-1/low"},{name:e("Jordan 1 High"),url:"/sneakers/jordan/jordan-1/high"},{name:e("Jordan 1 Mid"),url:"/sneakers/jordan/jordan-1/mid"},{name:e("Jordan 4"),url:"/sneakers/jordan/jordan-4"},{name:e("Jordan 3"),url:"/sneakers/jordan/jordan-3"},{name:e("Jordan 6"),url:"/sneakers/jordan/jordan-6"}]}
140,{category:e("adidas"),url:"/sneakers/adidas",items:[{name:e("Adidas Samba"),url:"/sneakers/adidas/samba"},{name:e("Adidas Yeezy 350"),url:"/sneakers/adidas/yeezy/yeezy-350"},{name:e("Adidas Adizero"),url:"/sneakers/adidas/adizero"},{name:e("Adidas Gazelle"),url:"/sneakers/adidas/gazelle"},{name:e("Adidas Spezial"),url:"/sneakers/adidas/spezial"},{name:e("Adidas Ultraboost"),url:"/sneakers/adidas/ultraboost"}]},{category:e("New Balance"),url:"/sneakers/new-balance",items:[{name:e("NB 1906"),url:"/sneakers/new-balance/1906"},{name:e("NB 2002R"),url:"/sneakers/new-balance/2002r"},{name:e("NB 9060"),url:"/sneakers/new-balance/9060"},{name:e("NB 530"),url:"/sneakers/new-balance/530"},{name:e("NB 550"),url:"/sneakers/new-balance/550"},{name:e("NB 574"),url:"/sneakers/new-balance/574"}]},{category:e("ASICS"),url:"/sneakers/asics",items:[{name:e("ASICS Gel Kayano 14"),url:"/sneakers/asics/gel-kayano/gel-kayano-14"},{name:e("ASICS Gel NYC"),url:"/sneakers/asics/gel-nyc"},{name:e("ASICS Gel 1130"),url:"/sneakers/asics/gel-1130"},{name:e("ASICS Gel Nimbus 9"),url:"/sneakers/asics/gel-nimbus/gel-nimbus-9"},{name:e("ASICS Gel Cumulus 16"),url:"/sneakers/asics/gel-cumulus/gel-cumulus-16"},{name:e("ASICS Novablast"),url:"/sneakers/asics/novablast"}]},{category:e("Onitsuka Tiger"),url:"/sneakers/onitsuka-tiger",items:[{name:e("Mexico 66"),url:"/sneakers/onitsuka-tiger/mexico-66"},{name:e("Tokuten"),url:"/sneakers/onitsuka-tiger/tokuten"},{name:e("Runspark"),url:"/sneakers/onitsuka-tiger/runspark"},{name:e("Advanti"),url:"/sneakers/onitsuka-tiger/advanti"},{name:e("GSM"),url:"/sneakers/onitsuka-tiger/gsm"},{name:e("Serrano"),url:"/sneakers/onitsuka-tiger/serrano"}]},{category:e("Apparel"),url:"/browse",items:[{name:e("Track Jacket"),url:"/apparel/outerwear/jackets-track"},{name:e("Hoodies"),url:"/apparel/outerwear/hoodies"},{name:e("T-Shirts (Short Sleeve)"),url:"/apparel/tops/t-shirts-short-sleeve"},{name:e("Jerseys (Basketball)"),url:"/apparel/tops/jerseys-basketball"},{name:e("Jacket (Generic)"),url:"/apparel/outerwear/jackets-generic"},{name:e("Puffer Jacket"),url:"/apparel/outerwear/jackets-puffer"}]},{category:e("Others"),url:"/browse",items:[{name:e("Puma Speedcat"),url:"/sneakers/puma/speedcat"},{name:e("Converse Chuck"),url:"/sneakers/converse/chuck"},{name:e("Vans Old Skool"),url:"/sneakers/vans/old-skool"},{name:e("Crocs"),url:"/sneakers/crocs"},{name:e("Pop Mart"),url:"/collectibles/popmart"},{name:e("Bearbrick"),url:"/collectibles/bearbrick"}]}],A=()=>(0,s.jsx)("button",{onClick:()=>(0,j.k)(),children:(0,s.jsx)(r.cC,{id:"nOhz3x"})}),Z=e=>{let{transLayout:t}=e,n=S(t);return(0,s.jsxs)(s.Fragment,{children:[n.map(e=>(0,s.jsx)("div",{className:"my-3 w-full md:my-4 md:w-1/2 lg:w-1/4",children:(0,s.jsxs)("section",{children:[(0,s.jsx)(N.Z,{href:e.url,onClick:()=>y.Z.click("Footer",{Category:e.category,category:e.category}),className:"m-0 text-sm uppercase",children:(0,s.jsx)("h4",{children:e.category})}),(0,s.jsx)("ul",{className:"mt-1.5 list-none text-sm text-white/70 md:mt-2 [&_a:hover]:underline [&_li]:py-1",children:e.items.map((t,n)=>(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:t.url,onClick:()=>y.Z.click("Footer",{category:e.category,subcategory:t.name,Category:e.category,"Sub-Category":t.name}),children:t.name})},n))})]})},e.category)),(0,s.jsx)("div",{className:"my-3 w-full md:my-4 md:w-1/2 lg:w-1/4"})]})},T=e=>{let{transLayout:t}=e,{isAuthenticated:n}=(0,o.Z)(),a=(0,x.useRouter)();return(0,s.jsx)("section",{children:n?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h4",{className:"m-0 text-sm uppercase",children:t("My Account")}),(0,s.jsxs)("ul",{className:"mt-1.5 list-none p-0 text-sm text-white/70 md:mt-2 [&_a:hover]:underline [&_li]:py-1",children:[(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:"dashboard/buying",children:t("Buying")})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:"dashboard/selling",children:t("Selling")})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:"dashboard/settings",children:t("Settings")})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:"dashboard/promotions",children:t("Promocodes")})}),(0,s.jsx)("li",{children:(0,s.jsx)("div",{className:"cursor-pointer",onClick:()=>(0,j.k)(),children:(0,s.jsx)(A,{})})})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h4",{className:"m-0 text-sm uppercase",children:(0,s.jsx)(r.cC,{id:"Ov4u3P"})}),(0,s.jsxs)("ul",{className:"mt-1.5 cursor-pointer list-none text-sm text-white/70 md:mt-2 [&_li]:py-1",children:[(0,s.jsx)("li",{children:(0,s.jsx)("div",{onClick:()=>a.push((0,_.Xz)({page:"signup"})),children:(0,s.jsx)(r.cC,{id:"mErq7F"})})}),(0,s.jsx)("li",{children:(0,s.jsx)("div",{onClick:()=>a.push((0,_.Xz)({page:"login"})),children:(0,s.jsx)(r.cC,{id:"ADVQ46"})})})]})]})})},P=()=>{let{isAuthenticated:e}=(0,o.Z)();return(0,s.jsxs)("div",{className:"flex w-full flex-wrap",children:[(0,s.jsx)("div",{className:"w-1/2",children:(0,s.jsxs)("section",{children:[(0,s.jsx)("label",{htmlFor:"select-language",className:"m-0 text-sm uppercase",children:(0,s.jsx)(r.cC,{id:"vXIe7J"})}),(0,s.jsx)("div",{className:"mt-4 flex",children:(0,s.jsx)(k.W,{className:"w-[158px] text-sm text-white/70",labelId:"select-language"})})]})}),e?null:(0,s.jsx)("div",{className:"w-1/2",children:(0,s.jsxs)("section",{children:[(0,s.jsx)("label",{htmlFor:"region",className:"m-0 text-sm uppercase",children:(0,s.jsx)(r.cC,{id:"uJ+Ve2"})}),(0,s.jsx)("div",{className:"mt-4 flex",children:(0,s.jsx)(w.Z,{className:"w-[158px] bg-ns-black text-sm text-white/70"})})]})})]})},I=e=>{let{transLayout:t}=e;return(0,s.jsxs)("section",{children:[(0,s.jsx)("h4",{className:"m-0 text-sm uppercase",children:t("Social")}),(0,s.jsxs)("div",{className:"mt-4 flex",children:[(0,s.jsx)(p.default,{href:"https://instagram.com/novelship","aria-label":"Novelship Instagram",target:"_blank",children:(0,s.jsx)(g.Zf_,{className:"mr-3 size-[43px] bg-white/10 p-3.5 text-white xl:mr-5 xl:size-[48px] xl:p-4"})}),(0,s.jsx)(p.default,{href:"https://facebook.com/novelship","aria-label":"Novelship Facebook",target:"_blank",children:(0,s.jsx)(g.tBk,{className:"mr-3 size-[43px] bg-white/10 p-3.5 text-white xl:mr-5 xl:size-[48px] xl:p-4"})}),(0,s.jsx)(p.default,{href:"https://x.com/Novelship","aria-label":"Novelship Twitter",target:"_blank",children:(0,s.jsx)(g.fWC,{className:"mr-3 size-[43px] bg-white/10 p-3.5 text-white xl:mr-5 xl:size-[48px] xl:p-4"})}),(0,s.jsx)(p.default,{href:"https://www.youtube.com/channel/UCrM3j2jFIbrJuT9zppM5vBQ","aria-label":"Novelship Youtube",target:"_blank",children:(0,s.jsx)(g.V2E,{className:"mr-3 size-[43px] bg-white/10 p-3.5 text-white xl:mr-5 xl:size-[48px] xl:p-4"})}),(0,s.jsx)(p.default,{href:"https://page.line.me/?liff.state=%3FaccountId%3Dnovelship","aria-label":"Novelship Line",target:"_blank",children:(0,s.jsx)(v.dqA,{className:"mr-3 size-[43px] bg-white/10 p-3.5 text-white xl:mr-5 xl:size-[48px] xl:p-4"})})]})]})};function z(e){let{transLayouts:t}=e,{currentLanguage:n}=(0,o.Z)(),r=e=>t[e]||e,a=(0,b.e)("returns_refunds_faq",n),l=(0,b.e)("account_payments_faq",n),c=(0,b.e)("buying_faqs",n),d=(0,b.e)("selling_faqs",n),u=(0,b.e)("shipping_faq",n);return(0,s.jsx)("div",{className:"px-6 py-8 text-white md:px-4 md:py-20",children:(0,s.jsx)(m.Z,{children:(0,s.jsxs)("div",{className:"flex flex-wrap justify-between",children:[(0,s.jsx)("div",{className:"my-3 w-full md:my-4 md:w-1/2 lg:w-1/4 [&_a:hover]:underline",children:(0,s.jsxs)("section",{children:[(0,s.jsx)("h4",{className:"m-0 text-sm uppercase",children:r("About Us")}),(0,s.jsxs)("ul",{className:"mt-1.5 list-none text-sm text-white/70 md:mt-2 [&_li]:py-1",children:[(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/about",onClick:C("about_us","/about","About"),children:r("About")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/authentication",onClick:C("about_us","/authentication","Authentication"),children:r("Authentication")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/terms",onClick:C("about_us","/terms","Terms"),children:r("Terms")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/privacy",onClick:C("about_us","/privacy","Privacy"),children:r("Privacy")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/careers",onClick:C("about_us","/careers","Careers"),children:r("Careers")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/support",onClick:()=>{C("about_us","/support","Contact")(),y.Z.contactUsClick()},children:r("Contact")})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:a,onClick:C("about_us",a,"Return & Refund FAQ"),children:r("Return & Refund FAQ")})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:l,onClick:C("about_us",l,"Account & Payment FAQ"),children:r("Account & Payment FAQ")})}),"ja"===n&&(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/tokutei",onClick:C("about_us","/tokutei","ç¹å®åå弿³ã«åºã¥ã表示"),children:"ç¹å®åå弿³ã«åºã¥ã表示"})})]})]})}),(0,s.jsx)("div",{className:"my-3 w-full md:my-4 md:w-1/2 lg:w-1/4",children:(0,s.jsxs)("section",{children:[(0,s.jsx)("h4",{className:"m-0 text-sm uppercase",children:r("Buy and Sell")}),(0,s.jsxs)("ul",{className:"mt-1.5 list-none text-sm text-white/70 md:mt-2 [&_a:hover]:underline [&_li]:py-1",children:[(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:c,onClick:C("buy_sell",c,"Buying FAQ"),children:r("Buying FAQ")})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:d,onClick:C("buy_sell",d,"Selling FAQ"),children:r("Selling FAQ")})}),(0,s.jsx)("li",{children:(0,s.jsx)(i.Anchor,{href:u,onClick:C("buy_sell",u,"Shipping FAQ"),children:r("Shipping FAQ")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/authenticate",onClick:C("buy_sell","/authenticate","Authenticate"),children:r("Authenticate")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/info-product-standards",onClick:C("buy_sell","/info-product-standards","Product Standard"),children:r("Product Standard")})}),(0,s.jsx)("li",{children:(0,s.jsx)(N.Z,{href:"/product-request",onClick:C("buy_sell","/product-request","Product Request"),children:r("Product Request")})})]})]})}),(0,s.jsx)("div",{className:"my-3 w-full md:my-4 md:w-1/2 lg:w-1/4",children:(0,s.jsx)(T,{transLayout:r})}),(0,s.jsxs)("div",{className:"my-3 w-full md:my-4 md:w-1/2 lg:w-1/4",children:[(0,s.jsx)(P,{}),(0,s.jsx)("div",{className:"my-14"}),(0,s.jsx)(I,{transLayout:r}),(0,s.jsx)("div",{className:"my-9"})]}),(0,s.jsx)(Z,{transLayout:r})]})})})}var E=n(90723);function M(){return(0,s.jsx)("div",{className:"bg-ns-black px-6 py-14 text-white",children:(0,s.jsxs)(m.Z,{children:[(0,s.jsx)("div",{className:"flex items-center justify-center border border-x-0 border-white/20 py-6 sm:py-9 md:py-14",children:(0,s.jsx)(E.default,{src:"/images/ns-white-logo.svg",alt:"Novelship Logo",className:"h-[42px] w-[244px] object-contain sm:h-[34px] sm:w-[360
140px]",width:360,height:42})}),(0,s.jsx)("div",{className:"mt-4 flex items-center justify-center py-9",children:(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsxs)("div",{className:"text-sm",children:["\xa9 ",new Date().getFullYear()," Novelship. ",(0,s.jsx)(r.cC,{id:"70Cb+2"})]})})})]})})}var D=n(85806),O=n(65899),B=n(22070),F=n(81540),U=n(61979);let R=()=>(0,s.jsxs)("div",{className:"relative flex h-[20px] w-[100px] items-center",children:[(0,s.jsx)(D.QJe,{size:20,color:"white"}),(0,s.jsx)(D.QJe,{size:20,color:"white"}),(0,s.jsx)(D.QJe,{size:20,color:"white"}),(0,s.jsx)(D.QJe,{size:20,color:"white"}),(0,s.jsx)(D.QJe,{size:20,color:"white"})]});function L(){return["mobile-app"].includes((0,x.usePathname)().split("/").pop()||"")?null:(0,s.jsxs)("div",{className:"bg-ns-black",children:[(0,s.jsx)("div",{className:"mx-4 flex justify-center px-2 pb-4 pt-14 sm:items-center lg:hidden",children:(0,s.jsx)(O.ReviewsIOWidget,{className:"border-none bg-white"})}),(0,s.jsx)("div",{className:"flex items-center justify-center bg-ns-black",children:(0,s.jsxs)("div",{className:"mt-4 flex max-w-[900px] flex-col items-center justify-center text-white sm:flex-row md:mt-9",children:[(0,s.jsxs)("div",{className:"w-full p-4 sm:w-1/2",children:[(0,s.jsx)("div",{className:"mx-4 my-6 hidden h-full items-center justify-between lg:flex",children:(0,s.jsx)(O.ReviewsIOWidget,{className:"border-none bg-white"})}),(0,s.jsxs)("div",{className:"flex flex-wrap",children:[(0,s.jsx)("div",{className:"mx-2 text-[22px] font-semibold sm:text-[28px]",children:(0,s.jsx)(r.cC,{id:"OY38EP"})}),(0,s.jsxs)("div",{className:"m-2 flex w-full items-center",children:[(0,s.jsx)("div",{className:"mr-2 text-lg font-bold",children:F.O.NEXT_PUBLIC_MOBILE_APP_APPLE_RATING}),(0,s.jsx)(R,{})]}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"mx-2 flex items-center",children:["â¢",(0,s.jsx)("div",{className:"mx-2 text-xs font-semibold sm:text-sm",children:(0,s.jsx)(r.cC,{id:"i0l4L8"})})]}),(0,s.jsxs)("div",{className:"mx-2 flex items-center",children:["â¢",(0,s.jsx)("div",{className:"mx-2 text-xs font-semibold sm:text-sm",children:(0,s.jsx)(r.cC,{id:"kbIwkL"})})]}),(0,s.jsxs)("div",{className:"mx-2 flex items-center",children:["â¢",(0,s.jsx)("div",{className:"mx-2 text-xs font-semibold sm:text-sm",children:(0,s.jsx)(r.cC,{id:"w8O4+/"})})]}),(0,s.jsx)(N.Z,{href:"/mobile-app",children:(0,s.jsx)("div",{className:"mx-2 my-1 text-xs font-light text-ns-gray4 md:text-sm",children:(0,s.jsx)(r.cC,{id:"Bw7/lP"})})})]})]}),(0,s.jsxs)("div",{className:"my-2 flex max-w-[540px] items-center justify-center sm:my-6",children:[(0,s.jsx)("div",{className:"mr-2 flex flex-col items-center justify-center",children:(0,s.jsxs)(p.default,{href:U.l5.ios,children:[(0,s.jsx)(B.Z,{src:"main/iOS_app_store.png",width:140,height:140,className:"mb-3 w-[140px] rounded-lg border border-ns-gray1 object-contain",alt:"App store download"}),(0,s.jsx)(B.Z,{width:110,height:110,src:"main/qr-ios.png?q=90",className:"m-auto hidden items-center justify-center rounded-lg object-contain md:flex",alt:"App store download"})]})}),(0,s.jsx)("div",{className:"ml-2 flex flex-col items-center justify-center",children:(0,s.jsxs)(p.default,{href:U.l5.android,children:[(0,s.jsx)(B.Z,{width:140,height:140,src:"main/Google_play_store.png",className:"mx-2 mb-3 rounded-lg border border-ns-gray1 object-contain",alt:"Google play download"}),(0,s.jsx)(B.Z,{width:110,height:110,className:"m-auto hidden items-center justify-center rounded-lg object-contain md:flex",src:"main/qr-android.png?q=90",alt:"Google play download"})]})})]}),(0,s.jsx)("div",{className:"mt-2 hidden text-center text-xxs sm:block",children:(0,s.jsx)(r.cC,{id:"L2f0fu"})})]}),(0,s.jsx)("div",{className:"w-full p-5 text-base sm:w-1/2",children:(0,s.jsx)(B.Z,{width:480,height:140,src:"main/mobile-app-full-screen.png",className:"rounded-lg",alt:"Mobile App Screenshots"})})]})})]})}function $(e){let{transLayouts:t}=e,n=(0,x.usePathname)().split("/").pop()||"";return[/^size-wishlist$/,/^view$/,/^review$/,/^create$/,/^promocodes$/,/^confirmed$/,/^confirmed-sell$/,/^confirmed-consign$/,/^confirmed-buy$/,/^confirmed-delivery$/,/^sizes$/,/^review-delivery$/].some(e=>e.test(n))?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("footer",{id:"footer",className:"border-t border-[#444] bg-ns-black px-1 md:px-0",children:[(0,s.jsx)(L,{}),(0,s.jsx)(z,{transLayouts:t}),(0,s.jsx)(M,{})]}),(0,s.jsx)(f,{})]})}},65911:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var s=n(5333),r=n(84792);n(46353);var i=n(52006);let a=e=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:124,height:12,fill:"currentColor",viewBox:"0 0 124 12",...e,children:[(0,s.jsx)("title",{children:"Novelship Logo"}
140),(0,s.jsx)("g",{fill:"#191B1B",clipPath:"url(#a)",children:(0,s.jsx)("path",{d:"M35.255 11.797 29.325.203h4.045l4.198 8.524L41.506.203h3.707l-5.515 11.594h-4.444ZM57.976.203v2.633h-8.488V4.55h8.288V7.2h-8.288V9.1h8.641v2.696H45.964V.203h12.012ZM63.246.203v8.711h7.922v2.883H59.676V.203h3.57ZM71.887 7.854v-.171h3.723c.046.686.445 1.839 3.386 1.839h.215c3.003 0 3.34-.608 3.34-1.231 0-.67-.353-1.107-2.988-1.17l-1.961-.046c-4.26-.125-5.562-1.59-5.562-3.397v-.14C72.04 1.807 73.067 0 78.246 0h1.057c5.393 0 6.619 1.916 6.619 3.662v.156h-3.708c-.061-.452-.322-1.388-3.294-1.388h-.245c-2.758 0-2.957.515-2.957.998s.291.966 2.635.998l1.915.03c4.29.094 6.022 1.138 6.022 3.445v.218c0 1.917-.95 3.88-6.68 3.88h-1.058c-5.975 0-6.665-2.618-6.665-4.145ZM87.56.203h3.57v4.223h7.662V.203h3.57v11.594h-3.57V7.231H91.13v4.566h-3.57V.203ZM107.644 11.797h-3.57V.203h3.57v11.594ZM112.904 7.932v3.865h-3.57V.203h8.549c4.091 0 5.317 1.651 5.317 3.771v.156c0 2.073-1.241 3.802-5.317 3.802h-4.979Zm0-2.602h4.918c1.119 0 1.655-.437 1.655-1.216v-.047c0-.779-.521-1.23-1.655-1.23h-4.918V5.33ZM3.984.203l7.277 7.293V.203h3.524v11.594h-3.524L3.524 4.114v7.683H0V.203h3.984ZM22.547.21h-6.033v11.604H28.58V.208h-6.033Zm3.148 2.623v3.656l-5.708-3.656h5.708ZM19.398 9.19V5.514l5.74 3.676h-5.74Z"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"a",children:(0,s.jsx)("path",{fill:"#fff",d:"M0 0h123.2v12H0z"})})})]});t.Z=e=>{let t=(0,r.usePathname)();return(0,s.jsx)(i.Z,{href:"/",children:["/"].includes(t)?(0,s.jsx)("h1",{"aria-label":"Search for sneakers, streetwear, collectibles and more",children:(0,s.jsx)(a,{...e})}):(0,s.jsx)(a,{...e})})}},96202:function(e,t,n){"use strict";n.d(t,{default:function(){return ey}});var s=n(5333),r=n(46353),i=n(88824),a=n(25013),l=n(1671),o=n(86587),c=n(96745),d=n(78423),u=n(95348),m=n(17956),h=n(84792),f=n(59907);let x={search:"",setSearch:()=>{},isSearching:!1,setIsSearching:()=>{},isLoadingMore:!1,searchProducts:{results:[],total:0,totalByClasses:{Sneakers:0,Apparel:0,Collectibles:0,"Trading Cards":0,All:0,"":0},searchProductsFound:!1},fetchSearchProducts:e=>{},loadMore:e=>{}},p=(0,r.createContext)(x);var g=()=>{let e=(0,r.useContext)(p);if(void 0===e)throw Error("useSearch must be used within a SearchContext");return e},v=e=>{let{closeSearchSidebar:t}=e,{i18n:n}=(0,l.mV)(),{search:i,setSearch:a,setIsSearching:d,searchProducts:u}=g(),x=(0,h.useRouter)(),p=e=>{d(!0),a(e)},v=e=>{13===e.charCode&&(t(),f.Z.productSearchView(i,u.searchProductsFound?u.total:0),x.push(`/browse?q=${i}`))};return(0,r.useLayoutEffect)(()=>{setTimeout(()=>{(0,m.tq)(window)&&0!==window.scrollY&&window.scrollTo(0,0)},100)},[]),(0,s.jsxs)("div",{className:"relative flex w-[85%]",children:[(0,s.jsx)(o.y5k,{className:"absolute left-1.5 top-2 h-5 text-ns-gray3 md:left-2.5 md:top-2.5 md:h-auto",size:28}),(0,s.jsx)("input",{className:"h-9 w-full rounded-[5px] border-solid border-ns-gray6 pl-9 pr-3 text-sm placeholder:text-ns-gray3 max-lg:text-base md:h-[50px] md:pl-11",value:i,placeholder:n._({id:"YIix5Y"}),onChange:e=>p(e.target.value),onKeyPress:e=>v(e),autoFocus:!0}),!!i&&(0,s.jsx)(c.Z,{className:"absolute right-0 top-2 h-5 w-auto p-2 md:top-0.5 md:h-auto md:px-3",onClick:()=>a(""),variant:"ghost",children:(0,s.jsx)(o.QAE,{size:28,className:"h-5 text-ns-gray3 md:h-auto"})})]})},w=n(86698),y=e=>{let{children:t}=e,[n,i]=(0,r.useState)(x.searchProducts),[a,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)(!1),[d,m]=(0,r.useState)(""),{currentCountry:h,user:g}=(0,u.Z)(),v={search:d,setSearch:m,isSearching:o,setIsSearching:c,isLoadingMore:a,searchProducts:n,fetchSearchProducts:e=>{let{search:t,...n}=e;c(!0),(0,w.t2)(t,n,{searchbar:!0,country:h,user:g}).then(e=>{i(e),f.Z.productSearch("Search",e.searchProductsFound?e.total:0,t)}).finally(()=>c(!1))},loadMore:e=>{let{search:t,...s}=e;l(!0),(0,w.t2)(t,s).then(e=>{let{results:t}=e;n.results.push(...t),i(n)}).finally(()=>l(!1))}};return(0,s.jsx)(p.Provider,{value:v,children:"function"==typeof t?t(v):t})},j=n(88978),b=n(50838);let _=e=>{let{title:t,children:n}=e;return(0,s.jsxs)("div",{className:"flex items-center justify-between p-5 pb-3",children:[(0,s.jsx)("div",{className:"font-bold",children:t}),n]})},k=e=>{let{title:t,showArrow:n,section:r}=e,{setIsSearching:i,setSearch:a}=g();return(0,s.jsx)(c.Z,{variant:"ghost",onClick:()=>{f.Z.click("Search Sidebar",{section:r,term:t}),i(!0),a(t)},className:"w-full px-0",children:(0,s.jsxs)("div",{className:"flex h-10 w-full items-center justify-between border-b border-ns-divider px-5",children:[(0,s.jsx)("div",{className:"text-sm font-semibold text-ns-gray3",children:t}),n&&(0,s.jsx)(j.Dli,{size:18,className:"text-ns-gray2"})]})})};var N=()=>{let{i18n:e}=(0,l.mV)(),[t,n]=(0,r.useState)((0,b.cacheGet)("recent_searches",[])||[]),{searchesTrending:i=[]}=(0,u.Z)();return(0,s.jsxs)("div",{children:[!!t.length&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{title:e._({id:"+7PXe8"}),children:(0,s.jsx)(c.Z,{className:"w-auto",variant:"ghost",size:"sm",onClick:()=>
140{(0,b.cacheRemove)("recent_searches"),n([])},children:(0,s.jsx)("div",{className:"font-medium",children:(0,s.jsx)(l.cC,{id:"cmVDaY"})})})}),t.map(e=>(0,s.jsx)(k,{title:e,section:"RECENT SEARCHES"},e)),(0,s.jsx)("div",{className:"mt-3"})]}),!!i.length&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{title:e._({id:"CL3k1D"})}),i.map(e=>(0,s.jsx)(k,{title:e,showArrow:!0,section:"TRENDING"},e))]})]})},C=n(51801),S=n(81540),A=n(89206),Z=n(14574),T=n(74704),P=n(70624),I=e=>{let{isInstantAvailable:t,view:n="full",size:r="md",className:i,...a}=e,{i18n:o}=(0,l.mV)();return t?(0,s.jsx)("div",{className:(0,T.cn)("flex items-center text-center text-[11px] font-semibold uppercase text-ns-green lg:text-xs",i),title:o._({id:"8vy7iQ"}),...a,children:"icon"===n?(0,s.jsxs)("div",{children:[(0,s.jsx)(P.BKA,{size:"sm"===r?14:20,className:"hidden md:block"}),(0,s.jsx)(P.BKA,{size:"sm"===r?12:16,className:"md:hidden"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.BKA,{size:"sm"===r?12:14,className:"hidden md:block"}),(0,s.jsx)(P.BKA,{size:"sm"===r?10:12,className:"md:hidden"}),(0,s.jsx)("div",{children:"full"===n?(0,s.jsx)(l.cC,{id:"8vy7iQ"}):(0,s.jsx)(l.cC,{id:"csDS2L"})})]})}):(0,s.jsx)("div",{className:"h-[18px] w-full"})},z=n(22070),E=e=>{let{product:t,onProductClick:n}=e,{currentLanguage:r}=(0,u.Z)();return(0,s.jsxs)(Z.Anchor,{href:`/${t.name_slug}`,onClick:n,children:[(0,s.jsxs)("div",{className:"flex w-full p-5",children:[(0,s.jsxs)("div",{className:"relative mr-5 min-w-[74px] pt-2 text-center",children:[(0,s.jsx)(I,{className:"absolute right-0 top-0 justify-end",isInstantAvailable:t.is_instant_available,view:"icon",size:"sm"}),(0,s.jsx)(z.Z,{className:"h-10 min-w-[74px] object-contain",src:t.image,height:40,width:74,alt:t.name})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-xs text-ns-gray2",children:t.category_level_1}),(0,s.jsx)("div",{className:"pr-3 text-sm font-semibold leading-5 text-ns-black3",children:(0,A.JA)(t.name,t,r)})]})]}),(0,s.jsx)("div",{className:"h-px w-full bg-ns-divider"})]})},M=n(64298);let D=["Sneakers","Apparel","Collectibles","Trading Cards","All"];var O=e=>{let{search:t,resultsCount:n,onSearchResultClick:r}=e;return(0,s.jsx)("div",{className:"w-full",children:D.map((e,i)=>!!n?.[e]&&(0,s.jsxs)(Z.Anchor,{onClick:()=>{f.Z.searchSideBarSuggestionClick(t,{"Suggestion Type":"category","Suggestion Text":"All"===e?`All results for ${t}`:`${t} in ${e}`,"Click Position":i}),r()},href:`/${"All"===e?"browse":(0,M.lV)(e).toLowerCase()}?q=${t}`,children:[(0,s.jsxs)("div",{className:"flex h-[60px] w-full items-center justify-between px-5",children:[(0,s.jsxs)("div",{children:["All"!==e?(0,s.jsx)("div",{className:"text-sm font-semibold",children:(0,s.jsx)(l.cC,{id:"j83RuO",values:{search:t,productClass:e},components:{0:(0,s.jsx)("span",{className:"text-ns-gray3"})}})}):(0,s.jsxs)("div",{className:"text-sm font-semibold",children:[(0,s.jsx)("span",{className:"text-ns-gray3",children:(0,s.jsx)(l.cC,{id:"WFycTb"})}),"\xa0",t]}),(0,s.jsx)("div",{className:"mt-1 text-xs text-ns-gray3",children:(0,s.jsx)(l.cC,{id:"ZBJMAl",values:{0:n[e]}})})]}),(0,s.jsx)(j.Dli,{size:20,className:"text-ns-black"})]}),(0,s.jsx)("div",{className:"h-px w-full bg-ns-divider"})]},e))})},B=e=>{let{search:t,onProductRequestClick:n}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"bg-ns-gray8 p-5 text-center font-semibold text-ns-gray2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(l.cC,{id:"ihsTyq"})}),(0,s.jsxs)("div",{className:"my-1 text-sm uppercase",children:["â",t,"â"]}),(0,s.jsxs)("div",{className:"mb-2 text-sm font-normal",children:[(0,s.jsx)(l.cC,{id:"9oSZgl",components:{0:(0,s.jsx)(Z.Anchor,{href:"/product-request",className:"font-semibold text-ns-blue underline",onClick:()=>n()})}})," "]})]}),(0,s.jsx)("div",{className:"h-px w-full bg-ns-divider"})]})},F=e=>{let{closeSearchSidebar:t}=e,{fetchSearchProducts:n,searchProducts:i,isLoadingMore:a,isSearching:o,loadMore:d,search:u}=g(),m=(e,n)=>{t(),f.Z.searchSideBarProductClick(u,e,n)};return(0,C.Z)(()=>{u&&n({search:u})},1200,[u]),(0,r.useEffect)(()=>{o||f.Z.productSearchView(u,i.searchProductsFound?i.total:0)},[]),(0,s.jsxs)("div",{children:[o?(0,s.jsx)("div",{className:"flex w-full justify-center p-5",children:(0,s.jsx)(j.koH,{className:"m-1.5 animate-spin"})}):i.searchProductsFound?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(O,{search:u,onSearchResultClick:t,resultsCount:i.totalByClasse
140s}),(0,s.jsx)("div",{className:"mx-4 mt-5 font-bold",children:(0,s.jsx)(l.cC,{id:"KHkfLh"})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(B,{search:u,onProductRequestClick:t}),!!i.results.length&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"px-5 py-3 font-bold",children:(0,s.jsx)(l.cC,{id:"hU7w3j"})}),(0,s.jsx)("div",{className:"h-px w-full bg-ns-divider"})]})]}),!o&&i.results.map((e,t)=>(0,s.jsx)(E,{product:e,onProductClick:()=>{m(e,t)}},e.id)),(0,s.jsx)("div",{className:"p-5",children:!o&&i.results&&i.results.length<i.total&&i.results.length<S.O.NEXT_PUBLIC_TYPESENSE_PAGING_LIMIT&&(0,s.jsx)(c.Z,{className:"w-full bg-white",onClick:()=>{d({page:i.results.length/20,search:u})},variant:"white",size:"md",loading:a,children:(0,s.jsx)(l.cC,{id:"nAaeuY"})})})]})};let U=()=>(0,s.jsx)(s.Fragment,{});function R(e){let{showIcon:t=!1}=e,{searchSideBarOpen:n,setSearchSideBarOpen:r}=(0,u.Z)(),i=document.documentElement&&document.documentElement.scrollTop<=26;return(0,s.jsx)(y,{children:e=>{let{search:a}=e;return(0,s.jsxs)(d.yo,{open:n,onOpenChange:r,children:[(0,s.jsx)(d.aM,{asChild:!0,children:t?(0,s.jsx)(c.Z,{className:"h-auto border border-ns-red p-0",variant:"ghost",children:(0,s.jsx)("div",{className:"flex w-full items-center",children:(0,s.jsx)(o.y5k,{size:24,color:"#36363e",className:"ml-auto"})})}):(0,s.jsx)(c.Z,{className:"block h-auto w-full p-0",variant:"ghost",children:(0,s.jsxs)("div",{className:"flex items-center gap-1 rounded-full border border-ns-charcoal-gray px-2 py-1 lg:border-2 lg:border-ns-black lg:px-6 lg:py-2",children:[(0,s.jsx)(o.y5k,{size:20,className:"lg:hidden",color:"#36363e"}),(0,s.jsx)(o.y5k,{size:24,className:"max-lg:hidden",color:"#36363e"}),(0,s.jsx)("div",{className:"text-sm font-normal text-ns-slate-gray lg:text-base lg:font-medium",children:(0,s.jsx)(l.cC,{id:"A1taO8"})})]})})}),(0,s.jsx)(d.ue,{overlayClassName:"bg-black/50",className:"w-full overflow-y-auto border-none bg-white p-0 lg:min-w-[525px]",children:(0,s.jsxs)("div",{children:[i&&((0,m.tq)(window)?(0,s.jsx)(U,{}):(0,s.jsx)("div",{className:"h-[26px] lg:h-7"})),(0,s.jsxs)("div",{className:"flex items-center justify-between px-5 py-[5px] md:py-[7px] lg:py-[9px] xl:py-[14px]",children:[(0,s.jsx)(v,{closeSearchSidebar:()=>r(!1)}),(0,s.jsx)(d.sw,{asChild:!0,children:(0,s.jsx)(c.Z,{className:"ml-3 w-max font-semibold underline",variant:"ghost",size:"md",children:(0,s.jsx)(l.cC,{id:"qz/pK5"})})})]}),(0,s.jsx)("div",{className:"h-px w-full bg-ns-divider"}),(0,s.jsx)("div",{className:"h-[calc(100vh-72px)] overflow-y-auto md:h-[calc(100vh-76px)] lg:h-[calc(100vh-82px)] xl:h-[calc(100vh-106px)]",children:a?(0,s.jsx)(F,{closeSearchSidebar:()=>r(!1)}):(0,s.jsx)(N,{})})]})})]})}})}var L=n(42167),$=n(58738),q=n(65911),X=n(34778),H=n(94929),G=n(85354);let V=e=>[{key:"trending",label:e("Deals/Popular"),url:"/collection/trending-deals",items:[{name:e("Trending Deals"),url:"/collection/trending-deals",key:"Trending Deals"},{name:e("Under Retail"),url:"/collection/under-retail",key:"Under Retail"},{name:e("Nike Below US$100"),url:"/sneakers/nike?lowest_listing_price=[%20<%20130]",key:"Nike Below US$100"},{name:e("adidas Below US$100"),url:"/sneakers/adidas?lowest_listing_price=[%20<%20130]",key:"adidas Below US$100"},{name:e("Jordan Below US$100"),url:"/sneakers/jordan?lowest_listing_price=[%20<%20130]",key:"Jordan Below US$100"},{name:e("New Balance Below US$100"),url:"/sneakers/new-balance?lowest_listing_price=[%20<%20130]",key:"New Balance Below US$100"},{name:e("ASICS Below US$100"),url:"/sneakers/asics?lowest_listing_price=[%20<%20130]",key:"ASICS Below US$100"},{name:e("Luxury Sneakers Below US$400"),url:"/collection/affordable-luxury-sneakers?lowest_listing_price=[%20<%20521]",key:"Luxury Sneakers Below US$400"}]},{key:"sports",label:e("Sports"),url:"/collection/running-shoes",items:[{name:e("Basketball Shoes"),url:"/collection/basketball-shoes",key:"Basketball Shoes"},{name:e("Running Shoes"),url:"/collection/running-shoes",key:"Running Shoes"},{name:e("Soccer Shoes"),url:"/collection/soccer-shoes",key:"Soccer Shoes"},{name:e("Badminton Shoes"),url:"/collection/badminton-shoes",key:"Badminton Shoes"},{name:e("Tennis Shoes"),url:"/collection/tennis-shoes",key:"Tennis Shoes"},{name:e("Skateboard Shoes"),url:"/collection/skateboard-shoes",key:"Skateboard Shoes"}
140,{name:e("Volleyball Shoes"),url:"/collection/volleyball-shoes",key:"Volleyball Shoes"},{name:e("Baseball Shoes"),url:"/collection/baseball-shoes",key:"Baseball Shoes"},{name:e("Cycling Shoes"),url:"/collection/cycling-shoes",key:"Cycling Shoes"}]},{key:"nike",label:e("Nike"),url:"/sneakers/nike",items:[{name:e("Air Max"),url:"/sneakers/nike/air-max",key:"Air Max"},{name:e("Air Force"),url:"/sneakers/nike/air-force",key:"Air Force"},{name:e("Dunk"),url:"/sneakers/nike/dunk",key:"Dunk"},{name:e("Pegasus"),url:"/sneakers/nike/pegasus",key:"Pegasus"},{name:e("Vomero"),url:"/sneakers/nike/vomero",key:"Vomero"},{name:e("P-6000"),url:"/sneakers/nike/p-6000",key:"P-6000"},{name:e("SB"),url:"/sneakers/nike/sb",key:"SB"},{name:e("JA"),url:"/sneakers/nike/ja",key:"JA"},{name:e("Metcon"),url:"/sneakers/nike/metcon",key:"Metcon"},{name:e("Mercurial"),url:"/sneakers/nike/mercurial",key:"Mercurial"}]},{key:"jordan",label:e("Jordan"),url:"/sneakers/jordan",items:[{name:e("Jordan 1"),url:"/sneakers/jordan/jordan-1",key:"Jordan 1"},{name:e("Jordan 4"),url:"/sneakers/jordan/jordan-4",key:"Jordan 4"},{name:e("Jordan 3"),url:"/sneakers/jordan/jordan-3",key:"Jordan 3"},{name:e("Jordan 5"),url:"/sneakers/jordan/jordan-5",key:"Jordan 5"},{name:e("Jordan 6"),url:"/sneakers/jordan/jordan-6",key:"Jordan 6"},{name:e("Jordan 11"),url:"/sneakers/jordan/jordan-11",key:"Jordan 11"},{name:e("Tatum"),url:"/sneakers/jordan/tatum",key:"Tatum"},{name:e("Jordan 12"),url:"/sneakers/jordan/jordan-12",key:"Jordan 12"},{name:e("Jordan 13"),url:"/sneakers/jordan/jordan-13",key:"Jordan 13"},{name:e("Jumpman"),url:"/sneakers/jordan/jumpman",key:"Jumpman"}]},{key:"adidas",label:e("Adidas"),url:"/sneakers/adidas",items:[{name:e("Samba"),url:"/sneakers/adidas/samba",key:"Samba"},{name:e("Yeezy"),url:"/sneakers/adidas/yeezy",key:"Yeezy"},{name:e("Adizero"),url:"/sneakers/adidas/adizero",key:"Adizero"},{name:e("Gazelle"),url:"/sneakers/adidas/gazelle",key:"Gazelle"},{name:e("Spezial"),url:"/sneakers/adidas/spezial",key:"Spezial"},{name:e("Superstar"),url:"/sneakers/adidas/superstar",key:"Superstar"},{name:e("Ultraboost"),url:"/sneakers/adidas/ultraboost",key:"Ultraboost"},{name:e("Forum"),url:"/sneakers/adidas/forum",key:"Forum"},{name:e("NMD"),url:"/sneakers/adidas/nmd",key:"NMD"},{name:e("Stan Smith"),url:"/sneakers/adidas/stan-smith",key:"Stan Smith"}]},{key:"new balance",label:e("New Balance"),url:"/sneakers/new-balance",items:[{name:e("1906"),url:"/sneakers/new-balance/1906",key:"1906"},{name:e("2002R"),url:"/sneakers/new-balance/2002r",key:"2002R"},{name:e("9060"),url:"/sneakers/new-balance/9060",key:"9060"},{name:e("530"),url:"/sneakers/new-balance/530",key:"530"},{name:e("550"),url:"/sneakers/new-balance/550",key:"550"},{name:e("574"),url:"/sneakers/new-balance/574",key:"574"},{name:e("327"),url:"/sneakers/new-balance/327",key:"327"},{name:e("990"),url:"/sneakers/new-balance/990",key:"990"},{name:e("Fuelcell Rebel"),url:"/sneakers/new-balance/fuelcell-rebel",key:"Fuelcell Rebel"},{name:e("XC-72"),url:"/sneakers/new-balance/xc-72",key:"XC-72"}]},{key:"asics",label:e("ASICS"),url:"/sneakers/asics",items:[{name:e("Gel Kayano"),url:"/sneakers/asics/gel-kayano",key:"Gel Kayano"},{name:e("Gel NYC"),url:"/sneakers/asics/gel-nyc",key:"Gel NYC"},{name:e("Gel 1130"),url:"/sneakers/asics/gel-1130",key:"Gel 1130"},{name:e("Gel Nimbus"),url:"/sneakers/asics/gel-nimbus",key:"Gel Nimbus"},{name:e("Gel Cumulus"),url:"/sneakers/asics/gel-cumulus",key:"Gel Cumulus"},{name:e("Novablast"),url:"/sneakers/asics/novablast",key:"Novablast"},{name:e("GT-2160"),url:"/sneakers/asics/gt-2160",key:"GT-2160"},{name:e("Gel Kahana"),url:"/sneakers/asics/gel-kahana",key:"Gel Kahana"},{name:e("Gel Sonoma"),url:"/sneakers/asics/gel-sonoma",key:"Gel Sonoma"},{name:e("Gel Quantum"),url:"/sneakers/asics/gel-quantum",key:"Gel Quantum"}]},{key:"onitsuka tiger",label:e("Onitsuka Tiger"),url:"/sneakers/onitsuka-tiger",items:[{name:e("Mexico 66"),url:"/sneakers/onitsuka-tiger/mexico-66",key:"Mexico 66"},{name:e("Tokuten"),url:"/sneakers/onitsuka-tiger/tokuten",key:"Tokuten"},{name:e("Runspark"),url:"/sneakers/onitsuka-tiger/runspark",key:"Runspark"},{name:e("Advanti"),url:"/sneakers/onitsuka-tiger/advanti",key:"Advanti"},{name:e("GSM"),url:"/sneakers/onitsuka-tiger/gsm",key:"GSM"},{name:e("Serrano"),url:"/sneakers/onitsuka-tiger/serrano",key:"Serrano"},{name:e("Dualio"),url:"/sneakers/onitsuka-tiger/dualio",key:"Dualio"}
140,{name:e("California 78"),url:"/sneakers/onitsuka-tiger/california-78",key:"California 78"},{name:e("Track Trainer"),url:"/sneakers/onitsuka-tiger/track-trainer",key:"Track Trainer"},{name:e("Sclaw"),url:"/sneakers/onitsuka-tiger/sclaw",key:"Sclaw"}]},{key:"other brands",label:e("Other Brands"),url:"/browse",items:[{name:e("Puma"),url:"/sneakers/puma",key:"Puma"},{name:e("Converse"),url:"/sneakers/converse",key:"Converse"},{name:e("Vans"),url:"/sneakers/vans",key:"Vans"},{name:e("Crocs"),url:"/sneakers/crocs",key:"Crocs"},{name:e("Dr. Martens"),url:"/sneakers/dr.-martens",key:"Dr. Martens"},{name:e("Li-Ning"),url:"/sneakers/li-ning",key:"Li-Ning"},{name:e("Salomon"),url:"/sneakers/salomon",key:"Salomon"},{name:e("Reebok"),url:"/sneakers/reebok",key:"Reebok"},{name:e("Under Armour"),url:"/sneakers/under-armour",key:"Under Armour"},{name:e("HOKA"),url:"/sneakers/hoka",key:"HOKA"}]},{key:"apparel",label:e("Apparel"),url:"/apparel",items:[{name:e("Tops"),url:"/apparel/tops",key:"Tops"},{name:e("Outerwear"),url:"/apparel/outerwear",key:"Outerwear"},{name:e("Bottoms"),url:"/apparel/bottoms",key:"Bottoms"},{name:e("Headwear"),url:"/apparel/headwear",key:"Headwear"},{name:e("One Piece"),url:"/apparel/one-piece",key:"One Piece"},{name:e("Inner wear"),url:"/apparel/inner-wear",key:"Inner wear"}]},{key:"accessories",label:e("Accessories"),url:"/apparel/accessories",items:[{name:e("Pop Mart"),url:"/collectibles/popmart",key:"Pop Mart"},{name:e("Bearbrick"),url:"/collectibles/bearbrick",key:"Bearbrick"},{name:e("Sunglasses"),url:"/apparel/accessories/sunglasses",key:"Sunglasses"},{name:e("Socks"),url:"/apparel/accessories/socks",key:"Socks"},{name:e("Bags"),url:"/apparel/bags",key:"Bags"},{name:e("Casio Watch"),url:"/collectibles/casio",key:"Casio Watch"}]},{key:"men",label:e("Men"),url:"/sneakers?gender=[men]",items:[{name:e("Sneakers"),url:"/sneakers?gender=[men]",key:"Sneakers"},{name:e("Apparel"),url:"/apparel?gender=[men]",key:"Apparel"},{name:e("Accessories"),url:"/apparel/accessories?gender=[men]",key:"Accessories"}]},{key:"women",label:e("Women"),url:"/sneakers?gender=[women]",items:[{name:e("Sneakers"),url:"/sneakers?gender=[women]",key:"Sneakers"},{name:e("Apparel"),url:"/apparel?gender=[women]",key:"Apparel"},{name:e("Accessories"),url:"/apparel/accessories?gender=[women]",key:"Accessories"}]},{key:"kids",label:e("Kids"),url:"/sneakers?gender=[ps,youth]",items:[{name:e("Sneakers"),url:"/sneakers?gender=[ps,youth]",key:"Sneakers"},{name:e("Apparel"),url:"/apparel?gender=[ps,youth]",key:"Apparel"},{name:e("Accessories"),url:"/apparel/accessories?gender=[ps,youth]",key:"Accessories"}]}];var Q=n(38031),J=n(80392),W=n(20557),Y=n(43769),K=n(75552),ee=n(90723),et=n(52006);function en(e){let{onClose:t}=e;return(0,s.jsxs)("div",{className:"mx-5 flex min-h-[72px] items-center justify-between border-b border-ns-gray6",children:[(0,s.jsx)(et.Z,{href:"/",children:(0,s.jsx)(ee.default,{src:"/images/ns-black-logo.svg",alt:"Novelship logo",height:14,width:143})}),(0,s.jsx)("button",{onClick:t,children:(0,s.jsx)(o.QAE,{color:"black",size:24,"aria-label":"close side menu"})})]})}var es=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_4512_7971)",children:(0,s.jsx)("path",{d:"M3.63428 11.8012L4.66678 12.8337L10.5001 7.00033L4.66678 1.16699L3.63428 2.19949L8.43511 7.00033L3.63428 11.8012Z",fill:"#0A0A0A"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_4512_7971",children:(0,s.jsx)("rect",{width:"14",height:"14",fill:"white"})})})]}),er=n(95108);function ei(e){let{menuKey:t,label:n,items:r,toggleSideMenu:i,isNestedMenuOpen:a,toggleIsNestedMenuOpen:l,onCloseNestedMenu:o}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"cursor-pointer px-5 font-semibold",onClick:()=>{l(),f.Z.click("Dashboard Menu",{item:t})},children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:(0,T.cn)("text-sm font-medium",a&&"font-bold"),children:n}),(0,s.jsx)(es,{})]})}),(0,s.jsxs)("aside",{className:(0,T.cn)("fixed top-0 z-50 size-full bg-white text-base transition duration-200 ease-in-out",a?"translate-x-0":"-translate-x-full"),children:[(0,s.jsx)(en,{onClose:()=>{i(),o()}}),(0,s.jsxs)("div",{className:(0,T.cn)("h-[calc(100vh-72px)] w-full overflow-y-auto px-5"),children:[(0,s.jsxs)("div",{className:"mb-8 mt-6 flex gap-6",children:[(0,s.jsx)(er.lrP,{className:"cursor-pointer",onClick:()=>o()}),(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)("div",{className:(0,T.cn)("mb-2 text-sm font-bold"),children:n}),r?.length>0&&r.map((e,n)=>(0,s.jsx)(et.Z,{onClick:()=>{f.Z.click("Sidebar",{Category:t,"Sub-Category":e.key}),i(),o()},className:"text-sm font-medium",href:e.url,children:e.name},n))]})]}),(0,s.jsx)("div",{className:"sidemenu-bottom-padding"})]})]})]})}var ea=n(64891);let el=()=>{let{currentCurrency:e}=(0,u.Z)();return(0,s.jsx)(et.Z,{href:"/referrals",className:"mx-5 rounded bg-ns-yellow",children:(0,s.jsxs)("div",{className:"flex items-center justify-center gap-4 px-4 py-2.5",children:[(0,s.jsx)(z.Z,{src:"/icons/referral_gift.svg",alt:"referral gift logo",width:32,height:32}),(0,s.jsx)("div",{className:"text-sm font-bold",children:(0,s.jsx)(l.cC,{id:"xhoRSl",values:{0:(0,W.X)("referrer",e)}})})]})})};function eo(e){let{isSideMenuOpen:t,toggleSideMenu:n,transLayouts:i,openNestedMenu:a,setOpenNestedMenu:l}=e,{isAuthenticated:o,currentLanguage:c}=(0,u.Z)(),d=(0,h.useRouter)(),m=e=>{let t=i[e]||e;
140if("Deals/Popular"===e&&t.includes("/")){let e=t.split("/");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"text-ns-red",children:e[0]}),"/",e[1]]})}return t},x=V(m);(0,r.useEffect)(()=>(t?document.body.classList.add("overflow-hidden"):document.body.classList.remove("overflow-hidden"),()=>{document.body.classList.remove("overflow-hidden")}),[t]),(0,r.useEffect)(()=>{if(!t&&!a)return;window.history.pushState({mobSideNav:!0},"");let e=e=>{a?l(null):n(),window.history.pushState({mobSideNav:!1},"")};return window.addEventListener("popstate",e),()=>{window.removeEventListener("popstate",e)}},[t,a,n]);let p=e=>l(a===e?null:e),g=()=>l(null);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("aside",{className:(0,T.cn)("fixed left-0 top-0 z-50 size-full bg-white text-base transition duration-200 ease-in-out",t?"translate-x-0":"-translate-x-full"),children:[(0,s.jsx)(en,{onClose:n}),(0,s.jsx)("div",{className:"flex h-[calc(100vh-72px)] overflow-y-auto",children:(0,s.jsxs)("div",{className:"flex w-full flex-col gap-4 first:mt-4",children:[o&&(0,s.jsx)(el,{}),(0,s.jsx)("div",{className:"flex flex-col gap-4",children:x.map(e=>(0,s.jsx)(ei,{menuKey:e.key,label:e.label,items:e.items,toggleSideMenu:n,isNestedMenuOpen:a===e.key,toggleIsNestedMenuOpen:()=>p(e.key),onCloseNestedMenu:g},e.key))}),(0,s.jsxs)("div",{className:"flex flex-col gap-4 px-5 text-sm font-medium",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4",onClick:n,children:[(0,s.jsx)("div",{className:"border-y border-ns-gray6 py-4",children:(0,s.jsx)(et.Z,{href:"/mobile-app",onClick:()=>f.Z.click("Dashboard Menu",{item:"Download App"}),children:(0,s.jsx)("div",{children:m("Download App")})})}),(0,s.jsx)(et.Z,{href:"/about",onClick:()=>f.Z.click("Dashboard Menu",{item:"About Us"}),children:(0,s.jsx)("div",{children:m("About Us")})}),(0,s.jsx)(et.Z,{href:"/authentication",onClick:()=>f.Z.click("Dashboard Menu",{item:"Authenticity"}),children:(0,s.jsx)("div",{children:m("Authenticity")})}),(0,s.jsx)(et.Z,{href:"/about/reviews",onClick:()=>f.Z.click("Dashboard Menu",{item:"Reviews"}),children:(0,s.jsx)("div",{children:m("Reviews")})}),(0,s.jsx)(et.Z,{href:"/product-request",onClick:()=>f.Z.click("Dashboard Menu",{item:"Product Request"}),children:(0,s.jsx)("div",{children:m("Product Request")})}),(0,s.jsx)(H.default,{href:(0,J.e)("main",c),onClick:()=>f.Z.click("Dashboard Menu",{item:"Support"}),target:"_blank",children:(0,s.jsx)("div",{children:m("Support")})}),(0,s.jsx)(et.Z,{href:"/support",onClick:()=>{f.Z.contactUsClick(),f.Z.click("Dashboard Menu",{item:"Contact"})},children:(0,s.jsx)("div",{children:m("Contact")})}),(0,s.jsx)(et.Z,{href:"/sell",onClick:()=>{f.Z.buttonClick("Sell",{Location:"Side Menu"}),f.Z.click("Dashboard Menu",{item:"Sell"})},children:(0,s.jsx)("div",{children:m("Sell")})}),(0,s.jsx)(et.Z,{href:(0,ea.tx)({language:c}),onClick:()=>f.Z.click("Dashboard Menu",{item:"News"}),children:(0,s.jsx)("div",{children:m("News")})}),o&&(0,s.jsx)("div",{className:"flex flex-col gap-4 border-t border-ns-gray6 pt-4",children:G.r.map((e,t)=>(0,s.jsx)(et.Z,{href:e.href,onClick:()=>f.Z.click("Dashboard Menu",{item:e.name}),children:(0,s.jsx)("div",{children:m(e.name)})},t))}),(0,s.jsx)("div",{className:"flex flex-col gap-4 border-y border-ns-gray6 py-4",children:o?(0,s.jsx)("div",{className:"flex cursor-pointer items-center",children:(0,s.jsx)("div",{onClick:()=>{(0,Q.k)(),f.Z.click("Dashboard Menu",{item:"Logout"})},children:m("Logout")})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"cursor-pointer",onClick:()=>{d.push((0,L.Xz)({page:"login"})),f.Z.click("Dashboard Menu",{item:"Login"})},children:m("Log In")}),(0,s.jsx)("div",{className:"cursor-pointer",onClick:()=>{d.push((0,L.Xz)({page:"signup"})),f.Z.click("Dashboard Menu",{item:"Signup"})},children:m("Sign Up")})]})})]}),(0,s.jsx)("div",{onClick:()=>f.Z.click("Dashboard Menu",{item:"LanguageSwitcher"}),className:"pr-3",children:(0,s.jsx)(Y.W,{labelId:"select language",dropdownArrowColor:"black",className:"bg-transparent text-sm"})}),!o&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{onClick:()=>f.Z.click("Dashboard Menu",{item:"RegionSelector"}),className:"pr-3",children:(0,s.jsx)(K.Z,{onUpdate:()=>n(),dropdownArrowColor:"black",className:"bg-transparent text-sm"})}),(0,s.jsx)("div",{className:"h-divider"})]}),(0,s.jsx)("div",{className:"sidemenu-bottom-padding"})]})]})})]}),t?(0,s.jsx)("div",{onClick:n,className:"fixed right-0 top-0 z-[9] h-screen w-screen bg-ns-black opacity-60"}):null]})}let ec=()=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,s.jsx)("path",{d:"M3 20V18H21V20H3ZM3 13V11H21V13H3ZM3 6V4H21V6H3Z",fill:"#0A0A0A"})}),ed=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",children:[(0,s.jsx)("rect",{width:"18",height:"18",transform:"translate(0.75)",fill:"white"}),(0,s.jsx)("circle",{cx:"9.75",cy:"9",r:"6.75",fill:"white",stroke:"#0A0A0A",strokeWidth:"1.5"}
140),(0,s.jsx)("path",{d:"M9.75 4.5V8.68934C9.75 8.88825 9.82902 9.07902 9.96967 9.21967L12 11.25",stroke:"#0A0A0A",strokeWidth:"1.5"})]});function eu(e){let{transLayouts:t,isSideMenuOpen:n,toggleSideMenu:r,openNestedMenu:i,setOpenNestedMenu:a}=e,{currentLanguage:o}=(0,u.Z)(),c=(0,h.usePathname)(),d=(0,h.useParams)(),m=(0,$.g)(c);return(0,s.jsx)(X.Z,{className:"w-full",children:(0,s.jsxs)("div",{className:"block border-b border-b-ns-divider bg-white lg:hidden",children:[(0,s.jsx)("div",{className:"flex h-[52px] w-full items-center justify-between gap-4 px-4",children:d.product?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{className:"flex h-full cursor-pointer items-center justify-center font-bold outline-none","aria-label":"Toggle Side Menu",onClick:()=>r(!0),children:(0,s.jsx)(ec,{})}),(0,s.jsx)("div",{className:"flex h-full flex-1 items-center justify-center",children:(0,s.jsx)(q.Z,{height:13,width:133})}),(0,s.jsx)("div",{className:"flex items-center gap-4",children:m?(0,s.jsx)(Z.Anchor,{href:(0,J.e)("buyers_guide",o),onClick:()=>f.Z.click("Navbar",{"Item Name":"FAQ"}),className:"flex items-center",children:(0,s.jsx)("div",{className:"text-sm font-semibold leading-[10px]",children:(0,s.jsx)(l.cC,{id:"/lDBHm"})})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(R,{showIcon:!0}),"/"===(0,L.gr)(c)&&(0,s.jsxs)(et.Z,{href:"recently-viewed",className:"flex flex-col items-center justify-center",onClick:()=>f.Z.click("Navbar",{"Item Name":"Recently Viewed"}),children:[(0,s.jsx)(ed,{}),(0,s.jsx)("div",{className:"text-xs font-normal leading-[10px]",children:(0,s.jsx)(l.cC,{id:"vXtpAZ"})})]})]})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{className:"flex h-full cursor-pointer items-center justify-center font-bold outline-none","aria-label":"Toggle Side Menu",onClick:()=>r(!0),children:(0,s.jsx)(ec,{})}),(0,s.jsx)("div",{className:"flex h-full items-center justify-center",children:(0,s.jsx)(q.Z,{height:13,width:133})}),m?(0,s.jsx)("div",{className:"ml-auto flex items-center justify-end",children:(0,s.jsx)(Z.Anchor,{href:(0,J.e)("buyers_guide",o),onClick:()=>f.Z.click("Navbar",{"Item Name":"FAQ"}),children:(0,s.jsx)("div",{className:"text-sm font-semibold leading-[10px]",children:(0,s.jsx)(l.cC,{id:"/lDBHm"})})})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(R,{})}),"/"===(0,L.gr)(c)&&(0,s.jsxs)(et.Z,{href:"recently-viewed",className:"flex flex-col items-center justify-center",onClick:()=>f.Z.click("Navbar",{"Item Name":"Recently Viewed"}),children:[(0,s.jsx)(ed,{}),(0,s.jsx)("div",{className:"text-xs font-normal leading-[10px]",children:(0,s.jsx)(l.cC,{id:"vXtpAZ"})})]})]})]})}),(0,s.jsx)(eo,{isSideMenuOpen:n,toggleSideMenu:r,transLayouts:t,openNestedMenu:i,setOpenNestedMenu:a})]})})}let em=e=>{let{children:t}=e;return(0,s.jsx)("div",{className:"relative flex h-[38px] w-full items-center justify-start pl-3 pr-4 text-left !font-normal hover:bg-ns-gray7 [&_*]:text-[13px] [&_*]:leading-[0.02em]",children:t})};function eh(){let{currentLanguage:e}=(0,u.Z)();return(0,s.jsxs)("div",{className:"mt-3 flex bg-white text-ns-black2 shadow-sm",children:[(0,s.jsx)("div",{className:"relative border border-ns-divider",children:(0,s.jsxs)("div",{className:"flex w-[128px] grow flex-col flex-wrap",children:[(0,s.jsx)(Z.Anchor,{href:"/about",children:(0,s.jsx)(em,{children:(0,s.jsx)(l.cC,{id:"7i8j3G"})})}),(0,s.jsx)(Z.Anchor,{href:"/authentication",children:(0,s.jsx)(em,{children:(0,s.jsx)(l.cC,{id:"zX8udT"})})}),(0,s.jsx)(Z.Anchor,{href:"/careers",children:(0,s.jsx)(em,{children:(0,s.jsx)(l.cC,{id:"V+D/YP"})})}),(0,s.jsx)(Z.Anchor,{href:"/about/reviews",children:(0,s.jsx)(em,{children:(0,s.jsx)(l.cC,{id:"cvagGg"})})})]})}),(0,s.jsx)("div",{className:"relative border border-ns-divider",children:(0,s.jsxs)("div",{className:"flex w-[128px] grow flex-col flex-wrap",children:[(0,s.jsx)(Z.Anchor,{href:(0,J.e)("buyers_guide",e),children:(0,s.jsx)(em,{children:(0,s.jsx)(l.cC,{id:"2nnMjC"})})}),(0,s.jsx)(Z.Anchor,{href:(0,J.e)("sellers_guide",e),children:(0,s.jsx)(em,{children:(0,s.jsx)(l.cC,{id:"4cGma6"})})}),(0,s.jsx)(Z.Anchor,{href:(0,J.e)("main",e),children:(0,s.jsx)(em,{children:(0,s.jsx)(l.cC,{id:"XYLcNv"})})})]})})]})}let ef=()=>{let{currentCurrency:e}=(0,u.Z)();return(0,s.jsx)("div",{className:"rounded bg-ns-gray7",children:(0,s.jsxs)("div",{className:"flex items-center justify-center px-2 py-1.5 lg:px-3 lg:py-2",children:[(0,s.jsx)(er.a_2,{size:16}),(0,s.jsx)("div",{className:"ml-2 font-bold",children:(0,s.jsx)(l.cC,{id:"SZNPHa",values:{0:(0,W.X)("referrer",e)}})})]})})};function ex(){let{isAuthenticated:e,currentLanguage:t}=(0,u.Z)(),n=(0,h.useRouter)();return(0,$.Z)()?(0,s.jsx)("nav",{className:"hidden bg-white px-3 shadow-sm lg:block lg:shadow-none",children:(0,s.jsx)(X.Z,{children:(0,s.jsxs)("div",{className:"flex h-0 items-center justify-between gap-6 md:h-12 lg:h-[84px]",children:[(0,s.jsx)("div",{className:"flex h-full items-center",children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"items-center",children:(0,s.jsx)(q.Z,{width:200,height:64})})})}),(0,s.jsx)("div",{className:"flex items-center justify-end gap-6 [&_div]:text-sm [&_div]:font-semibold [&_div]:leading-[21px] [&_div]:lg:text-sm",children:(0,s.jsx)("div",{className:"hover:underline",children:(0,s.jsx)(Z.Anchor,{href:(0,J.e)("buyers_guide",t),onClick:()=>f.Z.click("Navbar",{"Item Name":"FAQ"}),children:(0,s.jsx)(l.cC,{id:"/lDBHm"})})})})]})})}):(0,s.jsx)("nav",{className:"hidden bg-white px-3 shadow-sm lg:block lg:shadow-none",children:(0,s.jsx)(X.Z,{children:(0,s.jsxs)("div",{className:"flex h-0 items-center justify-between gap-6 md:h-12 lg:h-[84px]",children:[(0,s.jsx)("div",{className:"flex h-full items-center",children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"items-center",children:(0,s.jsx)(q.Z,{width:200,height:64})})})}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(R,{})}),(0,s.jsxs)("div",{className:"flex items-center justify-end gap-6 [&_div]:text-sm [&_div]:font-semibold [&_div]:leading-[21px] [&_div]:lg:text-sm",children:[e&&(0,s.jsx)(et.Z,{href:"/referrals",children:(0,s.jsx)(ef,{})}),(0,s.jsx)("div",{className:"hover:underline",children:(0,s.jsx)(et.Z,{href:"/mobile-app",onClick:()=>f.Z.click("Navbar",{"Item Name":"Download App"}),children:(0,s.jsx)(l.cC,{id:"v4nzVI"})})}),(0,s.jsxs)("div",{className:"group relative border border-b-0 border-transparent hover:underline",children:[(0,s.jsx)(et.Z,{href:"/about",onClick:()=>f.Z.click("Navbar",{"Item Name":"About"}),children:(0,s.jsx)(l.cC,{id:"uyJsf6"})}),(0,s.jsx)("div",{className:"absolute left-0 z-30 hidden border-0 group-hover:block",children:(0,s.jsx)(eh,{})})]}),(0,s.jsx)("div",{className:"hover:underline",children:(0,s.jsx)(et.Z,{href:(0,ea.tx)({language:t}),onClick:()=>f.Z.click("Navbar",{"Item Name":"News"}),children:(0,s.jsx)(l.cC,{id:"qdyV/M"})})}),(0,s.jsx)("div",{className:"hover:underline",children:(0,s.jsx)(et.Z,{href:"/sell",onClick:()=>{f.Z.buttonClick("Sell",{Location:"Navbar"}),f.Z.click("Navbar",{"Item Name":"Sell"})},children:(0,s.jsx)(l.cC,{id:"xNB0TS"})})}),e?(0,s.jsx)("div",{className:"hover:underline",children:(0,s.jsx)(et.Z,{href:"/dashboard/profile",onClick:()=>f.Z.click("Navbar",{"Item Name":"My Account"}),children:(0,s.jsx)(l.cC,{id:"qhwV2C"})})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"cursor-pointer hover:underline",onClick:()=>{n.push((0,L.Xz)({page:"login"})),f.Z.click("Navbar",{"Item Name":"Login"})},children:(0,s.jsx)(l.cC,{id:"ADVQ46"})}),(0,s.jsx)("div",{className:"cursor-pointer hover:underline",onClick:()=>{n.push((0,L.Xz)({page:"signup"})),f.Z.click("Navbar",{"Item Name":"Signup"})},children:(0,s.jsx)(l.cC,{id:"mErq7F"})})]})]})]})})})}var ep=n(61979);function eg(e){let{menuKey:t,items:n}=e;return(0,s.jsx)("div",{className:"relative h-full min-w-[170px] border border-ns-divider bg-white shadow-sm",children:n.map((e,n)=>(0,s.jsx)(et.Z,{href:e.url,onClick:()=>f.Z.click("Menubar",{Category:t,"Sub-Category":e.key,menu_item:"header_nav"}),children:(0,s.jsx)("div",{className:"cursor-pointer py-2.5 pl-3 pr-5 text-sm font-normal hover:underline",children:e.name})},n))})}let ev=e=>{let{url:t,label:n,menuKey:r,items:i,action:a}=e;return(0,s.jsxs)("div",{className:"group z-20 flex h-full cursor-pointer items-center border-transparent lg:border-b-2 lg:hover:border-ns-blue",children:[a?(0,s.jsx)("div",{className:"cursor-pointer uppercase max-sm:text-sm",onClick:()=>{f.Z.click("Menubar",{Category:r,menu_item:"header_nav"}),a()},children:n}):(0,s.jsx)(et.Z,{className:"uppercase max-sm:text-sm",href:t,onClick:()=>{f.Z.click("Menubar",{Category:r,menu_item:"header_nav"})},children:n}),(0,s.jsx)("div",{className:"ease absolute top-[52px] hidden overflow-hidden transition-all duration-200 lg:shadow-md lg:group-hover:block",children:(0,s.jsx)(eg,{menuKey:r,items:i})})]})};function ew(e){let{className:t,containerClassName:n,transLayouts:r,isMobile:i=!1,toggleSideMenu:a,openNestedMenu:l,setOpenNestedMenu:o}=e,c=V(e=>{let t=r[e]||e;
140if("Deals/Popular"===e&&t.includes("/")){let e=t.split("/");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"text-ns-red",children:e[0]}),"/",e[1]]})}return t}),d=(0,h.usePathname)(),u=(0,h.useParams)(),m=e=>{a(!0),o(l===e?null:e)};return/\/buy\/.+\/review/.test(d)||/\/buy\/.+\/confirmed-delivery/.test(d)||/\/buy\/.+\/confirmed-buy/.test(d)||ep.hz.test(d)||i&&u.product?null:(0,s.jsx)("div",{className:(0,T.cn)("sticky z-10 hidden h-[52px] items-center justify-center bg-white lg:flex lg:shadow-sm",t),children:(0,s.jsx)(X.Z,{className:"w-full",children:(0,s.jsx)("div",{className:(0,T.cn)("flex h-[52px] w-full items-center justify-between whitespace-nowrap pt-0.5 text-xs font-medium leading-5 tracking-wide xl:text-sm",n),children:c.map(e=>(0,s.jsx)(ev,{url:e.url,label:e.label,menuKey:e.key,items:e.items,action:i&&"trending"===e.key?()=>m("Deals/Popular"):void 0},e.key))})})})}function ey(e){let{transLayouts:t}=e,[n,l]=(0,i.Z)(!1),[o,c]=(0,r.useState)(null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{id:"mobile-header",className:"sticky left-0 top-0 z-50",children:[(0,s.jsx)(a.f$,{className:"lg:hidden"}),(0,s.jsx)(eu,{transLayouts:t,isSideMenuOpen:n,toggleSideMenu:l,openNestedMenu:o,setOpenNestedMenu:c}),(0,s.jsx)(ew,{transLayouts:t,className:"z-0 flex h-11 border-b border-ns-divider bg-ns-gray8 lg:hidden",containerClassName:"overflow-x-auto h-11 pt-0 gap-8 px-4 hide-native-scrollbar",isMobile:!0,toggleSideMenu:l,openNestedMenu:o,setOpenNestedMenu:c})]}),(0,s.jsxs)("div",{id:"desktop-header",className:"sticky left-0 top-0 z-50",children:[(0,s.jsx)(a.f$,{className:"max-lg:hidden"}),(0,s.jsx)(ex,{}),(0,s.jsx)("div",{className:"h-px bg-ns-divider max-lg:hidden"}),(0,s.jsx)(ew,{transLayouts:t,toggleSideMenu:l,openNestedMenu:o,setOpenNestedMenu:c})]})]})}},34778:function(e,t,n){"use strict";var s=n(5333);n(46353);var r=n(74704);t.Z=e=>{let{children:t,className:n,...i}=e;return(0,s.jsx)("div",{className:(0,r.cn)("mx-auto my-0 max-w-full min-[960px]:max-w-[calc(98vw-48px)] min-[1280px]:max-w-[calc(98vw-96px)] min-[1920px]:max-w-[1460px] min-[2400px]:max-w-[1600px]",n),...i,children:t})}},56797:function(e,t,n){"use strict";var s=n(5333),r=n(46353),i=n(86587),a=n(74704);let l=e=>{let{onClick:t}=e;return(0,s.jsx)(i.QAE,{className:"absolute right-2 top-2 size-6 cursor-pointer text-ns-gray3",onClick:t})};t.Z=e=>{let{isOpen:t,onClose:n,children:i,modalStyleClassName:o,overlayClassName:c,disableCloseOnClickOutside:d=!1,showClose:u}=e;return((0,r.useEffect)(()=>("undefined"!=typeof document&&t&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow="unset"}),[t]),t)?(0,s.jsx)("div",{className:(0,a.cn)("fixed inset-0 z-[1000] flex items-center justify-center","bg-black/60",c),onClick:()=>!d&&n&&n(),children:(0,s.jsxs)("div",{className:(0,a.cn)("relative rounded-md bg-white shadow-md",o),onClick:e=>e.stopPropagation(),children:[u&&(0,s.jsx)(l,{onClick:n}),i]})}):null}},39355:function(e,t,n){"use strict";var s=n(5333),r=n(74704),i=n(46353);t.Z=e=>{let{isOpen:t,modalClassname:n,overlayClassname:a,children:l}=e;return(0,i.useEffect)(()=>("undefined"!=typeof document&&t&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow="unset"}),[t]),(0,s.jsx)("div",{className:(0,r.cn)("fixed bottom-0 right-0 z-[1000] min-h-screen min-w-[100vw] touch-none overflow-hidden",t?"bg-ns-black/60":"invisible",a),children:(0,s.jsx)("div",{className:(0,r.cn)("fixed bottom-0 right-0 h-[75vh] w-screen rounded-t-2xl bg-white","transition-all duration-500 ease-in-out",t?"translate-y-0":"translate-y-full",n),children:l})})}},71188:function(e,t,n){"use strict";var s=n(5333),r=n(74704);t.Z=e=>{let{children:t,className:n,style:i}=e;return(0,s.jsx)("div",{className:(0,r.cn)("my-0.5 text-xs tracking-[0.1px] text-ns-red",n),style:i,children:t})}},48814:function(e,t,n){"use strict";var s=n(5333),r=n(46353),i=n(64298),a=n(74704),l=n(71188);let o=(0,r.forwardRef)((e,t)=>{let{name:n,label:r,placeholder:o,error:c,hasError:d,hasValue:u,className:m,containerClassName:h,iconWrapperClassName:f,inputWrapperClassName:x,type:p,isDirty:g,iconComponent:v,isFieldRequired:w,max:y,floatLabelOnValue:j,...b}=e;return(0,s.jsxs)("div",{className:(0,a.cn)("relative w-full",h??""),children:[(0,s.jsx)("label",{htmlFor:n,className:"relative block",children:(0,s.jsxs)("div",{className:(0,a.cn)("flex items-center overflow-hidden border border-solid",d?"error !border-ns-error":"border-ns-gray6","focus-within:border-ns-gray6 focus-within:outline-none",x??""),children:[(0,s.jsx)("input",{type:p||"text",name:n,placeholder:(o||(0,i.nT)(n))+(w?" *":""),className:(0,a.cn)("block h-[50px] w-full flex-1 truncate transition duration-100 ease-in-out placeholder:text-[15px] placeholder:text-ns-gray3",(j&&u||!j&&g)&&"pt-2","focus:outline-none","disabled:text-ns-gray1",m),max:y,ref:t,...b}),v&&(0,s.jsx)("span",{className:(0,a.cn)("relative flex h-full items-center pr-3",f),children:v}),(0,s.jsx)("span",{className:(0,a.cn)("pointer-events-none absolute left-[4px] top-[3px] origin-top-left !text-xxs text-ns-gray3 transition-all duration-100 ease-linear",j&&u||!j&&g?"scale-100 opacity-100":"scale-125 opacity-0"),children:(r||o||(0,i.nT)(n))+(w?" *":"")}
140)]})}),!!c&&(0,s.jsx)(l.Z,{children:c})]})});o.displayName="Input",t.Z=o},25013:function(e,t,n){"use strict";n.d(t,{J6:function(){return f},_1:function(){return v},f$:function(){return g},vi:function(){return x}});var s=n(5333),r=n(1671),i=n(72546),a=n(74704),l=n(95348),o=n(59907),c=n(98398),d=n(58738),u=n(14574),m=n(84792),h=n(46353);let f="collection/free-shipping-deals?sort=mostPopular&page=0",x=(e,t,n)=>{let s=n?.startTime,r=n?.endTime;return s&&r&&(0,c.h)(s,r)?{label:e,href:f,src:"product/free_ship_web.png",key:"Ship Free"}:t},p=e=>{let{setCurrentPhase:t,mode:n,startTime:i,endTime:l}=e,[o,c]=(0,h.useState)({days:0,hours:0,minutes:0,seconds:0});(0,h.useEffect)(()=>{let e=()=>{let e=Date.now();if(e<i||e>=l){t("ENDED"),c({days:0,hours:0,minutes:0,seconds:0});return}let n=l-e;c({days:Math.floor(n/864e5),hours:Math.floor(n%864e5/36e5),minutes:Math.floor(n%36e5/6e4),seconds:Math.floor(n%6e4/1e3)})};t("FREE_SHIPPING_ONGOING"),e();let n=setInterval(e,1e3);return()=>clearInterval(n)},[t,i,l]);let d=e=>String(e).padStart(2,"0"),u=(0,a.cn)("text-xl font-semibold uppercase leading-[normal] max-lg:text-xs","ticker"===n&&"text-sm leading-[18px]"),m=(0,a.cn)("text-sm capitalize leading-5 max-lg:text-xxs max-lg:leading-[normal]","ticker"===n&&"text-xs");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex items-baseline gap-[2px] text-center text-white max-lg:items-center",children:[(0,s.jsx)("span",{className:u,children:d(o.days)}),(0,s.jsx)("span",{className:m,children:(0,s.jsx)(r.cC,{id:"J/Upwb"})})]}),(0,s.jsxs)("div",{className:"flex items-baseline gap-[2px] text-center text-white max-lg:items-center",children:[(0,s.jsx)("span",{className:u,children:d(o.hours)}),(0,s.jsx)("span",{className:m,children:(0,s.jsx)(r.cC,{id:"fiOioa"})})]}),(0,s.jsxs)("div",{className:"flex items-baseline gap-[2px] text-center text-white max-lg:items-center",children:[(0,s.jsx)("span",{className:u,children:d(o.minutes)}),(0,s.jsx)("span",{className:m,children:(0,s.jsx)(r.cC,{id:"eTUF28"})})]}),(0,s.jsxs)("div",{className:"flex items-baseline gap-[2px] text-center text-white max-lg:items-center",children:[(0,s.jsx)("span",{className:u,children:d(o.seconds)}),(0,s.jsx)("span",{className:m,children:(0,s.jsx)(r.cC,{id:"pXBtn1"})})]})]})},g=e=>{let{className:t=""}=e,{currentCurrency:n}=(0,l.Z)(),{startTime:r,endTime:x,tickerDesktopTextByCurrencyCode:p,tickerMobileTextByCurrencyCode:g}=(0,c.Z)(),v=n?.code,w=v?p?.[v]:void 0,y=v?g?.[v]:void 0,j=(0,m.usePathname)(),b=(0,d.Z)(),_=(0,m.useParams)(),[k,N]=(0,h.useState)(void 0);return((0,h.useEffect)(()=>{N("true"!==(0,i.t7)("freeShippingBannerDismissed"))},[]),w&&"/"!==j&&!b&&void 0!==k&&k&&(0,c.h)(r,x))?(0,s.jsxs)("div",{className:(0,a.cn)("relative flex w-full items-center justify-between gap-6 overflow-hidden bg-ns-blue px-3 py-[6px] max-lg:gap-0 max-lg:py-1 lg:justify-center",t),children:[(0,s.jsxs)(u.Anchor,{href:f,className:(0,a.cn)("w-full whitespace-nowrap text-center text-xs font-bold leading-5 tracking-[0.8px] text-white lg:text-sm"),children:[(0,s.jsx)("span",{className:"hidden lg:inline",children:w}),(0,s.jsx)("span",{className:"lg:hidden",children:y})]}),(0,s.jsx)("button",{onClick:()=>{let e=_?.product?"Product view":_?.browse?"Browse view":void 0;e&&o.Z.activityBarClose(e),N(!1),(0,i.Tw)("freeShippingBannerDismissed","true")},className:"absolute right-2 top-1/2 -translate-y-1/2 text-white transition-colors hover:text-gray-200","aria-label":"Close banner",children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,s.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}):null},v=e=>{let{className:t=""}=e,{currentCurrency:n}=(0,l.Z)(),{startTime:i,endTime:o,freeShippingMinBuyByCurrencyCode:d}=(0,c.Z)(),u=n?.code&&d?d[n.code]:void 0,[m,f]=(0,h.useState)(null);return u&&"ENDED"!==m&&(0,c.h)(i,o)?(0,s.jsxs)("div",{className:(0,a.cn)("relative mb-2 flex w-full items-center justify-between gap-8 overflow-hidden rounded-lg bg-ns-blue px-3 py-[13px] max-lg:gap-0 max-lg:px-2 max-lg:py-1 lg:justify-center",t),children:[(0,s.jsxs)("div",{className:(0,a.cn)("whitespace-nowrap text-center text-xs font-bold uppercase leading-5 tracking-[0.8px] text-white lg:text-xl"),children:[(0,s.jsx)("span",{className:"lg:hidden",children:(0,s.jsx)(r.cC,{id:"GCi7/l"})}),(0,s.jsx)("span",{className:"hidden lg:inline",children:(0,s.jsx)(r.cC,{id:"x3BFtP"})})]}),(0,s.jsxs)("div",{className:"flex items-baseline gap-1 max-lg:items-center lg:gap-2",children:[(0,s.jsx)("p",{className:(0,a.cn)("text-center text-sm leading-5 text-white max-lg:text-xxs"),children:(0,s.jsx)(r.cC,{id:"TopBzy"})}),(0,s.jsx)(p,{mode:"banner",setCurrentPhase:f,startTime:i,endTime:o})]})]}):null}},81783:function(e,t,n){"use strict";n.d(t,{default:function(){return o}});var s=n(5333),r=n(81540),i=n(95348),a=n(9723),l=n(46353);function o(){let e=r.O.NEXT_PUBLIC_FORTER_SITE_ID,{setFTRToken:t}=(0,i.Z)();return(0,l.useEffect)(()=>{let e=e=>{let n=e?.detail;n&&t(n)};return window?.document?.addEventListener("ftr:tokenReady",e),()=>{window?.document?.removeEventListener("ftr:tokenReady",e)}},[]),(0,s.jsx)(a.default,{id:e,strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 141 (function () {var merchantConfig = {csp: false}; 142 var siteId = "${e}";function t(t,e){for(var n=t.split(""),r=0;r 143 <n.length;++r)n[r]=String.fromCharCode(n[r].charCodeAt(0)+e);return n.join("")}function e(e){return t(e,-_).replace(/%SN%/g,siteId)}function n(t){try{if("number"==typeof t&&window.location&&window.location.pathname){for(var e=window.location.pathname.split("/"),n=[],r=0;r<=Math.min(e.length-1,Math.abs(t));r++)n.push(e[r]);return n.join("/")||"/"}}catch(t){}return"/"}function r(t){try{Q.ex=t,o()&&-1===Q.ex.indexOf(X.uB)&&(Q.ex+=X.uB),i()&&-1===Q.ex.indexOf(X.uBr)&&(Q.ex+=X.uBr),a()&&-1===Q.ex.indexOf(X.nIL)&&(Q.ex+=X.nIL),window.ftr__snp_cwc||(Q.ex+=X.s),B(Q)}catch(t){}}function o(){var t="no"+"op"+"fn",e="g"+"a",n="n"+"ame";return window[e]&&window[e][n]===t}function i(){return!(!navigator.brave||"function"!=typeof navigator.brave.isBrave)}function a(){return document.currentScript&&document.currentScript.src}function c(t,e){function n(o){try{o.blockedURI===t&&(e(),document.removeEventListener(r,n))}catch(t){document.removeEventListener(r,n)}}
143var r="securitypolicyviolation";document.addEventListener(r,n),setTimeout(function(){document.removeEventListener(r,n)},2*60*1e3)}function u(t,e,n,r){var o=!1;t="https://"+t,c(t,function(){r(!0),o=!0});var i=document.createElement("script");i.onerror=function(){if(!o)try{r(!1),o=!0}catch(t){}},i.onload=n,i.type="text/javascript",i.id="ftr__script",i.async=!0,i.src=t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(i,a)}function f(){tt(X.uDF),setTimeout(w,N,X.uDF)}function s(t,e,n,r){var o=!1,i=new XMLHttpRequest;if(c("https:"+t,function(){n(new Error("CSP Violation"),!0),o=!0}),"//"===t.slice(0,2)&&(t="https:"+t),"withCredentials"in i)i.open("GET",t,!0);else{if("undefined"==typeof XDomainRequest)return;i=new XDomainRequest,i.open("GET",t)}Object.keys(r).forEach(function(t){i.setRequestHeader(t,r[t])}),i.onload=function(){"function"==typeof e&&e(i)},i.onerror=function(t){if("function"==typeof n&&!o)try{n(t,!1),o=!0}catch(t){}},i.onprogress=function(){},i.ontimeout=function(){"function"==typeof n&&n("tim"+"eo"+"ut",!1)},setTimeout(function(){i.send()},0)}function d(t,siteId,e){function n(t){var e=t.toString(16);return e.length%2?"0"+e:e}function r(t){if(t<=0)return"";for(var e="0123456789abcdef",n="",r=0;r 144 <t;r++)n+=e[Math.floor(Math.random()*e.length)];return n}function o(t){for(var e="",r=0;r 145 <t.length;r++)e+=n(t.charCodeAt(r));return e}function i(t){for(var e=t.split(""),n=0;n 146 <e.length;++n)e[n]=String.fromCharCode(255^e[n].charCodeAt(0));return e.join("")}e=e?"1":"0";var a=[];return a.push(t),a.push(siteId),a.push(e),function(t){var e=40,n="";return t.length 147 <e/2&&(n=","+r(e/2-t.length-1)),o(i(t+n))}(a.join(","))}function h(){function t(){F&&(tt(X.dUAL),setTimeout(w,N,X.dUAL))}function e(t,e){r(e?X.uAS+X.uF+X.cP:X.uAS+X.uF),F="F"+"T"+"R"+"A"+"U",setTimeout(w,N,X.uAS)}window.ftr__fdad(t,e)}function l(){function t(){F&&setTimeout(w,N,X.uDAD)}function e(t,e){r(e?X.uDS+X.uF+X.cP:X.uDS+X.uF),F="F"+"T"+"R"+"A"+"U",setTimeout(w,N,X.uDS)}window.ftr__radd(t,e)}function w(t){try{var e;switch(t){case X.uFP:e=O;break;case X.uDF:e=M;break;default:e=F}if(!e)return;var n=function(){try{et(),r(t+X.uS)}catch(t){}},o=function(e){try{et(),Q.td=1*new Date-Q.ts,r(e?t+X.uF+X.cP:t+X.uF),t===X.uFP&&f(),t===X.uDF&&(I?l():h()),t!==X.uAS&&t!==X.dUAL||I||l(),t!==X.uDS&&t!==X.uDAD||I&&h()}catch(t){r(X.eUoe)}};if(e==="F"+"T"+"R"+"A"+"U")return void o();u(e,void 0,n,o)}catch(e){r(t+X.eTlu)}}var g="22ge:t7mj8unkn;1forxgiurqw1qhw2vwdwxv",v="fort",p="erTo",m="ken",_=3;window.ftr__config={m:merchantConfig,s:"24",si:siteId};var y=!1,U=!1,T=v+p+m,x=400*24*60,A=10,S={write:function(t,e,r,o){void 0===o&&(o=!0);var i=0;window.ftr__config&&window.ftr__config.m&&window.ftr__config.m.ckDepth&&(i=window.ftr__config.m.ckDepth);var a,c,u=n(i);if(r?(a=new Date,a.setTime(a.getTime()+60*r*1e3),c="; expires="+a.toGMTString()):c="",!o)return void(document.cookie=escape(t)+"="+escape(e)+c+"; path="+u);for(var f=1,s=document.domain.split("."),d=A,h=!0;h&&s.length>=f&&d>0;){var l=s.slice(-f).join(".");document.cookie=escape(t)+"="+escape(e)+c+"; path="+u+"; domain="+l;var w=S.read(t);null!=w&&w==e||(l="."+l,document.cookie=escape(t)+"="+escape(e)+c+"; path="+u+"; domain="+l),h=-1===document.cookie.indexOf(t+"="+e),f++,d--}},read:function(t){var e=null;try{for(var n=escape(t)+"=",r=document.cookie.split(";"),o=32,i=0;i 148 <r.length;i++){for(var a=r[i];a.charCodeAt(0)===o;)a=a.substring(1,a.length);0===a.indexOf(n)&&(e=unescape(a.substring(n.length,a.length)))}}finally{return e}}},D=window.ftr__config.s;D+="ck";var L=function(t){var e=!1,n=null,r=function(){try{if(!n||!e)return;n.remove&&"function"==typeof n.remove?n.remove():document.head.removeChild(n),e=!1}catch(t){}};document.head&&(!function(){n=document.createElement("link"),n.setAttribute("rel","pre"+"con"+"nect"),n.setAttribute("cros"+"sori"+"gin","anonymous"),n.onload=r,n.onerror=r,n.setAttribute("href",t),document.head.appendChild(n),e=!0}(),setTimeout(r,3e3))},E=e(g||"22ge:t7mj8unkn;1forxgiurqw1qhw2vwdwxv"),C=t("[0Uhtxhvw0LG",-_),R=t("[0Fruuhodwlrq0LG",-_),P=t("Li0Qrqh0Pdwfk",-_),k=e("dss1vlwhshuirupdqfhwhvw1qhw"),q=e("2241414142gqv0txhu|"),F,b="fgq71iruwhu1frp",M=e("(VQ(1"+b+"2vq2(VQ(2vfulsw1mv"),V=e("(VQ(1"+b+"2vqV2(VQ(2vfulsw1mv"),O;window.ftr__config&&window.ftr__config.m&&window.ftr__config.m.fpi&&(O=window.ftr__config.m.fpi+e("2vq2(VQ(2vfulsw1mv"));var I=!1,N=10;window.ftr__startScriptLoad=1*new Date;var j=function(t){var e="ft"+"r:tok"+"enR"+"eady";window.ftr__tt&&clearTimeout(window.ftr__tt),window.ftr__tt=setTimeout(function(){try{delete window.ftr__tt,t+="_tt";var n=document.createEvent("Event");n.initEvent(e,!1,!1),n.detail=t,document.dispatchEvent(n)}catch(t){}},1e3)},B=function(t){var e=function(t){return t||""},n=e(t.id)+"_"+e(t.ts)+"_"+e(t.td)+"_"+e(t.ex)+"_"+e(D),r=x;!isNaN(window.ftr__config.m.ckTTL)&&window.ftr__config.m.ckTTL&&(r=window.ftr__config.m.ckTTL),S.write(T,n,r,!0),j(n),window.ftr__gt=n},G=function(){var t=S.read(T)||"",e=t.split("_"),n=function(t){return e[t]||void 0};return{id:n(0),ts:n(1),td:n(2),ex:n(3),vr:n(4)}},H=function(){for(var t={},e="fgu",n=[],r=0;r<256;r++)n[r]=(r<16?"0":"")+r.toString(16);var o=function(t,e,r,o,i){var a=i?"-":"";return n[255&t]+n[t>>8&255]+n[t>>16&255]+n[t>>24&255]+a+n[255&e]+n[e>>8&255]+a+n[e>>16&15|64]+n[e>>24&255]+a+n[63&r|128]+n[r>>8&255]+a+n[r>>16&255]+n[r>>24&255]+n[255&o]+n[o>>8&255]+n[o>>16&255]+n[o>>24&255]},i=function(){if(window.Uint32Array&&window.crypto&&window.crypto.getRandomValues){var t=new window.Uint32Array(4);return window.crypto.getRandomValues(t),{d0:t[0],d1:t[1],d2:t[2],d3:t[3]}}return{d0:4294967296*Math.random()>>>0,d1:4294967296*Math.random()>>>0,d2:4294967296*Math.random()>>>0,d3:4294967296*Math.random()>>>0}},a=function(){var t="",e=function(t,e){for(var n="",r=t;r>0;--r)n+=e.charAt(1e3*Math.random()%e.length);return n};return t+=e(2,"0123456789"),t+=e(1,"123456789"),t+=e(8,"0123456789")};return t.safeGenerateNoDash=function(){try{var t=i();return o(t.d0,t.d1,t.d2,t.d3,!1)}catch(t){try{return e+a()}catch(t){}}},t.isValidNumericalToken=function(t){return t&&t.toString().length<=11&&t.length>=9&&parseInt(t,10).toString().length<=11&&parseInt(t,10).toString().length>=9},t.isValidUUIDToken=function(t){return t&&32===t.toString().length&&/^[a-z0-9]+$/.test(t)},t.isValidFGUToken=function(t){return 0==t.indexOf(e)&&t.length>=12},t}(),X={uDF:"UDF",dUAL:"dUAL",uAS:"UAS",uDS:"UDS",uDAD:"UDAD",uFP:"UFP",mLd:"1",eTlu:"2",eUoe:"3",uS:"4",uF:"9",tmos:["T5","T10","T15","T30","T60"],tmosSecs:[5,10,15,30,60],bIR:"43",uB:"u",uBr:"b",cP:"c",nIL:"i",s:"s"};try{var Q=G();try{Q.id&&(H.isValidNumericalToken(Q.id)||H.isValidUUIDToken(Q.id)||H.isValidFGUToken(Q.id))?window.ftr__ncd=!1:(Q.id=H.safeGenerateNoDash(),window.ftr__ncd=!0),Q.ts=window.ftr__startScriptLoad,B(Q),window.ftr__snp_cwc=!!S.read(T),window.ftr__snp_cwc||(M=V);for(var $="for"+"ter"+".co"+"m",z="ht"+"tps://c"+"dn9."+$,J="ht"+"tps://"+Q.id+"-"+siteId+".cd"+"n."+$,K="http"+"s://cd"+"n3."+$,W=[z,J,K],Y=0;Y 149 <W.length;Y++)L(W[Y]);var Z=new Array(X.tmosSecs.length),tt=function(t){for(var e=0;e 150 <X.tmosSecs.length;e++)Z[e]=setTimeout(r,1e3*X.tmosSecs[e],t+X.tmos[e])},et=function(){for(var t=0;t 151 <X.tmosSecs.length;t++)clearTimeout(Z[t])};window.ftr__fdad=function(e,n){if(!y){y=!0;var r={};r[P]=d(window.ftr__config.s,siteId,window.ftr__config.m.csp),s(E,function(n){try{var r=n.getAllResponseHeaders().toLowerCase();if(r.indexOf(R.toLowerCase())>=0){var o=n.getResponseHeader(R);window.ftr__altd2=t(atob(o),-_-1)}if(r.indexOf(C.toLowerCase())<0)return;var i=n.getResponseHeader(C),a=t(atob(i),-_-1);if(a){var c=a.split(":");if(c&&2===c.length){for(var u=c[0],f=c[1],s="",d=0,h=0;d<20;++d)s+=d%3>0&&h<12?siteId.charAt(h++):Q.id.charAt(d);var l=f.split(",");if(l.length>1){var w=l[0],g=l[1];F=u+"/"+w+"."+s+"."+g}}}e()}catch(t){}},function(t,e){n&&n(t,e)},r)}},window.ftr__radd=function(t,e){function n(e){try{var n=e.response,r=function(t){function e(t,o,i){try{if(i>=n)return{name:"",nextOffsetToProcess:o,error:"Max pointer dereference depth exceeded"};for(var a=[],c=o,u=t.getUint8(c),f=0;f 152 <r;){if(f++,192==(192&u)){var s=(63&u)<<8|t.getUint8(c+1),d=e(t,s,i+1);if(d.error)return d;var h=d.name;return a.push(h),{name:a.join("."),nextOffsetToProcess:c+2}}if(!(u>
1520)){if(0!==u)return{name:"",nextOffsetToProcess:c,error:"Unexpected length at the end of name: "+u.toString()};return{name:a.join("."),nextOffsetToProcess:c+1}}for(var l="",w=1;w<=u;w++)l+=String.fromCharCode(t.getUint8(c+w));a.push(l),c+=u+1,u=t.getUint8(c)}return{name:"",nextOffsetToProcess:c,error:"Max iterations exceeded"}}catch(t){return{name:"",nextOffsetToProcess:o,error:"Unexpected error while parsing response: "+t.toString()}}}for(var n=4,r=100,o=16,i=new DataView(t),a=i.getUint16(0),c=i.getUint16(2),u=i.getUint16(4),f=i.getUint16(6),s=i.getUint16(8),d=i.getUint16(10),h=12,l=[],w=0;w 153 <u;w++){var g=e(i,h,0);if(g.error)throw new Error(g.error);if(h=g.nextOffsetToProcess,!Number.isInteger(h))throw new Error("invalid returned offset");var v=g.name,p=i.getUint16(h);h+=2;var m=i.getUint16(h);h+=2,l.push({qname:v,qtype:p,qclass:m})}for(var _=[],w=0;w 154 <f;w++){var g=e(i,h,0);if(g.error)throw new Error(g.error);if(h=g.nextOffsetToProcess,!Number.isInteger(h))throw new Error("invalid returned offset");var y=g.name,U=i.getUint16(h);if(U!==o)throw new Error("Unexpected record type: "+U.toString());h+=2;var T=i.getUint16(h);h+=2;var x=i.getUint32(h);h+=4;var A=i.getUint16(h);h+=2;for(var S="",D=h,L=0;D 155 <h+A&&L 156 <r;){L++;var E=i.getUint8(D);D+=1;S+=(new TextDecoder).decode(t.slice(D,D+E)),D+=E}if(L>=r)throw new Error("Max iterations exceeded while reading TXT data");h+=A,_.push({name:y,type:U,class:T,ttl:x,data:S})}return{transactionId:a,flags:c,questionCount:u,answerCount:f,authorityCount:s,additionalCount:d,questions:l,answers:_}}(n);if(!r)throw new Error("Error parsing DNS response");if(!("answers"in r))throw new Error("Unexpected response");var o=r.answers;if(0===o.length)throw new Error("No answers found");var i=o[0].data;if(i=i.replace(/^"(.*)"$/,"$1"),decodedVal=function(t){var e=40,n=32,r=126;try{for(var o=atob(t),i="",a=0;a 157 <o.length;a++)i+=function(t){var o=t.charCodeAt(0),i=o-e;return i 158 <n&&(i=r-(n-i)+1),String.fromCharCode(i)}(o[a]);return atob(i)}catch(t){return}}(i),!decodedVal)throw new Error("failed to decode the value");var a=function(t){var e="_"+"D"+"L"+"M"+"_",n=t.split(e);if(!(n.length<2)){var r=n[0],o=n[1];if(!(r.split(".").length-1<1))return{jURL:r,eURL:o}}}(decodedVal);if(!a)throw new Error("failed to parse the value");var c=a.jURL,u=a.eURL;F=function(t){for(var e="",n=0,r=0;n<20;++n)e+=n%3>0&&r<12?siteId.charAt(r++):Q.id.charAt(n);return t.replace("/PRM1","").replace("/PRM2","/main.").replace("/PRM3",e).replace("/PRM4",".js")}(c),window.ftr__altd3=u,t()}catch(t){}}function r(t,n){e&&e(t,n)}if(!U){window.ftr__config.m.dr==="N"+"D"+"R"&&e(new Error("N"+"D"+"R"),!1),q&&k||e(new Error("D"+"P"+"P"),!1),U=!0;try{var o=function(t){for(var e=new Uint8Array([0,0]),n=new Uint8Array([1,0]),r=new Uint8Array([0,1]),o=new Uint8Array([0,0]),i=new Uint8Array([0,0]),a=new Uint8Array([0,0]),c=t.split("."),u=[],f=0;f 159 <c.length;f++){var s=c[f];u.push(s.length);for(var d=0;d 160 <s.length;d++)u.push(s.charCodeAt(d))}u.push(0);var h=16,l=new Uint8Array([0,h]),w=new Uint8Array([0,1]),g=new Uint8Array(e.length+n.length+r.length+o.length+i.length+a.length+u.length+l.length+w.length);return g.set(e,0),g.set(n,e.length),g.set(r,e.length+n.length),g.set(o,e.length+n.length+r.length),g.set(i,e.length+n.length+r.length+o.length),g.set(a,e.length+n.length+r.length+o.length+i.length),g.set(u,e.length+n.length+r.length+o.length+i.length+a.length),g.set(l,e.length+n.length+r.length+o.length+i.length+a.length+u.length),g.set(w,e.length+n.length+r.length+o.length+i.length+a.length+u.length+l.length),g}(k);!function(t,e,n,r,o){var i=!1,a=new XMLHttpRequest;if(c("https:"+t,function(){o(new Error("CSP Violation"),!0),i=!0}),"//"===t.slice(0,2)&&(t="https:"+t),"withCredentials"in a)a.open("POST",t,!0);else{if("undefined"==typeof XDomainRequest)return;a=new XDomainRequest,a.open("POST",t)}a.responseType="arraybuffer",a.setRequestHeader("Content-Type",e),a.onload=function(){"function"==typeof r&&r(a)},a.onerror=function(t){if("function"==typeof o&&!i)try{o(t,!1),i=!0}catch(t){}},a.onprogress=function(){},a.ontimeout=function(){"function"==typeof o&&o("tim"+"eo"+"ut",!1)},setTimeout(function(){a.send(n)},0)}(q,"application/dns-message",o,n,r)}catch(t){e(t,!1)}}};var nt=O?X.uFP:X.uDF;tt(nt),setTimeout(w,N,nt)}catch(t){r(X.mLd)}}catch(t){}}) 161 (); 162 `}})}},67992:function(e,t,n){"use strict";n.d(t,{default:function(){return g}});var s=n(515),r=n(81540),i=n(95348),a=n(59907),l=n(38031),o=n(42167),c=n(50199),d=n(33025),u=n(84792),m=n(46353),h=n(92380);let f=["/password/forgot",/^\/auth(?:\/.*)?$/],x=e=>f.some(t=>t instanceof RegExp?t.test(e):t===e);var p=()=>{let{isAuthenticated:e,currentCountry:t,userFetch:n}=(0,i.Z)(),f=t?.id,p=(0,u.usePathname)(),g=(0,u.useSearchParams)().get("redirectTo")||"",v=(0,u.useRouter)(),w=async e=>{try{let{message:t}=await (0,s.x)({token:e?.credential,provider:"google-one-tap",currentCountryId:f,redirect:!1});if(t)throw Error(t);let r=await (0,d.Gg)();(0,h.xN)("isGoogleOneTapSignup",!1)&&r?.user&&(a.Z.signup(r?.user,(0,c.TU)(r?.user)),(0,h.Yz)("isGoogleOneTapSignup")),r?.user&&(0,l.h)(r?.user),await n(),["/login","/signup"].includes(p)&&v.replace(g||"/")}catch(e){console.error("Error loading Google One Tap",e?.message)}},y=()=>{let{google:t}=window;!(!t?.accounts||e||x((0,o.gr)(p)))&&f&&(t.accounts.id.initialize({client_id:r.O.NEXT_PUBLIC_GOOGLE,callback:w}),t.accounts.id.prompt())},j=()=>{"requestIdleCallback"in window?requestIdleCallback(y):y()};(0,m.useEffect)(()=>{let t=!1,n="staging"===r.O.NEXT_PUBLIC_RELEASE&&"granted"!==(0,h.xN)("test_access","");return(async()=>{await new Promise(e=>setTimeout(e,500)),t||e||n||j()})(),()=>{t=!0}},[p,e,f])},g=()=>(p(),null)},43769:function(e,t,n){"use strict";n.d(t,{W:function(){return f}});var s=n(5333),r=n(84792),i=n(46353),a=n(72970),l=n(95348),o=n(74704),c=n(72819),d=n(91514),u=n(79682);let m=Object.keys(u.Mj).filter(u.S8),h=e=>[...e].sort((e,t)=>
162"en"===e?-1:"en"===t?1:u.Mj[e].name.localeCompare(u.Mj[t].name,void 0,{sensitivity:"base"}));function f(e){let{className:t,dropdownArrowColor:n="gray",labelId:f}=e,{currentLanguage:x,user:p,userUpdate:g}=(0,l.Z)(),v=(0,r.useRouter)(),w=(0,r.usePathname)(),[y,j]=(0,i.useState)(x),b=h(m.includes(y)?m:[...m,y]);async function _(e){let t=e.target.value;p?.id&&t!==p.locale?await g({locale:t}):await (0,a.N8)(t);let[n]=(w||"").split("/").slice(1),s=Object.entries(u.Mj).find(e=>{let[,{routeName:t}]=e;return t===n})?n:"",r=(0,u.H0)(t);if(void 0!==r){let e=(s?w.replace(s,r):`/${r}/${w}`).replace("//","/");j(t),""===s&&""===r?window.location.reload():v.push(`${e}${window.location.search}`)}}return(0,s.jsx)("select",{value:y,onChange:_,className:(0,o.cn)("flex w-full bg-ns-black",t),style:{outline:"none",padding:"0px",backgroundPositionX:"calc(100% - 14px)",appearance:"none",backgroundImage:"black"===n?`url("data:image/svg+xml,${c.w}")`:`url("data:image/svg+xml,${d.p}")`,backgroundRepeat:"no-repeat",backgroundPosition:"right",backgroundSize:14},id:f,"aria-label":"select-language",children:b.map(e=>(0,s.jsx)("option",{value:e,label:u.Mj[e].name,children:u.Mj[e].name},e))})}},75552:function(e,t,n){"use strict";var s=n(5333),r=n(64891),i=n(72819),a=n(91514),l=n(95348),o=n(74704);t.Z=e=>{let{className:t,dropdownArrowColor:n="gray",onUpdate:c}=e,{currentCountry:d,countries:u}=(0,l.Z)(),m=[...u].sort((e,t)=>e.name&&t.name?e.name>t.name?1:e.name<t.name?-1:0:0).filter(e=>e.buying_enabled||e.selling_enabled||d.id===e.id),h=e=>{(0,r.IA)(e),c&&c()};return(0,s.jsx)("select",{className:(0,o.cn)("flex w-full rounded-none bg-white text-base",t),id:"region",value:d.id,onChange:e=>h(e.target.value),style:{outline:"none",padding:"0px",backgroundPositionX:"calc(100% - 14px)",appearance:"none",backgroundImage:"black"===n?`url("data:image/svg+xml,${i.w}")`:`url("data:image/svg+xml,${a.p}")`,backgroundRepeat:"no-repeat",backgroundPosition:"right",backgroundSize:14},"aria-label":"select-region",children:m.map(e=>(0,s.jsx)("option",{label:e.name||"",value:e.id,children:e.name},e.id))})}},65899:function(e,t,n){"use strict";n.r(t),n.d(t,{ReviewsIORating:function(){return v},ReviewsIOWidget:function(){return p},ReviewsIOWidgetPDP:function(){return g},SignupReviewsIORating:function(){return w}});var s=n(5333),r=n(1671),i=n(94929),a=n(64152),l=n(86587),o=n(61979),c=n(74704),d=n(22070),u=n(95348),m=n(12324);n(56797),n(59907),n(39355),n(46353);let h=e=>{let{fill:t=0,size:n=16}=e;return(0,s.jsxs)("div",{className:"relative",style:{width:n,height:n},children:[(0,s.jsx)(l.hF5,{size:n,className:"absolute left-0 top-0 text-gray-300"}),(0,s.jsx)("div",{className:"absolute left-0 top-0 overflow-hidden",style:{width:`${100*t}%`,height:"100%"},children:(0,s.jsx)(l.hF5,{size:n,color:"#FFC228"})})]})},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[];for(let r=0;r<5;r++){let i=e>=r+1?1:Math.max(0,e-r);n.push((0,s.jsx)(h,{fill:i,size:t},r))}return n};function x(e){let{score:t,reviewCount:n,renderStars:r,className:i}=e;return(0,s.jsxs)("div",{className:`flex w-full items-center justify-center gap-3 rounded bg-ns-gray8 p-3 ${i}`,children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)("div",{className:"text-center text-2xl font-bold",children:t}),(0,s.jsx)("div",{className:"flex items-center",children:r(t,12)}),(0,s.jsxs)("div",{className:"text-center text-xxs text-ns-medium-gray",children:[n," Reviews"]})]}),(0,s.jsx)(d.Z,{alt:"divider",src:"icons/gradient-border.png",className:"h-12 w-[0.7px]",width:0,height:0}),(0,s.jsx)(d.Z,{alt:"reviews.io logo",src:"icons/reviews-io-icon.png",width:100,height:14})]})}let p=e=>{let{className:t}=e,{reviewsConfig:{url:n,reviewCount:a,score:o}}=(0,u.Z)();return(0,s.jsx)(i.default,{href:n,children:(0,s.jsxs)("div",{className:(0,c.cn)("flex w-full flex-row items-center justify-center gap-3 rounded border border-ns-light-gray px-4 py-6",t),children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"mb-1 flex items-center justify-center",children:[(0,s.jsx)(l.hF5,{color:"#FFC228",size:19}),(0,s.jsx)(l.hF5,{color:"#FFC228",size:19}),(0,s.jsx)(l.hF5,{color:"#FFC228",size:19}),(0,s.jsx)(l.hF5,{color:"#FFC228",size:19}),(0,s.jsx)(l.AJ4,{color:"#FFC228",size:19})]}),(0,s.jsx)("div",{className:"text-xs text-ns-black",children:(0,s.jsx)(r.cC,{id:"oPH96l",values:{score:o,reviewCount:a}})})]}),(0,s.jsx)(d.Z,{alt:"reviews-io-website-logo",src:"icons/gradient-border.png",width:0,height:0,className:"h-8 w-[0.7px]"}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(d.Z,{alt:"reviews-io-website-logo",src:"icons/reviews-io-icon.png",width:117,height:18})})]})})},g=e=>{let{product:t,className:n}=e,{reviewsConfig:{reviewCount:i,score:l}}=(0,u.Z)(),{data:d=[]}=(0,a.a)({queryKey:["/user_review"],queryFn:()=>m.ZP.get("/user_review",{page:{size:50,number:0}}).then(e=>(e.results||[]).sort((e,t)=>
162new Date(t.reviewed_at).getTime()-new Date(e.reviewed_at).getTime())),...o.Yr.normal});return d.length?(0,s.jsxs)("div",{className:(0,c.cn)("my-4 mt-8 w-full bg-white px-4 lg:mb-0 lg:px-0",n),children:[(0,s.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,s.jsx)("div",{className:"text-base font-bold lg:text-xl",children:(0,s.jsx)(r.cC,{id:"UwGLay"})})}),(0,s.jsxs)("div",{className:"mb-4 flex w-full flex-col gap-2 md:flex-row md:gap-4",children:[(0,s.jsx)(x,{score:l,reviewCount:i,renderStars:f,className:"md:hidden md:w-1/2"}),(0,s.jsx)(x,{score:l,reviewCount:i,renderStars:f,className:(0,c.cn)("hidden md:flex md:w-full")})]})]}):null},v=e=>{let{className:t,...n}=e,{reviewsConfig:{url:a,reviewCount:l,score:o}}=(0,u.Z)();return(0,s.jsx)("div",{className:(0,c.cn)("flex w-full items-center justify-center",t),...n,children:(0,s.jsxs)(i.default,{href:a,className:"flex items-center justify-center",children:[(0,s.jsx)("span",{className:"mr-1 text-sm font-bold leading-[22px] md:text-2xl",children:o}),(0,s.jsx)("p",{className:"mr-1 text-sm font-medium md:text-2xl",children:(0,s.jsx)(r.cC,{id:"5gAB6E"})}),(0,s.jsx)("span",{className:"mr-1 text-sm font-bold leading-[22px] md:text-2xl",children:l}),(0,s.jsx)("p",{className:"mr-1 text-sm font-medium md:text-2xl",children:(0,s.jsx)(r.cC,{id:"cvagGg"})}),(0,s.jsx)("div",{className:"ml-[6px] h-3 w-px bg-ns-slate-gray md:ml-3 md:h-5"}),(0,s.jsx)("div",{className:"ml-[6px] flex items-center justify-center md:ml-3",children:(0,s.jsxs)("div",{className:"flex items-center justify-center",children:[(0,s.jsx)("div",{className:"relative mr-1 hidden items-center justify-center md:flex",children:(0,s.jsx)(d.Z,{alt:"star",src:"icons/reviews-io-icon.png",width:150,height:23})}),(0,s.jsx)("div",{className:"relative mr-1 flex items-center justify-center md:hidden",children:(0,s.jsx)(d.Z,{alt:"star",src:"icons/reviews-io-icon.png",width:88,height:14})})]})})]})})},w=e=>{let{className:t,...n}=e,{reviewsConfig:{url:a,reviewCount:l,score:o}}=(0,u.Z)();return(0,s.jsx)("div",{className:(0,c.cn)("flex w-full items-center justify-center",t),...n,children:(0,s.jsxs)(i.default,{href:a,className:"flex items-center justify-center",children:[(0,s.jsx)("span",{className:"mr-1 text-sm font-bold leading-[22px]",children:o}),(0,s.jsx)("p",{className:"mr-1 text-sm font-medium",children:(0,s.jsx)(r.cC,{id:"5gAB6E"})}),(0,s.jsx)("span",{className:"mr-1 text-sm font-bold leading-[22px]",children:l}),(0,s.jsx)("p",{className:"mr-1 text-sm font-medium",children:(0,s.jsx)(r.cC,{id:"cvagGg"})}),(0,s.jsx)("div",{className:"ml-[6px] h-3 w-px bg-ns-slate-gray"}),(0,s.jsx)("div",{className:"ml-[6px] flex items-center justify-center",children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"relative mr-1 flex items-center justify-center",children:(0,s.jsx)(d.Z,{alt:"star",src:"icons/reviews-io-icon.png",width:88,height:14})})})})]})})}},64929:function(e,t,n){"use strict";var s=n(5333),r=n(74704),i=n(35200);n(46353);let a=(0,i.j)("animate-spin rounded-full border-current",{variants:{size:{lg:"size-5 border-[2.5px]",md:"size-4 border-2",sm:"size-3 border-[1.5px]",xs:"size-2 border",default:"size-4 border-2"}},defaultVariants:{size:"default"}});t.Z=e=>{let{size:t,className:n}=e;return(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:(0,r.cn)(a({size:t,className:n}),"border-t-transparent"),style:{animation:"spin 1s ease-in-out infinite"}})})}},60770:function(e,t,n){"use strict";var s=n(5333),r=n(1671),i=n(46353),a=n(54235),l=n(56797),o=n(48814),c=n(96745),d=n(92380),u=n(94929);t.default=()=>{let[e,t]=(0,a.Z)(!1),[n,m]=(0,i.useState)("");(0,i.useEffect)(()=>{"granted"===(0,d.xN)("test_access","")||t(!0)},[t]);let h=()=>{"nstester"===n&&((0,d.pp)("test_access","granted",43200),t(!1))};return(0,s.jsx)(l.Z,{isOpen:e,modalStyleClassName:"w-[320px] md:w-[360px]",overlayClassName:"bg-black",children:(0,s.jsx)("div",{className:"w-full rounded-lg bg-white p-6 shadow-xl",children:(0,s.jsxs)("div",{className:"w-full space-y-4",children:[(0,s.jsx)("div",{className:"py-2 text-center text-lg font-semibold uppercase",children:(0,s.jsx)(r.cC,{id:"mp29YH"})}),(0,s.jsx)("div",{className:"h-px bg-ns-divider"}),(0,s.jsx)("div",{className:"flex w-full items-center justify-center gap-2 pb-6 pt-3 md:gap-0",children:(0,s.jsx)(o.Z,{name:"accessCode",value:n,onChange:e=>{m(e.target.value)},onKeyUp:e=>{h()},className:"h-10 w-full rounded-md text-sm",placeholder:" "})}),(0,s.jsx)(u.default,{href:"https://novelship.com",children:(0,s.jsx)(c.Z,{variant:"black",type:"button",size:"lg",className:"text-sm tracking-wider",children:(0,s.jsx)(r.cC,{id:"FvFdUx"})})})]})})})}},46580:function(e,t,n){"use strict";n.d(t,{default:function(){return l}});var s=n(5333),r=n(46353),i=n(95348),a=n(71100);function l(){let{currentCountry:e,user:t}=(0,i.Z)();return(0,r.useEffect)(()=>{(0,a.Z)(t||{},e);let n=setTimeout(()=>{window.$crisp&&window.$crisp.push(["on","chat:closed",()=>{let e=document.getElementById("crisp-chatbox"),t=window.location.pathname.startsWith("/dashboard/buying");e&&!t&&e.classList.remove("visible")}])},1e3);return()=>clearTimeout(n)},[t?.id]),(0,s.jsx)(s.Fragment,{})}},96745:function(e,t,n){"use strict";var s=n(5333),r=n(35200),i=n(46353),a=n(74704),l=n(64929);let o=(0,r.j)("flex w-full cursor-pointer items-center justify-center whitespace-nowrap border-2 font-semibold outline-none transition-colors duration-75 ease-in-out disabled:cursor-not-allowed disabled:opacity-50",{variants:{size:{lg:"h-12 flex-wrap rounded px-[10px] py-1 text-sm leading-tight",default:"h-[42px] rounded p-0",md:"h-9 rounded px-3 py-2 text-sm",sm:"h-8 rounded-sm px-[14px] py-0 text-xs",xs:"h-6 rounded-sm px-2 py-0 !text-xxs tracking-wider"},variant:{default:"",black:"border-ns-black bg-ns-black uppercase text-white hover:bg-white hover:text-ns-black2 active:bg-white active:text-ns-black2",white:"border-ns-black2 bg-white uppercase text-ns-black2 hover:underline active:text-ns-black2","white-ghost":"border-ns-black2 bg-transparent uppercase text-ns-black2 hover:underline active:text-ns-black2",ghost:"border-none bg-transparent",icon:"border-transparent bg-transparent px-3 py-2 hover:bg-transparent active:bg-transparent",clear:"h-[unset] border-none bg-transparent !font-normal
162!tracking-normal text-current",red:"border-ns-red",yellow:"border-ns-yellow bg-ns-yellow uppercase text-ns-black2 hover:bg-ns-black hover:text-ns-yellow active:bg-ns-black active:text-ns-yellow"}},defaultVariants:{size:"default",variant:"default"}}),c=i.forwardRef((e,t)=>{let{children:n,loading:r,disabled:i,size:c,variant:d,type:u,className:m,...h}=e;return(0,s.jsx)("button",{className:(0,a.cn)(o({variant:d,size:c,className:m})),disabled:i||r,type:u||"button",...h,ref:t,children:r?(0,s.jsx)(l.Z,{size:c}):n})});c.displayName="Button",t.Z=c},22070:function(e,t,n){"use strict";var s=n(5333),r=n(17956),i=n(90723);n(46353),t.Z=e=>{let{fullQuality:t,src:n,...a}=e,l=(0,r.Sd)(n,t);return(0,s.jsx)(i.default,{...a,src:l,unoptimized:!0})}},78423:function(e,t,n){"use strict";n.d(t,{aM:function(){return d},sw:function(){return u},ue:function(){return x},yo:function(){return c}});var s=n(5333),r=n(48039),i=n(35200),a=n(70974),l=n(46353),o=n(74704);let c=a.fC,d=a.xz,u=a.x8,m=a.h_,h=l.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,s.jsx)(a.aV,{className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...r,ref:t})});h.displayName=a.aV.displayName;let f=(0,i.j)("fixed z-50 gap-4 p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-200 data-[state=open]:duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),x=l.forwardRef((e,t)=>{let{side:n="right",className:i,overlayClassName:l="",children:c,showClose:d,...u}=e;return(0,s.jsxs)(m,{children:[(0,s.jsx)(h,{className:l}),(0,s.jsxs)(a.VY,{ref:t,className:(0,o.cn)(f({side:n}),i),...u,children:[c,(0,s.jsxs)(a.x8,{className:"absolute right-4 top-4 roun
162ded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[d&&(0,s.jsx)(r.APH,{className:"size-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=a.VY.displayName},9552:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var s=n(46353),r=n(95895),i=n(2247),a=n(20007),l=n(50199);let o={countries:[r.f],currencies:[i.O],promocodes:[],currentCurrency:i.O,countryDetected:r.f,currentCountry:r.f,countryCallingCodes:{},callingCodeToCountry:{},currentLanguage:"en",user:a.O,userFetch:()=>Promise.resolve(void 0),userUpdate:()=>Promise.resolve(void 0),isAuthenticated:!1,searchesTrending:[],cryptoRates:{BTC:0,ETH:0,USDT:0},payoutCryptoConfig:{min:0,balance:0,tokens:[],automateCryptoPayout:!1},promotionLoyaltyMultiplier:[],nsPayBuyBonusConfig:{base_bonus:[{min_buy:1,multiplier:0}],campaign_start:"",campaign_end:"",campaign_bonus:0},buyTrxnPaymentFee:[],buyTrxnGSTFee:[],deliveryProtectionBuyingFee:{fee:0},trustpilotConfig:{url:"https://www.trustpilot.com/review/novelship.com",score:4.1,reviewCount:3882},reviewsConfig:{url:"https://www.reviews.io/company-reviews/store/novelship-com",score:4.84,reviewCount:8441},paymentMethods:[],productCollections:{browse:{All:[],Sneakers:[],Apparel:[],Collectibles:[],"Trading Cards":[]},home:{All:[],Sneakers:[],Apparel:[],Collectibles:[],"Trading Cards":[]},all:{All:[],Sneakers:[],Apparel:[],Collectibles:[],"Trading Cards":[]}},sellingFeePromotions:[],deliveryFeePromotions:[],shippingFeePromotions:[],getShippingOptions:()=>({}),getCollectionsByClass:()=>[],getCollectionBySlug:()=>({}),getCountryById:e=>({}),guestToken:void 0,guestUser:(0,l.wt)(a.O),guestUserFetch:()=>Promise.resolve(void 0),ftrToken:null,setFTRToken:()=>{},searchSideBarOpen:!1,setSearchSideBarOpen:e=>{},isProductFlow:!1,setIsProductFlow:()=>{}},c=(0,s.createContext)(o);t.Z=c},12347:function(e,t,n){"use strict";var s=n(5333),r=n(42882),i=n(33025),a=n(46353),l=n(12324),o=n(95895),c=n(20007),d=n(64891),u=n(89206),m=n(50199),h=n(9552);t.default=e=>{let{children:t,value:n}=e,{session:f,...x}=n,[p,g]=(0,a.useState)(!1),[v,w]=(0,a.useState)(!1),[y,j]=(0,a.useState)(null),[b,_]=(0,a.useState)(n?.session?.user||c.O),[k,N]=(0,a.useState)(n.currentCountry),[C,S]=(0,a.useState)(n.currentCurrency),A=!!b?.id,[Z,T]=(0,a.useState)((0,m.wt)(c.O)),P=(0,a.useCallback)(async()=>{let e=await (0,i.Gg)();if(e?.user)return _(e?.user),e?.user;throw Error("User not found")},[]);return(0,a.useEffect)(()=>{_(n?.session?.user||c.O),r.av(n?.session?.user?{email:n?.session?.user?.email||"",id:n?.session?.user?.id}:null)},[n?.session]),(0,a.useEffect)(()=>{if(!b?.id){N(n.currentCountry),S(n.currentCurrency);return}let e=b?.shipping_country_id||b?.country_id,t=n?.countries.find(t=>t.id===e)||n?.countries.find(e=>"US"===e.shortcode),s=n.currencies.find(e=>e.id===t.currency_id);N(t),S(s)},[b?.shipping_country_id,b?.country_id,n?.countries,n.currencies,b,n.currentCountry,n.currentCurrency]),(0,s.jsx)(h.Z.Provider,{value:{...x,isProductFlow:p,setIsProductFlow:g,getCollectionBySlug:(e,t,s)=>u.lK(n.productCollections,e,t,s),getCollectionsByClass:(e,t)=>u.FM(n.productCollections,e,t),getCountryById:e=>n.countries.find(t=>t.id===parseInt(String(e)))||o.f,getShippingOptions:e=>d.FM(n.countries,e),guestUser:Z,guestUserFetch:()=>l.ZP.get("/me/guest").then(e=>{if(e?.id){let t=(0,m.wt)(e);return T(t),t}}).catch(e=>{console.log(e),r.Tb(e)}),isAuthenticated:A,user:b,userFetch:P,userUpdate:e=>l.ZP.put("/me",e).then(e=>e?.otpSent?e:P()),ftrToken:y,setFTRToken:j,searchSideBarOpen:v,setSearchSideBarOpen:w,currentCountry:k,currentCurrency:C},children:t})}},95348:function(e,t,n){"use strict";var s=n(46353),r=n(9552);t.Z=()=>{let e=(0,s.useContext)(r.Z);if(!e)throw Error("useAppContext must be used within an AppContextProvider");return e}},74632:function(e,t,n){"use strict";n.d(t,{LinguiClientProvider:function(){return l}});var s=n(5333),r=n(1671),i=n(19201),a=n(46353);function l(e){let{children:t,initialLocale:n,initialMessages:l}=e,[o]=(0,a.useState)(()=>(0,i.E5)({locale:n,messages:{[n]:l}}));return(0,s.jsx)(r.bd,{i18n:o,children:t})}},44419:function(e,t,n){"use strict";var s=n(5333),r=n(99709),i=n(99234),a=n(46353);t.default=e=>{let{children:t}=e,[n]=(0,a.useState)(()=>new r.S({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}));return(0,s.jsx)(i.aH,{client:n,children:t})}},9782:function(e,t,n){"use strict";var s=n(33025);t.default=s.eA},12324:function(e,t,n){"use strict";n.d(t,{PO:function(){return u}});var s=n(8955),r=n(92380),i=n(81540),a=n(61979),l=n(17956),o=n(12577);let c={MINS_15:900,HOURS_1:3600,HOURS_6:21600,DAYS_1:86400,DAYS_7:604800,DAYS_14:1209600},d=async()=>{let e=(0,r.xN)("ip",void 0);if(!e&&l.sk){let{headers:t}=await n.e(458).then(n.bind(n,90458));e=t().get("cf-connecting-ip")}return e},u=async()=>{let e=(0,r.xN)("ip",void 0),t=!1;if(l.sk){let{headers:s}=await n.e(458).then(n.bind(n,90458)),r=s();e=r.get("cf-connecting-ip");let i=r.get("user-agent")||"";t=(0,a.pm)(i)}return[e,t]},m=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e)return Promise.resolve({});let t=(0,r.xN)("guest_token",void 0),n=(0,r.xN)("token",void 0),s=(0,r.xN)("last_locale","en"),i=await d();return{Accept:"application/json","Content-Type":"application/json","x-app-version":l.sk?"8.8.8":"1.0.0","x-device-id":(0,l.Zw)(),"x-locale":s||"en","x-real-ip":i,...n?{Authorization:`Bearer ${n}`}:{},...t?{"guest-token":t}:{}}},h=e=>e instanceof Error?(console.log("API",e.message),Promise.reject(e.message)):Promise.reject("Something went wrong! Please try again."),f=l.sk?i.O.NEXT_PUBLIC_NS_API_PRIMARY:i.O.NEXT_PUBLIC_NS_API,x=e=>e.startsWith("/")?`${f}${e}
162`:`${f}/${e}`,p=e=>e.then(async e=>{if(e.ok)return e.json();throw Error((await e.json()).message)}).catch(h),g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(0,o.Z)(x(e),t);return m(n.skipHeaders).then(e=>p(fetch(s,{...n,headers:{...e,...n.headers}})))},v={mins15:(0,s.unstable_cache)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return g(e,t,{...n,skipHeaders:!0})},void 0,{revalidate:c.MINS_15}),hours1:(0,s.unstable_cache)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return g(e,t,{...n,skipHeaders:!0})},void 0,{revalidate:c.HOURS_1}),days1:(0,s.unstable_cache)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return g(e,t,{...n,skipHeaders:!0})},void 0,{revalidate:c.DAYS_1})};t.ZP={CACHE_TIME_SECS:c,get:g,getUseCache:v,post:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return m().then(s=>p(fetch(x(e),{method:"POST",body:JSON.stringify(t),...n,headers:{...s,...n.headers}})))},put:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return m().then(s=>p(fetch(x(e),{method:"PUT",body:JSON.stringify(t),...n,headers:{...s,...n.headers}})))},remove:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return m().then(n=>p(fetch(x(e),{method:"DELETE",...t,headers:{...n,...t.headers}})))}}},71100:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},S:function(){return l}});var s=n(81540);let r=!1,i=(e,t)=>{var n,i,l,c;if(!r){if(window.$crisp&&window.CRISP_WEBSITE_ID){o(e,t);return}window.$crisp=[],window.CRISP_WEBSITE_ID=s.O.NEXT_PUBLIC_CRISP_WEBSITE_ID,r=!0,(n="crisp-chat",i="https://client.crisp.chat/l.js",l="$crisp",c=()=>{o(e,t),a()},new Promise(e=>{if(document.getElementById(n)&&(!l||l&&window[l]))return e();let t=document.getElementsByTagName("script")[0],s=document.createElement("script");s.type="text/javascript",s.async=!0,s.src=i,s.id=n;let r=function(){if(!this.readyState||"complete"===this.readyState)return c&&c(),e()};s.onload=r,s.onreadystatechange=r,t.parentNode&&t.parentNode.insertBefore(s,t)})).then(()=>{r=!1})}},a=()=>{let e=document.getElementById("crisp-chatbox");e&&e.classList.remove("visible")},l=()=>{let e=document.getElementById("crisp-chatbox");e&&(e.classList.add("visible"),window.$crisp.push(["do","chat:open"]))},o=(e,t)=>{e&&(e.email&&window.$crisp.push(["set","user:email",[e.email]]),e.fullname&&window.$crisp.push(["set","user:nickname",[e.fullname]]),e.phone&&window.$crisp.push(["set","user:phone",[e.phone]]),t&&window.$crisp.push(["set","session:data",[[["language",e.locale]]]]),t&&window.$crisp.push(["set","session:data",[[["country",t.name]]]]))}},12577:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let s=e=>Object.keys(e).filter(t=>void 0!==e[t]).map(t=>`${t}=${encodeURIComponent(String(e[t]))}`).join("&"),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"where",n={};return Object.keys(e).forEach(s=>{null!==e[s]&&void 0!==e[s]&&""!==e[s]&&(n[`${t}[${s}]`]=e[s])}),n};function i(e){let{...t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.ignoreActive||(t.filter?t.filter["active:eq"]=!1!==t.filter["active:eq"]:t.filter={"active:eq":!0});let n=/\?/.test(e)?`${e}&`:`${e}?`;if(t.filter&&(n=`${n}${s(r(t.filter))}`),t.modifier&&(n=`${n}&${s(r(t.modifier,"modifier"))}`),t.include){let e={include:`[${t.include.join(",")}]`};n=`${n}&${s(e)}`}if(t.includeFields){let e={includeFields:`[${Object.keys(t.includeFields).map(e=>t.includeFields?`${e}:${t.includeFields[e].join(",")}`:"").join(";")}]`};n=`${n}&${s(e)}`}if(t.page){let e=void 0===t.page.number?0:t.page.number,s=void 0===t.page.size?10:t.page.size;n=`${n}&page[number]=${e}&page[size]=${s}`}if(t.sort){let e={sort:t.sort};n=`${n}&${s(e)}`}return(t.folder_name||t.file_name||t.file_type||t.bucket_name)&&(n=`${n}&folder_name=${t.folder_name||""}&file_name=${t.file_name||""}&file_type=${t.file_type||""}&bucket_name=${t.bucket_name||""}`),n=n.replace(/\?&/,"?")}},82054:function(e,t,n){"use strict";var s=n(81292),r=n(12324),i=n(17956),a=n(50838);
162class l{cacheGet(){if(i.sk)return{};let e=(0,a.cacheGet)(this.cacheKey,{});return"object"!=typeof e||null===e||Array.isArray(e)?this.cacheSet({}):e}cacheSet(e){return(0,a.cacheSet)(this.cacheKey,e)}async add(e,t){let n=(0,s.WU)(new Date,"YYYY-MM-DD"),i=this.cacheGet(),a=this.mergeGrouped({...i,[n]:[{product_id:e.id},...i?.[n]||[]]});if(this.cacheSet(a),t)return r.ZP.post("me/viewed-products",{products:a[n],viewed_date:n}).then(e=>{let t=(e.results||[]).reduce((e,t)=>(e[t.viewed_date]=t.products,e),{});return this.cacheSet(t)})}syncAll(){let e=this.cacheGet();return e&&0!==Object.keys(e).length?r.ZP.post("me/viewed-products/sync",{productsByDate:e}):r.ZP.remove("me/viewed-products/delete")}async deleteAll(e,t,n){e&&await r.ZP.remove("me/viewed-products/delete"),(0,a.cacheRemove)("recent_viewed_products"),n(),t()}constructor(){this.cacheKey="recent_viewed_products",this.mergeGrouped=e=>{let t={};for(let[n,s]of Object.entries(e)){let e=s.filter(e=>Number.isInteger(e.product_id)).map(e=>({product_id:e.product_id||0,timestamp:e.timestamp||Date.now()})).sort((e,t)=>e.timestamp<t.timestamp?1:-1);t[n]=(0,i.mN)(e,"product_id").slice(0,24)}return t}}}let o=new l;t.Z=o},95895:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var s=n(2247),r=n(27129);let i={id:0,name:"",storage_initial_fee:0,delivery_base:0,delivery_increment:0,delivery_surcharge:0,delivery_instant:0,shipping_base:0,shipping_increment:0,shipping_surcharge:0,currency_id:0,ns_pay_buy_enabled:!0,buying_enabled:!0,selling_enabled:!0,buying_storage_enabled:!1,storage_delivery_enabled:!1,is_tax_inclusive_pricing:!1,delivery_insurance_enabled:!1,shortcode:"",calling_code:"",currency:s.O,shipping_options:[r.X],payout_config:[{method:"crypto",fee_percent:0,fee_fixed:0,fee_percent_discounted:0,fee_fixed_discounted:0},{method:"expedited_requested",fee_percent:0,fee_fixed:0,fee_percent_discounted:0,fee_fixed_discounted:0},{method:"requested",fee_percent:0,fee_fixed:0,fee_percent_discounted:0,fee_fixed_discounted:0}],states:[],cities:{},delivery_surcharge_remote:0,selling_consignment_enabled:!1,site_ticker:{text:void 0,link:void 0},active:!1,short_code_iso3:"",ns_address_name:null,ns_address_line_1:null,ns_address_line_2:null,ns_address_line_3:null,ns_address_city:null,ns_address_state:null,ns_address_zip:null,ns_address_phone:null,ns_address_email:null,shipping_config:void 0,drop_off_day_time:null}},27129:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});let s={id:0,name:"",method:"manual",single_select:!0,bulk_select:!1,couriers:["Others"],country_id:3,active:!1,seller_type:null,sequence:null,bulk_item_limit:null,processing_country:null,courier_id:null}},2247:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});let s={id:0,code:"USD",symbol:"",locale:"en-US",rate:0,min_offer_price:30,min_list_price:30,offer_step:1,list_step:1,authentication_fee:0,max_decimals:2,precision:.01,payout_precision:.1,referrer_promocode_value:0,referee_promocode_value:0,referee_min_buy:0,name:"",updated_at:"",active:!1}},89883:function(e,t,n){"use strict";n.d(t,{KU:function(){return i},Z8:function(){return a},kl:function(){return r}});var s=n(2247);let r=["Sneakers","Apparel","Collectibles"],i={id:0,gallery:[],name:"",name_en:"",description:null,active:!1,created_at:"",updated_at:"",actual_weight:null,cost:null,drop_date:null,highest_offer_price:null,lowest_listing_price:null,colorway:null,designer:null,main_color:null,midsole:null,nickname_english:null,drop_year:null,name_slug:null,silhouette:null,sku:null,upper_material:null,sizes:null,gender:null,class:null,main_brand:null,sub_brand:null,category_level_1:null,category_level_2:null,category_level_3:null,category_level_4:null,season:null,collections:[],category_tags:[],vol_weight:null,short_name:null,category:null,last_sale_price:null,celebrity:void 0,size_chart_url:null,is_instant_available:!1,wishlist_active_count:null,drop_dates_local:void 0,nickname_zh:null,delivers_from:[],country_lowest_list_prices:void 0,cost_retail:null,is_buy_now_only:!1,image:void 0,is_sneaker:!0,is_apparel:!1,is_collectible:!1,is_one_size:!1,shorter_name:"",size_specific:"",badges:[],last_day_view_count:0,list_count:0,sales_count_180:0},a={id:0,size:"",price:0,buy_route_nature:"International",express_courier_name:null,is_pre_order:!1,country_id:0,currency:s.O,type:"selling",is_gst_inclusive:!1,local_size:"",local_price:0,product_id:0,local_currency_id:0,is_instant:!1,buy_country:[],delivery_express_fee:void 0}},20007:function(e,t,n){"use strict";n.d(t,{O:function(){return o},m:function(){return l}});var s=n(95895);let r={id:0,seller_country_id:0,country:s.f,selling_fee_percent:0,selling_fee_fixed:0,processing_fee_percent:0,processing_fee_fixed:0,payout_fiat_fee_percent:0,payout_fiat_fee_fixed:0,payout_crypto_fee_percent:0,payout_crypto_fee_fixed:0,flake_fee_percent:0,flake_fee_fixed:0,qc_fail_fee_percent:0,qc_fail_fee_fixed:0,lc_fail_fee_percent:0,lc_fail_fee_fixed:0,is_default:!0,power_features:!1,consignment_enabled:!1,name:"",penalty_limit:0,min_selling_fee:0,created_at:"",updated_at:""},i={PaymentAccountReference:"",acquirerAccountCode:"",acquirerCode:"",acquirerReference:"",addedAt:"",authorisationMid:"",authorisedAmountCurrency:"",authorisedAmountValue:0,avsResult:"",bankAccount_iban:null,bankAccount_ownerName:null,brand:"",cardBin:"",cardHolderName:"",cardIssuingCountry:"",cardPaymentMethod:"",cardSummary:"",cvcResult:"",cvcResultRaw:"",expiryDate:"",fundingSource:"",isCardCommercial:"",issuerBin:"",issuerCountry:"",liabilityShift:!1,merchantReference:"",networkTxReference:"",paymentMethodVariant:"",recurringProcessingModel:"",recurring_contractTypes:"",recurring_recurringDetailReference:"",recurring_shopperReference:"",threeDAuthenticated:!1,threeDAuthenticatedResponse:"",threeDOffered:!1,threeDOfferedResponse:"",threeDSVersion:""},a={address_city:null,address_country:null,address_line1:null,address_line1_check:null,address_line2:null,address_state:null,address_zip:null,address_zip_check:null,brand:"",country:"",customer:"",cvc_check:"",dynamic_last4:null,exp_month:0,exp_year:0,fingerprint:"",funding:"",id:"",last4:"",metadata:{},name:"",object:"",tokenization_method:null},l={firstname:"",lastname:"",line_1:"",line_2:"",line_3:"",city:"",state:"",zip:"",country_code:"",phone:"",is_remote_area:!1,country:s.f},o={id:void 0,ref:"",email:"",country:s.f,billing_country:s.f,selling_country:s.f,shipping_country:s.f,locale:"en",seller_fee_id:0,seller_fee:r,size_preferences:{},address:l,billing_address:l,selling_address:l,shipping_address:l,email_verified:!1,status:"active",stripe_buyer:a,stripe_seller:a,adyen_buyer:i,adyen_seller:i,notification_preferences:{push:!1,email:!0,promotions:{push:!0,email:!0},sale_updates:{push:!0},list_expiring:{push:!0},offer_expiring:{push:!0},buyer_new_lowest_list:{push:!0,email:!0},wishlist_new_lowest_list:{push:!0,email:!0},wishlist_instant_delivery_available:{push:!0,email:!0},wishlist_new_highest_offer:{push:!0},seller_new_lowest_list:{push:!0,email:!0},buyer_new_highest_offer:{push:!0,email:!0},seller_new_highest_offer:{push:!0,email:!0,threshold:85}},payout_info:{},shipping_stats:{to_ship_count:0,shipping_count:0,unfulfilled_count:0,to_ship_delayed_rate:0,to_ship_time_avg:0,has_to_ship:!1,has_to_ship_delayed:!1}
162,groups:[],referred_users:[],points:0,promocodes:[],favorite_brands:[],referral_code:"",raffle:[],checkin:[],hasBuyCard:!1,hasBuyCardAndEnabled:!1,hasSellCard:!1,hasPayout:!1,hasDelivery:!1,hasSellingAddress:!1,hasShippingAddress:!1,buying_card_disabled:!1,sell_enabled:!1,isOnboardingTaskEligible:!1}},38031:function(e,t,n){"use strict";n.d(t,{h:function(){return o},k:function(){return c}});var s=n(33025),r=n(59907),i=n(82054),a=n(50838),l=n(50199);function o(e,t){r.Z.login(e,t||(0,l.TU)(e)),i.Z.syncAll(),(0,a.cacheRemove)("delivery_address")}function c(){(0,s.w7)(),r.Z.logout(),(0,a.cacheRemove)("delivery_address")}},92380:function(e,t,n){"use strict";n.d(t,{Yz:function(){return a},pp:function(){return i},xN:function(){return r}});var s=n(57729);function r(e,t){{let n=s.Z.get(e);if(!n)return t;try{return JSON.parse(n)}catch(e){return n}}}function i(e,t,n,r){let i=t;"object"==typeof t&&(i=JSON.stringify(t));let a={...r};return n&&(a.expires=n/1440),s.Z.set(e,i,a),t}let a=e=>s.Z.remove(e)},64891:function(e,t,n){"use strict";n.d(t,{FM:function(){return u},IA:function(){return m},Zo:function(){return c},av:function(){return o},tx:function(){return l},vQ:function(){return d}});var s=n(72970),r=n(95895),i=n(50838),a=n(27129);let l=e=>{let{language:t}=e;return"zh-Hant-TW"===t?"/news/zh-tw":"/news"},o=e=>e.filter(e=>e.buying_enabled),c=(e,t)=>e.find(e=>e.shortcode===t),d=(e,t)=>e.find(e=>e.id===t)||r.f,u=(e,t)=>{if(!t)return null;let n=e.find(e=>e.id===Number(t));return n&&n.shipping_options||[a.X]},m=e=>{(0,i.cacheRemove)("delivery_address"),(0,s.CI)(String(e))}},98398:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var s=n(64152),r=n(61979),i=n(12324);let a={start:"2026-04-04T00:00:00+08:00",end:"2026-04-23T00:00:00+08:00"},l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return n>=e&&n<t};t.Z=()=>{let{data:e=a,isFetching:t}=(0,s.a)({queryKey:["/event/freeshipping2026"],queryFn:()=>i.ZP.get("/event/freeshipping2026"),...r.Yr.infinity,enabled:!1});return{startTime:new Date(e.start||a.start).getTime(),endTime:new Date(e.end||a.end).getTime(),partialShipping:e.partialShipping,freeShippingMinBuyByCurrencyCode:e.freeShippingMinBuyByCurrencyCode,tickerDesktopTextByCurrencyCode:e.tickerDesktopTextByCurrencyCode,tickerMobileTextByCurrencyCode:e.tickerMobileTextByCurrencyCode,isFetching:t}}},58738:function(e,t,n){"use strict";n.d(t,{g:function(){return r}});var s=n(84792);let r=e=>e.split("/").includes("review");t.Z=()=>r((0,s.usePathname)())},88824:function(e,t,n){"use strict";var s=n(46353);t.Z=e=>{let[t,n]=(0,s.useState)(e);return[t,e=>{"boolean"==typeof e?n(e):n(e=>!e)}]}},17956:function(e,t,n){"use strict";n.d(t,{C5:function(){return v},Dr:function(){return a},Ds:function(){return d},Em:function(){return x},Ie:function(){return o},MK:function(){return i},P2:function(){return u},Sd:function(){return l},T:function(){return w},Zw:function(){return h},b8:function(){return j},gn:function(){return y},mB:function(){return _},mN:function(){return m},nI:function(){return p},sW:function(){return c},sk:function(){return g},tq:function(){return f},zG:function(){return b}});var s=n(1634),r=n(92380);let i="https://images.novelship.com/",a=e=>`${e} 1x, ${e}&dpr=2 2x`,l=(e,t)=>{let n=[t?"q=85":"",e.includes("auto=")?"":"auto=format,compress"].filter(Boolean).join("&");return[`${i}${e.replace(i,"").replace("https://ns.imgix.net/","")}`,n].filter(Boolean).join(e.includes("?")?"&":"?")},o=e=>Object.keys(e).filter(t=>void 0!==e[t]).map(t=>`${t}=${e[t].toString()}`).join("&"),c=e=>{if(!e)return;let t={...e};return Object.keys(t).forEach(e=>(void 0===t[e]||null===t[e])&&delete t[e]),t},d=(e,t)=>{let n;return function(){for(var s=arguments.length,r=Array(s),i=0;i<s;i++)r[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>e.apply(this,r),t)}},u=(e,t)=>{let n;return function(){for(var s=arguments.length,r=Array(s),i=0;i<s;i++)r[i]=arguments[i];n||(e.apply(this,r),n=!0,setTimeout(()=>n=!1,t))}},m=(e,t)=>e.filter((e,n,s)=>s.findIndex(n=>n[t]===e[t])===n);function h(){let e="device_id";return(0,r.xN)(e,void 0)||(0,r.pp)(e,(0,s.Z)(),129600)}let f=e=>void 0!==e&&e.innerWidth<768,x=e=>void 0!==e&&e.innerWidth<=1024,p=e=>void 0!==e&&e.innerWidth>=768;window.innerWidth,window.innerWidth;let g=!1,v=!0,w="ontouchstart"in document.documentElement,y=["iPhone","iPad","iPod"].includes(window.navigator.platform),j=e=>/[\u3040-\u30ff\u3400-\u4dbf\u4e00-\u9fff\uf900-\ufaff\uff66-\uff9f]/g.test(String(e)),b=e=>e.map(e=>e.toLowerCase()),_=e=>{let t={};return((e||window.location.search||"").split("?")[1]||"").replace(/([^?&=]+)=([^&]*)/g,(e,n,s)=>t[n]=function(e){try{return decodeURIComponent(e)}catch(t){return e}}(s)),t}},80392:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});let s={main:{en:"en"},sellers_guide:{en:"en/category/selling-faqs-1hy8em4/","zh-Hant-TW":"zh-tw/category/6loj5a625oyh5y2x-11zu2a6/"},buyers_guide:{en:"en/category/buying-faqs-1blxjzb/","zh-Hant-TW":"zh-tw/category/6lk35a625oyh5y2x-l05as2/"},listing_guide:{en:"en/article/become-a-seller-xy1tb6/#3-selling"},shipping_info:{en:"en/article/shipping-info-1vlw7n3"},selling_info:{en:"en/article/selling-info-5l4l08"},selling:{en:"en/article/become-a-seller-xy1tb6/#3-selling"},duty_tax:{en:"en/article/how-are-taxes-and-duties-calculated-1ltyd8f"},payout_request:{en:"en/article/become-a-seller-xy1tb6/#3-payout-guide"},instant_delivery:{en:"en/article/shipping-info-1vlw7n3/#3-processing-time"},sell_from_storage:{en:"en/article/become-a-seller-xy1tb6/#3-sell-from-storage"},bulk_shipping:{en:"en/article/selling-info-5l4l08/#3-bulk-shipping"},return_and_refund_policy:{en:"en/article/return-and-refund-1othnie"},custom_duties_and_taxes:{en:"en/article/buying-info-3npyni/#3-do-you-collect-sales-taxes-and-duties"},buying_faqs:{en:"en/category/buying-faqs-1blxjzb/","zh-Hant-TW":"zh-tw/category/6lk35a625oyh5y2x-l05as2/"},selling_faqs:{en:"en/category/selling-faqs-1hy8em4/","zh-Hant-TW":"zh-tw/category/6loj5a625oyh5y2x-11zu2a6/"},shipping_faq:{en:"en/category/shipping-faq-ohx3xp/"},returns_refunds_faq:{en:"en/category/returns-refunds-faq-1ljykw7/","zh-Hant-TW":"zh-tw/category/6yca6lko5oyh5y2x-17ast7b/"},account_payments_faq:{en:"en/category/account-payments-faq-nwn27i/","zh-Hant-TW":"zh-tw/category/5biz5oi26iih5psv5luy5bi46kal5zwp6agm-11stuv6/"}},r=(e,t)=>{let n=s[e]||s.main,r=n[t]||n.en;return`https://support.novelship.com/${r}`}},50838:function(e,t,n){"use strict";function s(){let e;try{e=window.localStorage;let t="__storage_test__";return e.setItem(t,t),e.removeItem(t),!0}catch(t){return t instanceof DOMException&&"QuotaExceededError"===t.name&&e&&0!==e.length}}n.r(t),n.d(t,{cacheGet:function(){return i},cacheRemove:function(){return a},cacheSet:function(){return r}});let r=(e,t,n)=>(s()&&("object"==typeof t?localStorage?.setItem(e,JSON.stringify(t)):localStorage?.setItem(e,String(t)),n&&localStorage?.setItem(`${e}_exp`,String(Date.now()+60*n*1e3))),t),i=(e,t)=>{if(!s())return t;let n=localStorage?.getItem(`${e}_exp`);
162if(n&&parseInt(n)<Date.now())return t;let r=localStorage?.getItem(e);if(!r)return t;try{return JSON.parse(r)}catch(e){return r}},a=e=>{s()&&(localStorage?.removeItem(e),localStorage?.removeItem(`${e}_exp`))}},89206:function(e,t,n){"use strict";n.d(t,{FM:function(){return l},JA:function(){return u},Np:function(){return a},OD:function(){return h},S4:function(){return m},lK:function(){return o},rI:function(){return c}}),n(81540),n(79682),n(61979);var s=n(89883),r=n(17956);let i=(e,t)=>e>t?e:t,a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{actual_weight:0,vol_weight:0},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{vol_weight:0,actual_weight:0},n=i(Number(e.vol_weight)+t.vol_weight,Number(e.actual_weight)+t.actual_weight),s=n<5e3?500:1e3;return Math.ceil(n/s)*s},l=(e,t,n)=>[...e?.[n]?.[t]||[],...e?.[n]?.All].sort((e,t)=>(e.browse_sequence||0)-(t.browse_sequence||0)),o=(e,t,n,r)=>{let i=l(e,n,r).find(e=>e.slug===t);if(i)return i;if(!n)for(let n of s.kl){let s=l(e,n,r).find(e=>e.slug===t);if(s)return s}return{}},c=(e,t)=>e.country_lowest_list_prices?.[t]??e[`${t}_price`]??e.lowest_listing_price,d=(e,t)=>e?t?e.replace(/'(.*?)'|"(.*?)"/g,`'${t}'`):e:"",u=(e,t,n)=>e?"zh-Hant-TW"===n?d(e,t.nickname_zh??""):e:null,m=e=>!e||(0,r.b8)(e)?null:e,h={TRENDING_DEALS:"trending-deals",GALLERY_LOOK:"gallery-look",WEEKLY_TRENDING_ITEM:"weekly-trending-item"}},20557:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var s=n(22959);let r=(e,t)=>"referrer"===e?(0,s.$)(t.referrer_promocode_value,t):(0,s.$)(t.referee_promocode_value,t)},74704:function(e,t,n){"use strict";n.d(t,{cn:function(){return i}});var s=n(99033),r=n(12823);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.m6)((0,s.W)(t))}},50199:function(e,t,n){"use strict";n.d(t,{TU:function(){return m},wY:function(){return u},wt:function(){return l},zy:function(){return d}});var s=n(17956),r=n(20007),i=n(50838),a=n(92380);let l=e=>{let t=!(0,s.zG)(e.groups).includes("has-purchase");return{...e,onboarding_task:e.onboarding_task||r.O.onboarding_task,favorite_brands:e.favorite_brands||r.O.favorite_brands,size_preferences:e.size_preferences||r.O.size_preferences,payout_info:e.payout_info||r.O.payout_info,seller_fee:e.seller_fee||r.O.seller_fee,country:e.country||r.O.country,billing_country:e.billing_country||r.O.country,selling_country:e.selling_country||r.O.country,shipping_country:e.shipping_country||r.O.country,shipping_stats:e.shipping_stats||r.O.shipping_stats,address:e.address||r.O.address,billing_address:e.billing_address||r.O.billing_address,selling_address:e.selling_address||r.O.selling_address,shipping_address:e.shipping_address||r.O.shipping_address,isAdmin:"admin"===e.role,firstTimePromocodeEligible:t,refereeEligible:(0,s.zG)(e.groups).includes("referee")&&t,showPowerSellerFeature:!!e.seller_fee.power_features||(0,s.zG)(e.groups).includes("power-features"),sneakerSize:e.size_preferences?.Sneakers?`${e.size_preferences?.Sneakers.unit} ${e.size_preferences?.Sneakers.size}${e.size_preferences?.Sneakers.category==="men"&&e.size_preferences?.Sneakers.unit==="US"?"M":""}`:"",teeSize:e.size_preferences?.Apparel?.size||"",dob:e.dob?new Date(e.dob.slice(0,-1)).toISOString():""}},o="site_visited_count",c=1;c=function(){let e=(0,i.cacheGet)(o,0);return e&&"number"==typeof Number(e)?(0,i.cacheSet)(o,Number(e)+1):(0,i.cacheSet)(o,1)}();let d=()=>1===(function(){try{let e=(0,a.xN)(o,void 0);return parseInt(e||"1",10)}catch(e){return console.error("Error accessing cookies:",e),1}}()||c)?"new_user":"returning_user",u=e=>!!e?.id&&!!e?.country?.buying_storage_enabled;function m(e){return e&&e.google?"google":e&&e.facebook?"facebook":e&&e.apple?"apple":"email"}},90995:function(){}},function(e){e.O(0,[1174,3673,2332,9837,6544,6515,1137,9313,5578,4632,8273,9838,6970,1595,9340,940,9009,7956,3952,2273,1703,4600,1515,974,8309,1582,3395,4320,2922,1744],function(){return e(e.s=92245)}),_N_E=e.O()}]);
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.