@faststore/core 3.0.63 → 3.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- package/.next/cache/fetch-cache/50912854cb7c781522a6ff8792d714e549515fcbbbfd660761961b06afe01c07 +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.js +1 -1
- package/.next/server/app/_not-found.js.nft.json +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found_client-reference-manifest.js +1 -1
- package/.next/server/app/fs-next-update/page.js +1 -1
- package/.next/server/app/fs-next-update/page.js.nft.json +1 -1
- package/.next/server/app/fs-next-update/page_client-reference-manifest.js +1 -1
- package/.next/server/app/fs-next-update.html +1 -1
- package/.next/server/app/fs-next-update.rsc +1 -1
- package/.next/server/chunks/1481.js +413 -0
- package/.next/server/chunks/1889.js +8 -0
- package/.next/server/chunks/2133.js +88 -0
- package/.next/server/chunks/223.js +1 -1
- package/.next/server/chunks/2381.js +1 -0
- package/.next/server/chunks/2534.js +1 -0
- package/.next/server/chunks/2918.js +2 -0
- package/.next/server/chunks/2957.js +1 -0
- package/.next/server/chunks/3383.js +123 -0
- package/.next/server/chunks/3716.js +2 -0
- package/.next/server/chunks/3779.js +1 -0
- package/.next/server/chunks/3993.js +1 -0
- package/.next/server/chunks/4222.js +1 -0
- package/.next/server/chunks/4520.js +1 -0
- package/.next/server/chunks/4930.js +1 -0
- package/.next/server/chunks/5640.js +6 -0
- package/.next/server/chunks/5950.js +1 -0
- package/.next/server/chunks/6058.js +1 -0
- package/.next/server/chunks/6102.js +1 -0
- package/.next/server/chunks/6305.js +15 -0
- package/.next/server/chunks/{374.js → 6374.js} +1 -1
- package/.next/server/chunks/6693.js +1 -0
- package/.next/server/chunks/6859.js +6 -0
- package/.next/server/chunks/7035.js +1 -0
- package/.next/server/chunks/7267.js +1 -0
- package/.next/server/chunks/8158.js +1 -0
- package/.next/server/chunks/8245.js +1 -0
- package/.next/server/chunks/8635.js +1 -0
- package/.next/server/chunks/8640.js +1 -0
- package/.next/server/chunks/9679.js +1 -0
- package/.next/server/chunks/9812.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/404.js +1 -1
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js +1 -1
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js +2 -2
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +5 -5
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/account.js +1 -1
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/api/health/live.js +1 -1
- package/.next/server/pages/api/health/live.js.nft.json +1 -1
- package/.next/server/pages/api/health/ready.js +1 -1
- package/.next/server/pages/api/health/ready.js.nft.json +1 -1
- package/.next/server/pages/api/preview.js +1 -1
- package/.next/server/pages/api/preview.js.nft.json +1 -1
- package/.next/server/pages/checkout.js +1 -1
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/index.js +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js +1 -1
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/server/webpack-api-runtime.js +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/trace +65 -58
- package/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-test.log +4 -4
- package/package.json +5 -5
- package/.next/server/chunks/102.js +0 -1
- package/.next/server/chunks/133.js +0 -88
- package/.next/server/chunks/158.js +0 -1
- package/.next/server/chunks/245.js +0 -1
- package/.next/server/chunks/267.js +0 -1
- package/.next/server/chunks/305.js +0 -15
- package/.next/server/chunks/35.js +0 -1
- package/.next/server/chunks/381.js +0 -1
- package/.next/server/chunks/383.js +0 -123
- package/.next/server/chunks/481.js +0 -413
- package/.next/server/chunks/493.js +0 -1
- package/.next/server/chunks/520.js +0 -1
- package/.next/server/chunks/534.js +0 -1
- package/.next/server/chunks/58.js +0 -1
- package/.next/server/chunks/635.js +0 -1
- package/.next/server/chunks/640.js +0 -6
- package/.next/server/chunks/679.js +0 -1
- package/.next/server/chunks/693.js +0 -1
- package/.next/server/chunks/779.js +0 -1
- package/.next/server/chunks/812.js +0 -1
- package/.next/server/chunks/859.js +0 -6
- package/.next/server/chunks/889.js +0 -8
- package/.next/server/chunks/902.js +0 -1
- package/.next/server/chunks/930.js +0 -1
- package/.next/server/chunks/950.js +0 -1
- package/.next/server/chunks/957.js +0 -1
- package/.next/server/chunks/993.js +0 -1
- /package/.next/static/{oMUSJ3F9dCkPLN-bimLFg → kBnSk99LVFo2cLlCkk4Bu}/_buildManifest.js +0 -0
- /package/.next/static/{oMUSJ3F9dCkPLN-bimLFg → kBnSk99LVFo2cLlCkk4Bu}/_ssgManifest.js +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
exports.id=640,exports.ids=[640],exports.modules={4878:(e,t)=>{"use strict";function getDeploymentIdQueryOrEmptyString(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return getDeploymentIdQueryOrEmptyString}})},5341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return addBasePath}});let a=r(471),n=r(464);function addBasePath(e,t){return(0,n.normalizePathTrailingSlash)((0,a.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return addLocale}});let a=r(464),addLocale=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return(0,a.normalizePathTrailingSlash)(r(6634).addLocale(e,...n))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RSC:function(){return r},ACTION:function(){return a},NEXT_ROUTER_STATE_TREE:function(){return n},NEXT_ROUTER_PREFETCH:function(){return o},NEXT_URL:function(){return i},RSC_CONTENT_TYPE_HEADER:function(){return l},RSC_VARY_HEADER:function(){return s},FLIGHT_PARAMETERS:function(){return u},NEXT_RSC_UNION_QUERY:function(){return c}});let r="RSC",a="Next-Action",n="Next-Router-State-Tree",o="Next-Router-Prefetch",i="Next-Url",l="text/x-component",s=r+", "+n+", "+o+", "+i,u=[[r],[n],[o]],c="_rsc";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6658:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return a},ACTION_NAVIGATE:function(){return n},ACTION_RESTORE:function(){return o},ACTION_SERVER_PATCH:function(){return i},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return s},ACTION_SERVER_ACTION:function(){return u}});let a="refresh",n="navigate",o="restore",i="server-patch",l="prefetch",s="fast-refresh",u="server-action";(function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"})(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return detectDomainLocale}});let detectDomainLocale=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return r(466).D(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9703:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}});let a=r(464);function getDomainLocale(e,t,n,o){{let i=r(5916).normalizeLocalePath,l=r(4392).detectDomainLocale,s=t||i(e,n).detectedLocale,u=l(o,void 0,s);if(u){let t="http"+(u.http?"":"s")+"://",r=s===u.defaultLocale?"":"/"+s;return""+t+u.domain+(0,a.normalizePathTrailingSlash)(""+r+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return hasBasePath}});let a=r(1613);function hasBasePath(e){return(0,a.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5770:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return a},isEqualNode:function(){return isEqualNode},default:function(){return initHeadManager}});let a={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function reactElementToDOM(e){let{type:t,props:r}=e,n=document.createElement(t);for(let e in r){if(!r.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===r[e])continue;let o=a[e]||e.toLowerCase();"script"===t&&("async"===o||"defer"===o||"noModule"===o)?n[o]=!!r[e]:n.setAttribute(o,r[e])}let{children:o,dangerouslySetInnerHTML:i}=r;return i?n.innerHTML=i.__html||"":o&&(n.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),n}function isEqualNode(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let a=t.cloneNode(!0);return a.setAttribute("nonce",""),a.nonce=r,r===e.nonce&&e.isEqualNode(a)}}return e.isEqualNode(t)}function initHeadManager(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let a=t.title?t.title[0]:null,n="";if(a){let{children:e}=a.props;n="string"==typeof e?e:Array.isArray(e)?e.join(""):""}n!==document.title&&(document.title=n),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],a=r.querySelector("meta[name=next-head-count]"),n=Number(a.content),o=[];for(let t=0,r=a.previousElementSibling;t<n;t++,r=(null==r?void 0:r.previousElementSibling)||null){var i;(null==r?void 0:null==(i=r.tagName)?void 0:i.toLowerCase())===e&&o.push(r)}let l=t.map(reactElementToDOM).filter(e=>{for(let t=0,r=o.length;t<r;t++){let r=o[t];if(isEqualNode(r,e))return o.splice(t,1),!1}return!0});o.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),l.forEach(e=>r.insertBefore(e,a)),a.content=(n-o.length+l.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return m}});let a=r(7083),n=r(5570),o=n._(r(6689)),i=a._(r(6405)),l=a._(r(6561)),s=r(8681),u=r(5764),c=r(6218);r(8565);let d=r(5469),f=a._(r(6920)),h={deviceSizes:[360,540,768,1280,1440],imageSizes:[34,68,154,320],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function handleLoading(e,t,r,a,n,o){let i=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===i)return;e["data-loaded-src"]=i;let l="decode"in e?e.decode():Promise.resolve();l.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let a=!1,n=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>a,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{a=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}(null==a?void 0:a.current)&&a.current(e)}})}function getDynamicProps(e){let[t,r]=o.version.split("."),a=parseInt(t,10),n=parseInt(r,10);return a>18||18===a&&n>=3?{fetchPriority:e}:{fetchpriority:e}}globalThis.__NEXT_IMAGE_IMPORTED=!0;let p=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:a,sizes:n,height:i,width:l,decoding:s,className:u,style:c,fetchPriority:d,placeholder:f,loading:h,unoptimized:p,fill:m,onLoadRef:g,onLoadingCompleteRef:y,setBlurComplete:v,setShowAltText:_,onLoad:P,onError:b,...R}=e;return o.default.createElement("img",{...R,...getDynamicProps(d),loading:h,width:l,height:i,decoding:s,"data-nimg":m?"fill":"1",className:u,style:c,sizes:n,srcSet:a,src:r,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(b&&(e.src=e.src),e.complete&&handleLoading(e,f,g,y,v,p))},[r,f,g,y,v,b,p,t]),onLoad:e=>{let t=e.currentTarget;handleLoading(t,f,g,y,v,p)},onError:e=>{_(!0),"empty"!==f&&v(!0),b&&b(e)}})});function ImagePreload(e){let{isAppRouter:t,imgAttributes:r}=e,a={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...getDynamicProps(r.fetchPriority)};return t&&i.default.preload?(i.default.preload(r.src,a),null):o.default.createElement(l.default,null,o.default.createElement("link",{key:"__nimg-"+r.src+r.srcSet+r.sizes,rel:"preload",href:r.srcSet?void 0:r.src,...a}))}let m=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(d.RouterContext),a=(0,o.useContext)(c.ImageConfigContext),n=(0,o.useMemo)(()=>{let e=h||a||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[a]),{onLoad:i,onLoadingComplete:l}=e,m=(0,o.useRef)(i);(0,o.useEffect)(()=>{m.current=i},[i]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[y,v]=(0,o.useState)(!1),[_,P]=(0,o.useState)(!1),{props:b,meta:R}=(0,s.getImgProps)(e,{defaultLoader:f.default,imgConf:n,blurComplete:y,showAltText:_});return o.default.createElement(o.default.Fragment,null,o.default.createElement(p,{...b,unoptimized:R.unoptimized,placeholder:R.placeholder,fill:R.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:P,ref:t}),R.priority?o.default.createElement(ImagePreload,{isAppRouter:!r,imgAttributes:b}):null)});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let a=r(7083),n=a._(r(6689)),o=r(9059),i=r(1651),l=r(3337),s=r(7921),u=r(6956),c=r(5469),d=r(7443),f=r(6730),h=r(9703),p=r(5341),m=r(6658);function formatStringOrUrl(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let g=n.default.forwardRef(function(e,t){let r,a;let{href:l,as:g,children:y,prefetch:v=null,passHref:_,replace:P,shallow:b,scroll:R,locale:S,onClick:w,onMouseEnter:E,onTouchStart:x,legacyBehavior:O=!1,...j}=e;r=y,O&&("string"==typeof r||"number"==typeof r)&&(r=n.default.createElement("a",null,r));let C=n.default.useContext(c.RouterContext),A=n.default.useContext(d.AppRouterContext),L=null!=C?C:A,M=!C,T=!1!==v,I=null===v?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:N,as:k}=n.default.useMemo(()=>{if(!C){let e=formatStringOrUrl(l);return{href:e,as:g?formatStringOrUrl(g):e}}let[e,t]=(0,o.resolveHref)(C,l,!0);return{href:e,as:g?(0,o.resolveHref)(C,g):t||e}},[C,l,g]),D=n.default.useRef(N),U=n.default.useRef(k);O&&(a=n.default.Children.only(r));let H=O?a&&"object"==typeof a&&a.ref:t,[B,z,F]=(0,f.useIntersection)({rootMargin:"200px"}),W=n.default.useCallback(e=>{(U.current!==k||D.current!==N)&&(F(),U.current=k,D.current=N),B(e),H&&("function"==typeof H?H(e):"object"==typeof H&&(H.current=e))},[k,H,N,F,B]);n.default.useEffect(()=>{},[k,N,z,S,T,null==C?void 0:C.locale,L,M,I]);let q={ref:W,onClick(e){O||"function"!=typeof w||w(e),O&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,r,a,o,l,s,u,c,d){let{nodeName:f}=e.currentTarget,h="A"===f.toUpperCase();if(h&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,i.isLocalURL)(r)))return;e.preventDefault();let navigate=()=>{let e=null==s||s;"beforePopState"in t?t[o?"replace":"push"](r,a,{shallow:l,locale:u,scroll:e}):t[o?"replace":"push"](a||r,{forceOptimisticNavigation:!d,scroll:e})};c?n.default.startTransition(navigate):navigate()}(e,L,N,k,P,b,R,S,M,T)},onMouseEnter(e){O||"function"!=typeof E||E(e),O&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e)},onTouchStart(e){O||"function"!=typeof x||x(e),O&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e)}};if((0,s.isAbsoluteUrl)(k))q.href=k;else if(!O||_||"a"===a.type&&!("href"in a.props)){let e=void 0!==S?S:null==C?void 0:C.locale,t=(null==C?void 0:C.isLocaleDomain)&&(0,h.getDomainLocale)(k,e,null==C?void 0:C.locales,null==C?void 0:C.domainLocales);q.href=t||(0,p.addBasePath)((0,u.addLocale)(k,e,null==C?void 0:C.defaultLocale))}return O?n.default.cloneElement(a,q):n.default.createElement("a",{...j,...q},r)}),y=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return normalizeLocalePath}});let normalizeLocalePath=(e,t)=>r(8264).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return normalizePathTrailingSlash}});let a=r(4416),n=r(9275),normalizePathTrailingSlash=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=(0,n.parsePath)(e);return""+(0,a.removeTrailingSlash)(t)+r+o};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7635:(e,t,r)=>{"use strict";function removeBasePath(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return removeBasePath}}),r(8017),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return removeLocale}});let a=r(9275);function removeLocale(e,t){{let{pathname:r}=(0,a.parsePath)(e),n=r.toLowerCase(),o=null==t?void 0:t.toLowerCase();return t&&(n.startsWith("/"+o+"/")||n==="/"+o)?(r.length===t.length+1?"/":"")+e.slice(t.length+1):e}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return a}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},a="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return resolveHref}});let a=r(716),n=r(3337),o=r(8831),i=r(7921),l=r(464),s=r(1651),u=r(4676),c=r(7524);function resolveHref(e,t,r){let d;let f="string"==typeof t?t:(0,n.formatWithValidation)(t),h=f.match(/^[a-zA-Z]{1,}:\/\//),p=h?f.slice(h[0].length):f,m=p.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+f+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(p);f=(h?h[0]:"")+t}if(!(0,s.isLocalURL)(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(f,d);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,a.searchParamsToUrlQuery)(e.searchParams),{result:i,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,n.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(r,l)}))}let i=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[f]:f}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return markAssetError},isAssetError:function(){return isAssetError},getClientBuildManifest:function(){return getClientBuildManifest},createRouteLoader:function(){return createRouteLoader}}),r(7083),r(9541);let a=r(883),n=r(3558),o=r(4878);function withFuture(e,t,r){let a,n=t.get(e);if(n)return"future"in n?n.future:Promise.resolve(n);let o=new Promise(e=>{a=e});return t.set(e,n={resolve:a,future:o}),r?r().then(e=>(a(e),e)).catch(r=>{throw t.delete(e),r}):o}let i=Symbol("ASSET_LOAD_ERROR");function markAssetError(e){return Object.defineProperty(e,i,{})}function isAssetError(e){return e&&i in e}let l=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),getAssetQueryString=()=>(0,o.getDeploymentIdQueryOrEmptyString)();function resolvePromiseWithTimeout(e,t,r){return new Promise((a,o)=>{let i=!1;e.then(e=>{i=!0,a(e)}).catch(o),(0,n.requestIdleCallback)(()=>setTimeout(()=>{i||o(r)},t))})}function getClientBuildManifest(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return resolvePromiseWithTimeout(e,3800,markAssetError(Error("Failed to load client build manifest")))}function getFilesForRoute(e,t){return getClientBuildManifest().then(r=>{if(!(t in r))throw markAssetError(Error("Failed to lookup route: "+t));let n=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:n.filter(e=>e.endsWith(".js")).map(e=>(0,a.__unsafeCreateTrustedScriptURL)(e)+getAssetQueryString()),css:n.filter(e=>e.endsWith(".css")).map(e=>e+getAssetQueryString())}})}function createRouteLoader(e){let t=new Map,r=new Map,a=new Map,o=new Map;function maybeExecuteScript(e){{var t;let a=r.get(e.toString());return a||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),a=new Promise((r,a)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>a(markAssetError(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),a))}}function fetchStyleSheet(e){let t=a.get(e);return t||a.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw markAssetError(e)})),t}return{whenEntrypoint:e=>withFuture(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let a=t.get(e);a&&"resolve"in a?r&&(t.set(e,r),a.resolve(r)):(r?t.set(e,r):t.delete(e),o.delete(e))})},loadRoute(r,a){return withFuture(r,o,()=>{let n;return resolvePromiseWithTimeout(getFilesForRoute(e,r).then(e=>{let{scripts:a,css:n}=e;return Promise.all([t.has(r)?[]:Promise.all(a.map(maybeExecuteScript)),Promise.all(n.map(fetchStyleSheet))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,markAssetError(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,a=Object.assign({styles:r},t);return"error"in t?t:a}).catch(e=>{if(a)throw e;return{error:e}}).finally(()=>null==n?void 0:n())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():getFilesForRoute(e,t).then(e=>Promise.all(l?e.scripts.map(e=>{var t,r,a;return t=e.toString(),r="script",new Promise((e,n)=>{let o='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(o))return e();a=document.createElement("link"),r&&(a.as=r),a.rel="prefetch",a.crossOrigin=void 0,a.onload=e,a.onerror=()=>n(markAssetError(Error("Failed to prefetch: "+t))),a.href=t,document.head.appendChild(a)})}):[])).then(()=>{(0,n.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return o.default},default:function(){return f},withRouter:function(){return s.default},useRouter:function(){return useRouter},createRouter:function(){return createRouter},makePublicRouterInstance:function(){return makePublicRouterInstance}});let a=r(7083),n=a._(r(6689)),o=a._(r(5008)),i=r(5469),l=a._(r(676)),s=a._(r(6441)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e()}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function getRouter(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>o.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get(){let t=getRouter();return t[e]}})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];let n=getRouter();return n[e](...r)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];let n="on"+e.charAt(0).toUpperCase()+e.substring(1);if(u[n])try{u[n](...r)}catch(e){console.error("Error when running the Router event: "+n),console.error((0,l.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let f=u;function useRouter(){let e=n.default.useContext(i.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function createRouter(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new o.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function makePublicRouterInstance(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,a=Array(t),n=0;n<t;n++)a[n]=arguments[n];return e[r](...a)}}),t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleClientScriptLoad:function(){return handleClientScriptLoad},initScriptLoader:function(){return initScriptLoader},default:function(){return h}});let a=r(7083),n=r(5570),o=a._(r(6405)),i=n._(r(6689)),l=r(1988),s=r(5770),u=r(3558),c=new Map,d=new Set,f=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],insertStylesheets=e=>{if(o.default.preinit){e.forEach(e=>{o.default.preinit(e,{as:"style"})});return}},loadScript=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:n=null,dangerouslySetInnerHTML:o,children:i="",strategy:l="afterInteractive",onError:u,stylesheets:h}=e,p=r||t;if(p&&d.has(p))return;if(c.has(t)){d.add(p),c.get(t).then(a,u);return}let afterLoad=()=>{n&&n(),d.add(p)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),a&&a.call(this,t),afterLoad()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});for(let[r,a]of(o?(m.innerHTML=o.__html||"",afterLoad()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",afterLoad()):t&&(m.src=t,c.set(t,g)),Object.entries(e))){if(void 0===a||f.includes(r))continue;let e=s.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,a)}"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),h&&insertStylesheets(h),document.body.appendChild(m)};function handleClientScriptLoad(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>loadScript(e))}):loadScript(e)}function initScriptLoader(e){e.forEach(handleClientScriptLoad),function(){let e=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];e.forEach(e=>{let t=e.id||e.getAttribute("src");d.add(t)})}()}function Script(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:n=null,strategy:s="afterInteractive",onError:c,stylesheets:f,...h}=e,{updateScripts:p,scripts:m,getIsSsr:g,appDir:y,nonce:v}=(0,i.useContext)(l.HeadManagerContext),_=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=t||r;_.current||(n&&e&&d.has(e)&&n(),_.current=!0)},[n,t,r]);let P=(0,i.useRef)(!1);if((0,i.useEffect)(()=>{!P.current&&("afterInteractive"===s?loadScript(e):"lazyOnload"===s&&("complete"===document.readyState?(0,u.requestIdleCallback)(()=>loadScript(e)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>loadScript(e))})),P.current=!0)},[e,s]),("beforeInteractive"===s||"worker"===s)&&(p?(m[s]=(m[s]||[]).concat([{id:t,src:r,onLoad:a,onReady:n,onError:c,...h}]),p(m)):g&&g()?d.add(t||r):g&&!g()&&loadScript(e)),y){if(f&&f.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)return r?(o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),i.default.createElement("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),i.default.createElement("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h}])+")"}}));"afterInteractive"===s&&r&&o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(Script,"__nextScript",{value:!0});let h=Script;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},883:(e,t)=>{"use strict";let r;function __unsafeCreateTrustedScriptURL(e){return(null==r?void 0:r.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return __unsafeCreateTrustedScriptURL}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let a=r(6689),n=r(3558),o="function"==typeof IntersectionObserver,i=new Map,l=[];function useIntersection(e){let{rootRef:t,rootMargin:r,disabled:s}=e,u=s||!o,[c,d]=(0,a.useState)(!1),f=(0,a.useRef)(null),h=(0,a.useCallback)(e=>{f.current=e},[]);(0,a.useEffect)(()=>{if(o){if(u||c)return;let e=f.current;if(e&&e.tagName){let a=function(e,t,r){let{id:a,observer:n,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},a=l.find(e=>e.root===r.root&&e.margin===r.margin);if(a&&(t=i.get(a)))return t;let n=new Map,o=new IntersectionObserver(e=>{e.forEach(e=>{let t=n.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:o,elements:n},l.push(r),i.set(r,t),t}(r);return o.set(e,t),n.observe(e),function(){if(o.delete(e),n.unobserve(e),0===o.size){n.disconnect(),i.delete(a);let e=l.findIndex(e=>e.root===a.root&&e.margin===a.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r});return a}}else if(!c){let e=(0,n.requestIdleCallback)(()=>d(!0));return()=>(0,n.cancelIdleCallback)(e)}},[u,r,t,c,f.current]);let p=(0,a.useCallback)(()=>{d(!1)},[]);return[h,c,p]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return withRouter}});let a=r(7083),n=a._(r(6689)),o=r(2338);function withRouter(e){function WithRouterWrapper(t){return n.default.createElement(e,{router:(0,o.useRouter)(),...t})}return WithRouterWrapper.getInitialProps=e.getInitialProps,WithRouterWrapper.origGetInitialProps=e.origGetInitialProps,WithRouterWrapper}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5376:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return BloomFilter}});let BloomFilter=class BloomFilter{static from(e,t){void 0===t&&(t=.01);let r=new BloomFilter(e.length,t);for(let t of e)r.add(t);return r}export(){let e={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};if(this.errorRate<.01){let t=JSON.stringify(e),a=r(1662).sync(t);a>1024&&console.warn("Creating filter with error rate less than 1% (0.01) can increase the size dramatically proceed with caution. Received error rate "+this.errorRate+" resulted in size "+t.length+" bytes, "+a+" bytes (gzip)")}return e}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){let t=this.getHashValues(e);t.forEach(e=>{this.bitArray[e]=1})}contains(e){let t=this.getHashValues(e);return t.every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let a=function(e){let t=0;for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);t=Math.imul(t^a,1540483477),t^=t>>>13,t=Math.imul(t,1540483477)}return t>>>0}(""+e+r)%this.numBits;t.push(a)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},1698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return escapeStringRegexp}});let r=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function escapeStringRegexp(e){return r.test(e)?e.replace(a,"\\$&"):e}},8681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),r(8565);let a=r(6742),n=r(5764);function isStaticRequire(e){return void 0!==e.default}function getInt(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function getImgProps(e,t){var r;let o,i,l,{src:s,sizes:u,unoptimized:c=!1,priority:d=!1,loading:f,className:h,quality:p,width:m,height:g,fill:y=!1,style:v,onLoad:_,onLoadingComplete:P,placeholder:b="empty",blurDataURL:R,fetchPriority:S,layout:w,objectFit:E,objectPosition:x,lazyBoundary:O,lazyRoot:j,...C}=e,{imgConf:A,showAltText:L,blurComplete:M,defaultLoader:T}=t,I=A||n.imageConfigDefault;if("allSizes"in I)o=I;else{let e=[...I.deviceSizes,...I.imageSizes].sort((e,t)=>e-t),t=I.deviceSizes.sort((e,t)=>e-t);o={...I,allSizes:e,deviceSizes:t}}let N=C.loader||T;delete C.loader,delete C.srcSet;let k="__next_img_default"in N;if(k){if("custom"===o.loader)throw Error('Image with src "'+s+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=N;N=t=>{let{config:r,...a}=t;return e(a)}}if(w){"fill"===w&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[w];e&&(v={...v,...e});let t={responsive:"100vw",fill:"100vw"}[w];t&&!u&&(u=t)}let D="",U=getInt(m),H=getInt(g);if("object"==typeof(r=s)&&(isStaticRequire(r)||void 0!==r.src)){let e=isStaticRequire(s)?s.default:s;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(i=e.blurWidth,l=e.blurHeight,R=R||e.blurDataURL,D=e.src,!y){if(U||H){if(U&&!H){let t=U/e.width;H=Math.round(e.height*t)}else if(!U&&H){let t=H/e.height;U=Math.round(e.width*t)}}else U=e.width,H=e.height}}let B=!d&&("lazy"===f||void 0===f);(!(s="string"==typeof s?s:D)||s.startsWith("data:")||s.startsWith("blob:"))&&(c=!0,B=!1),o.unoptimized&&(c=!0),k&&s.endsWith(".svg")&&!o.dangerouslyAllowSVG&&(c=!0),d&&(S="high");let z=getInt(p),F=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:x}:{},L?{}:{color:"transparent"},v),W=M||"empty"===b?null:"blur"===b?'url("data:image/svg+xml;charset=utf-8,'+(0,a.getImageBlurSvg)({widthInt:U,heightInt:H,blurWidth:i,blurHeight:l,blurDataURL:R||"",objectFit:F.objectFit})+'")':'url("'+b+'")',q=W?{backgroundSize:F.objectFit||"cover",backgroundPosition:F.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:W}:{},G=function(e){let{config:t,src:r,unoptimized:a,width:n,quality:o,sizes:i,loader:l}=e;if(a)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,r){let{deviceSizes:a,allSizes:n}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let a;a=e.exec(r);a)t.push(parseInt(a[2]));if(t.length){let e=.01*Math.min(...t);return{widths:n.filter(t=>t>=a[0]*e),kind:"w"}}return{widths:n,kind:"w"}}if("number"!=typeof t)return{widths:a,kind:"w"};let o=[...new Set([t,2*t].map(e=>n.find(t=>t>=e)||n[n.length-1]))];return{widths:o,kind:"x"}}(t,n,i),c=s.length-1;return{sizes:i||"w"!==u?i:"100vw",srcSet:s.map((e,a)=>l({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:a+1)+u).join(", "),src:l({config:t,src:r,quality:o,width:s[c]})}}({config:o,src:s,unoptimized:c,width:U,quality:z,sizes:u,loader:N}),V={...C,loading:B?"lazy":f,fetchPriority:S,width:U,height:H,decoding:"async",className:h,style:{...F,...q},sizes:G.sizes,srcSet:G.srcSet,src:G.src},K={unoptimized:c,priority:d,placeholder:b,fill:y};return{props:V,meta:K}}},466:(e,t)=>{"use strict";function detectDomainLocale(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var a,n;let e=null==(a=o.domain)?void 0:a.split(":")[0].toLowerCase();if(t===e||r===o.defaultLocale.toLowerCase()||(null==(n=o.locales)?void 0:n.some(e=>e.toLowerCase()===r)))return o}}Object.defineProperty(t,"D",{enumerable:!0,get:function(){return detectDomainLocale}})},8264:(e,t)=>{"use strict";function normalizeLocalePath(e,t){let r;let a=e.split("/");return(t||[]).some(t=>!!a[1]&&a[1].toLowerCase()===t.toLowerCase()&&(r=t,a.splice(1,1),e=a.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return normalizeLocalePath}})},6742:(e,t)=>{"use strict";function getImageBlurSvg(e){let{widthInt:t,heightInt:r,blurWidth:a,blurHeight:n,blurDataURL:o,objectFit:i}=e,l=a?40*a:t,s=n?40*n:r,u=l&&s?"viewBox='0 0 "+l+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},5764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return a}});let r=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},4169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return s}});let a=r(7083),n=r(8681),o=r(8565),i=r(5479),l=a._(r(6920)),unstable_getImgProps=e=>{(0,o.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,n.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[360,540,768,1280,1440],imageSizes:[34,68,154,320],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}},s=i.Image},6920:(e,t)=>{"use strict";function defaultLoader(e){let{config:t,src:r,width:a,quality:n}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+a+"&q="+(n||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),defaultLoader.__next_img_default=!0;let r=defaultLoader},2421:(e,t)=>{"use strict";function mitt(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,a=Array(r>1?r-1:0),n=1;n<r;n++)a[n-1]=arguments[n];(e[t]||[]).slice().map(e=>{e(...a)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return mitt}})},5008:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return Router},matchesMiddleware:function(){return matchesMiddleware},createKey:function(){return createKey}});let a=r(7083),n=r(5570),o=r(4416),i=r(3645),l=r(9220),s=n._(r(676)),u=r(64),c=r(8264),d=a._(r(2421)),f=r(7921),h=r(3489),p=r(834);r(6329);let m=r(5895),g=r(5174),y=r(3337),v=r(4392),_=r(9275),P=r(6956),b=r(6715),R=r(7635),S=r(5341),w=r(8017),E=r(9059),x=r(9423),O=r(3670),j=r(419),C=r(8985),A=r(1651);r(6320);let L=r(8831),M=r(7524),T=r(1286);function buildCancellationError(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function matchesMiddleware(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,_.parsePath)(e.asPath),a=(0,w.hasBasePath)(r)?(0,R.removeBasePath)(r):r,n=(0,S.addBasePath)((0,P.addLocale)(a,e.locale));return t.some(e=>new RegExp(e.regexp).test(n))}function stripOrigin(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function prepareUrlAs(e,t,r){let[a,n]=(0,E.resolveHref)(e,t,!0),o=(0,f.getLocationOrigin)(),i=a.startsWith(o),l=n&&n.startsWith(o);a=stripOrigin(a),n=n?stripOrigin(n):n;let s=i?a:(0,S.addBasePath)(a),u=r?stripOrigin((0,E.resolveHref)(e,r)):n||a;return{url:s,as:l?u:(0,S.addBasePath)(u)}}function resolveDynamicRoute(e,t){let r=(0,o.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,h.isDynamicRoute)(t)&&(0,g.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,o.removeTrailingSlash)(e))}async function withMiddlewareEffects(e){let t=await matchesMiddleware(e);if(!t||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let a={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},n=t.headers.get("x-nextjs-rewrite"),l=n||t.headers.get("x-nextjs-matched-path"),s=t.headers.get("x-matched-path");if(!s||l||s.includes("__next_data_catchall")||s.includes("/_error")||s.includes("/404")||(l=s),l){if(l.startsWith("/")){let t=(0,p.parseRelativeUrl)(l),s=(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),u=(0,o.removeTrailingSlash)(s.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(o=>{let[i,{__rewrites:l}]=o,d=(0,P.addLocale)(s.pathname,s.locale);if((0,h.isDynamicRoute)(d)||!n&&i.includes((0,c.normalizeLocalePath)((0,R.removeBasePath)(d),r.router.locales).pathname)){let r=(0,O.getNextPathnameInfo)((0,p.parseRelativeUrl)(e).pathname,{nextConfig:a,parseData:!0});d=(0,S.addBasePath)(r.pathname),t.pathname=d}if(!i.includes(u)){let e=resolveDynamicRoute(u,i);e!==u&&(u=e)}let f=i.includes(u)?u:resolveDynamicRoute((0,c.normalizeLocalePath)((0,R.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,h.isDynamicRoute)(f)){let e=(0,m.getRouteMatcher)((0,g.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,_.parsePath)(e),s=(0,j.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+s+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,_.parsePath)(u),t=(0,j.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let I=Symbol("SSG_DATA_NOT_FOUND");function tryToParseAsJSON(e){try{return JSON.parse(e)}catch(e){return null}}function fetchNextData(e){var t;let{dataHref:r,inflightCache:a,isPrefetch:n,hasMiddleware:o,isServerRender:l,parseJSON:s,persistCache:u,isBackground:c,unstable_skipClientCache:d}=e,{href:f}=new URL(r,window.location.href),getData=e=>(function fetchRetry(e,t,r){return fetch(e,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&t>1&&a.status>=500?fetchRetry(e,t-1,r):a)})(r,l?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then(e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};if(404===t.status){var a;if(null==(a=tryToParseAsJSON(e))?void 0:a.notFound)return{dataHref:r,json:{notFound:I},response:t,text:e,cacheKey:f}}let n=Error("Failed to load static props");throw l||(0,i.markAssetError)(n),n}return{dataHref:r,json:s?tryToParseAsJSON(e):null,response:t,text:e,cacheKey:f}})).then(e=>(u&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete a[f],e)).catch(e=>{throw d||delete a[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e});return d&&u?getData({}).then(e=>(a[f]=Promise.resolve(e),e)):void 0!==a[f]?a[f]:a[f]=getData(c?{method:"HEAD"}:{})}function createKey(){return Math.random().toString(36).slice(2,10)}function handleHardNavigation(e){let{url:t,router:r}=e;if(t===(0,S.addBasePath)((0,P.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let getCancelledHandler=e=>{let{route:t,router:r}=e,a=!1,n=r.clc=()=>{a=!0};return()=>{if(a){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}n===r.clc&&(r.clc=null)}};let Router=class Router{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=prepareUrlAs(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=prepareUrlAs(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,a){{let s=!1,u=!1;for(let c of[e,t])if(c){let t=(0,o.removeTrailingSlash)(new URL(c,"http://n").pathname),d=(0,S.addBasePath)((0,P.addLocale)(t,r||this.locale));if(t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var n,i,l;for(let e of(s=s||!!(null==(n=this._bfl_s)?void 0:n.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(d)),[t,d])){let t=e.split("/");for(let e=0;!u&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&(null==(l=this._bfl_d)?void 0:l.contains(r))){u=!0;break}}}if(s||u){if(a)return!0;return handleHardNavigation({url:(0,S.addBasePath)((0,P.addLocale)(e,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,a,n){var u,d,E,x,O,j,T,N,k,D;let U,H;if(!(0,A.isLocalURL)(t))return handleHardNavigation({url:t,router:this}),!1;let B=1===a._h;B||a.shallow||await this._bfl(r,void 0,a.locale);let z=B||a._shouldResolveHref||(0,_.parsePath)(t).pathname===(0,_.parsePath)(r).pathname,F={...this.state},W=!0!==this.isReady;this.isReady=!0;let q=this.isSsr;if(B||(this.isSsr=!1),B&&this.clc)return!1;let G=F.locale;{F.locale=!1===a.locale?this.defaultLocale:a.locale||F.locale,void 0===a.locale&&(a.locale=F.locale);let e=(0,p.parseRelativeUrl)((0,w.hasBasePath)(r)?(0,R.removeBasePath)(r):r),n=(0,c.normalizeLocalePath)(e.pathname,this.locales);n.detectedLocale&&(F.locale=n.detectedLocale,e.pathname=(0,S.addBasePath)(e.pathname),r=(0,y.formatWithValidation)(e),t=(0,S.addBasePath)((0,c.normalizeLocalePath)((0,w.hasBasePath)(t)?(0,R.removeBasePath)(t):t,this.locales).pathname));let o=!1;(null==(d=this.locales)?void 0:d.includes(F.locale))||(e.pathname=(0,P.addLocale)(e.pathname,F.locale),handleHardNavigation({url:(0,y.formatWithValidation)(e),router:this}),o=!0);let i=(0,v.detectDomainLocale)(this.domainLocales,void 0,F.locale);if(!o&&i&&this.isLocaleDomain&&self.location.hostname!==i.domain){let e=(0,R.removeBasePath)(r);handleHardNavigation({url:"http"+(i.http?"":"s")+"://"+i.domain+(0,S.addBasePath)((F.locale===i.defaultLocale?"":"/"+F.locale)+("/"===e?"":e)||"/"),router:this}),o=!0}if(o)return new Promise(()=>{})}f.ST&&performance.mark("routeChange");let{shallow:V=!1,scroll:K=!0}=a,Q={shallow:V};this._inFlightRoute&&this.clc&&(q||Router.events.emit("routeChangeError",buildCancellationError(),this._inFlightRoute,Q),this.clc(),this.clc=null),r=(0,S.addBasePath)((0,P.addLocale)((0,w.hasBasePath)(r)?(0,R.removeBasePath)(r):r,a.locale,this.defaultLocale));let $=(0,b.removeLocale)((0,w.hasBasePath)(r)?(0,R.removeBasePath)(r):r,F.locale);this._inFlightRoute=r;let X=G!==F.locale;if(!B&&this.onlyAHashChange($)&&!X){F.asPath=$,Router.events.emit("hashChangeStart",r,Q),this.changeState(e,t,r,{...a,scroll:!1}),K&&this.scrollToHash($);try{await this.set(F,this.components[F.route],null)}catch(e){throw(0,s.default)(e)&&e.cancelled&&Router.events.emit("routeChangeError",e,$,Q),e}return Router.events.emit("hashChangeComplete",r,Q),!0}let J=(0,p.parseRelativeUrl)(t),{pathname:Y,query:Z}=J;if(null==(u=this.components[Y])?void 0:u.__appRouter)return handleHardNavigation({url:r,router:this}),new Promise(()=>{});try{[U,{__rewrites:H}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return handleHardNavigation({url:r,router:this}),!1}this.urlIsNew($)||X||(e="replaceState");let ee=r;Y=Y?(0,o.removeTrailingSlash)((0,R.removeBasePath)(Y)):Y;let et=(0,o.removeTrailingSlash)(Y),er=r.startsWith("/")&&(0,p.parseRelativeUrl)(r).pathname,ea=!!(er&&et!==er&&(!(0,h.isDynamicRoute)(et)||!(0,m.getRouteMatcher)((0,g.getRouteRegex)(et))(er))),en=!a.shallow&&await matchesMiddleware({asPath:r,locale:F.locale,router:this});if(B&&en&&(z=!1),z&&"/_error"!==Y&&(a._shouldResolveHref=!0,J.pathname=resolveDynamicRoute(Y,U),J.pathname===Y||(Y=J.pathname,J.pathname=(0,S.addBasePath)(Y),en||(t=(0,y.formatWithValidation)(J)))),!(0,A.isLocalURL)(r))return handleHardNavigation({url:r,router:this}),!1;ee=(0,b.removeLocale)((0,R.removeBasePath)(ee),F.locale),et=(0,o.removeTrailingSlash)(Y);let eo=!1;if((0,h.isDynamicRoute)(et)){let e=(0,p.parseRelativeUrl)(ee),a=e.pathname,n=(0,g.getRouteRegex)(et);eo=(0,m.getRouteMatcher)(n)(a);let o=et===a,i=o?(0,M.interpolateAs)(et,a,Z):{};if(eo&&(!o||i.result))o?r=(0,y.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,L.omit)(Z,i.params)})):Object.assign(Z,eo);else{let e=Object.keys(n.groups).filter(e=>!Z[e]&&!n.groups[e].optional);if(e.length>0&&!en)throw Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+a+") is incompatible with the `href` value ("+et+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as"))}}B||Router.events.emit("routeChangeStart",r,Q);let ei="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:et,pathname:Y,query:Z,as:r,resolvedAs:ee,routeProps:Q,locale:F.locale,isPreview:F.isPreview,hasMiddleware:en,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:B&&!this.isFallback,isMiddlewareRewrite:ea});if(B||a.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,F.locale),"route"in o&&en){et=Y=o.route||et,Q.shallow||(Z=Object.assign({},o.query||{},Z));let e=(0,w.hasBasePath)(J.pathname)?(0,R.removeBasePath)(J.pathname):J.pathname;if(eo&&Y!==e&&Object.keys(eo).forEach(e=>{eo&&Z[e]===eo[e]&&delete Z[e]}),(0,h.isDynamicRoute)(Y)){let e=!Q.shallow&&o.resolvedAs?o.resolvedAs:(0,S.addBasePath)((0,P.addLocale)(new URL(r,location.href).pathname,F.locale),!0),t=e;(0,w.hasBasePath)(t)&&(t=(0,R.removeBasePath)(t));{let e=(0,c.normalizeLocalePath)(t,this.locales);F.locale=e.detectedLocale||F.locale,t=e.pathname}let a=(0,g.getRouteRegex)(Y),n=(0,m.getRouteMatcher)(a)(new URL(t,location.href).pathname);n&&Object.assign(Z,n)}}if("type"in o){if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,a);return handleHardNavigation({url:o.destination,router:this}),new Promise(()=>{})}let i=o.Component;if(i&&i.unstable_scriptLoader){let e=[].concat(i.unstable_scriptLoader());e.forEach(e=>{(0,l.handleClientScriptLoad)(e.props)})}if((o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){a.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,p.parseRelativeUrl)(t);r.pathname=resolveDynamicRoute(r.pathname,U);let{url:n,as:o}=prepareUrlAs(this,t,t);return this.change(e,n,o,a)}return handleHardNavigation({url:t,router:this}),new Promise(()=>{})}if(F.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===I){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:Z,as:r,resolvedAs:ee,routeProps:{shallow:!1},locale:F.locale,isPreview:F.isPreview,isNotFound:!0}),"type"in o)throw Error("Unexpected middleware effect on /404")}}B&&"/_error"===this.pathname&&(null==(x=self.__NEXT_DATA__.props)?void 0:null==(E=x.pageProps)?void 0:E.statusCode)===500&&(null==(O=o.props)?void 0:O.pageProps)&&(o.props.pageProps.statusCode=500);let u=a.shallow&&F.route===(null!=(j=o.route)?j:et),d=null!=(T=a.scroll)?T:!B&&!u,f=null!=n?n:d?{x:0,y:0}:null,y={...F,route:et,pathname:Y,query:Z,asPath:$,isFallback:!1};if(B&&ei){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:Z,as:r,resolvedAs:ee,routeProps:{shallow:!1},locale:F.locale,isPreview:F.isPreview,isQueryUpdating:B&&!this.isFallback}),"type"in o)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(k=self.__NEXT_DATA__.props)?void 0:null==(N=k.pageProps)?void 0:N.statusCode)===500&&(null==(D=o.props)?void 0:D.pageProps)&&(o.props.pageProps.statusCode=500);try{await this.set(y,o,f)}catch(e){throw(0,s.default)(e)&&e.cancelled&&Router.events.emit("routeChangeError",e,$,Q),e}return!0}Router.events.emit("beforeHistoryChange",r,Q),this.changeState(e,t,r,a);let v=B&&!f&&!W&&!X&&(0,C.compareRouterStates)(y,this.state);if(!v){try{await this.set(y,o,f)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw B||Router.events.emit("routeChangeError",o.error,$,Q),o.error;F.locale&&(document.documentElement.lang=F.locale),B||Router.events.emit("routeChangeComplete",r,Q),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,s.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,a){void 0===a&&(a={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=a.shallow,window.history[e]({url:t,as:r,options:a,__N:!0,key:this._key="pushState"!==e?this._key:createKey()},"",r))}async handleRouteInfoError(e,t,r,a,n,o){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||o)throw Router.events.emit("routeChangeError",e,a,n),handleHardNavigation({url:a,router:this}),buildCancellationError();try{let a;let{page:n,styleSheets:o}=await this.fetchComponent("/_error"),i={props:a,Component:n,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(n,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,s.default)(e)?e:Error(e+""),t,r,a,n,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:a,as:n,resolvedAs:i,routeProps:l,locale:u,hasMiddleware:d,isPreview:f,unstable_skipClientCache:h,isQueryUpdating:p,isMiddlewareRewrite:m,isNotFound:g}=e,v=t;try{var _,P,b,S;let e=getCancelledHandler({route:v,router:this}),t=this.components[v];if(l.shallow&&t&&this.route===v)return t;d&&(t=void 0);let s=!t||"initial"in t?void 0:t,w={dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:r,query:a}),skipInterpolation:!0,asPath:g?"/404":i,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:h,isBackground:p},E=p&&!m?null:await withMiddlewareEffects({fetchData:()=>fetchNextData(w),asPath:g?"/404":i,locale:u,router:this}).catch(e=>{if(p)return null;throw e});if(E&&("/_error"===r||"/404"===r)&&(E.effect=void 0),p&&(E?E.json=self.__NEXT_DATA__.props:E={json:self.__NEXT_DATA__.props}),e(),(null==E?void 0:null==(_=E.effect)?void 0:_.type)==="redirect-internal"||(null==E?void 0:null==(P=E.effect)?void 0:P.type)==="redirect-external")return E.effect;if((null==E?void 0:null==(b=E.effect)?void 0:b.type)==="rewrite"){let e=(0,o.removeTrailingSlash)(E.effect.resolvedHref),n=await this.pageLoader.getPageList();if((!p||n.includes(e))&&(v=e,r=E.effect.resolvedHref,a={...a,...E.effect.parsedAs.query},i=(0,R.removeBasePath)((0,c.normalizeLocalePath)(E.effect.parsedAs.pathname,this.locales).pathname),t=this.components[v],l.shallow&&t&&this.route===v&&!d))return{...t,route:v}}if((0,x.isAPIRoute)(v))return handleHardNavigation({url:n,router:this}),new Promise(()=>{});let O=s||await this.fetchComponent(v).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),j=null==E?void 0:null==(S=E.response)?void 0:S.headers.get("x-middleware-skip"),C=O.__N_SSG||O.__N_SSP;j&&(null==E?void 0:E.dataHref)&&delete this.sdc[E.dataHref];let{props:A,cacheKey:L}=await this._getData(async()=>{if(C){if((null==E?void 0:E.json)&&!j)return{cacheKey:E.cacheKey,props:E.json};let e=(null==E?void 0:E.dataHref)?E.dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:r,query:a}),asPath:i,locale:u}),t=await fetchNextData({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:j?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(O.Component,{pathname:r,query:a,asPath:n,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return O.__N_SSP&&w.dataHref&&L&&delete this.sdc[L],this.isPreview||!O.__N_SSG||p||fetchNextData(Object.assign({},w,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),A.pageProps=Object.assign({},A.pageProps),O.props=A,O.route=v,O.query=a,O.resolvedAs=i,this.components[v]=O,O}catch(e){return this.handleRouteInfoError((0,s.getProperError)(e),r,a,n,l)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[a,n]=e.split("#");return!!n&&t===a&&r===n||t===a&&r!==n}scrollToHash(e){let[,t=""]=e.split("#");(0,T.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let a=document.getElementsByName(e)[0];a&&a.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){void 0===t&&(t=e),void 0===r&&(r={});let a=(0,p.parseRelativeUrl)(e),n=a.pathname,{pathname:i,query:l}=a,s=i;if(!1===r.locale){i=(0,c.normalizeLocalePath)(i,this.locales).pathname,a.pathname=i,e=(0,y.formatWithValidation)(a);let n=(0,p.parseRelativeUrl)(t),o=(0,c.normalizeLocalePath)(n.pathname,this.locales);n.pathname=o.pathname,r.locale=o.detectedLocale||this.defaultLocale,t=(0,y.formatWithValidation)(n)}let u=await this.pageLoader.getPageList(),d=t,f=void 0!==r.locale?r.locale||void 0:this.locale,v=await matchesMiddleware({asPath:t,locale:f,router:this});a.pathname=resolveDynamicRoute(a.pathname,u),(0,h.isDynamicRoute)(a.pathname)&&(i=a.pathname,a.pathname=i,Object.assign(l,(0,m.getRouteMatcher)((0,g.getRouteRegex)(a.pathname))((0,_.parsePath)(t).pathname)||{}),v||(e=(0,y.formatWithValidation)(a)));let P=await withMiddlewareEffects({fetchData:()=>fetchNextData({dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:s,query:l}),skipInterpolation:!0,asPath:d,locale:f}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==P?void 0:P.effect.type)==="rewrite"&&(a.pathname=P.effect.resolvedHref,i=P.effect.resolvedHref,l={...l,...P.effect.parsedAs.query},d=P.effect.parsedAs.pathname,e=(0,y.formatWithValidation)(a)),(null==P?void 0:P.effect.type)==="redirect-external")return;let b=(0,o.removeTrailingSlash)(i);await this._bfl(t,d,r.locale,!0)&&(this.components[n]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(b).then(t=>!!t&&fetchNextData({dataHref:(null==P?void 0:P.json)?null==P?void 0:P.dataHref:this.pageLoader.getDataHref({href:e,asPath:d,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](b)])}async fetchComponent(e){let t=getCancelledHandler({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,cancel=()=>{t=!0};return this.clc=cancel,e().then(e=>{if(cancel===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return fetchNextData({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],a=this._wrapApp(r);return t.AppTree=a,(0,f.loadGetInitialProps)(r,{AppTree:a,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,a,{initialProps:n,pageLoader:i,App:l,wrapApp:s,Component:u,err:c,subscription:d,isFallback:m,locale:g,locales:_,defaultLocale:P,domainLocales:b,isPreview:R}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=createKey(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let a=e.state;if(!a){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,y.formatWithValidation)({pathname:(0,S.addBasePath)(e),query:t}),(0,f.getURL)());return}if(a.__NA){window.location.reload();return}if(!a.__N||r&&this.locale===a.options.locale&&a.as===this.asPath)return;let{url:n,as:o,options:i,key:l}=a;this._key=l;let{pathname:s}=(0,p.parseRelativeUrl)(n);(!this.isSsr||o!==(0,S.addBasePath)(this.asPath)||s!==(0,S.addBasePath)(this.pathname))&&(!this._bps||this._bps(a))&&this.change("replaceState",n,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let w=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[w]={Component:u,initial:!0,props:n,err:c,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:l,styleSheets:[]};{let{BloomFilter:e}=r(5376),t={numItems:2,errorRate:.01,numBits:20,numHashes:7,bitArray:[1,0,0,0,1,1,0,0,1,1,0,0,0,1,1,0,1,1,1,1]},a={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==a?void 0:a.numHashes)&&(this._bfl_d=new e(a.numItems,a.errorRate),this._bfl_d.import(a))}this.events=Router.events,this.pageLoader=i;let E=(0,h.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;this.basePath="",this.sub=d,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!E&&!self.location.search),this.locales=_,this.defaultLocale=P,this.domainLocales=b,this.isLocaleDomain=!!(0,v.detectDomainLocale)(b,self.location.hostname),this.state={route:w,pathname:e,query:t,asPath:E?e:a,isPreview:!!R,locale:g,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1)}};Router.events=(0,d.default)()},6634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return addLocale}});let a=r(471),n=r(1613);function addLocale(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,n.pathHasPrefix)(i,"/api")||(0,n.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,a.addPathPrefix)(e,"/"+t)}},471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return addPathPrefix}});let a=r(9275);function addPathPrefix(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,a.parsePath)(e);return""+t+r+n+o}},7938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return addPathSuffix}});let a=r(9275);function addPathSuffix(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,a.parsePath)(e);return""+r+t+n+o}},2222:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return normalizeAppPath},normalizeRscPath:function(){return normalizeRscPath}});let a=r(9341),n=r(6500);function normalizeAppPath(e){return(0,a.ensureLeadingSlash)(e.split("/").reduce((e,t,r,a)=>!t||(0,n.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===a.length-1?e:e+"/"+t,""))}function normalizeRscPath(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},8985:(e,t)=>{"use strict";function compareRouterStates(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let a=r.length;a--;){let n=r[a];if("query"===n){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let a=r.length;a--;){let n=r[a];if(!t.query.hasOwnProperty(n)||e.query[n]!==t.query[n])return!1}}else if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return compareRouterStates}})},419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return formatNextPathnameInfo}});let a=r(4416),n=r(471),o=r(7938),i=r(6634);function formatNextPathnameInfo(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,a.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,n.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,n.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,a.removeTrailingSlash)(t)}},3337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return formatUrl},urlObjectKeys:function(){return i},formatWithValidation:function(){return formatWithValidation}});let a=r(5570),n=a._(r(716)),o=/https?|ftp|gopher|file/;function formatUrl(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+a+u+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function formatWithValidation(e){return formatUrl(e)}},9541:(e,t)=>{"use strict";function getAssetPathFromRoute(e,t){void 0===t&&(t="");let r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e;return r+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return getAssetPathFromRoute}})},3670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return getNextPathnameInfo}});let a=r(8264),n=r(4679),o=r(1613);function getNextPathnameInfo(e,t){var r,i;let{basePath:l,i18n:s,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};l&&(0,o.pathHasPrefix)(c.pathname,l)&&(c.pathname=(0,n.removePathPrefix)(c.pathname,l),c.basePath=l);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(s){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,a.normalizeLocalePath)(c.pathname,s.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,a.normalizeLocalePath)(d,s.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},1286:(e,t)=>{"use strict";function handleSmoothScroll(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,a=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=a}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return handleSmoothScroll}})},7524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return interpolateAs}});let a=r(5895),n=r(5174);function interpolateAs(e,t,r){let o="",i=(0,n.getRouteRegex)(e),l=i.groups,s=(t!==e?(0,a.getRouteMatcher)(i)(t):"")||r;o=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:r,optional:a}=l[e],n="["+(r?"...":"")+e+"]";return a&&(n=(t?"":"/")+"["+n+"]"),r&&!Array.isArray(t)&&(t=[t]),(a||e in s)&&(o=o.replace(n,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}}},6320:(e,t)=>{"use strict";function isBot(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return isBot}})},1651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return isLocalURL}});let a=r(7921),n=r(8017);function isLocalURL(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},8831:(e,t)=>{"use strict";function omit(e,t){let r={};return Object.keys(e).forEach(a=>{t.includes(a)||(r[a]=e[a])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return omit}})},9275:(e,t)=>{"use strict";function parsePath(e){let t=e.indexOf("#"),r=e.indexOf("?"),a=r>-1&&(t<0||r<t);return a||t>-1?{pathname:e.substring(0,a?r:t),query:a?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return parsePath}})},834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return parseRelativeUrl}}),r(7921);let a=r(716);function parseRelativeUrl(e,t){let r=new URL("http://n"),n=t?new URL(t,r):e.startsWith(".")?new URL("http://n"):r,{pathname:o,searchParams:i,search:l,hash:s,href:u,origin:c}=new URL(e,n);if(c!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:o,query:(0,a.searchParamsToUrlQuery)(i),search:l,hash:s,href:u.slice(r.origin.length)}}},7128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return parseUrl}});let a=r(716),n=r(834);function parseUrl(e){if(e.startsWith("/"))return(0,n.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,a.searchParamsToUrlQuery)(t.searchParams),search:t.search}}},1613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return pathHasPrefix}});let a=r(9275);function pathHasPrefix(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,a.parsePath)(e);return r===t||r.startsWith(t+"/")}},7417:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return getPathMatch}});let a=r(4329);function getPathMatch(e,t){let r=[],n=(0,a.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),o=(0,a.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(n.source),n.flags):n,r);return(e,a)=>{if("string"!=typeof e)return!1;let n=o(e);if(!n)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete n.params[e.name];return{...a,...n.params}}}},4193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{matchHas:function(){return matchHas},compileNonPath:function(){return compileNonPath},prepareDestination:function(){return prepareDestination}});let a=r(4329),n=r(1698),o=r(7128),i=r(2407),l=r(2021),s=r(1730);function unescapeSegments(e){return e.replace(/__ESC_COLON_/gi,":")}function matchHas(e,t,r,a){void 0===r&&(r=[]),void 0===a&&(a=[]);let n={},hasMatch=r=>{let a;let o=r.key;switch(r.type){case"header":o=o.toLowerCase(),a=e.headers[o];break;case"cookie":if("cookies"in e)a=e.cookies[r.key];else{let t=(0,s.getCookieParser)(e.headers)();a=t[r.key]}break;case"query":a=t[o];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{},r=null==t?void 0:t.split(":")[0].toLowerCase();a=r}}if(!r.value&&a)return n[function(e){let t="";for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);(a>64&&a<91||a>96&&a<123)&&(t+=e[r])}return t}(o)]=a,!0;if(a){let e=RegExp("^"+r.value+"$"),t=Array.isArray(a)?a.slice(-1)[0].match(e):a.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{n[e]=t.groups[e]}):"host"===r.type&&t[0]&&(n.host=t[0])),!0}return!1},o=r.every(e=>hasMatch(e))&&!a.some(e=>hasMatch(e));return!!o&&n}function compileNonPath(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,a.compile)("/"+e,{validate:!1})(t).slice(1)}function prepareDestination(e){let t;let r=Object.assign({},e.query);delete r.__nextLocale,delete r.__nextDefaultLocale,delete r.__nextDataReq,delete r.__nextInferredLocaleFromDefault,delete r[l.NEXT_RSC_UNION_QUERY];let s=e.destination;for(let t of Object.keys({...e.params,...r}))s=s.replace(RegExp(":"+(0,n.escapeStringRegexp)(t),"g"),"__ESC_COLON_"+t);let u=(0,o.parseUrl)(s),c=u.query,d=unescapeSegments(""+u.pathname+(u.hash||"")),f=unescapeSegments(u.hostname||""),h=[],p=[];(0,a.pathToRegexp)(d,h),(0,a.pathToRegexp)(f,p);let m=[];h.forEach(e=>m.push(e.name)),p.forEach(e=>m.push(e.name));let g=(0,a.compile)(d,{validate:!1}),y=(0,a.compile)(f,{validate:!1});for(let[t,r]of Object.entries(c))Array.isArray(r)?c[t]=r.map(t=>compileNonPath(unescapeSegments(t),e.params)):"string"==typeof r&&(c[t]=compileNonPath(unescapeSegments(r),e.params));let v=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!v.some(e=>m.includes(e)))for(let t of v)t in c||(c[t]=e.params[t]);if((0,i.isInterceptionRouteAppPath)(d))for(let t of d.split("/")){let r=i.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(r){e.params["0"]=r;break}}try{t=g(e.params);let[r,a]=t.split("#");u.hostname=y(e.params),u.pathname=r,u.hash=(a?"#":"")+(a||""),delete u.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw e}return u.query={...r,...u.query},{newUrl:t,destQuery:c,parsedDestination:u}}},716:(e,t)=>{"use strict";function searchParamsToUrlQuery(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function stringifyUrlQueryParam(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function urlQueryToSearchParams(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,a]=e;Array.isArray(a)?a.forEach(e=>t.append(r,stringifyUrlQueryParam(e))):t.set(r,stringifyUrlQueryParam(a))}),t}function assign(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];return r.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return searchParamsToUrlQuery},urlQueryToSearchParams:function(){return urlQueryToSearchParams},assign:function(){return assign}})},4679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return removePathPrefix}});let a=r(1613);function removePathPrefix(e,t){if(!(0,a.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},4416:(e,t)=>{"use strict";function removeTrailingSlash(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return removeTrailingSlash}})},6329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return resolveRewrites}});let a=r(7417),n=r(4193),o=r(4416),i=r(8264),l=r(7635),s=r(834);function resolveRewrites(e,t,r,u,c,d){let f,h=!1,p=!1,m=(0,s.parseRelativeUrl)(e),g=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,l.removeBasePath)(m.pathname),d).pathname),handleRewrite=r=>{let s=(0,a.getPathMatch)(r.source+"",{removeUnnamedParams:!0,strict:!0}),y=s(m.pathname);if((r.has||r.missing)&&y){let e=(0,n.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[r,...a]=t.split("=");return e[r]=a.join("="),e},{})},m.query,r.has,r.missing);e?Object.assign(y,e):y=!1}if(y){if(!r.destination)return p=!0,!0;let a=(0,n.prepareDestination)({appendParamsToQuery:!0,destination:r.destination,params:y,query:u});if(m=a.parsedDestination,e=a.newUrl,Object.assign(u,a.parsedDestination.query),g=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,l.removeBasePath)(e),d).pathname),t.includes(g))return h=!0,f=g,!0;if((f=c(g))!==e&&t.includes(f))return h=!0,!0}},y=!1;for(let e=0;e<r.beforeFiles.length;e++)handleRewrite(r.beforeFiles[e]);if(!(h=t.includes(g))){if(!y){for(let e=0;e<r.afterFiles.length;e++)if(handleRewrite(r.afterFiles[e])){y=!0;break}}if(y||(f=c(g),y=h=t.includes(f)),!y){for(let e=0;e<r.fallback.length;e++)if(handleRewrite(r.fallback[e])){y=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:h,resolvedHref:f,externalDest:p}}},5895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return getRouteMatcher}});let a=r(7921);function getRouteMatcher(e){let{re:t,groups:r}=e;return e=>{let n=t.exec(e);if(!n)return!1;let decode=e=>{try{return decodeURIComponent(e)}catch(e){throw new a.DecodeError("failed to decode param")}},o={};return Object.keys(r).forEach(e=>{let t=r[e],a=n[t.pos];void 0!==a&&(o[e]=~a.indexOf("/")?a.split("/").map(e=>decode(e)):t.repeat?[decode(a)]:decode(a))}),o}}},5174:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return getRouteRegex},getNamedRouteRegex:function(){return getNamedRouteRegex},getNamedMiddlewareRegex:function(){return getNamedMiddlewareRegex}});let a=r(2407),n=r(1698),o=r(4416);function parseParameter(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function getParametrizedRoute(e){let t=(0,o.removeTrailingSlash)(e).slice(1).split("/"),r={},i=1;return{parameterizedRoute:t.map(e=>{let t=a.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&o){let{key:e,optional:a,repeat:l}=parseParameter(o[1]);return r[e]={pos:i++,repeat:l,optional:a},"/"+(0,n.escapeStringRegexp)(t)+"([^/]+?)"}if(!o)return"/"+(0,n.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:a}=parseParameter(o[1]);return r[e]={pos:i++,repeat:t,optional:a},t?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function getRouteRegex(e){let{parameterizedRoute:t,groups:r}=getParametrizedRoute(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function getSafeKeyFromSegment(e){let{getSafeRouteKey:t,segment:r,routeKeys:a,keyPrefix:n}=e,{key:o,optional:i,repeat:l}=parseParameter(r),s=o.replace(/\W/g,"");n&&(s=""+n+s);let u=!1;return(0===s.length||s.length>30)&&(u=!0),isNaN(parseInt(s.slice(0,1)))||(u=!0),u&&(s=t()),n?a[s]=""+n+o:a[s]=""+o,l?i?"(?:/(?<"+s+">.+?))?":"/(?<"+s+">.+?)":"/(?<"+s+">[^/]+?)"}function getNamedParametrizedRoute(e,t){let r;let i=(0,o.removeTrailingSlash)(e).slice(1).split("/"),l=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={};return{namedParameterizedRoute:i.map(e=>{let r=a.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);return r&&o?getSafeKeyFromSegment({getSafeRouteKey:l,segment:o[1],routeKeys:s,keyPrefix:t?"nxtI":void 0}):o?getSafeKeyFromSegment({getSafeRouteKey:l,segment:o[1],routeKeys:s,keyPrefix:t?"nxtP":void 0}):"/"+(0,n.escapeStringRegexp)(e)}).join(""),routeKeys:s}}function getNamedRouteRegex(e,t){let r=getNamedParametrizedRoute(e,t);return{...getRouteRegex(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function getNamedMiddlewareRegex(e,t){let{parameterizedRoute:r}=getParametrizedRoute(e),{catchAll:a=!0}=t;if("/"===r)return{namedRegex:"^/"+(a?".*":"")+"$"};let{namedParameterizedRoute:n}=getNamedParametrizedRoute(e,!1);return{namedRegex:"^"+n+(a?"(?:(/.*)?)":"")+"$"}}},6500:(e,t)=>{"use strict";function isGroupSegment(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isGroupSegment",{enumerable:!0,get:function(){return isGroupSegment}})},738:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var t={};(()=>{/*!
|
|
2
|
-
* cookie
|
|
3
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
4
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
5
|
-
* MIT Licensed
|
|
6
|
-
*/t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var n={},o=t.split(a),i=(r||{}).decode||e,l=0;l<o.length;l++){var s=o[l],u=s.indexOf("=");if(!(u<0)){var c=s.substr(0,u).trim(),d=s.substr(++u,s.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==n[c]&&(n[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,i))}}return n},t.serialize=function(e,t,a){var o=a||{},i=o.encode||r;if("function"!=typeof i)throw TypeError("option encode is invalid");if(!n.test(e))throw TypeError("argument name is invalid");var l=i(t);if(l&&!n.test(l))throw TypeError("argument val is invalid");var s=e+"="+l;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(u)}if(o.domain){if(!n.test(o.domain))throw TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!n.test(o.path))throw TypeError("option path is invalid");s+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invalid");s+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(s+="; HttpOnly"),o.secure&&(s+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s};var e=decodeURIComponent,r=encodeURIComponent,a=/; */,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/})(),e.exports=t})()},1662:(e,t,r)=>{(()=>{var t={154:(e,t,r)=>{var a=r(781),n=["write","end","destroy"],o=["resume","pause"],i=["data","close"],l=Array.prototype.slice;function forEach(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r)}e.exports=function(e,t){var r=new a,s=!1;return forEach(n,function(t){r[t]=function(){return e[t].apply(e,arguments)}}),forEach(o,function(e){r[e]=function(){r.emit(e);var a=t[e];if(a)return a.apply(t,arguments);t.emit(e)}}),forEach(i,function(e){t.on(e,function(){var t=l.call(arguments);t.unshift(e),r.emit.apply(r,t)})}),t.on("end",function(){if(!s){s=!0;var e=l.call(arguments);e.unshift("end"),r.emit.apply(r,e)}}),e.on("drain",function(){r.emit("drain")}),e.on("error",reemit),t.on("error",reemit),r.writable=e.writable,r.readable=t.readable,r;function reemit(e){r.emit("error",e)}}},349:(e,t,r)=>{"use strict";let a=r(147),n=r(781),o=r(796),i=r(154),l=r(530),getOptions=e=>Object.assign({level:9},e);e.exports=(e,t)=>e?l(o.gzip)(e,getOptions(t)).then(e=>e.length).catch(e=>0):Promise.resolve(0),e.exports.sync=(e,t)=>o.gzipSync(e,getOptions(t)).length,e.exports.stream=e=>{let t=new n.PassThrough,r=new n.PassThrough,a=i(t,r),l=0,s=o.createGzip(getOptions(e)).on("data",e=>{l+=e.length}).on("error",()=>{a.gzipSize=0}).on("end",()=>{a.gzipSize=l,a.emit("gzip-size",l),r.end()});return t.pipe(s),t.pipe(r,{end:!1}),a},e.exports.file=(t,r)=>new Promise((n,o)=>{let i=a.createReadStream(t);i.on("error",o);let l=i.pipe(e.exports.stream(r));l.on("error",o),l.on("gzip-size",n)}),e.exports.fileSync=(t,r)=>e.exports.sync(a.readFileSync(t),r)},530:e=>{"use strict";let processFn=(e,t)=>function(...r){let a=t.promiseModule;return new a((a,n)=>{t.multiArgs?r.push((...e)=>{t.errorFirst?e[0]?n(e):(e.shift(),a(e)):a(e)}):t.errorFirst?r.push((e,t)=>{e?n(e):a(t)}):r.push(a),e.apply(this,r)})};e.exports=(e,t)=>{let r;t=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},t);let a=typeof e;if(!(null!==e&&("object"===a||"function"===a)))throw TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":a}\``);let filter=e=>{let match=t=>"string"==typeof t?e===t:t.test(e);return t.include?t.include.some(match):!t.exclude.some(match)};for(let n in r="function"===a?function(...r){return t.excludeMain?e(...r):processFn(e,t).apply(this,r)}:Object.create(Object.getPrototypeOf(e)),e){let a=e[n];r[n]="function"==typeof a&&filter(n)?processFn(a,t):a}return r}},147:e=>{"use strict";e.exports=r(7147)},781:e=>{"use strict";e.exports=r(2781)},796:e=>{"use strict";e.exports=r(9796)}},a={};function __nccwpck_require__(e){var r=a[e];if(void 0!==r)return r.exports;var n=a[e]={exports:{}},o=!0;try{t[e](n,n.exports,__nccwpck_require__),o=!1}finally{o&&delete a[e]}return n.exports}__nccwpck_require__.ab=__dirname+"/";var n=__nccwpck_require__(349);e.exports=n})()},4329:(e,t)=>{"use strict";function parse(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var a=e[r];if("*"===a||"+"===a||"?"===a){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===a){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===a){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===a){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===a){for(var n="",o=r+1;o<e.length;){var i=e.charCodeAt(o);if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i){n+=e[o++];continue}break}if(!n)throw TypeError("Missing parameter name at "+r);t.push({type:"NAME",index:r,value:n}),r=o;continue}if("("===a){var l=1,s="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '+o);for(;o<e.length;){if("\\"===e[o]){s+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--l){o++;break}}else if("("===e[o]&&(l++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at "+o);s+=e[o++]}if(l)throw TypeError("Unbalanced pattern at "+r);if(!s)throw TypeError("Missing pattern at "+r);t.push({type:"PATTERN",index:r,value:s}),r=o;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),a=t.prefixes,n=void 0===a?"./":a,o="[^"+escapeString(t.delimiter||"/#?")+"]+?",i=[],l=0,s=0,u="",tryConsume=function(e){if(s<r.length&&r[s].type===e)return r[s++].value},mustConsume=function(e){var t=tryConsume(e);if(void 0!==t)return t;var a=r[s];throw TypeError("Unexpected "+a.type+" at "+a.index+", expected "+e)},consumeText=function(){for(var e,t="";e=tryConsume("CHAR")||tryConsume("ESCAPED_CHAR");)t+=e;return t};s<r.length;){var c=tryConsume("CHAR"),d=tryConsume("NAME"),f=tryConsume("PATTERN");if(d||f){var h=c||"";-1===n.indexOf(h)&&(u+=h,h=""),u&&(i.push(u),u=""),i.push({name:d||l++,prefix:h,suffix:"",pattern:f||o,modifier:tryConsume("MODIFIER")||""});continue}var p=c||tryConsume("ESCAPED_CHAR");if(p){u+=p;continue}if(u&&(i.push(u),u=""),tryConsume("OPEN")){var h=consumeText(),m=tryConsume("NAME")||"",g=tryConsume("PATTERN")||"",y=consumeText();mustConsume("CLOSE"),i.push({name:m||(g?l++:""),pattern:m&&!g?o:g,prefix:h,suffix:y,modifier:tryConsume("MODIFIER")||""});continue}mustConsume("END")}return i}function tokensToFunction(e,t){void 0===t&&(t={});var r=flags(t),a=t.encode,n=void 0===a?function(e){return e}:a,o=t.validate,i=void 0===o||o,l=e.map(function(e){if("object"==typeof e)return RegExp("^(?:"+e.pattern+")$",r)});return function(t){for(var r="",a=0;a<e.length;a++){var o=e[a];if("string"==typeof o){r+=o;continue}var s=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(s)){if(!c)throw TypeError('Expected "'+o.name+'" to not repeat, but got an array');if(0===s.length){if(u)continue;throw TypeError('Expected "'+o.name+'" to not be empty')}for(var d=0;d<s.length;d++){var f=n(s[d],o);if(i&&!l[a].test(f))throw TypeError('Expected all "'+o.name+'" to match "'+o.pattern+'", but got "'+f+'"');r+=o.prefix+f+o.suffix}continue}if("string"==typeof s||"number"==typeof s){var f=n(String(s),o);if(i&&!l[a].test(f))throw TypeError('Expected "'+o.name+'" to match "'+o.pattern+'", but got "'+f+'"');r+=o.prefix+f+o.suffix;continue}if(!u){var h=c?"an array":"a string";throw TypeError('Expected "'+o.name+'" to be '+h)}}return r}}function regexpToFunction(e,t,r){void 0===r&&(r={});var a=r.decode,n=void 0===a?function(e){return e}:a;return function(r){var a=e.exec(r);if(!a)return!1;for(var o=a[0],i=a.index,l=Object.create(null),s=1;s<a.length;s++)!function(e){if(void 0!==a[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?l[r.name]=a[e].split(r.prefix+r.suffix).map(function(e){return n(e,r)}):l[r.name]=n(a[e],r)}}(s);return{path:o,index:i,params:l}}}function escapeString(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(e){return e&&e.sensitive?"":"i"}function tokensToRegexp(e,t,r){void 0===r&&(r={});for(var a=r.strict,n=void 0!==a&&a,o=r.start,i=r.end,l=r.encode,s=void 0===l?function(e){return e}:l,u="["+escapeString(r.endsWith||"")+"]|$",c="["+escapeString(r.delimiter||"/#?")+"]",d=void 0===o||o?"^":"",f=0;f<e.length;f++){var h=e[f];if("string"==typeof h)d+=escapeString(s(h));else{var p=escapeString(s(h.prefix)),m=escapeString(s(h.suffix));if(h.pattern){if(t&&t.push(h),p||m){if("+"===h.modifier||"*"===h.modifier){var g="*"===h.modifier?"?":"";d+="(?:"+p+"((?:"+h.pattern+")(?:"+m+p+"(?:"+h.pattern+"))*)"+m+")"+g}else d+="(?:"+p+"("+h.pattern+")"+m+")"+h.modifier}else d+="("+h.pattern+")"+h.modifier}else d+="(?:"+p+m+")"+h.modifier}}if(void 0===i||i)n||(d+=c+"?"),d+=r.endsWith?"(?="+u+")":"$";else{var y=e[e.length-1],v="string"==typeof y?c.indexOf(y[y.length-1])>-1:void 0===y;n||(d+="(?:"+c+"(?="+u+"))?"),v||(d+="(?="+c+"|"+u+")")}return new RegExp(d,flags(r))}function pathToRegexp(e,t,r){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var a=0;a<r.length;a++)t.push({name:a,prefix:"",suffix:"",modifier:"",pattern:""});return e}(e,t):Array.isArray(e)?RegExp("(?:"+e.map(function(e){return pathToRegexp(e,t,r).source}).join("|")+")",flags(r)):tokensToRegexp(parse(e,r),t,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=parse,t.compile=function(e,t){return tokensToFunction(parse(e,t),t)},t.tokensToFunction=tokensToFunction,t.match=function(e,t){var r=[];return regexpToFunction(pathToRegexp(e,r,t),r,t)},t.regexpToFunction=regexpToFunction,t.tokensToRegexp=tokensToRegexp,t.pathToRegexp=pathToRegexp},9423:(e,t)=>{"use strict";function isAPIRoute(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return isAPIRoute}})},1730:(e,t,r)=>{"use strict";function getCookieParser(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:a}=r(738);return a(Array.isArray(t)?t.join("; "):t)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return getCookieParser}})},2407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return n},isInterceptionRouteAppPath:function(){return isInterceptionRouteAppPath},extractInterceptionRouteInformation:function(){return extractInterceptionRouteInformation}});let a=r(2222),n=["(..)(..)","(.)","(..)","(...)"];function isInterceptionRouteAppPath(e){return void 0!==e.split("/").find(e=>n.find(t=>e.startsWith(t)))}function extractInterceptionRouteInformation(e){let t,r,o;for(let a of e.split("/"))if(r=n.find(e=>a.startsWith(e))){[t,o]=e.split(r,2);break}if(!t||!r||!o)throw Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(t=(0,a.normalizeAppPath)(t),r){case"(.)":o="/"===t?`/${o}`:t+"/"+o;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);o=i.slice(0,-2).concat(o).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:o}}},7443:(e,t,r)=>{"use strict";e.exports=r(7093).vendored.contexts.AppRouterContext},6218:(e,t,r)=>{"use strict";e.exports=r(7093).vendored.contexts.ImageConfigContext},5469:(e,t,r)=>{"use strict";e.exports=r(7093).vendored.contexts.RouterContext},5675:(e,t,r)=>{e.exports=r(4169)},1664:(e,t,r)=>{e.exports=r(2418)},1163:(e,t,r)=>{e.exports=r(2338)}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=679,exports.ids=[679,993],exports.modules={9679:(e,t,s)=>{s.r(t),s.d(t,{default:()=>sendEvent});var a=s(3993);function sendEvent(e){window?.sendrc?.(e.name,e.params),(0,a.default)(e)}},3993:(e,t,s)=>{s.r(t),s.d(t,{default:()=>search});var a=s(7267),r=s.n(a);function getCookie(e){let t=decodeURIComponent(document.cookie),s=t.split(";");for(let t of s){let[s,a]=t.trim().split("=");if(s===e)return a}}let randomUUID=()=>"function"==typeof crypto.randomUUID?crypto.randomUUID():(1e6*Math.random()).toFixed(0),createCookie=(e,t)=>{let s=`.${new URL(r().storeUrl).hostname}`;return()=>{let a=void 0===getCookie(e);if(a){let a=randomUUID();return document.cookie=`${e}=${a}; max-age=${t}; domain=${s}; path=/;`,a}return getCookie(e)}},o={anonymous:createCookie("vtex-faststore-anonymous",31536e3),session:createCookie("vtex-faststore-session",1800)},sendEvent=e=>fetch(`https://sp.vtex.com/event-api/v1/${r().api.storeId}/event`,{method:"POST",body:JSON.stringify({...e,userAgent:navigator.userAgent,anonymous:o.anonymous(),session:o.session()}),headers:{"content-type":"application/json"}}),isFullTextSearch=e=>"string"==typeof e.searchParams.get("q")&&/^\/s(\/)?$/g.test(e.pathname);setInterval(()=>sendEvent({type:"session.ping"}),6e4);let search=e=>{switch(e.name){case"search_select_item":{let t=new URL(e.params.url);if(!isFullTextSearch(t))return;for(let s of e.params.items??[]){let e=s.item_id??s.item_variant,a=s.index;e&&a&&sendEvent({type:"search.click",productId:e,position:a,url:t.href,text:t.searchParams.get("q")??"<empty>"})}break}case"intelligent_search_query":sendEvent({type:"search.query",url:e.params.url,text:e.params.term,misspelled:e.params.isTermMisspelled,match:e.params.totalCount,operator:e.params.logicalOperator,locale:e.params.locale})}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=693,exports.ids=[693],exports.modules={6693:(t,e,a)=>{a.d(e,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(6689),i=a.n(n),u=a(7041),l=a(2614),r=a(2256);let __WEBPACK_DEFAULT_EXPORT__=({max:t,min:e=1,unitMultiplier:a=1,useUnitMultiplier:s,initial:d,disabled:o=!1,onChange:c,testId:y="fs-quantity-selector",...m})=>{let[h,b]=(0,n.useState)(d??e),[E,_]=(0,n.useState)(h*a),roundUpQuantityIfNeeded=t=>s?Math.ceil(t/a)*a:t,f=h===e,g=h===t,changeQuantity=t=>{let e=validateQuantityBounds(h+t);c?.(e),b(e),_(e*a)};function validateQuantityBounds(n){let i=e?Math.max(n,e):n;return t?Math.min(i,s?t*a:t):i}return(0,n.useEffect)(()=>{d&&b(d)},[d]),i().createElement("div",{"data-fs-quantity-selector":o?"disabled":"true","data-testid":y,...m},i().createElement(u.Z,{"data-quantity-selector-button":"left",icon:i().createElement(l.Z,{name:"Minus",width:16,height:16,weight:"bold"}),"aria-label":"Decrement Quantity","aria-controls":"quantity-selector-input",disabled:f||o,onClick:()=>changeQuantity(-1),testId:`${y}-left-button`,size:"small"}),i().createElement(r.Z,{"data-quantity-selector-input":!0,id:"quantity-selector-input","aria-label":"Quantity",value:s?E:h,onChange:function(t){let e=t.currentTarget.value;Number.isNaN(Number(e))||b(()=>{let t=validateQuantityBounds(Number(e));return _(t),c?.(t),t})},onBlur:function(){let t=roundUpQuantityIfNeeded(h);b(()=>(_(t),c?.(t/a),t/a))},disabled:o}),i().createElement(u.Z,{"data-quantity-selector-button":"right","aria-controls":"quantity-selector-input","aria-label":"Increment Quantity",disabled:g||o,icon:i().createElement(l.Z,{name:"Plus",width:16,height:16,weight:"bold"}),onClick:()=>changeQuantity(1),testId:`${y}-right-button`,size:"small"}))}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=779,exports.ids=[779],exports.modules={1953:(e,t,a)=>{a.d(t,{Z:()=>n});var l=a(6689),r=a.n(l);let i=(0,l.forwardRef)(function({testId:e="fs-label",children:t,...a},l){return r().createElement("label",{ref:l,"data-fs-label":!0,"data-testid":e,...a},t)}),n=i},3779:(e,t,a)=>{a.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var l=a(6689),r=a.n(l),i=a(2256),n=a(1953),d=a(7041),s=a(2614),c=a(3339);let __WEBPACK_DEFAULT_EXPORT__=({id:e,label:t,type:a="text",error:l,displayClearButton:f,actionable:o,buttonActionText:m="Apply",onSubmit:E,onClear:p,placeholder:u=" ",inputRef:_,disabled:Z,value:b,testId:C="fs-input-field",...v})=>{let A=!Z&&l&&""!==l,x=o&&!Z&&""!==b;return r().createElement("div",{"data-fs-input-field":!0,"data-fs-input-field-actionable":o,"data-fs-input-field-error":l&&""!==l,"data-testid":C},r().createElement(i.Z,{id:e,type:a,value:b,ref:_,disabled:Z,placeholder:u,...v}),r().createElement(n.Z,{htmlFor:e},t),x&&(f||l?r().createElement(d.Z,{size:"small","aria-label":"Clear Field",icon:r().createElement(s.Z,{name:"XCircle"}),onClick:()=>{p?.(),_?.current?.focus()}}):r().createElement(c.Z,{variant:"tertiary",size:"small",onClick:E},m)),A&&r().createElement("span",{"data-fs-input-field-error-message":!0},l))}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=812,exports.ids=[812],exports.modules={9767:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(6689),i=r.n(a),c=r(5450);let l=(0,a.forwardRef)(function({value:e,as:t="span",variant:r="selling",testId:a="fs-price",formatter:l=e=>e,SRText:n,...s},d){let u=l(e,r);return i().createElement(t,{ref:d,"data-fs-price":!0,"data-fs-price-variant":r,"data-testid":a,...s},n&&i().createElement(c.Z,{text:n}),u)}),n=l},9088:(e,t,r)=>{r.d(t,{Z:()=>n});var a=r(6689),i=r.n(a),c=r(9767);let l=(0,a.forwardRef)(function({testId:e="fs-product-price",value:t,listPrice:r,formatter:a,...l},n){let s=r??0,d=t??0;return i().createElement("div",{ref:n,"data-fs-product-price":!0,"data-testid":e,...l},d!==s&&0!==s?i().createElement(i().Fragment,null,i().createElement(c.Z,{value:s,formatter:a,testId:"list-price","data-value":s,variant:"listing",SRText:"Original price:"}),i().createElement(c.Z,{value:d,formatter:a,testId:"price","data-value":d,variant:"spot",SRText:"Price:"})):i().createElement(c.Z,{value:d,formatter:a,testId:"price","data-value":d,variant:"spot",SRText:"Price:"}))}),n=l},5009:(e,t,r)=>{r.d(t,{P:()=>useFormattedPrice});var a=r(6689),i=r(9615);let usePriceFormatter=({decimals:e}={})=>{let{currency:t,locale:r}=(0,i.kP)();return(0,a.useCallback)(a=>Intl.NumberFormat(r,{style:"currency",currency:t.code,minimumFractionDigits:e?2:0}).format(a),[t.code,r,e])},useFormattedPrice=e=>{let t=usePriceFormatter();return(0,a.useMemo)(()=>t(e),[t,e])}}};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
exports.id=859,exports.ids=[859],exports.modules={8676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Head:function(){return Head},NextScript:function(){return NextScript},Html:function(){return Html},Main:function(){return Main},default:function(){return Document}});let r=_interop_require_default(n(6689)),i=n(4191),o=n(5778),s=n(9630),a=_interop_require_default(n(676)),l=n(3112);function _interop_require_default(e){return e&&e.__esModule?e:{default:e}}let u=new Set;function getDocumentFiles(e,t,n){let r=(0,o.getPageFiles)(e,"/_app"),i=n?[]:(0,o.getPageFiles)(e,t);return{sharedFiles:r,pageFiles:i,allFiles:[...new Set([...r,...i])]}}function getPolyfillScripts(e,t){let{assetPrefix:n,buildManifest:i,assetQueryString:o,disableOptimizedLoading:s,crossOrigin:a}=e;return i.polyfillFiles.filter(e=>e.endsWith(".js")&&!e.endsWith(".module.js")).map(e=>r.default.createElement("script",{key:e,defer:!s,nonce:t.nonce,crossOrigin:t.crossOrigin||a,noModule:!0,src:`${n}/_next/${e}${o}`}))}function AmpStyles({styles:e}){if(!e)return null;let t=Array.isArray(e)?e:[];if(e.props&&Array.isArray(e.props.children)){let hasStyles=e=>{var t,n;return null==e?void 0:null==(n=e.props)?void 0:null==(t=n.dangerouslySetInnerHTML)?void 0:t.__html};e.props.children.forEach(e=>{Array.isArray(e)?e.forEach(e=>hasStyles(e)&&t.push(e)):hasStyles(e)&&t.push(e)})}return r.default.createElement("style",{"amp-custom":"",dangerouslySetInnerHTML:{__html:t.map(e=>e.props.dangerouslySetInnerHTML.__html).join("").replace(/\/\*# sourceMappingURL=.*\*\//g,"").replace(/\/\*@ sourceURL=.*?\*\//g,"")}})}function getDynamicChunks(e,t,n){let{dynamicImports:i,assetPrefix:o,isDevelopment:s,assetQueryString:a,disableOptimizedLoading:l,crossOrigin:u}=e;return i.map(e=>!e.endsWith(".js")||n.allFiles.includes(e)?null:r.default.createElement("script",{async:!s&&l,defer:!l,key:e,src:`${o}/_next/${encodeURI(e)}${a}`,nonce:t.nonce,crossOrigin:t.crossOrigin||u}))}function getScripts(e,t,n){var i;let{assetPrefix:o,buildManifest:s,isDevelopment:a,assetQueryString:l,disableOptimizedLoading:u,crossOrigin:c}=e,d=n.allFiles.filter(e=>e.endsWith(".js")),f=null==(i=s.lowPriorityFiles)?void 0:i.filter(e=>e.endsWith(".js"));return[...d,...f].map(e=>r.default.createElement("script",{key:e,src:`${o}/_next/${encodeURI(e)}${l}`,nonce:t.nonce,async:!a&&u,defer:!u,crossOrigin:t.crossOrigin||c}))}function getPreNextScripts(e,t){let{scriptLoader:n,disableOptimizedLoading:i,crossOrigin:o}=e,s=function(e,t){let{assetPrefix:n,scriptLoader:i,crossOrigin:o,nextScriptWorkers:s}=e;if(!s)return null;try{let{partytownSnippet:e}=require("@builder.io/partytown/integration"),s=Array.isArray(t.children)?t.children:[t.children],a=s.find(e=>{var t,n;return!!e&&!!e.props&&(null==e?void 0:null==(n=e.props)?void 0:null==(t=n.dangerouslySetInnerHTML)?void 0:t.__html.length)&&"data-partytown-config"in e.props});return r.default.createElement(r.default.Fragment,null,!a&&r.default.createElement("script",{"data-partytown-config":"",dangerouslySetInnerHTML:{__html:`
|
|
2
|
-
partytown = {
|
|
3
|
-
lib: "${n}/_next/static/~partytown/"
|
|
4
|
-
};
|
|
5
|
-
`}}),r.default.createElement("script",{"data-partytown":"",dangerouslySetInnerHTML:{__html:e()}}),(i.worker||[]).map((e,n)=>{let{strategy:i,src:s,children:a,dangerouslySetInnerHTML:l,...u}=e,c={};if(s)c.src=s;else if(l&&l.__html)c.dangerouslySetInnerHTML={__html:l.__html};else if(a)c.dangerouslySetInnerHTML={__html:"string"==typeof a?a:Array.isArray(a)?a.join(""):""};else throw Error("Invalid usage of next/script. Did you forget to include a src attribute or an inline script? https://nextjs.org/docs/messages/invalid-script");return r.default.createElement("script",{...c,...u,type:"text/partytown",key:s||n,nonce:t.nonce,"data-nscript":"worker",crossOrigin:t.crossOrigin||o})}))}catch(e){return(0,a.default)(e)&&"MODULE_NOT_FOUND"!==e.code&&console.warn(`Warning: ${e.message}`),null}}(e,t),l=(n.beforeInteractive||[]).filter(e=>e.src).map((e,n)=>{let{strategy:s,...a}=e;return r.default.createElement("script",{...a,key:a.src||n,defer:a.defer??!i,nonce:t.nonce,"data-nscript":"beforeInteractive",crossOrigin:t.crossOrigin||o})});return r.default.createElement(r.default.Fragment,null,s,l)}let Head=class Head extends r.default.Component{static #e=this.contextType=l.HtmlContext;getCssLinks(e){let{assetPrefix:t,assetQueryString:n,dynamicImports:i,crossOrigin:o,optimizeCss:s,optimizeFonts:a}=this.context,l=e.allFiles.filter(e=>e.endsWith(".css")),u=new Set(e.sharedFiles),c=new Set([]),d=Array.from(new Set(i.filter(e=>e.endsWith(".css"))));if(d.length){let e=new Set(l);d=d.filter(t=>!(e.has(t)||u.has(t))),c=new Set(d),l.push(...d)}let f=[];return l.forEach(e=>{let i=u.has(e);s||f.push(r.default.createElement("link",{key:`${e}-preload`,nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${encodeURI(e)}${n}`,as:"style",crossOrigin:this.props.crossOrigin||o}));let a=c.has(e);f.push(r.default.createElement("link",{key:e,nonce:this.props.nonce,rel:"stylesheet",href:`${t}/_next/${encodeURI(e)}${n}`,crossOrigin:this.props.crossOrigin||o,"data-n-g":a?void 0:i?"":void 0,"data-n-p":a?void 0:i?void 0:""}))}),a&&(f=this.makeStylesheetInert(f)),0===f.length?null:f}getPreloadDynamicChunks(){let{dynamicImports:e,assetPrefix:t,assetQueryString:n,crossOrigin:i}=this.context;return e.map(e=>e.endsWith(".js")?r.default.createElement("link",{rel:"preload",key:e,href:`${t}/_next/${encodeURI(e)}${n}`,as:"script",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||i}):null).filter(Boolean)}getPreloadMainLinks(e){let{assetPrefix:t,assetQueryString:n,scriptLoader:i,crossOrigin:o}=this.context,s=e.allFiles.filter(e=>e.endsWith(".js"));return[...(i.beforeInteractive||[]).map(e=>r.default.createElement("link",{key:e.src,nonce:this.props.nonce,rel:"preload",href:e.src,as:"script",crossOrigin:this.props.crossOrigin||o})),...s.map(e=>r.default.createElement("link",{key:e,nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${encodeURI(e)}${n}`,as:"script",crossOrigin:this.props.crossOrigin||o}))]}getBeforeInteractiveInlineScripts(){let{scriptLoader:e}=this.context,{nonce:t,crossOrigin:n}=this.props;return(e.beforeInteractive||[]).filter(e=>!e.src&&(e.dangerouslySetInnerHTML||e.children)).map((e,i)=>{let{strategy:o,children:s,dangerouslySetInnerHTML:a,src:l,...u}=e,c="";return a&&a.__html?c=a.__html:s&&(c="string"==typeof s?s:Array.isArray(s)?s.join(""):""),r.default.createElement("script",{...u,dangerouslySetInnerHTML:{__html:c},key:u.id||i,nonce:t,"data-nscript":"beforeInteractive",crossOrigin:n||void 0})})}getDynamicChunks(e){return getDynamicChunks(this.context,this.props,e)}getPreNextScripts(){return getPreNextScripts(this.context,this.props)}getScripts(e){return getScripts(this.context,this.props,e)}getPolyfillScripts(){return getPolyfillScripts(this.context,this.props)}makeStylesheetInert(e){return r.default.Children.map(e,e=>{var t,n;if((null==e?void 0:e.type)==="link"&&(null==e?void 0:null==(t=e.props)?void 0:t.href)&&i.OPTIMIZED_FONT_PROVIDERS.some(({url:t})=>{var n,r;return null==e?void 0:null==(r=e.props)?void 0:null==(n=r.href)?void 0:n.startsWith(t)})){let t={...e.props||{},"data-href":e.props.href,href:void 0};return r.default.cloneElement(e,t)}if(null==e?void 0:null==(n=e.props)?void 0:n.children){let t={...e.props||{},children:this.makeStylesheetInert(e.props.children)};return r.default.cloneElement(e,t)}return e}).filter(Boolean)}render(){let{styles:e,ampPath:t,inAmpMode:i,hybridAmp:o,canonicalBase:s,__NEXT_DATA__:a,dangerousAsPath:l,headTags:u,unstable_runtimeJS:c,unstable_JsPreload:d,disableOptimizedLoading:f,optimizeCss:p,optimizeFonts:m,assetPrefix:h,nextFontManifest:g}=this.context,E=!1===c,_=!1===d||!f;this.context.docComponentsRendered.Head=!0;let{head:S}=this.context,y=[],I=[];S&&(S.forEach(e=>{let t;this.context.strictNextHead&&(t=r.default.createElement("meta",{name:"next-head",content:"1"})),e&&"link"===e.type&&"preload"===e.props.rel&&"style"===e.props.as?(t&&y.push(t),y.push(e)):e&&(t&&("meta"!==e.type||!e.props.charSet)&&I.push(t),I.push(e))}),S=y.concat(I));let P=r.default.Children.toArray(this.props.children).filter(Boolean);m&&!i&&(P=this.makeStylesheetInert(P));let T=!1,N=!1;S=r.default.Children.map(S||[],e=>{if(!e)return e;let{type:t,props:n}=e;if(i){let r="";if("meta"===t&&"viewport"===n.name?r='name="viewport"':"link"===t&&"canonical"===n.rel?N=!0:"script"===t&&(n.src&&-1>n.src.indexOf("ampproject")||n.dangerouslySetInnerHTML&&(!n.type||"text/javascript"===n.type))&&(r="<script",Object.keys(n).forEach(e=>{r+=` ${e}="${n[e]}"`}),r+="/>"),r)return console.warn(`Found conflicting amp tag "${e.type}" with conflicting prop ${r} in ${a.page}. https://nextjs.org/docs/messages/conflicting-amp-tag`),null}else"link"===t&&"amphtml"===n.rel&&(T=!0);return e});let O=getDocumentFiles(this.context.buildManifest,this.context.__NEXT_DATA__.page,i),b=function(e,t,n=""){if(!e)return{preconnect:null,preload:null};let i=e.pages["/_app"],o=e.pages[t],s=[...i??[],...o??[]],a=!!(0===s.length&&(i||o));return{preconnect:a?r.default.createElement("link",{"data-next-font":e.pagesUsingSizeAdjust?"size-adjust":"",rel:"preconnect",href:"/",crossOrigin:"anonymous"}):null,preload:s?s.map(e=>{let t=/\.(woff|woff2|eot|ttf|otf)$/.exec(e)[1];return r.default.createElement("link",{key:e,rel:"preload",href:`${n}/_next/${encodeURI(e)}`,as:"font",type:`font/${t}`,crossOrigin:"anonymous","data-next-font":e.includes("-s")?"size-adjust":""})}):null}}(g,l,h);return r.default.createElement("head",function(e){let{crossOrigin:t,nonce:n,...r}=e;return r}(this.props),this.context.isDevelopment&&r.default.createElement(r.default.Fragment,null,r.default.createElement("style",{"data-next-hide-fouc":!0,"data-ampdevmode":i?"true":void 0,dangerouslySetInnerHTML:{__html:"body{display:none}"}}),r.default.createElement("noscript",{"data-next-hide-fouc":!0,"data-ampdevmode":i?"true":void 0},r.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{display:block}"}}))),S,this.context.strictNextHead?null:r.default.createElement("meta",{name:"next-head-count",content:r.default.Children.count(S||[]).toString()}),P,m&&r.default.createElement("meta",{name:"next-font-preconnect"}),b.preconnect,b.preload,i&&r.default.createElement(r.default.Fragment,null,r.default.createElement("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,initial-scale=1"}),!N&&r.default.createElement("link",{rel:"canonical",href:s+n(733).cleanAmpPath(l)}),r.default.createElement("link",{rel:"preload",as:"script",href:"https://cdn.ampproject.org/v0.js"}),r.default.createElement(AmpStyles,{styles:e}),r.default.createElement("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}"}}),r.default.createElement("noscript",null,r.default.createElement("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}"}})),r.default.createElement("script",{async:!0,src:"https://cdn.ampproject.org/v0.js"})),!i&&r.default.createElement(r.default.Fragment,null,!T&&o&&r.default.createElement("link",{rel:"amphtml",href:s+(t||`${l}${l.includes("?")?"&":"?"}amp=1`)}),this.getBeforeInteractiveInlineScripts(),!p&&this.getCssLinks(O),!p&&r.default.createElement("noscript",{"data-n-css":this.props.nonce??""}),!E&&!_&&this.getPreloadDynamicChunks(),!E&&!_&&this.getPreloadMainLinks(O),!f&&!E&&this.getPolyfillScripts(),!f&&!E&&this.getPreNextScripts(),!f&&!E&&this.getDynamicChunks(O),!f&&!E&&this.getScripts(O),p&&this.getCssLinks(O),p&&r.default.createElement("noscript",{"data-n-css":this.props.nonce??""}),this.context.isDevelopment&&r.default.createElement("noscript",{id:"__next_css__DO_NOT_USE__"}),e||null),r.default.createElement(r.default.Fragment,{},...u||[]))}};let NextScript=class NextScript extends r.default.Component{static #e=this.contextType=l.HtmlContext;getDynamicChunks(e){return getDynamicChunks(this.context,this.props,e)}getPreNextScripts(){return getPreNextScripts(this.context,this.props)}getScripts(e){return getScripts(this.context,this.props,e)}getPolyfillScripts(){return getPolyfillScripts(this.context,this.props)}static getInlineScriptSource(e){let{__NEXT_DATA__:t,largePageDataBytes:r}=e;try{let i=JSON.stringify(t);if(u.has(t.page))return(0,s.htmlEscapeJsonString)(i);let o=Buffer.from(i).byteLength,a=n(5955).Z;return r&&o>r&&(u.add(t.page),console.warn(`Warning: data for page "${t.page}"${t.page===e.dangerousAsPath?"":` (path "${e.dangerousAsPath}")`} is ${a(o)} which exceeds the threshold of ${a(r)}, this amount of data can reduce performance.
|
|
6
|
-
See more info here: https://nextjs.org/docs/messages/large-page-data`)),(0,s.htmlEscapeJsonString)(i)}catch(e){if((0,a.default)(e)&&-1!==e.message.indexOf("circular structure"))throw Error(`Circular structure in "getInitialProps" result of page "${t.page}". https://nextjs.org/docs/messages/circular-structure`);throw e}}render(){let{assetPrefix:e,inAmpMode:t,buildManifest:n,unstable_runtimeJS:i,docComponentsRendered:o,assetQueryString:s,disableOptimizedLoading:a,crossOrigin:l}=this.context,u=!1===i;if(o.NextScript=!0,t)return null;let c=getDocumentFiles(this.context.buildManifest,this.context.__NEXT_DATA__.page,t);return r.default.createElement(r.default.Fragment,null,!u&&n.devFiles?n.devFiles.map(t=>r.default.createElement("script",{key:t,src:`${e}/_next/${encodeURI(t)}${s}`,nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l})):null,u?null:r.default.createElement("script",{id:"__NEXT_DATA__",type:"application/json",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l,dangerouslySetInnerHTML:{__html:NextScript.getInlineScriptSource(this.context)}}),a&&!u&&this.getPolyfillScripts(),a&&!u&&this.getPreNextScripts(),a&&!u&&this.getDynamicChunks(c),a&&!u&&this.getScripts(c))}};function Html(e){let{inAmpMode:t,docComponentsRendered:n,locale:i,scriptLoader:o,__NEXT_DATA__:s}=(0,l.useHtmlContext)();return n.Html=!0,function(e,t,n){var i,o,s,a;if(!n.children)return;let l=[],u=Array.isArray(n.children)?n.children:[n.children],c=null==(o=u.find(e=>e.type===Head))?void 0:null==(i=o.props)?void 0:i.children,d=null==(a=u.find(e=>"body"===e.type))?void 0:null==(s=a.props)?void 0:s.children,f=[...Array.isArray(c)?c:[c],...Array.isArray(d)?d:[d]];r.default.Children.forEach(f,t=>{var n;if(t&&(null==(n=t.type)?void 0:n.__nextScript)){if("beforeInteractive"===t.props.strategy){e.beforeInteractive=(e.beforeInteractive||[]).concat([{...t.props}]);return}if(["lazyOnload","afterInteractive","worker"].includes(t.props.strategy)){l.push(t.props);return}}}),t.scriptLoader=l}(o,s,e),r.default.createElement("html",{...e,lang:e.lang||i||void 0,amp:t?"":void 0,"data-ampdevmode":void 0})}function Main(){let{docComponentsRendered:e}=(0,l.useHtmlContext)();return e.Main=!0,r.default.createElement("next-js-internal-body-render-target",null)}let Document=class Document extends r.default.Component{static getInitialProps(e){return e.defaultGetInitialProps(e)}render(){return r.default.createElement(Html,null,r.default.createElement(Head,null),r.default.createElement("body",null,r.default.createElement(Main,null),r.default.createElement(NextScript,null)))}};Document[i.NEXT_BUILTIN_DOCUMENT]=function(){return r.default.createElement(Html,null,r.default.createElement(Head,null),r.default.createElement("body",null,r.default.createElement(Main,null),r.default.createElement(NextScript,null)))}},4191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{MODERN_BROWSERSLIST_TARGET:function(){return i.default},COMPILER_NAMES:function(){return o},INTERNAL_HEADERS:function(){return s},COMPILER_INDEXES:function(){return a},PHASE_EXPORT:function(){return l},PHASE_PRODUCTION_BUILD:function(){return u},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_DEVELOPMENT_SERVER:function(){return d},PHASE_TEST:function(){return f},PHASE_INFO:function(){return p},PAGES_MANIFEST:function(){return m},APP_PATHS_MANIFEST:function(){return h},APP_PATH_ROUTES_MANIFEST:function(){return g},BUILD_MANIFEST:function(){return E},APP_BUILD_MANIFEST:function(){return _},FUNCTIONS_CONFIG_MANIFEST:function(){return S},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return y},NEXT_FONT_MANIFEST:function(){return I},EXPORT_MARKER:function(){return P},EXPORT_DETAIL:function(){return T},PRERENDER_MANIFEST:function(){return N},ROUTES_MANIFEST:function(){return O},IMAGES_MANIFEST:function(){return b},SERVER_FILES_MANIFEST:function(){return v},DEV_CLIENT_PAGES_MANIFEST:function(){return R},MIDDLEWARE_MANIFEST:function(){return A},DEV_MIDDLEWARE_MANIFEST:function(){return x},REACT_LOADABLE_MANIFEST:function(){return M},FONT_MANIFEST:function(){return L},SERVER_DIRECTORY:function(){return C},CONFIG_FILES:function(){return D},BUILD_ID_FILE:function(){return j},BLOCKED_PAGES:function(){return F},CLIENT_PUBLIC_FILES_PATH:function(){return w},CLIENT_STATIC_FILES_PATH:function(){return k},STRING_LITERAL_DROP_BUNDLE:function(){return U},NEXT_BUILTIN_DOCUMENT:function(){return B},BARREL_OPTIMIZATION_PREFIX:function(){return $},CLIENT_REFERENCE_MANIFEST:function(){return H},SERVER_REFERENCE_MANIFEST:function(){return W},MIDDLEWARE_BUILD_MANIFEST:function(){return z},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return V},APP_CLIENT_INTERNALS:function(){return X},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return q},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return J},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Z},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return Q},EDGE_RUNTIME_WEBPACK:function(){return ee},TEMPORARY_REDIRECT_STATUS:function(){return et},PERMANENT_REDIRECT_STATUS:function(){return en},STATIC_PROPS_ID:function(){return er},SERVER_PROPS_ID:function(){return ei},PAGE_SEGMENT_KEY:function(){return eo},GOOGLE_FONT_PROVIDER:function(){return es},OPTIMIZED_FONT_PROVIDERS:function(){return ea},DEFAULT_SERIF_FONT:function(){return el},DEFAULT_SANS_SERIF_FONT:function(){return eu},STATIC_STATUS_PAGES:function(){return ec},TRACE_OUTPUT_VERSION:function(){return ed},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},RSC_MODULE_TYPES:function(){return ep},EDGE_UNSUPPORTED_NODE_APIS:function(){return em},SYSTEM_ENTRYPOINTS:function(){return eh}});let r=n(7083),i=r._(n(7708)),o={client:"client",server:"server",edgeServer:"edge-server"},s=["x-invoke-path","x-invoke-status","x-invoke-error","x-invoke-query","x-middleware-invoke"],a={[o.client]:0,[o.server]:1,[o.edgeServer]:2},l="phase-export",u="phase-production-build",c="phase-production-server",d="phase-development-server",f="phase-test",p="phase-info",m="pages-manifest.json",h="app-paths-manifest.json",g="app-path-routes-manifest.json",E="build-manifest.json",_="app-build-manifest.json",S="functions-config-manifest.json",y="subresource-integrity-manifest",I="next-font-manifest",P="export-marker.json",T="export-detail.json",N="prerender-manifest.json",O="routes-manifest.json",b="images-manifest.json",v="required-server-files.json",R="_devPagesManifest.json",A="middleware-manifest.json",x="_devMiddlewareManifest.json",M="react-loadable-manifest.json",L="font-manifest.json",C="server",D=["next.config.js","next.config.mjs"],j="BUILD_ID",F=["/_document","/_app","/_error"],w="public",k="static",U="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",$="__barrel_optimize__",H="client-reference-manifest",W="server-reference-manifest",z="middleware-build-manifest",G="middleware-react-loadable-manifest",Y="main",V=""+Y+"-app",X="app-pages-internals",q="react-refresh",J="amp",Z="webpack",K="polyfills",Q=Symbol(K),ee="edge-runtime-webpack",et=307,en=308,er="__N_SSG",ei="__N_SSP",eo="__PAGE__",es="https://fonts.googleapis.com/",ea=[{url:es,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],el={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},eu={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ec=["/500"],ed=1,ef=6e3,ep={client:"client",server:"server"},em=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eh=new Set([Y,q,J,V]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},972:(e,t)=>{"use strict";function getObjectClassLabel(e){return Object.prototype.toString.call(e)}function isPlainObject(e){if("[object Object]"!==getObjectClassLabel(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getObjectClassLabel:function(){return getObjectClassLabel},isPlainObject:function(){return isPlainObject}})},7708:e=>{"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},64:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return denormalizePagePath}});let r=n(4676),i=n(9267);function denormalizePagePath(e){let t=(0,i.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},9341:(e,t)=>{"use strict";function ensureLeadingSlash(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return ensureLeadingSlash}})},7072:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePagePath",{enumerable:!0,get:function(){return normalizePagePath}});let r=n(9341),i=n(4676),o=n(7921);function normalizePagePath(e){let t=/^\/index(\/|$)/.test(e)&&!(0,i.isDynamicRoute)(e)?"/index"+e:"/"===e?"/index":(0,r.ensureLeadingSlash)(e);{let{posix:e}=n(1423),r=e.normalize(t);if(r!==t)throw new o.NormalizeError("Requested and resolved page mismatch: "+t+" "+r)}return t}},9267:(e,t)=>{"use strict";function normalizePathSep(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return normalizePathSep}})},4676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let r=n(5651),i=n(3489)},3489:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return isDynamicRoute}});let n=/\/\[[^/]+?\](?=\/|$)/;function isDynamicRoute(e){return n.test(e)}},5651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return getSortedRoutes}});let UrlNode=class UrlNode{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let r=e[0];if(r.startsWith("[")&&r.endsWith("]")){let i=r.slice(1,-1),o=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),o=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+i+"').");if(i.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+i+"').");function handleSlug(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===r.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(n){if(o){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');handleSlug(this.optionalRestSlugName,i),this.optionalRestSlugName=i,r="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');handleSlug(this.restSlugName,i),this.restSlugName=i,r="[...]"}}else{if(o)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');handleSlug(this.slugName,i),this.slugName=i,r="[]"}}this.children.has(r)||this.children.set(r,new UrlNode),this.children.get(r)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}};function getSortedRoutes(e){let t=new UrlNode;return e.forEach(e=>t.insert(e)),t.smoosh()}},7921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{WEB_VITALS:function(){return n},execOnce:function(){return execOnce},isAbsoluteUrl:function(){return isAbsoluteUrl},getLocationOrigin:function(){return getLocationOrigin},getURL:function(){return getURL},getDisplayName:function(){return getDisplayName},isResSent:function(){return isResSent},normalizeRepeatedSlashes:function(){return normalizeRepeatedSlashes},loadGetInitialProps:function(){return loadGetInitialProps},SP:function(){return i},ST:function(){return o},DecodeError:function(){return DecodeError},NormalizeError:function(){return NormalizeError},PageNotFoundError:function(){return PageNotFoundError},MissingStaticPage:function(){return MissingStaticPage},MiddlewareNotFoundError:function(){return MiddlewareNotFoundError},stringifyError:function(){return stringifyError}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function execOnce(e){let t,n=!1;return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return n||(n=!0,t=e(...i)),t}}let r=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,isAbsoluteUrl=e=>r.test(e);function getLocationOrigin(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function getURL(){let{href:e}=window.location,t=getLocationOrigin();return e.substring(t.length)}function getDisplayName(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function isResSent(e){return e.finished||e.headersSent}function normalizeRepeatedSlashes(e){let t=e.split("?"),n=t[0];return n.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function loadGetInitialProps(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await loadGetInitialProps(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&isResSent(n))return r;if(!r){let t='"'+getDisplayName(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.';throw Error(t)}return r}let i="undefined"!=typeof performance,o=i&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);let DecodeError=class DecodeError extends Error{};let NormalizeError=class NormalizeError extends Error{};let PageNotFoundError=class PageNotFoundError extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}};let MissingStaticPage=class MissingStaticPage extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}};let MiddlewareNotFoundError=class MiddlewareNotFoundError extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}};function stringifyError(e){return JSON.stringify({message:e.message,stack:e.stack})}},676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return isError},getProperError:function(){return getProperError}});let r=n(972);function isError(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function getProperError(e){return isError(e)?e:Error((0,r.isPlainObject)(e)?JSON.stringify(e):e+"")}},5955:(e,t)=>{"use strict";Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return prettyBytes}});let n=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],toLocaleString=(e,t)=>{let n=e;return"string"==typeof t?n=e.toLocaleString(t):!0===t&&(n=e.toLocaleString()),n};function prettyBytes(e,t){if(!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);if((t=Object.assign({},t)).signed&&0===e)return" 0 B";let r=e<0,i=r?"-":t.signed?"+":"";if(r&&(e=-e),e<1){let n=toLocaleString(e,t.locale);return i+n+" B"}let o=Math.min(Math.floor(Math.log10(e)/3),n.length-1);e=Number((e/Math.pow(1e3,o)).toPrecision(3));let s=toLocaleString(e,t.locale),a=n[o];return i+s+" "+a}},7093:(e,t,n)=>{"use strict";e.exports=n(2785)},3112:(e,t,n)=>{"use strict";e.exports=n(7093).vendored.contexts.HtmlContext},5778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPageFiles",{enumerable:!0,get:function(){return getPageFiles}});let r=n(64),i=n(7072);function getPageFiles(e,t){let n=(0,r.denormalizePagePath)((0,i.normalizePagePath)(t));return e.pages[n]||(console.warn(`Could not find files for ${n} in .next/build-manifest.json`),[])}},9630:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ESCAPE_REGEX:function(){return r},htmlEscapeJsonString:function(){return htmlEscapeJsonString}});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},r=/[&><\u2028\u2029]/g;function htmlEscapeJsonString(e){return e.replace(r,e=>n[e])}},733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isBlockedPage:function(){return isBlockedPage},cleanAmpPath:function(){return cleanAmpPath},debounce:function(){return debounce}});let r=n(4191);function isBlockedPage(e){return r.BLOCKED_PAGES.includes(e)}function cleanAmpPath(e){return e.match(/\?amp=(y|yes|true|1)/)&&(e=e.replace(/\?amp=(y|yes|true|1)&?/,"?")),e.match(/&=(y|yes|true|1)/)&&(e=e.replace(/&=(y|yes|true|1)/,"")),e=e.replace(/\?$/,"")}function debounce(e,t,n=1/0){let r,i,o;let s=0,a=0;function run(){let l=Date.now(),u=a+t-l;u<=0||s+n>=l?(r=void 0,e.apply(o,i)):r=setTimeout(run,u)}return function(...e){i=e,o=this,a=Date.now(),void 0===r&&(s=a,r=setTimeout(run,t))}}},6859:(e,t,n)=>{e.exports=n(8676)},7083:(e,t)=>{"use strict";t._=t._interop_require_default=function(e){return e&&e.__esModule?e:{default:e}}}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
exports.id=889,exports.ids=[889],exports.modules={5996:(e,t,r)=>{var o={"./vtex":[9679,267,679],"./vtex/":[9679,267,679],"./vtex/index":[9679,267,679],"./vtex/index.ts":[9679,267,679],"./vtex/search":[3993,267,993],"./vtex/search.ts":[3993,267,993]};function webpackAsyncContext(e){if(!r.o(o,e))return Promise.resolve().then(()=>{var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],s=t[0];return Promise.all(t.slice(1).map(r.e)).then(()=>r(s))}webpackAsyncContext.keys=()=>Object.keys(o),webpackAsyncContext.id=5996,e.exports=webpackAsyncContext},3786:(e,t,r)=>{Promise.resolve().then(r.bind(r,1009)),Promise.resolve().then(r.bind(r,6295)),Promise.resolve().then(r.bind(r,6949))},6034:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,3724,23)),Promise.resolve().then(r.t.bind(r,5365,23)),Promise.resolve().then(r.t.bind(r,4900,23)),Promise.resolve().then(r.t.bind(r,4714,23)),Promise.resolve().then(r.t.bind(r,5392,23)),Promise.resolve().then(r.t.bind(r,8898,23))},1009:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>analytics});var o=r(9885);let unwrap=e=>({...e.params,name:e.params.name.slice(6,e.params.name.length)}),useAnalyticsEvent=e=>{let t=(0,o.useCallback)(t=>{try{if("AnalyticsEvent"!==t.data.name)return;e(unwrap(t.data))}catch(e){console.error("Something went wrong while running Analytics handler")}},[e]);(0,o.useEffect)(()=>(window.addEventListener("message",t),()=>window.removeEventListener("message",t)),[t])};var s=r(8643),a=r.n(s);let analytics=()=>(useAnalyticsEvent(e=>{window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:e.name,ecommerce:e.params}),r(5996)(`./${a().platform}`).then(({default:t})=>{t(e)})}),null)},6295:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var o=r(9885);let getReloads=()=>Number(window.sessionStorage.getItem("store:reloads")??"0"),setReloads=e=>window.sessionStorage.setItem("store:reloads",`${e}`),canRecover=()=>2>getReloads(),isFrameworkLevelError=e=>e?.name==="ChunkLoadError";let ErrorBoundary=class ErrorBoundary extends o.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){if(console.error(`React Error: ${e.message} ${t.componentStack}`),window.location.pathname.startsWith("/404")||window.location.pathname.startsWith("/500"))return;let r=encodeURIComponent(window.location.pathname),o=e?.extensions?.exception?.status===404;isFrameworkLevelError(e)&&canRecover()?(setReloads(getReloads()+1),window.location.reload()):o?window.location.href=`/404?from=${r}`:window.location.href=`/500?from=${r}&errorId=unknown`}render(){return this.state.hasError?null:this.props.children}constructor(...e){super(...e),this.state={hasError:!1,error:null}}};let s=ErrorBoundary},6949:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>UIProvider_UIProvider});var o=r(784),s=r(9885),a=r.n(s);let reducer=(e,t)=>{let{type:r}=t;switch(r){case"open":{let{payload:r}=t;return document.body.classList.add("no-scroll"),{...e,[r]:!0}}case"close":{let{payload:r}=t;return document.body.classList.remove("no-scroll"),{...e,[r]:!1}}case"pushToast":{let r=e.toasts.some(e=>e.message===t.payload.message&&e.status===t.payload.status);if(r)return e;return{...e,toasts:[...e.toasts,t.payload]}}case"popToast":return{...e,toasts:e.toasts.slice(1)};default:throw Error(`Action ${r} not implemented`)}},initializer=()=>({cart:!1,modal:!1,navbar:!1,filter:!1,toasts:[]}),n=(0,s.createContext)(void 0),hooks_UIProvider=function({children:e}){let[t,r]=(0,s.useReducer)(reducer,void 0,initializer),o=(0,s.useMemo)(()=>({openFilter:()=>r({type:"open",payload:"filter"}),closeFilter:()=>r({type:"close",payload:"filter"}),openNavbar:()=>r({type:"open",payload:"navbar"}),closeNavbar:()=>r({type:"close",payload:"navbar"}),openCart:()=>r({type:"open",payload:"cart"}),closeCart:()=>r({type:"close",payload:"cart"}),openModal:()=>r({type:"open",payload:"modal"}),closeModal:()=>r({type:"close",payload:"modal"}),pushToast:e=>r({type:"pushToast",payload:e}),popToast:()=>r({type:"popToast"})}),[]),i=(0,s.useMemo)(()=>({...t,...o}),[o,t]);return a().createElement(n.Provider,{value:i},e)};function UIProvider_UIProvider({children:e}){return o.jsx(hooks_UIProvider,{children:e})}},6965:e=>{"use strict";e.exports={seo:{title:"FastStore Starter",description:"Fast Demo Store",titleTemplate:"%s | FastStore",author:"Store Framework"},theme:"custom-theme",platform:"vtex",api:{storeId:"storeframework",workspace:"master",subDomainPrefix:["www"],environment:"vtexcommercestable",hideUnavailableItems:!1,incrementAddress:!0},session:{currency:{code:"USD",symbol:"$"},locale:"en-US",channel:'{"salesChannel":"1","regionId":"","hasOnlyDefaultSalesChannel":"true"}',country:"USA",deliveryMode:null,addressType:null,postalCode:null,geoCoordinates:null,person:null},cart:{id:"",items:[],messages:[],shouldSplitItem:!0},storeUrl:"https://vtexfaststore.com",secureSubdomain:"https://secure.vtexfaststore.com",checkoutUrl:"https://secure.vtexfaststore.com/checkout",loginUrl:"https://secure.vtexfaststore.com/api/io/login",accountUrl:"https://secure.vtexfaststore.com/api/io/account",previewRedirects:{home:"/",plp:"/office",search:"/s?q=headphone",pdp:"/apple-magic-mouse/p"},lighthouse:{server:process.env.BASE_SITE_URL||"http://localhost:3000",pages:{home:"/",pdp:"/apple-magic-mouse/p",collection:"/office"}},cypress:{pages:{home:"/",pdp:"/apple-magic-mouse/p",collection:"/office",collection_2:"/technology",collection_filtered:"/office/?category-1=office&marca=acer&facets=category-1%2Cmarca",search:"/s?q=orange"}},analytics:{gtmContainerId:"GTM-PGHZ95N"},cms:{data:process.env.CMS_DATA},experimental:{cypressVersion:12,enableCypressExtension:!1,noRobots:!1}}},8643:(e,t,r)=>{"use strict";let o=r(6965),s=r(2075),a=r(2230),n=a(o,s);e.exports=n},2075:e=>{"use strict";e.exports={}},1773:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GLOBAL_SECTIONS_CONTENT_TYPE:()=>k,default:()=>RootLayout,metadata:()=>M});var o=r(4656);r(5234),r(9313);var s=r(146);let fonts_WebFonts=function(){return o.jsx(o.Fragment,{})},a={WebFonts:fonts_WebFonts,WebFonts:fonts_WebFonts,ThirdPartyScripts:()=>o.jsx(o.Fragment,{})};a.WebFonts;var n=r(1893),i=r.n(n);let c="gtm_debug",useSnippet=e=>`${e.partytownScript?"!":""}window.location.search.includes('${c}=')&&
|
|
2
|
-
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
3
|
-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
4
|
-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
5
|
-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
6
|
-
})(window,document,'script',${JSON.stringify(e.dataLayerName??"dataLayer")},${JSON.stringify(e.containerId)});`,ThirdPartyScripts_GoogleTagManager=function(e){return(0,o.jsxs)(o.Fragment,{children:[o.jsx("script",{type:"text/partytown",dangerouslySetInnerHTML:{__html:useSnippet({...e,partytownScript:!0})}},"gtm.partytown"),o.jsx("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:useSnippet({...e,partytownScript:!1})}},"gtm")]})},vtex=function(){return(0,o.jsxs)(o.Fragment,{children:[o.jsx("script",{type:"text/partytown",dangerouslySetInnerHTML:{__html:`
|
|
7
|
-
window.sendrc=function(en,ed){window.NavigationCapture&&window.NavigationCapture.sendEvent(en,ed)};
|
|
8
|
-
`}},"vtexrc.js-init"),o.jsx("script",{type:"text/partytown",async:!0,src:"https://io.vtex.com.br/rc/rc.js"},"vtexrc.js-script"),o.jsx("script",{type:"text/partytown",dangerouslySetInnerHTML:{__html:"f=window.vtexaf=window.vtexaf||function(){(f.q=f.q||[]).push(arguments)};f.l=+new Date"}},"vtex-af.js-init"),o.jsx("script",{type:"text/partytown",async:!0,src:"https://activity-flow.vtex.com/af/af.js"},"vtex-af.js-script")]})},l=i().analytics?.gtmContainerId,p="string"==typeof l,d="vtex"===i().platform,components_ThirdPartyScripts_ThirdPartyScripts=function(){let e=[];return d&&e.push("sendrc","vtexaf"),(0,o.jsxs)(o.Fragment,{children:[o.jsx("script",{dangerouslySetInnerHTML:{__html:`var partytown={forward:[...${JSON.stringify(e)},!window.location.search.includes('${c}=')&&${p}?'dataLayer.push':null].filter(Boolean)}`}}),p&&o.jsx(ThirdPartyScripts_GoogleTagManager,{containerId:l}),d&&o.jsx(vtex,{}),o.jsx(a.ThirdPartyScripts,{}),o.jsx(s.i,{},"partytown")]})};var m=r(5153);let u=(0,m.createProxy)(String.raw`/home/runner/work/faststore/faststore/packages/core/app/sdk/analytics/index.tsx`),{__esModule:h,$$typeof:y}=u,f=u.default,g=(0,m.createProxy)(String.raw`/home/runner/work/faststore/faststore/packages/core/app/sdk/error/ErrorBoundary/ErrorBoundary.tsx`),{__esModule:w,$$typeof:v}=g,x=g.default,S=(0,m.createProxy)(String.raw`/home/runner/work/faststore/faststore/packages/core/app/sdk/ui/UIProvider.tsx`),{__esModule:b,$$typeof:C}=S,P=S.default;var T=r(1113),_=r.n(T);let I=_();var E=r(2637);let MissingContentError=class MissingContentError extends Error{constructor(e){super(`Missing content on the CMS for content type ${e.contentType}. Add content before proceeding. Context: ${JSON.stringify(e,null,2)}`)}};let MultipleContentError=class MultipleContentError extends Error{constructor(e){super(`Multiple content defined on the CMS for content type ${e.contentType}. Remove duplicated content before proceeding. Context: ${JSON.stringify(e,null,2)}`)}};let isLocator=e=>"string"==typeof e.contentType&&("string"==typeof e.releaseId||"string"==typeof e.documentId||"string"==typeof e.versionId),j=new E.Z({workspace:i().api.workspace,tenant:i().api.storeId}),getCMSPage=async(e,t=j)=>{if(isLocator(e))return await t.getCMSPage(e).then(e=>({data:[e]}));let r=[],o=await t.getCMSPagesByContentType(e.contentType,{...e.filters,page:1,perPage:10});r.push(...o.data);let s=Math.ceil(o.totalItems/10),a=Array.from({length:s-1},(e,t)=>t+2);if(o.totalItems>r.length){let o=await Promise.all(a.map(r=>t.getCMSPagesByContentType(e.contentType,{...e.filters,page:r,perPage:10})));o.forEach(e=>{r.push(...e.data)})}return{data:r}},getPage=async e=>{let t=await getCMSPage(e),r=t.data;if(!r[0])throw new MissingContentError(e);if(1!==r.length)throw new MultipleContentError(e);return r[0]},k="globalSections";async function getGlobalSectionsData(){if(i().cms.data){let e=JSON.parse(i().cms.data),t=e[k][0];if(t){let e=await getPage({contentType:k,documentId:t.documentId,versionId:t.versionId});return e}}let{sections:e}=await getPage({contentType:k});return{sections:e}}let M={robots:{index:!1,follow:!1,googleBot:{index:!1,follow:!1}}};async function RootLayout({children:e}){return await getGlobalSectionsData(),(0,o.jsxs)(x,{children:[o.jsx(f,{}),(0,o.jsxs)("html",{children:[o.jsx("head",{children:!process.env.DISABLE_3P_SCRIPTS&&o.jsx(components_ThirdPartyScripts_ThirdPartyScripts,{})}),o.jsx("body",{className:`theme ${I.className}`,children:o.jsx(P,{children:o.jsx(o.Fragment,{})})})]})]})}},6508:e=>{"use strict";e.exports={seo:{title:"FastStore Starter",description:"Fast Demo Store",titleTemplate:"%s | FastStore",author:"Store Framework"},theme:"custom-theme",platform:"vtex",api:{storeId:"storeframework",workspace:"master",subDomainPrefix:["www"],environment:"vtexcommercestable",hideUnavailableItems:!1,incrementAddress:!0},session:{currency:{code:"USD",symbol:"$"},locale:"en-US",channel:'{"salesChannel":"1","regionId":"","hasOnlyDefaultSalesChannel":"true"}',country:"USA",deliveryMode:null,addressType:null,postalCode:null,geoCoordinates:null,person:null},cart:{id:"",items:[],messages:[],shouldSplitItem:!0},storeUrl:"https://vtexfaststore.com",secureSubdomain:"https://secure.vtexfaststore.com",checkoutUrl:"https://secure.vtexfaststore.com/checkout",loginUrl:"https://secure.vtexfaststore.com/api/io/login",accountUrl:"https://secure.vtexfaststore.com/api/io/account",previewRedirects:{home:"/",plp:"/office",search:"/s?q=headphone",pdp:"/apple-magic-mouse/p"},lighthouse:{server:process.env.BASE_SITE_URL||"http://localhost:3000",pages:{home:"/",pdp:"/apple-magic-mouse/p",collection:"/office"}},cypress:{pages:{home:"/",pdp:"/apple-magic-mouse/p",collection:"/office",collection_2:"/technology",collection_filtered:"/office/?category-1=office&marca=acer&facets=category-1%2Cmarca",search:"/s?q=orange"}},analytics:{gtmContainerId:"GTM-PGHZ95N"},cms:{data:process.env.CMS_DATA},experimental:{cypressVersion:12,enableCypressExtension:!1,noRobots:!1}}},1893:(e,t,r)=>{"use strict";let o=r(6508),s=r(2482),a=r(1175),n=a(o,s);e.exports=n},2482:e=>{"use strict";e.exports={}},9313:()=>{},5234:()=>{}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=902,exports.ids=[902],exports.modules={1323:(e,t)=>{Object.defineProperty(t,"l",{enumerable:!0,get:function(){return function hoist(e,t){return t in e?e[t]:"then"in e&&"function"==typeof e.then?e.then(e=>hoist(e,t)):"function"==typeof e&&"default"===t?e:void 0}}})},8801:(e,t)=>{function isInAmpMode(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return isInAmpMode}})},6561:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{defaultHead:function(){return defaultHead},default:function(){return _default}});let r=n(7083),a=n(5570),o=a._(n(6689)),u=r._(n(9737)),d=n(8039),l=n(1988),i=n(8801);function defaultHead(e){void 0===e&&(e=!1);let t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function onlyReactElement(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(8565);let f=["name","httpEquiv","charSet","itemProp"];function reduceComponents(e,t){let{inAmpMode:n}=t;return e.reduce(onlyReactElement,[]).reverse().concat(defaultHead(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return a=>{let o=!0,u=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){u=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(a.props.hasOwnProperty(t)){if("charSet"===t)n.has(t)?o=!1:n.add(t);else{let e=a.props[t],n=r[t]||new Set;("name"!==t||!u)&&n.has(e)?o=!1:(n.add(e),r[t]=n)}}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:r})})}let _default=function(e){let{children:t}=e,n=(0,o.useContext)(d.AmpStateContext),r=(0,o.useContext)(l.HeadManagerContext);return o.default.createElement(u.default,{reduceComponentsToState:reduceComponents,headManager:r,inAmpMode:(0,i.isInAmpMode)(n)},t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9737:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return SideEffect}});let r=n(6689),useClientOnlyLayoutEffect=()=>{},useClientOnlyEffect=()=>{};function SideEffect(e){var t;let{headManager:n,reduceComponentsToState:a}=e;function emitChange(){if(n&&n.mountedInstances){let t=r.Children.toArray(Array.from(n.mountedInstances).filter(Boolean));n.updateHead(a(t,e))}}return null==n||null==(t=n.mountedInstances)||t.add(e.children),emitChange(),useClientOnlyLayoutEffect(()=>{var t;return null==n||null==(t=n.mountedInstances)||t.add(e.children),()=>{var t;null==n||null==(t=n.mountedInstances)||t.delete(e.children)}}),useClientOnlyLayoutEffect(()=>(n&&(n._pendingUpdate=emitChange),()=>{n&&(n._pendingUpdate=emitChange)})),useClientOnlyEffect(()=>(n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null),()=>{n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null)})),null}},8565:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return warnOnce}});let warnOnce=e=>{}},5244:(e,t)=>{var n;Object.defineProperty(t,"x",{enumerable:!0,get:function(){return n}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE"}(n||(n={}))},8039:(e,t,n)=>{e.exports=n(7093).vendored.contexts.AmpContext},1988:(e,t,n)=>{e.exports=n(7093).vendored.contexts.HeadManagerContext},5570:(e,t)=>{function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function(e){return e?n:t})(e)}t._=t._interop_require_wildcard=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=a?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=930,exports.ids=[930],exports.modules={4930:(e,r,t)=>{t.r(r),t.d(r,{default:()=>m});var a=t(997),n=t(6689),o=t.n(n);let s=(0,n.forwardRef)(function({testId:e="fs-product-grid",children:r,...t},a){return o().createElement("ul",{ref:a,"data-fs-product-grid":!0,...t},r)}),d=(0,n.forwardRef)(function({testId:e="fs-product-grid-item",children:r,...t},a){return o().createElement("li",{ref:a,"data-fs-product-grid-item":!0,...t},r)});var i=t(7844),c=t(6315);let l=(0,n.memo)(function({products:e,page:r,pageSize:t,productCard:{showDiscountBadge:n,bordered:o}={}}){let{__experimentalProductCard:l}=(0,c.r3)();return a.jsx(i.Z,{aspectRatio:1,loading:0===e.length,children:a.jsx(s,{children:e.map(({node:e},s)=>a.jsx(d,{children:a.jsx(l.Component,{aspectRatio:1,imgProps:{width:150,height:150,sizes:"30vw",loading:0===s?"eager":"lazy"},...l.props,bordered:o??l.props.bordered,showDiscountBadge:n??l.props.showDiscountBadge,product:e,index:t*r+s+1})},`${e.id}`))})})});var p=t(3221),u=t(1163),g=t(9785),f=t(5853);let replacePagination=(e,r)=>{let t=new URL(window.location.href);t.searchParams.get("page")!==e&&(t.searchParams.set("page",e),r.replace(t,void 0,{shallow:!0,scroll:!1}))},search_Sentinel=function({page:e,pageSize:r,products:t,title:o}){let s=(0,n.useRef)(!1),{ref:d,inView:i}=(0,g.useInView)(),{pages:c}=(0,p.R)(),l=(0,u.useRouter)(),{sendViewItemListEvent:h}=(0,f.m)({products:t,title:o,page:e,pageSize:r});return(0,n.useEffect)(()=>{i&&c.length>1&&replacePagination(e.toString(),l),i&&!s.current&&t.length&&(h(),s.current=!0)},[c.length,i,e,l,h,t.length]),a.jsx("div",{ref:d})};var h=t(3632);let m=(0,n.memo)(function({page:e,title:r,productCard:t,itemsPerPage:n}){let{data:o}=(0,h.__)(e),s=o?.search?.products?.edges??[];return(0,a.jsxs)(a.Fragment,{children:[a.jsx(search_Sentinel,{products:s,page:e,pageSize:n,title:r}),a.jsx(l,{products:s,page:e,pageSize:n,productCard:t})]})})}};
|