"use strict";(()=>{var e={};e.id=1540,e.ids=[1540,2888,660],e.modules={74059:(e,t,r)=>{r.a(e,async(e,o)=>{try{r.r(t),r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__,getServerSideProps:()=>getServerSideProps});var a=r(25487),s=r(16641),i=r(55551),p=r(16886),n=r(7027),c=r(93839),l=r(14194),u=r(76924),d=r(23091),x=r(7947),b=r(56272),g=r(99563),S=r(70152),m=r(10278),_=r(67275),P=r(20997),h=e([n,c,x,g]);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var o;o=r[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}[n,c,x,g]=h.then?(await h)():h;let v=_objectSpread(_objectSpread(_objectSpread({},n.Z),{},{EmptyState:l.C},d.Z),u.Z),f=a.pi,getServerSideProps=async e=>{let t=await (0,x.h)(e);if(!t)return{redirect:{destination:"/login",permanent:!1}};let{isFaststoreMyAccountEnabled:r,redirect:o}=(0,_.j)({query:e.query});if(!r)return{redirect:o};let[a,s,p]=(0,i.Tc)(e.previewData),[n,c,l,u,d]=await Promise.all([(0,S.fx)(_objectSpread(_objectSpread({},e.previewData?.contentType==="404"&&e.previewData),{},{contentType:"404"})),(0,g.h)({variables:{},operation:f},{headers:_objectSpread({},e.req.headers)}),a,s,p]),b=(0,m.z)({globalSections:l,globalSectionsHeader:u,globalSectionsFooter:d});return{props:{page:n,globalSections:b,accountName:c.data.accountName}}},__WEBPACK_DEFAULT_EXPORT__=function({page:{sections:e},globalSections:t,accountName:r}){let{sections:o,settings:a}=t??{};return P.jsx(b.ZP,{context:{globalSettings:a},children:(0,P.jsxs)(c.ZP,{globalSections:o,components:v,children:[P.jsx(s.NextSeo,{noindex:!0,nofollow:!0}),P.jsx(p.Z,{accountName:r,children:e&&e.length>0&&P.jsx(c.AI,{sections:e,components:v})})]})})};o()}catch(e){o(e)}})},17945:(e,t,r)=>{r.a(e,async(e,o)=>{try{r.r(t),r.d(t,{config:()=>g,default:()=>u,getServerSideProps:()=>b,getStaticPaths:()=>x,getStaticProps:()=>d,reportWebVitals:()=>S,routeModule:()=>f,unstable_getServerProps:()=>h,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>P,unstable_getStaticPaths:()=>_,unstable_getStaticProps:()=>m});var a=r(21314),s=r(36267),i=r(18400),p=r(42445),n=r(19630),c=r(74059),l=e([c,n]);[c,n]=l.then?(await l)():l;let u=(0,i.l)(c,"default"),d=(0,i.l)(c,"getStaticProps"),x=(0,i.l)(c,"getStaticPaths"),b=(0,i.l)(c,"getServerSideProps"),g=(0,i.l)(c,"config"),S=(0,i.l)(c,"reportWebVitals"),m=(0,i.l)(c,"unstable_getStaticProps"),_=(0,i.l)(c,"unstable_getStaticPaths"),P=(0,i.l)(c,"unstable_getStaticParams"),h=(0,i.l)(c,"unstable_getServerProps"),v=(0,i.l)(c,"unstable_getServerSideProps"),f=new a.PagesRouteModule({definition:{kind:s.x.PAGES,page:"/pvt/account/404",pathname:"/pvt/account/404",bundlePath:"",filename:""},components:{App:n.default,Document:p.default},userland:c});o()}catch(e){o(e)}})},16676:e=>{e.exports=require("@vtex/client-cms")},44339:e=>{e.exports=require("@vtex/client-cp")},84802:e=>{e.exports=require("cookie")},56330:e=>{e.exports=require("deepmerge")},12404:e=>{e.exports=require("fast-deep-equal")},57343:e=>{e.exports=require("graphql")},36548:e=>{e.exports=require("graphql/language")},47881:e=>{e.exports=require("isomorphic-unfetch")},16641:e=>{e.exports=require("next-seo")},62785:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},40968:e=>{e.exports=require("next/head")},89261:e=>{e.exports=require("postcss")},16689:e=>{e.exports=require("react")},66405:e=>{e.exports=require("react-dom")},19785:e=>{e.exports=require("react-intersection-observer")},20997:e=>{e.exports=require("react/jsx-runtime")},14037:e=>{e.exports=import("@builder.io/partytown/react")},99664:e=>{e.exports=import("@envelop/core")},37886:e=>{e.exports=import("@envelop/graphql-jit")},84656:e=>{e.exports=import("@envelop/parser-cache")},36093:e=>{e.exports=import("@envelop/validation-cache")},45774:e=>{e.exports=import("@graphql-tools/load-files")},36550:e=>{e.exports=import("@graphql-tools/schema")},38722:e=>{e.exports=import("@graphql-tools/utils")},15941:e=>{e.exports=import("swr")},6113:e=>{e.exports=require("crypto")},57147:e=>{e.exports=require("fs")},71017:e=>{e.exports=require("path")},12781:e=>{e.exports=require("stream")},59796:e=>{e.exports=require("zlib")}};var t=require("../../../webpack-runtime.js");t.C(e);var __webpack_exec__=e=>t(t.s=e),r=t.X(0,[7799,772,6804,9985,1554,5683,4913,4168,9630,2445,948,9563,7275,7947,6886,1780,4194],()=>__webpack_exec__(17945));module.exports=r})();