@vxnus/siduri 0.1.11 → 2.0.1

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 (65) hide show
  1. package/README.md +7 -7
  2. package/dist/builtin-manifests.js +42 -51
  3. package/dist/clean-machine-e2e.test.js +25 -101
  4. package/dist/clean-machine-smoke.test.d.ts +1 -0
  5. package/dist/clean-machine-smoke.test.js +166 -0
  6. package/dist/configurators/knowledge.js +134 -46
  7. package/dist/configurators/memory.js +7 -25
  8. package/dist/configurators.test.js +12 -13
  9. package/dist/db.d.ts +0 -12
  10. package/dist/db.js +7 -144
  11. package/dist/discovery.js +5 -7
  12. package/dist/discovery.test.js +5 -4
  13. package/dist/doctor-db.test.js +2 -91
  14. package/dist/doctor.js +53 -41
  15. package/dist/generator.js +91 -15
  16. package/dist/generator.test.js +10 -8
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +37 -32
  19. package/dist/manifest.d.ts +1 -1
  20. package/dist/providers/openrouter.js +1 -1
  21. package/dist/release-check.js +5 -9
  22. package/dist/web-dist/404/index.html +1 -1
  23. package/dist/web-dist/404.html +1 -1
  24. package/dist/web-dist/__next.__PAGE__.txt +12 -12
  25. package/dist/web-dist/__next._full.txt +12 -12
  26. package/dist/web-dist/__next._tree.txt +1 -1
  27. package/dist/web-dist/_next/static/chunks/0jgw-jf26m0ui.js +22 -0
  28. package/dist/web-dist/_next/static/chunks/0tdcnq1-n6kof.js +31 -0
  29. package/dist/web-dist/_next/static/chunks/12vwhiuvdy_i7.js +1 -0
  30. package/dist/web-dist/_next/static/chunks/{2_duynll0m51m.js → 15zsrb5462n_-.js} +2 -2
  31. package/dist/web-dist/_next/static/chunks/2dsfgoa225hpl.js +1 -0
  32. package/dist/web-dist/_next/static/chunks/2mno6yfdoee0x.js +1 -0
  33. package/dist/web-dist/_next/static/chunks/30a48dk5bjyhj.js +1 -0
  34. package/dist/web-dist/_next/static/chunks/360luxuz2x8y_.js +1 -0
  35. package/dist/web-dist/_next/static/chunks/turbopack-2hpygfb68u21h.js +1 -0
  36. package/dist/web-dist/_not-found/__next._full.txt +8 -8
  37. package/dist/web-dist/_not-found/__next._not-found.__PAGE__.txt +7 -7
  38. package/dist/web-dist/_not-found/__next._tree.txt +1 -1
  39. package/dist/web-dist/_not-found/index.html +1 -1
  40. package/dist/web-dist/_not-found/index.txt +8 -8
  41. package/dist/web-dist/chat/__next._full.txt +9 -9
  42. package/dist/web-dist/chat/__next._tree.txt +1 -1
  43. package/dist/web-dist/chat/__next.chat.__PAGE__.txt +8 -8
  44. package/dist/web-dist/chat/index.html +1 -1
  45. package/dist/web-dist/chat/index.txt +9 -9
  46. package/dist/web-dist/index.html +1 -1
  47. package/dist/web-dist/index.txt +12 -12
  48. package/dist/web-dist/operator/__next._full.txt +9 -9
  49. package/dist/web-dist/operator/__next._tree.txt +1 -1
  50. package/dist/web-dist/operator/__next.operator.__PAGE__.txt +8 -8
  51. package/dist/web-dist/operator/index.html +1 -1
  52. package/dist/web-dist/operator/index.txt +9 -9
  53. package/dist/web-template.js +1 -1
  54. package/package.json +10 -12
  55. package/dist/web-dist/_next/static/chunks/09y7khbmco_v4.js +0 -1
  56. package/dist/web-dist/_next/static/chunks/0uwih7sydv413.js +0 -1
  57. package/dist/web-dist/_next/static/chunks/1_yae15ffa5f6.js +0 -1
  58. package/dist/web-dist/_next/static/chunks/2kcqevsmv6kh2.js +0 -31
  59. package/dist/web-dist/_next/static/chunks/2s3d1bfr0l4b0.js +0 -1
  60. package/dist/web-dist/_next/static/chunks/32z87id9k6i2z.js +0 -22
  61. package/dist/web-dist/_next/static/chunks/3bx2gs3idjmo1.js +0 -1
  62. package/dist/web-dist/_next/static/chunks/turbopack-3eipe4c-imn5l.js +0 -1
  63. /package/dist/web-dist/_next/static/{pWHUixFDDvANZeAf-shqT → lQfIAv021hLk8KVAElf2K}/_buildManifest.js +0 -0
  64. /package/dist/web-dist/_next/static/{pWHUixFDDvANZeAf-shqT → lQfIAv021hLk8KVAElf2K}/_clientMiddlewareManifest.js +0 -0
  65. /package/dist/web-dist/_next/static/{pWHUixFDDvANZeAf-shqT → lQfIAv021hLk8KVAElf2K}/_ssgManifest.js +0 -0
@@ -1,18 +1,18 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[81869,["/_next/static/chunks/0uwih7sydv413.js"],"default"]
3
- 3:I[57830,["/_next/static/chunks/0uwih7sydv413.js"],"default"]
4
- 4:I[80951,["/_next/static/chunks/0uwih7sydv413.js","/_next/static/chunks/09y7khbmco_v4.js"],"default"]
5
- 5:I[44101,["/_next/static/chunks/0uwih7sydv413.js"],"OutletBoundary"]
2
+ 2:I[31790,["/_next/static/chunks/30a48dk5bjyhj.js"],"default"]
3
+ 3:I[65729,["/_next/static/chunks/30a48dk5bjyhj.js"],"default"]
4
+ 4:I[80951,["/_next/static/chunks/30a48dk5bjyhj.js","/_next/static/chunks/360luxuz2x8y_.js"],"default"]
5
+ 5:I[34860,["/_next/static/chunks/30a48dk5bjyhj.js"],"OutletBoundary"]
6
6
  6:"$Sreact.suspense"
7
- 9:I[44101,["/_next/static/chunks/0uwih7sydv413.js"],"ViewportBoundary"]
8
- b:I[44101,["/_next/static/chunks/0uwih7sydv413.js"],"MetadataBoundary"]
9
- d:I[4626,["/_next/static/chunks/0uwih7sydv413.js"],"default",1]
7
+ 9:I[34860,["/_next/static/chunks/30a48dk5bjyhj.js"],"ViewportBoundary"]
8
+ b:I[34860,["/_next/static/chunks/30a48dk5bjyhj.js"],"MetadataBoundary"]
9
+ d:I[58484,["/_next/static/chunks/30a48dk5bjyhj.js"],"default",1]
10
10
  :HL["/_next/static/chunks/0xhe1hasjan-9.css","style"]
11
11
  :HL["https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","style"]
12
12
  8:X
13
- 0:{"P":null,"c":["","operator",""],"q":"","i":false,"f":[[["",{"children":["operator",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0xhe1hasjan-9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0uwih7sydv413.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{}],[["$","script","script-0",{"src":"/_next/static/chunks/09y7khbmco_v4.js","async":true,"nonce":"$undefined"}]],["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],null]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0xhe1hasjan-9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"pWHUixFDDvANZeAf-shqT"}
13
+ 0:{"P":null,"c":["","operator",""],"q":"","i":false,"f":[[["",{"children":["operator",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0xhe1hasjan-9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/30a48dk5bjyhj.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full antialiased dark","children":[["$","head",null,{"children":[["$","link",null,{"rel":"preconnect","href":"https://fonts.googleapis.com"}],["$","link",null,{"rel":"preconnect","href":"https://fonts.gstatic.com","crossOrigin":"anonymous"}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"className":"min-h-full flex flex-col bg-[#0b0b0e] text-[#eee8df] selection:bg-[#d99a68]/30 selection:text-[#f4c28d]","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{}],[["$","script","script-0",{"src":"/_next/static/chunks/360luxuz2x8y_.js","async":true,"nonce":"$undefined"}]],["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,"$8"]},null,false,null],["$","$1","h",{"children":[null,["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],null]}],false]],"m":"$undefined","G":["$d",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0xhe1hasjan-9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"lQfIAv021hLk8KVAElf2K"}
14
14
  8:C
15
15
  a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
16
- e:I[89236,["/_next/static/chunks/0uwih7sydv413.js"],"IconMark"]
16
+ e:I[71375,["/_next/static/chunks/30a48dk5bjyhj.js"],"IconMark"]
17
17
  7:null
18
18
  c:[["$","title","0",{"children":"Siduri — Local-First Companion"}],["$","meta","1",{"name":"description","content":"Siduri — a local-first companion with explicit memory, grounded knowledge, and optional presence."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.3rlors1ui1gw9.ico","sizes":"256x256","type":"image/x-icon"}],["$","link","3",{"rel":"icon","href":"/favicon.ico"}],["$","link","4",{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link","5",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$Le","6",{}]]
@@ -367,7 +367,7 @@ function generateWebHtml(instanceName, manifests) {
367
367
  <div class="operator-layout">
368
368
  <div class="card">
369
369
  <div class="card-header">
370
- <div class="card-title">💾 Authoritative Memory Claims (PostgreSQL FTS)</div>
370
+ <div class="card-title">💾 Authoritative Memory Claims (SQLite FTS5)</div>
371
371
  <input type="text" class="search-input" placeholder="⌕ Filter claims..." oninput="filterClaims(this.value)" />
372
372
  </div>
373
373
  <table id="claims-table">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxnus/siduri",
3
- "version": "0.1.11",
3
+ "version": "2.0.1",
4
4
  "description": "Experimental CLI for installing and configuring Siduri companions",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -17,26 +17,24 @@
17
17
  "LICENSE"
18
18
  ],
19
19
  "engines": {
20
- "node": ">=20"
20
+ "node": ">=22.16.0"
21
21
  },
22
22
  "bin": {
23
23
  "siduri": "./dist/index.js"
24
24
  },
25
25
  "main": "dist/index.js",
26
26
  "dependencies": {
27
- "@vxnus/e": "^0.1.4",
28
- "@vxnus/e-knowledge": "^0.1.4",
29
- "inquirer": "^9.2.12",
30
- "pg": "^8.23.0"
27
+ "@vxnus/e": "^0.1.5",
28
+ "@vxnus/e-knowledge": "^0.1.5",
29
+ "inquirer": "^9.3.8"
31
30
  },
32
31
  "devDependencies": {
33
- "@types/inquirer": "^9.0.7",
34
- "@types/jest": "^29.5.14",
35
- "@types/node": "^20.19.43",
36
- "@types/pg": "^8.21.0",
37
- "jest": "^29.7.0",
32
+ "@types/jest": "^30.0.0",
33
+ "@types/node": "^22.20.2",
34
+ "jest": "^30.5.1",
38
35
  "ts-jest": "^29.4.12",
39
- "typescript": "^5.3.3"
36
+ "typescript": "^5.9.3",
37
+ "@types/inquirer": "^9.0.10"
40
38
  },
41
39
  "scripts": {
42
40
  "build": "tsc && node ./scripts/copy-web-dist.cjs",
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80951,e=>{"use strict";var s=e.i(7863),t=e.i(61507);function a({title:e,detail:t}){return(0,s.jsxs)("div",{className:"empty-state",children:[(0,s.jsx)("span",{children:"◌"}),(0,s.jsx)("strong",{children:e}),(0,s.jsx)("p",{children:t})]})}var n=e.i(94108),i=e.i(51523);function r(e){return e.length>19?`${e.slice(0,9)}…${e.slice(-7)}`:e}function l(e){if(!e)return"—";let s=new Date(e);return Number.isNaN(s.valueOf())?e:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(s)}function o({status:e}){return(0,s.jsxs)("article",{className:"status-card",children:[(0,s.jsxs)("div",{className:"status-card-top",children:[(0,s.jsx)("span",{children:e.label}),(0,s.jsx)("i",{className:`status-dot ${e.tone??"warn"}`})]}),(0,s.jsx)("strong",{children:e.value}),(0,s.jsx)("small",{children:e.detail??"—"})]})}function c({title:e,action:t,onClick:a}){return(0,s.jsxs)("div",{className:"panel-header",children:[(0,s.jsx)("h2",{children:e}),t&&(0,s.jsxs)("button",{onClick:a,children:[t," →"]})]})}function d({label:e,count:t,tone:a}){return(0,s.jsxs)("div",{className:"queue-row",children:[(0,s.jsx)("span",{children:e}),(0,s.jsx)("b",{className:`queue-count ${a}`,children:t})]})}function h({proposals:e,claims:t,items:o,directives:c,onAction:d,onRefresh:p}){async function u(e,s){await (0,n.postJson)(e,{id:s,companionId:"default"}),await p()}return(0,s.jsxs)("div",{className:"console-view",children:[(0,s.jsxs)("div",{className:"view-intro",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"console-eyebrow",children:"COMPANION MEMORY"}),(0,s.jsx)("h2",{children:"Review candidates before they become facts."}),(0,s.jsx)("p",{children:"Every candidate stays isolated until you explicitly approve it."})]}),(0,s.jsxs)("span",{className:"count-badge",children:[e.length," pending"]})]}),(0,s.jsxs)("section",{className:"console-panel table-panel",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Pending memory"}),(0,s.jsx)("span",{children:"Local approval queue"})]}),e.length?(0,s.jsx)("div",{className:"data-table-wrap",children:(0,s.jsxs)("table",{className:"data-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Candidate"}),(0,s.jsx)("th",{children:"Provenance"}),(0,s.jsx)("th",{children:"Sensitivity"}),(0,s.jsx)("th",{children:"Action"})]})}),(0,s.jsx)("tbody",{children:e.map(e=>(0,s.jsx)(m,{item:e,onAction:d},e.proposal_id))})]})}):(0,s.jsx)(a,{title:"No pending candidates",detail:"Siduri memory suggestions will appear here for review."})]}),(0,s.jsxs)("section",{className:"console-panel table-panel",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Behavioral Directives"}),(0,s.jsx)("span",{children:"Active behaviors and learned relationships"})]}),c.length?(0,s.jsx)("div",{className:"data-table-wrap",children:(0,s.jsxs)("table",{className:"data-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Directive"}),(0,s.jsx)("th",{children:"Scope & Activation"}),(0,s.jsx)("th",{children:"Class"}),(0,s.jsx)("th",{children:"Status"}),(0,s.jsx)("th",{children:"Actions"})]})}),(0,s.jsx)("tbody",{children:c.map(e=>(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{children:[(0,s.jsx)("strong",{children:(0,i.formatRuntimeEffect)(e)}),(0,s.jsxs)("details",{className:"row-details",children:[(0,s.jsx)("summary",{children:r(e.directive_id)}),(0,s.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:"tag",children:e.activation})}),(0,s.jsx)("td",{children:(0,s.jsxs)("span",{className:"tag",children:[e.domain," / ",e.memory_class]})}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:`tag status-${e.status}`,children:e.status})}),(0,s.jsx)("td",{children:(0,s.jsxs)("div",{className:"table-actions",children:["pending"===e.status&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{className:"tiny-button approve-button",onClick:()=>void u("/memory/behavioral/approve",e.directive_id),children:"Approve"}),(0,s.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void u("/memory/behavioral/reject",e.directive_id),children:"Reject"})]}),"confirmed"===e.status&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void u("/memory/behavioral/revoke",e.directive_id),children:"Revoke"}),"disabled"!==e.activation&&(0,s.jsx)("button",{className:"tiny-button",onClick:()=>void u("/memory/behavioral/disable",e.directive_id),children:"Disable"})]})]})})]},e.directive_id))})]})}):(0,s.jsx)(a,{title:"No behavioral directives",detail:"Behavioral rules taught in private chat will appear here."})]}),(0,s.jsxs)("section",{className:"console-panel table-panel",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Structured Claims"}),(0,s.jsx)("span",{children:"Queryable personal and game knowledge"})]}),t.length?(0,s.jsx)("div",{className:"data-table-wrap",children:(0,s.jsxs)("table",{className:"data-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Subject"}),(0,s.jsx)("th",{children:"Predicate"}),(0,s.jsx)("th",{children:"Value"}),(0,s.jsx)("th",{children:"Status"})]})}),(0,s.jsx)("tbody",{children:t.slice().reverse().map(e=>(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{children:[(0,s.jsx)("strong",{children:e.subject}),(0,s.jsxs)("details",{className:"row-details",children:[(0,s.jsx)("summary",{children:r(e.claim_id)}),(0,s.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:"tag",children:e.predicate})}),(0,s.jsx)("td",{children:e.value}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:`tag status-${e.status}`,children:e.status})})]},e.claim_id))})]})}):(0,s.jsx)(a,{title:"No structured claims",detail:"Approved teachings will become queryable claims here."})]}),(0,s.jsxs)("section",{className:"console-panel table-panel",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Compatibility Memory Items"}),(0,s.jsx)("span",{children:"Legacy text projection"})]}),o.length?(0,s.jsx)("div",{className:"data-table-wrap",children:(0,s.jsxs)("table",{className:"data-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Fact"}),(0,s.jsx)("th",{children:"Provenance"}),(0,s.jsx)("th",{children:"Sensitivity"}),(0,s.jsx)("th",{children:"Created"})]})}),(0,s.jsx)("tbody",{children:o.slice().reverse().map(e=>(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{children:[(0,s.jsx)("strong",{children:e.content}),(0,s.jsxs)("details",{className:"row-details",children:[(0,s.jsx)("summary",{children:r(e.memory_id)}),(0,s.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:"tag",children:e.provenance})}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:"tag",children:e.sensitivity})}),(0,s.jsx)("td",{children:l(e.created_at)})]},e.memory_id))})]})}):(0,s.jsx)(a,{title:"No compatibility items",detail:"Legacy approved memory text will appear here."})]})]})}function m({item:e,onAction:a}){let[n,l]=(0,t.useState)(e.content);return(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{children:[(0,s.jsx)("strong",{children:(0,i.formatClaimReceipt)(e)}),(0,s.jsxs)("details",{className:"row-details",children:[(0,s.jsxs)("summary",{children:["Edit raw record · ",r(e.proposal_id)]}),(0,s.jsx)("textarea",{className:"table-editor",value:n,onChange:e=>l(e.target.value),"aria-label":`Memory candidate ${e.proposal_id}`}),(0,s.jsx)("pre",{children:JSON.stringify(e,null,2)})]})]}),(0,s.jsx)("td",{children:e.provenance}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:"tag",children:e.sensitivity})}),(0,s.jsx)("td",{children:(0,s.jsxs)("div",{className:"table-actions",children:[(0,s.jsx)("button",{className:"tiny-button",onClick:()=>void a("/memory/proposals/update",e,n),children:"Save"}),(0,s.jsx)("button",{className:"tiny-button approve-button",onClick:()=>void a("/memory/proposals/approve",e),children:"Approve"}),(0,s.jsx)("button",{className:"tiny-button danger-button",onClick:()=>void a("/memory/proposals/reject",e),children:"Reject"})]})})]})}function p({results:e,observations:t,onCreate:n,onRefresh:i}){return(0,s.jsxs)("div",{className:"console-view",children:[(0,s.jsxs)("div",{className:"view-intro",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"console-eyebrow",children:"GROUNDING"}),(0,s.jsx)("h2",{children:"Evidence, with uncertainty intact."}),(0,s.jsx)("p",{children:"Inspect bounded citations and short-lived observations without exposing raw captures."})]}),(0,s.jsxs)("div",{className:"button-row",children:[(0,s.jsx)("button",{onClick:()=>void n(),children:"Create fixture"}),(0,s.jsx)("button",{className:"soft-button",onClick:()=>void i(),children:"Refresh"})]})]}),(0,s.jsxs)("section",{className:"console-panel table-panel",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Knowledge Base Citations"}),(0,s.jsxs)("span",{children:[e.length," results"]})]}),e.length?(0,s.jsx)("div",{className:"data-table-wrap",children:(0,s.jsxs)("table",{className:"data-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Source"}),(0,s.jsx)("th",{children:"Revision"}),(0,s.jsx)("th",{children:"Preview"}),(0,s.jsx)("th",{children:"Link"})]})}),(0,s.jsx)("tbody",{children:e.map(e=>(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{children:[(0,s.jsx)("strong",{children:e.title}),(0,s.jsx)("small",{children:e.endpoint})]}),(0,s.jsx)("td",{children:e.revision||"—"}),(0,s.jsx)("td",{children:(0,s.jsx)("span",{className:"tag",children:e.preview?"Preview":"Published"})}),(0,s.jsx)("td",{children:(0,s.jsx)("a",{className:"table-link",href:e.url,target:"_blank",rel:"noreferrer",children:"Open ↗"})})]},e.url))})]})}):(0,s.jsx)(a,{title:"No evidence loaded",detail:"Create a fixture observation or refresh the source."})]}),(0,s.jsxs)("section",{className:"console-panel table-panel",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Current observations"}),(0,s.jsx)("span",{children:"Raw frames are never shown here"})]}),t.length?(0,s.jsx)("div",{className:"data-table-wrap",children:(0,s.jsxs)("table",{className:"data-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Observation"}),(0,s.jsx)("th",{children:"Captured"}),(0,s.jsx)("th",{children:"Expires"}),(0,s.jsx)("th",{children:"Readings"})]})}),(0,s.jsx)("tbody",{children:t.map((e,t)=>(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:r(e.observation_id??"observation")}),(0,s.jsx)("td",{children:l(e.observed_at)}),(0,s.jsx)("td",{children:l(e.expires_at)}),(0,s.jsx)("td",{children:Array.isArray(e.readings)?e.readings.length:0})]},e.observation_id??t))})]})}):(0,s.jsx)(a,{title:"No active observations",detail:"Observations are bounded and expire automatically."})]})]})}function u({health:e,voice:t,obs:a,proposals:n,responseJson:i,pendingCorrelationId:r,busy:l,onTrigger:h,onObserve:m,onApprove:p,onNavigate:x}){return(0,s.jsxs)("div",{className:"console-view",children:[(0,s.jsxs)("div",{className:"status-grid",children:[(0,s.jsx)(o,{status:e}),(0,s.jsx)(o,{status:t}),(0,s.jsx)(o,{status:a})]}),(0,s.jsxs)("div",{className:"console-columns",children:[(0,s.jsxs)("section",{className:"console-panel approval-panel",children:[(0,s.jsx)(c,{title:"Response gate",action:"Review policy",onClick:()=>x("settings")}),(0,s.jsxs)("div",{className:"gate-row",children:[(0,s.jsx)("span",{className:`gate-icon ${r?"pending":"ready"}`,children:r?"!":"✓"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("strong",{children:r?"Grounded response awaiting approval":"No response awaiting approval"}),(0,s.jsx)("p",{children:r?"Public output is held until you approve it.":"Local mock responses remain private."})]})]}),(0,s.jsxs)("div",{className:"button-row",children:[(0,s.jsx)("button",{onClick:()=>void h(),disabled:l,children:"Trigger mock response"}),(0,s.jsx)("button",{className:"soft-button",onClick:()=>void m(),disabled:l,children:"Observe and respond"}),r&&(0,s.jsx)("button",{className:"approve-button",onClick:()=>void p(),children:"Approve response"})]}),null!==i&&(0,s.jsxs)("details",{className:"technical-details",children:[(0,s.jsx)("summary",{children:"Technical details"}),(0,s.jsx)("pre",{children:JSON.stringify(i,null,2)})]})]}),(0,s.jsxs)("section",{className:"console-panel queue-panel",children:[(0,s.jsx)(c,{title:"Needs attention",action:"View memory",onClick:()=>x("memory")}),(0,s.jsx)(d,{label:"Memory proposals",count:n.length,tone:n.length?"warn":"quiet"})]})]}),(0,s.jsxs)("section",{className:"console-panel quick-panel",children:[(0,s.jsx)(c,{title:"Quick actions"}),(0,s.jsxs)("div",{className:"quick-actions",children:[(0,s.jsxs)("button",{onClick:()=>x("memory"),children:["Review memory ",(0,s.jsx)("span",{children:"→"})]}),(0,s.jsxs)("button",{onClick:()=>x("evidence"),children:["Inspect evidence ",(0,s.jsx)("span",{children:"→"})]}),(0,s.jsxs)("button",{onClick:()=>x("settings"),children:["Identity & Directives ",(0,s.jsx)("span",{children:"→"})]})]})]})]})}function x({onResetMemory:e,disabled:t}){return(0,s.jsxs)("div",{className:"console-view",children:[(0,s.jsx)("div",{className:"view-intro",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"console-eyebrow",children:"RUNTIME IDENTITY"}),(0,s.jsx)("h2",{children:"Companion Identity & Directives"}),(0,s.jsx)("p",{children:"Identity and behavioral preferences are governed dynamically through conversational teaching and reviewed in the Memory tab."})]})}),(0,s.jsxs)("section",{className:"console-panel profile-panel",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Identity Directives"}),(0,s.jsx)("span",{children:"Governed Memory Model"})]}),(0,s.jsx)(a,{title:"Dynamic identity active",detail:"Siduri establishes preferences and boundaries dynamically through conversation. Use the Private Chat to teach preferences, and the Memory tab to approve or revoke directives."})]}),(0,s.jsxs)("section",{className:"console-panel profile-panel mt-6",children:[(0,s.jsxs)("div",{className:"table-toolbar",children:[(0,s.jsx)("strong",{children:"Danger Zone"}),(0,s.jsx)("span",{children:"Irreversible actions"})]}),(0,s.jsxs)("div",{className:"p-6 bg-red-900/20 border border-red-500/20 rounded-lg",children:[(0,s.jsx)("h3",{className:"text-red-400 font-medium mb-2",children:"Reset All Memory"}),(0,s.jsx)("p",{className:"text-sm text-gray-400 mb-4",children:"This will permanently delete all memory items, proposals, revisions, and claims from the database. The companion will forget all approved claims, directives, and proposals."}),(0,s.jsx)("button",{className:"bg-red-500/10 text-red-400 border border-red-500/50 hover:bg-red-500/20 px-4 py-2 rounded-md font-medium transition-colors",onClick:()=>void e(),disabled:t,children:"Reset Memory"})]})]})]})}e.s(["default",0,function(){let[e,a]=(0,t.useState)("overview"),[i,r]=(0,t.useState)({label:"Orchestrator",value:"Checking",tone:"warn"}),[l,o]=(0,t.useState)({label:"Voice",value:"Checking",tone:"warn"}),[c,d]=(0,t.useState)({label:"OBS capture",value:"Checking",tone:"warn"}),[m,j]=(0,t.useState)(""),[v,b]=(0,t.useState)([]),[y,g]=(0,t.useState)([]),[N,f]=(0,t.useState)([]),[w,S]=(0,t.useState)([]),[C,k]=(0,t.useState)([]),[_,$]=(0,t.useState)([]),[O,R]=(0,t.useState)("{}"),[J,T]=(0,t.useState)(""),[I,A]=(0,t.useState)(null),[P,E]=(0,t.useState)(null),[U,D]=(0,t.useState)(!1);async function M(){try{let[e,s,t]=await Promise.all([(0,n.getJson)("/health"),(0,n.getJson)("/version"),(0,n.getJson)("/ready")]);r({label:"Orchestrator",value:"ok"===e.status?"Online":e.status,detail:`v${s.version}`,tone:"ok"===e.status?"good":"warn"}),j(s.version),t.dependencies?.model_provider?.ready===!1&&r(e=>({...e,detail:"Model provider degraded",tone:"warn"}))}catch{r({label:"Orchestrator",value:"Offline",detail:"Start the Python API",tone:"bad"})}try{let e=await (0,n.getJson)("/voice/health");o({label:"Voice",value:e.healthy?"Ready":"Fallback",detail:e.provider,tone:e.healthy?"good":"warn"})}catch{o({label:"Voice",value:"Unavailable",detail:"Subtitle fallback",tone:"warn"})}try{let e=await (0,n.getJson)("/obs/health");d({label:"OBS capture",value:e.connected?"Connected":e.configured?"Disconnected":"Disabled",detail:e.source_name?`Source: ${e.source_name}`:"No source configured",tone:e.connected?"good":"warn"})}catch{d({label:"OBS capture",value:"Unavailable",tone:"bad"})}}async function L(){try{let[e,s,t,a]=await Promise.all([(0,n.getJson)("/memory/proposals"),(0,n.getJson)("/memory"),(0,n.getJson)("/memory/claims"),(0,n.getJson)("/memory/behavioral")]);b((e.proposals??[]).filter(e=>"pending"===e.status)),f(s.items??[]),g(t.claims??[]),S(a.directives??[])}catch{b([]),f([]),g([]),S([])}}async function B(){try{let[e,s]=await Promise.all([(0,n.getJson)("/evidence"),(0,n.getJson)("/observations")]);k(e.results??[]),$(s.observations??[])}catch{k([]),$([])}}async function q(){try{R(JSON.stringify(await (0,n.getJson)("/me"),null,2))}catch{R("Unable to load profile.")}}async function W(){D(!0);try{A(await (0,n.postJson)("/dev/mock-response"))}finally{D(!1)}}async function F(){D(!0);try{let e=await (0,n.postJson)("/dev/observe-and-respond");A(e);let s="string"==typeof e?.metadata?.correlation_id?e.metadata.correlation_id:null;E(s)}finally{D(!1)}}async function V(){if(P){D(!0);try{A(await (0,n.postJson)("/dev/approve-response",{correlation_id:P})),E(null)}finally{D(!1)}}}async function G(e,s,t){await (0,n.postAction)(e,{id:s.proposal_id,companionId:"default",...void 0===t?{}:{content:t}}),await L()}async function K(){await (0,n.postAction)("/dev/mock-observation"),await B()}async function Q(){if(window.confirm("Are you sure you want to completely reset all memory? This action cannot be undone.")){D(!0);try{await (0,n.postJson)("/dev/memory/reset"),await L(),T("Memory has been completely reset.")}catch(e){T(String(e))}finally{D(!1)}}}return(0,t.useEffect)(()=>{M(),L(),B(),q()},[]),(0,s.jsxs)("main",{className:"console-app",children:[(0,s.jsxs)("aside",{className:"console-sidebar",children:[(0,s.jsxs)("a",{className:"console-brand",href:"/chat",children:[(0,s.jsx)("span",{className:"console-brand-mark",children:"S"}),(0,s.jsx)("span",{children:"SIDURI"})]}),(0,s.jsxs)("div",{className:"console-context",children:[(0,s.jsx)("span",{className:"console-context-dot"}),"Operator workspace"]}),(0,s.jsx)("nav",{className:"console-nav","aria-label":"Console sections",children:["overview","memory","evidence","settings"].map(t=>(0,s.jsxs)("button",{className:e===t?"active":"",onClick:()=>a(t),children:[(0,s.jsx)("span",{className:`nav-glyph nav-${t}`}),t[0].toUpperCase()+t.slice(1)]},t))}),(0,s.jsxs)("div",{className:"console-sidebar-bottom",children:[(0,s.jsx)("a",{href:"/chat",children:"← Private chat"}),(0,s.jsx)("span",{children:"Local operator surface"})]})]}),(0,s.jsxs)("section",{className:"console-main",children:[(0,s.jsxs)("header",{className:"console-topbar",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"console-eyebrow",children:"SIDURI / OPERATOR"}),(0,s.jsx)("h1",{children:"overview"===e?"Control room":e[0].toUpperCase()+e.slice(1)})]}),(0,s.jsxs)("div",{className:"console-top-actions",children:[(0,s.jsxs)("span",{className:"console-version",children:["v",m||"—"]}),(0,s.jsx)("button",{className:"console-refresh",onClick:()=>{M(),L(),B()},"aria-label":"Refresh dashboard",children:"↻"})]})]}),J&&(0,s.jsx)("div",{className:"console-notice",children:J}),"overview"===e&&(0,s.jsx)(u,{health:i,voice:l,obs:c,proposals:v,responseJson:I,pendingCorrelationId:P,busy:U,onTrigger:W,onObserve:F,onApprove:V,onNavigate:a}),"memory"===e&&(0,s.jsx)(h,{proposals:v,claims:y,items:N,directives:w,onAction:G,onRefresh:L}),"evidence"===e&&(0,s.jsx)(p,{results:C,observations:_,onCreate:K,onRefresh:B}),"settings"===e&&(0,s.jsx)(x,{onResetMemory:Q,disabled:U})]})]})}],80951)},94108,e=>{"use strict";var s=e.i(72619);let t=s.default.env.NEXT_PUBLIC_API_URL||"";async function a(e,s){return fetch(`${t}${e}`,s)}async function n(e,s){let t=await a(e,s);if(!t.ok)throw Error(`${e} returned ${t.status}`);return t.json()}async function i(e,s){let t=await a(e,{method:"POST",headers:s?{"Content-Type":"application/json"}:void 0,body:s?"string"==typeof s?s:JSON.stringify(s):void 0});if(!t.ok)throw Error(await t.text().catch(()=>t.statusText));return t.json().catch(()=>({}))}async function r(e,s){let t=await a(e,{method:"POST",headers:s?{"Content-Type":"application/json"}:void 0,body:s?"string"==typeof s?s:JSON.stringify(s):void 0});if(!t.ok)throw Error(await t.text().catch(()=>t.statusText))}async function l(e,s,t,n){let i=await a(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s),signal:n});if(!i.ok)throw Error(await i.text().catch(()=>i.statusText)||`HTTP ${i.status}`);if(!i.body)throw Error("ReadableStream not supported in response");let r=i.body.getReader(),l=new TextDecoder,o="";try{for(;;){let{done:e,value:s}=await r.read();if(e)break;let a=(o+=l.decode(s,{stream:!0})).split("\n");o=a.pop()||"";let n="message";for(let e of a){let s=e.trim();if(s){if(s.startsWith("event:"))n=s.slice(6).trim();else if(s.startsWith("data:")){let e=s.slice(5).trim();try{let s=JSON.parse(e);switch(n){case"staged":t.onStaged?.(s);break;case"chunk":t.onChunk?.(s);break;case"avatar":t.onAvatar?.(s);break;case"done":t.onDone?.(s);break;case"interrupted":t.onInterrupted?.(s);break;case"error":t.onError?.(Error(s.error||"Stream error"))}}catch{}}}}}}catch(e){if(n?.aborted)t.onInterrupted?.({reason:n.reason});else throw t.onError?.(e),e}finally{r.releaseLock()}}async function o(e="default",s="user_barge_in"){await i("/chat/interrupt",{companionId:e,reason:s}).catch(()=>{})}s.default.env.NEXT_PUBLIC_WS_URL||(window.location.protocol,window.location.host),e.s(["fetchApi",0,a,"getJson",0,n,"interruptChat",0,o,"postAction",0,r,"postJson",0,i,"postStream",0,l])},51523,e=>{"use strict";let s=new Set(["siduri","self","companion"]),t=new Set(["user","actor","owner","primary_user"]);function a(e){return e.replace(/[._]+/g," ").replace(/\s+/g," ").trim()}function n(e){let s=e.trim();return s&&!/[.!?]$/.test(s)?`${s}.`:s}function i(e){let i=e.subject?.trim()??"",r=i.toLowerCase(),l=e.predicate?.trim()??"",o=l.toLowerCase(),c=e.value?.trim()??"";if(!i||!l||!c)return n(e.content??c);if(s.has(r))return"name"===o?n(`Companion name is ${c}`):n(`Companion ${a(l)} is ${c}`);if(t.has(r))return"name"===o?n(`User name is ${c}`):"preferred_address"===o?n(`User preferred address is ${c}`):"relationship_to_siduri"===o||"relationship"===o?n(`User relationship configured as ${c}`):n(`User ${a(l)} is ${c}`);if(r.startsWith("primary_user.")||r.startsWith("user.")){let e=r.startsWith("primary_user.")?"primary_user.":"user.",s=a(i.slice(e.length)),t="uid"===o||"id"===o?"ID":a(l);return n(`User ${s} ${t} is ${c}`)}let d=a(i);return n(`${/s$/i.test(d)?`${d}'`:`${d}'s`} ${a(l)} is ${c}`)}e.s(["formatClaimReceipt",0,i,"formatRuntimeEffect",0,function(e){let r=e.subject?.trim().toLowerCase()??"",l=e.predicate?.trim().toLowerCase()??"",o=e.value?.trim()??"",c=e.behavior?.instruction?.trim()??"";return"behavioral"===e.memory_class&&c?n(c):s.has(r)&&"name"===l?n(`Set companion identity/name to ${o}`):s.has(r)?n(`Set companion ${a(l)} to ${o}`):t.has(r)&&("relationship_to_siduri"===l||"relationship"===l)?n(`Set user relationship to ${o}`):t.has(r)&&"name"===l?n(`Set user name to ${o}`):i(e)}])}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10183,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useRouterBFCache",{enumerable:!0,get:function(){return l}});let n=e.r(61507);function l(e,t,r){let[l,u]=(0,n.useState)(()=>({tree:e,cacheNode:t,stateKey:r,next:null}));if(l.tree===e)return l;let a={tree:e,cacheNode:t,stateKey:r,next:null},o=1,d=l,s=a;for(;null!==d&&o<1;){if(d.stateKey===r){s.next=d.next;break}{o++;let e={tree:d.tree,cacheNode:d.cacheNode,stateKey:d.stateKey,next:null};s.next=e,s=e}d=d.next}return u(a),a}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},38252,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientPageRoot",{enumerable:!0,get:function(){return s}});let n=e.r(7863),l=e.r(70916),u=e.r(61507),a=e.r(71244),o=e.r(23881),d=e.r(41997);function s({Component:e,serverProvidedParams:t}){let r,i;if(null!==t)r=t.searchParams,i=t.params;else{let e=(0,u.use)(l.LayoutRouterContext);i=null!==e?e.parentParams:{},r=(0,a.urlSearchParamsToParsedUrlQuery)((0,u.use)(o.SearchParamsContext))}let c=(0,d.createClientSearchParams)(r),f=(0,d.createClientParams)(i);return(0,n.jsx)(e,{params:f,searchParams:c})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32238,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientSegmentRoot",{enumerable:!0,get:function(){return o}});let n=e.r(7863),l=e.r(70916),u=e.r(61507),a=e.r(41997);function o({Component:e,slots:t,serverProvidedParams:r}){let d;if(null!==r)d=r.params;else{let e=(0,u.use)(l.LayoutRouterContext);d=null!==e?e.parentParams:{}}let s=(0,a.createClientParams)(d);return(0,n.jsx)(e,{...t,params:s})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},53387,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return i}});let n=e.r(56421),l=e.r(7863),u=n._(e.r(61507)),a=e.r(49532),o=e.r(56371),d=e.r(70916);class s extends u.default.Component{constructor(e){super(e),this.state={triggeredStatus:void 0,previousPathname:e.pathname}}componentDidCatch(){}static getDerivedStateFromError(e){if((0,o.isHTTPAccessFallbackError)(e))return{triggeredStatus:(0,o.getAccessFallbackHTTPStatus)(e)};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.triggeredStatus?{triggeredStatus:void 0,previousPathname:e.pathname}:{triggeredStatus:t.triggeredStatus,previousPathname:e.pathname}}render(){let{notFound:e,forbidden:t,unauthorized:r,children:n}=this.props,{triggeredStatus:u}=this.state,a={[o.HTTPAccessErrorStatus.NOT_FOUND]:e,[o.HTTPAccessErrorStatus.FORBIDDEN]:t,[o.HTTPAccessErrorStatus.UNAUTHORIZED]:r};if(u){let d=u===o.HTTPAccessErrorStatus.NOT_FOUND&&e,s=u===o.HTTPAccessErrorStatus.FORBIDDEN&&t,i=u===o.HTTPAccessErrorStatus.UNAUTHORIZED&&r;return d||s||i?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("meta",{name:"robots",content:"noindex"}),!1,a[u]]}):n}return n}}function i({notFound:e,forbidden:t,unauthorized:r,children:n}){let o=(0,a.useUntrackedPathname)(),c=(0,u.useContext)(d.MissingSlotContext);return e||t||r?(0,l.jsx)(s,{pathname:o,notFound:e,forbidden:t,unauthorized:r,missingSlots:c,children:n}):(0,l.jsx)(l.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},52762,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={InstantValidationBoundaryContext:function(){return u},PlaceValidationBoundaryBelowThisLevel:function(){return a},RenderValidationBoundaryAtThisLevel:function(){return o},SlotMarker:function(){return d}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let u=null,a=null,o=null,d=null;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},12089,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={InstantValidationBoundaryContext:function(){return u.InstantValidationBoundaryContext},PlaceValidationBoundaryBelowThisLevel:function(){return u.PlaceValidationBoundaryBelowThisLevel},RenderValidationBoundaryAtThisLevel:function(){return u.RenderValidationBoundaryAtThisLevel},SlotMarker:function(){return u.SlotMarker}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let u=e.r(52762);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},81869,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={LoadingBoundaryProvider:function(){return C},default:function(){return T}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let u=e.r(36437),a=e.r(56421),o=e.r(7863),d=a._(e.r(61507)),s=u._(e.r(4659)),i=e.r(70916),c=e.r(20487),f=e.r(88328),p=e.r(47345),y=e.r(56676),m=e.r(53387);e.r(12089);let b=e.r(37510),_=e.r(10183);e.r(95470);let h=e.r(23881),P=e.r(71244),v=e.r(23151);s.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(e,t,r){let n=e.getClientRects();if(0===n.length)return 0;let l=1/0;for(let e=0;e<n.length;e++){let t=n[e];t.top<l&&(l=t.top)}return l>=r()&&l<=t?1:2}d.default.Component;let j=function(e){let t=d.default.useRef(null);return(0,d.useLayoutEffect)(()=>{let{focusAndScrollRef:r,cacheNode:n}=e,l=r.forceScroll?r.scrollRef:n.scrollRef;if(null===l||!l.current)return;let u=null,a=r.hashFragment;if(a){var o;if(null===(u="top"===(o=a)?document.body:document.getElementById(o)??document.getElementsByName(o)[0]??null)){l.current=!1,r.onlyHashChange=!1,r.hashFragment=null;return}}else u=t.current;if(null===u)return;let d=!1;(0,p.disableSmoothScrollDuringRouteTransition)(()=>{let e=document.documentElement,t=null,r=null,n=null,o=()=>{var r,l;let u,a;return null===n&&(r=e,l=t,n=!Number.isFinite(a=Number.parseFloat(u=getComputedStyle(r).scrollPaddingTop))||a<0?0:u.endsWith("px")?a:u.endsWith("%")?a/100*l:0),n};(a||(t=e.clientHeight,0!==(r=g(u,t,o))))&&((d=!0,l.current=!1,a)?u.scrollIntoView():1!==r&&(e.scrollTop=0,2===g(u,t,o)&&u.scrollIntoView()))},{dontForceLayout:!0,onlyHashChange:r.onlyHashChange}),d&&(r.onlyHashChange=!1,r.hashFragment=null)},void 0),(0,o.jsx)(d.Fragment,{ref:t,children:e.children})};function O({children:e,cacheNode:t}){let r=(0,d.useContext)(i.GlobalLayoutRouterContext);if(!r)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,o.jsx)(j,{focusAndScrollRef:r.focusAndScrollRef,cacheNode:t,children:e})}function x({tree:e,segmentPath:t,debugNameContext:r,cacheNode:n,params:l,url:u,isActive:a}){let s,f=(0,d.useContext)(i.GlobalLayoutRouterContext);if((0,d.useContext)(h.NavigationPromisesContext),!f)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let p=null!==n?n:(0,d.use)(c.unresolvedThenable),y=null!==p.prefetchRsc?p.prefetchRsc:p.rsc,m=(0,d.useDeferredValue)(p.rsc,y);if((0,v.isDeferredRsc)(m)){let e=(0,d.use)(m);null===e&&(0,d.use)(c.unresolvedThenable),s=e}else null===m&&(0,d.use)(c.unresolvedThenable),s=m;let b=s;return(0,o.jsx)(i.LayoutRouterContext.Provider,{value:{parentTree:e,parentCacheNode:p,parentSegmentPath:t,parentParams:l,parentLoadingData:null,debugNameContext:r,url:u,isActive:a},children:b})}function C({loading:e,children:t}){let r=(0,d.use)(i.LayoutRouterContext);return null===r?t:(0,o.jsx)(i.LayoutRouterContext.Provider,{value:{parentTree:r.parentTree,parentCacheNode:r.parentCacheNode,parentSegmentPath:r.parentSegmentPath,parentParams:r.parentParams,parentLoadingData:e,debugNameContext:r.debugNameContext,url:r.url,isActive:r.isActive},children:t})}function R({name:e,loading:t,children:r}){if(null!==t){let n=t[0],l=t[1],u=t[2];return(0,o.jsx)(d.Suspense,{name:e,fallback:(0,o.jsxs)(o.Fragment,{children:[l,u,n]}),children:r})}return(0,o.jsx)(o.Fragment,{children:r})}function T({parallelRouterKey:e,error:t,errorStyles:r,errorScripts:n,templateStyles:l,templateScripts:u,template:a,notFound:s,forbidden:p,unauthorized:h,segmentViewBoundaries:v}){let g=(0,d.useContext)(i.LayoutRouterContext);if(!g)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:j,parentCacheNode:C,parentSegmentPath:S,parentParams:M,parentLoadingData:E,url:N,isActive:F,debugNameContext:A}=g,B=j[0],D=null===S?[e]:S.concat([B,e]),L=j[1][e],H=C.slots;(void 0===L||null===H)&&(0,d.use)(c.unresolvedThenable);let w=L[0],k=H[e]??null,U=(0,b.createRouterCacheKey)(w,!0),V=(0,_.useRouterBFCache)(L,k,U),I=[];do{let e=V.tree,d=V.cacheNode,c=V.stateKey,b=e[0],_=M;if(Array.isArray(b)){let e=b[0],t=b[1],r=b[2],n=(0,P.getParamValueFromCacheKey)(t,r);null!==n&&(_={...M,[e]:n})}let v=function(e){if("/"===e)return"/";if("string"==typeof e)if("(__SLOT__)"===e)return;else return e+"/";return e[1]+"/"}(b),g=v??A,j=void 0===v?void 0:A,C=(0,o.jsxs)(O,{cacheNode:d,children:[(0,o.jsx)(f.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children:(0,o.jsx)(R,{name:j,loading:E,children:(0,o.jsx)(m.HTTPAccessFallbackBoundary,{notFound:s,forbidden:p,unauthorized:h,children:(0,o.jsxs)(y.RedirectBoundary,{children:[(0,o.jsx)(x,{url:N,tree:e,params:_,cacheNode:d,segmentPath:D,debugNameContext:g,isActive:F&&c===U}),null]})})})}),null]}),T=(0,o.jsxs)(i.TemplateContext.Provider,{value:C,children:[l,u,a]},c);I.push(T),V=V.next}while(null!==V)return I}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57830,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let n=e.r(56421),l=e.r(7863),u=n._(e.r(61507)),a=e.r(70916);function o(){let e=(0,u.useContext)(a.TemplateContext);return(0,l.jsx)(l.Fragment,{children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54427,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return l}});let n=new WeakMap;function l(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90543,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(54427).createRenderParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},30736,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return l}});let n=new WeakMap;function l(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92323,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(30736).createRenderSearchParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},41997,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createClientParams:function(){return u.createRenderParamsFromClient},createClientSearchParams:function(){return a.createRenderSearchParamsFromClient}};for(var l in n)Object.defineProperty(r,l,{enumerable:!0,get:n[l]});let u=e.r(90543),a=e.r(92323);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},89236,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"IconMark",{enumerable:!0,get:function(){return l}});let n=e.r(7863),l=()=>"u">typeof window?null:(0,n.jsx)("meta",{name:"«nxt-icon»"})},47345,(e,t,r)=>{"use strict";function n(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let l=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=l}e.i(72619),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}})}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36437,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},88328,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={ErrorBoundary:function(){return y},ErrorBoundaryHandler:function(){return _}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o=e.r(56421),a=e.r(7863),i=o._(e.r(61507)),l=e.r(49532),s=e.r(79880);e.r(55876);let c=e.r(68877),f=e.r(92495),d=e.r(70916),p="u">typeof window&&(0,f.isBot)(window.navigator.userAgent);class _ extends i.default.Component{static{this.contextType=d.AppRouterContext}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.retry=()=>{(0,i.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,s.isNextRouterError)(e))throw e;return{error:{thrownValue:e}}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){if(this.state.error&&!p){let e=this.state.error.thrownValue;return(0,c.handleISRError)({error:e}),(0,a.jsxs)(a.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,a.jsx)(this.props.errorComponent,{error:e,reset:this.reset,retry:this.retry})]})}return this.props.children}}function y({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let u=(0,l.useUntrackedPathname)();return e?(0,a.jsx)(_,{pathname:u,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,a.jsx)(a.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68877,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleISRError",{enumerable:!0,get:function(){return u}});let n=e.r(20176);function u({error:e}){if(n.workAsyncStorage){let t=n.workAsyncStorage.getStore();if(t?.isStaticGeneration)throw e&&console.error(e),e}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56371,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTTPAccessErrorStatus:function(){return o},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return i},getAccessFallbackErrorTypeByStatus:function(){return c},getAccessFallbackHTTPStatus:function(){return s},isHTTPAccessFallbackError:function(){return l}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},a=new Set(Object.values(o)),i="NEXT_HTTP_ERROR_FALLBACK";function l(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===i&&a.has(Number(r))}function s(e){return Number(e.digest.split(";")[1])}function c(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79880,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return o}});let n=e.r(56371),u=e.r(33067);function o(e){return(0,u.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},55876,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={handleHardNavError:function(){return a},useNavFailureHandler:function(){return i}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});e.r(61507);let o=e.r(69671);function a(e){return"u">typeof window&&!!window.next.__pendingUrl&&(0,o.createHrefFromUrl)(new URL(window.location.href))!==(0,o.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function i(){}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},21952,(e,t,r)=>{"use strict";let n,u;Object.defineProperty(r,"__esModule",{value:!0});var o={useDynamicRouteParams:function(){return n},useDynamicSearchParams:function(){return u}};for(var a in o)Object.defineProperty(r,a,{enumerable:!0,get:o[a]});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},81769,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return a},useServerInsertedHTML:function(){return i}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o=e.r(56421)._(e.r(61507)),a=o.default.createContext(null);function i(e){let t=(0,o.useContext)(a);t&&t(e)}},49532,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useUntrackedPathname",{enumerable:!0,get:function(){return a}});let n=e.r(61507),u=e.r(23881),o=e.r(20176);function a(){return!function(){if("u"<typeof window){let e=o.workUnitAsyncStorage.getStore();if(!e)return!1;switch(e.type){case"prerender":case"prerender-client":case"prerender-ppr":case"validation-client":let t=e.fallbackRouteParams;return!!t&&t.size>0}}return!1}()?(0,n.useContext)(u.PathnameContext):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},72223,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"notFound",{enumerable:!0,get:function(){return o}});let n=e.r(56371),u=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function o(){let e=Object.defineProperty(Error(u),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,configurable:!0});throw e.digest=u,e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43549,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}e.i(72619),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"forbidden",{enumerable:!0,get:function(){return n}}),e.r(56371).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},96317,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}e.i(72619),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unauthorized",{enumerable:!0,get:function(){return n}}),e.r(56371).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82077,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return u}});class n extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams"),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1174",enumerable:!1,configurable:!0})}}class u extends URLSearchParams{append(){throw new n}delete(){throw new n}set(){throw new n}sort(){throw new n}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56676,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o=e.r(56421),a=e.r(7863),i=o._(e.r(61507)),l=e.r(10612),s=e.r(39776),c=e.r(33067);function f({redirect:e,reset:t,redirectType:r}){let n=(0,l.useRouter)();return(0,i.useEffect)(()=>{i.default.startTransition(()=>{"push"===r?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends i.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,s.getURLFromRedirectError)(e),r=(0,s.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,a.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,l.useRouter)();return(0,a.jsx)(d,{router:t,children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},37510,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return u}});let n=e.r(88944);function u(e,t=!1){return Array.isArray(e)?`${e[0]}|${e[1]}|${e[2]}`:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},20176,(e,t,r)=>{"use strict";let n,u,o;Object.defineProperty(r,"__esModule",{value:!0});var a={actionAsyncStorage:function(){return n},workAsyncStorage:function(){return u},workUnitAsyncStorage:function(){return o}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},20487,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43566,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,u.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(44170),u=e.r(79880);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},71224,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return o.ReadonlyURLSearchParams},RedirectType:function(){return d},forbidden:function(){return l.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return a.permanentRedirect},redirect:function(){return a.redirect},unauthorized:function(){return s.unauthorized},unstable_isUnrecognizedActionError:function(){return f},unstable_rethrow:function(){return c.unstable_rethrow}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o=e.r(82077),a=e.r(39776),i=e.r(72223),l=e.r(43549),s=e.r(96317),c=e.r(43566);function f(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let d={push:"push",replace:"replace"};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},10612,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return d.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},forbidden:function(){return d.forbidden},notFound:function(){return d.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return d.unauthorized},unstable_isUnrecognizedActionError:function(){return f.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return d.unstable_rethrow},useParams:function(){return v},usePathname:function(){return h},useRouter:function(){return m},useSearchParams:function(){return b},useSelectedLayoutSegment:function(){return R},useSelectedLayoutSegments:function(){return O},useServerInsertedHTML:function(){return c.useServerInsertedHTML}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o=e.r(56421)._(e.r(61507)),a=e.r(70916),i=e.r(23881),l=e.r(88944),s=e.r(21952),c=e.r(81769),f=e.r(75768),d=e.r(71224),{instrumentParamsForClientValidation:p,instrumentSearchParamsForClientValidation:_,expectCompleteParamsInClientValidation:y}={};function b(){s.useDynamicSearchParams?.("useSearchParams()");let e=(0,o.useContext)(i.SearchParamsContext);return(0,o.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e])}function h(){return s.useDynamicRouteParams?.("usePathname()"),(0,o.useContext)(i.PathnameContext)}function m(){let e=(0,o.useContext)(a.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});let t=(0,o.useContext)(a.LayoutRouterContext),r=t?.parentCacheNode.bfcacheId??0;return(0,o.useMemo)(()=>({back:e.back,forward:e.forward,refresh:e.refresh,hmrRefresh:e.hmrRefresh,push:e.push,replace:e.replace,prefetch:e.prefetch,experimental_gesturePush:e.experimental_gesturePush,bfcacheId:"_b_"+r+"_"}),[e,r])}function v(){return s.useDynamicRouteParams?.("useParams()"),(0,o.useContext)(i.PathParamsContext)}function O(e="children"){s.useDynamicRouteParams?.("useSelectedLayoutSegments()");let t=(0,o.useContext)(a.LayoutRouterContext);return t?(0,l.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function R(e="children"){s.useDynamicRouteParams?.("useSelectedLayoutSegment()"),(0,o.useContext)(i.NavigationPromisesContext);let t=O(e);return(0,l.computeSelectedLayoutSegment)(t,e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57766,(e,t,r)=>{var n={156:function(e){var t,r,n,u=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],s=!1,c=-1;function f(){s&&n&&(s=!1,n.length?l=n.concat(l):c=-1,l.length&&d())}function d(){if(!s){var e=i(f);s=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function _(){}u.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||s||i(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=_,u.addListener=_,u.once=_,u.off=_,u.removeListener=_,u.removeAllListeners=_,u.emit=_,u.prependListener=_,u.prependOnceListener=_,u.listeners=function(e){return[]},u.binding=function(e){throw Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(e){throw Error("process.chdir is not supported")},u.umask=function(){return 0}}},u={};function o(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}},a=!0;try{n[e](r,r.exports,o),a=!1}finally{a&&delete u[e]}return r.exports}o.ab="/ROOT/node_modules/.pnpm/next@16.3.1_@babel+core@7.29.7_supports-color@8.1.1__@types+node@20.19.43_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/compiled/process/",t.exports=o(156)},72619,(e,t,r)=>{"use strict";var n,u;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(u=e.g.process)?void 0:u.env)?e.g.process:e.r(57766)},76430,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function u(e,t,r){var u=null;if(void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return{$$typeof:n,type:e,key:u,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=u,r.jsxs=u},7863,(e,t,r)=>{"use strict";e.i(72619),t.exports=e.r(76430)},64081,(e,t,r)=>{"use strict";var n=e.i(72619),u=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.for("react.view_transition"),h=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,O={};function R(e,t,r){this.props=e,this.context=t,this.refs=O,this.updater=r||m}function E(){}function g(e,t,r){this.props=e,this.context=t,this.refs=O,this.updater=r||m}R.prototype.isReactComponent={},R.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},R.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=R.prototype;var j=g.prototype=new E;j.constructor=g,v(j,R.prototype),j.isPureReactComponent=!0;var P=Array.isArray;function T(){}var S={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function w(e,t,r){var n=r.ref;return{$$typeof:u,type:e,key:t,ref:void 0!==n?n:null,props:r}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var A=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function N(e,t,r){if(null==e)return e;var n=[],a=0;return!function e(t,r,n,a,i){var l,s,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case u:case o:d=!0;break;case _:return e((d=t._init)(t._payload),r,n,a,i)}}if(d)return i=i(t),d=""===a?"."+C(t,0):a,P(i)?(n="",null!=d&&(n=d.replace(A,"$&/")+"/"),e(i,r,n,"",function(e){return e})):null!=i&&(M(i)&&(l=i,s=n+(null==i.key||t&&t.key===i.key?"":(""+i.key).replace(A,"$&/")+"/")+d,i=w(l.type,s,l.props)),r.push(i)),1;d=0;var p=""===a?".":a+":";if(P(t))for(var y=0;y<t.length;y++)f=p+C(a=t[y],y),d+=e(a,r,n,f,i);else if("function"==typeof(y=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=h&&c[h]||c["@@iterator"])?c:null))for(t=y.call(t),y=0;!(a=t.next()).done;)f=p+C(a=a.value,y++),d+=e(a,r,n,f,i);else if("object"===f){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(T,T):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,a,i);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,n,"","",function(e){return t.call(r,e,a++)}),n}function U(e){if(-1===e._status){var t=(0,e._result)();t.then(function(r){(0===e._status||-1===e._status)&&(e._status=1,e._result=r,void 0===t.status&&(t.status="fulfilled",t.value=r))},function(r){(0===e._status||-1===e._status)&&(e._status=2,e._result=r,void 0===t.status&&(t.status="rejected",t.reason=r))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function D(e){var t=S.T,r={};r.types=null!==t?t.types:null,S.T=r;try{var n=e(),u=S.S;null!==u&&u(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(T,L)}catch(e){L(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),S.T=t}}function H(e){var t=S.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else D(H.bind(null,e))}r.Activity=y,r.Children={map:N,forEach:function(e,t,r){N(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=R,r.Fragment=a,r.Profiler=l,r.PureComponent=g,r.StrictMode=i,r.Suspense=d,r.ViewTransition=b,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},r.addTransitionType=H,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=v({},e.props),u=e.key;if(null!=t)for(o in void 0!==t.key&&(u=""+t.key),t)x.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&("ref"!==o||void 0!==t.ref)&&(n[o]=t[o]);var o=arguments.length-2;if(1===o)n.children=r;else if(1<o){for(var a=Array(o),i=0;i<o;i++)a[i]=arguments[i+2];n.children=a}return w(e.type,u,n)},r.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},r.createElement=function(e,t,r){var n,u={},o=null;if(null!=t)for(n in void 0!==t.key&&(o=""+t.key),t)x.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(u[n]=t[n]);var a=arguments.length-2;if(1===a)u.children=r;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];u.children=i}if(e&&e.defaultProps)for(n in a=e.defaultProps)void 0===u[n]&&(u[n]=a[n]);return w(e,o,u)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:f,render:e}},r.isValidElement=M,r.lazy=function(e){return{$$typeof:_,_payload:{_status:-1,_result:e},_init:U}},r.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},r.startTransition=D,r.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},r.use=function(e){return S.H.use(e)},r.useActionState=function(e,t,r){return S.H.useActionState(e,t,r)},r.useCallback=function(e,t){return S.H.useCallback(e,t)},r.useContext=function(e){return S.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return S.H.useEffect(e,t)},r.useEffectEvent=function(e){return S.H.useEffectEvent(e)},r.useId=function(){return S.H.useId()},r.useImperativeHandle=function(e,t,r){return S.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return S.H.useMemo(e,t)},r.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return S.H.useReducer(e,t,r)},r.useRef=function(e){return S.H.useRef(e)},r.useState=function(e){return S.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return S.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return S.H.useTransition()},r.version="19.3.0-canary-cbb046ab-20260731"},61507,(e,t,r)=>{"use strict";e.i(72619),t.exports=e.r(64081)},99840,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={METADATA_BOUNDARY_NAME:function(){return o},OUTLET_BOUNDARY_NAME:function(){return i},ROOT_LAYOUT_BOUNDARY_NAME:function(){return l},VIEWPORT_BOUNDARY_NAME:function(){return a}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o="__next_metadata_boundary__",a="__next_viewport_boundary__",i="__next_outlet_boundary__",l="__next_root_layout_boundary__"},44101,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MetadataBoundary:function(){return i},OutletBoundary:function(){return s},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return l}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o=e.r(99840),a={[o.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[o.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[o.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[o.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},i=a[o.METADATA_BOUNDARY_NAME.slice(0)],l=a[o.VIEWPORT_BOUNDARY_NAME.slice(0)],s=a[o.OUTLET_BOUNDARY_NAME.slice(0)],c=a[o.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]},23881,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return c},PathParamsContext:function(){return s},PathnameContext:function(){return l},ReadonlyURLSearchParams:function(){return a.ReadonlyURLSearchParams},SearchParamsContext:function(){return i},createDevToolsInstrumentedPromise:function(){return f}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o=e.r(61507),a=e.r(82077),i=(0,o.createContext)(null),l=(0,o.createContext)(null),s=(0,o.createContext)(null),c=(0,o.createContext)(null);function f(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},44170,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={BailoutToCSRError:function(){return a},isBailoutToCSRError:function(){return i}};for(var u in n)Object.defineProperty(r,u,{enumerable:!0,get:n[u]});let o="BAILOUT_TO_CLIENT_SIDE_RENDERING";class a extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=o}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===o}}]);
@@ -1,31 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60808,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={WarningIcon:function(){return d},errorStyles:function(){return l},errorThemeCss:function(){return a}};for(var n in o)Object.defineProperty(t,n,{enumerable:!0,get:o[n]});e.r(36437);let i=e.r(7863);e.r(61507);let l={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{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)"},buttonSecondary:{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-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},a=`
2
- :root {
3
- --next-error-bg: #fff;
4
- --next-error-text: #171717;
5
- --next-error-title: #171717;
6
- --next-error-message: #171717;
7
- --next-error-digest: #666666;
8
- --next-error-btn-text: #fff;
9
- --next-error-btn-bg: #171717;
10
- --next-error-btn-border: none;
11
- --next-error-btn-secondary-text: #171717;
12
- --next-error-btn-secondary-bg: transparent;
13
- --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
14
- }
15
- @media (prefers-color-scheme: dark) {
16
- :root {
17
- --next-error-bg: #0a0a0a;
18
- --next-error-text: #ededed;
19
- --next-error-title: #ededed;
20
- --next-error-message: #ededed;
21
- --next-error-digest: #a0a0a0;
22
- --next-error-btn-text: #0a0a0a;
23
- --next-error-btn-bg: #ededed;
24
- --next-error-btn-border: none;
25
- --next-error-btn-secondary-text: #ededed;
26
- --next-error-btn-secondary-bg: transparent;
27
- --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
28
- }
29
- }
30
- body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
31
- `.replace(/\n\s*/g,"");function d(){return(0,i.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:l.icon,children:(0,i.jsx)("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)"})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},4626,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}}),e.r(36437);let o=e.r(7863);e.r(61507);let n=e.r(68877),i=e.r(60808),l=function({error:e}){let r=e?.digest,t=!!r;return(0,n.handleISRError)({error:e}),(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{children:(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:i.errorThemeCss}})}),(0,o.jsxs)("body",{children:[(0,o.jsx)("div",{style:i.errorStyles.container,children:(0,o.jsxs)("div",{style:i.errorStyles.card,children:[(0,o.jsx)(i.WarningIcon,{}),(0,o.jsx)("h1",{style:i.errorStyles.title,children:"This page couldn’t load"}),(0,o.jsx)("p",{style:i.errorStyles.message,children:t?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,o.jsxs)("div",{style:i.errorStyles.buttonGroup,children:[(0,o.jsx)("form",{style:i.errorStyles.form,children:(0,o.jsx)("button",{type:"submit",style:i.errorStyles.button,children:"Reload"})}),!t&&(0,o.jsx)("button",{type:"button",style:i.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),r&&(0,o.jsxs)("p",{style:i.errorStyles.digestFooter,children:["ERROR ",r]})]})]})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)}]);
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80413,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return v}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(56421),a=e.r(7863),i=u._(e.r(61507)),l=e.r(19262),c=e.r(70916),s=e.r(60474),f=e.r(82781),p=e.r(21676),d=e.r(42497),h=e.r(47040),y=e.r(95928),g=e.r(33683);function m(t){var r;let n,o,u,[m,v]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),P=(0,i.useRef)(null),{href:E,as:_,children:O,prefetch:S=null,passHref:j,replace:T,shallow:C,scroll:R,onClick:N,onMouseEnter:L,onTouchStart:x,legacyBehavior:A=!1,onNavigate:w,transitionTypes:U,ref:M,unstable_dynamicOnHover:$,...I}=t;n=O,A&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let k=i.default.useContext(c.AppRouterContext),B=!1!==S,F=!1===S?"none":!0===S?"full":"auto",D="none"!==F?"auto"===F?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,K="string"==typeof(r=_||E)?r:(0,l.formatUrl)(r);if(A){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let z=A?o&&"object"==typeof o&&o.ref:M,Q,W=i.default.useCallback(e=>(null!==k&&(P.current=(0,h.mountLinkInstance)(e,K,k,D,B,v,Q)),()=>{P.current&&((0,h.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,h.unmountPrefetchableInstance)(e)}),[B,K,k,D,v,Q]),X={ref:(0,s.useMergedRef)(W,z),onClick(t){A||"function"!=typeof N||N(t),A&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!k||t.defaultPrevented||function(t,r,n,o,u,a,l,c="none"){if("u">typeof window){let s,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:p}=e.r(16153);i.default.startTransition(()=>{p(r,o?"replace":"push",!1===u?d.ScrollBehavior.NoScroll:d.ScrollBehavior.Default,n.current,l,c)})}}(t,K,P,T,R,w,U,F)},onMouseEnter(e){A||"function"!=typeof L||L(e),A&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),k&&B&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){A||"function"!=typeof x||x(e),A&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),k&&B&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,f.isAbsoluteUrl)(K)?X.href=K:A&&!j&&("a"!==o.type||"href"in o.props)||(X.href=(0,p.addBasePath)(K)),u=A?i.default.cloneElement(o,X):(0,a.jsx)("a",{...I,...X,children:n}),(0,a.jsx)(b.Provider,{value:m,children:u})}let b=(0,i.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,i.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},60474,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(61507);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82781,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return m},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return P},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return y},ST:function(){return g},WEB_VITALS:function(){return u},execOnce:function(){return a},getDisplayName:function(){return f},getLocationOrigin:function(){return c},getURL:function(){return s},isAbsoluteUrl:function(){return l},isResSent:function(){return p},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return _}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&i.test(e)};function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function s(){let{href:e}=window.location,t=c();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function p(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&p(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let y="u">typeof performance,g=y&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class m extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class P extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}},95928,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=e.r(82781),o=e.r(41277);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},33419,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return u},urlQueryToSearchParams:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function u(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},19262,(e,t,r)=>{"use strict";e.i(72619),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(56421)._(e.r(33419)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(u.urlQueryToSearchParams(l)));let s=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),s&&"?"!==s[0]&&(s="?"+s),o=o.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),`${n}${c}${o}${s}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}}]);