makearmy-app/.next/server/chunks/4825.js

5 lines
175 KiB
JavaScript
Raw Normal View History

2025-09-22 10:37:53 -04:00
exports.id=4825,exports.ids=[4825],exports.modules={1765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return a}}),r(72639);let n=r(37413);r(61120);let o={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};function a(e){let{status:t,message:r}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("title",{children:t+": "+r}),(0,n.jsx)("div",{style:o.error,children:(0,n.jsxs)("div",{children:[(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,n.jsx)("h1",{className:"next-error-h1",style:o.h1,children:t}),(0,n.jsx)("div",{style:o.desc,children:(0,n.jsx)("h2",{style:o.h2,children:r})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{IconKeys:function(){return n},ViewportMetaKeys:function(){return r}});let r={width:"width",height:"height",initialScale:"initial-scale",minimumScale:"minimum-scale",maximumScale:"maximum-scale",viewportFit:"viewport-fit",userScalable:"user-scalable",interactiveWidget:"interactive-widget"},n=["icon","shortcut","apple","other"]},6255:(e,t)=>{"use strict";function r(e){return e.default||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interopDefault",{enumerable:!0,get:function(){return r}})},7308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatServerError:function(){return a},getStackWithoutErrorMessage:function(){return o}});let r=["useDeferredValue","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useReducer","useRef","useState","useSyncExternalStore","useTransition","experimental_useOptimistic","useOptimistic"];function n(e,t){if(e.message=t,e.stack){let r=e.stack.split("\n");r[0]=t,e.stack=r.join("\n")}}function o(e){let t=e.stack;return t?t.replace(/^[^\n]*\n/,""):""}function a(e){if("string"==typeof(null==e?void 0:e.message)){if(e.message.includes("Class extends value undefined is not a constructor or null")){let t="This might be caused by a React Class Component being rendered in a Server Component, React Class Components only works in Client Components. Read more: https://nextjs.org/docs/messages/class-component-in-server-component";if(e.message.includes(t))return;n(e,`${e.message}
${t}`);return}if(e.message.includes("createContext is not a function"))return void n(e,'createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component');for(let t of r)if(RegExp(`\\b${t}\\b.*is not a function`).test(e.message))return void n(e,`${t} only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/react-client-hook-in-server-component`)}}},7797:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return o}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ROOT_SEGMENT_KEY:function(){return a},convertSegmentPathToStaticExportFilename:function(){return s},encodeChildSegmentKey:function(){return i},encodeSegment:function(){return o}});let n=r(35499);function o(e){if("string"==typeof e)return e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:"/_not-found"===e?"_not-found":l(e);let t=e[0],r=e[1],o=e[2],a=l(t);return"$"+o+"$"+a+"$"+l(r)}let a="";function i(e,t,r){return e+"/"+("children"===t?r:"@"+l(t)+"/"+r)}let u=/^[a-zA-Z0-9\-_@]+$/;function l(e){return u.test(e)?e:"!"+btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function s(e){return"__next"+e.replace(/\//g,".")+".txt"}},8681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isRequestAPICallableInsideAfter:function(){return l},throwForSearchParamsAccessInUseCache:function(){return u},throwWithStaticGenerationBailoutError:function(){return a},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return i}});let n=r(7797),o=r(3295);function a(e,t){throw Object.defineProperty(new n.StaticGenBailoutError(`Route ${e} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function i(e,t){throw Object.defineProperty(new n.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function u(e){let t=Object.defineProperty(Error(`Route ${e.route} used "searchParams" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "searchParams" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E634",enumerable:!1,configurable:!0});throw e.invalidUsageError??=t,t}function l(){let e=o.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},8704:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HTTPAccessErrorStatus:function(){return r},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return o},getAccessFallbackErrorTypeByStatus:function(){return u},getAccessFallbackHTTPStatus:function(){return i},i
Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport`)}!function(e,t,r,n,o,i){var u,l;if(!r)return;let{icon:s,apple:c,openGraph:f,twitter:d,manifest:p}=r;if(s&&(i.icon=s),c&&(i.apple=c),d&&!(null==e||null==(u=e.twitter)?void 0:u.hasOwnProperty("images"))){let e=(0,a.resolveTwitter)({...t.twitter,images:d},t.metadataBase,{...n,isStaticMetadataRouteFile:!0},o.twitter);t.twitter=e}if(f&&!(null==e||null==(l=e.openGraph)?void 0:l.hasOwnProperty("images"))){let e=(0,a.resolveOpenGraph)({...t.openGraph,images:f},t.metadataBase,{...n,isStaticMetadataRouteFile:!0},o.openGraph);t.openGraph=e}p&&(t.manifest=p)}(e,t,r,o,n,s)}({target:n,source:I(P)?await P:P,metadataContext:t,staticFilesMetadata:O,titleTemplates:l,buildState:s,leafSegmentStaticIcons:d}),o<e.length-2&&(l={title:(null==(b=n.title)?void 0:b.template)||null,openGraph:(null==(_=n.openGraph)?void 0:_.title.template)||null,twitter:(null==(v=n.twitter)?void 0:v.title.template)||null})}if((d.icon.length>0||d.apple.length>0)&&!n.icons&&(n.icons={icon:[],apple:[]},d.icon.length>0&&n.icons.icon.unshift(...d.icon),d.apple.length>0&&n.icons.apple.unshift(...d.apple)),s.warnings.size>0)for(let e of s.warnings)h.warn(e);return function(e,t,r,n){let{openGraph:o,twitter:i}=e;if(o){let t={},u=T(i),l=null==i?void 0:i.description,s=!!((null==i?void 0:i.hasOwnProperty("images"))&&i.images);if(!u&&(M(o.title)?t.title=o.title:e.title&&M(e.title)&&(t.title=e.title)),l||(t.description=o.description||e.description||void 0),s||(t.images=o.images),Object.keys(t).length>0){let o=(0,a.resolveTwitter)(t,e.metadataBase,n,r.twitter);e.twitter?e.twitter=Object.assign({},e.twitter,{...!u&&{title:null==o?void 0:o.title},...!l&&{description:null==o?void 0:o.description},...!s&&{images:null==o?void 0:o.images}}):e.twitter=o}}return x(o,e),x(i,e),t&&(e.icons||(e.icons={icon:[],apple:[]}),e.icons.icon.unshift(t)),e}(n,r,l,t)}async function D(e){let t=(0,o.createDefaultViewport)(),r=function(e){let t=[];for(let r=0;r<e.length;r++)A(t,e[r]);return t}(e),n=0;for(;n<r.length;){let e,o=r[n++];if("function"==typeof o){let e=o;o=r[n++],e(t)}!function({target:e,source:t}){if(t)for(let r in t)switch(r){case"themeColor":e.themeColor=(0,c.resolveThemeColor)(t.themeColor);break;case"colorScheme":e.colorScheme=t.colorScheme||null;break;default:e[r]=t[r]}}({target:t,source:I(o)?await o:o})}return t}async function C(e,t,r,n,o,a){return k(await R(e,t,r,n,o),a)}async function N(e,t,r,n,o){return D(await S(e,t,r,n,o))}function I(e){return"object"==typeof e&&null!==e&&"function"==typeof e.then}},43210:(e,t,r)=>{"use strict";e.exports=r(94041).vendored["react-ssr"].React},43763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},46033:(e,t,r)=>{"use strict";e.exports=r(65239).vendored["react-rsc"].ReactDOM},46453:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},46577:(e,t,r)=>{let{createProxy:n}=r(39844);e.exports=n("/app/node_modules/next/dist/client/components/metadata/metadata-boundary.js")},49026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{REDIRECT_ERROR_CODE:function(){return o},RedirectType:function(){return a},isRedirectError:function(){return i}});let n=r(52836),o="NEXT_REDIRECT";var a=function(e){return e.push="push",e.replace="replace",e}({});function i(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,a]=t,i=t.slice(2,-2).join(";"),u=Number(t.at(-2));return r===o&&("replace"===a||"push"===a)&&"string"==typeof i&&!isNaN(
${t}`))}function N(){if(!f)throw Object.defineProperty(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 I(e){N();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}function F(e){let t=new AbortController;return e.cacheSignal?e.cacheSignal.inputReady().then(()=>{t.abort()}):(0,c.scheduleOnNextTick)(()=>t.abort()),t.signal}function U(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function $(e){let t=u.workAsyncStorage.getStore();if(t&&t.isStaticGeneration&&t.fallbackRouteParams&&t.fallbackRouteParams.size>0){let r=i.workUnitAsyncStorage.getStore();r&&("prerender"===r.type?n.default.use((0,l.makeHangingPromise)(r.renderSignal,e)):"prerender-ppr"===r.type?w(t.route,e,r.dynamicTracking):"prerender-legacy"===r.type&&m(e,t,r))}}let L=/\n\s+at Suspense \(<anonymous>\)/,H=RegExp(`\\n\\s+at ${s.METADATA_BOUNDARY_NAME}[\\n\\s]`),B=RegExp(`\\n\\s+at ${s.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),W=RegExp(`\\n\\s+at ${s.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function G(e,t,r,n,o){if(!W.test(t)){if(H.test(t)){r.hasDynamicMetadata=!0;return}if(B.test(t)){r.hasDynamicViewport=!0;return}if(L.test(t)){r.hasSuspendedDynamic=!0;return}else if(n.syncDynamicErrorWithStack||o.syncDynamicErrorWithStack){r.hasSyncDynamicErrors=!0;return}else{let n=function(e,t){let r=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r.stack="Error: "+e+t,r}(`Route "${e}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,t);r.dynamicErrors.push(n);return}}}function X(e,t,r,n){let o,i,u;if(r.syncDynamicErrorWithStack?(o=r.syncDynamicErrorWithStack,i=r.syncDynamicExpression,u=!0===r.syncDynamicLogged):n.syncDynamicErrorWithStack?(o=n.syncDynamicErrorWithStack,i=n.syncDynamicExpression,u=!0===n.syncDynamicLogged):(o=null,i=void 0,u=!1),t.hasSyncDynamicErrors&&o)throw u||console.error(o),new a.StaticGenBailoutError;let l=t.dynamicErrors;if(l.length){for(let e=0;e<l.length;e++)console.error(l[e]);throw new a.StaticGenBailoutError}if(!t.hasSuspendedDynamic){if(t.hasDynamicMetadata){if(o)throw console.error(o),Object.defineProperty(new a.StaticGenBailoutError(`Route "${e}" has a \`generateMetadata\` that could not finish rendering before ${i} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E608",enumerable:!1,configurable:!0});throw Object.defineProperty(new a.StaticGenBailoutError(`Route "${e}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E534",enumerable:!1,configurable:!0})}else if(t.hasDynamicViewport){if(o)throw console.error(o),Object.defineProperty(new a.StaticGenBailoutError(`Route "${e}" has a \`generateViewport\` that could not finish rendering before ${i} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E573",enumerable:!1,configurable:!0});throw Object.defineProperty(new a.StaticGenBailoutError(`Route "${e}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\