eser 4.1.12 → 4.1.22

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 (191) hide show
  1. package/README.md +152 -3
  2. package/chunks/add-4LRHVBEC.js +7 -0
  3. package/chunks/anthropic-GBDSASP5.js +1 -0
  4. package/chunks/approve-364KOMLB.js +1 -0
  5. package/chunks/ask-752YJEHO.js +2 -0
  6. package/chunks/block-JVJQU723.js +1 -0
  7. package/chunks/browser-6UKLTPJO.js +1 -0
  8. package/chunks/build-VKOO2WEA.js +6 -0
  9. package/chunks/bun-N3TIWBPP.js +1 -0
  10. package/chunks/changelog-gen-ZCNNOY7G.js +7 -0
  11. package/chunks/chunk-2R4MK2KR.js +2 -0
  12. package/chunks/chunk-2TRQKCFC.js +1 -0
  13. package/chunks/chunk-34GCQZ3Z.js +3 -0
  14. package/chunks/chunk-3APERFKY.js +18 -0
  15. package/chunks/chunk-3DMTTLUJ.js +1 -0
  16. package/chunks/chunk-3TYZYY77.js +1 -0
  17. package/chunks/chunk-4HMEWMWL.js +1 -0
  18. package/chunks/chunk-4HNB3UTC.js +1 -0
  19. package/chunks/chunk-4OIKB2P5.js +1 -0
  20. package/chunks/chunk-4Q3SEHPE.js +1 -0
  21. package/chunks/chunk-4S7QYPS6.js +1 -0
  22. package/chunks/chunk-5C7ZQN6X.js +3 -0
  23. package/chunks/chunk-5O7V5P53.js +1 -0
  24. package/chunks/chunk-5UGVJVIQ.js +1 -0
  25. package/chunks/chunk-6FMPNAZ3.js +1 -0
  26. package/chunks/chunk-6U2VEZEM.js +1 -0
  27. package/chunks/chunk-6YRN6OJC.js +2 -0
  28. package/chunks/chunk-7GS5KPVF.js +1 -0
  29. package/chunks/chunk-7M3ONEMO.js +32 -0
  30. package/chunks/chunk-7QNRH7OR.js +3 -0
  31. package/chunks/chunk-A2GDVOQP.js +1 -0
  32. package/chunks/chunk-AK3OJD4W.js +1 -0
  33. package/chunks/chunk-ATLUGTI7.js +2 -0
  34. package/chunks/chunk-BK2BDHKB.js +1 -0
  35. package/chunks/chunk-BKVQBSFV.js +6 -0
  36. package/chunks/chunk-BP2MZX2P.js +2 -0
  37. package/chunks/chunk-C3OSYHJY.js +2 -0
  38. package/chunks/chunk-CDLEA2PD.js +1 -0
  39. package/chunks/chunk-DDLQMSA7.js +0 -0
  40. package/chunks/chunk-DLVQNMNV.js +1 -0
  41. package/chunks/chunk-DOV5776P.js +3 -0
  42. package/chunks/chunk-DQAEQEXD.js +1 -0
  43. package/chunks/chunk-DRQWYJMH.js +1 -0
  44. package/chunks/chunk-DXB73IDG.js +1 -0
  45. package/chunks/chunk-DZD6MI45.js +5 -0
  46. package/chunks/chunk-EW5NCPPE.js +3 -0
  47. package/chunks/chunk-FGDJVQG3.js +32 -0
  48. package/chunks/chunk-FKF2SWQM.js +18 -0
  49. package/chunks/chunk-GETSWLMF.js +4 -0
  50. package/chunks/chunk-GLSCZGXA.js +1 -0
  51. package/chunks/chunk-GRTR6TNJ.js +1 -0
  52. package/chunks/chunk-GXPLME3K.js +14 -0
  53. package/chunks/chunk-H2JGLZIR.js +1 -0
  54. package/chunks/chunk-HGNGFAAY.js +60 -0
  55. package/chunks/chunk-HPPFA3XU.js +1 -0
  56. package/chunks/chunk-HPVL4BVQ.js +2 -0
  57. package/chunks/chunk-HVMMNGY5.js +7 -0
  58. package/chunks/chunk-IA7GIU76.js +14 -0
  59. package/chunks/chunk-IAWIWTDY.js +1 -0
  60. package/chunks/chunk-JQHMDTPL.js +1 -0
  61. package/chunks/chunk-L2BYHWDC.js +1 -0
  62. package/chunks/chunk-LRL56YFE.js +1 -0
  63. package/chunks/chunk-LU3DHXOC.js +2 -0
  64. package/chunks/chunk-LXVBR775.js +1 -0
  65. package/chunks/chunk-M5TBBQQC.js +21 -0
  66. package/chunks/chunk-MQH4XBFN.js +1 -0
  67. package/chunks/chunk-NADES3GN.js +1 -0
  68. package/chunks/chunk-NIX3WX3O.js +1 -0
  69. package/chunks/chunk-NSZ4HGDI.js +1 -0
  70. package/chunks/chunk-NUSNMQPL.js +1 -0
  71. package/chunks/chunk-NZFUFGOC.js +1 -0
  72. package/chunks/chunk-OBIEQJDE.js +4 -0
  73. package/chunks/chunk-OLM5RTFK.js +1 -0
  74. package/chunks/chunk-PBSR4XR2.js +335 -0
  75. package/chunks/chunk-PLJNPQFC.js +1 -0
  76. package/chunks/chunk-PLRSDG6G.js +2 -0
  77. package/chunks/chunk-Q7QMINSQ.js +0 -0
  78. package/chunks/chunk-QIUIPRJP.js +1 -0
  79. package/chunks/chunk-QXTK62N4.js +1 -0
  80. package/chunks/chunk-R6F4EK2B.js +4 -0
  81. package/chunks/chunk-RGUC6KAZ.js +1 -0
  82. package/chunks/chunk-SCCNNGD4.js +2 -0
  83. package/chunks/chunk-SCULX2ND.js +1 -0
  84. package/chunks/chunk-SJQWPBMJ.js +1 -0
  85. package/chunks/chunk-TMFPDVYN.js +127 -0
  86. package/chunks/chunk-UJX2S56V.js +1 -0
  87. package/chunks/chunk-USCAYIWL.js +1 -0
  88. package/chunks/chunk-V5HTJPFW.js +3 -0
  89. package/chunks/chunk-VFMYWG2I.js +3 -0
  90. package/chunks/chunk-VGFZXQMW.js +1 -0
  91. package/chunks/chunk-VTQ72OK7.js +1 -0
  92. package/chunks/chunk-WE7PSSAQ.js +91 -0
  93. package/chunks/chunk-WUJUQPHI.js +1 -0
  94. package/chunks/chunk-X4ZCYXOT.js +1 -0
  95. package/chunks/chunk-XJ3VEVYL.js +3 -0
  96. package/chunks/chunk-XMTGT2NJ.js +10 -0
  97. package/chunks/chunk-XWYLEYLY.js +1 -0
  98. package/chunks/chunk-Y6DLCHJN.js +1 -0
  99. package/chunks/chunk-Y6DZEK4W.js +1 -0
  100. package/chunks/chunk-YUXQ7JNG.js +1 -0
  101. package/chunks/chunk-Z7742D7Q.js +1 -0
  102. package/chunks/chunk-ZE5T64HQ.js +1 -0
  103. package/chunks/chunk-ZF2XYULB.js +1 -0
  104. package/chunks/chunk-ZOZYBQX2.js +0 -0
  105. package/chunks/chunk-ZTLJ775S.js +1 -0
  106. package/chunks/chunk-ZY72QNKZ.js +3 -0
  107. package/chunks/claude-code-PWTLM554.js +1 -0
  108. package/chunks/clone-DASXIL35.js +5 -0
  109. package/chunks/commitmsg-SQRQONCS.js +10 -0
  110. package/chunks/deno-PZXN5K3J.js +1 -0
  111. package/chunks/dev-FLO2KEPZ.js +3 -0
  112. package/chunks/file-tools-shared-ESMPLZVJ.js +1 -0
  113. package/chunks/fileFromPath-4UEDFJ4U.js +6 -0
  114. package/chunks/gemini-I6F5N7PS.js +1 -0
  115. package/chunks/gh-Y4BXDXR5.js +4 -0
  116. package/chunks/gh-contributors-5SHGJHAQ.js +11 -0
  117. package/chunks/init-GXBXQGGV.js +1 -0
  118. package/chunks/init-UFJL24PW.js +12 -0
  119. package/chunks/install-Q2KQZM62.js +2 -0
  120. package/chunks/kiro-NMTIFMT4.js +1 -0
  121. package/chunks/list-B7L4FZKG.js +2 -0
  122. package/chunks/list-MN7OUE52.js +1 -0
  123. package/chunks/list-UZKWSA4S.js +1 -0
  124. package/chunks/load-config-TSM3AAQ6.js +1 -0
  125. package/chunks/main-WVXCURBF.js +5 -0
  126. package/chunks/manifest-VJQJG2LS.js +1 -0
  127. package/chunks/mod-3PJAIZ2O.js +1 -0
  128. package/chunks/mod-6P2JPEHC.js +1 -0
  129. package/chunks/mod-7X3BOO5H.js +1 -0
  130. package/chunks/mod-CI56JMO4.js +43 -0
  131. package/chunks/mod-FKPTF5D5.js +1 -0
  132. package/chunks/mod-GZ6BSK2P.js +1 -0
  133. package/chunks/mod-JTBNNSZZ.js +1 -0
  134. package/chunks/mod-MKMQWZ6G.js +1 -0
  135. package/chunks/mod-PEAFMI6F.js +1 -0
  136. package/chunks/mod-QODEWK3G.js +9 -0
  137. package/chunks/mod-STKIZYZ3.js +27 -0
  138. package/chunks/new-W5YBJFGW.js +4 -0
  139. package/chunks/next-773GX25N.js +3 -0
  140. package/chunks/node-RWYXITVV.js +59 -0
  141. package/chunks/node-VPHAK3FD.js +1 -0
  142. package/chunks/ollama-DQ5VM4HI.js +1 -0
  143. package/chunks/openai-EKIA3VP3.js +19 -0
  144. package/chunks/openai-XMIVMDDL.js +1 -0
  145. package/chunks/opencode-IZMQZ4ZK.js +1 -0
  146. package/chunks/recipe-applier-F2REROYS.js +1 -0
  147. package/chunks/registry-fetcher-ZJ76EHBA.js +1 -0
  148. package/chunks/release-YJOLKWDT.js +8 -0
  149. package/chunks/release-notes-Z53AFCII.js +3 -0
  150. package/chunks/release-tag-QRIKYVQB.js +1 -0
  151. package/chunks/reset-5LQGIOGB.js +1 -0
  152. package/chunks/rule-K42YEAMO.js +2 -0
  153. package/chunks/run-7JXDS75G.js +4 -0
  154. package/chunks/scripts-RSK5XDRW.js +1 -0
  155. package/chunks/sdk-5JGXLIO5.js +18 -0
  156. package/chunks/serve-U6IXMGXQ.js +3 -0
  157. package/chunks/server-PXE4DB3V.js +69 -0
  158. package/chunks/spec-5446CSQC.js +1 -0
  159. package/chunks/status-HK3P6J6G.js +1 -0
  160. package/chunks/sync-4FSA5257.js +1 -0
  161. package/chunks/system-3MH6OCP6.js +1 -0
  162. package/chunks/system-KWFBSQYQ.js +1 -0
  163. package/chunks/unstable_chmod-WRDBWEC2.js +1 -0
  164. package/chunks/update-QD5S73WT.js +5 -0
  165. package/chunks/validate-bom-IVALGNGE.js +1 -0
  166. package/chunks/validate-case-conflict-LKECKLD5.js +1 -0
  167. package/chunks/validate-circular-deps-PXFPCBXA.js +1 -0
  168. package/chunks/validate-commit-msg-77CBKGOF.js +1 -0
  169. package/chunks/validate-docs-3UGB7LN7.js +1 -0
  170. package/chunks/validate-eof-ZSIYNHO5.js +1 -0
  171. package/chunks/validate-export-names-BPSCBX7B.js +1 -0
  172. package/chunks/validate-filenames-G4XJ2LHN.js +1 -0
  173. package/chunks/validate-json-YRCFW2O7.js +1 -0
  174. package/chunks/validate-large-files-MWWSFDOE.js +1 -0
  175. package/chunks/validate-licenses-Q2YA2MND.js +1 -0
  176. package/chunks/validate-line-endings-C6NHWHGI.js +1 -0
  177. package/chunks/validate-merge-conflict-KTBL4FUY.js +1 -0
  178. package/chunks/validate-mod-exports-LQIIQRIS.js +1 -0
  179. package/chunks/validate-package-configs-36PYXIWC.js +1 -0
  180. package/chunks/validate-secrets-UFDJ7ITY.js +1 -0
  181. package/chunks/validate-shebangs-3UO4MDMZ.js +1 -0
  182. package/chunks/validate-submodules-YA654D3B.js +1 -0
  183. package/chunks/validate-symlinks-R2PNE5TG.js +1 -0
  184. package/chunks/validate-toml-7H2N5AKI.js +1 -0
  185. package/chunks/validate-trailing-whitespace-HXO7M3ED.js +1 -0
  186. package/chunks/validate-yaml-ZJJCQVBB.js +1 -0
  187. package/chunks/versions-CWT5S7G4.js +1 -0
  188. package/chunks/vertexai-2SMP54AR.js +1 -0
  189. package/chunks/workerd-NXKZMQPV.js +1 -0
  190. package/eser.js +1 -943
  191. package/package.json +1 -1
package/eser.js CHANGED
@@ -1,944 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var o5=Object.create;var $R=Object.defineProperty;var i5=Object.getOwnPropertyDescriptor;var s5=Object.getOwnPropertyNames;var a5=Object.getPrototypeOf,l5=Object.prototype.hasOwnProperty;var xu=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var k=(e,t)=>()=>(e&&(t=e(e=0)),t);var yl=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xe=(e,t)=>{for(var n in t)$R(e,n,{get:t[n],enumerable:!0})},c5=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of s5(t))!l5.call(e,o)&&o!==n&&$R(e,o,{get:()=>t[o],enumerable:!(r=i5(t,o))||r.enumerable});return e};var eT=(e,t,n)=>(n=e!=null?o5(a5(e)):{},c5(t||!e||!e.__esModule?$R(n,"default",{value:e,enumerable:!0}):n,e));function mO(e){return y5.test(e)&&Number.isFinite(Number(e))}function hO(e,t){return t==="constructor"&&typeof e[t]=="function"||t==="__proto__"}function wf(e,t,n,r=!1){t=[...t];let o=t.pop();for(let i of t){if(hO(e,i))return;e=e[i]??={}}if(!hO(e,o)){if(r){let i=e[o];if(Array.isArray(i)){i.push(n);return}n=i?[i,n]:[n]}e[o]=n}}function tT(e,t){for(let n of t){let r=e[n];if(!Object.hasOwn(e,n))return!1;e=r}return!0}function gO(e,t,n){let r=e.get(n);if(r===void 0)return!1;for(let o of r)if(t.has(o))return!0;return!1}function yO(e){return e==="true"||e==="false"}function nT(e){return e!=="false"}function wt(e,t){let{"--":n=!1,alias:r={},boolean:o=!1,default:i={},stopEarly:s=!1,string:u=[],collect:p=[],negatable:f=[],unknown:g=W=>W}=t??{},y=new Map,x=new Set,w=new Set,A=new Set,F=new Set,D=!1;if(r)for(let[W,M]of Object.entries(r)){if(M===void 0)throw new TypeError("Alias value must be defined");let ne=Array.isArray(M)?M:[M];y.set(W,new Set(ne)),ne.forEach(Re=>y.set(Re,new Set([W,...ne.filter(ve=>ve!==Re)])))}if(o)if(typeof o=="boolean")D=o;else{let W=Array.isArray(o)?o:[o];for(let M of W.filter(Boolean))x.add(M),y.get(M)?.forEach(ne=>{x.add(ne)})}if(u){let W=Array.isArray(u)?u:[u];for(let M of W.filter(Boolean))w.add(M),y.get(M)?.forEach(ne=>w.add(ne))}if(p){let W=Array.isArray(p)?p:[p];for(let M of W.filter(Boolean))A.add(M),y.get(M)?.forEach(ne=>A.add(ne))}if(f){let W=Array.isArray(f)?f:[f];for(let M of W.filter(Boolean))F.add(M),y.get(M)?.forEach(ne=>F.add(ne))}let L={_:[]};function U(W,M,ne,Re){if(!x.has(W)&&!w.has(W)&&!y.has(W)&&!A.has(W)&&!(D&&h5.test(ne))&&g?.(ne,W,M)===!1)return;typeof M=="string"&&!w.has(W)&&(M=mO(M)?Number(M):M);let ve=Re&&A.has(W);wf(L,W.split("."),M,ve),y.get(W)?.forEach(re=>{wf(L,re.split("."),M,ve)})}let Y=[],G=e.indexOf("--");G!==-1&&(Y=e.slice(G+1),e=e.slice(0,G));e:for(let W=0;W<e.length;W++){let M=e[W],ne=M.match(u5)?.groups;if(ne){let{doubleDash:Re,negated:ve}=ne,re=ne.key,me=ne.value;if(Re){if(me!=null){x.has(re)&&(me=nT(me)),U(re,me,M,!0);continue}if(ve){if(F.has(re)){U(re,!1,M,!1);continue}re=`no-${re}`}let ge=e[W+1];if(ge){if(!x.has(re)&&!D&&!ge.startsWith("-")&&(!y.has(re)||!gO(y,x,re))){me=ge,W++,U(re,me,M,!0);continue}if(yO(ge)){me=nT(ge),W++,U(re,me,M,!0);continue}}me=w.has(re)?"":!0,U(re,me,M,!0);continue}let ce=M.slice(1,-1).split("");for(let[ge,Pe]of ce.entries()){let ot=M.slice(ge+2);if(ot==="-"){U(Pe,ot,M,!0);continue}if(ot==="="){U(Pe,"",M,!0);continue e}if(d5.test(Pe)){let Xe=m5.exec(ot)?.groups;if(Xe){U(Pe,Xe.value,M,!0);continue e}if(p5.test(ot)){U(Pe,ot,M,!0);continue e}}if(ce[ge+1]?.match(g5)){U(Pe,M.slice(ge+2),M,!0);continue e}U(Pe,w.has(Pe)?"":!0,M,!0)}if(re=M.slice(-1),re==="-")continue;let Ce=e[W+1];if(Ce){if(!f5.test(Ce)&&!x.has(re)&&(!y.has(re)||!gO(y,x,re))){U(re,Ce,M,!0),W++;continue}if(yO(Ce)){let ge=nT(Ce);U(re,ge,M,!0),W++;continue}}U(re,w.has(re)?"":!0,M,!0);continue}if(g?.(M)!==!1&&L._.push(w.has("_")||!mO(M)?M:Number(M)),s){L._.push(...e.slice(W+1));break}}for(let[W,M]of Object.entries(i)){let ne=W.split(".");tT(L,ne)||(wf(L,ne,M),y.get(W)?.forEach(Re=>wf(L,Re.split("."),M)))}for(let W of x.keys()){let M=W.split(".");if(!tT(L,M)){let ne=A.has(W)?[]:!1;wf(L,M,ne)}}for(let W of w.keys()){let M=W.split(".");!tT(L,M)&&A.has(W)&&wf(L,M,[])}return n?L["--"]=Y:L._.push(...Y),L}var u5,d5,p5,f5,m5,h5,g5,y5,Ri=k(()=>{u5=/^(?:-(?:(?<doubleDash>-)(?<negated>no-)?)?)(?<key>.+?)(?:=(?<value>.*))?$/s,d5=/[A-Za-z]/,p5=/-?\d+(\.\d*)?(e-?\d+)?$/,f5=/^(-|--)[^-]/,m5=/=(?<value>.+)/,h5=/^--[^=]+$/,g5=/\W/,y5=/\S/});var K={};xe(K,{all:()=>F5,any:()=>O5,fail:()=>ke,flatMap:()=>v5,flatMapError:()=>C5,flatMapErrorW:()=>R5,flatMapW:()=>b5,fromPromise:()=>P5,getOrElse:()=>T5,getOrNull:()=>E5,getOrThrow:()=>k5,getOrUndefined:()=>S5,isFail:()=>ti,isOk:()=>ei,map:()=>x5,mapError:()=>w5,match:()=>Cf,ok:()=>Te,tap:()=>I5,tapError:()=>D5,toPromise:()=>A5,tryCatch:()=>M5,tryCatchAsync:()=>eg});var Te,ke,ei,ti,x5,v5,b5,w5,C5,R5,T5,k5,E5,S5,Cf,P5,A5,F5,O5,M5,eg,I5,D5,vn=k(()=>{Te=e=>({_tag:"Ok",value:e,*[Symbol.iterator](){return yield this}}),ke=e=>({_tag:"Fail",error:e,*[Symbol.iterator](){return yield this}}),ei=e=>e._tag==="Ok",ti=e=>e._tag==="Fail",x5=(e,t)=>ei(e)?Te(t(e.value)):e,v5=(e,t)=>ei(e)?t(e.value):e,b5=(e,t)=>ei(e)?t(e.value):e,w5=(e,t)=>ti(e)?ke(t(e.error)):e,C5=(e,t)=>ti(e)?t(e.error):e,R5=(e,t)=>ti(e)?t(e.error):e,T5=(e,t)=>ei(e)?e.value:typeof t=="function"?t(e.error):t,k5=e=>{if(ei(e))return e.value;throw e.error instanceof Error?e.error:new Error(String(e.error))},E5=e=>ei(e)?e.value:null,S5=e=>ei(e)?e.value:void 0,Cf=(e,t)=>ei(e)?t.ok(e.value):t.fail(e.error),P5=async(e,t=n=>n)=>{try{return Te(await e)}catch(n){return ke(t(n))}},A5=e=>ei(e)?Promise.resolve(e.value):Promise.reject(e.error instanceof Error?e.error:new Error(String(e.error))),F5=e=>{let t=[];for(let n of e){if(ti(n))return n;t.push(n.value)}return Te(t)},O5=e=>{let t=[];for(let n of e){if(ei(n))return n;t.push(n.error)}return ke(t)},M5=(e,t=n=>n)=>{try{return Te(e())}catch(n){return ke(t(n))}},eg=async(e,t=n=>n)=>{try{return Te(await e())}catch(n){return ke(t(n))}},I5=(e,t)=>(ei(e)&&t(e.value),e),D5=(e,t)=>(ti(e)&&t(e.error),e)});var fn,Nt,Mv,jl,vu=k(()=>{"use strict";fn=class extends Error{capability;runtimeName;constructor(t,n){super(`Capability "${t}" is not available on runtime "${n}"`),this.name="RuntimeCapabilityError",this.capability=t,this.runtimeName=n}},Nt=class extends Error{path;constructor(t){super(`No such file or directory: ${t}`),this.name="NotFoundError",this.path=t}},Mv=class extends Error{path;constructor(t){super(`File or directory already exists: ${t}`),this.name="AlreadyExistsError",this.path=t}},jl=class extends Error{cmd;code;stderr;constructor(t,n,r){super(`Command "${t}" failed with exit code ${n}: ${r}`),this.name="ProcessError",this.cmd=t,this.code=n,this.stderr=r}}});var Bs,_5,L5,da,N5,xO,Iv,vO,B5,bO,wO,Dv=k(()=>{"use strict";Bs=globalThis,_5=()=>typeof Bs.caches<"u"&&typeof Bs.Request<"u"&&typeof Bs.Response<"u"&&typeof Bs.window>"u"&&typeof Bs.document>"u",L5=()=>typeof Bs.window<"u"||typeof Bs.document<"u",da=()=>{if(typeof globalThis>"u")return"unknown";if(typeof Bs.Bun<"u")return"bun";if(typeof Bs.Deno<"u")return"deno";let e=Bs.process;return e?.versions?.node&&!e?.versions?.bun?"node":_5()?"workerd":L5()?"browser":"unknown"},N5={deno:()=>Bs.Deno?.version?.deno??"unknown",bun:()=>Bs.Bun?.version??"unknown",node:()=>Bs.process?.versions?.node??"unknown",workerd:()=>"unknown",browser:()=>Bs.navigator?.userAgent??"unknown",unknown:()=>"unknown"},xO=()=>N5[da()](),Iv=e=>da()===e,vO=()=>da()==="browser",B5=new Set(["deno","node","bun"]),bO=()=>B5.has(da()),wO=()=>da()==="workerd"});var z5,rT,oT,iT,sT,CO=k(()=>{"use strict";z5=e=>{if(typeof Deno<"u"&&Deno.env?.get)return Deno.env.get(e);let t=globalThis.process;if(t?.env)return t.env[e]},rT=(...e)=>{for(let t of e){let n=z5(t);if(n!==void 0)return n}},oT=e=>{try{let t=globalThis.require;if(t instanceof Function)return t(e)}catch{}},iT=()=>globalThis.process,sT=()=>globalThis.navigator});var RO,pa,TO,Rf,bu,aT,kO,lT=k(()=>{"use strict";CO();RO={darwin:"darwin",linux:"linux",windows:"windows",win32:"windows"},pa=()=>{if(typeof Deno<"u"&&Deno.build?.os)return RO[Deno.build.os]??"linux";let e=iT();if(e?.platform)return RO[e.platform]??"linux";let t=sT();if(t?.userAgent){let n=t.userAgent.toLowerCase();if(n.includes("mac"))return"darwin";if(n.includes("win"))return"windows";if(n.includes("linux"))return"linux"}return"linux"},TO={x86_64:"amd64",x64:"amd64",aarch64:"arm64",arm64:"arm64"},Rf=()=>{if(typeof Deno<"u"&&Deno.build?.arch)return TO[Deno.build.arch]??"amd64";let e=iT();if(e?.arch)return TO[e.arch]??"amd64";let t=sT();if(t?.userAgent){let n=t.userAgent.toLowerCase();if(n.includes("arm64")||n.includes("aarch64"))return"arm64"}return"amd64"},bu=()=>{let e=rT("HOME","USERPROFILE");if(e)return e;let t=oT("os");return t?.homedir?t.homedir():pa()==="windows"?"C:\\Users\\Default":"/home"},aT=()=>{let e=rT("TMPDIR","TMP","TEMP");if(e)return e;let t=oT("os");return t?.tmpdir?t.tmpdir():pa()==="windows"?"C:\\Windows\\Temp":"/tmp"},kO=()=>({platform:pa(),arch:Rf(),homedir:bu(),tmpdir:aT()})});var EO,H5,Tf,ql,G5,cT,SO,uT,PO,dT,AO,V5,Y5,X5,wu,tg=k(()=>{"use strict";EO="/",H5=":",Tf=e=>e.replace(/\\/g,"/").replace(/\/+/g,"/"),ql=e=>Tf(e),G5=(...e)=>{if(e.length===0)return".";let t=e.filter(n=>n.length>0).join(EO);return t.length===0?".":dT(t)},cT=(...e)=>{let t="",n=!1;for(let r=e.length-1;r>=0&&!n;r--){let o=e[r];o===void 0||o.length===0||(t=`${o}/${t}`,n=AO(o))}return t=Tf(t),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),dT(t)??"."},SO=e=>{if(e.length===0)return".";for(e=Tf(e);e.length>1&&e.endsWith("/");)e=e.slice(0,-1);let t=e.lastIndexOf("/");return t===-1?".":t===0?"/":e.slice(0,t)},uT=(e,t)=>{if(e.length===0)return"";for(e=Tf(e);e.length>1&&e.endsWith("/");)e=e.slice(0,-1);let n=e.lastIndexOf("/"),r=n===-1?e:e.slice(n+1);return t&&r.endsWith(t)&&(r=r.slice(0,-t.length)),r},PO=e=>{let t=uT(e),n=t.lastIndexOf(".");return n<=0||n===t.length-1?"":t.slice(n)},dT=e=>{if(e.length===0)return".";e=Tf(e);let t=e.startsWith("/"),n=e.endsWith("/"),r=e.split("/").filter(s=>s.length>0),o=[];for(let s of r)s!=="."&&(s===".."?o.length>0&&o[o.length-1]!==".."?o.pop():t||o.push(".."):o.push(s));let i=o.join("/");return t&&(i=`/${i}`),n&&i.length>1&&(i+="/"),i??"."},AO=e=>e.length===0?!1:!!(e.startsWith("/")||e.length>=3&&/^[a-zA-Z]:[/\\]/.test(e)),V5=(e,t)=>{if(e===t||(e=cT(e),t=cT(t),e===t))return"";let n=e.split("/").filter(f=>f.length>0),r=t.split("/").filter(f=>f.length>0),o=0,i=Math.min(n.length,r.length);for(let f=0;f<i&&n[f]===r[f];f++)o++;let s=n.length-o,u=r.slice(o);return[...Array(s).fill(".."),...u].join("/")??"."},Y5=e=>{if(e.length===0)return{root:"",dir:"",base:"",ext:"",name:""};e=Tf(e);let t="",n="",r=uT(e),o=PO(e),i=o?r.slice(0,-o.length):r;return e.startsWith("/")?t="/":/^[a-zA-Z]:[/\\]/.test(e)&&(t=e.slice(0,3)),n=SO(e),n==="."&&(n=""),{root:t,dir:n,base:r,ext:o,name:i}},X5=e=>{let{root:t="",dir:n,base:r,ext:o="",name:i=""}=e,s=r??i+o;return n?n===t?`${n}${s}`:`${n}/${s}`:`${t}${s}`},wu={join:G5,resolve:cT,dirname:SO,basename:uT,extname:PO,normalize:dT,isAbsolute:AO,relative:V5,parse:Y5,format:X5,sep:EO,delimiter:H5}});var pT,FO=k(()=>{"use strict";ye();pT=async(e,t,n={})=>{let{searchParents:r=!1}=n,o=e;for(;;){for(let s of t){let u=C.path.join(o,s);if(await C.fs.exists(u)&&(await C.fs.stat(u)).isFile)return u}if(!r)break;let i=C.path.dirname(o);if(i===o)break;o=i}}});var fT,mT,hT,Cu,OO,Ru,MO=k(()=>{"use strict";Dv();lT();ye();fT=(e,t)=>{let n=t==="windows"?";":":";return e.split(n).filter(r=>r.length>0)},mT=(e,t,n,r,o)=>{if(n)return{invoker:"binary",mode:"installed"};if(t==="bun")return e.BUN_INSTALL!==void 0?{invoker:"bun",mode:"installed"}:{invoker:"bunx",mode:"on-demand"};if(t==="node"){let i=e.npm_execpath??"";return i.includes("npx")?{invoker:"npx",mode:"on-demand"}:i.includes("pnpm")?{invoker:"pnpx",mode:"on-demand"}:(e.npm_config_user_agent??"").includes("pnpm")?{invoker:"pnpm",mode:"installed"}:{invoker:"npm",mode:"installed"}}return t==="deno"?r!==void 0&&(r.startsWith("jsr:")||r.startsWith("https:"))?{invoker:"deno",mode:"on-demand"}:o===!0?{invoker:"dev",mode:"dev"}:{invoker:"deno",mode:"installed"}:{invoker:"unknown",mode:"installed"}},hT=(e,t,n)=>e==="npx"?`npx ${n.npmPackage}`:e==="pnpx"?`pnpx ${n.npmPackage}`:e==="bunx"?`bunx ${n.npmPackage}`:e==="deno"&&t==="on-demand"?`deno run --allow-all jsr:${n.jsrPackage}`:e==="dev"?n.devCommand:n.command,Cu=async e=>{let t=pa(),n=t==="windows"?`${e}.exe`:e,r=C.env.get("PATH")??"",o=fT(r,t);for(let i of o)try{return await C.fs.stat(C.path.join(i,n)),!0}catch{continue}return!1},OO=async e=>await Cu(e.command)?e.command:await Cu("npx")?`npx ${e.npmPackage}`:await Cu("pnpx")?`pnpx ${e.npmPackage}`:await Cu("bunx")?`bunx ${e.npmPackage}`:await Cu("deno")?`deno run --allow-all jsr:${e.jsrPackage}`:e.command,Ru=async e=>{let t=import.meta.filename===void 0,n=da(),r=import.meta.url,o={BUN_INSTALL:C.env.get("BUN_INSTALL"),npm_execpath:C.env.get("npm_execpath"),npm_config_user_agent:C.env.get("npm_config_user_agent")},i=!1;if(n==="deno"&&r.startsWith("file://"))try{let y=C.process.cwd(),x=C.path.join(y,"deno.json"),w=await C.fs.readTextFile(x),F=JSON.parse(w).tasks;F!==void 0&&"cli"in F&&(i=!0)}catch{}let{invoker:s,mode:u}=mT(o,n,t,r,i),p=t?"compiled":["deno","node","bun"].includes(n)?n:"deno",f=hT(s,u,e),g=await Cu(e.command);return{runtime:p,mode:u,invoker:s,command:f,isInPath:g}}});var J5,K5,Z5,Q5,Ud,j5,IO,DO,q5,_O,gT=k(()=>{"use strict";vu();tg();J5={fs:!1,fsSync:!1,exec:!1,process:!1,env:!0,stdin:!1,stdout:!1,kv:!0},K5=()=>{let e=()=>{throw new fn("fs","workerd")};return{readFile:e,readTextFile:e,writeFile:e,writeTextFile:e,exists:e,stat:e,lstat:e,mkdir:e,ensureDir:e,remove:e,readDir:()=>{throw new fn("fs","workerd")},copyFile:e,rename:e,makeTempDir:e,realPath:e,watch:e,walk:e,chmod:e}},Z5=()=>wu,Q5=()=>{let e=()=>{throw new fn("exec","workerd")};return{spawn:e,exec:e,execJson:e,spawnChild:e}},Ud=new Map,j5=()=>({get(e){return Ud.get(e)},set(e,t){Ud.set(e,t)},delete(e){Ud.delete(e)},has(e){return Ud.has(e)},toObject(){return Object.fromEntries(Ud)}}),IO=e=>{for(let[t,n]of Object.entries(e))n!=null&&n.constructor===String&&Ud.set(t,n)},DO=()=>{Ud.clear()},q5=()=>{let e=()=>{throw new fn("process","workerd")};return{exit:e,setExitCode:e,cwd:e,chdir:e,hostname:e,execPath:e,get args(){throw new fn("process","workerd")},get pid(){throw new fn("process","workerd")},get stdin(){throw new fn("process","workerd")},get stdout(){throw new fn("process","workerd")},get stderr(){throw new fn("process","workerd")}}},_O=()=>{let e=K5(),t=Z5(),n=Q5(),r=j5(),o=q5();return{name:"workerd",version:"unknown",capabilities:J5,fs:e,path:t,exec:n,env:r,process:o}}});function LO(){let e=globalThis,t=e.Deno?.build?.os;return typeof t=="string"?t==="windows":e.navigator?.platform?.startsWith("Win")??e.process?.platform?.startsWith("win")??!1}var NO=k(()=>{});var Ct,Hr=k(()=>{NO();Ct=LO()});function Zt(e){if(typeof e!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(e)}"`)}var ji=k(()=>{});function _v(e,t){if(t.length>=e.length)return e;let n=e.length-t.length;for(let r=t.length-1;r>=0;--r)if(e.charCodeAt(n+r)!==t.charCodeAt(r))return e;return e.slice(0,-t.length)}function Lv(e,t,n=0){let r=!1,o=e.length;for(let i=e.length-1;i>=n;--i)if(t(e.charCodeAt(i))){if(r){n=i+1;break}}else r||(r=!0,o=i+1);return e.slice(n,o)}function Nv(e,t){if(Zt(e),e.length===0)return e;if(typeof t!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(t)}"`)}var yT=k(()=>{ji()});function Bv(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}var xT=k(()=>{});function Na(e){return e=Bv(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}var zd=k(()=>{xT()});function $l(e,t){if(e.length<=1)return e;let n=e.length;for(let r=e.length-1;r>0&&t(e.charCodeAt(r));r--)n=r;return e.slice(0,n)}var kf=k(()=>{});var qi=k(()=>{});function Vt(e){return e===47}var Ic=k(()=>{qi()});function BO(e,t=""){e instanceof URL&&(e=Na(e)),Nv(e,t);let n=Lv(e,Vt),r=$l(n,Vt);return t?_v(r,t):r}var UO=k(()=>{yT();zd();kf();Ic()});function zO(e){return e===47}function Ue(e){return e===47||e===92}function $i(e){return e>=97&&e<=122||e>=65&&e<=90}var ec=k(()=>{qi()});function Ua(e){e=Bv(e);let t=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(t=`\\\\${e.hostname}${t}`),t}var Wd=k(()=>{xT()});function WO(e,t=""){e instanceof URL&&(e=Ua(e)),Nv(e,t);let n=0;if(e.length>=2){let i=e.charCodeAt(0);$i(i)&&e.charCodeAt(1)===58&&(n=2)}let r=Lv(e,Ue,n),o=$l(r,Ue);return t?_v(o,t):o}var HO=k(()=>{yT();qi();kf();ec();Wd()});function Sf(e,t=""){return Ct?WO(e,t):BO(e,t)}var Uv=k(()=>{Hr();UO();HO()});var GO,ng,rg=k(()=>{Hr();GO=Ct?";":":",ng=Ct?"\\":"/"});function zv(e){if(Zt(e),e.length===0)return"."}var vT=k(()=>{ji()});function VO(e){e instanceof URL&&(e=Na(e)),zv(e);let t=-1,n=!1;for(let r=e.length-1;r>=1;--r)if(Vt(e.charCodeAt(r))){if(n){t=r;break}}else n=!0;return t===-1?Vt(e.charCodeAt(0))?"/":".":$l(e.slice(0,t),Vt)}var YO=k(()=>{vT();kf();Ic();zd()});function XO(e){e instanceof URL&&(e=Ua(e)),zv(e);let t=e.length,n=-1,r=-1,o=!0,i=0,s=e.charCodeAt(0);if(t>1)if(Ue(s)){if(n=i=1,Ue(e.charCodeAt(1))){let u=2,p=u;for(;u<t&&!Ue(e.charCodeAt(u));++u);if(u<t&&u!==p){for(p=u;u<t&&Ue(e.charCodeAt(u));++u);if(u<t&&u!==p){for(p=u;u<t&&!Ue(e.charCodeAt(u));++u);if(u===t)return e;u!==p&&(n=i=u+1)}}}}else $i(s)&&e.charCodeAt(1)===58&&(n=i=2,t>2&&Ue(e.charCodeAt(2))&&(n=i=3));else if(Ue(s))return e;for(let u=t-1;u>=i;--u)if(Ue(e.charCodeAt(u))){if(!o){r=u;break}}else o=!1;if(r===-1){if(n===-1)return".";r=n}return $l(e.slice(0,r),zO)}var JO=k(()=>{vT();qi();kf();ec();Wd()});function og(e){return Ct?XO(e):VO(e)}var ig=k(()=>{Hr();YO();JO()});function KO(e){e instanceof URL&&(e=Na(e)),Zt(e);let t=-1,n=0,r=-1,o=!0,i=0;for(let s=e.length-1;s>=0;--s){let u=e.charCodeAt(s);if(Vt(u)){if(!o){n=s+1;break}continue}r===-1&&(o=!1,r=s+1),u===46?t===-1?t=s:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||r===-1||i===0||i===1&&t===r-1&&t===n+1?"":e.slice(t,r)}var ZO=k(()=>{qi();ji();Ic();zd()});function QO(e){e instanceof URL&&(e=Ua(e)),Zt(e);let t=0,n=-1,r=0,o=-1,i=!0,s=0;e.length>=2&&e.charCodeAt(1)===58&&$i(e.charCodeAt(0))&&(t=r=2);for(let u=e.length-1;u>=t;--u){let p=e.charCodeAt(u);if(Ue(p)){if(!i){r=u+1;break}continue}o===-1&&(i=!1,o=u+1),p===46?n===-1?n=u:s!==1&&(s=1):n!==-1&&(s=-1)}return n===-1||o===-1||s===0||s===1&&n===o-1&&n===r+1?"":e.slice(n,o)}var jO=k(()=>{qi();ji();ec();Wd()});function qO(e){return Ct?QO(e):KO(e)}var $O=k(()=>{Hr();ZO();jO()});function Wv(e,t){let n=t.dir||t.root,r=t.base||(t.name??"")+(t.ext??"");return n?r===e?n:n===t.root?n+r:n+e+r:r}function Hv(e){if(e===null||typeof e!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof e}"`)}var bT=k(()=>{});function eM(e){return Hv(e),Wv("/",e)}var tM=k(()=>{bT()});function nM(e){return Hv(e),Wv("\\",e)}var rM=k(()=>{bT()});function oM(e){return Ct?nM(e):eM(e)}var iM=k(()=>{Hr();tM();rM()});function sM(e){return Ct?Ua(e):Na(e)}var wT=k(()=>{Hr();zd();Wd()});function Gv(e){return Zt(e),e.length>0&&Vt(e.charCodeAt(0))}var CT=k(()=>{ji();Ic()});function Vv(e){Zt(e);let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0);return Ue(n)?!0:!!($i(n)&&t>2&&e.charCodeAt(1)===58&&Ue(e.charCodeAt(2)))}var RT=k(()=>{qi();ji();ec()});function TT(e){return Ct?Vv(e):Gv(e)}var kT=k(()=>{Hr();CT();RT()});function Yv(e){if(Zt(e),e.length===0)return"."}var ET=k(()=>{ji()});function Tu(e,t,n,r){let o="",i=0,s=-1,u=0,p;for(let f=0;f<=e.length;++f){if(f<e.length)p=e.charCodeAt(f);else{if(r(p))break;p=47}if(r(p)){if(!(s===f-1||u===1))if(s!==f-1&&u===2){if(o.length<2||i!==2||o.charCodeAt(o.length-1)!==46||o.charCodeAt(o.length-2)!==46){if(o.length>2){let g=o.lastIndexOf(n);g===-1?(o="",i=0):(o=o.slice(0,g),i=o.length-1-o.lastIndexOf(n)),s=f,u=0;continue}else if(o.length===2||o.length===1){o="",i=0,s=f,u=0;continue}}t&&(o.length>0?o+=`${n}..`:o="..",i=2)}else o.length>0?o+=n+e.slice(s+1,f):o=e.slice(s+1,f),i=f-s-1;s=f,u=0}else p===46&&u!==-1?++u:u=-1}return o}var sg=k(()=>{qi()});function ag(e){e instanceof URL&&(e=Na(e)),Yv(e);let t=Vt(e.charCodeAt(0)),n=Vt(e.charCodeAt(e.length-1));return e=Tu(e,!t,"/",Vt),e.length===0&&!t&&(e="."),e.length>0&&n&&(e+="/"),t?`/${e}`:e}var Xv=k(()=>{ET();sg();Ic();zd()});function ST(e,...t){if(e===void 0)return".";e instanceof URL&&(e=Na(e)),t=e?[e,...t]:t,t.forEach(r=>Zt(r));let n=t.filter(r=>r.length>0).join("/");return n===""?".":ag(n)}var PT=k(()=>{ji();zd();Xv()});function lg(e){e instanceof URL&&(e=Ua(e)),Yv(e);let t=e.length,n=0,r,o=!1,i=e.charCodeAt(0);if(t>1)if(Ue(i))if(o=!0,Ue(e.charCodeAt(1))){let u=2,p=u;for(;u<t&&!Ue(e.charCodeAt(u));++u);if(u<t&&u!==p){let f=e.slice(p,u);for(p=u;u<t&&Ue(e.charCodeAt(u));++u);if(u<t&&u!==p){for(p=u;u<t&&!Ue(e.charCodeAt(u));++u);if(u===t)return`\\\\${f}\\${e.slice(p)}\\`;u!==p&&(r=`\\\\${f}\\${e.slice(p,u)}`,n=u)}}}else n=1;else $i(i)&&e.charCodeAt(1)===58&&(r=e.slice(0,2),n=2,t>2&&Ue(e.charCodeAt(2))&&(o=!0,n=3));else if(Ue(i))return"\\";let s;return n<t?s=Tu(e.slice(n),!o,"\\",Ue):s="",s.length===0&&!o&&(s="."),s.length>0&&Ue(e.charCodeAt(t-1))&&(s+="\\"),r===void 0?o?s.length>0?`\\${s}`:"\\":s:o?s.length>0?`${r}\\${s}`:`${r}\\`:r+s}var Jv=k(()=>{ET();qi();sg();ec();Wd()});function AT(e,...t){if(e instanceof URL&&(e=Ua(e)),t=e?[e,...t]:t,t.forEach(s=>Zt(s)),t=t.filter(s=>s.length>0),t.length===0)return".";let n=!0,r=0,o=t[0];if(Ue(o.charCodeAt(0))){++r;let s=o.length;s>1&&Ue(o.charCodeAt(1))&&(++r,s>2&&(Ue(o.charCodeAt(2))?++r:n=!1))}let i=t.join("\\");if(n){for(;r<i.length&&Ue(i.charCodeAt(r));++r);r>=2&&(i=`\\${i.slice(r)}`)}return lg(i)}var FT=k(()=>{ji();ec();Jv();Wd()});function es(e,...t){return Ct?AT(e,...t):ST(e,...t)}var cg=k(()=>{Hr();PT();FT()});function Kv(e){return Ct?lg(e):ag(e)}var OT=k(()=>{Hr();Xv();Jv()});function aM(e){Zt(e);let t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;let n=Vt(e.charCodeAt(0)),r;n?(t.root="/",r=1):r=0;let o=-1,i=0,s=-1,u=!0,p=e.length-1,f=0;for(;p>=r;--p){let g=e.charCodeAt(p);if(Vt(g)){if(!u){i=p+1;break}continue}s===-1&&(u=!1,s=p+1),g===46?o===-1?o=p:f!==1&&(f=1):o!==-1&&(f=-1)}return o===-1||s===-1||f===0||f===1&&o===s-1&&o===i+1?(s!==-1&&(i===0&&n?t.base=t.name=e.slice(1,s):t.base=t.name=e.slice(i,s)),t.base=t.base||"/"):(i===0&&n?(t.name=e.slice(1,o),t.base=e.slice(1,s)):(t.name=e.slice(i,o),t.base=e.slice(i,s)),t.ext=e.slice(o,s)),i>0?t.dir=$l(e.slice(0,i-1),Vt):n&&(t.dir="/"),t}var lM=k(()=>{qi();kf();ji();Ic()});function cM(e){Zt(e);let t={root:"",dir:"",base:"",ext:"",name:""},n=e.length;if(n===0)return t;let r=0,o=e.charCodeAt(0);if(n>1){if(Ue(o)){if(r=1,Ue(e.charCodeAt(1))){let y=2,x=y;for(;y<n&&!Ue(e.charCodeAt(y));++y);if(y<n&&y!==x){for(x=y;y<n&&Ue(e.charCodeAt(y));++y);if(y<n&&y!==x){for(x=y;y<n&&!Ue(e.charCodeAt(y));++y);y===n?r=y:y!==x&&(r=y+1)}}}}else if($i(o)&&e.charCodeAt(1)===58)if(r=2,n>2){if(Ue(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t.base="\\",t;r=3}}else return t.root=t.dir=e,t}else if(Ue(o))return t.root=t.dir=e,t.base="\\",t;r>0&&(t.root=e.slice(0,r));let i=-1,s=r,u=-1,p=!0,f=e.length-1,g=0;for(;f>=r;--f){if(o=e.charCodeAt(f),Ue(o)){if(!p){s=f+1;break}continue}u===-1&&(p=!1,u=f+1),o===46?i===-1?i=f:g!==1&&(g=1):i!==-1&&(g=-1)}return i===-1||u===-1||g===0||g===1&&i===u-1&&i===s+1?u!==-1&&(t.base=t.name=e.slice(s,u)):(t.name=e.slice(s,i),t.base=e.slice(s,u),t.ext=e.slice(i,u)),t.base=t.base||"\\",s>0&&s!==r?t.dir=e.slice(0,s-1):t.dir=t.root,t}var uM=k(()=>{qi();ji();ec()});function dM(e){return Ct?cM(e):aM(e)}var pM=k(()=>{Hr();lM();uM()});function ug(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let o;if(r>=0)o=e[r];else{let{Deno:i}=globalThis;if(typeof i?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");o=i.cwd()}Zt(o),o.length!==0&&(t=`${o}/${t}`,n=Vt(o.charCodeAt(0)))}return t=Tu(t,!n,"/",Vt),n?t.length>0?`/${t}`:"/":t.length>0?t:"."}var MT=k(()=>{sg();ji();Ic()});function Zv(e,t){if(Zt(e),Zt(t),e===t)return""}var IT=k(()=>{ji()});function fM(e,t){if(Zv(e,t),e=ug(e),t=ug(t),e===t)return"";let n=1,r=e.length;for(;n<r&&Vt(e.charCodeAt(n));++n);let o=r-n,i=1,s=t.length;for(;i<s&&Vt(t.charCodeAt(i));++i);let u=s-i,p=o<u?o:u,f=-1,g=0;for(;g<=p;++g){if(g===p){if(u>p){if(Vt(t.charCodeAt(i+g)))return t.slice(i+g+1);if(g===0)return t.slice(i+g)}else o>p&&(Vt(e.charCodeAt(n+g))?f=g:g===0&&(f=0));break}let x=e.charCodeAt(n+g),w=t.charCodeAt(i+g);if(x!==w)break;Vt(x)&&(f=g)}let y="";for(g=n+f+1;g<=r;++g)(g===r||Vt(e.charCodeAt(g)))&&(y.length===0?y+="..":y+="/..");return y.length>0?y+t.slice(i+f):(i+=f,Vt(t.charCodeAt(i))&&++i,t.slice(i))}var mM=k(()=>{Ic();MT();IT()});function Pf(...e){let t="",n="",r=!1;for(let o=e.length-1;o>=-1;o--){let i,{Deno:s}=globalThis;if(o>=0)i=e[o];else if(t){if(typeof s?.env?.get!="function"||typeof s?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");i=s.cwd(),(i===void 0||i.slice(0,3).toLowerCase()!==`${t.toLowerCase()}\\`)&&(i=`${t}\\`)}else{if(typeof s?.cwd!="function")throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");i=s.cwd()}Zt(i);let u=i.length;if(u===0)continue;let p=0,f="",g=!1,y=i.charCodeAt(0);if(u>1)if(Ue(y))if(g=!0,Ue(i.charCodeAt(1))){let x=2,w=x;for(;x<u&&!Ue(i.charCodeAt(x));++x);if(x<u&&x!==w){let A=i.slice(w,x);for(w=x;x<u&&Ue(i.charCodeAt(x));++x);if(x<u&&x!==w){for(w=x;x<u&&!Ue(i.charCodeAt(x));++x);x===u?(f=`\\\\${A}\\${i.slice(w)}`,p=x):x!==w&&(f=`\\\\${A}\\${i.slice(w,x)}`,p=x)}}}else p=1;else $i(y)&&i.charCodeAt(1)===58&&(f=i.slice(0,2),p=2,u>2&&Ue(i.charCodeAt(2))&&(g=!0,p=3));else Ue(y)&&(p=1,g=!0);if(!(f.length>0&&t.length>0&&f.toLowerCase()!==t.toLowerCase())&&(t.length===0&&f.length>0&&(t=f),r||(n=`${i.slice(p)}\\${n}`,r=g),r&&t.length>0))break}return n=Tu(n,!r,"\\",Ue),t+(r?"\\":"")+n||"."}var Qv=k(()=>{qi();sg();ji();ec()});function hM(e,t){Zv(e,t);let n=Pf(e),r=Pf(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let o=0,i=e.length;for(;o<i&&e.charCodeAt(o)===92;++o);for(;i-1>o&&e.charCodeAt(i-1)===92;--i);let s=i-o,u=0,p=t.length;for(;u<p&&t.charCodeAt(u)===92;++u);for(;p-1>u&&t.charCodeAt(p-1)===92;--p);let f=p-u,g=s<f?s:f,y=-1,x=0;for(;x<=g;++x){if(x===g){if(f>g){if(t.charCodeAt(u+x)===92)return r.slice(u+x+1);if(x===2)return r.slice(u+x)}s>g&&(e.charCodeAt(o+x)===92?y=x:x===2&&(y=3));break}let A=e.charCodeAt(o+x),F=t.charCodeAt(u+x);if(A!==F)break;A===92&&(y=x)}if(x!==g&&y===-1)return r;let w="";for(y===-1&&(y=0),x=o+y+1;x<=i;++x)(x===i||e.charCodeAt(x)===92)&&(w.length===0?w+="..":w+="\\..");return w.length>0?w+r.slice(u+y,p):(u+=y,r.charCodeAt(u)===92&&++u,r.slice(u,p))}var gM=k(()=>{qi();Qv();IT()});function yM(e,t){return Ct?hM(e,t):fM(e,t)}var xM=k(()=>{Hr();mM();gM()});function ts(...e){return Ct?Pf(...e):ug(...e)}var Hd=k(()=>{Hr();MT();Qv()});function jv(e){return e.replaceAll(/[\s]/g,t=>rG[t]??t)}var rG,DT=k(()=>{rG={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"}});function vM(e){if(!Gv(e))throw new TypeError(`Path must be absolute: received "${e}"`);let t=new URL("file:///");return t.pathname=jv(e.replace(/%/g,"%25").replace(/\\/g,"%5C")),t}var bM=k(()=>{DT();CT()});function wM(e){if(!Vv(e))throw new TypeError(`Path must be absolute: received "${e}"`);let[,t,n]=e.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/),r=new URL("file:///");if(r.pathname=jv(n.replace(/%/g,"%25")),t!==void 0&&t!=="localhost"&&(r.hostname=t,!r.hostname))throw new TypeError(`Invalid hostname: "${r.hostname}"`);return r}var CM=k(()=>{DT();RT()});function RM(e){return Ct?wM(e):vM(e)}var _T=k(()=>{Hr();bM();CM()});var TM=k(()=>{});var kM=k(()=>{qi();ec();Qv()});var EM=k(()=>{Hr();TM();kM()});var SM=k(()=>{});var PM=k(()=>{SM();rg()});var AM=k(()=>{});var LT=k(()=>{});var FM=k(()=>{LT()});var OM=k(()=>{LT()});var NT=k(()=>{Hr();FM();OM()});var BT=k(()=>{});var UT=k(()=>{});var zT=k(()=>{Xv();UT()});var MM=k(()=>{PT();UT();zT()});var WT=k(()=>{});var HT=k(()=>{Jv();WT()});var IM=k(()=>{FT();WT();HT()});var GT=k(()=>{Hr();MM();IM()});var DM=k(()=>{Hr();zT();HT()});var dg=k(()=>{Uv();rg();ig();$O();iM();wT();kT();cg();OT();pM();xM();Hd();_T();EM();PM();AM();NT();BT();GT();DM()});var VT,$v,Af,eb=k(()=>{"use strict";VT=e=>e==="inherit"?"inherit":e==="piped"?"pipe":"ignore",$v=e=>({stdin:e?.stdin??"null",stdout:e?.stdout??"piped",stderr:e?.stderr??"piped"}),Af=e=>{let t=$v(e);return[VT(t.stdin),VT(t.stdout),VT(t.stderr)]}});function YT(){return globalThis.process.getBuiltinModule("node:fs")}var ns,XT=k(()=>{ns=globalThis.navigator?.userAgent?.includes("Deno")});var _M,LM,dle,fle,hle,yle,NM,ble,Cle,Tle,Ele,BM=k(()=>{XT();_M=ns?Deno.errors.AlreadyExists:class extends Error{},LM=ns?Deno.errors.BadResource:class extends Error{},dle=ns?Deno.errors.BrokenPipe:class extends Error{},fle=ns?Deno.errors.Busy:class extends Error{},hle=ns?Deno.errors.Interrupted:class extends Error{},yle=ns?Deno.errors.InvalidData:class extends Error{},NM=ns?Deno.errors.NotFound:class extends Error{},ble=ns?Deno.errors.PermissionDenied:class extends Error{},Cle=ns?Deno.errors.TimedOut:class extends Error{},Tle=ns?Deno.errors.UnexpectedEof:class extends Error{},Ele=ns?Deno.errors.WriteZero:class extends Error{}});function JT(e){return t=>Object.assign(new e(t.message),{stack:t.stack})}function cG(e){return e instanceof Error&&"code"in e}function KT(e){return cG(e)&&lG[e.code]?.(e)||e}var lG,UM=k(()=>{BM();lG={EEXIST:JT(_M),ENOENT:JT(NM),EBADF:JT(LM)}});var zM={};xe(zM,{chmod:()=>uG,chmodSync:()=>dG});async function uG(e,t){if(ns)await Deno.chmod(e,t);else try{await YT().promises.chmod(e,t)}catch(n){throw KT(n)}}function dG(e,t){if(ns)Deno.chmodSync(e,t);else try{YT().chmodSync(e,t)}catch(n){throw KT(n)}}var WM=k(()=>{XT();UM()});var pG,fG,mG,hG,gG,yG,HM,GM=k(()=>{"use strict";dg();vu();eb();pG={fs:!0,fsSync:!0,exec:!0,process:!0,env:!0,stdin:!0,stdout:!0,kv:!0},fG=()=>{let e=t=>({isFile:t.isFile,isDirectory:t.isDirectory,isSymlink:t.isSymlink,size:t.size,mtime:t.mtime,atime:t.atime,birthtime:t.birthtime});return{async readFile(t,n){try{return await Deno.readFile(t,{signal:n?.signal})}catch(r){throw r instanceof Deno.errors.NotFound?new Nt(t):r}},async readTextFile(t,n){try{return await Deno.readTextFile(t,{signal:n?.signal})}catch(r){throw r instanceof Deno.errors.NotFound?new Nt(t):r}},async writeFile(t,n,r){await Deno.writeFile(t,n,{signal:r?.signal,mode:r?.mode,create:r?.create??!0,append:r?.append??!1})},async writeTextFile(t,n,r){await Deno.writeTextFile(t,n,{signal:r?.signal,mode:r?.mode,create:r?.create??!0,append:r?.append??!1})},async exists(t){try{return await Deno.stat(t),!0}catch(n){if(n instanceof Deno.errors.NotFound)return!1;throw n}},async stat(t){try{let n=await Deno.stat(t);return e(n)}catch(n){throw n instanceof Deno.errors.NotFound?new Nt(t):n}},async lstat(t){try{let n=await Deno.lstat(t);return e(n)}catch(n){throw n instanceof Deno.errors.NotFound?new Nt(t):n}},async mkdir(t,n){await Deno.mkdir(t,{recursive:n?.recursive??!1,mode:n?.mode})},async ensureDir(t){try{await Deno.mkdir(t,{recursive:!0})}catch(n){if(!(n instanceof Deno.errors.AlreadyExists))throw n}},async remove(t,n){try{await Deno.remove(t,{recursive:n?.recursive??!1})}catch(r){throw r instanceof Deno.errors.NotFound?new Nt(t):r}},async*readDir(t){try{for await(let n of Deno.readDir(t))yield{name:n.name,isFile:n.isFile,isDirectory:n.isDirectory,isSymlink:n.isSymlink}}catch(n){throw n instanceof Deno.errors.NotFound?new Nt(t):n}},async copyFile(t,n){await Deno.copyFile(t,n)},async rename(t,n){await Deno.rename(t,n)},async makeTempDir(t){return await Deno.makeTempDir({dir:t?.dir,prefix:t?.prefix,suffix:t?.suffix})},async realPath(t){try{return await Deno.realPath(t)}catch(n){throw n instanceof Deno.errors.NotFound?new Nt(t):n}},watch(t,n){let r=n?.recursive??!0,o=Deno.watchFs(t,{recursive:r}),i=s=>({kind:s.kind,paths:s.paths,flag:s.flag});return{close:()=>o.close(),[Symbol.asyncIterator]:async function*(){for await(let s of o)yield i(s)}}},async*walk(t,n){let r=n?.includeDirs??!0,o=n?.includeFiles??!0,i=n?.exts,s=n?.skip,u=async function*(p){for await(let f of Deno.readDir(p)){let g=es(p,f.name);if(!s?.some(y=>y.test(g))){if(f.isDirectory)r&&(yield{path:g,name:f.name,isFile:!1,isDirectory:!0,isSymlink:f.isSymlink}),yield*u(g);else if(f.isFile||f.isSymlink){if(!o||i&&!i.some(y=>f.name.endsWith(y.startsWith(".")?y:`.${y}`)))continue;yield{path:g,name:f.name,isFile:f.isFile,isDirectory:!1,isSymlink:f.isSymlink}}}}};yield*u(t)},async chmod(t,n){let{chmod:r}=await Promise.resolve().then(()=>(WM(),zM));await r(t,n)}}},mG=()=>({join:es,resolve:ts,dirname:og,basename:Sf,extname:qO,normalize:Kv,isAbsolute:TT,relative:yM,parse:dM,format:oM,sep:ng,delimiter:GO}),hG=()=>({async spawn(e,t=[],n){let r=$v(n),i=await new Deno.Command(e,{args:t,cwd:n?.cwd,env:n?.env,stdin:r.stdin,stdout:r.stdout,stderr:r.stderr,signal:n?.signal}).output();return{success:i.success,code:i.code,stdout:r.stdout==="piped"?i.stdout:new Uint8Array,stderr:r.stderr==="piped"?i.stderr:new Uint8Array}},async exec(e,t=[],n){let r=await this.spawn(e,t,n);if(!r.success){let o=new TextDecoder().decode(r.stderr);throw new jl(e,r.code,o)}return new TextDecoder().decode(r.stdout).trim()},async execJson(e,t=[],n){let r=await this.exec(e,t,n);return JSON.parse(r)},spawnChild(e,t=[],n){let r=$v(n),i=new Deno.Command(e,{args:t,cwd:n?.cwd,env:n?.env,stdin:r.stdin,stdout:r.stdout,stderr:r.stderr,signal:n?.signal}).spawn(),s=(u,p)=>p!=="piped"||!u?Promise.resolve(new Uint8Array):new Response(u).arrayBuffer().then(f=>new Uint8Array(f));return{pid:i.pid,stdin:r.stdin==="piped"?i.stdin:null,stdout:r.stdout==="piped"?i.stdout:null,stderr:r.stderr==="piped"?i.stderr:null,status:i.status.then(u=>({success:u.success,code:u.code,signal:u.signal??void 0})),output:async()=>{let u=r.stdout==="piped"?i.stdout:null,p=r.stderr==="piped"?i.stderr:null,[f,g,y]=await Promise.all([i.status,s(u,r.stdout),s(p,r.stderr)]);return{success:f.success,code:f.code,stdout:g,stderr:y}},kill:u=>{i.kill(u)}}}}),gG=()=>({get(e){return Deno.env.get(e)},set(e,t){Deno.env.set(e,t)},delete(e){Deno.env.delete(e)},has(e){return Deno.env.get(e)!==void 0},toObject(){return Deno.env.toObject()}}),yG=()=>({exit(e){Deno.exit(e)},setExitCode(e){Deno.exitCode=e},cwd(){return Deno.cwd()},chdir(e){Deno.chdir(e)},hostname(){return Deno.hostname()},execPath(){return Deno.execPath()},args:Deno.args,pid:Deno.pid,stdin:Deno.stdin.readable,stdout:Deno.stdout.writable,stderr:Deno.stderr.writable}),HM=()=>{let e=fG(),t=mG(),n=hG(),r=gG(),o=yG();return{name:"deno",version:Deno.version.deno,capabilities:pG,fs:e,path:t,exec:n,env:r,process:o}}});import*as Bt from"node:fs/promises";import*as VM from"node:fs";import*as bn from"node:path";import*as nb from"node:os";import*as ZT from"node:child_process";import Oo from"node:process";import{Buffer as tb}from"node:buffer";import{Readable as QT,Writable as jT}from"node:stream";var xG,vG,bG,wG,CG,RG,YM,XM=k(()=>{"use strict";vu();eb();xG={fs:!0,fsSync:!0,exec:!0,process:!0,env:!0,stdin:!0,stdout:!0,kv:!1},vG=()=>{let e=n=>({isFile:n.isFile(),isDirectory:n.isDirectory(),isSymlink:n.isSymbolicLink(),size:n.size,mtime:n.mtime,atime:n.atime,birthtime:n.birthtime}),t=(n,r)=>{throw n instanceof Error&&"code"in n&&n.code==="ENOENT"?new Nt(r):n};return{async readFile(n,r){try{let o=await Bt.readFile(n,{signal:r?.signal});return new Uint8Array(o)}catch(o){return t(o,n)}},async readTextFile(n,r){try{return await Bt.readFile(n,{encoding:"utf-8",signal:r?.signal})}catch(o){return t(o,n)}},async writeFile(n,r,o){let i=o?.append?"a":"w";await Bt.writeFile(n,r,{signal:o?.signal,mode:o?.mode,flag:i})},async writeTextFile(n,r,o){let i=o?.append?"a":"w";await Bt.writeFile(n,r,{encoding:"utf-8",signal:o?.signal,mode:o?.mode,flag:i})},async exists(n){try{return await Bt.access(n),!0}catch{return!1}},async stat(n){try{let r=await Bt.stat(n);return e(r)}catch(r){return t(r,n)}},async lstat(n){try{let r=await Bt.lstat(n);return e(r)}catch(r){return t(r,n)}},async mkdir(n,r){await Bt.mkdir(n,{recursive:r?.recursive??!1,mode:r?.mode})},async ensureDir(n){await Bt.mkdir(n,{recursive:!0})},async remove(n,r){try{await Bt.rm(n,{recursive:r?.recursive??!1,force:!1})}catch(o){t(o,n)}},async*readDir(n){try{let r=await Bt.readdir(n,{withFileTypes:!0});for(let o of r)yield{name:o.name,isFile:o.isFile(),isDirectory:o.isDirectory(),isSymlink:o.isSymbolicLink()}}catch(r){t(r,n)}},async copyFile(n,r){await Bt.copyFile(n,r)},async rename(n,r){await Bt.rename(n,r)},async makeTempDir(n){let r=n?.dir??nb.tmpdir(),o=n?.prefix??"",i=n?.suffix??"",s=await Bt.mkdtemp(bn.join(r,o));if(i){let u=s+i;return await Bt.rename(s,u),u}return s},async realPath(n){try{return await Bt.realpath(n)}catch(r){throw r instanceof Error&&"code"in r&&r.code==="ENOENT"?new Nt(n):r}},watch(n,r){let o=r?.recursive??!0,i=[],s=[],u=[],p=!1,f=g=>{p||(u.length>0?u.shift()({value:g,done:!1}):s.push(g))};for(let g of n)try{let y=VM.watch(g,{recursive:o},(x,w)=>{w!==null&&f({kind:x==="rename"?"create":"modify",paths:[bn.join(g,w)]})});i.push(y)}catch{}return{close:()=>{p=!0;for(let g of i)g.close();for(let g of u)g({value:void 0,done:!0});u=[]},[Symbol.asyncIterator]:()=>({next:()=>p?Promise.resolve({value:void 0,done:!0}):s.length>0?Promise.resolve({value:s.shift(),done:!1}):new Promise(g=>{u.push(g)})})}},async chmod(n,r){await Bt.chmod(n,r)},async*walk(n,r){let o=r?.includeDirs??!0,i=r?.includeFiles??!0,s=r?.exts,u=r?.skip,p=async function*(f){let g=await Bt.readdir(f,{withFileTypes:!0});for(let y of g){let x=bn.join(f,y.name);if(u?.some(A=>A.test(x)))continue;let w=y.isSymbolicLink();if(y.isDirectory())o&&(yield{path:x,name:y.name,isFile:!1,isDirectory:!0,isSymlink:w}),yield*p(x);else if(y.isFile()||w){if(!i||s&&!s.some(A=>y.name.endsWith(A.startsWith(".")?A:`.${A}`)))continue;yield{path:x,name:y.name,isFile:y.isFile(),isDirectory:!1,isSymlink:w}}}};yield*p(n)}}},bG=()=>({join:bn.join,resolve:bn.resolve,dirname:bn.dirname,basename:bn.basename,extname:bn.extname,normalize:bn.normalize,isAbsolute:bn.isAbsolute,relative:bn.relative,parse:bn.parse,format:bn.format,sep:bn.sep,delimiter:bn.delimiter}),wG=()=>({spawn(e,t=[],n){return new Promise((r,o)=>{let i=ZT.spawn(e,t,{cwd:n?.cwd,env:n?.env?{...Oo.env,...n.env}:void 0,stdio:Af(n),signal:n?.signal}),s=[],u=[];i.stdout?.on("data",p=>s.push(p)),i.stderr?.on("data",p=>u.push(p)),i.on("error",o),i.on("close",p=>{r({success:p===0,code:p??1,stdout:new Uint8Array(tb.concat(s)),stderr:new Uint8Array(tb.concat(u))})})})},async exec(e,t=[],n){let r=await this.spawn(e,t,n);if(!r.success){let o=new TextDecoder().decode(r.stderr);throw new jl(e,r.code,o)}return new TextDecoder().decode(r.stdout).trim()},async execJson(e,t=[],n){let r=await this.exec(e,t,n);return JSON.parse(r)},spawnChild(e,t=[],n){let r=ZT.spawn(e,t,{cwd:n?.cwd,env:n?.env?{...Oo.env,...n.env}:void 0,stdio:Af(n),signal:n?.signal}),o=[],i=[];r.stdout?.on("data",u=>o.push(u)),r.stderr?.on("data",u=>i.push(u));let s=new Promise((u,p)=>{r.on("error",p),r.on("close",(f,g)=>{u({success:f===0,code:f??1,signal:g??void 0})})});return{pid:r.pid,stdin:r.stdin?jT.toWeb(r.stdin):null,stdout:r.stdout?QT.toWeb(r.stdout):null,stderr:r.stderr?QT.toWeb(r.stderr):null,status:s,output:async()=>{let u=await s;return{success:u.success,code:u.code,stdout:new Uint8Array(tb.concat(o)),stderr:new Uint8Array(tb.concat(i))}},kill:u=>{r.kill(u)}}}}),CG=()=>({get(e){return Oo.env[e]},set(e,t){Oo.env[e]=t},delete(e){delete Oo.env[e]},has(e){return e in Oo.env},toObject(){let e={};for(let[t,n]of Object.entries(Oo.env))n!==void 0&&(e[t]=n);return e}}),RG=()=>({exit(e){Oo.exit(e)},setExitCode(e){Oo.exitCode=e},cwd(){return Oo.cwd()},chdir(e){Oo.chdir(e)},hostname(){return nb.hostname()},execPath(){return Oo.execPath},args:Oo.argv.slice(2),pid:Oo.pid,stdin:QT.toWeb(Oo.stdin),stdout:jT.toWeb(Oo.stdout),stderr:jT.toWeb(Oo.stderr)}),YM=()=>{let e=vG(),t=bG(),n=wG(),r=CG(),o=RG();return{name:"node",version:Oo.versions.node,capabilities:xG,fs:e,path:t,exec:n,env:r,process:o}}});import*as Ut from"node:fs/promises";import*as KM from"node:fs";import*as wn from"node:path";import*as ob from"node:os";import rs from"node:process";import{Readable as TG,Writable as JM}from"node:stream";var kG,EG,SG,rb,PG,AG,FG,ZM,QM=k(()=>{"use strict";vu();eb();kG={fs:!0,fsSync:!0,exec:!0,process:!0,env:!0,stdin:!0,stdout:!0,kv:!1},EG=()=>{let e=n=>({isFile:n.isFile(),isDirectory:n.isDirectory(),isSymlink:n.isSymbolicLink(),size:n.size,mtime:n.mtime,atime:n.atime,birthtime:n.birthtime}),t=(n,r)=>{throw n instanceof Error&&"code"in n&&n.code==="ENOENT"?new Nt(r):n};return{async readFile(n,r){try{let o=await Ut.readFile(n,{signal:r?.signal});return new Uint8Array(o)}catch(o){return t(o,n)}},async readTextFile(n,r){try{return await Ut.readFile(n,{encoding:"utf-8",signal:r?.signal})}catch(o){return t(o,n)}},async writeFile(n,r,o){let i=o?.append?"a":"w";await Ut.writeFile(n,r,{signal:o?.signal,mode:o?.mode,flag:i})},async writeTextFile(n,r,o){let i=o?.append?"a":"w";await Ut.writeFile(n,r,{encoding:"utf-8",signal:o?.signal,mode:o?.mode,flag:i})},async exists(n){try{return await Ut.access(n),!0}catch{return!1}},async stat(n){try{let r=await Ut.stat(n);return e(r)}catch(r){return t(r,n)}},async lstat(n){try{let r=await Ut.lstat(n);return e(r)}catch(r){return t(r,n)}},async mkdir(n,r){await Ut.mkdir(n,{recursive:r?.recursive??!1,mode:r?.mode})},async ensureDir(n){await Ut.mkdir(n,{recursive:!0})},async remove(n,r){try{await Ut.rm(n,{recursive:r?.recursive??!1,force:!1})}catch(o){t(o,n)}},async*readDir(n){try{let r=await Ut.readdir(n,{withFileTypes:!0});for(let o of r)yield{name:o.name,isFile:o.isFile(),isDirectory:o.isDirectory(),isSymlink:o.isSymbolicLink()}}catch(r){t(r,n)}},async copyFile(n,r){await Ut.copyFile(n,r)},async rename(n,r){await Ut.rename(n,r)},async makeTempDir(n){let r=n?.dir??ob.tmpdir(),o=n?.prefix??"",i=n?.suffix??"",s=await Ut.mkdtemp(wn.join(r,o));if(i){let u=s+i;return await Ut.rename(s,u),u}return s},async realPath(n){try{return await Ut.realpath(n)}catch(r){throw r instanceof Error&&"code"in r&&r.code==="ENOENT"?new Nt(n):r}},watch(n,r){let o=r?.recursive??!0,i=[],s=[],u=[],p=!1,f=g=>{p||(u.length>0?u.shift()({value:g,done:!1}):s.push(g))};for(let g of n)try{let y=KM.watch(g,{recursive:o},(x,w)=>{w!==null&&f({kind:x==="rename"?"create":"modify",paths:[wn.join(g,w)]})});i.push(y)}catch{}return{close:()=>{p=!0;for(let g of i)g.close();for(let g of u)g({value:void 0,done:!0});u=[]},[Symbol.asyncIterator]:()=>({next:()=>p?Promise.resolve({value:void 0,done:!0}):s.length>0?Promise.resolve({value:s.shift(),done:!1}):new Promise(g=>{u.push(g)})})}},async chmod(n,r){await Ut.chmod(n,r)},async*walk(n,r){let o=r?.includeDirs??!0,i=r?.includeFiles??!0,s=r?.exts,u=r?.skip,p=async function*(f){let g=await Ut.readdir(f,{withFileTypes:!0});for(let y of g){let x=wn.join(f,y.name);if(u?.some(A=>A.test(x)))continue;let w=y.isSymbolicLink();if(y.isDirectory())o&&(yield{path:x,name:y.name,isFile:!1,isDirectory:!0,isSymlink:w}),yield*p(x);else if(y.isFile()||w){if(!i||s&&!s.some(A=>y.name.endsWith(A.startsWith(".")?A:`.${A}`)))continue;yield{path:x,name:y.name,isFile:y.isFile(),isDirectory:!1,isSymlink:w}}}};yield*p(n)}}},SG=()=>({join:wn.join,resolve:wn.resolve,dirname:wn.dirname,basename:wn.basename,extname:wn.extname,normalize:wn.normalize,isAbsolute:wn.isAbsolute,relative:wn.relative,parse:wn.parse,format:wn.format,sep:wn.sep,delimiter:wn.delimiter}),rb=async e=>{if(!e)return new Uint8Array(0);let t=[],n=e.getReader();try{for(;;){let{done:s,value:u}=await n.read();if(s)break;t.push(u)}}finally{n.releaseLock()}let r=t.reduce((s,u)=>s+u.length,0),o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o},PG=()=>({async spawn(e,t=[],n){let[r,o,i]=Af(n),s=Bun.spawn([e,...t],{cwd:n?.cwd,env:n?.env,stdin:r,stdout:o,stderr:i}),[u,p,f]=await Promise.all([s.exited,rb(s.stdout),rb(s.stderr)]);return{success:u===0,code:u,stdout:p,stderr:f}},async exec(e,t=[],n){let r=await this.spawn(e,t,n);if(!r.success){let o=new TextDecoder().decode(r.stderr);throw new jl(e,r.code,o)}return new TextDecoder().decode(r.stdout).trim()},async execJson(e,t=[],n){let r=await this.exec(e,t,n);return JSON.parse(r)},spawnChild(e,t=[],n){let[r,o,i]=Af(n),s=Bun.spawn([e,...t],{cwd:n?.cwd,env:n?.env,stdin:r,stdout:o,stderr:i}),u=s.exited.then(p=>({success:p===0,code:p,signal:void 0}));return{pid:s.pid,stdin:s.stdin,stdout:s.stdout,stderr:s.stderr,status:u,output:async()=>{let[p,f,g]=await Promise.all([u,rb(s.stdout),rb(s.stderr)]);return{success:p.success,code:p.code,stdout:f,stderr:g}},kill:p=>{s.kill(p)}}}}),AG=()=>({get(e){return rs.env[e]},set(e,t){rs.env[e]=t},delete(e){delete rs.env[e]},has(e){return e in rs.env},toObject(){let e={};for(let[t,n]of Object.entries(rs.env))n!==void 0&&(e[t]=n);return e}}),FG=()=>({exit(e){rs.exit(e)},setExitCode(e){rs.exitCode=e},cwd(){return rs.cwd()},chdir(e){rs.chdir(e)},hostname(){return ob.hostname()},execPath(){return rs.execPath},args:rs.argv.slice(2),pid:rs.pid,stdin:TG.toWeb(rs.stdin),stdout:JM.toWeb(rs.stdout),stderr:JM.toWeb(rs.stderr)}),ZM=()=>{let e=EG(),t=SG(),n=PG(),r=AG(),o=FG();return{name:"bun",version:Bun.version,capabilities:kG,fs:e,path:t,exec:n,env:r,process:o}}});var OG,qT,MG,IG,DG,_G,jM,qM=k(()=>{"use strict";vu();tg();OG={fs:!1,fsSync:!1,exec:!1,process:!1,env:!1,stdin:!1,stdout:!1,kv:!1},qT=e=>()=>{throw new fn(e,"browser")},MG=()=>{let e=qT("fs");return{readFile:e,readTextFile:e,writeFile:e,writeTextFile:e,exists:e,stat:e,lstat:e,mkdir:e,ensureDir:e,remove:e,readDir:e,copyFile:e,rename:e,makeTempDir:e,realPath:e,watch:e,walk:e,chmod:e}},IG=()=>{let e=qT("exec");return{spawn:e,exec:e,execJson:e,spawnChild:e}},DG=()=>{let e=qT("process");return{exit:e,setExitCode:e,cwd:e,chdir:e,hostname:e,execPath:e,get args(){throw new fn("process","browser")},get pid(){throw new fn("process","browser")},get stdin(){throw new fn("process","browser")},get stdout(){throw new fn("process","browser")},get stderr(){throw new fn("process","browser")}}},_G=()=>({get:()=>{},set:()=>{},delete:()=>{},has:()=>!1,toObject:()=>({})}),jM=()=>({name:"browser",version:globalThis.navigator?.userAgent??"unknown",capabilities:OG,fs:MG(),path:wu,exec:IG(),env:_G(),process:DG()})});var ue={};xe(ue,{AlreadyExistsError:()=>Mv,NotFoundError:()=>Nt,ProcessError:()=>jl,RuntimeCapabilityError:()=>fn,buildCommand:()=>hT,clearWorkerdEnv:()=>DO,createRuntime:()=>$M,current:()=>C,detectExecutionContext:()=>Ru,detectInvoker:()=>mT,detectRuntime:()=>da,getArch:()=>Rf,getCliCommand:()=>OO,getHomedir:()=>bu,getPlatform:()=>pa,getPlatformInfo:()=>kO,getRuntimeVersion:()=>xO,getTmpdir:()=>aT,isBrowser:()=>vO,isCommandInPath:()=>Cu,isEdge:()=>wO,isRuntime:()=>Iv,isServer:()=>bO,populateEnvFromContext:()=>IO,posixPath:()=>wu,resolvePathDirs:()=>fT,searchFileHierarchy:()=>pT,toPosix:()=>ql});var $T,LG,NG,BG,UG,zG,WG,HG,GG,VG,$M,C,ye=k(()=>{vu();Dv();lT();tg();FO();MO();gT();vu();Dv();tg();GM();XM();QM();gT();qM();$T=(e,t)=>()=>{throw new fn(e,t)},LG=e=>{let t=$T("fs",e);return{readFile:t,readTextFile:t,writeFile:t,writeTextFile:t,exists:t,stat:t,lstat:t,mkdir:t,ensureDir:t,remove:t,readDir:t,copyFile:t,rename:t,makeTempDir:t,realPath:t,watch:t,walk:t,chmod:t}},NG=e=>{let t=$T("exec",e);return{spawn:t,exec:t,execJson:t,spawnChild:t}},BG=e=>{let t=$T("process",e);return{exit:t,setExitCode:t,cwd:t,chdir:t,hostname:t,execPath:t,get args(){throw new fn("process",e)},get pid(){throw new fn("process",e)},get stdin(){throw new fn("process",e)},get stdout(){throw new fn("process",e)},get stderr(){throw new fn("process",e)}}},UG=()=>({get:()=>{},set:()=>{},delete:()=>{},has:()=>!1,toObject:()=>({})}),zG=e=>({name:e,version:"unknown",capabilities:{fs:!1,fsSync:!1,exec:!1,process:!1,env:!1,stdin:!1,stdout:!1,kv:!1},fs:LG(e),path:wu,exec:NG(e),env:UG(),process:BG(e)}),WG={deno:HM,node:YM,bun:ZM,workerd:_O,browser:jM},HG=["fs","exec","env","path","process"],GG=e=>e!==void 0&&HG.some(t=>e[t]!==void 0),VG=(e,t,n)=>({name:e.name,version:e.version,capabilities:n,fs:t.fs??e.fs,path:t.path??e.path,exec:t.exec??e.exec,env:t.env??e.env,process:t.process??e.process}),$M=e=>{let t=da(),n=WG[t],r=n?.()??zG(t),o=e?.capabilities?{...r.capabilities,...e.capabilities}:r.capabilities;return e!==void 0&&GG(e)?VG(r,e,o):e?.capabilities?{...r,capabilities:o}:r},C=$M()});function fa(e){return e===10||e===13}function Gd(e){return e===9||e===32}function os(e){return Gd(e)||fa(e)}function Vd(e){return e===44||e===91||e===93||e===123||e===125}var ib=k(()=>{});function YG(e){if(e===null)return!1;let t,n=0,r=e.length,o=ek;for(let i=0;i<r;i++)if(t=o.indexOf(e.charAt(i)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function XG(e){let t=e.replace(/[\r\n=]/g,""),n=t.length,r=ek,o=[],i=0;for(let u=0;u<n;u++)u%4===0&&u&&(o.push(i>>16&255),o.push(i>>8&255),o.push(i&255)),i=i<<6|r.indexOf(t.charAt(u));let s=n%4*6;return s===0?(o.push(i>>16&255),o.push(i>>8&255),o.push(i&255)):s===18?(o.push(i>>10&255),o.push(i>>2&255)):s===12&&o.push(i>>4&255),new Uint8Array(o)}function JG(e){let t=e.length,n=ek,r="",o=0;for(let s=0;s<t;s++)s%3===0&&s&&(r+=n[o>>18&63],r+=n[o>>12&63],r+=n[o>>6&63],r+=n[o&63]),o=(o<<8)+e[s];let i=t%3;return i===0?(r+=n[o>>18&63],r+=n[o>>12&63],r+=n[o>>6&63],r+=n[o&63]):i===2?(r+=n[o>>10&63],r+=n[o>>4&63],r+=n[o<<2&63],r+=n[64]):i===1&&(r+=n[o>>2&63],r+=n[o<<4&63],r+=n[64],r+=n[64]),r}function KG(e){return e instanceof Uint8Array}var ek,eI,tI=k(()=>{ek=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
3
- \r`;eI={tag:"tag:yaml.org,2002:binary",construct:XG,kind:"scalar",predicate:KG,represent:JG,resolve:YG}});var nI,ZG,QG,rI,oI=k(()=>{nI=["true","True","TRUE"],ZG=["false","False","FALSE"],QG=[...nI,...ZG],rI={tag:"tag:yaml.org,2002:bool",kind:"scalar",defaultStyle:"lowercase",predicate:e=>typeof e=="boolean"||e instanceof Boolean,construct:e=>nI.includes(e),resolve:e=>QG.includes(e),represent:{lowercase:e=>(e instanceof Boolean?e.valueOf():e)?"true":"false",uppercase:e=>(e instanceof Boolean?e.valueOf():e)?"TRUE":"FALSE",camelcase:e=>(e instanceof Boolean?e.valueOf():e)?"True":"False"}}});function tk(e){return e!==null&&typeof e=="object"}function pg(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}function Yd(e){return Object.prototype.toString.call(e)==="[object Object]"}var Xd=k(()=>{});function qG(e){return!(!jG.test(e)||e[e.length-1]==="_")}function $G(e){let t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1;return t[0]&&"+-".includes(t[0])&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t)}function tV(e,t){let n=e instanceof Number?e.valueOf():e;if(isNaN(n))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===n)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===n)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(pg(n))return"-0.0";let r=n.toString(10);return eV.test(r)?r.replace("e",".e"):r}function nV(e){return e instanceof Number&&(e=e.valueOf()),typeof e=="number"&&(e%1!==0||pg(e))}var jG,eV,iI,sI=k(()=>{Xd();jG=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");eV=/^[-+]?[0-9]+e/;iI={tag:"tag:yaml.org,2002:float",construct:$G,defaultStyle:"lowercase",kind:"scalar",predicate:nV,represent:tV,resolve:qG}});function fg(e,t,n){return t<=e&&e<=n}function rV(e){return fg(e,48,57)||fg(e,65,70)||fg(e,97,102)}function oV(e){return fg(e,48,55)}function iV(e){return fg(e,48,57)}function sV(e){let t=e.length,n=0,r=!1;if(!t)return!1;let o=e[n];if((o==="-"||o==="+")&&(o=e[++n]),o==="0"){if(n+1===t)return!0;if(o=e[++n],o==="b"){for(n++;n<t;n++)if(o=e[n],o!=="_"){if(o!=="0"&&o!=="1")return!1;r=!0}return r&&o!=="_"}if(o==="x"){for(n++;n<t;n++)if(o=e[n],o!=="_"){if(!rV(e.charCodeAt(n)))return!1;r=!0}return r&&o!=="_"}for(;n<t;n++)if(o=e[n],o!=="_"){if(!oV(e.charCodeAt(n)))return!1;r=!0}return r&&o!=="_"}if(o==="_")return!1;for(;n<t;n++)if(o=e[n],o!=="_"){if(!iV(e.charCodeAt(n)))return!1;r=!0}return!r||o==="_"?!1:/^(:[0-5]?[0-9])+$/.test(e.slice(n))}function aV(e){let t=e;t.includes("_")&&(t=t.replace(/_/g,""));let n=1,r=t[0];return(r==="-"||r==="+")&&(r==="-"&&(n=-1),t=t.slice(1),r=t[0]),t==="0"?0:r==="0"?t[1]==="b"?n*parseInt(t.slice(2),2):t[1]==="x"?n*parseInt(t,16):n*parseInt(t,8):n*parseInt(t,10)}function lV(e){return e instanceof Number&&(e=e.valueOf()),typeof e=="number"&&e%1===0&&!pg(e)}var aI,lI=k(()=>{Xd();aI={tag:"tag:yaml.org,2002:int",construct:aV,defaultStyle:"decimal",kind:"scalar",predicate:lV,represent:{binary(e){let t=e instanceof Number?e.valueOf():e;return t>=0?`0b${t.toString(2)}`:`-0b${t.toString(2).slice(1)}`},octal(e){let t=e instanceof Number?e.valueOf():e;return t>=0?`0${t.toString(8)}`:`-0${t.toString(8).slice(1)}`},decimal(e){return(e instanceof Number?e.valueOf():e).toString(10)},hexadecimal(e){let t=e instanceof Number?e.valueOf():e;return t>=0?`0x${t.toString(16).toUpperCase()}`:`-0x${t.toString(16).toUpperCase().slice(1)}`}},resolve:sV}});var cI,uI=k(()=>{cI={tag:"tag:yaml.org,2002:map",resolve(){return!0},construct(e){return e!==null?e:{}},kind:"mapping"}});var dI,pI=k(()=>{dI={tag:"tag:yaml.org,2002:merge",kind:"scalar",resolve:e=>e==="<<"||e===null,construct:e=>e}});var fI,mI=k(()=>{fI={tag:"tag:yaml.org,2002:null",kind:"scalar",defaultStyle:"lowercase",predicate:e=>e===null,construct:()=>null,resolve:e=>e==="~"||e==="null"||e==="Null"||e==="NULL",represent:{lowercase:()=>"null",uppercase:()=>"NULL",camelcase:()=>"Null"}}});function cV(e){let t=new Set;for(let n of e){if(!Yd(n))return!1;let r=Object.keys(n);if(r.length!==1)return!1;for(let o of r){if(t.has(o))return!1;t.add(o)}}return!0}var hI,gI=k(()=>{Xd();hI={tag:"tag:yaml.org,2002:omap",kind:"sequence",resolve:cV,construct(e){return e}}});function uV(e){return e===null?!0:e.every(t=>Yd(t)&&Object.keys(t).length===1)}var yI,xI=k(()=>{Xd();yI={tag:"tag:yaml.org,2002:pairs",construct(e){return e?.flatMap(Object.entries)??[]},kind:"sequence",resolve:uV}});var vI,bI,wI=k(()=>{vI=/^\/(?<regexp>[\s\S]+)\/(?<modifiers>[gismuy]*)$/,bI={tag:"tag:yaml.org,2002:js/regexp",kind:"scalar",resolve(e){if(e===null||!e.length)return!1;if(e.charAt(0)==="/"){let t=e.match(vI)?.groups;if(!t)return!1;let n=t.modifiers??"";if(new Set(n).size<n.length)return!1}return!0},construct(e){let{regexp:t=e,modifiers:n=""}=e.match(vI)?.groups??{};return new RegExp(t,n)},predicate:e=>e instanceof RegExp,represent:e=>e.toString()}});var CI,RI=k(()=>{CI={tag:"tag:yaml.org,2002:seq",kind:"sequence",resolve:()=>!0,construct:e=>e!==null?e:[]}});var TI,kI=k(()=>{TI={tag:"tag:yaml.org,2002:set",kind:"mapping",construct:e=>e!==null?e:{},resolve:e=>e===null?!0:Object.values(e).every(t=>t===null)}});var EI,SI=k(()=>{EI={tag:"tag:yaml.org,2002:str",kind:"scalar",resolve:()=>!0,construct:e=>e!==null?e:""}});function dV(e){return e===null?!1:PI.exec(e)!==null||AI.exec(e)!==null}function pV(e){let t=PI.exec(e);if(t===null&&(t=AI.exec(e)),t===null)throw new Error("Cannot construct YAML timestamp: date resolve error");let n=+t[1],r=+t[2]-1,o=+t[3];if(!t[4])return new Date(Date.UTC(n,r,o));let i=+t[4],s=+t[5],u=+t[6],p=0;if(t[7]){let y=t[7].slice(0,3);for(;y.length<3;)y+="0";p=+y}let f=null;if(t[9]&&t[10]){let y=+t[10],x=+(t[11]||0);f=(y*60+x)*6e4,t[9]==="-"&&(f=-f)}let g=new Date(Date.UTC(n,r,o,i,s,u,p));return f&&g.setTime(g.getTime()-f),g}function fV(e){return e.toISOString()}var PI,AI,FI,OI=k(()=>{PI=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),AI=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");FI={tag:"tag:yaml.org,2002:timestamp",construct:pV,predicate(e){return e instanceof Date},kind:"scalar",represent:fV,resolve:dV}});var MI,II=k(()=>{MI={tag:"tag:yaml.org,2002:js/undefined",kind:"scalar",resolve(){return!0},construct(){},predicate(e){return typeof e>"u"},represent(){return""}}});function mV(e,t){let n={fallback:new Map,mapping:new Map,scalar:new Map,sequence:new Map},r=n.fallback;for(let o of[...e,...t])n[o.kind].set(o.tag,o),r.set(o.tag,o);return n}function mg({explicitTypes:e=[],implicitTypes:t=[],include:n}){n&&(t.push(...n.implicitTypes),e.push(...n.explicitTypes));let r=mV(t,e);return{implicitTypes:t,explicitTypes:e,typeMap:r}}var DI,_I,LI,hg,hV,nk,gg=k(()=>{tI();oI();sI();lI();uI();pI();mI();gI();xI();wI();RI();kI();SI();OI();II();DI=mg({explicitTypes:[EI,CI,cI]}),_I=mg({implicitTypes:[fI,rI,aI,iI],include:DI}),LI=mg({include:_I}),hg=mg({explicitTypes:[eI,hI,yI,TI],implicitTypes:[FI,dI],include:LI}),hV=mg({explicitTypes:[bI,MI],include:hg}),nk=new Map([["core",LI],["default",hg],["failsafe",DI],["json",_I],["extended",hV]])});function TV(e){if(48<=e&&e<=57)return e-48;let t=e|32;return 97<=t&&t<=102?t-97+10:-1}function kV(e){return 48<=e&&e<=57?e-48:-1}function EV(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function SV(e,t){if(!e)return null;let n=t,r=t,o="",i="";for(;n>0&&!KI.includes(e.charAt(n-1));)if(n--,t-n>JI/2-1){o=" ... ",n+=5;break}for(;r<e.length&&!KI.includes(e.charAt(r));)if(r++,r-t>JI/2-1){i=" ... ",r-=5;break}let s=e.slice(n,r),u=" ".repeat(XI),p=" ".repeat(XI+t-n+o.length);return`${u+o+s+i}
4
- ${p}^`}function PV(e,t,n,r){let o=`at line ${n+1}, column ${r+1}`,i=SV(e,t);return i&&(o+=`:
5
- ${i}`),o}function ZI(e,t){return e>t?1:e<t?-1:0}function ok(e){return e===1?" ":e>1?`
6
- `.repeat(e-1):""}var sb,zI,WI,ab,rk,vV,HI,bV,wV,CV,GI,VI,RV,YI,XI,JI,KI,uk,db,rD=k(()=>{ib();gg();Xd();sb=1,zI=2,WI=3,ab=4,rk=1,vV=2,HI=3,bV=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,wV=/[\x85\u2028\u2029]/,CV=/[,\[\]\{\}]/,GI=/^(?:!|!!|![a-z\-]+!)$/i,VI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,RV=new Map([[120,2],[117,4],[85,8]]),YI=new Map([[48,"\0"],[97,"\x07"],[98,"\b"],[116," "],[9," "],[110,`
7
- `],[118,"\v"],[102,"\f"],[114,"\r"],[101,"\x1B"],[32," "],[34,'"'],[47,"/"],[92,"\\"],[78,"\x85"],[95,"\xA0"],[76,"\u2028"],[80,"\u2029"]]);XI=4,JI=75,KI=`\0\r
8
- \x85\u2028\u2029`;uk=class{source;#e;position=0;constructor(t){t+="\0",this.source=t,this.#e=t.length}peek(t=0){return this.source.charCodeAt(this.position+t)}next(){this.position+=1}eof(){return this.position>=this.#e-1}},db=class{#e;lineIndent=0;lineStart=0;line=0;onWarning;allowDuplicateKeys;implicitTypes;typeMap;checkLineBreaks=!1;tagMap=new Map;anchorMap=new Map;constructor(t,{schema:n=hg,onWarning:r,allowDuplicateKeys:o=!1}){this.#e=new uk(t),this.onWarning=r,this.allowDuplicateKeys=o,this.implicitTypes=n.implicitTypes,this.typeMap=n.typeMap,this.readIndent()}skipWhitespaces(){let t=this.#e.peek();for(;Gd(t);)this.#e.next(),t=this.#e.peek()}skipComment(){let t=this.#e.peek();if(t===35)for(this.#e.next(),t=this.#e.peek();t!==0&&!fa(t);)this.#e.next(),t=this.#e.peek()}readIndent(){let t=this.#e.peek();for(;t===32;)this.lineIndent+=1,this.#e.next(),t=this.#e.peek()}#t(t){let n=PV(this.#e.source,this.#e.position,this.line,this.#e.position-this.lineStart);return new SyntaxError(`${t} ${n}`)}dispatchWarning(t){let n=this.#t(t);this.onWarning?.(n)}yamlDirectiveHandler(t){if(t.length!==1)throw this.#t("Cannot handle YAML directive: YAML directive accepts exactly one argument");let n=/^([0-9]+)\.([0-9]+)$/.exec(t[0]);if(n===null)throw this.#t("Cannot handle YAML directive: ill-formed argument");let r=parseInt(n[1],10),o=parseInt(n[2],10);if(r!==1)throw this.#t("Cannot handle YAML directive: unacceptable YAML version");return this.checkLineBreaks=o<2,o!==1&&o!==2&&this.dispatchWarning("Cannot handle YAML directive: unsupported YAML version"),t[0]??null}tagDirectiveHandler(t){if(t.length!==2)throw this.#t(`Cannot handle tag directive: directive accepts exactly two arguments, received ${t.length}`);let n=t[0],r=t[1];if(!GI.test(n))throw this.#t(`Cannot handle tag directive: ill-formed handle (first argument) in "${n}"`);if(this.tagMap.has(n))throw this.#t(`Cannot handle tag directive: previously declared suffix for "${n}" tag handle`);if(!VI.test(r))throw this.#t("Cannot handle tag directive: ill-formed tag prefix (second argument) of the TAG directive");this.tagMap.set(n,r)}captureSegment(t,n,r){if(t<n){let o=this.#e.source.slice(t,n);if(r)for(let i=0;i<o.length;i++){let s=o.charCodeAt(i);if(!(s===9||32<=s&&s<=1114111))throw this.#t(`Expected valid JSON character: received "${s}"`)}else if(bV.test(o))throw this.#t("Stream contains non-printable characters");return o}}readBlockSequence(t,n,r){let o=!1,i=[];n!==null&&this.anchorMap.set(n,i);let s=this.#e.peek();for(;s!==0&&s===45;){let u=this.#e.peek(1);if(!os(u))break;if(o=!0,this.#e.next(),this.skipSeparationSpace(!0,-1)&&this.lineIndent<=r){i.push(null),s=this.#e.peek();continue}let p=this.line,f=this.composeNode({parentIndent:r,nodeContext:WI,allowToSeek:!1,allowCompact:!0});if(f&&i.push(f.result),this.skipSeparationSpace(!0,-1),s=this.#e.peek(),(this.line===p||this.lineIndent>r)&&s!==0)throw this.#t("Cannot read block sequence: bad indentation of a sequence entry");if(this.lineIndent<r)break}if(o)return{tag:t,anchor:n,kind:"sequence",result:i}}mergeMappings(t,n,r){if(!tk(n))throw this.#t("Cannot merge mappings: the provided source object is unacceptable");for(let[o,i]of Object.entries(n))Object.hasOwn(t,o)||(Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}),r.add(o))}storeMappingPair(t,n,r,o,i,s,u){if(Array.isArray(o)){o=Array.prototype.slice.call(o);for(let p=0;p<o.length;p++){if(Array.isArray(o[p]))throw this.#t("Cannot store mapping pair: nested arrays are not supported inside keys");typeof o=="object"&&Yd(o[p])&&(o[p]="[object Object]")}}if(typeof o=="object"&&Yd(o)&&(o="[object Object]"),o=String(o),r==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(let p=0;p<i.length;p++)this.mergeMappings(t,i[p],n);else this.mergeMappings(t,i,n);else{if(!this.allowDuplicateKeys&&!n.has(o)&&Object.hasOwn(t,o))throw this.line=s||this.line,this.#e.position=u||this.#e.position,this.#t("Cannot store mapping pair: duplicated key");Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}),n.delete(o)}return t}readLineBreak(){let t=this.#e.peek();if(t===10)this.#e.next();else if(t===13)this.#e.next(),this.#e.peek()===10&&this.#e.next();else throw this.#t("Cannot read line: line break not found");this.line+=1,this.lineStart=this.#e.position}skipSeparationSpace(t,n){let r=0,o=this.#e.peek();for(;o!==0&&(this.skipWhitespaces(),o=this.#e.peek(),t&&(this.skipComment(),o=this.#e.peek()),fa(o));)this.readLineBreak(),o=this.#e.peek(),r++,this.lineIndent=0,this.readIndent(),o=this.#e.peek();return n!==-1&&r!==0&&this.lineIndent<n&&this.dispatchWarning("deficient indentation"),r}testDocumentSeparator(){let t=this.#e.peek();return!!((t===45||t===46)&&t===this.#e.peek(1)&&t===this.#e.peek(2)&&(t=this.#e.peek(3),t===0||os(t)))}readPlainScalar(t,n,r,o){let i=this.#e.peek();if(os(i)||Vd(i)||i===35||i===38||i===42||i===33||i===124||i===62||i===39||i===34||i===37||i===64||i===96)return;let s;if((i===63||i===45)&&(s=this.#e.peek(1),os(s)||o&&Vd(s)))return;let u="",p=this.#e.position,f=this.#e.position,g=!1,y=0;for(;i!==0;){if(i===58){if(s=this.#e.peek(1),os(s)||o&&Vd(s))break}else if(i===35){let w=this.#e.peek(-1);if(os(w))break}else{if(this.#e.position===this.lineStart&&this.testDocumentSeparator()||o&&Vd(i))break;if(fa(i)){y=this.line;let w=this.lineStart,A=this.lineIndent;if(this.skipSeparationSpace(!1,-1),this.lineIndent>=r){g=!0,i=this.#e.peek();continue}else{this.#e.position=p,this.line=y,this.lineStart=w,this.lineIndent=A;break}}}if(g){let w=this.captureSegment(f,p,!1);w&&(u+=w),u+=ok(this.line-y),f=p=this.#e.position,g=!1}Gd(i)||(p=this.#e.position+1),this.#e.next(),i=this.#e.peek()}let x=this.captureSegment(f,p,!1);if(x&&(u+=x),n!==null&&this.anchorMap.set(n,u),u)return{tag:t,anchor:n,kind:"scalar",result:u}}readSingleQuotedScalar(t,n,r){let o=this.#e.peek();if(o!==39)return;let i="";this.#e.next();let s=this.#e.position,u=this.#e.position;for(o=this.#e.peek();o!==0;){if(o===39){let p=this.captureSegment(s,this.#e.position,!0);if(p&&(i+=p),this.#e.next(),o=this.#e.peek(),o===39)s=this.#e.position,this.#e.next(),u=this.#e.position;else return n!==null&&this.anchorMap.set(n,i),{tag:t,anchor:n,kind:"scalar",result:i}}else if(fa(o)){let p=this.captureSegment(s,u,!0);p&&(i+=p),i+=ok(this.skipSeparationSpace(!1,r)),s=u=this.#e.position}else{if(this.#e.position===this.lineStart&&this.testDocumentSeparator())throw this.#t("Unexpected end of the document within a single quoted scalar");this.#e.next(),u=this.#e.position}o=this.#e.peek()}throw this.#t("Unexpected end of the stream within a single quoted scalar")}readDoubleQuotedScalar(t,n,r){let o=this.#e.peek();if(o!==34)return;let i="";this.#e.next();let s=this.#e.position,u=this.#e.position,p;for(o=this.#e.peek();o!==0;){if(o===34){let f=this.captureSegment(u,this.#e.position,!0);return f&&(i+=f),this.#e.next(),n!==null&&this.anchorMap.set(n,i),{tag:t,anchor:n,kind:"scalar",result:i}}if(o===92){let f=this.captureSegment(u,this.#e.position,!0);if(f&&(i+=f),this.#e.next(),o=this.#e.peek(),fa(o))this.skipSeparationSpace(!1,r);else if(o<256&&YI.has(o))i+=YI.get(o),this.#e.next();else if((p=RV.get(o)??0)>0){let g=p,y=0;for(;g>0;g--)if(this.#e.next(),o=this.#e.peek(),(p=TV(o))>=0)y=(y<<4)+p;else throw this.#t("Cannot read double quoted scalar: expected hexadecimal character");i+=EV(y),this.#e.next()}else throw this.#t("Cannot read double quoted scalar: unknown escape sequence");u=s=this.#e.position}else if(fa(o)){let f=this.captureSegment(u,s,!0);f&&(i+=f),i+=ok(this.skipSeparationSpace(!1,r)),u=s=this.#e.position}else{if(this.#e.position===this.lineStart&&this.testDocumentSeparator())throw this.#t("Unexpected end of the document within a double quoted scalar");this.#e.next(),s=this.#e.position}o=this.#e.peek()}throw this.#t("Unexpected end of the stream within a double quoted scalar")}readFlowCollection(t,n,r){let o=this.#e.peek(),i,s=!0,u={};if(o===91)i=93,s=!1,u=[];else if(o===123)i=125;else return;n!==null&&this.anchorMap.set(n,u),this.#e.next(),o=this.#e.peek();let p=!0,f=null,g=null,y=null,x=!1,w=!1,A=0,F=0,D=new Set;for(;o!==0;){if(this.skipSeparationSpace(!0,r),o=this.#e.peek(),o===i)return this.#e.next(),{tag:t,anchor:n,kind:s?"mapping":"sequence",result:u};if(!p)throw this.#t("Cannot read flow collection: missing comma between flow collection entries");y=g=f=null,w=x=!1,o===63&&(A=this.#e.peek(1),os(A)&&(w=x=!0,this.#e.next(),this.skipSeparationSpace(!0,r))),F=this.line;let L=this.composeNode({parentIndent:r,nodeContext:sb,allowToSeek:!1,allowCompact:!0});if(L&&(y=L.tag||null,g=L.result),this.skipSeparationSpace(!0,r),o=this.#e.peek(),(x||this.line===F)&&o===58){w=!0,this.#e.next(),o=this.#e.peek(),this.skipSeparationSpace(!0,r);let U=this.composeNode({parentIndent:r,nodeContext:sb,allowToSeek:!1,allowCompact:!0});U&&(f=U.result)}s?this.storeMappingPair(u,D,y,g,f):w?u.push(this.storeMappingPair({},D,y,g,f)):u.push(g),this.skipSeparationSpace(!0,r),o=this.#e.peek(),o===44?(p=!0,this.#e.next(),o=this.#e.peek()):p=!1}throw this.#t("Cannot read flow collection: unexpected end of the stream within a flow collection")}readBlockScalar(t,n,r){let o=rk,i=!1,s=!1,u=r,p=0,f=!1,g=this.#e.peek(),y=!1;if(g===124)y=!1;else if(g===62)y=!0;else return;let x="",w=0;for(;g!==0;)if(this.#e.next(),g=this.#e.peek(),g===43||g===45)if(rk===o)o=g===43?HI:vV;else throw this.#t("Cannot read block: chomping mode identifier repeated");else if((w=kV(g))>=0){if(w===0)throw this.#t("Cannot read block: indentation width must be greater than 0");if(!s)u=r+w-1,s=!0;else throw this.#t("Cannot read block: indentation width identifier repeated")}else break;for(Gd(g)&&(this.skipWhitespaces(),this.skipComment(),g=this.#e.peek());g!==0;){for(this.readLineBreak(),this.lineIndent=0,g=this.#e.peek();(!s||this.lineIndent<u)&&g===32;)this.lineIndent++,this.#e.next(),g=this.#e.peek();if(!s&&this.lineIndent>u&&(u=this.lineIndent),fa(g)){p++;continue}if(this.lineIndent<u){o===HI?x+=`
9
- `.repeat(i?1+p:p):o===rk&&i&&(x+=`
10
- `);break}y?Gd(g)?(f=!0,x+=`
11
- `.repeat(i?1+p:p)):f?(f=!1,x+=`
12
- `.repeat(p+1)):p===0?i&&(x+=" "):x+=`
13
- `.repeat(p):x+=`
14
- `.repeat(i?1+p:p),i=!0,s=!0,p=0;let A=this.#e.position;for(;!fa(g)&&g!==0;)this.#e.next(),g=this.#e.peek();let F=this.captureSegment(A,this.#e.position,!1);F&&(x+=F)}return n!==null&&this.anchorMap.set(n,x),{tag:t,anchor:n,kind:"scalar",result:x}}readBlockMapping(t,n,r,o){let i={},s=new Set,u=!1,p,f,g=null,y=null,x=null,w=!1,A=!1;n!==null&&this.anchorMap.set(n,i);let F=this.#e.peek();for(;F!==0;){let D=this.#e.peek(1);if(p=this.line,f=this.#e.position,(F===63||F===58)&&os(D)){if(F===63)w&&(this.storeMappingPair(i,s,g,y,null),g=null,y=null,x=null),A=!0,w=!0,u=!0;else if(w)w=!1,u=!0;else throw this.#t("Cannot read block as explicit mapping pair is incomplete: a key node is missed or followed by a non-tabulated empty line");this.#e.next(),F=D}else{let L=this.composeNode({parentIndent:o,nodeContext:zI,allowToSeek:!1,allowCompact:!0});if(!L)break;if(this.line===p)if(F=this.#e.peek(),this.skipWhitespaces(),F=this.#e.peek(),F===58){if(this.#e.next(),F=this.#e.peek(),!os(F))throw this.#t("Cannot read block: a whitespace character is expected after the key-value separator within a block mapping");w&&(this.storeMappingPair(i,s,g,y,null),g=null,y=null,x=null),A=!0,w=!1,u=!1,g=L.tag,y=L.result}else{if(A)throw this.#t("Cannot read an implicit mapping pair: missing colon");{let{kind:U,result:Y}=L;return{tag:t,anchor:n,kind:U,result:Y}}}else{if(A)throw this.#t("Cannot read a block mapping entry: a multiline key may not be an implicit key");{let{kind:U,result:Y}=L;return{tag:t,anchor:n,kind:U,result:Y}}}}if(this.line===p||this.lineIndent>r){let L=this.composeNode({parentIndent:r,nodeContext:ab,allowToSeek:!0,allowCompact:u});L&&(w?y=L.result:x=L.result),w||(this.storeMappingPair(i,s,g,y,x,p,f),g=y=x=null),this.skipSeparationSpace(!0,-1),F=this.#e.peek()}if(this.lineIndent>r&&F!==0)throw this.#t("Cannot read block: bad indentation of a mapping entry");if(this.lineIndent<r)break}if(w&&this.storeMappingPair(i,s,g,y,null),A)return{tag:t,anchor:n,kind:"mapping",result:i}}readTagProperty(t){let n=!1,r=!1,o="",i,s=this.#e.peek();if(s!==33)return;if(t!==null)throw this.#t("Cannot read tag property: duplication of a tag property");this.#e.next(),s=this.#e.peek(),s===60?(n=!0,this.#e.next(),s=this.#e.peek()):s===33?(r=!0,o="!!",this.#e.next(),s=this.#e.peek()):o="!";let u=this.#e.position;if(n){do this.#e.next(),s=this.#e.peek();while(s!==0&&s!==62);if(!this.#e.eof())i=this.#e.source.slice(u,this.#e.position),this.#e.next(),s=this.#e.peek();else throw this.#t("Cannot read tag property: unexpected end of stream")}else{for(;s!==0&&!os(s);){if(s===33){if(r)throw this.#t("Cannot read tag property: tag suffix cannot contain an exclamation mark");if(o=this.#e.source.slice(u-1,this.#e.position+1),!GI.test(o))throw this.#t("Cannot read tag property: named tag handle contains invalid characters");r=!0,u=this.#e.position+1}this.#e.next(),s=this.#e.peek()}if(i=this.#e.source.slice(u,this.#e.position),CV.test(i))throw this.#t("Cannot read tag property: tag suffix cannot contain flow indicator characters")}if(i&&!VI.test(i))throw this.#t(`Cannot read tag property: invalid characters in tag name "${i}"`);if(n)return i;if(this.tagMap.has(o))return this.tagMap.get(o)+i;if(o==="!")return`!${i}`;if(o==="!!")return`tag:yaml.org,2002:${i}`;throw this.#t(`Cannot read tag property: undeclared tag handle "${o}"`)}readAnchorProperty(t){let n=this.#e.peek();if(n!==38)return;if(t!==null)throw this.#t("Cannot read anchor property: duplicate anchor property");this.#e.next(),n=this.#e.peek();let r=this.#e.position;for(;n!==0&&!os(n)&&!Vd(n);)this.#e.next(),n=this.#e.peek();if(this.#e.position===r)throw this.#t("Cannot read anchor property: name of an anchor node must contain at least one character");return this.#e.source.slice(r,this.#e.position)}readAlias(){if(this.#e.peek()!==42)return;this.#e.next();let t=this.#e.peek(),n=this.#e.position;for(;t!==0&&!os(t)&&!Vd(t);)this.#e.next(),t=this.#e.peek();if(this.#e.position===n)throw this.#t("Cannot read alias: alias name must contain at least one character");let r=this.#e.source.slice(n,this.#e.position);if(!this.anchorMap.has(r))throw this.#t(`Cannot read alias: unidentified alias "${r}"`);return this.skipSeparationSpace(!0,-1),this.anchorMap.get(r)}resolveTag(t){switch(t.tag){case null:case"!":return t;case"?":{for(let u of this.implicitTypes){if(!u.resolve(t.result))continue;let p=u.construct(t.result);t.result=p,t.tag=u.tag;let{anchor:f}=t;return f!==null&&this.anchorMap.set(f,p),t}return t}}let n=t.kind??"fallback",o=this.typeMap[n].get(t.tag);if(!o)throw this.#t(`Cannot resolve unknown tag !<${t.tag}>`);if(t.result!==null&&o.kind!==t.kind)throw this.#t(`Unacceptable node kind for !<${t.tag}> tag: it should be "${o.kind}", not "${t.kind}"`);if(!o.resolve(t.result))throw this.#t(`Cannot resolve a node with !<${t.tag}> explicit tag`);let i=o.construct(t.result);t.result=i;let{anchor:s}=t;return s!==null&&this.anchorMap.set(s,i),t}composeNode({parentIndent:t,nodeContext:n,allowToSeek:r,allowCompact:o}){let i=1,s=!1,u=ab===n||WI===n,p=u,f=u;r&&this.skipSeparationSpace(!0,-1)&&(s=!0,i=ZI(this.lineIndent,t));let g=null,y=null;if(i===1)for(;;){let w=this.readTagProperty(g);if(w)g=w;else{let A=this.readAnchorProperty(y);if(!A)break;y=A}this.skipSeparationSpace(!0,-1)?(s=!0,p=f,i=ZI(this.lineIndent,t)):p=!1}if(p&&(p=s||o),i===1){let A=sb===n||zI===n?t:t+1;if(p){let G=this.#e.position-this.lineStart,W=this.readBlockSequence(g,y,G);if(W)return this.resolveTag(W);let M=this.readBlockMapping(g,y,G,A);if(M)return this.resolveTag(M)}let F=this.readFlowCollection(g,y,A);if(F)return this.resolveTag(F);if(u){let G=this.readBlockScalar(g,y,A);if(G)return this.resolveTag(G)}let D=this.readSingleQuotedScalar(g,y,A);if(D)return this.resolveTag(D);let L=this.readDoubleQuotedScalar(g,y,A);if(L)return this.resolveTag(L);let U=this.readAlias();if(U){if(g!==null||y!==null)throw this.#t("Cannot compose node: alias node should not have any properties");return this.resolveTag({tag:g,anchor:y,kind:null,result:U})}let Y=this.readPlainScalar(g,y,A,sb===n);if(Y)return Y.tag??="?",this.resolveTag(Y)}else if(i===0&&ab===n&&p){let w=this.#e.position-this.lineStart,A=this.readBlockSequence(g,y,w);if(A)return this.resolveTag(A)}let x=this.resolveTag({tag:g,anchor:y,kind:null,result:null});if(x.tag!==null||x.anchor!==null)return x}readDirectives(){let t=!1,n=null,r=this.#e.peek();for(;r!==0&&(this.skipSeparationSpace(!0,-1),r=this.#e.peek(),!(this.lineIndent>0||r!==37));){t=!0,this.#e.next(),r=this.#e.peek();let o=this.#e.position;for(;r!==0&&!os(r);)this.#e.next(),r=this.#e.peek();let i=this.#e.source.slice(o,this.#e.position),s=[];if(i.length<1)throw this.#t("Cannot read document: directive name length must be greater than zero");for(;r!==0&&(this.skipWhitespaces(),this.skipComment(),r=this.#e.peek(),!fa(r));){for(o=this.#e.position;r!==0&&!os(r);)this.#e.next(),r=this.#e.peek();s.push(this.#e.source.slice(o,this.#e.position))}switch(r!==0&&this.readLineBreak(),i){case"YAML":if(n!==null)throw this.#t("Cannot handle YAML directive: duplication of %YAML directive");n=this.yamlDirectiveHandler(s);break;case"TAG":this.tagDirectiveHandler(s);break;default:this.dispatchWarning(`unknown document directive "${i}"`);break}r=this.#e.peek()}return t}readDocument(){let t=this.#e.position;this.checkLineBreaks=!1,this.tagMap=new Map,this.anchorMap=new Map;let n=this.readDirectives();this.skipSeparationSpace(!0,-1);let r=null;if(this.lineIndent===0&&this.#e.peek()===45&&this.#e.peek(1)===45&&this.#e.peek(2)===45)this.#e.position+=3,this.skipSeparationSpace(!0,-1);else if(n)throw this.#t("Cannot read document: directives end mark is expected");let o=this.composeNode({parentIndent:this.lineIndent-1,nodeContext:ab,allowToSeek:!1,allowCompact:!0});if(o&&(r=o.result),this.skipSeparationSpace(!0,-1),this.checkLineBreaks&&wV.test(this.#e.source.slice(t,this.#e.position))&&this.dispatchWarning("non-ASCII line breaks are interpreted as content"),this.#e.position===this.lineStart&&this.testDocumentSeparator())this.#e.peek()===46&&(this.#e.position+=3,this.skipSeparationSpace(!0,-1));else if(!this.#e.eof())throw this.#t("Cannot read document: end of the stream or a document separator is expected");return r}*readDocuments(){for(;!this.#e.eof();)yield this.readDocument()}}});function AV(e){return e=String(e),e.length>0&&(fa(e.charCodeAt(e.length-1))||(e+=`
15
- `),e.charCodeAt(0)===65279&&(e=e.slice(1))),e}function Dc(e,t={}){e=AV(e);let r=new db(e,{...t,schema:nk.get(t.schema)}).readDocuments(),o=r.next().value;if(!r.next().done)throw new SyntaxError("Found more than 1 document in the stream: expected a single document");return o??null}var oD=k(()=>{ib();rD();gg()});var iD=k(()=>{ib();gg();Xd()});var sD=k(()=>{iD();gg()});var Ff=k(()=>{oD();sD()});var dk,tc,aD,Cg=k(()=>{Ff();ye();dk=[".manifest.yml",".manifest.yaml"],tc=async e=>{for(let t of dk){let n=C.path.join(e,t);try{let r=await C.fs.readTextFile(n);return Dc(r)}catch(r){if(r instanceof Nt)continue;throw r}}return null},aD=async e=>{for(let t of dk){let n=C.path.join(e,t);try{return await C.fs.stat(n),n}catch{continue}}return null}});var Yt,Qt,_c,Ie,pk,Rg,lD,cD,at,Ln,ma,fk,uD,Ge,dD,mk,pD,fD,mD,hD,gD,yD,xD,vD,bD,wD,CD,RD,TD,kD,ED,SD,Of,PD,Ee,Ar=k(()=>{Yt="\x1B[",Qt=`${Yt}0m`,_c=e=>`${Yt}1m${e}${Qt}`,Ie=e=>`${Yt}2m${e}${Qt}`,pk=e=>`${Yt}3m${e}${Qt}`,Rg=e=>`${Yt}4m${e}${Qt}`,lD=e=>`${Yt}9m${e}${Qt}`,cD=e=>`${Yt}30m${e}${Qt}`,at=e=>`${Yt}31m${e}${Qt}`,Ln=e=>`${Yt}32m${e}${Qt}`,ma=e=>`${Yt}33m${e}${Qt}`,fk=e=>`${Yt}34m${e}${Qt}`,uD=e=>`${Yt}35m${e}${Qt}`,Ge=e=>`${Yt}36m${e}${Qt}`,dD=e=>`${Yt}37m${e}${Qt}`,mk=e=>`${Yt}90m${e}${Qt}`,pD=e=>`${Yt}91m${e}${Qt}`,fD=e=>`${Yt}92m${e}${Qt}`,mD=e=>`${Yt}93m${e}${Qt}`,hD=e=>`${Yt}94m${e}${Qt}`,gD=e=>`${Yt}95m${e}${Qt}`,yD=e=>`${Yt}96m${e}${Qt}`,xD=e=>`${Yt}97m${e}${Qt}`,vD=e=>`${Yt}40m${e}${Qt}`,bD=e=>`${Yt}41m${e}${Qt}`,wD=e=>`${Yt}42m${e}${Qt}`,CD=e=>`${Yt}43m${e}${Qt}`,RD=e=>`${Yt}44m${e}${Qt}`,TD=e=>`${Yt}45m${e}${Qt}`,kD=e=>`${Yt}46m${e}${Qt}`,ED=e=>`${Yt}47m${e}${Qt}`,SD=e=>e.replace(/\x1b\[[0-9;]*m/g,""),Of=null,PD=()=>(Of!==null||(typeof globalThis.Deno<"u"?Of=Deno.stdout.isTerminal?.()??!0:typeof globalThis.process<"u"?Of=globalThis.process.stdout?.isTTY??!1:Of=!1),Of),Ee={brand:e=>Ge(e),brandBold:e=>_c(Ge(e)),success:e=>Ln(e),error:e=>at(e),warning:e=>ma(e),info:e=>fk(e),bold:_c,dim:Ie,italic:pk,code:e=>Ge(e),path:e=>Rg(e),url:e=>Ge(Rg(e)),link:e=>Ge(Rg(e)),gray:mk}});var Mf,hk=k(()=>{"use strict";Mf=class extends Error{constructor(n,r,o,i){super(n);this.command=r;this.code=o;this.stderr=i;this.name="CommandError"}}});var If,nc,gk,yk=k(()=>{"use strict";ye();hk();If=new TextDecoder,nc=class e{#e;#t;#n;constructor(t,n=[],r={}){this.#e=t,this.#t=n,this.#n={throwOnError:!0,stdout:"piped",stderr:"piped",...r}}cwd(t){return new e(this.#e,this.#t,{...this.#n,cwd:t})}env(t,n){let r=this.#n.env??{},o;return typeof t=="string"&&n!==void 0?o={...r,[t]:n}:t!==null&&typeof t=="object"?o={...r,...t}:o=r,new e(this.#e,this.#t,{...this.#n,env:o})}stdin(t){return new e(this.#e,this.#t,{...this.#n,stdin:t})}stdout(t){return new e(this.#e,this.#t,{...this.#n,stdout:t})}stderr(t){return new e(this.#e,this.#t,{...this.#n,stderr:t})}timeout(t){return new e(this.#e,this.#t,{...this.#n,timeout:t})}noThrow(){return new e(this.#e,this.#t,{...this.#n,throwOnError:!1})}quiet(){return new e(this.#e,this.#t,{...this.#n,stdout:"null",stderr:"null"})}printCommand(){let t=[this.#e,...this.#t].join(" ");return console.log(`$ ${t}`),this}async spawn(){let{current:t}=ue,n=await t.exec.spawn(this.#e,this.#t,{cwd:this.#n.cwd,env:this.#n.env,stdin:this.#n.stdin,stdout:this.#n.stdout,stderr:this.#n.stderr});if(!n.success&&this.#n.throwOnError===!0){let r=If.decode(n.stderr);throw new Mf(`Command failed with exit code ${n.code}: ${this.#e}`,this.#e,n.code,r)}return n}async text(t="stdout"){let n=await this.spawn();switch(t){case"stdout":return If.decode(n.stdout).trim();case"stderr":return If.decode(n.stderr).trim();case"combined":return(If.decode(n.stdout)+If.decode(n.stderr)).trim()}}async json(){let t=await this.text();return JSON.parse(t)}async lines(){let t=await this.text();return t===""?[]:t.split(`
16
- `)}async bytes(){return(await this.spawn()).stdout}async code(){return(await this.noThrow().spawn()).code}pipe(t){return new gk([this,t])}child(){let{current:t}=ue;return t.exec.spawnChild(this.#e,this.#t,{cwd:this.#n.cwd,env:this.#n.env,stdin:this.#n.stdin??"piped",stdout:this.#n.stdout??"piped",stderr:this.#n.stderr??"piped"})}},gk=class e{#e;constructor(t){this.#e=t}pipe(t){return new e([...this.#e,t])}async text(){let t="";for(let n of this.#e){let r=await n.spawn();t=If.decode(r.stdout)}return t.trim()}async lines(){let t=await this.text();return t===""?[]:t.split(`
17
- `)}}});var fb,AD,FV,xk=k(()=>{"use strict";fb=(e,t)=>{let n=[];for(let o=0;o<e.length;o++){let i=e[o];if(i!==void 0&&n.push(i),o<t.length){let s=t[o];Array.isArray(s)?n.push(s.map(u=>AD(String(u))).join(" ")):s!=null&&n.push(AD(String(s)))}}let r=n.join("").trim();return FV(r)},AD=e=>/[\s"'\\$`]/.test(e)?`'${e.replace(/'/g,"'\\''")}'`:e,FV=e=>{let t=[],n="",r=!1,o=!1,i=!1;for(let u=0;u<e.length;u++){let p=e[u];if(i){n+=p,i=!1;continue}if(p==="\\"){i=!0;continue}if(p==="'"&&!o){r=!r;continue}if(p==='"'&&!r){o=!o;continue}if(p===" "&&!r&&!o){n.length>0&&(t.push(n),n="");continue}n+=p}n.length>0&&t.push(n);let s=t[0];return s===void 0?["",[]]:[s,t.slice(1)]}});var pt,FD=k(()=>{"use strict";yk();xk();pt=(e,...t)=>{let[n,r]=fb(e,t);return new nc(n,r)}});var Kn={};xe(Kn,{CommandBuilder:()=>nc,CommandError:()=>Mf,exec:()=>pt,parseCommand:()=>fb});var zs=k(()=>{hk();yk();xk();FD()});var mb,vk=k(()=>{"use strict";mb=()=>{let e=new Map;return{register:t=>{e.set(t.name,t)},registerAll:t=>{for(let n of t)e.set(n.name,n)},get:t=>e.get(t),getAll:()=>[...e.values()],has:t=>e.has(t),names:()=>[...e.keys()]}}});var OV,MV,OD,bk,MD,ID,DD=k(()=>{"use strict";OV=e=>{if(typeof e=="string")return{name:e,options:{},continueOnError:!1};let t=Object.entries(e);if(t.length!==1)throw new Error(`Invalid step config: expected exactly one key, got ${t.length}`);let[n,r]=t[0],o={},i=!1,s;for(let[u,p]of Object.entries(r))u==="continueOnError"?i=p===!0:u==="timeout"?s=p*1e3:o[u]=p;return{name:n,options:o,continueOnError:i,timeout:s}},MV=async(e,t,n)=>{let r,o=new Promise((i,s)=>{r=setTimeout(()=>{s(new Error(`Step '${n}' timed out after ${(t/1e3).toFixed(0)}s`))},t)});try{return await Promise.race([e,o])}finally{clearTimeout(r)}},OD=async(e,t,n={})=>{let r=performance.now(),o=[],i=n.defaultTimeout??6e4;for(let u of e.steps){let p=OV(u);if(n.only!==void 0&&p.name!==n.only)continue;let f=t.get(p.name);if(f===void 0)throw new Error(`Unknown tool '${p.name}' in workflow '${e.id}'. Registered tools: ${t.names().join(", ")||"(none)"}`);let g={...p.options,root:n.root??".",fix:n.fix??!1,_args:n.args??[]};n.changedFiles!==void 0&&(g._changedFiles=n.changedFiles),n.onStepStart?.(p.name);let y=performance.now(),x;try{let F=p.timeout??i;x=await MV(f.run(g),F,p.name)}catch(F){if(p.continueOnError)x={name:p.name,passed:!1,issues:[{message:F instanceof Error?F.message:String(F)}],mutations:[],stats:{}};else throw F}let w=performance.now()-y,A={...x,durationMs:w};o.push(A),x.mutations.length>0&&n.onMutations!==void 0&&await n.onMutations(x.mutations),n.onStepEnd?.(A)}let s=performance.now()-r;return{workflowId:e.id,passed:o.every(u=>u.passed),steps:o,totalDurationMs:s}},bk=(e,t,n=new Set)=>{if(e.includes===void 0||e.includes.length===0)return e;let r=new Set(n);r.add(e.id);let o=[];for(let i of e.includes){if(r.has(i))throw new Error(`Circular include detected: workflow '${e.id}' includes '${i}' which is already in the include chain: ${[...r].join(" \u2192 ")}`);let s=t.find(p=>p.id===i);if(s===void 0)throw new Error(`Workflow '${e.id}' includes '${i}' but no workflow with that id exists. Available: ${t.map(p=>p.id).join(", ")||"(none)"}`);let u=bk(s,t,r);o.push(...u.steps)}return{...e,steps:[...o,...e.steps],includes:void 0}},MD=async(e,t,n,r={})=>{let o=t.workflows.find(s=>s.id===e);if(o===void 0)throw new Error(`Workflow '${e}' not found. Available: ${t.workflows.map(s=>s.id).join(", ")||"(none)"}`);let i=bk(o,t.workflows);return await OD(i,n,r)},ID=async(e,t,n,r={})=>{let o=t.filter(s=>s.on.includes(e));if(o.length===0)throw new Error(`No workflows found for event '${e}'. Available: ${t.map(s=>`${s.id} (${s.on.join(", ")})`).join("; ")||"(none)"}`);let i=[];for(let s of o){let u=bk(s,t),p=await OD(u,n,r);i.push(p)}return i}});var IV,hb,wk=k(()=>{"use strict";Ff();Cg();IV=e=>{let t=e.workflows;if(!Array.isArray(t))throw new Error("Invalid config: 'workflows' must be an array");for(let n=0;n<t.length;n++){let r=t[n],o=r?.id!==void 0&&r.id!==""?`workflow '${r.id}'`:`workflow at index ${n}`;if(typeof r?.id!="string"||r.id==="")throw new Error(`Invalid config: ${o} must have a non-empty 'id' string`);if(!Array.isArray(r.on)||r.on.length===0)throw new Error(`Invalid config: ${o} must have a non-empty 'on' array`);if(!Array.isArray(r.steps)||r.steps.length===0)throw new Error(`Invalid config: ${o} must have a non-empty 'steps' array`);for(let i=0;i<r.steps.length;i++){let s=r.steps[i];if(typeof s=="string")continue;if(typeof s!="object"||s===null||Array.isArray(s))throw new Error(`Invalid config: ${o}, step ${i} must be a string or an object with exactly one key`);let u=Object.keys(s);if(u.length!==1)throw new Error(`Invalid config: ${o}, step ${i} must be an object with exactly one key (got ${u.length})`)}}},hb=async e=>{let t=await tc(e);if(t===null)return null;let n={stack:t.stack,workflows:t.workflows??[],scripts:t.scripts};return IV(n),n}});var gb,Ck=k(()=>{"use strict";zs();gb={name:"shell",description:"Execute shell commands",run:async e=>{let t=e.command,n=e.fixCommand,r=e.name??t??"shell",o=e.fix??!1,i=e.root??".",s=e.workingDirectory??i;if(t===void 0||t.length===0)throw new Error(`Shell tool requires a 'command' option. Usage: { shell: { command: "deno fmt --check" } }`);let u=o&&n!==void 0?n:t,f=await new nc("sh",["-c",u]).cwd(s).noThrow().spawn(),g=f.code;if(g===0)return{name:r,passed:!0,issues:[],mutations:[],stats:{exitCode:0}};let y=new TextDecoder,x=y.decode(f.stderr).trim(),A=[y.decode(f.stdout).trim(),x].filter(F=>F.length>0).join(`
18
- `);return{name:r,passed:!1,issues:[{message:A||`Command exited with code ${g}`}],mutations:[],stats:{exitCode:g}}}}});var _D={};xe(_D,{main:()=>LV});var DV,_V,LV,LD=k(()=>{Ri();Ar();vn();ye();zs();vk();DD();wk();Ck();DV=50,_V=(e,t,n)=>{let r=".".repeat(Math.max(1,DV-e.length)),o=`${(t.durationMs/1e3).toFixed(1)}s`,i;if(t.passed&&t.mutations.length>0)i=ma(`Fixed (${t.mutations.length} file${t.mutations.length===1?"":"s"}, ${o})`);else if(t.passed)if(n&&Object.keys(t.stats).length>0){let s=Object.entries(t.stats).map(([u,p])=>`${p} ${u}`).join(", ");i=Ln(`Passed (${s}, ${o})`)}else i=Ln(`Passed (${o})`);else i=at(`Failed (${o})`);return`${e}${r}${i}`},LV=async(e,t)=>{let n=wt(e??[],{string:["event","workflow","only","config"],boolean:["fix","dry-run","help","verbose","json","changed"],alias:{e:"event",w:"workflow",h:"help",v:"verbose"}});if(n.help)return console.log(`eser workflows run \u2014 Run workflow pipelines
19
- `),console.log("Usage:"),console.log(" eser workflows run -e <event> Run by event"),console.log(" eser workflows run -w <workflow-id> Run by workflow id"),console.log(),console.log("Options:"),console.log(" -e, --event <name> Event to trigger (precommit, commitmsg, prepush)"),console.log(" -w, --workflow <id> Workflow id to run"),console.log(" --fix Auto-fix issues where supported"),console.log(" --dry-run Preview mutations without writing"),console.log(" --only <step> Run only a specific step"),console.log(" --config <path> Config directory (default: .)"),console.log(" -v, --verbose Show stats and issues for all steps"),console.log(" --json Output results as JSON"),console.log(" --changed Only check files changed in git"),console.log(" -h, --help Show this help"),Te(void 0);let r=n.event,o=n.workflow,i=n.fix??!1,s=n["dry-run"]??!1,u=n.only,p=n._,f=n.verbose??!1,g=n.json??!1,y=n.changed??!1;if(r===void 0&&o===void 0)return console.error("Error: specify -e <event> or -w <workflow-id>. Use --help for usage."),ke({exitCode:1});let x=mb();x.register(gb),t?.tools!==void 0&&x.registerAll(t.tools);let w=n.config??".",A=await hb(w);if(A===null)return console.error("Error: no .manifest.yml found in current directory."),ke({exitCode:1});let F;if(y)try{F=await pt`git diff --name-only HEAD`.cwd(w).noThrow().lines()}catch{console.warn(ma("Warning: could not run git, running without file filtering."))}let D=[],L={root:w,fix:i,dryRun:s,only:u,args:p,changedFiles:F,onStepStart:void 0,onStepEnd:g?void 0:U=>{if(console.log(_V(U.name,U,f)),!U.passed||f)for(let Y of U.issues){let G=Y.path!==void 0?Y.line!==void 0?`${Y.path}:${Y.line}`:Y.path:"";console.log(` ${at("\u2717")} ${G}${G.length>0?": ":""}${Y.message}`)}},onMutations:async U=>{if(!s)for(let Y of U)Y.oldContent!==Y.newContent&&await C.fs.writeTextFile(Y.path,Y.newContent)}};try{let U=!0,Y=0,G=0;if(r!==void 0){let W=await ID(r,A.workflows,x,L);for(let M of W){D.push(M),M.passed||(U=!1);for(let ne of M.steps)ne.passed||(G++,Y+=ne.issues.length)}}else{let W=await MD(o,A,x,L);D.push(W),U=W.passed;for(let M of W.steps)M.passed||(G++,Y+=M.issues.length)}return g&&console.log(JSON.stringify(D,null,2)),U?(g||console.log(Ln(`
20
- All checks passed!`)),Te(void 0)):(g||console.error(at(`
21
- ${G} check(s) failed with ${Y} issue(s)`)),ke({exitCode:1}))}catch(U){return console.error(at(`Error: ${U instanceof Error?U.message:String(U)}`)),ke({exitCode:1})}}});var Tg,ND,Rk=k(()=>{"use strict";Cg();Tg=async e=>{let t=await tc(e);return t===null?null:t},ND=async e=>await aD(e)});var NV,Mue,BV,Iue,UV,Due,_ue,BD=k(()=>{"use strict";NV=async function*(){},Mue=NV.constructor,BV=function*(){},Iue=BV.constructor,UV=async()=>{},Due=UV.constructor,_ue=globalThis.Function});var UD=k(()=>{"use strict";vn()});var zD=k(()=>{"use strict"});var WD=k(()=>{"use strict"});var HD=k(()=>{"use strict"});var Ti=k(()=>{BD();UD();zD();vn();WD();HD()});var GD=k(()=>{"use strict";vn()});var VD=k(()=>{"use strict";vn()});var YD,XD,Tk=k(()=>{"use strict";vn();YD=async(e,t,n=0)=>{let r=ke(new Error("No attempts made"));for(let o=0;o<t;o++){if(r=await e(),ei(r))return r;o<t-1&&n>0&&await new Promise(i=>setTimeout(i,n))}return r},XD=async(e,t,n)=>{let r=null,o=new Promise(i=>{r=setTimeout(()=>i(ke(n)),t)});try{return await Promise.race([e(),o])}finally{r!==null&&clearTimeout(r)}}});var Cn={};xe(Cn,{all:()=>qV,allPar:()=>$V,failTask:()=>yb,flatMap:()=>XV,flatMapW:()=>JV,fromPromise:()=>VV,map:()=>YV,provideContext:()=>KV,runTask:()=>kk,succeed:()=>JD,task:()=>Ws,validate:()=>jV,withAbort:()=>ZV,withLogging:()=>QV,withRetry:()=>e7,withTimeout:()=>t7});var Ws,JD,yb,VV,YV,XV,JV,kk,KV,ZV,QV,jV,qV,$V,e7,t7,Ek=k(()=>{"use strict";vn();Tk();Ws=e=>({_tag:"Task",execute:e}),JD=e=>Ws(()=>Promise.resolve(Te(e))),yb=e=>Ws(()=>Promise.resolve(ke(e))),VV=(e,t=n=>n)=>Ws(async()=>{try{return Te(await e())}catch(n){return ke(t(n))}}),YV=(e,t)=>Ws(async n=>{let r=await e.execute(n);return ei(r)?Te(t(r.value)):r}),XV=(e,t)=>Ws(async n=>{let r=await e.execute(n);return ti(r)?r:t(r.value).execute(n)}),JV=(e,t)=>Ws(async n=>{let r=await e.execute(n);return ti(r)?r:t(r.value).execute(n)}),kk=(e,...t)=>e.execute(t[0]),KV=(e,t)=>Ws(()=>e.execute(t)),ZV=(e,t)=>Ws(async n=>{let{signal:r}=n,o=n;if(r.aborted)return ke({_tag:"AbortError",message:"Operation was already aborted"});let i;try{let s=new Promise(u=>{r.addEventListener("abort",()=>u(ke({_tag:"AbortError",message:"Operation aborted"})),{once:!0}),t>0&&(i=setTimeout(()=>u(ke({_tag:"AbortError",message:`Operation timed out after ${t}ms`})),t))});return await Promise.race([e.execute(o),s])}finally{i!==void 0&&clearTimeout(i)}}),QV=(e,t)=>Ws(async n=>{let{logger:r}=n,o=n;r.info(`[${t}] started`);let i=await e.execute(o);return ei(i)?r.info(`[${t}] completed`):r.error(`[${t}] failed`,{error:i.error}),i}),jV=(e,t)=>n=>e(n)?JD(n):yb({_tag:"ValidationError",message:t}),qV=e=>Ws(async t=>{let n=[];for(let r of e){let o=await r.execute(t);if(ti(o))return o;n.push(o.value)}return Te(n)}),$V=e=>Ws(async t=>{let n=await Promise.all(e.map(o=>o.execute(t))),r=[];for(let o of n){if(ti(o))return o;r.push(o.value)}return Te(r)}),e7=(e,t,n=0)=>Ws(r=>YD(()=>e.execute(r),t,n)),t7=(e,t,n)=>Ws(r=>XD(()=>e.execute(r),t,n))});var mn={};xe(mn,{adaptError:()=>n7,bind:()=>KD,createTrigger:()=>r7});var n7,KD,r7,ZD=k(()=>{"use strict";vn();Ek();n7=(e,t)=>({_tag:"AdaptError",message:e,source:t}),KD=(e,t)=>n=>{let r=t(n);return ti(r)?yb(r.error):e(r.value)},r7=e=>async(t,...n)=>{let r=KD(e.handler,e.adaptInput),o=await kk(r(t),...n);return e.adaptOutput(o)}});var QD=k(()=>{"use strict"});var Wa=k(()=>{GD();VD();Ek();ZD();QD();Tk()});var jD,qD,$D,Sk=k(()=>{"use strict";jD=e=>{let t=[];for(let n of e)t.push(`--${n.name}`),n.short!==void 0&&t.push(`-${n.short}`);return t.join(" ")},qD=(e,t)=>{if(e.children===void 0||e.children.length===0)return"";let n=e.children.map(s=>s.name).join(" "),r=e.flags!==void 0?jD(e.flags):"",o=[n,r].filter(s=>s.length>0).join(" "),i=` ${t})
22
- `;i+=` COMPREPLY=( $(compgen -W "${o}" -- "\${cur}") )
23
- `,i+=` return 0
24
- `,i+=` ;;
25
- `;for(let s of e.children)s.children!==void 0&&s.children.length>0&&(i+=qD(s,`${t} ${s.name}`));return i},$D=(e,t)=>{let n=t.children?.map(s=>s.name).join(" ")??"",r=t.flags!==void 0?jD(t.flags):"",o=[n,r].filter(s=>s.length>0).join(" "),i="";if(t.children!==void 0)for(let s of t.children)i+=qD(s,s.name);return`# ${e} bash completion
26
- # Generated by @eser/shell/completions
27
-
28
- _${e}_completions() {
29
- local cur prev words cword
30
- _init_completion || return
31
-
32
- COMPREPLY=()
33
- cur="\${COMP_WORDS[COMP_CWORD]}"
34
- prev="\${COMP_WORDS[COMP_CWORD-1]}"
35
-
36
- # Build the command path from words
37
- local cmd_path=""
38
- local i
39
- for ((i=1; i<COMP_CWORD; i++)); do
40
- case "\${COMP_WORDS[i]}" in
41
- -*)
42
- # Skip flags
43
- ;;
44
- *)
45
- if [[ -n "$cmd_path" ]]; then
46
- cmd_path="$cmd_path \${COMP_WORDS[i]}"
47
- else
48
- cmd_path="\${COMP_WORDS[i]}"
49
- fi
50
- ;;
51
- esac
52
- done
53
-
54
- case "$cmd_path" in
55
- ${i} "")
56
- COMPREPLY=( $(compgen -W "${o}" -- "\${cur}") )
57
- return 0
58
- ;;
59
- esac
60
- }
61
-
62
- complete -F _${e}_completions ${e}
63
- `}});var e_,i7,s7,t_,n_,Pk=k(()=>{"use strict";e_=e=>e.replace(/'/g,"'\\''"),i7=e=>{let t=[];for(let n of e){let r=e_(n.description??`${n.name} flag`);n.takesValue===!0?(t.push(`'--${n.name}=[${r}]'`),n.short!==void 0&&t.push(`'-${n.short}=[${r}]'`)):(t.push(`'--${n.name}[${r}]'`),n.short!==void 0&&t.push(`'-${n.short}[${r}]'`))}return t},s7=e=>e.map(n=>{let r=e_(n.description??n.name);return`'${n.name}:${r}'`}).join(`
64
- `),t_=(e,t,n)=>{let o=`${n.length===0?`_${e}`:`_${e}_${n.join("_")}`}() {
65
- `;if(o+=` local -a commands
66
- `,o+=` local -a flags
67
-
68
- `,t.flags!==void 0&&t.flags.length>0){let i=i7(t.flags);o+=` flags=(
69
- ${i.join(`
70
- `)}
71
- )
72
-
73
- `}if(t.children!==void 0&&t.children.length>0){o+=` commands=(
74
- `,o+=` ${s7(t.children)}
75
- `,o+=` )
76
-
77
- `,o+=` _arguments -C \\
78
- `,t.flags!==void 0&&t.flags.length>0&&(o+=' "${flags[@]}" \\\n'),o+=` '1: :->command' \\
79
- `,o+=` '*::arg:->args'
80
-
81
- `,o+=` case "$state" in
82
- `,o+=` command)
83
- `,o+=` _describe -t commands 'command' commands
84
- `,o+=` ;;
85
- `,o+=` args)
86
- `,o+=' case "${words[1]}" in\n';for(let i of t.children){let s=[...n,i.name],u=`_${e}_${s.join("_")}`;o+=` ${i.name})
87
- `,o+=` ${u}
88
- `,o+=` ;;
89
- `}o+=` esac
90
- `,o+=` ;;
91
- `,o+=` esac
92
- `}else t.flags!==void 0&&t.flags.length>0&&(o+=' _arguments "${flags[@]}"\n');if(o+=`}
93
-
94
- `,t.children!==void 0)for(let i of t.children)o+=t_(e,i,[...n,i.name]);return o},n_=(e,t)=>{let n=`#compdef ${e}
95
- `;return n+=`# ${e} zsh completion
96
- `,n+=`# Generated by @eser/shell/completions
97
-
98
- `,n+=t_(e,t,[]),n}});var r_,l7,o_,i_,Ak=k(()=>{"use strict";r_=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),l7=(e,t,n)=>{let r="";for(let o of t){let i=r_(o.description??`${o.name} flag`),s=`complete -c ${e} ${n}`;s+=` -l ${o.name}`,o.short!==void 0&&(s+=` -s ${o.short}`),o.takesValue===!0&&(s+=" -r"),s+=` -d '${i}'`,r+=s+`
99
- `}return r},o_=(e,t,n)=>{let r="",o;if(n.length===0?o="-n __fish_use_subcommand":o=`-n "${n.map(s=>`__fish_seen_subcommand_from ${s}`).join("; and ")}"`,t.children!==void 0&&t.children.length>0){for(let i of t.children){let s=r_(i.description??i.name);if(n.length===0)r+=`complete -c ${e} -f ${o} `,r+=`-a "${i.name}" -d '${s}'
100
- `;else{let u=`-n "__fish_seen_subcommand_from ${n[n.length-1]}"`;r+=`complete -c ${e} -f ${u} `,r+=`-a "${i.name}" -d '${s}'
101
- `}}for(let i of t.children)r+=o_(e,i,[...n,i.name])}return t.flags!==void 0&&t.flags.length>0&&(r+=l7(e,t.flags,o)),r},i_=(e,t)=>{let n=`# ${e} fish completion
102
- `;return n+=`# Generated by @eser/shell/completions
103
-
104
- `,n+=`complete -c ${e} -f
105
-
106
- `,n+=o_(e,t,[]),n}});var s_=k(()=>{"use strict";Sk();Pk();Ak()});var a_,Fk=k(()=>{"use strict";s_();Sk();Pk();Ak();a_=(e,t,n)=>{switch(e){case"bash":return $D(t,n);case"zsh":return n_(t,n);case"fish":return i_(t,n)}}});var Ok,p7,f7,l_,Mk,Ik,Dk=k(()=>{"use strict";Ok=e=>{let t=[],n=[],r={},o={};for(let i of e)i.type==="boolean"?t.push(i.name):n.push(i.name),i.short!==void 0&&(r[i.short]=i.name),i.default!==void 0&&(o[i.name]=i.default);return{boolean:t,string:n,alias:r,default:o}},p7=e=>e!=null&&e.constructor===String,f7={boolean:e=>!!e,number:e=>p7(e)?Number(e):e,string:e=>String(e),"string[]":e=>Array.isArray(e)?e.map(String):[String(e)]},l_=(e,t)=>{if(e!==void 0)return f7[t]?.(e)??e},Mk=(e,t)=>{let n={};for(let r of t){let o=e[r.name];n[r.name]=l_(o,r.type)}return n},Ik=(e,t)=>{let n=[];for(let r of t)if(r.required===!0){let o=e[r.name];(o===void 0||o===""||o===!1)&&n.push(`Required flag --${r.name} is missing`)}return n}});var c_,m7,h7,g7,y7,x7,v7,_k,Lk=k(()=>{"use strict";c_=(e,t)=>e+" ".repeat(Math.max(0,t-e.length)),m7=e=>{let t=e.short!==void 0?`-${e.short}, `:"",n=e.type!=="boolean"?` <${e.type}>`:"";return`${t}--${e.name}${n}`},h7=(e,t)=>[e.description!==void 0?`${t} - ${e.description}`:t,""],g7=(e,t)=>{if(e.usage!==void 0)return["Usage:",` ${e.usage}`,""];let n=e.children.length>0?" <command>":"",r=e.flags.length>0?" [options]":"";return["Usage:",` ${t}${n}${r}`,""]},y7=e=>{if(e.length===0)return[];let t=Math.max(...e.map(r=>r.name.length));return["Commands:",...e.map(r=>` ${c_(r.name,t+2)}${r.description??""}`),""]},x7=e=>{if(e.length===0)return[];let t=e.map(o=>({flag:m7(o),desc:o.description})),n=Math.max(...t.map(o=>o.flag.length));return["Options:",...t.map(({flag:o,desc:i})=>` ${c_(o,n+2)}${i}`),""]},v7=e=>e?.length?["Examples:",...e.map(t=>` ${t}`),""]:[],_k=(e,t)=>{let n=t.join(" "),r=[...h7(e,n),...g7(e,n),...y7(e.children),...x7(e.flags),...v7(e.examples)];return e.children.length>0&&r.push(`Run '${n} <command> --help' for more information on a command.`),r.join(`
107
- `)}});var ri,u_=k(()=>{"use strict";Ri();vn();ye();Dk();Lk();Fk();ri=class e{#e;#t;#n;#r=[];#s=[];#o=[];#c=[];#i=[];#u;#l={validation:"none"};#d;#a;constructor(t){this.#e=t}get name(){return this.#e}description(t){return this.#t=t,this}usage(t){return this.#n=t,this}example(t){return this.#r.push(t),this}aliases(...t){return this.#s=t,this}version(t){return this.#d=t,this}flag(t){return this.#o.push(t),this}persistentFlag(t){return this.#c.push({...t,persistent:!0}),this}args(t,n){return t==="exact"&&typeof n=="number"?this.#l={validation:t,count:n}:t==="min"&&typeof n=="number"?this.#l={validation:t,min:n}:t==="max"&&typeof n=="number"?this.#l={validation:t,max:n}:t==="range"&&Array.isArray(n)?this.#l={validation:t,min:n[0],max:n[1]}:this.#l={validation:t},this}command(t){return t.#a=this,this.#i.push(t),this}commands(...t){for(let n of t)this.command(n);return this}run(t){return this.#u=t,this}static#g=[{name:"help",short:"h",type:"boolean",description:"Show help for this command"}];#p(){let t=[],n=this.#a;for(;n!==void 0;)t.push(...n.#c),n=n.#a;return[...e.#g,...t,...this.#c,...this.#o]}#f(){return this.#a===void 0?this:this.#a.#f()}#m(){return this.#a===void 0?[this.#e]:[...this.#a.#m(),this.#e]}#y(t){return this.#i.find(n=>n.#e===t||n.#s.includes(t))}#x(t){let{validation:n,count:r,min:o,max:i}=this.#l,s=t.length;switch(n){case"no-args":if(s>0)return"This command takes no arguments";break;case"exact":if(s!==r)return`Expected exactly ${r} argument(s), got ${s}`;break;case"min":if(s<(o??0))return`Expected at least ${o} argument(s), got ${s}`;break;case"max":if(s>(i??1/0))return`Expected at most ${i} argument(s), got ${s}`;break;case"range":if(s<(o??0)||s>(i??1/0))return`Expected ${o}-${i} arguments, got ${s}`;break}}async parse(t){let n=t??C.process.args;return await this.#h(n,[])}async#h(t,n){let r=this.#p(),o=Ok(r),i=wt(t,{...o,stopEarly:this.#i.length>0}),s=Mk(i,r),u=i._;if(this.#d!==void 0&&s.version===!0)return console.log(`${this.#e} ${this.#d}`),Te(void 0);if(s.help===!0)return console.log(this.help()),Te(void 0);let p=u[0];if(p!==void 0&&this.#i.length>0){let w=this.#y(p);if(w!==void 0)return await w.#h(u.slice(1),[...n,this.#e])}if(this.#u===void 0)return console.log(this.help()),Te(void 0);let f=Ik(s,r);if(f.length>0)return ke({message:f.join(`
108
- `),exitCode:1});let g=this.#x(u);if(g!==void 0)return ke({message:g,exitCode:1});let y=[...n,this.#e],x={args:u,flags:s,root:this.#f(),commandPath:y};return await this.#u(x)}help(){let t={name:this.#e,description:this.#t,usage:this.#n,examples:this.#r,flags:this.#p(),children:this.#i.map(n=>({name:n.#e,description:n.#t,usage:n.#n,examples:n.#r,flags:n.#p(),children:[]}))};return _k(t,this.#m())}#v(){let t=r=>r.map(o=>({name:o.name,short:o.short,description:o.description,takesValue:o.type!=="boolean"})),n=r=>({name:r.#e,description:r.#t,children:r.#i.map(n),flags:t(r.#p())});return n(this)}completions(t){let n=this.#v();return a_(t,this.#e,n)}}});var xb=k(()=>{u_();Dk();Lk()});var d_,b7,w7,vb,p_=k(()=>{"use strict";Ar();d_=e=>{let n=new TextEncoder().encode(e);if(typeof globalThis.Deno<"u")Deno.stdout.writeSync(n);else if(typeof globalThis.process<"u"&&globalThis.process.stdout!==void 0)globalThis.process.stdout.write(n);else throw new Error("Spinner requires a terminal environment (Deno, Node.js, or Bun)")},b7=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],w7=80,vb=class{intervalId;frames;frameInterval;currentFrame=0;message;constructor(t,n={}){this.message=t,this.frames=n.frames??b7,this.frameInterval=n.interval??w7}start(){return this.intervalId=setInterval(()=>{let t=this.frames[this.currentFrame];d_(`\r${Ee.brand(t??"")} ${this.message}`),this.currentFrame=(this.currentFrame+1)%this.frames.length},this.frameInterval),this}update(t){return this.message=t,this}succeed(t){this.stop(),console.log(`${Ee.success("\u2713")} ${t??this.message}`)}fail(t){this.stop(),console.log(`${Ee.error("\u2717")} ${t??this.message}`)}warn(t){this.stop(),console.log(`${Ee.warning("\u26A0")} ${t??this.message}`)}info(t){this.stop(),console.log(`${Ee.info("\u2139")} ${t??this.message}`)}stop(){this.intervalId&&(clearInterval(this.intervalId),d_(`\r${" ".repeat(this.message.length+4)}\r`))}}});var bb,wb,Cb,Rb,Tb,kb,Eb,Sb,Pb,Ab,Fb,Ob,Bk=k(()=>{"use strict";Ar();bb=e=>[{line:"",channel:"stdout"},{line:Ee.bold(e),channel:"stdout"},{line:Ee.gray("\u2500".repeat(e.length)),channel:"stdout"}],wb=(e,t=null)=>{let n=[{line:`${Ee.success("\u2713")} ${e}`,channel:"stdout"}];return t!==null&&n.push({line:Ee.dim(` ${t}`),channel:"stdout"}),n},Cb=(e,t=null)=>{let n=[{line:`${Ee.error("\u2717")} ${e}`,channel:"stderr"}];return t!==null&&n.push({line:Ee.dim(` ${t}`),channel:"stderr"}),n},Rb=(e,t=null)=>{let n=[{line:`${Ee.warning("\u26A0")} ${e}`,channel:"stderr"}];return t!==null&&n.push({line:Ee.dim(` ${t}`),channel:"stderr"}),n},Tb=(e,t=null)=>{let n=[{line:`${Ee.info("\u2139")} ${e}`,channel:"stdout"}];return t!==null&&n.push({line:Ee.dim(` ${t}`),channel:"stdout"}),n},kb=(e,t)=>[{line:` ${Ee.dim(e+":")} ${t}`,channel:"stdout"}],Eb=e=>{let t=[{line:"",channel:"stdout"},{line:Ee.bold("Next steps:"),channel:"stdout"},{line:"",channel:"stdout"}];return e.forEach((n,r)=>{t.push({line:` ${Ee.dim((r+1).toString()+".")} ${n}`,channel:"stdout"})}),t.push({line:"",channel:"stdout"}),t},Sb=(e,t=Ee.brand)=>{if(e.length===0)return[];let n=e.split(`
109
- `),r=n.map(u=>u.length),o=r.length>0?Math.max(...r):0,i="\u2500".repeat(o+2),s=[{line:t(`\u256D${i}\u256E`),channel:"stdout"}];return n.forEach(u=>{let p=" ".repeat(o-u.length);s.push({line:`${t("\u2502")} ${u}${p} ${t("\u2502")}`,channel:"stdout"})}),s.push({line:t(`\u2570${i}\u256F`),channel:"stdout"}),s},Pb=()=>[{line:"\x1Bc",channel:"stdout"}],Ab=()=>[{line:"",channel:"stdout"}],Fb=(e=40,t="\u2500")=>[{line:Ee.dim(t.repeat(e)),channel:"stdout"}],Ob=(e,t={})=>{let n=Object.entries(e);if(n.length===0)return[];let{indent:r=2,labelWidth:o}=t,i=" ".repeat(r),s=Object.keys(e),u=o??(s.length>0?Math.max(...s.map(p=>p.length)):0);return n.map(([p,f])=>{let g=p.padEnd(u);return{line:`${i}${Ee.dim(g+":")} ${f}`,channel:"stdout"}})}});var Mb,f_,m_,h_,g_,ss,Uk=k(()=>{"use strict";Mb=()=>(e,t="stdout")=>{t==="stderr"?console.error(e):console.log(e)},f_=(e,t={})=>{let n=new TextEncoder,{stderrStream:r}=t;return async(o,i="stdout")=>{let u=(i==="stderr"&&r!==void 0?r:e).getWriter();try{await u.ready,await u.write(n.encode(o+`
110
- `))}finally{u.releaseLock()}}},m_=()=>{let e=[];return{target:(n,r="stdout")=>{e.push({line:n,channel:r})},lines:e,output:()=>e.map(n=>n.line).join(`
111
- `),clear:()=>{e.length=0}}},h_=(e,t)=>{},g_=(...e)=>async(t,n="stdout")=>{await Promise.all(e.map(r=>r(t,n)))},ss=(e,t)=>{let r=e.map(o=>t(o.line,o.channel)).filter(o=>o instanceof Promise);if(r.length>0)return Promise.all(r).then(()=>{})}});var y_,x_=k(()=>{"use strict";Ar();Bk();Uk();y_=(e=Mb())=>({printSection:t=>ss(bb(t),e),printSuccess:(t,n=null)=>ss(wb(t,n),e),printError:(t,n=null)=>ss(Cb(t,n),e),printWarning:(t,n=null)=>ss(Rb(t,n),e),printInfo:(t,n=null)=>ss(Tb(t,n),e),printItem:(t,n)=>ss(kb(t,n),e),printNextSteps:t=>ss(Eb(t),e),boxText:(t,n=Ee.brand)=>ss(Sb(t,n),e),clearTerminal:()=>ss(Pb(),e),blank:()=>ss(Ab(),e),printRule:(t,n)=>ss(Fb(t,n),e),printTable:(t,n)=>ss(Ob(t,n),e)})});var Xt={};xe(Xt,{Spinner:()=>vb,bgBlack:()=>vD,bgBlue:()=>RD,bgCyan:()=>kD,bgGreen:()=>wD,bgMagenta:()=>TD,bgRed:()=>bD,bgWhite:()=>ED,bgYellow:()=>CD,black:()=>cD,blue:()=>fk,bold:()=>_c,brightBlue:()=>hD,brightCyan:()=>yD,brightGreen:()=>fD,brightMagenta:()=>gD,brightRed:()=>pD,brightWhite:()=>xD,brightYellow:()=>mD,c:()=>Ee,createOutput:()=>y_,cyan:()=>Ge,dim:()=>Ie,emitLines:()=>ss,formatBlank:()=>Ab,formatBox:()=>Sb,formatClearTerminal:()=>Pb,formatError:()=>Cb,formatInfo:()=>Tb,formatItem:()=>kb,formatNextSteps:()=>Eb,formatRule:()=>Fb,formatSection:()=>bb,formatSuccess:()=>wb,formatTable:()=>Ob,formatWarning:()=>Rb,getConsoleTarget:()=>Mb,getMultiplexTarget:()=>g_,getStreamTarget:()=>f_,getTestTarget:()=>m_,gray:()=>mk,green:()=>Ln,italic:()=>pk,magenta:()=>uD,nullTarget:()=>h_,red:()=>at,strikethrough:()=>lD,stripAnsi:()=>SD,supportsColor:()=>PD,underline:()=>Rg,white:()=>dD,yellow:()=>ma});var v_=k(()=>{"use strict";Ar();p_();x_();Uk();Bk()});var as=k(()=>{Fk();xb();zs();v_()});function Ha(e,t){return e.replace(kg,t)}var kg,ki,Gs=k(()=>{kg=/\.(?:[cm]?[jt]sx?)$/,ki=["tsx","jsx","ts","js","mts","mjs","cts","cjs"]});var vl,Eg,Ib,Jd,Sg=k(()=>{"use strict";vl={DenoJson:"deno.json",DenoJsonc:"deno.jsonc",JsrJson:"jsr.json",JsrJsonc:"jsr.jsonc",PackageJson:"package.json"},Eg=[vl.DenoJson,vl.DenoJsonc,vl.JsrJson,vl.JsrJsonc,vl.PackageJson],Ib=Symbol.for("baseDir"),Jd={name:{"deno.json":"name","deno.jsonc":"name","jsr.json":"name","jsr.jsonc":"name","package.json":"name"},version:{"deno.json":"version","deno.jsonc":"version","jsr.json":"version","jsr.jsonc":"version","package.json":"version"},description:{"package.json":"description"},license:{"deno.json":"license","deno.jsonc":"license","package.json":"license"},private:{"package.json":"private"},exports:{"deno.json":"exports","deno.jsonc":"exports","jsr.json":"exports","jsr.jsonc":"exports","package.json":"exports"},workspaces:{"deno.json":"workspace","deno.jsonc":"workspace","package.json":"workspaces"},imports:{"deno.json":"imports","deno.jsonc":"imports"},dependencies:{"package.json":"dependencies"},devDependencies:{"package.json":"devDependencies"}}});function Db(e){if(new.target)throw new TypeError("Cannot create an instance: parse is not a constructor");return new zk(e).parse()}function Eu({type:e,sourceText:t,position:n}){let r="";switch(e){case"BeginObject":r="{";break;case"EndObject":r="}";break;case"BeginArray":r="[";break;case"EndArray":r="]";break;case"NameSeparator":r=":";break;case"ValueSeparator":r=",";break;case"NullOrTrueOrFalseOrNumber":case"String":r=30<t.length?`${t.slice(0,30)}...`:t;break}return`Cannot parse JSONC: unexpected token "${r}" in JSONC at position ${n}`}var zk,w_=k(()=>{zk=class{#e=new Set(` \r
112
- `);#t=new Set([..."[]{}:,/",...this.#e]);#n;#r;#s;constructor(t){this.#n=`${t}`,this.#r=this.#n.length,this.#s=this.#c()}parse(){let t=this.#o(),n=this.#i(t),{done:r,value:o}=this.#s.next();if(!r)throw new SyntaxError(Eu(o));return n}#o(){let{done:t,value:n}=this.#s.next();if(t)throw new SyntaxError("Cannot parse JSONC: unexpected end of JSONC input");return n}*#c(){for(let t=0;t<this.#r;t++)if(!this.#e.has(this.#n[t])){if(this.#n[t]==="/"&&this.#n[t+1]==="*"){t+=2;let n=!1;for(;t<this.#r;t++)if(this.#n[t]==="*"&&this.#n[t+1]==="/"){n=!0;break}if(!n)throw new SyntaxError("Cannot parse JSONC: unexpected end of JSONC input");t++;continue}if(this.#n[t]==="/"&&this.#n[t+1]==="/"){for(t+=2;t<this.#r&&!(this.#n[t]===`
113
- `||this.#n[t]==="\r");t++);continue}switch(this.#n[t]){case"{":yield{type:"BeginObject",position:t};break;case"}":yield{type:"EndObject",position:t};break;case"[":yield{type:"BeginArray",position:t};break;case"]":yield{type:"EndArray",position:t};break;case":":yield{type:"NameSeparator",position:t};break;case",":yield{type:"ValueSeparator",position:t};break;case'"':{let n=t,r=!1;for(t++;t<this.#r&&!(this.#n[t]==='"'&&!r);t++)r=this.#n[t]==="\\"&&!r;yield{type:"String",sourceText:this.#n.substring(n,t+1),position:n};break}default:{let n=t;for(;t<this.#r&&!this.#t.has(this.#n[t]);t++);t--,yield{type:"NullOrTrueOrFalseOrNumber",sourceText:this.#n.substring(n,t+1),position:n}}}}}#i(t){switch(t.type){case"BeginObject":return this.#u();case"BeginArray":return this.#l();case"NullOrTrueOrFalseOrNumber":return this.#a(t);case"String":return this.#d(t);default:throw new SyntaxError(Eu(t))}}#u(){let t={};for(;;){let n=this.#o();if(n.type==="EndObject")return t;if(n.type!=="String")throw new SyntaxError(Eu(n));let r=this.#d(n),o=this.#o();if(o.type!=="NameSeparator")throw new SyntaxError(Eu(o));let i=this.#o();Object.defineProperty(t,r,{value:this.#i(i),writable:!0,enumerable:!0,configurable:!0});let s=this.#o();if(s.type==="EndObject")return t;if(s.type!=="ValueSeparator")throw new SyntaxError(Eu(s))}}#l(){let t=[];for(;;){let n=this.#o();if(n.type==="EndArray")return t;t.push(this.#i(n));let r=this.#o();if(r.type==="EndArray")return t;if(r.type!=="ValueSeparator")throw new SyntaxError(Eu(r))}}#d(t){let n;try{n=JSON.parse(t.sourceText)}catch{throw new SyntaxError(Eu(t))}if(typeof n!="string")throw new TypeError(`Parsed value is not a string: ${n}`);return n}#a(t){if(t.sourceText==="null")return null;if(t.sourceText==="true")return!0;if(t.sourceText==="false")return!1;let n;try{n=JSON.parse(t.sourceText)}catch{throw new SyntaxError(Eu(t))}if(typeof n!="number")throw new TypeError(`Parsed value is not a number: ${n}`);return n}}});var Wk=k(()=>{w_()});var R_=k(()=>{});function _b(e,t,n){return P_(e,t,new Set,n??R7)}function P_(e,t,n,r){let o={},i=new Set([...S_(e),...S_(t)]);for(let s of i){if(s==="__proto__")continue;let u=e[s];if(!Object.hasOwn(t,s)){o[s]=u;continue}let p=t[s];if(E_(u)&&E_(p)&&!n.has(u)&&!n.has(p)){n.add(u),n.add(p),o[s]=T7(u,p,n,r);continue}o[s]=p}return o}function T7(e,t,n,r){if(T_(e)&&T_(t))return P_(e,t,n,r);if(k_(e)&&k_(t)){if(Array.isArray(e)&&Array.isArray(t))return r.arrays==="merge"?e.concat(t):t;if(e instanceof Map&&t instanceof Map){if(r.maps==="merge"){let o=new Map(e);for(let[i,s]of t)o.set(i,s);return o}return t}if(e instanceof Set&&t instanceof Set){if(r.sets==="merge"){let o=new Set(e);for(let i of t)o.add(i);return o}return t}}return t}function T_(e){return Object.getPrototypeOf(e)===Object.prototype}function k_(e){return typeof e[Symbol.iterator]=="function"}function E_(e){return e!==null&&typeof e=="object"}function S_(e){let t=Object.keys(e),n=Object.getOwnPropertySymbols(e);if(n.length===0)return t;for(let r of n)Object.prototype.propertyIsEnumerable.call(e,r)&&t.push(r);return t}var R7,A_=k(()=>{R7={arrays:"merge",sets:"merge",maps:"merge"}});function k7(e){return e%4===0&&e%100!==0||e%400===0}function tt(e){return{ok:!0,body:e}}function It(){return{ok:!1}}function Vk(e,t={__proto__:null}){return e.reduceRight((n,r)=>({[r]:n}),t)}function F_(e){return typeof e=="object"&&e!==null}function O_(e,t){let n=t[0];if(!n)throw new Error("Cannot parse the TOML: key length is not a positive number");return e[n]}function E7(e,t){let{keys:n,type:r,value:o}=t,i=O_(e,n);if(i===void 0)return Object.assign(e,Vk(n,o));if(Array.isArray(i)){let s=i.at(-1);return Pg(s,{type:r,keys:n.slice(1),value:o}),e}if(F_(i))return Pg(i,{type:r,keys:n.slice(1),value:o}),e;throw new Error("Unexpected assign")}function S7(e,t){let{type:n,keys:r,value:o}=t,i=O_(e,r);if(i===void 0)return Object.assign(e,Vk(r,[o]));if(Array.isArray(i)){if(t.keys.length===1)i.push(o);else{let s=i.at(-1);Pg(s,{type:t.type,keys:t.keys.slice(1),value:t.value})}return e}if(F_(i))return Pg(i,{type:n,keys:r.slice(1),value:o}),e;throw new Error("Unexpected assign")}function Pg(e,t){switch(t.type){case"Block":return _b(e,t.value);case"Table":return E7(e,t);case"TableArray":return S7(e,t)}}function Yk(e){return t=>{for(let n of e){let r=n(t);if(r.ok)return r}return It()}}function P7(e,t){let n=Ag(t);return r=>{let o=[],i=e(r);if(!i.ok)return tt(o);for(o.push(i.body);!r.eof()&&n(r).ok;){let s=e(r);if(!s.ok)throw new SyntaxError(`Invalid token after "${t}"`);o.push(s.body)}return tt(o)}}function A7(e,t){let n=Ag(t);return r=>{let o=e(r);if(!o.ok)return It();let i=[o.body];for(;!r.eof()&&n(r).ok;){let s=e(r);if(!s.ok)throw new SyntaxError(`Invalid token after "${t}"`);i.push(s.body)}return tt(i)}}function F7(e,t,n){let r=Ag(t);return o=>{let i=o.position,s=e(o);if(!s.ok)return It();if(!r(o).ok)throw new SyntaxError(`key/value pair doesn't have "${t}"`);let p=n(o);if(!p.ok){let f=o.source.indexOf(`
114
- `,o.position),g=f>0?f:o.source.length,y=o.source.slice(i,g);throw new SyntaxError(`Cannot parse value on line '${y}'`)}return tt(Vk(s.body,p.body))}}function O7(e){return t=>{let n=e(t);if(!n.ok)return It();let r={__proto__:null};for(let o of n.body)typeof o=="object"&&o!==null&&(r=_b(r,o));return tt(r)}}function M_(e){return t=>{let n=[];for(;!t.eof();){let r=e(t);if(!r.ok)break;n.push(r.body),t.nextUntilChar()}return n.length===0?It():tt(n)}}function Xk(e,t,n){let r=Ag(e),o=Ag(n);return i=>{if(!r(i).ok)return It();let s=t(i);if(!s.ok)throw new SyntaxError(`Invalid token after "${e}"`);if(!o(i).ok)throw new SyntaxError(`Not closed by "${n}" after started with "${e}"`);return tt(s.body)}}function Ag(e){return t=>(t.skipWhitespaces(),t.startsWith(e)?(t.next(e.length),t.skipWhitespaces(),tt(void 0)):It())}function I7(e){e.skipWhitespaces();let t=e.match(M7)?.[0];return t?(e.next(t.length),tt(t)):It()}function I_(e){if(e.char()!=="\\")return It();switch(e.next(),e.char()){case"b":return e.next(),tt("\b");case"t":return e.next(),tt(" ");case"n":return e.next(),tt(`
115
- `);case"f":return e.next(),tt("\f");case"r":return e.next(),tt("\r");case"u":case"U":{let t=e.char()==="u"?4:6,n=parseInt("0x"+e.slice(1,1+t),16),r=String.fromCodePoint(n);return e.next(t+1),tt(r)}case'"':return e.next(),tt('"');case"\\":return e.next(),tt("\\");default:throw new SyntaxError(`Invalid escape sequence: \\${e.char()}`)}}function D_(e){if(e.skipWhitespaces(),e.char()!=='"')return It();e.next();let t=[];for(;e.char()!=='"'&&!e.eof();){if(e.char()===`
116
- `)throw new SyntaxError("Single-line string cannot contain EOL");let n=I_(e);n.ok?t.push(n.body):(t.push(e.char()),e.next())}if(e.eof())throw new SyntaxError(`Single-line string is not closed:
117
- ${t.join("")}`);return e.next(),tt(t.join(""))}function __(e){if(e.skipWhitespaces(),e.char()!=="'")return It();e.next();let t=[];for(;e.char()!=="'"&&!e.eof();){if(e.char()===`
118
- `)throw new SyntaxError("Single-line string cannot contain EOL");t.push(e.char()),e.next()}if(e.eof())throw new SyntaxError(`Single-line string is not closed:
119
- ${t.join("")}`);return e.next(),tt(t.join(""))}function D7(e){if(e.skipWhitespaces(),!e.startsWith('"""'))return It();e.next(3),e.char()===`
120
- `?e.next():e.startsWith(`\r
121
- `)&&e.next(2);let t=[];for(;!e.startsWith('"""')&&!e.eof();){if(e.startsWith(`\\
122
- `)){e.next(),e.nextUntilChar({skipComments:!1});continue}else if(e.startsWith(`\\\r
123
- `)){e.next(),e.nextUntilChar({skipComments:!1});continue}let n=I_(e);n.ok?t.push(n.body):(t.push(e.char()),e.next())}if(e.eof())throw new SyntaxError(`Multi-line string is not closed:
124
- ${t.join("")}`);return e.char(3)==='"'&&(t.push('"'),e.next()),e.next(3),tt(t.join(""))}function _7(e){if(e.skipWhitespaces(),!e.startsWith("'''"))return It();e.next(3),e.char()===`
125
- `?e.next():e.startsWith(`\r
126
- `)&&e.next(2);let t=[];for(;!e.startsWith("'''")&&!e.eof();)t.push(e.char()),e.next();if(e.eof())throw new SyntaxError(`Multi-line string is not closed:
127
- ${t.join("")}`);return e.char(3)==="'"&&(t.push("'"),e.next()),e.next(3),tt(t.join(""))}function N7(e){e.skipWhitespaces();let t=e.match(L7);if(!t)return It();let n=t[0];return e.next(n.length),tt(n==="true")}function z7(e){e.skipWhitespaces();let t=e.match(U7);if(!t)return It();let n=t[0];e.next(n.length);let r=B7.get(n);return tt(r)}function H7(e){e.skipWhitespaces();let t=e.match(W7);if(!t)return It();let n=t[0];return e.next(n.length),tt(NaN)}function V7(e){e.skipWhitespaces();let t=e.match(G7)?.[0];if(!t)return It();e.next(t.length);let n=t.slice(2).replaceAll("_",""),r=parseInt(n,2);return isNaN(r)?It():tt(r)}function X7(e){e.skipWhitespaces();let t=e.match(Y7)?.[0];if(!t)return It();e.next(t.length);let n=t.slice(2).replaceAll("_",""),r=parseInt(n,8);return isNaN(r)?It():tt(r)}function K7(e){e.skipWhitespaces();let t=e.match(J7)?.[0];if(!t)return It();e.next(t.length);let n=t.slice(2).replaceAll("_",""),r=parseInt(n,16);return isNaN(r)?It():tt(r)}function Q7(e){e.skipWhitespaces();let t=e.match(Z7)?.[0];if(!t)return It();e.next(t.length);let n=t.replaceAll("_",""),r=parseInt(n,10);return tt(r)}function q7(e){e.skipWhitespaces();let t=e.match(j7)?.[0];if(!t)return It();e.next(t.length);let n=t.replaceAll("_",""),r=parseFloat(n);return isNaN(r)?It():tt(r)}function eY(e){e.skipWhitespaces();let t=e.match($7);if(!t)return It();let n=t[0];e.next(n.length);let r=t.groups;if(r.month=="02"){let i=parseInt(r.day);if(i>29)throw new SyntaxError(`Invalid date string "${t}"`);let s=parseInt(r.year);if(i>28&&!k7(s))throw new SyntaxError(`Invalid date string "${t}"`)}let o=new Date(n.trim());if(isNaN(o.getTime()))throw new SyntaxError(`Invalid date string "${t}"`);return tt(o)}function nY(e){e.skipWhitespaces();let t=e.match(tY)?.[0];return t?(e.next(t.length),tt(t)):It()}function rY(e){if(e.skipWhitespaces(),e.char()!=="[")return It();e.next();let t=[];for(;!e.eof();){e.nextUntilChar();let n=L_(e);if(!n.ok||(t.push(n.body),e.skipWhitespaces(),e.char()!==","))break;e.next()}if(e.nextUntilChar(),e.char()!=="]")throw new SyntaxError("Array is not closed");return e.next(),tt(t)}function oY(e){if(e.nextUntilChar(),e.char(1)==="}")return e.next(2),tt({__proto__:null});let t=Xk("{",P7(N_,","),"}")(e);if(!t.ok)return It();let n={__proto__:null};for(let r of t.body)n=_b(n,r);return tt(n)}function Kk(e){e.nextUntilChar();let t=O7(M_(N_))(e);return t.ok?tt({type:"Block",value:t.body}):It()}function sY(e){e.nextUntilChar();let t=iY(e);if(!t.ok)return It();e.nextUntilChar();let n=Kk(e);return tt({type:"Table",keys:t.body,value:n.ok?n.body.value:{__proto__:null}})}function lY(e){e.nextUntilChar();let t=aY(e);if(!t.ok)return It();e.nextUntilChar();let n=Kk(e);return tt({type:"TableArray",keys:t.body,value:n.ok?n.body.value:{__proto__:null}})}function B_(e){let t=M_(Yk([Kk,lY,sY]))(e);if(!t.ok)return tt({__proto__:null});let n=t.body.reduce(Pg,{__proto__:null});return tt(n)}function Hk(e,t){let r=e.source.slice(0,e.position).split(`
128
- `),o=r.length,i=r.at(-1)?.length??0;return`Parse error on line ${o}, column ${i}: ${t}`}function U_(e){return t=>{let n=new Gk(t);try{let r=e(n);if(r.ok&&n.eof())return r.body;let o=`Unexpected character: "${n.char()}"`;throw new SyntaxError(Hk(n,o))}catch(r){if(r instanceof Error)throw new SyntaxError(Hk(n,r.message));let o="Invalid error type caught";throw new SyntaxError(Hk(n,o))}}}var Gk,M7,L7,B7,U7,W7,Jk,G7,Y7,J7,Z7,j7,$7,tY,L_,N_,iY,aY,z_=k(()=>{A_();Gk=class{#e=/[ \t]/;#t=0;#n;constructor(t){this.#n=t}get position(){return this.#t}get source(){return this.#n}char(t=0){return this.#n[this.#t+t]??""}slice(t,n){return this.#n.slice(this.#t+t,this.#t+n)}next(t=1){this.#t+=t}skipWhitespaces(){for(;this.#e.test(this.char())&&!this.eof();)this.next();if(!this.isCurrentCharEOL()&&/\s/.test(this.char())){let t="\\u"+this.char().charCodeAt(0).toString(16),n=this.#t;throw new SyntaxError(`Cannot parse the TOML: It contains invalid whitespace at position '${n}': \`${t}\``)}}nextUntilChar(t={skipComments:!0}){for(;!this.eof();){let n=this.char();if(this.#e.test(n)||this.isCurrentCharEOL())this.next();else if(t.skipComments&&this.char()==="#")for(;!this.isCurrentCharEOL()&&!this.eof();)this.next();else break}}eof(){return this.#t>=this.#n.length}isCurrentCharEOL(){return this.char()===`
129
- `||this.startsWith(`\r
130
- `)}startsWith(t){return this.#n.startsWith(t,this.#t)}match(t){if(!t.sticky)throw new Error(`RegExp ${t} does not have a sticky 'y' flag`);return t.lastIndex=this.#t,this.#n.match(t)}};M7=/[A-Za-z0-9_-]+/y;L7=/(?:true|false)\b/y;B7=new Map([["inf",1/0],["+inf",1/0],["-inf",-1/0]]),U7=/[+-]?inf\b/y;W7=/[+-]?nan\b/y;Jk=A7(Yk([I7,D_,__]),"."),G7=/0b[01]+(?:_[01]+)*\b/y;Y7=/0o[0-7]+(?:_[0-7]+)*\b/y;J7=/0x[0-9a-f]+(?:_[0-9a-f]+)*\b/yi;Z7=/[+-]?(?:0|[1-9][0-9]*(?:_[0-9]+)*)\b/y;j7=/[+-]?(?:0|[1-9][0-9]*(?:_[0-9]+)*)(?:\.[0-9]+(?:_[0-9]+)*)?(?:e[+-]?[0-9]+(?:_[0-9]+)*)?\b/yi;$7=/(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})(?:[ 0-9TZ.:+-]+)?\b/y;tY=/(\d{2}):(\d{2}):(\d{2})(?:\.[0-9]+)?\b/y;L_=Yk([D7,_7,D_,__,N7,z7,H7,eY,nY,V7,X7,K7,q7,Q7,rY,oY]),N_=F7(Jk,"=",L_);iY=Xk("[",Jk,"]");aY=Xk("[[",Jk,"]]")});function Lb(e){return U_(B_)(e)}var W_=k(()=>{z_()});var Zk=k(()=>{R_();W_()});var Mo,G_=k(()=>{"use strict";Mo={Unknown:0,EnvironmentFile:1,Json:2,JsonWithComments:3,Toml:4,Yaml:5}});var uY,Fg,V_,Qk,Y_=k(()=>{"use strict";Wk();Zk();Ff();ye();G_();uY={[Mo.Unknown]:"unknown",[Mo.EnvironmentFile]:"environment",[Mo.Json]:"JSON",[Mo.JsonWithComments]:"JSONC",[Mo.Toml]:"TOML",[Mo.Yaml]:"YAML"},Fg=class extends Error{filepath;format;constructor(t,n,r){super(`Failed to parse ${uY[n]??"unknown"} file "${t}": ${r.message}`,{cause:r}),this.name="ConfigParseError",this.filepath=t,this.format=n}},V_=e=>{let t=C.path.extname(e);return t===".json"?Mo.Json:t===".jsonc"?Mo.JsonWithComments:t===".yaml"||t===".yml"?Mo.Yaml:t===".toml"?Mo.Toml:t===".env"?Mo.EnvironmentFile:Mo.Unknown},Qk=async(e,t)=>{let n=t??V_(e),r=await C.fs.readTextFile(e);try{return n===Mo.Json?{content:JSON.parse(r),filepath:e,format:n}:n===Mo.JsonWithComments?{content:Db(r),filepath:e,format:n}:n===Mo.Yaml?{content:Dc(r),filepath:e,format:n}:n===Mo.Toml?{content:Lb(r),filepath:e,format:n}:{content:void 0,filepath:e,format:Mo.Unknown}}catch(o){throw o instanceof Error?new Fg(e,n,o):new Fg(e,n,new Error(String(o)))}}});var X_=k(()=>{"use strict"});var J_=k(()=>{Y_();X_()});var jk,qk=k(()=>{jk=(e,t,n)=>{if(e==null)return n;let r=t.length;if(r===0)return e;let o=e;for(let i=0;i<r;i++){if(o==null)return n;let s=t[i];o=o[s]}return o===void 0?n:o}});var Df,Og,Nb=k(()=>{Df=class extends Error{constructor(t){super(t),this.name="DeepMergeError"}},Og=(e,t,n)=>{if(t==null){let p=e.constructor,f=new p;for(let g of Object.keys(e))f[g]=e[g];return f}let r=n?.maxDepth??100,o=n?.noSkipUndefined??!1,i=new WeakSet,s=new WeakSet,u=(p,f,g)=>{if(!(p instanceof Object))return p;if(i.has(p))throw new Df("Circular reference detected in first argument: cannot deep merge objects with circular references");if(f instanceof Object&&s.has(f))throw new Df("Circular reference detected in second argument: cannot deep merge objects with circular references");if(g>r)throw new Df(`Maximum recursion depth exceeded (${r}). Objects are too deeply nested or contain circular references.`);i.add(p),f instanceof Object&&s.add(f);try{let y=p.constructor,x=new y,w=Object.keys(p),A=new Set;for(let D=0,L=w.length;D<L;D++){let U=w[D],Y=p[U],G=f!==void 0&&U in f,W=f?.[U];A.add(U);let M=G&&W===void 0&&!o;if(Y instanceof Object&&Y.constructor!==Array){let ne;M?ne=u(Y,{},g+1):G&&W instanceof Object&&W.constructor!==Array?ne=u(Y,W,g+1):G?ne=W:ne=u(Y,{},g+1),x[U]=ne}else M?x[U]=Y:x[U]=G?W:Y}if(f===void 0)return x;let F=Object.keys(f);for(let D=0,L=F.length;D<L;D++){let U=F[D];if(A.has(U))continue;let Y=f[U];Y===void 0&&!o||(Y instanceof Object&&Y.constructor!==Array?x[U]=u({},Y,g+1):x[U]=Y)}return x}finally{i.delete(p),f instanceof Object&&s.delete(f)}};return u(e,t,0)}});var Kd,pY,fY,mY,rc,hY,gY,_f,Zd,$k,Lf,Bb=k(()=>{"use strict";J_();qk();Nb();ye();Sg();Kd=class extends Error{filepath;constructor(t,n,r){super(t,{cause:r}),this.name="PackageLoadError",this.filepath=n}},pY=async(e,t)=>{if(await C.fs.exists(e)===!1||(await C.fs.stat(e)).isFile===!1)return;let o=await C.fs.readTextFile(e),s=(await Qk(e)).content;if(s!==void 0)return{filepath:e,fileType:t,content:s,rawText:o}},fY=async(e,t)=>{let n=[];for(let r of t){let o=C.path.join(e,r),i=await pY(o,r);i&&n.push(i)}return n},mY=(e,t)=>jk(e,t.split(".")),rc=(e,t,n)=>{let r,o,i=[];for(let s of t){let u=n[e]?.[s.fileType];if(u===void 0)continue;let p=mY(s.content,u);if(p===void 0)continue;let f={filepath:s.filepath,fileType:s.fileType,propertyPath:u};r===void 0?(r=p,o=f):i.push(f)}if(!(r===void 0||o===void 0))return{value:r,origin:o,alternateOrigins:i}},hY=e=>e===void 0?Jd:Og(Jd,e),gY=e=>[...e].sort((t,n)=>Eg.indexOf(t)-Eg.indexOf(n)),_f=async(e={})=>{let{baseDir:t=".",includeFiles:n=Eg,fieldMappings:r,searchParents:o=!1}=e,i=hY(r),s=gY(n),u=C.path.resolve(t),p=[];for(;p=await fY(u,s),!(p.length>0||!o);){let g=C.path.dirname(u);if(g===u)break;u=g}if(p.length===0)throw new Kd(`No config files found in ${t}. Looked for: ${s.join(", ")}`);return{name:rc("name",p,i),version:rc("version",p,i),description:rc("description",p,i),license:rc("license",p,i),private:rc("private",p,i),exports:rc("exports",p,i),workspaces:rc("workspaces",p,i),imports:rc("imports",p,i),dependencies:rc("dependencies",p,i),devDependencies:rc("devDependencies",p,i),[Ib]:u,_loadedFiles:p}},Zd=async(e={})=>{try{return await _f(e)}catch(t){if(t instanceof Kd)return;throw t}},$k=(e,t)=>{let n=e[t];if(!n)return[];let r=new Set([n.origin.filepath,...n.alternateOrigins.map(o=>o.filepath)]);return e._loadedFiles.filter(o=>r.has(o.filepath))},Lf=e=>e[Ib]});var yY,K_,xY,vY,bY,wY,Z_,Ub,Q_=k(()=>{"use strict";ye();Sg();Bb();yY=(e,t)=>{let n=t.split("."),r=e;for(let o of n){if(r==null||typeof r!="object")return;r=r[o]}return r},K_=e=>e!=="__proto__"&&e!=="constructor"&&e!=="prototype",xY=(e,t,n)=>{let r=t.split("."),o=e;for(let s=0;s<r.length-1;s++){let u=r[s];u===void 0||!K_(u)||((!(u in o)||typeof o[u]!="object"||o[u]===null)&&(o[u]={}),o=o[u])}let i=r[r.length-1];i!==void 0&&K_(i)&&(o[i]=n)},vY=e=>`${JSON.stringify(e,null,2)}
131
- `,bY=async(e,t)=>{let n=JSON.parse(JSON.stringify(e.content));for(let[o,i]of Object.entries(t))xY(n,o,i);let r=vY(n);await C.fs.writeTextFile(e.filepath,r),e.content=n,e.rawText=r},wY=(e,t,n)=>{let{targetFiles:r="all",createIfMissing:o=!1}=n,i=e[t];if(r==="origin"){if(i===void 0){let p=e._loadedFiles[0];return o&&p!==void 0?[p]:[]}let u=e._loadedFiles.find(p=>p.filepath===i.origin.filepath);return u?[u]:[]}if(r==="all")return!i&&!o?[]:!i&&o?[...e._loadedFiles]:$k(e,t);let s=new Set(r);return e._loadedFiles.filter(u=>s.has(u.fileType))},Z_=async(e,t,n,r={})=>{let o=[],i=[],s=[],u=wY(e,t,r);if(u.length===0)return{updated:o,failed:i,skipped:s};for(let p of u){let f=Jd[t]?.[p.fileType];if(!f){s.push(p.filepath);continue}if(yY(p.content,f)===n){s.push(p.filepath);continue}try{await bY(p,{[f]:n}),o.push(p.filepath)}catch(y){i.push({filepath:p.filepath,reason:y instanceof Error?y.message:String(y)})}}if(o.length>0){let p=e[t];if(p)p.value=n;else{let f=e._loadedFiles.find(g=>o.includes(g.filepath));if(f){let g=Jd[t]?.[f.fileType];g&&(e[t]={value:n,origin:{filepath:f.filepath,fileType:f.fileType,propertyPath:g},alternateOrigins:[]})}}}return{updated:o,failed:i,skipped:s}},Ub=async(e,t,n)=>await Z_(e,"version",t,{...n,targetFiles:"all"})});var Mg,j_,CY,Su,q_=k(()=>{"use strict";ye();Bb();Mg=class extends Error{constructor(t){super(t),this.name="WorkspaceError"}},j_=async e=>{try{return await _f({baseDir:e})}catch(t){throw t instanceof Kd?new Mg(`No package config file found in ${C.path.resolve(e)}`):t}},CY=async(e,t)=>{let n=[];for(let r of t)if(r.endsWith("/*")){let o=C.path.join(e,r.slice(0,-2));try{for await(let i of C.fs.readDir(o))i.isDirectory&&n.push(C.path.join(o,i.name))}catch{}}else if(r.includes("*")||r.includes("?")){let o=r.split("/"),i=[],s=0;for(let y=0;y<o.length;y++){if(o[y].includes("*")||o[y].includes("?")){s=y;break}i.push(o[y])}let u=C.path.join(e,...i),f=o.slice(s).join("/").replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*\*/g,".*").replace(/\*/g,"[^/]*").replace(/\?/g,"[^/]"),g=new RegExp(`^${f}$`);try{for await(let y of C.fs.walk(u,{includeDirs:!0,includeFiles:!1})){let x=C.path.relative(u,y.path);x!==""&&g.test(x)&&n.push(y.path)}}catch{}}else n.push(C.path.join(e,r));return n},Su=async e=>{let t=await j_(e),n=t.workspaces?.value;if(!Array.isArray(n))throw new Mg("Package config doesn't have workspace field.");for(let i of n)if(typeof i!="string")throw new Mg("Package config workspace field should be an array of strings.");let r=await CY(e,n),o=[];for(let i of r){let s=await Zd({baseDir:i});if(s===void 0)continue;let u=s.name?.value,p=s.version?.value,f=s.private?.value;u!==void 0&&f!==!0&&o.push({name:u,version:p??"0.0.0",config:s})}return[t,o]}});var Nf=k(()=>{Sg();Bb();Q_();q_()});var Pu,RY,$_,Wb,Ig=k(()=>{"use strict";Gs();ye();Nf();Pu=async(e=".")=>{let[t,n]=await Su(e);return n.map(r=>({name:r.name,version:r.version,path:Lf(r.config),config:r.config,entrypoints:RY(r.config)}))},RY=e=>{let t=e.exports?.value;if(t==null)return[];if(typeof t=="string")return[t];if(t!==null&&typeof t=="object"){let n=[];for(let r of Object.values(t))typeof r=="string"&&n.push(r);return n}return[]},$_=(e,t)=>C.path.isAbsolute(e)?e:C.path.resolve(t,e),Wb=async e=>{let t=[];for await(let n of C.fs.walk(e,{exts:ki,includeDirs:!1,skip:[/node_modules/,/\.git/]})){let r=C.path.relative(e,n.path),o=C.path.basename(r);o.endsWith("_test.ts")||o.endsWith("_bench.ts")||o.startsWith("_")||r.includes("testdata/")||t.push(`./${r}`)}return t.sort()}});var Ei,ls=k(()=>{"use strict";vn();ye();Ei=(e,t)=>({command:e,args:t._??[],flags:Object.fromEntries(Object.entries(t).filter(([n])=>n!=="_"))})});var n2={};xe(n2,{checkCircularDeps:()=>Gb,checkCircularDepsHandler:()=>e2,handleCli:()=>t2,main:()=>PY});var Dg,TY,kY,Gb,e2,EY,SY,t2,PY,eE=k(async()=>{Ti();Wa();as();Ig();ls();Dg=Xt.createOutput(),TY=e=>{let t=new Map,n=new Set(e.map(r=>r.name));for(let r of e){let o=[];for(let i of r.config._loadedFiles){let s=i.content,u=s.dependencies;if(u!==void 0)for(let f of Object.keys(u))n.has(f)&&o.push(f);let p=s.imports;if(p!==void 0)for(let f of Object.values(p))n.has(f)&&o.push(f)}t.set(r.name,[...new Set(o)])}return t},kY=e=>{let t=[],n=new Set,r=new Set,o=[],i=s=>{n.add(s),r.add(s),o.push(s);let u=e.get(s)??[];for(let p of u)if(!n.has(p))i(p);else if(r.has(p)){let f=o.indexOf(p),g=o.slice(f);g.push(p),t.push(g)}o.pop(),r.delete(s)};for(let s of e.keys())n.has(s)||i(s);return t},Gb=async(e={})=>{let{root:t="."}=e,n=await Pu(t),r=TY(n),o=kY(r);return{hasCycles:o.length>0,cycles:o,packagesChecked:n.length}},e2=e=>Cn.fromPromise(()=>Gb(e)),EY=e=>K.ok({root:"."}),SY=e=>{if(K.isFail(e))return Dg.printError(e.error instanceof Error?e.error.message:String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Dg.printInfo(`Checked ${t.packagesChecked} packages.`),t.hasCycles){Dg.printError(`Found ${t.cycles.length} circular dependencies:`);for(let n of t.cycles)Dg.printWarning(`${n.join(" \u2192 ")}`);return K.fail({exitCode:1})}return Dg.printSuccess("No circular dependencies found."),K.ok(void 0)},t2=mn.createTrigger({handler:e2,adaptInput:EY,adaptOutput:SY}),PY=async e=>await t2({command:"validate-circular-deps",args:[],flags:{}})});var tE,r2=k(async()=>{"use strict";await eE();tE={name:"validate-circular-deps",description:"Detect circular package dependencies",requiredStacks:[],async validate(e){let t=await Gb({root:e.root});return{name:"validate-circular-deps",passed:!t.hasCycles,issues:t.cycles.map(n=>({severity:"error",message:`Circular dependency: ${n.join(" \u2192 ")}`})),stats:{packagesChecked:t.packagesChecked}}}}});var o2=k(()=>{"use strict"});var i2=k(()=>{"use strict";o2()});var s2=k(()=>{"use strict"});var a2=k(()=>{"use strict"});var l2=k(()=>{"use strict"});var c2=k(()=>{"use strict"});var u2=k(()=>{"use strict";s2();a2();l2();c2()});var MY,nE,Lc,Mpe,Ipe,Dpe,_pe,Lpe,Npe,Bpe,Upe,zpe,d2=k(()=>{"use strict";MY={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",408:"Request Timeout",409:"Conflict",410:"Gone",413:"Payload Too Large",415:"Unsupported Media Type",422:"Unprocessable Entity",429:"Too Many Requests",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout"},nE=class extends Error{status;constructor(t,n){super(n??MY[t]??"Unknown Error"),this.name="HttpError",this.status=t}},Lc=e=>t=>new nE(e,t),Mpe=Lc(400),Ipe=Lc(401),Dpe=Lc(403),_pe=Lc(404),Lpe=Lc(409),Npe=Lc(422),Bpe=Lc(429),Upe=Lc(500),zpe=Lc(503)});var p2=k(()=>{"use strict"});var f2=k(()=>{"use strict";p2()});var Le,Vb,Bf=k(()=>{Le={Trace:1,Debug:5,Info:9,Notice:10,Warning:13,Error:17,Critical:21,Alert:22,Emergency:23},Vb={[Le.Trace]:"Trace",[Le.Debug]:"Debug",[Le.Info]:"Info",[Le.Notice]:"Notice",[Le.Warning]:"Warning",[Le.Error]:"Error",[Le.Critical]:"Critical",[Le.Alert]:"Alert",[Le.Emergency]:"Emergency"}});var _g,m2,h2,_Y,g2=k(()=>{"use strict";_g=()=>{let e=new Map,t=!1,n=()=>{if(t)throw new Error("ImmutableMapBuilder has been sealed. Use map.toBuilder() to create a new builder.")},r={set:(o,i)=>(n(),e.set(o,i),r),delete:o=>(n(),e.delete(o),r),has:o=>e.has(o),get size(){return e.size},build:()=>(n(),t=!0,h2(e))};return r},m2=e=>{let t=new Map;if(e)for(let[n,r]of e)t.set(n,r);return h2(t)},h2=e=>{let t={get:n=>e.get(n),has:n=>e.has(n),get size(){return e.size},get isEmpty(){return e.size===0},keys:function*(){yield*e.keys()},values:function*(){yield*e.values()},entries:function*(){for(let n of e.entries())yield n},forEach:n=>{for(let[r,o]of e)n(o,r,t)},[Symbol.iterator]:function*(){for(let n of e.entries())yield n},map:n=>{let r=_g();for(let[o,i]of e)r.set(o,n(i,o));return r.build()},filter:n=>{let r=_g();for(let[o,i]of e)n(i,o)&&r.set(o,i);return r.build()},reduce:(n,r)=>{let o=r;for(let[i,s]of e)o=n(o,s,i);return o},toBuilder:()=>{let n=_g();for(let[r,o]of e)n.set(r,o);return n},merge:(...n)=>{let r=_g();for(let[o,i]of e)r.set(o,i);for(let o of n)for(let[i,s]of o)r.set(i,s);return r.build()}};return Object.freeze(t)},_Y=m2()});var LY,Xb,NY,rE=k(()=>{"use strict";LY=e=>{let t=new Map(e),n=!1,r=()=>{if(n)throw new Error("RegistryBuilder has been sealed. Use registry.toBuilder() to create a new builder.")},o={set:(i,s)=>(r(),t.set(i,["value",s]),o),setLazy:(i,s)=>(r(),t.set(i,["lazy",s]),o),remove:i=>(r(),t.delete(i),o),has:i=>t.has(i),get size(){return t.size},build:()=>(r(),n=!0,Xb(t))};return o},Xb=e=>{let t={entries:e,keysCache:null,valuesCache:null,entriesCache:null,lazyCache:new Map},n=(i,s)=>{let[u,p]=s;if(u==="value")return p;if(t.lazyCache.has(i))return t.lazyCache.get(i);let g=p();if(!(g instanceof Promise))return t.lazyCache.set(i,g),g},r=async(i,s)=>{let[u,p]=s;if(u==="value")return p;if(t.lazyCache.has(i))return t.lazyCache.get(i);let g=await p();return t.lazyCache.set(i,g),g};return Object.freeze({get:i=>{let s=t.entries.get(i);if(s!==void 0)return n(i,s)},getAsync:async i=>{let s=t.entries.get(i);if(s!==void 0)return await r(i,s)},has:i=>t.entries.has(i),isLazy:i=>{let s=t.entries.get(i);return s===void 0?!1:s[0]==="lazy"},keys:()=>(t.keysCache===null&&(t.keysCache=Object.freeze([...t.entries.keys()])),t.keysCache),values:()=>{if(t.valuesCache===null){let i=[];for(let[s,u]of t.entries){let[p]=u;p==="value"?i.push(u[1]):p==="lazy"&&t.lazyCache.has(s)&&i.push(t.lazyCache.get(s))}t.valuesCache=Object.freeze(i)}return t.valuesCache},entries:()=>{if(t.entriesCache===null){let i=[];for(let[s,u]of t.entries){let[p]=u;p==="value"?i.push([s,u[1]]):p==="lazy"&&t.lazyCache.has(s)&&i.push([s,t.lazyCache.get(s)])}t.entriesCache=Object.freeze(i)}return t.entriesCache},get size(){return t.entries.size},toBuilder:()=>LY(t.entries)})},NY=Xb(new Map)});var y2=k(()=>{"use strict";rE()});var x2=k(()=>{"use strict"});var v2=k(()=>{"use strict"});var b2=k(()=>{"use strict";g2();y2();rE();x2();v2()});var w2,C2,R2,oE,T2=k(()=>{"use strict";w2=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),C2=e=>{let t=[],n=new Set,r="",o=e,i=/\[(\.\.\.)?(\w+)\]/;for(;o.length>0;){let s=i.exec(o);if(s===null){r+=w2(o);break}s.index>0&&(r+=w2(o.slice(0,s.index)));let u=s[1]==="...",p=s[2];p!==void 0&&(t.push(p),u?(n.add(p),r+="(.*)"):r+="([^/]+)"),o=o.slice(s.index+s[0].length)}return{regex:new RegExp(`^${r}$`),paramNames:t,catchAllParams:n}},R2=(e,t)=>{let n=e.match(t.regex);if(n===null)return null;let r={};for(let o=0;o<t.paramNames.length;o++){let i=t.paramNames[o],s=n[o+1];i!==void 0&&(t.catchAllParams.has(i)?r[i]=s!==void 0&&s!==""?s.split("/").filter(Boolean):[]:r[i]=s??"")}return r},oE=(e,t)=>{let n=C2(t);return R2(e,n)}});var iE=k(()=>{T2()});var E2=k(()=>{"use strict"});var S2=k(()=>{"use strict"});var P2=k(()=>{"use strict";S2()});function Jb(e,t){if(isNaN(e)||isNaN(t))throw new Error("Cannot compare against non-numbers");return e===t?0:e<t?-1:1}function O2(e=[],t=[]){return e.length&&!t.length?-1:!e.length&&t.length?1:0}function aE(e=[],t=[]){let n=Math.max(e.length,t.length);for(let r=0;r<n;r++){let o=e[r],i=t[r];if(o===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(o===void 0)return-1;if(typeof o=="string"&&typeof i=="number")return 1;if(typeof o=="number"&&typeof i=="string"||o<i)return-1;if(o>i)return 1}return 0}function lE(e){return typeof e=="number"&&!Number.isNaN(e)&&(!Number.isFinite(e)||0<=e&&e<=Number.MAX_SAFE_INTEGER)}function Lg(e){return e.split(".").filter(Boolean).map(t=>{if(JY.test(t)){let n=Number(t);if(lE(n))return n}return t})}function Ng(e){return e.split(".").filter(Boolean)}function Kb(e,t){let n=Number(e);if(!lE(n))throw new TypeError(t);return n}var Uf,HY,GY,A2,M2,F2,I2,D2,_2,L2,VY,sE,N2,YY,XY,cE,JY,ha=k(()=>{Uf="0|[1-9]\\d*",HY="\\d*[a-zA-Z-][a-zA-Z0-9-]*",GY=`(?<major>${Uf})\\.(?<minor>${Uf})\\.(?<patch>${Uf})`,A2=`(?:${Uf}|${HY})`,M2=`(?:-(?<prerelease>${A2}(?:\\.${A2})*))`,F2="[0-9A-Za-z-]+",I2=`(?:\\+(?<buildmetadata>${F2}(?:\\.${F2})*))`,D2=`v?${GY}${M2}?${I2}?`,_2=new RegExp(`^${D2}$`),L2="(?:<|>)?=?",VY="x|X|\\*",sE=`${Uf}|${VY}`,N2=`[v=\\s]*(?<major>${sE})(?:\\.(?<minor>${sE})(?:\\.(?<patch>${sE})${M2}?${I2}?)?)?`,YY=new RegExp(`^(?<operator>~>?|\\^|${L2})\\s*${N2}$`),XY=new RegExp(`^(?<operator>${L2})\\s*(${D2})$|^$`);cE=256,JY=new RegExp(`^${Uf}$`)});function Ga(e,t){return e===t?0:Jb(e.major,t.major)||Jb(e.minor,t.minor)||Jb(e.patch,t.patch)||O2(e.prerelease,t.prerelease)||aE(e.prerelease,t.prerelease)}var Va=k(()=>{ha()});var B2=k(()=>{ha()});function uE(e){return e.toFixed(0)}function Zb(e){let t=uE(e.major),n=uE(e.minor),r=uE(e.patch),o=e.prerelease?.join(".")??"",i=e.build?.join(".")??"";return[[`${t}.${n}.${r}`,o].filter(p=>p).join("-"),i].filter(p=>p).join("+")}var dE=k(()=>{});var jb=k(()=>{ha();Va()});var Bg=k(()=>{jb()});function KY(e=[]){let t=[...e],n=t.length;for(;n>=0;){let r=t[n];if(typeof r=="number"){t[n]=r+1;break}n-=1}return n===-1&&t.push(0),t}function Ug(e=[],t){let n=KY(e);if(!t)return n;let r=Lg(t);if(r.every(o=>typeof o=="string")){if(r.every((o,i)=>o===n[i])&&typeof n[r.length]=="number")return n;r=[...r,0]}return r}function z2(e,t,n={}){let r=n.build!==void 0?Ng(n.build):e.build??[];switch(t){case"premajor":return{major:e.major+1,minor:0,patch:0,prerelease:Ug(e.prerelease,n.prerelease),build:r};case"preminor":return{major:e.major,minor:e.minor+1,patch:0,prerelease:Ug(e.prerelease,n.prerelease),build:r};case"prepatch":return{major:e.major,minor:e.minor,patch:e.patch+1,prerelease:Ug(e.prerelease,n.prerelease),build:r};case"prerelease":{let i=(e.prerelease??[]).length===0?e.patch+1:e.patch;return{major:e.major,minor:e.minor,patch:i,prerelease:Ug(e.prerelease,n.prerelease),build:r}}case"major":return{major:(e.prerelease??[]).length===0||e.minor!==0||e.patch!==0?e.major+1:e.major,minor:0,patch:0,prerelease:[],build:r};case"minor":{let i=(e.prerelease??[]).length===0||e.patch!==0?e.minor+1:e.minor;return{major:e.major,minor:i,patch:0,prerelease:[],build:r}}case"patch":{let i=(e.prerelease??[]).length===0?e.patch+1:e.patch;return{major:e.major,minor:e.minor,patch:i,prerelease:[],build:r}}case"pre":return{major:e.major,minor:e.minor,patch:e.patch,prerelease:Ug(e.prerelease,n.prerelease),build:r};default:throw new TypeError(`Cannot increment version: invalid argument ${t}`)}}var W2=k(()=>{ha()});var pE,H2,zg=k(()=>{pE={major:Number.NaN,minor:Number.NaN,patch:Number.NaN,prerelease:[],build:[]},H2={operator:void 0,...pE}});var fE=k(()=>{zg();ha()});var mE=k(()=>{Va()});var G2=k(()=>{Bg();mE()});var gE=k(()=>{Va()});var V2=k(()=>{Bg();gE()});var yE=k(()=>{ha();zg()});function Au(e){if(typeof e!="string")throw new TypeError(`Cannot parse version as version must be a string: received ${typeof e}`);if(e.length>cE)throw new TypeError(`Cannot parse version as version length is too long: length is ${e.length}, max length is ${cE}`);e=e.trim();let t=e.match(_2)?.groups;if(!t)throw new TypeError(`Cannot parse version: ${e}`);let n=Kb(t.major,`Cannot parse version ${e}: invalid major version`),r=Kb(t.minor,`Cannot parse version ${e}: invalid minor version`),o=Kb(t.patch,`Cannot parse version ${e}: invalid patch version`),i=t.prerelease?Lg(t.prerelease):[],s=t.buildmetadata?Ng(t.buildmetadata):[];return{major:n,minor:r,patch:o,prerelease:i,build:s}}var qb=k(()=>{ha();ha()});var Y2=k(()=>{ha();Va();Bg()});var X2=k(()=>{});var J2=k(()=>{yE()});var K2=k(()=>{zg();zg();fE()});var Z2=k(()=>{qb()});var Q2=k(()=>{qb()});var j2=k(()=>{dE();ha()});var q2=k(()=>{Va()});var $2=k(()=>{Va()});var eL=k(()=>{jb();ha();Va()});var tL=k(()=>{Va()});var nL=k(()=>{jb();ha();Va()});var rL=k(()=>{Va()});var xE=k(()=>{Va();B2();dE();Bg();W2();fE();G2();V2();yE();qb();Y2();X2();J2();K2();Z2();Q2();j2();q2();$2();mE();eL();tL();gE();nL();rL()});var iL=k(()=>{"use strict";xE()});var jt=k(()=>{i2();u2();d2();f2();Bf();Gs();b2();iE();E2();ye();P2();iL()});var cL={};xe(cL,{checkModExports:()=>$b,checkModExportsHandler:()=>aL,handleCli:()=>lL,main:()=>tX});var Wg,jY,sL,qY,$b,aL,$Y,eX,lL,tX,vE=k(async()=>{Ti();Wa();jt();as();Ig();ls();Wg=Xt.createOutput(),jY=e=>{let t=new Set,n=/export\s+\*\s+from\s+["']([^"']+)["']/g,r=/export\s+\{[^}]*\}\s+from\s+["']([^"']+)["']/g,o=/export\s+type\s+\{[^}]*\}\s+from\s+["']([^"']+)["']/g;for(let i of e.matchAll(n))i[1]!==void 0&&t.add(i[1]);for(let i of e.matchAll(r))i[1]!==void 0&&t.add(i[1]);for(let i of e.matchAll(o))i[1]!==void 0&&t.add(i[1]);return t},sL=e=>{let t=e.startsWith("./")?e.slice(2):e;return t.endsWith(".ts")&&(t=t.slice(0,-3)),t},qY=e=>!(e==="mod.ts"||e.endsWith("_test.ts")||e.endsWith("_bench.ts")||e.startsWith("_")||e.includes("/")),$b=async(e={})=>{let{root:t=".",failFast:n=!1}=e,r=await Pu(t),o=[];for(let i of r){let s=ue.current.path.join(i.path,"mod.ts"),u;try{u=await ue.current.fs.readTextFile(s)}catch{continue}let p=jY(u),f=new Set([...p].map(y=>sL(y))),g=await Wb(i.path);for(let y of g){let x=ue.current.path.basename(y);if(!qY(x))continue;let w=sL(y);if(!f.has(w)&&(o.push({packageName:i.name,file:y}),n))return{isComplete:!1,missingExports:o,packagesChecked:r.length}}}return{isComplete:o.length===0,missingExports:o,packagesChecked:r.length}},aL=e=>Cn.fromPromise(()=>$b(e)),$Y=e=>K.ok({root:"."}),eX=e=>{if(K.isFail(e))return Wg.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Wg.printInfo(`Checked ${t.packagesChecked} packages.`),!t.isComplete){Wg.printError(`Found ${t.missingExports.length} missing exports:`);for(let n of t.missingExports)Wg.printWarning(`${n.packageName}: ${n.file}`);return K.fail({exitCode:1})}return Wg.printSuccess("All mod.ts exports are complete."),K.ok(void 0)},lL=mn.createTrigger({handler:aL,adaptInput:$Y,adaptOutput:eX}),tX=async e=>await lL({command:"validate-mod-exports",args:[],flags:{}})});var bE,uL=k(async()=>{"use strict";await vE();bE={name:"validate-mod-exports",description:"Validate mod.ts exports all files",requiredStacks:["javascript"],async validate(e){let t=await $b({root:e.root});return{name:"validate-mod-exports",passed:t.isComplete,issues:t.missingExports.map(n=>({severity:"error",message:`Missing export in ${n.packageName}: ${n.file}`,file:n.file})),stats:{packagesChecked:t.packagesChecked}}}}});var fL={};xe(fL,{checkExportNames:()=>ew,checkExportNamesHandler:()=>dL,handleCli:()=>pL,main:()=>iX});var Qd,wE,CE,ew,dL,rX,oX,pL,iX,RE=k(async()=>{Ti();Wa();jt();as();Ig();ls();Qd=Xt.createOutput(),wE=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]+/g,"-").toLowerCase(),CE=(e,t=[])=>{let n=e.split("/").filter(r=>r.length>0);for(let r of n){let o=r.startsWith(".")?r.slice(1):r;if(o.length===0)continue;let i=ue.current.path.extname(o);if(i.length>0&&(o=o.slice(0,-i.length)),o.length!==0&&!t.includes(o)&&!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(o))return!1}return!0},ew=async(e={})=>{let{root:t=".",ignoreWords:n=[]}=e,r=await Pu(t),o=[];for(let i of r){let s=i.config.exports?.value;if(s!=null){if(typeof s=="string"){CE(s,n)||o.push({packageName:i.name,exportPath:s,suggestion:wE(s)});continue}if(s!==null&&typeof s=="object")for(let[u,p]of Object.entries(s))CE(u,n)||o.push({packageName:i.name,exportPath:u,suggestion:wE(u)}),typeof p=="string"&&!CE(p,n)&&o.push({packageName:i.name,exportPath:p,suggestion:wE(p)})}}return{isValid:o.length===0,violations:o,packagesChecked:r.length}},dL=e=>Cn.fromPromise(()=>ew(e)),rX=e=>K.ok({root:"."}),oX=e=>{if(K.isFail(e))return Qd.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Qd.printInfo(`Checked ${t.packagesChecked} packages.`),!t.isValid){Qd.printError(`Found ${t.violations.length} naming violations:`);for(let n of t.violations)Qd.printWarning(n.packageName),Qd.printInfo(` Export: ${n.exportPath}`),Qd.printInfo(` Suggestion: ${n.suggestion}`);return K.fail({exitCode:1})}return Qd.printSuccess("All export names follow conventions."),K.ok(void 0)},pL=mn.createTrigger({handler:dL,adaptInput:rX,adaptOutput:oX}),iX=async e=>await pL({command:"validate-export-names",args:[],flags:{}})});var TE,mL=k(async()=>{"use strict";await RE();TE={name:"validate-export-names",description:"Validate export naming conventions",requiredStacks:["javascript"],async validate(e){let t=await ew({root:e.root});return{name:"validate-export-names",passed:t.isValid,issues:t.violations.map(n=>({severity:"error",message:`${n.packageName}: "${n.exportPath}" should be "${n.suggestion}"`})),stats:{packagesChecked:t.packagesChecked}}}}});var xL={};xe(xL,{checkDocs:()=>tw,checkDocsHandler:()=>gL,handleCli:()=>yL,main:()=>mX});var zf,aX,hL,lX,cX,uX,tw,dX,gL,pX,fX,yL,mX,kE=k(async()=>{Ti();Wa();jt();as();Ig();ls();zf=Xt.createOutput(),aX=/\/\*\*\s*([\s\S]*?)\s*\*\//g,hL=/export\s+(const|function|class|type|interface)\s+(\w+)/g,lX=/@example/,cX=e=>{let t=[],n;for(hL.lastIndex=0;(n=hL.exec(e))!==null;){let r=n.index,o=n[2];if(o===void 0)continue;let s=e.substring(0,r).split(`
132
- `).length,u=null,f=[...e.substring(0,r).matchAll(aX)];if(f.length>0){let g=f[f.length-1];if(g!==void 0){let y=(g.index??0)+g[0].length,x=e.substring(y,r);/^\s*$/.test(x)&&(u=g[1]??null)}}t.push({jsdoc:u,symbolName:o,line:s})}return t},uX=(e,t,n)=>{let r=[];if(e===null)return r.push("missing-description"),r;let o=e.split(`
133
- `)[0]?.trim();return(!o||o.startsWith("@"))&&r.push("empty-description"),n&&!lX.test(e)&&r.push("missing-example"),r},tw=async(e={})=>{let{root:t=".",requireExamples:n=!1}=e,r=await Pu(t),o=[],i=0,s=0;for(let u of r){let p=await Wb(u.path);for(let f of p){let g=$_(f,u.path),y;try{y=await ue.current.fs.readTextFile(g)}catch{continue}i++;let x=cX(y);for(let{jsdoc:w,symbolName:A,line:F}of x){s++;let D=uX(w,A,n);for(let L of D)o.push({file:g,symbol:A,issue:L,line:F})}}}return{isValid:o.length===0,issues:o,filesChecked:i,symbolsChecked:s}},dX=e=>{switch(e){case"missing-description":return"Missing JSDoc documentation";case"missing-param":return"Missing @param documentation";case"missing-returns":return"Missing @returns documentation";case"missing-example":return"Missing @example";case"empty-description":return"Empty description"}},gL=e=>Cn.fromPromise(()=>tw(e)),pX=e=>K.ok({root:"."}),fX=e=>{if(K.isFail(e))return zf.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(zf.printInfo(`Checked ${t.filesChecked} files, ${t.symbolsChecked} symbols.`),!t.isValid){zf.printError(`Found ${t.issues.length} documentation issues:`);let n=new Map;for(let r of t.issues){let o=n.get(r.file)??[];o.push(r),n.set(r.file,o)}for(let[r,o]of n){zf.printWarning(r);for(let i of o){let s=i.line!==void 0?`:${i.line}`:"";zf.printInfo(` ${i.symbol}${s}: ${dX(i.issue)}`)}}return K.fail({exitCode:1})}return zf.printSuccess("All documentation is valid."),K.ok(void 0)},yL=mn.createTrigger({handler:gL,adaptInput:pX,adaptOutput:fX}),mX=async e=>await yL({command:"validate-docs",args:[],flags:{}})});var EE,vL=k(async()=>{"use strict";await kE();EE={name:"validate-docs",description:"Validate JSDoc documentation",requiredStacks:["javascript"],async validate(e){let t=e.options?.requireExamples,n=await tw({root:e.root,requireExamples:t});return{name:"validate-docs",passed:n.isValid,issues:n.issues.map(r=>({severity:"error",message:`${r.symbol}: ${r.issue}`,file:r.file,line:r.line})),stats:{filesChecked:n.filesChecked,symbolsChecked:n.symbolsChecked}}}}});var bL=k(()=>{"use strict"});var wL=k(()=>{"use strict"});var CL=k(()=>{"use strict"});var RL=k(()=>{"use strict"});var TL=k(()=>{"use strict"});var kL=k(()=>{"use strict"});var EL=k(()=>{"use strict"});var SL=k(()=>{"use strict"});var PL=k(()=>{"use strict"});var SE=k(()=>{"use strict"});var AL=k(()=>{"use strict"});var FL=k(()=>{"use strict"});var Fu=k(()=>{"use strict"});var OL=k(()=>{"use strict"});var ML=k(()=>{"use strict";Fu()});var IL=k(()=>{"use strict"});var DL=k(()=>{"use strict"});var _L=k(()=>{"use strict";Fu()});var LL=k(()=>{"use strict"});var nw,NL=k(()=>{"use strict";nw=(e,t)=>{let n={},r=e.length;for(let o=0;o<r;o++){let i=e[o],s=t(i);n[s]===void 0?n[s]=[i]:n[s].push(i)}return n}});var BL=k(()=>{"use strict"});var UL=k(()=>{"use strict"});var zL=k(()=>{"use strict"});var WL=k(()=>{"use strict"});var HL=k(()=>{"use strict"});var GL=k(()=>{"use strict"});var VL=k(()=>{"use strict"});var YL=k(()=>{"use strict"});var XL=k(()=>{"use strict";SE()});var JL=k(()=>{"use strict";Fu()});var KL=k(()=>{"use strict"});var ZL=k(()=>{"use strict"});var QL=k(()=>{"use strict"});var jL=k(()=>{"use strict"});var qL=k(()=>{"use strict"});var $L=k(()=>{"use strict"});var eN=k(()=>{"use strict"});var tN=k(()=>{"use strict";Fu()});var nN=k(()=>{"use strict"});var rN=k(()=>{"use strict";Fu()});var oN=k(()=>{"use strict"});var iN=k(()=>{"use strict"});var sN=k(()=>{"use strict"});var aN=k(()=>{"use strict"});var lN=k(()=>{"use strict"});var cN=k(()=>{"use strict";Fu()});var uN=k(()=>{"use strict"});var dN=k(()=>{"use strict"});var pN=k(()=>{"use strict"});var fN=k(()=>{bL();wL();CL();RL();TL();kL();EL();SL();PL();SE();Nb();AL();FL();Fu();OL();ML();IL();DL();_L();LL();qk();NL();BL();UL();zL();WL();HL();GL();VL();YL();XL();JL();KL();ZL();QL();jL();qL();$L();eN();tN();nN();rN();oN();iN();sN();aN();lN();cN();uN();dN();pN()});var xN={};xe(xN,{checkPackageConfigs:()=>rw,checkPackageConfigsHandler:()=>gN,handleCli:()=>yN,main:()=>PX});var Ya,xX,mN,vX,bX,wX,CX,RX,TX,rw,hN,kX,gN,EX,SX,yN,PX,PE=k(async()=>{Ti();Wa();fN();as();Nf();Sg();ls();Ya=Xt.createOutput(),xX=(e,t)=>e===t?!0:typeof e!=typeof t||typeof e!="object"||e===null||t===null?!1:JSON.stringify(e)===JSON.stringify(t),mN=(e,t)=>e[t],vX=e=>e.startsWith("npm:@jsr/"),bX=e=>{let t=e.slice(9),n=t.indexOf("__");if(n===-1)throw new Error(`Invalid npm JSR format: ${e}`);let r=t.slice(0,n),o=t.slice(n+2),i=o.indexOf("@"),s,u;return i===-1?(s=o,u=""):(s=o.slice(0,i),u=o.slice(i)),`jsr:@${r}/${s}${u}`},wX=(e,t)=>vX(t)?bX(t):t.startsWith("npm:")?t:`npm:${e}@${t}`,CX=e=>e==="workspace:*"||e.startsWith("workspace:"),RX=(e,t,n)=>{let r=[],o=t.dependencies??{},i=t.devDependencies??{},s={...o,...i},u=n.imports??{};for(let[p,f]of Object.entries(s)){if(CX(f))continue;let g=wX(p,f),y=u[p];y===void 0?r.push({packageName:e,dependencyName:p,issue:"missing_in_deno",expected:g}):y!==g&&r.push({packageName:e,dependencyName:p,issue:"version_mismatch",expected:g,actual:y})}for(let[p,f]of Object.entries(u))s[p]===void 0&&r.push({packageName:e,dependencyName:p,issue:"missing_in_package",actual:u[p]});return r},TX=async(e,t)=>{let n=[],r=[],o=await _f({baseDir:e,includeFiles:[vl.DenoJson,vl.PackageJson]}),i=o._loadedFiles.find(f=>f.fileType===vl.DenoJson),s=o._loadedFiles.find(f=>f.fileType===vl.PackageJson);if(i===void 0||s===void 0)return{inconsistencies:[],dependencyInconsistencies:[]};let u=["name","version","exports"];for(let f of u){let g=mN(i.content,f),y=mN(s.content,f);g===void 0||y===void 0||xX(g,y)||n.push({packageName:t,field:f,denoValue:g,packageValue:y})}let p=RX(t,s.content,i.content);return r.push(...p),{inconsistencies:n,dependencyInconsistencies:r}},rw=async(e={})=>{let{root:t=".",failFast:n=!1}=e,[r,o]=await Su(t),i=[],s=[],u=0;for(let f of o){let g=Lf(f.config);try{let y=await TX(g,f.name);if(u++,y.inconsistencies.length>0&&i.push(...y.inconsistencies),y.dependencyInconsistencies.length>0&&s.push(...y.dependencyInconsistencies),n&&(y.inconsistencies.length>0||y.dependencyInconsistencies.length>0))return{isConsistent:!1,inconsistencies:i,dependencyInconsistencies:s,packagesChecked:u}}catch{continue}}return{isConsistent:!(i.length>0||s.length>0),inconsistencies:i,dependencyInconsistencies:s,packagesChecked:u}},hN=e=>typeof e=="string"?`"${e}"`:JSON.stringify(e,null,2),kX=e=>{switch(e.issue){case"missing_in_deno":return`Missing in deno.json imports. Expected: ${e.expected}`;case"missing_in_package":return`Extra in deno.json imports (not in package.json): ${e.actual}`;case"version_mismatch":return`Version mismatch. Expected: ${e.expected}, Actual: ${e.actual}`}},gN=e=>Cn.fromPromise(()=>rw(e)),EX=e=>K.ok({root:"."}),SX=e=>{if(K.isFail(e))return Ya.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Ya.printInfo(`Checked ${t.packagesChecked} packages.`),!t.isConsistent){if(t.inconsistencies.length>0){Ya.printError(`Found ${t.inconsistencies.length} field inconsistencies:`);let n=nw(t.inconsistencies,r=>r.packageName);for(let[r,o]of Object.entries(n)){Ya.printWarning(r);for(let i of o)Ya.printError(` ${i.field} mismatch:`),Ya.printInfo(` deno.json: ${hN(i.denoValue)}`),Ya.printInfo(` package.json: ${hN(i.packageValue)}`)}}if(t.dependencyInconsistencies.length>0){Ya.printError(`Found ${t.dependencyInconsistencies.length} dependency inconsistencies:`);let n=nw(t.dependencyInconsistencies,r=>r.packageName);for(let[r,o]of Object.entries(n)){Ya.printWarning(r);for(let i of o)Ya.printError(` ${i.dependencyName}:`),Ya.printInfo(` ${kX(i)}`)}}return K.fail({exitCode:1})}return Ya.printSuccess("All package configs are consistent."),K.ok(void 0)},yN=mn.createTrigger({handler:gN,adaptInput:EX,adaptOutput:SX}),PX=async e=>await yN({command:"validate-package-configs",args:[],flags:{}})});var AE,vN=k(async()=>{"use strict";await PE();AE={name:"validate-package-configs",description:"Validate deno.json/package.json consistency",requiredStacks:["javascript"],async validate(e){let t=await rw({root:e.root}),n=[];for(let r of t.inconsistencies)n.push({severity:"error",message:`${r.packageName}: ${r.field} mismatch - deno.json: ${JSON.stringify(r.denoValue)}, package.json: ${JSON.stringify(r.packageValue)}`});for(let r of t.dependencyInconsistencies){let o=`${r.packageName}: ${r.dependencyName} - ${r.issue}`;r.expected!==void 0&&r.actual!==void 0&&(o+=` (expected: ${r.expected}, actual: ${r.actual})`),n.push({severity:"error",message:o})}return{name:"validate-package-configs",passed:t.isConsistent,issues:n,stats:{packagesChecked:t.packagesChecked}}}}});var CN={};xe(CN,{DEFAULT_EXCLUDES:()=>bN,applyMutations:()=>MX,isBinaryBytes:()=>wN,loadBytes:()=>OE,loadContent:()=>Hg,matchesAnyPattern:()=>OX,walkSourceFiles:()=>FE,writeMutations:()=>IX});var bN,FX,FE,Hg,OE,wN,OX,MX,IX,ow=k(()=>{"use strict";ye();zs();bN=[/node_modules/,/\.git\//,/\/dist\//,/etc\/coverage/,/etc\/temp/,/\.output\//],FX=async e=>{try{let t=await pt`git ls-files --cached --others --exclude-standard`.cwd(e).noThrow().lines();return t.length>0?t:null}catch{return null}},FE=async(e={})=>{let{root:t=".",extensions:n,exclude:r=[]}=e,o=[...bN,...r.map(u=>typeof u=="string"?new RegExp(u):u)],i=[],s=await FX(t);if(s!==null)for(let u of s){let p=C.path.join(t,u),f=C.path.basename(u);if(n!==void 0&&n.length>0){let x=C.path.extname(u);if(!n.map(A=>A.startsWith(".")?A:`.${A}`).includes(x))continue}if(o.some(x=>x.test(p)||x.test(u)))continue;let g=0,y=!1;try{let x=await C.fs.lstat(p);if(g=x.size,y=x.isSymlink,x.isDirectory&&!(e.includeDirs??!1))continue}catch{continue}i.push({path:p,name:f,size:g,isSymlink:y})}else for await(let u of C.fs.walk(t,{includeDirs:e.includeDirs??!1,includeFiles:!0,exts:n,skip:o})){if(!u.isFile&&!u.isSymlink)continue;let p=0;try{p=(await C.fs.stat(u.path)).size}catch{continue}i.push({path:u.path,name:u.name,size:p,isSymlink:u.isSymlink})}if(e.includeOnly!==void 0&&e.includeOnly.length>0){let u=e.includeOnly;return i.filter(p=>u.some(f=>p.path.endsWith(f)||p.path.includes(f)))}return i},Hg=async e=>{if(e.textContent!==void 0)return e.textContent;try{let t=await OE(e);if(wN(t))return;let n=new TextDecoder().decode(t);return e.textContent=n,n}catch{return}},OE=async e=>{if(e.rawBytes!==void 0)return e.rawBytes;let t=await C.fs.readFile(e.path);return e.rawBytes=t,t},wN=e=>{let t=Math.min(e.length,8192);for(let n=0;n<t;n++)if(e[n]===0)return!0;return!1},OX=(e,t)=>{for(let n of t)if(typeof n=="string"){if(e.includes(n)||e.endsWith(n))return!0}else if(n.test(e))return!0;return!1},MX=(e,t)=>{let n=new Map;for(let r of t)n.set(r.path,r);for(let r of e){let o=n.get(r.path);o!==void 0&&(r.textContent=o.newContent,r.rawBytes=void 0)}},IX=async e=>{let t=0;for(let n of e)n.oldContent!==n.newContent&&(await C.fs.writeTextFile(n.path,n.newContent),t++);return t}});var iw,Dt,oi=k(()=>{"use strict";Ri();Ti();as();ow();ls();ow();iw=Xt.createOutput(),Dt=e=>{let t=async i=>{let s={root:i?.root??".",fix:i?.fix??!1,exclude:i?.exclude??[],...e.defaults,...i},u=i?._changedFiles,p={root:s.root,extensions:e.extensions,exclude:s.exclude,includeOnly:u!==void 0&&u.length>0?u:void 0},f=await FE(p),g=[],y=[];if(e.checkAll!==void 0){let x=await e.checkAll(f,s);g.push(...x)}else if(e.checkFile!==void 0)for(let x of f){let w=await Hg(x),A=e.checkFile(x,w,s);g.push(...A)}if(s.fix&&e.canFix&&e.fixFile!==void 0)for(let x of f){let w=await Hg(x);if(w===void 0)continue;let A=e.fixFile(x,w,s);A!==void 0&&y.push(A)}return{name:e.name,issues:g,mutations:y,filesChecked:f.length}},n={name:e.name,description:e.description,requiredStacks:e.stacks,async validate(i){let s=i.options?.fix,u=i.options??{},p=await t({root:i.root,fix:s??!1,exclude:[],...u});return{name:e.name,passed:p.issues.length===0,issues:p.issues.map(f=>({severity:"error",message:`${f.message}${f.fixed?" (fixed)":""}`,file:f.path,line:f.line})),stats:{filesChecked:p.filesChecked,issuesFound:p.issues.length,fixedCount:p.mutations.length}}}},r=async i=>{let s=e.canFix&&i.flags.fix===!0,u=i.flags.root??".",p=i.flags.exclude,f=p!==void 0?Array.isArray(p)?p:[p]:[];try{let g=await t({root:u,fix:s,exclude:f});if(g.mutations.length>0){let{writeMutations:x}=await Promise.resolve().then(()=>(ow(),CN)),w=await x(g.mutations);iw.printSuccess(`Fixed ${w} file(s) for ${e.name}.`)}if(g.issues.length===0&&g.mutations.length===0)return iw.printSuccess(`${e.name}: ${g.filesChecked} files checked, no issues.`),K.ok(void 0);let y=g.issues.filter(x=>!x.fixed);if(y.length>0){for(let x of y){let w=x.line!==void 0?`${x.path}:${x.line}`:x.path;iw.printError(`${w}: ${x.message}`)}return K.fail({exitCode:1})}return K.ok(void 0)}catch(g){return iw.printError(g instanceof Error?g.message:String(g)),K.fail({exitCode:1})}};return{config:e,run:t,validator:n,main:async i=>{let s=e.canFix?["fix"]:[],u=wt(i??[],{boolean:[...s,"help"],string:["root","exclude"],alias:{h:"help"}});if(u.help)return console.log(`eser codebase ${e.name} \u2014 ${e.description}
134
- `),console.log(`Usage: eser codebase ${e.name} [options]
135
- `),console.log("Options:"),e.canFix&&console.log(" --fix Auto-fix issues"),console.log(" --root <dir> Root directory (default: .)"),console.log(" --exclude <p> Exclude pattern"),console.log(" -h, --help Show this help"),K.ok(void 0);let p=Ei(e.name,u);return await r(p)}}}});var IE={};xe(IE,{main:()=>_X,run:()=>DX,tool:()=>Hf,validator:()=>ME});var Hf,DX,ME,_X,DE=k(async()=>{jt();oi();Hf=Dt({name:"validate-eof",description:"Ensure files end with exactly one newline",canFix:!0,stacks:[],defaults:{},checkFile(e,t){return t===void 0?[]:t.length===0?[]:t.endsWith(`
136
- `)?t.endsWith(`
137
-
138
- `)?[{path:e.path,message:"file has multiple trailing newlines"}]:[]:[{path:e.path,message:"file does not end with a newline"}]},fixFile(e,t){if(t.length===0)return;let r=`${t.replace(/\n+$/,"")}
139
- `;if(r!==t)return{path:e.path,oldContent:t,newContent:r}}}),DX=Hf.run,ME=Hf.validator,_X=Hf.main});var LE={};xe(LE,{main:()=>NX,run:()=>LX,tool:()=>Gf,validator:()=>_E});var Gf,LX,_E,NX,NE=k(async()=>{jt();oi();Gf=Dt({name:"validate-trailing-whitespace",description:"Remove trailing whitespace from lines",canFix:!0,stacks:[],defaults:{},checkFile(e,t){if(t===void 0)return[];let n=[],r=t.split(`
140
- `);for(let o=0;o<r.length;o++)/[ \t]+$/.test(r[o])&&n.push({path:e.path,line:o+1,message:"trailing whitespace"});return n},fixFile(e,t){let n=t.replace(/[ \t]+$/gm,"");if(n!==t)return{path:e.path,oldContent:t,newContent:n}}}),LX=Gf.run,_E=Gf.validator,NX=Gf.main});var UE={};xe(UE,{main:()=>UX,run:()=>BX,tool:()=>Vf,validator:()=>BE});var RN,Vf,BX,BE,UX,zE=k(async()=>{jt();oi();RN="\uFEFF",Vf=Dt({name:"validate-bom",description:"Remove UTF-8 byte order markers",canFix:!0,stacks:[],defaults:{},checkFile(e,t){return t===void 0?[]:t.startsWith(RN)?[{path:e.path,message:"file has UTF-8 BOM"}]:[]},fixFile(e,t){if(!t.startsWith(RN))return;let n=t.slice(1);return{path:e.path,oldContent:t,newContent:n}}}),BX=Vf.run,BE=Vf.validator,UX=Vf.main});var HE={};xe(HE,{main:()=>WX,run:()=>zX,tool:()=>Yf,validator:()=>WE});var Yf,zX,WE,WX,GE=k(async()=>{jt();oi();Yf=Dt({name:"validate-line-endings",description:"Normalize line endings to LF",canFix:!0,stacks:[],defaults:{},checkFile(e,t){return t===void 0?[]:t.includes("\r")?[{path:e.path,message:"file contains CRLF or CR line endings"}]:[]},fixFile(e,t){let n=t.replace(/\r\n/g,`
141
- `).replace(/\r/g,`
142
- `);if(n!==t)return{path:e.path,oldContent:t,newContent:n}}}),zX=Yf.run,WE=Yf.validator,WX=Yf.main});var YE={};xe(YE,{main:()=>GX,run:()=>HX,tool:()=>Xf,validator:()=>VE});var TN,Xf,HX,VE,GX,XE=k(async()=>{jt();oi();TN=1024,Xf=Dt({name:"validate-large-files",description:"Detect files exceeding size limit",canFix:!1,stacks:[],defaults:{maxKb:TN},checkAll(e,t){let n=t.maxKb??TN,r=n*1024,o=[];for(let i of e)if(i.size>r){let s=Math.round(i.size/1024);o.push({path:i.path,message:`file is ${s}KB (max: ${n}KB)`})}return o}}),HX=Xf.run,VE=Xf.validator,GX=Xf.main});var KE={};xe(KE,{main:()=>YX,run:()=>VX,tool:()=>Jf,validator:()=>JE});var Jf,VX,JE,YX,ZE=k(async()=>{jt();oi();Jf=Dt({name:"validate-case-conflict",description:"Detect filenames that differ only by case",canFix:!1,stacks:[],defaults:{},checkAll(e){let t=new Map,n=[];for(let r of e){let o=r.path.toLowerCase(),i=t.get(o);i!==void 0?n.push({path:r.path,message:`case conflict with "${i}"`}):t.set(o,r.path)}return n}}),VX=Jf.run,JE=Jf.validator,YX=Jf.main});var jE={};xe(jE,{main:()=>KX,run:()=>JX,tool:()=>Kf,validator:()=>QE});var XX,Kf,JX,QE,KX,qE=k(async()=>{jt();oi();XX=[/^<{7}\s/,/^={7}$/,/^>{7}\s/],Kf=Dt({name:"validate-merge-conflict",description:"Detect merge conflict markers",canFix:!1,stacks:[],defaults:{},checkFile(e,t){if(t===void 0)return[];let n=[],r=t.split(`
143
- `);for(let o=0;o<r.length;o++)for(let i of XX)if(i.test(r[o])){n.push({path:e.path,line:o+1,message:`merge conflict marker: ${r[o].slice(0,20)}`});break}return n}}),JX=Kf.run,QE=Kf.validator,KX=Kf.main});var eS={};xe(eS,{main:()=>QX,run:()=>ZX,tool:()=>Zf,validator:()=>$E});var Zf,ZX,$E,QX,tS=k(async()=>{Wk();jt();oi();Zf=Dt({name:"validate-json",description:"Validate JSON syntax",canFix:!1,stacks:[],defaults:{},extensions:[".json",".jsonc"],checkFile(e,t,n){if(t===void 0)return[];if((n.exclude??[]).some(o=>e.path.includes(o)))return[];try{return e.name.endsWith(".jsonc")?Db(t):JSON.parse(t),[]}catch(o){let i=o instanceof SyntaxError?o.message:"invalid JSON";return[{path:e.path,message:i}]}}}),ZX=Zf.run,$E=Zf.validator,QX=Zf.main});var rS={};xe(rS,{main:()=>qX,run:()=>jX,tool:()=>Qf,validator:()=>nS});var Qf,jX,nS,qX,oS=k(async()=>{Zk();jt();oi();Qf=Dt({name:"validate-toml",description:"Validate TOML syntax",canFix:!1,stacks:[],defaults:{},extensions:[".toml"],checkFile(e,t){if(t===void 0)return[];try{return Lb(t),[]}catch(n){let r=n instanceof Error?n.message:"invalid TOML";return[{path:e.path,message:r}]}}}),jX=Qf.run,nS=Qf.validator,qX=Qf.main});var sS={};xe(sS,{main:()=>eJ,run:()=>$X,tool:()=>jf,validator:()=>iS});var jf,$X,iS,eJ,aS=k(async()=>{Ff();jt();oi();jf=Dt({name:"validate-yaml",description:"Validate YAML syntax",canFix:!1,stacks:[],defaults:{},extensions:[".yml",".yaml"],checkFile(e,t){if(t===void 0)return[];try{return Dc(t),[]}catch(n){let r=n instanceof Error?n.message:"invalid YAML";return[{path:e.path,message:r}]}}}),$X=jf.run,iS=jf.validator,eJ=jf.main});var cS={};xe(cS,{main:()=>nJ,run:()=>tJ,tool:()=>qf,validator:()=>lS});var qf,tJ,lS,nJ,uS=k(async()=>{jt();oi();qf=Dt({name:"validate-symlinks",description:"Detect broken symlinks",canFix:!1,stacks:[],defaults:{},async checkAll(e){let t=[];for(let n of e)if(n.isSymlink)try{await ue.current.fs.stat(n.path)}catch{t.push({path:n.path,message:"broken symlink \u2014 target not found"})}return t}}),tJ=qf.run,lS=qf.validator,nJ=qf.main});var pS={};xe(pS,{main:()=>oJ,run:()=>rJ,tool:()=>$f,validator:()=>dS});var $f,rJ,dS,oJ,fS=k(async()=>{jt();oi();$f=Dt({name:"validate-shebangs",description:"Validate shebang/executable consistency",canFix:!1,stacks:[],defaults:{},checkFile(e,t){return[]}}),rJ=$f.run,dS=$f.validator,oJ=$f.main});var hS={};xe(hS,{main:()=>lJ,run:()=>aJ,tool:()=>em,validator:()=>mS});var iJ,sJ,em,aJ,mS,lJ,gS=k(async()=>{jt();oi();iJ=[{name:"AWS Access Key ID",pattern:/AKIA[0-9A-Z]{16}/},{name:"Private Key",pattern:/-----BEGIN\s{1,5}(RSA\s{1,5}|EC\s{1,5}|DSA\s{1,5}|OPENSSH\s{1,5})?PRIVATE KEY-----/},{name:"Generic secret assignment",pattern:/(?:secret|password|api_key|apikey|access_token|auth_token|private_key)\s{0,5}[=:]\s{0,5}["'][^"']{8,}["']/i}],sJ=[/\.lock$/,/package-lock\.json$/,/\.test\./,/testdata\//,/\.snap$/,/\.min\./],em=Dt({name:"validate-secrets",description:"Detect credentials and private keys",canFix:!1,stacks:[],defaults:{},checkFile(e,t){if(t===void 0)return[];for(let o of sJ)if(o.test(e.path))return[];let n=[],r=t.split(`
144
- `);for(let o=0;o<r.length;o++){let i=r[o];for(let{name:s,pattern:u}of iJ)if(u.test(i)){n.push({path:e.path,line:o+1,message:`potential ${s} detected`});break}}return n}}),aJ=em.run,mS=em.validator,lJ=em.main});var xS={};xe(xS,{main:()=>fJ,run:()=>pJ,tool:()=>tm,validator:()=>yS});var cJ,uJ,kN,dJ,EN,tm,pJ,yS,fJ,vS=k(async()=>{jt();oi();cJ=new Set(["con","prn","aux","nul","com1","com2","com3","com4","com5","com6","com7","com8","com9","lpt1","lpt2","lpt3","lpt4","lpt5","lpt6","lpt7","lpt8","lpt9"]),uJ=/^[a-z0-9_./[\]@-]+$/,kN=/^[a-z0-9./[\]@-]+$/,dJ=[".claude/",".github/",".git/","CLAUDE.md","AGENTS.md","CHANGELOG.md","Makefile","Dockerfile","LICENSE","README.md","VERSION"],EN=(e,t)=>{for(let n of t)if(n.includes("*")){let r=n.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,"[^/]+");if(new RegExp(r).test(e))return!0}else if(e.includes(n)||e.endsWith(n))return!0;return!1},tm=Dt({name:"validate-filenames",description:"Enforce filename conventions (kebab-case / snake_case)",canFix:!1,stacks:[],defaults:{},checkAll(e,t){let n=[],r=t.rules,o=t.exclude??dJ;for(let i of e){if(EN(i.path,o))continue;let s=i.name,u=s.replace(/\.[^.]+$/,"");if(cJ.has(u.toLowerCase())){n.push({path:i.path,message:`Windows-reserved filename: ${s}`});continue}if(r!==void 0){let p=!1;for(let f of r)if(f.directory==="*"||i.path.includes(f.directory)){if(f.exclude!==void 0&&EN(i.path,f.exclude)){p=!0;break}(f.convention==="snake_case"?uJ:kN).test(s)||n.push({path:i.path,message:`filename must be ${f.convention}`}),p=!0;break}if(p)continue}kN.test(s)||n.push({path:i.path,message:"filename must be kebab-case"})}return n}}),pJ=tm.run,yS=tm.validator,fJ=tm.main});var wS={};xe(wS,{main:()=>hJ,run:()=>mJ,tool:()=>nm,validator:()=>bS});var nm,mJ,bS,hJ,CS=k(async()=>{jt();ye();oi();nm=Dt({name:"validate-submodules",description:"Detect new git submodules",canFix:!1,stacks:[],defaults:{},async checkAll(e,t){let n=C.path.join(t.root,".gitmodules");if(!await C.fs.exists(n))return[];let i=((await C.fs.readTextFile(n)).match(/\[submodule\s/g)??[]).length;return i>0?[{path:n,message:`found ${i} submodule(s) \u2014 submodules are not allowed`}]:[]}}),mJ=nm.run,bS=nm.validator,hJ=nm.main});var ES={};xe(ES,{main:()=>bJ,run:()=>vJ,tool:()=>rm,validator:()=>kS});var TS,SN,RS,gJ,PN,yJ,xJ,rm,vJ,kS,bJ,SS=k(async()=>{jt();oi();TS="2023",SN=new RegExp(`// Copyright ([0-9]{4})-present Eser Ozvataf and other contributors\\. All rights reserved\\. ([0-9A-Za-z-.]+) license\\.
145
- `),RS=`// Copyright ${TS}-present Eser Ozvataf and other contributors. All rights reserved. Apache-2.0 license.`,gJ=[/docs\//,/etc\/templates\//,/manifest\.gen\.ts$/],PN=e=>gJ.some(t=>t.test(e)),yJ=(e,t,n)=>{if(t===void 0||PN(e.path))return[];let o=t.startsWith("#!")?t.indexOf(`
146
- `)+1:0,s=t.slice(o).match(SN);return s!==null?s[1]===TS?[]:[{path:e.path,message:"incorrect copyright year",fixed:n.fix}]:[{path:e.path,message:"missing copyright header",fixed:n.fix}]},xJ=(e,t,n)=>{if(PN(e.path))return;let r=t.startsWith("#!"),o=r?t.indexOf(`
147
- `)+1:0,i=t.slice(o),s=i.match(SN);if(s!==null&&s[1]===TS)return;let u;if(s!==null){let p=t.slice(0,o),f=i.replace(s[0],"");u=`${p}${RS}
148
- ${f}`}else u=r?`${t.slice(0,o)}${RS}
149
- ${i}`:`${RS}
150
- ${t}`;return{path:e.path,oldContent:t,newContent:u}},rm=Dt({name:"validate-licenses",description:"Validate license headers",canFix:!0,stacks:["javascript"],defaults:{},extensions:[".tsx",".jsx",".ts",".js",".mts",".mjs",".cts",".cjs"],checkFile:yJ,fixFile:xJ}),vJ=rm.run,kS=rm.validator,bJ=rm.main});var PS={};xe(PS,{main:()=>RJ,validateCommitMsg:()=>aw});var sw,wJ,CJ,aw,RJ,AS=k(async()=>{Ri();Ti();jt();as();ls();sw=Xt.createOutput(),wJ=["ci","chore","docs","feat","fix","perf","refactor","revert","test"],CJ=/^(\w+)(?:\(([^)]+)\))?!?:\s{1,5}.+$/,aw=(e,t={})=>{let n=t.allowAsterisk??!0,r=t.allowMultipleScopes??!0,o=t.forceScope??!1,i=new Set(t.types??wJ),s=[],u=e.split(`
151
- `)[0]?.trim()??"";if(u==="")return{valid:!1,issues:["commit message is empty"]};if(u.startsWith("Merge "))return{valid:!0,issues:[]};let p=u.match(CJ);if(p===null)return s.push(`invalid format: expected "type(scope): message", got: "${u}"`),{valid:!1,issues:s};let f=p[1].toLowerCase(),g=p[2];return i.has(f)||s.push(`invalid type "${f}". Must be one of: ${[...i].join(", ")}`),o&&(g===void 0||g.trim()==="")&&s.push("scope is required: use type(scope): message"),g!==void 0&&g.trim()!==""&&(g==="*"&&!n&&s.push('wildcard scope "*" is not allowed (allowAsterisk is false)'),g.includes(",")&&(r?g.split(",").map(w=>w.trim()).filter(w=>w==="").length>0&&s.push("invalid scope: each comma-separated scope must be non-empty"):s.push("multiple scopes are not allowed (allowMultipleScopes is false)"))),{valid:s.length===0,issues:s}},RJ=async e=>{let t=wt(e??[],{string:["message"],boolean:["help"],alias:{h:"help",m:"message"}});if(t.help)return console.log(`eser codebase validate-commit-msg \u2014 Validate conventional commit format
152
- `),console.log("Usage:"),console.log(" eser codebase validate-commit-msg <commit-msg-file>"),console.log(" eser codebase validate-commit-msg --message 'feat(x): msg'"),K.ok(void 0);let n;if(t.message!==void 0)n=t.message;else if(t._.length>0)try{n=await ue.current.fs.readTextFile(String(t._[0]))}catch{return sw.printError(`cannot read commit message file: ${t._[0]}`),K.fail({exitCode:1})}else return sw.printError("no commit message provided"),K.fail({exitCode:1});let r=aw(n);if(r.valid)return sw.printSuccess("commit message is valid"),K.ok(void 0);for(let o of r.issues)sw.printError(o);return K.fail({exitCode:1})}});var om,TJ,FS,yr,AN,lw,FN,kJ,EJ,ON,OS=k(async()=>{"use strict";await r2();await uL();await mL();await vL();await vN();await DE();await NE();await zE();await GE();await XE();await ZE();await qE();await tS();await oS();await aS();await uS();await fS();await gS();await vS();await CS();await SS();await AS();om={validators:new Map,initialized:!1},TJ=()=>{yr(tE),yr(bE),yr(TE),yr(EE),yr(AE),yr(ME),yr(_E),yr(BE),yr(WE),yr(VE),yr(JE),yr(QE),yr($E),yr(nS),yr(iS),yr(lS),yr(dS),yr(mS),yr(yS),yr(bS),yr(kS)},FS=()=>{om.initialized||(om.initialized=!0,TJ())},yr=e=>{om.validators.set(e.name,e)},AN=e=>(FS(),om.validators.get(e)??null),lw=()=>(FS(),[...om.validators.values()]),FN=()=>(FS(),[...om.validators.keys()]),kJ=e=>({name:e.config.name,description:e.config.description,run:async t=>{let n=await e.run(t);return{name:n.name,passed:n.issues.length===0,issues:n.issues.map(r=>({path:r.path,line:r.line,message:r.message,fixed:r.fixed})),mutations:n.mutations.map(r=>({path:r.path,oldContent:r.oldContent,newContent:r.newContent})),stats:{filesChecked:n.filesChecked,issuesFound:n.issues.length}}}}),EJ=e=>({name:e.name,description:e.description,run:async t=>{let n=await e.validate({root:t.root??".",options:t});return{name:n.name,passed:n.passed,issues:n.issues.map(r=>({path:r.file,line:r.line,message:r.message})),mutations:[],stats:n.stats}}}),ON=()=>{let e=[],t=[Hf,Gf,Vf,Yf,Xf,Jf,Kf,Zf,Qf,jf,qf,$f,em,tm,nm,rm];for(let r of t)e.push(kJ(r));let n=[tE,bE,TE,EE,AE];for(let r of n)e.push(EJ(r));return e.push({name:"validate-commit-msg",description:"Validate conventional commit format",run:async r=>{let o=r.commitMsgFile??r._args?.[0]??".git/COMMIT_EDITMSG",{current:i}=await Promise.resolve().then(()=>(ye(),ue)),s;try{s=await i.fs.readTextFile(o)}catch{return{name:"validate-commit-msg",passed:!1,issues:[{message:`cannot read commit message file: ${o}`}],mutations:[],stats:{}}}let u=aw(s,{allowAsterisk:r.allowAsterisk,allowMultipleScopes:r.allowMultipleScopes,forceScope:r.forceScope,types:r.types});return{name:"validate-commit-msg",passed:u.valid,issues:u.issues.map(p=>({message:p})),mutations:[],stats:{}}}}),e}});var MS={};xe(MS,{getProjectConfigPath:()=>ND,getValidator:()=>AN,getValidatorNames:()=>FN,getValidators:()=>lw,getWorkflowTools:()=>ON,loadProjectConfig:()=>Tg,main:()=>SJ,registerValidator:()=>yr,validate:()=>MN});var MN,SJ,IS=k(async()=>{Ri();Ar();vn();ye();ye();Rk();await OS();Rk();await OS();MN=async(e={})=>{let t=e.root??C.process.cwd(),r=(await Tg(t))?.stack??[],o=[...e.skip??[]],i=e.only??[],s=lw(),u=[],p=[],f=[];for(let g of s){if(i.length>0&&!i.includes(g.name))continue;if(o.includes(g.name)){f.push(g.name);continue}if(g.requiredStacks.length>0&&r.length>0&&!g.requiredStacks.some(A=>r.includes(A))){p.push({name:g.name,reason:`Requires '${g.requiredStacks.join("' or '")}' stack`});continue}let y={...e.fix!==void 0?{fix:e.fix}:{}},x=await g.validate({root:t,options:y});u.push(x)}return{passed:u.every(g=>g.passed),results:u,skipped:p,disabled:f}},SJ=async e=>{let t=wt(e??C.process.args,{string:["root","only","skip"],boolean:["fix","help"],alias:{h:"help"}});if(t.help)return console.log("Usage: deno run --allow-all ./validation/mod.ts [options]"),console.log(),console.log("Options:"),console.log(" --root <dir> Root directory (default: cwd)"),console.log(" --only <validators> Run only specific validators (comma-separated)"),console.log(" --skip <validators> Skip specific validators (comma-separated)"),console.log(" --fix Auto-fix issues where supported"),console.log(" -h, --help Show this help message"),Te(void 0);let n=t.root,r=t.fix,o=t.only,i=t.skip,s=o!==void 0?o.split(",").map(w=>w.trim()):void 0,u=i!==void 0?i.split(",").map(w=>w.trim()):void 0,f=(await Tg(n??"."))?.stack?.join(", ")??"all (no .manifest.yml)";console.log(`Validating codebase...
153
- `),console.log(`Stack: ${Ge(f)}
154
- `);let g=await MN({root:n,only:s,skip:u,fix:r});for(let w of g.results){let A=w.passed?Ln("PASS"):at("FAIL"),F=Object.entries(w.stats).map(([D,L])=>`${L} ${D}`).join(", ");console.log(` ${w.name.padEnd(18)} ${A} (${F})`)}if(g.skipped.length>0){console.log(Ie(`
155
- Skipped (stack not configured):`));for(let w of g.skipped)console.log(Ie(` - ${w.name}: ${w.reason}`))}if(g.disabled.length>0){console.log(Ie(`
156
- Disabled:`));for(let w of g.disabled)console.log(Ie(` - ${w}`))}let y=g.results.flatMap(w=>w.issues.map(A=>({validator:w.name,...A})));if(y.length>0){console.log(at(`
157
- Issues (${y.length}):
158
- `));let w=new Map;for(let A of y){let F=A.file??A.validator,D=w.get(F)??[];D.push(A),w.set(F,D)}for(let[A,F]of w){console.log(` ${Ie(A)}`);for(let D of F){let L=D.severity==="error"?at("error"):ma("warning"),U=D.line!==void 0?`:${D.line}`:"";console.log(` ${L}${U}: ${D.message}`)}console.log()}}let x=g.results.filter(w=>!w.passed).length;return x>0?ke({message:at(`
159
- ${x} check(s) failed with ${y.length} issue(s)`),exitCode:1}):(console.log(Ln(`
160
- All checks passed!`)),Te(void 0))}});var IN={};xe(IN,{main:()=>PJ});var PJ,DN=k(()=>{Ri();Ar();vn();vk();wk();Ck();PJ=async(e,t)=>{let n=wt(e??[],{string:["config"],boolean:["help"],alias:{h:"help"}});if(n.help)return console.log(`eser workflows list \u2014 List available workflows and tools
161
- `),console.log("Options:"),console.log(" --config <path> Config directory (default: .)"),console.log(" -h, --help Show this help"),Te(void 0);let r=n.config??".",o=await hb(r),i=mb();if(i.register(gb),t?.tools!==void 0&&i.registerAll(t.tools),o!==null&&o.workflows.length>0){console.log(_c("Workflows:"));for(let u of o.workflows){let p=u.on.length>0?u.on.join(", "):"(no events)",f=u.steps.length,g=f===1?"step":"steps";console.log(` ${u.id.padEnd(20)} ${Ie(p.padEnd(25))} ${f} ${g}`)}}else console.log(Ie("No workflows defined."));console.log();let s=i.getAll();if(s.length>0){console.log(_c(`Registered tools (${s.length}):`));for(let u of s)console.log(` ${u.name.padEnd(28)} ${Ie(u.description)}`)}else console.log(Ie("No tools registered."));return Te(void 0)}});var cw,_N=k(()=>{cw=class extends TransformStream{constructor(t){let n;super({transform(r,o){if(n!==void 0){let s=new Uint8Array(n.length+r.length);s.set(n),s.set(r,n.length),r=s}for(let s=t;s<=r.length;s+=t)o.enqueue(r.slice(s-t,s));let i=-r.length%t;n=i?r.slice(i):void 0},flush(r){n?.length&&r.enqueue(n)}})}}});var uw,LN=k(()=>{_N();uw=class{#e;#t;#n;#r=[];#s=!1;constructor(){let{readable:t,writable:n}=new TransformStream;this.#e=ReadableStream.from(this.#c()),this.#t=n,this.#n=t.pipeThrough(new cw(512)).getReader()}async#o(){let{done:t,value:n}=await this.#n.read();if(!t){if(n.length!==512)throw new RangeError(`Cannot extract the tar archive: The tarball chunk has an unexpected number of bytes (${n.length})`);return this.#r.push(n),this.#r.shift()}}async*#c(){for(let n=0;n<2;++n){let{done:r,value:o}=await this.#n.read();if(r||o.length!==512)throw new RangeError("Cannot extract the tar archive: The tarball is too small to be valid");this.#r.push(o)}let t=new TextDecoder;for(;;){for(;this.#s;)await new Promise(s=>setTimeout(s,0));if(this.#r.every(s=>s.every(u=>u===0))){await this.#n.cancel("Tar stream finished prematurely");return}let n=await this.#o();if(n==null){if(this.#r.every(s=>s.every(u=>u===0)))break;throw new TypeError("Cannot extract the tar archive: The tarball has invalid ending")}let r=parseInt(t.decode(n.subarray(148,156)),8);if(n.fill(32,148,156),n.reduce((s,u)=>s+u)!==r)throw new SyntaxError("Cannot extract the tar archive: An archive entry has invalid header checksum");let o={name:t.decode(n.subarray(0,100)).split("\0")[0],mode:parseInt(t.decode(n.subarray(100,108)),8),uid:parseInt(t.decode(n.subarray(108,116)),8),gid:parseInt(t.decode(n.subarray(116,124)),8),size:parseInt(t.decode(n.subarray(124,136)).trimEnd(),8),mtime:parseInt(t.decode(n.subarray(136,147)),8),typeflag:t.decode(n.subarray(156,157)),linkname:t.decode(n.subarray(157,257)).split("\0")[0]};o.typeflag==="\0"&&(o.typeflag="0"),[117,115,116,97,114,0,48,48].every((s,u)=>n[u+257]===s)&&(o={...o,magic:t.decode(n.subarray(257,263)),version:t.decode(n.subarray(263,265)),uname:t.decode(n.subarray(265,297)).split("\0")[0],gname:t.decode(n.subarray(297,329)).split("\0")[0],devmajor:t.decode(n.subarray(329,337)).replaceAll("\0",""),devminor:t.decode(n.subarray(337,345)).replaceAll("\0",""),prefix:t.decode(n.subarray(345,500)).split("\0")[0]});let i={path:("prefix"in o&&o.prefix.length?o.prefix+"/":"")+o.name,header:o};["1","2","3","4","5","6"].includes(o.typeflag)||(i.readable=this.#u(o.size)),yield i}}async*#i(t){for(let n=Math.ceil(t/512);n>0;--n){let r=await this.#o();if(r==null)throw new SyntaxError("Cannot extract the tar archive: Unexpected end of Tarball");n===1&&t%512?yield r.subarray(0,t%512):yield r}}#u(t){this.#s=!0;let n=()=>this.#s=!1,r=this.#i(t);return new ReadableStream({type:"bytes",async pull(o){let{done:i,value:s}=await r.next();if(i)return n(),o.close(),o.byobRequest?.respond(0);if(o.byobRequest?.view){let u=new Uint8Array(o.byobRequest.view.buffer),p=u.length;p<s.length?(u.set(s.slice(0,p)),o.byobRequest.respond(p),o.enqueue(s.slice(p))):(u.set(s),o.byobRequest.respond(s.length))}else o.enqueue(s)},async cancel(){for await(let o of r);n()}})}get readable(){return this.#e}get writable(){return this.#t}}});var NN,BN=k(()=>{"use strict";LN();ye();NN=async(e,t,n={})=>{let{stripComponents:r=0,subpath:o}=n,i=o!==void 0?C.path.normalize(o).replace(/^\/+/,""):void 0,u=e.pipeThrough(new DecompressionStream("gzip")).pipeThrough(new uw);for await(let p of u){let f=C.path.normalize(p.path);if(f.startsWith("..")||C.path.isAbsolute(f)){p.readable!==void 0&&await p.readable.cancel();continue}let y=f.split(C.path.sep).slice(r);if(y.length===0){p.readable!==void 0&&await p.readable.cancel();continue}let x=y.join(C.path.sep);if(i!==void 0){if(!x.startsWith(i)){p.readable!==void 0&&await p.readable.cancel();continue}if(x.slice(i.length).replace(/^\/+/,"")===""){p.readable!==void 0&&await p.readable.cancel();continue}}let w=i!==void 0?C.path.join(t,x.slice(i.length).replace(/^\/+/,"")):C.path.join(t,x);if(await C.fs.ensureDir(C.path.dirname(w)),p.readable!==void 0){let A=new Response(p.readable),F=new Uint8Array(await A.arrayBuffer());await C.fs.writeFile(w,F)}}}});var FJ,OJ,MJ,UN,zN=k(()=>{"use strict";BN();FJ="main",OJ=e=>{let[t,n]=e.split("#");if(t===void 0)throw new Error(`Invalid GitHub specifier: ${e}`);let r=t.split("/");if(r.length<2)throw new Error(`Invalid GitHub specifier: ${e}. Expected format: owner/repo[/path][#ref]`);let[o,i,...s]=r;if(o===void 0||i===void 0)throw new Error(`Invalid GitHub specifier: ${e}. Expected format: owner/repo[/path][#ref]`);return{provider:"github",raw:e,owner:o,repo:i,ref:n??FJ,path:s.length>0?s.join("/"):void 0}},MJ=async(e,t)=>{let n=e,{owner:r,repo:o,ref:i,path:s}=n,u=`https://codeload.github.com/${r}/${o}/tar.gz/${i}`,p=await fetch(u);if(!p.ok)throw p.status===404?new Error(`Repository not found: ${r}/${o} (ref: ${i})`):new Error(`Failed to fetch template: ${p.status} ${p.statusText}`);if(p.body===null)throw new Error("Response body is empty");await NN(p.body,t,{stripComponents:1,subpath:s})},UN={name:"github",prefixes:["github","gh"],isDefault:!0,parse:OJ,fetch:MJ}});var bl,DS,_S,WN,HN,LS,dw,NS=k(()=>{"use strict";zN();bl={providers:new Map,defaultProvider:null,initialized:!1},DS=()=>{bl.initialized||(bl.initialized=!0,_S(UN))},_S=e=>{bl.providers.set(e.name,e);for(let t of e.prefixes)bl.providers.set(t,e);e.isDefault===!0&&(bl.defaultProvider=e)},WN=e=>(DS(),bl.providers.get(e)??null),HN=()=>(DS(),bl.defaultProvider),LS=e=>{DS();let t=e.indexOf(":");if(t!==-1){let n=e.slice(0,t),r=e.slice(t+1),o=bl.providers.get(n);if(o===void 0)throw new Error(`Unknown provider prefix: ${n}`);return{provider:o,ref:o.parse(r)}}if(bl.defaultProvider===null)throw new Error("No default provider registered");return{provider:bl.defaultProvider,ref:bl.defaultProvider.parse(e)}},dw=async(e,t)=>{let{provider:n,ref:r}=LS(e);return await n.fetch(r,t),r}});var VN,pw,IJ,GN,fw,YN,BS=k(()=>{"use strict";Ff();ye();VN=[".manifest.yml",".manifest.yaml"],pw=async e=>{for(let t of VN){let n=C.path.join(e,t);try{let r=await C.fs.readTextFile(n),o=Dc(r);if(typeof o.name!="string"||o.name==="")throw new Error(`Template config missing required 'name' field: ${n}`);return o}catch(r){if(r instanceof Nt)continue;throw r}}return null},IJ=e=>{let t=e.description??e.name,n=e.default!==void 0?` [${e.default}]`:"",r=e.required===!0?" (required)":"",o=`${t}${r}${n}: `,i=globalThis.prompt(o);return i===null||i===""?e.default??null:i},GN=(e,t)=>e.pattern===void 0||new RegExp(e.pattern).test(t)?null:`Value '${t}' does not match pattern '${e.pattern}'`,fw=(e,t)=>{let{provided:n,interactive:r}=t,o=e.variables??[],i={...n},s=[];for(let u of o){let{name:p,required:f,default:g}=u;if(i[p]!==void 0){let y=GN(u,i[p]);y!==null&&s.push(`${p}: ${y}`);continue}if(r){let y=IJ(u);if(y!==null){let x=GN(u,y);x!==null?s.push(`${p}: ${x}`):i[p]=y;continue}}if(g!==void 0){i[p]=g;continue}f===!0&&s.push(`Missing required variable: ${p}`)}if(s.length>0)throw new Error(`Variable resolution failed:
162
- ${s.join(`
163
- `)}`);return i},YN=async e=>{for(let t of VN){let n=C.path.join(e,t);try{return await C.fs.stat(n),n}catch{continue}}return null}});var XN,DJ,_J,LJ,Gg,Vg,JN,KN,US=k(()=>{"use strict";ye();XN=/\{\{\s*\.(\w+)\s*\}\}/g,DJ=new Set([".png",".jpg",".jpeg",".gif",".ico",".webp",".svg",".woff",".woff2",".ttf",".eot",".otf",".zip",".tar",".gz",".bz2",".xz",".7z",".pdf",".doc",".docx",".xls",".xlsx",".ppt",".pptx",".exe",".dll",".so",".dylib",".mp3",".mp4",".avi",".mov",".webm"]),_J=e=>{let t=C.path.extname(e).toLowerCase();return DJ.has(t)},LJ=(e,t)=>{for(let n of t)if(n.startsWith("*")){let r=n.slice(1);if(e.endsWith(r))return!0}else if(n.includes("*")){let r=n.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*\*/g,".*").replace(/\*/g,"[^/]*");if(new RegExp(`^${r}$`).test(e))return!0}else if(e===n||e.startsWith(n+"/"))return!0;return!1},Gg=(e,t)=>e.replace(XN,(n,r)=>{let o=t[r];return o===void 0?`{{.${r}}}`:o}),Vg=e=>XN.test(e),JN=async(e,t)=>{let{variables:n,ignore:r}=t,o=[],i=[];for await(let s of C.fs.walk(e,{includeDirs:!0})){let u=C.path.relative(e,s.path);u!==""&&(LJ(u,r)||(s.isDirectory?Vg(s.name)&&i.push(s.path):s.isFile&&o.push(s.path)))}for(let s of o){let u=C.path.basename(s),p=C.path.dirname(s);if(!_J(s))try{let f=await C.fs.readTextFile(s);if(Vg(f)){let g=Gg(f,n);await C.fs.writeTextFile(s,g)}}catch(f){if(!(f instanceof Error&&f.name==="InvalidData"))throw f}if(Vg(u)){let f=Gg(u,n),g=C.path.join(p,f);g!==s&&await C.fs.rename(s,g)}}i.sort((s,u)=>u.split(C.path.sep).length-s.split(C.path.sep).length);for(let s of i){let u=C.path.basename(s),p=C.path.dirname(s),f=Gg(u,n),g=C.path.join(p,f);g!==s&&await C.fs.rename(s,g)}},KN=async e=>{try{await C.fs.remove(e)}catch(t){if(!(t instanceof Nt))throw t}}});var im,zS=k(()=>{"use strict";zs();ye();NS();BS();US();im=async e=>{let{specifier:t,targetDir:n,variables:r={},force:o=!1,skipPostInstall:i=!1,interactive:s=!1}=e,u=C.path.isAbsolute(n)?n:C.path.join(C.process.cwd(),n);try{let F=[];for await(let D of C.fs.readDir(u)){F.push(D);break}if(F.length>0&&!o)throw new Error(`Target directory is not empty: ${u}. Use --force to overwrite.`)}catch(F){if(!(F instanceof Nt))throw F}await C.fs.ensureDir(u),await dw(t,u);let p=await pw(u),f=p?.name??t,g=p!==null?fw(p,{provided:r,interactive:s}):r,y=[".git",".manifest.yml",".manifest.yaml",...p?.ignore??[]];await JN(u,{variables:g,ignore:y});let x=await YN(u);x!==null&&await KN(x);let w=p?.postInstall??[],A=[];if(!i&&w.length>0)for(let F of w)try{(await pt`${F}`.cwd(u).stdout("inherit").stderr("inherit").noThrow().spawn()).success?A.push(F):console.warn(`Post-install command failed: ${F}`)}catch(D){console.warn(`Post-install command error: ${F}`,D)}return{templateName:f,targetDir:u,variables:g,postInstallCommands:A}}});var WS={};xe(WS,{fetchTemplate:()=>dw,getDefaultProvider:()=>HN,getProvider:()=>WN,hasVariables:()=>Vg,loadTemplateConfig:()=>pw,main:()=>NJ,parseSpecifier:()=>LS,registerProvider:()=>_S,resolveVariables:()=>fw,scaffold:()=>im,substituteVariables:()=>Gg});var NJ,HS=k(async()=>{Ri();Ar();vn();ye();zS();zS();NS();BS();US();NJ=async e=>{let t=wt(e??C.process.args,{string:["path","var"],boolean:["force","interactive","skip-post-install","help"],alias:{p:"path",f:"force",i:"interactive",h:"help"},collect:["var"]});if(t.help)return console.log(`Usage: scaffold <specifier> [options]
164
-
165
- Options:
166
- -p, --path <dir> Target directory (default: .)
167
- -f, --force Overwrite existing files
168
- -i, --interactive Prompt for missing variables
169
- --var key=value Set a template variable (repeatable)
170
- --skip-post-install Skip post-install commands
171
- -h, --help Show this help message
172
-
173
- Examples:
174
- scaffold eser/ajan
175
- scaffold gh:eser/ajan#v1.0 -p ./my-project
176
- scaffold eser/ajan --var name=my-app --var author=me`),Te(void 0);let n=t._[0];if(n===void 0)return ke({message:`${at("Error: Template specifier is required")}
177
-
178
- Usage: scaffold <specifier> [options]
179
-
180
- Examples:
181
- scaffold eser/ajan
182
- scaffold gh:eser/ajan#v1.0
183
- scaffold eser/ajan -p ./my-project`,exitCode:1});let r=t.path??".",o=t.force??!1,i=t["skip-post-install"]??!1,s=t.interactive??!1,u=t.var,p={};if(u!==void 0)for(let y of u){let[x,...w]=String(y).split("=");x!==void 0&&(p[x]=w.join("="))}console.log(`Scaffolding from ${Ge(n)}...`);let f=await eg(()=>im({specifier:n,targetDir:r,variables:p,force:o,skipPostInstall:i,interactive:s}),y=>({message:y.message}));if(ti(f))return ke({message:at(`
184
- Scaffolding failed: ${f.error.message}`),exitCode:1});let g=f.value;if(console.log(Ln(`
185
- Scaffolded ${g.templateName} to ${g.targetDir}`)),Object.keys(g.variables).length>0){console.log(`
186
- Variables applied:`);for(let[y,x]of Object.entries(g.variables))console.log(` ${Ie(y)}: ${x}`)}if(g.postInstallCommands.length>0){console.log(`
187
- Post-install commands executed:`);for(let y of g.postInstallCommands)console.log(` ${Ie(y)}`)}return Te(void 0)}});var hw={};xe(hw,{main:()=>UJ,statusMain:()=>WJ,uninstallMain:()=>zJ});var GS,mw,BJ,VS,ZN,UJ,zJ,WJ,gw=k(async()=>{Ri();Ar();Ti();jt();Cg();GS={precommit:{hookName:"pre-commit",args:""},commitmsg:{hookName:"commit-msg",args:'-- "$1"'},prepush:{hookName:"pre-push",args:""}},mw="# @eser managed hook",BJ=async(e,t)=>{let n=await ue.getCliCommand({command:"eser",devCommand:"deno task cli",npmPackage:"eser",jsrPackage:"@eser/cli"}),r=t.length>0?` ${t}`:"",o=`${n} workflows run -e ${e}${r}`;return["#!/bin/sh",`${mw} \u2014 generated by \`eser codebase install\``,"# Do not edit. Re-run `eser codebase install` to update.","",o,""].join(`
188
- `)},VS=async()=>{try{let r=(await ue.current.exec.exec("git",["rev-parse","--git-dir"])).trim();if(r.length>0)return r}catch{}let e=ue.current.process.cwd(),t=ue.current.path.join(e,".git");try{if((await ue.current.fs.stat(t)).isDirectory)return t}catch{}return null},ZN=e=>{let t=e.workflows;if(!Array.isArray(t))return[];let n=new Set;for(let r of t)if(Array.isArray(r.on))for(let o of r.on)typeof o=="string"&&n.add(o);return[...n]},UJ=async e=>{let t=wt(e??[],{boolean:["force","dry-run","help"],alias:{h:"help",f:"force",n:"dry-run"}});if(t.help)return console.log("eser codebase install \u2014 Install git hooks from .manifest.yml"),console.log(""),console.log("Flags:"),console.log(" --force, -f Overwrite non-managed hooks"),console.log(" --dry-run, -n Show what would happen without writing"),console.log(" --help, -h Show this help"),K.ok(void 0);let n=t.force,r=t["dry-run"],o=await VS();if(o===null)return console.error(Ee.error("Error: not inside a git repository")),K.fail({exitCode:1});let i=ue.current.path.join(o,"hooks"),s=ue.current.process.cwd(),u=await tc(s);if(u===null)return console.error(Ee.error("Error: no .manifest.yml found in current directory")),K.fail({exitCode:1});let p=ZN(u);if(p.length===0)return console.log(Ee.warning("No workflow events found \u2014 nothing to install.")),K.ok(void 0);r||await ue.current.fs.ensureDir(i);let f=0,g=0,y=0;for(let w of p){let A=GS[w];if(A===void 0){console.log(Ee.dim(` skip ${w} (unknown event, no hook mapping)`));continue}let{hookName:F,args:D}=A,L=ue.current.path.join(i,F),U=await BJ(w,D),Y=!1,G=!1;try{let W=await ue.current.fs.readTextFile(L);Y=!0,G=W.includes(mw)}catch{}if(r){console.log(Y?G?Ee.info(` would update ${F} (managed)`):n?Ee.warning(` would overwrite ${F} (--force)`):Ee.warning(` would skip ${F} (user hook; use --force to overwrite)`):Ee.info(` would create ${F}`));continue}if(Y&&!G&&!n){console.log(Ee.warning(` skip ${F} \u2014 user hook exists (use --force to overwrite)`)),g++;continue}await ue.current.fs.writeTextFile(L,U);try{await ue.current.fs.chmod(L,493)}catch{}Y&&G?(console.log(Ee.success(` updated ${F}`)),y++):(console.log(Ee.success(` installed ${F}`)),f++)}console.log("");let x=[];return f>0&&x.push(`${f} installed`),y>0&&x.push(`${y} updated`),g>0&&x.push(`${g} skipped`),r?console.log(Ee.dim("(dry run \u2014 no changes made)")):x.length>0?console.log(Ee.success(`Done: ${x.join(", ")}.`)):console.log(Ee.dim("Nothing to do.")),K.ok(void 0)},zJ=async e=>{if(wt(e??[],{boolean:["help"],alias:{h:"help"}}).help)return console.log("eser codebase uninstall \u2014 Remove managed git hooks"),K.ok(void 0);let n=await VS();if(n===null)return console.error(Ee.error("Error: not inside a git repository")),K.fail({exitCode:1});let r=ue.current.path.join(n,"hooks"),o=0,i=Object.values(GS).map(u=>u.hookName),s=[...new Set(i)];for(let u of s){let p=ue.current.path.join(r,u);try{(await ue.current.fs.readTextFile(p)).includes(mw)&&(await ue.current.fs.remove(p),console.log(Ee.success(` removed ${u}`)),o++)}catch{}}return console.log(""),o>0?console.log(Ee.success(`Done: ${o} hook(s) removed.`)):console.log(Ee.dim("No managed hooks found.")),K.ok(void 0)},WJ=async e=>{if(wt(e??[],{boolean:["help"],alias:{h:"help"}}).help)return console.log("eser codebase status \u2014 Show git hook installation status"),K.ok(void 0);let n=await VS();if(n===null)return console.error(Ee.error("Error: not inside a git repository")),K.fail({exitCode:1});let r=ue.current.path.join(n,"hooks"),o=ue.current.process.cwd(),i=await tc(o);if(i===null)return console.error(Ee.error("Error: no .manifest.yml found in current directory")),K.fail({exitCode:1});let s=ZN(i);if(s.length===0)return console.log(Ee.dim("No workflow events found in manifest.")),K.ok(void 0);console.log(Ee.bold("Git hook status:")),console.log("");for(let u of s){let p=GS[u];if(p===void 0){console.log(` ${Ee.dim(u.padEnd(14))} ${Ee.dim("(no hook mapping)")}`);continue}let{hookName:f}=p,g=ue.current.path.join(r,f),y;try{(await ue.current.fs.readTextFile(g)).includes(mw)?y=Ee.success("managed (@eser)"):y=Ee.warning("user hook")}catch{y=Ee.dim("not installed")}console.log(` ${f.padEnd(14)} ${y}`)}return console.log(""),K.ok(void 0)}});var rB={};xe(rB,{fetchContributors:()=>jN,generateContributorMarkdown:()=>qN,getRepoInfo:()=>QN,handleCli:()=>nB,main:()=>VJ,replaceContributorSection:()=>$N,updateContributors:()=>eB,updateContributorsHandler:()=>tB});var yw,xw,Yg,QN,jN,qN,$N,eB,tB,HJ,GJ,nB,VJ,oB=k(async()=>{"use strict";Ri();dg();Ti();jt();Wa();as();ls();yw=Xt.createOutput(),xw="<!-- CONTRIBUTORS:START -->",Yg="<!-- CONTRIBUTORS:END -->",QN=async()=>{let e=await Kn.exec`gh repo view --json owner,name`.text(),t=JSON.parse(e);return{owner:t.owner.login,name:t.name}},jN=async(e,t)=>{let n=await Kn.exec`gh api repos/${e}/${t}/contributors --paginate`.text();return JSON.parse(n).filter(o=>!o.login.includes("[bot]"))},qN=(e,t=8)=>{if(e.length===0)return`${xw}
189
- ${Yg}`;let n=[];for(let r=0;r<e.length;r+=t){let i=e.slice(r,r+t).map(s=>` <td align="center"><a href="${s.html_url}"><img src="${s.avatar_url}?s=80" width="80" /><br /><sub>${s.login}</sub></a></td>`);n.push(` <tr>
190
- ${i.join(`
191
- `)}
192
- </tr>`)}return`${xw}
193
- <table>
194
- ${n.join(`
195
- `)}
196
- </table>
197
- ${Yg}`},$N=(e,t)=>{let n=e.indexOf(xw),r=e.indexOf(Yg);if(n===-1||r===-1)throw new Error(`Could not find contributor markers in README. Add '${xw}' and '${Yg}' markers to the file.`);let o=e.slice(0,n),i=e.slice(r+Yg.length),s=`${o}${t}${i}`;return{content:s,changed:s!==e}},eB=async(e={})=>{let{readmePath:t="README.md",columnsPerRow:n=8,commit:r=!1}=e,o=ts(t),i=await QN(),s=await jN(i.owner,i.name),u=qN(s,n),p=await ue.current.fs.readTextFile(o),{content:f,changed:g}=$N(p,u),y=!1;return g&&(await ue.current.fs.writeTextFile(o,f),r&&(await Kn.exec`git add ${o}`.spawn(),await Kn.exec`git -c user.name=${"github-actions[bot]"} -c user.email=${"github-actions[bot]@users.noreply.github.com"} commit -m ${"docs: update contributors list"}`.spawn(),await Kn.exec`git push`.spawn(),y=!0)),{contributorCount:s.length,readmePath:o,updated:g,committed:y}},tB=e=>Cn.fromPromise(()=>eB(e)),HJ=e=>{let t=e.flags.columns,n=t!==void 0?Number(t):void 0;return K.ok({readmePath:e.flags.readme??void 0,columnsPerRow:n,commit:e.flags.commit===!0})},GJ=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return yw.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.updated?t.committed?yw.printSuccess(`Updated ${t.contributorCount} contributors and committed changes.`):yw.printSuccess(`Updated ${t.contributorCount} contributors in ${t.readmePath}.`):yw.printInfo(`No changes \u2014 ${t.contributorCount} contributors already up to date.`),K.ok(void 0)},nB=mn.createTrigger({handler:tB,adaptInput:HJ,adaptOutput:GJ}),VJ=async e=>{let t=wt(e??[],{string:["columns","readme"],boolean:["commit"],alias:{h:"help"}});if(t.help)return console.log(`eser codebase gh contributors \u2014 Update contributor list
198
- `),console.log("Options:"),console.log(" --columns <n> Number of columns per row (default: 8)"),console.log(" --readme <path> Path to README.md (default: README.md)"),console.log(" --commit Auto-commit and push changes"),console.log(" --help, -h Show this help"),K.ok(void 0);let n=Ei("gh-contributors",t);return await nB(n)}});var pB={};xe(pB,{handleCli:()=>dB,hasGitHubRelease:()=>lB,main:()=>KJ,normalizeTag:()=>iB,parseChangelog:()=>aB,parseChangelogText:()=>sB,syncReleaseNotes:()=>cB,syncReleaseNotesHandler:()=>uB});var vw,YJ,iB,sB,aB,lB,cB,uB,XJ,JJ,dB,KJ,fB=k(async()=>{"use strict";Ri();dg();Ti();jt();Wa();as();ls();vw=Xt.createOutput(),YJ=/^##\s+\[?([^\]\s]+)\]?\s*-?\s*([0-9]{4}-[0-9]{2}-[0-9]{2})?\s*$/,iB=e=>{let t=e.trim().replace(/^refs\/tags\//,"");return t.startsWith("v")?t:`v${t}`},sB=e=>{let t=e.split(/\r?\n/),n=[];for(let r=0;r<t.length;r+=1){let i=t[r].match(YJ);i!==null&&/^\d/.test(i[1])&&n.push({version:i[1],date:i[2]??"",headingLineIndex:r})}return n.length===0?[]:n.map((r,o)=>{let i=n[o+1],s=r.headingLineIndex+1,u=i!==void 0?i.headingLineIndex:t.length,p=t.slice(s,u);for(;p.length>0&&p[0].trim()==="";)p.shift();for(;p.length>0&&p[p.length-1].trim()==="";)p.pop();let f=[`## ${r.version}${r.date!==""?` - ${r.date}`:""}`];return p.length>0&&f.push("",...p),{version:r.version,date:r.date,tag:`v${r.version}`,notes:`${f.join(`
199
- `).trim()}
200
- `}})},aB=async(e={})=>{let{changelogPath:t="CHANGELOG.md",root:n="."}=e,r=ts(n,t),o=await ue.current.fs.readTextFile(r);return{entries:sB(o)}},lB=async(e,t)=>{try{return await Kn.exec`gh release view ${e} --repo ${t}`.quiet().text(),!0}catch{return!1}},cB=async e=>{let{repo:t,createIfMissing:n=!1,changelogPath:r="CHANGELOG.md",root:o=".",releaseTitle:i="eserstack {tag}"}=e,{entries:s}=await aB({changelogPath:r,root:o});if(s.length===0)throw new Error("No release headings found in CHANGELOG.md.");let u=e.tag!==void 0?iB(e.tag):s[0].tag,p=s.find(y=>y.tag===u);if(p===void 0)throw new Error(`No matching changelog section found for ${u}.`);let f=await ue.current.fs.makeTempDir({prefix:"eserstack-release-"}),g=es(f,`${u}-notes.md`);await ue.current.fs.writeTextFile(g,p.notes);try{if(await lB(u,t))return await Kn.exec`gh release edit ${u} --repo ${t} --notes-file ${g}`.spawn(),{tag:u,entry:p,action:"updated"};if(!n)return{tag:u,entry:p,action:"skipped"};let x=i.replace("{tag}",u);try{return await Kn.exec`gh release create ${u} --repo ${t} --title ${x} --notes-file ${g}`.spawn(),{tag:u,entry:p,action:"created"}}catch{return await Kn.exec`gh release edit ${u} --repo ${t} --notes-file ${g}`.spawn(),{tag:u,entry:p,action:"updated"}}}finally{await ue.current.fs.remove(f,{recursive:!0})}},uB=e=>Cn.fromPromise(()=>cB(e)),XJ=e=>{let t=e.flags.repo??ue.current.env.get("GITHUB_REPOSITORY")??"";return t===""?K.fail(mn.adaptError("Missing repository. Pass --repo or set GITHUB_REPOSITORY.")):K.ok({repo:t,tag:e.flags.tag??void 0,createIfMissing:e.flags["create-if-missing"]===!0})},JJ=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return vw.printError(r),K.fail({exitCode:1})}let{value:t}=e;switch(t.action){case"created":vw.printSuccess(`Created release ${t.tag} with changelog notes.`);break;case"updated":vw.printSuccess(`Updated release notes for ${t.tag}.`);break;case"skipped":vw.printWarning(`Release ${t.tag} not found. Skipping (pass --create-if-missing to create).`);break}return K.ok(void 0)},dB=mn.createTrigger({handler:uB,adaptInput:XJ,adaptOutput:JJ}),KJ=async e=>{let t=wt(e??[],{string:["repo","tag"],boolean:["create-if-missing"],alias:{h:"help"}}),n=Ei("release-notes",t);return await dB(n)}});var mB,ZJ,hB,gB,yB,xB,YS=k(()=>{"use strict";zs();mB="#%$".repeat(35),ZJ=e=>{let t=e.split(mB).map(n=>{let r=n.slice(0,40);n=n.slice(40);let o=n.indexOf(`
201
- `);if(o<0)return{hash:r,subject:n.trim(),body:""};let i=n.slice(0,o).trim(),s=n.slice(o+1).trim();return{hash:r,subject:i,body:s}});return t.shift(),t},hB=async()=>await pt`git describe --tags --abbrev=0`.text(),gB=async(e,t)=>{let n=`--pretty=format:${mB}%H%B`,r=`${e}..${t}`,o=await pt`git --no-pager log ${n} ${r}`.text();return ZJ(o)},yB=async(e,t)=>{await pt`git tag -a ${e} -m ${t}`.spawn()},xB=async(e,t)=>{await pt`git push ${e} ${t}`.spawn()}});var XS={};xe(XS,{handleCli:()=>CB,main:()=>tK,readVersionFile:()=>Xa,showVersions:()=>vB,versions:()=>bB,versionsHandler:()=>wB});var jd,Xa,jJ,qJ,vB,bB,wB,$J,eK,CB,tK,sm=k(async()=>{Ri();dg();xE();Ti();jt();Wa();as();ls();Nf();jd=Xt.createOutput(),Xa=async(e={})=>{let{root:t="."}=e,n=es(t,"VERSION");try{return(await ue.current.fs.readTextFile(n)).trim()}catch{return}},jJ=async(e,t)=>{let n=es(e,"VERSION");await ue.current.fs.writeTextFile(n,t+`
202
- `)},qJ=e=>{let t=Au("0.0.0");for(let n of e){let r=Au(n);Ga(r,t)>0&&(t=r)}return Zb(t)},vB=async(e={})=>{let{root:t="."}=e,[n,r]=await Su(t),o=n.version?.value??"0.0.0";return{packages:[{name:n.name?.value??"(root)",version:o},...r.map(u=>({name:u.name,version:u.version}))]}},bB=async(e,t={})=>{let{root:n=".",dryRun:r=!1,updateVersionFile:o=!0}=t,[i,s]=await Su(n),u=i.version?.value??"0.0.0",p=i.name?.value??"(root)",f=[u,...s.map(D=>D.version)],g=qJ(f),y;if(e==="explicit"){if(t.explicitVersion===void 0)throw new Error('explicitVersion is required when command is "explicit".');Au(t.explicitVersion),y=t.explicitVersion}else e==="sync"?y=g:y=Zb(z2(Au(g),e));let x=[],w=u!==y;r||await Ub(i,y),x.push({name:p,from:u,to:y,changed:w});for(let D of s){let L=D.version!==y;r||await Ub(D.config,y),x.push({name:D.name,from:D.version,to:y,changed:L})}let A=[];if(o){let D=await Xa({root:n}),L=D!==y;!r&&L&&await jJ(n,y),A.push({path:"VERSION",from:D??"",to:y,changed:L})}let F=x.filter(D=>D.changed).length;return{command:e,targetVersion:y,updates:x,fileUpdates:A,changedCount:F,dryRun:r}},wB=e=>e.mode==="show"?Cn.fromPromise(async()=>({mode:"show",result:await vB()})):Cn.fromPromise(async()=>({mode:"update",result:await bB(e.command,e.options)})),$J=e=>{let t=e.args[0];if(t===void 0)return K.ok({mode:"show"});let n=["sync","patch","minor","major"],r,o;n.includes(t)?r=t:(r="explicit",o=t);let i=e.flags["dry-run"]===!0;return K.ok({mode:"update",command:r,options:{dryRun:i,explicitVersion:o}})},eK=e=>{if(K.isFail(e))return K.fail({exitCode:1,message:String(e.error)});let t=e.value;if(t.mode==="show")return console.table(t.result.packages),K.ok(void 0);let{result:n}=t;n.command==="sync"?jd.printInfo("Syncing all versions..."):n.command==="explicit"?jd.printInfo(`Setting all versions to ${n.targetVersion}...`):jd.printInfo(`Bumping all versions (${n.command})...`),jd.printInfo(`Target version: ${n.targetVersion}`),console.table(n.updates);for(let r of n.fileUpdates)r.changed&&jd.printInfo(`${r.path} (${r.from} \u2192 ${r.to})`);return n.dryRun?jd.printInfo(`Dry run - ${n.changedCount} packages would be modified.`):jd.printSuccess(`Done. Updated ${n.changedCount} packages.`),K.ok(void 0)},CB=mn.createTrigger({handler:wB,adaptInput:$J,adaptOutput:eK}),tK=async e=>{let t=wt(e??[],{boolean:["dry-run"]}),n=Ei("versions",t);return await CB(n)}});var EB={};xe(EB,{handleCli:()=>kB,main:()=>oK,pushReleaseTag:()=>RB,pushReleaseTagHandler:()=>TB});var bw,RB,TB,nK,rK,kB,oK,SB=k(async()=>{"use strict";Ri();Ti();jt();Wa();as();YS();await sm();ls();bw=Xt.createOutput(),RB=async(e={})=>{let{root:t=".",remote:n="origin",tagPrefix:r="v",messageTemplate:o="Release {tag}",dryRun:i=!1}=e,s=await Xa({root:t});if(s===void 0||!/^\d+\.\d+\.\d+$/.test(s))throw new Error(`Invalid or missing version in VERSION file: "${s}"`);let u=`${r}${s}`,p=o.replace("{tag}",u).replace("{version}",s);return i||(await yB(u,p),await xB(n,u)),{version:s,tag:u,remote:n,dryRun:i}},TB=e=>Cn.fromPromise(()=>RB(e)),nK=e=>K.ok({dryRun:e.flags["dry-run"]===!0}),rK=e=>{if(K.isFail(e))return bw.printError(e.error instanceof Error?e.error.message:String(e.error)),K.fail({exitCode:1});let{value:t}=e;return t.dryRun?bw.printWarning(`[DRY RUN] Would create and push tag ${t.tag}`):(bw.printSuccess(`Created tag ${t.tag}`),bw.printInfo(`Pushed tag ${t.tag} to ${t.remote}`)),K.ok(void 0)},kB=mn.createTrigger({handler:TB,adaptInput:nK,adaptOutput:rK}),oK=async e=>{let t=wt(e??[],{boolean:["dry-run"],alias:{n:"dry-run"}}),n=Ei("release-tag",t);return await kB(n)}});var FB={};xe(FB,{main:()=>iK});var AB,PB,iK,OB=k(async()=>{Ti();jt();as();ls();AB=Xt.createOutput(),PB=()=>{AB.printInfo(`eser codebase gh \u2014 GitHub operations
203
- `),console.log("Subcommands:"),console.log(" contributors Update contributor list in README.md"),console.log(" release-notes Sync CHANGELOG to GitHub Releases"),console.log(" release-tag Create and push release git tags"),console.log(`
204
- Run 'eser codebase gh <subcommand> --help' for details.`)},iK=async e=>{let t=e??[],n=t[0],r=t.slice(1);if(n===void 0||n==="--help"||n==="-h")return PB(),K.ok(void 0);switch(n){case"contributors":return await(await oB().then(()=>rB)).main(r);case"release-notes":return await(await fB().then(()=>pB)).main(r);case"release-tag":return await(await SB().then(()=>EB)).main(r);default:return AB.printError(`Unknown gh subcommand: ${n}
205
- `),PB(),K.fail({exitCode:1})}}});var JS={};xe(JS,{deduplicateCommits:()=>LB,generateChangelog:()=>zB,generateChangelogHandler:()=>WB,generateChangelogSection:()=>BB,groupBySection:()=>NB,handleCli:()=>HB,insertIntoChangelog:()=>UB,main:()=>pK,parseConventionalCommit:()=>IB,parseConventionalCommits:()=>_B,stripTakeSuffix:()=>DB});var ww,sK,MB,aK,lK,IB,DB,_B,LB,NB,cK,BB,UB,zB,WB,uK,dK,HB,pK,KS=k(async()=>{Ri();Ti();jt();Wa();as();YS();await sm();ls();ww=Xt.createOutput(),sK={feat:"Added",fix:"Fixed",refactor:"Changed",perf:"Changed",docs:"Changed",revert:"Removed"},MB=new Set(["chore","ci","test"]),aK=/^(\w+)(?:\(([^)]+)\))?!?:\s*(.+)$/,lK=/\s*\(take\s+[IVXLCDM\d]+\)\s*\.?$/i,IB=(e,t)=>{let n=e.match(aK);if(n!==null)return{type:n[1].toLowerCase(),scope:n[2],message:n[3].trim(),hash:t}},DB=e=>e.replace(lK,"").trim(),_B=e=>{let t=[];for(let n of e){let r=IB(n.subject,n.hash);r!==void 0&&t.push(r)}return t},LB=e=>{let t=new Set,n=[];for(let r of e){let o=DB(r.message),i=o.replace(/[.\s]+$/,"").toLowerCase(),s=`${r.type}:${i}`;t.has(s)||(t.add(s),n.push({...r,message:o}))}return n},NB=e=>{let t=new Map;for(let n of e){if(MB.has(n.type))continue;let r=sK[n.type];if(r===void 0)continue;let o=t.get(r);o!==void 0?o.push(n):t.set(r,[n])}return t},cK=e=>e.scope!==void 0?`- **${e.scope}:** ${e.message}`:`- ${e.message}`,BB=(e,t)=>{let n=NB(t);if(n.size===0)return"";let r=new Date().toISOString().split("T")[0],o=[`## ${e} - ${r}`],i=["Added","Changed","Fixed","Removed"];for(let s of i){let u=n.get(s);if(!(u===void 0||u.length===0)){o.push("",`### ${s}`,"");for(let p of u)o.push(cK(p))}}return o.join(`
206
- `)},UB=(e,t,n)=>{let r=e.split(`
207
- `);if(n!==void 0){let u=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),p=new RegExp(`^##\\s+${u}\\b`),f=r.findIndex(g=>p.test(g));if(f!==-1){let g=r.length;for(let y=f+1;y<r.length;y++)if(/^##\s+/.test(r[y])){g=y;break}return r.splice(f,g-f,t),r.join(`
208
- `)}}let o=r.findIndex(u=>/^##\s+\[Unreleased\]/i.test(u));if(o===-1){let u=r.findIndex((f,g)=>g>0&&f.startsWith("## ")),p=u===-1?r.length:u;return r.splice(p,0,"",t,""),r.join(`
209
- `)}let i=-1;for(let u=o+1;u<r.length;u++)if(/^##\s+/.test(r[u])){i=u;break}let s=i===-1?r.length:i;return r.splice(s,0,t,""),r.join(`
210
- `)},zB=async(e={})=>{let{root:t=".",dryRun:n=!1}=e,r=await Xa({root:t});if(r===void 0||r==="")throw new Error("VERSION file is missing or empty.");let o;try{o=await hB()}catch{throw new Error("No git tags found. Create an initial tag first (e.g., git tag v0.0.0).")}let i=await gB(o,"HEAD");if(i.length===0)throw new Error(`No commits found since ${o}. Nothing to release.`);let s=_B(i),u=LB(s),p=BB(r,u);if(p==="")throw new Error("No user-facing changes found (all commits are chore/ci/test). Nothing to add to CHANGELOG.");if(!n){let f=ue.current.path.join(t,"CHANGELOG.md"),g;try{g=await ue.current.fs.readTextFile(f)}catch{throw new Error(`CHANGELOG.md not found at ${f}. Create one first.`)}let y=UB(g,p,r);await ue.current.fs.writeTextFile(f,y)}return{version:r,commitCount:i.length,entryCount:u.filter(f=>!MB.has(f.type)).length,content:p,dryRun:n}},WB=e=>Cn.fromPromise(()=>zB(e)),uK=e=>K.ok({dryRun:e.flags["dry-run"]===!0}),dK=e=>{if(K.isFail(e))return ww.printError(e.error instanceof Error?e.error.message:String(e.error)),K.fail({exitCode:1});let{value:t}=e;return t.dryRun?(ww.printWarning("[DRY RUN] Generated changelog preview:"),ww.printInfo(`
211
- ${t.content}`)):ww.printSuccess(`Added ${t.entryCount} entries to CHANGELOG.md for v${t.version}`),K.ok(void 0)},HB=mn.createTrigger({handler:WB,adaptInput:uK,adaptOutput:dK}),pK=async e=>{let t=wt(e??[],{boolean:["dry-run"],alias:{n:"dry-run"}}),n=Ei("changelog-gen",t);return await HB(n)}});var Cw={};xe(Cw,{handleReleaseCli:()=>jB,handleRereleaseCli:()=>qB,handleUnreleaseCli:()=>$B,main:()=>RK,release:()=>YB,releaseHandler:()=>KB,rerelease:()=>XB,rereleaseHandler:()=>ZB,rereleaseMain:()=>TK,unrelease:()=>JB,unreleaseHandler:()=>QB,unreleaseMain:()=>kK});var Fr,GB,VB,fK,mK,hK,gK,YB,XB,JB,KB,ZB,QB,yK,xK,vK,bK,wK,CK,jB,qB,$B,RK,TK,kK,Rw=k(async()=>{Ri();Ti();jt();Wa();as();zs();await sm();ls();Fr=Xt.createOutput(),GB=async()=>(await pt`git status --porcelain`.noThrow().text()).length===0,VB=async()=>{let e=await pt`git log @{u}..HEAD --oneline`.noThrow().text();return e.length>0?e.split(`
212
- `):[]},fK=async(e,t)=>{for(let n of t)await pt`git add ${n}`.spawn();await pt`git commit -m ${e}`.spawn()},mK=async()=>{await pt`git push origin HEAD`.spawn()},hK=async e=>{await pt`git tag -d ${e}`.noThrow().spawn();let t=`:refs/tags/${e}`;await pt`git push origin ${t}`.noThrow().spawn()},gK=async e=>{let t=new TextEncoder,n=new TextDecoder,r=new Uint8Array(256);await Deno.stderr.write(t.encode(`${e} [y/N] `));let o=await Deno.stdin.read(r),i=n.decode(r.subarray(0,o??0)).trim();return i==="y"||i==="Y"},YB=async e=>{let{type:t,dryRun:n=!1}=e;if(!await GB())throw new Error("Working tree is dirty. Commit or stash changes first.");let r=await VB();if(r.length>0&&e.yes!==!0)throw new Error(`You have ${r.length} unpushed commit(s):
213
- ${r.join(`
214
- `)}
215
-
216
- Push first, or re-run with --yes to continue anyway.`);let o=await Xa()??"0.0.0";t!=="same"&&await(await sm().then(()=>XS)).versions(t,{dryRun:n});let i=await Xa()??o,s=!1;try{await(await KS().then(()=>JS)).generateChangelog({dryRun:n}),s=!0}catch{s=!1}let u=!1,p=!1;if(!n){s&&await pt`deno fmt CHANGELOG.md`.noThrow().spawn();let f=["VERSION","CHANGELOG.md","pkg/*/deno.json","pkg/*/package.json","package.json"],g=`chore(codebase): release v${i}`;await fK(g,f),u=!0,await mK(),p=!0}return{version:i,previousVersion:o,changelogGenerated:s,committed:u,pushed:p,dryRun:n}},XB=async(e={})=>{let{dryRun:t=!1}=e;if(!await GB())throw new Error("Working tree is dirty. Commit and push first.");let n=await VB();if(n.length>0)throw new Error(`You have unpushed commits. Push first, then rerelease.
217
- ${n.join(`
218
- `)}`);let r=await Xa();if(r===void 0||!/^\d+\.\d+\.\d+$/.test(r))throw new Error(`Invalid or missing version in VERSION file: "${r}"`);let o=`v${r}`;if(!t){let i=`chore(codebase): release v${r}`;await pt`git commit --allow-empty -m ${i}`.spawn(),await pt`git push origin HEAD`.spawn()}return{version:r,tag:o,dryRun:t}},JB=async(e={})=>{let t=await Xa();if(t===void 0||!/^\d+\.\d+\.\d+$/.test(t))throw new Error(`Invalid or missing version in VERSION file: "${t}"`);let n=`v${t}`;if(e.yes!==!0)throw new Error(`This will delete tag ${n} locally and remotely. Re-run with --yes to confirm.`);return await hK(n),{version:t,tag:n,deleted:!0}},KB=e=>Cn.fromPromise(()=>YB(e)),ZB=e=>Cn.fromPromise(()=>XB(e)),QB=e=>Cn.fromPromise(()=>JB(e)),yK=e=>{let t=e.args[0];return t===void 0||!["patch","minor","major","same"].includes(t)?K.fail(mn.adaptError("Usage: eser codebase release <patch|minor|major|same> [--dry-run] [--yes]")):K.ok({type:t,dryRun:e.flags["dry-run"]===!0,yes:e.flags.yes===!0})},xK=e=>K.ok({dryRun:e.flags["dry-run"]===!0}),vK=e=>K.ok({yes:e.flags.yes===!0}),bK=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Fr.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.dryRun?(Fr.printWarning("[DRY RUN] Release preview:"),Fr.printInfo(` Version: ${t.previousVersion} -> ${t.version}`),Fr.printInfo(` Changelog: ${t.changelogGenerated?"generated":"no user-facing changes"}`),Fr.printInfo(" No changes were made.")):(Fr.printSuccess(`Released v${t.version}`),Fr.printInfo(` Version: ${t.previousVersion} -> ${t.version}`),Fr.printInfo(` Changelog: ${t.changelogGenerated?"updated":"no user-facing changes"}`),Fr.printInfo(` Committed: ${t.committed}`),Fr.printInfo(` Pushed: ${t.pushed}`),Fr.printInfo(" CI will validate, tag, and publish."),Fr.printInfo(" Watch: https://github.com/eser/stack/actions")),K.ok(void 0)},wK=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Fr.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.dryRun?Fr.printWarning(`[DRY RUN] Would delete and recreate tag ${t.tag}`):(Fr.printSuccess(`Re-tagged ${t.tag}`),Fr.printInfo("CI will validate and publish.")),K.ok(void 0)},CK=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Fr.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.deleted&&Fr.printSuccess(`Deleted tag v${t.version} (local + remote).`),K.ok(void 0)},jB=mn.createTrigger({handler:KB,adaptInput:yK,adaptOutput:bK}),qB=mn.createTrigger({handler:ZB,adaptInput:xK,adaptOutput:wK}),$B=mn.createTrigger({handler:QB,adaptInput:vK,adaptOutput:CK}),RK=async e=>{let t=wt(e??[],{boolean:["dry-run","yes"],alias:{n:"dry-run",y:"yes"}}),n=t._[0],r=t["dry-run"]===!0,o=t.yes===!0;if(n!==void 0&&!r&&!o&&["patch","minor","major","same"].includes(n)){let s=await Xa()??"0.0.0";if(Fr.printInfo(`Current version: ${s}`),Fr.printInfo(`Bump type: ${n}`),Fr.printInfo("This will bump version, generate changelog, commit, and push."),!await gK("Proceed?"))return Fr.printWarning("Aborted."),K.ok(void 0);t.yes=!0}let i=Ei("release",t);return await jB(i)},TK=async e=>{let t=wt(e??[],{boolean:["dry-run"],alias:{n:"dry-run"}}),n=Ei("rerelease",t);return await qB(n)},kK=async e=>{let t=wt(e??[],{boolean:["yes"],alias:{y:"yes"}}),n=Ei("unrelease",t);return await $B(n)}});var jS={};xe(jS,{createLogRecord:()=>QS,isCategory:()=>i3,isLogRecord:()=>PK});var i3,PK,QS,qS=k(()=>{"use strict";i3=e=>Array.isArray(e)&&e.every(t=>typeof t=="string"),PK=e=>{if(typeof e!="object"||e===null)return!1;let t=e;return typeof t.message=="string"&&t.datetime instanceof Date&&typeof t.severity=="number"&&i3(t.category)&&typeof t.properties=="object"&&typeof t.context=="object"},QS=e=>({rawMessage:e.rawMessage??e.message,args:e.args??[],datetime:e.datetime??new Date,properties:e.properties??{},context:e.context??{},...e})});var eP={};xe(eP,{categoriesEqual:()=>FK,categoryKey:()=>Mu,categoryToString:()=>Ou,extendCategory:()=>lm,findMatchingConfigs:()=>$S,getCommonAncestor:()=>MK,getParentCategory:()=>OK,isAncestor:()=>AK,isDescendant:()=>s3,isDescendantOrSelf:()=>kw,matchesPattern:()=>Ew,normalizeCategory:()=>Io});var Io,Ou,Mu,s3,kw,AK,FK,$S,OK,lm,MK,Ew,qd=k(()=>{"use strict";Io=e=>typeof e=="string"?e.split(".").filter(Boolean):e,Ou=(e,t=".")=>e.join(t),Mu=e=>e.join("\0"),s3=(e,t)=>e.length<=t.length?!1:t.every((n,r)=>e[r]===n),kw=(e,t)=>e.length<t.length?!1:t.every((n,r)=>e[r]===n),AK=(e,t)=>s3(t,e),FK=(e,t)=>e.length!==t.length?!1:e.every((n,r)=>n===t[r]),$S=(e,t)=>{let n=[];for(let r of t.values()){let o=Io(r.category);kw(e,o)&&n.push(r)}return n.sort((r,o)=>{let i=Io(r.category).length;return Io(o.category).length-i}),n},OK=e=>e.length<=1?null:e.slice(0,-1),lm=(e,t)=>{let n=typeof t=="string"?[t]:t;return[...e,...n]},MK=(e,t)=>{let n=[],r=Math.min(e.length,t.length);for(let o=0;o<r&&e[o]===t[o];o++)n.push(e[o]);return n},Ew=(e,t)=>{let n=0,r=0;for(;r<t.length&&n<e.length;){let o=t[r];if(o==="**"){if(r===t.length-1)return!0;for(let i=n;i<=e.length;i++)if(Ew(e.slice(i),t.slice(r+1)))return!0;return!1}if(o==="*"||o===e[n])n++,r++;else return!1}for(;r<t.length&&t[r]==="**";)r++;return n===e.length&&r===t.length}});var iP={};xe(iP,{applyPrefixToCategory:()=>oP,clearDefaultStorages:()=>Fw,createCategoryPrefixScope:()=>LK,createContextScope:()=>_K,getCategoryPrefix:()=>u3,getCategoryPrefixStorage:()=>nP,getContext:()=>rP,getContextStorage:()=>tP,setCategoryPrefixStorage:()=>Aw,setContextStorage:()=>cm,withCategoryPrefix:()=>c3,withContext:()=>Xg});var Sw,Pw,IK,DK,a3,l3,cm,Aw,Fw,tP,nP,Xg,rP,c3,u3,oP,_K,LK,Jg=k(()=>{"use strict";qd();IK=()=>{if(Sw===void 0)try{let e=globalThis.AsyncLocalStorage??globalThis.require?.("async_hooks")?.AsyncLocalStorage;e&&(Sw=new e)}catch{}return Sw},DK=()=>{if(Pw===void 0)try{let e=globalThis.AsyncLocalStorage??globalThis.require?.("async_hooks")?.AsyncLocalStorage;e&&(Pw=new e)}catch{}return Pw},cm=e=>{a3=e},Aw=e=>{l3=e},Fw=()=>{Sw=void 0,Pw=void 0},tP=()=>a3??IK(),nP=()=>l3??DK(),Xg=(e,t)=>{let n=tP();if(!n)return t();let o={...n.getStore()??{},...e};return n.run(o,t)},rP=()=>{let e=tP();return e?e.getStore()??{}:{}},c3=(e,t)=>{let n=nP(),r=Io(e);if(!n)return t();let o=n.getStore()??[],i=lm(o,r);return n.run(i,t)},u3=()=>{let e=nP();return e?e.getStore()??[]:[]},oP=e=>{let t=u3();return t.length===0?e:lm(t,e)},_K=e=>t=>Xg(e,t),LK=e=>t=>c3(e,t)});var Kg={};xe(Kg,{configure:()=>UK,configureSync:()=>zK,getEffectiveConfig:()=>lP,getFilterNames:()=>JK,getLoggerCategories:()=>KK,getRegistryState:()=>NK,getSinkNames:()=>XK,isConfigured:()=>BK,registerFilter:()=>GK,registerLogger:()=>YK,registerLoggerCacheClear:()=>aP,registerSink:()=>WK,reset:()=>d3,resetSync:()=>p3,unregisterFilter:()=>VK,unregisterSink:()=>HK});var sP,aP,kt,wl,NK,BK,UK,zK,d3,p3,lP,WK,HK,GK,VK,YK,XK,JK,KK,cP=k(()=>{"use strict";Bf();qd();Jg();sP=null,aP=e=>{sP=e},kt=null,wl=new Map,NK=()=>kt,BK=()=>kt!==null,UK=async e=>{(e.reset||kt===null)&&await d3(),kt={sinks:new Map(Object.entries(e.sinks)),filters:new Map(Object.entries(e.filters??{})),loggers:new Map,contextLocalStorage:e.contextLocalStorage};for(let t of e.loggers){let n=Io(t.category),r=Mu(n);kt.loggers.set(r,{...t,category:n})}e.contextLocalStorage&&cm(e.contextLocalStorage),wl.clear()},zK=e=>{(e.reset||kt===null)&&p3(),kt={sinks:new Map(Object.entries(e.sinks)),filters:new Map(Object.entries(e.filters??{})),loggers:new Map,contextLocalStorage:e.contextLocalStorage};for(let t of e.loggers){let n=Io(t.category),r=Mu(n);kt.loggers.set(r,{...t,category:n})}e.contextLocalStorage&&cm(e.contextLocalStorage),wl.clear()},d3=async()=>{if(kt)for(let e of kt.sinks.values()){let t=e;typeof t.dispose=="function"?await t.dispose():typeof t[Symbol.asyncDispose]=="function"&&await t[Symbol.asyncDispose]()}kt=null,wl.clear(),sP?.(),cm(void 0),Aw(void 0),Fw()},p3=()=>{if(kt)for(let e of kt.sinks.values()){let t=e;typeof t.disposeSync=="function"?t.disposeSync():typeof t[Symbol.dispose]=="function"&&t[Symbol.dispose]()}kt=null,wl.clear(),sP?.(),cm(void 0),Aw(void 0),Fw()},lP=e=>{let t=Mu(e),n=wl.get(t);if(n)return n;let r={sinks:[],filters:[],lowestLevel:Le.Info};if(!kt)return r;let o=$S(e,kt.loggers),i=new Set,s=new Set,u=!1;for(let p of o){if(p.sinks&&p.sinks.length>0){p.parentSinks==="override"&&i.clear();for(let f of p.sinks)i.add(f)}if(p.filters)for(let f of p.filters)s.add(f);!u&&p.lowestLevel!==void 0&&(r.lowestLevel=p.lowestLevel,u=!0)}for(let p of i){let f=kt.sinks.get(p);f&&r.sinks.push(f)}for(let p of s){let f=kt.filters.get(p);f&&r.filters.push(f)}return wl.set(t,r),r},WK=(e,t)=>{if(!kt)throw new Error("Logging not configured. Call configure() first.");kt.sinks.set(e,t),wl.clear()},HK=e=>{kt&&(kt.sinks.delete(e),wl.clear())},GK=(e,t)=>{if(!kt)throw new Error("Logging not configured. Call configure() first.");kt.filters.set(e,t),wl.clear()},VK=e=>{kt&&(kt.filters.delete(e),wl.clear())},YK=e=>{if(!kt)throw new Error("Logging not configured. Call configure() first.");let t=Io(e.category),n=Mu(t);kt.loggers.set(n,{...e,category:t}),wl.clear()},XK=()=>kt?Array.from(kt.sinks.keys()):[],JK=()=>kt?Array.from(kt.filters.keys()):[],KK=()=>kt?Array.from(kt.loggers.values()).map(e=>Io(e.category)):[]});var fe={};xe(fe,{DEFAULT_LEVEL:()=>ZK,Logger:()=>Zg,clearLoggerCache:()=>f3,current:()=>m3,getLogger:()=>QK});var ZK,Zg,uP,QK,f3,m3,dP=k(()=>{"use strict";Bf();qS();qd();cP();Jg();ZK=Le.Info,Zg=class e{category;parent;#e;#t=null;constructor(t,n=null,r={}){this.category=Io(t),this.parent=n,this.#e=r}#n(){return this.#t===null&&(this.#t=lP(this.category)),this.#t}getChild(t){let n=lm(this.category,Io(t));return new e(n,this,this.#e)}with(t){return new e(this.category,this.parent,{...this.#e,...t})}get loggerName(){return Ou(this.category)}asString(t,n=!1){return typeof t=="string"?n?`"${t}"`:t:t===null||typeof t=="number"||typeof t=="bigint"||typeof t=="boolean"||typeof t>"u"||typeof t=="symbol"?String(t):t instanceof Error?t.stack:t!==null&&typeof t=="object"?Array.isArray(t)?JSON.stringify(t):`{${Object.entries(t).map(([r,o])=>`"${r}":${this.asString(o,!0)}`).join(",")}}`:"undefined"}async log(t,n,...r){let o=this.#n();if(t<o.lowestLevel)return n instanceof Function?void 0:n;let i,s;n instanceof Function?(i=n(),s=this.asString(i)):s=this.asString(n);let u=rP(),p=QS({message:s,rawMessage:s,args:r,datetime:new Date,severity:t,category:this.category,properties:this.#e,context:u});for(let f of o.filters)if(!f(p))return n instanceof Function?i:n;return o.sinks.length>0&&await Promise.all(o.sinks.map(f=>f(p))),n instanceof Function?i:n}debug(t,...n){return this.log(Le.Debug,t,...n)}info(t,...n){return this.log(Le.Info,t,...n)}warn(t,...n){return this.log(Le.Warning,t,...n)}error(t,...n){return this.log(Le.Error,t,...n)}critical(t,...n){return this.log(Le.Critical,t,...n)}emergency(t,...n){return this.log(Le.Emergency,t,...n)}alert(t,...n){return this.log(Le.Alert,t,...n)}notice(t,...n){return this.log(Le.Notice,t,...n)}trace(t,...n){return this.log(Le.Trace,t,...n)}},uP=new Map,QK=e=>{let t=oP(Io(e)),n=Mu(t),r=uP.get(n);return r||(r=new Zg(t),uP.set(n,r)),r},f3=()=>{uP.clear()};aP(f3);m3=new Zg(["default"])});var Qg={};xe(Qg,{ansiColorFormatter:()=>x3,defaultAnsiColorFormatter:()=>tZ,defaultTextFormatter:()=>mP,jsonFormatter:()=>fP,jsonLinesFormatter:()=>eZ,textFormatter:()=>y3});var Or,pP,jK,qK,h3,$K,g3,fP,y3,x3,eZ,mP,tZ,hP=k(()=>{"use strict";Bf();qd();Or={reset:"\x1B[0m",bold:"\x1B[1m",dim:"\x1B[2m",black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m",gray:"\x1B[90m",bgRed:"\x1B[41m",bgYellow:"\x1B[43m"},pP={[Le.Trace]:"TRCE",[Le.Debug]:"DBUG",[Le.Info]:"INFO",[Le.Notice]:"NOTC",[Le.Warning]:"WARN",[Le.Error]:"ERRO",[Le.Critical]:"CRIT",[Le.Alert]:"ALRT",[Le.Emergency]:"EMRG"},jK={[Le.Trace]:`${Or.dim}${Or.magenta}`,[Le.Debug]:Or.gray,[Le.Info]:Or.green,[Le.Notice]:Or.cyan,[Le.Warning]:Or.yellow,[Le.Error]:Or.red,[Le.Critical]:`${Or.red}${Or.bold}`,[Le.Alert]:`${Or.bgRed}${Or.white}`,[Le.Emergency]:`${Or.bgRed}${Or.white}${Or.bold}`},qK=e=>e.length>1?e:e[0],h3=(e,t)=>{if(t==="none")return"";if(typeof t=="function")return t(e);let n=e.toISOString(),r=n.slice(0,10),o=n.slice(11,19),i=n.slice(19);switch(t){case"rfc3339":return n;case"date-time-timezone":case void 0:return`${r} ${o}${i}`;case"date-time":return`${r} ${o}`;case"time-timezone":return`${o}${i}`;case"time":return o;case"date":return r}},$K=e=>{try{return JSON.stringify(e)}catch{return String(e)}},g3=(e,t)=>{let n={...t,...e},r=Object.entries(n);return r.length===0?"":" "+r.map(([o,i])=>{let s=typeof i=="string"?i:$K(i);return`${o}=${s}`}).join(" ")},fP=e=>{let t={level:Vb[e.severity],datetime:e.datetime.getTime(),category:Ou(e.category),message:e.message};e.args.length>0&&(t.args=qK(e.args));let n={...e.context,...e.properties};return Object.keys(n).length>0&&(t.properties=n),`${JSON.stringify(t)}
219
- `},y3=(e={})=>{let{timestamp:t="date-time-timezone",categorySeparator:n=".",includeLevel:r=!0,includeCategory:o=!0}=e;return i=>{let s=[],u=h3(i.datetime,t);u&&s.push(u),r&&s.push(pP[i.severity]??"????"),o&&i.category.length>0&&s.push(`[${Ou(i.category,n)}]`),s.push(i.message);let p=g3(i.properties,i.context);return`${s.join(" ")}${p}
220
- `}},x3=(e={})=>{let{timestamp:t="date-time-timezone",categorySeparator:n=".",includeLevel:r=!0,includeCategory:o=!0}=e;return i=>{let s=[],u=jK[i.severity]??"",p=h3(i.datetime,t);if(p&&s.push(`${Or.dim}${p}${Or.reset}`),r){let g=pP[i.severity]??"????";s.push(`${u}${g}${Or.reset}`)}if(o&&i.category.length>0){let g=Ou(i.category,n);s.push(`${Or.cyan}[${g}]${Or.reset}`)}i.severity>=Le.Error?s.push(`${u}${i.message}${Or.reset}`):s.push(i.message);let f=g3(i.properties,i.context);return f&&s.push(`${Or.dim}${f.trim()}${Or.reset}`),`${s.join(" ")}
221
- `}},eZ=e=>JSON.stringify({ts:e.datetime.getTime(),lvl:pP[e.severity],cat:Ou(e.category),msg:e.message,...e.args.length>0?{args:e.args}:{},...e.context,...e.properties})+`
222
- `,mP=y3(),tZ=x3()});var jg={};xe(jg,{fingersCrossedSink:()=>aZ,getBufferedSink:()=>sZ,getCallbackSink:()=>uZ,getConsoleSink:()=>nZ,getStreamSink:()=>rZ,getTestSink:()=>cZ,multiplexSink:()=>iZ,nullSink:()=>lZ,withFilter:()=>oZ});var nZ,rZ,oZ,iZ,sZ,aZ,lZ,cZ,uZ,v3=k(()=>{"use strict";hP();nZ=(e={})=>{let{formatter:t=mP,stderr:n=!1}=e;return r=>{let o=t(r);n?console.error(o.trimEnd()):console.log(o.trimEnd())}},rZ=(e,t={})=>{let{formatter:n=fP}=t,r=new TextEncoder;return async o=>{let i=e.getWriter();try{await i.ready;let s=n(o);await i.write(r.encode(s))}catch(s){throw new Error("Stream sink write failed",{cause:s})}finally{i.releaseLock()}}},oZ=(e,t)=>n=>{if(t(n))return e(n)},iZ=(...e)=>async t=>{await Promise.all(e.map(n=>n(t)))},sZ=(e,t={})=>{let{maxSize:n=100,flushIntervalMs:r=5e3}=t,o=[],i=null,s=async()=>{if(o.length===0)return;let f=o;o=[],i&&(clearTimeout(i),i=null),await Promise.all(f.map(g=>e(g)))},u=()=>{i===null&&(i=setTimeout(()=>{i=null,s().catch(()=>{})},r))},p=async f=>{o.push(f),o.length>=n?await s():u()};return p.flush=s,p},aZ=(e,t={})=>{let{triggerLevel:n=17,maxBufferSize:r=1e3}=t,o=[],i=!1,s=async()=>{let f=o;o=[],i=!0,await Promise.all(f.map(g=>e(g)))},u=()=>{o=[],i=!1},p=async f=>{if(i){await e(f);return}if(f.severity>=n){o.push(f),await s();return}o.push(f),o.length>r&&o.shift()};return p.flush=s,p.clear=u,p},lZ=e=>{},cZ=()=>{let e=[];return{sink:n=>{e.push(n)},records:e}},uZ=e=>e});var gP={};xe(gP,{anyFilter:()=>vZ,combineFilters:()=>xZ,getCategoryFilter:()=>pZ,getCategoryPatternFilter:()=>fZ,getLevelFilter:()=>dZ,getMessageFilter:()=>gZ,getMessageRegexFilter:()=>yZ,getPropertyFilter:()=>mZ,getPropertyValueFilter:()=>hZ,getRateLimitFilter:()=>RZ,getSamplingFilter:()=>TZ,notFilter:()=>bZ,passAllFilter:()=>wZ,rejectAllFilter:()=>CZ});var dZ,pZ,fZ,mZ,hZ,gZ,yZ,xZ,vZ,bZ,wZ,CZ,RZ,TZ,b3=k(()=>{"use strict";qd();dZ=e=>t=>t.severity>=e,pZ=e=>{let t=Io(e);return n=>kw(n.category,t)},fZ=e=>{let t=Io(e);return n=>Ew(n.category,t)},mZ=e=>t=>e in t.properties||e in t.context,hZ=(e,t)=>n=>{let r=n.properties[e]??n.context[e];return t(r)},gZ=(e,t=!1)=>n=>t?n.message.includes(e):n.message.toLowerCase().includes(e.toLowerCase()),yZ=e=>t=>e.test(t.message),xZ=(...e)=>t=>e.every(n=>n(t)),vZ=(...e)=>t=>e.some(n=>n(t)),bZ=e=>t=>!e(t),wZ=e=>!0,CZ=e=>!1,RZ=(e,t)=>{if(e<=0||!Number.isInteger(e))throw new Error("maxRecords must be a positive integer");if(t<=0||!Number.isFinite(t))throw new Error("windowMs must be a positive number");let n=0,r=Date.now();return o=>{let i=Date.now();return i-r>=t&&(r=i,n=0),n>=e?!1:(n++,!0)}},TZ=e=>{if(e<=0||!Number.isFinite(e))throw new Error("sampleRate must be a positive number");return t=>Math.random()<1/e}});var w3,C3=k(()=>{w3=typeof globalThis=="object"?globalThis:global});var R3=k(()=>{C3()});var T3=k(()=>{R3()});var Nc,yP=k(()=>{Nc="1.9.0"});function kZ(e){var t=new Set([e]),n=new Set,r=e.match(k3);if(!r)return function(){return!1};var o={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(o.prerelease!=null)return function(p){return p===e};function i(u){return n.add(u),!1}function s(u){return t.add(u),!0}return function(p){if(t.has(p))return!0;if(n.has(p))return!1;var f=p.match(k3);if(!f)return i(p);var g={major:+f[1],minor:+f[2],patch:+f[3],prerelease:f[4]};return g.prerelease!=null||o.major!==g.major?i(p):o.major===0?o.minor===g.minor&&o.patch<=g.patch?s(p):i(p):o.minor<=g.minor?s(p):i(p)}}var k3,E3,S3=k(()=>{yP();k3=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;E3=kZ(Nc)});function Iu(e,t,n,r){var o;r===void 0&&(r=!1);var i=$g[qg]=(o=$g[qg])!==null&&o!==void 0?o:{version:Nc};if(!r&&i[e]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return n.error(s.stack||s.message),!1}if(i.version!==Nc){var s=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+e+" does not match previously registered API v"+Nc);return n.error(s.stack||s.message),!1}return i[e]=t,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+Nc+"."),!0}function Cl(e){var t,n,r=(t=$g[qg])===null||t===void 0?void 0:t.version;if(!(!r||!E3(r)))return(n=$g[qg])===null||n===void 0?void 0:n[e]}function Du(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+Nc+".");var n=$g[qg];n&&delete n[e]}var EZ,qg,$g,um=k(()=>{T3();yP();S3();EZ=Nc.split(".")[0],qg=Symbol.for("opentelemetry.js.api."+EZ),$g=w3});function ey(e,t,n){var r=Cl("diag");if(r)return n.unshift(t),r[e].apply(r,PZ([],SZ(n),!1))}var SZ,PZ,P3,A3=k(()=>{um();SZ=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(u){s={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},PZ=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},P3=function(){function e(t){this._namespace=t.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ey("debug",this._namespace,t)},e.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ey("error",this._namespace,t)},e.prototype.info=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ey("info",this._namespace,t)},e.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ey("warn",this._namespace,t)},e.prototype.verbose=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ey("verbose",this._namespace,t)},e}()});var cs,xP=k(()=>{(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(cs||(cs={}))});function F3(e,t){e<cs.NONE?e=cs.NONE:e>cs.ALL&&(e=cs.ALL),t=t||{};function n(r,o){var i=t[r];return typeof i=="function"&&e>=o?i.bind(t):function(){}}return{error:n("error",cs.ERROR),warn:n("warn",cs.WARN),info:n("info",cs.INFO),debug:n("debug",cs.DEBUG),verbose:n("verbose",cs.VERBOSE)}}var O3=k(()=>{xP()});var AZ,FZ,OZ,Rl,ty=k(()=>{A3();O3();xP();um();AZ=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(u){s={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},FZ=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},OZ="diag",Rl=function(){function e(){function t(o){return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var u=Cl("diag");if(u)return u[o].apply(u,FZ([],AZ(i),!1))}}var n=this,r=function(o,i){var s,u,p;if(i===void 0&&(i={logLevel:cs.INFO}),o===n){var f=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error((s=f.stack)!==null&&s!==void 0?s:f.message),!1}typeof i=="number"&&(i={logLevel:i});var g=Cl("diag"),y=F3((u=i.logLevel)!==null&&u!==void 0?u:cs.INFO,o);if(g&&!i.suppressOverrideMessage){var x=(p=new Error().stack)!==null&&p!==void 0?p:"<failed to generate stacktrace>";g.warn("Current logger will be overwritten from "+x),y.warn("Current logger will overwrite one already registered from "+x)}return Iu("diag",y,n,!0)};n.setLogger=r,n.disable=function(){Du(OZ,n)},n.createComponentLogger=function(o){return new P3(o)},n.verbose=t("verbose"),n.debug=t("debug"),n.info=t("info"),n.warn=t("warn"),n.error=t("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}()});var MZ,IZ,M3,I3=k(()=>{MZ=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(u){s={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},IZ=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},M3=function(){function e(t){this._entries=t?new Map(t):new Map}return e.prototype.getEntry=function(t){var n=this._entries.get(t);if(n)return Object.assign({},n)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(t){var n=MZ(t,2),r=n[0],o=n[1];return[r,o]})},e.prototype.setEntry=function(t,n){var r=new e(this._entries);return r._entries.set(t,n),r},e.prototype.removeEntry=function(t){var n=new e(this._entries);return n._entries.delete(t),n},e.prototype.removeEntries=function(){for(var t,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=new e(this._entries);try{for(var s=IZ(r),u=s.next();!u.done;u=s.next()){var p=u.value;i._entries.delete(p)}}catch(f){t={error:f}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return i},e.prototype.clear=function(){return new e},e}()});function D3(e){return e===void 0&&(e={}),new M3(new Map(Object.entries(e)))}var Mbe,_3=k(()=>{ty();I3();Mbe=Rl.instance()});function Ow(e){return Symbol.for(e)}var DZ,L3,Mw=k(()=>{DZ=function(){function e(t){var n=this;n._currentContext=t?new Map(t):new Map,n.getValue=function(r){return n._currentContext.get(r)},n.setValue=function(r,o){var i=new e(n._currentContext);return i._currentContext.set(r,o),i},n.deleteValue=function(r){var o=new e(n._currentContext);return o._currentContext.delete(r),o}}return e}(),L3=new DZ});var N3,B3,U3=k(()=>{N3={get:function(e,t){if(e!=null)return e[t]},keys:function(e){return e==null?[]:Object.keys(e)}},B3={set:function(e,t,n){e!=null&&(e[t]=n)}}});var _Z,LZ,z3,W3=k(()=>{Mw();_Z=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(u){s={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},LZ=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},z3=function(){function e(){}return e.prototype.active=function(){return L3},e.prototype.with=function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];return n.call.apply(n,LZ([r],_Z(o),!1))},e.prototype.bind=function(t,n){return n},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}()});var NZ,BZ,vP,UZ,_u,ny=k(()=>{W3();um();ty();NZ=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(u){s={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},BZ=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},vP="context",UZ=new z3,_u=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(t){return Iu(vP,t,Rl.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(t,n,r){for(var o,i=[],s=3;s<arguments.length;s++)i[s-3]=arguments[s];return(o=this._getContextManager()).with.apply(o,BZ([t,n,r],NZ(i),!1))},e.prototype.bind=function(t,n){return this._getContextManager().bind(t,n)},e.prototype._getContextManager=function(){return Cl(vP)||UZ},e.prototype.disable=function(){this._getContextManager().disable(),Du(vP,Rl.instance())},e}()});var Iw,H3=k(()=>{(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(Iw||(Iw={}))});var bP,wP,G3,CP=k(()=>{H3();bP="0000000000000000",wP="00000000000000000000000000000000",G3={traceId:wP,spanId:bP,traceFlags:Iw.NONE}});var Lu,Dw=k(()=>{CP();Lu=function(){function e(t){t===void 0&&(t=G3),this._spanContext=t}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(t,n){return this},e.prototype.setAttributes=function(t){return this},e.prototype.addEvent=function(t,n){return this},e.prototype.addLink=function(t){return this},e.prototype.addLinks=function(t){return this},e.prototype.setStatus=function(t){return this},e.prototype.updateName=function(t){return this},e.prototype.end=function(t){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(t,n){},e}()});function _w(e){return e.getValue(RP)||void 0}function V3(){return _w(_u.getInstance().active())}function ry(e,t){return e.setValue(RP,t)}function Y3(e){return e.deleteValue(RP)}function X3(e,t){return ry(e,new Lu(t))}function Lw(e){var t;return(t=_w(e))===null||t===void 0?void 0:t.spanContext()}var RP,TP=k(()=>{Mw();Dw();ny();RP=Ow("OpenTelemetry Context Key SPAN")});function HZ(e){return zZ.test(e)&&e!==wP}function GZ(e){return WZ.test(e)&&e!==bP}function Nw(e){return HZ(e.traceId)&&GZ(e.spanId)}function J3(e){return new Lu(e)}var zZ,WZ,kP=k(()=>{CP();Dw();zZ=/^([0-9a-f]{32})$/i,WZ=/^[0-9a-f]{16}$/i});function VZ(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var EP,Bw,SP=k(()=>{ny();TP();Dw();kP();EP=_u.getInstance(),Bw=function(){function e(){}return e.prototype.startSpan=function(t,n,r){r===void 0&&(r=EP.active());var o=!!n?.root;if(o)return new Lu;var i=r&&Lw(r);return VZ(i)&&Nw(i)?new Lu(i):new Lu},e.prototype.startActiveSpan=function(t,n,r,o){var i,s,u;if(!(arguments.length<2)){arguments.length===2?u=n:arguments.length===3?(i=n,u=r):(i=n,s=r,u=o);var p=s??EP.active(),f=this.startSpan(t,i,p),g=ry(p,f);return EP.with(g,u,void 0,f)}},e}()});var YZ,K3,Z3=k(()=>{SP();YZ=new Bw,K3=function(){function e(t,n,r,o){this._provider=t,this.name=n,this.version=r,this.options=o}return e.prototype.startSpan=function(t,n,r){return this._getTracer().startSpan(t,n,r)},e.prototype.startActiveSpan=function(t,n,r,o){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var t=this._provider.getDelegateTracer(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):YZ},e}()});var Q3,j3=k(()=>{SP();Q3=function(){function e(){}return e.prototype.getTracer=function(t,n,r){return new Bw},e}()});var XZ,PP,q3=k(()=>{Z3();j3();XZ=new Q3,PP=function(){function e(){}return e.prototype.getTracer=function(t,n,r){var o;return(o=this.getDelegateTracer(t,n,r))!==null&&o!==void 0?o:new K3(this,t,n,r)},e.prototype.getDelegate=function(){var t;return(t=this._delegate)!==null&&t!==void 0?t:XZ},e.prototype.setDelegate=function(t){this._delegate=t},e.prototype.getDelegateTracer=function(t,n,r){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getTracer(t,n,r)},e}()});var Ja,$3=k(()=>{(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(Ja||(Ja={}))});var AP,eU=k(()=>{ny();AP=_u.getInstance()});var tU,nU=k(()=>{tU=function(){function e(){}return e.prototype.inject=function(t,n){},e.prototype.extract=function(t,n){return t},e.prototype.fields=function(){return[]},e}()});function OP(e){return e.getValue(FP)||void 0}function rU(){return OP(_u.getInstance().active())}function oU(e,t){return e.setValue(FP,t)}function iU(e){return e.deleteValue(FP)}var FP,sU=k(()=>{ny();Mw();FP=Ow("OpenTelemetry Baggage Key")});var MP,JZ,aU,lU=k(()=>{um();nU();U3();sU();_3();ty();MP="propagation",JZ=new tU,aU=function(){function e(){this.createBaggage=D3,this.getBaggage=OP,this.getActiveBaggage=rU,this.setBaggage=oU,this.deleteBaggage=iU}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(t){return Iu(MP,t,Rl.instance())},e.prototype.inject=function(t,n,r){return r===void 0&&(r=B3),this._getGlobalPropagator().inject(t,n,r)},e.prototype.extract=function(t,n,r){return r===void 0&&(r=N3),this._getGlobalPropagator().extract(t,n,r)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){Du(MP,Rl.instance())},e.prototype._getGlobalPropagator=function(){return Cl(MP)||JZ},e}()});var IP,cU=k(()=>{lU();IP=aU.getInstance()});var DP,uU,dU=k(()=>{um();q3();kP();TP();ty();DP="trace",uU=function(){function e(){this._proxyTracerProvider=new PP,this.wrapSpanContext=J3,this.isSpanContextValid=Nw,this.deleteSpan=Y3,this.getSpan=_w,this.getActiveSpan=V3,this.getSpanContext=Lw,this.setSpan=ry,this.setSpanContext=X3}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(t){var n=Iu(DP,this._proxyTracerProvider,Rl.instance());return n&&this._proxyTracerProvider.setDelegate(t),n},e.prototype.getTracerProvider=function(){return Cl(DP)||this._proxyTracerProvider},e.prototype.getTracer=function(t,n){return this.getTracerProvider().getTracer(t,n)},e.prototype.disable=function(){Du(DP,Rl.instance()),this._proxyTracerProvider=new PP},e}()});var dm,pU=k(()=>{dU();dm=uU.getInstance()});var _P=k(()=>{$3();eU();cU();pU()});var BP={};xe(BP,{SpanStatusCode:()=>Ja,context:()=>AP,createTracer:()=>KZ,propagation:()=>IP,recordSpanError:()=>NP,trace:()=>dm,traceOperation:()=>QZ,tracer:()=>LP,withSpan:()=>mU,withSpanSync:()=>ZZ});var LP,NP,KZ,fU,mU,ZZ,QZ,hU=k(()=>{"use strict";_P();Jg();_P();LP=dm.getTracer("@eser/logging"),NP=(e,t)=>{t instanceof Error?(e.recordException(t),e.setStatus({code:Ja.ERROR,message:t.message})):e.setStatus({code:Ja.ERROR,message:String(t)})},KZ=(e,t)=>dm.getTracer(e,t),fU=e=>{let t=e.spanContext();return t?{traceId:t.traceId,spanId:t.spanId,traceFlags:t.traceFlags}:null},mU=async(e,t)=>{let n=LP.startSpan(e);try{let r=fU(n);if(r){let i=await Xg(r,()=>t(n));return n.setStatus({code:Ja.OK}),i}let o=await t(n);return n.setStatus({code:Ja.OK}),o}catch(r){throw NP(n,r),r}finally{n.end()}},ZZ=(e,t)=>{let n=LP.startSpan(e);try{let r=fU(n);if(r){let i=Xg(r,()=>t(n));return n.setStatus({code:Ja.OK}),i}let o=t(n);return n.setStatus({code:Ja.OK}),o}catch(r){throw NP(n,r),r}finally{n.end()}},QZ=(e,t)=>mU(e,t)});var nt={};xe(nt,{Severities:()=>Le,SeverityNames:()=>Vb,category:()=>eP,config:()=>Kg,context:()=>iP,filters:()=>gP,formatters:()=>Qg,logger:()=>fe,sinks:()=>jg,tracer:()=>BP,types:()=>jS});var rt=k(()=>{qS();qd();cP();dP();Jg();v3();b3();hP();hU();Bf()});var UP,gU,oy,pm,yU,jZ,zP,qZ,fm,iy=k(()=>{Gs();ye();UP={USE_CLIENT:"use client",USE_SERVER:"use server",USE_STRICT:"use strict"},gU=[/node_modules/,/\.test\./,/\.spec\./],oy=(e,t)=>{let n=e.split(`
223
- `),r=t.toLowerCase(),o=!1;for(let i=0;i<Math.min(50,n.length);i++){let s=n[i]?.trim()??"";if(o){s.includes("*/")&&(o=!1);continue}if(s===""||s.startsWith("//"))continue;if(s.startsWith("/*")){s.includes("*/")||(o=!0);continue}let u=`"${r}";`,p=`'${r}';`,f=s.toLowerCase();if(f===u||f===p)return!0;if(s.startsWith("import")||s.startsWith("export")||s.startsWith("const")||s.startsWith("let")||s.startsWith("var")||s.startsWith("function")||s.startsWith("class"))break}return!1},pm=e=>{let t=new Set,n=e.matchAll(/export\s+(?:async\s+)?function\s+(\w+)/g);for(let s of n)s[1]!==void 0&&t.add(s[1]);let r=e.matchAll(/export\s+(?:const|let)\s+(\w+)\s*=/g);for(let s of r)s[1]!==void 0&&t.add(s[1]);let o=e.matchAll(/export\s+class\s+(\w+)/g);for(let s of o)s[1]!==void 0&&t.add(s[1]);/export\s+default\s+/.test(e)&&t.add("default");let i=e.matchAll(/export\s*\{([\w\s,]+)\}/g);for(let s of i)if(s[1]!==void 0){let u=s[1].split(",").map(p=>{let f=p.trim().split(/ {1,10}as {1,10}/);return(f[1]??f[0])?.trim()});for(let p of u)p!==void 0&&p!==""&&t.add(p)}return[...t]},yU=async e=>{try{return await C.fs.readTextFile(e)}catch{return null}},jZ=async(e,t,n={})=>{let r=n.extensions??ki,o=n.skip??gU,i=n.projectRoot??e,s=[];for await(let u of C.fs.walk(e,{exts:[...r],skip:[...o]})){if(!u.isFile)continue;let p=await yU(u.path);if(p!==null&&oy(p,t)){let f=C.path.relative(i,u.path),g=pm(p);s.push({filePath:u.path,relativePath:f,directive:t,exports:g})}}return s},zP=(e,t={})=>jZ(e,UP.USE_CLIENT,t),qZ=(e,t)=>{let n=`"${t}"`,r=`'${t}'`;return e.includes(n)||e.includes(r)},fm=async(e,t={})=>{let n=t.extensions??ki,r=t.skip??gU,o=t.projectRoot??e,i=[];for await(let s of C.fs.walk(e,{exts:[...n],skip:[...r]})){if(!s.isFile)continue;let u=await yU(s.path);if(u!==null&&qZ(u,UP.USE_SERVER)){let p=C.path.relative(o,s.path),f=pm(u);i.push({filePath:s.path,relativePath:p,directive:UP.USE_SERVER,exports:f})}}return i}});function $Z(e,t){return`${e.replace(/\.[cm]?[jt]sx?$/,"")}#${t}`}function eQ(e,t){let n=$Z(e,t);return`Object.defineProperties(${t}, {
224
- $$typeof: { value: Symbol.for("react.server.reference"), enumerable: false },
225
- $$id: { value: "${n}", enumerable: false },
226
- $$bound: { value: null, enumerable: false, writable: true }
227
- });`}async function tQ(e,t){let n;try{n=await C.fs.readTextFile(e)}catch(p){return Tl.warn(`Failed to read file: ${e}`,{error:p}),null}if(!oy(n,"use server"))return Tl.debug(`Skipping ${e} - no file-level "use server"`),null;let r=pm(n);if(r.length===0)return Tl.debug(`Skipping ${e} - no exports found`),null;let o=r.filter(p=>p!=="default");if(o.length===0)return Tl.debug(`Skipping ${e} - only default export`),null;Tl.debug(`Transforming ${e} with ${o.length} export(s)`);let i=o.map(p=>eQ(t,p)).join(`
228
- `),s=n.split(`
229
- `);s.push(""),s.push("// Auto-generated React server reference markers"),s.push(i);let u=s.join(`
230
- `);return await C.fs.writeTextFile(e,u),Tl.debug(`Transformed ${e}: marked ${o.length} action(s) with server reference symbols`),o}async function xU(e){if(Tl.debug(`Scanning for server actions in: ${e}`),!await C.fs.exists(e))return Tl.debug(`Directory does not exist: ${e}`),[];let n=await fm(e,{projectRoot:e});if(n.length===0)return Tl.debug("No server action files found"),[];Tl.info(`Found ${n.length} server action file(s) to transform`);let r=[];for(let o of n){let i=await tQ(o.filePath,o.relativePath);i!==null&&i.length>0&&r.push({filePath:o.filePath,relativePath:o.relativePath,transformedActions:i})}return Tl.info(`Transformed ${r.length} server action file(s)`),r}var Tl,vU=k(()=>{ye();rt();iy();Tl=fe.getLogger(["laroux-bundler","server-action-transform"])});function nQ(e,t){return`${e.replace(/\.[cm]?[jt]sx?$/,"")}#${t}`}function rQ(e,t){let n=nQ(e,t);return`export const ${t} = Object.assign(
231
- async function ${t}(...args) {
232
- if (typeof globalThis.__callServer !== "function") {
233
- throw new Error("Server actions not initialized. Ensure client bootstrap provides __callServer.");
234
- }
235
- return globalThis.__callServer("${n}", args);
236
- },
237
- {
238
- $$typeof: Symbol.for("react.server.reference"),
239
- $$id: "${n}",
240
- $$bound: null
241
- }
242
- );`}function oQ(e,t){let n=`/**
243
- * Auto-generated client stubs for server actions
244
- * Original file: ${e}
245
- *
246
- * These stubs call the server's /action endpoint with the correct action ID.
247
- * Action ID format: path/to/file#exportName
248
- */
249
-
250
- `,r=t.map(o=>rQ(e,o)).join(`
251
-
252
- `);return n+r+`
253
- `}async function iQ(e,t){let n;try{n=await C.fs.readTextFile(e)}catch(s){return oc.warn(`Failed to read file: ${e}`,{error:s}),null}if(!oy(n,"use server"))return null;let r=pm(n);if(r.length===0)return oc.debug(`Skipping ${e} - no exports found`),null;let o=r.filter(s=>s!=="default");if(o.length===0)return oc.debug(`Skipping ${e} - only default export`),null;oc.debug(`Generating stubs for ${e} with ${o.length} export(s)`);let i=oQ(t,o);return await C.fs.writeTextFile(e,i),oc.debug(`Generated client stubs: ${o.join(", ")}`),o}async function bU(e,t){if(oc.debug(`Scanning for server actions in: ${e}`),!await C.fs.exists(e))return oc.debug(`Directory does not exist: ${e}`),[];let r=await fm(e,{projectRoot:t});if(r.length===0)return oc.debug("No server action files found"),[];oc.info(`Found ${r.length} server action file(s) to generate stubs for`);let o=[];for(let i of r){let s=await iQ(i.filePath,i.relativePath);s!==null&&s.length>0&&o.push({filePath:i.filePath,relativePath:i.relativePath,exportedActions:s})}return oc.info(`Generated stubs for ${o.length} server action file(s)`),o}var oc,wU=k(()=>{ye();rt();iy();oc=fe.getLogger(["laroux-bundler","client-action-stub"])});function lo(e){return e instanceof URL?sM(e):e}var kl=k(()=>{wT()});async function CU(e){try{let t=await Array.fromAsync(Deno.readDir(e));await Promise.all(t.map(n=>{if(n&&n.name){let r=es(lo(e),n.name);return Deno.remove(r,{recursive:!0})}}))}catch(t){if(!(t instanceof Deno.errors.NotFound))throw t;await Deno.mkdir(e,{recursive:!0})}}var RU=k(()=>{cg();kl()});function mm(e){return e.isFile?"file":e.isDirectory?"dir":e.isSymlink?"symlink":void 0}var sy=k(()=>{});async function $d(e){try{let t=await Deno.stat(e);TU(t);return}catch(t){if(!(t instanceof Deno.errors.NotFound))throw t}try{await Deno.mkdir(e,{recursive:!0})}catch(t){if(!(t instanceof Deno.errors.AlreadyExists))throw t;let n=await Deno.stat(e);TU(n)}}function TU(e){if(!e.isDirectory)throw new Error(`Failed to ensure directory exists: expected 'dir', got '${mm(e)}'`)}var hm=k(()=>{sy()});var kU=k(()=>{ig();hm();sy();kl()});var EU=k(()=>{ig();hm();kl()});var SU=k(()=>{ig();Hd();hm();sy();kl();Hr()});var PU=k(()=>{});async function HP(e){e=lo(e),e=Kv(e);let t=Sf(e),n=await Deno.stat(e);return{path:e,name:t,isFile:n.isFile,isDirectory:n.isDirectory,isSymlink:n.isSymlink}}var GP=k(()=>{Uv();OT();kl()});function Uw(e,t,n,r){return!(t&&!t.some(o=>e.endsWith(o))||n&&!n.some(o=>!!e.match(o))||r&&r.some(o=>!!e.match(o)))}async function*zw(e,t){let{maxDepth:n=1/0,includeFiles:r=!0,includeDirs:o=!0,includeSymlinks:i=!0,followSymlinks:s=!1,canonicalize:u=!0,exts:p=void 0,match:f=void 0,skip:g=void 0}=t??{};if(!(n<0)&&(e=lo(e),p&&(p=p.map(y=>y.startsWith(".")?y:`.${y}`)),o&&Uw(e,p,f,g)&&(yield await HP(e)),!(n<1||!Uw(e,void 0,void 0,g))))for await(let y of Deno.readDir(e)){let x=es(e,y.name),{isSymlink:w,isDirectory:A}=y;if(w){if(!s){i&&Uw(x,p,f,g)&&(yield{path:x,...y});continue}let F=await Deno.realPath(x);u&&(x=F),{isSymlink:w,isDirectory:A}=await Deno.lstat(F)}if(w||A){let F={maxDepth:n-1,includeFiles:r,includeDirs:o,includeSymlinks:i,followSymlinks:s};p!==void 0&&(F.exts=p),f!==void 0&&(F.match=f),g!==void 0&&(F.skip=g),yield*zw(x,F)}else r&&Uw(x,p,f,g)&&(yield{path:x,...y})}}var VP=k(()=>{cg();kl();GP()});var KCe,AU=k(()=>{NT();GT();BT();kT();Hd();rg();VP();kl();GP();Hr();KCe=globalThis.Deno?.build.os==="windows"?"`":"\\"});function YP(e,t,n=ng){if(e=lo(e),t=lo(t),ts(e)===ts(t))return!1;let r=e.split(n),o=t.split(n);return r.every((i,s)=>o[s]===i)}var XP=k(()=>{Hd();rg();kl()});var FU=k(()=>{Hd();kl()});var OU=k(()=>{XP();FU()});function gm(e,t){if(e===null)throw new Error(`${t} is unavailable`)}async function JP(e,t,n){let r;try{r=await Deno.lstat(t)}catch(o){if(o instanceof Deno.errors.NotFound)return;throw o}if(n.isFolder&&!r.isDirectory)throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'`);if(!n.overwrite)throw new Deno.errors.AlreadyExists(`'${t}' already exists.`);return r}async function MU(e,t,n){if(await JP(e,t,n),await Deno.copyFile(e,t),n.preserveTimestamps){let r=await Deno.stat(e);gm(r.atime,"statInfo.atime"),gm(r.mtime,"statInfo.mtime"),await Deno.utime(t,r.atime,r.mtime)}}async function IU(e,t,n){await JP(e,t,n);let r=await Deno.readLink(e),o=mm(await Deno.lstat(e));if(Ct?await Deno.symlink(r,t,{type:o==="dir"?"dir":"file"}):await Deno.symlink(r,t),n.preserveTimestamps){let i=await Deno.lstat(e);gm(i.atime,"statInfo.atime"),gm(i.mtime,"statInfo.mtime"),await Deno.utime(t,i.atime,i.mtime)}}async function DU(e,t,n){if(await JP(e,t,{...n,isFolder:!0})||await $d(t),n.preserveTimestamps){let i=await Deno.stat(e);gm(i.atime,"statInfo.atime"),gm(i.mtime,"statInfo.mtime"),await Deno.utime(t,i.atime,i.mtime)}e=lo(e),t=lo(t);let o=[];for await(let i of Deno.readDir(e)){let s=es(e,i.name),u=es(t,Sf(s));i.isSymlink?o.push(IU(s,u,n)):i.isDirectory?o.push(DU(s,u,n)):i.isFile&&o.push(MU(s,u,n))}await Promise.all(o)}async function ic(e,t,n={}){if(e=ts(lo(e)),t=ts(lo(t)),e===t)throw new Error("Source and destination cannot be the same");let r=await Deno.lstat(e);if(r.isDirectory&&YP(e,t))throw new Error(`Cannot copy '${e}' to a subdirectory of itself: '${t}'`);r.isSymlink?await IU(e,t,n):r.isDirectory?await DU(e,t,n):r.isFile&&await MU(e,t,n)}var _U=k(()=>{Uv();cg();Hd();hm();sy();kl();XP();Hr()});var aQ,lQ,g0e,LU=k(()=>{aQ=`
254
- `,lQ=`\r
255
- `,g0e=globalThis.Deno?.build.os==="windows"?lQ:aQ});var ay=k(()=>{RU();hm();kU();EU();SU();PU();AU();OU();_U();VP();LU()});function NU(e,t,n){return e.substring(0,t)+n+e.substring(t+1)}function Ww(e){if(!Number.isInteger(e)||e<0||e>KP)throw new RangeError(`Time must be a positive integer less than ${KP}`);let t="";for(let n=ZP;n>0;n--){let r=e%ly;t=ep[r]+t,e=Math.floor(e/ly)}return t}function QP(){let e="",t=crypto.getRandomValues(new Uint8Array(BU));for(let n of t)e+=ep[n%ly];return e}function uQ(e){let t=e.length,n,r,o=ly-1;for(;--t>=0;){if(n=e[t],r=ep.indexOf(n),r===-1)throw new TypeError("Incorrectly encoded string");if(r===o){e=NU(e,t,ep[0]);continue}return NU(e,t,ep[r+1])}throw new Error("Cannot increment this string")}function UU(e=QP){let t=0,n;return function(o=Date.now()){if(o<=t){let s=n=uQ(n);return Ww(t)+s}t=o;let i=n=e();return Ww(o)+i}}var ep,ly,KP,ZP,BU,cQ,Hw=k(()=>{ep="0123456789ABCDEFGHJKMNPQRSTVWXYZ",ly=ep.length,KP=Math.pow(2,48)-1,ZP=10,BU=16,cQ=ZP+BU});var zU=k(()=>{Hw()});var D0e,WU=k(()=>{Hw();D0e=UU()});function HU(e=Date.now()){return Ww(e)+QP()}var GU=k(()=>{Hw()});var VU=k(()=>{zU();WU();GU()});var YU,XU=k(()=>{YU={name:"noop",analyzeClientComponents:()=>Promise.resolve([]),getAllComponents:()=>Promise.resolve([]),transformClientComponents:()=>Promise.resolve([])}});var cy,JU,KU=k(()=>{cy=class extends Error{constructor(n,r,o){super(n);this.code=r;this.hint=o;this.name="BuildError"}},JU={cssError:e=>new cy(`CSS processing failed: ${e}`,"BUILD104","Check your CSS files and configuration."),moduleNotFound:e=>new cy(`Module not found: ${e}`,"BUILD100","Check that the file exists and the import path is correct."),buildFailed:e=>new cy(`Build failed: ${e}`,"BUILD101","Check the error details above and fix any syntax or type errors.")}});import{transform as dQ}from"lightningcss";async function jP(e){let{input:t,output:n,minify:r=!1,projectRoot:o,plugin:i}=e;if(!await C.fs.exists(t)){uy.warn(`CSS input file not found: ${t}`);return}let s=C.path.resolve(n,"..");await C.fs.ensureDir(s);let u=await C.fs.readTextFile(t);uy.debug(`Processing CSS: ${t} \u2192 ${n}`);let p={projectRoot:o,cssPath:t,isModule:!1};try{(i?.shouldProcess?.(u,p)??!!i)&&i?.compile?u=await i.compile(u,p):u=await ZU(u,r),await C.fs.writeTextFile(n,u),uy.debug(`\u2713 CSS processed successfully: ${n}`)}catch(f){let g=f instanceof Error?f.message:String(f);throw uy.error(`CSS processing failed: ${g}`),JU.cssError(g)}}function ZU(e,t){try{let n=dQ({filename:"styles.css",code:new TextEncoder().encode(e),minify:t,targets:{chrome:5898240,firefox:5767168,safari:917504},unusedSymbols:[]});return new TextDecoder().decode(n.code)}catch(n){return uy.warn(`Lightning CSS post-processing failed: ${n instanceof Error?n.message:String(n)}`),e}}var uy,QU=k(()=>{ye();rt();KU();uy=fe.getLogger(["laroux-bundler","css"])});var jU=k(()=>{QU()});function ym(e){if(URL.canParse(e))return new URL(e).protocol;let t=e.indexOf(":");return t>0&&t<mQ?e.slice(0,t+1):null}function dy(e){return e.startsWith("./")||e.startsWith("../")||e.startsWith("/")}function Gw(e){let t=ym(e);return t!==null&&fQ.has(t)?!1:!dy(e)}function hQ(e){let t=ym(e);return t==="npm:"||t===null&&!dy(e)}function gQ(e){return ym(e)==="jsr:"}function yQ(e){return dy(e)||ym(e)==="file:"}function xQ(e){let t=[];for(let[n,r]of Object.entries(e))t.push({specifier:n,target:r,source:"deno.json",isNpmPackage:hQ(r),isJsrPackage:gQ(r),isLocalPath:yQ(r)});return t}function vQ(e){let t=[];for(let[n,r]of Object.entries(e)){let o=ym(r);o==="workspace:"||o==="file:"||t.push({specifier:n,target:`npm:${n}@${r}`,source:"package.json",isNpmPackage:!0,isJsrPackage:!1,isLocalPath:!1})}return t}async function bQ(e){let t=C.path.join(e,"deno.json");try{if(!await C.fs.exists(t)){let o=C.path.join(e,"deno.jsonc");if(!await C.fs.exists(o))return null;let s=await C.fs.readTextFile(o);return JSON.parse(s)}let r=await C.fs.readTextFile(t);return JSON.parse(r)}catch(n){return qP.debug(`Failed to load deno.json: ${n instanceof Error?n.message:String(n)}`),null}}async function wQ(e){let t=C.path.join(e,"package.json");try{if(!await C.fs.exists(t))return null;let r=await C.fs.readTextFile(t);return JSON.parse(r)}catch(n){return qP.debug(`Failed to load package.json: ${n instanceof Error?n.message:String(n)}`),null}}async function qU(e){let t=new Map,n=[],r=await bQ(e),o=await wQ(e);if(o!==null){let i={...o.peerDependencies,...o.devDependencies,...o.dependencies};for(let s of vQ(i))t.set(s.specifier,s),(s.isNpmPackage||s.isJsrPackage)&&n.push(s.specifier)}if(r?.imports!==void 0)for(let i of xQ(r.imports))t.set(i.specifier,i),(i.isNpmPackage||i.isJsrPackage)&&(n.includes(i.specifier)||n.push(i.specifier));return qP.debug(`Loaded import map: ${t.size} entries, ${n.length} externals`),{entries:t,externals:n,projectRoot:e,hasDenoJson:r!==null,hasPackageJson:o!==null}}function $U(e,t){let n=t.entries.get(e);if(n!==void 0)return n.target;for(let[r,o]of t.entries){if(r.endsWith("/")&&e.startsWith(r)){let i=e.slice(r.length);return o.target.endsWith("/")?`${o.target}${i}`:`${o.target}/${i}`}if(e.startsWith(`${r}/`)){let i=e.slice(r.length);return`${o.target}${i}`}}return null}function ez(e,t){let n=ym(e);if(n!==null&&pQ.has(n))return!0;let r=t.entries.get(e);if(r!==void 0)return r.isNpmPackage||r.isJsrPackage;for(let[o,i]of t.entries)if(e.startsWith(`${o}/`))return i.isNpmPackage||i.isJsrPackage;return!1}var qP,pQ,fQ,mQ,tz=k(()=>{ye();rt();qP=fe.getLogger(["laroux-bundler","import-map"]),pQ=new Set(["npm:","jsr:","node:"]),fQ=new Set(["npm:","jsr:","node:","http:","https:","file:","data:"]),mQ=12});async function CQ(e,t){let n=C.path.join(t,"node_modules",".deno");try{if(!(await C.fs.stat(n).catch(()=>null))?.isDirectory)return null;let o=e.split("/"),i=e.startsWith("@")?o.slice(0,2).join("/"):o[0]??e,s=e.startsWith("@")?o.slice(2).join("/"):o.slice(1).join("/");for await(let u of C.fs.readDir(n))if(u.isDirectory&&u.name.startsWith(`${i}@`)){let p=C.path.join(n,u.name,"node_modules",i);if(!(await C.fs.stat(p).catch(()=>null))?.isDirectory)continue;if(s){let w=C.path.join(p,s);if(await C.fs.stat(w).catch(()=>null))return w;let F=`${w}.js`;if(await C.fs.stat(F).catch(()=>null))return F;continue}let g=await Zd({baseDir:p});if(g!==void 0){let w;if(g.exports!==void 0){let A=g.exports.value;if(typeof A=="string")w=A;else if(typeof A=="object"&&A["."]!==void 0){let F=A["."];if(typeof F=="string")w=F;else if(typeof F=="object"){let D=F;w=D.import??D.module??D.default??D.require}}}if(w===void 0)for(let A of g._loadedFiles){let F=A.content,D=F.module,L=F.main;if(w=D??L,w!==void 0)break}return w??="index.js",C.path.join(p,w)}let y=C.path.join(p,"index.js");if(await C.fs.stat(y).catch(()=>null))return y}}catch{}return null}function nz(e){let t=e.cache??new Map,n=e.importMap??null,r=e.autoMarkExternal??!0,o=e.externals??[],i=u=>{for(let p of o)if(u===p||u.startsWith(`${p}/`))return!0;return!1},s={...e.browserShims.jsr,...e.browserShims.nodeBuiltins};return{name:"import-map-resolver",async setup(u){n===null&&(n=await qU(e.projectRoot),Si.debug(`Loaded import map: ${n.entries.size} entries, ${n.externals.length} externals`)),u.onResolve({filter:/^[^./]/},async p=>{let f=p.path;if(!Gw(f))return{};let g=t.get(f);if(g!==void 0)return g==="external"?{external:!0}:{path:g};if(i(f))return t.set(f,"external"),Si.debug(`Marking ${f} as external (explicit)`),{external:!0};if(s[f]!==void 0)return Si.debug(`Using browser shim for ${f}`),{path:`\0virtual:${f}`,namespace:"browser-shim"};let y=$U(f,n);if(y!==null){if(r&&ez(f,n))return t.set(f,"external"),Si.debug(`Marking ${f} as external`),{external:!0};try{if(dy(y)){let w=C.path.resolve(n.projectRoot,y);return t.set(f,w),Si.debug(`Resolved ${f} \u2192 ${w}`),{path:w}}let x=import.meta.resolve(y);if(x.startsWith("file://")){let w=new URL(x).pathname;return t.set(f,w),Si.debug(`Resolved ${f} \u2192 ${w}`),{path:w}}return r?(t.set(f,"external"),Si.debug(`Marking ${f} as external (remote: ${x})`),{external:!0}):(Si.debug(`Letting bundler resolve ${f} from node_modules`),{})}catch(x){Si.debug(`Failed to resolve ${y}: ${x instanceof Error?x.message:String(x)}`)}}if(r&&Gw(f))return t.set(f,"external"),Si.debug(`Marking ${f} as external (bare import not in import map)`),{external:!0};if(!r&&Gw(f)){let x=await CQ(f,e.projectRoot);if(x!==null)return t.set(f,x),Si.debug(`Resolved npm transitive dependency ${f} \u2192 ${x}`),{path:x}}return{}}),u.onResolve({filter:/^jsr:/},p=>{let f=p.path,g=t.get(f);if(g!==void 0)return g==="external"?{external:!0}:{path:g};try{let y=import.meta.resolve(f);if(y.startsWith("file://")){let x=new URL(y).pathname;return t.set(f,x),Si.debug(`Resolved ${f} \u2192 ${x}`),{path:x}}return t.set(f,"external"),Si.debug(`Marking ${f} as external (remote JSR)`),{external:!0}}catch(y){return Si.debug(`Failed to resolve ${f}: ${y instanceof Error?y.message:String(y)}`),{}}}),u.onResolve({filter:/^node:/},p=>{let f=p.path;return s[f]!==void 0?(Si.debug(`Using browser shim for ${f}`),{path:`\0virtual:${f}`,namespace:"browser-shim"}):(Si.warn(`Node builtin ${f} has no browser shim - marking as external`),{external:!0})}),u.onLoad({filter:/.*/,namespace:"browser-shim"},p=>{let f=p.path.replace("\0virtual:",""),g=s[f];return g!==void 0?{contents:g,loader:"js"}:{}})}}}var Si,rz=k(()=>{Nf();rt();ye();tz();Si=fe.getLogger(["laroux-bundler","import-map-resolver"])});async function*Bc(e,t,n){let r=C.fs.walk(e,{includeDirs:!1,includeFiles:!0,exts:ki,skip:[n]});for await(let o of r){let i=C.path.relative(e,o.path);t!==void 0&&!RQ(t).test(i)||(yield i)}}var RQ,$P=k(()=>{"use strict";Gs();ye();RQ=e=>{let t=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*\*/g,".*").replace(/\*/g,"[^/]*");return new RegExp(`^${t}$`)}});var oz=k(()=>{"use strict"});var pRe,fRe,iz=k(()=>{"use strict";oz();pRe=new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\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\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\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\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),fRe=new RegExp("[\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]")});var sz=k(()=>{"use strict";ye();zs()});var az=k(()=>{"use strict";ye();dP();iz();$P();sz()});var py=k(()=>{$P();az()});function OQ(e){for(let t of uz)if(e.startsWith(`${t}.`)&&kg.test(e))return t;return null}function dz(){Vw=null,eA=0,tp.debug("Route cache invalidated")}async function pz(e,t,n=!1){if(!n&&Vw)try{if(((await C.fs.stat(e)).mtime?.getTime()??0)<=eA)return tp.debug("Using cached route scan result"),Vw}catch{}tp.debug(`Scanning routes in: ${e}`);let r=new Map;for await(let x of Bc(e,void 0,AQ)){let w=C.path.basename(x);if(!FQ.has(w))continue;let A=C.path.dirname(x),F=r.get(A)??{},D=C.path.join(e,x),L=OQ(w);L==="page"?F.pagePath=D:L==="layout"?F.layoutPath=D:L==="route"?F.routePath=D:L==="proxy"&&(F.proxyPath=D),r.set(A,F)}let o=[],i=[],s=[],u=x=>{let w=x;for(;w&&w!==".";){let A=C.path.dirname(w);if(A===w)break;let F=r.get(A);if(F?.layoutPath)return C.path.relative(t,F.layoutPath);w=A}};for(let[x,w]of r){let A=MQ(x);if(w.pagePath){let F=C.path.relative(t,w.pagePath),D=w.layoutPath?C.path.relative(t,w.layoutPath):u(x);o.push({routePath:A,componentPath:F,layoutPath:D,isApiRoute:!1}),tp.debug(`Found page: ${A} -> ${F}${D?` (layout: ${D})`:""}`)}if(w.routePath){let F=C.path.relative(t,w.routePath);i.push({routePath:A,componentPath:F,isApiRoute:!0}),tp.debug(`Found API route: ${A} -> ${F}`)}if(w.proxyPath){let F=C.path.relative(t,w.proxyPath);s.push({pathPrefix:A||"/",modulePath:F}),tp.debug(`Found proxy: ${A||"/"} -> ${F}`)}}let p=lz(o),f=lz(i),g=IQ(s);tp.debug(`Found ${p.length} page routes, ${f.length} API routes, ${g.length} proxies`);let y={routes:p,apiRoutes:f,proxies:g};try{eA=(await C.fs.stat(e)).mtime?.getTime()??0}catch{}return Vw=y,y}function MQ(e){return!e||e==="."||e==="home"?"/":`/${ql(e)}`}function lz(e){return e.sort((t,n)=>{let r=cz(t.routePath),o=cz(n.routePath);return r!==o?o-r:n.routePath.length-t.routePath.length})}function cz(e){let t=0,n=e.split("/").filter(Boolean);t+=n.length*10;for(let r of n)r.startsWith("[...")?t-=100:r.startsWith("[")?t-=5:t+=3;return t}function IQ(e){return e.sort((t,n)=>n.pathPrefix.length-t.pathPrefix.length)}var tp,Vw,eA,AQ,uz,FQ,tA=k(()=>{ye();Gs();py();rt();tp=fe.getLogger(["laroux-bundler","route-scanner"]),Vw=null,eA=0,AQ=/(?:^|[/\\])(?:_[^/\\]*|.*\.test\.(?:[cm]?[jt]sx?))$/,uz=["page","layout","route","proxy"],FQ=new Set(uz.flatMap(e=>ki.map(t=>`${e}.${t}`)))});async function fz(e){let{scanResult:t,outputPath:n,projectRoot:r}=e,{routes:o}=t;Nu.debug(`Generating routes file: ${n}`);let i=[],s=[],u=new Map;for(let f of o){let g=`./${Ha(f.componentPath,"")}.js`,y=C.path.join(r,f.componentPath),x=LQ(f.componentPath),w=await DQ(y,x),A;if(f.layoutPath){let D=C.path.join(r,f.layoutPath),L=NQ(f.layoutPath);A=await _Q(D,L)}if(u.has(f.componentPath)||(i.push(`import { ${w} } from "${g}";`),u.set(f.componentPath,w)),f.layoutPath&&A){let D=`./${Ha(f.layoutPath,"")}.js`;u.has(f.layoutPath)||(i.push(`import { ${A} } from "${D}";`),u.set(f.layoutPath,A))}let F=BQ(f,w,A);s.push(F)}let p=`// AUTO-GENERATED FILE - DO NOT EDIT
256
- // Generated by laroux-bundler/route-generator.ts
257
- // Run build to regenerate
258
-
259
- import type { RouteDefinition } from "@eser/laroux/router";
260
- ${i.join(`
261
- `)}
262
-
263
- /**
264
- * Auto-generated routes from file-based routing
265
- * Routes are sorted by specificity (static > dynamic > catch-all)
266
- */
267
- export const generatedRoutes: RouteDefinition[] = [
268
- ${s.map(f=>` ${f}`).join(`,
269
- `)},
270
- ];
271
- `;await C.fs.writeTextFile(n,p),Nu.debug(`Generated ${o.length} route(s)`)}async function mz(e,t,n){let{apiRoutes:r}=e;if(r.length===0){Nu.debug("No API routes found, skipping generation");return}Nu.debug(`Generating API routes file: ${t}`);let o=[];for(let s of r){let u=C.path.dirname(t),p=vz(u,C.path.join(n,s.componentPath));o.push(` { path: "${s.routePath}", modulePath: "${p}" }`)}let i=`// AUTO-GENERATED FILE - DO NOT EDIT
272
- // Generated by laroux-bundler/route-generator.ts
273
-
274
- export type ApiRouteDefinition = {
275
- path: string;
276
- modulePath: string;
277
- };
278
-
279
- /**
280
- * Auto-generated API routes from file-based routing
281
- */
282
- export const apiRoutes: ApiRouteDefinition[] = [
283
- ${o.join(`,
284
- `)},
285
- ];
286
- `;await C.fs.writeTextFile(t,i),Nu.debug(`Generated ${r.length} API route(s)`)}async function hz(e,t,n){let{proxies:r}=e;if(r.length===0){Nu.debug("No proxies found, skipping generation");return}Nu.debug(`Generating proxy registry file: ${t}`);let o=[];for(let s of r){let u=C.path.dirname(t),p=vz(u,C.path.join(n,s.modulePath));o.push(` { pathPrefix: "${s.pathPrefix}", modulePath: "${p}" }`)}let i=`// AUTO-GENERATED FILE - DO NOT EDIT
287
- // Generated by laroux-bundler/route-generator.ts
288
-
289
- export type ProxyDefinition = {
290
- pathPrefix: string;
291
- modulePath: string;
292
- };
293
-
294
- /**
295
- * Auto-generated proxy definitions from file-based routing
296
- * Sorted by path prefix length (most specific first)
297
- */
298
- export const proxyRegistry: ProxyDefinition[] = [
299
- ${o.join(`,
300
- `)},
301
- ];
302
- `;await C.fs.writeTextFile(t,i),Nu.debug(`Generated ${r.length} proxy definition(s)`)}async function gz(e){try{let t=await C.fs.readTextFile(e),n=[],r=t.matchAll(/export\s+(?:async\s+)?function\s+(\w+)/g);for(let i of r)i[1]!==void 0&&n.push(i[1]);let o=t.matchAll(/export\s+const\s+(\w+)\s*=/g);for(let i of o)i[1]!==void 0&&n.push(i[1]);return t.match(/export\s+default\s+/)&&n.push("default"),[...new Set(n)]}catch{return[]}}async function DQ(e,t){let n=await gz(e);if(n.length===0)return t;let r=n.find(i=>i!=="default"&&i.endsWith("Page"));if(r)return r;let o=n.find(i=>i!=="default");return o||t}async function _Q(e,t){let n=await gz(e);if(n.length===0)return t;let r=n.find(i=>i!=="default"&&i.endsWith("Layout"));if(r)return r;let o=n.find(i=>i!=="default");return o||t}function LQ(e){let t=C.path.basename(C.path.dirname(e));return`${xz(yz(t))}Page`}function NQ(e){let t=C.path.basename(C.path.dirname(e));return`${xz(yz(t))}Layout`}function yz(e){return e.startsWith("[...")?e.slice(4,-1):e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):e}function xz(e){return e.split(/[-_\s]+/).map(t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("")}function vz(e,t){let n=ql(C.path.relative(e,t));return n.startsWith(".")?n:`./${n}`}function BQ(e,t,n){let r=[`path: "${e.routePath}"`,`component: ${t}`];return n&&r.push(`layout: ${n}`),`{ ${r.join(", ")} }`}var Nu,bz=k(()=>{ye();rt();Gs();Nu=fe.getLogger(["laroux-bundler","route-generator"])});function zQ(e,t){return C.path.relative(t,e)}async function wz(e){let{projectRoot:t,distDir:n,srcDir:r,changedFiles:o}=e,i=zQ(r,t),s=C.path.resolve(n,Yw),u=C.path.resolve(s,i);sc.debug(`Creating virtual source: ${s}`),sc.debug(` Virtual src subdir: ${u}`);let p=await C.fs.exists(u);if(o&&o.size>0&&p)sc.debug(`Incremental update: ${o.size} file(s) changed`),await WQ(o,r,u),sc.debug(`Virtual source updated incrementally: ${o.size} file(s)`);else{try{await CU(s)}catch{}await HQ(r,u,t),sc.debug(`Virtual source created: ${s}`)}return{virtualSrcDir:s,cleanup:async()=>{sc.debug(`Cleaning up virtual source: ${s}`);try{await C.fs.remove(s,{recursive:!0}),sc.debug("Virtual source cleaned up")}catch(f){sc.warn("Failed to clean up virtual source:",{error:f})}}}}async function WQ(e,t,n){let r=[...ki.map(s=>`.${s}`),".json",".css"],o=0,i=0;for(let s of e){if(!s.startsWith(t))continue;let u=C.path.extname(s);if(!r.includes(u))continue;let p=C.path.relative(t,s),f=C.path.resolve(n,p);try{await C.fs.stat(s),await $d(C.path.dirname(f)),await ic(s,f,{overwrite:!0}),o++}catch{try{await C.fs.remove(f),i++}catch{}}}(o>0||i>0)&&sc.debug(`Incremental update: ${o} copied, ${i} deleted`)}async function HQ(e,t,n){let r=0,o=[...ki.map(i=>`.${i}`),".json",".css"];for await(let i of zw(e,{includeDirs:!1})){let s=C.path.extname(i.path);if(!o.includes(s))continue;let u=C.path.relative(e,i.path);if(UQ.test(u))continue;let p=C.path.resolve(t,u);await C.fs.ensureDir(C.path.dirname(p)),await ic(i.path,p),r++}sc.debug(`Copied ${r} source file(s) to virtual source`)}function fy(e,t,n,r){let o=C.path.relative(t,e),i=r??C.path.basename(t);return C.path.resolve(n,i,o)}function Cz(e,t,n){return e.map(r=>{let o=fy(r.filePath,t,n),i=`${Yw}/${r.relativePath}`;return{...r,filePath:o,relativePath:i}})}var UQ,sc,Yw,nA=k(()=>{ye();Gs();ay();rt();UQ=/(?:node_modules|\/\.|^\.|\\\.)/,sc=fe.getLogger(["laroux-bundler","virtual-source"]),Yw="_bundle_src"});function Rz(){return rA||(rA=new oA,Bu.debug("Created global build cache")),rA}var Bu,oA,rA,Tz=k(()=>{rt();tA();Bu=fe.getLogger(["laroux-bundler","build-cache"]),oA=class{clientComponentCache=new Map;cssModuleCache=new Map;routeCache=null;getClientComponent(t,n){let r=this.clientComponentCache.get(t);return r&&r.mtime>=n?(Bu.debug(`Cache hit: client component ${t}`),r):null}setClientComponent(t,n,r,o){this.clientComponentCache.set(t,{isClient:n,exportNames:r,mtime:o})}getCssModuleResult(t,n){let r=this.cssModuleCache.get(t);return r&&r.mtime>=n?(Bu.debug(`Cache hit: CSS module ${t}`),r):null}setCssModuleResult(t,n,r,o){this.cssModuleCache.set(t,{code:n,exports:r,mtime:o})}getRouteCache(t){return this.routeCache&&this.routeCache.mtime>=t?(Bu.debug("Cache hit: route scan"),this.routeCache):null}setRouteCache(t,n,r,o){this.routeCache={routes:t,apiRoutes:n,proxies:r,mtime:o}}invalidateFile(t){this.clientComponentCache.has(t)&&(this.clientComponentCache.delete(t),Bu.debug(`Invalidated: client component ${t}`)),this.cssModuleCache.has(t)&&(this.cssModuleCache.delete(t),Bu.debug(`Invalidated: CSS module ${t}`)),(t.includes("/routes/")||t.includes("\\routes\\"))&&(this.routeCache=null,dz(),Bu.debug("Invalidated: route cache"))}invalidateFiles(t){for(let n of t)this.invalidateFile(n)}clear(){this.clientComponentCache.clear(),this.cssModuleCache.clear(),this.routeCache=null,Bu.debug("All caches cleared")}getStats(){return{clientComponents:this.clientComponentCache.size,cssModules:this.cssModuleCache.size,hasRoutes:this.routeCache!==null}}},rA=null});function Ez(e){return e*2}function Sz(e,t,n,r){for(;t<e.length;++t){let o=e[t];e[n++]=r[o>>4],e[n++]=r[o&15]}return n}var GQ,kz,Pz=k(()=>{GQ=new TextEncoder().encode("0123456789abcdef"),kz=new Uint8Array(128).fill(16);GQ.forEach((e,t)=>kz[e]=t);new TextEncoder().encode("ABCDEF").forEach((e,t)=>kz[e]=t+10)});function Az(e,t){let n=e.length;if(e.byteOffset){let r=new Uint8Array(e.buffer);r.set(e),e=r.subarray(0,n)}return e=new Uint8Array(e.buffer.transfer(t)),e.set(e.subarray(0,n),t-n),[e,t-n]}var Fz=k(()=>{});function Xw(e){typeof e=="string"?e=new TextEncoder().encode(e):e instanceof ArrayBuffer?e=new Uint8Array(e).slice():e=e.slice();let[t,n]=Az(e,Ez(e.length));return Sz(t,n,0,Oz),new TextDecoder().decode(t)}var Oz,Mz,iA=k(()=>{Pz();Fz();Oz=new TextEncoder().encode("0123456789abcdef"),Mz=new Uint8Array(128).fill(16);Oz.forEach((e,t)=>Mz[e]=t);new TextEncoder().encode("ABCDEF").forEach((e,t)=>Mz[e]=t+10)});var Jw,xm,sA=k(()=>{"use strict";Jw=(e,t)=>({success:!0,outputs:e,metafile:t?.metafile,entrypointManifest:t?.entrypointManifest,entrypoint:t?.entrypoint,totalSize:t?.totalSize}),xm=e=>({success:!1,outputs:new Map,errors:e})});function VQ(e,t){let n=Object.keys(t);if(n.length===0)return e;n.sort((s,u)=>u.length-s.length);let r=!1;for(let s of n)if(e.includes(s)){r=!0;break}if(!r)return e;let o=n.map(s=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),i=new RegExp(`\\b(${o.join("|")})\\b`,"g");return e.replace(i,s=>t[s]??s)}var Kw,Zw,aA,lA=k(()=>{"use strict";iA();rt();ye();Gs();sA();Kw=fe.getLogger(["bundler","deno-bundler"]),Zw=class{name="deno-bundler";options;constructor(t={}){this.options=t}async bundle(t){let n=await C.fs.makeTempDir({prefix:"deno-bundle-"});try{let r=Object.values(t.entrypoints),o=Object.keys(t.entrypoints),i=[...r];if(this.options.buildId!==void 0){let g=C.path.join(n,"_build-id-entry.ts");await C.fs.writeTextFile(g,`export const BUILD_ID = "${this.options.buildId}";
303
- `),i.unshift(g)}let s=t.platform==="browser"?"browser":"deno",u=t.sourcemap===!0?"external":t.sourcemap===!1?void 0:t.sourcemap,p={entrypoints:i,outputDir:n,format:"esm",codeSplitting:t.codeSplitting,minify:t.minify,platform:s,sourcemap:u};t.external!==void 0&&(p.external=t.external),Kw.debug("Calling Deno.bundle",{entrypoints:i.slice(0,3),outputDir:n,external:p.external,platform:p.platform});let f=await Deno.bundle(p);if(Kw.debug("Deno.bundle result",{success:f.success,errors:f.errors?.length??0}),!f.success){let y=(f.errors??[]).map(x=>({message:x.text??this.extractErrorMessage(x),severity:"error"}));return xm(y)}return await this.processOutput(n,t,o,r)}catch(r){return xm([{message:r instanceof Error?r.message:String(r),severity:"fatal"}])}finally{try{await C.fs.remove(n,{recursive:!0})}catch{}}}watch(t,n){let r=!0,o=Object.values(t.entrypoints).map(p=>C.path.dirname(p)),i=[...new Set(o)],s=Deno.watchFs(i,{recursive:!0});return(async()=>{for await(let p of s){if(!r)break;let f=await this.bundle(t);n(f)}})().catch(p=>{console.error("Watch loop error:",p)}),Promise.resolve({stop:()=>(r=!1,s.close(),Promise.resolve())})}extractErrorMessage(t){return t==null?"Unknown error":typeof t=="object"&&"message"in t?String(t.message):String(t)}async processOutput(t,n,r,o){let i=this.options.entryName??"main",s=new Map,u={},p={},f=null,g=0,y=new Map,x=new Map;for(let G=0;G<o.length;G++){let W=o[G],M=r[G];if(W!==void 0&&M!==void 0){let ne=C.path.basename(W).replace(/\.[^.]+$/,"");y.set(ne,M),x.set(Ha(W,".js"),M)}}let w=C.path.join(t,"dist"),A=t;try{(await C.fs.stat(w)).isDirectory&&(A=w)}catch{}let F=[];Kw.debug(`Scanning output dir: ${A}`);let D=async(G,W="")=>{for await(let M of C.fs.readDir(G)){let ne=C.path.join(G,M.name),Re=W?`${W}/${M.name}`:M.name;M.isDirectory?await D(ne,Re):M.isFile&&(M.name.endsWith(".js")||M.name.endsWith(".map"))&&F.push({name:Re,path:ne})}};if(await D(A),A!==t){for await(let G of C.fs.readDir(t))if(G.isFile&&(G.name.endsWith(".js")||G.name.endsWith(".map"))&&(G.name.startsWith("chunk-")||G.name.endsWith(".map"))){let W=C.path.join(t,G.name);F.some(M=>M.path===W)||F.push({name:G.name,path:W})}}Kw.debug(`Found ${F.length} output files`,F.map(G=>G.name));let L=new Map;for(let G of F)if(G.name.endsWith(".map")){let W=await C.fs.readFile(G.path),M=G.name;G.name.startsWith("_client-entry")?M=`${i}.js.map`:G.name.startsWith("_build-id-entry")&&(M="build-id.js.map"),L.set(M,W)}for(let G of F){if(G.name.endsWith(".map"))continue;let W=await C.fs.readTextFile(G.path);n.basePath!==void 0&&(W=W.replace(/\/_lime\/alive/g,`${n.basePath}/_lime/alive`)),n.define!==void 0&&(W=VQ(W,n.define)),W=W.replace(/from\s*["']\.\.\/chunk-/g,'from"./chunk-'),W=W.replace(/from\s*["']\.\.chunk-/g,'from"./chunk-'),W=W.replace(/import\s*\(["']\.\.\/chunk-/g,'import("./chunk-'),W=W.replace(/import\s*\(["']\.\.chunk-/g,'import("./chunk-');let M=G.name,ne=M.startsWith("_client-entry");if(ne)M=`${i}.js`,f=`${i}.js`;else if(M.startsWith("_build-id-entry"))M="build-id.js";else if(!M.startsWith("chunk-")){let Ce;for(let[ge,Pe]of x)if(ge.endsWith(M)){Ce=Pe;break}if(Ce===void 0){let ge=C.path.basename(M).replace(/\.js$/,"");Ce=y.get(ge)}Ce!==void 0&&(M=`${Ce}.js`)}ne&&L.has(`${i}.js.map`)&&(W=W.replace(/\/\/# sourceMappingURL=.*$/m,`//# sourceMappingURL=${i}.js.map`),W.includes("//# sourceMappingURL=")||(W+=`
304
- //# sourceMappingURL=${i}.js.map`));let Re=new TextEncoder().encode(W),ve=await this.computeHash(Re),re=this.parseImports(W),me=`${M}.map`,ce=L.get(me);s.set(M,{path:M,code:Re,map:ce,size:Re.length,hash:ve,isEntry:!M.startsWith("chunk-")}),g+=Re.length,u[M]={bytes:Re.length,inputs:{},imports:re.map(Ce=>({path:Ce,kind:"import-statement"}))}}for(let[G,W]of L)if(!s.has(G)){let M=await this.computeHash(W);s.set(G,{path:G,code:W,size:W.length,hash:M,isEntry:!1}),g+=W.length}if(n.outputDir!==void 0){await C.fs.mkdir(n.outputDir,{recursive:!0});for(let[G,W]of s){let M=C.path.join(n.outputDir,G),ne=C.path.dirname(M);ne!==n.outputDir&&await C.fs.mkdir(ne,{recursive:!0}),await C.fs.writeFile(M,W.code)}}for(let[G,W]of Object.entries(n.entrypoints)){if(G==="client"||G==="main")continue;let M=await this.findEntrypointChunks(G,A,t,s);M.length>0&&(p[W]=M)}return Jw(s,{metafile:{inputs:{},outputs:u},entrypointManifest:p,entrypoint:f??"main.js",totalSize:g})}async findEntrypointChunks(t,n,r,o){let i=Ha(t,".js"),s=C.path.join(n,i),u=null;try{u=await C.fs.readTextFile(s)}catch{try{let p=C.path.join(r,"dist",i);u=await C.fs.readTextFile(p)}catch{}}return u!==null?this.extractChunksFromProxyFile(u,o):this.findChunksForComponentName(t,o)}findChunksForComponentName(t,n){let r=[],o=C.path.basename(t).replace(/\.[^.]+$/,""),i=o.charAt(0).toUpperCase()+o.slice(1).replace(/-([a-z])/g,(s,u)=>u.toUpperCase());for(let[s,u]of n){if(!s.startsWith("chunk-")||!s.endsWith(".js"))continue;let p=new TextDecoder().decode(u.code);if([new RegExp(`export\\s*\\{[^}]*\\b${i}\\b[^}]*\\}`),new RegExp(`export\\s+(?:function|const|let|var|class)\\s+${i}\\b`),new RegExp(`\\b\\w+\\s+as\\s+${i}\\b`)].some(y=>y.test(p))){r.unshift(s);let y=/from\s*["']\.?\/?([^"']*chunk-[A-Z0-9]+\.js)["']/gi,x;for(;(x=y.exec(p))!==null;){let w=C.path.basename(x[1]??"");w&&!r.includes(w)&&r.push(w)}break}}return r}extractChunksFromProxyFile(t,n){let r=[],o=/import(?:\{[\w\s,]*\})?\s*from\s*["']([\w./-]*chunk-[A-Z0-9]+\.js)["']/gi,i=/import\s*["']([\w./-]*chunk-[A-Z0-9]+\.js)["']/gi,s;for(;(s=o.exec(t))!==null;){let p=s[1];if(p!==void 0){let f=C.path.basename(p);r.includes(f)||r.push(f)}}for(;(s=i.exec(t))!==null;){let p=s[1];if(p!==void 0){let f=C.path.basename(p);r.includes(f)||r.push(f)}}let u=t.match(/export\s*\{([\w\s,]+)\}/);if(u!==null){let g=u[1]?.match(/(\w+)(?:\s+as\s+\w+)?/)?.[1]??null;if(g!==null){let y=null;for(let[x,w]of n){if(!x.startsWith("chunk-")||!x.endsWith(".js"))continue;let A=new TextDecoder().decode(w.code);if([new RegExp(`export\\s*\\{[^}]*\\b${g}\\b[^}]*\\}`),new RegExp(`export\\s+(?:function|const|let|var|class)\\s+${g}\\b`),new RegExp(`\\b\\w+\\s+as\\s+${g}\\b`)].some(L=>L.test(A))){y=x;break}}if(y!==null){let x=r.indexOf(y);x>0?(r.splice(x,1),r.unshift(y)):x===-1&&r.unshift(y)}}}return r}async computeHash(t){let n=await crypto.subtle.digest("SHA-256",t);return Xw(new Uint8Array(n)).slice(0,16)}parseImports(t){let n=[],r=/import\s{1,10}(?:[\w\s{},*]{1,500})\s{1,10}from\s{0,10}["']([\w./@-]+)["']/g,o;for(;(o=r.exec(t))!==null;){let s=o[1];if(s!==void 0&&(s.startsWith("./")||s.startsWith("../")||s.startsWith("/"))){let u=s.startsWith("./")?s.slice(2):s.startsWith("../")?s:s.slice(1);n.push(u)}}let i=/import\s*\(\s*["']([^"']+)["']\s*\)/g;for(;(o=i.exec(t))!==null;){let s=o[1];if(s!==void 0&&(s.startsWith("./")||s.startsWith("../")||s.startsWith("/"))){let u=s.startsWith("./")?s.slice(2):s.startsWith("../")?s:s.slice(1);n.push(u)}}return[...new Set(n)]}};aA=(e={})=>new Zw(e)});function YQ(e){let t=Object.keys(e).sort((o,i)=>i.length-o.length);if(t.length===0)return{name:"define"};let n=t.map(o=>o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),r=new RegExp(`\\b(${n.join("|")})\\b`,"g");return{name:"define",transform(o,i){if(i.includes("node_modules"))return null;let s=!1;for(let p of t)if(o.includes(p)){s=!0;break}if(!s)return null;let u=o.replace(r,p=>e[p]??p);return u===o?null:{code:u}}}}var Qw,cA,uA=k(()=>{"use strict";iA();sA();Qw=class{name="rolldown";options;rolldownModule=null;constructor(t={}){this.options=t}async bundle(t){try{let n=await this.loadRolldown(),r=this.adaptPlugins(t.plugins);t.define!==void 0&&Object.keys(t.define).length>0&&r.push(YQ(t.define));let o=t.projectRoot!==void 0?[`${t.projectRoot}/node_modules`,"node_modules"]:["node_modules"],i=await n.rolldown({input:t.entrypoints,external:t.external,plugins:r,resolve:{modules:o}}),s=t.sourcemap===!0?!0:t.sourcemap==="inline"?"inline":t.sourcemap==="external"?!0:void 0,u={dir:t.outputDir,format:t.format,entryFileNames:"[name].js",chunkFileNames:"chunk-[hash].js",sourcemap:s,minify:t.minify,...this.options.advancedChunks!==void 0?{advancedChunks:{minSize:this.options.advancedChunks.minSize??2e4,groups:this.options.advancedChunks.groups?.map(f=>({name:f.name,test:f.test,priority:f.priority??0}))}}:{}},p=await i.write(u);return await i.close(),await this.processRolldownOutput(p,t)}catch(n){return xm([{message:n instanceof Error?n.message:String(n),severity:"fatal"}])}}async watch(t,n){let o=await(await this.loadRolldown()).watch({input:t.entrypoints,external:t.external,plugins:this.adaptPlugins(t.plugins),output:{dir:t.outputDir,format:t.format,entryFileNames:"[name].js",chunkFileNames:"chunk-[hash].js",sourcemap:t.sourcemap===!0||t.sourcemap==="external",minify:t.minify}});return o.on("event",async i=>{if(i.code==="BUNDLE_END"){let s=await this.bundle(t);n(s)}else i.code==="ERROR"&&n(xm([{message:i.error?.message??"Watch error",severity:"error"}]))}),{stop:async()=>{await o.close()}}}async loadRolldown(){if(this.rolldownModule!==null)return this.rolldownModule;try{let t=await import("npm:rolldown@latest"),n={rolldown:r=>t.rolldown(r),watch:r=>{let o=t.watch(r);return Promise.resolve(o)}};return this.rolldownModule=n,n}catch(t){throw new Error(`Failed to load Rolldown. Make sure it's installed: ${t instanceof Error?t.message:String(t)}`)}}adaptPlugins(t){return t===void 0||t.length===0?[]:t.map(n=>{let r={name:n.name},o={resolvers:[],loaders:[],transformers:[]},i=n.setup({onResolve:(s,u)=>{o.resolvers.push({options:s,callback:u})},onLoad:(s,u)=>{o.loaders.push({options:s,callback:u})},onTransform:(s,u)=>{o.transformers.push({options:s,callback:u})}});return i instanceof Promise&&(r.buildStart=async function(){await i}),r.resolveId=async(s,u)=>{for(let p of o.resolvers)if(p.options.filter.test(s)){let f=await p.callback({path:s,importer:u??"",namespace:p.options.namespace??"file",kind:"import-statement"});if(f?.path!==void 0||f?.external===!0)return{id:f.path??s,external:f.external}}return null},r.load=async s=>{for(let u of o.loaders)if(u.options.filter.test(s)){let p=await u.callback({path:s,namespace:u.options.namespace??"file"});if(p?.contents!==void 0)return{code:typeof p.contents=="string"?p.contents:new TextDecoder().decode(p.contents)}}return null},r.transform=async(s,u)=>{let p=s;for(let f of o.transformers)if(f.options.filter.test(u)){let g=await f.callback({path:u,code:p});g?.code!==void 0&&(p=g.code)}return p!==s?{code:p}:null},r})}async processRolldownOutput(t,n){let o=`${this.options.entryName??"main"}.js`,i=new Map,s={},u={},p=null,f=0;for(let x of t.output)if(x.type==="chunk"){let w=x.code;n.basePath!==void 0&&(w=w.replace(/\/_lime\/alive/g,`${n.basePath}/_lime/alive`));let A=new TextEncoder().encode(w),F=await this.computeHash(A),D={path:x.fileName,code:A,size:A.length,hash:F,isEntry:x.isEntry,...x.map!==void 0?{map:new TextEncoder().encode(JSON.stringify(x.map))}:{}};if(i.set(x.fileName,D),f+=A.length,x.isEntry&&(x.fileName===o||p===null)&&(p=x.fileName),x.isEntry&&x.facadeModuleId!==void 0){let L=[x.fileName];if(x.imports!==void 0)for(let U of x.imports)L.includes(U)||L.push(U);u[x.facadeModuleId]=L}s[x.fileName]={bytes:A.length,inputs:{},imports:(x.imports??[]).map(L=>({path:L,kind:"import-statement"})),...x.isEntry&&x.facadeModuleId!==void 0?{entryPoint:x.facadeModuleId}:{}}}else if(x.type==="asset"){let w=typeof x.source=="string"?new TextEncoder().encode(x.source):x.source,A=await this.computeHash(w);i.set(x.fileName,{path:x.fileName,code:w,size:w.length,hash:A}),f+=w.length}return Jw(i,{metafile:{inputs:{},outputs:s},entrypointManifest:u,entrypoint:p??o,totalSize:f})}async computeHash(t){let n=await crypto.subtle.digest("SHA-256",t);return Xw(new Uint8Array(n)).slice(0,16)}},cA=(e={})=>new Qw(e)});function vm(e,t){if(typeof e=="object"&&e!==null&&"backend"in e){let r=e;return vm(r.backend,r.options)}let n=e??"rolldown";switch(n){case"rolldown":return cA(t);case"deno-bundler":return aA(t);default:throw new Error(`Unknown bundler backend: ${n}`)}}var dA=k(()=>{lA();uA();lA();uA()});function XQ(e,t){let n={},r=0;for(let[o,i]of e.outputs)n[o]={fileName:o,size:i.size},r+=i.size;return{entrypoint:e.entrypoint??"client.js",outputs:n,manifest:t,totalSize:e.totalSize??r}}function JQ(e){let t=Object.values(e.outputs);if(t.length===0)return{chunkCount:0,largestChunk:{name:"",size:0},smallestChunk:{name:"",size:0},averageChunkSize:0};let n=t.sort((i,s)=>s.size-i.size),r=n[0],o=n[n.length-1];return{chunkCount:t.length,largestChunk:r?{name:r.fileName,size:r.size}:{name:"",size:0},smallestChunk:o?{name:o.fileName,size:o.size}:{name:"",size:0},averageChunkSize:t.length>0?e.totalSize/t.length:0}}function Dz(e){let t=JQ(e);Vs.debug("\u{1F4CA} Bundle Statistics:",{totalSizeKB:(e.totalSize/1024).toFixed(2),chunkCount:t.chunkCount,largestChunk:{name:t.largestChunk.name,sizeKB:(t.largestChunk.size/1024).toFixed(2)},smallestChunk:{name:t.smallestChunk.name,sizeKB:(t.smallestChunk.size/1024).toFixed(2)},averageChunkSizeKB:(t.averageChunkSize/1024).toFixed(2)})}async function _z(e,t,n){Vs.info(`\u{1F4E6} Using bundler backend: ${n}`),Vs.debug(`Bundling with @eser/bundler (${n})...`),Vs.debug(` Entrypoints: ${e.entrypoints.length}`),Vs.debug(` Output: ${e.outputDir}`),Vs.debug(`Creating bundler: ${n}`);let r=vm(n,{entryName:"client"}),o={};for(let f=0;f<e.entrypoints.length;f++){let g=e.entrypoints[f];if(g!==void 0)if(f===0)o.client=g;else{let y=t.find(x=>x.filePath===g);y!==void 0?o[y.relativePath]=g:o[`entry-${f}`]=g}}let i=e.sourcemap===!0||e.sourcemap==="external"||e.sourcemap==="inline",s={entrypoints:o,outputDir:e.outputDir,projectRoot:e.projectRoot,format:"esm",platform:e.platform==="deno"?"node":"browser",codeSplitting:e.splitting!==!1,minify:e.minify??!1,sourcemap:i,plugins:e.plugins,define:e.define},u=await r.bundle(s);if(!u.success){let f=u.errors?.map(g=>g.message).join(`
305
- `)??"Unknown error";throw new Error(`Bundle failed: ${f}`)}let p={};for(let f of t){let g=u.entrypointManifest?.[f.filePath]??[];g.length>0&&(p[f.filePath]=[...g])}return Vs.debug(` Outputs: ${u.outputs.size} files`),Vs.debug(` Total size: ${((u.totalSize??0)/1024).toFixed(2)} KB`),XQ(u,p)}async function Lz(e,t){Vs.info(`\u{1F4E6} Bundling server components with ${t}`),Vs.debug(` Entrypoints: ${e.entrypoints.length}`),Vs.debug(` Output: ${e.outputDir}`),Vs.debug(` Externals: ${e.externals?.length??0}`);let n=vm(t,{entryName:"server"}),r={};for(let u of e.entrypoints){let p=u.replace(e.projectRoot,"").replace(/^\//,"");p=Ha(p,""),r[p]=u}let o={entrypoints:r,outputDir:e.outputDir,format:"esm",platform:"node",codeSplitting:!1,minify:e.minify??!1,sourcemap:e.sourcemap??!1,external:e.externals,plugins:e.plugins},i=await n.bundle(o);if(!i.success){let u=i.errors?.map(p=>p.message).join(`
306
- `)??"Unknown error";throw new Error(`Server bundle failed: ${u}`)}let s=new Map;for(let[u,p]of i.outputs)if(p.isEntry&&i.entrypointManifest!==void 0){for(let[f,g]of Object.entries(i.entrypointManifest))if(g.includes(u)){s.set(f,u);break}}return Vs.debug(` Outputs: ${i.outputs.size} files`),Vs.debug(` Total size: ${((i.totalSize??0)/1024).toFixed(2)} KB`),{outputMap:s,totalSize:i.totalSize??0,fileCount:i.outputs.size}}var Vs,Nz=k(()=>{rt();Gs();dA();Vs=fe.getLogger(["laroux-bundler","bundler"])});function Uz(e,t,n,r,o="info",i=!1){us.debug("\u{1F4CB} Generating chunk manifest...");let s={version:KQ,buildId:e,timestamp:t,entrypoint:n.entrypoint,logLevel:o,hmrEnabled:i,chunks:{},files:{}};for(let[p,f]of Object.entries(n.outputs))s.files[f.fileName]={name:f.fileName,size:f.size,hash:jQ(f.fileName)??void 0};let u=[];for(let p of r){let f=ZQ(p,n),[g,...y]=f;if(!g){us.warn(`No chunks found for ${p.relativePath}`);continue}let x=[g,...y];for(let F of x)s.files[F]||u.push(`${p.relativePath} references ${F}, but it's not in bundle outputs`);let w=qQ(p.relativePath);s.chunks[w]={main:Bz(g),deps:y.map(Bz),size:QQ(f,s.files)};let A=p.exportNames[0]??"default";A!=="default"&&(s.chunks[w].exportName=A),us.debug(` ${w} \u2192 main: ${g}, deps: [${y.join(", ")}]`)}if(u.length>0){us.error("\u274C Chunk manifest validation failed!"),us.error(" Missing chunks:");for(let p of u)us.error(` - ${p}`);throw us.error(` Available files: ${Object.keys(s.files).join(", ")}`),new Error(`Chunk manifest validation failed: ${u.length} chunk(s) referenced but not found in bundle outputs`)}return us.debug("\u2705 Manifest generated"),us.debug(` Components: ${Object.keys(s.chunks).length}`),us.debug(` Chunks: ${Object.keys(s.files).length}`),us.debug(" Validation: All referenced chunks exist"),s}function ZQ(e,t){let n=t.manifest[e.filePath];if(!n||n.length===0)throw us.error(`\u274C No chunk mapping found for component: ${e.filePath}`),us.error(` Available mappings: ${Object.keys(t.manifest).join(", ")}`),new Error(`Chunk manifest incomplete: No chunks found for ${e.relativePath}. This indicates the bundler failed to analyze the component's dependencies.`);return n}function QQ(e,t){return e.reduce((n,r)=>{let o=t[r];return n+(o?.size??0)},0)}function jQ(e){return e.match(/-([a-f0-9]+)\./i)?.[1]??null}function Bz(e){return e.replace(/^chunk-/,"").replace(/\.js$/,"")}function qQ(e){let t=`${Yw}/`;return e.startsWith(t)?e.slice(t.length):e}async function zz(e,t){await C.fs.writeTextFile(t,JSON.stringify(e,null,2)),us.debug(`\u{1F4DD} Chunk manifest saved: ${t}`)}function Wz(e){us.debug("\u{1F4E6} Chunk Manifest:",{entrypoint:e.entrypoint,components:Object.keys(e.chunks).length,files:Object.keys(e.files).length,chunks:Object.fromEntries(Object.entries(e.chunks).map(([t,n])=>[t,{main:n.main,deps:n.deps,exportName:n.exportName,sizeKB:(n.size/1024).toFixed(2)}]))})}var us,KQ,Hz=k(()=>{ye();nA();rt();us=fe.getLogger(["laroux-bundler","chunk-manifest"]),KQ="1.0"});var my,pA,fA=k(()=>{my={minify:!0,sourceMaps:!1,codeSplitting:!0,define:{"process.env.NODE_ENV":'"production"',"process.env.DEBUG":'"false"'}},pA={minify:!1,sourceMaps:!0,codeSplitting:!1,define:{"process.env.NODE_ENV":'"development"',"process.env.DEBUG":'"false"'}}});var mA=k(()=>{"use strict"});var Gz=k(()=>{"use strict";ye()});import{transform as ej}from"lightningcss";import{Buffer as Vz}from"node:buffer";function tj(e){if(e===void 0)return{chrome:90<<16,firefox:88<<16,safari:917504};let t={};return e.chrome!==void 0&&(t.chrome=e.chrome),e.firefox!==void 0&&(t.firefox=e.firefox),e.safari!==void 0&&(t.safari=e.safari),e.edge!==void 0&&(t.edge=e.edge),t}function Yz(e){if(e==null)throw new TypeError(`Expected Uint8Array from Lightning CSS, got ${e===null?"null":"undefined"}`);if(Iv("node")&&typeof Vz<"u"&&Vz.isBuffer(e))return e.toString("utf-8");if(e instanceof Uint8Array)return new TextDecoder().decode(e);if(typeof e=="string")return e;throw new TypeError(`Expected Uint8Array from Lightning CSS, got ${typeof e}`)}function Xz(e,t={}){let{filename:n="styles.css",minify:r=!1,targets:o,cssModules:i=!1,unusedSymbols:s=[]}=t,u={filename:n,code:new TextEncoder().encode(e),minify:r,targets:tj(o),cssModules:i,unusedSymbols:[...s]},p=ej(u),f;if(p.exports!==null&&p.exports!==void 0){f={};for(let[g,y]of Object.entries(p.exports))f[g]={name:y.name,composes:y.composes?.map(x=>({name:x.name,from:x.from!==void 0?String(x.from):void 0}))}}return{code:Yz(p.code),map:p.map!=null?Yz(p.map):void 0,exports:f}}function hA(e,t,n={}){return Xz(e,{...n,filename:t,cssModules:!0})}var gA=k(()=>{"use strict";ye();mA()});async function yA(e,t={}){let{generateDts:n=!1,minify:r=!0,targets:o,tailwind:i}=t,s=await C.fs.readTextFile(e);if(i!==void 0){let y=await i.compile(s,e);y!==null&&(s=y.code)}let u=C.path.basename(e),p=hA(s,u,{minify:r,targets:o,nesting:!0}),f={};if(p.exports!==void 0)for(let[y,x]of Object.entries(p.exports))f[y]=x.name;let g=n?xA(f):void 0;return{code:p.code,exports:f,dts:g}}function xA(e){return`// This file is auto-generated by CSS modules processor
307
- declare const styles: {
308
- ${Object.keys(e).map(r=>` readonly ${r}: string;`).join(`
309
- `)}
310
- };
311
-
312
- export default styles;
313
- `}var Jz=k(()=>{"use strict";ay();ye();gA()});async function Kz(e,t){let n=await fetch(e);if(!n.ok)throw new Error(`Failed to download font from ${e}: ${n.status}`);let r=e.split("/"),o=r[r.length-1]??"font.woff2",i=o.includes(".")?o:`${o}.woff2`,s=C.path.join(t,i),u=await n.arrayBuffer();await C.fs.ensureDir(t),await C.fs.writeFile(s,new Uint8Array(u));let p=i.endsWith(".woff2")?"woff2":i.endsWith(".woff")?"woff":"truetype";return{url:e,localPath:s,filename:i,format:p}}async function Zz(e,t){return await Promise.all(e.map(n=>Kz(n,t)))}function Qz(e){let t=[],n=/url\((["']?)([^"')]+)\1\)/g,r;for(;(r=n.exec(e))!==null;){let o=r[2];o!==void 0&&(o.includes(".woff2")||o.includes(".woff")||o.includes(".ttf"))&&t.push(o)}return t}async function jz(e){let t=await fetch(e,{headers:{"User-Agent":nj}});if(!t.ok)throw new Error(`Failed to fetch Google Fonts CSS: ${t.status} ${t.statusText}`);return await t.text()}function qz(e,t,n){let r=e;for(let o of t){let i=`${n}/${o.filename}`;r=r.replace(o.url,i)}return r}function $z(e,t){return e.map(n=>`<link rel="preload" href="${`${t}/${n.filename}`}" as="font" type="font/${n.format}" crossorigin="anonymous" />`)}function vA(e){let t=e.match(/family=([^&]+)/);if(t===null)return[];let n=t[1];return n===void 0?[]:n.split("|").map(r=>{let o=r.split(":")[0]??r;return decodeURIComponent(o.replace(/\+/g," "))})}async function bA(e,t){let{outputDir:n,publicPath:r="/fonts",maxPreloadFonts:o=2}=t,i=await jz(e),s=Qz(i);if(s.length===0)return{fontFaceCSS:i,preloadHints:[],files:[],totalSize:0};let u=await Zz(s,n),p=0;for(let x of u)try{let w=await C.fs.stat(x.localPath);p+=w.size}catch{}let f=qz(i,u,r),g=u.slice(0,Math.min(o,u.length)),y=$z(g,r);return{fontFaceCSS:f,preloadHints:y,files:u,totalSize:p}}var nj,eW=k(()=>{"use strict";ye();nj="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"});var wA=k(()=>{mA();Gz();gA();Jz();eW()});async function CA(e,t,n="/fonts"){let r=vA(e);np.info(`\u{1F524} Optimizing Google Fonts: ${r.join(", ")||"unknown"}`),np.debug(` URL: ${e}`),np.debug(` Output: ${t}`),np.debug(` Public path: ${n}`);let o=await bA(e,{outputDir:t,publicPath:n,maxPreloadFonts:2});return np.info(` \u2705 Downloaded ${o.files.length} font file(s)`),np.debug(` Total size: ${(o.totalSize/1024).toFixed(2)} KB`),np.debug(` Generated ${o.preloadHints.length} preload hint(s) for critical fonts`),o}var np,tW=k(()=>{rt();wA();np=fe.getLogger(["laroux-bundler","font-optimizer"])});function nW(e){return e.filter(t=>t.provider==="google")}function rW(e){let t=nW(e);if(t.length===0)return"";let r=t.map(i=>{let s=i.family.replace(/\s+/g,"+");if(i.weights&&i.weights.length>0){let u=i.styles??["normal"];if(u.includes("italic")&&u.includes("normal")){let p=[];for(let f of u){let g=f==="italic"?"1":"0";for(let y of i.weights)p.push(`${g},${y}`)}s+=`:ital,wght@${p.join(";")}`}else u.includes("italic")?s+=`:ital,wght@${i.weights.map(p=>`1,${p}`).join(";")}`:s+=`:wght@${i.weights.join(";")}`}return s}).map(i=>`family=${i}`).join("&"),o=t[0]?.display??"swap";return`https://fonts.googleapis.com/css2?${r}&display=${o}`}function RA(e){return nW(e).length===0?[]:[rW(e)]}var oW=k(()=>{});var iW=k(()=>{tW();oW()});async function jw(e,t){if(e.startsWith(".")||e.startsWith("/")){let i=C.path.resolve(t,e),s=await C.fs.readTextFile(i);return{path:i,content:s,base:C.path.dirname(i)}}let n=t;for(;n!=="/"&&n!=="";){let i=C.path.resolve(n,"node_modules",e);try{let s=await C.fs.readTextFile(i);return{path:i,content:s,base:C.path.dirname(i)}}catch{if(!e.endsWith(".css")){let u=`${i}.css`;try{let p=await C.fs.readTextFile(u);return{path:u,content:p,base:C.path.dirname(u)}}catch{}}let s=C.path.resolve(n,"node_modules",e,"index.css");try{let u=await C.fs.readTextFile(s);return{path:s,content:u,base:C.path.dirname(s)}}catch{n=C.path.dirname(n)}}}let r=C.path.resolve(t,e),o=await C.fs.readTextFile(r);return{path:r,content:o,base:C.path.dirname(r)}}var TA=k(()=>{ye()});import{compile as oj}from"tailwindcss";async function hy(e,t){let n=await oj(e,{base:t.base,loadStylesheet:jw}),r=t.candidates??[];return n.build(r)}function qw(e,t){return hy(e,{base:t,candidates:[]})}var kA=k(()=>{TA()});function aW(){return{criticalLayers:gy,aboveFoldPatterns:yy,forceInclude:[],forceExclude:[]}}var gy,yy,sW,EA=k(()=>{gy=["theme","base","properties"],yy=[/^\.(flex|grid|block|inline|hidden)/,/^\.(items-|justify-|gap-|space-)/,/^\.(w-|h-|min-h-|max-w-)/,/^\.(p-|px-|py-|pt-|pb-|pl-|pr-)/,/^\.(m-|mx-|my-|mt-|mb-|ml-|mr-)/,/^\.(text-|font-|leading-)/,/^\.(bg-|border-)/,/^\.(from-|via-|to-)/,/^\.(container|wrapper)/,/^\.(rounded|shadow)/,/^\.(overflow-)/,/^\.(sm:|md:|lg:|xl:)/],sW=[/--tw-gradient/,/--tw-rotate/,/--tw-scale/,/--tw-skew/,/--tw-translate/,/--tw-shadow/,/--tw-ring/,/--tw-blur/,/--tw-brightness/]});function ij(e,t){let n=t;for(;n<e.length&&e[n]!=="{";)n++;if(n>=e.length)return null;let r=n+1,o=1;for(n++;n<e.length&&o>0;)e[n]==="{"?o++:e[n]==="}"&&o--,n++;return{innerContent:e.slice(r,n-1).trim(),end:n}}function sj(e){let t=[],n="@keyframes",r=0;for(;r<e.length;){let o=e.indexOf(n,r);if(o===-1)break;let i=o+n.length;for(;i<e.length&&/\s/.test(e[i]??"");)i++;let s=i;for(;s<e.length&&e[s]!=="{"&&!/\s/.test(e[s]??"");)s++;let u=e.slice(i,s),p=s;for(;p<e.length&&e[p]!=="{";)p++;if(p>=e.length){r=e.length;break}let f=1,g=p+1;for(;g<e.length&&f>0;)e[g]==="{"?f++:e[g]==="}"&&f--,g++;let y=e.slice(o,g);t.push({name:u,block:y}),r=g}return t}function aj(e){let t=new Map,n=new Map,r=new Map,o=/@layer\s+([a-zA-Z_-][a-zA-Z0-9_-]*)\s*[{;]/g,i;for(;(i=o.exec(e))!==null;){let s=i[1];if(s===void 0||i[0].endsWith(";"))continue;let u=ij(e,i.index+i[0].length-1);u&&(n.has(s)||(n.set(s,[]),r.set(s,{start:i.index,end:u.end})),n.get(s).push(u.innerContent),r.get(s).end=u.end)}for(let[s,u]of n){let p=u.join(`
314
- `),f=r.get(s);t.set(s,{block:`@layer ${s} {
315
- ${p}
316
- }`,start:f.start,end:f.end})}return t}function lj(e){let t=[],n=0;for(;n<e.length;){for(;n<e.length&&/\s/.test(e[n]);)n++;if(n>=e.length)break;let r=n;for(;n<e.length&&e[n]!=="{";)n++;if(n>=e.length)break;let o=e.slice(r,n).trim();if(!o){n++;continue}let i=1;for(n++;n<e.length&&i>0;)e[n]==="{"?i++:e[n]==="}"&&i--,n++;let s=e.slice(r,n);o.startsWith("@media")||o.startsWith("@supports")?t.push({selector:"@media",full:s}):o&&!o.startsWith("@")&&t.push({selector:o,full:s})}return t}function cj(e,t){let n=e.match(/\.([a-zA-Z_-][a-zA-Z0-9_\-\\:/.[\]]*)/g);if(n)for(let i of n){let s=i.substring(1);if(s=s.replace(/\\/g,""),s=s.split(":")[0]??"",s&&new RegExp(`class=["'][^"']*\\b${uj(s)}\\b`,"i").test(t))return!0}let r=e.match(/^([a-zA-Z][a-zA-Z0-9-]*)/);if(r&&r[1]){let i=r[1].toLowerCase();if(new RegExp(`<${i}[\\s>]`,"i").test(t))return!0}let o=e.match(/#([a-zA-Z_-][a-zA-Z0-9_-]*)/g);if(o)for(let i of o){let s=i.substring(1);if(new RegExp(`id=["']${s}["']`,"i").test(t))return!0}return!1}function uj(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function lW(e,t){return t.some(n=>typeof n=="string"?e.includes(n):n.test(e))}function dj(e){return yy.some(t=>t.test(e))}function $w(e){let{html:t,css:n,forceInclude:r=[],forceExclude:o=[]}=e;xy.debug("Extracting critical page CSS (Tailwind v4 aware)...");let i=[],s=[],u=0,p=0,f=n.match(/^\/\*![\s\S]*?\*\//);f&&i.push(f[0]);let g=n.match(/@layer\s+[\w,-]{1,200}(?:\s+[\w,-]{1,50})*\s*;/);g&&i.push(g[0]);let y=/@property\s+--[\w-]+\s*\{[^}]{0,5000}\}/g,x=n.match(y)??[];x.length>0&&(i.push(x.join(`
317
- `)),u+=x.length,xy.debug(` @property rules: ${x.length} (CRITICAL)`));let w=aj(n);for(let[G,W]of w)if(gy.includes(G))i.push(W.block),u++,xy.debug(` @layer ${G}: CRITICAL (required)`);else if(G==="utilities"){let{critical:M,deferred:ne}=cW(W.block,t,r,o);M.trim()&&(i.push(`@layer utilities {
318
- ${M}
319
- }`),u+=M.split("}").length-1),ne.trim()&&(s.push(`@layer utilities {
320
- ${ne}
321
- }`),p+=ne.split("}").length-1),xy.debug(" @layer utilities: split")}else if(G==="components"){let{critical:M,deferred:ne}=cW(W.block,t,r,o);M.trim()&&(i.push(`@layer components {
322
- ${M}
323
- }`),u++),ne.trim()&&(s.push(`@layer components {
324
- ${ne}
325
- }`),p++)}else s.push(W.block),p++;let A=/@font-face\s*\{[^}]{0,10000}\}/gi,F=n.match(A)??[];for(let G of F)i.push(G),u++;let D=sj(n);for(let G of D)G.name&&t.includes(G.name)?(i.push(G.block),u++):(s.push(G.block),p++);let L=i.join(`
326
-
327
- `),U=s.join(`
328
-
329
- `),Y={originalSize:new TextEncoder().encode(n).length,criticalSize:new TextEncoder().encode(L).length,deferredSize:new TextEncoder().encode(U).length,criticalRules:u,deferredRules:p};return xy.debug(`Critical: ${Y.criticalSize} bytes (${u} parts), Deferred: ${Y.deferredSize} bytes (${p} parts)`),{critical:L,deferred:U,stats:Y}}function cW(e,t,n,r){let o=e.replace(/^@layer\s+\w+\s*\{/,"").replace(/\}$/,"").trim(),i=lj(o),s=[],u=[];for(let p of i){if(p.selector==="@media"){p.full.includes("@media")&&(p.full.includes("min-width")||p.full.includes("max-width"))?s.push(p.full):u.push(p.full);continue}if(lW(p.selector,r)){u.push(p.full);continue}if(lW(p.selector,n)){s.push(p.full);continue}let f=cj(p.selector,t),g=dj(p.selector);f||g?s.push(p.full):u.push(p.full)}return{critical:s.join(`
330
- `),deferred:u.join(`
331
- `)}}function uW(e){return`<script>
332
- (function(){
333
- var l=document.createElement('link');
334
- l.rel='stylesheet';
335
- l.href='${e}';
336
- l.media='print';
337
- l.onload=function(){this.media='all'};
338
- document.head.appendChild(l);
339
- })();
340
- </script>
341
- <noscript><link rel="stylesheet" href="${e}"></noscript>`}var xy,SA=k(()=>{rt();EA();xy=fe.getLogger(["laroux-bundler","critical-page-css"])});function eC(e,t){let r=new RegExp(`@layer\\s+${t}\\s*\\{`,"g").exec(e);if(!r)return null;let o=r.index+r[0].length,i=1,s=o;for(;s<e.length&&i>0;)e[s]==="{"?i++:e[s]==="}"&&i--,s++;return e.slice(o,s-1).trim()}function mj(e){let t=[],n=/([^{}]+)\{([^{}]*)\}/g,r;for(;(r=n.exec(e))!==null;){let o=r[1],i=r[2];if(o===void 0||i===void 0)continue;let s=o.trim(),u=i.trim();s&&u&&t.push({selector:s,declarations:u})}return t}function hj(e){let t=e.trim().toLowerCase();for(let n of fj)if(t===n.toLowerCase()||t.startsWith("a ")||t.startsWith("a,")||t.startsWith("button ")||t.startsWith("button,"))return!1;for(let n of pj){if(t===n.toLowerCase())return!0;let r=t.split(",").map(i=>i.trim()),o=n.toLowerCase().split(",").map(i=>i.trim());if(r.some(i=>o.includes(i))||o.some(i=>r.includes(i)))return!0}return!1}function gj(e){let t={},n=/(--[\w-]+):\s*([^;]+);/g,r;for(;(r=n.exec(e))!==null;){let[,o,i]=r;o&&i&&(t[o]=i.trim())}return t}function vy(e){dW.debug("Extracting critical universal CSS from compiled output...");let t=[],n=0,r=eC(e,"theme"),o=r?gj(r):{};t.push("*,*::before,*::after{box-sizing:border-box}"),n++;let i=eC(e,"base");if(i){let p=[i],f=e.indexOf(i)+i.length;for(;f<e.length;){let g=eC(e.slice(f),"base");if(g)p.push(g),f+=e.slice(f).indexOf(g)+g.length;else break}for(let g of p){let y=mj(g);for(let x of y)if(hj(x.selector)){let w=x.declarations.replace(/\s+/g," ").replace(/;\s*/g,";").replace(/:\s*/g,":").trim();w&&(t.push(`${x.selector}{${w}}`),n++)}}}let s=t.join(`
342
- `),u={variableCount:Object.keys(o).length,rulesExtracted:n,size:new TextEncoder().encode(s).length};return dW.debug(`Extracted critical universal CSS: ${u.size} bytes, ${u.rulesExtracted} rules, ${u.variableCount} theme variables`),{css:s,themeVariables:o,stats:u}}function pW(e){return vy(e).css.replace(/\n+/g,"").replace(/\s*{\s*/g,"{").replace(/\s*}\s*/g,"}").replace(/\s*;\s*/g,";").replace(/\s*:\s*/g,":").replace(/;\}/g,"}")}function fW(e){return eC(e,"theme")}var dW,pj,fj,mW,PA=k(()=>{rt();dW=fe.getLogger(["laroux-bundler","critical-universal-css"]),pj=["html",":host","html, :host","body","#root",".initial-loading","[data-client-component]"],fj=["*","*, ::after, ::before","*, ::after, ::before, ::backdrop, ::file-selector-button","a","button","h1","h2","h3","h4","h5","h6","h1, h2, h3, h4, h5, h6"];mW="html{scrollbar-gutter:stable}*,*::before,*::after{box-sizing:border-box}"});import{Scanner as yj}from"@tailwindcss/oxide";function by(e={}){let{globalCssPath:t="src/app/styles/global.css",autoInjectReference:n=!0,detectPatterns:r=[/@tailwind\b/,/@apply\b/,/@import\s+["']tailwindcss/]}=e;return{name:"tailwindcss",shouldProcess(o,i){return r.some(s=>s.test(o))},preprocess(o,i){if(i.isModule&&o.includes("@apply")){let s=o,u=/^@reference\s+/m.test(o);if(n&&!u){let p=C.path.dirname(i.cssPath),f=C.path.resolve(i.projectRoot,t);s=`@reference "${C.path.relative(p,f)}";
343
-
344
- ${o}`}return qw(s,C.path.dirname(i.cssPath))}return o},async compile(o,i){let s=C.path.dirname(i.cssPath),u=C.path.resolve(i.projectRoot,"src"),p=[];for await(let y of Bc(u,"**/*.{tsx,ts,jsx,js}",/node_modules/)){let x=C.path.resolve(u,y),w=C.path.extname(y),A=await C.fs.readTextFile(x);p.push({content:A,extension:w.slice(1)})}let g=new yj({}).scanFiles(p);return xj.debug(`Scanned ${p.length} files, found ${Array.isArray(g)?g.length:0} candidates`),hy(o,{base:s,candidates:g})},extractCriticalCss(o,i,s){let u=$w({css:o,html:i,forceInclude:s?.forceInclude,forceExclude:s?.forceExclude});return{critical:u.critical,deferred:u.deferred,stats:{originalSize:u.stats.originalSize,criticalSize:u.stats.criticalSize,deferredSize:u.stats.deferredSize}}},extractUniversalCss(o){let i=vy(o);return{css:i.css,themeVariables:i.themeVariables}}}}var xj,hW=k(()=>{ye();rt();py();kA();SA();PA();xj=fe.getLogger(["laroux-bundler","tailwindcss"])});var tC={};xe(tC,{ABOVE_FOLD_PATTERNS:()=>yy,CRITICAL_LAYERS:()=>gy,CRITICAL_PROPERTY_PATTERNS:()=>sW,DEFAULT_CRITICAL_UNIVERSAL_CSS:()=>mW,compileTailwind:()=>hy,createTailwindPlugin:()=>by,expandApplyDirectives:()=>qw,extractCriticalPageCss:()=>$w,extractCriticalUniversalCss:()=>vy,extractThemeLayer:()=>fW,generateAsyncCssLoader:()=>uW,generateCriticalUniversalCss:()=>pW,getDefaultCriticalCssConfig:()=>aW,loadStylesheet:()=>jw});var wy=k(()=>{hW();kA();TA();EA();SA();PA()});async function vj(e,t={}){let{generateDTS:n=!1,projectRoot:r,minify:o=!0,plugin:i,globalCssPath:s="src/app/styles/global.css"}=t;Cy.debug(`Processing CSS module: ${e}`);let u=await C.fs.readTextFile(e),p={projectRoot:r??C.process.cwd(),cssPath:e,isModule:!0},f=i??by({globalCssPath:s}),g=u;if(f.shouldProcess?.(u,p)??!0){let x=f.preprocess?.(u,p);x!==void 0&&(g=await Promise.resolve(x))}let y=e.replace(/\.module\.css$/,".temp.module.css");await C.fs.writeTextFile(y,g);try{let x=await yA(y,{generateDts:n,minify:o}),w=C.path.basename(e);return Cy.debug(`Processed ${Object.keys(x.exports).length} class(es) in ${w}`),x}finally{await C.fs.remove(y).catch(()=>{})}}async function AA(e,t={}){let{cache:n,projectRoot:r,minify:o=!0,globalCssPath:i="src/app/styles/global.css",...s}=t;Cy.debug(`Processing ${e.length} CSS module(s)`);let u=by({globalCssPath:i}),p=0,f=0;try{let g=await Promise.all(e.map(async y=>{if(n!==void 0)try{let A=(await C.fs.stat(y)).mtime?.getTime()??0,F=n.getCssModuleResult(y,A);if(F!=null)return p++,[y,{code:F.code,exports:F.exports}]}catch{}f++;let x=await vj(y,{...s,projectRoot:r,minify:o,plugin:u,globalCssPath:i});if(n!==void 0)try{let A=(await C.fs.stat(y)).mtime?.getTime()??0;n.setCssModuleResult(y,x.code,x.exports,A)}catch{}return[y,x]}));return n!==void 0&&(p>0||f>0)&&Cy.debug(`CSS modules: ${p} cache hits, ${f} processed`),new Map(g)}finally{}}async function gW(e,t,n,r){let o=C.path.basename(e,".module.css"),i=e.startsWith(n)?n:r?.projectRoot??C.process.cwd(),s=C.path.relative(i,e),u=C.path.dirname(s),p=C.path.resolve(n,u);if(await C.fs.mkdir(p,{recursive:!0}),r?.skipCss!==!0){let g=C.path.resolve(p,`${o}.module.css`);await C.fs.writeTextFile(g,t.code)}let f=C.path.resolve(p,`${o}.module.css.json`);if(await C.fs.writeTextFile(f,JSON.stringify(t.exports,null,2)),t.dts!==void 0){let g=C.path.resolve(p,`${o}.module.css.d.ts`);await C.fs.writeTextFile(g,t.dts)}Cy.debug(`Saved CSS module outputs to ${p}`)}var Cy,yW=k(()=>{ye();rt();wA();wy();Cy=fe.getLogger(["laroux-bundler","css-modules"])});function bj(e,t){for(let n of t)if(e===n||e.startsWith(`${n}/`))return!0;return!1}function vW(e){let{externals:t}=e,n=t.map(o=>o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),r=new RegExp(`^(${n.join("|")})($|\\/)`);return xW.debug(`Server externals plugin initialized with ${t.length} packages: ${t.join(", ")}`),{name:"server-externals",setup(o){o.onResolve({filter:r},i=>{let s=i.path;return bj(s,t)?(xW.debug(`Marking as external: ${s}`),{external:!0}):{}})}}}var xW,bW=k(()=>{rt();xW=fe.getLogger(["laroux-bundler","server-externals"])});async function wW(){return nC===null&&(nC=await import("npm:sharp@^0.33.5")),nC.default??nC}async function FA(e){let t=[],n=[".jpg",".jpeg",".png",".gif",".webp"];async function r(o){try{for await(let i of C.fs.readDir(o)){let s=C.path.resolve(o,i.name);if(i.isDirectory)await r(s);else if(i.isFile){let u=C.path.extname(i.name).toLowerCase();n.includes(u)&&t.push(s)}}}catch{}}return await r(e),t}async function Cj(e,t){return`data:image/webp;base64,${(await(await wW())(e).resize(t,void 0,{fit:"inside"}).blur(5).webp({quality:20}).toBuffer()).toString("base64")}`}async function OA(e,t,n,r={}){let o=await wW(),i={...wj,...r},s=o(e),u=await s.metadata();if(u.width===void 0||u.height===void 0)throw new Error(`Could not read image dimensions: ${e}`);let p=u.width,f=u.height,g=p/f,y=C.path.basename(e,C.path.extname(e)),x=`${n}/${y}`,w=[];for(let F of i.widths){if(F>p)continue;let D=Math.round(F/g);for(let L of i.formats){let U,Y;if(L==="original"){let M=C.path.extname(e).toLowerCase();Y=M.replace(".",""),U=C.path.resolve(t,`${y}-${F}w${M}`)}else Y=L,U=C.path.resolve(t,`${y}-${F}w.${L}`);await C.fs.ensureDir(C.path.dirname(U));let G=s.clone().resize(F,D,{fit:"cover"});L==="webp"?G=G.webp({quality:i.quality.webp}):L==="avif"?G=G.avif({quality:i.quality.avif}):Y==="jpg"||Y==="jpeg"?G=G.jpeg({quality:i.quality.jpeg}):Y==="png"&&(G=G.png({quality:i.quality.png}));let W=await G.toBuffer();await C.fs.writeFile(U,W),w.push({path:U,format:Y,width:F,height:D,size:W.length})}}let A;return i.generateBlurPlaceholder&&(A=await Cj(e,i.placeholderWidth)),{originalPath:e,publicPath:x,originalWidth:p,originalHeight:f,variants:w,blurDataUrl:A,aspectRatio:g}}async function CW(e,t,n="/images",r={}){bm.info(`Scanning for images in ${e}...`);let o=await FA(e);if(o.length===0)return bm.debug("No images found to optimize"),{timestamp:Date.now(),images:{}};bm.info(`Found ${o.length} image(s) to optimize`);let i={},s=0,u=0;for(let y of o)try{let x=await C.fs.stat(y);s+=x.size;let w=await OA(y,t,n,r);i[y]=w;let A=w.variants.reduce((F,D)=>F+D.size,0);u+=A,bm.debug(`Optimized: ${C.path.basename(y)} \u2192 ${w.variants.length} variants`)}catch(x){bm.warn(`Failed to optimize ${y}: ${x instanceof Error?x.message:String(x)}`)}let p={timestamp:Date.now(),images:i},f=C.path.resolve(t,"image-manifest.json");await C.fs.ensureDir(C.path.dirname(f)),await C.fs.writeTextFile(f,JSON.stringify(p,null,2));let g=s>0?((1-u/s)*100).toFixed(1):0;return bm.info(`Image optimization complete: ${o.length} images, ${g}% size reduction`),p}function RW(e,t="webp"){return e.variants.filter(r=>r.format===t).sort((r,o)=>r.width-o.width).map(r=>`${r.path} ${r.width}w`).join(", ")}function TW(e,t,n="webp"){let r=e.variants.filter(o=>o.format===n).sort((o,i)=>o.width-i.width);return r.find(o=>o.width>=t)??r.at(-1)}var bm,nC,wj,kW=k(()=>{ye();rt();bm=fe.getLogger(["laroux","image-optimizer"]),nC=null;wj={formats:["webp","original"],widths:[640,768,1024,1280,1920],quality:{webp:80,avif:75,jpeg:85,png:90},generateBlurPlaceholder:!0,placeholderWidth:10}});var EW={};xe(EW,{generateSrcset:()=>RW,getBestVariant:()=>TW,optimizeImage:()=>OA,optimizeImages:()=>CW,scanImages:()=>FA});var SW=k(()=>{kW()});var IW={};xe(IW,{build:()=>Cm,createBuildContext:()=>wm,ensureBuildIsReady:()=>Rj,watch:()=>oC});function wm(e,t){let n=e.projectRoot,r=e.srcDir,o=e.distDir,i="",s=C.path.resolve(o,OW);return{config:e,projectRoot:n,srcDir:r,distDir:o,clientEntry:i,chunkManifestFile:s,bundlerBackend:t?.bundlerBackend,plugin:t?.framework??YU,cssPlugin:t?.css}}async function Cm(e,t){let{srcDir:n,distDir:r,projectRoot:o}=e,i=performance.now(),s=HU();le.info("\u{1F680} Starting RSC build..."),le.debug(`\u{1F194} Build ID: ${s}`);try{if(t?.cssOnly){le.debug("\u26A1 CSS-only rebuild (fast path)");let be=Date.now(),he=C.path.resolve(r,rC),Ne=e.cssPlugin;if(!Ne)return le.warn("\u26A0\uFE0F No CSS plugin provided, skipping CSS processing"),{success:!0,clientBundle:"",moduleMap:{},clientComponents:0,duration:performance.now()-i,timestamp:be};let Et=await MA(n);await PW(Ne,n,o,he),Et.length>0&&await AW(o,he,e.config,{cssModulePaths:Et,cache:e.cache});let en=performance.now()-i;return le.info(`\u26A1 CSS rebuild completed (${en.toFixed(0)}ms)`),{success:!0,clientBundle:"",moduleMap:{},clientComponents:0,duration:en,timestamp:be}}await Ij(r,t?.skipCss),await C.fs.ensureDir(r);let u=Date.now();le.debug("\u{1F50D} Step 3: Parallel scanning (routes, components, CSS modules)...");let p=C.path.resolve(n,"app/routes"),{plugin:f}=e,[g,y,x]=await Promise.all([pz(p,o),f.analyzeClientComponents?f.analyzeClientComponents(n,o,e.cache):Promise.resolve([]),MA(n)]),w=C.path.resolve(r,Uu);await C.fs.ensureDir(w);let A=C.path.resolve(w,"_generated-routes.ts"),F=C.path.relative(o,n);if(await fz({scanResult:g,outputPath:A,projectRoot:o,srcDirName:F}),le.debug(`\u2713 Generated ${g.routes.length} page route(s) to dist/`),g.apiRoutes.length>0){let be=C.path.resolve(r,"server","api-routes.ts");await C.fs.ensureDir(C.path.dirname(be)),await mz(g,be,o),le.debug(`\u2713 Generated ${g.apiRoutes.length} API route(s)`)}if(g.proxies.length>0){let be=C.path.resolve(r,"server","proxy-registry.ts");await C.fs.ensureDir(C.path.dirname(be)),await hz(g,be,o),le.debug(`\u2713 Generated ${g.proxies.length} proxy definition(s)`)}y.length===0&&le.warn("\u26A0\uFE0F Warning: No client components found!"),le.debug("\u{1F504} Step 4: Transforming client components...");let D=f.transformClientComponents?await f.transformClientComponents(y,C.path.resolve(r,Uu),o):[];f.generateTransformManifest&&await f.generateTransformManifest(D,C.path.resolve(r,"transform-manifest.json"),o),le.debug("\u270F\uFE0F Step 5: Rewriting server component imports...");let L=f.getAllComponents?await f.getAllComponents(n):[],U=new Set(y.map(be=>be.filePath)),Y=L.filter(be=>!U.has(be));f.rewriteServerComponents&&await f.rewriteServerComponents(Y,D,x,C.path.resolve(r,Uu),o),le.debug("\u{1F504} Step 5b: Transforming server actions with React symbols...");let G=C.path.resolve(r,Uu),W=await xU(G);if(W.length>0){let be=W.reduce((he,Ne)=>he+Ne.transformedActions.length,0);le.info(` \u2705 Transformed ${W.length} file(s) with ${be} action(s)`)}le.debug("\u{1F5FA}\uFE0F Step 6: Generating module map...");let M=C.path.resolve(r,rC);await C.fs.ensureDir(M);let ne=f.createModuleMap?await f.createModuleMap(y):{};f.saveModuleMap&&await f.saveModuleMap(ne,C.path.resolve(M,MW)),f.createClientManifest&&await f.createClientManifest(y);let Re=e.cssPlugin;!t?.skipCss&&Re?(le.debug("\u{1F3A8} Step 7: Processing CSS with CSS plugin + Lightning CSS..."),await PW(Re,n,o,M)):Re?le.debug("\u23ED\uFE0F Skipping CSS processing (JS-only change)"):le.debug("\u23ED\uFE0F No CSS plugin provided, skipping CSS processing"),le.debug("\u{1F4C1} Step 8: Creating virtual source for bundling...");let ve=await wz({projectRoot:o,distDir:r,srcDir:n,changedFiles:t?.changedFiles}),re=ve.virtualSrcDir;le.debug("\u{1F50C} Step 8b: Generating client action stubs in virtual source...");let me=C.path.join(re,F),ce=await bU(me,re);if(ce.length>0){let be=ce.reduce((he,Ne)=>he+Ne.exportedActions.length,0);le.info(` \u2705 Generated ${ce.length} stub file(s) with ${be} action(s)`)}let Ce;if(!t?.skipCss){le.debug("\u{1F3A8} Step 9: Processing CSS Modules to virtual source...");let be=x.map(Et=>fy(Et,n,re)),he=await AW(o,re,e.config,{skipCss:!0,cssModulePaths:be,cache:e.cache});Ce=new Map;let Ne=C.path.join(re,F);for(let[Et,en]of he){let je=C.path.relative(Ne,Et),ze=C.path.resolve(n,je);Ce.set(ze,en)}be.length>0&&(le.debug("\u270F\uFE0F Step 10: Rewriting CSS module imports in virtual source..."),f.rewriteCssModuleImports&&await f.rewriteCssModuleImports(Ne,be,o))}le.debug("\u{1F4E6} Step 11: Bundling client code from virtual source...");let ge=Cz(y,n,re),Pe=await Ej({...e,srcDir:re},ge,s,u);if(!t?.skipCss&&x.length>0&&(le.debug(`\u{1F4CB} Step 12: Copying ${x.length} CSS Module JSON file(s) to client/...`),await FW(x.map(be=>fy(be,n,re)),re,M),le.debug(`\u{1F4CB} Step 13: Copying ${x.length} CSS Module JSON file(s) to server/...`),await FW(x.map(be=>fy(be,n,re)),re,C.path.resolve(r,Uu)),le.debug("\u{1F3A8} Step 14: Appending CSS modules to styles.css..."),await _j(x,o,M,Ce)),le.debug("\u{1F9F9} Step 15: Cleaning up virtual source..."),await ve.cleanup(),Re){le.debug("\u2728 Step 16: Extracting critical CSS...");let be=await Oj(Re,M);be&&le.debug(` Critical: ${be.criticalPath}, Deferred: ${be.deferredPath}`),le.debug("\u{1F3A8} Step 17: Generating universal CSS...");let he=await Mj(Re,M);he&&le.debug(` Universal: ${he}`)}le.debug("\u{1F524} Step 18: Optimizing Fonts..."),await Dj(M,e.config.fonts),le.debug("\u{1F5BC}\uFE0F Step 19: Optimizing Images..."),await Lj(o,M,e.config),le.debug("\u{1F310} Step 20: Copying translation files..."),await Fj(n,C.path.resolve(r,Uu),o);let ot=C.path.resolve(r,Uu);if(await Pj(o,ot),le.info(`\u{1F4E6} Step 22: Server bundling check - components: ${Y.length}`),Y.length>0){le.info(`\u{1F4E6} Step 22: Bundling ${Y.length} server component(s) with rolldown...`);let be=[];for(let he of Y){let Ne=C.path.relative(o,he),Et=C.path.join(ot,Ne);await C.fs.exists(Et)&&be.push(Et)}if(le.info(` Found ${be.length} server entrypoints to bundle`),be.length>0){let he=e.config.serverExternals,Ne=vW({externals:he}),Et=await Lz({entrypoints:be,outputDir:ot,projectRoot:ot,sourcemap:!1,minify:!1,externals:he,plugins:[Ne]},e.bundlerBackend??"deno-bundler");le.info(` \u2705 Bundled ${Et.fileCount} server file(s)`)}}le.debug("\u{1F4CB} Step 22b: Generating server actions manifest...");let Ze=(await fm(n,{projectRoot:o})).map(be=>Ha(be.relativePath,".js")),Tn=C.path.resolve(ot,"actions-manifest.json");await C.fs.writeTextFile(Tn,JSON.stringify({actions:Ze},null,2)),le.debug(`\u2713 Generated actions manifest: ${Ze.length} action file(s)`),await Aj(o,r);let Jt=performance.now()-i;return le.info("\u{1F4CA} Build Summary:"),le.info(` Client components: ${y.length}`),le.info(` Build time: ${Jt.toFixed(0)}ms`),{success:!0,clientBundle:Pe,moduleMap:ne,clientComponents:y.length,duration:Jt,timestamp:u}}catch(u){let p=u instanceof Error?u.message:String(u),f=u instanceof Error?u.stack:null;return le.error("\u274C Build failed:"),le.error(` Error: ${p}`),f!==null&&le.error(` Stack trace:
345
- ${f}`),{success:!1,clientBundle:"",moduleMap:{},clientComponents:0,duration:performance.now()-i,timestamp:Date.now()}}}async function Rj(e){return await Tj(e)?(le.info("\u{1F504} Build needed, running build..."),await Cm(e)):(le.info("\u2705 Build is up-to-date, skipping..."),await kj(e))}async function Tj(e){let{distDir:t,chunkManifestFile:n,srcDir:r,clientEntry:o,projectRoot:i}=e;if(!await C.fs.exists(t)||!await C.fs.exists(n))return!0;let s=await C.fs.readTextFile(n),p=JSON.parse(s).timestamp,f=[];for await(let g of C.fs.readDir(r))g.isFile&&kg.test(g.name)&&f.push(C.path.resolve(r,g.name));f.push(o);for(let g of f)try{let y=await C.fs.stat(g);if(y.mtime&&y.mtime.getTime()>p)return le.debug(` Changed: ${C.path.relative(i,g)}`),!0}catch{}return!1}async function kj(e){let{chunkManifestFile:t,distDir:n}=e,r=await C.fs.readTextFile(t),o=JSON.parse(r),i=await C.fs.readTextFile(C.path.resolve(n,MW)),s=JSON.parse(i);return{success:!0,clientBundle:C.path.resolve(n,"client.js"),moduleMap:s,clientComponents:Object.keys(s).length,duration:0,timestamp:o.timestamp}}function oC(e,t){let{srcDir:n,distDir:r,projectRoot:o}=e;le.debug("\u{1F441}\uFE0F Watch mode enabled, monitoring for changes...");let i=Rz(),s={...e,cache:i},u=C.path.relative(o,r),p=[n],f=C.fs.watch(p),g=!1,y=!1,x=new Set,w=null,A=50;async function F(){if(g){y=!0;return}g=!0;do{y=!1;try{let D=Array.from(x);i.invalidateFiles(D.map(ne=>C.path.resolve(o,ne)));let L=D.some(ne=>ne.endsWith(".css")),U=D.some(ne=>ne.match(/\.(tsx?|jsx?)$/)),Y=L&&!U,G=!L&&U,W=new Set(D.map(ne=>C.path.resolve(o,ne))),M=await Cm(s,{skipCss:G,cssOnly:Y,changedFiles:W});M.changedFiles=Array.from(x),le.debug(`\u2705 Rebuild complete (${M.duration.toFixed(0)}ms)`),t(M),x.clear()}catch(D){le.error("\u274C Rebuild failed:",{error:D})}}while(y);g=!1}return(async()=>{for await(let D of f)if(D.kind==="modify"||D.kind==="create"||D.kind==="remove"){let L=D.paths[0];if(!L)continue;let U=C.path.relative(o,L);if(!U.match(/\.(tsx?|jsx?|css)$/))continue;let Y=ql(U),G=ql(u);if(Y.startsWith(`${G}/`)||U.includes(".temp."))continue;le.debug(`\u{1F504} File changed: ${U}`),x.add(U),w!==null&&clearTimeout(w),w=setTimeout(()=>{w=null,F()},A)}})(),f}async function Ej(e,t,n,r){let{config:o,projectRoot:i,distDir:s}=e,{plugin:u}=e;if(!u.createClientEntry)throw new Error("Framework plugin must implement createClientEntry");let p=await u.createClientEntry(t,i,s);try{let f=t.map(D=>D.filePath),g=C.path.resolve(s,rC),y=nz({projectRoot:i,browserShims:o.browserShims,autoMarkExternal:!1}),x={...my.define};if(!e.bundlerBackend)throw new Error("Bundler backend is required for client bundling");let w=await _z({entrypoints:[p,...f],outputDir:g,projectRoot:i,minify:my.minify,splitting:my.codeSplitting,platform:"browser",sourcemap:my.sourceMaps,plugins:[y],define:x},t,e.bundlerBackend),A=Uz(n,r,w,t,o.logLevel,!1),F=C.path.resolve(g,OW);await zz(A,F);try{await C.fs.remove(p)}catch{}return Dz(w),Wz(A),C.path.resolve(s,w.entrypoint)}catch(f){try{await C.fs.remove(p)}catch{}throw f}}function Sj(e,t){for(let[n,r]of Object.entries(e))typeof r=="string"&&(r.startsWith("./")||r.startsWith("../"))&&(e[n]=C.path.join(t,r))}async function Pj(e,t){let n=await Zd({baseDir:e});if(n===void 0){le.debug("No config files found to copy");return}let r=C.path.relative(t,e),o=0;for(let i of n._loadedFiles)try{let s=JSON.parse(JSON.stringify(i.content));s.imports!==void 0&&typeof s.imports=="object"&&s.imports!==null&&Sj(s.imports,r);let u=C.path.join(t,i.fileType);await C.fs.writeTextFile(u,JSON.stringify(s,null,2)),o++}catch(s){le.debug(`Failed to copy ${i.fileType}: ${s instanceof Error?s.message:String(s)}`)}if(o>0){let i=o===1?"config file":"config files";le.info(` \u{1F4CB} Copied ${o} ${i} to dist/server for import resolution`)}}async function Aj(e,t){let n=C.path.resolve(e,"public");if(await C.fs.exists(n))for await(let r of C.fs.readDir(n)){let o=C.path.resolve(n,r.name),i=C.path.resolve(t,r.name);await ic(o,i,{overwrite:!0})}}async function Fj(e,t,n){let r=0,o=C.path.relative(n,e),i=C.path.resolve(e,"app/messages"),s=C.path.resolve(t,o,"app/messages");if(await C.fs.exists(i)){await C.fs.ensureDir(s);for await(let f of C.fs.readDir(i))if(f.isFile&&f.name.endsWith(".json")){let g=C.path.resolve(i,f.name),y=C.path.resolve(s,f.name);await ic(g,y,{overwrite:!0}),r++}}let u=C.path.resolve(e,"lib/i18n/messages"),p=C.path.resolve(t,o,"lib/i18n/messages");if(await C.fs.exists(u)){await C.fs.ensureDir(p);for await(let f of C.fs.readDir(u))if(f.isFile&&f.name.endsWith(".json")){let g=C.path.resolve(u,f.name),y=C.path.resolve(p,f.name);await ic(g,y,{overwrite:!0}),r++}}r>0?le.debug(`\u2713 Copied ${r} translation file(s)`):le.debug("No messages directories found, skipping translation files")}async function PW(e,t,n,r){let o=C.path.resolve(t,"app/styles/global.css"),i=C.path.resolve(r,"styles.css");if(!await C.fs.exists(o)){le.debug("No CSS source file found, skipping CSS processing");return}try{await jP({input:o,output:i,minify:!0,projectRoot:n,plugin:e}),le.debug("\u2713 CSS processed")}catch(s){throw le.error("CSS processing failed:",{error:s}),s}}async function Oj(e,t){if(!e.extractCriticalCss)return le.debug("CSS plugin doesn't support critical CSS extraction, skipping"),null;let n=C.path.resolve(t,"styles.css");if(!await C.fs.exists(n))return le.debug("No styles.css found, skipping critical CSS extraction"),null;try{let r=await C.fs.readTextFile(n),i=e.extractCriticalCss(r,`
346
- <!DOCTYPE html>
347
- <html lang="en">
348
- <head></head>
349
- <body>
350
- <div id="root" class="flex flex-col lg:flex-row min-h-screen bg-neutral-50">
351
- <aside class="w-full lg:w-64 bg-surface border-b lg:border-b-0 lg:border-r border-neutral-200 flex-shrink-0">
352
- <div class="lg:sticky lg:top-0 p-4 lg:p-6">
353
- <nav class="space-y-4">
354
- <a href="#" class="flex items-center gap-2 text-neutral-600 hover:text-primary-600">Link</a>
355
- </nav>
356
- </div>
357
- </aside>
358
- <div class="flex-1 flex flex-col">
359
- <main class="flex-1">
360
- <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8 sm:py-12 lg:py-20">
361
- <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-neutral-900 mb-4">Title</h1>
362
- <h2 class="text-lg font-bold text-neutral-900 mb-2">Subtitle</h2>
363
- <p class="text-neutral-600 text-lg mb-6">Description</p>
364
- <div class="grid gap-4 md:grid-cols-2 lg:grid-cols-3">
365
- <div class="bg-surface rounded-lg border border-neutral-200 p-4 shadow-sm">Card</div>
366
- </div>
367
- <div class="flex flex-wrap gap-4 items-center justify-center">
368
- <button class="btn" data-variant="primary">Primary</button>
369
- <button class="btn" data-variant="secondary">Secondary</button>
370
- </div>
371
- </div>
372
- </main>
373
- <footer class="flex flex-wrap items-center justify-center gap-6 p-8 text-sm border-t border-neutral-200 bg-surface min-h-[5.5rem]">
374
- <a href="#" class="flex items-center gap-2 text-neutral-600 hover:text-primary-600">Footer Link</a>
375
- </footer>
376
- </div>
377
- </div>
378
- </body>
379
- </html>
380
- `,{forceInclude:[/^\.flex/,/^\.grid/,/^\.block/,/^\.inline/,/^\.items-/,/^\.justify-/,/^\.gap-/,/^\.space-/,/^\.min-h-/,/^\.max-w-/,/^\.w-/,/^\.h-/,/^\.mx-/,/^\.my-/,/^\.px-/,/^\.py-/,/^\.p-/,/^\.m-/,/^\.mt-/,/^\.mb-/,/^\.ml-/,/^\.mr-/,/^\.pt-/,/^\.pb-/,/^\.pl-/,/^\.pr-/,/^\.sm:/,/^\.md:/,/^\.lg:/,/^\.xl:/,/^\.2xl:/,/^\.bg-neutral-/,/^\.bg-surface/,/^\.bg-primary-/,/^\.text-neutral-/,/^\.text-primary-/,/^\.text-white/,/^\.border/,/^\.rounded/,/^\.text-sm/,/^\.text-lg/,/^\.text-xl/,/^\.text-2xl/,/^\.text-3xl/,/^\.text-4xl/,/^\.text-5xl/,/^\.font-/,/^\.leading-/,/^\.overflow-/,/^\.visible/,/^\.invisible/,/^\.hidden/,/^\.relative/,/^\.absolute/,/^\.fixed/,/^\.sticky/,/^\.shadow/,/^html/,/^body/,/^#root/,/^\*/]}),s=C.path.resolve(t,"styles.critical.css"),u=C.path.resolve(t,"styles.deferred.css");await C.fs.writeTextFile(s,i.critical),await C.fs.writeTextFile(u,i.deferred);let p=i.stats;return p?le.debug(`\u2713 Critical CSS extracted: ${p.criticalSize} bytes critical, ${p.deferredSize} bytes deferred`):le.debug("\u2713 Critical CSS extracted"),{criticalPath:s,deferredPath:u}}catch(r){return le.error("Critical CSS extraction failed:",{error:r}),null}}async function Mj(e,t){if(!e.extractUniversalCss)return le.debug("CSS plugin doesn't support universal CSS extraction, skipping"),null;let n=C.path.resolve(t,"styles.css");if(!await C.fs.exists(n))return le.debug("No styles.css found, skipping universal CSS generation"),null;try{let r=await C.fs.readTextFile(n),o=e.extractUniversalCss(r),i=C.path.resolve(t,"styles.universal.css");return await C.fs.writeTextFile(i,o.css),le.debug(`\u2713 Universal CSS generated: ${o.css.length} bytes`),i}catch(r){return le.error("Universal CSS generation failed:",{error:r}),null}}async function Ij(e,t){if(await C.fs.exists(e))if(t){le.debug("\u{1F9F9} Cleaning build directory (preserving CSS)");let n=C.path.resolve(e,Uu);await C.fs.exists(n)&&await C.fs.remove(n,{recursive:!0});let r=C.path.resolve(e,rC);if(await C.fs.exists(r))for await(let o of C.fs.readDir(r)){if(o.name.endsWith(".css")||o.name==="fonts"||o.name==="fonts.css"||o.name==="font-preloads.json")continue;let i=C.path.resolve(r,o.name);await C.fs.remove(i,{recursive:!0})}}else await C.fs.remove(e,{recursive:!0}),le.debug("\u{1F9F9} Cleaned build directory")}async function Dj(e,t){let r=RA(t)[0];if(!r){le.debug("\u2713 No fonts configured, skipping font optimization");return}let o=C.path.resolve(e,"fonts"),i="/fonts";try{let s=await CA(r,o,i),u=C.path.resolve(e,"fonts.css");await C.fs.writeTextFile(u,s.fontFaceCSS);let p=C.path.resolve(e,"font-preloads.json");await C.fs.writeTextFile(p,JSON.stringify(s.preloadHints,null,2)),le.debug(`\u2713 Fonts optimized: ${s.files.length} file(s), ${(s.totalSize/1024).toFixed(2)} KB`)}catch(s){le.error("Font optimization failed:",{error:s}),le.warn("Continuing build without font optimization")}}async function MA(e){let t=[];async function n(r){for await(let o of C.fs.readDir(r)){let i=C.path.resolve(r,o.name);o.isDirectory?await n(i):o.isFile&&o.name.endsWith(".module.css")&&t.push(i)}}return await n(e),t}async function AW(e,t,n,r){let o=r?.cssModulePaths??await MA(n.srcDir);if(o.length===0)return le.debug("No CSS modules found, skipping CSS module processing"),new Map;le.debug(`Found ${o.length} CSS module(s)`);try{let i=await AA(o,{generateDTS:n.cssModuleTypes,projectRoot:e,cache:r?.cache});for(let[s,u]of i)await gW(s,u,t,{skipCss:r?.skipCss,projectRoot:e});return le.debug(`\u2713 Processed ${o.length} CSS module(s)${n.cssModuleTypes?" with TypeScript definitions":""}`),i}catch(i){throw le.error("CSS module processing failed:",{error:i}),i}}async function FW(e,t,n){let r=0;for(let o of e){let i=C.path.relative(t,o),s=C.path.basename(o)+".json",u=C.path.join(t,C.path.dirname(i),s),p=C.path.join(n,C.path.dirname(i),s);await C.fs.ensureDir(C.path.dirname(p));try{await ic(u,p,{overwrite:!0}),r++}catch(f){le.warn(` \u26A0 Failed to copy JSON for ${C.path.relative(t,o)}:`,{error:f})}}r>0&&le.debug(`\u2713 Copied ${r} CSS module JSON file(s)`)}async function _j(e,t,n,r){if(e.length===0)return;let o;r?o=r:o=await AA(e,{generateDTS:!1,projectRoot:t});let i=[];for(let[,s]of o)i.push(s.code);if(i.length>0){let s=C.path.resolve(n,"styles.css"),u="";try{u=await C.fs.readTextFile(s)}catch{}u=u.replace(/\x1B\[[0-9;]*[a-zA-Z]/g,"");let p=i.map(g=>g.replace(/\x1B\[[0-9;]*[a-zA-Z]/g,"")),f=u+`
381
- `+p.join(`
382
- `);await C.fs.writeTextFile(s,f),le.debug(`\u2713 Appended ${i.length} CSS module(s) to styles.css`)}}async function Lj(e,t,n){let{optimizeImages:r,scanImages:o}=await Promise.resolve().then(()=>(SW(),EW)),i=C.path.resolve(e,"public"),s=C.path.resolve(i,"images");if(!await C.fs.exists(s)){le.debug("\u2713 No images directory found, skipping image optimization");return}if((await o(s)).length===0){le.debug("\u2713 No images found, skipping image optimization");return}try{let p=C.path.resolve(t,"images"),f=await r(s,p,"/images",{formats:n.images.formats,widths:n.images.widths,quality:n.images.quality,generateBlurPlaceholder:n.images.placeholder==="blur"}),g=Object.keys(f.images).length;g>0&&le.debug(`\u2713 Optimized ${g} image(s)`)}catch(p){le.error("Image optimization failed:",{error:p}),le.warn("Continuing build without image optimization")}}var le,OW,MW,Uu,rC,IA=k(()=>{ye();rt();Nf();iy();Gs();vU();wU();ay();VU();XU();jU();rz();tA();bz();nA();Tz();Nz();Hz();fA();iW();yW();bW();le=fe.getLogger(["laroux-bundler","build"]),OW="manifest.json",MW="module-map.json",Uu="server",rC="client"});var DW,_W,LW,NW,BW,UW,zW,WW,HW,GW,VW,DA,YW=k(()=>{"use strict";DW={port:8e3,host:"localhost",hmr:!0,open:!1},_W=["@eser/laroux","@eser/laroux-server"],LW={minify:!0,sourcemap:!0,target:["es2022"],external:[],serverExternals:_W},NW={mode:"always",streamMode:"streaming-optimal"},BW={webp:80,avif:75,jpeg:85,png:90},UW={formats:["webp","original"],widths:[640,768,1024,1280,1920],quality:BW,placeholder:"blur"},zW={width:1300,height:900},WW={enabled:!0,viewport:zW,forceInclude:[],forceExclude:[]},HW={runtimeBundleEndpoint:"/__runtime_bundle.js",runtimeModuleMapEndpoint:"/__runtime_module_map.json",staticAssetsPrefix:"/dist"},GW={isDev:!1,isBuild:!1,isServe:!1,isWatch:!1},VW={jsr:{"@eser/logging":`
383
- // Browser shim for @eser/logging
384
- const noop = () => {};
385
- const noopLogger = { debug: noop, info: noop, warn: noop, error: noop };
386
- export const logger = {
387
- getLogger: () => noopLogger,
388
- };
389
- export default { logger };
390
- `,"@eser/standards/runtime/browser":`
391
- // Browser shim for @eser/standards/runtime/browser
392
- export const isBrowser = () => true;
393
- `},nodeBuiltins:{"node:process":`
394
- // Browser shim for node:process - provides minimal process.env for client code
395
- const process = {
396
- env: {
397
- NODE_ENV: "production",
398
- DEBUG: "false",
399
- },
400
- };
401
- export default process;
402
- `}},DA={srcDir:"src",distDir:"dist",publicDir:"public",logLevel:"info",server:DW,build:LW,alias:{},env:{},fonts:[],images:UW,criticalCss:WW,ssr:NW,internal:HW,mode:GW,cssModuleTypes:!1,noCssModuleAutoReference:!1,browserShims:VW}});var XW=k(()=>{YW()});var JW={};xe(JW,{loadConfig:()=>_A});function Bj(e){let t=C.path.isAbsolute(e)?e:C.path.resolve(e);return RM(t).href}async function Uj(e){let t=C.path.join(e,"laroux.config.ts");if(await C.fs.exists(t))try{return(await import(Bj(t))).default??{}}catch(n){let r=n instanceof Error?n.message:String(n);return Nj.warn(`Failed to load laroux.config.ts: ${r}`),null}return null}async function _A(e){let t=e??C.process.cwd(),n=await Uj(t);return{projectRoot:t,...Og(DA,n)}}var Nj,LA=k(()=>{ye();rt();Nb();_T();XW();Nj=fe.getLogger(["laroux-server","config"])});function zj(e){return{filePath:e.filePath,relativePath:e.relativePath,exportNames:[...e.exports]}}async function iC(e,t,n){if(Ry.debug(`\u{1F50D} Analyzing client components in: ${e}`),!n){let p=(await zP(e,{projectRoot:t})).map(zj);return Ry.debug(`\u{1F4CA} Total client components found: ${p.length}`),p}let r=[],o=0,i=0,s=await zP(e,{projectRoot:t});for(let u of s){let p=0;try{p=(await C.fs.stat(u.filePath)).mtime?.getTime()??0}catch{continue}let f=n.getClientComponent(u.filePath,p);if(f){o++,f.isClient&&r.push({filePath:u.filePath,relativePath:u.relativePath,exportNames:f.exportNames});continue}i++;let g=[...u.exports];n.setClientComponent(u.filePath,!0,g,p),r.push({filePath:u.filePath,relativePath:u.relativePath,exportNames:g}),Ry.debug(` \u2713 Found client component: ${u.relativePath} (exports: ${g.join(", ")})`)}return(o>0||i>0)&&Ry.debug(`\u{1F4CA} Component analysis: ${o} cache hits, ${i} analyzed`),Ry.debug(`\u{1F4CA} Total client components found: ${r.length}`),r}async function sC(e){let t=[],n=/(?:node_modules|\.test\.|\.spec\.)/;for await(let r of Bc(e,"**/*.{tsx,ts,jsx,js}",n))t.push(C.path.join(e,r));return t}var Ry,aC=k(async()=>{iy();ye();rt();py();Ry=fe.getLogger(["laroux-bundler","rsc-analyze"])});async function NA(e,t){let n=C.path.dirname(e.relativePath),r=C.path.join(t,n);await C.fs.ensureDir(r);let o=Wj(e),i=e.relativePath.split("/").pop(),s=C.path.join(r,i);return await C.fs.writeTextFile(s,o),{originalPath:e.filePath,transformedPath:s}}function Wj(e){let t=e.exportNames.map(n=>n==="default"?`export default createClientReference(
403
- "./${e.relativePath}",
404
- "default"
405
- );`:`export const ${n} = createClientReference(
406
- "./${e.relativePath}",
407
- "${n}"
408
- );`);return`/**
409
- * Auto-generated client component reference
410
- * Original: ${e.relativePath}
411
- * Exports: ${e.exportNames.join(", ")}
412
- * This file is generated at build time - do not edit!
413
- */
414
-
415
- import { createClientReference } from "@eser/laroux-react/protocol";
416
-
417
- // Export client components as references
418
- // The actual component code runs in the browser
419
- ${t.join(`
420
-
421
- `)}
422
- `}async function cC(e,t,n){lC.debug(`\u{1F504} Transforming ${e.length} client component(s)...`);let r=[];for(let o of e){let i=await NA(o,t);lC.debug(` \u2713 ${o.relativePath} \u2192 ${C.path.relative(n,i.transformedPath)}`),r.push(i)}return lC.debug("\u2705 Transformation complete"),r}function KW(e){let t=new Map;for(let n of e){t.set(`./${n.originalPath}`,n.transformedPath);let r=n.originalPath.split("/").pop();t.set(`./${r}`,n.transformedPath)}return t}async function uC(e,t,n){let r={generated:new Date().toISOString(),components:e.map(o=>({original:o.originalPath,transformed:C.path.relative(n,o.transformedPath)}))};await C.fs.writeTextFile(t,JSON.stringify(r,null,2)),lC.debug(`\u{1F4DD} Transform manifest saved to: ${C.path.relative(n,t)}`)}var lC,BA=k(()=>{ye();rt();lC=fe.getLogger(["laroux-bundler","rsc-transform"])});function dC(e){let t={};for(let n of e){let r=`./${n.relativePath}`,o=Ha(n.relativePath,".js");t[r]={id:r,chunks:[o],name:n.exportNames[0]??"default"}}return t}function ZW(e){let t={};for(let[n,r]of Object.entries(e))t[n]={id:r.id,chunks:r.chunks,name:r.name};return t}async function pC(e,t){let n=JSON.stringify(e,null,2);await C.fs.writeTextFile(t,n),Hj.debug(`\u{1F4DD} Module map saved to: ${t}`)}async function QW(e){let t=await C.fs.readTextFile(e);return JSON.parse(t)}function fC(e){let t={};for(let n of e)t[n.relativePath]={id:n.relativePath,chunks:["client.js"],name:n.exportNames[0]??"default"};return t}var Hj,UA=k(async()=>{ye();Gs();await aC();rt();Hj=fe.getLogger(["laroux-bundler","rsc-module-map"])});function Gj(e,t){let n=!1,r=!1,o=!1,i="";for(let s=0;s<t;s++){let u=e[s];if(u===void 0)break;if(i==="\\"){i=u;continue}u==="'"&&!r&&!o?n=!n:u==='"'&&!n&&!o?r=!r:u==="`"&&!n&&!r&&(o=!o),i=u}return n||r||o}function jW(e){let t=[],n=/import\s+(?:type\s+)?(?:(?:\{[^}]*\}|\*\s+as\s+\w+|\w+)(?:\s*,\s*(?:\{[^}]*\}|\*\s+as\s+\w+|\w+))*\s+from\s+)?["']([^"']+)["'];?/g,r;for(;(r=n.exec(e))!==null;){let o=r[1];o&&(Gj(e,r.index)||(o.startsWith("./")||o.startsWith("../")||o.startsWith("@/"))&&t.push({original:r[0],path:o,startIndex:r.index,endIndex:r.index+r[0].length}))}return t}function qW(e,t,n){if(t.startsWith("@/")){let i=t.slice(2);return C.path.join(n,"src",i)}let r=C.path.dirname(e);return C.path.resolve(r,t)}function Vj(e,t){if(t.has(e))return t.get(e);let n=ki.map(r=>`.${r}`);for(let r of n){let o=e.endsWith(r)?e:e+r;if(t.has(o))return t.get(o)}return null}function $W(e,t){if(t.has(e))return t.get(e);if(!e.endsWith(".module.css")){let n=e+".module.css";if(t.has(n))return t.get(n)}return null}async function zA(e,t,n,r,o){let i=await C.fs.readTextFile(e),s=jW(i),u=i,p=0,f=0;for(let x of s){let w=qW(e,x.path,o);if($W(w,n)){let D=x.path.endsWith(".module.css")?`${x.path}.json`:`${x.path}.module.css.json`,L=x.original.match(/^import\s+["']/),U;L?U=x.original.replace(/^import\s+["']([^"']+)["'];?/,`import styles from "${D}" with { type: "json" };`):U=x.original.replace(`"${x.path}"`,`"${D}" with { type: "json" }`).replace(`'${x.path}'`,`'${D}' with { type: "json" }`);let Y=x.startIndex+f,G=x.endIndex+f;u=u.slice(0,Y)+U+u.slice(G),f+=U.length-x.original.length,p++;continue}let F=Vj(w,t);if(F){let D=C.path.relative(o,e),L=C.path.join(r,D),U=C.path.relative(C.path.dirname(L),F),Y=U.startsWith(".")?U:`./${U}`,G=x.original.replace(`"${x.path}"`,`"${Y}"`).replace(`'${x.path}'`,`'${Y}'`),W=x.startIndex+f,M=x.endIndex+f;u=u.slice(0,W)+G+u.slice(M),f+=G.length-x.original.length,p++}else if(x.path.startsWith("@/")){let D=C.path.relative(o,e),L=C.path.join(r,D),U=C.path.join(o,"dist","server","src",x.path.slice(2)),Y=C.path.relative(C.path.dirname(L),U),G=Y.startsWith(".")?Y:`./${Y}`,W=x.original.replace(`"${x.path}"`,`"${G}"`).replace(`'${x.path}'`,`'${G}'`),M=x.startIndex+f,ne=x.endIndex+f;u=u.slice(0,M)+W+u.slice(ne),f+=W.length-x.original.length,p++}}let g=C.path.relative(o,e),y=C.path.join(r,g);return await C.fs.ensureDir(C.path.dirname(y)),await C.fs.writeTextFile(y,u),{originalPath:e,rewrittenPath:y,importsRewritten:p}}function WA(e){let t=new Map;for(let n of e){t.set(n.originalPath,n.transformedPath);let r=n.originalPath.replace(/\.(tsx|ts|jsx|js)$/,"");t.set(r,n.transformedPath)}return t}function Ty(e){let t=new Map;for(let n of e){let r=n.replace(/\.module\.css$/,".module.css.json");t.set(n,r);let o=n.replace(/\.module\.css$/,"");t.set(o,r)}return t}async function mC(e,t,n,r,o){ds.debug(`\u{1F504} Rewriting imports in ${e.length} server component(s)...`);let i=WA(t),s=Ty(n);ds.debug(` Found ${n.length} CSS module(s) to track`);let u=[];for(let p of e){let f=await zA(p,i,s,r,o);f.importsRewritten>0?ds.debug(` \u2713 ${C.path.relative(o,p)} (${f.importsRewritten} import(s) rewritten)`):ds.debug(` \u2713 ${C.path.relative(o,p)} (no client imports)`),u.push(f)}return ds.debug("\u2705 Import rewriting complete"),u}async function eH(e,t,n){let r=await C.fs.readTextFile(e),o=jW(r),i=r,s=0,u=0;for(let p of o){let f=qW(e,p.path,n);if($W(f,t)){let y=p.path.endsWith(".module.css")?`${p.path}.json`:`${p.path}.module.css.json`,x=p.original.match(/^import\s+["']/),w;x?w=p.original.replace(/^import\s+["']([^"']+)["'];?/,`import styles from "${y}" with { type: "json" };`):w=p.original.replace(`"${p.path}"`,`"${y}" with { type: "json" }`).replace(`'${p.path}'`,`'${y}' with { type: "json" }`);let A=p.startIndex+u,F=p.endIndex+u;i=i.slice(0,A)+w+i.slice(F),u+=w.length-p.original.length,s++}}return s>0&&await C.fs.writeTextFile(e,i),{importsRewritten:s}}async function tH(e,t,n,r){ds.debug(`\u{1F504} Rewriting CSS module imports in ${e.length} client component(s)...`);let o=Ty(t);ds.debug(` Found ${t.length} CSS module(s) to track`);let i=0;for(let s of e){let u=await eH(s.filePath,o,r);u.importsRewritten>0&&(ds.debug(` \u2713 ${C.path.relative(r,s.filePath)} (${u.importsRewritten} CSS import(s) rewritten)`),i+=u.importsRewritten)}i>0?ds.debug(`\u2705 Rewrote ${i} CSS module import(s) in ${e.length} client component(s)`):ds.debug("\u2705 No CSS module imports found in client components")}async function hC(e,t,n){ds.debug("\u{1F504} Rewriting CSS module imports in all src files...");let r=Ty(t),o=[];for await(let s of Bc(e,"**/*.{tsx,ts}",/node_modules/))o.push(C.path.join(e,s));ds.debug(` Found ${o.length} source file(s) to check`);let i=0;for(let s of o){let u=await eH(s,r,n);u.importsRewritten>0&&(ds.debug(` \u2713 ${C.path.relative(n,s)} (${u.importsRewritten} CSS import(s) rewritten)`),i+=u.importsRewritten)}i>0?ds.debug(`\u2705 Rewrote ${i} CSS module import(s) in ${o.length} source file(s)`):ds.debug("\u2705 No CSS module imports needed rewriting")}var ds,HA=k(()=>{ye();Gs();py();rt();ds=fe.getLogger(["laroux-bundler","rsc-rewrite-imports"])});function Xj(e){if(e.startsWith("jsr:"))return!0;if(URL.canParse(e)){let t=new URL(e);return t.protocol==="https:"||t.protocol==="http:"}return!1}function Jj(e){return URL.canParse(e)&&e.startsWith("file://")?new URL(e).pathname:e}function Kj(e){let t=e.match(/^jsr:@([^/]+)\/([^@]+)@[\^~]?([^/]+)(.*)$/);if(t){let[,r,o,i,s]=t;return`${new URL(`https://jsr.io/@${r}/${o}/${i}`).href}${s}`}let n=e.match(/^jsr:@([^/]+)\/([^/]+)(.*)$/);if(n){let[,r,o,i]=n;return`${new URL(`https://jsr.io/@${r}/${o}`).href}${i}`}throw new Error(`Cannot parse JSR specifier: ${e}`)}function Zj(e){return e.replace(/@jsxImportSource\s+npm:react@[^\s*]+/g,"@jsxImportSource react").replace(/@jsxImportSourceTypes\s+npm:react@[^\s*]+/g,"@jsxImportSourceTypes react").replace(/from\s+["']jsr:(@[^@]+)@[^"'/]+([^"']*)["']/g,'from "$1$2"').replace(/import\s*\(\s*["']jsr:(@[^@]+)@[^"'/]+([^"']*)["']\s*\)/g,'import("$1$2")').replace(/from\s+["']npm:\/?([^@]+)@[^"'/]+([^"']*)["']/g,'from "$1$2"').replace(/import\s*\(\s*["']npm:\/?([^@]+)@[^"'/]+([^"']*)["']\s*\)/g,'import("$1$2")')}function Qj(){let t=import.meta.resolve("@eser/laroux-react/client/bootstrap").replace(/\/index\.ts$/,"");return t.startsWith("jsr:")&&(t=Kj(t)),{isRemote:Xj(t),baseUrl:t}}async function jj(e){let{isRemote:t,baseUrl:n}=Qj();for(let r of Yj){let o=C.path.resolve(e,r),i=n.endsWith("/")?new URL(r,n).href:new URL(`${n}/${r}`).href;if(t)try{let s=await fetch(i);if(!s.ok)throw new Error(`HTTP ${s.status}`);let u=await s.text();u=Zj(u),await C.fs.writeTextFile(o,u)}catch(s){throw new Error(`Failed to fetch bootstrap file ${r} from ${i}: ${s instanceof Error?s.message:String(s)}`)}else{let s=Jj(i);await ic(s,o,{overwrite:!0})}}}async function gC(e,t,n){let r=C.path.resolve(n,"_client-entry.tsx");await C.fs.ensureDir(n),await jj(n);let o=e.map((u,p)=>`import * as __component_${p} from "${u.filePath}";`).join(`
423
- `),i=e.map((u,p)=>` __RUNTIME_MODULES__["${`./${u.relativePath}`}"] = __component_${p};`).join(`
424
- `),s=`/**
425
- * Auto-generated Client Entry Point - Runtime Bundle
426
- * This file contains the bootstrap code and all client components
427
- */
428
-
429
- ${o}
430
-
431
- // Create global module registry for runtime components
432
- if (typeof globalThis !== "undefined") {
433
- globalThis.__RUNTIME_MODULES__ = globalThis.__RUNTIME_MODULES__ ?? {};
434
- }
435
- const __RUNTIME_MODULES__ = typeof globalThis !== "undefined"
436
- ? globalThis.__RUNTIME_MODULES__
437
- : {};
438
-
439
- // Register all client components
440
- ${i}
441
-
442
- // Import and run the bootstrap code (copied to dist/)
443
- import "./entry.tsx";
444
- `;return await C.fs.writeTextFile(r,s),r}var Yj,GA=k(()=>{ye();ay();Yj=["entry.tsx","error-boundary.tsx","error-overlay.tsx","globals.d.ts","hmr-client.tsx","index.ts","lazy-loader.ts","smart-refresh.tsx"]});var nH,rH=k(async()=>{await aC();BA();await UA();HA();GA();nH={name:"react",analyzeClientComponents:async(e,t,n)=>await iC(e,t,n),getAllComponents:async e=>await sC(e),transformClientComponents:async(e,t,n)=>(await cC(e,t,n)).map(o=>({originalPath:o.originalPath,transformedPath:o.transformedPath})),generateTransformManifest:async(e,t,n)=>{await uC(e,t,n)},createModuleMap:e=>Promise.resolve(dC(e)),saveModuleMap:async(e,t)=>{await pC(e,t)},createClientManifest:e=>Promise.resolve(fC(e)),rewriteServerComponents:async(e,t,n,r,o)=>{await mC(e,t,n,r,o)},rewriteCssModuleImports:async(e,t,n)=>{await hC(e,t,n)},createClientEntry:async(e,t,n)=>await gC(e,t,n)}});var yC={};xe(yC,{analyzeClientComponents:()=>iC,createBundlerConfig:()=>ZW,createCSSModuleMap:()=>Ty,createClientComponentMap:()=>WA,createClientEntry:()=>gC,createClientManifest:()=>fC,createImportMapping:()=>KW,generateModuleMap:()=>dC,generateTransformManifest:()=>uC,getAllComponents:()=>sC,loadModuleMap:()=>QW,reactPlugin:()=>nH,rewriteAllClientComponentCSSImports:()=>tH,rewriteAllServerComponents:()=>mC,rewriteAllSrcCSSModuleImports:()=>hC,rewriteServerComponentImports:()=>zA,saveModuleMap:()=>pC,transformAllClientComponents:()=>cC,transformClientComponent:()=>NA});var xC=k(async()=>{await rH();await aC();await UA();BA();HA();GA()});var oH={};xe(oH,{buildHandler:()=>$j});async function eq(e,t){console.log(Ge(`
445
- \u{1F4CA} Bundle Analysis:
446
- `));try{let n=`${t}/client/manifest.json`,r=await e.fs.readTextFile(n),o=JSON.parse(r);console.log("Chunks:");for(let[s,u]of Object.entries(o.files)){let p=(u.size/1024).toFixed(2);console.log(` ${s.padEnd(30)} ${p.padStart(8)} KB`)}let i=Object.values(o.files).reduce((s,u)=>s+u.size,0);console.log(Ie(`
447
- Total: ${(i/1024).toFixed(2)} KB`))}catch{console.log(ma("Could not analyze build (manifest.json not found)"))}}var qj,$j,iH=k(()=>{"use strict";Ar();vn();qj=["trace","debug","info","warn","error","fatal"],$j=async e=>{console.log(Ge(`
448
- \u{1F4E6} Building for production...
449
- `));let t=await Promise.resolve().then(()=>(rt(),nt)),{current:n}=await Promise.resolve().then(()=>(ye(),ue)),r=n.process.cwd(),o=e.flags["out-dir"]??"dist",i=!e.flags["no-minify"],s=e.flags.clean??!1,u=e.flags.analyze??!1,p=e.flags["log-level"]??"info",f=qj.includes(p.toLowerCase())?p.toLowerCase():"info",g={trace:t.Severities.Trace,debug:t.Severities.Debug,info:t.Severities.Info,warn:t.Severities.Warning,error:t.Severities.Error,fatal:t.Severities.Critical};await t.config.configure({sinks:{console:t.sinks.getConsoleSink({formatter:t.formatters.ansiColorFormatter()})},loggers:[{category:["laroux-bundler"],lowestLevel:g[f],sinks:["console"]}]});let[{build:y,createBuildContext:x},{loadConfig:w},{reactPlugin:A},{createTailwindPlugin:F}]=await Promise.all([Promise.resolve().then(()=>(IA(),IW)),Promise.resolve().then(()=>(LA(),JW)),xC().then(()=>yC),Promise.resolve().then(()=>(wy(),tC))]),D=t.logger.getLogger(["laroux-bundler","cli"]),L=await w(r),U={projectRoot:r,srcDir:n.path.resolve(r,L.srcDir),distDir:n.path.resolve(r,o),logLevel:f,fonts:L.fonts,images:L.images,cssModuleTypes:L.cssModuleTypes,noCssModuleAutoReference:L.noCssModuleAutoReference,browserShims:L.browserShims,serverExternals:L.build.serverExternals,build:{...L.build,minify:i}};if(s)try{await n.fs.remove(U.distDir,{recursive:!0}),D.debug(`Cleaned ${U.distDir}`)}catch{}let Y=F({globalCssPath:n.path.resolve(r,"src/app/styles/global.css")}),G=x(U,{framework:A,css:Y,bundlerBackend:"rolldown"});return await y(G),await t.config.reset(),u&&await eq(n,o),Te(void 0)}});var vC,Rm,sH=k(()=>{ye();rt();vC=fe.getLogger(["laroux-bundler","prebuilt-bundler"]),Rm=class{config;cachedManifest=null;constructor(t){this.config=t}async getBundle(){vC.debug("\u{1F4E6} Loading prebuilt bundle from disk...");let t=C.path.resolve(this.config.distDir,"client","manifest.json"),n=await C.fs.readTextFile(t),r=JSON.parse(n),o=C.path.resolve(this.config.distDir,"client","module-map.json"),i={};try{let u=await C.fs.readTextFile(o);i=JSON.parse(u),vC.debug(`\u2705 Loaded module map with ${Object.keys(i).length} entries`)}catch{vC.warn("\u26A0\uFE0F Module map not found, SSR may fail for client components")}this.cachedManifest=r;let s=r.entrypoint?`/${r.entrypoint}`:"/client.js";return vC.debug(`\u2705 Loaded manifest with entrypoint: ${s}`),{clientCode:null,moduleMap:i,chunkManifest:r,entrypoint:s}}async reload(){this.cachedManifest=null,await this.getBundle()}}});var aH=k(()=>{sH()});var bC,VA,ky,lH=k(()=>{ye();rt();fA();dA();bC=fe.getLogger(["laroux-bundler","runtime-bundler"]),VA=class{clientComponents=new Map;moduleMap=null;bundleCode=null;chunkManifest=null;lastScan=0;scanInterval=1e3;config;async getOrCreateBundle(){let t=Date.now();return(t-this.lastScan>this.scanInterval||!this.bundleCode)&&(await this.rebuild(),this.lastScan=t),{clientCode:this.bundleCode,moduleMap:this.moduleMap,clientComponents:this.clientComponents,chunkManifest:this.chunkManifest}}constructor(t){this.config=t}async rebuild(){let{plugin:t}=this.config,n=t.analyzeClientComponents?await t.analyzeClientComponents(this.config.srcDir,this.config.projectRoot):[];this.clientComponents.clear();for(let o of n)this.clientComponents.set(o.filePath,o);this.moduleMap=t.createModuleMap?await t.createModuleMap(n):{};let r=await this.bundleClientCode(n);this.bundleCode=r.code,this.chunkManifest=r.manifest}async bundleClientCode(t){let{plugin:n}=this.config,r=C.process.cwd(),o=await C.fs.makeTempDir({prefix:"rsc-runtime-",dir:r});try{if(!n.createClientEntry)throw new Error("Framework plugin does not provide createClientEntry");let i=await n.createClientEntry(t,r,o),s=vm("deno-bundler",{entryName:"client"}),u={client:i};for(let w of t)u[w.relativePath]=w.filePath;let p={entrypoints:u,outputDir:o,format:"esm",platform:"browser",codeSplitting:pA.codeSplitting,minify:pA.minify,sourcemap:!1},f=await s.bundle(p);if(!f.success){let w=f.errors?.map(A=>A.message).join(", ")??"Unknown error";throw new Error(`Bundle failed: ${w}`)}let g=f.outputs.get("client.js");if(!g)throw new Error("Bundle output 'client.js' not found in bundle result");let y=new TextDecoder().decode(g.code),x={version:"1.0",buildId:"runtime",timestamp:Date.now(),logLevel:"debug",entrypoint:"__runtime_bundle.js",hmrEnabled:!0,chunks:{},files:{}};for(let w of t){let A=w.relativePath;x.chunks[A]={main:"__runtime_bundle",deps:[],size:0}}return{code:y,manifest:x}}catch(i){let s=i instanceof Error?i.message:String(i),u=i instanceof Error?i.stack:null;bC.error("\u274C Runtime bundling failed:"),bC.error(` Error: ${s}`),u!==null&&bC.error(` Stack trace:
450
- ${u}`);let p=y=>y.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),f=`
451
- console.error("Runtime bundling failed:", ${JSON.stringify(s)});
452
- document.getElementById("root").innerHTML = '<div class="error"><h2>Bundle Error</h2><pre>${p(s)}</pre></div>';
453
- `,g={version:"1.0",buildId:"runtime-error",timestamp:Date.now(),logLevel:"error",entrypoint:"__runtime_bundle.js",hmrEnabled:!1,chunks:{},files:{}};return{code:f,manifest:g}}finally{try{await C.fs.remove(o,{recursive:!0})}catch(i){bC.debug("Temp directory cleanup failed",{error:i})}}}clear(){this.clientComponents.clear(),this.moduleMap=null,this.bundleCode=null,this.lastScan=0}},ky=class{cache;constructor(t){this.cache=new VA(t)}async getBundle(){let t=await this.cache.getOrCreateBundle();return{clientCode:t.clientCode,moduleMap:t.moduleMap,chunkManifest:t.chunkManifest,entrypoint:"/__runtime_bundle.js"}}async getRuntimeBundle(){return await this.cache.getOrCreateBundle()}async rebuild(){await this.cache.rebuild()}clear(){this.cache.clear()}}});var cH=k(()=>{lH()});var uH,dH=k(()=>{uH={name:"noop",renderPage:()=>Promise.resolve({html:""}),renderRSC:()=>Promise.resolve(new Response("")),generateBootstrapScript:()=>""}});var pH,fH=k(()=>{pH={name:"noop",createShell:()=>"<!DOCTYPE html><html><head></head><body></body></html>",createStreamingStart:()=>"<!DOCTYPE html><html><head></head><body>",createStreamingEnd:()=>"</body></html>"}});var Tm,wC,mH=k(()=>{rt();Tm=fe.getLogger(["laroux-server","hmr"]),wC=class{clients=new Set;handleConnection(t){this.clients.add(t),Tm.debug(`HMR client connected (${this.clients.size} total)`),this.sendToClient(t,{type:"connected"}),t.addEventListener("close",()=>{this.clients.delete(t),Tm.debug(`HMR client disconnected (${this.clients.size} remaining)`)}),t.addEventListener("error",n=>{Tm.error("HMR WebSocket error:",{event:n}),this.clients.delete(t)})}notifyUpdate(t=Date.now(),n){let r={type:"update",timestamp:t,changedModules:n};Tm.debug(`Notifying ${this.clients.size} clients of update${n?` (${n.length} modules changed)`:""}`);for(let o of this.clients)this.sendToClient(o,r)}notifyError(t){let n={type:"error",message:t};Tm.warn(`Notifying clients of error: ${t}`);for(let r of this.clients)this.sendToClient(r,n)}sendToClient(t,n){if(t.readyState===WebSocket.OPEN)try{t.send(JSON.stringify(n))}catch(r){Tm.error("Failed to send HMR message:",{error:r})}}getClientCount(){return this.clients.size}close(){for(let t of this.clients)t.close();this.clients.clear()}}});function tq(e){let t=new Set;return{pattern:e.replace(/\[\.\.\.(\w+)\]/g,(r,o)=>(t.add(o),`:${o}*`)).replace(/\[(\w+)\]/g,(r,o)=>`:${o}`),catchAllParams:t}}function nq(e,t){let{pattern:n,catchAllParams:r}=tq(t),i=new URLPattern({pathname:n}).exec({pathname:e});if(!i)return null;let s={},u=i.pathname.groups;for(let[p,f]of Object.entries(u))r.has(p)?s[p]=f?f.split("/").filter(Boolean):[]:s[p]=f??"";return s}var Ey,CC,hH=k(()=>{rt();ye();Ey=fe.getLogger(["laroux-server","api-handler"]);CC=class{routes=[];moduleCache=new Map;registryDir="";async loadRoutes(t){try{let n=`file://${t}/server/api-routes.ts`;this.registryDir=C.path.resolve(t,"server");let r=await import(n);this.routes=r.apiRoutes||[],Ey.debug(`Loaded ${this.routes.length} API route(s)`)}catch{this.routes=[],Ey.debug("No API routes registry found")}}async handleRequest(t,n){let r=new URL(t.url),o=t.method;for(let i of this.routes){let s=nq(n,i.path);if(s!==null){Ey.debug(`API route matched: ${o} ${n} -> ${i.path}`);try{let u=C.path.resolve(this.registryDir,i.modulePath),p=this.moduleCache.get(u);p||(p=await import(`file://${u}`),this.moduleCache.set(u,p));let f=p[o];return f?await f({request:t,params:s,searchParams:r.searchParams}):(Ey.debug(`Method ${o} not allowed for ${i.path}`),new Response("Method Not Allowed",{status:405,headers:{Allow:this.getAllowedMethods(p).join(", ")}}))}catch(u){return Ey.error(`API route error: ${i.path}`,{error:u}),new Response(JSON.stringify({error:"Internal Server Error"}),{status:500,headers:{"Content-Type":"application/json"}})}}}return null}getAllowedMethods(t){let n=[];return t.GET&&n.push("GET"),t.POST&&n.push("POST"),t.PUT&&n.push("PUT"),t.DELETE&&n.push("DELETE"),t.PATCH&&n.push("PATCH"),t.HEAD&&n.push("HEAD"),t.OPTIONS&&n.push("OPTIONS"),n}clearCache(){this.moduleCache.clear()}}});var zu,RC,gH=k(()=>{rt();ye();zu=fe.getLogger(["laroux-server","proxy-handler"]),RC=class{proxies=[];moduleCache=new Map;registryDir="";async loadProxies(t){try{let n=`file://${t}/server/proxy-registry.ts`;this.registryDir=C.path.resolve(t,"server");let r=await import(n);this.proxies=r.proxyRegistry||[],zu.debug(`Loaded ${this.proxies.length} proxy definition(s)`)}catch{this.proxies=[],zu.debug("No proxy registry found")}}async runProxies(t,n){let r=n;for(let o of this.proxies)if(this.matchesPrefix(r,o.pathPrefix)){zu.debug(`Running proxy: ${o.pathPrefix} for ${r}`);try{let i=C.path.resolve(this.registryDir,o.modulePath),s=this.moduleCache.get(i);s||(s=await import(`file://${i}`),this.moduleCache.set(i,s));let u=s.default;if(typeof u!="function"){zu.warn(`Proxy ${o.modulePath} does not export a default function`);continue}let p=await u({request:t,pathname:r,params:{}});if(p.type==="response")return zu.debug(`Proxy ${o.pathPrefix} returned response`),{result:p,finalPathname:r};if(p.type==="redirect")return zu.debug(`Proxy ${o.pathPrefix} redirecting to ${p.url}`),{result:p,finalPathname:r};p.type==="rewrite"&&(zu.debug(`Proxy ${o.pathPrefix} rewriting to ${p.pathname}`),r=p.pathname)}catch(i){return zu.error(`Proxy error: ${o.pathPrefix}`,{error:i}),{result:{type:"response",response:new Response(JSON.stringify({error:"Proxy Error"}),{status:500,headers:{"Content-Type":"application/json"}})},finalPathname:r}}}return{result:{type:"next"},finalPathname:r}}matchesPrefix(t,n){return n==="/"?!0:t===n||t.startsWith(n+"/")}clearCache(){this.moduleCache.clear()}}});function yH(e,t){let n=oE(e,t.path);if(n===null)return null;let r={};for(let[o,i]of Object.entries(n))Array.isArray(i)?r[o]=[...i]:typeof i=="string"&&(r[o]=i);return r}function YA(e,t){for(let n of t){let r=yH(e,n);if(r!==null)return{route:n,params:r}}return null}var xH=k(()=>{"use strict";iE()});var vH=k(()=>{"use strict"});var bH=k(()=>{xH();vH()});var wH,CH=k(()=>{wH=["trace","debug","info","warn","error","fatal"]});var IH=yl(Ke=>{"use strict";var KA=Symbol.for("react.transitional.element"),rq=Symbol.for("react.portal"),oq=Symbol.for("react.fragment"),iq=Symbol.for("react.strict_mode"),sq=Symbol.for("react.profiler"),aq=Symbol.for("react.consumer"),lq=Symbol.for("react.context"),cq=Symbol.for("react.forward_ref"),uq=Symbol.for("react.suspense"),dq=Symbol.for("react.memo"),SH=Symbol.for("react.lazy"),pq=Symbol.for("react.activity"),RH=Symbol.iterator;function fq(e){return e===null||typeof e!="object"?null:(e=RH&&e[RH]||e["@@iterator"],typeof e=="function"?e:null)}var PH={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},AH=Object.assign,FH={};function Em(e,t,n){this.props=e,this.context=t,this.refs=FH,this.updater=n||PH}Em.prototype.isReactComponent={};Em.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Em.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function OH(){}OH.prototype=Em.prototype;function ZA(e,t,n){this.props=e,this.context=t,this.refs=FH,this.updater=n||PH}var QA=ZA.prototype=new OH;QA.constructor=ZA;AH(QA,Em.prototype);QA.isPureReactComponent=!0;var TH=Array.isArray;function JA(){}var Zn={H:null,A:null,T:null,S:null},MH=Object.prototype.hasOwnProperty;function jA(e,t,n){var r=n.ref;return{$$typeof:KA,type:e,key:t,ref:r!==void 0?r:null,props:n}}function mq(e,t){return jA(e.type,t,e.props)}function qA(e){return typeof e=="object"&&e!==null&&e.$$typeof===KA}function hq(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var kH=/\/+/g;function XA(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hq(""+e.key):t.toString(36)}function gq(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(JA,JA):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function km(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case KA:case rq:s=!0;break;case SH:return s=e._init,km(s(e._payload),t,n,r,o)}}if(s)return o=o(e),s=r===""?"."+XA(e,0):r,TH(o)?(n="",s!=null&&(n=s.replace(kH,"$&/")+"/"),km(o,t,n,"",function(f){return f})):o!=null&&(qA(o)&&(o=mq(o,n+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(kH,"$&/")+"/")+s)),t.push(o)),1;s=0;var u=r===""?".":r+":";if(TH(e))for(var p=0;p<e.length;p++)r=e[p],i=u+XA(r,p),s+=km(r,t,n,i,o);else if(p=fq(e),typeof p=="function")for(e=p.call(e),p=0;!(r=e.next()).done;)r=r.value,i=u+XA(r,p++),s+=km(r,t,n,i,o);else if(i==="object"){if(typeof e.then=="function")return km(gq(e),t,n,r,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function TC(e,t,n){if(e==null)return e;var r=[],o=0;return km(e,r,"","",function(i){return t.call(n,i,o++)}),r}function yq(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var EH=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},xq={map:TC,forEach:function(e,t,n){TC(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return TC(e,function(){t++}),t},toArray:function(e){return TC(e,function(t){return t})||[]},only:function(e){if(!qA(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Ke.Activity=pq;Ke.Children=xq;Ke.Component=Em;Ke.Fragment=oq;Ke.Profiler=sq;Ke.PureComponent=ZA;Ke.StrictMode=iq;Ke.Suspense=uq;Ke.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Zn;Ke.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Zn.H.useMemoCache(e)}};Ke.cache=function(e){return function(){return e.apply(null,arguments)}};Ke.cacheSignal=function(){return null};Ke.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=AH({},e.props),o=e.key;if(t!=null)for(i in t.key!==void 0&&(o=""+t.key),t)!MH.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(r[i]=t[i]);var i=arguments.length-2;if(i===1)r.children=n;else if(1<i){for(var s=Array(i),u=0;u<i;u++)s[u]=arguments[u+2];r.children=s}return jA(e.type,o,r)};Ke.createContext=function(e){return e={$$typeof:lq,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:aq,_context:e},e};Ke.createElement=function(e,t,n){var r,o={},i=null;if(t!=null)for(r in t.key!==void 0&&(i=""+t.key),t)MH.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var u=Array(s),p=0;p<s;p++)u[p]=arguments[p+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return jA(e,i,o)};Ke.createRef=function(){return{current:null}};Ke.forwardRef=function(e){return{$$typeof:cq,render:e}};Ke.isValidElement=qA;Ke.lazy=function(e){return{$$typeof:SH,_payload:{_status:-1,_result:e},_init:yq}};Ke.memo=function(e,t){return{$$typeof:dq,type:e,compare:t===void 0?null:t}};Ke.startTransition=function(e){var t=Zn.T,n={};Zn.T=n;try{var r=e(),o=Zn.S;o!==null&&o(n,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(JA,EH)}catch(i){EH(i)}finally{t!==null&&n.types!==null&&(t.types=n.types),Zn.T=t}};Ke.unstable_useCacheRefresh=function(){return Zn.H.useCacheRefresh()};Ke.use=function(e){return Zn.H.use(e)};Ke.useActionState=function(e,t,n){return Zn.H.useActionState(e,t,n)};Ke.useCallback=function(e,t){return Zn.H.useCallback(e,t)};Ke.useContext=function(e){return Zn.H.useContext(e)};Ke.useDebugValue=function(){};Ke.useDeferredValue=function(e,t){return Zn.H.useDeferredValue(e,t)};Ke.useEffect=function(e,t){return Zn.H.useEffect(e,t)};Ke.useEffectEvent=function(e){return Zn.H.useEffectEvent(e)};Ke.useId=function(){return Zn.H.useId()};Ke.useImperativeHandle=function(e,t,n){return Zn.H.useImperativeHandle(e,t,n)};Ke.useInsertionEffect=function(e,t){return Zn.H.useInsertionEffect(e,t)};Ke.useLayoutEffect=function(e,t){return Zn.H.useLayoutEffect(e,t)};Ke.useMemo=function(e,t){return Zn.H.useMemo(e,t)};Ke.useOptimistic=function(e,t){return Zn.H.useOptimistic(e,t)};Ke.useReducer=function(e,t,n){return Zn.H.useReducer(e,t,n)};Ke.useRef=function(e){return Zn.H.useRef(e)};Ke.useState=function(e){return Zn.H.useState(e)};Ke.useSyncExternalStore=function(e,t,n){return Zn.H.useSyncExternalStore(e,t,n)};Ke.useTransition=function(){return Zn.H.useTransition()};Ke.version="19.2.4"});var DH=yl((Ye,kC)=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function e(P,z){Object.defineProperty(r.prototype,P,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",z[0],z[1])}})}function t(P){return P===null||typeof P!="object"?null:(P=xs&&P[xs]||P["@@iterator"],typeof P=="function"?P:null)}function n(P,z){P=(P=P.constructor)&&(P.displayName||P.name)||"ReactClass";var oe=P+"."+z;li[oe]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",z,P),li[oe]=!0)}function r(P,z,oe){this.props=P,this.context=z,this.refs=At,this.updater=oe||Qe}function o(){}function i(P,z,oe){this.props=P,this.context=z,this.refs=At,this.updater=oe||Qe}function s(){}function u(P){return""+P}function p(P){try{u(P);var z=!1}catch{z=!0}if(z){z=console;var oe=z.error,de=typeof Symbol=="function"&&Symbol.toStringTag&&P[Symbol.toStringTag]||P.constructor.name||"Object";return oe.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",de),u(P)}}function f(P){if(P==null)return null;if(typeof P=="function")return P.$$typeof===kn?null:P.displayName||P.name||null;if(typeof P=="string")return P;switch(P){case Tn:return"Fragment";case be:return"Profiler";case Jt:return"StrictMode";case en:return"Suspense";case je:return"SuspenseList";case fo:return"Activity"}if(typeof P=="object")switch(typeof P.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),P.$$typeof){case Ze:return"Portal";case Ne:return P.displayName||"Context";case he:return(P._context.displayName||"Context")+".Consumer";case Et:var z=P.render;return P=P.displayName,P||(P=z.displayName||z.name||"",P=P!==""?"ForwardRef("+P+")":"ForwardRef"),P;case ze:return z=P.displayName||null,z!==null?z:f(P.type)||"Memo";case Qn:z=P._payload,P=P._init;try{return f(P(z))}catch{}}return null}function g(P){if(P===Tn)return"<>";if(typeof P=="object"&&P!==null&&P.$$typeof===Qn)return"<...>";try{var z=f(P);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function y(){var P=Be.A;return P===null?null:P.getOwner()}function x(){return Error("react-stack-top-frame")}function w(P){if(En.call(P,"key")){var z=Object.getOwnPropertyDescriptor(P,"key").get;if(z&&z.isReactWarning)return!1}return P.key!==void 0}function A(P,z){function oe(){zn||(zn=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",z))}oe.isReactWarning=!0,Object.defineProperty(P,"key",{get:oe,configurable:!0})}function F(){var P=f(this.type);return Wn[P]||(Wn[P]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),P=this.props.ref,P!==void 0?P:null}function D(P,z,oe,de,we,De){var _e=oe.ref;return P={$$typeof:Xe,type:P,key:z,props:oe,_owner:de},(_e!==void 0?_e:null)!==null?Object.defineProperty(P,"ref",{enumerable:!1,get:F}):Object.defineProperty(P,"ref",{enumerable:!1,value:null}),P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(P,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(P,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:we}),Object.defineProperty(P,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:De}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P}function L(P,z){return z=D(P.type,z,P.props,P._owner,P._debugStack,P._debugTask),P._store&&(z._store.validated=P._store.validated),z}function U(P){Y(P)?P._store&&(P._store.validated=1):typeof P=="object"&&P!==null&&P.$$typeof===Qn&&(P._payload.status==="fulfilled"?Y(P._payload.value)&&P._payload.value._store&&(P._payload.value._store.validated=1):P._store&&(P._store.validated=1))}function Y(P){return typeof P=="object"&&P!==null&&P.$$typeof===Xe}function G(P){var z={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(oe){return z[oe]})}function W(P,z){return typeof P=="object"&&P!==null&&P.key!=null?(p(P.key),G(""+P.key)):z.toString(36)}function M(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then(s,s):(P.status="pending",P.then(function(z){P.status==="pending"&&(P.status="fulfilled",P.value=z)},function(z){P.status==="pending"&&(P.status="rejected",P.reason=z)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function ne(P,z,oe,de,we){var De=typeof P;(De==="undefined"||De==="boolean")&&(P=null);var _e=!1;if(P===null)_e=!0;else switch(De){case"bigint":case"string":case"number":_e=!0;break;case"object":switch(P.$$typeof){case Xe:case Ze:_e=!0;break;case Qn:return _e=P._init,ne(_e(P._payload),z,oe,de,we)}}if(_e){_e=P,we=we(_e);var vt=de===""?"."+W(_e,0):de;return St(we)?(oe="",vt!=null&&(oe=vt.replace(Hn,"$&/")+"/"),ne(we,z,oe,"",function(lt){return lt})):we!=null&&(Y(we)&&(we.key!=null&&(_e&&_e.key===we.key||p(we.key)),oe=L(we,oe+(we.key==null||_e&&_e.key===we.key?"":(""+we.key).replace(Hn,"$&/")+"/")+vt),de!==""&&_e!=null&&Y(_e)&&_e.key==null&&_e._store&&!_e._store.validated&&(oe._store.validated=2),we=oe),z.push(we)),1}if(_e=0,vt=de===""?".":de+":",St(P))for(var Ve=0;Ve<P.length;Ve++)de=P[Ve],De=vt+W(de,Ve),_e+=ne(de,z,oe,De,we);else if(Ve=t(P),typeof Ve=="function")for(Ve===P.entries&&(_t||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_t=!0),P=Ve.call(P),Ve=0;!(de=P.next()).done;)de=de.value,De=vt+W(de,Ve++),_e+=ne(de,z,oe,De,we);else if(De==="object"){if(typeof P.then=="function")return ne(M(P),z,oe,de,we);throw z=String(P),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return _e}function Re(P,z,oe){if(P==null)return P;var de=[],we=0;return ne(P,de,"","",function(De){return z.call(oe,De,we++)}),de}function ve(P){if(P._status===-1){var z=P._ioInfo;z!=null&&(z.start=z.end=performance.now()),z=P._result;var oe=z();if(oe.then(function(we){if(P._status===0||P._status===-1){P._status=1,P._result=we;var De=P._ioInfo;De!=null&&(De.end=performance.now()),oe.status===void 0&&(oe.status="fulfilled",oe.value=we)}},function(we){if(P._status===0||P._status===-1){P._status=2,P._result=we;var De=P._ioInfo;De!=null&&(De.end=performance.now()),oe.status===void 0&&(oe.status="rejected",oe.reason=we)}}),z=P._ioInfo,z!=null){z.value=oe;var de=oe.displayName;typeof de=="string"&&(z.name=de)}P._status===-1&&(P._status=0,P._result=oe)}if(P._status===1)return z=P._result,z===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
454
-
455
- Your code should look like:
456
- const MyComponent = lazy(() => import('./MyComponent'))
457
-
458
- Did you accidentally put curly braces around the import?`,z),"default"in z||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
459
-
460
- Your code should look like:
461
- const MyComponent = lazy(() => import('./MyComponent'))`,z),z.default;throw P._result}function re(){var P=Be.H;return P===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
462
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
463
- 2. You might be breaking the Rules of Hooks
464
- 3. You might have more than one copy of React in the same app
465
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),P}function me(){Be.asyncTransitions--}function ce(P){if(vs===null)try{var z=("require"+Math.random()).slice(0,7);vs=(kC&&kC[z]).call(kC,"timers").setImmediate}catch{vs=function(de){ar===!1&&(ar=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var we=new MessageChannel;we.port1.onmessage=de,we.port2.postMessage(void 0)}}return vs(P)}function Ce(P){return 1<P.length&&typeof AggregateError=="function"?new AggregateError(P):P[0]}function ge(P,z){z!==mo-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),mo=z}function Pe(P,z,oe){var de=Be.actQueue;if(de!==null)if(de.length!==0)try{ot(de),ce(function(){return Pe(P,z,oe)});return}catch(we){Be.thrownErrors.push(we)}else Be.actQueue=null;0<Be.thrownErrors.length?(de=Ce(Be.thrownErrors),Be.thrownErrors.length=0,oe(de)):z(P)}function ot(P){if(!lr){lr=!0;var z=0;try{for(;z<P.length;z++){var oe=P[z];do{Be.didUsePromise=!1;var de=oe(!1);if(de!==null){if(Be.didUsePromise){P[z]=oe,P.splice(0,z);return}oe=de}else break}while(!0)}P.length=0}catch(we){P.splice(0,z+1),Be.thrownErrors.push(we)}finally{lr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Xe=Symbol.for("react.transitional.element"),Ze=Symbol.for("react.portal"),Tn=Symbol.for("react.fragment"),Jt=Symbol.for("react.strict_mode"),be=Symbol.for("react.profiler"),he=Symbol.for("react.consumer"),Ne=Symbol.for("react.context"),Et=Symbol.for("react.forward_ref"),en=Symbol.for("react.suspense"),je=Symbol.for("react.suspense_list"),ze=Symbol.for("react.memo"),Qn=Symbol.for("react.lazy"),fo=Symbol.for("react.activity"),xs=Symbol.iterator,li={},Qe={isMounted:function(){return!1},enqueueForceUpdate:function(P){n(P,"forceUpdate")},enqueueReplaceState:function(P){n(P,"replaceState")},enqueueSetState:function(P){n(P,"setState")}},gn=Object.assign,At={};Object.freeze(At),r.prototype.isReactComponent={},r.prototype.setState=function(P,z){if(typeof P!="object"&&typeof P!="function"&&P!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,z,"setState")},r.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};var tn={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(cr in tn)tn.hasOwnProperty(cr)&&e(cr,tn[cr]);o.prototype=r.prototype,tn=i.prototype=new o,tn.constructor=i,gn(tn,r.prototype),tn.isPureReactComponent=!0;var St=Array.isArray,kn=Symbol.for("react.client.reference"),Be={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},En=Object.prototype.hasOwnProperty,Ks=console.createTask?console.createTask:function(){return null};tn={react_stack_bottom_frame:function(P){return P()}};var zn,sr,Wn={},xt=tn.react_stack_bottom_frame.bind(tn,x)(),No=Ks(g(x)),_t=!1,Hn=/\/+/g,Ni=typeof reportError=="function"?reportError:function(P){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P=="object"&&P!==null&&typeof P.message=="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",P);return}console.error(P)},ar=!1,vs=null,mo=0,Gr=!1,lr=!1,Ca=typeof queueMicrotask=="function"?function(P){queueMicrotask(function(){return queueMicrotask(P)})}:ce;tn=Object.freeze({__proto__:null,c:function(P){return re().useMemoCache(P)}});var cr={map:Re,forEach:function(P,z,oe){Re(P,function(){z.apply(this,arguments)},oe)},count:function(P){var z=0;return Re(P,function(){z++}),z},toArray:function(P){return Re(P,function(z){return z})||[]},only:function(P){if(!Y(P))throw Error("React.Children.only expected to receive a single React element child.");return P}};Ye.Activity=fo,Ye.Children=cr,Ye.Component=r,Ye.Fragment=Tn,Ye.Profiler=be,Ye.PureComponent=i,Ye.StrictMode=Jt,Ye.Suspense=en,Ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Be,Ye.__COMPILER_RUNTIME=tn,Ye.act=function(P){var z=Be.actQueue,oe=mo;mo++;var de=Be.actQueue=z!==null?z:[],we=!1;try{var De=P()}catch(Ve){Be.thrownErrors.push(Ve)}if(0<Be.thrownErrors.length)throw ge(z,oe),P=Ce(Be.thrownErrors),Be.thrownErrors.length=0,P;if(De!==null&&typeof De=="object"&&typeof De.then=="function"){var _e=De;return Ca(function(){we||Gr||(Gr=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(Ve,lt){we=!0,_e.then(function(Ir){if(ge(z,oe),oe===0){try{ot(de),ce(function(){return Pe(Ir,Ve,lt)})}catch(Sn){Be.thrownErrors.push(Sn)}if(0<Be.thrownErrors.length){var br=Ce(Be.thrownErrors);Be.thrownErrors.length=0,lt(br)}}else Ve(Ir)},function(Ir){ge(z,oe),0<Be.thrownErrors.length&&(Ir=Ce(Be.thrownErrors),Be.thrownErrors.length=0),lt(Ir)})}}}var vt=De;if(ge(z,oe),oe===0&&(ot(de),de.length!==0&&Ca(function(){we||Gr||(Gr=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Be.actQueue=null),0<Be.thrownErrors.length)throw P=Ce(Be.thrownErrors),Be.thrownErrors.length=0,P;return{then:function(Ve,lt){we=!0,oe===0?(Be.actQueue=de,ce(function(){return Pe(vt,Ve,lt)})):Ve(vt)}}},Ye.cache=function(P){return function(){return P.apply(null,arguments)}},Ye.cacheSignal=function(){return null},Ye.captureOwnerStack=function(){var P=Be.getCurrentStack;return P===null?null:P()},Ye.cloneElement=function(P,z,oe){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var de=gn({},P.props),we=P.key,De=P._owner;if(z!=null){var _e;e:{if(En.call(z,"ref")&&(_e=Object.getOwnPropertyDescriptor(z,"ref").get)&&_e.isReactWarning){_e=!1;break e}_e=z.ref!==void 0}_e&&(De=y()),w(z)&&(p(z.key),we=""+z.key);for(vt in z)!En.call(z,vt)||vt==="key"||vt==="__self"||vt==="__source"||vt==="ref"&&z.ref===void 0||(de[vt]=z[vt])}var vt=arguments.length-2;if(vt===1)de.children=oe;else if(1<vt){_e=Array(vt);for(var Ve=0;Ve<vt;Ve++)_e[Ve]=arguments[Ve+2];de.children=_e}for(de=D(P.type,we,de,De,P._debugStack,P._debugTask),we=2;we<arguments.length;we++)U(arguments[we]);return de},Ye.createContext=function(P){return P={$$typeof:Ne,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:he,_context:P},P._currentRenderer=null,P._currentRenderer2=null,P},Ye.createElement=function(P,z,oe){for(var de=2;de<arguments.length;de++)U(arguments[de]);de={};var we=null;if(z!=null)for(Ve in sr||!("__self"in z)||"key"in z||(sr=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),w(z)&&(p(z.key),we=""+z.key),z)En.call(z,Ve)&&Ve!=="key"&&Ve!=="__self"&&Ve!=="__source"&&(de[Ve]=z[Ve]);var De=arguments.length-2;if(De===1)de.children=oe;else if(1<De){for(var _e=Array(De),vt=0;vt<De;vt++)_e[vt]=arguments[vt+2];Object.freeze&&Object.freeze(_e),de.children=_e}if(P&&P.defaultProps)for(Ve in De=P.defaultProps,De)de[Ve]===void 0&&(de[Ve]=De[Ve]);we&&A(de,typeof P=="function"?P.displayName||P.name||"Unknown":P);var Ve=1e4>Be.recentlyCreatedOwnerStacks++;return D(P,we,de,y(),Ve?Error("react-stack-top-frame"):xt,Ve?Ks(g(P)):No)},Ye.createRef=function(){var P={current:null};return Object.seal(P),P},Ye.forwardRef=function(P){P!=null&&P.$$typeof===ze?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof P!="function"?console.error("forwardRef requires a render function but was given %s.",P===null?"null":typeof P):P.length!==0&&P.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",P.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),P!=null&&P.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var z={$$typeof:Et,render:P},oe;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return oe},set:function(de){oe=de,P.name||P.displayName||(Object.defineProperty(P,"name",{value:de}),P.displayName=de)}}),z},Ye.isValidElement=Y,Ye.lazy=function(P){P={_status:-1,_result:P};var z={$$typeof:Qn,_payload:P,_init:ve},oe={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return P._ioInfo=oe,z._debugInfo=[{awaited:oe}],z},Ye.memo=function(P,z){P==null&&console.error("memo: The first argument must be a component. Instead received: %s",P===null?"null":typeof P),z={$$typeof:ze,type:P,compare:z===void 0?null:z};var oe;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return oe},set:function(de){oe=de,P.name||P.displayName||(Object.defineProperty(P,"name",{value:de}),P.displayName=de)}}),z},Ye.startTransition=function(P){var z=Be.T,oe={};oe._updatedFibers=new Set,Be.T=oe;try{var de=P(),we=Be.S;we!==null&&we(oe,de),typeof de=="object"&&de!==null&&typeof de.then=="function"&&(Be.asyncTransitions++,de.then(me,me),de.then(s,Ni))}catch(De){Ni(De)}finally{z===null&&oe._updatedFibers&&(P=oe._updatedFibers.size,oe._updatedFibers.clear(),10<P&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),z!==null&&oe.types!==null&&(z.types!==null&&z.types!==oe.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),z.types=oe.types),Be.T=z}},Ye.unstable_useCacheRefresh=function(){return re().useCacheRefresh()},Ye.use=function(P){return re().use(P)},Ye.useActionState=function(P,z,oe){return re().useActionState(P,z,oe)},Ye.useCallback=function(P,z){return re().useCallback(P,z)},Ye.useContext=function(P){var z=re();return P.$$typeof===he&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),z.useContext(P)},Ye.useDebugValue=function(P,z){return re().useDebugValue(P,z)},Ye.useDeferredValue=function(P,z){return re().useDeferredValue(P,z)},Ye.useEffect=function(P,z){return P==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),re().useEffect(P,z)},Ye.useEffectEvent=function(P){return re().useEffectEvent(P)},Ye.useId=function(){return re().useId()},Ye.useImperativeHandle=function(P,z,oe){return re().useImperativeHandle(P,z,oe)},Ye.useInsertionEffect=function(P,z){return P==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),re().useInsertionEffect(P,z)},Ye.useLayoutEffect=function(P,z){return P==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),re().useLayoutEffect(P,z)},Ye.useMemo=function(P,z){return re().useMemo(P,z)},Ye.useOptimistic=function(P,z){return re().useOptimistic(P,z)},Ye.useReducer=function(P,z,oe){return re().useReducer(P,z,oe)},Ye.useRef=function(P){return re().useRef(P)},Ye.useState=function(P){return re().useState(P)},Ye.useSyncExternalStore=function(P,z,oe){return re().useSyncExternalStore(P,z,oe)},Ye.useTransition=function(){return re().useTransition()},Ye.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var Uc=yl((cSe,$A)=>{"use strict";process.env.NODE_ENV==="production"?$A.exports=IH():$A.exports=DH()});var LH=yl(fs=>{"use strict";var vq=Uc();function _H(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Wu(){}var ps={d:{f:Wu,r:function(){throw Error(_H(522))},D:Wu,C:Wu,L:Wu,m:Wu,X:Wu,S:Wu,M:Wu},p:0,findDOMNode:null},bq=Symbol.for("react.portal");function wq(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:bq,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}var Sy=vq.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function EC(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}fs.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ps;fs.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(_H(299));return wq(e,t,null,n)};fs.flushSync=function(e){var t=Sy.T,n=ps.p;try{if(Sy.T=null,ps.p=2,e)return e()}finally{Sy.T=t,ps.p=n,ps.d.f()}};fs.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,ps.d.C(e,t))};fs.prefetchDNS=function(e){typeof e=="string"&&ps.d.D(e)};fs.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,r=EC(n,t.crossOrigin),o=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?ps.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:i}):n==="script"&&ps.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};fs.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=EC(t.as,t.crossOrigin);ps.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&ps.d.M(e)};fs.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,r=EC(n,t.crossOrigin);ps.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};fs.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=EC(t.as,t.crossOrigin);ps.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else ps.d.m(e)};fs.requestFormReset=function(e){ps.d.r(e)};fs.unstable_batchedUpdates=function(e,t){return e(t)};fs.useFormState=function(e,t,n){return Sy.H.useFormState(e,t,n)};fs.useFormStatus=function(){return Sy.H.useHostTransitionStatus()};fs.version="19.2.4"});var NH=yl(ms=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function e(){}function t(y){return""+y}function n(y,x,w){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(A);var F=!1}catch{F=!0}return F&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&A[Symbol.toStringTag]||A.constructor.name||"Object"),t(A)),{$$typeof:f,key:A==null?null:""+A,children:y,containerInfo:x,implementation:w}}function r(y,x){if(y==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function o(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":'something with type "'+typeof y+'"'}function i(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":typeof y=="string"?JSON.stringify(y):typeof y=="number"?"`"+y+"`":'something with type "'+typeof y+'"'}function s(){var y=g.H;return y===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
466
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
467
- 2. You might be breaking the Rules of Hooks
468
- 3. You might have more than one copy of React in the same app
469
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=Uc(),p={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},f=Symbol.for("react.portal"),g=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ms.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=p,ms.createPortal=function(y,x){var w=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error("Target container is not a DOM element.");return n(y,x,null,w)},ms.flushSync=function(y){var x=g.T,w=p.p;try{if(g.T=null,p.p=2,y)return y()}finally{g.T=x,p.p=w,p.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ms.preconnect=function(y,x){typeof y=="string"&&y?x!=null&&typeof x!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",i(x)):x!=null&&typeof x.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(x.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(y)),typeof y=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,p.d.C(y,x))},ms.prefetchDNS=function(y){if(typeof y!="string"||!y)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(y));else if(1<arguments.length){var x=arguments[1];typeof x=="object"&&x.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",i(x)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",i(x))}typeof y=="string"&&p.d.D(y)},ms.preinit=function(y,x){if(typeof y=="string"&&y?x==null||typeof x!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",i(x)):x.as!=="style"&&x.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',i(x.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(y)),typeof y=="string"&&x&&typeof x.as=="string"){var w=x.as,A=r(w,x.crossOrigin),F=typeof x.integrity=="string"?x.integrity:void 0,D=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;w==="style"?p.d.S(y,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:A,integrity:F,fetchPriority:D}):w==="script"&&p.d.X(y,{crossOrigin:A,integrity:F,fetchPriority:D,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},ms.preinitModule=function(y,x){var w="";if(typeof y=="string"&&y||(w+=" The `href` argument encountered was "+o(y)+"."),x!==void 0&&typeof x!="object"?w+=" The `options` argument encountered was "+o(x)+".":x&&"as"in x&&x.as!=="script"&&(w+=" The `as` option encountered was "+i(x.as)+"."),w)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",w);else switch(w=x&&typeof x.as=="string"?x.as:"script",w){case"script":break;default:w=i(w),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',w,y)}typeof y=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(w=r(x.as,x.crossOrigin),p.d.M(y,{crossOrigin:w,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&p.d.M(y))},ms.preload=function(y,x){var w="";if(typeof y=="string"&&y||(w+=" The `href` argument encountered was "+o(y)+"."),x==null||typeof x!="object"?w+=" The `options` argument encountered was "+o(x)+".":typeof x.as=="string"&&x.as||(w+=" The `as` option encountered was "+o(x.as)+"."),w&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',w),typeof y=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){w=x.as;var A=r(w,x.crossOrigin);p.d.L(y,w,{crossOrigin:A,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},ms.preloadModule=function(y,x){var w="";typeof y=="string"&&y||(w+=" The `href` argument encountered was "+o(y)+"."),x!==void 0&&typeof x!="object"?w+=" The `options` argument encountered was "+o(x)+".":x&&"as"in x&&typeof x.as!="string"&&(w+=" The `as` option encountered was "+o(x.as)+"."),w&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',w),typeof y=="string"&&(x?(w=r(x.as,x.crossOrigin),p.d.m(y,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:w,integrity:typeof x.integrity=="string"?x.integrity:void 0})):p.d.m(y))},ms.requestFormReset=function(y){p.d.r(y)},ms.unstable_batchedUpdates=function(y,x){return y(x)},ms.useFormState=function(y,x,w){return s().useFormState(y,x,w)},ms.useFormStatus=function(){return s().useHostTransitionStatus()},ms.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var Py=yl((pSe,eF)=>{"use strict";function BH(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(BH)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(BH(),eF.exports=LH()):eF.exports=NH()});var K6=yl(n0=>{"use strict";var m6=Uc(),Cq=Py(),h6=Symbol.for("react.transitional.element"),g6=Symbol.for("react.portal"),y6=Symbol.for("react.fragment"),x6=Symbol.for("react.strict_mode"),v6=Symbol.for("react.profiler"),b6=Symbol.for("react.consumer"),ZC=Symbol.for("react.context"),vF=Symbol.for("react.forward_ref"),QC=Symbol.for("react.suspense"),bF=Symbol.for("react.suspense_list"),wF=Symbol.for("react.memo"),jC=Symbol.for("react.lazy"),Rq=Symbol.for("react.scope"),w6=Symbol.for("react.activity"),Tq=Symbol.for("react.legacy_hidden"),kq=Symbol.for("react.memo_cache_sentinel"),Eq=Symbol.for("react.view_transition"),UH=Symbol.iterator;function C6(e){return e===null||typeof e!="object"?null:(e=UH&&e[UH]||e["@@iterator"],typeof e=="function"?e:null)}var NC=Array.isArray;function zH(e,t){var n=e.length&3,r=e.length-n,o=t;for(t=0;t<r;){var i=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,i=3432918353*(i&65535)+((3432918353*(i>>>16)&65535)<<16)&4294967295,i=i<<15|i>>>17,i=461845907*(i&65535)+((461845907*(i>>>16)&65535)<<16)&4294967295,o^=i,o=o<<13|o>>>19,o=5*(o&65535)+((5*(o>>>16)&65535)<<16)&4294967295,o=(o&65535)+27492+(((o>>>16)+58964&65535)<<16)}switch(i=0,n){case 3:i^=(e.charCodeAt(t+2)&255)<<16;case 2:i^=(e.charCodeAt(t+1)&255)<<8;case 1:i^=e.charCodeAt(t)&255,i=3432918353*(i&65535)+((3432918353*(i>>>16)&65535)<<16)&4294967295,i=i<<15|i>>>17,o^=461845907*(i&65535)+((461845907*(i>>>16)&65535)<<16)&4294967295}return o^=e.length,o^=o>>>16,o=2246822507*(o&65535)+((2246822507*(o>>>16)&65535)<<16)&4294967295,o^=o>>>13,o=3266489909*(o&65535)+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^o>>>16)>>>0}var Ys=Object.assign,rr=Object.prototype.hasOwnProperty,Sq=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),WH={},HH={};function CF(e){return rr.call(HH,e)?!0:rr.call(WH,e)?!1:Sq.test(e)?HH[e]=!0:(WH[e]=!0,!1)}var Pq=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Aq=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fq=/["'&<>]/;function ft(e){if(typeof e=="boolean"||typeof e=="number"||typeof e=="bigint")return""+e;e=""+e;var t=Fq.exec(e);if(t){var n="",r,o=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==r&&(n+=e.slice(o,r)),o=r+1,n+=t}e=o!==r?n+e.slice(o,r):n}return e}var Oq=/([A-Z])/g,Mq=/^ms-/,Iq=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Iy(e){return Iq.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Sm=m6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R6=Cq.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Dq={pending:!1,data:null,method:null,action:null},Wc=R6.d;R6.d={f:Wc.f,r:Wc.r,D:qq,C:$q,L:e$,m:t$,X:r$,S:n$,M:o$};var Ka=[],Mm=null,T6=/(<\/|<)(s)(cript)/gi;function k6(e,t,n,r){return""+t+(n==="s"?"\\u0073":"\\u0053")+r}function _q(e,t,n,r,o){return{idPrefix:e===void 0?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:o,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function ii(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function GH(e,t,n){var r=e.tagScope&-25;switch(t){case"noscript":return ii(2,null,r|1,null);case"select":return ii(2,n.value!=null?n.value:n.defaultValue,r,null);case"svg":return ii(4,null,r,null);case"picture":return ii(2,null,r|2,null);case"math":return ii(5,null,r,null);case"foreignObject":return ii(2,null,r,null);case"table":return ii(6,null,r,null);case"thead":case"tbody":case"tfoot":return ii(7,null,r,null);case"colgroup":return ii(9,null,r,null);case"tr":return ii(8,null,r,null);case"head":if(2>e.insertionMode)return ii(3,null,r,null);break;case"html":if(e.insertionMode===0)return ii(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?ii(2,null,r,null):e.tagScope!==r?ii(e.insertionMode,e.selectedValue,r,null):e}function E6(e){return e===null?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function aF(e,t){return t.tagScope&32&&(e.instructions|=128),ii(t.insertionMode,t.selectedValue,t.tagScope|12,E6(t.viewTransition))}function FC(e,t){e=E6(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!=="none"&&(n|=64),ii(t.insertionMode,t.selectedValue,n,e)}var VH=new Map;function S6(e,t){if(typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var n=!0,r;for(r in t)if(rr.call(t,r)){var o=t[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var i=ft(r);o=ft((""+o).trim())}else i=VH.get(r),i===void 0&&(i=ft(r.replace(Oq,"-$1").toLowerCase().replace(Mq,"-ms-")),VH.set(r,i)),o=typeof o=="number"?o===0||Pq.has(r)?""+o:o+"px":ft((""+o).trim());n?(n=!1,e.push(' style="',i,":",o)):e.push(";",i,":",o)}}n||e.push('"')}function lF(e,t,n){n&&typeof n!="function"&&typeof n!="symbol"&&e.push(" ",t,'=""')}function Pi(e,t,n){typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&e.push(" ",t,'="',ft(n),'"')}var P6=ft("javascript:throw new Error('React form unexpectedly submitted.')");function tF(e,t){this.push('<input type="hidden"'),A6(e),Pi(this,"name",t),Pi(this,"value",e),this.push("/>")}function A6(e){if(typeof e!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function F6(e,t){if(typeof t.$$FORM_ACTION=="function"){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;o?.forEach(A6)}return r}catch(i){if(typeof i=="object"&&i!==null&&typeof i.then=="function")throw i}}return null}function YH(e,t,n,r,o,i,s,u){var p=null;if(typeof r=="function"){var f=F6(t,r);f!==null?(u=f.name,r=f.action||"",o=f.encType,i=f.method,s=f.target,p=f.data):(e.push(" ","formAction",'="',P6,'"'),s=i=o=r=u=null,O6(t,n))}return u!=null&&qt(e,"name",u),r!=null&&qt(e,"formAction",r),o!=null&&qt(e,"formEncType",o),i!=null&&qt(e,"formMethod",i),s!=null&&qt(e,"formTarget",s),p}function qt(e,t,n){switch(t){case"className":Pi(e,"class",n);break;case"tabIndex":Pi(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Pi(e,t,n);break;case"style":S6(e,n);break;case"src":case"href":if(n==="")break;case"action":case"formAction":if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean")break;n=Iy(""+n),e.push(" ",t,'="',ft(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":lF(e,t.toLowerCase(),n);break;case"xlinkHref":if(typeof n=="function"||typeof n=="symbol"||typeof n=="boolean")break;n=Iy(""+n),e.push(" ","xlink:href",'="',ft(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof n!="function"&&typeof n!="symbol"&&e.push(" ",t,'="',ft(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"&&e.push(" ",t,'=""');break;case"capture":case"download":n===!0?e.push(" ",t,'=""'):n!==!1&&typeof n!="function"&&typeof n!="symbol"&&e.push(" ",t,'="',ft(n),'"');break;case"cols":case"rows":case"size":case"span":typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',ft(n),'"');break;case"rowSpan":case"start":typeof n=="function"||typeof n=="symbol"||isNaN(n)||e.push(" ",t,'="',ft(n),'"');break;case"xlinkActuate":Pi(e,"xlink:actuate",n);break;case"xlinkArcrole":Pi(e,"xlink:arcrole",n);break;case"xlinkRole":Pi(e,"xlink:role",n);break;case"xlinkShow":Pi(e,"xlink:show",n);break;case"xlinkTitle":Pi(e,"xlink:title",n);break;case"xlinkType":Pi(e,"xlink:type",n);break;case"xmlBase":Pi(e,"xml:base",n);break;case"xmlLang":Pi(e,"xml:lang",n);break;case"xmlSpace":Pi(e,"xml:space",n);break;default:if((!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=Aq.get(t)||t,CF(t))){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-")return}e.push(" ",t,'="',ft(n),'"')}}}function ga(e,t,n){if(t!=null){if(n!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!="object"||!("__html"in t))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");t=t.__html,t!=null&&e.push(""+t)}}function Lq(e){var t="";return m6.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function O6(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),OC(r,e),r.push(">",`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,"</script>")):r.unshift(t.startInlineScript,">",`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,"</script>")}}function Ai(e,t){e.push(co("link"));for(var n in t)if(rr.call(t,n)){var r=t[n];if(r!=null)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:qt(e,n,r)}}return e.push("/>"),null}var XH=/(<\/|<)(s)(tyle)/gi;function JH(e,t,n,r){return""+t+(n==="s"?"\\73 ":"\\53 ")+r}function Pm(e,t,n){e.push(co(n));for(var r in t)if(rr.call(t,r)){var o=t[r];if(o!=null)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:qt(e,r,o)}}return e.push("/>"),null}function KH(e,t){e.push(co("title"));var n=null,r=null,o;for(o in t)if(rr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:qt(e,o,i)}}return e.push(">"),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!="function"&&typeof t!="symbol"&&t!==null&&t!==void 0&&e.push(ft(""+t)),ga(e,r,n),e.push(ip("title")),null}function BC(e,t){e.push(co("script"));var n=null,r=null,o;for(o in t)if(rr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:qt(e,o,i)}}return e.push(">"),ga(e,r,n),typeof n=="string"&&e.push((""+n).replace(T6,k6)),e.push(ip("script")),null}function nF(e,t,n){e.push(co(n));var r=n=null,o;for(o in t)if(rr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:qt(e,o,i)}}return e.push(">"),ga(e,r,n),n}function SC(e,t,n){e.push(co(n));var r=n=null,o;for(o in t)if(rr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:qt(e,o,i)}}return e.push(">"),ga(e,r,n),typeof n=="string"?(e.push(ft(n)),null):n}var Nq=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ZH=new Map;function co(e){var t=ZH.get(e);if(t===void 0){if(!Nq.test(e))throw Error("Invalid tag: "+e);t="<"+e,ZH.set(e,t)}return t}function Bq(e,t,n,r,o,i,s,u,p){switch(t){case"div":case"span":case"svg":case"path":break;case"a":e.push(co("a"));var f=null,g=null,y;for(y in n)if(rr.call(n,y)){var x=n[y];if(x!=null)switch(y){case"children":f=x;break;case"dangerouslySetInnerHTML":g=x;break;case"href":x===""?Pi(e,"href",""):qt(e,y,x);break;default:qt(e,y,x)}}if(e.push(">"),ga(e,g,f),typeof f=="string"){e.push(ft(f));var w=null}else w=f;return w;case"g":case"p":case"li":break;case"select":e.push(co("select"));var A=null,F=null,D;for(D in n)if(rr.call(n,D)){var L=n[D];if(L!=null)switch(D){case"children":A=L;break;case"dangerouslySetInnerHTML":F=L;break;case"defaultValue":case"value":break;default:qt(e,D,L)}}return e.push(">"),ga(e,F,A),A;case"option":var U=u.selectedValue;e.push(co("option"));var Y=null,G=null,W=null,M=null,ne;for(ne in n)if(rr.call(n,ne)){var Re=n[ne];if(Re!=null)switch(ne){case"children":Y=Re;break;case"selected":W=Re;break;case"dangerouslySetInnerHTML":M=Re;break;case"value":G=Re;default:qt(e,ne,Re)}}if(U!=null){var ve=G!==null?""+G:Lq(Y);if(NC(U)){for(var re=0;re<U.length;re++)if(""+U[re]===ve){e.push(' selected=""');break}}else""+U===ve&&e.push(' selected=""')}else W&&e.push(' selected=""');return e.push(">"),ga(e,M,Y),Y;case"textarea":e.push(co("textarea"));var me=null,ce=null,Ce=null,ge;for(ge in n)if(rr.call(n,ge)){var Pe=n[ge];if(Pe!=null)switch(ge){case"children":Ce=Pe;break;case"value":me=Pe;break;case"defaultValue":ce=Pe;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:qt(e,ge,Pe)}}if(me===null&&ce!==null&&(me=ce),e.push(">"),Ce!=null){if(me!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(NC(Ce)){if(1<Ce.length)throw Error("<textarea> can only have at most one child.");me=""+Ce[0]}me=""+Ce}return typeof me=="string"&&me[0]===`
470
- `&&e.push(`
471
- `),me!==null&&e.push(ft(""+me)),null;case"input":e.push(co("input"));var ot=null,Xe=null,Ze=null,Tn=null,Jt=null,be=null,he=null,Ne=null,Et=null,en;for(en in n)if(rr.call(n,en)){var je=n[en];if(je!=null)switch(en){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":ot=je;break;case"formAction":Xe=je;break;case"formEncType":Ze=je;break;case"formMethod":Tn=je;break;case"formTarget":Jt=je;break;case"defaultChecked":Et=je;break;case"defaultValue":he=je;break;case"checked":Ne=je;break;case"value":be=je;break;default:qt(e,en,je)}}var ze=YH(e,r,o,Xe,Ze,Tn,Jt,ot);return Ne!==null?lF(e,"checked",Ne):Et!==null&&lF(e,"checked",Et),be!==null?qt(e,"value",be):he!==null&&qt(e,"value",he),e.push("/>"),ze?.forEach(tF,e),null;case"button":e.push(co("button"));var Qn=null,fo=null,xs=null,li=null,Qe=null,gn=null,At=null,tn;for(tn in n)if(rr.call(n,tn)){var St=n[tn];if(St!=null)switch(tn){case"children":Qn=St;break;case"dangerouslySetInnerHTML":fo=St;break;case"name":xs=St;break;case"formAction":li=St;break;case"formEncType":Qe=St;break;case"formMethod":gn=St;break;case"formTarget":At=St;break;default:qt(e,tn,St)}}var kn=YH(e,r,o,li,Qe,gn,At,xs);if(e.push(">"),kn?.forEach(tF,e),ga(e,fo,Qn),typeof Qn=="string"){e.push(ft(Qn));var Be=null}else Be=Qn;return Be;case"form":e.push(co("form"));var En=null,Ks=null,zn=null,sr=null,Wn=null,xt=null,No;for(No in n)if(rr.call(n,No)){var _t=n[No];if(_t!=null)switch(No){case"children":En=_t;break;case"dangerouslySetInnerHTML":Ks=_t;break;case"action":zn=_t;break;case"encType":sr=_t;break;case"method":Wn=_t;break;case"target":xt=_t;break;default:qt(e,No,_t)}}var Hn=null,Ni=null;if(typeof zn=="function"){var ar=F6(r,zn);ar!==null?(zn=ar.action||"",sr=ar.encType,Wn=ar.method,xt=ar.target,Hn=ar.data,Ni=ar.name):(e.push(" ","action",'="',P6,'"'),xt=Wn=sr=zn=null,O6(r,o))}if(zn!=null&&qt(e,"action",zn),sr!=null&&qt(e,"encType",sr),Wn!=null&&qt(e,"method",Wn),xt!=null&&qt(e,"target",xt),e.push(">"),Ni!==null&&(e.push('<input type="hidden"'),Pi(e,"name",Ni),e.push("/>"),Hn?.forEach(tF,e)),ga(e,Ks,En),typeof En=="string"){e.push(ft(En));var vs=null}else vs=En;return vs;case"menuitem":e.push(co("menuitem"));for(var mo in n)if(rr.call(n,mo)){var Gr=n[mo];if(Gr!=null)switch(mo){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:qt(e,mo,Gr)}}return e.push(">"),null;case"object":e.push(co("object"));var lr=null,Ca=null,cr;for(cr in n)if(rr.call(n,cr)){var P=n[cr];if(P!=null)switch(cr){case"children":lr=P;break;case"dangerouslySetInnerHTML":Ca=P;break;case"data":var z=Iy(""+P);if(z==="")break;e.push(" ","data",'="',ft(z),'"');break;default:qt(e,cr,P)}}if(e.push(">"),ga(e,Ca,lr),typeof lr=="string"){e.push(ft(lr));var oe=null}else oe=lr;return oe;case"title":var de=u.tagScope&1,we=u.tagScope&4;if(u.insertionMode===4||de||n.itemProp!=null)var De=KH(e,n);else we?De=null:(KH(o.hoistableChunks,n),De=void 0);return De;case"link":var _e=u.tagScope&1,vt=u.tagScope&4,Ve=n.rel,lt=n.href,Ir=n.precedence;if(u.insertionMode===4||_e||n.itemProp!=null||typeof Ve!="string"||typeof lt!="string"||lt===""){Ai(e,n);var br=null}else if(n.rel==="stylesheet")if(typeof Ir!="string"||n.disabled!=null||n.onLoad||n.onError)br=Ai(e,n);else{var Sn=o.styles.get(Ir),ct=r.styleResources.hasOwnProperty(lt)?r.styleResources[lt]:void 0;if(ct!==null){r.styleResources[lt]=null,Sn||(Sn={precedence:ft(Ir),rules:[],hrefs:[],sheets:new Map},o.styles.set(Ir,Sn));var ci={state:0,props:Ys({},n,{"data-precedence":n.precedence,precedence:null})};if(ct){ct.length===2&&Dy(ci.props,ct);var bs=o.preloads.stylesheets.get(lt);bs&&0<bs.length?bs.length=0:ci.state=1}Sn.sheets.set(lt,ci),s&&s.stylesheets.add(ci)}else if(Sn){var Fl=Sn.sheets.get(lt);Fl&&s&&s.stylesheets.add(Fl)}p&&e.push("<!-- -->"),br=null}else n.onLoad||n.onError?br=Ai(e,n):(p&&e.push("<!-- -->"),br=vt?null:Ai(o.hoistableChunks,n));return br;case"script":var Kc=u.tagScope&1,Ra=n.async;if(typeof n.src!="string"||!n.src||!Ra||typeof Ra=="function"||typeof Ra=="symbol"||n.onLoad||n.onError||u.insertionMode===4||Kc||n.itemProp!=null)var Dr=BC(e,n);else{var ui=n.src;if(n.type==="module")var mt=r.moduleScriptResources,ho=o.preloads.moduleScripts;else mt=r.scriptResources,ho=o.preloads.scripts;var ws=mt.hasOwnProperty(ui)?mt[ui]:void 0;if(ws!==null){mt[ui]=null;var Pn=n;if(ws){ws.length===2&&(Pn=Ys({},n),Dy(Pn,ws));var Ol=ho.get(ui);Ol&&(Ol.length=0)}var Zs=[];o.scripts.add(Zs),BC(Zs,Pn)}p&&e.push("<!-- -->"),Dr=null}return Dr;case"style":var Cs=u.tagScope&1,ur=n.precedence,jr=n.href,Bi=n.nonce;if(u.insertionMode===4||Cs||n.itemProp!=null||typeof ur!="string"||typeof jr!="string"||jr===""){e.push(co("style"));var wr=null,yn=null,di;for(di in n)if(rr.call(n,di)){var go=n[di];if(go!=null)switch(di){case"children":wr=go;break;case"dangerouslySetInnerHTML":yn=go;break;default:qt(e,di,go)}}e.push(">");var pi=Array.isArray(wr)?2>wr.length?wr[0]:null:wr;typeof pi!="function"&&typeof pi!="symbol"&&pi!==null&&pi!==void 0&&e.push((""+pi).replace(XH,JH)),ga(e,yn,wr),e.push(ip("style"));var yo=null}else{var Vr=o.styles.get(ur);if((r.styleResources.hasOwnProperty(jr)?r.styleResources[jr]:void 0)!==null){r.styleResources[jr]=null,Vr||(Vr={precedence:ft(ur),rules:[],hrefs:[],sheets:new Map},o.styles.set(ur,Vr));var $a=o.nonce.style;if(!$a||$a===Bi){Vr.hrefs.push(ft(jr));var Rs=Vr.rules,_r=null,el=null,fi;for(fi in n)if(rr.call(n,fi)){var Ta=n[fi];if(Ta!=null)switch(fi){case"children":_r=Ta;break;case"dangerouslySetInnerHTML":el=Ta}}var Bo=Array.isArray(_r)?2>_r.length?_r[0]:null:_r;typeof Bo!="function"&&typeof Bo!="symbol"&&Bo!==null&&Bo!==void 0&&Rs.push((""+Bo).replace(XH,JH)),ga(Rs,el,_r)}}Vr&&s&&s.styles.add(Vr),p&&e.push("<!-- -->"),yo=void 0}return yo;case"meta":var od=u.tagScope&1,id=u.tagScope&4;if(u.insertionMode===4||od||n.itemProp!=null)var tl=Pm(e,n,"meta");else p&&e.push("<!-- -->"),tl=id?null:typeof n.charSet=="string"?Pm(o.charsetChunks,n,"meta"):n.name==="viewport"?Pm(o.viewportChunks,n,"meta"):Pm(o.hoistableChunks,n,"meta");return tl;case"listing":case"pre":e.push(co(t));var Cr=null,qr=null,xo;for(xo in n)if(rr.call(n,xo)){var $r=n[xo];if($r!=null)switch(xo){case"children":Cr=$r;break;case"dangerouslySetInnerHTML":qr=$r;break;default:qt(e,xo,$r)}}if(e.push(">"),qr!=null){if(Cr!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof qr!="object"||!("__html"in qr))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var eo=qr.__html;eo!=null&&(typeof eo=="string"&&0<eo.length&&eo[0]===`
472
- `?e.push(`
473
- `,eo):e.push(""+eo))}return typeof Cr=="string"&&Cr[0]===`
474
- `&&e.push(`
475
- `),Cr;case"img":var Zc=u.tagScope&3,ut=n.src,qe=n.srcSet;if(!(n.loading==="lazy"||!ut&&!qe||typeof ut!="string"&&ut!=null||typeof qe!="string"&&qe!=null||n.fetchPriority==="low"||Zc)&&(typeof ut!="string"||ut[4]!==":"||ut[0]!=="d"&&ut[0]!=="D"||ut[1]!=="a"&&ut[1]!=="A"||ut[2]!=="t"&&ut[2]!=="T"||ut[3]!=="a"&&ut[3]!=="A")&&(typeof qe!="string"||qe[4]!==":"||qe[0]!=="d"&&qe[0]!=="D"||qe[1]!=="a"&&qe[1]!=="A"||qe[2]!=="t"&&qe[2]!=="T"||qe[3]!=="a"&&qe[3]!=="A")){s!==null&&u.tagScope&64&&(s.suspenseyImages=!0);var ka=typeof n.sizes=="string"?n.sizes:void 0,Rr=qe?qe+`
476
- `+(ka||""):ut,to=o.preloads.images,nn=to.get(Rr);if(nn)(n.fetchPriority==="high"||10>o.highImagePreloads.size)&&(to.delete(Rr),o.highImagePreloads.add(nn));else if(!r.imageResources.hasOwnProperty(Rr)){r.imageResources[Rr]=Ka;var Ts=n.crossOrigin,Ml=typeof Ts=="string"?Ts==="use-credentials"?Ts:"":void 0,rn=o.headers,Ui;rn&&0<rn.remainingCapacity&&typeof n.srcSet!="string"&&(n.fetchPriority==="high"||500>rn.highImagePreloads.length)&&(Ui=zC(ut,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:Ml,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(rn.remainingCapacity-=Ui.length+2))?(o.resets.image[Rr]=Ka,rn.highImagePreloads&&(rn.highImagePreloads+=", "),rn.highImagePreloads+=Ui):(nn=[],Ai(nn,{rel:"preload",as:"image",href:qe?void 0:ut,imageSrcSet:qe,imageSizes:ka,crossOrigin:Ml,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority==="high"||10>o.highImagePreloads.size?o.highImagePreloads.add(nn):(o.bulkPreloads.add(nn),to.set(Rr,nn)))}}return Pm(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return Pm(e,n,t);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"head":if(2>u.insertionMode){var ks=i||o.preamble;if(ks.headChunks)throw Error("The `<head>` tag may only be rendered once.");i!==null&&e.push("<!--head-->"),ks.headChunks=[];var vo=nF(ks.headChunks,n,"head")}else vo=SC(e,n,"head");return vo;case"body":if(2>u.insertionMode){var Uo=i||o.preamble;if(Uo.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");i!==null&&e.push("<!--body-->"),Uo.bodyChunks=[];var An=nF(Uo.bodyChunks,n,"body")}else An=SC(e,n,"body");return An;case"html":if(u.insertionMode===0){var mi=i||o.preamble;if(mi.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");i!==null&&e.push("<!--html-->"),mi.htmlChunks=[""];var zt=nF(mi.htmlChunks,n,"html")}else zt=SC(e,n,"html");return zt;default:if(t.indexOf("-")!==-1){e.push(co(t));var Es=null,zi=null,Gn;for(Gn in n)if(rr.call(n,Gn)){var Wt=n[Gn];if(Wt!=null){var zo=Gn;switch(Gn){case"children":Es=Wt;break;case"dangerouslySetInnerHTML":zi=Wt;break;case"style":S6(e,Wt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":zo="class";default:if(CF(Gn)&&typeof Wt!="function"&&typeof Wt!="symbol"&&Wt!==!1){if(Wt===!0)Wt="";else if(typeof Wt=="object")continue;e.push(" ",zo,'="',ft(Wt),'"')}}}}return e.push(">"),ga(e,zi,Es),Es}}return SC(e,n,t)}var QH=new Map;function ip(e){var t=QH.get(e);return t===void 0&&(t="</"+e+">",QH.set(e,t)),t}function jH(e,t){e=e.preamble,e.htmlChunks===null&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),e.headChunks===null&&t.headChunks&&(e.headChunks=t.headChunks),e.bodyChunks===null&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function M6(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return n<t.length?(n=t[n],t.length=0,e.push(n)):!0}function qH(e,t,n){if(e.push('<!--$?--><template id="'),n===null)throw Error("An ID must have been assigned before we can complete the boundary.");return e.push(t.boundaryPrefix),t=n.toString(16),e.push(t),e.push('"></template>')}function Uq(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error("Unknown insertion mode. This is a bug in React.")}}function zq(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.")}}var Wq=/[<\u2028\u2029]/g;function Hq(e){return JSON.stringify(e).replace(Wq,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Gq=/[&><\u2028\u2029]/g;function Oy(e){return JSON.stringify(e).replace(Gq,function(t){switch(t){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var UC=!1,cF=!0;function Vq(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push(Mm.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);cF=this.push("</style>"),UC=!0,t.length=0,n.length=0}}function Yq(e){return e.state!==2?UC=!0:!1}function I6(e,t,n){return UC=!1,cF=!0,Mm=n,t.styles.forEach(Vq,e),Mm=null,t.stylesheets.forEach(Yq),UC&&(n.stylesToHoist=!0),cF}function El(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Gu=[];function Xq(e){Ai(Gu,e.props);for(var t=0;t<Gu.length;t++)this.push(Gu[t]);Gu.length=0,e.state=2}function Jq(e){var t=0<e.sheets.size;e.sheets.forEach(Xq,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(Mm.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Kq(e){if(e.state===0){e.state=1;var t=e.props;for(Ai(Gu,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Gu.length;e++)this.push(Gu[e]);Gu.length=0}}function Zq(e){e.sheets.forEach(Kq,this),e.sheets.clear()}function OC(e,t){!(t.instructions&32)&&(t.instructions|=32,e.push(' id="',ft("_"+t.idPrefix+"R_"),'"'))}function Qq(e,t){e.push("[");var n="[";t.stylesheets.forEach(function(r){if(r.state!==2)if(r.state===3)e.push(n),r=Oy(""+r.props.href),e.push(r),e.push("]"),n=",[";else{e.push(n);var o=r.props["data-precedence"],i=r.props,s=Iy(""+r.props.href);s=Oy(s),e.push(s),o=""+o,e.push(","),o=Oy(o),e.push(o);for(var u in i)if(rr.call(i,u)&&(o=i[u],o!=null))switch(u){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:jq(e,u,o)}e.push("]"),n=",[",r.state=3}}),e.push("]")}function jq(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(n===!1)return;t="";break;case"src":case"href":n=Iy(n),t=""+n;break;default:if(2<t.length&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")||!CF(t))return;t=""+n}e.push(","),r=Oy(r),e.push(r),e.push(","),r=Oy(t),e.push(r)}function uF(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function qq(e){var t=si||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e=="string"&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=null,n=r.headers;var o,i;(i=n&&0<n.remainingCapacity)&&(i=(o="<"+(""+e).replace(RF,TF)+">; rel=dns-prefetch",0<=(n.remainingCapacity-=o.length+2))),i?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(o=[],Ai(o,{href:e,rel:"dns-prefetch"}),r.preconnects.add(o))}ap(t)}}else Wc.D(e)}function $q(e,t){var n=si||null;if(n){var r=n.resumableState,o=n.renderState;if(typeof e=="string"&&e){var i=t==="use-credentials"?"credentials":typeof t=="string"?"anonymous":"default";if(!r.connectResources[i].hasOwnProperty(e)){r.connectResources[i][e]=null,r=o.headers;var s,u;if(u=r&&0<r.remainingCapacity){if(u="<"+(""+e).replace(RF,TF)+">; rel=preconnect",typeof t=="string"){var p=(""+t).replace(dF,pF);u+='; crossorigin="'+p+'"'}u=(s=u,0<=(r.remainingCapacity-=s.length+2))}u?(o.resets.connect[i][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=s):(i=[],Ai(i,{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(i))}ap(n)}}else Wc.C(e,t)}function e$(e,t,n){var r=si||null;if(r){var o=r.resumableState,i=r.renderState;if(t&&e){switch(t){case"image":if(n)var s=n.imageSrcSet,u=n.imageSizes,p=n.fetchPriority;var f=s?s+`
477
- `+(u||""):e;if(o.imageResources.hasOwnProperty(f))return;o.imageResources[f]=Ka,o=i.headers;var g;o&&0<o.remainingCapacity&&typeof s!="string"&&p==="high"&&(g=zC(e,t,n),0<=(o.remainingCapacity-=g.length+2))?(i.resets.image[f]=Ka,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=g):(o=[],Ai(o,Ys({rel:"preload",href:s?void 0:e,as:t},n)),p==="high"?i.highImagePreloads.add(o):(i.bulkPreloads.add(o),i.preloads.images.set(f,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;s=[],Ai(s,Ys({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?Ka:[n.crossOrigin,n.integrity],i.preloads.stylesheets.set(e,s),i.bulkPreloads.add(s);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;s=[],i.preloads.scripts.set(e,s),i.bulkPreloads.add(s),Ai(s,Ys({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?Ka:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if(s=o.unknownResources[t],s.hasOwnProperty(e))return}else s={},o.unknownResources[t]=s;if(s[e]=Ka,(o=i.headers)&&0<o.remainingCapacity&&t==="font"&&(f=zC(e,t,n),0<=(o.remainingCapacity-=f.length+2)))i.resets.font[e]=Ka,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=f;else switch(o=[],e=Ys({rel:"preload",href:e,as:t},n),Ai(o,e),t){case"font":i.fontPreloads.add(o);break;default:i.bulkPreloads.add(o)}}ap(r)}}else Wc.L(e,t,n)}function t$(e,t){var n=si||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=t&&typeof t.as=="string"?t.as:"script";switch(i){case"script":if(r.moduleScriptResources.hasOwnProperty(e))return;i=[],r.moduleScriptResources[e]=!t||typeof t.crossOrigin!="string"&&typeof t.integrity!="string"?Ka:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,i);break;default:if(r.moduleUnknownResources.hasOwnProperty(i)){var s=r.unknownResources[i];if(s.hasOwnProperty(e))return}else s={},r.moduleUnknownResources[i]=s;i=[],s[e]=Ka}Ai(i,Ys({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),ap(n)}}else Wc.m(e,t)}function n$(e,t,n){var r=si||null;if(r){var o=r.resumableState,i=r.renderState;if(e){t=t||"default";var s=i.styles.get(t),u=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;u!==null&&(o.styleResources[e]=null,s||(s={precedence:ft(t),rules:[],hrefs:[],sheets:new Map},i.styles.set(t,s)),t={state:0,props:Ys({rel:"stylesheet",href:e,"data-precedence":t},n)},u&&(u.length===2&&Dy(t.props,u),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),s.sheets.set(e,t),ap(r))}}else Wc.S(e,t,n)}function r$(e,t){var n=si||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;i!==null&&(r.scriptResources[e]=null,t=Ys({src:e,async:!0},t),i&&(i.length===2&&Dy(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),BC(e,t),ap(n))}}else Wc.X(e,t)}function o$(e,t){var n=si||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;i!==null&&(r.moduleScriptResources[e]=null,t=Ys({src:e,type:"module",async:!0},t),i&&(i.length===2&&Dy(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),BC(e,t),ap(n))}}else Wc.M(e,t)}function Dy(e,t){e.crossOrigin==null&&(e.crossOrigin=t[0]),e.integrity==null&&(e.integrity=t[1])}function zC(e,t,n){e=(""+e).replace(RF,TF),t=(""+t).replace(dF,pF),t="<"+e+'>; rel=preload; as="'+t+'"';for(var r in n)rr.call(n,r)&&(e=n[r],typeof e=="string"&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(dF,pF)+'"'));return t}var RF=/[<>\r\n]/g;function TF(e){switch(e){case"<":return"%3C";case">":return"%3E";case`
478
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var dF=/["';,\r\n]/g;function pF(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
479
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function i$(e){this.styles.add(e)}function s$(e){this.stylesheets.add(e)}function Im(e,t){t.styles.forEach(i$,e),t.stylesheets.forEach(s$,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function a$(e,t){var n=e.idPrefix,r=[],o=e.bootstrapScriptContent,i=e.bootstrapScripts,s=e.bootstrapModules;o!==void 0&&(r.push("<script"),OC(r,e),r.push(">",(""+o).replace(T6,k6),"</script>")),o=n+"P:";var u=n+"S:";n+="B:";var p=new Set,f=new Set,g=new Set,y=new Map,x=new Set,w=new Set,A=new Set,F={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(i!==void 0)for(var D=0;D<i.length;D++){var L=i[D],U,Y=void 0,G=void 0,W={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof L=="string"?W.href=U=L:(W.href=U=L.src,W.integrity=G=typeof L.integrity=="string"?L.integrity:void 0,W.crossOrigin=Y=typeof L=="string"||L.crossOrigin==null?void 0:L.crossOrigin==="use-credentials"?"use-credentials":""),L=e;var M=U;L.scriptResources[M]=null,L.moduleScriptResources[M]=null,L=[],Ai(L,W),x.add(L),r.push('<script src="',ft(U),'"'),typeof G=="string"&&r.push(' integrity="',ft(G),'"'),typeof Y=="string"&&r.push(' crossorigin="',ft(Y),'"'),OC(r,e),r.push(' async=""></script>')}if(s!==void 0)for(i=0;i<s.length;i++)W=s[i],Y=U=void 0,G={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof W=="string"?G.href=D=W:(G.href=D=W.src,G.integrity=Y=typeof W.integrity=="string"?W.integrity:void 0,G.crossOrigin=U=typeof W=="string"||W.crossOrigin==null?void 0:W.crossOrigin==="use-credentials"?"use-credentials":""),W=e,L=D,W.scriptResources[L]=null,W.moduleScriptResources[L]=null,W=[],Ai(W,G),x.add(W),r.push('<script type="module" src="',ft(D),'"'),typeof Y=="string"&&r.push(' integrity="',ft(Y),'"'),typeof U=="string"&&r.push(' crossorigin="',ft(U),'"'),OC(r,e),r.push(' async=""></script>');return{placeholderPrefix:o,segmentPrefix:u,boundaryPrefix:n,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:p,fontPreloads:f,highImagePreloads:g,styles:y,bootstrapScripts:x,scripts:w,bulkPreloads:A,preloads:F,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}function $H(e,t,n,r){return n.generateStaticMarkup?(e.push(ft(t)),!1):(t===""?e=r:(r&&e.push("<!-- -->"),e.push(ft(t)),e=!0),e)}function My(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("<!-- -->")}var l$=Function.prototype.bind,c$=Symbol.for("react.client.reference");function WC(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===c$?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y6:return"Fragment";case v6:return"Profiler";case x6:return"StrictMode";case QC:return"Suspense";case bF:return"SuspenseList";case w6:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case g6:return"Portal";case ZC:return e.displayName||"Context";case b6:return(e._context.displayName||"Context")+".Consumer";case vF:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wF:return t=e.displayName||null,t!==null?t:WC(e.type)||"Memo";case jC:t=e._payload,e=e._init;try{return WC(e(t))}catch{}}return null}var e6={},rp=null;function qC(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(n===null)throw Error("The stacks must reach the root at the same time. This is a bug in React.");qC(e,n)}t.context._currentValue2=t.value}}function D6(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&D6(e)}function _6(e){var t=e.parent;t!==null&&_6(t),e.context._currentValue2=e.value}function L6(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");e.depth===t.depth?qC(e,t):L6(e,t)}function N6(e,t){var n=t.parent;if(n===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");e.depth===n.depth?qC(e,n):N6(e,n),t.context._currentValue2=t.value}function Hu(e){var t=rp;t!==e&&(t===null?_6(e):e===null?D6(t):t.depth===e.depth?qC(t,e):t.depth>e.depth?L6(t,e):N6(t,e),rp=e)}var t6={enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},u$={id:1,overflow:""};function op(e,t,n){var r=e.id;e=e.overflow;var o=32-MC(r)-1;r&=~(1<<o),n+=1;var i=32-MC(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-MC(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var MC=Math.clz32?Math.clz32:f$,d$=Math.log,p$=Math.LN2;function f$(e){return e>>>=0,e===0?32:31-(d$(e)/p$|0)|0}function hs(){}var ya=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.");function m$(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(hs,hs),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(hs,hs):(e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw IC=t,ya}}var IC=null;function HC(){if(IC===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=IC;return IC=null,e}function h$(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var g$=typeof Object.is=="function"?Object.is:h$,Hc=null,kF=null,EF=null,SF=null,DC=null,Nn=null,Ay=!1,GC=!1,_y=0,Ly=0,Ny=-1,VC=0,Om=null,Vu=null,$C=0;function zc(){if(Hc===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
480
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
481
- 2. You might be breaking the Rules of Hooks
482
- 3. You might have more than one copy of React in the same app
483
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Hc}function n6(){if(0<$C)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function PF(){return Nn===null?DC===null?(Ay=!1,DC=Nn=n6()):(Ay=!0,Nn=DC):Nn.next===null?(Ay=!1,Nn=Nn.next=n6()):(Ay=!0,Nn=Nn.next),Nn}function Fm(){var e=Om;return Om=null,e}function By(){SF=EF=kF=Hc=null,GC=!1,DC=null,$C=0,Nn=Vu=null}function B6(e,t){return typeof t=="function"?t(e):t}function r6(e,t,n){if(Hc=zc(),Nn=PF(),Ay){var r=Nn.queue;if(t=r.dispatch,Vu!==null&&(n=Vu.get(r),n!==void 0)){Vu.delete(r),r=Nn.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return Nn.memoizedState=r,[r,t]}return[Nn.memoizedState,t]}return e=e===B6?typeof t=="function"?t():t:n!==void 0?n(t):t,Nn.memoizedState=e,e=Nn.queue={last:null,dispatch:null},e=e.dispatch=y$.bind(null,Hc,e),[Nn.memoizedState,e]}function o6(e,t){if(Hc=zc(),Nn=PF(),t=t===void 0?null:t,Nn!==null){var n=Nn.memoizedState;if(n!==null&&t!==null){var r=n[1];e:if(r===null)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!g$(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Nn.memoizedState=[e,t],e}function y$(e,t,n){if(25<=$C)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(e===Hc)if(GC=!0,e={action:n,next:null},Vu===null&&(Vu=new Map),n=Vu.get(t),n===void 0)Vu.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function x$(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function v$(){throw Error("startTransition cannot be called during server rendering.")}function b$(){throw Error("Cannot update optimistic state while rendering.")}function i6(e,t,n){zc();var r=Ly++,o=EF;if(typeof e.$$FORM_ACTION=="function"){var i=null,s=SF;o=o.formState;var u=e.$$IS_SIGNATURE_EQUAL;if(o!==null&&typeof u=="function"){var p=o[1];u.call(e,o[2],o[3])&&(i=n!==void 0?"p"+n:"k"+zH(JSON.stringify([s,null,r]),0),p===i&&(Ny=r,t=o[0]))}var f=e.bind(null,t);return e=function(y){f(y)},typeof f.$$FORM_ACTION=="function"&&(e.$$FORM_ACTION=function(y){y=f.$$FORM_ACTION(y),n!==void 0&&(n+="",y.action=n);var x=y.data;return x&&(i===null&&(i=n!==void 0?"p"+n:"k"+zH(JSON.stringify([s,null,r]),0)),x.append("$ACTION_KEY",i)),y}),[t,e,!1]}var g=e.bind(null,t);return[t,function(y){g(y)},!1]}function U6(e){var t=VC;return VC+=1,Om===null&&(Om=[]),m$(Om,e,t)}function w$(){throw Error("Cache cannot be refreshed during server rendering.")}var s6={readContext:function(e){return e._currentValue2},use:function(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return U6(e);if(e.$$typeof===ZC)return e._currentValue2}throw Error("An unsupported type was passed to use(): "+String(e))},useContext:function(e){return zc(),e._currentValue2},useMemo:o6,useReducer:r6,useRef:function(e){Hc=zc(),Nn=PF();var t=Nn.memoizedState;return t===null?(e={current:e},Nn.memoizedState=e):t},useState:function(e){return r6(B6,e)},useInsertionEffect:hs,useLayoutEffect:hs,useCallback:function(e,t){return o6(function(){return e},t)},useImperativeHandle:hs,useEffect:hs,useDebugValue:hs,useDeferredValue:function(e,t){return zc(),t!==void 0?t:e},useTransition:function(){return zc(),[!1,v$]},useId:function(){var e=kF.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-MC(e)-1)).toString(32)+t;var n=_C;if(n===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return t=_y++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return n()},useOptimistic:function(e){return zc(),[e,b$]},useActionState:i6,useFormState:i6,useHostTransitionStatus:function(){return zc(),Dq},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=kq;return t},useCacheRefresh:function(){return w$},useEffectEvent:function(){return x$}},_C=null,C$={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")}},rF,a6;function Am(e){if(rF===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);rF=t&&t[1]||"",a6=-1<n.stack.indexOf(`
484
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
485
- `+rF+e+a6}var oF=!1;function PC(e,t){if(!e||oF)return"";oF=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(w){var x=w}Reflect.construct(e,[],y)}else{try{y.call()}catch(w){x=w}e.call(y.prototype)}}else{try{throw Error()}catch(w){x=w}(y=e())&&typeof y.catch=="function"&&y.catch(function(){})}}catch(w){if(w&&x&&typeof w.stack=="string")return[w.stack,x.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),s=i[0],u=i[1];if(s&&u){var p=s.split(`
486
- `),f=u.split(`
487
- `);for(o=r=0;r<p.length&&!p[r].includes("DetermineComponentFrameRoot");)r++;for(;o<f.length&&!f[o].includes("DetermineComponentFrameRoot");)o++;if(r===p.length||o===f.length)for(r=p.length-1,o=f.length-1;1<=r&&0<=o&&p[r]!==f[o];)o--;for(;1<=r&&0<=o;r--,o--)if(p[r]!==f[o]){if(r!==1||o!==1)do if(r--,o--,0>o||p[r]!==f[o]){var g=`
488
- `+p[r].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),g}while(1<=r&&0<=o);break}}}finally{oF=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Am(n):""}function z6(e){if(typeof e=="string")return Am(e);if(typeof e=="function")return e.prototype&&e.prototype.isReactComponent?PC(e,!0):PC(e,!1);if(typeof e=="object"&&e!==null){switch(e.$$typeof){case vF:return PC(e.render,!1);case wF:return PC(e.type,!1);case jC:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return Am("Lazy")}return z6(e)}if(typeof e.name=="string"){e:{n=e.name,t=e.env;var r=e.debugLocation;if(r!=null&&(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith(`Error: react-stack-top-frame
489
- `)&&(r=r.slice(29)),e=r.indexOf(`
490
- `),e!==-1&&(r=r.slice(e+1)),e=r.indexOf("react_stack_bottom_frame"),e!==-1&&(e=r.lastIndexOf(`
491
- `,e)),e=e!==-1?r=r.slice(0,e):"",r=e.lastIndexOf(`
492
- `),e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1)){n=`
493
- `+e;break e}n=Am(n+(t?" ["+t+"]":""))}return n}}switch(e){case bF:return Am("SuspenseList");case QC:return Am("Suspense")}return""}function Dm(e,t){return(500<t.byteSize||!1)&&t.contentPreamble===null}function R$(e){if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var t=e.environmentName;e=[e].slice(0),typeof e[0]=="string"?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),t=l$.apply(console.error,e),t()}else console.error(e);return null}function T$(e,t,n,r,o,i,s,u,p,f,g){var y=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=r===void 0?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=y,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=o===void 0?R$:o,this.onPostpone=f===void 0?hs:f,this.onAllReady=i===void 0?hs:i,this.onShellReady=s===void 0?hs:s,this.onShellError=u===void 0?hs:u,this.onFatalError=p===void 0?hs:p,this.formState=g===void 0?null:g}function k$(e,t,n,r,o,i,s,u,p,f,g,y){return t=new T$(t,n,r,o,i,s,u,p,f,g,y),n=sp(t,0,null,r,!1,!1),n.parentFlushed=!0,e=YC(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,u$,null,null),Uy(e),t.pingedTasks.push(e),t}var si=null;function W6(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,V6(e))}function AF(e,t,n,r,o){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:uF(),fallbackState:uF(),contentPreamble:r,fallbackPreamble:o,trackedContentKeyPath:null,trackedFallbackNode:null},t!==null&&(t.pendingTasks++,r=t.boundaries,r!==null&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),e=t.inheritedHoistables,e!==null&&Im(n.contentState,e)),n}function YC(e,t,n,r,o,i,s,u,p,f,g,y,x,w,A){e.allPendingTasks++,o===null?e.pendingRootTasks++:o.pendingTasks++,w!==null&&w.pendingTasks++;var F={replay:null,node:n,childIndex:r,ping:function(){return W6(e,F)},blockedBoundary:o,blockedSegment:i,blockedPreamble:s,hoistableState:u,abortSet:p,keyPath:f,formatContext:g,context:y,treeContext:x,row:w,componentStack:A,thenableState:t};return p.add(F),F}function H6(e,t,n,r,o,i,s,u,p,f,g,y,x,w){e.allPendingTasks++,i===null?e.pendingRootTasks++:i.pendingTasks++,x!==null&&x.pendingTasks++,n.pendingTasks++;var A={replay:n,node:r,childIndex:o,ping:function(){return W6(e,A)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:s,abortSet:u,keyPath:p,formatContext:f,context:g,treeContext:y,row:x,componentStack:w,thenableState:t};return u.add(A),A}function sp(e,t,n,r,o,i){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function Uy(e){var t=e.node;if(typeof t=="object"&&t!==null)switch(t.$$typeof){case h6:e.componentStack={parent:e.componentStack,type:t.type}}}function fF(e){return e===null?null:{parent:e.parent,type:"Suspense Fallback"}}function Yu(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do n+=z6(r.type),r=r.parent;while(r);var o=n}catch(i){o=`
494
- Error generating stack: `+i.message+`
495
- `+i.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function Fi(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t=="string")return t}function zy(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination!==null?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function Oi(e,t){FF(e,t.next,t.hoistables)}function FF(e,t,n){for(;t!==null;){n!==null&&(Im(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var o=0;o<r.length;o++){var i=r[o];n!==null&&Im(i.contentState,n),Xu(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function mF(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,o=0;o<n.length;o++){var i=n[o];if(i.pendingTasks!==1||i.parentFlushed||Dm(e,i)){r=!1;break}}r&&FF(e,t,t.hoistables)}}function Fy(e){var t={pendingTasks:1,boundaries:null,hoistables:uF(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function l6(e,t,n,r,o){var i=t.keyPath,s=t.treeContext,u=t.row;t.keyPath=n,n=r.length;var p=null;if(t.replay!==null){var f=t.replay.slots;if(f!==null&&typeof f=="object")for(var g=0;g<n;g++){var y=o!=="backwards"&&o!=="unstable_legacy-backwards"?g:n-1-g,x=r[y];t.row=p=Fy(p),t.treeContext=op(s,n,y);var w=f[y];typeof w=="number"?(e0(e,t,w,x,y),delete f[y]):Do(e,t,x,y),--p.pendingTasks===0&&Oi(e,p)}else for(f=0;f<n;f++)g=o!=="backwards"&&o!=="unstable_legacy-backwards"?f:n-1-f,y=r[g],t.row=p=Fy(p),t.treeContext=op(s,n,g),Do(e,t,y,g),--p.pendingTasks===0&&Oi(e,p)}else if(o!=="backwards"&&o!=="unstable_legacy-backwards")for(o=0;o<n;o++)f=r[o],t.row=p=Fy(p),t.treeContext=op(s,n,o),Do(e,t,f,o),--p.pendingTasks===0&&Oi(e,p);else{for(o=t.blockedSegment,f=o.children.length,g=o.chunks.length,y=n-1;0<=y;y--){x=r[y],t.row=p=Fy(p),t.treeContext=op(s,n,y),w=sp(e,g,null,t.formatContext,y===0?o.lastPushedText:!0,!0),o.children.splice(f,0,w),t.blockedSegment=w;try{Do(e,t,x,y),My(w.chunks,e.renderState,w.lastPushedText,w.textEmbedded),w.status=1,--p.pendingTasks===0&&Oi(e,p)}catch(A){throw w.status=e.status===12?3:4,A}}t.blockedSegment=o,o.lastPushedText=!1}u!==null&&p!==null&&0<p.pendingTasks&&(u.pendingTasks++,p.next=u),t.treeContext=s,t.row=u,t.keyPath=i}function c6(e,t,n,r,o,i){var s=t.thenableState;for(t.thenableState=null,Hc={},kF=t,EF=e,SF=n,Ly=_y=0,Ny=-1,VC=0,Om=s,e=r(o,i);GC;)GC=!1,Ly=_y=0,Ny=-1,VC=0,$C+=1,Nn=null,e=r(o,i);return By(),e}function u6(e,t,n,r,o,i,s){var u=!1;if(i!==0&&e.formState!==null){var p=t.blockedSegment;if(p!==null){u=!0,p=p.chunks;for(var f=0;f<i;f++)f===s?p.push("<!--F!-->"):p.push("<!--F-->")}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=op(n,1,0),Do(e,t,r,-1),t.treeContext=n):u?Do(e,t,r,-1):Za(e,t,r,-1),t.keyPath=i}function XC(e,t,n,r,o,i){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){var s=o;if("ref"in o){s={};for(var u in o)u!=="ref"&&(s[u]=o[u])}var p=r.defaultProps;if(p){s===o&&(s=Ys({},s,o));for(var f in p)s[f]===void 0&&(s[f]=p[f])}o=s,s=e6,p=r.contextType,typeof p=="object"&&p!==null&&(s=p._currentValue2),s=new r(o,s);var g=s.state!==void 0?s.state:null;if(s.updater=t6,s.props=o,s.state=g,p={queue:[],replace:!1},s._reactInternals=p,i=r.contextType,s.context=typeof i=="object"&&i!==null?i._currentValue2:e6,i=r.getDerivedStateFromProps,typeof i=="function"&&(i=i(o,g),g=i==null?g:Ys({},g,i),s.state=g),typeof r.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function"))if(r=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),r!==s.state&&t6.enqueueReplaceState(s,s.state,null),p.queue!==null&&0<p.queue.length)if(r=p.queue,i=p.replace,p.queue=null,p.replace=!1,i&&r.length===1)s.state=r[0];else{for(p=i?r[0]:s.state,g=!0,i=i?1:0;i<r.length;i++)f=r[i],f=typeof f=="function"?f.call(s,p,o,void 0):f,f!=null&&(g?(g=!1,p=Ys({},p,f)):Ys(p,f));s.state=p}else p.queue=null;if(r=s.render(),e.status===12)throw null;o=t.keyPath,t.keyPath=n,Za(e,t,r,-1),t.keyPath=o}else{if(r=c6(e,t,n,r,o,void 0),e.status===12)throw null;u6(e,t,n,r,_y!==0,Ly,Ny)}else if(typeof r=="string")if(s=t.blockedSegment,s===null)s=o.children,p=t.formatContext,g=t.keyPath,t.formatContext=GH(p,r,o),t.keyPath=n,Do(e,t,s,-1),t.formatContext=p,t.keyPath=g;else{if(g=Bq(s.chunks,r,o,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,s.lastPushedText),s.lastPushedText=!1,p=t.formatContext,i=t.keyPath,t.keyPath=n,(t.formatContext=GH(p,r,o)).insertionMode===3){n=sp(e,0,null,t.formatContext,!1,!1),s.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,Do(e,t,g,-1),My(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=s}}else Do(e,t,g,-1);t.formatContext=p,t.keyPath=i;e:{switch(t=s.chunks,e=e.resumableState,r){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=p.insertionMode){e.hasBody=!0;break e}break;case"html":if(p.insertionMode===0){e.hasHtml=!0;break e}break;case"head":if(1>=p.insertionMode)break e}t.push(ip(r))}s.lastPushedText=!1}else{switch(r){case Tq:case x6:case v6:case y6:r=t.keyPath,t.keyPath=n,Za(e,t,o.children,-1),t.keyPath=r;return;case w6:r=t.blockedSegment,r===null?o.mode!=="hidden"&&(r=t.keyPath,t.keyPath=n,Do(e,t,o.children,-1),t.keyPath=r):o.mode!=="hidden"&&(e.renderState.generateStaticMarkup||r.chunks.push("<!--&-->"),r.lastPushedText=!1,s=t.keyPath,t.keyPath=n,Do(e,t,o.children,-1),t.keyPath=s,e.renderState.generateStaticMarkup||r.chunks.push("<!--/&-->"),r.lastPushedText=!1);return;case bF:e:{if(r=o.children,o=o.revealOrder,o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards"){if(NC(r)){l6(e,t,n,r,o);break e}if((s=C6(r))&&(s=s.call(r))){if(p=s.next(),!p.done){do p=s.next();while(!p.done);l6(e,t,n,r,o)}break e}}o==="together"?(o=t.keyPath,s=t.row,p=t.row=Fy(null),p.boundaries=[],p.together=!0,t.keyPath=n,Za(e,t,r,-1),--p.pendingTasks===0&&Oi(e,p),t.keyPath=o,t.row=s,s!==null&&0<p.pendingTasks&&(s.pendingTasks++,p.next=s)):(o=t.keyPath,t.keyPath=n,Za(e,t,r,-1),t.keyPath=o)}return;case Eq:case Rq:throw Error("ReactDOMServer does not yet support scope components.");case QC:e:if(t.replay!==null){r=t.keyPath,s=t.formatContext,p=t.row,t.keyPath=n,t.formatContext=FC(e.resumableState,s),t.row=null,n=o.children;try{Do(e,t,n,-1)}finally{t.keyPath=r,t.formatContext=s,t.row=p}}else{r=t.keyPath,i=t.formatContext;var y=t.row,x=t.blockedBoundary;f=t.blockedPreamble;var w=t.hoistableState;u=t.blockedSegment;var A=o.fallback;o=o.children;var F=new Set,D=AF(e,t.row,F,null,null);e.trackedPostpones!==null&&(D.trackedContentKeyPath=n);var L=sp(e,u.chunks.length,D,t.formatContext,!1,!1);u.children.push(L),u.lastPushedText=!1;var U=sp(e,0,null,t.formatContext,!1,!1);if(U.parentFlushed=!0,e.trackedPostpones!==null){s=t.componentStack,p=[n[0],"Suspense Fallback",n[2]],g=[p[1],p[2],[],null],e.trackedPostpones.workingMap.set(p,g),D.trackedFallbackNode=g,t.blockedSegment=L,t.blockedPreamble=D.fallbackPreamble,t.keyPath=p,t.formatContext=aF(e.resumableState,i),t.componentStack=fF(s),L.status=6;try{Do(e,t,A,-1),My(L.chunks,e.renderState,L.lastPushedText,L.textEmbedded),L.status=1}catch(Y){throw L.status=e.status===12?3:4,Y}finally{t.blockedSegment=u,t.blockedPreamble=f,t.keyPath=r,t.formatContext=i}t=YC(e,null,o,-1,D,U,D.contentPreamble,D.contentState,t.abortSet,n,FC(e.resumableState,t.formatContext),t.context,t.treeContext,null,s),Uy(t),e.pingedTasks.push(t)}else{t.blockedBoundary=D,t.blockedPreamble=D.contentPreamble,t.hoistableState=D.contentState,t.blockedSegment=U,t.keyPath=n,t.formatContext=FC(e.resumableState,i),t.row=null,U.status=6;try{if(Do(e,t,o,-1),My(U.chunks,e.renderState,U.lastPushedText,U.textEmbedded),U.status=1,Wy(D,U),D.pendingTasks===0&&D.status===0){if(D.status=1,!Dm(e,D)){y!==null&&--y.pendingTasks===0&&Oi(e,y),e.pendingRootTasks===0&&t.blockedPreamble&&Yy(e);break e}}else y!==null&&y.together&&mF(e,y)}catch(Y){D.status=4,e.status===12?(U.status=3,s=e.fatalError):(U.status=4,s=Y),p=Yu(t.componentStack),g=Fi(e,s,p),D.errorDigest=g,OF(e,D)}finally{t.blockedBoundary=x,t.blockedPreamble=f,t.hoistableState=w,t.blockedSegment=u,t.keyPath=r,t.formatContext=i,t.row=y}t=YC(e,null,A,-1,x,L,D.fallbackPreamble,D.fallbackState,F,[n[0],"Suspense Fallback",n[2]],aF(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,fF(t.componentStack)),Uy(t),e.pingedTasks.push(t)}}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case vF:if("ref"in o)for(A in s={},o)A!=="ref"&&(s[A]=o[A]);else s=o;r=c6(e,t,n,r.render,s,i),u6(e,t,n,r,_y!==0,Ly,Ny);return;case wF:XC(e,t,n,r.type,o,i);return;case ZC:if(p=o.children,s=t.keyPath,o=o.value,g=r._currentValue2,r._currentValue2=o,i=rp,rp=r={parent:i,depth:i===null?0:i.depth+1,context:r,parentValue:g,value:o},t.context=r,t.keyPath=n,Za(e,t,p,-1),e=rp,e===null)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");e.context._currentValue2=e.parentValue,e=rp=e.parent,t.context=e,t.keyPath=s;return;case b6:o=o.children,r=o(r._context._currentValue2),o=t.keyPath,t.keyPath=n,Za(e,t,r,-1),t.keyPath=o;return;case jC:if(s=r._init,r=s(r._payload),e.status===12)throw null;XC(e,t,n,r,o,i);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((r==null?r:typeof r)+"."))}}function e0(e,t,n,r,o){var i=t.replay,s=t.blockedBoundary,u=sp(e,0,null,t.formatContext,!1,!1);u.id=n,u.parentFlushed=!0;try{t.replay=null,t.blockedSegment=u,Do(e,t,r,o),u.status=1,s===null?e.completedRootSegment=u:(Wy(s,u),s.parentFlushed&&e.partialBoundaries.push(s))}finally{t.replay=i,t.blockedSegment=null}}function Za(e,t,n,r){t.replay!==null&&typeof t.replay.slots=="number"?e0(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Uy(t),hF(e,t),t.componentStack=n)}function hF(e,t){var n=t.node,r=t.childIndex;if(n!==null){if(typeof n=="object"){switch(n.$$typeof){case h6:var o=n.type,i=n.key,s=n.props;n=s.ref;var u=n!==void 0?n:null,p=WC(o),f=i??(r===-1?0:r);if(i=[t.keyPath,p,f],t.replay!==null)e:{var g=t.replay;for(r=g.nodes,n=0;n<r.length;n++){var y=r[n];if(f===y[1]){if(y.length===4){if(p!==null&&p!==y[0])throw Error("Expected the resume to render <"+y[0]+"> in this slot but instead it rendered <"+p+">. The tree doesn't match so React will fallback to client rendering.");var x=y[2];p=y[3],f=t.node,t.replay={nodes:x,slots:p,pendingTasks:1};try{if(XC(e,t,i,o,s,u),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");t.replay.pendingTasks--}catch(M){if(typeof M=="object"&&M!==null&&(M===ya||typeof M.then=="function"))throw t.node===f?t.replay=g:r.splice(n,1),M;t.replay.pendingTasks--,s=Yu(t.componentStack),i=e,e=t.blockedBoundary,o=M,s=Fi(i,o,s),Vy(i,e,x,p,o,s)}t.replay=g}else{if(o!==QC)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(WC(o)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");t:{g=void 0,o=y[5],u=y[2],p=y[3],f=y[4]===null?[]:y[4][2],y=y[4]===null?null:y[4][3];var w=t.keyPath,A=t.formatContext,F=t.row,D=t.replay,L=t.blockedBoundary,U=t.hoistableState,Y=s.children,G=s.fallback,W=new Set;s=AF(e,t.row,W,null,null),s.parentFlushed=!0,s.rootSegmentID=o,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=i,t.formatContext=FC(e.resumableState,A),t.row=null,t.replay={nodes:u,slots:p,pendingTasks:1};try{if(Do(e,t,Y,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");if(t.replay.pendingTasks--,s.pendingTasks===0&&s.status===0){s.status=1,e.completedBoundaries.push(s);break t}}catch(M){s.status=4,x=Yu(t.componentStack),g=Fi(e,M,x),s.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=L,t.hoistableState=U,t.replay=D,t.keyPath=w,t.formatContext=A,t.row=F}x=H6(e,null,{nodes:f,slots:y,pendingTasks:0},G,-1,L,s.fallbackState,W,[i[0],"Suspense Fallback",i[2]],aF(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,fF(t.componentStack)),Uy(x),e.pingedTasks.push(x)}}r.splice(n,1);break e}}}else XC(e,t,i,o,s,u);return;case g6:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case jC:if(x=n._init,n=x(n._payload),e.status===12)throw null;Za(e,t,n,r);return}if(NC(n)){gF(e,t,n,r);return}if((x=C6(n))&&(x=x.call(n))){if(n=x.next(),!n.done){s=[];do s.push(n.value),n=x.next();while(!n.done);gF(e,t,s,r)}return}if(typeof n.then=="function")return t.thenableState=null,Za(e,t,U6(n),r);if(n.$$typeof===ZC)return Za(e,t,n._currentValue2,r);throw r=Object.prototype.toString.call(n),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}typeof n=="string"?(r=t.blockedSegment,r!==null&&(r.lastPushedText=$H(r.chunks,n,e.renderState,r.lastPushedText))):(typeof n=="number"||typeof n=="bigint")&&(r=t.blockedSegment,r!==null&&(r.lastPushedText=$H(r.chunks,""+n,e.renderState,r.lastPushedText)))}}function gF(e,t,n,r){var o=t.keyPath;if(r!==-1&&(t.keyPath=[t.keyPath,"Fragment",r],t.replay!==null)){for(var i=t.replay,s=i.nodes,u=0;u<s.length;u++){var p=s[u];if(p[1]===r){r=p[2],p=p[3],t.replay={nodes:r,slots:p,pendingTasks:1};try{if(gF(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");t.replay.pendingTasks--}catch(y){if(typeof y=="object"&&y!==null&&(y===ya||typeof y.then=="function"))throw y;t.replay.pendingTasks--,n=Yu(t.componentStack);var f=t.blockedBoundary,g=y;n=Fi(e,g,n),Vy(e,f,r,p,g,n)}t.replay=i,s.splice(u,1);break}}t.keyPath=o;return}if(i=t.treeContext,s=n.length,t.replay!==null&&(u=t.replay.slots,u!==null&&typeof u=="object")){for(r=0;r<s;r++)p=n[r],t.treeContext=op(i,s,r),f=u[r],typeof f=="number"?(e0(e,t,f,p,r),delete u[r]):Do(e,t,p,r);t.treeContext=i,t.keyPath=o;return}for(u=0;u<s;u++)r=n[u],t.treeContext=op(i,s,u),Do(e,t,r,u);t.treeContext=i,t.keyPath=o}function G6(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var r=n.trackedFallbackNode,o=[],i=t.workingMap.get(e);return i===void 0?(n=[e[1],e[2],o,null,r,n.rootSegmentID],t.workingMap.set(e,n),KC(n,e[0],t),n):(i[4]=r,i[5]=n.rootSegmentID,i)}function yF(e,t,n,r){r.status=5;var o=n.keyPath,i=n.blockedBoundary;if(i===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(i!==null&&i.status===0){var s=G6(e,t,i);if(i.trackedContentKeyPath===o&&n.childIndex===-1){r.id===-1&&(r.id=r.parentFlushed?i.rootSegmentID:e.nextSegmentId++),s[3]=r.id;return}}if(r.id===-1&&(r.id=r.parentFlushed&&i!==null?i.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)o===null?t.rootSlots=r.id:(n=t.workingMap.get(o),n===void 0?(n=[o[1],o[2],[],r.id],KC(n,o[0],t)):n[3]=r.id);else{if(o===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.")}else if(i=t.workingMap,s=i.get(o),s===void 0)e={},s=[o[1],o[2],[],e],i.set(o,s),KC(s,o[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");e[n.childIndex]=r.id}}}function OF(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function d6(e,t,n){return H6(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function p6(e,t,n){var r=t.blockedSegment,o=sp(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,YC(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Do(e,t,n,r){var o=t.formatContext,i=t.context,s=t.keyPath,u=t.treeContext,p=t.componentStack,f=t.blockedSegment;if(f===null){f=t.replay;try{return Za(e,t,n,r)}catch(x){if(By(),n=x===ya?HC():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){r=x===ya?Fm():null,e=d6(e,t,r).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,t.replay=f,Hu(i);return}if(n.message==="Maximum call stack size exceeded"){n=x===ya?Fm():null,n=d6(e,t,n),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,t.replay=f,Hu(i);return}}}}else{var g=f.children.length,y=f.chunks.length;try{return Za(e,t,n,r)}catch(x){if(By(),f.children.length=g,f.chunks.length=y,n=x===ya?HC():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){f=n,n=x===ya?Fm():null,e=p6(e,t,n).ping,f.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,Hu(i);return}if(n.message==="Maximum call stack size exceeded"){f=x===ya?Fm():null,f=p6(e,t,f),e.pingedTasks.push(f),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,Hu(i);return}}}}throw t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,Hu(i),n}function E$(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,Xu(this,t,e.row,n))}function Vy(e,t,n,r,o,i){for(var s=0;s<n.length;s++){var u=n[s];if(u.length===4)Vy(e,t,u[2],u[3],o,i);else{u=u[5];var p=e,f=i,g=AF(p,null,new Set,null,null);g.parentFlushed=!0,g.rootSegmentID=u,g.status=4,g.errorDigest=f,g.parentFlushed&&p.clientRenderedBoundaries.push(g)}}if(n.length=0,r!==null){if(t===null)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(t.status!==4&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r=="object")for(var y in r)delete r[y]}}function xF(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(o!==null){if(o.status===6)return;o.status=3}var i=Yu(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&o!==null?(r=t.trackedPostpones,Fi(t,n,i),yF(t,r,e,o),Xu(t,null,e.row,o)):(Fi(t,n,i),zy(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(o=Fi(t,n,i),Vy(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,t.pendingRootTasks===0&&IF(t)}}else{var s=t.trackedPostpones;if(r.status!==4){if(s!==null&&o!==null)return Fi(t,n,i),yF(t,s,e,o),r.fallbackAbortableTasks.forEach(function(u){return xF(u,t,n)}),r.fallbackAbortableTasks.clear(),Xu(t,r,e.row,o);r.status=4,o=Fi(t,n,i),r.status=4,r.errorDigest=o,OF(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,o=r.row,o!==null&&--o.pendingTasks===0&&Oi(t,o),r.fallbackAbortableTasks.forEach(function(u){return xF(u,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Oi(t,e),t.allPendingTasks--,t.allPendingTasks===0&&JC(t)}function MF(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var i=o.preconnects;if(o.fontPreloads&&(i&&(i+=", "),i+=o.fontPreloads),o.highImagePreloads&&(i&&(i+=", "),i+=o.highImagePreloads),!t){var s=n.styles.values(),u=s.next();e:for(;0<o.remainingCapacity&&!u.done;u=s.next())for(var p=u.value.sheets.values(),f=p.next();0<o.remainingCapacity&&!f.done;f=p.next()){var g=f.value,y=g.props,x=y.href,w=g.props,A=zC(w.href,"style",{crossOrigin:w.crossOrigin,integrity:w.integrity,nonce:w.nonce,type:w.type,fetchPriority:w.fetchPriority,referrerPolicy:w.referrerPolicy,media:w.media});if(0<=(o.remainingCapacity-=A.length+2))n.resets.style[x]=Ka,i&&(i+=", "),i+=A,n.resets.style[x]=typeof y.crossOrigin=="string"||typeof y.integrity=="string"?[y.crossOrigin,y.integrity]:Ka;else break e}}r(i?{Link:i}:{})}}}catch(F){Fi(e,F,{})}}function IF(e){e.trackedPostpones===null&&MF(e,!0),e.trackedPostpones===null&&Yy(e),e.onShellError=hs,e=e.onShellReady,e()}function JC(e){MF(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),Yy(e),e=e.onAllReady,e()}function Wy(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||Wy(e,n)}else e.completedSegments.push(t)}function Xu(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Oi(e,n):n.together&&mF(e,n)),e.allPendingTasks--,t===null){if(r!==null&&r.parentFlushed){if(e.completedRootSegment!==null)throw Error("There can only be one root segment. This is a bug in React.");e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&IF(e)}else if(t.pendingTasks--,t.status!==4)if(t.pendingTasks===0){if(t.status===0&&(t.status=1),r!==null&&r.parentFlushed&&(r.status===1||r.status===3)&&Wy(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&Im(n.hoistables,t.contentState),Dm(e,t)||(t.fallbackAbortableTasks.forEach(E$,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Oi(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&Yy(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var o=t.next;if(o!==null&&(r=o.boundaries,r!==null))for(o.boundaries=null,o=0;o<r.length;o++){var i=r[o];G6(e,n,i),Xu(e,i,null,null)}}--t.pendingTasks===0&&Oi(e,t)}}else r===null||!r.parentFlushed||r.status!==1&&r.status!==3||(Wy(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&mF(e,t);e.allPendingTasks===0&&JC(e)}function V6(e){if(e.status!==14&&e.status!==13){var t=rp,n=Sm.H;Sm.H=s6;var r=Sm.A;Sm.A=C$;var o=si;si=e;var i=_C;_C=e.resumableState;try{var s=e.pingedTasks,u;for(u=0;u<s.length;u++){var p=s[u],f=e,g=p.blockedSegment;if(g===null){var y=f;if(p.replay.pendingTasks!==0){Hu(p.context);try{if(typeof p.replay.slots=="number"?e0(y,p,p.replay.slots,p.node,p.childIndex):hF(y,p),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");p.replay.pendingTasks--,p.abortSet.delete(p),Xu(y,p.blockedBoundary,p.row,null)}catch(ge){By();var x=ge===ya?HC():ge;if(typeof x=="object"&&x!==null&&typeof x.then=="function"){var w=p.ping;x.then(w,w),p.thenableState=ge===ya?Fm():null}else{p.replay.pendingTasks--,p.abortSet.delete(p);var A=Yu(p.componentStack);f=void 0;var F=y,D=p.blockedBoundary,L=y.status===12?y.fatalError:x,U=p.replay.nodes,Y=p.replay.slots;f=Fi(F,L,A),Vy(F,D,U,Y,L,f),y.pendingRootTasks--,y.pendingRootTasks===0&&IF(y),y.allPendingTasks--,y.allPendingTasks===0&&JC(y)}}finally{}}}else if(y=void 0,F=g,F.status===0){F.status=6,Hu(p.context);var G=F.children.length,W=F.chunks.length;try{hF(f,p),My(F.chunks,f.renderState,F.lastPushedText,F.textEmbedded),p.abortSet.delete(p),F.status=1,Xu(f,p.blockedBoundary,p.row,F)}catch(ge){By(),F.children.length=G,F.chunks.length=W;var M=ge===ya?HC():f.status===12?f.fatalError:ge;if(f.status===12&&f.trackedPostpones!==null){var ne=f.trackedPostpones,Re=Yu(p.componentStack);p.abortSet.delete(p),Fi(f,M,Re),yF(f,ne,p,F),Xu(f,p.blockedBoundary,p.row,F)}else if(typeof M=="object"&&M!==null&&typeof M.then=="function"){F.status=0,p.thenableState=ge===ya?Fm():null;var ve=p.ping;M.then(ve,ve)}else{var re=Yu(p.componentStack);p.abortSet.delete(p),F.status=4;var me=p.blockedBoundary,ce=p.row;if(ce!==null&&--ce.pendingTasks===0&&Oi(f,ce),f.allPendingTasks--,y=Fi(f,M,re),me===null)zy(f,M);else if(me.pendingTasks--,me.status!==4){me.status=4,me.errorDigest=y,OF(f,me);var Ce=me.row;Ce!==null&&--Ce.pendingTasks===0&&Oi(f,Ce),me.parentFlushed&&f.clientRenderedBoundaries.push(me),f.pendingRootTasks===0&&f.trackedPostpones===null&&me.contentPreamble!==null&&Yy(f)}f.allPendingTasks===0&&JC(f)}}finally{}}}s.splice(0,u),e.destination!==null&&t0(e,e.destination)}catch(ge){Fi(e,ge,{}),zy(e,ge)}finally{_C=i,Sm.H=n,Sm.A=r,n===s6&&Hu(t),si=o}}}function iF(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=Y6(e,t.children[o],n)||r;return r}function Y6(e,t,n){var r=t.boundary;if(r===null)return iF(e,t,n);var o=r.contentPreamble,i=r.fallbackPreamble;if(o===null||i===null)return!1;switch(r.status){case 1:if(jH(e.renderState,o),e.byteSize+=r.byteSize,t=r.completedSegments[0],!t)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return iF(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return jH(e.renderState,i),iF(e,t,n);default:return!0}}function Yy(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=Y6(e,e.completedRootSegment,t),o=e.renderState.preamble;r===!1||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function AC(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var o=!0,i=n.chunks,s=0;n=n.children;for(var u=0;u<n.length;u++){for(o=n[u];s<o.index;s++)t.push(i[s]);o=Gy(e,t,o,r)}for(;s<i.length-1;s++)t.push(i[s]);return s<i.length&&(o=t.push(i[s])),o;case 3:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}var Hy=0;function Gy(e,t,n,r){var o=n.boundary;if(o===null)return AC(e,t,n,r);if(o.parentFlushed=!0,o.status===4){var i=o.row;return i!==null&&--i.pendingTasks===0&&Oi(e,i),e.renderState.generateStaticMarkup||(o=o.errorDigest,t.push("<!--$!-->"),t.push("<template"),o&&(t.push(' data-dgst="'),o=ft(o),t.push(o),t.push('"')),t.push("></template>")),AC(e,t,n,r),e=e.renderState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}if(o.status!==1)return o.status===0&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),qH(t,e.renderState,o.rootSegmentID),r&&Im(r,o.fallbackState),AC(e,t,n,r),t.push("<!--/$-->");if(!LC&&Dm(e,o)&&Hy+o.byteSize>e.progressiveChunkSize)return o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),qH(t,e.renderState,o.rootSegmentID),AC(e,t,n,r),t.push("<!--/$-->");if(Hy+=o.byteSize,r&&Im(r,o.contentState),n=o.row,n!==null&&Dm(e,o)&&--n.pendingTasks===0&&Oi(e,n),e.renderState.generateStaticMarkup||t.push("<!--$-->"),n=o.completedSegments,n.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return Gy(e,t,n[0],r),e=e.renderState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function sF(e,t,n,r){return Uq(t,e.renderState,n.parentFormatContext,n.id),Gy(e,t,n,r),zq(t,n.parentFormatContext)}function f6(e,t,n){Hy=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)X6(e,t,n,r[o]);r.length=0,r=n.row,r!==null&&Dm(e,n)&&--r.pendingTasks===0&&Oi(e,r),I6(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,o=n.rootSegmentID,n=n.contentState;var i=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),i?(!(r.instructions&4)&&(r.instructions|=4,t.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),!(r.instructions&2)&&(r.instructions|=2,t.push(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
496
- $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`)),r.instructions&8?t.push('$RR("'):(r.instructions|=8,t.push(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
497
- "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
498
- "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`))):(!(r.instructions&2)&&(r.instructions|=2,t.push(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
499
- $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`)),t.push('$RC("')),r=o.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(r),i?(t.push('",'),Qq(t,n)):t.push('"'),n=t.push(")</script>"),M6(t,e)&&n}function X6(e,t,n,r){if(r.status===2)return!0;var o=n.contentState,i=r.id;if(i===-1){if((r.id=n.rootSegmentID)===-1)throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return sF(e,t,r,o)}return i===n.rootSegmentID?sF(e,t,r,o):(sF(e,t,r,o),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),n.instructions&1?t.push('$RS("'):(n.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t=t.push('")</script>'),t)}var LC=!1;function t0(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var o=e.completedPreambleSegments;if(o===null)return;Hy=e.byteSize;var i=e.resumableState,s=e.renderState,u=s.preamble,p=u.htmlChunks,f=u.headChunks,g;if(p){for(g=0;g<p.length;g++)t.push(p[g]);if(f)for(g=0;g<f.length;g++)t.push(f[g]);else{var y=co("head");t.push(y),t.push(">")}}else if(f)for(g=0;g<f.length;g++)t.push(f[g]);var x=s.charsetChunks;for(g=0;g<x.length;g++)t.push(x[g]);x.length=0,s.preconnects.forEach(El,t),s.preconnects.clear();var w=s.viewportChunks;for(g=0;g<w.length;g++)t.push(w[g]);w.length=0,s.fontPreloads.forEach(El,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(El,t),s.highImagePreloads.clear(),Mm=s,s.styles.forEach(Jq,t),Mm=null;var A=s.importMapChunks;for(g=0;g<A.length;g++)t.push(A[g]);A.length=0,s.bootstrapScripts.forEach(El,t),s.scripts.forEach(El,t),s.scripts.clear(),s.bulkPreloads.forEach(El,t),s.bulkPreloads.clear(),i.instructions|=32;var F=s.hoistableChunks;for(g=0;g<F.length;g++)t.push(F[g]);for(i=F.length=0;i<o.length;i++){var D=o[i];for(s=0;s<D.length;s++)Gy(e,t,D[s],null)}var L=e.renderState.preamble,U=L.headChunks;if(L.htmlChunks||U){var Y=ip("head");t.push(Y)}var G=L.bodyChunks;if(G)for(o=0;o<G.length;o++)t.push(G[o]);Gy(e,t,r,null),e.completedRootSegment=null;var W=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var M=e.resumableState;if(!(M.instructions&64)){if(M.instructions|=64,t.push(W.startInlineScript),!(M.instructions&32)){M.instructions|=32;var ne="_"+M.idPrefix+"R_";t.push(' id="');var Re=ft(ne);t.push(Re),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("</script>")}}M6(t,W)}var ve=e.renderState;r=0;var re=ve.viewportChunks;for(r=0;r<re.length;r++)t.push(re[r]);re.length=0,ve.preconnects.forEach(El,t),ve.preconnects.clear(),ve.fontPreloads.forEach(El,t),ve.fontPreloads.clear(),ve.highImagePreloads.forEach(El,t),ve.highImagePreloads.clear(),ve.styles.forEach(Zq,t),ve.scripts.forEach(El,t),ve.scripts.clear(),ve.bulkPreloads.forEach(El,t),ve.bulkPreloads.clear();var me=ve.hoistableChunks;for(r=0;r<me.length;r++)t.push(me[r]);me.length=0;var ce=e.clientRenderedBoundaries;for(n=0;n<ce.length;n++){var Ce=ce[n];ve=t;var ge=e.resumableState,Pe=e.renderState,ot=Ce.rootSegmentID,Xe=Ce.errorDigest;ve.push(Pe.startInlineScript),ve.push(">"),ge.instructions&4?ve.push('$RX("'):(ge.instructions|=4,ve.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),ve.push(Pe.boundaryPrefix);var Ze=ot.toString(16);if(ve.push(Ze),ve.push('"'),Xe){ve.push(",");var Tn=Hq(Xe||"");ve.push(Tn)}var Jt=ve.push(")</script>");if(!Jt){e.destination=null,n++,ce.splice(0,n);return}}ce.splice(0,n);var be=e.completedBoundaries;for(n=0;n<be.length;n++)if(!f6(e,t,be[n])){e.destination=null,n++,be.splice(0,n);return}be.splice(0,n),LC=!0;var he=e.partialBoundaries;for(n=0;n<he.length;n++){var Ne=he[n];e:{ce=e,Ce=t,Hy=Ne.byteSize;var Et=Ne.completedSegments;for(Jt=0;Jt<Et.length;Jt++)if(!X6(ce,Ce,Ne,Et[Jt])){Jt++,Et.splice(0,Jt);var en=!1;break e}Et.splice(0,Jt);var je=Ne.row;je!==null&&je.together&&Ne.pendingTasks===1&&(je.pendingTasks===1?FF(ce,je,je.hoistables):je.pendingTasks--),en=I6(Ce,Ne.contentState,ce.renderState)}if(!en){e.destination=null,n++,he.splice(0,n);return}}he.splice(0,n),LC=!1;var ze=e.completedBoundaries;for(n=0;n<ze.length;n++)if(!f6(e,t,ze[n])){e.destination=null,n++,ze.splice(0,n);return}ze.splice(0,n)}}finally{LC=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(he=ip("body"),t.push(he)),n.hasHtml&&(n=ip("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function ap(e){if(e.flushScheduled===!1&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?t0(e,t):e.flushScheduled=!1}}function S$(e,t){if(e.status===13)e.status=14,t.destroy(e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{t0(e,t)}catch(n){Fi(e,n,{}),zy(e,n)}}}function P$(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=t===void 0?Error("The render was aborted by the server without a reason."):typeof t=="object"&&t!==null&&typeof t.then=="function"?Error("The render was aborted by the server with a promise."):t;e.fatalError=r,n.forEach(function(o){return xF(o,e,r)}),n.clear()}e.destination!==null&&t0(e,e.destination)}catch(o){Fi(e,o,{}),zy(e,o)}}function KC(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,o=r.get(t);o===void 0&&(o=[t[1],t[2],[],null],r.set(t,o),KC(o,t[0],n)),o[2].push(e)}}function A$(){}function J6(e,t,n,r){var o=!1,i=null,s="",u=!1;if(t=_q(t?t.identifierPrefix:void 0),e=k$(e,t,a$(t,n),ii(0,null,0,null),1/0,A$,void 0,function(){u=!0},void 0,void 0,void 0),e.flushScheduled=e.destination!==null,V6(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&MF(e,e.pendingRootTasks===0),P$(e,r),S$(e,{push:function(p){return p!==null&&(s+=p),!0},destroy:function(p){o=!0,i=p}}),o&&i!==r)throw i;if(!u)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return s}n0.renderToStaticMarkup=function(e,t){return J6(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')};n0.renderToString=function(e,t){return J6(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')};n0.version="19.2.4"});var T8=yl(ac=>{"use strict";var F$=xu("util"),O$=xu("crypto"),M$=xu("async_hooks"),c1=Uc(),I$=Py(),_4=xu("stream"),L4=Symbol.for("react.transitional.element"),N4=Symbol.for("react.portal"),B4=Symbol.for("react.fragment"),U4=Symbol.for("react.strict_mode"),z4=Symbol.for("react.profiler"),W4=Symbol.for("react.consumer"),E0=Symbol.for("react.context"),u1=Symbol.for("react.forward_ref"),S0=Symbol.for("react.suspense"),d1=Symbol.for("react.suspense_list"),p1=Symbol.for("react.memo"),P0=Symbol.for("react.lazy"),D$=Symbol.for("react.scope"),H4=Symbol.for("react.activity"),_$=Symbol.for("react.legacy_hidden"),L$=Symbol.for("react.memo_cache_sentinel"),N$=Symbol.for("react.view_transition"),Z6=Symbol.iterator;function G4(e){return e===null||typeof e!="object"?null:(e=Z6&&e[Z6]||e["@@iterator"],typeof e=="function"?e:null)}var f0=Array.isArray,V4=queueMicrotask;function Q6(e){typeof e.flush=="function"&&e.flush()}var or=null,Bn=0,Wm=!0;function Q(e,t){if(typeof t=="string"){if(t.length!==0)if(2048<3*t.length)0<Bn&&(Gc(e,or.subarray(0,Bn)),or=new Uint8Array(2048),Bn=0),Gc(e,t);else{var n=or;0<Bn&&(n=or.subarray(Bn)),n=Qy.encodeInto(t,n);var r=n.read;Bn+=n.written,r<t.length&&(Gc(e,or.subarray(0,Bn)),or=new Uint8Array(2048),Bn=Qy.encodeInto(t.slice(r),or).written),Bn===2048&&(Gc(e,or),or=new Uint8Array(2048),Bn=0)}}else t.byteLength!==0&&(2048<t.byteLength?(0<Bn&&(Gc(e,or.subarray(0,Bn)),or=new Uint8Array(2048),Bn=0),Gc(e,t)):(n=or.length-Bn,n<t.byteLength&&(n===0?Gc(e,or):(or.set(t.subarray(0,n),Bn),Bn+=n,Gc(e,or),t=t.subarray(n)),or=new Uint8Array(2048),Bn=0),or.set(t,Bn),Bn+=t.byteLength,Bn===2048&&(Gc(e,or),or=new Uint8Array(2048),Bn=0)))}function Gc(e,t){e=e.write(t),Wm=Wm&&e}function Rn(e,t){return Q(e,t),Wm}function DF(e){or&&0<Bn&&e.write(or.subarray(0,Bn)),or=null,Bn=0,Wm=!0}var Qy=new F$.TextEncoder;function q(e){return Qy.encode(e)}function j6(e){return typeof e=="string"?Buffer.byteLength(e,"utf8"):e.byteLength}var Xs=Object.assign,ir=Object.prototype.hasOwnProperty,B$=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),q6={},$6={};function f1(e){return ir.call($6,e)?!0:ir.call(q6,e)?!1:B$.test(e)?$6[e]=!0:(q6[e]=!0,!1)}var U$=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),z$=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),W$=/["'&<>]/;function $e(e){if(typeof e=="boolean"||typeof e=="number"||typeof e=="bigint")return""+e;e=""+e;var t=W$.exec(e);if(t){var n="",r,o=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==r&&(n+=e.slice(o,r)),o=r+1,n+=t}e=o!==r?n+e.slice(o,r):n}return e}var H$=/([A-Z])/g,G$=/^ms-/,V$=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function jy(e){return V$.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var _m=c1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y4=I$.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y$={pending:!1,data:null,method:null,action:null},Yc=Y4.d;Y4.d={f:Yc.f,r:Yc.r,D:Pte,C:Ate,L:Fte,m:Ote,X:Ite,S:Mte,M:Dte};var ja=[],Hm=null;q('"></template>');var X$=q("<script"),m0=q("</script>"),J$=q('<script src="'),K$=q('<script type="module" src="'),e4=q(' nonce="'),t4=q(' integrity="'),n4=q(' crossorigin="'),r4=q(' async=""></script>'),Z$=q("<style"),VF=/(<\/|<)(s)(cript)/gi;function YF(e,t,n,r){return""+t+(n==="s"?"\\u0073":"\\u0053")+r}var Q$=q('<script type="importmap">'),j$=q("</script>");function $u(e,t,n,r,o,i){n=typeof t=="string"?t:t&&t.script;var s=n===void 0?X$:q('<script nonce="'+$e(n)+'"'),u=typeof t=="string"?void 0:t&&t.style,p=u===void 0?Z$:q('<style nonce="'+$e(u)+'"'),f=e.idPrefix,g=[],y=e.bootstrapScriptContent,x=e.bootstrapScripts,w=e.bootstrapModules;if(y!==void 0&&(g.push(s),a0(g,e),g.push(xr,(""+y).replace(VF,YF),m0)),y=[],r!==void 0&&(y.push(Q$),y.push((""+JSON.stringify(r)).replace(VF,YF)),y.push(j$)),r=o?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+(typeof i=="number"?i:2e3)}:null,o={placeholderPrefix:q(f+"P:"),segmentPrefix:q(f+"S:"),boundaryPrefix:q(f+"B:"),startInlineScript:s,startInlineStyle:p,preamble:qy(),externalRuntimeScript:null,bootstrapChunks:g,importMapChunks:y,onHeaders:o,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:u},hoistableState:null,stylesToHoist:!1},x!==void 0)for(r=0;r<x.length;r++)f=x[r],u=s=void 0,p={rel:"preload",as:"script",fetchPriority:"low",nonce:t},typeof f=="string"?p.href=i=f:(p.href=i=f.src,p.integrity=u=typeof f.integrity=="string"?f.integrity:void 0,p.crossOrigin=s=typeof f=="string"||f.crossOrigin==null?void 0:f.crossOrigin==="use-credentials"?"use-credentials":""),f=e,y=i,f.scriptResources[y]=null,f.moduleScriptResources[y]=null,f=[],Ii(f,p),o.bootstrapScripts.add(f),g.push(J$,$e(i),vr),n&&g.push(e4,$e(n),vr),typeof u=="string"&&g.push(t4,$e(u),vr),typeof s=="string"&&g.push(n4,$e(s),vr),a0(g,e),g.push(r4);if(w!==void 0)for(t=0;t<w.length;t++)u=w[t],i=r=void 0,s={rel:"modulepreload",fetchPriority:"low",nonce:n},typeof u=="string"?s.href=x=u:(s.href=x=u.src,s.integrity=i=typeof u.integrity=="string"?u.integrity:void 0,s.crossOrigin=r=typeof u=="string"||u.crossOrigin==null?void 0:u.crossOrigin==="use-credentials"?"use-credentials":""),u=e,p=x,u.scriptResources[p]=null,u.moduleScriptResources[p]=null,u=[],Ii(u,s),o.bootstrapScripts.add(u),g.push(K$,$e(x),vr),n&&g.push(e4,$e(n),vr),typeof i=="string"&&g.push(t4,$e(i),vr),typeof r=="string"&&g.push(n4,$e(r),vr),a0(g,e),g.push(r4);return o}function A0(e,t,n,r,o){return{idPrefix:e===void 0?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:o,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function qy(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function ai(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function F0(e){return ai(e==="http://www.w3.org/2000/svg"?4:e==="http://www.w3.org/1998/Math/MathML"?5:0,null,0,null)}function o4(e,t,n){var r=e.tagScope&-25;switch(t){case"noscript":return ai(2,null,r|1,null);case"select":return ai(2,n.value!=null?n.value:n.defaultValue,r,null);case"svg":return ai(4,null,r,null);case"picture":return ai(2,null,r|2,null);case"math":return ai(5,null,r,null);case"foreignObject":return ai(2,null,r,null);case"table":return ai(6,null,r,null);case"thead":case"tbody":case"tfoot":return ai(7,null,r,null);case"colgroup":return ai(9,null,r,null);case"tr":return ai(8,null,r,null);case"head":if(2>e.insertionMode)return ai(3,null,r,null);break;case"html":if(e.insertionMode===0)return ai(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?ai(2,null,r,null):e.tagScope!==r?ai(e.insertionMode,e.selectedValue,r,null):e}function X4(e){return e===null?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function XF(e,t){return t.tagScope&32&&(e.instructions|=128),ai(t.insertionMode,t.selectedValue,t.tagScope|12,X4(t.viewTransition))}function s0(e,t){e=X4(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!=="none"&&(n|=64),ai(t.insertionMode,t.selectedValue,n,e)}var Pl=q("<!-- -->");function i4(e,t,n,r){return t===""?r:(r&&e.push(Pl),e.push($e(t)),!0)}var s4=new Map,q$=q(' style="'),a4=q(":"),$$=q(";");function J4(e,t){if(typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var n=!0,r;for(r in t)if(ir.call(t,r)){var o=t[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var i=$e(r);o=$e((""+o).trim())}else i=s4.get(r),i===void 0&&(i=q($e(r.replace(H$,"-$1").toLowerCase().replace(G$,"-ms-"))),s4.set(r,i)),o=typeof o=="number"?o===0||U$.has(r)?""+o:o+"px":$e((""+o).trim());n?(n=!1,e.push(q$,i,a4,o)):e.push($$,i,a4,o)}}n||e.push(vr)}var gs=q(" "),Qa=q('="'),vr=q('"'),JF=q('=""');function KF(e,t,n){n&&typeof n!="function"&&typeof n!="symbol"&&e.push(gs,t,JF)}function Mi(e,t,n){typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&e.push(gs,t,Qa,$e(n),vr)}var K4=q($e("javascript:throw new Error('React form unexpectedly submitted.')")),Z4=q('<input type="hidden"');function _F(e,t){this.push(Z4),Q4(e),Mi(this,"name",t),Mi(this,"value",e),this.push($y)}function Q4(e){if(typeof e!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function j4(e,t){if(typeof t.$$FORM_ACTION=="function"){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;o?.forEach(Q4)}return r}catch(i){if(typeof i=="object"&&i!==null&&typeof i.then=="function")throw i}}return null}function l4(e,t,n,r,o,i,s,u){var p=null;if(typeof r=="function"){var f=j4(t,r);f!==null?(u=f.name,r=f.action||"",o=f.encType,i=f.method,s=f.target,p=f.data):(e.push(gs,"formAction",Qa,K4,vr),s=i=o=r=u=null,q4(t,n))}return u!=null&&$t(e,"name",u),r!=null&&$t(e,"formAction",r),o!=null&&$t(e,"formEncType",o),i!=null&&$t(e,"formMethod",i),s!=null&&$t(e,"formTarget",s),p}function $t(e,t,n){switch(t){case"className":Mi(e,"class",n);break;case"tabIndex":Mi(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Mi(e,t,n);break;case"style":J4(e,n);break;case"src":case"href":if(n==="")break;case"action":case"formAction":if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean")break;n=jy(""+n),e.push(gs,t,Qa,$e(n),vr);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":KF(e,t.toLowerCase(),n);break;case"xlinkHref":if(typeof n=="function"||typeof n=="symbol"||typeof n=="boolean")break;n=jy(""+n),e.push(gs,"xlink:href",Qa,$e(n),vr);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof n!="function"&&typeof n!="symbol"&&e.push(gs,t,Qa,$e(n),vr);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"&&e.push(gs,t,JF);break;case"capture":case"download":n===!0?e.push(gs,t,JF):n!==!1&&typeof n!="function"&&typeof n!="symbol"&&e.push(gs,t,Qa,$e(n),vr);break;case"cols":case"rows":case"size":case"span":typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n&&e.push(gs,t,Qa,$e(n),vr);break;case"rowSpan":case"start":typeof n=="function"||typeof n=="symbol"||isNaN(n)||e.push(gs,t,Qa,$e(n),vr);break;case"xlinkActuate":Mi(e,"xlink:actuate",n);break;case"xlinkArcrole":Mi(e,"xlink:arcrole",n);break;case"xlinkRole":Mi(e,"xlink:role",n);break;case"xlinkShow":Mi(e,"xlink:show",n);break;case"xlinkTitle":Mi(e,"xlink:title",n);break;case"xlinkType":Mi(e,"xlink:type",n);break;case"xmlBase":Mi(e,"xml:base",n);break;case"xmlLang":Mi(e,"xml:lang",n);break;case"xmlSpace":Mi(e,"xml:space",n);break;default:if((!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=z$.get(t)||t,f1(t))){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-")return}e.push(gs,t,Qa,$e(n),vr)}}}var xr=q(">"),$y=q("/>");function xa(e,t,n){if(t!=null){if(n!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!="object"||!("__html"in t))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");t=t.__html,t!=null&&e.push(""+t)}}function eee(e){var t="";return c1.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var LF=q(' selected=""'),c4=q(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`);function q4(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),a0(r,e),r.push(xr,c4,m0)):r.unshift(t.startInlineScript,xr,c4,m0)}}var tee=q("<!--F!-->"),nee=q("<!--F-->");function Ii(e,t){e.push(uo("link"));for(var n in t)if(ir.call(t,n)){var r=t[n];if(r!=null)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:$t(e,n,r)}}return e.push($y),null}var u4=/(<\/|<)(s)(tyle)/gi;function d4(e,t,n,r){return""+t+(n==="s"?"\\73 ":"\\53 ")+r}function Lm(e,t,n){e.push(uo(n));for(var r in t)if(ir.call(t,r)){var o=t[r];if(o!=null)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:$t(e,r,o)}}return e.push($y),null}function p4(e,t){e.push(uo("title"));var n=null,r=null,o;for(o in t)if(ir.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:$t(e,o,i)}}return e.push(xr),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!="function"&&typeof t!="symbol"&&t!==null&&t!==void 0&&e.push($e(""+t)),xa(e,r,n),e.push(up("title")),null}var ree=q("<!--head-->"),oee=q("<!--body-->"),iee=q("<!--html-->");function h0(e,t){e.push(uo("script"));var n=null,r=null,o;for(o in t)if(ir.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:$t(e,o,i)}}return e.push(xr),xa(e,r,n),typeof n=="string"&&e.push((""+n).replace(VF,YF)),e.push(up("script")),null}function NF(e,t,n){e.push(uo(n));var r=n=null,o;for(o in t)if(ir.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:$t(e,o,i)}}return e.push(xr),xa(e,r,n),n}function r0(e,t,n){e.push(uo(n));var r=n=null,o;for(o in t)if(ir.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:$t(e,o,i)}}return e.push(xr),xa(e,r,n),typeof n=="string"?(e.push($e(n)),null):n}var BF=q(`
500
- `),see=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,f4=new Map;function uo(e){var t=f4.get(e);if(t===void 0){if(!see.test(e))throw Error("Invalid tag: "+e);t=q("<"+e),f4.set(e,t)}return t}var aee=q("<!DOCTYPE html>");function lee(e,t,n,r,o,i,s,u,p){switch(t){case"div":case"span":case"svg":case"path":break;case"a":e.push(uo("a"));var f=null,g=null,y;for(y in n)if(ir.call(n,y)){var x=n[y];if(x!=null)switch(y){case"children":f=x;break;case"dangerouslySetInnerHTML":g=x;break;case"href":x===""?Mi(e,"href",""):$t(e,y,x);break;default:$t(e,y,x)}}if(e.push(xr),xa(e,g,f),typeof f=="string"){e.push($e(f));var w=null}else w=f;return w;case"g":case"p":case"li":break;case"select":e.push(uo("select"));var A=null,F=null,D;for(D in n)if(ir.call(n,D)){var L=n[D];if(L!=null)switch(D){case"children":A=L;break;case"dangerouslySetInnerHTML":F=L;break;case"defaultValue":case"value":break;default:$t(e,D,L)}}return e.push(xr),xa(e,F,A),A;case"option":var U=u.selectedValue;e.push(uo("option"));var Y=null,G=null,W=null,M=null,ne;for(ne in n)if(ir.call(n,ne)){var Re=n[ne];if(Re!=null)switch(ne){case"children":Y=Re;break;case"selected":W=Re;break;case"dangerouslySetInnerHTML":M=Re;break;case"value":G=Re;default:$t(e,ne,Re)}}if(U!=null){var ve=G!==null?""+G:eee(Y);if(f0(U)){for(var re=0;re<U.length;re++)if(""+U[re]===ve){e.push(LF);break}}else""+U===ve&&e.push(LF)}else W&&e.push(LF);return e.push(xr),xa(e,M,Y),Y;case"textarea":e.push(uo("textarea"));var me=null,ce=null,Ce=null,ge;for(ge in n)if(ir.call(n,ge)){var Pe=n[ge];if(Pe!=null)switch(ge){case"children":Ce=Pe;break;case"value":me=Pe;break;case"defaultValue":ce=Pe;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:$t(e,ge,Pe)}}if(me===null&&ce!==null&&(me=ce),e.push(xr),Ce!=null){if(me!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(f0(Ce)){if(1<Ce.length)throw Error("<textarea> can only have at most one child.");me=""+Ce[0]}me=""+Ce}return typeof me=="string"&&me[0]===`
501
- `&&e.push(BF),me!==null&&e.push($e(""+me)),null;case"input":e.push(uo("input"));var ot=null,Xe=null,Ze=null,Tn=null,Jt=null,be=null,he=null,Ne=null,Et=null,en;for(en in n)if(ir.call(n,en)){var je=n[en];if(je!=null)switch(en){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":ot=je;break;case"formAction":Xe=je;break;case"formEncType":Ze=je;break;case"formMethod":Tn=je;break;case"formTarget":Jt=je;break;case"defaultChecked":Et=je;break;case"defaultValue":he=je;break;case"checked":Ne=je;break;case"value":be=je;break;default:$t(e,en,je)}}var ze=l4(e,r,o,Xe,Ze,Tn,Jt,ot);return Ne!==null?KF(e,"checked",Ne):Et!==null&&KF(e,"checked",Et),be!==null?$t(e,"value",be):he!==null&&$t(e,"value",he),e.push($y),ze?.forEach(_F,e),null;case"button":e.push(uo("button"));var Qn=null,fo=null,xs=null,li=null,Qe=null,gn=null,At=null,tn;for(tn in n)if(ir.call(n,tn)){var St=n[tn];if(St!=null)switch(tn){case"children":Qn=St;break;case"dangerouslySetInnerHTML":fo=St;break;case"name":xs=St;break;case"formAction":li=St;break;case"formEncType":Qe=St;break;case"formMethod":gn=St;break;case"formTarget":At=St;break;default:$t(e,tn,St)}}var kn=l4(e,r,o,li,Qe,gn,At,xs);if(e.push(xr),kn?.forEach(_F,e),xa(e,fo,Qn),typeof Qn=="string"){e.push($e(Qn));var Be=null}else Be=Qn;return Be;case"form":e.push(uo("form"));var En=null,Ks=null,zn=null,sr=null,Wn=null,xt=null,No;for(No in n)if(ir.call(n,No)){var _t=n[No];if(_t!=null)switch(No){case"children":En=_t;break;case"dangerouslySetInnerHTML":Ks=_t;break;case"action":zn=_t;break;case"encType":sr=_t;break;case"method":Wn=_t;break;case"target":xt=_t;break;default:$t(e,No,_t)}}var Hn=null,Ni=null;if(typeof zn=="function"){var ar=j4(r,zn);ar!==null?(zn=ar.action||"",sr=ar.encType,Wn=ar.method,xt=ar.target,Hn=ar.data,Ni=ar.name):(e.push(gs,"action",Qa,K4,vr),xt=Wn=sr=zn=null,q4(r,o))}if(zn!=null&&$t(e,"action",zn),sr!=null&&$t(e,"encType",sr),Wn!=null&&$t(e,"method",Wn),xt!=null&&$t(e,"target",xt),e.push(xr),Ni!==null&&(e.push(Z4),Mi(e,"name",Ni),e.push($y),Hn?.forEach(_F,e)),xa(e,Ks,En),typeof En=="string"){e.push($e(En));var vs=null}else vs=En;return vs;case"menuitem":e.push(uo("menuitem"));for(var mo in n)if(ir.call(n,mo)){var Gr=n[mo];if(Gr!=null)switch(mo){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:$t(e,mo,Gr)}}return e.push(xr),null;case"object":e.push(uo("object"));var lr=null,Ca=null,cr;for(cr in n)if(ir.call(n,cr)){var P=n[cr];if(P!=null)switch(cr){case"children":lr=P;break;case"dangerouslySetInnerHTML":Ca=P;break;case"data":var z=jy(""+P);if(z==="")break;e.push(gs,"data",Qa,$e(z),vr);break;default:$t(e,cr,P)}}if(e.push(xr),xa(e,Ca,lr),typeof lr=="string"){e.push($e(lr));var oe=null}else oe=lr;return oe;case"title":var de=u.tagScope&1,we=u.tagScope&4;if(u.insertionMode===4||de||n.itemProp!=null)var De=p4(e,n);else we?De=null:(p4(o.hoistableChunks,n),De=void 0);return De;case"link":var _e=u.tagScope&1,vt=u.tagScope&4,Ve=n.rel,lt=n.href,Ir=n.precedence;if(u.insertionMode===4||_e||n.itemProp!=null||typeof Ve!="string"||typeof lt!="string"||lt===""){Ii(e,n);var br=null}else if(n.rel==="stylesheet")if(typeof Ir!="string"||n.disabled!=null||n.onLoad||n.onError)br=Ii(e,n);else{var Sn=o.styles.get(Ir),ct=r.styleResources.hasOwnProperty(lt)?r.styleResources[lt]:void 0;if(ct!==null){r.styleResources[lt]=null,Sn||(Sn={precedence:$e(Ir),rules:[],hrefs:[],sheets:new Map},o.styles.set(Ir,Sn));var ci={state:0,props:Xs({},n,{"data-precedence":n.precedence,precedence:null})};if(ct){ct.length===2&&ex(ci.props,ct);var bs=o.preloads.stylesheets.get(lt);bs&&0<bs.length?bs.length=0:ci.state=1}Sn.sheets.set(lt,ci),s&&s.stylesheets.add(ci)}else if(Sn){var Fl=Sn.sheets.get(lt);Fl&&s&&s.stylesheets.add(Fl)}p&&e.push(Pl),br=null}else n.onLoad||n.onError?br=Ii(e,n):(p&&e.push(Pl),br=vt?null:Ii(o.hoistableChunks,n));return br;case"script":var Kc=u.tagScope&1,Ra=n.async;if(typeof n.src!="string"||!n.src||!Ra||typeof Ra=="function"||typeof Ra=="symbol"||n.onLoad||n.onError||u.insertionMode===4||Kc||n.itemProp!=null)var Dr=h0(e,n);else{var ui=n.src;if(n.type==="module")var mt=r.moduleScriptResources,ho=o.preloads.moduleScripts;else mt=r.scriptResources,ho=o.preloads.scripts;var ws=mt.hasOwnProperty(ui)?mt[ui]:void 0;if(ws!==null){mt[ui]=null;var Pn=n;if(ws){ws.length===2&&(Pn=Xs({},n),ex(Pn,ws));var Ol=ho.get(ui);Ol&&(Ol.length=0)}var Zs=[];o.scripts.add(Zs),h0(Zs,Pn)}p&&e.push(Pl),Dr=null}return Dr;case"style":var Cs=u.tagScope&1,ur=n.precedence,jr=n.href,Bi=n.nonce;if(u.insertionMode===4||Cs||n.itemProp!=null||typeof ur!="string"||typeof jr!="string"||jr===""){e.push(uo("style"));var wr=null,yn=null,di;for(di in n)if(ir.call(n,di)){var go=n[di];if(go!=null)switch(di){case"children":wr=go;break;case"dangerouslySetInnerHTML":yn=go;break;default:$t(e,di,go)}}e.push(xr);var pi=Array.isArray(wr)?2>wr.length?wr[0]:null:wr;typeof pi!="function"&&typeof pi!="symbol"&&pi!==null&&pi!==void 0&&e.push((""+pi).replace(u4,d4)),xa(e,yn,wr),e.push(up("style"));var yo=null}else{var Vr=o.styles.get(ur);if((r.styleResources.hasOwnProperty(jr)?r.styleResources[jr]:void 0)!==null){r.styleResources[jr]=null,Vr||(Vr={precedence:$e(ur),rules:[],hrefs:[],sheets:new Map},o.styles.set(ur,Vr));var $a=o.nonce.style;if(!$a||$a===Bi){Vr.hrefs.push($e(jr));var Rs=Vr.rules,_r=null,el=null,fi;for(fi in n)if(ir.call(n,fi)){var Ta=n[fi];if(Ta!=null)switch(fi){case"children":_r=Ta;break;case"dangerouslySetInnerHTML":el=Ta}}var Bo=Array.isArray(_r)?2>_r.length?_r[0]:null:_r;typeof Bo!="function"&&typeof Bo!="symbol"&&Bo!==null&&Bo!==void 0&&Rs.push((""+Bo).replace(u4,d4)),xa(Rs,el,_r)}}Vr&&s&&s.styles.add(Vr),p&&e.push(Pl),yo=void 0}return yo;case"meta":var od=u.tagScope&1,id=u.tagScope&4;if(u.insertionMode===4||od||n.itemProp!=null)var tl=Lm(e,n,"meta");else p&&e.push(Pl),tl=id?null:typeof n.charSet=="string"?Lm(o.charsetChunks,n,"meta"):n.name==="viewport"?Lm(o.viewportChunks,n,"meta"):Lm(o.hoistableChunks,n,"meta");return tl;case"listing":case"pre":e.push(uo(t));var Cr=null,qr=null,xo;for(xo in n)if(ir.call(n,xo)){var $r=n[xo];if($r!=null)switch(xo){case"children":Cr=$r;break;case"dangerouslySetInnerHTML":qr=$r;break;default:$t(e,xo,$r)}}if(e.push(xr),qr!=null){if(Cr!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof qr!="object"||!("__html"in qr))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var eo=qr.__html;eo!=null&&(typeof eo=="string"&&0<eo.length&&eo[0]===`
502
- `?e.push(BF,eo):e.push(""+eo))}return typeof Cr=="string"&&Cr[0]===`
503
- `&&e.push(BF),Cr;case"img":var Zc=u.tagScope&3,ut=n.src,qe=n.srcSet;if(!(n.loading==="lazy"||!ut&&!qe||typeof ut!="string"&&ut!=null||typeof qe!="string"&&qe!=null||n.fetchPriority==="low"||Zc)&&(typeof ut!="string"||ut[4]!==":"||ut[0]!=="d"&&ut[0]!=="D"||ut[1]!=="a"&&ut[1]!=="A"||ut[2]!=="t"&&ut[2]!=="T"||ut[3]!=="a"&&ut[3]!=="A")&&(typeof qe!="string"||qe[4]!==":"||qe[0]!=="d"&&qe[0]!=="D"||qe[1]!=="a"&&qe[1]!=="A"||qe[2]!=="t"&&qe[2]!=="T"||qe[3]!=="a"&&qe[3]!=="A")){s!==null&&u.tagScope&64&&(s.suspenseyImages=!0);var ka=typeof n.sizes=="string"?n.sizes:void 0,Rr=qe?qe+`
504
- `+(ka||""):ut,to=o.preloads.images,nn=to.get(Rr);if(nn)(n.fetchPriority==="high"||10>o.highImagePreloads.size)&&(to.delete(Rr),o.highImagePreloads.add(nn));else if(!r.imageResources.hasOwnProperty(Rr)){r.imageResources[Rr]=ja;var Ts=n.crossOrigin,Ml=typeof Ts=="string"?Ts==="use-credentials"?Ts:"":void 0,rn=o.headers,Ui;rn&&0<rn.remainingCapacity&&typeof n.srcSet!="string"&&(n.fetchPriority==="high"||500>rn.highImagePreloads.length)&&(Ui=y0(ut,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:Ml,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(rn.remainingCapacity-=Ui.length+2))?(o.resets.image[Rr]=ja,rn.highImagePreloads&&(rn.highImagePreloads+=", "),rn.highImagePreloads+=Ui):(nn=[],Ii(nn,{rel:"preload",as:"image",href:qe?void 0:ut,imageSrcSet:qe,imageSizes:ka,crossOrigin:Ml,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority==="high"||10>o.highImagePreloads.size?o.highImagePreloads.add(nn):(o.bulkPreloads.add(nn),to.set(Rr,nn)))}}return Lm(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return Lm(e,n,t);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"head":if(2>u.insertionMode){var ks=i||o.preamble;if(ks.headChunks)throw Error("The `<head>` tag may only be rendered once.");i!==null&&e.push(ree),ks.headChunks=[];var vo=NF(ks.headChunks,n,"head")}else vo=r0(e,n,"head");return vo;case"body":if(2>u.insertionMode){var Uo=i||o.preamble;if(Uo.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");i!==null&&e.push(oee),Uo.bodyChunks=[];var An=NF(Uo.bodyChunks,n,"body")}else An=r0(e,n,"body");return An;case"html":if(u.insertionMode===0){var mi=i||o.preamble;if(mi.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");i!==null&&e.push(iee),mi.htmlChunks=[aee];var zt=NF(mi.htmlChunks,n,"html")}else zt=r0(e,n,"html");return zt;default:if(t.indexOf("-")!==-1){e.push(uo(t));var Es=null,zi=null,Gn;for(Gn in n)if(ir.call(n,Gn)){var Wt=n[Gn];if(Wt!=null){var zo=Gn;switch(Gn){case"children":Es=Wt;break;case"dangerouslySetInnerHTML":zi=Wt;break;case"style":J4(e,Wt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":zo="class";default:if(f1(Gn)&&typeof Wt!="function"&&typeof Wt!="symbol"&&Wt!==!1){if(Wt===!0)Wt="";else if(typeof Wt=="object")continue;e.push(gs,zo,Qa,$e(Wt),vr)}}}}return e.push(xr),xa(e,zi,Es),Es}}return r0(e,n,t)}var m4=new Map;function up(e){var t=m4.get(e);return t===void 0&&(t=q("</"+e+">"),m4.set(e,t)),t}function h4(e,t){e=e.preamble,e.htmlChunks===null&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),e.headChunks===null&&t.headChunks&&(e.headChunks=t.headChunks),e.bodyChunks===null&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function $4(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)Q(e,t[n]);return n<t.length?(n=t[n],t.length=0,Rn(e,n)):!0}var cee=q("requestAnimationFrame(function(){$RT=performance.now()});"),uee=q('<template id="'),dee=q('"></template>'),pee=q("<!--&-->"),fee=q("<!--/&-->"),mee=q("<!--$-->"),hee=q('<!--$?--><template id="'),gee=q('"></template>'),yee=q("<!--$!-->"),xee=q("<!--/$-->"),vee=q("<template"),bee=q('"'),wee=q(' data-dgst="');q(' data-msg="');q(' data-stck="');q(' data-cstck="');var Cee=q("></template>");function g4(e,t,n){if(Q(e,hee),n===null)throw Error("An ID must have been assigned before we can complete the boundary.");return Q(e,t.boundaryPrefix),Q(e,n.toString(16)),Rn(e,gee)}var Ree=q('<div hidden id="'),Tee=q('">'),kee=q("</div>"),Eee=q('<svg aria-hidden="true" style="display:none" id="'),See=q('">'),Pee=q("</svg>"),Aee=q('<math aria-hidden="true" style="display:none" id="'),Fee=q('">'),Oee=q("</math>"),Mee=q('<table hidden id="'),Iee=q('">'),Dee=q("</table>"),_ee=q('<table hidden><tbody id="'),Lee=q('">'),Nee=q("</tbody></table>"),Bee=q('<table hidden><tr id="'),Uee=q('">'),zee=q("</tr></table>"),Wee=q('<table hidden><colgroup id="'),Hee=q('">'),Gee=q("</colgroup></table>");function Vee(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return Q(e,Ree),Q(e,t.segmentPrefix),Q(e,r.toString(16)),Rn(e,Tee);case 4:return Q(e,Eee),Q(e,t.segmentPrefix),Q(e,r.toString(16)),Rn(e,See);case 5:return Q(e,Aee),Q(e,t.segmentPrefix),Q(e,r.toString(16)),Rn(e,Fee);case 6:return Q(e,Mee),Q(e,t.segmentPrefix),Q(e,r.toString(16)),Rn(e,Iee);case 7:return Q(e,_ee),Q(e,t.segmentPrefix),Q(e,r.toString(16)),Rn(e,Lee);case 8:return Q(e,Bee),Q(e,t.segmentPrefix),Q(e,r.toString(16)),Rn(e,Uee);case 9:return Q(e,Wee),Q(e,t.segmentPrefix),Q(e,r.toString(16)),Rn(e,Hee);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function Yee(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return Rn(e,kee);case 4:return Rn(e,Pee);case 5:return Rn(e,Oee);case 6:return Rn(e,Dee);case 7:return Rn(e,Nee);case 8:return Rn(e,zee);case 9:return Rn(e,Gee);default:throw Error("Unknown insertion mode. This is a bug in React.")}}var Xee=q('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Jee=q('$RS("'),Kee=q('","'),Zee=q('")</script>');q('<template data-rsi="" data-sid="');q('" data-pid="');var y4=q(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
505
- $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`),Qee=q('$RC("'),jee=q(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
506
- "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
507
- "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),qee=q('$RR("'),$ee=q('","'),ete=q('",'),tte=q('"'),nte=q(")</script>");q('<template data-rci="" data-bid="');q('<template data-rri="" data-bid="');q('" data-sid="');q('" data-sty="');var rte=q('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),ote=q('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),ite=q('$RX("'),ste=q('"'),ate=q(","),lte=q(")</script>");q('<template data-rxi="" data-bid="');q('" data-dgst="');q('" data-msg="');q('" data-stck="');q('" data-cstck="');var cte=/[<\u2028\u2029]/g;function ute(e){return JSON.stringify(e).replace(cte,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var dte=/[&><\u2028\u2029]/g;function Ky(e){return JSON.stringify(e).replace(dte,function(t){switch(t){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var pte=q(' media="not all" data-precedence="'),fte=q('" data-href="'),mte=q('">'),hte=q("</style>"),g0=!1,ZF=!0;function gte(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(Q(this,Hm.startInlineStyle),Q(this,pte),Q(this,e.precedence),Q(this,fte);r<n.length-1;r++)Q(this,n[r]),Q(this,t8);for(Q(this,n[r]),Q(this,mte),r=0;r<t.length;r++)Q(this,t[r]);ZF=Rn(this,hte),g0=!0,t.length=0,n.length=0}}function yte(e){return e.state!==2?g0=!0:!1}function e8(e,t,n){return g0=!1,ZF=!0,Hm=n,t.styles.forEach(gte,e),Hm=null,t.stylesheets.forEach(yte),g0&&(n.stylesToHoist=!0),ZF}function Sl(e){for(var t=0;t<e.length;t++)Q(this,e[t]);e.length=0}var Ku=[];function xte(e){Ii(Ku,e.props);for(var t=0;t<Ku.length;t++)Q(this,Ku[t]);Ku.length=0,e.state=2}var vte=q(' data-precedence="'),bte=q('" data-href="'),t8=q(" "),wte=q('">'),Cte=q("</style>");function Rte(e){var t=0<e.sheets.size;e.sheets.forEach(xte,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(Q(this,Hm.startInlineStyle),Q(this,vte),Q(this,e.precedence),e=0,r.length){for(Q(this,bte);e<r.length-1;e++)Q(this,r[e]),Q(this,t8);Q(this,r[e])}for(Q(this,wte),e=0;e<n.length;e++)Q(this,n[e]);Q(this,Cte),n.length=0,r.length=0}}function Tte(e){if(e.state===0){e.state=1;var t=e.props;for(Ii(Ku,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Ku.length;e++)Q(this,Ku[e]);Ku.length=0}}function kte(e){e.sheets.forEach(Tte,this),e.sheets.clear()}q('<link rel="expect" href="#');q('" blocking="render"/>');var n8=q(' id="');function a0(e,t){!(t.instructions&32)&&(t.instructions|=32,e.push(n8,$e("_"+t.idPrefix+"R_"),vr))}var x4=q("["),v4=q(",["),QF=q(","),UF=q("]");function Ete(e,t){Q(e,x4);var n=x4;t.stylesheets.forEach(function(r){if(r.state!==2)if(r.state===3)Q(e,n),Q(e,Ky(""+r.props.href)),Q(e,UF),n=v4;else{Q(e,n);var o=r.props["data-precedence"],i=r.props,s=jy(""+r.props.href);Q(e,Ky(s)),o=""+o,Q(e,QF),Q(e,Ky(o));for(var u in i)if(ir.call(i,u)&&(o=i[u],o!=null))switch(u){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ste(e,u,o)}Q(e,UF),n=v4,r.state=3}}),Q(e,UF)}function Ste(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(n===!1)return;t="";break;case"src":case"href":n=jy(n),t=""+n;break;default:if(2<t.length&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")||!f1(t))return;t=""+n}Q(e,QF),Q(e,Ky(r)),Q(e,QF),Q(e,Ky(t))}function jF(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Pte(e){var t=pp();if(t){var n=t.resumableState,r=t.renderState;if(typeof e=="string"&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=null,n=r.headers;var o,i;(i=n&&0<n.remainingCapacity)&&(i=(o="<"+(""+e).replace(m1,h1)+">; rel=dns-prefetch",0<=(n.remainingCapacity-=o.length+2))),i?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(o=[],Ii(o,{href:e,rel:"dns-prefetch"}),r.preconnects.add(o))}fp(t)}}else Yc.D(e)}function Ate(e,t){var n=pp();if(n){var r=n.resumableState,o=n.renderState;if(typeof e=="string"&&e){var i=t==="use-credentials"?"credentials":typeof t=="string"?"anonymous":"default";if(!r.connectResources[i].hasOwnProperty(e)){r.connectResources[i][e]=null,r=o.headers;var s,u;if(u=r&&0<r.remainingCapacity){if(u="<"+(""+e).replace(m1,h1)+">; rel=preconnect",typeof t=="string"){var p=(""+t).replace(qF,$F);u+='; crossorigin="'+p+'"'}u=(s=u,0<=(r.remainingCapacity-=s.length+2))}u?(o.resets.connect[i][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=s):(i=[],Ii(i,{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(i))}fp(n)}}else Yc.C(e,t)}function Fte(e,t,n){var r=pp();if(r){var o=r.resumableState,i=r.renderState;if(t&&e){switch(t){case"image":if(n)var s=n.imageSrcSet,u=n.imageSizes,p=n.fetchPriority;var f=s?s+`
508
- `+(u||""):e;if(o.imageResources.hasOwnProperty(f))return;o.imageResources[f]=ja,o=i.headers;var g;o&&0<o.remainingCapacity&&typeof s!="string"&&p==="high"&&(g=y0(e,t,n),0<=(o.remainingCapacity-=g.length+2))?(i.resets.image[f]=ja,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=g):(o=[],Ii(o,Xs({rel:"preload",href:s?void 0:e,as:t},n)),p==="high"?i.highImagePreloads.add(o):(i.bulkPreloads.add(o),i.preloads.images.set(f,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;s=[],Ii(s,Xs({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?ja:[n.crossOrigin,n.integrity],i.preloads.stylesheets.set(e,s),i.bulkPreloads.add(s);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;s=[],i.preloads.scripts.set(e,s),i.bulkPreloads.add(s),Ii(s,Xs({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?ja:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if(s=o.unknownResources[t],s.hasOwnProperty(e))return}else s={},o.unknownResources[t]=s;if(s[e]=ja,(o=i.headers)&&0<o.remainingCapacity&&t==="font"&&(f=y0(e,t,n),0<=(o.remainingCapacity-=f.length+2)))i.resets.font[e]=ja,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=f;else switch(o=[],e=Xs({rel:"preload",href:e,as:t},n),Ii(o,e),t){case"font":i.fontPreloads.add(o);break;default:i.bulkPreloads.add(o)}}fp(r)}}else Yc.L(e,t,n)}function Ote(e,t){var n=pp();if(n){var r=n.resumableState,o=n.renderState;if(e){var i=t&&typeof t.as=="string"?t.as:"script";switch(i){case"script":if(r.moduleScriptResources.hasOwnProperty(e))return;i=[],r.moduleScriptResources[e]=!t||typeof t.crossOrigin!="string"&&typeof t.integrity!="string"?ja:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,i);break;default:if(r.moduleUnknownResources.hasOwnProperty(i)){var s=r.unknownResources[i];if(s.hasOwnProperty(e))return}else s={},r.moduleUnknownResources[i]=s;i=[],s[e]=ja}Ii(i,Xs({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),fp(n)}}else Yc.m(e,t)}function Mte(e,t,n){var r=pp();if(r){var o=r.resumableState,i=r.renderState;if(e){t=t||"default";var s=i.styles.get(t),u=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;u!==null&&(o.styleResources[e]=null,s||(s={precedence:$e(t),rules:[],hrefs:[],sheets:new Map},i.styles.set(t,s)),t={state:0,props:Xs({rel:"stylesheet",href:e,"data-precedence":t},n)},u&&(u.length===2&&ex(t.props,u),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),s.sheets.set(e,t),fp(r))}}else Yc.S(e,t,n)}function Ite(e,t){var n=pp();if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;i!==null&&(r.scriptResources[e]=null,t=Xs({src:e,async:!0},t),i&&(i.length===2&&ex(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),h0(e,t),fp(n))}}else Yc.X(e,t)}function Dte(e,t){var n=pp();if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;i!==null&&(r.moduleScriptResources[e]=null,t=Xs({src:e,type:"module",async:!0},t),i&&(i.length===2&&ex(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),h0(e,t),fp(n))}}else Yc.M(e,t)}function ex(e,t){e.crossOrigin==null&&(e.crossOrigin=t[0]),e.integrity==null&&(e.integrity=t[1])}function y0(e,t,n){e=(""+e).replace(m1,h1),t=(""+t).replace(qF,$F),t="<"+e+'>; rel=preload; as="'+t+'"';for(var r in n)ir.call(n,r)&&(e=n[r],typeof e=="string"&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(qF,$F)+'"'));return t}var m1=/[<>\r\n]/g;function h1(e){switch(e){case"<":return"%3C";case">":return"%3E";case`
509
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var qF=/["';,\r\n]/g;function $F(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
510
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function _te(e){this.styles.add(e)}function Lte(e){this.stylesheets.add(e)}function Gm(e,t){t.styles.forEach(_te,e),t.stylesheets.forEach(Lte,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function r8(e){return 0<e.stylesheets.size||e.suspenseyImages}var Nte=Function.prototype.bind,e1=new M$.AsyncLocalStorage,Bte=Symbol.for("react.client.reference");function x0(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Bte?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case B4:return"Fragment";case z4:return"Profiler";case U4:return"StrictMode";case S0:return"Suspense";case d1:return"SuspenseList";case H4:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case N4:return"Portal";case E0:return e.displayName||"Context";case W4:return(e._context.displayName||"Context")+".Consumer";case u1:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case p1:return t=e.displayName||null,t!==null?t:x0(e.type)||"Memo";case P0:t=e._payload,e=e._init;try{return x0(e(t))}catch{}}return null}var b4={},lp=null;function O0(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(n===null)throw Error("The stacks must reach the root at the same time. This is a bug in React.");O0(e,n)}t.context._currentValue=t.value}}function o8(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&o8(e)}function i8(e){var t=e.parent;t!==null&&i8(t),e.context._currentValue=e.value}function s8(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");e.depth===t.depth?O0(e,t):s8(e,t)}function a8(e,t){var n=t.parent;if(n===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");e.depth===n.depth?O0(e,n):a8(e,n),t.context._currentValue=t.value}function Ju(e){var t=lp;t!==e&&(t===null?i8(e):e===null?o8(t):t.depth===e.depth?O0(t,e):t.depth>e.depth?s8(t,e):a8(t,e),lp=e)}var w4={enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},t1={id:1,overflow:""};function cp(e,t,n){var r=e.id;e=e.overflow;var o=32-l0(r)-1;r&=~(1<<o),n+=1;var i=32-l0(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-l0(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var l0=Math.clz32?Math.clz32:Wte,Ute=Math.log,zte=Math.LN2;function Wte(e){return e>>>=0,e===0?32:31-(Ute(e)/zte|0)|0}function ys(){}var va=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.");function Hte(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(ys,ys),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ys,ys):(e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw c0=t,va}}var c0=null;function v0(){if(c0===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=c0;return c0=null,e}function Gte(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vte=typeof Object.is=="function"?Object.is:Gte,Xc=null,g1=null,y1=null,x1=null,u0=null,Un=null,Xy=!1,b0=!1,tx=0,nx=0,rx=-1,w0=0,Um=null,Zu=null,M0=0;function Vc(){if(Xc===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
511
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
512
- 2. You might be breaking the Rules of Hooks
513
- 3. You might have more than one copy of React in the same app
514
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Xc}function C4(){if(0<M0)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function v1(){return Un===null?u0===null?(Xy=!1,u0=Un=C4()):(Xy=!0,Un=u0):Un.next===null?(Xy=!1,Un=Un.next=C4()):(Xy=!0,Un=Un.next),Un}function Bm(){var e=Um;return Um=null,e}function ox(){x1=y1=g1=Xc=null,b0=!1,u0=null,M0=0,Un=Zu=null}function l8(e,t){return typeof t=="function"?t(e):t}function R4(e,t,n){if(Xc=Vc(),Un=v1(),Xy){var r=Un.queue;if(t=r.dispatch,Zu!==null&&(n=Zu.get(r),n!==void 0)){Zu.delete(r),r=Un.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return Un.memoizedState=r,[r,t]}return[Un.memoizedState,t]}return e=e===l8?typeof t=="function"?t():t:n!==void 0?n(t):t,Un.memoizedState=e,e=Un.queue={last:null,dispatch:null},e=e.dispatch=Yte.bind(null,Xc,e),[Un.memoizedState,e]}function T4(e,t){if(Xc=Vc(),Un=v1(),t=t===void 0?null:t,Un!==null){var n=Un.memoizedState;if(n!==null&&t!==null){var r=n[1];e:if(r===null)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!Vte(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Un.memoizedState=[e,t],e}function Yte(e,t,n){if(25<=M0)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(e===Xc)if(b0=!0,e={action:n,next:null},Zu===null&&(Zu=new Map),n=Zu.get(t),n===void 0)Zu.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function Xte(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function Jte(){throw Error("startTransition cannot be called during server rendering.")}function Kte(){throw Error("Cannot update optimistic state while rendering.")}function k4(e,t,n){return e!==void 0?"p"+e:(e=JSON.stringify([t,null,n]),t=O$.createHash("md5"),t.update(e),"k"+t.digest("hex"))}function E4(e,t,n){Vc();var r=nx++,o=y1;if(typeof e.$$FORM_ACTION=="function"){var i=null,s=x1;o=o.formState;var u=e.$$IS_SIGNATURE_EQUAL;if(o!==null&&typeof u=="function"){var p=o[1];u.call(e,o[2],o[3])&&(i=k4(n,s,r),p===i&&(rx=r,t=o[0]))}var f=e.bind(null,t);return e=function(y){f(y)},typeof f.$$FORM_ACTION=="function"&&(e.$$FORM_ACTION=function(y){y=f.$$FORM_ACTION(y),n!==void 0&&(n+="",y.action=n);var x=y.data;return x&&(i===null&&(i=k4(n,s,r)),x.append("$ACTION_KEY",i)),y}),[t,e,!1]}var g=e.bind(null,t);return[t,function(y){g(y)},!1]}function c8(e){var t=w0;return w0+=1,Um===null&&(Um=[]),Hte(Um,e,t)}function Zte(){throw Error("Cache cannot be refreshed during server rendering.")}var S4={readContext:function(e){return e._currentValue},use:function(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return c8(e);if(e.$$typeof===E0)return e._currentValue}throw Error("An unsupported type was passed to use(): "+String(e))},useContext:function(e){return Vc(),e._currentValue},useMemo:T4,useReducer:R4,useRef:function(e){Xc=Vc(),Un=v1();var t=Un.memoizedState;return t===null?(e={current:e},Un.memoizedState=e):t},useState:function(e){return R4(l8,e)},useInsertionEffect:ys,useLayoutEffect:ys,useCallback:function(e,t){return T4(function(){return e},t)},useImperativeHandle:ys,useEffect:ys,useDebugValue:ys,useDeferredValue:function(e,t){return Vc(),t!==void 0?t:e},useTransition:function(){return Vc(),[!1,Jte]},useId:function(){var e=g1.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-l0(e)-1)).toString(32)+t;var n=d0;if(n===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return t=tx++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return n()},useOptimistic:function(e){return Vc(),[e,Kte]},useActionState:E4,useFormState:E4,useHostTransitionStatus:function(){return Vc(),Y$},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=L$;return t},useCacheRefresh:function(){return Zte},useEffectEvent:function(){return Xte}},d0=null,Qte={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")}};function u8(e,t){e=(e.name||"Error")+": "+(e.message||"");for(var n=0;n<t.length;n++)e+=`
515
- at `+t[n].toString();return e}var zF,P4;function Nm(e){if(zF===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zF=t&&t[1]||"",P4=-1<n.stack.indexOf(`
516
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
517
- `+zF+e+P4}var WF=!1;function o0(e,t){if(!e||WF)return"";WF=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=u8;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(w){var x=w}Reflect.construct(e,[],y)}else{try{y.call()}catch(w){x=w}e.call(y.prototype)}}else{try{throw Error()}catch(w){x=w}(y=e())&&typeof y.catch=="function"&&y.catch(function(){})}}catch(w){if(w&&x&&typeof w.stack=="string")return[w.stack,x.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),s=i[0],u=i[1];if(s&&u){var p=s.split(`
518
- `),f=u.split(`
519
- `);for(o=r=0;r<p.length&&!p[r].includes("DetermineComponentFrameRoot");)r++;for(;o<f.length&&!f[o].includes("DetermineComponentFrameRoot");)o++;if(r===p.length||o===f.length)for(r=p.length-1,o=f.length-1;1<=r&&0<=o&&p[r]!==f[o];)o--;for(;1<=r&&0<=o;r--,o--)if(p[r]!==f[o]){if(r!==1||o!==1)do if(r--,o--,0>o||p[r]!==f[o]){var g=`
520
- `+p[r].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),g}while(1<=r&&0<=o);break}}}finally{WF=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Nm(n):""}function d8(e){if(typeof e=="string")return Nm(e);if(typeof e=="function")return e.prototype&&e.prototype.isReactComponent?o0(e,!0):o0(e,!1);if(typeof e=="object"&&e!==null){switch(e.$$typeof){case u1:return o0(e.render,!1);case p1:return o0(e.type,!1);case P0:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return Nm("Lazy")}return d8(e)}if(typeof e.name=="string"){e:{n=e.name,t=e.env;var r=e.debugLocation;if(r!=null&&(e=Error.prepareStackTrace,Error.prepareStackTrace=u8,r=r.stack,Error.prepareStackTrace=e,r.startsWith(`Error: react-stack-top-frame
521
- `)&&(r=r.slice(29)),e=r.indexOf(`
522
- `),e!==-1&&(r=r.slice(e+1)),e=r.indexOf("react_stack_bottom_frame"),e!==-1&&(e=r.lastIndexOf(`
523
- `,e)),e=e!==-1?r=r.slice(0,e):"",r=e.lastIndexOf(`
524
- `),e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1)){n=`
525
- `+e;break e}n=Nm(n+(t?" ["+t+"]":""))}return n}}switch(e){case d1:return Nm("SuspenseList");case S0:return Nm("Suspense")}return""}function Vm(e,t){return(500<t.byteSize||r8(t.contentState))&&t.contentPreamble===null}function jte(e){if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var t=e.environmentName;e=[e].slice(0),typeof e[0]=="string"?e.splice(0,1,"\x1B[0m\x1B[7m%c%s\x1B[0m%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"\x1B[0m\x1B[7m%c%s\x1B[0m%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),t=Nte.apply(console.error,e),t()}else console.error(e);return null}function p8(e,t,n,r,o,i,s,u,p,f,g){var y=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=r===void 0?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=y,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=o===void 0?jte:o,this.onPostpone=f===void 0?ys:f,this.onAllReady=i===void 0?ys:i,this.onShellReady=s===void 0?ys:s,this.onShellError=u===void 0?ys:u,this.onFatalError=p===void 0?ys:p,this.formState=g===void 0?null:g}function b1(e,t,n,r,o,i,s,u,p,f,g,y){return t=new p8(t,n,r,o,i,s,u,p,f,g,y),n=Qu(t,0,null,r,!1,!1),n.parentFlushed=!0,e=sx(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,t1,null,null),dp(e),t.pingedTasks.push(e),t}function f8(e,t,n,r,o,i,s,u,p,f,g){return e=b1(e,t,n,r,o,i,s,u,p,f,g,void 0),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}function w1(e,t,n,r,o,i,s,u,p){return n=new p8(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,o,i,s,u,p,null),n.nextSegmentId=t.nextSegmentId,typeof t.replaySlots=="number"?(r=Qu(n,0,null,t.rootFormatContext,!1,!1),r.parentFlushed=!0,e=sx(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,t1,null,null),dp(e),n.pingedTasks.push(e),n):(e=C1(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,t1,null,null),dp(e),n.pingedTasks.push(e),n)}function m8(e,t,n,r,o,i,s,u,p){return e=w1(e,t,n,r,o,i,s,u,p),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}var Zy=null;function pp(){if(Zy)return Zy;var e=e1.getStore();return e||null}function h8(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,e.trackedPostpones!==null||e.status===10?V4(function(){return l1(e)}):setImmediate(function(){return l1(e)}))}function ix(e,t,n,r,o){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:jF(),fallbackState:jF(),contentPreamble:r,fallbackPreamble:o,trackedContentKeyPath:null,trackedFallbackNode:null},t!==null&&(t.pendingTasks++,r=t.boundaries,r!==null&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),e=t.inheritedHoistables,e!==null&&Gm(n.contentState,e)),n}function sx(e,t,n,r,o,i,s,u,p,f,g,y,x,w,A){e.allPendingTasks++,o===null?e.pendingRootTasks++:o.pendingTasks++,w!==null&&w.pendingTasks++;var F={replay:null,node:n,childIndex:r,ping:function(){return h8(e,F)},blockedBoundary:o,blockedSegment:i,blockedPreamble:s,hoistableState:u,abortSet:p,keyPath:f,formatContext:g,context:y,treeContext:x,row:w,componentStack:A,thenableState:t};return p.add(F),F}function C1(e,t,n,r,o,i,s,u,p,f,g,y,x,w){e.allPendingTasks++,i===null?e.pendingRootTasks++:i.pendingTasks++,x!==null&&x.pendingTasks++,n.pendingTasks++;var A={replay:n,node:r,childIndex:o,ping:function(){return h8(e,A)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:s,abortSet:u,keyPath:p,formatContext:f,context:g,treeContext:y,row:x,componentStack:w,thenableState:t};return u.add(A),A}function Qu(e,t,n,r,o,i){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function dp(e){var t=e.node;if(typeof t=="object"&&t!==null)switch(t.$$typeof){case L4:e.componentStack={parent:e.componentStack,type:t.type}}}function n1(e){return e===null?null:{parent:e.parent,type:"Suspense Fallback"}}function ju(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do n+=d8(r.type),r=r.parent;while(r);var o=n}catch(i){o=`
526
- Error generating stack: `+i.message+`
527
- `+i.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function Di(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t=="string")return t}function ax(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination!==null?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function _i(e,t){R1(e,t.next,t.hoistables)}function R1(e,t,n){for(;t!==null;){n!==null&&(Gm(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var o=0;o<r.length;o++){var i=r[o];n!==null&&Gm(i.contentState,n),qu(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function r1(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,o=0;o<n.length;o++){var i=n[o];if(i.pendingTasks!==1||i.parentFlushed||Vm(e,i)){r=!1;break}}r&&R1(e,t,t.hoistables)}}function Jy(e){var t={pendingTasks:1,boundaries:null,hoistables:jF(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function A4(e,t,n,r,o){var i=t.keyPath,s=t.treeContext,u=t.row;t.keyPath=n,n=r.length;var p=null;if(t.replay!==null){var f=t.replay.slots;if(f!==null&&typeof f=="object")for(var g=0;g<n;g++){var y=o!=="backwards"&&o!=="unstable_legacy-backwards"?g:n-1-g,x=r[y];t.row=p=Jy(p),t.treeContext=cp(s,n,y);var w=f[y];typeof w=="number"?(I0(e,t,w,x,y),delete f[y]):_o(e,t,x,y),--p.pendingTasks===0&&_i(e,p)}else for(f=0;f<n;f++)g=o!=="backwards"&&o!=="unstable_legacy-backwards"?f:n-1-f,y=r[g],t.row=p=Jy(p),t.treeContext=cp(s,n,g),_o(e,t,y,g),--p.pendingTasks===0&&_i(e,p)}else if(o!=="backwards"&&o!=="unstable_legacy-backwards")for(o=0;o<n;o++)f=r[o],t.row=p=Jy(p),t.treeContext=cp(s,n,o),_o(e,t,f,o),--p.pendingTasks===0&&_i(e,p);else{for(o=t.blockedSegment,f=o.children.length,g=o.chunks.length,y=n-1;0<=y;y--){x=r[y],t.row=p=Jy(p),t.treeContext=cp(s,n,y),w=Qu(e,g,null,t.formatContext,y===0?o.lastPushedText:!0,!0),o.children.splice(f,0,w),t.blockedSegment=w;try{_o(e,t,x,y),w.lastPushedText&&w.textEmbedded&&w.chunks.push(Pl),w.status=1,zm(e,t.blockedBoundary,w),--p.pendingTasks===0&&_i(e,p)}catch(A){throw w.status=e.status===12?3:4,A}}t.blockedSegment=o,o.lastPushedText=!1}u!==null&&p!==null&&0<p.pendingTasks&&(u.pendingTasks++,p.next=u),t.treeContext=s,t.row=u,t.keyPath=i}function F4(e,t,n,r,o,i){var s=t.thenableState;for(t.thenableState=null,Xc={},g1=t,y1=e,x1=n,nx=tx=0,rx=-1,w0=0,Um=s,e=r(o,i);b0;)b0=!1,nx=tx=0,rx=-1,w0=0,M0+=1,Un=null,e=r(o,i);return ox(),e}function O4(e,t,n,r,o,i,s){var u=!1;if(i!==0&&e.formState!==null){var p=t.blockedSegment;if(p!==null){u=!0,p=p.chunks;for(var f=0;f<i;f++)f===s?p.push(tee):p.push(nee)}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=cp(n,1,0),_o(e,t,r,-1),t.treeContext=n):u?_o(e,t,r,-1):qa(e,t,r,-1),t.keyPath=i}function C0(e,t,n,r,o,i){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){var s=o;if("ref"in o){s={};for(var u in o)u!=="ref"&&(s[u]=o[u])}var p=r.defaultProps;if(p){s===o&&(s=Xs({},s,o));for(var f in p)s[f]===void 0&&(s[f]=p[f])}o=s,s=b4,p=r.contextType,typeof p=="object"&&p!==null&&(s=p._currentValue),s=new r(o,s);var g=s.state!==void 0?s.state:null;if(s.updater=w4,s.props=o,s.state=g,p={queue:[],replace:!1},s._reactInternals=p,i=r.contextType,s.context=typeof i=="object"&&i!==null?i._currentValue:b4,i=r.getDerivedStateFromProps,typeof i=="function"&&(i=i(o,g),g=i==null?g:Xs({},g,i),s.state=g),typeof r.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function"))if(r=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),r!==s.state&&w4.enqueueReplaceState(s,s.state,null),p.queue!==null&&0<p.queue.length)if(r=p.queue,i=p.replace,p.queue=null,p.replace=!1,i&&r.length===1)s.state=r[0];else{for(p=i?r[0]:s.state,g=!0,i=i?1:0;i<r.length;i++)f=r[i],f=typeof f=="function"?f.call(s,p,o,void 0):f,f!=null&&(g?(g=!1,p=Xs({},p,f)):Xs(p,f));s.state=p}else p.queue=null;if(r=s.render(),e.status===12)throw null;o=t.keyPath,t.keyPath=n,qa(e,t,r,-1),t.keyPath=o}else{if(r=F4(e,t,n,r,o,void 0),e.status===12)throw null;O4(e,t,n,r,tx!==0,nx,rx)}else if(typeof r=="string")if(s=t.blockedSegment,s===null)s=o.children,p=t.formatContext,g=t.keyPath,t.formatContext=o4(p,r,o),t.keyPath=n,_o(e,t,s,-1),t.formatContext=p,t.keyPath=g;else{if(g=lee(s.chunks,r,o,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,s.lastPushedText),s.lastPushedText=!1,p=t.formatContext,i=t.keyPath,t.keyPath=n,(t.formatContext=o4(p,r,o)).insertionMode===3){n=Qu(e,0,null,t.formatContext,!1,!1),s.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,_o(e,t,g,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Pl),n.status=1,zm(e,t.blockedBoundary,n)}finally{t.blockedSegment=s}}else _o(e,t,g,-1);t.formatContext=p,t.keyPath=i;e:{switch(t=s.chunks,e=e.resumableState,r){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=p.insertionMode){e.hasBody=!0;break e}break;case"html":if(p.insertionMode===0){e.hasHtml=!0;break e}break;case"head":if(1>=p.insertionMode)break e}t.push(up(r))}s.lastPushedText=!1}else{switch(r){case _$:case U4:case z4:case B4:r=t.keyPath,t.keyPath=n,qa(e,t,o.children,-1),t.keyPath=r;return;case H4:r=t.blockedSegment,r===null?o.mode!=="hidden"&&(r=t.keyPath,t.keyPath=n,_o(e,t,o.children,-1),t.keyPath=r):o.mode!=="hidden"&&(r.chunks.push(pee),r.lastPushedText=!1,s=t.keyPath,t.keyPath=n,_o(e,t,o.children,-1),t.keyPath=s,r.chunks.push(fee),r.lastPushedText=!1);return;case d1:e:{if(r=o.children,o=o.revealOrder,o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards"){if(f0(r)){A4(e,t,n,r,o);break e}if((s=G4(r))&&(s=s.call(r))){if(p=s.next(),!p.done){do p=s.next();while(!p.done);A4(e,t,n,r,o)}break e}}o==="together"?(o=t.keyPath,s=t.row,p=t.row=Jy(null),p.boundaries=[],p.together=!0,t.keyPath=n,qa(e,t,r,-1),--p.pendingTasks===0&&_i(e,p),t.keyPath=o,t.row=s,s!==null&&0<p.pendingTasks&&(s.pendingTasks++,p.next=s)):(o=t.keyPath,t.keyPath=n,qa(e,t,r,-1),t.keyPath=o)}return;case N$:case D$:throw Error("ReactDOMServer does not yet support scope components.");case S0:e:if(t.replay!==null){r=t.keyPath,s=t.formatContext,p=t.row,t.keyPath=n,t.formatContext=s0(e.resumableState,s),t.row=null,n=o.children;try{_o(e,t,n,-1)}finally{t.keyPath=r,t.formatContext=s,t.row=p}}else{r=t.keyPath,i=t.formatContext;var y=t.row;f=t.blockedBoundary,u=t.blockedPreamble;var x=t.hoistableState,w=t.blockedSegment,A=o.fallback;o=o.children;var F=new Set,D=2>t.formatContext.insertionMode?ix(e,t.row,F,qy(),qy()):ix(e,t.row,F,null,null);e.trackedPostpones!==null&&(D.trackedContentKeyPath=n);var L=Qu(e,w.chunks.length,D,t.formatContext,!1,!1);w.children.push(L),w.lastPushedText=!1;var U=Qu(e,0,null,t.formatContext,!1,!1);if(U.parentFlushed=!0,e.trackedPostpones!==null){s=t.componentStack,p=[n[0],"Suspense Fallback",n[2]],g=[p[1],p[2],[],null],e.trackedPostpones.workingMap.set(p,g),D.trackedFallbackNode=g,t.blockedSegment=L,t.blockedPreamble=D.fallbackPreamble,t.keyPath=p,t.formatContext=XF(e.resumableState,i),t.componentStack=n1(s),L.status=6;try{_o(e,t,A,-1),L.lastPushedText&&L.textEmbedded&&L.chunks.push(Pl),L.status=1,zm(e,f,L)}catch(Y){throw L.status=e.status===12?3:4,Y}finally{t.blockedSegment=w,t.blockedPreamble=u,t.keyPath=r,t.formatContext=i}t=sx(e,null,o,-1,D,U,D.contentPreamble,D.contentState,t.abortSet,n,s0(e.resumableState,t.formatContext),t.context,t.treeContext,null,s),dp(t),e.pingedTasks.push(t)}else{t.blockedBoundary=D,t.blockedPreamble=D.contentPreamble,t.hoistableState=D.contentState,t.blockedSegment=U,t.keyPath=n,t.formatContext=s0(e.resumableState,i),t.row=null,U.status=6;try{if(_o(e,t,o,-1),U.lastPushedText&&U.textEmbedded&&U.chunks.push(Pl),U.status=1,zm(e,D,U),lx(D,U),D.pendingTasks===0&&D.status===0){if(D.status=1,!Vm(e,D)){y!==null&&--y.pendingTasks===0&&_i(e,y),e.pendingRootTasks===0&&t.blockedPreamble&&px(e);break e}}else y!==null&&y.together&&r1(e,y)}catch(Y){D.status=4,e.status===12?(U.status=3,s=e.fatalError):(U.status=4,s=Y),p=ju(t.componentStack),g=Di(e,s,p),D.errorDigest=g,T1(e,D)}finally{t.blockedBoundary=f,t.blockedPreamble=u,t.hoistableState=x,t.blockedSegment=w,t.keyPath=r,t.formatContext=i,t.row=y}t=sx(e,null,A,-1,f,L,D.fallbackPreamble,D.fallbackState,F,[n[0],"Suspense Fallback",n[2]],XF(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,n1(t.componentStack)),dp(t),e.pingedTasks.push(t)}}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case u1:if("ref"in o)for(w in s={},o)w!=="ref"&&(s[w]=o[w]);else s=o;r=F4(e,t,n,r.render,s,i),O4(e,t,n,r,tx!==0,nx,rx);return;case p1:C0(e,t,n,r.type,o,i);return;case E0:if(p=o.children,s=t.keyPath,o=o.value,g=r._currentValue,r._currentValue=o,i=lp,lp=r={parent:i,depth:i===null?0:i.depth+1,context:r,parentValue:g,value:o},t.context=r,t.keyPath=n,qa(e,t,p,-1),e=lp,e===null)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");e.context._currentValue=e.parentValue,e=lp=e.parent,t.context=e,t.keyPath=s;return;case W4:o=o.children,r=o(r._context._currentValue),o=t.keyPath,t.keyPath=n,qa(e,t,r,-1),t.keyPath=o;return;case P0:if(s=r._init,r=s(r._payload),e.status===12)throw null;C0(e,t,n,r,o,i);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((r==null?r:typeof r)+"."))}}function I0(e,t,n,r,o){var i=t.replay,s=t.blockedBoundary,u=Qu(e,0,null,t.formatContext,!1,!1);u.id=n,u.parentFlushed=!0;try{t.replay=null,t.blockedSegment=u,_o(e,t,r,o),u.status=1,zm(e,s,u),s===null?e.completedRootSegment=u:(lx(s,u),s.parentFlushed&&e.partialBoundaries.push(s))}finally{t.replay=i,t.blockedSegment=null}}function qa(e,t,n,r){t.replay!==null&&typeof t.replay.slots=="number"?I0(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,dp(t),o1(e,t),t.componentStack=n)}function o1(e,t){var n=t.node,r=t.childIndex;if(n!==null){if(typeof n=="object"){switch(n.$$typeof){case L4:var o=n.type,i=n.key,s=n.props;n=s.ref;var u=n!==void 0?n:null,p=x0(o),f=i??(r===-1?0:r);if(i=[t.keyPath,p,f],t.replay!==null)e:{var g=t.replay;for(r=g.nodes,n=0;n<r.length;n++){var y=r[n];if(f===y[1]){if(y.length===4){if(p!==null&&p!==y[0])throw Error("Expected the resume to render <"+y[0]+"> in this slot but instead it rendered <"+p+">. The tree doesn't match so React will fallback to client rendering.");var x=y[2];p=y[3],f=t.node,t.replay={nodes:x,slots:p,pendingTasks:1};try{if(C0(e,t,i,o,s,u),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");t.replay.pendingTasks--}catch(M){if(typeof M=="object"&&M!==null&&(M===va||typeof M.then=="function"))throw t.node===f?t.replay=g:r.splice(n,1),M;t.replay.pendingTasks--,s=ju(t.componentStack),i=e,e=t.blockedBoundary,o=M,s=Di(i,o,s),dx(i,e,x,p,o,s)}t.replay=g}else{if(o!==S0)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(x0(o)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");t:{g=void 0,o=y[5],u=y[2],p=y[3],f=y[4]===null?[]:y[4][2],y=y[4]===null?null:y[4][3];var w=t.keyPath,A=t.formatContext,F=t.row,D=t.replay,L=t.blockedBoundary,U=t.hoistableState,Y=s.children,G=s.fallback,W=new Set;s=2>t.formatContext.insertionMode?ix(e,t.row,W,qy(),qy()):ix(e,t.row,W,null,null),s.parentFlushed=!0,s.rootSegmentID=o,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=i,t.formatContext=s0(e.resumableState,A),t.row=null,t.replay={nodes:u,slots:p,pendingTasks:1};try{if(_o(e,t,Y,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");if(t.replay.pendingTasks--,s.pendingTasks===0&&s.status===0){s.status=1,e.completedBoundaries.push(s);break t}}catch(M){s.status=4,x=ju(t.componentStack),g=Di(e,M,x),s.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=L,t.hoistableState=U,t.replay=D,t.keyPath=w,t.formatContext=A,t.row=F}x=C1(e,null,{nodes:f,slots:y,pendingTasks:0},G,-1,L,s.fallbackState,W,[i[0],"Suspense Fallback",i[2]],XF(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,n1(t.componentStack)),dp(x),e.pingedTasks.push(x)}}r.splice(n,1);break e}}}else C0(e,t,i,o,s,u);return;case N4:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case P0:if(x=n._init,n=x(n._payload),e.status===12)throw null;qa(e,t,n,r);return}if(f0(n)){i1(e,t,n,r);return}if((x=G4(n))&&(x=x.call(n))){if(n=x.next(),!n.done){s=[];do s.push(n.value),n=x.next();while(!n.done);i1(e,t,s,r)}return}if(typeof n.then=="function")return t.thenableState=null,qa(e,t,c8(n),r);if(n.$$typeof===E0)return qa(e,t,n._currentValue,r);throw r=Object.prototype.toString.call(n),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}typeof n=="string"?(r=t.blockedSegment,r!==null&&(r.lastPushedText=i4(r.chunks,n,e.renderState,r.lastPushedText))):(typeof n=="number"||typeof n=="bigint")&&(r=t.blockedSegment,r!==null&&(r.lastPushedText=i4(r.chunks,""+n,e.renderState,r.lastPushedText)))}}function i1(e,t,n,r){var o=t.keyPath;if(r!==-1&&(t.keyPath=[t.keyPath,"Fragment",r],t.replay!==null)){for(var i=t.replay,s=i.nodes,u=0;u<s.length;u++){var p=s[u];if(p[1]===r){r=p[2],p=p[3],t.replay={nodes:r,slots:p,pendingTasks:1};try{if(i1(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");t.replay.pendingTasks--}catch(y){if(typeof y=="object"&&y!==null&&(y===va||typeof y.then=="function"))throw y;t.replay.pendingTasks--,n=ju(t.componentStack);var f=t.blockedBoundary,g=y;n=Di(e,g,n),dx(e,f,r,p,g,n)}t.replay=i,s.splice(u,1);break}}t.keyPath=o;return}if(i=t.treeContext,s=n.length,t.replay!==null&&(u=t.replay.slots,u!==null&&typeof u=="object")){for(r=0;r<s;r++)p=n[r],t.treeContext=cp(i,s,r),f=u[r],typeof f=="number"?(I0(e,t,f,p,r),delete u[r]):_o(e,t,p,r);t.treeContext=i,t.keyPath=o;return}for(u=0;u<s;u++)r=n[u],t.treeContext=cp(i,s,u),_o(e,t,r,u);t.treeContext=i,t.keyPath=o}function g8(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var r=n.trackedFallbackNode,o=[],i=t.workingMap.get(e);return i===void 0?(n=[e[1],e[2],o,null,r,n.rootSegmentID],t.workingMap.set(e,n),T0(n,e[0],t),n):(i[4]=r,i[5]=n.rootSegmentID,i)}function s1(e,t,n,r){r.status=5;var o=n.keyPath,i=n.blockedBoundary;if(i===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(i!==null&&i.status===0){var s=g8(e,t,i);if(i.trackedContentKeyPath===o&&n.childIndex===-1){r.id===-1&&(r.id=r.parentFlushed?i.rootSegmentID:e.nextSegmentId++),s[3]=r.id;return}}if(r.id===-1&&(r.id=r.parentFlushed&&i!==null?i.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)o===null?t.rootSlots=r.id:(n=t.workingMap.get(o),n===void 0?(n=[o[1],o[2],[],r.id],T0(n,o[0],t)):n[3]=r.id);else{if(o===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.")}else if(i=t.workingMap,s=i.get(o),s===void 0)e={},s=[o[1],o[2],[],e],i.set(o,s),T0(s,o[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");e[n.childIndex]=r.id}}}function T1(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function M4(e,t,n){return C1(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function I4(e,t,n){var r=t.blockedSegment,o=Qu(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,sx(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function _o(e,t,n,r){var o=t.formatContext,i=t.context,s=t.keyPath,u=t.treeContext,p=t.componentStack,f=t.blockedSegment;if(f===null){f=t.replay;try{return qa(e,t,n,r)}catch(x){if(ox(),n=x===va?v0():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){r=x===va?Bm():null,e=M4(e,t,r).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,t.replay=f,Ju(i);return}if(n.message==="Maximum call stack size exceeded"){n=x===va?Bm():null,n=M4(e,t,n),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,t.replay=f,Ju(i);return}}}}else{var g=f.children.length,y=f.chunks.length;try{return qa(e,t,n,r)}catch(x){if(ox(),f.children.length=g,f.chunks.length=y,n=x===va?v0():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){f=n,n=x===va?Bm():null,e=I4(e,t,n).ping,f.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,Ju(i);return}if(n.message==="Maximum call stack size exceeded"){f=x===va?Bm():null,f=I4(e,t,f),e.pingedTasks.push(f),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=p,Ju(i);return}}}}throw t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,Ju(i),n}function qte(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,qu(this,t,e.row,n))}function dx(e,t,n,r,o,i){for(var s=0;s<n.length;s++){var u=n[s];if(u.length===4)dx(e,t,u[2],u[3],o,i);else{u=u[5];var p=e,f=i,g=ix(p,null,new Set,null,null);g.parentFlushed=!0,g.rootSegmentID=u,g.status=4,g.errorDigest=f,g.parentFlushed&&p.clientRenderedBoundaries.push(g)}}if(n.length=0,r!==null){if(t===null)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(t.status!==4&&(t.status=4,t.errorDigest=i,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r=="object")for(var y in r)delete r[y]}}function a1(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(o!==null){if(o.status===6)return;o.status=3}var i=ju(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&o!==null?(r=t.trackedPostpones,Di(t,n,i),s1(t,r,e,o),qu(t,null,e.row,o)):(Di(t,n,i),ax(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(o=Di(t,n,i),dx(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,t.pendingRootTasks===0&&k1(t)}}else{var s=t.trackedPostpones;if(r.status!==4){if(s!==null&&o!==null)return Di(t,n,i),s1(t,s,e,o),r.fallbackAbortableTasks.forEach(function(u){return a1(u,t,n)}),r.fallbackAbortableTasks.clear(),qu(t,r,e.row,o);r.status=4,o=Di(t,n,i),r.status=4,r.errorDigest=o,T1(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,o=r.row,o!==null&&--o.pendingTasks===0&&_i(t,o),r.fallbackAbortableTasks.forEach(function(u){return a1(u,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&_i(t,e),t.allPendingTasks--,t.allPendingTasks===0&&R0(t)}function D0(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var i=o.preconnects;if(o.fontPreloads&&(i&&(i+=", "),i+=o.fontPreloads),o.highImagePreloads&&(i&&(i+=", "),i+=o.highImagePreloads),!t){var s=n.styles.values(),u=s.next();e:for(;0<o.remainingCapacity&&!u.done;u=s.next())for(var p=u.value.sheets.values(),f=p.next();0<o.remainingCapacity&&!f.done;f=p.next()){var g=f.value,y=g.props,x=y.href,w=g.props,A=y0(w.href,"style",{crossOrigin:w.crossOrigin,integrity:w.integrity,nonce:w.nonce,type:w.type,fetchPriority:w.fetchPriority,referrerPolicy:w.referrerPolicy,media:w.media});if(0<=(o.remainingCapacity-=A.length+2))n.resets.style[x]=ja,i&&(i+=", "),i+=A,n.resets.style[x]=typeof y.crossOrigin=="string"||typeof y.integrity=="string"?[y.crossOrigin,y.integrity]:ja;else break e}}r(i?{Link:i}:{})}}}catch(F){Di(e,F,{})}}function k1(e){e.trackedPostpones===null&&D0(e,!0),e.trackedPostpones===null&&px(e),e.onShellError=ys,e=e.onShellReady,e()}function R0(e){D0(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),px(e),e=e.onAllReady,e()}function lx(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||lx(e,n)}else e.completedSegments.push(t)}function zm(e,t,n){if(j6!==null){n=n.chunks;for(var r=0,o=0;o<n.length;o++)r+=j6(n[o]);t===null?e.byteSize+=r:t.byteSize+=r}}function qu(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?_i(e,n):n.together&&r1(e,n)),e.allPendingTasks--,t===null){if(r!==null&&r.parentFlushed){if(e.completedRootSegment!==null)throw Error("There can only be one root segment. This is a bug in React.");e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&k1(e)}else if(t.pendingTasks--,t.status!==4)if(t.pendingTasks===0){if(t.status===0&&(t.status=1),r!==null&&r.parentFlushed&&(r.status===1||r.status===3)&&lx(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&Gm(n.hoistables,t.contentState),Vm(e,t)||(t.fallbackAbortableTasks.forEach(qte,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&_i(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&px(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var o=t.next;if(o!==null&&(r=o.boundaries,r!==null))for(o.boundaries=null,o=0;o<r.length;o++){var i=r[o];g8(e,n,i),qu(e,i,null,null)}}--t.pendingTasks===0&&_i(e,t)}}else r===null||!r.parentFlushed||r.status!==1&&r.status!==3||(lx(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&r1(e,t);e.allPendingTasks===0&&R0(e)}function l1(e){if(e.status!==14&&e.status!==13){var t=lp,n=_m.H;_m.H=S4;var r=_m.A;_m.A=Qte;var o=Zy;Zy=e;var i=d0;d0=e.resumableState;try{var s=e.pingedTasks,u;for(u=0;u<s.length;u++){var p=s[u],f=e,g=p.blockedSegment;if(g===null){var y=f;if(p.replay.pendingTasks!==0){Ju(p.context);try{if(typeof p.replay.slots=="number"?I0(y,p,p.replay.slots,p.node,p.childIndex):o1(y,p),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");p.replay.pendingTasks--,p.abortSet.delete(p),qu(y,p.blockedBoundary,p.row,null)}catch(ge){ox();var x=ge===va?v0():ge;if(typeof x=="object"&&x!==null&&typeof x.then=="function"){var w=p.ping;x.then(w,w),p.thenableState=ge===va?Bm():null}else{p.replay.pendingTasks--,p.abortSet.delete(p);var A=ju(p.componentStack);f=void 0;var F=y,D=p.blockedBoundary,L=y.status===12?y.fatalError:x,U=p.replay.nodes,Y=p.replay.slots;f=Di(F,L,A),dx(F,D,U,Y,L,f),y.pendingRootTasks--,y.pendingRootTasks===0&&k1(y),y.allPendingTasks--,y.allPendingTasks===0&&R0(y)}}finally{}}}else if(y=void 0,F=g,F.status===0){F.status=6,Ju(p.context);var G=F.children.length,W=F.chunks.length;try{o1(f,p),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Pl),p.abortSet.delete(p),F.status=1,zm(f,p.blockedBoundary,F),qu(f,p.blockedBoundary,p.row,F)}catch(ge){ox(),F.children.length=G,F.chunks.length=W;var M=ge===va?v0():f.status===12?f.fatalError:ge;if(f.status===12&&f.trackedPostpones!==null){var ne=f.trackedPostpones,Re=ju(p.componentStack);p.abortSet.delete(p),Di(f,M,Re),s1(f,ne,p,F),qu(f,p.blockedBoundary,p.row,F)}else if(typeof M=="object"&&M!==null&&typeof M.then=="function"){F.status=0,p.thenableState=ge===va?Bm():null;var ve=p.ping;M.then(ve,ve)}else{var re=ju(p.componentStack);p.abortSet.delete(p),F.status=4;var me=p.blockedBoundary,ce=p.row;if(ce!==null&&--ce.pendingTasks===0&&_i(f,ce),f.allPendingTasks--,y=Di(f,M,re),me===null)ax(f,M);else if(me.pendingTasks--,me.status!==4){me.status=4,me.errorDigest=y,T1(f,me);var Ce=me.row;Ce!==null&&--Ce.pendingTasks===0&&_i(f,Ce),me.parentFlushed&&f.clientRenderedBoundaries.push(me),f.pendingRootTasks===0&&f.trackedPostpones===null&&me.contentPreamble!==null&&px(f)}f.allPendingTasks===0&&R0(f)}}finally{}}}s.splice(0,u),e.destination!==null&&_0(e,e.destination)}catch(ge){Di(e,ge,{}),ax(e,ge)}finally{d0=i,_m.H=n,_m.A=r,n===S4&&Ju(t),Zy=o}}}function HF(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=y8(e,t.children[o],n)||r;return r}function y8(e,t,n){var r=t.boundary;if(r===null)return HF(e,t,n);var o=r.contentPreamble,i=r.fallbackPreamble;if(o===null||i===null)return!1;switch(r.status){case 1:if(h4(e.renderState,o),e.byteSize+=r.byteSize,t=r.completedSegments[0],!t)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return HF(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return h4(e.renderState,i),HF(e,t,n);default:return!0}}function px(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=y8(e,e.completedRootSegment,t),o=e.renderState.preamble;r===!1||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function i0(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,Q(t,uee),Q(t,e.placeholderPrefix),e=r.toString(16),Q(t,e),Rn(t,dee);case 1:n.status=2;var o=!0,i=n.chunks,s=0;n=n.children;for(var u=0;u<n.length;u++){for(o=n[u];s<o.index;s++)Q(t,i[s]);o=ux(e,t,o,r)}for(;s<i.length-1;s++)Q(t,i[s]);return s<i.length&&(o=Rn(t,i[s])),o;case 3:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}var cx=0;function ux(e,t,n,r){var o=n.boundary;if(o===null)return i0(e,t,n,r);if(o.parentFlushed=!0,o.status===4){var i=o.row;i!==null&&--i.pendingTasks===0&&_i(e,i),o=o.errorDigest,Rn(t,yee),Q(t,vee),o&&(Q(t,wee),Q(t,$e(o)),Q(t,bee)),Rn(t,Cee),i0(e,t,n,r)}else if(o.status!==1)o.status===0&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),g4(t,e.renderState,o.rootSegmentID),r&&Gm(r,o.fallbackState),i0(e,t,n,r);else if(!p0&&Vm(e,o)&&(cx+o.byteSize>e.progressiveChunkSize||r8(o.contentState)))o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),g4(t,e.renderState,o.rootSegmentID),i0(e,t,n,r);else{if(cx+=o.byteSize,r&&Gm(r,o.contentState),n=o.row,n!==null&&Vm(e,o)&&--n.pendingTasks===0&&_i(e,n),Rn(t,mee),n=o.completedSegments,n.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");ux(e,t,n[0],r)}return Rn(t,xee)}function GF(e,t,n,r){return Vee(t,e.renderState,n.parentFormatContext,n.id),ux(e,t,n,r),Yee(t,n.parentFormatContext)}function D4(e,t,n){cx=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)x8(e,t,n,r[o]);r.length=0,r=n.row,r!==null&&Vm(e,n)&&--r.pendingTasks===0&&_i(e,r),e8(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,o=n.rootSegmentID,n=n.contentState;var i=e.stylesToHoist;return e.stylesToHoist=!1,Q(t,e.startInlineScript),Q(t,xr),i?(!(r.instructions&4)&&(r.instructions|=4,Q(t,rte)),!(r.instructions&2)&&(r.instructions|=2,Q(t,y4)),r.instructions&8?Q(t,qee):(r.instructions|=8,Q(t,jee))):(!(r.instructions&2)&&(r.instructions|=2,Q(t,y4)),Q(t,Qee)),r=o.toString(16),Q(t,e.boundaryPrefix),Q(t,r),Q(t,$ee),Q(t,e.segmentPrefix),Q(t,r),i?(Q(t,ete),Ete(t,n)):Q(t,tte),n=Rn(t,nte),$4(t,e)&&n}function x8(e,t,n,r){if(r.status===2)return!0;var o=n.contentState,i=r.id;if(i===-1){if((r.id=n.rootSegmentID)===-1)throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return GF(e,t,r,o)}return i===n.rootSegmentID?GF(e,t,r,o):(GF(e,t,r,o),n=e.resumableState,e=e.renderState,Q(t,e.startInlineScript),Q(t,xr),n.instructions&1?Q(t,Jee):(n.instructions|=1,Q(t,Xee)),Q(t,e.segmentPrefix),i=i.toString(16),Q(t,i),Q(t,Kee),Q(t,e.placeholderPrefix),Q(t,i),t=Rn(t,Zee),t)}var p0=!1;function _0(e,t){or=new Uint8Array(2048),Bn=0,Wm=!0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var o=e.completedPreambleSegments;if(o===null)return;cx=e.byteSize;var i=e.resumableState,s=e.renderState,u=s.preamble,p=u.htmlChunks,f=u.headChunks,g;if(p){for(g=0;g<p.length;g++)Q(t,p[g]);if(f)for(g=0;g<f.length;g++)Q(t,f[g]);else Q(t,uo("head")),Q(t,xr)}else if(f)for(g=0;g<f.length;g++)Q(t,f[g]);var y=s.charsetChunks;for(g=0;g<y.length;g++)Q(t,y[g]);y.length=0,s.preconnects.forEach(Sl,t),s.preconnects.clear();var x=s.viewportChunks;for(g=0;g<x.length;g++)Q(t,x[g]);x.length=0,s.fontPreloads.forEach(Sl,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(Sl,t),s.highImagePreloads.clear(),Hm=s,s.styles.forEach(Rte,t),Hm=null;var w=s.importMapChunks;for(g=0;g<w.length;g++)Q(t,w[g]);w.length=0,s.bootstrapScripts.forEach(Sl,t),s.scripts.forEach(Sl,t),s.scripts.clear(),s.bulkPreloads.forEach(Sl,t),s.bulkPreloads.clear(),p||f||(i.instructions|=32);var A=s.hoistableChunks;for(g=0;g<A.length;g++)Q(t,A[g]);for(i=A.length=0;i<o.length;i++){var F=o[i];for(s=0;s<F.length;s++)ux(e,t,F[s],null)}var D=e.renderState.preamble,L=D.headChunks;(D.htmlChunks||L)&&Q(t,up("head"));var U=D.bodyChunks;if(U)for(o=0;o<U.length;o++)Q(t,U[o]);ux(e,t,r,null),e.completedRootSegment=null;var Y=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var G=e.resumableState;if(!(G.instructions&64)){if(G.instructions|=64,Q(t,Y.startInlineScript),!(G.instructions&32)){G.instructions|=32;var W="_"+G.idPrefix+"R_";Q(t,n8),Q(t,$e(W)),Q(t,vr)}Q(t,xr),Q(t,cee),Rn(t,m0)}}$4(t,Y)}var M=e.renderState;r=0;var ne=M.viewportChunks;for(r=0;r<ne.length;r++)Q(t,ne[r]);ne.length=0,M.preconnects.forEach(Sl,t),M.preconnects.clear(),M.fontPreloads.forEach(Sl,t),M.fontPreloads.clear(),M.highImagePreloads.forEach(Sl,t),M.highImagePreloads.clear(),M.styles.forEach(kte,t),M.scripts.forEach(Sl,t),M.scripts.clear(),M.bulkPreloads.forEach(Sl,t),M.bulkPreloads.clear();var Re=M.hoistableChunks;for(r=0;r<Re.length;r++)Q(t,Re[r]);Re.length=0;var ve=e.clientRenderedBoundaries;for(n=0;n<ve.length;n++){var re=ve[n];M=t;var me=e.resumableState,ce=e.renderState,Ce=re.rootSegmentID,ge=re.errorDigest;Q(M,ce.startInlineScript),Q(M,xr),me.instructions&4?Q(M,ite):(me.instructions|=4,Q(M,ote)),Q(M,ce.boundaryPrefix),Q(M,Ce.toString(16)),Q(M,ste),ge&&(Q(M,ate),Q(M,ute(ge||"")));var Pe=Rn(M,lte);if(!Pe){e.destination=null,n++,ve.splice(0,n);return}}ve.splice(0,n);var ot=e.completedBoundaries;for(n=0;n<ot.length;n++)if(!D4(e,t,ot[n])){e.destination=null,n++,ot.splice(0,n);return}ot.splice(0,n),DF(t),or=new Uint8Array(2048),Bn=0,p0=Wm=!0;var Xe=e.partialBoundaries;for(n=0;n<Xe.length;n++){var Ze=Xe[n];e:{ve=e,re=t,cx=Ze.byteSize;var Tn=Ze.completedSegments;for(Pe=0;Pe<Tn.length;Pe++)if(!x8(ve,re,Ze,Tn[Pe])){Pe++,Tn.splice(0,Pe);var Jt=!1;break e}Tn.splice(0,Pe);var be=Ze.row;be!==null&&be.together&&Ze.pendingTasks===1&&(be.pendingTasks===1?R1(ve,be,be.hoistables):be.pendingTasks--),Jt=e8(re,Ze.contentState,ve.renderState)}if(!Jt){e.destination=null,n++,Xe.splice(0,n);return}}Xe.splice(0,n),p0=!1;var he=e.completedBoundaries;for(n=0;n<he.length;n++)if(!D4(e,t,he[n])){e.destination=null,n++,he.splice(0,n);return}he.splice(0,n)}}finally{p0=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&Q(t,up("body")),n.hasHtml&&Q(t,up("html")),DF(t),Q6(t),e.status=14,t.end(),e.destination=null):(DF(t),Q6(t))}}function ed(e){e.flushScheduled=e.destination!==null,V4(function(){return e1.run(e,l1,e)}),setImmediate(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&e1.run(e,$te,e)})}function $te(e){D0(e,e.pendingRootTasks===0)}function fp(e){e.flushScheduled===!1&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,setImmediate(function(){var t=e.destination;t?_0(e,t):e.flushScheduled=!1}))}function Jc(e,t){if(e.status===13)e.status=14,t.destroy(e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{_0(e,t)}catch(n){Di(e,n,{}),ax(e,n)}}}function po(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=t===void 0?Error("The render was aborted by the server without a reason."):typeof t=="object"&&t!==null&&typeof t.then=="function"?Error("The render was aborted by the server with a promise."):t;e.fatalError=r,n.forEach(function(o){return a1(o,e,r)}),n.clear()}e.destination!==null&&_0(e,e.destination)}catch(o){Di(e,o,{}),ax(e,o)}}function T0(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,o=r.get(t);o===void 0&&(o=[t[1],t[2],[],null],r.set(t,o),T0(o,t[0],n)),o[2].push(e)}}function L0(e){var t=e.trackedPostpones;if(t===null||t.rootNodes.length===0&&t.rootSlots===null)return e.trackedPostpones=null;if(e.completedRootSegment===null||e.completedRootSegment.status!==5&&e.completedPreambleSegments!==null){var n=e.nextSegmentId,r=t.rootSlots,o=e.resumableState;o.bootstrapScriptContent=void 0,o.bootstrapScripts=void 0,o.bootstrapModules=void 0}else{n=0,r=-1,o=e.resumableState;var i=e.renderState;o.nextFormID=0,o.hasBody=!1,o.hasHtml=!1,o.unknownResources={font:i.resets.font},o.dnsResources=i.resets.dns,o.connectResources=i.resets.connect,o.imageResources=i.resets.image,o.styleResources=i.resets.style,o.scriptResources={},o.moduleUnknownResources={},o.moduleScriptResources={},o.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function v8(){var e=c1.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
528
- - react: `+(e+`
529
- - react-dom: 19.2.4
530
- Learn more: https://react.dev/warnings/version-mismatch`))}v8();function b8(e,t){return function(){return Jc(t,e)}}function k0(e,t){return function(){e.destination=null,po(e,Error(t))}}function ene(e,t){var n=A0(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0);return b1(e,n,$u(n,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,t?t.onHeaders:void 0,t?t.maxHeadersLength:void 0),F0(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,t?t.onAllReady:void 0,t?t.onShellReady:void 0,t?t.onShellError:void 0,void 0,t?t.onPostpone:void 0,t?t.formState:void 0)}function w8(e){return{write:function(t){return typeof t=="string"&&(t=Qy.encode(t)),e.enqueue(t),!0},end:function(){e.close()},destroy:function(t){typeof e.error=="function"?e.error(t):e.close()}}}function tne(e,t,n){return w1(e,t,$u(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,n?n.onAllReady:void 0,n?n.onShellReady:void 0,n?n.onShellError:void 0,void 0,n?n.onPostpone:void 0)}v8();function C8(e){return{write:function(t){return typeof t=="string"&&(t=Qy.encode(t)),e.enqueue(t),!0},end:function(){e.close()},destroy:function(t){typeof e.error=="function"?e.error(t):e.close()}}}function R8(e){return{write:function(t){return e.push(t)},end:function(){e.push(null)},destroy:function(t){e.destroy(t)}}}ac.prerender=function(e,t){return new Promise(function(n,r){var o=t?t.onHeaders:void 0,i;o&&(i=function(g){o(new Headers(g))});var s=A0(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=f8(e,s,$u(s,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),F0(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var g,y=new ReadableStream({type:"bytes",start:function(x){g=C8(x)},pull:function(){Jc(u,g)},cancel:function(x){u.destination=null,po(u,x)}},{highWaterMark:0});y={postponed:L0(u),prelude:y},n(y)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var p=t.signal;if(p.aborted)po(u,p.reason);else{var f=function(){po(u,p.reason),p.removeEventListener("abort",f)};p.addEventListener("abort",f)}}ed(u)})};ac.prerenderToNodeStream=function(e,t){return new Promise(function(n,r){var o=A0(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),i=f8(e,o,$u(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,t?t.onHeaders:void 0,t?t.maxHeadersLength:void 0),F0(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var p=new _4.Readable({read:function(){Jc(i,f)}}),f=R8(p);p={postponed:L0(i),prelude:p},n(p)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var s=t.signal;if(s.aborted)po(i,s.reason);else{var u=function(){po(i,s.reason),s.removeEventListener("abort",u)};s.addEventListener("abort",u)}}ed(i)})};ac.renderToPipeableStream=function(e,t){var n=ene(e,t),r=!1;return ed(n),{pipe:function(o){if(r)throw Error("React currently only supports piping to one writable stream.");return r=!0,D0(n,n.trackedPostpones===null||n.completedRootSegment===null?n.pendingRootTasks===0:n.completedRootSegment.status!==5),Jc(n,o),o.on("drain",b8(o,n)),o.on("error",k0(n,"The destination stream errored while writing data.")),o.on("close",k0(n,"The destination stream closed early.")),o},abort:function(o){po(n,o)}}};ac.renderToReadableStream=function(e,t){return new Promise(function(n,r){var o,i,s=new Promise(function(w,A){i=w,o=A}),u=t?t.onHeaders:void 0,p;u&&(p=function(w){u(new Headers(w))});var f=A0(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),g=b1(e,f,$u(f,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,p,t?t.maxHeadersLength:void 0),F0(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,function(){var w,A=new ReadableStream({type:"bytes",start:function(F){w=w8(F)},pull:function(){Jc(g,w)},cancel:function(F){g.destination=null,po(g,F)}},{highWaterMark:0});A.allReady=s,n(A)},function(w){s.catch(function(){}),r(w)},o,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var y=t.signal;if(y.aborted)po(g,y.reason);else{var x=function(){po(g,y.reason),y.removeEventListener("abort",x)};y.addEventListener("abort",x)}}ed(g)})};ac.resume=function(e,t,n){return new Promise(function(r,o){var i,s,u=new Promise(function(y,x){s=y,i=x}),p=w1(e,t,$u(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,s,function(){var y,x=new ReadableStream({type:"bytes",start:function(w){y=w8(w)},pull:function(){Jc(p,y)},cancel:function(w){p.destination=null,po(p,w)}},{highWaterMark:0});x.allReady=u,r(x)},function(y){u.catch(function(){}),o(y)},i,n?n.onPostpone:void 0);if(n&&n.signal){var f=n.signal;if(f.aborted)po(p,f.reason);else{var g=function(){po(p,f.reason),f.removeEventListener("abort",g)};f.addEventListener("abort",g)}}ed(p)})};ac.resumeAndPrerender=function(e,t,n){return new Promise(function(r,o){var i=m8(e,t,$u(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var p,f=new ReadableStream({type:"bytes",start:function(g){p=C8(g)},pull:function(){Jc(i,p)},cancel:function(g){i.destination=null,po(i,g)}},{highWaterMark:0});f={postponed:L0(i),prelude:f},r(f)},void 0,void 0,o,n?n.onPostpone:void 0);if(n&&n.signal){var s=n.signal;if(s.aborted)po(i,s.reason);else{var u=function(){po(i,s.reason),s.removeEventListener("abort",u)};s.addEventListener("abort",u)}}ed(i)})};ac.resumeAndPrerenderToNodeStream=function(e,t,n){return new Promise(function(r,o){var i=m8(e,t,$u(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var p=new _4.Readable({read:function(){Jc(i,f)}}),f=R8(p);p={postponed:L0(i),prelude:p},r(p)},void 0,void 0,o,n?n.onPostpone:void 0);if(n&&n.signal){var s=n.signal;if(s.aborted)po(i,s.reason);else{var u=function(){po(i,s.reason),s.removeEventListener("abort",u)};s.addEventListener("abort",u)}}ed(i)})};ac.resumeToPipeableStream=function(e,t,n){var r=tne(e,t,n),o=!1;return ed(r),{pipe:function(i){if(o)throw Error("React currently only supports piping to one writable stream.");return o=!0,Jc(r,i),i.on("drain",b8(i,r)),i.on("error",k0(r,"The destination stream errored while writing data.")),i.on("close",k0(r,"The destination stream closed early.")),i},abort:function(i){po(r,i)}}};ac.version="19.2.4"});var k8=yl(N0=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function e(c,d,h,b){return""+d+(h==="s"?"\\73 ":"\\53 ")+b}function t(c,d,h,b){return""+d+(h==="s"?"\\u0073":"\\u0053")+b}function n(c){return c===null||typeof c!="object"?null:(c=Ex&&c[Ex]||c["@@iterator"],typeof c=="function"?c:null)}function r(c){return c=Object.prototype.toString.call(c),c.slice(8,c.length-1)}function o(c){var d=JSON.stringify(c);return'"'+c+'"'===d?c:d}function i(c){switch(typeof c){case"string":return JSON.stringify(10>=c.length?c:c.slice(0,10)+"...");case"object":return il(c)?"[...]":c!==null&&c.$$typeof===Mp?"client":(c=r(c),c==="Object"?"{...}":c);case"function":return c.$$typeof===Mp?"client":(c=c.displayName||c.name)?"function "+c:"function";default:return String(c)}}function s(c){if(typeof c=="string")return c;switch(c){case dd:return"Suspense";case Ea:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case js:return s(c.render);case Ss:return s(c.type);case Fn:var d=c._payload;c=c._init;try{return s(c(d))}catch{}}return""}function u(c,d){var h=r(c);if(h!=="Object"&&h!=="Array")return h;var b=-1,T=0;if(il(c))if(uh.has(c)){var S=uh.get(c);h="<"+s(S)+">";for(var I=0;I<c.length;I++){var N=c[I];N=typeof N=="string"?N:typeof N=="object"&&N!==null?"{"+u(N)+"}":"{"+i(N)+"}",""+I===d?(b=h.length,T=N.length,h+=N):h=15>N.length&&40>h.length+N.length?h+N:h+"{...}"}h+="</"+s(S)+">"}else{for(h="[",S=0;S<c.length;S++)0<S&&(h+=", "),I=c[S],I=typeof I=="object"&&I!==null?u(I):i(I),""+S===d?(b=h.length,T=I.length,h+=I):h=10>I.length&&40>h.length+I.length?h+I:h+"...";h+="]"}else if(c.$$typeof===Nl)h="<"+s(c.type)+"/>";else{if(c.$$typeof===Mp)return"client";if(Sx.has(c)){for(h=Sx.get(c),h="<"+(s(h)||"..."),S=Object.keys(c),I=0;I<S.length;I++){h+=" ",N=S[I],h+=o(N)+"=";var Z=c[N],H=N===d&&typeof Z=="object"&&Z!==null?u(Z):i(Z);typeof Z!="string"&&(H="{"+H+"}"),N===d?(b=h.length,T=H.length,h+=H):h=10>H.length&&40>h.length+H.length?h+H:h+"..."}h+=">"}else{for(h="{",S=Object.keys(c),I=0;I<S.length;I++)0<I&&(h+=", "),N=S[I],h+=o(N)+": ",Z=c[N],Z=typeof Z=="object"&&Z!==null?u(Z):i(Z),N===d?(b=h.length,T=Z.length,h+=Z):h=10>Z.length&&40>h.length+Z.length?h+Z:h+"...";h+="}"}}return d===void 0?h:-1<b&&0<T?(c=" ".repeat(b)+"^".repeat(T),`
531
- `+h+`
532
- `+c):`
533
- `+h}function p(c,d){var h=c.length&3,b=c.length-h,T=d;for(d=0;d<b;){var S=c.charCodeAt(d)&255|(c.charCodeAt(++d)&255)<<8|(c.charCodeAt(++d)&255)<<16|(c.charCodeAt(++d)&255)<<24;++d,S=3432918353*(S&65535)+((3432918353*(S>>>16)&65535)<<16)&4294967295,S=S<<15|S>>>17,S=461845907*(S&65535)+((461845907*(S>>>16)&65535)<<16)&4294967295,T^=S,T=T<<13|T>>>19,T=5*(T&65535)+((5*(T>>>16)&65535)<<16)&4294967295,T=(T&65535)+27492+(((T>>>16)+58964&65535)<<16)}switch(S=0,h){case 3:S^=(c.charCodeAt(d+2)&255)<<16;case 2:S^=(c.charCodeAt(d+1)&255)<<8;case 1:S^=c.charCodeAt(d)&255,S=3432918353*(S&65535)+((3432918353*(S>>>16)&65535)<<16)&4294967295,S=S<<15|S>>>17,T^=461845907*(S&65535)+((461845907*(S>>>16)&65535)<<16)&4294967295}return T^=c.length,T^=T>>>16,T=2246822507*(T&65535)+((2246822507*(T>>>16)&65535)<<16)&4294967295,T^=T>>>13,T=3266489909*(T&65535)+((3266489909*(T>>>16)&65535)<<16)&4294967295,(T^T>>>16)>>>0}function f(c){return typeof Symbol=="function"&&Symbol.toStringTag&&c[Symbol.toStringTag]||c.constructor.name||"Object"}function g(c){try{return y(c),!1}catch{return!0}}function y(c){return""+c}function x(c,d){if(g(c))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",d,f(c)),y(c)}function w(c,d){if(g(c))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",d,f(c)),y(c)}function A(c){if(g(c))return console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",f(c)),y(c)}function F(c){return Ht.call(Px,c)?!0:Ht.call(Ip,c)?!1:sR.test(c)?Px[c]=!0:(Ip[c]=!0,console.error("Invalid attribute name: `%s`",c),!1)}function D(c,d){dh[d.type]||d.onChange||d.onInput||d.readOnly||d.disabled||d.value==null||console.error(c==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),d.onChange||d.readOnly||d.disabled||d.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function L(c,d){if(Ht.call(gc,d)&&gc[d])return!0;if(fh.test(d)){if(c="aria-"+d.slice(4).toLowerCase(),c=ph.hasOwnProperty(c)?c:null,c==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",d),gc[d]=!0;if(d!==c)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",d,c),gc[d]=!0}if(Fx.test(d)){if(c=d.toLowerCase(),c=ph.hasOwnProperty(c)?c:null,c==null)return gc[d]=!0,!1;d!==c&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",d,c),gc[d]=!0)}return!0}function U(c,d){var h=[],b;for(b in d)L(c,b)||h.push(b);d=h.map(function(T){return"`"+T+"`"}).join(", "),h.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",d,c):1<h.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",d,c)}function Y(c,d,h,b){if(Ht.call(Ur,d)&&Ur[d])return!0;var T=d.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ur[d]=!0;if(typeof h=="function"&&(c==="form"&&d==="action"||c==="input"&&d==="formAction"||c==="button"&&d==="formAction"))return!0;if(b!=null){if(c=b.possibleRegistrationNames,b.registrationNameDependencies.hasOwnProperty(d))return!0;if(b=c.hasOwnProperty(T)?c[T]:null,b!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",d,b),Ur[d]=!0;if(md.test(d))return console.error("Unknown event handler property `%s`. It will be ignored.",d),Ur[d]=!0}else if(md.test(d))return _p.test(d)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",d),Ur[d]=!0;if(ou.test(d)||aR.test(d))return!0;if(T==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ur[d]=!0;if(T==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ur[d]=!0;if(T==="is"&&h!==null&&h!==void 0&&typeof h!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof h),Ur[d]=!0;if(typeof h=="number"&&isNaN(h))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",d),Ur[d]=!0;if(fd.hasOwnProperty(T)){if(T=fd[T],T!==d)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",d,T),Ur[d]=!0}else if(d!==T)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",d,T),Ur[d]=!0;switch(d){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof h){case"boolean":switch(d){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return T=d.toLowerCase().slice(0,5),T==="data-"||T==="aria-"?!0:(h?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',h,d,d,h,d):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',h,d,d,h,d,d,d),Ur[d]=!0)}case"function":case"symbol":return Ur[d]=!0,!1;case"string":if(h==="false"||h==="true"){switch(d){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",h,d,h==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',d,h),Ur[d]=!0}}return!0}function G(c,d,h){var b=[],T;for(T in d)Y(c,T,d[T],h)||b.push(T);d=b.map(function(S){return"`"+S+"`"}).join(", "),b.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",d,c):1<b.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",d,c)}function W(c){return c.replace(cR,function(d,h){return h.toUpperCase()})}function M(c){if(typeof c=="boolean"||typeof c=="number"||typeof c=="bigint")return""+c;A(c),c=""+c;var d=gh.exec(c);if(d){var h="",b,T=0;for(b=d.index;b<c.length;b++){switch(c.charCodeAt(b)){case 34:d="&quot;";break;case 38:d="&amp;";break;case 39:d="&#x27;";break;case 60:d="&lt;";break;case 62:d="&gt;";break;default:continue}T!==b&&(h+=c.slice(T,b)),T=b+1,h+=d}c=T!==b?h+c.slice(T,b):h}return c}function ne(c){return on.test(""+c)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":c}function Re(c){return A(c),(""+c).replace(_x,t)}function ve(c,d,h,b,T){return{idPrefix:c===void 0?"":c,nextFormID:0,streamingFormat:0,bootstrapScriptContent:h,bootstrapScripts:b,bootstrapModules:T,instructions:qs,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function re(c,d,h,b){return{insertionMode:c,selectedValue:d,tagScope:h,viewTransition:b}}function me(c,d,h){var b=c.tagScope&-25;switch(d){case"noscript":return re($s,null,b|1,null);case"select":return re($s,h.value!=null?h.value:h.defaultValue,b,null);case"svg":return re(sl,null,b,null);case"picture":return re($s,null,b|2,null);case"math":return re(Bp,null,b,null);case"foreignObject":return re($s,null,b,null);case"table":return re(Up,null,b,null);case"thead":case"tbody":case"tfoot":return re(zp,null,b,null);case"colgroup":return re(vd,null,b,null);case"tr":return re(Ul,null,b,null);case"head":if(c.insertionMode<$s)return re(Np,null,b,null);break;case"html":if(c.insertionMode===xc)return re(xd,null,b,null)}return c.insertionMode>=Up||c.insertionMode<$s?re($s,null,b,null):c.tagScope!==b?re(c.insertionMode,c.selectedValue,b,null):c}function ce(c){return c===null?null:{update:c.update,enter:"none",exit:"none",share:c.update,name:c.autoName,autoName:c.autoName,nameIdx:0}}function Ce(c,d){return d.tagScope&32&&(c.instructions|=128),re(d.insertionMode,d.selectedValue,d.tagScope|12,ce(d.viewTransition))}function ge(c,d){c=ce(d.viewTransition);var h=d.tagScope|16;return c!==null&&c.share!=="none"&&(h|=64),re(d.insertionMode,d.selectedValue,h,c)}function Pe(c,d){if(typeof d!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var h=!0,b;for(b in d)if(Ht.call(d,b)){var T=d[b];if(T!=null&&typeof T!="boolean"&&T!==""){if(b.indexOf("--")===0){var S=M(b);w(T,b),T=M((""+T).trim())}else{S=b;var I=T;if(-1<S.indexOf("-")){var N=S;yc.hasOwnProperty(N)&&yc[N]||(yc[N]=!0,console.error("Unsupported style property %s. Did you mean %s?",N,W(N.replace(lR,"ms-"))))}else if(Ox.test(S))N=S,yc.hasOwnProperty(N)&&yc[N]||(yc[N]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",N,N.charAt(0).toUpperCase()+N.slice(1)));else if(Mx.test(I)){N=S;var Z=I;Sa.hasOwnProperty(Z)&&Sa[Z]||(Sa[Z]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,N,Z.replace(Mx,"")))}typeof I=="number"&&(isNaN(I)?mh||(mh=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",S)):isFinite(I)||hh||(hh=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",S))),S=b,I=vh.get(S),I!==void 0||(I=M(S.replace(Ix,"-$1").toLowerCase().replace(On,"-ms-")),vh.set(S,I)),S=I,typeof T=="number"?T=T===0||Ax.has(b)?""+T:T+"px":(w(T,b),T=M((""+T).trim()))}h?(h=!1,c.push(Lx,S,Nx,T)):c.push(uR,S,Nx,T)}}h||c.push(st)}function ot(c,d,h){h&&typeof h!="function"&&typeof h!="symbol"&&c.push(Ho,d,Wp)}function Xe(c,d,h){typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&c.push(Ho,d,Ps,M(h),st)}function Ze(c,d){this.push('<input type="hidden"'),Tn(c),Xe(this,"name",d),Xe(this,"value",c),this.push(wo)}function Tn(c){if(typeof c!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function Jt(c,d){if(typeof d.$$FORM_ACTION=="function"){var h=c.nextFormID++;c=c.idPrefix+h;try{var b=d.$$FORM_ACTION(c);if(b){var T=b.data;T?.forEach(Tn)}return b}catch(S){if(typeof S=="object"&&S!==null&&typeof S.then=="function")throw S;console.error(`Failed to serialize an action for progressive enhancement:
534
- %s`,S)}}return null}function be(c,d,h,b,T,S,I,N){var Z=null;if(typeof b=="function"){N===null||vc||(vc=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),T===null&&S===null||bc||(bc=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),I===null||Hp||(Hp=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."));var H=Jt(d,b);H!==null?(N=H.name,b=H.action||"",T=H.encType,S=H.method,I=H.target,Z=H.data):(c.push(Ho,"formAction",Ps,Bx,st),I=S=T=b=N=null,je(d,h))}return N!=null&&he(c,"name",N),b!=null&&he(c,"formAction",b),T!=null&&he(c,"formEncType",T),S!=null&&he(c,"formMethod",S),I!=null&&he(c,"formTarget",I),Z}function he(c,d,h){switch(d){case"className":Xe(c,"class",h);break;case"tabIndex":Xe(c,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":Xe(c,d,h);break;case"style":Pe(c,h);break;case"src":case"href":if(h===""){console.error(d==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',d,d);break}case"action":case"formAction":if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean")break;x(h,d),h=ne(""+h),c.push(Ho,d,Ps,M(h),st);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":ot(c,d.toLowerCase(),h);break;case"xlinkHref":if(typeof h=="function"||typeof h=="symbol"||typeof h=="boolean")break;x(h,d),h=ne(""+h),c.push(Ho,"xlink:href",Ps,M(h),st);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof h!="function"&&typeof h!="symbol"&&c.push(Ho,d,Ps,M(h),st);break;case"inert":h!==""||bo[d]||(bo[d]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",d));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"&&c.push(Ho,d,Wp);break;case"capture":case"download":h===!0?c.push(Ho,d,Wp):h!==!1&&typeof h!="function"&&typeof h!="symbol"&&c.push(Ho,d,Ps,M(h),st);break;case"cols":case"rows":case"size":case"span":typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h&&c.push(Ho,d,Ps,M(h),st);break;case"rowSpan":case"start":typeof h=="function"||typeof h=="symbol"||isNaN(h)||c.push(Ho,d,Ps,M(h),st);break;case"xlinkActuate":Xe(c,"xlink:actuate",h);break;case"xlinkArcrole":Xe(c,"xlink:arcrole",h);break;case"xlinkRole":Xe(c,"xlink:role",h);break;case"xlinkShow":Xe(c,"xlink:show",h);break;case"xlinkTitle":Xe(c,"xlink:title",h);break;case"xlinkType":Xe(c,"xlink:type",h);break;case"xmlBase":Xe(c,"xml:base",h);break;case"xmlLang":Xe(c,"xml:lang",h);break;case"xmlSpace":Xe(c,"xml:space",h);break;default:if((!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=Dp.get(d)||d,F(d))){switch(typeof h){case"function":case"symbol":return;case"boolean":var b=d.toLowerCase().slice(0,5);if(b!=="data-"&&b!=="aria-")return}c.push(Ho,d,Ps,M(h),st)}}}function Ne(c,d,h){if(d!=null){if(h!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");d=d.__html,d!=null&&(A(d),c.push(""+d))}}function Et(c,d){var h=c[d];h!=null&&(h=il(h),c.multiple&&!h?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",d):!c.multiple&&h&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",d))}function en(c){var d="";return Sp.Children.forEach(c,function(h){h!=null&&(d+=h,au||typeof h=="string"||typeof h=="number"||typeof h=="bigint"||(au=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),d}function je(c,d){if((c.instructions&16)===qs){c.instructions|=16;var h=d.preamble,b=d.bootstrapChunks;(h.htmlChunks||h.headChunks)&&b.length===0?(b.push(d.startInlineScript),Gr(b,c),b.push(Pt,Ux,yd)):b.unshift(d.startInlineScript,Pt,Ux,yd)}}function ze(c,d){c.push(At("link"));for(var h in d)if(Ht.call(d,h)){var b=d[h];if(b!=null)switch(h){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:he(c,h,b)}}return c.push(wo),null}function Qn(c){return A(c),(""+c).replace(dR,e)}function fo(c,d,h){c.push(At(h));for(var b in d)if(Ht.call(d,b)){var T=d[b];if(T!=null)switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(h+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:he(c,b,T)}}return c.push(wo),null}function xs(c,d){c.push(At("title"));var h=null,b=null,T;for(T in d)if(Ht.call(d,T)){var S=d[T];if(S!=null)switch(T){case"children":h=S;break;case"dangerouslySetInnerHTML":b=S;break;default:he(c,T,S)}}return c.push(Pt),d=Array.isArray(h)?2>h.length?h[0]:null:h,typeof d!="function"&&typeof d!="symbol"&&d!==null&&d!==void 0&&c.push(M(""+d)),Ne(c,b,h),c.push(St("title")),null}function li(c,d){c.push(At("script"));var h=null,b=null,T;for(T in d)if(Ht.call(d,T)){var S=d[T];if(S!=null)switch(T){case"children":h=S;break;case"dangerouslySetInnerHTML":b=S;break;default:he(c,T,S)}}return c.push(Pt),h!=null&&typeof h!="string"&&(d=typeof h=="number"?"a number for children":Array.isArray(h)?"an array for children":"something unexpected for children",console.error("A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.",d)),Ne(c,b,h),typeof h=="string"&&c.push(Re(h)),c.push(St("script")),null}function Qe(c,d,h){c.push(At(h));var b=h=null,T;for(T in d)if(Ht.call(d,T)){var S=d[T];if(S!=null)switch(T){case"children":h=S;break;case"dangerouslySetInnerHTML":b=S;break;default:he(c,T,S)}}return c.push(Pt),Ne(c,b,h),h}function gn(c,d,h){c.push(At(h));var b=h=null,T;for(T in d)if(Ht.call(d,T)){var S=d[T];if(S!=null)switch(T){case"children":h=S;break;case"dangerouslySetInnerHTML":b=S;break;default:he(c,T,S)}}return c.push(Pt),Ne(c,b,h),typeof h=="string"?(c.push(M(h)),null):h}function At(c){var d=Rh.get(c);if(d===void 0){if(!zx.test(c))throw Error("Invalid tag: "+c);d="<"+c,Rh.set(c,d)}return d}function tn(c,d,h,b,T,S,I,N,Z){U(d,h),d!=="input"&&d!=="textarea"&&d!=="select"||h==null||h.value!==null||ru||(ru=!0,d==="select"&&h.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",d):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",d));e:if(d.indexOf("-")===-1)var H=!1;else switch(d){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":H=!1;break e;default:H=!0}switch(H||typeof h.is=="string"||G(d,h,null),!h.suppressContentEditableWarning&&h.contentEditable&&h.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),N.insertionMode!==sl&&N.insertionMode!==Bp&&d.indexOf("-")===-1&&d.toLowerCase()!==d&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),d){case"div":case"span":case"svg":case"path":break;case"a":c.push(At("a"));var J=null,ae=null,se;for(se in h)if(Ht.call(h,se)){var pe=h[se];if(pe!=null)switch(se){case"children":J=pe;break;case"dangerouslySetInnerHTML":ae=pe;break;case"href":pe===""?Xe(c,"href",""):he(c,se,pe);break;default:he(c,se,pe)}}if(c.push(Pt),Ne(c,ae,J),typeof J=="string"){c.push(M(J));var te=null}else te=J;return te;case"g":case"p":case"li":break;case"select":D("select",h),Et(h,"value"),Et(h,"defaultValue"),h.value===void 0||h.defaultValue===void 0||wd||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),wd=!0),c.push(At("select"));var Je=null,Kt=null,Ae;for(Ae in h)if(Ht.call(h,Ae)){var ht=h[Ae];if(ht!=null)switch(Ae){case"children":Je=ht;break;case"dangerouslySetInnerHTML":Kt=ht;break;case"defaultValue":case"value":break;default:he(c,Ae,ht)}}return c.push(Pt),Ne(c,Kt,Je),Je;case"option":var Xr=N.selectedValue;c.push(At("option"));var To=null,dt=null,Mn=null,Fs=null,ko;for(ko in h)if(Ht.call(h,ko)){var Fe=h[ko];if(Fe!=null)switch(ko){case"children":To=Fe;break;case"selected":Mn=Fe,zr||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),zr=!0);break;case"dangerouslySetInnerHTML":Fs=Fe;break;case"value":dt=Fe;default:he(c,ko,Fe)}}if(Xr!=null){if(dt!==null){x(dt,"value");var mr=""+dt}else Fs===null||Ch||(Ch=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),mr=en(To);if(il(Xr)){for(var gi=0;gi<Xr.length;gi++)if(x(Xr[gi],"value"),""+Xr[gi]===mr){c.push(' selected=""');break}}else x(Xr,"select.value"),""+Xr===mr&&c.push(' selected=""')}else Mn&&c.push(' selected=""');return c.push(Pt),Ne(c,Fs,To),To;case"textarea":D("textarea",h),h.value===void 0||h.defaultValue===void 0||wh||(console.error("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components"),wh=!0),c.push(At("textarea"));var an=null,kr=null,Er=null,jn;for(jn in h)if(Ht.call(h,jn)){var yi=h[jn];if(yi!=null)switch(jn){case"children":Er=yi;break;case"value":an=yi;break;case"defaultValue":kr=yi;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:he(c,jn,yi)}}if(an===null&&kr!==null&&(an=kr),c.push(Pt),Er!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),an!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(il(Er)){if(1<Er.length)throw Error("<textarea> can only have at most one child.");A(Er[0]),an=""+Er[0]}A(Er),an=""+Er}return typeof an=="string"&&an[0]===`
535
- `&&c.push(Gp),an!==null&&(x(an,"value"),c.push(M(""+an))),null;case"input":D("input",h),c.push(At("input"));var Os=null,Jr=null,qn=null,ln=null,Eo=null,cn=null,oa=null,Kr=null,Ms=null,xn;for(xn in h)if(Ht.call(h,xn)){var un=h[xn];if(un!=null)switch(xn){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":Os=un;break;case"formAction":Jr=un;break;case"formEncType":qn=un;break;case"formMethod":ln=un;break;case"formTarget":Eo=un;break;case"defaultChecked":Ms=un;break;case"defaultValue":oa=un;break;case"checked":Kr=un;break;case"value":cn=un;break;default:he(c,xn,un)}}Jr===null||h.type==="image"||h.type==="submit"||Co||(Co=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".'));var Yo=be(c,b,T,Jr,qn,ln,Eo,Os);return Kr===null||Ms===null||bd||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components","A component",h.type),bd=!0),cn===null||oa===null||bh||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components","A component",h.type),bh=!0),Kr!==null?ot(c,"checked",Kr):Ms!==null&&ot(c,"checked",Ms),cn!==null?he(c,"value",cn):oa!==null&&he(c,"value",oa),c.push(wo),Yo?.forEach(Ze,c),null;case"button":c.push(At("button"));var Xo=null,Aa=null,Xl=null,Jo=null,Is=null,Tc=null,Ds=null,ia;for(ia in h)if(Ht.call(h,ia)){var Ko=h[ia];if(Ko!=null)switch(ia){case"children":Xo=Ko;break;case"dangerouslySetInnerHTML":Aa=Ko;break;case"name":Xl=Ko;break;case"formAction":Jo=Ko;break;case"formEncType":Is=Ko;break;case"formMethod":Tc=Ko;break;case"formTarget":Ds=Ko;break;default:he(c,ia,Ko)}}Jo===null||h.type==null||h.type==="submit"||Co||(Co=!0,console.error('A button can only specify a formAction along with type="submit" or no type.'));var a=be(c,b,T,Jo,Is,Tc,Ds,Xl);if(c.push(Pt),a?.forEach(Ze,c),Ne(c,Aa,Xo),typeof Xo=="string"){c.push(M(Xo));var l=null}else l=Xo;return l;case"form":c.push(At("form"));var m=null,v=null,R=null,E=null,O=null,_=null,X;for(X in h)if(Ht.call(h,X)){var B=h[X];if(B!=null)switch(X){case"children":m=B;break;case"dangerouslySetInnerHTML":v=B;break;case"action":R=B;break;case"encType":E=B;break;case"method":O=B;break;case"target":_=B;break;default:he(c,X,B)}}var V=null,$=null;if(typeof R=="function"){E===null&&O===null||bc||(bc=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),_===null||Hp||(Hp=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."));var ee=Jt(b,R);ee!==null?(R=ee.action||"",E=ee.encType,O=ee.method,_=ee.target,V=ee.data,$=ee.name):(c.push(Ho,"action",Ps,Bx,st),_=O=E=R=null,je(b,T))}if(R!=null&&he(c,"action",R),E!=null&&he(c,"encType",E),O!=null&&he(c,"method",O),_!=null&&he(c,"target",_),c.push(Pt),$!==null&&(c.push('<input type="hidden"'),Xe(c,"name",$),c.push(wo),V?.forEach(Ze,c)),Ne(c,v,m),typeof m=="string"){c.push(M(m));var ie=null}else ie=m;return ie;case"menuitem":c.push(At("menuitem"));for(var j in h)if(Ht.call(h,j)){var Oe=h[j];if(Oe!=null)switch(j){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:he(c,j,Oe)}}return c.push(Pt),null;case"object":c.push(At("object"));var bt=null,Se=null,We;for(We in h)if(Ht.call(h,We)){var Ot=h[We];if(Ot!=null)switch(We){case"children":bt=Ot;break;case"dangerouslySetInnerHTML":Se=Ot;break;case"data":x(Ot,"data");var Sr=ne(""+Ot);if(Sr===""){console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',We,We);break}c.push(Ho,"data",Ps,M(Sr),st);break;default:he(c,We,Ot)}}if(c.push(Pt),Ne(c,Se,bt),typeof bt=="string"){c.push(M(bt));var et=null}else et=bt;return et;case"title":var Me=N.tagScope&1,Zo=N.tagScope&4;if(Ht.call(h,"children")){var In=h.children,gt=Array.isArray(In)?2>In.length?In[0]:null:In;Array.isArray(In)&&1<In.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",In.length):typeof gt=="function"||typeof gt=="symbol"?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof gt=="function"?"a Function":"a Sybmol"):gt&&gt.toString==={}.toString&&(gt.$$typeof!=null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."))}if(N.insertionMode===sl||Me||h.itemProp!=null)var Rt=xs(c,h);else Zo?Rt=null:(xs(T.hoistableChunks,h),Rt=void 0);return Rt;case"link":var hr=N.tagScope&1,$n=N.tagScope&4,ro=h.rel,yt=h.href,Tt=h.precedence;if(N.insertionMode===sl||hr||h.itemProp!=null||typeof ro!="string"||typeof yt!="string"||yt===""){ro==="stylesheet"&&typeof h.precedence=="string"&&(typeof yt=="string"&&yt||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',yt===null?"`null`":yt===void 0?"`undefined`":yt===""?"an empty string":'something with type "'+typeof yt+'"')),ze(c,h);var Jn=null}else if(h.rel==="stylesheet")if(typeof Tt!="string"||h.disabled!=null||h.onLoad||h.onError){if(typeof Tt=="string"){if(h.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.');else if(h.onLoad||h.onError){var Wr=h.onLoad&&h.onError?"`onLoad` and `onError` props":h.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',Wr,Wr)}}Jn=ze(c,h)}else{var Mt=T.styles.get(Tt),He=b.styleResources.hasOwnProperty(yt)?b.styleResources[yt]:void 0;if(He!==Vn){b.styleResources[yt]=Vn,Mt||(Mt={precedence:M(Tt),rules:[],hrefs:[],sheets:new Map},T.styles.set(Tt,Mt));var dn={state:_h,props:dr({},h,{"data-precedence":h.precedence,precedence:null})};if(He){He.length===2&&z(dn.props,He);var pn=T.preloads.stylesheets.get(yt);pn&&0<pn.length?pn.length=0:dn.state=Lh}Mt.sheets.set(yt,dn),I&&I.stylesheets.add(dn)}else if(Mt){var oo=Mt.sheets.get(yt);oo&&I&&I.stylesheets.add(oo)}Z&&c.push("<!-- -->"),Jn=null}else h.onLoad||h.onError?Jn=ze(c,h):(Z&&c.push("<!-- -->"),Jn=$n?null:ze(T.hoistableChunks,h));return Jn;case"script":var So=N.tagScope&1,Pr=h.async;if(typeof h.src!="string"||!h.src||!Pr||typeof Pr=="function"||typeof Pr=="symbol"||h.onLoad||h.onError||N.insertionMode===sl||So||h.itemProp!=null)var Qo=li(c,h);else{var xi=h.src;if(h.type==="module")var er=b.moduleScriptResources,kc=T.preloads.moduleScripts;else er=b.scriptResources,kc=T.preloads.scripts;var Xi=er.hasOwnProperty(xi)?er[xi]:void 0;if(Xi!==Vn){er[xi]=Vn;var Fa=h;if(Xi){Xi.length===2&&(Fa=dr({},h),z(Fa,Xi));var cl=kc.get(xi);cl&&(cl.length=0)}var Oa=[];T.scripts.add(Oa),li(Oa,Fa)}Z&&c.push("<!-- -->"),Qo=null}return Qo;case"style":var ul=N.tagScope&1;if(Ht.call(h,"children")){var sa=h.children,io=Array.isArray(sa)?2>sa.length?sa[0]:null:sa;(typeof io=="function"||typeof io=="symbol"||Array.isArray(io))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof io=="function"?"a Function":typeof io=="symbol"?"a Sybmol":"an Array")}var vi=h.precedence,tr=h.href,aa=h.nonce;if(N.insertionMode===sl||ul||h.itemProp!=null||typeof vi!="string"||typeof tr!="string"||tr===""){c.push(At("style"));var Ji=null,Zr=null,Ma;for(Ma in h)if(Ht.call(h,Ma)){var gr=h[Ma];if(gr!=null)switch(Ma){case"children":Ji=gr;break;case"dangerouslySetInnerHTML":Zr=gr;break;default:he(c,Ma,gr)}}c.push(Pt);var jo=Array.isArray(Ji)?2>Ji.length?Ji[0]:null:Ji;typeof jo!="function"&&typeof jo!="symbol"&&jo!==null&&jo!==void 0&&c.push(Qn(jo)),Ne(c,Zr,Ji),c.push(St("style"));var _s=null}else{tr.includes(" ")&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',tr);var Po=T.styles.get(vi),bi=b.styleResources.hasOwnProperty(tr)?b.styleResources[tr]:void 0;if(bi!==Vn){b.styleResources[tr]=Vn,bi&&console.error('React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.',tr),Po||(Po={precedence:M(vi),rules:[],hrefs:[],sheets:new Map},T.styles.set(vi,Po));var Ao=T.nonce.style;if(Ao&&Ao!==aa)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',vi,aa,Ao);else{!Ao&&aa&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',vi,aa),Po.hrefs.push(M(tr));var Ia=Po.rules,so=null,qo=null,dl;for(dl in h)if(Ht.call(h,dl)){var la=h[dl];if(la!=null)switch(dl){case"children":so=la;break;case"dangerouslySetInnerHTML":qo=la}}var ca=Array.isArray(so)?2>so.length?so[0]:null:so;typeof ca!="function"&&typeof ca!="symbol"&&ca!==null&&ca!==void 0&&Ia.push(Qn(ca)),Ne(Ia,qo,so)}}Po&&I&&I.styles.add(Po),Z&&c.push("<!-- -->"),_s=void 0}return _s;case"meta":var Ec=N.tagScope&1,ff=N.tagScope&4;if(N.insertionMode===sl||Ec||h.itemProp!=null)var Ki=fo(c,h,"meta");else Z&&c.push("<!-- -->"),Ki=ff?null:typeof h.charSet=="string"?fo(T.charsetChunks,h,"meta"):h.name==="viewport"?fo(T.viewportChunks,h,"meta"):fo(T.hoistableChunks,h,"meta");return Ki;case"listing":case"pre":c.push(At(d));var ao=null,Jl=null,Kl;for(Kl in h)if(Ht.call(h,Kl)){var Sc=h[Kl];if(Sc!=null)switch(Kl){case"children":ao=Sc;break;case"dangerouslySetInnerHTML":Jl=Sc;break;default:he(c,Kl,Sc)}}if(c.push(Pt),Jl!=null){if(ao!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Jl!="object"||!("__html"in Jl))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var Da=Jl.__html;Da!=null&&(typeof Da=="string"&&0<Da.length&&Da[0]===`
536
- `?c.push(Gp,Da):(A(Da),c.push(""+Da)))}return typeof ao=="string"&&ao[0]===`
537
- `&&c.push(Gp),ao;case"img":var pl=N.tagScope&3,Dn=h.src,_n=h.srcSet;if(!(h.loading==="lazy"||!Dn&&!_n||typeof Dn!="string"&&Dn!=null||typeof _n!="string"&&_n!=null||h.fetchPriority==="low"||pl)&&(typeof Dn!="string"||Dn[4]!==":"||Dn[0]!=="d"&&Dn[0]!=="D"||Dn[1]!=="a"&&Dn[1]!=="A"||Dn[2]!=="t"&&Dn[2]!=="T"||Dn[3]!=="a"&&Dn[3]!=="A")&&(typeof _n!="string"||_n[4]!==":"||_n[0]!=="d"&&_n[0]!=="D"||_n[1]!=="a"&&_n[1]!=="A"||_n[2]!=="t"&&_n[2]!=="T"||_n[3]!=="a"&&_n[3]!=="A")){I!==null&&N.tagScope&64&&(I.suspenseyImages=!0);var _a=typeof h.sizes=="string"?h.sizes:void 0,La=_n?_n+`
538
- `+(_a||""):Dn,Pc=T.preloads.images,nr=Pc.get(La);if(nr)(h.fetchPriority==="high"||10>T.highImagePreloads.size)&&(Pc.delete(La),T.highImagePreloads.add(nr));else if(!b.imageResources.hasOwnProperty(La)){b.imageResources[La]=Wi;var Zi=h.crossOrigin,fl=typeof Zi=="string"?Zi==="use-credentials"?Zi:"":void 0,ua=T.headers,Ls;ua&&0<ua.remainingCapacity&&typeof h.srcSet!="string"&&(h.fetchPriority==="high"||500>ua.highImagePreloads.length)&&(Ls=oe(Dn,"image",{imageSrcSet:h.srcSet,imageSizes:h.sizes,crossOrigin:fl,integrity:h.integrity,nonce:h.nonce,type:h.type,fetchPriority:h.fetchPriority,referrerPolicy:h.refererPolicy}),0<=(ua.remainingCapacity-=Ls.length+2))?(T.resets.image[La]=Wi,ua.highImagePreloads&&(ua.highImagePreloads+=", "),ua.highImagePreloads+=Ls):(nr=[],ze(nr,{rel:"preload",as:"image",href:_n?void 0:Dn,imageSrcSet:_n,imageSizes:_a,crossOrigin:fl,integrity:h.integrity,type:h.type,fetchPriority:h.fetchPriority,referrerPolicy:h.referrerPolicy}),h.fetchPriority==="high"||10>T.highImagePreloads.size?T.highImagePreloads.add(nr):(T.bulkPreloads.add(nr),Pc.set(La,nr)))}}return fo(c,h,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return fo(c,h,d);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"head":if(N.insertionMode<$s){var Gt=S||T.preamble;if(Gt.headChunks)throw Error("The `<head>` tag may only be rendered once.");S!==null&&c.push("<!--head-->"),Gt.headChunks=[];var Fo=Qe(Gt.headChunks,h,"head")}else Fo=gn(c,h,"head");return Fo;case"body":if(N.insertionMode<$s){var Qr=S||T.preamble;if(Qr.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");S!==null&&c.push("<!--body-->"),Qr.bodyChunks=[];var pu=Qe(Qr.bodyChunks,h,"body")}else pu=gn(c,h,"body");return pu;case"html":if(N.insertionMode===xc){var Zl=S||T.preamble;if(Zl.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");S!==null&&c.push("<!--html-->"),Zl.htmlChunks=[BR];var Ac=Qe(Zl.htmlChunks,h,"html")}else Ac=gn(c,h,"html");return Ac;default:if(d.indexOf("-")!==-1){c.push(At(d));var Fc=null,ml=null,Ns;for(Ns in h)if(Ht.call(h,Ns)){var wi=h[Ns];if(wi!=null){var Ql=Ns;switch(Ns){case"children":Fc=wi;break;case"dangerouslySetInnerHTML":ml=wi;break;case"style":Pe(c,wi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":Ql="class";default:if(F(Ns)&&typeof wi!="function"&&typeof wi!="symbol"&&wi!==!1){if(wi===!0)wi="";else if(typeof wi=="object")continue;c.push(Ho,Ql,Ps,M(wi),st)}}}}return c.push(Pt),Ne(c,ml,Fc),Fc}}return gn(c,h,d)}function St(c){var d=Th.get(c);return d===void 0&&(d="</"+c+">",Th.set(c,d)),d}function kn(c,d){c=c.preamble,c.htmlChunks===null&&d.htmlChunks&&(c.htmlChunks=d.htmlChunks),c.headChunks===null&&d.headChunks&&(c.headChunks=d.headChunks),c.bodyChunks===null&&d.bodyChunks&&(c.bodyChunks=d.bodyChunks)}function Be(c,d){d=d.bootstrapChunks;for(var h=0;h<d.length-1;h++)c.push(d[h]);return h<d.length?(h=d[h],d.length=0,c.push(h)):!0}function En(c,d,h){if(c.push(Wx),h===null)throw Error("An ID must have been assigned before we can complete the boundary.");return c.push(d.boundaryPrefix),d=h.toString(16),c.push(d),c.push(lu)}function Ks(c,d,h,b){switch(h.insertionMode){case xc:case xd:case Np:case $s:return c.push(ea),c.push(d.segmentPrefix),d=b.toString(16),c.push(d),c.push(Hx);case sl:return c.push(Gx),c.push(d.segmentPrefix),d=b.toString(16),c.push(d),c.push(yR);case Bp:return c.push(As),c.push(d.segmentPrefix),d=b.toString(16),c.push(d),c.push(Yn);case Up:return c.push(Vx),c.push(d.segmentPrefix),d=b.toString(16),c.push(d),c.push(Yx);case zp:return c.push(Td),c.push(d.segmentPrefix),d=b.toString(16),c.push(d),c.push(Xx);case Ul:return c.push(Kx),c.push(d.segmentPrefix),d=b.toString(16),c.push(d),c.push(Zx);case vd:return c.push(jx),c.push(d.segmentPrefix),d=b.toString(16),c.push(d),c.push(qx);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function zn(c,d){switch(d.insertionMode){case xc:case xd:case Np:case $s:return c.push(gR);case sl:return c.push(Go);case Bp:return c.push(Ph);case Up:return c.push(Xn);case zp:return c.push(Jx);case Ul:return c.push(Qx);case vd:return c.push(Xp);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function sr(c){return JSON.stringify(c).replace(SR,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Wn(c){return JSON.stringify(c).replace(PR,function(d){switch(d){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function xt(c){var d=c.rules,h=c.hrefs;0<d.length&&h.length===0&&console.error("React expected to have at least one href for an a hoistable style but found none. This is a bug in React.");var b=0;if(h.length){for(this.push(su.startInlineStyle),this.push(AR),this.push(c.precedence),this.push(FR);b<h.length-1;b++)this.push(h[b]),this.push(nv);for(this.push(h[b]),this.push(OR),b=0;b<d.length;b++)this.push(d[b]);Mh=this.push(MR),Qp=!0,d.length=0,h.length=0}}function No(c){return c.state!==Nh?Qp=!0:!1}function _t(c,d,h){return Qp=!1,Mh=!0,su=h,d.styles.forEach(xt,c),su=null,d.stylesheets.forEach(No),Qp&&(h.stylesToHoist=!0),Mh}function Hn(c){for(var d=0;d<c.length;d++)this.push(c[d]);c.length=0}function Ni(c){ze(zl,c.props);for(var d=0;d<zl.length;d++)this.push(zl[d]);zl.length=0,c.state=Nh}function ar(c){var d=0<c.sheets.size;c.sheets.forEach(Ni,this),c.sheets.clear();var h=c.rules,b=c.hrefs;if(!d||b.length){if(this.push(su.startInlineStyle),this.push(jp),this.push(c.precedence),c=0,b.length){for(this.push(IR);c<b.length-1;c++)this.push(b[c]),this.push(nv);this.push(b[c])}for(this.push(DR),c=0;c<h.length;c++)this.push(h[c]);this.push(_R),h.length=0,b.length=0}}function vs(c){if(c.state===_h){c.state=Lh;var d=c.props;for(ze(zl,{rel:"preload",as:"style",href:c.props.href,crossOrigin:d.crossOrigin,fetchPriority:d.fetchPriority,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy}),c=0;c<zl.length;c++)this.push(zl[c]);zl.length=0}}function mo(c){c.sheets.forEach(vs,this),c.sheets.clear()}function Gr(c,d){(d.instructions&gd)===qs&&(d.instructions|=gd,c.push(rv,M("_"+d.idPrefix+"R_"),st))}function lr(c,d){c.push(ov);var h=ov;d.stylesheets.forEach(function(b){if(b.state!==Nh)if(b.state===sv)c.push(h),b=b.props.href,x(b,"href"),b=Wn(""+b),c.push(b),c.push(Dh),h=iv;else{c.push(h);var T=b.props["data-precedence"],S=b.props,I=ne(""+b.props.href);I=Wn(I),c.push(I),x(T,"precedence"),T=""+T,c.push(Ih),T=Wn(T),c.push(T);for(var N in S)if(Ht.call(S,N)&&(T=S[N],T!=null))switch(N){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ca(c,N,T)}c.push(Dh),h=iv,b.state=sv}}),c.push(Dh)}function Ca(c,d,h){var b=d.toLowerCase();switch(typeof h){case"function":case"symbol":return}switch(d){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":b="class",x(h,b),d=""+h;break;case"hidden":if(h===!1)return;d="";break;case"src":case"href":h=ne(h),x(h,b),d=""+h;break;default:if(2<d.length&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N")||!F(d))return;x(h,b),d=""+h}c.push(Ih),b=Wn(b),c.push(b),c.push(Ih),b=Wn(d),c.push(b)}function cr(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function P(c,d,h,b){(c.scriptResources.hasOwnProperty(h)||c.moduleScriptResources.hasOwnProperty(h))&&console.error('Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue',h),c.scriptResources[h]=Vn,c.moduleScriptResources[h]=Vn,c=[],ze(c,b),d.bootstrapScripts.add(c)}function z(c,d){c.crossOrigin==null&&(c.crossOrigin=d[0]),c.integrity==null&&(c.integrity=d[1])}function oe(c,d,h){c=de(c),d=De(d,"as"),d="<"+c+'>; rel=preload; as="'+d+'"';for(var b in h)Ht.call(h,b)&&(c=h[b],typeof c=="string"&&(d+="; "+b.toLowerCase()+'="'+De(c,b)+'"'));return d}function de(c){return x(c,"href"),(""+c).replace(LR,we)}function we(c){switch(c){case"<":return"%3C";case">":return"%3E";case`
539
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function De(c,d){return g(c)&&(console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",d,f(c)),y(c)),(""+c).replace(NR,_e)}function _e(c){switch(c){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
540
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function vt(c){this.styles.add(c)}function Ve(c){this.stylesheets.add(c)}function lt(c,d){d.styles.forEach(vt,c),d.stylesheets.forEach(Ve,c),d.suspenseyImages&&(c.suspenseyImages=!0)}function Ir(c,d){var h=c.idPrefix,b=[],T=c.bootstrapScriptContent,S=c.bootstrapScripts,I=c.bootstrapModules;if(T!==void 0&&(b.push("<script"),Gr(b,c),b.push(Pt,Re(T),yd)),h={placeholderPrefix:h+"P:",segmentPrefix:h+"S:",boundaryPrefix:h+"B:",startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:b,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:void 0,style:void 0},hoistableState:null,stylesToHoist:!1},S!==void 0)for(T=0;T<S.length;T++){var N=S[T],Z,H=void 0,J=void 0,ae={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof N=="string"?ae.href=Z=N:(ae.href=Z=N.src,ae.integrity=J=typeof N.integrity=="string"?N.integrity:void 0,ae.crossOrigin=H=typeof N=="string"||N.crossOrigin==null?void 0:N.crossOrigin==="use-credentials"?"use-credentials":""),P(c,h,Z,ae),b.push('<script src="',M(Z),st),typeof J=="string"&&b.push(' integrity="',M(J),st),typeof H=="string"&&b.push(' crossorigin="',M(H),st),Gr(b,c),b.push(' async=""></script>')}if(I!==void 0)for(S=0;S<I.length;S++)T=I[S],H=Z=void 0,J={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof T=="string"?J.href=N=T:(J.href=N=T.src,J.integrity=H=typeof T.integrity=="string"?T.integrity:void 0,J.crossOrigin=Z=typeof T=="string"||T.crossOrigin==null?void 0:T.crossOrigin==="use-credentials"?"use-credentials":""),P(c,h,N,J),b.push('<script type="module" src="',M(N),st),typeof H=="string"&&b.push(' integrity="',M(H),st),typeof Z=="string"&&b.push(' crossorigin="',M(Z),st),Gr(b,c),b.push(' async=""></script>');return{placeholderPrefix:h.placeholderPrefix,segmentPrefix:h.segmentPrefix,boundaryPrefix:h.boundaryPrefix,startInlineScript:h.startInlineScript,startInlineStyle:h.startInlineStyle,preamble:h.preamble,externalRuntimeScript:h.externalRuntimeScript,bootstrapChunks:h.bootstrapChunks,importMapChunks:h.importMapChunks,onHeaders:h.onHeaders,headers:h.headers,resets:h.resets,charsetChunks:h.charsetChunks,viewportChunks:h.viewportChunks,hoistableChunks:h.hoistableChunks,preconnects:h.preconnects,fontPreloads:h.fontPreloads,highImagePreloads:h.highImagePreloads,styles:h.styles,bootstrapScripts:h.bootstrapScripts,scripts:h.scripts,bulkPreloads:h.bulkPreloads,preloads:h.preloads,nonce:h.nonce,stylesToHoist:h.stylesToHoist,generateStaticMarkup:d}}function br(c,d,h,b){return h.generateStaticMarkup?(c.push(M(d)),!1):(d===""?c=b:(b&&c.push("<!-- -->"),c.push(M(d)),c=!0),c)}function Sn(c,d,h,b){d.generateStaticMarkup||h&&b&&c.push("<!-- -->")}function ct(c){if(c==null)return null;if(typeof c=="function")return c.$$typeof===zR?null:c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case nu:return"Fragment";case ch:return"Profiler";case Pp:return"StrictMode";case dd:return"Suspense";case Ea:return"SuspenseList";case pd:return"Activity"}if(typeof c=="object")switch(typeof c.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),c.$$typeof){case tu:return"Portal";case Bl:return c.displayName||"Context";case Ap:return(c._context.displayName||"Context")+".Consumer";case js:var d=c.render;return c=c.displayName,c||(c=d.displayName||d.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case Ss:return d=c.displayName||null,d!==null?d:ct(c.type)||"Memo";case Fn:d=c._payload,c=c._init;try{return ct(c(d))}catch{}}return null}function ci(c,d){if(c!==d){c.context._currentValue2=c.parentValue,c=c.parent;var h=d.parent;if(c===null){if(h!==null)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(h===null)throw Error("The stacks must reach the root at the same time. This is a bug in React.");ci(c,h)}d.context._currentValue2=d.value}}function bs(c){c.context._currentValue2=c.parentValue,c=c.parent,c!==null&&bs(c)}function Fl(c){var d=c.parent;d!==null&&Fl(d),c.context._currentValue2=c.value}function Kc(c,d){if(c.context._currentValue2=c.parentValue,c=c.parent,c===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");c.depth===d.depth?ci(c,d):Kc(c,d)}function Ra(c,d){var h=d.parent;if(h===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");c.depth===h.depth?ci(c,h):Ra(c,h),d.context._currentValue2=d.value}function Dr(c){var d=wc;d!==c&&(d===null?Fl(c):c===null?bs(d):d.depth===c.depth?ci(d,c):d.depth>c.depth?Kc(d,c):Ra(d,c),wc=c)}function ui(c){if(c!==null&&typeof c!="function"){var d=String(c);gv.has(d)||(gv.add(d),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c))}}function mt(c,d){c=(c=c.constructor)&&ct(c)||"ReactClass";var h=c+"."+d;av[h]||(console.error(`Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
541
-
542
- Please check the code for the %s component.`,d,c),av[h]=!0)}function ho(c,d,h){var b=c.id;c=c.overflow;var T=32-$p(b)-1;b&=~(1<<T),h+=1;var S=32-$p(d)+T;if(30<S){var I=T-T%5;return S=(b&(1<<I)-1).toString(32),b>>=I,T-=I,{id:1<<32-$p(d)+T|h<<T|b,overflow:S+c}}return{id:1<<S|h<<T|b,overflow:c}}function ws(c){return c>>>=0,c===0?32:31-(HR(c)/GR|0)|0}function Pn(){}function Ol(c,d,h){switch(h=c[h],h===void 0?c.push(d):h!==d&&(d.then(Pn,Pn),d=h),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:switch(typeof d.status=="string"?d.then(Pn,Pn):(c=d,c.status="pending",c.then(function(b){if(d.status==="pending"){var T=d;T.status="fulfilled",T.value=b}},function(b){if(d.status==="pending"){var T=d;T.status="rejected",T.reason=b}})),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason}throw ef=d,Gi}}function Zs(){if(ef===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var c=ef;return ef=null,c}function Cs(c,d){return c===d&&(c!==0||1/c===1/d)||c!==c&&d!==d}function ur(){if(ll===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
543
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
544
- 2. You might be breaking the Rules of Hooks
545
- 3. You might have more than one copy of React in the same app
546
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return ta&&console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"),ll}function jr(){if(0<rf)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Bi(){return sn===null?tf===null?(kd=!1,tf=sn=jr()):(kd=!0,sn=tf):sn.next===null?(kd=!1,sn=sn.next=jr()):(kd=!0,sn=sn.next),sn}function wr(){var c=Vi;return Vi=null,c}function yn(){ta=!1,zh=cu=Uh=ll=null,nf=!1,tf=null,rf=0,sn=Hl=null}function di(c){return ta&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),c._currentValue2}function go(c,d){return typeof d=="function"?d(c):d}function pi(c,d,h){if(c!==go&&(Pd="useReducer"),ll=ur(),sn=Bi(),kd){if(h=sn.queue,d=h.dispatch,Hl!==null){var b=Hl.get(h);if(b!==void 0){Hl.delete(h),h=sn.memoizedState;do{var T=b.action;ta=!0,h=c(h,T),ta=!1,b=b.next}while(b!==null);return sn.memoizedState=h,[h,d]}}return[sn.memoizedState,d]}return ta=!0,c=c===go?typeof d=="function"?d():d:h!==void 0?h(d):d,ta=!1,sn.memoizedState=c,c=sn.queue={last:null,dispatch:null},c=c.dispatch=Vr.bind(null,ll,c),[sn.memoizedState,c]}function yo(c,d){if(ll=ur(),sn=Bi(),d=d===void 0?null:d,sn!==null){var h=sn.memoizedState;if(h!==null&&d!==null){e:{var b=h[1];if(b===null)console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Pd),b=!1;else{d.length!==b.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
547
-
548
- Previous: %s
549
- Incoming: %s`,Pd,"["+d.join(", ")+"]","["+b.join(", ")+"]");for(var T=0;T<b.length&&T<d.length;T++)if(!VR(d[T],b[T])){b=!1;break e}b=!0}}if(b)return h[0]}}return ta=!0,c=c(),ta=!1,sn.memoizedState=[c,d],c}function Vr(c,d,h){if(25<=rf)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c===ll)if(nf=!0,c={action:h,next:null},Hl===null&&(Hl=new Map),h=Hl.get(d),h===void 0)Hl.set(d,c);else{for(d=h;d.next!==null;)d=d.next;d.next=c}}function $a(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function Rs(){throw Error("startTransition cannot be called during server rendering.")}function _r(){throw Error("Cannot update optimistic state while rendering.")}function el(c,d,h){ur();var b=Sd++,T=cu;if(typeof c.$$FORM_ACTION=="function"){var S=null,I=zh;T=T.formState;var N=c.$$IS_SIGNATURE_EQUAL;if(T!==null&&typeof N=="function"){var Z=T[1];N.call(c,T[2],T[3])&&(S=h!==void 0?"p"+h:"k"+p(JSON.stringify([I,null,b]),0),Z===S&&(Wl=b,d=T[0]))}var H=c.bind(null,d);return c=function(ae){H(ae)},typeof H.$$FORM_ACTION=="function"&&(c.$$FORM_ACTION=function(ae){ae=H.$$FORM_ACTION(ae),h!==void 0&&(x(h,"target"),h+="",ae.action=h);var se=ae.data;return se&&(S===null&&(S=h!==void 0?"p"+h:"k"+p(JSON.stringify([I,null,b]),0)),se.append("$ACTION_KEY",S)),ae}),[d,c,!1]}var J=c.bind(null,d);return[d,function(ae){J(ae)},!1]}function fi(c){var d=uu;return uu+=1,Vi===null&&(Vi=[]),Ol(Vi,c,d)}function Ta(){throw Error("Cache cannot be refreshed during server rendering.")}function Bo(){}function od(){if(Cc===0){of=console.log,sf=console.info,af=console.warn,lf=console.error,Wh=console.group,bv=console.groupCollapsed,wv=console.groupEnd;var c={configurable:!0,enumerable:!0,value:Bo,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}Cc++}function id(){if(Cc--,Cc===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:dr({},c,{value:of}),info:dr({},c,{value:sf}),warn:dr({},c,{value:af}),error:dr({},c,{value:lf}),group:dr({},c,{value:Wh}),groupCollapsed:dr({},c,{value:bv}),groupEnd:dr({},c,{value:wv})})}0>Cc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function tl(c){var d=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,c=c.stack,Error.prepareStackTrace=d,c.startsWith(`Error: react-stack-top-frame
550
- `)&&(c=c.slice(29)),d=c.indexOf(`
551
- `),d!==-1&&(c=c.slice(d+1)),d=c.indexOf("react_stack_bottom_frame"),d!==-1&&(d=c.lastIndexOf(`
552
- `,d)),d!==-1)c=c.slice(0,d);else return"";return c}function Cr(c){if(Hh===void 0)try{throw Error()}catch(h){var d=h.stack.trim().match(/\n( *(at )?)/);Hh=d&&d[1]||"",cf=-1<h.stack.indexOf(`
553
- at`)?" (<anonymous>)":-1<h.stack.indexOf("@")?"@unknown:0:0":""}return`
554
- `+Hh+c+cf}function qr(c,d){if(!c||Gh)return"";var h=Yi.get(c);if(h!==void 0)return h;Gh=!0,h=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var b=null;b=pr.H,pr.H=null,od();try{var T={DetermineComponentFrameRoot:function(){try{if(d){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(te){var pe=te}Reflect.construct(c,[],se)}else{try{se.call()}catch(te){pe=te}c.call(se.prototype)}}else{try{throw Error()}catch(te){pe=te}(se=c())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(te){if(te&&pe&&typeof te.stack=="string")return[te.stack,pe.stack]}return[null,null]}};T.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var S=Object.getOwnPropertyDescriptor(T.DetermineComponentFrameRoot,"name");S&&S.configurable&&Object.defineProperty(T.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var I=T.DetermineComponentFrameRoot(),N=I[0],Z=I[1];if(N&&Z){var H=N.split(`
555
- `),J=Z.split(`
556
- `);for(I=S=0;S<H.length&&!H[S].includes("DetermineComponentFrameRoot");)S++;for(;I<J.length&&!J[I].includes("DetermineComponentFrameRoot");)I++;if(S===H.length||I===J.length)for(S=H.length-1,I=J.length-1;1<=S&&0<=I&&H[S]!==J[I];)I--;for(;1<=S&&0<=I;S--,I--)if(H[S]!==J[I]){if(S!==1||I!==1)do if(S--,I--,0>I||H[S]!==J[I]){var ae=`
557
- `+H[S].replace(" at new "," at ");return c.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",c.displayName)),typeof c=="function"&&Yi.set(c,ae),ae}while(1<=S&&0<=I);break}}}finally{Gh=!1,pr.H=b,id(),Error.prepareStackTrace=h}return H=(H=c?c.displayName||c.name:"")?Cr(H):"",typeof c=="function"&&Yi.set(c,H),H}function xo(c){if(typeof c=="string")return Cr(c);if(typeof c=="function")return c.prototype&&c.prototype.isReactComponent?qr(c,!0):qr(c,!1);if(typeof c=="object"&&c!==null){switch(c.$$typeof){case js:return qr(c.render,!1);case Ss:return qr(c.type,!1);case Fn:var d=c,h=d._payload;d=d._init;try{c=d(h)}catch{return Cr("Lazy")}return xo(c)}if(typeof c.name=="string"){e:{if(h=c.name,d=c.env,c=c.debugLocation,c!=null){c=tl(c);var b=c.lastIndexOf(`
558
- `);if(c=b===-1?c:c.slice(b+1),c.indexOf(h)!==-1){h=`
559
- `+c;break e}}h=Cr(h+(d?" ["+d+"]":""))}return h}}switch(c){case Ea:return Cr("SuspenseList");case dd:return Cr("Suspense")}return""}function $r(c,d){return(500<d.byteSize||!1)&&d.contentPreamble===null}function eo(c){if(typeof c=="object"&&c!==null&&typeof c.environmentName=="string"){var d=c.environmentName;c=[c].slice(0),typeof c[0]=="string"?c.splice(0,1,"[%s] "+c[0]," "+d+" "):c.splice(0,0,"[%s]"," "+d+" "),c.unshift(console),d=UR.apply(console.error,c),d()}else console.error(c);return null}function Zc(c,d,h,b,T,S,I,N,Z,H,J){var ae=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=c,this.renderState=d,this.rootFormatContext=h,this.progressiveChunkSize=b===void 0?12800:b,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=ae,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=T===void 0?eo:T,this.onPostpone=H===void 0?Pn:H,this.onAllReady=S===void 0?Pn:S,this.onShellReady=I===void 0?Pn:I,this.onShellError=N===void 0?Pn:N,this.onFatalError=Z===void 0?Pn:Z,this.formState=J===void 0?null:J,this.didWarnForKey=null}function ut(c,d,h,b,T,S,I,N,Z,H,J,ae){var se=Kh();return 1e3<se-Jh&&(pr.recentlyCreatedOwnerStacks=0,Jh=se),d=new Zc(d,h,b,T,S,I,N,Z,H,J,ae),h=nn(d,0,null,b,!1,!1),h.parentFlushed=!0,c=Rr(d,null,c,-1,null,h,null,null,d.abortableTasks,null,b,null,WR,null,null,al,null),Ui(c),d.pingedTasks.push(c),d}function qe(c,d){c.pingedTasks.push(d),c.pingedTasks.length===1&&(c.flushScheduled=c.destination!==null,wp(c))}function ka(c,d,h,b,T){return h={status:na,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:d,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null,contentState:cr(),fallbackState:cr(),contentPreamble:b,fallbackPreamble:T,trackedContentKeyPath:null,trackedFallbackNode:null,errorMessage:null,errorStack:null,errorComponentStack:null},d!==null&&(d.pendingTasks++,b=d.boundaries,b!==null&&(c.allPendingTasks++,h.pendingTasks++,b.push(h)),c=d.inheritedHoistables,c!==null&&lt(h.contentState,c)),h}function Rr(c,d,h,b,T,S,I,N,Z,H,J,ae,se,pe,te,Je,Kt){c.allPendingTasks++,T===null?c.pendingRootTasks++:T.pendingTasks++,pe!==null&&pe.pendingTasks++;var Ae={replay:null,node:h,childIndex:b,ping:function(){return qe(c,Ae)},blockedBoundary:T,blockedSegment:S,blockedPreamble:I,hoistableState:N,abortSet:Z,keyPath:H,formatContext:J,context:ae,treeContext:se,row:pe,componentStack:te,thenableState:d};return Ae.debugTask=Kt,Z.add(Ae),Ae}function to(c,d,h,b,T,S,I,N,Z,H,J,ae,se,pe,te,Je){c.allPendingTasks++,S===null?c.pendingRootTasks++:S.pendingTasks++,se!==null&&se.pendingTasks++,h.pendingTasks++;var Kt={replay:h,node:b,childIndex:T,ping:function(){return qe(c,Kt)},blockedBoundary:S,blockedSegment:null,blockedPreamble:null,hoistableState:I,abortSet:N,keyPath:Z,formatContext:H,context:J,treeContext:ae,row:se,componentStack:pe,thenableState:d};return Kt.debugTask=Je,N.add(Kt),Kt}function nn(c,d,h,b,T,S){return{status:na,parentFlushed:!1,id:-1,index:d,chunks:[],children:[],preambleChildren:[],parentFormatContext:b,boundary:h,lastPushedText:T,textEmbedded:S}}function Ts(){if(Vo===null||Vo.componentStack===null)return"";var c=Vo.componentStack;try{var d="";if(typeof c.type=="string")d+=Cr(c.type);else if(typeof c.type=="function"){if(!c.owner){var h=d,b=c.type,T=b?b.displayName||b.name:"",S=T?Cr(T):"";d=h+S}}else c.owner||(d+=xo(c.type));for(;c;)h=null,c.debugStack!=null?h=tl(c.debugStack):(S=c,S.stack!=null&&(h=typeof S.stack!="string"?S.stack=tl(S.stack):S.stack)),(c=c.owner)&&h&&(d+=`
560
- `+h);var I=d}catch(N){I=`
561
- Error generating stack: `+N.message+`
562
- `+N.stack}return I}function Ml(c,d){if(d!=null)for(var h=d.length-1;0<=h;h--){var b=d[h];if(typeof b.name=="string"||typeof b.time=="number")break;if(b.awaited!=null){var T=b.debugStack==null?b.awaited:b;if(T.debugStack!==void 0){c.componentStack={parent:c.componentStack,type:b,owner:T.owner,stack:T.debugStack},c.debugTask=T.debugTask;break}}}}function rn(c,d){if(d!=null)for(var h=0;h<d.length;h++){var b=d[h];typeof b.name=="string"&&b.debugStack!==void 0&&(c.componentStack={parent:c.componentStack,type:b,owner:b.owner,stack:b.debugStack},c.debugTask=b.debugTask)}}function Ui(c){var d=c.node;if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Nl:var h=d.type,b=d._owner,T=d._debugStack;rn(c,d._debugInfo),c.debugTask=d._debugTask,c.componentStack={parent:c.componentStack,type:h,owner:b,stack:T};break;case Fn:rn(c,d._debugInfo);break;default:typeof d.then=="function"&&rn(c,d._debugInfo)}}function ks(c){return c===null?null:{parent:c.parent,type:"Suspense Fallback",owner:c.owner,stack:c.stack}}function vo(c){var d={};return c&&Object.defineProperty(d,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var h="",b=c;do h+=xo(b.type),b=b.parent;while(b);var T=h}catch(S){T=`
563
- Error generating stack: `+S.message+`
564
- `+S.stack}return Object.defineProperty(d,"componentStack",{value:T}),T}}),d}function Uo(c,d,h,b,T){c.errorDigest=d,h instanceof Error?(d=String(h.message),h=String(h.stack)):(d=typeof h=="object"&&h!==null?u(h):String(h),h=null),T=T?`Switched to client rendering because the server rendering aborted due to:
565
-
566
- `:`Switched to client rendering because the server rendering errored:
567
-
568
- `,c.errorMessage=T+d,c.errorStack=h!==null?T+h:null,c.errorComponentStack=b.componentStack}function An(c,d,h,b){if(c=c.onError,d=b?b.run(c.bind(null,d,h)):c(d,h),d!=null&&typeof d!="string")console.error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "%s" instead',typeof d);else return d}function mi(c,d,h,b){h=c.onShellError;var T=c.onFatalError;b?(b.run(h.bind(null,d)),b.run(T.bind(null,d))):(h(d),T(d)),c.destination!==null?(c.status=du,c.destination.destroy(d)):(c.status=13,c.fatalError=d)}function zt(c,d){Es(c,d.next,d.hoistables)}function Es(c,d,h){for(;d!==null;){h!==null&&(lt(d.hoistables,h),d.inheritedHoistables=h);var b=d.boundaries;if(b!==null){d.boundaries=null;for(var T=0;T<b.length;T++){var S=b[T];h!==null&&lt(S.contentState,h),Qs(c,S,null,null)}}if(d.pendingTasks--,0<d.pendingTasks)break;h=d.hoistables,d=d.next}}function zi(c,d){var h=d.boundaries;if(h!==null&&d.pendingTasks===h.length){for(var b=!0,T=0;T<h.length;T++){var S=h[T];if(S.pendingTasks!==1||S.parentFlushed||$r(c,S)){b=!1;break}}b&&Es(c,d,d.hoistables)}}function Gn(c){var d={pendingTasks:1,boundaries:null,hoistables:cr(),inheritedHoistables:null,together:!1,next:null};return c!==null&&0<c.pendingTasks&&(d.pendingTasks++,d.boundaries=[],c.next=d),d}function Wt(c,d,h,b,T){var S=d.keyPath,I=d.treeContext,N=d.row,Z=d.componentStack,H=d.debugTask;rn(d,d.node.props.children._debugInfo),d.keyPath=h,h=b.length;var J=null;if(d.replay!==null){var ae=d.replay.slots;if(ae!==null&&typeof ae=="object")for(var se=0;se<h;se++){var pe=T!=="backwards"&&T!=="unstable_legacy-backwards"?se:h-1-se,te=b[pe];d.row=J=Gn(J),d.treeContext=ho(I,h,pe);var Je=ae[pe];typeof Je=="number"?(Il(c,d,Je,te,pe),delete ae[pe]):Br(c,d,te,pe),--J.pendingTasks===0&&zt(c,J)}else for(ae=0;ae<h;ae++)se=T!=="backwards"&&T!=="unstable_legacy-backwards"?ae:h-1-ae,pe=b[se],Nr(c,d,pe),d.row=J=Gn(J),d.treeContext=ho(I,h,se),Br(c,d,pe,se),--J.pendingTasks===0&&zt(c,J)}else if(T!=="backwards"&&T!=="unstable_legacy-backwards")for(T=0;T<h;T++)ae=b[T],Nr(c,d,ae),d.row=J=Gn(J),d.treeContext=ho(I,h,T),Br(c,d,ae,T),--J.pendingTasks===0&&zt(c,J);else{for(T=d.blockedSegment,ae=T.children.length,se=T.chunks.length,pe=h-1;0<=pe;pe--){te=b[pe],d.row=J=Gn(J),d.treeContext=ho(I,h,pe),Je=nn(c,se,null,d.formatContext,pe===0?T.lastPushedText:!0,!0),T.children.splice(ae,0,Je),d.blockedSegment=Je,Nr(c,d,te);try{Br(c,d,te,pe),Sn(Je.chunks,c.renderState,Je.lastPushedText,Je.textEmbedded),Je.status=Yr,--J.pendingTasks===0&&zt(c,J)}catch(Kt){throw Je.status=c.status===12?ra:Gl,Kt}}d.blockedSegment=T,T.lastPushedText=!1}N!==null&&J!==null&&0<J.pendingTasks&&(N.pendingTasks++,J.next=N),d.treeContext=I,d.row=N,d.keyPath=S,d.componentStack=Z,d.debugTask=H}function zo(c,d,h,b,T,S){var I=d.thenableState;for(d.thenableState=null,ll={},Uh=d,cu=c,zh=h,ta=!1,Sd=Ed=0,Wl=-1,uu=0,Vi=I,c=Rc(b,T,S);nf;)nf=!1,Sd=Ed=0,Wl=-1,uu=0,rf+=1,sn=null,c=b(T,S);return yn(),c}function ah(c,d,h,b,T,S,I){var N=!1;if(S!==0&&c.formState!==null){var Z=d.blockedSegment;if(Z!==null){N=!0,Z=Z.chunks;for(var H=0;H<S;H++)H===I?Z.push("<!--F!-->"):Z.push("<!--F-->")}}S=d.keyPath,d.keyPath=h,T?(h=d.treeContext,d.treeContext=ho(h,1,0),Br(c,d,b,-1),d.treeContext=h):N?Br(c,d,b,-1):Lr(c,d,b,-1),d.keyPath=S}function sd(c,d,h,b,T,S){if(typeof b=="function")if(b.prototype&&b.prototype.isReactComponent){var I=T;if("ref"in T){I={};for(var N in T)N!=="ref"&&(I[N]=T[N])}var Z=b.defaultProps;if(Z){I===T&&(I=dr({},I,T));for(var H in Z)I[H]===void 0&&(I[H]=Z[H])}var J=I,ae=al,se=b.contextType;if("contextType"in b&&se!==null&&(se===void 0||se.$$typeof!==Bl)&&!Bh.has(b)){Bh.add(b);var pe=se===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof se!="object"?" However, it is set to a "+typeof se+".":se.$$typeof===Ap?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(se).join(", ")+"}.";console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ct(b)||"Component",pe)}typeof se=="object"&&se!==null&&(ae=se._currentValue2);var te=new b(J,ae);if(typeof b.getDerivedStateFromProps=="function"&&(te.state===null||te.state===void 0)){var Je=ct(b)||"Component";cv.has(Je)||(cv.add(Je),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Je,te.state===null?"null":"undefined",Je))}if(typeof b.getDerivedStateFromProps=="function"||typeof te.getSnapshotBeforeUpdate=="function"){var Kt=null,Ae=null,ht=null;if(typeof te.componentWillMount=="function"&&te.componentWillMount.__suppressDeprecationWarning!==!0?Kt="componentWillMount":typeof te.UNSAFE_componentWillMount=="function"&&(Kt="UNSAFE_componentWillMount"),typeof te.componentWillReceiveProps=="function"&&te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ae="componentWillReceiveProps":typeof te.UNSAFE_componentWillReceiveProps=="function"&&(Ae="UNSAFE_componentWillReceiveProps"),typeof te.componentWillUpdate=="function"&&te.componentWillUpdate.__suppressDeprecationWarning!==!0?ht="componentWillUpdate":typeof te.UNSAFE_componentWillUpdate=="function"&&(ht="UNSAFE_componentWillUpdate"),Kt!==null||Ae!==null||ht!==null){var Xr=ct(b)||"Component",To=typeof b.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";dv.has(Xr)||(dv.add(Xr),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
569
-
570
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
571
-
572
- The above lifecycles should be removed. Learn more about this warning here:
573
- https://react.dev/link/unsafe-component-lifecycles`,Xr,To,Kt!==null?`
574
- `+Kt:"",Ae!==null?`
575
- `+Ae:"",ht!==null?`
576
- `+ht:""))}}var dt=ct(b)||"Component";te.render||(b.prototype&&typeof b.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",dt):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",dt)),!te.getInitialState||te.getInitialState.isReactClassApproved||te.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",dt),te.getDefaultProps&&!te.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",dt),te.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",dt),b.childContextTypes&&!hv.has(b)&&(hv.add(b),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",dt)),b.contextTypes&&!mv.has(b)&&(mv.add(b),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",dt)),typeof te.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",dt),b.prototype&&b.prototype.isPureReactComponent&&typeof te.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ct(b)||"A pure component"),typeof te.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",dt),typeof te.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",dt),typeof te.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",dt),typeof te.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",dt);var Mn=te.props!==J;te.props!==void 0&&Mn&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",dt),te.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",dt,dt),typeof te.getSnapshotBeforeUpdate!="function"||typeof te.componentDidUpdate=="function"||uv.has(b)||(uv.add(b),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ct(b))),typeof te.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",dt),typeof te.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",dt),typeof b.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",dt);var Fs=te.state;Fs&&(typeof Fs!="object"||il(Fs))&&console.error("%s.state: must be set to an object or null",dt),typeof te.getChildContext=="function"&&typeof b.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",dt);var ko=te.state!==void 0?te.state:null;te.updater=yv,te.props=J,te.state=ko;var Fe={queue:[],replace:!1};te._reactInternals=Fe;var mr=b.contextType;if(te.context=typeof mr=="object"&&mr!==null?mr._currentValue2:al,te.state===J){var gi=ct(b)||"Component";pv.has(gi)||(pv.add(gi),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",gi))}var an=b.getDerivedStateFromProps;if(typeof an=="function"){var kr=an(J,ko);if(kr===void 0){var Er=ct(b)||"Component";fv.has(Er)||(fv.add(Er),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Er))}var jn=kr==null?ko:dr({},ko,kr);te.state=jn}if(typeof b.getDerivedStateFromProps!="function"&&typeof te.getSnapshotBeforeUpdate!="function"&&(typeof te.UNSAFE_componentWillMount=="function"||typeof te.componentWillMount=="function")){var yi=te.state;if(typeof te.componentWillMount=="function"){if(te.componentWillMount.__suppressDeprecationWarning!==!0){var Os=ct(b)||"Unknown";lv[Os]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
577
-
578
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
579
-
580
- Please update the following components: %s`,Os),lv[Os]=!0)}te.componentWillMount()}if(typeof te.UNSAFE_componentWillMount=="function"&&te.UNSAFE_componentWillMount(),yi!==te.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ct(b)||"Component"),yv.enqueueReplaceState(te,te.state,null)),Fe.queue!==null&&0<Fe.queue.length){var Jr=Fe.queue,qn=Fe.replace;if(Fe.queue=null,Fe.replace=!1,qn&&Jr.length===1)te.state=Jr[0];else{for(var ln=qn?Jr[0]:te.state,Eo=!0,cn=qn?1:0;cn<Jr.length;cn++){var oa=Jr[cn],Kr=typeof oa=="function"?oa.call(te,ln,J,void 0):oa;Kr!=null&&(Eo?(Eo=!1,ln=dr({},ln,Kr)):dr(ln,Kr))}te.state=ln}}else Fe.queue=null}var Ms=Cv(te);if(c.status===12)throw null;te.props!==J&&(df||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ct(b)||"a component"),df=!0);var xn=d.keyPath;d.keyPath=h,Lr(c,d,Ms,-1),d.keyPath=xn}else{if(b.prototype&&typeof b.prototype.render=="function"){var un=ct(b)||"Unknown";Od[un]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",un,un),Od[un]=!0)}var Yo=zo(c,d,h,b,T,void 0);if(c.status===12)throw null;var Xo=Ed!==0,Aa=Sd,Xl=Wl;if(b.contextTypes){var Jo=ct(b)||"Unknown";kv[Jo]||(kv[Jo]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",Jo))}if(b&&b.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
581
- %s.childContextTypes = ...`,b.displayName||b.name||"Component"),typeof b.getDerivedStateFromProps=="function"){var Is=ct(b)||"Unknown";uf[Is]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Is),uf[Is]=!0)}if(typeof b.contextType=="object"&&b.contextType!==null){var Tc=ct(b)||"Unknown";Pa[Tc]||(console.error("%s: Function components do not support contextType.",Tc),Pa[Tc]=!0)}ah(c,d,h,Yo,Xo,Aa,Xl)}else if(typeof b=="string"){var Ds=d.blockedSegment;if(Ds===null){var ia=T.children,Ko=d.formatContext,a=d.keyPath;d.formatContext=me(Ko,b,T),d.keyPath=h,Br(c,d,ia,-1),d.formatContext=Ko,d.keyPath=a}else{var l=tn(Ds.chunks,b,T,c.resumableState,c.renderState,d.blockedPreamble,d.hoistableState,d.formatContext,Ds.lastPushedText);Ds.lastPushedText=!1;var m=d.formatContext,v=d.keyPath;if(d.keyPath=h,(d.formatContext=me(m,b,T)).insertionMode===Np){var R=nn(c,0,null,d.formatContext,!1,!1);Ds.preambleChildren.push(R),d.blockedSegment=R;try{R.status=6,Br(c,d,l,-1),Sn(R.chunks,c.renderState,R.lastPushedText,R.textEmbedded),R.status=Yr}finally{d.blockedSegment=Ds}}else Br(c,d,l,-1);d.formatContext=m,d.keyPath=v;e:{var E=Ds.chunks,O=c.resumableState;switch(b){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(m.insertionMode<=xd){O.hasBody=!0;break e}break;case"html":if(m.insertionMode===xc){O.hasHtml=!0;break e}break;case"head":if(m.insertionMode<=xd)break e}E.push(St(b))}Ds.lastPushedText=!1}}else{switch(b){case Tx:case Pp:case ch:case nu:var _=d.keyPath;d.keyPath=h,Lr(c,d,T.children,-1),d.keyPath=_;return;case pd:var X=d.blockedSegment;if(X===null){if(T.mode!=="hidden"){var B=d.keyPath;d.keyPath=h,Br(c,d,T.children,-1),d.keyPath=B}}else if(T.mode!=="hidden"){c.renderState.generateStaticMarkup||X.chunks.push("<!--&-->"),X.lastPushedText=!1;var V=d.keyPath;d.keyPath=h,Br(c,d,T.children,-1),d.keyPath=V,c.renderState.generateStaticMarkup||X.chunks.push("<!--/&-->"),X.lastPushedText=!1}return;case Ea:e:{var $=T.children,ee=T.revealOrder;if(ee==="forwards"||ee==="backwards"||ee==="unstable_legacy-backwards"){if(il($)){Wt(c,d,h,$,ee);break e}var ie=n($);if(ie){var j=ie.call($);if(j){xp(d,$,-1,j,ie);var Oe=j.next();if(!Oe.done){var bt=[];do bt.push(Oe.value),Oe=j.next();while(!Oe.done);Wt(c,d,h,$,ee)}break e}}}if(ee==="together"){var Se=d.keyPath,We=d.row,Ot=d.row=Gn(null);Ot.boundaries=[],Ot.together=!0,d.keyPath=h,Lr(c,d,$,-1),--Ot.pendingTasks===0&&zt(c,Ot),d.keyPath=Se,d.row=We,We!==null&&0<Ot.pendingTasks&&(We.pendingTasks++,Ot.next=We)}else{var Sr=d.keyPath;d.keyPath=h,Lr(c,d,$,-1),d.keyPath=Sr}}return;case Op:case Fp:throw Error("ReactDOMServer does not yet support scope components.");case dd:e:if(d.replay!==null){var et=d.keyPath,Me=d.formatContext,Zo=d.row;d.keyPath=h,d.formatContext=ge(c.resumableState,Me),d.row=null;var In=T.children;try{Br(c,d,In,-1)}finally{d.keyPath=et,d.formatContext=Me,d.row=Zo}}else{var gt=d.keyPath,Rt=d.formatContext,hr=d.row,$n=d.blockedBoundary,ro=d.blockedPreamble,yt=d.hoistableState,Tt=d.blockedSegment,Jn=T.fallback,Wr=T.children,Mt=new Set,He=ka(c,d.row,Mt,null,null);c.trackedPostpones!==null&&(He.trackedContentKeyPath=h);var dn=nn(c,Tt.chunks.length,He,d.formatContext,!1,!1);Tt.children.push(dn),Tt.lastPushedText=!1;var pn=nn(c,0,null,d.formatContext,!1,!1);if(pn.parentFlushed=!0,c.trackedPostpones!==null){var oo=d.componentStack,So=[h[0],"Suspense Fallback",h[2]],Pr=[So[1],So[2],[],null];c.trackedPostpones.workingMap.set(So,Pr),He.trackedFallbackNode=Pr,d.blockedSegment=dn,d.blockedPreamble=He.fallbackPreamble,d.keyPath=So,d.formatContext=Ce(c.resumableState,Rt),d.componentStack=ks(oo),dn.status=6;try{Br(c,d,Jn,-1),Sn(dn.chunks,c.renderState,dn.lastPushedText,dn.textEmbedded),dn.status=Yr}catch(Ia){throw dn.status=c.status===12?ra:Gl,Ia}finally{d.blockedSegment=Tt,d.blockedPreamble=ro,d.keyPath=gt,d.formatContext=Rt}var Qo=Rr(c,null,Wr,-1,He,pn,He.contentPreamble,He.contentState,d.abortSet,h,ge(c.resumableState,d.formatContext),d.context,d.treeContext,null,oo,al,d.debugTask);Ui(Qo),c.pingedTasks.push(Qo)}else{d.blockedBoundary=He,d.blockedPreamble=He.contentPreamble,d.hoistableState=He.contentState,d.blockedSegment=pn,d.keyPath=h,d.formatContext=ge(c.resumableState,Rt),d.row=null,pn.status=6;try{if(Br(c,d,Wr,-1),Sn(pn.chunks,c.renderState,pn.lastPushedText,pn.textEmbedded),pn.status=Yr,mc(He,pn),He.pendingTasks===0&&He.status===na){if(He.status=Yr,!$r(c,He)){hr!==null&&--hr.pendingTasks===0&&zt(c,hr),c.pendingRootTasks===0&&d.blockedPreamble&&hc(c);break e}}else hr!==null&&hr.together&&zi(c,hr)}catch(Ia){if(He.status=hi,c.status===12){pn.status=ra;var xi=c.fatalError}else pn.status=Gl,xi=Ia;var er=vo(d.componentStack),kc=An(c,xi,er,d.debugTask);Uo(He,kc,xi,er,!1),ld(c,He)}finally{d.blockedBoundary=$n,d.blockedPreamble=ro,d.hoistableState=yt,d.blockedSegment=Tt,d.keyPath=gt,d.formatContext=Rt,d.row=hr}var Xi=Rr(c,null,Jn,-1,$n,dn,He.fallbackPreamble,He.fallbackState,Mt,[h[0],"Suspense Fallback",h[2]],Ce(c.resumableState,d.formatContext),d.context,d.treeContext,d.row,ks(d.componentStack),al,d.debugTask);Ui(Xi),c.pingedTasks.push(Xi)}}return}if(typeof b=="object"&&b!==null)switch(b.$$typeof){case js:if("ref"in T){var Fa={};for(var cl in T)cl!=="ref"&&(Fa[cl]=T[cl])}else Fa=T;var Oa=zo(c,d,h,b.render,Fa,S);ah(c,d,h,Oa,Ed!==0,Sd,Wl);return;case Ss:sd(c,d,h,b.type,T,S);return;case Bl:var ul=T.value,sa=T.children,io=d.context,vi=d.keyPath,tr=b._currentValue2;b._currentValue2=ul,b._currentRenderer2!==void 0&&b._currentRenderer2!==null&&b._currentRenderer2!==qp&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),b._currentRenderer2=qp;var aa=wc,Ji={parent:aa,depth:aa===null?0:aa.depth+1,context:b,parentValue:tr,value:ul};wc=Ji,d.context=Ji,d.keyPath=h,Lr(c,d,sa,-1);var Zr=wc;if(Zr===null)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");Zr.context!==b&&console.error("The parent context is not the expected context. This is probably a bug in React."),Zr.context._currentValue2=Zr.parentValue,b._currentRenderer2!==void 0&&b._currentRenderer2!==null&&b._currentRenderer2!==qp&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),b._currentRenderer2=qp;var Ma=wc=Zr.parent;d.context=Ma,d.keyPath=vi,io!==d.context&&console.error("Popping the context provider did not return back to the original snapshot. This is a bug in React.");return;case Ap:var gr=b._context,jo=T.children;typeof jo!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var _s=jo(gr._currentValue2),Po=d.keyPath;d.keyPath=h,Lr(c,d,_s,-1),d.keyPath=Po;return;case Fn:var bi=Xh(b);if(c.status===12)throw null;sd(c,d,h,bi,T,S);return}var Ao="";throw(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(Ao+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((b==null?b:typeof b)+"."+Ao))}}function Il(c,d,h,b,T){var S=d.replay,I=d.blockedBoundary,N=nn(c,0,null,d.formatContext,!1,!1);N.id=h,N.parentFlushed=!0;try{d.replay=null,d.blockedSegment=N,Br(c,d,b,T),N.status=Yr,I===null?c.completedRootSegment=N:(mc(I,N),I.parentFlushed&&c.partialBoundaries.push(I))}finally{d.replay=S,d.blockedSegment=null}}function Dl(c,d,h,b,T,S,I,N,Z,H){S=H.nodes;for(var J=0;J<S.length;J++){var ae=S[J];if(T===ae[1]){if(ae.length===4){if(b!==null&&b!==ae[0])throw Error("Expected the resume to render <"+ae[0]+"> in this slot but instead it rendered <"+b+">. The tree doesn't match so React will fallback to client rendering.");var se=ae[2];b=ae[3],T=d.node,d.replay={nodes:se,slots:b,pendingTasks:1};try{if(sd(c,d,h,I,N,Z),d.replay.pendingTasks===1&&0<d.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");d.replay.pendingTasks--}catch(Mn){if(typeof Mn=="object"&&Mn!==null&&(Mn===Gi||typeof Mn.then=="function"))throw d.node===T?d.replay=H:S.splice(J,1),Mn;d.replay.pendingTasks--,I=vo(d.componentStack),N=c,c=d.blockedBoundary,h=Mn,Z=b,b=An(N,h,I,d.debugTask),nl(N,c,se,Z,h,b,I,!1)}d.replay=H}else{if(I!==dd)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(ct(I)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");e:{H=void 0,b=ae[5],I=ae[2],Z=ae[3],T=ae[4]===null?[]:ae[4][2],ae=ae[4]===null?null:ae[4][3];var pe=d.keyPath,te=d.formatContext,Je=d.row,Kt=d.replay,Ae=d.blockedBoundary,ht=d.hoistableState,Xr=N.children,To=N.fallback,dt=new Set;N=ka(c,d.row,dt,null,null),N.parentFlushed=!0,N.rootSegmentID=b,d.blockedBoundary=N,d.hoistableState=N.contentState,d.keyPath=h,d.formatContext=ge(c.resumableState,te),d.row=null,d.replay={nodes:I,slots:Z,pendingTasks:1};try{if(Br(c,d,Xr,-1),d.replay.pendingTasks===1&&0<d.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");if(d.replay.pendingTasks--,N.pendingTasks===0&&N.status===na){N.status=Yr,c.completedBoundaries.push(N);break e}}catch(Mn){N.status=hi,se=vo(d.componentStack),H=An(c,Mn,se,d.debugTask),Uo(N,H,Mn,se,!1),d.replay.pendingTasks--,c.clientRenderedBoundaries.push(N)}finally{d.blockedBoundary=Ae,d.hoistableState=ht,d.replay=Kt,d.keyPath=pe,d.formatContext=te,d.row=Je}N=to(c,null,{nodes:T,slots:ae,pendingTasks:0},To,-1,Ae,N.fallbackState,dt,[h[0],"Suspense Fallback",h[2]],Ce(c.resumableState,d.formatContext),d.context,d.treeContext,d.row,ks(d.componentStack),al,d.debugTask),Ui(N),c.pingedTasks.push(N)}}S.splice(J,1);break}}}function xp(c,d,h,b,T){b===d?(h!==-1||c.componentStack===null||typeof c.componentStack.type!="function"||Object.prototype.toString.call(c.componentStack.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(b)!=="[object Generator]")&&(pf||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),pf=!0):d.entries!==T||Md||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Md=!0)}function Lr(c,d,h,b){d.replay!==null&&typeof d.replay.slots=="number"?Il(c,d,d.replay.slots,h,b):(d.node=h,d.childIndex=b,h=d.componentStack,b=d.debugTask,Ui(d),_l(c,d),d.componentStack=h,d.debugTask=b)}function _l(c,d){var h=d.node,b=d.childIndex;if(h!==null){if(typeof h=="object"){switch(h.$$typeof){case Nl:var T=h.type,S=h.key;h=h.props;var I=h.ref;I=I!==void 0?I:null;var N=d.debugTask,Z=ct(T);S=S??(b===-1?0:b);var H=[d.keyPath,Z,S];d.replay!==null?N?N.run(Dl.bind(null,c,d,H,Z,S,b,T,h,I,d.replay)):Dl(c,d,H,Z,S,b,T,h,I,d.replay):N?N.run(sd.bind(null,c,d,H,T,h,I)):sd(c,d,H,T,h,I);return;case tu:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Fn:if(T=Xh(h),c.status===12)throw null;Lr(c,d,T,b);return}if(il(h)){fc(c,d,h,b);return}if((S=n(h))&&(T=S.call(h))){if(xp(d,h,b,T,S),h=T.next(),!h.done){S=[];do S.push(h.value),h=T.next();while(!h.done);fc(c,d,S,b)}return}if(typeof h.then=="function")return d.thenableState=null,Lr(c,d,fi(h),b);if(h.$$typeof===Bl)return Lr(c,d,h._currentValue2,b);throw c=Object.prototype.toString.call(h),Error("Objects are not valid as a React child (found: "+(c==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.")}typeof h=="string"?(d=d.blockedSegment,d!==null&&(d.lastPushedText=br(d.chunks,h,c.renderState,d.lastPushedText))):typeof h=="number"||typeof h=="bigint"?(d=d.blockedSegment,d!==null&&(d.lastPushedText=br(d.chunks,""+h,c.renderState,d.lastPushedText))):(typeof h=="function"&&(c=h.displayName||h.name||"Component",console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.",c,c)),typeof h=="symbol"&&console.error(`Symbols are not valid as a React child.
582
- %s`,String(h)))}}function Nr(c,d,h){if(h!==null&&typeof h=="object"&&(h.$$typeof===Nl||h.$$typeof===tu)&&h._store&&(!h._store.validated&&h.key==null||h._store.validated===2)){if(typeof h._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");h._store.validated=1;var b=c.didWarnForKey;if(b==null&&(b=c.didWarnForKey=new WeakSet),c=d.componentStack,c!==null&&!b.has(c)){b.add(c);var T=ct(h.type);b=h._owner;var S=c.owner;if(c="",S&&typeof S.type<"u"){var I=ct(S.type);I&&(c=`
583
-
584
- Check the render method of \``+I+"`.")}c||T&&(c=`
585
-
586
- Check the top-level render call using <`+T+">."),T="",b!=null&&S!==b&&(S=null,typeof b.type<"u"?S=ct(b.type):typeof b.name=="string"&&(S=b.name),S&&(T=" It was passed a child from "+S+".")),b=d.componentStack,d.componentStack={parent:d.componentStack,type:h.type,owner:h._owner,stack:h._debugStack},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',c,T),d.componentStack=b}}}function fc(c,d,h,b){var T=d.keyPath,S=d.componentStack,I=d.debugTask;if(rn(d,d.node._debugInfo),b!==-1&&(d.keyPath=[d.keyPath,"Fragment",b],d.replay!==null)){for(var N=d.replay,Z=N.nodes,H=0;H<Z.length;H++){var J=Z[H];if(J[1]===b){b=J[2],J=J[3],d.replay={nodes:b,slots:J,pendingTasks:1};try{if(fc(c,d,h,-1),d.replay.pendingTasks===1&&0<d.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");d.replay.pendingTasks--}catch(te){if(typeof te=="object"&&te!==null&&(te===Gi||typeof te.then=="function"))throw te;d.replay.pendingTasks--;var ae=vo(d.componentStack);h=d.blockedBoundary;var se=te,pe=J;J=An(c,se,ae,d.debugTask),nl(c,h,b,pe,se,J,ae,!1)}d.replay=N,Z.splice(H,1);break}}d.keyPath=T,d.componentStack=S,d.debugTask=I;return}if(N=d.treeContext,Z=h.length,d.replay!==null&&(H=d.replay.slots,H!==null&&typeof H=="object")){for(b=0;b<Z;b++)J=h[b],d.treeContext=ho(N,Z,b),se=H[b],typeof se=="number"?(Il(c,d,se,J,b),delete H[b]):Br(c,d,J,b);d.treeContext=N,d.keyPath=T,d.componentStack=S,d.debugTask=I;return}for(H=0;H<Z;H++)b=h[H],Nr(c,d,b),d.treeContext=ho(N,Z,H),Br(c,d,b,H);d.treeContext=N,d.keyPath=T,d.componentStack=S,d.debugTask=I}function no(c,d,h){if(h.status=Vl,h.rootSegmentID=c.nextSegmentId++,c=h.trackedContentKeyPath,c===null)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var b=h.trackedFallbackNode,T=[],S=d.workingMap.get(c);return S===void 0?(h=[c[1],c[2],T,null,b,h.rootSegmentID],d.workingMap.set(c,h),ol(h,c[0],d),h):(S[4]=b,S[5]=h.rootSegmentID,S)}function ad(c,d,h,b){b.status=Vl;var T=h.keyPath,S=h.blockedBoundary;if(S===null)b.id=c.nextSegmentId++,d.rootSlots=b.id,c.completedRootSegment!==null&&(c.completedRootSegment.status=Vl);else{if(S!==null&&S.status===na){var I=no(c,d,S);if(S.trackedContentKeyPath===T&&h.childIndex===-1){b.id===-1&&(b.id=b.parentFlushed?S.rootSegmentID:c.nextSegmentId++),I[3]=b.id;return}}if(b.id===-1&&(b.id=b.parentFlushed&&S!==null?S.rootSegmentID:c.nextSegmentId++),h.childIndex===-1)T===null?d.rootSlots=b.id:(h=d.workingMap.get(T),h===void 0?(h=[T[1],T[2],[],b.id],ol(h,T[0],d)):h[3]=b.id);else{if(T===null){if(c=d.rootSlots,c===null)c=d.rootSlots={};else if(typeof c=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.")}else if(S=d.workingMap,I=S.get(T),I===void 0)c={},I=[T[1],T[2],[],c],S.set(T,I),ol(I,T[0],d);else if(c=I[3],c===null)c=I[3]={};else if(typeof c=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");c[h.childIndex]=b.id}}}function ld(c,d){c=c.trackedPostpones,c!==null&&(d=d.trackedContentKeyPath,d!==null&&(d=c.workingMap.get(d),d!==void 0&&(d.length=4,d[2]=[],d[3]=null)))}function Qc(c,d,h){return to(c,h,d.replay,d.node,d.childIndex,d.blockedBoundary,d.hoistableState,d.abortSet,d.keyPath,d.formatContext,d.context,d.treeContext,d.row,d.componentStack,al,d.debugTask)}function lh(c,d,h){var b=d.blockedSegment,T=nn(c,b.chunks.length,null,d.formatContext,b.lastPushedText,!0);return b.children.push(T),b.lastPushedText=!1,Rr(c,h,d.node,d.childIndex,d.blockedBoundary,T,d.blockedPreamble,d.hoistableState,d.abortSet,d.keyPath,d.formatContext,d.context,d.treeContext,d.row,d.componentStack,al,d.debugTask)}function Br(c,d,h,b){var T=d.formatContext,S=d.context,I=d.keyPath,N=d.treeContext,Z=d.componentStack,H=d.debugTask,J=d.blockedSegment;if(J===null){J=d.replay;try{return Lr(c,d,h,b)}catch(pe){if(yn(),h=pe===Gi?Zs():pe,c.status!==12&&typeof h=="object"&&h!==null){if(typeof h.then=="function"){b=pe===Gi?wr():null,c=Qc(c,d,b).ping,h.then(c,c),d.formatContext=T,d.context=S,d.keyPath=I,d.treeContext=N,d.componentStack=Z,d.replay=J,d.debugTask=H,Dr(S);return}if(h.message==="Maximum call stack size exceeded"){h=pe===Gi?wr():null,h=Qc(c,d,h),c.pingedTasks.push(h),d.formatContext=T,d.context=S,d.keyPath=I,d.treeContext=N,d.componentStack=Z,d.replay=J,d.debugTask=H,Dr(S);return}}}}else{var ae=J.children.length,se=J.chunks.length;try{return Lr(c,d,h,b)}catch(pe){if(yn(),J.children.length=ae,J.chunks.length=se,h=pe===Gi?Zs():pe,c.status!==12&&typeof h=="object"&&h!==null){if(typeof h.then=="function"){J=h,h=pe===Gi?wr():null,c=lh(c,d,h).ping,J.then(c,c),d.formatContext=T,d.context=S,d.keyPath=I,d.treeContext=N,d.componentStack=Z,d.debugTask=H,Dr(S);return}if(h.message==="Maximum call stack size exceeded"){J=pe===Gi?wr():null,J=lh(c,d,J),c.pingedTasks.push(J),d.formatContext=T,d.context=S,d.keyPath=I,d.treeContext=N,d.componentStack=Z,d.debugTask=H,Dr(S);return}}}}throw d.formatContext=T,d.context=S,d.keyPath=I,d.treeContext=N,Dr(S),h}function wx(c){var d=c.blockedBoundary,h=c.blockedSegment;h!==null&&(h.status=ra,Qs(this,d,c.row,h))}function nl(c,d,h,b,T,S,I,N){for(var Z=0;Z<h.length;Z++){var H=h[Z];if(H.length===4)nl(c,d,H[2],H[3],T,S,I,N);else{var J=c;H=H[5];var ae=T,se=S,pe=I,te=N,Je=ka(J,null,new Set,null,null);Je.parentFlushed=!0,Je.rootSegmentID=H,Je.status=hi,Uo(Je,se,ae,pe,te),Je.parentFlushed&&J.clientRenderedBoundaries.push(Je)}}if(h.length=0,b!==null){if(d===null)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(d.status!==hi&&(d.status=hi,Uo(d,S,T,I,N),d.parentFlushed&&c.clientRenderedBoundaries.push(d)),typeof b=="object")for(var Kt in b)delete b[Kt]}}function jc(c,d,h){var b=c.blockedBoundary,T=c.blockedSegment;if(T!==null){if(T.status===6)return;T.status=ra}var S=vo(c.componentStack),I=c.node;if(I!==null&&typeof I=="object"&&Ml(c,I._debugInfo),b===null){if(d.status!==13&&d.status!==du){if(b=c.replay,b===null){d.trackedPostpones!==null&&T!==null?(b=d.trackedPostpones,An(d,h,S,c.debugTask),ad(d,b,c,T),Qs(d,null,c.row,T)):(An(d,h,S,c.debugTask),mi(d,h,S,c.debugTask));return}b.pendingTasks--,b.pendingTasks===0&&0<b.nodes.length&&(T=An(d,h,S,null),nl(d,null,b.nodes,b.slots,h,T,S,!0)),d.pendingRootTasks--,d.pendingRootTasks===0&&bp(d)}}else{if(I=d.trackedPostpones,b.status!==hi){if(I!==null&&T!==null)return An(d,h,S,c.debugTask),ad(d,I,c,T),b.fallbackAbortableTasks.forEach(function(N){return jc(N,d,h)}),b.fallbackAbortableTasks.clear(),Qs(d,b,c.row,T);b.status=hi,T=An(d,h,S,c.debugTask),b.status=hi,Uo(b,T,h,S,!0),ld(d,b),b.parentFlushed&&d.clientRenderedBoundaries.push(b)}b.pendingTasks--,S=b.row,S!==null&&--S.pendingTasks===0&&zt(d,S),b.fallbackAbortableTasks.forEach(function(N){return jc(N,d,h)}),b.fallbackAbortableTasks.clear()}c=c.row,c!==null&&--c.pendingTasks===0&&zt(d,c),d.allPendingTasks--,d.allPendingTasks===0&&Wo(d)}function vp(c,d){try{var h=c.renderState,b=h.onHeaders;if(b){var T=h.headers;if(T){h.headers=null;var S=T.preconnects;if(T.fontPreloads&&(S&&(S+=", "),S+=T.fontPreloads),T.highImagePreloads&&(S&&(S+=", "),S+=T.highImagePreloads),!d){var I=h.styles.values(),N=I.next();e:for(;0<T.remainingCapacity&&!N.done;N=I.next())for(var Z=N.value.sheets.values(),H=Z.next();0<T.remainingCapacity&&!H.done;H=Z.next()){var J=H.value,ae=J.props,se=ae.href,pe=J.props,te=oe(pe.href,"style",{crossOrigin:pe.crossOrigin,integrity:pe.integrity,nonce:pe.nonce,type:pe.type,fetchPriority:pe.fetchPriority,referrerPolicy:pe.referrerPolicy,media:pe.media});if(0<=(T.remainingCapacity-=te.length+2))h.resets.style[se]=Wi,S&&(S+=", "),S+=te,h.resets.style[se]=typeof ae.crossOrigin=="string"||typeof ae.integrity=="string"?[ae.crossOrigin,ae.integrity]:Wi;else break e}}b(S?{Link:S}:{})}}}catch(Je){An(c,Je,{},null)}}function bp(c){c.trackedPostpones===null&&vp(c,!0),c.trackedPostpones===null&&hc(c),c.onShellError=Pn,c=c.onShellReady,c()}function Wo(c){vp(c,c.trackedPostpones===null?!0:c.completedRootSegment===null||c.completedRootSegment.status!==Vl),hc(c),c=c.onAllReady,c()}function mc(c,d){if(d.chunks.length===0&&d.children.length===1&&d.children[0].boundary===null&&d.children[0].id===-1){var h=d.children[0];h.id=d.id,h.parentFlushed=!0,h.status!==Yr&&h.status!==ra&&h.status!==Gl||mc(c,h)}else c.completedSegments.push(d)}function Qs(c,d,h,b){if(h!==null&&(--h.pendingTasks===0?zt(c,h):h.together&&zi(c,h)),c.allPendingTasks--,d===null){if(b!==null&&b.parentFlushed){if(c.completedRootSegment!==null)throw Error("There can only be one root segment. This is a bug in React.");c.completedRootSegment=b}c.pendingRootTasks--,c.pendingRootTasks===0&&bp(c)}else if(d.pendingTasks--,d.status!==hi)if(d.pendingTasks===0){if(d.status===na&&(d.status=Yr),b!==null&&b.parentFlushed&&(b.status===Yr||b.status===ra)&&mc(d,b),d.parentFlushed&&c.completedBoundaries.push(d),d.status===Yr)h=d.row,h!==null&&lt(h.hoistables,d.contentState),$r(c,d)||(d.fallbackAbortableTasks.forEach(wx,c),d.fallbackAbortableTasks.clear(),h!==null&&--h.pendingTasks===0&&zt(c,h)),c.pendingRootTasks===0&&c.trackedPostpones===null&&d.contentPreamble!==null&&hc(c);else if(d.status===Vl&&(d=d.row,d!==null)){if(c.trackedPostpones!==null){h=c.trackedPostpones;var T=d.next;if(T!==null&&(b=T.boundaries,b!==null))for(T.boundaries=null,T=0;T<b.length;T++){var S=b[T];no(c,h,S),Qs(c,S,null,null)}}--d.pendingTasks===0&&zt(c,d)}}else b===null||!b.parentFlushed||b.status!==Yr&&b.status!==ra||(mc(d,b),d.completedSegments.length===1&&d.parentFlushed&&c.partialBoundaries.push(d)),d=d.row,d!==null&&d.together&&zi(c,d);c.allPendingTasks===0&&Wo(c)}function wp(c){if(c.status!==du&&c.status!==13){var d=wc,h=pr.H;pr.H=xv;var b=pr.A;pr.A=vv;var T=Lt;Lt=c;var S=pr.getCurrentStack;pr.getCurrentStack=Ts;var I=Ad;Ad=c.resumableState;try{var N=c.pingedTasks,Z;for(Z=0;Z<N.length;Z++){var H=c,J=N[Z],ae=J.blockedSegment;if(ae===null){var se=void 0,pe=H;if(H=J,H.replay.pendingTasks!==0){Dr(H.context),se=Vo,Vo=H;try{if(typeof H.replay.slots=="number"?Il(pe,H,H.replay.slots,H.node,H.childIndex):_l(pe,H),H.replay.pendingTasks===1&&0<H.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");H.replay.pendingTasks--,H.abortSet.delete(H),Qs(pe,H.blockedBoundary,H.row,null)}catch(qn){yn();var te=qn===Gi?Zs():qn;if(typeof te=="object"&&te!==null&&typeof te.then=="function"){var Je=H.ping;te.then(Je,Je),H.thenableState=qn===Gi?wr():null}else{H.replay.pendingTasks--,H.abortSet.delete(H);var Kt=vo(H.componentStack),Ae=void 0,ht=pe,Xr=H.blockedBoundary,To=pe.status===12?pe.fatalError:te,dt=Kt,Mn=H.replay.nodes,Fs=H.replay.slots;Ae=An(ht,To,dt,H.debugTask),nl(ht,Xr,Mn,Fs,To,Ae,dt,!1),pe.pendingRootTasks--,pe.pendingRootTasks===0&&bp(pe),pe.allPendingTasks--,pe.allPendingTasks===0&&Wo(pe)}}finally{Vo=se}}}else if(pe=se=void 0,Ae=J,ht=ae,ht.status===na){ht.status=6,Dr(Ae.context),pe=Vo,Vo=Ae;var ko=ht.children.length,Fe=ht.chunks.length;try{_l(H,Ae),Sn(ht.chunks,H.renderState,ht.lastPushedText,ht.textEmbedded),Ae.abortSet.delete(Ae),ht.status=Yr,Qs(H,Ae.blockedBoundary,Ae.row,ht)}catch(qn){yn(),ht.children.length=ko,ht.chunks.length=Fe;var mr=qn===Gi?Zs():H.status===12?H.fatalError:qn;if(H.status===12&&H.trackedPostpones!==null){var gi=H.trackedPostpones,an=vo(Ae.componentStack);Ae.abortSet.delete(Ae),An(H,mr,an,Ae.debugTask),ad(H,gi,Ae,ht),Qs(H,Ae.blockedBoundary,Ae.row,ht)}else if(typeof mr=="object"&&mr!==null&&typeof mr.then=="function"){ht.status=na,Ae.thenableState=qn===Gi?wr():null;var kr=Ae.ping;mr.then(kr,kr)}else{var Er=vo(Ae.componentStack);Ae.abortSet.delete(Ae),ht.status=Gl;var jn=Ae.blockedBoundary,yi=Ae.row,Os=Ae.debugTask;if(yi!==null&&--yi.pendingTasks===0&&zt(H,yi),H.allPendingTasks--,se=An(H,mr,Er,Os),jn===null)mi(H,mr,Er,Os);else if(jn.pendingTasks--,jn.status!==hi){jn.status=hi,Uo(jn,se,mr,Er,!1),ld(H,jn);var Jr=jn.row;Jr!==null&&--Jr.pendingTasks===0&&zt(H,Jr),jn.parentFlushed&&H.clientRenderedBoundaries.push(jn),H.pendingRootTasks===0&&H.trackedPostpones===null&&jn.contentPreamble!==null&&hc(H)}H.allPendingTasks===0&&Wo(H)}}finally{Vo=pe}}}N.splice(0,Z),c.destination!==null&&eu(c,c.destination)}catch(qn){N={},An(c,qn,N,null),mi(c,qn,N,null)}finally{Ad=I,pr.H=h,pr.A=b,pr.getCurrentStack=S,h===xv&&Dr(d),Lt=T}}}function Cp(c,d,h){d.preambleChildren.length&&h.push(d.preambleChildren);for(var b=!1,T=0;T<d.children.length;T++)b=Rp(c,d.children[T],h)||b;return b}function Rp(c,d,h){var b=d.boundary;if(b===null)return Cp(c,d,h);var T=b.contentPreamble,S=b.fallbackPreamble;if(T===null||S===null)return!1;switch(b.status){case Yr:if(kn(c.renderState,T),c.byteSize+=b.byteSize,d=b.completedSegments[0],!d)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return Cp(c,d,h);case Vl:if(c.trackedPostpones!==null)return!0;case hi:if(d.status===Yr)return kn(c.renderState,S),Cp(c,d,h);default:return!0}}function hc(c){if(c.completedRootSegment&&c.completedPreambleSegments===null){var d=[],h=c.byteSize,b=Rp(c,c.completedRootSegment,d),T=c.renderState.preamble;b===!1||T.headChunks&&T.bodyChunks?c.completedPreambleSegments=d:c.byteSize=h}}function cd(c,d,h,b){switch(h.parentFlushed=!0,h.status){case na:h.id=c.nextSegmentId++;case Vl:return b=h.id,h.lastPushedText=!1,h.textEmbedded=!1,c=c.renderState,d.push(fR),d.push(c.placeholderPrefix),c=b.toString(16),d.push(c),d.push(mR);case Yr:h.status=Zh;var T=!0,S=h.chunks,I=0;h=h.children;for(var N=0;N<h.length;N++){for(T=h[N];I<T.index;I++)d.push(S[I]);T=qc(c,d,T,b)}for(;I<S.length-1;I++)d.push(S[I]);return I<S.length&&(T=d.push(S[I])),T;case ra:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function qc(c,d,h,b){var T=h.boundary;if(T===null)return cd(c,d,h,b);if(T.parentFlushed=!0,T.status===hi){var S=T.row;if(S!==null&&--S.pendingTasks===0&&zt(c,S),!c.renderState.generateStaticMarkup){var I=T.errorDigest,N=T.errorMessage;S=T.errorStack,T=T.errorComponentStack,d.push(Cd),d.push(Vp),I&&(d.push(Rd),I=M(I),d.push(I),d.push(Hi)),N&&(d.push(Yp),N=M(N),d.push(N),d.push(Hi)),S&&(d.push(kh),S=M(S),d.push(S),d.push(Hi)),T&&(d.push(Eh),S=M(T),d.push(S),d.push(Hi)),d.push(Sh)}return cd(c,d,h,b),c=c.renderState.generateStaticMarkup?!0:d.push(Ro),c}if(T.status!==Yr)return T.status===na&&(T.rootSegmentID=c.nextSegmentId++),0<T.completedSegments.length&&c.partialBoundaries.push(T),En(d,c.renderState,T.rootSegmentID),b&&lt(b,T.fallbackState),cd(c,d,h,b),d.push(Ro);if(!Yl&&$r(c,T)&&Ft+T.byteSize>c.progressiveChunkSize)return T.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(T),En(d,c.renderState,T.rootSegmentID),cd(c,d,h,b),d.push(Ro);if(Ft+=T.byteSize,b&&lt(b,T.contentState),h=T.row,h!==null&&$r(c,T)&&--h.pendingTasks===0&&zt(c,h),c.renderState.generateStaticMarkup||d.push(hR),h=T.completedSegments,h.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return qc(c,d,h[0],b),c=c.renderState.generateStaticMarkup?!0:d.push(Ro),c}function Tr(c,d,h,b){return Ks(d,c.renderState,h.parentFormatContext,h.id),qc(c,d,h,b),zn(d,h.parentFormatContext)}function Cx(c,d,h){Ft=h.byteSize;for(var b=h.completedSegments,T=0;T<b.length;T++)$c(c,d,h,b[T]);b.length=0,b=h.row,b!==null&&$r(c,h)&&--b.pendingTasks===0&&zt(c,b),_t(d,h.contentState,c.renderState),b=c.resumableState,c=c.renderState,T=h.rootSegmentID,h=h.contentState;var S=c.stylesToHoist;return c.stylesToHoist=!1,d.push(c.startInlineScript),d.push(Pt),S?((b.instructions&Lp)===qs&&(b.instructions|=Lp,d.push(TR)),(b.instructions&hd)===qs&&(b.instructions|=hd,d.push(Fh)),(b.instructions&Dx)===qs?(b.instructions|=Dx,d.push(vR)):d.push(bR)):((b.instructions&hd)===qs&&(b.instructions|=hd,d.push(Fh)),d.push(xR)),b=T.toString(16),d.push(c.boundaryPrefix),d.push(b),d.push(wR),d.push(c.segmentPrefix),d.push(b),S?(d.push(CR),lr(d,h)):d.push(RR),h=d.push(Oh),Be(d,c)&&h}function $c(c,d,h,b){if(b.status===Zh)return!0;var T=h.contentState,S=b.id;if(S===-1){if((b.id=h.rootSegmentID)===-1)throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Tr(c,d,b,T)}return S===h.rootSegmentID?Tr(c,d,b,T):(Tr(c,d,b,T),h=c.resumableState,c=c.renderState,d.push(c.startInlineScript),d.push(Pt),(h.instructions&yh)===qs?(h.instructions|=yh,d.push($x)):d.push(Jp),d.push(c.segmentPrefix),S=S.toString(16),d.push(S),d.push(Kp),d.push(c.placeholderPrefix),d.push(S),d=d.push(Ah),d)}function eu(c,d){try{if(!(0<c.pendingRootTasks)){var h,b=c.completedRootSegment;if(b!==null){if(b.status===Vl)return;var T=c.completedPreambleSegments;if(T===null)return;Ft=c.byteSize;var S=c.resumableState,I=c.renderState,N=I.preamble,Z=N.htmlChunks,H=N.headChunks,J;if(Z){for(J=0;J<Z.length;J++)d.push(Z[J]);if(H)for(J=0;J<H.length;J++)d.push(H[J]);else{var ae=At("head");d.push(ae),d.push(Pt)}}else if(H)for(J=0;J<H.length;J++)d.push(H[J]);var se=I.charsetChunks;for(J=0;J<se.length;J++)d.push(se[J]);se.length=0,I.preconnects.forEach(Hn,d),I.preconnects.clear();var pe=I.viewportChunks;for(J=0;J<pe.length;J++)d.push(pe[J]);pe.length=0,I.fontPreloads.forEach(Hn,d),I.fontPreloads.clear(),I.highImagePreloads.forEach(Hn,d),I.highImagePreloads.clear(),su=I,I.styles.forEach(ar,d),su=null;var te=I.importMapChunks;for(J=0;J<te.length;J++)d.push(te[J]);te.length=0,I.bootstrapScripts.forEach(Hn,d),I.scripts.forEach(Hn,d),I.scripts.clear(),I.bulkPreloads.forEach(Hn,d),I.bulkPreloads.clear(),S.instructions|=gd;var Je=I.hoistableChunks;for(J=0;J<Je.length;J++)d.push(Je[J]);for(S=Je.length=0;S<T.length;S++){var Kt=T[S];for(I=0;I<Kt.length;I++)qc(c,d,Kt[I],null)}var Ae=c.renderState.preamble,ht=Ae.headChunks;if(Ae.htmlChunks||ht){var Xr=St("head");d.push(Xr)}var To=Ae.bodyChunks;if(To)for(T=0;T<To.length;T++)d.push(To[T]);qc(c,d,b,null),c.completedRootSegment=null;var dt=c.renderState;if(c.allPendingTasks!==0||c.clientRenderedBoundaries.length!==0||c.completedBoundaries.length!==0||c.trackedPostpones!==null&&(c.trackedPostpones.rootNodes.length!==0||c.trackedPostpones.rootSlots!==null)){var Mn=c.resumableState;if((Mn.instructions&xh)===qs){if(Mn.instructions|=xh,d.push(dt.startInlineScript),(Mn.instructions&gd)===qs){Mn.instructions|=gd;var Fs="_"+Mn.idPrefix+"R_";d.push(rv);var ko=M(Fs);d.push(ko),d.push(st)}d.push(Pt),d.push(pR),d.push(yd)}}Be(d,dt)}var Fe=c.renderState;b=0;var mr=Fe.viewportChunks;for(b=0;b<mr.length;b++)d.push(mr[b]);mr.length=0,Fe.preconnects.forEach(Hn,d),Fe.preconnects.clear(),Fe.fontPreloads.forEach(Hn,d),Fe.fontPreloads.clear(),Fe.highImagePreloads.forEach(Hn,d),Fe.highImagePreloads.clear(),Fe.styles.forEach(mo,d),Fe.scripts.forEach(Hn,d),Fe.scripts.clear(),Fe.bulkPreloads.forEach(Hn,d),Fe.bulkPreloads.clear();var gi=Fe.hoistableChunks;for(b=0;b<gi.length;b++)d.push(gi[b]);gi.length=0;var an=c.clientRenderedBoundaries;for(h=0;h<an.length;h++){var kr=an[h];Fe=d;var Er=c.resumableState,jn=c.renderState,yi=kr.rootSegmentID,Os=kr.errorDigest,Jr=kr.errorMessage,qn=kr.errorStack,ln=kr.errorComponentStack;Fe.push(jn.startInlineScript),Fe.push(Pt),(Er.instructions&Lp)===qs?(Er.instructions|=Lp,Fe.push(ev)):Fe.push(kR),Fe.push(jn.boundaryPrefix);var Eo=yi.toString(16);if(Fe.push(Eo),Fe.push(tv),Os||Jr||qn||ln){Fe.push(Zp);var cn=sr(Os||"");Fe.push(cn)}if(Jr||qn||ln){Fe.push(Zp);var oa=sr(Jr||"");Fe.push(oa)}if(qn||ln){Fe.push(Zp);var Kr=sr(qn||"");Fe.push(Kr)}if(ln){Fe.push(Zp);var Ms=sr(ln);Fe.push(Ms)}var xn=Fe.push(ER);if(!xn){c.destination=null,h++,an.splice(0,h);return}}an.splice(0,h);var un=c.completedBoundaries;for(h=0;h<un.length;h++)if(!Cx(c,d,un[h])){c.destination=null,h++,un.splice(0,h);return}un.splice(0,h),Yl=!0;var Yo=c.partialBoundaries;for(h=0;h<Yo.length;h++){e:{an=c,kr=d;var Xo=Yo[h];Ft=Xo.byteSize;var Aa=Xo.completedSegments;for(xn=0;xn<Aa.length;xn++)if(!$c(an,kr,Xo,Aa[xn])){xn++,Aa.splice(0,xn);var Xl=!1;break e}Aa.splice(0,xn);var Jo=Xo.row;Jo!==null&&Jo.together&&Xo.pendingTasks===1&&(Jo.pendingTasks===1?Es(an,Jo,Jo.hoistables):Jo.pendingTasks--),Xl=_t(kr,Xo.contentState,an.renderState)}if(!Xl){c.destination=null,h++,Yo.splice(0,h);return}}Yo.splice(0,h),Yl=!1;var Is=c.completedBoundaries;for(h=0;h<Is.length;h++)if(!Cx(c,d,Is[h])){c.destination=null,h++,Is.splice(0,h);return}Is.splice(0,h)}}finally{Yl=!1,c.allPendingTasks===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&(c.flushScheduled=!1,h=c.resumableState,h.hasBody&&(Yo=St("body"),d.push(Yo)),h.hasHtml&&(h=St("html"),d.push(h)),c.abortableTasks.size!==0&&console.error("There was still abortable task at the root when we closed. This is a bug in React."),c.status=du,d.push(null),c.destination=null)}}function Tp(c){c.flushScheduled=c.destination!==null,wp(c),c.status===10&&(c.status=11),c.trackedPostpones===null&&vp(c,c.pendingRootTasks===0)}function rl(c){if(c.flushScheduled===!1&&c.pingedTasks.length===0&&c.destination!==null){c.flushScheduled=!0;var d=c.destination;d?eu(c,d):c.flushScheduled=!1}}function kp(c,d){if(c.status===13)c.status=du,d.destroy(c.fatalError);else if(c.status!==du&&c.destination===null){c.destination=d;try{eu(c,d)}catch(h){d={},An(c,h,d,null),mi(c,h,d,null)}}}function ud(c,d){(c.status===11||c.status===10)&&(c.status=12);try{var h=c.abortableTasks;if(0<h.size){var b=d===void 0?Error("The render was aborted by the server without a reason."):typeof d=="object"&&d!==null&&typeof d.then=="function"?Error("The render was aborted by the server with a promise."):d;c.fatalError=b,h.forEach(function(T){var S=Vo,I=pr.getCurrentStack;Vo=T,pr.getCurrentStack=Ts;try{jc(T,c,b)}finally{Vo=S,pr.getCurrentStack=I}}),h.clear()}c.destination!==null&&eu(c,c.destination)}catch(T){d={},An(c,T,d,null),mi(c,T,d,null)}}function ol(c,d,h){if(d===null)h.rootNodes.push(c);else{var b=h.workingMap,T=b.get(d);T===void 0&&(T=[d[1],d[2],[],null],b.set(d,T),ol(T,d[0],h)),T[2].push(c)}}function Ll(){}function Ep(c,d,h,b){var T=!1,S=null,I="",N=!1;if(d=ve(d?d.identifierPrefix:void 0),c=ut(c,d,Ir(d,h),re(xc,null,0,null),1/0,Ll,void 0,function(){N=!0},void 0,void 0,void 0),Tp(c),ud(c,b),kp(c,{push:function(Z){return Z!==null&&(I+=Z),!0},destroy:function(Z){T=!0,S=Z}}),T&&S!==b)throw S;if(!N)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return I}var Sp=Uc(),Rx=Py(),Nl=Symbol.for("react.transitional.element"),tu=Symbol.for("react.portal"),nu=Symbol.for("react.fragment"),Pp=Symbol.for("react.strict_mode"),ch=Symbol.for("react.profiler"),Ap=Symbol.for("react.consumer"),Bl=Symbol.for("react.context"),js=Symbol.for("react.forward_ref"),dd=Symbol.for("react.suspense"),Ea=Symbol.for("react.suspense_list"),Ss=Symbol.for("react.memo"),Fn=Symbol.for("react.lazy"),Fp=Symbol.for("react.scope"),pd=Symbol.for("react.activity"),Tx=Symbol.for("react.legacy_hidden"),kx=Symbol.for("react.memo_cache_sentinel"),Op=Symbol.for("react.view_transition"),Ex=Symbol.iterator,il=Array.isArray,Sx=new WeakMap,uh=new WeakMap,Mp=Symbol.for("react.client.reference"),dr=Object.assign,Ht=Object.prototype.hasOwnProperty,sR=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ip={},Px={},Ax=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Dp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),dh={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ph={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},gc={},Fx=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),fh=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ru=!1,fd={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Ur={},md=/^on./,_p=/^on[^A-Z]/,ou=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),aR=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ox=/^(?:webkit|moz|o)[A-Z]/,lR=/^-ms-/,cR=/-(.)/g,Mx=/;\s*$/,yc={},Sa={},mh=!1,hh=!1,gh=/["'&<>]/,Ix=/([A-Z])/g,On=/^ms-/,on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,pr=Sp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,iu=Rx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fr=Object.freeze({pending:!1,data:null,method:null,action:null}),it=iu.d;iu.d={f:it.f,r:it.r,D:function(c){var d=Lt||null;if(d){var h=d.resumableState,b=d.renderState;if(typeof c=="string"&&c){if(!h.dnsResources.hasOwnProperty(c)){h.dnsResources[c]=Vn,h=b.headers;var T,S;(S=h&&0<h.remainingCapacity)&&(S=(T="<"+de(c)+">; rel=dns-prefetch",0<=(h.remainingCapacity-=T.length+2))),S?(b.resets.dns[c]=Vn,h.preconnects&&(h.preconnects+=", "),h.preconnects+=T):(T=[],ze(T,{href:c,rel:"dns-prefetch"}),b.preconnects.add(T))}rl(d)}}else it.D(c)},C:function(c,d){var h=Lt||null;if(h){var b=h.resumableState,T=h.renderState;if(typeof c=="string"&&c){var S=d==="use-credentials"?"credentials":typeof d=="string"?"anonymous":"default";if(!b.connectResources[S].hasOwnProperty(c)){b.connectResources[S][c]=Vn,b=T.headers;var I,N;if(N=b&&0<b.remainingCapacity){if(N="<"+de(c)+">; rel=preconnect",typeof d=="string"){var Z=De(d,"crossOrigin");N+='; crossorigin="'+Z+'"'}N=(I=N,0<=(b.remainingCapacity-=I.length+2))}N?(T.resets.connect[S][c]=Vn,b.preconnects&&(b.preconnects+=", "),b.preconnects+=I):(S=[],ze(S,{rel:"preconnect",href:c,crossOrigin:d}),T.preconnects.add(S))}rl(h)}}else it.C(c,d)},L:function(c,d,h){var b=Lt||null;if(b){var T=b.resumableState,S=b.renderState;if(d&&c){switch(d){case"image":if(h)var I=h.imageSrcSet,N=h.imageSizes,Z=h.fetchPriority;var H=I?I+`
587
- `+(N||""):c;if(T.imageResources.hasOwnProperty(H))return;T.imageResources[H]=Wi,T=S.headers;var J;T&&0<T.remainingCapacity&&typeof I!="string"&&Z==="high"&&(J=oe(c,d,h),0<=(T.remainingCapacity-=J.length+2))?(S.resets.image[H]=Wi,T.highImagePreloads&&(T.highImagePreloads+=", "),T.highImagePreloads+=J):(T=[],ze(T,dr({rel:"preload",href:I?void 0:c,as:d},h)),Z==="high"?S.highImagePreloads.add(T):(S.bulkPreloads.add(T),S.preloads.images.set(H,T)));break;case"style":if(T.styleResources.hasOwnProperty(c))return;I=[],ze(I,dr({rel:"preload",href:c,as:d},h)),T.styleResources[c]=!h||typeof h.crossOrigin!="string"&&typeof h.integrity!="string"?Wi:[h.crossOrigin,h.integrity],S.preloads.stylesheets.set(c,I),S.bulkPreloads.add(I);break;case"script":if(T.scriptResources.hasOwnProperty(c))return;I=[],S.preloads.scripts.set(c,I),S.bulkPreloads.add(I),ze(I,dr({rel:"preload",href:c,as:d},h)),T.scriptResources[c]=!h||typeof h.crossOrigin!="string"&&typeof h.integrity!="string"?Wi:[h.crossOrigin,h.integrity];break;default:if(T.unknownResources.hasOwnProperty(d)){if(I=T.unknownResources[d],I.hasOwnProperty(c))return}else I={},T.unknownResources[d]=I;if(I[c]=Wi,(T=S.headers)&&0<T.remainingCapacity&&d==="font"&&(H=oe(c,d,h),0<=(T.remainingCapacity-=H.length+2)))S.resets.font[c]=Wi,T.fontPreloads&&(T.fontPreloads+=", "),T.fontPreloads+=H;else switch(T=[],c=dr({rel:"preload",href:c,as:d},h),ze(T,c),d){case"font":S.fontPreloads.add(T);break;default:S.bulkPreloads.add(T)}}rl(b)}}else it.L(c,d,h)},m:function(c,d){var h=Lt||null;if(h){var b=h.resumableState,T=h.renderState;if(c){var S=d&&typeof d.as=="string"?d.as:"script";switch(S){case"script":if(b.moduleScriptResources.hasOwnProperty(c))return;S=[],b.moduleScriptResources[c]=!d||typeof d.crossOrigin!="string"&&typeof d.integrity!="string"?Wi:[d.crossOrigin,d.integrity],T.preloads.moduleScripts.set(c,S);break;default:if(b.moduleUnknownResources.hasOwnProperty(S)){var I=b.unknownResources[S];if(I.hasOwnProperty(c))return}else I={},b.moduleUnknownResources[S]=I;S=[],I[c]=Wi}ze(S,dr({rel:"modulepreload",href:c},d)),T.bulkPreloads.add(S),rl(h)}}else it.m(c,d)},X:function(c,d){var h=Lt||null;if(h){var b=h.resumableState,T=h.renderState;if(c){var S=b.scriptResources.hasOwnProperty(c)?b.scriptResources[c]:void 0;S!==Vn&&(b.scriptResources[c]=Vn,d=dr({src:c,async:!0},d),S&&(S.length===2&&z(d,S),c=T.preloads.scripts.get(c))&&(c.length=0),c=[],T.scripts.add(c),li(c,d),rl(h))}}else it.X(c,d)},S:function(c,d,h){var b=Lt||null;if(b){var T=b.resumableState,S=b.renderState;if(c){d=d||"default";var I=S.styles.get(d),N=T.styleResources.hasOwnProperty(c)?T.styleResources[c]:void 0;N!==Vn&&(T.styleResources[c]=Vn,I||(I={precedence:M(d),rules:[],hrefs:[],sheets:new Map},S.styles.set(d,I)),d={state:_h,props:dr({rel:"stylesheet",href:c,"data-precedence":d},h)},N&&(N.length===2&&z(d.props,N),(S=S.preloads.stylesheets.get(c))&&0<S.length?S.length=0:d.state=Lh),I.sheets.set(c,d),rl(b))}}else it.S(c,d,h)},M:function(c,d){var h=Lt||null;if(h){var b=h.resumableState,T=h.renderState;if(c){var S=b.moduleScriptResources.hasOwnProperty(c)?b.moduleScriptResources[c]:void 0;S!==Vn&&(b.moduleScriptResources[c]=Vn,d=dr({src:c,type:"module",async:!0},d),S&&(S.length===2&&z(d,S),c=T.preloads.moduleScripts.get(c))&&(c.length=0),c=[],T.scripts.add(c),li(c,d),rl(h))}}else it.M(c,d)}};var qs=0,yh=1,hd=2,Lp=4,Dx=8,gd=32,xh=64,Vn=null,Wi=[];Object.freeze(Wi);var su=null,yd="</script>",_x=/(<\/|<)(s)(cript)/gi,bo={},xc=0,xd=1,$s=2,Np=3,sl=4,Bp=5,Up=6,zp=7,Ul=8,vd=9,vh=new Map,Lx=' style="',Nx=":",uR=";",Ho=" ",Ps='="',st='"',Wp='=""',Bx=M("javascript:throw new Error('React form unexpectedly submitted.')"),Pt=">",wo="/>",bh=!1,bd=!1,wd=!1,wh=!1,au=!1,Ch=!1,zr=!1,Co=!1,vc=!1,Hp=!1,bc=!1,Ux=`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,dR=/(<\/|<)(s)(tyle)/gi,Gp=`
588
- `,zx=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Rh=new Map,Th=new Map,pR="requestAnimationFrame(function(){$RT=performance.now()});",fR='<template id="',mR='"></template>',hR="<!--$-->",Wx='<!--$?--><template id="',lu='"></template>',Cd="<!--$!-->",Ro="<!--/$-->",Vp="<template",Hi='"',Rd=' data-dgst="',Yp=' data-msg="',kh=' data-stck="',Eh=' data-cstck="',Sh="></template>",ea='<div hidden id="',Hx='">',gR="</div>",Gx='<svg aria-hidden="true" style="display:none" id="',yR='">',Go="</svg>",As='<math aria-hidden="true" style="display:none" id="',Yn='">',Ph="</math>",Vx='<table hidden id="',Yx='">',Xn="</table>",Td='<table hidden><tbody id="',Xx='">',Jx="</tbody></table>",Kx='<table hidden><tr id="',Zx='">',Qx="</tr></table>",jx='<table hidden><colgroup id="',qx='">',Xp="</colgroup></table>",$x='$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("',Jp='$RS("',Kp='","',Ah='")</script>',Fh=`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
589
- $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`,xR='$RC("',vR=`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
590
- "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
591
- "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`,bR='$RR("',wR='","',CR='",',RR='"',Oh=")</script>",TR='$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};',ev='$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("',kR='$RX("',tv='"',Zp=",",ER=")</script>",SR=/[<\u2028\u2029]/g,PR=/[&><\u2028\u2029]/g,AR=' media="not all" data-precedence="',FR='" data-href="',OR='">',MR="</style>",Qp=!1,Mh=!0,zl=[],jp=' data-precedence="',IR='" data-href="',nv=" ",DR='">',_R="</style>",rv=' id="',ov="[",iv=",[",Ih=",",Dh="]",_h=0,Lh=1,Nh=2,sv=3,LR=/[<>\r\n]/g,NR=/["';,\r\n]/g,BR="",UR=Function.prototype.bind,zR=Symbol.for("react.client.reference"),al={};Object.freeze(al);var qp={},wc=null,av={},lv={},cv=new Set,uv=new Set,dv=new Set,pv=new Set,fv=new Set,mv=new Set,hv=new Set,Bh=new Set,gv=new Set,yv={enqueueSetState:function(c,d,h){var b=c._reactInternals;b.queue===null?mt(c,"setState"):(b.queue.push(d),h!=null&&ui(h))},enqueueReplaceState:function(c,d,h){c=c._reactInternals,c.replace=!0,c.queue=[d],h!=null&&ui(h)},enqueueForceUpdate:function(c,d){c._reactInternals.queue===null?mt(c,"forceUpdate"):d!=null&&ui(d)}},WR={id:1,overflow:""},$p=Math.clz32?Math.clz32:ws,HR=Math.log,GR=Math.LN2,Gi=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),ef=null,VR=typeof Object.is=="function"?Object.is:Cs,ll=null,Uh=null,cu=null,zh=null,tf=null,sn=null,kd=!1,nf=!1,Ed=0,Sd=0,Wl=-1,uu=0,Vi=null,Hl=null,rf=0,ta=!1,Pd,xv={readContext:di,use:function(c){if(c!==null&&typeof c=="object"){if(typeof c.then=="function")return fi(c);if(c.$$typeof===Bl)return di(c)}throw Error("An unsupported type was passed to use(): "+String(c))},useContext:function(c){return Pd="useContext",ur(),c._currentValue2},useMemo:yo,useReducer:pi,useRef:function(c){ll=ur(),sn=Bi();var d=sn.memoizedState;return d===null?(c={current:c},Object.seal(c),sn.memoizedState=c):d},useState:function(c){return Pd="useState",pi(go,c)},useInsertionEffect:Pn,useLayoutEffect:Pn,useCallback:function(c,d){return yo(function(){return c},d)},useImperativeHandle:Pn,useEffect:Pn,useDebugValue:Pn,useDeferredValue:function(c,d){return ur(),d!==void 0?d:c},useTransition:function(){return ur(),[!1,Rs]},useId:function(){var c=Uh.treeContext,d=c.overflow;c=c.id,c=(c&~(1<<32-$p(c)-1)).toString(32)+d;var h=Ad;if(h===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return d=Ed++,c="_"+h.idPrefix+"R_"+c,0<d&&(c+="H"+d.toString(32)),c+"_"},useSyncExternalStore:function(c,d,h){if(h===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return h()},useOptimistic:function(c){return ur(),[c,_r]},useActionState:el,useFormState:el,useHostTransitionStatus:function(){return ur(),fr},useMemoCache:function(c){for(var d=Array(c),h=0;h<c;h++)d[h]=kx;return d},useCacheRefresh:function(){return Ta},useEffectEvent:function(){return $a}},Ad=null,Vo=null,vv={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")},getOwner:function(){return Vo===null?null:Vo.componentStack}},Cc=0,of,sf,af,lf,Wh,bv,wv;Bo.__reactDisabledLog=!0;var Hh,cf,Gh=!1,Yi=new(typeof WeakMap=="function"?WeakMap:Map),Fd={react_stack_bottom_frame:function(c,d,h){return c(d,h)}},Rc=Fd.react_stack_bottom_frame.bind(Fd),Vh={react_stack_bottom_frame:function(c){return c.render()}},Cv=Vh.react_stack_bottom_frame.bind(Vh),Yh={react_stack_bottom_frame:function(c){var d=c._init;return d(c._payload)}},Xh=Yh.react_stack_bottom_frame.bind(Yh),Jh=0;if(typeof performance=="object"&&typeof performance.now=="function")var Rv=performance,Kh=function(){return Rv.now()};else{var Tv=Date;Kh=function(){return Tv.now()}}var hi=4,na=0,Yr=1,Zh=2,ra=3,Gl=4,Vl=5,du=14,Lt=null,Od={},kv={},Pa={},uf={},df=!1,pf=!1,Md=!1,Ft=0,Yl=!1;N0.renderToStaticMarkup=function(c,d){return Ep(c,d,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')},N0.renderToString=function(c,d){return Ep(c,d,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')},N0.version="19.2.4"}()});var E8=yl(lc=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function e(a,l,m,v){return""+l+(m==="s"?"\\73 ":"\\53 ")+v}function t(a,l,m,v){return""+l+(m==="s"?"\\u0073":"\\u0053")+v}function n(a){return a===null||typeof a!="object"?null:(a=yc&&a[yc]||a["@@iterator"],typeof a=="function"?a:null)}function r(a){return a=Object.prototype.toString.call(a),a.slice(8,a.length-1)}function o(a){var l=JSON.stringify(a);return'"'+a+'"'===l?a:l}function i(a){switch(typeof a){case"string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case"object":return Sa(a)?"[...]":a!==null&&a.$$typeof===gh?"client":(a=r(a),a==="Object"?"{...}":a);case"function":return a.$$typeof===gh?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}function s(a){if(typeof a=="string")return a;switch(a){case Ur:return"Suspense";case md:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case fd:return s(a.render);case _p:return s(a.type);case ou:var l=a._payload;a=a._init;try{return s(a(l))}catch{}}return""}function u(a,l){var m=r(a);if(m!=="Object"&&m!=="Array")return m;var v=-1,R=0;if(Sa(a))if(hh.has(a)){var E=hh.get(a);m="<"+s(E)+">";for(var O=0;O<a.length;O++){var _=a[O];_=typeof _=="string"?_:typeof _=="object"&&_!==null?"{"+u(_)+"}":"{"+i(_)+"}",""+O===l?(v=m.length,R=_.length,m+=_):m=15>_.length&&40>m.length+_.length?m+_:m+"{...}"}m+="</"+s(E)+">"}else{for(m="[",E=0;E<a.length;E++)0<E&&(m+=", "),O=a[E],O=typeof O=="object"&&O!==null?u(O):i(O),""+E===l?(v=m.length,R=O.length,m+=O):m=10>O.length&&40>m.length+O.length?m+O:m+"...";m+="]"}else if(a.$$typeof===Dp)m="<"+s(a.type)+"/>";else{if(a.$$typeof===gh)return"client";if(mh.has(a)){for(m=mh.get(a),m="<"+(s(m)||"..."),E=Object.keys(a),O=0;O<E.length;O++){m+=" ",_=E[O],m+=o(_)+"=";var X=a[_],B=_===l&&typeof X=="object"&&X!==null?u(X):i(X);typeof X!="string"&&(B="{"+B+"}"),_===l?(v=m.length,R=B.length,m+=B):m=10>B.length&&40>m.length+B.length?m+B:m+"..."}m+=">"}else{for(m="{",E=Object.keys(a),O=0;O<E.length;O++)0<O&&(m+=", "),_=E[O],m+=o(_)+": ",X=a[_],X=typeof X=="object"&&X!==null?u(X):i(X),_===l?(v=m.length,R=X.length,m+=X):m=10>X.length&&40>m.length+X.length?m+X:m+"...";m+="}"}}return l===void 0?m:-1<v&&0<R?(a=" ".repeat(v)+"^".repeat(R),`
592
- `+m+`
593
- `+a):`
594
- `+m}function p(a){typeof a.flush=="function"&&a.flush()}function f(a,l){if(typeof l=="string"){if(l.length!==0)if(2048<3*l.length)0<on&&(g(a,On.subarray(0,on)),On=new Uint8Array(2048),on=0),g(a,l);else{var m=On;0<on&&(m=On.subarray(on)),m=iu.encodeInto(l,m);var v=m.read;on+=m.written,v<l.length&&(g(a,On.subarray(0,on)),On=new Uint8Array(2048),on=iu.encodeInto(l.slice(v),On).written),on===2048&&(g(a,On),On=new Uint8Array(2048),on=0)}}else l.byteLength!==0&&(2048<l.byteLength?(0<on&&(g(a,On.subarray(0,on)),On=new Uint8Array(2048),on=0),g(a,l)):(m=On.length-on,m<l.byteLength&&(m===0?g(a,On):(On.set(l.subarray(0,m),on),on+=m,g(a,On),l=l.subarray(m)),On=new Uint8Array(2048),on=0),On.set(l,on),on+=l.byteLength,on===2048&&(g(a,On),On=new Uint8Array(2048),on=0)))}function g(a,l){a=a.write(l),pr=pr&&a}function y(a,l){return f(a,l),pr}function x(a){On&&0<on&&a.write(On.subarray(0,on)),On=null,on=0,pr=!0}function w(a){return a=iu.encode(a),2048<a.byteLength&&console.error("precomputed chunks must be smaller than the view size configured for this host. This is a bug in React."),a}function A(a){return typeof a=="string"?Buffer.byteLength(a,"utf8"):a.byteLength}function F(a){return typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object"}function D(a){try{return L(a),!1}catch{return!0}}function L(a){return""+a}function U(a,l){if(D(a))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",l,F(a)),L(a)}function Y(a,l){if(D(a))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",l,F(a)),L(a)}function G(a){if(D(a))return console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",F(a)),L(a)}function W(a){return it.call(hd,a)?!0:it.call(yh,a)?!1:qs.test(a)?hd[a]=!0:(yh[a]=!0,console.error("Invalid attribute name: `%s`",a),!1)}function M(a,l){gd[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||console.error(a==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ne(a,l){if(it.call(Vn,l)&&Vn[l])return!0;if(su.test(l)){if(a="aria-"+l.slice(4).toLowerCase(),a=xh.hasOwnProperty(a)?a:null,a==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),Vn[l]=!0;if(l!==a)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,a),Vn[l]=!0}if(Wi.test(l)){if(a=l.toLowerCase(),a=xh.hasOwnProperty(a)?a:null,a==null)return Vn[l]=!0,!1;l!==a&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,a),Vn[l]=!0)}return!0}function Re(a,l){var m=[],v;for(v in l)ne(a,v)||m.push(v);l=m.map(function(R){return"`"+R+"`"}).join(", "),m.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",l,a):1<m.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",l,a)}function ve(a,l,m,v){if(it.call(bo,l)&&bo[l])return!0;var R=l.toLowerCase();if(R==="onfocusin"||R==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),bo[l]=!0;if(typeof m=="function"&&(a==="form"&&l==="action"||a==="input"&&l==="formAction"||a==="button"&&l==="formAction"))return!0;if(v!=null){if(a=v.possibleRegistrationNames,v.registrationNameDependencies.hasOwnProperty(l))return!0;if(v=a.hasOwnProperty(R)?a[R]:null,v!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",l,v),bo[l]=!0;if(xc.test(l))return console.error("Unknown event handler property `%s`. It will be ignored.",l),bo[l]=!0}else if(xc.test(l))return xd.test(l)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),bo[l]=!0;if($s.test(l)||Np.test(l))return!0;if(R==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),bo[l]=!0;if(R==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),bo[l]=!0;if(R==="is"&&m!==null&&m!==void 0&&typeof m!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof m),bo[l]=!0;if(typeof m=="number"&&isNaN(m))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),bo[l]=!0;if(_x.hasOwnProperty(R)){if(R=_x[R],R!==l)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",l,R),bo[l]=!0}else if(l!==R)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,R),bo[l]=!0;switch(l){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof m){case"boolean":switch(l){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return R=l.toLowerCase().slice(0,5),R==="data-"||R==="aria-"?!0:(m?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',m,l,l,m,l):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',m,l,l,m,l,l,l),bo[l]=!0)}case"function":case"symbol":return bo[l]=!0,!1;case"string":if(m==="false"||m==="true"){switch(l){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",m,l,m==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,m),bo[l]=!0}}return!0}function re(a,l,m){var v=[],R;for(R in l)ve(a,R,l[R],m)||v.push(R);l=v.map(function(E){return"`"+E+"`"}).join(", "),v.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",l,a):1<v.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",l,a)}function me(a){return a.replace(Up,function(l,m){return m.toUpperCase()})}function ce(a){if(typeof a=="boolean"||typeof a=="number"||typeof a=="bigint")return""+a;G(a),a=""+a;var l=Nx.exec(a);if(l){var m="",v,R=0;for(v=l.index;v<a.length;v++){switch(a.charCodeAt(v)){case 34:l="&quot;";break;case 38:l="&amp;";break;case 39:l="&#x27;";break;case 60:l="&lt;";break;case 62:l="&gt;";break;default:continue}R!==v&&(m+=a.slice(R,v)),R=v+1,m+=l}a=R!==v?m+a.slice(R,v):m}return a}function Ce(a){return Ps.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function ge(a){return G(a),(""+a).replace(fR,t)}function Pe(a,l,m,v,R,E){m=typeof l=="string"?l:l&&l.script;var O=m===void 0?Hp:w('<script nonce="'+ce(m)+'"'),_=typeof l=="string"?void 0:l&&l.style,X=_===void 0?pR:w('<style nonce="'+ce(_)+'"'),B=a.idPrefix,V=[],$=a.bootstrapScriptContent,ee=a.bootstrapScripts,ie=a.bootstrapModules;if($!==void 0&&(V.push(O),_e(V,a),V.push(Xn,ge($),bc)),$=[],v!==void 0&&($.push(mR),$.push(ge(JSON.stringify(v))),$.push(hR)),R&&typeof E=="number"&&0>=E&&console.error("React expected a positive non-zero `maxHeadersLength` option but found %s instead. When using the `onHeaders` option you may supply an optional `maxHeadersLength` option as well however, when setting this value to zero or less no headers will be captured.",E===0?"zero":E),v=R?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+(typeof E=="number"?E:2e3)}:null,R={placeholderPrefix:w(B+"P:"),segmentPrefix:w(B+"S:"),boundaryPrefix:w(B+"B:"),startInlineScript:O,startInlineStyle:X,preamble:Xe(),externalRuntimeScript:null,bootstrapChunks:V,importMapChunks:$,onHeaders:R,headers:v,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:m,style:_},hoistableState:null,stylesToHoist:!1},ee!==void 0)for(v=0;v<ee.length;v++)E=ee[v],X=_=void 0,B={rel:"preload",as:"script",fetchPriority:"low",nonce:l},typeof E=="string"?B.href=O=E:(B.href=O=E.src,B.integrity=X=typeof E.integrity=="string"?E.integrity:void 0,B.crossOrigin=_=typeof E=="string"||E.crossOrigin==null?void 0:E.crossOrigin==="use-credentials"?"use-credentials":""),Ir(a,R,O,B),V.push(Ux,ce(O),Yn),m&&V.push(Gp,ce(m),Yn),typeof X=="string"&&V.push(zx,ce(X),Yn),typeof _=="string"&&V.push(Rh,ce(_),Yn),_e(V,a),V.push(Th);if(ie!==void 0)for(l=0;l<ie.length;l++)ee=ie[l],O=E=void 0,_={rel:"modulepreload",fetchPriority:"low",nonce:m},typeof ee=="string"?_.href=v=ee:(_.href=v=ee.src,_.integrity=O=typeof ee.integrity=="string"?ee.integrity:void 0,_.crossOrigin=E=typeof ee=="string"||ee.crossOrigin==null?void 0:ee.crossOrigin==="use-credentials"?"use-credentials":""),Ir(a,R,v,_),V.push(dR,ce(v),Yn),m&&V.push(Gp,ce(m),Yn),typeof O=="string"&&V.push(zx,ce(O),Yn),typeof E=="string"&&V.push(Rh,ce(E),Yn),_e(V,a),V.push(Th);return R}function ot(a,l,m,v,R){return{idPrefix:a===void 0?"":a,nextFormID:0,streamingFormat:0,bootstrapScriptContent:m,bootstrapScripts:v,bootstrapModules:R,instructions:wo,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Xe(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function Ze(a,l,m,v){return{insertionMode:a,selectedValue:l,tagScope:m,viewTransition:v}}function Tn(a){return Ze(a==="http://www.w3.org/2000/svg"?Hi:a==="http://www.w3.org/1998/Math/MathML"?Rd:lu,null,0,null)}function Jt(a,l,m){var v=a.tagScope&-25;switch(l){case"noscript":return Ze(Ro,null,v|1,null);case"select":return Ze(Ro,m.value!=null?m.value:m.defaultValue,v,null);case"svg":return Ze(Hi,null,v,null);case"picture":return Ze(Ro,null,v|2,null);case"math":return Ze(Rd,null,v,null);case"foreignObject":return Ze(Ro,null,v,null);case"table":return Ze(Yp,null,v,null);case"thead":case"tbody":case"tfoot":return Ze(kh,null,v,null);case"colgroup":return Ze(Sh,null,v,null);case"tr":return Ze(Eh,null,v,null);case"head":if(a.insertionMode<Ro)return Ze(Vp,null,v,null);break;case"html":if(a.insertionMode===lu)return Ze(Cd,null,v,null)}return a.insertionMode>=Yp||a.insertionMode<Ro?Ze(Ro,null,v,null):a.tagScope!==v?Ze(a.insertionMode,a.selectedValue,v,null):a}function be(a){return a===null?null:{update:a.update,enter:"none",exit:"none",share:a.update,name:a.autoName,autoName:a.autoName,nameIdx:0}}function he(a,l){return l.tagScope&32&&(a.instructions|=128),Ze(l.insertionMode,l.selectedValue,l.tagScope|12,be(l.viewTransition))}function Ne(a,l){a=be(l.viewTransition);var m=l.tagScope|16;return a!==null&&a.share!=="none"&&(m|=64),Ze(l.insertionMode,l.selectedValue,m,a)}function Et(a,l,m,v){return l===""?v:(v&&a.push(ea),a.push(ce(l)),!0)}function en(a,l){if(typeof l!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var m=!0,v;for(v in l)if(it.call(l,v)){var R=l[v];if(R!=null&&typeof R!="boolean"&&R!==""){if(v.indexOf("--")===0){var E=ce(v);Y(R,v),R=ce((""+R).trim())}else{E=v;var O=R;if(-1<E.indexOf("-")){var _=E;Ul.hasOwnProperty(_)&&Ul[_]||(Ul[_]=!0,console.error("Unsupported style property %s. Did you mean %s?",_,me(_.replace(Bp,"ms-"))))}else if(sl.test(E))_=E,Ul.hasOwnProperty(_)&&Ul[_]||(Ul[_]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",_,_.charAt(0).toUpperCase()+_.slice(1)));else if(zp.test(O)){_=E;var X=O;vd.hasOwnProperty(X)&&vd[X]||(vd[X]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,_,X.replace(zp,"")))}typeof O=="number"&&(isNaN(O)?vh||(vh=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",E)):isFinite(O)||Lx||(Lx=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",E))),E=v,O=Hx.get(E),O!==void 0||(O=w(ce(E.replace(uR,"-$1").toLowerCase().replace(Ho,"-ms-"))),Hx.set(E,O)),E=O,typeof R=="number"?R=R===0||Lp.has(v)?""+R:R+"px":(Y(R,v),R=ce((""+R).trim()))}m?(m=!1,a.push(gR,E,Gx,R)):a.push(yR,E,Gx,R)}}m||a.push(Yn)}function je(a,l,m){m&&typeof m!="function"&&typeof m!="symbol"&&a.push(Go,l,Ph)}function ze(a,l,m){typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&a.push(Go,l,As,ce(m),Yn)}function Qn(a,l){this.push(Yx),fo(a),ze(this,"name",l),ze(this,"value",a),this.push(Td)}function fo(a){if(typeof a!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function xs(a,l){if(typeof l.$$FORM_ACTION=="function"){var m=a.nextFormID++;a=a.idPrefix+m;try{var v=l.$$FORM_ACTION(a);if(v){var R=v.data;R?.forEach(fo)}return v}catch(E){if(typeof E=="object"&&E!==null&&typeof E.then=="function")throw E;console.error(`Failed to serialize an action for progressive enhancement:
595
- %s`,E)}}return null}function li(a,l,m,v,R,E,O,_){var X=null;if(typeof v=="function"){_===null||$x||($x=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),R===null&&E===null||Kp||(Kp=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),O===null||Jp||(Jp=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."));var B=xs(l,v);B!==null?(_=B.name,v=B.action||"",R=B.encType,E=B.method,O=B.target,X=B.data):(a.push(Go,"formAction",As,Vx,Yn),O=E=R=v=_=null,St(l,m))}return _!=null&&Qe(a,"name",_),v!=null&&Qe(a,"formAction",v),R!=null&&Qe(a,"formEncType",R),E!=null&&Qe(a,"formMethod",E),O!=null&&Qe(a,"formTarget",O),X}function Qe(a,l,m){switch(l){case"className":ze(a,"class",m);break;case"tabIndex":ze(a,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":ze(a,l,m);break;case"style":en(a,m);break;case"src":case"href":if(m===""){console.error(l==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',l,l);break}case"action":case"formAction":if(m==null||typeof m=="function"||typeof m=="symbol"||typeof m=="boolean")break;U(m,l),m=Ce(""+m),a.push(Go,l,As,ce(m),Yn);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":je(a,l.toLowerCase(),m);break;case"xlinkHref":if(typeof m=="function"||typeof m=="symbol"||typeof m=="boolean")break;U(m,l),m=Ce(""+m),a.push(Go,"xlink:href",As,ce(m),Yn);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof m!="function"&&typeof m!="symbol"&&a.push(Go,l,As,ce(m),Yn);break;case"inert":m!==""||Wx[l]||(Wx[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":m&&typeof m!="function"&&typeof m!="symbol"&&a.push(Go,l,Ph);break;case"capture":case"download":m===!0?a.push(Go,l,Ph):m!==!1&&typeof m!="function"&&typeof m!="symbol"&&a.push(Go,l,As,ce(m),Yn);break;case"cols":case"rows":case"size":case"span":typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m&&a.push(Go,l,As,ce(m),Yn);break;case"rowSpan":case"start":typeof m=="function"||typeof m=="symbol"||isNaN(m)||a.push(Go,l,As,ce(m),Yn);break;case"xlinkActuate":ze(a,"xlink:actuate",m);break;case"xlinkArcrole":ze(a,"xlink:arcrole",m);break;case"xlinkRole":ze(a,"xlink:role",m);break;case"xlinkShow":ze(a,"xlink:show",m);break;case"xlinkTitle":ze(a,"xlink:title",m);break;case"xlinkType":ze(a,"xlink:type",m);break;case"xmlBase":ze(a,"xml:base",m);break;case"xmlLang":ze(a,"xml:lang",m);break;case"xmlSpace":ze(a,"xml:space",m);break;default:if((!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Dx.get(l)||l,W(l))){switch(typeof m){case"function":case"symbol":return;case"boolean":var v=l.toLowerCase().slice(0,5);if(v!=="data-"&&v!=="aria-")return}a.push(Go,l,As,ce(m),Yn)}}}function gn(a,l,m){if(l!=null){if(m!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");l=l.__html,l!=null&&(G(l),a.push(""+l))}}function At(a,l){var m=a[l];m!=null&&(m=Sa(m),a.multiple&&!m?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!a.multiple&&m&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l))}function tn(a){var l="";return Ip.Children.forEach(a,function(m){m!=null&&(l+=m,Qx||typeof m=="string"||typeof m=="number"||typeof m=="bigint"||(Qx=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}function St(a,l){if((a.instructions&16)===wo){a.instructions|=16;var m=l.preamble,v=l.bootstrapChunks;(m.htmlChunks||m.headChunks)&&v.length===0?(v.push(l.startInlineScript),_e(v,a),v.push(Xn,Fh,bc)):v.unshift(l.startInlineScript,Xn,Fh,bc)}}function kn(a,l){a.push(xt("link"));for(var m in l)if(it.call(l,m)){var v=l[m];if(v!=null)switch(m){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Qe(a,m,v)}}return a.push(Td),null}function Be(a){return G(a),(""+a).replace(bR,e)}function En(a,l,m){a.push(xt(m));for(var v in l)if(it.call(l,v)){var R=l[v];if(R!=null)switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(m+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Qe(a,v,R)}}return a.push(Td),null}function Ks(a,l){a.push(xt("title"));var m=null,v=null,R;for(R in l)if(it.call(l,R)){var E=l[R];if(E!=null)switch(R){case"children":m=E;break;case"dangerouslySetInnerHTML":v=E;break;default:Qe(a,R,E)}}return a.push(Xn),l=Array.isArray(m)?2>m.length?m[0]:null:m,typeof l!="function"&&typeof l!="symbol"&&l!==null&&l!==void 0&&a.push(ce(""+l)),gn(a,v,m),a.push(_t("title")),null}function zn(a,l){a.push(xt("script"));var m=null,v=null,R;for(R in l)if(it.call(l,R)){var E=l[R];if(E!=null)switch(R){case"children":m=E;break;case"dangerouslySetInnerHTML":v=E;break;default:Qe(a,R,E)}}return a.push(Xn),m!=null&&typeof m!="string"&&(l=typeof m=="number"?"a number for children":Array.isArray(m)?"an array for children":"something unexpected for children",console.error("A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.",l)),gn(a,v,m),typeof m=="string"&&a.push(ge(m)),a.push(_t("script")),null}function sr(a,l,m){a.push(xt(m));var v=m=null,R;for(R in l)if(it.call(l,R)){var E=l[R];if(E!=null)switch(R){case"children":m=E;break;case"dangerouslySetInnerHTML":v=E;break;default:Qe(a,R,E)}}return a.push(Xn),gn(a,v,m),m}function Wn(a,l,m){a.push(xt(m));var v=m=null,R;for(R in l)if(it.call(l,R)){var E=l[R];if(E!=null)switch(R){case"children":m=E;break;case"dangerouslySetInnerHTML":v=E;break;default:Qe(a,R,E)}}return a.push(Xn),gn(a,v,m),typeof m=="string"?(a.push(ce(m)),null):m}function xt(a){var l=ev.get(a);if(l===void 0){if(!TR.test(a))throw Error("Invalid tag: "+a);l=w("<"+a),ev.set(a,l)}return l}function No(a,l,m,v,R,E,O,_,X){Re(l,m),l!=="input"&&l!=="textarea"&&l!=="select"||m==null||m.value!==null||yd||(yd=!0,l==="select"&&m.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l));e:if(l.indexOf("-")===-1)var B=!1;else switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":B=!1;break e;default:B=!0}switch(B||typeof m.is=="string"||re(l,m,null),!m.suppressContentEditableWarning&&m.contentEditable&&m.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),_.insertionMode!==Hi&&_.insertionMode!==Rd&&l.indexOf("-")===-1&&l.toLowerCase()!==l&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"div":case"span":case"svg":case"path":break;case"a":a.push(xt("a"));var V=null,$=null,ee;for(ee in m)if(it.call(m,ee)){var ie=m[ee];if(ie!=null)switch(ee){case"children":V=ie;break;case"dangerouslySetInnerHTML":$=ie;break;case"href":ie===""?ze(a,"href",""):Qe(a,ee,ie);break;default:Qe(a,ee,ie)}}if(a.push(Xn),gn(a,$,V),typeof V=="string"){a.push(ce(V));var j=null}else j=V;return j;case"g":case"p":case"li":break;case"select":M("select",m),At(m,"value"),At(m,"defaultValue"),m.value===void 0||m.defaultValue===void 0||Kx||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),Kx=!0),a.push(xt("select"));var Oe=null,bt=null,Se;for(Se in m)if(it.call(m,Se)){var We=m[Se];if(We!=null)switch(Se){case"children":Oe=We;break;case"dangerouslySetInnerHTML":bt=We;break;case"defaultValue":case"value":break;default:Qe(a,Se,We)}}return a.push(Xn),gn(a,bt,Oe),Oe;case"option":var Ot=_.selectedValue;a.push(xt("option"));var Sr=null,et=null,Me=null,Zo=null,In;for(In in m)if(it.call(m,In)){var gt=m[In];if(gt!=null)switch(In){case"children":Sr=gt;break;case"selected":Me=gt,qx||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),qx=!0);break;case"dangerouslySetInnerHTML":Zo=gt;break;case"value":et=gt;default:Qe(a,In,gt)}}if(Ot!=null){if(et!==null){U(et,"value");var Rt=""+et}else Zo===null||jx||(jx=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),Rt=tn(Sr);if(Sa(Ot)){for(var hr=0;hr<Ot.length;hr++)if(U(Ot[hr],"value"),""+Ot[hr]===Rt){a.push(Ah);break}}else U(Ot,"select.value"),""+Ot===Rt&&a.push(Ah)}else Me&&a.push(Ah);return a.push(Xn),gn(a,Zo,Sr),Sr;case"textarea":M("textarea",m),m.value===void 0||m.defaultValue===void 0||Zx||(console.error("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components"),Zx=!0),a.push(xt("textarea"));var $n=null,ro=null,yt=null,Tt;for(Tt in m)if(it.call(m,Tt)){var Jn=m[Tt];if(Jn!=null)switch(Tt){case"children":yt=Jn;break;case"value":$n=Jn;break;case"defaultValue":ro=Jn;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Qe(a,Tt,Jn)}}if($n===null&&ro!==null&&($n=ro),a.push(Xn),yt!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),$n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Sa(yt)){if(1<yt.length)throw Error("<textarea> can only have at most one child.");G(yt[0]),$n=""+yt[0]}G(yt),$n=""+yt}return typeof $n=="string"&&$n[0]===`
596
- `&&a.push(Oh),$n!==null&&(U($n,"value"),a.push(ce(""+$n))),null;case"input":M("input",m),a.push(xt("input"));var Wr=null,Mt=null,He=null,dn=null,pn=null,oo=null,So=null,Pr=null,Qo=null,xi;for(xi in m)if(it.call(m,xi)){var er=m[xi];if(er!=null)switch(xi){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":Wr=er;break;case"formAction":Mt=er;break;case"formEncType":He=er;break;case"formMethod":dn=er;break;case"formTarget":pn=er;break;case"defaultChecked":Qo=er;break;case"defaultValue":So=er;break;case"checked":Pr=er;break;case"value":oo=er;break;default:Qe(a,xi,er)}}Mt===null||m.type==="image"||m.type==="submit"||Xp||(Xp=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".'));var kc=li(a,v,R,Mt,He,dn,pn,Wr);return Pr===null||Qo===null||Jx||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components","A component",m.type),Jx=!0),oo===null||So===null||Xx||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components","A component",m.type),Xx=!0),Pr!==null?je(a,"checked",Pr):Qo!==null&&je(a,"checked",Qo),oo!==null?Qe(a,"value",oo):So!==null&&Qe(a,"value",So),a.push(Td),kc?.forEach(Qn,a),null;case"button":a.push(xt("button"));var Xi=null,Fa=null,cl=null,Oa=null,ul=null,sa=null,io=null,vi;for(vi in m)if(it.call(m,vi)){var tr=m[vi];if(tr!=null)switch(vi){case"children":Xi=tr;break;case"dangerouslySetInnerHTML":Fa=tr;break;case"name":cl=tr;break;case"formAction":Oa=tr;break;case"formEncType":ul=tr;break;case"formMethod":sa=tr;break;case"formTarget":io=tr;break;default:Qe(a,vi,tr)}}Oa===null||m.type==null||m.type==="submit"||Xp||(Xp=!0,console.error('A button can only specify a formAction along with type="submit" or no type.'));var aa=li(a,v,R,Oa,ul,sa,io,cl);if(a.push(Xn),aa?.forEach(Qn,a),gn(a,Fa,Xi),typeof Xi=="string"){a.push(ce(Xi));var Ji=null}else Ji=Xi;return Ji;case"form":a.push(xt("form"));var Zr=null,Ma=null,gr=null,jo=null,_s=null,Po=null,bi;for(bi in m)if(it.call(m,bi)){var Ao=m[bi];if(Ao!=null)switch(bi){case"children":Zr=Ao;break;case"dangerouslySetInnerHTML":Ma=Ao;break;case"action":gr=Ao;break;case"encType":jo=Ao;break;case"method":_s=Ao;break;case"target":Po=Ao;break;default:Qe(a,bi,Ao)}}var Ia=null,so=null;if(typeof gr=="function"){jo===null&&_s===null||Kp||(Kp=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),Po===null||Jp||(Jp=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."));var qo=xs(v,gr);qo!==null?(gr=qo.action||"",jo=qo.encType,_s=qo.method,Po=qo.target,Ia=qo.data,so=qo.name):(a.push(Go,"action",As,Vx,Yn),Po=_s=jo=gr=null,St(v,R))}if(gr!=null&&Qe(a,"action",gr),jo!=null&&Qe(a,"encType",jo),_s!=null&&Qe(a,"method",_s),Po!=null&&Qe(a,"target",Po),a.push(Xn),so!==null&&(a.push(Yx),ze(a,"name",so),a.push(Td),Ia?.forEach(Qn,a)),gn(a,Ma,Zr),typeof Zr=="string"){a.push(ce(Zr));var dl=null}else dl=Zr;return dl;case"menuitem":a.push(xt("menuitem"));for(var la in m)if(it.call(m,la)){var ca=m[la];if(ca!=null)switch(la){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Qe(a,la,ca)}}return a.push(Xn),null;case"object":a.push(xt("object"));var Ec=null,ff=null,Ki;for(Ki in m)if(it.call(m,Ki)){var ao=m[Ki];if(ao!=null)switch(Ki){case"children":Ec=ao;break;case"dangerouslySetInnerHTML":ff=ao;break;case"data":U(ao,"data");var Jl=Ce(""+ao);if(Jl===""){console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Ki,Ki);break}a.push(Go,"data",As,ce(Jl),Yn);break;default:Qe(a,Ki,ao)}}if(a.push(Xn),gn(a,ff,Ec),typeof Ec=="string"){a.push(ce(Ec));var Kl=null}else Kl=Ec;return Kl;case"title":var Sc=_.tagScope&1,Da=_.tagScope&4;if(it.call(m,"children")){var pl=m.children,Dn=Array.isArray(pl)?2>pl.length?pl[0]:null:pl;Array.isArray(pl)&&1<pl.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",pl.length):typeof Dn=="function"||typeof Dn=="symbol"?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof Dn=="function"?"a Function":"a Sybmol"):Dn&&Dn.toString==={}.toString&&(Dn.$$typeof!=null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."))}if(_.insertionMode===Hi||Sc||m.itemProp!=null)var _n=Ks(a,m);else Da?_n=null:(Ks(R.hoistableChunks,m),_n=void 0);return _n;case"link":var _a=_.tagScope&1,La=_.tagScope&4,Pc=m.rel,nr=m.href,Zi=m.precedence;if(_.insertionMode===Hi||_a||m.itemProp!=null||typeof Pc!="string"||typeof nr!="string"||nr===""){Pc==="stylesheet"&&typeof m.precedence=="string"&&(typeof nr=="string"&&nr||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',nr===null?"`null`":nr===void 0?"`undefined`":nr===""?"an empty string":'something with type "'+typeof nr+'"')),kn(a,m);var fl=null}else if(m.rel==="stylesheet")if(typeof Zi!="string"||m.disabled!=null||m.onLoad||m.onError){if(typeof Zi=="string"){if(m.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.');else if(m.onLoad||m.onError){var ua=m.onLoad&&m.onError?"`onLoad` and `onError` props":m.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',ua,ua)}}fl=kn(a,m)}else{var Ls=R.styles.get(Zi),Gt=v.styleResources.hasOwnProperty(nr)?v.styleResources[nr]:void 0;if(Gt!==zr){v.styleResources[nr]=zr,Ls||(Ls={precedence:ce(Zi),rules:[],hrefs:[],sheets:new Map},R.styles.set(Zi,Ls));var Fo={state:sf,props:fr({},m,{"data-precedence":m.precedence,precedence:null})};if(Gt){Gt.length===2&&br(Fo.props,Gt);var Qr=R.preloads.stylesheets.get(nr);Qr&&0<Qr.length?Qr.length=0:Fo.state=af}Ls.sheets.set(nr,Fo),O&&O.stylesheets.add(Fo)}else if(Ls){var pu=Ls.sheets.get(nr);pu&&O&&O.stylesheets.add(pu)}X&&a.push(ea),fl=null}else m.onLoad||m.onError?fl=kn(a,m):(X&&a.push(ea),fl=La?null:kn(R.hoistableChunks,m));return fl;case"script":var Zl=_.tagScope&1,Ac=m.async;if(typeof m.src!="string"||!m.src||!Ac||typeof Ac=="function"||typeof Ac=="symbol"||m.onLoad||m.onError||_.insertionMode===Hi||Zl||m.itemProp!=null)var Fc=zn(a,m);else{var ml=m.src;if(m.type==="module")var Ns=v.moduleScriptResources,wi=R.preloads.moduleScripts;else Ns=v.scriptResources,wi=R.preloads.scripts;var Ql=Ns.hasOwnProperty(ml)?Ns[ml]:void 0;if(Ql!==zr){Ns[ml]=zr;var Id=m;if(Ql){Ql.length===2&&(Id=fr({},m),br(Id,Ql));var mf=wi.get(ml);mf&&(mf.length=0)}var Ev=[];R.scripts.add(Ev),zn(Ev,Id)}X&&a.push(ea),Fc=null}return Fc;case"style":var Sv=_.tagScope&1;if(it.call(m,"children")){var hf=m.children,Dd=Array.isArray(hf)?2>hf.length?hf[0]:null:hf;(typeof Dd=="function"||typeof Dd=="symbol"||Array.isArray(Dd))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof Dd=="function"?"a Function":typeof Dd=="symbol"?"a Sybmol":"an Array")}var fu=m.precedence,hl=m.href,mu=m.nonce;if(_.insertionMode===Hi||Sv||m.itemProp!=null||typeof fu!="string"||typeof hl!="string"||hl===""){a.push(xt("style"));var Oc=null,hu=null,_d;for(_d in m)if(it.call(m,_d)){var gf=m[_d];if(gf!=null)switch(_d){case"children":Oc=gf;break;case"dangerouslySetInnerHTML":hu=gf;break;default:Qe(a,_d,gf)}}a.push(Xn);var gu=Array.isArray(Oc)?2>Oc.length?Oc[0]:null:Oc;typeof gu!="function"&&typeof gu!="symbol"&&gu!==null&&gu!==void 0&&a.push(Be(gu)),gn(a,hu,Oc),a.push(_t("style"));var Pv=null}else{hl.includes(" ")&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',hl);var Mc=R.styles.get(fu),Av=v.styleResources.hasOwnProperty(hl)?v.styleResources[hl]:void 0;if(Av!==zr){v.styleResources[hl]=zr,Av&&console.error('React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.',hl),Mc||(Mc={precedence:ce(fu),rules:[],hrefs:[],sheets:new Map},R.styles.set(fu,Mc));var Ld=R.nonce.style;if(Ld&&Ld!==mu)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',fu,mu,Ld);else{!Ld&&mu&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',fu,mu),Mc.hrefs.push(ce(hl));var yf=Mc.rules,xf=null,iO=null,Fv;for(Fv in m)if(it.call(m,Fv)){var YR=m[Fv];if(YR!=null)switch(Fv){case"children":xf=YR;break;case"dangerouslySetInnerHTML":iO=YR}}var Qh=Array.isArray(xf)?2>xf.length?xf[0]:null:xf;typeof Qh!="function"&&typeof Qh!="symbol"&&Qh!==null&&Qh!==void 0&&yf.push(Be(Qh)),gn(yf,iO,xf)}}Mc&&O&&O.styles.add(Mc),X&&a.push(ea),Pv=void 0}return Pv;case"meta":var t5=_.tagScope&1,n5=_.tagScope&4;if(_.insertionMode===Hi||t5||m.itemProp!=null)var sO=En(a,m,"meta");else X&&a.push(ea),sO=n5?null:typeof m.charSet=="string"?En(R.charsetChunks,m,"meta"):m.name==="viewport"?En(R.viewportChunks,m,"meta"):En(R.hoistableChunks,m,"meta");return sO;case"listing":case"pre":a.push(xt(l));var jh=null,qh=null,$h;for($h in m)if(it.call(m,$h)){var Ov=m[$h];if(Ov!=null)switch($h){case"children":jh=Ov;break;case"dangerouslySetInnerHTML":qh=Ov;break;default:Qe(a,$h,Ov)}}if(a.push(Xn),qh!=null){if(jh!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof qh!="object"||!("__html"in qh))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var yu=qh.__html;yu!=null&&(typeof yu=="string"&&0<yu.length&&yu[0]===`
597
- `?a.push(Oh,yu):(G(yu),a.push(""+yu)))}return typeof jh=="string"&&jh[0]===`
598
- `&&a.push(Oh),jh;case"img":var r5=_.tagScope&3,Ci=m.src,$o=m.srcSet;if(!(m.loading==="lazy"||!Ci&&!$o||typeof Ci!="string"&&Ci!=null||typeof $o!="string"&&$o!=null||m.fetchPriority==="low"||r5)&&(typeof Ci!="string"||Ci[4]!==":"||Ci[0]!=="d"&&Ci[0]!=="D"||Ci[1]!=="a"&&Ci[1]!=="A"||Ci[2]!=="t"&&Ci[2]!=="T"||Ci[3]!=="a"&&Ci[3]!=="A")&&(typeof $o!="string"||$o[4]!==":"||$o[0]!=="d"&&$o[0]!=="D"||$o[1]!=="a"&&$o[1]!=="A"||$o[2]!=="t"&&$o[2]!=="T"||$o[3]!=="a"&&$o[3]!=="A")){O!==null&&_.tagScope&64&&(O.suspenseyImages=!0);var aO=typeof m.sizes=="string"?m.sizes:void 0,vf=$o?$o+`
599
- `+(aO||""):Ci,XR=R.preloads.images,Nd=XR.get(vf);if(Nd)(m.fetchPriority==="high"||10>R.highImagePreloads.size)&&(XR.delete(vf),R.highImagePreloads.add(Nd));else if(!v.imageResources.hasOwnProperty(vf)){v.imageResources[vf]=Co;var JR=m.crossOrigin,lO=typeof JR=="string"?JR==="use-credentials"?JR:"":void 0,Bd=R.headers,KR;Bd&&0<Bd.remainingCapacity&&typeof m.srcSet!="string"&&(m.fetchPriority==="high"||500>Bd.highImagePreloads.length)&&(KR=Sn(Ci,"image",{imageSrcSet:m.srcSet,imageSizes:m.sizes,crossOrigin:lO,integrity:m.integrity,nonce:m.nonce,type:m.type,fetchPriority:m.fetchPriority,referrerPolicy:m.refererPolicy}),0<=(Bd.remainingCapacity-=KR.length+2))?(R.resets.image[vf]=Co,Bd.highImagePreloads&&(Bd.highImagePreloads+=", "),Bd.highImagePreloads+=KR):(Nd=[],kn(Nd,{rel:"preload",as:"image",href:$o?void 0:Ci,imageSrcSet:$o,imageSizes:aO,crossOrigin:lO,integrity:m.integrity,type:m.type,fetchPriority:m.fetchPriority,referrerPolicy:m.referrerPolicy}),m.fetchPriority==="high"||10>R.highImagePreloads.size?R.highImagePreloads.add(Nd):(R.bulkPreloads.add(Nd),XR.set(vf,Nd)))}}return En(a,m,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return En(a,m,l);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"head":if(_.insertionMode<Ro){var ZR=E||R.preamble;if(ZR.headChunks)throw Error("The `<head>` tag may only be rendered once.");E!==null&&a.push(wR),ZR.headChunks=[];var cO=sr(ZR.headChunks,m,"head")}else cO=Wn(a,m,"head");return cO;case"body":if(_.insertionMode<Ro){var QR=E||R.preamble;if(QR.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");E!==null&&a.push(CR),QR.bodyChunks=[];var uO=sr(QR.bodyChunks,m,"body")}else uO=Wn(a,m,"body");return uO;case"html":if(_.insertionMode===lu){var jR=E||R.preamble;if(jR.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");E!==null&&a.push(RR),jR.htmlChunks=[kR];var dO=sr(jR.htmlChunks,m,"html")}else dO=Wn(a,m,"html");return dO;default:if(l.indexOf("-")!==-1){a.push(xt(l));var qR=null,pO=null,bf;for(bf in m)if(it.call(m,bf)){var gl=m[bf];if(gl!=null){var fO=bf;switch(bf){case"children":qR=gl;break;case"dangerouslySetInnerHTML":pO=gl;break;case"style":en(a,gl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":fO="class";default:if(W(bf)&&typeof gl!="function"&&typeof gl!="symbol"&&gl!==!1){if(gl===!0)gl="";else if(typeof gl=="object")continue;a.push(Go,fO,As,ce(gl),Yn)}}}}return a.push(Xn),gn(a,pO,qR),qR}}return Wn(a,m,l)}function _t(a){var l=tv.get(a);return l===void 0&&(l=w("</"+a+">"),tv.set(a,l)),l}function Hn(a,l){a=a.preamble,a.htmlChunks===null&&l.htmlChunks&&(a.htmlChunks=l.htmlChunks),a.headChunks===null&&l.headChunks&&(a.headChunks=l.headChunks),a.bodyChunks===null&&l.bodyChunks&&(a.bodyChunks=l.bodyChunks)}function Ni(a,l){l=l.bootstrapChunks;for(var m=0;m<l.length-1;m++)f(a,l[m]);return m<l.length?(m=l[m],l.length=0,y(a,m)):!0}function ar(a,l,m){if(f(a,OR),m===null)throw Error("An ID must have been assigned before we can complete the boundary.");return f(a,l.boundaryPrefix),f(a,m.toString(16)),y(a,MR)}function vs(a,l,m,v){switch(m.insertionMode){case lu:case Cd:case Vp:case Ro:return f(a,ov),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,iv);case Hi:return f(a,Dh),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,_h);case Rd:return f(a,Nh),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,sv);case Yp:return f(a,NR),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,BR);case kh:return f(a,zR),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,al);case Eh:return f(a,wc),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,av);case Sh:return f(a,cv),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,uv);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function mo(a,l){switch(l.insertionMode){case lu:case Cd:case Vp:case Ro:return y(a,Ih);case Hi:return y(a,Lh);case Rd:return y(a,LR);case Yp:return y(a,UR);case kh:return y(a,qp);case Eh:return y(a,lv);case Sh:return y(a,dv);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function Gr(a){return JSON.stringify(a).replace(tf,function(l){switch(l){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function lr(a){return JSON.stringify(a).replace(sn,function(l){switch(l){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Ca(a){var l=a.rules,m=a.hrefs;0<l.length&&m.length===0&&console.error("React expected to have at least one href for an a hoistable style but found none. This is a bug in React.");var v=0;if(m.length){for(f(this,vc.startInlineStyle),f(this,kd),f(this,a.precedence),f(this,nf);v<m.length-1;v++)f(this,m[v]),f(this,ta);for(f(this,m[v]),f(this,Ed),v=0;v<l.length;v++)f(this,l[v]);uu=y(this,Sd),Wl=!0,l.length=0,m.length=0}}function cr(a){return a.state!==lf?Wl=!0:!1}function P(a,l,m){return Wl=!1,uu=!0,vc=m,l.styles.forEach(Ca,a),vc=null,l.stylesheets.forEach(cr),Wl&&(m.stylesToHoist=!0),uu}function z(a){for(var l=0;l<a.length;l++)f(this,a[l]);a.length=0}function oe(a){kn(Vi,a.props);for(var l=0;l<Vi.length;l++)f(this,Vi[l]);Vi.length=0,a.state=lf}function de(a){var l=0<a.sheets.size;a.sheets.forEach(oe,this),a.sheets.clear();var m=a.rules,v=a.hrefs;if(!l||v.length){if(f(this,vc.startInlineStyle),f(this,Hl),f(this,a.precedence),a=0,v.length){for(f(this,rf);a<v.length-1;a++)f(this,v[a]),f(this,ta);f(this,v[a])}for(f(this,Pd),a=0;a<m.length;a++)f(this,m[a]);f(this,xv),m.length=0,v.length=0}}function we(a){if(a.state===sf){a.state=af;var l=a.props;for(kn(Vi,{rel:"preload",as:"style",href:a.props.href,crossOrigin:l.crossOrigin,fetchPriority:l.fetchPriority,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy}),a=0;a<Vi.length;a++)f(this,Vi[a]);Vi.length=0}}function De(a){a.sheets.forEach(we,this),a.sheets.clear()}function _e(a,l){(l.instructions&au)===wo&&(l.instructions|=au,a.push(Ad,ce("_"+l.idPrefix+"R_"),Yn))}function vt(a,l){f(a,Vo);var m=Vo;l.stylesheets.forEach(function(v){if(v.state!==lf)if(v.state===Wh)f(a,m),v=v.props.href,U(v,"href"),f(a,lr(""+v)),f(a,of),m=vv;else{f(a,m);var R=v.props["data-precedence"],E=v.props,O=Ce(""+v.props.href);f(a,lr(O)),U(R,"precedence"),R=""+R,f(a,Cc),f(a,lr(R));for(var _ in E)if(it.call(E,_)&&(R=E[_],R!=null))switch(_){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ve(a,_,R)}f(a,of),m=vv,v.state=Wh}}),f(a,of)}function Ve(a,l,m){var v=l.toLowerCase();switch(typeof m){case"function":case"symbol":return}switch(l){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":v="class",U(m,v),l=""+m;break;case"hidden":if(m===!1)return;l="";break;case"src":case"href":m=Ce(m),U(m,v),l=""+m;break;default:if(2<l.length&&(l[0]==="o"||l[0]==="O")&&(l[1]==="n"||l[1]==="N")||!W(l))return;U(m,v),l=""+m}f(a,Cc),f(a,lr(v)),f(a,Cc),f(a,lr(l))}function lt(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Ir(a,l,m,v){(a.scriptResources.hasOwnProperty(m)||a.moduleScriptResources.hasOwnProperty(m))&&console.error('Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue',m),a.scriptResources[m]=zr,a.moduleScriptResources[m]=zr,a=[],kn(a,v),l.bootstrapScripts.add(a)}function br(a,l){a.crossOrigin==null&&(a.crossOrigin=l[0]),a.integrity==null&&(a.integrity=l[1])}function Sn(a,l,m){a=ct(a),l=bs(l,"as"),l="<"+a+'>; rel=preload; as="'+l+'"';for(var v in m)it.call(m,v)&&(a=m[v],typeof a=="string"&&(l+="; "+v.toLowerCase()+'="'+bs(a,v)+'"'));return l}function ct(a){return U(a,"href"),(""+a).replace(bv,ci)}function ci(a){switch(a){case"<":return"%3C";case">":return"%3E";case`
600
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function bs(a,l){return D(a)&&(console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",l,F(a)),L(a)),(""+a).replace(wv,Fl)}function Fl(a){switch(a){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
601
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Kc(a){this.styles.add(a)}function Ra(a){this.stylesheets.add(a)}function Dr(a,l){l.styles.forEach(Kc,a),l.stylesheets.forEach(Ra,a),l.suspenseyImages&&(a.suspenseyImages=!0)}function ui(a){return 0<a.stylesheets.size||a.suspenseyImages}function mt(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Gh?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case ph:return"Fragment";case Fx:return"Profiler";case gc:return"StrictMode";case Ur:return"Suspense";case md:return"SuspenseList";case Ox:return"Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case dh:return"Portal";case ru:return a.displayName||"Context";case fh:return(a._context.displayName||"Context")+".Consumer";case fd:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case _p:return l=a.displayName||null,l!==null?l:mt(a.type)||"Memo";case ou:l=a._payload,a=a._init;try{return mt(a(l))}catch{}}return null}function ho(a,l){if(a!==l){a.context._currentValue=a.parentValue,a=a.parent;var m=l.parent;if(a===null){if(m!==null)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(m===null)throw Error("The stacks must reach the root at the same time. This is a bug in React.");ho(a,m)}l.context._currentValue=l.value}}function ws(a){a.context._currentValue=a.parentValue,a=a.parent,a!==null&&ws(a)}function Pn(a){var l=a.parent;l!==null&&Pn(l),a.context._currentValue=a.value}function Ol(a,l){if(a.context._currentValue=a.parentValue,a=a.parent,a===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===l.depth?ho(a,l):Ol(a,l)}function Zs(a,l){var m=l.parent;if(m===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===m.depth?ho(a,m):Zs(a,m),l.context._currentValue=l.value}function Cs(a){var l=Rc;l!==a&&(l===null?Pn(a):a===null?ws(l):l.depth===a.depth?ho(l,a):l.depth>a.depth?Ol(l,a):Zs(l,a),Rc=a)}function ur(a){if(a!==null&&typeof a!="function"){var l=String(a);Yr.has(l)||(Yr.add(l),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a))}}function jr(a,l){a=(a=a.constructor)&&mt(a)||"ReactClass";var m=a+"."+l;Vh[m]||(console.error(`Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
602
-
603
- Please check the code for the %s component.`,l,a),Vh[m]=!0)}function Bi(a,l,m){var v=a.id;a=a.overflow;var R=32-Gl(v)-1;v&=~(1<<R),m+=1;var E=32-Gl(l)+R;if(30<E){var O=R-R%5;return E=(v&(1<<O)-1).toString(32),v>>=O,R-=O,{id:1<<32-Gl(l)+R|m<<R|v,overflow:E+a}}return{id:1<<E|m<<R|v,overflow:a}}function wr(a){return a>>>=0,a===0?32:31-(Vl(a)/du|0)|0}function yn(){}function di(a,l,m){switch(m=a[m],m===void 0?a.push(l):m!==l&&(l.then(yn,yn),l=m),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:switch(typeof l.status=="string"?l.then(yn,yn):(a=l,a.status="pending",a.then(function(v){if(l.status==="pending"){var R=l;R.status="fulfilled",R.value=v}},function(v){if(l.status==="pending"){var R=l;R.status="rejected",R.reason=v}})),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason}throw Od=l,Lt}}function go(){if(Od===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Od;return Od=null,a}function pi(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}function yo(){if(Pa===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
604
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
605
- 2. You might be breaking the Rules of Hooks
606
- 3. You might have more than one copy of React in the same app
607
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Z&&console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"),Pa}function Vr(){if(0<N)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function $a(){return Ft===null?Md===null?(Yl=!1,Md=Ft=Vr()):(Yl=!0,Ft=Md):Ft.next===null?(Yl=!1,Ft=Ft.next=Vr()):(Yl=!0,Ft=Ft.next),Ft}function Rs(){var a=S;return S=null,a}function _r(){Z=!1,pf=df=uf=Pa=null,c=!1,Md=null,N=0,Ft=I=null}function el(a){return Z&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),a._currentValue}function fi(a,l){return typeof l=="function"?l(a):l}function Ta(a,l,m){if(a!==fi&&(H="useReducer"),Pa=yo(),Ft=$a(),Yl){if(m=Ft.queue,l=m.dispatch,I!==null){var v=I.get(m);if(v!==void 0){I.delete(m),m=Ft.memoizedState;do{var R=v.action;Z=!0,m=a(m,R),Z=!1,v=v.next}while(v!==null);return Ft.memoizedState=m,[m,l]}}return[Ft.memoizedState,l]}return Z=!0,a=a===fi?typeof l=="function"?l():l:m!==void 0?m(l):l,Z=!1,Ft.memoizedState=a,a=Ft.queue={last:null,dispatch:null},a=a.dispatch=od.bind(null,Pa,a),[Ft.memoizedState,a]}function Bo(a,l){if(Pa=yo(),Ft=$a(),l=l===void 0?null:l,Ft!==null){var m=Ft.memoizedState;if(m!==null&&l!==null){e:{var v=m[1];if(v===null)console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",H),v=!1;else{l.length!==v.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
608
-
609
- Previous: %s
610
- Incoming: %s`,H,"["+l.join(", ")+"]","["+v.join(", ")+"]");for(var R=0;R<v.length&&R<l.length;R++)if(!kv(l[R],v[R])){v=!1;break e}v=!0}}if(v)return m[0]}}return Z=!0,a=a(),Z=!1,Ft.memoizedState=[a,l],a}function od(a,l,m){if(25<=N)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Pa)if(c=!0,a={action:m,next:null},I===null&&(I=new Map),m=I.get(l),m===void 0)I.set(l,a);else{for(l=m;l.next!==null;)l=l.next;l.next=a}}function id(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function tl(){throw Error("startTransition cannot be called during server rendering.")}function Cr(){throw Error("Cannot update optimistic state while rendering.")}function qr(a,l,m){return a!==void 0?"p"+a:(a=JSON.stringify([l,null,m]),l=Ht.createHash("md5"),l.update(a),"k"+l.digest("hex"))}function xo(a,l,m){yo();var v=h++,R=df;if(typeof a.$$FORM_ACTION=="function"){var E=null,O=pf;R=R.formState;var _=a.$$IS_SIGNATURE_EQUAL;if(R!==null&&typeof _=="function"){var X=R[1];_.call(a,R[2],R[3])&&(E=qr(m,O,v),X===E&&(b=v,l=R[0]))}var B=a.bind(null,l);return a=function($){B($)},typeof B.$$FORM_ACTION=="function"&&(a.$$FORM_ACTION=function($){$=B.$$FORM_ACTION($),m!==void 0&&(U(m,"target"),m+="",$.action=m);var ee=$.data;return ee&&(E===null&&(E=qr(m,O,v)),ee.append("$ACTION_KEY",E)),$}),[l,a,!1]}var V=a.bind(null,l);return[l,function($){V($)},!1]}function $r(a){var l=T;return T+=1,S===null&&(S=[]),di(S,a,l)}function eo(){throw Error("Cache cannot be refreshed during server rendering.")}function Zc(){}function ut(){if(te===0){Je=console.log,Kt=console.info,Ae=console.warn,ht=console.error,Xr=console.group,To=console.groupCollapsed,dt=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Zc,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}te++}function qe(){if(te--,te===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:fr({},a,{value:Je}),info:fr({},a,{value:Kt}),warn:fr({},a,{value:Ae}),error:fr({},a,{value:ht}),group:fr({},a,{value:Xr}),groupCollapsed:fr({},a,{value:To}),groupEnd:fr({},a,{value:dt})})}0>te&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ka(a,l){a=(a.name||"Error")+": "+(a.message||"");for(var m=0;m<l.length;m++)a+=`
611
- at `+l[m].toString();return a}function Rr(a){var l=Error.prepareStackTrace;if(Error.prepareStackTrace=ka,a=a.stack,Error.prepareStackTrace=l,a.startsWith(`Error: react-stack-top-frame
612
- `)&&(a=a.slice(29)),l=a.indexOf(`
613
- `),l!==-1&&(a=a.slice(l+1)),l=a.indexOf("react_stack_bottom_frame"),l!==-1&&(l=a.lastIndexOf(`
614
- `,l)),l!==-1)a=a.slice(0,l);else return"";return a}function to(a){if(Mn===void 0)try{throw Error()}catch(m){var l=m.stack.trim().match(/\n( *(at )?)/);Mn=l&&l[1]||"",Fs=-1<m.stack.indexOf(`
615
- at`)?" (<anonymous>)":-1<m.stack.indexOf("@")?"@unknown:0:0":""}return`
616
- `+Mn+a+Fs}function nn(a,l){if(!a||ko)return"";var m=Fe.get(a);if(m!==void 0)return m;ko=!0,m=Error.prepareStackTrace,Error.prepareStackTrace=ka;var v=null;v=st.H,st.H=null,ut();try{var R={DetermineComponentFrameRoot:function(){try{if(l){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(j){var ie=j}Reflect.construct(a,[],ee)}else{try{ee.call()}catch(j){ie=j}a.call(ee.prototype)}}else{try{throw Error()}catch(j){ie=j}(ee=a())&&typeof ee.catch=="function"&&ee.catch(function(){})}}catch(j){if(j&&ie&&typeof j.stack=="string")return[j.stack,ie.stack]}return[null,null]}};R.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var E=Object.getOwnPropertyDescriptor(R.DetermineComponentFrameRoot,"name");E&&E.configurable&&Object.defineProperty(R.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var O=R.DetermineComponentFrameRoot(),_=O[0],X=O[1];if(_&&X){var B=_.split(`
617
- `),V=X.split(`
618
- `);for(O=E=0;E<B.length&&!B[E].includes("DetermineComponentFrameRoot");)E++;for(;O<V.length&&!V[O].includes("DetermineComponentFrameRoot");)O++;if(E===B.length||O===V.length)for(E=B.length-1,O=V.length-1;1<=E&&0<=O&&B[E]!==V[O];)O--;for(;1<=E&&0<=O;E--,O--)if(B[E]!==V[O]){if(E!==1||O!==1)do if(E--,O--,0>O||B[E]!==V[O]){var $=`
619
- `+B[E].replace(" at new "," at ");return a.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",a.displayName)),typeof a=="function"&&Fe.set(a,$),$}while(1<=E&&0<=O);break}}}finally{ko=!1,st.H=v,qe(),Error.prepareStackTrace=m}return B=(B=a?a.displayName||a.name:"")?to(B):"",typeof a=="function"&&Fe.set(a,B),B}function Ts(a){if(typeof a=="string")return to(a);if(typeof a=="function")return a.prototype&&a.prototype.isReactComponent?nn(a,!0):nn(a,!1);if(typeof a=="object"&&a!==null){switch(a.$$typeof){case fd:return nn(a.render,!1);case _p:return nn(a.type,!1);case ou:var l=a,m=l._payload;l=l._init;try{a=l(m)}catch{return to("Lazy")}return Ts(a)}if(typeof a.name=="string"){e:{if(m=a.name,l=a.env,a=a.debugLocation,a!=null){a=Rr(a);var v=a.lastIndexOf(`
620
- `);if(a=v===-1?a:a.slice(v+1),a.indexOf(m)!==-1){m=`
621
- `+a;break e}}m=to(m+(l?" ["+l+"]":""))}return m}}switch(a){case md:return to("SuspenseList");case Ur:return to("Suspense")}return""}function Ml(){var a=Jr();1e3<a-yi&&(st.recentlyCreatedOwnerStacks=0,yi=a)}function rn(a,l){return(500<l.byteSize||ui(l.contentState))&&l.contentPreamble===null}function Ui(a){if(typeof a=="object"&&a!==null&&typeof a.environmentName=="string"){var l=a.environmentName;a=[a].slice(0),typeof a[0]=="string"?a.splice(0,1,"\x1B[0m\x1B[7m%c%s\x1B[0m%c "+a[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+l+" ",""):a.splice(0,0,"\x1B[0m\x1B[7m%c%s\x1B[0m%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+l+" ",""),a.unshift(console),l=Hh.apply(console.error,a),l()}else console.error(a);return null}function ks(a,l,m,v,R,E,O,_,X,B,V){var $=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=a,this.renderState=l,this.rootFormatContext=m,this.progressiveChunkSize=v===void 0?12800:v,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=$,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=R===void 0?Ui:R,this.onPostpone=B===void 0?yn:B,this.onAllReady=E===void 0?yn:E,this.onShellReady=O===void 0?yn:O,this.onShellError=_===void 0?yn:_,this.onFatalError=X===void 0?yn:X,this.formState=V===void 0?null:V,this.didWarnForKey=null}function vo(a,l,m,v,R,E,O,_,X,B,V,$){return Ml(),l=new ks(l,m,v,R,E,O,_,X,B,V,$),m=zo(l,0,null,v,!1,!1),m.parentFlushed=!0,a=Gn(l,null,a,-1,null,m,null,null,l.abortableTasks,null,v,null,ra,null,null,Yi,null),Dl(a),l.pingedTasks.push(a),l}function Uo(a,l,m,v,R,E,O,_,X,B,V){return a=vo(a,l,m,v,R,E,O,_,X,B,V,void 0),a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},a}function An(a,l,m,v,R,E,O,_,X){return Ml(),m=new ks(l.resumableState,m,l.rootFormatContext,l.progressiveChunkSize,v,R,E,O,_,X,null),m.nextSegmentId=l.nextSegmentId,typeof l.replaySlots=="number"?(v=zo(m,0,null,l.rootFormatContext,!1,!1),v.parentFlushed=!0,a=Gn(m,null,a,-1,null,v,null,null,m.abortableTasks,null,l.rootFormatContext,null,ra,null,null,Yi,null),Dl(a),m.pingedTasks.push(a),m):(a=Wt(m,null,{nodes:l.replayNodes,slots:l.replaySlots,pendingTasks:0},a,-1,null,null,m.abortableTasks,null,l.rootFormatContext,null,ra,null,null,Yi,null),Dl(a),m.pingedTasks.push(a),m)}function mi(a,l,m,v,R,E,O,_,X){return a=An(a,l,m,v,R,E,O,_,X),a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},a}function zt(){if(Yo)return Yo;var a=cf.getStore();return a||null}function Es(a,l){a.pingedTasks.push(l),a.pingedTasks.length===1&&(a.flushScheduled=a.destination!==null,a.trackedPostpones!==null||a.status===10?Ix(function(){return Ep(a)}):setImmediate(function(){return Ep(a)}))}function zi(a,l,m,v,R){return m={status:Eo,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:l,completedSegments:[],byteSize:0,fallbackAbortableTasks:m,errorDigest:null,contentState:lt(),fallbackState:lt(),contentPreamble:v,fallbackPreamble:R,trackedContentKeyPath:null,trackedFallbackNode:null,errorMessage:null,errorStack:null,errorComponentStack:null},l!==null&&(l.pendingTasks++,v=l.boundaries,v!==null&&(a.allPendingTasks++,m.pendingTasks++,v.push(m)),a=l.inheritedHoistables,a!==null&&Dr(m.contentState,a)),m}function Gn(a,l,m,v,R,E,O,_,X,B,V,$,ee,ie,j,Oe,bt){a.allPendingTasks++,R===null?a.pendingRootTasks++:R.pendingTasks++,ie!==null&&ie.pendingTasks++;var Se={replay:null,node:m,childIndex:v,ping:function(){return Es(a,Se)},blockedBoundary:R,blockedSegment:E,blockedPreamble:O,hoistableState:_,abortSet:X,keyPath:B,formatContext:V,context:$,treeContext:ee,row:ie,componentStack:j,thenableState:l};return Se.debugTask=bt,X.add(Se),Se}function Wt(a,l,m,v,R,E,O,_,X,B,V,$,ee,ie,j,Oe){a.allPendingTasks++,E===null?a.pendingRootTasks++:E.pendingTasks++,ee!==null&&ee.pendingTasks++,m.pendingTasks++;var bt={replay:m,node:v,childIndex:R,ping:function(){return Es(a,bt)},blockedBoundary:E,blockedSegment:null,blockedPreamble:null,hoistableState:O,abortSet:_,keyPath:X,formatContext:B,context:V,treeContext:$,row:ee,componentStack:ie,thenableState:l};return bt.debugTask=Oe,_.add(bt),bt}function zo(a,l,m,v,R,E){return{status:Eo,parentFlushed:!1,id:-1,index:l,chunks:[],children:[],preambleChildren:[],parentFormatContext:v,boundary:m,lastPushedText:R,textEmbedded:E}}function ah(){if(se===null||se.componentStack===null)return"";var a=se.componentStack;try{var l="";if(typeof a.type=="string")l+=to(a.type);else if(typeof a.type=="function"){if(!a.owner){var m=l,v=a.type,R=v?v.displayName||v.name:"",E=R?to(R):"";l=m+E}}else a.owner||(l+=Ts(a.type));for(;a;)m=null,a.debugStack!=null?m=Rr(a.debugStack):(E=a,E.stack!=null&&(m=typeof E.stack!="string"?E.stack=Rr(E.stack):E.stack)),(a=a.owner)&&m&&(l+=`
622
- `+m);var O=l}catch(_){O=`
623
- Error generating stack: `+_.message+`
624
- `+_.stack}return O}function sd(a,l){if(l!=null)for(var m=l.length-1;0<=m;m--){var v=l[m];if(typeof v.name=="string"||typeof v.time=="number")break;if(v.awaited!=null){var R=v.debugStack==null?v.awaited:v;if(R.debugStack!==void 0){a.componentStack={parent:a.componentStack,type:v,owner:R.owner,stack:R.debugStack},a.debugTask=R.debugTask;break}}}}function Il(a,l){if(l!=null)for(var m=0;m<l.length;m++){var v=l[m];typeof v.name=="string"&&v.debugStack!==void 0&&(a.componentStack={parent:a.componentStack,type:v,owner:v.owner,stack:v.debugStack},a.debugTask=v.debugTask)}}function Dl(a){var l=a.node;if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Dp:var m=l.type,v=l._owner,R=l._debugStack;Il(a,l._debugInfo),a.debugTask=l._debugTask,a.componentStack={parent:a.componentStack,type:m,owner:v,stack:R};break;case ou:Il(a,l._debugInfo);break;default:typeof l.then=="function"&&Il(a,l._debugInfo)}}function xp(a){return a===null?null:{parent:a.parent,type:"Suspense Fallback",owner:a.owner,stack:a.stack}}function Lr(a){var l={};return a&&Object.defineProperty(l,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var m="",v=a;do m+=Ts(v.type),v=v.parent;while(v);var R=m}catch(E){R=`
625
- Error generating stack: `+E.message+`
626
- `+E.stack}return Object.defineProperty(l,"componentStack",{value:R}),R}}),l}function _l(a,l,m,v,R){a.errorDigest=l,m instanceof Error?(l=String(m.message),m=String(m.stack)):(l=typeof m=="object"&&m!==null?u(m):String(m),m=null),R=R?`Switched to client rendering because the server rendering aborted due to:
627
-
628
- `:`Switched to client rendering because the server rendering errored:
629
-
630
- `,a.errorMessage=R+l,a.errorStack=m!==null?R+m:null,a.errorComponentStack=v.componentStack}function Nr(a,l,m,v){if(a=a.onError,l=v?v.run(a.bind(null,l,m)):a(l,m),l!=null&&typeof l!="string")console.error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "%s" instead',typeof l);else return l}function fc(a,l,m,v){m=a.onShellError;var R=a.onFatalError;v?(v.run(m.bind(null,l)),v.run(R.bind(null,l))):(m(l),R(l)),a.destination!==null?(a.status=un,a.destination.destroy(l)):(a.status=13,a.fatalError=l)}function no(a,l){ad(a,l.next,l.hoistables)}function ad(a,l,m){for(;l!==null;){m!==null&&(Dr(l.hoistables,m),l.inheritedHoistables=m);var v=l.boundaries;if(v!==null){l.boundaries=null;for(var R=0;R<v.length;R++){var E=v[R];m!==null&&Dr(E.contentState,m),Ll(a,E,null,null)}}if(l.pendingTasks--,0<l.pendingTasks)break;m=l.hoistables,l=l.next}}function ld(a,l){var m=l.boundaries;if(m!==null&&l.pendingTasks===m.length){for(var v=!0,R=0;R<m.length;R++){var E=m[R];if(E.pendingTasks!==1||E.parentFlushed||rn(a,E)){v=!1;break}}v&&ad(a,l,l.hoistables)}}function Qc(a){var l={pendingTasks:1,boundaries:null,hoistables:lt(),inheritedHoistables:null,together:!1,next:null};return a!==null&&0<a.pendingTasks&&(l.pendingTasks++,l.boundaries=[],a.next=l),l}function lh(a,l,m,v,R){var E=l.keyPath,O=l.treeContext,_=l.row,X=l.componentStack,B=l.debugTask;Il(l,l.node.props.children._debugInfo),l.keyPath=m,m=v.length;var V=null;if(l.replay!==null){var $=l.replay.slots;if($!==null&&typeof $=="object")for(var ee=0;ee<m;ee++){var ie=R!=="backwards"&&R!=="unstable_legacy-backwards"?ee:m-1-ee,j=v[ie];l.row=V=Qc(V),l.treeContext=Bi(O,m,ie);var Oe=$[ie];typeof Oe=="number"?(jc(a,l,Oe,j,ie),delete $[ie]):Tr(a,l,j,ie),--V.pendingTasks===0&&no(a,V)}else for($=0;$<m;$++)ee=R!=="backwards"&&R!=="unstable_legacy-backwards"?$:m-1-$,ie=v[ee],Qs(a,l,ie),l.row=V=Qc(V),l.treeContext=Bi(O,m,ee),Tr(a,l,ie,ee),--V.pendingTasks===0&&no(a,V)}else if(R!=="backwards"&&R!=="unstable_legacy-backwards")for(R=0;R<m;R++)$=v[R],Qs(a,l,$),l.row=V=Qc(V),l.treeContext=Bi(O,m,R),Tr(a,l,$,R),--V.pendingTasks===0&&no(a,V);else{for(R=l.blockedSegment,$=R.children.length,ee=R.chunks.length,ie=m-1;0<=ie;ie--){j=v[ie],l.row=V=Qc(V),l.treeContext=Bi(O,m,ie),Oe=zo(a,ee,null,l.formatContext,ie===0?R.lastPushedText:!0,!0),R.children.splice($,0,Oe),l.blockedSegment=Oe,Qs(a,l,j);try{Tr(a,l,j,ie),Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push(ea),Oe.status=cn,ol(a,l.blockedBoundary,Oe),--V.pendingTasks===0&&no(a,V)}catch(bt){throw Oe.status=a.status===12?Kr:Ms,bt}}l.blockedSegment=R,R.lastPushedText=!1}_!==null&&V!==null&&0<V.pendingTasks&&(_.pendingTasks++,V.next=_),l.treeContext=O,l.row=_,l.keyPath=E,l.componentStack=X,l.debugTask=B}function Br(a,l,m,v,R,E){var O=l.thenableState;for(l.thenableState=null,Pa={},uf=l,df=a,pf=m,Z=!1,h=d=0,b=-1,T=0,S=O,a=gi(v,R,E);c;)c=!1,h=d=0,b=-1,T=0,N+=1,Ft=null,a=v(R,E);return _r(),a}function wx(a,l,m,v,R,E,O){var _=!1;if(E!==0&&a.formState!==null){var X=l.blockedSegment;if(X!==null){_=!0,X=X.chunks;for(var B=0;B<E;B++)B===O?X.push(xR):X.push(vR)}}E=l.keyPath,l.keyPath=m,R?(m=l.treeContext,l.treeContext=Bi(m,1,0),Tr(a,l,v,-1),l.treeContext=m):_?Tr(a,l,v,-1):Wo(a,l,v,-1),l.keyPath=E}function nl(a,l,m,v,R,E){if(typeof v=="function")if(v.prototype&&v.prototype.isReactComponent){var O=R;if("ref"in R){O={};for(var _ in R)_!=="ref"&&(O[_]=R[_])}var X=v.defaultProps;if(X){O===R&&(O=fr({},O,R));for(var B in X)O[B]===void 0&&(O[B]=X[B])}var V=O,$=Yi,ee=v.contextType;if("contextType"in v&&ee!==null&&(ee===void 0||ee.$$typeof!==ru)&&!na.has(v)){na.add(v);var ie=ee===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof ee!="object"?" However, it is set to a "+typeof ee+".":ee.$$typeof===fh?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(ee).join(", ")+"}.";console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",mt(v)||"Component",ie)}typeof ee=="object"&&ee!==null&&($=ee._currentValue);var j=new v(V,$);if(typeof v.getDerivedStateFromProps=="function"&&(j.state===null||j.state===void 0)){var Oe=mt(v)||"Component";Yh.has(Oe)||(Yh.add(Oe),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Oe,j.state===null?"null":"undefined",Oe))}if(typeof v.getDerivedStateFromProps=="function"||typeof j.getSnapshotBeforeUpdate=="function"){var bt=null,Se=null,We=null;if(typeof j.componentWillMount=="function"&&j.componentWillMount.__suppressDeprecationWarning!==!0?bt="componentWillMount":typeof j.UNSAFE_componentWillMount=="function"&&(bt="UNSAFE_componentWillMount"),typeof j.componentWillReceiveProps=="function"&&j.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Se="componentWillReceiveProps":typeof j.UNSAFE_componentWillReceiveProps=="function"&&(Se="UNSAFE_componentWillReceiveProps"),typeof j.componentWillUpdate=="function"&&j.componentWillUpdate.__suppressDeprecationWarning!==!0?We="componentWillUpdate":typeof j.UNSAFE_componentWillUpdate=="function"&&(We="UNSAFE_componentWillUpdate"),bt!==null||Se!==null||We!==null){var Ot=mt(v)||"Component",Sr=typeof v.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Jh.has(Ot)||(Jh.add(Ot),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
631
-
632
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
633
-
634
- The above lifecycles should be removed. Learn more about this warning here:
635
- https://react.dev/link/unsafe-component-lifecycles`,Ot,Sr,bt!==null?`
636
- `+bt:"",Se!==null?`
637
- `+Se:"",We!==null?`
638
- `+We:""))}}var et=mt(v)||"Component";j.render||(v.prototype&&typeof v.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",et):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",et)),!j.getInitialState||j.getInitialState.isReactClassApproved||j.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",et),j.getDefaultProps&&!j.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",et),j.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",et),v.childContextTypes&&!hi.has(v)&&(hi.add(v),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",et)),v.contextTypes&&!Tv.has(v)&&(Tv.add(v),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",et)),typeof j.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",et),v.prototype&&v.prototype.isPureReactComponent&&typeof j.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",mt(v)||"A pure component"),typeof j.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",et),typeof j.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",et),typeof j.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",et),typeof j.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",et);var Me=j.props!==V;j.props!==void 0&&Me&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",et),j.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",et,et),typeof j.getSnapshotBeforeUpdate!="function"||typeof j.componentDidUpdate=="function"||Xh.has(v)||(Xh.add(v),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",mt(v))),typeof j.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",et),typeof j.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",et),typeof v.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",et);var Zo=j.state;Zo&&(typeof Zo!="object"||Sa(Zo))&&console.error("%s.state: must be set to an object or null",et),typeof j.getChildContext=="function"&&typeof v.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",et);var In=j.state!==void 0?j.state:null;j.updater=Zh,j.props=V,j.state=In;var gt={queue:[],replace:!1};j._reactInternals=gt;var Rt=v.contextType;if(j.context=typeof Rt=="object"&&Rt!==null?Rt._currentValue:Yi,j.state===V){var hr=mt(v)||"Component";Rv.has(hr)||(Rv.add(hr),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",hr))}var $n=v.getDerivedStateFromProps;if(typeof $n=="function"){var ro=$n(V,In);if(ro===void 0){var yt=mt(v)||"Component";Kh.has(yt)||(Kh.add(yt),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",yt))}var Tt=ro==null?In:fr({},In,ro);j.state=Tt}if(typeof v.getDerivedStateFromProps!="function"&&typeof j.getSnapshotBeforeUpdate!="function"&&(typeof j.UNSAFE_componentWillMount=="function"||typeof j.componentWillMount=="function")){var Jn=j.state;if(typeof j.componentWillMount=="function"){if(j.componentWillMount.__suppressDeprecationWarning!==!0){var Wr=mt(v)||"Unknown";Cv[Wr]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
639
-
640
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
641
-
642
- Please update the following components: %s`,Wr),Cv[Wr]=!0)}j.componentWillMount()}if(typeof j.UNSAFE_componentWillMount=="function"&&j.UNSAFE_componentWillMount(),Jn!==j.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",mt(v)||"Component"),Zh.enqueueReplaceState(j,j.state,null)),gt.queue!==null&&0<gt.queue.length){var Mt=gt.queue,He=gt.replace;if(gt.queue=null,gt.replace=!1,He&&Mt.length===1)j.state=Mt[0];else{for(var dn=He?Mt[0]:j.state,pn=!0,oo=He?1:0;oo<Mt.length;oo++){var So=Mt[oo],Pr=typeof So=="function"?So.call(j,dn,V,void 0):So;Pr!=null&&(pn?(pn=!1,dn=fr({},dn,Pr)):fr(dn,Pr))}j.state=dn}}else gt.queue=null}var Qo=kr(j);if(a.status===12)throw null;j.props!==V&&(Is||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",mt(v)||"a component"),Is=!0);var xi=l.keyPath;l.keyPath=m,Wo(a,l,Qo,-1),l.keyPath=xi}else{if(v.prototype&&typeof v.prototype.render=="function"){var er=mt(v)||"Unknown";Xo[er]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",er,er),Xo[er]=!0)}var kc=Br(a,l,m,v,R,void 0);if(a.status===12)throw null;var Xi=d!==0,Fa=h,cl=b;if(v.contextTypes){var Oa=mt(v)||"Unknown";Aa[Oa]||(Aa[Oa]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",Oa))}if(v&&v.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
643
- %s.childContextTypes = ...`,v.displayName||v.name||"Component"),typeof v.getDerivedStateFromProps=="function"){var ul=mt(v)||"Unknown";Jo[ul]||(console.error("%s: Function components do not support getDerivedStateFromProps.",ul),Jo[ul]=!0)}if(typeof v.contextType=="object"&&v.contextType!==null){var sa=mt(v)||"Unknown";Xl[sa]||(console.error("%s: Function components do not support contextType.",sa),Xl[sa]=!0)}wx(a,l,m,kc,Xi,Fa,cl)}else if(typeof v=="string"){var io=l.blockedSegment;if(io===null){var vi=R.children,tr=l.formatContext,aa=l.keyPath;l.formatContext=Jt(tr,v,R),l.keyPath=m,Tr(a,l,vi,-1),l.formatContext=tr,l.keyPath=aa}else{var Ji=No(io.chunks,v,R,a.resumableState,a.renderState,l.blockedPreamble,l.hoistableState,l.formatContext,io.lastPushedText);io.lastPushedText=!1;var Zr=l.formatContext,Ma=l.keyPath;if(l.keyPath=m,(l.formatContext=Jt(Zr,v,R)).insertionMode===Vp){var gr=zo(a,0,null,l.formatContext,!1,!1);io.preambleChildren.push(gr),l.blockedSegment=gr;try{gr.status=6,Tr(a,l,Ji,-1),gr.lastPushedText&&gr.textEmbedded&&gr.chunks.push(ea),gr.status=cn,ol(a,l.blockedBoundary,gr)}finally{l.blockedSegment=io}}else Tr(a,l,Ji,-1);l.formatContext=Zr,l.keyPath=Ma;e:{var jo=io.chunks,_s=a.resumableState;switch(v){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(Zr.insertionMode<=Cd){_s.hasBody=!0;break e}break;case"html":if(Zr.insertionMode===lu){_s.hasHtml=!0;break e}break;case"head":if(Zr.insertionMode<=Cd)break e}jo.push(_t(v))}io.lastPushedText=!1}}else{switch(v){case lR:case gc:case Fx:case ph:var Po=l.keyPath;l.keyPath=m,Wo(a,l,R.children,-1),l.keyPath=Po;return;case Ox:var bi=l.blockedSegment;if(bi===null){if(R.mode!=="hidden"){var Ao=l.keyPath;l.keyPath=m,Tr(a,l,R.children,-1),l.keyPath=Ao}}else if(R.mode!=="hidden"){bi.chunks.push(PR),bi.lastPushedText=!1;var Ia=l.keyPath;l.keyPath=m,Tr(a,l,R.children,-1),l.keyPath=Ia,bi.chunks.push(AR),bi.lastPushedText=!1}return;case md:e:{var so=R.children,qo=R.revealOrder;if(qo==="forwards"||qo==="backwards"||qo==="unstable_legacy-backwards"){if(Sa(so)){lh(a,l,m,so,qo);break e}var dl=n(so);if(dl){var la=dl.call(so);if(la){bp(l,so,-1,la,dl);var ca=la.next();if(!ca.done){var Ec=[];do Ec.push(ca.value),ca=la.next();while(!ca.done);lh(a,l,m,so,qo)}break e}}}if(qo==="together"){var ff=l.keyPath,Ki=l.row,ao=l.row=Qc(null);ao.boundaries=[],ao.together=!0,l.keyPath=m,Wo(a,l,so,-1),--ao.pendingTasks===0&&no(a,ao),l.keyPath=ff,l.row=Ki,Ki!==null&&0<ao.pendingTasks&&(Ki.pendingTasks++,ao.next=Ki)}else{var Jl=l.keyPath;l.keyPath=m,Wo(a,l,so,-1),l.keyPath=Jl}}return;case Mx:case aR:throw Error("ReactDOMServer does not yet support scope components.");case Ur:e:if(l.replay!==null){var Kl=l.keyPath,Sc=l.formatContext,Da=l.row;l.keyPath=m,l.formatContext=Ne(a.resumableState,Sc),l.row=null;var pl=R.children;try{Tr(a,l,pl,-1)}finally{l.keyPath=Kl,l.formatContext=Sc,l.row=Da}}else{var Dn=l.keyPath,_n=l.formatContext,_a=l.row,La=l.blockedBoundary,Pc=l.blockedPreamble,nr=l.hoistableState,Zi=l.blockedSegment,fl=R.fallback,ua=R.children,Ls=new Set,Gt=l.formatContext.insertionMode<Ro?zi(a,l.row,Ls,Xe(),Xe()):zi(a,l.row,Ls,null,null);a.trackedPostpones!==null&&(Gt.trackedContentKeyPath=m);var Fo=zo(a,Zi.chunks.length,Gt,l.formatContext,!1,!1);Zi.children.push(Fo),Zi.lastPushedText=!1;var Qr=zo(a,0,null,l.formatContext,!1,!1);if(Qr.parentFlushed=!0,a.trackedPostpones!==null){var pu=l.componentStack,Zl=[m[0],"Suspense Fallback",m[2]],Ac=[Zl[1],Zl[2],[],null];a.trackedPostpones.workingMap.set(Zl,Ac),Gt.trackedFallbackNode=Ac,l.blockedSegment=Fo,l.blockedPreamble=Gt.fallbackPreamble,l.keyPath=Zl,l.formatContext=he(a.resumableState,_n),l.componentStack=xp(pu),Fo.status=6;try{Tr(a,l,fl,-1),Fo.lastPushedText&&Fo.textEmbedded&&Fo.chunks.push(ea),Fo.status=cn,ol(a,La,Fo)}catch(yf){throw Fo.status=a.status===12?Kr:Ms,yf}finally{l.blockedSegment=Zi,l.blockedPreamble=Pc,l.keyPath=Dn,l.formatContext=_n}var Fc=Gn(a,null,ua,-1,Gt,Qr,Gt.contentPreamble,Gt.contentState,l.abortSet,m,Ne(a.resumableState,l.formatContext),l.context,l.treeContext,null,pu,Yi,l.debugTask);Dl(Fc),a.pingedTasks.push(Fc)}else{l.blockedBoundary=Gt,l.blockedPreamble=Gt.contentPreamble,l.hoistableState=Gt.contentState,l.blockedSegment=Qr,l.keyPath=m,l.formatContext=Ne(a.resumableState,_n),l.row=null,Qr.status=6;try{if(Tr(a,l,ua,-1),Qr.lastPushedText&&Qr.textEmbedded&&Qr.chunks.push(ea),Qr.status=cn,ol(a,Gt,Qr),ud(Gt,Qr),Gt.pendingTasks===0&&Gt.status===Eo){if(Gt.status=cn,!rn(a,Gt)){_a!==null&&--_a.pendingTasks===0&&no(a,_a),a.pendingRootTasks===0&&l.blockedPreamble&&Nl(a);break e}}else _a!==null&&_a.together&&ld(a,_a)}catch(yf){if(Gt.status=ln,a.status===12){Qr.status=Kr;var ml=a.fatalError}else Qr.status=Ms,ml=yf;var Ns=Lr(l.componentStack),wi=Nr(a,ml,Ns,l.debugTask);_l(Gt,wi,ml,Ns,!1),hc(a,Gt)}finally{l.blockedBoundary=La,l.blockedPreamble=Pc,l.hoistableState=nr,l.blockedSegment=Zi,l.keyPath=Dn,l.formatContext=_n,l.row=_a}var Ql=Gn(a,null,fl,-1,La,Fo,Gt.fallbackPreamble,Gt.fallbackState,Ls,[m[0],"Suspense Fallback",m[2]],he(a.resumableState,l.formatContext),l.context,l.treeContext,l.row,xp(l.componentStack),Yi,l.debugTask);Dl(Ql),a.pingedTasks.push(Ql)}}return}if(typeof v=="object"&&v!==null)switch(v.$$typeof){case fd:if("ref"in R){var Id={};for(var mf in R)mf!=="ref"&&(Id[mf]=R[mf])}else Id=R;var Ev=Br(a,l,m,v.render,Id,E);wx(a,l,m,Ev,d!==0,h,b);return;case _p:nl(a,l,m,v.type,R,E);return;case ru:var Sv=R.value,hf=R.children,Dd=l.context,fu=l.keyPath,hl=v._currentValue;v._currentValue=Sv,v._currentRenderer!==void 0&&v._currentRenderer!==null&&v._currentRenderer!==Fd&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),v._currentRenderer=Fd;var mu=Rc,Oc={parent:mu,depth:mu===null?0:mu.depth+1,context:v,parentValue:hl,value:Sv};Rc=Oc,l.context=Oc,l.keyPath=m,Wo(a,l,hf,-1);var hu=Rc;if(hu===null)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");hu.context!==v&&console.error("The parent context is not the expected context. This is probably a bug in React."),hu.context._currentValue=hu.parentValue,v._currentRenderer!==void 0&&v._currentRenderer!==null&&v._currentRenderer!==Fd&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),v._currentRenderer=Fd;var _d=Rc=hu.parent;l.context=_d,l.keyPath=fu,Dd!==l.context&&console.error("Popping the context provider did not return back to the original snapshot. This is a bug in React.");return;case fh:var gf=v._context,gu=R.children;typeof gu!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var Pv=gu(gf._currentValue),Mc=l.keyPath;l.keyPath=m,Wo(a,l,Pv,-1),l.keyPath=Mc;return;case ou:var Av=jn(v);if(a.status===12)throw null;nl(a,l,m,Av,R,E);return}var Ld="";throw(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(Ld+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((v==null?v:typeof v)+"."+Ld))}}function jc(a,l,m,v,R){var E=l.replay,O=l.blockedBoundary,_=zo(a,0,null,l.formatContext,!1,!1);_.id=m,_.parentFlushed=!0;try{l.replay=null,l.blockedSegment=_,Tr(a,l,v,R),_.status=cn,ol(a,O,_),O===null?a.completedRootSegment=_:(ud(O,_),O.parentFlushed&&a.partialBoundaries.push(O))}finally{l.replay=E,l.blockedSegment=null}}function vp(a,l,m,v,R,E,O,_,X,B){E=B.nodes;for(var V=0;V<E.length;V++){var $=E[V];if(R===$[1]){if($.length===4){if(v!==null&&v!==$[0])throw Error("Expected the resume to render <"+$[0]+"> in this slot but instead it rendered <"+v+">. The tree doesn't match so React will fallback to client rendering.");var ee=$[2];v=$[3],R=l.node,l.replay={nodes:ee,slots:v,pendingTasks:1};try{if(nl(a,l,m,O,_,X),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");l.replay.pendingTasks--}catch(Me){if(typeof Me=="object"&&Me!==null&&(Me===Lt||typeof Me.then=="function"))throw l.node===R?l.replay=B:E.splice(V,1),Me;l.replay.pendingTasks--,O=Lr(l.componentStack),_=a,a=l.blockedBoundary,m=Me,X=v,v=Nr(_,m,O,l.debugTask),$c(_,a,ee,X,m,v,O,!1)}l.replay=B}else{if(O!==Ur)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(mt(O)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");e:{B=void 0,v=$[5],O=$[2],X=$[3],R=$[4]===null?[]:$[4][2],$=$[4]===null?null:$[4][3];var ie=l.keyPath,j=l.formatContext,Oe=l.row,bt=l.replay,Se=l.blockedBoundary,We=l.hoistableState,Ot=_.children,Sr=_.fallback,et=new Set;_=l.formatContext.insertionMode<Ro?zi(a,l.row,et,Xe(),Xe()):zi(a,l.row,et,null,null),_.parentFlushed=!0,_.rootSegmentID=v,l.blockedBoundary=_,l.hoistableState=_.contentState,l.keyPath=m,l.formatContext=Ne(a.resumableState,j),l.row=null,l.replay={nodes:O,slots:X,pendingTasks:1};try{if(Tr(a,l,Ot,-1),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");if(l.replay.pendingTasks--,_.pendingTasks===0&&_.status===Eo){_.status=cn,a.completedBoundaries.push(_);break e}}catch(Me){_.status=ln,ee=Lr(l.componentStack),B=Nr(a,Me,ee,l.debugTask),_l(_,B,Me,ee,!1),l.replay.pendingTasks--,a.clientRenderedBoundaries.push(_)}finally{l.blockedBoundary=Se,l.hoistableState=We,l.replay=bt,l.keyPath=ie,l.formatContext=j,l.row=Oe}_=Wt(a,null,{nodes:R,slots:$,pendingTasks:0},Sr,-1,Se,_.fallbackState,et,[m[0],"Suspense Fallback",m[2]],he(a.resumableState,l.formatContext),l.context,l.treeContext,l.row,xp(l.componentStack),Yi,l.debugTask),Dl(_),a.pingedTasks.push(_)}}E.splice(V,1);break}}}function bp(a,l,m,v,R){v===l?(m!==-1||a.componentStack===null||typeof a.componentStack.type!="function"||Object.prototype.toString.call(a.componentStack.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(v)!=="[object Generator]")&&(Tc||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),Tc=!0):l.entries!==R||Ds||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ds=!0)}function Wo(a,l,m,v){l.replay!==null&&typeof l.replay.slots=="number"?jc(a,l,l.replay.slots,m,v):(l.node=m,l.childIndex=v,m=l.componentStack,v=l.debugTask,Dl(l),mc(a,l),l.componentStack=m,l.debugTask=v)}function mc(a,l){var m=l.node,v=l.childIndex;if(m!==null){if(typeof m=="object"){switch(m.$$typeof){case Dp:var R=m.type,E=m.key;m=m.props;var O=m.ref;O=O!==void 0?O:null;var _=l.debugTask,X=mt(R);E=E??(v===-1?0:v);var B=[l.keyPath,X,E];l.replay!==null?_?_.run(vp.bind(null,a,l,B,X,E,v,R,m,O,l.replay)):vp(a,l,B,X,E,v,R,m,O,l.replay):_?_.run(nl.bind(null,a,l,B,R,m,O)):nl(a,l,B,R,m,O);return;case dh:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ou:if(R=jn(m),a.status===12)throw null;Wo(a,l,R,v);return}if(Sa(m)){wp(a,l,m,v);return}if((E=n(m))&&(R=E.call(m))){if(bp(l,m,v,R,E),m=R.next(),!m.done){E=[];do E.push(m.value),m=R.next();while(!m.done);wp(a,l,E,v)}return}if(typeof m.then=="function")return l.thenableState=null,Wo(a,l,$r(m),v);if(m.$$typeof===ru)return Wo(a,l,m._currentValue,v);throw a=Object.prototype.toString.call(m),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}typeof m=="string"?(l=l.blockedSegment,l!==null&&(l.lastPushedText=Et(l.chunks,m,a.renderState,l.lastPushedText))):typeof m=="number"||typeof m=="bigint"?(l=l.blockedSegment,l!==null&&(l.lastPushedText=Et(l.chunks,""+m,a.renderState,l.lastPushedText))):(typeof m=="function"&&(a=m.displayName||m.name||"Component",console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.",a,a)),typeof m=="symbol"&&console.error(`Symbols are not valid as a React child.
644
- %s`,String(m)))}}function Qs(a,l,m){if(m!==null&&typeof m=="object"&&(m.$$typeof===Dp||m.$$typeof===dh)&&m._store&&(!m._store.validated&&m.key==null||m._store.validated===2)){if(typeof m._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");m._store.validated=1;var v=a.didWarnForKey;if(v==null&&(v=a.didWarnForKey=new WeakSet),a=l.componentStack,a!==null&&!v.has(a)){v.add(a);var R=mt(m.type);v=m._owner;var E=a.owner;if(a="",E&&typeof E.type<"u"){var O=mt(E.type);O&&(a=`
645
-
646
- Check the render method of \``+O+"`.")}a||R&&(a=`
647
-
648
- Check the top-level render call using <`+R+">."),R="",v!=null&&E!==v&&(E=null,typeof v.type<"u"?E=mt(v.type):typeof v.name=="string"&&(E=v.name),E&&(R=" It was passed a child from "+E+".")),v=l.componentStack,l.componentStack={parent:l.componentStack,type:m.type,owner:m._owner,stack:m._debugStack},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',a,R),l.componentStack=v}}}function wp(a,l,m,v){var R=l.keyPath,E=l.componentStack,O=l.debugTask;if(Il(l,l.node._debugInfo),v!==-1&&(l.keyPath=[l.keyPath,"Fragment",v],l.replay!==null)){for(var _=l.replay,X=_.nodes,B=0;B<X.length;B++){var V=X[B];if(V[1]===v){v=V[2],V=V[3],l.replay={nodes:v,slots:V,pendingTasks:1};try{if(wp(a,l,m,-1),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");l.replay.pendingTasks--}catch(j){if(typeof j=="object"&&j!==null&&(j===Lt||typeof j.then=="function"))throw j;l.replay.pendingTasks--;var $=Lr(l.componentStack);m=l.blockedBoundary;var ee=j,ie=V;V=Nr(a,ee,$,l.debugTask),$c(a,m,v,ie,ee,V,$,!1)}l.replay=_,X.splice(B,1);break}}l.keyPath=R,l.componentStack=E,l.debugTask=O;return}if(_=l.treeContext,X=m.length,l.replay!==null&&(B=l.replay.slots,B!==null&&typeof B=="object")){for(v=0;v<X;v++)V=m[v],l.treeContext=Bi(_,X,v),ee=B[v],typeof ee=="number"?(jc(a,l,ee,V,v),delete B[v]):Tr(a,l,V,v);l.treeContext=_,l.keyPath=R,l.componentStack=E,l.debugTask=O;return}for(B=0;B<X;B++)v=m[B],Qs(a,l,v),l.treeContext=Bi(_,X,B),Tr(a,l,v,B);l.treeContext=_,l.keyPath=R,l.componentStack=E,l.debugTask=O}function Cp(a,l,m){if(m.status=xn,m.rootSegmentID=a.nextSegmentId++,a=m.trackedContentKeyPath,a===null)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var v=m.trackedFallbackNode,R=[],E=l.workingMap.get(a);return E===void 0?(m=[a[1],a[2],R,null,v,m.rootSegmentID],l.workingMap.set(a,m),Fp(m,a[0],l),m):(E[4]=v,E[5]=m.rootSegmentID,E)}function Rp(a,l,m,v){v.status=xn;var R=m.keyPath,E=m.blockedBoundary;if(E===null)v.id=a.nextSegmentId++,l.rootSlots=v.id,a.completedRootSegment!==null&&(a.completedRootSegment.status=xn);else{if(E!==null&&E.status===Eo){var O=Cp(a,l,E);if(E.trackedContentKeyPath===R&&m.childIndex===-1){v.id===-1&&(v.id=v.parentFlushed?E.rootSegmentID:a.nextSegmentId++),O[3]=v.id;return}}if(v.id===-1&&(v.id=v.parentFlushed&&E!==null?E.rootSegmentID:a.nextSegmentId++),m.childIndex===-1)R===null?l.rootSlots=v.id:(m=l.workingMap.get(R),m===void 0?(m=[R[1],R[2],[],v.id],Fp(m,R[0],l)):m[3]=v.id);else{if(R===null){if(a=l.rootSlots,a===null)a=l.rootSlots={};else if(typeof a=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.")}else if(E=l.workingMap,O=E.get(R),O===void 0)a={},O=[R[1],R[2],[],a],E.set(R,O),Fp(O,R[0],l);else if(a=O[3],a===null)a=O[3]={};else if(typeof a=="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");a[m.childIndex]=v.id}}}function hc(a,l){a=a.trackedPostpones,a!==null&&(l=l.trackedContentKeyPath,l!==null&&(l=a.workingMap.get(l),l!==void 0&&(l.length=4,l[2]=[],l[3]=null)))}function cd(a,l,m){return Wt(a,m,l.replay,l.node,l.childIndex,l.blockedBoundary,l.hoistableState,l.abortSet,l.keyPath,l.formatContext,l.context,l.treeContext,l.row,l.componentStack,Yi,l.debugTask)}function qc(a,l,m){var v=l.blockedSegment,R=zo(a,v.chunks.length,null,l.formatContext,v.lastPushedText,!0);return v.children.push(R),v.lastPushedText=!1,Gn(a,m,l.node,l.childIndex,l.blockedBoundary,R,l.blockedPreamble,l.hoistableState,l.abortSet,l.keyPath,l.formatContext,l.context,l.treeContext,l.row,l.componentStack,Yi,l.debugTask)}function Tr(a,l,m,v){var R=l.formatContext,E=l.context,O=l.keyPath,_=l.treeContext,X=l.componentStack,B=l.debugTask,V=l.blockedSegment;if(V===null){V=l.replay;try{return Wo(a,l,m,v)}catch(ie){if(_r(),m=ie===Lt?go():ie,a.status!==12&&typeof m=="object"&&m!==null){if(typeof m.then=="function"){v=ie===Lt?Rs():null,a=cd(a,l,v).ping,m.then(a,a),l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,l.componentStack=X,l.replay=V,l.debugTask=B,Cs(E);return}if(m.message==="Maximum call stack size exceeded"){m=ie===Lt?Rs():null,m=cd(a,l,m),a.pingedTasks.push(m),l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,l.componentStack=X,l.replay=V,l.debugTask=B,Cs(E);return}}}}else{var $=V.children.length,ee=V.chunks.length;try{return Wo(a,l,m,v)}catch(ie){if(_r(),V.children.length=$,V.chunks.length=ee,m=ie===Lt?go():ie,a.status!==12&&typeof m=="object"&&m!==null){if(typeof m.then=="function"){V=m,m=ie===Lt?Rs():null,a=qc(a,l,m).ping,V.then(a,a),l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,l.componentStack=X,l.debugTask=B,Cs(E);return}if(m.message==="Maximum call stack size exceeded"){V=ie===Lt?Rs():null,V=qc(a,l,V),a.pingedTasks.push(V),l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,l.componentStack=X,l.debugTask=B,Cs(E);return}}}}throw l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,Cs(E),m}function Cx(a){var l=a.blockedBoundary,m=a.blockedSegment;m!==null&&(m.status=Kr,Ll(this,l,a.row,m))}function $c(a,l,m,v,R,E,O,_){for(var X=0;X<m.length;X++){var B=m[X];if(B.length===4)$c(a,l,B[2],B[3],R,E,O,_);else{var V=a;B=B[5];var $=R,ee=E,ie=O,j=_,Oe=zi(V,null,new Set,null,null);Oe.parentFlushed=!0,Oe.rootSegmentID=B,Oe.status=ln,_l(Oe,ee,$,ie,j),Oe.parentFlushed&&V.clientRenderedBoundaries.push(Oe)}}if(m.length=0,v!==null){if(l===null)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(l.status!==ln&&(l.status=ln,_l(l,E,R,O,_),l.parentFlushed&&a.clientRenderedBoundaries.push(l)),typeof v=="object")for(var bt in v)delete v[bt]}}function eu(a,l,m){var v=a.blockedBoundary,R=a.blockedSegment;if(R!==null){if(R.status===6)return;R.status=Kr}var E=Lr(a.componentStack),O=a.node;if(O!==null&&typeof O=="object"&&sd(a,O._debugInfo),v===null){if(l.status!==13&&l.status!==un){if(v=a.replay,v===null){l.trackedPostpones!==null&&R!==null?(v=l.trackedPostpones,Nr(l,m,E,a.debugTask),Rp(l,v,a,R),Ll(l,null,a.row,R)):(Nr(l,m,E,a.debugTask),fc(l,m,E,a.debugTask));return}v.pendingTasks--,v.pendingTasks===0&&0<v.nodes.length&&(R=Nr(l,m,E,null),$c(l,null,v.nodes,v.slots,m,R,E,!0)),l.pendingRootTasks--,l.pendingRootTasks===0&&rl(l)}}else{if(O=l.trackedPostpones,v.status!==ln){if(O!==null&&R!==null)return Nr(l,m,E,a.debugTask),Rp(l,O,a,R),v.fallbackAbortableTasks.forEach(function(_){return eu(_,l,m)}),v.fallbackAbortableTasks.clear(),Ll(l,v,a.row,R);v.status=ln,R=Nr(l,m,E,a.debugTask),v.status=ln,_l(v,R,m,E,!0),hc(l,v),v.parentFlushed&&l.clientRenderedBoundaries.push(v)}v.pendingTasks--,E=v.row,E!==null&&--E.pendingTasks===0&&no(l,E),v.fallbackAbortableTasks.forEach(function(_){return eu(_,l,m)}),v.fallbackAbortableTasks.clear()}a=a.row,a!==null&&--a.pendingTasks===0&&no(l,a),l.allPendingTasks--,l.allPendingTasks===0&&kp(l)}function Tp(a,l){try{var m=a.renderState,v=m.onHeaders;if(v){var R=m.headers;if(R){m.headers=null;var E=R.preconnects;if(R.fontPreloads&&(E&&(E+=", "),E+=R.fontPreloads),R.highImagePreloads&&(E&&(E+=", "),E+=R.highImagePreloads),!l){var O=m.styles.values(),_=O.next();e:for(;0<R.remainingCapacity&&!_.done;_=O.next())for(var X=_.value.sheets.values(),B=X.next();0<R.remainingCapacity&&!B.done;B=X.next()){var V=B.value,$=V.props,ee=$.href,ie=V.props,j=Sn(ie.href,"style",{crossOrigin:ie.crossOrigin,integrity:ie.integrity,nonce:ie.nonce,type:ie.type,fetchPriority:ie.fetchPriority,referrerPolicy:ie.referrerPolicy,media:ie.media});if(0<=(R.remainingCapacity-=j.length+2))m.resets.style[ee]=Co,E&&(E+=", "),E+=j,m.resets.style[ee]=typeof $.crossOrigin=="string"||typeof $.integrity=="string"?[$.crossOrigin,$.integrity]:Co;else break e}}v(E?{Link:E}:{})}}}catch(Oe){Nr(a,Oe,{},null)}}function rl(a){a.trackedPostpones===null&&Tp(a,!0),a.trackedPostpones===null&&Nl(a),a.onShellError=yn,a=a.onShellReady,a()}function kp(a){Tp(a,a.trackedPostpones===null?!0:a.completedRootSegment===null||a.completedRootSegment.status!==xn),Nl(a),a=a.onAllReady,a()}function ud(a,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null&&l.children[0].id===-1){var m=l.children[0];m.id=l.id,m.parentFlushed=!0,m.status!==cn&&m.status!==Kr&&m.status!==Ms||ud(a,m)}else a.completedSegments.push(l)}function ol(a,l,m){if(A!==null){m=m.chunks;for(var v=0,R=0;R<m.length;R++)v+=A(m[R]);l===null?a.byteSize+=v:l.byteSize+=v}}function Ll(a,l,m,v){if(m!==null&&(--m.pendingTasks===0?no(a,m):m.together&&ld(a,m)),a.allPendingTasks--,l===null){if(v!==null&&v.parentFlushed){if(a.completedRootSegment!==null)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=v}a.pendingRootTasks--,a.pendingRootTasks===0&&rl(a)}else if(l.pendingTasks--,l.status!==ln)if(l.pendingTasks===0){if(l.status===Eo&&(l.status=cn),v!==null&&v.parentFlushed&&(v.status===cn||v.status===Kr)&&ud(l,v),l.parentFlushed&&a.completedBoundaries.push(l),l.status===cn)m=l.row,m!==null&&Dr(m.hoistables,l.contentState),rn(a,l)||(l.fallbackAbortableTasks.forEach(Cx,a),l.fallbackAbortableTasks.clear(),m!==null&&--m.pendingTasks===0&&no(a,m)),a.pendingRootTasks===0&&a.trackedPostpones===null&&l.contentPreamble!==null&&Nl(a);else if(l.status===xn&&(l=l.row,l!==null)){if(a.trackedPostpones!==null){m=a.trackedPostpones;var R=l.next;if(R!==null&&(v=R.boundaries,v!==null))for(R.boundaries=null,R=0;R<v.length;R++){var E=v[R];Cp(a,m,E),Ll(a,E,null,null)}}--l.pendingTasks===0&&no(a,l)}}else v===null||!v.parentFlushed||v.status!==cn&&v.status!==Kr||(ud(l,v),l.completedSegments.length===1&&l.parentFlushed&&a.partialBoundaries.push(l)),l=l.row,l!==null&&l.together&&ld(a,l);a.allPendingTasks===0&&kp(a)}function Ep(a){if(a.status!==un&&a.status!==13){var l=Rc,m=st.H;st.H=J;var v=st.A;st.A=pe;var R=Yo;Yo=a;var E=st.getCurrentStack;st.getCurrentStack=ah;var O=ae;ae=a.resumableState;try{var _=a.pingedTasks,X;for(X=0;X<_.length;X++){var B=a,V=_[X],$=V.blockedSegment;if($===null){var ee=void 0,ie=B;if(B=V,B.replay.pendingTasks!==0){Cs(B.context),ee=se,se=B;try{if(typeof B.replay.slots=="number"?jc(ie,B,B.replay.slots,B.node,B.childIndex):mc(ie,B),B.replay.pendingTasks===1&&0<B.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");B.replay.pendingTasks--,B.abortSet.delete(B),Ll(ie,B.blockedBoundary,B.row,null)}catch(He){_r();var j=He===Lt?go():He;if(typeof j=="object"&&j!==null&&typeof j.then=="function"){var Oe=B.ping;j.then(Oe,Oe),B.thenableState=He===Lt?Rs():null}else{B.replay.pendingTasks--,B.abortSet.delete(B);var bt=Lr(B.componentStack),Se=void 0,We=ie,Ot=B.blockedBoundary,Sr=ie.status===12?ie.fatalError:j,et=bt,Me=B.replay.nodes,Zo=B.replay.slots;Se=Nr(We,Sr,et,B.debugTask),$c(We,Ot,Me,Zo,Sr,Se,et,!1),ie.pendingRootTasks--,ie.pendingRootTasks===0&&rl(ie),ie.allPendingTasks--,ie.allPendingTasks===0&&kp(ie)}}finally{se=ee}}}else if(ie=ee=void 0,Se=V,We=$,We.status===Eo){We.status=6,Cs(Se.context),ie=se,se=Se;var In=We.children.length,gt=We.chunks.length;try{mc(B,Se),We.lastPushedText&&We.textEmbedded&&We.chunks.push(ea),Se.abortSet.delete(Se),We.status=cn,ol(B,Se.blockedBoundary,We),Ll(B,Se.blockedBoundary,Se.row,We)}catch(He){_r(),We.children.length=In,We.chunks.length=gt;var Rt=He===Lt?go():B.status===12?B.fatalError:He;if(B.status===12&&B.trackedPostpones!==null){var hr=B.trackedPostpones,$n=Lr(Se.componentStack);Se.abortSet.delete(Se),Nr(B,Rt,$n,Se.debugTask),Rp(B,hr,Se,We),Ll(B,Se.blockedBoundary,Se.row,We)}else if(typeof Rt=="object"&&Rt!==null&&typeof Rt.then=="function"){We.status=Eo,Se.thenableState=He===Lt?Rs():null;var ro=Se.ping;Rt.then(ro,ro)}else{var yt=Lr(Se.componentStack);Se.abortSet.delete(Se),We.status=Ms;var Tt=Se.blockedBoundary,Jn=Se.row,Wr=Se.debugTask;if(Jn!==null&&--Jn.pendingTasks===0&&no(B,Jn),B.allPendingTasks--,ee=Nr(B,Rt,yt,Wr),Tt===null)fc(B,Rt,yt,Wr);else if(Tt.pendingTasks--,Tt.status!==ln){Tt.status=ln,_l(Tt,ee,Rt,yt,!1),hc(B,Tt);var Mt=Tt.row;Mt!==null&&--Mt.pendingTasks===0&&no(B,Mt),Tt.parentFlushed&&B.clientRenderedBoundaries.push(Tt),B.pendingRootTasks===0&&B.trackedPostpones===null&&Tt.contentPreamble!==null&&Nl(B)}B.allPendingTasks===0&&kp(B)}}finally{se=ie}}}_.splice(0,X),a.destination!==null&&Bl(a,a.destination)}catch(He){_={},Nr(a,He,_,null),fc(a,He,_,null)}finally{ae=O,st.H=m,st.A=v,st.getCurrentStack=E,m===J&&Cs(l),Yo=R}}}function Sp(a,l,m){l.preambleChildren.length&&m.push(l.preambleChildren);for(var v=!1,R=0;R<l.children.length;R++)v=Rx(a,l.children[R],m)||v;return v}function Rx(a,l,m){var v=l.boundary;if(v===null)return Sp(a,l,m);var R=v.contentPreamble,E=v.fallbackPreamble;if(R===null||E===null)return!1;switch(v.status){case cn:if(Hn(a.renderState,R),a.byteSize+=v.byteSize,l=v.completedSegments[0],!l)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return Sp(a,l,m);case xn:if(a.trackedPostpones!==null)return!0;case ln:if(l.status===cn)return Hn(a.renderState,E),Sp(a,l,m);default:return!0}}function Nl(a){if(a.completedRootSegment&&a.completedPreambleSegments===null){var l=[],m=a.byteSize,v=Rx(a,a.completedRootSegment,l),R=a.renderState.preamble;v===!1||R.headChunks&&R.bodyChunks?a.completedPreambleSegments=l:a.byteSize=m}}function tu(a,l,m,v){switch(m.parentFlushed=!0,m.status){case Eo:m.id=a.nextSegmentId++;case xn:return v=m.id,m.lastPushedText=!1,m.textEmbedded=!1,a=a.renderState,f(l,ER),f(l,a.placeholderPrefix),a=v.toString(16),f(l,a),y(l,SR);case cn:m.status=oa;var R=!0,E=m.chunks,O=0;m=m.children;for(var _=0;_<m.length;_++){for(R=m[_];O<R.index;O++)f(l,E[O]);R=nu(a,l,R,v)}for(;O<E.length-1;O++)f(l,E[O]);return O<E.length&&(R=y(l,E[O])),R;case Kr:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function nu(a,l,m,v){var R=m.boundary;if(R===null)return tu(a,l,m,v);if(R.parentFlushed=!0,R.status===ln){var E=R.row;E!==null&&--E.pendingTasks===0&&no(a,E),E=R.errorDigest;var O=R.errorMessage,_=R.errorStack;R=R.errorComponentStack,y(l,Qp),f(l,zl),E&&(f(l,IR),f(l,ce(E)),f(l,jp)),O&&(f(l,nv),f(l,ce(O)),f(l,jp)),_&&(f(l,DR),f(l,ce(_)),f(l,jp)),R&&(f(l,_R),f(l,ce(R)),f(l,jp)),y(l,rv),tu(a,l,m,v)}else if(R.status!==cn)R.status===Eo&&(R.rootSegmentID=a.nextSegmentId++),0<R.completedSegments.length&&a.partialBoundaries.push(R),ar(l,a.renderState,R.rootSegmentID),v&&Dr(v,R.fallbackState),tu(a,l,m,v);else if(!Ko&&rn(a,R)&&(ia+R.byteSize>a.progressiveChunkSize||ui(R.contentState)))R.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(R),ar(l,a.renderState,R.rootSegmentID),tu(a,l,m,v);else{if(ia+=R.byteSize,v&&Dr(v,R.contentState),m=R.row,m!==null&&rn(a,R)&&--m.pendingTasks===0&&no(a,m),y(l,FR),m=R.completedSegments,m.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");nu(a,l,m[0],v)}return y(l,Mh)}function Pp(a,l,m,v){return vs(l,a.renderState,m.parentFormatContext,m.id),nu(a,l,m,v),mo(l,m.parentFormatContext)}function ch(a,l,m){ia=m.byteSize;for(var v=m.completedSegments,R=0;R<v.length;R++)Ap(a,l,m,v[R]);v.length=0,v=m.row,v!==null&&rn(a,m)&&--v.pendingTasks===0&&no(a,v),P(l,m.contentState,a.renderState),v=a.resumableState,a=a.renderState,R=m.rootSegmentID,m=m.contentState;var E=a.stylesToHoist;return a.stylesToHoist=!1,f(l,a.startInlineScript),f(l,Xn),E?((v.instructions&wd)===wo&&(v.instructions|=wd,f(l,ef)),(v.instructions&bd)===wo&&(v.instructions|=bd,f(l,Bh)),(v.instructions&wh)===wo?(v.instructions|=wh,f(l,yv)):f(l,WR)):((v.instructions&bd)===wo&&(v.instructions|=bd,f(l,Bh)),f(l,gv)),v=R.toString(16),f(l,a.boundaryPrefix),f(l,v),f(l,$p),f(l,a.segmentPrefix),f(l,v),E?(f(l,HR),vt(l,m)):f(l,GR),m=y(l,Gi),Ni(l,a)&&m}function Ap(a,l,m,v){if(v.status===oa)return!0;var R=m.contentState,E=v.id;if(E===-1){if((v.id=m.rootSegmentID)===-1)throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Pp(a,l,v,R)}return E===m.rootSegmentID?Pp(a,l,v,R):(Pp(a,l,v,R),m=a.resumableState,a=a.renderState,f(l,a.startInlineScript),f(l,Xn),(m.instructions&bh)===wo?(m.instructions|=bh,f(l,pv)):f(l,fv),f(l,a.segmentPrefix),E=E.toString(16),f(l,E),f(l,mv),f(l,a.placeholderPrefix),f(l,E),l=y(l,hv),l)}function Bl(a,l){On=new Uint8Array(2048),on=0,pr=!0;try{if(!(0<a.pendingRootTasks)){var m,v=a.completedRootSegment;if(v!==null){if(v.status===xn)return;var R=a.completedPreambleSegments;if(R===null)return;ia=a.byteSize;var E=a.resumableState,O=a.renderState,_=O.preamble,X=_.htmlChunks,B=_.headChunks,V;if(X){for(V=0;V<X.length;V++)f(l,X[V]);if(B)for(V=0;V<B.length;V++)f(l,B[V]);else f(l,xt("head")),f(l,Xn)}else if(B)for(V=0;V<B.length;V++)f(l,B[V]);var $=O.charsetChunks;for(V=0;V<$.length;V++)f(l,$[V]);$.length=0,O.preconnects.forEach(z,l),O.preconnects.clear();var ee=O.viewportChunks;for(V=0;V<ee.length;V++)f(l,ee[V]);ee.length=0,O.fontPreloads.forEach(z,l),O.fontPreloads.clear(),O.highImagePreloads.forEach(z,l),O.highImagePreloads.clear(),vc=O,O.styles.forEach(de,l),vc=null;var ie=O.importMapChunks;for(V=0;V<ie.length;V++)f(l,ie[V]);ie.length=0,O.bootstrapScripts.forEach(z,l),O.scripts.forEach(z,l),O.scripts.clear(),O.bulkPreloads.forEach(z,l),O.bulkPreloads.clear(),X||B||(E.instructions|=au);var j=O.hoistableChunks;for(V=0;V<j.length;V++)f(l,j[V]);for(E=j.length=0;E<R.length;E++){var Oe=R[E];for(O=0;O<Oe.length;O++)nu(a,l,Oe[O],null)}var bt=a.renderState.preamble,Se=bt.headChunks;(bt.htmlChunks||Se)&&f(l,_t("head"));var We=bt.bodyChunks;if(We)for(R=0;R<We.length;R++)f(l,We[R]);nu(a,l,v,null),a.completedRootSegment=null;var Ot=a.renderState;if(a.allPendingTasks!==0||a.clientRenderedBoundaries.length!==0||a.completedBoundaries.length!==0||a.trackedPostpones!==null&&(a.trackedPostpones.rootNodes.length!==0||a.trackedPostpones.rootSlots!==null)){var Sr=a.resumableState;if((Sr.instructions&Ch)===wo){if(Sr.instructions|=Ch,f(l,Ot.startInlineScript),(Sr.instructions&au)===wo){Sr.instructions|=au;var et="_"+Sr.idPrefix+"R_";f(l,Ad),f(l,ce(et)),f(l,Yn)}f(l,Xn),f(l,Zp),y(l,bc)}}Ni(l,Ot)}var Me=a.renderState;v=0;var Zo=Me.viewportChunks;for(v=0;v<Zo.length;v++)f(l,Zo[v]);Zo.length=0,Me.preconnects.forEach(z,l),Me.preconnects.clear(),Me.fontPreloads.forEach(z,l),Me.fontPreloads.clear(),Me.highImagePreloads.forEach(z,l),Me.highImagePreloads.clear(),Me.styles.forEach(De,l),Me.scripts.forEach(z,l),Me.scripts.clear(),Me.bulkPreloads.forEach(z,l),Me.bulkPreloads.clear();var In=Me.hoistableChunks;for(v=0;v<In.length;v++)f(l,In[v]);In.length=0;var gt=a.clientRenderedBoundaries;for(m=0;m<gt.length;m++){var Rt=gt[m];Me=l;var hr=a.resumableState,$n=a.renderState,ro=Rt.rootSegmentID,yt=Rt.errorDigest,Tt=Rt.errorMessage,Jn=Rt.errorStack,Wr=Rt.errorComponentStack;f(Me,$n.startInlineScript),f(Me,Xn),(hr.instructions&wd)===wo?(hr.instructions|=wd,f(Me,VR)):f(Me,ll),f(Me,$n.boundaryPrefix),f(Me,ro.toString(16)),f(Me,Uh),(yt||Tt||Jn||Wr)&&(f(Me,cu),f(Me,Gr(yt||""))),(Tt||Jn||Wr)&&(f(Me,cu),f(Me,Gr(Tt||""))),(Jn||Wr)&&(f(Me,cu),f(Me,Gr(Jn||""))),Wr&&(f(Me,cu),f(Me,Gr(Wr)));var Mt=y(Me,zh);if(!Mt){a.destination=null,m++,gt.splice(0,m);return}}gt.splice(0,m);var He=a.completedBoundaries;for(m=0;m<He.length;m++)if(!ch(a,l,He[m])){a.destination=null,m++,He.splice(0,m);return}He.splice(0,m),x(l),On=new Uint8Array(2048),on=0,Ko=pr=!0;var dn=a.partialBoundaries;for(m=0;m<dn.length;m++){e:{gt=a,Rt=l;var pn=dn[m];ia=pn.byteSize;var oo=pn.completedSegments;for(Mt=0;Mt<oo.length;Mt++)if(!Ap(gt,Rt,pn,oo[Mt])){Mt++,oo.splice(0,Mt);var So=!1;break e}oo.splice(0,Mt);var Pr=pn.row;Pr!==null&&Pr.together&&pn.pendingTasks===1&&(Pr.pendingTasks===1?ad(gt,Pr,Pr.hoistables):Pr.pendingTasks--),So=P(Rt,pn.contentState,gt.renderState)}if(!So){a.destination=null,m++,dn.splice(0,m);return}}dn.splice(0,m),Ko=!1;var Qo=a.completedBoundaries;for(m=0;m<Qo.length;m++)if(!ch(a,l,Qo[m])){a.destination=null,m++,Qo.splice(0,m);return}Qo.splice(0,m)}}finally{Ko=!1,a.allPendingTasks===0&&a.clientRenderedBoundaries.length===0&&a.completedBoundaries.length===0?(a.flushScheduled=!1,m=a.resumableState,m.hasBody&&f(l,_t("body")),m.hasHtml&&f(l,_t("html")),x(l),p(l),a.abortableTasks.size!==0&&console.error("There was still abortable task at the root when we closed. This is a bug in React."),a.status=un,l.end(),a.destination=null):(x(l),p(l))}}function js(a){a.flushScheduled=a.destination!==null,Ix(function(){return cf.run(a,Ep,a)}),setImmediate(function(){a.status===10&&(a.status=11),a.trackedPostpones===null&&cf.run(a,dd,a)})}function dd(a){Tp(a,a.pendingRootTasks===0)}function Ea(a){a.flushScheduled===!1&&a.pingedTasks.length===0&&a.destination!==null&&(a.flushScheduled=!0,setImmediate(function(){var l=a.destination;l?Bl(a,l):a.flushScheduled=!1}))}function Ss(a,l){if(a.status===13)a.status=un,l.destroy(a.fatalError);else if(a.status!==un&&a.destination===null){a.destination=l;try{Bl(a,l)}catch(m){l={},Nr(a,m,l,null),fc(a,m,l,null)}}}function Fn(a,l){(a.status===11||a.status===10)&&(a.status=12);try{var m=a.abortableTasks;if(0<m.size){var v=l===void 0?Error("The render was aborted by the server without a reason."):typeof l=="object"&&l!==null&&typeof l.then=="function"?Error("The render was aborted by the server with a promise."):l;a.fatalError=v,m.forEach(function(R){var E=se,O=st.getCurrentStack;se=R,st.getCurrentStack=ah;try{eu(R,a,v)}finally{se=E,st.getCurrentStack=O}}),m.clear()}a.destination!==null&&Bl(a,a.destination)}catch(R){l={},Nr(a,R,l,null),fc(a,R,l,null)}}function Fp(a,l,m){if(l===null)m.rootNodes.push(a);else{var v=m.workingMap,R=v.get(l);R===void 0&&(R=[l[1],l[2],[],null],v.set(l,R),Fp(R,l[0],m)),R[2].push(a)}}function pd(a){var l=a.trackedPostpones;if(l===null||l.rootNodes.length===0&&l.rootSlots===null)return a.trackedPostpones=null;if(a.completedRootSegment===null||a.completedRootSegment.status!==xn&&a.completedPreambleSegments!==null){var m=a.nextSegmentId,v=l.rootSlots,R=a.resumableState;R.bootstrapScriptContent=void 0,R.bootstrapScripts=void 0,R.bootstrapModules=void 0}else{m=0,v=-1,R=a.resumableState;var E=a.renderState;R.nextFormID=0,R.hasBody=!1,R.hasHtml=!1,R.unknownResources={font:E.resets.font},R.dnsResources=E.resets.dns,R.connectResources=E.resets.connect,R.imageResources=E.resets.image,R.styleResources=E.resets.style,R.scriptResources={},R.moduleUnknownResources={},R.moduleScriptResources={},R.instructions=wo}return{nextSegmentId:m,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:l.rootNodes,replaySlots:v}}function Tx(){var a=Ip.version;if(a!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
649
- - react: `+(a+`
650
- - react-dom: 19.2.4
651
- Learn more: https://react.dev/warnings/version-mismatch`))}function kx(a,l){return function(){return Ss(l,a)}}function Op(a,l){return function(){a.destination=null,Fn(a,Error(l))}}function Ex(a,l){var m=ot(l?l.identifierPrefix:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0);return vo(a,m,Pe(m,l?l.nonce:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,l?l.onHeaders:void 0,l?l.maxHeadersLength:void 0),Tn(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,l?l.onAllReady:void 0,l?l.onShellReady:void 0,l?l.onShellError:void 0,void 0,l?l.onPostpone:void 0,l?l.formState:void 0)}function il(a){return{write:function(l){return typeof l=="string"&&(l=iu.encode(l)),a.enqueue(l),!0},end:function(){a.close()},destroy:function(l){typeof a.error=="function"?a.error(l):a.close()}}}function Sx(a,l,m){return An(a,l,Pe(l.resumableState,m?m.nonce:void 0,void 0,void 0,void 0,void 0),m?m.onError:void 0,m?m.onAllReady:void 0,m?m.onShellReady:void 0,m?m.onShellError:void 0,void 0,m?m.onPostpone:void 0)}function uh(a){return{write:function(l){return typeof l=="string"&&(l=iu.encode(l)),a.enqueue(l),!0},end:function(){a.close()},destroy:function(l){typeof a.error=="function"?a.error(l):a.close()}}}function Mp(a){return{write:function(l){return a.push(l)},end:function(){a.push(null)},destroy:function(l){a.destroy(l)}}}var dr=xu("util"),Ht=xu("crypto"),sR=xu("async_hooks"),Ip=Uc(),Px=Py(),Ax=xu("stream"),Dp=Symbol.for("react.transitional.element"),dh=Symbol.for("react.portal"),ph=Symbol.for("react.fragment"),gc=Symbol.for("react.strict_mode"),Fx=Symbol.for("react.profiler"),fh=Symbol.for("react.consumer"),ru=Symbol.for("react.context"),fd=Symbol.for("react.forward_ref"),Ur=Symbol.for("react.suspense"),md=Symbol.for("react.suspense_list"),_p=Symbol.for("react.memo"),ou=Symbol.for("react.lazy"),aR=Symbol.for("react.scope"),Ox=Symbol.for("react.activity"),lR=Symbol.for("react.legacy_hidden"),cR=Symbol.for("react.memo_cache_sentinel"),Mx=Symbol.for("react.view_transition"),yc=Symbol.iterator,Sa=Array.isArray,mh=new WeakMap,hh=new WeakMap,gh=Symbol.for("react.client.reference"),Ix=queueMicrotask,On=null,on=0,pr=!0,iu=new dr.TextEncoder,fr=Object.assign,it=Object.prototype.hasOwnProperty,qs=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),yh={},hd={},Lp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Dx=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),gd={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},xh={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Vn={},Wi=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),su=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),yd=!1,_x={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},bo={},xc=/^on./,xd=/^on[^A-Z]/,$s=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Np=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),sl=/^(?:webkit|moz|o)[A-Z]/,Bp=/^-ms-/,Up=/-(.)/g,zp=/;\s*$/,Ul={},vd={},vh=!1,Lx=!1,Nx=/["'&<>]/,uR=/([A-Z])/g,Ho=/^ms-/,Ps=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,st=Ip.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Wp=Px.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bx=Object.freeze({pending:!1,data:null,method:null,action:null}),Pt=Wp.d;Wp.d={f:Pt.f,r:Pt.r,D:function(a){var l=zt();if(l){var m=l.resumableState,v=l.renderState;if(typeof a=="string"&&a){if(!m.dnsResources.hasOwnProperty(a)){m.dnsResources[a]=zr,m=v.headers;var R,E;(E=m&&0<m.remainingCapacity)&&(E=(R="<"+ct(a)+">; rel=dns-prefetch",0<=(m.remainingCapacity-=R.length+2))),E?(v.resets.dns[a]=zr,m.preconnects&&(m.preconnects+=", "),m.preconnects+=R):(R=[],kn(R,{href:a,rel:"dns-prefetch"}),v.preconnects.add(R))}Ea(l)}}else Pt.D(a)},C:function(a,l){var m=zt();if(m){var v=m.resumableState,R=m.renderState;if(typeof a=="string"&&a){var E=l==="use-credentials"?"credentials":typeof l=="string"?"anonymous":"default";if(!v.connectResources[E].hasOwnProperty(a)){v.connectResources[E][a]=zr,v=R.headers;var O,_;if(_=v&&0<v.remainingCapacity){if(_="<"+ct(a)+">; rel=preconnect",typeof l=="string"){var X=bs(l,"crossOrigin");_+='; crossorigin="'+X+'"'}_=(O=_,0<=(v.remainingCapacity-=O.length+2))}_?(R.resets.connect[E][a]=zr,v.preconnects&&(v.preconnects+=", "),v.preconnects+=O):(E=[],kn(E,{rel:"preconnect",href:a,crossOrigin:l}),R.preconnects.add(E))}Ea(m)}}else Pt.C(a,l)},L:function(a,l,m){var v=zt();if(v){var R=v.resumableState,E=v.renderState;if(l&&a){switch(l){case"image":if(m)var O=m.imageSrcSet,_=m.imageSizes,X=m.fetchPriority;var B=O?O+`
652
- `+(_||""):a;if(R.imageResources.hasOwnProperty(B))return;R.imageResources[B]=Co,R=E.headers;var V;R&&0<R.remainingCapacity&&typeof O!="string"&&X==="high"&&(V=Sn(a,l,m),0<=(R.remainingCapacity-=V.length+2))?(E.resets.image[B]=Co,R.highImagePreloads&&(R.highImagePreloads+=", "),R.highImagePreloads+=V):(R=[],kn(R,fr({rel:"preload",href:O?void 0:a,as:l},m)),X==="high"?E.highImagePreloads.add(R):(E.bulkPreloads.add(R),E.preloads.images.set(B,R)));break;case"style":if(R.styleResources.hasOwnProperty(a))return;O=[],kn(O,fr({rel:"preload",href:a,as:l},m)),R.styleResources[a]=!m||typeof m.crossOrigin!="string"&&typeof m.integrity!="string"?Co:[m.crossOrigin,m.integrity],E.preloads.stylesheets.set(a,O),E.bulkPreloads.add(O);break;case"script":if(R.scriptResources.hasOwnProperty(a))return;O=[],E.preloads.scripts.set(a,O),E.bulkPreloads.add(O),kn(O,fr({rel:"preload",href:a,as:l},m)),R.scriptResources[a]=!m||typeof m.crossOrigin!="string"&&typeof m.integrity!="string"?Co:[m.crossOrigin,m.integrity];break;default:if(R.unknownResources.hasOwnProperty(l)){if(O=R.unknownResources[l],O.hasOwnProperty(a))return}else O={},R.unknownResources[l]=O;if(O[a]=Co,(R=E.headers)&&0<R.remainingCapacity&&l==="font"&&(B=Sn(a,l,m),0<=(R.remainingCapacity-=B.length+2)))E.resets.font[a]=Co,R.fontPreloads&&(R.fontPreloads+=", "),R.fontPreloads+=B;else switch(R=[],a=fr({rel:"preload",href:a,as:l},m),kn(R,a),l){case"font":E.fontPreloads.add(R);break;default:E.bulkPreloads.add(R)}}Ea(v)}}else Pt.L(a,l,m)},m:function(a,l){var m=zt();if(m){var v=m.resumableState,R=m.renderState;if(a){var E=l&&typeof l.as=="string"?l.as:"script";switch(E){case"script":if(v.moduleScriptResources.hasOwnProperty(a))return;E=[],v.moduleScriptResources[a]=!l||typeof l.crossOrigin!="string"&&typeof l.integrity!="string"?Co:[l.crossOrigin,l.integrity],R.preloads.moduleScripts.set(a,E);break;default:if(v.moduleUnknownResources.hasOwnProperty(E)){var O=v.unknownResources[E];if(O.hasOwnProperty(a))return}else O={},v.moduleUnknownResources[E]=O;E=[],O[a]=Co}kn(E,fr({rel:"modulepreload",href:a},l)),R.bulkPreloads.add(E),Ea(m)}}else Pt.m(a,l)},X:function(a,l){var m=zt();if(m){var v=m.resumableState,R=m.renderState;if(a){var E=v.scriptResources.hasOwnProperty(a)?v.scriptResources[a]:void 0;E!==zr&&(v.scriptResources[a]=zr,l=fr({src:a,async:!0},l),E&&(E.length===2&&br(l,E),a=R.preloads.scripts.get(a))&&(a.length=0),a=[],R.scripts.add(a),zn(a,l),Ea(m))}}else Pt.X(a,l)},S:function(a,l,m){var v=zt();if(v){var R=v.resumableState,E=v.renderState;if(a){l=l||"default";var O=E.styles.get(l),_=R.styleResources.hasOwnProperty(a)?R.styleResources[a]:void 0;_!==zr&&(R.styleResources[a]=zr,O||(O={precedence:ce(l),rules:[],hrefs:[],sheets:new Map},E.styles.set(l,O)),l={state:sf,props:fr({rel:"stylesheet",href:a,"data-precedence":l},m)},_&&(_.length===2&&br(l.props,_),(E=E.preloads.stylesheets.get(a))&&0<E.length?E.length=0:l.state=af),O.sheets.set(a,l),Ea(v))}}else Pt.S(a,l,m)},M:function(a,l){var m=zt();if(m){var v=m.resumableState,R=m.renderState;if(a){var E=v.moduleScriptResources.hasOwnProperty(a)?v.moduleScriptResources[a]:void 0;E!==zr&&(v.moduleScriptResources[a]=zr,l=fr({src:a,type:"module",async:!0},l),E&&(E.length===2&&br(l,E),a=R.preloads.moduleScripts.get(a))&&(a.length=0),a=[],R.scripts.add(a),zn(a,l),Ea(m))}}else Pt.M(a,l)}};var wo=0,bh=1,bd=2,wd=4,wh=8,au=32,Ch=64,zr=null,Co=[];Object.freeze(Co);var vc=null;w('"></template>');var Hp=w("<script"),bc=w("</script>"),Ux=w('<script src="'),dR=w('<script type="module" src="'),Gp=w(' nonce="'),zx=w(' integrity="'),Rh=w(' crossorigin="'),Th=w(' async=""></script>'),pR=w("<style"),fR=/(<\/|<)(s)(cript)/gi,mR=w('<script type="importmap">'),hR=w("</script>"),Wx={},lu=0,Cd=1,Ro=2,Vp=3,Hi=4,Rd=5,Yp=6,kh=7,Eh=8,Sh=9,ea=w("<!-- -->"),Hx=new Map,gR=w(' style="'),Gx=w(":"),yR=w(";"),Go=w(" "),As=w('="'),Yn=w('"'),Ph=w('=""'),Vx=w(ce("javascript:throw new Error('React form unexpectedly submitted.')")),Yx=w('<input type="hidden"'),Xn=w(">"),Td=w("/>"),Xx=!1,Jx=!1,Kx=!1,Zx=!1,Qx=!1,jx=!1,qx=!1,Xp=!1,$x=!1,Jp=!1,Kp=!1,Ah=w(' selected=""'),Fh=w(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`),xR=w("<!--F!-->"),vR=w("<!--F-->"),bR=/(<\/|<)(s)(tyle)/gi,wR=w("<!--head-->"),CR=w("<!--body-->"),RR=w("<!--html-->"),Oh=w(`
653
- `),TR=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ev=new Map,kR=w("<!DOCTYPE html>"),tv=new Map,Zp=w("requestAnimationFrame(function(){$RT=performance.now()});"),ER=w('<template id="'),SR=w('"></template>'),PR=w("<!--&-->"),AR=w("<!--/&-->"),FR=w("<!--$-->"),OR=w('<!--$?--><template id="'),MR=w('"></template>'),Qp=w("<!--$!-->"),Mh=w("<!--/$-->"),zl=w("<template"),jp=w('"'),IR=w(' data-dgst="'),nv=w(' data-msg="'),DR=w(' data-stck="'),_R=w(' data-cstck="'),rv=w("></template>"),ov=w('<div hidden id="'),iv=w('">'),Ih=w("</div>"),Dh=w('<svg aria-hidden="true" style="display:none" id="'),_h=w('">'),Lh=w("</svg>"),Nh=w('<math aria-hidden="true" style="display:none" id="'),sv=w('">'),LR=w("</math>"),NR=w('<table hidden id="'),BR=w('">'),UR=w("</table>"),zR=w('<table hidden><tbody id="'),al=w('">'),qp=w("</tbody></table>"),wc=w('<table hidden><tr id="'),av=w('">'),lv=w("</tr></table>"),cv=w('<table hidden><colgroup id="'),uv=w('">'),dv=w("</colgroup></table>"),pv=w('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),fv=w('$RS("'),mv=w('","'),hv=w('")</script>');w('<template data-rsi="" data-sid="'),w('" data-pid="');var Bh=w(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
654
- $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`),gv=w('$RC("'),yv=w(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
655
- "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
656
- "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),WR=w('$RR("'),$p=w('","'),HR=w('",'),GR=w('"'),Gi=w(")</script>");w('<template data-rci="" data-bid="'),w('<template data-rri="" data-bid="'),w('" data-sid="'),w('" data-sty="');var ef=w('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),VR=w('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),ll=w('$RX("'),Uh=w('"'),cu=w(","),zh=w(")</script>");w('<template data-rxi="" data-bid="'),w('" data-dgst="'),w('" data-msg="'),w('" data-stck="'),w('" data-cstck="');var tf=/[<\u2028\u2029]/g,sn=/[&><\u2028\u2029]/g,kd=w(' media="not all" data-precedence="'),nf=w('" data-href="'),Ed=w('">'),Sd=w("</style>"),Wl=!1,uu=!0,Vi=[],Hl=w(' data-precedence="'),rf=w('" data-href="'),ta=w(" "),Pd=w('">'),xv=w("</style>");w('<link rel="expect" href="#'),w('" blocking="render"/>');var Ad=w(' id="'),Vo=w("["),vv=w(",["),Cc=w(","),of=w("]"),sf=0,af=1,lf=2,Wh=3,bv=/[<>\r\n]/g,wv=/["';,\r\n]/g,Hh=Function.prototype.bind,cf=new sR.AsyncLocalStorage,Gh=Symbol.for("react.client.reference"),Yi={};Object.freeze(Yi);var Fd={},Rc=null,Vh={},Cv={},Yh=new Set,Xh=new Set,Jh=new Set,Rv=new Set,Kh=new Set,Tv=new Set,hi=new Set,na=new Set,Yr=new Set,Zh={enqueueSetState:function(a,l,m){var v=a._reactInternals;v.queue===null?jr(a,"setState"):(v.queue.push(l),m!=null&&ur(m))},enqueueReplaceState:function(a,l,m){a=a._reactInternals,a.replace=!0,a.queue=[l],m!=null&&ur(m)},enqueueForceUpdate:function(a,l){a._reactInternals.queue===null?jr(a,"forceUpdate"):l!=null&&ur(l)}},ra={id:1,overflow:""},Gl=Math.clz32?Math.clz32:wr,Vl=Math.log,du=Math.LN2,Lt=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Od=null,kv=typeof Object.is=="function"?Object.is:pi,Pa=null,uf=null,df=null,pf=null,Md=null,Ft=null,Yl=!1,c=!1,d=0,h=0,b=-1,T=0,S=null,I=null,N=0,Z=!1,H,J={readContext:el,use:function(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return $r(a);if(a.$$typeof===ru)return el(a)}throw Error("An unsupported type was passed to use(): "+String(a))},useContext:function(a){return H="useContext",yo(),a._currentValue},useMemo:Bo,useReducer:Ta,useRef:function(a){Pa=yo(),Ft=$a();var l=Ft.memoizedState;return l===null?(a={current:a},Object.seal(a),Ft.memoizedState=a):l},useState:function(a){return H="useState",Ta(fi,a)},useInsertionEffect:yn,useLayoutEffect:yn,useCallback:function(a,l){return Bo(function(){return a},l)},useImperativeHandle:yn,useEffect:yn,useDebugValue:yn,useDeferredValue:function(a,l){return yo(),l!==void 0?l:a},useTransition:function(){return yo(),[!1,tl]},useId:function(){var a=uf.treeContext,l=a.overflow;a=a.id,a=(a&~(1<<32-Gl(a)-1)).toString(32)+l;var m=ae;if(m===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return l=d++,a="_"+m.idPrefix+"R_"+a,0<l&&(a+="H"+l.toString(32)),a+"_"},useSyncExternalStore:function(a,l,m){if(m===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return m()},useOptimistic:function(a){return yo(),[a,Cr]},useActionState:xo,useFormState:xo,useHostTransitionStatus:function(){return yo(),Bx},useMemoCache:function(a){for(var l=Array(a),m=0;m<a;m++)l[m]=cR;return l},useCacheRefresh:function(){return eo},useEffectEvent:function(){return id}},ae=null,se=null,pe={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")},getOwner:function(){return se===null?null:se.componentStack}},te=0,Je,Kt,Ae,ht,Xr,To,dt;Zc.__reactDisabledLog=!0;var Mn,Fs,ko=!1,Fe=new(typeof WeakMap=="function"?WeakMap:Map),mr={react_stack_bottom_frame:function(a,l,m){return a(l,m)}},gi=mr.react_stack_bottom_frame.bind(mr),an={react_stack_bottom_frame:function(a){return a.render()}},kr=an.react_stack_bottom_frame.bind(an),Er={react_stack_bottom_frame:function(a){var l=a._init;return l(a._payload)}},jn=Er.react_stack_bottom_frame.bind(Er),yi=0;if(typeof performance=="object"&&typeof performance.now=="function")var Os=performance,Jr=function(){return Os.now()};else{var qn=Date;Jr=function(){return qn.now()}}var ln=4,Eo=0,cn=1,oa=2,Kr=3,Ms=4,xn=5,un=14,Yo=null,Xo={},Aa={},Xl={},Jo={},Is=!1,Tc=!1,Ds=!1,ia=0,Ko=!1;Tx(),Tx(),lc.prerender=function(a,l){return new Promise(function(m,v){var R=l?l.onHeaders:void 0,E;R&&(E=function(V){R(new Headers(V))});var O=ot(l?l.identifierPrefix:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),_=Uo(a,O,Pe(O,void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,E,l?l.maxHeadersLength:void 0),Tn(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,function(){var V,$=new ReadableStream({type:"bytes",start:function(ee){V=uh(ee)},pull:function(){Ss(_,V)},cancel:function(ee){_.destination=null,Fn(_,ee)}},{highWaterMark:0});$={postponed:pd(_),prelude:$},m($)},void 0,void 0,v,l?l.onPostpone:void 0);if(l&&l.signal){var X=l.signal;if(X.aborted)Fn(_,X.reason);else{var B=function(){Fn(_,X.reason),X.removeEventListener("abort",B)};X.addEventListener("abort",B)}}js(_)})},lc.prerenderToNodeStream=function(a,l){return new Promise(function(m,v){var R=ot(l?l.identifierPrefix:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),E=Uo(a,R,Pe(R,void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,l?l.onHeaders:void 0,l?l.maxHeadersLength:void 0),Tn(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,function(){var X=new Ax.Readable({read:function(){Ss(E,B)}}),B=Mp(X);X={postponed:pd(E),prelude:X},m(X)},void 0,void 0,v,l?l.onPostpone:void 0);if(l&&l.signal){var O=l.signal;if(O.aborted)Fn(E,O.reason);else{var _=function(){Fn(E,O.reason),O.removeEventListener("abort",_)};O.addEventListener("abort",_)}}js(E)})},lc.renderToPipeableStream=function(a,l){var m=Ex(a,l),v=!1;return js(m),{pipe:function(R){if(v)throw Error("React currently only supports piping to one writable stream.");return v=!0,Tp(m,m.trackedPostpones===null||m.completedRootSegment===null?m.pendingRootTasks===0:m.completedRootSegment.status!==xn),Ss(m,R),R.on("drain",kx(R,m)),R.on("error",Op(m,"The destination stream errored while writing data.")),R.on("close",Op(m,"The destination stream closed early.")),R},abort:function(R){Fn(m,R)}}},lc.renderToReadableStream=function(a,l){return new Promise(function(m,v){var R,E,O=new Promise(function(ie,j){E=ie,R=j}),_=l?l.onHeaders:void 0,X;_&&(X=function(ie){_(new Headers(ie))});var B=ot(l?l.identifierPrefix:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),V=vo(a,B,Pe(B,l?l.nonce:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,X,l?l.maxHeadersLength:void 0),Tn(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,E,function(){var ie,j=new ReadableStream({type:"bytes",start:function(Oe){ie=il(Oe)},pull:function(){Ss(V,ie)},cancel:function(Oe){V.destination=null,Fn(V,Oe)}},{highWaterMark:0});j.allReady=O,m(j)},function(ie){O.catch(function(){}),v(ie)},R,l?l.onPostpone:void 0,l?l.formState:void 0);if(l&&l.signal){var $=l.signal;if($.aborted)Fn(V,$.reason);else{var ee=function(){Fn(V,$.reason),$.removeEventListener("abort",ee)};$.addEventListener("abort",ee)}}js(V)})},lc.resume=function(a,l,m){return new Promise(function(v,R){var E,O,_=new Promise(function($,ee){O=$,E=ee}),X=An(a,l,Pe(l.resumableState,m?m.nonce:void 0,void 0,void 0,void 0,void 0),m?m.onError:void 0,O,function(){var $,ee=new ReadableStream({type:"bytes",start:function(ie){$=il(ie)},pull:function(){Ss(X,$)},cancel:function(ie){X.destination=null,Fn(X,ie)}},{highWaterMark:0});ee.allReady=_,v(ee)},function($){_.catch(function(){}),R($)},E,m?m.onPostpone:void 0);if(m&&m.signal){var B=m.signal;if(B.aborted)Fn(X,B.reason);else{var V=function(){Fn(X,B.reason),B.removeEventListener("abort",V)};B.addEventListener("abort",V)}}js(X)})},lc.resumeAndPrerender=function(a,l,m){return new Promise(function(v,R){var E=mi(a,l,Pe(l.resumableState,void 0,void 0,void 0,void 0,void 0),m?m.onError:void 0,function(){var X,B=new ReadableStream({type:"bytes",start:function(V){X=uh(V)},pull:function(){Ss(E,X)},cancel:function(V){E.destination=null,Fn(E,V)}},{highWaterMark:0});B={postponed:pd(E),prelude:B},v(B)},void 0,void 0,R,m?m.onPostpone:void 0);if(m&&m.signal){var O=m.signal;if(O.aborted)Fn(E,O.reason);else{var _=function(){Fn(E,O.reason),O.removeEventListener("abort",_)};O.addEventListener("abort",_)}}js(E)})},lc.resumeAndPrerenderToNodeStream=function(a,l,m){return new Promise(function(v,R){var E=mi(a,l,Pe(l.resumableState,void 0,void 0,void 0,void 0,void 0),m?m.onError:void 0,function(){var X=new Ax.Readable({read:function(){Ss(E,B)}}),B=Mp(X);X={postponed:pd(E),prelude:X},v(X)},void 0,void 0,R,m?m.onPostpone:void 0);if(m&&m.signal){var O=m.signal;if(O.aborted)Fn(E,O.reason);else{var _=function(){Fn(E,O.reason),O.removeEventListener("abort",_)};O.addEventListener("abort",_)}}js(E)})},lc.resumeToPipeableStream=function(a,l,m){var v=Sx(a,l,m),R=!1;return js(v),{pipe:function(E){if(R)throw Error("React currently only supports piping to one writable stream.");return R=!0,Ss(v,E),E.on("drain",kx(E,v)),E.on("error",Op(v,"The destination stream errored while writing data.")),E.on("close",Op(v,"The destination stream closed early.")),E},abort:function(E){Fn(v,E)}}},lc.version="19.2.4"}()});var S8=yl(td=>{"use strict";var fx,Ym;process.env.NODE_ENV==="production"?(fx=K6(),Ym=T8()):(fx=k8(),Ym=E8());td.version=fx.version;td.renderToString=fx.renderToString;td.renderToStaticMarkup=fx.renderToStaticMarkup;td.renderToPipeableStream=Ym.renderToPipeableStream;td.renderToReadableStream=Ym.renderToReadableStream;td.resumeToPipeableStream=Ym.resumeToPipeableStream;td.resume=Ym.resume});function P8(e){let{type:t,id:n,value:r}=e;return`${t}${n}:${JSON.stringify(r)}
657
- `}function A8(e){if(!e||e.length<3)return null;let t=e[0],n=e.indexOf(":");if(n===-1)return null;let r=parseInt(e.slice(1,n),10),o=e.slice(n+1);try{let i=JSON.parse(o);return{type:t,id:r,value:i}}catch{return null}}function Xm(e){return e!==null&&typeof e=="object"&&e.$$typeof===Symbol.for("react.client.reference")}function F8(e){return typeof e=="function"&&e.$$typeof===Symbol.for("react.server.reference")}function B0(e){if(!e||typeof e!="object")return!1;let t=e;return t.$$typeof===Symbol.for("react.transitional.element")||t.$$typeof===Symbol.for("react.element")}var U0=k(()=>{});function Jm(e){let t=!1;for(let r=0;r<e.length;r++){let o=e[r];if(B0(o)&&(o.key===null||o.key===void 0||o.key==="")){t=!0;break}}if(!t)return e;let n=new Array(e.length);for(let r=0;r<e.length;r++){let o=e[r];if(B0(o)&&(o.key===null||o.key===void 0||o.key==="")){n[r]=(0,wa.cloneElement)(o,{key:`.${r}`});continue}n[r]=o}return n}function nne(e,t,n,r,o){let i={};for(let[u,p]of Object.entries(n))u==="children"||typeof p=="function"||(i[u]=p);let s=Array.isArray(r)?Jm(r):r;return(0,wa.createElement)("div",{"data-client-component":e,"data-export-name":t,"data-props":JSON.stringify(i),"data-chunk-id":String(o),style:{display:"contents"}},s)}async function ba(e,t){if(e==null){let r=t.nextId++;return t.chunks.push({type:"J",id:r,value:null}),{processedElement:null,chunkId:r}}if(typeof e!="object"){let r=t.nextId++;return t.chunks.push({type:"J",id:r,value:e}),{processedElement:e,chunkId:r}}if(Array.isArray(e)){let r=t.nextId++,o=await Promise.all(e.map(u=>ba(u,t))),i=o.map(u=>`$${u.chunkId}`);t.chunks.push({type:"J",id:r,value:i});let s=o.map(u=>u.processedElement);return{processedElement:Jm(s),chunkId:r}}if(Xm(e)){let r=t.nextId++,o=e.$$id,i=e.name??"default",s=t.bundlerConfig[o]??{id:o,chunks:[],name:i};return t.chunks.push({type:"M",id:r,value:s}),t.clientModules.add(o),{processedElement:null,chunkId:r}}if(B0(e)){let{type:r,props:o,key:i}=e;if(Mr.debug(`Processing React element with type: ${typeof r}, name: ${r?.name||r?.toString?.()||"unknown"}`),Xm(r)){let u=t.nextId++,p=t.nextId++,f=t.nextId++,g=r.$$id,y=r.name??"default",x=t.bundlerConfig[g]??{id:g,chunks:[],name:y};t.chunks.push({type:"M",id:u,value:x}),t.clientModules.add(g);let w=null,A;if(o?.children){let L=await ba(o.children,t);w=L.processedElement,A=L.chunkId}let F=nne(g,y,o??{},w,f),D={};if(o!==void 0){for(let[L,U]of Object.entries(o))if(typeof U!="function")if(L==="children"&&A!==void 0)D[L]=`$${A}`;else if(typeof U=="object"&&U!==null){let Y=await ba(U,t);D[L]=`$${Y.chunkId}`}else D[L]=U}return t.chunks.push({type:"J",id:p,value:D}),t.chunks.push({type:"J",id:f,value:{$$typeof:"react.element",type:`$M${u}`,props:`$${p}`}}),{processedElement:F,chunkId:f}}if(r!==null&&typeof r=="object"&&r.$$typeof===Symbol.for("react.forward_ref")&&typeof r.render=="function")try{Mr.debug("Processing ForwardRef component");let u=r.render(o,null);return await ba(u,t)}catch(u){Mr.error("Error rendering ForwardRef component:",u);let p=t.nextId++;return t.chunks.push({type:"E",id:p,value:{message:u instanceof Error?u.message:String(u),stack:u instanceof Error?u.stack:void 0}}),{processedElement:null,chunkId:p}}if(r!==null&&typeof r=="object"&&r.$$typeof===Symbol.for("react.memo")){Mr.debug("Processing Memo component");let u=r.type,p={...e,type:u};return await ba(p,t)}if(typeof r=="function")try{Mr.debug(`Executing server component: ${r.name||"anonymous"}`);let u=r(o);if(u instanceof Promise){if(t.streamMode==="streaming-classic"){Mr.debug(`Async server component ${r.name||"anonymous"} skipped in SSR (streaming-classic mode) - client will fetch via /rsc`);let f=t.nextId++,g=t.suspenseFallback??"Loading...",y=Array.isArray(g)?Jm(g):g,x=(0,wa.createElement)("div",{"data-async-boundary":f,"data-component":r.name||"async",children:y});return t.chunks.push({type:"J",id:f,value:{__rsc_pending:!0}}),{processedElement:x,chunkId:f}}Mr.debug("Awaiting async server component...");let p=await u;return p===void 0&&Mr.warn(`Async server component ${r.name||"anonymous"} returned undefined`),await ba(p,t)}return u===void 0&&Mr.warn(`Server component ${r.name||"anonymous"} returned undefined`),await ba(u,t)}catch(u){Mr.error("Error rendering server component:",u);let p=t.nextId++;return t.chunks.push({type:"E",id:p,value:{message:u instanceof Error?u.message:String(u),stack:u instanceof Error?u.stack:void 0}}),{processedElement:null,chunkId:p}}if(typeof r=="string"){let u=o?.children,p;if(o?.children!==void 0){let A=await ba(o.children,t);u=A.processedElement,p=A.chunkId}let f=Array.isArray(u)?Jm(u):u,g=i!=null?{...o,key:i,children:f}:{...o,children:f},y=(0,wa.createElement)(r,g),x=t.nextId++,w={};if(o!==void 0)for(let[A,F]of Object.entries(o))typeof F!="function"&&(A==="children"&&p!==void 0?w[A]=`$${p}`:w[A]=F);return t.chunks.push({type:"J",id:x,value:{$$typeof:"react.element",type:r,props:w}}),{processedElement:y,chunkId:x}}if(r===wa.Suspense){Mr.debug("Processing Suspense boundary");let u=t.suspenseFallback,p=null;o?.fallback!==void 0&&(p=(await ba(o.fallback,t)).processedElement),t.suspenseFallback=p;let f=null,g;if(o?.children!==void 0){Mr.debug("Processing Suspense children...");let F=await ba(o.children,t);f=F.processedElement,g=F.chunkId,Mr.debug("Suspense children processed")}t.suspenseFallback=u;let y=f??p,x=Array.isArray(y)?Jm(y):y,w=(0,wa.createElement)(wa.Fragment,null,x),A=t.nextId++;return t.chunks.push({type:"J",id:A,value:g!==void 0?`$${g}`:null}),{processedElement:w,chunkId:A}}if(typeof r=="symbol"||r===wa.Fragment){let u=o?.children,p;if(o?.children!==void 0){let w=await ba(o.children,t);u=w.processedElement,p=w.chunkId}let f=Array.isArray(u)?Jm(u):u,g=i!=null?{...o,key:i,children:f}:{...o,children:f},y=(0,wa.createElement)(r,g),x=t.nextId++;return t.chunks.push({type:"J",id:x,value:p!==void 0?`$${p}`:null}),{processedElement:y,chunkId:x}}Mr.warn(`Unhandled React element type: ${typeof r}`,{typeSymbol:r?.$$typeof?.toString?.(),typeName:r?.name,typeValue:r});let s=t.nextId++;return t.chunks.push({type:"J",id:s,value:null}),{processedElement:null,chunkId:s}}if(typeof e=="object"&&e!==null){let r=t.nextId++,o={};for(let[i,s]of Object.entries(e))if(typeof s!="function")if(typeof s=="object"&&s!==null){let u=await ba(s,t);o[i]=u.processedElement}else o[i]=s;return t.chunks.push({type:"J",id:r,value:o}),{processedElement:o,chunkId:r}}let n=t.nextId++;return t.chunks.push({type:"J",id:n,value:e}),{processedElement:e,chunkId:n}}async function mp(e,t,n={streamMode:"await-all"}){Mr.debug("Starting SSR render..."),Mr.debug(`Input element type: ${typeof e}`),e&&typeof e=="object"&&(Mr.debug(`Element $$typeof: ${e.$$typeof?.toString?.()}`),Mr.debug(`Element type: ${e.type?.name||e.type||"unknown"}`));let r={bundlerConfig:t,nextId:1,chunks:[],clientModules:new Set,pendingPromises:[],streamMode:n.streamMode,asyncComponents:new Map,suspenseFallback:null};try{let{processedElement:o,chunkId:i}=await ba(e,r);r.chunks.unshift({type:"J",id:0,value:`$${i}`}),Mr.debug(`Pre-processed tree, collected ${r.chunks.length} RSC chunks`);let s=await(0,O8.renderToReadableStream)(o,{onError:g=>{Mr.error("SSR render error:",g)}});n.streamMode==="await-all"&&await s.allReady;let u=s.getReader(),p=new TextDecoder,f="";for(;;){let{done:g,value:y}=await u.read();if(g)break;f+=p.decode(y,{stream:!0})}return f+=p.decode(),Mr.debug(`SSR complete, HTML length: ${f.length}`),{html:f,rscPayload:r.chunks,clientModules:Array.from(r.clientModules)}}catch(o){return Mr.error("SSR rendering failed:",o),{html:`<div data-ssr-error="true">SSR Error: ${o instanceof Error?o.message:String(o)}</div>`,rscPayload:[{type:"E",id:0,value:{message:o instanceof Error?o.message:String(o)}}],clientModules:[]}}}function mx(e){return JSON.stringify(e)}function z0(e){return`<script id="__RSC_PAYLOAD__" type="application/json">${mx(e).replace(/<\/script/gi,"<\\/script")}</script>`}var wa,O8,Mr,E1=k(()=>{wa=eT(Uc(),1),O8=eT(S8(),1);U0();rt();Mr=fe.getLogger(["laroux-server","react","ssr"])});function Lo(e,t){e.chunks.push(t),e.emitChunk?.(t)}async function nd(e,t){if(e==null){let o=t.nextId++;return Lo(t,{type:"J",id:o,value:null}),o}if(typeof e!="object"){let o=t.nextId++;return Lo(t,{type:"J",id:o,value:e}),o}if(Array.isArray(e)){let o=t.nextId++,i=e.map(u=>nd(u,t)),s=await Promise.all(i);return Lo(t,{type:"J",id:o,value:s}),o}if(Xm(e)){let o=t.nextId++,i=e.$$id,s=t.bundlerConfig[i];return s?Lo(t,{type:"M",id:o,value:s}):Lo(t,{type:"M",id:o,value:{id:i,chunks:["client"],name:"default"}}),o}if(e.$$typeof===Symbol.for("react.transitional.element")||e.$$typeof===Symbol.for("react.element")){let{type:o,props:i}=e;if(o!==null&&typeof o=="object"&&Xm(o)){let s=o.$$id,u=t.bundlerConfig[s];if(Al.debug(`Client reference detected: ${s}`),Al.debug(`Module ref found: ${!!u}`),u||Al.debug(`Available keys: ${Object.keys(t.bundlerConfig).join(", ")}`),u){let p=t.nextId++,f=t.nextId++,g=await S1(i,t),y=u.name??"default";return Lo(t,{type:"M",id:f,value:{...u,name:y}}),Lo(t,{type:"J",id:p,value:{$$typeof:"react.element",type:`$M${f}`,props:`$${g}`}}),p}}if(o!==null&&typeof o=="object"&&o.$$typeof===Symbol.for("react.forward_ref")&&typeof o.render=="function")try{let s=o.render(i,null);return await nd(s,t)}catch(s){let u=t.nextId++,p=s instanceof Error?s:new Error(String(s));return Lo(t,{type:"E",id:u,value:{message:p.message,stack:p.stack}}),u}if(o!==null&&typeof o=="object"&&o.$$typeof===Symbol.for("react.memo")){let s=o.type,u={...e,type:s};return await nd(u,t)}if(typeof o=="function")try{let s=o(i);if(s instanceof Promise){let u=t.nextId++,p=s.then(async f=>{let g=await nd(f,t);Lo(t,{type:"J",id:u,value:`$${g}`}),t.pendingChunks.delete(u)}).catch(f=>{Lo(t,{type:"E",id:u,value:{message:f.message,stack:f.stack}}),t.pendingChunks.delete(u)});return t.pendingChunks.set(u,p),u}return await nd(s,t)}catch(s){let u=t.nextId++,p=s instanceof Error?s:new Error(String(s));return Lo(t,{type:"E",id:u,value:{message:p.message,stack:p.stack}}),u}if(typeof o=="string"){let s=t.nextId++,u=await S1(i,t);return Lo(t,{type:"J",id:s,value:{$$typeof:"react.element",type:o,props:`$${u}`}}),s}if(typeof o=="symbol"){let s=t.nextId++,u=await S1(i,t),p=o.toString();return Lo(t,{type:"J",id:s,value:{$$typeof:"react.element",type:p,props:`$${u}`}}),s}}let r=t.nextId++;try{Lo(t,{type:"J",id:r,value:e})}catch{Lo(t,{type:"J",id:r,value:null})}return r}async function S1(e,t){if(!e||typeof e!="object"){let o=t.nextId++;return Lo(t,{type:"J",id:o,value:e}),o}let n=t.nextId++,r={};for(let[o,i]of Object.entries(e))if(o==="children"||o==="fallback")if(Array.isArray(i)){let s=await Promise.all(i.map(u=>nd(u,t)));r[o]=s.map(u=>`$${u}`)}else if(i!==null&&typeof i=="object"&&"$$typeof"in i){let s=await nd(i,t);r[o]=`$${s}`}else r[o]=i;else if(F8(i)){let s=t.nextId++,u=i;Lo(t,{type:"S",id:s,value:{id:u.$$id,bound:u.$$bound}}),r[o]=`$F${s}`}else{if(typeof i=="function")continue;r[o]=i}return Lo(t,{type:"J",id:n,value:r}),n}function Km(e,t){let n={bundlerConfig:t,nextId:0,chunks:[],pendingChunks:new Map},r=null,o=!1;n.emitChunk=p=>{if(o||!r)return;let f=P8(p);try{let g=new TextEncoder().encode(f);r.enqueue(g)}catch(g){o||(Al.error(`Error emitting chunk ${p.id}: ${g}`),o=!0)}};let i=!1,s=()=>{i||(i=!0,Al.debug("Starting RSC render..."),(async()=>{try{let p=nd(e,n);Al.debug("Root rendering started, emitting root chunk next...");let f=await p;for(Al.debug(`Root chunk ID: ${f}, pending async: ${n.pendingChunks.size}`);n.pendingChunks.size>0;)Al.debug(`Waiting for ${n.pendingChunks.size} async component(s)...`),await Promise.all(n.pendingChunks.values());Al.debug("All async components resolved"),Al.debug(`All done. Closing stream. Total: ${n.chunks.length} chunks`),!o&&r&&(o=!0,r.close())}catch(p){Al.error(`Render error: ${p}`),!o&&r&&(o=!0,r.error(p))}})())};return new ReadableStream({start(p){r=p},pull(){s()},cancel(){o=!0}})}var Al,W0=k(()=>{U0();rt();Al=fe.getLogger(["laroux-server","react","flight"])});async function Zm(e){try{let t=C.path.resolve(e.distDir,"client",rne),n=await C.fs.readTextFile(t),r=JSON.parse(n);return hp.debug(`Loaded module map with ${Object.keys(r).length} entries`),r}catch(t){return hp.warn("Module map not found, using empty map"),t instanceof Nt&&hp.warn(" Run `deno task build` to generate the module map"),{}}}async function P1(e,t,n){try{let r=n??await Zm(e);hp.debug("Module map keys:",{keys:Object.keys(r)}),hp.debug("Module map:",{moduleMap:r});let o=Km(t,r);return hp.debug("RSC stream created"),o}catch(r){hp.error("RSC rendering error:",{error:r});let o=r instanceof Error?r.message:String(r);return new ReadableStream({start(s){let u=`E0:${JSON.stringify({message:o})}
658
- `;s.enqueue(new TextEncoder().encode(u)),s.close()}})}}function A1(e){return new Response(e,{headers:{"Content-Type":"text/x-component; charset=utf-8","Cache-Control":"no-cache, no-store, must-revalidate","X-Content-Type-Options":"nosniff","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, OPTIONS","Access-Control-Allow-Headers":"Content-Type"}})}async function Qm(e,t,n){let r=await P1(e,t,n);return A1(r)}var hp,rne,F1=k(()=>{W0();ye();rt();hp=fe.getLogger(["laroux-server","react","rsc-handler"]),rne="module-map.json"});function rd(e,t,n){let r=O1.default.createElement(t,{params:n?.params,pathname:n?.pathname});return O1.default.createElement(e,{children:r})}var O1,M1=k(()=>{O1=eT(Uc(),1)});function H0(e){let t=A8(e.trim());return t?`<script>self.__RSC_CHUNK__(${JSON.stringify(t)})</script>
659
- `:""}function I1(){let e=new TextDecoder,t=new TextEncoder,n="";return new TransformStream({transform(r,o){n+=e.decode(r,{stream:!0});let i=n.split(`
660
- `);n=i.pop()??"";for(let s of i){if(!s.trim())continue;let u=H0(s);u&&o.enqueue(t.encode(u))}},flush(r){if(n.trim()){let o=H0(n);o&&r.enqueue(t.encode(o))}}})}function M8(e,t){one.debug("Creating inline RSC stream...");let n=Km(e,t),r=I1();return n.pipeThrough(r)}function jm(){return`<script id="__RSC_INLINE_BOOTSTRAP__">
661
- self.__RSC_CHUNKS_BUFFER__=[];
662
- self.__RSC_CHUNK__=function(c){self.__RSC_CHUNKS_BUFFER__.push(c)};
663
- </script>`}function I8(){return"<script>self.__RSC_STREAMING_COMPLETE__=true</script>"}var one,D1=k(()=>{U0();W0();rt();one=fe.getLogger(["laroux-server","react","inline-rsc"])});function qm(e){D8=e}function $m(){D8=null}var D8,_1=k(()=>{D8=null});function N1(){let e=null;return{name:"react",async renderPage(t,n,r){L1.debug(`Rendering page: ${r.pathname}`);try{let o=r.request.headers.get("cookie");qm(o),e||(e=await Zm(r.config));let i=rd(t,n,{pathname:r.pathname,params:r.params,requestContext:{cookieHeader:o,host:r.request.headers.get("host")??void 0}}),s=await mp(i,e,{streamMode:"await-all"}),u=z0(s.rscPayload);return L1.debug(`Page rendered, HTML length: ${s.html.length}`),{html:s.html,rscPayload:u}}finally{$m()}},async renderRSC(t,n,r){L1.debug(`Rendering RSC: ${r.pathname}`);try{let o=r.request.headers.get("cookie");qm(o),e||(e=await Zm(r.config));let i=rd(t,n,{pathname:r.pathname,params:r.params,requestContext:{cookieHeader:o,host:r.request.headers.get("host")??void 0}});return await Qm(r.config,i,e)}finally{$m()}},generateBootstrapScript(t){return jm()}}}var L1,_8,L8=k(()=>{E1();F1();M1();D1();_1();rt();L1=fe.getLogger(["laroux-server","react","renderer"]);_8=N1()});function N8(e){return e.map(t=>`<script type="module" src="${G0(t)}"></script>`).join(`
664
- `)}function B8(e){return e.map(t=>`<link rel="stylesheet" href="${G0(t)}">`).join(`
665
- `)}function G0(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function B1(){return{name:"react",createShell(e){let{head:t="",body:n="",scripts:r=[],styles:o=[],criticalCss:i,rscPayload:s,manifest:u,title:p="",lang:f="en"}=e,g=B8(o),y=N8(r),x=i?`<style id="__critical_css__">${i}</style>`:"",w=u?`<script id="__CHUNK_MANIFEST__" type="application/json">${JSON.stringify(u).replace(/<\/script/gi,"<\\/script")}</script>`:"";return`<!DOCTYPE html>
666
- <html lang="${f}">
667
- <head>
668
- <meta charset="utf-8">
669
- <meta name="viewport" content="width=device-width, initial-scale=1">
670
- <title>${G0(p)}</title>
671
- ${g}
672
- ${x}
673
- ${t}
674
- </head>
675
- <body>
676
- <div id="root">${n}</div>
677
- ${s??""}
678
- ${w}
679
- ${y}
680
- </body>
681
- </html>`},createStreamingStart(e){let{head:t="",styles:n=[],criticalCss:r,title:o="",lang:i="en"}=e,s=B8(n),u=r?`<style id="__critical_css__">${r}</style>`:"";return`<!DOCTYPE html>
682
- <html lang="${i}">
683
- <head>
684
- <meta charset="utf-8">
685
- <meta name="viewport" content="width=device-width, initial-scale=1">
686
- <title>${G0(o)}</title>
687
- ${s}
688
- ${u}
689
- ${t}
690
- </head>
691
- <body>
692
- <div id="root">`},createStreamingEnd(e){let{scripts:t=[],rscPayload:n,manifest:r}=e,o=N8(t),i=r?`<script id="__CHUNK_MANIFEST__" type="application/json">${JSON.stringify(r).replace(/<\/script/gi,"<\\/script")}</script>`:"";return`</div>
693
- ${n??""}
694
- ${i}
695
- ${o}
696
- </body>
697
- </html>`}}}var U8,z8=k(()=>{U8=B1()});var U1={};xe(U1,{chunkToInlineScript:()=>H0,createInlineRSCStream:()=>M8,createInlineTransformStream:()=>I1,createReactHtmlShellBuilder:()=>B1,createReactRenderer:()=>N1,generateInlineBootstrapScript:()=>jm,generateInlineCompletionScript:()=>I8,generateRSCPayloadScript:()=>z0,loadModuleMap:()=>Zm,reactHtmlShellBuilder:()=>U8,reactRenderer:()=>_8,renderApp:()=>rd,renderRSC:()=>P1,renderRSCResponse:()=>Qm,renderSSR:()=>mp,renderToReadableStream:()=>Km,serializeRSCPayload:()=>mx,streamToResponse:()=>A1});var V0=k(()=>{L8();z8();W0();F1();E1();D1();M1()});function Y0(e,t){let n={...e,...t},r=[];n.description&&r.push(`<meta name="description" content="${Li(n.description)}">`),n.keywords&&n.keywords.length>0&&r.push(`<meta name="keywords" content="${Li(n.keywords.join(", "))}">`),n.author&&r.push(`<meta name="author" content="${Li(n.author)}">`),n.themeColor&&r.push(`<meta name="theme-color" content="${n.themeColor}">`);let o=[];return n.noIndex&&o.push("noindex"),n.noFollow&&o.push("nofollow"),o.length>0&&r.push(`<meta name="robots" content="${o.join(", ")}">`),n.canonicalUrl&&r.push(`<link rel="canonical" href="${Li(n.canonicalUrl)}">`),r.push(`<meta property="og:type" content="${n.ogType||"website"}">`),r.push(`<meta property="og:title" content="${Li(n.title)}">`),n.description&&r.push(`<meta property="og:description" content="${Li(n.description)}">`),n.siteUrl&&r.push(`<meta property="og:url" content="${Li(n.siteUrl)}">`),n.siteName&&r.push(`<meta property="og:site_name" content="${Li(n.siteName)}">`),n.locale&&r.push(`<meta property="og:locale" content="${n.locale}">`),n.ogImage&&(r.push(`<meta property="og:image" content="${Li(n.ogImage)}">`),r.push(`<meta property="og:image:alt" content="${Li(n.title)}">`)),r.push('<meta name="twitter:card" content="summary_large_image">'),r.push(`<meta name="twitter:title" content="${Li(n.title)}">`),n.description&&r.push(`<meta name="twitter:description" content="${Li(n.description)}">`),n.twitterHandle&&(r.push(`<meta name="twitter:site" content="${Li(n.twitterHandle)}">`),r.push(`<meta name="twitter:creator" content="${Li(n.twitterHandle)}">`)),n.ogImage&&r.push(`<meta name="twitter:image" content="${Li(n.ogImage)}">`),n.favicon&&r.push(`<link rel="icon" href="${Li(n.favicon)}">`),r.join(`
698
- `)}function X0(e,t){let n={...e,...t},r={"@context":"https://schema.org","@type":"WebSite",name:n.siteName,url:n.siteUrl,description:n.description},o={"@context":"https://schema.org","@type":"Organization",name:n.siteName,url:n.siteUrl,logo:n.ogImage},i=[r,o];return n.jsonLd&&i.push({"@context":"https://schema.org",...n.jsonLd}),i.map(s=>`<script type="application/ld+json">${JSON.stringify(s)}</script>`).join(`
699
- `)}function Li(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}var W8=k(()=>{});var H8=k(()=>{W8()});function V8(e){let t=e.entrypoint??"/client.js",n=e.chunkManifest?.buildId?`?v=${e.chunkManifest.buildId}`:`?v=${Date.now()}`,r=e.chunkManifest?.hmrEnabled?"":n,o=e.fontPreloads?.join(`
700
- `)??"",i=e.fontCSS?`<style>${e.fontCSS}</style>`:"",s=e.criticalChunks?.map(U=>`<link rel="modulepreload" href="${U}${n}">`).join(`
701
- `)??"",u=e.clientModules?.map(U=>{let Y=e.chunkManifest?.chunks?.[U];return Y&&"main"in Y?`<link rel="modulepreload" href="/chunk-${Y.main}.js${n}">`:""}).filter(Boolean).join(`
702
- `)??"",f=e.criticalUniversalCSS||"html{scrollbar-gutter:stable}*,*::before,*::after{box-sizing:border-box}",y=`<style id="critical-css">${e.criticalPageCSS?`${f}${e.criticalPageCSS}`:f}</style>`,x=e.deferredCSSPath?`<link rel="stylesheet" href="${e.deferredCSSPath}${r}" media="print" onload="this.media='all'">
703
- <noscript><link rel="stylesheet" href="${e.deferredCSSPath}${r}"></noscript>`:"",w={...G8,...e.seoConfig},A=Y0(w),F=X0(w),D=e.locale?.split("_")[0]??w.locale?.split("_")[0]??"en",L=e.deferredCSSPath?`<link rel="preload" href="${e.deferredCSSPath}${r}" as="style">`:`<link rel="preload" href="/styles.css${r}" as="style">`;return`<!DOCTYPE html>
704
- <html lang="${D}">
705
- <head>
706
- <meta charset="UTF-8">
707
- ${L}
708
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
709
- ${A}
710
- <title>${w.title}</title>
711
- ${o}
712
- ${i}
713
- ${y}
714
- ${e.deferredCSSPath?x:`<link rel="stylesheet" href="/styles.css${r}" media="print" onload="this.media='all'">
715
- <noscript><link rel="stylesheet" href="/styles.css${r}"></noscript>`}
716
- <link rel="modulepreload" href="${t}${n}">
717
- ${s}
718
- ${u}
719
- ${F}
720
- </head>
721
- <body>
722
- <div id="root">`}function Y8(e){return`</div>
723
- </body>
724
- </html>`}function X8(e){let t=e.entrypoint??"/client.js",n=e.chunkManifest?`<script>globalThis.__CHUNK_MANIFEST__ = ${JSON.stringify(e.chunkManifest)};</script>`:"",r=e.chunkManifest?.buildId?`?v=${e.chunkManifest.buildId}`:`?v=${Date.now()}`,o=e.chunkManifest?.hmrEnabled?"":r,i=e.fontPreloads?.join(`
725
- `)??"",s=e.fontCSS?`<style>${e.fontCSS}</style>`:"",u=e.criticalChunks?.map(Y=>`<link rel="modulepreload" href="${Y}${r}">`).join(`
726
- `)??"",p=e.clientModules?.map(Y=>{let G=e.chunkManifest?.chunks?.[Y];return G&&"main"in G?`<link rel="modulepreload" href="/chunk-${G.main}.js${r}">`:""}).filter(Boolean).join(`
727
- `)??"",g=e.criticalUniversalCSS||"html{scrollbar-gutter:stable}*,*::before,*::after{box-sizing:border-box}",x=`<style id="critical-css">${e.criticalPageCSS?`${g}${e.criticalPageCSS}`:g}</style>`,w=e.deferredCSSPath?`<link rel="stylesheet" href="${e.deferredCSSPath}${o}" media="print" onload="this.media='all'">
728
- <noscript><link rel="stylesheet" href="${e.deferredCSSPath}${o}"></noscript>`:"",A={...G8,...e.seoConfig},F=Y0(A),D=X0(A),L=e.locale?.split("_")[0]??A.locale?.split("_")[0]??"en",U=e.deferredCSSPath?`<link rel="preload" href="${e.deferredCSSPath}${o}" as="style">`:`<link rel="preload" href="/styles.css${o}" as="style">`;return`<!DOCTYPE html>
729
- <html lang="${L}">
730
- <head>
731
- <meta charset="UTF-8">
732
- <!-- Early CSS preload for faster discovery -->
733
- ${U}
734
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
735
- ${F}
736
- <title>${A.title}</title>
737
- ${i}
738
- ${s}
739
- <!-- Critical CSS (inlined for fast first paint) -->
740
- ${x}
741
- ${e.deferredCSSPath?w:`<!-- Async full CSS loading -->
742
- <link rel="stylesheet" href="/styles.css${o}" media="print" onload="this.media='all'">
743
- <noscript><link rel="stylesheet" href="/styles.css${o}"></noscript>`}
744
- <!-- Modulepreload for faster script loading -->
745
- <link rel="modulepreload" href="${t}${r}">
746
- ${u}
747
- ${p}
748
- ${D}
749
- </head>
750
- <body>
751
- <div id="root">${e.ssrContent?e.ssrContent:'<div class="initial-loading">Loading...</div>'}</div>
752
-
753
- <!-- Chunk manifest for lazy loading -->
754
- ${n}
755
- ${e.rscPayload?`<!-- RSC payload for hydration -->
756
- <script id="__RSC_PAYLOAD__" type="application/json">${e.rscPayload.replace(/<\/script/gi,"<\\/script")}</script>`:""}
757
-
758
- <!-- Client entry point -->
759
- <script type="module" src="${t}${r}"></script>
760
- </body>
761
- </html>`}var G8,J8=k(()=>{H8();G8={title:"laroux.js 3.0",description:"Zero-configuration React Server Components on Deno 2.x. Modern, simple, and built with cutting-edge technology.",siteName:"laroux.js",siteUrl:"https://laroux.now",locale:"en_US",themeColor:"#7c3aed",favicon:"/favicon.svg",twitterHandle:"@eser",ogImage:"https://laroux.now/og-image.png",ogType:"website",keywords:["laroux","open source","community","development","react","server components","server actions","island architecture"],author:"Eser Ozvataf"}});function K8(e){let t=Q8(e,q8);return t===-1?[e,""]:t===0?["",e]:[e.slice(0,t),e.slice(t)]}function ine(e){if(!e)return["",e];if(e[0]!=='"')return K8(e);let t="";for(let n=1;n<e.length;n++){let r=e[n];if(r==='"')return[t,e.slice(n+1)];let o=e[n+1];if(r==="\\"&&typeof o=="string"&&$8(o)){t+=o,n++;continue}if(r==="\r"||r===`
762
- `)return["",e];t+=e[n]}return["",e]}function Z8(e){let t=e.trimStart();if(!t.startsWith(";"))return["","",e];t=t.slice(1),t=t.trimStart();let n;if([n,t]=K8(t),n=n.toLowerCase(),!n)return["","",e];t=t.slice(1),t=t.trimStart();let[r,o]=ine(t);return r===""&&o===t?["","",e]:(t=o,[n,r,t])}function z1(e){let t=e.split("'",3);if(t.length!==3)return;let[n,,r]=t,o=n.toLowerCase();if(!o||o!=="us-ascii"&&o!=="utf-8")return;let i=decodeURI(r);if(i)return i}function Q8(e,t){let n=-1;for(let r of e)if(n++,t(r))return n;return-1}function j8(e){return e==null?!1:typeof e[Symbol.iterator]=="function"}function eh(e){return e?Q8(e,q8)<0:!1}function q8(e){return!sne(e)}function sne(e){let t=e.charCodeAt(0);return t>32&&t<127&&!$8(e)}function $8(e){return e[0]?'()<>@,;:\\"/[]?='.includes(e[0]):!1}function e9(e){for(let t of e){let n=t.charCodeAt(0);if((n<ane||n>lne)&&t!==" ")return!0}return!1}var ane,lne,W1=k(()=>{ane=32,lne=126});function hx(e){let[t]=e.split(";"),n=t.toLowerCase().trim(),r={},o=new Map;for(e=e.slice(t.length);e.length&&(e=e.trimStart(),e.length!==0);){let[s,u,p]=Z8(e);if(!s){if(cne.test(p))break;throw new TypeError(`Cannot parse media type: invalid parameter "${e}"`)}let f=r,[g,y]=s.split("*");if(g&&y!==void 0&&(o.has(g)||o.set(g,{}),f=o.get(g)),s in f)throw new TypeError("Cannot parse media type: duplicate key");f[s]=u,e=p}let i="";for(let[s,u]of o){let p=`${s}*`,f=u[p];if(f){let y=z1(f);y&&(r[s]=y);continue}i="";let g=!1;for(let y=0;;y++){let x=`${s}*${y}`,w=u[x];if(w){g=!0,i+=w;continue}let A=`${x}*`;if(w=u[A],!w)break;if(g=!0,y===0){let F=z1(w);F&&(i+=F)}else{let F=decodeURI(w);i+=F}}g&&(r[s]=i)}return[n,Object.keys(r).length?r:void 0]}var cne,gx=k(()=>{W1();cne=/^\s*;\s*$/});var th,t9=k(()=>{th={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/ace+json":{source:"iana",compressible:!0},"application/ace-groupcomm+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/aif+cbor":{source:"iana"},"application/aif+json":{source:"iana",compressible:!0},"application/alto-cdni+json":{source:"iana",compressible:!0},"application/alto-cdnifilter+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-propmap+json":{source:"iana",compressible:!0},"application/alto-propmapparams+json":{source:"iana",compressible:!0},"application/alto-tips+json":{source:"iana",compressible:!0},"application/alto-tipsparams+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/appinstaller":{compressible:!1,extensions:["appinstaller"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/appx":{compressible:!1,extensions:["appx"]},"application/appxbundle":{compressible:!1,extensions:["appxbundle"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/automationml-aml+xml":{source:"iana",compressible:!0,extensions:["aml"]},"application/automationml-amlx+zip":{source:"iana",compressible:!1,extensions:["amlx"]},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/bufr":{source:"iana"},"application/c2pa":{source:"iana"},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/cid-edhoc+cbor-seq":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/concise-problem-details+cbor":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cose-x509":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwl":{source:"iana",extensions:["cwl"]},"application/cwl+json":{source:"iana",compressible:!0},"application/cwl+yaml":{source:"iana"},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dpop+jwt":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"apache",compressible:!0,extensions:["ecma"]},"application/edhoc+cbor-seq":{source:"iana"},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.legacyesn+json":{source:"iana",compressible:!0},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdf":{source:"iana",extensions:["fdf"]},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+json":{source:"iana",compressible:!0},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gnap-binding-jws":{source:"iana"},"application/gnap-binding-jwsd":{source:"iana"},"application/gnap-binding-rotation-jws":{source:"iana"},"application/gnap-binding-rotation-jwsd":{source:"iana"},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/grib":{source:"iana"},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"iana",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"apache",charset:"UTF-8",compressible:!0,extensions:["js"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/jscontact+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jsonpath":{source:"iana"},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/linkset":{source:"iana"},"application/linkset+json":{source:"iana",compressible:!0},"application/load-control+xml":{source:"iana",compressible:!0},"application/logout+jwt":{source:"iana"},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4","mpg4","mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msix":{compressible:!1,extensions:["msix"]},"application/msixbundle":{compressible:!1,extensions:["msixbundle"]},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/ohttp-keys":{source:"iana"},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["sig","asc"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/private-token-issuer-directory":{source:"iana"},"application/private-token-request":{source:"iana"},"application/private-token-response":{source:"iana"},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.implied-document+xml":{source:"iana",compressible:!0},"application/prs.implied-executable":{source:"iana"},"application/prs.implied-object+json":{source:"iana",compressible:!0},"application/prs.implied-object+json-seq":{source:"iana"},"application/prs.implied-object+yaml":{source:"iana"},"application/prs.implied-structure":{source:"iana"},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.vcfbzip2":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0,extensions:["xsf"]},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"apache"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-checklist":{source:"iana"},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-signed-tal":{source:"iana"},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"apache"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana",extensions:["sql"]},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/st2110-41":{source:"iana"},"application/stix+json":{source:"iana",compressible:!0},"application/stratum":{source:"iana"},"application/swid+cbor":{source:"iana"},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tm+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vc":{source:"iana"},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.1ob":{source:"iana"},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3a+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ach+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc8+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.5gsa2x":{source:"iana"},"application/vnd.3gpp.5gsa2x-local-service-information":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.crs+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.current-location-discovery+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-msgstore-ctrl-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-regroup+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-regroup+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-regroup+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.pinapp-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.seal-group-doc+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.seal-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.seal-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.seal-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.seal-network-qos-management-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.seal-ue-config-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.seal-unicast-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.seal-user-profile-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.v2x":{source:"iana"},"application/vnd.3gpp.vae-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acm.addressxfer+json":{source:"iana",compressible:!0},"application/vnd.acm.chatbot+json":{source:"iana",compressible:!0},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"apache",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"apache"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.parquet":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.apexlang":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"apache"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.belightsoft.lhzd+zip":{source:"iana",compressible:!1},"application/vnd.belightsoft.lhzl+zip":{source:"iana",compressible:!1},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.bzip3":{source:"iana"},"application/vnd.c3voc.schedule+xml":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.cncf.helm.chart.content.v1.tar+gzip":{source:"iana"},"application/vnd.cncf.helm.chart.provenance.v1.prov":{source:"iana"},"application/vnd.cncf.helm.config.v1+json":{source:"iana",compressible:!0},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datalog":{source:"iana"},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.eln+zip":{source:"iana",compressible:!1},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.erofs":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"apache",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.freelog.comic":{source:"iana"},"application/vnd.frogans.fnc":{source:"apache",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"apache",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.ga4gh.passport+jwt":{source:"iana"},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.genozip":{source:"iana"},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.gentoo.catmetadata+xml":{source:"iana",compressible:!0},"application/vnd.gentoo.ebuild":{source:"iana"},"application/vnd.gentoo.eclass":{source:"iana"},"application/vnd.gentoo.gpkg":{source:"iana"},"application/vnd.gentoo.manifest":{source:"iana"},"application/vnd.gentoo.pkgmetadata+xml":{source:"iana",compressible:!0},"application/vnd.gentoo.xpak":{source:"iana"},"application/vnd.geo+json":{source:"apache",compressible:!0},"application/vnd.geocube+xml":{source:"apache",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana",extensions:["ggs"]},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.gnu.taler.exchange+json":{source:"iana",compressible:!0},"application/vnd.gnu.taler.merchant+json":{source:"iana",compressible:!0},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"apache",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0,extensions:["xdcf"]},"application/vnd.gpxsee.map+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.hsl":{source:"iana"},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"apache"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"apache",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"apache"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.ipfs.ipns-record":{source:"iana"},"application/vnd.ipld.car":{source:"iana"},"application/vnd.ipld.dag-cbor":{source:"iana"},"application/vnd.ipld.dag-json":{source:"iana"},"application/vnd.ipld.raw":{source:"iana"},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.ldev.productlicensing":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.mdl":{source:"iana"},"application/vnd.mdl-mbsdf":{source:"iana"},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.medicalholodeck.recordxr":{source:"iana"},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mermaid":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.modl":{source:"iana"},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msgpack":{source:"iana"},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.nato.bindingdataobject+cbor":{source:"iana"},"application/vnd.nato.bindingdataobject+json":{source:"iana",compressible:!0},"application/vnd.nato.bindingdataobject+xml":{source:"iana",compressible:!0,extensions:["bdo"]},"application/vnd.nato.openxmlformats-package.iepd+zip":{source:"iana",compressible:!1},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"apache",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oai.workflows":{source:"iana"},"application/vnd.oai.workflows+json":{source:"iana",compressible:!0},"application/vnd.oai.workflows+yaml":{source:"iana"},"application/vnd.oasis.opendocument.base":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"apache",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-master-template":{source:"iana"},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"apache",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"apache",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.onvif.metadata":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.pt.mundusmundi":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0,extensions:["xhtm"]},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.relpipe":{source:"iana"},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.smintio.portals.archive":{source:"iana"},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sybyl.mol2":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml","uo"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.wasmflow.wafl":{source:"iana"},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordlift":{source:"iana"},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xecrets-encrypted":{source:"iana"},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vp":{source:"iana"},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xfdf":{source:"iana",extensions:["xfdf"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yaml":{source:"iana"},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+cbor":{source:"iana"},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yang-sid+json":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana",extensions:["adts","aac"]},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flac":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/matroska":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/midi-clip":{source:"iana"},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"apache"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{source:"iana",compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp","dib"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/dpx":{source:"iana",extensions:["dpx"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/j2c":{source:"iana"},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm","jpgm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxl":{source:"iana",extensions:["jxl"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif","btf"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"iana",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/bhttp":{source:"iana"},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/mls":{source:"iana"},"message/news":{source:"apache"},"message/ohttp-req":{source:"iana"},"message/ohttp-res":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"apache"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"apache"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/jt":{source:"iana",extensions:["jt"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/prc":{source:"iana",extensions:["prc"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/u3d":{source:"iana",extensions:["u3d"]},"model/vnd.bary":{source:"iana",extensions:["bary"]},"model/vnd.cld":{source:"iana",extensions:["cld"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana",extensions:["pyo","pyox"]},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usda":{source:"iana",extensions:["usda"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"apache"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/hl7v2":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["md","markdown"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/prs.texi":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.exchangeable":{source:"iana"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"apache"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.vcf":{source:"iana"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vnd.zoo.kcl":{source:"iana"},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/wgsl":{source:"iana",extensions:["wgsl"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/evc":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/h266":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/matroska":{source:"iana"},"video/matroska-3d":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts","m2t","m2ts","mts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"apache"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var J0,r9,n9,K0=k(()=>{t9();J0=new Map,r9=new Map,n9=["nginx","apache",void 0,"iana"];for(let e of Object.keys(th)){let t=th[e],n=t.extensions;if(!(!n||!n.length)){r9.set(e,n);for(let r of n){let o=J0.get(r);if(o){let i=n9.indexOf(th[o].source),s=n9.indexOf(t.source);if(o!=="application/octet-stream"&&o!=="application/mp4"&&(i>s||i===s&&o.startsWith("application/")))continue}J0.set(r,e)}}}});function o9(e){try{let[t,n]=hx(e);if(n?.charset)return n.charset;let r=th[t];if(r?.charset)return r.charset;if(t.startsWith("text/"))return"UTF-8"}catch{}}var H1=k(()=>{gx();K0()});function i9(e,t){let n="",[r="",o]=e.split("/");if(o){if(!eh(r)||!eh(o))return"";n+=`${r.toLowerCase()}/${o.toLowerCase()}`}else{if(!eh(e))return"";n+=e.toLowerCase()}if(t){t=j8(t)?Object.fromEntries(t):t;let i=Object.keys(t);i.sort();for(let s of i){if(!eh(s))return"";let u=t[s];n+=`; ${s.toLowerCase()}`;let p=e9(u);if(p&&(n+="*"),n+="=",p){n+=`utf-8''${encodeURIComponent(u)}`;continue}if(eh(u)){n+=u;continue}n+=`"${u.replace(/["\\]/gi,f=>`\\${f}`)}"`}}return n}var G1=k(()=>{W1()});function s9(e){return e=e.startsWith(".")?e.slice(1):e,J0.get(e.toLowerCase())}var V1=k(()=>{K0()});function Y1(e){try{let[t,n={}]=e.includes("/")?hx(e):[s9(e),void 0];if(!t)return;if(!("charset"in n)){let r=o9(t);r&&(n.charset=r)}return i9(t,n)}catch{}}var a9=k(()=>{gx();H1();G1();V1()});var X1=k(()=>{gx();K0()});var l9=k(()=>{X1()});var c9=k(()=>{a9();l9();X1();G1();H1();gx();V1()});var une,dne,pne,fne,mne,u9,hne,gne,d9,p9=k(()=>{une=["/health"],dne=["127.0.0.1","::1"],pne={maxRequests:100,windowMs:6e4,message:"Too many requests, please try again later.",skipPaths:une,skipIps:dne,trustProxy:!0},fne=e=>{let t=e.split(".");return t.length!==4?!1:t.every(n=>{let r=Number(n);return Number.isInteger(r)&&r>=0&&r<=255})},mne=e=>/^([0-9a-fA-F]{0,4}:){2,7}[0-9a-fA-F]{0,4}$/.test(e)||e==="::1"||e==="::",u9=e=>fne(e)||mne(e),hne=(e,t=!0)=>{if(t){let n=e.headers.get("x-forwarded-for");if(n!==null){let o=n.split(",")[0];if(o!==void 0){let i=o.trim();if(u9(i))return i}}let r=e.headers.get("x-real-ip");if(r!==null){let o=r.trim();if(u9(o))return o}}return"unknown"},gne=e=>{if(e.maxRequests<=0)throw new Error("maxRequests must be a positive number");if(!Number.isInteger(e.maxRequests))throw new Error("maxRequests must be an integer");if(e.windowMs<=0)throw new Error("windowMs must be a positive number");if(!Number.isFinite(e.windowMs))throw new Error("windowMs must be a finite number")},d9=(e={})=>{let t={...pne,...e};gne(t);let{maxRequests:n,windowMs:r,message:o,skipPaths:i,skipIps:s,keyGenerator:u}=t,p=t.trustProxy,f=new Map,g=null;return(()=>{g===null&&(g=setInterval(()=>{let D=Date.now();for(let[L,U]of f.entries())D>U.resetTime&&f.delete(L)},r))})(),{check:(D,L)=>{if(i?.some(M=>L.startsWith(M)))return null;let U=u?.(D)??hne(D,p);if(s?.includes(U))return null;let Y=`${U}:${L}`,G=Date.now(),W=f.get(Y);if(W===void 0||G>W.resetTime)return W={count:1,resetTime:G+r},f.set(Y,W),null;if(W.count++,W.count>n){let M=Math.ceil((W.resetTime-G)/1e3),ne;try{ne=JSON.stringify({error:"Too Many Requests",message:o,retryAfter:M})}catch{ne=`{"error":"Too Many Requests","retryAfter":${M}}`}return new Response(ne,{status:429,headers:{"Content-Type":"application/json","Retry-After":String(M),"X-RateLimit-Limit":String(n),"X-RateLimit-Remaining":"0","X-RateLimit-Reset":String(Math.ceil(W.resetTime/1e3))}})}return null},getHeaders:(D,L)=>{let U=`${D}:${L}`,Y=f.get(U);return Y===void 0?{"X-RateLimit-Limit":String(n),"X-RateLimit-Remaining":String(n)}:{"X-RateLimit-Limit":String(n),"X-RateLimit-Remaining":String(Math.max(0,n-Y.count)),"X-RateLimit-Reset":String(Math.ceil(Y.resetTime/1e3))}},stop:()=>{g!==null&&(clearInterval(g),g=null),f.clear()},getStoreSize:()=>f.size}}});var g9={};xe(g9,{createHandler:()=>h9,startHTTPServer:()=>bne});function yne(e){let{element:t,moduleMap:n,shellOptions:r}=e,o=new TextEncoder,{readable:i,writable:s}=new TransformStream,u=s.getWriter();return(async()=>{try{let p=V8(r);await u.write(o.encode(p));let f=await mp(t,n,{streamMode:"streaming-classic"});await u.write(o.encode(f.html));let g=jm();await u.write(o.encode(g));let y=f.rscPayload.filter(D=>!(D.value&&typeof D.value=="object"&&D.value.__rsc_pending));if(y.length>0){Js.debug(`Embedding ${y.length} sync RSC chunks inline`);let D=`<script id="__RSC_PAYLOAD__" type="application/json">${JSON.stringify(y).replace(/<\/script/gi,"<\\/script")}</script>
763
- `;await u.write(o.encode(D))}let x=r.chunkManifest?`<script>globalThis.__CHUNK_MANIFEST__ = ${JSON.stringify(r.chunkManifest)};</script>
764
- `:"";await u.write(o.encode(x));let w=r.chunkManifest?.buildId?`?v=${r.chunkManifest.buildId}`:`?v=${Date.now()}`,A=`<script type="module" src="${r.entrypoint??"/client.js"}${w}"></script>
765
- `;await u.write(o.encode(A));let F=Y8(r);await u.write(o.encode(F)),await u.close()}catch(p){Js.error("Streaming optimal error:",p);try{await u.abort(p)}catch{}}})(),new Response(i,{headers:{"Content-Type":"text/html; charset=utf-8","Transfer-Encoding":"chunked"}})}function K1(e,t){let n=new Headers(e.headers);for(let[r,o]of Object.entries(xne))n.has(r)||n.set(r,o);if(t)for(let[r,o]of Object.entries(t))n.set(r,o);return new Response(e.body,{status:e.status,statusText:e.statusText,headers:n})}async function Z1(e,t){try{let n=t.replace(/^\/dist\//,""),r=C.path.resolve(e.distDir,n);if(!r.startsWith(e.distDir))return Js.warn(`Path traversal attempt blocked: ${t}`),new Response("Forbidden",{status:403});let o=await C.fs.stat(r),i=o.mtime?.toUTCString()??new Date().toUTCString(),s=`"${o.size}-${o.mtime?.getTime()??0}"`,u=await C.fs.readFile(r),p=C.path.extname(r),g={"Content-Type":Y1(p)??"application/octet-stream","Cache-Control":m9,"Last-Modified":i,ETag:s};if(p===".js"){let y=`${r}.map`;try{await C.fs.stat(y);let x=C.path.basename(y);g.SourceMap=x}catch{}}return new Response(u,{headers:g})}catch(n){if(n instanceof Nt||n instanceof Error&&n.name==="NotFoundError")return null;throw n}}async function vne(e,t){try{let n=t.replace(/^\//,""),r=C.path.resolve(e.projectRoot,"public",n),o=C.path.resolve(e.projectRoot,"public");if(!r.startsWith(o))return Js.warn(`Path traversal attempt blocked: ${t}`),new Response("Forbidden",{status:403});let i=await C.fs.stat(r),s=i.mtime?.toUTCString()??new Date().toUTCString(),u=`"${i.size}-${i.mtime?.getTime()??0}"`,p=await C.fs.readFile(r),f=C.path.extname(r),g=Y1(f)??"application/octet-stream";return new Response(p,{headers:{"Content-Type":g,"Cache-Control":m9,"Last-Modified":s,ETag:u}})}catch(n){if(n instanceof Nt||n instanceof Error&&n.name==="NotFoundError")return null;throw n}}function h9(e){let t=e.rateLimitConfig!==!1?d9(e.rateLimitConfig??{}):null;return async n=>{let r=new URL(n.url),{pathname:o}=r,{config:i,bundler:s,getApp:u,buildId:p,hmrManager:f,apiHandler:g,middlewareDispatcher:y}=e;Js.debug(`${n.method} ${o}`);let x=async()=>{if(o==="/hmr"&&f){if(n.headers.get("upgrade")!=="websocket")return new Response("Expected WebSocket",{status:426});let{socket:w,response:A}=Deno.upgradeWebSocket(n);return f.handleConnection(w),A}if(t){let w=t.check(n,o);if(w)return K1(w)}if(y){let{result:w,finalPathname:A}=await y.runProxies(n,o);if(w.type==="response")return w.response;if(w.type==="redirect")return Response.redirect(w.url,w.status??302);o=A}if(g){let w=await g.handleRequest(n,o);if(w)return w}if(o==="/"||o==="/index.html")return await f9(n,"/",e);if(o==="/_rsc"&&n.method==="POST"){let w=n.headers.get("RSC-Action");if(w){nh.debug(`RSC Server Action invoked: ${w}`);try{let A=n.headers.get("Content-Type")??"",F;A.includes("multipart/form-data")?F=[await n.formData()]:F=await n.json();let[D,L]=w.split("#");if(!D||!L)return new Response(JSON.stringify({error:"Invalid action ID format"}),{status:400,headers:{"Content-Type":"application/json"}});let U=C.path.resolve(i.distDir,"server",`${D}.js`);nh.debug(`Loading action module: ${U}`);let W=(await import(`file://${U}`))[L];if(typeof W!="function")return nh.error(`Action not found: ${L} in ${D}`),new Response(JSON.stringify({error:`Action not found: ${w}`}),{status:404,headers:{"Content-Type":"application/json"}});let M=await W(...F);return nh.debug(`Action ${w} completed successfully`),new Response(JSON.stringify(M),{headers:{"Content-Type":"application/json","Cache-Control":J1}})}catch(A){return nh.error(`RSC Server Action failed: ${A instanceof Error?A.message:String(A)}`),new Response(JSON.stringify({error:"Server action failed"}),{status:500,headers:{"Content-Type":"application/json"}})}}}if(o==="/rsc"){nh.debug("Rendering RSC payload...");let w=await s.getBundle(),A=r.searchParams.get("pathname")??"/",{Layout:F,Page:D,params:L}=await u(A),U=r.searchParams.get("locale"),Y=n.headers.get("cookie"),G=n.headers.get("host")??"localhost";qm(Y);try{return await Qm(i,rd(F,D,{pathname:A,params:L,requestContext:{cookieHeader:Y,host:G,localeParam:U}}),w.moduleMap)}finally{$m()}}if(o===i.internal.runtimeBundleEndpoint){let w=await s.getBundle();return w.clientCode!==null?(Js.debug("Serving current bundle..."),new Response(w.clientCode,{headers:{"Content-Type":"application/javascript; charset=utf-8","Cache-Control":J1}})):new Response("Not Found",{status:404})}if(o===i.internal.runtimeModuleMapEndpoint){let w=await s.getBundle();return w.clientCode!==null?new Response(JSON.stringify(w.moduleMap,null,2),{headers:{"Content-Type":"application/json; charset=utf-8","Cache-Control":J1}}):new Response("Not Found",{status:404})}if(o.startsWith("/dist/")){let w=await Z1(i,o);if(w)return w}if(o.startsWith("/fonts/")||o.startsWith("/chunk-")||o.startsWith("/_bundle_src/")||o==="/styles.css"||o==="/styles.deferred.css"||o==="/client.js"||o==="/client.js.map"||o.endsWith(".js.map")){let w=`/dist/client${o}`,A=await Z1(i,w);if(A)return A}if(o!=="/"&&!o.startsWith("/dist/")&&!o.startsWith("/rsc")&&!o.startsWith("/action")){let w=await Z1(i,`/dist${o}`);if(w)return w;let A=await vne(i,o);if(A)return A}return o==="/health"?new Response(JSON.stringify({status:"ok",timestamp:Date.now()}),{headers:{"Content-Type":"application/json"}}):await f9(n,o,e)};try{let w=await x();return w.headers.get("upgrade")==="websocket"?w:K1(w)}catch(w){return Js.error(`Server error: ${w instanceof Error?w.message:String(w)}`),K1(new Response(JSON.stringify({error:"Internal Server Error"}),{status:500,headers:{"Content-Type":"application/json"}}))}}}async function f9(e,t,n){let{config:r,bundler:o,getApp:i,buildId:s}=n,u=await o.getBundle(),p=u.chunkManifest;p.buildId=s,p.logLevel=r.logLevel;let f,g;try{let G=C.path.resolve(r.distDir,"client","font-preloads.json"),W=C.path.resolve(r.distDir,"client","fonts.css"),M=await C.fs.readTextFile(G);f=JSON.parse(M),g=await C.fs.readTextFile(W)}catch{Js.debug("Font optimization data not found, using fallback")}let y,x,w;try{let G=C.path.resolve(r.distDir,"client","styles.critical.css");y=await C.fs.readTextFile(G),w="/styles.deferred.css"}catch{Js.debug("Critical page CSS not found, using defaults")}try{let G=C.path.resolve(r.distDir,"client","styles.universal.css");x=await C.fs.readTextFile(G)}catch{Js.debug("Critical universal CSS not found, using defaults")}let A=r.ssr?.mode??"disabled",F=A!=="disabled"&&(A==="always"||A==="production-only"&&!r.mode.isWatch),D,L,U;if(F)try{Js.debug(`SSR rendering page: ${t}`);let{Layout:G,Page:W,params:M}=await i(t),ne=e.headers.get("cookie"),Re=e.headers.get("host")??"localhost";qm(ne);try{let ve=rd(G,W,{pathname:t,params:M,requestContext:{cookieHeader:ne,host:Re}}),re=r.ssr?.streamMode??"streaming-optimal";if(re==="streaming-optimal")return Js.debug(`Using streaming-optimal mode for SSR: ${t}`),yne({element:ve,moduleMap:u.moduleMap,shellOptions:{chunkManifest:p,entrypoint:u.entrypoint,fontPreloads:f,fontCSS:g,criticalPageCSS:y,criticalUniversalCSS:x,deferredCSSPath:w,clientModules:[]}});let me=await mp(ve,u.moduleMap,{streamMode:re});D=me.html,re==="await-all"&&(L=mx(me.rscPayload)),U=me.clientModules,Js.debug(`SSR complete for ${t}: ${D.length} bytes HTML`)}finally{$m()}}catch(G){Js.error(`SSR rendering failed for ${t}, falling back to CSR:`,G),D=void 0,L=void 0,U=void 0}let Y=X8({chunkManifest:p,entrypoint:u.entrypoint,fontPreloads:f,fontCSS:g,criticalPageCSS:y,criticalUniversalCSS:x,deferredCSSPath:w,ssrContent:D,rscPayload:L,clientModules:U});return new Response(Y,{headers:{"Content-Type":"text/html; charset=utf-8"}})}function bne(e,t){let{config:n}=e,r=h9(e);Deno.serve({port:n.server.port,onListen:t??(()=>{})},r)}var Js,nh,m9,J1,xne,y9=k(()=>{rt();V0();J8();ye();c9();p9();_1();Js=fe.getLogger(["laroux-server","server"]),nh=fe.getLogger(["laroux-server","rsc"]);m9="public, no-cache, must-revalidate",J1="no-cache, no-store, must-revalidate",xne={"X-Frame-Options":"DENY","X-Content-Type-Options":"nosniff","X-XSS-Protection":"1; mode=block","Referrer-Policy":"strict-origin-when-cross-origin","Permissions-Policy":"camera=(), microphone=(), geolocation=()"}});var Q1={};xe(Q1,{VALID_LOG_LEVELS:()=>wH,clearRoutesCache:()=>Rne,startServer:()=>Pne});async function Cne(e){let t=wne(e);await Kg.configure({sinks:{console:jg.getConsoleSink({formatter:Qg.ansiColorFormatter()})},loggers:[{category:["laroux-server"],lowestLevel:t,sinks:["console"]},{category:["laroux-bundler"],lowestLevel:t,sinks:["console"]},{category:["laroux"],lowestLevel:t,sinks:["console"]}]}),gp=fe.getLogger(["laroux-server","server"]),yx=fe.getLogger(["laroux-server","bundler"])}function Rne(){Z0=null}async function Tne(e){if(Z0!==null)return Z0;let n=`file://${C.path.join(e.distDir,"server","_generated-routes.ts")}?t=${Date.now()}`,{generatedRoutes:r}=await import(n);return Z0=r,r}async function x9(e,t){let n=C.path.resolve(e.distDir,"server","src","app",`${t}.js`);if(await C.fs.exists(n))return n;for(let r of ki){let o=C.path.resolve(e.distDir,"server","src","app",`${t}.${r}`);if(await C.fs.exists(o))return o}return n}async function v9(e,t){let n=Date.now(),o=`file://${await x9(t,"layout")}?t=${n}`,{Layout:i}=await import(o),s=await Tne(t),u=YA(e,s);if(u===null){let f=`file://${await x9(t,"not-found")}?t=${n}`,{NotFound:g}=await import(f);return{Layout:i,Page:g,params:{}}}return{Layout:i,Page:u.route.component,params:u.params}}async function kne(e){try{let t=C.path.resolve(e.distDir,"client",b9),n=await C.fs.readTextFile(t);return JSON.parse(n).buildId}catch{return"unknown"}}async function Ene(e){try{let t=C.path.resolve(e.distDir,"client",b9),n=await C.fs.stat(t),r=await C.fs.stat(e.srcDir);return n.mtime===null||r.mtime===null?!1:n.mtime>r.mtime}catch{return!1}}function Q0(e){return{projectRoot:e.projectRoot,srcDir:e.srcDir,distDir:e.distDir,logLevel:e.logLevel,fonts:e.fonts,images:e.images,cssModuleTypes:e.cssModuleTypes,noCssModuleAutoReference:e.noCssModuleAutoReference,browserShims:e.browserShims,serverExternals:e.build.serverExternals}}async function Sne(e,t={}){let{config:n,bundler:r,hmrManager:o}=e,{frameworkPlugin:i,cssPlugin:s}=t;try{let A=C.path.resolve(n.distDir,"server","actions-manifest.json");if(await C.fs.exists(A)){let D=await C.fs.readTextFile(A),L=JSON.parse(D),U=Date.now(),Y=0;for(let G of L.actions)try{let W=C.path.resolve(n.distDir,"server",G);await C.fs.exists(W)&&(await import(`file://${W}?t=${U}`),Y++)}catch(W){gp.warn(`Failed to load action ${G}:`,{error:W})}Y>0&&gp.debug(`Server actions loaded: ${Y} file(s)`)}else gp.debug("No actions manifest found (optional)")}catch(A){gp.warn("Failed to load server actions:",{error:A})}await v9("/",n);let u=await kne(n);yx.debug(`Build ID: ${u}`);let f={...e,getApp:A=>v9(A,n),buildId:u},g=await r.getBundle(),y={framework:i,css:s,bundlerBackend:"deno-bundler"};if(g.clientCode!==null&&o!==null){if(i!==void 0){let A=wm(Q0(n),y);oC(A,async F=>{if(r instanceof ky)try{await r.rebuild()}catch(D){yx.error("Compilation failed:",{error:D})}yx.info(`\u2713 Compiled in ${F.duration.toFixed(0)}ms`),o?.notifyUpdate(Date.now(),F.changedFiles)})}}else if(n.mode.isWatch&&i!==void 0){let A=wm(Q0(n),y);oC(A,F=>{yx.info(`\u2713 Compiled in ${F.duration.toFixed(0)}ms`)})}let x="";g.clientCode!==null&&o!==null?x=" HMR":g.clientCode!==null&&(x=" Watch"),gp.info(`RSC Server${x}`),gp.info(` Local: http://localhost:${n.server.port}`);let{startHTTPServer:w}=await Promise.resolve().then(()=>(y9(),g9));return w(f),f}async function Pne(e){let t=e.projectRoot??C.process.cwd(),n=e.logLevel??"info",r=e.mode==="dev",{renderer:o,htmlShell:i,frameworkPlugin:s,cssPlugin:u}=e;await Cne(n);let p=await _A(t),f={...p,srcDir:C.path.resolve(t,p.srcDir),distDir:C.path.resolve(t,p.distDir),publicDir:C.path.resolve(t,p.publicDir),logLevel:n,mode:{isDev:r,isBuild:!1,isServe:!r,isWatch:r}};e.port!==void 0&&(f.server.port=e.port),e.hmr!==void 0?f.server.hmr=e.hmr:r&&(f.server.hmr=!0),e.open!==void 0&&(f.server.open=e.open),r&&(f.build.minify=!1);let g=await Ene(f),y=r||!g,x={framework:s,css:u};if(y&&r&&s!==void 0){let Y=wm(Q0(f),{...x,bundlerBackend:"deno-bundler"});await Cm(Y)}else if(y&&s!==void 0){let Y=wm(Q0(f),{...x,bundlerBackend:"rolldown"});await Cm(Y)}let w,A=null;r&&f.server.hmr?(A=new wC,w=new Rm({distDir:f.distDir})):w=new Rm({distDir:f.distDir});let F=new CC;await F.loadRoutes(f.distDir);let D=new RC;await D.loadProxies(f.distDir),await Sne({config:f,bundler:w,hmrManager:A,apiHandler:F,middlewareDispatcher:D,renderer:o??uH,htmlShell:i??pH},{frameworkPlugin:s,cssPlugin:u}),e.open&&Ane(`http://localhost:${f.server.port}`)}function Ane(e){let t={darwin:["open"],linux:["xdg-open"],windows:["cmd","/c","start"]},n=pa(),r=t[n];r&&r[0]&&C.exec.spawnChild(r[0],[...r.slice(1),e],{stdout:"null",stderr:"null"})}var b9,wne,gp,yx,Z0,j1=k(()=>{rt();ye();Gs();IA();aH();cH();LA();dH();fH();mH();hH();gH();bH();CH();b9="manifest.json",wne=e=>({trace:Le.Debug,debug:Le.Debug,info:Le.Info,warn:Le.Warning,error:Le.Error,fatal:Le.Critical})[e];Z0=null});var w9={};xe(w9,{devHandler:()=>One});var Fne,One,C9=k(()=>{"use strict";Ar();vn();Fne=["trace","debug","info","warn","error","fatal"],One=async e=>{console.log(Ge(`
766
- \u26A1 Starting development server...
767
- `));let t=e.flags.port,n=e.flags["log-level"]??"info",r=!e.flags["no-hmr"],o=e.flags.open??!1,i=Fne.includes(n.toLowerCase())?n.toLowerCase():"info",[{startServer:s},{reactRenderer:u,reactHtmlShellBuilder:p},{reactPlugin:f},{createTailwindPlugin:g}]=await Promise.all([Promise.resolve().then(()=>(j1(),Q1)),Promise.resolve().then(()=>(V0(),U1)),xC().then(()=>yC),Promise.resolve().then(()=>(wy(),tC))]);return await s({mode:"dev",port:t,logLevel:i,hmr:r,open:o,renderer:u,htmlShell:p,frameworkPlugin:f,cssPlugin:g({globalCssPath:"src/app/styles/global.css"})}),Te(void 0)}});var R9={};xe(R9,{serveHandler:()=>Ine});var Mne,Ine,T9=k(()=>{"use strict";Ar();vn();Mne=["trace","debug","info","warn","error","fatal"],Ine=async e=>{console.log(Ge(`
768
- \u{1F680} Serving production build...
769
- `));let t=e.flags.port,n=e.flags["log-level"]??"info",r=Mne.includes(n.toLowerCase())?n.toLowerCase():"info",[{startServer:o},{reactRenderer:i,reactHtmlShellBuilder:s},{reactPlugin:u},{createTailwindPlugin:p}]=await Promise.all([Promise.resolve().then(()=>(j1(),Q1)),Promise.resolve().then(()=>(V0(),U1)),xC().then(()=>yC),Promise.resolve().then(()=>(wy(),tC))]);return await o({mode:"serve",port:t,logLevel:r,hmr:!1,renderer:i,htmlShell:s,frameworkPlugin:u,cssPlugin:p({globalCssPath:"src/app/styles/global.css"})}),Te(void 0)}});var E9={};xe(E9,{initHandler:()=>Dne});var k9,Dne,S9=k(async()=>{"use strict";Ar();vn();await HS();k9=["minimal","blog","dashboard","docs"],Dne=async e=>{let t=e.args[0]??"my-laroux-app",n=e.flags.template??"minimal";if(!k9.includes(n))return ke({message:`${at(`
770
- Error: Invalid template "${n}"`)}
771
- Available templates: ${k9.join(", ")}`,exitCode:1});console.log(Ge(`
772
- \u2728 Creating new laroux.js project in ./${t}
773
- `)),console.log(Ie(` Template: ${n}`));let r=`gh:eser/laroux-template-${n}`,o=e.flags.force??!1,i=e.flags["no-install"]??!1,s=e.flags["no-git"]??!1;console.log(Ie(` Fetching from ${r}...
774
- `));let u=await eg(()=>im({specifier:r,targetDir:t,force:o,skipPostInstall:i||s,interactive:!0}),f=>({message:f.message}));if(u._tag==="Fail")return ke({message:at(`
775
- Scaffolding failed: ${u.error.message}`),exitCode:1});let p=u.value;if(console.log(Ln(`
776
- \u{1F389} Project created successfully!`)),Object.keys(p.variables).length>0){console.log(`
777
- Variables applied:`);for(let[f,g]of Object.entries(p.variables))console.log(` ${Ie(f)}: ${g}`)}return console.log(`
778
- ${_c("Next steps:")}
779
-
780
- cd ${t}
781
- eser laroux dev
782
-
783
- Then open ${Ge("http://localhost:8000")} in your browser.
784
-
785
- ${Ie("Learn more at https://laroux.now/")}
786
- `),Te(void 0)}});var P9={};xe(P9,{larouxCommand:()=>Une});var _ne,Lne,Nne,Bne,Une,A9=k(()=>{"use strict";xb();_ne=async e=>{let{buildHandler:t}=await Promise.resolve().then(()=>(iH(),oH));return await t(e)},Lne=async e=>{let{devHandler:t}=await Promise.resolve().then(()=>(C9(),w9));return await t(e)},Nne=async e=>{let{serveHandler:t}=await Promise.resolve().then(()=>(T9(),R9));return await t(e)},Bne=async e=>{let{initHandler:t}=await S9().then(()=>E9);return await t(e)},Une=new ri("laroux").description("laroux.js framework commands").command(new ri("init").description("Create a new laroux.js project").flag({name:"template",short:"t",type:"string",description:"Project template (minimal, blog, dashboard, docs)",default:"minimal"}).flag({name:"force",short:"f",type:"boolean",description:"Overwrite existing files"}).flag({name:"no-git",type:"boolean",description:"Skip git initialization"}).flag({name:"no-install",type:"boolean",description:"Skip dependency installation"}).run(Bne)).command(new ri("dev").description("Start development server with hot reload").flag({name:"port",short:"p",type:"number",description:"Server port",default:8e3}).flag({name:"no-hmr",type:"boolean",description:"Disable hot module replacement"}).flag({name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}).flag({name:"open",short:"o",type:"boolean",description:"Open browser automatically"}).run(Lne)).command(new ri("build").description("Build for production").flag({name:"out-dir",type:"string",description:"Output directory",default:"dist"}).flag({name:"clean",type:"boolean",description:"Clean output directory first"}).flag({name:"no-minify",type:"boolean",description:"Disable minification"}).flag({name:"analyze",type:"boolean",description:"Analyze bundle size"}).flag({name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}).run(_ne)).command(new ri("serve").description("Serve production build locally").flag({name:"port",short:"p",type:"number",description:"Server port",default:8e3}).flag({name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}).run(Nne))});var q1,cc,F9,O9,yp,M9,uc,I9=k(()=>{"use strict";ye();q1=()=>C.env.get("HOME")??"",cc=()=>{let e=C.env.get("SHELL")??"";return e.includes("zsh")?"zsh":e.includes("fish")?"fish":"bash"},F9=e=>{let t=q1();switch(e){case"zsh":return C.path.join(t,".zshrc");case"bash":return C.path.join(t,".bashrc");case"fish":return C.path.join(t,".config","fish","config.fish")}},O9=(e,t)=>{let n=q1();switch(e){case"zsh":return C.path.join(n,".zshrc");case"bash":return C.path.join(n,".bashrc");case"fish":return C.path.join(n,".config","fish","completions",`${t}.fish`)}},yp=(e,t)=>`eval "$(${t} system completions --shell ${e})"`,M9=e=>e==="fish"?"file":"eval",uc=(e,t="eser")=>{let n=e??cc(),r=M9(n);return{shell:n,rcFile:F9(n),completionType:r,completionsFile:r==="file"?O9(n,t):void 0}}});var xx=k(()=>{I9()});var D9,rh,eO,_9,tO,nO,L9,rO=k(()=>{"use strict";Ar();ye();xx();xx();D9="# eser CLI completions",rh="eser",eO=async e=>{try{return await C.fs.readTextFile(e)}catch{return""}},_9=async e=>{try{return await C.fs.stat(e),!0}catch{return!1}},tO=async e=>{let t=uc(e,rh);if(t.completionType==="file")return await _9(t.completionsFile);let n=await eO(t.rcFile),r=yp(e,rh);return n.includes(r)},nO=async e=>{let t=uc(e,rh);try{if(t.completionType==="file"){let n=t.completionsFile,r=C.path.dirname(n);try{await C.fs.mkdir(r,{recursive:!0})}catch{}await C.fs.writeTextFile(n,`# eser CLI completions
787
- # This file is auto-generated. Run 'eser system completions --shell fish' to regenerate.
788
- complete -c eser -f
789
- complete -c eser -n "__fish_use_subcommand" -a "codebase" -d "Codebase management tools"
790
- complete -c eser -n "__fish_use_subcommand" -a "system" -d "Commands related with this CLI"
791
- complete -c eser -n "__fish_use_subcommand" -a "install" -d "Install eser CLI globally"
792
- complete -c eser -n "__fish_use_subcommand" -a "update" -d "Update eser CLI to latest version"
793
- complete -c eser -n "__fish_seen_subcommand_from system" -a "install" -d "Install eser CLI globally"
794
- complete -c eser -n "__fish_seen_subcommand_from system" -a "uninstall" -d "Uninstall eser CLI globally"
795
- complete -c eser -n "__fish_seen_subcommand_from system" -a "update" -d "Update eser CLI to latest version"
796
- complete -c eser -n "__fish_seen_subcommand_from system" -a "completions" -d "Generate shell completion scripts"
797
- `),console.log(` ${Ie("Created")} ${Ge(n)}`)}else{let n=await eO(t.rcFile),r=yp(e,rh);if(!n.includes(r)){let o=`
798
- ${D9}
799
- ${r}
800
- `;await C.fs.writeTextFile(t.rcFile,n+o),console.log(` ${Ie("Added completions to")} ${Ge(t.rcFile)}`)}}}catch(n){console.log(ma(` Warning: Could not add shell completions: ${n instanceof Error?n.message:String(n)}`))}},L9=async e=>{let t=uc(e,rh);try{if(t.completionType==="file"){let n=t.completionsFile;await _9(n)&&(await C.fs.remove(n),console.log(` ${Ie("Removed")} ${Ge(n)}`))}else{let n=await eO(t.rcFile);if(n==="")return;let r=yp(e,rh);if(!n.includes(r))return;let o=n.split(`
801
- `).filter(i=>!i.includes("eser system completions")).filter(i=>i!==D9).join(`
802
- `).replace(/\n{3,}/g,`
803
-
804
- `);await C.fs.writeTextFile(t.rcFile,o),console.log(` ${Ie("Removed completions from")} ${Ge(t.rcFile)}`)}}catch(n){console.log(ma(` Warning: Could not remove shell completions: ${n instanceof Error?n.message:String(n)}`))}}});var zne,N9,Wne,Hne,j0,B9=k(()=>{"use strict";Ar();ye();vn();zs();xx();rO();zne={command:"eser",devCommand:"deno task cli",npmPackage:"eser",jsrPackage:"@eser/cli"},N9={deno:{cmd:"deno",args:["install","-r","-g","-A","--name","eser","jsr:@eser/cli"]},node:{cmd:"npm",args:["install","-g","-f","eser"]},bun:{cmd:"bun",args:["install","-g","-f","eser"]}},Wne=async()=>{let e=C,t=bu(),n=e.path.join(t,".local","bin");try{return await e.fs.stat(n),n}catch{}return"/usr/local/bin"},Hne=async()=>{let e=C,t=e.process.execPath(),n=await Wne(),r=e.path.join(n,"eser");console.log(`Install method: ${Ge("compiled binary")}`),console.log(Ie(`Copying to ${r}...`));try{await e.fs.copyFile(t,r),await e.fs.chmod(r,493)}catch(s){if(s instanceof Deno.errors.PermissionDenied)return console.error(at(`
805
- Permission denied writing to ${n}.
806
- Try: sudo eser install`)),ke({exitCode:1});throw s}console.log(Ln(`
807
- Installation complete!`)),console.log(`You can now use ${Ge("eser")} from anywhere in your terminal.`);let o=cc();if(!await tO(o)){console.log(`
808
- Setting up ${Ge(o)} completions...`),await nO(o);let s=uc(o);s.completionType==="eval"&&console.log(Ie(` Restart your shell or run 'source ${s.rcFile}' to enable completions.`))}return Te(void 0)},j0=async e=>{let t=await Ru(zne);if(t.invoker==="binary")return await Hne();console.log(`Detected runtime: ${Ge(t.runtime)}`);let n=N9[t.runtime]??N9.node,{cmd:r,args:o}=n;console.log(Ie(`Running: ${r} ${o.join(" ")}`)),console.log("");let i=await pt`${r} ${o}`.stdout("inherit").stderr("inherit").noThrow().spawn();if(!i.success)return console.error(at(`
809
- Installation failed.`)),ke({exitCode:i.code});console.log(Ln(`
810
- Installation complete!`)),console.log(`You can now use ${Ge("eser")} from anywhere in your terminal.`);let s=cc();if(!await tO(s)){console.log(`
811
- Setting up ${Ge(s)} completions...`),await nO(s);let p=uc(s);p.completionType==="eval"&&console.log(Ie(` Restart your shell or run 'source ${p.rcFile}' to enable completions.`))}return Te(void 0)}});var Gne,q0,U9=k(()=>{"use strict";Ar();ye();vn();zs();rO();Gne={deno:{cmd:"deno",args:["uninstall","-g","eser"]},node:{cmd:"npm",args:["uninstall","-g","eser"]},bun:{cmd:"bun",args:["remove","-g","eser"]}},q0=async e=>{let t=da();console.log(`Detected runtime: ${Ge(t)}`);let n=Gne[t];if(n===void 0)return ke({message:`${at(`
812
- Unsupported runtime: ${t}`)}
813
- Global uninstallation is only supported for Deno, Node.js, and Bun.`,exitCode:1});let{cmd:r,args:o}=n,i=cc();console.log(`
814
- Removing ${Ge(i)} completions...`),await L9(i),console.log(Ie(`
815
- Running: ${r} ${o.join(" ")}`)),console.log("");let s=await pt`${r} ${o}`.stdout("inherit").stderr("inherit").noThrow().spawn();return s.success?(console.log(Ln(`
816
- Uninstallation complete!`)),console.log(`The ${Ge("eser")} command has been removed from your system.`),Te(void 0)):(console.error(at(`
817
- Uninstallation failed.`)),ke({exitCode:s.code}))}});var dc,vx=k(()=>{dc={name:"@eser/cli",version:"4.1.12",type:"module",exports:"./main.ts",bin:{eser:"./bin.ts"},dependencies:{"@eser/codebase":"workspace:*","@eser/functions":"workspace:*","@eser/laroux-bundler":"workspace:*","@eser/laroux-server":"workspace:*","@eser/logging":"workspace:*","@eser/shell":"workspace:*","@eser/standards":"workspace:*","@std/cli":"npm:@jsr/std__cli@^1.0.25","@std/fmt":"npm:@jsr/std__fmt@^1.0.8"},devDependencies:{esbuild:"^0.27.3"}}});var z9,Yne,Xne,Jne,W9,Kne,Zne,Qne,jne,oh,$0=k(()=>{"use strict";ye();vx();z9=".cache/eser",Yne="latest-version.json",Xne=24*60*60*1e3,Jne="https://api.github.com/repos/eser/stack/releases/latest",W9=()=>{let e=bu();return C.path.join(e,z9,Yne)},Kne=()=>{let e=bu();return C.path.join(e,z9)},Zne=async()=>{let e=C;try{let t=W9();if(!await e.fs.exists(t))return;let r=await e.fs.readTextFile(t),o=JSON.parse(r);return typeof o.latestVersion!="string"||typeof o.checkedAt!="number"?void 0:o}catch{return}},Qne=async e=>{let t=C;try{let n=Kne();await t.fs.ensureDir(n);let r=W9(),o={latestVersion:e,checkedAt:Date.now()};await t.fs.writeTextFile(r,JSON.stringify(o))}catch{}},jne=async()=>{try{let e=await fetch(Jne,{headers:{Accept:"application/vnd.github.v3+json"}});if(!e.ok)return;let n=(await e.json()).tag_name;return typeof n!="string"?void 0:n.startsWith("v")?n.slice(1):n}catch{return}},oh=async()=>{try{let e=dc.version,t=await Zne();if(t!==void 0&&Date.now()-t.checkedAt<Xne)return{latestVersion:t.latestVersion,currentVersion:e,updateAvailable:t.latestVersion!==e};let n=await jne();return n===void 0?void 0:(await Qne(n),{latestVersion:n,currentVersion:e,updateAvailable:n!==e})}catch{return}}});var qne,H9,$ne,ere,tre,eR,G9=k(()=>{"use strict";Ar();ye();vn();zs();$0();vx();qne={command:"eser",devCommand:"deno task cli",npmPackage:"eser",jsrPackage:"@eser/cli"},H9={deno:{cmd:"deno",args:["install","-r","-g","-A","-f","--name","eser","jsr:@eser/cli"]},node:{cmd:"npm",args:["update","-g","-f","eser"]},bun:{cmd:"bun",args:["update","-g","-f","eser"]}},$ne={"linux-amd64":"x86_64-unknown-linux-gnu","linux-arm64":"aarch64-unknown-linux-gnu","darwin-amd64":"x86_64-apple-darwin","darwin-arm64":"aarch64-apple-darwin","windows-amd64":"x86_64-pc-windows-msvc"},ere=()=>{let e=pa(),t=Rf(),n=`${e}-${t}`;return $ne[n]},tre=async()=>{let e=C;console.log(`Install method: ${Ge("compiled binary")}`),console.log(`Current version: ${Ge(dc.version)}
818
- `),console.log("Checking for updates...");let t=await oh();if(t===void 0)return console.error(at("Could not check for updates.")),ke({exitCode:1});if(!t.updateAvailable)return console.log(Ln(`
819
- Already up to date (v${dc.version}).`)),Te(void 0);console.log(`
820
- New version available: ${Ge(`v${t.latestVersion}`)}`);let n=ere();if(n===void 0){let y=pa(),x=Rf();return console.error(at(`
821
- Unsupported platform: ${y}-${x}`)),ke({exitCode:1})}let r=`v${t.latestVersion}`,o=pa()==="windows",s=`eser-${r}-${n}.${o?"zip":"tar.gz"}`,u=`https://github.com/eser/stack/releases/download/${r}`;console.log(Ie(`Downloading ${s}...`));let p=await fetch(`${u}/${s}`);if(!p.ok)return console.error(at(`
822
- Failed to download: HTTP ${p.status}`)),ke({exitCode:1});let f=await fetch(`${u}/SHA256SUMS.txt`);if(f.ok){let x=(await f.text()).split(`
823
- `).find(w=>w.includes(s));if(x!==void 0){let w=x.split(/\s+/)[0],A=new Uint8Array(await p.clone().arrayBuffer()),F=await crypto.subtle.digest("SHA-256",A);if(Array.from(new Uint8Array(F)).map(L=>L.toString(16).padStart(2,"0")).join("")!==w)return console.error(at(`
824
- SHA256 checksum verification failed.`)),ke({exitCode:1});console.log(Ie("Checksum verified."))}}let g=await e.fs.makeTempDir({prefix:"eser-update-"});try{let y=e.path.join(g,s),x=new Uint8Array(await p.arrayBuffer());await e.fs.writeFile(y,x),o?await pt`powershell -Command "Expand-Archive -Path ${y} -DestinationPath ${g}"`.spawn():await pt`tar -xzf ${y} -C ${g}`.spawn();let w=o?e.path.join(g,"eser.exe"):e.path.join(g,"eser"),A=e.process.execPath();if(o){let F=A.replace(/\.exe$/i,".new.exe");await e.fs.copyFile(w,F),console.log(Ln(`
825
- Downloaded v${t.latestVersion}!`)),console.log(`
826
- To complete the update, close this terminal and rename:
827
- ${Ge(F)}
828
- to:
829
- ${Ge(A)}`)}else{let F=`${A}.new`;await e.fs.copyFile(w,F),await e.fs.chmod(F,493),await e.fs.rename(F,A),console.log(Ln(`
830
- Updated to v${t.latestVersion}!`))}}catch(y){if(y instanceof Deno.errors.PermissionDenied)return console.error(at(`
831
- Permission denied. Try running with sudo:
832
- sudo eser update`)),ke({exitCode:1});throw y}finally{try{await e.fs.remove(g,{recursive:!0})}catch{}}return Te(void 0)},eR=async e=>{let t=await Ru(qne);if(t.invoker==="binary")return await tre();console.log(`Detected runtime: ${Ge(t.runtime)}`);let n=H9[t.runtime]??H9.node,{cmd:r,args:o}=n;console.log(Ie(`Running: ${r} ${o.join(" ")}`)),console.log("");let i=await pt`${r} ${o}`.stdout("inherit").stderr("inherit").noThrow().spawn();return i.success?(console.log(Ln(`
833
- Update complete!`)),console.log(`The ${Ge("eser")} command has been updated to the latest version.`),Te(void 0)):(console.error(at(`
834
- Update failed.`)),ke({exitCode:i.code}))}});var nre,tR,V9=k(()=>{"use strict";Ar();vn();xx();nre=e=>{let t=uc(e,"eser");if(t.completionType==="file")return`
835
- To install, run:
836
-
837
- ${Ie(`eser system completions --shell fish > ${t.completionsFile}`)}
838
- `;let n=yp(e,"eser");return`
839
- To install, add the following to your ${Ge(t.rcFile)}:
840
-
841
- ${Ie(n)}
842
- `},tR=e=>{let t=e.flags.shell,n;if(t!==void 0){if(!["bash","zsh","fish"].includes(t))return ke({message:`${at(`Invalid shell: ${t}`)}
843
- Supported shells: bash, zsh, fish`,exitCode:1});n=t}else n=cc();let o=e.root.completions(n);return t===void 0&&(console.log(`Generating ${Ge(n)} completions...`),console.log(nre(n)),console.log(Ie(`--- Completion script ---
844
- `))),console.log(o),Te(void 0)}});var rre,nR,Y9=k(()=>{"use strict";Ar();vn();$0();vx();rre=200,nR=async e=>{if(e.flags.bare===!0)return console.log(dc.version),Te(void 0);console.log(`eser ${dc.version}`);try{let t=new Promise(r=>{setTimeout(()=>r(void 0),rre)}),n=await Promise.race([oh(),t]);n!==void 0&&n.updateAvailable&&console.log(Ie(` Update available: v${n.latestVersion} \u2014 run 'eser update'`))}catch{}return Te(void 0)}});var ore,rR,ih,pc,X9,ire,J9,sre,K9,are,lre,cre,ure,dre,oR,Z9=k(()=>{"use strict";vn();zs();Ar();ye();$0();vx();ore={command:"eser",devCommand:"deno task cli",npmPackage:"eser",jsrPackage:"@eser/cli"},rR=17,ih=(e,t)=>{let n=`${e}:`.padEnd(rR);console.log(` ${n}${Ln("\u2713")} ${t}`)},pc=(e,t)=>{let n=`${e}:`.padEnd(rR);console.log(` ${n}${at("\u2717")} ${t}`)},X9=(e,t)=>{let n=`${e}:`.padEnd(rR);console.log(` ${n}${t}`)},ire=(e,t)=>{let n=`${e}:`.padEnd(rR);console.log(` ${n}${Ie("-")} ${t}`)},J9=async e=>{try{return await C.fs.stat(e),!0}catch{return!1}},sre=async e=>{try{return await C.fs.readTextFile(e)}catch{return""}},K9=(e,t)=>e.match(t)?.[1],are=async()=>{let e=C.path.join(".",".git","hooks","pre-commit");if(!await J9(e)){pc("Git hooks","Not installed");return}(await sre(e)).includes("eser")?ih("Git hooks","Installed"):pc("Git hooks","Not installed")},lre=async()=>{let e=C.path.join(".",".manifest.yml");await J9(e)?ih("Manifest",".manifest.yml found"):pc("Manifest",".manifest.yml not found")},cre=async()=>{try{let e=await pt`deno --version`.noThrow().quiet().text(),t=K9(e,/deno\s+(\S+)/);t!==void 0?ih("Deno",t):pc("Deno","Not found")}catch{pc("Deno","Not found")}},ure=async()=>{try{let e=await pt`go version`.noThrow().quiet().text(),t=K9(e,/go(\d+\.\d+(?:\.\d+)?)/);t!==void 0?ih("Go",t):pc("Go","Not found")}catch{pc("Go","Not found")}},dre=async()=>{try{let t=(await pt`node --version`.noThrow().quiet().text()).trim();t.length>0?ih("Node",t):pc("Node","Not found")}catch{pc("Node","Not found")}},oR=async e=>{console.log(`eser doctor
845
- `);let t=await Ru(ore);X9("Install method",`${t.invoker} (${t.mode})`),X9("Version",dc.version);let n=await oh();return n===void 0?ire("Update","Could not check for updates"):n.updateAvailable?pc("Update",`Update available: v${n.latestVersion}`):ih("Update","Up to date"),console.log(""),await are(),await lre(),console.log(""),await cre(),await ure(),await dre(),Te(void 0)}});var bx={};xe(bx,{completionsHandler:()=>tR,doctorHandler:()=>oR,installHandler:()=>j0,uninstallHandler:()=>q0,updateHandler:()=>eR,versionHandler:()=>nR});var sh=k(()=>{"use strict";B9();U9();G9();V9();Y9();Z9()});var Q9={};xe(Q9,{systemCommand:()=>pre});var pre,j9=k(()=>{"use strict";xb();sh();pre=new ri("system").description("Commands related with this CLI").command(new ri("install").description("Install eser CLI globally").run(j0)).command(new ri("uninstall").description("Uninstall eser CLI globally").run(q0)).command(new ri("update").description("Update eser CLI to the latest version").run(eR)).command(new ri("completions").description("Generate shell completion scripts").flag({name:"shell",type:"string",description:"Shell type: bash, zsh, or fish"}).run(tR)).command(new ri("version").description("Show version and check for updates").flag({name:"bare",type:"boolean",description:"Print version number only"}).run(nR)).command(new ri("doctor").description("Run diagnostic checks").run(oR))});Ri();vn();ye();Cg();vn();var am={workflows:{description:"Workflow engine \u2014 run tool pipelines",modules:{run:{description:"Run workflows by event or id",load:async()=>{let[e,t]=await Promise.all([Promise.resolve().then(()=>(LD(),_D)),IS().then(()=>MS)]),n=t.getWorkflowTools();return{main:r=>e.main(r,{tools:n})}}},list:{description:"List available workflows and tools",load:async()=>{let[e,t]=await Promise.all([Promise.resolve().then(()=>(DN(),IN)),IS().then(()=>MS)]),n=t.getWorkflowTools();return{main:r=>e.main(r,{tools:n})}}}}},codebase:{description:"Codebase management tools",modules:{scaffolding:{description:"Initialize project from template",category:"Setup",load:()=>HS().then(()=>WS)},install:{description:"Install git hooks from .manifest.yml",category:"Setup",load:()=>gw().then(()=>hw)},uninstall:{description:"Remove managed git hooks",category:"Setup",load:async()=>({main:(await gw().then(()=>hw)).uninstallMain})},status:{description:"Show git hook installation status",category:"Setup",load:async()=>({main:(await gw().then(()=>hw)).statusMain})},gh:{description:"GitHub operations (contributors, releases, tags)",category:"GitHub",load:()=>OB().then(()=>FB)},versions:{description:"Manage workspace package versions",category:"Release",load:()=>sm().then(()=>XS)},"changelog-gen":{description:"Generate CHANGELOG from commits",category:"Release",load:()=>KS().then(()=>JS)},release:{description:"Create a release (bump, changelog, commit, push)",category:"Release",load:()=>Rw().then(()=>Cw)},rerelease:{description:"Delete and recreate the current version tag",category:"Release",load:async()=>({main:(await Rw().then(()=>Cw)).rereleaseMain})},unrelease:{description:"Delete the current version tag",category:"Release",load:async()=>({main:(await Rw().then(()=>Cw)).unreleaseMain})},"validate-eof":{description:"Ensure files end with newline",category:"Validation",load:()=>DE().then(()=>IE)},"validate-trailing-whitespace":{description:"Remove trailing whitespace",category:"Validation",load:()=>NE().then(()=>LE)},"validate-bom":{description:"Remove UTF-8 byte order markers",category:"Validation",load:()=>zE().then(()=>UE)},"validate-line-endings":{description:"Normalize line endings to LF",category:"Validation",load:()=>GE().then(()=>HE)},"validate-large-files":{description:"Detect files exceeding size limit",category:"Validation",load:()=>XE().then(()=>YE)},"validate-case-conflict":{description:"Detect case-conflicting filenames",category:"Validation",load:()=>ZE().then(()=>KE)},"validate-merge-conflict":{description:"Detect merge conflict markers",category:"Validation",load:()=>qE().then(()=>jE)},"validate-json":{description:"Validate JSON syntax",category:"Validation",load:()=>tS().then(()=>eS)},"validate-toml":{description:"Validate TOML syntax",category:"Validation",load:()=>oS().then(()=>rS)},"validate-yaml":{description:"Validate YAML syntax",category:"Validation",load:()=>aS().then(()=>sS)},"validate-symlinks":{description:"Detect broken symlinks",category:"Validation",load:()=>uS().then(()=>cS)},"validate-shebangs":{description:"Validate shebang consistency",category:"Validation",load:()=>fS().then(()=>pS)},"validate-secrets":{description:"Detect credentials and private keys",category:"Validation",load:()=>gS().then(()=>hS)},"validate-filenames":{description:"Enforce filename conventions",category:"Validation",load:()=>vS().then(()=>xS)},"validate-submodules":{description:"Detect git submodules",category:"Validation",load:()=>CS().then(()=>wS)},"validate-commit-msg":{description:"Validate conventional commit format",category:"Validation",load:()=>AS().then(()=>PS)},"validate-docs":{description:"Validate JSDoc documentation",category:"Validation",load:()=>kE().then(()=>xL)},"validate-circular-deps":{description:"Detect circular dependencies",category:"Validation",load:()=>eE().then(()=>n2)},"validate-export-names":{description:"Validate export naming conventions",category:"Validation",load:()=>RE().then(()=>fL)},"validate-licenses":{description:"Validate license headers",category:"Validation",load:()=>SS().then(()=>ES)},"validate-mod-exports":{description:"Validate mod.ts export coverage",category:"Validation",load:()=>vE().then(()=>cL)},"validate-package-configs":{description:"Validate package configurations",category:"Validation",load:()=>PE().then(()=>xN)}},aliases:{init:"scaffolding"}}};var ZS=e=>{let t=am[e];if(t===void 0)return;console.log(`eser ${e} - ${t.description}
846
- `),console.log(`Usage: eser ${e} <module> [options]
847
- `);let n=new Map;for(let[r,o]of Object.entries(t.modules)){let i=o.category??"Modules",s=n.get(i)??[];s.push([r,o]),n.set(i,s)}for(let[r,o]of n){console.log(`${r}:`);for(let[i,s]of o)console.log(` ${i.padEnd(24)} ${s.description}`);console.log()}if(t.aliases!==void 0&&Object.keys(t.aliases).length>0){console.log(`
848
- Aliases:`);for(let[r,o]of Object.entries(t.aliases))console.log(` ${r.padEnd(24)} \u2192 ${o}`)}console.log(`
849
- Run 'eser ${e} <module> --help' for module-specific help.`)},e3=async(e,t,n)=>{let r=am[e];if(r===void 0)return ke({message:`Unknown package: ${e}`,exitCode:1});let o=r.aliases?.[t]??t,i=r.modules[o];return i===void 0?(console.error(`Unknown module: ${e} ${t}
850
- `),ZS(e),ke({exitCode:1})):await(await i.load()).main(n)};zs();vn();Ar();ye();var Tw=(e,t)=>typeof t=="string"?{command:t,description:e,workingDirectory:void 0,depends:[]}:{command:t.command,description:t.description??e,workingDirectory:t.workingDirectory,depends:t.depends??[]},n3=(e,t,n=new Set,r=new Set)=>{if(r.has(e))return[];if(n.has(e))throw new Error(`Circular dependency detected: ${e} depends on itself (cycle in dependency chain)`);let o=t[e];if(o===void 0)throw new Error(`Unknown script dependency: "${e}"`);n.add(e);let i=Tw(e,o),s=[];for(let u of i.depends){let p=n3(u,t,n,r);for(let f of p)r.has(f)||(s.push(f),r.add(f))}return r.add(e),s},EK=()=>{let e=new URL("./main.ts",import.meta.url),t=e.protocol==="file:"?e.pathname:e.href;return`${C.process.execPath()} run --allow-all ${t}`},SK=e=>{if(e==="eser"||e.startsWith("eser ")){let t=e.slice(4);return`${EK()}${t}`}return e},t3=async(e,t,n)=>{let r=SK(e),o=n!==void 0&&n.length>0?`${r} ${n.join(" ")}`:r,i=t??".";return(await new nc("sh",["-c",o]).cwd(i).stdout("inherit").stderr("inherit").noThrow().spawn()).code},r3=async(e,t,n,r)=>{let o=n3(e,n);for(let u of o){let p=Tw(u,n[u]);console.log(Ie(`$ ${u}`));let f=await t3(p.command,p.workingDirectory);if(f!==0)return console.error(at(`Script dependency "${u}" failed with exit code ${f}`)),ke({exitCode:f})}let i=Tw(e,n[e]);console.log(Ie(`$ ${e}`));let s=await t3(i.command,i.workingDirectory,r);return s!==0?ke({exitCode:s}):Te(void 0)},o3=e=>{console.log("Scripts:");for(let[t,n]of Object.entries(e)){let r=Tw(t,n);console.log(` ${t.padEnd(20)} ${Ie(r.description)}`)}console.log()};var q9=e=>async(t,n)=>await e.parse(t),iR=(e,t)=>async(n,r)=>{let o=wt(n,{boolean:["bare","help"],string:["shell"],alias:{h:"help"}}),i={name:"eser",completions:()=>"",help:()=>""};return await e({args:o._,flags:o,root:i,commandPath:["eser",t]})},$9={laroux:async()=>{let{larouxCommand:e}=await Promise.resolve().then(()=>(A9(),P9));return q9(e)},system:async()=>{let{systemCommand:e}=await Promise.resolve().then(()=>(j9(),Q9));return q9(e)},install:async()=>{let{installHandler:e}=await Promise.resolve().then(()=>(sh(),bx));return iR(e,"install")},update:async()=>{let{updateHandler:e}=await Promise.resolve().then(()=>(sh(),bx));return iR(e,"update")},version:async()=>{let{versionHandler:e}=await Promise.resolve().then(()=>(sh(),bx));return iR(e,"version")},doctor:async()=>{let{doctorHandler:e}=await Promise.resolve().then(()=>(sh(),bx));return iR(e,"doctor")}},e5=async()=>{console.log(`eser - Eser's swiss-army-knife tooling for your terminal
851
- `),console.log(`Usage: eser <command> [subcommand] [options]
852
- `),console.log("Commands:");for(let[n,r]of Object.entries(am))console.log(` ${n.padEnd(14)} ${r.description}`);console.log(" laroux laroux.js framework commands (init, dev, build, serve)"),console.log(" system Commands related with this CLI"),console.log(" install Install eser CLI globally (alias for system install)"),console.log(" update Update eser CLI to latest version (alias for system update)"),console.log(" version Show version number"),console.log(" doctor Run diagnostic checks");let t=(await tc("."))?.scripts;t!=null&&typeof t=="object"&&(console.log(),o3(t)),console.log(`
853
- Options:`),console.log(" -h, --help Show this help message"),console.log(`
854
- Run 'eser <command> --help' for command-specific help.`)},fre=async()=>{let e=wt(C.process.args,{boolean:["help","bare"],alias:{h:"help"},stopEarly:!0}),t=e._[0];if(t===void 0)return await e5(),Te(void 0);if(t in am){let o=e._[1];if(o===void 0||o==="--help"||o==="-h"||e.help===!0)return ZS(t),Te(void 0);let i=e._.slice(2);return await e3(t,o,i)}if(t in $9){let o=$9[t];return await(await o())(e._.slice(1),e)}let r=(await tc("."))?.scripts;if(r!=null&&typeof r=="object"){let o=r;if(t in o){let i=o[t],s=e._.slice(1);return await r3(t,i,o,s)}}return console.error(`Unknown command: ${t}`),console.log(""),await e5(),ke({exitCode:1})};if(import.meta.main){let e=await fre();Cf(e,{ok:()=>{},fail:t=>{t.message!==void 0&&console.error(t.message),C.process.setExitCode(t.exitCode)}})}export{fre as main};
855
- /*! Bundled license information:
856
-
857
- react/cjs/react.production.js:
858
- (**
859
- * @license React
860
- * react.production.js
861
- *
862
- * Copyright (c) Meta Platforms, Inc. and affiliates.
863
- *
864
- * This source code is licensed under the MIT license found in the
865
- * LICENSE file in the root directory of this source tree.
866
- *)
867
-
868
- react/cjs/react.development.js:
869
- (**
870
- * @license React
871
- * react.development.js
872
- *
873
- * Copyright (c) Meta Platforms, Inc. and affiliates.
874
- *
875
- * This source code is licensed under the MIT license found in the
876
- * LICENSE file in the root directory of this source tree.
877
- *)
878
-
879
- react-dom/cjs/react-dom.production.js:
880
- (**
881
- * @license React
882
- * react-dom.production.js
883
- *
884
- * Copyright (c) Meta Platforms, Inc. and affiliates.
885
- *
886
- * This source code is licensed under the MIT license found in the
887
- * LICENSE file in the root directory of this source tree.
888
- *)
889
-
890
- react-dom/cjs/react-dom.development.js:
891
- (**
892
- * @license React
893
- * react-dom.development.js
894
- *
895
- * Copyright (c) Meta Platforms, Inc. and affiliates.
896
- *
897
- * This source code is licensed under the MIT license found in the
898
- * LICENSE file in the root directory of this source tree.
899
- *)
900
-
901
- react-dom/cjs/react-dom-server-legacy.node.production.js:
902
- (**
903
- * @license React
904
- * react-dom-server-legacy.node.production.js
905
- *
906
- * Copyright (c) Meta Platforms, Inc. and affiliates.
907
- *
908
- * This source code is licensed under the MIT license found in the
909
- * LICENSE file in the root directory of this source tree.
910
- *)
911
-
912
- react-dom/cjs/react-dom-server.node.production.js:
913
- (**
914
- * @license React
915
- * react-dom-server.node.production.js
916
- *
917
- * Copyright (c) Meta Platforms, Inc. and affiliates.
918
- *
919
- * This source code is licensed under the MIT license found in the
920
- * LICENSE file in the root directory of this source tree.
921
- *)
922
-
923
- react-dom/cjs/react-dom-server-legacy.node.development.js:
924
- (**
925
- * @license React
926
- * react-dom-server-legacy.node.development.js
927
- *
928
- * Copyright (c) Meta Platforms, Inc. and affiliates.
929
- *
930
- * This source code is licensed under the MIT license found in the
931
- * LICENSE file in the root directory of this source tree.
932
- *)
933
-
934
- react-dom/cjs/react-dom-server.node.development.js:
935
- (**
936
- * @license React
937
- * react-dom-server.node.development.js
938
- *
939
- * Copyright (c) Meta Platforms, Inc. and affiliates.
940
- *
941
- * This source code is licensed under the MIT license found in the
942
- * LICENSE file in the root directory of this source tree.
943
- *)
944
- */
2
+ import{a as u}from"./chunks/chunk-4HNB3UTC.js";import{a as m}from"./chunks/chunk-5O7V5P53.js";import"./chunks/chunk-ZOZYBQX2.js";import{a as o}from"./chunks/chunk-DRQWYJMH.js";import{b as a}from"./chunks/chunk-WE7PSSAQ.js";import"./chunks/chunk-HPPFA3XU.js";import{b as d,e as c}from"./chunks/chunk-DQAEQEXD.js";import{t as p}from"./chunks/chunk-GRTR6TNJ.js";import"./chunks/chunk-Z7742D7Q.js";import"./chunks/chunk-VTQ72OK7.js";import"./chunks/chunk-QXTK62N4.js";import"./chunks/chunk-DXB73IDG.js";var g=new o({description:"Kit \u2014 recipes, templates, project creation",modules:{add:{description:"Add a recipe to your project",category:"Distribution",load:()=>import("./chunks/add-4LRHVBEC.js")},list:{description:"Browse available recipes and templates",category:"Distribution",load:()=>import("./chunks/list-MN7OUE52.js")},new:{description:"Create a new project from a template",category:"Distribution",load:()=>import("./chunks/new-W5YBJFGW.js")},clone:{description:"Clone a recipe from any GitHub repo",category:"Distribution",load:()=>import("./chunks/clone-DASXIL35.js")},update:{description:"Re-fetch and update an applied recipe",category:"Distribution",load:()=>import("./chunks/update-QD5S73WT.js")}},aliases:{create:"new"}});var f=new o({description:"Codebase management tools",modules:{scaffolding:{description:"Initialize project from template",category:"Setup",load:()=>import("./chunks/mod-STKIZYZ3.js")},install:{description:"Install git hooks from .manifest.yml",category:"Setup",load:()=>import("./chunks/install-Q2KQZM62.js")},uninstall:{description:"Remove managed git hooks",category:"Setup",load:async()=>({main:(await import("./chunks/install-Q2KQZM62.js")).uninstallMain})},status:{description:"Show git hook installation status",category:"Setup",load:async()=>({main:(await import("./chunks/install-Q2KQZM62.js")).statusMain})},commitmsg:{description:"Generate commit message from git diff",category:"AI",load:()=>import("./chunks/commitmsg-SQRQONCS.js")},gh:{description:"GitHub operations (contributors, releases, tags)",category:"GitHub",load:()=>import("./chunks/gh-Y4BXDXR5.js")},versions:{description:"Manage workspace package versions",category:"Release",load:()=>import("./chunks/versions-CWT5S7G4.js")},"changelog-gen":{description:"Generate CHANGELOG from commits",category:"Release",load:()=>import("./chunks/changelog-gen-ZCNNOY7G.js")},release:{description:"Create a release (bump, changelog, commit, push)",category:"Release",load:()=>import("./chunks/release-YJOLKWDT.js")},rerelease:{description:"Delete and recreate the current version tag",category:"Release",load:async()=>({main:(await import("./chunks/release-YJOLKWDT.js")).rereleaseMain})},unrelease:{description:"Delete the current version tag",category:"Release",load:async()=>({main:(await import("./chunks/release-YJOLKWDT.js")).unreleaseMain})},"validate-eof":{description:"Ensure files end with newline",category:"Validation",load:()=>import("./chunks/validate-eof-ZSIYNHO5.js")},"validate-trailing-whitespace":{description:"Remove trailing whitespace",category:"Validation",load:()=>import("./chunks/validate-trailing-whitespace-HXO7M3ED.js")},"validate-bom":{description:"Remove UTF-8 byte order markers",category:"Validation",load:()=>import("./chunks/validate-bom-IVALGNGE.js")},"validate-line-endings":{description:"Normalize line endings to LF",category:"Validation",load:()=>import("./chunks/validate-line-endings-C6NHWHGI.js")},"validate-large-files":{description:"Detect files exceeding size limit",category:"Validation",load:()=>import("./chunks/validate-large-files-MWWSFDOE.js")},"validate-case-conflict":{description:"Detect case-conflicting filenames",category:"Validation",load:()=>import("./chunks/validate-case-conflict-LKECKLD5.js")},"validate-merge-conflict":{description:"Detect merge conflict markers",category:"Validation",load:()=>import("./chunks/validate-merge-conflict-KTBL4FUY.js")},"validate-json":{description:"Validate JSON syntax",category:"Validation",load:()=>import("./chunks/validate-json-YRCFW2O7.js")},"validate-toml":{description:"Validate TOML syntax",category:"Validation",load:()=>import("./chunks/validate-toml-7H2N5AKI.js")},"validate-yaml":{description:"Validate YAML syntax",category:"Validation",load:()=>import("./chunks/validate-yaml-ZJJCQVBB.js")},"validate-symlinks":{description:"Detect broken symlinks",category:"Validation",load:()=>import("./chunks/validate-symlinks-R2PNE5TG.js")},"validate-shebangs":{description:"Validate shebang consistency",category:"Validation",load:()=>import("./chunks/validate-shebangs-3UO4MDMZ.js")},"validate-secrets":{description:"Detect credentials and private keys",category:"Validation",load:()=>import("./chunks/validate-secrets-UFDJ7ITY.js")},"validate-filenames":{description:"Enforce filename conventions",category:"Validation",load:()=>import("./chunks/validate-filenames-G4XJ2LHN.js")},"validate-submodules":{description:"Detect git submodules",category:"Validation",load:()=>import("./chunks/validate-submodules-YA654D3B.js")},"validate-commit-msg":{description:"Validate conventional commit format",category:"Validation",load:()=>import("./chunks/validate-commit-msg-77CBKGOF.js")},"validate-docs":{description:"Validate JSDoc documentation",category:"Validation",load:()=>import("./chunks/validate-docs-3UGB7LN7.js")},"validate-circular-deps":{description:"Detect circular dependencies",category:"Validation",load:()=>import("./chunks/validate-circular-deps-PXFPCBXA.js")},"validate-export-names":{description:"Validate export naming conventions",category:"Validation",load:()=>import("./chunks/validate-export-names-BPSCBX7B.js")},"validate-licenses":{description:"Validate license headers",category:"Validation",load:()=>import("./chunks/validate-licenses-Q2YA2MND.js")},"validate-mod-exports":{description:"Validate mod.ts export coverage",category:"Validation",load:()=>import("./chunks/validate-mod-exports-LQIIQRIS.js")},"validate-package-configs":{description:"Validate package configurations",category:"Validation",load:()=>import("./chunks/validate-package-configs-36PYXIWC.js")}},aliases:{init:"scaffolding"}});var l=e=>new o({description:"Workflow engine \u2014 run tool pipelines",modules:{run:{description:"Run workflows by event or id",load:async()=>{let t=await import("./chunks/run-7JXDS75G.js");return{main:r=>t.main(r,{tools:e??[]})}}},list:{description:"List available workflows and tools",load:async()=>{let t=await import("./chunks/list-B7L4FZKG.js");return{main:r=>t.main(r,{tools:e??[]})}}}}}),R=l();var y=new o({description:"noskills \u2014 state-machine orchestrator for AI agents",modules:{init:{description:"Initialize noskills in project",load:()=>import("./chunks/init-GXBXQGGV.js")},status:{description:"Show current state",load:()=>import("./chunks/status-HK3P6J6G.js")},spec:{description:"Manage specs (new, list)",load:()=>import("./chunks/spec-5446CSQC.js")},next:{description:"Get next instruction for agent",load:()=>import("./chunks/next-773GX25N.js")},approve:{description:"Approve phase transition",load:()=>import("./chunks/approve-364KOMLB.js")},block:{description:"Mark spec as blocked",load:()=>import("./chunks/block-JVJQU723.js")},reset:{description:"Reset current spec state",load:()=>import("./chunks/reset-5LQGIOGB.js")},sync:{description:"Regenerate tool-specific files",load:()=>import("./chunks/sync-4FSA5257.js")},rule:{description:"Manage rules (add, list, promote)",load:()=>import("./chunks/rule-K42YEAMO.js")}}});var w=new o({description:"laroux.js framework commands",modules:{init:{description:"Create a new laroux.js project",load:()=>import("./chunks/init-UFJL24PW.js"),flags:[{name:"template",short:"t",type:"string",description:"Project template (minimal, blog, dashboard, docs)",default:"minimal"},{name:"force",short:"f",type:"boolean",description:"Overwrite existing files"},{name:"no-git",type:"boolean",description:"Skip git initialization"},{name:"no-install",type:"boolean",description:"Skip dependency installation"}]},dev:{description:"Start development server with hot reload",load:()=>import("./chunks/dev-FLO2KEPZ.js"),flags:[{name:"port",short:"p",type:"number",description:"Server port",default:8e3},{name:"no-hmr",type:"boolean",description:"Disable hot module replacement"},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"},{name:"open",short:"o",type:"boolean",description:"Open browser automatically"}]},build:{description:"Build for production",load:()=>import("./chunks/build-VKOO2WEA.js"),flags:[{name:"out-dir",type:"string",description:"Output directory",default:"dist"},{name:"clean",type:"boolean",description:"Clean output directory first"},{name:"no-minify",type:"boolean",description:"Disable minification"},{name:"analyze",type:"boolean",description:"Analyze bundle size"},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}]},serve:{description:"Serve production build locally",load:()=>import("./chunks/serve-U6IXMGXQ.js"),flags:[{name:"port",short:"p",type:"number",description:"Server port",default:8e3},{name:"log-level",type:"string",description:"Log level (debug, info, warn, error)",default:"info"}]}}});var i=new o({description:"Terminal client for Eser's work"});i.addSubmodule({name:"ai"},m);i.addSubmodule({name:"kit"},g);i.addSubmodule({name:"codebase",aliases:["cb","."]},f);await i.addSubmoduleAsync({name:"workflows",aliases:["wf"]},(async()=>{let{getWorkflowTools:e}=await import("./chunks/mod-QODEWK3G.js");return l(e())})());i.addSubmodule({name:"noskills",aliases:["nos"]},y);i.addSubmodule({name:"laroux"},w);var k=i.toCommand("eser",u.version).lazyCommand("system",{description:"Commands related with this CLI",load:async()=>(await import("./chunks/system-KWFBSQYQ.js")).systemCommand}).lazyCommand("install",{description:"Install eser CLI globally (alias for system install)",load:async()=>{let e=await import("./chunks/mod-7X3BOO5H.js");return new a("install").run(e.installHandler)}}).lazyCommand("update",{description:"Update eser CLI to latest version (alias for system update)",load:async()=>{let e=await import("./chunks/mod-7X3BOO5H.js");return new a("update").run(e.updateHandler)}}).lazyCommand("version",{description:"Show version number",load:async()=>{let e=await import("./chunks/mod-7X3BOO5H.js");return new a("version").flag({name:"bare",type:"boolean",description:"Print raw version only"}).run(e.versionHandler)}}).lazyCommand("doctor",{description:"Run diagnostic checks",load:async()=>{let e=await import("./chunks/mod-7X3BOO5H.js");return new a("doctor").run(e.doctorHandler)}}).fallback(async(e,t)=>{let n=(await(await import("./chunks/manifest-VJQJG2LS.js")).loadManifest("."))?.scripts;if(n!=null&&typeof n=="object"){let s=n;if(e in s){let b=s[e],{runScript:v}=await import("./chunks/scripts-RSK5XDRW.js");return await v(e,b,s,t)}}return console.error(`Unknown subcommand "${e}"`),d({exitCode:1})}),h=async()=>await k.parse();if(import.meta.main){let e=await h();c(e,{ok:()=>{},fail:t=>{t.message!==void 0&&console.error(t.message),p.process.setExitCode(t.exitCode)}})}export{h as main};