@oscharko-dev/keiko 1.2.6 → 1.2.7

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 (172) hide show
  1. package/dist/ui/csp-hashes.json +8 -8
  2. package/dist/ui/static/404.html +1 -1
  3. package/dist/ui/static/__next.__PAGE__.txt +5 -5
  4. package/dist/ui/static/__next._full.txt +5 -5
  5. package/dist/ui/static/__next._tree.txt +1 -1
  6. package/dist/ui/static/_next/static/chunks/06hwq8_gunvuo.js +29 -0
  7. package/dist/ui/static/_next/static/chunks/0891-mvb901op.js +1 -1
  8. package/dist/ui/static/_next/static/chunks/{30-f39wg2ukb0.js → 09v8w4wuj4m1_.js} +2 -2
  9. package/dist/ui/static/_next/static/chunks/0alcm0tnx-n8-.js +1 -1
  10. package/dist/ui/static/_next/static/chunks/0c_k9ehs17w4l.js +1 -1
  11. package/dist/ui/static/_next/static/chunks/0kjv5jpoy_3wx.js +1 -1
  12. package/dist/ui/static/_next/static/chunks/0ob6quzp23sqe.js +1 -1
  13. package/dist/ui/static/_next/static/chunks/0squn2lq5smnf.js +1 -1
  14. package/dist/ui/static/_next/static/chunks/{3ks40owmq5dke.css → 0vqzhbpt7iewb.css} +10 -9
  15. package/dist/ui/static/_next/static/chunks/0xbqv2_0xajgv.js +1 -1
  16. package/dist/ui/static/_next/static/chunks/11186fkh5coce.js +2 -0
  17. package/dist/ui/static/_next/static/chunks/12ncxpwq54-k2.js +1 -1
  18. package/dist/ui/static/_next/static/chunks/14tr5ujuc_u34.js +1 -1
  19. package/dist/ui/static/_next/static/chunks/1daa_1zod-ndb.js +1 -1
  20. package/dist/ui/static/_next/static/chunks/{10-ixote6buhh.js → 1layk925byvud.js} +1 -1
  21. package/dist/ui/static/_next/static/chunks/1mxu3l7fz5yz1.js +1 -1
  22. package/dist/ui/static/_next/static/chunks/1nqe0rzxqwjkw.js +732 -0
  23. package/dist/ui/static/_next/static/chunks/1p6h98yn2nqtv.js +1 -1
  24. package/dist/ui/static/_next/static/chunks/{2bc_13-_upoqj.js → 1wsoxouji7eb9.js} +1 -1
  25. package/dist/ui/static/_next/static/chunks/20ij-phmydgc3.js +1 -1
  26. package/dist/ui/static/_next/static/chunks/{1xivtevfo8yzl.js → 2206mw-z43vyo.js} +1 -1
  27. package/dist/ui/static/_next/static/chunks/{3j_pd5g21st5o.js → 22pvivewswjat.js} +1 -1
  28. package/dist/ui/static/_next/static/chunks/{1293esxg_t46n.css → 272m__6w4ehe1.css} +6 -4
  29. package/dist/ui/static/_next/static/chunks/2az51zfcfe4w7.js +1 -1
  30. package/dist/ui/static/_next/static/chunks/2fr8bahvq9eg9.js +1 -1
  31. package/dist/ui/static/_next/static/chunks/{209aaqjv6z8gh.js → 2gvu8dyrhibpa.js} +1 -1
  32. package/dist/ui/static/_next/static/chunks/2na7t_nmk3z_c.js +1 -1
  33. package/dist/ui/static/_next/static/chunks/2nxhnrgae6nij.js +1 -1
  34. package/dist/ui/static/_next/static/chunks/{1t276xv4ec2k7.js → 2ql8dczlqzd4u.js} +1 -1
  35. package/dist/ui/static/_next/static/chunks/{33po7i9f3y-hi.js → 2ty81249w2gdw.js} +1 -1
  36. package/dist/ui/static/_next/static/chunks/2vmw7uw9qfxtm.js +2 -0
  37. package/dist/ui/static/_next/static/chunks/37kujq-6rc3ey.js +1 -1
  38. package/dist/ui/static/_next/static/chunks/3i3kblvx52ywv.js +1 -1
  39. package/dist/ui/static/_next/static/chunks/3j8fuk7gt_nsd.js +1 -1
  40. package/dist/ui/static/_next/static/chunks/3n0xbx7qq5429.js +1 -1
  41. package/dist/ui/static/_next/static/chunks/3n16srxs2afdp.js +1 -1
  42. package/dist/ui/static/_next/static/chunks/3rg7mh8olm1dj.js +1 -0
  43. package/dist/ui/static/_next/static/chunks/3s1wb0rz0bdep.js +1 -1
  44. package/dist/ui/static/_next/static/chunks/{turbopack-17n7tuo0-0vcg.js → turbopack-3-2dc0s_e9msx.js} +1 -1
  45. package/dist/ui/static/_next/static/media/{codicon.2b_iqd4rvjgu4.ttf → codicon.42hqluqtoi4oe.ttf} +0 -0
  46. package/dist/ui/static/_not-found/__next._full.txt +1 -1
  47. package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
  48. package/dist/ui/static/_not-found/__next._tree.txt +1 -1
  49. package/dist/ui/static/_not-found.html +1 -1
  50. package/dist/ui/static/_not-found.txt +1 -1
  51. package/dist/ui/static/atlassian-connectors/__next._full.txt +1 -1
  52. package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
  53. package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +1 -1
  54. package/dist/ui/static/atlassian-connectors.html +1 -1
  55. package/dist/ui/static/atlassian-connectors.txt +1 -1
  56. package/dist/ui/static/index.html +1 -1
  57. package/dist/ui/static/index.txt +5 -5
  58. package/dist/ui/static/launch/__next._full.txt +5 -5
  59. package/dist/ui/static/launch/__next._tree.txt +1 -1
  60. package/dist/ui/static/launch/__next.launch.__PAGE__.txt +5 -5
  61. package/dist/ui/static/launch.html +1 -1
  62. package/dist/ui/static/launch.txt +5 -5
  63. package/dist/ui/static/local-knowledge/__next._full.txt +5 -5
  64. package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
  65. package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +5 -5
  66. package/dist/ui/static/local-knowledge/capsule/__next._full.txt +1 -1
  67. package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
  68. package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +1 -1
  69. package/dist/ui/static/local-knowledge/capsule.html +1 -1
  70. package/dist/ui/static/local-knowledge/capsule.txt +1 -1
  71. package/dist/ui/static/local-knowledge.html +1 -1
  72. package/dist/ui/static/local-knowledge.txt +5 -5
  73. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +5 -0
  74. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
  75. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +6 -0
  76. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +7 -0
  77. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
  78. package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +9 -1
  79. package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
  80. package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
  81. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
  82. package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
  83. package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
  84. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
  85. package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
  86. package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
  87. package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
  88. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
  89. package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
  90. package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
  91. package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
  92. package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
  93. package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
  94. package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
  95. package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
  96. package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
  97. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
  98. package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
  99. package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +6 -6
  100. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
  101. package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
  102. package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
  103. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
  104. package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
  105. package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
  106. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
  107. package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
  108. package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
  109. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
  110. package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
  111. package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
  112. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
  113. package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
  114. package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
  115. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
  116. package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
  117. package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
  118. package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
  119. package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
  120. package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
  121. package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
  122. package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
  123. package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
  124. package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
  125. package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +6 -5
  126. package/node_modules/@oscharko-dev/keiko-server/package.json +24 -24
  127. package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
  128. package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
  129. package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
  130. package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
  131. package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
  132. package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
  133. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
  134. package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
  135. package/node_modules/@oscharko-dev/keiko-workspace/package.json +4 -4
  136. package/package.json +38 -38
  137. package/release-impact.catalog.json +73 -0
  138. package/vendor/oscharko-dev-keiko-activity-log-1.2.7.tgz +0 -0
  139. package/vendor/{oscharko-dev-keiko-cli-1.2.6.tgz → oscharko-dev-keiko-cli-1.2.7.tgz} +0 -0
  140. package/vendor/{oscharko-dev-keiko-connectors-1.2.6.tgz → oscharko-dev-keiko-connectors-1.2.7.tgz} +0 -0
  141. package/vendor/{oscharko-dev-keiko-contracts-1.2.6.tgz → oscharko-dev-keiko-contracts-1.2.7.tgz} +0 -0
  142. package/vendor/{oscharko-dev-keiko-evaluations-1.2.6.tgz → oscharko-dev-keiko-evaluations-1.2.7.tgz} +0 -0
  143. package/vendor/{oscharko-dev-keiko-evidence-1.2.6.tgz → oscharko-dev-keiko-evidence-1.2.7.tgz} +0 -0
  144. package/vendor/{oscharko-dev-keiko-git-1.2.6.tgz → oscharko-dev-keiko-git-1.2.7.tgz} +0 -0
  145. package/vendor/{oscharko-dev-keiko-harness-1.2.6.tgz → oscharko-dev-keiko-harness-1.2.7.tgz} +0 -0
  146. package/vendor/{oscharko-dev-keiko-local-knowledge-1.2.6.tgz → oscharko-dev-keiko-local-knowledge-1.2.7.tgz} +0 -0
  147. package/vendor/{oscharko-dev-keiko-memory-capture-1.2.6.tgz → oscharko-dev-keiko-memory-capture-1.2.7.tgz} +0 -0
  148. package/vendor/{oscharko-dev-keiko-memory-consolidation-1.2.6.tgz → oscharko-dev-keiko-memory-consolidation-1.2.7.tgz} +0 -0
  149. package/vendor/{oscharko-dev-keiko-memory-governance-1.2.6.tgz → oscharko-dev-keiko-memory-governance-1.2.7.tgz} +0 -0
  150. package/vendor/{oscharko-dev-keiko-memory-retrieval-1.2.6.tgz → oscharko-dev-keiko-memory-retrieval-1.2.7.tgz} +0 -0
  151. package/vendor/{oscharko-dev-keiko-memory-vault-1.2.6.tgz → oscharko-dev-keiko-memory-vault-1.2.7.tgz} +0 -0
  152. package/vendor/{oscharko-dev-keiko-model-gateway-1.2.6.tgz → oscharko-dev-keiko-model-gateway-1.2.7.tgz} +0 -0
  153. package/vendor/{oscharko-dev-keiko-quality-intelligence-1.2.6.tgz → oscharko-dev-keiko-quality-intelligence-1.2.7.tgz} +0 -0
  154. package/vendor/{oscharko-dev-keiko-sandbox-1.2.6.tgz → oscharko-dev-keiko-sandbox-1.2.7.tgz} +0 -0
  155. package/vendor/{oscharko-dev-keiko-sdk-1.2.6.tgz → oscharko-dev-keiko-sdk-1.2.7.tgz} +0 -0
  156. package/vendor/{oscharko-dev-keiko-security-1.2.6.tgz → oscharko-dev-keiko-security-1.2.7.tgz} +0 -0
  157. package/vendor/oscharko-dev-keiko-server-1.2.7.tgz +0 -0
  158. package/vendor/{oscharko-dev-keiko-tool-catalog-1.2.6.tgz → oscharko-dev-keiko-tool-catalog-1.2.7.tgz} +0 -0
  159. package/vendor/{oscharko-dev-keiko-tools-1.2.6.tgz → oscharko-dev-keiko-tools-1.2.7.tgz} +0 -0
  160. package/vendor/{oscharko-dev-keiko-verification-1.2.6.tgz → oscharko-dev-keiko-verification-1.2.7.tgz} +0 -0
  161. package/vendor/{oscharko-dev-keiko-workflows-1.2.6.tgz → oscharko-dev-keiko-workflows-1.2.7.tgz} +0 -0
  162. package/vendor/{oscharko-dev-keiko-workspace-1.2.6.tgz → oscharko-dev-keiko-workspace-1.2.7.tgz} +0 -0
  163. package/dist/ui/static/_next/static/chunks/0f-ub6bs0i1sj.js +0 -2
  164. package/dist/ui/static/_next/static/chunks/18voy19pok4ko.js +0 -671
  165. package/dist/ui/static/_next/static/chunks/2eif0mrb2ok4e.js +0 -1
  166. package/dist/ui/static/_next/static/chunks/3ggg2nmiwuz90.js +0 -27
  167. package/dist/ui/static/_next/static/chunks/3qhgsd4mwnt9v.js +0 -2
  168. package/vendor/oscharko-dev-keiko-activity-log-1.2.6.tgz +0 -0
  169. package/vendor/oscharko-dev-keiko-server-1.2.6.tgz +0 -0
  170. /package/dist/ui/static/_next/static/{dHwBvAPZHCBS19_AHKzGd → H3xxDPi4xvbxoz-xJSbax}/_buildManifest.js +0 -0
  171. /package/dist/ui/static/_next/static/{dHwBvAPZHCBS19_AHKzGd → H3xxDPi4xvbxoz-xJSbax}/_clientMiddlewareManifest.js +0 -0
  172. /package/dist/ui/static/_next/static/{dHwBvAPZHCBS19_AHKzGd → H3xxDPi4xvbxoz-xJSbax}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==typeof i?i:i+"";}function _toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[71166,64344,e=>{let t=new Set(["[","【","["]),n=new Set(["]","】","]"]),r=new Set([",",";",",",";","、"]),i=new Set([" "," "," "," "]);function o(e,t){let n=t;for(;i.has(e.charAt(n));)n+=1;return n;}function l(e,t,n){let r=t;for(;e.charAt(r)===n;)r+=1;return r-t;}let s=/^(`{3,}|~{3,})/u,u=/^(`{3,}|~{3,})\s*$/u,a=/^#{1,6} .+$/u,c=/^#{1,6} /u,d=/^(?:-{3,}|\*{3,}|_{3,})$/u,f=/^ *(?:[*+-]|\d{1,9}\.) /u,h=/^ *> ?/u,p=/^-+$/u;function g(e){return e.trimStart().startsWith("> ")||">"===e.trim();}function v(e,t){let n=e.text.indexOf("|");for(;-1!==n;)t.inline.push(e.start+n),n=e.text.indexOf("|",n+1);}class m{constructor(e,t){_defineProperty(this,"startsByLength",new Map());_defineProperty(this,"cursorByLength",new Map());_defineProperty(this,"blockBreaks",void 0);_defineProperty(this,"breakCursor",0);let n=e.indexOf("`");for(;-1!==n;){var _this$startsByLength$;let t=l(e,n,"`"),r=(_this$startsByLength$=this.startsByLength.get(t))!==null&&_this$startsByLength$!==void 0?_this$startsByLength$:[];r.push(n),this.startsByLength.set(t,r),n=e.indexOf("`",n+t);}this.blockBreaks=t;}closingEnd(e,t){var _this$startsByLength$2,_this$cursorByLength$;let n=(_this$startsByLength$2=this.startsByLength.get(t))!==null&&_this$startsByLength$2!==void 0?_this$startsByLength$2:[],r=(_this$cursorByLength$=this.cursorByLength.get(t))!==null&&_this$cursorByLength$!==void 0?_this$cursorByLength$:0;for(;r<n.length&&((_n$r=n[r])!==null&&_n$r!==void 0?_n$r:0)<=e;){var _n$r;r+=1;}this.cursorByLength.set(t,r);let i=n[r];if(!(void 0===i||this.blockBreakBetween(e,i)))return i+t;}blockBreakBetween(e,t){return this.contextEnd(e,1/0)<t;}contextEnd(e,t){var _this$blockBreaks$thi2;for(;((_this$blockBreaks$thi=this.blockBreaks[this.breakCursor])!==null&&_this$blockBreaks$thi!==void 0?_this$blockBreaks$thi:1/0)<e;){var _this$blockBreaks$thi;this.breakCursor+=1;}return Math.min(t,(_this$blockBreaks$thi2=this.blockBreaks[this.breakCursor])!==null&&_this$blockBreaks$thi2!==void 0?_this$blockBreaks$thi2:t);}}function x(e,t){let n,r,i=(n=function(e){let t=[],n=0,r=e.indexOf("\n");for(;-1!==r;)t.push({text:e.slice(n,r),start:n,newlineBefore:n-1}),n=r+1,r=e.indexOf("\n",n);return t.push({text:e.slice(n),start:n,newlineBefore:n-1}),t;}(e),function e(t,n,r){let i=0;for(;i<t.length;)i=function(t,n,r,i,_t$n$text,_t$n,_s$exec){let o=(_t$n$text=(_t$n=t[n])===null||_t$n===void 0?void 0:_t$n.text)!==null&&_t$n$text!==void 0?_t$n$text:"",l=o.trim(),m=(_s$exec=s.exec(l))===null||_s$exec===void 0?void 0:_s$exec[1];if(void 0!==m){let e,r,o;return e=function(e,t,n){for(let r=t+1;r<e.length;r+=1){var _u$exec$,_u$exec,_e$r$text$trim,_e$r;let t=(_u$exec$=(_u$exec=u.exec((_e$r$text$trim=(_e$r=e[r])===null||_e$r===void 0?void 0:_e$r.text.trim())!==null&&_e$r$text$trim!==void 0?_e$r$text$trim:""))===null||_u$exec===void 0?void 0:_u$exec[1])!==null&&_u$exec$!==void 0?_u$exec$:"";if(t.startsWith(n.charAt(0))&&t.length>=n.length)return r+1;}return e.length;}(t,n,m),r=t[n],o=t[e-1],void 0!==r&&void 0!==o&&i.code.push({start:r.start,end:o.start+o.text.length}),e;}if(""===l||a.test(l)||d.test(l))return n+1;if(g(o)){let o=[],l=n;for(let e=t[l];void 0!==e&&g(e.text);e=t[l]){var _h$exec$0$length,_h$exec;let t=(_h$exec$0$length=(_h$exec=h.exec(e.text))===null||_h$exec===void 0?void 0:_h$exec[0].length)!==null&&_h$exec$0$length!==void 0?_h$exec$0$length:0;o.push({...e,text:e.text.slice(t),start:e.start+t}),l+=1;}if(r<16)return e(o,r+1,i),l;for(let e of o.slice(1))i.joined.add(e.newlineBefore);return l;}if(function(e,t,n,_e$text,_e){let r;return n.includes("|")&&((r=((_e$text=(_e=e[t+1])===null||_e===void 0?void 0:_e.text)!==null&&_e$text!==void 0?_e$text:"").trim()).startsWith("|")&&(r=r.slice(1)),r.endsWith("|")&&(r=r.slice(0,-1)),r.split("|").every(e=>p.test(e.trim().replace(/^:/u,"").replace(/:$/u,""))));}(t,n,l)){let e=t[n];void 0!==e&&v(e,i);let r=n+2;for(let e=t[r];void 0!==e;e=t[r]){let t=e.text.trim();if(""===t||!t.includes("|"))break;v(e,i),r+=1;}return r;}if(f.test(o))return n+1;let x=n+1;for(let e=t[x];void 0!==e&&!function(e){let t=e.trim();return""===t||c.test(t)||e.trimStart().startsWith("> ")||s.test(t)||f.test(e)||d.test(t);}(e.text);e=t[x])i.joined.add(e.newlineBefore),x+=1;return x;}(t,i,n,r);}(n,0,r={joined:new Set(),inline:[],code:[]}),{breaks:[...n.map(e=>e.newlineBefore).filter(e=>e>=0&&!r.joined.has(e)),...r.inline].sort((e,t)=>e-t),code:[...r.code].sort((e,t)=>e.start-t.start)}),o=new m(e,i.breaks),x=[],k=0,b=0;for(;b<e.length;){var _n$start;let n=i.code[k];if(void 0!==n&&b>=n.start){n.end>b&&x.push(n),b=Math.max(b,n.end),k+=1;continue;}b=function(e,t,n,r,i,o){let s=e.indexOf("`",t);if(-1===s||s>=n)return n;let u=l(e,s,"`"),a=r.closingEnd(s,u);return void 0===a?(o!==null&&o!==void 0&&o({start:s,end:r.contextEnd(s,n)},u),s+u):(i.push({start:s,end:a}),a);}(e,b,(_n$start=n===null||n===void 0?void 0:n.start)!==null&&_n$start!==void 0?_n$start:e.length,o,x,t);}return x;}function k(e){let i=[],l=x(e),s=0,u=0;for(;u<e.length;){let a=l[s];if(void 0!==a&&u>=a.start){u=Math.max(u,a.end),s+=1;continue;}if(!t.has(e.charAt(u))){u+=1;continue;}let c=function(e,t){let i=[],l=o(e,t);for(;;){let t=function(e,t){let{digits:n,next:r}=function(e,t){var n;let r=t;for(;1===(n=e.charAt(r)).length&&n>="0"&&n<="9";)r+=1;return{digits:e.slice(t,r),next:r};}(e,t);if(0!==n.length&&Number.isSafeInteger(Number.parseInt(n,10)))return{digits:n,next:r};}(e,l);if(void 0===t)return;i.push(t.digits),l=o(e,t.next);let s=e.charAt(l);if(n.has(s))return{digits:i,end:l+1};if(!r.has(s))return;l=o(e,l+1);}}(e,u+1);if(void 0===c){u+=1;continue;}i.push(function(e,t,n){let r=e.charAt(t),i=e.charAt(n.end-1),o=n.digits.map(e=>({index:Number.parseInt(e,10),marker:`${r}${e}${i}`}));return{start:t,end:n.end,text:e.slice(t,n.end),indices:o.map(e=>e.index),entries:o};}(e,u,c)),u=c.end;}return i;}let b=/ \((\d{1,7}) in total\)$/u;e.s(["C",0,function(e){let t=b.exec(e),n=(t===null||t===void 0?void 0:t[1])===void 0?0/0:Number.parseInt(t[1],10);return Number.isSafeInteger(n)&&n>0?n:void 0;},"Y",0,function(e){return k(e).flatMap(e=>e.indices);},"M",0,k,"y",0,x],71166);var S=e.i(43476),w=e.i(85912),$=e.i(71645),y=e.i(66885),j=e.i(98729),W=e.i(10158),C=e.i(20081),A=e.i(24541),E=e.i(74894),R=e.i(88193);function P(e,t){var n;let r=e.sourceScopeFingerprint,i=(0,R.$)(r)?t.filter(e=>{var _e$scopeFingerprints;return((_e$scopeFingerprints=e.scopeFingerprints)===null||_e$scopeFingerprints===void 0?void 0:_e$scopeFingerprints.includes(r))===!0;}):[],o=(n=i.length,void 0===r?"absent":(0,R.$)(r)?1===n?"matched":0===n?"unmatched":"ambiguous":"malformed"),l={reason:o,rootCount:t.length,matchCount:i.length};return"matched"===o?{roots:i,requireRootChoice:!1,citationActivation:l}:{roots:t,requireRootChoice:"absent"!==o||t.length>1,citationActivation:l};}let B={cited:"cmpCited","read-uncited":"cmpReadUncited",unread:"cmpUnread",unknown:"cmpUnread"},M={cited:"grounded.reference.cited","read-uncited":"grounded.reference.readUncited",unread:"grounded.reference.unread",unknown:"grounded.reference.unknown"};function L(e,t,n){return void 0===t?e:`${e} \xb7 ${n(M[t])}`;}function N(e,t){var _t$citations$filter;let n=(_t$citations$filter=t===null||t===void 0?void 0:t.citations.filter(t=>{var _r$lineEnd;var n,r;return ee(t.scopePath)===ee(e.path)&&(void 0===e.sourceId||t.sourceId===e.sourceId)&&(n=t,void 0===(r=e).lineStart||void 0!==n.lineRange&&r.lineStart>=n.lineRange.startLine&&((_r$lineEnd=r.lineEnd)!==null&&_r$lineEnd!==void 0?_r$lineEnd:r.lineStart)<=n.lineRange.endLine);}))!==null&&_t$citations$filter!==void 0?_t$citations$filter:[];return 1===new Set(n.map(e=>e.sourceScopeFingerprint)).size?n[0]:void 0;}function I(e,t,n){var _t$inspectedPaths$fil,_t$inspectedPaths,_r$;let r=(_t$inspectedPaths$fil=t===null||t===void 0||(_t$inspectedPaths=t.inspectedPaths)===null||_t$inspectedPaths===void 0?void 0:_t$inspectedPaths.filter(t=>ee(t.scopePath)===ee(e.path)))!==null&&_t$inspectedPaths$fil!==void 0?_t$inspectedPaths$fil:[];if(0===r.length)return;let i=P({sourceScopeFingerprint:1===new Set(r.map(e=>e.sourceScopeFingerprint)).size?(_r$=r[0])===null||_r$===void 0?void 0:_r$.sourceScopeFingerprint:void 0},n);return{...i,requireRootChoice:"matched"!==i.citationActivation.reason};}let z=String.raw`[\p{L}\p{N}\p{M}_.-]{1,255}`,_=String.raw`(?:${z}\/){0,1000}${z}\.[A-Za-z0-9][A-Za-z0-9]{0,15}`,T=String.raw`[ \t\u00a0\u202f]{0,64}`;function U(e,t=String.raw`[\u00a0\u202f]{0,64}`){let n=e?String.raw`(\d{1,7})`:String.raw`\d{1,7}`;return String.raw`${T}:${t}${n}(?:${T}[-\u2010-\u2014\u2212]${T}${n})?`;}let q=U(!0),D=RegExp(`^${q}`,"u"),F=RegExp(String.raw`\[[^\[\]]{1,4096}\]|@?(${_})(?:${q})?`,"gu"),O=RegExp(String.raw`^@?([^:\r\n]{1,4096}?)(?:${U(!0,T)})?$`,"u"),Z=`@?${_}(?:${U(!1)})?`,K=RegExp(String.raw`\[\s*(${Z})\s*\]`,"giu"),V=String.raw`\[source:[^\[\]]+\]`,H=RegExp(String.raw`\[\s*(${Z})\s*\]\s*(?:${V}\s*)?(${Z})`,"giu"),J=RegExp(String.raw`(${Z})\s+(?:${V}\s*)?(${Z})`,"giu"),Y=RegExp(V,"giu"),G=new Set(["astro","bash","c","cc","cjs","config","cpp","cs","css","csv","cts","go","gradle","h","hpp","htm","html","ini","java","js","json","jsonc","jsx","kt","kts","less","lock","lua","md","mdx","mjs","mts","php","py","rb","rs","sass","scala","scss","sh","sql","svelte","swift","toml","ts","tsx","txt","vue","xml","yaml","yml","zsh"]);function Q(e,t){if(t>=e.length)return!0;let n=e.slice(t,t+2);return!/^[\$\+\x2D\/-:A-Z\^-z~\xA2-\xA5\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u060B\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F9\u09FB\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BF2\u0BF9\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5C\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDC-\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D63\u0D66-\u0D78\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E3F-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DB-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2010-\u2014\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u20A0-\u20C1\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2212\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827\uA82C\uA830-\uA835\uA838\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE00-\uFE0F\uFE20-\uFE2F\uFE69\uFE70-\uFE74\uFE76-\uFEFC\uFF04\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0\uFFE1\uFFE5\uFFE6\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10107}-\u{10133}\u{10140}-\u{10178}\u{1018A}\u{1018B}\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{103D1}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10858}-\u{10876}\u{10879}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A60}-\u{10A7E}\u{10A80}-\u{10A9F}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE6}\u{10AEB}-\u{10AEF}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D69}-\u{10D6D}\u{10D6F}-\u{10D85}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}\u{10EAC}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10EFA}-\u{10F27}\u{10F30}-\u{10F54}\u{10F70}-\u{10F85}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11000}-\u{11046}\u{11052}-\u{11075}\u{1107F}-\u{110BA}\u{110C2}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{1113F}\u{11144}-\u{11147}\u{11150}-\u{11173}\u{11176}\u{11180}-\u{111C4}\u{111C9}-\u{111CC}\u{111CE}-\u{111DA}\u{111DC}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{11237}\u{1123E}-\u{11241}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D3}\u{113E1}\u{113E2}\u{11400}-\u{1144A}\u{11450}-\u{11459}\u{1145E}-\u{11461}\u{11480}-\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115C0}\u{115D8}-\u{115DD}\u{11600}-\u{11640}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116B8}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{1173B}\u{11740}-\u{11746}\u{11800}-\u{1183A}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11943}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E1}\u{119E3}\u{119E4}\u{11A00}-\u{11A3E}\u{11A47}\u{11A50}-\u{11A99}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11B60}-\u{11B67}\u{11BC0}-\u{11BE0}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C40}\u{11C50}-\u{11C6C}\u{11C72}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11DB0}-\u{11DDB}\u{11DE0}-\u{11DE9}\u{11EE0}-\u{11EF6}\u{11F00}-\u{11F10}\u{11F12}-\u{11F3A}\u{11F3E}-\u{11F42}\u{11F50}-\u{11F5A}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FDD}-\u{11FE0}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13440}-\u{13455}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF4}\u{16B00}-\u{16B36}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16D70}-\u{16D79}\u{16E40}-\u{16E96}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FE4}\u{16FF0}-\u{16FF6}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9D}\u{1BC9E}\u{1CCF0}-\u{1CCF9}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E030}-\u{1E06D}\u{1E08F}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E4D0}-\u{1E4F9}\u{1E5D0}-\u{1E5FA}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6F5}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1EC71}-\u{1ECAB}\u{1ECAD}-\u{1ECB4}\u{1ED01}-\u{1ED2D}\u{1ED2F}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10C}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}\u{E0100}-\u{E01EF}]/u.test(n);}function X(e){let t=e.length;for(;t>0&&"/"===e[t-1];)t-=1;return e.slice(0,t);}function ee(e){return X(function(e){let t=0;for(;t<e.length&&"/"===e[t];)t+=1;return e.slice(t);}(e.replaceAll("\\","/")));}function et(e){var _e$lineStart$toString,_e$lineStart,_e$lineEnd$toString,_e$lineEnd;return null===e?null:[e.path.toLowerCase(),(_e$lineStart$toString=(_e$lineStart=e.lineStart)===null||_e$lineStart===void 0?void 0:_e$lineStart.toString())!==null&&_e$lineStart$toString!==void 0?_e$lineStart$toString:"",(_e$lineEnd$toString=(_e$lineEnd=e.lineEnd)===null||_e$lineEnd===void 0?void 0:_e$lineEnd.toString())!==null&&_e$lineEnd$toString!==void 0?_e$lineEnd$toString:""].join(":");}function en(e,t,n){let r=et(ec(e)),i=et(ec(t));return null!==r&&r===i?e:n;}function er(e){let t=e.slice(1,-1),n=t.slice(t.indexOf(":")+1).trim();return /^source:[^|]*\|/u.test(t)?e:null===ec(n,!0)?"":e;}function ei(e){return e.replace(H,(e,t,n)=>en(t,n,e.replace(Y,er))).replace(J,(e,t,n)=>en(t,n,e.replace(Y,er))).replace(K,(e,t)=>null===ec(t)?e:t).replace(Y,er).split(/(\[[^[\]]{1,4096}\])/gu).map(e=>e.startsWith("[")&&e.endsWith("]")?e:e.replace(/[ \t]{2,}/gu," ").replace(/[ \t]([,.;:!?])/gu,"$1")).join("");}function eo(e){if(void 0===e)return;let t=Number.parseInt(e,10);return Number.isSafeInteger(t)&&t>0?t:void 0;}function el(e,t){return /^[:\u2010-\u2014\u2212-][ \t\u00a0\u202f]{1,64}[^\d\s]/u.test(e.slice(t,t+131));}function es(e,t){if(el(e,t))return!1;let n=e.slice(t,t+131);return /^[:\u2010-\u2014\u2212-]/u.test(n)||/^[ \t\u00a0\u202f]{1,64}[:\u2010-\u2014\u2212-][ \t\u00a0\u202f]{0,64}\d/u.test(n);}function eu(e,t){var _e$,_e$2;let n,r=(_e$=e[0])!==null&&_e$!==void 0?_e$:"";if(n=e.index+e[0].length,!(function(e,t){if(t<=0)return!0;let n=e.slice(Math.max(0,t-2),t);return!/[\$\+\x2D-:@-Z\^-z~\xA2-\xA5\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u060B\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F9\u09FB\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BF2\u0BF9\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5C\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDC-\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D63\u0D66-\u0D78\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E3F-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DB-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u20A0-\u20C1\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827\uA82C\uA830-\uA835\uA838\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE00-\uFE0F\uFE20-\uFE2F\uFE69\uFE70-\uFE74\uFE76-\uFEFC\uFF04\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0\uFFE1\uFFE5\uFFE6\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10107}-\u{10133}\u{10140}-\u{10178}\u{1018A}\u{1018B}\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{103D1}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10858}-\u{10876}\u{10879}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A60}-\u{10A7E}\u{10A80}-\u{10A9F}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE6}\u{10AEB}-\u{10AEF}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D69}-\u{10D6D}\u{10D6F}-\u{10D85}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}\u{10EAC}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10EFA}-\u{10F27}\u{10F30}-\u{10F54}\u{10F70}-\u{10F85}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11000}-\u{11046}\u{11052}-\u{11075}\u{1107F}-\u{110BA}\u{110C2}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{1113F}\u{11144}-\u{11147}\u{11150}-\u{11173}\u{11176}\u{11180}-\u{111C4}\u{111C9}-\u{111CC}\u{111CE}-\u{111DA}\u{111DC}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{11237}\u{1123E}-\u{11241}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D3}\u{113E1}\u{113E2}\u{11400}-\u{1144A}\u{11450}-\u{11459}\u{1145E}-\u{11461}\u{11480}-\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115C0}\u{115D8}-\u{115DD}\u{11600}-\u{11640}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116B8}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{1173B}\u{11740}-\u{11746}\u{11800}-\u{1183A}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11943}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E1}\u{119E3}\u{119E4}\u{11A00}-\u{11A3E}\u{11A47}\u{11A50}-\u{11A99}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11B60}-\u{11B67}\u{11BC0}-\u{11BE0}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C40}\u{11C50}-\u{11C6C}\u{11C72}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11DB0}-\u{11DDB}\u{11DE0}-\u{11DE9}\u{11EE0}-\u{11EF6}\u{11F00}-\u{11F10}\u{11F12}-\u{11F3A}\u{11F3E}-\u{11F42}\u{11F50}-\u{11F5A}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FDD}-\u{11FE0}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13440}-\u{13455}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF4}\u{16B00}-\u{16B36}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16D70}-\u{16D79}\u{16E40}-\u{16E96}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FE4}\u{16FF0}-\u{16FF6}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9D}\u{1BC9E}\u{1CCF0}-\u{1CCF9}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E030}-\u{1E06D}\u{1E08F}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E4D0}-\u{1E4F9}\u{1E5D0}-\u{1E5FA}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6F5}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1EC71}-\u{1ECAB}\u{1ECAD}-\u{1ECB4}\u{1ED01}-\u{1ED2D}\u{1ED2F}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10C}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}\u{E0100}-\u{E01EF}]$/u.test(n);}(t,e.index)&&(Q(t,n)||void 0!==e[2]&&el(t,n)))||void 0!==e[2]&&es(t,n))return null;let i=(_e$2=e[1])!==null&&_e$2!==void 0?_e$2:"";if(!function(e,_e$split$at,_t$split$pop$toLowerC,_t$split$pop){if(!(0,W.V)(e)||(0,E.z)(e)!==e||/[\0-\x1F\x7F-\x9F]/u.test(e)||/[*?{}<>|"]/u.test(e)||e.startsWith("$")||e.startsWith(".")||e.includes("..")||!e.includes("."))return!1;let t=(_e$split$at=e.split("/").at(-1))!==null&&_e$split$at!==void 0?_e$split$at:"",n=(_t$split$pop$toLowerC=(_t$split$pop=t.split(".").pop())===null||_t$split$pop===void 0?void 0:_t$split$pop.toLowerCase())!==null&&_t$split$pop$toLowerC!==void 0?_t$split$pop$toLowerC:"";return G.has(n);}(i))return null;let o=eo(e[2]),l=eo(e[3]);if(void 0===e[2]?void 0!==e[3]:void 0===o||void 0!==e[3]&&(void 0===l||!(l>=o)))return null;let s=l!==null&&l!==void 0?l:o;return{label:r,path:i,...(void 0===o?{}:{lineStart:o}),...(void 0===s?{}:{lineEnd:s})};}function ea(e){let t=[];for(let n of e)t.length>0&&t.push({kind:"text",text:", "}),t.push({kind:"reference",reference:n});return t;}function ec(e,t=!1){var _r,_r$0$length,_r$2,_r$3;var n;let r,i=function(e){if(!e.startsWith("source:"))return{source:e};let t=/^source:([1-9]\d{0,15})\|/u.exec(e),n=t===null||t===void 0?void 0:t[1];return null!==t&&void 0!==n&&Number.isSafeInteger(Number(n))?{source:e.slice(t[0].length),sourceId:n}:null;}(e);if(null===i)return null;let o=(n=i.source,r=O.exec(n),((_r=r)===null||_r===void 0?void 0:_r.index)!==0||((_r$0$length=(_r$2=r[0])===null||_r$2===void 0?void 0:_r$2.length)!==null&&_r$0$length!==void 0?_r$0$length:0)!==n.length||!t&&/\s/u.test((_r$3=r[1])!==null&&_r$3!==void 0?_r$3:"")?null:eu(r,n));return null===o?null:{...o,label:e,...(void 0===i.sourceId?{}:{sourceId:i.sourceId})};}function ed(e){var _X$split$filter$at;return(_X$split$filter$at=X(e.replaceAll("\\","/")).split("/").filter(e=>e.length>0).at(-1))!==null&&_X$split$filter$at!==void 0?_X$split$filter$at:e;}function ef(e,t){return eh(Array.from(e,e=>function(e,t){let n="⟦"===e||"⟧"===e,r=t&&((0,E.z)(e)!==e||/[\0-\x1F\x7F-\x9F]/u.test(e));if(!n&&!r)return e;let i=e.codePointAt(0);if(void 0===i)throw TypeError("Missing reference label code point");return`⟦U+${i.toString(16).toUpperCase().padStart(4,"0")}⟧`;}(e,t)).join(""));}function eh(e){return(0,E.z)(e).replaceAll(" ","␉").replaceAll("\r","␍").replaceAll("\n","␊");}function ep(e,t){var _ref;let n=e.path.split("/");n.reverse();let r=eh((_ref=t!==null&&t!==void 0?t:n.find(Boolean))!==null&&_ref!==void 0?_ref:e.path);return void 0===e.lineStart?r:void 0===e.lineEnd||e.lineEnd===e.lineStart?`${r}:${String(e.lineStart)}`:`${r}:${String(e.lineStart)}-${String(e.lineEnd)}`;}function eg(e,t){let n=ee(e),r=ee(ed(t));return r.length>0&&n.startsWith(`${r}/`)?n.slice(r.length+1):n;}function ev(e,t){if(t.filter(t=>t.label===e.label).length>1)return eh(e.root);let n=X(e.root.replaceAll("\\","/")).split("/").filter(e=>e.length>0).slice(-2).join("/");return n===e.label?void 0:n;}function em(e){return void 0===e?void 0:y.default[B[e]];}function ex({reference:e,roots:t,openReference:n,className:r="repo-ref-link",displayPath:i,sourceLabel:o,requireRootChoice:l=!1,rootRelative:s,citationActivation:u,evidenceState:a}){var _em;let c,d,f,h=(0,w.a)(),p=(0,$.useId)(),g=(0,$.useRef)(null),v=(0,$.useRef)(null),m=(0,$.useRef)(void 0),x=(0,$.useCallback)(e=>{var _m$current;void 0!==u&&((_m$current=m.current)!==null&&_m$current!==void 0?_m$current:m.current=(0,C.y)(),(0,A.v)("[keiko] citation activation settled",{correlationId:m.current,citationActivation:{...u,outcome:e}}));},[u]),[k,b]=(0,$.useState)("idle"),[y,W]=(0,$.useState)(""),R=(0,$.useCallback)(()=>{b("idle"),W("");},[]),{schedule:P,clear:B}=(c=(0,$.useRef)(void 0),d=(0,$.useCallback)(()=>{void 0!==c.current&&(window.clearTimeout(c.current),c.current=void 0);},[]),(0,$.useEffect)(()=>d,[d]),{schedule:(0,$.useCallback)(e=>{d(),c.current=window.setTimeout(()=>{c.current=void 0,R();},e);},[R,d]),clear:d}),M=(0,$.useMemo)(()=>{let e=new Set(),n=[];for(let r of t){let t=r.root.trim();if(0===t.length||e.has(t))continue;e.add(t);let i=r.label.trim();n.push({root:t,label:i.length>0?i:ed(t)});}return n;},[t]),N=(0,$.useMemo)(()=>l||s?M.map(t=>({...t,openPath:s?ee(e.path):eg(e.path,t.root)})):M.filter(t=>{var _ee$split$;var n;let r,i;return n=e.path,null===(i=void 0===(r=(_ee$split$=ee(n).split("/")[0])===null||_ee$split$===void 0?void 0:_ee$split$.toLocaleLowerCase())||0===r.length?null:M.some(e=>ed(e.root).toLocaleLowerCase()===r)?r:null)||ed(t.root).toLocaleLowerCase()===i;}).map(t=>({...t,openPath:eg(e.path,t.root)})).sort((e,t)=>e.openPath.length-t.openPath.length||e.root.localeCompare(t.root)),[e,l,M,s]),I=(0,$.useMemo)(()=>{if(l)return N;let e=N[0];return void 0===e?[]:N.filter(t=>t.openPath.length===e.openPath.length);},[N,l]),z=(0,$.useCallback)(t=>{var _v$current,_g$current;if(void 0===n)return;B(),((_v$current=v.current)===null||_v$current===void 0?void 0:_v$current.contains(document.activeElement))&&((_g$current=g.current)===null||_g$current===void 0?void 0:_g$current.focus());let r=t.openPath;b("opening"),W(h("chat.repository.opening",{path:eh(r)}));let i=n({root:t.root,path:r,...(void 0===e.lineStart?{}:{lineStart:e.lineStart}),...(void 0===e.lineEnd?{}:{lineEnd:e.lineEnd})});if(i.ok){x("opened"),b("opened"),W(h("chat.repository.opened",{path:eh(r)})),P(1800);return;}x("open-refused"),b("failed"),W(i.message);},[B,n,x,e,P,h]),_=(0,$.useCallback)(()=>{if(B(),"choosing"!==k&&(m.current=void 0),void 0===n||0===M.length){b("failed"),W(h("chat.repository.connectFirst")),x("refused");return;}if(0===N.length){b("failed"),W(h("chat.repository.sourceMismatch")),x("refused");return;}if(1===I.length&&!l){let e=I[0];void 0!==e&&z(e);return;}x("choosing"===k?"picker-dismissed":"picker-opened"),b(e=>"choosing"===e?"idle":"choosing"),W(h("chat.repository.chooseSource"));},[I,B,z,n,N.length,x,k,l,M.length,h]),T=(0,$.useCallback)(e=>{var _g$current2;"Escape"===e.key&&"idle"!==k&&("choosing"===k&&(e.preventDefault(),e.stopPropagation(),x("picker-dismissed")),B(),R(),(_g$current2=g.current)===null||_g$current2===void 0?void 0:_g$current2.focus());},[B,x,R,k]),U=(0,$.useCallback)(e=>{if("Escape"===e.key)return T(e);("Enter"===e.key||" "===e.key)&&(e.preventDefault(),_());},[_,T]);if(void 0===n)return(0,S.jsx)("span",{className:em(a),"data-evidence-state":a,title:L(eh(e.label),a,h),children:ep(e,i)});let q="failed"===k;return(0,S.jsxs)("span",{className:"repo-ref",children:[(0,S.jsxs)("button",{ref:g,type:"button",className:(f=void 0===a?"":` ${(_em=em(a))!==null&&_em!==void 0?_em:""}`,`${r}${f}`),"data-evidence-state":a,"aria-label":L(h("chat.repository.openInEditor",{path:function(e,t,n){let r=eh(e);if((0,E.z)(e)!==e&&void 0!==n){let e=eh(n);e===r||r.endsWith(`/${e}`)||(r+=` \xb7 ${e}`);}return void 0===t?r:`${eh(t)} \xb7 ${r}`;}(e.path,o,i),range:void 0===e.lineStart?"":void 0===e.lineEnd||e.lineEnd===e.lineStart?h("chat.repository.line",{start:e.lineStart}):h("chat.repository.lines",{start:e.lineStart,end:e.lineEnd})}),a,h),"aria-expanded":I.length>1||l?"choosing"===k:void 0,"aria-controls":"choosing"===k?p:void 0,"data-state":k,title:L(eh(e.label),a,h),onClick:_,onKeyDown:U,children:[(0,S.jsx)("span",{className:"repo-ref-file-icon","aria-hidden":"true",children:(0,S.jsx)(j.f,{name:e.path})}),(0,S.jsx)("span",{children:ep(e,i)})]}),"choosing"===k?(0,S.jsx)("span",{ref:v,id:p,className:"repo-ref-picker",children:I.map(e=>{let t,n;return(0,S.jsxs)("button",{type:"button",className:"repo-ref-root","aria-label":h("chat.repository.selectSource",{label:void 0===(t=ev(e,I))?e.label:`${e.label} \xb7 ${t}`}),onClick:()=>z(e),onKeyDown:T,children:[(0,S.jsx)("span",{children:e.label}),void 0===(n=ev(e,I))?null:(0,S.jsx)("span",{className:"repo-ref-root-path",children:n})]},e.root);})}):null,y.length>0?(0,S.jsx)("span",{role:q?"alert":"status",className:"repo-ref-status",children:y}):null]});}e.s(["d",0,function({evidence:e,...t}){var _I;let n=N(t.reference,e),r=void 0!==n?P(n,t.roots):(_I=I(t.reference,e,t.roots))!==null&&_I!==void 0?_I:P({},t.roots);return(0,S.jsx)(ex,{...t,...r,requireRootChoice:r.requireRootChoice||void 0!==t.reference.sourceId&&void 0===n,rootRelative:void 0!==n||"matched"===r.citationActivation.reason,evidenceState:void 0===e?void 0:function(e,t,n,_I2){var r,i;let o=ee(e.path);if((void 0===e.sourceId||void 0!==N(e,t))&&t.citations.some(e=>ee(e.scopePath)===o))return"cited";let l=void 0===t.inspectedPaths?1===n.length:((_I2=I(e,t,n))===null||_I2===void 0?void 0:_I2.citationActivation.reason)==="matched",s=t.readPaths.some(e=>ee(e)===o);return l&&s?"read-uncited":(r=t,i=s,!1===r.readStatusVerified||i&&!0===r.readStatusVerified?"unknown":"unread");}(t.reference,e,t.roots)});},"J",0,ex,"i",0,P,"_",0,function(e,t){let n=D.exec(t);if(null===n||!Q(t,n[0].length)&&!el(t,n[0].length)||es(t,n[0].length))return;let r=ec(`${e}${n[0]}`,!0);if((r===null||r===void 0?void 0:r.lineStart)!==void 0)return{reference:r,length:n[0].length};},"D",0,ec,"U",0,eh,"p",0,function(e){let t=new Map([...new Set(e)].map(e=>[e,ef(e,!1)])),n=new Map();for(let e of t.values()){var _n$get;n.set(e,((_n$get=n.get(e))!==null&&_n$get!==void 0?_n$get:0)+1);}let r=new Map([...t].map(([e,t])=>[e,t.split("/")])),i={count:0,children:new Map()};for(let e of r.values())!function(e,t){let n=e,r=[...t];for(let e of(r.reverse(),r)){var _n$children$get;let t=(_n$children$get=n.children.get(e))!==null&&_n$children$get!==void 0?_n$children$get:{count:0,children:new Map()};t.count+=1,n.children.set(e,t),n=t;}}(i,e);return new Map([...r].map(([e,r])=>{var _n$get2,_t$get;return[e,((_n$get2=n.get((_t$get=t.get(e))!==null&&_t$get!==void 0?_t$get:""))!==null&&_n$get2!==void 0?_n$get2:0)>1?ef(e,!0):function(e,t){let n=e,r=[];for(let e of[...t].reverse()){var _n;if(r.push(e),void 0===(n=(_n=n)===null||_n===void 0?void 0:_n.children.get(e))||1===n.count)break;}return r.reverse(),r.join("/");}(i,r)];}));},"K",0,function(e){let t=new Set(),n=[];for(let r of e){let e=r.trim();0===e.length||t.has(e)||(t.add(e),n.push({root:e,label:ed(e)}));}return n;},"V",0,function(e,t){let n=new Map();for(let r of e){var _r$root,_n$get3;let e=(_r$root=r.root)!==null&&_r$root!==void 0?_r$root:t;if(0===e.length)continue;let i=(_n$get3=n.get(e))!==null&&_n$get3!==void 0?_n$get3:{root:e,label:ed(e),scopeFingerprints:[]},o=(0,R._)({...r,root:e});i.scopeFingerprints.includes(o)||i.scopeFingerprints.push(o),n.set(e,i);}return[...n.values()];},"S",0,function e(t){let n=[],r=0,i=new RegExp(F);for(;;){var _o$0$length,_o$;let o=i.exec(t);if(null===o)break;let l=function(t,n,_t$){let r=(_t$=t[0])!==null&&_t$!==void 0?_t$:"";if(r.startsWith("["))return function(t){if((0,E.z)(t)!==t||/(?:^|[\s,])(?:\/|[A-Za-z]:\/|\.\.?\/)/u.test(t)||/\/\.\.?\//u.test(t))return[];if(t.startsWith("source:")){let e=ec(t,!0);return null===e?[]:ea([e]);}let n=t.split(","),r=n.map(e=>ec(e.trim(),!0));if(n.length>1&&r.every(e=>null!==e))return ea(r);if(/[\0-\x1F\x7F-\x9F]/u.test(t))return[];let i=ec(t.trim(),!0);if(null!==i)return ea([i]);let o=e(t);return 0===o.filter(e=>"reference"===e.kind).length?[]:[{kind:"text",text:"["},...o,{kind:"text",text:"]"}];}(r.slice(1,-1));let i=eu(t,n);return null===i?[]:ea([i]);}(o,t);0!==l.length&&(o.index>r&&n.push({kind:"text",text:t.slice(r,o.index)}),n.push(...l),r=o.index+((_o$0$length=(_o$=o[0])===null||_o$===void 0?void 0:_o$.length)!==null&&_o$0$length!==void 0?_o$0$length:0));}return 0===r?[{kind:"text",text:t}]:(r<t.length&&n.push({kind:"text",text:t.slice(r)}),n);},"e",0,ed,"Z",0,function(e){let t=[],n=0;for(let r of x(e))t.push(ei(e.slice(n,r.start)),e.slice(r.start,r.end)),n=r.end;return t.push(ei(e.slice(n))),t.join("");}],64344);},74894,e=>{let t=/(^|[^A-Za-z0-9._~:/-])\/(?!\/)(?=[^\n\r"'`<>]*\/)[^\n\r"'`<>]+/gu,n=/(^|[^A-Za-z0-9._~:/-])[A-Za-z]:[\\/](?=[^\n\r"'`<>]*[\\/])[^\n\r"'`<>]+/gu,r=/(^|[^A-Za-z0-9._~:/-])(?:\\\\|\/\/)(?=[^\n\r"'`<>]*[\\/])[^\n\r"'`<>]+/gu,i=["user","assistant","system"];function o(e){return e<=31||e>=127&&e<=159;}function l(e){var t;return 1564===e||e>=8203&&e<=8207||e>=8234&&e<=8238||e>=8288&&e<=8303||e>=8294&&e<=8297||65279===e||9!==e&&10!==e&&13!==e&&o(e)||8232===(t=e)||8233===t;}function s(e,t,n){let r=t;for(;r<n;){let t=e[r];if(" "!==t&&" "!==t&&"\f"!==t&&"\v"!==t)break;r+=1;}return r;}function u(e,t,n,r){return!(t+r.length>n)&&e.slice(t,t+r.length).toLowerCase()===r;}e.s(["f",0,function(e){return e.replace(t,(e,t)=>`${t}[REDACTED_PATH]`).replace(n,(e,t)=>`${t}[REDACTED_PATH]`).replace(r,(e,t)=>`${t}[REDACTED_PATH]`)!==e;},"d",0,function(e){let t=0;for(let o=0;o<=e.length;o+=1)if(function(e,t){if(t===e.length)return!0;let n=e[t];return"\n"===n||"\r"===n;}(e,o)){var n,r;if(function(e,t,n){let r=s(e,t,n);return!!function(e,t,n){return i.some(r=>{if(!u(e,t,n,r))return!1;let i=s(e,t+r.length,n);return i<n&&":"===e[i];});}(e,r,n)||!(!u(e,r,n,"role")||(r=s(e,r+4,n))>=n||":"!==e[r])&&(r=s(e,r+1,n),i.some(t=>u(e,r,n,t)&&function(e,t,n,_e$codePointAt){if(t>=n)return!0;let r=(_e$codePointAt=e.codePointAt(t))!==null&&_e$codePointAt!==void 0?_e$codePointAt:0;return!(r>=48&&r<=57)&&!(r>=65&&r<=90)&&95!==r&&!(r>=97&&r<=122);}(e,r+t.length,n)));}(e,t,o))return!0;n=e,(r=o)+1<n.length&&"\r"===n[r]&&"\n"===n[r+1]&&(o+=1),t=o+1;}return!1;},"u",0,function(e){for(let t of e){var _t$codePointAt;if(o((_t$codePointAt=t.codePointAt(0))!==null&&_t$codePointAt!==void 0?_t$codePointAt:0))return!0;}return!1;},"z",0,function(e){let t=!1;for(let n of e){var _n$codePointAt;if(l((_n$codePointAt=n.codePointAt(0))!==null&&_n$codePointAt!==void 0?_n$codePointAt:0)){t=!0;break;}}if(!t)return e;let n="";for(let t of e){var _t$codePointAt2;l((_t$codePointAt2=t.codePointAt(0))!==null&&_t$codePointAt2!==void 0?_t$codePointAt2:0)||(n+=t);}return n;}]);},98729,e=>{var t=e.i(43476);let n=e.i(17161).f.file,r=[{test:e=>"dockerfile"===e||e.includes("docker-compose")||e.endsWith(".dockerignore"),key:"docker"},{test:e=>e.endsWith(".json"),key:"json"},{test:e=>e.endsWith(".yml")||e.endsWith(".yaml"),key:"yaml"},{test:e=>e.endsWith(".md"),key:"markdown"},{test:e=>e.endsWith(".properties")||e.endsWith(".env")||e.startsWith(".env."),key:"properties"},{test:e=>e.endsWith(".java"),key:"java"},{test:e=>e.endsWith(".tsx"),key:"react"},{test:e=>e.endsWith(".ts"),key:"typescript"},{test:e=>e.endsWith(".jsx")||e.endsWith(".js")||e.endsWith(".mjs")||e.endsWith(".cjs"),key:"javascript"},{test:e=>e.endsWith(".py"),key:"python"},{test:e=>e.endsWith(".go"),key:"go"},{test:e=>e.endsWith(".rs"),key:"rust"},{test:e=>e.endsWith(".gradle"),key:"gradle"},{test:e=>e.endsWith(".sql"),key:"postgresql"},{test:e=>e.endsWith(".html"),key:"html5"},{test:e=>e.endsWith(".css"),key:"css3"},{test:e=>e.endsWith(".graphql")||e.endsWith(".gql"),key:"graphql"},{test:e=>e.endsWith(".png")||e.endsWith(".jpg")||e.endsWith(".jpeg")||e.endsWith(".gif")||e.endsWith(".webp")||e.endsWith(".svg"),key:"image"}];e.s(["f",0,function({name:e,icon:i}){let o,l,s=i!==null&&i!==void 0?i:(o=e.toLowerCase(),(l=r.find(({test:e})=>e(o)))?l.key:null);return null!==s?(0,t.jsx)("img",{className:"fi-img",src:`/assets/icons/${s}.svg`,width:"15",height:"15",alt:""}):(0,t.jsx)("span",{className:"fi-fallback",children:(0,t.jsx)(n,{size:14})});}]);}],66885,e=>{e.v({cmpCited:"owr6ga_cmpCited",cmpReadUncited:"owr6ga_cmpReadUncited",cmpUnread:"owr6ga_cmpUnread"});}]);
1
+ function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==typeof i?i:i+"";}function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===e?String:Number)(t);}(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[71166,64344,e=>{let t=new Set(["[","【","["]),n=new Set(["]","】","]"]),r=new Set([",",";",",",";","、"]),i=new Set([" "," "," "," "]);function o(e,t){let n=t;for(;i.has(e.charAt(n));)n+=1;return n;}function l(e,t,n){let r=t;for(;e.charAt(r)===n;)r+=1;return r-t;}let s=/^(`{3,}|~{3,})/u,u=/^(`{3,}|~{3,})\s*$/u,a=/^#{1,6} .+$/u,c=/^#{1,6} /u,d=/^(?:-{3,}|\*{3,}|_{3,})$/u,f=/^ *(?:[*+-]|\d{1,9}\.) /u,h=/^ *> ?/u,p=/^-+$/u;function g(e){return e.trimStart().startsWith("> ")||">"===e.trim();}function v(e,t){let n=e.text.indexOf("|");for(;-1!==n;)t.inline.push(e.start+n),n=e.text.indexOf("|",n+1);}class m{constructor(e,t){_defineProperty(this,"startsByLength",new Map());_defineProperty(this,"cursorByLength",new Map());_defineProperty(this,"blockBreaks",void 0);_defineProperty(this,"breakCursor",0);let n=e.indexOf("`");for(;-1!==n;){var _this$startsByLength$;let t=l(e,n,"`"),r=(_this$startsByLength$=this.startsByLength.get(t))!==null&&_this$startsByLength$!==void 0?_this$startsByLength$:[];r.push(n),this.startsByLength.set(t,r),n=e.indexOf("`",n+t);}this.blockBreaks=t;}closingEnd(e,t){var _this$startsByLength$2,_this$cursorByLength$;let n=(_this$startsByLength$2=this.startsByLength.get(t))!==null&&_this$startsByLength$2!==void 0?_this$startsByLength$2:[],r=(_this$cursorByLength$=this.cursorByLength.get(t))!==null&&_this$cursorByLength$!==void 0?_this$cursorByLength$:0;for(;r<n.length&&((_n$r=n[r])!==null&&_n$r!==void 0?_n$r:0)<=e;){var _n$r;r+=1;}this.cursorByLength.set(t,r);let i=n[r];if(!(void 0===i||this.blockBreakBetween(e,i)))return i+t;}blockBreakBetween(e,t){return this.contextEnd(e,1/0)<t;}contextEnd(e,t){var _this$blockBreaks$thi2;for(;((_this$blockBreaks$thi=this.blockBreaks[this.breakCursor])!==null&&_this$blockBreaks$thi!==void 0?_this$blockBreaks$thi:1/0)<e;){var _this$blockBreaks$thi;this.breakCursor+=1;}return Math.min(t,(_this$blockBreaks$thi2=this.blockBreaks[this.breakCursor])!==null&&_this$blockBreaks$thi2!==void 0?_this$blockBreaks$thi2:t);}}function x(e,t){let n,r,i=(n=function(e){let t=[],n=0,r=e.indexOf("\n");for(;-1!==r;)t.push({text:e.slice(n,r),start:n,newlineBefore:n-1}),n=r+1,r=e.indexOf("\n",n);return t.push({text:e.slice(n),start:n,newlineBefore:n-1}),t;}(e),function e(t,n,r){let i=0;for(;i<t.length;)i=function(t,n,r,i,_t$n$text,_t$n,_s$exec){let o=(_t$n$text=(_t$n=t[n])===null||_t$n===void 0?void 0:_t$n.text)!==null&&_t$n$text!==void 0?_t$n$text:"",l=o.trim(),m=(_s$exec=s.exec(l))===null||_s$exec===void 0?void 0:_s$exec[1];if(void 0!==m){let e,r,o;return e=function(e,t,n){for(let r=t+1;r<e.length;r+=1){var _u$exec$,_u$exec,_e$r$text$trim,_e$r;let t=(_u$exec$=(_u$exec=u.exec((_e$r$text$trim=(_e$r=e[r])===null||_e$r===void 0?void 0:_e$r.text.trim())!==null&&_e$r$text$trim!==void 0?_e$r$text$trim:""))===null||_u$exec===void 0?void 0:_u$exec[1])!==null&&_u$exec$!==void 0?_u$exec$:"";if(t.startsWith(n.charAt(0))&&t.length>=n.length)return r+1;}return e.length;}(t,n,m),r=t[n],o=t[e-1],void 0!==r&&void 0!==o&&i.code.push({start:r.start,end:o.start+o.text.length}),e;}if(""===l||a.test(l)||d.test(l))return n+1;if(g(o)){let o=[],l=n;for(let e=t[l];void 0!==e&&g(e.text);e=t[l]){var _h$exec$0$length,_h$exec;let t=(_h$exec$0$length=(_h$exec=h.exec(e.text))===null||_h$exec===void 0?void 0:_h$exec[0].length)!==null&&_h$exec$0$length!==void 0?_h$exec$0$length:0;o.push({...e,text:e.text.slice(t),start:e.start+t}),l+=1;}if(r<16)return e(o,r+1,i),l;for(let e of o.slice(1))i.joined.add(e.newlineBefore);return l;}if(function(e,t,n,_e$text,_e){let r;return n.includes("|")&&((r=((_e$text=(_e=e[t+1])===null||_e===void 0?void 0:_e.text)!==null&&_e$text!==void 0?_e$text:"").trim()).startsWith("|")&&(r=r.slice(1)),r.endsWith("|")&&(r=r.slice(0,-1)),r.split("|").every(e=>p.test(e.trim().replace(/^:/u,"").replace(/:$/u,""))));}(t,n,l)){let e=t[n];void 0!==e&&v(e,i);let r=n+2;for(let e=t[r];void 0!==e;e=t[r]){let t=e.text.trim();if(""===t||!t.includes("|"))break;v(e,i),r+=1;}return r;}if(f.test(o))return n+1;let x=n+1;for(let e=t[x];void 0!==e&&!function(e){let t=e.trim();return""===t||c.test(t)||e.trimStart().startsWith("> ")||s.test(t)||f.test(e)||d.test(t);}(e.text);e=t[x])i.joined.add(e.newlineBefore),x+=1;return x;}(t,i,n,r);}(n,0,r={joined:new Set(),inline:[],code:[]}),{breaks:[...n.map(e=>e.newlineBefore).filter(e=>e>=0&&!r.joined.has(e)),...r.inline].sort((e,t)=>e-t),code:[...r.code].sort((e,t)=>e.start-t.start)}),o=new m(e,i.breaks),x=[],k=0,b=0;for(;b<e.length;){var _n$start;let n=i.code[k];if(void 0!==n&&b>=n.start){n.end>b&&x.push(n),b=Math.max(b,n.end),k+=1;continue;}b=function(e,t,n,r,i,o){let s=e.indexOf("`",t);if(-1===s||s>=n)return n;let u=l(e,s,"`"),a=r.closingEnd(s,u);return void 0===a?(o!==null&&o!==void 0&&o({start:s,end:r.contextEnd(s,n)},u),s+u):(i.push({start:s,end:a}),a);}(e,b,(_n$start=n===null||n===void 0?void 0:n.start)!==null&&_n$start!==void 0?_n$start:e.length,o,x,t);}return x;}function k(e){let i=[],l=x(e),s=0,u=0;for(;u<e.length;){let a=l[s];if(void 0!==a&&u>=a.start){u=Math.max(u,a.end),s+=1;continue;}if(!t.has(e.charAt(u))){u+=1;continue;}let c=function(e,t){let i=[],l=o(e,t);for(;;){let t=function(e,t){let{digits:n,next:r}=function(e,t){var n;let r=t;for(;1===(n=e.charAt(r)).length&&n>="0"&&n<="9";)r+=1;return{digits:e.slice(t,r),next:r};}(e,t);if(0!==n.length&&Number.isSafeInteger(Number.parseInt(n,10)))return{digits:n,next:r};}(e,l);if(void 0===t)return;i.push(t.digits),l=o(e,t.next);let s=e.charAt(l);if(n.has(s))return{digits:i,end:l+1};if(!r.has(s))return;l=o(e,l+1);}}(e,u+1);if(void 0===c){u+=1;continue;}i.push(function(e,t,n){let r=e.charAt(t),i=e.charAt(n.end-1),o=n.digits.map(e=>({index:Number.parseInt(e,10),marker:`${r}${e}${i}`}));return{start:t,end:n.end,text:e.slice(t,n.end),indices:o.map(e=>e.index),entries:o};}(e,u,c)),u=c.end;}return i;}let b=/ \((\d{1,7}) in total\)$/u;e.s(["C",0,function(e){let t=b.exec(e),n=(t===null||t===void 0?void 0:t[1])===void 0?0/0:Number.parseInt(t[1],10);return Number.isSafeInteger(n)&&n>0?n:void 0;},"Y",0,function(e){return k(e).flatMap(e=>e.indices);},"M",0,k,"y",0,x],71166);var S=e.i(43476),w=e.i(85912),$=e.i(71645),y=e.i(66885),j=e.i(98729),W=e.i(10158),C=e.i(20081),A=e.i(24541),E=e.i(74894),R=e.i(88193);function P(e,t){var n;let r=e.sourceScopeFingerprint,i=(0,R.$)(r)?t.filter(e=>{var _e$scopeFingerprints;return((_e$scopeFingerprints=e.scopeFingerprints)===null||_e$scopeFingerprints===void 0?void 0:_e$scopeFingerprints.includes(r))===!0;}):[],o=(n=i.length,void 0===r?"absent":(0,R.$)(r)?1===n?"matched":0===n?"unmatched":"ambiguous":"malformed"),l={reason:o,rootCount:t.length,matchCount:i.length};return"matched"===o?{roots:i,requireRootChoice:!1,citationActivation:l}:{roots:t,requireRootChoice:"absent"!==o||t.length>1,citationActivation:l};}let B={cited:"cmpCited","read-uncited":"cmpReadUncited",unread:"cmpUnread",unknown:"cmpUnread"},M={cited:"grounded.reference.cited","read-uncited":"grounded.reference.readUncited",unread:"grounded.reference.unread",unknown:"grounded.reference.unknown"};function L(e,t,n){return void 0===t?e:`${e} \xb7 ${n(M[t])}`;}function N(e,t){var _t$citations$filter;let n=(_t$citations$filter=t===null||t===void 0?void 0:t.citations.filter(t=>{var _r$lineEnd;var n,r;return ee(t.scopePath)===ee(e.path)&&(void 0===e.sourceId||t.sourceId===e.sourceId)&&(n=t,void 0===(r=e).lineStart||void 0!==n.lineRange&&r.lineStart>=n.lineRange.startLine&&((_r$lineEnd=r.lineEnd)!==null&&_r$lineEnd!==void 0?_r$lineEnd:r.lineStart)<=n.lineRange.endLine);}))!==null&&_t$citations$filter!==void 0?_t$citations$filter:[];return 1===new Set(n.map(e=>e.sourceScopeFingerprint)).size?n[0]:void 0;}function I(e,t,n){var _t$inspectedPaths$fil,_t$inspectedPaths,_r$;let r=(_t$inspectedPaths$fil=t===null||t===void 0||(_t$inspectedPaths=t.inspectedPaths)===null||_t$inspectedPaths===void 0?void 0:_t$inspectedPaths.filter(t=>ee(t.scopePath)===ee(e.path)))!==null&&_t$inspectedPaths$fil!==void 0?_t$inspectedPaths$fil:[];if(0===r.length)return;let i=P({sourceScopeFingerprint:1===new Set(r.map(e=>e.sourceScopeFingerprint)).size?(_r$=r[0])===null||_r$===void 0?void 0:_r$.sourceScopeFingerprint:void 0},n);return{...i,requireRootChoice:"matched"!==i.citationActivation.reason};}let z=String.raw`[\p{L}\p{N}\p{M}_.-]{1,255}`,_=String.raw`(?:${z}\/){0,1000}${z}\.[A-Za-z0-9][A-Za-z0-9]{0,15}`,T=String.raw`[ \t\u00a0\u202f]{0,64}`;function U(e,t=String.raw`[\u00a0\u202f]{0,64}`){let n=e?String.raw`(\d{1,7})`:String.raw`\d{1,7}`;return String.raw`${T}:${t}${n}(?:${T}[-\u2010-\u2014\u2212]${T}${n})?`;}let q=U(!0),D=RegExp(`^${q}`,"u"),F=RegExp(String.raw`\[[^\[\]]{1,4096}\]|@?(${_})(?:${q})?`,"gu"),O=RegExp(String.raw`^@?([^:\r\n]{1,4096}?)(?:${U(!0,T)})?$`,"u"),Z=`@?${_}(?:${U(!1)})?`,K=RegExp(String.raw`\[\s*(${Z})\s*\]`,"giu"),V=String.raw`\[source:[^\[\]]+\]`,H=RegExp(String.raw`\[\s*(${Z})\s*\]\s*(?:${V}\s*)?(${Z})`,"giu"),J=RegExp(String.raw`(${Z})\s+(?:${V}\s*)?(${Z})`,"giu"),Y=RegExp(V,"giu"),G=new Set(["astro","bash","c","cc","cjs","config","cpp","cs","css","csv","cts","go","gradle","h","hpp","htm","html","ini","java","js","json","jsonc","jsx","kt","kts","less","lock","lua","md","mdx","mjs","mts","php","py","rb","rs","sass","scala","scss","sh","sql","svelte","swift","toml","ts","tsx","txt","vue","xml","yaml","yml","zsh"]);function Q(e,t){if(t>=e.length)return!0;let n=e.slice(t,t+2);return!/^[\$\+\x2D\/-:A-Z\^-z~\xA2-\xA5\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u060B\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F9\u09FB\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BF2\u0BF9\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5C\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDC-\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D63\u0D66-\u0D78\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E3F-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DB-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2010-\u2014\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u20A0-\u20C1\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2212\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827\uA82C\uA830-\uA835\uA838\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE00-\uFE0F\uFE20-\uFE2F\uFE69\uFE70-\uFE74\uFE76-\uFEFC\uFF04\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0\uFFE1\uFFE5\uFFE6\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10107}-\u{10133}\u{10140}-\u{10178}\u{1018A}\u{1018B}\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{103D1}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10858}-\u{10876}\u{10879}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A60}-\u{10A7E}\u{10A80}-\u{10A9F}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE6}\u{10AEB}-\u{10AEF}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D69}-\u{10D6D}\u{10D6F}-\u{10D85}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}\u{10EAC}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10EFA}-\u{10F27}\u{10F30}-\u{10F54}\u{10F70}-\u{10F85}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11000}-\u{11046}\u{11052}-\u{11075}\u{1107F}-\u{110BA}\u{110C2}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{1113F}\u{11144}-\u{11147}\u{11150}-\u{11173}\u{11176}\u{11180}-\u{111C4}\u{111C9}-\u{111CC}\u{111CE}-\u{111DA}\u{111DC}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{11237}\u{1123E}-\u{11241}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D3}\u{113E1}\u{113E2}\u{11400}-\u{1144A}\u{11450}-\u{11459}\u{1145E}-\u{11461}\u{11480}-\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115C0}\u{115D8}-\u{115DD}\u{11600}-\u{11640}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116B8}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{1173B}\u{11740}-\u{11746}\u{11800}-\u{1183A}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11943}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E1}\u{119E3}\u{119E4}\u{11A00}-\u{11A3E}\u{11A47}\u{11A50}-\u{11A99}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11B60}-\u{11B67}\u{11BC0}-\u{11BE0}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C40}\u{11C50}-\u{11C6C}\u{11C72}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11DB0}-\u{11DDB}\u{11DE0}-\u{11DE9}\u{11EE0}-\u{11EF6}\u{11F00}-\u{11F10}\u{11F12}-\u{11F3A}\u{11F3E}-\u{11F42}\u{11F50}-\u{11F5A}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FDD}-\u{11FE0}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13440}-\u{13455}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF4}\u{16B00}-\u{16B36}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16D70}-\u{16D79}\u{16E40}-\u{16E96}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FE4}\u{16FF0}-\u{16FF6}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9D}\u{1BC9E}\u{1CCF0}-\u{1CCF9}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E030}-\u{1E06D}\u{1E08F}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E4D0}-\u{1E4F9}\u{1E5D0}-\u{1E5FA}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6F5}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1EC71}-\u{1ECAB}\u{1ECAD}-\u{1ECB4}\u{1ED01}-\u{1ED2D}\u{1ED2F}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10C}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}\u{E0100}-\u{E01EF}]/u.test(n);}function X(e){let t=e.length;for(;t>0&&"/"===e[t-1];)t-=1;return e.slice(0,t);}function ee(e){return X(function(e){let t=0;for(;t<e.length&&"/"===e[t];)t+=1;return e.slice(t);}(e.replaceAll("\\","/")));}function et(e){var _e$lineStart$toString,_e$lineStart,_e$lineEnd$toString,_e$lineEnd;return null===e?null:[e.path.toLowerCase(),(_e$lineStart$toString=(_e$lineStart=e.lineStart)===null||_e$lineStart===void 0?void 0:_e$lineStart.toString())!==null&&_e$lineStart$toString!==void 0?_e$lineStart$toString:"",(_e$lineEnd$toString=(_e$lineEnd=e.lineEnd)===null||_e$lineEnd===void 0?void 0:_e$lineEnd.toString())!==null&&_e$lineEnd$toString!==void 0?_e$lineEnd$toString:""].join(":");}function en(e,t,n){let r=et(ec(e)),i=et(ec(t));return null!==r&&r===i?e:n;}function er(e){let t=e.slice(1,-1),n=t.slice(t.indexOf(":")+1).trim();return /^source:[^|]*\|/u.test(t)?e:null===ec(n,!0)?"":e;}function ei(e){return e.replace(H,(e,t,n)=>en(t,n,e.replace(Y,er))).replace(J,(e,t,n)=>en(t,n,e.replace(Y,er))).replace(K,(e,t)=>null===ec(t)?e:t).replace(Y,er).split(/(\[[^[\]]{1,4096}\])/gu).map(e=>e.startsWith("[")&&e.endsWith("]")?e:e.replace(/[ \t]{2,}/gu," ").replace(/[ \t]([,.;:!?])/gu,"$1")).join("");}function eo(e){if(void 0===e)return;let t=Number.parseInt(e,10);return Number.isSafeInteger(t)&&t>0?t:void 0;}function el(e,t){return /^[:\u2010-\u2014\u2212-][ \t\u00a0\u202f]{1,64}[^\d\s]/u.test(e.slice(t,t+131));}function es(e,t){if(el(e,t))return!1;let n=e.slice(t,t+131);return /^[:\u2010-\u2014\u2212-]/u.test(n)||/^[ \t\u00a0\u202f]{1,64}[:\u2010-\u2014\u2212-][ \t\u00a0\u202f]{0,64}\d/u.test(n);}function eu(e,t){var _e$,_e$2;let n,r=(_e$=e[0])!==null&&_e$!==void 0?_e$:"";if(n=e.index+e[0].length,!(function(e,t){if(t<=0)return!0;let n=e.slice(Math.max(0,t-2),t);return!/[\$\+\x2D-:@-Z\^-z~\xA2-\xA5\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u060B\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088F\u0897-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F9\u09FB\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BF2\u0BF9\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5C\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDC-\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D63\u0D66-\u0D78\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E3F-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DB-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u20A0-\u20C1\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA827\uA82C\uA830-\uA835\uA838\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE00-\uFE0F\uFE20-\uFE2F\uFE69\uFE70-\uFE74\uFE76-\uFEFC\uFF04\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0\uFFE1\uFFE5\uFFE6\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10107}-\u{10133}\u{10140}-\u{10178}\u{1018A}\u{1018B}\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{103D1}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10858}-\u{10876}\u{10879}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A60}-\u{10A7E}\u{10A80}-\u{10A9F}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE6}\u{10AEB}-\u{10AEF}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D69}-\u{10D6D}\u{10D6F}-\u{10D85}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EAB}\u{10EAC}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10EFA}-\u{10F27}\u{10F30}-\u{10F54}\u{10F70}-\u{10F85}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11000}-\u{11046}\u{11052}-\u{11075}\u{1107F}-\u{110BA}\u{110C2}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{1113F}\u{11144}-\u{11147}\u{11150}-\u{11173}\u{11176}\u{11180}-\u{111C4}\u{111C9}-\u{111CC}\u{111CE}-\u{111DA}\u{111DC}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{11237}\u{1123E}-\u{11241}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}-\u{113C0}\u{113C2}\u{113C5}\u{113C7}-\u{113CA}\u{113CC}-\u{113D3}\u{113E1}\u{113E2}\u{11400}-\u{1144A}\u{11450}-\u{11459}\u{1145E}-\u{11461}\u{11480}-\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115C0}\u{115D8}-\u{115DD}\u{11600}-\u{11640}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116B8}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{1173B}\u{11740}-\u{11746}\u{11800}-\u{1183A}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{11943}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E1}\u{119E3}\u{119E4}\u{11A00}-\u{11A3E}\u{11A47}\u{11A50}-\u{11A99}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11B60}-\u{11B67}\u{11BC0}-\u{11BE0}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C40}\u{11C50}-\u{11C6C}\u{11C72}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11DB0}-\u{11DDB}\u{11DE0}-\u{11DE9}\u{11EE0}-\u{11EF6}\u{11F00}-\u{11F10}\u{11F12}-\u{11F3A}\u{11F3E}-\u{11F42}\u{11F50}-\u{11F5A}\u{11FB0}\u{11FC0}-\u{11FD4}\u{11FDD}-\u{11FE0}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13440}-\u{13455}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF4}\u{16B00}-\u{16B36}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16D70}-\u{16D79}\u{16E40}-\u{16E96}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FE4}\u{16FF0}-\u{16FF6}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9D}\u{1BC9E}\u{1CCF0}-\u{1CCF9}\u{1CF00}-\u{1CF2D}\u{1CF30}-\u{1CF46}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E030}-\u{1E06D}\u{1E08F}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AE}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E4D0}-\u{1E4F9}\u{1E5D0}-\u{1E5FA}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6F5}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1EC71}-\u{1ECAB}\u{1ECAD}-\u{1ECB4}\u{1ED01}-\u{1ED2D}\u{1ED2F}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10C}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}\u{E0100}-\u{E01EF}]$/u.test(n);}(t,e.index)&&(Q(t,n)||void 0!==e[2]&&el(t,n)))||void 0!==e[2]&&es(t,n))return null;let i=(_e$2=e[1])!==null&&_e$2!==void 0?_e$2:"";if(!function(e,_e$split$at,_t$split$pop$toLowerC,_t$split$pop){if(!(0,W.V)(e)||(0,E.z)(e)!==e||/[\0-\x1F\x7F-\x9F]/u.test(e)||/[*?{}<>|"]/u.test(e)||e.startsWith("$")||e.startsWith(".")||e.includes("..")||!e.includes("."))return!1;let t=(_e$split$at=e.split("/").at(-1))!==null&&_e$split$at!==void 0?_e$split$at:"",n=(_t$split$pop$toLowerC=(_t$split$pop=t.split(".").pop())===null||_t$split$pop===void 0?void 0:_t$split$pop.toLowerCase())!==null&&_t$split$pop$toLowerC!==void 0?_t$split$pop$toLowerC:"";return G.has(n);}(i))return null;let o=eo(e[2]),l=eo(e[3]);if(void 0===e[2]?void 0!==e[3]:void 0===o||void 0!==e[3]&&(void 0===l||!(l>=o)))return null;let s=l!==null&&l!==void 0?l:o;return{label:r,path:i,...(void 0===o?{}:{lineStart:o}),...(void 0===s?{}:{lineEnd:s})};}function ea(e){let t=[];for(let n of e)t.length>0&&t.push({kind:"text",text:", "}),t.push({kind:"reference",reference:n});return t;}function ec(e,t=!1){var _r,_r$0$length,_r$2,_r$3;var n;let r,i=function(e){if(!e.startsWith("source:"))return{source:e};let t=/^source:([1-9]\d{0,15})\|/u.exec(e),n=t===null||t===void 0?void 0:t[1];return null!==t&&void 0!==n&&Number.isSafeInteger(Number(n))?{source:e.slice(t[0].length),sourceId:n}:null;}(e);if(null===i)return null;let o=(n=i.source,r=O.exec(n),((_r=r)===null||_r===void 0?void 0:_r.index)!==0||((_r$0$length=(_r$2=r[0])===null||_r$2===void 0?void 0:_r$2.length)!==null&&_r$0$length!==void 0?_r$0$length:0)!==n.length||!t&&/\s/u.test((_r$3=r[1])!==null&&_r$3!==void 0?_r$3:"")?null:eu(r,n));return null===o?null:{...o,label:e,...(void 0===i.sourceId?{}:{sourceId:i.sourceId})};}function ed(e){var _X$split$filter$at;return(_X$split$filter$at=X(e.replaceAll("\\","/")).split("/").filter(e=>e.length>0).at(-1))!==null&&_X$split$filter$at!==void 0?_X$split$filter$at:e;}function ef(e,t){return eh(Array.from(e,e=>function(e,t){let n="⟦"===e||"⟧"===e,r=t&&((0,E.z)(e)!==e||/[\0-\x1F\x7F-\x9F]/u.test(e));if(!n&&!r)return e;let i=e.codePointAt(0);if(void 0===i)throw TypeError("Missing reference label code point");return`⟦U+${i.toString(16).toUpperCase().padStart(4,"0")}⟧`;}(e,t)).join(""));}function eh(e){return(0,E.z)(e).replaceAll(" ","␉").replaceAll("\r","␍").replaceAll("\n","␊");}function ep(e,t){var _ref;let n=e.path.split("/");n.reverse();let r=eh((_ref=t!==null&&t!==void 0?t:n.find(Boolean))!==null&&_ref!==void 0?_ref:e.path);return void 0===e.lineStart?r:void 0===e.lineEnd||e.lineEnd===e.lineStart?`${r}:${String(e.lineStart)}`:`${r}:${String(e.lineStart)}-${String(e.lineEnd)}`;}function eg(e,t){let n=ee(e),r=ee(ed(t));return r.length>0&&n.startsWith(`${r}/`)?n.slice(r.length+1):n;}function ev(e,t){if(t.filter(t=>t.label===e.label).length>1)return eh(e.root);let n=X(e.root.replaceAll("\\","/")).split("/").filter(e=>e.length>0).slice(-2).join("/");return n===e.label?void 0:n;}function em(e){return void 0===e?void 0:y.default[B[e]];}function ex({reference:e,roots:t,openReference:n,className:r="repo-ref-link",displayPath:i,sourceLabel:o,requireRootChoice:l=!1,rootRelative:s,citationActivation:u,evidenceState:a}){var _em;let c,d,f,h=(0,w.a)(),p=(0,$.useId)(),g=(0,$.useRef)(null),v=(0,$.useRef)(null),m=(0,$.useRef)(void 0),x=(0,$.useCallback)(e=>{var _m$current;void 0!==u&&((_m$current=m.current)!==null&&_m$current!==void 0?_m$current:m.current=(0,C.y)(),(0,A.v)("[keiko] citation activation settled",{correlationId:m.current,citationActivation:{...u,outcome:e}}));},[u]),[k,b]=(0,$.useState)("idle"),[y,W]=(0,$.useState)(""),R=(0,$.useCallback)(()=>{b("idle"),W("");},[]),{schedule:P,clear:B}=(c=(0,$.useRef)(void 0),d=(0,$.useCallback)(()=>{void 0!==c.current&&(window.clearTimeout(c.current),c.current=void 0);},[]),(0,$.useEffect)(()=>d,[d]),{schedule:(0,$.useCallback)(e=>{d(),c.current=window.setTimeout(()=>{c.current=void 0,R();},e);},[R,d]),clear:d}),M=(0,$.useMemo)(()=>{let e=new Set(),n=[];for(let r of t){let t=r.root.trim();if(0===t.length||e.has(t))continue;e.add(t);let i=r.label.trim();n.push({root:t,label:i.length>0?i:ed(t)});}return n;},[t]),N=(0,$.useMemo)(()=>l||s?M.map(t=>({...t,openPath:s?ee(e.path):eg(e.path,t.root)})):M.filter(t=>{var _ee$split$;var n;let r,i;return n=e.path,null===(i=void 0===(r=(_ee$split$=ee(n).split("/")[0])===null||_ee$split$===void 0?void 0:_ee$split$.toLocaleLowerCase())||0===r.length?null:M.some(e=>ed(e.root).toLocaleLowerCase()===r)?r:null)||ed(t.root).toLocaleLowerCase()===i;}).map(t=>({...t,openPath:eg(e.path,t.root)})).sort((e,t)=>e.openPath.length-t.openPath.length||e.root.localeCompare(t.root)),[e,l,M,s]),I=(0,$.useMemo)(()=>{if(l)return N;let e=N[0];return void 0===e?[]:N.filter(t=>t.openPath.length===e.openPath.length);},[N,l]),z=(0,$.useCallback)(t=>{var _v$current,_g$current;if(void 0===n)return;B(),((_v$current=v.current)===null||_v$current===void 0?void 0:_v$current.contains(document.activeElement))&&((_g$current=g.current)===null||_g$current===void 0?void 0:_g$current.focus());let r=t.openPath;b("opening"),W(h("chat.repository.opening",{path:eh(r)}));let i=n({root:t.root,path:r,...(void 0===e.lineStart?{}:{lineStart:e.lineStart}),...(void 0===e.lineEnd?{}:{lineEnd:e.lineEnd})});if(i.ok){x("opened"),b("opened"),W(h("chat.repository.opened",{path:eh(r)})),P(1800);return;}x("open-refused"),b("failed"),W(i.message);},[B,n,x,e,P,h]),_=(0,$.useCallback)(()=>{if(B(),"choosing"!==k&&(m.current=void 0),void 0===n||0===M.length){b("failed"),W(h("chat.repository.connectFirst")),x("refused");return;}if(0===N.length){b("failed"),W(h("chat.repository.sourceMismatch")),x("refused");return;}if(1===I.length&&!l){let e=I[0];void 0!==e&&z(e);return;}x("choosing"===k?"picker-dismissed":"picker-opened"),b(e=>"choosing"===e?"idle":"choosing"),W(h("chat.repository.chooseSource"));},[I,B,z,n,N.length,x,k,l,M.length,h]),T=(0,$.useCallback)(e=>{var _g$current2;"Escape"===e.key&&"idle"!==k&&("choosing"===k&&(e.preventDefault(),e.stopPropagation(),x("picker-dismissed")),B(),R(),(_g$current2=g.current)===null||_g$current2===void 0?void 0:_g$current2.focus());},[B,x,R,k]),U=(0,$.useCallback)(e=>{if("Escape"===e.key)return T(e);("Enter"===e.key||" "===e.key)&&(e.preventDefault(),_());},[_,T]);if(void 0===n)return(0,S.jsx)("span",{className:em(a),"data-evidence-state":a,title:L(eh(e.label),a,h),children:ep(e,i)});let q="failed"===k;return(0,S.jsxs)("span",{className:"repo-ref",children:[(0,S.jsxs)("button",{ref:g,type:"button",className:(f=void 0===a?"":` ${(_em=em(a))!==null&&_em!==void 0?_em:""}`,`${r}${f}`),"data-evidence-state":a,"aria-label":L(h("chat.repository.openInEditor",{path:function(e,t,n){let r=eh(e);if((0,E.z)(e)!==e&&void 0!==n){let e=eh(n);e===r||r.endsWith(`/${e}`)||(r+=` \xb7 ${e}`);}return void 0===t?r:`${eh(t)} \xb7 ${r}`;}(e.path,o,i),range:void 0===e.lineStart?"":void 0===e.lineEnd||e.lineEnd===e.lineStart?h("chat.repository.line",{start:e.lineStart}):h("chat.repository.lines",{start:e.lineStart,end:e.lineEnd})}),a,h),"aria-expanded":I.length>1||l?"choosing"===k:void 0,"aria-controls":"choosing"===k?p:void 0,"data-state":k,title:L(eh(e.label),a,h),onClick:_,onKeyDown:U,children:[(0,S.jsx)("span",{className:"repo-ref-file-icon","aria-hidden":"true",children:(0,S.jsx)(j.f,{name:e.path})}),(0,S.jsx)("span",{children:ep(e,i)})]}),"choosing"===k?(0,S.jsx)("span",{ref:v,id:p,className:"repo-ref-picker",children:I.map(e=>{let t,n;return(0,S.jsxs)("button",{type:"button",className:"repo-ref-root","aria-label":h("chat.repository.selectSource",{label:void 0===(t=ev(e,I))?e.label:`${e.label} \xb7 ${t}`}),onClick:()=>z(e),onKeyDown:T,children:[(0,S.jsx)("span",{children:e.label}),void 0===(n=ev(e,I))?null:(0,S.jsx)("span",{className:"repo-ref-root-path",children:n})]},e.root);})}):null,y.length>0?(0,S.jsx)("span",{role:q?"alert":"status",className:"repo-ref-status",children:y}):null]});}e.s(["d",0,function({evidence:e,...t}){var _I;let n=N(t.reference,e),r=void 0!==n?P(n,t.roots):(_I=I(t.reference,e,t.roots))!==null&&_I!==void 0?_I:P({},t.roots);return(0,S.jsx)(ex,{...t,...r,requireRootChoice:r.requireRootChoice||void 0!==t.reference.sourceId&&void 0===n,rootRelative:void 0!==n||"matched"===r.citationActivation.reason,evidenceState:void 0===e?void 0:function(e,t,n,_I2){var r,i;let o=ee(e.path);if((void 0===e.sourceId||void 0!==N(e,t))&&t.citations.some(e=>ee(e.scopePath)===o))return"cited";let l=void 0===t.inspectedPaths?1===n.length:((_I2=I(e,t,n))===null||_I2===void 0?void 0:_I2.citationActivation.reason)==="matched",s=t.readPaths.some(e=>ee(e)===o);return l&&s?"read-uncited":(r=t,i=s,!1===r.readStatusVerified||i&&!0===r.readStatusVerified?"unknown":"unread");}(t.reference,e,t.roots)});},"J",0,ex,"i",0,P,"_",0,function(e,t){let n=D.exec(t);if(null===n||!Q(t,n[0].length)&&!el(t,n[0].length)||es(t,n[0].length))return;let r=ec(`${e}${n[0]}`,!0);if((r===null||r===void 0?void 0:r.lineStart)!==void 0)return{reference:r,length:n[0].length};},"D",0,ec,"U",0,eh,"p",0,function(e){let t=new Map([...new Set(e)].map(e=>[e,ef(e,!1)])),n=new Map();for(let e of t.values()){var _n$get;n.set(e,((_n$get=n.get(e))!==null&&_n$get!==void 0?_n$get:0)+1);}let r=new Map([...t].map(([e,t])=>[e,t.split("/")])),i={count:0,children:new Map()};for(let e of r.values())!function(e,t){let n=e,r=[...t];for(let e of(r.reverse(),r)){var _n$children$get;let t=(_n$children$get=n.children.get(e))!==null&&_n$children$get!==void 0?_n$children$get:{count:0,children:new Map()};t.count+=1,n.children.set(e,t),n=t;}}(i,e);return new Map([...r].map(([e,r])=>{var _n$get2,_t$get;return[e,((_n$get2=n.get((_t$get=t.get(e))!==null&&_t$get!==void 0?_t$get:""))!==null&&_n$get2!==void 0?_n$get2:0)>1?ef(e,!0):function(e,t){let n=e,r=[];for(let e of[...t].reverse()){var _n;if(r.push(e),void 0===(n=(_n=n)===null||_n===void 0?void 0:_n.children.get(e))||1===n.count)break;}return r.reverse(),r.join("/");}(i,r)];}));},"K",0,function(e){let t=new Set(),n=[];for(let r of e){let e=r.trim();0===e.length||t.has(e)||(t.add(e),n.push({root:e,label:ed(e)}));}return n;},"V",0,function(e,t){let n=new Map();for(let r of e){var _r$root,_n$get3;let e=(_r$root=r.root)!==null&&_r$root!==void 0?_r$root:t;if(0===e.length)continue;let i=(_n$get3=n.get(e))!==null&&_n$get3!==void 0?_n$get3:{root:e,label:ed(e),scopeFingerprints:[]},o=(0,R._)({...r,root:e});i.scopeFingerprints.includes(o)||i.scopeFingerprints.push(o),n.set(e,i);}return[...n.values()];},"S",0,function e(t){let n=[],r=0,i=new RegExp(F);for(;;){var _o$0$length,_o$;let o=i.exec(t);if(null===o)break;let l=function(t,n,_t$){let r=(_t$=t[0])!==null&&_t$!==void 0?_t$:"";if(r.startsWith("["))return function(t){if((0,E.z)(t)!==t||/(?:^|[\s,])(?:\/|[A-Za-z]:\/|\.\.?\/)/u.test(t)||/\/\.\.?\//u.test(t))return[];if(t.startsWith("source:")){let e=ec(t,!0);return null===e?[]:ea([e]);}let n=t.split(","),r=n.map(e=>ec(e.trim(),!0));if(n.length>1&&r.every(e=>null!==e))return ea(r);if(/[\0-\x1F\x7F-\x9F]/u.test(t))return[];let i=ec(t.trim(),!0);if(null!==i)return ea([i]);let o=e(t);return 0===o.filter(e=>"reference"===e.kind).length?[]:[{kind:"text",text:"["},...o,{kind:"text",text:"]"}];}(r.slice(1,-1));let i=eu(t,n);return null===i?[]:ea([i]);}(o,t);0!==l.length&&(o.index>r&&n.push({kind:"text",text:t.slice(r,o.index)}),n.push(...l),r=o.index+((_o$0$length=(_o$=o[0])===null||_o$===void 0?void 0:_o$.length)!==null&&_o$0$length!==void 0?_o$0$length:0));}return 0===r?[{kind:"text",text:t}]:(r<t.length&&n.push({kind:"text",text:t.slice(r)}),n);},"e",0,ed,"Z",0,function(e){let t=[],n=0;for(let r of x(e))t.push(ei(e.slice(n,r.start)),e.slice(r.start,r.end)),n=r.end;return t.push(ei(e.slice(n))),t.join("");}],64344);},74894,e=>{let t=/(^|[^A-Za-z0-9._~:/-])\/(?!\/)(?=[^\n\r"'`<>]*\/)[^\n\r"'`<>]+/gu,n=/(^|[^A-Za-z0-9._~:/-])[A-Za-z]:[\\/](?=[^\n\r"'`<>]*[\\/])[^\n\r"'`<>]+/gu,r=/(^|[^A-Za-z0-9._~:/-])(?:\\\\|\/\/)(?=[^\n\r"'`<>]*[\\/])[^\n\r"'`<>]+/gu,i=["user","assistant","system"];function o(e){return e<=31||e>=127&&e<=159;}function l(e){var t;return 1564===e||e>=8203&&e<=8207||e>=8234&&e<=8238||e>=8288&&e<=8303||e>=8294&&e<=8297||65279===e||9!==e&&10!==e&&13!==e&&o(e)||8232===(t=e)||8233===t;}function s(e,t,n){let r=t;for(;r<n;){let t=e[r];if(" "!==t&&" "!==t&&"\f"!==t&&"\v"!==t)break;r+=1;}return r;}function u(e,t,n,r){return!(t+r.length>n)&&e.slice(t,t+r.length).toLowerCase()===r;}e.s(["f",0,function(e){return e.replace(t,(e,t)=>`${t}[REDACTED_PATH]`).replace(n,(e,t)=>`${t}[REDACTED_PATH]`).replace(r,(e,t)=>`${t}[REDACTED_PATH]`)!==e;},"d",0,function(e){let t=0;for(let o=0;o<=e.length;o+=1)if(function(e,t){if(t===e.length)return!0;let n=e[t];return"\n"===n||"\r"===n;}(e,o)){var n,r;if(function(e,t,n){let r=s(e,t,n);return!!function(e,t,n){return i.some(r=>{if(!u(e,t,n,r))return!1;let i=s(e,t+r.length,n);return i<n&&":"===e[i];});}(e,r,n)||!(!u(e,r,n,"role")||(r=s(e,r+4,n))>=n||":"!==e[r])&&(r=s(e,r+1,n),i.some(t=>u(e,r,n,t)&&function(e,t,n,_e$codePointAt){if(t>=n)return!0;let r=(_e$codePointAt=e.codePointAt(t))!==null&&_e$codePointAt!==void 0?_e$codePointAt:0;return!(r>=48&&r<=57)&&!(r>=65&&r<=90)&&95!==r&&!(r>=97&&r<=122);}(e,r+t.length,n)));}(e,t,o))return!0;n=e,(r=o)+1<n.length&&"\r"===n[r]&&"\n"===n[r+1]&&(o+=1),t=o+1;}return!1;},"u",0,function(e){for(let t of e){var _t$codePointAt;if(o((_t$codePointAt=t.codePointAt(0))!==null&&_t$codePointAt!==void 0?_t$codePointAt:0))return!0;}return!1;},"z",0,function(e){let t=!1;for(let n of e){var _n$codePointAt;if(l((_n$codePointAt=n.codePointAt(0))!==null&&_n$codePointAt!==void 0?_n$codePointAt:0)){t=!0;break;}}if(!t)return e;let n="";for(let t of e){var _t$codePointAt2;l((_t$codePointAt2=t.codePointAt(0))!==null&&_t$codePointAt2!==void 0?_t$codePointAt2:0)||(n+=t);}return n;}]);},98729,e=>{var t=e.i(43476);let n=e.i(17161).f.file,r=[{test:e=>"dockerfile"===e||e.includes("docker-compose")||e.endsWith(".dockerignore"),key:"docker"},{test:e=>e.endsWith(".json"),key:"json"},{test:e=>e.endsWith(".yml")||e.endsWith(".yaml"),key:"yaml"},{test:e=>e.endsWith(".md"),key:"markdown"},{test:e=>e.endsWith(".properties")||e.endsWith(".env")||e.startsWith(".env."),key:"properties"},{test:e=>e.endsWith(".java"),key:"java"},{test:e=>e.endsWith(".tsx"),key:"react"},{test:e=>e.endsWith(".ts"),key:"typescript"},{test:e=>e.endsWith(".jsx")||e.endsWith(".js")||e.endsWith(".mjs")||e.endsWith(".cjs"),key:"javascript"},{test:e=>e.endsWith(".py"),key:"python"},{test:e=>e.endsWith(".go"),key:"go"},{test:e=>e.endsWith(".rs"),key:"rust"},{test:e=>e.endsWith(".gradle"),key:"gradle"},{test:e=>e.endsWith(".sql"),key:"postgresql"},{test:e=>e.endsWith(".html"),key:"html5"},{test:e=>e.endsWith(".css"),key:"css3"},{test:e=>e.endsWith(".graphql")||e.endsWith(".gql"),key:"graphql"},{test:e=>e.endsWith(".png")||e.endsWith(".jpg")||e.endsWith(".jpeg")||e.endsWith(".gif")||e.endsWith(".webp")||e.endsWith(".svg"),key:"image"}];e.s(["f",0,function({name:e,icon:i}){let o,l,s=i!==null&&i!==void 0?i:(o=e.toLowerCase(),(l=r.find(({test:e})=>e(o)))?l.key:null);return null!==s?(0,t.jsx)("img",{className:"fi-img",src:`/assets/icons/${s}.svg`,width:"15",height:"15",alt:""}):(0,t.jsx)("span",{className:"fi-fallback",children:(0,t.jsx)(n,{size:14})});}]);}],66885,e=>{e.v({cmpCited:"owr6ga_cmpCited",cmpReadUncited:"owr6ga_cmpReadUncited",cmpUnread:"owr6ga_cmpUnread"});}]);
@@ -1 +1 @@
1
- function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==typeof i?i:i+"";}function _toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95508,62156,e=>{"use strict";let t,i,o,r,n,a;var s=e.i(57269);let c=Object.freeze(["governed-assist","supervised-coding","autonomous-delivery"]),d=Object.freeze(["keiko-sidecar","codex-cli-adapter","delivery-runner"]),p=Object.freeze(["keiko-model-gateway","openai-api-key-through-gateway","chatgpt-codex-subscription-profile"]),u=Object.freeze(["workspace-read","workspace-write","command-execution","verification","connector-access","network-egress","delivery-substrate"]),l=Object.freeze(["source-control.read","source-control.write","issue-tracker.read","issue-tracker.write","knowledge-base.read","knowledge-base.write"]);Object.freeze(["deny-all","governed-egress","connector-scoped-egress"]),Object.freeze(["human-approval","branch-allowlist","verification-green","policy-review","artifact-review"]),Object.freeze(["deny","allowlisted","governed"]);let f=Object.freeze(["ready","busy","degraded","stopped"]),y=Object.freeze(["status","tool","verification","permission","question"]),h=Object.freeze(["workspace-write","command-execution","network-egress","connector-access","delivery-substrate"]),m=Object.freeze(["file-edit","git-stage","verification-command","ci-observe","connector-read","research","commit","push","pull-request","merge","connector-write","external-write","system-mutation"]),g=Object.freeze(["low","medium","high","critical"]);Object.freeze(["allowed","approval-required","denied"]),Object.freeze(["workspace-contained","external-file","internet","delivery"]);let v=Object.freeze(["scoped-file-edit","out-of-scope-file-edit","allowlisted-verification-command","unknown-command-denied","mutating-command-denied","approval-required","approval-proof-missing","approval-proof-stale","approval-proof-accepted","operator-denied","operator-stopped","redacted-failure"]),S=Object.freeze(["runtime-started","runtime-stopped","runtime-health","task-submitted","observation-streamed","native-retry-changed","permission-requested","diff-summarized","verification-summarized","artifact-produced","research-performed","skill-invoked","child-run-started","child-run-completed","operator-decision","failure-redacted"]),w=Object.freeze(["accepted","denied","unavailable","limit-reached","stopped"]),O=Object.freeze(["workspace-script-trust"]),b=Object.freeze(["untrusted"]);Object.freeze(["workspace-read-denied","workspace-write-denied","command-execution-denied","verification-denied","connector-access-denied","connector-write-denied","network-denied","delivery-denied"]),(0,s.f)({"governed-assist":{allowedActionClasses:u,display:{label:"Ask for approval",description:"Reads and planning proceed; workspace edits, commands, external files, and internet use require approval. Delivery remains separately human-approved."},effects:{"workspace-contained":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},"external-file":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},internet:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}},"supervised-coding":{allowedActionClasses:u,display:{label:"Supervised workspace",description:"Routine low- and medium-risk workspace-contained edits, vetted commands, and verification proceed; risky, external-file, and internet actions require approval. Delivery remains separately human-approved."},effects:{"workspace-contained":{low:"allowed",medium:"allowed",high:"approval-required",critical:"approval-required"},"external-file":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},internet:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}},"autonomous-delivery":{allowedActionClasses:u,display:{label:"Full access",description:"File, internet, and accepted Code-task commit, push, and draft pull request operations within the validated Authority Envelope proceed without per-action approval. Merge remains separately approval-gated."},effects:{"workspace-contained":{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},"external-file":{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},internet:{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}}}),Object.freeze({allowed:0,"approval-required":1,denied:2});let T=Object.freeze({"governed-assist":0,"supervised-coding":1,"autonomous-delivery":2});function P(e){return"string"==typeof e&&c.includes(e);}function I(e,t){return T[e]-T[t];}Object.freeze({"workspace-read":"workspace-read-denied","workspace-write":"workspace-write-denied","command-execution":"command-execution-denied",verification:"verification-denied","connector-access":"connector-access-denied","network-egress":"network-denied","delivery-substrate":"delivery-denied"}),e.s(["P",0,u,"p",0,g,"t",0,w,"q",0,l,"K",0,b,"r",0,p,"g",0,c,"E",0,y,"y",0,O,"Q",0,h,"c",0,S,"u",0,f,"x",0,d,"l",0,"1","b",0,m,"D",0,v,"s",0,I,"h",0,P,"C",0,function(e,t){return I(t,e)>0;},"V",0,function(e){if(!function(e){if("object"!=typeof e||null===e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);if(null!==t&&t!==Object.prototype)return!1;let i=Object.getOwnPropertyDescriptors(e);return 2===Reflect.ownKeys(i).length&&Object.hasOwn(i,"attempt")&&Object.hasOwn(i,"scheduledAt")&&Object.values(i).every(e=>"value"in e&&!0===e.enumerable);}(e)||!Number.isSafeInteger(e.attempt)||1>Number(e.attempt))return!1;let t=e.scheduledAt;if("string"!=typeof t||!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/u.test(t))return!1;let i=Date.parse(t);return Number.isFinite(i)&&new Date(i).toISOString()===t;},"z",0,function(e){return"file-edit"===e||"git-stage"===e?"workspace-write":"verification-command"===e||"ci-observe"===e||"connector-read"===e?"command-execution":"research"===e?"network-egress":"connector-write"===e||"external-write"===e?"connector-access":"delivery-substrate";},"F",0,function(e,t){let i=P(e)?e:"governed-assist",o=P(t)?t:"governed-assist";return T[i]<=T[o]?i:o;}],62156);var N=e.i(25327),k=e.i(24541),A=e.i(74952),C=e.i(50850),R=e.i(20081),J=e.i(26428),E=e.i(18829);function x(e,t,i,o=null){var _r$reasons$;let r=i(t);if(r.ok)return t;let n=(_r$reasons$=r.reasons[0])!==null&&_r$reasons$!==void 0?_r$reasons$:"unknown validation failure",a=new E.a("CONTRACT_VALIDATION_FAILED",`BFF response for ${e} failed contract validation: ${n}`,502);throw null!==o&&(a.correlationId=o),a;}function j(e,t){let i=AbortSignal.any;if("function"==typeof i)return i.call(AbortSignal,[e,t]);let o=new AbortController(),r=[e,t],n=new AbortController();for(let e of r){if(e.aborted){o.abort(e.reason),n.abort();break;}e.addEventListener("abort",()=>{o.abort(e.reason),n.abort();},{once:!0,signal:n.signal});}return o.signal;}function D(e,t){var _e$signal;if(t)return(_e$signal=e===null||e===void 0?void 0:e.signal)!==null&&_e$signal!==void 0?_e$signal:null;let i=AbortSignal.timeout(15e3),o=e===null||e===void 0?void 0:e.signal;return null==o?i:j(o,i);}async function U(e,t,i,o){var _t$method;let r=((_t$method=t===null||t===void 0?void 0:t.method)!==null&&_t$method!==void 0?_t$method:"GET").toUpperCase(),n="GET"!==r&&"HEAD"!==r,a=await fetch(e,{...t,signal:D(t,n),headers:void 0!==o?(0,R.E)(t,o):{Accept:"application/json",...(n?{"Content-Type":"application/json"}:{}),...(n?{"X-Keiko-CSRF":"1"}:{}),...(t===null||t===void 0?void 0:t.headers)}});if(!a.ok)throw await q(a);if(204===a.status)return;let s=await a.json(),c=a.headers.get(R.p);return(0,R.O)(s,c),void 0===i?s:x(e,s,i,c);}async function q(e){var _e$headers$get;let t,i="INTERNAL",o=`HTTP ${e.status.toString()}`;try{let r=await e.json();i=r.error.code,o=r.error.message,t="string"==typeof r.error.correlationId?r.error.correlationId:void 0;}catch{}let r=new E.a(i,o,e.status),n=(_e$headers$get=e.headers.get(R.p))!==null&&_e$headers$get!==void 0?_e$headers$get:t;return void 0!==n&&(r.correlationId=n),r;}async function $(e,t){var _t$method2;let i=((_t$method2=t===null||t===void 0?void 0:t.method)!==null&&_t$method2!==void 0?_t$method2:"GET").toUpperCase(),o="GET"!==i&&"HEAD"!==i,r=await fetch(e,{...t,cache:"no-store",signal:D(t,o),headers:{Accept:"application/pdf",...(o?{"Content-Type":"application/json"}:{}),...(o?{"X-Keiko-CSRF":"1"}:{}),...(t===null||t===void 0?void 0:t.headers)}});if(!r.ok){let e="INTERNAL",t=`HTTP ${r.status.toString()}`;try{let i=await r.json();e=i.error.code,t=i.error.message;}catch{}throw new E.a(e,t,r.status);}return new Uint8Array(await r.arrayBuffer());}async function L(e){var _ref;let t=await U("/api/health",void 0,void 0,e),{diagnostics:i,...o}=t,r=o;return(0,N.E)(i)?r={...o,diagnostics:i}:void 0!==i&&(r={...o,diagnosticsInvalid:!0,diagnosticsInvalidReason:(0,N.i)(i)}),(0,R.O)(r,(_ref=(0,R.g)(t))!==null&&_ref!==void 0?_ref:null),r;}async function z(){return U("/api/update/preflight",{cache:"no-store"});}async function H(){return U("/api/update/preflight/check",{method:"POST",cache:"no-store"});}async function V(){return U("/api/update/session",{cache:"no-store"});}async function B(e){return U("/api/update/session",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function F(){return U("/api/update/session",{method:"DELETE",cache:"no-store"});}async function G(e={}){return U("/api/update/session/verify-restart",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function K(){return U("/api/update/remediation",{cache:"no-store"});}async function M(e){return U("/api/update/remediation/status",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function _(e){return U("/api/update/remediation/actions",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function W(){return t!==null&&t!==void 0?t:t=U("/api/config").then(e=>{var _e$effectiveGrounding;return{config:e.config,configPresent:e.configPresent,effectiveGroundingLimits:(_e$effectiveGrounding=e.effectiveGroundingLimits)!==null&&_e$effectiveGrounding!==void 0?_e$effectiveGrounding:J.o};}).finally(()=>{t=void 0;});}function Q(){i=void 0,o=void 0;}async function X(e,t=!1){let r=(t?[o]:[o,i]).find(t=>void 0!==t&&t.correlationId===e);if(void 0===r){let r=U(t?"/api/models?refresh=1":"/api/models",{cache:"no-store",...(t?{headers:{"X-Keiko-CSRF":"1"}}:{})},void 0,e).finally(()=>{var _i,_o;((_i=i)===null||_i===void 0?void 0:_i.promise)===r&&(i=void 0),((_o=o)===null||_o===void 0?void 0:_o.promise)===r&&(o=void 0);}),n={promise:r,correlationId:e};return t?o=n:i=n,r;}return r.promise;}let Z=new Set();function Y(){r=void 0;let e=!1;for(let t of[...Z])try{t();}catch{e=!0;}e&&window.reportError(Error("Voice capability invalidation listener failed."));}async function ee(){if(void 0===r){let e=U("/api/voice/capability").catch(t=>{throw r===e&&(r=void 0),t;});r=e;}return r;}async function et(e){return U("/api/voice/transcribe",{method:"POST",body:JSON.stringify(e)});}async function ei(e,t,i){return U("/api/voice/speak",{method:"POST",body:JSON.stringify(e),...(void 0===t?{}:{signal:t})},void 0,i);}async function eo(e,t,i){let o=i!==null&&i!==void 0?i:(0,R.y)(),r=await fetch("/api/voice/speak/stream",{method:"POST",headers:{"Content-Type":"application/json","X-Keiko-CSRF":"1",[R.p]:o,Accept:"audio/pcm"},body:JSON.stringify(e),...(void 0===t?{}:{signal:t})}).catch(e=>{if((0,E.e)(e)&&"AbortError"===e.name)throw e;let t=new E.a("NETWORK_ERROR","Speech streaming could not be reached.",0);throw t.correlationId=o,t;});if(!r.ok){var _e$correlationId;let e=await q(r);throw(_e$correlationId=e.correlationId)!==null&&_e$correlationId!==void 0?_e$correlationId:e.correlationId=o,e;}return r;}async function er(e){let i;try{i=await U("/api/gateway/setup",{method:"POST",body:JSON.stringify(e)});}catch(e){if(e instanceof TypeError&&/(?:failed to fetch|fetch failed|load failed|networkerror)/iu.test(e.message))throw new E.a("GATEWAY_SETUP_NETWORK_ERROR","Keiko could not reach the local setup service while testing credentials. Check that Keiko is still running, then retry.",0);throw e;}return t=void 0,Q(),Y(),i;}async function en(e,t){return U("/api/gateway/readiness",{method:"POST",body:JSON.stringify({...(void 0===e?{}:{modelId:e}),...(void 0===t?{}:{options:t})})});}async function ea(e,i){let o=await U(`/api/gateway/capabilities/${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({fields:i})});return t=void 0,Q(),Y(),o;}async function es(e){var t=await U("/api/runs",{method:"POST",body:JSON.stringify(e)});if("object"!=typeof t||null===t||Array.isArray(t)||"string"!=typeof t.runId||"string"!=typeof t.fingerprint)throw new E.a("CONTRACT_VALIDATION_FAILED","Invalid run-start response.",502);let i=t.governance;if(void 0===i)return{runId:t.runId,fingerprint:t.fingerprint};if(!function(e){if("object"!=typeof e||null===e||Array.isArray(e))return!1;let t=new Set(["requestedMode","effectiveMode","deploymentCeiling","connectorExecution","deliveryExecution"]);return Object.keys(e).every(e=>t.has(e))&&P(e.requestedMode)&&P(e.effectiveMode)&&P(e.deploymentCeiling)&&"unavailable"===e.connectorExecution&&"unavailable"===e.deliveryExecution;}(i))throw new E.a("CONTRACT_VALIDATION_FAILED","Invalid run-start response.",502);return{runId:t.runId,fingerprint:t.fingerprint,governance:i};}async function ec(e,t){return U("/api/prompt-enhancement",{method:"POST",body:JSON.stringify(e),...(void 0===t?{}:{signal:t})});}async function ed(e){return U(`/api/runs/${encodeURIComponent(e)}/cancel`,{method:"POST",body:JSON.stringify({confirm:!0})});}async function ep(e){return U(`/api/runs/${encodeURIComponent(e)}`);}async function eu(e){return U(`/api/runs/${encodeURIComponent(e)}/apply`,{method:"POST",body:JSON.stringify({confirm:!0})});}async function el(e){return U(`/api/evidence/${encodeURIComponent(e)}`);}function ef(){n=void 0,a=void 0;}async function ey(){let e=Date.now();return void 0!==a&&a.expiresAt>e?a.value:n!==null&&n!==void 0?n:n=U("/api/projects").then(e=>(a={value:e,expiresAt:Date.now()+2e3},e)).catch(e=>{throw a=void 0,e;}).finally(()=>{n=void 0;});}async function eh(e,t){let i=await U("/api/projects",{method:"POST",body:JSON.stringify(e),signal:AbortSignal.timeout(15e3)},void 0,t);return ef(),i;}async function em(e,t){let i=await U("/api/repositories/clone",{method:"POST",body:JSON.stringify(e)},void 0,t);return ef(),i;}async function eg(e,t){let i=await U(`/api/projects?path=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify(t)});return ef(),i;}async function ev(e){return eg(e,{});}async function eS(e,t,i){let o=void 0===i?"":`&id=${encodeURIComponent(i)}`;return U(`/api/chats?projectPath=${encodeURIComponent(e)}${o}`,void 0,void 0,t);}async function ew(e,t){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify(t)});}async function eO(e,t,i,o){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({connectedScopes:t,...(void 0===i?{}:{expectedGroundingScopeIdentity:i})})},void 0,o);}async function eb(e,t,i,o){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({localKnowledgeScopes:t,...(void 0===i?{}:{expectedGroundingScopeIdentity:i})})},void 0,o);}async function eT(e,t,i,o){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({gitChangeScopes:t,...(void 0===i?{}:{expectedGroundingScopeIdentity:i})})},void 0,o);}async function eP(e,t,i){await U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"DELETE",body:JSON.stringify({projectPath:t,confirmation:{chatId:e,irreversible:!0}})},void 0,i);}async function eI(e,t,i){let o=new URLSearchParams();return o.set("chatId",e),o.set("projectPath",t),U(`/api/chats/messages?${o.toString()}`,void 0===i?void 0:{signal:i});}async function eN(e,t,i,o){let r=new URLSearchParams();return r.set("id",e),r.set("chatId",t),r.set("projectPath",i),U(`/api/chats/messages?${r.toString()}`,{method:"PATCH",body:JSON.stringify(o)});}async function ek(e={}){return U("/api/desktop/chats",{method:"POST",body:JSON.stringify(e)});}async function eA(e,t,i){return U("/api/desktop/chat",{method:"POST",body:JSON.stringify(e),signal:t!==null&&t!==void 0?t:null},void 0,i);}async function eC(e){return U("/api/desktop/chat/attachments",{method:"POST",body:JSON.stringify(e)});}async function eR(e){await U("/api/desktop/chat/attachments/delete",{method:"POST",body:JSON.stringify(e)});}async function eJ(e,t){return U("/api/desktop/chat/regenerate",{method:"POST",body:JSON.stringify(e),signal:t!==null&&t!==void 0?t:null});}class eE extends Error{constructor(e,t){super(t),_defineProperty(this,"code",void 0),_defineProperty(this,"correlationId",void 0),this.code=e,this.name="StreamingUnavailableError";}}function ex(){return new E.a("MALFORMED_DESKTOP_CHAT_STREAM_EVENT","The chat stream returned an invalid event. Retry the request.",502);}function ej(e,t,i){let o=t;for(let t of e){let e=t.trimEnd();if(e.startsWith("event:")){var r;r=e.slice(6).trim(),o=J.L.includes(r)?r:void 0;}else if(e.startsWith("data:")){let t,r=e.slice(5).trim();try{t=JSON.parse(r);}catch{throw ex();}!function(e,t,i){let o={event:e,data:t};if(!(0,J.S)(o))throw ex();switch(o.event){case"token":i.onToken(o.data.text);break;case"done":i.onDone(o.data);break;case"error":i.onError(o.data);break;case"cancelled":i.onCancelled();break;default:throw Error(`Unhandled desktop chat stream event: ${JSON.stringify(o)}`);}}(o,t,i),o=void 0;}else""===e&&(o=void 0);}return o;}async function eD(e,t,i){let o,r=new Promise((e,r)=>{o=setTimeout(()=>{let e;r(((e=new E.a("DESKTOP_CHAT_STREAM_STALLED","The connection to Keiko stopped delivering the answer. Retry the request.",504)).correlationId=t,e)),i();},6e4);});try{return await Promise.race([e,r]);}finally{clearTimeout(o);}}async function eU(e,t){return eD(e.read(),t,()=>{e.cancel();});}async function eq(e,t,i,o){let r=new AbortController();return eD(fetch(e,{...t,signal:j(i,r.signal)}),o,()=>{r.abort();});}async function e$(e,t,i,o){var r;let n,a=e.getReader(),s=new TextDecoder(),c="",d=!1,p=!1,u=(r=()=>{p=!0;},{onToken:i.onToken,onDone:e=>{r(),i.onDone(e);},onError:e=>{r(),i.onError(e);},onCancelled:()=>{r(),i.onCancelled();}});try{for(;!t.aborted&&!p;){var _t$pop;let e=await eU(a,o);if(e.done){d=!0;break;}let t=(c+=s.decode(e.value,{stream:!0})).split("\n");c=(_t$pop=t.pop())!==null&&_t$pop!==void 0?_t$pop:"",n=ej(t,n,u);}d&&""!==c&&ej([c],n,u),p&&!d&&a.cancel();}finally{a.releaseLock();}}async function eL(e,t,i,o=(0,R.y)()){var _n$headers$get,_n$headers$get2,_i$onStarted;let r={method:"POST",body:JSON.stringify(e),headers:{Accept:"text/event-stream"}},n=await eq("/api/desktop/chat/stream",{...r,headers:(0,R.E)(r,o)},t,o),a=(_n$headers$get=n.headers.get(R.p))!==null&&_n$headers$get!==void 0?_n$headers$get:o;if(!((_n$headers$get2=n.headers.get("content-type"))!==null&&_n$headers$get2!==void 0?_n$headers$get2:"").includes("text/event-stream")){var _e$correlationId2;let e=await q(n);if((_e$correlationId2=e.correlationId)!==null&&_e$correlationId2!==void 0?_e$correlationId2:e.correlationId=a,"STREAMING_UNSUPPORTED"!==e.code)throw e;let t=new eE(e.code,e.message);throw t.correlationId=e.correlationId,t;}if(null===n.body){let e=new E.a("INTERNAL","Response body was null.",n.status);throw e.correlationId=a,e;}(_i$onStarted=i.onStarted)!==null&&_i$onStarted!==void 0&&_i$onStarted.call(i,a),await e$(n.body,t,i,a);}async function ez(){return U("/api/native-file-dialog/capability");}async function eH(e){return U("/api/native-file-dialog/open",{method:"POST",body:JSON.stringify(e)});}async function eV(e,t="",i){let o=new URLSearchParams();return o.set("root",e),t.length>0&&o.set("path",t),U(`/api/files/tree?${o.toString()}`,void 0,void 0,i);}async function eB(e,t,i,o){let r=new URLSearchParams();return r.set("root",e),r.set("q",t),void 0!==i&&r.set("limit",String(i)),U(`/api/files/search?${r.toString()}`,o);}async function eF(e,t){return U("/api/editor/workspace-search",{method:"POST",body:JSON.stringify(e),...t});}async function eG(e,t){return U("/api/editor/workspace-symbols",{method:"POST",body:JSON.stringify(e),...t});}async function eK(e,t){return U("/api/editor/workspace-search/replace-preview",{method:"POST",body:JSON.stringify(e),...t});}async function eM(e){return U("/api/editor/workspace-search/replace-apply",{method:"POST",body:JSON.stringify(e)});}async function e_(e,t,i,o){let r=new URLSearchParams();return r.set("root",e),r.set("path",t),U(`/api/files/preview?${r.toString()}`,void 0===o?void 0:{signal:o},void 0,i);}async function eW(e,t,i){let o=new URLSearchParams();return o.set("root",e),o.set("path",t),U(`/api/files/content?${o.toString()}`,void 0,void 0,i);}async function eQ(e){return U("/api/files/content",{method:"PATCH",body:JSON.stringify(e)});}async function eX(e,t,i){let o=new URLSearchParams({root:e,path:t});return U(`/api/editor/local-history?${o.toString()}`,{...(void 0===i?{}:{signal:i})});}async function eZ(e,t,i){let o=new URLSearchParams({root:e});return U(`/api/editor/local-history/${encodeURIComponent(t)}?${o.toString()}`,void 0===i?void 0:{signal:i});}async function eY(e,t,i){let o=new URLSearchParams({root:e});return U(`/api/editor/local-history/${encodeURIComponent(t)}?${o.toString()}`,{method:"PATCH",body:JSON.stringify({pinned:i})});}async function e0(e,t){let i=new URLSearchParams({root:e});return U(`/api/editor/local-history/${encodeURIComponent(t)}?${i.toString()}`,{method:"DELETE"});}async function e1(e){return U("/api/editor/hot-exit/write",{method:"POST",body:JSON.stringify({snapshot:e})});}async function e5(e){return U("/api/editor/hot-exit/read",{method:"POST",body:JSON.stringify(e)});}async function e9(e){await U("/api/editor/hot-exit/delete",{method:"POST",body:JSON.stringify(e)});}async function e2(e){return U("/api/files/create",{method:"POST",body:JSON.stringify(e)});}async function e7(e){return U("/api/files/rename",{method:"POST",body:JSON.stringify(e)});}async function e4(e){return U("/api/files/delete",{method:"POST",body:JSON.stringify(e)});}async function e6(e){return U("/api/files/copy",{method:"POST",body:JSON.stringify(e)});}async function e3(e,t){return(await tK("git-read",t===null||t===void 0?void 0:t.correlationId)).fetchGitStatus(U,e,t);}async function e8(t,i){let o=new URLSearchParams();o.set("root",t.root),o.set("scope",t.scope),void 0!==t.path&&o.set("path",t.path);let r=`/api/git/diff/structured?${o.toString()}`,[n,a]=await Promise.all([U(r,void 0===i?void 0:{signal:i}),e.A(14579)]),s=a.parseGitEditorDiffResponse(n);return x(r,n,()=>s.ok?{ok:!0}:{ok:!1,reasons:s.errors});}async function te(t){let i=new URLSearchParams();i.set("root",t.root),i.set("path",t.path),i.set("startLine",t.startLine.toString()),i.set("maxLines",t.maxLines.toString());let o=`/api/git/blame?${i.toString()}`,[r,n]=await Promise.all([U(o),e.A(14579)]),a=n.parseGitEditorBlameResponse(r);return x(o,r,()=>a.ok?{ok:!0}:{ok:!1,reasons:a.errors});}async function tt(e,t){let i=new URLSearchParams();return i.set("root",e),U(`/api/git/branches?${i.toString()}`,void 0,void 0,t===null||t===void 0?void 0:t.correlationId);}async function ti(e,t){return(await tK("git-read",t===null||t===void 0?void 0:t.correlationId)).fetchGitSummary(U,e,t);}async function to(e){return(await tK("git-history")).fetchGitHistory(U,e);}async function tr(e){return(await tK("git-read")).fetchGitRemotes(U,e);}async function tn(e){return(await tK("git-read")).fetchGitDiff(U,e);}async function ta(e,t){return U("/api/editor/completion",{method:"POST",body:JSON.stringify({schemaVersion:"1",root:e.root,document:{path:e.path,languageId:e.languageId,text:e.text},position:e.position,triggerKind:e.triggerKind,...(void 0===e.triggerCharacter?{}:{triggerCharacter:e.triggerCharacter}),contextBudgetBytes:e.contextBudgetBytes,...(void 0===e.editorSessionId?{}:{editorSessionId:e.editorSessionId}),...(void 0===e.context?{}:{context:e.context}),...(void 0===e.maxCostClass?{}:{maxCostClass:e.maxCostClass})}),...(void 0===t?{}:{signal:t})});}async function ts(e,t){return U("/api/editor/inline-completion",{method:"POST",body:JSON.stringify({schemaVersion:"1",root:e.root,document:{path:e.path,languageId:e.languageId,text:e.text},position:e.position,triggerKind:e.triggerKind,contextBudgetBytes:e.contextBudgetBytes,...(void 0===e.editorSessionId?{}:{editorSessionId:e.editorSessionId}),...(void 0===e.context?{}:{context:e.context}),...(void 0===e.maxCostClass?{}:{maxCostClass:e.maxCostClass}),...(void 0===e.maxOutputTokens?{}:{maxOutputTokens:e.maxOutputTokens})}),...(void 0===t?{}:{signal:t})});}async function tc(e){let t={schemaVersion:"1",root:e.root,offered:e.offered,shown:e.shown,accepted:e.accepted,rejected:e.rejected,ignored:e.ignored,partiallyAccepted:e.partiallyAccepted,requestCount:e.requestCount,requestLatencyMsP50:e.requestLatencyMsP50,requestLatencyMsP95:e.requestLatencyMsP95};await U("/api/editor/inline-completion/telemetry",{method:"POST",body:JSON.stringify(t)});}function td(e){return{path:e.path,languageId:e.languageId,text:e.text};}async function tp(e){let t=void 0===e||0===e.length?"":`?root=${encodeURIComponent(e)}`;return U(`/api/editor/language/capabilities${t}`);}async function tu(t,i){return(await e.A(67349)).managedLspApi.settings(U,t,i);}async function tl(t,i,o,r){return(await e.A(67349)).managedLspApi.mutation(U,t,i,o,r);}async function tf(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"diagnostics",root:e.root,document:td(e)}),...(void 0===t?{}:{signal:t})})).result;}async function ty(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"hover",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function th(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"symbols",root:e.root,document:td(e)}),...(void 0===t?{}:{signal:t})})).result;}async function tm(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"formatting",root:e.root,document:td(e),...(void 0===e.options?{}:{options:e.options})}),...(void 0===t?{}:{signal:t})})).result;}async function tg(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"definition",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tv(e,t,i){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:e,root:t.root,document:td(t),position:t.position}),...(void 0===i?{}:{signal:i})})).result;}async function tS(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"callHierarchy",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tw(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"inlayHints",root:e.root,document:td(e),range:e.range}),...(void 0===t?{}:{signal:t})})).result;}async function tO(e,t){return U("/api/editor/language/semantic-tokens",{method:"POST",body:JSON.stringify({schemaVersion:"1",root:e.root,document:{path:e.path,languageId:"rust",text:e.text,version:e.version}}),...(void 0===t?{}:{signal:t})});}async function tb(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"references",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tT(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"codeActions",root:e.root,document:td(e),range:e.range,diagnostics:e.diagnostics}),...(void 0===t?{}:{signal:t})})).result;}async function tP(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"signatureHelp",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tI(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"renamePrepare",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tN(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"renameApply",root:e.root,document:td(e),position:e.position,newName:e.newName}),...(void 0===t?{}:{signal:t})})).result;}async function tk(e,t){return U("/api/editor/agent/snapshot",{method:"POST",body:JSON.stringify({schemaVersion:e.schemaVersion,kind:"snapshot",snapshot:e,...(void 0===t?{}:{bridgeDecisionCapability:t})})});}async function tA(e){return U("/api/editor/agent/snapshot",{method:"POST",body:JSON.stringify(e),signal:AbortSignal.timeout(15e3)});}async function tC(e){return U("/api/editor/agent/actions",{method:"POST",body:JSON.stringify(e)});}async function tR(e,t,i){return U("/api/chats/messages/grounded",{method:"POST",body:JSON.stringify(e),signal:t!==null&&t!==void 0?t:null},void 0,i);}async function tJ(e){return U("/api/local-knowledge/citation-preview/status",{method:"POST",body:JSON.stringify(e)});}async function tE(e){return U("/api/local-knowledge/citation-preview/open",{method:"POST",body:JSON.stringify(e)});}async function tx(e,t){return U(`/api/local-knowledge/citation-preview/sessions/${encodeURIComponent(e)}`,{method:"DELETE",body:JSON.stringify(void 0===t?{}:{expectedExpiresAt:t})});}function tj(e){return`/api/local-knowledge/citation-preview/sessions/${encodeURIComponent(e)}/document`;}async function tD(e,t){return $(tj(e),void 0===t?void 0:{signal:t});}async function tU(e,t){return U("/api/git-delivery/local-branch/create",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,branchName:e.branchName,baseBranchName:e.baseBranchName,startPointRefHash:e.startPointRefHash,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function tq(e,t){return U("/api/git-delivery/local-branch/switch",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,branchName:e.branchName,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function t$(e,t){return U("/api/git-delivery/staging/stage",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,pathspecs:e.pathspecs,includeUntracked:e.includeUntracked,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function tL(e,t){return U("/api/git-delivery/staging/unstage",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,pathspecs:e.pathspecs,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function tz(e,t){return U("/api/git-delivery/commit/preview",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,...(void 0===e.messageDraft?{}:{messageDraft:e.messageDraft})}),...(void 0===t?{}:{signal:t})});}async function tH(e,t){return U("/api/git-delivery/commit/draft",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,...(void 0===e.instruction?{}:{instruction:e.instruction})}),...(void 0===t?{}:{signal:t})});}async function tV(e,t){return U("/api/git-delivery/commit/execute",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,message:e.message,...(void 0===e.allowEmpty?{}:{allowEmpty:e.allowEmpty}),...(void 0===e.approval?{}:{approval:e.approval}),...(!0===e.userInitiated?{userInitiated:!0}:{})}),...(void 0===t?{}:{signal:t})});}function tB(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,remoteAlias:e.remoteAlias,remoteBranchName:e.remoteBranchName,sourceBranchName:e.sourceBranchName,...(void 0===e.forcePush?{}:{forcePush:e.forcePush}),...(void 0===e.setUpstreamTracking?{}:{setUpstreamTracking:e.setUpstreamTracking}),...(void 0===e.verifiedCommitSha?{}:{verifiedCommitSha:e.verifiedCommitSha}),...(void 0===e.approval?{}:{approval:e.approval})});}async function tF(e,t){return U("/api/git-delivery/push/preview",{method:"POST",body:tB(e),...(void 0===t?{}:{signal:t})});}async function tG(e,t){return U("/api/git-delivery/push/execute",{method:"POST",body:tB(e),...(void 0===t?{}:{signal:t})});}async function tK(t="git-sync",i){try{return await e.A(57995);}catch(o){let e=new E.a("MODULE_LOAD_FAILED",(0,C.V)((0,C.r)(),"git.error.moduleLoadFailed"),0);throw e.correlationId=i!==null&&i!==void 0?i:(0,R.y)(),e.cause=o,(0,k.v)("git:module-load-failed",{kind:"other",errorKind:"unavailable",correlationId:e.correlationId,moduleLoadFailure:t,errorEvidence:(0,A.f)(o)}),e;}}async function tM(e,t){return(await tK()).fetchGitSyncPreview(U,e,t);}async function t_(e,t){return(await tK()).fetchGitSyncExecute(U,e,t);}async function tW(e,t){return t_({...e,userInitiated:!0},t);}function tQ(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,kind:e.kind,ownerAndRepo:e.ownerAndRepo,headBranchName:e.headBranchName,baseBranchName:e.baseBranchName,title:e.title,body:e.body,...(void 0===e.isDraft?{}:{isDraft:e.isDraft}),...(void 0===e.prExternalId?{}:{prExternalId:e.prExternalId}),...(void 0===e.convertToDraft?{}:{convertToDraft:e.convertToDraft}),...(void 0===e.convertFromDraft?{}:{convertFromDraft:e.convertFromDraft}),...(void 0===e.verifiedCommitSha?{}:{verifiedCommitSha:e.verifiedCommitSha}),...(void 0===e.approval?{}:{approval:e.approval})});}async function tX(e,t){return U("/api/git-delivery/pr/preview",{method:"POST",body:tQ(e),...(void 0===t?{}:{signal:t})});}async function tZ(e,t){return U("/api/git-delivery/pr/execute",{method:"POST",body:tQ(e),...(void 0===t?{}:{signal:t})});}function tY(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,kind:"merge",ownerAndRepo:e.ownerAndRepo,prExternalId:e.prExternalId,baseBranchName:e.baseBranchName,headBranchName:e.headBranchName,mergeStrategy:e.mergeStrategy,deleteBranchAfterMerge:e.deleteBranchAfterMerge,...(void 0===e.expectedHeadRefHash?{}:{expectedHeadRefHash:e.expectedHeadRefHash}),...(void 0===e.approval?{}:{approval:e.approval})});}async function t0(e,t){return U("/api/git-delivery/merge/preview",{method:"POST",body:tY(e),...(void 0===t?{}:{signal:t})});}async function t1(e,t){return U("/api/git-delivery/merge/approve",{method:"POST",body:tY(e),...(void 0===t?{}:{signal:t})});}async function t5(e,t){return U("/api/git-delivery/merge/execute",{method:"POST",body:tY(e),...(void 0===t?{}:{signal:t})});}async function t9(t,i){return(await e.A(57995)).fetchCodingWorkbenchJourneyRefresh(U,t,i);}async function t2(t,i,o){return(await e.A(57995)).previewCodingWorkbenchIssue(U,t,i,o);}function t7(e){if(!(0,E.e)(e))return{ok:!1,reasons:["authorization must be an object"]};let t=[];return(0,E.u)(e.repositoryId,E.s)||t.push("authorization.repositoryId must be a bounded id"),"boolean"!=typeof e.authorized&&t.push("authorization.authorized must be boolean"),(!Number.isSafeInteger(e.revision)||0>Number(e.revision))&&t.push("authorization.revision must be a non-negative integer"),0===t.length?{ok:!0}:{ok:!1,reasons:t};}async function t4(e,t){let i=new URLSearchParams({repositoryPath:e});return U(`/api/coding-workbench/github-authorization?${i.toString()}`,void 0===t?void 0:{signal:t},t7);}async function t6(e,t){return U("/api/coding-workbench/github-authorization",{method:"PUT",body:JSON.stringify({repositoryPath:e.repositoryPath,authorized:e.authorized,expectedRevision:e.expectedRevision}),...(void 0===t?{}:{signal:t})},t7);}async function t3(e,t,i){return(await tK("git-sync",i)).connectGitChangeToChat(U,e,t,i);}async function t8(e,t,i,o){return(await tK("git-sync",o)).refreshGitChangeScope(U,e,t,i,o);}function ie(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,ownerAndRepo:e.ownerAndRepo,prExternalId:e.prExternalId,headSha:e.headSha,baseSha:e.baseSha,baseRef:e.baseRef,readinessDigest:e.readinessDigest,...(void 0===e.approval?{}:{approval:e.approval})});}async function it(e,t){return U("/api/git-delivery/pr/mark-ready/approve",{method:"POST",body:ie(e),...(void 0===t?{}:{signal:t})});}async function ii(e,t){return U("/api/git-delivery/pr/mark-ready/execute",{method:"POST",body:ie(e),...(void 0===t?{}:{signal:t})});}async function io(e,t){let i=await it(e,t);return ii({...e,approval:i.approval},t);}async function ir(e,t){return U("/api/git-delivery/commit/approve",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,message:e.message,...(void 0===e.allowEmpty?{}:{allowEmpty:e.allowEmpty}),...(!0===e.userInitiated?{userInitiated:!0}:{})}),...(void 0===t?{}:{signal:t})});}async function ia(e,t){return U("/api/git-delivery/push/approve",{method:"POST",body:tB(e),...(void 0===t?{}:{signal:t})});}async function is(e,t){return U("/api/git-delivery/pr/approve",{method:"POST",body:tQ(e),...(void 0===t?{}:{signal:t})});}async function ic(e,t){let i={...e,userInitiated:!0},o=await ir(i,t);return tV({...i,approval:o.approval},t);}async function id(e,t){let i=await ia(e,t);return tG({...e,approval:i.approval},t);}async function ip(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionPreview(U,t,i);}async function iu(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionReview(U,t,i);}async function il(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionApprove(U,t,i);}async function iy(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionApply(U,t,i);}async function ih(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionStatus(U,t,i);}async function im(e,t,i){return U("/api/git-change/approve-description",{method:"POST",body:JSON.stringify({schemaVersion:"1",...e}),...(void 0===t?{}:{signal:t})},void 0,i);}async function ig(t,i,o){let r=await e.A(57995);return U("/api/git-change/review-description",{method:"POST",body:JSON.stringify({schemaVersion:"1",...t}),...(void 0===i?{}:{signal:i})},r.validatePrDescriptionApplicationResultWire,o);}async function iv(t,i,o){let r=await e.A(57995);return U("/api/git-change/apply-description",{method:"POST",body:JSON.stringify({schemaVersion:"1",...t}),...(void 0===i?{}:{signal:i})},r.validateGitChangeApplyDescriptionResponse,o);}e.s(["Sh",0,eE,"Mg",0,function(e,t,i,o){return U("/api/editor/settings/profiles/import/apply",{method:"POST",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"XP",0,ea,"MT",0,iv,"OK",0,eu,"AU",0,eM,"O_",0,im,"Is",0,tR,"HD",0,ed,"Zt",0,F,"$_",0,H,"S6",0,em,"fA",0,tx,"OF",0,function(e,t,i,o){return U("/api/chats/context/compact",{method:"POST",body:JSON.stringify({chatId:e,projectPath:t,modelId:i}),...(void 0===o?{}:{signal:o})});},"rJ",0,t3,"xg",0,e6,"N$",0,ek,"WP",0,e2,"CW",0,eh,"vi",0,eP,"FD",0,eR,"sz",0,e9,"tx",0,e0,"E4",0,e4,"wS",0,ec,"Lo",0,function(e,t){return U(`/api/editor/settings/profiles/export?profileRef=${encodeURIComponent(e)}`,void 0===t?void 0:{signal:t});},"ao",0,function(e,t,i,o){let r=new URLSearchParams({chatId:e,projectPath:t,modelId:i});return U(`/api/chats/context?${r.toString()}`,void 0===o?void 0:{signal:o});},"qs",0,eI,"Fc",0,eS,"p4",0,t9,"BC",0,W,"pT",0,tp,"q4",0,eX,"fR",0,eZ,"ol",0,function(e,t){let i=void 0===e||0===e.length?"":`?root=${encodeURIComponent(e)}`;return U(`/api/editor/settings${i}`,{...(void 0===t?{}:{signal:t})});},"lh",0,el,"VK",0,eW,"uX",0,e_,"Qy",0,eB,"_c",0,eV,"Hr",0,te,"e_",0,tt,"FV",0,tH,"Sk",0,tV,"GG",0,tz,"AT",0,tU,"RU",0,tq,"P4",0,t1,"EH",0,t5,"N1",0,t0,"oU",0,is,"EJ",0,iy,"vJ",0,il,"Sl",0,ip,"K3",0,iu,"Mc",0,ih,"Fr",0,tZ,"h_",0,tX,"eN",0,tG,"ET",0,tF,"M3",0,t$,"Wu",0,tM,"zf",0,tL,"Pu",0,tn,"fg",0,to,"YD",0,t4,"Ws",0,tr,"Tu",0,e3,"C_",0,e8,"Xk",0,ti,"QR",0,L,"R",0,tu,"uY",0,X,"gi",0,ez,"DF",0,tD,"Zk",0,tJ,"bF",0,ey,"LQ",0,ep,"Pv",0,z,"PH",0,K,"wk",0,V,"qb",0,ee,"Vi",0,eK,"pJ",0,eF,"m9",0,function(e,t){return U(`/api/editor/snippets?root=${encodeURIComponent(e)}`,{...(void 0===t?{}:{signal:t})});},"cu",0,eG,"y2",0,function(e,t,i,o,r){return U(`/api/editor/settings/debug/${e}`,{method:"POST",headers:{"If-Match":i,"Idempotency-Key":o},body:JSON.stringify(t),...(void 0===r?{}:{signal:r})});},"UF",0,function(e,t,i,o){return U("/api/editor/settings/profiles",{method:"PATCH",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"F",0,function(e,t,i,o){return U("/api/editor/settings",{method:"PATCH",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"qx",0,tl,"EV",0,function(e,t,i,o){return U("/api/editor/snippets",{method:"PATCH",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"S2",0,eH,"DY",0,tE,"Fz",0,eN,"kI",0,tj,"b7",0,tC,"Zr",0,tk,"P5",0,tA,"PN",0,M,"Tl",0,t2,"q5",0,function(e,t,i){return U("/api/editor/settings/profiles/import/preview",{method:"POST",headers:{"If-Match":t},body:e,...(void 0===i?{}:{signal:i})});},"TD",0,function(e){let t=e.warning;if(void 0!==t)return void 0===t.correlationId?t.message:`${t.message} Support ID: ${t.correlationId}`;},"JZ",0,ic,"Mz",0,tW,"_i",0,io,"RB",0,id,"UO",0,e5,"kD",0,ev,"Bw",0,t8,"wN",0,eJ,"w4",0,e7,"cs",0,tc,"w5",0,tS,"ss",0,tT,"hO",0,ta,"j_",0,tg,"k0",0,tf,"qL",0,tm,"Ih",0,ty,"FM",0,function(e,t){return tv("implementation",e,t);},"Xj",0,tw,"b2",0,ts,"Q$",0,tb,"Y0",0,tN,"$G",0,tI,"Qu",0,tO,"vV",0,tP,"mC",0,th,"_0",0,function(e,t){return tv("typeDefinition",e,t);},"VB",0,Q,"A8",0,ig,"QS",0,en,"AS",0,_,"c$",0,eQ,"U0",0,eA,"vU",0,eL,"II",0,eY,"G0",0,er,"wg",0,es,"aT",0,B,"S1",0,eo,"I",0,function(e){return Z.add(e),()=>{Z.delete(e);};},"R8",0,ei,"gc",0,et,"TU",0,ew,"i$",0,eO,"l",0,eT,"WQ",0,eb,"v2",0,t6,"nl",0,eC,"CJ",0,G,"Ze",0,e1],95508);}]);
1
+ function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==typeof i?i:i+"";}function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===e?String:Number)(t);}(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95508,62156,e=>{"use strict";let t,i,o,r,n,a;var s=e.i(57269);let c=Object.freeze(["governed-assist","supervised-coding","autonomous-delivery"]),d=Object.freeze(["keiko-sidecar","codex-cli-adapter","delivery-runner"]),p=Object.freeze(["keiko-model-gateway","openai-api-key-through-gateway","chatgpt-codex-subscription-profile"]),u=Object.freeze(["workspace-read","workspace-write","command-execution","verification","connector-access","network-egress","delivery-substrate"]),l=Object.freeze(["source-control.read","source-control.write","issue-tracker.read","issue-tracker.write","knowledge-base.read","knowledge-base.write"]);Object.freeze(["deny-all","governed-egress","connector-scoped-egress"]),Object.freeze(["human-approval","branch-allowlist","verification-green","policy-review","artifact-review"]),Object.freeze(["deny","allowlisted","governed"]);let f=Object.freeze(["ready","busy","degraded","stopped"]),y=Object.freeze(["status","tool","verification","permission","question"]),h=Object.freeze(["workspace-write","command-execution","network-egress","connector-access","delivery-substrate"]),m=Object.freeze(["file-edit","git-stage","verification-command","ci-observe","connector-read","research","commit","push","pull-request","merge","connector-write","external-write","system-mutation"]),g=Object.freeze(["low","medium","high","critical"]);Object.freeze(["allowed","approval-required","denied"]),Object.freeze(["workspace-contained","external-file","internet","delivery"]);let v=Object.freeze(["scoped-file-edit","out-of-scope-file-edit","allowlisted-verification-command","unknown-command-denied","mutating-command-denied","approval-required","approval-proof-missing","approval-proof-stale","approval-proof-accepted","operator-denied","operator-stopped","redacted-failure"]),S=Object.freeze(["runtime-started","runtime-stopped","runtime-health","task-submitted","observation-streamed","native-retry-changed","permission-requested","diff-summarized","verification-summarized","artifact-produced","research-performed","skill-invoked","child-run-started","child-run-completed","operator-decision","failure-redacted"]),w=Object.freeze(["accepted","denied","unavailable","limit-reached","stopped"]),O=Object.freeze(["workspace-script-trust"]),b=Object.freeze(["untrusted"]);Object.freeze(["workspace-read-denied","workspace-write-denied","command-execution-denied","verification-denied","connector-access-denied","connector-write-denied","network-denied","delivery-denied"]),(0,s.f)({"governed-assist":{allowedActionClasses:u,display:{label:"Ask for approval",description:"Reads and planning proceed; workspace edits, commands, external files, and internet use require approval. Delivery remains separately human-approved."},effects:{"workspace-contained":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},"external-file":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},internet:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}},"supervised-coding":{allowedActionClasses:u,display:{label:"Supervised workspace",description:"Routine low- and medium-risk workspace-contained edits, vetted commands, and verification proceed; risky, external-file, and internet actions require approval. Delivery remains separately human-approved."},effects:{"workspace-contained":{low:"allowed",medium:"allowed",high:"approval-required",critical:"approval-required"},"external-file":{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},internet:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}},"autonomous-delivery":{allowedActionClasses:u,display:{label:"Full access",description:"File, internet, and accepted Code-task commit, push, and draft pull request operations within the validated Authority Envelope proceed without per-action approval. Merge remains separately approval-gated."},effects:{"workspace-contained":{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},"external-file":{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},internet:{low:"allowed",medium:"allowed",high:"allowed",critical:"allowed"},delivery:{low:"approval-required",medium:"approval-required",high:"approval-required",critical:"approval-required"}}}}),Object.freeze({allowed:0,"approval-required":1,denied:2});let T=Object.freeze({"governed-assist":0,"supervised-coding":1,"autonomous-delivery":2});function P(e){return"string"==typeof e&&c.includes(e);}function I(e,t){return T[e]-T[t];}Object.freeze({"workspace-read":"workspace-read-denied","workspace-write":"workspace-write-denied","command-execution":"command-execution-denied",verification:"verification-denied","connector-access":"connector-access-denied","network-egress":"network-denied","delivery-substrate":"delivery-denied"}),e.s(["P",0,u,"p",0,g,"t",0,w,"q",0,l,"K",0,b,"r",0,p,"g",0,c,"E",0,y,"y",0,O,"Q",0,h,"c",0,S,"u",0,f,"x",0,d,"l",0,"1","b",0,m,"D",0,v,"s",0,I,"h",0,P,"C",0,function(e,t){return I(t,e)>0;},"V",0,function(e){if(!function(e){if("object"!=typeof e||null===e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);if(null!==t&&t!==Object.prototype)return!1;let i=Object.getOwnPropertyDescriptors(e);return 2===Reflect.ownKeys(i).length&&Object.hasOwn(i,"attempt")&&Object.hasOwn(i,"scheduledAt")&&Object.values(i).every(e=>"value"in e&&!0===e.enumerable);}(e)||!Number.isSafeInteger(e.attempt)||1>Number(e.attempt))return!1;let t=e.scheduledAt;if("string"!=typeof t||!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/u.test(t))return!1;let i=Date.parse(t);return Number.isFinite(i)&&new Date(i).toISOString()===t;},"z",0,function(e){return"file-edit"===e||"git-stage"===e?"workspace-write":"verification-command"===e||"ci-observe"===e||"connector-read"===e?"command-execution":"research"===e?"network-egress":"connector-write"===e||"external-write"===e?"connector-access":"delivery-substrate";},"F",0,function(e,t){let i=P(e)?e:"governed-assist",o=P(t)?t:"governed-assist";return T[i]<=T[o]?i:o;}],62156);var N=e.i(25327),k=e.i(24541),A=e.i(74952),C=e.i(50850),R=e.i(20081),J=e.i(26428),E=e.i(18829);function x(e,t,i,o=null){var _r$reasons$;let r=i(t);if(r.ok)return t;let n=(_r$reasons$=r.reasons[0])!==null&&_r$reasons$!==void 0?_r$reasons$:"unknown validation failure",a=new E.a("CONTRACT_VALIDATION_FAILED",`BFF response for ${e} failed contract validation: ${n}`,502);throw null!==o&&(a.correlationId=o),a;}function j(e,t){let i=AbortSignal.any;if("function"==typeof i)return i.call(AbortSignal,[e,t]);let o=new AbortController(),r=[e,t],n=new AbortController();for(let e of r){if(e.aborted){o.abort(e.reason),n.abort();break;}e.addEventListener("abort",()=>{o.abort(e.reason),n.abort();},{once:!0,signal:n.signal});}return o.signal;}function D(e,t){var _e$signal;if(t)return(_e$signal=e===null||e===void 0?void 0:e.signal)!==null&&_e$signal!==void 0?_e$signal:null;let i=AbortSignal.timeout(15e3),o=e===null||e===void 0?void 0:e.signal;return null==o?i:j(o,i);}async function U(e,t,i,o){var _t$method;let r=((_t$method=t===null||t===void 0?void 0:t.method)!==null&&_t$method!==void 0?_t$method:"GET").toUpperCase(),n="GET"!==r&&"HEAD"!==r,a=await fetch(e,{...t,signal:D(t,n),headers:void 0!==o?(0,R.E)(t,o):{Accept:"application/json",...(n?{"Content-Type":"application/json"}:{}),...(n?{"X-Keiko-CSRF":"1"}:{}),...(t===null||t===void 0?void 0:t.headers)}});if(!a.ok)throw await q(a);if(204===a.status)return;let s=await a.json(),c=a.headers.get(R.p);return(0,R.O)(s,c),void 0===i?s:x(e,s,i,c);}async function q(e){var _e$headers$get;let t,i="INTERNAL",o=`HTTP ${e.status.toString()}`;try{let r=await e.json();i=r.error.code,o=r.error.message,t="string"==typeof r.error.correlationId?r.error.correlationId:void 0;}catch{}let r=new E.a(i,o,e.status),n=(_e$headers$get=e.headers.get(R.p))!==null&&_e$headers$get!==void 0?_e$headers$get:t;return void 0!==n&&(r.correlationId=n),r;}async function $(e,t){var _t$method2;let i=((_t$method2=t===null||t===void 0?void 0:t.method)!==null&&_t$method2!==void 0?_t$method2:"GET").toUpperCase(),o="GET"!==i&&"HEAD"!==i,r=await fetch(e,{...t,cache:"no-store",signal:D(t,o),headers:{Accept:"application/pdf",...(o?{"Content-Type":"application/json"}:{}),...(o?{"X-Keiko-CSRF":"1"}:{}),...(t===null||t===void 0?void 0:t.headers)}});if(!r.ok){let e="INTERNAL",t=`HTTP ${r.status.toString()}`;try{let i=await r.json();e=i.error.code,t=i.error.message;}catch{}throw new E.a(e,t,r.status);}return new Uint8Array(await r.arrayBuffer());}async function L(e){var _ref;let t=await U("/api/health",void 0,void 0,e),{diagnostics:i,...o}=t,r=o;return(0,N.E)(i)?r={...o,diagnostics:i}:void 0!==i&&(r={...o,diagnosticsInvalid:!0,diagnosticsInvalidReason:(0,N.i)(i)}),(0,R.O)(r,(_ref=(0,R.g)(t))!==null&&_ref!==void 0?_ref:null),r;}async function z(){return U("/api/update/preflight",{cache:"no-store"});}async function H(){return U("/api/update/preflight/check",{method:"POST",cache:"no-store"});}async function V(){return U("/api/update/session",{cache:"no-store"});}async function B(e){return U("/api/update/session",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function F(){return U("/api/update/session",{method:"DELETE",cache:"no-store"});}async function G(e={}){return U("/api/update/session/verify-restart",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function K(){return U("/api/update/remediation",{cache:"no-store"});}async function M(e){return U("/api/update/remediation/status",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function _(e){return U("/api/update/remediation/actions",{method:"POST",cache:"no-store",body:JSON.stringify(e)});}async function W(){return t!==null&&t!==void 0?t:t=U("/api/config").then(e=>{var _e$effectiveGrounding;return{config:e.config,configPresent:e.configPresent,effectiveGroundingLimits:(_e$effectiveGrounding=e.effectiveGroundingLimits)!==null&&_e$effectiveGrounding!==void 0?_e$effectiveGrounding:J.o};}).finally(()=>{t=void 0;});}function Q(){i=void 0,o=void 0;}async function X(e,t=!1){let r=(t?[o]:[o,i]).find(t=>void 0!==t&&t.correlationId===e);if(void 0===r){let r=U(t?"/api/models?refresh=1":"/api/models",{cache:"no-store",...(t?{headers:{"X-Keiko-CSRF":"1"}}:{})},void 0,e).finally(()=>{var _i,_o;((_i=i)===null||_i===void 0?void 0:_i.promise)===r&&(i=void 0),((_o=o)===null||_o===void 0?void 0:_o.promise)===r&&(o=void 0);}),n={promise:r,correlationId:e};return t?o=n:i=n,r;}return r.promise;}let Z=new Set();function Y(){r=void 0;let e=!1;for(let t of[...Z])try{t();}catch{e=!0;}e&&window.reportError(Error("Voice capability invalidation listener failed."));}async function ee(){if(void 0===r){let e=U("/api/voice/capability").catch(t=>{throw r===e&&(r=void 0),t;});r=e;}return r;}async function et(e){return U("/api/voice/transcribe",{method:"POST",body:JSON.stringify(e)});}async function ei(e,t,i){return U("/api/voice/speak",{method:"POST",body:JSON.stringify(e),...(void 0===t?{}:{signal:t})},void 0,i);}async function eo(e,t,i){let o=i!==null&&i!==void 0?i:(0,R.y)(),r=await fetch("/api/voice/speak/stream",{method:"POST",headers:{"Content-Type":"application/json","X-Keiko-CSRF":"1",[R.p]:o,Accept:"audio/pcm"},body:JSON.stringify(e),...(void 0===t?{}:{signal:t})}).catch(e=>{if((0,E.e)(e)&&"AbortError"===e.name)throw e;let t=new E.a("NETWORK_ERROR","Speech streaming could not be reached.",0);throw t.correlationId=o,t;});if(!r.ok){var _e$correlationId;let e=await q(r);throw(_e$correlationId=e.correlationId)!==null&&_e$correlationId!==void 0?_e$correlationId:e.correlationId=o,e;}return r;}async function er(e){let i;try{i=await U("/api/gateway/setup",{method:"POST",body:JSON.stringify(e)});}catch(e){if(e instanceof TypeError&&/(?:failed to fetch|fetch failed|load failed|networkerror)/iu.test(e.message))throw new E.a("GATEWAY_SETUP_NETWORK_ERROR","Keiko could not reach the local setup service while testing credentials. Check that Keiko is still running, then retry.",0);throw e;}return t=void 0,Q(),Y(),i;}async function en(e,t){return U("/api/gateway/readiness",{method:"POST",body:JSON.stringify({...(void 0===e?{}:{modelId:e}),...(void 0===t?{}:{options:t})})});}async function ea(e,i){let o=await U(`/api/gateway/capabilities/${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({fields:i})});return t=void 0,Q(),Y(),o;}async function es(e){var t=await U("/api/runs",{method:"POST",body:JSON.stringify(e)});if("object"!=typeof t||null===t||Array.isArray(t)||"string"!=typeof t.runId||"string"!=typeof t.fingerprint)throw new E.a("CONTRACT_VALIDATION_FAILED","Invalid run-start response.",502);let i=t.governance;if(void 0===i)return{runId:t.runId,fingerprint:t.fingerprint};if(!function(e){if("object"!=typeof e||null===e||Array.isArray(e))return!1;let t=new Set(["requestedMode","effectiveMode","deploymentCeiling","connectorExecution","deliveryExecution"]);return Object.keys(e).every(e=>t.has(e))&&P(e.requestedMode)&&P(e.effectiveMode)&&P(e.deploymentCeiling)&&"unavailable"===e.connectorExecution&&"unavailable"===e.deliveryExecution;}(i))throw new E.a("CONTRACT_VALIDATION_FAILED","Invalid run-start response.",502);return{runId:t.runId,fingerprint:t.fingerprint,governance:i};}async function ec(e,t){return U("/api/prompt-enhancement",{method:"POST",body:JSON.stringify(e),...(void 0===t?{}:{signal:t})});}async function ed(e){return U(`/api/runs/${encodeURIComponent(e)}/cancel`,{method:"POST",body:JSON.stringify({confirm:!0})});}async function ep(e){return U(`/api/runs/${encodeURIComponent(e)}`);}async function eu(e){return U(`/api/runs/${encodeURIComponent(e)}/apply`,{method:"POST",body:JSON.stringify({confirm:!0})});}async function el(e){return U(`/api/evidence/${encodeURIComponent(e)}`);}function ef(){n=void 0,a=void 0;}async function ey(){let e=Date.now();return void 0!==a&&a.expiresAt>e?a.value:n!==null&&n!==void 0?n:n=U("/api/projects").then(e=>(a={value:e,expiresAt:Date.now()+2e3},e)).catch(e=>{throw a=void 0,e;}).finally(()=>{n=void 0;});}async function eh(e,t){let i=await U("/api/projects",{method:"POST",body:JSON.stringify(e),signal:AbortSignal.timeout(15e3)},void 0,t);return ef(),i;}async function em(e,t){let i=await U("/api/repositories/clone",{method:"POST",body:JSON.stringify(e)},void 0,t);return ef(),i;}async function eg(e,t){let i=await U(`/api/projects?path=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify(t)});return ef(),i;}async function ev(e){return eg(e,{});}async function eS(e,t,i){let o=void 0===i?"":`&id=${encodeURIComponent(i)}`;return U(`/api/chats?projectPath=${encodeURIComponent(e)}${o}`,void 0,void 0,t);}async function ew(e,t){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify(t)});}async function eO(e,t,i,o){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({connectedScopes:t,...(void 0===i?{}:{expectedGroundingScopeIdentity:i})})},void 0,o);}async function eb(e,t,i,o){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({localKnowledgeScopes:t,...(void 0===i?{}:{expectedGroundingScopeIdentity:i})})},void 0,o);}async function eT(e,t,i,o){return U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({gitChangeScopes:t,...(void 0===i?{}:{expectedGroundingScopeIdentity:i})})},void 0,o);}async function eP(e,t,i){await U(`/api/chats?id=${encodeURIComponent(e)}`,{method:"DELETE",body:JSON.stringify({projectPath:t,confirmation:{chatId:e,irreversible:!0}})},void 0,i);}async function eI(e,t,i){let o=new URLSearchParams();return o.set("chatId",e),o.set("projectPath",t),U(`/api/chats/messages?${o.toString()}`,void 0===i?void 0:{signal:i});}async function eN(e,t,i,o){let r=new URLSearchParams();return r.set("id",e),r.set("chatId",t),r.set("projectPath",i),U(`/api/chats/messages?${r.toString()}`,{method:"PATCH",body:JSON.stringify(o)});}async function ek(e={}){return U("/api/desktop/chats",{method:"POST",body:JSON.stringify(e)});}async function eA(e,t,i){return U("/api/desktop/chat",{method:"POST",body:JSON.stringify(e),signal:t!==null&&t!==void 0?t:null},void 0,i);}async function eC(e){return U("/api/desktop/chat/attachments",{method:"POST",body:JSON.stringify(e)});}async function eR(e){await U("/api/desktop/chat/attachments/delete",{method:"POST",body:JSON.stringify(e)});}async function eJ(e,t){return U("/api/desktop/chat/regenerate",{method:"POST",body:JSON.stringify(e),signal:t!==null&&t!==void 0?t:null});}class eE extends Error{constructor(e,t){super(t),_defineProperty(this,"code",void 0),_defineProperty(this,"correlationId",void 0),this.code=e,this.name="StreamingUnavailableError";}}function ex(){return new E.a("MALFORMED_DESKTOP_CHAT_STREAM_EVENT","The chat stream returned an invalid event. Retry the request.",502);}function ej(e,t,i){let o=t;for(let t of e){let e=t.trimEnd();if(e.startsWith("event:")){var r;r=e.slice(6).trim(),o=J.L.includes(r)?r:void 0;}else if(e.startsWith("data:")){let t,r=e.slice(5).trim();try{t=JSON.parse(r);}catch{throw ex();}!function(e,t,i){let o={event:e,data:t};if(!(0,J.S)(o))throw ex();switch(o.event){case"token":i.onToken(o.data.text);break;case"done":i.onDone(o.data);break;case"error":i.onError(o.data);break;case"cancelled":i.onCancelled();break;default:throw Error(`Unhandled desktop chat stream event: ${JSON.stringify(o)}`);}}(o,t,i),o=void 0;}else""===e&&(o=void 0);}return o;}async function eD(e,t,i){let o,r=new Promise((e,r)=>{o=setTimeout(()=>{let e;r(((e=new E.a("DESKTOP_CHAT_STREAM_STALLED","The connection to Keiko stopped delivering the answer. Retry the request.",504)).correlationId=t,e)),i();},6e4);});try{return await Promise.race([e,r]);}finally{clearTimeout(o);}}async function eU(e,t){return eD(e.read(),t,()=>{e.cancel();});}async function eq(e,t,i,o){let r=new AbortController();return eD(fetch(e,{...t,signal:j(i,r.signal)}),o,()=>{r.abort();});}async function e$(e,t,i,o){var r;let n,a=e.getReader(),s=new TextDecoder(),c="",d=!1,p=!1,u=(r=()=>{p=!0;},{onToken:i.onToken,onDone:e=>{r(),i.onDone(e);},onError:e=>{r(),i.onError(e);},onCancelled:()=>{r(),i.onCancelled();}});try{for(;!t.aborted&&!p;){var _t$pop;let e=await eU(a,o);if(e.done){d=!0;break;}let t=(c+=s.decode(e.value,{stream:!0})).split("\n");c=(_t$pop=t.pop())!==null&&_t$pop!==void 0?_t$pop:"",n=ej(t,n,u);}d&&""!==c&&ej([c],n,u),p&&!d&&a.cancel();}finally{a.releaseLock();}}async function eL(e,t,i,o=(0,R.y)()){var _n$headers$get,_n$headers$get2,_i$onStarted;let r={method:"POST",body:JSON.stringify(e),headers:{Accept:"text/event-stream"}},n=await eq("/api/desktop/chat/stream",{...r,headers:(0,R.E)(r,o)},t,o),a=(_n$headers$get=n.headers.get(R.p))!==null&&_n$headers$get!==void 0?_n$headers$get:o;if(!((_n$headers$get2=n.headers.get("content-type"))!==null&&_n$headers$get2!==void 0?_n$headers$get2:"").includes("text/event-stream")){var _e$correlationId2;let e=await q(n);if((_e$correlationId2=e.correlationId)!==null&&_e$correlationId2!==void 0?_e$correlationId2:e.correlationId=a,"STREAMING_UNSUPPORTED"!==e.code)throw e;let t=new eE(e.code,e.message);throw t.correlationId=e.correlationId,t;}if(null===n.body){let e=new E.a("INTERNAL","Response body was null.",n.status);throw e.correlationId=a,e;}(_i$onStarted=i.onStarted)!==null&&_i$onStarted!==void 0&&_i$onStarted.call(i,a),await e$(n.body,t,i,a);}async function ez(){return U("/api/native-file-dialog/capability");}async function eH(e){return U("/api/native-file-dialog/open",{method:"POST",body:JSON.stringify(e)});}async function eV(e,t="",i){let o=new URLSearchParams();return o.set("root",e),t.length>0&&o.set("path",t),U(`/api/files/tree?${o.toString()}`,void 0,void 0,i);}async function eB(e,t,i,o){let r=new URLSearchParams();return r.set("root",e),r.set("q",t),void 0!==i&&r.set("limit",String(i)),U(`/api/files/search?${r.toString()}`,o);}async function eF(e,t){return U("/api/editor/workspace-search",{method:"POST",body:JSON.stringify(e),...t});}async function eG(e,t){return U("/api/editor/workspace-symbols",{method:"POST",body:JSON.stringify(e),...t});}async function eK(e,t){return U("/api/editor/workspace-search/replace-preview",{method:"POST",body:JSON.stringify(e),...t});}async function eM(e){return U("/api/editor/workspace-search/replace-apply",{method:"POST",body:JSON.stringify(e)});}async function e_(e,t,i,o){let r=new URLSearchParams();return r.set("root",e),r.set("path",t),U(`/api/files/preview?${r.toString()}`,void 0===o?void 0:{signal:o},void 0,i);}async function eW(e,t,i){let o=new URLSearchParams();return o.set("root",e),o.set("path",t),U(`/api/files/content?${o.toString()}`,void 0,void 0,i);}async function eQ(e){return U("/api/files/content",{method:"PATCH",body:JSON.stringify(e)});}async function eX(e,t,i){let o=new URLSearchParams({root:e,path:t});return U(`/api/editor/local-history?${o.toString()}`,{...(void 0===i?{}:{signal:i})});}async function eZ(e,t,i){let o=new URLSearchParams({root:e});return U(`/api/editor/local-history/${encodeURIComponent(t)}?${o.toString()}`,void 0===i?void 0:{signal:i});}async function eY(e,t,i){let o=new URLSearchParams({root:e});return U(`/api/editor/local-history/${encodeURIComponent(t)}?${o.toString()}`,{method:"PATCH",body:JSON.stringify({pinned:i})});}async function e0(e,t){let i=new URLSearchParams({root:e});return U(`/api/editor/local-history/${encodeURIComponent(t)}?${i.toString()}`,{method:"DELETE"});}async function e1(e){return U("/api/editor/hot-exit/write",{method:"POST",body:JSON.stringify({snapshot:e})});}async function e5(e){return U("/api/editor/hot-exit/read",{method:"POST",body:JSON.stringify(e)});}async function e9(e){await U("/api/editor/hot-exit/delete",{method:"POST",body:JSON.stringify(e)});}async function e2(e){return U("/api/files/create",{method:"POST",body:JSON.stringify(e)});}async function e7(e){return U("/api/files/rename",{method:"POST",body:JSON.stringify(e)});}async function e4(e){return U("/api/files/delete",{method:"POST",body:JSON.stringify(e)});}async function e6(e){return U("/api/files/copy",{method:"POST",body:JSON.stringify(e)});}async function e3(e,t){return(await tK("git-read",t===null||t===void 0?void 0:t.correlationId)).fetchGitStatus(U,e,t);}async function e8(t,i){let o=new URLSearchParams();o.set("root",t.root),o.set("scope",t.scope),void 0!==t.path&&o.set("path",t.path);let r=`/api/git/diff/structured?${o.toString()}`,[n,a]=await Promise.all([U(r,void 0===i?void 0:{signal:i}),e.A(14579)]),s=a.parseGitEditorDiffResponse(n);return x(r,n,()=>s.ok?{ok:!0}:{ok:!1,reasons:s.errors});}async function te(t){let i=new URLSearchParams();i.set("root",t.root),i.set("path",t.path),i.set("startLine",t.startLine.toString()),i.set("maxLines",t.maxLines.toString());let o=`/api/git/blame?${i.toString()}`,[r,n]=await Promise.all([U(o),e.A(14579)]),a=n.parseGitEditorBlameResponse(r);return x(o,r,()=>a.ok?{ok:!0}:{ok:!1,reasons:a.errors});}async function tt(e,t){let i=new URLSearchParams();return i.set("root",e),U(`/api/git/branches?${i.toString()}`,void 0,void 0,t===null||t===void 0?void 0:t.correlationId);}async function ti(e,t){return(await tK("git-read",t===null||t===void 0?void 0:t.correlationId)).fetchGitSummary(U,e,t);}async function to(e){return(await tK("git-history")).fetchGitHistory(U,e);}async function tr(e){return(await tK("git-read")).fetchGitRemotes(U,e);}async function tn(e){return(await tK("git-read")).fetchGitDiff(U,e);}async function ta(e,t){return U("/api/editor/completion",{method:"POST",body:JSON.stringify({schemaVersion:"1",root:e.root,document:{path:e.path,languageId:e.languageId,text:e.text},position:e.position,triggerKind:e.triggerKind,...(void 0===e.triggerCharacter?{}:{triggerCharacter:e.triggerCharacter}),contextBudgetBytes:e.contextBudgetBytes,...(void 0===e.editorSessionId?{}:{editorSessionId:e.editorSessionId}),...(void 0===e.context?{}:{context:e.context}),...(void 0===e.maxCostClass?{}:{maxCostClass:e.maxCostClass})}),...(void 0===t?{}:{signal:t})});}async function ts(e,t){return U("/api/editor/inline-completion",{method:"POST",body:JSON.stringify({schemaVersion:"1",root:e.root,document:{path:e.path,languageId:e.languageId,text:e.text},position:e.position,triggerKind:e.triggerKind,contextBudgetBytes:e.contextBudgetBytes,...(void 0===e.editorSessionId?{}:{editorSessionId:e.editorSessionId}),...(void 0===e.context?{}:{context:e.context}),...(void 0===e.maxCostClass?{}:{maxCostClass:e.maxCostClass}),...(void 0===e.maxOutputTokens?{}:{maxOutputTokens:e.maxOutputTokens})}),...(void 0===t?{}:{signal:t})});}async function tc(e){let t={schemaVersion:"1",root:e.root,offered:e.offered,shown:e.shown,accepted:e.accepted,rejected:e.rejected,ignored:e.ignored,partiallyAccepted:e.partiallyAccepted,requestCount:e.requestCount,requestLatencyMsP50:e.requestLatencyMsP50,requestLatencyMsP95:e.requestLatencyMsP95};await U("/api/editor/inline-completion/telemetry",{method:"POST",body:JSON.stringify(t)});}function td(e){return{path:e.path,languageId:e.languageId,text:e.text};}async function tp(e){let t=void 0===e||0===e.length?"":`?root=${encodeURIComponent(e)}`;return U(`/api/editor/language/capabilities${t}`);}async function tu(t,i){return(await e.A(67349)).managedLspApi.settings(U,t,i);}async function tl(t,i,o,r){return(await e.A(67349)).managedLspApi.mutation(U,t,i,o,r);}async function tf(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"diagnostics",root:e.root,document:td(e)}),...(void 0===t?{}:{signal:t})})).result;}async function ty(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"hover",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function th(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"symbols",root:e.root,document:td(e)}),...(void 0===t?{}:{signal:t})})).result;}async function tm(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"formatting",root:e.root,document:td(e),...(void 0===e.options?{}:{options:e.options})}),...(void 0===t?{}:{signal:t})})).result;}async function tg(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"definition",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tv(e,t,i){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:e,root:t.root,document:td(t),position:t.position}),...(void 0===i?{}:{signal:i})})).result;}async function tS(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"callHierarchy",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tw(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"inlayHints",root:e.root,document:td(e),range:e.range}),...(void 0===t?{}:{signal:t})})).result;}async function tO(e,t){return U("/api/editor/language/semantic-tokens",{method:"POST",body:JSON.stringify({schemaVersion:"1",root:e.root,document:{path:e.path,languageId:"rust",text:e.text,version:e.version}}),...(void 0===t?{}:{signal:t})});}async function tb(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"references",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tT(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"codeActions",root:e.root,document:td(e),range:e.range,diagnostics:e.diagnostics}),...(void 0===t?{}:{signal:t})})).result;}async function tP(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"signatureHelp",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tI(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"renamePrepare",root:e.root,document:td(e),position:e.position}),...(void 0===t?{}:{signal:t})})).result;}async function tN(e,t){return(await U("/api/editor/language",{method:"POST",body:JSON.stringify({operation:"renameApply",root:e.root,document:td(e),position:e.position,newName:e.newName}),...(void 0===t?{}:{signal:t})})).result;}async function tk(e,t){return U("/api/editor/agent/snapshot",{method:"POST",body:JSON.stringify({schemaVersion:e.schemaVersion,kind:"snapshot",snapshot:e,...(void 0===t?{}:{bridgeDecisionCapability:t})})});}async function tA(e){return U("/api/editor/agent/snapshot",{method:"POST",body:JSON.stringify(e),signal:AbortSignal.timeout(15e3)});}async function tC(e){return U("/api/editor/agent/actions",{method:"POST",body:JSON.stringify(e)});}async function tR(e,t,i){return U("/api/chats/messages/grounded",{method:"POST",body:JSON.stringify(e),signal:t!==null&&t!==void 0?t:null},void 0,i);}async function tJ(e){return U("/api/local-knowledge/citation-preview/status",{method:"POST",body:JSON.stringify(e)});}async function tE(e){return U("/api/local-knowledge/citation-preview/open",{method:"POST",body:JSON.stringify(e)});}async function tx(e,t){return U(`/api/local-knowledge/citation-preview/sessions/${encodeURIComponent(e)}`,{method:"DELETE",body:JSON.stringify(void 0===t?{}:{expectedExpiresAt:t})});}function tj(e){return`/api/local-knowledge/citation-preview/sessions/${encodeURIComponent(e)}/document`;}async function tD(e,t){return $(tj(e),void 0===t?void 0:{signal:t});}async function tU(e,t){return U("/api/git-delivery/local-branch/create",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,branchName:e.branchName,baseBranchName:e.baseBranchName,startPointRefHash:e.startPointRefHash,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function tq(e,t){return U("/api/git-delivery/local-branch/switch",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,branchName:e.branchName,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function t$(e,t){return U("/api/git-delivery/staging/stage",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,pathspecs:e.pathspecs,includeUntracked:e.includeUntracked,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function tL(e,t){return U("/api/git-delivery/staging/unstage",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,pathspecs:e.pathspecs,userInitiated:!0,...(void 0===e.approval?{}:{approval:e.approval})}),...(void 0===t?{}:{signal:t})});}async function tz(e,t){return U("/api/git-delivery/commit/preview",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,...(void 0===e.messageDraft?{}:{messageDraft:e.messageDraft})}),...(void 0===t?{}:{signal:t})});}async function tH(e,t){return U("/api/git-delivery/commit/draft",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,...(void 0===e.instruction?{}:{instruction:e.instruction})}),...(void 0===t?{}:{signal:t})});}async function tV(e,t){return U("/api/git-delivery/commit/execute",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,message:e.message,...(void 0===e.allowEmpty?{}:{allowEmpty:e.allowEmpty}),...(void 0===e.approval?{}:{approval:e.approval}),...(!0===e.userInitiated?{userInitiated:!0}:{})}),...(void 0===t?{}:{signal:t})});}function tB(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,remoteAlias:e.remoteAlias,remoteBranchName:e.remoteBranchName,sourceBranchName:e.sourceBranchName,...(void 0===e.forcePush?{}:{forcePush:e.forcePush}),...(void 0===e.setUpstreamTracking?{}:{setUpstreamTracking:e.setUpstreamTracking}),...(void 0===e.verifiedCommitSha?{}:{verifiedCommitSha:e.verifiedCommitSha}),...(void 0===e.approval?{}:{approval:e.approval})});}async function tF(e,t){return U("/api/git-delivery/push/preview",{method:"POST",body:tB(e),...(void 0===t?{}:{signal:t})});}async function tG(e,t){return U("/api/git-delivery/push/execute",{method:"POST",body:tB(e),...(void 0===t?{}:{signal:t})});}async function tK(t="git-sync",i){try{return await e.A(57995);}catch(o){let e=new E.a("MODULE_LOAD_FAILED",(0,C.V)((0,C.r)(),"git.error.moduleLoadFailed"),0);throw e.correlationId=i!==null&&i!==void 0?i:(0,R.y)(),e.cause=o,(0,k.v)("git:module-load-failed",{kind:"other",errorKind:"unavailable",correlationId:e.correlationId,moduleLoadFailure:t,errorEvidence:(0,A.f)(o)}),e;}}async function tM(e,t){return(await tK()).fetchGitSyncPreview(U,e,t);}async function t_(e,t){return(await tK()).fetchGitSyncExecute(U,e,t);}async function tW(e,t){return t_({...e,userInitiated:!0},t);}function tQ(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,kind:e.kind,ownerAndRepo:e.ownerAndRepo,headBranchName:e.headBranchName,baseBranchName:e.baseBranchName,title:e.title,body:e.body,...(void 0===e.isDraft?{}:{isDraft:e.isDraft}),...(void 0===e.prExternalId?{}:{prExternalId:e.prExternalId}),...(void 0===e.convertToDraft?{}:{convertToDraft:e.convertToDraft}),...(void 0===e.convertFromDraft?{}:{convertFromDraft:e.convertFromDraft}),...(void 0===e.verifiedCommitSha?{}:{verifiedCommitSha:e.verifiedCommitSha}),...(void 0===e.approval?{}:{approval:e.approval})});}async function tX(e,t){return U("/api/git-delivery/pr/preview",{method:"POST",body:tQ(e),...(void 0===t?{}:{signal:t})});}async function tZ(e,t){return U("/api/git-delivery/pr/execute",{method:"POST",body:tQ(e),...(void 0===t?{}:{signal:t})});}function tY(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,kind:"merge",ownerAndRepo:e.ownerAndRepo,prExternalId:e.prExternalId,baseBranchName:e.baseBranchName,headBranchName:e.headBranchName,mergeStrategy:e.mergeStrategy,deleteBranchAfterMerge:e.deleteBranchAfterMerge,...(void 0===e.expectedHeadRefHash?{}:{expectedHeadRefHash:e.expectedHeadRefHash}),...(void 0===e.approval?{}:{approval:e.approval})});}async function t0(e,t){return U("/api/git-delivery/merge/preview",{method:"POST",body:tY(e),...(void 0===t?{}:{signal:t})});}async function t1(e,t){return U("/api/git-delivery/merge/approve",{method:"POST",body:tY(e),...(void 0===t?{}:{signal:t})});}async function t5(e,t){return U("/api/git-delivery/merge/execute",{method:"POST",body:tY(e),...(void 0===t?{}:{signal:t})});}async function t9(t,i){return(await e.A(57995)).fetchCodingWorkbenchJourneyRefresh(U,t,i);}async function t2(t,i,o){return(await e.A(57995)).previewCodingWorkbenchIssue(U,t,i,o);}function t7(e){if(!(0,E.e)(e))return{ok:!1,reasons:["authorization must be an object"]};let t=[];return(0,E.u)(e.repositoryId,E.s)||t.push("authorization.repositoryId must be a bounded id"),"boolean"!=typeof e.authorized&&t.push("authorization.authorized must be boolean"),(!Number.isSafeInteger(e.revision)||0>Number(e.revision))&&t.push("authorization.revision must be a non-negative integer"),0===t.length?{ok:!0}:{ok:!1,reasons:t};}async function t4(e,t){let i=new URLSearchParams({repositoryPath:e});return U(`/api/coding-workbench/github-authorization?${i.toString()}`,void 0===t?void 0:{signal:t},t7);}async function t6(e,t){return U("/api/coding-workbench/github-authorization",{method:"PUT",body:JSON.stringify({repositoryPath:e.repositoryPath,authorized:e.authorized,expectedRevision:e.expectedRevision}),...(void 0===t?{}:{signal:t})},t7);}async function t3(e,t,i){return(await tK("git-sync",i)).connectGitChangeToChat(U,e,t,i);}async function t8(e,t,i,o){return(await tK("git-sync",o)).refreshGitChangeScope(U,e,t,i,o);}function ie(e){return JSON.stringify({schemaVersion:"1",projectId:e.projectId,ownerAndRepo:e.ownerAndRepo,prExternalId:e.prExternalId,headSha:e.headSha,baseSha:e.baseSha,baseRef:e.baseRef,readinessDigest:e.readinessDigest,...(void 0===e.approval?{}:{approval:e.approval})});}async function it(e,t){return U("/api/git-delivery/pr/mark-ready/approve",{method:"POST",body:ie(e),...(void 0===t?{}:{signal:t})});}async function ii(e,t){return U("/api/git-delivery/pr/mark-ready/execute",{method:"POST",body:ie(e),...(void 0===t?{}:{signal:t})});}async function io(e,t){let i=await it(e,t);return ii({...e,approval:i.approval},t);}async function ir(e,t){return U("/api/git-delivery/commit/approve",{method:"POST",body:JSON.stringify({schemaVersion:"1",projectId:e.projectId,message:e.message,...(void 0===e.allowEmpty?{}:{allowEmpty:e.allowEmpty}),...(!0===e.userInitiated?{userInitiated:!0}:{})}),...(void 0===t?{}:{signal:t})});}async function ia(e,t){return U("/api/git-delivery/push/approve",{method:"POST",body:tB(e),...(void 0===t?{}:{signal:t})});}async function is(e,t){return U("/api/git-delivery/pr/approve",{method:"POST",body:tQ(e),...(void 0===t?{}:{signal:t})});}async function ic(e,t){let i={...e,userInitiated:!0},o=await ir(i,t);return tV({...i,approval:o.approval},t);}async function id(e,t){let i=await ia(e,t);return tG({...e,approval:i.approval},t);}async function ip(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionPreview(U,t,i);}async function iu(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionReview(U,t,i);}async function il(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionApprove(U,t,i);}async function iy(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionApply(U,t,i);}async function ih(t,i){return(await e.A(57995)).fetchGitDeliveryPrDescriptionStatus(U,t,i);}async function im(e,t,i){return U("/api/git-change/approve-description",{method:"POST",body:JSON.stringify({schemaVersion:"1",...e}),...(void 0===t?{}:{signal:t})},void 0,i);}async function ig(t,i,o){let r=await e.A(57995);return U("/api/git-change/review-description",{method:"POST",body:JSON.stringify({schemaVersion:"1",...t}),...(void 0===i?{}:{signal:i})},r.validatePrDescriptionApplicationResultWire,o);}async function iv(t,i,o){let r=await e.A(57995);return U("/api/git-change/apply-description",{method:"POST",body:JSON.stringify({schemaVersion:"1",...t}),...(void 0===i?{}:{signal:i})},r.validateGitChangeApplyDescriptionResponse,o);}e.s(["Sh",0,eE,"Mg",0,function(e,t,i,o){return U("/api/editor/settings/profiles/import/apply",{method:"POST",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"XP",0,ea,"MT",0,iv,"OK",0,eu,"AU",0,eM,"O_",0,im,"Is",0,tR,"HD",0,ed,"Zt",0,F,"$_",0,H,"S6",0,em,"fA",0,tx,"OF",0,function(e,t,i,o){return U("/api/chats/context/compact",{method:"POST",body:JSON.stringify({chatId:e,projectPath:t,modelId:i}),...(void 0===o?{}:{signal:o})});},"rJ",0,t3,"xg",0,e6,"N$",0,ek,"WP",0,e2,"CW",0,eh,"vi",0,eP,"FD",0,eR,"sz",0,e9,"tx",0,e0,"E4",0,e4,"wS",0,ec,"Lo",0,function(e,t){return U(`/api/editor/settings/profiles/export?profileRef=${encodeURIComponent(e)}`,void 0===t?void 0:{signal:t});},"ao",0,function(e,t,i,o){let r=new URLSearchParams({chatId:e,projectPath:t,modelId:i});return U(`/api/chats/context?${r.toString()}`,void 0===o?void 0:{signal:o});},"qs",0,eI,"Fc",0,eS,"p4",0,t9,"BC",0,W,"pT",0,tp,"q4",0,eX,"fR",0,eZ,"ol",0,function(e,t){let i=void 0===e||0===e.length?"":`?root=${encodeURIComponent(e)}`;return U(`/api/editor/settings${i}`,{...(void 0===t?{}:{signal:t})});},"lh",0,el,"VK",0,eW,"uX",0,e_,"Qy",0,eB,"_c",0,eV,"Hr",0,te,"e_",0,tt,"FV",0,tH,"Sk",0,tV,"GG",0,tz,"AT",0,tU,"RU",0,tq,"P4",0,t1,"EH",0,t5,"N1",0,t0,"oU",0,is,"EJ",0,iy,"vJ",0,il,"Sl",0,ip,"K3",0,iu,"Mc",0,ih,"Fr",0,tZ,"h_",0,tX,"eN",0,tG,"ET",0,tF,"M3",0,t$,"Wu",0,tM,"zf",0,tL,"Pu",0,tn,"fg",0,to,"YD",0,t4,"Ws",0,tr,"Tu",0,e3,"C_",0,e8,"Xk",0,ti,"QR",0,L,"R",0,tu,"uY",0,X,"gi",0,ez,"DF",0,tD,"Zk",0,tJ,"bF",0,ey,"LQ",0,ep,"Pv",0,z,"PH",0,K,"wk",0,V,"qb",0,ee,"Vi",0,eK,"pJ",0,eF,"m9",0,function(e,t){return U(`/api/editor/snippets?root=${encodeURIComponent(e)}`,{...(void 0===t?{}:{signal:t})});},"cu",0,eG,"y2",0,function(e,t,i,o,r){return U(`/api/editor/settings/debug/${e}`,{method:"POST",headers:{"If-Match":i,"Idempotency-Key":o},body:JSON.stringify(t),...(void 0===r?{}:{signal:r})});},"UF",0,function(e,t,i,o){return U("/api/editor/settings/profiles",{method:"PATCH",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"F",0,function(e,t,i,o){return U("/api/editor/settings",{method:"PATCH",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"qx",0,tl,"EV",0,function(e,t,i,o){return U("/api/editor/snippets",{method:"PATCH",headers:{"If-Match":t,"Idempotency-Key":i},body:JSON.stringify(e),...(void 0===o?{}:{signal:o})});},"S2",0,eH,"DY",0,tE,"Fz",0,eN,"kI",0,tj,"b7",0,tC,"Zr",0,tk,"P5",0,tA,"PN",0,M,"Tl",0,t2,"q5",0,function(e,t,i){return U("/api/editor/settings/profiles/import/preview",{method:"POST",headers:{"If-Match":t},body:e,...(void 0===i?{}:{signal:i})});},"TD",0,function(e){let t=e.warning;if(void 0!==t)return void 0===t.correlationId?t.message:`${t.message} Support ID: ${t.correlationId}`;},"JZ",0,ic,"Mz",0,tW,"_i",0,io,"RB",0,id,"UO",0,e5,"kD",0,ev,"Bw",0,t8,"wN",0,eJ,"w4",0,e7,"cs",0,tc,"w5",0,tS,"ss",0,tT,"hO",0,ta,"j_",0,tg,"k0",0,tf,"qL",0,tm,"Ih",0,ty,"FM",0,function(e,t){return tv("implementation",e,t);},"Xj",0,tw,"b2",0,ts,"Q$",0,tb,"Y0",0,tN,"$G",0,tI,"Qu",0,tO,"vV",0,tP,"mC",0,th,"_0",0,function(e,t){return tv("typeDefinition",e,t);},"VB",0,Q,"A8",0,ig,"QS",0,en,"AS",0,_,"c$",0,eQ,"U0",0,eA,"vU",0,eL,"II",0,eY,"G0",0,er,"wg",0,es,"aT",0,B,"S1",0,eo,"I",0,function(e){return Z.add(e),()=>{Z.delete(e);};},"R8",0,ei,"gc",0,et,"TU",0,ew,"i$",0,eO,"l",0,eT,"WQ",0,eb,"v2",0,t6,"nl",0,eC,"CJ",0,G,"Ze",0,e1],95508);}]);