brief-lens 0.1.0 → 0.1.2
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/dist/python/src/credentials.py +3 -1
- package/dist/web/.next-pack/BUILD_ID +1 -1
- package/dist/web/.next-pack/app-build-manifest.json +57 -57
- package/dist/web/.next-pack/app-path-routes-manifest.json +1 -1
- package/dist/web/.next-pack/build-manifest.json +3 -3
- package/dist/web/.next-pack/prerender-manifest.json +1 -1
- package/dist/web/.next-pack/required-server-files.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/auth/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/auth/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/auth/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/briefing/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/briefing/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/briefing/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/chat/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/chat/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/chat/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/config/usage/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/config/usage/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/config/usage/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/credentials/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/credentials/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/credentials/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/geopolitical/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/geopolitical/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/geopolitical/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/journal/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/journal/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/journal/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/monitor/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/monitor/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/monitor/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/portfolio/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/portfolio/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/portfolio/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/run/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/run/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/run/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/watch-sectors/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/watch-sectors/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/watch-sectors/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/workspace/page.js +1 -1
- package/dist/web/.next-pack/server/app/(main)/workspace/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/(main)/workspace/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/_not-found/page.js +9 -9
- package/dist/web/.next-pack/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app/_not-found.html +2 -2
- package/dist/web/.next-pack/server/app/_not-found.rsc +3 -3
- package/dist/web/.next-pack/server/app/api/[...path]/route.js +1 -1
- package/dist/web/.next-pack/server/app/api/[...path]/route.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/api/attachments/[...path]/route.js +1 -1
- package/dist/web/.next-pack/server/app/api/attachments/[...path]/route.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/api/attachments/upload/route.js +1 -1
- package/dist/web/.next-pack/server/app/api/attachments/upload/route.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/api/images/[...path]/route.js +1 -1
- package/dist/web/.next-pack/server/app/api/images/[...path]/route.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/api/images/upload/route.js +1 -1
- package/dist/web/.next-pack/server/app/api/images/upload/route.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/icon.svg/route.js +2 -2
- package/dist/web/.next-pack/server/app/icon.svg/route.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/page.js +4 -4
- package/dist/web/.next-pack/server/app/page.js.nft.json +1 -1
- package/dist/web/.next-pack/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/.next-pack/server/app-paths-manifest.json +10 -10
- package/dist/web/.next-pack/server/chunks/{2653.js → 1442.js} +3 -3
- package/dist/web/.next-pack/server/chunks/1535.js +1 -1
- package/dist/web/.next-pack/server/chunks/{3969.js → 2027.js} +2 -2
- package/dist/web/.next-pack/server/middleware-build-manifest.js +1 -1
- package/dist/web/.next-pack/server/next-font-manifest.js +1 -1
- package/dist/web/.next-pack/server/next-font-manifest.json +1 -1
- package/dist/web/.next-pack/server/pages/404.html +2 -2
- package/dist/web/.next-pack/server/pages/500.html +1 -1
- package/dist/web/.next-pack/server/pages/_app.js.nft.json +1 -1
- package/dist/web/.next-pack/server/pages/_document.js.nft.json +1 -1
- package/dist/web/.next-pack/server/pages/_error.js.nft.json +1 -1
- package/dist/web/.next-pack/server/server-reference-manifest.json +1 -1
- package/dist/web/.next-pack/static/chunks/{6446-0ac97569680a3501.js → 6446-61f95d4b3c1d218e.js} +1 -1
- package/dist/web/.next-pack/static/chunks/{6892-4534d95bf2f6f65d.js → 6892-2e2903a88de0a3a1.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/auth/page-cdefc0285744fd32.js +1 -0
- package/dist/web/.next-pack/static/chunks/app/(main)/briefing/{page-06190d11406a55c7.js → page-32855bc0aad3c4c5.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/chat/{page-99c15f9cb3719ad6.js → page-f176f405e29e9deb.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/config/usage/page-17353bdfc4419bc2.js +1 -0
- package/dist/web/.next-pack/static/chunks/app/(main)/credentials/{page-93d5fb818d1b950f.js → page-725a21ae5bb6dca5.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/geopolitical/{page-fe23c0eae0a320bc.js → page-d72ed86a3f64fa83.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/journal/{page-1fd78f437ce914b8.js → page-d0b70496ffe17f8d.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/layout-b0cecbd1d6c9d290.js +1 -0
- package/dist/web/.next-pack/static/chunks/app/(main)/monitor/{page-db4aef4729a8445e.js → page-f6170cd20340183b.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/portfolio/{page-d6a0deec29b6ac9d.js → page-f23b5e92c17c21ad.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/run/page-bd28ba99ac925444.js +1 -0
- package/dist/web/.next-pack/static/chunks/app/(main)/watch-sectors/{page-71a26b7ea84b6938.js → page-5149eb0d498e0d3c.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/workspace/{page-c4ca7e2f321fbeaf.js → page-244fc26da1b2cfed.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/{layout-5e6715a3342b92e1.js → layout-d9572ae2078388a5.js} +1 -1
- package/dist/web/.next-pack/static/chunks/app/page-ecd907ac75b147cf.js +1 -0
- package/dist/web/.next-pack/static/chunks/{main-app-600e091085653e89.js → main-app-68edfd76c487cd3c.js} +1 -1
- package/dist/web/server.js +1 -1
- package/package.json +1 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/auth/page-41f748c0aebaf3e4.js +0 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/config/usage/page-9eb6637828aee4de.js +0 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/layout-f1f1b948c2034919.js +0 -1
- package/dist/web/.next-pack/static/chunks/app/(main)/run/page-2159ccf96a4af4fc.js +0 -1
- package/dist/web/.next-pack/static/chunks/app/page-c85e668e1f7d04cc.js +0 -1
- /package/dist/web/.next-pack/static/{_aH6wwsbGhdfGtwt3UMEx → VdoUHqMuKEB2yUBQvac5b}/_buildManifest.js +0 -0
- /package/dist/web/.next-pack/static/{_aH6wwsbGhdfGtwt3UMEx → VdoUHqMuKEB2yUBQvac5b}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1093.js","../../../../chunks/1105.js","../../../../chunks/1167.js","../../../../chunks/135.js","../../../../chunks/1425.js","../../../../chunks/1473.js","../../../../chunks/1535.js","../../../../chunks/1651.js","../../../../chunks/1678.js","../../../../chunks/1682.js","../../../../chunks/184.js","../../../../chunks/1878.js","../../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1093.js","../../../../chunks/1105.js","../../../../chunks/1167.js","../../../../chunks/135.js","../../../../chunks/1425.js","../../../../chunks/1442.js","../../../../chunks/1473.js","../../../../chunks/1535.js","../../../../chunks/1651.js","../../../../chunks/1678.js","../../../../chunks/1682.js","../../../../chunks/184.js","../../../../chunks/1878.js","../../../../chunks/2027.js","../../../../chunks/2269.js","../../../../chunks/2301.js","../../../../chunks/2542.js","../../../../chunks/2868.js","../../../../chunks/2918.js","../../../../chunks/2923.js","../../../../chunks/3118.js","../../../../chunks/3179.js","../../../../chunks/3189.js","../../../../chunks/3209.js","../../../../chunks/3277.js","../../../../chunks/330.js","../../../../chunks/3462.js","../../../../chunks/3483.js","../../../../chunks/3530.js","../../../../chunks/3627.js","../../../../chunks/3703.js","../../../../chunks/3754.js","../../../../chunks/4018.js","../../../../chunks/405.js","../../../../chunks/4094.js","../../../../chunks/4597.js","../../../../chunks/4605.js","../../../../chunks/4815.js","../../../../chunks/4931.js","../../../../chunks/5011.js","../../../../chunks/5175.js","../../../../chunks/5205.js","../../../../chunks/5214.js","../../../../chunks/5267.js","../../../../chunks/5972.js","../../../../chunks/6049.js","../../../../chunks/6061.js","../../../../chunks/6167.js","../../../../chunks/6282.js","../../../../chunks/6373.js","../../../../chunks/6435.js","../../../../chunks/6492.js","../../../../chunks/6509.js","../../../../chunks/6562.js","../../../../chunks/6751.js","../../../../chunks/6963.js","../../../../chunks/7188.js","../../../../chunks/7367.js","../../../../chunks/7597.js","../../../../chunks/7700.js","../../../../chunks/7952.js","../../../../chunks/8117.js","../../../../chunks/8134.js","../../../../chunks/8177.js","../../../../chunks/8332.js","../../../../chunks/8617.js","../../../../chunks/8698.js","../../../../chunks/8720.js","../../../../chunks/8739.js","../../../../chunks/8791.js","../../../../chunks/8948.js","../../../../chunks/9120.js","../../../../chunks/9143.js","../../../../chunks/9201.js","../../../../chunks/9759.js","../../../../chunks/9860.js","../../../../chunks/9896.js","../../../../chunks/font-manifest.json","../../../../webpack-runtime.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var e={};e.id=9791,e.ids=[9791],e.modules={20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},20629:e=>{e.exports=require("fs/promises")},55315:e=>{e.exports=require("path")},
|
|
1
|
+
"use strict";(()=>{var e={};e.id=9791,e.ids=[9791],e.modules={20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},20629:e=>{e.exports=require("fs/promises")},55315:e=>{e.exports=require("path")},49630:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>j,patchFetch:()=>w,requestAsyncStorage:()=>v,routeModule:()=>h,serverHooks:()=>f,staticGenerationAsyncStorage:()=>x});var a={};r.r(a),r.d(a,{GET:()=>c});var p=r(49303),i=r(88716),s=r(60670),o=r(20629),n=r(87070),u=r(55315),g=r.n(u),l=r(95908);let m=g().join((0,l.Q)(),"images"),d={jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",gif:"image/gif",webp:"image/webp"};async function c(e,{params:t}){let r=t.path.join("/"),a=g().resolve(m,r);if(!a.startsWith(m+g().sep)&&a!==m)return n.NextResponse.json({error:"Forbidden"},{status:400});let p=d[a.split(".").pop()?.toLowerCase()??""]??"application/octet-stream";try{let e=await (0,o.readFile)(a);return new Response(e,{headers:{"Content-Type":p,"Cache-Control":"public, max-age=31536000, immutable"}})}catch{return n.NextResponse.json({error:"Not found"},{status:404})}}let h=new p.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/images/[...path]/route",pathname:"/api/images/[...path]",filename:"route",bundlePath:"app/api/images/[...path]/route"},resolvedPagePath:"/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/app/api/images/[...path]/route.ts",nextConfigOutput:"standalone",userland:a}),{requestAsyncStorage:v,staticGenerationAsyncStorage:x,serverHooks:f}=h,j="/api/images/[...path]/route";function w(){return(0,s.patchFetch)({serverHooks:f,staticGenerationAsyncStorage:x})}},95908:(e,t,r)=>{r.d(t,{Q:()=>i});var a=r(55315),p=r.n(a);function i(e=process.env,t=process.cwd()){let r=e.AI_AGENT_INPUT_DIR?.trim();return r?p().resolve(t,r):p().resolve(t,"../../apps/python/input")}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[8948,5972],()=>r(49630));module.exports=a})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1093.js","../../../../chunks/1105.js","../../../../chunks/1167.js","../../../../chunks/135.js","../../../../chunks/1425.js","../../../../chunks/1473.js","../../../../chunks/1535.js","../../../../chunks/1651.js","../../../../chunks/1678.js","../../../../chunks/1682.js","../../../../chunks/184.js","../../../../chunks/1878.js","../../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1093.js","../../../../chunks/1105.js","../../../../chunks/1167.js","../../../../chunks/135.js","../../../../chunks/1425.js","../../../../chunks/1442.js","../../../../chunks/1473.js","../../../../chunks/1535.js","../../../../chunks/1651.js","../../../../chunks/1678.js","../../../../chunks/1682.js","../../../../chunks/184.js","../../../../chunks/1878.js","../../../../chunks/2027.js","../../../../chunks/2269.js","../../../../chunks/2301.js","../../../../chunks/2542.js","../../../../chunks/2868.js","../../../../chunks/2918.js","../../../../chunks/2923.js","../../../../chunks/3118.js","../../../../chunks/3179.js","../../../../chunks/3189.js","../../../../chunks/3209.js","../../../../chunks/3277.js","../../../../chunks/330.js","../../../../chunks/3462.js","../../../../chunks/3483.js","../../../../chunks/3530.js","../../../../chunks/3627.js","../../../../chunks/3703.js","../../../../chunks/3754.js","../../../../chunks/4018.js","../../../../chunks/405.js","../../../../chunks/4094.js","../../../../chunks/4597.js","../../../../chunks/4605.js","../../../../chunks/4815.js","../../../../chunks/4931.js","../../../../chunks/5011.js","../../../../chunks/5175.js","../../../../chunks/5205.js","../../../../chunks/5214.js","../../../../chunks/5267.js","../../../../chunks/5972.js","../../../../chunks/6049.js","../../../../chunks/6061.js","../../../../chunks/6167.js","../../../../chunks/6282.js","../../../../chunks/6373.js","../../../../chunks/6435.js","../../../../chunks/6492.js","../../../../chunks/6509.js","../../../../chunks/6562.js","../../../../chunks/6751.js","../../../../chunks/6963.js","../../../../chunks/7188.js","../../../../chunks/7367.js","../../../../chunks/7597.js","../../../../chunks/7700.js","../../../../chunks/7952.js","../../../../chunks/8117.js","../../../../chunks/8134.js","../../../../chunks/8177.js","../../../../chunks/8332.js","../../../../chunks/8617.js","../../../../chunks/8698.js","../../../../chunks/8720.js","../../../../chunks/8739.js","../../../../chunks/8791.js","../../../../chunks/8948.js","../../../../chunks/9120.js","../../../../chunks/9143.js","../../../../chunks/9201.js","../../../../chunks/9759.js","../../../../chunks/9860.js","../../../../chunks/9896.js","../../../../chunks/font-manifest.json","../../../../webpack-runtime.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var e={};e.id=8732,e.ids=[8732],e.modules={20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},84770:e=>{e.exports=require("crypto")},20629:e=>{e.exports=require("fs/promises")},55315:e=>{e.exports=require("path")},
|
|
1
|
+
"use strict";(()=>{var e={};e.id=8732,e.ids=[8732],e.modules={20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},84770:e=>{e.exports=require("crypto")},20629:e=>{e.exports=require("fs/promises")},55315:e=>{e.exports=require("path")},97055:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>v,patchFetch:()=>b,requestAsyncStorage:()=>x,routeModule:()=>w,serverHooks:()=>j,staticGenerationAsyncStorage:()=>h});var a={};r.r(a),r.d(a,{POST:()=>f});var o=r(49303),s=r(88716),n=r(60670),i=r(84770),p=r(20629),u=r(87070),l=r(55315),d=r.n(l),g=r(95908);let m=new Set(["jpg","jpeg","png","gif","webp"]),c=d().join((0,g.Q)(),"images");async function f(e){if(Number(e.headers.get("content-length")??0)>5242880)return u.NextResponse.json({error:"Image must be under 5 MB"},{status:400});let t=(await e.formData()).get("file");if(!(t instanceof File))return u.NextResponse.json({error:"No file provided"},{status:400});let r=t.name.split(".").pop()?.toLowerCase()??"";if(!m.has(r))return u.NextResponse.json({error:`File type ".${r}" is not allowed. Allowed: jpg, jpeg, png, gif, webp`},{status:400});let a=await t.arrayBuffer();if(a.byteLength>5242880)return u.NextResponse.json({error:"Image must be under 5 MB"},{status:400});let o=new Date().toISOString().slice(0,10),s=`${(0,i.randomUUID)()}.${r}`,n=d().join(c,o),l=d().join(n,s);await (0,p.mkdir)(n,{recursive:!0}),await (0,p.writeFile)(l,Buffer.from(a));let g=`/api/images/${o}/${s}`;return u.NextResponse.json({url:g,path:l})}let w=new o.AppRouteRouteModule({definition:{kind:s.x.APP_ROUTE,page:"/api/images/upload/route",pathname:"/api/images/upload",filename:"route",bundlePath:"app/api/images/upload/route"},resolvedPagePath:"/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/app/api/images/upload/route.ts",nextConfigOutput:"standalone",userland:a}),{requestAsyncStorage:x,staticGenerationAsyncStorage:h,serverHooks:j}=w,v="/api/images/upload/route";function b(){return(0,n.patchFetch)({serverHooks:j,staticGenerationAsyncStorage:h})}},95908:(e,t,r)=>{r.d(t,{Q:()=>s});var a=r(55315),o=r.n(a);function s(e=process.env,t=process.cwd()){let r=e.AI_AGENT_INPUT_DIR?.trim();return r?o().resolve(t,r):o().resolve(t,"../../apps/python/input")}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[8948,5972],()=>r(97055));module.exports=a})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1093.js","../../../../chunks/1105.js","../../../../chunks/1167.js","../../../../chunks/135.js","../../../../chunks/1425.js","../../../../chunks/1473.js","../../../../chunks/1535.js","../../../../chunks/1651.js","../../../../chunks/1678.js","../../../../chunks/1682.js","../../../../chunks/184.js","../../../../chunks/1878.js","../../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1093.js","../../../../chunks/1105.js","../../../../chunks/1167.js","../../../../chunks/135.js","../../../../chunks/1425.js","../../../../chunks/1442.js","../../../../chunks/1473.js","../../../../chunks/1535.js","../../../../chunks/1651.js","../../../../chunks/1678.js","../../../../chunks/1682.js","../../../../chunks/184.js","../../../../chunks/1878.js","../../../../chunks/2027.js","../../../../chunks/2269.js","../../../../chunks/2301.js","../../../../chunks/2542.js","../../../../chunks/2868.js","../../../../chunks/2918.js","../../../../chunks/2923.js","../../../../chunks/3118.js","../../../../chunks/3179.js","../../../../chunks/3189.js","../../../../chunks/3209.js","../../../../chunks/3277.js","../../../../chunks/330.js","../../../../chunks/3462.js","../../../../chunks/3483.js","../../../../chunks/3530.js","../../../../chunks/3627.js","../../../../chunks/3703.js","../../../../chunks/3754.js","../../../../chunks/4018.js","../../../../chunks/405.js","../../../../chunks/4094.js","../../../../chunks/4597.js","../../../../chunks/4605.js","../../../../chunks/4815.js","../../../../chunks/4931.js","../../../../chunks/5011.js","../../../../chunks/5175.js","../../../../chunks/5205.js","../../../../chunks/5214.js","../../../../chunks/5267.js","../../../../chunks/5972.js","../../../../chunks/6049.js","../../../../chunks/6061.js","../../../../chunks/6167.js","../../../../chunks/6282.js","../../../../chunks/6373.js","../../../../chunks/6435.js","../../../../chunks/6492.js","../../../../chunks/6509.js","../../../../chunks/6562.js","../../../../chunks/6751.js","../../../../chunks/6963.js","../../../../chunks/7188.js","../../../../chunks/7367.js","../../../../chunks/7597.js","../../../../chunks/7700.js","../../../../chunks/7952.js","../../../../chunks/8117.js","../../../../chunks/8134.js","../../../../chunks/8177.js","../../../../chunks/8332.js","../../../../chunks/8617.js","../../../../chunks/8698.js","../../../../chunks/8720.js","../../../../chunks/8739.js","../../../../chunks/8791.js","../../../../chunks/8948.js","../../../../chunks/9120.js","../../../../chunks/9143.js","../../../../chunks/9201.js","../../../../chunks/9759.js","../../../../chunks/9860.js","../../../../chunks/9896.js","../../../../chunks/font-manifest.json","../../../../webpack-runtime.js"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var e={};e.id=7033,e.ids=[7033],e.modules={20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},98504:(e,t,r)=>{"use strict";r.r(t),r.d(t,{originalPathname:()=>b,patchFetch:()=>m,requestAsyncStorage:()=>p,routeModule:()=>c,serverHooks:()=>f,staticGenerationAsyncStorage:()=>h});var i={};r.r(i),r.d(i,{GET:()=>l,dynamic:()=>d});var n=r(49303),o=r(88716),a=r(60670),s=r(73896);let u=Buffer.from("PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+CiAgPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iNyIgZmlsbD0iIzBmMTcyYSIvPgogIDxwYXRoIGQ9Ik03IDIxLjVsNS41LTUuNSA0IDRMMjUgMTEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CiAgPGNpcmNsZSBjeD0iMjUiIGN5PSIxMS41IiByPSIyLjQiIGZpbGw9IiM2MGE1ZmEiLz4KPC9zdmc+Cg==","base64");function l(){return new s.NextResponse(u,{headers:{"Content-Type":"image/svg+xml","Cache-Control":"public, immutable, no-transform, max-age=31536000"}})}let d="force-static",c=new n.AppRouteRouteModule({definition:{kind:o.x.APP_ROUTE,page:"/icon.svg/route",pathname:"/icon.svg",filename:"icon",bundlePath:"app/icon.svg/route"},resolvedPagePath:"next-metadata-route-loader?page=%2Ficon.svg%2Froute&filePath=%2FUsers%2Fnakagawakazusa%2Fwork%2Fai-agent%2Fapps%2Fweb%2Fapp%2Ficon.svg&isDynamic=0!?__next_metadata_route__",nextConfigOutput:"standalone",userland:i}),{requestAsyncStorage:p,staticGenerationAsyncStorage:h,serverHooks:f}=c,b="/icon.svg/route";function m(){return(0,a.patchFetch)({serverHooks:f,staticGenerationAsyncStorage:h})}},36637:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,o={};function a(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),i=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?i:`${i}; ${r.join("; ")}`}function s(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[i,n]=[r.slice(0,e),r.slice(e+1)];try{t.set(i,decodeURIComponent(null!=n?n:"true"))}catch{}}return t}function u(e){var t,r;if(!e)return;let[[i,n],...o]=s(e),{domain:a,expires:u,httponly:c,maxage:p,path:h,samesite:f,secure:b,partitioned:m,priority:g}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase(),t]));return function(e){let t={};for(let r in e)e[r]&&(t[r]=e[r]);return t}({name:i,value:decodeURIComponent(n),domain:a,...u&&{expires:new Date(u)},...c&&{httpOnly:!0},..."string"==typeof p&&{maxAge:Number(p)},path:h,...f&&{sameSite:l.includes(t=(t=f).toLowerCase())?t:void 0},...b&&{secure:!0},...g&&{priority:d.includes(r=(r=g).toLowerCase())?r:void 0},...m&&{partitioned:!0}})}((e,r)=>{for(var i in r)t(e,i,{get:r[i],enumerable:!0})})(o,{RequestCookies:()=>c,ResponseCookies:()=>p,parseCookie:()=>s,parseSetCookie:()=>u,stringifyCookie:()=>a}),e.exports=((e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let a of i(o))n.call(e,a)||void 0===a||t(e,a,{get:()=>o[a],enumerable:!(s=r(o,a))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var l=["strict","lax","none"],d=["low","medium","high"],c=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of s(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===i).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,i=this._parsed;return i.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(i).map(([e,t])=>a(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>a(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},p=class{constructor(e){var t,r,i;this._parsed=new Map,this._headers=e;let n=null!=(i=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?i:[];for(let e of Array.isArray(n)?n:function(e){if(!e)return[];var t,r,i,n,o,a=[],s=0;function u(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;u();)if(","===(r=e.charAt(s))){for(i=s,s+=1,u(),n=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=n,a.push(e.substring(t,i)),t=s):s=i+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}(n)){let t=u(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===i)}has(e){return this._parsed.has(e)}set(...e){let[t,r,i]=1===e.length?[e[0].name,e[0].value,e[0]]:e,n=this._parsed;return n.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...i})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=a(r);t.append("set-cookie",e)}}(n,this._headers),this}delete(...e){let[t,r,i]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0].path,e[0].domain];return this.set({name:t,path:r,domain:i,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a).join("; ")}}},42565:(e,t,r)=>{var i;(()=>{var n={226:function(n,o){!function(a,s){"use strict";var u="function",l="undefined",d="object",c="string",p="major",h="model",f="name",b="type",m="vendor",g="version",w="architecture",v="console",_="mobile",x="tablet",y="smarttv",P="wearable",R="embedded",S="Amazon",E="Apple",A="ASUS",k="BlackBerry",I="Browser",O="Chrome",T="Firefox",C="Google",N="Huawei",j="Microsoft",L="Motorola",M="Opera",U="Samsung",D="Sharp",H="Sony",q="Xiaomi",G="Zebra",F="Facebook",z="Chromium OS",B="Mac OS",X=function(e,t){var r={};for(var i in e)t[i]&&t[i].length%2==0?r[i]=t[i].concat(e[i]):r[i]=e[i];return r},W=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},$=function(e,t){return typeof e===c&&-1!==V(t).indexOf(V(e))},V=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===l?e:e.substring(0,350)},Z=function(e,t){for(var r,i,n,o,a,l,c=0;c<t.length&&!a;){var p=t[c],h=t[c+1];for(r=i=0;r<p.length&&!a&&p[r];)if(a=p[r++].exec(e))for(n=0;n<h.length;n++)l=a[++i],typeof(o=h[n])===d&&o.length>0?2===o.length?typeof o[1]==u?this[o[0]]=o[1].call(this,l):this[o[0]]=o[1]:3===o.length?typeof o[1]!==u||o[1].exec&&o[1].test?this[o[0]]=l?l.replace(o[1],o[2]):void 0:this[o[0]]=l?o[1].call(this,l,o[2]):void 0:4===o.length&&(this[o[0]]=l?o[3].call(this,l.replace(o[1],o[2])):void 0):this[o]=l||s;c+=2}},K=function(e,t){for(var r in t)if(typeof t[r]===d&&t[r].length>0){for(var i=0;i<t[r].length;i++)if($(t[r][i],e))return"?"===r?s:r}else if($(t[r],e))return"?"===r?s:r;return e},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,M+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[f,M]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[g,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+I],g],[/\bfocus\/([\w\.]+)/i],[g,[f,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,M+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,M+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[g,[f,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+I]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+I],g],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,g],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,F],g],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,O+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,g],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,V]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,V]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[m,U],[b,x]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[h,[m,U],[b,_]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[m,E],[b,_]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[m,E],[b,x]],[/(macintosh);/i],[h,[m,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[m,D],[b,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[m,N],[b,x]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[m,N],[b,_]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[h,/_/g," "],[m,q],[b,_]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[m,q],[b,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[m,"OPPO"],[b,_]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[m,"Vivo"],[b,_]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[h,[m,"Realme"],[b,_]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[m,L],[b,_]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[m,L],[b,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[m,"LG"],[b,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[m,"LG"],[b,_]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[m,"Lenovo"],[b,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[m,"Nokia"],[b,_]],[/(pixel c)\b/i],[h,[m,C],[b,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[m,C],[b,_]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[m,H],[b,_]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[m,H],[b,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[m,"OnePlus"],[b,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[m,S],[b,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[m,S],[b,_]],[/(playbook);[-\w\),; ]+(rim)/i],[h,m,[b,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[m,k],[b,_]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[m,A],[b,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[m,A],[b,_]],[/(nexus 9)/i],[h,[m,"HTC"],[b,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[h,/_/g," "],[b,_]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[m,"Acer"],[b,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[m,"Meizu"],[b,_]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,h,[b,_]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,h,[b,x]],[/(surface duo)/i],[h,[m,j],[b,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[m,"Fairphone"],[b,_]],[/(u304aa)/i],[h,[m,"AT&T"],[b,_]],[/\bsie-(\w*)/i],[h,[m,"Siemens"],[b,_]],[/\b(rct\w+) b/i],[h,[m,"RCA"],[b,x]],[/\b(venue[\d ]{2,7}) b/i],[h,[m,"Dell"],[b,x]],[/\b(q(?:mv|ta)\w+) b/i],[h,[m,"Verizon"],[b,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[m,"Barnes & Noble"],[b,x]],[/\b(tm\d{3}\w+) b/i],[h,[m,"NuVision"],[b,x]],[/\b(k88) b/i],[h,[m,"ZTE"],[b,x]],[/\b(nx\d{3}j) b/i],[h,[m,"ZTE"],[b,_]],[/\b(gen\d{3}) b.+49h/i],[h,[m,"Swiss"],[b,_]],[/\b(zur\d{3}) b/i],[h,[m,"Swiss"],[b,x]],[/\b((zeki)?tb.*\b) b/i],[h,[m,"Zeki"],[b,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],h,[b,x]],[/\b(ns-?\w{0,9}) b/i],[h,[m,"Insignia"],[b,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[m,"NextBook"],[b,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],h,[b,_]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],h,[b,_]],[/\b(ph-1) /i],[h,[m,"Essential"],[b,_]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[m,"Envizen"],[b,x]],[/\b(trio[-\w\. ]+) b/i],[h,[m,"MachSpeed"],[b,x]],[/\btu_(1491) b/i],[h,[m,"Rotor"],[b,x]],[/(shield[\w ]+) b/i],[h,[m,"Nvidia"],[b,x]],[/(sprint) (\w+)/i],[m,h,[b,_]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[m,j],[b,_]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[m,G],[b,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[m,G],[b,_]],[/smart-tv.+(samsung)/i],[m,[b,y]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[m,U],[b,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,"LG"],[b,y]],[/(apple) ?tv/i],[m,[h,E+" TV"],[b,y]],[/crkey/i],[[h,O+"cast"],[m,C],[b,y]],[/droid.+aft(\w)( bui|\))/i],[h,[m,S],[b,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[m,D],[b,y]],[/(bravia[\w ]+)( bui|\))/i],[h,[m,H],[b,y]],[/(mitv-\w{5}) bui/i],[h,[m,q],[b,y]],[/Hbbtv.*(technisat) (.*);/i],[m,h,[b,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,Y],[h,Y],[b,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,h,[b,v]],[/droid.+; (shield) bui/i],[h,[m,"Nvidia"],[b,v]],[/(playstation [345portablevi]+)/i],[h,[m,H],[b,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[m,j],[b,v]],[/((pebble))app/i],[m,h,[b,P]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[m,E],[b,P]],[/droid.+; (glass) \d/i],[h,[m,C],[b,P]],[/droid.+; (wt63?0{2,3})\)/i],[h,[m,G],[b,P]],[/(quest( 2| pro)?)/i],[h,[m,F],[b,P]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[b,R]],[/(aeobc)\b/i],[h,[m,S],[b,R]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[h,[b,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[b,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,_]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[g,K,Q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[g,K,Q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,B],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,g],[/\(bb(10);/i],[g,[f,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[f,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},ee=function(e,t){if(typeof e===d&&(t=e,e=s),!(this instanceof ee))return new ee(e,t).getResult();var r=typeof a!==l&&a.navigator?a.navigator:s,i=e||(r&&r.userAgent?r.userAgent:""),n=r&&r.userAgentData?r.userAgentData:s,o=t?X(J,t):J,v=r&&r.userAgent==i;return this.getBrowser=function(){var e,t={};return t[f]=s,t[g]=s,Z.call(t,i,o.browser),t[p]=typeof(e=t[g])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:s,v&&r&&r.brave&&typeof r.brave.isBrave==u&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[w]=s,Z.call(e,i,o.cpu),e},this.getDevice=function(){var e={};return e[m]=s,e[h]=s,e[b]=s,Z.call(e,i,o.device),v&&!e[b]&&n&&n.mobile&&(e[b]=_),v&&"Macintosh"==e[h]&&r&&typeof r.standalone!==l&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[h]="iPad",e[b]=x),e},this.getEngine=function(){var e={};return e[f]=s,e[g]=s,Z.call(e,i,o.engine),e},this.getOS=function(){var e={};return e[f]=s,e[g]=s,Z.call(e,i,o.os),v&&!e[f]&&n&&"Unknown"!=n.platform&&(e[f]=n.platform.replace(/chrome os/i,z).replace(/macos/i,B)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===c&&e.length>350?Y(e,350):e,this},this.setUA(i),this};ee.VERSION="1.0.35",ee.BROWSER=W([f,g,p]),ee.CPU=W([w]),ee.DEVICE=W([h,m,b,v,_,y,x,P,R]),ee.ENGINE=ee.OS=W([f,g]),typeof o!==l?(n.exports&&(o=n.exports=ee),o.UAParser=ee):r.amdO?void 0!==(i=(function(){return ee}).call(t,r,t,e))&&(e.exports=i):typeof a!==l&&(a.UAParser=ee);var et=typeof a!==l&&(a.jQuery||a.Zepto);if(et&&!et.ua){var er=new ee;et.ua=er.getResult(),et.ua.get=function(){return er.getUA()},et.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)et.ua[r]=t[r]}}}("object"==typeof window?window:this)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},i=!0;try{n[e].call(r.exports,r,r.exports,a),i=!1}finally{i&&delete o[e]}return r.exports}a.ab=__dirname+"/";var s=a(226);e.exports=s})()},90319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return u},APP_DIR_ALIAS:function(){return A},CACHE_ONE_YEAR:function(){return _},DOT_NEXT_ALIAS:function(){return S},ESLINT_DEFAULT_DIRS:function(){return X},GSP_NO_RETURNED_VALUE:function(){return H},GSSP_COMPONENT_MEMBER_ERROR:function(){return F},GSSP_NO_RETURNED_VALUE:function(){return q},INSTRUMENTATION_HOOK_FILENAME:function(){return P},MIDDLEWARE_FILENAME:function(){return x},MIDDLEWARE_LOCATION_REGEXP:function(){return y},NEXT_BODY_SUFFIX:function(){return c},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return v},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return f},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return b},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return h},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return w},NEXT_CACHE_TAGS_HEADER:function(){return p},NEXT_CACHE_TAG_MAX_ITEMS:function(){return m},NEXT_CACHE_TAG_MAX_LENGTH:function(){return g},NEXT_DATA_SUFFIX:function(){return l},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return i},NEXT_META_SUFFIX:function(){return d},NEXT_QUERY_PARAM_PREFIX:function(){return r},NON_STANDARD_NODE_ENV:function(){return z},PAGES_DIR_ALIAS:function(){return R},PRERENDER_REVALIDATE_HEADER:function(){return n},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return o},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return N},ROOT_DIR_ALIAS:function(){return E},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return C},RSC_ACTION_ENCRYPTION_ALIAS:function(){return T},RSC_ACTION_PROXY_ALIAS:function(){return O},RSC_ACTION_VALIDATE_ALIAS:function(){return I},RSC_MOD_REF_PROXY_ALIAS:function(){return k},RSC_PREFETCH_SUFFIX:function(){return a},RSC_SUFFIX:function(){return s},SERVER_PROPS_EXPORT_ERROR:function(){return D},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return L},SERVER_PROPS_SSG_CONFLICT:function(){return M},SERVER_RUNTIME:function(){return W},SSG_FALLBACK_EXPORT_ERROR:function(){return B},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return j},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return U},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return G},WEBPACK_LAYERS:function(){return V},WEBPACK_RESOURCE_QUERIES:function(){return Y}});let r="nxtP",i="nxtI",n="x-prerender-revalidate",o="x-prerender-revalidate-if-generated",a=".prefetch.rsc",s=".rsc",u=".action",l=".json",d=".meta",c=".body",p="x-next-cache-tags",h="x-next-cache-soft-tags",f="x-next-revalidated-tags",b="x-next-revalidate-tag-token",m=128,g=256,w=1024,v="_N_T_",_=31536e3,x="middleware",y=`(?:src/)?${x}`,P="instrumentation",R="private-next-pages",S="private-dot-next",E="private-next-root-dir",A="private-next-app-dir",k="next/dist/build/webpack/loaders/next-flight-loader/module-proxy",I="private-next-rsc-action-validate",O="private-next-rsc-server-reference",T="private-next-rsc-action-encryption",C="private-next-rsc-action-client-wrapper",N="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",j="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",L="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",M="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",U="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",D="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",H="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",q="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",G="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",F="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",z='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',B="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",X=["app","pages","components","lib","src"],W={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},$={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"},V={...$,GROUP:{serverOnly:[$.reactServerComponents,$.actionBrowser,$.appMetadataRoute,$.appRouteHandler,$.instrument],clientOnly:[$.serverSideRendering,$.appPagesBrowser],nonClientServerTarget:[$.middleware,$.api],app:[$.reactServerComponents,$.actionBrowser,$.appMetadataRoute,$.appRouteHandler,$.serverSideRendering,$.appPagesBrowser,$.shared,$.instrument]}},Y={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},49303:(e,t,r)=>{"use strict";e.exports=r(30517)},46294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PageSignatureError:function(){return r},RemovedPageError:function(){return i},RemovedUAError:function(){return n}});class r extends Error{constructor({page:e}){super(`The middleware "${e}" accepts an async API directly with the form:
|
|
1
|
+
(()=>{var e={};e.id=7033,e.ids=[7033],e.modules={20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},62737:(e,t,r)=>{"use strict";r.r(t),r.d(t,{originalPathname:()=>b,patchFetch:()=>m,requestAsyncStorage:()=>p,routeModule:()=>c,serverHooks:()=>f,staticGenerationAsyncStorage:()=>h});var i={};r.r(i),r.d(i,{GET:()=>l,dynamic:()=>d});var n=r(49303),o=r(88716),a=r(60670),s=r(73896);let u=Buffer.from("PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+CiAgPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iNyIgZmlsbD0iIzBmMTcyYSIvPgogIDxwYXRoIGQ9Ik03IDIxLjVsNS41LTUuNSA0IDRMMjUgMTEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CiAgPGNpcmNsZSBjeD0iMjUiIGN5PSIxMS41IiByPSIyLjQiIGZpbGw9IiM2MGE1ZmEiLz4KPC9zdmc+Cg==","base64");function l(){return new s.NextResponse(u,{headers:{"Content-Type":"image/svg+xml","Cache-Control":"public, immutable, no-transform, max-age=31536000"}})}let d="force-static",c=new n.AppRouteRouteModule({definition:{kind:o.x.APP_ROUTE,page:"/icon.svg/route",pathname:"/icon.svg",filename:"icon",bundlePath:"app/icon.svg/route"},resolvedPagePath:"next-metadata-route-loader?page=%2Ficon.svg%2Froute&filePath=%2Fhome%2Frunner%2Fwork%2Fai-agent-cli%2Fai-agent-cli%2Fapps%2Fweb%2Fapp%2Ficon.svg&isDynamic=0!?__next_metadata_route__",nextConfigOutput:"standalone",userland:i}),{requestAsyncStorage:p,staticGenerationAsyncStorage:h,serverHooks:f}=c,b="/icon.svg/route";function m(){return(0,a.patchFetch)({serverHooks:f,staticGenerationAsyncStorage:h})}},36637:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,o={};function a(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),i=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?i:`${i}; ${r.join("; ")}`}function s(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[i,n]=[r.slice(0,e),r.slice(e+1)];try{t.set(i,decodeURIComponent(null!=n?n:"true"))}catch{}}return t}function u(e){var t,r;if(!e)return;let[[i,n],...o]=s(e),{domain:a,expires:u,httponly:c,maxage:p,path:h,samesite:f,secure:b,partitioned:m,priority:g}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase(),t]));return function(e){let t={};for(let r in e)e[r]&&(t[r]=e[r]);return t}({name:i,value:decodeURIComponent(n),domain:a,...u&&{expires:new Date(u)},...c&&{httpOnly:!0},..."string"==typeof p&&{maxAge:Number(p)},path:h,...f&&{sameSite:l.includes(t=(t=f).toLowerCase())?t:void 0},...b&&{secure:!0},...g&&{priority:d.includes(r=(r=g).toLowerCase())?r:void 0},...m&&{partitioned:!0}})}((e,r)=>{for(var i in r)t(e,i,{get:r[i],enumerable:!0})})(o,{RequestCookies:()=>c,ResponseCookies:()=>p,parseCookie:()=>s,parseSetCookie:()=>u,stringifyCookie:()=>a}),e.exports=((e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let a of i(o))n.call(e,a)||void 0===a||t(e,a,{get:()=>o[a],enumerable:!(s=r(o,a))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var l=["strict","lax","none"],d=["low","medium","high"],c=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of s(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===i).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,i=this._parsed;return i.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(i).map(([e,t])=>a(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>a(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},p=class{constructor(e){var t,r,i;this._parsed=new Map,this._headers=e;let n=null!=(i=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?i:[];for(let e of Array.isArray(n)?n:function(e){if(!e)return[];var t,r,i,n,o,a=[],s=0;function u(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;u();)if(","===(r=e.charAt(s))){for(i=s,s+=1,u(),n=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=n,a.push(e.substring(t,i)),t=s):s=i+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}(n)){let t=u(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let i="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===i)}has(e){return this._parsed.has(e)}set(...e){let[t,r,i]=1===e.length?[e[0].name,e[0].value,e[0]]:e,n=this._parsed;return n.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...i})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=a(r);t.append("set-cookie",e)}}(n,this._headers),this}delete(...e){let[t,r,i]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0].path,e[0].domain];return this.set({name:t,path:r,domain:i,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a).join("; ")}}},42565:(e,t,r)=>{var i;(()=>{var n={226:function(n,o){!function(a,s){"use strict";var u="function",l="undefined",d="object",c="string",p="major",h="model",f="name",b="type",m="vendor",g="version",w="architecture",v="console",_="mobile",x="tablet",y="smarttv",P="wearable",R="embedded",S="Amazon",E="Apple",A="ASUS",I="BlackBerry",k="Browser",O="Chrome",T="Firefox",C="Google",N="Huawei",j="Microsoft",L="Motorola",M="Opera",U="Samsung",D="Sharp",H="Sony",q="Xiaomi",F="Zebra",G="Facebook",z="Chromium OS",B="Mac OS",X=function(e,t){var r={};for(var i in e)t[i]&&t[i].length%2==0?r[i]=t[i].concat(e[i]):r[i]=e[i];return r},W=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},$=function(e,t){return typeof e===c&&-1!==V(t).indexOf(V(e))},V=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===l?e:e.substring(0,350)},Z=function(e,t){for(var r,i,n,o,a,l,c=0;c<t.length&&!a;){var p=t[c],h=t[c+1];for(r=i=0;r<p.length&&!a&&p[r];)if(a=p[r++].exec(e))for(n=0;n<h.length;n++)l=a[++i],typeof(o=h[n])===d&&o.length>0?2===o.length?typeof o[1]==u?this[o[0]]=o[1].call(this,l):this[o[0]]=o[1]:3===o.length?typeof o[1]!==u||o[1].exec&&o[1].test?this[o[0]]=l?l.replace(o[1],o[2]):void 0:this[o[0]]=l?o[1].call(this,l,o[2]):void 0:4===o.length&&(this[o[0]]=l?o[3].call(this,l.replace(o[1],o[2])):void 0):this[o]=l||s;c+=2}},K=function(e,t){for(var r in t)if(typeof t[r]===d&&t[r].length>0){for(var i=0;i<t[r].length;i++)if($(t[r][i],e))return"?"===r?s:r}else if($(t[r],e))return"?"===r?s:r;return e},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,M+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[f,M]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[g,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+k],g],[/\bfocus\/([\w\.]+)/i],[g,[f,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,M+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,M+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI "+k]],[/fxios\/([-\w\.]+)/i],[g,[f,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+k]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+k],g],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,g],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,G],g],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,O+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,g],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,V]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,V]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[m,U],[b,x]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[h,[m,U],[b,_]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[m,E],[b,_]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[m,E],[b,x]],[/(macintosh);/i],[h,[m,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[m,D],[b,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[m,N],[b,x]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[m,N],[b,_]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[h,/_/g," "],[m,q],[b,_]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[m,q],[b,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[m,"OPPO"],[b,_]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[m,"Vivo"],[b,_]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[h,[m,"Realme"],[b,_]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[m,L],[b,_]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[m,L],[b,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[m,"LG"],[b,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[m,"LG"],[b,_]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[m,"Lenovo"],[b,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[m,"Nokia"],[b,_]],[/(pixel c)\b/i],[h,[m,C],[b,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[m,C],[b,_]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[m,H],[b,_]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[m,H],[b,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[m,"OnePlus"],[b,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[m,S],[b,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[m,S],[b,_]],[/(playbook);[-\w\),; ]+(rim)/i],[h,m,[b,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[m,I],[b,_]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[m,A],[b,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[m,A],[b,_]],[/(nexus 9)/i],[h,[m,"HTC"],[b,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[h,/_/g," "],[b,_]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[m,"Acer"],[b,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[m,"Meizu"],[b,_]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,h,[b,_]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,h,[b,x]],[/(surface duo)/i],[h,[m,j],[b,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[m,"Fairphone"],[b,_]],[/(u304aa)/i],[h,[m,"AT&T"],[b,_]],[/\bsie-(\w*)/i],[h,[m,"Siemens"],[b,_]],[/\b(rct\w+) b/i],[h,[m,"RCA"],[b,x]],[/\b(venue[\d ]{2,7}) b/i],[h,[m,"Dell"],[b,x]],[/\b(q(?:mv|ta)\w+) b/i],[h,[m,"Verizon"],[b,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[m,"Barnes & Noble"],[b,x]],[/\b(tm\d{3}\w+) b/i],[h,[m,"NuVision"],[b,x]],[/\b(k88) b/i],[h,[m,"ZTE"],[b,x]],[/\b(nx\d{3}j) b/i],[h,[m,"ZTE"],[b,_]],[/\b(gen\d{3}) b.+49h/i],[h,[m,"Swiss"],[b,_]],[/\b(zur\d{3}) b/i],[h,[m,"Swiss"],[b,x]],[/\b((zeki)?tb.*\b) b/i],[h,[m,"Zeki"],[b,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],h,[b,x]],[/\b(ns-?\w{0,9}) b/i],[h,[m,"Insignia"],[b,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[m,"NextBook"],[b,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],h,[b,_]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],h,[b,_]],[/\b(ph-1) /i],[h,[m,"Essential"],[b,_]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[m,"Envizen"],[b,x]],[/\b(trio[-\w\. ]+) b/i],[h,[m,"MachSpeed"],[b,x]],[/\btu_(1491) b/i],[h,[m,"Rotor"],[b,x]],[/(shield[\w ]+) b/i],[h,[m,"Nvidia"],[b,x]],[/(sprint) (\w+)/i],[m,h,[b,_]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[m,j],[b,_]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[m,F],[b,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[m,F],[b,_]],[/smart-tv.+(samsung)/i],[m,[b,y]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[m,U],[b,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,"LG"],[b,y]],[/(apple) ?tv/i],[m,[h,E+" TV"],[b,y]],[/crkey/i],[[h,O+"cast"],[m,C],[b,y]],[/droid.+aft(\w)( bui|\))/i],[h,[m,S],[b,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[m,D],[b,y]],[/(bravia[\w ]+)( bui|\))/i],[h,[m,H],[b,y]],[/(mitv-\w{5}) bui/i],[h,[m,q],[b,y]],[/Hbbtv.*(technisat) (.*);/i],[m,h,[b,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,Y],[h,Y],[b,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,h,[b,v]],[/droid.+; (shield) bui/i],[h,[m,"Nvidia"],[b,v]],[/(playstation [345portablevi]+)/i],[h,[m,H],[b,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[m,j],[b,v]],[/((pebble))app/i],[m,h,[b,P]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[m,E],[b,P]],[/droid.+; (glass) \d/i],[h,[m,C],[b,P]],[/droid.+; (wt63?0{2,3})\)/i],[h,[m,F],[b,P]],[/(quest( 2| pro)?)/i],[h,[m,G],[b,P]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[b,R]],[/(aeobc)\b/i],[h,[m,S],[b,R]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[h,[b,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[b,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,_]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[g,K,Q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[g,K,Q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,B],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,g],[/\(bb(10);/i],[g,[f,I]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[f,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},ee=function(e,t){if(typeof e===d&&(t=e,e=s),!(this instanceof ee))return new ee(e,t).getResult();var r=typeof a!==l&&a.navigator?a.navigator:s,i=e||(r&&r.userAgent?r.userAgent:""),n=r&&r.userAgentData?r.userAgentData:s,o=t?X(J,t):J,v=r&&r.userAgent==i;return this.getBrowser=function(){var e,t={};return t[f]=s,t[g]=s,Z.call(t,i,o.browser),t[p]=typeof(e=t[g])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:s,v&&r&&r.brave&&typeof r.brave.isBrave==u&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[w]=s,Z.call(e,i,o.cpu),e},this.getDevice=function(){var e={};return e[m]=s,e[h]=s,e[b]=s,Z.call(e,i,o.device),v&&!e[b]&&n&&n.mobile&&(e[b]=_),v&&"Macintosh"==e[h]&&r&&typeof r.standalone!==l&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[h]="iPad",e[b]=x),e},this.getEngine=function(){var e={};return e[f]=s,e[g]=s,Z.call(e,i,o.engine),e},this.getOS=function(){var e={};return e[f]=s,e[g]=s,Z.call(e,i,o.os),v&&!e[f]&&n&&"Unknown"!=n.platform&&(e[f]=n.platform.replace(/chrome os/i,z).replace(/macos/i,B)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===c&&e.length>350?Y(e,350):e,this},this.setUA(i),this};ee.VERSION="1.0.35",ee.BROWSER=W([f,g,p]),ee.CPU=W([w]),ee.DEVICE=W([h,m,b,v,_,y,x,P,R]),ee.ENGINE=ee.OS=W([f,g]),typeof o!==l?(n.exports&&(o=n.exports=ee),o.UAParser=ee):r.amdO?void 0!==(i=(function(){return ee}).call(t,r,t,e))&&(e.exports=i):typeof a!==l&&(a.UAParser=ee);var et=typeof a!==l&&(a.jQuery||a.Zepto);if(et&&!et.ua){var er=new ee;et.ua=er.getResult(),et.ua.get=function(){return er.getUA()},et.ua.set=function(e){er.setUA(e);var t=er.getResult();for(var r in t)et.ua[r]=t[r]}}}("object"==typeof window?window:this)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},i=!0;try{n[e].call(r.exports,r,r.exports,a),i=!1}finally{i&&delete o[e]}return r.exports}a.ab=__dirname+"/";var s=a(226);e.exports=s})()},90319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return u},APP_DIR_ALIAS:function(){return A},CACHE_ONE_YEAR:function(){return _},DOT_NEXT_ALIAS:function(){return S},ESLINT_DEFAULT_DIRS:function(){return X},GSP_NO_RETURNED_VALUE:function(){return H},GSSP_COMPONENT_MEMBER_ERROR:function(){return G},GSSP_NO_RETURNED_VALUE:function(){return q},INSTRUMENTATION_HOOK_FILENAME:function(){return P},MIDDLEWARE_FILENAME:function(){return x},MIDDLEWARE_LOCATION_REGEXP:function(){return y},NEXT_BODY_SUFFIX:function(){return c},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return v},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return f},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return b},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return h},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return w},NEXT_CACHE_TAGS_HEADER:function(){return p},NEXT_CACHE_TAG_MAX_ITEMS:function(){return m},NEXT_CACHE_TAG_MAX_LENGTH:function(){return g},NEXT_DATA_SUFFIX:function(){return l},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return i},NEXT_META_SUFFIX:function(){return d},NEXT_QUERY_PARAM_PREFIX:function(){return r},NON_STANDARD_NODE_ENV:function(){return z},PAGES_DIR_ALIAS:function(){return R},PRERENDER_REVALIDATE_HEADER:function(){return n},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return o},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return N},ROOT_DIR_ALIAS:function(){return E},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return C},RSC_ACTION_ENCRYPTION_ALIAS:function(){return T},RSC_ACTION_PROXY_ALIAS:function(){return O},RSC_ACTION_VALIDATE_ALIAS:function(){return k},RSC_MOD_REF_PROXY_ALIAS:function(){return I},RSC_PREFETCH_SUFFIX:function(){return a},RSC_SUFFIX:function(){return s},SERVER_PROPS_EXPORT_ERROR:function(){return D},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return L},SERVER_PROPS_SSG_CONFLICT:function(){return M},SERVER_RUNTIME:function(){return W},SSG_FALLBACK_EXPORT_ERROR:function(){return B},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return j},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return U},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return F},WEBPACK_LAYERS:function(){return V},WEBPACK_RESOURCE_QUERIES:function(){return Y}});let r="nxtP",i="nxtI",n="x-prerender-revalidate",o="x-prerender-revalidate-if-generated",a=".prefetch.rsc",s=".rsc",u=".action",l=".json",d=".meta",c=".body",p="x-next-cache-tags",h="x-next-cache-soft-tags",f="x-next-revalidated-tags",b="x-next-revalidate-tag-token",m=128,g=256,w=1024,v="_N_T_",_=31536e3,x="middleware",y=`(?:src/)?${x}`,P="instrumentation",R="private-next-pages",S="private-dot-next",E="private-next-root-dir",A="private-next-app-dir",I="next/dist/build/webpack/loaders/next-flight-loader/module-proxy",k="private-next-rsc-action-validate",O="private-next-rsc-server-reference",T="private-next-rsc-action-encryption",C="private-next-rsc-action-client-wrapper",N="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",j="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",L="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",M="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",U="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",D="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",H="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",q="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",F="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",G="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",z='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',B="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",X=["app","pages","components","lib","src"],W={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},$={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"},V={...$,GROUP:{serverOnly:[$.reactServerComponents,$.actionBrowser,$.appMetadataRoute,$.appRouteHandler,$.instrument],clientOnly:[$.serverSideRendering,$.appPagesBrowser],nonClientServerTarget:[$.middleware,$.api],app:[$.reactServerComponents,$.actionBrowser,$.appMetadataRoute,$.appRouteHandler,$.serverSideRendering,$.appPagesBrowser,$.shared,$.instrument]}},Y={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},49303:(e,t,r)=>{"use strict";e.exports=r(30517)},46294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PageSignatureError:function(){return r},RemovedPageError:function(){return i},RemovedUAError:function(){return n}});class r extends Error{constructor({page:e}){super(`The middleware "${e}" accepts an async API directly with the form:
|
|
2
2
|
|
|
3
3
|
export function middleware(request, event) {
|
|
4
4
|
return NextResponse.redirect('/new-location')
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
Read more: https://nextjs.org/docs/messages/middleware-request-page
|
|
10
10
|
`)}}class n extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function.
|
|
11
11
|
Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
|
|
12
|
-
`)}}},73896:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ImageResponse:function(){return i.ImageResponse},NextRequest:function(){return n.NextRequest},NextResponse:function(){return o.NextResponse},URLPattern:function(){return s.URLPattern},userAgent:function(){return a.userAgent},userAgentFromString:function(){return a.userAgentFromString}});let i=r(76274),n=r(49253),o=r(86716),a=r(27),s=r(27718)},62420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextURL",{enumerable:!0,get:function(){return d}});let i=r(19976),n=r(61704),o=r(48614),a=r(95393),s=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function u(e,t){return new URL(String(e).replace(s,"localhost"),t&&String(t).replace(s,"localhost"))}let l=Symbol("NextURLInternal");class d{constructor(e,t,r){let i,n;"object"==typeof t&&"pathname"in t||"string"==typeof t?(i=t,n=r||{}):n=r||t||{},this[l]={url:u(e,i??n.base),options:n,basePath:""},this.analyze()}analyze(){var e,t,r,n,s;let u=(0,a.getNextPathnameInfo)(this[l].url.pathname,{nextConfig:this[l].options.nextConfig,parseData:!0,i18nProvider:this[l].options.i18nProvider}),d=(0,o.getHostname)(this[l].url,this[l].options.headers);this[l].domainLocale=this[l].options.i18nProvider?this[l].options.i18nProvider.detectDomainLocale(d):(0,i.detectDomainLocale)(null==(t=this[l].options.nextConfig)?void 0:null==(e=t.i18n)?void 0:e.domains,d);let c=(null==(r=this[l].domainLocale)?void 0:r.defaultLocale)||(null==(s=this[l].options.nextConfig)?void 0:null==(n=s.i18n)?void 0:n.defaultLocale);this[l].url.pathname=u.pathname,this[l].defaultLocale=c,this[l].basePath=u.basePath??"",this[l].buildId=u.buildId,this[l].locale=u.locale??c,this[l].trailingSlash=u.trailingSlash}formatPathname(){return(0,n.formatNextPathnameInfo)({basePath:this[l].basePath,buildId:this[l].buildId,defaultLocale:this[l].options.forceLocale?void 0:this[l].defaultLocale,locale:this[l].locale,pathname:this[l].url.pathname,trailingSlash:this[l].trailingSlash})}formatSearch(){return this[l].url.search}get buildId(){return this[l].buildId}set buildId(e){this[l].buildId=e}get locale(){return this[l].locale??""}set locale(e){var t,r;if(!this[l].locale||!(null==(r=this[l].options.nextConfig)?void 0:null==(t=r.i18n)?void 0:t.locales.includes(e)))throw TypeError(`The NextURL configuration includes no locale "${e}"`);this[l].locale=e}get defaultLocale(){return this[l].defaultLocale}get domainLocale(){return this[l].domainLocale}get searchParams(){return this[l].url.searchParams}get host(){return this[l].url.host}set host(e){this[l].url.host=e}get hostname(){return this[l].url.hostname}set hostname(e){this[l].url.hostname=e}get port(){return this[l].url.port}set port(e){this[l].url.port=e}get protocol(){return this[l].url.protocol}set protocol(e){this[l].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[l].url=u(e),this.analyze()}get origin(){return this[l].url.origin}get pathname(){return this[l].url.pathname}set pathname(e){this[l].url.pathname=e}get hash(){return this[l].url.hash}set hash(e){this[l].url.hash=e}get search(){return this[l].url.search}set search(e){this[l].url.search=e}get password(){return this[l].url.password}set password(e){this[l].url.password=e}get username(){return this[l].url.username}set username(e){this[l].url.username=e}get basePath(){return this[l].basePath}set basePath(e){this[l].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new d(String(this),this[l].options)}}},90127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let i=Reflect.get(e,t,r);return"function"==typeof i?i.bind(e):i}static set(e,t,r,i){return Reflect.set(e,t,r,i)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},32205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RequestCookies:function(){return i.RequestCookies},ResponseCookies:function(){return i.ResponseCookies},stringifyCookie:function(){return i.stringifyCookie}});let i=r(36637)},76274:(e,t)=>{"use strict";function r(){throw Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead')}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageResponse",{enumerable:!0,get:function(){return r}})},49253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERNALS:function(){return s},NextRequest:function(){return u}});let i=r(62420),n=r(45724),o=r(46294),a=r(32205),s=Symbol("internal request");class u extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);(0,n.validateURL)(r),e instanceof Request?super(e,t):super(r,t);let o=new i.NextURL(r,{headers:(0,n.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:t.nextConfig});this[s]={cookies:new a.RequestCookies(this.headers),geo:t.geo||{},ip:t.ip,nextUrl:o,url:o.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,geo:this.geo,ip:this.ip,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[s].cookies}get geo(){return this[s].geo}get ip(){return this[s].ip}get nextUrl(){return this[s].nextUrl}get page(){throw new o.RemovedPageError}get ua(){throw new o.RemovedUAError}get url(){return this[s].url}}},86716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextResponse",{enumerable:!0,get:function(){return c}});let i=r(32205),n=r(62420),o=r(45724),a=r(90127),s=r(32205),u=Symbol("internal response"),l=new Set([301,302,303,307,308]);function d(e,t){var r;if(null==e?void 0:null==(r=e.request)?void 0:r.headers){if(!(e.request.headers instanceof Headers))throw Error("request.headers must be an instance of Headers");let r=[];for(let[i,n]of e.request.headers)t.set("x-middleware-request-"+i,n),r.push(i);t.set("x-middleware-override-headers",r.join(","))}}class c extends Response{constructor(e,t={}){super(e,t);let r=this.headers,l=new Proxy(new s.ResponseCookies(r),{get(e,n,o){switch(n){case"delete":case"set":return(...o)=>{let a=Reflect.apply(e[n],e,o),u=new Headers(r);return a instanceof s.ResponseCookies&&r.set("x-middleware-set-cookie",a.getAll().map(e=>(0,i.stringifyCookie)(e)).join(",")),d(t,u),a};default:return a.ReflectAdapter.get(e,n,o)}}});this[u]={cookies:l,url:t.url?new n.NextURL(t.url,{headers:(0,o.toNodeOutgoingHttpHeaders)(r),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[u].cookies}static json(e,t){let r=Response.json(e,t);return new c(r.body,r)}static redirect(e,t){let r="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!l.has(r))throw RangeError('Failed to execute "redirect" on "response": Invalid status code');let i="object"==typeof t?t:{},n=new Headers(null==i?void 0:i.headers);return n.set("Location",(0,o.validateURL)(e)),new c(null,{...i,headers:n,status:r})}static rewrite(e,t){let r=new Headers(null==t?void 0:t.headers);return r.set("x-middleware-rewrite",(0,o.validateURL)(e)),d(t,r),new c(null,{...t,headers:r})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),d(e,t),new c(null,{...e,headers:t})}}},27718:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"URLPattern",{enumerable:!0,get:function(){return r}});let r="undefined"==typeof URLPattern?void 0:URLPattern},27:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isBot:function(){return n},userAgent:function(){return a},userAgentFromString:function(){return o}});let i=function(e){return e&&e.__esModule?e:{default:e}}(r(42565));function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}function o(e){return{...(0,i.default)(e),isBot:void 0!==e&&n(e)}}function a({headers:e}){return o(e.get("user-agent")||void 0)}},45724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fromNodeOutgoingHttpHeaders:function(){return n},normalizeNextQueryParam:function(){return u},splitCookiesString:function(){return o},toNodeOutgoingHttpHeaders:function(){return a},validateURL:function(){return s}});let i=r(90319);function n(e){let t=new Headers;for(let[r,i]of Object.entries(e))for(let e of Array.isArray(i)?i:[i])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}function o(e){var t,r,i,n,o,a=[],s=0;function u(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;u();)if(","===(r=e.charAt(s))){for(i=s,s+=1,u(),n=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=n,a.push(e.substring(t,i)),t=s):s=i+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}function a(e){let t={},r=[];if(e)for(let[i,n]of e.entries())"set-cookie"===i.toLowerCase()?(r.push(...o(n)),t[i]=1===r.length?r[0]:r):t[i]=n;return t}function s(e){try{return String(new URL(String(e)))}catch(t){throw Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t})}}function u(e,t){for(let r of[i.NEXT_QUERY_PARAM_PREFIX,i.NEXT_INTERCEPTION_MARKER_PREFIX])e!==r&&e.startsWith(r)&&t(e.substring(r.length))}},48614:(e,t)=>{"use strict";function r(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getHostname",{enumerable:!0,get:function(){return r}})},19976:(e,t)=>{"use strict";function r(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var i,n;if(t===(null==(i=o.domain)?void 0:i.split(":",1)[0].toLowerCase())||r===o.defaultLocale.toLowerCase()||(null==(n=o.locales)?void 0:n.some(e=>e.toLowerCase()===r)))return o}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},82823:(e,t)=>{"use strict";function r(e,t){let r;let i=e.split("/");return(t||[]).some(t=>!!i[1]&&i[1].toLowerCase()===t.toLowerCase()&&(r=t,i.splice(1,1),e=i.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},68277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let i=r(49337),n=r(20234);function o(e,t,r,o){if(!t||t===r)return e;let a=e.toLowerCase();return!o&&((0,n.pathHasPrefix)(a,"/api")||(0,n.pathHasPrefix)(a,"/"+t.toLowerCase()))?e:(0,i.addPathPrefix)(e,"/"+t)}},49337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return n}});let i=r(93415);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,i.parsePath)(e);return""+t+r+n+o}},15366:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return n}});let i=r(93415);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,i.parsePath)(e);return""+r+t+n+o}},61704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let i=r(4864),n=r(49337),o=r(15366),a=r(68277);function s(e){let t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,i.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,n.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,n.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,i.removeTrailingSlash)(t)}},95393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});let i=r(82823),n=r(85793),o=r(20234);function a(e,t){var r,a;let{basePath:s,i18n:u,trailingSlash:l}=null!=(r=t.nextConfig)?r:{},d={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};s&&(0,o.pathHasPrefix)(d.pathname,s)&&(d.pathname=(0,n.removePathPrefix)(d.pathname,s),d.basePath=s);let c=d.pathname;if(d.pathname.startsWith("/_next/data/")&&d.pathname.endsWith(".json")){let e=d.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];d.buildId=r,c="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(d.pathname=c)}if(u){let e=t.i18nProvider?t.i18nProvider.analyze(d.pathname):(0,i.normalizeLocalePath)(d.pathname,u.locales);d.locale=e.detectedLocale,d.pathname=null!=(a=e.pathname)?a:d.pathname,!e.detectedLocale&&d.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(c):(0,i.normalizeLocalePath)(c,u.locales)).detectedLocale&&(d.locale=e.detectedLocale)}return d}},93415:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),i=r>-1&&(t<0||r<t);return i||t>-1?{pathname:e.substring(0,i?r:t),query:i?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},20234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return n}});let i=r(93415);function n(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,i.parsePath)(e);return r===t||r.startsWith(t+"/")}},85793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return n}});let i=r(20234);function n(e,t){if(!(0,i.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},4864:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),i=t.X(0,[8948],()=>r(98504));module.exports=i})();
|
|
12
|
+
`)}}},73896:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ImageResponse:function(){return i.ImageResponse},NextRequest:function(){return n.NextRequest},NextResponse:function(){return o.NextResponse},URLPattern:function(){return s.URLPattern},userAgent:function(){return a.userAgent},userAgentFromString:function(){return a.userAgentFromString}});let i=r(76274),n=r(49253),o=r(86716),a=r(27),s=r(27718)},62420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextURL",{enumerable:!0,get:function(){return d}});let i=r(19976),n=r(61704),o=r(48614),a=r(95393),s=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function u(e,t){return new URL(String(e).replace(s,"localhost"),t&&String(t).replace(s,"localhost"))}let l=Symbol("NextURLInternal");class d{constructor(e,t,r){let i,n;"object"==typeof t&&"pathname"in t||"string"==typeof t?(i=t,n=r||{}):n=r||t||{},this[l]={url:u(e,i??n.base),options:n,basePath:""},this.analyze()}analyze(){var e,t,r,n,s;let u=(0,a.getNextPathnameInfo)(this[l].url.pathname,{nextConfig:this[l].options.nextConfig,parseData:!0,i18nProvider:this[l].options.i18nProvider}),d=(0,o.getHostname)(this[l].url,this[l].options.headers);this[l].domainLocale=this[l].options.i18nProvider?this[l].options.i18nProvider.detectDomainLocale(d):(0,i.detectDomainLocale)(null==(t=this[l].options.nextConfig)?void 0:null==(e=t.i18n)?void 0:e.domains,d);let c=(null==(r=this[l].domainLocale)?void 0:r.defaultLocale)||(null==(s=this[l].options.nextConfig)?void 0:null==(n=s.i18n)?void 0:n.defaultLocale);this[l].url.pathname=u.pathname,this[l].defaultLocale=c,this[l].basePath=u.basePath??"",this[l].buildId=u.buildId,this[l].locale=u.locale??c,this[l].trailingSlash=u.trailingSlash}formatPathname(){return(0,n.formatNextPathnameInfo)({basePath:this[l].basePath,buildId:this[l].buildId,defaultLocale:this[l].options.forceLocale?void 0:this[l].defaultLocale,locale:this[l].locale,pathname:this[l].url.pathname,trailingSlash:this[l].trailingSlash})}formatSearch(){return this[l].url.search}get buildId(){return this[l].buildId}set buildId(e){this[l].buildId=e}get locale(){return this[l].locale??""}set locale(e){var t,r;if(!this[l].locale||!(null==(r=this[l].options.nextConfig)?void 0:null==(t=r.i18n)?void 0:t.locales.includes(e)))throw TypeError(`The NextURL configuration includes no locale "${e}"`);this[l].locale=e}get defaultLocale(){return this[l].defaultLocale}get domainLocale(){return this[l].domainLocale}get searchParams(){return this[l].url.searchParams}get host(){return this[l].url.host}set host(e){this[l].url.host=e}get hostname(){return this[l].url.hostname}set hostname(e){this[l].url.hostname=e}get port(){return this[l].url.port}set port(e){this[l].url.port=e}get protocol(){return this[l].url.protocol}set protocol(e){this[l].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[l].url=u(e),this.analyze()}get origin(){return this[l].url.origin}get pathname(){return this[l].url.pathname}set pathname(e){this[l].url.pathname=e}get hash(){return this[l].url.hash}set hash(e){this[l].url.hash=e}get search(){return this[l].url.search}set search(e){this[l].url.search=e}get password(){return this[l].url.password}set password(e){this[l].url.password=e}get username(){return this[l].url.username}set username(e){this[l].url.username=e}get basePath(){return this[l].basePath}set basePath(e){this[l].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new d(String(this),this[l].options)}}},90127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let i=Reflect.get(e,t,r);return"function"==typeof i?i.bind(e):i}static set(e,t,r,i){return Reflect.set(e,t,r,i)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},32205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RequestCookies:function(){return i.RequestCookies},ResponseCookies:function(){return i.ResponseCookies},stringifyCookie:function(){return i.stringifyCookie}});let i=r(36637)},76274:(e,t)=>{"use strict";function r(){throw Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead')}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageResponse",{enumerable:!0,get:function(){return r}})},49253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERNALS:function(){return s},NextRequest:function(){return u}});let i=r(62420),n=r(45724),o=r(46294),a=r(32205),s=Symbol("internal request");class u extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);(0,n.validateURL)(r),e instanceof Request?super(e,t):super(r,t);let o=new i.NextURL(r,{headers:(0,n.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:t.nextConfig});this[s]={cookies:new a.RequestCookies(this.headers),geo:t.geo||{},ip:t.ip,nextUrl:o,url:o.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,geo:this.geo,ip:this.ip,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[s].cookies}get geo(){return this[s].geo}get ip(){return this[s].ip}get nextUrl(){return this[s].nextUrl}get page(){throw new o.RemovedPageError}get ua(){throw new o.RemovedUAError}get url(){return this[s].url}}},86716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextResponse",{enumerable:!0,get:function(){return c}});let i=r(32205),n=r(62420),o=r(45724),a=r(90127),s=r(32205),u=Symbol("internal response"),l=new Set([301,302,303,307,308]);function d(e,t){var r;if(null==e?void 0:null==(r=e.request)?void 0:r.headers){if(!(e.request.headers instanceof Headers))throw Error("request.headers must be an instance of Headers");let r=[];for(let[i,n]of e.request.headers)t.set("x-middleware-request-"+i,n),r.push(i);t.set("x-middleware-override-headers",r.join(","))}}class c extends Response{constructor(e,t={}){super(e,t);let r=this.headers,l=new Proxy(new s.ResponseCookies(r),{get(e,n,o){switch(n){case"delete":case"set":return(...o)=>{let a=Reflect.apply(e[n],e,o),u=new Headers(r);return a instanceof s.ResponseCookies&&r.set("x-middleware-set-cookie",a.getAll().map(e=>(0,i.stringifyCookie)(e)).join(",")),d(t,u),a};default:return a.ReflectAdapter.get(e,n,o)}}});this[u]={cookies:l,url:t.url?new n.NextURL(t.url,{headers:(0,o.toNodeOutgoingHttpHeaders)(r),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[u].cookies}static json(e,t){let r=Response.json(e,t);return new c(r.body,r)}static redirect(e,t){let r="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!l.has(r))throw RangeError('Failed to execute "redirect" on "response": Invalid status code');let i="object"==typeof t?t:{},n=new Headers(null==i?void 0:i.headers);return n.set("Location",(0,o.validateURL)(e)),new c(null,{...i,headers:n,status:r})}static rewrite(e,t){let r=new Headers(null==t?void 0:t.headers);return r.set("x-middleware-rewrite",(0,o.validateURL)(e)),d(t,r),new c(null,{...t,headers:r})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),d(e,t),new c(null,{...e,headers:t})}}},27718:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"URLPattern",{enumerable:!0,get:function(){return r}});let r="undefined"==typeof URLPattern?void 0:URLPattern},27:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isBot:function(){return n},userAgent:function(){return a},userAgentFromString:function(){return o}});let i=function(e){return e&&e.__esModule?e:{default:e}}(r(42565));function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}function o(e){return{...(0,i.default)(e),isBot:void 0!==e&&n(e)}}function a({headers:e}){return o(e.get("user-agent")||void 0)}},45724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fromNodeOutgoingHttpHeaders:function(){return n},normalizeNextQueryParam:function(){return u},splitCookiesString:function(){return o},toNodeOutgoingHttpHeaders:function(){return a},validateURL:function(){return s}});let i=r(90319);function n(e){let t=new Headers;for(let[r,i]of Object.entries(e))for(let e of Array.isArray(i)?i:[i])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}function o(e){var t,r,i,n,o,a=[],s=0;function u(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;u();)if(","===(r=e.charAt(s))){for(i=s,s+=1,u(),n=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=n,a.push(e.substring(t,i)),t=s):s=i+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}function a(e){let t={},r=[];if(e)for(let[i,n]of e.entries())"set-cookie"===i.toLowerCase()?(r.push(...o(n)),t[i]=1===r.length?r[0]:r):t[i]=n;return t}function s(e){try{return String(new URL(String(e)))}catch(t){throw Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t})}}function u(e,t){for(let r of[i.NEXT_QUERY_PARAM_PREFIX,i.NEXT_INTERCEPTION_MARKER_PREFIX])e!==r&&e.startsWith(r)&&t(e.substring(r.length))}},48614:(e,t)=>{"use strict";function r(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getHostname",{enumerable:!0,get:function(){return r}})},19976:(e,t)=>{"use strict";function r(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var i,n;if(t===(null==(i=o.domain)?void 0:i.split(":",1)[0].toLowerCase())||r===o.defaultLocale.toLowerCase()||(null==(n=o.locales)?void 0:n.some(e=>e.toLowerCase()===r)))return o}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},82823:(e,t)=>{"use strict";function r(e,t){let r;let i=e.split("/");return(t||[]).some(t=>!!i[1]&&i[1].toLowerCase()===t.toLowerCase()&&(r=t,i.splice(1,1),e=i.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},68277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let i=r(49337),n=r(20234);function o(e,t,r,o){if(!t||t===r)return e;let a=e.toLowerCase();return!o&&((0,n.pathHasPrefix)(a,"/api")||(0,n.pathHasPrefix)(a,"/"+t.toLowerCase()))?e:(0,i.addPathPrefix)(e,"/"+t)}},49337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return n}});let i=r(93415);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,i.parsePath)(e);return""+t+r+n+o}},15366:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return n}});let i=r(93415);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,i.parsePath)(e);return""+r+t+n+o}},61704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let i=r(4864),n=r(49337),o=r(15366),a=r(68277);function s(e){let t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,i.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,n.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,n.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,i.removeTrailingSlash)(t)}},95393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});let i=r(82823),n=r(85793),o=r(20234);function a(e,t){var r,a;let{basePath:s,i18n:u,trailingSlash:l}=null!=(r=t.nextConfig)?r:{},d={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};s&&(0,o.pathHasPrefix)(d.pathname,s)&&(d.pathname=(0,n.removePathPrefix)(d.pathname,s),d.basePath=s);let c=d.pathname;if(d.pathname.startsWith("/_next/data/")&&d.pathname.endsWith(".json")){let e=d.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];d.buildId=r,c="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(d.pathname=c)}if(u){let e=t.i18nProvider?t.i18nProvider.analyze(d.pathname):(0,i.normalizeLocalePath)(d.pathname,u.locales);d.locale=e.detectedLocale,d.pathname=null!=(a=e.pathname)?a:d.pathname,!e.detectedLocale&&d.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(c):(0,i.normalizeLocalePath)(c,u.locales)).detectedLocale&&(d.locale=e.detectedLocale)}return d}},93415:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),i=r>-1&&(t<0||r<t);return i||t>-1?{pathname:e.substring(0,i?r:t),query:i?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},20234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return n}});let i=r(93415);function n(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,i.parsePath)(e);return r===t||r.startsWith(t+"/")}},85793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return n}});let i=r(20234);function n(e,t){if(!(0,i.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},4864:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),i=t.X(0,[8948],()=>r(62737));module.exports=i})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1093.js","../../chunks/1105.js","../../chunks/1167.js","../../chunks/135.js","../../chunks/1425.js","../../chunks/1473.js","../../chunks/1535.js","../../chunks/1651.js","../../chunks/1678.js","../../chunks/1682.js","../../chunks/184.js","../../chunks/1878.js","../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1093.js","../../chunks/1105.js","../../chunks/1167.js","../../chunks/135.js","../../chunks/1425.js","../../chunks/1442.js","../../chunks/1473.js","../../chunks/1535.js","../../chunks/1651.js","../../chunks/1678.js","../../chunks/1682.js","../../chunks/184.js","../../chunks/1878.js","../../chunks/2027.js","../../chunks/2269.js","../../chunks/2301.js","../../chunks/2542.js","../../chunks/2868.js","../../chunks/2918.js","../../chunks/2923.js","../../chunks/3118.js","../../chunks/3179.js","../../chunks/3189.js","../../chunks/3209.js","../../chunks/3277.js","../../chunks/330.js","../../chunks/3462.js","../../chunks/3483.js","../../chunks/3530.js","../../chunks/3627.js","../../chunks/3703.js","../../chunks/3754.js","../../chunks/4018.js","../../chunks/405.js","../../chunks/4094.js","../../chunks/4597.js","../../chunks/4605.js","../../chunks/4815.js","../../chunks/4931.js","../../chunks/5011.js","../../chunks/5175.js","../../chunks/5205.js","../../chunks/5214.js","../../chunks/5267.js","../../chunks/5972.js","../../chunks/6049.js","../../chunks/6061.js","../../chunks/6167.js","../../chunks/6282.js","../../chunks/6373.js","../../chunks/6435.js","../../chunks/6492.js","../../chunks/6509.js","../../chunks/6562.js","../../chunks/6751.js","../../chunks/6963.js","../../chunks/7188.js","../../chunks/7367.js","../../chunks/7597.js","../../chunks/7700.js","../../chunks/7952.js","../../chunks/8117.js","../../chunks/8134.js","../../chunks/8177.js","../../chunks/8332.js","../../chunks/8617.js","../../chunks/8698.js","../../chunks/8720.js","../../chunks/8739.js","../../chunks/8791.js","../../chunks/8948.js","../../chunks/9120.js","../../chunks/9143.js","../../chunks/9201.js","../../chunks/9759.js","../../chunks/9860.js","../../chunks/9896.js","../../chunks/font-manifest.json","../../webpack-runtime.js"]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(()=>{var e={};e.id=1931,e.ids=[1931],e.modules={72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},87561:e=>{"use strict";e.exports=require("node:fs")},49411:e=>{"use strict";e.exports=require("node:path")},
|
|
1
|
+
(()=>{var e={};e.id=1931,e.ids=[1931],e.modules={72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},87561:e=>{"use strict";e.exports=require("node:fs")},49411:e=>{"use strict";e.exports=require("node:path")},75493:(e,t,a)=>{"use strict";a.r(t),a.d(t,{GlobalError:()=>i.a,__next_app__:()=>m,originalPathname:()=>u,pages:()=>c,routeModule:()=>p,tree:()=>d}),a(54038),a(28869),a(35866);var r=a(23191),s=a(88716),n=a(37922),i=a.n(n),o=a(95231),l={};for(let e in o)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);a.d(t,l);let d=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(a.bind(a,54038)),"/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/app/page.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(a.bind(a,24697))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(a.bind(a,28869)),"/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(a.t.bind(a,35866,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(a.bind(a,24697))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],c=["/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/app/page.tsx"],u="/page",m={require:a,loadChunk:()=>Promise.resolve()},p=new r.AppPageRouteModule({definition:{kind:s.x.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},1712:(e,t,a)=>{Promise.resolve().then(a.bind(a,67459))},29591:(e,t,a)=>{Promise.resolve().then(a.bind(a,98377))},61152:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,12994,23)),Promise.resolve().then(a.t.bind(a,96114,23)),Promise.resolve().then(a.t.bind(a,9727,23)),Promise.resolve().then(a.t.bind(a,79671,23)),Promise.resolve().then(a.t.bind(a,41868,23)),Promise.resolve().then(a.t.bind(a,84759,23))},67459:(e,t,a)=>{"use strict";a.d(t,{Fg:()=>u,ThemeProvider:()=>c,themeBootScript:()=>f});var r=a(10326),s=a(17577),n=a(44547),i=a(40708);let o=(0,s.createContext)(null);function l(){return"undefined"==typeof document?"light":document.documentElement.classList.contains("dark")?"dark":"light"}function d(){if("undefined"==typeof document)return"default";let e=document.documentElement.getAttribute("data-bg");return(0,i.k4)(e)?e:"default"}function c({children:e}){let[t,a]=(0,s.useState)(l),[n,c]=(0,s.useState)(d),u=(0,s.useCallback)(e=>{a(e);try{localStorage.setItem(i.Fh,e)}catch{}},[]),m=(0,s.useCallback)(e=>{c(e);try{localStorage.setItem(i.zE,e)}catch{}},[]),p=(0,s.useMemo)(()=>({theme:t,background:n,setTheme:u,setBackground:m}),[t,n,u,m]);return r.jsx(o.Provider,{value:p,children:e})}function u(){let e=(0,s.useContext)(o);if(!e)throw Error("useTheme must be used within ThemeProvider");return e}let m=JSON.stringify(i.yU),p=JSON.stringify(i.nY),h="dark",f=`
|
|
2
2
|
(function(){try{
|
|
3
3
|
var THEMES = ${m};
|
|
4
4
|
var BGS = ${p};
|
|
5
5
|
var t = localStorage.getItem(${JSON.stringify(i.Fh)});
|
|
6
6
|
if (THEMES.indexOf(t) === -1) {
|
|
7
7
|
t = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches
|
|
8
|
-
? ${JSON.stringify(
|
|
8
|
+
? ${JSON.stringify(h)} : ${JSON.stringify("light")};
|
|
9
9
|
}
|
|
10
|
-
if (t === ${JSON.stringify(
|
|
10
|
+
if (t === ${JSON.stringify(h)}) document.documentElement.classList.add(${JSON.stringify(h)});
|
|
11
11
|
var b = localStorage.getItem(${JSON.stringify(i.zE)});
|
|
12
12
|
if (BGS.indexOf(b) === -1) b = ${JSON.stringify("default")};
|
|
13
13
|
document.documentElement.setAttribute("data-bg", b);
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
document.documentElement.style.setProperty(${JSON.stringify(n.is)}, sw + "px");
|
|
19
19
|
}
|
|
20
20
|
}catch(e){}})();
|
|
21
|
-
`},98377:(e,t,a)=>{"use strict";a.d(t,{Wizard:()=>b});var r=a(10326),s=a(17577),n=a(90772),i=a(33071);function o({step:e,title:t,description:a,error:s,busy:o,primaryLabel:l,onPrimary:d,primaryDisabled:c,onBack:u,children:m}){return(0,r.jsxs)(i.Zb,{children:[(0,r.jsxs)(i.Ol,{children:[(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Step ",e," / 4"]}),r.jsx(i.ll,{children:t}),a&&r.jsx(i.SZ,{children:a})]}),r.jsx(i.aY,{className:"space-y-4",children:m}),(0,r.jsxs)(i.eW,{className:"flex flex-col items-stretch gap-2",children:[s&&r.jsx("p",{role:"alert",className:"text-sm text-destructive","data-testid":"wizard-error",children:s}),(0,r.jsxs)("div",{className:"flex justify-between gap-2",children:[r.jsx(n.z,{variant:"ghost",onClick:u,disabled:!u||o,"data-testid":"wizard-back",children:"Back"}),r.jsx(n.z,{onClick:()=>void d(),disabled:o||c,"data-testid":"wizard-primary",children:o?"...":l})]})]})]})}let l=[{value:"cli",label:"Claude Pro / Max subscription (CLI)",hint:"Uses the OAuth session from `claude login`. No API key billing."},{value:"api",label:"Anthropic API key",hint:"Pay-per-use via ANTHROPIC_API_KEY. Set the key in Step 3."}];function d({data:e,setData:t,onNext:a,step:n}){let[i,d]=(0,s.useState)(!1),[c,u]=(0,s.useState)(null),m=async()=>{d(!0),u(null);try{let t=await fetch("/api/auth/mode",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({auth_mode:e.authMode})});if(!t.ok){u(`Failed to set auth mode (HTTP ${t.status})`);return}a()}catch(e){u(e instanceof Error?e.message:"Network error")}finally{d(!1)}};return(0,r.jsxs)(o,{step:n,title:"Choose how to call Claude",description:"You can switch later from the sidebar.",busy:i,error:c,primaryLabel:"Next",onPrimary:m,children:[(0,r.jsxs)("fieldset",{className:"space-y-3",children:[r.jsx("legend",{className:"sr-only",children:"Authentication mode"}),l.map(a=>(0,r.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 rounded-md border p-3 hover:bg-accent",children:[r.jsx("input",{type:"radio",name:"auth-mode",value:a.value,checked:e.authMode===a.value,onChange:()=>t(e=>({...e,authMode:a.value})),className:"mt-1"}),(0,r.jsxs)("span",{className:"flex flex-col",children:[r.jsx("span",{className:"font-medium",children:a.label}),r.jsx("span",{className:"text-xs text-muted-foreground",children:a.hint})]})]},a.value))]}),"cli"===e.authMode&&(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Run ",r.jsx("code",{className:"font-mono",children:"claude login"})," in a terminal first if you have not authenticated yet."]})]})}var c=a(54432);let u=e=>e.split(",").map(e=>e.trim()).filter(Boolean),m=e=>Array.from(new Set(u(e).map(e=>e.toUpperCase())));function p({data:e,setData:t,onNext:a,onBack:n,step:i}){let[l,d]=(0,s.useState)(e.tickers.join(", ")),[p,f]=(0,s.useState)(e.themes.join(", ")),[h,g]=(0,s.useState)(!1),[x,b]=(0,s.useState)(null),y=m(l),w=u(p),v=y.length>0,N=async()=>{g(!0),b(null);try{let e=await fetch("/api/config",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({portfolio:{tickers:y,themes:w},watch_sectors:[{sector:"Default",tickers:y,notes:null}],geopolitical:{conflicts:[]},watch_events:[]})});if(!e.ok){let t=await e.text();b(`PUT /api/config failed (HTTP ${e.status}): ${t}`);return}t(e=>({...e,tickers:y,themes:w})),a()}catch(e){b(e instanceof Error?e.message:"Network error")}finally{g(!1)}};return(0,r.jsxs)(o,{step:i,title:"Portfolio basics",description:"Comma-separated. You can edit watch sectors later.",busy:h,error:x,primaryLabel:"Next",primaryDisabled:!v,onPrimary:N,onBack:n,children:[(0,r.jsxs)("label",{className:"block space-y-1",children:[r.jsx("span",{className:"text-sm font-medium",children:"Tickers"}),r.jsx(c.I,{value:l,onChange:e=>d(e.target.value),placeholder:"PLTR, NVDA, GOOGL","data-testid":"tickers-input"}),r.jsx("span",{className:"text-xs text-muted-foreground",children:"At least one ticker is required."})]}),(0,r.jsxs)("label",{className:"block space-y-1",children:[r.jsx("span",{className:"text-sm font-medium",children:"Themes"}),r.jsx(c.I,{value:p,onChange:e=>f(e.target.value),placeholder:"AI規制, 半導体, 関税","data-testid":"themes-input"})]})]})}let f=[{name:"DISCORD_TOKEN",label:"Discord bot token",secret:!0},{name:"CHANNEL_ID",label:"Discord channel id"},{name:"NOTION_API_KEY",label:"Notion integration API key",secret:!0},{name:"NOTION_DATABASE_ID",label:"Notion database id"}];function h({data:e,onNext:t,onBack:a,step:n}){let[i,l]=(0,s.useState)(()=>Object.fromEntries(f.map(e=>[e.name,""]))),d="api"===e.authMode?[...f,{name:"ANTHROPIC_API_KEY",label:"Anthropic API key",hint:"Required because you picked API mode in Step 1.",secret:!0}]:f,[u,m]=(0,s.useState)(!1),[p,h]=(0,s.useState)(null),g=async()=>{m(!0),h(null);try{for(let[e,t]of d.map(e=>[e.name,(i[e.name]??"").trim()]).filter(([,e])=>e.length>0)){let a=await fetch(`/api/credentials/${encodeURIComponent(e)}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({value:t})});if(!a.ok){let t=await a.text();h(`PUT /api/credentials/${e} failed (HTTP ${a.status}): ${t}`);return}}t()}catch(e){h(e instanceof Error?e.message:"Network error")}finally{m(!1)}};return r.jsx(o,{step:n,title:"Notifications and credentials",description:"Leave any field blank to skip. You can add them later from the sidebar.",busy:u,error:p,primaryLabel:"Next",onPrimary:g,onBack:a,children:d.map(e=>(0,r.jsxs)("label",{className:"block space-y-1",children:[r.jsx("span",{className:"text-sm font-medium",children:e.label}),r.jsx(c.I,{type:e.secret?"password":"text",value:i[e.name]??"",onChange:t=>l(a=>({...a,[e.name]:t.target.value})),"data-testid":`cred-${e.name}`}),e.hint&&r.jsx("span",{className:"text-xs text-muted-foreground",children:e.hint})]},e.name))})}function g({onBack:e,step:t}){let a,n;let[i,l]=(0,s.useState)("idle"),[d,c]=(0,s.useState)(null),[u,m]=(0,s.useState)(null),[p,f]=(0,s.useState)(!1),h=(0,s.useCallback)(async()=>{f(!0);try{let e=await fetch("/api/state",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({onboarded:!0})});if(!e.ok){m(`PUT /api/state failed (HTTP ${e.status})`),f(!1);return}window.location.reload()}catch(e){m(e instanceof Error?e.message:"Network error"),f(!1)}},[]),g=(0,s.useCallback)(async()=>{m(null),l("pending"),c(null);try{let e=await fetch("/api/run?dry_run=true",{method:"POST",cache:"no-store"});if(!e.ok){let t=await e.text();m(`POST /api/run failed (HTTP ${e.status}): ${t}`),l("failed");return}let t=await e.json();c(t.job_id);let a=Date.now();for(;;){if(await new Promise(e=>setTimeout(e,1e3)),Date.now()-a>3e4){m("Timed out waiting for the job to finish"),l("failed");return}let e=await fetch(`/api/run/${t.job_id}`,{cache:"no-store"});if(!e.ok){m(`GET /api/run/${t.job_id} failed (HTTP ${e.status})`),l("failed");return}let r=await e.json();if(l(r.status),"done"===r.status)return;if("failed"===r.status){m(r.error??"Job failed without an error message");return}}}catch(e){m(e instanceof Error?e.message:"Network error"),l("failed")}},[]),x="done"===i,b="failed"===i,y="pending"===i||"running"===i||p;return x?(a="Finish",n=h):y?(a="...",n=()=>void 0):(a=b?"Retry":"Run test",n=()=>void g()),r.jsx(o,{step:t,title:"Verify the pipeline",description:"Runs /api/run?dry_run=true — credential preflight only, no Claude calls.",busy:y,error:u,primaryLabel:a,onPrimary:n,onBack:x||p?void 0:e,children:(0,r.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,r.jsxs)("p",{children:[r.jsx("span",{className:"font-medium",children:"Status:"})," ",r.jsx("span",{"data-testid":"job-status",children:i})]}),d&&(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Job id: ",r.jsx("code",{className:"font-mono",children:d})]}),x&&(0,r.jsxs)("p",{className:"text-sm",children:["All good. Press ",r.jsx("strong",{children:"Finish"})," to complete onboarding."]})]})})}let x={authMode:"cli",tickers:[],themes:[]};function b(){let[e,t]=(0,s.useState)(1),[a,n]=(0,s.useState)(x),i={data:a,setData:n,onNext:()=>t(e=>4===e?e:e+1),onBack:()=>t(e=>1===e?e:e-1),step:e};return(0,r.jsxs)("div",{className:"w-full max-w-xl","data-testid":"wizard",children:[1===e&&r.jsx(d,{...i}),2===e&&r.jsx(p,{...i}),3===e&&r.jsx(h,{...i}),4===e&&r.jsx(g,{...i})]})}},90772:(e,t,a)=>{"use strict";a.d(t,{z:()=>d});var r=a(10326),s=a(17577),n=a(34214),i=a(79360),o=a(77863);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef(({className:e,variant:t,size:a,asChild:s=!1,...i},d)=>{let c=s?n.g7:"button";return r.jsx(c,{className:(0,o.cn)(l({variant:t,size:a,className:e})),ref:d,...i})});d.displayName="Button"},33071:(e,t,a)=>{"use strict";a.d(t,{Ol:()=>o,SZ:()=>d,Zb:()=>i,aY:()=>c,eW:()=>u,ll:()=>l});var r=a(10326),s=a(17577),n=a(77863);let i=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",e),...t}));i.displayName="Card";let o=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",e),...t}));o.displayName="CardHeader";let l=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("font-semibold leading-none tracking-tight",e),...t}));l.displayName="CardTitle";let d=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("text-sm text-muted-foreground",e),...t}));d.displayName="CardDescription";let c=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("p-6 pt-0",e),...t}));c.displayName="CardContent";let u=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("flex items-center p-6 pt-0",e),...t}));u.displayName="CardFooter"},54432:(e,t,a)=>{"use strict";a.d(t,{I:()=>i});var r=a(10326),s=a(17577),n=a(77863);let i=s.forwardRef(({className:e,type:t,...a},s)=>r.jsx("input",{type:t,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...a}));i.displayName="Input"},44547:(e,t,a)=>{"use strict";a.d(t,{Iy:()=>l,K0:()=>r,N8:()=>s,is:()=>i,kv:()=>d,oS:()=>n,od:()=>o});let r="ai-agent:sidebar-collapsed",s="data-sidebar-collapsed",n="ai-agent:sidebar-width",i="--sidebar-width",o=180,l=480,d=240},40708:(e,t,a)=>{"use strict";a.d(t,{Fh:()=>n,k4:()=>o,nY:()=>s,yU:()=>r,zE:()=>i});let r=["light","dark"],s=["default","soft"],n="ai-agent:theme",i="ai-agent:background";function o(e){return"default"===e||"soft"===e}},77863:(e,t,a)=>{"use strict";a.d(t,{E:()=>i,_:()=>o,cn:()=>n});var r=a(41135),s=a(31009);function n(...e){return(0,s.m6)((0,r.W)(e))}function i(e){let t=e.replace(/[\\/]+$/,"").split(/[\\/]/);return t[t.length-1]||e}function o(e=new Date){let t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return`${t}-${a}-${r}`}},28869:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>m,metadata:()=>u});var r=a(19510),s=a(68215),n=a.n(s),i=a(20623),o=a.n(i),l=a(68570);let d=(0,l.createProxy)(String.raw`/Users/nakagawakazusa/work/ai-agent/apps/web/components/ThemeProvider.tsx#ThemeProvider`);(0,l.createProxy)(String.raw`/Users/nakagawakazusa/work/ai-agent/apps/web/components/ThemeProvider.tsx#useTheme`);let c=(0,l.createProxy)(String.raw`/Users/nakagawakazusa/work/ai-agent/apps/web/components/ThemeProvider.tsx#themeBootScript`);(0,l.createProxy)(String.raw`/Users/nakagawakazusa/work/ai-agent/apps/web/components/ThemeProvider.tsx#isBackground`),(0,l.createProxy)(String.raw`/Users/nakagawakazusa/work/ai-agent/apps/web/components/ThemeProvider.tsx#isTheme`),a(67272);let u={title:"ai-agent",description:"Daily briefing & Q&A web UI"};function m({children:e}){return(0,r.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[r.jsx("head",{children:r.jsx("script",{dangerouslySetInnerHTML:{__html:c}})}),r.jsx("body",{className:`${n().variable} ${o().variable} antialiased`,children:r.jsx(d,{children:e})})]})}},54038:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>d,dynamic:()=>l});var r=a(19510),s=a(58585),n=a(10687);let i=(0,a(68570).createProxy)(String.raw`/Users/nakagawakazusa/work/ai-agent/apps/web/components/onboarding/Wizard.tsx#Wizard`);async function o(){try{let e=await (0,n.S)("/api/state");if(!e.ok)return!1;return!!(await e.json()).onboarded}catch{return!1}}let l="force-dynamic";async function d(){return await o()&&(0,s.redirect)("/portfolio"),r.jsx("main",{className:"flex min-h-screen items-center justify-center p-8",children:r.jsx(i,{})})}},10687:(e,t,a)=>{"use strict";a.d(t,{S:()=>o});var r=a(87561),s=a(49411);let n=process.env.API_BASE??"http://127.0.0.1:8000",i=process.env.AI_AGENT_TOKEN_PATH??(0,s.join)(process.cwd(),".token");async function o(e,t={}){let a=new Headers(t.headers);return a.set("Authorization",`Bearer ${(0,r.readFileSync)(i,"utf8").trim()}`),fetch(`${n}${e}`,{...t,cache:"no-store",headers:a})}},24697:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});var r=a(66621);let s=e=>[{type:"image/svg+xml",sizes:"any",url:(0,r.fillMetadataSegment)(".",e.params,"icon.svg")+"?8b6de60c40220b8a"}]},67272:()=>{}};var t=require("../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),r=t.X(0,[8948,1535,3703],()=>a(10563));module.exports=r})();
|
|
21
|
+
`},98377:(e,t,a)=>{"use strict";a.d(t,{Wizard:()=>v});var r=a(10326),s=a(17577),n=a(90772),i=a(33071);function o({step:e,title:t,description:a,error:s,busy:o,primaryLabel:l,onPrimary:d,primaryDisabled:c,onBack:u,children:m}){return(0,r.jsxs)(i.Zb,{children:[(0,r.jsxs)(i.Ol,{children:[(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Step ",e," / 4"]}),r.jsx(i.ll,{children:t}),a&&r.jsx(i.SZ,{children:a})]}),r.jsx(i.aY,{className:"space-y-4",children:m}),(0,r.jsxs)(i.eW,{className:"flex flex-col items-stretch gap-2",children:[s&&r.jsx("p",{role:"alert",className:"text-sm text-destructive","data-testid":"wizard-error",children:s}),(0,r.jsxs)("div",{className:"flex justify-between gap-2",children:[r.jsx(n.z,{variant:"ghost",onClick:u,disabled:!u||o,"data-testid":"wizard-back",children:"Back"}),r.jsx(n.z,{onClick:()=>void d(),disabled:o||c,"data-testid":"wizard-primary",children:o?"...":l})]})]})]})}let l=[{value:"cli",label:"Claude Pro / Max subscription (CLI)",hint:"Uses the OAuth session from `claude login`. No API key billing."},{value:"api",label:"Anthropic API key",hint:"Pay-per-use via ANTHROPIC_API_KEY. Set the key in Step 3."}];function d({data:e,setData:t,onNext:a,step:n}){let[i,d]=(0,s.useState)(!1),[c,u]=(0,s.useState)(null),m=async()=>{d(!0),u(null);try{let t=await fetch("/api/auth/mode",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({auth_mode:e.authMode})});if(!t.ok){u(`Failed to set auth mode (HTTP ${t.status})`);return}a()}catch(e){u(e instanceof Error?e.message:"Network error")}finally{d(!1)}};return(0,r.jsxs)(o,{step:n,title:"Choose how to call Claude",description:"You can switch later from the sidebar.",busy:i,error:c,primaryLabel:"Next",onPrimary:m,children:[(0,r.jsxs)("fieldset",{className:"space-y-3",children:[r.jsx("legend",{className:"sr-only",children:"Authentication mode"}),l.map(a=>(0,r.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 rounded-md border p-3 hover:bg-accent",children:[r.jsx("input",{type:"radio",name:"auth-mode",value:a.value,checked:e.authMode===a.value,onChange:()=>t(e=>({...e,authMode:a.value})),className:"mt-1"}),(0,r.jsxs)("span",{className:"flex flex-col",children:[r.jsx("span",{className:"font-medium",children:a.label}),r.jsx("span",{className:"text-xs text-muted-foreground",children:a.hint})]})]},a.value))]}),"cli"===e.authMode&&(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Run ",r.jsx("code",{className:"font-mono",children:"claude login"})," in a terminal first if you have not authenticated yet."]})]})}var c=a(54432);let u=e=>e.split(",").map(e=>e.trim()).filter(Boolean),m=e=>Array.from(new Set(u(e).map(e=>e.toUpperCase()))),p=(e,t)=>"Default"===e.sector&&e.tickers.length===t.length&&e.tickers.every(e=>t.includes(e));function h({data:e,setData:t,onNext:a,onBack:n,step:i,existing:l=null}){let[d,h]=(0,s.useState)(e.tickers.join(", ")),[f,g]=(0,s.useState)(e.themes.join(", ")),[x,y]=(0,s.useState)(!1),[b,v]=(0,s.useState)(null),w=m(d),j=u(f),N=w.length>0,S=async()=>{y(!0),v(null);try{let e=l?{...l,portfolio:{...l.portfolio,tickers:w,themes:j},watch_sectors:l.watch_sectors.map(e=>p(e,l.portfolio.tickers)?{...e,tickers:w}:e)}:{portfolio:{tickers:w,themes:j},watch_sectors:[{sector:"Default",tickers:w,notes:null}],geopolitical:{conflicts:[]},watch_events:[]},r=await fetch("/api/config",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(e)});if(!r.ok){let e=await r.text();v(`PUT /api/config failed (HTTP ${r.status}): ${e}`);return}t(e=>({...e,tickers:w,themes:j})),a()}catch(e){v(e instanceof Error?e.message:"Network error")}finally{y(!1)}};return(0,r.jsxs)(o,{step:i,title:"Portfolio basics",description:"Comma-separated. You can edit watch sectors later.",busy:x,error:b,primaryLabel:"Next",primaryDisabled:!N,onPrimary:S,onBack:n,children:[(0,r.jsxs)("label",{className:"block space-y-1",children:[r.jsx("span",{className:"text-sm font-medium",children:"Tickers"}),r.jsx(c.I,{value:d,onChange:e=>h(e.target.value),placeholder:"PLTR, NVDA, GOOGL","data-testid":"tickers-input"}),r.jsx("span",{className:"text-xs text-muted-foreground",children:"At least one ticker is required."})]}),(0,r.jsxs)("label",{className:"block space-y-1",children:[r.jsx("span",{className:"text-sm font-medium",children:"Themes"}),r.jsx(c.I,{value:f,onChange:e=>g(e.target.value),placeholder:"AI規制, 半導体, 関税","data-testid":"themes-input"})]})]})}let f=[{name:"DISCORD_TOKEN",label:"Discord bot token",secret:!0},{name:"CHANNEL_ID",label:"Discord channel id"},{name:"NOTION_API_KEY",label:"Notion integration API key",secret:!0},{name:"NOTION_DATABASE_ID",label:"Notion database id"}];function g({data:e,onNext:t,onBack:a,step:n}){let[i,l]=(0,s.useState)(()=>Object.fromEntries(f.map(e=>[e.name,""]))),d="api"===e.authMode?[...f,{name:"ANTHROPIC_API_KEY",label:"Anthropic API key",hint:"Required because you picked API mode in Step 1.",secret:!0}]:f,[u,m]=(0,s.useState)(!1),[p,h]=(0,s.useState)(null),g=async()=>{m(!0),h(null);try{for(let[e,t]of d.map(e=>[e.name,(i[e.name]??"").trim()]).filter(([,e])=>e.length>0)){let a=await fetch(`/api/credentials/${encodeURIComponent(e)}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({value:t})});if(!a.ok){let t=await a.text();h(`PUT /api/credentials/${e} failed (HTTP ${a.status}): ${t}`);return}}t()}catch(e){h(e instanceof Error?e.message:"Network error")}finally{m(!1)}};return r.jsx(o,{step:n,title:"Notifications and credentials",description:"Leave any field blank to skip. You can add them later from the sidebar.",busy:u,error:p,primaryLabel:"Next",onPrimary:g,onBack:a,children:d.map(e=>(0,r.jsxs)("label",{className:"block space-y-1",children:[r.jsx("span",{className:"text-sm font-medium",children:e.label}),r.jsx(c.I,{type:e.secret?"password":"text",value:i[e.name]??"",onChange:t=>l(a=>({...a,[e.name]:t.target.value})),"data-testid":`cred-${e.name}`}),e.hint&&r.jsx("span",{className:"text-xs text-muted-foreground",children:e.hint})]},e.name))})}function x({onBack:e,step:t}){let a,n;let[i,l]=(0,s.useState)("idle"),[d,c]=(0,s.useState)(null),[u,m]=(0,s.useState)(null),[p,h]=(0,s.useState)(!1),f=(0,s.useCallback)(async()=>{h(!0);try{let e=await fetch("/api/state",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({onboarded:!0})});if(!e.ok){m(`PUT /api/state failed (HTTP ${e.status})`),h(!1);return}window.location.assign("/")}catch(e){m(e instanceof Error?e.message:"Network error"),h(!1)}},[]),g=(0,s.useCallback)(async()=>{m(null),l("pending"),c(null);try{let e=await fetch("/api/run?dry_run=true",{method:"POST",cache:"no-store"});if(!e.ok){let t=await e.text();m(`POST /api/run failed (HTTP ${e.status}): ${t}`),l("failed");return}let t=await e.json();c(t.job_id);let a=Date.now();for(;;){if(await new Promise(e=>setTimeout(e,1e3)),Date.now()-a>3e4){m("Timed out waiting for the job to finish"),l("failed");return}let e=await fetch(`/api/run/${t.job_id}`,{cache:"no-store"});if(!e.ok){m(`GET /api/run/${t.job_id} failed (HTTP ${e.status})`),l("failed");return}let r=await e.json();if(l(r.status),"done"===r.status)return;if("failed"===r.status){m(r.error??"Job failed without an error message");return}}}catch(e){m(e instanceof Error?e.message:"Network error"),l("failed")}},[]),x="done"===i,y="failed"===i,b="pending"===i||"running"===i||p;return x?(a="Finish",n=f):b?(a="...",n=()=>void 0):(a=y?"Retry":"Run test",n=()=>void g()),r.jsx(o,{step:t,title:"Verify the pipeline",description:"Runs /api/run?dry_run=true — credential preflight only, no Claude calls.",busy:b,error:u,primaryLabel:a,onPrimary:n,onBack:x||p?void 0:e,children:(0,r.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,r.jsxs)("p",{children:[r.jsx("span",{className:"font-medium",children:"Status:"})," ",r.jsx("span",{"data-testid":"job-status",children:i})]}),d&&(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Job id: ",r.jsx("code",{className:"font-mono",children:d})]}),x&&(0,r.jsxs)("p",{className:"text-sm",children:["All good. Press ",r.jsx("strong",{children:"Finish"})," to complete onboarding."]})]})})}let y={authMode:"cli",tickers:[],themes:[]},b=(e,t)=>fetch(e,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(t)});function v({rerun:e=!1}){let[t,a]=(0,s.useState)(1),[i,o]=(0,s.useState)(1),[l,c]=(0,s.useState)(y),[u,m]=(0,s.useState)(null),[p,f]=(0,s.useState)(null),[v,w]=(0,s.useState)(!1),[j,N]=(0,s.useState)(null),S=async()=>{w(!0),N(null);try{if(u&&i>=2){let e=await b("/api/auth/mode",{auth_mode:u.authMode});if(!e.ok)throw Error(`Restoring auth mode failed (HTTP ${e.status})`)}if(u?.config&&i>=3){let e=await b("/api/config",u.config);if(!e.ok)throw Error(`Restoring config failed (HTTP ${e.status})`)}window.location.assign("/portfolio")}catch(e){N(e instanceof Error?e.message:"Network error"),w(!1)}},P={data:l,setData:c,onNext:()=>{let e=4===t?t:t+1;a(e),o(t=>e>t?e:t)},onBack:()=>a(e=>1===e?e:e-1),step:t},k=e&&!u&&!p;return(0,r.jsxs)("div",{className:"w-full max-w-xl space-y-2","data-testid":"wizard",children:[e&&(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 text-sm text-muted-foreground",children:[r.jsx("span",{children:"Re-running setup. Cancel restores the auth mode and portfolio saved before."}),r.jsx(n.z,{variant:"ghost",size:"sm",onClick:()=>void S(),disabled:v,"data-testid":"wizard-cancel-rerun",children:"Cancel"})]}),j&&r.jsx("p",{role:"alert",className:"text-sm text-destructive","data-testid":"wizard-cancel-error",children:j}),p?(0,r.jsxs)("p",{role:"alert",className:"text-sm text-destructive","data-testid":"wizard-load-error",children:["Could not load the current settings: ",p]}):k?r.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading current settings…"}):(0,r.jsxs)(r.Fragment,{children:[1===t&&r.jsx(d,{...P}),2===t&&r.jsx(h,{...P,existing:u?.config??null}),3===t&&r.jsx(g,{...P}),4===t&&r.jsx(x,{...P})]})]})}},90772:(e,t,a)=>{"use strict";a.d(t,{z:()=>d});var r=a(10326),s=a(17577),n=a(34214),i=a(79360),o=a(77863);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef(({className:e,variant:t,size:a,asChild:s=!1,...i},d)=>{let c=s?n.g7:"button";return r.jsx(c,{className:(0,o.cn)(l({variant:t,size:a,className:e})),ref:d,...i})});d.displayName="Button"},33071:(e,t,a)=>{"use strict";a.d(t,{Ol:()=>o,SZ:()=>d,Zb:()=>i,aY:()=>c,eW:()=>u,ll:()=>l});var r=a(10326),s=a(17577),n=a(77863);let i=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",e),...t}));i.displayName="Card";let o=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",e),...t}));o.displayName="CardHeader";let l=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("font-semibold leading-none tracking-tight",e),...t}));l.displayName="CardTitle";let d=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("text-sm text-muted-foreground",e),...t}));d.displayName="CardDescription";let c=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("p-6 pt-0",e),...t}));c.displayName="CardContent";let u=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,className:(0,n.cn)("flex items-center p-6 pt-0",e),...t}));u.displayName="CardFooter"},54432:(e,t,a)=>{"use strict";a.d(t,{I:()=>i});var r=a(10326),s=a(17577),n=a(77863);let i=s.forwardRef(({className:e,type:t,...a},s)=>r.jsx("input",{type:t,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...a}));i.displayName="Input"},44547:(e,t,a)=>{"use strict";a.d(t,{Iy:()=>l,K0:()=>r,N8:()=>s,is:()=>i,kv:()=>d,oS:()=>n,od:()=>o});let r="ai-agent:sidebar-collapsed",s="data-sidebar-collapsed",n="ai-agent:sidebar-width",i="--sidebar-width",o=180,l=480,d=240},40708:(e,t,a)=>{"use strict";a.d(t,{Fh:()=>n,k4:()=>o,nY:()=>s,yU:()=>r,zE:()=>i});let r=["light","dark"],s=["default","soft"],n="ai-agent:theme",i="ai-agent:background";function o(e){return"default"===e||"soft"===e}},77863:(e,t,a)=>{"use strict";a.d(t,{E:()=>i,_:()=>o,cn:()=>n});var r=a(41135),s=a(31009);function n(...e){return(0,s.m6)((0,r.W)(e))}function i(e){let t=e.replace(/[\\/]+$/,"").split(/[\\/]/);return t[t.length-1]||e}function o(e=new Date){let t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return`${t}-${a}-${r}`}},28869:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>m,metadata:()=>u});var r=a(19510),s=a(68215),n=a.n(s),i=a(20623),o=a.n(i),l=a(68570);let d=(0,l.createProxy)(String.raw`/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/components/ThemeProvider.tsx#ThemeProvider`);(0,l.createProxy)(String.raw`/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/components/ThemeProvider.tsx#useTheme`);let c=(0,l.createProxy)(String.raw`/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/components/ThemeProvider.tsx#themeBootScript`);(0,l.createProxy)(String.raw`/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/components/ThemeProvider.tsx#isBackground`),(0,l.createProxy)(String.raw`/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/components/ThemeProvider.tsx#isTheme`),a(67272);let u={title:"ai-agent",description:"Daily briefing & Q&A web UI"};function m({children:e}){return(0,r.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[r.jsx("head",{children:r.jsx("script",{dangerouslySetInnerHTML:{__html:c}})}),r.jsx("body",{className:`${n().variable} ${o().variable} antialiased`,children:r.jsx(d,{children:e})})]})}},54038:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>d,dynamic:()=>l});var r=a(19510),s=a(58585),n=a(10687);let i=(0,a(68570).createProxy)(String.raw`/home/runner/work/ai-agent-cli/ai-agent-cli/apps/web/components/onboarding/Wizard.tsx#Wizard`);async function o(){try{let e=await (0,n.S)("/api/state");if(!e.ok)return!1;return!!(await e.json()).onboarded}catch{return!1}}let l="force-dynamic";async function d({searchParams:e}){let t=await o(),a=t&&"1"===e.rerun;return t&&!a&&(0,s.redirect)("/portfolio"),r.jsx("main",{className:"flex min-h-screen items-center justify-center p-8",children:r.jsx(i,{rerun:a})})}},10687:(e,t,a)=>{"use strict";a.d(t,{S:()=>o});var r=a(87561),s=a(49411);let n=process.env.API_BASE??"http://127.0.0.1:8000",i=process.env.AI_AGENT_TOKEN_PATH??(0,s.join)(process.cwd(),".token");async function o(e,t={}){let a=new Headers(t.headers);return a.set("Authorization",`Bearer ${(0,r.readFileSync)(i,"utf8").trim()}`),fetch(`${n}${e}`,{...t,cache:"no-store",headers:a})}},24697:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});var r=a(66621);let s=e=>[{type:"image/svg+xml",sizes:"any",url:(0,r.fillMetadataSegment)(".",e.params,"icon.svg")+"?8b6de60c40220b8a"}]},67272:()=>{}};var t=require("../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),r=t.X(0,[8948,1535,3703],()=>a(75493));module.exports=r})();
|