@zwbigi/ink-xy 0.1.13 → 0.1.14

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.
Files changed (73) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +3 -3
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  5. package/.next/server/app/_global-error.html +1 -1
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  13. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/_not-found.html +1 -1
  15. package/.next/server/app/_not-found.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  22. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -1
  23. package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -1
  24. package/.next/server/app/api/agent/describe-image/route.js.nft.json +1 -1
  25. package/.next/server/app/api/agent/new/route.js +1 -1
  26. package/.next/server/app/api/agent/new/route.js.nft.json +1 -1
  27. package/.next/server/app/api/auth/all-providers/route.js.nft.json +1 -1
  28. package/.next/server/app/api/auth/api-key/[provider]/route.js.nft.json +1 -1
  29. package/.next/server/app/api/auth/login/[provider]/route.js.nft.json +1 -1
  30. package/.next/server/app/api/auth/logout/[provider]/route.js.nft.json +1 -1
  31. package/.next/server/app/api/auth/providers/route.js.nft.json +1 -1
  32. package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -1
  33. package/.next/server/app/api/gem-xy/[id]/route.js +1 -1
  34. package/.next/server/app/api/gem-xy/[id]/route.js.nft.json +1 -1
  35. package/.next/server/app/api/gem-xy/route.js +1 -1
  36. package/.next/server/app/api/gem-xy/route.js.nft.json +1 -1
  37. package/.next/server/app/api/inkos/route.js +1 -1
  38. package/.next/server/app/api/inkos/route.js.nft.json +1 -1
  39. package/.next/server/app/api/models/route.js.nft.json +1 -1
  40. package/.next/server/app/api/models-config/route.js.nft.json +1 -1
  41. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -1
  42. package/.next/server/app/api/sessions/[id]/lock/route.js.nft.json +1 -1
  43. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
  44. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  45. package/.next/server/app/api/skills/install/route.js.nft.json +1 -1
  46. package/.next/server/app/api/skills/route.js.nft.json +1 -1
  47. package/.next/server/app/api/skills/search/route.js.nft.json +1 -1
  48. package/.next/server/app/api/tts/synthesize/route.js.nft.json +1 -1
  49. package/.next/server/app/index.html +1 -1
  50. package/.next/server/app/index.rsc +2 -2
  51. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  52. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  53. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  54. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  55. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  56. package/.next/server/app/page.js +28 -28
  57. package/.next/server/app/page_client-reference-manifest.js +1 -1
  58. package/.next/server/app-paths-manifest.json +3 -3
  59. package/.next/server/chunks/162.js +1 -1
  60. package/.next/server/middleware-build-manifest.js +1 -1
  61. package/.next/server/pages/404.html +1 -1
  62. package/.next/server/pages/500.html +1 -1
  63. package/.next/static/chunks/app/page-991f48f5e2633ed9.js +167 -0
  64. package/.next/trace +4 -4
  65. package/.next/trace-build +1 -1
  66. package/inkos/packages/cli/dist/index.js +2 -2
  67. package/inkos/packages/core/dist/pipeline/runner.js +2 -2
  68. package/inkos/packages/core/dist/pipeline/runner.js.map +1 -1
  69. package/inkos/packages/core/src/pipeline/runner.ts +2 -2
  70. package/package.json +1 -1
  71. package/.next/static/chunks/app/page-fbf66e00e4553a09.js +0 -167
  72. /package/.next/static/{_dVc8qn-Ll1d6faCafbmD → ptzArTNv_XIBLHZDy7I61}/_buildManifest.js +0 -0
  73. /package/.next/static/{_dVc8qn-Ll1d6faCafbmD → ptzArTNv_XIBLHZDy7I61}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"62304","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\builtin\\global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\builtin\\global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\http-access-fallback\\error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\http-access-fallback\\error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\lib\\framework\\boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\lib\\framework\\boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\lib\\metadata\\generate\\icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\lib\\metadata\\generate\\icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Noto_Sans_Mono\",\"arguments\":[{\"subsets\":[\"latin\",\"cyrillic\"],\"variable\":\"--font-noto-mono\",\"display\":\"swap\"}],\"variableName\":\"notoSansMono\"}":{"id":4196,"name":"*","chunks":["7177","static/chunks/app/layout-6c9568b1e18484e3.js"],"async":false},"E:\\ink-xY\\app\\globals.css":{"id":6872,"name":"*","chunks":["7177","static/chunks/app/layout-6c9568b1e18484e3.js"],"async":false},"E:\\ink-xY\\components\\AppShell.tsx":{"id":9659,"name":"*","chunks":["7547","static/chunks/7547-9d656d23f0b75f2a.js","8974","static/chunks/app/page-fbf66e00e4553a09.js"],"async":false}},"entryCSSFiles":{"E:\\ink-xY\\":[],"E:\\ink-xY\\app\\layout":[{"inlined":false,"path":"static/css/cb335cfd27b5f824.css"}],"E:\\ink-xY\\app\\page":[]},"rscModuleMapping":{"484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"6872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"35790","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"62304","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\builtin\\global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\builtin\\global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\http-access-fallback\\error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\http-access-fallback\\error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\client\\components\\render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\client\\components\\render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\lib\\framework\\boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\lib\\framework\\boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\lib\\metadata\\generate\\icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\dist\\esm\\lib\\metadata\\generate\\icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"E:\\ink-xY\\node_modules\\next\\font\\google\\target.css?{\"path\":\"app\\\\layout.tsx\",\"import\":\"Noto_Sans_Mono\",\"arguments\":[{\"subsets\":[\"latin\",\"cyrillic\"],\"variable\":\"--font-noto-mono\",\"display\":\"swap\"}],\"variableName\":\"notoSansMono\"}":{"id":4196,"name":"*","chunks":["7177","static/chunks/app/layout-6c9568b1e18484e3.js"],"async":false},"E:\\ink-xY\\app\\globals.css":{"id":6872,"name":"*","chunks":["7177","static/chunks/app/layout-6c9568b1e18484e3.js"],"async":false},"E:\\ink-xY\\components\\AppShell.tsx":{"id":9659,"name":"*","chunks":["7547","static/chunks/7547-9d656d23f0b75f2a.js","8974","static/chunks/app/page-991f48f5e2633ed9.js"],"async":false}},"entryCSSFiles":{"E:\\ink-xY\\":[],"E:\\ink-xY\\app\\layout":[{"inlined":false,"path":"static/css/cb335cfd27b5f824.css"}],"E:\\ink-xY\\app\\page":[]},"rscModuleMapping":{"484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"6872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"35790","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
@@ -18,16 +18,16 @@
18
18
  "/api/agent/[id]/events/route": "app/api/agent/[id]/events/route.js",
19
19
  "/api/auth/all-providers/route": "app/api/auth/all-providers/route.js",
20
20
  "/api/auth/api-key/[provider]/route": "app/api/auth/api-key/[provider]/route.js",
21
- "/api/auth/logout/[provider]/route": "app/api/auth/logout/[provider]/route.js",
22
21
  "/api/agent/describe-image/route": "app/api/agent/describe-image/route.js",
23
- "/api/auth/providers/route": "app/api/auth/providers/route.js",
22
+ "/api/auth/logout/[provider]/route": "app/api/auth/logout/[provider]/route.js",
24
23
  "/api/auth/login/[provider]/route": "app/api/auth/login/[provider]/route.js",
24
+ "/api/auth/providers/route": "app/api/auth/providers/route.js",
25
25
  "/api/models-config/route": "app/api/models-config/route.js",
26
26
  "/api/models/route": "app/api/models/route.js",
27
27
  "/api/skills/install/route": "app/api/skills/install/route.js",
28
28
  "/api/skills/route": "app/api/skills/route.js",
29
29
  "/api/skills/search/route": "app/api/skills/search/route.js",
30
- "/api/tts/synthesize/route": "app/api/tts/synthesize/route.js",
31
30
  "/api/inkos/route": "app/api/inkos/route.js",
31
+ "/api/tts/synthesize/route": "app/api/tts/synthesize/route.js",
32
32
  "/page": "app/page.js"
33
33
  }
@@ -1 +1 @@
1
- exports.id=162,exports.ids=[162],exports.modules={16510:(a,b,c)=>{"use strict";function d(a,b){let c=a.toLowerCase(),d=b.toLowerCase();return!(d.includes("tts")||d.includes("voiceclone")||d.includes("voicedesign")||d.includes("audio-gen")||d.includes("mimo")&&d.includes("flash"))&&(c.includes("deepseek")||d.includes("deepseek")?!!(d.includes("vl")||d.includes("v4")||d.includes("janus")||d.includes("ocr")):c.includes("openai")?!d.includes("o1-mini")&&!!(d.includes("gpt-4o")||d.includes("gpt-5")||d.includes("gpt-4.5")||d.includes("gpt-4-turbo")||d.includes("vision")||d.includes("multimodal")||"o1"===d||d.startsWith("o1-202")):c.includes("anthropic")?!!(d.includes("claude-3")||d.includes("claude-4")||d.includes("claude-5")||d.includes("claude-sonnet")||d.includes("claude-opus")||d.includes("claude-")&&(d.includes("vision")||d.includes("multimodal"))):c.includes("google")||c.includes("gemini")?!!(d.includes("gemini-")||d.includes("omni")||d.includes("vision")||d.includes("multimodal")):!!(d.includes("vision")||d.includes("multimodal")||d.includes("vlm")||d.includes("vla")||d.includes("gpt-4o")||d.includes("gpt-5")||d.includes("gpt-4.5")||d.includes("claude-3")||d.includes("claude-4")||d.includes("gemini-")||d.includes("pixtral")||d.includes("mimo")||d.includes("-vl")||d.includes("molmo")||d.includes("paligemma")||d.includes("gemma-3")||d.includes("gemma-4")||d.includes("gemma-5")||d.includes("llama")&&(d.includes("11b")||d.includes("90b")||d.includes("vision")||d.includes("multimodal"))||d.includes("qwen")&&d.includes("vl")||d.includes("glm")&&(d.includes("vision")||d.includes("vl")||d.includes("thinking")||/glm-(?:\d+(?:\.\d+)?v|edge-v|omni)/i.test(d))||d.includes("cogvlm")||d.includes("internvl")||d.includes("yi")&&d.includes("vl")||d.includes("step-")&&(d.includes("v")||d.includes("vision"))||d.includes("hunyuan")&&(d.includes("vision")||d.includes("vl"))||d.includes("doubao")&&(d.includes("vision")||d.includes("vl"))||(d.includes("kimi")||d.includes("moonshot"))&&(d.includes("vision")||d.includes("vl")||d.includes("2.6")||d.includes("k2"))||d.includes("abab")&&(d.includes("vision")||d.includes("vl"))||d.includes("minimax")&&(d.includes("vision")||d.includes("vl"))||d.includes("hailuo")))}c.d(b,{S:()=>d})},23582:(a,b,c)=>{"use strict";var d=c(21820),e=c(33873),f=c(29021);let g=(0,d.homedir)(),h=(0,e.join)(g,".ink","agent"),i=(0,e.join)(g,".pi","agent");process.env.PI_CODING_AGENT_DIR||(process.env.PI_CODING_AGENT_DIR=h);try{if((0,f.existsSync)(i)){for(let a of((0,f.existsSync)(h)||(0,f.mkdirSync)(h,{recursive:!0}),["models.json","auth.json","settings.json","fetched-models-cache.json","gem_xy.json","locked-sessions.json"])){let b=(0,e.join)(i,a),c=(0,e.join)(h,a);if((0,f.existsSync)(b)&&function(a){try{if(!(0,f.existsSync)(a))return!0;let b=(0,f.readFileSync)(a,"utf8").trim();if(!b||"{}"===b||'{\n "providers": {}\n}'===b)return!0;let c=JSON.parse(b);if(0===Object.keys(c).length||c.providers&&0===Object.keys(c.providers).length)return!0;return!1}catch{return!0}}(c))try{(0,f.writeFileSync)(c,(0,f.readFileSync)(b)),console.log(`[env-init] Migrated config file ${a} from .pi/agent to .ink/agent`)}catch(b){console.error(`[env-init] Failed to migrate config file ${a}:`,b)}}for(let a of["sessions","skills","bin"]){let b=(0,e.join)(i,a),c=(0,e.join)(h,a);if((0,f.existsSync)(b))try{!function a(b,c){if((0,f.existsSync)(b))for(let d of((0,f.existsSync)(c)||(0,f.mkdirSync)(c,{recursive:!0}),(0,f.readdirSync)(b,{withFileTypes:!0}))){let g=(0,e.join)(b,d.name),h=(0,e.join)(c,d.name);if(d.isDirectory())a(g,h);else try{(0,f.existsSync)(h)||(0,f.writeFileSync)(h,(0,f.readFileSync)(g))}catch(a){console.error(`[env-init] Failed to copy file ${g} to ${h}:`,a)}}}(b,c),console.log(`[env-init] Migrated directory ${a} from .pi/agent to .ink/agent`)}catch(b){console.error(`[env-init] Failed to migrate directory ${a}:`,b)}}let a=(0,e.join)(g,".pi");if((0,f.existsSync)(a))try{let b=a+".bak",c=b,d=1;for(;(0,f.existsSync)(c);)c=`${b}_${d}`,d++;(0,f.renameSync)(a,c),console.log(`[env-init] Renamed old config dir ${a} to ${c}`)}catch(a){console.error("[env-init] Failed to rename old config dir:",a)}}}catch(a){console.error("[env-init] Migration failed:",a)}},78335:()=>{},96487:()=>{},97990:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{IV:()=>q,WZ:()=>r,a6:()=>n}),c(23582);var e=c(79646),f=c(28354),g=c(29021),h=c(33873),i=c(19771),j=c(75430),k=c(98388),l=a([j,k]);[j,k]=l.then?(await l)():l;let s=(0,f.promisify)(e.execFile);try{!function(){if("darwin"!==process.platform)return;let a=new Set;a.add("/usr/local/bin"),a.add("/opt/homebrew/bin"),process.env.PATH&&process.env.PATH.split(":").forEach(b=>a.add(b));try{let b=(0,e.execSync)("zsh -lic 'echo $PATH'",{encoding:"utf8",timeout:2e3}).trim();b&&b.split(":").forEach(b=>a.add(b))}catch(a){}process.env.PATH=Array.from(a).join(":")}()}catch{}function m(){let a=(0,h.dirname)(i.execPath),b=[(0,h.join)(a,"node_modules","npm","bin","npx-cli.js"),(0,h.join)(a,"..","lib","node_modules","npm","bin","npx-cli.js")];if(!(void 0!==process.versions.electron||i.execPath.toLowerCase().includes("electron")||i.execPath.toLowerCase().includes("desktop")))for(let a of b)try{if((0,g.existsSync)(a))return{nodePath:i.execPath,npxCliPath:a}}catch{}let c=(process.env.PATH||"").split(h.delimiter),d="win32"===process.platform?["node.exe","node"]:["node"];for(let a of c)if(a)for(let b of d){let c=(0,h.join)(a,b);try{if((0,g.existsSync)(c)){for(let b of[(0,h.join)(a,"node_modules","npm","bin","npx-cli.js"),(0,h.join)(a,"..","lib","node_modules","npm","bin","npx-cli.js")])if((0,g.existsSync)(b))return{nodePath:c,npxCliPath:b}}}catch{}}if("win32"===process.platform){let a="C:\\Program Files\\nodejs\\node.exe",b="C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npx-cli.js";try{if((0,g.existsSync)(a)&&(0,g.existsSync)(b))return{nodePath:a,npxCliPath:b}}catch{}}return null}async function n(a,b={}){let c=m();if(c)return console.log(`[runNpx] using resolved node: "${c.nodePath}" with npx-cli: "${c.npxCliPath}"`),s(c.nodePath,[c.npxCliPath,...a],{timeout:b.timeout,cwd:b.cwd,env:b.env});let d="win32"===process.platform?"npx.cmd":"npx";return console.log(`[runNpx] falling back to spawning "${d}" directly`),s(d,a,{timeout:b.timeout,cwd:b.cwd,env:b.env,shell:"win32"===process.platform||void 0})}function o(){let a={};try{let b=process.env.PI_CODING_AGENT_DIR||(0,j.getAgentDir)(),c=(0,h.join)(b,"settings.json"),d="",e="";if((0,g.existsSync)(c))try{let a=JSON.parse((0,g.readFileSync)(c,"utf8"));d=a.defaultProvider||"",e=a.defaultModel||""}catch(a){}let f=j.AuthStorage.create(),i=j.ModelRegistry.create(f),l=i.getAll(),m=new Set,n={"minimax-cn":["MINIMAX"],"xiaomi-token-plan-cn":["XIAOMIMIMO"],"xiaomi-token-plan-ams":["XIAOMIMIMO"],"xiaomi-token-plan-sgp":["XIAOMIMIMO"],xiaomi:["XIAOMIMIMO"],"moonshotai-cn":["MOONSHOT"],moonshotai:["MOONSHOT"]};for(let b of l){if(m.has(b.provider))continue;m.add(b.provider);let c=b.provider.toUpperCase().replace(/-/g,"_"),d=f.get(b.provider);for(let e of(d?.key&&(a[`${c}_API_KEY`]=d.key,a.OPENAI_API_KEY||(a.OPENAI_API_KEY=d.key)),b.baseUrl&&(a[`${c}_BASE_URL`]=b.baseUrl,a[`${c}_API_URL`]=b.baseUrl,a.OPENAI_BASE_URL||(a.OPENAI_BASE_URL=b.baseUrl)),n[b.provider]||[]))d?.key&&(a[`${e}_API_KEY`]=d.key),b.baseUrl&&(a[`${e}_BASE_URL`]=b.baseUrl,a[`${e}_API_URL`]=b.baseUrl)}if(d&&e){let b=d;if(d.includes("xiaomi-token-plan")||d.toLowerCase().includes("mimo")){let a=l.find(a=>a.provider.toLowerCase().includes("mimo"))?.provider;a&&(b=a)}let c=(0,k.P6)(i,b,e);if(c){let e=f.get(d)||f.get(b);e?.key&&(a.INKOS_LLM_API_KEY=e.key),c.baseUrl&&(a.INKOS_LLM_BASE_URL=c.baseUrl),a.INKOS_LLM_MODEL=c.id,a.INKOS_LLM_PROVIDER="openai",a.INKOS_LLM_API_FORMAT="chat",a.INKOS_LLM_STREAM="true"}}}catch(a){console.error("[runInkos] Failed to resolve models.json environment:",a)}return a}function p(){for(let a of[process.env.INK_XY_APP_DIR,__dirname,process.cwd()]){if(!a)continue;let b=a;for(;;){let a=(0,h.join)(b,"inkos","packages","cli","dist","index.js");try{if((0,g.existsSync)(a))return a}catch{}let c=(0,h.dirname)(b);if(c===b)break;b=c}}return(0,h.join)(process.cwd(),"inkos","packages","cli","dist","index.js")}async function q(a,b={}){let c=m(),d=c?c.nodePath:"node",e=p(),f=o();return console.log(`[runInkos] invoking local InkOS CLI: "${d} ${e} ${a.join(" ")}"`),s(d,[e,...a],{timeout:b.timeout,cwd:b.cwd??process.cwd(),env:{...process.env,...f,INKOS_NO_STDIN:"true",...b.env}})}function r(a,b={}){let c=m(),d=c?c.nodePath:"node",f=p(),g=o();return console.log(`[spawnInkos] spawning local InkOS CLI: "${d} ${f} ${a.join(" ")}"`),(0,e.spawn)(d,[f,...a],{cwd:b.cwd??process.cwd(),env:{...process.env,...g,INKOS_NO_STDIN:"true",...b.env},stdio:["ignore","pipe","pipe"]})}d()}catch(a){d(a)}})},98388:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{Lj:()=>k,P6:()=>m,QA:()=>l}),c(23582);var e=c(29021),f=c(33873),g=c(75430),h=c(16510),i=a([g]);function j(){return(0,f.join)((0,g.getAgentDir)(),"fetched-models-cache.json")}g=(i.then?(await i)():i)[0];let n=null;function k(){if(n)return n;let a=j();if((0,e.existsSync)(a))try{return n=JSON.parse((0,e.readFileSync)(a,"utf8"))}catch{}return n={}}function l(a){setTimeout(async()=>{try{let b=k(),c=Date.now(),d=(0,f.join)((0,g.getAgentDir)(),"auth.json");if(!(0,e.existsSync)(d))return;let i=JSON.parse((0,e.readFileSync)(d,"utf8")),l=Object.keys(i),m=!1;for(let d of l){let e=i[d]?.key;if(!e)continue;let f=b[d];if(f&&c-f.updatedAt<36e5)continue;console.log(`[model-resolver] Background syncing models list for provider: "${d}"...`);let g=a.models?.find(a=>a.provider===d),j=g?.baseUrl||"",k=function(a,b){let c=a.toLowerCase();if(c.startsWith("minimax"))return"https://api.minimaxi.com/v1/models";if(c.includes("google")||c.includes("gemini"))return"https://generativelanguage.googleapis.com/v1beta/models";let d=b;return d.endsWith("/anthropic")&&(d=d.replace("/anthropic","/v1")),d.endsWith("/")&&(d=d.slice(0,-1)),d.endsWith("/models")||(d=`${d}/models`),d}(d,j),l={},n=k,o=d.toLowerCase();o.includes("google")||o.includes("gemini")?n=`${k}?key=${e}`:l.Authorization=`Bearer ${e}`;try{let a=await fetch(n,{headers:l,signal:AbortSignal.timeout(6e3)});if(!a.ok){console.error(`[model-resolver] Failed to fetch models for "${d}": HTTP ${a.status}`);continue}let e=await a.json(),f=[];if((f=o.includes("google")||o.includes("gemini")?(e.models||[]).map(a=>{let b=a.name||"";return b.startsWith("models/")?b.replace("models/",""):b}).filter(a=>a.includes("gemini")):(e.data||[]).map(a=>a.id).filter(Boolean)).length>0){let a=f.map(a=>{let b=(0,h.S)(d,a);return{id:a,name:a,provider:d,supportsVision:b}});b[d]={updatedAt:c,models:a},m=!0,console.log(`[model-resolver] Successfully synced ${f.length} models for "${d}".`)}}catch(a){console.error(`[model-resolver] Fetch failed for "${d}":`,a)}}m&&function(a){n=a;try{(0,e.writeFileSync)(j(),JSON.stringify(a,null,2),"utf8")}catch(a){console.error("Failed to save models cache:",a)}}(b)}catch(a){console.error("[model-resolver] Error in triggerBackgroundModelsSync:",a)}},100)}function m(a,b,c){let d=a.find(b,c);if(d)return d;let e=b.toLowerCase(),f=c.toLowerCase();if("minimax-cn"===e&&"MiniMax-M3"===c){let b=a.find("minimax-cn","MiniMax-M2.7")||a.find("minimax-cn","MiniMax-M2.7-highspeed");return b?{...b,id:"MiniMax-M3",name:"MiniMax-M3",api:"openai-completions",baseUrl:b.baseUrl.includes("anthropic")?b.baseUrl.replace("/anthropic","/v1"):"https://api.minimaxi.com/v1",reasoning:!0}:{id:"MiniMax-M3",name:"MiniMax-M3",api:"openai-completions",provider:"minimax-cn",baseUrl:"https://api.minimaxi.com/v1",reasoning:!0,input:["text"],cost:{input:.3,output:1.2,cacheRead:.06,cacheWrite:.375},contextWindow:204800,maxTokens:131072}}let g=(a.models||[]).find(a=>a.provider===b)||("function"==typeof a.getAll?a.getAll().find(a=>a.provider===b):void 0);if(g){let a=(0,h.S)(b,c);return{...g,id:c,name:c,reasoning:f.includes("reasoning")||f.includes("thinking")||f.includes("-r1")||g.reasoning,input:a?["text","image"]:["text"]}}}d()}catch(a){d(a)}})}};
1
+ exports.id=162,exports.ids=[162],exports.modules={16510:(a,b,c)=>{"use strict";function d(a,b){let c=a.toLowerCase(),d=b.toLowerCase();return!(d.includes("tts")||d.includes("voiceclone")||d.includes("voicedesign")||d.includes("audio-gen")||d.includes("mimo")&&d.includes("flash"))&&(c.includes("deepseek")||d.includes("deepseek")?!!(d.includes("vl")||d.includes("v4")||d.includes("janus")||d.includes("ocr")):c.includes("openai")?!d.includes("o1-mini")&&!!(d.includes("gpt-4o")||d.includes("gpt-5")||d.includes("gpt-4.5")||d.includes("gpt-4-turbo")||d.includes("vision")||d.includes("multimodal")||"o1"===d||d.startsWith("o1-202")):c.includes("anthropic")?!!(d.includes("claude-3")||d.includes("claude-4")||d.includes("claude-5")||d.includes("claude-sonnet")||d.includes("claude-opus")||d.includes("claude-")&&(d.includes("vision")||d.includes("multimodal"))):c.includes("google")||c.includes("gemini")?!!(d.includes("gemini-")||d.includes("omni")||d.includes("vision")||d.includes("multimodal")):!!(d.includes("vision")||d.includes("multimodal")||d.includes("vlm")||d.includes("vla")||d.includes("gpt-4o")||d.includes("gpt-5")||d.includes("gpt-4.5")||d.includes("claude-3")||d.includes("claude-4")||d.includes("gemini-")||d.includes("pixtral")||d.includes("mimo")||d.includes("-vl")||d.includes("molmo")||d.includes("paligemma")||d.includes("gemma-3")||d.includes("gemma-4")||d.includes("gemma-5")||d.includes("llama")&&(d.includes("11b")||d.includes("90b")||d.includes("vision")||d.includes("multimodal"))||d.includes("qwen")&&d.includes("vl")||d.includes("glm")&&(d.includes("vision")||d.includes("vl")||d.includes("thinking")||/glm-(?:\d+(?:\.\d+)?v|edge-v|omni)/i.test(d))||d.includes("cogvlm")||d.includes("internvl")||d.includes("yi")&&d.includes("vl")||d.includes("step-")&&(d.includes("v")||d.includes("vision"))||d.includes("hunyuan")&&(d.includes("vision")||d.includes("vl"))||d.includes("doubao")&&(d.includes("vision")||d.includes("vl"))||(d.includes("kimi")||d.includes("moonshot"))&&(d.includes("vision")||d.includes("vl")||d.includes("2.6")||d.includes("k2"))||d.includes("abab")&&(d.includes("vision")||d.includes("vl"))||d.includes("minimax")&&(d.includes("vision")||d.includes("vl"))||d.includes("hailuo")))}c.d(b,{S:()=>d})},23582:(a,b,c)=>{"use strict";var d=c(21820),e=c(33873),f=c(29021);let g=(0,d.homedir)(),h=(0,e.join)(g,".ink","agent"),i=(0,e.join)(g,".pi","agent");process.env.PI_CODING_AGENT_DIR||(process.env.PI_CODING_AGENT_DIR=h);try{if((0,f.existsSync)(i)){for(let a of((0,f.existsSync)(h)||(0,f.mkdirSync)(h,{recursive:!0}),["models.json","auth.json","settings.json","fetched-models-cache.json","gem_xy.json","locked-sessions.json"])){let b=(0,e.join)(i,a),c=(0,e.join)(h,a);if((0,f.existsSync)(b)&&function(a){try{if(!(0,f.existsSync)(a))return!0;let b=(0,f.readFileSync)(a,"utf8").trim();if(!b||"{}"===b||'{\n "providers": {}\n}'===b)return!0;let c=JSON.parse(b);if(0===Object.keys(c).length||c.providers&&0===Object.keys(c.providers).length)return!0;return!1}catch{return!0}}(c))try{(0,f.writeFileSync)(c,(0,f.readFileSync)(b)),console.log(`[env-init] Migrated config file ${a} from .pi/agent to .ink/agent`)}catch(b){console.error(`[env-init] Failed to migrate config file ${a}:`,b)}}for(let a of["sessions","skills","bin"]){let b=(0,e.join)(i,a),c=(0,e.join)(h,a);if((0,f.existsSync)(b))try{!function a(b,c){if((0,f.existsSync)(b))for(let d of((0,f.existsSync)(c)||(0,f.mkdirSync)(c,{recursive:!0}),(0,f.readdirSync)(b,{withFileTypes:!0}))){let g=(0,e.join)(b,d.name),h=(0,e.join)(c,d.name);if(d.isDirectory())a(g,h);else try{(0,f.existsSync)(h)||(0,f.writeFileSync)(h,(0,f.readFileSync)(g))}catch(a){console.error(`[env-init] Failed to copy file ${g} to ${h}:`,a)}}}(b,c),console.log(`[env-init] Migrated directory ${a} from .pi/agent to .ink/agent`)}catch(b){console.error(`[env-init] Failed to migrate directory ${a}:`,b)}}let a=(0,e.join)(g,".pi");if((0,f.existsSync)(a))try{let b=a+".bak",c=b,d=1;for(;(0,f.existsSync)(c);)c=`${b}_${d}`,d++;(0,f.renameSync)(a,c),console.log(`[env-init] Renamed old config dir ${a} to ${c}`)}catch(a){console.error("[env-init] Failed to rename old config dir:",a)}}}catch(a){console.error("[env-init] Migration failed:",a)}},78335:()=>{},96487:()=>{},97990:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{IV:()=>q,WZ:()=>r,a6:()=>n}),c(23582);var e=c(79646),f=c(28354),g=c(29021),h=c(33873),i=c(19771),j=c(75430),k=c(98388),l=a([j,k]);[j,k]=l.then?(await l)():l;let s=(0,f.promisify)(e.execFile);try{!function(){if("darwin"!==process.platform)return;let a=new Set;a.add("/usr/local/bin"),a.add("/opt/homebrew/bin"),process.env.PATH&&process.env.PATH.split(":").forEach(b=>a.add(b));try{let b=(0,e.execSync)("zsh -lic 'echo $PATH'",{encoding:"utf8",timeout:2e3}).trim();b&&b.split(":").forEach(b=>a.add(b))}catch(a){}process.env.PATH=Array.from(a).join(":")}()}catch{}function m(){let a=(0,h.dirname)(i.execPath),b=[(0,h.join)(a,"node_modules","npm","bin","npx-cli.js"),(0,h.join)(a,"..","lib","node_modules","npm","bin","npx-cli.js")];if(!(void 0!==process.versions.electron||i.execPath.toLowerCase().includes("electron")||i.execPath.toLowerCase().includes("desktop")))for(let a of b)try{if((0,g.existsSync)(a))return{nodePath:i.execPath,npxCliPath:a}}catch{}let c=(process.env.PATH||"").split(h.delimiter),d="win32"===process.platform?["node.exe","node"]:["node"];for(let a of c)if(a)for(let b of d){let c=(0,h.join)(a,b);try{if((0,g.existsSync)(c)){for(let b of[(0,h.join)(a,"node_modules","npm","bin","npx-cli.js"),(0,h.join)(a,"..","lib","node_modules","npm","bin","npx-cli.js")])if((0,g.existsSync)(b))return{nodePath:c,npxCliPath:b}}}catch{}}if("win32"===process.platform){let a="C:\\Program Files\\nodejs\\node.exe",b="C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npx-cli.js";try{if((0,g.existsSync)(a)&&(0,g.existsSync)(b))return{nodePath:a,npxCliPath:b}}catch{}}return null}async function n(a,b={}){let c=m();if(c)return console.log(`[runNpx] using resolved node: "${c.nodePath}" with npx-cli: "${c.npxCliPath}"`),s(c.nodePath,[c.npxCliPath,...a],{timeout:b.timeout,cwd:b.cwd,env:b.env});let d="win32"===process.platform?"npx.cmd":"npx";return console.log(`[runNpx] falling back to spawning "${d}" directly`),s(d,a,{timeout:b.timeout,cwd:b.cwd,env:b.env,shell:"win32"===process.platform||void 0})}function o(){let a={};try{let b=process.env.PI_CODING_AGENT_DIR||(0,j.getAgentDir)(),c=(0,h.join)(b,"settings.json"),d="",e="";if((0,g.existsSync)(c))try{let a=JSON.parse((0,g.readFileSync)(c,"utf8"));d=a.defaultProvider||"",e=a.defaultModel||""}catch(a){}let f=j.AuthStorage.create(),i=j.ModelRegistry.create(f),l=i.getAll(),m=new Set,n={"minimax-cn":["MINIMAX"],"xiaomi-token-plan-cn":["XIAOMIMIMO"],"xiaomi-token-plan-ams":["XIAOMIMIMO"],"xiaomi-token-plan-sgp":["XIAOMIMIMO"],xiaomi:["XIAOMIMIMO"],"moonshotai-cn":["MOONSHOT"],moonshotai:["MOONSHOT"]};for(let b of l){if(m.has(b.provider))continue;m.add(b.provider);let c=b.provider.toUpperCase().replace(/-/g,"_"),d=f.get(b.provider);for(let e of(d?.key&&(a[`${c}_API_KEY`]=d.key,a.OPENAI_API_KEY||(a.OPENAI_API_KEY=d.key)),b.baseUrl&&(a[`${c}_BASE_URL`]=b.baseUrl,a[`${c}_API_URL`]=b.baseUrl,a.OPENAI_BASE_URL||(a.OPENAI_BASE_URL=b.baseUrl)),n[b.provider]||[]))d?.key&&(a[`${e}_API_KEY`]=d.key),b.baseUrl&&(a[`${e}_BASE_URL`]=b.baseUrl,a[`${e}_API_URL`]=b.baseUrl)}if(d&&e){let b=d;if(d.includes("xiaomi-token-plan")||d.toLowerCase().includes("mimo")){let a=l.find(a=>a.provider.toLowerCase().includes("mimo"))?.provider;a&&(b=a)}let c=(0,k.P6)(i,b,e);if(c){let e=f.get(d)||f.get(b);e?.key&&(a.INKOS_LLM_API_KEY=e.key),c.baseUrl&&(a.INKOS_LLM_BASE_URL=c.baseUrl),a.INKOS_LLM_MODEL=c.id,a.INKOS_LLM_PROVIDER="openai",a.INKOS_LLM_API_FORMAT="chat",a.INKOS_LLM_STREAM="true"}}}catch(a){console.error("[runInkos] Failed to resolve models.json environment:",a)}return a}function p(){for(let a of[process.env.INK_XY_APP_DIR,__dirname,process.cwd()]){if(!a)continue;let b=a;for(;;){let a=(0,h.join)(b,"inkos","packages","cli","dist","index.js");try{if((0,g.existsSync)(a))return a}catch{}let c=(0,h.dirname)(b);if(c===b)break;b=c}}return(0,h.join)(process.cwd(),"inkos","packages","cli","dist","index.js")}async function q(a,b={}){let c=m(),d=c?c.nodePath:"node",e=p(),f=o();return console.log(`[runInkos] invoking local InkOS CLI: "${d} ${e} ${a.join(" ")}"`),s(d,[e,...a],{timeout:b.timeout,cwd:b.cwd??process.cwd(),env:{...process.env,...f,INKOS_NO_STDIN:"true",NODE_NO_WARNINGS:"1",...b.env}})}function r(a,b={}){let c=m(),d=c?c.nodePath:"node",f=p(),g=o();return console.log(`[spawnInkos] spawning local InkOS CLI: "${d} ${f} ${a.join(" ")}"`),(0,e.spawn)(d,[f,...a],{cwd:b.cwd??process.cwd(),env:{...process.env,...g,INKOS_NO_STDIN:"true",NODE_NO_WARNINGS:"1",...b.env},stdio:["ignore","pipe","pipe"]})}d()}catch(a){d(a)}})},98388:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{Lj:()=>k,P6:()=>m,QA:()=>l}),c(23582);var e=c(29021),f=c(33873),g=c(75430),h=c(16510),i=a([g]);function j(){return(0,f.join)((0,g.getAgentDir)(),"fetched-models-cache.json")}g=(i.then?(await i)():i)[0];let n=null;function k(){if(n)return n;let a=j();if((0,e.existsSync)(a))try{return n=JSON.parse((0,e.readFileSync)(a,"utf8"))}catch{}return n={}}function l(a){setTimeout(async()=>{try{let b=k(),c=Date.now(),d=(0,f.join)((0,g.getAgentDir)(),"auth.json");if(!(0,e.existsSync)(d))return;let i=JSON.parse((0,e.readFileSync)(d,"utf8")),l=Object.keys(i),m=!1;for(let d of l){let e=i[d]?.key;if(!e)continue;let f=b[d];if(f&&c-f.updatedAt<36e5)continue;console.log(`[model-resolver] Background syncing models list for provider: "${d}"...`);let g=a.models?.find(a=>a.provider===d),j=g?.baseUrl||"",k=function(a,b){let c=a.toLowerCase();if(c.startsWith("minimax"))return"https://api.minimaxi.com/v1/models";if(c.includes("google")||c.includes("gemini"))return"https://generativelanguage.googleapis.com/v1beta/models";let d=b;return d.endsWith("/anthropic")&&(d=d.replace("/anthropic","/v1")),d.endsWith("/")&&(d=d.slice(0,-1)),d.endsWith("/models")||(d=`${d}/models`),d}(d,j),l={},n=k,o=d.toLowerCase();o.includes("google")||o.includes("gemini")?n=`${k}?key=${e}`:l.Authorization=`Bearer ${e}`;try{let a=await fetch(n,{headers:l,signal:AbortSignal.timeout(6e3)});if(!a.ok){console.error(`[model-resolver] Failed to fetch models for "${d}": HTTP ${a.status}`);continue}let e=await a.json(),f=[];if((f=o.includes("google")||o.includes("gemini")?(e.models||[]).map(a=>{let b=a.name||"";return b.startsWith("models/")?b.replace("models/",""):b}).filter(a=>a.includes("gemini")):(e.data||[]).map(a=>a.id).filter(Boolean)).length>0){let a=f.map(a=>{let b=(0,h.S)(d,a);return{id:a,name:a,provider:d,supportsVision:b}});b[d]={updatedAt:c,models:a},m=!0,console.log(`[model-resolver] Successfully synced ${f.length} models for "${d}".`)}}catch(a){console.error(`[model-resolver] Fetch failed for "${d}":`,a)}}m&&function(a){n=a;try{(0,e.writeFileSync)(j(),JSON.stringify(a,null,2),"utf8")}catch(a){console.error("Failed to save models cache:",a)}}(b)}catch(a){console.error("[model-resolver] Error in triggerBackgroundModelsSync:",a)}},100)}function m(a,b,c){let d=a.find(b,c);if(d)return d;let e=b.toLowerCase(),f=c.toLowerCase();if("minimax-cn"===e&&"MiniMax-M3"===c){let b=a.find("minimax-cn","MiniMax-M2.7")||a.find("minimax-cn","MiniMax-M2.7-highspeed");return b?{...b,id:"MiniMax-M3",name:"MiniMax-M3",api:"openai-completions",baseUrl:b.baseUrl.includes("anthropic")?b.baseUrl.replace("/anthropic","/v1"):"https://api.minimaxi.com/v1",reasoning:!0}:{id:"MiniMax-M3",name:"MiniMax-M3",api:"openai-completions",provider:"minimax-cn",baseUrl:"https://api.minimaxi.com/v1",reasoning:!0,input:["text"],cost:{input:.3,output:1.2,cacheRead:.06,cacheWrite:.375},contextWindow:204800,maxTokens:131072}}let g=(a.models||[]).find(a=>a.provider===b)||("function"==typeof a.getAll?a.getAll().find(a=>a.provider===b):void 0);if(g){let a=(0,h.S)(b,c);return{...g,id:c,name:c,reasoning:f.includes("reasoning")||f.includes("thinking")||f.includes("-r1")||g.reasoning,input:a?["text","image"]:["text"]}}}d()}catch(a){d(a)}})}};
@@ -1 +1 @@
1
- globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/_dVc8qn-Ll1d6faCafbmD/_buildManifest.js","static/_dVc8qn-Ll1d6faCafbmD/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-a98a562c28a00d6f.js","static/chunks/4bd1b696-c2f6e0877b6c10aa.js","static/chunks/3794-fa2c7d47374be211.js","static/chunks/main-app-a115908f58a6cf38.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
1
+ globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/ptzArTNv_XIBLHZDy7I61/_buildManifest.js","static/ptzArTNv_XIBLHZDy7I61/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-a98a562c28a00d6f.js","static/chunks/4bd1b696-c2f6e0877b6c10aa.js","static/chunks/3794-fa2c7d47374be211.js","static/chunks/main-app-a115908f58a6cf38.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="__variable_66b8ca"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/cb335cfd27b5f824.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a98a562c28a00d6f.js"/><script src="/_next/static/chunks/4bd1b696-c2f6e0877b6c10aa.js" async=""></script><script src="/_next/static/chunks/3794-fa2c7d47374be211.js" async=""></script><script src="/_next/static/chunks/main-app-a115908f58a6cf38.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>ink-xY Novel Studio</title><meta name="description" content="Professional Intelligent Collaborative Novel Editor"/><link rel="icon" href="/favicon.ico?8aa486c701a3d218" type="image/x-icon" sizes="512x512"/><script>(function(){try{var t=localStorage.getItem("pi-theme");if(t==="dark")document.documentElement.classList.add("dark")}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body style="height:100dvh;display:flex;flex-direction:column"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a98a562c28a00d6f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7121,[],\"\"]\n3:I[4581,[],\"\"]\n4:I[484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[484,[],\"ViewportBoundary\"]\na:I[484,[],\"MetadataBoundary\"]\nc:I[7123,[],\"default\",1]\n:HL[\"/_next/static/css/cb335cfd27b5f824.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/cb335cfd27b5f824.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_66b8ca\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"pi-theme\\\");if(t===\\\"dark\\\")document.documentElement.classList.add(\\\"dark\\\")}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"style\":{\"height\":\"100dvh\",\"display\":\"flex\",\"flexDirection\":\"column\"},\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"_dVc8qn-Ll1d6faCafbmD\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[6869,[],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"ink-xY Novel Studio\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Professional Intelligent Collaborative Novel Editor\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?8aa486c701a3d218\",\"type\":\"image/x-icon\",\"sizes\":\"512x512\"}],[\"$\",\"$Le\",\"3\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="__variable_66b8ca"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/cb335cfd27b5f824.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a98a562c28a00d6f.js"/><script src="/_next/static/chunks/4bd1b696-c2f6e0877b6c10aa.js" async=""></script><script src="/_next/static/chunks/3794-fa2c7d47374be211.js" async=""></script><script src="/_next/static/chunks/main-app-a115908f58a6cf38.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>ink-xY Novel Studio</title><meta name="description" content="Professional Intelligent Collaborative Novel Editor"/><link rel="icon" href="/favicon.ico?8aa486c701a3d218" type="image/x-icon" sizes="512x512"/><script>(function(){try{var t=localStorage.getItem("pi-theme");if(t==="dark")document.documentElement.classList.add("dark")}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body style="height:100dvh;display:flex;flex-direction:column"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a98a562c28a00d6f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7121,[],\"\"]\n3:I[4581,[],\"\"]\n4:I[484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[484,[],\"ViewportBoundary\"]\na:I[484,[],\"MetadataBoundary\"]\nc:I[7123,[],\"default\",1]\n:HL[\"/_next/static/css/cb335cfd27b5f824.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/cb335cfd27b5f824.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_66b8ca\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"pi-theme\\\");if(t===\\\"dark\\\")document.documentElement.classList.add(\\\"dark\\\")}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"style\":{\"height\":\"100dvh\",\"display\":\"flex\",\"flexDirection\":\"column\"},\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"ptzArTNv_XIBLHZDy7I61\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[6869,[],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"ink-xY Novel Studio\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Professional Intelligent Collaborative Novel Editor\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?8aa486c701a3d218\",\"type\":\"image/x-icon\",\"sizes\":\"512x512\"}],[\"$\",\"$Le\",\"3\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a98a562c28a00d6f.js"/><script src="/_next/static/chunks/4bd1b696-c2f6e0877b6c10aa.js" async=""></script><script src="/_next/static/chunks/3794-fa2c7d47374be211.js" async=""></script><script src="/_next/static/chunks/main-app-a115908f58a6cf38.js" async=""></script><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a98a562c28a00d6f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7121,[],\"\"]\n3:I[4581,[],\"\"]\n4:I[484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[484,[],\"ViewportBoundary\"]\na:I[484,[],\"MetadataBoundary\"]\nc:I[7123,[],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"_dVc8qn-Ll1d6faCafbmD\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a98a562c28a00d6f.js"/><script src="/_next/static/chunks/4bd1b696-c2f6e0877b6c10aa.js" async=""></script><script src="/_next/static/chunks/3794-fa2c7d47374be211.js" async=""></script><script src="/_next/static/chunks/main-app-a115908f58a6cf38.js" async=""></script><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a98a562c28a00d6f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[7121,[],\"\"]\n3:I[4581,[],\"\"]\n4:I[484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[484,[],\"ViewportBoundary\"]\na:I[484,[],\"MetadataBoundary\"]\nc:I[7123,[],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"ptzArTNv_XIBLHZDy7I61\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>