@ai-development-environment/server 0.0.30 → 0.0.32
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/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/app-path-routes-manifest.json +1 -0
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/routes-manifest.json +9 -0
- package/standalone/.next/server/app/[locale]/actions/page.js +2 -1
- package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/page.js +2 -1
- package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page.js +2 -1
- package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js +2 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/page.js +2 -1
- package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page.js +2 -1
- package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/comments/page.js +2 -1
- package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/page.js +2 -1
- package/standalone/.next/server/app/[locale]/jira/cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page.js +2 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page.js +2 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/settings/page.js +2 -1
- package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page.js +2 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/page.js +2 -1
- package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/tools/page.js +2 -1
- package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/usage/page.js +2 -1
- package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js +2 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page.js +2 -1
- package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route/app-paths-manifest.json +3 -0
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route/build-manifest.json +9 -0
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route/server-reference-manifest.json +4 -0
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +11 -0
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.map +5 -0
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -0
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route_client-reference-manifest.js +3 -0
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js +4 -3
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
- package/standalone/.next/server/app-paths-manifest.json +1 -0
- package/standalone/.next/server/chunks/07_e_builds_[buildId]_artifacts_[artifactId]_manifest_plist_route_actions_18mzaf3.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__08mnmfs._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0906ea6._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__09skp6r._.js → [root-of-the-server]__0cz4ap5._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0nvcazp._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1wtng3p._.js → [root-of-the-server]__12807ia._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__1csx222._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0zyqmd4._.js → [root-of-the-server]__1ix62p0._.js} +3 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1j-hk6b._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__15aat79._.js → [root-of-the-server]__1j0u03u._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__1qmvsu_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1w59u6o._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-ypkf7._.js → [root-of-the-server]__1z-3x8k._.js} +1 -1
- package/standalone/.next/server/chunks/_0exkna-._.js +51 -1
- package/standalone/.next/server/chunks/_0jurkow._.js +1 -1
- package/standalone/.next/server/chunks/_0rx5rfm._.js +1 -1
- package/standalone/.next/server/chunks/_0tufgj0._.js +111 -61
- package/standalone/.next/server/chunks/_0w2eghf._.js +51 -1
- package/standalone/.next/server/chunks/_152rnkf._.js +3 -3
- package/standalone/.next/server/chunks/_16x77b_._.js +1 -1
- package/standalone/.next/server/chunks/_1dbqy8c._.js +3 -3
- package/standalone/.next/server/chunks/_1vrixpc._.js +3 -3
- package/standalone/.next/server/chunks/_1yfz-9u._.js +3 -3
- package/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_08x37wy.js +6 -0
- package/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0eghv0a.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__08bbv6z._.js +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ckj6wg._.js +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0qy28ku._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1potsqg._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0a1ligo._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_1n9rteq._.js → _1f5k6bj._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
- package/standalone/.next/server/chunks/ssr/node_modules_0obs0k7._.js +5 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_1ep9xf4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +20 -10
- package/standalone/.next/server/functions-config-manifest.json +5 -2
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/{1ut0xkaqsykm4.js → 0mq066ue0yufb.js} +1 -1
- package/standalone/.next/static/chunks/{041g9raf1naqv.js → 175269y15-grc.js} +1 -1
- package/standalone/.next/static/chunks/17t4ft9o1tqw3.js +35 -0
- package/standalone/.next/static/chunks/{3q0q6_ntq8aa5.js → 208k3moxxd_53.js} +1 -1
- package/standalone/.next/static/chunks/2zwijj9t6y7gn.js +7 -0
- package/standalone/.next/static/chunks/398uw5_4-ciaz.css +1 -0
- package/standalone/.next/static/chunks/{29zl8lgsa28tb.js → 3l2g83119oyl0.js} +1 -1
- package/standalone/src/services/builds/artifact-cache.test.ts +271 -0
- package/standalone/src/services/builds/artifact-cache.ts +272 -0
- package/standalone/src/services/builds/artifact-transfer.ts +2 -1
- package/standalone/src/services/builds/builds.service.ts +139 -56
- package/standalone/.next/server/chunks/[root-of-the-server]__02vqwey._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0rwpsai._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__10-ftkj._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_1n5939e._.js +0 -5
- package/standalone/.next/static/chunks/3p7wbgo7qd6_m.css +0 -1
- package/standalone/.next/static/chunks/3vg6y29m047x9.js +0 -31
- /package/standalone/.next/static/{ePu377E66yy0icQx3ykQJ → qUqJkVkzos1XoXFl7PSxx}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{ePu377E66yy0icQx3ykQJ → qUqJkVkzos1XoXFl7PSxx}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{ePu377E66yy0icQx3ykQJ → qUqJkVkzos1XoXFl7PSxx}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
module.exports=[920916,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return e}});class d extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class e extends URLSearchParams{append(){throw new d}delete(){throw new d}set(){throw new d}sort(){throw new d}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},21170,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"RedirectStatusCode",{enumerable:!0,get:function(){return e}});var d,e=((d={})[d.SeeOther=303]="SeeOther",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},328859,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={REDIRECT_ERROR_CODE:function(){return g},isRedirectError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(21170),g="NEXT_REDIRECT";function h(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,d]=b,e=b.slice(2,-2).join(";"),h=Number(b.at(-2));return c===g&&("replace"===d||"push"===d)&&"string"==typeof e&&!isNaN(h)&&h in f.RedirectStatusCode}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},844868,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(21170),g=a.r(328859),h=a.r(120635).actionAsyncStorage;function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Object.defineProperty(Error(g.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h?.getStore()?.isAction?"push":"replace",f.RedirectStatusCode.TemporaryRedirect)}function k(a,b="replace"){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},789798,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={HTTPAccessErrorStatus:function(){return f},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return h},getAccessFallbackErrorTypeByStatus:function(){return k},getAccessFallbackHTTPStatus:function(){return j},isHTTPAccessFallbackError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},g=new Set(Object.values(f)),h="NEXT_HTTP_ERROR_FALLBACK";function i(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,c]=a.digest.split(";");return b===h&&g.has(Number(c))}function j(a){return Number(a.digest.split(";")[1])}function k(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},416155,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"notFound",{enumerable:!0,get:function(){return f}});let d=a.r(789798),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,configurable:!0});throw a.digest=e,a}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},934557,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"forbidden",{enumerable:!0,get:function(){return d}}),a.r(789798).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},493845,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unauthorized",{enumerable:!0,get:function(){return d}}),a.r(789798).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},473808,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isPostpone",{enumerable:!0,get:function(){return e}});let d=Symbol.for("react.postpone");function e(a){return"object"==typeof a&&null!==a&&a.$$typeof===d}},401567,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isNextRouterError",{enumerable:!0,get:function(){return f}});let d=a.r(789798),e=a.r(328859);function f(a){return(0,e.isRedirectError)(a)||(0,d.isHTTPAccessFallbackError)(a)}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},894783,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,h.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=a.r(13091),e=a.r(473808),f=a.r(149640),g=a.r(401567),h=a.r(660384),i=a.r(696556);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},260968,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=a.r(894783).unstable_rethrow;("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},673727,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return m},forbidden:function(){return i.forbidden},notFound:function(){return h.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return j.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return k.unstable_rethrow}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(920916),g=a.r(844868),h=a.r(416155),i=a.r(934557),j=a.r(493845),k=a.r(260968);function l(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let m={push:"push",replace:"replace"};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},570396,a=>{"use strict";a.i(673727),a.s([])},983386,a=>{"use strict";function b(a,b,c,d){let e=null==d||"number"==typeof d||"boolean"==typeof d?d:c(d),f=b.get(e);return void 0===f&&(f=a.call(this,d),b.set(e,f)),f}function c(a,b,c){let d=Array.prototype.slice.call(arguments,3),e=c(d),f=b.get(e);return void 0===f&&(f=a.apply(this,d),b.set(e,f)),f}let d=function(){return JSON.stringify(arguments)};var e=class{constructor(){this.cache=Object.create(null)}get(a){return this.cache[a]}set(a,b){this.cache[a]=b}};let f={create:function(){return new e}};a.s(["memoize",0,function(a,e){let g=e&&e.cache?e.cache:f,h=e&&e.serializer?e.serializer:d;return(e&&e.strategy?e.strategy:function(a,d){var e,f;let g=1===a.length?b:c;return e=d.cache.create(),f=d.serializer,g.bind(this,a,e,f)})(a,{cache:g,serializer:h})},"strategies",0,{variadic:function(a,b){var d,e;return d=b.cache.create(),e=b.serializer,c.bind(this,a,d,e)},monadic:function(a,c){var d,e;return d=c.cache.create(),e=c.serializer,b.bind(this,a,d,e)}}])},118845,a=>{"use strict";var b,c=a.i(983386),d=((b=d||{}).MISSING_MESSAGE="MISSING_MESSAGE",b.MISSING_FORMAT="MISSING_FORMAT",b.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",b.INSUFFICIENT_PATH="INSUFFICIENT_PATH",b.INVALID_MESSAGE="INVALID_MESSAGE",b.INVALID_KEY="INVALID_KEY",b.FORMATTING_ERROR="FORMATTING_ERROR",b);function e(a,b){return(0,c.memoize)(a,{cache:{create:()=>({get:a=>b[a],set(a,c){b[a]=c}})},strategy:c.strategies.variadic})}function f(a,b){return e((...b)=>new a(...b),b)}a.s(["I",0,class extends Error{constructor(a,b){let c=a;b&&(c+=": "+b),super(c),this.code=a,b&&(this.originalMessage=b)}},"a",0,d,"b",0,function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},"c",0,function(a){return{getDateTimeFormat:f(Intl.DateTimeFormat,a.dateTime),getNumberFormat:f(Intl.NumberFormat,a.number),getPluralRules:f(Intl.PluralRules,a.pluralRules),getRelativeTimeFormat:f(Intl.RelativeTimeFormat,a.relativeTime),getListFormat:f(Intl.ListFormat,a.list),getDisplayNames:f(Intl.DisplayNames,a.displayNames)}},"m",0,e])},731811,a=>{"use strict";var b,c=a.i(983386);let d=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,e=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,f=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,g=/^(@+)?(\+|#+)?[rs]?$/g,h=/(\*)(0+)|(#+)(0+)|(0+)/g,i=/^(0+)$/;function j(a){let b={};return"r"===a[a.length-1]?b.roundingPriority="morePrecision":"s"===a[a.length-1]&&(b.roundingPriority="lessPrecision"),a.replace(g,function(a,c,d){return"string"!=typeof d?(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length):"+"===d?b.minimumSignificantDigits=c.length:"#"===c[0]?b.maximumSignificantDigits=c.length:(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length+("string"==typeof d?d.length:0)),""}),b}function k(a){switch(a){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function l(a){let b=k(a);return b||{}}let m=((b={})[b.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",b[b.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",b[b.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",b[b.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",b[b.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",b[b.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",b[b.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",b[b.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",b[b.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",b[b.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",b[b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",b[b.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",b[b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",b[b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",b[b.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",b[b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",b[b.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",b[b.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",b[b.INVALID_TAG=23]="INVALID_TAG",b[b.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",b[b.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",b[b.UNCLOSED_TAG=27]="UNCLOSED_TAG",b);function n(a){return!!(a&&"object"==typeof a&&0===a.type)}function o(a){return!!(a&&"object"==typeof a&&1===a.type)}let p=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,q={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},r=RegExp(`^${p.source}*`),s=RegExp(`${p.source}*$`);function t(a,b){return{start:a,end:b}}let u=!!Object.fromEntries,v=!!String.prototype.trimStart,w=!!String.prototype.trimEnd,x=u?Object.fromEntries:function(a){let b={};for(let[c,d]of a)b[c]=d;return b},y=v?function(a){return a.trimStart()}:function(a){return a.replace(r,"")},z=w?function(a){return a.trimEnd()}:function(a){return a.replace(s,"")},A=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var B=class{constructor(a,b={}){this.message=a,this.position={offset:0,line:1,column:1},this.ignoreTag=!!b.ignoreTag,this.locale=b.locale,this.requiresOtherClause=!!b.requiresOtherClause,this.shouldParseSkeletons=!!b.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let a=this.message.charCodeAt(0);if(35!==a&&39!==a&&60!==a&&123!==a&&125!==a){let a=function(a){if(0===a.length)return null;let b=1,c=1;for(let d=0;d<a.length;){let e=a.charCodeAt(d);switch(e){case 35:case 39:case 60:case 123:case 125:return null}if(10===e)b++,c=1,d++;else if(c++,e>=55296&&e<=56319&&d+1<a.length){let b=a.charCodeAt(d+1);d+=b>=56320&&b<=57343?2:1}else d++}return{offset:a.length,line:b,column:c}}(this.message);if(a){let b=this.clonePosition();return this.position=a,{val:[{type:0,value:this.message,location:t(b,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(a,b,c){let d=[];for(;!this.isEOF();){let e=this.char();if(123===e){let b=this.parseArgument(a,c);if(b.err)return b;d.push(b.val)}else if(125===e&&a>0)break;else if(35===e&&("plural"===b||"selectordinal"===b)){let a=this.clonePosition();this.bump(),d.push({type:7,location:t(a,this.clonePosition())})}else if(60!==e||this.ignoreTag||47!==this.peek())if(60===e&&!this.ignoreTag&&C(this.peek()||0)){let c=this.parseTag(a,b);if(c.err)return c;d.push(c.val)}else{let c=this.parseLiteral(a,b);if(c.err)return c;d.push(c.val)}else if(!c)return this.error(26,t(this.clonePosition(),this.clonePosition()));else break}return{val:d,err:null}}parseTag(a,b){let c=this.clonePosition();this.bump();let d=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${d}/>`,location:t(c,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,t(c,this.clonePosition()));{let e=this.parseMessage(a+1,b,!0);if(e.err)return e;let f=e.val,g=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,t(c,this.clonePosition()));{if(this.isEOF()||!C(this.char()))return this.error(23,t(g,this.clonePosition()));let a=this.clonePosition();return d!==this.parseTagName()?this.error(26,t(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:d,children:f,location:t(c,this.clonePosition())},err:null}:this.error(23,t(g,this.clonePosition()))}}}parseTagName(){var a;let b=this.offset();for(this.bump();!this.isEOF()&&(45===(a=this.char())||46===a||a>=48&&a<=57||95===a||a>=97&&a<=122||a>=65&&a<=90||183==a||a>=192&&a<=214||a>=216&&a<=246||a>=248&&a<=893||a>=895&&a<=8191||a>=8204&&a<=8205||a>=8255&&a<=8256||a>=8304&&a<=8591||a>=11264&&a<=12271||a>=12289&&a<=55295||a>=63744&&a<=64975||a>=65008&&a<=65533||a>=65536&&a<=983039);)this.bump();return this.message.slice(b,this.offset())}parseLiteral(a,b){let c=this.clonePosition(),d="";for(;;){let c=this.tryParseQuote(b);if(c){d+=c;continue}let e=this.tryParseUnquoted(a,b);if(e){d+=e;continue}let f=this.tryParseLeftAngleBracket();if(f){d+=f;continue}break}return{val:{type:0,value:d,location:t(c,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var a;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(C(a=this.peek()||0)||47===a)?null:(this.bump(),"<")}tryParseQuote(a){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===a||"selectordinal"===a)break;return null;default:return null}this.bump();let b=[this.char()];for(this.bump();!this.isEOF();){let a=this.char();if(39===a)if(39===this.peek())b.push(39),this.bump();else{this.bump();break}else b.push(a);this.bump()}return String.fromCodePoint(...b)}tryParseUnquoted(a,b){if(this.isEOF())return null;let c=this.char();return 60===c||123===c||35===c&&("plural"===b||"selectordinal"===b)||125===c&&a>0?null:(this.bump(),String.fromCodePoint(c))}parseArgument(a,b){let c=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,t(c,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,t(c,this.clonePosition()));let d=this.parseIdentifierIfPossible().value;if(!d)return this.error(3,t(c,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,t(c,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:d,location:t(c,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,t(c,this.clonePosition()));return this.parseArgumentOptions(a,b,d,c);default:return this.error(3,t(c,this.clonePosition()))}}parseIdentifierIfPossible(){var a;let b=this.clonePosition(),c=this.offset(),d=(a=this.message,A.lastIndex=c,A.exec(a)[1]??""),e=c+d.length;return this.bumpTo(e),{value:d,location:t(b,this.clonePosition())}}parseArgumentOptions(a,b,c,e){let f=this.clonePosition(),g=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(g){case"":return this.error(4,t(f,h));case"number":case"date":case"time":{this.bumpSpace();let a=null;if(this.bumpIf(",")){this.bumpSpace();let b=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;let d=z(c.val);if(0===d.length)return this.error(6,t(this.clonePosition(),this.clonePosition()));a={style:d,styleLocation:t(b,this.clonePosition())}}let b=this.tryParseArgumentClose(e);if(b.err)return b;let f=t(e,this.clonePosition());if(a&&a.style.startsWith("::")){let b=y(a.style.slice(2));if("number"===g){let d=this.parseNumberSkeletonFromString(b,a.styleLocation);if(d.err)return d;return{val:{type:2,value:c,location:f,style:d.val},err:null}}{let e;if(0===b.length)return this.error(10,f);let h=b;return this.locale&&(h=function(a,b){let c="";for(let d=0;d<a.length;d++){let e=a.charAt(d);if("j"===e){let f=0;for(;d+1<a.length&&a.charAt(d+1)===e;)f++,d++;let g=1+(1&f),h=f<2?1:3+(f>>1),i=function(a){let b,c=a.hourCycle;if(void 0===c&&a.hourCycles&&a.hourCycles.length&&(c=a.hourCycles[0]),c)switch(c){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let d=a.language;return"root"!==d&&(b=a.maximize().region),(q[b||""]||q[d||""]||q[`${d}-001`]||q["001"])[0]}(b);for(("H"==i||"k"==i)&&(h=0);h-- >0;)c+="a";for(;g-- >0;)c=i+c}else"J"===e?c+="H":c+=e}return c}(b,this.locale)),{val:{type:"date"===g?3:4,value:c,location:f,style:{type:1,pattern:h,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?(e={},h.replace(d,a=>{let b=a.length;switch(a[0]){case"G":e.era=4===b?"long":5===b?"narrow":"short";break;case"y":e.year=2===b?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][b-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][b-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===b?"long":5===b?"narrow":"short";break;case"e":if(b<4)throw RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][b-3];break;case"c":if(b<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][b-3];break;case"a":e.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][b-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][b-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][b-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][b-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][b-1];break;case"s":e.second=["numeric","2-digit"][b-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=b<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e):{}}},err:null}}}return{val:{type:"number"===g?2:"date"===g?3:4,value:c,location:f,style:a?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,t(d,{...d}));this.bumpSpace();let f=this.parseIdentifierIfPossible(),h=0;if("select"!==g&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(13,t(this.clonePosition(),this.clonePosition()));this.bumpSpace();let a=this.tryParseDecimalInteger(13,14);if(a.err)return a;this.bumpSpace(),f=this.parseIdentifierIfPossible(),h=a.val}let i=this.tryParsePluralOrSelectOptions(a,g,b,f);if(i.err)return i;let j=this.tryParseArgumentClose(e);if(j.err)return j;let k=t(e,this.clonePosition());if("select"===g)return{val:{type:5,value:c,options:x(i.val),location:k},err:null};return{val:{type:6,value:c,options:x(i.val),offset:h,pluralType:"plural"===g?"cardinal":"ordinal",location:k},err:null}}default:return this.error(5,t(f,h))}}tryParseArgumentClose(a){return this.isEOF()||125!==this.char()?this.error(1,t(a,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let a=0,b=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,t(a,this.clonePosition()));this.bump();break}case 123:a+=1,this.bump();break;case 125:if(!(a>0))return{val:this.message.slice(b.offset,this.offset()),err:null};a-=1;break;default:this.bump()}return{val:this.message.slice(b.offset,this.offset()),err:null}}parseNumberSkeletonFromString(a,b){let c=[];try{c=function(a){if(0===a.length)throw Error("Number skeleton cannot be empty");let b=a.split(e).filter(a=>a.length>0),c=[];for(let a of b){let b=a.split("/");if(0===b.length)throw Error("Invalid number skeleton");let[d,...e]=b;for(let a of e)if(0===a.length)throw Error("Invalid number skeleton");c.push({stem:d,options:e})}return c}(a)}catch{return this.error(7,b)}return{val:{type:0,tokens:c,location:b,parsedOptions:this.shouldParseSkeletons?function(a){let b={};for(let c of a){switch(c.stem){case"percent":case"%":b.style="percent";continue;case"%x100":b.style="percent",b.scale=100;continue;case"currency":b.style="currency",b.currency=c.options[0];continue;case"group-off":case",_":b.useGrouping=!1;continue;case"precision-integer":case".":b.maximumFractionDigits=0;continue;case"measure-unit":case"unit":b.style="unit",b.unit=c.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":b.notation="compact",b.compactDisplay="short";continue;case"compact-long":case"KK":b.notation="compact",b.compactDisplay="long";continue;case"scientific":b={...b,notation:"scientific",...c.options.reduce((a,b)=>({...a,...l(b)}),{})};continue;case"engineering":b={...b,notation:"engineering",...c.options.reduce((a,b)=>({...a,...l(b)}),{})};continue;case"notation-simple":b.notation="standard";continue;case"unit-width-narrow":b.currencyDisplay="narrowSymbol",b.unitDisplay="narrow";continue;case"unit-width-short":b.currencyDisplay="code",b.unitDisplay="short";continue;case"unit-width-full-name":b.currencyDisplay="name",b.unitDisplay="long";continue;case"unit-width-iso-code":b.currencyDisplay="symbol";continue;case"scale":b.scale=parseFloat(c.options[0]);continue;case"rounding-mode-floor":b.roundingMode="floor";continue;case"rounding-mode-ceiling":b.roundingMode="ceil";continue;case"rounding-mode-down":b.roundingMode="trunc";continue;case"rounding-mode-up":b.roundingMode="expand";continue;case"rounding-mode-half-even":b.roundingMode="halfEven";continue;case"rounding-mode-half-down":b.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":b.roundingMode="halfExpand";continue;case"integer-width":if(c.options.length>1)throw RangeError("integer-width stems only accept a single optional option");c.options[0].replace(h,function(a,c,d,e,f,g){if(c)b.minimumIntegerDigits=d.length;else if(e&&f)throw Error("We currently do not support maximum integer digits");else if(g)throw Error("We currently do not support exact integer digits");return""});continue}if(i.test(c.stem)){b.minimumIntegerDigits=c.stem.length;continue}if(f.test(c.stem)){if(c.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");c.stem.replace(f,function(a,c,d,e,f,g){return"*"===d?b.minimumFractionDigits=c.length:e&&"#"===e[0]?b.maximumFractionDigits=e.length:f&&g?(b.minimumFractionDigits=f.length,b.maximumFractionDigits=f.length+g.length):(b.minimumFractionDigits=c.length,b.maximumFractionDigits=c.length),""});let a=c.options[0];"w"===a?b={...b,trailingZeroDisplay:"stripIfInteger"}:a&&(b={...b,...j(a)});continue}if(g.test(c.stem)){b={...b,...j(c.stem)};continue}let a=k(c.stem);a&&(b={...b,...a});let d=function(a){let b;if("E"===a[0]&&"E"===a[1]?(b={notation:"engineering"},a=a.slice(2)):"E"===a[0]&&(b={notation:"scientific"},a=a.slice(1)),b){let c=a.slice(0,2);if("+!"===c?(b.signDisplay="always",a=a.slice(2)):"+?"===c&&(b.signDisplay="exceptZero",a=a.slice(2)),!i.test(a))throw Error("Malformed concise eng/scientific notation");b.minimumIntegerDigits=a.length}return b}(c.stem);d&&(b={...b,...d})}return b}(c):{}},err:null}}tryParsePluralOrSelectOptions(a,b,c,d){let e=!1,f=[],g=new Set,{value:h,location:i}=d;for(;;){if(0===h.length){let a=this.clonePosition();if("select"!==b&&this.bumpIf("=")){let b=this.tryParseDecimalInteger(16,19);if(b.err)return b;i=t(a,this.clonePosition()),h=this.message.slice(a.offset,this.offset())}else break}if(g.has(h))return this.error("select"===b?21:20,i);"other"===h&&(e=!0),this.bumpSpace();let d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===b?17:18,t(this.clonePosition(),this.clonePosition()));let j=this.parseMessage(a+1,b,c);if(j.err)return j;let k=this.tryParseArgumentClose(d);if(k.err)return k;f.push([h,{value:j.val,location:t(d,this.clonePosition())}]),g.add(h),this.bumpSpace(),{value:h,location:i}=this.parseIdentifierIfPossible()}return 0===f.length?this.error("select"===b?15:16,t(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!e?this.error(22,t(this.clonePosition(),this.clonePosition())):{val:f,err:null}}tryParseDecimalInteger(a,b){let c=1,d=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(c=-1);let e=!1,f=0;for(;!this.isEOF();){let a=this.char();if(a>=48&&a<=57)e=!0,f=10*f+(a-48),this.bump();else break}let g=t(d,this.clonePosition());return e?Number.isSafeInteger(f*=c)?{val:f,err:null}:this.error(b,g):this.error(a,g)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let a=this.position.offset;if(a>=this.message.length)throw Error("out of bound");let b=this.message.codePointAt(a);if(void 0===b)throw Error(`Offset ${a} is at invalid UTF-16 code unit boundary`);return b}error(a,b){return{val:null,err:{kind:a,message:this.message,location:b}}}bump(){if(this.isEOF())return;let a=this.char();10===a?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=a<65536?1:2)}bumpIf(a){if(this.message.startsWith(a,this.offset())){for(let b=0;b<a.length;b++)this.bump();return!0}return!1}bumpUntil(a){let b=this.offset(),c=this.message.indexOf(a,b);return c>=0?(this.bumpTo(c),!0):(this.bumpTo(this.message.length),!1)}bumpTo(a){if(this.offset()>a)throw Error(`targetOffset ${a} must be greater than or equal to the current offset ${this.offset()}`);for(a=Math.min(a,this.message.length);;){let b=this.offset();if(b===a)break;if(b>a)throw Error(`targetOffset ${a} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var a;!this.isEOF()&&((a=this.char())>=9&&a<=13||32===a||133===a||a>=8206&&a<=8207||8232===a||8233===a);)this.bump()}peek(){if(this.isEOF())return null;let a=this.char(),b=this.offset();return this.message.charCodeAt(b+(a>=65536?2:1))??null}};function C(a){return a>=97&&a<=122||a>=65&&a<=90}function D(a,b={}){let c=new B(a,b={shouldParseSkeletons:!0,requiresOtherClause:!0,...b}).parse();if(c.err){let a=SyntaxError(m[c.err.kind]);throw a.location=c.err.location,a.originalMessage=c.err.message,a}return b?.captureLocation||function a(b){b.forEach(b=>{if(delete b.location,5===b.type||6===b.type)for(let c in b.options)delete b.options[c].location,a(b.options[c].value);else 2===b.type&&n(b.style)||(3===b.type||4===b.type)&&o(b.style)?delete b.style.location:8===b.type&&a(b.children)})}(c.val),c.val}var E=class extends Error{constructor(a,b,c){super(a),this.code=b,this.originalMessage=c}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},F=class extends E{constructor(a,b,c,d){super(`Invalid values for "${a}": "${b}". Options are "${Object.keys(c).join('", "')}"`,"INVALID_VALUE",d)}},G=class extends E{constructor(a,b,c){super(`Value for "${a}" must be of type ${b}`,"INVALID_VALUE",c)}},H=class extends E{constructor(a,b){super(`The intl string context variable "${a}" was not provided to the string "${b}"`,"MISSING_VALUE",b)}};function I(a){return{create:()=>({get:b=>a[b],set(b,c){a[b]=c}})}}var J=class a{constructor(b,d=a.defaultLocale,e,f){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=a=>{let b=this.formatToParts(a);if(1===b.length)return b[0].value;let c=b.reduce((a,b)=>(a.length&&0===b.type&&"string"==typeof a[a.length-1]?a[a.length-1]+=b.value:a.push(b.value),a),[]);return c.length<=1?c[0]||"":c},this.formatToParts=a=>(function a(b,c,d,e,f,g,h){if(1===b.length&&0===b[0].type)return[{type:0,value:b[0].value}];let i=[];for(let j of b){if(0===j.type){i.push({type:0,value:j.value});continue}if(7===j.type){"number"==typeof g&&i.push({type:0,value:d.getNumberFormat(c).format(g)});continue}let{value:b}=j;if(!(f&&b in f))throw new H(b,h);let k=f[b];if(1===j.type){k&&"string"!=typeof k&&"number"!=typeof k&&"bigint"!=typeof k||(k="string"==typeof k||"number"==typeof k||"bigint"==typeof k?String(k):""),i.push({type:+("string"!=typeof k),value:k});continue}if(3===j.type){let a="string"==typeof j.style?e.date[j.style]:o(j.style)?j.style.parsedOptions:void 0;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(4===j.type){let a="string"==typeof j.style?e.time[j.style]:o(j.style)?j.style.parsedOptions:e.time.medium;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(2===j.type){let a="string"==typeof j.style?e.number[j.style]:n(j.style)?j.style.parsedOptions:void 0;if(a&&a.scale){let b=a.scale||1;if("bigint"==typeof k){if(!Number.isInteger(b))throw TypeError(`Cannot apply fractional scale ${b} to bigint value. Scale must be an integer when formatting bigint.`);k*=BigInt(b)}else k*=b}i.push({type:0,value:d.getNumberFormat(c,a).format(k)});continue}if(8===j.type){let{children:b,value:k}=j,l=f[k];if("function"!=typeof l)throw new G(k,"function",h);let m=l(a(b,c,d,e,f,g).map(a=>a.value));Array.isArray(m)||(m=[m]),i.push(...m.map(a=>({type:+("string"!=typeof a),value:a})))}if(5===j.type){let b=k,g=(Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0)||j.options.other;if(!g)throw new F(j.value,k,Object.keys(j.options),h);i.push(...a(g.value,c,d,e,f));continue}if(6===j.type){let b=`=${k}`,g=Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0;if(!g){if(!Intl.PluralRules)throw new E(`Intl.PluralRules is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
+
`,"MISSING_INTL_API",h);let a="bigint"==typeof k?Number(k):k,b=d.getPluralRules(c,{type:j.pluralType}).select(a-(j.offset||0));g=(Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0)||j.options.other}if(!g)throw new F(j.value,k,Object.keys(j.options),h);let l="bigint"==typeof k?Number(k):k;i.push(...a(g.value,c,d,e,f,l-(j.offset||0)));continue}}return i.length<2?i:i.reduce((a,b)=>{let c=a[a.length-1];return c&&0===c.type&&0===b.type?c.value+=b.value:a.push(b),a},[])})(this.ast,this.locales,this.formatters,this.formats,a,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=d,this.resolvedLocale=a.resolveLocale(d),"string"==typeof b){if(this.message=b,!a.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...c}=f||{};this.ast=a.__parse(b,{...c,locale:this.resolvedLocale})}else this.ast=b;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(a,b){return b?Object.keys(a).reduce((c,d)=>{var e,f;return c[d]=(e=a[d],(f=b[d])?{...e,...f,...Object.keys(e).reduce((a,b)=>(a[b]={...e[b],...f[b]},a),{})}:e),c},{...a}):a}(a.formats,e),this.formatters=f&&f.formatters||function(a={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:(0,c.memoize)((...a)=>new Intl.NumberFormat(...a),{cache:I(a.number),strategy:c.strategies.variadic}),getDateTimeFormat:(0,c.memoize)((...a)=>new Intl.DateTimeFormat(...a),{cache:I(a.dateTime),strategy:c.strategies.variadic}),getPluralRules:(0,c.memoize)((...a)=>new Intl.PluralRules(...a),{cache:I(a.pluralRules),strategy:c.strategies.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return a.memoizedDefaultLocale||(a.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),a.memoizedDefaultLocale}static{this.resolveLocale=a=>{if(void 0===Intl.Locale)return;let b=Intl.NumberFormat.supportedLocalesOf(a);return new Intl.Locale(b.length>0?b[0]:"string"==typeof a?a:a[0])}}static{this.__parse=D}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};a.s(["IntlMessageFormat",0,J],731811)},836772,a=>{"use strict";var b=a.i(800717),c=a.i(731811),d=a.i(118845);function e(...[a,f,g,h]){let i;if(Array.isArray(f))throw new d.I(d.a.INVALID_MESSAGE,void 0);if("object"==typeof f)throw new d.I(d.a.INSUFFICIENT_PATH,void 0);if("string"==typeof f){let a=g||/'[{}<#|']/.test(f)?void 0:f;if(a)return a}let{cache:j,formats:k,formatters:l,globalFormats:m,locale:n,timeZone:o}=h;l.getMessageFormat||(l.getMessageFormat=(0,d.m)((...a)=>new c.IntlMessageFormat(a[0],a[1],a[2],{formatters:l,...a[3]}),j.message));try{let a,b,d,e;i=l.getMessageFormat(f,n,(a=c.IntlMessageFormat.formats.date,b=c.IntlMessageFormat.formats.time,d={...m?.dateTime,...k?.dateTime},e={date:{...a,...d},time:{...b,...d},number:{...m?.number,...k?.number}},o&&["date","time"].forEach(a=>{let b=e[a];for(let[a,c]of Object.entries(b))b[a]={timeZone:o,...c}}),e),{formatters:{...l,getDateTimeFormat:(a,b)=>l.getDateTimeFormat(a,{...b,timeZone:b?.timeZone??o})}})}catch(a){throw new d.I(d.a.INVALID_MESSAGE,void 0)}let p=i.format(g);return(0,b.isValidElement)(p)||Array.isArray(p)||"string"==typeof p?p:String(p)}function f(...a){return a.filter(Boolean).join(".")}function g(a){return f(a.namespace,a.key)}function h(a){console.error(a)}function i(a,b,c,d){let e=f(d,c);if(!b)throw Error(e);let g=b;return c.split(".").forEach(b=>{let c=g[b];if(null==b||null==c)throw Error(e+` (${a})`);g=c}),g}e.raw=!0,a.s(["a",0,function(a){let c=function(a,b,c){try{if(!b)throw Error(void 0);let d=c?i(a,b,c):b;if(!d)throw Error(c);return d}catch(a){return new d.I(d.a.MISSING_MESSAGE,a.message)}}(a.locale,a.messages,a.namespace);return function({cache:a,formats:c,formatters:h,getMessageFallback:j=g,locale:k,messagesOrError:l,namespace:m,onError:n,timeZone:o}){let p=l instanceof d.I;function q(a,b,c,e){let f=new d.I(b,c);return n(f),e??j({error:f,key:a,namespace:m})}function r(g,r,s,t){let u;if(p){if(!t)return n(l),j({error:l,key:g,namespace:m});u=t}else try{u=i(k,l,g,m)}catch(a){if(!t)return q(g,d.a.MISSING_MESSAGE,a.message,t);u=t}try{let d,i=f(m,g);return e(i,u,r?(d={},Object.keys(r).forEach(a=>{let c,e=0,f=r[a];c="function"==typeof f?c=>{let d=f(c);return(0,b.isValidElement)(d)?(0,b.cloneElement)(d,{key:a+e++}):d}:f,d[a]=c}),d):r,{cache:a,formatters:h,globalFormats:c,formats:s,locale:k,timeZone:o})}catch(c){let a,b;return c instanceof d.I?(a=c.code,b=c.originalMessage):(a=d.a.FORMATTING_ERROR,b=c.message),q(g,a,b,t)}}function s(a,b,c,e){let f=r(a,b,c,e);return"string"!=typeof f?q(a,d.a.INVALID_MESSAGE,void 0):f}return s.rich=r,s.markup=(a,b,c,d)=>r(a,b,c,d),s.raw=a=>{if(p)return n(l),j({error:l,key:a,namespace:m});try{return i(k,l,a,m)}catch(b){return q(a,d.a.MISSING_MESSAGE,b.message)}},s.has=a=>{if(p)return!1;try{return i(k,l,a,m),!0}catch{return!1}},s}({...a,messagesOrError:c})},"b",0,h,"d",0,g,"i",0,function({formats:a,getMessageFallback:b,messages:c,onError:d,...e}){return{...e,formats:a||void 0,messages:c||void 0,onError:d||h,getMessageFallback:b||g}},"r",0,function(a,b){return a===b?void 0:a.slice((b+".").length)}],836772)},303109,a=>{"use strict";var b=a.i(118845),c=a.i(836772);a.s(["createTranslator",0,function({_cache:a=(0,b.b)(),_formatters:d=(0,b.c)(a),getMessageFallback:e=c.d,messages:f,namespace:g,onError:h=c.b,...i}){return function({messages:a,namespace:b,...d}){return a=a["!"],b=(0,c.r)(b,"!"),(0,c.a)({...d,messages:a,namespace:b})}({...i,onError:h,cache:a,formatters:d,getMessageFallback:e,messages:{"!":f},namespace:g?`!.${g}`:"!"})},"hasLocale",0,function(a,b){return a.includes(b)}])},522918,520276,113852,861457,286661,a=>{"use strict";var b=a.i(836772);a.s(["initializeConfig",()=>b.i],522918);var c=a.i(118845);function d(a){let b=function(){try{return"true"===process.env._next_intl_trailing_slash}catch{return!1}}(),[c,...d]=a.split("#"),e=d.join("#"),f=c;if("/"!==f){let a=f.endsWith("/");b&&!a?f+="/":!b&&a&&(f=f.slice(0,-1))}return e&&(f+="#"+e),f}function e(a){return a.includes("[[...")}function f(a){return a.includes("[...")}function g(a){return a.includes("[")}function h(a,b){let c=a.split("/"),d=b.split("/"),h=Math.max(c.length,d.length);for(let a=0;a<h;a++){let b=c[a],h=d[a];if(!b&&h)return -1;if(b&&!h)return 1;if(b||h){if(!g(b)&&g(h))return -1;if(g(b)&&!g(h))return 1;if(!f(b)&&f(h))return -1;if(f(b)&&!f(h))return 1;if(!e(b)&&e(h))return -1;if(e(b)&&!e(h))return 1}}return 0}function i(a){return"function"==typeof a.then}a.s(["_createIntlFormatters",()=>c.c],520276),a.s(["_createCache",()=>c.b],113852),a.s(["getLocalePrefix",0,function(a,b){return"never"!==b.mode&&b.prefixes?.[a]||"/"+a},"getLocalizedTemplate",0,function(a,b,c){return"string"==typeof a?a:a[b]||c},"getSortedPathnames",0,function(a){return a.sort(h)},"isLocalizableHref",0,function(a){let b;return("object"==typeof a?null==a.host&&null==a.hostname:!/^[a-z]+:/i.test(a))&&(null==(b="object"==typeof a?a.pathname:a)||!!b.startsWith("/"))},"isPromise",0,i,"matchesPathname",0,function(a,b){let c,e=d(a),f=d(b);return(c=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${c}$`)).test(f)},"normalizeTrailingSlash",0,d,"prefixPathname",0,function(a,b){let c=a;return/^\/(\?.*)?$/.test(b)&&(b=b.slice(1)),c+=b}],861457);var j=a.i(905246),k=a.i(800717);let l=(0,k.cache)(function(){return{locale:void 0}}),m=(0,k.cache)(async function(){let a=(0,j.headers)();return i(a)?await a:a}),n=(0,k.cache)(async function(){let a;try{a=(await m()).get("X-NEXT-INTL-LOCALE")||void 0}catch(a){if(a instanceof Error&&"DYNAMIC_SERVER_USAGE"===a.digest){let b=Error("Usage of next-intl APIs in Server Components currently opts into dynamic rendering. This limitation will eventually be lifted, but as a stopgap solution, you can use the `setRequestLocale` API to enable static rendering, see https://next-intl.dev/docs/routing/setup#static-rendering",{cause:a});throw b.digest=a.digest,b}throw a}return a});async function o(){return l().locale||await n()}a.s(["getRequestLocale",0,o],286661)},332776,885221,767228,a=>{"use strict";var b=a.i(800717),c=a.i(522918),d=a.i(520276),e=a.i(113852),f=a.i(861457),g=a.i(286661),h=a.i(303109);let i={locales:["en","es","fr","de"],defaultLocale:"en",localePrefix:"always"};a.s(["routing",0,i],885221);let j=async({requestLocale:b})=>{let c=await b,d=(0,h.hasLocale)(i.locales,c)?c:i.defaultLocale;return{locale:d,messages:(await a.f({"../../messages/de.json":{id:()=>561451,module:()=>a.A(561451)},"../../messages/en.json":{id:()=>412437,module:()=>a.A(412437)},"../../messages/es.json":{id:()=>83578,module:()=>a.A(83578)},"../../messages/fr.json":{id:()=>276111,module:()=>a.A(276111)}}).import(`../../messages/${d}.json`)).default}},k=(0,b.cache)(function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}),l=(0,b.cache)(async function(a,b){let c=a({locale:b,get requestLocale(){return b?Promise.resolve(b):(0,g.getRequestLocale)()}});if((0,f.isPromise)(c)&&(c=await c),!c.locale)throw Error("No locale was returned from `getRequestConfig`.\n\nSee https://next-intl.dev/docs/usage/configuration#i18n-request");return c}),m=(0,b.cache)(d._createIntlFormatters),n=(0,b.cache)(e._createCache),o=(0,b.cache)(async function(a){let b=await l(j,a);return{...(0,c.initializeConfig)(b),_formatters:m(n()),timeZone:b.timeZone||k()}});a.s(["default",0,o],767228);var p=(0,b.cache)(function(a,b){return(0,h.createTranslator)({...a,namespace:b})}),q=(0,b.cache)(async function(a){let b,c;return"string"==typeof a?b=a:a&&(c=a.locale,b=a.namespace),p(await o(c),b)});a.s(["getTranslations",0,q],332776)}];
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=node_modules_0obs0k7._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[4712,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ActionDidNotRevalidate:function(){return f},ActionDidRevalidateDynamicOnly:function(){return h},ActionDidRevalidateStaticAndDynamic:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=0,g=1,h=2},114896,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={MutableRequestCookiesAdapter:function(){return o},ReadonlyRequestCookiesError:function(){return j},RequestCookiesAdapter:function(){return k},appendMutableCookies:function(){return n},areCookiesMutableInCurrentPhase:function(){return q},createCookiesWithMutableAccessCheck:function(){return p},getModifiedCookieValues:function(){return m},responseCookiesToRequestCookies:function(){return s}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(563681),g=a.r(751409),h=a.r(556704),i=a.r(4712);class j extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new j}}class k{static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"clear":case"delete":case"set":return j.callable;default:return g.ReflectAdapter.get(a,b,c)}}})}}let l=Symbol.for("next.mutated.cookies");function m(a){let b=a[l];return b&&Array.isArray(b)&&0!==b.length?b:[]}function n(a,b){let c=m(b);if(0===c.length)return!1;let d=new f.ResponseCookies(a),e=d.getAll();for(let a of c)d.set(a);for(let a of e)d.set(a);return!0}class o{static wrap(a,b){let c=new f.ResponseCookies(new Headers);for(let b of a.getAll())c.set(b);let d=[],e=new Set,j=()=>{let a=h.workAsyncStorage.getStore();if(a&&(a.pathWasRevalidated=i.ActionDidRevalidateStaticAndDynamic),d=c.getAll().filter(a=>e.has(a.name)),b){let a=[];for(let b of d){let c=new f.ResponseCookies(new Headers);c.set(b),a.push(c.toString())}b(a)}},k=new Proxy(c,{get(a,b,c){switch(b){case l:return d;case"delete":return function(...b){e.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.delete(...b),k}finally{j()}};case"set":return function(...b){e.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.set(...b),k}finally{j()}};default:return g.ReflectAdapter.get(a,b,c)}}});return k}}function p(a){let b=new Proxy(a.mutableCookies,{get(c,d,e){switch(d){case"delete":return function(...d){return r(a,"cookies().delete"),c.delete(...d),b};case"set":return function(...d){return r(a,"cookies().set"),c.set(...d),b};default:return g.ReflectAdapter.get(c,d,e)}}});return b}function q(a){return"action"===a.phase}function r(a,b){if(!q(a))throw new j}function s(a){let b=new f.RequestCookies(new Headers);for(let c of a.getAll())b.set(c);return b}},608018,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return i}});let d=function(a){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var b=e(void 0);if(b&&b.has(a))return b.get(a);var c={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if("default"!==f&&Object.prototype.hasOwnProperty.call(a,f)){var g=d?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(c,f,g):c[f]=a[f]}return c.default=a,b&&b.set(a,c),c}(a.r(800717));function e(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(e=function(a){return a?c:b})(a)}let f={current:null},g="function"==typeof d.cache?d.cache:a=>a,h=console.warn;function i(a){return function(...b){h(a(...b))}}g(a=>{try{h(f.current)}finally{f.current=null}})},381740,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"cookies",{enumerable:!0,get:function(){return n}});let d=a.r(114896),e=a.r(563681),f=a.r(556704),g=a.r(832319),h=a.r(660384),i=a.r(760312),j=a.r(13091),k=a.r(608018),l=a.r(786309),m=a.r(950640);function n(){let a="cookies",b=f.workAsyncStorage.getStore(),c=g.workUnitAsyncStorage.getStore();if(b){if(c&&"after"===c.phase&&!(0,l.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside \`after()\`. This is not supported. If you need this data inside an \`after()\` callback, use \`cookies()\` outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E843",enumerable:!1,configurable:!0});if(b.forceStatic)return p(d.RequestCookiesAdapter.seal(new e.RequestCookies(new Headers({}))));if(b.dynamicShouldError)throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${b.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E849",enumerable:!1,configurable:!0});if(c)switch(c.type){case"cache":let f=Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`cookies()\` 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:"E831",enumerable:!1,configurable:!0});throw Error.captureStackTrace(f,n),b.invalidDynamicUsageError??=f,f;case"unstable-cache":throw Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside a function cached with \`unstable_cache()\`. Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`cookies()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E846",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1123",enumerable:!1,configurable:!0});case"prerender":var k=b,q=c;let r=o.get(q);if(r)return r;let s=(0,j.makeHangingPromise)(q.renderSignal,k.route,"`cookies()`");return o.set(q,s),s;case"prerender-client":case"validation-client":let t="`cookies`";throw Object.defineProperty(new m.InvariantError(`${t} must not be used within a Client Component. Next.js should be preventing ${t} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1037",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,h.postponeWithTracking)(b.route,a,c.dynamicTracking);case"prerender-legacy":return(0,h.throwToInterruptStaticGeneration)(a,b,c);case"prerender-runtime":return(0,j.delayUntilRuntimeStage)(c,p(c.cookies));case"private-cache":return p(c.cookies);case"request":let u;if((0,h.trackDynamicDataInDynamicRender)(c),u=(0,d.areCookiesMutableInCurrentPhase)(c)?c.userspaceMutableCookies:c.cookies,!c.asyncApiPromises)return p(u);{let a=(0,g.isInEarlyRenderStage)(c);if(u===c.mutableCookies)return a?c.asyncApiPromises.earlyMutableCookies:c.asyncApiPromises.mutableCookies;return a?c.asyncApiPromises.earlyCookies:c.asyncApiPromises.cookies}}}(0,g.throwForMissingRequestStore)(a)}a.r(531382);let o=new WeakMap;function p(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),c}(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`cookies()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E830",enumerable:!1,configurable:!0})})},329927,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={HeadersAdapter:function(){return h},ReadonlyHeadersError:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(751409);class g extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new g}}class h extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,d){if("symbol"==typeof c)return f.ReflectAdapter.get(b,c,d);let e=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===e);if(void 0!==g)return f.ReflectAdapter.get(b,g,d)},set(b,c,d,e){if("symbol"==typeof c)return f.ReflectAdapter.set(b,c,d,e);let g=c.toLowerCase(),h=Object.keys(a).find(a=>a.toLowerCase()===g);return f.ReflectAdapter.set(b,h??c,d,e)},has(b,c){if("symbol"==typeof c)return f.ReflectAdapter.has(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0!==e&&f.ReflectAdapter.has(b,e)},deleteProperty(b,c){if("symbol"==typeof c)return f.ReflectAdapter.deleteProperty(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0===e||f.ReflectAdapter.deleteProperty(b,e)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return g.callable;default:return f.ReflectAdapter.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new h(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}},35754,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"headers",{enumerable:!0,get:function(){return m}});let d=a.r(329927),e=a.r(556704),f=a.r(832319),g=a.r(660384),h=a.r(760312),i=a.r(13091),j=a.r(608018),k=a.r(786309),l=a.r(950640);function m(){let a="headers",b=e.workAsyncStorage.getStore(),c=f.workUnitAsyncStorage.getStore();if(b){if(c&&"after"===c.phase&&!(0,k.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside \`after()\`. This is not supported. If you need this data inside an \`after()\` callback, use \`headers()\` outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E839",enumerable:!1,configurable:!0});if(b.forceStatic)return o(d.HeadersAdapter.seal(new Headers({})));if(c)switch(c.type){case"cache":{let a=Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` 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:"E833",enumerable:!1,configurable:!0});throw Error.captureStackTrace(a,m),b.invalidDynamicUsageError??=a,a}case"unstable-cache":throw Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside a function cached with \`unstable_cache()\`. Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E838",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1134",enumerable:!1,configurable:!0})}if(b.dynamicShouldError)throw Object.defineProperty(new h.StaticGenBailoutError(`Route ${b.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`headers()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E828",enumerable:!1,configurable:!0});if(c)switch(c.type){case"prerender":var j=b,p=c;let e=n.get(p);if(e)return e;let q=(0,i.makeHangingPromise)(p.renderSignal,j.route,"`headers()`");return n.set(p,q),q;case"prerender-client":case"validation-client":let r="`headers`";throw Object.defineProperty(new l.InvariantError(`${r} must not be used within a client component. Next.js should be preventing ${r} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1017",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,g.postponeWithTracking)(b.route,a,c.dynamicTracking);case"prerender-legacy":return(0,g.throwToInterruptStaticGeneration)(a,b,c);case"prerender-runtime":return(0,i.delayUntilRuntimeStage)(c,o(c.headers));case"private-cache":return o(c.headers);case"request":if((0,g.trackDynamicDataInDynamicRender)(c),c.asyncApiPromises)return(0,f.isInEarlyRenderStage)(c)?c.asyncApiPromises.earlyHeaders:c.asyncApiPromises.headers;return o(c.headers)}}(0,f.throwForMissingRequestStore)(a)}a.r(531382);let n=new WeakMap;function o(a){let b=n.get(a);if(b)return b;let c=Promise.resolve(a);return n.set(a,c),c}(0,j.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`headers()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E836",enumerable:!1,configurable:!0})})},551125,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"draftMode",{enumerable:!0,get:function(){return l}});let d=a.r(832319),e=a.r(556704),f=a.r(660384),g=a.r(608018),h=a.r(760312),i=a.r(696556),j=a.r(950640),k=a.r(13091);function l(){let a="draftMode",b=e.workAsyncStorage.getStore(),c=d.workUnitAsyncStorage.getStore();switch((!b||!c)&&(0,d.throwForMissingRequestStore)(a),c.type){case"prerender-runtime":return(0,k.delayUntilRuntimeStage)(c,m(c.draftMode,b));case"request":return m(c.draftMode,b);case"cache":case"private-cache":case"unstable-cache":let f=(0,d.getDraftModeProviderForCacheScope)(b,c);if(f)return m(f,b);case"prerender":case"prerender-ppr":case"prerender-legacy":return m(null,b);case"prerender-client":case"validation-client":{let a="`draftMode`";throw Object.defineProperty(new j.InvariantError(`${a} must not be used within a Client Component. Next.js should be preventing ${a} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1046",enumerable:!1,configurable:!0})}case"generate-static-params":throw Object.defineProperty(Error(`Route ${b.route} used \`${a}()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1132",enumerable:!1,configurable:!0});default:return c}}function m(a,b){let c=o.get(a??n);return c||Promise.resolve(new p(a))}a.r(751409);let n={},o=new WeakMap;class p{constructor(a){this._provider=a}get isEnabled(){return null!==this._provider&&this._provider.isEnabled}enable(){q("draftMode().enable()",this.enable),null!==this._provider&&this._provider.enable()}disable(){q("draftMode().disable()",this.disable),null!==this._provider&&this._provider.disable()}}function q(a,b){let c=e.workAsyncStorage.getStore(),g=d.workUnitAsyncStorage.getStore();if(c){if((null==g?void 0:g.phase)==="after")throw Object.defineProperty(Error(`Route ${c.route} used "${a}" inside \`after()\`. The enabled status of \`draftMode()\` can be read inside \`after()\` but you cannot enable or disable \`draftMode()\`. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E845",enumerable:!1,configurable:!0});if(c.dynamicShouldError)throw Object.defineProperty(new h.StaticGenBailoutError(`Route ${c.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${a}\`. 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(g)switch(g.type){case"cache":case"private-cache":{let d=Object.defineProperty(Error(`Route ${c.route} used "${a}" inside "use cache". The enabled status of \`draftMode()\` can be read in caches but you must not enable or disable \`draftMode()\` inside a cache. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E829",enumerable:!1,configurable:!0});throw Error.captureStackTrace(d,b),c.invalidDynamicUsageError??=d,d}case"unstable-cache":throw Object.defineProperty(Error(`Route ${c.route} used "${a}" inside a function cached with \`unstable_cache()\`. The enabled status of \`draftMode()\` can be read in caches but you must not enable or disable \`draftMode()\` inside a cache. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E844",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":{let b=Object.defineProperty(Error(`Route ${c.route} used ${a} without first calling \`await connection()\`. See more info here: https://nextjs.org/docs/messages/next-prerender-sync-headers`),"__NEXT_ERROR_CODE",{value:"E126",enumerable:!1,configurable:!0});return(0,f.abortAndThrowOnSynchronousRequestDataAccess)(c.route,a,b,g)}case"prerender-client":case"validation-client":let d="`draftMode`";throw Object.defineProperty(new j.InvariantError(`${d} must not be used within a Client Component. Next.js should be preventing ${d} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1046",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,f.postponeWithTracking)(c.route,a,g.dynamicTracking);case"prerender-legacy":g.revalidate=0;let e=Object.defineProperty(new i.DynamicServerError(`Route ${c.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.dynamicUsageDescription=a,c.dynamicUsageStack=e.stack,e;case"request":(0,f.trackDynamicDataInDynamicRender)(g);break;case"generate-static-params":throw Object.defineProperty(Error(`Route ${c.route} used \`${a}\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1121",enumerable:!1,configurable:!0})}}}(0,g.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`draftMode()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E835",enumerable:!1,configurable:!0})})},905246,(a,b,c)=>{b.exports.cookies=a.r(381740).cookies,b.exports.headers=a.r(35754).headers,b.exports.draftMode=a.r(551125).draftMode}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_next_1ep9xf4._.js.map
|
package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
module.exports=[345962,a=>{"use strict";var b=a.i(187924),c=a.i(979762),d=a.i(219107),e=a.i(787037),f=a.i(164831);let g=(0,f.default)("arrow-up-to-line",[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]]);var h=a.i(752562),i=a.i(585650),j=a.i(536670);let k=(0,f.default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]),l=(0,f.default)("chart-no-axes-column",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]]);var m=a.i(589027),n=a.i(141146),o=a.i(19895),p=a.i(980180),q=a.i(32886),r=a.i(415925),s=a.i(572131),t=a.i(844873),u=a.i(124348),v=a.i(786304),w=a.i(699570),x=a.i(591119),y=a.i(
|
|
1
|
+
module.exports=[345962,a=>{"use strict";var b=a.i(187924),c=a.i(979762),d=a.i(219107),e=a.i(787037),f=a.i(164831);let g=(0,f.default)("arrow-up-to-line",[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]]);var h=a.i(752562),i=a.i(585650),j=a.i(536670);let k=(0,f.default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]),l=(0,f.default)("chart-no-axes-column",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]]);var m=a.i(589027),n=a.i(141146),o=a.i(19895),p=a.i(980180),q=a.i(32886),r=a.i(415925),s=a.i(572131),t=a.i(844873),u=a.i(124348),v=a.i(786304),w=a.i(699570),x=a.i(591119),y=a.i(46524),z=a.i(668684),A=a.i(875083),B=a.i(206015),C=a.i(555027),D=a.i(873555),E=a.i(460280),F=a.i(710145);let G=["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],H={DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"};function I(a,b){return"*"===a||(a.endsWith(".*")?b.startsWith(a.slice(0,-1)):a===b)}var J=a.i(814574),K=a.i(870430),L=a.i(580701);let M=`query BuildSigningOptions($buildId: ID!) {
|
|
2
|
+
buildSigningOptions(buildId: $buildId) {
|
|
3
|
+
teams { id name }
|
|
4
|
+
identities { sha1 name teamId }
|
|
5
|
+
profiles {
|
|
6
|
+
uuid name teamId teamName bundleId type platforms expiresAt expired xcodeManaged
|
|
7
|
+
certificateSha1s
|
|
8
|
+
}
|
|
9
|
+
bundles { bundleId name relativePath embeddedProfileUuid embeddedProfileName }
|
|
10
|
+
}
|
|
11
|
+
}`;function N(a,b,c,d){let e=H[c];return a.filter(a=>a.type===e&&!a.expired&&(0===a.platforms.length||a.platforms.includes("iOS"))&&I(a.bundleId,b)&&(!d||!a.teamId||a.teamId===d))}function O({buildId:a,open:c,onOpenChange:d,onSaved:e}){let f=(0,r.useTranslations)("builds"),[g,h]=(0,s.useState)("DEBUGGING"),[i,j]=(0,s.useState)("AUTOMATIC"),[k,l]=(0,s.useState)(""),[m,n]=(0,s.useState)(""),[o,p]=(0,s.useState)({}),[q,t]=(0,s.useState)(!1),[v,x]=(0,s.useState)(null),[y,A]=(0,s.useState)(!1),[B,C]=(0,s.useState)(!1),[F,H]=(0,s.useState)(null),[P,Q]=(0,s.useState)(null),R=(0,s.useCallback)(async()=>{A(!0),Q(null);try{let b=await (0,E.controlPlaneRequest)(M,{buildId:a});x(b.buildSigningOptions);let c=b.buildSigningOptions.bundles.map(a=>b.buildSigningOptions.profiles.find(b=>b.uuid===a.embeddedProfileUuid)).find(a=>a?.teamId);c?.teamId?l(c.teamId):1===b.buildSigningOptions.teams.length&&l(b.buildSigningOptions.teams[0].id)}catch(a){Q(a instanceof Error?a.message:String(a))}finally{A(!1)}},[a]);(0,s.useEffect)(()=>{if(!c)return;let a=window.setTimeout(()=>void R(),0);return()=>window.clearTimeout(a)},[c,R]);let S=`${g}:${k}`,[T,U]=(0,s.useState)(S);S!==T&&(U(S),p({}),n(""));let V="MANUAL"===i,W=Object.fromEntries((v?.bundles??[]).flatMap(a=>{let b=N(v?.profiles??[],a.bundleId,g,k),c=o[a.bundleId]??function(a,b){if(!a.length)return null;let c=a.find(a=>a.uuid===b.embeddedProfileUuid);return c||[...a].sort((a,b)=>(b.expiresAt??"").localeCompare(a.expiresAt??""))[0]}(b,a)?.uuid;return c?[[a.bundleId,c]]:[]})),X=Object.values(W).flatMap(a=>{let b=v?.profiles.find(b=>b.uuid===a);return b?[b]:[]}),Y=X.length>0&&X.every(a=>a.certificateSha1s?.length),Z=(v?.identities??[]).filter(a=>Y?X.every(b=>b.certificateSha1s.includes(a.sha1.toUpperCase())):!k||!a.teamId||a.teamId===k),$=Z.some(a=>a.sha1===m)?m:"",_=async()=>{C(!0);try{await (0,E.controlPlaneRequest)(`mutation ExportArchive($input: ExportBuildArchiveInput!) {
|
|
12
|
+
exportBuildArchive(input: $input) { id status }
|
|
13
|
+
}`,{input:{buildId:a,requestId:(0,D.createClientId)(),settings:{method:g,signingStyle:i,teamId:k||null,signingCertificate:$?Z.find(a=>a.sha1===$)?.name??null:null,provisioningProfiles:V?W:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1}}}),await e(),d(!1)}catch(a){H(a instanceof Error?a.message:String(a))}finally{C(!1)}},aa=V&&(v?.bundles??[]).some(a=>!W[a.bundleId]);return(0,b.jsx)(J.Dialog,{onOpenChange:d,open:c,children:(0,b.jsxs)(J.DialogContent,{className:"max-h-[85vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,b.jsxs)(J.DialogHeader,{children:[(0,b.jsx)(J.DialogTitle,{children:f("exportArchive")}),(0,b.jsx)(J.DialogDescription,{children:f("exportArchiveDescription")})]}),F&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:F})}),P&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsxs)(u.AlertDescription,{children:[f("signingOptionsFailed")," ",P]})}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("distributionMethod")}),(0,b.jsxs)(L.Select,{onValueChange:a=>h(a),value:g,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{})}),(0,b.jsx)(L.SelectContent,{children:G.map(a=>(0,b.jsx)(L.SelectItem,{value:a,children:f(`exportMethod.${a}`)},a))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("developmentTeam")}),(0,b.jsxs)(L.Select,{disabled:y||!v?.teams.length,onValueChange:l,value:k,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:y?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(L.SelectValue,{placeholder:f("selectTeam")})}),(0,b.jsx)(L.SelectContent,{children:(v?.teams??[]).map(a=>(0,b.jsxs)(L.SelectItem,{value:a.id,children:[a.name," (",a.id,")"]},a.id))})]}),!y&&v&&!v.teams.length&&(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:f("noTeams")})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("signingStyle")}),(0,b.jsxs)(L.Select,{onValueChange:j,value:i,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{})}),(0,b.jsxs)(L.SelectContent,{children:[(0,b.jsx)(L.SelectItem,{value:"AUTOMATIC",children:f("automatic")}),(0,b.jsx)(L.SelectItem,{value:"MANUAL",children:f("manual")})]})]})]}),V&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(K.Label,{children:f("signingCertificate")}),(0,b.jsxs)(L.Select,{disabled:y||!Z.length,onValueChange:n,value:$,children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{placeholder:f("certificateAutomatic")})}),(0,b.jsx)(L.SelectContent,{children:Z.map(a=>(0,b.jsx)(L.SelectItem,{value:a.sha1,children:a.name},a.sha1))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(K.Label,{children:f("provisioningProfiles")}),(0,b.jsx)(w.Button,{onClick:()=>t(a=>!a),size:"sm",type:"button",variant:"ghost",children:q?f("showMatching"):f("showAllProfiles")})]}),y&&(0,b.jsx)(z.Spinner,{}),!y&&!v?.bundles.length&&(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:f("noArchiveBundles")}),(v?.bundles??[]).map(a=>{let c=N(v?.profiles??[],a.bundleId,g,k),d=q?(v?.profiles??[]).filter(b=>I(b.bundleId,a.bundleId)):c;return(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:a.name}),(0,b.jsx)("p",{className:"mb-2 break-all font-mono text-xs text-muted-foreground",children:a.bundleId}),(0,b.jsxs)(L.Select,{onValueChange:b=>p(c=>({...c,[a.bundleId]:b})),value:W[a.bundleId]??"",children:[(0,b.jsx)(L.SelectTrigger,{className:"w-full min-w-0",children:(0,b.jsx)(L.SelectValue,{placeholder:f("selectProfile")})}),(0,b.jsx)(L.SelectContent,{children:d.map(a=>{let c;return(0,b.jsxs)(L.SelectItem,{value:a.uuid,children:[(c=a.expiresAt?new Date(a.expiresAt).toLocaleDateString():null)?`${a.name} — ${c}`:a.name,a.expired?` (${f("profileExpired")})`:""]},a.uuid)})})]}),!c.length&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:f("noMatchingProfiles")})]},a.bundleId)})]})]})]}),(0,b.jsxs)(J.DialogFooter,{children:[(0,b.jsx)(w.Button,{onClick:()=>d(!1),variant:"outline",children:f("cancel")}),(0,b.jsxs)(w.Button,{disabled:B||aa,onClick:()=>void _(),children:[B&&(0,b.jsx)(z.Spinner,{})," ",f("exportArchive")]})]})]})})}let P=(0,f.default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);var Q=a.i(180447);let R=null;function S(){return R??={origin:window.location.origin,secure:"https:"===window.location.protocol,apple:/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&(navigator.maxTouchPoints??0)>1}}let T=()=>()=>{};function U({buildId:a,artifactId:c,metadata:d,publicOrigin:e}){let f=(0,r.useTranslations)("builds"),g=(0,s.useSyncExternalStore)(T,S,()=>null),[h,i]=(0,s.useState)(!1),[j,k]=(0,s.useState)(!1),l=`/api/builds/${encodeURIComponent(a)}/artifacts/${encodeURIComponent(c)}`,m=e??g,n=m?`${m.origin}${l}/manifest.plist`:null,o=g?m?.secure?"APP_STORE_CONNECT"===d.exportMethod?f("installNotSupportedForAppStore"):"string"!=typeof d.bundleIdentifier?f("installMissingBundleIdentifier"):null:f("installRequiresHttps"):null,p=!g||!g.apple||null!==o||h,q=async()=>{if(n){i(!0);try{await fetch(l,{method:"HEAD"}).catch(()=>{}),window.location.href=`itms-services://?action=download-manifest&url=${encodeURIComponent(n)}`}finally{i(!1)}}},t=async()=>{let a=m?.origin??window.location.origin;await (0,D.copyText)(`${a}${window.location.pathname}${window.location.search}${window.location.hash}`),k(!0),setTimeout(()=>k(!1),2e3)};return(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[g&&!g.apple&&!o&&(0,b.jsxs)(w.Button,{onClick:()=>void t(),size:"sm",type:"button",variant:"ghost",children:[(0,b.jsx)(P,{})," ",f(j?"installLinkCopied":"copyInstallLink")]}),(0,b.jsxs)(w.Button,{disabled:p,onClick:()=>void q(),size:"sm",type:"button",variant:"outline",children:[h?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(Q.Smartphone,{}),f(h?"installPreparing":"installOnDevice")]})]}),o&&(0,b.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:o}),!o&&g&&!g.apple&&(0,b.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:f("installOpenOnDevice")})]})}var V=a.i(974135),W=a.i(657068);let X=`
|
|
2
14
|
id requestId jobId status action destinationType destination snapshot commandSummary artifactDirectory errorCode error outOfDate
|
|
3
15
|
createdAt startedAt finishedAt durationMs updatedAt
|
|
4
16
|
configuration {
|
|
@@ -13,15 +25,13 @@ module.exports=[345962,a=>{"use strict";var b=a.i(187924),c=a.i(979762),d=a.i(21
|
|
|
13
25
|
scriptExecutions { id phase position nameSnapshot status exitCode durationMs causedBuildFailure outputRelativePath error }
|
|
14
26
|
deployments { id batchId destination status commandSummary outputRelativePath error createdAt startedAt finishedAt }
|
|
15
27
|
exports { id status settings commandSummary outputRelativePath error createdAt startedAt finishedAt }
|
|
16
|
-
`,N="id scope scopeId sequence phase level stream message createdAt";function O(a){return a.toLocaleLowerCase().split("_").filter(Boolean).map(a=>`${a.charAt(0).toLocaleUpperCase()}${a.slice(1)}`).join(" ")}let P=["packageResolution","disablePackageRepositoryCache","signingStyle","developmentTeam","codeSignIdentity","provisioningProfileSpecifier","productBundleIdentifier","allowProvisioningUpdates","allowProvisioningDeviceRegistration","testPlan","codeCoverage","parseTestResults","parallelTesting","parallelTestingWorkers","onlyTesting","skipTesting","buildSettingOverrides","priorBuildForTestingId","priorTestProductsPath","priorXctestrunPath"],Q={packageResolution:"DEFAULT",disablePackageRepositoryCache:!1,signingStyle:"PROJECT_DEFAULT",developmentTeam:null,codeSignIdentity:null,provisioningProfileSpecifier:null,productBundleIdentifier:null,allowProvisioningUpdates:!1,allowProvisioningDeviceRegistration:!1,testPlan:null,codeCoverage:!1,parseTestResults:!0,parallelTesting:null,parallelTestingWorkers:null,onlyTesting:[],skipTesting:[],buildSettingOverrides:{},priorBuildForTestingId:null,priorTestProductsPath:null,priorXctestrunPath:null};function R({settings:a}){let c=(0,r.useTranslations)("builds"),d={packageResolution:c("packageResolution"),disablePackageRepositoryCache:c("disablePackageRepositoryCache"),signingStyle:c("signingStyle"),developmentTeam:c("developmentTeam"),codeSignIdentity:c("codeSignIdentity"),provisioningProfileSpecifier:c("provisioningProfileSpecifier"),productBundleIdentifier:c("productBundleIdentifier"),allowProvisioningUpdates:c("allowProvisioningUpdates"),allowProvisioningDeviceRegistration:c("allowProvisioningDeviceRegistration"),testPlan:c("testPlan"),codeCoverage:c("codeCoverage"),parseTestResults:c("parseTestResults"),parallelTesting:c("parallelTesting"),parallelTestingWorkers:c("parallelTestingWorkers"),onlyTesting:c("onlyTesting"),skipTesting:c("skipTesting"),buildSettingOverrides:c("buildSettingOverrides"),priorBuildForTestingId:c("priorBuildForTesting"),priorTestProductsPath:c("priorTestProductsPath"),priorXctestrunPath:c("priorXctestrunPath")},e=new Set(P),f=a?[...P.filter(b=>Object.hasOwn(a,b)),...Object.keys(a).filter(a=>!e.has(a)).sort()].filter(b=>{var c;return c=a[b],Object.hasOwn(Q,b)?JSON.stringify(c)!==JSON.stringify(Q[b]):null!=c&&""!==c&&!1!==c&&(Array.isArray(c)?c.length>0:"object"!=typeof c||Object.keys(c).length>0)}):[];return a&&f.length?(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("advancedSettings")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("dl",{className:"space-y-3 text-sm",children:f.map(c=>(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:d[c]??O(c.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replaceAll("-","_"))}),(0,b.jsx)("dd",{className:"mt-0.5 min-w-0",children:(0,b.jsx)(S,{value:a[c]})})]},c))})})]}):null}function S({value:a}){let c=(0,r.useTranslations)("builds");if("boolean"==typeof a)return(0,b.jsx)(v.Badge,{variant:a?"default":"secondary",children:c(a?"settingsEnabled":"settingsDisabled")});if(null==a||""===a)return(0,b.jsx)(b.Fragment,{children:"—"});if(Array.isArray(a))return a.length?(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:a.map(String).join(", ")}):(0,b.jsx)(b.Fragment,{children:"—"});if("object"==typeof a){let c=JSON.stringify(a);return c&&"{}"!==c?(0,b.jsx)("span",{className:"break-all font-mono text-xs",children:c}):(0,b.jsx)(b.Fragment,{children:"—"})}return"string"==typeof a&&/^[A-Z][A-Z0-9_]*$/.test(a)?(0,b.jsx)(b.Fragment,{children:O(a)}):(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:String(a)})}function T(a){return"string"==typeof a&&a.trim()?a:null}function U(a,b){return"ALL"===b||String(a.result??"unknown").toLocaleUpperCase()===b}function V({report:a}){let c=(0,r.useTranslations)("builds"),[d,e]=(0,s.useState)("ALL"),f=Array.isArray(a.data.tests)?a.data.tests:[],g=Array.isArray(a.data.devices)?a.data.devices:[],h=b=>"number"==typeof a.summary[b]?Number(a.summary[b]):0,i=(function(a){let b=new Map;for(let c of a){let a=T(c.bundle),d=T(c.suite),e=T(c.plan),f=T(c.configuration),g=d??a,h=JSON.stringify([e,f,a,g]),i=b.get(h)??{key:h,name:g,bundle:a,plan:e,configuration:f,tests:[]};i.tests.push(c),b.set(h,i)}return[...b.values()].sort((a,b)=>(a.name??"").localeCompare(b.name??"",void 0,{numeric:!0,sensitivity:"base"}))})(f).filter(a=>a.tests.some(a=>U(a,d)));return(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("testResults")})}),(0,b.jsx)(x.CardContent,{className:"space-y-4",children:"FAILED"===a.status?(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:a.error??c("testResultsFailed")})}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:c("testTotal",{count:h("total")})}),(0,b.jsx)(v.Badge,{className:"bg-emerald-600 text-white dark:bg-emerald-700",children:c("testPassed",{count:h("passed")})}),(0,b.jsx)(v.Badge,{variant:h("failed")?"destructive":"outline",children:c("testFailed",{count:h("failed")})}),(0,b.jsx)(v.Badge,{className:"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300",variant:"outline",children:c("testSkipped",{count:h("skipped")})}),g.map((a,c)=>(0,b.jsxs)(v.Badge,{variant:"outline",children:[String(a.deviceName??a.modelName??"Device")," ·"," ",String(a.osVersion??"—")]},c))]}),(0,b.jsx)("div",{className:"overflow-x-auto pb-1",children:(0,b.jsx)(E.Tabs,{onValueChange:a=>e(a),value:d,children:(0,b.jsxs)(E.TabsList,{"aria-label":c("testResultFilters"),children:[(0,b.jsx)(E.TabsTrigger,{value:"ALL",children:c("testFilterAll",{count:f.length})}),(0,b.jsx)(E.TabsTrigger,{value:"PASSED",children:c("testFilterPassed",{count:h("passed")})}),(0,b.jsx)(E.TabsTrigger,{value:"FAILED",children:c("testFilterFailed",{count:h("failed")})}),(0,b.jsx)(E.TabsTrigger,{value:"SKIPPED",children:c("testFilterSkipped",{count:h("skipped")})})]})})}),(0,b.jsx)("div",{className:"divide-y rounded-md border",children:i.map(a=>(0,b.jsx)(W,{filter:d,group:a},a.key))})]})})]})}function W({filter:a,group:c}){let d=(0,r.useTranslations)("builds"),e=(0,q.useLocale)(),[f,g]=(0,s.useState)(!1),h=c.name??d("testsWithoutSuite"),i=c.tests.filter(a=>"Passed"===a.result).length,j=c.tests.length?i/c.tests.length:0,k=new Intl.NumberFormat(e,{style:"percent",maximumFractionDigits:1}).format(j),l=c.tests.filter(b=>U(b,a)),o=new Map;for(let a of l){let b=function(a){let b=T(a.file);if(b)return b;let c=T(a.suite);return c||(T(a.identifier)?.split("/")[0]??null)}(a)??d("testsWithoutFile");o.set(b,[...o.get(b)??[],a])}let p=[c.bundle,c.configuration,c.plan].filter(Boolean).join(" · ");return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":f,"aria-label":d(f?"collapseTestSuite":"expandTestSuite",{suite:h}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>g(a=>!a),type:"button",children:[f?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:h}),p&&(0,b.jsx)("span",{className:"hidden shrink-0 text-xs text-muted-foreground sm:inline",children:p}),(0,b.jsx)(v.Badge,{className:1===j?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":j>=.5?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"",variant:j<.5?"destructive":"outline",children:d("testSuitePassed",{passed:i,total:c.tests.length,percent:k})})]}),f&&(0,b.jsx)("div",{className:"border-t bg-muted/10 p-2",children:(0,b.jsx)("div",{className:"divide-y rounded-md border bg-background",children:[...o.entries()].sort(([a],[b])=>a.localeCompare(b,e,{numeric:!0,sensitivity:"base"})).map(([a,c])=>(0,b.jsx)(X,{file:a,tests:c},a))})})]})}function X({file:a,tests:c}){let d=(0,r.useTranslations)("builds"),[e,f]=(0,s.useState)(!1);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":e,"aria-label":d(e?"collapseTestFile":"expandTestFile",{file:a}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>f(a=>!a),type:"button",children:[e?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",title:a,children:a}),(0,b.jsx)(v.Badge,{variant:"outline",children:d("testTotal",{count:c.length})})]}),e&&(0,b.jsx)("div",{className:"border-t overflow-auto",children:(0,b.jsxs)(F.Table,{"aria-label":a,className:"min-w-[38rem] text-xs",children:[(0,b.jsx)(F.TableHeader,{children:(0,b.jsxs)(F.TableRow,{children:[(0,b.jsx)(F.TableHead,{className:"h-8 px-2",children:d("testStatus")}),(0,b.jsx)(F.TableHead,{className:"h-8 px-2",children:d("testName")}),(0,b.jsx)(F.TableHead,{className:"h-8 px-2 text-right",children:d("testDuration")})]})}),(0,b.jsx)(F.TableBody,{children:c.map((a,c)=>{let d=Array.isArray(a.details)?a.details.filter(a=>"string"==typeof a):[],e=Array.isArray(a.tags)?a.tags.filter(a=>"string"==typeof a):[],f=String(a.name??"—"),g=T(a.identifier);return(0,b.jsxs)(F.TableRow,{children:[(0,b.jsx)(F.TableCell,{className:"px-2 py-1.5",children:(0,b.jsx)(Y,{result:String(a.result??"unknown")})}),(0,b.jsxs)(F.TableCell,{className:"max-w-xl px-2 py-1.5 whitespace-normal",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,b.jsx)("span",{className:"font-mono font-medium",children:f}),e.map(a=>(0,b.jsx)(v.Badge,{variant:"outline",children:a},a))]}),g&&g!==f&&(0,b.jsx)("p",{className:"truncate font-mono text-muted-foreground",title:g,children:g}),d.map((a,c)=>(0,b.jsx)("p",{className:"mt-1 text-destructive",children:a},c))]}),(0,b.jsx)(F.TableCell,{className:"px-2 py-1.5 text-right tabular-nums",children:"number"==typeof a.durationSeconds?`${a.durationSeconds.toFixed(3)}s`:"—"})]},`${g??f}:${c}`)})})]})})]})}function Y({result:a}){let c=a.toLocaleLowerCase();return(0,b.jsx)(v.Badge,{className:"passed"===c?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"skipped"===c?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"expected failure"===c?"border-violet-500/40 bg-violet-500/10 text-violet-700 dark:text-violet-300":"",variant:"failed"===c?"destructive":"outline",children:a})}function Z({label:a,value:c,mono:d=!1}){return(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:a}),(0,b.jsx)("dd",{className:d?"mt-0.5 break-all font-mono text-xs":"mt-0.5",children:c})]})}function $({buildId:a,open:c,onOpenChange:d,onSaved:e}){let f=(0,r.useTranslations)("builds"),[g,h]=(0,s.useState)("DEBUGGING"),[i,j]=(0,s.useState)("AUTOMATIC"),[k,l]=(0,s.useState)(""),[m,n]=(0,s.useState)(!1),[o,p]=(0,s.useState)(null),q=async()=>{n(!0);try{await (0,I.controlPlaneRequest)(`mutation ExportArchive($input: ExportBuildArchiveInput!) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}`,{
|
|
22
|
-
buildLogAdded(buildId: $buildId) { ${N} }
|
|
23
|
-
}`,variables:{buildId:a}},{next:a=>{let b=a.data?.buildLogAdded;b&&F(a=>a.some(a=>a.id===b.id)?a:[...a,b])},error:()=>void 0,complete:()=>void 0});return()=>{b(),c()}},[a,ai]);let aj=null!==B&&(["QUEUED","PREPARING","RUNNING"].includes(B.status)||B.deployments.some(a=>["QUEUED","RUNNING"].includes(a.status))||B.exports.some(a=>["QUEUED","RUNNING"].includes(a.status)));(0,s.useEffect)(()=>{if(!aj)return;let a=window.setInterval(()=>void ai(),2e3);return()=>window.clearInterval(a)},[aj,ai]),(0,s.useEffect)(()=>{aj&&ah.current&&(ah.current.scrollTop=ah.current.scrollHeight)},[aj,E]),(0,s.useEffect)(()=>{if(!ad)return;let a=window.setTimeout(()=>ae(!1),2e3);return()=>window.clearTimeout(a)},[ad]);let ak=async()=>{W(!0);try{await (0,I.controlPlaneRequest)("mutation CancelBuild($id: ID!) { cancelBuild(id: $id) { id status } }",{id:a}),await ai()}catch(a){T(a instanceof Error?a.message:String(a))}finally{W(!1)}},al=async()=>{W(!0),T(null);try{await (0,I.controlPlaneRequest)("mutation DeleteBuild($ids: [ID!]!) { deleteBuilds(ids: $ids) }",{ids:[a]}),A.replace("/builds")}catch(a){T(a instanceof Error?a.message:String(a)),ac(!1)}finally{W(!1)}},am=B?.artifacts.some(a=>"RUNNABLE_APP"===a.kind),an=B?.artifacts.some(a=>"ARCHIVE"===a.kind),ao=B?.reports?.find(a=>"TEST_RESULTS"===a.kind),ap=B?.reports?.find(a=>"CODE_COVERAGE"===a.kind),aq=B?.artifacts.find(a=>"RESULT_BUNDLE"===a.kind),ar=!!B&&["TEST","TEST_WITHOUT_BUILDING"].includes(B.action),as=B?.snapshot??{},at=as.repository,au=as.worktree,av=as.configuration,aw=aq?.metadata.coverageAvailable===!0||av?.advancedSettings?.codeCoverage===!0,ax=a=>a?new Date(a).toLocaleString(y):"—",ay=async a=>{try{await (0,H.copyText)(a),ae(!0)}catch{T(f("copyFailed"))}},az=async b=>{Y(b),T(null);try{let c="TEST_RESULTS"===b?"parseBuildTestResults":"generateBuildCoverageReport";await (0,I.controlPlaneRequest)(`mutation GenerateBuildReport($buildId: ID!, $requestId: ID!) {
|
|
28
|
+
`,Y="id scope scopeId sequence phase level stream message createdAt",Z=new Set(["IPA"]);function $(a){return a.split("_").filter(Boolean).map(a=>Z.has(a)?a:`${a.charAt(0).toLocaleUpperCase()}${a.slice(1).toLocaleLowerCase()}`).join(" ")}let _=["packageResolution","disablePackageRepositoryCache","signingStyle","developmentTeam","codeSignIdentity","provisioningProfileSpecifier","productBundleIdentifier","allowProvisioningUpdates","allowProvisioningDeviceRegistration","testPlan","codeCoverage","parseTestResults","parallelTesting","parallelTestingWorkers","onlyTesting","skipTesting","buildSettingOverrides","priorBuildForTestingId","priorTestProductsPath","priorXctestrunPath"],aa={packageResolution:"DEFAULT",disablePackageRepositoryCache:!1,signingStyle:"PROJECT_DEFAULT",developmentTeam:null,codeSignIdentity:null,provisioningProfileSpecifier:null,productBundleIdentifier:null,allowProvisioningUpdates:!1,allowProvisioningDeviceRegistration:!1,testPlan:null,codeCoverage:!1,parseTestResults:!0,parallelTesting:null,parallelTestingWorkers:null,onlyTesting:[],skipTesting:[],buildSettingOverrides:{},priorBuildForTestingId:null,priorTestProductsPath:null,priorXctestrunPath:null};function ab({settings:a}){let c=(0,r.useTranslations)("builds"),d={packageResolution:c("packageResolution"),disablePackageRepositoryCache:c("disablePackageRepositoryCache"),signingStyle:c("signingStyle"),developmentTeam:c("developmentTeam"),codeSignIdentity:c("codeSignIdentity"),provisioningProfileSpecifier:c("provisioningProfileSpecifier"),productBundleIdentifier:c("productBundleIdentifier"),allowProvisioningUpdates:c("allowProvisioningUpdates"),allowProvisioningDeviceRegistration:c("allowProvisioningDeviceRegistration"),testPlan:c("testPlan"),codeCoverage:c("codeCoverage"),parseTestResults:c("parseTestResults"),parallelTesting:c("parallelTesting"),parallelTestingWorkers:c("parallelTestingWorkers"),onlyTesting:c("onlyTesting"),skipTesting:c("skipTesting"),buildSettingOverrides:c("buildSettingOverrides"),priorBuildForTestingId:c("priorBuildForTesting"),priorTestProductsPath:c("priorTestProductsPath"),priorXctestrunPath:c("priorXctestrunPath")},e=new Set(_),f=a?[..._.filter(b=>Object.hasOwn(a,b)),...Object.keys(a).filter(a=>!e.has(a)).sort()].filter(b=>{var c;return c=a[b],Object.hasOwn(aa,b)?JSON.stringify(c)!==JSON.stringify(aa[b]):null!=c&&""!==c&&!1!==c&&(Array.isArray(c)?c.length>0:"object"!=typeof c||Object.keys(c).length>0)}):[];return a&&f.length?(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("advancedSettings")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("dl",{className:"space-y-3 text-sm",children:f.map(c=>(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:d[c]??$(c.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replaceAll("-","_"))}),(0,b.jsx)("dd",{className:"mt-0.5 min-w-0",children:(0,b.jsx)(ac,{value:a[c]})})]},c))})})]}):null}function ac({value:a}){let c=(0,r.useTranslations)("builds");if("boolean"==typeof a)return(0,b.jsx)(v.Badge,{variant:a?"default":"secondary",children:c(a?"settingsEnabled":"settingsDisabled")});if(null==a||""===a)return(0,b.jsx)(b.Fragment,{children:"—"});if(Array.isArray(a))return a.length?(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:a.map(String).join(", ")}):(0,b.jsx)(b.Fragment,{children:"—"});if("object"==typeof a){let c=JSON.stringify(a);return c&&"{}"!==c?(0,b.jsx)("span",{className:"break-all font-mono text-xs",children:c}):(0,b.jsx)(b.Fragment,{children:"—"})}return"string"==typeof a&&/^[A-Z][A-Z0-9_]*$/.test(a)?(0,b.jsx)(b.Fragment,{children:$(a)}):(0,b.jsx)("span",{className:"break-words font-mono text-xs",children:String(a)})}function ad(a){return"string"==typeof a&&a.trim()?a:null}function ae(a,b){return"ALL"===b||String(a.result??"unknown").toLocaleUpperCase()===b}function af({report:a}){let c=(0,r.useTranslations)("builds"),[d,e]=(0,s.useState)("ALL"),f=Array.isArray(a.data.tests)?a.data.tests:[],g=Array.isArray(a.data.devices)?a.data.devices:[],h=b=>"number"==typeof a.summary[b]?Number(a.summary[b]):0,i=(function(a){let b=new Map;for(let c of a){let a=ad(c.bundle),d=ad(c.suite),e=ad(c.plan),f=ad(c.configuration),g=d??a,h=JSON.stringify([e,f,a,g]),i=b.get(h)??{key:h,name:g,bundle:a,plan:e,configuration:f,tests:[]};i.tests.push(c),b.set(h,i)}return[...b.values()].sort((a,b)=>(a.name??"").localeCompare(b.name??"",void 0,{numeric:!0,sensitivity:"base"}))})(f).filter(a=>a.tests.some(a=>ae(a,d)));return(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:c("testResults")})}),(0,b.jsx)(x.CardContent,{className:"space-y-4",children:"FAILED"===a.status?(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:a.error??c("testResultsFailed")})}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:c("testTotal",{count:h("total")})}),(0,b.jsx)(v.Badge,{className:"bg-emerald-600 text-white dark:bg-emerald-700",children:c("testPassed",{count:h("passed")})}),(0,b.jsx)(v.Badge,{variant:h("failed")?"destructive":"outline",children:c("testFailed",{count:h("failed")})}),(0,b.jsx)(v.Badge,{className:"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300",variant:"outline",children:c("testSkipped",{count:h("skipped")})}),g.map((a,c)=>(0,b.jsxs)(v.Badge,{variant:"outline",children:[String(a.deviceName??a.modelName??"Device")," ·"," ",String(a.osVersion??"—")]},c))]}),(0,b.jsx)("div",{className:"overflow-x-auto pb-1",children:(0,b.jsx)(A.Tabs,{onValueChange:a=>e(a),value:d,children:(0,b.jsxs)(A.TabsList,{"aria-label":c("testResultFilters"),children:[(0,b.jsx)(A.TabsTrigger,{value:"ALL",children:c("testFilterAll",{count:f.length})}),(0,b.jsx)(A.TabsTrigger,{value:"PASSED",children:c("testFilterPassed",{count:h("passed")})}),(0,b.jsx)(A.TabsTrigger,{value:"FAILED",children:c("testFilterFailed",{count:h("failed")})}),(0,b.jsx)(A.TabsTrigger,{value:"SKIPPED",children:c("testFilterSkipped",{count:h("skipped")})})]})})}),(0,b.jsx)("div",{className:"divide-y rounded-md border",children:i.map(a=>(0,b.jsx)(ag,{filter:d,group:a},a.key))})]})})]})}function ag({filter:a,group:c}){let d=(0,r.useTranslations)("builds"),e=(0,q.useLocale)(),[f,g]=(0,s.useState)(!1),h=c.name??d("testsWithoutSuite"),i=c.tests.filter(a=>"Passed"===a.result).length,j=c.tests.length?i/c.tests.length:0,k=new Intl.NumberFormat(e,{style:"percent",maximumFractionDigits:1}).format(j),l=c.tests.filter(b=>ae(b,a)),o=new Map;for(let a of l){let b=function(a){let b=ad(a.file);if(b)return b;let c=ad(a.suite);return c||(ad(a.identifier)?.split("/")[0]??null)}(a)??d("testsWithoutFile");o.set(b,[...o.get(b)??[],a])}let p=[c.bundle,c.configuration,c.plan].filter(Boolean).join(" · ");return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":f,"aria-label":d(f?"collapseTestSuite":"expandTestSuite",{suite:h}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>g(a=>!a),type:"button",children:[f?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:h}),p&&(0,b.jsx)("span",{className:"hidden shrink-0 text-xs text-muted-foreground sm:inline",children:p}),(0,b.jsx)(v.Badge,{className:1===j?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":j>=.5?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"",variant:j<.5?"destructive":"outline",children:d("testSuitePassed",{passed:i,total:c.tests.length,percent:k})})]}),f&&(0,b.jsx)("div",{className:"border-t bg-muted/10 p-2",children:(0,b.jsx)("div",{className:"divide-y rounded-md border bg-background",children:[...o.entries()].sort(([a],[b])=>a.localeCompare(b,e,{numeric:!0,sensitivity:"base"})).map(([a,c])=>(0,b.jsx)(ah,{file:a,tests:c},a))})})]})}function ah({file:a,tests:c}){let d=(0,r.useTranslations)("builds"),[e,f]=(0,s.useState)(!1);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("button",{"aria-expanded":e,"aria-label":d(e?"collapseTestFile":"expandTestFile",{file:a}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>f(a=>!a),type:"button",children:[e?(0,b.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,b.jsx)(n.ChevronRight,{className:"size-3.5 shrink-0"}),(0,b.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",title:a,children:a}),(0,b.jsx)(v.Badge,{variant:"outline",children:d("testTotal",{count:c.length})})]}),e&&(0,b.jsx)("div",{className:"border-t overflow-auto",children:(0,b.jsxs)(B.Table,{"aria-label":a,className:"min-w-[38rem] text-xs",children:[(0,b.jsx)(B.TableHeader,{children:(0,b.jsxs)(B.TableRow,{children:[(0,b.jsx)(B.TableHead,{className:"h-8 px-2",children:d("testStatus")}),(0,b.jsx)(B.TableHead,{className:"h-8 px-2",children:d("testName")}),(0,b.jsx)(B.TableHead,{className:"h-8 px-2 text-right",children:d("testDuration")})]})}),(0,b.jsx)(B.TableBody,{children:c.map((a,c)=>{let d=Array.isArray(a.details)?a.details.filter(a=>"string"==typeof a):[],e=Array.isArray(a.tags)?a.tags.filter(a=>"string"==typeof a):[],f=String(a.name??"—"),g=ad(a.identifier);return(0,b.jsxs)(B.TableRow,{children:[(0,b.jsx)(B.TableCell,{className:"px-2 py-1.5",children:(0,b.jsx)(ai,{result:String(a.result??"unknown")})}),(0,b.jsxs)(B.TableCell,{className:"max-w-xl px-2 py-1.5 whitespace-normal",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,b.jsx)("span",{className:"font-mono font-medium",children:f}),e.map(a=>(0,b.jsx)(v.Badge,{variant:"outline",children:a},a))]}),g&&g!==f&&(0,b.jsx)("p",{className:"truncate font-mono text-muted-foreground",title:g,children:g}),d.map((a,c)=>(0,b.jsx)("p",{className:"mt-1 text-destructive",children:a},c))]}),(0,b.jsx)(B.TableCell,{className:"px-2 py-1.5 text-right tabular-nums",children:"number"==typeof a.durationSeconds?`${a.durationSeconds.toFixed(3)}s`:"—"})]},`${g??f}:${c}`)})})]})})]})}function ai({result:a}){let c=a.toLocaleLowerCase();return(0,b.jsx)(v.Badge,{className:"passed"===c?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"skipped"===c?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"expected failure"===c?"border-violet-500/40 bg-violet-500/10 text-violet-700 dark:text-violet-300":"",variant:"failed"===c?"destructive":"outline",children:a})}function aj({label:a,value:c,mono:d=!1}){return(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-muted-foreground",children:a}),(0,b.jsx)("dd",{className:d?"mt-0.5 break-all font-mono text-xs":"mt-0.5",children:c})]})}a.s(["BuildDetailPage",0,function({buildId:a,publicOrigin:f}){let A=(0,r.useTranslations)("builds"),B=(0,q.useLocale)(),G=(0,C.useRouter)(),[H,I]=(0,s.useState)(null),[J,K]=(0,s.useState)([]),[L,M]=(0,s.useState)(!0),[N,P]=(0,s.useState)(null),[Q,R]=(0,s.useState)(!1),[S,T]=(0,s.useState)(null),[Z,_]=(0,s.useState)(!1),[aa,ac]=(0,s.useState)(!1),[ad,ae]=(0,s.useState)(!1),[ag,ah]=(0,s.useState)(!0),ai=(0,s.useRef)(null),ak=(0,s.useCallback)(async()=>{try{let b=await (0,E.controlPlaneRequest)(`query BuildDetail($id: ID!) {
|
|
29
|
+
build(id: $id) { ${X} }
|
|
30
|
+
buildLogs(buildId: $id, first: 5000) { ${Y} }
|
|
31
|
+
}`,{id:a});I(b.build),K(b.buildLogs),P(null)}catch(a){P(a instanceof Error?a.message:String(a))}finally{M(!1)}},[a]);(0,s.useEffect)(()=>{let a=window.setTimeout(()=>void ak(),0);return()=>window.clearTimeout(a)},[ak]),(0,s.useEffect)(()=>{let b=(0,E.controlPlaneSubscriptions)().subscribe({query:"subscription BuildChanged($id: ID!) { buildChanged(id: $id) { id } }",variables:{id:a}},{next:()=>void ak(),error:()=>void 0,complete:()=>void 0}),c=(0,E.controlPlaneSubscriptions)().subscribe({query:`subscription BuildLogAdded($buildId: ID!) {
|
|
32
|
+
buildLogAdded(buildId: $buildId) { ${Y} }
|
|
33
|
+
}`,variables:{buildId:a}},{next:a=>{let b=a.data?.buildLogAdded;b&&K(a=>a.some(a=>a.id===b.id)?a:[...a,b])},error:()=>void 0,complete:()=>void 0});return()=>{b(),c()}},[a,ak]);let al=null!==H&&(["QUEUED","PREPARING","RUNNING"].includes(H.status)||H.deployments.some(a=>["QUEUED","RUNNING"].includes(a.status))||H.exports.some(a=>["QUEUED","RUNNING"].includes(a.status)));(0,s.useEffect)(()=>{if(!al)return;let a=window.setInterval(()=>void ak(),2e3);return()=>window.clearInterval(a)},[al,ak]),(0,s.useEffect)(()=>{al&&ai.current&&(ai.current.scrollTop=ai.current.scrollHeight)},[al,J]),(0,s.useEffect)(()=>{if(!ad)return;let a=window.setTimeout(()=>ae(!1),2e3);return()=>window.clearTimeout(a)},[ad]);let am=async()=>{R(!0);try{await (0,E.controlPlaneRequest)("mutation CancelBuild($id: ID!) { cancelBuild(id: $id) { id status } }",{id:a}),await ak()}catch(a){P(a instanceof Error?a.message:String(a))}finally{R(!1)}},an=async()=>{R(!0),P(null);try{await (0,E.controlPlaneRequest)("mutation DeleteBuild($ids: [ID!]!) { deleteBuilds(ids: $ids) }",{ids:[a]}),G.replace("/builds")}catch(a){P(a instanceof Error?a.message:String(a)),ac(!1)}finally{R(!1)}},ao=H?.artifacts.some(a=>"RUNNABLE_APP"===a.kind),ap=H?.artifacts.some(a=>"ARCHIVE"===a.kind),aq=H?.reports?.find(a=>"TEST_RESULTS"===a.kind),ar=H?.reports?.find(a=>"CODE_COVERAGE"===a.kind),as=H?.artifacts.find(a=>"RESULT_BUNDLE"===a.kind),at=!!H&&["TEST","TEST_WITHOUT_BUILDING"].includes(H.action),au=H?.snapshot??{},av=au.repository,aw=au.worktree,ax=au.configuration,ay=as?.metadata.coverageAvailable===!0||ax?.advancedSettings?.codeCoverage===!0,az=a=>a?new Date(a).toLocaleString(B):"—",aA=async a=>{try{await (0,D.copyText)(a),ae(!0)}catch{P(A("copyFailed"))}},aB=async b=>{T(b),P(null);try{let c="TEST_RESULTS"===b?"parseBuildTestResults":"generateBuildCoverageReport";await (0,E.controlPlaneRequest)(`mutation GenerateBuildReport($buildId: ID!, $requestId: ID!) {
|
|
24
34
|
${c}(buildId: $buildId, requestId: $requestId) { id status error }
|
|
25
|
-
}`,{buildId:a,requestId:(0,H.createClientId)()}),await ai()}catch(a){T(a instanceof Error?a.message:String(a))}finally{Y(null)}},aA=a=>{let b=ah.current;b&&b.scrollTo({behavior:"smooth",top:"top"===a?0:b.scrollHeight})};return P?(0,b.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-muted-foreground",children:[(0,b.jsx)(D.Spinner,{})," ",f("loading")]}):B?(0,b.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[(0,b.jsx)("div",{children:(0,b.jsx)(w.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,b.jsxs)(G.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",f("backToBuilds")]})})}),S&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:S})}),B.error&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsxs)(u.AlertDescription,{children:[B.errorCode?`${B.errorCode}: `:"",B.error]})}),(0,b.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:at?.name??"—"}),(0,b.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold",children:av?.name??B.id}),(0,b.jsx)(v.Badge,{variant:(0,J.buildStatusVariant)(B.status),children:f(`statuses.${B.status}`)}),(0,b.jsx)(v.Badge,{variant:"outline",children:f(`actions.${B.action}`)}),B.outOfDate&&(0,b.jsx)(v.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:f("outOfDate")})]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[au?.branch??au?.folder??"—"," ·"," ",B.destination.name]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[f("buildId"),": ",B.id]})]}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(K.RebuildButton,{buildId:B.id,onCompleted:a=>A.push(`/builds/${a.id}`),onError:T}),["QUEUED","PREPARING","RUNNING"].includes(B.status)&&(0,b.jsxs)(w.Button,{disabled:U,onClick:()=>void ak(),variant:"destructive",children:[U?(0,b.jsx)(D.Spinner,{}):(0,b.jsx)(o.Square,{})," ",f("cancelBuild")]}),"SUCCEEDED"===B.status&&am&&(0,b.jsx)(L.RunBuildControls,{buildId:B.id,destinationType:B.destinationType,onCompleted:ai,onError:T,preferredDestination:B.destination}),"SUCCEEDED"===B.status&&an&&(0,b.jsxs)(w.Button,{onClick:()=>aa(!0),variant:"outline",children:[(0,b.jsx)(c.Archive,{})," ",f("exportArchive")]}),!aj&&ar&&aq&&ao?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==X,onClick:()=>void az("TEST_RESULTS"),variant:"outline",children:["TEST_RESULTS"===X?(0,b.jsx)(D.Spinner,{}):(0,b.jsx)(k,{}),ao?.status==="FAILED"?f("retryParseTestResults"):f("parseTestResultsAction")]}),!aj&&aq&&aw&&ap?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==X,onClick:()=>void az("CODE_COVERAGE"),variant:"outline",children:["CODE_COVERAGE"===X?(0,b.jsx)(D.Spinner,{}):(0,b.jsx)(l,{}),ap?.status==="FAILED"?f("retryCoverageReport"):f("generateCoverageReport")]}),ap?.status==="READY"&&(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(G.Link,{href:`/builds/${B.id}/coverage`,children:[(0,b.jsx)(l,{})," ",f("viewCoverageReport")]})}),(0,b.jsxs)(w.Button,{disabled:U||["QUEUED","PREPARING","RUNNING"].includes(B.status),onClick:()=>ac(!0),variant:"destructive",children:[(0,b.jsx)(p.Trash2,{})," ",f("deleteBuild")]})]})]}),ao&&(0,b.jsx)(V,{report:ao}),(0,b.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-[minmax(0,2fr)_minmax(18rem,1fr)]",children:[(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{className:"gap-0 py-0",children:[(0,b.jsx)(x.CardHeader,{className:af?"border-b bg-muted/40 py-3":"bg-muted/40 py-3",children:(0,b.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,b.jsx)(w.Button,{"aria-expanded":af,className:"-m-2 h-auto min-w-0 flex-1 justify-start p-2 text-left aria-expanded:bg-transparent aria-expanded:hover:bg-muted dark:aria-expanded:bg-transparent dark:aria-expanded:hover:bg-muted/50",onClick:()=>ag(a=>!a),type:"button",variant:"ghost",children:(0,b.jsx)("span",{className:"truncate font-medium",children:f("logs")})}),(0,b.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[af&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(w.Button,{"aria-label":f("scrollLogsToTop"),onClick:()=>aA("top"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(g,{})}),(0,b.jsx)(w.Button,{"aria-label":f("scrollLogsToBottom"),onClick:()=>aA("bottom"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(e.ArrowDownToLine,{})})]}),(0,b.jsx)(w.Button,{"aria-expanded":af,"aria-label":f(af?"collapseLogs":"expandLogs"),onClick:()=>ag(a=>!a),size:"icon-sm",title:f(af?"collapseLogs":"expandLogs"),type:"button",variant:"ghost",children:af?(0,b.jsx)(m.ChevronDown,{className:"size-5"}):(0,b.jsx)(n.ChevronRight,{className:"size-5"})})]})]})}),af&&(0,b.jsx)(x.CardContent,{className:"py-4",children:(0,b.jsx)("pre",{className:"max-h-[calc(100svh-8rem)] w-full min-w-0 max-w-full overflow-auto rounded-lg bg-neutral-950 p-3 text-xs whitespace-pre-wrap text-neutral-100 [overflow-wrap:anywhere] sm:max-h-[48rem]",ref:ah,children:E.length?E.map(a=>`[${a.phase}] ${a.message}`).join("\n"):f("noLogs")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsxs)(x.CardHeader,{children:[(0,b.jsx)(x.CardTitle,{children:f("commandSummary")}),(0,b.jsx)(x.CardAction,{children:(0,b.jsx)(w.Button,{"aria-label":ad?f("commandCopied"):f("copyCommand"),onClick:()=>void ay(B.commandSummary),size:"icon-sm",type:"button",variant:"ghost",children:ad?(0,b.jsx)(h.Check,{}):(0,b.jsx)(i.Copy,{})})})]}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("pre",{className:"w-full min-w-0 max-w-full overflow-x-auto rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap [overflow-wrap:anywhere]",children:B.commandSummary})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("scripts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:B.scriptExecutions.length?B.scriptExecutions.map(a=>(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("p",{className:"text-sm font-medium",children:[a.nameSnapshot," ·"," ",O(a.phase)]}),a.error&&(0,b.jsx)("p",{className:"text-xs text-destructive",children:a.error})]}),(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:O(a.status)})]},a.id)):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f("noScriptExecutions")})})]})]}),(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("overview")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsxs)("dl",{className:"space-y-3 text-sm",children:[(0,b.jsx)(Z,{label:f("buildId"),value:B.id,mono:!0}),(0,b.jsx)(Z,{label:f("scheme"),value:av?.scheme??"—",mono:!0}),(0,b.jsx)(Z,{label:f("configuration"),value:av?.buildConfiguration??"—",mono:!0}),(0,b.jsx)(Z,{label:f("head"),value:au?.headSha??"—",mono:!0}),(0,b.jsx)(Z,{label:f("startedAt"),value:ax(B.startedAt)}),(0,b.jsx)(Z,{label:f("finishedAt"),value:ax(B.finishedAt)}),(0,b.jsx)(Z,{label:f("artifactDirectory"),value:B.artifactDirectory,mono:!0})]})})]}),(0,b.jsx)(R,{settings:av?.advancedSettings}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("artifacts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:B.artifacts.length?B.artifacts.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:O(a.kind)}),(0,b.jsx)(w.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,b.jsxs)("a",{download:!0,href:`/api/builds/${encodeURIComponent(B.id)}/artifacts/${encodeURIComponent(a.id)}`,children:[(0,b.jsx)(j.Download,{})," ",f("downloadArtifact")]})})]}),(0,b.jsx)("p",{className:"mt-1 break-all font-mono text-xs text-muted-foreground",children:a.relativePath})]},a.id)):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f("noArtifacts")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:f("runsAndExports")})}),(0,b.jsxs)(x.CardContent,{className:"space-y-2",children:[B.deployments.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:a.destination.name}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:O(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:ax(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),B.exports.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:f("archiveExport")}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:O(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:ax(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.outputRelativePath&&(0,b.jsx)("p",{className:"mt-1 font-mono text-xs",children:a.outputRelativePath}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),!B.deployments.length&&!B.exports.length&&(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f("noRunsOrExports")})]})]})]})]}),_&&(0,b.jsx)($,{buildId:B.id,onOpenChange:aa,onSaved:ai,open:_}),(0,b.jsx)(t.ConfirmationDialog,{actionLabel:f("deleteBuild"),cancelLabel:f("cancel"),description:f("deleteBuildDescription"),onConfirm:al,onOpenChange:ac,open:ab,title:f("deleteBuildTitle")})]}):(0,b.jsxs)(z.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,b.jsxs)(z.EmptyHeader,{children:[(0,b.jsx)(z.EmptyTitle,{children:f("buildNotFound")}),(0,b.jsx)(z.EmptyDescription,{children:f("buildNotFoundDescription")})]}),(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(G.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",f("backToBuilds")]})})]})}],345962)}];
|
|
35
|
+
}`,{buildId:a,requestId:(0,D.createClientId)()}),await ak()}catch(a){P(a instanceof Error?a.message:String(a))}finally{T(null)}},aC=a=>{let b=ai.current;b&&b.scrollTo({behavior:"smooth",top:"top"===a?0:b.scrollHeight})};return L?(0,b.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-muted-foreground",children:[(0,b.jsx)(z.Spinner,{})," ",A("loading")]}):H?(0,b.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[(0,b.jsx)("div",{children:(0,b.jsx)(w.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,b.jsxs)(C.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",A("backToBuilds")]})})}),N&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsx)(u.AlertDescription,{children:N})}),H.error&&(0,b.jsx)(u.Alert,{variant:"destructive",children:(0,b.jsxs)(u.AlertDescription,{children:[H.errorCode?`${H.errorCode}: `:"",H.error]})}),(0,b.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:av?.name??"—"}),(0,b.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold",children:ax?.name??H.id}),(0,b.jsx)(v.Badge,{variant:(0,F.buildStatusVariant)(H.status),children:A(`statuses.${H.status}`)}),(0,b.jsx)(v.Badge,{variant:"outline",children:A(`actions.${H.action}`)}),H.outOfDate&&(0,b.jsx)(v.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:A("outOfDate")})]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[aw?.branch??aw?.folder??"—"," ·"," ",H.destination.name]}),(0,b.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[A("buildId"),": ",H.id]})]}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsx)(V.RebuildButton,{buildId:H.id,onCompleted:a=>G.push(`/builds/${a.id}`),onError:P}),["QUEUED","PREPARING","RUNNING"].includes(H.status)&&(0,b.jsxs)(w.Button,{disabled:Q,onClick:()=>void am(),variant:"destructive",children:[Q?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(o.Square,{})," ",A("cancelBuild")]}),"SUCCEEDED"===H.status&&ao&&(0,b.jsx)(W.RunBuildControls,{buildId:H.id,destinationType:H.destinationType,onCompleted:ak,onError:P,preferredDestination:H.destination}),"SUCCEEDED"===H.status&&ap&&(0,b.jsxs)(w.Button,{onClick:()=>_(!0),variant:"outline",children:[(0,b.jsx)(c.Archive,{})," ",A("exportArchive")]}),!al&&at&&as&&aq?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==S,onClick:()=>void aB("TEST_RESULTS"),variant:"outline",children:["TEST_RESULTS"===S?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(k,{}),aq?.status==="FAILED"?A("retryParseTestResults"):A("parseTestResultsAction")]}),!al&&as&&ay&&ar?.status!=="READY"&&(0,b.jsxs)(w.Button,{disabled:null!==S,onClick:()=>void aB("CODE_COVERAGE"),variant:"outline",children:["CODE_COVERAGE"===S?(0,b.jsx)(z.Spinner,{}):(0,b.jsx)(l,{}),ar?.status==="FAILED"?A("retryCoverageReport"):A("generateCoverageReport")]}),ar?.status==="READY"&&(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(C.Link,{href:`/builds/${H.id}/coverage`,children:[(0,b.jsx)(l,{})," ",A("viewCoverageReport")]})}),(0,b.jsxs)(w.Button,{disabled:Q||["QUEUED","PREPARING","RUNNING"].includes(H.status),onClick:()=>ac(!0),variant:"destructive",children:[(0,b.jsx)(p.Trash2,{})," ",A("deleteBuild")]})]})]}),aq&&(0,b.jsx)(af,{report:aq}),(0,b.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-[minmax(0,2fr)_minmax(18rem,1fr)]",children:[(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{className:"gap-0 py-0",children:[(0,b.jsx)(x.CardHeader,{className:ag?"border-b bg-muted/40 py-3":"bg-muted/40 py-3",children:(0,b.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,b.jsx)(w.Button,{"aria-expanded":ag,className:"-m-2 h-auto min-w-0 flex-1 justify-start p-2 text-left aria-expanded:bg-transparent aria-expanded:hover:bg-muted dark:aria-expanded:bg-transparent dark:aria-expanded:hover:bg-muted/50",onClick:()=>ah(a=>!a),type:"button",variant:"ghost",children:(0,b.jsx)("span",{className:"truncate font-medium",children:A("logs")})}),(0,b.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[ag&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(w.Button,{"aria-label":A("scrollLogsToTop"),onClick:()=>aC("top"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(g,{})}),(0,b.jsx)(w.Button,{"aria-label":A("scrollLogsToBottom"),onClick:()=>aC("bottom"),size:"icon-xs",type:"button",variant:"outline",children:(0,b.jsx)(e.ArrowDownToLine,{})})]}),(0,b.jsx)(w.Button,{"aria-expanded":ag,"aria-label":A(ag?"collapseLogs":"expandLogs"),onClick:()=>ah(a=>!a),size:"icon-sm",title:A(ag?"collapseLogs":"expandLogs"),type:"button",variant:"ghost",children:ag?(0,b.jsx)(m.ChevronDown,{className:"size-5"}):(0,b.jsx)(n.ChevronRight,{className:"size-5"})})]})]})}),ag&&(0,b.jsx)(x.CardContent,{className:"py-4",children:(0,b.jsx)("pre",{className:"max-h-[calc(100svh-8rem)] w-full min-w-0 max-w-full overflow-auto rounded-lg bg-neutral-950 p-3 text-xs whitespace-pre-wrap text-neutral-100 [overflow-wrap:anywhere] sm:max-h-[48rem]",ref:ai,children:J.length?J.map(a=>`[${a.phase}] ${a.message}`).join("\n"):A("noLogs")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsxs)(x.CardHeader,{children:[(0,b.jsx)(x.CardTitle,{children:A("commandSummary")}),(0,b.jsx)(x.CardAction,{children:(0,b.jsx)(w.Button,{"aria-label":ad?A("commandCopied"):A("copyCommand"),onClick:()=>void aA(H.commandSummary),size:"icon-sm",type:"button",variant:"ghost",children:ad?(0,b.jsx)(h.Check,{}):(0,b.jsx)(i.Copy,{})})})]}),(0,b.jsx)(x.CardContent,{children:(0,b.jsx)("pre",{className:"w-full min-w-0 max-w-full overflow-x-auto rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap [overflow-wrap:anywhere]",children:H.commandSummary})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("scripts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:H.scriptExecutions.length?H.scriptExecutions.map(a=>(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-2",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("p",{className:"text-sm font-medium",children:[a.nameSnapshot," ·"," ",$(a.phase)]}),a.error&&(0,b.jsx)("p",{className:"text-xs text-destructive",children:a.error})]}),(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)})]},a.id)):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:A("noScriptExecutions")})})]})]}),(0,b.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("overview")})}),(0,b.jsx)(x.CardContent,{children:(0,b.jsxs)("dl",{className:"space-y-3 text-sm",children:[(0,b.jsx)(aj,{label:A("buildId"),value:H.id,mono:!0}),(0,b.jsx)(aj,{label:A("scheme"),value:ax?.scheme??"—",mono:!0}),(0,b.jsx)(aj,{label:A("configuration"),value:ax?.buildConfiguration??"—",mono:!0}),(0,b.jsx)(aj,{label:A("head"),value:aw?.headSha??"—",mono:!0}),(0,b.jsx)(aj,{label:A("startedAt"),value:az(H.startedAt)}),(0,b.jsx)(aj,{label:A("finishedAt"),value:az(H.finishedAt)}),(0,b.jsx)(aj,{label:A("artifactDirectory"),value:H.artifactDirectory,mono:!0})]})})]}),(0,b.jsx)(ab,{settings:ax?.advancedSettings}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("artifacts")})}),(0,b.jsx)(x.CardContent,{className:"space-y-2",children:H.artifacts.length?H.artifacts.map(a=>{let c="IPA"===a.kind,d=a.metadata??{};return(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(v.Badge,{variant:"outline",children:$(a.kind)}),(0,b.jsx)(w.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,b.jsxs)("a",{download:!0,href:`/api/builds/${encodeURIComponent(H.id)}/artifacts/${encodeURIComponent(a.id)}`,children:[(0,b.jsx)(j.Download,{})," ",c?A("downloadIpa"):A("downloadArtifact")]})})]}),(0,b.jsx)("p",{className:"mt-1 break-all font-mono text-xs text-muted-foreground",children:a.relativePath}),c&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("dl",{className:"mt-2 space-y-1 text-xs text-muted-foreground",children:["string"==typeof d.bundleIdentifier&&(0,b.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,b.jsx)("dt",{children:A("ipaBundleIdentifier")}),(0,b.jsx)("dd",{className:"break-all font-mono",children:d.bundleIdentifier})]}),"string"==typeof d.bundleShortVersion&&(0,b.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,b.jsx)("dt",{children:A("ipaBundleVersion")}),(0,b.jsx)("dd",{className:"font-mono",children:d.bundleShortVersion})]})]}),(0,b.jsx)("div",{className:"mt-2 flex justify-end",children:(0,b.jsx)(U,{artifactId:a.id,buildId:H.id,metadata:d,publicOrigin:f})})]})]},a.id)}):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:A("noArtifacts")})})]}),(0,b.jsxs)(x.Card,{children:[(0,b.jsx)(x.CardHeader,{children:(0,b.jsx)(x.CardTitle,{children:A("runsAndExports")})}),(0,b.jsxs)(x.CardContent,{className:"space-y-2",children:[H.deployments.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:a.destination.name}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:az(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),H.exports.map(a=>(0,b.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium",children:A("archiveExport")}),(0,b.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,b.jsx)(v.Badge,{variant:"FAILED"===a.status?"destructive":"outline",children:$(a.status)}),(0,b.jsx)("time",{className:"text-xs text-muted-foreground",children:az(a.finishedAt??a.startedAt??a.createdAt)})]})]}),a.outputRelativePath&&(0,b.jsx)("p",{className:"mt-1 font-mono text-xs",children:a.outputRelativePath}),a.error&&(0,b.jsx)("p",{className:"mt-1 text-xs text-destructive",children:a.error})]},a.id)),!H.deployments.length&&!H.exports.length&&(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:A("noRunsOrExports")})]})]})]})]}),Z&&(0,b.jsx)(O,{buildId:H.id,onOpenChange:_,onSaved:ak,open:Z}),(0,b.jsx)(t.ConfirmationDialog,{actionLabel:A("deleteBuild"),cancelLabel:A("cancel"),description:A("deleteBuildDescription"),onConfirm:an,onOpenChange:ac,open:aa,title:A("deleteBuildTitle")})]}):(0,b.jsxs)(y.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,b.jsxs)(y.EmptyHeader,{children:[(0,b.jsx)(y.EmptyTitle,{children:A("buildNotFound")}),(0,b.jsx)(y.EmptyDescription,{children:A("buildNotFoundDescription")})]}),(0,b.jsx)(w.Button,{asChild:!0,variant:"outline",children:(0,b.jsxs)(C.Link,{href:"/builds",children:[(0,b.jsx)(d.ArrowLeft,{})," ",A("backToBuilds")]})})]})}],345962)}];
|
|
26
36
|
|
|
27
37
|
//# sourceMappingURL=src_components_builds_build-detail-page_tsx_0q1lvps._.js.map
|
|
@@ -11,10 +11,13 @@
|
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"/api/build-artifact-uploads/[uploadId]": {
|
|
14
|
-
"maxDuration":
|
|
14
|
+
"maxDuration": 1800
|
|
15
15
|
},
|
|
16
16
|
"/api/builds/[buildId]/artifacts/[artifactId]": {
|
|
17
|
-
"maxDuration":
|
|
17
|
+
"maxDuration": 1800
|
|
18
|
+
},
|
|
19
|
+
"/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist": {
|
|
20
|
+
"maxDuration": 30
|
|
18
21
|
},
|
|
19
22
|
"/api/codebases": {},
|
|
20
23
|
"/api/codebases/by-path": {},
|
|
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
|
|
|
7
7
|
"static/chunks/0cz1d0mv5g_q7.js"
|
|
8
8
|
],
|
|
9
9
|
"lowPriorityFiles": [
|
|
10
|
-
"static/
|
|
11
|
-
"static/
|
|
12
|
-
"static/
|
|
10
|
+
"static/qUqJkVkzos1XoXFl7PSxx/_buildManifest.js",
|
|
11
|
+
"static/qUqJkVkzos1XoXFl7PSxx/_ssgManifest.js",
|
|
12
|
+
"static/qUqJkVkzos1XoXFl7PSxx/_clientMiddlewareManifest.js"
|
|
13
13
|
],
|
|
14
14
|
"rootMainFiles": [
|
|
15
15
|
"static/chunks/40ovzayigkz_-.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"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\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"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\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"qUqJkVkzos1XoXFl7PSxx\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"qUqJkVkzos1XoXFl7PSxx\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
|