@nextblock-cms/db 0.8.1 → 0.8.7

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/cache-Bb4TkKGq.js DELETED
@@ -1,38 +0,0 @@
1
- "use strict";const bo=require("@supabase/ssr"),To=require("@supabase/supabase-js"),ln=require("next/headers"),Oo="This module cannot be imported from a Client Component module. It should only be used from a Server Component.";if(typeof window<"u")throw new Error(Oo);const Gr=()=>{const s=process.env.NEXT_PUBLIC_SUPABASE_URL,a=process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY;if(!s||!a)throw new Error("Missing Supabase environment variables");return bo.createServerClient(s,a,{cookies:{getAll:async()=>{try{return(await ln.cookies()).getAll()}catch{return[]}},setAll:async i=>{try{const h=await ln.cookies();for(const{name:o,value:e,options:t}of i)e&&e.length>0?h.set({name:o,value:e,...t}):t&&Object.keys(t).length>0?h.delete({name:o,...t}):h.delete(o)}catch{}}}})};async function So(s){const a=Gr(),{data:i,error:h}=await a.from("profiles").select("id, full_name, avatar_url, role, updated_at, website").eq("id",s).single();return h||!i?(console.error("Error fetching profile (server-side):",h?.message),null):i}async function Po(){const s=Gr(),{data:a,error:i}=await s.from("languages").select("id, code, name, is_default, is_active, created_at, updated_at").order("name",{ascending:!0});return i?(console.error("Error fetching languages (server-side):",i.message),[]):a||[]}const Ao=()=>{const s=process.env.NEXT_PUBLIC_SUPABASE_URL,a=process.env.SUPABASE_SERVICE_ROLE_KEY;if(!s||!a)throw new Error("Missing Supabase Service Role environment variables");return To.createClient(s,a,{auth:{autoRefreshToken:!1,persistSession:!1}})};var No=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Co(s){if(Object.prototype.hasOwnProperty.call(s,"__esModule"))return s;var a=s.default;if(typeof a=="function"){var i=function h(){var o=!1;try{o=this instanceof h}catch{}return o?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};i.prototype=a.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(s).forEach(function(h){var o=Object.getOwnPropertyDescriptor(s,h);Object.defineProperty(i,h,o.get?o:{enumerable:!0,get:function(){return s[h]}})}),i}var ze={exports:{}},ct={},lt={},fn;function We(){return fn||(fn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(ee,ce){for(var le in ce)Object.defineProperty(ee,le,{enumerable:!0,get:ce[le]})}a(s,{ACTION_SUFFIX:function(){return E},APP_DIR_ALIAS:function(){return w},CACHE_ONE_YEAR_SECONDS:function(){return G},DOT_NEXT_ALIAS:function(){return ve},ESLINT_DEFAULT_DIRS:function(){return Pe},GSP_NO_RETURNED_VALUE:function(){return he},GSSP_COMPONENT_MEMBER_ERROR:function(){return Ee},GSSP_NO_RETURNED_VALUE:function(){return oe},HTML_CONTENT_TYPE_HEADER:function(){return h},INFINITE_CACHE:function(){return ae},INSTRUMENTATION_HOOK_FILENAME:function(){return re},JSON_CONTENT_TYPE_HEADER:function(){return o},MATCHED_PATH_HEADER:function(){return n},MIDDLEWARE_FILENAME:function(){return X},MIDDLEWARE_LOCATION_REGEXP:function(){return Z},NEXT_BODY_SUFFIX:function(){return g},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return k},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return P},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return I},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return z},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return S},NEXT_CACHE_TAGS_HEADER:function(){return y},NEXT_CACHE_TAG_MAX_ITEMS:function(){return b},NEXT_CACHE_TAG_MAX_LENGTH:function(){return C},NEXT_DATA_SUFFIX:function(){return R},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return t},NEXT_META_SUFFIX:function(){return v},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return _},NEXT_QUERY_PARAM_PREFIX:function(){return e},NEXT_RESUME_HEADER:function(){return p},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return N},NON_STANDARD_NODE_ENV:function(){return Q},PAGES_DIR_ALIAS:function(){return ie},PRERENDER_REVALIDATE_HEADER:function(){return l},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return c},PROXY_FILENAME:function(){return fe},PROXY_LOCATION_REGEXP:function(){return pe},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return B},ROOT_DIR_ALIAS:function(){return m},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return D},RSC_ACTION_ENCRYPTION_ALIAS:function(){return j},RSC_ACTION_PROXY_ALIAS:function(){return H},RSC_ACTION_VALIDATE_ALIAS:function(){return U},RSC_CACHE_WRAPPER_ALIAS:function(){return A},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return M},RSC_MOD_REF_PROXY_ALIAS:function(){return Y},RSC_SEGMENTS_DIR_SUFFIX:function(){return r},RSC_SEGMENT_SUFFIX:function(){return f},RSC_SUFFIX:function(){return d},SERVER_PROPS_EXPORT_ERROR:function(){return ge},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return de},SERVER_PROPS_SSG_CONFLICT:function(){return V},SERVER_RUNTIME:function(){return Ie},SSG_FALLBACK_EXPORT_ERROR:function(){return me},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return $},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return F},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return i},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return _e},WEBPACK_LAYERS:function(){return L},WEBPACK_RESOURCE_QUERIES:function(){return x},WEB_SOCKET_MAX_RECONNECTIONS:function(){return Me}});const i="text/plain",h="text/html; charset=utf-8",o="application/json; charset=utf-8",e="nxtP",t="nxtI",n="x-matched-path",l="x-prerender-revalidate",c="x-prerender-revalidate-if-generated",r=".segments",f=".segment.rsc",d=".rsc",E=".action",R=".json",v=".meta",g=".body",_="x-nextjs-deployment-id",y="x-next-cache-tags",P="x-next-revalidated-tags",I="x-next-revalidate-tag-token",p="next-resume",N="x-next-resume-state-length",b=128,C=256,S=1024,k="_N_T_",z="_N_RP_",G=31536e3,ae=4294967294,X="middleware",Z=`(?:src/)?${X}`,fe="proxy",pe=`(?:src/)?${fe}`,re="instrumentation",ie="private-next-pages",ve="private-dot-next",m="private-next-root-dir",w="private-next-app-dir",Y="private-next-rsc-mod-ref-proxy",U="private-next-rsc-action-validate",H="private-next-rsc-server-reference",A="private-next-rsc-cache-wrapper",M="private-next-rsc-track-dynamic-import",j="private-next-rsc-action-encryption",D="private-next-rsc-action-client-wrapper",B="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",$="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",de="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",V="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",F="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",ge="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",he="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",oe="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",_e="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",Ee="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Q='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',me="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",Pe=["app","pages","components","lib","src"],Ie={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},Me=12,T={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},L={...T,GROUP:{builtinReact:[T.reactServerComponents,T.actionBrowser],serverOnly:[T.reactServerComponents,T.actionBrowser,T.instrument,T.middleware],neutralTarget:[T.apiNode,T.apiEdge],clientOnly:[T.serverSideRendering,T.appPagesBrowser],bundled:[T.reactServerComponents,T.actionBrowser,T.serverSideRendering,T.appPagesBrowser,T.shared,T.instrument,T.middleware],appPages:[T.reactServerComponents,T.serverSideRendering,T.appPagesBrowser,T.actionBrowser]}},x={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}})(lt)),lt}var ft={},dt={},dn;function it(){return dn||(dn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(g,_){for(var y in _)Object.defineProperty(g,y,{enumerable:!0,get:_[y]})}a(s,{AppRenderSpan:function(){return l},AppRouteRouteHandlersSpan:function(){return f},BaseServerSpan:function(){return i},LoadComponentsSpan:function(){return h},LogSpanAllowList:function(){return v},MiddlewareSpan:function(){return E},NextNodeServerSpan:function(){return e},NextServerSpan:function(){return o},NextVanillaSpanAllowlist:function(){return R},NodeSpan:function(){return r},RenderSpan:function(){return n},ResolveMetadataSpan:function(){return d},RouterSpan:function(){return c},StartServerSpan:function(){return t}});var i=(function(g){return g.handleRequest="BaseServer.handleRequest",g.run="BaseServer.run",g.pipe="BaseServer.pipe",g.getStaticHTML="BaseServer.getStaticHTML",g.render="BaseServer.render",g.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",g.renderToResponse="BaseServer.renderToResponse",g.renderToHTML="BaseServer.renderToHTML",g.renderError="BaseServer.renderError",g.renderErrorToResponse="BaseServer.renderErrorToResponse",g.renderErrorToHTML="BaseServer.renderErrorToHTML",g.render404="BaseServer.render404",g})(i||{}),h=(function(g){return g.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",g.loadComponents="LoadComponents.loadComponents",g})(h||{}),o=(function(g){return g.getRequestHandler="NextServer.getRequestHandler",g.getRequestHandlerWithMetadata="NextServer.getRequestHandlerWithMetadata",g.getServer="NextServer.getServer",g.getServerRequestHandler="NextServer.getServerRequestHandler",g.createServer="createServer.createServer",g})(o||{}),e=(function(g){return g.compression="NextNodeServer.compression",g.getBuildId="NextNodeServer.getBuildId",g.createComponentTree="NextNodeServer.createComponentTree",g.clientComponentLoading="NextNodeServer.clientComponentLoading",g.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",g.generateStaticRoutes="NextNodeServer.generateStaticRoutes",g.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",g.generatePublicRoutes="NextNodeServer.generatePublicRoutes",g.generateImageRoutes="NextNodeServer.generateImageRoutes.route",g.sendRenderResult="NextNodeServer.sendRenderResult",g.proxyRequest="NextNodeServer.proxyRequest",g.runApi="NextNodeServer.runApi",g.render="NextNodeServer.render",g.renderHTML="NextNodeServer.renderHTML",g.imageOptimizer="NextNodeServer.imageOptimizer",g.getPagePath="NextNodeServer.getPagePath",g.getRoutesManifest="NextNodeServer.getRoutesManifest",g.findPageComponents="NextNodeServer.findPageComponents",g.getFontManifest="NextNodeServer.getFontManifest",g.getServerComponentManifest="NextNodeServer.getServerComponentManifest",g.getRequestHandler="NextNodeServer.getRequestHandler",g.renderToHTML="NextNodeServer.renderToHTML",g.renderError="NextNodeServer.renderError",g.renderErrorToHTML="NextNodeServer.renderErrorToHTML",g.render404="NextNodeServer.render404",g.startResponse="NextNodeServer.startResponse",g.route="route",g.onProxyReq="onProxyReq",g.apiResolver="apiResolver",g.internalFetch="internalFetch",g})(e||{}),t=(function(g){return g.startServer="startServer.startServer",g})(t||{}),n=(function(g){return g.getServerSideProps="Render.getServerSideProps",g.getStaticProps="Render.getStaticProps",g.renderToString="Render.renderToString",g.renderDocument="Render.renderDocument",g.createBodyResult="Render.createBodyResult",g})(n||{}),l=(function(g){return g.renderToString="AppRender.renderToString",g.renderToReadableStream="AppRender.renderToReadableStream",g.getBodyResult="AppRender.getBodyResult",g.fetch="AppRender.fetch",g})(l||{}),c=(function(g){return g.executeRoute="Router.executeRoute",g})(c||{}),r=(function(g){return g.runHandler="Node.runHandler",g})(r||{}),f=(function(g){return g.runHandler="AppRouteRouteHandlers.runHandler",g})(f||{}),d=(function(g){return g.generateMetadata="ResolveMetadata.generateMetadata",g.generateViewport="ResolveMetadata.generateViewport",g})(d||{}),E=(function(g){return g.execute="Middleware.execute",g})(E||{});const R=new Set(["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"]),v=new Set(["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"])})(dt)),dt}var ht={},pt={},hn;function wo(){return hn||(hn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"isThenable",{enumerable:!0,get:function(){return a}});function a(i){return i!==null&&typeof i=="object"&&"then"in i&&typeof i.then=="function"}})(pt)),pt}const Le="1.9.1",pn=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Do(s){const a=new Set([s]),i=new Set,h=s.match(pn);if(!h)return()=>!1;const o={major:+h[1],minor:+h[2],patch:+h[3],prerelease:h[4]};if(o.prerelease!=null)return function(l){return l===s};function e(n){return i.add(n),!1}function t(n){return a.add(n),!0}return function(l){if(a.has(l))return!0;if(i.has(l))return!1;const c=l.match(pn);if(!c)return e(l);const r={major:+c[1],minor:+c[2],patch:+c[3],prerelease:c[4]};return r.prerelease!=null||o.major!==r.major?e(l):o.major===0?o.minor===r.minor&&o.patch<=r.patch?t(l):e(l):o.minor<=r.minor?t(l):e(l)}}const Io=Do(Le),xo=Le.split(".")[0],Xe=Symbol.for(`opentelemetry.js.api.${xo}`),Fe=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{};function Ye(s,a,i,h=!1){var o;const e=Fe[Xe]=(o=Fe[Xe])!==null&&o!==void 0?o:{version:Le};if(!h&&e[s]){const t=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${s}`);return i.error(t.stack||t.message),!1}if(e.version!==Le){const t=new Error(`@opentelemetry/api: Registration of version v${e.version} for ${s} does not match previously registered API v${Le}`);return i.error(t.stack||t.message),!1}return e[s]=a,i.debug(`@opentelemetry/api: Registered a global for ${s} v${Le}.`),!0}function je(s){var a,i;const h=(a=Fe[Xe])===null||a===void 0?void 0:a.version;if(!(!h||!Io(h)))return(i=Fe[Xe])===null||i===void 0?void 0:i[s]}function Ve(s,a){a.debug(`@opentelemetry/api: Unregistering a global for ${s} v${Le}.`);const i=Fe[Xe];i&&delete i[s]}class Mo{constructor(a){this._namespace=a.namespace||"DiagComponentLogger"}debug(...a){return ke("debug",this._namespace,a)}error(...a){return ke("error",this._namespace,a)}info(...a){return ke("info",this._namespace,a)}warn(...a){return ke("warn",this._namespace,a)}verbose(...a){return ke("verbose",this._namespace,a)}}function ke(s,a,i){const h=je("diag");if(h)return h[s](a,...i)}var we;(function(s){s[s.NONE=0]="NONE",s[s.ERROR=30]="ERROR",s[s.WARN=50]="WARN",s[s.INFO=60]="INFO",s[s.DEBUG=70]="DEBUG",s[s.VERBOSE=80]="VERBOSE",s[s.ALL=9999]="ALL"})(we||(we={}));function Lo(s,a){s<we.NONE?s=we.NONE:s>we.ALL&&(s=we.ALL),a=a||{};function i(h,o){const e=a[h];return typeof e=="function"&&s>=o?e.bind(a):function(){}}return{error:i("error",we.ERROR),warn:i("warn",we.WARN),info:i("info",we.INFO),debug:i("debug",we.DEBUG),verbose:i("verbose",we.VERBOSE)}}const jo="diag";class De{static instance(){return this._instance||(this._instance=new De),this._instance}constructor(){function a(o){return function(...e){const t=je("diag");if(t)return t[o](...e)}}const i=this,h=(o,e={logLevel:we.INFO})=>{var t,n,l;if(o===i){const f=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return i.error((t=f.stack)!==null&&t!==void 0?t:f.message),!1}typeof e=="number"&&(e={logLevel:e});const c=je("diag"),r=Lo((n=e.logLevel)!==null&&n!==void 0?n:we.INFO,o);if(c&&!e.suppressOverrideMessage){const f=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";c.warn(`Current logger will be overwritten from ${f}`),r.warn(`Current logger will overwrite one already registered from ${f}`)}return Ye("diag",r,i,!0)};i.setLogger=h,i.disable=()=>{Ve(jo,i)},i.createComponentLogger=o=>new Mo(o),i.verbose=a("verbose"),i.debug=a("debug"),i.info=a("info"),i.warn=a("warn"),i.error=a("error")}}class $e{constructor(a){this._entries=a?new Map(a):new Map}getEntry(a){const i=this._entries.get(a);if(i)return Object.assign({},i)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(a,i){const h=new $e(this._entries);return h._entries.set(a,i),h}removeEntry(a){const i=new $e(this._entries);return i._entries.delete(a),i}removeEntries(...a){const i=new $e(this._entries);for(const h of a)i._entries.delete(h);return i}clear(){return new $e}}const Uo=Symbol("BaggageEntryMetadata"),Ho=De.instance();function $o(s={}){return new $e(new Map(Object.entries(s)))}function qo(s){return typeof s!="string"&&(Ho.error(`Cannot create baggage metadata from unknown type: ${typeof s}`),s=""),{__TYPE__:Uo,toString(){return s}}}function Br(s){return Symbol.for(s)}class at{constructor(a){const i=this;i._currentContext=a?new Map(a):new Map,i.getValue=h=>i._currentContext.get(h),i.setValue=(h,o)=>{const e=new at(i._currentContext);return e._currentContext.set(h,o),e},i.deleteValue=h=>{const o=new at(i._currentContext);return o._currentContext.delete(h),o}}}const Xa=new at,gt=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],Lr={};if(typeof console<"u"){const s=["error","warn","info","debug","trace","log"];for(const a of s)typeof console[a]=="function"&&(Lr[a]=console[a])}class ko{constructor(){function a(i){return function(...h){let o=Lr[i];if(typeof o!="function"&&(o=Lr.log),typeof o!="function"&&console&&(o=console[i],typeof o!="function"&&(o=console.log)),typeof o=="function")return o.apply(console,h)}}for(let i=0;i<gt.length;i++)this[gt[i].n]=a(gt[i].c)}}class Go{constructor(){}createGauge(a,i){return Qo}createHistogram(a,i){return Jo}createCounter(a,i){return zo}createUpDownCounter(a,i){return Zo}createObservableGauge(a,i){return ti}createObservableCounter(a,i){return ei}createObservableUpDownCounter(a,i){return ri}addBatchObservableCallback(a,i){}removeBatchObservableCallback(a){}}class st{}class Bo extends st{add(a,i){}}class Xo extends st{add(a,i){}}class Fo extends st{record(a,i){}}class Wo extends st{record(a,i){}}class Xr{addCallback(a){}removeCallback(a){}}class Yo extends Xr{}class Vo extends Xr{}class Ko extends Xr{}const Fa=new Go,zo=new Bo,Qo=new Fo,Jo=new Wo,Zo=new Xo,ei=new Yo,ti=new Vo,ri=new Ko;function ni(){return Fa}var jr;(function(s){s[s.INT=0]="INT",s[s.DOUBLE=1]="DOUBLE"})(jr||(jr={}));const Wa={get(s,a){if(s!=null)return s[a]},keys(s){return s==null?[]:Object.keys(s)}},Ya={set(s,a,i){s!=null&&(s[a]=i)}};class ai{active(){return Xa}with(a,i,h,...o){return i.call(h,...o)}bind(a,i){return i}enable(){return this}disable(){return this}}const _t="context",oi=new ai;class qe{constructor(){}static getInstance(){return this._instance||(this._instance=new qe),this._instance}setGlobalContextManager(a){return Ye(_t,a,De.instance())}active(){return this._getContextManager().active()}with(a,i,h,...o){return this._getContextManager().with(a,i,h,...o)}bind(a,i){return this._getContextManager().bind(a,i)}_getContextManager(){return je(_t)||oi}disable(){this._getContextManager().disable(),Ve(_t,De.instance())}}var ot;(function(s){s[s.NONE=0]="NONE",s[s.SAMPLED=1]="SAMPLED"})(ot||(ot={}));const Fr="0000000000000000",Wr="00000000000000000000000000000000",Va={traceId:Wr,spanId:Fr,traceFlags:ot.NONE};class Be{constructor(a=Va){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,i){return this}setAttributes(a){return this}addEvent(a,i){return this}addLink(a){return this}addLinks(a){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,i){}}const Yr=Br("OpenTelemetry Context Key SPAN");function Vr(s){return s.getValue(Yr)||void 0}function ii(){return Vr(qe.getInstance().active())}function Kr(s,a){return s.setValue(Yr,a)}function si(s){return s.deleteValue(Yr)}function ui(s,a){return Kr(s,new Be(a))}function Ka(s){var a;return(a=Vr(s))===null||a===void 0?void 0:a.spanContext()}const Qe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1]);function za(s,a){if(typeof s!="string"||s.length!==a)return!1;let i=0;for(let h=0;h<s.length;h+=4)i+=(Qe[s.charCodeAt(h)]|0)+(Qe[s.charCodeAt(h+1)]|0)+(Qe[s.charCodeAt(h+2)]|0)+(Qe[s.charCodeAt(h+3)]|0);return i===a}function Qa(s){return za(s,32)&&s!==Wr}function Ja(s){return za(s,16)&&s!==Fr}function zr(s){return Qa(s.traceId)&&Ja(s.spanId)}function ci(s){return new Be(s)}const Et=qe.getInstance();class Za{startSpan(a,i,h=Et.active()){if(!!i?.root)return new Be;const e=h&&Ka(h);return li(e)&&zr(e)?new Be(e):new Be}startActiveSpan(a,i,h,o){let e,t,n;if(arguments.length<2)return;arguments.length===2?n=i:arguments.length===3?(e=i,n=h):(e=i,t=h,n=o);const l=t??Et.active(),c=this.startSpan(a,e,l),r=Kr(l,c);return Et.with(r,n,void 0,c)}}function li(s){return s!==null&&typeof s=="object"&&"spanId"in s&&typeof s.spanId=="string"&&"traceId"in s&&typeof s.traceId=="string"&&"traceFlags"in s&&typeof s.traceFlags=="number"}const fi=new Za;class eo{constructor(a,i,h,o){this._provider=a,this.name=i,this.version=h,this.options=o}startSpan(a,i,h){return this._getTracer().startSpan(a,i,h)}startActiveSpan(a,i,h,o){const e=this._getTracer();return Reflect.apply(e.startActiveSpan,e,arguments)}_getTracer(){if(this._delegate)return this._delegate;const a=this._provider.getDelegateTracer(this.name,this.version,this.options);return a?(this._delegate=a,this._delegate):fi}}class di{getTracer(a,i,h){return new Za}}const hi=new di;class Ur{getTracer(a,i,h){var o;return(o=this.getDelegateTracer(a,i,h))!==null&&o!==void 0?o:new eo(this,a,i,h)}getDelegate(){var a;return(a=this._delegate)!==null&&a!==void 0?a:hi}setDelegate(a){this._delegate=a}getDelegateTracer(a,i,h){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getTracer(a,i,h)}}var Hr;(function(s){s[s.NOT_RECORD=0]="NOT_RECORD",s[s.RECORD=1]="RECORD",s[s.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Hr||(Hr={}));var $r;(function(s){s[s.INTERNAL=0]="INTERNAL",s[s.SERVER=1]="SERVER",s[s.CLIENT=2]="CLIENT",s[s.PRODUCER=3]="PRODUCER",s[s.CONSUMER=4]="CONSUMER"})($r||($r={}));var qr;(function(s){s[s.UNSET=0]="UNSET",s[s.OK=1]="OK",s[s.ERROR=2]="ERROR"})(qr||(qr={}));const kr="[_0-9a-z-*/]",pi=`[a-z]${kr}{0,255}`,gi=`[a-z0-9]${kr}{0,240}@[a-z]${kr}{0,13}`,_i=new RegExp(`^(?:${pi}|${gi})$`),Ei=/^[ -~]{0,255}[!-~]$/,mi=/,|=/;function Ri(s){return _i.test(s)}function vi(s){return Ei.test(s)&&!mi.test(s)}const gn=32,yi=512,_n=",",En="=";class Qr{constructor(a){this._internalState=new Map,a&&this._parse(a)}set(a,i){const h=this._clone();return h._internalState.has(a)&&h._internalState.delete(a),h._internalState.set(a,i),h}unset(a){const i=this._clone();return i._internalState.delete(a),i}get(a){return this._internalState.get(a)}serialize(){return Array.from(this._internalState.keys()).reduceRight((a,i)=>(a.push(i+En+this.get(i)),a),[]).join(_n)}_parse(a){a.length>yi||(this._internalState=a.split(_n).reduceRight((i,h)=>{const o=h.trim(),e=o.indexOf(En);if(e!==-1){const t=o.slice(0,e),n=o.slice(e+1,h.length);Ri(t)&&vi(n)&&i.set(t,n)}return i},new Map),this._internalState.size>gn&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,gn))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const a=new Qr;return a._internalState=new Map(this._internalState),a}}function bi(s){return new Qr(s)}const to=qe.getInstance(),ro=De.instance();class Ti{getMeter(a,i,h){return Fa}}const Oi=new Ti,mt="metrics";class Jr{constructor(){}static getInstance(){return this._instance||(this._instance=new Jr),this._instance}setGlobalMeterProvider(a){return Ye(mt,a,De.instance())}getMeterProvider(){return je(mt)||Oi}getMeter(a,i,h){return this.getMeterProvider().getMeter(a,i,h)}disable(){Ve(mt,De.instance())}}const no=Jr.getInstance();class Si{inject(a,i){}extract(a,i){return a}fields(){return[]}}const Zr=Br("OpenTelemetry Baggage Key");function ao(s){return s.getValue(Zr)||void 0}function Pi(){return ao(qe.getInstance().active())}function Ai(s,a){return s.setValue(Zr,a)}function Ni(s){return s.deleteValue(Zr)}const Rt="propagation",Ci=new Si;class en{constructor(){this.createBaggage=$o,this.getBaggage=ao,this.getActiveBaggage=Pi,this.setBaggage=Ai,this.deleteBaggage=Ni}static getInstance(){return this._instance||(this._instance=new en),this._instance}setGlobalPropagator(a){return Ye(Rt,a,De.instance())}inject(a,i,h=Ya){return this._getGlobalPropagator().inject(a,i,h)}extract(a,i,h=Wa){return this._getGlobalPropagator().extract(a,i,h)}fields(){return this._getGlobalPropagator().fields()}disable(){Ve(Rt,De.instance())}_getGlobalPropagator(){return je(Rt)||Ci}}const oo=en.getInstance(),vt="trace";class tn{constructor(){this._proxyTracerProvider=new Ur,this.wrapSpanContext=ci,this.isSpanContextValid=zr,this.deleteSpan=si,this.getSpan=Vr,this.getActiveSpan=ii,this.getSpanContext=Ka,this.setSpan=Kr,this.setSpanContext=ui}static getInstance(){return this._instance||(this._instance=new tn),this._instance}setGlobalTracerProvider(a){const i=Ye(vt,this._proxyTracerProvider,De.instance());return i&&this._proxyTracerProvider.setDelegate(a),i}getTracerProvider(){return je(vt)||this._proxyTracerProvider}getTracer(a,i){return this.getTracerProvider().getTracer(a,i)}disable(){Ve(vt,De.instance()),this._proxyTracerProvider=new Ur}}const io=tn.getInstance(),wi={context:to,diag:ro,metrics:no,propagation:oo,trace:io},Di=Object.freeze(Object.defineProperty({__proto__:null,DiagConsoleLogger:ko,get DiagLogLevel(){return we},INVALID_SPANID:Fr,INVALID_SPAN_CONTEXT:Va,INVALID_TRACEID:Wr,ProxyTracer:eo,ProxyTracerProvider:Ur,ROOT_CONTEXT:Xa,get SamplingDecision(){return Hr},get SpanKind(){return $r},get SpanStatusCode(){return qr},get TraceFlags(){return ot},get ValueType(){return jr},baggageEntryMetadataFromString:qo,context:to,createContextKey:Br,createNoopMeter:ni,createTraceState:bi,default:wi,defaultTextMapGetter:Wa,defaultTextMapSetter:Ya,diag:ro,isSpanContextValid:zr,isValidSpanId:Ja,isValidTraceId:Qa,metrics:no,propagation:oo,trace:io},Symbol.toStringTag,{value:"Module"})),mn=Co(Di);var yt={exports:{}},Rn;function Ii(){return Rn||(Rn=1,(()=>{var s={491:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ContextAPI=void 0;const n=t(223),l=t(172),c=t(930),r="context",f=new n.NoopContextManager;class d{constructor(){}static getInstance(){return this._instance||(this._instance=new d),this._instance}setGlobalContextManager(R){return(0,l.registerGlobal)(r,R,c.DiagAPI.instance())}active(){return this._getContextManager().active()}with(R,v,g,..._){return this._getContextManager().with(R,v,g,..._)}bind(R,v){return this._getContextManager().bind(R,v)}_getContextManager(){return(0,l.getGlobal)(r)||f}disable(){this._getContextManager().disable(),(0,l.unregisterGlobal)(r,c.DiagAPI.instance())}}e.ContextAPI=d},930:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DiagAPI=void 0;const n=t(56),l=t(912),c=t(957),r=t(172),f="diag";class d{constructor(){function R(_){return function(...y){const P=(0,r.getGlobal)("diag");if(P)return P[_](...y)}}const v=this,g=(_,y={logLevel:c.DiagLogLevel.INFO})=>{var P,I,p;if(_===v){const C=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return v.error((P=C.stack)!==null&&P!==void 0?P:C.message),!1}typeof y=="number"&&(y={logLevel:y});const N=(0,r.getGlobal)("diag"),b=(0,l.createLogLevelDiagLogger)((I=y.logLevel)!==null&&I!==void 0?I:c.DiagLogLevel.INFO,_);if(N&&!y.suppressOverrideMessage){const C=(p=new Error().stack)!==null&&p!==void 0?p:"<failed to generate stacktrace>";N.warn(`Current logger will be overwritten from ${C}`),b.warn(`Current logger will overwrite one already registered from ${C}`)}return(0,r.registerGlobal)("diag",b,v,!0)};v.setLogger=g,v.disable=()=>{(0,r.unregisterGlobal)(f,v)},v.createComponentLogger=_=>new n.DiagComponentLogger(_),v.verbose=R("verbose"),v.debug=R("debug"),v.info=R("info"),v.warn=R("warn"),v.error=R("error")}static instance(){return this._instance||(this._instance=new d),this._instance}}e.DiagAPI=d},653:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MetricsAPI=void 0;const n=t(660),l=t(172),c=t(930),r="metrics";class f{constructor(){}static getInstance(){return this._instance||(this._instance=new f),this._instance}setGlobalMeterProvider(E){return(0,l.registerGlobal)(r,E,c.DiagAPI.instance())}getMeterProvider(){return(0,l.getGlobal)(r)||n.NOOP_METER_PROVIDER}getMeter(E,R,v){return this.getMeterProvider().getMeter(E,R,v)}disable(){(0,l.unregisterGlobal)(r,c.DiagAPI.instance())}}e.MetricsAPI=f},181:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PropagationAPI=void 0;const n=t(172),l=t(874),c=t(194),r=t(277),f=t(369),d=t(930),E="propagation",R=new l.NoopTextMapPropagator;class v{constructor(){this.createBaggage=f.createBaggage,this.getBaggage=r.getBaggage,this.getActiveBaggage=r.getActiveBaggage,this.setBaggage=r.setBaggage,this.deleteBaggage=r.deleteBaggage}static getInstance(){return this._instance||(this._instance=new v),this._instance}setGlobalPropagator(_){return(0,n.registerGlobal)(E,_,d.DiagAPI.instance())}inject(_,y,P=c.defaultTextMapSetter){return this._getGlobalPropagator().inject(_,y,P)}extract(_,y,P=c.defaultTextMapGetter){return this._getGlobalPropagator().extract(_,y,P)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(E,d.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(E)||R}}e.PropagationAPI=v},997:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TraceAPI=void 0;const n=t(172),l=t(846),c=t(139),r=t(607),f=t(930),d="trace";class E{constructor(){this._proxyTracerProvider=new l.ProxyTracerProvider,this.wrapSpanContext=c.wrapSpanContext,this.isSpanContextValid=c.isSpanContextValid,this.deleteSpan=r.deleteSpan,this.getSpan=r.getSpan,this.getActiveSpan=r.getActiveSpan,this.getSpanContext=r.getSpanContext,this.setSpan=r.setSpan,this.setSpanContext=r.setSpanContext}static getInstance(){return this._instance||(this._instance=new E),this._instance}setGlobalTracerProvider(v){const g=(0,n.registerGlobal)(d,this._proxyTracerProvider,f.DiagAPI.instance());return g&&this._proxyTracerProvider.setDelegate(v),g}getTracerProvider(){return(0,n.getGlobal)(d)||this._proxyTracerProvider}getTracer(v,g){return this.getTracerProvider().getTracer(v,g)}disable(){(0,n.unregisterGlobal)(d,f.DiagAPI.instance()),this._proxyTracerProvider=new l.ProxyTracerProvider}}e.TraceAPI=E},277:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.deleteBaggage=e.setBaggage=e.getActiveBaggage=e.getBaggage=void 0;const n=t(491),c=(0,t(780).createContextKey)("OpenTelemetry Baggage Key");function r(R){return R.getValue(c)||void 0}e.getBaggage=r;function f(){return r(n.ContextAPI.getInstance().active())}e.getActiveBaggage=f;function d(R,v){return R.setValue(c,v)}e.setBaggage=d;function E(R){return R.deleteValue(c)}e.deleteBaggage=E},993:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BaggageImpl=void 0;class t{constructor(l){this._entries=l?new Map(l):new Map}getEntry(l){const c=this._entries.get(l);if(c)return Object.assign({},c)}getAllEntries(){return Array.from(this._entries.entries()).map((([l,c])=>[l,c]))}setEntry(l,c){const r=new t(this._entries);return r._entries.set(l,c),r}removeEntry(l){const c=new t(this._entries);return c._entries.delete(l),c}removeEntries(...l){const c=new t(this._entries);for(const r of l)c._entries.delete(r);return c}clear(){return new t}}e.BaggageImpl=t},830:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.baggageEntryMetadataSymbol=void 0,e.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.baggageEntryMetadataFromString=e.createBaggage=void 0;const n=t(930),l=t(993),c=t(830),r=n.DiagAPI.instance();function f(E={}){return new l.BaggageImpl(new Map(Object.entries(E)))}e.createBaggage=f;function d(E){return typeof E!="string"&&(r.error(`Cannot create baggage metadata from unknown type: ${typeof E}`),E=""),{__TYPE__:c.baggageEntryMetadataSymbol,toString(){return E}}}e.baggageEntryMetadataFromString=d},67:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.context=void 0;const n=t(491);e.context=n.ContextAPI.getInstance()},223:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NoopContextManager=void 0;const n=t(780);class l{active(){return n.ROOT_CONTEXT}with(r,f,d,...E){return f.call(d,...E)}bind(r,f){return f}enable(){return this}disable(){return this}}e.NoopContextManager=l},780:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONTEXT=e.createContextKey=void 0;function t(l){return Symbol.for(l)}e.createContextKey=t;class n{constructor(c){const r=this;r._currentContext=c?new Map(c):new Map,r.getValue=f=>r._currentContext.get(f),r.setValue=(f,d)=>{const E=new n(r._currentContext);return E._currentContext.set(f,d),E},r.deleteValue=f=>{const d=new n(r._currentContext);return d._currentContext.delete(f),d}}}e.ROOT_CONTEXT=new n},506:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diag=void 0;const n=t(930);e.diag=n.DiagAPI.instance()},56:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DiagComponentLogger=void 0;const n=t(172);class l{constructor(f){this._namespace=f.namespace||"DiagComponentLogger"}debug(...f){return c("debug",this._namespace,f)}error(...f){return c("error",this._namespace,f)}info(...f){return c("info",this._namespace,f)}warn(...f){return c("warn",this._namespace,f)}verbose(...f){return c("verbose",this._namespace,f)}}e.DiagComponentLogger=l;function c(r,f,d){const E=(0,n.getGlobal)("diag");if(E)return d.unshift(f),E[r](...d)}},972:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DiagConsoleLogger=void 0;const t=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class n{constructor(){function c(r){return function(...f){if(console){let d=console[r];if(typeof d!="function"&&(d=console.log),typeof d=="function")return d.apply(console,f)}}}for(let r=0;r<t.length;r++)this[t[r].n]=c(t[r].c)}}e.DiagConsoleLogger=n},912:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createLogLevelDiagLogger=void 0;const n=t(957);function l(c,r){c<n.DiagLogLevel.NONE?c=n.DiagLogLevel.NONE:c>n.DiagLogLevel.ALL&&(c=n.DiagLogLevel.ALL),r=r||{};function f(d,E){const R=r[d];return typeof R=="function"&&c>=E?R.bind(r):function(){}}return{error:f("error",n.DiagLogLevel.ERROR),warn:f("warn",n.DiagLogLevel.WARN),info:f("info",n.DiagLogLevel.INFO),debug:f("debug",n.DiagLogLevel.DEBUG),verbose:f("verbose",n.DiagLogLevel.VERBOSE)}}e.createLogLevelDiagLogger=l},957:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DiagLogLevel=void 0,(function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})(e.DiagLogLevel||(e.DiagLogLevel={}))},172:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.unregisterGlobal=e.getGlobal=e.registerGlobal=void 0;const n=t(200),l=t(521),c=t(130),r=l.VERSION.split(".")[0],f=Symbol.for(`opentelemetry.js.api.${r}`),d=n._globalThis;function E(g,_,y,P=!1){var I;const p=d[f]=(I=d[f])!==null&&I!==void 0?I:{version:l.VERSION};if(!P&&p[g]){const N=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${g}`);return y.error(N.stack||N.message),!1}if(p.version!==l.VERSION){const N=new Error(`@opentelemetry/api: Registration of version v${p.version} for ${g} does not match previously registered API v${l.VERSION}`);return y.error(N.stack||N.message),!1}return p[g]=_,y.debug(`@opentelemetry/api: Registered a global for ${g} v${l.VERSION}.`),!0}e.registerGlobal=E;function R(g){var _,y;const P=(_=d[f])===null||_===void 0?void 0:_.version;if(!(!P||!(0,c.isCompatible)(P)))return(y=d[f])===null||y===void 0?void 0:y[g]}e.getGlobal=R;function v(g,_){_.debug(`@opentelemetry/api: Unregistering a global for ${g} v${l.VERSION}.`);const y=d[f];y&&delete y[g]}e.unregisterGlobal=v},130:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isCompatible=e._makeCompatibilityCheck=void 0;const n=t(521),l=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function c(r){const f=new Set([r]),d=new Set,E=r.match(l);if(!E)return()=>!1;const R={major:+E[1],minor:+E[2],patch:+E[3],prerelease:E[4]};if(R.prerelease!=null)return function(y){return y===r};function v(_){return d.add(_),!1}function g(_){return f.add(_),!0}return function(y){if(f.has(y))return!0;if(d.has(y))return!1;const P=y.match(l);if(!P)return v(y);const I={major:+P[1],minor:+P[2],patch:+P[3],prerelease:P[4]};return I.prerelease!=null||R.major!==I.major?v(y):R.major===0?R.minor===I.minor&&R.patch<=I.patch?g(y):v(y):R.minor<=I.minor?g(y):v(y)}}e._makeCompatibilityCheck=c,e.isCompatible=c(n.VERSION)},886:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.metrics=void 0;const n=t(653);e.metrics=n.MetricsAPI.getInstance()},901:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ValueType=void 0,(function(t){t[t.INT=0]="INT",t[t.DOUBLE=1]="DOUBLE"})(e.ValueType||(e.ValueType={}))},102:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createNoopMeter=e.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=e.NOOP_OBSERVABLE_GAUGE_METRIC=e.NOOP_OBSERVABLE_COUNTER_METRIC=e.NOOP_UP_DOWN_COUNTER_METRIC=e.NOOP_HISTOGRAM_METRIC=e.NOOP_COUNTER_METRIC=e.NOOP_METER=e.NoopObservableUpDownCounterMetric=e.NoopObservableGaugeMetric=e.NoopObservableCounterMetric=e.NoopObservableMetric=e.NoopHistogramMetric=e.NoopUpDownCounterMetric=e.NoopCounterMetric=e.NoopMetric=e.NoopMeter=void 0;class t{constructor(){}createHistogram(_,y){return e.NOOP_HISTOGRAM_METRIC}createCounter(_,y){return e.NOOP_COUNTER_METRIC}createUpDownCounter(_,y){return e.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(_,y){return e.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(_,y){return e.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(_,y){return e.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(_,y){}removeBatchObservableCallback(_){}}e.NoopMeter=t;class n{}e.NoopMetric=n;class l extends n{add(_,y){}}e.NoopCounterMetric=l;class c extends n{add(_,y){}}e.NoopUpDownCounterMetric=c;class r extends n{record(_,y){}}e.NoopHistogramMetric=r;class f{addCallback(_){}removeCallback(_){}}e.NoopObservableMetric=f;class d extends f{}e.NoopObservableCounterMetric=d;class E extends f{}e.NoopObservableGaugeMetric=E;class R extends f{}e.NoopObservableUpDownCounterMetric=R,e.NOOP_METER=new t,e.NOOP_COUNTER_METRIC=new l,e.NOOP_HISTOGRAM_METRIC=new r,e.NOOP_UP_DOWN_COUNTER_METRIC=new c,e.NOOP_OBSERVABLE_COUNTER_METRIC=new d,e.NOOP_OBSERVABLE_GAUGE_METRIC=new E,e.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new R;function v(){return e.NOOP_METER}e.createNoopMeter=v},660:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NOOP_METER_PROVIDER=e.NoopMeterProvider=void 0;const n=t(102);class l{getMeter(r,f,d){return n.NOOP_METER}}e.NoopMeterProvider=l,e.NOOP_METER_PROVIDER=new l},200:function(o,e,t){var n=this&&this.__createBinding||(Object.create?function(c,r,f,d){d===void 0&&(d=f),Object.defineProperty(c,d,{enumerable:!0,get:function(){return r[f]}})}:function(c,r,f,d){d===void 0&&(d=f),c[d]=r[f]}),l=this&&this.__exportStar||function(c,r){for(var f in c)f!=="default"&&!Object.prototype.hasOwnProperty.call(r,f)&&n(r,c,f)};Object.defineProperty(e,"__esModule",{value:!0}),l(t(46),e)},651:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e._globalThis=void 0,e._globalThis=typeof globalThis=="object"?globalThis:No},46:function(o,e,t){var n=this&&this.__createBinding||(Object.create?function(c,r,f,d){d===void 0&&(d=f),Object.defineProperty(c,d,{enumerable:!0,get:function(){return r[f]}})}:function(c,r,f,d){d===void 0&&(d=f),c[d]=r[f]}),l=this&&this.__exportStar||function(c,r){for(var f in c)f!=="default"&&!Object.prototype.hasOwnProperty.call(r,f)&&n(r,c,f)};Object.defineProperty(e,"__esModule",{value:!0}),l(t(651),e)},939:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.propagation=void 0;const n=t(181);e.propagation=n.PropagationAPI.getInstance()},874:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NoopTextMapPropagator=void 0;class t{inject(l,c){}extract(l,c){return l}fields(){return[]}}e.NoopTextMapPropagator=t},194:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultTextMapSetter=e.defaultTextMapGetter=void 0,e.defaultTextMapGetter={get(t,n){if(t!=null)return t[n]},keys(t){return t==null?[]:Object.keys(t)}},e.defaultTextMapSetter={set(t,n,l){t!=null&&(t[n]=l)}}},845:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.trace=void 0;const n=t(997);e.trace=n.TraceAPI.getInstance()},403:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NonRecordingSpan=void 0;const n=t(476);class l{constructor(r=n.INVALID_SPAN_CONTEXT){this._spanContext=r}spanContext(){return this._spanContext}setAttribute(r,f){return this}setAttributes(r){return this}addEvent(r,f){return this}setStatus(r){return this}updateName(r){return this}end(r){}isRecording(){return!1}recordException(r,f){}}e.NonRecordingSpan=l},614:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NoopTracer=void 0;const n=t(491),l=t(607),c=t(403),r=t(139),f=n.ContextAPI.getInstance();class d{startSpan(v,g,_=f.active()){if(!!g?.root)return new c.NonRecordingSpan;const P=_&&(0,l.getSpanContext)(_);return E(P)&&(0,r.isSpanContextValid)(P)?new c.NonRecordingSpan(P):new c.NonRecordingSpan}startActiveSpan(v,g,_,y){let P,I,p;if(arguments.length<2)return;arguments.length===2?p=g:arguments.length===3?(P=g,p=_):(P=g,I=_,p=y);const N=I??f.active(),b=this.startSpan(v,P,N),C=(0,l.setSpan)(N,b);return f.with(C,p,void 0,b)}}e.NoopTracer=d;function E(R){return typeof R=="object"&&typeof R.spanId=="string"&&typeof R.traceId=="string"&&typeof R.traceFlags=="number"}},124:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NoopTracerProvider=void 0;const n=t(614);class l{getTracer(r,f,d){return new n.NoopTracer}}e.NoopTracerProvider=l},125:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyTracer=void 0;const n=t(614),l=new n.NoopTracer;class c{constructor(f,d,E,R){this._provider=f,this.name=d,this.version=E,this.options=R}startSpan(f,d,E){return this._getTracer().startSpan(f,d,E)}startActiveSpan(f,d,E,R){const v=this._getTracer();return Reflect.apply(v.startActiveSpan,v,arguments)}_getTracer(){if(this._delegate)return this._delegate;const f=this._provider.getDelegateTracer(this.name,this.version,this.options);return f?(this._delegate=f,this._delegate):l}}e.ProxyTracer=c},846:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyTracerProvider=void 0;const n=t(125),l=t(124),c=new l.NoopTracerProvider;class r{getTracer(d,E,R){var v;return(v=this.getDelegateTracer(d,E,R))!==null&&v!==void 0?v:new n.ProxyTracer(this,d,E,R)}getDelegate(){var d;return(d=this._delegate)!==null&&d!==void 0?d:c}setDelegate(d){this._delegate=d}getDelegateTracer(d,E,R){var v;return(v=this._delegate)===null||v===void 0?void 0:v.getTracer(d,E,R)}}e.ProxyTracerProvider=r},996:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SamplingDecision=void 0,(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(e.SamplingDecision||(e.SamplingDecision={}))},607:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getSpanContext=e.setSpanContext=e.deleteSpan=e.setSpan=e.getActiveSpan=e.getSpan=void 0;const n=t(780),l=t(403),c=t(491),r=(0,n.createContextKey)("OpenTelemetry Context Key SPAN");function f(_){return _.getValue(r)||void 0}e.getSpan=f;function d(){return f(c.ContextAPI.getInstance().active())}e.getActiveSpan=d;function E(_,y){return _.setValue(r,y)}e.setSpan=E;function R(_){return _.deleteValue(r)}e.deleteSpan=R;function v(_,y){return E(_,new l.NonRecordingSpan(y))}e.setSpanContext=v;function g(_){var y;return(y=f(_))===null||y===void 0?void 0:y.spanContext()}e.getSpanContext=g},325:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TraceStateImpl=void 0;const n=t(564),l=32,c=512,r=",",f="=";class d{constructor(R){this._internalState=new Map,R&&this._parse(R)}set(R,v){const g=this._clone();return g._internalState.has(R)&&g._internalState.delete(R),g._internalState.set(R,v),g}unset(R){const v=this._clone();return v._internalState.delete(R),v}get(R){return this._internalState.get(R)}serialize(){return this._keys().reduce(((R,v)=>(R.push(v+f+this.get(v)),R)),[]).join(r)}_parse(R){R.length>c||(this._internalState=R.split(r).reverse().reduce(((v,g)=>{const _=g.trim(),y=_.indexOf(f);if(y!==-1){const P=_.slice(0,y),I=_.slice(y+1,g.length);(0,n.validateKey)(P)&&(0,n.validateValue)(I)&&v.set(P,I)}return v}),new Map),this._internalState.size>l&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,l))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const R=new d;return R._internalState=new Map(this._internalState),R}}e.TraceStateImpl=d},564:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateValue=e.validateKey=void 0;const t="[_0-9a-z-*/]",n=`[a-z]${t}{0,255}`,l=`[a-z0-9]${t}{0,240}@[a-z]${t}{0,13}`,c=new RegExp(`^(?:${n}|${l})$`),r=/^[ -~]{0,255}[!-~]$/,f=/,|=/;function d(R){return c.test(R)}e.validateKey=d;function E(R){return r.test(R)&&!f.test(R)}e.validateValue=E},98:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createTraceState=void 0;const n=t(325);function l(c){return new n.TraceStateImpl(c)}e.createTraceState=l},476:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=void 0;const n=t(475);e.INVALID_SPANID="0000000000000000",e.INVALID_TRACEID="00000000000000000000000000000000",e.INVALID_SPAN_CONTEXT={traceId:e.INVALID_TRACEID,spanId:e.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SpanKind=void 0,(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})(e.SpanKind||(e.SpanKind={}))},139:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.wrapSpanContext=e.isSpanContextValid=e.isValidSpanId=e.isValidTraceId=void 0;const n=t(476),l=t(403),c=/^([0-9a-f]{32})$/i,r=/^[0-9a-f]{16}$/i;function f(v){return c.test(v)&&v!==n.INVALID_TRACEID}e.isValidTraceId=f;function d(v){return r.test(v)&&v!==n.INVALID_SPANID}e.isValidSpanId=d;function E(v){return f(v.traceId)&&d(v.spanId)}e.isSpanContextValid=E;function R(v){return new l.NonRecordingSpan(v)}e.wrapSpanContext=R},847:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SpanStatusCode=void 0,(function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})(e.SpanStatusCode||(e.SpanStatusCode={}))},475:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TraceFlags=void 0,(function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})(e.TraceFlags||(e.TraceFlags={}))},521:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,e.VERSION="1.6.0"}},a={};function i(o){var e=a[o];if(e!==void 0)return e.exports;var t=a[o]={exports:{}},n=!0;try{s[o].call(t.exports,t,t.exports,i),n=!1}finally{n&&delete a[o]}return t.exports}typeof i<"u"&&(i.ab=__dirname+"/");var h={};(()=>{var o=h;Object.defineProperty(o,"__esModule",{value:!0}),o.trace=o.propagation=o.metrics=o.diag=o.context=o.INVALID_SPAN_CONTEXT=o.INVALID_TRACEID=o.INVALID_SPANID=o.isValidSpanId=o.isValidTraceId=o.isSpanContextValid=o.createTraceState=o.TraceFlags=o.SpanStatusCode=o.SpanKind=o.SamplingDecision=o.ProxyTracerProvider=o.ProxyTracer=o.defaultTextMapSetter=o.defaultTextMapGetter=o.ValueType=o.createNoopMeter=o.DiagLogLevel=o.DiagConsoleLogger=o.ROOT_CONTEXT=o.createContextKey=o.baggageEntryMetadataFromString=void 0;var e=i(369);Object.defineProperty(o,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var t=i(780);Object.defineProperty(o,"createContextKey",{enumerable:!0,get:function(){return t.createContextKey}}),Object.defineProperty(o,"ROOT_CONTEXT",{enumerable:!0,get:function(){return t.ROOT_CONTEXT}});var n=i(972);Object.defineProperty(o,"DiagConsoleLogger",{enumerable:!0,get:function(){return n.DiagConsoleLogger}});var l=i(957);Object.defineProperty(o,"DiagLogLevel",{enumerable:!0,get:function(){return l.DiagLogLevel}});var c=i(102);Object.defineProperty(o,"createNoopMeter",{enumerable:!0,get:function(){return c.createNoopMeter}});var r=i(901);Object.defineProperty(o,"ValueType",{enumerable:!0,get:function(){return r.ValueType}});var f=i(194);Object.defineProperty(o,"defaultTextMapGetter",{enumerable:!0,get:function(){return f.defaultTextMapGetter}}),Object.defineProperty(o,"defaultTextMapSetter",{enumerable:!0,get:function(){return f.defaultTextMapSetter}});var d=i(125);Object.defineProperty(o,"ProxyTracer",{enumerable:!0,get:function(){return d.ProxyTracer}});var E=i(846);Object.defineProperty(o,"ProxyTracerProvider",{enumerable:!0,get:function(){return E.ProxyTracerProvider}});var R=i(996);Object.defineProperty(o,"SamplingDecision",{enumerable:!0,get:function(){return R.SamplingDecision}});var v=i(357);Object.defineProperty(o,"SpanKind",{enumerable:!0,get:function(){return v.SpanKind}});var g=i(847);Object.defineProperty(o,"SpanStatusCode",{enumerable:!0,get:function(){return g.SpanStatusCode}});var _=i(475);Object.defineProperty(o,"TraceFlags",{enumerable:!0,get:function(){return _.TraceFlags}});var y=i(98);Object.defineProperty(o,"createTraceState",{enumerable:!0,get:function(){return y.createTraceState}});var P=i(139);Object.defineProperty(o,"isSpanContextValid",{enumerable:!0,get:function(){return P.isSpanContextValid}}),Object.defineProperty(o,"isValidTraceId",{enumerable:!0,get:function(){return P.isValidTraceId}}),Object.defineProperty(o,"isValidSpanId",{enumerable:!0,get:function(){return P.isValidSpanId}});var I=i(476);Object.defineProperty(o,"INVALID_SPANID",{enumerable:!0,get:function(){return I.INVALID_SPANID}}),Object.defineProperty(o,"INVALID_TRACEID",{enumerable:!0,get:function(){return I.INVALID_TRACEID}}),Object.defineProperty(o,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return I.INVALID_SPAN_CONTEXT}});const p=i(67);Object.defineProperty(o,"context",{enumerable:!0,get:function(){return p.context}});const N=i(506);Object.defineProperty(o,"diag",{enumerable:!0,get:function(){return N.diag}});const b=i(886);Object.defineProperty(o,"metrics",{enumerable:!0,get:function(){return b.metrics}});const C=i(939);Object.defineProperty(o,"propagation",{enumerable:!0,get:function(){return C.propagation}});const S=i(845);Object.defineProperty(o,"trace",{enumerable:!0,get:function(){return S.trace}}),o.default={context:p.context,diag:N.diag,metrics:b.metrics,propagation:C.propagation,trace:S.trace}})(),yt.exports=h})()),yt.exports}var vn;function rn(){return vn||(vn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(N,b){for(var C in b)Object.defineProperty(N,C,{enumerable:!0,get:b[C]})}a(s,{BubbledError:function(){return d},SpanKind:function(){return r},SpanStatusCode:function(){return c},getTracer:function(){return p},isBubbledError:function(){return E}});const i=it(),h=wo(),o=process.env.NEXT_OTEL_PERFORMANCE_PREFIX;let e;if(process.env.NEXT_RUNTIME==="edge")e=mn;else try{e=mn}catch{e=Ii()}const{context:t,propagation:n,trace:l,SpanStatusCode:c,SpanKind:r,ROOT_CONTEXT:f}=e;class d extends Error{constructor(b,C){super(),this.bubble=b,this.result=C}}function E(N){return typeof N!="object"||N===null?!1:N instanceof d}const R=(N,b)=>{E(b)&&b.bubble?N.setAttribute("next.bubble",!0):(b&&(N.recordException(b),N.setAttribute("error.type",b.name)),N.setStatus({code:c.ERROR,message:b?.message})),N.end()},v=new Map,g=e.createContextKey("next.rootSpanId");let _=0;const y=()=>_++,P={set(N,b,C){N.push({key:b,value:C})}};class I{getTracerInstance(){return l.getTracer("next.js","0.0.1")}getContext(){return t}getTracePropagationData(){const b=t.active(),C=[];return n.inject(b,C,P),C}getActiveScopeSpan(){return l.getSpan(t?.active())}withPropagatedContext(b,C,S,k=!1){const z=t.active();if(k){const ae=n.extract(f,b,S);if(l.getSpanContext(ae))return t.with(ae,C);const X=n.extract(z,b,S);return t.with(X,C)}if(l.getSpanContext(z))return C();const G=n.extract(z,b,S);return t.with(G,C)}trace(...b){const[C,S,k]=b,{fn:z,options:G}=typeof S=="function"?{fn:S,options:{}}:{fn:k,options:{...S}},ae=G.spanName??C;if(!i.NextVanillaSpanAllowlist.has(C)&&process.env.NEXT_OTEL_VERBOSE!=="1"||G.hideSpan)return z();let X=this.getSpanContext(G?.parentSpan??this.getActiveScopeSpan());X||(X=t?.active()??f);const Z=X.getValue(g),fe=typeof Z!="number"||!v.has(Z),pe=y();return G.attributes={"next.span_name":ae,"next.span_type":C,...G.attributes},t.with(X.setValue(g,pe),()=>this.getTracerInstance().startActiveSpan(ae,G,re=>{let ie;o&&C&&i.LogSpanAllowList.has(C)&&(ie="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0);let ve=!1;const m=()=>{ve||(ve=!0,v.delete(pe),ie&&performance.measure(`${o}:next-${(C.split(".").pop()||"").replace(/[A-Z]/g,w=>"-"+w.toLowerCase())}`,{start:ie,end:performance.now()}))};if(fe&&v.set(pe,new Map(Object.entries(G.attributes??{}))),z.length>1)try{return z(re,w=>R(re,w))}catch(w){throw R(re,w),w}finally{m()}try{const w=z(re);return(0,h.isThenable)(w)?w.then(Y=>(re.end(),Y)).catch(Y=>{throw R(re,Y),Y}).finally(m):(re.end(),m(),w)}catch(w){throw R(re,w),m(),w}}))}wrap(...b){const C=this,[S,k,z]=b.length===3?b:[b[0],{},b[1]];return!i.NextVanillaSpanAllowlist.has(S)&&process.env.NEXT_OTEL_VERBOSE!=="1"?z:function(){let G=k;typeof G=="function"&&typeof z=="function"&&(G=G.apply(this,arguments));const ae=arguments.length-1,X=arguments[ae];if(typeof X=="function"){const Z=C.getContext().bind(t.active(),X);return C.trace(S,G,(fe,pe)=>(arguments[ae]=function(re){return pe?.(re),Z.apply(this,arguments)},z.apply(this,arguments)))}else return C.trace(S,G,()=>z.apply(this,arguments))}}startSpan(...b){const[C,S]=b,k=this.getSpanContext(S?.parentSpan??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(C,S,k)}getSpanContext(b){return b?l.setSpan(t.active(),b):void 0}getRootSpanAttributes(){const b=t.active().getValue(g);return v.get(b)}setRootSpanAttribute(b,C){const S=t.active().getValue(g),k=v.get(S);k&&!k.has(b)&&k.set(b,C)}withSpan(b,C){const S=l.setSpan(t.active(),b);return t.with(S,C)}}const p=(()=>{const N=new I;return()=>N})()})(ht)),ht}var bt={},Je={exports:{}},ue={};var yn;function xi(){if(yn)return ue;yn=1;var s=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),e=Symbol.for("react.consumer"),t=Symbol.for("react.context"),n=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),r=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),d=Symbol.iterator;function E(m){return m===null||typeof m!="object"?null:(m=d&&m[d]||m["@@iterator"],typeof m=="function"?m:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,g={};function _(m,w,Y){this.props=m,this.context=w,this.refs=g,this.updater=Y||R}_.prototype.isReactComponent={},_.prototype.setState=function(m,w){if(typeof m!="object"&&typeof m!="function"&&m!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,m,w,"setState")},_.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function y(){}y.prototype=_.prototype;function P(m,w,Y){this.props=m,this.context=w,this.refs=g,this.updater=Y||R}var I=P.prototype=new y;I.constructor=P,v(I,_.prototype),I.isPureReactComponent=!0;var p=Array.isArray;function N(){}var b={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function S(m,w,Y){var U=Y.ref;return{$$typeof:s,type:m,key:w,ref:U!==void 0?U:null,props:Y}}function k(m,w){return S(m.type,w,m.props)}function z(m){return typeof m=="object"&&m!==null&&m.$$typeof===s}function G(m){var w={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(Y){return w[Y]})}var ae=/\/+/g;function X(m,w){return typeof m=="object"&&m!==null&&m.key!=null?G(""+m.key):w.toString(36)}function Z(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(N,N):(m.status="pending",m.then(function(w){m.status==="pending"&&(m.status="fulfilled",m.value=w)},function(w){m.status==="pending"&&(m.status="rejected",m.reason=w)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function fe(m,w,Y,U,H){var A=typeof m;(A==="undefined"||A==="boolean")&&(m=null);var M=!1;if(m===null)M=!0;else switch(A){case"bigint":case"string":case"number":M=!0;break;case"object":switch(m.$$typeof){case s:case a:M=!0;break;case r:return M=m._init,fe(M(m._payload),w,Y,U,H)}}if(M)return H=H(m),M=U===""?"."+X(m,0):U,p(H)?(Y="",M!=null&&(Y=M.replace(ae,"$&/")+"/"),fe(H,w,Y,"",function(B){return B})):H!=null&&(z(H)&&(H=k(H,Y+(H.key==null||m&&m.key===H.key?"":(""+H.key).replace(ae,"$&/")+"/")+M)),w.push(H)),1;M=0;var j=U===""?".":U+":";if(p(m))for(var D=0;D<m.length;D++)U=m[D],A=j+X(U,D),M+=fe(U,w,Y,A,H);else if(D=E(m),typeof D=="function")for(m=D.call(m),D=0;!(U=m.next()).done;)U=U.value,A=j+X(U,D++),M+=fe(U,w,Y,A,H);else if(A==="object"){if(typeof m.then=="function")return fe(Z(m),w,Y,U,H);throw w=String(m),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}return M}function pe(m,w,Y){if(m==null)return m;var U=[],H=0;return fe(m,U,"","",function(A){return w.call(Y,A,H++)}),U}function re(m){if(m._status===-1){var w=m._result;w=w(),w.then(function(Y){(m._status===0||m._status===-1)&&(m._status=1,m._result=Y)},function(Y){(m._status===0||m._status===-1)&&(m._status=2,m._result=Y)}),m._status===-1&&(m._status=0,m._result=w)}if(m._status===1)return m._result.default;throw m._result}var ie=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var w=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m=="object"&&m!==null&&typeof m.message=="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(w))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)},ve={map:pe,forEach:function(m,w,Y){pe(m,function(){w.apply(this,arguments)},Y)},count:function(m){var w=0;return pe(m,function(){w++}),w},toArray:function(m){return pe(m,function(w){return w})||[]},only:function(m){if(!z(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return ue.Activity=f,ue.Children=ve,ue.Component=_,ue.Fragment=i,ue.Profiler=o,ue.PureComponent=P,ue.StrictMode=h,ue.Suspense=l,ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,ue.__COMPILER_RUNTIME={__proto__:null,c:function(m){return b.H.useMemoCache(m)}},ue.cache=function(m){return function(){return m.apply(null,arguments)}},ue.cacheSignal=function(){return null},ue.cloneElement=function(m,w,Y){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var U=v({},m.props),H=m.key;if(w!=null)for(A in w.key!==void 0&&(H=""+w.key),w)!C.call(w,A)||A==="key"||A==="__self"||A==="__source"||A==="ref"&&w.ref===void 0||(U[A]=w[A]);var A=arguments.length-2;if(A===1)U.children=Y;else if(1<A){for(var M=Array(A),j=0;j<A;j++)M[j]=arguments[j+2];U.children=M}return S(m.type,H,U)},ue.createContext=function(m){return m={$$typeof:t,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:e,_context:m},m},ue.createElement=function(m,w,Y){var U,H={},A=null;if(w!=null)for(U in w.key!==void 0&&(A=""+w.key),w)C.call(w,U)&&U!=="key"&&U!=="__self"&&U!=="__source"&&(H[U]=w[U]);var M=arguments.length-2;if(M===1)H.children=Y;else if(1<M){for(var j=Array(M),D=0;D<M;D++)j[D]=arguments[D+2];H.children=j}if(m&&m.defaultProps)for(U in M=m.defaultProps,M)H[U]===void 0&&(H[U]=M[U]);return S(m,A,H)},ue.createRef=function(){return{current:null}},ue.forwardRef=function(m){return{$$typeof:n,render:m}},ue.isValidElement=z,ue.lazy=function(m){return{$$typeof:r,_payload:{_status:-1,_result:m},_init:re}},ue.memo=function(m,w){return{$$typeof:c,type:m,compare:w===void 0?null:w}},ue.startTransition=function(m){var w=b.T,Y={};b.T=Y;try{var U=m(),H=b.S;H!==null&&H(Y,U),typeof U=="object"&&U!==null&&typeof U.then=="function"&&U.then(N,ie)}catch(A){ie(A)}finally{w!==null&&Y.types!==null&&(w.types=Y.types),b.T=w}},ue.unstable_useCacheRefresh=function(){return b.H.useCacheRefresh()},ue.use=function(m){return b.H.use(m)},ue.useActionState=function(m,w,Y){return b.H.useActionState(m,w,Y)},ue.useCallback=function(m,w){return b.H.useCallback(m,w)},ue.useContext=function(m){return b.H.useContext(m)},ue.useDebugValue=function(){},ue.useDeferredValue=function(m,w){return b.H.useDeferredValue(m,w)},ue.useEffect=function(m,w){return b.H.useEffect(m,w)},ue.useEffectEvent=function(m){return b.H.useEffectEvent(m)},ue.useId=function(){return b.H.useId()},ue.useImperativeHandle=function(m,w,Y){return b.H.useImperativeHandle(m,w,Y)},ue.useInsertionEffect=function(m,w){return b.H.useInsertionEffect(m,w)},ue.useLayoutEffect=function(m,w){return b.H.useLayoutEffect(m,w)},ue.useMemo=function(m,w){return b.H.useMemo(m,w)},ue.useOptimistic=function(m,w){return b.H.useOptimistic(m,w)},ue.useReducer=function(m,w,Y){return b.H.useReducer(m,w,Y)},ue.useRef=function(m){return b.H.useRef(m)},ue.useState=function(m){return b.H.useState(m)},ue.useSyncExternalStore=function(m,w,Y){return b.H.useSyncExternalStore(m,w,Y)},ue.useTransition=function(){return b.H.useTransition()},ue.version="19.2.7",ue}var Ge={exports:{}};Ge.exports;var bn;function Mi(){return bn||(bn=1,(function(s,a){process.env.NODE_ENV!=="production"&&(function(){function i(u,O){Object.defineProperty(e.prototype,u,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",O[0],O[1])}})}function h(u){return u===null||typeof u!="object"?null:(u=de&&u[de]||u["@@iterator"],typeof u=="function"?u:null)}function o(u,O){u=(u=u.constructor)&&(u.displayName||u.name)||"ReactClass";var q=u+"."+O;V[q]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",O,u),V[q]=!0)}function e(u,O,q){this.props=u,this.context=O,this.refs=he,this.updater=q||F}function t(){}function n(u,O,q){this.props=u,this.context=O,this.refs=he,this.updater=q||F}function l(){}function c(u){return""+u}function r(u){try{c(u);var O=!1}catch{O=!0}if(O){O=console;var q=O.error,W=typeof Symbol=="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return q.call(O,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",W),c(u)}}function f(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===Ee?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case m:return"Fragment";case Y:return"Profiler";case w:return"StrictMode";case M:return"Suspense";case j:return"SuspenseList";case $:return"Activity"}if(typeof u=="object")switch(typeof u.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case ve:return"Portal";case H:return u.displayName||"Context";case U:return(u._context.displayName||"Context")+".Consumer";case A:var O=u.render;return u=u.displayName,u||(u=O.displayName||O.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case D:return O=u.displayName||null,O!==null?O:f(u.type)||"Memo";case B:O=u._payload,u=u._init;try{return f(u(O))}catch{}}return null}function d(u){if(u===m)return"<>";if(typeof u=="object"&&u!==null&&u.$$typeof===B)return"<...>";try{var O=f(u);return O?"<"+O+">":"<...>"}catch{return"<...>"}}function E(){var u=Q.A;return u===null?null:u.getOwner()}function R(){return Error("react-stack-top-frame")}function v(u){if(me.call(u,"key")){var O=Object.getOwnPropertyDescriptor(u,"key").get;if(O&&O.isReactWarning)return!1}return u.key!==void 0}function g(u,O){function q(){Ie||(Ie=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",O))}q.isReactWarning=!0,Object.defineProperty(u,"key",{get:q,configurable:!0})}function _(){var u=f(this.type);return T[u]||(T[u]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),u=this.props.ref,u!==void 0?u:null}function y(u,O,q,W,ne,K){var J=q.ref;return u={$$typeof:ie,type:u,key:O,props:q,_owner:W},(J!==void 0?J:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:_}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(u,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ne}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function P(u,O){return O=y(u.type,O,u.props,u._owner,u._debugStack,u._debugTask),u._store&&(O._store.validated=u._store.validated),O}function I(u){p(u)?u._store&&(u._store.validated=1):typeof u=="object"&&u!==null&&u.$$typeof===B&&(u._payload.status==="fulfilled"?p(u._payload.value)&&u._payload.value._store&&(u._payload.value._store.validated=1):u._store&&(u._store.validated=1))}function p(u){return typeof u=="object"&&u!==null&&u.$$typeof===ie}function N(u){var O={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function(q){return O[q]})}function b(u,O){return typeof u=="object"&&u!==null&&u.key!=null?(r(u.key),N(""+u.key)):O.toString(36)}function C(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(l,l):(u.status="pending",u.then(function(O){u.status==="pending"&&(u.status="fulfilled",u.value=O)},function(O){u.status==="pending"&&(u.status="rejected",u.reason=O)})),u.status){case"fulfilled":return u.value;case"rejected":throw u.reason}}throw u}function S(u,O,q,W,ne){var K=typeof u;(K==="undefined"||K==="boolean")&&(u=null);var J=!1;if(u===null)J=!0;else switch(K){case"bigint":case"string":case"number":J=!0;break;case"object":switch(u.$$typeof){case ie:case ve:J=!0;break;case B:return J=u._init,S(J(u._payload),O,q,W,ne)}}if(J){J=u,ne=ne(J);var se=W===""?"."+b(J,0):W;return _e(ne)?(q="",se!=null&&(q=se.replace(ce,"$&/")+"/"),S(ne,O,q,"",function(Re){return Re})):ne!=null&&(p(ne)&&(ne.key!=null&&(J&&J.key===ne.key||r(ne.key)),q=P(ne,q+(ne.key==null||J&&J.key===ne.key?"":(""+ne.key).replace(ce,"$&/")+"/")+se),W!==""&&J!=null&&p(J)&&J.key==null&&J._store&&!J._store.validated&&(q._store.validated=2),ne=q),O.push(ne)),1}if(J=0,se=W===""?".":W+":",_e(u))for(var te=0;te<u.length;te++)W=u[te],K=se+b(W,te),J+=S(W,O,q,K,ne);else if(te=h(u),typeof te=="function")for(te===u.entries&&(ee||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ee=!0),u=te.call(u),te=0;!(W=u.next()).done;)W=W.value,K=se+b(W,te++),J+=S(W,O,q,K,ne);else if(K==="object"){if(typeof u.then=="function")return S(C(u),O,q,W,ne);throw O=String(u),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.")}return J}function k(u,O,q){if(u==null)return u;var W=[],ne=0;return S(u,W,"","",function(K){return O.call(q,K,ne++)}),W}function z(u){if(u._status===-1){var O=u._ioInfo;O!=null&&(O.start=O.end=performance.now()),O=u._result;var q=O();if(q.then(function(ne){if(u._status===0||u._status===-1){u._status=1,u._result=ne;var K=u._ioInfo;K!=null&&(K.end=performance.now()),q.status===void 0&&(q.status="fulfilled",q.value=ne)}},function(ne){if(u._status===0||u._status===-1){u._status=2,u._result=ne;var K=u._ioInfo;K!=null&&(K.end=performance.now()),q.status===void 0&&(q.status="rejected",q.reason=ne)}}),O=u._ioInfo,O!=null){O.value=q;var W=q.displayName;typeof W=="string"&&(O.name=W)}u._status===-1&&(u._status=0,u._result=q)}if(u._status===1)return O=u._result,O===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
-
3
- Your code should look like:
4
- const MyComponent = lazy(() => import('./MyComponent'))
5
-
6
- Did you accidentally put curly braces around the import?`,O),"default"in O||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
-
8
- Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,O),O.default;throw u._result}function G(){var u=Q.H;return u===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
- 2. You might be breaking the Rules of Hooks
12
- 3. You might have more than one copy of React in the same app
13
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),u}function ae(){Q.asyncTransitions--}function X(u){if(Oe===null)try{var O=("require"+Math.random()).slice(0,7);Oe=(s&&s[O]).call(s,"timers").setImmediate}catch{Oe=function(W){ye===!1&&(ye=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ne=new MessageChannel;ne.port1.onmessage=W,ne.port2.postMessage(void 0)}}return Oe(u)}function Z(u){return 1<u.length&&typeof AggregateError=="function"?new AggregateError(u):u[0]}function fe(u,O){O!==Te-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Te=O}function pe(u,O,q){var W=Q.actQueue;if(W!==null)if(W.length!==0)try{re(W),X(function(){return pe(u,O,q)});return}catch(ne){Q.thrownErrors.push(ne)}else Q.actQueue=null;0<Q.thrownErrors.length?(W=Z(Q.thrownErrors),Q.thrownErrors.length=0,q(W)):O(u)}function re(u){if(!Se){Se=!0;var O=0;try{for(;O<u.length;O++){var q=u[O];do{Q.didUsePromise=!1;var W=q(!1);if(W!==null){if(Q.didUsePromise){u[O]=q,u.splice(0,O);return}q=W}else break}while(!0)}u.length=0}catch(ne){u.splice(0,O+1),Q.thrownErrors.push(ne)}finally{Se=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ie=Symbol.for("react.transitional.element"),ve=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),H=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),$=Symbol.for("react.activity"),de=Symbol.iterator,V={},F={isMounted:function(){return!1},enqueueForceUpdate:function(u){o(u,"forceUpdate")},enqueueReplaceState:function(u){o(u,"replaceState")},enqueueSetState:function(u){o(u,"setState")}},ge=Object.assign,he={};Object.freeze(he),e.prototype.isReactComponent={},e.prototype.setState=function(u,O){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,O,"setState")},e.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};var oe={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Ce in oe)oe.hasOwnProperty(Ce)&&i(Ce,oe[Ce]);t.prototype=e.prototype,oe=n.prototype=new t,oe.constructor=n,ge(oe,e.prototype),oe.isPureReactComponent=!0;var _e=Array.isArray,Ee=Symbol.for("react.client.reference"),Q={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},me=Object.prototype.hasOwnProperty,Pe=console.createTask?console.createTask:function(){return null};oe={react_stack_bottom_frame:function(u){return u()}};var Ie,Me,T={},L=oe.react_stack_bottom_frame.bind(oe,R)(),x=Pe(d(R)),ee=!1,ce=/\/+/g,le=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var O=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(O))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)},ye=!1,Oe=null,Te=0,be=!1,Se=!1,Ae=typeof queueMicrotask=="function"?function(u){queueMicrotask(function(){return queueMicrotask(u)})}:X;oe=Object.freeze({__proto__:null,c:function(u){return G().useMemoCache(u)}});var Ce={map:k,forEach:function(u,O,q){k(u,function(){O.apply(this,arguments)},q)},count:function(u){var O=0;return k(u,function(){O++}),O},toArray:function(u){return k(u,function(O){return O})||[]},only:function(u){if(!p(u))throw Error("React.Children.only expected to receive a single React element child.");return u}};a.Activity=$,a.Children=Ce,a.Component=e,a.Fragment=m,a.Profiler=Y,a.PureComponent=n,a.StrictMode=w,a.Suspense=M,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,a.__COMPILER_RUNTIME=oe,a.act=function(u){var O=Q.actQueue,q=Te;Te++;var W=Q.actQueue=O!==null?O:[],ne=!1;try{var K=u()}catch(te){Q.thrownErrors.push(te)}if(0<Q.thrownErrors.length)throw fe(O,q),u=Z(Q.thrownErrors),Q.thrownErrors.length=0,u;if(K!==null&&typeof K=="object"&&typeof K.then=="function"){var J=K;return Ae(function(){ne||be||(be=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(te,Re){ne=!0,J.then(function(Ne){if(fe(O,q),q===0){try{re(W),X(function(){return pe(Ne,te,Re)})}catch(ut){Q.thrownErrors.push(ut)}if(0<Q.thrownErrors.length){var xe=Z(Q.thrownErrors);Q.thrownErrors.length=0,Re(xe)}}else te(Ne)},function(Ne){fe(O,q),0<Q.thrownErrors.length&&(Ne=Z(Q.thrownErrors),Q.thrownErrors.length=0),Re(Ne)})}}}var se=K;if(fe(O,q),q===0&&(re(W),W.length!==0&&Ae(function(){ne||be||(be=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Q.actQueue=null),0<Q.thrownErrors.length)throw u=Z(Q.thrownErrors),Q.thrownErrors.length=0,u;return{then:function(te,Re){ne=!0,q===0?(Q.actQueue=W,X(function(){return pe(se,te,Re)})):te(se)}}},a.cache=function(u){return function(){return u.apply(null,arguments)}},a.cacheSignal=function(){return null},a.captureOwnerStack=function(){var u=Q.getCurrentStack;return u===null?null:u()},a.cloneElement=function(u,O,q){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var W=ge({},u.props),ne=u.key,K=u._owner;if(O!=null){var J;e:{if(me.call(O,"ref")&&(J=Object.getOwnPropertyDescriptor(O,"ref").get)&&J.isReactWarning){J=!1;break e}J=O.ref!==void 0}J&&(K=E()),v(O)&&(r(O.key),ne=""+O.key);for(se in O)!me.call(O,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&O.ref===void 0||(W[se]=O[se])}var se=arguments.length-2;if(se===1)W.children=q;else if(1<se){J=Array(se);for(var te=0;te<se;te++)J[te]=arguments[te+2];W.children=J}for(W=y(u.type,ne,W,K,u._debugStack,u._debugTask),ne=2;ne<arguments.length;ne++)I(arguments[ne]);return W},a.createContext=function(u){return u={$$typeof:H,_currentValue:u,_currentValue2:u,_threadCount:0,Provider:null,Consumer:null},u.Provider=u,u.Consumer={$$typeof:U,_context:u},u._currentRenderer=null,u._currentRenderer2=null,u},a.createElement=function(u,O,q){for(var W=2;W<arguments.length;W++)I(arguments[W]);W={};var ne=null;if(O!=null)for(te in Me||!("__self"in O)||"key"in O||(Me=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),v(O)&&(r(O.key),ne=""+O.key),O)me.call(O,te)&&te!=="key"&&te!=="__self"&&te!=="__source"&&(W[te]=O[te]);var K=arguments.length-2;if(K===1)W.children=q;else if(1<K){for(var J=Array(K),se=0;se<K;se++)J[se]=arguments[se+2];Object.freeze&&Object.freeze(J),W.children=J}if(u&&u.defaultProps)for(te in K=u.defaultProps,K)W[te]===void 0&&(W[te]=K[te]);ne&&g(W,typeof u=="function"?u.displayName||u.name||"Unknown":u);var te=1e4>Q.recentlyCreatedOwnerStacks++;return y(u,ne,W,E(),te?Error("react-stack-top-frame"):L,te?Pe(d(u)):x)},a.createRef=function(){var u={current:null};return Object.seal(u),u},a.forwardRef=function(u){u!=null&&u.$$typeof===D?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof u!="function"?console.error("forwardRef requires a render function but was given %s.",u===null?"null":typeof u):u.length!==0&&u.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",u.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),u!=null&&u.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var O={$$typeof:A,render:u},q;return Object.defineProperty(O,"displayName",{enumerable:!1,configurable:!0,get:function(){return q},set:function(W){q=W,u.name||u.displayName||(Object.defineProperty(u,"name",{value:W}),u.displayName=W)}}),O},a.isValidElement=p,a.lazy=function(u){u={_status:-1,_result:u};var O={$$typeof:B,_payload:u,_init:z},q={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return u._ioInfo=q,O._debugInfo=[{awaited:q}],O},a.memo=function(u,O){u==null&&console.error("memo: The first argument must be a component. Instead received: %s",u===null?"null":typeof u),O={$$typeof:D,type:u,compare:O===void 0?null:O};var q;return Object.defineProperty(O,"displayName",{enumerable:!1,configurable:!0,get:function(){return q},set:function(W){q=W,u.name||u.displayName||(Object.defineProperty(u,"name",{value:W}),u.displayName=W)}}),O},a.startTransition=function(u){var O=Q.T,q={};q._updatedFibers=new Set,Q.T=q;try{var W=u(),ne=Q.S;ne!==null&&ne(q,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&(Q.asyncTransitions++,W.then(ae,ae),W.then(l,le))}catch(K){le(K)}finally{O===null&&q._updatedFibers&&(u=q._updatedFibers.size,q._updatedFibers.clear(),10<u&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),O!==null&&q.types!==null&&(O.types!==null&&O.types!==q.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),O.types=q.types),Q.T=O}},a.unstable_useCacheRefresh=function(){return G().useCacheRefresh()},a.use=function(u){return G().use(u)},a.useActionState=function(u,O,q){return G().useActionState(u,O,q)},a.useCallback=function(u,O){return G().useCallback(u,O)},a.useContext=function(u){var O=G();return u.$$typeof===U&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),O.useContext(u)},a.useDebugValue=function(u,O){return G().useDebugValue(u,O)},a.useDeferredValue=function(u,O){return G().useDeferredValue(u,O)},a.useEffect=function(u,O){return u==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),G().useEffect(u,O)},a.useEffectEvent=function(u){return G().useEffectEvent(u)},a.useId=function(){return G().useId()},a.useImperativeHandle=function(u,O,q){return G().useImperativeHandle(u,O,q)},a.useInsertionEffect=function(u,O){return u==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),G().useInsertionEffect(u,O)},a.useLayoutEffect=function(u,O){return u==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),G().useLayoutEffect(u,O)},a.useMemo=function(u,O){return G().useMemo(u,O)},a.useOptimistic=function(u,O){return G().useOptimistic(u,O)},a.useReducer=function(u,O,q){return G().useReducer(u,O,q)},a.useRef=function(u){return G().useRef(u)},a.useState=function(u){return G().useState(u)},a.useSyncExternalStore=function(u,O,q){return G().useSyncExternalStore(u,O,q)},a.useTransition=function(){return G().useTransition()},a.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Ge,Ge.exports)),Ge.exports}var Tn;function so(){return Tn||(Tn=1,process.env.NODE_ENV==="production"?Je.exports=xi():Je.exports=Mi()),Je.exports}var Ze={exports:{}},On;function uo(){return On||(On=1,(function(s,a){Object.defineProperty(a,"__esModule",{value:!0});function i(t,n){for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]})}i(a,{DynamicServerError:function(){return o},isDynamicServerError:function(){return e}});const h="DYNAMIC_SERVER_USAGE";class o extends Error{constructor(n){super(`Dynamic server usage: ${n}`),this.description=n,this.digest=h}}function e(t){return typeof t!="object"||t===null||!("digest"in t)||typeof t.digest!="string"?!1:t.digest===h}(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),s.exports=a.default)})(Ze,Ze.exports)),Ze.exports}var et={exports:{}},Sn;function Li(){return Sn||(Sn=1,(function(s,a){Object.defineProperty(a,"__esModule",{value:!0});function i(t,n){for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]})}i(a,{StaticGenBailoutError:function(){return o},isStaticGenBailoutError:function(){return e}});const h="NEXT_STATIC_GEN_BAILOUT";class o extends Error{constructor(...n){super(...n),this.code=h}}function e(t){return typeof t!="object"||t===null||!("code"in t)?!1:t.code===h}(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),s.exports=a.default)})(et,et.exports)),et.exports}var Tt={},Ot={},St={},Pn;function co(){return Pn||(Pn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(l,c){for(var r in c)Object.defineProperty(l,r,{enumerable:!0,get:c[r]})}a(s,{bindSnapshot:function(){return t},createAsyncLocalStorage:function(){return e},createSnapshot:function(){return n}});const i=Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class h{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(c){return c}}const o=typeof globalThis<"u"&&globalThis.AsyncLocalStorage;function e(){return o?new o:new h}function t(l){return o?o.bind(l):h.bind(l)}function n(){return o?o.snapshot():function(l,...c){return l(...c)}}})(St)),St}var An;function ji(){return An||(An=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return i}});const i=(0,co().createAsyncLocalStorage)()})(Ot)),Ot}var tt={exports:{}},Nn;function lo(){return Nn||(Nn=1,(function(s,a){Object.defineProperty(a,"__esModule",{value:!0});function i(S,k){for(var z in k)Object.defineProperty(S,z,{enumerable:!0,get:k[z]})}i(a,{ACTION_HEADER:function(){return o},FLIGHT_HEADERS:function(){return R},NEXT_ACTION_NOT_FOUND_HEADER:function(){return p},NEXT_ACTION_REVALIDATED_HEADER:function(){return C},NEXT_DID_POSTPONE_HEADER:function(){return _},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return c},NEXT_HMR_REFRESH_HEADER:function(){return l},NEXT_HTML_REQUEST_ID_HEADER:function(){return b},NEXT_INSTANT_PREFETCH_HEADER:function(){return d},NEXT_INSTANT_TEST_COOKIE:function(){return E},NEXT_IS_PRERENDER_HEADER:function(){return I},NEXT_REQUEST_ID_HEADER:function(){return N},NEXT_REWRITTEN_PATH_HEADER:function(){return y},NEXT_REWRITTEN_QUERY_HEADER:function(){return P},NEXT_ROUTER_PREFETCH_HEADER:function(){return t},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return n},NEXT_ROUTER_STALE_TIME_HEADER:function(){return g},NEXT_ROUTER_STATE_TREE_HEADER:function(){return e},NEXT_RSC_UNION_QUERY:function(){return v},NEXT_URL:function(){return r},RSC_CONTENT_TYPE_HEADER:function(){return f},RSC_HEADER:function(){return h}});const h="rsc",o="next-action",e="next-router-state-tree",t="next-router-prefetch",n="next-router-segment-prefetch",l="next-hmr-refresh",c="__next_hmr_refresh_hash__",r="next-url",f="text/x-component",d="next-instant-navigation-testing-prefetch",E="next-instant-navigation-testing",R=[h,e,t,l,n],v="_rsc",g="x-nextjs-stale-time",_="x-nextjs-postponed",y="x-nextjs-rewritten-path",P="x-nextjs-rewritten-query",I="x-nextjs-prerender",p="x-nextjs-action-not-found",N="x-nextjs-request-id",b="x-nextjs-html-request-id",C="x-action-revalidated";(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),s.exports=a.default)})(tt,tt.exports)),tt.exports}var Pt={},Cn;function Ue(){return Cn||(Cn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"InvariantError",{enumerable:!0,get:function(){return a}});class a extends Error{constructor(h,o){super(`Invariant: ${h.endsWith(".")?h:h+"."} This is a bug in Next.js.`,o),this.name="InvariantError"}}})(Pt)),Pt}var At={},Nt={},wn;function Ui(){return wn||(wn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"createPromiseWithResolvers",{enumerable:!0,get:function(){return a}});function a(){let i,h;const o=new Promise((e,t)=>{i=e,h=t});return{resolve:i,reject:h,promise:o}}})(Nt)),Nt}var Dn;function nn(){return Dn||(Dn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(l,c){for(var r in c)Object.defineProperty(l,r,{enumerable:!0,get:c[r]})}a(s,{RenderStage:function(){return o},StagedRenderingController:function(){return e}});const i=Ue(),h=Ui();var o=(function(l){return l[l.Before=1]="Before",l[l.EarlyStatic=2]="EarlyStatic",l[l.Static=3]="Static",l[l.EarlyRuntime=4]="EarlyRuntime",l[l.Runtime=5]="Runtime",l[l.Dynamic=6]="Dynamic",l[l.Abandoned=7]="Abandoned",l})({});class e{constructor(c,r,f){this.abortSignal=c,this.abandonController=r,this.shouldTrackSyncIO=f,this.currentStage=1,this.syncInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.staticStageListeners=[],this.earlyRuntimeStageListeners=[],this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.staticStagePromise=(0,h.createPromiseWithResolvers)(),this.earlyRuntimeStagePromise=(0,h.createPromiseWithResolvers)(),this.runtimeStagePromise=(0,h.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,h.createPromiseWithResolvers)(),c&&c.addEventListener("abort",()=>{const{reason:d}=c;this.staticStagePromise.promise.catch(t),this.staticStagePromise.reject(d),this.earlyRuntimeStagePromise.promise.catch(t),this.earlyRuntimeStagePromise.reject(d),this.runtimeStagePromise.promise.catch(t),this.runtimeStagePromise.reject(d),this.dynamicStagePromise.promise.catch(t),this.dynamicStagePromise.reject(d)},{once:!0}),r&&r.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(c,r){if(this.currentStage>=c)r();else if(c===3)this.staticStageListeners.push(r);else if(c===4)this.earlyRuntimeStageListeners.push(r);else if(c===5)this.runtimeStageListeners.push(r);else if(c===6)this.dynamicStageListeners.push(r);else throw Object.defineProperty(new i.InvariantError(`Invalid render stage: ${c}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}shouldTrackSyncInterrupt(){if(!this.shouldTrackSyncIO)return!1;switch(this.currentStage){case 1:return!1;case 2:case 3:return!0;case 4:return!0;case 5:return!1;case 6:case 7:return!1;default:return!1}}syncInterruptCurrentStageWithReason(c){if(this.currentStage!==1&&this.currentStage!==7){if(this.abandonController){this.abandonController.abort();return}if(this.abortSignal){this.syncInterruptReason=c,this.currentStage=7;return}switch(this.currentStage){case 2:case 3:case 4:{this.syncInterruptReason=c,this.advanceStage(6);return}case 5:return}}}getSyncInterruptReason(){return this.syncInterruptReason}getStaticStageEndTime(){return this.staticStageEndTime}getRuntimeStageEndTime(){return this.runtimeStageEndTime}abandonRender(){const{currentStage:c}=this;switch(c){case 2:this.resolveStaticStage();case 3:this.resolveEarlyRuntimeStage();case 4:this.resolveRuntimeStage();case 5:{this.currentStage=7;return}}}advanceStage(c){if(c<=this.currentStage)return;let r=this.currentStage;if(this.currentStage=c,r<3&&c>=3&&this.resolveStaticStage(),r<4&&c>=4&&this.resolveEarlyRuntimeStage(),r<5&&c>=5&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),r<6&&c>=6){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveStaticStage(){const c=this.staticStageListeners;for(let r=0;r<c.length;r++)c[r]();c.length=0,this.staticStagePromise.resolve()}resolveEarlyRuntimeStage(){const c=this.earlyRuntimeStageListeners;for(let r=0;r<c.length;r++)c[r]();c.length=0,this.earlyRuntimeStagePromise.resolve()}resolveRuntimeStage(){const c=this.runtimeStageListeners;for(let r=0;r<c.length;r++)c[r]();c.length=0,this.runtimeStagePromise.resolve()}resolveDynamicStage(){const c=this.dynamicStageListeners;for(let r=0;r<c.length;r++)c[r]();c.length=0,this.dynamicStagePromise.resolve()}getStagePromise(c){switch(c){case 3:return this.staticStagePromise.promise;case 4:return this.earlyRuntimeStagePromise.promise;case 5:return this.runtimeStagePromise.promise;case 6:return this.dynamicStagePromise.promise;default:throw Object.defineProperty(new i.InvariantError(`Invalid render stage: ${c}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}}waitForStage(c){return this.getStagePromise(c)}delayUntilStage(c,r,f){const d=this.getStagePromise(c),E=n(d,r,f);return this.abortSignal&&E.catch(t),E}}function t(){}function n(l,c,r){const f=new Promise((d,E)=>{l.then(d.bind(null,r),E)});return c!==void 0&&(f.displayName=c),f}})(At)),At}var In;function He(){return In||(In=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(_,y){for(var P in y)Object.defineProperty(_,P,{enumerable:!0,get:y[P]})}a(s,{getCacheSignal:function(){return g},getDraftModeProviderForCacheScope:function(){return R},getHmrRefreshHash:function(){return f},getPrerenderResumeDataCache:function(){return c},getRenderResumeDataCache:function(){return r},getServerComponentsHmrCache:function(){return E},getStagedRenderingController:function(){return v},isHmrRefresh:function(){return d},isInEarlyRenderStage:function(){return t},throwForMissingRequestStore:function(){return n},throwInvariantForMissingStore:function(){return l},workUnitAsyncStorage:function(){return i.workUnitAsyncStorageInstance}});const i=ji(),h=lo(),o=Ue(),e=nn();function t(_){const y=_.stagedRendering;return y?y.currentStage===e.RenderStage.EarlyStatic||y.currentStage===e.RenderStage.EarlyRuntime:!1}function n(_){throw Object.defineProperty(new Error(`\`${_}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function l(){throw Object.defineProperty(new o.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function c(_){switch(_.type){case"prerender":case"prerender-runtime":case"prerender-ppr":return _.prerenderResumeDataCache;case"prerender-client":case"validation-client":return _.prerenderResumeDataCache;case"request":if(_.prerenderResumeDataCache)return _.prerenderResumeDataCache;case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return _}}function r(_){switch(_.type){case"request":case"prerender":case"prerender-runtime":case"prerender-client":case"validation-client":if(_.renderResumeDataCache)return _.renderResumeDataCache;case"prerender-ppr":return _.prerenderResumeDataCache??null;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":case"generate-static-params":return null;default:return _}}function f(_){if(process.env.__NEXT_DEV_SERVER)switch(_.type){case"cache":case"private-cache":case"prerender":case"prerender-runtime":return _.hmrRefreshHash;case"request":var y;return(y=_.cookies.get(h.NEXT_HMR_REFRESH_HASH_COOKIE))==null?void 0:y.value}}function d(_){if(process.env.__NEXT_DEV_SERVER)switch(_.type){case"cache":case"private-cache":case"request":return _.isHmrRefresh??!1}return!1}function E(_){if(process.env.__NEXT_DEV_SERVER)switch(_.type){case"cache":case"private-cache":case"request":return _.serverComponentsHmrCache}}function R(_,y){if(_.isDraftMode)switch(y.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return y.draftMode}}function v(_){switch(_.type){case"request":case"prerender-runtime":return _.stagedRendering??null;case"prerender":case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return _}}function g(_){switch(_.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return _.cacheSignal;case"request":if(_.cacheSignal)return _.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return _}}})(Tt)),Tt}var Ct={},wt={},xn;function Hi(){return xn||(xn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"workAsyncStorageInstance",{enumerable:!0,get:function(){return i}});const i=(0,co().createAsyncLocalStorage)()})(wt)),wt}var Mn;function Ke(){return Mn||(Mn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"workAsyncStorage",{enumerable:!0,get:function(){return a.workAsyncStorageInstance}});const a=Hi()})(Ct)),Ct}var Dt={},Ln;function fo(){return Ln||(Ln=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(d,E){for(var R in E)Object.defineProperty(d,R,{enumerable:!0,get:E[R]})}a(s,{delayUntilRuntimeStage:function(){return f},getRuntimeStage:function(){return r},isHangingPromiseRejectionError:function(){return h},makeDevtoolsIOAwarePromise:function(){return c},makeHangingPromise:function(){return n}});const i=nn();function h(d){return typeof d!="object"||d===null||!("digest"in d)?!1:d.digest===o}const o="HANGING_PROMISE_REJECTION";class e extends Error{constructor(E,R){super(`During prerendering, ${R} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${R} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${E}".`),this.route=E,this.expression=R,this.digest=o}}const t=new WeakMap;function n(d,E,R){if(d.aborted)return Promise.reject(new e(E,R));{const v=new Promise((g,_)=>{const y=_.bind(null,new e(E,R));let P=t.get(d);if(P)P.push(y);else{const I=[y];t.set(d,I),d.addEventListener("abort",()=>{for(let p=0;p<I.length;p++)I[p]()},{once:!0})}});return v.catch(l),v}}function l(){}function c(d,E,R){return E.stagedRendering?E.stagedRendering.delayUntilStage(R,void 0,d):new Promise(v=>{setTimeout(()=>{v(d)},0)})}function r(d){return d.currentStage===i.RenderStage.EarlyStatic||d.currentStage===i.RenderStage.EarlyRuntime?i.RenderStage.EarlyRuntime:i.RenderStage.Runtime}function f(d,E){const{stagedRendering:R}=d;return R?R.waitForStage(r(R)).then(()=>E):E}})(Dt)),Dt}var It={},jn;function $i(){return jn||(jn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(t,n){for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]})}a(s,{METADATA_BOUNDARY_NAME:function(){return i},OUTLET_BOUNDARY_NAME:function(){return o},ROOT_LAYOUT_BOUNDARY_NAME:function(){return e},VIEWPORT_BOUNDARY_NAME:function(){return h}});const i="__next_metadata_boundary__",h="__next_viewport_boundary__",o="__next_outlet_boundary__",e="__next_root_layout_boundary__"})(It)),It}var xt={},Un;function an(){return Un||(Un=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(t,n){for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]})}a(s,{atLeastOneTask:function(){return o},scheduleImmediate:function(){return h},scheduleOnNextTick:function(){return i},waitAtLeastOneReactRenderTask:function(){return e}});const i=t=>{Promise.resolve().then(()=>{process.env.NEXT_RUNTIME==="edge"?setTimeout(t,0):process.nextTick(t)})},h=t=>{process.env.NEXT_RUNTIME==="edge"?setTimeout(t,0):setImmediate(t)};function o(){return new Promise(t=>h(t))}function e(){return process.env.NEXT_RUNTIME==="edge"?new Promise(t=>setTimeout(t,0)):new Promise(t=>setImmediate(t))}})(xt)),xt}var Mt={},Hn;function qi(){return Hn||(Hn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}a(s,{BailoutToCSRError:function(){return h},isBailoutToCSRError:function(){return o}});const i="BAILOUT_TO_CLIENT_SIDE_RENDERING";class h extends Error{constructor(t){super(`Bail out to client-side rendering: ${t}`),this.reason=t,this.digest=i}}function o(e){return typeof e!="object"||e===null||!("digest"in e)?!1:e.digest===i}})(Mt)),Mt}var Lt={},$n;function ki(){return $n||($n=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"INSTANT_VALIDATION_BOUNDARY_NAME",{enumerable:!0,get:function(){return a}});const a="__next_instant_validation_boundary__"})(Lt)),Lt}var qn;function on(){return qn||(qn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(T,L){for(var x in L)Object.defineProperty(T,x,{enumerable:!0,get:L[x]})}a(s,{DynamicHoleKind:function(){return V},Postpone:function(){return C},PreludeState:function(){return Q},abortAndThrowOnSynchronousRequestDataAccess:function(){return b},abortOnSynchronousPlatformIOAccess:function(){return N},accessedDynamicData:function(){return fe},annotateDynamicAccess:function(){return w},consumeDynamicAccess:function(){return pe},createDynamicTrackingState:function(){return v},createDynamicValidationState:function(){return g},createHangingInputAbortSignal:function(){return m},createInstantValidationState:function(){return F},createRenderInBrowserAbortSignal:function(){return ve},formatDynamicAPIAccesses:function(){return re},getFirstDynamicReason:function(){return _},getNavigationDisallowedDynamicReasons:function(){return Me},getStaticShellDisallowedDynamicReasons:function(){return Ie},isDynamicPostpone:function(){return z},isPrerenderInterruptedError:function(){return Z},logDisallowedDynamicError:function(){return me},markCurrentScopeAsDynamic:function(){return y},postponeWithTracking:function(){return S},throwIfDisallowedDynamic:function(){return Pe},throwToInterruptStaticGeneration:function(){return P},trackAllowedDynamicAccess:function(){return de},trackDynamicDataInDynamicRender:function(){return I},trackDynamicHoleInNavigation:function(){return ge},trackDynamicHoleInRuntimeShell:function(){return oe},trackDynamicHoleInStaticShell:function(){return _e},trackThrownErrorInNavigation:function(){return he},useDynamicRouteParams:function(){return Y},useDynamicSearchParams:function(){return U}});const i=E(so()),h=uo(),o=Li(),e=He(),t=Ke(),n=fo(),l=$i(),c=an(),r=qi(),f=Ue(),d=ki();function E(T){return T&&T.__esModule?T:{default:T}}const R=typeof i.default.unstable_postpone=="function";function v(T){return{isDebugDynamicAccesses:T,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function g(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function _(T){var L;return(L=T.dynamicAccesses[0])==null?void 0:L.expression}function y(T,L,x){if(L)switch(L.type){case"cache":case"unstable-cache":return;case"private-cache":return}if(!(T.forceDynamic||T.forceStatic)){if(T.dynamicShouldError)throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${T.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${x}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(L)switch(L.type){case"prerender-ppr":return S(T.route,x,L.dynamicTracking);case"prerender-legacy":L.revalidate=0;const ee=Object.defineProperty(new h.DynamicServerError(`Route ${T.route} couldn't be rendered statically because it used ${x}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw T.dynamicUsageDescription=x,T.dynamicUsageStack=ee.stack,ee;case"request":process.env.NODE_ENV!=="production"&&(L.usedDynamic=!0);break}}}function P(T,L,x){const ee=Object.defineProperty(new h.DynamicServerError(`Route ${L.route} couldn't be rendered statically because it used \`${T}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw x.revalidate=0,L.dynamicUsageDescription=T,L.dynamicUsageStack=ee.stack,ee}function I(T){switch(T.type){case"cache":case"unstable-cache":return;case"private-cache":return;case"prerender":case"prerender-runtime":case"prerender-legacy":case"prerender-ppr":case"prerender-client":case"validation-client":case"generate-static-params":break;case"request":process.env.NODE_ENV!=="production"&&(T.usedDynamic=!0);break}}function p(T,L,x){const ee=`Route ${T} needs to bail out of prerendering at this point because it used ${L}.`,ce=X(ee);x.controller.abort(ce);const le=x.dynamicTracking;le&&le.dynamicAccesses.push({stack:le.isDebugDynamicAccesses?new Error().stack:void 0,expression:L})}function N(T,L,x,ee){const ce=ee.dynamicTracking;p(T,L,ee),ce&&ce.syncDynamicErrorWithStack===null&&(ce.syncDynamicErrorWithStack=x)}function b(T,L,x,ee){if(ee.controller.signal.aborted===!1){p(T,L,ee);const le=ee.dynamicTracking;le&&le.syncDynamicErrorWithStack===null&&(le.syncDynamicErrorWithStack=x)}throw X(`Route ${T} needs to bail out of prerendering at this point because it used ${L}.`)}function C({reason:T,route:L}){const x=e.workUnitAsyncStorage.getStore(),ee=x&&x.type==="prerender-ppr"?x.dynamicTracking:null;S(L,T,ee)}function S(T,L,x){ie(),x&&x.dynamicAccesses.push({stack:x.isDebugDynamicAccesses?new Error().stack:void 0,expression:L}),i.default.unstable_postpone(k(T,L))}function k(T,L){return`Route ${T} needs to bail out of prerendering at this point because it used ${L}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function z(T){return typeof T=="object"&&T!==null&&typeof T.message=="string"?G(T.message):!1}function G(T){return T.includes("needs to bail out of prerendering at this point because it used")&&T.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(G(k("%%%","^^^"))===!1)throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});const ae="NEXT_PRERENDER_INTERRUPTED";function X(T){const L=Object.defineProperty(new Error(T),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return L.digest=ae,L}function Z(T){return typeof T=="object"&&T!==null&&T.digest===ae&&"name"in T&&"message"in T&&T instanceof Error}function fe(T){return T.length>0}function pe(T,L){return T.dynamicAccesses.push(...L.dynamicAccesses),T.dynamicAccesses}function re(T){return T.filter(L=>typeof L.stack=="string"&&L.stack.length>0).map(({expression:L,stack:x})=>(x=x.split(`
14
- `).slice(4).filter(ee=>!(ee.includes("node_modules/next/")||ee.includes(" (<anonymous>)")||ee.includes(" (node:"))).join(`
15
- `),`Dynamic API Usage Debug - ${L}:
16
- ${x}`))}function ie(){if(!R)throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})}function ve(){const T=new AbortController;return T.abort(Object.defineProperty(new r.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),T.signal}function m(T){switch(T.type){case"prerender":case"prerender-runtime":const L=new AbortController;if(T.cacheSignal)T.cacheSignal.inputReady().then(()=>{L.abort()});else if(T.type==="prerender-runtime"&&T.stagedRendering){const{stagedRendering:x}=T;x.waitForStage((0,n.getRuntimeStage)(x)).then(()=>(0,c.scheduleOnNextTick)(()=>L.abort()))}else(0,c.scheduleOnNextTick)(()=>L.abort());return L.signal;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return}}function w(T,L){const x=L.dynamicTracking;x&&x.dynamicAccesses.push({stack:x.isDebugDynamicAccesses?new Error().stack:void 0,expression:T})}function Y(T){const L=t.workAsyncStorage.getStore(),x=e.workUnitAsyncStorage.getStore();if(L&&x)switch(x.type){case"prerender-client":case"prerender":{const ee=x.fallbackRouteParams;ee&&ee.size>0&&i.default.use((0,n.makeHangingPromise)(x.renderSignal,L.route,T));break}case"prerender-ppr":{const ee=x.fallbackRouteParams;if(ee&&ee.size>0)return S(L.route,T,x.dynamicTracking);break}case"validation-client":break;case"prerender-runtime":throw Object.defineProperty(new f.InvariantError(`\`${T}\` was called during a runtime prerender. Next.js should be preventing ${T} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new f.InvariantError(`\`${T}\` was called inside a cache scope. Next.js should be preventing ${T} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new f.InvariantError(`\`${T}\` was called in \`generateStaticParams\`. Next.js should be preventing ${T} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}function U(T){const L=t.workAsyncStorage.getStore(),x=e.workUnitAsyncStorage.getStore();if(L)switch(x||(0,e.throwForMissingRequestStore)(T),x.type){case"validation-client":return;case"prerender-client":{i.default.use((0,n.makeHangingPromise)(x.renderSignal,L.route,T));break}case"prerender-legacy":case"prerender-ppr":{if(L.forceStatic)return;throw Object.defineProperty(new r.BailoutToCSRError(T),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}case"prerender":case"prerender-runtime":throw Object.defineProperty(new f.InvariantError(`\`${T}\` was called from a Server Component. Next.js should be preventing ${T} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new f.InvariantError(`\`${T}\` was called inside a cache scope. Next.js should be preventing ${T} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new f.InvariantError(`\`${T}\` was called in \`generateStaticParams\`. Next.js should be preventing ${T} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0});case"request":return}}const H=/\n\s+at Suspense \(<anonymous>\)/,A="body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6",M=new RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:${A}) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ${l.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),j=new RegExp(`\\n\\s+at ${l.METADATA_BOUNDARY_NAME}[\\n\\s]`),D=new RegExp(`\\n\\s+at ${l.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),B=new RegExp(`\\n\\s+at ${l.OUTLET_BOUNDARY_NAME}[\\n\\s]`),$=new RegExp(`\\n\\s+at ${d.INSTANT_VALIDATION_BOUNDARY_NAME}[\\n\\s]`);function de(T,L,x,ee){if(!B.test(L))if(j.test(L)){x.hasDynamicMetadata=!0;return}else if(D.test(L)){x.hasDynamicViewport=!0;return}else if(M.test(L)){x.hasAllowedDynamic=!0,x.hasSuspenseAboveBody=!0;return}else if(H.test(L)){x.hasAllowedDynamic=!0;return}else if(ee.syncDynamicErrorWithStack){x.dynamicErrors.push(ee.syncDynamicErrorWithStack);return}else{const ce=`Route "${T.route}": Uncached data was accessed outside of <Suspense>. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,le=Ee(Object.defineProperty(new Error(ce),"__NEXT_ERROR_CODE",{value:"E1079",enumerable:!1,configurable:!0}),L,null);x.dynamicErrors.push(le);return}}var V=(function(T){return T[T.Runtime=1]="Runtime",T[T.Dynamic=2]="Dynamic",T})({});function F(T){return{hasDynamicMetadata:!1,hasAllowedClientDynamicAboveBoundary:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[],validationPreventingErrors:[],thrownErrorsOutsideBoundary:[],createInstantStack:T}}function ge(T,L,x,ee,ce,le){if(B.test(L))return;if(j.test(L)){const Se=ce===1?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateMetadata` or you have file-based metadata such as icons that depend on dynamic params segments.":"Uncached data or `connection()` was accessed inside `generateMetadata`.",Ae=`Route "${T.route}": ${Se} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,Ce=Ee(Object.defineProperty(new Error(Ae),"__NEXT_ERROR_CODE",{value:"E1076",enumerable:!1,configurable:!0}),L,x.createInstantStack);x.dynamicMetadata=Ce;return}if(D.test(L)){const Se=ce===1?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateViewport`.":"Uncached data or `connection()` was accessed inside `generateViewport`.",Ae=`Route "${T.route}": ${Se} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,Ce=Ee(Object.defineProperty(new Error(Ae),"__NEXT_ERROR_CODE",{value:"E1086",enumerable:!1,configurable:!0}),L,x.createInstantStack);x.dynamicErrors.push(Ce);return}const ye=$.exec(L);if(ye){const Se=H.exec(L);if(Se&&Se.index<ye.index){x.hasAllowedDynamic=!0;return}}else if(le.expectedIds.size===le.renderedIds.size){x.hasAllowedClientDynamicAboveBoundary=!0,x.hasAllowedDynamic=!0;return}else{const Se=`Route "${T.route}": Could not validate \`unstable_instant\` because a Client Component in a parent segment prevented the page from rendering.`,Ae=Ee(Object.defineProperty(new Error(Se),"__NEXT_ERROR_CODE",{value:"E1082",enumerable:!1,configurable:!0}),L,x.createInstantStack);x.validationPreventingErrors.push(Ae);return}if(ee.syncDynamicErrorWithStack){const Se=ee.syncDynamicErrorWithStack;x.createInstantStack!==null&&Se.cause===void 0&&(Se.cause=x.createInstantStack()),x.dynamicErrors.push(Se);return}const Oe=ce===1?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed outside of `<Suspense>`.":"Uncached data or `connection()` was accessed outside of `<Suspense>`.",Te=`Route "${T.route}": ${Oe} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,be=Ee(Object.defineProperty(new Error(Te),"__NEXT_ERROR_CODE",{value:"E1078",enumerable:!1,configurable:!0}),L,x.createInstantStack);x.dynamicErrors.push(be)}function he(T,L,x,ee){const ce=$.exec(ee);if(ce){const le=H.exec(ee);if(le&&le.index<ce.index)return;const ye=`Route "${T.route}": Could not validate \`unstable_instant\` because an error prevented the target segment from rendering.`,Oe=Ee(Object.defineProperty(new Error(ye,{cause:x}),"__NEXT_ERROR_CODE",{value:"E1112",enumerable:!1,configurable:!0}),ee,null);L.validationPreventingErrors.push(Oe)}else{const le=Ee(Object.defineProperty(new Error("An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.",{cause:x}),"__NEXT_ERROR_CODE",{value:"E1118",enumerable:!1,configurable:!0}),ee,null);L.thrownErrorsOutsideBoundary.push(le)}}function oe(T,L,x,ee){if(B.test(L))return;if(j.test(L)){const ye=`Route "${T.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,Oe=Ee(Object.defineProperty(new Error(ye),"__NEXT_ERROR_CODE",{value:"E1080",enumerable:!1,configurable:!0}),L,null);x.dynamicMetadata=Oe;return}else if(D.test(L)){const ye=`Route "${T.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,Oe=Ee(Object.defineProperty(new Error(ye),"__NEXT_ERROR_CODE",{value:"E1077",enumerable:!1,configurable:!0}),L,null);x.dynamicErrors.push(Oe);return}else if(M.test(L)){x.hasAllowedDynamic=!0,x.hasSuspenseAboveBody=!0;return}else if(H.test(L)){x.hasAllowedDynamic=!0;return}else if(ee.syncDynamicErrorWithStack){x.dynamicErrors.push(ee.syncDynamicErrorWithStack);return}const ce=`Route "${T.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,le=Ee(Object.defineProperty(new Error(ce),"__NEXT_ERROR_CODE",{value:"E1084",enumerable:!1,configurable:!0}),L,null);x.dynamicErrors.push(le)}function _e(T,L,x,ee){if(!B.test(L))if(j.test(L)){const ce=`Route "${T.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,le=Ee(Object.defineProperty(new Error(ce),"__NEXT_ERROR_CODE",{value:"E1085",enumerable:!1,configurable:!0}),L,null);x.dynamicMetadata=le;return}else if(D.test(L)){const ce=`Route "${T.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,le=Ee(Object.defineProperty(new Error(ce),"__NEXT_ERROR_CODE",{value:"E1081",enumerable:!1,configurable:!0}),L,null);x.dynamicErrors.push(le);return}else if(M.test(L)){x.hasAllowedDynamic=!0,x.hasSuspenseAboveBody=!0;return}else if(H.test(L)){x.hasAllowedDynamic=!0;return}else if(ee.syncDynamicErrorWithStack){x.dynamicErrors.push(ee.syncDynamicErrorWithStack);return}else{const ce=`Route "${T.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,le=Ee(Object.defineProperty(new Error(ce),"__NEXT_ERROR_CODE",{value:"E1083",enumerable:!1,configurable:!0}),L,null);x.dynamicErrors.push(le);return}}function Ee(T,L,x){const ee=process.env.NODE_ENV!=="production"&&i.default.captureOwnerStack?i.default.captureOwnerStack():null;return x!==null&&(T.cause=x()),T.stack=T.name+": "+T.message+(ee||L),T}var Q=(function(T){return T[T.Full=0]="Full",T[T.Empty=1]="Empty",T[T.Errored=2]="Errored",T})({});function me(T,L){console.error(L),process.env.NODE_ENV!=="development"?console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:
17
- - Start the app in development mode by running \`next dev\`, then open "${T.route}" in your browser to investigate the error.
18
- - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`):process.env.__NEXT_DEV_SERVER||console.error(`To debug the issue, start the app in development mode by running \`next dev\`, then open "${T.route}" in your browser to investigate the error.`)}function Pe(T,L,x,ee){if(ee.syncDynamicErrorWithStack)throw me(T,ee.syncDynamicErrorWithStack),new o.StaticGenBailoutError;if(L!==0){if(x.hasSuspenseAboveBody)return;const ce=x.dynamicErrors;if(ce.length>0){for(let le=0;le<ce.length;le++)me(T,ce[le]);throw new o.StaticGenBailoutError}if(x.hasDynamicViewport)throw console.error(`Route "${T.route}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),new o.StaticGenBailoutError;if(L===1)throw console.error(`Route "${T.route}" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`),new o.StaticGenBailoutError}else if(x.hasAllowedDynamic===!1&&x.hasDynamicMetadata)throw console.error(`Route "${T.route}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),new o.StaticGenBailoutError}function Ie(T,L,x,ee){if(ee||x.hasSuspenseAboveBody)return[];if(L!==0){const ce=x.dynamicErrors;if(ce.length>0)return ce;if(L===1)return[Object.defineProperty(new f.InvariantError(`Route "${T.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(x.hasAllowedDynamic===!1&&x.dynamicErrors.length===0&&x.dynamicMetadata)return[x.dynamicMetadata];return[]}function Me(T,L,x,ee,ce){if(ee){const{missingSampleErrors:ye}=ee;if(ye.length>0)return ye}const{validationPreventingErrors:le}=x;if(le.length>0)return le;if(ce.renderedIds.size<ce.expectedIds.size){const{thrownErrorsOutsideBoundary:ye,createInstantStack:Oe}=x;if(ye.length===0){const Te=`Route "${T.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering for an unknown reason.`,be=Oe!==null?Oe():new Error;return be.name="Error",be.message=Te,[be]}else if(ye.length===1){const Te=`Route "${T.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering, likely due to the following error.`,be=Oe!==null?Oe():new Error;return be.name="Error",be.message=Te,[be,ye[0]]}else{const Te=`Route "${T.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering, likely due to one of the following errors.`,be=Oe!==null?Oe():new Error;return be.name="Error",be.message=Te,[be,...ye]}}if(L!==0){const ye=x.dynamicErrors;if(ye.length>0)return ye;if(L===1)return x.hasAllowedClientDynamicAboveBoundary?[]:[Object.defineProperty(new f.InvariantError(`Route "${T.route}" failed to render during instant validation and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E1055",enumerable:!1,configurable:!0})]}else{const ye=x.dynamicErrors;if(ye.length>0)return ye;if(x.hasAllowedDynamic===!1&&x.dynamicMetadata)return[x.dynamicMetadata]}return[]}})(bt)),bt}var jt={},Ut={},kn;function ho(){return kn||(kn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"cloneResponse",{enumerable:!0,get:function(){return h}});const a=()=>{};let i;globalThis.FinalizationRegistry&&(i=new FinalizationRegistry(o=>{const e=o.deref();e&&!e.locked&&e.cancel("Response object has been garbage collected").then(a)}));function h(o){if(!o.body)return[o,o];const[e,t]=o.body.tee(),n=new Response(e,{status:o.status,statusText:o.statusText,headers:o.headers});Object.defineProperty(n,"url",{value:o.url,configurable:!0,enumerable:!0,writable:!1});const l=new Response(t,{status:o.status,statusText:o.statusText,headers:o.headers});return Object.defineProperty(l,"url",{value:o.url,configurable:!0,enumerable:!0,writable:!1}),i&&(n.body&&i.register(n,new WeakRef(n.body)),l.body&&i.register(l,new WeakRef(l.body))),[n,l]}})(Ut)),Ut}var Gn;function Gi(){return Gn||(Gn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"createDedupeFetch",{enumerable:!0,get:function(){return c}});const a=e(so()),i=ho(),h=Ue();function o(r){if(typeof WeakMap!="function")return null;var f=new WeakMap,d=new WeakMap;return(o=function(E){return E?d:f})(r)}function e(r,f){if(r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var d=o(f);if(d&&d.has(r))return d.get(r);var E={__proto__:null},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in r)if(v!=="default"&&Object.prototype.hasOwnProperty.call(r,v)){var g=R?Object.getOwnPropertyDescriptor(r,v):null;g&&(g.get||g.set)?Object.defineProperty(E,v,g):E[v]=r[v]}return E.default=r,d&&d.set(r,E),E}const t='["GET",[],null,"follow",null,null,null,null]',n=new Set(["traceparent","tracestate"]);function l(r){const f=Array.from(r.headers.entries()).filter(([d])=>!n.has(d.toLowerCase()));return JSON.stringify([r.method,f,r.mode,r.redirect,r.credentials,r.referrer,r.referrerPolicy,r.integrity])}function c(r){const f=a.cache(d=>[]);return function(E,R){if(R&&R.signal)return r(E,R);let v,g;if(typeof E=="string"&&!R)g=t,v=E;else{const I=typeof E=="string"||E instanceof URL?new Request(E,R):E;if(I.method!=="GET"&&I.method!=="HEAD"||I.keepalive)return r(E,R);g=l(I),v=I.url}const _=f(v);for(let I=0,p=_.length;I<p;I+=1){const[N,b]=_[I];if(N===g)return b.then(()=>{const C=_[I][2];if(!C)throw Object.defineProperty(new h.InvariantError("No cached response"),"__NEXT_ERROR_CODE",{value:"E579",enumerable:!1,configurable:!0});const[S,k]=(0,i.cloneResponse)(C);return _[I][2]=k,S})}const y=r(E,R),P=[g,y,null];return _.push(P),y.then(I=>{const[p,N]=(0,i.cloneResponse)(I);return P[2]=N,p})}}})(jt)),jt}var Ht={},$t={},qt={},Bn;function sn(){return Bn||(Bn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"DetachedPromise",{enumerable:!0,get:function(){return a}});class a{constructor(){let h,o;this.promise=new Promise((e,t)=>{h=e,o=t}),this.resolve=h,this.reject=o}}})(qt)),qt}var Xn;function Bi(){return Xn||(Xn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"Batcher",{enumerable:!0,get:function(){return i}});const a=sn();class i{constructor(o,e=t=>t()){this.cacheKeyFn=o,this.schedulerFn=e,this.pending=new Map}static create(o){return new i(o?.cacheKeyFn,o?.schedulerFn)}async batch(o,e){const t=this.cacheKeyFn?await this.cacheKeyFn(o):o;if(t===null)return e({resolve:f=>Promise.resolve(f),key:o});const n=this.pending.get(t);if(n)return n;const{promise:l,resolve:c,reject:r}=new a.DetachedPromise;return this.pending.set(t,l),this.schedulerFn(async()=>{try{const f=await e({resolve:c,key:o});c(f)}catch(f){r(f)}finally{this.pending.delete(t)}}),l}}})($t)),$t}var kt={},Fn;function po(){return Fn||(Fn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"LRUCache",{enumerable:!0,get:function(){return h}});class a{constructor(e,t,n){this.prev=null,this.next=null,this.key=e,this.data=t,this.size=n}}class i{constructor(){this.prev=null,this.next=null}}class h{constructor(e,t,n){this.cache=new Map,this.totalSize=0,this.maxSize=e,this.calculateSize=t,this.onEvict=n,this.head=new i,this.tail=new i,this.head.next=this.tail,this.tail.prev=this.head}addToHead(e){e.prev=this.head,e.next=this.head.next,this.head.next.prev=e,this.head.next=e}removeNode(e){e.prev.next=e.next,e.next.prev=e.prev}moveToHead(e){this.removeNode(e),this.addToHead(e)}removeTail(){const e=this.tail.prev;return this.removeNode(e),e}set(e,t){const n=(this.calculateSize==null?void 0:this.calculateSize.call(this,t))??1;if(n<=0)throw Object.defineProperty(new Error(`LRUCache: calculateSize returned ${n}, but size must be > 0. Items with size 0 would never be evicted, causing unbounded cache growth.`),"__NEXT_ERROR_CODE",{value:"E1045",enumerable:!1,configurable:!0});if(n>this.maxSize)return console.warn("Single item size exceeds maxSize"),!1;const l=this.cache.get(e);if(l)l.data=t,this.totalSize=this.totalSize-l.size+n,l.size=n,this.moveToHead(l);else{const c=new a(e,t,n);this.cache.set(e,c),this.addToHead(c),this.totalSize+=n}for(;this.totalSize>this.maxSize&&this.cache.size>0;){const c=this.removeTail();this.cache.delete(c.key),this.totalSize-=c.size,this.onEvict==null||this.onEvict.call(this,c.key,c.data)}return!0}has(e){return this.cache.has(e)}get(e){const t=this.cache.get(e);if(t)return this.moveToHead(t),t.data}*[Symbol.iterator](){let e=this.head.next;for(;e&&e!==this.tail;){const t=e;yield[t.key,t.data],e=e.next}}remove(e){const t=this.cache.get(e);t&&(this.removeNode(t),this.cache.delete(e),this.totalSize-=t.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}})(kt)),kt}var Gt={},Bt={},Wn;function Xi(){return Wn||(Wn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(re,ie){for(var ve in ie)Object.defineProperty(re,ve,{enumerable:!0,get:ie[ve]})}a(s,{bgBlack:function(){return k},bgBlue:function(){return X},bgCyan:function(){return fe},bgGreen:function(){return G},bgMagenta:function(){return Z},bgRed:function(){return z},bgWhite:function(){return pe},bgYellow:function(){return ae},black:function(){return g},blue:function(){return I},bold:function(){return c},cyan:function(){return b},dim:function(){return r},gray:function(){return S},green:function(){return y},hidden:function(){return R},inverse:function(){return E},italic:function(){return f},magenta:function(){return p},purple:function(){return N},red:function(){return _},reset:function(){return l},strikethrough:function(){return v},underline:function(){return d},white:function(){return C},yellow:function(){return P}});var i;const{env:h,stdout:o}=((i=globalThis)==null?void 0:i.process)??{},e=h&&!h.NO_COLOR&&(h.FORCE_COLOR||o?.isTTY&&!h.CI&&h.TERM!=="dumb"),t=(re,ie,ve,m)=>{const w=re.substring(0,m)+ve,Y=re.substring(m+ie.length),U=Y.indexOf(ie);return~U?w+t(Y,ie,ve,U):w+Y},n=(re,ie,ve=re)=>e?m=>{const w=""+m,Y=w.indexOf(ie,re.length);return~Y?re+t(w,ie,ve,Y)+ie:re+w+ie}:String,l=e?re=>`\x1B[0m${re}\x1B[0m`:String,c=n("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),r=n("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),f=n("\x1B[3m","\x1B[23m"),d=n("\x1B[4m","\x1B[24m"),E=n("\x1B[7m","\x1B[27m"),R=n("\x1B[8m","\x1B[28m"),v=n("\x1B[9m","\x1B[29m"),g=n("\x1B[30m","\x1B[39m"),_=n("\x1B[31m","\x1B[39m"),y=n("\x1B[32m","\x1B[39m"),P=n("\x1B[33m","\x1B[39m"),I=n("\x1B[34m","\x1B[39m"),p=n("\x1B[35m","\x1B[39m"),N=n("\x1B[38;2;173;127;168m","\x1B[39m"),b=n("\x1B[36m","\x1B[39m"),C=n("\x1B[37m","\x1B[39m"),S=n("\x1B[90m","\x1B[39m"),k=n("\x1B[40m","\x1B[49m"),z=n("\x1B[41m","\x1B[49m"),G=n("\x1B[42m","\x1B[49m"),ae=n("\x1B[43m","\x1B[49m"),X=n("\x1B[44m","\x1B[49m"),Z=n("\x1B[45m","\x1B[49m"),fe=n("\x1B[46m","\x1B[49m"),pe=n("\x1B[47m","\x1B[49m")})(Bt)),Bt}var Yn;function Fi(){return Yn||(Yn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(P,I){for(var p in I)Object.defineProperty(P,p,{enumerable:!0,get:I[p]})}a(s,{bootstrap:function(){return n},error:function(){return c},errorOnce:function(){return y},event:function(){return E},info:function(){return d},prefixes:function(){return o},ready:function(){return f},trace:function(){return R},wait:function(){return l},warn:function(){return r},warnOnce:function(){return g}});const i=Xi(),h=po(),o={wait:(0,i.white)((0,i.bold)("○")),error:(0,i.red)((0,i.bold)("⨯")),warn:(0,i.yellow)((0,i.bold)("⚠")),ready:"▲",info:(0,i.white)((0,i.bold)(" ")),event:(0,i.green)((0,i.bold)("✓")),trace:(0,i.magenta)((0,i.bold)("»"))},e={log:"log",warn:"warn",error:"error"};function t(P,...I){(I[0]===""||I[0]===void 0)&&I.length===1&&I.shift();const p=P in e?e[P]:"log",N=o[P];I.length===0?console[p](""):I.length===1&&typeof I[0]=="string"?console[p](N+" "+I[0]):console[p](N,...I)}function n(P){console.log(P)}function l(...P){t("wait",...P)}function c(...P){t("error",...P)}function r(...P){t("warn",...P)}function f(...P){t("ready",...P)}function d(...P){t("info",...P)}function E(...P){t("event",...P)}function R(...P){t("trace",...P)}const v=new h.LRUCache(1e4,P=>P.length);function g(...P){const I=P.join(" ");v.has(I)||(v.set(I,I),r(...P))}const _=new h.LRUCache(1e4,P=>P.length);function y(...P){const I=P.join(" ");_.has(I)||(_.set(I,I),c(...P))}})(Gt)),Gt}var Xt={},Ft={},Vn;function go(){return Vn||(Vn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(o,e){for(var t in e)Object.defineProperty(o,t,{enumerable:!0,get:e[t]})}a(s,{CachedRouteKind:function(){return i},IncrementalCacheKind:function(){return h}});var i=(function(o){return o.APP_PAGE="APP_PAGE",o.APP_ROUTE="APP_ROUTE",o.PAGES="PAGES",o.FETCH="FETCH",o.REDIRECT="REDIRECT",o.IMAGE="IMAGE",o})({}),h=(function(o){return o.APP_PAGE="APP_PAGE",o.APP_ROUTE="APP_ROUTE",o.PAGES="PAGES",o.FETCH="FETCH",o.IMAGE="IMAGE",o})({})})(Ft)),Ft}var Wt={},Yt={},Vt={},Kn;function Wi(){return Kn||(Kn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ENCODED_TAGS",{enumerable:!0,get:function(){return a}});const a={OPENING:{HTML:new Uint8Array([60,104,116,109,108]),HEAD:new Uint8Array([60,104,101,97,100]),BODY:new Uint8Array([60,98,111,100,121])},CLOSED:{HEAD:new Uint8Array([60,47,104,101,97,100,62]),BODY:new Uint8Array([60,47,98,111,100,121,62]),HTML:new Uint8Array([60,47,104,116,109,108,62]),BODY_AND_HTML:new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62])},META:{ICON_MARK:new Uint8Array([60,109,101,116,97,32,110,97,109,101,61,34,194,171,110,120,116,45,105,99,111,110,194,187,34])}}})(Vt)),Vt}var Kt={},zn;function Yi(){return zn||(zn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}a(s,{indexOfUint8Array:function(){return i},isEquivalentUint8Arrays:function(){return h},removeFromUint8Array:function(){return o}});function i(e,t){if(t.length===0)return 0;if(e.length===0||t.length>e.length)return-1;if(typeof Buffer<"u")return(Buffer.isBuffer(e)?e:Buffer.from(e.buffer,e.byteOffset,e.byteLength)).indexOf(t);for(let n=0;n<=e.length-t.length;n++){let l=!0;for(let c=0;c<t.length;c++)if(e[n+c]!==t[c]){l=!1;break}if(l)return n}return-1}function h(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function o(e,t){const n=i(e,t);if(n===0)return e.subarray(t.length);if(n>-1){const l=new Uint8Array(e.length-t.length);return l.set(e.subarray(0,n)),l.set(e.subarray(n+t.length),n),l}else return e}})(Kt)),Kt}var rt={exports:{}},Qn;function Vi(){return Qn||(Qn=1,(function(s,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"MISSING_ROOT_TAGS_ERROR",{enumerable:!0,get:function(){return i}});const i="NEXT_MISSING_ROOT_TAGS";(typeof a.default=="function"||typeof a.default=="object"&&a.default!==null)&&typeof a.default.__esModule>"u"&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),s.exports=a.default)})(rt,rt.exports)),rt.exports}var zt={},Qt={},Jn;function Ki(){return Jn||(Jn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(o,e){for(var t in e)Object.defineProperty(o,t,{enumerable:!0,get:e[t]})}a(s,{djb2Hash:function(){return i},hexHash:function(){return h}});function i(o){let e=5381;for(let t=0;t<o.length;t++){const n=o.charCodeAt(t);e=(e<<5)+e+n&4294967295}return e>>>0}function h(o){return i(o).toString(36).slice(0,5)}})(Qt)),Qt}var Zn;function zi(){return Zn||(Zn=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(f,d){for(var E in d)Object.defineProperty(f,E,{enumerable:!0,get:d[E]})}a(s,{computeCacheBustingSearchParam:function(){return c},computeLegacyCacheBustingSearchParam:function(){return r}});const i=Ki(),h=12,o=new TextEncoder;function e(f){let d="";for(let E=0;E<f.length;E++)d+=String.fromCharCode(f[E]);return btoa(d).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function t(f){return f===void 0?"0":Array.isArray(f)?f.join(","):f}function n(f,d,E,R){return(f===void 0||f==="0")&&d===void 0&&E===void 0&&R===void 0?null:[f??"0",t(d),t(E),t(R)].join(",")}async function l(f){const d=await globalThis.crypto.subtle.digest("SHA-256",o.encode(f));return e(new Uint8Array(d).subarray(0,h))}async function c(f,d,E,R){const v=n(f,d,E,R);return v===null?"":l(v)}function r(f,d,E,R){const v=n(f,d,E,R);return v===null?"":(0,i.hexHash)(v)}})(zt)),zt}var ea;function Qi(){return ea||(ea=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(A,M){for(var j in M)Object.defineProperty(A,j,{enumerable:!0,get:M[j]})}a(s,{chainStreams:function(){return E},continueDynamicHTMLResume:function(){return Y},continueDynamicPrerender:function(){return ve},continueFizzStream:function(){return ie},continueStaticFallbackPrerender:function(){return w},continueStaticPrerender:function(){return m},createBufferedTransformStream:function(){return p},createDocumentClosingStream:function(){return U},createInstantTestScriptInsertionTransformStream:function(){return k},createRootLayoutValidatorStream:function(){return pe},createRuntimePrefetchTransformStream:function(){return H},renderToInitialFizzStream:function(){return N},streamFromBuffer:function(){return v},streamFromString:function(){return R},streamToBuffer:function(){return P},streamToString:function(){return I},streamToUint8Array:function(){return y}});const i=rn(),h=it(),o=sn(),e=an(),t=Wi(),n=Yi(),l=Vi(),c=lo(),r=zi();function f(){}const d=new TextEncoder;function E(...A){if(A.length===0)return new ReadableStream({start(de){de.close()}});if(A.length===1)return A[0];const{readable:M,writable:j}=new TransformStream;let D=A[0].pipeTo(j,{preventClose:!0}),B=1;for(;B<A.length-1;B++){const de=A[B];D=D.then(()=>de.pipeTo(j,{preventClose:!0}))}const $=A[B];return D=D.then(()=>$.pipeTo(j)),D.catch(f),M}function R(A){return new ReadableStream({start(M){M.enqueue(d.encode(A)),M.close()}})}function v(A){return new ReadableStream({start(M){M.enqueue(A),M.close()}})}async function g(A){const M=A.getReader(),j=[];for(;;){const{done:D,value:B}=await M.read();if(D)break;j.push(B)}return j}function _(A){const M=A.reduce((B,$)=>B+$.length,0),j=new Uint8Array(M);let D=0;for(const B of A)j.set(B,D),D+=B.length;return j}async function y(A){return _(await g(A))}async function P(A){return Buffer.concat(await g(A))}async function I(A,M){const j=new TextDecoder("utf-8",{fatal:!0});let D="";for await(const B of A){if(M?.aborted)return D;D+=j.decode(B,{stream:!0})}return D+=j.decode(),D}function p(A={}){const{maxBufferByteLength:M=1/0}=A;let j=[],D=0,B;const $=V=>{try{if(j.length===0)return;const F=new Uint8Array(D);let ge=0;for(let he=0;he<j.length;he++){const oe=j[he];F.set(oe,ge),ge+=oe.byteLength}j.length=0,D=0,V.enqueue(F)}catch{}},de=V=>{if(B)return;const F=new o.DetachedPromise;B=F,(0,e.scheduleImmediate)(()=>{try{$(V)}finally{B=void 0,F.resolve()}})};return new TransformStream({transform(V,F){j.push(V),D+=V.byteLength,D>=M?$(F):de(F)},flush(){return B?.promise}})}function N({ReactDOMServer:A,element:M,streamOptions:j}){return(0,i.getTracer)().trace(h.AppRenderSpan.renderToReadableStream,async()=>A.renderToReadableStream(M,j))}function b(A){let M=-1,j=!1;return new TransformStream({async transform(D,B){let $=-1,de=-1;if(M++,j){B.enqueue(D);return}let V=0;if($===-1)if($=(0,n.indexOfUint8Array)(D,t.ENCODED_TAGS.META.ICON_MARK),$===-1){B.enqueue(D);return}else V=t.ENCODED_TAGS.META.ICON_MARK.length,D[$+V]===47?V+=2:V++;if(M===0){if(de=(0,n.indexOfUint8Array)(D,t.ENCODED_TAGS.CLOSED.HEAD),$!==-1){if($<de){const F=new Uint8Array(D.length-V);F.set(D.subarray(0,$)),F.set(D.subarray($+V),$),D=F}else{const F=await A(),ge=d.encode(F),he=ge.length,oe=new Uint8Array(D.length-V+he);oe.set(D.subarray(0,$)),oe.set(ge,$),oe.set(D.subarray($+V),$+he),D=oe}j=!0}}else{const F=await A(),ge=d.encode(F),he=ge.length,oe=new Uint8Array(D.length-V+he);oe.set(D.subarray(0,$)),oe.set(ge,$),oe.set(D.subarray($+V),$+he),D=oe,j=!0}B.enqueue(D)}})}function C(A){let M=!1,j=!1;return new TransformStream({async transform(D,B){j=!0;const $=await A();if(M){if($){const de=d.encode($);B.enqueue(de)}B.enqueue(D)}else{const de=(0,n.indexOfUint8Array)(D,t.ENCODED_TAGS.CLOSED.HEAD);if(de!==-1){if($){const V=d.encode($),F=new Uint8Array(D.length+V.length);F.set(D.slice(0,de)),F.set(V,de),F.set(D.slice(de),de+V.length),B.enqueue(F)}else B.enqueue(D);M=!0}else $&&B.enqueue(d.encode($)),B.enqueue(D),M=!0}},async flush(D){if(j){const B=await A();B&&D.enqueue(d.encode(B))}}})}async function S(){const A="/_full",M=await(0,r.computeCacheBustingSearchParam)("1","/_full",void 0,void 0),D=`<script>__NEXT_CLIENT_RESUME=fetch(location.pathname+'?${`${c.NEXT_RSC_UNION_QUERY}=${M}`}',{credentials:'same-origin',headers:{'${c.RSC_HEADER}': '1','${c.NEXT_ROUTER_PREFETCH_HEADER}': '1','${c.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER}': '${A}'}})<\/script>`;let B=!1;return new TransformStream({transform($,de){if(B){de.enqueue($);return}const V=(0,n.indexOfUint8Array)($,t.ENCODED_TAGS.CLOSED.HEAD);if(V===-1){de.enqueue($);return}const F=d.encode(D),ge=new Uint8Array($.length+F.length);ge.set($.slice(0,V)),ge.set(F,V),ge.set($.slice(V),V+F.length),de.enqueue(ge),B=!0}})}async function k(A){const M="/_full",j=await(0,r.computeCacheBustingSearchParam)("1",M,void 0,void 0),D=`${c.NEXT_RSC_UNION_QUERY}=${j}`,$=`<script>${A!==null?`self.__next_r=${JSON.stringify(A)};`:""}self.__next_instant_test=fetch(location.pathname+'?${D}',{credentials:'same-origin',headers:{'${c.RSC_HEADER}':'1','${c.NEXT_ROUTER_PREFETCH_HEADER}':'1','${c.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER}':'${M}','${c.NEXT_INSTANT_PREFETCH_HEADER}':'1'}})<\/script>`;let de=!1;return new TransformStream({transform(V,F){if(de){F.enqueue(V);return}const ge=(0,n.indexOfUint8Array)(V,t.ENCODED_TAGS.OPENING.HEAD);if(ge===-1){F.enqueue(V);return}const he=V.indexOf(62,ge+t.ENCODED_TAGS.OPENING.HEAD.length);if(he===-1){F.enqueue(V);return}const oe=d.encode($),_e=he+1,Ee=new Uint8Array(V.length+oe.length);Ee.set(V.slice(0,_e)),Ee.set(oe,_e),Ee.set(V.slice(_e),_e+oe.length),F.enqueue(Ee),de=!0},flush(V){V.enqueue(t.ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}function z(A){let M=!1,j;const D=B=>{const $=new o.DetachedPromise;j=$,(0,e.scheduleImmediate)(()=>{try{B.enqueue(d.encode(A))}catch{}finally{j=void 0,$.resolve()}})};return new TransformStream({transform(B,$){$.enqueue(B),!M&&(M=!0,D($))},flush(B){if(j)return j.promise;M||B.enqueue(d.encode(A))}})}function G(A,M){let j=!1,D=null,B=!1;function $(V){return D||(D=de(V)),D}async function de(V){const F=A.getReader();M&&await(0,e.atLeastOneTask)();try{for(;;){const{done:ge,value:he}=await F.read();if(ge){B=!0;return}!M&&!j&&await(0,e.atLeastOneTask)(),V.enqueue(he)}}catch(ge){V.error(ge)}}return new TransformStream({start(V){M||$(V)},transform(V,F){F.enqueue(V),M&&$(F)},flush(V){if(j=!0,!B)return $(V)}})}const ae="</body></html>";function X(){let A=!1;return new TransformStream({transform(M,j){if(A)return j.enqueue(M);const D=(0,n.indexOfUint8Array)(M,t.ENCODED_TAGS.CLOSED.BODY_AND_HTML);if(D>-1){if(A=!0,M.length===t.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length)return;const B=M.slice(0,D);if(j.enqueue(B),M.length>t.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length+D){const $=M.slice(D+t.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);j.enqueue($)}}else j.enqueue(M)},flush(M){M.enqueue(t.ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}function Z(){return new TransformStream({transform(A,M){(0,n.isEquivalentUint8Arrays)(A,t.ENCODED_TAGS.CLOSED.BODY_AND_HTML)||(0,n.isEquivalentUint8Arrays)(A,t.ENCODED_TAGS.CLOSED.BODY)||(0,n.isEquivalentUint8Arrays)(A,t.ENCODED_TAGS.CLOSED.HTML)||(A=(0,n.removeFromUint8Array)(A,t.ENCODED_TAGS.CLOSED.BODY),A=(0,n.removeFromUint8Array)(A,t.ENCODED_TAGS.CLOSED.HTML),M.enqueue(A))}})}function fe(A){let M=!1;return new TransformStream({transform(j,D){if(M){D.enqueue(j);return}const B=(0,n.indexOfUint8Array)(j,t.ENCODED_TAGS.OPENING.HTML);if(B===-1){D.enqueue(j);return}const $=B+t.ENCODED_TAGS.OPENING.HTML.length,de=` data-dpl-id="${A}"`,V=d.encode(de),F=new Uint8Array(j.length+V.length);F.set(j.subarray(0,$)),F.set(V,$),F.set(j.subarray($),$+V.length),D.enqueue(F),M=!0}})}function pe(){let A=!1,M=!1;return new TransformStream({async transform(j,D){!A&&(0,n.indexOfUint8Array)(j,t.ENCODED_TAGS.OPENING.HTML)>-1&&(A=!0),!M&&(0,n.indexOfUint8Array)(j,t.ENCODED_TAGS.OPENING.BODY)>-1&&(M=!0),D.enqueue(j)},flush(j){const D=[];A||D.push("html"),M||D.push("body"),D.length&&j.enqueue(d.encode(`<html id="__next_error__">
19
- <template
20
- data-next-error-message="Missing ${D.map(B=>`<${B}>`).join(D.length>1?" and ":"")} tags in the root layout.
21
- Read more at https://nextjs.org/docs/messages/missing-root-layout-tags"
22
- data-next-error-digest="${l.MISSING_ROOT_TAGS_ERROR}"
23
- data-next-error-stack=""
24
- ></template>
25
- `))}})}function re(A,M){let j=A;for(const D of M)D&&(j=j.pipeThrough(D));return j}async function ie(A,{suffix:M,inlinedDataStream:j,isStaticGeneration:D,deploymentId:B,getServerInsertedHTML:$,getServerInsertedMetadata:de,validateRootLayout:V}){const F=M?M.split(ae,1)[0]:null;return D?await A.allReady:await(0,e.waitAtLeastOneReactRenderTask)(),re(A,[p(),B?fe(B):null,b(de),F!=null&&F.length>0?z(F):null,j?G(j,!0):null,V?pe():null,X(),C($)])}async function ve(A,{getServerInsertedHTML:M,getServerInsertedMetadata:j,deploymentId:D}){return re(A,[p(),Z(),D?fe(D):null,C(M),b(j)])}async function m(A,{inlinedDataStream:M,getServerInsertedHTML:j,getServerInsertedMetadata:D,deploymentId:B}){return re(A,[p(),B?fe(B):null,C(j),b(D),G(M,!0),X()])}async function w(A,{inlinedDataStream:M,getServerInsertedHTML:j,getServerInsertedMetadata:D,deploymentId:B}){return re(A,[p(),B?fe(B):null,C(j),await S(),b(D),G(M,!0),X()])}async function Y(A,{delayDataUntilFirstHtmlChunk:M,inlinedDataStream:j,getServerInsertedHTML:D,getServerInsertedMetadata:B,deploymentId:$}){return re(A,[p(),$?fe($):null,C(D),b(B),G(j,M),X()])}function U(){return R(ae)}function H(A,M,j){const D=new TextEncoder,B=D.encode(`[${A}]`),$=B[0],de=D.encode(`[${M},${j}]`),V=B.length;let F=null,ge=!1;function he(oe,_e){if(ge){_e&&oe.enqueue(_e);return}if(F){let Ee=F.length-(V-1);if(_e&&(Ee+=Math.min(_e.length,V-1)),Ee<1){oe.enqueue(F),F=_e;return}let Q=F.indexOf($);e:for(;-1<Q&&Q<Ee;){let me=1;for(;me<V;){const Pe=Q+me;if((Pe<F.length?F[Pe]:_e[Pe-F.length])!==B[me]){Q=F.indexOf($,Q+1);continue e}me++}if(ge=!0,oe.enqueue(F.subarray(0,Q)),oe.enqueue(de),Q+V<F.length&&oe.enqueue(F.slice(Q+V)),_e){const Pe=Q+V-F.length,Ie=Pe>0?_e.subarray(Pe):_e;oe.enqueue(Ie)}F=null;return}oe.enqueue(F)}F=_e}return new TransformStream({transform(oe,_e){he(_e,oe)},flush(oe){he(oe,null)}})}})(Yt)),Yt}var Jt={},Zt={},er={},ta;function Ji(){return ta||(ta=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(n,l){for(var c in l)Object.defineProperty(n,c,{enumerable:!0,get:l[c]})}a(s,{NEXT_REQUEST_META:function(){return i},addRequestMeta:function(){return e},getRequestMeta:function(){return h},removeRequestMeta:function(){return t},setRequestMeta:function(){return o}});const i=Symbol.for("NextInternalRequestMeta");function h(n,l){const c=n[i]||{};return typeof l=="string"?c[l]:c}function o(n,l){return n[i]=l,l}function e(n,l,c){const r=h(n);return r[l]=c,o(n,r)}function t(n,l){const c=h(n);return delete c[l],o(n,c)}})(er)),er}var tr={},ra;function _o(){return ra||(ra=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(l,c){for(var r in c)Object.defineProperty(l,r,{enumerable:!0,get:c[r]})}a(s,{fromNodeOutgoingHttpHeaders:function(){return h},normalizeNextQueryParam:function(){return n},splitCookiesString:function(){return o},toNodeOutgoingHttpHeaders:function(){return e},validateURL:function(){return t}});const i=We();function h(l){const c=new Headers;for(let[r,f]of Object.entries(l)){const d=Array.isArray(f)?f:[f];for(let E of d)typeof E>"u"||(typeof E=="number"&&(E=E.toString()),c.append(r,E))}return c}function o(l){var c=[],r=0,f,d,E,R,v;function g(){for(;r<l.length&&/\s/.test(l.charAt(r));)r+=1;return r<l.length}function _(){return d=l.charAt(r),d!=="="&&d!==";"&&d!==","}for(;r<l.length;){for(f=r,v=!1;g();)if(d=l.charAt(r),d===","){for(E=r,r+=1,g(),R=r;r<l.length&&_();)r+=1;r<l.length&&l.charAt(r)==="="?(v=!0,r=R,c.push(l.substring(f,E)),f=r):r=E+1}else r+=1;(!v||r>=l.length)&&c.push(l.substring(f,l.length))}return c}function e(l){const c={},r=[];if(l)for(const[f,d]of l.entries())f.toLowerCase()==="set-cookie"?(r.push(...o(d)),c[f]=r.length===1?r[0]:r):c[f]=d;return c}function t(l){try{return String(new URL(String(l)))}catch(c){throw Object.defineProperty(new Error(`URL is malformed "${String(l)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:c}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function n(l){const c=[i.NEXT_QUERY_PARAM_PREFIX,i.NEXT_INTERCEPTION_MARKER_PREFIX];for(const r of c)if(l!==r&&l.startsWith(r))return l.substring(r.length);return null}})(tr)),tr}var rr={},nr={},ar={},na;function Zi(){return na||(na=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"detectDomainLocale",{enumerable:!0,get:function(){return a}});function a(i,h,o){if(i){o&&(o=o.toLowerCase());for(const e of i){const t=e.domain?.split(":",1)[0].toLowerCase();if(h===t||o===e.defaultLocale.toLowerCase()||e.locales?.some(n=>n.toLowerCase()===o))return e}}}})(ar)),ar}var or={},ir={},aa;function Eo(){return aa||(aa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"removeTrailingSlash",{enumerable:!0,get:function(){return a}});function a(i){return i.replace(/\/$/,"")||"/"}})(ir)),ir}var sr={},ur={},oa;function un(){return oa||(oa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"parsePath",{enumerable:!0,get:function(){return a}});function a(i){const h=i.indexOf("#"),o=i.indexOf("?"),e=o>-1&&(h<0||o<h);return e||h>-1?{pathname:i.substring(0,e?o:h),query:e?i.substring(o,h>-1?h:void 0):"",hash:h>-1?i.slice(h):""}:{pathname:i,query:"",hash:""}}})(ur)),ur}var ia;function mo(){return ia||(ia=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"addPathPrefix",{enumerable:!0,get:function(){return i}});const a=un();function i(h,o){if(!h.startsWith("/")||!o)return h;const{pathname:e,query:t,hash:n}=(0,a.parsePath)(h);return`${o}${e}${t}${n}`}})(sr)),sr}var cr={},sa;function es(){return sa||(sa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"addPathSuffix",{enumerable:!0,get:function(){return i}});const a=un();function i(h,o){if(!h.startsWith("/")||!o)return h;const{pathname:e,query:t,hash:n}=(0,a.parsePath)(h);return`${e}${o}${t}${n}`}})(cr)),cr}var lr={},fr={},ua;function cn(){return ua||(ua=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"pathHasPrefix",{enumerable:!0,get:function(){return i}});const a=un();function i(h,o){if(typeof h!="string")return!1;const{pathname:e}=(0,a.parsePath)(h);return e===o||e.startsWith(o+"/")}})(fr)),fr}var ca;function ts(){return ca||(ca=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"addLocale",{enumerable:!0,get:function(){return h}});const a=mo(),i=cn();function h(o,e,t,n){if(!e||e===t)return o;const l=o.toLowerCase();return!n&&((0,i.pathHasPrefix)(l,"/api")||(0,i.pathHasPrefix)(l,`/${e.toLowerCase()}`))?o:(0,a.addPathPrefix)(o,`/${e}`)}})(lr)),lr}var la;function rs(){return la||(la=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"formatNextPathnameInfo",{enumerable:!0,get:function(){return e}});const a=Eo(),i=mo(),h=es(),o=ts();function e(t){let n=(0,o.addLocale)(t.pathname,t.locale,t.buildId?void 0:t.defaultLocale,t.ignorePrefix);return(t.buildId||!t.trailingSlash)&&(n=(0,a.removeTrailingSlash)(n)),t.buildId&&(n=(0,h.addPathSuffix)((0,i.addPathPrefix)(n,`/_next/data/${t.buildId}`),t.pathname==="/"?"index.json":".json")),n=(0,i.addPathPrefix)(n,t.basePath),!t.buildId&&t.trailingSlash?n.endsWith("/")?n:(0,h.addPathSuffix)(n,"/"):(0,a.removeTrailingSlash)(n)}})(or)),or}var dr={},fa;function ns(){return fa||(fa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getHostname",{enumerable:!0,get:function(){return a}});function a(i,h){let o;if(h?.host&&!Array.isArray(h.host))o=h.host.toString().split(":",1)[0];else if(i.hostname)o=i.hostname;else return;return o.toLowerCase()}})(dr)),dr}var hr={},pr={},da;function as(){return da||(da=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"normalizeLocalePath",{enumerable:!0,get:function(){return i}});const a=new WeakMap;function i(h,o){if(!o)return{pathname:h};let e=a.get(o);e||(e=o.map(r=>r.toLowerCase()),a.set(o,e));let t;const n=h.split("/",2);if(!n[1])return{pathname:h};const l=n[1].toLowerCase(),c=e.indexOf(l);return c<0?{pathname:h}:(t=o[c],h=h.slice(t.length+1)||"/",{pathname:h,detectedLocale:t})}})(pr)),pr}var gr={},ha;function os(){return ha||(ha=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"removePathPrefix",{enumerable:!0,get:function(){return i}});const a=cn();function i(h,o){if(!(0,a.pathHasPrefix)(h,o))return h;const e=h.slice(o.length);return e.startsWith("/")?e:`/${e}`}})(gr)),gr}var pa;function is(){return pa||(pa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});const a=as(),i=os(),h=cn();function o(e,t){const{basePath:n,i18n:l,trailingSlash:c}=t.nextConfig??{},r={pathname:e,trailingSlash:e!=="/"?e.endsWith("/"):c};n&&(0,h.pathHasPrefix)(r.pathname,n)&&(r.pathname=(0,i.removePathPrefix)(r.pathname,n),r.basePath=n);let f=r.pathname;if(r.pathname.startsWith("/_next/data/")&&r.pathname.endsWith(".json")){const d=r.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),E=d[0];r.buildId=E,f=d[1]!=="index"?`/${d.slice(1).join("/")}`:"/",t.parseData===!0&&(r.pathname=f)}if(l){let d=t.i18nProvider?t.i18nProvider.analyze(r.pathname):(0,a.normalizeLocalePath)(r.pathname,l.locales);r.locale=d.detectedLocale,r.pathname=d.pathname??r.pathname,!d.detectedLocale&&r.buildId&&(d=t.i18nProvider?t.i18nProvider.analyze(f):(0,a.normalizeLocalePath)(f,l.locales),d.detectedLocale&&(r.locale=d.detectedLocale))}return r}})(hr)),hr}var ga;function ss(){return ga||(ga=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"NextURL",{enumerable:!0,get:function(){return l}});const a=Zi(),i=rs(),h=ns(),o=is(),e=/^(?:127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)$/;function t(c,r){const f=new URL(String(c),r&&String(r));return e.test(f.hostname)&&(f.hostname="localhost"),f}const n=Symbol("NextURLInternal");class l{constructor(r,f,d){let E,R;typeof f=="object"&&"pathname"in f||typeof f=="string"?(E=f,R=d||{}):R=d||f||{},this[n]={url:t(r,E??R.base),options:R,basePath:""},this.analyze()}analyze(){var r,f,d,E,R;const v=(0,o.getNextPathnameInfo)(this[n].url.pathname,{nextConfig:this[n].options.nextConfig,parseData:!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,i18nProvider:this[n].options.i18nProvider}),g=(0,h.getHostname)(this[n].url,this[n].options.headers);this[n].domainLocale=this[n].options.i18nProvider?this[n].options.i18nProvider.detectDomainLocale(g):(0,a.detectDomainLocale)((f=this[n].options.nextConfig)==null||(r=f.i18n)==null?void 0:r.domains,g);const _=((d=this[n].domainLocale)==null?void 0:d.defaultLocale)||((R=this[n].options.nextConfig)==null||(E=R.i18n)==null?void 0:E.defaultLocale);this[n].url.pathname=v.pathname,this[n].defaultLocale=_,this[n].basePath=v.basePath??"",this[n].buildId=v.buildId,this[n].locale=v.locale??_,this[n].trailingSlash=v.trailingSlash}formatPathname(){return(0,i.formatNextPathnameInfo)({basePath:this[n].basePath,buildId:this[n].buildId,defaultLocale:this[n].options.forceLocale?void 0:this[n].defaultLocale,locale:this[n].locale,pathname:this[n].url.pathname,trailingSlash:this[n].trailingSlash})}formatSearch(){return this[n].url.search}get buildId(){return this[n].buildId}set buildId(r){this[n].buildId=r}get locale(){return this[n].locale??""}set locale(r){var f,d;if(!this[n].locale||!(!((d=this[n].options.nextConfig)==null||(f=d.i18n)==null)&&f.locales.includes(r)))throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale "${r}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[n].locale=r}get defaultLocale(){return this[n].defaultLocale}get domainLocale(){return this[n].domainLocale}get searchParams(){return this[n].url.searchParams}get host(){return this[n].url.host}set host(r){this[n].url.host=r}get hostname(){return this[n].url.hostname}set hostname(r){this[n].url.hostname=r}get port(){return this[n].url.port}set port(r){this[n].url.port=r}get protocol(){return this[n].url.protocol}set protocol(r){this[n].url.protocol=r}get href(){const r=this.formatPathname(),f=this.formatSearch();return`${this.protocol}//${this.host}${r}${f}${this.hash}`}set href(r){this[n].url=t(r),this.analyze()}get origin(){return this[n].url.origin}get pathname(){return this[n].url.pathname}set pathname(r){this[n].url.pathname=r}get hash(){return this[n].url.hash}set hash(r){this[n].url.hash=r}get search(){return this[n].url.search}set search(r){this[n].url.search=r}get password(){return this[n].url.password}set password(r){this[n].url.password=r}get username(){return this[n].url.username}set username(r){this[n].url.username=r}get basePath(){return this[n].basePath}set basePath(r){this[n].basePath=r.startsWith("/")?r:`/${r}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new l(String(this),this[n].options)}}})(nr)),nr}var _r={},_a;function us(){return _a||(_a=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}a(s,{PageSignatureError:function(){return i},RemovedPageError:function(){return h},RemovedUAError:function(){return o}});class i extends Error{constructor({page:t}){super(`The middleware "${t}" accepts an async API directly with the form:
26
-
27
- export function middleware(request, event) {
28
- return NextResponse.redirect('/new-location')
29
- }
30
-
31
- Read more: https://nextjs.org/docs/messages/middleware-new-signature
32
- `)}}class h extends Error{constructor(){super("The request.page has been deprecated in favour of `URLPattern`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n ")}}class o extends Error{constructor(){super("The request.ua has been removed in favour of `userAgent` function.\n Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n ")}}})(_r)),_r}var Er={},mr,Ea;function cs(){if(Ea)return mr;Ea=1;var s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,h=Object.prototype.hasOwnProperty,o=(p,N)=>{for(var b in N)s(p,b,{get:N[b],enumerable:!0})},e=(p,N,b,C)=>{if(N&&typeof N=="object"||typeof N=="function")for(let S of i(N))!h.call(p,S)&&S!==b&&s(p,S,{get:()=>N[S],enumerable:!(C=a(N,S))||C.enumerable});return p},t=p=>e(s({},"__esModule",{value:!0}),p),n={};o(n,{RequestCookies:()=>_,ResponseCookies:()=>y,parseCookie:()=>c,parseSetCookie:()=>r,stringifyCookie:()=>l}),mr=t(n);function l(p){var N;const b=["path"in p&&p.path&&`Path=${p.path}`,"expires"in p&&(p.expires||p.expires===0)&&`Expires=${(typeof p.expires=="number"?new Date(p.expires):p.expires).toUTCString()}`,"maxAge"in p&&typeof p.maxAge=="number"&&`Max-Age=${p.maxAge}`,"domain"in p&&p.domain&&`Domain=${p.domain}`,"secure"in p&&p.secure&&"Secure","httpOnly"in p&&p.httpOnly&&"HttpOnly","sameSite"in p&&p.sameSite&&`SameSite=${p.sameSite}`,"partitioned"in p&&p.partitioned&&"Partitioned","priority"in p&&p.priority&&`Priority=${p.priority}`].filter(Boolean),C=`${p.name}=${encodeURIComponent((N=p.value)!=null?N:"")}`;return b.length===0?C:`${C}; ${b.join("; ")}`}function c(p){const N=new Map;for(const b of p.split(/; */)){if(!b)continue;const C=b.indexOf("=");if(C===-1){N.set(b,"true");continue}const[S,k]=[b.slice(0,C),b.slice(C+1)];try{N.set(S,decodeURIComponent(k??"true"))}catch{}}return N}function r(p){if(!p)return;const[[N,b],...C]=c(p),{domain:S,expires:k,httponly:z,maxage:G,path:ae,samesite:X,secure:Z,partitioned:fe,priority:pe}=Object.fromEntries(C.map(([ie,ve])=>[ie.toLowerCase().replace(/-/g,""),ve])),re={name:N,value:decodeURIComponent(b),domain:S,...k&&{expires:new Date(k)},...z&&{httpOnly:!0},...typeof G=="string"&&{maxAge:Number(G)},path:ae,...X&&{sameSite:E(X)},...Z&&{secure:!0},...pe&&{priority:v(pe)},...fe&&{partitioned:!0}};return f(re)}function f(p){const N={};for(const b in p)p[b]&&(N[b]=p[b]);return N}var d=["strict","lax","none"];function E(p){return p=p.toLowerCase(),d.includes(p)?p:void 0}var R=["low","medium","high"];function v(p){return p=p.toLowerCase(),R.includes(p)?p:void 0}function g(p){if(!p)return[];var N=[],b=0,C,S,k,z,G;function ae(){for(;b<p.length&&/\s/.test(p.charAt(b));)b+=1;return b<p.length}function X(){return S=p.charAt(b),S!=="="&&S!==";"&&S!==","}for(;b<p.length;){for(C=b,G=!1;ae();)if(S=p.charAt(b),S===","){for(k=b,b+=1,ae(),z=b;b<p.length&&X();)b+=1;b<p.length&&p.charAt(b)==="="?(G=!0,b=z,N.push(p.substring(C,k)),C=b):b=k+1}else b+=1;(!G||b>=p.length)&&N.push(p.substring(C,p.length))}return N}var _=class{constructor(p){this._parsed=new Map,this._headers=p;const N=p.get("cookie");if(N){const b=c(N);for(const[C,S]of b)this._parsed.set(C,{name:C,value:S})}}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...p){const N=typeof p[0]=="string"?p[0]:p[0].name;return this._parsed.get(N)}getAll(...p){var N;const b=Array.from(this._parsed);if(!p.length)return b.map(([S,k])=>k);const C=typeof p[0]=="string"?p[0]:(N=p[0])==null?void 0:N.name;return b.filter(([S])=>S===C).map(([S,k])=>k)}has(p){return this._parsed.has(p)}set(...p){const[N,b]=p.length===1?[p[0].name,p[0].value]:p,C=this._parsed;return C.set(N,{name:N,value:b}),this._headers.set("cookie",Array.from(C).map(([S,k])=>l(k)).join("; ")),this}delete(p){const N=this._parsed,b=Array.isArray(p)?p.map(C=>N.delete(C)):N.delete(p);return this._headers.set("cookie",Array.from(N).map(([C,S])=>l(S)).join("; ")),b}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(p=>`${p.name}=${encodeURIComponent(p.value)}`).join("; ")}},y=class{constructor(p){this._parsed=new Map;var N,b,C;this._headers=p;const S=(C=(b=(N=p.getSetCookie)==null?void 0:N.call(p))!=null?b:p.get("set-cookie"))!=null?C:[],k=Array.isArray(S)?S:g(S);for(const z of k){const G=r(z);G&&this._parsed.set(G.name,G)}}get(...p){const N=typeof p[0]=="string"?p[0]:p[0].name;return this._parsed.get(N)}getAll(...p){var N;const b=Array.from(this._parsed.values());if(!p.length)return b;const C=typeof p[0]=="string"?p[0]:(N=p[0])==null?void 0:N.name;return b.filter(S=>S.name===C)}has(p){return this._parsed.has(p)}set(...p){const[N,b,C]=p.length===1?[p[0].name,p[0].value,p[0]]:p,S=this._parsed;return S.set(N,I({name:N,value:b,...C})),P(S,this._headers),this}delete(...p){const[N,b]=typeof p[0]=="string"?[p[0]]:[p[0].name,p[0]];return this.set({...b,name:N,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(l).join("; ")}};function P(p,N){N.delete("set-cookie");for(const[,b]of p){const C=l(b);N.append("set-cookie",C)}}function I(p={name:"",value:""}){return typeof p.expires=="number"&&(p.expires=new Date(p.expires)),p.maxAge&&(p.expires=new Date(Date.now()+p.maxAge*1e3)),(p.path===null||p.path===void 0)&&(p.path="/"),p}return mr}var ma;function ls(){return ma||(ma=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(h,o){for(var e in o)Object.defineProperty(h,e,{enumerable:!0,get:o[e]})}a(s,{RequestCookies:function(){return i.RequestCookies},ResponseCookies:function(){return i.ResponseCookies},stringifyCookie:function(){return i.stringifyCookie}});const i=cs()})(Er)),Er}var Ra;function fs(){return Ra||(Ra=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(l,c){for(var r in c)Object.defineProperty(l,r,{enumerable:!0,get:c[r]})}a(s,{INTERNALS:function(){return t},NextRequest:function(){return n}});const i=ss(),h=_o(),o=us(),e=ls(),t=Symbol("internal request");class n extends Request{constructor(c,r={}){const f=typeof c!="string"&&"url"in c?c.url:String(c);(0,h.validateURL)(f),process.env.NEXT_RUNTIME!=="edge"&&r.body&&r.duplex!=="half"&&(r.duplex="half"),c instanceof Request?super(c,r):super(f,r);const d=new i.NextURL(f,{headers:(0,h.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:r.nextConfig});this[t]={cookies:new e.RequestCookies(this.headers),nextUrl:d,url:process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE?f:d.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[t].cookies}get nextUrl(){return this[t].nextUrl}get page(){throw new o.RemovedPageError}get ua(){throw new o.RemovedUAError}get url(){return this[t].url}}})(rr)),rr}var Rr={},va;function ds(){return va||(va=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(t,n){for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]})}a(s,{isNodeNextRequest:function(){return o},isNodeNextResponse:function(){return e},isWebNextRequest:function(){return i},isWebNextResponse:function(){return h}});const i=t=>process.env.NEXT_RUNTIME==="edge",h=t=>process.env.NEXT_RUNTIME==="edge",o=t=>process.env.NEXT_RUNTIME!=="edge",e=t=>process.env.NEXT_RUNTIME!=="edge"})(Rr)),Rr}var ya;function hs(){return ya||(ya=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(f,d){for(var E in d)Object.defineProperty(f,E,{enumerable:!0,get:d[E]})}a(s,{NextRequestAdapter:function(){return r},ResponseAborted:function(){return n},ResponseAbortedName:function(){return t},createAbortController:function(){return l},signalFromNodeResponse:function(){return c}});const i=Ji(),h=_o(),o=fs(),e=ds(),t="ResponseAborted";class n extends Error{constructor(...d){super(...d),this.name=t}}function l(f){const d=new AbortController;return f.once("close",()=>{f.writableFinished||d.abort(new n)}),d}function c(f){const{errored:d,destroyed:E}=f;if(d||E)return AbortSignal.abort(d??new n);const{signal:R}=l(f);return R}class r{static fromBaseNextRequest(d,E){if(process.env.NEXT_RUNTIME==="edge"&&(0,e.isWebNextRequest)(d))return r.fromWebNextRequest(d);if(process.env.NEXT_RUNTIME!=="edge"&&(0,e.isNodeNextRequest)(d))return r.fromNodeNextRequest(d,E);throw Object.defineProperty(new Error("Invariant: Unsupported NextRequest type"),"__NEXT_ERROR_CODE",{value:"E345",enumerable:!1,configurable:!0})}static fromNodeNextRequest(d,E){let R=null;d.method!=="GET"&&d.method!=="HEAD"&&d.body&&(R=d.body);let v;if(d.url.startsWith("http"))v=new URL(d.url);else{const g=(0,i.getRequestMeta)(d,"initURL");!g||!g.startsWith("http")?v=new URL(d.url,"http://n"):v=new URL(d.url,g)}return new o.NextRequest(v,{method:d.method,headers:(0,h.fromNodeOutgoingHttpHeaders)(d.headers),duplex:"half",signal:E,...E.aborted?{}:{body:R}})}static fromWebNextRequest(d){let E=null;return d.method!=="GET"&&d.method!=="HEAD"&&(E=d.body),new o.NextRequest(d.url,{method:d.method,headers:(0,h.fromNodeOutgoingHttpHeaders)(d.headers),duplex:"half",signal:d.request.signal,...d.request.signal.aborted?{}:{body:E}})}}})(Zt)),Zt}var vr={},ba;function ps(){return ba||(ba=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(n,l){for(var c in l)Object.defineProperty(n,c,{enumerable:!0,get:l[c]})}a(s,{getClientComponentLoaderMetrics:function(){return t},wrapClientComponentLoader:function(){return e}});let i=0,h=0,o=0;function e(n){return"performance"in globalThis?{require:(...l)=>{const c=performance.now();i===0&&(i=c);try{return o+=1,n.__next_app__.require(...l)}finally{h+=performance.now()-c}},loadChunk:(...l)=>{const c=performance.now(),r=n.__next_app__.loadChunk(...l);return r.finally(()=>{h+=performance.now()-c}),r}}:n.__next_app__}function t(n={}){const l=i===0?void 0:{clientComponentLoadStart:i,clientComponentLoadTimes:h,clientComponentLoadCount:o};return n.reset&&(i=0,h=0,o=0),l}})(vr)),vr}var Ta;function gs(){return Ta||(Ta=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(r,f){for(var d in f)Object.defineProperty(r,d,{enumerable:!0,get:f[d]})}a(s,{isAbortError:function(){return n},pipeToNodeResponse:function(){return c}});const i=hs(),h=sn(),o=rn(),e=it(),t=ps();function n(r){return r?.name==="AbortError"||r?.name===i.ResponseAbortedName}function l(r,f){let d=!1,E=new h.DetachedPromise;function R(){E.resolve()}r.on("drain",R),r.once("close",()=>{r.off("drain",R),E.resolve()});const v=new h.DetachedPromise;return r.once("finish",()=>{v.resolve()}),new WritableStream({write:async g=>{if(!d){if(d=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){const _=(0,t.getClientComponentLoaderMetrics)();_&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:_.clientComponentLoadStart,end:_.clientComponentLoadStart+_.clientComponentLoadTimes})}r.flushHeaders(),(0,o.getTracer)().trace(e.NextNodeServerSpan.startResponse,{spanName:"start response"},()=>{})}try{const _=r.write(g);"flush"in r&&typeof r.flush=="function"&&r.flush(),_||(await E.promise,E=new h.DetachedPromise)}catch(_){throw r.end(),Object.defineProperty(new Error("failed to write chunk to response",{cause:_}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:g=>{r.writableFinished||r.destroy(g)},close:async()=>{if(f&&await f,!r.writableFinished)return r.end(),v.promise}})}async function c(r,f,d){try{const{errored:E,destroyed:R}=f;if(E||R)return;const v=(0,i.createAbortController)(f),g=l(f,d);await r.pipeTo(g,{signal:v.signal})}catch(E){if(n(E))return;throw Object.defineProperty(new Error("failed to pipe response",{cause:E}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}})(Jt)),Jt}var Oa;function _s(){return Oa||(Oa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return o}});const a=Qi(),i=gs(),h=Ue();class o{static#e=this.EMPTY=new o(null,{metadata:{},contentType:null});static fromStatic(t,n){return new o(t,{metadata:{},contentType:n})}constructor(t,{contentType:n,waitUntil:l,metadata:c}){this.response=t,this.contentType=n,this.metadata=c,this.waitUntil=l}assignMetadata(t){Object.assign(this.metadata,t)}get isNull(){return this.response===null}get isDynamic(){return typeof this.response!="string"}toUnchunkedString(t=!1){if(this.response===null)return"";if(typeof this.response!="string"){if(!t)throw Object.defineProperty(new h.InvariantError("dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E732",enumerable:!1,configurable:!0});return(0,a.streamToString)(this.readable)}return this.response}get readable(){return this.response===null?new ReadableStream({start(t){t.close()}}):typeof this.response=="string"?(0,a.streamFromString)(this.response):Buffer.isBuffer(this.response)?(0,a.streamFromBuffer)(this.response):Array.isArray(this.response)?(0,a.chainStreams)(...this.response):this.response}coerce(){return this.response===null?[]:typeof this.response=="string"?[(0,a.streamFromString)(this.response)]:Array.isArray(this.response)?this.response:Buffer.isBuffer(this.response)?[(0,a.streamFromBuffer)(this.response)]:[this.response]}pipeThrough(t){this.response=this.readable.pipeThrough(t)}unshift(t){this.response=this.coerce(),this.response.unshift(t)}push(t){this.response=this.coerce(),this.response.push(t)}async pipeTo(t){try{await this.readable.pipeTo(t,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await t.close()}catch(n){if((0,i.isAbortError)(n)){await t.abort(n);return}throw n}}async pipeToNodeResponse(t){await(0,i.pipeToNodeResponse)(this.readable,t,this.waitUntil)}}})(Wt)),Wt}var yr={},Sa;function Es(){return Sa||(Sa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"RouteKind",{enumerable:!0,get:function(){return a}});var a=(function(i){return i.PAGES="PAGES",i.PAGES_API="PAGES_API",i.APP_PAGE="APP_PAGE",i.APP_ROUTE="APP_ROUTE",i.IMAGE="IMAGE",i})({})})(yr)),yr}var Pa;function ms(){return Pa||(Pa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(r,f){for(var d in f)Object.defineProperty(r,d,{enumerable:!0,get:f[d]})}a(s,{fromResponseCacheEntry:function(){return n},routeKindToIncrementalCacheKind:function(){return c},toResponseCacheEntry:function(){return l}});const i=go(),h=t(_s()),o=Es(),e=We();function t(r){return r&&r.__esModule?r:{default:r}}async function n(r){var f,d;return{...r,value:((f=r.value)==null?void 0:f.kind)===i.CachedRouteKind.PAGES?{kind:i.CachedRouteKind.PAGES,html:await r.value.html.toUnchunkedString(!0),pageData:r.value.pageData,headers:r.value.headers,status:r.value.status}:((d=r.value)==null?void 0:d.kind)===i.CachedRouteKind.APP_PAGE?{kind:i.CachedRouteKind.APP_PAGE,html:await r.value.html.toUnchunkedString(!0),postponed:r.value.postponed,rscData:r.value.rscData,headers:r.value.headers,status:r.value.status,segmentData:r.value.segmentData}:r.value}}async function l(r){var f,d;return r?{isMiss:r.isMiss,isStale:r.isStale,cacheControl:r.cacheControl,isFallback:r.isFallback,value:((f=r.value)==null?void 0:f.kind)===i.CachedRouteKind.PAGES?{kind:i.CachedRouteKind.PAGES,html:h.default.fromStatic(r.value.html,e.HTML_CONTENT_TYPE_HEADER),pageData:r.value.pageData,headers:r.value.headers,status:r.value.status}:((d=r.value)==null?void 0:d.kind)===i.CachedRouteKind.APP_PAGE?{kind:i.CachedRouteKind.APP_PAGE,html:h.default.fromStatic(r.value.html,e.HTML_CONTENT_TYPE_HEADER),rscData:r.value.rscData,headers:r.value.headers,status:r.value.status,postponed:r.value.postponed,segmentData:r.value.segmentData}:r.value}:null}function c(r){switch(r){case o.RouteKind.PAGES:return i.IncrementalCacheKind.PAGES;case o.RouteKind.APP_PAGE:return i.IncrementalCacheKind.APP_PAGE;case o.RouteKind.IMAGE:return i.IncrementalCacheKind.IMAGE;case o.RouteKind.APP_ROUTE:return i.IncrementalCacheKind.APP_ROUTE;case o.RouteKind.PAGES_API:throw Object.defineProperty(new Error(`Unexpected route kind ${r}`),"__NEXT_ERROR_CODE",{value:"E64",enumerable:!1,configurable:!0});default:return r}}})(Xt)),Xt}var Aa;function Ro(){return Aa||(Aa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return R}});const a=Bi(),i=po(),h=Fi(),o=an(),e=ms();t(go(),s);function t(v,g){return Object.keys(v).forEach(function(_){_!=="default"&&!Object.prototype.hasOwnProperty.call(g,_)&&Object.defineProperty(g,_,{enumerable:!0,get:function(){return v[_]}})}),v}function n(v,g){if(!v)return g;const _=parseInt(v,10);return Number.isFinite(_)&&_>0?_:g}const l=n(process.env.NEXT_PRIVATE_RESPONSE_CACHE_TTL,1e4),c=n(process.env.NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE,150),r="\0",f="__ttl_sentinel__";function d(v,g){return`${v}${r}${g??f}`}function E(v){const g=v.lastIndexOf(r);if(g===-1)return;const _=v.slice(g+1);return _===f?void 0:_}class R{constructor(g,_=c,y=l){this.getBatcher=a.Batcher.create({cacheKeyFn:({key:P,isOnDemandRevalidate:I})=>`${P}-${I?"1":"0"}`,schedulerFn:o.scheduleOnNextTick}),this.revalidateBatcher=a.Batcher.create({schedulerFn:o.scheduleOnNextTick}),this.evictedInvocationIDs=new Set,this.minimal_mode=g,this.maxSize=_,this.ttl=y,this.cache=new i.LRUCache(_,void 0,P=>{const I=E(P);if(I){if(this.evictedInvocationIDs.size>=100){const p=this.evictedInvocationIDs.values().next().value;p&&this.evictedInvocationIDs.delete(p)}this.evictedInvocationIDs.add(I)}})}async get(g,_,y){if(!g)return _({hasResolved:!1,previousCacheEntry:null});if(this.minimal_mode){const G=d(g,y.invocationID),ae=this.cache.get(G);if(ae){if(y.invocationID!==void 0)return(0,e.toResponseCacheEntry)(ae.entry);const X=Date.now();if(ae.expiresAt>X)return(0,e.toResponseCacheEntry)(ae.entry);this.cache.remove(G)}y.invocationID&&this.evictedInvocationIDs.has(y.invocationID)&&(0,h.warnOnce)(`Response cache entry was evicted for invocation ${y.invocationID}. Consider increasing NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE (current: ${this.maxSize}).`)}const{incrementalCache:P,isOnDemandRevalidate:I=!1,isFallback:p=!1,isRoutePPREnabled:N=!1,isPrefetch:b=!1,waitUntil:C,routeKind:S,invocationID:k}=y,z=await this.getBatcher.batch({key:g,isOnDemandRevalidate:I},({resolve:G})=>{const ae=this.handleGet(g,_,{incrementalCache:P,isOnDemandRevalidate:I,isFallback:p,isRoutePPREnabled:N,isPrefetch:b,routeKind:S,invocationID:k},G);return C&&C(ae),ae});return(0,e.toResponseCacheEntry)(z)}async handleGet(g,_,y,P){let I=null,p=!1;try{if(I=this.minimal_mode?null:await y.incrementalCache.get(g,{kind:(0,e.routeKindToIncrementalCacheKind)(y.routeKind),isRoutePPREnabled:y.isRoutePPREnabled,isFallback:y.isFallback}),I&&!y.isOnDemandRevalidate&&(P(I),p=!0,!I.isStale||y.isPrefetch))return I;const N=await this.revalidate(g,y.incrementalCache,y.isRoutePPREnabled,y.isFallback,_,I,I!==null&&!y.isOnDemandRevalidate,void 0,y.invocationID);if(!N){if(this.minimal_mode){const b=d(g,y.invocationID);this.cache.remove(b)}return null}return y.isOnDemandRevalidate&&!p,N}catch(N){if(p)return console.error(N),null;throw N}}async revalidate(g,_,y,P,I,p,N,b,C){return this.revalidateBatcher.batch(g,()=>{const S=this.handleRevalidate(g,_,y,P,I,p,N,C);return b&&b(S),S})}async handleRevalidate(g,_,y,P,I,p,N,b){try{const C=await I({hasResolved:N,previousCacheEntry:p,isRevalidating:!0});if(!C)return null;const S=await(0,e.fromResponseCacheEntry)({...C,isMiss:!p});if(S.cacheControl)if(this.minimal_mode){const k=d(g,b);this.cache.set(k,{entry:S,expiresAt:Date.now()+this.ttl})}else await _.set(g,S.value,{cacheControl:S.cacheControl,isRoutePPREnabled:y,isFallback:P});return S}catch(C){if(p?.cacheControl){const S=Math.min(Math.max(p.cacheControl.revalidate||3,3),30),k=p.cacheControl.expire===void 0?void 0:Math.max(S+3,p.cacheControl.expire);await _.set(g,p.value,{cacheControl:{revalidate:S,expire:k},isRoutePPREnabled:y,isFallback:P})}throw C}}}})(Ht)),Ht}var br={},Na;function vo(){return Na||(Na=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"encodeCacheTag",{enumerable:!0,get:function(){return h}});const a=/[^\t\x20-\x7e]/,i=/[^\t\x20-\x7e]+/g;function h(o){return a.test(o)?o.replace(i,e=>encodeURIComponent(e)):o}})(br)),br}var Ca;function yo(){return Ca||(Ca=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(S,k){for(var z in k)Object.defineProperty(S,z,{enumerable:!0,get:k[z]})}a(s,{NEXT_PATCH_SYMBOL:function(){return R},createPatchedFetcher:function(){return p},patchFetch:function(){return N},validateRevalidate:function(){return g},validateTags:function(){return _}});const i=it(),h=rn(),o=We(),e=on(),t=fo(),n=Gi(),l=He(),c=Ro(),r=ho(),f=nn(),d=vo(),E=process.env.NEXT_RUNTIME==="edge",R=Symbol.for("next-patch");function v(){return globalThis[R]===!0}function g(S,k){try{let z;if(S===!1)z=o.INFINITE_CACHE;else if(typeof S=="number"&&!isNaN(S)&&S>-1)z=S;else if(typeof S<"u")throw Object.defineProperty(new Error(`Invalid revalidate value "${S}" on "${k}", must be a non-negative number or false`),"__NEXT_ERROR_CODE",{value:"E179",enumerable:!1,configurable:!0});return z}catch(z){if(z instanceof Error&&z.message.includes("Invalid revalidate"))throw z;return}}function _(S,k){const z=[],G=[];for(let ae=0;ae<S.length;ae++){const X=S[ae];if(typeof X!="string"?G.push({tag:X,reason:"invalid type, must be a string"}):X.length>o.NEXT_CACHE_TAG_MAX_LENGTH?G.push({tag:X,reason:`exceeded max length of ${o.NEXT_CACHE_TAG_MAX_LENGTH}`}):z.push((0,d.encodeCacheTag)(X)),z.length>o.NEXT_CACHE_TAG_MAX_ITEMS){console.warn(`Warning: exceeded max tag count for ${k}, dropped tags:`,S.slice(ae).join(", "));break}}if(G.length>0){console.warn(`Warning: invalid tags passed to ${k}: `);for(const{tag:ae,reason:X}of G)console.log(`tag: "${ae}" ${X}`)}return z}function y(S,k){S.shouldTrackFetchMetrics&&(S.fetchMetrics??=[],S.fetchMetrics.push({...k,end:performance.timeOrigin+performance.now(),idx:S.nextFetchId||0}))}async function P(S,k,z,G,ae,X){const Z=await S.arrayBuffer(),fe={headers:Object.fromEntries(S.headers.entries()),body:Buffer.from(Z).toString("base64"),status:S.status,url:S.url};return z&&await G.set(k,{kind:c.CachedRouteKind.FETCH,data:fe,revalidate:ae},z),await X(),new Response(Z,{headers:S.headers,status:S.status,statusText:S.statusText})}async function I(S,k,z,G,ae,X,Z,fe,pe,re){const[ie,ve]=(0,r.cloneResponse)(k),m=ie.arrayBuffer().then(async H=>{const A=Buffer.from(H),M={headers:Object.fromEntries(ie.headers.entries()),body:A.toString("base64"),status:ie.status,url:ie.url};X?.set(z,M),G&&await ae.set(z,{kind:c.CachedRouteKind.FETCH,data:M,revalidate:Z},G)}).catch(H=>{re?.aborted||console.warn("Failed to set fetch cache",fe,H)}).finally(pe),w=`cache-set-${z}`,Y=S.pendingRevalidates??={};let U=Promise.resolve();return w in Y&&(U=Y[w]),Y[w]=U.then(()=>m).finally(()=>{Y?.[w]&&delete Y[w]}),ve}function p(S,{workAsyncStorage:k,workUnitAsyncStorage:z}){const G=async function(X,Z){var fe,pe;let re;try{re=new URL(X instanceof Request?X.url:X),re.username="",re.password=""}catch{re=void 0}const ie=re?.href??"",ve=(Z==null||(fe=Z.method)==null?void 0:fe.toUpperCase())||"GET",m=(Z==null||(pe=Z.next)==null?void 0:pe.internal)===!0,w=process.env.NEXT_OTEL_FETCH_DISABLED==="1",Y=m?void 0:performance.timeOrigin+performance.now(),U=k.getStore(),H=z.getStore();let A=H?(0,l.getCacheSignal)(H):null;A&&A.beginRead();const M=(0,h.getTracer)().trace(m?i.NextNodeServerSpan.internalFetch:i.AppRenderSpan.fetch,{hideSpan:w,kind:h.SpanKind.CLIENT,spanName:["fetch",ve,ie].filter(Boolean).join(" "),attributes:{"http.url":ie,"http.method":ve,"net.peer.name":re?.hostname,"net.peer.port":re?.port||void 0}},async()=>{var j;if(m||!U||U.isDraftMode)return S(X,Z);const D=X&&typeof X=="object"&&typeof X.method=="string",B=K=>Z?.[K]||(D?X[K]:null);let $;const de=K=>{var J,se,te;return typeof(Z==null||(J=Z.next)==null?void 0:J[K])<"u"?Z==null||(se=Z.next)==null?void 0:se[K]:D?(te=X.next)==null?void 0:te[K]:void 0},V=de("revalidate");let F=V;const ge=_(de("tags")||[],`fetch ${X.toString()}`);let he;if(H)switch(H.type){case"prerender":case"prerender-runtime":case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":he=H;break}if(he&&Array.isArray(ge)){const K=he.tags??(he.tags=[]);for(const J of ge)K.includes(J)||K.push(J)}const oe=H?.implicitTags;let _e=U.fetchCache;H&&H.type==="unstable-cache"&&(_e="force-no-store");const Ee=!!U.isUnstableNoStore;let Q=B("cache"),me="",Pe;typeof Q=="string"&&typeof F<"u"&&(Q==="force-cache"&&F===0||Q==="no-store"&&(F>0||F===!1))&&(Pe=`Specified "cache: ${Q}" and "revalidate: ${F}", only one should be specified.`,Q=void 0,F=void 0);const Ie=Q==="no-cache"||Q==="no-store"||_e==="force-no-store"||_e==="only-no-store",Me=!_e&&!Q&&!F&&U.forceDynamic;Q==="force-cache"&&typeof F>"u"?F=!1:(Ie||Me)&&(F=0),(Q==="no-cache"||Q==="no-store")&&(me=`cache: ${Q}`),$=g(F,U.route);const T=B("headers"),L=typeof T?.get=="function"?T:new Headers(T||{}),x=L.get("authorization")||L.get("cookie"),ee=!["get","head"].includes(((j=B("method"))==null?void 0:j.toLowerCase())||"get"),ce=_e==null&&(Q==null||Q==="default")&&F==null;let le=!!((x||ee)&&he?.revalidate===0),ye=!1;if(!le&&ce&&(U.isBuildTimePrerendering?ye=!0:le=!0),ce&&H!==void 0)switch(H.type){case"prerender":case"prerender-runtime":case"prerender-client":return A&&(A.endRead(),A=null),(0,t.makeHangingPromise)(H.renderSignal,U.route,"fetch()");case"validation-client":break;case"request":process.env.NODE_ENV==="development"&&H.stagedRendering&&(A&&(A.endRead(),A=null),await H.stagedRendering.waitForStage(f.RenderStage.Dynamic));break}switch(_e){case"force-no-store":{me="fetchCache = force-no-store";break}case"only-no-store":{if(Q==="force-cache"||typeof $<"u"&&$>0)throw Object.defineProperty(new Error(`cache: 'force-cache' used on fetch for ${ie} with 'export const fetchCache = 'only-no-store'`),"__NEXT_ERROR_CODE",{value:"E448",enumerable:!1,configurable:!0});me="fetchCache = only-no-store";break}case"only-cache":{if(Q==="no-store")throw Object.defineProperty(new Error(`cache: 'no-store' used on fetch for ${ie} with 'export const fetchCache = 'only-cache'`),"__NEXT_ERROR_CODE",{value:"E521",enumerable:!1,configurable:!0});break}case"force-cache":{(typeof F>"u"||F===0)&&(me="fetchCache = force-cache",$=o.INFINITE_CACHE);break}}if(typeof $>"u"?_e==="default-cache"&&!Ee?($=o.INFINITE_CACHE,me="fetchCache = default-cache"):_e==="default-no-store"?($=0,me="fetchCache = default-no-store"):Ee?($=0,me="noStore call"):le?($=0,me="auto no cache"):(me="auto cache",$=he?he.revalidate:o.INFINITE_CACHE):me||(me=`revalidate: ${$}`),!(U.forceStatic&&$===0)&&!le&&he&&$<he.revalidate){if($===0){if(H)switch(H.type){case"prerender":case"prerender-client":case"prerender-runtime":case"validation-client":return A&&(A.endRead(),A=null),(0,t.makeHangingPromise)(H.renderSignal,U.route,"fetch()");case"request":process.env.NODE_ENV==="development"&&H.stagedRendering&&(A&&(A.endRead(),A=null),await H.stagedRendering.waitForStage(f.RenderStage.Dynamic));break}(0,e.markCurrentScopeAsDynamic)(U,H,`revalidate: 0 fetch ${X} ${U.route}`)}he&&V===$&&(he.revalidate=$)}const Oe=typeof $=="number"&&$>0;let Te;const{incrementalCache:be}=U;let Se=!1,Ae;if(H)switch(H.type){case"request":case"cache":case"private-cache":Se=H.isHmrRefresh??!1,Ae=H.serverComponentsHmrCache;break}if(be&&(Oe||Ae))try{Te=await be.generateCacheKey(ie,D?X:Z)}catch{console.error("Failed to generate cache key for",X)}const Ce=U.nextFetchId??1;U.nextFetchId=Ce+1;let u=()=>{};const O=async(K,J)=>{const se=["cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","window","duplex",...K?[]:["signal"]];if(D){const Re=X,Ne={body:Re._ogBody||Re.body};for(const xe of se)Ne[xe]=Re[xe];X=new Request(Re.url,Ne)}else if(Z){const{_ogBody:Re,body:Ne,signal:xe,...ut}=Z;Z={...ut,body:Re||Ne,signal:K?void 0:xe}}const te={...Z,next:{...Z?.next,fetchType:"origin",fetchIdx:Ce}};return S(X,te).then(async Re=>{if(!K&&Y&&y(U,{start:Y,url:ie,cacheReason:J||me,cacheStatus:$===0||J?"skip":"miss",cacheWarning:Pe,status:Re.status,method:te.method||"GET"}),Re.status===200&&be&&Te&&(Oe||Ae)){const Ne=$>=o.INFINITE_CACHE?o.CACHE_ONE_YEAR_SECONDS:$,xe=Oe?{fetchCache:!0,fetchUrl:ie,fetchIdx:Ce,tags:ge,isImplicitBuildTimeCache:ye}:void 0;switch(H?.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return P(Re,Te,xe,be,Ne,u);case"request":if(process.env.NODE_ENV==="development"&&H.stagedRendering&&H.cacheSignal&&Oe)return P(Re,Te,xe,be,Ne,u);case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":case void 0:return I(U,Re,Te,xe,be,Ae,Ne,X,u,B("signal"))}}return await u(),Re}).catch(Re=>{throw u(),Re})};let q,W=!1,ne=!1;if(Te&&be){let K;if(Se&&Ae&&(K=Ae.get(Te),ne=!0),Oe&&!K){u=await be.lock(Te);const J=U.isOnDemandRevalidate?null:await be.get(Te,{kind:c.IncrementalCacheKind.FETCH,revalidate:$,fetchUrl:ie,fetchIdx:Ce,tags:ge,softTags:oe?.tags});if(ce&&H)switch(H.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":await C();break;case"request":process.env.NODE_ENV==="development"&&H.stagedRendering&&await H.stagedRendering.waitForStage(f.RenderStage.Dynamic);break}if(J?await u():q="cache-control: no-cache (hard refresh)",J?.value&&J.value.kind===c.CachedRouteKind.FETCH)if(U.isStaticGeneration&&J.isStale)W=!0;else{if(J.isStale&&(U.pendingRevalidates??={},!U.pendingRevalidates[Te])){const se=O(!0).then(async te=>({body:await te.arrayBuffer(),headers:te.headers,status:te.status,statusText:te.statusText})).finally(()=>{U.pendingRevalidates??={},delete U.pendingRevalidates[Te||""]});se.catch(console.error),U.pendingRevalidates[Te]=se}K=J.value.data}}if(K){Y&&y(U,{start:Y,url:ie,cacheReason:me,cacheStatus:ne?"hmr":"hit",cacheWarning:Pe,status:K.status||200,method:Z?.method||"GET"});const J=new Response(Buffer.from(K.body,"base64"),{headers:K.headers,status:K.status});return Object.defineProperty(J,"url",{value:K.url}),J}}if((U.isStaticGeneration||process.env.NODE_ENV==="development"&&process.env.__NEXT_CACHE_COMPONENTS&&H&&H.type==="request"&&H.stagedRendering)&&Z&&typeof Z=="object"){const{cache:K}=Z;if(E&&delete Z.cache,K==="no-store"){if(H)switch(H.type){case"prerender":case"prerender-client":case"prerender-runtime":case"validation-client":return A&&(A.endRead(),A=null),(0,t.makeHangingPromise)(H.renderSignal,U.route,"fetch()");case"request":process.env.NODE_ENV==="development"&&H.stagedRendering&&(A&&(A.endRead(),A=null),await H.stagedRendering.waitForStage(f.RenderStage.Dynamic));break}(0,e.markCurrentScopeAsDynamic)(U,H,`no-store fetch ${X} ${U.route}`)}const J="next"in Z,{next:se={}}=Z;if(typeof se.revalidate=="number"&&he&&se.revalidate<he.revalidate){if(se.revalidate===0){if(H)switch(H.type){case"prerender":case"prerender-client":case"prerender-runtime":case"validation-client":return(0,t.makeHangingPromise)(H.renderSignal,U.route,"fetch()");case"request":process.env.NODE_ENV==="development"&&H.stagedRendering&&await H.stagedRendering.waitForStage(f.RenderStage.Dynamic);break}(0,e.markCurrentScopeAsDynamic)(U,H,`revalidate: 0 fetch ${X} ${U.route}`)}(!U.forceStatic||se.revalidate!==0)&&(he.revalidate=se.revalidate)}J&&delete Z.next}if(Te&&W){const K=Te;U.pendingRevalidates??={};let J=U.pendingRevalidates[K];if(J){const te=await J;return new Response(te.body,{headers:te.headers,status:te.status,statusText:te.statusText})}const se=O(!0,q).then(r.cloneResponse);return J=se.then(async te=>{const Re=te[0];return{body:await Re.arrayBuffer(),headers:Re.headers,status:Re.status,statusText:Re.statusText}}).finally(()=>{var te;(te=U.pendingRevalidates)!=null&&te[K]&&delete U.pendingRevalidates[K]}),J.catch(()=>{}),U.pendingRevalidates[K]=J,se.then(te=>te[1])}else return O(!1,q)});if(A)try{return await M}finally{A&&A.endRead()}return M};return G.__nextPatched=!0,G.__nextGetStaticStore=()=>k,G._nextOriginalFetch=S,globalThis[R]=!0,Object.defineProperty(G,"name",{value:"fetch",writable:!1}),G}function N(S){if(v())return;const k=(0,n.createDedupeFetch)(globalThis.fetch);globalThis.fetch=p(k,S)}let b=null;function C(){return b||(b=new Promise(S=>{setTimeout(()=>{b=null,S()},0)})),b}})(ft)),ft}var wa;function Rs(){return wa||(wa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"unstable_cache",{enumerable:!0,get:function(){return l}});const a=We(),i=yo(),h=Ke(),o=He(),e=Ro();let t=0;async function n(r,f,d,E,R,v,g){await f.set(d,{kind:e.CachedRouteKind.FETCH,data:{headers:{},body:JSON.stringify(r),status:200,url:""},revalidate:typeof R!="number"?a.CACHE_ONE_YEAR_SECONDS:R},{fetchCache:!0,tags:E,fetchIdx:v,fetchUrl:g})}function l(r,f,d={}){if(d.revalidate===0)throw Object.defineProperty(new Error(`Invariant revalidate: 0 can not be passed to unstable_cache(), must be "false" or "> 0" ${r.toString()}`),"__NEXT_ERROR_CODE",{value:"E57",enumerable:!1,configurable:!0});const E=d.tags?(0,i.validateTags)(d.tags,`unstable_cache ${r.toString()}`):[];(0,i.validateRevalidate)(d.revalidate,`unstable_cache ${r.name||r.toString()}`);const R=`${r.toString()}-${Array.isArray(f)&&f.join(",")}`;return async(...g)=>{const _=h.workAsyncStorage.getStore(),y=o.workUnitAsyncStorage.getStore(),P=_?.incrementalCache||globalThis.__incrementalCache;if(!P)throw Object.defineProperty(new Error(`Invariant: incrementalCache missing in unstable_cache ${r.toString()}`),"__NEXT_ERROR_CODE",{value:"E469",enumerable:!1,configurable:!0});const I=P,p=y?(0,o.getCacheSignal)(y):null;p&&p.beginRead();try{const N=_&&y?c(_,y):"",b=`${R}-${JSON.stringify(g)}`,C=await I.generateCacheKey(b),S=`unstable_cache ${N} ${r.name?` ${r.name}`:C}`,k=(_?_.nextFetchId:t)??1,z=y?.implicitTags,G={type:"unstable-cache",phase:"render",implicitTags:z,draftMode:y&&_&&(0,o.getDraftModeProviderForCacheScope)(_,y),rootParams:void 0};if(_){_.nextFetchId=k+1;let ae=!1;if(y)switch(y.type){case"cache":case"private-cache":case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":typeof d.revalidate=="number"&&(y.revalidate<d.revalidate||(y.revalidate=d.revalidate));const Z=y.tags;if(Z===null)y.tags=E.slice();else for(const fe of E)Z.includes(fe)||Z.push(fe);break;case"unstable-cache":ae=!0;break;case"prerender-client":case"validation-client":case"request":case"generate-static-params":break;default:}if(!ae&&_.fetchCache!=="force-no-store"&&!_.isOnDemandRevalidate&&!I.isOnDemandRevalidate&&!_.isDraftMode){const Z=await I.get(C,{kind:e.IncrementalCacheKind.FETCH,revalidate:d.revalidate,tags:E,softTags:z?.tags,fetchIdx:k,fetchUrl:S});if(Z&&Z.value)if(Z.value.kind!==e.CachedRouteKind.FETCH)console.error(`Invariant invalid cacheEntry returned for ${b}`);else{const fe=Z.value.data.body!==void 0?JSON.parse(Z.value.data.body):void 0;if(Z.isStale){if(_.pendingRevalidates||(_.pendingRevalidates={}),!_.pendingRevalidates[b]){const pe=o.workUnitAsyncStorage.run(G,r,...g).then(async re=>(await n(re,I,C,E,d.revalidate,k,S),re)).catch(re=>(console.error(`revalidating cache with key: ${b}`,re),fe));_.isStaticGeneration&&pe.catch(()=>{}),_.pendingRevalidates[b]=pe}if(_.isStaticGeneration)return await _.pendingRevalidates[b]}return fe}}const X=await o.workUnitAsyncStorage.run(G,r,...g);return _.isDraftMode||(_.pendingRevalidates||(_.pendingRevalidates={}),_.pendingRevalidates[b]=n(X,I,C,E,d.revalidate,k,S)),X}else{if(t+=1,!I.isOnDemandRevalidate){const X=await I.get(C,{kind:e.IncrementalCacheKind.FETCH,revalidate:d.revalidate,tags:E,fetchIdx:k,fetchUrl:S,softTags:z?.tags});if(X&&X.value){if(X.value.kind!==e.CachedRouteKind.FETCH)console.error(`Invariant invalid cacheEntry returned for ${b}`);else if(!X.isStale)return X.value.data.body!==void 0?JSON.parse(X.value.data.body):void 0}}const ae=await o.workUnitAsyncStorage.run(G,r,...g);return await n(ae,I,C,E,d.revalidate,k,S),ae}}finally{p&&p.endRead()}}}function c(r,f){switch(f.type){case"request":const d=f.url.pathname,E=new URLSearchParams(f.url.search),R=[...E.keys()].sort((v,g)=>v.localeCompare(g)).map(v=>`${v}=${E.get(v)}`).join("&");return`${d}${R.length?"?":""}${R}`;case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return r.route;default:return f}}})(ct)),ct}var Tr={},Or={},Sr={},Da;function vs(){return Da||(Da=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}a(s,{getSortedRouteObjects:function(){return o},getSortedRoutes:function(){return h}});class i{insert(t){this._insert(t.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(t="/"){const n=[...this.children.keys()].sort();this.slugName!==null&&n.splice(n.indexOf("[]"),1),this.restSlugName!==null&&n.splice(n.indexOf("[...]"),1),this.optionalRestSlugName!==null&&n.splice(n.indexOf("[[...]]"),1);const l=n.map(c=>this.children.get(c)._smoosh(`${t}${c}/`)).reduce((c,r)=>[...c,...r],[]);if(this.slugName!==null&&l.push(...this.children.get("[]")._smoosh(`${t}[${this.slugName}]/`)),!this.placeholder){const c=t==="/"?"/":t.slice(0,-1);if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error(`You cannot define a route with the same specificity as a optional catch-all route ("${c}" and "${c}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});l.unshift(c)}return this.restSlugName!==null&&l.push(...this.children.get("[...]")._smoosh(`${t}[...${this.restSlugName}]/`)),this.optionalRestSlugName!==null&&l.push(...this.children.get("[[...]]")._smoosh(`${t}[[...${this.optionalRestSlugName}]]/`)),l}_insert(t,n,l){if(t.length===0){this.placeholder=!1;return}if(l)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let c=t[0];if(c.startsWith("[")&&c.endsWith("]")){let d=function(E,R){if(E!==null&&E!==R)throw Object.defineProperty(new Error(`You cannot use different slug names for the same dynamic path ('${E}' !== '${R}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});n.forEach(v=>{if(v===R)throw Object.defineProperty(new Error(`You cannot have the same slug name "${R}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(v.replace(/\W/g,"")===c.replace(/\W/g,""))throw Object.defineProperty(new Error(`You cannot have the slug names "${v}" and "${R}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),n.push(R)},r=c.slice(1,-1),f=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),f=!0),r.startsWith("…"))throw Object.defineProperty(new Error(`Detected a three-dot character ('…') at ('${r}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(r.startsWith("...")&&(r=r.substring(3),l=!0),r.startsWith("[")||r.endsWith("]"))throw Object.defineProperty(new Error(`Segment names may not start or end with extra brackets ('${r}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(r.startsWith("."))throw Object.defineProperty(new Error(`Segment names may not start with erroneous periods ('${r}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});if(l)if(f){if(this.restSlugName!=null)throw Object.defineProperty(new Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${t[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});d(this.optionalRestSlugName,r),this.optionalRestSlugName=r,c="[[...]]"}else{if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${t[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});d(this.restSlugName,r),this.restSlugName=r,c="[...]"}else{if(f)throw Object.defineProperty(new Error(`Optional route parameters are not yet supported ("${t[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});d(this.slugName,r),this.slugName=r,c="[]"}}this.children.has(c)||this.children.set(c,new i),this.children.get(c)._insert(t.slice(1),n,l)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function h(e){const t=new i;return e.forEach(n=>t.insert(n)),t.smoosh()}function o(e,t){const n={},l=[];for(let r=0;r<e.length;r++){const f=t(e[r]);n[f]=r,l[r]=f}return h(l).map(r=>e[n[r]])}})(Sr)),Sr}var Pr={},Ar={},Nr={},Cr={},Ia;function ys(){return Ia||(Ia=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ensureLeadingSlash",{enumerable:!0,get:function(){return a}});function a(i){return i.startsWith("/")?i:`/${i}`}})(Cr)),Cr}var wr={},xa;function bs(){return xa||(xa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(f,d){for(var E in d)Object.defineProperty(f,E,{enumerable:!0,get:d[E]})}a(s,{DEFAULT_SEGMENT_KEY:function(){return c},NOT_FOUND_SEGMENT_KEY:function(){return r},PAGE_SEGMENT_KEY:function(){return l},addSearchParamsIfPageSegment:function(){return e},computeSelectedLayoutSegment:function(){return t},getSegmentValue:function(){return i},getSelectedLayoutSegmentPath:function(){return n},isGroupSegment:function(){return h},isParallelRouteSegment:function(){return o}});function i(f){return Array.isArray(f)?f[1]:f}function h(f){return f[0]==="("&&f.endsWith(")")}function o(f){return f.startsWith("@")&&f!=="@children"}function e(f,d){if(f.includes(l)){const R=JSON.stringify(d);return R!=="{}"?l+"?"+R:l}return f}function t(f,d){if(!f||f.length===0)return null;const E=d==="children"?f[0]:f[f.length-1];return E===c?null:E}function n(f,d,E=!0,R=[]){let v;if(E)v=f[1][d];else{const y=f[1];v=y.children??Object.values(y)[0]}if(!v)return R;const g=v[0];let _=i(g);return!_||_.startsWith(l)?R:(R.push(_),n(v,d,!1,R))}const l="__PAGE__",c="__DEFAULT__",r="/_not-found"})(wr)),wr}var Ma;function Ts(){return Ma||(Ma=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(n,l){for(var c in l)Object.defineProperty(n,c,{enumerable:!0,get:l[c]})}a(s,{compareAppPaths:function(){return e},normalizeAppPath:function(){return o},normalizeRscURL:function(){return t}});const i=ys(),h=bs();function o(n){return(0,i.ensureLeadingSlash)(n.split("/").reduce((l,c,r,f)=>!c||(0,h.isGroupSegment)(c)||c[0]==="@"||(c==="page"||c==="route")&&r===f.length-1?l:`${l}/${c}`,""))}function e(n,l){const c=n.includes("/@"),r=l.includes("/@");return c&&!r?-1:!c&&r?1:n.localeCompare(l)}function t(n){return n.replace(/\.rsc($|\?)/,"$1")}})(Nr)),Nr}var La;function Os(){return La||(La=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(t,n){for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]})}a(s,{INTERCEPTION_ROUTE_MARKERS:function(){return h},extractInterceptionRouteInformation:function(){return e},isInterceptionRouteAppPath:function(){return o}});const i=Ts(),h=["(..)(..)","(.)","(..)","(...)"];function o(t){return t.split("/").find(n=>h.find(l=>n.startsWith(l)))!==void 0}function e(t){let n,l,c;for(const r of t.split("/"))if(l=h.find(f=>r.startsWith(f)),l){[n,c]=t.split(l,2);break}if(!n||!l||!c)throw Object.defineProperty(new Error(`Invalid interception route: ${t}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(n=(0,i.normalizeAppPath)(n),l){case"(.)":n==="/"?c=`/${c}`:c=n+"/"+c;break;case"(..)":if(n==="/")throw Object.defineProperty(new Error(`Invalid interception route: ${t}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});c=n.split("/").slice(0,-1).concat(c).join("/");break;case"(...)":c="/"+c;break;case"(..)(..)":const r=n.split("/");if(r.length<=2)throw Object.defineProperty(new Error(`Invalid interception route: ${t}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});c=r.slice(0,-2).concat(c).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:n,interceptedRoute:c}}})(Ar)),Ar}var ja;function Ss(){return ja||(ja=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"isDynamicRoute",{enumerable:!0,get:function(){return o}});const a=Os(),i=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,h=/\/\[[^/]+\](?=\/|$)/;function o(e,t=!0){return(0,a.isInterceptionRouteAppPath)(e)&&(e=(0,a.extractInterceptionRouteInformation)(e).interceptedRoute),t?h.test(e):i.test(e)}})(Pr)),Pr}var Ua;function Ps(){return Ua||(Ua=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(o,e){for(var t in e)Object.defineProperty(o,t,{enumerable:!0,get:e[t]})}a(s,{getSortedRouteObjects:function(){return i.getSortedRouteObjects},getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return h.isDynamicRoute}});const i=vs(),h=Ss()})(Or)),Or}var Dr={},Ha;function As(){return Ha||(Ha=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}a(s,{ActionDidNotRevalidate:function(){return i},ActionDidRevalidateDynamicOnly:function(){return o},ActionDidRevalidateStaticAndDynamic:function(){return h}});const i=0,h=1,o=2})(Dr)),Dr}var $a;function nt(){return $a||($a=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0});function a(_,y){for(var P in y)Object.defineProperty(_,P,{enumerable:!0,get:y[P]})}a(s,{refresh:function(){return R},revalidatePath:function(){return v},revalidateTag:function(){return d},updateTag:function(){return E}});const i=on(),h=Ps(),o=We(),e=Ke(),t=He(),n=uo(),l=Ue(),c=As(),r=Eo(),f=vo();function d(_,y){return y||console.warn('"revalidateTag" without the second argument is now deprecated, add second argument of "max" or use "updateTag". See more info here: https://nextjs.org/docs/messages/revalidate-tag-single-arg'),g([(0,f.encodeCacheTag)(_)],`revalidateTag ${_}`,y)}function E(_){const y=e.workAsyncStorage.getStore();if(!y||y.page.endsWith("/route"))throw Object.defineProperty(new Error("updateTag can only be called from within a Server Action. To invalidate cache tags in Route Handlers or other contexts, use revalidateTag instead. See more info here: https://nextjs.org/docs/app/api-reference/functions/updateTag"),"__NEXT_ERROR_CODE",{value:"E872",enumerable:!1,configurable:!0});return g([(0,f.encodeCacheTag)(_)],`updateTag ${_}`,void 0)}function R(){const _=e.workAsyncStorage.getStore(),y=t.workUnitAsyncStorage.getStore();if(!_||_.page.endsWith("/route")||y?.phase!=="action")throw Object.defineProperty(new Error("refresh can only be called from within a Server Action. See more info here: https://nextjs.org/docs/app/api-reference/functions/refresh"),"__NEXT_ERROR_CODE",{value:"E870",enumerable:!1,configurable:!0});_&&(_.pathWasRevalidated=c.ActionDidRevalidateDynamicOnly)}function v(_,y){if(_.length>o.NEXT_CACHE_SOFT_TAG_MAX_LENGTH){console.warn(`Warning: revalidatePath received "${_}" which exceeded max length of ${o.NEXT_CACHE_SOFT_TAG_MAX_LENGTH}. See more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);return}let P=`${o.NEXT_CACHE_IMPLICIT_TAG_ID}${(0,f.encodeCacheTag)((0,r.removeTrailingSlash)(_))}`;y?P+=`${P.endsWith("/")?"":"/"}${y}`:(0,h.isDynamicRoute)(_)&&console.warn(`Warning: a dynamic page path "${_}" was passed to "revalidatePath", but the "type" parameter is missing. This has no effect by default, see more info here https://nextjs.org/docs/app/api-reference/functions/revalidatePath`);const I=[P];return P===`${o.NEXT_CACHE_IMPLICIT_TAG_ID}/`?I.push(`${o.NEXT_CACHE_IMPLICIT_TAG_ID}/index`):P===`${o.NEXT_CACHE_IMPLICIT_TAG_ID}/index`&&I.push(`${o.NEXT_CACHE_IMPLICIT_TAG_ID}/`),g(I,`revalidatePath ${_}`)}function g(_,y,P){var I;const p=e.workAsyncStorage.getStore();if(!p||!p.incrementalCache)throw Object.defineProperty(new Error(`Invariant: static generation store missing in ${y}`),"__NEXT_ERROR_CODE",{value:"E263",enumerable:!1,configurable:!0});const N=t.workUnitAsyncStorage.getStore();if(N){if(N.phase==="render")throw Object.defineProperty(new Error(`Route ${p.route} used "${y}" during render which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E7",enumerable:!1,configurable:!0});switch(N.type){case"cache":case"private-cache":throw Object.defineProperty(new Error(`Route ${p.route} used "${y}" inside a "use cache" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E181",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(new Error(`Route ${p.route} used "${y}" inside a function cached with "unstable_cache(...)" which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E306",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new Error(`Route ${p.route} used "${y}" inside \`generateStaticParams\` which is unsupported. To ensure revalidation is performed consistently it must always happen outside of renders and cached functions. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E1127",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":const C=Object.defineProperty(new Error(`Route ${p.route} used ${y} without first calling \`await connection()\`.`),"__NEXT_ERROR_CODE",{value:"E406",enumerable:!1,configurable:!0});return(0,i.abortAndThrowOnSynchronousRequestDataAccess)(p.route,y,C,N);case"prerender-client":case"validation-client":throw Object.defineProperty(new l.InvariantError(`${y} must not be used within a client component. Next.js should be preventing ${y} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,i.postponeWithTracking)(p.route,y,N.dynamicTracking);case"prerender-legacy":N.revalidate=0;const S=Object.defineProperty(new n.DynamicServerError(`Route ${p.route} couldn't be rendered statically because it used \`${y}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw p.dynamicUsageDescription=y,p.dynamicUsageStack=S.stack,S;case"request":process.env.NODE_ENV!=="production"&&(N.usedDynamic=!0);break}}p.pendingRevalidatedTags||(p.pendingRevalidatedTags=[]);for(const C of _)p.pendingRevalidatedTags.findIndex(k=>k.tag!==C?!1:typeof k.profile=="string"&&typeof P=="string"?k.profile===P:typeof k.profile=="object"&&typeof P=="object"?JSON.stringify(k.profile)===JSON.stringify(P):k.profile===P)===-1&&p.pendingRevalidatedTags.push({tag:C,profile:P});const b=P&&typeof P=="object"?P:P&&typeof P=="string"&&(!(p==null||(I=p.cacheLifeProfiles)==null)&&I[P])?p.cacheLifeProfiles[P]:void 0;(!P||b?.expire===0)&&(p.pathWasRevalidated=c.ActionDidRevalidateStaticAndDynamic)}})(Tr)),Tr}var Ir={},qa;function Ns(){return qa||(qa=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"unstable_noStore",{enumerable:!0,get:function(){return o}});const a=Ke(),i=He(),h=on();function o(){const e="unstable_noStore()",t=a.workAsyncStorage.getStore(),n=i.workUnitAsyncStorage.getStore();if(t){if(t.forceStatic)return;if(t.isUnstableNoStore=!0,n)switch(n.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return}(0,h.markCurrentScopeAsDynamic)(t,n,e)}else return}})(Ir)),Ir}var xr={},ka;function Cs(){return ka||(ka=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"cacheLife",{enumerable:!0,get:function(){return e}});const a=Ue(),i=Ke(),h=He();function o(t){if(t.stale!==void 0){if(t.stale===!1)throw Object.defineProperty(new Error("Pass `Infinity` instead of `false` if you want to cache on the client forever without checking with the server."),"__NEXT_ERROR_CODE",{value:"E407",enumerable:!1,configurable:!0});if(typeof t.stale!="number")throw Object.defineProperty(new Error("The stale option must be a number of seconds."),"__NEXT_ERROR_CODE",{value:"E308",enumerable:!1,configurable:!0})}if(t.revalidate!==void 0){if(t.revalidate===!1)throw Object.defineProperty(new Error("Pass `Infinity` instead of `false` if you do not want to revalidate by time."),"__NEXT_ERROR_CODE",{value:"E104",enumerable:!1,configurable:!0});if(typeof t.revalidate!="number")throw Object.defineProperty(new Error("The revalidate option must be a number of seconds."),"__NEXT_ERROR_CODE",{value:"E233",enumerable:!1,configurable:!0})}if(t.expire!==void 0){if(t.expire===!1)throw Object.defineProperty(new Error("Pass `Infinity` instead of `false` if you want to cache on the server forever without checking with the origin."),"__NEXT_ERROR_CODE",{value:"E658",enumerable:!1,configurable:!0});if(typeof t.expire!="number")throw Object.defineProperty(new Error("The expire option must be a number of seconds."),"__NEXT_ERROR_CODE",{value:"E3",enumerable:!1,configurable:!0})}if(t.revalidate!==void 0&&t.expire!==void 0&&t.revalidate>t.expire)throw Object.defineProperty(new Error("If providing both the revalidate and expire options, the expire option must be greater than the revalidate option. The expire option indicates how many seconds from the start until it can no longer be used."),"__NEXT_ERROR_CODE",{value:"E656",enumerable:!1,configurable:!0})}function e(t){if(!process.env.__NEXT_USE_CACHE)throw Object.defineProperty(new Error("`cacheLife()` is only available with the `cacheComponents` config."),"__NEXT_ERROR_CODE",{value:"E887",enumerable:!1,configurable:!0});const n=h.workUnitAsyncStorage.getStore();switch(n?.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":case"request":case"unstable-cache":case"generate-static-params":case void 0:throw Object.defineProperty(new Error('`cacheLife()` can only be called inside a "use cache" function.'),"__NEXT_ERROR_CODE",{value:"E818",enumerable:!1,configurable:!0})}if(typeof t=="string"){const l=i.workAsyncStorage.getStore();if(!l)throw Object.defineProperty(new Error("`cacheLife()` can only be called during App Router rendering at the moment."),"__NEXT_ERROR_CODE",{value:"E820",enumerable:!1,configurable:!0});if(!l.cacheLifeProfiles)throw Object.defineProperty(new a.InvariantError("`cacheLifeProfiles` should always be provided."),"__NEXT_ERROR_CODE",{value:"E817",enumerable:!1,configurable:!0});const c=l.cacheLifeProfiles[t];if(c===void 0)throw l.cacheLifeProfiles[t.trim()]?Object.defineProperty(new Error(`Unknown \`cacheLife()\` profile "${t}" is not configured in next.config.js
33
- Did you mean "${t.trim()}" without the spaces?`),"__NEXT_ERROR_CODE",{value:"E816",enumerable:!1,configurable:!0}):Object.defineProperty(new Error(`Unknown \`cacheLife()\` profile "${t}" is not configured in next.config.js
34
- module.exports = {
35
- cacheLife: {
36
- "${t}": ...
37
- }
38
- }`),"__NEXT_ERROR_CODE",{value:"E888",enumerable:!1,configurable:!0});t=c}else{if(typeof t!="object"||t===null||Array.isArray(t))throw Object.defineProperty(new Error("Invalid `cacheLife()` option. Either pass a profile name or object."),"__NEXT_ERROR_CODE",{value:"E814",enumerable:!1,configurable:!0});o(t)}t.revalidate!==void 0&&(n.explicitRevalidate===void 0||n.explicitRevalidate>t.revalidate)&&(n.explicitRevalidate=t.revalidate),t.expire!==void 0&&(n.explicitExpire===void 0||n.explicitExpire>t.expire)&&(n.explicitExpire=t.expire),t.stale!==void 0&&(n.explicitStale===void 0||n.explicitStale>t.stale)&&(n.explicitStale=t.stale)}})(xr)),xr}var Mr={},Ga;function ws(){return Ga||(Ga=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"cacheTag",{enumerable:!0,get:function(){return h}});const a=He(),i=yo();function h(...o){if(!process.env.__NEXT_USE_CACHE)throw Object.defineProperty(new Error("`cacheTag()` is only available with the `cacheComponents` config."),"__NEXT_ERROR_CODE",{value:"E886",enumerable:!1,configurable:!0});const e=a.workUnitAsyncStorage.getStore();switch(e?.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":case"request":case"unstable-cache":case"generate-static-params":case void 0:throw Object.defineProperty(new Error('`cacheTag()` can only be called inside a "use cache" function.'),"__NEXT_ERROR_CODE",{value:"E819",enumerable:!1,configurable:!0})}const t=(0,i.validateTags)(o,"`cacheTag()`");e.tags?e.tags.push(...t):e.tags=t}})(Mr)),Mr}var Ba;function Ds(){return Ba||(Ba=1,(function(s,a){let i;if(process.env.NEXT_RUNTIME===""){const n=l=>function(){throw new Error(`\`${l}\` is only available in a Server Component.`)};i={unstable_cache:function(c){return typeof c!="function"?c:function(){return c.apply(this,arguments)}},unstable_noStore:function(){},updateTag:n("updateTag"),revalidateTag:n("revalidateTag"),revalidatePath:n("revalidatePath"),refresh:n("refresh"),cacheLife:n("cacheLife"),cacheTag:n("cacheTag")}}else i={unstable_cache:Rs().unstable_cache,updateTag:nt().updateTag,revalidateTag:nt().revalidateTag,revalidatePath:nt().revalidatePath,refresh:nt().refresh,unstable_noStore:Ns().unstable_noStore,cacheLife:Cs().cacheLife,cacheTag:ws().cacheTag};let h=!1;function o(){if(!h){h=!0;const n=new Error("`unstable_cacheLife` was recently stabilized and should be imported as `cacheLife`. The `unstable` prefixed form will be removed in a future version of Next.js.");console.error(n)}return i.cacheLife.apply(this,arguments)}let e=!1;function t(){if(!e){e=!0;const n=new Error("`unstable_cacheTag` was recently stabilized and should be imported as `cacheTag`. The `unstable` prefixed form will be removed in a future version of Next.js.");console.error(n)}return i.cacheTag.apply(this,arguments)}i.unstable_cacheLife=o,i.unstable_cacheTag=t,s.exports=i,a.unstable_cache=i.unstable_cache,a.revalidatePath=i.revalidatePath,a.revalidateTag=i.revalidateTag,a.updateTag=i.updateTag,a.unstable_noStore=i.unstable_noStore,a.cacheLife=i.cacheLife,a.unstable_cacheLife=i.unstable_cacheLife,a.cacheTag=i.cacheTag,a.unstable_cacheTag=i.unstable_cacheTag,a.refresh=i.refresh})(ze,ze.exports)),ze.exports}var Is=Ds();exports.cacheExports=Is;exports.createClient=Gr;exports.getActiveLanguagesServerSide=Po;exports.getProfileWithRoleServerSide=So;exports.getServiceRoleSupabaseClient=Ao;