eser 4.1.13 → 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 -986
  191. package/package.json +1 -1
package/eser.js CHANGED
@@ -1,987 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var J5=Object.create;var dT=Object.defineProperty;var K5=Object.getOwnPropertyDescriptor;var Z5=Object.getOwnPropertyNames;var Q5=Object.getPrototypeOf,j5=Object.prototype.hasOwnProperty;var vu=(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 xl=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ve=(e,t)=>{for(var n in t)dT(e,n,{get:t[n],enumerable:!0})},q5=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Z5(t))!j5.call(e,o)&&o!==n&&dT(e,o,{get:()=>t[o],enumerable:!(r=K5(t,o))||r.enumerable});return e};var pT=(e,t,n)=>(n=e!=null?J5(Q5(e)):{},q5(t||!e||!e.__esModule?dT(n,"default",{value:e,enumerable:!0}):n,e));function FO(e){return sG.test(e)&&Number.isFinite(Number(e))}function OO(e,t){return t==="constructor"&&typeof e[t]=="function"||t==="__proto__"}function kf(e,t,n,r=!1){t=[...t];let o=t.pop();for(let i of t){if(OO(e,i))return;e=e[i]??={}}if(!OO(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 fT(e,t){for(let n of t){let r=e[n];if(!Object.hasOwn(e,n))return!1;e=r}return!0}function MO(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 IO(e){return e==="true"||e==="false"}function mT(e){return e!=="false"}function Xe(e,t){let{"--":n=!1,alias:r={},boolean:o=!1,default:i={},stopEarly:s=!1,string:u=[],collect:d=[],negatable:f=[],unknown:h=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(Ee=>y.set(Ee,new Set([W,...ne.filter(Ce=>Ce!==Ee)])))}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(d){let W=Array.isArray(d)?d:[d];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 N(W,M,ne,Ee){if(!x.has(W)&&!w.has(W)&&!y.has(W)&&!A.has(W)&&!(D&&oG.test(ne))&&h?.(ne,W,M)===!1)return;typeof M=="string"&&!w.has(W)&&(M=FO(M)?Number(M):M);let Ce=Ee&&A.has(W);kf(L,W.split("."),M,Ce),y.get(W)?.forEach(re=>{kf(L,re.split("."),M,Ce)})}let Y=[],H=e.indexOf("--");H!==-1&&(Y=e.slice(H+1),e=e.slice(0,H));e:for(let W=0;W<e.length;W++){let M=e[W],ne=M.match($5)?.groups;if(ne){let{doubleDash:Ee,negated:Ce}=ne,re=ne.key,me=ne.value;if(Ee){if(me!=null){x.has(re)&&(me=mT(me)),N(re,me,M,!0);continue}if(Ce){if(F.has(re)){N(re,!1,M,!1);continue}re=`no-${re}`}let be=e[W+1];if(be){if(!x.has(re)&&!D&&!be.startsWith("-")&&(!y.has(re)||!MO(y,x,re))){me=be,W++,N(re,me,M,!0);continue}if(IO(be)){me=mT(be),W++,N(re,me,M,!0);continue}}me=w.has(re)?"":!0,N(re,me,M,!0);continue}let ce=M.slice(1,-1).split("");for(let[be,Oe]of ce.entries()){let st=M.slice(be+2);if(st==="-"){N(Oe,st,M,!0);continue}if(st==="="){N(Oe,"",M,!0);continue e}if(eG.test(Oe)){let Ke=rG.exec(st)?.groups;if(Ke){N(Oe,Ke.value,M,!0);continue e}if(tG.test(st)){N(Oe,st,M,!0);continue e}}if(ce[be+1]?.match(iG)){N(Oe,M.slice(be+2),M,!0);continue e}N(Oe,w.has(Oe)?"":!0,M,!0)}if(re=M.slice(-1),re==="-")continue;let ke=e[W+1];if(ke){if(!nG.test(ke)&&!x.has(re)&&(!y.has(re)||!MO(y,x,re))){N(re,ke,M,!0),W++;continue}if(IO(ke)){let be=mT(ke);N(re,be,M,!0),W++;continue}}N(re,w.has(re)?"":!0,M,!0);continue}if(h?.(M)!==!1&&L._.push(w.has("_")||!FO(M)?M:Number(M)),s){L._.push(...e.slice(W+1));break}}for(let[W,M]of Object.entries(i)){let ne=W.split(".");fT(L,ne)||(kf(L,ne,M),y.get(W)?.forEach(Ee=>kf(L,Ee.split("."),M)))}for(let W of x.keys()){let M=W.split(".");if(!fT(L,M)){let ne=A.has(W)?[]:!1;kf(L,M,ne)}}for(let W of w.keys()){let M=W.split(".");!fT(L,M)&&A.has(W)&&kf(L,M,[])}return n?L["--"]=Y:L._.push(...Y),L}var $5,eG,tG,nG,rG,oG,iG,sG,Gr=k(()=>{$5=/^(?:-(?:(?<doubleDash>-)(?<negated>no-)?)?)(?<key>.+?)(?:=(?<value>.*))?$/s,eG=/[A-Za-z]/,tG=/-?\d+(\.\d*)?(e-?\d+)?$/,nG=/^(-|--)[^-]/,rG=/=(?<value>.+)/,oG=/^--[^=]+$/,iG=/\W/,sG=/\S/});var K={};ve(K,{all:()=>vG,any:()=>bG,fail:()=>he,flatMap:()=>lG,flatMapError:()=>dG,flatMapErrorW:()=>pG,flatMapW:()=>cG,fromPromise:()=>yG,getOrElse:()=>fG,getOrNull:()=>gG,getOrThrow:()=>mG,getOrUndefined:()=>hG,isFail:()=>oi,isOk:()=>ri,map:()=>aG,mapError:()=>uG,match:()=>Ef,ok:()=>ge,tap:()=>CG,tapError:()=>RG,toPromise:()=>xG,tryCatch:()=>wG,tryCatchAsync:()=>Sf});var ge,he,ri,oi,aG,lG,cG,uG,dG,pG,fG,mG,gG,hG,Ef,yG,xG,vG,bG,wG,Sf,CG,RG,Dt=k(()=>{ge=e=>({_tag:"Ok",value:e,*[Symbol.iterator](){return yield this}}),he=e=>({_tag:"Fail",error:e,*[Symbol.iterator](){return yield this}}),ri=e=>e._tag==="Ok",oi=e=>e._tag==="Fail",aG=(e,t)=>ri(e)?ge(t(e.value)):e,lG=(e,t)=>ri(e)?t(e.value):e,cG=(e,t)=>ri(e)?t(e.value):e,uG=(e,t)=>oi(e)?he(t(e.error)):e,dG=(e,t)=>oi(e)?t(e.error):e,pG=(e,t)=>oi(e)?t(e.error):e,fG=(e,t)=>ri(e)?e.value:typeof t=="function"?t(e.error):t,mG=e=>{if(ri(e))return e.value;throw e.error instanceof Error?e.error:new Error(String(e.error))},gG=e=>ri(e)?e.value:null,hG=e=>ri(e)?e.value:void 0,Ef=(e,t)=>ri(e)?t.ok(e.value):t.fail(e.error),yG=async(e,t=n=>n)=>{try{return ge(await e)}catch(n){return he(t(n))}},xG=e=>ri(e)?Promise.resolve(e.value):Promise.reject(e.error instanceof Error?e.error:new Error(String(e.error))),vG=e=>{let t=[];for(let n of e){if(oi(n))return n;t.push(n.value)}return ge(t)},bG=e=>{let t=[];for(let n of e){if(ri(n))return n;t.push(n.error)}return he(t)},wG=(e,t=n=>n)=>{try{return ge(e())}catch(n){return he(t(n))}},Sf=async(e,t=n=>n)=>{try{return ge(await e())}catch(n){return he(t(n))}},CG=(e,t)=>(ri(e)&&t(e.value),e),RG=(e,t)=>(oi(e)&&t(e.error),e)});var gn,Ut,zv,ql,bu=k(()=>{"use strict";gn=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}},Ut=class extends Error{path;constructor(t){super(`No such file or directory: ${t}`),this.name="NotFoundError",this.path=t}},zv=class extends Error{path;constructor(t){super(`File or directory already exists: ${t}`),this.name="AlreadyExistsError",this.path=t}},ql=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 Us,TG,kG,pa,EG,DO,Wv,_O,SG,LO,NO,Hv=k(()=>{"use strict";Us=globalThis,TG=()=>typeof Us.caches<"u"&&typeof Us.Request<"u"&&typeof Us.Response<"u"&&typeof Us.window>"u"&&typeof Us.document>"u",kG=()=>typeof Us.window<"u"||typeof Us.document<"u",pa=()=>{if(typeof globalThis>"u")return"unknown";if(typeof Us.Bun<"u")return"bun";if(typeof Us.Deno<"u")return"deno";let e=Us.process;return e?.versions?.node&&!e?.versions?.bun?"node":TG()?"workerd":kG()?"browser":"unknown"},EG={deno:()=>Us.Deno?.version?.deno??"unknown",bun:()=>Us.Bun?.version??"unknown",node:()=>Us.process?.versions?.node??"unknown",workerd:()=>"unknown",browser:()=>Us.navigator?.userAgent??"unknown",unknown:()=>"unknown"},DO=()=>EG[pa()](),Wv=e=>pa()===e,_O=()=>pa()==="browser",SG=new Set(["deno","node","bun"]),LO=()=>SG.has(pa()),NO=()=>pa()==="workerd"});var AG,gT,hT,yT,xT,BO=k(()=>{"use strict";AG=e=>{if(typeof Deno<"u"&&Deno.env?.get)return Deno.env.get(e);let t=globalThis.process;if(t?.env)return t.env[e]},gT=(...e)=>{for(let t of e){let n=AG(t);if(n!==void 0)return n}},hT=e=>{try{let t=globalThis.require;if(t instanceof Function)return t(e)}catch{}},yT=()=>globalThis.process,xT=()=>globalThis.navigator});var UO,fa,zO,Pf,wu,vT,WO,bT=k(()=>{"use strict";BO();UO={darwin:"darwin",linux:"linux",windows:"windows",win32:"windows"},fa=()=>{if(typeof Deno<"u"&&Deno.build?.os)return UO[Deno.build.os]??"linux";let e=yT();if(e?.platform)return UO[e.platform]??"linux";let t=xT();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"},zO={x86_64:"amd64",x64:"amd64",aarch64:"arm64",arm64:"arm64"},Pf=()=>{if(typeof Deno<"u"&&Deno.build?.arch)return zO[Deno.build.arch]??"amd64";let e=yT();if(e?.arch)return zO[e.arch]??"amd64";let t=xT();if(t?.userAgent){let n=t.userAgent.toLowerCase();if(n.includes("arm64")||n.includes("aarch64"))return"arm64"}return"amd64"},wu=()=>{let e=gT("HOME","USERPROFILE");if(e)return e;let t=hT("os");return t?.homedir?t.homedir():fa()==="windows"?"C:\\Users\\Default":"/home"},vT=()=>{let e=gT("TMPDIR","TMP","TEMP");if(e)return e;let t=hT("os");return t?.tmpdir?t.tmpdir():fa()==="windows"?"C:\\Windows\\Temp":"/tmp"},WO=()=>({platform:fa(),arch:Pf(),homedir:wu(),tmpdir:vT()})});var HO,OG,Af,$l,MG,wT,GO,CT,VO,RT,YO,IG,DG,_G,Cu,ah=k(()=>{"use strict";HO="/",OG=":",Af=e=>e.replace(/\\/g,"/").replace(/\/+/g,"/"),$l=e=>Af(e),MG=(...e)=>{if(e.length===0)return".";let t=e.filter(n=>n.length>0).join(HO);return t.length===0?".":RT(t)},wT=(...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=YO(o))}return t=Af(t),t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),RT(t)??"."},GO=e=>{if(e.length===0)return".";for(e=Af(e);e.length>1&&e.endsWith("/");)e=e.slice(0,-1);let t=e.lastIndexOf("/");return t===-1?".":t===0?"/":e.slice(0,t)},CT=(e,t)=>{if(e.length===0)return"";for(e=Af(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},VO=e=>{let t=CT(e),n=t.lastIndexOf(".");return n<=0||n===t.length-1?"":t.slice(n)},RT=e=>{if(e.length===0)return".";e=Af(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??"."},YO=e=>e.length===0?!1:!!(e.startsWith("/")||e.length>=3&&/^[a-zA-Z]:[/\\]/.test(e)),IG=(e,t)=>{if(e===t||(e=wT(e),t=wT(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("/")??"."},DG=e=>{if(e.length===0)return{root:"",dir:"",base:"",ext:"",name:""};e=Af(e);let t="",n="",r=CT(e),o=VO(e),i=o?r.slice(0,-o.length):r;return e.startsWith("/")?t="/":/^[a-zA-Z]:[/\\]/.test(e)&&(t=e.slice(0,3)),n=GO(e),n==="."&&(n=""),{root:t,dir:n,base:r,ext:o,name:i}},_G=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}`},Cu={join:MG,resolve:wT,dirname:GO,basename:CT,extname:VO,normalize:RT,isAbsolute:YO,relative:IG,parse:DG,format:_G,sep:HO,delimiter:OG}});var TT,XO=k(()=>{"use strict";we();TT=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 kT,ET,ST,Ru,JO,Tu,KO=k(()=>{"use strict";Hv();bT();we();kT=(e,t)=>{let n=t==="windows"?";":":";return e.split(n).filter(r=>r.length>0)},ET=(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"}},ST=(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,Ru=async e=>{let t=fa(),n=t==="windows"?`${e}.exe`:e,r=C.env.get("PATH")??"",o=kT(r,t);for(let i of o)try{return await C.fs.stat(C.path.join(i,n)),!0}catch{continue}return!1},JO=async e=>await Ru(e.command)?e.command:await Ru("npx")?`npx ${e.npmPackage}`:await Ru("pnpx")?`pnpx ${e.npmPackage}`:await Ru("bunx")?`bunx ${e.npmPackage}`:await Ru("deno")?`deno run --allow-all jsr:${e.jsrPackage}`:e.command,Tu=async e=>{let t=import.meta.filename===void 0,n=pa(),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}=ET(o,n,t,r,i),d=t?"compiled":["deno","node","bun"].includes(n)?n:"deno",f=ST(s,u,e),h=await Ru(e.command);return{runtime:d,mode:u,invoker:s,command:f,isInPath:h}}});var LG,NG,BG,UG,Hd,zG,ZO,QO,WG,jO,PT=k(()=>{"use strict";bu();ah();LG={fs:!1,fsSync:!1,exec:!1,process:!1,env:!0,stdin:!1,stdout:!1,kv:!0},NG=()=>{let e=()=>{throw new gn("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 gn("fs","workerd")},copyFile:e,rename:e,makeTempDir:e,realPath:e,watch:e,walk:e,chmod:e}},BG=()=>Cu,UG=()=>{let e=()=>{throw new gn("exec","workerd")};return{spawn:e,exec:e,execJson:e,spawnChild:e}},Hd=new Map,zG=()=>({get(e){return Hd.get(e)},set(e,t){Hd.set(e,t)},delete(e){Hd.delete(e)},has(e){return Hd.has(e)},toObject(){return Object.fromEntries(Hd)}}),ZO=e=>{for(let[t,n]of Object.entries(e))n!=null&&n.constructor===String&&Hd.set(t,n)},QO=()=>{Hd.clear()},WG=()=>{let e=()=>{throw new gn("process","workerd")};return{exit:e,setExitCode:e,cwd:e,chdir:e,hostname:e,execPath:e,get args(){throw new gn("process","workerd")},get pid(){throw new gn("process","workerd")},get stdin(){throw new gn("process","workerd")},get stdout(){throw new gn("process","workerd")},get stderr(){throw new gn("process","workerd")}}},jO=()=>{let e=NG(),t=BG(),n=UG(),r=zG(),o=WG();return{name:"workerd",version:"unknown",capabilities:LG,fs:e,path:t,exec:n,env:r,process:o}}});function qO(){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 $O=k(()=>{});var Ct,Vr=k(()=>{$O();Ct=qO()});function jt(e){if(typeof e!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(e)}"`)}var ji=k(()=>{});function Gv(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 Vv(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 Yv(e,t){if(jt(e),e.length===0)return e;if(typeof t!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(t)}"`)}var AT=k(()=>{ji()});function Xv(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 FT=k(()=>{});function Ba(e){return e=Xv(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}var Gd=k(()=>{FT()});function ec(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 Ff=k(()=>{});var qi=k(()=>{});function Xt(e){return e===47}var Dc=k(()=>{qi()});function eM(e,t=""){e instanceof URL&&(e=Ba(e)),Yv(e,t);let n=Vv(e,Xt),r=ec(n,Xt);return t?Gv(r,t):r}var tM=k(()=>{AT();Gd();Ff();Dc()});function nM(e){return e===47}function We(e){return e===47||e===92}function $i(e){return e>=97&&e<=122||e>=65&&e<=90}var tc=k(()=>{qi()});function za(e){e=Xv(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 Vd=k(()=>{FT()});function rM(e,t=""){e instanceof URL&&(e=za(e)),Yv(e,t);let n=0;if(e.length>=2){let i=e.charCodeAt(0);$i(i)&&e.charCodeAt(1)===58&&(n=2)}let r=Vv(e,We,n),o=ec(r,We);return t?Gv(o,t):o}var oM=k(()=>{AT();qi();Ff();tc();Vd()});function Mf(e,t=""){return Ct?rM(e,t):eM(e,t)}var Jv=k(()=>{Vr();tM();oM()});var iM,lh,ch=k(()=>{Vr();iM=Ct?";":":",lh=Ct?"\\":"/"});function Kv(e){if(jt(e),e.length===0)return"."}var OT=k(()=>{ji()});function sM(e){e instanceof URL&&(e=Ba(e)),Kv(e);let t=-1,n=!1;for(let r=e.length-1;r>=1;--r)if(Xt(e.charCodeAt(r))){if(n){t=r;break}}else n=!0;return t===-1?Xt(e.charCodeAt(0))?"/":".":ec(e.slice(0,t),Xt)}var aM=k(()=>{OT();Ff();Dc();Gd()});function lM(e){e instanceof URL&&(e=za(e)),Kv(e);let t=e.length,n=-1,r=-1,o=!0,i=0,s=e.charCodeAt(0);if(t>1)if(We(s)){if(n=i=1,We(e.charCodeAt(1))){let u=2,d=u;for(;u<t&&!We(e.charCodeAt(u));++u);if(u<t&&u!==d){for(d=u;u<t&&We(e.charCodeAt(u));++u);if(u<t&&u!==d){for(d=u;u<t&&!We(e.charCodeAt(u));++u);if(u===t)return e;u!==d&&(n=i=u+1)}}}}else $i(s)&&e.charCodeAt(1)===58&&(n=i=2,t>2&&We(e.charCodeAt(2))&&(n=i=3));else if(We(s))return e;for(let u=t-1;u>=i;--u)if(We(e.charCodeAt(u))){if(!o){r=u;break}}else o=!1;if(r===-1){if(n===-1)return".";r=n}return ec(e.slice(0,r),nM)}var cM=k(()=>{OT();qi();Ff();tc();Vd()});function uh(e){return Ct?lM(e):sM(e)}var dh=k(()=>{Vr();aM();cM()});function uM(e){e instanceof URL&&(e=Ba(e)),jt(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(Xt(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 dM=k(()=>{qi();ji();Dc();Gd()});function pM(e){e instanceof URL&&(e=za(e)),jt(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 d=e.charCodeAt(u);if(We(d)){if(!i){r=u+1;break}continue}o===-1&&(i=!1,o=u+1),d===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 fM=k(()=>{qi();ji();tc();Vd()});function mM(e){return Ct?pM(e):uM(e)}var gM=k(()=>{Vr();dM();fM()});function Zv(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 Qv(e){if(e===null||typeof e!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof e}"`)}var MT=k(()=>{});function hM(e){return Qv(e),Zv("/",e)}var yM=k(()=>{MT()});function xM(e){return Qv(e),Zv("\\",e)}var vM=k(()=>{MT()});function bM(e){return Ct?xM(e):hM(e)}var wM=k(()=>{Vr();yM();vM()});function CM(e){return Ct?za(e):Ba(e)}var IT=k(()=>{Vr();Gd();Vd()});function jv(e){return jt(e),e.length>0&&Xt(e.charCodeAt(0))}var DT=k(()=>{ji();Dc()});function qv(e){jt(e);let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0);return We(n)?!0:!!($i(n)&&t>2&&e.charCodeAt(1)===58&&We(e.charCodeAt(2)))}var _T=k(()=>{qi();ji();tc()});function LT(e){return Ct?qv(e):jv(e)}var NT=k(()=>{Vr();DT();_T()});function $v(e){if(jt(e),e.length===0)return"."}var BT=k(()=>{ji()});function ku(e,t,n,r){let o="",i=0,s=-1,u=0,d;for(let f=0;f<=e.length;++f){if(f<e.length)d=e.charCodeAt(f);else{if(r(d))break;d=47}if(r(d)){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 h=o.lastIndexOf(n);h===-1?(o="",i=0):(o=o.slice(0,h),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 d===46&&u!==-1?++u:u=-1}return o}var ph=k(()=>{qi()});function fh(e){e instanceof URL&&(e=Ba(e)),$v(e);let t=Xt(e.charCodeAt(0)),n=Xt(e.charCodeAt(e.length-1));return e=ku(e,!t,"/",Xt),e.length===0&&!t&&(e="."),e.length>0&&n&&(e+="/"),t?`/${e}`:e}var eb=k(()=>{BT();ph();Dc();Gd()});function UT(e,...t){if(e===void 0)return".";e instanceof URL&&(e=Ba(e)),t=e?[e,...t]:t,t.forEach(r=>jt(r));let n=t.filter(r=>r.length>0).join("/");return n===""?".":fh(n)}var zT=k(()=>{ji();Gd();eb()});function mh(e){e instanceof URL&&(e=za(e)),$v(e);let t=e.length,n=0,r,o=!1,i=e.charCodeAt(0);if(t>1)if(We(i))if(o=!0,We(e.charCodeAt(1))){let u=2,d=u;for(;u<t&&!We(e.charCodeAt(u));++u);if(u<t&&u!==d){let f=e.slice(d,u);for(d=u;u<t&&We(e.charCodeAt(u));++u);if(u<t&&u!==d){for(d=u;u<t&&!We(e.charCodeAt(u));++u);if(u===t)return`\\\\${f}\\${e.slice(d)}\\`;u!==d&&(r=`\\\\${f}\\${e.slice(d,u)}`,n=u)}}}else n=1;else $i(i)&&e.charCodeAt(1)===58&&(r=e.slice(0,2),n=2,t>2&&We(e.charCodeAt(2))&&(o=!0,n=3));else if(We(i))return"\\";let s;return n<t?s=ku(e.slice(n),!o,"\\",We):s="",s.length===0&&!o&&(s="."),s.length>0&&We(e.charCodeAt(t-1))&&(s+="\\"),r===void 0?o?s.length>0?`\\${s}`:"\\":s:o?s.length>0?`${r}\\${s}`:`${r}\\`:r+s}var tb=k(()=>{BT();qi();ph();tc();Vd()});function WT(e,...t){if(e instanceof URL&&(e=za(e)),t=e?[e,...t]:t,t.forEach(s=>jt(s)),t=t.filter(s=>s.length>0),t.length===0)return".";let n=!0,r=0,o=t[0];if(We(o.charCodeAt(0))){++r;let s=o.length;s>1&&We(o.charCodeAt(1))&&(++r,s>2&&(We(o.charCodeAt(2))?++r:n=!1))}let i=t.join("\\");if(n){for(;r<i.length&&We(i.charCodeAt(r));++r);r>=2&&(i=`\\${i.slice(r)}`)}return mh(i)}var HT=k(()=>{ji();tc();tb();Vd()});function es(e,...t){return Ct?WT(e,...t):UT(e,...t)}var gh=k(()=>{Vr();zT();HT()});function nb(e){return Ct?mh(e):fh(e)}var GT=k(()=>{Vr();eb();tb()});function RM(e){jt(e);let t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;let n=Xt(e.charCodeAt(0)),r;n?(t.root="/",r=1):r=0;let o=-1,i=0,s=-1,u=!0,d=e.length-1,f=0;for(;d>=r;--d){let h=e.charCodeAt(d);if(Xt(h)){if(!u){i=d+1;break}continue}s===-1&&(u=!1,s=d+1),h===46?o===-1?o=d: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=ec(e.slice(0,i-1),Xt):n&&(t.dir="/"),t}var TM=k(()=>{qi();Ff();ji();Dc()});function kM(e){jt(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(We(o)){if(r=1,We(e.charCodeAt(1))){let y=2,x=y;for(;y<n&&!We(e.charCodeAt(y));++y);if(y<n&&y!==x){for(x=y;y<n&&We(e.charCodeAt(y));++y);if(y<n&&y!==x){for(x=y;y<n&&!We(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(We(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(We(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,d=!0,f=e.length-1,h=0;for(;f>=r;--f){if(o=e.charCodeAt(f),We(o)){if(!d){s=f+1;break}continue}u===-1&&(d=!1,u=f+1),o===46?i===-1?i=f:h!==1&&(h=1):i!==-1&&(h=-1)}return i===-1||u===-1||h===0||h===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 EM=k(()=>{qi();ji();tc()});function SM(e){return Ct?kM(e):RM(e)}var PM=k(()=>{Vr();TM();EM()});function hh(...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()}jt(o),o.length!==0&&(t=`${o}/${t}`,n=Xt(o.charCodeAt(0)))}return t=ku(t,!n,"/",Xt),n?t.length>0?`/${t}`:"/":t.length>0?t:"."}var VT=k(()=>{ph();ji();Dc()});function rb(e,t){if(jt(e),jt(t),e===t)return""}var YT=k(()=>{ji()});function AM(e,t){if(rb(e,t),e=hh(e),t=hh(t),e===t)return"";let n=1,r=e.length;for(;n<r&&Xt(e.charCodeAt(n));++n);let o=r-n,i=1,s=t.length;for(;i<s&&Xt(t.charCodeAt(i));++i);let u=s-i,d=o<u?o:u,f=-1,h=0;for(;h<=d;++h){if(h===d){if(u>d){if(Xt(t.charCodeAt(i+h)))return t.slice(i+h+1);if(h===0)return t.slice(i+h)}else o>d&&(Xt(e.charCodeAt(n+h))?f=h:h===0&&(f=0));break}let x=e.charCodeAt(n+h),w=t.charCodeAt(i+h);if(x!==w)break;Xt(x)&&(f=h)}let y="";for(h=n+f+1;h<=r;++h)(h===r||Xt(e.charCodeAt(h)))&&(y.length===0?y+="..":y+="/..");return y.length>0?y+t.slice(i+f):(i+=f,Xt(t.charCodeAt(i))&&++i,t.slice(i))}var FM=k(()=>{Dc();VT();YT()});function If(...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()}jt(i);let u=i.length;if(u===0)continue;let d=0,f="",h=!1,y=i.charCodeAt(0);if(u>1)if(We(y))if(h=!0,We(i.charCodeAt(1))){let x=2,w=x;for(;x<u&&!We(i.charCodeAt(x));++x);if(x<u&&x!==w){let A=i.slice(w,x);for(w=x;x<u&&We(i.charCodeAt(x));++x);if(x<u&&x!==w){for(w=x;x<u&&!We(i.charCodeAt(x));++x);x===u?(f=`\\\\${A}\\${i.slice(w)}`,d=x):x!==w&&(f=`\\\\${A}\\${i.slice(w,x)}`,d=x)}}}else d=1;else $i(y)&&i.charCodeAt(1)===58&&(f=i.slice(0,2),d=2,u>2&&We(i.charCodeAt(2))&&(h=!0,d=3));else We(y)&&(d=1,h=!0);if(!(f.length>0&&t.length>0&&f.toLowerCase()!==t.toLowerCase())&&(t.length===0&&f.length>0&&(t=f),r||(n=`${i.slice(d)}\\${n}`,r=h),r&&t.length>0))break}return n=ku(n,!r,"\\",We),t+(r?"\\":"")+n||"."}var ob=k(()=>{qi();ph();ji();tc()});function OM(e,t){rb(e,t);let n=If(e),r=If(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,d=t.length;for(;u<d&&t.charCodeAt(u)===92;++u);for(;d-1>u&&t.charCodeAt(d-1)===92;--d);let f=d-u,h=s<f?s:f,y=-1,x=0;for(;x<=h;++x){if(x===h){if(f>h){if(t.charCodeAt(u+x)===92)return r.slice(u+x+1);if(x===2)return r.slice(u+x)}s>h&&(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!==h&&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,d):(u+=y,r.charCodeAt(u)===92&&++u,r.slice(u,d))}var MM=k(()=>{qi();ob();YT()});function IM(e,t){return Ct?OM(e,t):AM(e,t)}var DM=k(()=>{Vr();FM();MM()});function ts(...e){return Ct?If(...e):hh(...e)}var Yd=k(()=>{Vr();VT();ob()});function ib(e){return e.replaceAll(/[\s]/g,t=>XG[t]??t)}var XG,XT=k(()=>{XG={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"}});function _M(e){if(!jv(e))throw new TypeError(`Path must be absolute: received "${e}"`);let t=new URL("file:///");return t.pathname=ib(e.replace(/%/g,"%25").replace(/\\/g,"%5C")),t}var LM=k(()=>{XT();DT()});function NM(e){if(!qv(e))throw new TypeError(`Path must be absolute: received "${e}"`);let[,t,n]=e.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/),r=new URL("file:///");if(r.pathname=ib(n.replace(/%/g,"%25")),t!==void 0&&t!=="localhost"&&(r.hostname=t,!r.hostname))throw new TypeError(`Invalid hostname: "${r.hostname}"`);return r}var BM=k(()=>{XT();_T()});function UM(e){return Ct?NM(e):_M(e)}var JT=k(()=>{Vr();LM();BM()});var zM=k(()=>{});var WM=k(()=>{qi();tc();ob()});var HM=k(()=>{Vr();zM();WM()});var GM=k(()=>{});var VM=k(()=>{GM();ch()});var YM=k(()=>{});var KT=k(()=>{});var XM=k(()=>{KT()});var JM=k(()=>{KT()});var ZT=k(()=>{Vr();XM();JM()});var QT=k(()=>{});var jT=k(()=>{});var qT=k(()=>{eb();jT()});var KM=k(()=>{zT();jT();qT()});var $T=k(()=>{});var ek=k(()=>{tb();$T()});var ZM=k(()=>{HT();$T();ek()});var tk=k(()=>{Vr();KM();ZM()});var QM=k(()=>{Vr();qT();ek()});var yh=k(()=>{Jv();ch();dh();gM();wM();IT();NT();gh();GT();PM();DM();Yd();JT();HM();VM();YM();ZT();QT();tk();QM()});var nk,ab,Df,lb=k(()=>{"use strict";nk=e=>e==="inherit"?"inherit":e==="piped"?"pipe":"ignore",ab=e=>({stdin:e?.stdin??"null",stdout:e?.stdout??"piped",stderr:e?.stderr??"piped"}),Df=e=>{let t=ab(e);return[nk(t.stdin),nk(t.stdout),nk(t.stderr)]}});function rk(){return globalThis.process.getBuiltinModule("node:fs")}var ns,ok=k(()=>{ns=globalThis.navigator?.userAgent?.includes("Deno")});var jM,qM,Sce,Ace,Oce,Ice,$M,Lce,Bce,zce,Hce,eI=k(()=>{ok();jM=ns?Deno.errors.AlreadyExists:class extends Error{},qM=ns?Deno.errors.BadResource:class extends Error{},Sce=ns?Deno.errors.BrokenPipe:class extends Error{},Ace=ns?Deno.errors.Busy:class extends Error{},Oce=ns?Deno.errors.Interrupted:class extends Error{},Ice=ns?Deno.errors.InvalidData:class extends Error{},$M=ns?Deno.errors.NotFound:class extends Error{},Lce=ns?Deno.errors.PermissionDenied:class extends Error{},Bce=ns?Deno.errors.TimedOut:class extends Error{},zce=ns?Deno.errors.UnexpectedEof:class extends Error{},Hce=ns?Deno.errors.WriteZero:class extends Error{}});function ik(e){return t=>Object.assign(new e(t.message),{stack:t.stack})}function qG(e){return e instanceof Error&&"code"in e}function sk(e){return qG(e)&&jG[e.code]?.(e)||e}var jG,tI=k(()=>{eI();jG={EEXIST:ik(jM),ENOENT:ik($M),EBADF:ik(qM)}});var nI={};ve(nI,{chmod:()=>$G,chmodSync:()=>eV});async function $G(e,t){if(ns)await Deno.chmod(e,t);else try{await rk().promises.chmod(e,t)}catch(n){throw sk(n)}}function eV(e,t){if(ns)Deno.chmodSync(e,t);else try{rk().chmodSync(e,t)}catch(n){throw sk(n)}}var rI=k(()=>{ok();tI()});var tV,nV,rV,oV,iV,sV,oI,iI=k(()=>{"use strict";yh();bu();lb();tV={fs:!0,fsSync:!0,exec:!0,process:!0,env:!0,stdin:!0,stdout:!0,kv:!0},nV=()=>{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 Ut(t):r}},async readTextFile(t,n){try{return await Deno.readTextFile(t,{signal:n?.signal})}catch(r){throw r instanceof Deno.errors.NotFound?new Ut(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 Ut(t):n}},async lstat(t){try{let n=await Deno.lstat(t);return e(n)}catch(n){throw n instanceof Deno.errors.NotFound?new Ut(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 Ut(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 Ut(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 Ut(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*(d){for await(let f of Deno.readDir(d)){let h=es(d,f.name);if(!s?.some(y=>y.test(h))){if(f.isDirectory)r&&(yield{path:h,name:f.name,isFile:!1,isDirectory:!0,isSymlink:f.isSymlink}),yield*u(h);else if(f.isFile||f.isSymlink){if(!o||i&&!i.some(y=>f.name.endsWith(y.startsWith(".")?y:`.${y}`)))continue;yield{path:h,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(()=>(rI(),nI));await r(t,n)}}},rV=()=>({join:es,resolve:ts,dirname:uh,basename:Mf,extname:mM,normalize:nb,isAbsolute:LT,relative:IM,parse:SM,format:bM,sep:lh,delimiter:iM}),oV=()=>({async spawn(e,t=[],n){let r=ab(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 ql(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=ab(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,d)=>d!=="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,d=r.stderr==="piped"?i.stderr:null,[f,h,y]=await Promise.all([i.status,s(u,r.stdout),s(d,r.stderr)]);return{success:f.success,code:f.code,stdout:h,stderr:y}},kill:u=>{i.kill(u)}}}}),iV=()=>({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()}}),sV=()=>({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}),oI=()=>{let e=nV(),t=rV(),n=oV(),r=iV(),o=sV();return{name:"deno",version:Deno.version.deno,capabilities:tV,fs:e,path:t,exec:n,env:r,process:o}}});import*as zt from"node:fs/promises";import*as sI from"node:fs";import*as wn from"node:path";import*as ub from"node:os";import*as ak from"node:child_process";import Do from"node:process";import{Buffer as cb}from"node:buffer";import{Readable as lk,Writable as ck}from"node:stream";var aV,lV,cV,uV,dV,pV,aI,lI=k(()=>{"use strict";bu();lb();aV={fs:!0,fsSync:!0,exec:!0,process:!0,env:!0,stdin:!0,stdout:!0,kv:!1},lV=()=>{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 Ut(r):n};return{async readFile(n,r){try{let o=await zt.readFile(n,{signal:r?.signal});return new Uint8Array(o)}catch(o){return t(o,n)}},async readTextFile(n,r){try{return await zt.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 zt.writeFile(n,r,{signal:o?.signal,mode:o?.mode,flag:i})},async writeTextFile(n,r,o){let i=o?.append?"a":"w";await zt.writeFile(n,r,{encoding:"utf-8",signal:o?.signal,mode:o?.mode,flag:i})},async exists(n){try{return await zt.access(n),!0}catch{return!1}},async stat(n){try{let r=await zt.stat(n);return e(r)}catch(r){return t(r,n)}},async lstat(n){try{let r=await zt.lstat(n);return e(r)}catch(r){return t(r,n)}},async mkdir(n,r){await zt.mkdir(n,{recursive:r?.recursive??!1,mode:r?.mode})},async ensureDir(n){await zt.mkdir(n,{recursive:!0})},async remove(n,r){try{await zt.rm(n,{recursive:r?.recursive??!1,force:!1})}catch(o){t(o,n)}},async*readDir(n){try{let r=await zt.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 zt.copyFile(n,r)},async rename(n,r){await zt.rename(n,r)},async makeTempDir(n){let r=n?.dir??ub.tmpdir(),o=n?.prefix??"",i=n?.suffix??"",s=await zt.mkdtemp(wn.join(r,o));if(i){let u=s+i;return await zt.rename(s,u),u}return s},async realPath(n){try{return await zt.realpath(n)}catch(r){throw r instanceof Error&&"code"in r&&r.code==="ENOENT"?new Ut(n):r}},watch(n,r){let o=r?.recursive??!0,i=[],s=[],u=[],d=!1,f=h=>{d||(u.length>0?u.shift()({value:h,done:!1}):s.push(h))};for(let h of n)try{let y=sI.watch(h,{recursive:o},(x,w)=>{w!==null&&f({kind:x==="rename"?"create":"modify",paths:[wn.join(h,w)]})});i.push(y)}catch{}return{close:()=>{d=!0;for(let h of i)h.close();for(let h of u)h({value:void 0,done:!0});u=[]},[Symbol.asyncIterator]:()=>({next:()=>d?Promise.resolve({value:void 0,done:!0}):s.length>0?Promise.resolve({value:s.shift(),done:!1}):new Promise(h=>{u.push(h)})})}},async chmod(n,r){await zt.chmod(n,r)},async*walk(n,r){let o=r?.includeDirs??!0,i=r?.includeFiles??!0,s=r?.exts,u=r?.skip,d=async function*(f){let h=await zt.readdir(f,{withFileTypes:!0});for(let y of h){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*d(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*d(n)}}},cV=()=>({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}),uV=()=>({spawn(e,t=[],n){return new Promise((r,o)=>{let i=ak.spawn(e,t,{cwd:n?.cwd,env:n?.env?{...Do.env,...n.env}:void 0,stdio:Df(n),signal:n?.signal}),s=[],u=[];i.stdout?.on("data",d=>s.push(d)),i.stderr?.on("data",d=>u.push(d)),i.on("error",o),i.on("close",d=>{r({success:d===0,code:d??1,stdout:new Uint8Array(cb.concat(s)),stderr:new Uint8Array(cb.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 ql(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=ak.spawn(e,t,{cwd:n?.cwd,env:n?.env?{...Do.env,...n.env}:void 0,stdio:Df(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,d)=>{r.on("error",d),r.on("close",(f,h)=>{u({success:f===0,code:f??1,signal:h??void 0})})});return{pid:r.pid,stdin:r.stdin?ck.toWeb(r.stdin):null,stdout:r.stdout?lk.toWeb(r.stdout):null,stderr:r.stderr?lk.toWeb(r.stderr):null,status:s,output:async()=>{let u=await s;return{success:u.success,code:u.code,stdout:new Uint8Array(cb.concat(o)),stderr:new Uint8Array(cb.concat(i))}},kill:u=>{r.kill(u)}}}}),dV=()=>({get(e){return Do.env[e]},set(e,t){Do.env[e]=t},delete(e){delete Do.env[e]},has(e){return e in Do.env},toObject(){let e={};for(let[t,n]of Object.entries(Do.env))n!==void 0&&(e[t]=n);return e}}),pV=()=>({exit(e){Do.exit(e)},setExitCode(e){Do.exitCode=e},cwd(){return Do.cwd()},chdir(e){Do.chdir(e)},hostname(){return ub.hostname()},execPath(){return Do.execPath},args:Do.argv.slice(2),pid:Do.pid,stdin:lk.toWeb(Do.stdin),stdout:ck.toWeb(Do.stdout),stderr:ck.toWeb(Do.stderr)}),aI=()=>{let e=lV(),t=cV(),n=uV(),r=dV(),o=pV();return{name:"node",version:Do.versions.node,capabilities:aV,fs:e,path:t,exec:n,env:r,process:o}}});import*as Wt from"node:fs/promises";import*as uI from"node:fs";import*as Cn from"node:path";import*as pb from"node:os";import rs from"node:process";import{Readable as fV,Writable as cI}from"node:stream";var mV,gV,hV,db,yV,xV,vV,dI,pI=k(()=>{"use strict";bu();lb();mV={fs:!0,fsSync:!0,exec:!0,process:!0,env:!0,stdin:!0,stdout:!0,kv:!1},gV=()=>{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 Ut(r):n};return{async readFile(n,r){try{let o=await Wt.readFile(n,{signal:r?.signal});return new Uint8Array(o)}catch(o){return t(o,n)}},async readTextFile(n,r){try{return await Wt.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 Wt.writeFile(n,r,{signal:o?.signal,mode:o?.mode,flag:i})},async writeTextFile(n,r,o){let i=o?.append?"a":"w";await Wt.writeFile(n,r,{encoding:"utf-8",signal:o?.signal,mode:o?.mode,flag:i})},async exists(n){try{return await Wt.access(n),!0}catch{return!1}},async stat(n){try{let r=await Wt.stat(n);return e(r)}catch(r){return t(r,n)}},async lstat(n){try{let r=await Wt.lstat(n);return e(r)}catch(r){return t(r,n)}},async mkdir(n,r){await Wt.mkdir(n,{recursive:r?.recursive??!1,mode:r?.mode})},async ensureDir(n){await Wt.mkdir(n,{recursive:!0})},async remove(n,r){try{await Wt.rm(n,{recursive:r?.recursive??!1,force:!1})}catch(o){t(o,n)}},async*readDir(n){try{let r=await Wt.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 Wt.copyFile(n,r)},async rename(n,r){await Wt.rename(n,r)},async makeTempDir(n){let r=n?.dir??pb.tmpdir(),o=n?.prefix??"",i=n?.suffix??"",s=await Wt.mkdtemp(Cn.join(r,o));if(i){let u=s+i;return await Wt.rename(s,u),u}return s},async realPath(n){try{return await Wt.realpath(n)}catch(r){throw r instanceof Error&&"code"in r&&r.code==="ENOENT"?new Ut(n):r}},watch(n,r){let o=r?.recursive??!0,i=[],s=[],u=[],d=!1,f=h=>{d||(u.length>0?u.shift()({value:h,done:!1}):s.push(h))};for(let h of n)try{let y=uI.watch(h,{recursive:o},(x,w)=>{w!==null&&f({kind:x==="rename"?"create":"modify",paths:[Cn.join(h,w)]})});i.push(y)}catch{}return{close:()=>{d=!0;for(let h of i)h.close();for(let h of u)h({value:void 0,done:!0});u=[]},[Symbol.asyncIterator]:()=>({next:()=>d?Promise.resolve({value:void 0,done:!0}):s.length>0?Promise.resolve({value:s.shift(),done:!1}):new Promise(h=>{u.push(h)})})}},async chmod(n,r){await Wt.chmod(n,r)},async*walk(n,r){let o=r?.includeDirs??!0,i=r?.includeFiles??!0,s=r?.exts,u=r?.skip,d=async function*(f){let h=await Wt.readdir(f,{withFileTypes:!0});for(let y of h){let x=Cn.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*d(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*d(n)}}},hV=()=>({join:Cn.join,resolve:Cn.resolve,dirname:Cn.dirname,basename:Cn.basename,extname:Cn.extname,normalize:Cn.normalize,isAbsolute:Cn.isAbsolute,relative:Cn.relative,parse:Cn.parse,format:Cn.format,sep:Cn.sep,delimiter:Cn.delimiter}),db=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},yV=()=>({async spawn(e,t=[],n){let[r,o,i]=Df(n),s=Bun.spawn([e,...t],{cwd:n?.cwd,env:n?.env,stdin:r,stdout:o,stderr:i}),[u,d,f]=await Promise.all([s.exited,db(s.stdout),db(s.stderr)]);return{success:u===0,code:u,stdout:d,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 ql(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]=Df(n),s=Bun.spawn([e,...t],{cwd:n?.cwd,env:n?.env,stdin:r,stdout:o,stderr:i}),u=s.exited.then(d=>({success:d===0,code:d,signal:void 0}));return{pid:s.pid,stdin:s.stdin,stdout:s.stdout,stderr:s.stderr,status:u,output:async()=>{let[d,f,h]=await Promise.all([u,db(s.stdout),db(s.stderr)]);return{success:d.success,code:d.code,stdout:f,stderr:h}},kill:d=>{s.kill(d)}}}}),xV=()=>({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}}),vV=()=>({exit(e){rs.exit(e)},setExitCode(e){rs.exitCode=e},cwd(){return rs.cwd()},chdir(e){rs.chdir(e)},hostname(){return pb.hostname()},execPath(){return rs.execPath},args:rs.argv.slice(2),pid:rs.pid,stdin:fV.toWeb(rs.stdin),stdout:cI.toWeb(rs.stdout),stderr:cI.toWeb(rs.stderr)}),dI=()=>{let e=gV(),t=hV(),n=yV(),r=xV(),o=vV();return{name:"bun",version:Bun.version,capabilities:mV,fs:e,path:t,exec:n,env:r,process:o}}});var bV,uk,wV,CV,RV,TV,fI,mI=k(()=>{"use strict";bu();ah();bV={fs:!1,fsSync:!1,exec:!1,process:!1,env:!1,stdin:!1,stdout:!1,kv:!1},uk=e=>()=>{throw new gn(e,"browser")},wV=()=>{let e=uk("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}},CV=()=>{let e=uk("exec");return{spawn:e,exec:e,execJson:e,spawnChild:e}},RV=()=>{let e=uk("process");return{exit:e,setExitCode:e,cwd:e,chdir:e,hostname:e,execPath:e,get args(){throw new gn("process","browser")},get pid(){throw new gn("process","browser")},get stdin(){throw new gn("process","browser")},get stdout(){throw new gn("process","browser")},get stderr(){throw new gn("process","browser")}}},TV=()=>({get:()=>{},set:()=>{},delete:()=>{},has:()=>!1,toObject:()=>({})}),fI=()=>({name:"browser",version:globalThis.navigator?.userAgent??"unknown",capabilities:bV,fs:wV(),path:Cu,exec:CV(),env:TV(),process:RV()})});var ue={};ve(ue,{AlreadyExistsError:()=>zv,NotFoundError:()=>Ut,ProcessError:()=>ql,RuntimeCapabilityError:()=>gn,buildCommand:()=>ST,clearWorkerdEnv:()=>QO,createRuntime:()=>gI,current:()=>C,detectExecutionContext:()=>Tu,detectInvoker:()=>ET,detectRuntime:()=>pa,getArch:()=>Pf,getCliCommand:()=>JO,getHomedir:()=>wu,getPlatform:()=>fa,getPlatformInfo:()=>WO,getRuntimeVersion:()=>DO,getTmpdir:()=>vT,isBrowser:()=>_O,isCommandInPath:()=>Ru,isEdge:()=>NO,isRuntime:()=>Wv,isServer:()=>LO,populateEnvFromContext:()=>ZO,posixPath:()=>Cu,resolvePathDirs:()=>kT,searchFileHierarchy:()=>TT,toPosix:()=>$l});var dk,kV,EV,SV,PV,AV,FV,OV,MV,IV,gI,C,we=k(()=>{bu();Hv();bT();ah();XO();KO();PT();bu();Hv();ah();iI();lI();pI();PT();mI();dk=(e,t)=>()=>{throw new gn(e,t)},kV=e=>{let t=dk("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}},EV=e=>{let t=dk("exec",e);return{spawn:t,exec:t,execJson:t,spawnChild:t}},SV=e=>{let t=dk("process",e);return{exit:t,setExitCode:t,cwd:t,chdir:t,hostname:t,execPath:t,get args(){throw new gn("process",e)},get pid(){throw new gn("process",e)},get stdin(){throw new gn("process",e)},get stdout(){throw new gn("process",e)},get stderr(){throw new gn("process",e)}}},PV=()=>({get:()=>{},set:()=>{},delete:()=>{},has:()=>!1,toObject:()=>({})}),AV=e=>({name:e,version:"unknown",capabilities:{fs:!1,fsSync:!1,exec:!1,process:!1,env:!1,stdin:!1,stdout:!1,kv:!1},fs:kV(e),path:Cu,exec:EV(e),env:PV(),process:SV(e)}),FV={deno:oI,node:aI,bun:dI,workerd:jO,browser:fI},OV=["fs","exec","env","path","process"],MV=e=>e!==void 0&&OV.some(t=>e[t]!==void 0),IV=(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}),gI=e=>{let t=pa(),n=FV[t],r=n?.()??AV(t),o=e?.capabilities?{...r.capabilities,...e.capabilities}:r.capabilities;return e!==void 0&&MV(e)?IV(r,e,o):e?.capabilities?{...r,capabilities:o}:r},C=gI()});function ma(e){return e===10||e===13}function Xd(e){return e===9||e===32}function os(e){return Xd(e)||ma(e)}function Jd(e){return e===44||e===91||e===93||e===123||e===125}var fb=k(()=>{});function DV(e){if(e===null)return!1;let t,n=0,r=e.length,o=pk;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 _V(e){let t=e.replace(/[\r\n=]/g,""),n=t.length,r=pk,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 LV(e){let t=e.length,n=pk,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 NV(e){return e instanceof Uint8Array}var pk,hI,yI=k(()=>{pk=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
3
- \r`;hI={tag:"tag:yaml.org,2002:binary",construct:_V,kind:"scalar",predicate:NV,represent:LV,resolve:DV}});var xI,BV,UV,vI,bI=k(()=>{xI=["true","True","TRUE"],BV=["false","False","FALSE"],UV=[...xI,...BV],vI={tag:"tag:yaml.org,2002:bool",kind:"scalar",defaultStyle:"lowercase",predicate:e=>typeof e=="boolean"||e instanceof Boolean,construct:e=>xI.includes(e),resolve:e=>UV.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 fk(e){return e!==null&&typeof e=="object"}function xh(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}function Kd(e){return Object.prototype.toString.call(e)==="[object Object]"}var Zd=k(()=>{});function WV(e){return!(!zV.test(e)||e[e.length-1]==="_")}function HV(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 VV(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(xh(n))return"-0.0";let r=n.toString(10);return GV.test(r)?r.replace("e",".e"):r}function YV(e){return e instanceof Number&&(e=e.valueOf()),typeof e=="number"&&(e%1!==0||xh(e))}var zV,GV,wI,CI=k(()=>{Zd();zV=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");GV=/^[-+]?[0-9]+e/;wI={tag:"tag:yaml.org,2002:float",construct:HV,defaultStyle:"lowercase",kind:"scalar",predicate:YV,represent:VV,resolve:WV}});function vh(e,t,n){return t<=e&&e<=n}function XV(e){return vh(e,48,57)||vh(e,65,70)||vh(e,97,102)}function JV(e){return vh(e,48,55)}function KV(e){return vh(e,48,57)}function ZV(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(!XV(e.charCodeAt(n)))return!1;r=!0}return r&&o!=="_"}for(;n<t;n++)if(o=e[n],o!=="_"){if(!JV(e.charCodeAt(n)))return!1;r=!0}return r&&o!=="_"}if(o==="_")return!1;for(;n<t;n++)if(o=e[n],o!=="_"){if(!KV(e.charCodeAt(n)))return!1;r=!0}return!r||o==="_"?!1:/^(:[0-5]?[0-9])+$/.test(e.slice(n))}function QV(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 jV(e){return e instanceof Number&&(e=e.valueOf()),typeof e=="number"&&e%1===0&&!xh(e)}var RI,TI=k(()=>{Zd();RI={tag:"tag:yaml.org,2002:int",construct:QV,defaultStyle:"decimal",kind:"scalar",predicate:jV,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:ZV}});var kI,EI=k(()=>{kI={tag:"tag:yaml.org,2002:map",resolve(){return!0},construct(e){return e!==null?e:{}},kind:"mapping"}});var SI,PI=k(()=>{SI={tag:"tag:yaml.org,2002:merge",kind:"scalar",resolve:e=>e==="<<"||e===null,construct:e=>e}});var AI,FI=k(()=>{AI={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 qV(e){let t=new Set;for(let n of e){if(!Kd(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 OI,MI=k(()=>{Zd();OI={tag:"tag:yaml.org,2002:omap",kind:"sequence",resolve:qV,construct(e){return e}}});function $V(e){return e===null?!0:e.every(t=>Kd(t)&&Object.keys(t).length===1)}var II,DI=k(()=>{Zd();II={tag:"tag:yaml.org,2002:pairs",construct(e){return e?.flatMap(Object.entries)??[]},kind:"sequence",resolve:$V}});var _I,LI,NI=k(()=>{_I=/^\/(?<regexp>[\s\S]+)\/(?<modifiers>[gismuy]*)$/,LI={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(_I)?.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(_I)?.groups??{};return new RegExp(t,n)},predicate:e=>e instanceof RegExp,represent:e=>e.toString()}});var BI,UI=k(()=>{BI={tag:"tag:yaml.org,2002:seq",kind:"sequence",resolve:()=>!0,construct:e=>e!==null?e:[]}});var zI,WI=k(()=>{zI={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 HI,GI=k(()=>{HI={tag:"tag:yaml.org,2002:str",kind:"scalar",resolve:()=>!0,construct:e=>e!==null?e:""}});function e7(e){return e===null?!1:VI.exec(e)!==null||YI.exec(e)!==null}function t7(e){let t=VI.exec(e);if(t===null&&(t=YI.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],d=0;if(t[7]){let y=t[7].slice(0,3);for(;y.length<3;)y+="0";d=+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 h=new Date(Date.UTC(n,r,o,i,s,u,d));return f&&h.setTime(h.getTime()-f),h}function n7(e){return e.toISOString()}var VI,YI,XI,JI=k(()=>{VI=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YI=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]))?))?$");XI={tag:"tag:yaml.org,2002:timestamp",construct:t7,predicate(e){return e instanceof Date},kind:"scalar",represent:n7,resolve:e7}});var KI,ZI=k(()=>{KI={tag:"tag:yaml.org,2002:js/undefined",kind:"scalar",resolve(){return!0},construct(){},predicate(e){return typeof e>"u"},represent(){return""}}});function r7(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 bh({explicitTypes:e=[],implicitTypes:t=[],include:n}){n&&(t.push(...n.implicitTypes),e.push(...n.explicitTypes));let r=r7(t,e);return{implicitTypes:t,explicitTypes:e,typeMap:r}}var QI,jI,qI,wh,o7,mk,Ch=k(()=>{yI();bI();CI();TI();EI();PI();FI();MI();DI();NI();UI();WI();GI();JI();ZI();QI=bh({explicitTypes:[HI,BI,kI]}),jI=bh({implicitTypes:[AI,vI,RI,wI],include:QI}),qI=bh({include:jI}),wh=bh({explicitTypes:[hI,OI,II,zI],implicitTypes:[XI,SI],include:qI}),o7=bh({explicitTypes:[LI,KI],include:wh}),mk=new Map([["core",qI],["default",wh],["failsafe",QI],["json",jI],["extended",o7]])});function f7(e){if(48<=e&&e<=57)return e-48;let t=e|32;return 97<=t&&t<=102?t-97+10:-1}function m7(e){return 48<=e&&e<=57?e-48:-1}function g7(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function h7(e,t){if(!e)return null;let n=t,r=t,o="",i="";for(;n>0&&!uD.includes(e.charAt(n-1));)if(n--,t-n>cD/2-1){o=" ... ",n+=5;break}for(;r<e.length&&!uD.includes(e.charAt(r));)if(r++,r-t>cD/2-1){i=" ... ",r-=5;break}let s=e.slice(n,r),u=" ".repeat(lD),d=" ".repeat(lD+t-n+o.length);return`${u+o+s+i}
4
- ${d}^`}function y7(e,t,n,r){let o=`at line ${n+1}, column ${r+1}`,i=h7(e,t);return i&&(o+=`:
5
- ${i}`),o}function dD(e,t){return e>t?1:e<t?-1:0}function hk(e){return e===1?" ":e>1?`
6
- `.repeat(e-1):""}var mb,nD,rD,gb,gk,l7,oD,c7,u7,d7,iD,sD,p7,aD,lD,cD,uD,Ck,vb,vD=k(()=>{fb();Ch();Zd();mb=1,nD=2,rD=3,gb=4,gk=1,l7=2,oD=3,c7=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u7=/[\x85\u2028\u2029]/,d7=/[,\[\]\{\}]/,iD=/^(?:!|!!|![a-z\-]+!)$/i,sD=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,p7=new Map([[120,2],[117,4],[85,8]]),aD=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"]]);lD=4,cD=75,uD=`\0\r
8
- \x85\u2028\u2029`;Ck=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}},vb=class{#e;lineIndent=0;lineStart=0;line=0;onWarning;allowDuplicateKeys;implicitTypes;typeMap;checkLineBreaks=!1;tagMap=new Map;anchorMap=new Map;constructor(t,{schema:n=wh,onWarning:r,allowDuplicateKeys:o=!1}){this.#e=new Ck(t),this.onWarning=r,this.allowDuplicateKeys=o,this.implicitTypes=n.implicitTypes,this.typeMap=n.typeMap,this.readIndent()}skipWhitespaces(){let t=this.#e.peek();for(;Xd(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&&!ma(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=y7(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(!iD.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(!sD.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(c7.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 d=this.line,f=this.composeNode({parentIndent:r,nodeContext:rD,allowToSeek:!1,allowCompact:!0});if(f&&i.push(f.result),this.skipSeparationSpace(!0,-1),s=this.#e.peek(),(this.line===d||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(!fk(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 d=0;d<o.length;d++){if(Array.isArray(o[d]))throw this.#t("Cannot store mapping pair: nested arrays are not supported inside keys");typeof o=="object"&&Kd(o[d])&&(o[d]="[object Object]")}}if(typeof o=="object"&&Kd(o)&&(o="[object Object]"),o=String(o),r==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(let d=0;d<i.length;d++)this.mergeMappings(t,i[d],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()),ma(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)||Jd(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&&Jd(s)))return;let u="",d=this.#e.position,f=this.#e.position,h=!1,y=0;for(;i!==0;){if(i===58){if(s=this.#e.peek(1),os(s)||o&&Jd(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&&Jd(i))break;if(ma(i)){y=this.line;let w=this.lineStart,A=this.lineIndent;if(this.skipSeparationSpace(!1,-1),this.lineIndent>=r){h=!0,i=this.#e.peek();continue}else{this.#e.position=d,this.line=y,this.lineStart=w,this.lineIndent=A;break}}}if(h){let w=this.captureSegment(f,d,!1);w&&(u+=w),u+=hk(this.line-y),f=d=this.#e.position,h=!1}Xd(i)||(d=this.#e.position+1),this.#e.next(),i=this.#e.peek()}let x=this.captureSegment(f,d,!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 d=this.captureSegment(s,this.#e.position,!0);if(d&&(i+=d),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(ma(o)){let d=this.captureSegment(s,u,!0);d&&(i+=d),i+=hk(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,d;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(),ma(o))this.skipSeparationSpace(!1,r);else if(o<256&&aD.has(o))i+=aD.get(o),this.#e.next();else if((d=p7.get(o)??0)>0){let h=d,y=0;for(;h>0;h--)if(this.#e.next(),o=this.#e.peek(),(d=f7(o))>=0)y=(y<<4)+d;else throw this.#t("Cannot read double quoted scalar: expected hexadecimal character");i+=g7(y),this.#e.next()}else throw this.#t("Cannot read double quoted scalar: unknown escape sequence");u=s=this.#e.position}else if(ma(o)){let f=this.captureSegment(u,s,!0);f&&(i+=f),i+=hk(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 d=!0,f=null,h=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(!d)throw this.#t("Cannot read flow collection: missing comma between flow collection entries");y=h=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:mb,allowToSeek:!1,allowCompact:!0});if(L&&(y=L.tag||null,h=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 N=this.composeNode({parentIndent:r,nodeContext:mb,allowToSeek:!1,allowCompact:!0});N&&(f=N.result)}s?this.storeMappingPair(u,D,y,h,f):w?u.push(this.storeMappingPair({},D,y,h,f)):u.push(h),this.skipSeparationSpace(!0,r),o=this.#e.peek(),o===44?(d=!0,this.#e.next(),o=this.#e.peek()):d=!1}throw this.#t("Cannot read flow collection: unexpected end of the stream within a flow collection")}readBlockScalar(t,n,r){let o=gk,i=!1,s=!1,u=r,d=0,f=!1,h=this.#e.peek(),y=!1;if(h===124)y=!1;else if(h===62)y=!0;else return;let x="",w=0;for(;h!==0;)if(this.#e.next(),h=this.#e.peek(),h===43||h===45)if(gk===o)o=h===43?oD:l7;else throw this.#t("Cannot read block: chomping mode identifier repeated");else if((w=m7(h))>=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(Xd(h)&&(this.skipWhitespaces(),this.skipComment(),h=this.#e.peek());h!==0;){for(this.readLineBreak(),this.lineIndent=0,h=this.#e.peek();(!s||this.lineIndent<u)&&h===32;)this.lineIndent++,this.#e.next(),h=this.#e.peek();if(!s&&this.lineIndent>u&&(u=this.lineIndent),ma(h)){d++;continue}if(this.lineIndent<u){o===oD?x+=`
9
- `.repeat(i?1+d:d):o===gk&&i&&(x+=`
10
- `);break}y?Xd(h)?(f=!0,x+=`
11
- `.repeat(i?1+d:d)):f?(f=!1,x+=`
12
- `.repeat(d+1)):d===0?i&&(x+=" "):x+=`
13
- `.repeat(d):x+=`
14
- `.repeat(i?1+d:d),i=!0,s=!0,d=0;let A=this.#e.position;for(;!ma(h)&&h!==0;)this.#e.next(),h=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,d,f,h=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(d=this.line,f=this.#e.position,(F===63||F===58)&&os(D)){if(F===63)w&&(this.storeMappingPair(i,s,h,y,null),h=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:nD,allowToSeek:!1,allowCompact:!0});if(!L)break;if(this.line===d)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,h,y,null),h=null,y=null,x=null),A=!0,w=!1,u=!1,h=L.tag,y=L.result}else{if(A)throw this.#t("Cannot read an implicit mapping pair: missing colon");{let{kind:N,result:Y}=L;return{tag:t,anchor:n,kind:N,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:N,result:Y}=L;return{tag:t,anchor:n,kind:N,result:Y}}}}if(this.line===d||this.lineIndent>r){let L=this.composeNode({parentIndent:r,nodeContext:gb,allowToSeek:!0,allowCompact:u});L&&(w?y=L.result:x=L.result),w||(this.storeMappingPair(i,s,h,y,x,d,f),h=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,h,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),!iD.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),d7.test(i))throw this.#t("Cannot read tag property: tag suffix cannot contain flow indicator characters")}if(i&&!sD.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)&&!Jd(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)&&!Jd(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 d=u.construct(t.result);t.result=d,t.tag=u.tag;let{anchor:f}=t;return f!==null&&this.anchorMap.set(f,d),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=gb===n||rD===n,d=u,f=u;r&&this.skipSeparationSpace(!0,-1)&&(s=!0,i=dD(this.lineIndent,t));let h=null,y=null;if(i===1)for(;;){let w=this.readTagProperty(h);if(w)h=w;else{let A=this.readAnchorProperty(y);if(!A)break;y=A}this.skipSeparationSpace(!0,-1)?(s=!0,d=f,i=dD(this.lineIndent,t)):d=!1}if(d&&(d=s||o),i===1){let A=mb===n||nD===n?t:t+1;if(d){let H=this.#e.position-this.lineStart,W=this.readBlockSequence(h,y,H);if(W)return this.resolveTag(W);let M=this.readBlockMapping(h,y,H,A);if(M)return this.resolveTag(M)}let F=this.readFlowCollection(h,y,A);if(F)return this.resolveTag(F);if(u){let H=this.readBlockScalar(h,y,A);if(H)return this.resolveTag(H)}let D=this.readSingleQuotedScalar(h,y,A);if(D)return this.resolveTag(D);let L=this.readDoubleQuotedScalar(h,y,A);if(L)return this.resolveTag(L);let N=this.readAlias();if(N){if(h!==null||y!==null)throw this.#t("Cannot compose node: alias node should not have any properties");return this.resolveTag({tag:h,anchor:y,kind:null,result:N})}let Y=this.readPlainScalar(h,y,A,mb===n);if(Y)return Y.tag??="?",this.resolveTag(Y)}else if(i===0&&gb===n&&d){let w=this.#e.position-this.lineStart,A=this.readBlockSequence(h,y,w);if(A)return this.resolveTag(A)}let x=this.resolveTag({tag:h,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(),!ma(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:gb,allowToSeek:!1,allowCompact:!0});if(o&&(r=o.result),this.skipSeparationSpace(!0,-1),this.checkLineBreaks&&u7.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 x7(e){return e=String(e),e.length>0&&(ma(e.charCodeAt(e.length-1))||(e+=`
15
- `),e.charCodeAt(0)===65279&&(e=e.slice(1))),e}function _c(e,t={}){e=x7(e);let r=new vb(e,{...t,schema:mk.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 bD=k(()=>{fb();vD();Ch()});var wD=k(()=>{fb();Ch();Zd()});var CD=k(()=>{wD();Ch()});var _f=k(()=>{bD();CD()});var Rk,nc,RD,Ph=k(()=>{_f();we();Rk=[".manifest.yml",".manifest.yaml"],nc=async e=>{for(let t of Rk){let n=C.path.join(e,t);try{let r=await C.fs.readTextFile(n);return _c(r)}catch(r){if(r instanceof Ut)continue;throw r}}return null},RD=async e=>{for(let t of Rk){let n=C.path.join(e,t);try{return await C.fs.stat(n),n}catch{continue}}return null}});var Jt,qt,ga,ye,Tk,Ah,TD,kD,Pe,Rt,is,kk,ED,Se,SD,Ek,PD,AD,FD,OD,MD,ID,DD,_D,LD,ND,BD,UD,zD,WD,HD,GD,Lf,VD,Ae,Rn=k(()=>{Jt="\x1B[",qt=`${Jt}0m`,ga=e=>`${Jt}1m${e}${qt}`,ye=e=>`${Jt}2m${e}${qt}`,Tk=e=>`${Jt}3m${e}${qt}`,Ah=e=>`${Jt}4m${e}${qt}`,TD=e=>`${Jt}9m${e}${qt}`,kD=e=>`${Jt}30m${e}${qt}`,Pe=e=>`${Jt}31m${e}${qt}`,Rt=e=>`${Jt}32m${e}${qt}`,is=e=>`${Jt}33m${e}${qt}`,kk=e=>`${Jt}34m${e}${qt}`,ED=e=>`${Jt}35m${e}${qt}`,Se=e=>`${Jt}36m${e}${qt}`,SD=e=>`${Jt}37m${e}${qt}`,Ek=e=>`${Jt}90m${e}${qt}`,PD=e=>`${Jt}91m${e}${qt}`,AD=e=>`${Jt}92m${e}${qt}`,FD=e=>`${Jt}93m${e}${qt}`,OD=e=>`${Jt}94m${e}${qt}`,MD=e=>`${Jt}95m${e}${qt}`,ID=e=>`${Jt}96m${e}${qt}`,DD=e=>`${Jt}97m${e}${qt}`,_D=e=>`${Jt}40m${e}${qt}`,LD=e=>`${Jt}41m${e}${qt}`,ND=e=>`${Jt}42m${e}${qt}`,BD=e=>`${Jt}43m${e}${qt}`,UD=e=>`${Jt}44m${e}${qt}`,zD=e=>`${Jt}45m${e}${qt}`,WD=e=>`${Jt}46m${e}${qt}`,HD=e=>`${Jt}47m${e}${qt}`,GD=e=>e.replace(/\x1b\[[0-9;]*m/g,""),Lf=null,VD=()=>(Lf!==null||(typeof globalThis.Deno<"u"?Lf=Deno.stdout.isTerminal?.()??!0:typeof globalThis.process<"u"?Lf=globalThis.process.stdout?.isTTY??!1:Lf=!1),Lf),Ae={brand:e=>Se(e),brandBold:e=>ga(Se(e)),success:e=>Rt(e),error:e=>Pe(e),warning:e=>is(e),info:e=>kk(e),bold:ga,dim:ye,italic:Tk,code:e=>Se(e),path:e=>Ah(e),url:e=>Se(Ah(e)),link:e=>Se(Ah(e)),gray:Ek}});var v7,b7,w7,C7,R7,T7,k7,YD,XD,JD,KD,ZD=k(()=>{"use strict";v7=["registry/v1"],b7=["file","folder"],w7=["local","github"],C7=e=>e==="project"||e==="structure"||e==="utility",R7=e=>{if(typeof e!="object"||e===null)return!1;let t=e;return!(typeof t.source!="string"||typeof t.target!="string"||t.kind!==void 0&&!b7.includes(t.kind)||t.provider!==void 0&&!w7.includes(t.provider))},T7=e=>{if(typeof e!="object"||e===null)return!1;let t=e;return!(t.go!==void 0&&!Array.isArray(t.go)||t.jsr!==void 0&&!Array.isArray(t.jsr)||t.npm!==void 0&&!Array.isArray(t.npm))},k7=e=>{if(typeof e!="object"||e===null)return!1;let t=e;return!(typeof t.name!="string"||t.name===""||typeof t.description!="string"||t.default!==void 0&&typeof t.default!="string"||t.prompt!==void 0&&typeof t.prompt!="string")},YD=e=>{if(typeof e!="object"||e===null)return!1;let t=e;if(typeof t.name!="string"||t.name===""||typeof t.description!="string"||typeof t.language!="string"||!C7(t.scale)||!Array.isArray(t.files)||t.files.length===0)return!1;for(let n of t.files)if(!R7(n))return!1;if(t.dependencies!==void 0&&!T7(t.dependencies)||t.tags!==void 0&&!Array.isArray(t.tags))return!1;if(t.requires!==void 0){if(!Array.isArray(t.requires))return!1;for(let n of t.requires)if(typeof n!="string")return!1}if(t.variables!==void 0){if(!Array.isArray(t.variables))return!1;for(let n of t.variables)if(!k7(n))return!1}if(t.postInstall!==void 0){if(!Array.isArray(t.postInstall))return!1;for(let n of t.postInstall)if(typeof n!="string")return!1}return!0},XD=e=>{if(typeof e!="object"||e===null)throw new Error("Registry manifest must be a JSON object");let t=e;if(t.$schema!==void 0){let o=String(t.$schema);v7.some(s=>o.includes(s))||console.warn(`Warning: Registry uses unknown schema "${o}". This CLI supports v1.`)}if(typeof t.name!="string"||t.name==="")throw new Error("Registry manifest requires a non-empty 'name' field");if(typeof t.description!="string")throw new Error("Registry manifest requires a 'description' field");if(typeof t.author!="string")throw new Error("Registry manifest requires an 'author' field");if(typeof t.registryUrl!="string"||t.registryUrl==="")throw new Error("Registry manifest requires a non-empty 'registryUrl' field");if(!Array.isArray(t.recipes))throw new Error("Registry manifest requires a 'recipes' array");for(let o of t.recipes)if(!YD(o)){let i=typeof o=="object"&&o!==null?o.name??"<unknown>":"<invalid>";throw new Error(`Invalid recipe definition: '${i}'`)}let n=t.recipes,r=new Set;for(let o of n){if(r.has(o.name))throw new Error(`Duplicate recipe name '${o.name}' in registry`);r.add(o.name)}return e},JD=e=>{if(!YD(e))throw new Error("Invalid recipe definition");return e},KD=(e,t)=>{let n=e.replace(/\/+$/,""),r=t.replace(/^\/+/,"");return`${n}/${r}`}});var S7,P7,A7,Fh,F7,Su,QD,O7,jD,wb,Pu=k(()=>{ZD();S7=3e4,P7="https://raw.githubusercontent.com/eser/stack/main/etc/registry/eser-registry.json",A7="etc/registry/eser-registry.json",Fh=async e=>await globalThis.fetch(e,{signal:AbortSignal.timeout(S7)}),F7=async()=>{let e=Deno.cwd();for(let t=0;t<10;t++){let n=`${e}/${A7}`;try{return await Deno.stat(n),n}catch{let r=e.replace(/\/[^/]+$/,"");if(r===e)break;e=r}}},Su=async(e,t)=>{let n=e??P7;if(t?.local===!0&&e===void 0){let s=await F7();s!==void 0&&(n=s,t?.verbose===!0&&console.log(`Using local registry: ${s}`))}let r=n.startsWith("http://")||n.startsWith("https://");t?.verbose===!0&&console.log(`Fetching registry from: ${n}`);let o;if(r){let s=await Fh(n);if(!s.ok)throw new Error(`Could not reach registry at ${n}. HTTP ${s.status}`);o=await s.text()}else try{o=await Deno.readTextFile(n)}catch{throw new Error(`Could not read registry file at ${n}`)}let i;try{i=JSON.parse(o)}catch{throw new Error(`Registry at ${n} is not valid JSON`)}return XD(i)},QD=async(e,t)=>{let n=KD(e,t),r=await Fh(n);if(!r.ok)throw new Error(`Could not fetch recipe file at ${n}. HTTP ${r.status}`);return await r.text()},O7=e=>{let t=e.match(/^https:\/\/raw\.githubusercontent\.com\/([^/]+)\/([^/]+)\/([^/]+)(?:\/(.*))?$/);if(t!==null)return{owner:t[1],repo:t[2],ref:t[3],basePath:t[4]??""}},jD=async(e,t)=>{let n=O7(e);if(n===void 0)throw new Error(`Cannot fetch folder: registry URL '${e}' is not a GitHub raw URL`);let r=n.basePath?`${n.basePath}/${t}`.replace(/\/+/g,"/"):t,o=`https://api.github.com/repos/${n.owner}/${n.repo}/contents/${r}?ref=${n.ref}`,i=await Fh(o);if(!i.ok)throw new Error(`Could not list folder '${r}' from ${n.owner}/${n.repo}. HTTP ${i.status}`);let s=await i.json();if(!Array.isArray(s))throw new Error(`Expected directory listing for '${r}', got a file instead`);let d=s.filter(f=>f.type==="file").map(async f=>{if(f.download_url===null)throw new Error(`File '${f.path}' has no download URL (may be too large)`);let h=await Fh(f.download_url);if(!h.ok)throw new Error(`Could not fetch file '${f.path}'. HTTP ${h.status}`);return{path:f.path.startsWith(r)?f.path.slice(r.length).replace(/^\//,""):f.path,content:await h.text()}});return await Promise.all(d)},wb=async(e,t,n="main",r="recipe.json")=>{let o=`https://raw.githubusercontent.com/${e}/${t}/${n}/${r}`,i=await Fh(o);if(!i.ok)throw new Error(`Could not fetch recipe from ${e}/${t}@${n}/${r}. HTTP ${i.status}`);let s;try{s=JSON.parse(await i.text())}catch{throw new Error(`Recipe file at ${e}/${t}@${n}/${r} is not valid JSON`)}return JD(s)}});var Sk,qD,$D,e_=k(()=>{"use strict";Sk=class extends Error{constructor(t){super(`Required variable '${t}' has no value and no default`),this.name="MissingVariableError"}},qD=(e,t)=>{let n={};for(let r of e){let o=t[r.name];if(o!==void 0)n[r.name]=o;else if(r.default!==void 0)n[r.name]=r.default;else throw new Sk(r.name)}return n},$D=(e,t)=>e.replace(/\{\{\s*\.(\w+)\s*\}\}/g,(n,r)=>r in t?t[r]:n)});var Pk,Cb,t_,n_=k(()=>{"use strict";Pk=class extends Error{constructor(t){super(`Circular dependency detected: ${t.join(" \u2192 ")}`),this.name="CyclicDependencyError"}},Cb=class extends Error{constructor(t,n){super(`Recipe '${t}' requires '${n}', which is not in the registry`),this.name="MissingDependencyError"}},t_=(e,t)=>{let n=new Map;for(let d of t)n.set(d.name,d);if(n.get(e)===void 0)throw new Cb("<root>",e);let o=[],i=new Set,s=new Set,u=(d,f)=>{if(i.has(d))return;if(s.has(d))throw new Pk([...f,d]);let h=n.get(d);if(h===void 0)throw new Cb(f[f.length-1]??"<root>",d);if(s.add(d),h.requires!==void 0)for(let y of h.requires)u(y,[...f,d]);s.delete(d),i.add(d),o.push(h)};return u(e,[]),o}});var r_,o_,Ak,i_,D7,_7,L7,Lc,s_,Nf=k(()=>{Pu();e_();n_();r_=(e,t)=>{let n=e.endsWith("/")?e:`${e}/`,r=new URL(t,`file://${n}`).pathname;return r.startsWith(n)||r===e},o_=async e=>{let t=e.split("/");t.pop();let n=t.join("/");n!==""&&n!=="."&&await Deno.mkdir(n,{recursive:!0})},Ak=async e=>{try{return await Deno.stat(e),!0}catch{return!1}},i_=(e,t)=>t===void 0||Object.keys(t).length===0?e:$D(e,t),D7=async(e,t,n,r)=>{let o=`${t.cwd}/${e.target}`;if(r.includes(e.target))return;if(t.skipExisting===!0&&await Ak(o)){t.verbose===!0&&console.log(` [skip] ${e.target} (already exists)`),r.push(e.target);return}if(t.dryRun===!0){console.log(` [dry-run] would write ${e.target}`),n.push(e.target);return}t.verbose===!0&&console.log(` [write] ${e.target}`);let i=await QD(t.registryUrl,e.source),s=i_(i,t.variables);await o_(o),await Deno.writeTextFile(o,s),n.push(e.target)},_7=async(e,t,n,r)=>{let o=await jD(t.registryUrl,e.source);for(let i of o){let s=`${e.target}/${i.path}`;if(!r_(t.cwd,s))throw new Error(`Folder recipe contains path traversal in '${s}'. Aborting.`)}for(let i of o){let s=`${e.target}/${i.path}`,u=`${t.cwd}/${s}`;if(t.skipExisting===!0&&await Ak(u)){r.push(s);continue}if(t.dryRun===!0){console.log(` [dry-run] would write ${s}`),n.push(s);continue}t.verbose===!0&&console.log(` [write] ${s}`);let d=i_(i.content,t.variables);await o_(u),await Deno.writeTextFile(u,d),n.push(s)}},L7=async(e,t,n,r)=>{let o=[];for(let i of e){if(n===!0){console.log(` [dry-run] would run: ${i}`),o.push(i);continue}r===!0&&console.log(` [post-install] ${i}`);let s=i.split(/\s+/),d=await new Deno.Command(s[0],{args:s.slice(1),cwd:t,stdout:"inherit",stderr:"inherit"}).output();if(!d.success)throw new Error(`Post-install command failed: '${i}' (exit code ${d.code})`);o.push(i)}return o},Lc=async(e,t)=>{let n=[],r=[],o=e.files.length,i=t.variables;e.variables!==void 0&&e.variables.length>0&&(i=qD(e.variables,t.variables??{}));let s={...t,variables:i};for(let d of e.files)if((d.kind??"file")==="file"&&!r_(t.cwd,d.target))throw new Error(`Recipe '${e.name}' contains path traversal in target '${d.target}'. Aborting.`);if(t.force!==!0&&t.skipExisting!==!0)for(let d of e.files){if((d.kind??"file")!=="file")continue;let h=`${t.cwd}/${d.target}`;await Ak(h)&&(t.dryRun===!0?console.log(` [conflict] ${d.target} (already exists)`):(console.warn(` Warning: ${d.target} already exists. Use --force to overwrite or --skip-existing to skip.`),r.push(d.target)))}for(let d of e.files){let f=d.kind??"file";try{f==="folder"?await _7(d,s,n,r):await D7(d,s,n,r)}catch(h){let y=h instanceof Error?h.message:String(h);throw new Error(`Failed applying '${d.target}'. ${n.length} files written so far. Retry with \`eser kit add ${e.name} --force\`. Cause: ${y}`)}}let u=[];return e.postInstall!==void 0&&e.postInstall.length>0&&(u=await L7(e.postInstall,t.cwd,t.dryRun,t.verbose)),{written:n,skipped:r,total:o,postInstallRan:u}},s_=async(e,t,n)=>{let r=t_(e,t),o=[];for(let i of r){n.verbose===!0&&console.log(`
16
- Applying recipe: ${i.name}`);let s=await Lc(i,n);o.push({name:i.name,result:s})}return{recipes:o}}});var N7,Bf,Uf,Rb=k(()=>{N7=[["go.mod","go"],["deno.json","deno"],["deno.jsonc","deno"],["package.json","node"]],Bf=async e=>{for(let[t,n]of N7)try{return await Deno.stat(`${e}/${t}`),{type:n,configFile:t}}catch{}return{type:"unknown",configFile:void 0}},Uf=(e,t)=>{let n=[],r=[],o=e.dependencies;if(o===void 0)return{instructions:n,warnings:r};let i=e.language,s=t.type;if(s!=="unknown"&&(i==="go"&&s==="go"||i==="typescript"&&(s==="deno"||s==="node")||i==="javascript"&&(s==="deno"||s==="node")||r.push(`Recipe '${e.name}' is for ${i}, but detected ${s} project (${t.configFile}).`)),o.go!==void 0&&o.go.length>0)for(let u of o.go)n.push(`go get ${u}`);if(o.jsr!==void 0&&o.jsr.length>0)for(let u of o.jsr)n.push(`deno add ${u}`);if(o.npm!==void 0&&o.npm.length>0)for(let u of o.npm)n.push(`npm install ${u}`);return{instructions:n,warnings:r}}});var a_={};ve(a_,{main:()=>U7});var B7,U7,l_=k(()=>{"use strict";Rn();Dt();Gr();Pu();Nf();Rb();B7=e=>{let t={};for(let n of e){let[r,...o]=String(n).split("=");r!==void 0&&r!==""&&(t[r]=o.join("="))}return t},U7=async e=>{let t=Xe(e??[],{string:["registry","var"],boolean:["dry-run","force","skip-existing","verbose","local"],collect:["var"]}),n=t._[0],r=t.registry,o=t["dry-run"]===!0,i=t.force===!0,s=t["skip-existing"]===!0,u=t.verbose===!0,d=t.local===!0,f=B7(t.var);if(n===void 0)return console.log("Usage: eser kit add <recipe> [--registry <url>] [--dry-run] [--var key=value]"),console.log("\nRun `eser kit list` to see available recipes."),ge(void 0);try{let h=await Su(r,{verbose:u,local:d}),y=h.recipes.find(H=>H.name===n);if(y===void 0)return console.error(Pe(`Recipe '${n}' not found. Run \`eser kit list\` to see available recipes.`)),he({exitCode:1});let x=Deno.cwd(),w=await Bf(x),A=Uf(y,w);for(let H of A.warnings)console.warn(is(`Warning: ${H}`));console.log(o?Se(`
17
- Dry run: ${y.name} (${y.description})
18
- `):Se(`
19
- Adding ${y.name}...
20
- `));let F=await s_(n,h.recipes,{cwd:x,registryUrl:h.registryUrl,force:i,skipExisting:s,dryRun:o,verbose:u,variables:f}),D=o?"Would write":"Added",L=0,N=0;for(let H of F.recipes)L+=H.result.written.length,N+=H.result.skipped.length;console.log(Rt(`
21
- \u2713 ${D} ${L} file(s)`)),F.recipes.length>1&&console.log(ye(` Applied ${F.recipes.length} recipes (including dependencies)`)),N>0&&console.log(ye(` Skipped ${N} existing file(s)`));let Y=F.recipes.find(H=>H.name===n);if(Y!==void 0)for(let H of Y.result.written)console.log(` \u2192 ${H}`);if(A.instructions.length>0){console.log(ye(`
22
- Dependencies:`));for(let H of A.instructions)console.log(ye(` Run: ${H}`))}return ge(void 0)}catch(h){let y=h instanceof Error?h.message:String(h);return console.error(Pe(`Error: ${y}`)),he({exitCode:1})}}});var c_={};ve(c_,{main:()=>H7});var z7,W7,H7,u_=k(()=>{"use strict";Rn();Dt();Gr();Pu();z7=["project","structure","utility"],W7={project:"PROJECTS",structure:"STRUCTURES",utility:"UTILITIES"},H7=async e=>{let t=Xe(e??[],{string:["registry","language","scale","tag"],boolean:["local"]}),n=t.registry,r=t.local===!0,o=t.language,i=t.scale,s=t.tag;try{let u=await Su(n,{local:r}),d=[...u.recipes];if(o!==void 0&&(d=d.filter(f=>f.language===o)),i!==void 0&&(d=d.filter(f=>f.scale===i)),s!==void 0&&(d=d.filter(f=>f.tags!==void 0&&f.tags.includes(s))),d.length===0)return console.log("No recipes found matching your filters."),console.log("Run `eser kit list` without filters to see all recipes."),ge(void 0);console.log(ga(`${u.name} \u2014 ${u.description}
23
- `));for(let f of z7){let h=d.filter(y=>y.scale===f);if(h.length!==0){console.log(Se(W7[f]));for(let y of h){let x=ye(`[${y.language}]`);console.log(` ${y.name.padEnd(20)} ${y.description} ${x}`)}console.log()}}return ge(void 0)}catch(u){let d=u instanceof Error?u.message:String(u);return console.error(Pe(`Error: ${d}`)),he({exitCode:1})}}});var d_={};ve(d_,{main:()=>G7});var G7,p_=k(()=>{"use strict";Rn();Dt();Gr();Pu();Nf();Rb();G7=async e=>{let t=Xe(e??[],{string:["name","registry","var"],boolean:["local"],collect:["var"]}),n=t._[0],r=t.name??n,o=t.registry,i=t.local===!0,s={};for(let u of t.var){let[d,...f]=String(u).split("=");d!==void 0&&d!==""&&(s[d]=f.join("="))}r!==void 0&&s.project_name===void 0&&(s.project_name=r);try{let u=await Su(o,{local:i}),d=u.recipes.filter(A=>A.scale==="project");if(n===void 0){console.log(`Usage: eser kit new <template> [--name <project-name>] [--var key=value]
24
- `),console.log(`Available project templates:
25
- `);for(let A of d){let F=ye(`[${A.language}]`);console.log(` ${A.name.padEnd(20)} ${A.description} ${F}`)}return ge(void 0)}let f=d.find(A=>A.name===n);if(f===void 0)return console.error(Pe(`Template '${n}' not found. Run \`eser kit new\` to see available templates.`)),he({exitCode:1});if(r===void 0)return console.error(Pe("Project name is required.")),he({exitCode:1});let h=`${Deno.cwd()}/${r}`;try{await Deno.mkdir(h,{recursive:!0})}catch{return console.error(Pe(`Could not create directory: ${h}`)),he({exitCode:1})}console.log(Se(`
26
- Creating ${r} from ${f.name}...
27
- `));let y=await Lc(f,{cwd:h,registryUrl:u.registryUrl,force:!0,variables:s});console.log(Rt(`
28
- \u2713 Created ${r} with ${y.written.length} file(s)`));for(let A of y.written)console.log(` \u2192 ${A}`);if(y.postInstallRan.length>0){console.log(ye(`
29
- Post-install commands ran:`));for(let A of y.postInstallRan)console.log(ye(` \u2713 ${A}`))}let x=await Bf(h),w=Uf(f,x);if(w.instructions.length>0){console.log(ye(`
30
- Next steps:`)),console.log(ye(` cd ${r}`));for(let A of w.instructions)console.log(ye(` ${A}`))}return ge(void 0)}catch(u){let d=u instanceof Error?u.message:String(u);return console.error(Pe(`Error: ${d}`)),he({exitCode:1})}}});var m_={};ve(m_,{main:()=>V7,parseSpecifier:()=>f_});var f_,V7,g_=k(()=>{"use strict";Rn();Dt();Gr();Pu();Nf();Rb();f_=e=>{let t=e.replace(/^gh:/,""),[n,r]=t.split("#");if(n===void 0)return;let o=n.split("/");if(!(o.length!==2||o[0]===""||o[1]===""))return{owner:o[0],repo:o[1],ref:r??"main"}},V7=async e=>{let t=Xe(e??[],{string:["recipe","name","var"],boolean:["force","dry-run","skip-existing","verbose"],collect:["var"],alias:{p:"name"}}),n=t._[0],r=t.recipe??"recipe.json",o=t.name,i=t.force===!0,s=t["dry-run"]===!0,u=t["skip-existing"]===!0,d=t.verbose===!0,f={};for(let y of t.var){let[x,...w]=String(y).split("=");x!==void 0&&x!==""&&(f[x]=w.join("="))}if(n===void 0)return console.log(`Usage: eser kit clone <specifier> [options]
31
-
32
- Specifier formats:
33
- eser/ajan GitHub repo (default branch)
34
- gh:eser/ajan#v1.0 GitHub repo at specific tag/branch
35
-
36
- Options:
37
- --recipe <path> Path to recipe.json in the repo (default: recipe.json)
38
- --name, -p <dir> Target directory (default: current directory)
39
- --var key=value Template variable (repeatable)
40
- --force Overwrite existing files
41
- --dry-run Preview without writing
42
- --verbose Show detailed output`),ge(void 0);let h=f_(n);if(h===void 0)return console.error(Pe(`Invalid specifier: '${n}'. Use format: owner/repo or gh:owner/repo#ref`)),he({exitCode:1});try{console.log(Se(`
43
- Cloning from ${h.owner}/${h.repo}@${h.ref}...
44
- `)),d&&console.log(ye(` Fetching ${r} from ${h.owner}/${h.repo}@${h.ref}`));let y=await wb(h.owner,h.repo,h.ref,r);console.log(` Recipe: ${ga(y.name)} \u2014 ${y.description}`);let x=Deno.cwd();if(o!==void 0){x=`${Deno.cwd()}/${o}`;try{await Deno.mkdir(x,{recursive:!0})}catch{return console.error(Pe(`Could not create directory: ${x}`)),he({exitCode:1})}}o!==void 0&&f.project_name===void 0&&(f.project_name=o);let w=`https://raw.githubusercontent.com/${h.owner}/${h.repo}/${h.ref}`;s&&console.log(ye(`
45
- Dry run \u2014 no files will be written
46
- `));let A=await Lc(y,{cwd:x,registryUrl:w,force:i,skipExisting:u,dryRun:s,verbose:d,variables:f});console.log(Rt(`
47
- \u2713 ${s?"Would write":"Cloned"} ${A.written.length} file(s) from ${y.name}`)),A.skipped.length>0&&console.log(ye(` Skipped ${A.skipped.length} existing file(s)`));for(let N of A.written)console.log(` \u2192 ${N}`);if(A.postInstallRan.length>0){console.log(ye(`
48
- Post-install:`));for(let N of A.postInstallRan)console.log(ye(` \u2713 ${N}`))}let D=await Bf(x),L=Uf(y,D);if(L.instructions.length>0){console.log(ye(`
49
- Dependencies:`));for(let N of L.instructions)console.log(ye(` Run: ${N}`))}return ge(void 0)}catch(y){let x=y instanceof Error?y.message:String(y);return console.error(Pe(`Error: ${x}`)),he({exitCode:1})}}});var h_={};ve(h_,{main:()=>Y7});var Y7,y_=k(()=>{"use strict";Rn();Dt();Gr();Pu();Nf();Y7=async e=>{let t=Xe(e??[],{string:["registry"],boolean:["dry-run","verbose","local"]}),n=t._[0],r=t.registry,o=t["dry-run"]===!0,i=t.verbose===!0,s=t.local===!0;if(n===void 0)return console.log("Usage: eser kit update <recipe> [--registry <url>] [--dry-run]"),console.log(`
50
- Re-fetches and re-applies a recipe, overwriting existing files.`),ge(void 0);try{let u=await Su(r,{verbose:i,local:s}),d=u.recipes.find(y=>y.name===n);if(d===void 0)return console.error(Pe(`Recipe '${n}' not found. Run \`eser kit list\` to see available recipes.`)),he({exitCode:1});console.log(o?Se(`
51
- Dry run: updating ${d.name} (${d.description})
52
- `):Se(`
53
- Updating ${d.name}...
54
- `));let f=await Lc(d,{cwd:Deno.cwd(),registryUrl:u.registryUrl,force:!0,dryRun:o,verbose:i});console.log(Rt(`
55
- \u2713 ${o?"Would update":"Updated"} ${f.written.length} file(s) from ${d.name}`));for(let y of f.written)console.log(` \u2192 ${y}`);return ge(void 0)}catch(u){let d=u instanceof Error?u.message:String(u);return console.error(Pe(`Error: ${d}`)),he({exitCode:1})}}});var zf,Ok=k(()=>{"use strict";zf=class extends Error{constructor(n,r,o,i){super(n);this.command=r;this.code=o;this.stderr=i;this.name="CommandError"}}});var Wf,rc,Mk,Ik=k(()=>{"use strict";we();Ok();Wf=new TextDecoder,rc=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=Wf.decode(n.stderr);throw new zf(`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 Wf.decode(n.stdout).trim();case"stderr":return Wf.decode(n.stderr).trim();case"combined":return(Wf.decode(n.stdout)+Wf.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(`
56
- `)}async bytes(){return(await this.spawn()).stdout}async code(){return(await this.noThrow().spawn()).code}pipe(t){return new Mk([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"})}},Mk=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=Wf.decode(r.stdout)}return t.trim()}async lines(){let t=await this.text();return t===""?[]:t.split(`
57
- `)}}});var Tb,x_,X7,Dk=k(()=>{"use strict";Tb=(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=>x_(String(u))).join(" ")):s!=null&&n.push(x_(String(s)))}}let r=n.join("").trim();return X7(r)},x_=e=>/[\s"'\\$`]/.test(e)?`'${e.replace(/'/g,"'\\''")}'`:e,X7=e=>{let t=[],n="",r=!1,o=!1,i=!1;for(let u=0;u<e.length;u++){let d=e[u];if(i){n+=d,i=!1;continue}if(d==="\\"){i=!0;continue}if(d==="'"&&!o){r=!r;continue}if(d==='"'&&!r){o=!o;continue}if(d===" "&&!r&&!o){n.length>0&&(t.push(n),n="");continue}n+=d}n.length>0&&t.push(n);let s=t[0];return s===void 0?["",[]]:[s,t.slice(1)]}});var ft,v_=k(()=>{"use strict";Ik();Dk();ft=(e,...t)=>{let[n,r]=Tb(e,t);return new rc(n,r)}});var Zn={};ve(Zn,{CommandBuilder:()=>rc,CommandError:()=>zf,exec:()=>ft,parseCommand:()=>Tb});var Ws=k(()=>{Ok();Ik();Dk();v_()});var kb,_k=k(()=>{"use strict";kb=()=>{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 J7,K7,b_,Lk,w_,C_,R_=k(()=>{"use strict";J7=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,d]of Object.entries(r))u==="continueOnError"?i=d===!0:u==="timeout"?s=d*1e3:o[u]=d;return{name:n,options:o,continueOnError:i,timeout:s}},K7=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)}},b_=async(e,t,n={})=>{let r=performance.now(),o=[],i=n.defaultTimeout??6e4;for(let u of e.steps){let d=J7(u);if(n.only!==void 0&&d.name!==n.only)continue;let f=t.get(d.name);if(f===void 0)throw new Error(`Unknown tool '${d.name}' in workflow '${e.id}'. Registered tools: ${t.names().join(", ")||"(none)"}`);let h={...d.options,root:n.root??".",fix:n.fix??!1,_args:n.args??[]};n.changedFiles!==void 0&&(h._changedFiles=n.changedFiles),n.onStepStart?.(d.name);let y=performance.now(),x;try{let F=d.timeout??i;x=await K7(f.run(h),F,d.name)}catch(F){if(d.continueOnError)x={name:d.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}},Lk=(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(d=>d.id===i);if(s===void 0)throw new Error(`Workflow '${e.id}' includes '${i}' but no workflow with that id exists. Available: ${t.map(d=>d.id).join(", ")||"(none)"}`);let u=Lk(s,t,r);o.push(...u.steps)}return{...e,steps:[...o,...e.steps],includes:void 0}},w_=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=Lk(o,t.workflows);return await b_(i,n,r)},C_=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=Lk(s,t),d=await b_(u,n,r);i.push(d)}return i}});var Z7,Eb,Nk=k(()=>{"use strict";_f();Ph();Z7=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})`)}}},Eb=async e=>{let t=await nc(e);if(t===null)return null;let n={stack:t.stack,workflows:t.workflows??[],scripts:t.scripts};return Z7(n),n}});var Sb,Bk=k(()=>{"use strict";Ws();Sb={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 rc("sh",["-c",u]).cwd(s).noThrow().spawn(),h=f.code;if(h===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(`
58
- `);return{name:r,passed:!1,issues:[{message:A||`Command exited with code ${h}`}],mutations:[],stats:{exitCode:h}}}}});var T_={};ve(T_,{main:()=>q7});var Q7,j7,q7,k_=k(()=>{Gr();Rn();Dt();we();Ws();_k();R_();Nk();Bk();Q7=50,j7=(e,t,n)=>{let r=".".repeat(Math.max(1,Q7-e.length)),o=`${(t.durationMs/1e3).toFixed(1)}s`,i;if(t.passed&&t.mutations.length>0)i=is(`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,d])=>`${d} ${u}`).join(", ");i=Rt(`Passed (${s}, ${o})`)}else i=Rt(`Passed (${o})`);else i=Pe(`Failed (${o})`);return`${e}${r}${i}`},q7=async(e,t)=>{let n=Xe(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
59
- `),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"),ge(void 0);let r=n.event,o=n.workflow,i=n.fix??!1,s=n["dry-run"]??!1,u=n.only,d=n._,f=n.verbose??!1,h=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."),he({exitCode:1});let x=kb();x.register(Sb),t?.tools!==void 0&&x.registerAll(t.tools);let w=n.config??".",A=await Eb(w);if(A===null)return console.error("Error: no .manifest.yml found in current directory."),he({exitCode:1});let F;if(y)try{F=await ft`git diff --name-only HEAD`.cwd(w).noThrow().lines()}catch{console.warn(is("Warning: could not run git, running without file filtering."))}let D=[],L={root:w,fix:i,dryRun:s,only:u,args:d,changedFiles:F,onStepStart:void 0,onStepEnd:h?void 0:N=>{if(console.log(j7(N.name,N,f)),!N.passed||f)for(let Y of N.issues){let H=Y.path!==void 0?Y.line!==void 0?`${Y.path}:${Y.line}`:Y.path:"";console.log(` ${Pe("\u2717")} ${H}${H.length>0?": ":""}${Y.message}`)}},onMutations:async N=>{if(!s)for(let Y of N)Y.oldContent!==Y.newContent&&await C.fs.writeTextFile(Y.path,Y.newContent)}};try{let N=!0,Y=0,H=0;if(r!==void 0){let W=await C_(r,A.workflows,x,L);for(let M of W){D.push(M),M.passed||(N=!1);for(let ne of M.steps)ne.passed||(H++,Y+=ne.issues.length)}}else{let W=await w_(o,A,x,L);D.push(W),N=W.passed;for(let M of W.steps)M.passed||(H++,Y+=M.issues.length)}return h&&console.log(JSON.stringify(D,null,2)),N?(h||console.log(Rt(`
60
- All checks passed!`)),ge(void 0)):(h||console.error(Pe(`
61
- ${H} check(s) failed with ${Y} issue(s)`)),he({exitCode:1}))}catch(N){return console.error(Pe(`Error: ${N instanceof Error?N.message:String(N)}`)),he({exitCode:1})}}});var Mh,E_,Uk=k(()=>{"use strict";Ph();Mh=async e=>{let t=await nc(e);return t===null?null:t},E_=async e=>await RD(e)});var $7,Kde,eY,Zde,tY,Qde,jde,S_=k(()=>{"use strict";$7=async function*(){},Kde=$7.constructor,eY=function*(){},Zde=eY.constructor,tY=async()=>{},Qde=tY.constructor,jde=globalThis.Function});var P_=k(()=>{"use strict";Dt()});var A_=k(()=>{"use strict"});var F_=k(()=>{"use strict"});var O_=k(()=>{"use strict"});var ki=k(()=>{S_();P_();A_();Dt();F_();O_()});var M_=k(()=>{"use strict";Dt()});var I_=k(()=>{"use strict";Dt()});var D_,__,zk=k(()=>{"use strict";Dt();D_=async(e,t,n=0)=>{let r=he(new Error("No attempts made"));for(let o=0;o<t;o++){if(r=await e(),ri(r))return r;o<t-1&&n>0&&await new Promise(i=>setTimeout(i,n))}return r},__=async(e,t,n)=>{let r=null,o=new Promise(i=>{r=setTimeout(()=>i(he(n)),t)});try{return await Promise.race([e(),o])}finally{r!==null&&clearTimeout(r)}}});var Tn={};ve(Tn,{all:()=>mY,allPar:()=>gY,failTask:()=>Pb,flatMap:()=>lY,flatMapW:()=>cY,fromPromise:()=>sY,map:()=>aY,provideContext:()=>uY,runTask:()=>Wk,succeed:()=>L_,task:()=>Hs,validate:()=>fY,withAbort:()=>dY,withLogging:()=>pY,withRetry:()=>hY,withTimeout:()=>yY});var Hs,L_,Pb,sY,aY,lY,cY,Wk,uY,dY,pY,fY,mY,gY,hY,yY,Hk=k(()=>{"use strict";Dt();zk();Hs=e=>({_tag:"Task",execute:e}),L_=e=>Hs(()=>Promise.resolve(ge(e))),Pb=e=>Hs(()=>Promise.resolve(he(e))),sY=(e,t=n=>n)=>Hs(async()=>{try{return ge(await e())}catch(n){return he(t(n))}}),aY=(e,t)=>Hs(async n=>{let r=await e.execute(n);return ri(r)?ge(t(r.value)):r}),lY=(e,t)=>Hs(async n=>{let r=await e.execute(n);return oi(r)?r:t(r.value).execute(n)}),cY=(e,t)=>Hs(async n=>{let r=await e.execute(n);return oi(r)?r:t(r.value).execute(n)}),Wk=(e,...t)=>e.execute(t[0]),uY=(e,t)=>Hs(()=>e.execute(t)),dY=(e,t)=>Hs(async n=>{let{signal:r}=n,o=n;if(r.aborted)return he({_tag:"AbortError",message:"Operation was already aborted"});let i;try{let s=new Promise(u=>{r.addEventListener("abort",()=>u(he({_tag:"AbortError",message:"Operation aborted"})),{once:!0}),t>0&&(i=setTimeout(()=>u(he({_tag:"AbortError",message:`Operation timed out after ${t}ms`})),t))});return await Promise.race([e.execute(o),s])}finally{i!==void 0&&clearTimeout(i)}}),pY=(e,t)=>Hs(async n=>{let{logger:r}=n,o=n;r.info(`[${t}] started`);let i=await e.execute(o);return ri(i)?r.info(`[${t}] completed`):r.error(`[${t}] failed`,{error:i.error}),i}),fY=(e,t)=>n=>e(n)?L_(n):Pb({_tag:"ValidationError",message:t}),mY=e=>Hs(async t=>{let n=[];for(let r of e){let o=await r.execute(t);if(oi(o))return o;n.push(o.value)}return ge(n)}),gY=e=>Hs(async t=>{let n=await Promise.all(e.map(o=>o.execute(t))),r=[];for(let o of n){if(oi(o))return o;r.push(o.value)}return ge(r)}),hY=(e,t,n=0)=>Hs(r=>D_(()=>e.execute(r),t,n)),yY=(e,t,n)=>Hs(r=>__(()=>e.execute(r),t,n))});var hn={};ve(hn,{adaptError:()=>xY,bind:()=>N_,createTrigger:()=>vY});var xY,N_,vY,B_=k(()=>{"use strict";Dt();Hk();xY=(e,t)=>({_tag:"AdaptError",message:e,source:t}),N_=(e,t)=>n=>{let r=t(n);return oi(r)?Pb(r.error):e(r.value)},vY=e=>async(t,...n)=>{let r=N_(e.handler,e.adaptInput),o=await Wk(r(t),...n);return e.adaptOutput(o)}});var U_=k(()=>{"use strict"});var Ha=k(()=>{M_();I_();Hk();B_();U_();zk()});var z_,W_,H_,Gk=k(()=>{"use strict";z_=e=>{let t=[];for(let n of e)t.push(`--${n.name}`),n.short!==void 0&&t.push(`-${n.short}`);return t.join(" ")},W_=(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?z_(e.flags):"",o=[n,r].filter(s=>s.length>0).join(" "),i=` ${t})
62
- `;i+=` COMPREPLY=( $(compgen -W "${o}" -- "\${cur}") )
63
- `,i+=` return 0
64
- `,i+=` ;;
65
- `;for(let s of e.children)s.children!==void 0&&s.children.length>0&&(i+=W_(s,`${t} ${s.name}`));return i},H_=(e,t)=>{let n=t.children?.map(s=>s.name).join(" ")??"",r=t.flags!==void 0?z_(t.flags):"",o=[n,r].filter(s=>s.length>0).join(" "),i="";if(t.children!==void 0)for(let s of t.children)i+=W_(s,s.name);return`# ${e} bash completion
66
- # Generated by @eser/shell/completions
67
-
68
- _${e}_completions() {
69
- local cur prev words cword
70
- _init_completion || return
71
-
72
- COMPREPLY=()
73
- cur="\${COMP_WORDS[COMP_CWORD]}"
74
- prev="\${COMP_WORDS[COMP_CWORD-1]}"
75
-
76
- # Build the command path from words
77
- local cmd_path=""
78
- local i
79
- for ((i=1; i<COMP_CWORD; i++)); do
80
- case "\${COMP_WORDS[i]}" in
81
- -*)
82
- # Skip flags
83
- ;;
84
- *)
85
- if [[ -n "$cmd_path" ]]; then
86
- cmd_path="$cmd_path \${COMP_WORDS[i]}"
87
- else
88
- cmd_path="\${COMP_WORDS[i]}"
89
- fi
90
- ;;
91
- esac
92
- done
93
-
94
- case "$cmd_path" in
95
- ${i} "")
96
- COMPREPLY=( $(compgen -W "${o}" -- "\${cur}") )
97
- return 0
98
- ;;
99
- esac
100
- }
101
-
102
- complete -F _${e}_completions ${e}
103
- `}});var G_,wY,CY,V_,Y_,Vk=k(()=>{"use strict";G_=e=>e.replace(/'/g,"'\\''"),wY=e=>{let t=[];for(let n of e){let r=G_(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},CY=e=>e.map(n=>{let r=G_(n.description??n.name);return`'${n.name}:${r}'`}).join(`
104
- `),V_=(e,t,n)=>{let o=`${n.length===0?`_${e}`:`_${e}_${n.join("_")}`}() {
105
- `;if(o+=` local -a commands
106
- `,o+=` local -a flags
107
-
108
- `,t.flags!==void 0&&t.flags.length>0){let i=wY(t.flags);o+=` flags=(
109
- ${i.join(`
110
- `)}
111
- )
112
-
113
- `}if(t.children!==void 0&&t.children.length>0){o+=` commands=(
114
- `,o+=` ${CY(t.children)}
115
- `,o+=` )
116
-
117
- `,o+=` _arguments -C \\
118
- `,t.flags!==void 0&&t.flags.length>0&&(o+=' "${flags[@]}" \\\n'),o+=` '1: :->command' \\
119
- `,o+=` '*::arg:->args'
120
-
121
- `,o+=` case "$state" in
122
- `,o+=` command)
123
- `,o+=` _describe -t commands 'command' commands
124
- `,o+=` ;;
125
- `,o+=` args)
126
- `,o+=' case "${words[1]}" in\n';for(let i of t.children){let s=[...n,i.name],u=`_${e}_${s.join("_")}`;o+=` ${i.name})
127
- `,o+=` ${u}
128
- `,o+=` ;;
129
- `}o+=` esac
130
- `,o+=` ;;
131
- `,o+=` esac
132
- `}else t.flags!==void 0&&t.flags.length>0&&(o+=' _arguments "${flags[@]}"\n');if(o+=`}
133
-
134
- `,t.children!==void 0)for(let i of t.children)o+=V_(e,i,[...n,i.name]);return o},Y_=(e,t)=>{let n=`#compdef ${e}
135
- `;return n+=`# ${e} zsh completion
136
- `,n+=`# Generated by @eser/shell/completions
137
-
138
- `,n+=V_(e,t,[]),n}});var X_,TY,J_,K_,Yk=k(()=>{"use strict";X_=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),TY=(e,t,n)=>{let r="";for(let o of t){let i=X_(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+`
139
- `}return r},J_=(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=X_(i.description??i.name);if(n.length===0)r+=`complete -c ${e} -f ${o} `,r+=`-a "${i.name}" -d '${s}'
140
- `;else{let u=`-n "__fish_seen_subcommand_from ${n[n.length-1]}"`;r+=`complete -c ${e} -f ${u} `,r+=`-a "${i.name}" -d '${s}'
141
- `}}for(let i of t.children)r+=J_(e,i,[...n,i.name])}return t.flags!==void 0&&t.flags.length>0&&(r+=TY(e,t.flags,o)),r},K_=(e,t)=>{let n=`# ${e} fish completion
142
- `;return n+=`# Generated by @eser/shell/completions
143
-
144
- `,n+=`complete -c ${e} -f
145
-
146
- `,n+=J_(e,t,[]),n}});var Z_=k(()=>{"use strict";Gk();Vk();Yk()});var Q_,Xk=k(()=>{"use strict";Z_();Gk();Vk();Yk();Q_=(e,t,n)=>{switch(e){case"bash":return H_(t,n);case"zsh":return Y_(t,n);case"fish":return K_(t,n)}}});var Jk,PY,AY,j_,Kk,Zk,Qk=k(()=>{"use strict";Jk=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}},PY=e=>e!=null&&e.constructor===String,AY={boolean:e=>!!e,number:e=>PY(e)?Number(e):e,string:e=>String(e),"string[]":e=>Array.isArray(e)?e.map(String):[String(e)]},j_=(e,t)=>{if(e!==void 0)return AY[t]?.(e)??e},Kk=(e,t)=>{let n={};for(let r of t){let o=e[r.name];n[r.name]=j_(o,r.type)}return n},Zk=(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 q_,FY,OY,MY,IY,DY,_Y,jk,qk=k(()=>{"use strict";q_=(e,t)=>e+" ".repeat(Math.max(0,t-e.length)),FY=e=>{let t=e.short!==void 0?`-${e.short}, `:"",n=e.type!=="boolean"?` <${e.type}>`:"";return`${t}--${e.name}${n}`},OY=(e,t)=>[e.description!==void 0?`${t} - ${e.description}`:t,""],MY=(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}`,""]},IY=e=>{if(e.length===0)return[];let t=Math.max(...e.map(r=>r.name.length));return["Commands:",...e.map(r=>` ${q_(r.name,t+2)}${r.description??""}`),""]},DY=e=>{if(e.length===0)return[];let t=e.map(o=>({flag:FY(o),desc:o.description})),n=Math.max(...t.map(o=>o.flag.length));return["Options:",...t.map(({flag:o,desc:i})=>` ${q_(o,n+2)}${i}`),""]},_Y=e=>e?.length?["Examples:",...e.map(t=>` ${t}`),""]:[],jk=(e,t)=>{let n=t.join(" "),r=[...OY(e,n),...MY(e,n),...IY(e.children),...DY(e.flags),..._Y(e.examples)];return e.children.length>0&&r.push(`Run '${n} <command> --help' for more information on a command.`),r.join(`
147
- `)}});var ii,$_=k(()=>{"use strict";Gr();Dt();we();Qk();qk();Xk();ii=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#h=[{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.#h,...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.#g(n,[])}async#g(t,n){let r=this.#p(),o=Jk(r),i=Xe(t,{...o,stopEarly:this.#i.length>0}),s=Kk(i,r),u=i._;if(this.#d!==void 0&&s.version===!0)return console.log(`${this.#e} ${this.#d}`),ge(void 0);if(s.help===!0)return console.log(this.help()),ge(void 0);let d=u[0];if(d!==void 0&&this.#i.length>0){let w=this.#y(d);if(w!==void 0)return await w.#g(u.slice(1),[...n,this.#e])}if(this.#u===void 0)return console.log(this.help()),ge(void 0);let f=Zk(s,r);if(f.length>0)return he({message:f.join(`
148
- `),exitCode:1});let h=this.#x(u);if(h!==void 0)return he({message:h,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 jk(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 Q_(t,this.#e,n)}}});var Ab=k(()=>{$_();Qk();qk()});var e2,LY,NY,Fb,t2=k(()=>{"use strict";Rn();e2=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)")},LY=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],NY=80,Fb=class{intervalId;frames;frameInterval;currentFrame=0;message;constructor(t,n={}){this.message=t,this.frames=n.frames??LY,this.frameInterval=n.interval??NY}start(){return this.intervalId=setInterval(()=>{let t=this.frames[this.currentFrame];e2(`\r${Ae.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(`${Ae.success("\u2713")} ${t??this.message}`)}fail(t){this.stop(),console.log(`${Ae.error("\u2717")} ${t??this.message}`)}warn(t){this.stop(),console.log(`${Ae.warning("\u26A0")} ${t??this.message}`)}info(t){this.stop(),console.log(`${Ae.info("\u2139")} ${t??this.message}`)}stop(){this.intervalId&&(clearInterval(this.intervalId),e2(`\r${" ".repeat(this.message.length+4)}\r`))}}});var Ob,Mb,Ib,Db,_b,Lb,Nb,Bb,Ub,zb,Wb,Hb,eE=k(()=>{"use strict";Rn();Ob=e=>[{line:"",channel:"stdout"},{line:Ae.bold(e),channel:"stdout"},{line:Ae.gray("\u2500".repeat(e.length)),channel:"stdout"}],Mb=(e,t=null)=>{let n=[{line:`${Ae.success("\u2713")} ${e}`,channel:"stdout"}];return t!==null&&n.push({line:Ae.dim(` ${t}`),channel:"stdout"}),n},Ib=(e,t=null)=>{let n=[{line:`${Ae.error("\u2717")} ${e}`,channel:"stderr"}];return t!==null&&n.push({line:Ae.dim(` ${t}`),channel:"stderr"}),n},Db=(e,t=null)=>{let n=[{line:`${Ae.warning("\u26A0")} ${e}`,channel:"stderr"}];return t!==null&&n.push({line:Ae.dim(` ${t}`),channel:"stderr"}),n},_b=(e,t=null)=>{let n=[{line:`${Ae.info("\u2139")} ${e}`,channel:"stdout"}];return t!==null&&n.push({line:Ae.dim(` ${t}`),channel:"stdout"}),n},Lb=(e,t)=>[{line:` ${Ae.dim(e+":")} ${t}`,channel:"stdout"}],Nb=e=>{let t=[{line:"",channel:"stdout"},{line:Ae.bold("Next steps:"),channel:"stdout"},{line:"",channel:"stdout"}];return e.forEach((n,r)=>{t.push({line:` ${Ae.dim((r+1).toString()+".")} ${n}`,channel:"stdout"})}),t.push({line:"",channel:"stdout"}),t},Bb=(e,t=Ae.brand)=>{if(e.length===0)return[];let n=e.split(`
149
- `),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 d=" ".repeat(o-u.length);s.push({line:`${t("\u2502")} ${u}${d} ${t("\u2502")}`,channel:"stdout"})}),s.push({line:t(`\u2570${i}\u256F`),channel:"stdout"}),s},Ub=()=>[{line:"\x1Bc",channel:"stdout"}],zb=()=>[{line:"",channel:"stdout"}],Wb=(e=40,t="\u2500")=>[{line:Ae.dim(t.repeat(e)),channel:"stdout"}],Hb=(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(d=>d.length)):0);return n.map(([d,f])=>{let h=d.padEnd(u);return{line:`${i}${Ae.dim(h+":")} ${f}`,channel:"stdout"}})}});var Gb,n2,r2,o2,i2,as,tE=k(()=>{"use strict";Gb=()=>(e,t="stdout")=>{t==="stderr"?console.error(e):console.log(e)},n2=(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+`
150
- `))}finally{u.releaseLock()}}},r2=()=>{let e=[];return{target:(n,r="stdout")=>{e.push({line:n,channel:r})},lines:e,output:()=>e.map(n=>n.line).join(`
151
- `),clear:()=>{e.length=0}}},o2=(e,t)=>{},i2=(...e)=>async(t,n="stdout")=>{await Promise.all(e.map(r=>r(t,n)))},as=(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 s2,a2=k(()=>{"use strict";Rn();eE();tE();s2=(e=Gb())=>({printSection:t=>as(Ob(t),e),printSuccess:(t,n=null)=>as(Mb(t,n),e),printError:(t,n=null)=>as(Ib(t,n),e),printWarning:(t,n=null)=>as(Db(t,n),e),printInfo:(t,n=null)=>as(_b(t,n),e),printItem:(t,n)=>as(Lb(t,n),e),printNextSteps:t=>as(Nb(t),e),boxText:(t,n=Ae.brand)=>as(Bb(t,n),e),clearTerminal:()=>as(Ub(),e),blank:()=>as(zb(),e),printRule:(t,n)=>as(Wb(t,n),e),printTable:(t,n)=>as(Hb(t,n),e)})});var Kt={};ve(Kt,{Spinner:()=>Fb,bgBlack:()=>_D,bgBlue:()=>UD,bgCyan:()=>WD,bgGreen:()=>ND,bgMagenta:()=>zD,bgRed:()=>LD,bgWhite:()=>HD,bgYellow:()=>BD,black:()=>kD,blue:()=>kk,bold:()=>ga,brightBlue:()=>OD,brightCyan:()=>ID,brightGreen:()=>AD,brightMagenta:()=>MD,brightRed:()=>PD,brightWhite:()=>DD,brightYellow:()=>FD,c:()=>Ae,createOutput:()=>s2,cyan:()=>Se,dim:()=>ye,emitLines:()=>as,formatBlank:()=>zb,formatBox:()=>Bb,formatClearTerminal:()=>Ub,formatError:()=>Ib,formatInfo:()=>_b,formatItem:()=>Lb,formatNextSteps:()=>Nb,formatRule:()=>Wb,formatSection:()=>Ob,formatSuccess:()=>Mb,formatTable:()=>Hb,formatWarning:()=>Db,getConsoleTarget:()=>Gb,getMultiplexTarget:()=>i2,getStreamTarget:()=>n2,getTestTarget:()=>r2,gray:()=>Ek,green:()=>Rt,italic:()=>Tk,magenta:()=>ED,nullTarget:()=>o2,red:()=>Pe,strikethrough:()=>TD,stripAnsi:()=>GD,supportsColor:()=>VD,underline:()=>Ah,white:()=>SD,yellow:()=>is});var l2=k(()=>{"use strict";Rn();t2();a2();tE();eE()});var ls=k(()=>{Xk();Ab();Ws();l2()});function Ga(e,t){return e.replace(Ih,t)}var Ih,Ei,Vs=k(()=>{Ih=/\.(?:[cm]?[jt]sx?)$/,Ei=["tsx","jsx","ts","js","mts","mjs","cts","cjs"]});var bl,Dh,Vb,jd,_h=k(()=>{"use strict";bl={DenoJson:"deno.json",DenoJsonc:"deno.jsonc",JsrJson:"jsr.json",JsrJsonc:"jsr.jsonc",PackageJson:"package.json"},Dh=[bl.DenoJson,bl.DenoJsonc,bl.JsrJson,bl.JsrJsonc,bl.PackageJson],Vb=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 Yb(e){if(new.target)throw new TypeError("Cannot create an instance: parse is not a constructor");return new nE(e).parse()}function Au({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 nE,u2=k(()=>{nE=class{#e=new Set(` \r
152
- `);#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(Au(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]===`
153
- `||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(Au(t))}}#u(){let t={};for(;;){let n=this.#o();if(n.type==="EndObject")return t;if(n.type!=="String")throw new SyntaxError(Au(n));let r=this.#d(n),o=this.#o();if(o.type!=="NameSeparator")throw new SyntaxError(Au(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(Au(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(Au(r))}}#d(t){let n;try{n=JSON.parse(t.sourceText)}catch{throw new SyntaxError(Au(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(Au(t))}if(typeof n!="number")throw new TypeError(`Parsed value is not a number: ${n}`);return n}}});var rE=k(()=>{u2()});var p2=k(()=>{});function Xb(e,t,n){return y2(e,t,new Set,n??UY)}function y2(e,t,n,r){let o={},i=new Set([...h2(e),...h2(t)]);for(let s of i){if(s==="__proto__")continue;let u=e[s];if(!Object.hasOwn(t,s)){o[s]=u;continue}let d=t[s];if(g2(u)&&g2(d)&&!n.has(u)&&!n.has(d)){n.add(u),n.add(d),o[s]=zY(u,d,n,r);continue}o[s]=d}return o}function zY(e,t,n,r){if(f2(e)&&f2(t))return y2(e,t,n,r);if(m2(e)&&m2(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 f2(e){return Object.getPrototypeOf(e)===Object.prototype}function m2(e){return typeof e[Symbol.iterator]=="function"}function g2(e){return e!==null&&typeof e=="object"}function h2(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 UY,x2=k(()=>{UY={arrays:"merge",sets:"merge",maps:"merge"}});function WY(e){return e%4===0&&e%100!==0||e%400===0}function rt(e){return{ok:!0,body:e}}function _t(){return{ok:!1}}function sE(e,t={__proto__:null}){return e.reduceRight((n,r)=>({[r]:n}),t)}function v2(e){return typeof e=="object"&&e!==null}function b2(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 HY(e,t){let{keys:n,type:r,value:o}=t,i=b2(e,n);if(i===void 0)return Object.assign(e,sE(n,o));if(Array.isArray(i)){let s=i.at(-1);return Lh(s,{type:r,keys:n.slice(1),value:o}),e}if(v2(i))return Lh(i,{type:r,keys:n.slice(1),value:o}),e;throw new Error("Unexpected assign")}function GY(e,t){let{type:n,keys:r,value:o}=t,i=b2(e,r);if(i===void 0)return Object.assign(e,sE(r,[o]));if(Array.isArray(i)){if(t.keys.length===1)i.push(o);else{let s=i.at(-1);Lh(s,{type:t.type,keys:t.keys.slice(1),value:t.value})}return e}if(v2(i))return Lh(i,{type:n,keys:r.slice(1),value:o}),e;throw new Error("Unexpected assign")}function Lh(e,t){switch(t.type){case"Block":return Xb(e,t.value);case"Table":return HY(e,t);case"TableArray":return GY(e,t)}}function aE(e){return t=>{for(let n of e){let r=n(t);if(r.ok)return r}return _t()}}function VY(e,t){let n=Nh(t);return r=>{let o=[],i=e(r);if(!i.ok)return rt(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 rt(o)}}function YY(e,t){let n=Nh(t);return r=>{let o=e(r);if(!o.ok)return _t();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 rt(i)}}function XY(e,t,n){let r=Nh(t);return o=>{let i=o.position,s=e(o);if(!s.ok)return _t();if(!r(o).ok)throw new SyntaxError(`key/value pair doesn't have "${t}"`);let d=n(o);if(!d.ok){let f=o.source.indexOf(`
154
- `,o.position),h=f>0?f:o.source.length,y=o.source.slice(i,h);throw new SyntaxError(`Cannot parse value on line '${y}'`)}return rt(sE(s.body,d.body))}}function JY(e){return t=>{let n=e(t);if(!n.ok)return _t();let r={__proto__:null};for(let o of n.body)typeof o=="object"&&o!==null&&(r=Xb(r,o));return rt(r)}}function w2(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?_t():rt(n)}}function lE(e,t,n){let r=Nh(e),o=Nh(n);return i=>{if(!r(i).ok)return _t();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 rt(s.body)}}function Nh(e){return t=>(t.skipWhitespaces(),t.startsWith(e)?(t.next(e.length),t.skipWhitespaces(),rt(void 0)):_t())}function ZY(e){e.skipWhitespaces();let t=e.match(KY)?.[0];return t?(e.next(t.length),rt(t)):_t()}function C2(e){if(e.char()!=="\\")return _t();switch(e.next(),e.char()){case"b":return e.next(),rt("\b");case"t":return e.next(),rt(" ");case"n":return e.next(),rt(`
155
- `);case"f":return e.next(),rt("\f");case"r":return e.next(),rt("\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),rt(r)}case'"':return e.next(),rt('"');case"\\":return e.next(),rt("\\");default:throw new SyntaxError(`Invalid escape sequence: \\${e.char()}`)}}function R2(e){if(e.skipWhitespaces(),e.char()!=='"')return _t();e.next();let t=[];for(;e.char()!=='"'&&!e.eof();){if(e.char()===`
156
- `)throw new SyntaxError("Single-line string cannot contain EOL");let n=C2(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:
157
- ${t.join("")}`);return e.next(),rt(t.join(""))}function T2(e){if(e.skipWhitespaces(),e.char()!=="'")return _t();e.next();let t=[];for(;e.char()!=="'"&&!e.eof();){if(e.char()===`
158
- `)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:
159
- ${t.join("")}`);return e.next(),rt(t.join(""))}function QY(e){if(e.skipWhitespaces(),!e.startsWith('"""'))return _t();e.next(3),e.char()===`
160
- `?e.next():e.startsWith(`\r
161
- `)&&e.next(2);let t=[];for(;!e.startsWith('"""')&&!e.eof();){if(e.startsWith(`\\
162
- `)){e.next(),e.nextUntilChar({skipComments:!1});continue}else if(e.startsWith(`\\\r
163
- `)){e.next(),e.nextUntilChar({skipComments:!1});continue}let n=C2(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:
164
- ${t.join("")}`);return e.char(3)==='"'&&(t.push('"'),e.next()),e.next(3),rt(t.join(""))}function jY(e){if(e.skipWhitespaces(),!e.startsWith("'''"))return _t();e.next(3),e.char()===`
165
- `?e.next():e.startsWith(`\r
166
- `)&&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:
167
- ${t.join("")}`);return e.char(3)==="'"&&(t.push("'"),e.next()),e.next(3),rt(t.join(""))}function $Y(e){e.skipWhitespaces();let t=e.match(qY);if(!t)return _t();let n=t[0];return e.next(n.length),rt(n==="true")}function nX(e){e.skipWhitespaces();let t=e.match(tX);if(!t)return _t();let n=t[0];e.next(n.length);let r=eX.get(n);return rt(r)}function oX(e){e.skipWhitespaces();let t=e.match(rX);if(!t)return _t();let n=t[0];return e.next(n.length),rt(NaN)}function sX(e){e.skipWhitespaces();let t=e.match(iX)?.[0];if(!t)return _t();e.next(t.length);let n=t.slice(2).replaceAll("_",""),r=parseInt(n,2);return isNaN(r)?_t():rt(r)}function lX(e){e.skipWhitespaces();let t=e.match(aX)?.[0];if(!t)return _t();e.next(t.length);let n=t.slice(2).replaceAll("_",""),r=parseInt(n,8);return isNaN(r)?_t():rt(r)}function uX(e){e.skipWhitespaces();let t=e.match(cX)?.[0];if(!t)return _t();e.next(t.length);let n=t.slice(2).replaceAll("_",""),r=parseInt(n,16);return isNaN(r)?_t():rt(r)}function pX(e){e.skipWhitespaces();let t=e.match(dX)?.[0];if(!t)return _t();e.next(t.length);let n=t.replaceAll("_",""),r=parseInt(n,10);return rt(r)}function mX(e){e.skipWhitespaces();let t=e.match(fX)?.[0];if(!t)return _t();e.next(t.length);let n=t.replaceAll("_",""),r=parseFloat(n);return isNaN(r)?_t():rt(r)}function hX(e){e.skipWhitespaces();let t=e.match(gX);if(!t)return _t();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&&!WY(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 rt(o)}function xX(e){e.skipWhitespaces();let t=e.match(yX)?.[0];return t?(e.next(t.length),rt(t)):_t()}function vX(e){if(e.skipWhitespaces(),e.char()!=="[")return _t();e.next();let t=[];for(;!e.eof();){e.nextUntilChar();let n=k2(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(),rt(t)}function bX(e){if(e.nextUntilChar(),e.char(1)==="}")return e.next(2),rt({__proto__:null});let t=lE("{",VY(E2,","),"}")(e);if(!t.ok)return _t();let n={__proto__:null};for(let r of t.body)n=Xb(n,r);return rt(n)}function uE(e){e.nextUntilChar();let t=JY(w2(E2))(e);return t.ok?rt({type:"Block",value:t.body}):_t()}function CX(e){e.nextUntilChar();let t=wX(e);if(!t.ok)return _t();e.nextUntilChar();let n=uE(e);return rt({type:"Table",keys:t.body,value:n.ok?n.body.value:{__proto__:null}})}function TX(e){e.nextUntilChar();let t=RX(e);if(!t.ok)return _t();e.nextUntilChar();let n=uE(e);return rt({type:"TableArray",keys:t.body,value:n.ok?n.body.value:{__proto__:null}})}function S2(e){let t=w2(aE([uE,TX,CX]))(e);if(!t.ok)return rt({__proto__:null});let n=t.body.reduce(Lh,{__proto__:null});return rt(n)}function oE(e,t){let r=e.source.slice(0,e.position).split(`
168
- `),o=r.length,i=r.at(-1)?.length??0;return`Parse error on line ${o}, column ${i}: ${t}`}function P2(e){return t=>{let n=new iE(t);try{let r=e(n);if(r.ok&&n.eof())return r.body;let o=`Unexpected character: "${n.char()}"`;throw new SyntaxError(oE(n,o))}catch(r){if(r instanceof Error)throw new SyntaxError(oE(n,r.message));let o="Invalid error type caught";throw new SyntaxError(oE(n,o))}}}var iE,KY,qY,eX,tX,rX,cE,iX,aX,cX,dX,fX,gX,yX,k2,E2,wX,RX,A2=k(()=>{x2();iE=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()===`
169
- `||this.startsWith(`\r
170
- `)}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)}};KY=/[A-Za-z0-9_-]+/y;qY=/(?:true|false)\b/y;eX=new Map([["inf",1/0],["+inf",1/0],["-inf",-1/0]]),tX=/[+-]?inf\b/y;rX=/[+-]?nan\b/y;cE=YY(aE([ZY,R2,T2]),"."),iX=/0b[01]+(?:_[01]+)*\b/y;aX=/0o[0-7]+(?:_[0-7]+)*\b/y;cX=/0x[0-9a-f]+(?:_[0-9a-f]+)*\b/yi;dX=/[+-]?(?:0|[1-9][0-9]*(?:_[0-9]+)*)\b/y;fX=/[+-]?(?:0|[1-9][0-9]*(?:_[0-9]+)*)(?:\.[0-9]+(?:_[0-9]+)*)?(?:e[+-]?[0-9]+(?:_[0-9]+)*)?\b/yi;gX=/(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})(?:[ 0-9TZ.:+-]+)?\b/y;yX=/(\d{2}):(\d{2}):(\d{2})(?:\.[0-9]+)?\b/y;k2=aE([QY,jY,R2,T2,$Y,nX,oX,hX,xX,sX,lX,uX,mX,pX,vX,bX]),E2=XY(cE,"=",k2);wX=lE("[",cE,"]");RX=lE("[[",cE,"]]")});function Jb(e){return P2(S2)(e)}var F2=k(()=>{A2()});var dE=k(()=>{p2();F2()});var _o,M2=k(()=>{"use strict";_o={Unknown:0,EnvironmentFile:1,Json:2,JsonWithComments:3,Toml:4,Yaml:5}});var EX,Bh,I2,pE,D2=k(()=>{"use strict";rE();dE();_f();we();M2();EX={[_o.Unknown]:"unknown",[_o.EnvironmentFile]:"environment",[_o.Json]:"JSON",[_o.JsonWithComments]:"JSONC",[_o.Toml]:"TOML",[_o.Yaml]:"YAML"},Bh=class extends Error{filepath;format;constructor(t,n,r){super(`Failed to parse ${EX[n]??"unknown"} file "${t}": ${r.message}`,{cause:r}),this.name="ConfigParseError",this.filepath=t,this.format=n}},I2=e=>{let t=C.path.extname(e);return t===".json"?_o.Json:t===".jsonc"?_o.JsonWithComments:t===".yaml"||t===".yml"?_o.Yaml:t===".toml"?_o.Toml:t===".env"?_o.EnvironmentFile:_o.Unknown},pE=async(e,t)=>{let n=t??I2(e),r=await C.fs.readTextFile(e);try{return n===_o.Json?{content:JSON.parse(r),filepath:e,format:n}:n===_o.JsonWithComments?{content:Yb(r),filepath:e,format:n}:n===_o.Yaml?{content:_c(r),filepath:e,format:n}:n===_o.Toml?{content:Jb(r),filepath:e,format:n}:{content:void 0,filepath:e,format:_o.Unknown}}catch(o){throw o instanceof Error?new Bh(e,n,o):new Bh(e,n,new Error(String(o)))}}});var _2=k(()=>{"use strict"});var L2=k(()=>{D2();_2()});var fE,mE=k(()=>{fE=(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 Hf,Uh,Kb=k(()=>{Hf=class extends Error{constructor(t){super(t),this.name="DeepMergeError"}},Uh=(e,t,n)=>{if(t==null){let d=e.constructor,f=new d;for(let h of Object.keys(e))f[h]=e[h];return f}let r=n?.maxDepth??100,o=n?.noSkipUndefined??!1,i=new WeakSet,s=new WeakSet,u=(d,f,h)=>{if(!(d instanceof Object))return d;if(i.has(d))throw new Hf("Circular reference detected in first argument: cannot deep merge objects with circular references");if(f instanceof Object&&s.has(f))throw new Hf("Circular reference detected in second argument: cannot deep merge objects with circular references");if(h>r)throw new Hf(`Maximum recursion depth exceeded (${r}). Objects are too deeply nested or contain circular references.`);i.add(d),f instanceof Object&&s.add(f);try{let y=d.constructor,x=new y,w=Object.keys(d),A=new Set;for(let D=0,L=w.length;D<L;D++){let N=w[D],Y=d[N],H=f!==void 0&&N in f,W=f?.[N];A.add(N);let M=H&&W===void 0&&!o;if(Y instanceof Object&&Y.constructor!==Array){let ne;M?ne=u(Y,{},h+1):H&&W instanceof Object&&W.constructor!==Array?ne=u(Y,W,h+1):H?ne=W:ne=u(Y,{},h+1),x[N]=ne}else M?x[N]=Y:x[N]=H?W:Y}if(f===void 0)return x;let F=Object.keys(f);for(let D=0,L=F.length;D<L;D++){let N=F[D];if(A.has(N))continue;let Y=f[N];Y===void 0&&!o||(Y instanceof Object&&Y.constructor!==Array?x[N]=u({},Y,h+1):x[N]=Y)}return x}finally{i.delete(d),f instanceof Object&&s.delete(f)}};return u(e,t,0)}});var qd,PX,AX,FX,oc,OX,MX,Gf,$d,gE,Vf,Zb=k(()=>{"use strict";L2();mE();Kb();we();_h();qd=class extends Error{filepath;constructor(t,n,r){super(t,{cause:r}),this.name="PackageLoadError",this.filepath=n}},PX=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 pE(e)).content;if(s!==void 0)return{filepath:e,fileType:t,content:s,rawText:o}},AX=async(e,t)=>{let n=[];for(let r of t){let o=C.path.join(e,r),i=await PX(o,r);i&&n.push(i)}return n},FX=(e,t)=>fE(e,t.split(".")),oc=(e,t,n)=>{let r,o,i=[];for(let s of t){let u=n[e]?.[s.fileType];if(u===void 0)continue;let d=FX(s.content,u);if(d===void 0)continue;let f={filepath:s.filepath,fileType:s.fileType,propertyPath:u};r===void 0?(r=d,o=f):i.push(f)}if(!(r===void 0||o===void 0))return{value:r,origin:o,alternateOrigins:i}},OX=e=>e===void 0?jd:Uh(jd,e),MX=e=>[...e].sort((t,n)=>Dh.indexOf(t)-Dh.indexOf(n)),Gf=async(e={})=>{let{baseDir:t=".",includeFiles:n=Dh,fieldMappings:r,searchParents:o=!1}=e,i=OX(r),s=MX(n),u=C.path.resolve(t),d=[];for(;d=await AX(u,s),!(d.length>0||!o);){let h=C.path.dirname(u);if(h===u)break;u=h}if(d.length===0)throw new qd(`No config files found in ${t}. Looked for: ${s.join(", ")}`);return{name:oc("name",d,i),version:oc("version",d,i),description:oc("description",d,i),license:oc("license",d,i),private:oc("private",d,i),exports:oc("exports",d,i),workspaces:oc("workspaces",d,i),imports:oc("imports",d,i),dependencies:oc("dependencies",d,i),devDependencies:oc("devDependencies",d,i),[Vb]:u,_loadedFiles:d}},$d=async(e={})=>{try{return await Gf(e)}catch(t){if(t instanceof qd)return;throw t}},gE=(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))},Vf=e=>e[Vb]});var IX,N2,DX,_X,LX,NX,B2,Qb,U2=k(()=>{"use strict";we();_h();Zb();IX=(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},N2=e=>e!=="__proto__"&&e!=="constructor"&&e!=="prototype",DX=(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||!N2(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&&N2(i)&&(o[i]=n)},_X=e=>`${JSON.stringify(e,null,2)}
171
- `,LX=async(e,t)=>{let n=JSON.parse(JSON.stringify(e.content));for(let[o,i]of Object.entries(t))DX(n,o,i);let r=_X(n);await C.fs.writeTextFile(e.filepath,r),e.content=n,e.rawText=r},NX=(e,t,n)=>{let{targetFiles:r="all",createIfMissing:o=!1}=n,i=e[t];if(r==="origin"){if(i===void 0){let d=e._loadedFiles[0];return o&&d!==void 0?[d]:[]}let u=e._loadedFiles.find(d=>d.filepath===i.origin.filepath);return u?[u]:[]}if(r==="all")return!i&&!o?[]:!i&&o?[...e._loadedFiles]:gE(e,t);let s=new Set(r);return e._loadedFiles.filter(u=>s.has(u.fileType))},B2=async(e,t,n,r={})=>{let o=[],i=[],s=[],u=NX(e,t,r);if(u.length===0)return{updated:o,failed:i,skipped:s};for(let d of u){let f=jd[t]?.[d.fileType];if(!f){s.push(d.filepath);continue}if(IX(d.content,f)===n){s.push(d.filepath);continue}try{await LX(d,{[f]:n}),o.push(d.filepath)}catch(y){i.push({filepath:d.filepath,reason:y instanceof Error?y.message:String(y)})}}if(o.length>0){let d=e[t];if(d)d.value=n;else{let f=e._loadedFiles.find(h=>o.includes(h.filepath));if(f){let h=jd[t]?.[f.fileType];h&&(e[t]={value:n,origin:{filepath:f.filepath,fileType:f.fileType,propertyPath:h},alternateOrigins:[]})}}}return{updated:o,failed:i,skipped:s}},Qb=async(e,t,n)=>await B2(e,"version",t,{...n,targetFiles:"all"})});var zh,z2,BX,Fu,W2=k(()=>{"use strict";we();Zb();zh=class extends Error{constructor(t){super(t),this.name="WorkspaceError"}},z2=async e=>{try{return await Gf({baseDir:e})}catch(t){throw t instanceof qd?new zh(`No package config file found in ${C.path.resolve(e)}`):t}},BX=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,"[^/]"),h=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!==""&&h.test(x)&&n.push(y.path)}}catch{}}else n.push(C.path.join(e,r));return n},Fu=async e=>{let t=await z2(e),n=t.workspaces?.value;if(!Array.isArray(n))throw new zh("Package config doesn't have workspace field.");for(let i of n)if(typeof i!="string")throw new zh("Package config workspace field should be an array of strings.");let r=await BX(e,n),o=[];for(let i of r){let s=await $d({baseDir:i});if(s===void 0)continue;let u=s.name?.value,d=s.version?.value,f=s.private?.value;u!==void 0&&f!==!0&&o.push({name:u,version:d??"0.0.0",config:s})}return[t,o]}});var Yf=k(()=>{_h();Zb();U2();W2()});var Ou,UX,H2,qb,Wh=k(()=>{"use strict";Vs();we();Yf();Ou=async(e=".")=>{let[t,n]=await Fu(e);return n.map(r=>({name:r.name,version:r.version,path:Vf(r.config),config:r.config,entrypoints:UX(r.config)}))},UX=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[]},H2=(e,t)=>C.path.isAbsolute(e)?e:C.path.resolve(t,e),qb=async e=>{let t=[];for await(let n of C.fs.walk(e,{exts:Ei,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 Si,cs=k(()=>{"use strict";Dt();we();Si=(e,t)=>({command:e,args:t._??[],flags:Object.fromEntries(Object.entries(t).filter(([n])=>n!=="_"))})});var Y2={};ve(Y2,{checkCircularDeps:()=>ew,checkCircularDepsHandler:()=>G2,handleCli:()=>V2,main:()=>VX});var Hh,zX,WX,ew,G2,HX,GX,V2,VX,hE=k(async()=>{ki();Ha();ls();Wh();cs();Hh=Kt.createOutput(),zX=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 d=s.imports;if(d!==void 0)for(let f of Object.values(d))n.has(f)&&o.push(f)}t.set(r.name,[...new Set(o)])}return t},WX=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 d of u)if(!n.has(d))i(d);else if(r.has(d)){let f=o.indexOf(d),h=o.slice(f);h.push(d),t.push(h)}o.pop(),r.delete(s)};for(let s of e.keys())n.has(s)||i(s);return t},ew=async(e={})=>{let{root:t="."}=e,n=await Ou(t),r=zX(n),o=WX(r);return{hasCycles:o.length>0,cycles:o,packagesChecked:n.length}},G2=e=>Tn.fromPromise(()=>ew(e)),HX=e=>K.ok({root:"."}),GX=e=>{if(K.isFail(e))return Hh.printError(e.error instanceof Error?e.error.message:String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Hh.printInfo(`Checked ${t.packagesChecked} packages.`),t.hasCycles){Hh.printError(`Found ${t.cycles.length} circular dependencies:`);for(let n of t.cycles)Hh.printWarning(`${n.join(" \u2192 ")}`);return K.fail({exitCode:1})}return Hh.printSuccess("No circular dependencies found."),K.ok(void 0)},V2=hn.createTrigger({handler:G2,adaptInput:HX,adaptOutput:GX}),VX=async e=>await V2({command:"validate-circular-deps",args:[],flags:{}})});var yE,X2=k(async()=>{"use strict";await hE();yE={name:"validate-circular-deps",description:"Detect circular package dependencies",requiredStacks:[],async validate(e){let t=await ew({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 J2=k(()=>{"use strict"});var K2=k(()=>{"use strict";J2()});var Z2=k(()=>{"use strict"});var Q2=k(()=>{"use strict"});var j2=k(()=>{"use strict"});var q2=k(()=>{"use strict"});var $2=k(()=>{"use strict";Z2();Q2();j2();q2()});var KX,xE,Nc,Kfe,Zfe,Qfe,jfe,qfe,$fe,eme,tme,nme,eL=k(()=>{"use strict";KX={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"},xE=class extends Error{status;constructor(t,n){super(n??KX[t]??"Unknown Error"),this.name="HttpError",this.status=t}},Nc=e=>t=>new xE(e,t),Kfe=Nc(400),Zfe=Nc(401),Qfe=Nc(403),jfe=Nc(404),qfe=Nc(409),$fe=Nc(422),eme=Nc(429),tme=Nc(500),nme=Nc(503)});var tL=k(()=>{"use strict"});var nL=k(()=>{"use strict";tL()});var Be,tw,Xf=k(()=>{Be={Trace:1,Debug:5,Info:9,Notice:10,Warning:13,Error:17,Critical:21,Alert:22,Emergency:23},tw={[Be.Trace]:"Trace",[Be.Debug]:"Debug",[Be.Info]:"Info",[Be.Notice]:"Notice",[Be.Warning]:"Warning",[Be.Error]:"Error",[Be.Critical]:"Critical",[Be.Alert]:"Alert",[Be.Emergency]:"Emergency"}});var Gh,rL,oL,jX,iL=k(()=>{"use strict";Gh=()=>{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,oL(e))};return r},rL=e=>{let t=new Map;if(e)for(let[n,r]of e)t.set(n,r);return oL(t)},oL=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=Gh();for(let[o,i]of e)r.set(o,n(i,o));return r.build()},filter:n=>{let r=Gh();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=Gh();for(let[r,o]of e)n.set(r,o);return n},merge:(...n)=>{let r=Gh();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)},jX=rL()});var qX,rw,$X,vE=k(()=>{"use strict";qX=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,rw(t))};return o},rw=e=>{let t={entries:e,keysCache:null,valuesCache:null,entriesCache:null,lazyCache:new Map},n=(i,s)=>{let[u,d]=s;if(u==="value")return d;if(t.lazyCache.has(i))return t.lazyCache.get(i);let h=d();if(!(h instanceof Promise))return t.lazyCache.set(i,h),h},r=async(i,s)=>{let[u,d]=s;if(u==="value")return d;if(t.lazyCache.has(i))return t.lazyCache.get(i);let h=await d();return t.lazyCache.set(i,h),h};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[d]=u;d==="value"?i.push(u[1]):d==="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[d]=u;d==="value"?i.push([s,u[1]]):d==="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:()=>qX(t.entries)})},$X=rw(new Map)});var sL=k(()=>{"use strict";vE()});var aL=k(()=>{"use strict"});var lL=k(()=>{"use strict"});var cL=k(()=>{"use strict";iL();sL();vE();aL();lL()});var uL,dL,pL,bE,fL=k(()=>{"use strict";uL=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),dL=e=>{let t=[],n=new Set,r="",o=e,i=/\[(\.\.\.)?(\w+)\]/;for(;o.length>0;){let s=i.exec(o);if(s===null){r+=uL(o);break}s.index>0&&(r+=uL(o.slice(0,s.index)));let u=s[1]==="...",d=s[2];d!==void 0&&(t.push(d),u?(n.add(d),r+="(.*)"):r+="([^/]+)"),o=o.slice(s.index+s[0].length)}return{regex:new RegExp(`^${r}$`),paramNames:t,catchAllParams:n}},pL=(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},bE=(e,t)=>{let n=dL(t);return pL(e,n)}});var wE=k(()=>{fL()});var gL=k(()=>{"use strict"});var hL=k(()=>{"use strict"});var yL=k(()=>{"use strict";hL()});function ow(e,t){if(isNaN(e)||isNaN(t))throw new Error("Cannot compare against non-numbers");return e===t?0:e<t?-1:1}function bL(e=[],t=[]){return e.length&&!t.length?-1:!e.length&&t.length?1:0}function RE(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 TE(e){return typeof e=="number"&&!Number.isNaN(e)&&(!Number.isFinite(e)||0<=e&&e<=Number.MAX_SAFE_INTEGER)}function Vh(e){return e.split(".").filter(Boolean).map(t=>{if(cJ.test(t)){let n=Number(t);if(TE(n))return n}return t})}function Yh(e){return e.split(".").filter(Boolean)}function iw(e,t){let n=Number(e);if(!TE(n))throw new TypeError(t);return n}var Jf,oJ,iJ,xL,wL,vL,CL,RL,TL,kL,sJ,CE,EL,aJ,lJ,kE,cJ,ha=k(()=>{Jf="0|[1-9]\\d*",oJ="\\d*[a-zA-Z-][a-zA-Z0-9-]*",iJ=`(?<major>${Jf})\\.(?<minor>${Jf})\\.(?<patch>${Jf})`,xL=`(?:${Jf}|${oJ})`,wL=`(?:-(?<prerelease>${xL}(?:\\.${xL})*))`,vL="[0-9A-Za-z-]+",CL=`(?:\\+(?<buildmetadata>${vL}(?:\\.${vL})*))`,RL=`v?${iJ}${wL}?${CL}?`,TL=new RegExp(`^${RL}$`),kL="(?:<|>)?=?",sJ="x|X|\\*",CE=`${Jf}|${sJ}`,EL=`[v=\\s]*(?<major>${CE})(?:\\.(?<minor>${CE})(?:\\.(?<patch>${CE})${wL}?${CL}?)?)?`,aJ=new RegExp(`^(?<operator>~>?|\\^|${kL})\\s*${EL}$`),lJ=new RegExp(`^(?<operator>${kL})\\s*(${RL})$|^$`);kE=256,cJ=new RegExp(`^${Jf}$`)});function Va(e,t){return e===t?0:ow(e.major,t.major)||ow(e.minor,t.minor)||ow(e.patch,t.patch)||bL(e.prerelease,t.prerelease)||RE(e.prerelease,t.prerelease)}var Ya=k(()=>{ha()});var SL=k(()=>{ha()});function EE(e){return e.toFixed(0)}function sw(e){let t=EE(e.major),n=EE(e.minor),r=EE(e.patch),o=e.prerelease?.join(".")??"",i=e.build?.join(".")??"";return[[`${t}.${n}.${r}`,o].filter(d=>d).join("-"),i].filter(d=>d).join("+")}var SE=k(()=>{});var lw=k(()=>{ha();Ya()});var Xh=k(()=>{lw()});function uJ(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 Jh(e=[],t){let n=uJ(e);if(!t)return n;let r=Vh(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 AL(e,t,n={}){let r=n.build!==void 0?Yh(n.build):e.build??[];switch(t){case"premajor":return{major:e.major+1,minor:0,patch:0,prerelease:Jh(e.prerelease,n.prerelease),build:r};case"preminor":return{major:e.major,minor:e.minor+1,patch:0,prerelease:Jh(e.prerelease,n.prerelease),build:r};case"prepatch":return{major:e.major,minor:e.minor,patch:e.patch+1,prerelease:Jh(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:Jh(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:Jh(e.prerelease,n.prerelease),build:r};default:throw new TypeError(`Cannot increment version: invalid argument ${t}`)}}var FL=k(()=>{ha()});var PE,OL,Kh=k(()=>{PE={major:Number.NaN,minor:Number.NaN,patch:Number.NaN,prerelease:[],build:[]},OL={operator:void 0,...PE}});var AE=k(()=>{Kh();ha()});var FE=k(()=>{Ya()});var ML=k(()=>{Xh();FE()});var ME=k(()=>{Ya()});var IL=k(()=>{Xh();ME()});var IE=k(()=>{ha();Kh()});function Mu(e){if(typeof e!="string")throw new TypeError(`Cannot parse version as version must be a string: received ${typeof e}`);if(e.length>kE)throw new TypeError(`Cannot parse version as version length is too long: length is ${e.length}, max length is ${kE}`);e=e.trim();let t=e.match(TL)?.groups;if(!t)throw new TypeError(`Cannot parse version: ${e}`);let n=iw(t.major,`Cannot parse version ${e}: invalid major version`),r=iw(t.minor,`Cannot parse version ${e}: invalid minor version`),o=iw(t.patch,`Cannot parse version ${e}: invalid patch version`),i=t.prerelease?Vh(t.prerelease):[],s=t.buildmetadata?Yh(t.buildmetadata):[];return{major:n,minor:r,patch:o,prerelease:i,build:s}}var cw=k(()=>{ha();ha()});var DL=k(()=>{ha();Ya();Xh()});var _L=k(()=>{});var LL=k(()=>{IE()});var NL=k(()=>{Kh();Kh();AE()});var BL=k(()=>{cw()});var UL=k(()=>{cw()});var zL=k(()=>{SE();ha()});var WL=k(()=>{Ya()});var HL=k(()=>{Ya()});var GL=k(()=>{lw();ha();Ya()});var VL=k(()=>{Ya()});var YL=k(()=>{lw();ha();Ya()});var XL=k(()=>{Ya()});var DE=k(()=>{Ya();SL();SE();Xh();FL();AE();ML();IL();IE();cw();DL();_L();LL();NL();BL();UL();zL();WL();HL();FE();GL();VL();ME();YL();XL()});var KL=k(()=>{"use strict";DE()});var $t=k(()=>{K2();$2();eL();nL();Xf();Vs();cL();wE();gL();we();yL();KL()});var qL={};ve(qL,{checkModExports:()=>uw,checkModExportsHandler:()=>QL,handleCli:()=>jL,main:()=>yJ});var Zh,fJ,ZL,mJ,uw,QL,gJ,hJ,jL,yJ,_E=k(async()=>{ki();Ha();$t();ls();Wh();cs();Zh=Kt.createOutput(),fJ=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},ZL=e=>{let t=e.startsWith("./")?e.slice(2):e;return t.endsWith(".ts")&&(t=t.slice(0,-3)),t},mJ=e=>!(e==="mod.ts"||e.endsWith("_test.ts")||e.endsWith("_bench.ts")||e.startsWith("_")||e.includes("/")),uw=async(e={})=>{let{root:t=".",failFast:n=!1}=e,r=await Ou(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 d=fJ(u),f=new Set([...d].map(y=>ZL(y))),h=await qb(i.path);for(let y of h){let x=ue.current.path.basename(y);if(!mJ(x))continue;let w=ZL(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}},QL=e=>Tn.fromPromise(()=>uw(e)),gJ=e=>K.ok({root:"."}),hJ=e=>{if(K.isFail(e))return Zh.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Zh.printInfo(`Checked ${t.packagesChecked} packages.`),!t.isComplete){Zh.printError(`Found ${t.missingExports.length} missing exports:`);for(let n of t.missingExports)Zh.printWarning(`${n.packageName}: ${n.file}`);return K.fail({exitCode:1})}return Zh.printSuccess("All mod.ts exports are complete."),K.ok(void 0)},jL=hn.createTrigger({handler:QL,adaptInput:gJ,adaptOutput:hJ}),yJ=async e=>await jL({command:"validate-mod-exports",args:[],flags:{}})});var LE,$L=k(async()=>{"use strict";await _E();LE={name:"validate-mod-exports",description:"Validate mod.ts exports all files",requiredStacks:["javascript"],async validate(e){let t=await uw({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 nN={};ve(nN,{checkExportNames:()=>dw,checkExportNamesHandler:()=>eN,handleCli:()=>tN,main:()=>wJ});var ep,NE,BE,dw,eN,vJ,bJ,tN,wJ,UE=k(async()=>{ki();Ha();$t();ls();Wh();cs();ep=Kt.createOutput(),NE=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]+/g,"-").toLowerCase(),BE=(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},dw=async(e={})=>{let{root:t=".",ignoreWords:n=[]}=e,r=await Ou(t),o=[];for(let i of r){let s=i.config.exports?.value;if(s!=null){if(typeof s=="string"){BE(s,n)||o.push({packageName:i.name,exportPath:s,suggestion:NE(s)});continue}if(s!==null&&typeof s=="object")for(let[u,d]of Object.entries(s))BE(u,n)||o.push({packageName:i.name,exportPath:u,suggestion:NE(u)}),typeof d=="string"&&!BE(d,n)&&o.push({packageName:i.name,exportPath:d,suggestion:NE(d)})}}return{isValid:o.length===0,violations:o,packagesChecked:r.length}},eN=e=>Tn.fromPromise(()=>dw(e)),vJ=e=>K.ok({root:"."}),bJ=e=>{if(K.isFail(e))return ep.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(ep.printInfo(`Checked ${t.packagesChecked} packages.`),!t.isValid){ep.printError(`Found ${t.violations.length} naming violations:`);for(let n of t.violations)ep.printWarning(n.packageName),ep.printInfo(` Export: ${n.exportPath}`),ep.printInfo(` Suggestion: ${n.suggestion}`);return K.fail({exitCode:1})}return ep.printSuccess("All export names follow conventions."),K.ok(void 0)},tN=hn.createTrigger({handler:eN,adaptInput:vJ,adaptOutput:bJ}),wJ=async e=>await tN({command:"validate-export-names",args:[],flags:{}})});var zE,rN=k(async()=>{"use strict";await UE();zE={name:"validate-export-names",description:"Validate export naming conventions",requiredStacks:["javascript"],async validate(e){let t=await dw({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 aN={};ve(aN,{checkDocs:()=>pw,checkDocsHandler:()=>iN,handleCli:()=>sN,main:()=>FJ});var Kf,RJ,oN,TJ,kJ,EJ,pw,SJ,iN,PJ,AJ,sN,FJ,WE=k(async()=>{ki();Ha();$t();ls();Wh();cs();Kf=Kt.createOutput(),RJ=/\/\*\*\s*([\s\S]*?)\s*\*\//g,oN=/export\s+(const|function|class|type|interface)\s+(\w+)/g,TJ=/@example/,kJ=e=>{let t=[],n;for(oN.lastIndex=0;(n=oN.exec(e))!==null;){let r=n.index,o=n[2];if(o===void 0)continue;let s=e.substring(0,r).split(`
172
- `).length,u=null,f=[...e.substring(0,r).matchAll(RJ)];if(f.length>0){let h=f[f.length-1];if(h!==void 0){let y=(h.index??0)+h[0].length,x=e.substring(y,r);/^\s*$/.test(x)&&(u=h[1]??null)}}t.push({jsdoc:u,symbolName:o,line:s})}return t},EJ=(e,t,n)=>{let r=[];if(e===null)return r.push("missing-description"),r;let o=e.split(`
173
- `)[0]?.trim();return(!o||o.startsWith("@"))&&r.push("empty-description"),n&&!TJ.test(e)&&r.push("missing-example"),r},pw=async(e={})=>{let{root:t=".",requireExamples:n=!1}=e,r=await Ou(t),o=[],i=0,s=0;for(let u of r){let d=await qb(u.path);for(let f of d){let h=H2(f,u.path),y;try{y=await ue.current.fs.readTextFile(h)}catch{continue}i++;let x=kJ(y);for(let{jsdoc:w,symbolName:A,line:F}of x){s++;let D=EJ(w,A,n);for(let L of D)o.push({file:h,symbol:A,issue:L,line:F})}}}return{isValid:o.length===0,issues:o,filesChecked:i,symbolsChecked:s}},SJ=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"}},iN=e=>Tn.fromPromise(()=>pw(e)),PJ=e=>K.ok({root:"."}),AJ=e=>{if(K.isFail(e))return Kf.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Kf.printInfo(`Checked ${t.filesChecked} files, ${t.symbolsChecked} symbols.`),!t.isValid){Kf.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){Kf.printWarning(r);for(let i of o){let s=i.line!==void 0?`:${i.line}`:"";Kf.printInfo(` ${i.symbol}${s}: ${SJ(i.issue)}`)}}return K.fail({exitCode:1})}return Kf.printSuccess("All documentation is valid."),K.ok(void 0)},sN=hn.createTrigger({handler:iN,adaptInput:PJ,adaptOutput:AJ}),FJ=async e=>await sN({command:"validate-docs",args:[],flags:{}})});var HE,lN=k(async()=>{"use strict";await WE();HE={name:"validate-docs",description:"Validate JSDoc documentation",requiredStacks:["javascript"],async validate(e){let t=e.options?.requireExamples,n=await pw({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 cN=k(()=>{"use strict"});var uN=k(()=>{"use strict"});var dN=k(()=>{"use strict"});var pN=k(()=>{"use strict"});var fN=k(()=>{"use strict"});var mN=k(()=>{"use strict"});var gN=k(()=>{"use strict"});var hN=k(()=>{"use strict"});var yN=k(()=>{"use strict"});var GE=k(()=>{"use strict"});var xN=k(()=>{"use strict"});var vN=k(()=>{"use strict"});var Iu=k(()=>{"use strict"});var bN=k(()=>{"use strict"});var wN=k(()=>{"use strict";Iu()});var CN=k(()=>{"use strict"});var RN=k(()=>{"use strict"});var TN=k(()=>{"use strict";Iu()});var kN=k(()=>{"use strict"});var fw,EN=k(()=>{"use strict";fw=(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 SN=k(()=>{"use strict"});var PN=k(()=>{"use strict"});var AN=k(()=>{"use strict"});var FN=k(()=>{"use strict"});var ON=k(()=>{"use strict"});var MN=k(()=>{"use strict"});var IN=k(()=>{"use strict"});var DN=k(()=>{"use strict"});var _N=k(()=>{"use strict";GE()});var LN=k(()=>{"use strict";Iu()});var NN=k(()=>{"use strict"});var BN=k(()=>{"use strict"});var UN=k(()=>{"use strict"});var zN=k(()=>{"use strict"});var WN=k(()=>{"use strict"});var HN=k(()=>{"use strict"});var GN=k(()=>{"use strict"});var VN=k(()=>{"use strict";Iu()});var YN=k(()=>{"use strict"});var XN=k(()=>{"use strict";Iu()});var JN=k(()=>{"use strict"});var KN=k(()=>{"use strict"});var ZN=k(()=>{"use strict"});var QN=k(()=>{"use strict"});var jN=k(()=>{"use strict"});var qN=k(()=>{"use strict";Iu()});var $N=k(()=>{"use strict"});var eB=k(()=>{"use strict"});var tB=k(()=>{"use strict"});var nB=k(()=>{cN();uN();dN();pN();fN();mN();gN();hN();yN();GE();Kb();xN();vN();Iu();bN();wN();CN();RN();TN();kN();mE();EN();SN();PN();AN();FN();ON();MN();IN();DN();_N();LN();NN();BN();UN();zN();WN();HN();GN();VN();YN();XN();JN();KN();ZN();QN();jN();qN();$N();eB();tB()});var aB={};ve(aB,{checkPackageConfigs:()=>mw,checkPackageConfigsHandler:()=>iB,handleCli:()=>sB,main:()=>VJ});var Xa,DJ,rB,_J,LJ,NJ,BJ,UJ,zJ,mw,oB,WJ,iB,HJ,GJ,sB,VJ,VE=k(async()=>{ki();Ha();nB();ls();Yf();_h();cs();Xa=Kt.createOutput(),DJ=(e,t)=>e===t?!0:typeof e!=typeof t||typeof e!="object"||e===null||t===null?!1:JSON.stringify(e)===JSON.stringify(t),rB=(e,t)=>e[t],_J=e=>e.startsWith("npm:@jsr/"),LJ=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}`},NJ=(e,t)=>_J(t)?LJ(t):t.startsWith("npm:")?t:`npm:${e}@${t}`,BJ=e=>e==="workspace:*"||e.startsWith("workspace:"),UJ=(e,t,n)=>{let r=[],o=t.dependencies??{},i=t.devDependencies??{},s={...o,...i},u=n.imports??{};for(let[d,f]of Object.entries(s)){if(BJ(f))continue;let h=NJ(d,f),y=u[d];y===void 0?r.push({packageName:e,dependencyName:d,issue:"missing_in_deno",expected:h}):y!==h&&r.push({packageName:e,dependencyName:d,issue:"version_mismatch",expected:h,actual:y})}for(let[d,f]of Object.entries(u))s[d]===void 0&&r.push({packageName:e,dependencyName:d,issue:"missing_in_package",actual:u[d]});return r},zJ=async(e,t)=>{let n=[],r=[],o=await Gf({baseDir:e,includeFiles:[bl.DenoJson,bl.PackageJson]}),i=o._loadedFiles.find(f=>f.fileType===bl.DenoJson),s=o._loadedFiles.find(f=>f.fileType===bl.PackageJson);if(i===void 0||s===void 0)return{inconsistencies:[],dependencyInconsistencies:[]};let u=["name","version","exports"];for(let f of u){let h=rB(i.content,f),y=rB(s.content,f);h===void 0||y===void 0||DJ(h,y)||n.push({packageName:t,field:f,denoValue:h,packageValue:y})}let d=UJ(t,s.content,i.content);return r.push(...d),{inconsistencies:n,dependencyInconsistencies:r}},mw=async(e={})=>{let{root:t=".",failFast:n=!1}=e,[r,o]=await Fu(t),i=[],s=[],u=0;for(let f of o){let h=Vf(f.config);try{let y=await zJ(h,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}},oB=e=>typeof e=="string"?`"${e}"`:JSON.stringify(e,null,2),WJ=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}`}},iB=e=>Tn.fromPromise(()=>mw(e)),HJ=e=>K.ok({root:"."}),GJ=e=>{if(K.isFail(e))return Xa.printError(String(e.error)),K.fail({exitCode:1});let{value:t}=e;if(Xa.printInfo(`Checked ${t.packagesChecked} packages.`),!t.isConsistent){if(t.inconsistencies.length>0){Xa.printError(`Found ${t.inconsistencies.length} field inconsistencies:`);let n=fw(t.inconsistencies,r=>r.packageName);for(let[r,o]of Object.entries(n)){Xa.printWarning(r);for(let i of o)Xa.printError(` ${i.field} mismatch:`),Xa.printInfo(` deno.json: ${oB(i.denoValue)}`),Xa.printInfo(` package.json: ${oB(i.packageValue)}`)}}if(t.dependencyInconsistencies.length>0){Xa.printError(`Found ${t.dependencyInconsistencies.length} dependency inconsistencies:`);let n=fw(t.dependencyInconsistencies,r=>r.packageName);for(let[r,o]of Object.entries(n)){Xa.printWarning(r);for(let i of o)Xa.printError(` ${i.dependencyName}:`),Xa.printInfo(` ${WJ(i)}`)}}return K.fail({exitCode:1})}return Xa.printSuccess("All package configs are consistent."),K.ok(void 0)},sB=hn.createTrigger({handler:iB,adaptInput:HJ,adaptOutput:GJ}),VJ=async e=>await sB({command:"validate-package-configs",args:[],flags:{}})});var YE,lB=k(async()=>{"use strict";await VE();YE={name:"validate-package-configs",description:"Validate deno.json/package.json consistency",requiredStacks:["javascript"],async validate(e){let t=await mw({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 dB={};ve(dB,{DEFAULT_EXCLUDES:()=>cB,applyMutations:()=>KJ,isBinaryBytes:()=>uB,loadBytes:()=>JE,loadContent:()=>Qh,matchesAnyPattern:()=>JJ,walkSourceFiles:()=>XE,writeMutations:()=>ZJ});var cB,XJ,XE,Qh,JE,uB,JJ,KJ,ZJ,gw=k(()=>{"use strict";we();Ws();cB=[/node_modules/,/\.git\//,/\/dist\//,/etc\/coverage/,/etc\/temp/,/\.output\//],XJ=async e=>{try{let t=await ft`git ls-files --cached --others --exclude-standard`.cwd(e).noThrow().lines();return t.length>0?t:null}catch{return null}},XE=async(e={})=>{let{root:t=".",extensions:n,exclude:r=[]}=e,o=[...cB,...r.map(u=>typeof u=="string"?new RegExp(u):u)],i=[],s=await XJ(t);if(s!==null)for(let u of s){let d=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(d)||x.test(u)))continue;let h=0,y=!1;try{let x=await C.fs.lstat(d);if(h=x.size,y=x.isSymlink,x.isDirectory&&!(e.includeDirs??!1))continue}catch{continue}i.push({path:d,name:f,size:h,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 d=0;try{d=(await C.fs.stat(u.path)).size}catch{continue}i.push({path:u.path,name:u.name,size:d,isSymlink:u.isSymlink})}if(e.includeOnly!==void 0&&e.includeOnly.length>0){let u=e.includeOnly;return i.filter(d=>u.some(f=>d.path.endsWith(f)||d.path.includes(f)))}return i},Qh=async e=>{if(e.textContent!==void 0)return e.textContent;try{let t=await JE(e);if(uB(t))return;let n=new TextDecoder().decode(t);return e.textContent=n,n}catch{return}},JE=async e=>{if(e.rawBytes!==void 0)return e.rawBytes;let t=await C.fs.readFile(e.path);return e.rawBytes=t,t},uB=e=>{let t=Math.min(e.length,8192);for(let n=0;n<t;n++)if(e[n]===0)return!0;return!1},JJ=(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},KJ=(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)}},ZJ=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 hw,Lt,si=k(()=>{"use strict";Gr();ki();ls();gw();cs();gw();hw=Kt.createOutput(),Lt=e=>{let t=async i=>{let s={root:i?.root??".",fix:i?.fix??!1,exclude:i?.exclude??[],...e.defaults,...i},u=i?._changedFiles,d={root:s.root,extensions:e.extensions,exclude:s.exclude,includeOnly:u!==void 0&&u.length>0?u:void 0},f=await XE(d),h=[],y=[];if(e.checkAll!==void 0){let x=await e.checkAll(f,s);h.push(...x)}else if(e.checkFile!==void 0)for(let x of f){let w=await Qh(x),A=e.checkFile(x,w,s);h.push(...A)}if(s.fix&&e.canFix&&e.fixFile!==void 0)for(let x of f){let w=await Qh(x);if(w===void 0)continue;let A=e.fixFile(x,w,s);A!==void 0&&y.push(A)}return{name:e.name,issues:h,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??{},d=await t({root:i.root,fix:s??!1,exclude:[],...u});return{name:e.name,passed:d.issues.length===0,issues:d.issues.map(f=>({severity:"error",message:`${f.message}${f.fixed?" (fixed)":""}`,file:f.path,line:f.line})),stats:{filesChecked:d.filesChecked,issuesFound:d.issues.length,fixedCount:d.mutations.length}}}},r=async i=>{let s=e.canFix&&i.flags.fix===!0,u=i.flags.root??".",d=i.flags.exclude,f=d!==void 0?Array.isArray(d)?d:[d]:[];try{let h=await t({root:u,fix:s,exclude:f});if(h.mutations.length>0){let{writeMutations:x}=await Promise.resolve().then(()=>(gw(),dB)),w=await x(h.mutations);hw.printSuccess(`Fixed ${w} file(s) for ${e.name}.`)}if(h.issues.length===0&&h.mutations.length===0)return hw.printSuccess(`${e.name}: ${h.filesChecked} files checked, no issues.`),K.ok(void 0);let y=h.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;hw.printError(`${w}: ${x.message}`)}return K.fail({exitCode:1})}return K.ok(void 0)}catch(h){return hw.printError(h instanceof Error?h.message:String(h)),K.fail({exitCode:1})}};return{config:e,run:t,validator:n,main:async i=>{let s=e.canFix?["fix"]:[],u=Xe(i??[],{boolean:[...s,"help"],string:["root","exclude"],alias:{h:"help"}});if(u.help)return console.log(`eser codebase ${e.name} \u2014 ${e.description}
174
- `),console.log(`Usage: eser codebase ${e.name} [options]
175
- `),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 d=Si(e.name,u);return await r(d)}}}});var ZE={};ve(ZE,{main:()=>jJ,run:()=>QJ,tool:()=>Qf,validator:()=>KE});var Qf,QJ,KE,jJ,QE=k(async()=>{$t();si();Qf=Lt({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(`
176
- `)?t.endsWith(`
177
-
178
- `)?[{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+$/,"")}
179
- `;if(r!==t)return{path:e.path,oldContent:t,newContent:r}}}),QJ=Qf.run,KE=Qf.validator,jJ=Qf.main});var qE={};ve(qE,{main:()=>$J,run:()=>qJ,tool:()=>jf,validator:()=>jE});var jf,qJ,jE,$J,$E=k(async()=>{$t();si();jf=Lt({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(`
180
- `);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}}}),qJ=jf.run,jE=jf.validator,$J=jf.main});var tS={};ve(tS,{main:()=>tK,run:()=>eK,tool:()=>qf,validator:()=>eS});var pB,qf,eK,eS,tK,nS=k(async()=>{$t();si();pB="\uFEFF",qf=Lt({name:"validate-bom",description:"Remove UTF-8 byte order markers",canFix:!0,stacks:[],defaults:{},checkFile(e,t){return t===void 0?[]:t.startsWith(pB)?[{path:e.path,message:"file has UTF-8 BOM"}]:[]},fixFile(e,t){if(!t.startsWith(pB))return;let n=t.slice(1);return{path:e.path,oldContent:t,newContent:n}}}),eK=qf.run,eS=qf.validator,tK=qf.main});var oS={};ve(oS,{main:()=>rK,run:()=>nK,tool:()=>$f,validator:()=>rS});var $f,nK,rS,rK,iS=k(async()=>{$t();si();$f=Lt({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,`
181
- `).replace(/\r/g,`
182
- `);if(n!==t)return{path:e.path,oldContent:t,newContent:n}}}),nK=$f.run,rS=$f.validator,rK=$f.main});var aS={};ve(aS,{main:()=>iK,run:()=>oK,tool:()=>em,validator:()=>sS});var fB,em,oK,sS,iK,lS=k(async()=>{$t();si();fB=1024,em=Lt({name:"validate-large-files",description:"Detect files exceeding size limit",canFix:!1,stacks:[],defaults:{maxKb:fB},checkAll(e,t){let n=t.maxKb??fB,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}}),oK=em.run,sS=em.validator,iK=em.main});var uS={};ve(uS,{main:()=>aK,run:()=>sK,tool:()=>tm,validator:()=>cS});var tm,sK,cS,aK,dS=k(async()=>{$t();si();tm=Lt({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}}),sK=tm.run,cS=tm.validator,aK=tm.main});var fS={};ve(fS,{main:()=>uK,run:()=>cK,tool:()=>nm,validator:()=>pS});var lK,nm,cK,pS,uK,mS=k(async()=>{$t();si();lK=[/^<{7}\s/,/^={7}$/,/^>{7}\s/],nm=Lt({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(`
183
- `);for(let o=0;o<r.length;o++)for(let i of lK)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}}),cK=nm.run,pS=nm.validator,uK=nm.main});var hS={};ve(hS,{main:()=>pK,run:()=>dK,tool:()=>rm,validator:()=>gS});var rm,dK,gS,pK,yS=k(async()=>{rE();$t();si();rm=Lt({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")?Yb(t):JSON.parse(t),[]}catch(o){let i=o instanceof SyntaxError?o.message:"invalid JSON";return[{path:e.path,message:i}]}}}),dK=rm.run,gS=rm.validator,pK=rm.main});var vS={};ve(vS,{main:()=>mK,run:()=>fK,tool:()=>om,validator:()=>xS});var om,fK,xS,mK,bS=k(async()=>{dE();$t();si();om=Lt({name:"validate-toml",description:"Validate TOML syntax",canFix:!1,stacks:[],defaults:{},extensions:[".toml"],checkFile(e,t){if(t===void 0)return[];try{return Jb(t),[]}catch(n){let r=n instanceof Error?n.message:"invalid TOML";return[{path:e.path,message:r}]}}}),fK=om.run,xS=om.validator,mK=om.main});var CS={};ve(CS,{main:()=>hK,run:()=>gK,tool:()=>im,validator:()=>wS});var im,gK,wS,hK,RS=k(async()=>{_f();$t();si();im=Lt({name:"validate-yaml",description:"Validate YAML syntax",canFix:!1,stacks:[],defaults:{},extensions:[".yml",".yaml"],checkFile(e,t){if(t===void 0)return[];try{return _c(t),[]}catch(n){let r=n instanceof Error?n.message:"invalid YAML";return[{path:e.path,message:r}]}}}),gK=im.run,wS=im.validator,hK=im.main});var kS={};ve(kS,{main:()=>xK,run:()=>yK,tool:()=>sm,validator:()=>TS});var sm,yK,TS,xK,ES=k(async()=>{$t();si();sm=Lt({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}}),yK=sm.run,TS=sm.validator,xK=sm.main});var PS={};ve(PS,{main:()=>bK,run:()=>vK,tool:()=>am,validator:()=>SS});var am,vK,SS,bK,AS=k(async()=>{$t();si();am=Lt({name:"validate-shebangs",description:"Validate shebang/executable consistency",canFix:!1,stacks:[],defaults:{},checkFile(e,t){return[]}}),vK=am.run,SS=am.validator,bK=am.main});var OS={};ve(OS,{main:()=>TK,run:()=>RK,tool:()=>lm,validator:()=>FS});var wK,CK,lm,RK,FS,TK,MS=k(async()=>{$t();si();wK=[{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}],CK=[/\.lock$/,/package-lock\.json$/,/\.test\./,/testdata\//,/\.snap$/,/\.min\./],lm=Lt({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 CK)if(o.test(e.path))return[];let n=[],r=t.split(`
184
- `);for(let o=0;o<r.length;o++){let i=r[o];for(let{name:s,pattern:u}of wK)if(u.test(i)){n.push({path:e.path,line:o+1,message:`potential ${s} detected`});break}}return n}}),RK=lm.run,FS=lm.validator,TK=lm.main});var DS={};ve(DS,{main:()=>AK,run:()=>PK,tool:()=>cm,validator:()=>IS});var kK,EK,mB,SK,gB,cm,PK,IS,AK,_S=k(async()=>{$t();si();kK=new Set(["con","prn","aux","nul","com1","com2","com3","com4","com5","com6","com7","com8","com9","lpt1","lpt2","lpt3","lpt4","lpt5","lpt6","lpt7","lpt8","lpt9"]),EK=/^[a-z0-9_./[\]@-]+$/,mB=/^[a-z0-9./[\]@-]+$/,SK=[".claude/",".github/",".git/","CLAUDE.md","AGENTS.md","CHANGELOG.md","Makefile","Dockerfile","LICENSE","README.md","VERSION"],gB=(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},cm=Lt({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??SK;for(let i of e){if(gB(i.path,o))continue;let s=i.name,u=s.replace(/\.[^.]+$/,"");if(kK.has(u.toLowerCase())){n.push({path:i.path,message:`Windows-reserved filename: ${s}`});continue}if(r!==void 0){let d=!1;for(let f of r)if(f.directory==="*"||i.path.includes(f.directory)){if(f.exclude!==void 0&&gB(i.path,f.exclude)){d=!0;break}(f.convention==="snake_case"?EK:mB).test(s)||n.push({path:i.path,message:`filename must be ${f.convention}`}),d=!0;break}if(d)continue}mB.test(s)||n.push({path:i.path,message:"filename must be kebab-case"})}return n}}),PK=cm.run,IS=cm.validator,AK=cm.main});var NS={};ve(NS,{main:()=>OK,run:()=>FK,tool:()=>um,validator:()=>LS});var um,FK,LS,OK,BS=k(async()=>{$t();we();si();um=Lt({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`}]:[]}}),FK=um.run,LS=um.validator,OK=um.main});var HS={};ve(HS,{main:()=>LK,run:()=>_K,tool:()=>dm,validator:()=>WS});var zS,hB,US,MK,yB,IK,DK,dm,_K,WS,LK,GS=k(async()=>{$t();si();zS="2023",hB=new RegExp(`// Copyright ([0-9]{4})-present Eser Ozvataf and other contributors\\. All rights reserved\\. ([0-9A-Za-z-.]+) license\\.
185
- `),US=`// Copyright ${zS}-present Eser Ozvataf and other contributors. All rights reserved. Apache-2.0 license.`,MK=[/docs\//,/etc\/templates\//,/manifest\.gen\.ts$/],yB=e=>MK.some(t=>t.test(e)),IK=(e,t,n)=>{if(t===void 0||yB(e.path))return[];let o=t.startsWith("#!")?t.indexOf(`
186
- `)+1:0,s=t.slice(o).match(hB);return s!==null?s[1]===zS?[]:[{path:e.path,message:"incorrect copyright year",fixed:n.fix}]:[{path:e.path,message:"missing copyright header",fixed:n.fix}]},DK=(e,t,n)=>{if(yB(e.path))return;let r=t.startsWith("#!"),o=r?t.indexOf(`
187
- `)+1:0,i=t.slice(o),s=i.match(hB);if(s!==null&&s[1]===zS)return;let u;if(s!==null){let d=t.slice(0,o),f=i.replace(s[0],"");u=`${d}${US}
188
- ${f}`}else u=r?`${t.slice(0,o)}${US}
189
- ${i}`:`${US}
190
- ${t}`;return{path:e.path,oldContent:t,newContent:u}},dm=Lt({name:"validate-licenses",description:"Validate license headers",canFix:!0,stacks:["javascript"],defaults:{},extensions:[".tsx",".jsx",".ts",".js",".mts",".mjs",".cts",".cjs"],checkFile:IK,fixFile:DK}),_K=dm.run,WS=dm.validator,LK=dm.main});var VS={};ve(VS,{main:()=>UK,validateCommitMsg:()=>xw});var yw,NK,BK,xw,UK,YS=k(async()=>{Gr();ki();$t();ls();cs();yw=Kt.createOutput(),NK=["ci","chore","docs","feat","fix","perf","refactor","revert","test"],BK=/^(\w+)(?:\(([^)]+)\))?!?:\s{1,5}.+$/,xw=(e,t={})=>{let n=t.allowAsterisk??!0,r=t.allowMultipleScopes??!0,o=t.forceScope??!1,i=new Set(t.types??NK),s=[],u=e.split(`
191
- `)[0]?.trim()??"";if(u==="")return{valid:!1,issues:["commit message is empty"]};if(u.startsWith("Merge "))return{valid:!0,issues:[]};let d=u.match(BK);if(d===null)return s.push(`invalid format: expected "type(scope): message", got: "${u}"`),{valid:!1,issues:s};let f=d[1].toLowerCase(),h=d[2];return i.has(f)||s.push(`invalid type "${f}". Must be one of: ${[...i].join(", ")}`),o&&(h===void 0||h.trim()==="")&&s.push("scope is required: use type(scope): message"),h!==void 0&&h.trim()!==""&&(h==="*"&&!n&&s.push('wildcard scope "*" is not allowed (allowAsterisk is false)'),h.includes(",")&&(r?h.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}},UK=async e=>{let t=Xe(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
192
- `),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 yw.printError(`cannot read commit message file: ${t._[0]}`),K.fail({exitCode:1})}else return yw.printError("no commit message provided"),K.fail({exitCode:1});let r=xw(n);if(r.valid)return yw.printSuccess("commit message is valid"),K.ok(void 0);for(let o of r.issues)yw.printError(o);return K.fail({exitCode:1})}});var pm,zK,XS,xr,xB,vw,vB,WK,HK,bB,JS=k(async()=>{"use strict";await X2();await $L();await rN();await lN();await lB();await QE();await $E();await nS();await iS();await lS();await dS();await mS();await yS();await bS();await RS();await ES();await AS();await MS();await _S();await BS();await GS();await YS();pm={validators:new Map,initialized:!1},zK=()=>{xr(yE),xr(LE),xr(zE),xr(HE),xr(YE),xr(KE),xr(jE),xr(eS),xr(rS),xr(sS),xr(cS),xr(pS),xr(gS),xr(xS),xr(wS),xr(TS),xr(SS),xr(FS),xr(IS),xr(LS),xr(WS)},XS=()=>{pm.initialized||(pm.initialized=!0,zK())},xr=e=>{pm.validators.set(e.name,e)},xB=e=>(XS(),pm.validators.get(e)??null),vw=()=>(XS(),[...pm.validators.values()]),vB=()=>(XS(),[...pm.validators.keys()]),WK=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}}}}),HK=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}}}),bB=()=>{let e=[],t=[Qf,jf,qf,$f,em,tm,nm,rm,om,im,sm,am,lm,cm,um,dm];for(let r of t)e.push(WK(r));let n=[yE,LE,zE,HE,YE];for(let r of n)e.push(HK(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(()=>(we(),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=xw(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(d=>({message:d})),mutations:[],stats:{}}}}),e}});var KS={};ve(KS,{getProjectConfigPath:()=>E_,getValidator:()=>xB,getValidatorNames:()=>vB,getValidators:()=>vw,getWorkflowTools:()=>bB,loadProjectConfig:()=>Mh,main:()=>GK,registerValidator:()=>xr,validate:()=>wB});var wB,GK,ZS=k(async()=>{Gr();Rn();Dt();we();we();Uk();await JS();Uk();await JS();wB=async(e={})=>{let t=e.root??C.process.cwd(),r=(await Mh(t))?.stack??[],o=[...e.skip??[]],i=e.only??[],s=vw(),u=[],d=[],f=[];for(let h of s){if(i.length>0&&!i.includes(h.name))continue;if(o.includes(h.name)){f.push(h.name);continue}if(h.requiredStacks.length>0&&r.length>0&&!h.requiredStacks.some(A=>r.includes(A))){d.push({name:h.name,reason:`Requires '${h.requiredStacks.join("' or '")}' stack`});continue}let y={...e.fix!==void 0?{fix:e.fix}:{}},x=await h.validate({root:t,options:y});u.push(x)}return{passed:u.every(h=>h.passed),results:u,skipped:d,disabled:f}},GK=async e=>{let t=Xe(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"),ge(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 Mh(n??"."))?.stack?.join(", ")??"all (no .manifest.yml)";console.log(`Validating codebase...
193
- `),console.log(`Stack: ${Se(f)}
194
- `);let h=await wB({root:n,only:s,skip:u,fix:r});for(let w of h.results){let A=w.passed?Rt("PASS"):Pe("FAIL"),F=Object.entries(w.stats).map(([D,L])=>`${L} ${D}`).join(", ");console.log(` ${w.name.padEnd(18)} ${A} (${F})`)}if(h.skipped.length>0){console.log(ye(`
195
- Skipped (stack not configured):`));for(let w of h.skipped)console.log(ye(` - ${w.name}: ${w.reason}`))}if(h.disabled.length>0){console.log(ye(`
196
- Disabled:`));for(let w of h.disabled)console.log(ye(` - ${w}`))}let y=h.results.flatMap(w=>w.issues.map(A=>({validator:w.name,...A})));if(y.length>0){console.log(Pe(`
197
- Issues (${y.length}):
198
- `));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(` ${ye(A)}`);for(let D of F){let L=D.severity==="error"?Pe("error"):is("warning"),N=D.line!==void 0?`:${D.line}`:"";console.log(` ${L}${N}: ${D.message}`)}console.log()}}let x=h.results.filter(w=>!w.passed).length;return x>0?he({message:Pe(`
199
- ${x} check(s) failed with ${y.length} issue(s)`),exitCode:1}):(console.log(Rt(`
200
- All checks passed!`)),ge(void 0))}});var CB={};ve(CB,{main:()=>VK});var VK,RB=k(()=>{Gr();Rn();Dt();_k();Nk();Bk();VK=async(e,t)=>{let n=Xe(e??[],{string:["config"],boolean:["help"],alias:{h:"help"}});if(n.help)return console.log(`eser workflows list \u2014 List available workflows and tools
201
- `),console.log("Options:"),console.log(" --config <path> Config directory (default: .)"),console.log(" -h, --help Show this help"),ge(void 0);let r=n.config??".",o=await Eb(r),i=kb();if(i.register(Sb),t?.tools!==void 0&&i.registerAll(t.tools),o!==null&&o.workflows.length>0){console.log(ga("Workflows:"));for(let u of o.workflows){let d=u.on.length>0?u.on.join(", "):"(no events)",f=u.steps.length,h=f===1?"step":"steps";console.log(` ${u.id.padEnd(20)} ${ye(d.padEnd(25))} ${f} ${h}`)}}else console.log(ye("No workflows defined."));console.log();let s=i.getAll();if(s.length>0){console.log(ga(`Registered tools (${s.length}):`));for(let u of s)console.log(` ${u.name.padEnd(28)} ${ye(u.description)}`)}else console.log(ye("No tools registered."));return ge(void 0)}});var bw,TB=k(()=>{bw=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 ww,kB=k(()=>{TB();ww=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 bw(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),d=u.length;d<s.length?(u.set(s.slice(0,d)),o.byobRequest.respond(d),o.enqueue(s.slice(d))):(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 EB,SB=k(()=>{"use strict";kB();we();EB=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 ww);for await(let d of u){let f=C.path.normalize(d.path);if(f.startsWith("..")||C.path.isAbsolute(f)){d.readable!==void 0&&await d.readable.cancel();continue}let y=f.split(C.path.sep).slice(r);if(y.length===0){d.readable!==void 0&&await d.readable.cancel();continue}let x=y.join(C.path.sep);if(i!==void 0){if(!x.startsWith(i)){d.readable!==void 0&&await d.readable.cancel();continue}if(x.slice(i.length).replace(/^\/+/,"")===""){d.readable!==void 0&&await d.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)),d.readable!==void 0){let A=new Response(d.readable),F=new Uint8Array(await A.arrayBuffer());await C.fs.writeFile(w,F)}}}});var XK,JK,KK,PB,AB=k(()=>{"use strict";SB();XK="main",JK=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??XK,path:s.length>0?s.join("/"):void 0}},KK=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}`,d=await fetch(u);if(!d.ok)throw d.status===404?new Error(`Repository not found: ${r}/${o} (ref: ${i})`):new Error(`Failed to fetch template: ${d.status} ${d.statusText}`);if(d.body===null)throw new Error("Response body is empty");await EB(d.body,t,{stripComponents:1,subpath:s})},PB={name:"github",prefixes:["github","gh"],isDefault:!0,parse:JK,fetch:KK}});var wl,QS,jS,FB,OB,qS,Cw,$S=k(()=>{"use strict";AB();wl={providers:new Map,defaultProvider:null,initialized:!1},QS=()=>{wl.initialized||(wl.initialized=!0,jS(PB))},jS=e=>{wl.providers.set(e.name,e);for(let t of e.prefixes)wl.providers.set(t,e);e.isDefault===!0&&(wl.defaultProvider=e)},FB=e=>(QS(),wl.providers.get(e)??null),OB=()=>(QS(),wl.defaultProvider),qS=e=>{QS();let t=e.indexOf(":");if(t!==-1){let n=e.slice(0,t),r=e.slice(t+1),o=wl.providers.get(n);if(o===void 0)throw new Error(`Unknown provider prefix: ${n}`);return{provider:o,ref:o.parse(r)}}if(wl.defaultProvider===null)throw new Error("No default provider registered");return{provider:wl.defaultProvider,ref:wl.defaultProvider.parse(e)}},Cw=async(e,t)=>{let{provider:n,ref:r}=qS(e);return await n.fetch(r,t),r}});var IB,Rw,ZK,MB,Tw,DB,eP=k(()=>{"use strict";_f();we();IB=[".manifest.yml",".manifest.yaml"],Rw=async e=>{for(let t of IB){let n=C.path.join(e,t);try{let r=await C.fs.readTextFile(n),o=_c(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 Ut)continue;throw r}}return null},ZK=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},MB=(e,t)=>e.pattern===void 0||new RegExp(e.pattern).test(t)?null:`Value '${t}' does not match pattern '${e.pattern}'`,Tw=(e,t)=>{let{provided:n,interactive:r}=t,o=e.variables??[],i={...n},s=[];for(let u of o){let{name:d,required:f,default:h}=u;if(i[d]!==void 0){let y=MB(u,i[d]);y!==null&&s.push(`${d}: ${y}`);continue}if(r){let y=ZK(u);if(y!==null){let x=MB(u,y);x!==null?s.push(`${d}: ${x}`):i[d]=y;continue}}if(h!==void 0){i[d]=h;continue}f===!0&&s.push(`Missing required variable: ${d}`)}if(s.length>0)throw new Error(`Variable resolution failed:
202
- ${s.join(`
203
- `)}`);return i},DB=async e=>{for(let t of IB){let n=C.path.join(e,t);try{return await C.fs.stat(n),n}catch{continue}}return null}});var _B,QK,jK,qK,jh,qh,LB,NB,tP=k(()=>{"use strict";we();_B=/\{\{\s*\.(\w+)\s*\}\}/g,QK=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"]),jK=e=>{let t=C.path.extname(e).toLowerCase();return QK.has(t)},qK=(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},jh=(e,t)=>e.replace(_B,(n,r)=>{let o=t[r];return o===void 0?`{{.${r}}}`:o}),qh=e=>_B.test(e),LB=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!==""&&(qK(u,r)||(s.isDirectory?qh(s.name)&&i.push(s.path):s.isFile&&o.push(s.path)))}for(let s of o){let u=C.path.basename(s),d=C.path.dirname(s);if(!jK(s))try{let f=await C.fs.readTextFile(s);if(qh(f)){let h=jh(f,n);await C.fs.writeTextFile(s,h)}}catch(f){if(!(f instanceof Error&&f.name==="InvalidData"))throw f}if(qh(u)){let f=jh(u,n),h=C.path.join(d,f);h!==s&&await C.fs.rename(s,h)}}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),d=C.path.dirname(s),f=jh(u,n),h=C.path.join(d,f);h!==s&&await C.fs.rename(s,h)}},NB=async e=>{try{await C.fs.remove(e)}catch(t){if(!(t instanceof Ut))throw t}}});var kw,nP=k(()=>{"use strict";Ws();we();$S();eP();tP();kw=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 Ut))throw F}await C.fs.ensureDir(u),await Cw(t,u);let d=await Rw(u),f=d?.name??t,h=d!==null?Tw(d,{provided:r,interactive:s}):r,y=[".git",".manifest.yml",".manifest.yaml",...d?.ignore??[]];await LB(u,{variables:h,ignore:y});let x=await DB(u);x!==null&&await NB(x);let w=d?.postInstall??[],A=[];if(!i&&w.length>0)for(let F of w)try{(await ft`${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:h,postInstallCommands:A}}});var rP={};ve(rP,{fetchTemplate:()=>Cw,getDefaultProvider:()=>OB,getProvider:()=>FB,hasVariables:()=>qh,loadTemplateConfig:()=>Rw,main:()=>$K,parseSpecifier:()=>qS,registerProvider:()=>jS,resolveVariables:()=>Tw,scaffold:()=>kw,substituteVariables:()=>jh});var $K,oP=k(async()=>{Gr();Rn();Dt();we();nP();nP();$S();eP();tP();$K=async e=>{let t=Xe(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]
204
-
205
- Options:
206
- -p, --path <dir> Target directory (default: .)
207
- -f, --force Overwrite existing files
208
- -i, --interactive Prompt for missing variables
209
- --var key=value Set a template variable (repeatable)
210
- --skip-post-install Skip post-install commands
211
- -h, --help Show this help message
212
-
213
- Examples:
214
- scaffold eser/ajan
215
- scaffold gh:eser/ajan#v1.0 -p ./my-project
216
- scaffold eser/ajan --var name=my-app --var author=me`),ge(void 0);let n=t._[0];if(n===void 0)return he({message:`${Pe("Error: Template specifier is required")}
217
-
218
- Usage: scaffold <specifier> [options]
219
-
220
- Examples:
221
- scaffold eser/ajan
222
- scaffold gh:eser/ajan#v1.0
223
- 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,d={};if(u!==void 0)for(let y of u){let[x,...w]=String(y).split("=");x!==void 0&&(d[x]=w.join("="))}console.log(`Scaffolding from ${Se(n)}...`);let f=await Sf(()=>kw({specifier:n,targetDir:r,variables:d,force:o,skipPostInstall:i,interactive:s}),y=>({message:y.message}));if(oi(f))return he({message:Pe(`
224
- Scaffolding failed: ${f.error.message}`),exitCode:1});let h=f.value;if(console.log(Rt(`
225
- Scaffolded ${h.templateName} to ${h.targetDir}`)),Object.keys(h.variables).length>0){console.log(`
226
- Variables applied:`);for(let[y,x]of Object.entries(h.variables))console.log(` ${ye(y)}: ${x}`)}if(h.postInstallCommands.length>0){console.log(`
227
- Post-install commands executed:`);for(let y of h.postInstallCommands)console.log(` ${ye(y)}`)}return ge(void 0)}});var Sw={};ve(Sw,{main:()=>tZ,statusMain:()=>rZ,uninstallMain:()=>nZ});var iP,Ew,eZ,sP,BB,tZ,nZ,rZ,Pw=k(async()=>{Gr();Rn();ki();$t();Ph();iP={precommit:{hookName:"pre-commit",args:""},commitmsg:{hookName:"commit-msg",args:'-- "$1"'},prepush:{hookName:"pre-push",args:""}},Ew="# @eser managed hook",eZ=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",`${Ew} \u2014 generated by \`eser codebase install\``,"# Do not edit. Re-run `eser codebase install` to update.","",o,""].join(`
228
- `)},sP=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},BB=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]},tZ=async e=>{let t=Xe(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 sP();if(o===null)return console.error(Ae.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 nc(s);if(u===null)return console.error(Ae.error("Error: no .manifest.yml found in current directory")),K.fail({exitCode:1});let d=BB(u);if(d.length===0)return console.log(Ae.warning("No workflow events found \u2014 nothing to install.")),K.ok(void 0);r||await ue.current.fs.ensureDir(i);let f=0,h=0,y=0;for(let w of d){let A=iP[w];if(A===void 0){console.log(Ae.dim(` skip ${w} (unknown event, no hook mapping)`));continue}let{hookName:F,args:D}=A,L=ue.current.path.join(i,F),N=await eZ(w,D),Y=!1,H=!1;try{let W=await ue.current.fs.readTextFile(L);Y=!0,H=W.includes(Ew)}catch{}if(r){console.log(Y?H?Ae.info(` would update ${F} (managed)`):n?Ae.warning(` would overwrite ${F} (--force)`):Ae.warning(` would skip ${F} (user hook; use --force to overwrite)`):Ae.info(` would create ${F}`));continue}if(Y&&!H&&!n){console.log(Ae.warning(` skip ${F} \u2014 user hook exists (use --force to overwrite)`)),h++;continue}await ue.current.fs.writeTextFile(L,N);try{await ue.current.fs.chmod(L,493)}catch{}Y&&H?(console.log(Ae.success(` updated ${F}`)),y++):(console.log(Ae.success(` installed ${F}`)),f++)}console.log("");let x=[];return f>0&&x.push(`${f} installed`),y>0&&x.push(`${y} updated`),h>0&&x.push(`${h} skipped`),r?console.log(Ae.dim("(dry run \u2014 no changes made)")):x.length>0?console.log(Ae.success(`Done: ${x.join(", ")}.`)):console.log(Ae.dim("Nothing to do.")),K.ok(void 0)},nZ=async e=>{if(Xe(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 sP();if(n===null)return console.error(Ae.error("Error: not inside a git repository")),K.fail({exitCode:1});let r=ue.current.path.join(n,"hooks"),o=0,i=Object.values(iP).map(u=>u.hookName),s=[...new Set(i)];for(let u of s){let d=ue.current.path.join(r,u);try{(await ue.current.fs.readTextFile(d)).includes(Ew)&&(await ue.current.fs.remove(d),console.log(Ae.success(` removed ${u}`)),o++)}catch{}}return console.log(""),o>0?console.log(Ae.success(`Done: ${o} hook(s) removed.`)):console.log(Ae.dim("No managed hooks found.")),K.ok(void 0)},rZ=async e=>{if(Xe(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 sP();if(n===null)return console.error(Ae.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 nc(o);if(i===null)return console.error(Ae.error("Error: no .manifest.yml found in current directory")),K.fail({exitCode:1});let s=BB(i);if(s.length===0)return console.log(Ae.dim("No workflow events found in manifest.")),K.ok(void 0);console.log(Ae.bold("Git hook status:")),console.log("");for(let u of s){let d=iP[u];if(d===void 0){console.log(` ${Ae.dim(u.padEnd(14))} ${Ae.dim("(no hook mapping)")}`);continue}let{hookName:f}=d,h=ue.current.path.join(r,f),y;try{(await ue.current.fs.readTextFile(h)).includes(Ew)?y=Ae.success("managed (@eser)"):y=Ae.warning("user hook")}catch{y=Ae.dim("not installed")}console.log(` ${f.padEnd(14)} ${y}`)}return console.log(""),K.ok(void 0)}});var XB={};ve(XB,{fetchContributors:()=>zB,generateContributorMarkdown:()=>WB,getRepoInfo:()=>UB,handleCli:()=>YB,main:()=>sZ,replaceContributorSection:()=>HB,updateContributors:()=>GB,updateContributorsHandler:()=>VB});var Aw,Fw,$h,UB,zB,WB,HB,GB,VB,oZ,iZ,YB,sZ,JB=k(async()=>{"use strict";Gr();yh();ki();$t();Ha();ls();cs();Aw=Kt.createOutput(),Fw="<!-- CONTRIBUTORS:START -->",$h="<!-- CONTRIBUTORS:END -->",UB=async()=>{let e=await Zn.exec`gh repo view --json owner,name`.text(),t=JSON.parse(e);return{owner:t.owner.login,name:t.name}},zB=async(e,t)=>{let n=await Zn.exec`gh api repos/${e}/${t}/contributors --paginate`.text();return JSON.parse(n).filter(o=>!o.login.includes("[bot]"))},WB=(e,t=8)=>{if(e.length===0)return`${Fw}
229
- ${$h}`;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>
230
- ${i.join(`
231
- `)}
232
- </tr>`)}return`${Fw}
233
- <table>
234
- ${n.join(`
235
- `)}
236
- </table>
237
- ${$h}`},HB=(e,t)=>{let n=e.indexOf(Fw),r=e.indexOf($h);if(n===-1||r===-1)throw new Error(`Could not find contributor markers in README. Add '${Fw}' and '${$h}' markers to the file.`);let o=e.slice(0,n),i=e.slice(r+$h.length),s=`${o}${t}${i}`;return{content:s,changed:s!==e}},GB=async(e={})=>{let{readmePath:t="README.md",columnsPerRow:n=8,commit:r=!1}=e,o=ts(t),i=await UB(),s=await zB(i.owner,i.name),u=WB(s,n),d=await ue.current.fs.readTextFile(o),{content:f,changed:h}=HB(d,u),y=!1;return h&&(await ue.current.fs.writeTextFile(o,f),r&&(await Zn.exec`git add ${o}`.spawn(),await Zn.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 Zn.exec`git push`.spawn(),y=!0)),{contributorCount:s.length,readmePath:o,updated:h,committed:y}},VB=e=>Tn.fromPromise(()=>GB(e)),oZ=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})},iZ=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Aw.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.updated?t.committed?Aw.printSuccess(`Updated ${t.contributorCount} contributors and committed changes.`):Aw.printSuccess(`Updated ${t.contributorCount} contributors in ${t.readmePath}.`):Aw.printInfo(`No changes \u2014 ${t.contributorCount} contributors already up to date.`),K.ok(void 0)},YB=hn.createTrigger({handler:VB,adaptInput:oZ,adaptOutput:iZ}),sZ=async e=>{let t=Xe(e??[],{string:["columns","readme"],boolean:["commit"],alias:{h:"help"}});if(t.help)return console.log(`eser codebase gh contributors \u2014 Update contributor list
238
- `),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=Si("gh-contributors",t);return await YB(n)}});var t3={};ve(t3,{handleCli:()=>e3,hasGitHubRelease:()=>jB,main:()=>uZ,normalizeTag:()=>KB,parseChangelog:()=>QB,parseChangelogText:()=>ZB,syncReleaseNotes:()=>qB,syncReleaseNotesHandler:()=>$B});var Ow,aZ,KB,ZB,QB,jB,qB,$B,lZ,cZ,e3,uZ,n3=k(async()=>{"use strict";Gr();yh();ki();$t();Ha();ls();cs();Ow=Kt.createOutput(),aZ=/^##\s+\[?([^\]\s]+)\]?\s*-?\s*([0-9]{4}-[0-9]{2}-[0-9]{2})?\s*$/,KB=e=>{let t=e.trim().replace(/^refs\/tags\//,"");return t.startsWith("v")?t:`v${t}`},ZB=e=>{let t=e.split(/\r?\n/),n=[];for(let r=0;r<t.length;r+=1){let i=t[r].match(aZ);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,d=t.slice(s,u);for(;d.length>0&&d[0].trim()==="";)d.shift();for(;d.length>0&&d[d.length-1].trim()==="";)d.pop();let f=[`## ${r.version}${r.date!==""?` - ${r.date}`:""}`];return d.length>0&&f.push("",...d),{version:r.version,date:r.date,tag:`v${r.version}`,notes:`${f.join(`
239
- `).trim()}
240
- `}})},QB=async(e={})=>{let{changelogPath:t="CHANGELOG.md",root:n="."}=e,r=ts(n,t),o=await ue.current.fs.readTextFile(r);return{entries:ZB(o)}},jB=async(e,t)=>{try{return await Zn.exec`gh release view ${e} --repo ${t}`.quiet().text(),!0}catch{return!1}},qB=async e=>{let{repo:t,createIfMissing:n=!1,changelogPath:r="CHANGELOG.md",root:o=".",releaseTitle:i="eserstack {tag}"}=e,{entries:s}=await QB({changelogPath:r,root:o});if(s.length===0)throw new Error("No release headings found in CHANGELOG.md.");let u=e.tag!==void 0?KB(e.tag):s[0].tag,d=s.find(y=>y.tag===u);if(d===void 0)throw new Error(`No matching changelog section found for ${u}.`);let f=await ue.current.fs.makeTempDir({prefix:"eserstack-release-"}),h=es(f,`${u}-notes.md`);await ue.current.fs.writeTextFile(h,d.notes);try{if(await jB(u,t))return await Zn.exec`gh release edit ${u} --repo ${t} --notes-file ${h}`.spawn(),{tag:u,entry:d,action:"updated"};if(!n)return{tag:u,entry:d,action:"skipped"};let x=i.replace("{tag}",u);try{return await Zn.exec`gh release create ${u} --repo ${t} --title ${x} --notes-file ${h}`.spawn(),{tag:u,entry:d,action:"created"}}catch{return await Zn.exec`gh release edit ${u} --repo ${t} --notes-file ${h}`.spawn(),{tag:u,entry:d,action:"updated"}}}finally{await ue.current.fs.remove(f,{recursive:!0})}},$B=e=>Tn.fromPromise(()=>qB(e)),lZ=e=>{let t=e.flags.repo??ue.current.env.get("GITHUB_REPOSITORY")??"";return t===""?K.fail(hn.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})},cZ=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Ow.printError(r),K.fail({exitCode:1})}let{value:t}=e;switch(t.action){case"created":Ow.printSuccess(`Created release ${t.tag} with changelog notes.`);break;case"updated":Ow.printSuccess(`Updated release notes for ${t.tag}.`);break;case"skipped":Ow.printWarning(`Release ${t.tag} not found. Skipping (pass --create-if-missing to create).`);break}return K.ok(void 0)},e3=hn.createTrigger({handler:$B,adaptInput:lZ,adaptOutput:cZ}),uZ=async e=>{let t=Xe(e??[],{string:["repo","tag"],boolean:["create-if-missing"],alias:{h:"help"}}),n=Si("release-notes",t);return await e3(n)}});var r3,dZ,o3,i3,s3,a3,aP=k(()=>{"use strict";Ws();r3="#%$".repeat(35),dZ=e=>{let t=e.split(r3).map(n=>{let r=n.slice(0,40);n=n.slice(40);let o=n.indexOf(`
241
- `);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},o3=async()=>await ft`git describe --tags --abbrev=0`.text(),i3=async(e,t)=>{let n=`--pretty=format:${r3}%H%B`,r=`${e}..${t}`,o=await ft`git --no-pager log ${n} ${r}`.text();return dZ(o)},s3=async(e,t)=>{await ft`git tag -a ${e} -m ${t}`.spawn()},a3=async(e,t)=>{await ft`git push ${e} ${t}`.spawn()}});var lP={};ve(lP,{handleCli:()=>d3,main:()=>yZ,readVersionFile:()=>Ja,showVersions:()=>l3,versions:()=>c3,versionsHandler:()=>u3});var tp,Ja,fZ,mZ,l3,c3,u3,gZ,hZ,d3,yZ,fm=k(async()=>{Gr();yh();DE();ki();$t();Ha();ls();cs();Yf();tp=Kt.createOutput(),Ja=async(e={})=>{let{root:t="."}=e,n=es(t,"VERSION");try{return(await ue.current.fs.readTextFile(n)).trim()}catch{return}},fZ=async(e,t)=>{let n=es(e,"VERSION");await ue.current.fs.writeTextFile(n,t+`
242
- `)},mZ=e=>{let t=Mu("0.0.0");for(let n of e){let r=Mu(n);Va(r,t)>0&&(t=r)}return sw(t)},l3=async(e={})=>{let{root:t="."}=e,[n,r]=await Fu(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}))]}},c3=async(e,t={})=>{let{root:n=".",dryRun:r=!1,updateVersionFile:o=!0}=t,[i,s]=await Fu(n),u=i.version?.value??"0.0.0",d=i.name?.value??"(root)",f=[u,...s.map(D=>D.version)],h=mZ(f),y;if(e==="explicit"){if(t.explicitVersion===void 0)throw new Error('explicitVersion is required when command is "explicit".');Mu(t.explicitVersion),y=t.explicitVersion}else e==="sync"?y=h:y=sw(AL(Mu(h),e));let x=[],w=u!==y;r||await Qb(i,y),x.push({name:d,from:u,to:y,changed:w});for(let D of s){let L=D.version!==y;r||await Qb(D.config,y),x.push({name:D.name,from:D.version,to:y,changed:L})}let A=[];if(o){let D=await Ja({root:n}),L=D!==y;!r&&L&&await fZ(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}},u3=e=>e.mode==="show"?Tn.fromPromise(async()=>({mode:"show",result:await l3()})):Tn.fromPromise(async()=>({mode:"update",result:await c3(e.command,e.options)})),gZ=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}})},hZ=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"?tp.printInfo("Syncing all versions..."):n.command==="explicit"?tp.printInfo(`Setting all versions to ${n.targetVersion}...`):tp.printInfo(`Bumping all versions (${n.command})...`),tp.printInfo(`Target version: ${n.targetVersion}`),console.table(n.updates);for(let r of n.fileUpdates)r.changed&&tp.printInfo(`${r.path} (${r.from} \u2192 ${r.to})`);return n.dryRun?tp.printInfo(`Dry run - ${n.changedCount} packages would be modified.`):tp.printSuccess(`Done. Updated ${n.changedCount} packages.`),K.ok(void 0)},d3=hn.createTrigger({handler:u3,adaptInput:gZ,adaptOutput:hZ}),yZ=async e=>{let t=Xe(e??[],{boolean:["dry-run"]}),n=Si("versions",t);return await d3(n)}});var g3={};ve(g3,{handleCli:()=>m3,main:()=>bZ,pushReleaseTag:()=>p3,pushReleaseTagHandler:()=>f3});var Mw,p3,f3,xZ,vZ,m3,bZ,h3=k(async()=>{"use strict";Gr();ki();$t();Ha();ls();aP();await fm();cs();Mw=Kt.createOutput(),p3=async(e={})=>{let{root:t=".",remote:n="origin",tagPrefix:r="v",messageTemplate:o="Release {tag}",dryRun:i=!1}=e,s=await Ja({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}`,d=o.replace("{tag}",u).replace("{version}",s);return i||(await s3(u,d),await a3(n,u)),{version:s,tag:u,remote:n,dryRun:i}},f3=e=>Tn.fromPromise(()=>p3(e)),xZ=e=>K.ok({dryRun:e.flags["dry-run"]===!0}),vZ=e=>{if(K.isFail(e))return Mw.printError(e.error instanceof Error?e.error.message:String(e.error)),K.fail({exitCode:1});let{value:t}=e;return t.dryRun?Mw.printWarning(`[DRY RUN] Would create and push tag ${t.tag}`):(Mw.printSuccess(`Created tag ${t.tag}`),Mw.printInfo(`Pushed tag ${t.tag} to ${t.remote}`)),K.ok(void 0)},m3=hn.createTrigger({handler:f3,adaptInput:xZ,adaptOutput:vZ}),bZ=async e=>{let t=Xe(e??[],{boolean:["dry-run"],alias:{n:"dry-run"}}),n=Si("release-tag",t);return await m3(n)}});var v3={};ve(v3,{main:()=>wZ});var x3,y3,wZ,b3=k(async()=>{ki();$t();ls();cs();x3=Kt.createOutput(),y3=()=>{x3.printInfo(`eser codebase gh \u2014 GitHub operations
243
- `),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(`
244
- Run 'eser codebase gh <subcommand> --help' for details.`)},wZ=async e=>{let t=e??[],n=t[0],r=t.slice(1);if(n===void 0||n==="--help"||n==="-h")return y3(),K.ok(void 0);switch(n){case"contributors":return await(await JB().then(()=>XB)).main(r);case"release-notes":return await(await n3().then(()=>t3)).main(r);case"release-tag":return await(await h3().then(()=>g3)).main(r);default:return x3.printError(`Unknown gh subcommand: ${n}
245
- `),y3(),K.fail({exitCode:1})}}});var cP={};ve(cP,{deduplicateCommits:()=>k3,generateChangelog:()=>A3,generateChangelogHandler:()=>F3,generateChangelogSection:()=>S3,groupBySection:()=>E3,handleCli:()=>O3,insertIntoChangelog:()=>P3,main:()=>PZ,parseConventionalCommit:()=>C3,parseConventionalCommits:()=>T3,stripTakeSuffix:()=>R3});var Iw,CZ,w3,RZ,TZ,C3,R3,T3,k3,E3,kZ,S3,P3,A3,F3,EZ,SZ,O3,PZ,uP=k(async()=>{Gr();ki();$t();Ha();ls();aP();await fm();cs();Iw=Kt.createOutput(),CZ={feat:"Added",fix:"Fixed",refactor:"Changed",perf:"Changed",docs:"Changed",revert:"Removed"},w3=new Set(["chore","ci","test"]),RZ=/^(\w+)(?:\(([^)]+)\))?!?:\s*(.+)$/,TZ=/\s*\(take\s+[IVXLCDM\d]+\)\s*\.?$/i,C3=(e,t)=>{let n=e.match(RZ);if(n!==null)return{type:n[1].toLowerCase(),scope:n[2],message:n[3].trim(),hash:t}},R3=e=>e.replace(TZ,"").trim(),T3=e=>{let t=[];for(let n of e){let r=C3(n.subject,n.hash);r!==void 0&&t.push(r)}return t},k3=e=>{let t=new Set,n=[];for(let r of e){let o=R3(r.message),i=o.replace(/[.\s]+$/,"").toLowerCase(),s=`${r.type}:${i}`;t.has(s)||(t.add(s),n.push({...r,message:o}))}return n},E3=e=>{let t=new Map;for(let n of e){if(w3.has(n.type))continue;let r=CZ[n.type];if(r===void 0)continue;let o=t.get(r);o!==void 0?o.push(n):t.set(r,[n])}return t},kZ=e=>e.scope!==void 0?`- **${e.scope}:** ${e.message}`:`- ${e.message}`,S3=(e,t)=>{let n=E3(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 d of u)o.push(kZ(d))}}return o.join(`
246
- `)},P3=(e,t,n)=>{let r=e.split(`
247
- `);if(n!==void 0){let u=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),d=new RegExp(`^##\\s+${u}\\b`),f=r.findIndex(h=>d.test(h));if(f!==-1){let h=r.length;for(let y=f+1;y<r.length;y++)if(/^##\s+/.test(r[y])){h=y;break}return r.splice(f,h-f,t),r.join(`
248
- `)}}let o=r.findIndex(u=>/^##\s+\[Unreleased\]/i.test(u));if(o===-1){let u=r.findIndex((f,h)=>h>0&&f.startsWith("## ")),d=u===-1?r.length:u;return r.splice(d,0,"",t,""),r.join(`
249
- `)}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(`
250
- `)},A3=async(e={})=>{let{root:t=".",dryRun:n=!1}=e,r=await Ja({root:t});if(r===void 0||r==="")throw new Error("VERSION file is missing or empty.");let o;try{o=await o3()}catch{throw new Error("No git tags found. Create an initial tag first (e.g., git tag v0.0.0).")}let i=await i3(o,"HEAD");if(i.length===0)throw new Error(`No commits found since ${o}. Nothing to release.`);let s=T3(i),u=k3(s),d=S3(r,u);if(d==="")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"),h;try{h=await ue.current.fs.readTextFile(f)}catch{throw new Error(`CHANGELOG.md not found at ${f}. Create one first.`)}let y=P3(h,d,r);await ue.current.fs.writeTextFile(f,y)}return{version:r,commitCount:i.length,entryCount:u.filter(f=>!w3.has(f.type)).length,content:d,dryRun:n}},F3=e=>Tn.fromPromise(()=>A3(e)),EZ=e=>K.ok({dryRun:e.flags["dry-run"]===!0}),SZ=e=>{if(K.isFail(e))return Iw.printError(e.error instanceof Error?e.error.message:String(e.error)),K.fail({exitCode:1});let{value:t}=e;return t.dryRun?(Iw.printWarning("[DRY RUN] Generated changelog preview:"),Iw.printInfo(`
251
- ${t.content}`)):Iw.printSuccess(`Added ${t.entryCount} entries to CHANGELOG.md for v${t.version}`),K.ok(void 0)},O3=hn.createTrigger({handler:F3,adaptInput:EZ,adaptOutput:SZ}),PZ=async e=>{let t=Xe(e??[],{boolean:["dry-run"],alias:{n:"dry-run"}}),n=Si("changelog-gen",t);return await O3(n)}});var Dw={};ve(Dw,{handleReleaseCli:()=>z3,handleRereleaseCli:()=>W3,handleUnreleaseCli:()=>H3,main:()=>UZ,release:()=>D3,releaseHandler:()=>N3,rerelease:()=>_3,rereleaseHandler:()=>B3,rereleaseMain:()=>zZ,unrelease:()=>L3,unreleaseHandler:()=>U3,unreleaseMain:()=>WZ});var Or,M3,I3,AZ,FZ,OZ,MZ,D3,_3,L3,N3,B3,U3,IZ,DZ,_Z,LZ,NZ,BZ,z3,W3,H3,UZ,zZ,WZ,_w=k(async()=>{Gr();ki();$t();Ha();ls();Ws();await fm();cs();Or=Kt.createOutput(),M3=async()=>(await ft`git status --porcelain`.noThrow().text()).length===0,I3=async()=>{let e=await ft`git log @{u}..HEAD --oneline`.noThrow().text();return e.length>0?e.split(`
252
- `):[]},AZ=async(e,t)=>{for(let n of t)await ft`git add ${n}`.spawn();await ft`git commit -m ${e}`.spawn()},FZ=async()=>{await ft`git push origin HEAD`.spawn()},OZ=async e=>{await ft`git tag -d ${e}`.noThrow().spawn();let t=`:refs/tags/${e}`;await ft`git push origin ${t}`.noThrow().spawn()},MZ=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"},D3=async e=>{let{type:t,dryRun:n=!1}=e;if(!await M3())throw new Error("Working tree is dirty. Commit or stash changes first.");let r=await I3();if(r.length>0&&e.yes!==!0)throw new Error(`You have ${r.length} unpushed commit(s):
253
- ${r.join(`
254
- `)}
255
-
256
- Push first, or re-run with --yes to continue anyway.`);let o=await Ja()??"0.0.0";t!=="same"&&await(await fm().then(()=>lP)).versions(t,{dryRun:n});let i=await Ja()??o,s=!1;try{await(await uP().then(()=>cP)).generateChangelog({dryRun:n}),s=!0}catch{s=!1}let u=!1,d=!1;if(!n){s&&await ft`deno fmt CHANGELOG.md`.noThrow().spawn();let f=["VERSION","CHANGELOG.md","pkg/*/deno.json","pkg/*/package.json","package.json"],h=`chore(codebase): release v${i}`;await AZ(h,f),u=!0,await FZ(),d=!0}return{version:i,previousVersion:o,changelogGenerated:s,committed:u,pushed:d,dryRun:n}},_3=async(e={})=>{let{dryRun:t=!1}=e;if(!await M3())throw new Error("Working tree is dirty. Commit and push first.");let n=await I3();if(n.length>0)throw new Error(`You have unpushed commits. Push first, then rerelease.
257
- ${n.join(`
258
- `)}`);let r=await Ja();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 ft`git commit --allow-empty -m ${i}`.spawn(),await ft`git push origin HEAD`.spawn()}return{version:r,tag:o,dryRun:t}},L3=async(e={})=>{let t=await Ja();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 OZ(n),{version:t,tag:n,deleted:!0}},N3=e=>Tn.fromPromise(()=>D3(e)),B3=e=>Tn.fromPromise(()=>_3(e)),U3=e=>Tn.fromPromise(()=>L3(e)),IZ=e=>{let t=e.args[0];return t===void 0||!["patch","minor","major","same"].includes(t)?K.fail(hn.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})},DZ=e=>K.ok({dryRun:e.flags["dry-run"]===!0}),_Z=e=>K.ok({yes:e.flags.yes===!0}),LZ=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Or.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.dryRun?(Or.printWarning("[DRY RUN] Release preview:"),Or.printInfo(` Version: ${t.previousVersion} -> ${t.version}`),Or.printInfo(` Changelog: ${t.changelogGenerated?"generated":"no user-facing changes"}`),Or.printInfo(" No changes were made.")):(Or.printSuccess(`Released v${t.version}`),Or.printInfo(` Version: ${t.previousVersion} -> ${t.version}`),Or.printInfo(` Changelog: ${t.changelogGenerated?"updated":"no user-facing changes"}`),Or.printInfo(` Committed: ${t.committed}`),Or.printInfo(` Pushed: ${t.pushed}`),Or.printInfo(" CI will validate, tag, and publish."),Or.printInfo(" Watch: https://github.com/eser/stack/actions")),K.ok(void 0)},NZ=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Or.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.dryRun?Or.printWarning(`[DRY RUN] Would delete and recreate tag ${t.tag}`):(Or.printSuccess(`Re-tagged ${t.tag}`),Or.printInfo("CI will validate and publish.")),K.ok(void 0)},BZ=e=>{if(K.isFail(e)){let n=e.error,r=n instanceof Error?n.message:n.message??String(n);return Or.printError(r),K.fail({exitCode:1})}let{value:t}=e;return t.deleted&&Or.printSuccess(`Deleted tag v${t.version} (local + remote).`),K.ok(void 0)},z3=hn.createTrigger({handler:N3,adaptInput:IZ,adaptOutput:LZ}),W3=hn.createTrigger({handler:B3,adaptInput:DZ,adaptOutput:NZ}),H3=hn.createTrigger({handler:U3,adaptInput:_Z,adaptOutput:BZ}),UZ=async e=>{let t=Xe(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 Ja()??"0.0.0";if(Or.printInfo(`Current version: ${s}`),Or.printInfo(`Bump type: ${n}`),Or.printInfo("This will bump version, generate changelog, commit, and push."),!await MZ("Proceed?"))return Or.printWarning("Aborted."),K.ok(void 0);t.yes=!0}let i=Si("release",t);return await z3(i)},zZ=async e=>{let t=Xe(e??[],{boolean:["dry-run"],alias:{n:"dry-run"}}),n=Si("rerelease",t);return await W3(n)},WZ=async e=>{let t=Xe(e??[],{boolean:["yes"],alias:{y:"yes"}}),n=Si("unrelease",t);return await H3(n)}});var fP={};ve(fP,{createLogRecord:()=>pP,isCategory:()=>K3,isLogRecord:()=>VZ});var K3,VZ,pP,mP=k(()=>{"use strict";K3=e=>Array.isArray(e)&&e.every(t=>typeof t=="string"),VZ=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"&&K3(t.category)&&typeof t.properties=="object"&&typeof t.context=="object"},pP=e=>({rawMessage:e.rawMessage??e.message,args:e.args??[],datetime:e.datetime??new Date,properties:e.properties??{},context:e.context??{},...e})});var hP={};ve(hP,{categoriesEqual:()=>XZ,categoryKey:()=>_u,categoryToString:()=>Du,extendCategory:()=>gm,findMatchingConfigs:()=>gP,getCommonAncestor:()=>KZ,getParentCategory:()=>JZ,isAncestor:()=>YZ,isDescendant:()=>Z3,isDescendantOrSelf:()=>Nw,matchesPattern:()=>Bw,normalizeCategory:()=>Lo});var Lo,Du,_u,Z3,Nw,YZ,XZ,gP,JZ,gm,KZ,Bw,np=k(()=>{"use strict";Lo=e=>typeof e=="string"?e.split(".").filter(Boolean):e,Du=(e,t=".")=>e.join(t),_u=e=>e.join("\0"),Z3=(e,t)=>e.length<=t.length?!1:t.every((n,r)=>e[r]===n),Nw=(e,t)=>e.length<t.length?!1:t.every((n,r)=>e[r]===n),YZ=(e,t)=>Z3(t,e),XZ=(e,t)=>e.length!==t.length?!1:e.every((n,r)=>n===t[r]),gP=(e,t)=>{let n=[];for(let r of t.values()){let o=Lo(r.category);Nw(e,o)&&n.push(r)}return n.sort((r,o)=>{let i=Lo(r.category).length;return Lo(o.category).length-i}),n},JZ=e=>e.length<=1?null:e.slice(0,-1),gm=(e,t)=>{let n=typeof t=="string"?[t]:t;return[...e,...n]},KZ=(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},Bw=(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(Bw(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 wP={};ve(wP,{applyPrefixToCategory:()=>bP,clearDefaultStorages:()=>Hw,createCategoryPrefixScope:()=>qZ,createContextScope:()=>jZ,getCategoryPrefix:()=>$3,getCategoryPrefixStorage:()=>xP,getContext:()=>vP,getContextStorage:()=>yP,setCategoryPrefixStorage:()=>Ww,setContextStorage:()=>hm,withCategoryPrefix:()=>q3,withContext:()=>ey});var Uw,zw,ZZ,QZ,Q3,j3,hm,Ww,Hw,yP,xP,ey,vP,q3,$3,bP,jZ,qZ,ty=k(()=>{"use strict";np();ZZ=()=>{if(Uw===void 0)try{let e=globalThis.AsyncLocalStorage??globalThis.require?.("async_hooks")?.AsyncLocalStorage;e&&(Uw=new e)}catch{}return Uw},QZ=()=>{if(zw===void 0)try{let e=globalThis.AsyncLocalStorage??globalThis.require?.("async_hooks")?.AsyncLocalStorage;e&&(zw=new e)}catch{}return zw},hm=e=>{Q3=e},Ww=e=>{j3=e},Hw=()=>{Uw=void 0,zw=void 0},yP=()=>Q3??ZZ(),xP=()=>j3??QZ(),ey=(e,t)=>{let n=yP();if(!n)return t();let o={...n.getStore()??{},...e};return n.run(o,t)},vP=()=>{let e=yP();return e?e.getStore()??{}:{}},q3=(e,t)=>{let n=xP(),r=Lo(e);if(!n)return t();let o=n.getStore()??[],i=gm(o,r);return n.run(i,t)},$3=()=>{let e=xP();return e?e.getStore()??[]:[]},bP=e=>{let t=$3();return t.length===0?e:gm(t,e)},jZ=e=>t=>ey(e,t),qZ=e=>t=>q3(e,t)});var ny={};ve(ny,{configure:()=>tQ,configureSync:()=>nQ,getEffectiveConfig:()=>TP,getFilterNames:()=>cQ,getLoggerCategories:()=>uQ,getRegistryState:()=>$Z,getSinkNames:()=>lQ,isConfigured:()=>eQ,registerFilter:()=>iQ,registerLogger:()=>aQ,registerLoggerCacheClear:()=>RP,registerSink:()=>rQ,reset:()=>eU,resetSync:()=>tU,unregisterFilter:()=>sQ,unregisterSink:()=>oQ});var CP,RP,Et,Cl,$Z,eQ,tQ,nQ,eU,tU,TP,rQ,oQ,iQ,sQ,aQ,lQ,cQ,uQ,kP=k(()=>{"use strict";Xf();np();ty();CP=null,RP=e=>{CP=e},Et=null,Cl=new Map,$Z=()=>Et,eQ=()=>Et!==null,tQ=async e=>{(e.reset||Et===null)&&await eU(),Et={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=Lo(t.category),r=_u(n);Et.loggers.set(r,{...t,category:n})}e.contextLocalStorage&&hm(e.contextLocalStorage),Cl.clear()},nQ=e=>{(e.reset||Et===null)&&tU(),Et={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=Lo(t.category),r=_u(n);Et.loggers.set(r,{...t,category:n})}e.contextLocalStorage&&hm(e.contextLocalStorage),Cl.clear()},eU=async()=>{if(Et)for(let e of Et.sinks.values()){let t=e;typeof t.dispose=="function"?await t.dispose():typeof t[Symbol.asyncDispose]=="function"&&await t[Symbol.asyncDispose]()}Et=null,Cl.clear(),CP?.(),hm(void 0),Ww(void 0),Hw()},tU=()=>{if(Et)for(let e of Et.sinks.values()){let t=e;typeof t.disposeSync=="function"?t.disposeSync():typeof t[Symbol.dispose]=="function"&&t[Symbol.dispose]()}Et=null,Cl.clear(),CP?.(),hm(void 0),Ww(void 0),Hw()},TP=e=>{let t=_u(e),n=Cl.get(t);if(n)return n;let r={sinks:[],filters:[],lowestLevel:Be.Info};if(!Et)return r;let o=gP(e,Et.loggers),i=new Set,s=new Set,u=!1;for(let d of o){if(d.sinks&&d.sinks.length>0){d.parentSinks==="override"&&i.clear();for(let f of d.sinks)i.add(f)}if(d.filters)for(let f of d.filters)s.add(f);!u&&d.lowestLevel!==void 0&&(r.lowestLevel=d.lowestLevel,u=!0)}for(let d of i){let f=Et.sinks.get(d);f&&r.sinks.push(f)}for(let d of s){let f=Et.filters.get(d);f&&r.filters.push(f)}return Cl.set(t,r),r},rQ=(e,t)=>{if(!Et)throw new Error("Logging not configured. Call configure() first.");Et.sinks.set(e,t),Cl.clear()},oQ=e=>{Et&&(Et.sinks.delete(e),Cl.clear())},iQ=(e,t)=>{if(!Et)throw new Error("Logging not configured. Call configure() first.");Et.filters.set(e,t),Cl.clear()},sQ=e=>{Et&&(Et.filters.delete(e),Cl.clear())},aQ=e=>{if(!Et)throw new Error("Logging not configured. Call configure() first.");let t=Lo(e.category),n=_u(t);Et.loggers.set(n,{...e,category:t}),Cl.clear()},lQ=()=>Et?Array.from(Et.sinks.keys()):[],cQ=()=>Et?Array.from(Et.filters.keys()):[],uQ=()=>Et?Array.from(Et.loggers.values()).map(e=>Lo(e.category)):[]});var fe={};ve(fe,{DEFAULT_LEVEL:()=>dQ,Logger:()=>ry,clearLoggerCache:()=>nU,current:()=>rU,getLogger:()=>pQ});var dQ,ry,EP,pQ,nU,rU,SP=k(()=>{"use strict";Xf();mP();np();kP();ty();dQ=Be.Info,ry=class e{category;parent;#e;#t=null;constructor(t,n=null,r={}){this.category=Lo(t),this.parent=n,this.#e=r}#n(){return this.#t===null&&(this.#t=TP(this.category)),this.#t}getChild(t){let n=gm(this.category,Lo(t));return new e(n,this,this.#e)}with(t){return new e(this.category,this.parent,{...this.#e,...t})}get loggerName(){return Du(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=vP(),d=pP({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(d))return n instanceof Function?i:n;return o.sinks.length>0&&await Promise.all(o.sinks.map(f=>f(d))),n instanceof Function?i:n}debug(t,...n){return this.log(Be.Debug,t,...n)}info(t,...n){return this.log(Be.Info,t,...n)}warn(t,...n){return this.log(Be.Warning,t,...n)}error(t,...n){return this.log(Be.Error,t,...n)}critical(t,...n){return this.log(Be.Critical,t,...n)}emergency(t,...n){return this.log(Be.Emergency,t,...n)}alert(t,...n){return this.log(Be.Alert,t,...n)}notice(t,...n){return this.log(Be.Notice,t,...n)}trace(t,...n){return this.log(Be.Trace,t,...n)}},EP=new Map,pQ=e=>{let t=bP(Lo(e)),n=_u(t),r=EP.get(n);return r||(r=new ry(t),EP.set(n,r)),r},nU=()=>{EP.clear()};RP(nU);rU=new ry(["default"])});var oy={};ve(oy,{ansiColorFormatter:()=>aU,defaultAnsiColorFormatter:()=>yQ,defaultTextFormatter:()=>FP,jsonFormatter:()=>AP,jsonLinesFormatter:()=>hQ,textFormatter:()=>sU});var Mr,PP,fQ,mQ,oU,gQ,iU,AP,sU,aU,hQ,FP,yQ,OP=k(()=>{"use strict";Xf();np();Mr={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={[Be.Trace]:"TRCE",[Be.Debug]:"DBUG",[Be.Info]:"INFO",[Be.Notice]:"NOTC",[Be.Warning]:"WARN",[Be.Error]:"ERRO",[Be.Critical]:"CRIT",[Be.Alert]:"ALRT",[Be.Emergency]:"EMRG"},fQ={[Be.Trace]:`${Mr.dim}${Mr.magenta}`,[Be.Debug]:Mr.gray,[Be.Info]:Mr.green,[Be.Notice]:Mr.cyan,[Be.Warning]:Mr.yellow,[Be.Error]:Mr.red,[Be.Critical]:`${Mr.red}${Mr.bold}`,[Be.Alert]:`${Mr.bgRed}${Mr.white}`,[Be.Emergency]:`${Mr.bgRed}${Mr.white}${Mr.bold}`},mQ=e=>e.length>1?e:e[0],oU=(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}},gQ=e=>{try{return JSON.stringify(e)}catch{return String(e)}},iU=(e,t)=>{let n={...t,...e},r=Object.entries(n);return r.length===0?"":" "+r.map(([o,i])=>{let s=typeof i=="string"?i:gQ(i);return`${o}=${s}`}).join(" ")},AP=e=>{let t={level:tw[e.severity],datetime:e.datetime.getTime(),category:Du(e.category),message:e.message};e.args.length>0&&(t.args=mQ(e.args));let n={...e.context,...e.properties};return Object.keys(n).length>0&&(t.properties=n),`${JSON.stringify(t)}
259
- `},sU=(e={})=>{let{timestamp:t="date-time-timezone",categorySeparator:n=".",includeLevel:r=!0,includeCategory:o=!0}=e;return i=>{let s=[],u=oU(i.datetime,t);u&&s.push(u),r&&s.push(PP[i.severity]??"????"),o&&i.category.length>0&&s.push(`[${Du(i.category,n)}]`),s.push(i.message);let d=iU(i.properties,i.context);return`${s.join(" ")}${d}
260
- `}},aU=(e={})=>{let{timestamp:t="date-time-timezone",categorySeparator:n=".",includeLevel:r=!0,includeCategory:o=!0}=e;return i=>{let s=[],u=fQ[i.severity]??"",d=oU(i.datetime,t);if(d&&s.push(`${Mr.dim}${d}${Mr.reset}`),r){let h=PP[i.severity]??"????";s.push(`${u}${h}${Mr.reset}`)}if(o&&i.category.length>0){let h=Du(i.category,n);s.push(`${Mr.cyan}[${h}]${Mr.reset}`)}i.severity>=Be.Error?s.push(`${u}${i.message}${Mr.reset}`):s.push(i.message);let f=iU(i.properties,i.context);return f&&s.push(`${Mr.dim}${f.trim()}${Mr.reset}`),`${s.join(" ")}
261
- `}},hQ=e=>JSON.stringify({ts:e.datetime.getTime(),lvl:PP[e.severity],cat:Du(e.category),msg:e.message,...e.args.length>0?{args:e.args}:{},...e.context,...e.properties})+`
262
- `,FP=sU(),yQ=aU()});var iy={};ve(iy,{fingersCrossedSink:()=>RQ,getBufferedSink:()=>CQ,getCallbackSink:()=>EQ,getConsoleSink:()=>xQ,getStreamSink:()=>vQ,getTestSink:()=>kQ,multiplexSink:()=>wQ,nullSink:()=>TQ,withFilter:()=>bQ});var xQ,vQ,bQ,wQ,CQ,RQ,TQ,kQ,EQ,lU=k(()=>{"use strict";OP();xQ=(e={})=>{let{formatter:t=FP,stderr:n=!1}=e;return r=>{let o=t(r);n?console.error(o.trimEnd()):console.log(o.trimEnd())}},vQ=(e,t={})=>{let{formatter:n=AP}=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()}}},bQ=(e,t)=>n=>{if(t(n))return e(n)},wQ=(...e)=>async t=>{await Promise.all(e.map(n=>n(t)))},CQ=(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(h=>e(h)))},u=()=>{i===null&&(i=setTimeout(()=>{i=null,s().catch(()=>{})},r))},d=async f=>{o.push(f),o.length>=n?await s():u()};return d.flush=s,d},RQ=(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(h=>e(h)))},u=()=>{o=[],i=!1},d=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 d.flush=s,d.clear=u,d},TQ=e=>{},kQ=()=>{let e=[];return{sink:n=>{e.push(n)},records:e}},EQ=e=>e});var MP={};ve(MP,{anyFilter:()=>_Q,combineFilters:()=>DQ,getCategoryFilter:()=>PQ,getCategoryPatternFilter:()=>AQ,getLevelFilter:()=>SQ,getMessageFilter:()=>MQ,getMessageRegexFilter:()=>IQ,getPropertyFilter:()=>FQ,getPropertyValueFilter:()=>OQ,getRateLimitFilter:()=>UQ,getSamplingFilter:()=>zQ,notFilter:()=>LQ,passAllFilter:()=>NQ,rejectAllFilter:()=>BQ});var SQ,PQ,AQ,FQ,OQ,MQ,IQ,DQ,_Q,LQ,NQ,BQ,UQ,zQ,cU=k(()=>{"use strict";np();SQ=e=>t=>t.severity>=e,PQ=e=>{let t=Lo(e);return n=>Nw(n.category,t)},AQ=e=>{let t=Lo(e);return n=>Bw(n.category,t)},FQ=e=>t=>e in t.properties||e in t.context,OQ=(e,t)=>n=>{let r=n.properties[e]??n.context[e];return t(r)},MQ=(e,t=!1)=>n=>t?n.message.includes(e):n.message.toLowerCase().includes(e.toLowerCase()),IQ=e=>t=>e.test(t.message),DQ=(...e)=>t=>e.every(n=>n(t)),_Q=(...e)=>t=>e.some(n=>n(t)),LQ=e=>t=>!e(t),NQ=e=>!0,BQ=e=>!1,UQ=(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)}},zQ=e=>{if(e<=0||!Number.isFinite(e))throw new Error("sampleRate must be a positive number");return t=>Math.random()<1/e}});var uU,dU=k(()=>{uU=typeof globalThis=="object"?globalThis:global});var pU=k(()=>{dU()});var fU=k(()=>{pU()});var Bc,IP=k(()=>{Bc="1.9.0"});function WQ(e){var t=new Set([e]),n=new Set,r=e.match(mU);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(d){return d===e};function i(u){return n.add(u),!1}function s(u){return t.add(u),!0}return function(d){if(t.has(d))return!0;if(n.has(d))return!1;var f=d.match(mU);if(!f)return i(d);var h={major:+f[1],minor:+f[2],patch:+f[3],prerelease:f[4]};return h.prerelease!=null||o.major!==h.major?i(d):o.major===0?o.minor===h.minor&&o.patch<=h.patch?s(d):i(d):o.minor<=h.minor?s(d):i(d)}}var mU,gU,hU=k(()=>{IP();mU=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;gU=WQ(Bc)});function Lu(e,t,n,r){var o;r===void 0&&(r=!1);var i=ay[sy]=(o=ay[sy])!==null&&o!==void 0?o:{version:Bc};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!==Bc){var s=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+e+" does not match previously registered API v"+Bc);return n.error(s.stack||s.message),!1}return i[e]=t,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+Bc+"."),!0}function Rl(e){var t,n,r=(t=ay[sy])===null||t===void 0?void 0:t.version;if(!(!r||!gU(r)))return(n=ay[sy])===null||n===void 0?void 0:n[e]}function Nu(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+Bc+".");var n=ay[sy];n&&delete n[e]}var HQ,sy,ay,ym=k(()=>{fU();IP();hU();HQ=Bc.split(".")[0],sy=Symbol.for("opentelemetry.js.api."+HQ),ay=uU});function ly(e,t,n){var r=Rl("diag");if(r)return n.unshift(t),r[e].apply(r,VQ([],GQ(n),!1))}var GQ,VQ,yU,xU=k(()=>{ym();GQ=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},VQ=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))},yU=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 ly("debug",this._namespace,t)},e.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ly("error",this._namespace,t)},e.prototype.info=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ly("info",this._namespace,t)},e.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ly("warn",this._namespace,t)},e.prototype.verbose=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ly("verbose",this._namespace,t)},e}()});var us,DP=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"})(us||(us={}))});function vU(e,t){e<us.NONE?e=us.NONE:e>us.ALL&&(e=us.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",us.ERROR),warn:n("warn",us.WARN),info:n("info",us.INFO),debug:n("debug",us.DEBUG),verbose:n("verbose",us.VERBOSE)}}var bU=k(()=>{DP()});var YQ,XQ,JQ,Tl,cy=k(()=>{xU();bU();DP();ym();YQ=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},XQ=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))},JQ="diag",Tl=function(){function e(){function t(o){return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var u=Rl("diag");if(u)return u[o].apply(u,XQ([],YQ(i),!1))}}var n=this,r=function(o,i){var s,u,d;if(i===void 0&&(i={logLevel:us.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 h=Rl("diag"),y=vU((u=i.logLevel)!==null&&u!==void 0?u:us.INFO,o);if(h&&!i.suppressOverrideMessage){var x=(d=new Error().stack)!==null&&d!==void 0?d:"<failed to generate stacktrace>";h.warn("Current logger will be overwritten from "+x),y.warn("Current logger will overwrite one already registered from "+x)}return Lu("diag",y,n,!0)};n.setLogger=r,n.disable=function(){Nu(JQ,n)},n.createComponentLogger=function(o){return new yU(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 KQ,ZQ,wU,CU=k(()=>{KQ=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},ZQ=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.")},wU=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=KQ(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=ZQ(r),u=s.next();!u.done;u=s.next()){var d=u.value;i._entries.delete(d)}}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 RU(e){return e===void 0&&(e={}),new wU(new Map(Object.entries(e)))}var Kwe,TU=k(()=>{cy();CU();Kwe=Tl.instance()});function Gw(e){return Symbol.for(e)}var QQ,kU,Vw=k(()=>{QQ=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}(),kU=new QQ});var EU,SU,PU=k(()=>{EU={get:function(e,t){if(e!=null)return e[t]},keys:function(e){return e==null?[]:Object.keys(e)}},SU={set:function(e,t,n){e!=null&&(e[t]=n)}}});var jQ,qQ,AU,FU=k(()=>{Vw();jQ=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},qQ=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))},AU=function(){function e(){}return e.prototype.active=function(){return kU},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,qQ([r],jQ(o),!1))},e.prototype.bind=function(t,n){return n},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}()});var $Q,ej,_P,tj,Bu,uy=k(()=>{FU();ym();cy();$Q=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},ej=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))},_P="context",tj=new AU,Bu=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(t){return Lu(_P,t,Tl.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,ej([t,n,r],$Q(i),!1))},e.prototype.bind=function(t,n){return this._getContextManager().bind(t,n)},e.prototype._getContextManager=function(){return Rl(_P)||tj},e.prototype.disable=function(){this._getContextManager().disable(),Nu(_P,Tl.instance())},e}()});var Yw,OU=k(()=>{(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(Yw||(Yw={}))});var LP,NP,MU,BP=k(()=>{OU();LP="0000000000000000",NP="00000000000000000000000000000000",MU={traceId:NP,spanId:LP,traceFlags:Yw.NONE}});var Uu,Xw=k(()=>{BP();Uu=function(){function e(t){t===void 0&&(t=MU),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 Jw(e){return e.getValue(UP)||void 0}function IU(){return Jw(Bu.getInstance().active())}function dy(e,t){return e.setValue(UP,t)}function DU(e){return e.deleteValue(UP)}function _U(e,t){return dy(e,new Uu(t))}function Kw(e){var t;return(t=Jw(e))===null||t===void 0?void 0:t.spanContext()}var UP,zP=k(()=>{Vw();Xw();uy();UP=Gw("OpenTelemetry Context Key SPAN")});function oj(e){return nj.test(e)&&e!==NP}function ij(e){return rj.test(e)&&e!==LP}function Zw(e){return oj(e.traceId)&&ij(e.spanId)}function LU(e){return new Uu(e)}var nj,rj,WP=k(()=>{BP();Xw();nj=/^([0-9a-f]{32})$/i,rj=/^[0-9a-f]{16}$/i});function sj(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var HP,Qw,GP=k(()=>{uy();zP();Xw();WP();HP=Bu.getInstance(),Qw=function(){function e(){}return e.prototype.startSpan=function(t,n,r){r===void 0&&(r=HP.active());var o=!!n?.root;if(o)return new Uu;var i=r&&Kw(r);return sj(i)&&Zw(i)?new Uu(i):new Uu},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 d=s??HP.active(),f=this.startSpan(t,i,d),h=dy(d,f);return HP.with(h,u,void 0,f)}},e}()});var aj,NU,BU=k(()=>{GP();aj=new Qw,NU=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):aj},e}()});var UU,zU=k(()=>{GP();UU=function(){function e(){}return e.prototype.getTracer=function(t,n,r){return new Qw},e}()});var lj,VP,WU=k(()=>{BU();zU();lj=new UU,VP=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 NU(this,t,n,r)},e.prototype.getDelegate=function(){var t;return(t=this._delegate)!==null&&t!==void 0?t:lj},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 Ka,HU=k(()=>{(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(Ka||(Ka={}))});var YP,GU=k(()=>{uy();YP=Bu.getInstance()});var VU,YU=k(()=>{VU=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 JP(e){return e.getValue(XP)||void 0}function XU(){return JP(Bu.getInstance().active())}function JU(e,t){return e.setValue(XP,t)}function KU(e){return e.deleteValue(XP)}var XP,ZU=k(()=>{uy();Vw();XP=Gw("OpenTelemetry Baggage Key")});var KP,cj,QU,jU=k(()=>{ym();YU();PU();ZU();TU();cy();KP="propagation",cj=new VU,QU=function(){function e(){this.createBaggage=RU,this.getBaggage=JP,this.getActiveBaggage=XU,this.setBaggage=JU,this.deleteBaggage=KU}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(t){return Lu(KP,t,Tl.instance())},e.prototype.inject=function(t,n,r){return r===void 0&&(r=SU),this._getGlobalPropagator().inject(t,n,r)},e.prototype.extract=function(t,n,r){return r===void 0&&(r=EU),this._getGlobalPropagator().extract(t,n,r)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){Nu(KP,Tl.instance())},e.prototype._getGlobalPropagator=function(){return Rl(KP)||cj},e}()});var ZP,qU=k(()=>{jU();ZP=QU.getInstance()});var QP,$U,ez=k(()=>{ym();WU();WP();zP();cy();QP="trace",$U=function(){function e(){this._proxyTracerProvider=new VP,this.wrapSpanContext=LU,this.isSpanContextValid=Zw,this.deleteSpan=DU,this.getSpan=Jw,this.getActiveSpan=IU,this.getSpanContext=Kw,this.setSpan=dy,this.setSpanContext=_U}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(t){var n=Lu(QP,this._proxyTracerProvider,Tl.instance());return n&&this._proxyTracerProvider.setDelegate(t),n},e.prototype.getTracerProvider=function(){return Rl(QP)||this._proxyTracerProvider},e.prototype.getTracer=function(t,n){return this.getTracerProvider().getTracer(t,n)},e.prototype.disable=function(){Nu(QP,Tl.instance()),this._proxyTracerProvider=new VP},e}()});var xm,tz=k(()=>{ez();xm=$U.getInstance()});var jP=k(()=>{HU();GU();qU();tz()});var eA={};ve(eA,{SpanStatusCode:()=>Ka,context:()=>YP,createTracer:()=>uj,propagation:()=>ZP,recordSpanError:()=>$P,trace:()=>xm,traceOperation:()=>pj,tracer:()=>qP,withSpan:()=>rz,withSpanSync:()=>dj});var qP,$P,uj,nz,rz,dj,pj,oz=k(()=>{"use strict";jP();ty();jP();qP=xm.getTracer("@eser/logging"),$P=(e,t)=>{t instanceof Error?(e.recordException(t),e.setStatus({code:Ka.ERROR,message:t.message})):e.setStatus({code:Ka.ERROR,message:String(t)})},uj=(e,t)=>xm.getTracer(e,t),nz=e=>{let t=e.spanContext();return t?{traceId:t.traceId,spanId:t.spanId,traceFlags:t.traceFlags}:null},rz=async(e,t)=>{let n=qP.startSpan(e);try{let r=nz(n);if(r){let i=await ey(r,()=>t(n));return n.setStatus({code:Ka.OK}),i}let o=await t(n);return n.setStatus({code:Ka.OK}),o}catch(r){throw $P(n,r),r}finally{n.end()}},dj=(e,t)=>{let n=qP.startSpan(e);try{let r=nz(n);if(r){let i=ey(r,()=>t(n));return n.setStatus({code:Ka.OK}),i}let o=t(n);return n.setStatus({code:Ka.OK}),o}catch(r){throw $P(n,r),r}finally{n.end()}},pj=(e,t)=>rz(e,t)});var ot={};ve(ot,{Severities:()=>Be,SeverityNames:()=>tw,category:()=>hP,config:()=>ny,context:()=>wP,filters:()=>MP,formatters:()=>oy,logger:()=>fe,sinks:()=>iy,tracer:()=>eA,types:()=>fP});var it=k(()=>{mP();np();kP();SP();ty();lU();cU();OP();oz();Xf()});var tA,iz,py,vm,sz,fj,nA,mj,bm,fy=k(()=>{Vs();we();tA={USE_CLIENT:"use client",USE_SERVER:"use server",USE_STRICT:"use strict"},iz=[/node_modules/,/\.test\./,/\.spec\./],py=(e,t)=>{let n=e.split(`
263
- `),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}";`,d=`'${r}';`,f=s.toLowerCase();if(f===u||f===d)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},vm=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(d=>{let f=d.trim().split(/ {1,10}as {1,10}/);return(f[1]??f[0])?.trim()});for(let d of u)d!==void 0&&d!==""&&t.add(d)}return[...t]},sz=async e=>{try{return await C.fs.readTextFile(e)}catch{return null}},fj=async(e,t,n={})=>{let r=n.extensions??Ei,o=n.skip??iz,i=n.projectRoot??e,s=[];for await(let u of C.fs.walk(e,{exts:[...r],skip:[...o]})){if(!u.isFile)continue;let d=await sz(u.path);if(d!==null&&py(d,t)){let f=C.path.relative(i,u.path),h=vm(d);s.push({filePath:u.path,relativePath:f,directive:t,exports:h})}}return s},nA=(e,t={})=>fj(e,tA.USE_CLIENT,t),mj=(e,t)=>{let n=`"${t}"`,r=`'${t}'`;return e.includes(n)||e.includes(r)},bm=async(e,t={})=>{let n=t.extensions??Ei,r=t.skip??iz,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 sz(s.path);if(u!==null&&mj(u,tA.USE_SERVER)){let d=C.path.relative(o,s.path),f=vm(u);i.push({filePath:s.path,relativePath:d,directive:tA.USE_SERVER,exports:f})}}return i}});function gj(e,t){return`${e.replace(/\.[cm]?[jt]sx?$/,"")}#${t}`}function hj(e,t){let n=gj(e,t);return`Object.defineProperties(${t}, {
264
- $$typeof: { value: Symbol.for("react.server.reference"), enumerable: false },
265
- $$id: { value: "${n}", enumerable: false },
266
- $$bound: { value: null, enumerable: false, writable: true }
267
- });`}async function yj(e,t){let n;try{n=await C.fs.readTextFile(e)}catch(d){return kl.warn(`Failed to read file: ${e}`,{error:d}),null}if(!py(n,"use server"))return kl.debug(`Skipping ${e} - no file-level "use server"`),null;let r=vm(n);if(r.length===0)return kl.debug(`Skipping ${e} - no exports found`),null;let o=r.filter(d=>d!=="default");if(o.length===0)return kl.debug(`Skipping ${e} - only default export`),null;kl.debug(`Transforming ${e} with ${o.length} export(s)`);let i=o.map(d=>hj(t,d)).join(`
268
- `),s=n.split(`
269
- `);s.push(""),s.push("// Auto-generated React server reference markers"),s.push(i);let u=s.join(`
270
- `);return await C.fs.writeTextFile(e,u),kl.debug(`Transformed ${e}: marked ${o.length} action(s) with server reference symbols`),o}async function az(e){if(kl.debug(`Scanning for server actions in: ${e}`),!await C.fs.exists(e))return kl.debug(`Directory does not exist: ${e}`),[];let n=await bm(e,{projectRoot:e});if(n.length===0)return kl.debug("No server action files found"),[];kl.info(`Found ${n.length} server action file(s) to transform`);let r=[];for(let o of n){let i=await yj(o.filePath,o.relativePath);i!==null&&i.length>0&&r.push({filePath:o.filePath,relativePath:o.relativePath,transformedActions:i})}return kl.info(`Transformed ${r.length} server action file(s)`),r}var kl,lz=k(()=>{we();it();fy();kl=fe.getLogger(["laroux-bundler","server-action-transform"])});function xj(e,t){return`${e.replace(/\.[cm]?[jt]sx?$/,"")}#${t}`}function vj(e,t){let n=xj(e,t);return`export const ${t} = Object.assign(
271
- async function ${t}(...args) {
272
- if (typeof globalThis.__callServer !== "function") {
273
- throw new Error("Server actions not initialized. Ensure client bootstrap provides __callServer.");
274
- }
275
- return globalThis.__callServer("${n}", args);
276
- },
277
- {
278
- $$typeof: Symbol.for("react.server.reference"),
279
- $$id: "${n}",
280
- $$bound: null
281
- }
282
- );`}function bj(e,t){let n=`/**
283
- * Auto-generated client stubs for server actions
284
- * Original file: ${e}
285
- *
286
- * These stubs call the server's /action endpoint with the correct action ID.
287
- * Action ID format: path/to/file#exportName
288
- */
289
-
290
- `,r=t.map(o=>vj(e,o)).join(`
291
-
292
- `);return n+r+`
293
- `}async function wj(e,t){let n;try{n=await C.fs.readTextFile(e)}catch(s){return ic.warn(`Failed to read file: ${e}`,{error:s}),null}if(!py(n,"use server"))return null;let r=vm(n);if(r.length===0)return ic.debug(`Skipping ${e} - no exports found`),null;let o=r.filter(s=>s!=="default");if(o.length===0)return ic.debug(`Skipping ${e} - only default export`),null;ic.debug(`Generating stubs for ${e} with ${o.length} export(s)`);let i=bj(t,o);return await C.fs.writeTextFile(e,i),ic.debug(`Generated client stubs: ${o.join(", ")}`),o}async function cz(e,t){if(ic.debug(`Scanning for server actions in: ${e}`),!await C.fs.exists(e))return ic.debug(`Directory does not exist: ${e}`),[];let r=await bm(e,{projectRoot:t});if(r.length===0)return ic.debug("No server action files found"),[];ic.info(`Found ${r.length} server action file(s) to generate stubs for`);let o=[];for(let i of r){let s=await wj(i.filePath,i.relativePath);s!==null&&s.length>0&&o.push({filePath:i.filePath,relativePath:i.relativePath,exportedActions:s})}return ic.info(`Generated stubs for ${o.length} server action file(s)`),o}var ic,uz=k(()=>{we();it();fy();ic=fe.getLogger(["laroux-bundler","client-action-stub"])});function po(e){return e instanceof URL?CM(e):e}var El=k(()=>{IT()});async function dz(e){try{let t=await Array.fromAsync(Deno.readDir(e));await Promise.all(t.map(n=>{if(n&&n.name){let r=es(po(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 pz=k(()=>{gh();El()});function wm(e){return e.isFile?"file":e.isDirectory?"dir":e.isSymlink?"symlink":void 0}var my=k(()=>{});async function rp(e){try{let t=await Deno.stat(e);fz(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);fz(n)}}function fz(e){if(!e.isDirectory)throw new Error(`Failed to ensure directory exists: expected 'dir', got '${wm(e)}'`)}var Cm=k(()=>{my()});var mz=k(()=>{dh();Cm();my();El()});var gz=k(()=>{dh();Cm();El()});var hz=k(()=>{dh();Yd();Cm();my();El();Vr()});var yz=k(()=>{});async function oA(e){e=po(e),e=nb(e);let t=Mf(e),n=await Deno.stat(e);return{path:e,name:t,isFile:n.isFile,isDirectory:n.isDirectory,isSymlink:n.isSymlink}}var iA=k(()=>{Jv();GT();El()});function jw(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*qw(e,t){let{maxDepth:n=1/0,includeFiles:r=!0,includeDirs:o=!0,includeSymlinks:i=!0,followSymlinks:s=!1,canonicalize:u=!0,exts:d=void 0,match:f=void 0,skip:h=void 0}=t??{};if(!(n<0)&&(e=po(e),d&&(d=d.map(y=>y.startsWith(".")?y:`.${y}`)),o&&jw(e,d,f,h)&&(yield await oA(e)),!(n<1||!jw(e,void 0,void 0,h))))for await(let y of Deno.readDir(e)){let x=es(e,y.name),{isSymlink:w,isDirectory:A}=y;if(w){if(!s){i&&jw(x,d,f,h)&&(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};d!==void 0&&(F.exts=d),f!==void 0&&(F.match=f),h!==void 0&&(F.skip=h),yield*qw(x,F)}else r&&jw(x,d,f,h)&&(yield{path:x,...y})}}var sA=k(()=>{gh();El();iA()});var u0e,xz=k(()=>{ZT();tk();QT();NT();Yd();ch();sA();El();iA();Vr();u0e=globalThis.Deno?.build.os==="windows"?"`":"\\"});function aA(e,t,n=lh){if(e=po(e),t=po(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 lA=k(()=>{Yd();ch();El()});var vz=k(()=>{Yd();El()});var bz=k(()=>{lA();vz()});function Rm(e,t){if(e===null)throw new Error(`${t} is unavailable`)}async function cA(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 wz(e,t,n){if(await cA(e,t,n),await Deno.copyFile(e,t),n.preserveTimestamps){let r=await Deno.stat(e);Rm(r.atime,"statInfo.atime"),Rm(r.mtime,"statInfo.mtime"),await Deno.utime(t,r.atime,r.mtime)}}async function Cz(e,t,n){await cA(e,t,n);let r=await Deno.readLink(e),o=wm(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);Rm(i.atime,"statInfo.atime"),Rm(i.mtime,"statInfo.mtime"),await Deno.utime(t,i.atime,i.mtime)}}async function Rz(e,t,n){if(await cA(e,t,{...n,isFolder:!0})||await rp(t),n.preserveTimestamps){let i=await Deno.stat(e);Rm(i.atime,"statInfo.atime"),Rm(i.mtime,"statInfo.mtime"),await Deno.utime(t,i.atime,i.mtime)}e=po(e),t=po(t);let o=[];for await(let i of Deno.readDir(e)){let s=es(e,i.name),u=es(t,Mf(s));i.isSymlink?o.push(Cz(s,u,n)):i.isDirectory?o.push(Rz(s,u,n)):i.isFile&&o.push(wz(s,u,n))}await Promise.all(o)}async function sc(e,t,n={}){if(e=ts(po(e)),t=ts(po(t)),e===t)throw new Error("Source and destination cannot be the same");let r=await Deno.lstat(e);if(r.isDirectory&&aA(e,t))throw new Error(`Cannot copy '${e}' to a subdirectory of itself: '${t}'`);r.isSymlink?await Cz(e,t,n):r.isDirectory?await Rz(e,t,n):r.isFile&&await wz(e,t,n)}var Tz=k(()=>{Jv();gh();Yd();Cm();my();El();lA();Vr()});var Rj,Tj,M0e,kz=k(()=>{Rj=`
294
- `,Tj=`\r
295
- `,M0e=globalThis.Deno?.build.os==="windows"?Tj:Rj});var gy=k(()=>{pz();Cm();mz();gz();hz();yz();xz();bz();Tz();sA();kz()});function Ez(e,t,n){return e.substring(0,t)+n+e.substring(t+1)}function $w(e){if(!Number.isInteger(e)||e<0||e>uA)throw new RangeError(`Time must be a positive integer less than ${uA}`);let t="";for(let n=dA;n>0;n--){let r=e%hy;t=op[r]+t,e=Math.floor(e/hy)}return t}function pA(){let e="",t=crypto.getRandomValues(new Uint8Array(Sz));for(let n of t)e+=op[n%hy];return e}function Ej(e){let t=e.length,n,r,o=hy-1;for(;--t>=0;){if(n=e[t],r=op.indexOf(n),r===-1)throw new TypeError("Incorrectly encoded string");if(r===o){e=Ez(e,t,op[0]);continue}return Ez(e,t,op[r+1])}throw new Error("Cannot increment this string")}function Pz(e=pA){let t=0,n;return function(o=Date.now()){if(o<=t){let s=n=Ej(n);return $w(t)+s}t=o;let i=n=e();return $w(o)+i}}var op,hy,uA,dA,Sz,kj,eC=k(()=>{op="0123456789ABCDEFGHJKMNPQRSTVWXYZ",hy=op.length,uA=Math.pow(2,48)-1,dA=10,Sz=16,kj=dA+Sz});var Az=k(()=>{eC()});var Q0e,Fz=k(()=>{eC();Q0e=Pz()});function Oz(e=Date.now()){return $w(e)+pA()}var Mz=k(()=>{eC()});var Iz=k(()=>{Az();Fz();Mz()});var Dz,_z=k(()=>{Dz={name:"noop",analyzeClientComponents:()=>Promise.resolve([]),getAllComponents:()=>Promise.resolve([]),transformClientComponents:()=>Promise.resolve([])}});var yy,Lz,Nz=k(()=>{yy=class extends Error{constructor(n,r,o){super(n);this.code=r;this.hint=o;this.name="BuildError"}},Lz={cssError:e=>new yy(`CSS processing failed: ${e}`,"BUILD104","Check your CSS files and configuration."),moduleNotFound:e=>new yy(`Module not found: ${e}`,"BUILD100","Check that the file exists and the import path is correct."),buildFailed:e=>new yy(`Build failed: ${e}`,"BUILD101","Check the error details above and fix any syntax or type errors.")}});import{transform as Sj}from"lightningcss";async function fA(e){let{input:t,output:n,minify:r=!1,projectRoot:o,plugin:i}=e;if(!await C.fs.exists(t)){xy.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);xy.debug(`Processing CSS: ${t} \u2192 ${n}`);let d={projectRoot:o,cssPath:t,isModule:!1};try{(i?.shouldProcess?.(u,d)??!!i)&&i?.compile?u=await i.compile(u,d):u=await Bz(u,r),await C.fs.writeTextFile(n,u),xy.debug(`\u2713 CSS processed successfully: ${n}`)}catch(f){let h=f instanceof Error?f.message:String(f);throw xy.error(`CSS processing failed: ${h}`),Lz.cssError(h)}}function Bz(e,t){try{let n=Sj({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 xy.warn(`Lightning CSS post-processing failed: ${n instanceof Error?n.message:String(n)}`),e}}var xy,Uz=k(()=>{we();it();Nz();xy=fe.getLogger(["laroux-bundler","css"])});var zz=k(()=>{Uz()});function Tm(e){if(URL.canParse(e))return new URL(e).protocol;let t=e.indexOf(":");return t>0&&t<Fj?e.slice(0,t+1):null}function vy(e){return e.startsWith("./")||e.startsWith("../")||e.startsWith("/")}function tC(e){let t=Tm(e);return t!==null&&Aj.has(t)?!1:!vy(e)}function Oj(e){let t=Tm(e);return t==="npm:"||t===null&&!vy(e)}function Mj(e){return Tm(e)==="jsr:"}function Ij(e){return vy(e)||Tm(e)==="file:"}function Dj(e){let t=[];for(let[n,r]of Object.entries(e))t.push({specifier:n,target:r,source:"deno.json",isNpmPackage:Oj(r),isJsrPackage:Mj(r),isLocalPath:Ij(r)});return t}function _j(e){let t=[];for(let[n,r]of Object.entries(e)){let o=Tm(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 Lj(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 mA.debug(`Failed to load deno.json: ${n instanceof Error?n.message:String(n)}`),null}}async function Nj(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 mA.debug(`Failed to load package.json: ${n instanceof Error?n.message:String(n)}`),null}}async function Wz(e){let t=new Map,n=[],r=await Lj(e),o=await Nj(e);if(o!==null){let i={...o.peerDependencies,...o.devDependencies,...o.dependencies};for(let s of _j(i))t.set(s.specifier,s),(s.isNpmPackage||s.isJsrPackage)&&n.push(s.specifier)}if(r?.imports!==void 0)for(let i of Dj(r.imports))t.set(i.specifier,i),(i.isNpmPackage||i.isJsrPackage)&&(n.includes(i.specifier)||n.push(i.specifier));return mA.debug(`Loaded import map: ${t.size} entries, ${n.length} externals`),{entries:t,externals:n,projectRoot:e,hasDenoJson:r!==null,hasPackageJson:o!==null}}function Hz(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 Gz(e,t){let n=Tm(e);if(n!==null&&Pj.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 mA,Pj,Aj,Fj,Vz=k(()=>{we();it();mA=fe.getLogger(["laroux-bundler","import-map"]),Pj=new Set(["npm:","jsr:","node:"]),Aj=new Set(["npm:","jsr:","node:","http:","https:","file:","data:"]),Fj=12});async function Bj(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 d=C.path.join(n,u.name,"node_modules",i);if(!(await C.fs.stat(d).catch(()=>null))?.isDirectory)continue;if(s){let w=C.path.join(d,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 h=await $d({baseDir:d});if(h!==void 0){let w;if(h.exports!==void 0){let A=h.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 h._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(d,w)}let y=C.path.join(d,"index.js");if(await C.fs.stat(y).catch(()=>null))return y}}catch{}return null}function Yz(e){let t=e.cache??new Map,n=e.importMap??null,r=e.autoMarkExternal??!0,o=e.externals??[],i=u=>{for(let d of o)if(u===d||u.startsWith(`${d}/`))return!0;return!1},s={...e.browserShims.jsr,...e.browserShims.nodeBuiltins};return{name:"import-map-resolver",async setup(u){n===null&&(n=await Wz(e.projectRoot),Pi.debug(`Loaded import map: ${n.entries.size} entries, ${n.externals.length} externals`)),u.onResolve({filter:/^[^./]/},async d=>{let f=d.path;if(!tC(f))return{};let h=t.get(f);if(h!==void 0)return h==="external"?{external:!0}:{path:h};if(i(f))return t.set(f,"external"),Pi.debug(`Marking ${f} as external (explicit)`),{external:!0};if(s[f]!==void 0)return Pi.debug(`Using browser shim for ${f}`),{path:`\0virtual:${f}`,namespace:"browser-shim"};let y=Hz(f,n);if(y!==null){if(r&&Gz(f,n))return t.set(f,"external"),Pi.debug(`Marking ${f} as external`),{external:!0};try{if(vy(y)){let w=C.path.resolve(n.projectRoot,y);return t.set(f,w),Pi.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),Pi.debug(`Resolved ${f} \u2192 ${w}`),{path:w}}return r?(t.set(f,"external"),Pi.debug(`Marking ${f} as external (remote: ${x})`),{external:!0}):(Pi.debug(`Letting bundler resolve ${f} from node_modules`),{})}catch(x){Pi.debug(`Failed to resolve ${y}: ${x instanceof Error?x.message:String(x)}`)}}if(r&&tC(f))return t.set(f,"external"),Pi.debug(`Marking ${f} as external (bare import not in import map)`),{external:!0};if(!r&&tC(f)){let x=await Bj(f,e.projectRoot);if(x!==null)return t.set(f,x),Pi.debug(`Resolved npm transitive dependency ${f} \u2192 ${x}`),{path:x}}return{}}),u.onResolve({filter:/^jsr:/},d=>{let f=d.path,h=t.get(f);if(h!==void 0)return h==="external"?{external:!0}:{path:h};try{let y=import.meta.resolve(f);if(y.startsWith("file://")){let x=new URL(y).pathname;return t.set(f,x),Pi.debug(`Resolved ${f} \u2192 ${x}`),{path:x}}return t.set(f,"external"),Pi.debug(`Marking ${f} as external (remote JSR)`),{external:!0}}catch(y){return Pi.debug(`Failed to resolve ${f}: ${y instanceof Error?y.message:String(y)}`),{}}}),u.onResolve({filter:/^node:/},d=>{let f=d.path;return s[f]!==void 0?(Pi.debug(`Using browser shim for ${f}`),{path:`\0virtual:${f}`,namespace:"browser-shim"}):(Pi.warn(`Node builtin ${f} has no browser shim - marking as external`),{external:!0})}),u.onLoad({filter:/.*/,namespace:"browser-shim"},d=>{let f=d.path.replace("\0virtual:",""),h=s[f];return h!==void 0?{contents:h,loader:"js"}:{}})}}}var Pi,Xz=k(()=>{Yf();it();we();Vz();Pi=fe.getLogger(["laroux-bundler","import-map-resolver"])});async function*Uc(e,t,n){let r=C.fs.walk(e,{includeDirs:!1,includeFiles:!0,exts:Ei,skip:[n]});for await(let o of r){let i=C.path.relative(e,o.path);t!==void 0&&!Uj(t).test(i)||(yield i)}}var Uj,gA=k(()=>{"use strict";Vs();we();Uj=e=>{let t=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*\*/g,".*").replace(/\*/g,"[^/]*");return new RegExp(`^${t}$`)}});var Jz=k(()=>{"use strict"});var PTe,ATe,Kz=k(()=>{"use strict";Jz();PTe=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]"),ATe=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 Zz=k(()=>{"use strict";we();Ws()});var Qz=k(()=>{"use strict";we();SP();Kz();gA();Zz()});var by=k(()=>{gA();Qz()});function Jj(e){for(let t of $z)if(e.startsWith(`${t}.`)&&Ih.test(e))return t;return null}function eW(){nC=null,hA=0,ip.debug("Route cache invalidated")}async function tW(e,t,n=!1){if(!n&&nC)try{if(((await C.fs.stat(e)).mtime?.getTime()??0)<=hA)return ip.debug("Using cached route scan result"),nC}catch{}ip.debug(`Scanning routes in: ${e}`);let r=new Map;for await(let x of Uc(e,void 0,Yj)){let w=C.path.basename(x);if(!Xj.has(w))continue;let A=C.path.dirname(x),F=r.get(A)??{},D=C.path.join(e,x),L=Jj(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=Kj(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}),ip.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}),ip.debug(`Found API route: ${A} -> ${F}`)}if(w.proxyPath){let F=C.path.relative(t,w.proxyPath);s.push({pathPrefix:A||"/",modulePath:F}),ip.debug(`Found proxy: ${A||"/"} -> ${F}`)}}let d=jz(o),f=jz(i),h=Zj(s);ip.debug(`Found ${d.length} page routes, ${f.length} API routes, ${h.length} proxies`);let y={routes:d,apiRoutes:f,proxies:h};try{hA=(await C.fs.stat(e)).mtime?.getTime()??0}catch{}return nC=y,y}function Kj(e){return!e||e==="."||e==="home"?"/":`/${$l(e)}`}function jz(e){return e.sort((t,n)=>{let r=qz(t.routePath),o=qz(n.routePath);return r!==o?o-r:n.routePath.length-t.routePath.length})}function qz(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 Zj(e){return e.sort((t,n)=>n.pathPrefix.length-t.pathPrefix.length)}var ip,nC,hA,Yj,$z,Xj,yA=k(()=>{we();Vs();by();it();ip=fe.getLogger(["laroux-bundler","route-scanner"]),nC=null,hA=0,Yj=/(?:^|[/\\])(?:_[^/\\]*|.*\.test\.(?:[cm]?[jt]sx?))$/,$z=["page","layout","route","proxy"],Xj=new Set($z.flatMap(e=>Ei.map(t=>`${e}.${t}`)))});async function nW(e){let{scanResult:t,outputPath:n,projectRoot:r}=e,{routes:o}=t;zu.debug(`Generating routes file: ${n}`);let i=[],s=[],u=new Map;for(let f of o){let h=`./${Ga(f.componentPath,"")}.js`,y=C.path.join(r,f.componentPath),x=qj(f.componentPath),w=await Qj(y,x),A;if(f.layoutPath){let D=C.path.join(r,f.layoutPath),L=$j(f.layoutPath);A=await jj(D,L)}if(u.has(f.componentPath)||(i.push(`import { ${w} } from "${h}";`),u.set(f.componentPath,w)),f.layoutPath&&A){let D=`./${Ga(f.layoutPath,"")}.js`;u.has(f.layoutPath)||(i.push(`import { ${A} } from "${D}";`),u.set(f.layoutPath,A))}let F=eq(f,w,A);s.push(F)}let d=`// AUTO-GENERATED FILE - DO NOT EDIT
296
- // Generated by laroux-bundler/route-generator.ts
297
- // Run build to regenerate
298
-
299
- import type { RouteDefinition } from "@eser/laroux/router";
300
- ${i.join(`
301
- `)}
302
-
303
- /**
304
- * Auto-generated routes from file-based routing
305
- * Routes are sorted by specificity (static > dynamic > catch-all)
306
- */
307
- export const generatedRoutes: RouteDefinition[] = [
308
- ${s.map(f=>` ${f}`).join(`,
309
- `)},
310
- ];
311
- `;await C.fs.writeTextFile(n,d),zu.debug(`Generated ${o.length} route(s)`)}async function rW(e,t,n){let{apiRoutes:r}=e;if(r.length===0){zu.debug("No API routes found, skipping generation");return}zu.debug(`Generating API routes file: ${t}`);let o=[];for(let s of r){let u=C.path.dirname(t),d=lW(u,C.path.join(n,s.componentPath));o.push(` { path: "${s.routePath}", modulePath: "${d}" }`)}let i=`// AUTO-GENERATED FILE - DO NOT EDIT
312
- // Generated by laroux-bundler/route-generator.ts
313
-
314
- export type ApiRouteDefinition = {
315
- path: string;
316
- modulePath: string;
317
- };
318
-
319
- /**
320
- * Auto-generated API routes from file-based routing
321
- */
322
- export const apiRoutes: ApiRouteDefinition[] = [
323
- ${o.join(`,
324
- `)},
325
- ];
326
- `;await C.fs.writeTextFile(t,i),zu.debug(`Generated ${r.length} API route(s)`)}async function oW(e,t,n){let{proxies:r}=e;if(r.length===0){zu.debug("No proxies found, skipping generation");return}zu.debug(`Generating proxy registry file: ${t}`);let o=[];for(let s of r){let u=C.path.dirname(t),d=lW(u,C.path.join(n,s.modulePath));o.push(` { pathPrefix: "${s.pathPrefix}", modulePath: "${d}" }`)}let i=`// AUTO-GENERATED FILE - DO NOT EDIT
327
- // Generated by laroux-bundler/route-generator.ts
328
-
329
- export type ProxyDefinition = {
330
- pathPrefix: string;
331
- modulePath: string;
332
- };
333
-
334
- /**
335
- * Auto-generated proxy definitions from file-based routing
336
- * Sorted by path prefix length (most specific first)
337
- */
338
- export const proxyRegistry: ProxyDefinition[] = [
339
- ${o.join(`,
340
- `)},
341
- ];
342
- `;await C.fs.writeTextFile(t,i),zu.debug(`Generated ${r.length} proxy definition(s)`)}async function iW(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 Qj(e,t){let n=await iW(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 jj(e,t){let n=await iW(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 qj(e){let t=C.path.basename(C.path.dirname(e));return`${aW(sW(t))}Page`}function $j(e){let t=C.path.basename(C.path.dirname(e));return`${aW(sW(t))}Layout`}function sW(e){return e.startsWith("[...")?e.slice(4,-1):e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):e}function aW(e){return e.split(/[-_\s]+/).map(t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("")}function lW(e,t){let n=$l(C.path.relative(e,t));return n.startsWith(".")?n:`./${n}`}function eq(e,t,n){let r=[`path: "${e.routePath}"`,`component: ${t}`];return n&&r.push(`layout: ${n}`),`{ ${r.join(", ")} }`}var zu,cW=k(()=>{we();it();Vs();zu=fe.getLogger(["laroux-bundler","route-generator"])});function nq(e,t){return C.path.relative(t,e)}async function uW(e){let{projectRoot:t,distDir:n,srcDir:r,changedFiles:o}=e,i=nq(r,t),s=C.path.resolve(n,rC),u=C.path.resolve(s,i);ac.debug(`Creating virtual source: ${s}`),ac.debug(` Virtual src subdir: ${u}`);let d=await C.fs.exists(u);if(o&&o.size>0&&d)ac.debug(`Incremental update: ${o.size} file(s) changed`),await rq(o,r,u),ac.debug(`Virtual source updated incrementally: ${o.size} file(s)`);else{try{await dz(s)}catch{}await oq(r,u,t),ac.debug(`Virtual source created: ${s}`)}return{virtualSrcDir:s,cleanup:async()=>{ac.debug(`Cleaning up virtual source: ${s}`);try{await C.fs.remove(s,{recursive:!0}),ac.debug("Virtual source cleaned up")}catch(f){ac.warn("Failed to clean up virtual source:",{error:f})}}}}async function rq(e,t,n){let r=[...Ei.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 d=C.path.relative(t,s),f=C.path.resolve(n,d);try{await C.fs.stat(s),await rp(C.path.dirname(f)),await sc(s,f,{overwrite:!0}),o++}catch{try{await C.fs.remove(f),i++}catch{}}}(o>0||i>0)&&ac.debug(`Incremental update: ${o} copied, ${i} deleted`)}async function oq(e,t,n){let r=0,o=[...Ei.map(i=>`.${i}`),".json",".css"];for await(let i of qw(e,{includeDirs:!1})){let s=C.path.extname(i.path);if(!o.includes(s))continue;let u=C.path.relative(e,i.path);if(tq.test(u))continue;let d=C.path.resolve(t,u);await C.fs.ensureDir(C.path.dirname(d)),await sc(i.path,d),r++}ac.debug(`Copied ${r} source file(s) to virtual source`)}function wy(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 dW(e,t,n){return e.map(r=>{let o=wy(r.filePath,t,n),i=`${rC}/${r.relativePath}`;return{...r,filePath:o,relativePath:i}})}var tq,ac,rC,xA=k(()=>{we();Vs();gy();it();tq=/(?:node_modules|\/\.|^\.|\\\.)/,ac=fe.getLogger(["laroux-bundler","virtual-source"]),rC="_bundle_src"});function pW(){return vA||(vA=new bA,Wu.debug("Created global build cache")),vA}var Wu,bA,vA,fW=k(()=>{it();yA();Wu=fe.getLogger(["laroux-bundler","build-cache"]),bA=class{clientComponentCache=new Map;cssModuleCache=new Map;routeCache=null;getClientComponent(t,n){let r=this.clientComponentCache.get(t);return r&&r.mtime>=n?(Wu.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?(Wu.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?(Wu.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),Wu.debug(`Invalidated: client component ${t}`)),this.cssModuleCache.has(t)&&(this.cssModuleCache.delete(t),Wu.debug(`Invalidated: CSS module ${t}`)),(t.includes("/routes/")||t.includes("\\routes\\"))&&(this.routeCache=null,eW(),Wu.debug("Invalidated: route cache"))}invalidateFiles(t){for(let n of t)this.invalidateFile(n)}clear(){this.clientComponentCache.clear(),this.cssModuleCache.clear(),this.routeCache=null,Wu.debug("All caches cleared")}getStats(){return{clientComponents:this.clientComponentCache.size,cssModules:this.cssModuleCache.size,hasRoutes:this.routeCache!==null}}},vA=null});function gW(e){return e*2}function hW(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 iq,mW,yW=k(()=>{iq=new TextEncoder().encode("0123456789abcdef"),mW=new Uint8Array(128).fill(16);iq.forEach((e,t)=>mW[e]=t);new TextEncoder().encode("ABCDEF").forEach((e,t)=>mW[e]=t+10)});function xW(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 vW=k(()=>{});function oC(e){typeof e=="string"?e=new TextEncoder().encode(e):e instanceof ArrayBuffer?e=new Uint8Array(e).slice():e=e.slice();let[t,n]=xW(e,gW(e.length));return hW(t,n,0,bW),new TextDecoder().decode(t)}var bW,wW,wA=k(()=>{yW();vW();bW=new TextEncoder().encode("0123456789abcdef"),wW=new Uint8Array(128).fill(16);bW.forEach((e,t)=>wW[e]=t);new TextEncoder().encode("ABCDEF").forEach((e,t)=>wW[e]=t+10)});var iC,km,CA=k(()=>{"use strict";iC=(e,t)=>({success:!0,outputs:e,metafile:t?.metafile,entrypointManifest:t?.entrypointManifest,entrypoint:t?.entrypoint,totalSize:t?.totalSize}),km=e=>({success:!1,outputs:new Map,errors:e})});function sq(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 sC,aC,RA,TA=k(()=>{"use strict";wA();it();we();Vs();CA();sC=fe.getLogger(["bundler","deno-bundler"]),aC=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 h=C.path.join(n,"_build-id-entry.ts");await C.fs.writeTextFile(h,`export const BUILD_ID = "${this.options.buildId}";
343
- `),i.unshift(h)}let s=t.platform==="browser"?"browser":"deno",u=t.sourcemap===!0?"external":t.sourcemap===!1?void 0:t.sourcemap,d={entrypoints:i,outputDir:n,format:"esm",codeSplitting:t.codeSplitting,minify:t.minify,platform:s,sourcemap:u};t.external!==void 0&&(d.external=t.external),sC.debug("Calling Deno.bundle",{entrypoints:i.slice(0,3),outputDir:n,external:d.external,platform:d.platform});let f=await Deno.bundle(d);if(sC.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 km(y)}return await this.processOutput(n,t,o,r)}catch(r){return km([{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(d=>C.path.dirname(d)),i=[...new Set(o)],s=Deno.watchFs(i,{recursive:!0});return(async()=>{for await(let d of s){if(!r)break;let f=await this.bundle(t);n(f)}})().catch(d=>{console.error("Watch loop error:",d)}),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={},d={},f=null,h=0,y=new Map,x=new Map;for(let H=0;H<o.length;H++){let W=o[H],M=r[H];if(W!==void 0&&M!==void 0){let ne=C.path.basename(W).replace(/\.[^.]+$/,"");y.set(ne,M),x.set(Ga(W,".js"),M)}}let w=C.path.join(t,"dist"),A=t;try{(await C.fs.stat(w)).isDirectory&&(A=w)}catch{}let F=[];sC.debug(`Scanning output dir: ${A}`);let D=async(H,W="")=>{for await(let M of C.fs.readDir(H)){let ne=C.path.join(H,M.name),Ee=W?`${W}/${M.name}`:M.name;M.isDirectory?await D(ne,Ee):M.isFile&&(M.name.endsWith(".js")||M.name.endsWith(".map"))&&F.push({name:Ee,path:ne})}};if(await D(A),A!==t){for await(let H of C.fs.readDir(t))if(H.isFile&&(H.name.endsWith(".js")||H.name.endsWith(".map"))&&(H.name.startsWith("chunk-")||H.name.endsWith(".map"))){let W=C.path.join(t,H.name);F.some(M=>M.path===W)||F.push({name:H.name,path:W})}}sC.debug(`Found ${F.length} output files`,F.map(H=>H.name));let L=new Map;for(let H of F)if(H.name.endsWith(".map")){let W=await C.fs.readFile(H.path),M=H.name;H.name.startsWith("_client-entry")?M=`${i}.js.map`:H.name.startsWith("_build-id-entry")&&(M="build-id.js.map"),L.set(M,W)}for(let H of F){if(H.name.endsWith(".map"))continue;let W=await C.fs.readTextFile(H.path);n.basePath!==void 0&&(W=W.replace(/\/_lime\/alive/g,`${n.basePath}/_lime/alive`)),n.define!==void 0&&(W=sq(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=H.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 ke;for(let[be,Oe]of x)if(be.endsWith(M)){ke=Oe;break}if(ke===void 0){let be=C.path.basename(M).replace(/\.js$/,"");ke=y.get(be)}ke!==void 0&&(M=`${ke}.js`)}ne&&L.has(`${i}.js.map`)&&(W=W.replace(/\/\/# sourceMappingURL=.*$/m,`//# sourceMappingURL=${i}.js.map`),W.includes("//# sourceMappingURL=")||(W+=`
344
- //# sourceMappingURL=${i}.js.map`));let Ee=new TextEncoder().encode(W),Ce=await this.computeHash(Ee),re=this.parseImports(W),me=`${M}.map`,ce=L.get(me);s.set(M,{path:M,code:Ee,map:ce,size:Ee.length,hash:Ce,isEntry:!M.startsWith("chunk-")}),h+=Ee.length,u[M]={bytes:Ee.length,inputs:{},imports:re.map(ke=>({path:ke,kind:"import-statement"}))}}for(let[H,W]of L)if(!s.has(H)){let M=await this.computeHash(W);s.set(H,{path:H,code:W,size:W.length,hash:M,isEntry:!1}),h+=W.length}if(n.outputDir!==void 0){await C.fs.mkdir(n.outputDir,{recursive:!0});for(let[H,W]of s){let M=C.path.join(n.outputDir,H),ne=C.path.dirname(M);ne!==n.outputDir&&await C.fs.mkdir(ne,{recursive:!0}),await C.fs.writeFile(M,W.code)}}for(let[H,W]of Object.entries(n.entrypoints)){if(H==="client"||H==="main")continue;let M=await this.findEntrypointChunks(H,A,t,s);M.length>0&&(d[W]=M)}return iC(s,{metafile:{inputs:{},outputs:u},entrypointManifest:d,entrypoint:f??"main.js",totalSize:h})}async findEntrypointChunks(t,n,r,o){let i=Ga(t,".js"),s=C.path.join(n,i),u=null;try{u=await C.fs.readTextFile(s)}catch{try{let d=C.path.join(r,"dist",i);u=await C.fs.readTextFile(d)}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 d=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(d))){r.unshift(s);let y=/from\s*["']\.?\/?([^"']*chunk-[A-Z0-9]+\.js)["']/gi,x;for(;(x=y.exec(d))!==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 d=s[1];if(d!==void 0){let f=C.path.basename(d);r.includes(f)||r.push(f)}}for(;(s=i.exec(t))!==null;){let d=s[1];if(d!==void 0){let f=C.path.basename(d);r.includes(f)||r.push(f)}}let u=t.match(/export\s*\{([\w\s,]+)\}/);if(u!==null){let h=u[1]?.match(/(\w+)(?:\s+as\s+\w+)?/)?.[1]??null;if(h!==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${h}\\b[^}]*\\}`),new RegExp(`export\\s+(?:function|const|let|var|class)\\s+${h}\\b`),new RegExp(`\\b\\w+\\s+as\\s+${h}\\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 oC(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)]}};RA=(e={})=>new aC(e)});function aq(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 d of t)if(o.includes(d)){s=!0;break}if(!s)return null;let u=o.replace(r,d=>e[d]??d);return u===o?null:{code:u}}}}var lC,kA,EA=k(()=>{"use strict";wA();CA();lC=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(aq(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}))}}:{}},d=await i.write(u);return await i.close(),await this.processRolldownOutput(d,t)}catch(n){return km([{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(km([{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 d of o.resolvers)if(d.options.filter.test(s)){let f=await d.callback({path:s,importer:u??"",namespace:d.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 d=await u.callback({path:s,namespace:u.options.namespace??"file"});if(d?.contents!==void 0)return{code:typeof d.contents=="string"?d.contents:new TextDecoder().decode(d.contents)}}return null},r.transform=async(s,u)=>{let d=s;for(let f of o.transformers)if(f.options.filter.test(u)){let h=await f.callback({path:u,code:d});h?.code!==void 0&&(d=h.code)}return d!==s?{code:d}:null},r})}async processRolldownOutput(t,n){let o=`${this.options.entryName??"main"}.js`,i=new Map,s={},u={},d=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||d===null)&&(d=x.fileName),x.isEntry&&x.facadeModuleId!==void 0){let L=[x.fileName];if(x.imports!==void 0)for(let N of x.imports)L.includes(N)||L.push(N);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 iC(i,{metafile:{inputs:{},outputs:s},entrypointManifest:u,entrypoint:d??o,totalSize:f})}async computeHash(t){let n=await crypto.subtle.digest("SHA-256",t);return oC(new Uint8Array(n)).slice(0,16)}},kA=(e={})=>new lC(e)});function Em(e,t){if(typeof e=="object"&&e!==null&&"backend"in e){let r=e;return Em(r.backend,r.options)}let n=e??"rolldown";switch(n){case"rolldown":return kA(t);case"deno-bundler":return RA(t);default:throw new Error(`Unknown bundler backend: ${n}`)}}var SA=k(()=>{TA();EA();TA();EA()});function lq(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 cq(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 RW(e){let t=cq(e);Ys.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 TW(e,t,n){Ys.info(`\u{1F4E6} Using bundler backend: ${n}`),Ys.debug(`Bundling with @eser/bundler (${n})...`),Ys.debug(` Entrypoints: ${e.entrypoints.length}`),Ys.debug(` Output: ${e.outputDir}`),Ys.debug(`Creating bundler: ${n}`);let r=Em(n,{entryName:"client"}),o={};for(let f=0;f<e.entrypoints.length;f++){let h=e.entrypoints[f];if(h!==void 0)if(f===0)o.client=h;else{let y=t.find(x=>x.filePath===h);y!==void 0?o[y.relativePath]=h:o[`entry-${f}`]=h}}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(h=>h.message).join(`
345
- `)??"Unknown error";throw new Error(`Bundle failed: ${f}`)}let d={};for(let f of t){let h=u.entrypointManifest?.[f.filePath]??[];h.length>0&&(d[f.filePath]=[...h])}return Ys.debug(` Outputs: ${u.outputs.size} files`),Ys.debug(` Total size: ${((u.totalSize??0)/1024).toFixed(2)} KB`),lq(u,d)}async function kW(e,t){Ys.info(`\u{1F4E6} Bundling server components with ${t}`),Ys.debug(` Entrypoints: ${e.entrypoints.length}`),Ys.debug(` Output: ${e.outputDir}`),Ys.debug(` Externals: ${e.externals?.length??0}`);let n=Em(t,{entryName:"server"}),r={};for(let u of e.entrypoints){let d=u.replace(e.projectRoot,"").replace(/^\//,"");d=Ga(d,""),r[d]=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(d=>d.message).join(`
346
- `)??"Unknown error";throw new Error(`Server bundle failed: ${u}`)}let s=new Map;for(let[u,d]of i.outputs)if(d.isEntry&&i.entrypointManifest!==void 0){for(let[f,h]of Object.entries(i.entrypointManifest))if(h.includes(u)){s.set(f,u);break}}return Ys.debug(` Outputs: ${i.outputs.size} files`),Ys.debug(` Total size: ${((i.totalSize??0)/1024).toFixed(2)} KB`),{outputMap:s,totalSize:i.totalSize??0,fileCount:i.outputs.size}}var Ys,EW=k(()=>{it();Vs();SA();Ys=fe.getLogger(["laroux-bundler","bundler"])});function PW(e,t,n,r,o="info",i=!1){ds.debug("\u{1F4CB} Generating chunk manifest...");let s={version:uq,buildId:e,timestamp:t,entrypoint:n.entrypoint,logLevel:o,hmrEnabled:i,chunks:{},files:{}};for(let[d,f]of Object.entries(n.outputs))s.files[f.fileName]={name:f.fileName,size:f.size,hash:fq(f.fileName)??void 0};let u=[];for(let d of r){let f=dq(d,n),[h,...y]=f;if(!h){ds.warn(`No chunks found for ${d.relativePath}`);continue}let x=[h,...y];for(let F of x)s.files[F]||u.push(`${d.relativePath} references ${F}, but it's not in bundle outputs`);let w=mq(d.relativePath);s.chunks[w]={main:SW(h),deps:y.map(SW),size:pq(f,s.files)};let A=d.exportNames[0]??"default";A!=="default"&&(s.chunks[w].exportName=A),ds.debug(` ${w} \u2192 main: ${h}, deps: [${y.join(", ")}]`)}if(u.length>0){ds.error("\u274C Chunk manifest validation failed!"),ds.error(" Missing chunks:");for(let d of u)ds.error(` - ${d}`);throw ds.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 ds.debug("\u2705 Manifest generated"),ds.debug(` Components: ${Object.keys(s.chunks).length}`),ds.debug(` Chunks: ${Object.keys(s.files).length}`),ds.debug(" Validation: All referenced chunks exist"),s}function dq(e,t){let n=t.manifest[e.filePath];if(!n||n.length===0)throw ds.error(`\u274C No chunk mapping found for component: ${e.filePath}`),ds.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 pq(e,t){return e.reduce((n,r)=>{let o=t[r];return n+(o?.size??0)},0)}function fq(e){return e.match(/-([a-f0-9]+)\./i)?.[1]??null}function SW(e){return e.replace(/^chunk-/,"").replace(/\.js$/,"")}function mq(e){let t=`${rC}/`;return e.startsWith(t)?e.slice(t.length):e}async function AW(e,t){await C.fs.writeTextFile(t,JSON.stringify(e,null,2)),ds.debug(`\u{1F4DD} Chunk manifest saved: ${t}`)}function FW(e){ds.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 ds,uq,OW=k(()=>{we();xA();it();ds=fe.getLogger(["laroux-bundler","chunk-manifest"]),uq="1.0"});var Cy,PA,AA=k(()=>{Cy={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 FA=k(()=>{"use strict"});var MW=k(()=>{"use strict";we()});import{transform as hq}from"lightningcss";import{Buffer as IW}from"node:buffer";function yq(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 DW(e){if(e==null)throw new TypeError(`Expected Uint8Array from Lightning CSS, got ${e===null?"null":"undefined"}`);if(Wv("node")&&typeof IW<"u"&&IW.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 _W(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:yq(o),cssModules:i,unusedSymbols:[...s]},d=hq(u),f;if(d.exports!==null&&d.exports!==void 0){f={};for(let[h,y]of Object.entries(d.exports))f[h]={name:y.name,composes:y.composes?.map(x=>({name:x.name,from:x.from!==void 0?String(x.from):void 0}))}}return{code:DW(d.code),map:d.map!=null?DW(d.map):void 0,exports:f}}function OA(e,t,n={}){return _W(e,{...n,filename:t,cssModules:!0})}var MA=k(()=>{"use strict";we();FA()});async function IA(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),d=OA(s,u,{minify:r,targets:o,nesting:!0}),f={};if(d.exports!==void 0)for(let[y,x]of Object.entries(d.exports))f[y]=x.name;let h=n?DA(f):void 0;return{code:d.code,exports:f,dts:h}}function DA(e){return`// This file is auto-generated by CSS modules processor
347
- declare const styles: {
348
- ${Object.keys(e).map(r=>` readonly ${r}: string;`).join(`
349
- `)}
350
- };
351
-
352
- export default styles;
353
- `}var LW=k(()=>{"use strict";gy();we();MA()});async function NW(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 d=i.endsWith(".woff2")?"woff2":i.endsWith(".woff")?"woff":"truetype";return{url:e,localPath:s,filename:i,format:d}}async function BW(e,t){return await Promise.all(e.map(n=>NW(n,t)))}function UW(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 zW(e){let t=await fetch(e,{headers:{"User-Agent":xq}});if(!t.ok)throw new Error(`Failed to fetch Google Fonts CSS: ${t.status} ${t.statusText}`);return await t.text()}function WW(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 HW(e,t){return e.map(n=>`<link rel="preload" href="${`${t}/${n.filename}`}" as="font" type="font/${n.format}" crossorigin="anonymous" />`)}function _A(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 LA(e,t){let{outputDir:n,publicPath:r="/fonts",maxPreloadFonts:o=2}=t,i=await zW(e),s=UW(i);if(s.length===0)return{fontFaceCSS:i,preloadHints:[],files:[],totalSize:0};let u=await BW(s,n),d=0;for(let x of u)try{let w=await C.fs.stat(x.localPath);d+=w.size}catch{}let f=WW(i,u,r),h=u.slice(0,Math.min(o,u.length)),y=HW(h,r);return{fontFaceCSS:f,preloadHints:y,files:u,totalSize:d}}var xq,GW=k(()=>{"use strict";we();xq="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"});var NA=k(()=>{FA();MW();MA();LW();GW()});async function BA(e,t,n="/fonts"){let r=_A(e);sp.info(`\u{1F524} Optimizing Google Fonts: ${r.join(", ")||"unknown"}`),sp.debug(` URL: ${e}`),sp.debug(` Output: ${t}`),sp.debug(` Public path: ${n}`);let o=await LA(e,{outputDir:t,publicPath:n,maxPreloadFonts:2});return sp.info(` \u2705 Downloaded ${o.files.length} font file(s)`),sp.debug(` Total size: ${(o.totalSize/1024).toFixed(2)} KB`),sp.debug(` Generated ${o.preloadHints.length} preload hint(s) for critical fonts`),o}var sp,VW=k(()=>{it();NA();sp=fe.getLogger(["laroux-bundler","font-optimizer"])});function YW(e){return e.filter(t=>t.provider==="google")}function XW(e){let t=YW(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 d=[];for(let f of u){let h=f==="italic"?"1":"0";for(let y of i.weights)d.push(`${h},${y}`)}s+=`:ital,wght@${d.join(";")}`}else u.includes("italic")?s+=`:ital,wght@${i.weights.map(d=>`1,${d}`).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 UA(e){return YW(e).length===0?[]:[XW(e)]}var JW=k(()=>{});var KW=k(()=>{VW();JW()});async function cC(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 d=await C.fs.readTextFile(u);return{path:u,content:d,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 zA=k(()=>{we()});import{compile as bq}from"tailwindcss";async function Ry(e,t){let n=await bq(e,{base:t.base,loadStylesheet:cC}),r=t.candidates??[];return n.build(r)}function uC(e,t){return Ry(e,{base:t,candidates:[]})}var WA=k(()=>{zA()});function QW(){return{criticalLayers:Ty,aboveFoldPatterns:ky,forceInclude:[],forceExclude:[]}}var Ty,ky,ZW,HA=k(()=>{Ty=["theme","base","properties"],ky=[/^\.(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:)/],ZW=[/--tw-gradient/,/--tw-rotate/,/--tw-scale/,/--tw-skew/,/--tw-translate/,/--tw-shadow/,/--tw-ring/,/--tw-blur/,/--tw-brightness/]});function wq(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 Cq(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),d=s;for(;d<e.length&&e[d]!=="{";)d++;if(d>=e.length){r=e.length;break}let f=1,h=d+1;for(;h<e.length&&f>0;)e[h]==="{"?f++:e[h]==="}"&&f--,h++;let y=e.slice(o,h);t.push({name:u,block:y}),r=h}return t}function Rq(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=wq(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 d=u.join(`
354
- `),f=r.get(s);t.set(s,{block:`@layer ${s} {
355
- ${d}
356
- }`,start:f.start,end:f.end})}return t}function Tq(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 kq(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${Eq(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 Eq(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function jW(e,t){return t.some(n=>typeof n=="string"?e.includes(n):n.test(e))}function Sq(e){return ky.some(t=>t.test(e))}function dC(e){let{html:t,css:n,forceInclude:r=[],forceExclude:o=[]}=e;Ey.debug("Extracting critical page CSS (Tailwind v4 aware)...");let i=[],s=[],u=0,d=0,f=n.match(/^\/\*![\s\S]*?\*\//);f&&i.push(f[0]);let h=n.match(/@layer\s+[\w,-]{1,200}(?:\s+[\w,-]{1,50})*\s*;/);h&&i.push(h[0]);let y=/@property\s+--[\w-]+\s*\{[^}]{0,5000}\}/g,x=n.match(y)??[];x.length>0&&(i.push(x.join(`
357
- `)),u+=x.length,Ey.debug(` @property rules: ${x.length} (CRITICAL)`));let w=Rq(n);for(let[H,W]of w)if(Ty.includes(H))i.push(W.block),u++,Ey.debug(` @layer ${H}: CRITICAL (required)`);else if(H==="utilities"){let{critical:M,deferred:ne}=qW(W.block,t,r,o);M.trim()&&(i.push(`@layer utilities {
358
- ${M}
359
- }`),u+=M.split("}").length-1),ne.trim()&&(s.push(`@layer utilities {
360
- ${ne}
361
- }`),d+=ne.split("}").length-1),Ey.debug(" @layer utilities: split")}else if(H==="components"){let{critical:M,deferred:ne}=qW(W.block,t,r,o);M.trim()&&(i.push(`@layer components {
362
- ${M}
363
- }`),u++),ne.trim()&&(s.push(`@layer components {
364
- ${ne}
365
- }`),d++)}else s.push(W.block),d++;let A=/@font-face\s*\{[^}]{0,10000}\}/gi,F=n.match(A)??[];for(let H of F)i.push(H),u++;let D=Cq(n);for(let H of D)H.name&&t.includes(H.name)?(i.push(H.block),u++):(s.push(H.block),d++);let L=i.join(`
366
-
367
- `),N=s.join(`
368
-
369
- `),Y={originalSize:new TextEncoder().encode(n).length,criticalSize:new TextEncoder().encode(L).length,deferredSize:new TextEncoder().encode(N).length,criticalRules:u,deferredRules:d};return Ey.debug(`Critical: ${Y.criticalSize} bytes (${u} parts), Deferred: ${Y.deferredSize} bytes (${d} parts)`),{critical:L,deferred:N,stats:Y}}function qW(e,t,n,r){let o=e.replace(/^@layer\s+\w+\s*\{/,"").replace(/\}$/,"").trim(),i=Tq(o),s=[],u=[];for(let d of i){if(d.selector==="@media"){d.full.includes("@media")&&(d.full.includes("min-width")||d.full.includes("max-width"))?s.push(d.full):u.push(d.full);continue}if(jW(d.selector,r)){u.push(d.full);continue}if(jW(d.selector,n)){s.push(d.full);continue}let f=kq(d.selector,t),h=Sq(d.selector);f||h?s.push(d.full):u.push(d.full)}return{critical:s.join(`
370
- `),deferred:u.join(`
371
- `)}}function $W(e){return`<script>
372
- (function(){
373
- var l=document.createElement('link');
374
- l.rel='stylesheet';
375
- l.href='${e}';
376
- l.media='print';
377
- l.onload=function(){this.media='all'};
378
- document.head.appendChild(l);
379
- })();
380
- </script>
381
- <noscript><link rel="stylesheet" href="${e}"></noscript>`}var Ey,GA=k(()=>{it();HA();Ey=fe.getLogger(["laroux-bundler","critical-page-css"])});function pC(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 Fq(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 Oq(e){let t=e.trim().toLowerCase();for(let n of Aq)if(t===n.toLowerCase()||t.startsWith("a ")||t.startsWith("a,")||t.startsWith("button ")||t.startsWith("button,"))return!1;for(let n of Pq){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 Mq(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 Sy(e){eH.debug("Extracting critical universal CSS from compiled output...");let t=[],n=0,r=pC(e,"theme"),o=r?Mq(r):{};t.push("*,*::before,*::after{box-sizing:border-box}"),n++;let i=pC(e,"base");if(i){let d=[i],f=e.indexOf(i)+i.length;for(;f<e.length;){let h=pC(e.slice(f),"base");if(h)d.push(h),f+=e.slice(f).indexOf(h)+h.length;else break}for(let h of d){let y=Fq(h);for(let x of y)if(Oq(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(`
382
- `),u={variableCount:Object.keys(o).length,rulesExtracted:n,size:new TextEncoder().encode(s).length};return eH.debug(`Extracted critical universal CSS: ${u.size} bytes, ${u.rulesExtracted} rules, ${u.variableCount} theme variables`),{css:s,themeVariables:o,stats:u}}function tH(e){return Sy(e).css.replace(/\n+/g,"").replace(/\s*{\s*/g,"{").replace(/\s*}\s*/g,"}").replace(/\s*;\s*/g,";").replace(/\s*:\s*/g,":").replace(/;\}/g,"}")}function nH(e){return pC(e,"theme")}var eH,Pq,Aq,rH,VA=k(()=>{it();eH=fe.getLogger(["laroux-bundler","critical-universal-css"]),Pq=["html",":host","html, :host","body","#root",".initial-loading","[data-client-component]"],Aq=["*","*, ::after, ::before","*, ::after, ::before, ::backdrop, ::file-selector-button","a","button","h1","h2","h3","h4","h5","h6","h1, h2, h3, h4, h5, h6"];rH="html{scrollbar-gutter:stable}*,*::before,*::after{box-sizing:border-box}"});import{Scanner as Iq}from"@tailwindcss/oxide";function Py(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 d=C.path.dirname(i.cssPath),f=C.path.resolve(i.projectRoot,t);s=`@reference "${C.path.relative(d,f)}";
383
-
384
- ${o}`}return uC(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"),d=[];for await(let y of Uc(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);d.push({content:A,extension:w.slice(1)})}let h=new Iq({}).scanFiles(d);return Dq.debug(`Scanned ${d.length} files, found ${Array.isArray(h)?h.length:0} candidates`),Ry(o,{base:s,candidates:h})},extractCriticalCss(o,i,s){let u=dC({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=Sy(o);return{css:i.css,themeVariables:i.themeVariables}}}}var Dq,oH=k(()=>{we();it();by();WA();GA();VA();Dq=fe.getLogger(["laroux-bundler","tailwindcss"])});var fC={};ve(fC,{ABOVE_FOLD_PATTERNS:()=>ky,CRITICAL_LAYERS:()=>Ty,CRITICAL_PROPERTY_PATTERNS:()=>ZW,DEFAULT_CRITICAL_UNIVERSAL_CSS:()=>rH,compileTailwind:()=>Ry,createTailwindPlugin:()=>Py,expandApplyDirectives:()=>uC,extractCriticalPageCss:()=>dC,extractCriticalUniversalCss:()=>Sy,extractThemeLayer:()=>nH,generateAsyncCssLoader:()=>$W,generateCriticalUniversalCss:()=>tH,getDefaultCriticalCssConfig:()=>QW,loadStylesheet:()=>cC});var Ay=k(()=>{oH();WA();zA();HA();GA();VA()});async function _q(e,t={}){let{generateDTS:n=!1,projectRoot:r,minify:o=!0,plugin:i,globalCssPath:s="src/app/styles/global.css"}=t;Fy.debug(`Processing CSS module: ${e}`);let u=await C.fs.readTextFile(e),d={projectRoot:r??C.process.cwd(),cssPath:e,isModule:!0},f=i??Py({globalCssPath:s}),h=u;if(f.shouldProcess?.(u,d)??!0){let x=f.preprocess?.(u,d);x!==void 0&&(h=await Promise.resolve(x))}let y=e.replace(/\.module\.css$/,".temp.module.css");await C.fs.writeTextFile(y,h);try{let x=await IA(y,{generateDts:n,minify:o}),w=C.path.basename(e);return Fy.debug(`Processed ${Object.keys(x.exports).length} class(es) in ${w}`),x}finally{await C.fs.remove(y).catch(()=>{})}}async function YA(e,t={}){let{cache:n,projectRoot:r,minify:o=!0,globalCssPath:i="src/app/styles/global.css",...s}=t;Fy.debug(`Processing ${e.length} CSS module(s)`);let u=Py({globalCssPath:i}),d=0,f=0;try{let h=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 d++,[y,{code:F.code,exports:F.exports}]}catch{}f++;let x=await _q(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&&(d>0||f>0)&&Fy.debug(`CSS modules: ${d} cache hits, ${f} processed`),new Map(h)}finally{}}async function iH(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),d=C.path.resolve(n,u);if(await C.fs.mkdir(d,{recursive:!0}),r?.skipCss!==!0){let h=C.path.resolve(d,`${o}.module.css`);await C.fs.writeTextFile(h,t.code)}let f=C.path.resolve(d,`${o}.module.css.json`);if(await C.fs.writeTextFile(f,JSON.stringify(t.exports,null,2)),t.dts!==void 0){let h=C.path.resolve(d,`${o}.module.css.d.ts`);await C.fs.writeTextFile(h,t.dts)}Fy.debug(`Saved CSS module outputs to ${d}`)}var Fy,sH=k(()=>{we();it();NA();Ay();Fy=fe.getLogger(["laroux-bundler","css-modules"])});function Lq(e,t){for(let n of t)if(e===n||e.startsWith(`${n}/`))return!0;return!1}function lH(e){let{externals:t}=e,n=t.map(o=>o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),r=new RegExp(`^(${n.join("|")})($|\\/)`);return aH.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 Lq(s,t)?(aH.debug(`Marking as external: ${s}`),{external:!0}):{}})}}}var aH,cH=k(()=>{it();aH=fe.getLogger(["laroux-bundler","server-externals"])});async function uH(){return mC===null&&(mC=await import("npm:sharp@^0.33.5")),mC.default??mC}async function XA(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 Bq(e,t){return`data:image/webp;base64,${(await(await uH())(e).resize(t,void 0,{fit:"inside"}).blur(5).webp({quality:20}).toBuffer()).toString("base64")}`}async function JA(e,t,n,r={}){let o=await uH(),i={...Nq,...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 d=u.width,f=u.height,h=d/f,y=C.path.basename(e,C.path.extname(e)),x=`${n}/${y}`,w=[];for(let F of i.widths){if(F>d)continue;let D=Math.round(F/h);for(let L of i.formats){let N,Y;if(L==="original"){let M=C.path.extname(e).toLowerCase();Y=M.replace(".",""),N=C.path.resolve(t,`${y}-${F}w${M}`)}else Y=L,N=C.path.resolve(t,`${y}-${F}w.${L}`);await C.fs.ensureDir(C.path.dirname(N));let H=s.clone().resize(F,D,{fit:"cover"});L==="webp"?H=H.webp({quality:i.quality.webp}):L==="avif"?H=H.avif({quality:i.quality.avif}):Y==="jpg"||Y==="jpeg"?H=H.jpeg({quality:i.quality.jpeg}):Y==="png"&&(H=H.png({quality:i.quality.png}));let W=await H.toBuffer();await C.fs.writeFile(N,W),w.push({path:N,format:Y,width:F,height:D,size:W.length})}}let A;return i.generateBlurPlaceholder&&(A=await Bq(e,i.placeholderWidth)),{originalPath:e,publicPath:x,originalWidth:d,originalHeight:f,variants:w,blurDataUrl:A,aspectRatio:h}}async function dH(e,t,n="/images",r={}){Sm.info(`Scanning for images in ${e}...`);let o=await XA(e);if(o.length===0)return Sm.debug("No images found to optimize"),{timestamp:Date.now(),images:{}};Sm.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 JA(y,t,n,r);i[y]=w;let A=w.variants.reduce((F,D)=>F+D.size,0);u+=A,Sm.debug(`Optimized: ${C.path.basename(y)} \u2192 ${w.variants.length} variants`)}catch(x){Sm.warn(`Failed to optimize ${y}: ${x instanceof Error?x.message:String(x)}`)}let d={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(d,null,2));let h=s>0?((1-u/s)*100).toFixed(1):0;return Sm.info(`Image optimization complete: ${o.length} images, ${h}% size reduction`),d}function pH(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 fH(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 Sm,mC,Nq,mH=k(()=>{we();it();Sm=fe.getLogger(["laroux","image-optimizer"]),mC=null;Nq={formats:["webp","original"],widths:[640,768,1024,1280,1920],quality:{webp:80,avif:75,jpeg:85,png:90},generateBlurPlaceholder:!0,placeholderWidth:10}});var gH={};ve(gH,{generateSrcset:()=>pH,getBestVariant:()=>fH,optimizeImage:()=>JA,optimizeImages:()=>dH,scanImages:()=>XA});var hH=k(()=>{mH()});var CH={};ve(CH,{build:()=>Am,createBuildContext:()=>Pm,ensureBuildIsReady:()=>Uq,watch:()=>hC});function Pm(e,t){let n=e.projectRoot,r=e.srcDir,o=e.distDir,i="",s=C.path.resolve(o,bH);return{config:e,projectRoot:n,srcDir:r,distDir:o,clientEntry:i,chunkManifestFile:s,bundlerBackend:t?.bundlerBackend,plugin:t?.framework??Dz,cssPlugin:t?.css}}async function Am(e,t){let{srcDir:n,distDir:r,projectRoot:o}=e,i=performance.now(),s=Oz();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 Re=Date.now(),xe=C.path.resolve(r,gC),Ue=e.cssPlugin;if(!Ue)return le.warn("\u26A0\uFE0F No CSS plugin provided, skipping CSS processing"),{success:!0,clientBundle:"",moduleMap:{},clientComponents:0,duration:performance.now()-i,timestamp:Re};let St=await KA(n);await yH(Ue,n,o,xe),St.length>0&&await xH(o,xe,e.config,{cssModulePaths:St,cache:e.cache});let nn=performance.now()-i;return le.info(`\u26A1 CSS rebuild completed (${nn.toFixed(0)}ms)`),{success:!0,clientBundle:"",moduleMap:{},clientComponents:0,duration:nn,timestamp:Re}}await Zq(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 d=C.path.resolve(n,"app/routes"),{plugin:f}=e,[h,y,x]=await Promise.all([tW(d,o),f.analyzeClientComponents?f.analyzeClientComponents(n,o,e.cache):Promise.resolve([]),KA(n)]),w=C.path.resolve(r,Hu);await C.fs.ensureDir(w);let A=C.path.resolve(w,"_generated-routes.ts"),F=C.path.relative(o,n);if(await nW({scanResult:h,outputPath:A,projectRoot:o,srcDirName:F}),le.debug(`\u2713 Generated ${h.routes.length} page route(s) to dist/`),h.apiRoutes.length>0){let Re=C.path.resolve(r,"server","api-routes.ts");await C.fs.ensureDir(C.path.dirname(Re)),await rW(h,Re,o),le.debug(`\u2713 Generated ${h.apiRoutes.length} API route(s)`)}if(h.proxies.length>0){let Re=C.path.resolve(r,"server","proxy-registry.ts");await C.fs.ensureDir(C.path.dirname(Re)),await oW(h,Re,o),le.debug(`\u2713 Generated ${h.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,Hu),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):[],N=new Set(y.map(Re=>Re.filePath)),Y=L.filter(Re=>!N.has(Re));f.rewriteServerComponents&&await f.rewriteServerComponents(Y,D,x,C.path.resolve(r,Hu),o),le.debug("\u{1F504} Step 5b: Transforming server actions with React symbols...");let H=C.path.resolve(r,Hu),W=await az(H);if(W.length>0){let Re=W.reduce((xe,Ue)=>xe+Ue.transformedActions.length,0);le.info(` \u2705 Transformed ${W.length} file(s) with ${Re} action(s)`)}le.debug("\u{1F5FA}\uFE0F Step 6: Generating module map...");let M=C.path.resolve(r,gC);await C.fs.ensureDir(M);let ne=f.createModuleMap?await f.createModuleMap(y):{};f.saveModuleMap&&await f.saveModuleMap(ne,C.path.resolve(M,wH)),f.createClientManifest&&await f.createClientManifest(y);let Ee=e.cssPlugin;!t?.skipCss&&Ee?(le.debug("\u{1F3A8} Step 7: Processing CSS with CSS plugin + Lightning CSS..."),await yH(Ee,n,o,M)):Ee?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 Ce=await uW({projectRoot:o,distDir:r,srcDir:n,changedFiles:t?.changedFiles}),re=Ce.virtualSrcDir;le.debug("\u{1F50C} Step 8b: Generating client action stubs in virtual source...");let me=C.path.join(re,F),ce=await cz(me,re);if(ce.length>0){let Re=ce.reduce((xe,Ue)=>xe+Ue.exportedActions.length,0);le.info(` \u2705 Generated ${ce.length} stub file(s) with ${Re} action(s)`)}let ke;if(!t?.skipCss){le.debug("\u{1F3A8} Step 9: Processing CSS Modules to virtual source...");let Re=x.map(St=>wy(St,n,re)),xe=await xH(o,re,e.config,{skipCss:!0,cssModulePaths:Re,cache:e.cache});ke=new Map;let Ue=C.path.join(re,F);for(let[St,nn]of xe){let $e=C.path.relative(Ue,St),He=C.path.resolve(n,$e);ke.set(He,nn)}Re.length>0&&(le.debug("\u270F\uFE0F Step 10: Rewriting CSS module imports in virtual source..."),f.rewriteCssModuleImports&&await f.rewriteCssModuleImports(Ue,Re,o))}le.debug("\u{1F4E6} Step 11: Bundling client code from virtual source...");let be=dW(y,n,re),Oe=await Hq({...e,srcDir:re},be,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 vH(x.map(Re=>wy(Re,n,re)),re,M),le.debug(`\u{1F4CB} Step 13: Copying ${x.length} CSS Module JSON file(s) to server/...`),await vH(x.map(Re=>wy(Re,n,re)),re,C.path.resolve(r,Hu)),le.debug("\u{1F3A8} Step 14: Appending CSS modules to styles.css..."),await jq(x,o,M,ke)),le.debug("\u{1F9F9} Step 15: Cleaning up virtual source..."),await Ce.cleanup(),Ee){le.debug("\u2728 Step 16: Extracting critical CSS...");let Re=await Jq(Ee,M);Re&&le.debug(` Critical: ${Re.criticalPath}, Deferred: ${Re.deferredPath}`),le.debug("\u{1F3A8} Step 17: Generating universal CSS...");let xe=await Kq(Ee,M);xe&&le.debug(` Universal: ${xe}`)}le.debug("\u{1F524} Step 18: Optimizing Fonts..."),await Qq(M,e.config.fonts),le.debug("\u{1F5BC}\uFE0F Step 19: Optimizing Images..."),await qq(o,M,e.config),le.debug("\u{1F310} Step 20: Copying translation files..."),await Xq(n,C.path.resolve(r,Hu),o);let st=C.path.resolve(r,Hu);if(await Vq(o,st),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 Re=[];for(let xe of Y){let Ue=C.path.relative(o,xe),St=C.path.join(st,Ue);await C.fs.exists(St)&&Re.push(St)}if(le.info(` Found ${Re.length} server entrypoints to bundle`),Re.length>0){let xe=e.config.serverExternals,Ue=lH({externals:xe}),St=await kW({entrypoints:Re,outputDir:st,projectRoot:st,sourcemap:!1,minify:!1,externals:xe,plugins:[Ue]},e.bundlerBackend??"deno-bundler");le.info(` \u2705 Bundled ${St.fileCount} server file(s)`)}}le.debug("\u{1F4CB} Step 22b: Generating server actions manifest...");let je=(await bm(n,{projectRoot:o})).map(Re=>Ga(Re.relativePath,".js")),En=C.path.resolve(st,"actions-manifest.json");await C.fs.writeTextFile(En,JSON.stringify({actions:je},null,2)),le.debug(`\u2713 Generated actions manifest: ${je.length} action file(s)`),await Yq(o,r);let Zt=performance.now()-i;return le.info("\u{1F4CA} Build Summary:"),le.info(` Client components: ${y.length}`),le.info(` Build time: ${Zt.toFixed(0)}ms`),{success:!0,clientBundle:Oe,moduleMap:ne,clientComponents:y.length,duration:Zt,timestamp:u}}catch(u){let d=u instanceof Error?u.message:String(u),f=u instanceof Error?u.stack:null;return le.error("\u274C Build failed:"),le.error(` Error: ${d}`),f!==null&&le.error(` Stack trace:
385
- ${f}`),{success:!1,clientBundle:"",moduleMap:{},clientComponents:0,duration:performance.now()-i,timestamp:Date.now()}}}async function Uq(e){return await zq(e)?(le.info("\u{1F504} Build needed, running build..."),await Am(e)):(le.info("\u2705 Build is up-to-date, skipping..."),await Wq(e))}async function zq(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),d=JSON.parse(s).timestamp,f=[];for await(let h of C.fs.readDir(r))h.isFile&&Ih.test(h.name)&&f.push(C.path.resolve(r,h.name));f.push(o);for(let h of f)try{let y=await C.fs.stat(h);if(y.mtime&&y.mtime.getTime()>d)return le.debug(` Changed: ${C.path.relative(i,h)}`),!0}catch{}return!1}async function Wq(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,wH)),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 hC(e,t){let{srcDir:n,distDir:r,projectRoot:o}=e;le.debug("\u{1F441}\uFE0F Watch mode enabled, monitoring for changes...");let i=pW(),s={...e,cache:i},u=C.path.relative(o,r),d=[n],f=C.fs.watch(d),h=!1,y=!1,x=new Set,w=null,A=50;async function F(){if(h){y=!0;return}h=!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")),N=D.some(ne=>ne.match(/\.(tsx?|jsx?)$/)),Y=L&&!N,H=!L&&N,W=new Set(D.map(ne=>C.path.resolve(o,ne))),M=await Am(s,{skipCss:H,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);h=!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 N=C.path.relative(o,L);if(!N.match(/\.(tsx?|jsx?|css)$/))continue;let Y=$l(N),H=$l(u);if(Y.startsWith(`${H}/`)||N.includes(".temp."))continue;le.debug(`\u{1F504} File changed: ${N}`),x.add(N),w!==null&&clearTimeout(w),w=setTimeout(()=>{w=null,F()},A)}})(),f}async function Hq(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 d=await u.createClientEntry(t,i,s);try{let f=t.map(D=>D.filePath),h=C.path.resolve(s,gC),y=Yz({projectRoot:i,browserShims:o.browserShims,autoMarkExternal:!1}),x={...Cy.define};if(!e.bundlerBackend)throw new Error("Bundler backend is required for client bundling");let w=await TW({entrypoints:[d,...f],outputDir:h,projectRoot:i,minify:Cy.minify,splitting:Cy.codeSplitting,platform:"browser",sourcemap:Cy.sourceMaps,plugins:[y],define:x},t,e.bundlerBackend),A=PW(n,r,w,t,o.logLevel,!1),F=C.path.resolve(h,bH);await AW(A,F);try{await C.fs.remove(d)}catch{}return RW(w),FW(A),C.path.resolve(s,w.entrypoint)}catch(f){try{await C.fs.remove(d)}catch{}throw f}}function Gq(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 Vq(e,t){let n=await $d({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&&Gq(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 Yq(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 sc(o,i,{overwrite:!0})}}async function Xq(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 h=C.path.resolve(i,f.name),y=C.path.resolve(s,f.name);await sc(h,y,{overwrite:!0}),r++}}let u=C.path.resolve(e,"lib/i18n/messages"),d=C.path.resolve(t,o,"lib/i18n/messages");if(await C.fs.exists(u)){await C.fs.ensureDir(d);for await(let f of C.fs.readDir(u))if(f.isFile&&f.name.endsWith(".json")){let h=C.path.resolve(u,f.name),y=C.path.resolve(d,f.name);await sc(h,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 yH(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 fA({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 Jq(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,`
386
- <!DOCTYPE html>
387
- <html lang="en">
388
- <head></head>
389
- <body>
390
- <div id="root" class="flex flex-col lg:flex-row min-h-screen bg-neutral-50">
391
- <aside class="w-full lg:w-64 bg-surface border-b lg:border-b-0 lg:border-r border-neutral-200 flex-shrink-0">
392
- <div class="lg:sticky lg:top-0 p-4 lg:p-6">
393
- <nav class="space-y-4">
394
- <a href="#" class="flex items-center gap-2 text-neutral-600 hover:text-primary-600">Link</a>
395
- </nav>
396
- </div>
397
- </aside>
398
- <div class="flex-1 flex flex-col">
399
- <main class="flex-1">
400
- <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8 sm:py-12 lg:py-20">
401
- <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-neutral-900 mb-4">Title</h1>
402
- <h2 class="text-lg font-bold text-neutral-900 mb-2">Subtitle</h2>
403
- <p class="text-neutral-600 text-lg mb-6">Description</p>
404
- <div class="grid gap-4 md:grid-cols-2 lg:grid-cols-3">
405
- <div class="bg-surface rounded-lg border border-neutral-200 p-4 shadow-sm">Card</div>
406
- </div>
407
- <div class="flex flex-wrap gap-4 items-center justify-center">
408
- <button class="btn" data-variant="primary">Primary</button>
409
- <button class="btn" data-variant="secondary">Secondary</button>
410
- </div>
411
- </div>
412
- </main>
413
- <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]">
414
- <a href="#" class="flex items-center gap-2 text-neutral-600 hover:text-primary-600">Footer Link</a>
415
- </footer>
416
- </div>
417
- </div>
418
- </body>
419
- </html>
420
- `,{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 d=i.stats;return d?le.debug(`\u2713 Critical CSS extracted: ${d.criticalSize} bytes critical, ${d.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 Kq(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 Zq(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,Hu);await C.fs.exists(n)&&await C.fs.remove(n,{recursive:!0});let r=C.path.resolve(e,gC);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 Qq(e,t){let r=UA(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 BA(r,o,i),u=C.path.resolve(e,"fonts.css");await C.fs.writeTextFile(u,s.fontFaceCSS);let d=C.path.resolve(e,"font-preloads.json");await C.fs.writeTextFile(d,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 KA(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 xH(e,t,n,r){let o=r?.cssModulePaths??await KA(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 YA(o,{generateDTS:n.cssModuleTypes,projectRoot:e,cache:r?.cache});for(let[s,u]of i)await iH(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 vH(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),d=C.path.join(n,C.path.dirname(i),s);await C.fs.ensureDir(C.path.dirname(d));try{await sc(u,d,{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 jq(e,t,n,r){if(e.length===0)return;let o;r?o=r:o=await YA(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 d=i.map(h=>h.replace(/\x1B\[[0-9;]*[a-zA-Z]/g,"")),f=u+`
421
- `+d.join(`
422
- `);await C.fs.writeTextFile(s,f),le.debug(`\u2713 Appended ${i.length} CSS module(s) to styles.css`)}}async function qq(e,t,n){let{optimizeImages:r,scanImages:o}=await Promise.resolve().then(()=>(hH(),gH)),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 d=C.path.resolve(t,"images"),f=await r(s,d,"/images",{formats:n.images.formats,widths:n.images.widths,quality:n.images.quality,generateBlurPlaceholder:n.images.placeholder==="blur"}),h=Object.keys(f.images).length;h>0&&le.debug(`\u2713 Optimized ${h} image(s)`)}catch(d){le.error("Image optimization failed:",{error:d}),le.warn("Continuing build without image optimization")}}var le,bH,wH,Hu,gC,ZA=k(()=>{we();it();Yf();fy();Vs();lz();uz();gy();Iz();_z();zz();Xz();yA();cW();xA();fW();EW();OW();AA();KW();sH();cH();le=fe.getLogger(["laroux-bundler","build"]),bH="manifest.json",wH="module-map.json",Hu="server",gC="client"});var RH,TH,kH,EH,SH,PH,AH,FH,OH,MH,IH,QA,DH=k(()=>{"use strict";RH={port:8e3,host:"localhost",hmr:!0,open:!1},TH=["@eser/laroux","@eser/laroux-server"],kH={minify:!0,sourcemap:!0,target:["es2022"],external:[],serverExternals:TH},EH={mode:"always",streamMode:"streaming-optimal"},SH={webp:80,avif:75,jpeg:85,png:90},PH={formats:["webp","original"],widths:[640,768,1024,1280,1920],quality:SH,placeholder:"blur"},AH={width:1300,height:900},FH={enabled:!0,viewport:AH,forceInclude:[],forceExclude:[]},OH={runtimeBundleEndpoint:"/__runtime_bundle.js",runtimeModuleMapEndpoint:"/__runtime_module_map.json",staticAssetsPrefix:"/dist"},MH={isDev:!1,isBuild:!1,isServe:!1,isWatch:!1},IH={jsr:{"@eser/logging":`
423
- // Browser shim for @eser/logging
424
- const noop = () => {};
425
- const noopLogger = { debug: noop, info: noop, warn: noop, error: noop };
426
- export const logger = {
427
- getLogger: () => noopLogger,
428
- };
429
- export default { logger };
430
- `,"@eser/standards/runtime/browser":`
431
- // Browser shim for @eser/standards/runtime/browser
432
- export const isBrowser = () => true;
433
- `},nodeBuiltins:{"node:process":`
434
- // Browser shim for node:process - provides minimal process.env for client code
435
- const process = {
436
- env: {
437
- NODE_ENV: "production",
438
- DEBUG: "false",
439
- },
440
- };
441
- export default process;
442
- `}},QA={srcDir:"src",distDir:"dist",publicDir:"public",logLevel:"info",server:RH,build:kH,alias:{},env:{},fonts:[],images:PH,criticalCss:FH,ssr:EH,internal:OH,mode:MH,cssModuleTypes:!1,noCssModuleAutoReference:!1,browserShims:IH}});var _H=k(()=>{DH()});var LH={};ve(LH,{loadConfig:()=>jA});function e$(e){let t=C.path.isAbsolute(e)?e:C.path.resolve(e);return UM(t).href}async function t$(e){let t=C.path.join(e,"laroux.config.ts");if(await C.fs.exists(t))try{return(await import(e$(t))).default??{}}catch(n){let r=n instanceof Error?n.message:String(n);return $q.warn(`Failed to load laroux.config.ts: ${r}`),null}return null}async function jA(e){let t=e??C.process.cwd(),n=await t$(t);return{projectRoot:t,...Uh(QA,n)}}var $q,qA=k(()=>{we();it();Kb();JT();_H();$q=fe.getLogger(["laroux-server","config"])});function n$(e){return{filePath:e.filePath,relativePath:e.relativePath,exportNames:[...e.exports]}}async function yC(e,t,n){if(Oy.debug(`\u{1F50D} Analyzing client components in: ${e}`),!n){let d=(await nA(e,{projectRoot:t})).map(n$);return Oy.debug(`\u{1F4CA} Total client components found: ${d.length}`),d}let r=[],o=0,i=0,s=await nA(e,{projectRoot:t});for(let u of s){let d=0;try{d=(await C.fs.stat(u.filePath)).mtime?.getTime()??0}catch{continue}let f=n.getClientComponent(u.filePath,d);if(f){o++,f.isClient&&r.push({filePath:u.filePath,relativePath:u.relativePath,exportNames:f.exportNames});continue}i++;let h=[...u.exports];n.setClientComponent(u.filePath,!0,h,d),r.push({filePath:u.filePath,relativePath:u.relativePath,exportNames:h}),Oy.debug(` \u2713 Found client component: ${u.relativePath} (exports: ${h.join(", ")})`)}return(o>0||i>0)&&Oy.debug(`\u{1F4CA} Component analysis: ${o} cache hits, ${i} analyzed`),Oy.debug(`\u{1F4CA} Total client components found: ${r.length}`),r}async function xC(e){let t=[],n=/(?:node_modules|\.test\.|\.spec\.)/;for await(let r of Uc(e,"**/*.{tsx,ts,jsx,js}",n))t.push(C.path.join(e,r));return t}var Oy,vC=k(async()=>{fy();we();it();by();Oy=fe.getLogger(["laroux-bundler","rsc-analyze"])});async function $A(e,t){let n=C.path.dirname(e.relativePath),r=C.path.join(t,n);await C.fs.ensureDir(r);let o=r$(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 r$(e){let t=e.exportNames.map(n=>n==="default"?`export default createClientReference(
443
- "./${e.relativePath}",
444
- "default"
445
- );`:`export const ${n} = createClientReference(
446
- "./${e.relativePath}",
447
- "${n}"
448
- );`);return`/**
449
- * Auto-generated client component reference
450
- * Original: ${e.relativePath}
451
- * Exports: ${e.exportNames.join(", ")}
452
- * This file is generated at build time - do not edit!
453
- */
454
-
455
- import { createClientReference } from "@eser/laroux-react/protocol";
456
-
457
- // Export client components as references
458
- // The actual component code runs in the browser
459
- ${t.join(`
460
-
461
- `)}
462
- `}async function wC(e,t,n){bC.debug(`\u{1F504} Transforming ${e.length} client component(s)...`);let r=[];for(let o of e){let i=await $A(o,t);bC.debug(` \u2713 ${o.relativePath} \u2192 ${C.path.relative(n,i.transformedPath)}`),r.push(i)}return bC.debug("\u2705 Transformation complete"),r}function NH(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 CC(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)),bC.debug(`\u{1F4DD} Transform manifest saved to: ${C.path.relative(n,t)}`)}var bC,eF=k(()=>{we();it();bC=fe.getLogger(["laroux-bundler","rsc-transform"])});function RC(e){let t={};for(let n of e){let r=`./${n.relativePath}`,o=Ga(n.relativePath,".js");t[r]={id:r,chunks:[o],name:n.exportNames[0]??"default"}}return t}function BH(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 TC(e,t){let n=JSON.stringify(e,null,2);await C.fs.writeTextFile(t,n),o$.debug(`\u{1F4DD} Module map saved to: ${t}`)}async function UH(e){let t=await C.fs.readTextFile(e);return JSON.parse(t)}function kC(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 o$,tF=k(async()=>{we();Vs();await vC();it();o$=fe.getLogger(["laroux-bundler","rsc-module-map"])});function i$(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 zH(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&&(i$(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 WH(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 s$(e,t){if(t.has(e))return t.get(e);let n=Ei.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 HH(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 nF(e,t,n,r,o){let i=await C.fs.readTextFile(e),s=zH(i),u=i,d=0,f=0;for(let x of s){let w=WH(e,x.path,o);if(HH(w,n)){let D=x.path.endsWith(".module.css")?`${x.path}.json`:`${x.path}.module.css.json`,L=x.original.match(/^import\s+["']/),N;L?N=x.original.replace(/^import\s+["']([^"']+)["'];?/,`import styles from "${D}" with { type: "json" };`):N=x.original.replace(`"${x.path}"`,`"${D}" with { type: "json" }`).replace(`'${x.path}'`,`'${D}' with { type: "json" }`);let Y=x.startIndex+f,H=x.endIndex+f;u=u.slice(0,Y)+N+u.slice(H),f+=N.length-x.original.length,d++;continue}let F=s$(w,t);if(F){let D=C.path.relative(o,e),L=C.path.join(r,D),N=C.path.relative(C.path.dirname(L),F),Y=N.startsWith(".")?N:`./${N}`,H=x.original.replace(`"${x.path}"`,`"${Y}"`).replace(`'${x.path}'`,`'${Y}'`),W=x.startIndex+f,M=x.endIndex+f;u=u.slice(0,W)+H+u.slice(M),f+=H.length-x.original.length,d++}else if(x.path.startsWith("@/")){let D=C.path.relative(o,e),L=C.path.join(r,D),N=C.path.join(o,"dist","server","src",x.path.slice(2)),Y=C.path.relative(C.path.dirname(L),N),H=Y.startsWith(".")?Y:`./${Y}`,W=x.original.replace(`"${x.path}"`,`"${H}"`).replace(`'${x.path}'`,`'${H}'`),M=x.startIndex+f,ne=x.endIndex+f;u=u.slice(0,M)+W+u.slice(ne),f+=W.length-x.original.length,d++}}let h=C.path.relative(o,e),y=C.path.join(r,h);return await C.fs.ensureDir(C.path.dirname(y)),await C.fs.writeTextFile(y,u),{originalPath:e,rewrittenPath:y,importsRewritten:d}}function rF(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 My(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 EC(e,t,n,r,o){ps.debug(`\u{1F504} Rewriting imports in ${e.length} server component(s)...`);let i=rF(t),s=My(n);ps.debug(` Found ${n.length} CSS module(s) to track`);let u=[];for(let d of e){let f=await nF(d,i,s,r,o);f.importsRewritten>0?ps.debug(` \u2713 ${C.path.relative(o,d)} (${f.importsRewritten} import(s) rewritten)`):ps.debug(` \u2713 ${C.path.relative(o,d)} (no client imports)`),u.push(f)}return ps.debug("\u2705 Import rewriting complete"),u}async function GH(e,t,n){let r=await C.fs.readTextFile(e),o=zH(r),i=r,s=0,u=0;for(let d of o){let f=WH(e,d.path,n);if(HH(f,t)){let y=d.path.endsWith(".module.css")?`${d.path}.json`:`${d.path}.module.css.json`,x=d.original.match(/^import\s+["']/),w;x?w=d.original.replace(/^import\s+["']([^"']+)["'];?/,`import styles from "${y}" with { type: "json" };`):w=d.original.replace(`"${d.path}"`,`"${y}" with { type: "json" }`).replace(`'${d.path}'`,`'${y}' with { type: "json" }`);let A=d.startIndex+u,F=d.endIndex+u;i=i.slice(0,A)+w+i.slice(F),u+=w.length-d.original.length,s++}}return s>0&&await C.fs.writeTextFile(e,i),{importsRewritten:s}}async function VH(e,t,n,r){ps.debug(`\u{1F504} Rewriting CSS module imports in ${e.length} client component(s)...`);let o=My(t);ps.debug(` Found ${t.length} CSS module(s) to track`);let i=0;for(let s of e){let u=await GH(s.filePath,o,r);u.importsRewritten>0&&(ps.debug(` \u2713 ${C.path.relative(r,s.filePath)} (${u.importsRewritten} CSS import(s) rewritten)`),i+=u.importsRewritten)}i>0?ps.debug(`\u2705 Rewrote ${i} CSS module import(s) in ${e.length} client component(s)`):ps.debug("\u2705 No CSS module imports found in client components")}async function SC(e,t,n){ps.debug("\u{1F504} Rewriting CSS module imports in all src files...");let r=My(t),o=[];for await(let s of Uc(e,"**/*.{tsx,ts}",/node_modules/))o.push(C.path.join(e,s));ps.debug(` Found ${o.length} source file(s) to check`);let i=0;for(let s of o){let u=await GH(s,r,n);u.importsRewritten>0&&(ps.debug(` \u2713 ${C.path.relative(n,s)} (${u.importsRewritten} CSS import(s) rewritten)`),i+=u.importsRewritten)}i>0?ps.debug(`\u2705 Rewrote ${i} CSS module import(s) in ${o.length} source file(s)`):ps.debug("\u2705 No CSS module imports needed rewriting")}var ps,oF=k(()=>{we();Vs();by();it();ps=fe.getLogger(["laroux-bundler","rsc-rewrite-imports"])});function l$(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 c$(e){return URL.canParse(e)&&e.startsWith("file://")?new URL(e).pathname:e}function u$(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 d$(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 p$(){let t=import.meta.resolve("@eser/laroux-react/client/bootstrap").replace(/\/index\.ts$/,"");return t.startsWith("jsr:")&&(t=u$(t)),{isRemote:l$(t),baseUrl:t}}async function f$(e){let{isRemote:t,baseUrl:n}=p$();for(let r of a$){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=d$(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=c$(i);await sc(s,o,{overwrite:!0})}}}async function PC(e,t,n){let r=C.path.resolve(n,"_client-entry.tsx");await C.fs.ensureDir(n),await f$(n);let o=e.map((u,d)=>`import * as __component_${d} from "${u.filePath}";`).join(`
463
- `),i=e.map((u,d)=>` __RUNTIME_MODULES__["${`./${u.relativePath}`}"] = __component_${d};`).join(`
464
- `),s=`/**
465
- * Auto-generated Client Entry Point - Runtime Bundle
466
- * This file contains the bootstrap code and all client components
467
- */
468
-
469
- ${o}
470
-
471
- // Create global module registry for runtime components
472
- if (typeof globalThis !== "undefined") {
473
- globalThis.__RUNTIME_MODULES__ = globalThis.__RUNTIME_MODULES__ ?? {};
474
- }
475
- const __RUNTIME_MODULES__ = typeof globalThis !== "undefined"
476
- ? globalThis.__RUNTIME_MODULES__
477
- : {};
478
-
479
- // Register all client components
480
- ${i}
481
-
482
- // Import and run the bootstrap code (copied to dist/)
483
- import "./entry.tsx";
484
- `;return await C.fs.writeTextFile(r,s),r}var a$,iF=k(()=>{we();gy();a$=["entry.tsx","error-boundary.tsx","error-overlay.tsx","globals.d.ts","hmr-client.tsx","index.ts","lazy-loader.ts","smart-refresh.tsx"]});var YH,XH=k(async()=>{await vC();eF();await tF();oF();iF();YH={name:"react",analyzeClientComponents:async(e,t,n)=>await yC(e,t,n),getAllComponents:async e=>await xC(e),transformClientComponents:async(e,t,n)=>(await wC(e,t,n)).map(o=>({originalPath:o.originalPath,transformedPath:o.transformedPath})),generateTransformManifest:async(e,t,n)=>{await CC(e,t,n)},createModuleMap:e=>Promise.resolve(RC(e)),saveModuleMap:async(e,t)=>{await TC(e,t)},createClientManifest:e=>Promise.resolve(kC(e)),rewriteServerComponents:async(e,t,n,r,o)=>{await EC(e,t,n,r,o)},rewriteCssModuleImports:async(e,t,n)=>{await SC(e,t,n)},createClientEntry:async(e,t,n)=>await PC(e,t,n)}});var AC={};ve(AC,{analyzeClientComponents:()=>yC,createBundlerConfig:()=>BH,createCSSModuleMap:()=>My,createClientComponentMap:()=>rF,createClientEntry:()=>PC,createClientManifest:()=>kC,createImportMapping:()=>NH,generateModuleMap:()=>RC,generateTransformManifest:()=>CC,getAllComponents:()=>xC,loadModuleMap:()=>UH,reactPlugin:()=>YH,rewriteAllClientComponentCSSImports:()=>VH,rewriteAllServerComponents:()=>EC,rewriteAllSrcCSSModuleImports:()=>SC,rewriteServerComponentImports:()=>nF,saveModuleMap:()=>TC,transformAllClientComponents:()=>wC,transformClientComponent:()=>$A});var FC=k(async()=>{await XH();await vC();await tF();eF();oF();iF()});var JH={};ve(JH,{buildHandler:()=>g$});async function h$(e,t){console.log(Se(`
485
- \u{1F4CA} Bundle Analysis:
486
- `));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 d=(u.size/1024).toFixed(2);console.log(` ${s.padEnd(30)} ${d.padStart(8)} KB`)}let i=Object.values(o.files).reduce((s,u)=>s+u.size,0);console.log(ye(`
487
- Total: ${(i/1024).toFixed(2)} KB`))}catch{console.log(is("Could not analyze build (manifest.json not found)"))}}var m$,g$,KH=k(()=>{"use strict";Rn();Dt();m$=["trace","debug","info","warn","error","fatal"],g$=async e=>{console.log(Se(`
488
- \u{1F4E6} Building for production...
489
- `));let t=await Promise.resolve().then(()=>(it(),ot)),{current:n}=await Promise.resolve().then(()=>(we(),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,d=e.flags["log-level"]??"info",f=m$.includes(d.toLowerCase())?d.toLowerCase():"info",h={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:h[f],sinks:["console"]}]});let[{build:y,createBuildContext:x},{loadConfig:w},{reactPlugin:A},{createTailwindPlugin:F}]=await Promise.all([Promise.resolve().then(()=>(ZA(),CH)),Promise.resolve().then(()=>(qA(),LH)),FC().then(()=>AC),Promise.resolve().then(()=>(Ay(),fC))]),D=t.logger.getLogger(["laroux-bundler","cli"]),L=await w(r),N={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(N.distDir,{recursive:!0}),D.debug(`Cleaned ${N.distDir}`)}catch{}let Y=F({globalCssPath:n.path.resolve(r,"src/app/styles/global.css")}),H=x(N,{framework:A,css:Y,bundlerBackend:"rolldown"});return await y(H),await t.config.reset(),u&&await h$(n,o),ge(void 0)}});var OC,Fm,ZH=k(()=>{we();it();OC=fe.getLogger(["laroux-bundler","prebuilt-bundler"]),Fm=class{config;cachedManifest=null;constructor(t){this.config=t}async getBundle(){OC.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),OC.debug(`\u2705 Loaded module map with ${Object.keys(i).length} entries`)}catch{OC.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 OC.debug(`\u2705 Loaded manifest with entrypoint: ${s}`),{clientCode:null,moduleMap:i,chunkManifest:r,entrypoint:s}}async reload(){this.cachedManifest=null,await this.getBundle()}}});var QH=k(()=>{ZH()});var MC,sF,Iy,jH=k(()=>{we();it();AA();SA();MC=fe.getLogger(["laroux-bundler","runtime-bundler"]),sF=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=Em("deno-bundler",{entryName:"client"}),u={client:i};for(let w of t)u[w.relativePath]=w.filePath;let d={entrypoints:u,outputDir:o,format:"esm",platform:"browser",codeSplitting:PA.codeSplitting,minify:PA.minify,sourcemap:!1},f=await s.bundle(d);if(!f.success){let w=f.errors?.map(A=>A.message).join(", ")??"Unknown error";throw new Error(`Bundle failed: ${w}`)}let h=f.outputs.get("client.js");if(!h)throw new Error("Bundle output 'client.js' not found in bundle result");let y=new TextDecoder().decode(h.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;MC.error("\u274C Runtime bundling failed:"),MC.error(` Error: ${s}`),u!==null&&MC.error(` Stack trace:
490
- ${u}`);let d=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=`
491
- console.error("Runtime bundling failed:", ${JSON.stringify(s)});
492
- document.getElementById("root").innerHTML = '<div class="error"><h2>Bundle Error</h2><pre>${d(s)}</pre></div>';
493
- `,h={version:"1.0",buildId:"runtime-error",timestamp:Date.now(),logLevel:"error",entrypoint:"__runtime_bundle.js",hmrEnabled:!1,chunks:{},files:{}};return{code:f,manifest:h}}finally{try{await C.fs.remove(o,{recursive:!0})}catch(i){MC.debug("Temp directory cleanup failed",{error:i})}}}clear(){this.clientComponents.clear(),this.moduleMap=null,this.bundleCode=null,this.lastScan=0}},Iy=class{cache;constructor(t){this.cache=new sF(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 qH=k(()=>{jH()});var $H,e6=k(()=>{$H={name:"noop",renderPage:()=>Promise.resolve({html:""}),renderRSC:()=>Promise.resolve(new Response("")),generateBootstrapScript:()=>""}});var t6,n6=k(()=>{t6={name:"noop",createShell:()=>"<!DOCTYPE html><html><head></head><body></body></html>",createStreamingStart:()=>"<!DOCTYPE html><html><head></head><body>",createStreamingEnd:()=>"</body></html>"}});var Om,IC,r6=k(()=>{it();Om=fe.getLogger(["laroux-server","hmr"]),IC=class{clients=new Set;handleConnection(t){this.clients.add(t),Om.debug(`HMR client connected (${this.clients.size} total)`),this.sendToClient(t,{type:"connected"}),t.addEventListener("close",()=>{this.clients.delete(t),Om.debug(`HMR client disconnected (${this.clients.size} remaining)`)}),t.addEventListener("error",n=>{Om.error("HMR WebSocket error:",{event:n}),this.clients.delete(t)})}notifyUpdate(t=Date.now(),n){let r={type:"update",timestamp:t,changedModules:n};Om.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};Om.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){Om.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 y$(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 x$(e,t){let{pattern:n,catchAllParams:r}=y$(t),i=new URLPattern({pathname:n}).exec({pathname:e});if(!i)return null;let s={},u=i.pathname.groups;for(let[d,f]of Object.entries(u))r.has(d)?s[d]=f?f.split("/").filter(Boolean):[]:s[d]=f??"";return s}var Dy,DC,o6=k(()=>{it();we();Dy=fe.getLogger(["laroux-server","api-handler"]);DC=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||[],Dy.debug(`Loaded ${this.routes.length} API route(s)`)}catch{this.routes=[],Dy.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=x$(n,i.path);if(s!==null){Dy.debug(`API route matched: ${o} ${n} -> ${i.path}`);try{let u=C.path.resolve(this.registryDir,i.modulePath),d=this.moduleCache.get(u);d||(d=await import(`file://${u}`),this.moduleCache.set(u,d));let f=d[o];return f?await f({request:t,params:s,searchParams:r.searchParams}):(Dy.debug(`Method ${o} not allowed for ${i.path}`),new Response("Method Not Allowed",{status:405,headers:{Allow:this.getAllowedMethods(d).join(", ")}}))}catch(u){return Dy.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 Gu,_C,i6=k(()=>{it();we();Gu=fe.getLogger(["laroux-server","proxy-handler"]),_C=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||[],Gu.debug(`Loaded ${this.proxies.length} proxy definition(s)`)}catch{this.proxies=[],Gu.debug("No proxy registry found")}}async runProxies(t,n){let r=n;for(let o of this.proxies)if(this.matchesPrefix(r,o.pathPrefix)){Gu.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"){Gu.warn(`Proxy ${o.modulePath} does not export a default function`);continue}let d=await u({request:t,pathname:r,params:{}});if(d.type==="response")return Gu.debug(`Proxy ${o.pathPrefix} returned response`),{result:d,finalPathname:r};if(d.type==="redirect")return Gu.debug(`Proxy ${o.pathPrefix} redirecting to ${d.url}`),{result:d,finalPathname:r};d.type==="rewrite"&&(Gu.debug(`Proxy ${o.pathPrefix} rewriting to ${d.pathname}`),r=d.pathname)}catch(i){return Gu.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 s6(e,t){let n=bE(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 aF(e,t){for(let n of t){let r=s6(e,n);if(r!==null)return{route:n,params:r}}return null}var a6=k(()=>{"use strict";wE()});var l6=k(()=>{"use strict"});var c6=k(()=>{a6();l6()});var u6,d6=k(()=>{u6=["trace","debug","info","warn","error","fatal"]});var C6=xl(Qe=>{"use strict";var uF=Symbol.for("react.transitional.element"),v$=Symbol.for("react.portal"),b$=Symbol.for("react.fragment"),w$=Symbol.for("react.strict_mode"),C$=Symbol.for("react.profiler"),R$=Symbol.for("react.consumer"),T$=Symbol.for("react.context"),k$=Symbol.for("react.forward_ref"),E$=Symbol.for("react.suspense"),S$=Symbol.for("react.memo"),h6=Symbol.for("react.lazy"),P$=Symbol.for("react.activity"),p6=Symbol.iterator;function A$(e){return e===null||typeof e!="object"?null:(e=p6&&e[p6]||e["@@iterator"],typeof e=="function"?e:null)}var y6={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x6=Object.assign,v6={};function Im(e,t,n){this.props=e,this.context=t,this.refs=v6,this.updater=n||y6}Im.prototype.isReactComponent={};Im.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")};Im.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function b6(){}b6.prototype=Im.prototype;function dF(e,t,n){this.props=e,this.context=t,this.refs=v6,this.updater=n||y6}var pF=dF.prototype=new b6;pF.constructor=dF;x6(pF,Im.prototype);pF.isPureReactComponent=!0;var f6=Array.isArray;function cF(){}var Qn={H:null,A:null,T:null,S:null},w6=Object.prototype.hasOwnProperty;function fF(e,t,n){var r=n.ref;return{$$typeof:uF,type:e,key:t,ref:r!==void 0?r:null,props:n}}function F$(e,t){return fF(e.type,t,e.props)}function mF(e){return typeof e=="object"&&e!==null&&e.$$typeof===uF}function O$(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var m6=/\/+/g;function lF(e,t){return typeof e=="object"&&e!==null&&e.key!=null?O$(""+e.key):t.toString(36)}function M$(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(cF,cF):(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 Mm(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 uF:case v$:s=!0;break;case h6:return s=e._init,Mm(s(e._payload),t,n,r,o)}}if(s)return o=o(e),s=r===""?"."+lF(e,0):r,f6(o)?(n="",s!=null&&(n=s.replace(m6,"$&/")+"/"),Mm(o,t,n,"",function(f){return f})):o!=null&&(mF(o)&&(o=F$(o,n+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(m6,"$&/")+"/")+s)),t.push(o)),1;s=0;var u=r===""?".":r+":";if(f6(e))for(var d=0;d<e.length;d++)r=e[d],i=u+lF(r,d),s+=Mm(r,t,n,i,o);else if(d=A$(e),typeof d=="function")for(e=d.call(e),d=0;!(r=e.next()).done;)r=r.value,i=u+lF(r,d++),s+=Mm(r,t,n,i,o);else if(i==="object"){if(typeof e.then=="function")return Mm(M$(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 LC(e,t,n){if(e==null)return e;var r=[],o=0;return Mm(e,r,"","",function(i){return t.call(n,i,o++)}),r}function I$(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 g6=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)},D$={map:LC,forEach:function(e,t,n){LC(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return LC(e,function(){t++}),t},toArray:function(e){return LC(e,function(t){return t})||[]},only:function(e){if(!mF(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Qe.Activity=P$;Qe.Children=D$;Qe.Component=Im;Qe.Fragment=b$;Qe.Profiler=C$;Qe.PureComponent=dF;Qe.StrictMode=w$;Qe.Suspense=E$;Qe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Qn;Qe.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Qn.H.useMemoCache(e)}};Qe.cache=function(e){return function(){return e.apply(null,arguments)}};Qe.cacheSignal=function(){return null};Qe.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=x6({},e.props),o=e.key;if(t!=null)for(i in t.key!==void 0&&(o=""+t.key),t)!w6.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 fF(e.type,o,r)};Qe.createContext=function(e){return e={$$typeof:T$,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:R$,_context:e},e};Qe.createElement=function(e,t,n){var r,o={},i=null;if(t!=null)for(r in t.key!==void 0&&(i=""+t.key),t)w6.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),d=0;d<s;d++)u[d]=arguments[d+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return fF(e,i,o)};Qe.createRef=function(){return{current:null}};Qe.forwardRef=function(e){return{$$typeof:k$,render:e}};Qe.isValidElement=mF;Qe.lazy=function(e){return{$$typeof:h6,_payload:{_status:-1,_result:e},_init:I$}};Qe.memo=function(e,t){return{$$typeof:S$,type:e,compare:t===void 0?null:t}};Qe.startTransition=function(e){var t=Qn.T,n={};Qn.T=n;try{var r=e(),o=Qn.S;o!==null&&o(n,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(cF,g6)}catch(i){g6(i)}finally{t!==null&&n.types!==null&&(t.types=n.types),Qn.T=t}};Qe.unstable_useCacheRefresh=function(){return Qn.H.useCacheRefresh()};Qe.use=function(e){return Qn.H.use(e)};Qe.useActionState=function(e,t,n){return Qn.H.useActionState(e,t,n)};Qe.useCallback=function(e,t){return Qn.H.useCallback(e,t)};Qe.useContext=function(e){return Qn.H.useContext(e)};Qe.useDebugValue=function(){};Qe.useDeferredValue=function(e,t){return Qn.H.useDeferredValue(e,t)};Qe.useEffect=function(e,t){return Qn.H.useEffect(e,t)};Qe.useEffectEvent=function(e){return Qn.H.useEffectEvent(e)};Qe.useId=function(){return Qn.H.useId()};Qe.useImperativeHandle=function(e,t,n){return Qn.H.useImperativeHandle(e,t,n)};Qe.useInsertionEffect=function(e,t){return Qn.H.useInsertionEffect(e,t)};Qe.useLayoutEffect=function(e,t){return Qn.H.useLayoutEffect(e,t)};Qe.useMemo=function(e,t){return Qn.H.useMemo(e,t)};Qe.useOptimistic=function(e,t){return Qn.H.useOptimistic(e,t)};Qe.useReducer=function(e,t,n){return Qn.H.useReducer(e,t,n)};Qe.useRef=function(e){return Qn.H.useRef(e)};Qe.useState=function(e){return Qn.H.useState(e)};Qe.useSyncExternalStore=function(e,t,n){return Qn.H.useSyncExternalStore(e,t,n)};Qe.useTransition=function(){return Qn.H.useTransition()};Qe.version="19.2.4"});var R6=xl((Je,NC)=>{"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=vs&&P[vs]||P["@@iterator"],typeof P=="function"?P:null)}function n(P,z){P=(P=P.constructor)&&(P.displayName||P.name)||"ReactClass";var oe=P+"."+z;ui[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),ui[oe]=!0)}function r(P,z,oe){this.props=P,this.context=z,this.refs=Ft,this.updater=oe||qe}function o(){}function i(P,z,oe){this.props=P,this.context=z,this.refs=Ft,this.updater=oe||qe}function s(){}function u(P){return""+P}function d(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===Sn?null:P.displayName||P.name||null;if(typeof P=="string")return P;switch(P){case En:return"Fragment";case Re:return"Profiler";case Zt:return"StrictMode";case nn:return"Suspense";case $e:return"SuspenseList";case ho: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 je:return"Portal";case Ue:return P.displayName||"Context";case xe:return(P._context.displayName||"Context")+".Consumer";case St:var z=P.render;return P=P.displayName,P||(P=z.displayName||z.name||"",P=P!==""?"ForwardRef("+P+")":"ForwardRef"),P;case He:return z=P.displayName||null,z!==null?z:f(P.type)||"Memo";case jn:z=P._payload,P=P._init;try{return f(P(z))}catch{}}return null}function h(P){if(P===En)return"<>";if(typeof P=="object"&&P!==null&&P.$$typeof===jn)return"<...>";try{var z=f(P);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function y(){var P=ze.A;return P===null?null:P.getOwner()}function x(){return Error("react-stack-top-frame")}function w(P){if(Pn.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(){Wn||(Wn=!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 Hn[P]||(Hn[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,Te,Le){var Ne=oe.ref;return P={$$typeof:Ke,type:P,key:z,props:oe,_owner:de},(Ne!==void 0?Ne: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:Te}),Object.defineProperty(P,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Le}),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 N(P){Y(P)?P._store&&(P._store.validated=1):typeof P=="object"&&P!==null&&P.$$typeof===jn&&(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===Ke}function H(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?(d(P.key),H(""+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,Te){var Le=typeof P;(Le==="undefined"||Le==="boolean")&&(P=null);var Ne=!1;if(P===null)Ne=!0;else switch(Le){case"bigint":case"string":case"number":Ne=!0;break;case"object":switch(P.$$typeof){case Ke:case je:Ne=!0;break;case jn:return Ne=P._init,ne(Ne(P._payload),z,oe,de,Te)}}if(Ne){Ne=P,Te=Te(Ne);var bt=de===""?"."+W(Ne,0):de;return Pt(Te)?(oe="",bt!=null&&(oe=bt.replace(Gn,"$&/")+"/"),ne(Te,z,oe,"",function(ct){return ct})):Te!=null&&(Y(Te)&&(Te.key!=null&&(Ne&&Ne.key===Te.key||d(Te.key)),oe=L(Te,oe+(Te.key==null||Ne&&Ne.key===Te.key?"":(""+Te.key).replace(Gn,"$&/")+"/")+bt),de!==""&&Ne!=null&&Y(Ne)&&Ne.key==null&&Ne._store&&!Ne._store.validated&&(oe._store.validated=2),Te=oe),z.push(Te)),1}if(Ne=0,bt=de===""?".":de+":",Pt(P))for(var Ye=0;Ye<P.length;Ye++)de=P[Ye],Le=bt+W(de,Ye),Ne+=ne(de,z,oe,Le,Te);else if(Ye=t(P),typeof Ye=="function")for(Ye===P.entries&&(Nt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Nt=!0),P=Ye.call(P),Ye=0;!(de=P.next()).done;)de=de.value,Le=bt+W(de,Ye++),Ne+=ne(de,z,oe,Le,Te);else if(Le==="object"){if(typeof P.then=="function")return ne(M(P),z,oe,de,Te);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 Ne}function Ee(P,z,oe){if(P==null)return P;var de=[],Te=0;return ne(P,de,"","",function(Le){return z.call(oe,Le,Te++)}),de}function Ce(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(Te){if(P._status===0||P._status===-1){P._status=1,P._result=Te;var Le=P._ioInfo;Le!=null&&(Le.end=performance.now()),oe.status===void 0&&(oe.status="fulfilled",oe.value=Te)}},function(Te){if(P._status===0||P._status===-1){P._status=2,P._result=Te;var Le=P._ioInfo;Le!=null&&(Le.end=performance.now()),oe.status===void 0&&(oe.status="rejected",oe.reason=Te)}}),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
494
-
495
- Your code should look like:
496
- const MyComponent = lazy(() => import('./MyComponent'))
497
-
498
- 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
499
-
500
- Your code should look like:
501
- const MyComponent = lazy(() => import('./MyComponent'))`,z),z.default;throw P._result}function re(){var P=ze.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:
502
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
503
- 2. You might be breaking the Rules of Hooks
504
- 3. You might have more than one copy of React in the same app
505
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),P}function me(){ze.asyncTransitions--}function ce(P){if(bs===null)try{var z=("require"+Math.random()).slice(0,7);bs=(NC&&NC[z]).call(NC,"timers").setImmediate}catch{bs=function(de){lr===!1&&(lr=!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 Te=new MessageChannel;Te.port1.onmessage=de,Te.port2.postMessage(void 0)}}return bs(P)}function ke(P){return 1<P.length&&typeof AggregateError=="function"?new AggregateError(P):P[0]}function be(P,z){z!==yo-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. "),yo=z}function Oe(P,z,oe){var de=ze.actQueue;if(de!==null)if(de.length!==0)try{st(de),ce(function(){return Oe(P,z,oe)});return}catch(Te){ze.thrownErrors.push(Te)}else ze.actQueue=null;0<ze.thrownErrors.length?(de=ke(ze.thrownErrors),ze.thrownErrors.length=0,oe(de)):z(P)}function st(P){if(!cr){cr=!0;var z=0;try{for(;z<P.length;z++){var oe=P[z];do{ze.didUsePromise=!1;var de=oe(!1);if(de!==null){if(ze.didUsePromise){P[z]=oe,P.splice(0,z);return}oe=de}else break}while(!0)}P.length=0}catch(Te){P.splice(0,z+1),ze.thrownErrors.push(Te)}finally{cr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ke=Symbol.for("react.transitional.element"),je=Symbol.for("react.portal"),En=Symbol.for("react.fragment"),Zt=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),Ue=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),nn=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),He=Symbol.for("react.memo"),jn=Symbol.for("react.lazy"),ho=Symbol.for("react.activity"),vs=Symbol.iterator,ui={},qe={isMounted:function(){return!1},enqueueForceUpdate:function(P){n(P,"forceUpdate")},enqueueReplaceState:function(P){n(P,"replaceState")},enqueueSetState:function(P){n(P,"setState")}},xn=Object.assign,Ft={};Object.freeze(Ft),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 rn={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(ur in rn)rn.hasOwnProperty(ur)&&e(ur,rn[ur]);o.prototype=r.prototype,rn=i.prototype=new o,rn.constructor=i,xn(rn,r.prototype),rn.isPureReactComponent=!0;var Pt=Array.isArray,Sn=Symbol.for("react.client.reference"),ze={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Pn=Object.prototype.hasOwnProperty,Zs=console.createTask?console.createTask:function(){return null};rn={react_stack_bottom_frame:function(P){return P()}};var Wn,ar,Hn={},vt=rn.react_stack_bottom_frame.bind(rn,x)(),zo=Zs(h(x)),Nt=!1,Gn=/\/+/g,Bi=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)},lr=!1,bs=null,yo=0,Yr=!1,cr=!1,Ra=typeof queueMicrotask=="function"?function(P){queueMicrotask(function(){return queueMicrotask(P)})}:ce;rn=Object.freeze({__proto__:null,c:function(P){return re().useMemoCache(P)}});var ur={map:Ee,forEach:function(P,z,oe){Ee(P,function(){z.apply(this,arguments)},oe)},count:function(P){var z=0;return Ee(P,function(){z++}),z},toArray:function(P){return Ee(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}};Je.Activity=ho,Je.Children=ur,Je.Component=r,Je.Fragment=En,Je.Profiler=Re,Je.PureComponent=i,Je.StrictMode=Zt,Je.Suspense=nn,Je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ze,Je.__COMPILER_RUNTIME=rn,Je.act=function(P){var z=ze.actQueue,oe=yo;yo++;var de=ze.actQueue=z!==null?z:[],Te=!1;try{var Le=P()}catch(Ye){ze.thrownErrors.push(Ye)}if(0<ze.thrownErrors.length)throw be(z,oe),P=ke(ze.thrownErrors),ze.thrownErrors.length=0,P;if(Le!==null&&typeof Le=="object"&&typeof Le.then=="function"){var Ne=Le;return Ra(function(){Te||Yr||(Yr=!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(Ye,ct){Te=!0,Ne.then(function(Dr){if(be(z,oe),oe===0){try{st(de),ce(function(){return Oe(Dr,Ye,ct)})}catch(An){ze.thrownErrors.push(An)}if(0<ze.thrownErrors.length){var wr=ke(ze.thrownErrors);ze.thrownErrors.length=0,ct(wr)}}else Ye(Dr)},function(Dr){be(z,oe),0<ze.thrownErrors.length&&(Dr=ke(ze.thrownErrors),ze.thrownErrors.length=0),ct(Dr)})}}}var bt=Le;if(be(z,oe),oe===0&&(st(de),de.length!==0&&Ra(function(){Te||Yr||(Yr=!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(() => ...)"))}),ze.actQueue=null),0<ze.thrownErrors.length)throw P=ke(ze.thrownErrors),ze.thrownErrors.length=0,P;return{then:function(Ye,ct){Te=!0,oe===0?(ze.actQueue=de,ce(function(){return Oe(bt,Ye,ct)})):Ye(bt)}}},Je.cache=function(P){return function(){return P.apply(null,arguments)}},Je.cacheSignal=function(){return null},Je.captureOwnerStack=function(){var P=ze.getCurrentStack;return P===null?null:P()},Je.cloneElement=function(P,z,oe){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var de=xn({},P.props),Te=P.key,Le=P._owner;if(z!=null){var Ne;e:{if(Pn.call(z,"ref")&&(Ne=Object.getOwnPropertyDescriptor(z,"ref").get)&&Ne.isReactWarning){Ne=!1;break e}Ne=z.ref!==void 0}Ne&&(Le=y()),w(z)&&(d(z.key),Te=""+z.key);for(bt in z)!Pn.call(z,bt)||bt==="key"||bt==="__self"||bt==="__source"||bt==="ref"&&z.ref===void 0||(de[bt]=z[bt])}var bt=arguments.length-2;if(bt===1)de.children=oe;else if(1<bt){Ne=Array(bt);for(var Ye=0;Ye<bt;Ye++)Ne[Ye]=arguments[Ye+2];de.children=Ne}for(de=D(P.type,Te,de,Le,P._debugStack,P._debugTask),Te=2;Te<arguments.length;Te++)N(arguments[Te]);return de},Je.createContext=function(P){return P={$$typeof:Ue,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:xe,_context:P},P._currentRenderer=null,P._currentRenderer2=null,P},Je.createElement=function(P,z,oe){for(var de=2;de<arguments.length;de++)N(arguments[de]);de={};var Te=null;if(z!=null)for(Ye in ar||!("__self"in z)||"key"in z||(ar=!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)&&(d(z.key),Te=""+z.key),z)Pn.call(z,Ye)&&Ye!=="key"&&Ye!=="__self"&&Ye!=="__source"&&(de[Ye]=z[Ye]);var Le=arguments.length-2;if(Le===1)de.children=oe;else if(1<Le){for(var Ne=Array(Le),bt=0;bt<Le;bt++)Ne[bt]=arguments[bt+2];Object.freeze&&Object.freeze(Ne),de.children=Ne}if(P&&P.defaultProps)for(Ye in Le=P.defaultProps,Le)de[Ye]===void 0&&(de[Ye]=Le[Ye]);Te&&A(de,typeof P=="function"?P.displayName||P.name||"Unknown":P);var Ye=1e4>ze.recentlyCreatedOwnerStacks++;return D(P,Te,de,y(),Ye?Error("react-stack-top-frame"):vt,Ye?Zs(h(P)):zo)},Je.createRef=function(){var P={current:null};return Object.seal(P),P},Je.forwardRef=function(P){P!=null&&P.$$typeof===He?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:St,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},Je.isValidElement=Y,Je.lazy=function(P){P={_status:-1,_result:P};var z={$$typeof:jn,_payload:P,_init:Ce},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},Je.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:He,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},Je.startTransition=function(P){var z=ze.T,oe={};oe._updatedFibers=new Set,ze.T=oe;try{var de=P(),Te=ze.S;Te!==null&&Te(oe,de),typeof de=="object"&&de!==null&&typeof de.then=="function"&&(ze.asyncTransitions++,de.then(me,me),de.then(s,Bi))}catch(Le){Bi(Le)}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),ze.T=z}},Je.unstable_useCacheRefresh=function(){return re().useCacheRefresh()},Je.use=function(P){return re().use(P)},Je.useActionState=function(P,z,oe){return re().useActionState(P,z,oe)},Je.useCallback=function(P,z){return re().useCallback(P,z)},Je.useContext=function(P){var z=re();return P.$$typeof===xe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),z.useContext(P)},Je.useDebugValue=function(P,z){return re().useDebugValue(P,z)},Je.useDeferredValue=function(P,z){return re().useDeferredValue(P,z)},Je.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)},Je.useEffectEvent=function(P){return re().useEffectEvent(P)},Je.useId=function(){return re().useId()},Je.useImperativeHandle=function(P,z,oe){return re().useImperativeHandle(P,z,oe)},Je.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)},Je.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)},Je.useMemo=function(P,z){return re().useMemo(P,z)},Je.useOptimistic=function(P,z){return re().useOptimistic(P,z)},Je.useReducer=function(P,z,oe){return re().useReducer(P,z,oe)},Je.useRef=function(P){return re().useRef(P)},Je.useState=function(P){return re().useState(P)},Je.useSyncExternalStore=function(P,z,oe){return re().useSyncExternalStore(P,z,oe)},Je.useTransition=function(){return re().useTransition()},Je.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var zc=xl((kPe,gF)=>{"use strict";process.env.NODE_ENV==="production"?gF.exports=C6():gF.exports=R6()});var k6=xl(ms=>{"use strict";var _$=zc();function T6(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 Vu(){}var fs={d:{f:Vu,r:function(){throw Error(T6(522))},D:Vu,C:Vu,L:Vu,m:Vu,X:Vu,S:Vu,M:Vu},p:0,findDOMNode:null},L$=Symbol.for("react.portal");function N$(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:L$,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}var _y=_$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function BC(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}ms.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=fs;ms.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(T6(299));return N$(e,t,null,n)};ms.flushSync=function(e){var t=_y.T,n=fs.p;try{if(_y.T=null,fs.p=2,e)return e()}finally{_y.T=t,fs.p=n,fs.d.f()}};ms.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,fs.d.C(e,t))};ms.prefetchDNS=function(e){typeof e=="string"&&fs.d.D(e)};ms.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,r=BC(n,t.crossOrigin),o=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?fs.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:i}):n==="script"&&fs.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};ms.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=BC(t.as,t.crossOrigin);fs.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&&fs.d.M(e)};ms.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,r=BC(n,t.crossOrigin);fs.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})}};ms.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=BC(t.as,t.crossOrigin);fs.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 fs.d.m(e)};ms.requestFormReset=function(e){fs.d.r(e)};ms.unstable_batchedUpdates=function(e,t){return e(t)};ms.useFormState=function(e,t,n){return _y.H.useFormState(e,t,n)};ms.useFormStatus=function(){return _y.H.useHostTransitionStatus()};ms.version="19.2.4"});var E6=xl(gs=>{"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=h.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:
506
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
507
- 2. You might be breaking the Rules of Hooks
508
- 3. You might have more than one copy of React in the same app
509
- 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=zc(),d={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"),h=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"),gs.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,gs.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)},gs.flushSync=function(y){var x=h.T,w=d.p;try{if(h.T=null,d.p=2,y)return y()}finally{h.T=x,d.p=w,d.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.")}},gs.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,d.d.C(y,x))},gs.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"&&d.d.D(y)},gs.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"?d.d.S(y,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:A,integrity:F,fetchPriority:D}):w==="script"&&d.d.X(y,{crossOrigin:A,integrity:F,fetchPriority:D,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},gs.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),d.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&&d.d.M(y))},gs.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);d.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})}},gs.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),d.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})):d.d.m(y))},gs.requestFormReset=function(y){d.d.r(y)},gs.unstable_batchedUpdates=function(y,x){return y(x)},gs.useFormState=function(y,x,w){return s().useFormState(y,x,w)},gs.useFormStatus=function(){return s().useHostTransitionStatus()},gs.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()});var Ly=xl((PPe,hF)=>{"use strict";function S6(){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(S6)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(S6(),hF.exports=k6()):hF.exports=E6()});var N4=xl(mR=>{"use strict";var r4=zc(),B$=Ly(),o4=Symbol.for("react.transitional.element"),i4=Symbol.for("react.portal"),s4=Symbol.for("react.fragment"),a4=Symbol.for("react.strict_mode"),l4=Symbol.for("react.profiler"),c4=Symbol.for("react.consumer"),aR=Symbol.for("react.context"),_F=Symbol.for("react.forward_ref"),lR=Symbol.for("react.suspense"),LF=Symbol.for("react.suspense_list"),NF=Symbol.for("react.memo"),cR=Symbol.for("react.lazy"),U$=Symbol.for("react.scope"),u4=Symbol.for("react.activity"),z$=Symbol.for("react.legacy_hidden"),W$=Symbol.for("react.memo_cache_sentinel"),H$=Symbol.for("react.view_transition"),P6=Symbol.iterator;function d4(e){return e===null||typeof e!="object"?null:(e=P6&&e[P6]||e["@@iterator"],typeof e=="function"?e:null)}var ZC=Array.isArray;function A6(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 Xs=Object.assign,or=Object.prototype.hasOwnProperty,G$=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]*$"),F6={},O6={};function BF(e){return or.call(O6,e)?!0:or.call(F6,e)?!1:G$.test(e)?O6[e]=!0:(F6[e]=!0,!1)}var V$=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(" ")),Y$=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"]]),X$=/["'&<>]/;function mt(e){if(typeof e=="boolean"||typeof e=="number"||typeof e=="bigint")return""+e;e=""+e;var t=X$.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 J$=/([A-Z])/g,K$=/^ms-/,Z$=/^[\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 Wy(e){return Z$.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Dm=r4.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,p4=B$.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q$={pending:!1,data:null,method:null,action:null},Hc=p4.d;p4.d={f:Hc.f,r:Hc.r,D:mee,C:gee,L:hee,m:yee,X:vee,S:xee,M:bee};var Za=[],Um=null,f4=/(<\/|<)(s)(cript)/gi;function m4(e,t,n,r){return""+t+(n==="s"?"\\u0073":"\\u0053")+r}function j$(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 ai(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function M6(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 g4(e){return e===null?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function RF(e,t){return t.tagScope&32&&(e.instructions|=128),ai(t.insertionMode,t.selectedValue,t.tagScope|12,g4(t.viewTransition))}function HC(e,t){e=g4(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!=="none"&&(n|=64),ai(t.insertionMode,t.selectedValue,n,e)}var I6=new Map;function h4(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(or.call(t,r)){var o=t[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var i=mt(r);o=mt((""+o).trim())}else i=I6.get(r),i===void 0&&(i=mt(r.replace(J$,"-$1").toLowerCase().replace(K$,"-ms-")),I6.set(r,i)),o=typeof o=="number"?o===0||V$.has(r)?""+o:o+"px":mt((""+o).trim());n?(n=!1,e.push(' style="',i,":",o)):e.push(";",i,":",o)}}n||e.push('"')}function TF(e,t,n){n&&typeof n!="function"&&typeof n!="symbol"&&e.push(" ",t,'=""')}function Ai(e,t,n){typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&e.push(" ",t,'="',mt(n),'"')}var y4=mt("javascript:throw new Error('React form unexpectedly submitted.')");function yF(e,t){this.push('<input type="hidden"'),x4(e),Ai(this,"name",t),Ai(this,"value",e),this.push("/>")}function x4(e){if(typeof e!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function v4(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(x4)}return r}catch(i){if(typeof i=="object"&&i!==null&&typeof i.then=="function")throw i}}return null}function D6(e,t,n,r,o,i,s,u){var d=null;if(typeof r=="function"){var f=v4(t,r);f!==null?(u=f.name,r=f.action||"",o=f.encType,i=f.method,s=f.target,d=f.data):(e.push(" ","formAction",'="',y4,'"'),s=i=o=r=u=null,b4(t,n))}return u!=null&&en(e,"name",u),r!=null&&en(e,"formAction",r),o!=null&&en(e,"formEncType",o),i!=null&&en(e,"formMethod",i),s!=null&&en(e,"formTarget",s),d}function en(e,t,n){switch(t){case"className":Ai(e,"class",n);break;case"tabIndex":Ai(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Ai(e,t,n);break;case"style":h4(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=Wy(""+n),e.push(" ",t,'="',mt(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":TF(e,t.toLowerCase(),n);break;case"xlinkHref":if(typeof n=="function"||typeof n=="symbol"||typeof n=="boolean")break;n=Wy(""+n),e.push(" ","xlink:href",'="',mt(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,'="',mt(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,'="',mt(n),'"');break;case"cols":case"rows":case"size":case"span":typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',mt(n),'"');break;case"rowSpan":case"start":typeof n=="function"||typeof n=="symbol"||isNaN(n)||e.push(" ",t,'="',mt(n),'"');break;case"xlinkActuate":Ai(e,"xlink:actuate",n);break;case"xlinkArcrole":Ai(e,"xlink:arcrole",n);break;case"xlinkRole":Ai(e,"xlink:role",n);break;case"xlinkShow":Ai(e,"xlink:show",n);break;case"xlinkTitle":Ai(e,"xlink:title",n);break;case"xlinkType":Ai(e,"xlink:type",n);break;case"xmlBase":Ai(e,"xml:base",n);break;case"xmlLang":Ai(e,"xml:lang",n);break;case"xmlSpace":Ai(e,"xml:space",n);break;default:if((!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=Y$.get(t)||t,BF(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,'="',mt(n),'"')}}}function ya(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 q$(e){var t="";return r4.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function b4(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),GC(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 Fi(e,t){e.push(fo("link"));for(var n in t)if(or.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:en(e,n,r)}}return e.push("/>"),null}var _6=/(<\/|<)(s)(tyle)/gi;function L6(e,t,n,r){return""+t+(n==="s"?"\\73 ":"\\53 ")+r}function _m(e,t,n){e.push(fo(n));for(var r in t)if(or.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:en(e,r,o)}}return e.push("/>"),null}function N6(e,t){e.push(fo("title"));var n=null,r=null,o;for(o in t)if(or.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:en(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(mt(""+t)),ya(e,r,n),e.push(cp("title")),null}function QC(e,t){e.push(fo("script"));var n=null,r=null,o;for(o in t)if(or.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:en(e,o,i)}}return e.push(">"),ya(e,r,n),typeof n=="string"&&e.push((""+n).replace(f4,m4)),e.push(cp("script")),null}function xF(e,t,n){e.push(fo(n));var r=n=null,o;for(o in t)if(or.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:en(e,o,i)}}return e.push(">"),ya(e,r,n),n}function UC(e,t,n){e.push(fo(n));var r=n=null,o;for(o in t)if(or.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:en(e,o,i)}}return e.push(">"),ya(e,r,n),typeof n=="string"?(e.push(mt(n)),null):n}var $$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,B6=new Map;function fo(e){var t=B6.get(e);if(t===void 0){if(!$$.test(e))throw Error("Invalid tag: "+e);t="<"+e,B6.set(e,t)}return t}function eee(e,t,n,r,o,i,s,u,d){switch(t){case"div":case"span":case"svg":case"path":break;case"a":e.push(fo("a"));var f=null,h=null,y;for(y in n)if(or.call(n,y)){var x=n[y];if(x!=null)switch(y){case"children":f=x;break;case"dangerouslySetInnerHTML":h=x;break;case"href":x===""?Ai(e,"href",""):en(e,y,x);break;default:en(e,y,x)}}if(e.push(">"),ya(e,h,f),typeof f=="string"){e.push(mt(f));var w=null}else w=f;return w;case"g":case"p":case"li":break;case"select":e.push(fo("select"));var A=null,F=null,D;for(D in n)if(or.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:en(e,D,L)}}return e.push(">"),ya(e,F,A),A;case"option":var N=u.selectedValue;e.push(fo("option"));var Y=null,H=null,W=null,M=null,ne;for(ne in n)if(or.call(n,ne)){var Ee=n[ne];if(Ee!=null)switch(ne){case"children":Y=Ee;break;case"selected":W=Ee;break;case"dangerouslySetInnerHTML":M=Ee;break;case"value":H=Ee;default:en(e,ne,Ee)}}if(N!=null){var Ce=H!==null?""+H:q$(Y);if(ZC(N)){for(var re=0;re<N.length;re++)if(""+N[re]===Ce){e.push(' selected=""');break}}else""+N===Ce&&e.push(' selected=""')}else W&&e.push(' selected=""');return e.push(">"),ya(e,M,Y),Y;case"textarea":e.push(fo("textarea"));var me=null,ce=null,ke=null,be;for(be in n)if(or.call(n,be)){var Oe=n[be];if(Oe!=null)switch(be){case"children":ke=Oe;break;case"value":me=Oe;break;case"defaultValue":ce=Oe;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:en(e,be,Oe)}}if(me===null&&ce!==null&&(me=ce),e.push(">"),ke!=null){if(me!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ZC(ke)){if(1<ke.length)throw Error("<textarea> can only have at most one child.");me=""+ke[0]}me=""+ke}return typeof me=="string"&&me[0]===`
510
- `&&e.push(`
511
- `),me!==null&&e.push(mt(""+me)),null;case"input":e.push(fo("input"));var st=null,Ke=null,je=null,En=null,Zt=null,Re=null,xe=null,Ue=null,St=null,nn;for(nn in n)if(or.call(n,nn)){var $e=n[nn];if($e!=null)switch(nn){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":st=$e;break;case"formAction":Ke=$e;break;case"formEncType":je=$e;break;case"formMethod":En=$e;break;case"formTarget":Zt=$e;break;case"defaultChecked":St=$e;break;case"defaultValue":xe=$e;break;case"checked":Ue=$e;break;case"value":Re=$e;break;default:en(e,nn,$e)}}var He=D6(e,r,o,Ke,je,En,Zt,st);return Ue!==null?TF(e,"checked",Ue):St!==null&&TF(e,"checked",St),Re!==null?en(e,"value",Re):xe!==null&&en(e,"value",xe),e.push("/>"),He?.forEach(yF,e),null;case"button":e.push(fo("button"));var jn=null,ho=null,vs=null,ui=null,qe=null,xn=null,Ft=null,rn;for(rn in n)if(or.call(n,rn)){var Pt=n[rn];if(Pt!=null)switch(rn){case"children":jn=Pt;break;case"dangerouslySetInnerHTML":ho=Pt;break;case"name":vs=Pt;break;case"formAction":ui=Pt;break;case"formEncType":qe=Pt;break;case"formMethod":xn=Pt;break;case"formTarget":Ft=Pt;break;default:en(e,rn,Pt)}}var Sn=D6(e,r,o,ui,qe,xn,Ft,vs);if(e.push(">"),Sn?.forEach(yF,e),ya(e,ho,jn),typeof jn=="string"){e.push(mt(jn));var ze=null}else ze=jn;return ze;case"form":e.push(fo("form"));var Pn=null,Zs=null,Wn=null,ar=null,Hn=null,vt=null,zo;for(zo in n)if(or.call(n,zo)){var Nt=n[zo];if(Nt!=null)switch(zo){case"children":Pn=Nt;break;case"dangerouslySetInnerHTML":Zs=Nt;break;case"action":Wn=Nt;break;case"encType":ar=Nt;break;case"method":Hn=Nt;break;case"target":vt=Nt;break;default:en(e,zo,Nt)}}var Gn=null,Bi=null;if(typeof Wn=="function"){var lr=v4(r,Wn);lr!==null?(Wn=lr.action||"",ar=lr.encType,Hn=lr.method,vt=lr.target,Gn=lr.data,Bi=lr.name):(e.push(" ","action",'="',y4,'"'),vt=Hn=ar=Wn=null,b4(r,o))}if(Wn!=null&&en(e,"action",Wn),ar!=null&&en(e,"encType",ar),Hn!=null&&en(e,"method",Hn),vt!=null&&en(e,"target",vt),e.push(">"),Bi!==null&&(e.push('<input type="hidden"'),Ai(e,"name",Bi),e.push("/>"),Gn?.forEach(yF,e)),ya(e,Zs,Pn),typeof Pn=="string"){e.push(mt(Pn));var bs=null}else bs=Pn;return bs;case"menuitem":e.push(fo("menuitem"));for(var yo in n)if(or.call(n,yo)){var Yr=n[yo];if(Yr!=null)switch(yo){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:en(e,yo,Yr)}}return e.push(">"),null;case"object":e.push(fo("object"));var cr=null,Ra=null,ur;for(ur in n)if(or.call(n,ur)){var P=n[ur];if(P!=null)switch(ur){case"children":cr=P;break;case"dangerouslySetInnerHTML":Ra=P;break;case"data":var z=Wy(""+P);if(z==="")break;e.push(" ","data",'="',mt(z),'"');break;default:en(e,ur,P)}}if(e.push(">"),ya(e,Ra,cr),typeof cr=="string"){e.push(mt(cr));var oe=null}else oe=cr;return oe;case"title":var de=u.tagScope&1,Te=u.tagScope&4;if(u.insertionMode===4||de||n.itemProp!=null)var Le=N6(e,n);else Te?Le=null:(N6(o.hoistableChunks,n),Le=void 0);return Le;case"link":var Ne=u.tagScope&1,bt=u.tagScope&4,Ye=n.rel,ct=n.href,Dr=n.precedence;if(u.insertionMode===4||Ne||n.itemProp!=null||typeof Ye!="string"||typeof ct!="string"||ct===""){Fi(e,n);var wr=null}else if(n.rel==="stylesheet")if(typeof Dr!="string"||n.disabled!=null||n.onLoad||n.onError)wr=Fi(e,n);else{var An=o.styles.get(Dr),ut=r.styleResources.hasOwnProperty(ct)?r.styleResources[ct]:void 0;if(ut!==null){r.styleResources[ct]=null,An||(An={precedence:mt(Dr),rules:[],hrefs:[],sheets:new Map},o.styles.set(Dr,An));var di={state:0,props:Xs({},n,{"data-precedence":n.precedence,precedence:null})};if(ut){ut.length===2&&Hy(di.props,ut);var ws=o.preloads.stylesheets.get(ct);ws&&0<ws.length?ws.length=0:di.state=1}An.sheets.set(ct,di),s&&s.stylesheets.add(di)}else if(An){var Ol=An.sheets.get(ct);Ol&&s&&s.stylesheets.add(Ol)}d&&e.push("<!-- -->"),wr=null}else n.onLoad||n.onError?wr=Fi(e,n):(d&&e.push("<!-- -->"),wr=bt?null:Fi(o.hoistableChunks,n));return wr;case"script":var Zc=u.tagScope&1,Ta=n.async;if(typeof n.src!="string"||!n.src||!Ta||typeof Ta=="function"||typeof Ta=="symbol"||n.onLoad||n.onError||u.insertionMode===4||Zc||n.itemProp!=null)var _r=QC(e,n);else{var pi=n.src;if(n.type==="module")var gt=r.moduleScriptResources,xo=o.preloads.moduleScripts;else gt=r.scriptResources,xo=o.preloads.scripts;var Cs=gt.hasOwnProperty(pi)?gt[pi]:void 0;if(Cs!==null){gt[pi]=null;var Fn=n;if(Cs){Cs.length===2&&(Fn=Xs({},n),Hy(Fn,Cs));var Ml=xo.get(pi);Ml&&(Ml.length=0)}var Qs=[];o.scripts.add(Qs),QC(Qs,Fn)}d&&e.push("<!-- -->"),_r=null}return _r;case"style":var Rs=u.tagScope&1,dr=n.precedence,eo=n.href,Ui=n.nonce;if(u.insertionMode===4||Rs||n.itemProp!=null||typeof dr!="string"||typeof eo!="string"||eo===""){e.push(fo("style"));var Cr=null,vn=null,fi;for(fi in n)if(or.call(n,fi)){var vo=n[fi];if(vo!=null)switch(fi){case"children":Cr=vo;break;case"dangerouslySetInnerHTML":vn=vo;break;default:en(e,fi,vo)}}e.push(">");var mi=Array.isArray(Cr)?2>Cr.length?Cr[0]:null:Cr;typeof mi!="function"&&typeof mi!="symbol"&&mi!==null&&mi!==void 0&&e.push((""+mi).replace(_6,L6)),ya(e,vn,Cr),e.push(cp("style"));var bo=null}else{var Xr=o.styles.get(dr);if((r.styleResources.hasOwnProperty(eo)?r.styleResources[eo]:void 0)!==null){r.styleResources[eo]=null,Xr||(Xr={precedence:mt(dr),rules:[],hrefs:[],sheets:new Map},o.styles.set(dr,Xr));var el=o.nonce.style;if(!el||el===Ui){Xr.hrefs.push(mt(eo));var Ts=Xr.rules,Lr=null,tl=null,gi;for(gi in n)if(or.call(n,gi)){var ka=n[gi];if(ka!=null)switch(gi){case"children":Lr=ka;break;case"dangerouslySetInnerHTML":tl=ka}}var Wo=Array.isArray(Lr)?2>Lr.length?Lr[0]:null:Lr;typeof Wo!="function"&&typeof Wo!="symbol"&&Wo!==null&&Wo!==void 0&&Ts.push((""+Wo).replace(_6,L6)),ya(Ts,tl,Lr)}}Xr&&s&&s.styles.add(Xr),d&&e.push("<!-- -->"),bo=void 0}return bo;case"meta":var ad=u.tagScope&1,ld=u.tagScope&4;if(u.insertionMode===4||ad||n.itemProp!=null)var nl=_m(e,n,"meta");else d&&e.push("<!-- -->"),nl=ld?null:typeof n.charSet=="string"?_m(o.charsetChunks,n,"meta"):n.name==="viewport"?_m(o.viewportChunks,n,"meta"):_m(o.hoistableChunks,n,"meta");return nl;case"listing":case"pre":e.push(fo(t));var Rr=null,to=null,wo;for(wo in n)if(or.call(n,wo)){var no=n[wo];if(no!=null)switch(wo){case"children":Rr=no;break;case"dangerouslySetInnerHTML":to=no;break;default:en(e,wo,no)}}if(e.push(">"),to!=null){if(Rr!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof to!="object"||!("__html"in to))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var ro=to.__html;ro!=null&&(typeof ro=="string"&&0<ro.length&&ro[0]===`
512
- `?e.push(`
513
- `,ro):e.push(""+ro))}return typeof Rr=="string"&&Rr[0]===`
514
- `&&e.push(`
515
- `),Rr;case"img":var Qc=u.tagScope&3,dt=n.src,et=n.srcSet;if(!(n.loading==="lazy"||!dt&&!et||typeof dt!="string"&&dt!=null||typeof et!="string"&&et!=null||n.fetchPriority==="low"||Qc)&&(typeof dt!="string"||dt[4]!==":"||dt[0]!=="d"&&dt[0]!=="D"||dt[1]!=="a"&&dt[1]!=="A"||dt[2]!=="t"&&dt[2]!=="T"||dt[3]!=="a"&&dt[3]!=="A")&&(typeof et!="string"||et[4]!==":"||et[0]!=="d"&&et[0]!=="D"||et[1]!=="a"&&et[1]!=="A"||et[2]!=="t"&&et[2]!=="T"||et[3]!=="a"&&et[3]!=="A")){s!==null&&u.tagScope&64&&(s.suspenseyImages=!0);var Ea=typeof n.sizes=="string"?n.sizes:void 0,Tr=et?et+`
516
- `+(Ea||""):dt,oo=o.preloads.images,on=oo.get(Tr);if(on)(n.fetchPriority==="high"||10>o.highImagePreloads.size)&&(oo.delete(Tr),o.highImagePreloads.add(on));else if(!r.imageResources.hasOwnProperty(Tr)){r.imageResources[Tr]=Za;var ks=n.crossOrigin,Il=typeof ks=="string"?ks==="use-credentials"?ks:"":void 0,sn=o.headers,zi;sn&&0<sn.remainingCapacity&&typeof n.srcSet!="string"&&(n.fetchPriority==="high"||500>sn.highImagePreloads.length)&&(zi=qC(dt,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:Il,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(sn.remainingCapacity-=zi.length+2))?(o.resets.image[Tr]=Za,sn.highImagePreloads&&(sn.highImagePreloads+=", "),sn.highImagePreloads+=zi):(on=[],Fi(on,{rel:"preload",as:"image",href:et?void 0:dt,imageSrcSet:et,imageSizes:Ea,crossOrigin:Il,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority==="high"||10>o.highImagePreloads.size?o.highImagePreloads.add(on):(o.bulkPreloads.add(on),oo.set(Tr,on)))}}return _m(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 _m(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 Es=i||o.preamble;if(Es.headChunks)throw Error("The `<head>` tag may only be rendered once.");i!==null&&e.push("<!--head-->"),Es.headChunks=[];var Co=xF(Es.headChunks,n,"head")}else Co=UC(e,n,"head");return Co;case"body":if(2>u.insertionMode){var Ho=i||o.preamble;if(Ho.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");i!==null&&e.push("<!--body-->"),Ho.bodyChunks=[];var On=xF(Ho.bodyChunks,n,"body")}else On=UC(e,n,"body");return On;case"html":if(u.insertionMode===0){var hi=i||o.preamble;if(hi.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");i!==null&&e.push("<!--html-->"),hi.htmlChunks=[""];var Ht=xF(hi.htmlChunks,n,"html")}else Ht=UC(e,n,"html");return Ht;default:if(t.indexOf("-")!==-1){e.push(fo(t));var Ss=null,Wi=null,Vn;for(Vn in n)if(or.call(n,Vn)){var Gt=n[Vn];if(Gt!=null){var Go=Vn;switch(Vn){case"children":Ss=Gt;break;case"dangerouslySetInnerHTML":Wi=Gt;break;case"style":h4(e,Gt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":Go="class";default:if(BF(Vn)&&typeof Gt!="function"&&typeof Gt!="symbol"&&Gt!==!1){if(Gt===!0)Gt="";else if(typeof Gt=="object")continue;e.push(" ",Go,'="',mt(Gt),'"')}}}}return e.push(">"),ya(e,Wi,Ss),Ss}}return UC(e,n,t)}var U6=new Map;function cp(e){var t=U6.get(e);return t===void 0&&(t="</"+e+">",U6.set(e,t)),t}function z6(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 w4(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 W6(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 tee(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 nee(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 ree=/[<\u2028\u2029]/g;function oee(e){return JSON.stringify(e).replace(ree,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 iee=/[&><\u2028\u2029]/g;function Uy(e){return JSON.stringify(e).replace(iee,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 jC=!1,kF=!0;function see(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push(Um.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]);kF=this.push("</style>"),jC=!0,t.length=0,n.length=0}}function aee(e){return e.state!==2?jC=!0:!1}function C4(e,t,n){return jC=!1,kF=!0,Um=n,t.styles.forEach(see,e),Um=null,t.stylesheets.forEach(aee),jC&&(n.stylesToHoist=!0),kF}function Sl(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Xu=[];function lee(e){Fi(Xu,e.props);for(var t=0;t<Xu.length;t++)this.push(Xu[t]);Xu.length=0,e.state=2}function cee(e){var t=0<e.sheets.size;e.sheets.forEach(lee,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(Um.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 uee(e){if(e.state===0){e.state=1;var t=e.props;for(Fi(Xu,{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<Xu.length;e++)this.push(Xu[e]);Xu.length=0}}function dee(e){e.sheets.forEach(uee,this),e.sheets.clear()}function GC(e,t){!(t.instructions&32)&&(t.instructions|=32,e.push(' id="',mt("_"+t.idPrefix+"R_"),'"'))}function pee(e,t){e.push("[");var n="[";t.stylesheets.forEach(function(r){if(r.state!==2)if(r.state===3)e.push(n),r=Uy(""+r.props.href),e.push(r),e.push("]"),n=",[";else{e.push(n);var o=r.props["data-precedence"],i=r.props,s=Wy(""+r.props.href);s=Uy(s),e.push(s),o=""+o,e.push(","),o=Uy(o),e.push(o);for(var u in i)if(or.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:fee(e,u,o)}e.push("]"),n=",[",r.state=3}}),e.push("]")}function fee(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=Wy(n),t=""+n;break;default:if(2<t.length&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")||!BF(t))return;t=""+n}e.push(","),r=Uy(r),e.push(r),e.push(","),r=Uy(t),e.push(r)}function EF(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function mee(e){var t=li||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(UF,zF)+">; rel=dns-prefetch",0<=(n.remainingCapacity-=o.length+2))),i?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(o=[],Fi(o,{href:e,rel:"dns-prefetch"}),r.preconnects.add(o))}dp(t)}}else Hc.D(e)}function gee(e,t){var n=li||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(UF,zF)+">; rel=preconnect",typeof t=="string"){var d=(""+t).replace(SF,PF);u+='; crossorigin="'+d+'"'}u=(s=u,0<=(r.remainingCapacity-=s.length+2))}u?(o.resets.connect[i][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=s):(i=[],Fi(i,{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(i))}dp(n)}}else Hc.C(e,t)}function hee(e,t,n){var r=li||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,d=n.fetchPriority;var f=s?s+`
517
- `+(u||""):e;if(o.imageResources.hasOwnProperty(f))return;o.imageResources[f]=Za,o=i.headers;var h;o&&0<o.remainingCapacity&&typeof s!="string"&&d==="high"&&(h=qC(e,t,n),0<=(o.remainingCapacity-=h.length+2))?(i.resets.image[f]=Za,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=h):(o=[],Fi(o,Xs({rel:"preload",href:s?void 0:e,as:t},n)),d==="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=[],Fi(s,Xs({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?Za:[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),Fi(s,Xs({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?Za:[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]=Za,(o=i.headers)&&0<o.remainingCapacity&&t==="font"&&(f=qC(e,t,n),0<=(o.remainingCapacity-=f.length+2)))i.resets.font[e]=Za,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=f;else switch(o=[],e=Xs({rel:"preload",href:e,as:t},n),Fi(o,e),t){case"font":i.fontPreloads.add(o);break;default:i.bulkPreloads.add(o)}}dp(r)}}else Hc.L(e,t,n)}function yee(e,t){var n=li||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"?Za:[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]=Za}Fi(i,Xs({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),dp(n)}}else Hc.m(e,t)}function xee(e,t,n){var r=li||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:mt(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&&Hy(t.props,u),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),s.sheets.set(e,t),dp(r))}}else Hc.S(e,t,n)}function vee(e,t){var n=li||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=Xs({src:e,async:!0},t),i&&(i.length===2&&Hy(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),QC(e,t),dp(n))}}else Hc.X(e,t)}function bee(e,t){var n=li||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=Xs({src:e,type:"module",async:!0},t),i&&(i.length===2&&Hy(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),QC(e,t),dp(n))}}else Hc.M(e,t)}function Hy(e,t){e.crossOrigin==null&&(e.crossOrigin=t[0]),e.integrity==null&&(e.integrity=t[1])}function qC(e,t,n){e=(""+e).replace(UF,zF),t=(""+t).replace(SF,PF),t="<"+e+'>; rel=preload; as="'+t+'"';for(var r in n)or.call(n,r)&&(e=n[r],typeof e=="string"&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(SF,PF)+'"'));return t}var UF=/[<>\r\n]/g;function zF(e){switch(e){case"<":return"%3C";case">":return"%3E";case`
518
- `: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 SF=/["';,\r\n]/g;function PF(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
519
- `: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 wee(e){this.styles.add(e)}function Cee(e){this.stylesheets.add(e)}function zm(e,t){t.styles.forEach(wee,e),t.stylesheets.forEach(Cee,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function Ree(e,t){var n=e.idPrefix,r=[],o=e.bootstrapScriptContent,i=e.bootstrapScripts,s=e.bootstrapModules;o!==void 0&&(r.push("<script"),GC(r,e),r.push(">",(""+o).replace(f4,m4),"</script>")),o=n+"P:";var u=n+"S:";n+="B:";var d=new Set,f=new Set,h=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],N,Y=void 0,H=void 0,W={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof L=="string"?W.href=N=L:(W.href=N=L.src,W.integrity=H=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=N;L.scriptResources[M]=null,L.moduleScriptResources[M]=null,L=[],Fi(L,W),x.add(L),r.push('<script src="',mt(N),'"'),typeof H=="string"&&r.push(' integrity="',mt(H),'"'),typeof Y=="string"&&r.push(' crossorigin="',mt(Y),'"'),GC(r,e),r.push(' async=""></script>')}if(s!==void 0)for(i=0;i<s.length;i++)W=s[i],Y=N=void 0,H={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof W=="string"?H.href=D=W:(H.href=D=W.src,H.integrity=Y=typeof W.integrity=="string"?W.integrity:void 0,H.crossOrigin=N=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=[],Fi(W,H),x.add(W),r.push('<script type="module" src="',mt(D),'"'),typeof Y=="string"&&r.push(' integrity="',mt(Y),'"'),typeof N=="string"&&r.push(' crossorigin="',mt(N),'"'),GC(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:d,fontPreloads:f,highImagePreloads:h,styles:y,bootstrapScripts:x,scripts:w,bulkPreloads:A,preloads:F,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}function H6(e,t,n,r){return n.generateStaticMarkup?(e.push(mt(t)),!1):(t===""?e=r:(r&&e.push("<!-- -->"),e.push(mt(t)),e=!0),e)}function zy(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("<!-- -->")}var Tee=Function.prototype.bind,kee=Symbol.for("react.client.reference");function $C(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===kee?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s4:return"Fragment";case l4:return"Profiler";case a4:return"StrictMode";case lR:return"Suspense";case LF:return"SuspenseList";case u4:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case i4:return"Portal";case aR:return e.displayName||"Context";case c4:return(e._context.displayName||"Context")+".Consumer";case _F:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case NF:return t=e.displayName||null,t!==null?t:$C(e.type)||"Memo";case cR:t=e._payload,e=e._init;try{return $C(e(t))}catch{}}return null}var G6={},ap=null;function uR(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.");uR(e,n)}t.context._currentValue2=t.value}}function R4(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&R4(e)}function T4(e){var t=e.parent;t!==null&&T4(t),e.context._currentValue2=e.value}function k4(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?uR(e,t):k4(e,t)}function E4(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?uR(e,n):E4(e,n),t.context._currentValue2=t.value}function Yu(e){var t=ap;t!==e&&(t===null?T4(e):e===null?R4(t):t.depth===e.depth?uR(t,e):t.depth>e.depth?k4(t,e):E4(t,e),ap=e)}var V6={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(){}},Eee={id:1,overflow:""};function lp(e,t,n){var r=e.id;e=e.overflow;var o=32-VC(r)-1;r&=~(1<<o),n+=1;var i=32-VC(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-VC(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var VC=Math.clz32?Math.clz32:Aee,See=Math.log,Pee=Math.LN2;function Aee(e){return e>>>=0,e===0?32:31-(See(e)/Pee|0)|0}function hs(){}var xa=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 Fee(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 YC=t,xa}}var YC=null;function eR(){if(YC===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=YC;return YC=null,e}function Oee(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mee=typeof Object.is=="function"?Object.is:Oee,Gc=null,WF=null,HF=null,GF=null,XC=null,Bn=null,Ny=!1,tR=!1,Gy=0,Vy=0,Yy=-1,nR=0,Bm=null,Ju=null,dR=0;function Wc(){if(Gc===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:
520
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
521
- 2. You might be breaking the Rules of Hooks
522
- 3. You might have more than one copy of React in the same app
523
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Gc}function Y6(){if(0<dR)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function VF(){return Bn===null?XC===null?(Ny=!1,XC=Bn=Y6()):(Ny=!0,Bn=XC):Bn.next===null?(Ny=!1,Bn=Bn.next=Y6()):(Ny=!0,Bn=Bn.next),Bn}function Nm(){var e=Bm;return Bm=null,e}function Xy(){GF=HF=WF=Gc=null,tR=!1,XC=null,dR=0,Bn=Ju=null}function S4(e,t){return typeof t=="function"?t(e):t}function X6(e,t,n){if(Gc=Wc(),Bn=VF(),Ny){var r=Bn.queue;if(t=r.dispatch,Ju!==null&&(n=Ju.get(r),n!==void 0)){Ju.delete(r),r=Bn.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return Bn.memoizedState=r,[r,t]}return[Bn.memoizedState,t]}return e=e===S4?typeof t=="function"?t():t:n!==void 0?n(t):t,Bn.memoizedState=e,e=Bn.queue={last:null,dispatch:null},e=e.dispatch=Iee.bind(null,Gc,e),[Bn.memoizedState,e]}function J6(e,t){if(Gc=Wc(),Bn=VF(),t=t===void 0?null:t,Bn!==null){var n=Bn.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(!Mee(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Bn.memoizedState=[e,t],e}function Iee(e,t,n){if(25<=dR)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(e===Gc)if(tR=!0,e={action:n,next:null},Ju===null&&(Ju=new Map),n=Ju.get(t),n===void 0)Ju.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function Dee(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function _ee(){throw Error("startTransition cannot be called during server rendering.")}function Lee(){throw Error("Cannot update optimistic state while rendering.")}function K6(e,t,n){Wc();var r=Vy++,o=HF;if(typeof e.$$FORM_ACTION=="function"){var i=null,s=GF;o=o.formState;var u=e.$$IS_SIGNATURE_EQUAL;if(o!==null&&typeof u=="function"){var d=o[1];u.call(e,o[2],o[3])&&(i=n!==void 0?"p"+n:"k"+A6(JSON.stringify([s,null,r]),0),d===i&&(Yy=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"+A6(JSON.stringify([s,null,r]),0)),x.append("$ACTION_KEY",i)),y}),[t,e,!1]}var h=e.bind(null,t);return[t,function(y){h(y)},!1]}function P4(e){var t=nR;return nR+=1,Bm===null&&(Bm=[]),Fee(Bm,e,t)}function Nee(){throw Error("Cache cannot be refreshed during server rendering.")}var Z6={readContext:function(e){return e._currentValue2},use:function(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return P4(e);if(e.$$typeof===aR)return e._currentValue2}throw Error("An unsupported type was passed to use(): "+String(e))},useContext:function(e){return Wc(),e._currentValue2},useMemo:J6,useReducer:X6,useRef:function(e){Gc=Wc(),Bn=VF();var t=Bn.memoizedState;return t===null?(e={current:e},Bn.memoizedState=e):t},useState:function(e){return X6(S4,e)},useInsertionEffect:hs,useLayoutEffect:hs,useCallback:function(e,t){return J6(function(){return e},t)},useImperativeHandle:hs,useEffect:hs,useDebugValue:hs,useDeferredValue:function(e,t){return Wc(),t!==void 0?t:e},useTransition:function(){return Wc(),[!1,_ee]},useId:function(){var e=WF.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-VC(e)-1)).toString(32)+t;var n=JC;if(n===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return t=Gy++,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 Wc(),[e,Lee]},useActionState:K6,useFormState:K6,useHostTransitionStatus:function(){return Wc(),Q$},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=W$;return t},useCacheRefresh:function(){return Nee},useEffectEvent:function(){return Dee}},JC=null,Bee={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")}},vF,Q6;function Lm(e){if(vF===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);vF=t&&t[1]||"",Q6=-1<n.stack.indexOf(`
524
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
525
- `+vF+e+Q6}var bF=!1;function zC(e,t){if(!e||bF)return"";bF=!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 d=s.split(`
526
- `),f=u.split(`
527
- `);for(o=r=0;r<d.length&&!d[r].includes("DetermineComponentFrameRoot");)r++;for(;o<f.length&&!f[o].includes("DetermineComponentFrameRoot");)o++;if(r===d.length||o===f.length)for(r=d.length-1,o=f.length-1;1<=r&&0<=o&&d[r]!==f[o];)o--;for(;1<=r&&0<=o;r--,o--)if(d[r]!==f[o]){if(r!==1||o!==1)do if(r--,o--,0>o||d[r]!==f[o]){var h=`
528
- `+d[r].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),h}while(1<=r&&0<=o);break}}}finally{bF=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Lm(n):""}function A4(e){if(typeof e=="string")return Lm(e);if(typeof e=="function")return e.prototype&&e.prototype.isReactComponent?zC(e,!0):zC(e,!1);if(typeof e=="object"&&e!==null){switch(e.$$typeof){case _F:return zC(e.render,!1);case NF:return zC(e.type,!1);case cR:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return Lm("Lazy")}return A4(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
529
- `)&&(r=r.slice(29)),e=r.indexOf(`
530
- `),e!==-1&&(r=r.slice(e+1)),e=r.indexOf("react_stack_bottom_frame"),e!==-1&&(e=r.lastIndexOf(`
531
- `,e)),e=e!==-1?r=r.slice(0,e):"",r=e.lastIndexOf(`
532
- `),e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1)){n=`
533
- `+e;break e}n=Lm(n+(t?" ["+t+"]":""))}return n}}switch(e){case LF:return Lm("SuspenseList");case lR:return Lm("Suspense")}return""}function Wm(e,t){return(500<t.byteSize||!1)&&t.contentPreamble===null}function Uee(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=Tee.apply(console.error,e),t()}else console.error(e);return null}function zee(e,t,n,r,o,i,s,u,d,f,h){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?Uee: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=d===void 0?hs:d,this.formState=h===void 0?null:h}function Wee(e,t,n,r,o,i,s,u,d,f,h,y){return t=new zee(t,n,r,o,i,s,u,d,f,h,y),n=up(t,0,null,r,!1,!1),n.parentFlushed=!0,e=rR(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,Eee,null,null),Jy(e),t.pingedTasks.push(e),t}var li=null;function F4(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,I4(e))}function YF(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:EF(),fallbackState:EF(),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&&zm(n.contentState,e)),n}function rR(e,t,n,r,o,i,s,u,d,f,h,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 F4(e,F)},blockedBoundary:o,blockedSegment:i,blockedPreamble:s,hoistableState:u,abortSet:d,keyPath:f,formatContext:h,context:y,treeContext:x,row:w,componentStack:A,thenableState:t};return d.add(F),F}function O4(e,t,n,r,o,i,s,u,d,f,h,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 F4(e,A)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:s,abortSet:u,keyPath:d,formatContext:f,context:h,treeContext:y,row:x,componentStack:w,thenableState:t};return u.add(A),A}function up(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 Jy(e){var t=e.node;if(typeof t=="object"&&t!==null)switch(t.$$typeof){case o4:e.componentStack={parent:e.componentStack,type:t.type}}}function AF(e){return e===null?null:{parent:e.parent,type:"Suspense Fallback"}}function Ku(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do n+=A4(r.type),r=r.parent;while(r);var o=n}catch(i){o=`
534
- Error generating stack: `+i.message+`
535
- `+i.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function Oi(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t=="string")return t}function Ky(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 Mi(e,t){XF(e,t.next,t.hoistables)}function XF(e,t,n){for(;t!==null;){n!==null&&(zm(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&&zm(i.contentState,n),Zu(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function FF(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||Wm(e,i)){r=!1;break}}r&&XF(e,t,t.hoistables)}}function By(e){var t={pendingTasks:1,boundaries:null,hoistables:EF(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function j6(e,t,n,r,o){var i=t.keyPath,s=t.treeContext,u=t.row;t.keyPath=n,n=r.length;var d=null;if(t.replay!==null){var f=t.replay.slots;if(f!==null&&typeof f=="object")for(var h=0;h<n;h++){var y=o!=="backwards"&&o!=="unstable_legacy-backwards"?h:n-1-h,x=r[y];t.row=d=By(d),t.treeContext=lp(s,n,y);var w=f[y];typeof w=="number"?(pR(e,t,w,x,y),delete f[y]):No(e,t,x,y),--d.pendingTasks===0&&Mi(e,d)}else for(f=0;f<n;f++)h=o!=="backwards"&&o!=="unstable_legacy-backwards"?f:n-1-f,y=r[h],t.row=d=By(d),t.treeContext=lp(s,n,h),No(e,t,y,h),--d.pendingTasks===0&&Mi(e,d)}else if(o!=="backwards"&&o!=="unstable_legacy-backwards")for(o=0;o<n;o++)f=r[o],t.row=d=By(d),t.treeContext=lp(s,n,o),No(e,t,f,o),--d.pendingTasks===0&&Mi(e,d);else{for(o=t.blockedSegment,f=o.children.length,h=o.chunks.length,y=n-1;0<=y;y--){x=r[y],t.row=d=By(d),t.treeContext=lp(s,n,y),w=up(e,h,null,t.formatContext,y===0?o.lastPushedText:!0,!0),o.children.splice(f,0,w),t.blockedSegment=w;try{No(e,t,x,y),zy(w.chunks,e.renderState,w.lastPushedText,w.textEmbedded),w.status=1,--d.pendingTasks===0&&Mi(e,d)}catch(A){throw w.status=e.status===12?3:4,A}}t.blockedSegment=o,o.lastPushedText=!1}u!==null&&d!==null&&0<d.pendingTasks&&(u.pendingTasks++,d.next=u),t.treeContext=s,t.row=u,t.keyPath=i}function q6(e,t,n,r,o,i){var s=t.thenableState;for(t.thenableState=null,Gc={},WF=t,HF=e,GF=n,Vy=Gy=0,Yy=-1,nR=0,Bm=s,e=r(o,i);tR;)tR=!1,Vy=Gy=0,Yy=-1,nR=0,dR+=1,Bn=null,e=r(o,i);return Xy(),e}function $6(e,t,n,r,o,i,s){var u=!1;if(i!==0&&e.formState!==null){var d=t.blockedSegment;if(d!==null){u=!0,d=d.chunks;for(var f=0;f<i;f++)f===s?d.push("<!--F!-->"):d.push("<!--F-->")}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=lp(n,1,0),No(e,t,r,-1),t.treeContext=n):u?No(e,t,r,-1):Qa(e,t,r,-1),t.keyPath=i}function oR(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 d=r.defaultProps;if(d){s===o&&(s=Xs({},s,o));for(var f in d)s[f]===void 0&&(s[f]=d[f])}o=s,s=G6,d=r.contextType,typeof d=="object"&&d!==null&&(s=d._currentValue2),s=new r(o,s);var h=s.state!==void 0?s.state:null;if(s.updater=V6,s.props=o,s.state=h,d={queue:[],replace:!1},s._reactInternals=d,i=r.contextType,s.context=typeof i=="object"&&i!==null?i._currentValue2:G6,i=r.getDerivedStateFromProps,typeof i=="function"&&(i=i(o,h),h=i==null?h:Xs({},h,i),s.state=h),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&&V6.enqueueReplaceState(s,s.state,null),d.queue!==null&&0<d.queue.length)if(r=d.queue,i=d.replace,d.queue=null,d.replace=!1,i&&r.length===1)s.state=r[0];else{for(d=i?r[0]:s.state,h=!0,i=i?1:0;i<r.length;i++)f=r[i],f=typeof f=="function"?f.call(s,d,o,void 0):f,f!=null&&(h?(h=!1,d=Xs({},d,f)):Xs(d,f));s.state=d}else d.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=q6(e,t,n,r,o,void 0),e.status===12)throw null;$6(e,t,n,r,Gy!==0,Vy,Yy)}else if(typeof r=="string")if(s=t.blockedSegment,s===null)s=o.children,d=t.formatContext,h=t.keyPath,t.formatContext=M6(d,r,o),t.keyPath=n,No(e,t,s,-1),t.formatContext=d,t.keyPath=h;else{if(h=eee(s.chunks,r,o,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,s.lastPushedText),s.lastPushedText=!1,d=t.formatContext,i=t.keyPath,t.keyPath=n,(t.formatContext=M6(d,r,o)).insertionMode===3){n=up(e,0,null,t.formatContext,!1,!1),s.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,No(e,t,h,-1),zy(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=s}}else No(e,t,h,-1);t.formatContext=d,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>=d.insertionMode){e.hasBody=!0;break e}break;case"html":if(d.insertionMode===0){e.hasHtml=!0;break e}break;case"head":if(1>=d.insertionMode)break e}t.push(cp(r))}s.lastPushedText=!1}else{switch(r){case z$:case a4:case l4:case s4:r=t.keyPath,t.keyPath=n,Qa(e,t,o.children,-1),t.keyPath=r;return;case u4:r=t.blockedSegment,r===null?o.mode!=="hidden"&&(r=t.keyPath,t.keyPath=n,No(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,No(e,t,o.children,-1),t.keyPath=s,e.renderState.generateStaticMarkup||r.chunks.push("<!--/&-->"),r.lastPushedText=!1);return;case LF:e:{if(r=o.children,o=o.revealOrder,o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards"){if(ZC(r)){j6(e,t,n,r,o);break e}if((s=d4(r))&&(s=s.call(r))){if(d=s.next(),!d.done){do d=s.next();while(!d.done);j6(e,t,n,r,o)}break e}}o==="together"?(o=t.keyPath,s=t.row,d=t.row=By(null),d.boundaries=[],d.together=!0,t.keyPath=n,Qa(e,t,r,-1),--d.pendingTasks===0&&Mi(e,d),t.keyPath=o,t.row=s,s!==null&&0<d.pendingTasks&&(s.pendingTasks++,d.next=s)):(o=t.keyPath,t.keyPath=n,Qa(e,t,r,-1),t.keyPath=o)}return;case H$:case U$:throw Error("ReactDOMServer does not yet support scope components.");case lR:e:if(t.replay!==null){r=t.keyPath,s=t.formatContext,d=t.row,t.keyPath=n,t.formatContext=HC(e.resumableState,s),t.row=null,n=o.children;try{No(e,t,n,-1)}finally{t.keyPath=r,t.formatContext=s,t.row=d}}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=YF(e,t.row,F,null,null);e.trackedPostpones!==null&&(D.trackedContentKeyPath=n);var L=up(e,u.chunks.length,D,t.formatContext,!1,!1);u.children.push(L),u.lastPushedText=!1;var N=up(e,0,null,t.formatContext,!1,!1);if(N.parentFlushed=!0,e.trackedPostpones!==null){s=t.componentStack,d=[n[0],"Suspense Fallback",n[2]],h=[d[1],d[2],[],null],e.trackedPostpones.workingMap.set(d,h),D.trackedFallbackNode=h,t.blockedSegment=L,t.blockedPreamble=D.fallbackPreamble,t.keyPath=d,t.formatContext=RF(e.resumableState,i),t.componentStack=AF(s),L.status=6;try{No(e,t,A,-1),zy(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=rR(e,null,o,-1,D,N,D.contentPreamble,D.contentState,t.abortSet,n,HC(e.resumableState,t.formatContext),t.context,t.treeContext,null,s),Jy(t),e.pingedTasks.push(t)}else{t.blockedBoundary=D,t.blockedPreamble=D.contentPreamble,t.hoistableState=D.contentState,t.blockedSegment=N,t.keyPath=n,t.formatContext=HC(e.resumableState,i),t.row=null,N.status=6;try{if(No(e,t,o,-1),zy(N.chunks,e.renderState,N.lastPushedText,N.textEmbedded),N.status=1,Zy(D,N),D.pendingTasks===0&&D.status===0){if(D.status=1,!Wm(e,D)){y!==null&&--y.pendingTasks===0&&Mi(e,y),e.pendingRootTasks===0&&t.blockedPreamble&&$y(e);break e}}else y!==null&&y.together&&FF(e,y)}catch(Y){D.status=4,e.status===12?(N.status=3,s=e.fatalError):(N.status=4,s=Y),d=Ku(t.componentStack),h=Oi(e,s,d),D.errorDigest=h,JF(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=rR(e,null,A,-1,x,L,D.fallbackPreamble,D.fallbackState,F,[n[0],"Suspense Fallback",n[2]],RF(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,AF(t.componentStack)),Jy(t),e.pingedTasks.push(t)}}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case _F:if("ref"in o)for(A in s={},o)A!=="ref"&&(s[A]=o[A]);else s=o;r=q6(e,t,n,r.render,s,i),$6(e,t,n,r,Gy!==0,Vy,Yy);return;case NF:oR(e,t,n,r.type,o,i);return;case aR:if(d=o.children,s=t.keyPath,o=o.value,h=r._currentValue2,r._currentValue2=o,i=ap,ap=r={parent:i,depth:i===null?0:i.depth+1,context:r,parentValue:h,value:o},t.context=r,t.keyPath=n,Qa(e,t,d,-1),e=ap,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=ap=e.parent,t.context=e,t.keyPath=s;return;case c4:o=o.children,r=o(r._context._currentValue2),o=t.keyPath,t.keyPath=n,Qa(e,t,r,-1),t.keyPath=o;return;case cR:if(s=r._init,r=s(r._payload),e.status===12)throw null;oR(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 pR(e,t,n,r,o){var i=t.replay,s=t.blockedBoundary,u=up(e,0,null,t.formatContext,!1,!1);u.id=n,u.parentFlushed=!0;try{t.replay=null,t.blockedSegment=u,No(e,t,r,o),u.status=1,s===null?e.completedRootSegment=u:(Zy(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"?pR(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Jy(t),OF(e,t),t.componentStack=n)}function OF(e,t){var n=t.node,r=t.childIndex;if(n!==null){if(typeof n=="object"){switch(n.$$typeof){case o4:var o=n.type,i=n.key,s=n.props;n=s.ref;var u=n!==void 0?n:null,d=$C(o),f=i??(r===-1?0:r);if(i=[t.keyPath,d,f],t.replay!==null)e:{var h=t.replay;for(r=h.nodes,n=0;n<r.length;n++){var y=r[n];if(f===y[1]){if(y.length===4){if(d!==null&&d!==y[0])throw Error("Expected the resume to render <"+y[0]+"> in this slot but instead it rendered <"+d+">. The tree doesn't match so React will fallback to client rendering.");var x=y[2];d=y[3],f=t.node,t.replay={nodes:x,slots:d,pendingTasks:1};try{if(oR(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===xa||typeof M.then=="function"))throw t.node===f?t.replay=h:r.splice(n,1),M;t.replay.pendingTasks--,s=Ku(t.componentStack),i=e,e=t.blockedBoundary,o=M,s=Oi(i,o,s),qy(i,e,x,d,o,s)}t.replay=h}else{if(o!==lR)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+($C(o)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");t:{h=void 0,o=y[5],u=y[2],d=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,N=t.hoistableState,Y=s.children,H=s.fallback,W=new Set;s=YF(e,t.row,W,null,null),s.parentFlushed=!0,s.rootSegmentID=o,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=i,t.formatContext=HC(e.resumableState,A),t.row=null,t.replay={nodes:u,slots:d,pendingTasks:1};try{if(No(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=Ku(t.componentStack),h=Oi(e,M,x),s.errorDigest=h,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=L,t.hoistableState=N,t.replay=D,t.keyPath=w,t.formatContext=A,t.row=F}x=O4(e,null,{nodes:f,slots:y,pendingTasks:0},H,-1,L,s.fallbackState,W,[i[0],"Suspense Fallback",i[2]],RF(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,AF(t.componentStack)),Jy(x),e.pingedTasks.push(x)}}r.splice(n,1);break e}}}else oR(e,t,i,o,s,u);return;case i4:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case cR:if(x=n._init,n=x(n._payload),e.status===12)throw null;Qa(e,t,n,r);return}if(ZC(n)){MF(e,t,n,r);return}if((x=d4(n))&&(x=x.call(n))){if(n=x.next(),!n.done){s=[];do s.push(n.value),n=x.next();while(!n.done);MF(e,t,s,r)}return}if(typeof n.then=="function")return t.thenableState=null,Qa(e,t,P4(n),r);if(n.$$typeof===aR)return Qa(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=H6(r.chunks,n,e.renderState,r.lastPushedText))):(typeof n=="number"||typeof n=="bigint")&&(r=t.blockedSegment,r!==null&&(r.lastPushedText=H6(r.chunks,""+n,e.renderState,r.lastPushedText)))}}function MF(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 d=s[u];if(d[1]===r){r=d[2],d=d[3],t.replay={nodes:r,slots:d,pendingTasks:1};try{if(MF(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===xa||typeof y.then=="function"))throw y;t.replay.pendingTasks--,n=Ku(t.componentStack);var f=t.blockedBoundary,h=y;n=Oi(e,h,n),qy(e,f,r,d,h,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++)d=n[r],t.treeContext=lp(i,s,r),f=u[r],typeof f=="number"?(pR(e,t,f,d,r),delete u[r]):No(e,t,d,r);t.treeContext=i,t.keyPath=o;return}for(u=0;u<s;u++)r=n[u],t.treeContext=lp(i,s,u),No(e,t,r,u);t.treeContext=i,t.keyPath=o}function M4(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),sR(n,e[0],t),n):(i[4]=r,i[5]=n.rootSegmentID,i)}function IF(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=M4(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],sR(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),sR(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 JF(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 e4(e,t,n){return O4(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 t4(e,t,n){var r=t.blockedSegment,o=up(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,rR(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 No(e,t,n,r){var o=t.formatContext,i=t.context,s=t.keyPath,u=t.treeContext,d=t.componentStack,f=t.blockedSegment;if(f===null){f=t.replay;try{return Qa(e,t,n,r)}catch(x){if(Xy(),n=x===xa?eR():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){r=x===xa?Nm():null,e=e4(e,t,r).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,t.replay=f,Yu(i);return}if(n.message==="Maximum call stack size exceeded"){n=x===xa?Nm():null,n=e4(e,t,n),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,t.replay=f,Yu(i);return}}}}else{var h=f.children.length,y=f.chunks.length;try{return Qa(e,t,n,r)}catch(x){if(Xy(),f.children.length=h,f.chunks.length=y,n=x===xa?eR():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){f=n,n=x===xa?Nm():null,e=t4(e,t,n).ping,f.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,Yu(i);return}if(n.message==="Maximum call stack size exceeded"){f=x===xa?Nm():null,f=t4(e,t,f),e.pingedTasks.push(f),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,Yu(i);return}}}}throw t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,Yu(i),n}function Hee(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,Zu(this,t,e.row,n))}function qy(e,t,n,r,o,i){for(var s=0;s<n.length;s++){var u=n[s];if(u.length===4)qy(e,t,u[2],u[3],o,i);else{u=u[5];var d=e,f=i,h=YF(d,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=u,h.status=4,h.errorDigest=f,h.parentFlushed&&d.clientRenderedBoundaries.push(h)}}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 DF(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(o!==null){if(o.status===6)return;o.status=3}var i=Ku(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,Oi(t,n,i),IF(t,r,e,o),Zu(t,null,e.row,o)):(Oi(t,n,i),Ky(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(o=Oi(t,n,i),qy(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,t.pendingRootTasks===0&&ZF(t)}}else{var s=t.trackedPostpones;if(r.status!==4){if(s!==null&&o!==null)return Oi(t,n,i),IF(t,s,e,o),r.fallbackAbortableTasks.forEach(function(u){return DF(u,t,n)}),r.fallbackAbortableTasks.clear(),Zu(t,r,e.row,o);r.status=4,o=Oi(t,n,i),r.status=4,r.errorDigest=o,JF(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,o=r.row,o!==null&&--o.pendingTasks===0&&Mi(t,o),r.fallbackAbortableTasks.forEach(function(u){return DF(u,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Mi(t,e),t.allPendingTasks--,t.allPendingTasks===0&&iR(t)}function KF(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 d=u.value.sheets.values(),f=d.next();0<o.remainingCapacity&&!f.done;f=d.next()){var h=f.value,y=h.props,x=y.href,w=h.props,A=qC(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]=Za,i&&(i+=", "),i+=A,n.resets.style[x]=typeof y.crossOrigin=="string"||typeof y.integrity=="string"?[y.crossOrigin,y.integrity]:Za;else break e}}r(i?{Link:i}:{})}}}catch(F){Oi(e,F,{})}}function ZF(e){e.trackedPostpones===null&&KF(e,!0),e.trackedPostpones===null&&$y(e),e.onShellError=hs,e=e.onShellReady,e()}function iR(e){KF(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),$y(e),e=e.onAllReady,e()}function Zy(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||Zy(e,n)}else e.completedSegments.push(t)}function Zu(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Mi(e,n):n.together&&FF(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&&ZF(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)&&Zy(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&zm(n.hoistables,t.contentState),Wm(e,t)||(t.fallbackAbortableTasks.forEach(Hee,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Mi(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&$y(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];M4(e,n,i),Zu(e,i,null,null)}}--t.pendingTasks===0&&Mi(e,t)}}else r===null||!r.parentFlushed||r.status!==1&&r.status!==3||(Zy(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&FF(e,t);e.allPendingTasks===0&&iR(e)}function I4(e){if(e.status!==14&&e.status!==13){var t=ap,n=Dm.H;Dm.H=Z6;var r=Dm.A;Dm.A=Bee;var o=li;li=e;var i=JC;JC=e.resumableState;try{var s=e.pingedTasks,u;for(u=0;u<s.length;u++){var d=s[u],f=e,h=d.blockedSegment;if(h===null){var y=f;if(d.replay.pendingTasks!==0){Yu(d.context);try{if(typeof d.replay.slots=="number"?pR(y,d,d.replay.slots,d.node,d.childIndex):OF(y,d),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--,d.abortSet.delete(d),Zu(y,d.blockedBoundary,d.row,null)}catch(be){Xy();var x=be===xa?eR():be;if(typeof x=="object"&&x!==null&&typeof x.then=="function"){var w=d.ping;x.then(w,w),d.thenableState=be===xa?Nm():null}else{d.replay.pendingTasks--,d.abortSet.delete(d);var A=Ku(d.componentStack);f=void 0;var F=y,D=d.blockedBoundary,L=y.status===12?y.fatalError:x,N=d.replay.nodes,Y=d.replay.slots;f=Oi(F,L,A),qy(F,D,N,Y,L,f),y.pendingRootTasks--,y.pendingRootTasks===0&&ZF(y),y.allPendingTasks--,y.allPendingTasks===0&&iR(y)}}finally{}}}else if(y=void 0,F=h,F.status===0){F.status=6,Yu(d.context);var H=F.children.length,W=F.chunks.length;try{OF(f,d),zy(F.chunks,f.renderState,F.lastPushedText,F.textEmbedded),d.abortSet.delete(d),F.status=1,Zu(f,d.blockedBoundary,d.row,F)}catch(be){Xy(),F.children.length=H,F.chunks.length=W;var M=be===xa?eR():f.status===12?f.fatalError:be;if(f.status===12&&f.trackedPostpones!==null){var ne=f.trackedPostpones,Ee=Ku(d.componentStack);d.abortSet.delete(d),Oi(f,M,Ee),IF(f,ne,d,F),Zu(f,d.blockedBoundary,d.row,F)}else if(typeof M=="object"&&M!==null&&typeof M.then=="function"){F.status=0,d.thenableState=be===xa?Nm():null;var Ce=d.ping;M.then(Ce,Ce)}else{var re=Ku(d.componentStack);d.abortSet.delete(d),F.status=4;var me=d.blockedBoundary,ce=d.row;if(ce!==null&&--ce.pendingTasks===0&&Mi(f,ce),f.allPendingTasks--,y=Oi(f,M,re),me===null)Ky(f,M);else if(me.pendingTasks--,me.status!==4){me.status=4,me.errorDigest=y,JF(f,me);var ke=me.row;ke!==null&&--ke.pendingTasks===0&&Mi(f,ke),me.parentFlushed&&f.clientRenderedBoundaries.push(me),f.pendingRootTasks===0&&f.trackedPostpones===null&&me.contentPreamble!==null&&$y(f)}f.allPendingTasks===0&&iR(f)}}finally{}}}s.splice(0,u),e.destination!==null&&fR(e,e.destination)}catch(be){Oi(e,be,{}),Ky(e,be)}finally{JC=i,Dm.H=n,Dm.A=r,n===Z6&&Yu(t),li=o}}}function wF(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=D4(e,t.children[o],n)||r;return r}function D4(e,t,n){var r=t.boundary;if(r===null)return wF(e,t,n);var o=r.contentPreamble,i=r.fallbackPreamble;if(o===null||i===null)return!1;switch(r.status){case 1:if(z6(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 wF(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return z6(e.renderState,i),wF(e,t,n);default:return!0}}function $y(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=D4(e,e.completedRootSegment,t),o=e.renderState.preamble;r===!1||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function WC(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=jy(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 Qy=0;function jy(e,t,n,r){var o=n.boundary;if(o===null)return WC(e,t,n,r);if(o.parentFlushed=!0,o.status===4){var i=o.row;return i!==null&&--i.pendingTasks===0&&Mi(e,i),e.renderState.generateStaticMarkup||(o=o.errorDigest,t.push("<!--$!-->"),t.push("<template"),o&&(t.push(' data-dgst="'),o=mt(o),t.push(o),t.push('"')),t.push("></template>")),WC(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),W6(t,e.renderState,o.rootSegmentID),r&&zm(r,o.fallbackState),WC(e,t,n,r),t.push("<!--/$-->");if(!KC&&Wm(e,o)&&Qy+o.byteSize>e.progressiveChunkSize)return o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),W6(t,e.renderState,o.rootSegmentID),WC(e,t,n,r),t.push("<!--/$-->");if(Qy+=o.byteSize,r&&zm(r,o.contentState),n=o.row,n!==null&&Wm(e,o)&&--n.pendingTasks===0&&Mi(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 jy(e,t,n[0],r),e=e.renderState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function CF(e,t,n,r){return tee(t,e.renderState,n.parentFormatContext,n.id),jy(e,t,n,r),nee(t,n.parentFormatContext)}function n4(e,t,n){Qy=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)_4(e,t,n,r[o]);r.length=0,r=n.row,r!==null&&Wm(e,n)&&--r.pendingTasks===0&&Mi(e,r),C4(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};
536
- $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=
537
- "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=
538
- "$~";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};
539
- $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('",'),pee(t,n)):t.push('"'),n=t.push(")</script>"),w4(t,e)&&n}function _4(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 CF(e,t,r,o)}return i===n.rootSegmentID?CF(e,t,r,o):(CF(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 KC=!1;function fR(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;Qy=e.byteSize;var i=e.resumableState,s=e.renderState,u=s.preamble,d=u.htmlChunks,f=u.headChunks,h;if(d){for(h=0;h<d.length;h++)t.push(d[h]);if(f)for(h=0;h<f.length;h++)t.push(f[h]);else{var y=fo("head");t.push(y),t.push(">")}}else if(f)for(h=0;h<f.length;h++)t.push(f[h]);var x=s.charsetChunks;for(h=0;h<x.length;h++)t.push(x[h]);x.length=0,s.preconnects.forEach(Sl,t),s.preconnects.clear();var w=s.viewportChunks;for(h=0;h<w.length;h++)t.push(w[h]);w.length=0,s.fontPreloads.forEach(Sl,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(Sl,t),s.highImagePreloads.clear(),Um=s,s.styles.forEach(cee,t),Um=null;var A=s.importMapChunks;for(h=0;h<A.length;h++)t.push(A[h]);A.length=0,s.bootstrapScripts.forEach(Sl,t),s.scripts.forEach(Sl,t),s.scripts.clear(),s.bulkPreloads.forEach(Sl,t),s.bulkPreloads.clear(),i.instructions|=32;var F=s.hoistableChunks;for(h=0;h<F.length;h++)t.push(F[h]);for(i=F.length=0;i<o.length;i++){var D=o[i];for(s=0;s<D.length;s++)jy(e,t,D[s],null)}var L=e.renderState.preamble,N=L.headChunks;if(L.htmlChunks||N){var Y=cp("head");t.push(Y)}var H=L.bodyChunks;if(H)for(o=0;o<H.length;o++)t.push(H[o]);jy(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 Ee=mt(ne);t.push(Ee),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("</script>")}}w4(t,W)}var Ce=e.renderState;r=0;var re=Ce.viewportChunks;for(r=0;r<re.length;r++)t.push(re[r]);re.length=0,Ce.preconnects.forEach(Sl,t),Ce.preconnects.clear(),Ce.fontPreloads.forEach(Sl,t),Ce.fontPreloads.clear(),Ce.highImagePreloads.forEach(Sl,t),Ce.highImagePreloads.clear(),Ce.styles.forEach(dee,t),Ce.scripts.forEach(Sl,t),Ce.scripts.clear(),Ce.bulkPreloads.forEach(Sl,t),Ce.bulkPreloads.clear();var me=Ce.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 ke=ce[n];Ce=t;var be=e.resumableState,Oe=e.renderState,st=ke.rootSegmentID,Ke=ke.errorDigest;Ce.push(Oe.startInlineScript),Ce.push(">"),be.instructions&4?Ce.push('$RX("'):(be.instructions|=4,Ce.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("')),Ce.push(Oe.boundaryPrefix);var je=st.toString(16);if(Ce.push(je),Ce.push('"'),Ke){Ce.push(",");var En=oee(Ke||"");Ce.push(En)}var Zt=Ce.push(")</script>");if(!Zt){e.destination=null,n++,ce.splice(0,n);return}}ce.splice(0,n);var Re=e.completedBoundaries;for(n=0;n<Re.length;n++)if(!n4(e,t,Re[n])){e.destination=null,n++,Re.splice(0,n);return}Re.splice(0,n),KC=!0;var xe=e.partialBoundaries;for(n=0;n<xe.length;n++){var Ue=xe[n];e:{ce=e,ke=t,Qy=Ue.byteSize;var St=Ue.completedSegments;for(Zt=0;Zt<St.length;Zt++)if(!_4(ce,ke,Ue,St[Zt])){Zt++,St.splice(0,Zt);var nn=!1;break e}St.splice(0,Zt);var $e=Ue.row;$e!==null&&$e.together&&Ue.pendingTasks===1&&($e.pendingTasks===1?XF(ce,$e,$e.hoistables):$e.pendingTasks--),nn=C4(ke,Ue.contentState,ce.renderState)}if(!nn){e.destination=null,n++,xe.splice(0,n);return}}xe.splice(0,n),KC=!1;var He=e.completedBoundaries;for(n=0;n<He.length;n++)if(!n4(e,t,He[n])){e.destination=null,n++,He.splice(0,n);return}He.splice(0,n)}}finally{KC=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(xe=cp("body"),t.push(xe)),n.hasHtml&&(n=cp("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function dp(e){if(e.flushScheduled===!1&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?fR(e,t):e.flushScheduled=!1}}function Gee(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{fR(e,t)}catch(n){Oi(e,n,{}),Ky(e,n)}}}function Vee(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 DF(o,e,r)}),n.clear()}e.destination!==null&&fR(e,e.destination)}catch(o){Oi(e,o,{}),Ky(e,o)}}function sR(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),sR(o,t[0],n)),o[2].push(e)}}function Yee(){}function L4(e,t,n,r){var o=!1,i=null,s="",u=!1;if(t=j$(t?t.identifierPrefix:void 0),e=Wee(e,t,Ree(t,n),ai(0,null,0,null),1/0,Yee,void 0,function(){u=!0},void 0,void 0,void 0),e.flushScheduled=e.destination!==null,I4(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&KF(e,e.pendingRootTasks===0),Vee(e,r),Gee(e,{push:function(d){return d!==null&&(s+=d),!0},destroy:function(d){o=!0,i=d}}),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}mR.renderToStaticMarkup=function(e,t){return L4(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')};mR.renderToString=function(e,t){return L4(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')};mR.version="19.2.4"});var f9=xl(lc=>{"use strict";var Xee=vu("util"),Jee=vu("crypto"),Kee=vu("async_hooks"),k1=zc(),Zee=Ly(),T8=vu("stream"),k8=Symbol.for("react.transitional.element"),E8=Symbol.for("react.portal"),S8=Symbol.for("react.fragment"),P8=Symbol.for("react.strict_mode"),A8=Symbol.for("react.profiler"),F8=Symbol.for("react.consumer"),BR=Symbol.for("react.context"),E1=Symbol.for("react.forward_ref"),UR=Symbol.for("react.suspense"),S1=Symbol.for("react.suspense_list"),P1=Symbol.for("react.memo"),zR=Symbol.for("react.lazy"),Qee=Symbol.for("react.scope"),O8=Symbol.for("react.activity"),jee=Symbol.for("react.legacy_hidden"),qee=Symbol.for("react.memo_cache_sentinel"),$ee=Symbol.for("react.view_transition"),B4=Symbol.iterator;function M8(e){return e===null||typeof e!="object"?null:(e=B4&&e[B4]||e["@@iterator"],typeof e=="function"?e:null)}var kR=Array.isArray,I8=queueMicrotask;function U4(e){typeof e.flush=="function"&&e.flush()}var ir=null,Un=0,Km=!0;function Q(e,t){if(typeof t=="string"){if(t.length!==0)if(2048<3*t.length)0<Un&&(Vc(e,ir.subarray(0,Un)),ir=new Uint8Array(2048),Un=0),Vc(e,t);else{var n=ir;0<Un&&(n=ir.subarray(Un)),n=ox.encodeInto(t,n);var r=n.read;Un+=n.written,r<t.length&&(Vc(e,ir.subarray(0,Un)),ir=new Uint8Array(2048),Un=ox.encodeInto(t.slice(r),ir).written),Un===2048&&(Vc(e,ir),ir=new Uint8Array(2048),Un=0)}}else t.byteLength!==0&&(2048<t.byteLength?(0<Un&&(Vc(e,ir.subarray(0,Un)),ir=new Uint8Array(2048),Un=0),Vc(e,t)):(n=ir.length-Un,n<t.byteLength&&(n===0?Vc(e,ir):(ir.set(t.subarray(0,n),Un),Un+=n,Vc(e,ir),t=t.subarray(n)),ir=new Uint8Array(2048),Un=0),ir.set(t,Un),Un+=t.byteLength,Un===2048&&(Vc(e,ir),ir=new Uint8Array(2048),Un=0)))}function Vc(e,t){e=e.write(t),Km=Km&&e}function kn(e,t){return Q(e,t),Km}function QF(e){ir&&0<Un&&e.write(ir.subarray(0,Un)),ir=null,Un=0,Km=!0}var ox=new Xee.TextEncoder;function q(e){return ox.encode(e)}function z4(e){return typeof e=="string"?Buffer.byteLength(e,"utf8"):e.byteLength}var Js=Object.assign,sr=Object.prototype.hasOwnProperty,ete=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]*$"),W4={},H4={};function A1(e){return sr.call(H4,e)?!0:sr.call(W4,e)?!1:ete.test(e)?H4[e]=!0:(W4[e]=!0,!1)}var tte=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(" ")),nte=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"]]),rte=/["'&<>]/;function tt(e){if(typeof e=="boolean"||typeof e=="number"||typeof e=="bigint")return""+e;e=""+e;var t=rte.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 ote=/([A-Z])/g,ite=/^ms-/,ste=/^[\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 ix(e){return ste.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Hm=k1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D8=Zee.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ate={pending:!1,data:null,method:null,action:null},Xc=D8.d;D8.d={f:Xc.f,r:Xc.r,D:Vne,C:Yne,L:Xne,m:Jne,X:Zne,S:Kne,M:Qne};var qa=[],Zm=null;q('"></template>');var lte=q("<script"),ER=q("</script>"),cte=q('<script src="'),ute=q('<script type="module" src="'),G4=q(' nonce="'),V4=q(' integrity="'),Y4=q(' crossorigin="'),X4=q(' async=""></script>'),dte=q("<style"),s1=/(<\/|<)(s)(cript)/gi;function a1(e,t,n,r){return""+t+(n==="s"?"\\u0073":"\\u0053")+r}var pte=q('<script type="importmap">'),fte=q("</script>");function nd(e,t,n,r,o,i){n=typeof t=="string"?t:t&&t.script;var s=n===void 0?lte:q('<script nonce="'+tt(n)+'"'),u=typeof t=="string"?void 0:t&&t.style,d=u===void 0?dte:q('<style nonce="'+tt(u)+'"'),f=e.idPrefix,h=[],y=e.bootstrapScriptContent,x=e.bootstrapScripts,w=e.bootstrapModules;if(y!==void 0&&(h.push(s),vR(h,e),h.push(vr,(""+y).replace(s1,a1),ER)),y=[],r!==void 0&&(y.push(pte),y.push((""+JSON.stringify(r)).replace(s1,a1)),y.push(fte)),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:d,preamble:sx(),externalRuntimeScript:null,bootstrapChunks:h,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,d={rel:"preload",as:"script",fetchPriority:"low",nonce:t},typeof f=="string"?d.href=i=f:(d.href=i=f.src,d.integrity=u=typeof f.integrity=="string"?f.integrity:void 0,d.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=[],Di(f,d),o.bootstrapScripts.add(f),h.push(cte,tt(i),br),n&&h.push(G4,tt(n),br),typeof u=="string"&&h.push(V4,tt(u),br),typeof s=="string"&&h.push(Y4,tt(s),br),vR(h,e),h.push(X4);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,d=x,u.scriptResources[d]=null,u.moduleScriptResources[d]=null,u=[],Di(u,s),o.bootstrapScripts.add(u),h.push(ute,tt(x),br),n&&h.push(G4,tt(n),br),typeof i=="string"&&h.push(V4,tt(i),br),typeof r=="string"&&h.push(Y4,tt(r),br),vR(h,e),h.push(X4);return o}function WR(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 sx(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function ci(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function HR(e){return ci(e==="http://www.w3.org/2000/svg"?4:e==="http://www.w3.org/1998/Math/MathML"?5:0,null,0,null)}function J4(e,t,n){var r=e.tagScope&-25;switch(t){case"noscript":return ci(2,null,r|1,null);case"select":return ci(2,n.value!=null?n.value:n.defaultValue,r,null);case"svg":return ci(4,null,r,null);case"picture":return ci(2,null,r|2,null);case"math":return ci(5,null,r,null);case"foreignObject":return ci(2,null,r,null);case"table":return ci(6,null,r,null);case"thead":case"tbody":case"tfoot":return ci(7,null,r,null);case"colgroup":return ci(9,null,r,null);case"tr":return ci(8,null,r,null);case"head":if(2>e.insertionMode)return ci(3,null,r,null);break;case"html":if(e.insertionMode===0)return ci(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?ci(2,null,r,null):e.tagScope!==r?ci(e.insertionMode,e.selectedValue,r,null):e}function _8(e){return e===null?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function l1(e,t){return t.tagScope&32&&(e.instructions|=128),ci(t.insertionMode,t.selectedValue,t.tagScope|12,_8(t.viewTransition))}function xR(e,t){e=_8(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!=="none"&&(n|=64),ci(t.insertionMode,t.selectedValue,n,e)}var Al=q("<!-- -->");function K4(e,t,n,r){return t===""?r:(r&&e.push(Al),e.push(tt(t)),!0)}var Z4=new Map,mte=q(' style="'),Q4=q(":"),gte=q(";");function L8(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(sr.call(t,r)){var o=t[r];if(o!=null&&typeof o!="boolean"&&o!==""){if(r.indexOf("--")===0){var i=tt(r);o=tt((""+o).trim())}else i=Z4.get(r),i===void 0&&(i=q(tt(r.replace(ote,"-$1").toLowerCase().replace(ite,"-ms-"))),Z4.set(r,i)),o=typeof o=="number"?o===0||tte.has(r)?""+o:o+"px":tt((""+o).trim());n?(n=!1,e.push(mte,i,Q4,o)):e.push(gte,i,Q4,o)}}n||e.push(br)}var ys=q(" "),ja=q('="'),br=q('"'),c1=q('=""');function u1(e,t,n){n&&typeof n!="function"&&typeof n!="symbol"&&e.push(ys,t,c1)}function Ii(e,t,n){typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&e.push(ys,t,ja,tt(n),br)}var N8=q(tt("javascript:throw new Error('React form unexpectedly submitted.')")),B8=q('<input type="hidden"');function jF(e,t){this.push(B8),U8(e),Ii(this,"name",t),Ii(this,"value",e),this.push(ax)}function U8(e){if(typeof e!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function z8(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(U8)}return r}catch(i){if(typeof i=="object"&&i!==null&&typeof i.then=="function")throw i}}return null}function j4(e,t,n,r,o,i,s,u){var d=null;if(typeof r=="function"){var f=z8(t,r);f!==null?(u=f.name,r=f.action||"",o=f.encType,i=f.method,s=f.target,d=f.data):(e.push(ys,"formAction",ja,N8,br),s=i=o=r=u=null,W8(t,n))}return u!=null&&tn(e,"name",u),r!=null&&tn(e,"formAction",r),o!=null&&tn(e,"formEncType",o),i!=null&&tn(e,"formMethod",i),s!=null&&tn(e,"formTarget",s),d}function tn(e,t,n){switch(t){case"className":Ii(e,"class",n);break;case"tabIndex":Ii(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Ii(e,t,n);break;case"style":L8(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=ix(""+n),e.push(ys,t,ja,tt(n),br);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":u1(e,t.toLowerCase(),n);break;case"xlinkHref":if(typeof n=="function"||typeof n=="symbol"||typeof n=="boolean")break;n=ix(""+n),e.push(ys,"xlink:href",ja,tt(n),br);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(ys,t,ja,tt(n),br);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(ys,t,c1);break;case"capture":case"download":n===!0?e.push(ys,t,c1):n!==!1&&typeof n!="function"&&typeof n!="symbol"&&e.push(ys,t,ja,tt(n),br);break;case"cols":case"rows":case"size":case"span":typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n&&e.push(ys,t,ja,tt(n),br);break;case"rowSpan":case"start":typeof n=="function"||typeof n=="symbol"||isNaN(n)||e.push(ys,t,ja,tt(n),br);break;case"xlinkActuate":Ii(e,"xlink:actuate",n);break;case"xlinkArcrole":Ii(e,"xlink:arcrole",n);break;case"xlinkRole":Ii(e,"xlink:role",n);break;case"xlinkShow":Ii(e,"xlink:show",n);break;case"xlinkTitle":Ii(e,"xlink:title",n);break;case"xlinkType":Ii(e,"xlink:type",n);break;case"xmlBase":Ii(e,"xml:base",n);break;case"xmlLang":Ii(e,"xml:lang",n);break;case"xmlSpace":Ii(e,"xml:space",n);break;default:if((!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=nte.get(t)||t,A1(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(ys,t,ja,tt(n),br)}}}var vr=q(">"),ax=q("/>");function va(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 hte(e){var t="";return k1.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var qF=q(' selected=""'),q4=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 W8(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),vR(r,e),r.push(vr,q4,ER)):r.unshift(t.startInlineScript,vr,q4,ER)}}var yte=q("<!--F!-->"),xte=q("<!--F-->");function Di(e,t){e.push(mo("link"));for(var n in t)if(sr.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:tn(e,n,r)}}return e.push(ax),null}var $4=/(<\/|<)(s)(tyle)/gi;function e8(e,t,n,r){return""+t+(n==="s"?"\\73 ":"\\53 ")+r}function Gm(e,t,n){e.push(mo(n));for(var r in t)if(sr.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:tn(e,r,o)}}return e.push(ax),null}function t8(e,t){e.push(mo("title"));var n=null,r=null,o;for(o in t)if(sr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:tn(e,o,i)}}return e.push(vr),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!="function"&&typeof t!="symbol"&&t!==null&&t!==void 0&&e.push(tt(""+t)),va(e,r,n),e.push(mp("title")),null}var vte=q("<!--head-->"),bte=q("<!--body-->"),wte=q("<!--html-->");function SR(e,t){e.push(mo("script"));var n=null,r=null,o;for(o in t)if(sr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:tn(e,o,i)}}return e.push(vr),va(e,r,n),typeof n=="string"&&e.push((""+n).replace(s1,a1)),e.push(mp("script")),null}function $F(e,t,n){e.push(mo(n));var r=n=null,o;for(o in t)if(sr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:tn(e,o,i)}}return e.push(vr),va(e,r,n),n}function gR(e,t,n){e.push(mo(n));var r=n=null,o;for(o in t)if(sr.call(t,o)){var i=t[o];if(i!=null)switch(o){case"children":n=i;break;case"dangerouslySetInnerHTML":r=i;break;default:tn(e,o,i)}}return e.push(vr),va(e,r,n),typeof n=="string"?(e.push(tt(n)),null):n}var e1=q(`
540
- `),Cte=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,n8=new Map;function mo(e){var t=n8.get(e);if(t===void 0){if(!Cte.test(e))throw Error("Invalid tag: "+e);t=q("<"+e),n8.set(e,t)}return t}var Rte=q("<!DOCTYPE html>");function Tte(e,t,n,r,o,i,s,u,d){switch(t){case"div":case"span":case"svg":case"path":break;case"a":e.push(mo("a"));var f=null,h=null,y;for(y in n)if(sr.call(n,y)){var x=n[y];if(x!=null)switch(y){case"children":f=x;break;case"dangerouslySetInnerHTML":h=x;break;case"href":x===""?Ii(e,"href",""):tn(e,y,x);break;default:tn(e,y,x)}}if(e.push(vr),va(e,h,f),typeof f=="string"){e.push(tt(f));var w=null}else w=f;return w;case"g":case"p":case"li":break;case"select":e.push(mo("select"));var A=null,F=null,D;for(D in n)if(sr.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:tn(e,D,L)}}return e.push(vr),va(e,F,A),A;case"option":var N=u.selectedValue;e.push(mo("option"));var Y=null,H=null,W=null,M=null,ne;for(ne in n)if(sr.call(n,ne)){var Ee=n[ne];if(Ee!=null)switch(ne){case"children":Y=Ee;break;case"selected":W=Ee;break;case"dangerouslySetInnerHTML":M=Ee;break;case"value":H=Ee;default:tn(e,ne,Ee)}}if(N!=null){var Ce=H!==null?""+H:hte(Y);if(kR(N)){for(var re=0;re<N.length;re++)if(""+N[re]===Ce){e.push(qF);break}}else""+N===Ce&&e.push(qF)}else W&&e.push(qF);return e.push(vr),va(e,M,Y),Y;case"textarea":e.push(mo("textarea"));var me=null,ce=null,ke=null,be;for(be in n)if(sr.call(n,be)){var Oe=n[be];if(Oe!=null)switch(be){case"children":ke=Oe;break;case"value":me=Oe;break;case"defaultValue":ce=Oe;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:tn(e,be,Oe)}}if(me===null&&ce!==null&&(me=ce),e.push(vr),ke!=null){if(me!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(kR(ke)){if(1<ke.length)throw Error("<textarea> can only have at most one child.");me=""+ke[0]}me=""+ke}return typeof me=="string"&&me[0]===`
541
- `&&e.push(e1),me!==null&&e.push(tt(""+me)),null;case"input":e.push(mo("input"));var st=null,Ke=null,je=null,En=null,Zt=null,Re=null,xe=null,Ue=null,St=null,nn;for(nn in n)if(sr.call(n,nn)){var $e=n[nn];if($e!=null)switch(nn){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":st=$e;break;case"formAction":Ke=$e;break;case"formEncType":je=$e;break;case"formMethod":En=$e;break;case"formTarget":Zt=$e;break;case"defaultChecked":St=$e;break;case"defaultValue":xe=$e;break;case"checked":Ue=$e;break;case"value":Re=$e;break;default:tn(e,nn,$e)}}var He=j4(e,r,o,Ke,je,En,Zt,st);return Ue!==null?u1(e,"checked",Ue):St!==null&&u1(e,"checked",St),Re!==null?tn(e,"value",Re):xe!==null&&tn(e,"value",xe),e.push(ax),He?.forEach(jF,e),null;case"button":e.push(mo("button"));var jn=null,ho=null,vs=null,ui=null,qe=null,xn=null,Ft=null,rn;for(rn in n)if(sr.call(n,rn)){var Pt=n[rn];if(Pt!=null)switch(rn){case"children":jn=Pt;break;case"dangerouslySetInnerHTML":ho=Pt;break;case"name":vs=Pt;break;case"formAction":ui=Pt;break;case"formEncType":qe=Pt;break;case"formMethod":xn=Pt;break;case"formTarget":Ft=Pt;break;default:tn(e,rn,Pt)}}var Sn=j4(e,r,o,ui,qe,xn,Ft,vs);if(e.push(vr),Sn?.forEach(jF,e),va(e,ho,jn),typeof jn=="string"){e.push(tt(jn));var ze=null}else ze=jn;return ze;case"form":e.push(mo("form"));var Pn=null,Zs=null,Wn=null,ar=null,Hn=null,vt=null,zo;for(zo in n)if(sr.call(n,zo)){var Nt=n[zo];if(Nt!=null)switch(zo){case"children":Pn=Nt;break;case"dangerouslySetInnerHTML":Zs=Nt;break;case"action":Wn=Nt;break;case"encType":ar=Nt;break;case"method":Hn=Nt;break;case"target":vt=Nt;break;default:tn(e,zo,Nt)}}var Gn=null,Bi=null;if(typeof Wn=="function"){var lr=z8(r,Wn);lr!==null?(Wn=lr.action||"",ar=lr.encType,Hn=lr.method,vt=lr.target,Gn=lr.data,Bi=lr.name):(e.push(ys,"action",ja,N8,br),vt=Hn=ar=Wn=null,W8(r,o))}if(Wn!=null&&tn(e,"action",Wn),ar!=null&&tn(e,"encType",ar),Hn!=null&&tn(e,"method",Hn),vt!=null&&tn(e,"target",vt),e.push(vr),Bi!==null&&(e.push(B8),Ii(e,"name",Bi),e.push(ax),Gn?.forEach(jF,e)),va(e,Zs,Pn),typeof Pn=="string"){e.push(tt(Pn));var bs=null}else bs=Pn;return bs;case"menuitem":e.push(mo("menuitem"));for(var yo in n)if(sr.call(n,yo)){var Yr=n[yo];if(Yr!=null)switch(yo){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:tn(e,yo,Yr)}}return e.push(vr),null;case"object":e.push(mo("object"));var cr=null,Ra=null,ur;for(ur in n)if(sr.call(n,ur)){var P=n[ur];if(P!=null)switch(ur){case"children":cr=P;break;case"dangerouslySetInnerHTML":Ra=P;break;case"data":var z=ix(""+P);if(z==="")break;e.push(ys,"data",ja,tt(z),br);break;default:tn(e,ur,P)}}if(e.push(vr),va(e,Ra,cr),typeof cr=="string"){e.push(tt(cr));var oe=null}else oe=cr;return oe;case"title":var de=u.tagScope&1,Te=u.tagScope&4;if(u.insertionMode===4||de||n.itemProp!=null)var Le=t8(e,n);else Te?Le=null:(t8(o.hoistableChunks,n),Le=void 0);return Le;case"link":var Ne=u.tagScope&1,bt=u.tagScope&4,Ye=n.rel,ct=n.href,Dr=n.precedence;if(u.insertionMode===4||Ne||n.itemProp!=null||typeof Ye!="string"||typeof ct!="string"||ct===""){Di(e,n);var wr=null}else if(n.rel==="stylesheet")if(typeof Dr!="string"||n.disabled!=null||n.onLoad||n.onError)wr=Di(e,n);else{var An=o.styles.get(Dr),ut=r.styleResources.hasOwnProperty(ct)?r.styleResources[ct]:void 0;if(ut!==null){r.styleResources[ct]=null,An||(An={precedence:tt(Dr),rules:[],hrefs:[],sheets:new Map},o.styles.set(Dr,An));var di={state:0,props:Js({},n,{"data-precedence":n.precedence,precedence:null})};if(ut){ut.length===2&&lx(di.props,ut);var ws=o.preloads.stylesheets.get(ct);ws&&0<ws.length?ws.length=0:di.state=1}An.sheets.set(ct,di),s&&s.stylesheets.add(di)}else if(An){var Ol=An.sheets.get(ct);Ol&&s&&s.stylesheets.add(Ol)}d&&e.push(Al),wr=null}else n.onLoad||n.onError?wr=Di(e,n):(d&&e.push(Al),wr=bt?null:Di(o.hoistableChunks,n));return wr;case"script":var Zc=u.tagScope&1,Ta=n.async;if(typeof n.src!="string"||!n.src||!Ta||typeof Ta=="function"||typeof Ta=="symbol"||n.onLoad||n.onError||u.insertionMode===4||Zc||n.itemProp!=null)var _r=SR(e,n);else{var pi=n.src;if(n.type==="module")var gt=r.moduleScriptResources,xo=o.preloads.moduleScripts;else gt=r.scriptResources,xo=o.preloads.scripts;var Cs=gt.hasOwnProperty(pi)?gt[pi]:void 0;if(Cs!==null){gt[pi]=null;var Fn=n;if(Cs){Cs.length===2&&(Fn=Js({},n),lx(Fn,Cs));var Ml=xo.get(pi);Ml&&(Ml.length=0)}var Qs=[];o.scripts.add(Qs),SR(Qs,Fn)}d&&e.push(Al),_r=null}return _r;case"style":var Rs=u.tagScope&1,dr=n.precedence,eo=n.href,Ui=n.nonce;if(u.insertionMode===4||Rs||n.itemProp!=null||typeof dr!="string"||typeof eo!="string"||eo===""){e.push(mo("style"));var Cr=null,vn=null,fi;for(fi in n)if(sr.call(n,fi)){var vo=n[fi];if(vo!=null)switch(fi){case"children":Cr=vo;break;case"dangerouslySetInnerHTML":vn=vo;break;default:tn(e,fi,vo)}}e.push(vr);var mi=Array.isArray(Cr)?2>Cr.length?Cr[0]:null:Cr;typeof mi!="function"&&typeof mi!="symbol"&&mi!==null&&mi!==void 0&&e.push((""+mi).replace($4,e8)),va(e,vn,Cr),e.push(mp("style"));var bo=null}else{var Xr=o.styles.get(dr);if((r.styleResources.hasOwnProperty(eo)?r.styleResources[eo]:void 0)!==null){r.styleResources[eo]=null,Xr||(Xr={precedence:tt(dr),rules:[],hrefs:[],sheets:new Map},o.styles.set(dr,Xr));var el=o.nonce.style;if(!el||el===Ui){Xr.hrefs.push(tt(eo));var Ts=Xr.rules,Lr=null,tl=null,gi;for(gi in n)if(sr.call(n,gi)){var ka=n[gi];if(ka!=null)switch(gi){case"children":Lr=ka;break;case"dangerouslySetInnerHTML":tl=ka}}var Wo=Array.isArray(Lr)?2>Lr.length?Lr[0]:null:Lr;typeof Wo!="function"&&typeof Wo!="symbol"&&Wo!==null&&Wo!==void 0&&Ts.push((""+Wo).replace($4,e8)),va(Ts,tl,Lr)}}Xr&&s&&s.styles.add(Xr),d&&e.push(Al),bo=void 0}return bo;case"meta":var ad=u.tagScope&1,ld=u.tagScope&4;if(u.insertionMode===4||ad||n.itemProp!=null)var nl=Gm(e,n,"meta");else d&&e.push(Al),nl=ld?null:typeof n.charSet=="string"?Gm(o.charsetChunks,n,"meta"):n.name==="viewport"?Gm(o.viewportChunks,n,"meta"):Gm(o.hoistableChunks,n,"meta");return nl;case"listing":case"pre":e.push(mo(t));var Rr=null,to=null,wo;for(wo in n)if(sr.call(n,wo)){var no=n[wo];if(no!=null)switch(wo){case"children":Rr=no;break;case"dangerouslySetInnerHTML":to=no;break;default:tn(e,wo,no)}}if(e.push(vr),to!=null){if(Rr!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof to!="object"||!("__html"in to))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var ro=to.__html;ro!=null&&(typeof ro=="string"&&0<ro.length&&ro[0]===`
542
- `?e.push(e1,ro):e.push(""+ro))}return typeof Rr=="string"&&Rr[0]===`
543
- `&&e.push(e1),Rr;case"img":var Qc=u.tagScope&3,dt=n.src,et=n.srcSet;if(!(n.loading==="lazy"||!dt&&!et||typeof dt!="string"&&dt!=null||typeof et!="string"&&et!=null||n.fetchPriority==="low"||Qc)&&(typeof dt!="string"||dt[4]!==":"||dt[0]!=="d"&&dt[0]!=="D"||dt[1]!=="a"&&dt[1]!=="A"||dt[2]!=="t"&&dt[2]!=="T"||dt[3]!=="a"&&dt[3]!=="A")&&(typeof et!="string"||et[4]!==":"||et[0]!=="d"&&et[0]!=="D"||et[1]!=="a"&&et[1]!=="A"||et[2]!=="t"&&et[2]!=="T"||et[3]!=="a"&&et[3]!=="A")){s!==null&&u.tagScope&64&&(s.suspenseyImages=!0);var Ea=typeof n.sizes=="string"?n.sizes:void 0,Tr=et?et+`
544
- `+(Ea||""):dt,oo=o.preloads.images,on=oo.get(Tr);if(on)(n.fetchPriority==="high"||10>o.highImagePreloads.size)&&(oo.delete(Tr),o.highImagePreloads.add(on));else if(!r.imageResources.hasOwnProperty(Tr)){r.imageResources[Tr]=qa;var ks=n.crossOrigin,Il=typeof ks=="string"?ks==="use-credentials"?ks:"":void 0,sn=o.headers,zi;sn&&0<sn.remainingCapacity&&typeof n.srcSet!="string"&&(n.fetchPriority==="high"||500>sn.highImagePreloads.length)&&(zi=AR(dt,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:Il,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(sn.remainingCapacity-=zi.length+2))?(o.resets.image[Tr]=qa,sn.highImagePreloads&&(sn.highImagePreloads+=", "),sn.highImagePreloads+=zi):(on=[],Di(on,{rel:"preload",as:"image",href:et?void 0:dt,imageSrcSet:et,imageSizes:Ea,crossOrigin:Il,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority==="high"||10>o.highImagePreloads.size?o.highImagePreloads.add(on):(o.bulkPreloads.add(on),oo.set(Tr,on)))}}return Gm(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 Gm(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 Es=i||o.preamble;if(Es.headChunks)throw Error("The `<head>` tag may only be rendered once.");i!==null&&e.push(vte),Es.headChunks=[];var Co=$F(Es.headChunks,n,"head")}else Co=gR(e,n,"head");return Co;case"body":if(2>u.insertionMode){var Ho=i||o.preamble;if(Ho.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");i!==null&&e.push(bte),Ho.bodyChunks=[];var On=$F(Ho.bodyChunks,n,"body")}else On=gR(e,n,"body");return On;case"html":if(u.insertionMode===0){var hi=i||o.preamble;if(hi.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");i!==null&&e.push(wte),hi.htmlChunks=[Rte];var Ht=$F(hi.htmlChunks,n,"html")}else Ht=gR(e,n,"html");return Ht;default:if(t.indexOf("-")!==-1){e.push(mo(t));var Ss=null,Wi=null,Vn;for(Vn in n)if(sr.call(n,Vn)){var Gt=n[Vn];if(Gt!=null){var Go=Vn;switch(Vn){case"children":Ss=Gt;break;case"dangerouslySetInnerHTML":Wi=Gt;break;case"style":L8(e,Gt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":Go="class";default:if(A1(Vn)&&typeof Gt!="function"&&typeof Gt!="symbol"&&Gt!==!1){if(Gt===!0)Gt="";else if(typeof Gt=="object")continue;e.push(ys,Go,ja,tt(Gt),br)}}}}return e.push(vr),va(e,Wi,Ss),Ss}}return gR(e,n,t)}var r8=new Map;function mp(e){var t=r8.get(e);return t===void 0&&(t=q("</"+e+">"),r8.set(e,t)),t}function o8(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 H8(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,kn(e,n)):!0}var kte=q("requestAnimationFrame(function(){$RT=performance.now()});"),Ete=q('<template id="'),Ste=q('"></template>'),Pte=q("<!--&-->"),Ate=q("<!--/&-->"),Fte=q("<!--$-->"),Ote=q('<!--$?--><template id="'),Mte=q('"></template>'),Ite=q("<!--$!-->"),Dte=q("<!--/$-->"),_te=q("<template"),Lte=q('"'),Nte=q(' data-dgst="');q(' data-msg="');q(' data-stck="');q(' data-cstck="');var Bte=q("></template>");function i8(e,t,n){if(Q(e,Ote),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)),kn(e,Mte)}var Ute=q('<div hidden id="'),zte=q('">'),Wte=q("</div>"),Hte=q('<svg aria-hidden="true" style="display:none" id="'),Gte=q('">'),Vte=q("</svg>"),Yte=q('<math aria-hidden="true" style="display:none" id="'),Xte=q('">'),Jte=q("</math>"),Kte=q('<table hidden id="'),Zte=q('">'),Qte=q("</table>"),jte=q('<table hidden><tbody id="'),qte=q('">'),$te=q("</tbody></table>"),ene=q('<table hidden><tr id="'),tne=q('">'),nne=q("</tr></table>"),rne=q('<table hidden><colgroup id="'),one=q('">'),ine=q("</colgroup></table>");function sne(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return Q(e,Ute),Q(e,t.segmentPrefix),Q(e,r.toString(16)),kn(e,zte);case 4:return Q(e,Hte),Q(e,t.segmentPrefix),Q(e,r.toString(16)),kn(e,Gte);case 5:return Q(e,Yte),Q(e,t.segmentPrefix),Q(e,r.toString(16)),kn(e,Xte);case 6:return Q(e,Kte),Q(e,t.segmentPrefix),Q(e,r.toString(16)),kn(e,Zte);case 7:return Q(e,jte),Q(e,t.segmentPrefix),Q(e,r.toString(16)),kn(e,qte);case 8:return Q(e,ene),Q(e,t.segmentPrefix),Q(e,r.toString(16)),kn(e,tne);case 9:return Q(e,rne),Q(e,t.segmentPrefix),Q(e,r.toString(16)),kn(e,one);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function ane(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return kn(e,Wte);case 4:return kn(e,Vte);case 5:return kn(e,Jte);case 6:return kn(e,Qte);case 7:return kn(e,$te);case 8:return kn(e,nne);case 9:return kn(e,ine);default:throw Error("Unknown insertion mode. This is a bug in React.")}}var lne=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("'),cne=q('$RS("'),une=q('","'),dne=q('")</script>');q('<template data-rsi="" data-sid="');q('" data-pid="');var s8=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};
545
- $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)};`),pne=q('$RC("'),fne=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=
546
- "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=
547
- "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),mne=q('$RR("'),gne=q('","'),hne=q('",'),yne=q('"'),xne=q(")</script>");q('<template data-rci="" data-bid="');q('<template data-rri="" data-bid="');q('" data-sid="');q('" data-sty="');var vne=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())};'),bne=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("'),wne=q('$RX("'),Cne=q('"'),Rne=q(","),Tne=q(")</script>");q('<template data-rxi="" data-bid="');q('" data-dgst="');q('" data-msg="');q('" data-stck="');q('" data-cstck="');var kne=/[<\u2028\u2029]/g;function Ene(e){return JSON.stringify(e).replace(kne,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 Sne=/[&><\u2028\u2029]/g;function nx(e){return JSON.stringify(e).replace(Sne,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 Pne=q(' media="not all" data-precedence="'),Ane=q('" data-href="'),Fne=q('">'),One=q("</style>"),PR=!1,d1=!0;function Mne(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(Q(this,Zm.startInlineStyle),Q(this,Pne),Q(this,e.precedence),Q(this,Ane);r<n.length-1;r++)Q(this,n[r]),Q(this,V8);for(Q(this,n[r]),Q(this,Fne),r=0;r<t.length;r++)Q(this,t[r]);d1=kn(this,One),PR=!0,t.length=0,n.length=0}}function Ine(e){return e.state!==2?PR=!0:!1}function G8(e,t,n){return PR=!1,d1=!0,Zm=n,t.styles.forEach(Mne,e),Zm=null,t.stylesheets.forEach(Ine),PR&&(n.stylesToHoist=!0),d1}function Pl(e){for(var t=0;t<e.length;t++)Q(this,e[t]);e.length=0}var ju=[];function Dne(e){Di(ju,e.props);for(var t=0;t<ju.length;t++)Q(this,ju[t]);ju.length=0,e.state=2}var _ne=q(' data-precedence="'),Lne=q('" data-href="'),V8=q(" "),Nne=q('">'),Bne=q("</style>");function Une(e){var t=0<e.sheets.size;e.sheets.forEach(Dne,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(Q(this,Zm.startInlineStyle),Q(this,_ne),Q(this,e.precedence),e=0,r.length){for(Q(this,Lne);e<r.length-1;e++)Q(this,r[e]),Q(this,V8);Q(this,r[e])}for(Q(this,Nne),e=0;e<n.length;e++)Q(this,n[e]);Q(this,Bne),n.length=0,r.length=0}}function zne(e){if(e.state===0){e.state=1;var t=e.props;for(Di(ju,{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<ju.length;e++)Q(this,ju[e]);ju.length=0}}function Wne(e){e.sheets.forEach(zne,this),e.sheets.clear()}q('<link rel="expect" href="#');q('" blocking="render"/>');var Y8=q(' id="');function vR(e,t){!(t.instructions&32)&&(t.instructions|=32,e.push(Y8,tt("_"+t.idPrefix+"R_"),br))}var a8=q("["),l8=q(",["),p1=q(","),t1=q("]");function Hne(e,t){Q(e,a8);var n=a8;t.stylesheets.forEach(function(r){if(r.state!==2)if(r.state===3)Q(e,n),Q(e,nx(""+r.props.href)),Q(e,t1),n=l8;else{Q(e,n);var o=r.props["data-precedence"],i=r.props,s=ix(""+r.props.href);Q(e,nx(s)),o=""+o,Q(e,p1),Q(e,nx(o));for(var u in i)if(sr.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:Gne(e,u,o)}Q(e,t1),n=l8,r.state=3}}),Q(e,t1)}function Gne(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=ix(n),t=""+n;break;default:if(2<t.length&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")||!A1(t))return;t=""+n}Q(e,p1),Q(e,nx(r)),Q(e,p1),Q(e,nx(t))}function f1(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Vne(e){var t=hp();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(F1,O1)+">; rel=dns-prefetch",0<=(n.remainingCapacity-=o.length+2))),i?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=o):(o=[],Di(o,{href:e,rel:"dns-prefetch"}),r.preconnects.add(o))}yp(t)}}else Xc.D(e)}function Yne(e,t){var n=hp();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(F1,O1)+">; rel=preconnect",typeof t=="string"){var d=(""+t).replace(m1,g1);u+='; crossorigin="'+d+'"'}u=(s=u,0<=(r.remainingCapacity-=s.length+2))}u?(o.resets.connect[i][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=s):(i=[],Di(i,{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(i))}yp(n)}}else Xc.C(e,t)}function Xne(e,t,n){var r=hp();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,d=n.fetchPriority;var f=s?s+`
548
- `+(u||""):e;if(o.imageResources.hasOwnProperty(f))return;o.imageResources[f]=qa,o=i.headers;var h;o&&0<o.remainingCapacity&&typeof s!="string"&&d==="high"&&(h=AR(e,t,n),0<=(o.remainingCapacity-=h.length+2))?(i.resets.image[f]=qa,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=h):(o=[],Di(o,Js({rel:"preload",href:s?void 0:e,as:t},n)),d==="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=[],Di(s,Js({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?qa:[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),Di(s,Js({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||typeof n.crossOrigin!="string"&&typeof n.integrity!="string"?qa:[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]=qa,(o=i.headers)&&0<o.remainingCapacity&&t==="font"&&(f=AR(e,t,n),0<=(o.remainingCapacity-=f.length+2)))i.resets.font[e]=qa,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=f;else switch(o=[],e=Js({rel:"preload",href:e,as:t},n),Di(o,e),t){case"font":i.fontPreloads.add(o);break;default:i.bulkPreloads.add(o)}}yp(r)}}else Xc.L(e,t,n)}function Jne(e,t){var n=hp();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"?qa:[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]=qa}Di(i,Js({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),yp(n)}}else Xc.m(e,t)}function Kne(e,t,n){var r=hp();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:tt(t),rules:[],hrefs:[],sheets:new Map},i.styles.set(t,s)),t={state:0,props:Js({rel:"stylesheet",href:e,"data-precedence":t},n)},u&&(u.length===2&&lx(t.props,u),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),s.sheets.set(e,t),yp(r))}}else Xc.S(e,t,n)}function Zne(e,t){var n=hp();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=Js({src:e,async:!0},t),i&&(i.length===2&&lx(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),SR(e,t),yp(n))}}else Xc.X(e,t)}function Qne(e,t){var n=hp();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=Js({src:e,type:"module",async:!0},t),i&&(i.length===2&&lx(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),SR(e,t),yp(n))}}else Xc.M(e,t)}function lx(e,t){e.crossOrigin==null&&(e.crossOrigin=t[0]),e.integrity==null&&(e.integrity=t[1])}function AR(e,t,n){e=(""+e).replace(F1,O1),t=(""+t).replace(m1,g1),t="<"+e+'>; rel=preload; as="'+t+'"';for(var r in n)sr.call(n,r)&&(e=n[r],typeof e=="string"&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(m1,g1)+'"'));return t}var F1=/[<>\r\n]/g;function O1(e){switch(e){case"<":return"%3C";case">":return"%3E";case`
549
- `: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 m1=/["';,\r\n]/g;function g1(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
550
- `: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 jne(e){this.styles.add(e)}function qne(e){this.stylesheets.add(e)}function Qm(e,t){t.styles.forEach(jne,e),t.stylesheets.forEach(qne,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function X8(e){return 0<e.stylesheets.size||e.suspenseyImages}var $ne=Function.prototype.bind,h1=new Kee.AsyncLocalStorage,ere=Symbol.for("react.client.reference");function FR(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ere?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case S8:return"Fragment";case A8:return"Profiler";case P8:return"StrictMode";case UR:return"Suspense";case S1:return"SuspenseList";case O8:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case E8:return"Portal";case BR:return e.displayName||"Context";case F8:return(e._context.displayName||"Context")+".Consumer";case E1: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:FR(e.type)||"Memo";case zR:t=e._payload,e=e._init;try{return FR(e(t))}catch{}}return null}var c8={},pp=null;function GR(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.");GR(e,n)}t.context._currentValue=t.value}}function J8(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&J8(e)}function K8(e){var t=e.parent;t!==null&&K8(t),e.context._currentValue=e.value}function Z8(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?GR(e,t):Z8(e,t)}function Q8(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?GR(e,n):Q8(e,n),t.context._currentValue=t.value}function Qu(e){var t=pp;t!==e&&(t===null?K8(e):e===null?J8(t):t.depth===e.depth?GR(t,e):t.depth>e.depth?Z8(t,e):Q8(t,e),pp=e)}var u8={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(){}},y1={id:1,overflow:""};function fp(e,t,n){var r=e.id;e=e.overflow;var o=32-bR(r)-1;r&=~(1<<o),n+=1;var i=32-bR(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-bR(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var bR=Math.clz32?Math.clz32:rre,tre=Math.log,nre=Math.LN2;function rre(e){return e>>>=0,e===0?32:31-(tre(e)/nre|0)|0}function xs(){}var ba=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 ore(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(xs,xs),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(xs,xs):(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 wR=t,ba}}var wR=null;function OR(){if(wR===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=wR;return wR=null,e}function ire(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sre=typeof Object.is=="function"?Object.is:ire,Jc=null,M1=null,I1=null,D1=null,CR=null,zn=null,ex=!1,MR=!1,cx=0,ux=0,dx=-1,IR=0,Xm=null,qu=null,VR=0;function Yc(){if(Jc===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:
551
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
552
- 2. You might be breaking the Rules of Hooks
553
- 3. You might have more than one copy of React in the same app
554
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Jc}function d8(){if(0<VR)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function _1(){return zn===null?CR===null?(ex=!1,CR=zn=d8()):(ex=!0,zn=CR):zn.next===null?(ex=!1,zn=zn.next=d8()):(ex=!0,zn=zn.next),zn}function Ym(){var e=Xm;return Xm=null,e}function px(){D1=I1=M1=Jc=null,MR=!1,CR=null,VR=0,zn=qu=null}function j8(e,t){return typeof t=="function"?t(e):t}function p8(e,t,n){if(Jc=Yc(),zn=_1(),ex){var r=zn.queue;if(t=r.dispatch,qu!==null&&(n=qu.get(r),n!==void 0)){qu.delete(r),r=zn.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return zn.memoizedState=r,[r,t]}return[zn.memoizedState,t]}return e=e===j8?typeof t=="function"?t():t:n!==void 0?n(t):t,zn.memoizedState=e,e=zn.queue={last:null,dispatch:null},e=e.dispatch=are.bind(null,Jc,e),[zn.memoizedState,e]}function f8(e,t){if(Jc=Yc(),zn=_1(),t=t===void 0?null:t,zn!==null){var n=zn.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(!sre(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),zn.memoizedState=[e,t],e}function are(e,t,n){if(25<=VR)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(e===Jc)if(MR=!0,e={action:n,next:null},qu===null&&(qu=new Map),n=qu.get(t),n===void 0)qu.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function lre(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function cre(){throw Error("startTransition cannot be called during server rendering.")}function ure(){throw Error("Cannot update optimistic state while rendering.")}function m8(e,t,n){return e!==void 0?"p"+e:(e=JSON.stringify([t,null,n]),t=Jee.createHash("md5"),t.update(e),"k"+t.digest("hex"))}function g8(e,t,n){Yc();var r=ux++,o=I1;if(typeof e.$$FORM_ACTION=="function"){var i=null,s=D1;o=o.formState;var u=e.$$IS_SIGNATURE_EQUAL;if(o!==null&&typeof u=="function"){var d=o[1];u.call(e,o[2],o[3])&&(i=m8(n,s,r),d===i&&(dx=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=m8(n,s,r)),x.append("$ACTION_KEY",i)),y}),[t,e,!1]}var h=e.bind(null,t);return[t,function(y){h(y)},!1]}function q8(e){var t=IR;return IR+=1,Xm===null&&(Xm=[]),ore(Xm,e,t)}function dre(){throw Error("Cache cannot be refreshed during server rendering.")}var h8={readContext:function(e){return e._currentValue},use:function(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return q8(e);if(e.$$typeof===BR)return e._currentValue}throw Error("An unsupported type was passed to use(): "+String(e))},useContext:function(e){return Yc(),e._currentValue},useMemo:f8,useReducer:p8,useRef:function(e){Jc=Yc(),zn=_1();var t=zn.memoizedState;return t===null?(e={current:e},zn.memoizedState=e):t},useState:function(e){return p8(j8,e)},useInsertionEffect:xs,useLayoutEffect:xs,useCallback:function(e,t){return f8(function(){return e},t)},useImperativeHandle:xs,useEffect:xs,useDebugValue:xs,useDeferredValue:function(e,t){return Yc(),t!==void 0?t:e},useTransition:function(){return Yc(),[!1,cre]},useId:function(){var e=M1.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-bR(e)-1)).toString(32)+t;var n=RR;if(n===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return t=cx++,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 Yc(),[e,ure]},useActionState:g8,useFormState:g8,useHostTransitionStatus:function(){return Yc(),ate},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=qee;return t},useCacheRefresh:function(){return dre},useEffectEvent:function(){return lre}},RR=null,pre={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")}};function $8(e,t){e=(e.name||"Error")+": "+(e.message||"");for(var n=0;n<t.length;n++)e+=`
555
- at `+t[n].toString();return e}var n1,y8;function Vm(e){if(n1===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);n1=t&&t[1]||"",y8=-1<n.stack.indexOf(`
556
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
557
- `+n1+e+y8}var r1=!1;function hR(e,t){if(!e||r1)return"";r1=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=$8;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 d=s.split(`
558
- `),f=u.split(`
559
- `);for(o=r=0;r<d.length&&!d[r].includes("DetermineComponentFrameRoot");)r++;for(;o<f.length&&!f[o].includes("DetermineComponentFrameRoot");)o++;if(r===d.length||o===f.length)for(r=d.length-1,o=f.length-1;1<=r&&0<=o&&d[r]!==f[o];)o--;for(;1<=r&&0<=o;r--,o--)if(d[r]!==f[o]){if(r!==1||o!==1)do if(r--,o--,0>o||d[r]!==f[o]){var h=`
560
- `+d[r].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),h}while(1<=r&&0<=o);break}}}finally{r1=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Vm(n):""}function e9(e){if(typeof e=="string")return Vm(e);if(typeof e=="function")return e.prototype&&e.prototype.isReactComponent?hR(e,!0):hR(e,!1);if(typeof e=="object"&&e!==null){switch(e.$$typeof){case E1:return hR(e.render,!1);case P1:return hR(e.type,!1);case zR:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return Vm("Lazy")}return e9(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=$8,r=r.stack,Error.prepareStackTrace=e,r.startsWith(`Error: react-stack-top-frame
561
- `)&&(r=r.slice(29)),e=r.indexOf(`
562
- `),e!==-1&&(r=r.slice(e+1)),e=r.indexOf("react_stack_bottom_frame"),e!==-1&&(e=r.lastIndexOf(`
563
- `,e)),e=e!==-1?r=r.slice(0,e):"",r=e.lastIndexOf(`
564
- `),e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1)){n=`
565
- `+e;break e}n=Vm(n+(t?" ["+t+"]":""))}return n}}switch(e){case S1:return Vm("SuspenseList");case UR:return Vm("Suspense")}return""}function jm(e,t){return(500<t.byteSize||X8(t.contentState))&&t.contentPreamble===null}function fre(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=$ne.apply(console.error,e),t()}else console.error(e);return null}function t9(e,t,n,r,o,i,s,u,d,f,h){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?fre:o,this.onPostpone=f===void 0?xs:f,this.onAllReady=i===void 0?xs:i,this.onShellReady=s===void 0?xs:s,this.onShellError=u===void 0?xs:u,this.onFatalError=d===void 0?xs:d,this.formState=h===void 0?null:h}function L1(e,t,n,r,o,i,s,u,d,f,h,y){return t=new t9(t,n,r,o,i,s,u,d,f,h,y),n=$u(t,0,null,r,!1,!1),n.parentFlushed=!0,e=mx(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,y1,null,null),gp(e),t.pingedTasks.push(e),t}function n9(e,t,n,r,o,i,s,u,d,f,h){return e=L1(e,t,n,r,o,i,s,u,d,f,h,void 0),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}function N1(e,t,n,r,o,i,s,u,d){return n=new t9(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,o,i,s,u,d,null),n.nextSegmentId=t.nextSegmentId,typeof t.replaySlots=="number"?(r=$u(n,0,null,t.rootFormatContext,!1,!1),r.parentFlushed=!0,e=mx(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,y1,null,null),gp(e),n.pingedTasks.push(e),n):(e=B1(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,y1,null,null),gp(e),n.pingedTasks.push(e),n)}function r9(e,t,n,r,o,i,s,u,d){return e=N1(e,t,n,r,o,i,s,u,d),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}var rx=null;function hp(){if(rx)return rx;var e=h1.getStore();return e||null}function o9(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,e.trackedPostpones!==null||e.status===10?I8(function(){return T1(e)}):setImmediate(function(){return T1(e)}))}function fx(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:f1(),fallbackState:f1(),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&&Qm(n.contentState,e)),n}function mx(e,t,n,r,o,i,s,u,d,f,h,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 o9(e,F)},blockedBoundary:o,blockedSegment:i,blockedPreamble:s,hoistableState:u,abortSet:d,keyPath:f,formatContext:h,context:y,treeContext:x,row:w,componentStack:A,thenableState:t};return d.add(F),F}function B1(e,t,n,r,o,i,s,u,d,f,h,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 o9(e,A)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:s,abortSet:u,keyPath:d,formatContext:f,context:h,treeContext:y,row:x,componentStack:w,thenableState:t};return u.add(A),A}function $u(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 gp(e){var t=e.node;if(typeof t=="object"&&t!==null)switch(t.$$typeof){case k8:e.componentStack={parent:e.componentStack,type:t.type}}}function x1(e){return e===null?null:{parent:e.parent,type:"Suspense Fallback"}}function ed(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do n+=e9(r.type),r=r.parent;while(r);var o=n}catch(i){o=`
566
- Error generating stack: `+i.message+`
567
- `+i.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function _i(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t=="string")return t}function gx(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 Li(e,t){U1(e,t.next,t.hoistables)}function U1(e,t,n){for(;t!==null;){n!==null&&(Qm(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&&Qm(i.contentState,n),td(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function v1(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||jm(e,i)){r=!1;break}}r&&U1(e,t,t.hoistables)}}function tx(e){var t={pendingTasks:1,boundaries:null,hoistables:f1(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function x8(e,t,n,r,o){var i=t.keyPath,s=t.treeContext,u=t.row;t.keyPath=n,n=r.length;var d=null;if(t.replay!==null){var f=t.replay.slots;if(f!==null&&typeof f=="object")for(var h=0;h<n;h++){var y=o!=="backwards"&&o!=="unstable_legacy-backwards"?h:n-1-h,x=r[y];t.row=d=tx(d),t.treeContext=fp(s,n,y);var w=f[y];typeof w=="number"?(YR(e,t,w,x,y),delete f[y]):Bo(e,t,x,y),--d.pendingTasks===0&&Li(e,d)}else for(f=0;f<n;f++)h=o!=="backwards"&&o!=="unstable_legacy-backwards"?f:n-1-f,y=r[h],t.row=d=tx(d),t.treeContext=fp(s,n,h),Bo(e,t,y,h),--d.pendingTasks===0&&Li(e,d)}else if(o!=="backwards"&&o!=="unstable_legacy-backwards")for(o=0;o<n;o++)f=r[o],t.row=d=tx(d),t.treeContext=fp(s,n,o),Bo(e,t,f,o),--d.pendingTasks===0&&Li(e,d);else{for(o=t.blockedSegment,f=o.children.length,h=o.chunks.length,y=n-1;0<=y;y--){x=r[y],t.row=d=tx(d),t.treeContext=fp(s,n,y),w=$u(e,h,null,t.formatContext,y===0?o.lastPushedText:!0,!0),o.children.splice(f,0,w),t.blockedSegment=w;try{Bo(e,t,x,y),w.lastPushedText&&w.textEmbedded&&w.chunks.push(Al),w.status=1,Jm(e,t.blockedBoundary,w),--d.pendingTasks===0&&Li(e,d)}catch(A){throw w.status=e.status===12?3:4,A}}t.blockedSegment=o,o.lastPushedText=!1}u!==null&&d!==null&&0<d.pendingTasks&&(u.pendingTasks++,d.next=u),t.treeContext=s,t.row=u,t.keyPath=i}function v8(e,t,n,r,o,i){var s=t.thenableState;for(t.thenableState=null,Jc={},M1=t,I1=e,D1=n,ux=cx=0,dx=-1,IR=0,Xm=s,e=r(o,i);MR;)MR=!1,ux=cx=0,dx=-1,IR=0,VR+=1,zn=null,e=r(o,i);return px(),e}function b8(e,t,n,r,o,i,s){var u=!1;if(i!==0&&e.formState!==null){var d=t.blockedSegment;if(d!==null){u=!0,d=d.chunks;for(var f=0;f<i;f++)f===s?d.push(yte):d.push(xte)}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=fp(n,1,0),Bo(e,t,r,-1),t.treeContext=n):u?Bo(e,t,r,-1):$a(e,t,r,-1),t.keyPath=i}function DR(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 d=r.defaultProps;if(d){s===o&&(s=Js({},s,o));for(var f in d)s[f]===void 0&&(s[f]=d[f])}o=s,s=c8,d=r.contextType,typeof d=="object"&&d!==null&&(s=d._currentValue),s=new r(o,s);var h=s.state!==void 0?s.state:null;if(s.updater=u8,s.props=o,s.state=h,d={queue:[],replace:!1},s._reactInternals=d,i=r.contextType,s.context=typeof i=="object"&&i!==null?i._currentValue:c8,i=r.getDerivedStateFromProps,typeof i=="function"&&(i=i(o,h),h=i==null?h:Js({},h,i),s.state=h),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&&u8.enqueueReplaceState(s,s.state,null),d.queue!==null&&0<d.queue.length)if(r=d.queue,i=d.replace,d.queue=null,d.replace=!1,i&&r.length===1)s.state=r[0];else{for(d=i?r[0]:s.state,h=!0,i=i?1:0;i<r.length;i++)f=r[i],f=typeof f=="function"?f.call(s,d,o,void 0):f,f!=null&&(h?(h=!1,d=Js({},d,f)):Js(d,f));s.state=d}else d.queue=null;if(r=s.render(),e.status===12)throw null;o=t.keyPath,t.keyPath=n,$a(e,t,r,-1),t.keyPath=o}else{if(r=v8(e,t,n,r,o,void 0),e.status===12)throw null;b8(e,t,n,r,cx!==0,ux,dx)}else if(typeof r=="string")if(s=t.blockedSegment,s===null)s=o.children,d=t.formatContext,h=t.keyPath,t.formatContext=J4(d,r,o),t.keyPath=n,Bo(e,t,s,-1),t.formatContext=d,t.keyPath=h;else{if(h=Tte(s.chunks,r,o,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,s.lastPushedText),s.lastPushedText=!1,d=t.formatContext,i=t.keyPath,t.keyPath=n,(t.formatContext=J4(d,r,o)).insertionMode===3){n=$u(e,0,null,t.formatContext,!1,!1),s.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,Bo(e,t,h,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Al),n.status=1,Jm(e,t.blockedBoundary,n)}finally{t.blockedSegment=s}}else Bo(e,t,h,-1);t.formatContext=d,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>=d.insertionMode){e.hasBody=!0;break e}break;case"html":if(d.insertionMode===0){e.hasHtml=!0;break e}break;case"head":if(1>=d.insertionMode)break e}t.push(mp(r))}s.lastPushedText=!1}else{switch(r){case jee:case P8:case A8:case S8:r=t.keyPath,t.keyPath=n,$a(e,t,o.children,-1),t.keyPath=r;return;case O8:r=t.blockedSegment,r===null?o.mode!=="hidden"&&(r=t.keyPath,t.keyPath=n,Bo(e,t,o.children,-1),t.keyPath=r):o.mode!=="hidden"&&(r.chunks.push(Pte),r.lastPushedText=!1,s=t.keyPath,t.keyPath=n,Bo(e,t,o.children,-1),t.keyPath=s,r.chunks.push(Ate),r.lastPushedText=!1);return;case S1:e:{if(r=o.children,o=o.revealOrder,o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards"){if(kR(r)){x8(e,t,n,r,o);break e}if((s=M8(r))&&(s=s.call(r))){if(d=s.next(),!d.done){do d=s.next();while(!d.done);x8(e,t,n,r,o)}break e}}o==="together"?(o=t.keyPath,s=t.row,d=t.row=tx(null),d.boundaries=[],d.together=!0,t.keyPath=n,$a(e,t,r,-1),--d.pendingTasks===0&&Li(e,d),t.keyPath=o,t.row=s,s!==null&&0<d.pendingTasks&&(s.pendingTasks++,d.next=s)):(o=t.keyPath,t.keyPath=n,$a(e,t,r,-1),t.keyPath=o)}return;case $ee:case Qee:throw Error("ReactDOMServer does not yet support scope components.");case UR:e:if(t.replay!==null){r=t.keyPath,s=t.formatContext,d=t.row,t.keyPath=n,t.formatContext=xR(e.resumableState,s),t.row=null,n=o.children;try{Bo(e,t,n,-1)}finally{t.keyPath=r,t.formatContext=s,t.row=d}}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?fx(e,t.row,F,sx(),sx()):fx(e,t.row,F,null,null);e.trackedPostpones!==null&&(D.trackedContentKeyPath=n);var L=$u(e,w.chunks.length,D,t.formatContext,!1,!1);w.children.push(L),w.lastPushedText=!1;var N=$u(e,0,null,t.formatContext,!1,!1);if(N.parentFlushed=!0,e.trackedPostpones!==null){s=t.componentStack,d=[n[0],"Suspense Fallback",n[2]],h=[d[1],d[2],[],null],e.trackedPostpones.workingMap.set(d,h),D.trackedFallbackNode=h,t.blockedSegment=L,t.blockedPreamble=D.fallbackPreamble,t.keyPath=d,t.formatContext=l1(e.resumableState,i),t.componentStack=x1(s),L.status=6;try{Bo(e,t,A,-1),L.lastPushedText&&L.textEmbedded&&L.chunks.push(Al),L.status=1,Jm(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=mx(e,null,o,-1,D,N,D.contentPreamble,D.contentState,t.abortSet,n,xR(e.resumableState,t.formatContext),t.context,t.treeContext,null,s),gp(t),e.pingedTasks.push(t)}else{t.blockedBoundary=D,t.blockedPreamble=D.contentPreamble,t.hoistableState=D.contentState,t.blockedSegment=N,t.keyPath=n,t.formatContext=xR(e.resumableState,i),t.row=null,N.status=6;try{if(Bo(e,t,o,-1),N.lastPushedText&&N.textEmbedded&&N.chunks.push(Al),N.status=1,Jm(e,D,N),hx(D,N),D.pendingTasks===0&&D.status===0){if(D.status=1,!jm(e,D)){y!==null&&--y.pendingTasks===0&&Li(e,y),e.pendingRootTasks===0&&t.blockedPreamble&&bx(e);break e}}else y!==null&&y.together&&v1(e,y)}catch(Y){D.status=4,e.status===12?(N.status=3,s=e.fatalError):(N.status=4,s=Y),d=ed(t.componentStack),h=_i(e,s,d),D.errorDigest=h,z1(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=mx(e,null,A,-1,f,L,D.fallbackPreamble,D.fallbackState,F,[n[0],"Suspense Fallback",n[2]],l1(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,x1(t.componentStack)),gp(t),e.pingedTasks.push(t)}}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case E1:if("ref"in o)for(w in s={},o)w!=="ref"&&(s[w]=o[w]);else s=o;r=v8(e,t,n,r.render,s,i),b8(e,t,n,r,cx!==0,ux,dx);return;case P1:DR(e,t,n,r.type,o,i);return;case BR:if(d=o.children,s=t.keyPath,o=o.value,h=r._currentValue,r._currentValue=o,i=pp,pp=r={parent:i,depth:i===null?0:i.depth+1,context:r,parentValue:h,value:o},t.context=r,t.keyPath=n,$a(e,t,d,-1),e=pp,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=pp=e.parent,t.context=e,t.keyPath=s;return;case F8:o=o.children,r=o(r._context._currentValue),o=t.keyPath,t.keyPath=n,$a(e,t,r,-1),t.keyPath=o;return;case zR:if(s=r._init,r=s(r._payload),e.status===12)throw null;DR(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 YR(e,t,n,r,o){var i=t.replay,s=t.blockedBoundary,u=$u(e,0,null,t.formatContext,!1,!1);u.id=n,u.parentFlushed=!0;try{t.replay=null,t.blockedSegment=u,Bo(e,t,r,o),u.status=1,Jm(e,s,u),s===null?e.completedRootSegment=u:(hx(s,u),s.parentFlushed&&e.partialBoundaries.push(s))}finally{t.replay=i,t.blockedSegment=null}}function $a(e,t,n,r){t.replay!==null&&typeof t.replay.slots=="number"?YR(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,gp(t),b1(e,t),t.componentStack=n)}function b1(e,t){var n=t.node,r=t.childIndex;if(n!==null){if(typeof n=="object"){switch(n.$$typeof){case k8:var o=n.type,i=n.key,s=n.props;n=s.ref;var u=n!==void 0?n:null,d=FR(o),f=i??(r===-1?0:r);if(i=[t.keyPath,d,f],t.replay!==null)e:{var h=t.replay;for(r=h.nodes,n=0;n<r.length;n++){var y=r[n];if(f===y[1]){if(y.length===4){if(d!==null&&d!==y[0])throw Error("Expected the resume to render <"+y[0]+"> in this slot but instead it rendered <"+d+">. The tree doesn't match so React will fallback to client rendering.");var x=y[2];d=y[3],f=t.node,t.replay={nodes:x,slots:d,pendingTasks:1};try{if(DR(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===ba||typeof M.then=="function"))throw t.node===f?t.replay=h:r.splice(n,1),M;t.replay.pendingTasks--,s=ed(t.componentStack),i=e,e=t.blockedBoundary,o=M,s=_i(i,o,s),vx(i,e,x,d,o,s)}t.replay=h}else{if(o!==UR)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(FR(o)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");t:{h=void 0,o=y[5],u=y[2],d=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,N=t.hoistableState,Y=s.children,H=s.fallback,W=new Set;s=2>t.formatContext.insertionMode?fx(e,t.row,W,sx(),sx()):fx(e,t.row,W,null,null),s.parentFlushed=!0,s.rootSegmentID=o,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=i,t.formatContext=xR(e.resumableState,A),t.row=null,t.replay={nodes:u,slots:d,pendingTasks:1};try{if(Bo(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=ed(t.componentStack),h=_i(e,M,x),s.errorDigest=h,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=L,t.hoistableState=N,t.replay=D,t.keyPath=w,t.formatContext=A,t.row=F}x=B1(e,null,{nodes:f,slots:y,pendingTasks:0},H,-1,L,s.fallbackState,W,[i[0],"Suspense Fallback",i[2]],l1(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,x1(t.componentStack)),gp(x),e.pingedTasks.push(x)}}r.splice(n,1);break e}}}else DR(e,t,i,o,s,u);return;case E8:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case zR:if(x=n._init,n=x(n._payload),e.status===12)throw null;$a(e,t,n,r);return}if(kR(n)){w1(e,t,n,r);return}if((x=M8(n))&&(x=x.call(n))){if(n=x.next(),!n.done){s=[];do s.push(n.value),n=x.next();while(!n.done);w1(e,t,s,r)}return}if(typeof n.then=="function")return t.thenableState=null,$a(e,t,q8(n),r);if(n.$$typeof===BR)return $a(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=K4(r.chunks,n,e.renderState,r.lastPushedText))):(typeof n=="number"||typeof n=="bigint")&&(r=t.blockedSegment,r!==null&&(r.lastPushedText=K4(r.chunks,""+n,e.renderState,r.lastPushedText)))}}function w1(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 d=s[u];if(d[1]===r){r=d[2],d=d[3],t.replay={nodes:r,slots:d,pendingTasks:1};try{if(w1(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===ba||typeof y.then=="function"))throw y;t.replay.pendingTasks--,n=ed(t.componentStack);var f=t.blockedBoundary,h=y;n=_i(e,h,n),vx(e,f,r,d,h,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++)d=n[r],t.treeContext=fp(i,s,r),f=u[r],typeof f=="number"?(YR(e,t,f,d,r),delete u[r]):Bo(e,t,d,r);t.treeContext=i,t.keyPath=o;return}for(u=0;u<s;u++)r=n[u],t.treeContext=fp(i,s,u),Bo(e,t,r,u);t.treeContext=i,t.keyPath=o}function i9(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),LR(n,e[0],t),n):(i[4]=r,i[5]=n.rootSegmentID,i)}function C1(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=i9(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],LR(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),LR(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 z1(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 w8(e,t,n){return B1(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 C8(e,t,n){var r=t.blockedSegment,o=$u(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,mx(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 Bo(e,t,n,r){var o=t.formatContext,i=t.context,s=t.keyPath,u=t.treeContext,d=t.componentStack,f=t.blockedSegment;if(f===null){f=t.replay;try{return $a(e,t,n,r)}catch(x){if(px(),n=x===ba?OR():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){r=x===ba?Ym():null,e=w8(e,t,r).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,t.replay=f,Qu(i);return}if(n.message==="Maximum call stack size exceeded"){n=x===ba?Ym():null,n=w8(e,t,n),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,t.replay=f,Qu(i);return}}}}else{var h=f.children.length,y=f.chunks.length;try{return $a(e,t,n,r)}catch(x){if(px(),f.children.length=h,f.chunks.length=y,n=x===ba?OR():x,e.status!==12&&typeof n=="object"&&n!==null){if(typeof n.then=="function"){f=n,n=x===ba?Ym():null,e=C8(e,t,n).ping,f.then(e,e),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,Qu(i);return}if(n.message==="Maximum call stack size exceeded"){f=x===ba?Ym():null,f=C8(e,t,f),e.pingedTasks.push(f),t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,t.componentStack=d,Qu(i);return}}}}throw t.formatContext=o,t.context=i,t.keyPath=s,t.treeContext=u,Qu(i),n}function mre(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,td(this,t,e.row,n))}function vx(e,t,n,r,o,i){for(var s=0;s<n.length;s++){var u=n[s];if(u.length===4)vx(e,t,u[2],u[3],o,i);else{u=u[5];var d=e,f=i,h=fx(d,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=u,h.status=4,h.errorDigest=f,h.parentFlushed&&d.clientRenderedBoundaries.push(h)}}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 R1(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(o!==null){if(o.status===6)return;o.status=3}var i=ed(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,_i(t,n,i),C1(t,r,e,o),td(t,null,e.row,o)):(_i(t,n,i),gx(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(o=_i(t,n,i),vx(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,t.pendingRootTasks===0&&W1(t)}}else{var s=t.trackedPostpones;if(r.status!==4){if(s!==null&&o!==null)return _i(t,n,i),C1(t,s,e,o),r.fallbackAbortableTasks.forEach(function(u){return R1(u,t,n)}),r.fallbackAbortableTasks.clear(),td(t,r,e.row,o);r.status=4,o=_i(t,n,i),r.status=4,r.errorDigest=o,z1(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,o=r.row,o!==null&&--o.pendingTasks===0&&Li(t,o),r.fallbackAbortableTasks.forEach(function(u){return R1(u,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Li(t,e),t.allPendingTasks--,t.allPendingTasks===0&&_R(t)}function XR(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 d=u.value.sheets.values(),f=d.next();0<o.remainingCapacity&&!f.done;f=d.next()){var h=f.value,y=h.props,x=y.href,w=h.props,A=AR(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]=qa,i&&(i+=", "),i+=A,n.resets.style[x]=typeof y.crossOrigin=="string"||typeof y.integrity=="string"?[y.crossOrigin,y.integrity]:qa;else break e}}r(i?{Link:i}:{})}}}catch(F){_i(e,F,{})}}function W1(e){e.trackedPostpones===null&&XR(e,!0),e.trackedPostpones===null&&bx(e),e.onShellError=xs,e=e.onShellReady,e()}function _R(e){XR(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),bx(e),e=e.onAllReady,e()}function hx(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||hx(e,n)}else e.completedSegments.push(t)}function Jm(e,t,n){if(z4!==null){n=n.chunks;for(var r=0,o=0;o<n.length;o++)r+=z4(n[o]);t===null?e.byteSize+=r:t.byteSize+=r}}function td(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Li(e,n):n.together&&v1(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&&W1(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)&&hx(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&Qm(n.hoistables,t.contentState),jm(e,t)||(t.fallbackAbortableTasks.forEach(mre,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Li(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&bx(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];i9(e,n,i),td(e,i,null,null)}}--t.pendingTasks===0&&Li(e,t)}}else r===null||!r.parentFlushed||r.status!==1&&r.status!==3||(hx(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&v1(e,t);e.allPendingTasks===0&&_R(e)}function T1(e){if(e.status!==14&&e.status!==13){var t=pp,n=Hm.H;Hm.H=h8;var r=Hm.A;Hm.A=pre;var o=rx;rx=e;var i=RR;RR=e.resumableState;try{var s=e.pingedTasks,u;for(u=0;u<s.length;u++){var d=s[u],f=e,h=d.blockedSegment;if(h===null){var y=f;if(d.replay.pendingTasks!==0){Qu(d.context);try{if(typeof d.replay.slots=="number"?YR(y,d,d.replay.slots,d.node,d.childIndex):b1(y,d),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--,d.abortSet.delete(d),td(y,d.blockedBoundary,d.row,null)}catch(be){px();var x=be===ba?OR():be;if(typeof x=="object"&&x!==null&&typeof x.then=="function"){var w=d.ping;x.then(w,w),d.thenableState=be===ba?Ym():null}else{d.replay.pendingTasks--,d.abortSet.delete(d);var A=ed(d.componentStack);f=void 0;var F=y,D=d.blockedBoundary,L=y.status===12?y.fatalError:x,N=d.replay.nodes,Y=d.replay.slots;f=_i(F,L,A),vx(F,D,N,Y,L,f),y.pendingRootTasks--,y.pendingRootTasks===0&&W1(y),y.allPendingTasks--,y.allPendingTasks===0&&_R(y)}}finally{}}}else if(y=void 0,F=h,F.status===0){F.status=6,Qu(d.context);var H=F.children.length,W=F.chunks.length;try{b1(f,d),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Al),d.abortSet.delete(d),F.status=1,Jm(f,d.blockedBoundary,F),td(f,d.blockedBoundary,d.row,F)}catch(be){px(),F.children.length=H,F.chunks.length=W;var M=be===ba?OR():f.status===12?f.fatalError:be;if(f.status===12&&f.trackedPostpones!==null){var ne=f.trackedPostpones,Ee=ed(d.componentStack);d.abortSet.delete(d),_i(f,M,Ee),C1(f,ne,d,F),td(f,d.blockedBoundary,d.row,F)}else if(typeof M=="object"&&M!==null&&typeof M.then=="function"){F.status=0,d.thenableState=be===ba?Ym():null;var Ce=d.ping;M.then(Ce,Ce)}else{var re=ed(d.componentStack);d.abortSet.delete(d),F.status=4;var me=d.blockedBoundary,ce=d.row;if(ce!==null&&--ce.pendingTasks===0&&Li(f,ce),f.allPendingTasks--,y=_i(f,M,re),me===null)gx(f,M);else if(me.pendingTasks--,me.status!==4){me.status=4,me.errorDigest=y,z1(f,me);var ke=me.row;ke!==null&&--ke.pendingTasks===0&&Li(f,ke),me.parentFlushed&&f.clientRenderedBoundaries.push(me),f.pendingRootTasks===0&&f.trackedPostpones===null&&me.contentPreamble!==null&&bx(f)}f.allPendingTasks===0&&_R(f)}}finally{}}}s.splice(0,u),e.destination!==null&&JR(e,e.destination)}catch(be){_i(e,be,{}),gx(e,be)}finally{RR=i,Hm.H=n,Hm.A=r,n===h8&&Qu(t),rx=o}}}function o1(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=s9(e,t.children[o],n)||r;return r}function s9(e,t,n){var r=t.boundary;if(r===null)return o1(e,t,n);var o=r.contentPreamble,i=r.fallbackPreamble;if(o===null||i===null)return!1;switch(r.status){case 1:if(o8(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 o1(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return o8(e.renderState,i),o1(e,t,n);default:return!0}}function bx(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=s9(e,e.completedRootSegment,t),o=e.renderState.preamble;r===!1||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function yR(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,Ete),Q(t,e.placeholderPrefix),e=r.toString(16),Q(t,e),kn(t,Ste);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=xx(e,t,o,r)}for(;s<i.length-1;s++)Q(t,i[s]);return s<i.length&&(o=kn(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 yx=0;function xx(e,t,n,r){var o=n.boundary;if(o===null)return yR(e,t,n,r);if(o.parentFlushed=!0,o.status===4){var i=o.row;i!==null&&--i.pendingTasks===0&&Li(e,i),o=o.errorDigest,kn(t,Ite),Q(t,_te),o&&(Q(t,Nte),Q(t,tt(o)),Q(t,Lte)),kn(t,Bte),yR(e,t,n,r)}else if(o.status!==1)o.status===0&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),i8(t,e.renderState,o.rootSegmentID),r&&Qm(r,o.fallbackState),yR(e,t,n,r);else if(!TR&&jm(e,o)&&(yx+o.byteSize>e.progressiveChunkSize||X8(o.contentState)))o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),i8(t,e.renderState,o.rootSegmentID),yR(e,t,n,r);else{if(yx+=o.byteSize,r&&Qm(r,o.contentState),n=o.row,n!==null&&jm(e,o)&&--n.pendingTasks===0&&Li(e,n),kn(t,Fte),n=o.completedSegments,n.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");xx(e,t,n[0],r)}return kn(t,Dte)}function i1(e,t,n,r){return sne(t,e.renderState,n.parentFormatContext,n.id),xx(e,t,n,r),ane(t,n.parentFormatContext)}function R8(e,t,n){yx=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)a9(e,t,n,r[o]);r.length=0,r=n.row,r!==null&&jm(e,n)&&--r.pendingTasks===0&&Li(e,r),G8(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,vr),i?(!(r.instructions&4)&&(r.instructions|=4,Q(t,vne)),!(r.instructions&2)&&(r.instructions|=2,Q(t,s8)),r.instructions&8?Q(t,mne):(r.instructions|=8,Q(t,fne))):(!(r.instructions&2)&&(r.instructions|=2,Q(t,s8)),Q(t,pne)),r=o.toString(16),Q(t,e.boundaryPrefix),Q(t,r),Q(t,gne),Q(t,e.segmentPrefix),Q(t,r),i?(Q(t,hne),Hne(t,n)):Q(t,yne),n=kn(t,xne),H8(t,e)&&n}function a9(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 i1(e,t,r,o)}return i===n.rootSegmentID?i1(e,t,r,o):(i1(e,t,r,o),n=e.resumableState,e=e.renderState,Q(t,e.startInlineScript),Q(t,vr),n.instructions&1?Q(t,cne):(n.instructions|=1,Q(t,lne)),Q(t,e.segmentPrefix),i=i.toString(16),Q(t,i),Q(t,une),Q(t,e.placeholderPrefix),Q(t,i),t=kn(t,dne),t)}var TR=!1;function JR(e,t){ir=new Uint8Array(2048),Un=0,Km=!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;yx=e.byteSize;var i=e.resumableState,s=e.renderState,u=s.preamble,d=u.htmlChunks,f=u.headChunks,h;if(d){for(h=0;h<d.length;h++)Q(t,d[h]);if(f)for(h=0;h<f.length;h++)Q(t,f[h]);else Q(t,mo("head")),Q(t,vr)}else if(f)for(h=0;h<f.length;h++)Q(t,f[h]);var y=s.charsetChunks;for(h=0;h<y.length;h++)Q(t,y[h]);y.length=0,s.preconnects.forEach(Pl,t),s.preconnects.clear();var x=s.viewportChunks;for(h=0;h<x.length;h++)Q(t,x[h]);x.length=0,s.fontPreloads.forEach(Pl,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(Pl,t),s.highImagePreloads.clear(),Zm=s,s.styles.forEach(Une,t),Zm=null;var w=s.importMapChunks;for(h=0;h<w.length;h++)Q(t,w[h]);w.length=0,s.bootstrapScripts.forEach(Pl,t),s.scripts.forEach(Pl,t),s.scripts.clear(),s.bulkPreloads.forEach(Pl,t),s.bulkPreloads.clear(),d||f||(i.instructions|=32);var A=s.hoistableChunks;for(h=0;h<A.length;h++)Q(t,A[h]);for(i=A.length=0;i<o.length;i++){var F=o[i];for(s=0;s<F.length;s++)xx(e,t,F[s],null)}var D=e.renderState.preamble,L=D.headChunks;(D.htmlChunks||L)&&Q(t,mp("head"));var N=D.bodyChunks;if(N)for(o=0;o<N.length;o++)Q(t,N[o]);xx(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 H=e.resumableState;if(!(H.instructions&64)){if(H.instructions|=64,Q(t,Y.startInlineScript),!(H.instructions&32)){H.instructions|=32;var W="_"+H.idPrefix+"R_";Q(t,Y8),Q(t,tt(W)),Q(t,br)}Q(t,vr),Q(t,kte),kn(t,ER)}}H8(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(Pl,t),M.preconnects.clear(),M.fontPreloads.forEach(Pl,t),M.fontPreloads.clear(),M.highImagePreloads.forEach(Pl,t),M.highImagePreloads.clear(),M.styles.forEach(Wne,t),M.scripts.forEach(Pl,t),M.scripts.clear(),M.bulkPreloads.forEach(Pl,t),M.bulkPreloads.clear();var Ee=M.hoistableChunks;for(r=0;r<Ee.length;r++)Q(t,Ee[r]);Ee.length=0;var Ce=e.clientRenderedBoundaries;for(n=0;n<Ce.length;n++){var re=Ce[n];M=t;var me=e.resumableState,ce=e.renderState,ke=re.rootSegmentID,be=re.errorDigest;Q(M,ce.startInlineScript),Q(M,vr),me.instructions&4?Q(M,wne):(me.instructions|=4,Q(M,bne)),Q(M,ce.boundaryPrefix),Q(M,ke.toString(16)),Q(M,Cne),be&&(Q(M,Rne),Q(M,Ene(be||"")));var Oe=kn(M,Tne);if(!Oe){e.destination=null,n++,Ce.splice(0,n);return}}Ce.splice(0,n);var st=e.completedBoundaries;for(n=0;n<st.length;n++)if(!R8(e,t,st[n])){e.destination=null,n++,st.splice(0,n);return}st.splice(0,n),QF(t),ir=new Uint8Array(2048),Un=0,TR=Km=!0;var Ke=e.partialBoundaries;for(n=0;n<Ke.length;n++){var je=Ke[n];e:{Ce=e,re=t,yx=je.byteSize;var En=je.completedSegments;for(Oe=0;Oe<En.length;Oe++)if(!a9(Ce,re,je,En[Oe])){Oe++,En.splice(0,Oe);var Zt=!1;break e}En.splice(0,Oe);var Re=je.row;Re!==null&&Re.together&&je.pendingTasks===1&&(Re.pendingTasks===1?U1(Ce,Re,Re.hoistables):Re.pendingTasks--),Zt=G8(re,je.contentState,Ce.renderState)}if(!Zt){e.destination=null,n++,Ke.splice(0,n);return}}Ke.splice(0,n),TR=!1;var xe=e.completedBoundaries;for(n=0;n<xe.length;n++)if(!R8(e,t,xe[n])){e.destination=null,n++,xe.splice(0,n);return}xe.splice(0,n)}}finally{TR=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&Q(t,mp("body")),n.hasHtml&&Q(t,mp("html")),QF(t),U4(t),e.status=14,t.end(),e.destination=null):(QF(t),U4(t))}}function rd(e){e.flushScheduled=e.destination!==null,I8(function(){return h1.run(e,T1,e)}),setImmediate(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&h1.run(e,gre,e)})}function gre(e){XR(e,e.pendingRootTasks===0)}function yp(e){e.flushScheduled===!1&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,setImmediate(function(){var t=e.destination;t?JR(e,t):e.flushScheduled=!1}))}function Kc(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{JR(e,t)}catch(n){_i(e,n,{}),gx(e,n)}}}function go(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 R1(o,e,r)}),n.clear()}e.destination!==null&&JR(e,e.destination)}catch(o){_i(e,o,{}),gx(e,o)}}function LR(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),LR(o,t[0],n)),o[2].push(e)}}function KR(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 l9(){var e=k1.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:
568
- - react: `+(e+`
569
- - react-dom: 19.2.4
570
- Learn more: https://react.dev/warnings/version-mismatch`))}l9();function c9(e,t){return function(){return Kc(t,e)}}function NR(e,t){return function(){e.destination=null,go(e,Error(t))}}function hre(e,t){var n=WR(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 L1(e,n,nd(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),HR(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 u9(e){return{write:function(t){return typeof t=="string"&&(t=ox.encode(t)),e.enqueue(t),!0},end:function(){e.close()},destroy:function(t){typeof e.error=="function"?e.error(t):e.close()}}}function yre(e,t,n){return N1(e,t,nd(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)}l9();function d9(e){return{write:function(t){return typeof t=="string"&&(t=ox.encode(t)),e.enqueue(t),!0},end:function(){e.close()},destroy:function(t){typeof e.error=="function"?e.error(t):e.close()}}}function p9(e){return{write:function(t){return e.push(t)},end:function(){e.push(null)},destroy:function(t){e.destroy(t)}}}lc.prerender=function(e,t){return new Promise(function(n,r){var o=t?t.onHeaders:void 0,i;o&&(i=function(h){o(new Headers(h))});var s=WR(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=n9(e,s,nd(s,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),HR(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var h,y=new ReadableStream({type:"bytes",start:function(x){h=d9(x)},pull:function(){Kc(u,h)},cancel:function(x){u.destination=null,go(u,x)}},{highWaterMark:0});y={postponed:KR(u),prelude:y},n(y)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)go(u,d.reason);else{var f=function(){go(u,d.reason),d.removeEventListener("abort",f)};d.addEventListener("abort",f)}}rd(u)})};lc.prerenderToNodeStream=function(e,t){return new Promise(function(n,r){var o=WR(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=n9(e,o,nd(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,t?t.onHeaders:void 0,t?t.maxHeadersLength:void 0),HR(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var d=new T8.Readable({read:function(){Kc(i,f)}}),f=p9(d);d={postponed:KR(i),prelude:d},n(d)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var s=t.signal;if(s.aborted)go(i,s.reason);else{var u=function(){go(i,s.reason),s.removeEventListener("abort",u)};s.addEventListener("abort",u)}}rd(i)})};lc.renderToPipeableStream=function(e,t){var n=hre(e,t),r=!1;return rd(n),{pipe:function(o){if(r)throw Error("React currently only supports piping to one writable stream.");return r=!0,XR(n,n.trackedPostpones===null||n.completedRootSegment===null?n.pendingRootTasks===0:n.completedRootSegment.status!==5),Kc(n,o),o.on("drain",c9(o,n)),o.on("error",NR(n,"The destination stream errored while writing data.")),o.on("close",NR(n,"The destination stream closed early.")),o},abort:function(o){go(n,o)}}};lc.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,d;u&&(d=function(w){u(new Headers(w))});var f=WR(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),h=L1(e,f,nd(f,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,d,t?t.maxHeadersLength:void 0),HR(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=u9(F)},pull:function(){Kc(h,w)},cancel:function(F){h.destination=null,go(h,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)go(h,y.reason);else{var x=function(){go(h,y.reason),y.removeEventListener("abort",x)};y.addEventListener("abort",x)}}rd(h)})};lc.resume=function(e,t,n){return new Promise(function(r,o){var i,s,u=new Promise(function(y,x){s=y,i=x}),d=N1(e,t,nd(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=u9(w)},pull:function(){Kc(d,y)},cancel:function(w){d.destination=null,go(d,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)go(d,f.reason);else{var h=function(){go(d,f.reason),f.removeEventListener("abort",h)};f.addEventListener("abort",h)}}rd(d)})};lc.resumeAndPrerender=function(e,t,n){return new Promise(function(r,o){var i=r9(e,t,nd(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var d,f=new ReadableStream({type:"bytes",start:function(h){d=d9(h)},pull:function(){Kc(i,d)},cancel:function(h){i.destination=null,go(i,h)}},{highWaterMark:0});f={postponed:KR(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)go(i,s.reason);else{var u=function(){go(i,s.reason),s.removeEventListener("abort",u)};s.addEventListener("abort",u)}}rd(i)})};lc.resumeAndPrerenderToNodeStream=function(e,t,n){return new Promise(function(r,o){var i=r9(e,t,nd(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var d=new T8.Readable({read:function(){Kc(i,f)}}),f=p9(d);d={postponed:KR(i),prelude:d},r(d)},void 0,void 0,o,n?n.onPostpone:void 0);if(n&&n.signal){var s=n.signal;if(s.aborted)go(i,s.reason);else{var u=function(){go(i,s.reason),s.removeEventListener("abort",u)};s.addEventListener("abort",u)}}rd(i)})};lc.resumeToPipeableStream=function(e,t,n){var r=yre(e,t,n),o=!1;return rd(r),{pipe:function(i){if(o)throw Error("React currently only supports piping to one writable stream.");return o=!0,Kc(r,i),i.on("drain",c9(i,r)),i.on("error",NR(r,"The destination stream errored while writing data.")),i.on("close",NR(r,"The destination stream closed early.")),i},abort:function(i){go(r,i)}}};lc.version="19.2.4"});var m9=xl(ZR=>{"use strict";process.env.NODE_ENV!=="production"&&function(){function e(c,p,g,b){return""+p+(g==="s"?"\\73 ":"\\53 ")+b}function t(c,p,g,b){return""+p+(g==="s"?"\\u0073":"\\u0053")+b}function n(c){return c===null||typeof c!="object"?null:(c=Dx&&c[Dx]||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 p=JSON.stringify(c);return'"'+c+'"'===p?c:p}function i(c){switch(typeof c){case"string":return JSON.stringify(10>=c.length?c:c.slice(0,10)+"...");case"object":return sl(c)?"[...]":c!==null&&c.$$typeof===Lp?"client":(c=r(c),c==="Object"?"{...}":c);case"function":return c.$$typeof===Lp?"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 md:return"Suspense";case Sa:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case qs:return s(c.render);case Ps:return s(c.type);case Mn:var p=c._payload;c=c._init;try{return s(c(p))}catch{}}return""}function u(c,p){var g=r(c);if(g!=="Object"&&g!=="Array")return g;var b=-1,T=0;if(sl(c))if(yg.has(c)){var S=yg.get(c);g="<"+s(S)+">";for(var I=0;I<c.length;I++){var B=c[I];B=typeof B=="string"?B:typeof B=="object"&&B!==null?"{"+u(B)+"}":"{"+i(B)+"}",""+I===p?(b=g.length,T=B.length,g+=B):g=15>B.length&&40>g.length+B.length?g+B:g+"{...}"}g+="</"+s(S)+">"}else{for(g="[",S=0;S<c.length;S++)0<S&&(g+=", "),I=c[S],I=typeof I=="object"&&I!==null?u(I):i(I),""+S===p?(b=g.length,T=I.length,g+=I):g=10>I.length&&40>g.length+I.length?g+I:g+"...";g+="]"}else if(c.$$typeof===Bl)g="<"+s(c.type)+"/>";else{if(c.$$typeof===Lp)return"client";if(_x.has(c)){for(g=_x.get(c),g="<"+(s(g)||"..."),S=Object.keys(c),I=0;I<S.length;I++){g+=" ",B=S[I],g+=o(B)+"=";var Z=c[B],G=B===p&&typeof Z=="object"&&Z!==null?u(Z):i(Z);typeof Z!="string"&&(G="{"+G+"}"),B===p?(b=g.length,T=G.length,g+=G):g=10>G.length&&40>g.length+G.length?g+G:g+"..."}g+=">"}else{for(g="{",S=Object.keys(c),I=0;I<S.length;I++)0<I&&(g+=", "),B=S[I],g+=o(B)+": ",Z=c[B],Z=typeof Z=="object"&&Z!==null?u(Z):i(Z),B===p?(b=g.length,T=Z.length,g+=Z):g=10>Z.length&&40>g.length+Z.length?g+Z:g+"...";g+="}"}}return p===void 0?g:-1<b&&0<T?(c=" ".repeat(b)+"^".repeat(T),`
571
- `+g+`
572
- `+c):`
573
- `+g}function d(c,p){var g=c.length&3,b=c.length-g,T=p;for(p=0;p<b;){var S=c.charCodeAt(p)&255|(c.charCodeAt(++p)&255)<<8|(c.charCodeAt(++p)&255)<<16|(c.charCodeAt(++p)&255)<<24;++p,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,g){case 3:S^=(c.charCodeAt(p+2)&255)<<16;case 2:S^=(c.charCodeAt(p+1)&255)<<8;case 1:S^=c.charCodeAt(p)&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 h(c){try{return y(c),!1}catch{return!0}}function y(c){return""+c}function x(c,p){if(h(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.",p,f(c)),y(c)}function w(c,p){if(h(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.",p,f(c)),y(c)}function A(c){if(h(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 Vt.call(Lx,c)?!0:Vt.call(Np,c)?!1:x0.test(c)?Lx[c]=!0:(Np[c]=!0,console.error("Invalid attribute name: `%s`",c),!1)}function D(c,p){xg[p.type]||p.onChange||p.onInput||p.readOnly||p.disabled||p.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`."),p.onChange||p.readOnly||p.disabled||p.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,p){if(Vt.call(yc,p)&&yc[p])return!0;if(bg.test(p)){if(c="aria-"+p.slice(4).toLowerCase(),c=vg.hasOwnProperty(c)?c:null,c==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",p),yc[p]=!0;if(p!==c)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",p,c),yc[p]=!0}if(Bx.test(p)){if(c=p.toLowerCase(),c=vg.hasOwnProperty(c)?c:null,c==null)return yc[p]=!0,!1;p!==c&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",p,c),yc[p]=!0)}return!0}function N(c,p){var g=[],b;for(b in p)L(c,b)||g.push(b);p=g.map(function(T){return"`"+T+"`"}).join(", "),g.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",p,c):1<g.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",p,c)}function Y(c,p,g,b){if(Vt.call(zr,p)&&zr[p])return!0;var T=p.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."),zr[p]=!0;if(typeof g=="function"&&(c==="form"&&p==="action"||c==="input"&&p==="formAction"||c==="button"&&p==="formAction"))return!0;if(b!=null){if(c=b.possibleRegistrationNames,b.registrationNameDependencies.hasOwnProperty(p))return!0;if(b=c.hasOwnProperty(T)?c[T]:null,b!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",p,b),zr[p]=!0;if(yd.test(p))return console.error("Unknown event handler property `%s`. It will be ignored.",p),zr[p]=!0}else if(yd.test(p))return Up.test(p)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",p),zr[p]=!0;if(iu.test(p)||v0.test(p))return!0;if(T==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),zr[p]=!0;if(T==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),zr[p]=!0;if(T==="is"&&g!==null&&g!==void 0&&typeof g!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof g),zr[p]=!0;if(typeof g=="number"&&isNaN(g))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",p),zr[p]=!0;if(hd.hasOwnProperty(T)){if(T=hd[T],T!==p)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",p,T),zr[p]=!0}else if(p!==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.",p,T),zr[p]=!0;switch(p){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 g){case"boolean":switch(p){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=p.toLowerCase().slice(0,5),T==="data-"||T==="aria-"?!0:(g?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()}.',g,p,p,g,p):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.',g,p,p,g,p,p,p),zr[p]=!0)}case"function":case"symbol":return zr[p]=!0,!1;case"string":if(g==="false"||g==="true"){switch(p){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}?",g,p,g==="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".',p,g),zr[p]=!0}}return!0}function H(c,p,g){var b=[],T;for(T in p)Y(c,T,p[T],g)||b.push(T);p=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 ",p,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 ",p,c)}function W(c){return c.replace(w0,function(p,g){return g.toUpperCase()})}function M(c){if(typeof c=="boolean"||typeof c=="number"||typeof c=="bigint")return""+c;A(c),c=""+c;var p=Rg.exec(c);if(p){var g="",b,T=0;for(b=p.index;b<c.length;b++){switch(c.charCodeAt(b)){case 34:p="&quot;";break;case 38:p="&amp;";break;case 39:p="&#x27;";break;case 60:p="&lt;";break;case 62:p="&gt;";break;default:continue}T!==b&&(g+=c.slice(T,b)),T=b+1,g+=p}c=T!==b?g+c.slice(T,b):g}return c}function ne(c){return an.test(""+c)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":c}function Ee(c){return A(c),(""+c).replace(Gx,t)}function Ce(c,p,g,b,T){return{idPrefix:c===void 0?"":c,nextFormID:0,streamingFormat:0,bootstrapScriptContent:g,bootstrapScripts:b,bootstrapModules:T,instructions:$s,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function re(c,p,g,b){return{insertionMode:c,selectedValue:p,tagScope:g,viewTransition:b}}function me(c,p,g){var b=c.tagScope&-25;switch(p){case"noscript":return re(ea,null,b|1,null);case"select":return re(ea,g.value!=null?g.value:g.defaultValue,b,null);case"svg":return re(al,null,b,null);case"picture":return re(ea,null,b|2,null);case"math":return re(Hp,null,b,null);case"foreignObject":return re(ea,null,b,null);case"table":return re(Gp,null,b,null);case"thead":case"tbody":case"tfoot":return re(Vp,null,b,null);case"colgroup":return re(Cd,null,b,null);case"tr":return re(zl,null,b,null);case"head":if(c.insertionMode<ea)return re(Wp,null,b,null);break;case"html":if(c.insertionMode===vc)return re(wd,null,b,null)}return c.insertionMode>=Gp||c.insertionMode<ea?re(ea,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 ke(c,p){return p.tagScope&32&&(c.instructions|=128),re(p.insertionMode,p.selectedValue,p.tagScope|12,ce(p.viewTransition))}function be(c,p){c=ce(p.viewTransition);var g=p.tagScope|16;return c!==null&&c.share!=="none"&&(g|=64),re(p.insertionMode,p.selectedValue,g,c)}function Oe(c,p){if(typeof p!="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 g=!0,b;for(b in p)if(Vt.call(p,b)){var T=p[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 B=S;xc.hasOwnProperty(B)&&xc[B]||(xc[B]=!0,console.error("Unsupported style property %s. Did you mean %s?",B,W(B.replace(b0,"ms-"))))}else if(Ux.test(S))B=S,xc.hasOwnProperty(B)&&xc[B]||(xc[B]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",B,B.charAt(0).toUpperCase()+B.slice(1)));else if(zx.test(I)){B=S;var Z=I;Pa.hasOwnProperty(Z)&&Pa[Z]||(Pa[Z]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,B,Z.replace(zx,"")))}typeof I=="number"&&(isNaN(I)?wg||(wg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",S)):isFinite(I)||Cg||(Cg=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",S))),S=b,I=Eg.get(S),I!==void 0||(I=M(S.replace(Wx,"-$1").toLowerCase().replace(In,"-ms-")),Eg.set(S,I)),S=I,typeof T=="number"?T=T===0||Nx.has(b)?""+T:T+"px":(w(T,b),T=M((""+T).trim()))}g?(g=!1,c.push(Vx,S,Yx,T)):c.push(C0,S,Yx,T)}}g||c.push(lt)}function st(c,p,g){g&&typeof g!="function"&&typeof g!="symbol"&&c.push(Yo,p,Yp)}function Ke(c,p,g){typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&c.push(Yo,p,As,M(g),lt)}function je(c,p){this.push('<input type="hidden"'),En(c),Ke(this,"name",p),Ke(this,"value",c),this.push(To)}function En(c){if(typeof c!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function Zt(c,p){if(typeof p.$$FORM_ACTION=="function"){var g=c.nextFormID++;c=c.idPrefix+g;try{var b=p.$$FORM_ACTION(c);if(b){var T=b.data;T?.forEach(En)}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:
574
- %s`,S)}}return null}function Re(c,p,g,b,T,S,I,B){var Z=null;if(typeof b=="function"){B===null||bc||(bc=!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||wc||(wc=!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||Xp||(Xp=!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 G=Zt(p,b);G!==null?(B=G.name,b=G.action||"",T=G.encType,S=G.method,I=G.target,Z=G.data):(c.push(Yo,"formAction",As,Xx,lt),I=S=T=b=B=null,$e(p,g))}return B!=null&&xe(c,"name",B),b!=null&&xe(c,"formAction",b),T!=null&&xe(c,"formEncType",T),S!=null&&xe(c,"formMethod",S),I!=null&&xe(c,"formTarget",I),Z}function xe(c,p,g){switch(p){case"className":Ke(c,"class",g);break;case"tabIndex":Ke(c,"tabindex",g);break;case"dir":case"role":case"viewBox":case"width":case"height":Ke(c,p,g);break;case"style":Oe(c,g);break;case"src":case"href":if(g===""){console.error(p==="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.',p,p);break}case"action":case"formAction":if(g==null||typeof g=="function"||typeof g=="symbol"||typeof g=="boolean")break;x(g,p),g=ne(""+g),c.push(Yo,p,As,M(g),lt);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":st(c,p.toLowerCase(),g);break;case"xlinkHref":if(typeof g=="function"||typeof g=="symbol"||typeof g=="boolean")break;x(g,p),g=ne(""+g),c.push(Yo,"xlink:href",As,M(g),lt);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof g!="function"&&typeof g!="symbol"&&c.push(Yo,p,As,M(g),lt);break;case"inert":g!==""||Ro[p]||(Ro[p]=!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.",p));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":g&&typeof g!="function"&&typeof g!="symbol"&&c.push(Yo,p,Yp);break;case"capture":case"download":g===!0?c.push(Yo,p,Yp):g!==!1&&typeof g!="function"&&typeof g!="symbol"&&c.push(Yo,p,As,M(g),lt);break;case"cols":case"rows":case"size":case"span":typeof g!="function"&&typeof g!="symbol"&&!isNaN(g)&&1<=g&&c.push(Yo,p,As,M(g),lt);break;case"rowSpan":case"start":typeof g=="function"||typeof g=="symbol"||isNaN(g)||c.push(Yo,p,As,M(g),lt);break;case"xlinkActuate":Ke(c,"xlink:actuate",g);break;case"xlinkArcrole":Ke(c,"xlink:arcrole",g);break;case"xlinkRole":Ke(c,"xlink:role",g);break;case"xlinkShow":Ke(c,"xlink:show",g);break;case"xlinkTitle":Ke(c,"xlink:title",g);break;case"xlinkType":Ke(c,"xlink:type",g);break;case"xmlBase":Ke(c,"xml:base",g);break;case"xmlLang":Ke(c,"xml:lang",g);break;case"xmlSpace":Ke(c,"xml:space",g);break;default:if((!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N")&&(p=Bp.get(p)||p,F(p))){switch(typeof g){case"function":case"symbol":return;case"boolean":var b=p.toLowerCase().slice(0,5);if(b!=="data-"&&b!=="aria-")return}c.push(Yo,p,As,M(g),lt)}}}function Ue(c,p,g){if(p!=null){if(g!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof p!="object"||!("__html"in p))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");p=p.__html,p!=null&&(A(p),c.push(""+p))}}function St(c,p){var g=c[p];g!=null&&(g=sl(g),c.multiple&&!g?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",p):!c.multiple&&g&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",p))}function nn(c){var p="";return Op.Children.forEach(c,function(g){g!=null&&(p+=g,lu||typeof g=="string"||typeof g=="number"||typeof g=="bigint"||(lu=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),p}function $e(c,p){if((c.instructions&16)===$s){c.instructions|=16;var g=p.preamble,b=p.bootstrapChunks;(g.htmlChunks||g.headChunks)&&b.length===0?(b.push(p.startInlineScript),Yr(b,c),b.push(At,Jx,bd)):b.unshift(p.startInlineScript,At,Jx,bd)}}function He(c,p){c.push(Ft("link"));for(var g in p)if(Vt.call(p,g)){var b=p[g];if(b!=null)switch(g){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xe(c,g,b)}}return c.push(To),null}function jn(c){return A(c),(""+c).replace(R0,e)}function ho(c,p,g){c.push(Ft(g));for(var b in p)if(Vt.call(p,b)){var T=p[b];if(T!=null)switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(g+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:xe(c,b,T)}}return c.push(To),null}function vs(c,p){c.push(Ft("title"));var g=null,b=null,T;for(T in p)if(Vt.call(p,T)){var S=p[T];if(S!=null)switch(T){case"children":g=S;break;case"dangerouslySetInnerHTML":b=S;break;default:xe(c,T,S)}}return c.push(At),p=Array.isArray(g)?2>g.length?g[0]:null:g,typeof p!="function"&&typeof p!="symbol"&&p!==null&&p!==void 0&&c.push(M(""+p)),Ue(c,b,g),c.push(Pt("title")),null}function ui(c,p){c.push(Ft("script"));var g=null,b=null,T;for(T in p)if(Vt.call(p,T)){var S=p[T];if(S!=null)switch(T){case"children":g=S;break;case"dangerouslySetInnerHTML":b=S;break;default:xe(c,T,S)}}return c.push(At),g!=null&&typeof g!="string"&&(p=typeof g=="number"?"a number for children":Array.isArray(g)?"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.",p)),Ue(c,b,g),typeof g=="string"&&c.push(Ee(g)),c.push(Pt("script")),null}function qe(c,p,g){c.push(Ft(g));var b=g=null,T;for(T in p)if(Vt.call(p,T)){var S=p[T];if(S!=null)switch(T){case"children":g=S;break;case"dangerouslySetInnerHTML":b=S;break;default:xe(c,T,S)}}return c.push(At),Ue(c,b,g),g}function xn(c,p,g){c.push(Ft(g));var b=g=null,T;for(T in p)if(Vt.call(p,T)){var S=p[T];if(S!=null)switch(T){case"children":g=S;break;case"dangerouslySetInnerHTML":b=S;break;default:xe(c,T,S)}}return c.push(At),Ue(c,b,g),typeof g=="string"?(c.push(M(g)),null):g}function Ft(c){var p=Fg.get(c);if(p===void 0){if(!Kx.test(c))throw Error("Invalid tag: "+c);p="<"+c,Fg.set(c,p)}return p}function rn(c,p,g,b,T,S,I,B,Z){N(p,g),p!=="input"&&p!=="textarea"&&p!=="select"||g==null||g.value!==null||ou||(ou=!0,p==="select"&&g.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.",p):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",p));e:if(p.indexOf("-")===-1)var G=!1;else switch(p){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":G=!1;break e;default:G=!0}switch(G||typeof g.is=="string"||H(p,g,null),!g.suppressContentEditableWarning&&g.contentEditable&&g.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."),B.insertionMode!==al&&B.insertionMode!==Hp&&p.indexOf("-")===-1&&p.toLowerCase()!==p&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",p),p){case"div":case"span":case"svg":case"path":break;case"a":c.push(Ft("a"));var J=null,ae=null,se;for(se in g)if(Vt.call(g,se)){var pe=g[se];if(pe!=null)switch(se){case"children":J=pe;break;case"dangerouslySetInnerHTML":ae=pe;break;case"href":pe===""?Ke(c,"href",""):xe(c,se,pe);break;default:xe(c,se,pe)}}if(c.push(At),Ue(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",g),St(g,"value"),St(g,"defaultValue"),g.value===void 0||g.defaultValue===void 0||Td||(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"),Td=!0),c.push(Ft("select"));var Ze=null,Qt=null,Me;for(Me in g)if(Vt.call(g,Me)){var ht=g[Me];if(ht!=null)switch(Me){case"children":Ze=ht;break;case"dangerouslySetInnerHTML":Qt=ht;break;case"defaultValue":case"value":break;default:xe(c,Me,ht)}}return c.push(At),Ue(c,Qt,Ze),Ze;case"option":var Kr=B.selectedValue;c.push(Ft("option"));var So=null,pt=null,Dn=null,Os=null,Po;for(Po in g)if(Vt.call(g,Po)){var Ie=g[Po];if(Ie!=null)switch(Po){case"children":So=Ie;break;case"selected":Dn=Ie,Wr||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Wr=!0);break;case"dangerouslySetInnerHTML":Os=Ie;break;case"value":pt=Ie;default:xe(c,Po,Ie)}}if(Kr!=null){if(pt!==null){x(pt,"value");var gr=""+pt}else Os===null||Ag||(Ag=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),gr=nn(So);if(sl(Kr)){for(var xi=0;xi<Kr.length;xi++)if(x(Kr[xi],"value"),""+Kr[xi]===gr){c.push(' selected=""');break}}else x(Kr,"select.value"),""+Kr===gr&&c.push(' selected=""')}else Dn&&c.push(' selected=""');return c.push(At),Ue(c,Os,So),So;case"textarea":D("textarea",g),g.value===void 0||g.defaultValue===void 0||Pg||(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"),Pg=!0),c.push(Ft("textarea"));var cn=null,Er=null,Sr=null,qn;for(qn in g)if(Vt.call(g,qn)){var vi=g[qn];if(vi!=null)switch(qn){case"children":Sr=vi;break;case"value":cn=vi;break;case"defaultValue":Er=vi;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:xe(c,qn,vi)}}if(cn===null&&Er!==null&&(cn=Er),c.push(At),Sr!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),cn!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(sl(Sr)){if(1<Sr.length)throw Error("<textarea> can only have at most one child.");A(Sr[0]),cn=""+Sr[0]}A(Sr),cn=""+Sr}return typeof cn=="string"&&cn[0]===`
575
- `&&c.push(Jp),cn!==null&&(x(cn,"value"),c.push(M(""+cn))),null;case"input":D("input",g),c.push(Ft("input"));var Ms=null,Zr=null,$n=null,un=null,Ao=null,dn=null,ia=null,Qr=null,Is=null,bn;for(bn in g)if(Vt.call(g,bn)){var pn=g[bn];if(pn!=null)switch(bn){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":Ms=pn;break;case"formAction":Zr=pn;break;case"formEncType":$n=pn;break;case"formMethod":un=pn;break;case"formTarget":Ao=pn;break;case"defaultChecked":Is=pn;break;case"defaultValue":ia=pn;break;case"checked":Qr=pn;break;case"value":dn=pn;break;default:xe(c,bn,pn)}}Zr===null||g.type==="image"||g.type==="submit"||ko||(ko=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".'));var Ko=Re(c,b,T,Zr,$n,un,Ao,Ms);return Qr===null||Is===null||Rd||(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",g.type),Rd=!0),dn===null||ia===null||Sg||(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",g.type),Sg=!0),Qr!==null?st(c,"checked",Qr):Is!==null&&st(c,"checked",Is),dn!==null?xe(c,"value",dn):ia!==null&&xe(c,"value",ia),c.push(To),Ko?.forEach(je,c),null;case"button":c.push(Ft("button"));var Zo=null,Fa=null,Jl=null,Qo=null,Ds=null,kc=null,_s=null,sa;for(sa in g)if(Vt.call(g,sa)){var jo=g[sa];if(jo!=null)switch(sa){case"children":Zo=jo;break;case"dangerouslySetInnerHTML":Fa=jo;break;case"name":Jl=jo;break;case"formAction":Qo=jo;break;case"formEncType":Ds=jo;break;case"formMethod":kc=jo;break;case"formTarget":_s=jo;break;default:xe(c,sa,jo)}}Qo===null||g.type==null||g.type==="submit"||ko||(ko=!0,console.error('A button can only specify a formAction along with type="submit" or no type.'));var a=Re(c,b,T,Qo,Ds,kc,_s,Jl);if(c.push(At),a?.forEach(je,c),Ue(c,Fa,Zo),typeof Zo=="string"){c.push(M(Zo));var l=null}else l=Zo;return l;case"form":c.push(Ft("form"));var m=null,v=null,R=null,E=null,O=null,_=null,X;for(X in g)if(Vt.call(g,X)){var U=g[X];if(U!=null)switch(X){case"children":m=U;break;case"dangerouslySetInnerHTML":v=U;break;case"action":R=U;break;case"encType":E=U;break;case"method":O=U;break;case"target":_=U;break;default:xe(c,X,U)}}var V=null,$=null;if(typeof R=="function"){E===null&&O===null||wc||(wc=!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||Xp||(Xp=!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=Zt(b,R);ee!==null?(R=ee.action||"",E=ee.encType,O=ee.method,_=ee.target,V=ee.data,$=ee.name):(c.push(Yo,"action",As,Xx,lt),_=O=E=R=null,$e(b,T))}if(R!=null&&xe(c,"action",R),E!=null&&xe(c,"encType",E),O!=null&&xe(c,"method",O),_!=null&&xe(c,"target",_),c.push(At),$!==null&&(c.push('<input type="hidden"'),Ke(c,"name",$),c.push(To),V?.forEach(je,c)),Ue(c,v,m),typeof m=="string"){c.push(M(m));var ie=null}else ie=m;return ie;case"menuitem":c.push(Ft("menuitem"));for(var j in g)if(Vt.call(g,j)){var De=g[j];if(De!=null)switch(j){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:xe(c,j,De)}}return c.push(At),null;case"object":c.push(Ft("object"));var wt=null,Fe=null,Ge;for(Ge in g)if(Vt.call(g,Ge)){var Mt=g[Ge];if(Mt!=null)switch(Ge){case"children":wt=Mt;break;case"dangerouslySetInnerHTML":Fe=Mt;break;case"data":x(Mt,"data");var Pr=ne(""+Mt);if(Pr===""){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.',Ge,Ge);break}c.push(Yo,"data",As,M(Pr),lt);break;default:xe(c,Ge,Mt)}}if(c.push(At),Ue(c,Fe,wt),typeof wt=="string"){c.push(M(wt));var nt=null}else nt=wt;return nt;case"title":var _e=B.tagScope&1,qo=B.tagScope&4;if(Vt.call(g,"children")){var _n=g.children,yt=Array.isArray(_n)?2>_n.length?_n[0]:null:_n;Array.isArray(_n)&&1<_n.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>.",_n.length):typeof yt=="function"||typeof yt=="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 yt=="function"?"a Function":"a Sybmol"):yt&&yt.toString==={}.toString&&(yt.$$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(B.insertionMode===al||_e||g.itemProp!=null)var Tt=vs(c,g);else qo?Tt=null:(vs(T.hoistableChunks,g),Tt=void 0);return Tt;case"link":var hr=B.tagScope&1,er=B.tagScope&4,so=g.rel,xt=g.href,kt=g.precedence;if(B.insertionMode===al||hr||g.itemProp!=null||typeof so!="string"||typeof xt!="string"||xt===""){so==="stylesheet"&&typeof g.precedence=="string"&&(typeof xt=="string"&&xt||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.',xt===null?"`null`":xt===void 0?"`undefined`":xt===""?"an empty string":'something with type "'+typeof xt+'"')),He(c,g);var Kn=null}else if(g.rel==="stylesheet")if(typeof kt!="string"||g.disabled!=null||g.onLoad||g.onError){if(typeof kt=="string"){if(g.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(g.onLoad||g.onError){var Hr=g.onLoad&&g.onError?"`onLoad` and `onError` props":g.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.',Hr,Hr)}}Kn=He(c,g)}else{var It=T.styles.get(kt),Ve=b.styleResources.hasOwnProperty(xt)?b.styleResources[xt]:void 0;if(Ve!==Yn){b.styleResources[xt]=Yn,It||(It={precedence:M(kt),rules:[],hrefs:[],sheets:new Map},T.styles.set(kt,It));var fn={state:Hg,props:pr({},g,{"data-precedence":g.precedence,precedence:null})};if(Ve){Ve.length===2&&z(fn.props,Ve);var mn=T.preloads.stylesheets.get(xt);mn&&0<mn.length?mn.length=0:fn.state=Gg}It.sheets.set(xt,fn),I&&I.stylesheets.add(fn)}else if(It){var ao=It.sheets.get(xt);ao&&I&&I.stylesheets.add(ao)}Z&&c.push("<!-- -->"),Kn=null}else g.onLoad||g.onError?Kn=He(c,g):(Z&&c.push("<!-- -->"),Kn=er?null:He(T.hoistableChunks,g));return Kn;case"script":var Fo=B.tagScope&1,Ar=g.async;if(typeof g.src!="string"||!g.src||!Ar||typeof Ar=="function"||typeof Ar=="symbol"||g.onLoad||g.onError||B.insertionMode===al||Fo||g.itemProp!=null)var $o=ui(c,g);else{var bi=g.src;if(g.type==="module")var tr=b.moduleScriptResources,Ec=T.preloads.moduleScripts;else tr=b.scriptResources,Ec=T.preloads.scripts;var Ji=tr.hasOwnProperty(bi)?tr[bi]:void 0;if(Ji!==Yn){tr[bi]=Yn;var Oa=g;if(Ji){Ji.length===2&&(Oa=pr({},g),z(Oa,Ji));var ul=Ec.get(bi);ul&&(ul.length=0)}var Ma=[];T.scripts.add(Ma),ui(Ma,Oa)}Z&&c.push("<!-- -->"),$o=null}return $o;case"style":var dl=B.tagScope&1;if(Vt.call(g,"children")){var aa=g.children,lo=Array.isArray(aa)?2>aa.length?aa[0]:null:aa;(typeof lo=="function"||typeof lo=="symbol"||Array.isArray(lo))&&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 lo=="function"?"a Function":typeof lo=="symbol"?"a Sybmol":"an Array")}var wi=g.precedence,nr=g.href,la=g.nonce;if(B.insertionMode===al||dl||g.itemProp!=null||typeof wi!="string"||typeof nr!="string"||nr===""){c.push(Ft("style"));var Ki=null,jr=null,Ia;for(Ia in g)if(Vt.call(g,Ia)){var yr=g[Ia];if(yr!=null)switch(Ia){case"children":Ki=yr;break;case"dangerouslySetInnerHTML":jr=yr;break;default:xe(c,Ia,yr)}}c.push(At);var ei=Array.isArray(Ki)?2>Ki.length?Ki[0]:null:Ki;typeof ei!="function"&&typeof ei!="symbol"&&ei!==null&&ei!==void 0&&c.push(jn(ei)),Ue(c,jr,Ki),c.push(Pt("style"));var Ls=null}else{nr.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".',nr);var Oo=T.styles.get(wi),Ci=b.styleResources.hasOwnProperty(nr)?b.styleResources[nr]:void 0;if(Ci!==Yn){b.styleResources[nr]=Yn,Ci&&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.',nr),Oo||(Oo={precedence:M(wi),rules:[],hrefs:[],sheets:new Map},T.styles.set(wi,Oo));var Mo=T.nonce.style;if(Mo&&Mo!==la)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.',wi,la,Mo);else{!Mo&&la&&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.',wi,la),Oo.hrefs.push(M(nr));var Da=Oo.rules,co=null,ti=null,pl;for(pl in g)if(Vt.call(g,pl)){var ca=g[pl];if(ca!=null)switch(pl){case"children":co=ca;break;case"dangerouslySetInnerHTML":ti=ca}}var ua=Array.isArray(co)?2>co.length?co[0]:null:co;typeof ua!="function"&&typeof ua!="symbol"&&ua!==null&&ua!==void 0&&Da.push(jn(ua)),Ue(Da,ti,co)}}Oo&&I&&I.styles.add(Oo),Z&&c.push("<!-- -->"),Ls=void 0}return Ls;case"meta":var Sc=B.tagScope&1,yf=B.tagScope&4;if(B.insertionMode===al||Sc||g.itemProp!=null)var Zi=ho(c,g,"meta");else Z&&c.push("<!-- -->"),Zi=yf?null:typeof g.charSet=="string"?ho(T.charsetChunks,g,"meta"):g.name==="viewport"?ho(T.viewportChunks,g,"meta"):ho(T.hoistableChunks,g,"meta");return Zi;case"listing":case"pre":c.push(Ft(p));var uo=null,Kl=null,Zl;for(Zl in g)if(Vt.call(g,Zl)){var Pc=g[Zl];if(Pc!=null)switch(Zl){case"children":uo=Pc;break;case"dangerouslySetInnerHTML":Kl=Pc;break;default:xe(c,Zl,Pc)}}if(c.push(At),Kl!=null){if(uo!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Kl!="object"||!("__html"in Kl))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var _a=Kl.__html;_a!=null&&(typeof _a=="string"&&0<_a.length&&_a[0]===`
576
- `?c.push(Jp,_a):(A(_a),c.push(""+_a)))}return typeof uo=="string"&&uo[0]===`
577
- `&&c.push(Jp),uo;case"img":var fl=B.tagScope&3,Ln=g.src,Nn=g.srcSet;if(!(g.loading==="lazy"||!Ln&&!Nn||typeof Ln!="string"&&Ln!=null||typeof Nn!="string"&&Nn!=null||g.fetchPriority==="low"||fl)&&(typeof Ln!="string"||Ln[4]!==":"||Ln[0]!=="d"&&Ln[0]!=="D"||Ln[1]!=="a"&&Ln[1]!=="A"||Ln[2]!=="t"&&Ln[2]!=="T"||Ln[3]!=="a"&&Ln[3]!=="A")&&(typeof Nn!="string"||Nn[4]!==":"||Nn[0]!=="d"&&Nn[0]!=="D"||Nn[1]!=="a"&&Nn[1]!=="A"||Nn[2]!=="t"&&Nn[2]!=="T"||Nn[3]!=="a"&&Nn[3]!=="A")){I!==null&&B.tagScope&64&&(I.suspenseyImages=!0);var La=typeof g.sizes=="string"?g.sizes:void 0,Na=Nn?Nn+`
578
- `+(La||""):Ln,Ac=T.preloads.images,rr=Ac.get(Na);if(rr)(g.fetchPriority==="high"||10>T.highImagePreloads.size)&&(Ac.delete(Na),T.highImagePreloads.add(rr));else if(!b.imageResources.hasOwnProperty(Na)){b.imageResources[Na]=Hi;var Qi=g.crossOrigin,ml=typeof Qi=="string"?Qi==="use-credentials"?Qi:"":void 0,da=T.headers,Ns;da&&0<da.remainingCapacity&&typeof g.srcSet!="string"&&(g.fetchPriority==="high"||500>da.highImagePreloads.length)&&(Ns=oe(Ln,"image",{imageSrcSet:g.srcSet,imageSizes:g.sizes,crossOrigin:ml,integrity:g.integrity,nonce:g.nonce,type:g.type,fetchPriority:g.fetchPriority,referrerPolicy:g.refererPolicy}),0<=(da.remainingCapacity-=Ns.length+2))?(T.resets.image[Na]=Hi,da.highImagePreloads&&(da.highImagePreloads+=", "),da.highImagePreloads+=Ns):(rr=[],He(rr,{rel:"preload",as:"image",href:Nn?void 0:Ln,imageSrcSet:Nn,imageSizes:La,crossOrigin:ml,integrity:g.integrity,type:g.type,fetchPriority:g.fetchPriority,referrerPolicy:g.referrerPolicy}),g.fetchPriority==="high"||10>T.highImagePreloads.size?T.highImagePreloads.add(rr):(T.bulkPreloads.add(rr),Ac.set(Na,rr)))}}return ho(c,g,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return ho(c,g,p);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(B.insertionMode<ea){var Yt=S||T.preamble;if(Yt.headChunks)throw Error("The `<head>` tag may only be rendered once.");S!==null&&c.push("<!--head-->"),Yt.headChunks=[];var Io=qe(Yt.headChunks,g,"head")}else Io=xn(c,g,"head");return Io;case"body":if(B.insertionMode<ea){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 fu=qe(qr.bodyChunks,g,"body")}else fu=xn(c,g,"body");return fu;case"html":if(B.insertionMode===vc){var Ql=S||T.preamble;if(Ql.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");S!==null&&c.push("<!--html-->"),Ql.htmlChunks=[Q0];var Fc=qe(Ql.htmlChunks,g,"html")}else Fc=xn(c,g,"html");return Fc;default:if(p.indexOf("-")!==-1){c.push(Ft(p));var Oc=null,gl=null,Bs;for(Bs in g)if(Vt.call(g,Bs)){var Ri=g[Bs];if(Ri!=null){var jl=Bs;switch(Bs){case"children":Oc=Ri;break;case"dangerouslySetInnerHTML":gl=Ri;break;case"style":Oe(c,Ri);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":jl="class";default:if(F(Bs)&&typeof Ri!="function"&&typeof Ri!="symbol"&&Ri!==!1){if(Ri===!0)Ri="";else if(typeof Ri=="object")continue;c.push(Yo,jl,As,M(Ri),lt)}}}}return c.push(At),Ue(c,gl,Oc),Oc}}return xn(c,g,p)}function Pt(c){var p=Og.get(c);return p===void 0&&(p="</"+c+">",Og.set(c,p)),p}function Sn(c,p){c=c.preamble,c.htmlChunks===null&&p.htmlChunks&&(c.htmlChunks=p.htmlChunks),c.headChunks===null&&p.headChunks&&(c.headChunks=p.headChunks),c.bodyChunks===null&&p.bodyChunks&&(c.bodyChunks=p.bodyChunks)}function ze(c,p){p=p.bootstrapChunks;for(var g=0;g<p.length-1;g++)c.push(p[g]);return g<p.length?(g=p[g],p.length=0,c.push(g)):!0}function Pn(c,p,g){if(c.push(Zx),g===null)throw Error("An ID must have been assigned before we can complete the boundary.");return c.push(p.boundaryPrefix),p=g.toString(16),c.push(p),c.push(cu)}function Zs(c,p,g,b){switch(g.insertionMode){case vc:case wd:case Wp:case ea:return c.push(ta),c.push(p.segmentPrefix),p=b.toString(16),c.push(p),c.push(Qx);case al:return c.push(jx),c.push(p.segmentPrefix),p=b.toString(16),c.push(p),c.push(A0);case Hp:return c.push(Fs),c.push(p.segmentPrefix),p=b.toString(16),c.push(p),c.push(Xn);case Gp:return c.push(qx),c.push(p.segmentPrefix),p=b.toString(16),c.push(p),c.push($x);case Vp:return c.push(Sd),c.push(p.segmentPrefix),p=b.toString(16),c.push(p),c.push(ev);case zl:return c.push(nv),c.push(p.segmentPrefix),p=b.toString(16),c.push(p),c.push(rv);case Cd:return c.push(iv),c.push(p.segmentPrefix),p=b.toString(16),c.push(p),c.push(sv);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function Wn(c,p){switch(p.insertionMode){case vc:case wd:case Wp:case ea:return c.push(P0);case al:return c.push(Xo);case Hp:return c.push(_g);case Gp:return c.push(Jn);case Vp:return c.push(tv);case zl:return c.push(ov);case Cd:return c.push(Qp);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function ar(c){return JSON.stringify(c).replace(U0,function(p){switch(p){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 Hn(c){return JSON.stringify(c).replace(z0,function(p){switch(p){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 vt(c){var p=c.rules,g=c.hrefs;0<p.length&&g.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(g.length){for(this.push(au.startInlineStyle),this.push(W0),this.push(c.precedence),this.push(H0);b<g.length-1;b++)this.push(g[b]),this.push(uv);for(this.push(g[b]),this.push(G0),b=0;b<p.length;b++)this.push(p[b]);Ug=this.push(V0),ef=!0,p.length=0,g.length=0}}function zo(c){return c.state!==Vg?ef=!0:!1}function Nt(c,p,g){return ef=!1,Ug=!0,au=g,p.styles.forEach(vt,c),au=null,p.stylesheets.forEach(zo),ef&&(g.stylesToHoist=!0),Ug}function Gn(c){for(var p=0;p<c.length;p++)this.push(c[p]);c.length=0}function Bi(c){He(Wl,c.props);for(var p=0;p<Wl.length;p++)this.push(Wl[p]);Wl.length=0,c.state=Vg}function lr(c){var p=0<c.sheets.size;c.sheets.forEach(Bi,this),c.sheets.clear();var g=c.rules,b=c.hrefs;if(!p||b.length){if(this.push(au.startInlineStyle),this.push(tf),this.push(c.precedence),c=0,b.length){for(this.push(Y0);c<b.length-1;c++)this.push(b[c]),this.push(uv);this.push(b[c])}for(this.push(X0),c=0;c<g.length;c++)this.push(g[c]);this.push(J0),g.length=0,b.length=0}}function bs(c){if(c.state===Hg){c.state=Gg;var p=c.props;for(He(Wl,{rel:"preload",as:"style",href:c.props.href,crossOrigin:p.crossOrigin,fetchPriority:p.fetchPriority,integrity:p.integrity,media:p.media,hrefLang:p.hrefLang,referrerPolicy:p.referrerPolicy}),c=0;c<Wl.length;c++)this.push(Wl[c]);Wl.length=0}}function yo(c){c.sheets.forEach(bs,this),c.sheets.clear()}function Yr(c,p){(p.instructions&vd)===$s&&(p.instructions|=vd,c.push(dv,M("_"+p.idPrefix+"R_"),lt))}function cr(c,p){c.push(pv);var g=pv;p.stylesheets.forEach(function(b){if(b.state!==Vg)if(b.state===mv)c.push(g),b=b.props.href,x(b,"href"),b=Hn(""+b),c.push(b),c.push(Wg),g=fv;else{c.push(g);var T=b.props["data-precedence"],S=b.props,I=ne(""+b.props.href);I=Hn(I),c.push(I),x(T,"precedence"),T=""+T,c.push(zg),T=Hn(T),c.push(T);for(var B in S)if(Vt.call(S,B)&&(T=S[B],T!=null))switch(B){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:Ra(c,B,T)}c.push(Wg),g=fv,b.state=mv}}),c.push(Wg)}function Ra(c,p,g){var b=p.toLowerCase();switch(typeof g){case"function":case"symbol":return}switch(p){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":b="class",x(g,b),p=""+g;break;case"hidden":if(g===!1)return;p="";break;case"src":case"href":g=ne(g),x(g,b),p=""+g;break;default:if(2<p.length&&(p[0]==="o"||p[0]==="O")&&(p[1]==="n"||p[1]==="N")||!F(p))return;x(g,b),p=""+g}c.push(zg),b=Hn(b),c.push(b),c.push(zg),b=Hn(p),c.push(b)}function ur(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function P(c,p,g,b){(c.scriptResources.hasOwnProperty(g)||c.moduleScriptResources.hasOwnProperty(g))&&console.error('Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue',g),c.scriptResources[g]=Yn,c.moduleScriptResources[g]=Yn,c=[],He(c,b),p.bootstrapScripts.add(c)}function z(c,p){c.crossOrigin==null&&(c.crossOrigin=p[0]),c.integrity==null&&(c.integrity=p[1])}function oe(c,p,g){c=de(c),p=Le(p,"as"),p="<"+c+'>; rel=preload; as="'+p+'"';for(var b in g)Vt.call(g,b)&&(c=g[b],typeof c=="string"&&(p+="; "+b.toLowerCase()+'="'+Le(c,b)+'"'));return p}function de(c){return x(c,"href"),(""+c).replace(K0,Te)}function Te(c){switch(c){case"<":return"%3C";case">":return"%3E";case`
579
- `: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 Le(c,p){return h(c)&&(console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",p,f(c)),y(c)),(""+c).replace(Z0,Ne)}function Ne(c){switch(c){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
580
- `: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 bt(c){this.styles.add(c)}function Ye(c){this.stylesheets.add(c)}function ct(c,p){p.styles.forEach(bt,c),p.stylesheets.forEach(Ye,c),p.suspenseyImages&&(c.suspenseyImages=!0)}function Dr(c,p){var g=c.idPrefix,b=[],T=c.bootstrapScriptContent,S=c.bootstrapScripts,I=c.bootstrapModules;if(T!==void 0&&(b.push("<script"),Yr(b,c),b.push(At,Ee(T),bd)),g={placeholderPrefix:g+"P:",segmentPrefix:g+"S:",boundaryPrefix:g+"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 B=S[T],Z,G=void 0,J=void 0,ae={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof B=="string"?ae.href=Z=B:(ae.href=Z=B.src,ae.integrity=J=typeof B.integrity=="string"?B.integrity:void 0,ae.crossOrigin=G=typeof B=="string"||B.crossOrigin==null?void 0:B.crossOrigin==="use-credentials"?"use-credentials":""),P(c,g,Z,ae),b.push('<script src="',M(Z),lt),typeof J=="string"&&b.push(' integrity="',M(J),lt),typeof G=="string"&&b.push(' crossorigin="',M(G),lt),Yr(b,c),b.push(' async=""></script>')}if(I!==void 0)for(S=0;S<I.length;S++)T=I[S],G=Z=void 0,J={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof T=="string"?J.href=B=T:(J.href=B=T.src,J.integrity=G=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,g,B,J),b.push('<script type="module" src="',M(B),lt),typeof G=="string"&&b.push(' integrity="',M(G),lt),typeof Z=="string"&&b.push(' crossorigin="',M(Z),lt),Yr(b,c),b.push(' async=""></script>');return{placeholderPrefix:g.placeholderPrefix,segmentPrefix:g.segmentPrefix,boundaryPrefix:g.boundaryPrefix,startInlineScript:g.startInlineScript,startInlineStyle:g.startInlineStyle,preamble:g.preamble,externalRuntimeScript:g.externalRuntimeScript,bootstrapChunks:g.bootstrapChunks,importMapChunks:g.importMapChunks,onHeaders:g.onHeaders,headers:g.headers,resets:g.resets,charsetChunks:g.charsetChunks,viewportChunks:g.viewportChunks,hoistableChunks:g.hoistableChunks,preconnects:g.preconnects,fontPreloads:g.fontPreloads,highImagePreloads:g.highImagePreloads,styles:g.styles,bootstrapScripts:g.bootstrapScripts,scripts:g.scripts,bulkPreloads:g.bulkPreloads,preloads:g.preloads,nonce:g.nonce,stylesToHoist:g.stylesToHoist,generateStaticMarkup:p}}function wr(c,p,g,b){return g.generateStaticMarkup?(c.push(M(p)),!1):(p===""?c=b:(b&&c.push("<!-- -->"),c.push(M(p)),c=!0),c)}function An(c,p,g,b){p.generateStaticMarkup||g&&b&&c.push("<!-- -->")}function ut(c){if(c==null)return null;if(typeof c=="function")return c.$$typeof===q0?null:c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case ru:return"Fragment";case hg:return"Profiler";case Mp:return"StrictMode";case md:return"Suspense";case Sa:return"SuspenseList";case gd: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 nu:return"Portal";case Ul:return c.displayName||"Context";case Ip:return(c._context.displayName||"Context")+".Consumer";case qs:var p=c.render;return c=c.displayName,c||(c=p.displayName||p.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case Ps:return p=c.displayName||null,p!==null?p:ut(c.type)||"Memo";case Mn:p=c._payload,c=c._init;try{return ut(c(p))}catch{}}return null}function di(c,p){if(c!==p){c.context._currentValue2=c.parentValue,c=c.parent;var g=p.parent;if(c===null){if(g!==null)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(g===null)throw Error("The stacks must reach the root at the same time. This is a bug in React.");di(c,g)}p.context._currentValue2=p.value}}function ws(c){c.context._currentValue2=c.parentValue,c=c.parent,c!==null&&ws(c)}function Ol(c){var p=c.parent;p!==null&&Ol(p),c.context._currentValue2=c.value}function Zc(c,p){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===p.depth?di(c,p):Zc(c,p)}function Ta(c,p){var g=p.parent;if(g===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");c.depth===g.depth?di(c,g):Ta(c,g),p.context._currentValue2=p.value}function _r(c){var p=Cc;p!==c&&(p===null?Ol(c):c===null?ws(p):p.depth===c.depth?di(p,c):p.depth>c.depth?Zc(p,c):Ta(p,c),Cc=c)}function pi(c){if(c!==null&&typeof c!="function"){var p=String(c);Tv.has(p)||(Tv.add(p),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c))}}function gt(c,p){c=(c=c.constructor)&&ut(c)||"ReactClass";var g=c+"."+p;gv[g]||(console.error(`Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
581
-
582
- Please check the code for the %s component.`,p,c),gv[g]=!0)}function xo(c,p,g){var b=c.id;c=c.overflow;var T=32-rf(b)-1;b&=~(1<<T),g+=1;var S=32-rf(p)+T;if(30<S){var I=T-T%5;return S=(b&(1<<I)-1).toString(32),b>>=I,T-=I,{id:1<<32-rf(p)+T|g<<T|b,overflow:S+c}}return{id:1<<S|g<<T|b,overflow:c}}function Cs(c){return c>>>=0,c===0?32:31-(eT(c)/tT|0)|0}function Fn(){}function Ml(c,p,g){switch(g=c[g],g===void 0?c.push(p):g!==p&&(p.then(Fn,Fn),p=g),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(Fn,Fn):(c=p,c.status="pending",c.then(function(b){if(p.status==="pending"){var T=p;T.status="fulfilled",T.value=b}},function(b){if(p.status==="pending"){var T=p;T.status="rejected",T.reason=b}})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}throw of=p,Vi}}function Qs(){if(of===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var c=of;return of=null,c}function Rs(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}function dr(){if(cl===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:
583
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
584
- 2. You might be breaking the Rules of Hooks
585
- 3. You might have more than one copy of React in the same app
586
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return na&&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"),cl}function eo(){if(0<lf)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ui(){return ln===null?sf===null?(Pd=!1,sf=ln=eo()):(Pd=!0,ln=sf):ln.next===null?(Pd=!1,ln=ln.next=eo()):(Pd=!0,ln=ln.next),ln}function Cr(){var c=Yi;return Yi=null,c}function vn(){na=!1,Jg=uu=Xg=cl=null,af=!1,sf=null,lf=0,ln=Gl=null}function fi(c){return na&&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 vo(c,p){return typeof p=="function"?p(c):p}function mi(c,p,g){if(c!==vo&&(Od="useReducer"),cl=dr(),ln=Ui(),Pd){if(g=ln.queue,p=g.dispatch,Gl!==null){var b=Gl.get(g);if(b!==void 0){Gl.delete(g),g=ln.memoizedState;do{var T=b.action;na=!0,g=c(g,T),na=!1,b=b.next}while(b!==null);return ln.memoizedState=g,[g,p]}}return[ln.memoizedState,p]}return na=!0,c=c===vo?typeof p=="function"?p():p:g!==void 0?g(p):p,na=!1,ln.memoizedState=c,c=ln.queue={last:null,dispatch:null},c=c.dispatch=Xr.bind(null,cl,c),[ln.memoizedState,c]}function bo(c,p){if(cl=dr(),ln=Ui(),p=p===void 0?null:p,ln!==null){var g=ln.memoizedState;if(g!==null&&p!==null){e:{var b=g[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.",Od),b=!1;else{p.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.
587
-
588
- Previous: %s
589
- Incoming: %s`,Od,"["+p.join(", ")+"]","["+b.join(", ")+"]");for(var T=0;T<b.length&&T<p.length;T++)if(!nT(p[T],b[T])){b=!1;break e}b=!0}}if(b)return g[0]}}return na=!0,c=c(),na=!1,ln.memoizedState=[c,p],c}function Xr(c,p,g){if(25<=lf)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c===cl)if(af=!0,c={action:g,next:null},Gl===null&&(Gl=new Map),g=Gl.get(p),g===void 0)Gl.set(p,c);else{for(p=g;p.next!==null;)p=p.next;p.next=c}}function el(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function Ts(){throw Error("startTransition cannot be called during server rendering.")}function Lr(){throw Error("Cannot update optimistic state while rendering.")}function tl(c,p,g){dr();var b=Fd++,T=uu;if(typeof c.$$FORM_ACTION=="function"){var S=null,I=Jg;T=T.formState;var B=c.$$IS_SIGNATURE_EQUAL;if(T!==null&&typeof B=="function"){var Z=T[1];B.call(c,T[2],T[3])&&(S=g!==void 0?"p"+g:"k"+d(JSON.stringify([I,null,b]),0),Z===S&&(Hl=b,p=T[0]))}var G=c.bind(null,p);return c=function(ae){G(ae)},typeof G.$$FORM_ACTION=="function"&&(c.$$FORM_ACTION=function(ae){ae=G.$$FORM_ACTION(ae),g!==void 0&&(x(g,"target"),g+="",ae.action=g);var se=ae.data;return se&&(S===null&&(S=g!==void 0?"p"+g:"k"+d(JSON.stringify([I,null,b]),0)),se.append("$ACTION_KEY",S)),ae}),[p,c,!1]}var J=c.bind(null,p);return[p,function(ae){J(ae)},!1]}function gi(c){var p=du;return du+=1,Yi===null&&(Yi=[]),Ml(Yi,c,p)}function ka(){throw Error("Cache cannot be refreshed during server rendering.")}function Wo(){}function ad(){if(Rc===0){cf=console.log,uf=console.info,df=console.warn,pf=console.error,Kg=console.group,Pv=console.groupCollapsed,Av=console.groupEnd;var c={configurable:!0,enumerable:!0,value:Wo,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}Rc++}function ld(){if(Rc--,Rc===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:pr({},c,{value:cf}),info:pr({},c,{value:uf}),warn:pr({},c,{value:df}),error:pr({},c,{value:pf}),group:pr({},c,{value:Kg}),groupCollapsed:pr({},c,{value:Pv}),groupEnd:pr({},c,{value:Av})})}0>Rc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function nl(c){var p=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,c=c.stack,Error.prepareStackTrace=p,c.startsWith(`Error: react-stack-top-frame
590
- `)&&(c=c.slice(29)),p=c.indexOf(`
591
- `),p!==-1&&(c=c.slice(p+1)),p=c.indexOf("react_stack_bottom_frame"),p!==-1&&(p=c.lastIndexOf(`
592
- `,p)),p!==-1)c=c.slice(0,p);else return"";return c}function Rr(c){if(Zg===void 0)try{throw Error()}catch(g){var p=g.stack.trim().match(/\n( *(at )?)/);Zg=p&&p[1]||"",ff=-1<g.stack.indexOf(`
593
- at`)?" (<anonymous>)":-1<g.stack.indexOf("@")?"@unknown:0:0":""}return`
594
- `+Zg+c+ff}function to(c,p){if(!c||Qg)return"";var g=Xi.get(c);if(g!==void 0)return g;Qg=!0,g=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var b=null;b=fr.H,fr.H=null,ad();try{var T={DetermineComponentFrameRoot:function(){try{if(p){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(),B=I[0],Z=I[1];if(B&&Z){var G=B.split(`
595
- `),J=Z.split(`
596
- `);for(I=S=0;S<G.length&&!G[S].includes("DetermineComponentFrameRoot");)S++;for(;I<J.length&&!J[I].includes("DetermineComponentFrameRoot");)I++;if(S===G.length||I===J.length)for(S=G.length-1,I=J.length-1;1<=S&&0<=I&&G[S]!==J[I];)I--;for(;1<=S&&0<=I;S--,I--)if(G[S]!==J[I]){if(S!==1||I!==1)do if(S--,I--,0>I||G[S]!==J[I]){var ae=`
597
- `+G[S].replace(" at new "," at ");return c.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",c.displayName)),typeof c=="function"&&Xi.set(c,ae),ae}while(1<=S&&0<=I);break}}}finally{Qg=!1,fr.H=b,ld(),Error.prepareStackTrace=g}return G=(G=c?c.displayName||c.name:"")?Rr(G):"",typeof c=="function"&&Xi.set(c,G),G}function wo(c){if(typeof c=="string")return Rr(c);if(typeof c=="function")return c.prototype&&c.prototype.isReactComponent?to(c,!0):to(c,!1);if(typeof c=="object"&&c!==null){switch(c.$$typeof){case qs:return to(c.render,!1);case Ps:return to(c.type,!1);case Mn:var p=c,g=p._payload;p=p._init;try{c=p(g)}catch{return Rr("Lazy")}return wo(c)}if(typeof c.name=="string"){e:{if(g=c.name,p=c.env,c=c.debugLocation,c!=null){c=nl(c);var b=c.lastIndexOf(`
598
- `);if(c=b===-1?c:c.slice(b+1),c.indexOf(g)!==-1){g=`
599
- `+c;break e}}g=Rr(g+(p?" ["+p+"]":""))}return g}}switch(c){case Sa:return Rr("SuspenseList");case md:return Rr("Suspense")}return""}function no(c,p){return(500<p.byteSize||!1)&&p.contentPreamble===null}function ro(c){if(typeof c=="object"&&c!==null&&typeof c.environmentName=="string"){var p=c.environmentName;c=[c].slice(0),typeof c[0]=="string"?c.splice(0,1,"[%s] "+c[0]," "+p+" "):c.splice(0,0,"[%s]"," "+p+" "),c.unshift(console),p=j0.apply(console.error,c),p()}else console.error(c);return null}function Qc(c,p,g,b,T,S,I,B,Z,G,J){var ae=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=c,this.renderState=p,this.rootFormatContext=g,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?ro:T,this.onPostpone=G===void 0?Fn:G,this.onAllReady=S===void 0?Fn:S,this.onShellReady=I===void 0?Fn:I,this.onShellError=B===void 0?Fn:B,this.onFatalError=Z===void 0?Fn:Z,this.formState=J===void 0?null:J,this.didWarnForKey=null}function dt(c,p,g,b,T,S,I,B,Z,G,J,ae){var se=th();return 1e3<se-eh&&(fr.recentlyCreatedOwnerStacks=0,eh=se),p=new Qc(p,g,b,T,S,I,B,Z,G,J,ae),g=on(p,0,null,b,!1,!1),g.parentFlushed=!0,c=Tr(p,null,c,-1,null,g,null,null,p.abortableTasks,null,b,null,$0,null,null,ll,null),zi(c),p.pingedTasks.push(c),p}function et(c,p){c.pingedTasks.push(p),c.pingedTasks.length===1&&(c.flushScheduled=c.destination!==null,kp(c))}function Ea(c,p,g,b,T){return g={status:ra,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:p,completedSegments:[],byteSize:0,fallbackAbortableTasks:g,errorDigest:null,contentState:ur(),fallbackState:ur(),contentPreamble:b,fallbackPreamble:T,trackedContentKeyPath:null,trackedFallbackNode:null,errorMessage:null,errorStack:null,errorComponentStack:null},p!==null&&(p.pendingTasks++,b=p.boundaries,b!==null&&(c.allPendingTasks++,g.pendingTasks++,b.push(g)),c=p.inheritedHoistables,c!==null&&ct(g.contentState,c)),g}function Tr(c,p,g,b,T,S,I,B,Z,G,J,ae,se,pe,te,Ze,Qt){c.allPendingTasks++,T===null?c.pendingRootTasks++:T.pendingTasks++,pe!==null&&pe.pendingTasks++;var Me={replay:null,node:g,childIndex:b,ping:function(){return et(c,Me)},blockedBoundary:T,blockedSegment:S,blockedPreamble:I,hoistableState:B,abortSet:Z,keyPath:G,formatContext:J,context:ae,treeContext:se,row:pe,componentStack:te,thenableState:p};return Me.debugTask=Qt,Z.add(Me),Me}function oo(c,p,g,b,T,S,I,B,Z,G,J,ae,se,pe,te,Ze){c.allPendingTasks++,S===null?c.pendingRootTasks++:S.pendingTasks++,se!==null&&se.pendingTasks++,g.pendingTasks++;var Qt={replay:g,node:b,childIndex:T,ping:function(){return et(c,Qt)},blockedBoundary:S,blockedSegment:null,blockedPreamble:null,hoistableState:I,abortSet:B,keyPath:Z,formatContext:G,context:J,treeContext:ae,row:se,componentStack:pe,thenableState:p};return Qt.debugTask=Ze,B.add(Qt),Qt}function on(c,p,g,b,T,S){return{status:ra,parentFlushed:!1,id:-1,index:p,chunks:[],children:[],preambleChildren:[],parentFormatContext:b,boundary:g,lastPushedText:T,textEmbedded:S}}function ks(){if(Jo===null||Jo.componentStack===null)return"";var c=Jo.componentStack;try{var p="";if(typeof c.type=="string")p+=Rr(c.type);else if(typeof c.type=="function"){if(!c.owner){var g=p,b=c.type,T=b?b.displayName||b.name:"",S=T?Rr(T):"";p=g+S}}else c.owner||(p+=wo(c.type));for(;c;)g=null,c.debugStack!=null?g=nl(c.debugStack):(S=c,S.stack!=null&&(g=typeof S.stack!="string"?S.stack=nl(S.stack):S.stack)),(c=c.owner)&&g&&(p+=`
600
- `+g);var I=p}catch(B){I=`
601
- Error generating stack: `+B.message+`
602
- `+B.stack}return I}function Il(c,p){if(p!=null)for(var g=p.length-1;0<=g;g--){var b=p[g];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 sn(c,p){if(p!=null)for(var g=0;g<p.length;g++){var b=p[g];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 zi(c){var p=c.node;if(typeof p=="object"&&p!==null)switch(p.$$typeof){case Bl:var g=p.type,b=p._owner,T=p._debugStack;sn(c,p._debugInfo),c.debugTask=p._debugTask,c.componentStack={parent:c.componentStack,type:g,owner:b,stack:T};break;case Mn:sn(c,p._debugInfo);break;default:typeof p.then=="function"&&sn(c,p._debugInfo)}}function Es(c){return c===null?null:{parent:c.parent,type:"Suspense Fallback",owner:c.owner,stack:c.stack}}function Co(c){var p={};return c&&Object.defineProperty(p,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var g="",b=c;do g+=wo(b.type),b=b.parent;while(b);var T=g}catch(S){T=`
603
- Error generating stack: `+S.message+`
604
- `+S.stack}return Object.defineProperty(p,"componentStack",{value:T}),T}}),p}function Ho(c,p,g,b,T){c.errorDigest=p,g instanceof Error?(p=String(g.message),g=String(g.stack)):(p=typeof g=="object"&&g!==null?u(g):String(g),g=null),T=T?`Switched to client rendering because the server rendering aborted due to:
605
-
606
- `:`Switched to client rendering because the server rendering errored:
607
-
608
- `,c.errorMessage=T+p,c.errorStack=g!==null?T+g:null,c.errorComponentStack=b.componentStack}function On(c,p,g,b){if(c=c.onError,p=b?b.run(c.bind(null,p,g)):c(p,g),p!=null&&typeof p!="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 p);else return p}function hi(c,p,g,b){g=c.onShellError;var T=c.onFatalError;b?(b.run(g.bind(null,p)),b.run(T.bind(null,p))):(g(p),T(p)),c.destination!==null?(c.status=pu,c.destination.destroy(p)):(c.status=13,c.fatalError=p)}function Ht(c,p){Ss(c,p.next,p.hoistables)}function Ss(c,p,g){for(;p!==null;){g!==null&&(ct(p.hoistables,g),p.inheritedHoistables=g);var b=p.boundaries;if(b!==null){p.boundaries=null;for(var T=0;T<b.length;T++){var S=b[T];g!==null&&ct(S.contentState,g),js(c,S,null,null)}}if(p.pendingTasks--,0<p.pendingTasks)break;g=p.hoistables,p=p.next}}function Wi(c,p){var g=p.boundaries;if(g!==null&&p.pendingTasks===g.length){for(var b=!0,T=0;T<g.length;T++){var S=g[T];if(S.pendingTasks!==1||S.parentFlushed||no(c,S)){b=!1;break}}b&&Ss(c,p,p.hoistables)}}function Vn(c){var p={pendingTasks:1,boundaries:null,hoistables:ur(),inheritedHoistables:null,together:!1,next:null};return c!==null&&0<c.pendingTasks&&(p.pendingTasks++,p.boundaries=[],c.next=p),p}function Gt(c,p,g,b,T){var S=p.keyPath,I=p.treeContext,B=p.row,Z=p.componentStack,G=p.debugTask;sn(p,p.node.props.children._debugInfo),p.keyPath=g,g=b.length;var J=null;if(p.replay!==null){var ae=p.replay.slots;if(ae!==null&&typeof ae=="object")for(var se=0;se<g;se++){var pe=T!=="backwards"&&T!=="unstable_legacy-backwards"?se:g-1-se,te=b[pe];p.row=J=Vn(J),p.treeContext=xo(I,g,pe);var Ze=ae[pe];typeof Ze=="number"?(Dl(c,p,Ze,te,pe),delete ae[pe]):Ur(c,p,te,pe),--J.pendingTasks===0&&Ht(c,J)}else for(ae=0;ae<g;ae++)se=T!=="backwards"&&T!=="unstable_legacy-backwards"?ae:g-1-ae,pe=b[se],Br(c,p,pe),p.row=J=Vn(J),p.treeContext=xo(I,g,se),Ur(c,p,pe,se),--J.pendingTasks===0&&Ht(c,J)}else if(T!=="backwards"&&T!=="unstable_legacy-backwards")for(T=0;T<g;T++)ae=b[T],Br(c,p,ae),p.row=J=Vn(J),p.treeContext=xo(I,g,T),Ur(c,p,ae,T),--J.pendingTasks===0&&Ht(c,J);else{for(T=p.blockedSegment,ae=T.children.length,se=T.chunks.length,pe=g-1;0<=pe;pe--){te=b[pe],p.row=J=Vn(J),p.treeContext=xo(I,g,pe),Ze=on(c,se,null,p.formatContext,pe===0?T.lastPushedText:!0,!0),T.children.splice(ae,0,Ze),p.blockedSegment=Ze,Br(c,p,te);try{Ur(c,p,te,pe),An(Ze.chunks,c.renderState,Ze.lastPushedText,Ze.textEmbedded),Ze.status=Jr,--J.pendingTasks===0&&Ht(c,J)}catch(Qt){throw Ze.status=c.status===12?oa:Vl,Qt}}p.blockedSegment=T,T.lastPushedText=!1}B!==null&&J!==null&&0<J.pendingTasks&&(B.pendingTasks++,J.next=B),p.treeContext=I,p.row=B,p.keyPath=S,p.componentStack=Z,p.debugTask=G}function Go(c,p,g,b,T,S){var I=p.thenableState;for(p.thenableState=null,cl={},Xg=p,uu=c,Jg=g,na=!1,Fd=Ad=0,Hl=-1,du=0,Yi=I,c=Tc(b,T,S);af;)af=!1,Fd=Ad=0,Hl=-1,du=0,lf+=1,ln=null,c=b(T,S);return vn(),c}function mg(c,p,g,b,T,S,I){var B=!1;if(S!==0&&c.formState!==null){var Z=p.blockedSegment;if(Z!==null){B=!0,Z=Z.chunks;for(var G=0;G<S;G++)G===I?Z.push("<!--F!-->"):Z.push("<!--F-->")}}S=p.keyPath,p.keyPath=g,T?(g=p.treeContext,p.treeContext=xo(g,1,0),Ur(c,p,b,-1),p.treeContext=g):B?Ur(c,p,b,-1):Nr(c,p,b,-1),p.keyPath=S}function cd(c,p,g,b,T,S){if(typeof b=="function")if(b.prototype&&b.prototype.isReactComponent){var I=T;if("ref"in T){I={};for(var B in T)B!=="ref"&&(I[B]=T[B])}var Z=b.defaultProps;if(Z){I===T&&(I=pr({},I,T));for(var G in Z)I[G]===void 0&&(I[G]=Z[G])}var J=I,ae=ll,se=b.contextType;if("contextType"in b&&se!==null&&(se===void 0||se.$$typeof!==Ul)&&!Yg.has(b)){Yg.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===Ip?" 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",ut(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 Ze=ut(b)||"Component";yv.has(Ze)||(yv.add(Ze),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.",Ze,te.state===null?"null":"undefined",Ze))}if(typeof b.getDerivedStateFromProps=="function"||typeof te.getSnapshotBeforeUpdate=="function"){var Qt=null,Me=null,ht=null;if(typeof te.componentWillMount=="function"&&te.componentWillMount.__suppressDeprecationWarning!==!0?Qt="componentWillMount":typeof te.UNSAFE_componentWillMount=="function"&&(Qt="UNSAFE_componentWillMount"),typeof te.componentWillReceiveProps=="function"&&te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Me="componentWillReceiveProps":typeof te.UNSAFE_componentWillReceiveProps=="function"&&(Me="UNSAFE_componentWillReceiveProps"),typeof te.componentWillUpdate=="function"&&te.componentWillUpdate.__suppressDeprecationWarning!==!0?ht="componentWillUpdate":typeof te.UNSAFE_componentWillUpdate=="function"&&(ht="UNSAFE_componentWillUpdate"),Qt!==null||Me!==null||ht!==null){var Kr=ut(b)||"Component",So=typeof b.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";vv.has(Kr)||(vv.add(Kr),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
609
-
610
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
611
-
612
- The above lifecycles should be removed. Learn more about this warning here:
613
- https://react.dev/link/unsafe-component-lifecycles`,Kr,So,Qt!==null?`
614
- `+Qt:"",Me!==null?`
615
- `+Me:"",ht!==null?`
616
- `+ht:""))}}var pt=ut(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?",pt):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",pt)),!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?",pt),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.",pt),te.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",pt),b.childContextTypes&&!Rv.has(b)&&(Rv.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)",pt)),b.contextTypes&&!Cv.has(b)&&(Cv.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)",pt)),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.",pt),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.",ut(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()?",pt),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().",pt),typeof te.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",pt),typeof te.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",pt);var Dn=te.props!==J;te.props!==void 0&&Dn&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",pt),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.",pt,pt),typeof te.getSnapshotBeforeUpdate!="function"||typeof te.componentDidUpdate=="function"||xv.has(b)||(xv.add(b),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ut(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.",pt),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.",pt),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.",pt);var Os=te.state;Os&&(typeof Os!="object"||sl(Os))&&console.error("%s.state: must be set to an object or null",pt),typeof te.getChildContext=="function"&&typeof b.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",pt);var Po=te.state!==void 0?te.state:null;te.updater=kv,te.props=J,te.state=Po;var Ie={queue:[],replace:!1};te._reactInternals=Ie;var gr=b.contextType;if(te.context=typeof gr=="object"&&gr!==null?gr._currentValue2:ll,te.state===J){var xi=ut(b)||"Component";bv.has(xi)||(bv.add(xi),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.",xi))}var cn=b.getDerivedStateFromProps;if(typeof cn=="function"){var Er=cn(J,Po);if(Er===void 0){var Sr=ut(b)||"Component";wv.has(Sr)||(wv.add(Sr),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Sr))}var qn=Er==null?Po:pr({},Po,Er);te.state=qn}if(typeof b.getDerivedStateFromProps!="function"&&typeof te.getSnapshotBeforeUpdate!="function"&&(typeof te.UNSAFE_componentWillMount=="function"||typeof te.componentWillMount=="function")){var vi=te.state;if(typeof te.componentWillMount=="function"){if(te.componentWillMount.__suppressDeprecationWarning!==!0){var Ms=ut(b)||"Unknown";hv[Ms]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
617
-
618
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
619
-
620
- Please update the following components: %s`,Ms),hv[Ms]=!0)}te.componentWillMount()}if(typeof te.UNSAFE_componentWillMount=="function"&&te.UNSAFE_componentWillMount(),vi!==te.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ut(b)||"Component"),kv.enqueueReplaceState(te,te.state,null)),Ie.queue!==null&&0<Ie.queue.length){var Zr=Ie.queue,$n=Ie.replace;if(Ie.queue=null,Ie.replace=!1,$n&&Zr.length===1)te.state=Zr[0];else{for(var un=$n?Zr[0]:te.state,Ao=!0,dn=$n?1:0;dn<Zr.length;dn++){var ia=Zr[dn],Qr=typeof ia=="function"?ia.call(te,un,J,void 0):ia;Qr!=null&&(Ao?(Ao=!1,un=pr({},un,Qr)):pr(un,Qr))}te.state=un}}else Ie.queue=null}var Is=Fv(te);if(c.status===12)throw null;te.props!==J&&(gf||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ut(b)||"a component"),gf=!0);var bn=p.keyPath;p.keyPath=g,Nr(c,p,Is,-1),p.keyPath=bn}else{if(b.prototype&&typeof b.prototype.render=="function"){var pn=ut(b)||"Unknown";Dd[pn]||(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.",pn,pn),Dd[pn]=!0)}var Ko=Go(c,p,g,b,T,void 0);if(c.status===12)throw null;var Zo=Ad!==0,Fa=Fd,Jl=Hl;if(b.contextTypes){var Qo=ut(b)||"Unknown";Iv[Qo]||(Iv[Qo]=!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)",Qo))}if(b&&b.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
621
- %s.childContextTypes = ...`,b.displayName||b.name||"Component"),typeof b.getDerivedStateFromProps=="function"){var Ds=ut(b)||"Unknown";mf[Ds]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Ds),mf[Ds]=!0)}if(typeof b.contextType=="object"&&b.contextType!==null){var kc=ut(b)||"Unknown";Aa[kc]||(console.error("%s: Function components do not support contextType.",kc),Aa[kc]=!0)}mg(c,p,g,Ko,Zo,Fa,Jl)}else if(typeof b=="string"){var _s=p.blockedSegment;if(_s===null){var sa=T.children,jo=p.formatContext,a=p.keyPath;p.formatContext=me(jo,b,T),p.keyPath=g,Ur(c,p,sa,-1),p.formatContext=jo,p.keyPath=a}else{var l=rn(_s.chunks,b,T,c.resumableState,c.renderState,p.blockedPreamble,p.hoistableState,p.formatContext,_s.lastPushedText);_s.lastPushedText=!1;var m=p.formatContext,v=p.keyPath;if(p.keyPath=g,(p.formatContext=me(m,b,T)).insertionMode===Wp){var R=on(c,0,null,p.formatContext,!1,!1);_s.preambleChildren.push(R),p.blockedSegment=R;try{R.status=6,Ur(c,p,l,-1),An(R.chunks,c.renderState,R.lastPushedText,R.textEmbedded),R.status=Jr}finally{p.blockedSegment=_s}}else Ur(c,p,l,-1);p.formatContext=m,p.keyPath=v;e:{var E=_s.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<=wd){O.hasBody=!0;break e}break;case"html":if(m.insertionMode===vc){O.hasHtml=!0;break e}break;case"head":if(m.insertionMode<=wd)break e}E.push(Pt(b))}_s.lastPushedText=!1}}else{switch(b){case Mx:case Mp:case hg:case ru:var _=p.keyPath;p.keyPath=g,Nr(c,p,T.children,-1),p.keyPath=_;return;case gd:var X=p.blockedSegment;if(X===null){if(T.mode!=="hidden"){var U=p.keyPath;p.keyPath=g,Ur(c,p,T.children,-1),p.keyPath=U}}else if(T.mode!=="hidden"){c.renderState.generateStaticMarkup||X.chunks.push("<!--&-->"),X.lastPushedText=!1;var V=p.keyPath;p.keyPath=g,Ur(c,p,T.children,-1),p.keyPath=V,c.renderState.generateStaticMarkup||X.chunks.push("<!--/&-->"),X.lastPushedText=!1}return;case Sa:e:{var $=T.children,ee=T.revealOrder;if(ee==="forwards"||ee==="backwards"||ee==="unstable_legacy-backwards"){if(sl($)){Gt(c,p,g,$,ee);break e}var ie=n($);if(ie){var j=ie.call($);if(j){Cp(p,$,-1,j,ie);var De=j.next();if(!De.done){var wt=[];do wt.push(De.value),De=j.next();while(!De.done);Gt(c,p,g,$,ee)}break e}}}if(ee==="together"){var Fe=p.keyPath,Ge=p.row,Mt=p.row=Vn(null);Mt.boundaries=[],Mt.together=!0,p.keyPath=g,Nr(c,p,$,-1),--Mt.pendingTasks===0&&Ht(c,Mt),p.keyPath=Fe,p.row=Ge,Ge!==null&&0<Mt.pendingTasks&&(Ge.pendingTasks++,Mt.next=Ge)}else{var Pr=p.keyPath;p.keyPath=g,Nr(c,p,$,-1),p.keyPath=Pr}}return;case _p:case Dp:throw Error("ReactDOMServer does not yet support scope components.");case md:e:if(p.replay!==null){var nt=p.keyPath,_e=p.formatContext,qo=p.row;p.keyPath=g,p.formatContext=be(c.resumableState,_e),p.row=null;var _n=T.children;try{Ur(c,p,_n,-1)}finally{p.keyPath=nt,p.formatContext=_e,p.row=qo}}else{var yt=p.keyPath,Tt=p.formatContext,hr=p.row,er=p.blockedBoundary,so=p.blockedPreamble,xt=p.hoistableState,kt=p.blockedSegment,Kn=T.fallback,Hr=T.children,It=new Set,Ve=Ea(c,p.row,It,null,null);c.trackedPostpones!==null&&(Ve.trackedContentKeyPath=g);var fn=on(c,kt.chunks.length,Ve,p.formatContext,!1,!1);kt.children.push(fn),kt.lastPushedText=!1;var mn=on(c,0,null,p.formatContext,!1,!1);if(mn.parentFlushed=!0,c.trackedPostpones!==null){var ao=p.componentStack,Fo=[g[0],"Suspense Fallback",g[2]],Ar=[Fo[1],Fo[2],[],null];c.trackedPostpones.workingMap.set(Fo,Ar),Ve.trackedFallbackNode=Ar,p.blockedSegment=fn,p.blockedPreamble=Ve.fallbackPreamble,p.keyPath=Fo,p.formatContext=ke(c.resumableState,Tt),p.componentStack=Es(ao),fn.status=6;try{Ur(c,p,Kn,-1),An(fn.chunks,c.renderState,fn.lastPushedText,fn.textEmbedded),fn.status=Jr}catch(Da){throw fn.status=c.status===12?oa:Vl,Da}finally{p.blockedSegment=kt,p.blockedPreamble=so,p.keyPath=yt,p.formatContext=Tt}var $o=Tr(c,null,Hr,-1,Ve,mn,Ve.contentPreamble,Ve.contentState,p.abortSet,g,be(c.resumableState,p.formatContext),p.context,p.treeContext,null,ao,ll,p.debugTask);zi($o),c.pingedTasks.push($o)}else{p.blockedBoundary=Ve,p.blockedPreamble=Ve.contentPreamble,p.hoistableState=Ve.contentState,p.blockedSegment=mn,p.keyPath=g,p.formatContext=be(c.resumableState,Tt),p.row=null,mn.status=6;try{if(Ur(c,p,Hr,-1),An(mn.chunks,c.renderState,mn.lastPushedText,mn.textEmbedded),mn.status=Jr,gc(Ve,mn),Ve.pendingTasks===0&&Ve.status===ra){if(Ve.status=Jr,!no(c,Ve)){hr!==null&&--hr.pendingTasks===0&&Ht(c,hr),c.pendingRootTasks===0&&p.blockedPreamble&&hc(c);break e}}else hr!==null&&hr.together&&Wi(c,hr)}catch(Da){if(Ve.status=yi,c.status===12){mn.status=oa;var bi=c.fatalError}else mn.status=Vl,bi=Da;var tr=Co(p.componentStack),Ec=On(c,bi,tr,p.debugTask);Ho(Ve,Ec,bi,tr,!1),dd(c,Ve)}finally{p.blockedBoundary=er,p.blockedPreamble=so,p.hoistableState=xt,p.blockedSegment=kt,p.keyPath=yt,p.formatContext=Tt,p.row=hr}var Ji=Tr(c,null,Kn,-1,er,fn,Ve.fallbackPreamble,Ve.fallbackState,It,[g[0],"Suspense Fallback",g[2]],ke(c.resumableState,p.formatContext),p.context,p.treeContext,p.row,Es(p.componentStack),ll,p.debugTask);zi(Ji),c.pingedTasks.push(Ji)}}return}if(typeof b=="object"&&b!==null)switch(b.$$typeof){case qs:if("ref"in T){var Oa={};for(var ul in T)ul!=="ref"&&(Oa[ul]=T[ul])}else Oa=T;var Ma=Go(c,p,g,b.render,Oa,S);mg(c,p,g,Ma,Ad!==0,Fd,Hl);return;case Ps:cd(c,p,g,b.type,T,S);return;case Ul:var dl=T.value,aa=T.children,lo=p.context,wi=p.keyPath,nr=b._currentValue2;b._currentValue2=dl,b._currentRenderer2!==void 0&&b._currentRenderer2!==null&&b._currentRenderer2!==nf&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),b._currentRenderer2=nf;var la=Cc,Ki={parent:la,depth:la===null?0:la.depth+1,context:b,parentValue:nr,value:dl};Cc=Ki,p.context=Ki,p.keyPath=g,Nr(c,p,aa,-1);var jr=Cc;if(jr===null)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");jr.context!==b&&console.error("The parent context is not the expected context. This is probably a bug in React."),jr.context._currentValue2=jr.parentValue,b._currentRenderer2!==void 0&&b._currentRenderer2!==null&&b._currentRenderer2!==nf&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),b._currentRenderer2=nf;var Ia=Cc=jr.parent;p.context=Ia,p.keyPath=wi,lo!==p.context&&console.error("Popping the context provider did not return back to the original snapshot. This is a bug in React.");return;case Ip:var yr=b._context,ei=T.children;typeof ei!="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 Ls=ei(yr._currentValue2),Oo=p.keyPath;p.keyPath=g,Nr(c,p,Ls,-1),p.keyPath=Oo;return;case Mn:var Ci=$g(b);if(c.status===12)throw null;cd(c,p,g,Ci,T,S);return}var Mo="";throw(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(Mo+=" 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)+"."+Mo))}}function Dl(c,p,g,b,T){var S=p.replay,I=p.blockedBoundary,B=on(c,0,null,p.formatContext,!1,!1);B.id=g,B.parentFlushed=!0;try{p.replay=null,p.blockedSegment=B,Ur(c,p,b,T),B.status=Jr,I===null?c.completedRootSegment=B:(gc(I,B),I.parentFlushed&&c.partialBoundaries.push(I))}finally{p.replay=S,p.blockedSegment=null}}function _l(c,p,g,b,T,S,I,B,Z,G){S=G.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=p.node,p.replay={nodes:se,slots:b,pendingTasks:1};try{if(cd(c,p,g,I,B,Z),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--}catch(Dn){if(typeof Dn=="object"&&Dn!==null&&(Dn===Vi||typeof Dn.then=="function"))throw p.node===T?p.replay=G:S.splice(J,1),Dn;p.replay.pendingTasks--,I=Co(p.componentStack),B=c,c=p.blockedBoundary,g=Dn,Z=b,b=On(B,g,I,p.debugTask),rl(B,c,se,Z,g,b,I,!1)}p.replay=G}else{if(I!==md)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(ut(I)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");e:{G=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=p.keyPath,te=p.formatContext,Ze=p.row,Qt=p.replay,Me=p.blockedBoundary,ht=p.hoistableState,Kr=B.children,So=B.fallback,pt=new Set;B=Ea(c,p.row,pt,null,null),B.parentFlushed=!0,B.rootSegmentID=b,p.blockedBoundary=B,p.hoistableState=B.contentState,p.keyPath=g,p.formatContext=be(c.resumableState,te),p.row=null,p.replay={nodes:I,slots:Z,pendingTasks:1};try{if(Ur(c,p,Kr,-1),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.");if(p.replay.pendingTasks--,B.pendingTasks===0&&B.status===ra){B.status=Jr,c.completedBoundaries.push(B);break e}}catch(Dn){B.status=yi,se=Co(p.componentStack),G=On(c,Dn,se,p.debugTask),Ho(B,G,Dn,se,!1),p.replay.pendingTasks--,c.clientRenderedBoundaries.push(B)}finally{p.blockedBoundary=Me,p.hoistableState=ht,p.replay=Qt,p.keyPath=pe,p.formatContext=te,p.row=Ze}B=oo(c,null,{nodes:T,slots:ae,pendingTasks:0},So,-1,Me,B.fallbackState,pt,[g[0],"Suspense Fallback",g[2]],ke(c.resumableState,p.formatContext),p.context,p.treeContext,p.row,Es(p.componentStack),ll,p.debugTask),zi(B),c.pingedTasks.push(B)}}S.splice(J,1);break}}}function Cp(c,p,g,b,T){b===p?(g!==-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]")&&(hf||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."),hf=!0):p.entries!==T||_d||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_d=!0)}function Nr(c,p,g,b){p.replay!==null&&typeof p.replay.slots=="number"?Dl(c,p,p.replay.slots,g,b):(p.node=g,p.childIndex=b,g=p.componentStack,b=p.debugTask,zi(p),Ll(c,p),p.componentStack=g,p.debugTask=b)}function Ll(c,p){var g=p.node,b=p.childIndex;if(g!==null){if(typeof g=="object"){switch(g.$$typeof){case Bl:var T=g.type,S=g.key;g=g.props;var I=g.ref;I=I!==void 0?I:null;var B=p.debugTask,Z=ut(T);S=S??(b===-1?0:b);var G=[p.keyPath,Z,S];p.replay!==null?B?B.run(_l.bind(null,c,p,G,Z,S,b,T,g,I,p.replay)):_l(c,p,G,Z,S,b,T,g,I,p.replay):B?B.run(cd.bind(null,c,p,G,T,g,I)):cd(c,p,G,T,g,I);return;case nu:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Mn:if(T=$g(g),c.status===12)throw null;Nr(c,p,T,b);return}if(sl(g)){mc(c,p,g,b);return}if((S=n(g))&&(T=S.call(g))){if(Cp(p,g,b,T,S),g=T.next(),!g.done){S=[];do S.push(g.value),g=T.next();while(!g.done);mc(c,p,S,b)}return}if(typeof g.then=="function")return p.thenableState=null,Nr(c,p,gi(g),b);if(g.$$typeof===Ul)return Nr(c,p,g._currentValue2,b);throw c=Object.prototype.toString.call(g),Error("Objects are not valid as a React child (found: "+(c==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.")}typeof g=="string"?(p=p.blockedSegment,p!==null&&(p.lastPushedText=wr(p.chunks,g,c.renderState,p.lastPushedText))):typeof g=="number"||typeof g=="bigint"?(p=p.blockedSegment,p!==null&&(p.lastPushedText=wr(p.chunks,""+g,c.renderState,p.lastPushedText))):(typeof g=="function"&&(c=g.displayName||g.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 g=="symbol"&&console.error(`Symbols are not valid as a React child.
622
- %s`,String(g)))}}function Br(c,p,g){if(g!==null&&typeof g=="object"&&(g.$$typeof===Bl||g.$$typeof===nu)&&g._store&&(!g._store.validated&&g.key==null||g._store.validated===2)){if(typeof g._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.");g._store.validated=1;var b=c.didWarnForKey;if(b==null&&(b=c.didWarnForKey=new WeakSet),c=p.componentStack,c!==null&&!b.has(c)){b.add(c);var T=ut(g.type);b=g._owner;var S=c.owner;if(c="",S&&typeof S.type<"u"){var I=ut(S.type);I&&(c=`
623
-
624
- Check the render method of \``+I+"`.")}c||T&&(c=`
625
-
626
- Check the top-level render call using <`+T+">."),T="",b!=null&&S!==b&&(S=null,typeof b.type<"u"?S=ut(b.type):typeof b.name=="string"&&(S=b.name),S&&(T=" It was passed a child from "+S+".")),b=p.componentStack,p.componentStack={parent:p.componentStack,type:g.type,owner:g._owner,stack:g._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),p.componentStack=b}}}function mc(c,p,g,b){var T=p.keyPath,S=p.componentStack,I=p.debugTask;if(sn(p,p.node._debugInfo),b!==-1&&(p.keyPath=[p.keyPath,"Fragment",b],p.replay!==null)){for(var B=p.replay,Z=B.nodes,G=0;G<Z.length;G++){var J=Z[G];if(J[1]===b){b=J[2],J=J[3],p.replay={nodes:b,slots:J,pendingTasks:1};try{if(mc(c,p,g,-1),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--}catch(te){if(typeof te=="object"&&te!==null&&(te===Vi||typeof te.then=="function"))throw te;p.replay.pendingTasks--;var ae=Co(p.componentStack);g=p.blockedBoundary;var se=te,pe=J;J=On(c,se,ae,p.debugTask),rl(c,g,b,pe,se,J,ae,!1)}p.replay=B,Z.splice(G,1);break}}p.keyPath=T,p.componentStack=S,p.debugTask=I;return}if(B=p.treeContext,Z=g.length,p.replay!==null&&(G=p.replay.slots,G!==null&&typeof G=="object")){for(b=0;b<Z;b++)J=g[b],p.treeContext=xo(B,Z,b),se=G[b],typeof se=="number"?(Dl(c,p,se,J,b),delete G[b]):Ur(c,p,J,b);p.treeContext=B,p.keyPath=T,p.componentStack=S,p.debugTask=I;return}for(G=0;G<Z;G++)b=g[G],Br(c,p,b),p.treeContext=xo(B,Z,G),Ur(c,p,b,G);p.treeContext=B,p.keyPath=T,p.componentStack=S,p.debugTask=I}function io(c,p,g){if(g.status=Yl,g.rootSegmentID=c.nextSegmentId++,c=g.trackedContentKeyPath,c===null)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var b=g.trackedFallbackNode,T=[],S=p.workingMap.get(c);return S===void 0?(g=[c[1],c[2],T,null,b,g.rootSegmentID],p.workingMap.set(c,g),il(g,c[0],p),g):(S[4]=b,S[5]=g.rootSegmentID,S)}function ud(c,p,g,b){b.status=Yl;var T=g.keyPath,S=g.blockedBoundary;if(S===null)b.id=c.nextSegmentId++,p.rootSlots=b.id,c.completedRootSegment!==null&&(c.completedRootSegment.status=Yl);else{if(S!==null&&S.status===ra){var I=io(c,p,S);if(S.trackedContentKeyPath===T&&g.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++),g.childIndex===-1)T===null?p.rootSlots=b.id:(g=p.workingMap.get(T),g===void 0?(g=[T[1],T[2],[],b.id],il(g,T[0],p)):g[3]=b.id);else{if(T===null){if(c=p.rootSlots,c===null)c=p.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=p.workingMap,I=S.get(T),I===void 0)c={},I=[T[1],T[2],[],c],S.set(T,I),il(I,T[0],p);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[g.childIndex]=b.id}}}function dd(c,p){c=c.trackedPostpones,c!==null&&(p=p.trackedContentKeyPath,p!==null&&(p=c.workingMap.get(p),p!==void 0&&(p.length=4,p[2]=[],p[3]=null)))}function jc(c,p,g){return oo(c,g,p.replay,p.node,p.childIndex,p.blockedBoundary,p.hoistableState,p.abortSet,p.keyPath,p.formatContext,p.context,p.treeContext,p.row,p.componentStack,ll,p.debugTask)}function gg(c,p,g){var b=p.blockedSegment,T=on(c,b.chunks.length,null,p.formatContext,b.lastPushedText,!0);return b.children.push(T),b.lastPushedText=!1,Tr(c,g,p.node,p.childIndex,p.blockedBoundary,T,p.blockedPreamble,p.hoistableState,p.abortSet,p.keyPath,p.formatContext,p.context,p.treeContext,p.row,p.componentStack,ll,p.debugTask)}function Ur(c,p,g,b){var T=p.formatContext,S=p.context,I=p.keyPath,B=p.treeContext,Z=p.componentStack,G=p.debugTask,J=p.blockedSegment;if(J===null){J=p.replay;try{return Nr(c,p,g,b)}catch(pe){if(vn(),g=pe===Vi?Qs():pe,c.status!==12&&typeof g=="object"&&g!==null){if(typeof g.then=="function"){b=pe===Vi?Cr():null,c=jc(c,p,b).ping,g.then(c,c),p.formatContext=T,p.context=S,p.keyPath=I,p.treeContext=B,p.componentStack=Z,p.replay=J,p.debugTask=G,_r(S);return}if(g.message==="Maximum call stack size exceeded"){g=pe===Vi?Cr():null,g=jc(c,p,g),c.pingedTasks.push(g),p.formatContext=T,p.context=S,p.keyPath=I,p.treeContext=B,p.componentStack=Z,p.replay=J,p.debugTask=G,_r(S);return}}}}else{var ae=J.children.length,se=J.chunks.length;try{return Nr(c,p,g,b)}catch(pe){if(vn(),J.children.length=ae,J.chunks.length=se,g=pe===Vi?Qs():pe,c.status!==12&&typeof g=="object"&&g!==null){if(typeof g.then=="function"){J=g,g=pe===Vi?Cr():null,c=gg(c,p,g).ping,J.then(c,c),p.formatContext=T,p.context=S,p.keyPath=I,p.treeContext=B,p.componentStack=Z,p.debugTask=G,_r(S);return}if(g.message==="Maximum call stack size exceeded"){J=pe===Vi?Cr():null,J=gg(c,p,J),c.pingedTasks.push(J),p.formatContext=T,p.context=S,p.keyPath=I,p.treeContext=B,p.componentStack=Z,p.debugTask=G,_r(S);return}}}}throw p.formatContext=T,p.context=S,p.keyPath=I,p.treeContext=B,_r(S),g}function Ax(c){var p=c.blockedBoundary,g=c.blockedSegment;g!==null&&(g.status=oa,js(this,p,c.row,g))}function rl(c,p,g,b,T,S,I,B){for(var Z=0;Z<g.length;Z++){var G=g[Z];if(G.length===4)rl(c,p,G[2],G[3],T,S,I,B);else{var J=c;G=G[5];var ae=T,se=S,pe=I,te=B,Ze=Ea(J,null,new Set,null,null);Ze.parentFlushed=!0,Ze.rootSegmentID=G,Ze.status=yi,Ho(Ze,se,ae,pe,te),Ze.parentFlushed&&J.clientRenderedBoundaries.push(Ze)}}if(g.length=0,b!==null){if(p===null)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(p.status!==yi&&(p.status=yi,Ho(p,S,T,I,B),p.parentFlushed&&c.clientRenderedBoundaries.push(p)),typeof b=="object")for(var Qt in b)delete b[Qt]}}function qc(c,p,g){var b=c.blockedBoundary,T=c.blockedSegment;if(T!==null){if(T.status===6)return;T.status=oa}var S=Co(c.componentStack),I=c.node;if(I!==null&&typeof I=="object"&&Il(c,I._debugInfo),b===null){if(p.status!==13&&p.status!==pu){if(b=c.replay,b===null){p.trackedPostpones!==null&&T!==null?(b=p.trackedPostpones,On(p,g,S,c.debugTask),ud(p,b,c,T),js(p,null,c.row,T)):(On(p,g,S,c.debugTask),hi(p,g,S,c.debugTask));return}b.pendingTasks--,b.pendingTasks===0&&0<b.nodes.length&&(T=On(p,g,S,null),rl(p,null,b.nodes,b.slots,g,T,S,!0)),p.pendingRootTasks--,p.pendingRootTasks===0&&Tp(p)}}else{if(I=p.trackedPostpones,b.status!==yi){if(I!==null&&T!==null)return On(p,g,S,c.debugTask),ud(p,I,c,T),b.fallbackAbortableTasks.forEach(function(B){return qc(B,p,g)}),b.fallbackAbortableTasks.clear(),js(p,b,c.row,T);b.status=yi,T=On(p,g,S,c.debugTask),b.status=yi,Ho(b,T,g,S,!0),dd(p,b),b.parentFlushed&&p.clientRenderedBoundaries.push(b)}b.pendingTasks--,S=b.row,S!==null&&--S.pendingTasks===0&&Ht(p,S),b.fallbackAbortableTasks.forEach(function(B){return qc(B,p,g)}),b.fallbackAbortableTasks.clear()}c=c.row,c!==null&&--c.pendingTasks===0&&Ht(p,c),p.allPendingTasks--,p.allPendingTasks===0&&Vo(p)}function Rp(c,p){try{var g=c.renderState,b=g.onHeaders;if(b){var T=g.headers;if(T){g.headers=null;var S=T.preconnects;if(T.fontPreloads&&(S&&(S+=", "),S+=T.fontPreloads),T.highImagePreloads&&(S&&(S+=", "),S+=T.highImagePreloads),!p){var I=g.styles.values(),B=I.next();e:for(;0<T.remainingCapacity&&!B.done;B=I.next())for(var Z=B.value.sheets.values(),G=Z.next();0<T.remainingCapacity&&!G.done;G=Z.next()){var J=G.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))g.resets.style[se]=Hi,S&&(S+=", "),S+=te,g.resets.style[se]=typeof ae.crossOrigin=="string"||typeof ae.integrity=="string"?[ae.crossOrigin,ae.integrity]:Hi;else break e}}b(S?{Link:S}:{})}}}catch(Ze){On(c,Ze,{},null)}}function Tp(c){c.trackedPostpones===null&&Rp(c,!0),c.trackedPostpones===null&&hc(c),c.onShellError=Fn,c=c.onShellReady,c()}function Vo(c){Rp(c,c.trackedPostpones===null?!0:c.completedRootSegment===null||c.completedRootSegment.status!==Yl),hc(c),c=c.onAllReady,c()}function gc(c,p){if(p.chunks.length===0&&p.children.length===1&&p.children[0].boundary===null&&p.children[0].id===-1){var g=p.children[0];g.id=p.id,g.parentFlushed=!0,g.status!==Jr&&g.status!==oa&&g.status!==Vl||gc(c,g)}else c.completedSegments.push(p)}function js(c,p,g,b){if(g!==null&&(--g.pendingTasks===0?Ht(c,g):g.together&&Wi(c,g)),c.allPendingTasks--,p===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&&Tp(c)}else if(p.pendingTasks--,p.status!==yi)if(p.pendingTasks===0){if(p.status===ra&&(p.status=Jr),b!==null&&b.parentFlushed&&(b.status===Jr||b.status===oa)&&gc(p,b),p.parentFlushed&&c.completedBoundaries.push(p),p.status===Jr)g=p.row,g!==null&&ct(g.hoistables,p.contentState),no(c,p)||(p.fallbackAbortableTasks.forEach(Ax,c),p.fallbackAbortableTasks.clear(),g!==null&&--g.pendingTasks===0&&Ht(c,g)),c.pendingRootTasks===0&&c.trackedPostpones===null&&p.contentPreamble!==null&&hc(c);else if(p.status===Yl&&(p=p.row,p!==null)){if(c.trackedPostpones!==null){g=c.trackedPostpones;var T=p.next;if(T!==null&&(b=T.boundaries,b!==null))for(T.boundaries=null,T=0;T<b.length;T++){var S=b[T];io(c,g,S),js(c,S,null,null)}}--p.pendingTasks===0&&Ht(c,p)}}else b===null||!b.parentFlushed||b.status!==Jr&&b.status!==oa||(gc(p,b),p.completedSegments.length===1&&p.parentFlushed&&c.partialBoundaries.push(p)),p=p.row,p!==null&&p.together&&Wi(c,p);c.allPendingTasks===0&&Vo(c)}function kp(c){if(c.status!==pu&&c.status!==13){var p=Cc,g=fr.H;fr.H=Ev;var b=fr.A;fr.A=Sv;var T=Bt;Bt=c;var S=fr.getCurrentStack;fr.getCurrentStack=ks;var I=Md;Md=c.resumableState;try{var B=c.pingedTasks,Z;for(Z=0;Z<B.length;Z++){var G=c,J=B[Z],ae=J.blockedSegment;if(ae===null){var se=void 0,pe=G;if(G=J,G.replay.pendingTasks!==0){_r(G.context),se=Jo,Jo=G;try{if(typeof G.replay.slots=="number"?Dl(pe,G,G.replay.slots,G.node,G.childIndex):Ll(pe,G),G.replay.pendingTasks===1&&0<G.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.");G.replay.pendingTasks--,G.abortSet.delete(G),js(pe,G.blockedBoundary,G.row,null)}catch($n){vn();var te=$n===Vi?Qs():$n;if(typeof te=="object"&&te!==null&&typeof te.then=="function"){var Ze=G.ping;te.then(Ze,Ze),G.thenableState=$n===Vi?Cr():null}else{G.replay.pendingTasks--,G.abortSet.delete(G);var Qt=Co(G.componentStack),Me=void 0,ht=pe,Kr=G.blockedBoundary,So=pe.status===12?pe.fatalError:te,pt=Qt,Dn=G.replay.nodes,Os=G.replay.slots;Me=On(ht,So,pt,G.debugTask),rl(ht,Kr,Dn,Os,So,Me,pt,!1),pe.pendingRootTasks--,pe.pendingRootTasks===0&&Tp(pe),pe.allPendingTasks--,pe.allPendingTasks===0&&Vo(pe)}}finally{Jo=se}}}else if(pe=se=void 0,Me=J,ht=ae,ht.status===ra){ht.status=6,_r(Me.context),pe=Jo,Jo=Me;var Po=ht.children.length,Ie=ht.chunks.length;try{Ll(G,Me),An(ht.chunks,G.renderState,ht.lastPushedText,ht.textEmbedded),Me.abortSet.delete(Me),ht.status=Jr,js(G,Me.blockedBoundary,Me.row,ht)}catch($n){vn(),ht.children.length=Po,ht.chunks.length=Ie;var gr=$n===Vi?Qs():G.status===12?G.fatalError:$n;if(G.status===12&&G.trackedPostpones!==null){var xi=G.trackedPostpones,cn=Co(Me.componentStack);Me.abortSet.delete(Me),On(G,gr,cn,Me.debugTask),ud(G,xi,Me,ht),js(G,Me.blockedBoundary,Me.row,ht)}else if(typeof gr=="object"&&gr!==null&&typeof gr.then=="function"){ht.status=ra,Me.thenableState=$n===Vi?Cr():null;var Er=Me.ping;gr.then(Er,Er)}else{var Sr=Co(Me.componentStack);Me.abortSet.delete(Me),ht.status=Vl;var qn=Me.blockedBoundary,vi=Me.row,Ms=Me.debugTask;if(vi!==null&&--vi.pendingTasks===0&&Ht(G,vi),G.allPendingTasks--,se=On(G,gr,Sr,Ms),qn===null)hi(G,gr,Sr,Ms);else if(qn.pendingTasks--,qn.status!==yi){qn.status=yi,Ho(qn,se,gr,Sr,!1),dd(G,qn);var Zr=qn.row;Zr!==null&&--Zr.pendingTasks===0&&Ht(G,Zr),qn.parentFlushed&&G.clientRenderedBoundaries.push(qn),G.pendingRootTasks===0&&G.trackedPostpones===null&&qn.contentPreamble!==null&&hc(G)}G.allPendingTasks===0&&Vo(G)}}finally{Jo=pe}}}B.splice(0,Z),c.destination!==null&&tu(c,c.destination)}catch($n){B={},On(c,$n,B,null),hi(c,$n,B,null)}finally{Md=I,fr.H=g,fr.A=b,fr.getCurrentStack=S,g===Ev&&_r(p),Bt=T}}}function Ep(c,p,g){p.preambleChildren.length&&g.push(p.preambleChildren);for(var b=!1,T=0;T<p.children.length;T++)b=Sp(c,p.children[T],g)||b;return b}function Sp(c,p,g){var b=p.boundary;if(b===null)return Ep(c,p,g);var T=b.contentPreamble,S=b.fallbackPreamble;if(T===null||S===null)return!1;switch(b.status){case Jr:if(Sn(c.renderState,T),c.byteSize+=b.byteSize,p=b.completedSegments[0],!p)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return Ep(c,p,g);case Yl:if(c.trackedPostpones!==null)return!0;case yi:if(p.status===Jr)return Sn(c.renderState,S),Ep(c,p,g);default:return!0}}function hc(c){if(c.completedRootSegment&&c.completedPreambleSegments===null){var p=[],g=c.byteSize,b=Sp(c,c.completedRootSegment,p),T=c.renderState.preamble;b===!1||T.headChunks&&T.bodyChunks?c.completedPreambleSegments=p:c.byteSize=g}}function pd(c,p,g,b){switch(g.parentFlushed=!0,g.status){case ra:g.id=c.nextSegmentId++;case Yl:return b=g.id,g.lastPushedText=!1,g.textEmbedded=!1,c=c.renderState,p.push(k0),p.push(c.placeholderPrefix),c=b.toString(16),p.push(c),p.push(E0);case Jr:g.status=nh;var T=!0,S=g.chunks,I=0;g=g.children;for(var B=0;B<g.length;B++){for(T=g[B];I<T.index;I++)p.push(S[I]);T=$c(c,p,T,b)}for(;I<S.length-1;I++)p.push(S[I]);return I<S.length&&(T=p.push(S[I])),T;case oa:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function $c(c,p,g,b){var T=g.boundary;if(T===null)return pd(c,p,g,b);if(T.parentFlushed=!0,T.status===yi){var S=T.row;if(S!==null&&--S.pendingTasks===0&&Ht(c,S),!c.renderState.generateStaticMarkup){var I=T.errorDigest,B=T.errorMessage;S=T.errorStack,T=T.errorComponentStack,p.push(kd),p.push(Kp),I&&(p.push(Ed),I=M(I),p.push(I),p.push(Gi)),B&&(p.push(Zp),B=M(B),p.push(B),p.push(Gi)),S&&(p.push(Mg),S=M(S),p.push(S),p.push(Gi)),T&&(p.push(Ig),S=M(T),p.push(S),p.push(Gi)),p.push(Dg)}return pd(c,p,g,b),c=c.renderState.generateStaticMarkup?!0:p.push(Eo),c}if(T.status!==Jr)return T.status===ra&&(T.rootSegmentID=c.nextSegmentId++),0<T.completedSegments.length&&c.partialBoundaries.push(T),Pn(p,c.renderState,T.rootSegmentID),b&&ct(b,T.fallbackState),pd(c,p,g,b),p.push(Eo);if(!Xl&&no(c,T)&&Ot+T.byteSize>c.progressiveChunkSize)return T.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(T),Pn(p,c.renderState,T.rootSegmentID),pd(c,p,g,b),p.push(Eo);if(Ot+=T.byteSize,b&&ct(b,T.contentState),g=T.row,g!==null&&no(c,T)&&--g.pendingTasks===0&&Ht(c,g),c.renderState.generateStaticMarkup||p.push(S0),g=T.completedSegments,g.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return $c(c,p,g[0],b),c=c.renderState.generateStaticMarkup?!0:p.push(Eo),c}function kr(c,p,g,b){return Zs(p,c.renderState,g.parentFormatContext,g.id),$c(c,p,g,b),Wn(p,g.parentFormatContext)}function Fx(c,p,g){Ot=g.byteSize;for(var b=g.completedSegments,T=0;T<b.length;T++)eu(c,p,g,b[T]);b.length=0,b=g.row,b!==null&&no(c,g)&&--b.pendingTasks===0&&Ht(c,b),Nt(p,g.contentState,c.renderState),b=c.resumableState,c=c.renderState,T=g.rootSegmentID,g=g.contentState;var S=c.stylesToHoist;return c.stylesToHoist=!1,p.push(c.startInlineScript),p.push(At),S?((b.instructions&zp)===$s&&(b.instructions|=zp,p.push(L0)),(b.instructions&xd)===$s&&(b.instructions|=xd,p.push(Ng)),(b.instructions&Hx)===$s?(b.instructions|=Hx,p.push(O0)):p.push(M0)):((b.instructions&xd)===$s&&(b.instructions|=xd,p.push(Ng)),p.push(F0)),b=T.toString(16),p.push(c.boundaryPrefix),p.push(b),p.push(I0),p.push(c.segmentPrefix),p.push(b),S?(p.push(D0),cr(p,g)):p.push(_0),g=p.push(Bg),ze(p,c)&&g}function eu(c,p,g,b){if(b.status===nh)return!0;var T=g.contentState,S=b.id;if(S===-1){if((b.id=g.rootSegmentID)===-1)throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return kr(c,p,b,T)}return S===g.rootSegmentID?kr(c,p,b,T):(kr(c,p,b,T),g=c.resumableState,c=c.renderState,p.push(c.startInlineScript),p.push(At),(g.instructions&Tg)===$s?(g.instructions|=Tg,p.push(av)):p.push(jp),p.push(c.segmentPrefix),S=S.toString(16),p.push(S),p.push(qp),p.push(c.placeholderPrefix),p.push(S),p=p.push(Lg),p)}function tu(c,p){try{if(!(0<c.pendingRootTasks)){var g,b=c.completedRootSegment;if(b!==null){if(b.status===Yl)return;var T=c.completedPreambleSegments;if(T===null)return;Ot=c.byteSize;var S=c.resumableState,I=c.renderState,B=I.preamble,Z=B.htmlChunks,G=B.headChunks,J;if(Z){for(J=0;J<Z.length;J++)p.push(Z[J]);if(G)for(J=0;J<G.length;J++)p.push(G[J]);else{var ae=Ft("head");p.push(ae),p.push(At)}}else if(G)for(J=0;J<G.length;J++)p.push(G[J]);var se=I.charsetChunks;for(J=0;J<se.length;J++)p.push(se[J]);se.length=0,I.preconnects.forEach(Gn,p),I.preconnects.clear();var pe=I.viewportChunks;for(J=0;J<pe.length;J++)p.push(pe[J]);pe.length=0,I.fontPreloads.forEach(Gn,p),I.fontPreloads.clear(),I.highImagePreloads.forEach(Gn,p),I.highImagePreloads.clear(),au=I,I.styles.forEach(lr,p),au=null;var te=I.importMapChunks;for(J=0;J<te.length;J++)p.push(te[J]);te.length=0,I.bootstrapScripts.forEach(Gn,p),I.scripts.forEach(Gn,p),I.scripts.clear(),I.bulkPreloads.forEach(Gn,p),I.bulkPreloads.clear(),S.instructions|=vd;var Ze=I.hoistableChunks;for(J=0;J<Ze.length;J++)p.push(Ze[J]);for(S=Ze.length=0;S<T.length;S++){var Qt=T[S];for(I=0;I<Qt.length;I++)$c(c,p,Qt[I],null)}var Me=c.renderState.preamble,ht=Me.headChunks;if(Me.htmlChunks||ht){var Kr=Pt("head");p.push(Kr)}var So=Me.bodyChunks;if(So)for(T=0;T<So.length;T++)p.push(So[T]);$c(c,p,b,null),c.completedRootSegment=null;var pt=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 Dn=c.resumableState;if((Dn.instructions&kg)===$s){if(Dn.instructions|=kg,p.push(pt.startInlineScript),(Dn.instructions&vd)===$s){Dn.instructions|=vd;var Os="_"+Dn.idPrefix+"R_";p.push(dv);var Po=M(Os);p.push(Po),p.push(lt)}p.push(At),p.push(T0),p.push(bd)}}ze(p,pt)}var Ie=c.renderState;b=0;var gr=Ie.viewportChunks;for(b=0;b<gr.length;b++)p.push(gr[b]);gr.length=0,Ie.preconnects.forEach(Gn,p),Ie.preconnects.clear(),Ie.fontPreloads.forEach(Gn,p),Ie.fontPreloads.clear(),Ie.highImagePreloads.forEach(Gn,p),Ie.highImagePreloads.clear(),Ie.styles.forEach(yo,p),Ie.scripts.forEach(Gn,p),Ie.scripts.clear(),Ie.bulkPreloads.forEach(Gn,p),Ie.bulkPreloads.clear();var xi=Ie.hoistableChunks;for(b=0;b<xi.length;b++)p.push(xi[b]);xi.length=0;var cn=c.clientRenderedBoundaries;for(g=0;g<cn.length;g++){var Er=cn[g];Ie=p;var Sr=c.resumableState,qn=c.renderState,vi=Er.rootSegmentID,Ms=Er.errorDigest,Zr=Er.errorMessage,$n=Er.errorStack,un=Er.errorComponentStack;Ie.push(qn.startInlineScript),Ie.push(At),(Sr.instructions&zp)===$s?(Sr.instructions|=zp,Ie.push(lv)):Ie.push(N0),Ie.push(qn.boundaryPrefix);var Ao=vi.toString(16);if(Ie.push(Ao),Ie.push(cv),Ms||Zr||$n||un){Ie.push($p);var dn=ar(Ms||"");Ie.push(dn)}if(Zr||$n||un){Ie.push($p);var ia=ar(Zr||"");Ie.push(ia)}if($n||un){Ie.push($p);var Qr=ar($n||"");Ie.push(Qr)}if(un){Ie.push($p);var Is=ar(un);Ie.push(Is)}var bn=Ie.push(B0);if(!bn){c.destination=null,g++,cn.splice(0,g);return}}cn.splice(0,g);var pn=c.completedBoundaries;for(g=0;g<pn.length;g++)if(!Fx(c,p,pn[g])){c.destination=null,g++,pn.splice(0,g);return}pn.splice(0,g),Xl=!0;var Ko=c.partialBoundaries;for(g=0;g<Ko.length;g++){e:{cn=c,Er=p;var Zo=Ko[g];Ot=Zo.byteSize;var Fa=Zo.completedSegments;for(bn=0;bn<Fa.length;bn++)if(!eu(cn,Er,Zo,Fa[bn])){bn++,Fa.splice(0,bn);var Jl=!1;break e}Fa.splice(0,bn);var Qo=Zo.row;Qo!==null&&Qo.together&&Zo.pendingTasks===1&&(Qo.pendingTasks===1?Ss(cn,Qo,Qo.hoistables):Qo.pendingTasks--),Jl=Nt(Er,Zo.contentState,cn.renderState)}if(!Jl){c.destination=null,g++,Ko.splice(0,g);return}}Ko.splice(0,g),Xl=!1;var Ds=c.completedBoundaries;for(g=0;g<Ds.length;g++)if(!Fx(c,p,Ds[g])){c.destination=null,g++,Ds.splice(0,g);return}Ds.splice(0,g)}}finally{Xl=!1,c.allPendingTasks===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&(c.flushScheduled=!1,g=c.resumableState,g.hasBody&&(Ko=Pt("body"),p.push(Ko)),g.hasHtml&&(g=Pt("html"),p.push(g)),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=pu,p.push(null),c.destination=null)}}function Pp(c){c.flushScheduled=c.destination!==null,kp(c),c.status===10&&(c.status=11),c.trackedPostpones===null&&Rp(c,c.pendingRootTasks===0)}function ol(c){if(c.flushScheduled===!1&&c.pingedTasks.length===0&&c.destination!==null){c.flushScheduled=!0;var p=c.destination;p?tu(c,p):c.flushScheduled=!1}}function Ap(c,p){if(c.status===13)c.status=pu,p.destroy(c.fatalError);else if(c.status!==pu&&c.destination===null){c.destination=p;try{tu(c,p)}catch(g){p={},On(c,g,p,null),hi(c,g,p,null)}}}function fd(c,p){(c.status===11||c.status===10)&&(c.status=12);try{var g=c.abortableTasks;if(0<g.size){var b=p===void 0?Error("The render was aborted by the server without a reason."):typeof p=="object"&&p!==null&&typeof p.then=="function"?Error("The render was aborted by the server with a promise."):p;c.fatalError=b,g.forEach(function(T){var S=Jo,I=fr.getCurrentStack;Jo=T,fr.getCurrentStack=ks;try{qc(T,c,b)}finally{Jo=S,fr.getCurrentStack=I}}),g.clear()}c.destination!==null&&tu(c,c.destination)}catch(T){p={},On(c,T,p,null),hi(c,T,p,null)}}function il(c,p,g){if(p===null)g.rootNodes.push(c);else{var b=g.workingMap,T=b.get(p);T===void 0&&(T=[p[1],p[2],[],null],b.set(p,T),il(T,p[0],g)),T[2].push(c)}}function Nl(){}function Fp(c,p,g,b){var T=!1,S=null,I="",B=!1;if(p=Ce(p?p.identifierPrefix:void 0),c=dt(c,p,Dr(p,g),re(vc,null,0,null),1/0,Nl,void 0,function(){B=!0},void 0,void 0,void 0),Pp(c),fd(c,b),Ap(c,{push:function(Z){return Z!==null&&(I+=Z),!0},destroy:function(Z){T=!0,S=Z}}),T&&S!==b)throw S;if(!B)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 Op=zc(),Ox=Ly(),Bl=Symbol.for("react.transitional.element"),nu=Symbol.for("react.portal"),ru=Symbol.for("react.fragment"),Mp=Symbol.for("react.strict_mode"),hg=Symbol.for("react.profiler"),Ip=Symbol.for("react.consumer"),Ul=Symbol.for("react.context"),qs=Symbol.for("react.forward_ref"),md=Symbol.for("react.suspense"),Sa=Symbol.for("react.suspense_list"),Ps=Symbol.for("react.memo"),Mn=Symbol.for("react.lazy"),Dp=Symbol.for("react.scope"),gd=Symbol.for("react.activity"),Mx=Symbol.for("react.legacy_hidden"),Ix=Symbol.for("react.memo_cache_sentinel"),_p=Symbol.for("react.view_transition"),Dx=Symbol.iterator,sl=Array.isArray,_x=new WeakMap,yg=new WeakMap,Lp=Symbol.for("react.client.reference"),pr=Object.assign,Vt=Object.prototype.hasOwnProperty,x0=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]*$"),Np={},Lx={},Nx=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(" ")),Bp=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"]]),xg={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},vg={"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},yc={},Bx=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]*$"),bg=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]*$"),ou=!1,hd={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"},zr={},yd=/^on./,Up=/^on[^A-Z]/,iu=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]*$"),v0=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]*$"),Ux=/^(?:webkit|moz|o)[A-Z]/,b0=/^-ms-/,w0=/-(.)/g,zx=/;\s*$/,xc={},Pa={},wg=!1,Cg=!1,Rg=/["'&<>]/,Wx=/([A-Z])/g,In=/^ms-/,an=/^[\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,fr=Op.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,su=Ox.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,mr=Object.freeze({pending:!1,data:null,method:null,action:null}),at=su.d;su.d={f:at.f,r:at.r,D:function(c){var p=Bt||null;if(p){var g=p.resumableState,b=p.renderState;if(typeof c=="string"&&c){if(!g.dnsResources.hasOwnProperty(c)){g.dnsResources[c]=Yn,g=b.headers;var T,S;(S=g&&0<g.remainingCapacity)&&(S=(T="<"+de(c)+">; rel=dns-prefetch",0<=(g.remainingCapacity-=T.length+2))),S?(b.resets.dns[c]=Yn,g.preconnects&&(g.preconnects+=", "),g.preconnects+=T):(T=[],He(T,{href:c,rel:"dns-prefetch"}),b.preconnects.add(T))}ol(p)}}else at.D(c)},C:function(c,p){var g=Bt||null;if(g){var b=g.resumableState,T=g.renderState;if(typeof c=="string"&&c){var S=p==="use-credentials"?"credentials":typeof p=="string"?"anonymous":"default";if(!b.connectResources[S].hasOwnProperty(c)){b.connectResources[S][c]=Yn,b=T.headers;var I,B;if(B=b&&0<b.remainingCapacity){if(B="<"+de(c)+">; rel=preconnect",typeof p=="string"){var Z=Le(p,"crossOrigin");B+='; crossorigin="'+Z+'"'}B=(I=B,0<=(b.remainingCapacity-=I.length+2))}B?(T.resets.connect[S][c]=Yn,b.preconnects&&(b.preconnects+=", "),b.preconnects+=I):(S=[],He(S,{rel:"preconnect",href:c,crossOrigin:p}),T.preconnects.add(S))}ol(g)}}else at.C(c,p)},L:function(c,p,g){var b=Bt||null;if(b){var T=b.resumableState,S=b.renderState;if(p&&c){switch(p){case"image":if(g)var I=g.imageSrcSet,B=g.imageSizes,Z=g.fetchPriority;var G=I?I+`
627
- `+(B||""):c;if(T.imageResources.hasOwnProperty(G))return;T.imageResources[G]=Hi,T=S.headers;var J;T&&0<T.remainingCapacity&&typeof I!="string"&&Z==="high"&&(J=oe(c,p,g),0<=(T.remainingCapacity-=J.length+2))?(S.resets.image[G]=Hi,T.highImagePreloads&&(T.highImagePreloads+=", "),T.highImagePreloads+=J):(T=[],He(T,pr({rel:"preload",href:I?void 0:c,as:p},g)),Z==="high"?S.highImagePreloads.add(T):(S.bulkPreloads.add(T),S.preloads.images.set(G,T)));break;case"style":if(T.styleResources.hasOwnProperty(c))return;I=[],He(I,pr({rel:"preload",href:c,as:p},g)),T.styleResources[c]=!g||typeof g.crossOrigin!="string"&&typeof g.integrity!="string"?Hi:[g.crossOrigin,g.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),He(I,pr({rel:"preload",href:c,as:p},g)),T.scriptResources[c]=!g||typeof g.crossOrigin!="string"&&typeof g.integrity!="string"?Hi:[g.crossOrigin,g.integrity];break;default:if(T.unknownResources.hasOwnProperty(p)){if(I=T.unknownResources[p],I.hasOwnProperty(c))return}else I={},T.unknownResources[p]=I;if(I[c]=Hi,(T=S.headers)&&0<T.remainingCapacity&&p==="font"&&(G=oe(c,p,g),0<=(T.remainingCapacity-=G.length+2)))S.resets.font[c]=Hi,T.fontPreloads&&(T.fontPreloads+=", "),T.fontPreloads+=G;else switch(T=[],c=pr({rel:"preload",href:c,as:p},g),He(T,c),p){case"font":S.fontPreloads.add(T);break;default:S.bulkPreloads.add(T)}}ol(b)}}else at.L(c,p,g)},m:function(c,p){var g=Bt||null;if(g){var b=g.resumableState,T=g.renderState;if(c){var S=p&&typeof p.as=="string"?p.as:"script";switch(S){case"script":if(b.moduleScriptResources.hasOwnProperty(c))return;S=[],b.moduleScriptResources[c]=!p||typeof p.crossOrigin!="string"&&typeof p.integrity!="string"?Hi:[p.crossOrigin,p.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]=Hi}He(S,pr({rel:"modulepreload",href:c},p)),T.bulkPreloads.add(S),ol(g)}}else at.m(c,p)},X:function(c,p){var g=Bt||null;if(g){var b=g.resumableState,T=g.renderState;if(c){var S=b.scriptResources.hasOwnProperty(c)?b.scriptResources[c]:void 0;S!==Yn&&(b.scriptResources[c]=Yn,p=pr({src:c,async:!0},p),S&&(S.length===2&&z(p,S),c=T.preloads.scripts.get(c))&&(c.length=0),c=[],T.scripts.add(c),ui(c,p),ol(g))}}else at.X(c,p)},S:function(c,p,g){var b=Bt||null;if(b){var T=b.resumableState,S=b.renderState;if(c){p=p||"default";var I=S.styles.get(p),B=T.styleResources.hasOwnProperty(c)?T.styleResources[c]:void 0;B!==Yn&&(T.styleResources[c]=Yn,I||(I={precedence:M(p),rules:[],hrefs:[],sheets:new Map},S.styles.set(p,I)),p={state:Hg,props:pr({rel:"stylesheet",href:c,"data-precedence":p},g)},B&&(B.length===2&&z(p.props,B),(S=S.preloads.stylesheets.get(c))&&0<S.length?S.length=0:p.state=Gg),I.sheets.set(c,p),ol(b))}}else at.S(c,p,g)},M:function(c,p){var g=Bt||null;if(g){var b=g.resumableState,T=g.renderState;if(c){var S=b.moduleScriptResources.hasOwnProperty(c)?b.moduleScriptResources[c]:void 0;S!==Yn&&(b.moduleScriptResources[c]=Yn,p=pr({src:c,type:"module",async:!0},p),S&&(S.length===2&&z(p,S),c=T.preloads.moduleScripts.get(c))&&(c.length=0),c=[],T.scripts.add(c),ui(c,p),ol(g))}}else at.M(c,p)}};var $s=0,Tg=1,xd=2,zp=4,Hx=8,vd=32,kg=64,Yn=null,Hi=[];Object.freeze(Hi);var au=null,bd="</script>",Gx=/(<\/|<)(s)(cript)/gi,Ro={},vc=0,wd=1,ea=2,Wp=3,al=4,Hp=5,Gp=6,Vp=7,zl=8,Cd=9,Eg=new Map,Vx=' style="',Yx=":",C0=";",Yo=" ",As='="',lt='"',Yp='=""',Xx=M("javascript:throw new Error('React form unexpectedly submitted.')"),At=">",To="/>",Sg=!1,Rd=!1,Td=!1,Pg=!1,lu=!1,Ag=!1,Wr=!1,ko=!1,bc=!1,Xp=!1,wc=!1,Jx=`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))}});`,R0=/(<\/|<)(s)(tyle)/gi,Jp=`
628
- `,Kx=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Fg=new Map,Og=new Map,T0="requestAnimationFrame(function(){$RT=performance.now()});",k0='<template id="',E0='"></template>',S0="<!--$-->",Zx='<!--$?--><template id="',cu='"></template>',kd="<!--$!-->",Eo="<!--/$-->",Kp="<template",Gi='"',Ed=' data-dgst="',Zp=' data-msg="',Mg=' data-stck="',Ig=' data-cstck="',Dg="></template>",ta='<div hidden id="',Qx='">',P0="</div>",jx='<svg aria-hidden="true" style="display:none" id="',A0='">',Xo="</svg>",Fs='<math aria-hidden="true" style="display:none" id="',Xn='">',_g="</math>",qx='<table hidden id="',$x='">',Jn="</table>",Sd='<table hidden><tbody id="',ev='">',tv="</tbody></table>",nv='<table hidden><tr id="',rv='">',ov="</tr></table>",iv='<table hidden><colgroup id="',sv='">',Qp="</colgroup></table>",av='$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("',qp='","',Lg='")</script>',Ng=`$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};
629
- $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)};`,F0='$RC("',O0=`$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=
630
- "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=
631
- "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`,M0='$RR("',I0='","',D0='",',_0='"',Bg=")</script>",L0='$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())};',lv='$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("',N0='$RX("',cv='"',$p=",",B0=")</script>",U0=/[<\u2028\u2029]/g,z0=/[&><\u2028\u2029]/g,W0=' media="not all" data-precedence="',H0='" data-href="',G0='">',V0="</style>",ef=!1,Ug=!0,Wl=[],tf=' data-precedence="',Y0='" data-href="',uv=" ",X0='">',J0="</style>",dv=' id="',pv="[",fv=",[",zg=",",Wg="]",Hg=0,Gg=1,Vg=2,mv=3,K0=/[<>\r\n]/g,Z0=/["';,\r\n]/g,Q0="",j0=Function.prototype.bind,q0=Symbol.for("react.client.reference"),ll={};Object.freeze(ll);var nf={},Cc=null,gv={},hv={},yv=new Set,xv=new Set,vv=new Set,bv=new Set,wv=new Set,Cv=new Set,Rv=new Set,Yg=new Set,Tv=new Set,kv={enqueueSetState:function(c,p,g){var b=c._reactInternals;b.queue===null?gt(c,"setState"):(b.queue.push(p),g!=null&&pi(g))},enqueueReplaceState:function(c,p,g){c=c._reactInternals,c.replace=!0,c.queue=[p],g!=null&&pi(g)},enqueueForceUpdate:function(c,p){c._reactInternals.queue===null?gt(c,"forceUpdate"):p!=null&&pi(p)}},$0={id:1,overflow:""},rf=Math.clz32?Math.clz32:Cs,eT=Math.log,tT=Math.LN2,Vi=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`."),of=null,nT=typeof Object.is=="function"?Object.is:Rs,cl=null,Xg=null,uu=null,Jg=null,sf=null,ln=null,Pd=!1,af=!1,Ad=0,Fd=0,Hl=-1,du=0,Yi=null,Gl=null,lf=0,na=!1,Od,Ev={readContext:fi,use:function(c){if(c!==null&&typeof c=="object"){if(typeof c.then=="function")return gi(c);if(c.$$typeof===Ul)return fi(c)}throw Error("An unsupported type was passed to use(): "+String(c))},useContext:function(c){return Od="useContext",dr(),c._currentValue2},useMemo:bo,useReducer:mi,useRef:function(c){cl=dr(),ln=Ui();var p=ln.memoizedState;return p===null?(c={current:c},Object.seal(c),ln.memoizedState=c):p},useState:function(c){return Od="useState",mi(vo,c)},useInsertionEffect:Fn,useLayoutEffect:Fn,useCallback:function(c,p){return bo(function(){return c},p)},useImperativeHandle:Fn,useEffect:Fn,useDebugValue:Fn,useDeferredValue:function(c,p){return dr(),p!==void 0?p:c},useTransition:function(){return dr(),[!1,Ts]},useId:function(){var c=Xg.treeContext,p=c.overflow;c=c.id,c=(c&~(1<<32-rf(c)-1)).toString(32)+p;var g=Md;if(g===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return p=Ad++,c="_"+g.idPrefix+"R_"+c,0<p&&(c+="H"+p.toString(32)),c+"_"},useSyncExternalStore:function(c,p,g){if(g===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return g()},useOptimistic:function(c){return dr(),[c,Lr]},useActionState:tl,useFormState:tl,useHostTransitionStatus:function(){return dr(),mr},useMemoCache:function(c){for(var p=Array(c),g=0;g<c;g++)p[g]=Ix;return p},useCacheRefresh:function(){return ka},useEffectEvent:function(){return el}},Md=null,Jo=null,Sv={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")},getOwner:function(){return Jo===null?null:Jo.componentStack}},Rc=0,cf,uf,df,pf,Kg,Pv,Av;Wo.__reactDisabledLog=!0;var Zg,ff,Qg=!1,Xi=new(typeof WeakMap=="function"?WeakMap:Map),Id={react_stack_bottom_frame:function(c,p,g){return c(p,g)}},Tc=Id.react_stack_bottom_frame.bind(Id),jg={react_stack_bottom_frame:function(c){return c.render()}},Fv=jg.react_stack_bottom_frame.bind(jg),qg={react_stack_bottom_frame:function(c){var p=c._init;return p(c._payload)}},$g=qg.react_stack_bottom_frame.bind(qg),eh=0;if(typeof performance=="object"&&typeof performance.now=="function")var Ov=performance,th=function(){return Ov.now()};else{var Mv=Date;th=function(){return Mv.now()}}var yi=4,ra=0,Jr=1,nh=2,oa=3,Vl=4,Yl=5,pu=14,Bt=null,Dd={},Iv={},Aa={},mf={},gf=!1,hf=!1,_d=!1,Ot=0,Xl=!1;ZR.renderToStaticMarkup=function(c,p){return Fp(c,p,!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')},ZR.renderToString=function(c,p){return Fp(c,p,!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')},ZR.version="19.2.4"}()});var g9=xl(cc=>{"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=xc&&a[xc]||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 Pa(a)?"[...]":a!==null&&a.$$typeof===Rg?"client":(a=r(a),a==="Object"?"{...}":a);case"function":return a.$$typeof===Rg?"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 zr:return"Suspense";case yd:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case hd:return s(a.render);case Up:return s(a.type);case iu: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(Pa(a))if(Cg.has(a)){var E=Cg.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===Bp)m="<"+s(a.type)+"/>";else{if(a.$$typeof===Rg)return"client";if(wg.has(a)){for(m=wg.get(a),m="<"+(s(m)||"..."),E=Object.keys(a),O=0;O<E.length;O++){m+=" ",_=E[O],m+=o(_)+"=";var X=a[_],U=_===l&&typeof X=="object"&&X!==null?u(X):i(X);typeof X!="string"&&(U="{"+U+"}"),_===l?(v=m.length,R=U.length,m+=U):m=10>U.length&&40>m.length+U.length?m+U: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),`
632
- `+m+`
633
- `+a):`
634
- `+m}function d(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<an&&(h(a,In.subarray(0,an)),In=new Uint8Array(2048),an=0),h(a,l);else{var m=In;0<an&&(m=In.subarray(an)),m=su.encodeInto(l,m);var v=m.read;an+=m.written,v<l.length&&(h(a,In.subarray(0,an)),In=new Uint8Array(2048),an=su.encodeInto(l.slice(v),In).written),an===2048&&(h(a,In),In=new Uint8Array(2048),an=0)}}else l.byteLength!==0&&(2048<l.byteLength?(0<an&&(h(a,In.subarray(0,an)),In=new Uint8Array(2048),an=0),h(a,l)):(m=In.length-an,m<l.byteLength&&(m===0?h(a,In):(In.set(l.subarray(0,m),an),an+=m,h(a,In),l=l.subarray(m)),In=new Uint8Array(2048),an=0),In.set(l,an),an+=l.byteLength,an===2048&&(h(a,In),In=new Uint8Array(2048),an=0)))}function h(a,l){a=a.write(l),fr=fr&&a}function y(a,l){return f(a,l),fr}function x(a){In&&0<an&&a.write(In.subarray(0,an)),In=null,an=0,fr=!0}function w(a){return a=su.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 N(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 H(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 at.call(xd,a)?!0:at.call(Tg,a)?!1:$s.test(a)?xd[a]=!0:(Tg[a]=!0,console.error("Invalid attribute name: `%s`",a),!1)}function M(a,l){vd[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(at.call(Yn,l)&&Yn[l])return!0;if(au.test(l)){if(a="aria-"+l.slice(4).toLowerCase(),a=kg.hasOwnProperty(a)?a:null,a==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),Yn[l]=!0;if(l!==a)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,a),Yn[l]=!0}if(Hi.test(l)){if(a=l.toLowerCase(),a=kg.hasOwnProperty(a)?a:null,a==null)return Yn[l]=!0,!1;l!==a&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,a),Yn[l]=!0)}return!0}function Ee(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 Ce(a,l,m,v){if(at.call(Ro,l)&&Ro[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."),Ro[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),Ro[l]=!0;if(vc.test(l))return console.error("Unknown event handler property `%s`. It will be ignored.",l),Ro[l]=!0}else if(vc.test(l))return wd.test(l)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),Ro[l]=!0;if(ea.test(l)||Wp.test(l))return!0;if(R==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ro[l]=!0;if(R==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ro[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),Ro[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),Ro[l]=!0;if(Gx.hasOwnProperty(R)){if(R=Gx[R],R!==l)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",l,R),Ro[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),Ro[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),Ro[l]=!0)}case"function":case"symbol":return Ro[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),Ro[l]=!0}}return!0}function re(a,l,m){var v=[],R;for(R in l)Ce(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(Gp,function(l,m){return m.toUpperCase()})}function ce(a){if(typeof a=="boolean"||typeof a=="number"||typeof a=="bigint")return""+a;H(a),a=""+a;var l=Yx.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 ke(a){return As.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function be(a){return H(a),(""+a).replace(k0,t)}function Oe(a,l,m,v,R,E){m=typeof l=="string"?l:l&&l.script;var O=m===void 0?Xp:w('<script nonce="'+ce(m)+'"'),_=typeof l=="string"?void 0:l&&l.style,X=_===void 0?T0:w('<style nonce="'+ce(_)+'"'),U=a.idPrefix,V=[],$=a.bootstrapScriptContent,ee=a.bootstrapScripts,ie=a.bootstrapModules;if($!==void 0&&(V.push(O),Ne(V,a),V.push(Jn,be($),wc)),$=[],v!==void 0&&($.push(E0),$.push(be(JSON.stringify(v))),$.push(S0)),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(U+"P:"),segmentPrefix:w(U+"S:"),boundaryPrefix:w(U+"B:"),startInlineScript:O,startInlineStyle:X,preamble:Ke(),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,U={rel:"preload",as:"script",fetchPriority:"low",nonce:l},typeof E=="string"?U.href=O=E:(U.href=O=E.src,U.integrity=X=typeof E.integrity=="string"?E.integrity:void 0,U.crossOrigin=_=typeof E=="string"||E.crossOrigin==null?void 0:E.crossOrigin==="use-credentials"?"use-credentials":""),Dr(a,R,O,U),V.push(Jx,ce(O),Xn),m&&V.push(Jp,ce(m),Xn),typeof X=="string"&&V.push(Kx,ce(X),Xn),typeof _=="string"&&V.push(Fg,ce(_),Xn),Ne(V,a),V.push(Og);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":""),Dr(a,R,v,_),V.push(R0,ce(v),Xn),m&&V.push(Jp,ce(m),Xn),typeof O=="string"&&V.push(Kx,ce(O),Xn),typeof E=="string"&&V.push(Fg,ce(E),Xn),Ne(V,a),V.push(Og);return R}function st(a,l,m,v,R){return{idPrefix:a===void 0?"":a,nextFormID:0,streamingFormat:0,bootstrapScriptContent:m,bootstrapScripts:v,bootstrapModules:R,instructions:To,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Ke(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function je(a,l,m,v){return{insertionMode:a,selectedValue:l,tagScope:m,viewTransition:v}}function En(a){return je(a==="http://www.w3.org/2000/svg"?Gi:a==="http://www.w3.org/1998/Math/MathML"?Ed:cu,null,0,null)}function Zt(a,l,m){var v=a.tagScope&-25;switch(l){case"noscript":return je(Eo,null,v|1,null);case"select":return je(Eo,m.value!=null?m.value:m.defaultValue,v,null);case"svg":return je(Gi,null,v,null);case"picture":return je(Eo,null,v|2,null);case"math":return je(Ed,null,v,null);case"foreignObject":return je(Eo,null,v,null);case"table":return je(Zp,null,v,null);case"thead":case"tbody":case"tfoot":return je(Mg,null,v,null);case"colgroup":return je(Dg,null,v,null);case"tr":return je(Ig,null,v,null);case"head":if(a.insertionMode<Eo)return je(Kp,null,v,null);break;case"html":if(a.insertionMode===cu)return je(kd,null,v,null)}return a.insertionMode>=Zp||a.insertionMode<Eo?je(Eo,null,v,null):a.tagScope!==v?je(a.insertionMode,a.selectedValue,v,null):a}function Re(a){return a===null?null:{update:a.update,enter:"none",exit:"none",share:a.update,name:a.autoName,autoName:a.autoName,nameIdx:0}}function xe(a,l){return l.tagScope&32&&(a.instructions|=128),je(l.insertionMode,l.selectedValue,l.tagScope|12,Re(l.viewTransition))}function Ue(a,l){a=Re(l.viewTransition);var m=l.tagScope|16;return a!==null&&a.share!=="none"&&(m|=64),je(l.insertionMode,l.selectedValue,m,a)}function St(a,l,m,v){return l===""?v:(v&&a.push(ta),a.push(ce(l)),!0)}function nn(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(at.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;zl.hasOwnProperty(_)&&zl[_]||(zl[_]=!0,console.error("Unsupported style property %s. Did you mean %s?",_,me(_.replace(Hp,"ms-"))))}else if(al.test(E))_=E,zl.hasOwnProperty(_)&&zl[_]||(zl[_]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",_,_.charAt(0).toUpperCase()+_.slice(1)));else if(Vp.test(O)){_=E;var X=O;Cd.hasOwnProperty(X)&&Cd[X]||(Cd[X]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,_,X.replace(Vp,"")))}typeof O=="number"&&(isNaN(O)?Eg||(Eg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",E)):isFinite(O)||Vx||(Vx=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",E))),E=v,O=Qx.get(E),O!==void 0||(O=w(ce(E.replace(C0,"-$1").toLowerCase().replace(Yo,"-ms-"))),Qx.set(E,O)),E=O,typeof R=="number"?R=R===0||zp.has(v)?""+R:R+"px":(Y(R,v),R=ce((""+R).trim()))}m?(m=!1,a.push(P0,E,jx,R)):a.push(A0,E,jx,R)}}m||a.push(Xn)}function $e(a,l,m){m&&typeof m!="function"&&typeof m!="symbol"&&a.push(Xo,l,_g)}function He(a,l,m){typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&a.push(Xo,l,Fs,ce(m),Xn)}function jn(a,l){this.push($x),ho(a),He(this,"name",l),He(this,"value",a),this.push(Sd)}function ho(a){if(typeof a!="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function vs(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(ho)}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:
635
- %s`,E)}}return null}function ui(a,l,m,v,R,E,O,_){var X=null;if(typeof v=="function"){_===null||av||(av=!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||qp||(qp=!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 U=vs(l,v);U!==null?(_=U.name,v=U.action||"",R=U.encType,E=U.method,O=U.target,X=U.data):(a.push(Xo,"formAction",Fs,qx,Xn),O=E=R=v=_=null,Pt(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":He(a,"class",m);break;case"tabIndex":He(a,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":He(a,l,m);break;case"style":nn(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;N(m,l),m=ke(""+m),a.push(Xo,l,Fs,ce(m),Xn);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":$e(a,l.toLowerCase(),m);break;case"xlinkHref":if(typeof m=="function"||typeof m=="symbol"||typeof m=="boolean")break;N(m,l),m=ke(""+m),a.push(Xo,"xlink:href",Fs,ce(m),Xn);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(Xo,l,Fs,ce(m),Xn);break;case"inert":m!==""||Zx[l]||(Zx[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(Xo,l,_g);break;case"capture":case"download":m===!0?a.push(Xo,l,_g):m!==!1&&typeof m!="function"&&typeof m!="symbol"&&a.push(Xo,l,Fs,ce(m),Xn);break;case"cols":case"rows":case"size":case"span":typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m&&a.push(Xo,l,Fs,ce(m),Xn);break;case"rowSpan":case"start":typeof m=="function"||typeof m=="symbol"||isNaN(m)||a.push(Xo,l,Fs,ce(m),Xn);break;case"xlinkActuate":He(a,"xlink:actuate",m);break;case"xlinkArcrole":He(a,"xlink:arcrole",m);break;case"xlinkRole":He(a,"xlink:role",m);break;case"xlinkShow":He(a,"xlink:show",m);break;case"xlinkTitle":He(a,"xlink:title",m);break;case"xlinkType":He(a,"xlink:type",m);break;case"xmlBase":He(a,"xml:base",m);break;case"xmlLang":He(a,"xml:lang",m);break;case"xmlSpace":He(a,"xml:space",m);break;default:if((!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Hx.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(Xo,l,Fs,ce(m),Xn)}}}function xn(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&&(H(l),a.push(""+l))}}function Ft(a,l){var m=a[l];m!=null&&(m=Pa(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 rn(a){var l="";return Np.Children.forEach(a,function(m){m!=null&&(l+=m,ov||typeof m=="string"||typeof m=="number"||typeof m=="bigint"||(ov=!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 Pt(a,l){if((a.instructions&16)===To){a.instructions|=16;var m=l.preamble,v=l.bootstrapChunks;(m.htmlChunks||m.headChunks)&&v.length===0?(v.push(l.startInlineScript),Ne(v,a),v.push(Jn,Ng,wc)):v.unshift(l.startInlineScript,Jn,Ng,wc)}}function Sn(a,l){a.push(vt("link"));for(var m in l)if(at.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(Sd),null}function ze(a){return H(a),(""+a).replace(M0,e)}function Pn(a,l,m){a.push(vt(m));for(var v in l)if(at.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(Sd),null}function Zs(a,l){a.push(vt("title"));var m=null,v=null,R;for(R in l)if(at.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(Jn),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)),xn(a,v,m),a.push(Nt("title")),null}function Wn(a,l){a.push(vt("script"));var m=null,v=null,R;for(R in l)if(at.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(Jn),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)),xn(a,v,m),typeof m=="string"&&a.push(be(m)),a.push(Nt("script")),null}function ar(a,l,m){a.push(vt(m));var v=m=null,R;for(R in l)if(at.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(Jn),xn(a,v,m),m}function Hn(a,l,m){a.push(vt(m));var v=m=null,R;for(R in l)if(at.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(Jn),xn(a,v,m),typeof m=="string"?(a.push(ce(m)),null):m}function vt(a){var l=lv.get(a);if(l===void 0){if(!L0.test(a))throw Error("Invalid tag: "+a);l=w("<"+a),lv.set(a,l)}return l}function zo(a,l,m,v,R,E,O,_,X){Ee(l,m),l!=="input"&&l!=="textarea"&&l!=="select"||m==null||m.value!==null||bd||(bd=!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 U=!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":U=!1;break e;default:U=!0}switch(U||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!==Gi&&_.insertionMode!==Ed&&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(vt("a"));var V=null,$=null,ee;for(ee in m)if(at.call(m,ee)){var ie=m[ee];if(ie!=null)switch(ee){case"children":V=ie;break;case"dangerouslySetInnerHTML":$=ie;break;case"href":ie===""?He(a,"href",""):qe(a,ee,ie);break;default:qe(a,ee,ie)}}if(a.push(Jn),xn(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),Ft(m,"value"),Ft(m,"defaultValue"),m.value===void 0||m.defaultValue===void 0||nv||(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"),nv=!0),a.push(vt("select"));var De=null,wt=null,Fe;for(Fe in m)if(at.call(m,Fe)){var Ge=m[Fe];if(Ge!=null)switch(Fe){case"children":De=Ge;break;case"dangerouslySetInnerHTML":wt=Ge;break;case"defaultValue":case"value":break;default:qe(a,Fe,Ge)}}return a.push(Jn),xn(a,wt,De),De;case"option":var Mt=_.selectedValue;a.push(vt("option"));var Pr=null,nt=null,_e=null,qo=null,_n;for(_n in m)if(at.call(m,_n)){var yt=m[_n];if(yt!=null)switch(_n){case"children":Pr=yt;break;case"selected":_e=yt,sv||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sv=!0);break;case"dangerouslySetInnerHTML":qo=yt;break;case"value":nt=yt;default:qe(a,_n,yt)}}if(Mt!=null){if(nt!==null){N(nt,"value");var Tt=""+nt}else qo===null||iv||(iv=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),Tt=rn(Pr);if(Pa(Mt)){for(var hr=0;hr<Mt.length;hr++)if(N(Mt[hr],"value"),""+Mt[hr]===Tt){a.push(Lg);break}}else N(Mt,"select.value"),""+Mt===Tt&&a.push(Lg)}else _e&&a.push(Lg);return a.push(Jn),xn(a,qo,Pr),Pr;case"textarea":M("textarea",m),m.value===void 0||m.defaultValue===void 0||rv||(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"),rv=!0),a.push(vt("textarea"));var er=null,so=null,xt=null,kt;for(kt in m)if(at.call(m,kt)){var Kn=m[kt];if(Kn!=null)switch(kt){case"children":xt=Kn;break;case"value":er=Kn;break;case"defaultValue":so=Kn;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:qe(a,kt,Kn)}}if(er===null&&so!==null&&(er=so),a.push(Jn),xt!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),er!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Pa(xt)){if(1<xt.length)throw Error("<textarea> can only have at most one child.");H(xt[0]),er=""+xt[0]}H(xt),er=""+xt}return typeof er=="string"&&er[0]===`
636
- `&&a.push(Bg),er!==null&&(N(er,"value"),a.push(ce(""+er))),null;case"input":M("input",m),a.push(vt("input"));var Hr=null,It=null,Ve=null,fn=null,mn=null,ao=null,Fo=null,Ar=null,$o=null,bi;for(bi in m)if(at.call(m,bi)){var tr=m[bi];if(tr!=null)switch(bi){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":Hr=tr;break;case"formAction":It=tr;break;case"formEncType":Ve=tr;break;case"formMethod":fn=tr;break;case"formTarget":mn=tr;break;case"defaultChecked":$o=tr;break;case"defaultValue":Fo=tr;break;case"checked":Ar=tr;break;case"value":ao=tr;break;default:qe(a,bi,tr)}}It===null||m.type==="image"||m.type==="submit"||Qp||(Qp=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".'));var Ec=ui(a,v,R,It,Ve,fn,mn,Hr);return Ar===null||$o===null||tv||(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),tv=!0),ao===null||Fo===null||ev||(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),ev=!0),Ar!==null?$e(a,"checked",Ar):$o!==null&&$e(a,"checked",$o),ao!==null?qe(a,"value",ao):Fo!==null&&qe(a,"value",Fo),a.push(Sd),Ec?.forEach(jn,a),null;case"button":a.push(vt("button"));var Ji=null,Oa=null,ul=null,Ma=null,dl=null,aa=null,lo=null,wi;for(wi in m)if(at.call(m,wi)){var nr=m[wi];if(nr!=null)switch(wi){case"children":Ji=nr;break;case"dangerouslySetInnerHTML":Oa=nr;break;case"name":ul=nr;break;case"formAction":Ma=nr;break;case"formEncType":dl=nr;break;case"formMethod":aa=nr;break;case"formTarget":lo=nr;break;default:qe(a,wi,nr)}}Ma===null||m.type==null||m.type==="submit"||Qp||(Qp=!0,console.error('A button can only specify a formAction along with type="submit" or no type.'));var la=ui(a,v,R,Ma,dl,aa,lo,ul);if(a.push(Jn),la?.forEach(jn,a),xn(a,Oa,Ji),typeof Ji=="string"){a.push(ce(Ji));var Ki=null}else Ki=Ji;return Ki;case"form":a.push(vt("form"));var jr=null,Ia=null,yr=null,ei=null,Ls=null,Oo=null,Ci;for(Ci in m)if(at.call(m,Ci)){var Mo=m[Ci];if(Mo!=null)switch(Ci){case"children":jr=Mo;break;case"dangerouslySetInnerHTML":Ia=Mo;break;case"action":yr=Mo;break;case"encType":ei=Mo;break;case"method":Ls=Mo;break;case"target":Oo=Mo;break;default:qe(a,Ci,Mo)}}var Da=null,co=null;if(typeof yr=="function"){ei===null&&Ls===null||qp||(qp=!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.")),Oo===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 ti=vs(v,yr);ti!==null?(yr=ti.action||"",ei=ti.encType,Ls=ti.method,Oo=ti.target,Da=ti.data,co=ti.name):(a.push(Xo,"action",Fs,qx,Xn),Oo=Ls=ei=yr=null,Pt(v,R))}if(yr!=null&&qe(a,"action",yr),ei!=null&&qe(a,"encType",ei),Ls!=null&&qe(a,"method",Ls),Oo!=null&&qe(a,"target",Oo),a.push(Jn),co!==null&&(a.push($x),He(a,"name",co),a.push(Sd),Da?.forEach(jn,a)),xn(a,Ia,jr),typeof jr=="string"){a.push(ce(jr));var pl=null}else pl=jr;return pl;case"menuitem":a.push(vt("menuitem"));for(var ca in m)if(at.call(m,ca)){var ua=m[ca];if(ua!=null)switch(ca){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:qe(a,ca,ua)}}return a.push(Jn),null;case"object":a.push(vt("object"));var Sc=null,yf=null,Zi;for(Zi in m)if(at.call(m,Zi)){var uo=m[Zi];if(uo!=null)switch(Zi){case"children":Sc=uo;break;case"dangerouslySetInnerHTML":yf=uo;break;case"data":N(uo,"data");var Kl=ke(""+uo);if(Kl===""){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.',Zi,Zi);break}a.push(Xo,"data",Fs,ce(Kl),Xn);break;default:qe(a,Zi,uo)}}if(a.push(Jn),xn(a,yf,Sc),typeof Sc=="string"){a.push(ce(Sc));var Zl=null}else Zl=Sc;return Zl;case"title":var Pc=_.tagScope&1,_a=_.tagScope&4;if(at.call(m,"children")){var fl=m.children,Ln=Array.isArray(fl)?2>fl.length?fl[0]:null:fl;Array.isArray(fl)&&1<fl.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>.",fl.length):typeof Ln=="function"||typeof Ln=="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 Ln=="function"?"a Function":"a Sybmol"):Ln&&Ln.toString==={}.toString&&(Ln.$$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===Gi||Pc||m.itemProp!=null)var Nn=Zs(a,m);else _a?Nn=null:(Zs(R.hoistableChunks,m),Nn=void 0);return Nn;case"link":var La=_.tagScope&1,Na=_.tagScope&4,Ac=m.rel,rr=m.href,Qi=m.precedence;if(_.insertionMode===Gi||La||m.itemProp!=null||typeof Ac!="string"||typeof rr!="string"||rr===""){Ac==="stylesheet"&&typeof m.precedence=="string"&&(typeof rr=="string"&&rr||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.',rr===null?"`null`":rr===void 0?"`undefined`":rr===""?"an empty string":'something with type "'+typeof rr+'"')),Sn(a,m);var ml=null}else if(m.rel==="stylesheet")if(typeof Qi!="string"||m.disabled!=null||m.onLoad||m.onError){if(typeof Qi=="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 da=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.',da,da)}}ml=Sn(a,m)}else{var Ns=R.styles.get(Qi),Yt=v.styleResources.hasOwnProperty(rr)?v.styleResources[rr]:void 0;if(Yt!==Wr){v.styleResources[rr]=Wr,Ns||(Ns={precedence:ce(Qi),rules:[],hrefs:[],sheets:new Map},R.styles.set(Qi,Ns));var Io={state:uf,props:mr({},m,{"data-precedence":m.precedence,precedence:null})};if(Yt){Yt.length===2&&wr(Io.props,Yt);var qr=R.preloads.stylesheets.get(rr);qr&&0<qr.length?qr.length=0:Io.state=df}Ns.sheets.set(rr,Io),O&&O.stylesheets.add(Io)}else if(Ns){var fu=Ns.sheets.get(rr);fu&&O&&O.stylesheets.add(fu)}X&&a.push(ta),ml=null}else m.onLoad||m.onError?ml=Sn(a,m):(X&&a.push(ta),ml=Na?null:Sn(R.hoistableChunks,m));return ml;case"script":var Ql=_.tagScope&1,Fc=m.async;if(typeof m.src!="string"||!m.src||!Fc||typeof Fc=="function"||typeof Fc=="symbol"||m.onLoad||m.onError||_.insertionMode===Gi||Ql||m.itemProp!=null)var Oc=Wn(a,m);else{var gl=m.src;if(m.type==="module")var Bs=v.moduleScriptResources,Ri=R.preloads.moduleScripts;else Bs=v.scriptResources,Ri=R.preloads.scripts;var jl=Bs.hasOwnProperty(gl)?Bs[gl]:void 0;if(jl!==Wr){Bs[gl]=Wr;var Ld=m;if(jl){jl.length===2&&(Ld=mr({},m),wr(Ld,jl));var xf=Ri.get(gl);xf&&(xf.length=0)}var Dv=[];R.scripts.add(Dv),Wn(Dv,Ld)}X&&a.push(ta),Oc=null}return Oc;case"style":var _v=_.tagScope&1;if(at.call(m,"children")){var vf=m.children,Nd=Array.isArray(vf)?2>vf.length?vf[0]:null:vf;(typeof Nd=="function"||typeof Nd=="symbol"||Array.isArray(Nd))&&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 Nd=="function"?"a Function":typeof Nd=="symbol"?"a Sybmol":"an Array")}var mu=m.precedence,hl=m.href,gu=m.nonce;if(_.insertionMode===Gi||_v||m.itemProp!=null||typeof mu!="string"||typeof hl!="string"||hl===""){a.push(vt("style"));var Mc=null,hu=null,Bd;for(Bd in m)if(at.call(m,Bd)){var bf=m[Bd];if(bf!=null)switch(Bd){case"children":Mc=bf;break;case"dangerouslySetInnerHTML":hu=bf;break;default:qe(a,Bd,bf)}}a.push(Jn);var yu=Array.isArray(Mc)?2>Mc.length?Mc[0]:null:Mc;typeof yu!="function"&&typeof yu!="symbol"&&yu!==null&&yu!==void 0&&a.push(ze(yu)),xn(a,hu,Mc),a.push(Nt("style"));var Lv=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 Ic=R.styles.get(mu),Nv=v.styleResources.hasOwnProperty(hl)?v.styleResources[hl]:void 0;if(Nv!==Wr){v.styleResources[hl]=Wr,Nv&&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),Ic||(Ic={precedence:ce(mu),rules:[],hrefs:[],sheets:new Map},R.styles.set(mu,Ic));var Ud=R.nonce.style;if(Ud&&Ud!==gu)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.',mu,gu,Ud);else{!Ud&&gu&&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.',mu,gu),Ic.hrefs.push(ce(hl));var wf=Ic.rules,Cf=null,wO=null,Bv;for(Bv in m)if(at.call(m,Bv)){var rT=m[Bv];if(rT!=null)switch(Bv){case"children":Cf=rT;break;case"dangerouslySetInnerHTML":wO=rT}}var rh=Array.isArray(Cf)?2>Cf.length?Cf[0]:null:Cf;typeof rh!="function"&&typeof rh!="symbol"&&rh!==null&&rh!==void 0&&wf.push(ze(rh)),xn(wf,wO,Cf)}}Ic&&O&&O.styles.add(Ic),X&&a.push(ta),Lv=void 0}return Lv;case"meta":var V5=_.tagScope&1,Y5=_.tagScope&4;if(_.insertionMode===Gi||V5||m.itemProp!=null)var CO=Pn(a,m,"meta");else X&&a.push(ta),CO=Y5?null:typeof m.charSet=="string"?Pn(R.charsetChunks,m,"meta"):m.name==="viewport"?Pn(R.viewportChunks,m,"meta"):Pn(R.hoistableChunks,m,"meta");return CO;case"listing":case"pre":a.push(vt(l));var oh=null,ih=null,sh;for(sh in m)if(at.call(m,sh)){var Uv=m[sh];if(Uv!=null)switch(sh){case"children":oh=Uv;break;case"dangerouslySetInnerHTML":ih=Uv;break;default:qe(a,sh,Uv)}}if(a.push(Jn),ih!=null){if(oh!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof ih!="object"||!("__html"in ih))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var xu=ih.__html;xu!=null&&(typeof xu=="string"&&0<xu.length&&xu[0]===`
637
- `?a.push(Bg,xu):(H(xu),a.push(""+xu)))}return typeof oh=="string"&&oh[0]===`
638
- `&&a.push(Bg),oh;case"img":var X5=_.tagScope&3,Ti=m.src,ni=m.srcSet;if(!(m.loading==="lazy"||!Ti&&!ni||typeof Ti!="string"&&Ti!=null||typeof ni!="string"&&ni!=null||m.fetchPriority==="low"||X5)&&(typeof Ti!="string"||Ti[4]!==":"||Ti[0]!=="d"&&Ti[0]!=="D"||Ti[1]!=="a"&&Ti[1]!=="A"||Ti[2]!=="t"&&Ti[2]!=="T"||Ti[3]!=="a"&&Ti[3]!=="A")&&(typeof ni!="string"||ni[4]!==":"||ni[0]!=="d"&&ni[0]!=="D"||ni[1]!=="a"&&ni[1]!=="A"||ni[2]!=="t"&&ni[2]!=="T"||ni[3]!=="a"&&ni[3]!=="A")){O!==null&&_.tagScope&64&&(O.suspenseyImages=!0);var RO=typeof m.sizes=="string"?m.sizes:void 0,Rf=ni?ni+`
639
- `+(RO||""):Ti,oT=R.preloads.images,zd=oT.get(Rf);if(zd)(m.fetchPriority==="high"||10>R.highImagePreloads.size)&&(oT.delete(Rf),R.highImagePreloads.add(zd));else if(!v.imageResources.hasOwnProperty(Rf)){v.imageResources[Rf]=ko;var iT=m.crossOrigin,TO=typeof iT=="string"?iT==="use-credentials"?iT:"":void 0,Wd=R.headers,sT;Wd&&0<Wd.remainingCapacity&&typeof m.srcSet!="string"&&(m.fetchPriority==="high"||500>Wd.highImagePreloads.length)&&(sT=An(Ti,"image",{imageSrcSet:m.srcSet,imageSizes:m.sizes,crossOrigin:TO,integrity:m.integrity,nonce:m.nonce,type:m.type,fetchPriority:m.fetchPriority,referrerPolicy:m.refererPolicy}),0<=(Wd.remainingCapacity-=sT.length+2))?(R.resets.image[Rf]=ko,Wd.highImagePreloads&&(Wd.highImagePreloads+=", "),Wd.highImagePreloads+=sT):(zd=[],Sn(zd,{rel:"preload",as:"image",href:ni?void 0:Ti,imageSrcSet:ni,imageSizes:RO,crossOrigin:TO,integrity:m.integrity,type:m.type,fetchPriority:m.fetchPriority,referrerPolicy:m.referrerPolicy}),m.fetchPriority==="high"||10>R.highImagePreloads.size?R.highImagePreloads.add(zd):(R.bulkPreloads.add(zd),oT.set(Rf,zd)))}}return Pn(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 Pn(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<Eo){var aT=E||R.preamble;if(aT.headChunks)throw Error("The `<head>` tag may only be rendered once.");E!==null&&a.push(I0),aT.headChunks=[];var kO=ar(aT.headChunks,m,"head")}else kO=Hn(a,m,"head");return kO;case"body":if(_.insertionMode<Eo){var lT=E||R.preamble;if(lT.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");E!==null&&a.push(D0),lT.bodyChunks=[];var EO=ar(lT.bodyChunks,m,"body")}else EO=Hn(a,m,"body");return EO;case"html":if(_.insertionMode===cu){var cT=E||R.preamble;if(cT.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");E!==null&&a.push(_0),cT.htmlChunks=[N0];var SO=ar(cT.htmlChunks,m,"html")}else SO=Hn(a,m,"html");return SO;default:if(l.indexOf("-")!==-1){a.push(vt(l));var uT=null,PO=null,Tf;for(Tf in m)if(at.call(m,Tf)){var yl=m[Tf];if(yl!=null){var AO=Tf;switch(Tf){case"children":uT=yl;break;case"dangerouslySetInnerHTML":PO=yl;break;case"style":nn(a,yl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":AO="class";default:if(W(Tf)&&typeof yl!="function"&&typeof yl!="symbol"&&yl!==!1){if(yl===!0)yl="";else if(typeof yl=="object")continue;a.push(Xo,AO,Fs,ce(yl),Xn)}}}}return a.push(Jn),xn(a,PO,uT),uT}}return Hn(a,m,l)}function Nt(a){var l=cv.get(a);return l===void 0&&(l=w("</"+a+">"),cv.set(a,l)),l}function Gn(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 Bi(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 lr(a,l,m){if(f(a,G0),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,V0)}function bs(a,l,m,v){switch(m.insertionMode){case cu:case kd:case Kp:case Eo:return f(a,pv),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,fv);case Gi:return f(a,Wg),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,Hg);case Ed:return f(a,Vg),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,mv);case Zp:return f(a,Z0),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,Q0);case Mg:return f(a,q0),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,ll);case Ig:return f(a,Cc),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,gv);case Dg:return f(a,yv),f(a,l.segmentPrefix),f(a,v.toString(16)),y(a,xv);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function yo(a,l){switch(l.insertionMode){case cu:case kd:case Kp:case Eo:return y(a,zg);case Gi:return y(a,Gg);case Ed:return y(a,K0);case Zp:return y(a,j0);case Mg:return y(a,nf);case Ig:return y(a,hv);case Dg:return y(a,vv);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function Yr(a){return JSON.stringify(a).replace(sf,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 cr(a){return JSON.stringify(a).replace(ln,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 Ra(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,bc.startInlineStyle),f(this,Pd),f(this,a.precedence),f(this,af);v<m.length-1;v++)f(this,m[v]),f(this,na);for(f(this,m[v]),f(this,Ad),v=0;v<l.length;v++)f(this,l[v]);du=y(this,Fd),Hl=!0,l.length=0,m.length=0}}function ur(a){return a.state!==pf?Hl=!0:!1}function P(a,l,m){return Hl=!1,du=!0,bc=m,l.styles.forEach(Ra,a),bc=null,l.stylesheets.forEach(ur),Hl&&(m.stylesToHoist=!0),du}function z(a){for(var l=0;l<a.length;l++)f(this,a[l]);a.length=0}function oe(a){Sn(Yi,a.props);for(var l=0;l<Yi.length;l++)f(this,Yi[l]);Yi.length=0,a.state=pf}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,bc.startInlineStyle),f(this,Gl),f(this,a.precedence),a=0,v.length){for(f(this,lf);a<v.length-1;a++)f(this,v[a]),f(this,na);f(this,v[a])}for(f(this,Od),a=0;a<m.length;a++)f(this,m[a]);f(this,Ev),m.length=0,v.length=0}}function Te(a){if(a.state===uf){a.state=df;var l=a.props;for(Sn(Yi,{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<Yi.length;a++)f(this,Yi[a]);Yi.length=0}}function Le(a){a.sheets.forEach(Te,this),a.sheets.clear()}function Ne(a,l){(l.instructions&lu)===To&&(l.instructions|=lu,a.push(Md,ce("_"+l.idPrefix+"R_"),Xn))}function bt(a,l){f(a,Jo);var m=Jo;l.stylesheets.forEach(function(v){if(v.state!==pf)if(v.state===Kg)f(a,m),v=v.props.href,N(v,"href"),f(a,cr(""+v)),f(a,cf),m=Sv;else{f(a,m);var R=v.props["data-precedence"],E=v.props,O=ke(""+v.props.href);f(a,cr(O)),N(R,"precedence"),R=""+R,f(a,Rc),f(a,cr(R));for(var _ in E)if(at.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:Ye(a,_,R)}f(a,cf),m=Sv,v.state=Kg}}),f(a,cf)}function Ye(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",N(m,v),l=""+m;break;case"hidden":if(m===!1)return;l="";break;case"src":case"href":m=ke(m),N(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;N(m,v),l=""+m}f(a,Rc),f(a,cr(v)),f(a,Rc),f(a,cr(l))}function ct(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Dr(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]=Wr,a.moduleScriptResources[m]=Wr,a=[],Sn(a,v),l.bootstrapScripts.add(a)}function wr(a,l){a.crossOrigin==null&&(a.crossOrigin=l[0]),a.integrity==null&&(a.integrity=l[1])}function An(a,l,m){a=ut(a),l=ws(l,"as"),l="<"+a+'>; rel=preload; as="'+l+'"';for(var v in m)at.call(m,v)&&(a=m[v],typeof a=="string"&&(l+="; "+v.toLowerCase()+'="'+ws(a,v)+'"'));return l}function ut(a){return N(a,"href"),(""+a).replace(Pv,di)}function di(a){switch(a){case"<":return"%3C";case">":return"%3E";case`
640
- `: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 ws(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(Av,Ol)}function Ol(a){switch(a){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
641
- `: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 Zc(a){this.styles.add(a)}function Ta(a){this.stylesheets.add(a)}function _r(a,l){l.styles.forEach(Zc,a),l.stylesheets.forEach(Ta,a),l.suspenseyImages&&(a.suspenseyImages=!0)}function pi(a){return 0<a.stylesheets.size||a.suspenseyImages}function gt(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Qg?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case vg:return"Fragment";case Bx:return"Profiler";case yc:return"StrictMode";case zr:return"Suspense";case yd:return"SuspenseList";case Ux: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 xg:return"Portal";case ou:return a.displayName||"Context";case bg:return(a._context.displayName||"Context")+".Consumer";case hd:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Up:return l=a.displayName||null,l!==null?l:gt(a.type)||"Memo";case iu:l=a._payload,a=a._init;try{return gt(a(l))}catch{}}return null}function xo(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.");xo(a,m)}l.context._currentValue=l.value}}function Cs(a){a.context._currentValue=a.parentValue,a=a.parent,a!==null&&Cs(a)}function Fn(a){var l=a.parent;l!==null&&Fn(l),a.context._currentValue=a.value}function Ml(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?xo(a,l):Ml(a,l)}function Qs(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?xo(a,m):Qs(a,m),l.context._currentValue=l.value}function Rs(a){var l=Tc;l!==a&&(l===null?Fn(a):a===null?Cs(l):l.depth===a.depth?xo(l,a):l.depth>a.depth?Ml(l,a):Qs(l,a),Tc=a)}function dr(a){if(a!==null&&typeof a!="function"){var l=String(a);Jr.has(l)||(Jr.add(l),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a))}}function eo(a,l){a=(a=a.constructor)&&gt(a)||"ReactClass";var m=a+"."+l;jg[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.
642
-
643
- Please check the code for the %s component.`,l,a),jg[m]=!0)}function Ui(a,l,m){var v=a.id;a=a.overflow;var R=32-Vl(v)-1;v&=~(1<<R),m+=1;var E=32-Vl(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-Vl(l)+R|m<<R|v,overflow:E+a}}return{id:1<<E|m<<R|v,overflow:a}}function Cr(a){return a>>>=0,a===0?32:31-(Yl(a)/pu|0)|0}function vn(){}function fi(a,l,m){switch(m=a[m],m===void 0?a.push(l):m!==l&&(l.then(vn,vn),l=m),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:switch(typeof l.status=="string"?l.then(vn,vn):(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 Dd=l,Bt}}function vo(){if(Dd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Dd;return Dd=null,a}function mi(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}function bo(){if(Aa===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:
644
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
645
- 2. You might be breaking the Rules of Hooks
646
- 3. You might have more than one copy of React in the same app
647
- 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"),Aa}function Xr(){if(0<B)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function el(){return Ot===null?_d===null?(Xl=!1,_d=Ot=Xr()):(Xl=!0,Ot=_d):Ot.next===null?(Xl=!1,Ot=Ot.next=Xr()):(Xl=!0,Ot=Ot.next),Ot}function Ts(){var a=S;return S=null,a}function Lr(){Z=!1,hf=gf=mf=Aa=null,c=!1,_d=null,B=0,Ot=I=null}function tl(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 gi(a,l){return typeof l=="function"?l(a):l}function ka(a,l,m){if(a!==gi&&(G="useReducer"),Aa=bo(),Ot=el(),Xl){if(m=Ot.queue,l=m.dispatch,I!==null){var v=I.get(m);if(v!==void 0){I.delete(m),m=Ot.memoizedState;do{var R=v.action;Z=!0,m=a(m,R),Z=!1,v=v.next}while(v!==null);return Ot.memoizedState=m,[m,l]}}return[Ot.memoizedState,l]}return Z=!0,a=a===gi?typeof l=="function"?l():l:m!==void 0?m(l):l,Z=!1,Ot.memoizedState=a,a=Ot.queue={last:null,dispatch:null},a=a.dispatch=ad.bind(null,Aa,a),[Ot.memoizedState,a]}function Wo(a,l){if(Aa=bo(),Ot=el(),l=l===void 0?null:l,Ot!==null){var m=Ot.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.",G),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.
648
-
649
- Previous: %s
650
- Incoming: %s`,G,"["+l.join(", ")+"]","["+v.join(", ")+"]");for(var R=0;R<v.length&&R<l.length;R++)if(!Iv(l[R],v[R])){v=!1;break e}v=!0}}if(v)return m[0]}}return Z=!0,a=a(),Z=!1,Ot.memoizedState=[a,l],a}function ad(a,l,m){if(25<=B)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Aa)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 ld(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function nl(){throw Error("startTransition cannot be called during server rendering.")}function Rr(){throw Error("Cannot update optimistic state while rendering.")}function to(a,l,m){return a!==void 0?"p"+a:(a=JSON.stringify([l,null,m]),l=Vt.createHash("md5"),l.update(a),"k"+l.digest("hex"))}function wo(a,l,m){bo();var v=g++,R=gf;if(typeof a.$$FORM_ACTION=="function"){var E=null,O=hf;R=R.formState;var _=a.$$IS_SIGNATURE_EQUAL;if(R!==null&&typeof _=="function"){var X=R[1];_.call(a,R[2],R[3])&&(E=to(m,O,v),X===E&&(b=v,l=R[0]))}var U=a.bind(null,l);return a=function($){U($)},typeof U.$$FORM_ACTION=="function"&&(a.$$FORM_ACTION=function($){$=U.$$FORM_ACTION($),m!==void 0&&(N(m,"target"),m+="",$.action=m);var ee=$.data;return ee&&(E===null&&(E=to(m,O,v)),ee.append("$ACTION_KEY",E)),$}),[l,a,!1]}var V=a.bind(null,l);return[l,function($){V($)},!1]}function no(a){var l=T;return T+=1,S===null&&(S=[]),fi(S,a,l)}function ro(){throw Error("Cache cannot be refreshed during server rendering.")}function Qc(){}function dt(){if(te===0){Ze=console.log,Qt=console.info,Me=console.warn,ht=console.error,Kr=console.group,So=console.groupCollapsed,pt=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Qc,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}te++}function et(){if(te--,te===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:mr({},a,{value:Ze}),info:mr({},a,{value:Qt}),warn:mr({},a,{value:Me}),error:mr({},a,{value:ht}),group:mr({},a,{value:Kr}),groupCollapsed:mr({},a,{value:So}),groupEnd:mr({},a,{value:pt})})}0>te&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ea(a,l){a=(a.name||"Error")+": "+(a.message||"");for(var m=0;m<l.length;m++)a+=`
651
- at `+l[m].toString();return a}function Tr(a){var l=Error.prepareStackTrace;if(Error.prepareStackTrace=Ea,a=a.stack,Error.prepareStackTrace=l,a.startsWith(`Error: react-stack-top-frame
652
- `)&&(a=a.slice(29)),l=a.indexOf(`
653
- `),l!==-1&&(a=a.slice(l+1)),l=a.indexOf("react_stack_bottom_frame"),l!==-1&&(l=a.lastIndexOf(`
654
- `,l)),l!==-1)a=a.slice(0,l);else return"";return a}function oo(a){if(Dn===void 0)try{throw Error()}catch(m){var l=m.stack.trim().match(/\n( *(at )?)/);Dn=l&&l[1]||"",Os=-1<m.stack.indexOf(`
655
- at`)?" (<anonymous>)":-1<m.stack.indexOf("@")?"@unknown:0:0":""}return`
656
- `+Dn+a+Os}function on(a,l){if(!a||Po)return"";var m=Ie.get(a);if(m!==void 0)return m;Po=!0,m=Error.prepareStackTrace,Error.prepareStackTrace=Ea;var v=null;v=lt.H,lt.H=null,dt();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 U=_.split(`
657
- `),V=X.split(`
658
- `);for(O=E=0;E<U.length&&!U[E].includes("DetermineComponentFrameRoot");)E++;for(;O<V.length&&!V[O].includes("DetermineComponentFrameRoot");)O++;if(E===U.length||O===V.length)for(E=U.length-1,O=V.length-1;1<=E&&0<=O&&U[E]!==V[O];)O--;for(;1<=E&&0<=O;E--,O--)if(U[E]!==V[O]){if(E!==1||O!==1)do if(E--,O--,0>O||U[E]!==V[O]){var $=`
659
- `+U[E].replace(" at new "," at ");return a.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",a.displayName)),typeof a=="function"&&Ie.set(a,$),$}while(1<=E&&0<=O);break}}}finally{Po=!1,lt.H=v,et(),Error.prepareStackTrace=m}return U=(U=a?a.displayName||a.name:"")?oo(U):"",typeof a=="function"&&Ie.set(a,U),U}function ks(a){if(typeof a=="string")return oo(a);if(typeof a=="function")return a.prototype&&a.prototype.isReactComponent?on(a,!0):on(a,!1);if(typeof a=="object"&&a!==null){switch(a.$$typeof){case hd:return on(a.render,!1);case Up:return on(a.type,!1);case iu:var l=a,m=l._payload;l=l._init;try{a=l(m)}catch{return oo("Lazy")}return ks(a)}if(typeof a.name=="string"){e:{if(m=a.name,l=a.env,a=a.debugLocation,a!=null){a=Tr(a);var v=a.lastIndexOf(`
660
- `);if(a=v===-1?a:a.slice(v+1),a.indexOf(m)!==-1){m=`
661
- `+a;break e}}m=oo(m+(l?" ["+l+"]":""))}return m}}switch(a){case yd:return oo("SuspenseList");case zr:return oo("Suspense")}return""}function Il(){var a=Zr();1e3<a-vi&&(lt.recentlyCreatedOwnerStacks=0,vi=a)}function sn(a,l){return(500<l.byteSize||pi(l.contentState))&&l.contentPreamble===null}function zi(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=Zg.apply(console.error,a),l()}else console.error(a);return null}function Es(a,l,m,v,R,E,O,_,X,U,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?zi:R,this.onPostpone=U===void 0?vn:U,this.onAllReady=E===void 0?vn:E,this.onShellReady=O===void 0?vn:O,this.onShellError=_===void 0?vn:_,this.onFatalError=X===void 0?vn:X,this.formState=V===void 0?null:V,this.didWarnForKey=null}function Co(a,l,m,v,R,E,O,_,X,U,V,$){return Il(),l=new Es(l,m,v,R,E,O,_,X,U,V,$),m=Go(l,0,null,v,!1,!1),m.parentFlushed=!0,a=Vn(l,null,a,-1,null,m,null,null,l.abortableTasks,null,v,null,oa,null,null,Xi,null),_l(a),l.pingedTasks.push(a),l}function Ho(a,l,m,v,R,E,O,_,X,U,V){return a=Co(a,l,m,v,R,E,O,_,X,U,V,void 0),a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},a}function On(a,l,m,v,R,E,O,_,X){return Il(),m=new Es(l.resumableState,m,l.rootFormatContext,l.progressiveChunkSize,v,R,E,O,_,X,null),m.nextSegmentId=l.nextSegmentId,typeof l.replaySlots=="number"?(v=Go(m,0,null,l.rootFormatContext,!1,!1),v.parentFlushed=!0,a=Vn(m,null,a,-1,null,v,null,null,m.abortableTasks,null,l.rootFormatContext,null,oa,null,null,Xi,null),_l(a),m.pingedTasks.push(a),m):(a=Gt(m,null,{nodes:l.replayNodes,slots:l.replaySlots,pendingTasks:0},a,-1,null,null,m.abortableTasks,null,l.rootFormatContext,null,oa,null,null,Xi,null),_l(a),m.pingedTasks.push(a),m)}function hi(a,l,m,v,R,E,O,_,X){return a=On(a,l,m,v,R,E,O,_,X),a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},a}function Ht(){if(Ko)return Ko;var a=ff.getStore();return a||null}function Ss(a,l){a.pingedTasks.push(l),a.pingedTasks.length===1&&(a.flushScheduled=a.destination!==null,a.trackedPostpones!==null||a.status===10?Wx(function(){return Fp(a)}):setImmediate(function(){return Fp(a)}))}function Wi(a,l,m,v,R){return m={status:Ao,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:l,completedSegments:[],byteSize:0,fallbackAbortableTasks:m,errorDigest:null,contentState:ct(),fallbackState:ct(),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&&_r(m.contentState,a)),m}function Vn(a,l,m,v,R,E,O,_,X,U,V,$,ee,ie,j,De,wt){a.allPendingTasks++,R===null?a.pendingRootTasks++:R.pendingTasks++,ie!==null&&ie.pendingTasks++;var Fe={replay:null,node:m,childIndex:v,ping:function(){return Ss(a,Fe)},blockedBoundary:R,blockedSegment:E,blockedPreamble:O,hoistableState:_,abortSet:X,keyPath:U,formatContext:V,context:$,treeContext:ee,row:ie,componentStack:j,thenableState:l};return Fe.debugTask=wt,X.add(Fe),Fe}function Gt(a,l,m,v,R,E,O,_,X,U,V,$,ee,ie,j,De){a.allPendingTasks++,E===null?a.pendingRootTasks++:E.pendingTasks++,ee!==null&&ee.pendingTasks++,m.pendingTasks++;var wt={replay:m,node:v,childIndex:R,ping:function(){return Ss(a,wt)},blockedBoundary:E,blockedSegment:null,blockedPreamble:null,hoistableState:O,abortSet:_,keyPath:X,formatContext:U,context:V,treeContext:$,row:ee,componentStack:ie,thenableState:l};return wt.debugTask=De,_.add(wt),wt}function Go(a,l,m,v,R,E){return{status:Ao,parentFlushed:!1,id:-1,index:l,chunks:[],children:[],preambleChildren:[],parentFormatContext:v,boundary:m,lastPushedText:R,textEmbedded:E}}function mg(){if(se===null||se.componentStack===null)return"";var a=se.componentStack;try{var l="";if(typeof a.type=="string")l+=oo(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?oo(R):"";l=m+E}}else a.owner||(l+=ks(a.type));for(;a;)m=null,a.debugStack!=null?m=Tr(a.debugStack):(E=a,E.stack!=null&&(m=typeof E.stack!="string"?E.stack=Tr(E.stack):E.stack)),(a=a.owner)&&m&&(l+=`
662
- `+m);var O=l}catch(_){O=`
663
- Error generating stack: `+_.message+`
664
- `+_.stack}return O}function cd(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 Dl(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 _l(a){var l=a.node;if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Bp:var m=l.type,v=l._owner,R=l._debugStack;Dl(a,l._debugInfo),a.debugTask=l._debugTask,a.componentStack={parent:a.componentStack,type:m,owner:v,stack:R};break;case iu:Dl(a,l._debugInfo);break;default:typeof l.then=="function"&&Dl(a,l._debugInfo)}}function Cp(a){return a===null?null:{parent:a.parent,type:"Suspense Fallback",owner:a.owner,stack:a.stack}}function Nr(a){var l={};return a&&Object.defineProperty(l,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var m="",v=a;do m+=ks(v.type),v=v.parent;while(v);var R=m}catch(E){R=`
665
- Error generating stack: `+E.message+`
666
- `+E.stack}return Object.defineProperty(l,"componentStack",{value:R}),R}}),l}function Ll(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:
667
-
668
- `:`Switched to client rendering because the server rendering errored:
669
-
670
- `,a.errorMessage=R+l,a.errorStack=m!==null?R+m:null,a.errorComponentStack=v.componentStack}function Br(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 mc(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=pn,a.destination.destroy(l)):(a.status=13,a.fatalError=l)}function io(a,l){ud(a,l.next,l.hoistables)}function ud(a,l,m){for(;l!==null;){m!==null&&(_r(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&&_r(E.contentState,m),Nl(a,E,null,null)}}if(l.pendingTasks--,0<l.pendingTasks)break;m=l.hoistables,l=l.next}}function dd(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||sn(a,E)){v=!1;break}}v&&ud(a,l,l.hoistables)}}function jc(a){var l={pendingTasks:1,boundaries:null,hoistables:ct(),inheritedHoistables:null,together:!1,next:null};return a!==null&&0<a.pendingTasks&&(l.pendingTasks++,l.boundaries=[],a.next=l),l}function gg(a,l,m,v,R){var E=l.keyPath,O=l.treeContext,_=l.row,X=l.componentStack,U=l.debugTask;Dl(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=jc(V),l.treeContext=Ui(O,m,ie);var De=$[ie];typeof De=="number"?(qc(a,l,De,j,ie),delete $[ie]):kr(a,l,j,ie),--V.pendingTasks===0&&io(a,V)}else for($=0;$<m;$++)ee=R!=="backwards"&&R!=="unstable_legacy-backwards"?$:m-1-$,ie=v[ee],js(a,l,ie),l.row=V=jc(V),l.treeContext=Ui(O,m,ee),kr(a,l,ie,ee),--V.pendingTasks===0&&io(a,V)}else if(R!=="backwards"&&R!=="unstable_legacy-backwards")for(R=0;R<m;R++)$=v[R],js(a,l,$),l.row=V=jc(V),l.treeContext=Ui(O,m,R),kr(a,l,$,R),--V.pendingTasks===0&&io(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=jc(V),l.treeContext=Ui(O,m,ie),De=Go(a,ee,null,l.formatContext,ie===0?R.lastPushedText:!0,!0),R.children.splice($,0,De),l.blockedSegment=De,js(a,l,j);try{kr(a,l,j,ie),De.lastPushedText&&De.textEmbedded&&De.chunks.push(ta),De.status=dn,il(a,l.blockedBoundary,De),--V.pendingTasks===0&&io(a,V)}catch(wt){throw De.status=a.status===12?Qr:Is,wt}}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=U}function Ur(a,l,m,v,R,E){var O=l.thenableState;for(l.thenableState=null,Aa={},mf=l,gf=a,hf=m,Z=!1,g=p=0,b=-1,T=0,S=O,a=xi(v,R,E);c;)c=!1,g=p=0,b=-1,T=0,B+=1,Ot=null,a=v(R,E);return Lr(),a}function Ax(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 U=0;U<E;U++)U===O?X.push(F0):X.push(O0)}}E=l.keyPath,l.keyPath=m,R?(m=l.treeContext,l.treeContext=Ui(m,1,0),kr(a,l,v,-1),l.treeContext=m):_?kr(a,l,v,-1):Vo(a,l,v,-1),l.keyPath=E}function rl(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=mr({},O,R));for(var U in X)O[U]===void 0&&(O[U]=X[U])}var V=O,$=Xi,ee=v.contextType;if("contextType"in v&&ee!==null&&(ee===void 0||ee.$$typeof!==ou)&&!ra.has(v)){ra.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===bg?" 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",gt(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 De=gt(v)||"Component";qg.has(De)||(qg.add(De),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.",De,j.state===null?"null":"undefined",De))}if(typeof v.getDerivedStateFromProps=="function"||typeof j.getSnapshotBeforeUpdate=="function"){var wt=null,Fe=null,Ge=null;if(typeof j.componentWillMount=="function"&&j.componentWillMount.__suppressDeprecationWarning!==!0?wt="componentWillMount":typeof j.UNSAFE_componentWillMount=="function"&&(wt="UNSAFE_componentWillMount"),typeof j.componentWillReceiveProps=="function"&&j.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Fe="componentWillReceiveProps":typeof j.UNSAFE_componentWillReceiveProps=="function"&&(Fe="UNSAFE_componentWillReceiveProps"),typeof j.componentWillUpdate=="function"&&j.componentWillUpdate.__suppressDeprecationWarning!==!0?Ge="componentWillUpdate":typeof j.UNSAFE_componentWillUpdate=="function"&&(Ge="UNSAFE_componentWillUpdate"),wt!==null||Fe!==null||Ge!==null){var Mt=gt(v)||"Component",Pr=typeof v.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";eh.has(Mt)||(eh.add(Mt),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
671
-
672
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
673
-
674
- The above lifecycles should be removed. Learn more about this warning here:
675
- https://react.dev/link/unsafe-component-lifecycles`,Mt,Pr,wt!==null?`
676
- `+wt:"",Fe!==null?`
677
- `+Fe:"",Ge!==null?`
678
- `+Ge:""))}}var nt=gt(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?",nt):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",nt)),!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?",nt),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.",nt),j.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",nt),v.childContextTypes&&!yi.has(v)&&(yi.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)",nt)),v.contextTypes&&!Mv.has(v)&&(Mv.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)",nt)),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.",nt),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.",gt(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()?",nt),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().",nt),typeof j.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",nt),typeof j.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",nt);var _e=j.props!==V;j.props!==void 0&&_e&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",nt),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.",nt,nt),typeof j.getSnapshotBeforeUpdate!="function"||typeof j.componentDidUpdate=="function"||$g.has(v)||($g.add(v),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",gt(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.",nt),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.",nt),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.",nt);var qo=j.state;qo&&(typeof qo!="object"||Pa(qo))&&console.error("%s.state: must be set to an object or null",nt),typeof j.getChildContext=="function"&&typeof v.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",nt);var _n=j.state!==void 0?j.state:null;j.updater=nh,j.props=V,j.state=_n;var yt={queue:[],replace:!1};j._reactInternals=yt;var Tt=v.contextType;if(j.context=typeof Tt=="object"&&Tt!==null?Tt._currentValue:Xi,j.state===V){var hr=gt(v)||"Component";Ov.has(hr)||(Ov.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 er=v.getDerivedStateFromProps;if(typeof er=="function"){var so=er(V,_n);if(so===void 0){var xt=gt(v)||"Component";th.has(xt)||(th.add(xt),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",xt))}var kt=so==null?_n:mr({},_n,so);j.state=kt}if(typeof v.getDerivedStateFromProps!="function"&&typeof j.getSnapshotBeforeUpdate!="function"&&(typeof j.UNSAFE_componentWillMount=="function"||typeof j.componentWillMount=="function")){var Kn=j.state;if(typeof j.componentWillMount=="function"){if(j.componentWillMount.__suppressDeprecationWarning!==!0){var Hr=gt(v)||"Unknown";Fv[Hr]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
679
-
680
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
681
-
682
- Please update the following components: %s`,Hr),Fv[Hr]=!0)}j.componentWillMount()}if(typeof j.UNSAFE_componentWillMount=="function"&&j.UNSAFE_componentWillMount(),Kn!==j.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",gt(v)||"Component"),nh.enqueueReplaceState(j,j.state,null)),yt.queue!==null&&0<yt.queue.length){var It=yt.queue,Ve=yt.replace;if(yt.queue=null,yt.replace=!1,Ve&&It.length===1)j.state=It[0];else{for(var fn=Ve?It[0]:j.state,mn=!0,ao=Ve?1:0;ao<It.length;ao++){var Fo=It[ao],Ar=typeof Fo=="function"?Fo.call(j,fn,V,void 0):Fo;Ar!=null&&(mn?(mn=!1,fn=mr({},fn,Ar)):mr(fn,Ar))}j.state=fn}}else yt.queue=null}var $o=Er(j);if(a.status===12)throw null;j.props!==V&&(Ds||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",gt(v)||"a component"),Ds=!0);var bi=l.keyPath;l.keyPath=m,Vo(a,l,$o,-1),l.keyPath=bi}else{if(v.prototype&&typeof v.prototype.render=="function"){var tr=gt(v)||"Unknown";Zo[tr]||(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.",tr,tr),Zo[tr]=!0)}var Ec=Ur(a,l,m,v,R,void 0);if(a.status===12)throw null;var Ji=p!==0,Oa=g,ul=b;if(v.contextTypes){var Ma=gt(v)||"Unknown";Fa[Ma]||(Fa[Ma]=!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)",Ma))}if(v&&v.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
683
- %s.childContextTypes = ...`,v.displayName||v.name||"Component"),typeof v.getDerivedStateFromProps=="function"){var dl=gt(v)||"Unknown";Qo[dl]||(console.error("%s: Function components do not support getDerivedStateFromProps.",dl),Qo[dl]=!0)}if(typeof v.contextType=="object"&&v.contextType!==null){var aa=gt(v)||"Unknown";Jl[aa]||(console.error("%s: Function components do not support contextType.",aa),Jl[aa]=!0)}Ax(a,l,m,Ec,Ji,Oa,ul)}else if(typeof v=="string"){var lo=l.blockedSegment;if(lo===null){var wi=R.children,nr=l.formatContext,la=l.keyPath;l.formatContext=Zt(nr,v,R),l.keyPath=m,kr(a,l,wi,-1),l.formatContext=nr,l.keyPath=la}else{var Ki=zo(lo.chunks,v,R,a.resumableState,a.renderState,l.blockedPreamble,l.hoistableState,l.formatContext,lo.lastPushedText);lo.lastPushedText=!1;var jr=l.formatContext,Ia=l.keyPath;if(l.keyPath=m,(l.formatContext=Zt(jr,v,R)).insertionMode===Kp){var yr=Go(a,0,null,l.formatContext,!1,!1);lo.preambleChildren.push(yr),l.blockedSegment=yr;try{yr.status=6,kr(a,l,Ki,-1),yr.lastPushedText&&yr.textEmbedded&&yr.chunks.push(ta),yr.status=dn,il(a,l.blockedBoundary,yr)}finally{l.blockedSegment=lo}}else kr(a,l,Ki,-1);l.formatContext=jr,l.keyPath=Ia;e:{var ei=lo.chunks,Ls=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(jr.insertionMode<=kd){Ls.hasBody=!0;break e}break;case"html":if(jr.insertionMode===cu){Ls.hasHtml=!0;break e}break;case"head":if(jr.insertionMode<=kd)break e}ei.push(Nt(v))}lo.lastPushedText=!1}}else{switch(v){case b0:case yc:case Bx:case vg:var Oo=l.keyPath;l.keyPath=m,Vo(a,l,R.children,-1),l.keyPath=Oo;return;case Ux:var Ci=l.blockedSegment;if(Ci===null){if(R.mode!=="hidden"){var Mo=l.keyPath;l.keyPath=m,kr(a,l,R.children,-1),l.keyPath=Mo}}else if(R.mode!=="hidden"){Ci.chunks.push(z0),Ci.lastPushedText=!1;var Da=l.keyPath;l.keyPath=m,kr(a,l,R.children,-1),l.keyPath=Da,Ci.chunks.push(W0),Ci.lastPushedText=!1}return;case yd:e:{var co=R.children,ti=R.revealOrder;if(ti==="forwards"||ti==="backwards"||ti==="unstable_legacy-backwards"){if(Pa(co)){gg(a,l,m,co,ti);break e}var pl=n(co);if(pl){var ca=pl.call(co);if(ca){Tp(l,co,-1,ca,pl);var ua=ca.next();if(!ua.done){var Sc=[];do Sc.push(ua.value),ua=ca.next();while(!ua.done);gg(a,l,m,co,ti)}break e}}}if(ti==="together"){var yf=l.keyPath,Zi=l.row,uo=l.row=jc(null);uo.boundaries=[],uo.together=!0,l.keyPath=m,Vo(a,l,co,-1),--uo.pendingTasks===0&&io(a,uo),l.keyPath=yf,l.row=Zi,Zi!==null&&0<uo.pendingTasks&&(Zi.pendingTasks++,uo.next=Zi)}else{var Kl=l.keyPath;l.keyPath=m,Vo(a,l,co,-1),l.keyPath=Kl}}return;case zx:case v0:throw Error("ReactDOMServer does not yet support scope components.");case zr:e:if(l.replay!==null){var Zl=l.keyPath,Pc=l.formatContext,_a=l.row;l.keyPath=m,l.formatContext=Ue(a.resumableState,Pc),l.row=null;var fl=R.children;try{kr(a,l,fl,-1)}finally{l.keyPath=Zl,l.formatContext=Pc,l.row=_a}}else{var Ln=l.keyPath,Nn=l.formatContext,La=l.row,Na=l.blockedBoundary,Ac=l.blockedPreamble,rr=l.hoistableState,Qi=l.blockedSegment,ml=R.fallback,da=R.children,Ns=new Set,Yt=l.formatContext.insertionMode<Eo?Wi(a,l.row,Ns,Ke(),Ke()):Wi(a,l.row,Ns,null,null);a.trackedPostpones!==null&&(Yt.trackedContentKeyPath=m);var Io=Go(a,Qi.chunks.length,Yt,l.formatContext,!1,!1);Qi.children.push(Io),Qi.lastPushedText=!1;var qr=Go(a,0,null,l.formatContext,!1,!1);if(qr.parentFlushed=!0,a.trackedPostpones!==null){var fu=l.componentStack,Ql=[m[0],"Suspense Fallback",m[2]],Fc=[Ql[1],Ql[2],[],null];a.trackedPostpones.workingMap.set(Ql,Fc),Yt.trackedFallbackNode=Fc,l.blockedSegment=Io,l.blockedPreamble=Yt.fallbackPreamble,l.keyPath=Ql,l.formatContext=xe(a.resumableState,Nn),l.componentStack=Cp(fu),Io.status=6;try{kr(a,l,ml,-1),Io.lastPushedText&&Io.textEmbedded&&Io.chunks.push(ta),Io.status=dn,il(a,Na,Io)}catch(wf){throw Io.status=a.status===12?Qr:Is,wf}finally{l.blockedSegment=Qi,l.blockedPreamble=Ac,l.keyPath=Ln,l.formatContext=Nn}var Oc=Vn(a,null,da,-1,Yt,qr,Yt.contentPreamble,Yt.contentState,l.abortSet,m,Ue(a.resumableState,l.formatContext),l.context,l.treeContext,null,fu,Xi,l.debugTask);_l(Oc),a.pingedTasks.push(Oc)}else{l.blockedBoundary=Yt,l.blockedPreamble=Yt.contentPreamble,l.hoistableState=Yt.contentState,l.blockedSegment=qr,l.keyPath=m,l.formatContext=Ue(a.resumableState,Nn),l.row=null,qr.status=6;try{if(kr(a,l,da,-1),qr.lastPushedText&&qr.textEmbedded&&qr.chunks.push(ta),qr.status=dn,il(a,Yt,qr),fd(Yt,qr),Yt.pendingTasks===0&&Yt.status===Ao){if(Yt.status=dn,!sn(a,Yt)){La!==null&&--La.pendingTasks===0&&io(a,La),a.pendingRootTasks===0&&l.blockedPreamble&&Bl(a);break e}}else La!==null&&La.together&&dd(a,La)}catch(wf){if(Yt.status=un,a.status===12){qr.status=Qr;var gl=a.fatalError}else qr.status=Is,gl=wf;var Bs=Nr(l.componentStack),Ri=Br(a,gl,Bs,l.debugTask);Ll(Yt,Ri,gl,Bs,!1),hc(a,Yt)}finally{l.blockedBoundary=Na,l.blockedPreamble=Ac,l.hoistableState=rr,l.blockedSegment=Qi,l.keyPath=Ln,l.formatContext=Nn,l.row=La}var jl=Vn(a,null,ml,-1,Na,Io,Yt.fallbackPreamble,Yt.fallbackState,Ns,[m[0],"Suspense Fallback",m[2]],xe(a.resumableState,l.formatContext),l.context,l.treeContext,l.row,Cp(l.componentStack),Xi,l.debugTask);_l(jl),a.pingedTasks.push(jl)}}return}if(typeof v=="object"&&v!==null)switch(v.$$typeof){case hd:if("ref"in R){var Ld={};for(var xf in R)xf!=="ref"&&(Ld[xf]=R[xf])}else Ld=R;var Dv=Ur(a,l,m,v.render,Ld,E);Ax(a,l,m,Dv,p!==0,g,b);return;case Up:rl(a,l,m,v.type,R,E);return;case ou:var _v=R.value,vf=R.children,Nd=l.context,mu=l.keyPath,hl=v._currentValue;v._currentValue=_v,v._currentRenderer!==void 0&&v._currentRenderer!==null&&v._currentRenderer!==Id&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),v._currentRenderer=Id;var gu=Tc,Mc={parent:gu,depth:gu===null?0:gu.depth+1,context:v,parentValue:hl,value:_v};Tc=Mc,l.context=Mc,l.keyPath=m,Vo(a,l,vf,-1);var hu=Tc;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!==Id&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),v._currentRenderer=Id;var Bd=Tc=hu.parent;l.context=Bd,l.keyPath=mu,Nd!==l.context&&console.error("Popping the context provider did not return back to the original snapshot. This is a bug in React.");return;case bg:var bf=v._context,yu=R.children;typeof yu!="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 Lv=yu(bf._currentValue),Ic=l.keyPath;l.keyPath=m,Vo(a,l,Lv,-1),l.keyPath=Ic;return;case iu:var Nv=qn(v);if(a.status===12)throw null;rl(a,l,m,Nv,R,E);return}var Ud="";throw(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(Ud+=" 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)+"."+Ud))}}function qc(a,l,m,v,R){var E=l.replay,O=l.blockedBoundary,_=Go(a,0,null,l.formatContext,!1,!1);_.id=m,_.parentFlushed=!0;try{l.replay=null,l.blockedSegment=_,kr(a,l,v,R),_.status=dn,il(a,O,_),O===null?a.completedRootSegment=_:(fd(O,_),O.parentFlushed&&a.partialBoundaries.push(O))}finally{l.replay=E,l.blockedSegment=null}}function Rp(a,l,m,v,R,E,O,_,X,U){E=U.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(rl(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(_e){if(typeof _e=="object"&&_e!==null&&(_e===Bt||typeof _e.then=="function"))throw l.node===R?l.replay=U:E.splice(V,1),_e;l.replay.pendingTasks--,O=Nr(l.componentStack),_=a,a=l.blockedBoundary,m=_e,X=v,v=Br(_,m,O,l.debugTask),eu(_,a,ee,X,m,v,O,!1)}l.replay=U}else{if(O!==zr)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(gt(O)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");e:{U=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,De=l.row,wt=l.replay,Fe=l.blockedBoundary,Ge=l.hoistableState,Mt=_.children,Pr=_.fallback,nt=new Set;_=l.formatContext.insertionMode<Eo?Wi(a,l.row,nt,Ke(),Ke()):Wi(a,l.row,nt,null,null),_.parentFlushed=!0,_.rootSegmentID=v,l.blockedBoundary=_,l.hoistableState=_.contentState,l.keyPath=m,l.formatContext=Ue(a.resumableState,j),l.row=null,l.replay={nodes:O,slots:X,pendingTasks:1};try{if(kr(a,l,Mt,-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===Ao){_.status=dn,a.completedBoundaries.push(_);break e}}catch(_e){_.status=un,ee=Nr(l.componentStack),U=Br(a,_e,ee,l.debugTask),Ll(_,U,_e,ee,!1),l.replay.pendingTasks--,a.clientRenderedBoundaries.push(_)}finally{l.blockedBoundary=Fe,l.hoistableState=Ge,l.replay=wt,l.keyPath=ie,l.formatContext=j,l.row=De}_=Gt(a,null,{nodes:R,slots:$,pendingTasks:0},Pr,-1,Fe,_.fallbackState,nt,[m[0],"Suspense Fallback",m[2]],xe(a.resumableState,l.formatContext),l.context,l.treeContext,l.row,Cp(l.componentStack),Xi,l.debugTask),_l(_),a.pingedTasks.push(_)}}E.splice(V,1);break}}}function Tp(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]")&&(kc||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."),kc=!0):l.entries!==R||_s||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_s=!0)}function Vo(a,l,m,v){l.replay!==null&&typeof l.replay.slots=="number"?qc(a,l,l.replay.slots,m,v):(l.node=m,l.childIndex=v,m=l.componentStack,v=l.debugTask,_l(l),gc(a,l),l.componentStack=m,l.debugTask=v)}function gc(a,l){var m=l.node,v=l.childIndex;if(m!==null){if(typeof m=="object"){switch(m.$$typeof){case Bp:var R=m.type,E=m.key;m=m.props;var O=m.ref;O=O!==void 0?O:null;var _=l.debugTask,X=gt(R);E=E??(v===-1?0:v);var U=[l.keyPath,X,E];l.replay!==null?_?_.run(Rp.bind(null,a,l,U,X,E,v,R,m,O,l.replay)):Rp(a,l,U,X,E,v,R,m,O,l.replay):_?_.run(rl.bind(null,a,l,U,R,m,O)):rl(a,l,U,R,m,O);return;case xg:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case iu:if(R=qn(m),a.status===12)throw null;Vo(a,l,R,v);return}if(Pa(m)){kp(a,l,m,v);return}if((E=n(m))&&(R=E.call(m))){if(Tp(l,m,v,R,E),m=R.next(),!m.done){E=[];do E.push(m.value),m=R.next();while(!m.done);kp(a,l,E,v)}return}if(typeof m.then=="function")return l.thenableState=null,Vo(a,l,no(m),v);if(m.$$typeof===ou)return Vo(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=St(l.chunks,m,a.renderState,l.lastPushedText))):typeof m=="number"||typeof m=="bigint"?(l=l.blockedSegment,l!==null&&(l.lastPushedText=St(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.
684
- %s`,String(m)))}}function js(a,l,m){if(m!==null&&typeof m=="object"&&(m.$$typeof===Bp||m.$$typeof===xg)&&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=gt(m.type);v=m._owner;var E=a.owner;if(a="",E&&typeof E.type<"u"){var O=gt(E.type);O&&(a=`
685
-
686
- Check the render method of \``+O+"`.")}a||R&&(a=`
687
-
688
- Check the top-level render call using <`+R+">."),R="",v!=null&&E!==v&&(E=null,typeof v.type<"u"?E=gt(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 kp(a,l,m,v){var R=l.keyPath,E=l.componentStack,O=l.debugTask;if(Dl(l,l.node._debugInfo),v!==-1&&(l.keyPath=[l.keyPath,"Fragment",v],l.replay!==null)){for(var _=l.replay,X=_.nodes,U=0;U<X.length;U++){var V=X[U];if(V[1]===v){v=V[2],V=V[3],l.replay={nodes:v,slots:V,pendingTasks:1};try{if(kp(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===Bt||typeof j.then=="function"))throw j;l.replay.pendingTasks--;var $=Nr(l.componentStack);m=l.blockedBoundary;var ee=j,ie=V;V=Br(a,ee,$,l.debugTask),eu(a,m,v,ie,ee,V,$,!1)}l.replay=_,X.splice(U,1);break}}l.keyPath=R,l.componentStack=E,l.debugTask=O;return}if(_=l.treeContext,X=m.length,l.replay!==null&&(U=l.replay.slots,U!==null&&typeof U=="object")){for(v=0;v<X;v++)V=m[v],l.treeContext=Ui(_,X,v),ee=U[v],typeof ee=="number"?(qc(a,l,ee,V,v),delete U[v]):kr(a,l,V,v);l.treeContext=_,l.keyPath=R,l.componentStack=E,l.debugTask=O;return}for(U=0;U<X;U++)v=m[U],js(a,l,v),l.treeContext=Ui(_,X,U),kr(a,l,v,U);l.treeContext=_,l.keyPath=R,l.componentStack=E,l.debugTask=O}function Ep(a,l,m){if(m.status=bn,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),Dp(m,a[0],l),m):(E[4]=v,E[5]=m.rootSegmentID,E)}function Sp(a,l,m,v){v.status=bn;var R=m.keyPath,E=m.blockedBoundary;if(E===null)v.id=a.nextSegmentId++,l.rootSlots=v.id,a.completedRootSegment!==null&&(a.completedRootSegment.status=bn);else{if(E!==null&&E.status===Ao){var O=Ep(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],Dp(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),Dp(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 pd(a,l,m){return Gt(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,Xi,l.debugTask)}function $c(a,l,m){var v=l.blockedSegment,R=Go(a,v.chunks.length,null,l.formatContext,v.lastPushedText,!0);return v.children.push(R),v.lastPushedText=!1,Vn(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,Xi,l.debugTask)}function kr(a,l,m,v){var R=l.formatContext,E=l.context,O=l.keyPath,_=l.treeContext,X=l.componentStack,U=l.debugTask,V=l.blockedSegment;if(V===null){V=l.replay;try{return Vo(a,l,m,v)}catch(ie){if(Lr(),m=ie===Bt?vo():ie,a.status!==12&&typeof m=="object"&&m!==null){if(typeof m.then=="function"){v=ie===Bt?Ts():null,a=pd(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=U,Rs(E);return}if(m.message==="Maximum call stack size exceeded"){m=ie===Bt?Ts():null,m=pd(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=U,Rs(E);return}}}}else{var $=V.children.length,ee=V.chunks.length;try{return Vo(a,l,m,v)}catch(ie){if(Lr(),V.children.length=$,V.chunks.length=ee,m=ie===Bt?vo():ie,a.status!==12&&typeof m=="object"&&m!==null){if(typeof m.then=="function"){V=m,m=ie===Bt?Ts():null,a=$c(a,l,m).ping,V.then(a,a),l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,l.componentStack=X,l.debugTask=U,Rs(E);return}if(m.message==="Maximum call stack size exceeded"){V=ie===Bt?Ts():null,V=$c(a,l,V),a.pingedTasks.push(V),l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,l.componentStack=X,l.debugTask=U,Rs(E);return}}}}throw l.formatContext=R,l.context=E,l.keyPath=O,l.treeContext=_,Rs(E),m}function Fx(a){var l=a.blockedBoundary,m=a.blockedSegment;m!==null&&(m.status=Qr,Nl(this,l,a.row,m))}function eu(a,l,m,v,R,E,O,_){for(var X=0;X<m.length;X++){var U=m[X];if(U.length===4)eu(a,l,U[2],U[3],R,E,O,_);else{var V=a;U=U[5];var $=R,ee=E,ie=O,j=_,De=Wi(V,null,new Set,null,null);De.parentFlushed=!0,De.rootSegmentID=U,De.status=un,Ll(De,ee,$,ie,j),De.parentFlushed&&V.clientRenderedBoundaries.push(De)}}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!==un&&(l.status=un,Ll(l,E,R,O,_),l.parentFlushed&&a.clientRenderedBoundaries.push(l)),typeof v=="object")for(var wt in v)delete v[wt]}}function tu(a,l,m){var v=a.blockedBoundary,R=a.blockedSegment;if(R!==null){if(R.status===6)return;R.status=Qr}var E=Nr(a.componentStack),O=a.node;if(O!==null&&typeof O=="object"&&cd(a,O._debugInfo),v===null){if(l.status!==13&&l.status!==pn){if(v=a.replay,v===null){l.trackedPostpones!==null&&R!==null?(v=l.trackedPostpones,Br(l,m,E,a.debugTask),Sp(l,v,a,R),Nl(l,null,a.row,R)):(Br(l,m,E,a.debugTask),mc(l,m,E,a.debugTask));return}v.pendingTasks--,v.pendingTasks===0&&0<v.nodes.length&&(R=Br(l,m,E,null),eu(l,null,v.nodes,v.slots,m,R,E,!0)),l.pendingRootTasks--,l.pendingRootTasks===0&&ol(l)}}else{if(O=l.trackedPostpones,v.status!==un){if(O!==null&&R!==null)return Br(l,m,E,a.debugTask),Sp(l,O,a,R),v.fallbackAbortableTasks.forEach(function(_){return tu(_,l,m)}),v.fallbackAbortableTasks.clear(),Nl(l,v,a.row,R);v.status=un,R=Br(l,m,E,a.debugTask),v.status=un,Ll(v,R,m,E,!0),hc(l,v),v.parentFlushed&&l.clientRenderedBoundaries.push(v)}v.pendingTasks--,E=v.row,E!==null&&--E.pendingTasks===0&&io(l,E),v.fallbackAbortableTasks.forEach(function(_){return tu(_,l,m)}),v.fallbackAbortableTasks.clear()}a=a.row,a!==null&&--a.pendingTasks===0&&io(l,a),l.allPendingTasks--,l.allPendingTasks===0&&Ap(l)}function Pp(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(),U=X.next();0<R.remainingCapacity&&!U.done;U=X.next()){var V=U.value,$=V.props,ee=$.href,ie=V.props,j=An(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]=ko,E&&(E+=", "),E+=j,m.resets.style[ee]=typeof $.crossOrigin=="string"||typeof $.integrity=="string"?[$.crossOrigin,$.integrity]:ko;else break e}}v(E?{Link:E}:{})}}}catch(De){Br(a,De,{},null)}}function ol(a){a.trackedPostpones===null&&Pp(a,!0),a.trackedPostpones===null&&Bl(a),a.onShellError=vn,a=a.onShellReady,a()}function Ap(a){Pp(a,a.trackedPostpones===null?!0:a.completedRootSegment===null||a.completedRootSegment.status!==bn),Bl(a),a=a.onAllReady,a()}function fd(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!==dn&&m.status!==Qr&&m.status!==Is||fd(a,m)}else a.completedSegments.push(l)}function il(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 Nl(a,l,m,v){if(m!==null&&(--m.pendingTasks===0?io(a,m):m.together&&dd(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&&ol(a)}else if(l.pendingTasks--,l.status!==un)if(l.pendingTasks===0){if(l.status===Ao&&(l.status=dn),v!==null&&v.parentFlushed&&(v.status===dn||v.status===Qr)&&fd(l,v),l.parentFlushed&&a.completedBoundaries.push(l),l.status===dn)m=l.row,m!==null&&_r(m.hoistables,l.contentState),sn(a,l)||(l.fallbackAbortableTasks.forEach(Fx,a),l.fallbackAbortableTasks.clear(),m!==null&&--m.pendingTasks===0&&io(a,m)),a.pendingRootTasks===0&&a.trackedPostpones===null&&l.contentPreamble!==null&&Bl(a);else if(l.status===bn&&(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];Ep(a,m,E),Nl(a,E,null,null)}}--l.pendingTasks===0&&io(a,l)}}else v===null||!v.parentFlushed||v.status!==dn&&v.status!==Qr||(fd(l,v),l.completedSegments.length===1&&l.parentFlushed&&a.partialBoundaries.push(l)),l=l.row,l!==null&&l.together&&dd(a,l);a.allPendingTasks===0&&Ap(a)}function Fp(a){if(a.status!==pn&&a.status!==13){var l=Tc,m=lt.H;lt.H=J;var v=lt.A;lt.A=pe;var R=Ko;Ko=a;var E=lt.getCurrentStack;lt.getCurrentStack=mg;var O=ae;ae=a.resumableState;try{var _=a.pingedTasks,X;for(X=0;X<_.length;X++){var U=a,V=_[X],$=V.blockedSegment;if($===null){var ee=void 0,ie=U;if(U=V,U.replay.pendingTasks!==0){Rs(U.context),ee=se,se=U;try{if(typeof U.replay.slots=="number"?qc(ie,U,U.replay.slots,U.node,U.childIndex):gc(ie,U),U.replay.pendingTasks===1&&0<U.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.");U.replay.pendingTasks--,U.abortSet.delete(U),Nl(ie,U.blockedBoundary,U.row,null)}catch(Ve){Lr();var j=Ve===Bt?vo():Ve;if(typeof j=="object"&&j!==null&&typeof j.then=="function"){var De=U.ping;j.then(De,De),U.thenableState=Ve===Bt?Ts():null}else{U.replay.pendingTasks--,U.abortSet.delete(U);var wt=Nr(U.componentStack),Fe=void 0,Ge=ie,Mt=U.blockedBoundary,Pr=ie.status===12?ie.fatalError:j,nt=wt,_e=U.replay.nodes,qo=U.replay.slots;Fe=Br(Ge,Pr,nt,U.debugTask),eu(Ge,Mt,_e,qo,Pr,Fe,nt,!1),ie.pendingRootTasks--,ie.pendingRootTasks===0&&ol(ie),ie.allPendingTasks--,ie.allPendingTasks===0&&Ap(ie)}}finally{se=ee}}}else if(ie=ee=void 0,Fe=V,Ge=$,Ge.status===Ao){Ge.status=6,Rs(Fe.context),ie=se,se=Fe;var _n=Ge.children.length,yt=Ge.chunks.length;try{gc(U,Fe),Ge.lastPushedText&&Ge.textEmbedded&&Ge.chunks.push(ta),Fe.abortSet.delete(Fe),Ge.status=dn,il(U,Fe.blockedBoundary,Ge),Nl(U,Fe.blockedBoundary,Fe.row,Ge)}catch(Ve){Lr(),Ge.children.length=_n,Ge.chunks.length=yt;var Tt=Ve===Bt?vo():U.status===12?U.fatalError:Ve;if(U.status===12&&U.trackedPostpones!==null){var hr=U.trackedPostpones,er=Nr(Fe.componentStack);Fe.abortSet.delete(Fe),Br(U,Tt,er,Fe.debugTask),Sp(U,hr,Fe,Ge),Nl(U,Fe.blockedBoundary,Fe.row,Ge)}else if(typeof Tt=="object"&&Tt!==null&&typeof Tt.then=="function"){Ge.status=Ao,Fe.thenableState=Ve===Bt?Ts():null;var so=Fe.ping;Tt.then(so,so)}else{var xt=Nr(Fe.componentStack);Fe.abortSet.delete(Fe),Ge.status=Is;var kt=Fe.blockedBoundary,Kn=Fe.row,Hr=Fe.debugTask;if(Kn!==null&&--Kn.pendingTasks===0&&io(U,Kn),U.allPendingTasks--,ee=Br(U,Tt,xt,Hr),kt===null)mc(U,Tt,xt,Hr);else if(kt.pendingTasks--,kt.status!==un){kt.status=un,Ll(kt,ee,Tt,xt,!1),hc(U,kt);var It=kt.row;It!==null&&--It.pendingTasks===0&&io(U,It),kt.parentFlushed&&U.clientRenderedBoundaries.push(kt),U.pendingRootTasks===0&&U.trackedPostpones===null&&kt.contentPreamble!==null&&Bl(U)}U.allPendingTasks===0&&Ap(U)}}finally{se=ie}}}_.splice(0,X),a.destination!==null&&Ul(a,a.destination)}catch(Ve){_={},Br(a,Ve,_,null),mc(a,Ve,_,null)}finally{ae=O,lt.H=m,lt.A=v,lt.getCurrentStack=E,m===J&&Rs(l),Ko=R}}}function Op(a,l,m){l.preambleChildren.length&&m.push(l.preambleChildren);for(var v=!1,R=0;R<l.children.length;R++)v=Ox(a,l.children[R],m)||v;return v}function Ox(a,l,m){var v=l.boundary;if(v===null)return Op(a,l,m);var R=v.contentPreamble,E=v.fallbackPreamble;if(R===null||E===null)return!1;switch(v.status){case dn:if(Gn(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 Op(a,l,m);case bn:if(a.trackedPostpones!==null)return!0;case un:if(l.status===dn)return Gn(a.renderState,E),Op(a,l,m);default:return!0}}function Bl(a){if(a.completedRootSegment&&a.completedPreambleSegments===null){var l=[],m=a.byteSize,v=Ox(a,a.completedRootSegment,l),R=a.renderState.preamble;v===!1||R.headChunks&&R.bodyChunks?a.completedPreambleSegments=l:a.byteSize=m}}function nu(a,l,m,v){switch(m.parentFlushed=!0,m.status){case Ao:m.id=a.nextSegmentId++;case bn:return v=m.id,m.lastPushedText=!1,m.textEmbedded=!1,a=a.renderState,f(l,B0),f(l,a.placeholderPrefix),a=v.toString(16),f(l,a),y(l,U0);case dn:m.status=ia;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=ru(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 Qr:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ru(a,l,m,v){var R=m.boundary;if(R===null)return nu(a,l,m,v);if(R.parentFlushed=!0,R.status===un){var E=R.row;E!==null&&--E.pendingTasks===0&&io(a,E),E=R.errorDigest;var O=R.errorMessage,_=R.errorStack;R=R.errorComponentStack,y(l,ef),f(l,Wl),E&&(f(l,Y0),f(l,ce(E)),f(l,tf)),O&&(f(l,uv),f(l,ce(O)),f(l,tf)),_&&(f(l,X0),f(l,ce(_)),f(l,tf)),R&&(f(l,J0),f(l,ce(R)),f(l,tf)),y(l,dv),nu(a,l,m,v)}else if(R.status!==dn)R.status===Ao&&(R.rootSegmentID=a.nextSegmentId++),0<R.completedSegments.length&&a.partialBoundaries.push(R),lr(l,a.renderState,R.rootSegmentID),v&&_r(v,R.fallbackState),nu(a,l,m,v);else if(!jo&&sn(a,R)&&(sa+R.byteSize>a.progressiveChunkSize||pi(R.contentState)))R.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(R),lr(l,a.renderState,R.rootSegmentID),nu(a,l,m,v);else{if(sa+=R.byteSize,v&&_r(v,R.contentState),m=R.row,m!==null&&sn(a,R)&&--m.pendingTasks===0&&io(a,m),y(l,H0),m=R.completedSegments,m.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");ru(a,l,m[0],v)}return y(l,Ug)}function Mp(a,l,m,v){return bs(l,a.renderState,m.parentFormatContext,m.id),ru(a,l,m,v),yo(l,m.parentFormatContext)}function hg(a,l,m){sa=m.byteSize;for(var v=m.completedSegments,R=0;R<v.length;R++)Ip(a,l,m,v[R]);v.length=0,v=m.row,v!==null&&sn(a,m)&&--v.pendingTasks===0&&io(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,Jn),E?((v.instructions&Td)===To&&(v.instructions|=Td,f(l,of)),(v.instructions&Rd)===To&&(v.instructions|=Rd,f(l,Yg)),(v.instructions&Pg)===To?(v.instructions|=Pg,f(l,kv)):f(l,$0)):((v.instructions&Rd)===To&&(v.instructions|=Rd,f(l,Yg)),f(l,Tv)),v=R.toString(16),f(l,a.boundaryPrefix),f(l,v),f(l,rf),f(l,a.segmentPrefix),f(l,v),E?(f(l,eT),bt(l,m)):f(l,tT),m=y(l,Vi),Bi(l,a)&&m}function Ip(a,l,m,v){if(v.status===ia)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 Mp(a,l,v,R)}return E===m.rootSegmentID?Mp(a,l,v,R):(Mp(a,l,v,R),m=a.resumableState,a=a.renderState,f(l,a.startInlineScript),f(l,Jn),(m.instructions&Sg)===To?(m.instructions|=Sg,f(l,bv)):f(l,wv),f(l,a.segmentPrefix),E=E.toString(16),f(l,E),f(l,Cv),f(l,a.placeholderPrefix),f(l,E),l=y(l,Rv),l)}function Ul(a,l){In=new Uint8Array(2048),an=0,fr=!0;try{if(!(0<a.pendingRootTasks)){var m,v=a.completedRootSegment;if(v!==null){if(v.status===bn)return;var R=a.completedPreambleSegments;if(R===null)return;sa=a.byteSize;var E=a.resumableState,O=a.renderState,_=O.preamble,X=_.htmlChunks,U=_.headChunks,V;if(X){for(V=0;V<X.length;V++)f(l,X[V]);if(U)for(V=0;V<U.length;V++)f(l,U[V]);else f(l,vt("head")),f(l,Jn)}else if(U)for(V=0;V<U.length;V++)f(l,U[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(),bc=O,O.styles.forEach(de,l),bc=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||U||(E.instructions|=lu);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 De=R[E];for(O=0;O<De.length;O++)ru(a,l,De[O],null)}var wt=a.renderState.preamble,Fe=wt.headChunks;(wt.htmlChunks||Fe)&&f(l,Nt("head"));var Ge=wt.bodyChunks;if(Ge)for(R=0;R<Ge.length;R++)f(l,Ge[R]);ru(a,l,v,null),a.completedRootSegment=null;var Mt=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 Pr=a.resumableState;if((Pr.instructions&Ag)===To){if(Pr.instructions|=Ag,f(l,Mt.startInlineScript),(Pr.instructions&lu)===To){Pr.instructions|=lu;var nt="_"+Pr.idPrefix+"R_";f(l,Md),f(l,ce(nt)),f(l,Xn)}f(l,Jn),f(l,$p),y(l,wc)}}Bi(l,Mt)}var _e=a.renderState;v=0;var qo=_e.viewportChunks;for(v=0;v<qo.length;v++)f(l,qo[v]);qo.length=0,_e.preconnects.forEach(z,l),_e.preconnects.clear(),_e.fontPreloads.forEach(z,l),_e.fontPreloads.clear(),_e.highImagePreloads.forEach(z,l),_e.highImagePreloads.clear(),_e.styles.forEach(Le,l),_e.scripts.forEach(z,l),_e.scripts.clear(),_e.bulkPreloads.forEach(z,l),_e.bulkPreloads.clear();var _n=_e.hoistableChunks;for(v=0;v<_n.length;v++)f(l,_n[v]);_n.length=0;var yt=a.clientRenderedBoundaries;for(m=0;m<yt.length;m++){var Tt=yt[m];_e=l;var hr=a.resumableState,er=a.renderState,so=Tt.rootSegmentID,xt=Tt.errorDigest,kt=Tt.errorMessage,Kn=Tt.errorStack,Hr=Tt.errorComponentStack;f(_e,er.startInlineScript),f(_e,Jn),(hr.instructions&Td)===To?(hr.instructions|=Td,f(_e,nT)):f(_e,cl),f(_e,er.boundaryPrefix),f(_e,so.toString(16)),f(_e,Xg),(xt||kt||Kn||Hr)&&(f(_e,uu),f(_e,Yr(xt||""))),(kt||Kn||Hr)&&(f(_e,uu),f(_e,Yr(kt||""))),(Kn||Hr)&&(f(_e,uu),f(_e,Yr(Kn||""))),Hr&&(f(_e,uu),f(_e,Yr(Hr)));var It=y(_e,Jg);if(!It){a.destination=null,m++,yt.splice(0,m);return}}yt.splice(0,m);var Ve=a.completedBoundaries;for(m=0;m<Ve.length;m++)if(!hg(a,l,Ve[m])){a.destination=null,m++,Ve.splice(0,m);return}Ve.splice(0,m),x(l),In=new Uint8Array(2048),an=0,jo=fr=!0;var fn=a.partialBoundaries;for(m=0;m<fn.length;m++){e:{yt=a,Tt=l;var mn=fn[m];sa=mn.byteSize;var ao=mn.completedSegments;for(It=0;It<ao.length;It++)if(!Ip(yt,Tt,mn,ao[It])){It++,ao.splice(0,It);var Fo=!1;break e}ao.splice(0,It);var Ar=mn.row;Ar!==null&&Ar.together&&mn.pendingTasks===1&&(Ar.pendingTasks===1?ud(yt,Ar,Ar.hoistables):Ar.pendingTasks--),Fo=P(Tt,mn.contentState,yt.renderState)}if(!Fo){a.destination=null,m++,fn.splice(0,m);return}}fn.splice(0,m),jo=!1;var $o=a.completedBoundaries;for(m=0;m<$o.length;m++)if(!hg(a,l,$o[m])){a.destination=null,m++,$o.splice(0,m);return}$o.splice(0,m)}}finally{jo=!1,a.allPendingTasks===0&&a.clientRenderedBoundaries.length===0&&a.completedBoundaries.length===0?(a.flushScheduled=!1,m=a.resumableState,m.hasBody&&f(l,Nt("body")),m.hasHtml&&f(l,Nt("html")),x(l),d(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=pn,l.end(),a.destination=null):(x(l),d(l))}}function qs(a){a.flushScheduled=a.destination!==null,Wx(function(){return ff.run(a,Fp,a)}),setImmediate(function(){a.status===10&&(a.status=11),a.trackedPostpones===null&&ff.run(a,md,a)})}function md(a){Pp(a,a.pendingRootTasks===0)}function Sa(a){a.flushScheduled===!1&&a.pingedTasks.length===0&&a.destination!==null&&(a.flushScheduled=!0,setImmediate(function(){var l=a.destination;l?Ul(a,l):a.flushScheduled=!1}))}function Ps(a,l){if(a.status===13)a.status=pn,l.destroy(a.fatalError);else if(a.status!==pn&&a.destination===null){a.destination=l;try{Ul(a,l)}catch(m){l={},Br(a,m,l,null),mc(a,m,l,null)}}}function Mn(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=lt.getCurrentStack;se=R,lt.getCurrentStack=mg;try{tu(R,a,v)}finally{se=E,lt.getCurrentStack=O}}),m.clear()}a.destination!==null&&Ul(a,a.destination)}catch(R){l={},Br(a,R,l,null),mc(a,R,l,null)}}function Dp(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),Dp(R,l[0],m)),R[2].push(a)}}function gd(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!==bn&&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=To}return{nextSegmentId:m,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:l.rootNodes,replaySlots:v}}function Mx(){var a=Np.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:
689
- - react: `+(a+`
690
- - react-dom: 19.2.4
691
- Learn more: https://react.dev/warnings/version-mismatch`))}function Ix(a,l){return function(){return Ps(l,a)}}function _p(a,l){return function(){a.destination=null,Mn(a,Error(l))}}function Dx(a,l){var m=st(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 Co(a,m,Oe(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),En(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 sl(a){return{write:function(l){return typeof l=="string"&&(l=su.encode(l)),a.enqueue(l),!0},end:function(){a.close()},destroy:function(l){typeof a.error=="function"?a.error(l):a.close()}}}function _x(a,l,m){return On(a,l,Oe(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 yg(a){return{write:function(l){return typeof l=="string"&&(l=su.encode(l)),a.enqueue(l),!0},end:function(){a.close()},destroy:function(l){typeof a.error=="function"?a.error(l):a.close()}}}function Lp(a){return{write:function(l){return a.push(l)},end:function(){a.push(null)},destroy:function(l){a.destroy(l)}}}var pr=vu("util"),Vt=vu("crypto"),x0=vu("async_hooks"),Np=zc(),Lx=Ly(),Nx=vu("stream"),Bp=Symbol.for("react.transitional.element"),xg=Symbol.for("react.portal"),vg=Symbol.for("react.fragment"),yc=Symbol.for("react.strict_mode"),Bx=Symbol.for("react.profiler"),bg=Symbol.for("react.consumer"),ou=Symbol.for("react.context"),hd=Symbol.for("react.forward_ref"),zr=Symbol.for("react.suspense"),yd=Symbol.for("react.suspense_list"),Up=Symbol.for("react.memo"),iu=Symbol.for("react.lazy"),v0=Symbol.for("react.scope"),Ux=Symbol.for("react.activity"),b0=Symbol.for("react.legacy_hidden"),w0=Symbol.for("react.memo_cache_sentinel"),zx=Symbol.for("react.view_transition"),xc=Symbol.iterator,Pa=Array.isArray,wg=new WeakMap,Cg=new WeakMap,Rg=Symbol.for("react.client.reference"),Wx=queueMicrotask,In=null,an=0,fr=!0,su=new pr.TextEncoder,mr=Object.assign,at=Object.prototype.hasOwnProperty,$s=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]*$"),Tg={},xd={},zp=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(" ")),Hx=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"]]),vd={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},kg={"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},Yn={},Hi=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]*$"),au=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]*$"),bd=!1,Gx={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"},Ro={},vc=/^on./,wd=/^on[^A-Z]/,ea=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]*$"),Wp=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]*$"),al=/^(?:webkit|moz|o)[A-Z]/,Hp=/^-ms-/,Gp=/-(.)/g,Vp=/;\s*$/,zl={},Cd={},Eg=!1,Vx=!1,Yx=/["'&<>]/,C0=/([A-Z])/g,Yo=/^ms-/,As=/^[\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,lt=Np.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Yp=Lx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xx=Object.freeze({pending:!1,data:null,method:null,action:null}),At=Yp.d;Yp.d={f:At.f,r:At.r,D:function(a){var l=Ht();if(l){var m=l.resumableState,v=l.renderState;if(typeof a=="string"&&a){if(!m.dnsResources.hasOwnProperty(a)){m.dnsResources[a]=Wr,m=v.headers;var R,E;(E=m&&0<m.remainingCapacity)&&(E=(R="<"+ut(a)+">; rel=dns-prefetch",0<=(m.remainingCapacity-=R.length+2))),E?(v.resets.dns[a]=Wr,m.preconnects&&(m.preconnects+=", "),m.preconnects+=R):(R=[],Sn(R,{href:a,rel:"dns-prefetch"}),v.preconnects.add(R))}Sa(l)}}else At.D(a)},C:function(a,l){var m=Ht();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]=Wr,v=R.headers;var O,_;if(_=v&&0<v.remainingCapacity){if(_="<"+ut(a)+">; rel=preconnect",typeof l=="string"){var X=ws(l,"crossOrigin");_+='; crossorigin="'+X+'"'}_=(O=_,0<=(v.remainingCapacity-=O.length+2))}_?(R.resets.connect[E][a]=Wr,v.preconnects&&(v.preconnects+=", "),v.preconnects+=O):(E=[],Sn(E,{rel:"preconnect",href:a,crossOrigin:l}),R.preconnects.add(E))}Sa(m)}}else At.C(a,l)},L:function(a,l,m){var v=Ht();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 U=O?O+`
692
- `+(_||""):a;if(R.imageResources.hasOwnProperty(U))return;R.imageResources[U]=ko,R=E.headers;var V;R&&0<R.remainingCapacity&&typeof O!="string"&&X==="high"&&(V=An(a,l,m),0<=(R.remainingCapacity-=V.length+2))?(E.resets.image[U]=ko,R.highImagePreloads&&(R.highImagePreloads+=", "),R.highImagePreloads+=V):(R=[],Sn(R,mr({rel:"preload",href:O?void 0:a,as:l},m)),X==="high"?E.highImagePreloads.add(R):(E.bulkPreloads.add(R),E.preloads.images.set(U,R)));break;case"style":if(R.styleResources.hasOwnProperty(a))return;O=[],Sn(O,mr({rel:"preload",href:a,as:l},m)),R.styleResources[a]=!m||typeof m.crossOrigin!="string"&&typeof m.integrity!="string"?ko:[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),Sn(O,mr({rel:"preload",href:a,as:l},m)),R.scriptResources[a]=!m||typeof m.crossOrigin!="string"&&typeof m.integrity!="string"?ko:[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]=ko,(R=E.headers)&&0<R.remainingCapacity&&l==="font"&&(U=An(a,l,m),0<=(R.remainingCapacity-=U.length+2)))E.resets.font[a]=ko,R.fontPreloads&&(R.fontPreloads+=", "),R.fontPreloads+=U;else switch(R=[],a=mr({rel:"preload",href:a,as:l},m),Sn(R,a),l){case"font":E.fontPreloads.add(R);break;default:E.bulkPreloads.add(R)}}Sa(v)}}else At.L(a,l,m)},m:function(a,l){var m=Ht();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"?ko:[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]=ko}Sn(E,mr({rel:"modulepreload",href:a},l)),R.bulkPreloads.add(E),Sa(m)}}else At.m(a,l)},X:function(a,l){var m=Ht();if(m){var v=m.resumableState,R=m.renderState;if(a){var E=v.scriptResources.hasOwnProperty(a)?v.scriptResources[a]:void 0;E!==Wr&&(v.scriptResources[a]=Wr,l=mr({src:a,async:!0},l),E&&(E.length===2&&wr(l,E),a=R.preloads.scripts.get(a))&&(a.length=0),a=[],R.scripts.add(a),Wn(a,l),Sa(m))}}else At.X(a,l)},S:function(a,l,m){var v=Ht();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;_!==Wr&&(R.styleResources[a]=Wr,O||(O={precedence:ce(l),rules:[],hrefs:[],sheets:new Map},E.styles.set(l,O)),l={state:uf,props:mr({rel:"stylesheet",href:a,"data-precedence":l},m)},_&&(_.length===2&&wr(l.props,_),(E=E.preloads.stylesheets.get(a))&&0<E.length?E.length=0:l.state=df),O.sheets.set(a,l),Sa(v))}}else At.S(a,l,m)},M:function(a,l){var m=Ht();if(m){var v=m.resumableState,R=m.renderState;if(a){var E=v.moduleScriptResources.hasOwnProperty(a)?v.moduleScriptResources[a]:void 0;E!==Wr&&(v.moduleScriptResources[a]=Wr,l=mr({src:a,type:"module",async:!0},l),E&&(E.length===2&&wr(l,E),a=R.preloads.moduleScripts.get(a))&&(a.length=0),a=[],R.scripts.add(a),Wn(a,l),Sa(m))}}else At.M(a,l)}};var To=0,Sg=1,Rd=2,Td=4,Pg=8,lu=32,Ag=64,Wr=null,ko=[];Object.freeze(ko);var bc=null;w('"></template>');var Xp=w("<script"),wc=w("</script>"),Jx=w('<script src="'),R0=w('<script type="module" src="'),Jp=w(' nonce="'),Kx=w(' integrity="'),Fg=w(' crossorigin="'),Og=w(' async=""></script>'),T0=w("<style"),k0=/(<\/|<)(s)(cript)/gi,E0=w('<script type="importmap">'),S0=w("</script>"),Zx={},cu=0,kd=1,Eo=2,Kp=3,Gi=4,Ed=5,Zp=6,Mg=7,Ig=8,Dg=9,ta=w("<!-- -->"),Qx=new Map,P0=w(' style="'),jx=w(":"),A0=w(";"),Xo=w(" "),Fs=w('="'),Xn=w('"'),_g=w('=""'),qx=w(ce("javascript:throw new Error('React form unexpectedly submitted.')")),$x=w('<input type="hidden"'),Jn=w(">"),Sd=w("/>"),ev=!1,tv=!1,nv=!1,rv=!1,ov=!1,iv=!1,sv=!1,Qp=!1,av=!1,jp=!1,qp=!1,Lg=w(' selected=""'),Ng=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))}});`),F0=w("<!--F!-->"),O0=w("<!--F-->"),M0=/(<\/|<)(s)(tyle)/gi,I0=w("<!--head-->"),D0=w("<!--body-->"),_0=w("<!--html-->"),Bg=w(`
693
- `),L0=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,lv=new Map,N0=w("<!DOCTYPE html>"),cv=new Map,$p=w("requestAnimationFrame(function(){$RT=performance.now()});"),B0=w('<template id="'),U0=w('"></template>'),z0=w("<!--&-->"),W0=w("<!--/&-->"),H0=w("<!--$-->"),G0=w('<!--$?--><template id="'),V0=w('"></template>'),ef=w("<!--$!-->"),Ug=w("<!--/$-->"),Wl=w("<template"),tf=w('"'),Y0=w(' data-dgst="'),uv=w(' data-msg="'),X0=w(' data-stck="'),J0=w(' data-cstck="'),dv=w("></template>"),pv=w('<div hidden id="'),fv=w('">'),zg=w("</div>"),Wg=w('<svg aria-hidden="true" style="display:none" id="'),Hg=w('">'),Gg=w("</svg>"),Vg=w('<math aria-hidden="true" style="display:none" id="'),mv=w('">'),K0=w("</math>"),Z0=w('<table hidden id="'),Q0=w('">'),j0=w("</table>"),q0=w('<table hidden><tbody id="'),ll=w('">'),nf=w("</tbody></table>"),Cc=w('<table hidden><tr id="'),gv=w('">'),hv=w("</tr></table>"),yv=w('<table hidden><colgroup id="'),xv=w('">'),vv=w("</colgroup></table>"),bv=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("'),wv=w('$RS("'),Cv=w('","'),Rv=w('")</script>');w('<template data-rsi="" data-sid="'),w('" data-pid="');var Yg=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};
694
- $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)};`),Tv=w('$RC("'),kv=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=
695
- "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=
696
- "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),$0=w('$RR("'),rf=w('","'),eT=w('",'),tT=w('"'),Vi=w(")</script>");w('<template data-rci="" data-bid="'),w('<template data-rri="" data-bid="'),w('" data-sid="'),w('" data-sty="');var of=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())};'),nT=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("'),cl=w('$RX("'),Xg=w('"'),uu=w(","),Jg=w(")</script>");w('<template data-rxi="" data-bid="'),w('" data-dgst="'),w('" data-msg="'),w('" data-stck="'),w('" data-cstck="');var sf=/[<\u2028\u2029]/g,ln=/[&><\u2028\u2029]/g,Pd=w(' media="not all" data-precedence="'),af=w('" data-href="'),Ad=w('">'),Fd=w("</style>"),Hl=!1,du=!0,Yi=[],Gl=w(' data-precedence="'),lf=w('" data-href="'),na=w(" "),Od=w('">'),Ev=w("</style>");w('<link rel="expect" href="#'),w('" blocking="render"/>');var Md=w(' id="'),Jo=w("["),Sv=w(",["),Rc=w(","),cf=w("]"),uf=0,df=1,pf=2,Kg=3,Pv=/[<>\r\n]/g,Av=/["';,\r\n]/g,Zg=Function.prototype.bind,ff=new x0.AsyncLocalStorage,Qg=Symbol.for("react.client.reference"),Xi={};Object.freeze(Xi);var Id={},Tc=null,jg={},Fv={},qg=new Set,$g=new Set,eh=new Set,Ov=new Set,th=new Set,Mv=new Set,yi=new Set,ra=new Set,Jr=new Set,nh={enqueueSetState:function(a,l,m){var v=a._reactInternals;v.queue===null?eo(a,"setState"):(v.queue.push(l),m!=null&&dr(m))},enqueueReplaceState:function(a,l,m){a=a._reactInternals,a.replace=!0,a.queue=[l],m!=null&&dr(m)},enqueueForceUpdate:function(a,l){a._reactInternals.queue===null?eo(a,"forceUpdate"):l!=null&&dr(l)}},oa={id:1,overflow:""},Vl=Math.clz32?Math.clz32:Cr,Yl=Math.log,pu=Math.LN2,Bt=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`."),Dd=null,Iv=typeof Object.is=="function"?Object.is:mi,Aa=null,mf=null,gf=null,hf=null,_d=null,Ot=null,Xl=!1,c=!1,p=0,g=0,b=-1,T=0,S=null,I=null,B=0,Z=!1,G,J={readContext:tl,use:function(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return no(a);if(a.$$typeof===ou)return tl(a)}throw Error("An unsupported type was passed to use(): "+String(a))},useContext:function(a){return G="useContext",bo(),a._currentValue},useMemo:Wo,useReducer:ka,useRef:function(a){Aa=bo(),Ot=el();var l=Ot.memoizedState;return l===null?(a={current:a},Object.seal(a),Ot.memoizedState=a):l},useState:function(a){return G="useState",ka(gi,a)},useInsertionEffect:vn,useLayoutEffect:vn,useCallback:function(a,l){return Wo(function(){return a},l)},useImperativeHandle:vn,useEffect:vn,useDebugValue:vn,useDeferredValue:function(a,l){return bo(),l!==void 0?l:a},useTransition:function(){return bo(),[!1,nl]},useId:function(){var a=mf.treeContext,l=a.overflow;a=a.id,a=(a&~(1<<32-Vl(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=p++,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 bo(),[a,Rr]},useActionState:wo,useFormState:wo,useHostTransitionStatus:function(){return bo(),Xx},useMemoCache:function(a){for(var l=Array(a),m=0;m<a;m++)l[m]=w0;return l},useCacheRefresh:function(){return ro},useEffectEvent:function(){return ld}},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,Ze,Qt,Me,ht,Kr,So,pt;Qc.__reactDisabledLog=!0;var Dn,Os,Po=!1,Ie=new(typeof WeakMap=="function"?WeakMap:Map),gr={react_stack_bottom_frame:function(a,l,m){return a(l,m)}},xi=gr.react_stack_bottom_frame.bind(gr),cn={react_stack_bottom_frame:function(a){return a.render()}},Er=cn.react_stack_bottom_frame.bind(cn),Sr={react_stack_bottom_frame:function(a){var l=a._init;return l(a._payload)}},qn=Sr.react_stack_bottom_frame.bind(Sr),vi=0;if(typeof performance=="object"&&typeof performance.now=="function")var Ms=performance,Zr=function(){return Ms.now()};else{var $n=Date;Zr=function(){return $n.now()}}var un=4,Ao=0,dn=1,ia=2,Qr=3,Is=4,bn=5,pn=14,Ko=null,Zo={},Fa={},Jl={},Qo={},Ds=!1,kc=!1,_s=!1,sa=0,jo=!1;Mx(),Mx(),cc.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=st(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),_=Ho(a,O,Oe(O,void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,E,l?l.maxHeadersLength:void 0),En(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=yg(ee)},pull:function(){Ps(_,V)},cancel:function(ee){_.destination=null,Mn(_,ee)}},{highWaterMark:0});$={postponed:gd(_),prelude:$},m($)},void 0,void 0,v,l?l.onPostpone:void 0);if(l&&l.signal){var X=l.signal;if(X.aborted)Mn(_,X.reason);else{var U=function(){Mn(_,X.reason),X.removeEventListener("abort",U)};X.addEventListener("abort",U)}}qs(_)})},cc.prerenderToNodeStream=function(a,l){return new Promise(function(m,v){var R=st(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=Ho(a,R,Oe(R,void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,l?l.onHeaders:void 0,l?l.maxHeadersLength:void 0),En(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,function(){var X=new Nx.Readable({read:function(){Ps(E,U)}}),U=Lp(X);X={postponed:gd(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)Mn(E,O.reason);else{var _=function(){Mn(E,O.reason),O.removeEventListener("abort",_)};O.addEventListener("abort",_)}}qs(E)})},cc.renderToPipeableStream=function(a,l){var m=Dx(a,l),v=!1;return qs(m),{pipe:function(R){if(v)throw Error("React currently only supports piping to one writable stream.");return v=!0,Pp(m,m.trackedPostpones===null||m.completedRootSegment===null?m.pendingRootTasks===0:m.completedRootSegment.status!==bn),Ps(m,R),R.on("drain",Ix(R,m)),R.on("error",_p(m,"The destination stream errored while writing data.")),R.on("close",_p(m,"The destination stream closed early.")),R},abort:function(R){Mn(m,R)}}},cc.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 U=st(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=Co(a,U,Oe(U,l?l.nonce:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,X,l?l.maxHeadersLength:void 0),En(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(De){ie=sl(De)},pull:function(){Ps(V,ie)},cancel:function(De){V.destination=null,Mn(V,De)}},{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)Mn(V,$.reason);else{var ee=function(){Mn(V,$.reason),$.removeEventListener("abort",ee)};$.addEventListener("abort",ee)}}qs(V)})},cc.resume=function(a,l,m){return new Promise(function(v,R){var E,O,_=new Promise(function($,ee){O=$,E=ee}),X=On(a,l,Oe(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){$=sl(ie)},pull:function(){Ps(X,$)},cancel:function(ie){X.destination=null,Mn(X,ie)}},{highWaterMark:0});ee.allReady=_,v(ee)},function($){_.catch(function(){}),R($)},E,m?m.onPostpone:void 0);if(m&&m.signal){var U=m.signal;if(U.aborted)Mn(X,U.reason);else{var V=function(){Mn(X,U.reason),U.removeEventListener("abort",V)};U.addEventListener("abort",V)}}qs(X)})},cc.resumeAndPrerender=function(a,l,m){return new Promise(function(v,R){var E=hi(a,l,Oe(l.resumableState,void 0,void 0,void 0,void 0,void 0),m?m.onError:void 0,function(){var X,U=new ReadableStream({type:"bytes",start:function(V){X=yg(V)},pull:function(){Ps(E,X)},cancel:function(V){E.destination=null,Mn(E,V)}},{highWaterMark:0});U={postponed:gd(E),prelude:U},v(U)},void 0,void 0,R,m?m.onPostpone:void 0);if(m&&m.signal){var O=m.signal;if(O.aborted)Mn(E,O.reason);else{var _=function(){Mn(E,O.reason),O.removeEventListener("abort",_)};O.addEventListener("abort",_)}}qs(E)})},cc.resumeAndPrerenderToNodeStream=function(a,l,m){return new Promise(function(v,R){var E=hi(a,l,Oe(l.resumableState,void 0,void 0,void 0,void 0,void 0),m?m.onError:void 0,function(){var X=new Nx.Readable({read:function(){Ps(E,U)}}),U=Lp(X);X={postponed:gd(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)Mn(E,O.reason);else{var _=function(){Mn(E,O.reason),O.removeEventListener("abort",_)};O.addEventListener("abort",_)}}qs(E)})},cc.resumeToPipeableStream=function(a,l,m){var v=_x(a,l,m),R=!1;return qs(v),{pipe:function(E){if(R)throw Error("React currently only supports piping to one writable stream.");return R=!0,Ps(v,E),E.on("drain",Ix(E,v)),E.on("error",_p(v,"The destination stream errored while writing data.")),E.on("close",_p(v,"The destination stream closed early.")),E},abort:function(E){Mn(v,E)}}},cc.version="19.2.4"}()});var h9=xl(od=>{"use strict";var wx,qm;process.env.NODE_ENV==="production"?(wx=N4(),qm=f9()):(wx=m9(),qm=g9());od.version=wx.version;od.renderToString=wx.renderToString;od.renderToStaticMarkup=wx.renderToStaticMarkup;od.renderToPipeableStream=qm.renderToPipeableStream;od.renderToReadableStream=qm.renderToReadableStream;od.resumeToPipeableStream=qm.resumeToPipeableStream;od.resume=qm.resume});function y9(e){let{type:t,id:n,value:r}=e;return`${t}${n}:${JSON.stringify(r)}
697
- `}function x9(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 $m(e){return e!==null&&typeof e=="object"&&e.$$typeof===Symbol.for("react.client.reference")}function v9(e){return typeof e=="function"&&e.$$typeof===Symbol.for("react.server.reference")}function QR(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 jR=k(()=>{});function eg(e){let t=!1;for(let r=0;r<e.length;r++){let o=e[r];if(QR(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(QR(o)&&(o.key===null||o.key===void 0||o.key==="")){n[r]=(0,Ca.cloneElement)(o,{key:`.${r}`});continue}n[r]=o}return n}function xre(e,t,n,r,o){let i={};for(let[u,d]of Object.entries(n))u==="children"||typeof d=="function"||(i[u]=d);let s=Array.isArray(r)?eg(r):r;return(0,Ca.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 wa(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=>wa(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:eg(s),chunkId:r}}if($m(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(QR(e)){let{type:r,props:o,key:i}=e;if(Ir.debug(`Processing React element with type: ${typeof r}, name: ${r?.name||r?.toString?.()||"unknown"}`),$m(r)){let u=t.nextId++,d=t.nextId++,f=t.nextId++,h=r.$$id,y=r.name??"default",x=t.bundlerConfig[h]??{id:h,chunks:[],name:y};t.chunks.push({type:"M",id:u,value:x}),t.clientModules.add(h);let w=null,A;if(o?.children){let L=await wa(o.children,t);w=L.processedElement,A=L.chunkId}let F=xre(h,y,o??{},w,f),D={};if(o!==void 0){for(let[L,N]of Object.entries(o))if(typeof N!="function")if(L==="children"&&A!==void 0)D[L]=`$${A}`;else if(typeof N=="object"&&N!==null){let Y=await wa(N,t);D[L]=`$${Y.chunkId}`}else D[L]=N}return t.chunks.push({type:"J",id:d,value:D}),t.chunks.push({type:"J",id:f,value:{$$typeof:"react.element",type:`$M${u}`,props:`$${d}`}}),{processedElement:F,chunkId:f}}if(r!==null&&typeof r=="object"&&r.$$typeof===Symbol.for("react.forward_ref")&&typeof r.render=="function")try{Ir.debug("Processing ForwardRef component");let u=r.render(o,null);return await wa(u,t)}catch(u){Ir.error("Error rendering ForwardRef component:",u);let d=t.nextId++;return t.chunks.push({type:"E",id:d,value:{message:u instanceof Error?u.message:String(u),stack:u instanceof Error?u.stack:void 0}}),{processedElement:null,chunkId:d}}if(r!==null&&typeof r=="object"&&r.$$typeof===Symbol.for("react.memo")){Ir.debug("Processing Memo component");let u=r.type,d={...e,type:u};return await wa(d,t)}if(typeof r=="function")try{Ir.debug(`Executing server component: ${r.name||"anonymous"}`);let u=r(o);if(u instanceof Promise){if(t.streamMode==="streaming-classic"){Ir.debug(`Async server component ${r.name||"anonymous"} skipped in SSR (streaming-classic mode) - client will fetch via /rsc`);let f=t.nextId++,h=t.suspenseFallback??"Loading...",y=Array.isArray(h)?eg(h):h,x=(0,Ca.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}}Ir.debug("Awaiting async server component...");let d=await u;return d===void 0&&Ir.warn(`Async server component ${r.name||"anonymous"} returned undefined`),await wa(d,t)}return u===void 0&&Ir.warn(`Server component ${r.name||"anonymous"} returned undefined`),await wa(u,t)}catch(u){Ir.error("Error rendering server component:",u);let d=t.nextId++;return t.chunks.push({type:"E",id:d,value:{message:u instanceof Error?u.message:String(u),stack:u instanceof Error?u.stack:void 0}}),{processedElement:null,chunkId:d}}if(typeof r=="string"){let u=o?.children,d;if(o?.children!==void 0){let A=await wa(o.children,t);u=A.processedElement,d=A.chunkId}let f=Array.isArray(u)?eg(u):u,h=i!=null?{...o,key:i,children:f}:{...o,children:f},y=(0,Ca.createElement)(r,h),x=t.nextId++,w={};if(o!==void 0)for(let[A,F]of Object.entries(o))typeof F!="function"&&(A==="children"&&d!==void 0?w[A]=`$${d}`: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===Ca.Suspense){Ir.debug("Processing Suspense boundary");let u=t.suspenseFallback,d=null;o?.fallback!==void 0&&(d=(await wa(o.fallback,t)).processedElement),t.suspenseFallback=d;let f=null,h;if(o?.children!==void 0){Ir.debug("Processing Suspense children...");let F=await wa(o.children,t);f=F.processedElement,h=F.chunkId,Ir.debug("Suspense children processed")}t.suspenseFallback=u;let y=f??d,x=Array.isArray(y)?eg(y):y,w=(0,Ca.createElement)(Ca.Fragment,null,x),A=t.nextId++;return t.chunks.push({type:"J",id:A,value:h!==void 0?`$${h}`:null}),{processedElement:w,chunkId:A}}if(typeof r=="symbol"||r===Ca.Fragment){let u=o?.children,d;if(o?.children!==void 0){let w=await wa(o.children,t);u=w.processedElement,d=w.chunkId}let f=Array.isArray(u)?eg(u):u,h=i!=null?{...o,key:i,children:f}:{...o,children:f},y=(0,Ca.createElement)(r,h),x=t.nextId++;return t.chunks.push({type:"J",id:x,value:d!==void 0?`$${d}`:null}),{processedElement:y,chunkId:x}}Ir.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 wa(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 xp(e,t,n={streamMode:"await-all"}){Ir.debug("Starting SSR render..."),Ir.debug(`Input element type: ${typeof e}`),e&&typeof e=="object"&&(Ir.debug(`Element $$typeof: ${e.$$typeof?.toString?.()}`),Ir.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 wa(e,r);r.chunks.unshift({type:"J",id:0,value:`$${i}`}),Ir.debug(`Pre-processed tree, collected ${r.chunks.length} RSC chunks`);let s=await(0,b9.renderToReadableStream)(o,{onError:h=>{Ir.error("SSR render error:",h)}});n.streamMode==="await-all"&&await s.allReady;let u=s.getReader(),d=new TextDecoder,f="";for(;;){let{done:h,value:y}=await u.read();if(h)break;f+=d.decode(y,{stream:!0})}return f+=d.decode(),Ir.debug(`SSR complete, HTML length: ${f.length}`),{html:f,rscPayload:r.chunks,clientModules:Array.from(r.clientModules)}}catch(o){return Ir.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 Cx(e){return JSON.stringify(e)}function qR(e){return`<script id="__RSC_PAYLOAD__" type="application/json">${Cx(e).replace(/<\/script/gi,"<\\/script")}</script>`}var Ca,b9,Ir,H1=k(()=>{Ca=pT(zc(),1),b9=pT(h9(),1);jR();it();Ir=fe.getLogger(["laroux-server","react","ssr"])});function Uo(e,t){e.chunks.push(t),e.emitChunk?.(t)}async function id(e,t){if(e==null){let o=t.nextId++;return Uo(t,{type:"J",id:o,value:null}),o}if(typeof e!="object"){let o=t.nextId++;return Uo(t,{type:"J",id:o,value:e}),o}if(Array.isArray(e)){let o=t.nextId++,i=e.map(u=>id(u,t)),s=await Promise.all(i);return Uo(t,{type:"J",id:o,value:s}),o}if($m(e)){let o=t.nextId++,i=e.$$id,s=t.bundlerConfig[i];return s?Uo(t,{type:"M",id:o,value:s}):Uo(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"&&$m(o)){let s=o.$$id,u=t.bundlerConfig[s];if(Fl.debug(`Client reference detected: ${s}`),Fl.debug(`Module ref found: ${!!u}`),u||Fl.debug(`Available keys: ${Object.keys(t.bundlerConfig).join(", ")}`),u){let d=t.nextId++,f=t.nextId++,h=await G1(i,t),y=u.name??"default";return Uo(t,{type:"M",id:f,value:{...u,name:y}}),Uo(t,{type:"J",id:d,value:{$$typeof:"react.element",type:`$M${f}`,props:`$${h}`}}),d}}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 id(s,t)}catch(s){let u=t.nextId++,d=s instanceof Error?s:new Error(String(s));return Uo(t,{type:"E",id:u,value:{message:d.message,stack:d.stack}}),u}if(o!==null&&typeof o=="object"&&o.$$typeof===Symbol.for("react.memo")){let s=o.type,u={...e,type:s};return await id(u,t)}if(typeof o=="function")try{let s=o(i);if(s instanceof Promise){let u=t.nextId++,d=s.then(async f=>{let h=await id(f,t);Uo(t,{type:"J",id:u,value:`$${h}`}),t.pendingChunks.delete(u)}).catch(f=>{Uo(t,{type:"E",id:u,value:{message:f.message,stack:f.stack}}),t.pendingChunks.delete(u)});return t.pendingChunks.set(u,d),u}return await id(s,t)}catch(s){let u=t.nextId++,d=s instanceof Error?s:new Error(String(s));return Uo(t,{type:"E",id:u,value:{message:d.message,stack:d.stack}}),u}if(typeof o=="string"){let s=t.nextId++,u=await G1(i,t);return Uo(t,{type:"J",id:s,value:{$$typeof:"react.element",type:o,props:`$${u}`}}),s}if(typeof o=="symbol"){let s=t.nextId++,u=await G1(i,t),d=o.toString();return Uo(t,{type:"J",id:s,value:{$$typeof:"react.element",type:d,props:`$${u}`}}),s}}let r=t.nextId++;try{Uo(t,{type:"J",id:r,value:e})}catch{Uo(t,{type:"J",id:r,value:null})}return r}async function G1(e,t){if(!e||typeof e!="object"){let o=t.nextId++;return Uo(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=>id(u,t)));r[o]=s.map(u=>`$${u}`)}else if(i!==null&&typeof i=="object"&&"$$typeof"in i){let s=await id(i,t);r[o]=`$${s}`}else r[o]=i;else if(v9(i)){let s=t.nextId++,u=i;Uo(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 Uo(t,{type:"J",id:n,value:r}),n}function tg(e,t){let n={bundlerConfig:t,nextId:0,chunks:[],pendingChunks:new Map},r=null,o=!1;n.emitChunk=d=>{if(o||!r)return;let f=y9(d);try{let h=new TextEncoder().encode(f);r.enqueue(h)}catch(h){o||(Fl.error(`Error emitting chunk ${d.id}: ${h}`),o=!0)}};let i=!1,s=()=>{i||(i=!0,Fl.debug("Starting RSC render..."),(async()=>{try{let d=id(e,n);Fl.debug("Root rendering started, emitting root chunk next...");let f=await d;for(Fl.debug(`Root chunk ID: ${f}, pending async: ${n.pendingChunks.size}`);n.pendingChunks.size>0;)Fl.debug(`Waiting for ${n.pendingChunks.size} async component(s)...`),await Promise.all(n.pendingChunks.values());Fl.debug("All async components resolved"),Fl.debug(`All done. Closing stream. Total: ${n.chunks.length} chunks`),!o&&r&&(o=!0,r.close())}catch(d){Fl.error(`Render error: ${d}`),!o&&r&&(o=!0,r.error(d))}})())};return new ReadableStream({start(d){r=d},pull(){s()},cancel(){o=!0}})}var Fl,$R=k(()=>{jR();it();Fl=fe.getLogger(["laroux-server","react","flight"])});async function ng(e){try{let t=C.path.resolve(e.distDir,"client",vre),n=await C.fs.readTextFile(t),r=JSON.parse(n);return vp.debug(`Loaded module map with ${Object.keys(r).length} entries`),r}catch(t){return vp.warn("Module map not found, using empty map"),t instanceof Ut&&vp.warn(" Run `deno task build` to generate the module map"),{}}}async function V1(e,t,n){try{let r=n??await ng(e);vp.debug("Module map keys:",{keys:Object.keys(r)}),vp.debug("Module map:",{moduleMap:r});let o=tg(t,r);return vp.debug("RSC stream created"),o}catch(r){vp.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})}
698
- `;s.enqueue(new TextEncoder().encode(u)),s.close()}})}}function Y1(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 rg(e,t,n){let r=await V1(e,t,n);return Y1(r)}var vp,vre,X1=k(()=>{$R();we();it();vp=fe.getLogger(["laroux-server","react","rsc-handler"]),vre="module-map.json"});function sd(e,t,n){let r=J1.default.createElement(t,{params:n?.params,pathname:n?.pathname});return J1.default.createElement(e,{children:r})}var J1,K1=k(()=>{J1=pT(zc(),1)});function e0(e){let t=x9(e.trim());return t?`<script>self.__RSC_CHUNK__(${JSON.stringify(t)})</script>
699
- `:""}function Z1(){let e=new TextDecoder,t=new TextEncoder,n="";return new TransformStream({transform(r,o){n+=e.decode(r,{stream:!0});let i=n.split(`
700
- `);n=i.pop()??"";for(let s of i){if(!s.trim())continue;let u=e0(s);u&&o.enqueue(t.encode(u))}},flush(r){if(n.trim()){let o=e0(n);o&&r.enqueue(t.encode(o))}}})}function w9(e,t){bre.debug("Creating inline RSC stream...");let n=tg(e,t),r=Z1();return n.pipeThrough(r)}function og(){return`<script id="__RSC_INLINE_BOOTSTRAP__">
701
- self.__RSC_CHUNKS_BUFFER__=[];
702
- self.__RSC_CHUNK__=function(c){self.__RSC_CHUNKS_BUFFER__.push(c)};
703
- </script>`}function C9(){return"<script>self.__RSC_STREAMING_COMPLETE__=true</script>"}var bre,Q1=k(()=>{jR();$R();it();bre=fe.getLogger(["laroux-server","react","inline-rsc"])});function ig(e){R9=e}function sg(){R9=null}var R9,j1=k(()=>{R9=null});function $1(){let e=null;return{name:"react",async renderPage(t,n,r){q1.debug(`Rendering page: ${r.pathname}`);try{let o=r.request.headers.get("cookie");ig(o),e||(e=await ng(r.config));let i=sd(t,n,{pathname:r.pathname,params:r.params,requestContext:{cookieHeader:o,host:r.request.headers.get("host")??void 0}}),s=await xp(i,e,{streamMode:"await-all"}),u=qR(s.rscPayload);return q1.debug(`Page rendered, HTML length: ${s.html.length}`),{html:s.html,rscPayload:u}}finally{sg()}},async renderRSC(t,n,r){q1.debug(`Rendering RSC: ${r.pathname}`);try{let o=r.request.headers.get("cookie");ig(o),e||(e=await ng(r.config));let i=sd(t,n,{pathname:r.pathname,params:r.params,requestContext:{cookieHeader:o,host:r.request.headers.get("host")??void 0}});return await rg(r.config,i,e)}finally{sg()}},generateBootstrapScript(t){return og()}}}var q1,T9,k9=k(()=>{H1();X1();K1();Q1();j1();it();q1=fe.getLogger(["laroux-server","react","renderer"]);T9=$1()});function E9(e){return e.map(t=>`<script type="module" src="${t0(t)}"></script>`).join(`
704
- `)}function S9(e){return e.map(t=>`<link rel="stylesheet" href="${t0(t)}">`).join(`
705
- `)}function t0(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function eO(){return{name:"react",createShell(e){let{head:t="",body:n="",scripts:r=[],styles:o=[],criticalCss:i,rscPayload:s,manifest:u,title:d="",lang:f="en"}=e,h=S9(o),y=E9(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>
706
- <html lang="${f}">
707
- <head>
708
- <meta charset="utf-8">
709
- <meta name="viewport" content="width=device-width, initial-scale=1">
710
- <title>${t0(d)}</title>
711
- ${h}
712
- ${x}
713
- ${t}
714
- </head>
715
- <body>
716
- <div id="root">${n}</div>
717
- ${s??""}
718
- ${w}
719
- ${y}
720
- </body>
721
- </html>`},createStreamingStart(e){let{head:t="",styles:n=[],criticalCss:r,title:o="",lang:i="en"}=e,s=S9(n),u=r?`<style id="__critical_css__">${r}</style>`:"";return`<!DOCTYPE html>
722
- <html lang="${i}">
723
- <head>
724
- <meta charset="utf-8">
725
- <meta name="viewport" content="width=device-width, initial-scale=1">
726
- <title>${t0(o)}</title>
727
- ${s}
728
- ${u}
729
- ${t}
730
- </head>
731
- <body>
732
- <div id="root">`},createStreamingEnd(e){let{scripts:t=[],rscPayload:n,manifest:r}=e,o=E9(t),i=r?`<script id="__CHUNK_MANIFEST__" type="application/json">${JSON.stringify(r).replace(/<\/script/gi,"<\\/script")}</script>`:"";return`</div>
733
- ${n??""}
734
- ${i}
735
- ${o}
736
- </body>
737
- </html>`}}}var P9,A9=k(()=>{P9=eO()});var tO={};ve(tO,{chunkToInlineScript:()=>e0,createInlineRSCStream:()=>w9,createInlineTransformStream:()=>Z1,createReactHtmlShellBuilder:()=>eO,createReactRenderer:()=>$1,generateInlineBootstrapScript:()=>og,generateInlineCompletionScript:()=>C9,generateRSCPayloadScript:()=>qR,loadModuleMap:()=>ng,reactHtmlShellBuilder:()=>P9,reactRenderer:()=>T9,renderApp:()=>sd,renderRSC:()=>V1,renderRSCResponse:()=>rg,renderSSR:()=>xp,renderToReadableStream:()=>tg,serializeRSCPayload:()=>Cx,streamToResponse:()=>Y1});var n0=k(()=>{k9();A9();$R();X1();H1();Q1();K1()});function r0(e,t){let n={...e,...t},r=[];n.description&&r.push(`<meta name="description" content="${Ni(n.description)}">`),n.keywords&&n.keywords.length>0&&r.push(`<meta name="keywords" content="${Ni(n.keywords.join(", "))}">`),n.author&&r.push(`<meta name="author" content="${Ni(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="${Ni(n.canonicalUrl)}">`),r.push(`<meta property="og:type" content="${n.ogType||"website"}">`),r.push(`<meta property="og:title" content="${Ni(n.title)}">`),n.description&&r.push(`<meta property="og:description" content="${Ni(n.description)}">`),n.siteUrl&&r.push(`<meta property="og:url" content="${Ni(n.siteUrl)}">`),n.siteName&&r.push(`<meta property="og:site_name" content="${Ni(n.siteName)}">`),n.locale&&r.push(`<meta property="og:locale" content="${n.locale}">`),n.ogImage&&(r.push(`<meta property="og:image" content="${Ni(n.ogImage)}">`),r.push(`<meta property="og:image:alt" content="${Ni(n.title)}">`)),r.push('<meta name="twitter:card" content="summary_large_image">'),r.push(`<meta name="twitter:title" content="${Ni(n.title)}">`),n.description&&r.push(`<meta name="twitter:description" content="${Ni(n.description)}">`),n.twitterHandle&&(r.push(`<meta name="twitter:site" content="${Ni(n.twitterHandle)}">`),r.push(`<meta name="twitter:creator" content="${Ni(n.twitterHandle)}">`)),n.ogImage&&r.push(`<meta name="twitter:image" content="${Ni(n.ogImage)}">`),n.favicon&&r.push(`<link rel="icon" href="${Ni(n.favicon)}">`),r.join(`
738
- `)}function o0(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(`
739
- `)}function Ni(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}var F9=k(()=>{});var O9=k(()=>{F9()});function I9(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(`
740
- `)??"",i=e.fontCSS?`<style>${e.fontCSS}</style>`:"",s=e.criticalChunks?.map(N=>`<link rel="modulepreload" href="${N}${n}">`).join(`
741
- `)??"",u=e.clientModules?.map(N=>{let Y=e.chunkManifest?.chunks?.[N];return Y&&"main"in Y?`<link rel="modulepreload" href="/chunk-${Y.main}.js${n}">`:""}).filter(Boolean).join(`
742
- `)??"",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'">
743
- <noscript><link rel="stylesheet" href="${e.deferredCSSPath}${r}"></noscript>`:"",w={...M9,...e.seoConfig},A=r0(w),F=o0(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>
744
- <html lang="${D}">
745
- <head>
746
- <meta charset="UTF-8">
747
- ${L}
748
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
749
- ${A}
750
- <title>${w.title}</title>
751
- ${o}
752
- ${i}
753
- ${y}
754
- ${e.deferredCSSPath?x:`<link rel="stylesheet" href="/styles.css${r}" media="print" onload="this.media='all'">
755
- <noscript><link rel="stylesheet" href="/styles.css${r}"></noscript>`}
756
- <link rel="modulepreload" href="${t}${n}">
757
- ${s}
758
- ${u}
759
- ${F}
760
- </head>
761
- <body>
762
- <div id="root">`}function D9(e){return`</div>
763
- </body>
764
- </html>`}function _9(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(`
765
- `)??"",s=e.fontCSS?`<style>${e.fontCSS}</style>`:"",u=e.criticalChunks?.map(Y=>`<link rel="modulepreload" href="${Y}${r}">`).join(`
766
- `)??"",d=e.clientModules?.map(Y=>{let H=e.chunkManifest?.chunks?.[Y];return H&&"main"in H?`<link rel="modulepreload" href="/chunk-${H.main}.js${r}">`:""}).filter(Boolean).join(`
767
- `)??"",h=e.criticalUniversalCSS||"html{scrollbar-gutter:stable}*,*::before,*::after{box-sizing:border-box}",x=`<style id="critical-css">${e.criticalPageCSS?`${h}${e.criticalPageCSS}`:h}</style>`,w=e.deferredCSSPath?`<link rel="stylesheet" href="${e.deferredCSSPath}${o}" media="print" onload="this.media='all'">
768
- <noscript><link rel="stylesheet" href="${e.deferredCSSPath}${o}"></noscript>`:"",A={...M9,...e.seoConfig},F=r0(A),D=o0(A),L=e.locale?.split("_")[0]??A.locale?.split("_")[0]??"en",N=e.deferredCSSPath?`<link rel="preload" href="${e.deferredCSSPath}${o}" as="style">`:`<link rel="preload" href="/styles.css${o}" as="style">`;return`<!DOCTYPE html>
769
- <html lang="${L}">
770
- <head>
771
- <meta charset="UTF-8">
772
- <!-- Early CSS preload for faster discovery -->
773
- ${N}
774
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
775
- ${F}
776
- <title>${A.title}</title>
777
- ${i}
778
- ${s}
779
- <!-- Critical CSS (inlined for fast first paint) -->
780
- ${x}
781
- ${e.deferredCSSPath?w:`<!-- Async full CSS loading -->
782
- <link rel="stylesheet" href="/styles.css${o}" media="print" onload="this.media='all'">
783
- <noscript><link rel="stylesheet" href="/styles.css${o}"></noscript>`}
784
- <!-- Modulepreload for faster script loading -->
785
- <link rel="modulepreload" href="${t}${r}">
786
- ${u}
787
- ${d}
788
- ${D}
789
- </head>
790
- <body>
791
- <div id="root">${e.ssrContent?e.ssrContent:'<div class="initial-loading">Loading...</div>'}</div>
792
-
793
- <!-- Chunk manifest for lazy loading -->
794
- ${n}
795
- ${e.rscPayload?`<!-- RSC payload for hydration -->
796
- <script id="__RSC_PAYLOAD__" type="application/json">${e.rscPayload.replace(/<\/script/gi,"<\\/script")}</script>`:""}
797
-
798
- <!-- Client entry point -->
799
- <script type="module" src="${t}${r}"></script>
800
- </body>
801
- </html>`}var M9,L9=k(()=>{O9();M9={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 N9(e){let t=U9(e,W9);return t===-1?[e,""]:t===0?["",e]:[e.slice(0,t),e.slice(t)]}function wre(e){if(!e)return["",e];if(e[0]!=='"')return N9(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"&&H9(o)){t+=o,n++;continue}if(r==="\r"||r===`
802
- `)return["",e];t+=e[n]}return["",e]}function B9(e){let t=e.trimStart();if(!t.startsWith(";"))return["","",e];t=t.slice(1),t=t.trimStart();let n;if([n,t]=N9(t),n=n.toLowerCase(),!n)return["","",e];t=t.slice(1),t=t.trimStart();let[r,o]=wre(t);return r===""&&o===t?["","",e]:(t=o,[n,r,t])}function nO(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 U9(e,t){let n=-1;for(let r of e)if(n++,t(r))return n;return-1}function z9(e){return e==null?!1:typeof e[Symbol.iterator]=="function"}function ag(e){return e?U9(e,W9)<0:!1}function W9(e){return!Cre(e)}function Cre(e){let t=e.charCodeAt(0);return t>32&&t<127&&!H9(e)}function H9(e){return e[0]?'()<>@,;:\\"/[]?='.includes(e[0]):!1}function G9(e){for(let t of e){let n=t.charCodeAt(0);if((n<Rre||n>Tre)&&t!==" ")return!0}return!1}var Rre,Tre,rO=k(()=>{Rre=32,Tre=126});function Rx(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,d]=B9(e);if(!s){if(kre.test(d))break;throw new TypeError(`Cannot parse media type: invalid parameter "${e}"`)}let f=r,[h,y]=s.split("*");if(h&&y!==void 0&&(o.has(h)||o.set(h,{}),f=o.get(h)),s in f)throw new TypeError("Cannot parse media type: duplicate key");f[s]=u,e=d}let i="";for(let[s,u]of o){let d=`${s}*`,f=u[d];if(f){let y=nO(f);y&&(r[s]=y);continue}i="";let h=!1;for(let y=0;;y++){let x=`${s}*${y}`,w=u[x];if(w){h=!0,i+=w;continue}let A=`${x}*`;if(w=u[A],!w)break;if(h=!0,y===0){let F=nO(w);F&&(i+=F)}else{let F=decodeURI(w);i+=F}}h&&(r[s]=i)}return[n,Object.keys(r).length?r:void 0]}var kre,Tx=k(()=>{rO();kre=/^\s*;\s*$/});var lg,V9=k(()=>{lg={"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 i0,X9,Y9,s0=k(()=>{V9();i0=new Map,X9=new Map,Y9=["nginx","apache",void 0,"iana"];for(let e of Object.keys(lg)){let t=lg[e],n=t.extensions;if(!(!n||!n.length)){X9.set(e,n);for(let r of n){let o=i0.get(r);if(o){let i=Y9.indexOf(lg[o].source),s=Y9.indexOf(t.source);if(o!=="application/octet-stream"&&o!=="application/mp4"&&(i>s||i===s&&o.startsWith("application/")))continue}i0.set(r,e)}}}});function J9(e){try{let[t,n]=Rx(e);if(n?.charset)return n.charset;let r=lg[t];if(r?.charset)return r.charset;if(t.startsWith("text/"))return"UTF-8"}catch{}}var oO=k(()=>{Tx();s0()});function K9(e,t){let n="",[r="",o]=e.split("/");if(o){if(!ag(r)||!ag(o))return"";n+=`${r.toLowerCase()}/${o.toLowerCase()}`}else{if(!ag(e))return"";n+=e.toLowerCase()}if(t){t=z9(t)?Object.fromEntries(t):t;let i=Object.keys(t);i.sort();for(let s of i){if(!ag(s))return"";let u=t[s];n+=`; ${s.toLowerCase()}`;let d=G9(u);if(d&&(n+="*"),n+="=",d){n+=`utf-8''${encodeURIComponent(u)}`;continue}if(ag(u)){n+=u;continue}n+=`"${u.replace(/["\\]/gi,f=>`\\${f}`)}"`}}return n}var iO=k(()=>{rO()});function Z9(e){return e=e.startsWith(".")?e.slice(1):e,i0.get(e.toLowerCase())}var sO=k(()=>{s0()});function aO(e){try{let[t,n={}]=e.includes("/")?Rx(e):[Z9(e),void 0];if(!t)return;if(!("charset"in n)){let r=J9(t);r&&(n.charset=r)}return K9(t,n)}catch{}}var Q9=k(()=>{Tx();oO();iO();sO()});var lO=k(()=>{Tx();s0()});var j9=k(()=>{lO()});var q9=k(()=>{Q9();j9();lO();iO();oO();Tx();sO()});var Ere,Sre,Pre,Are,Fre,$9,Ore,Mre,e5,t5=k(()=>{Ere=["/health"],Sre=["127.0.0.1","::1"],Pre={maxRequests:100,windowMs:6e4,message:"Too many requests, please try again later.",skipPaths:Ere,skipIps:Sre,trustProxy:!0},Are=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})},Fre=e=>/^([0-9a-fA-F]{0,4}:){2,7}[0-9a-fA-F]{0,4}$/.test(e)||e==="::1"||e==="::",$9=e=>Are(e)||Fre(e),Ore=(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($9(i))return i}}let r=e.headers.get("x-real-ip");if(r!==null){let o=r.trim();if($9(o))return o}}return"unknown"},Mre=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")},e5=(e={})=>{let t={...Pre,...e};Mre(t);let{maxRequests:n,windowMs:r,message:o,skipPaths:i,skipIps:s,keyGenerator:u}=t,d=t.trustProxy,f=new Map,h=null;return(()=>{h===null&&(h=setInterval(()=>{let D=Date.now();for(let[L,N]of f.entries())D>N.resetTime&&f.delete(L)},r))})(),{check:(D,L)=>{if(i?.some(M=>L.startsWith(M)))return null;let N=u?.(D)??Ore(D,d);if(s?.includes(N))return null;let Y=`${N}:${L}`,H=Date.now(),W=f.get(Y);if(W===void 0||H>W.resetTime)return W={count:1,resetTime:H+r},f.set(Y,W),null;if(W.count++,W.count>n){let M=Math.ceil((W.resetTime-H)/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 N=`${D}:${L}`,Y=f.get(N);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:()=>{h!==null&&(clearInterval(h),h=null),f.clear()},getStoreSize:()=>f.size}}});var i5={};ve(i5,{createHandler:()=>o5,startHTTPServer:()=>Lre});function Ire(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 d=I9(r);await u.write(o.encode(d));let f=await xp(t,n,{streamMode:"streaming-classic"});await u.write(o.encode(f.html));let h=og();await u.write(o.encode(h));let y=f.rscPayload.filter(D=>!(D.value&&typeof D.value=="object"&&D.value.__rsc_pending));if(y.length>0){Ks.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>
803
- `;await u.write(o.encode(D))}let x=r.chunkManifest?`<script>globalThis.__CHUNK_MANIFEST__ = ${JSON.stringify(r.chunkManifest)};</script>
804
- `:"";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>
805
- `;await u.write(o.encode(A));let F=D9(r);await u.write(o.encode(F)),await u.close()}catch(d){Ks.error("Streaming optimal error:",d);try{await u.abort(d)}catch{}}})(),new Response(i,{headers:{"Content-Type":"text/html; charset=utf-8","Transfer-Encoding":"chunked"}})}function uO(e,t){let n=new Headers(e.headers);for(let[r,o]of Object.entries(Dre))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 dO(e,t){try{let n=t.replace(/^\/dist\//,""),r=C.path.resolve(e.distDir,n);if(!r.startsWith(e.distDir))return Ks.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),d=C.path.extname(r),h={"Content-Type":aO(d)??"application/octet-stream","Cache-Control":r5,"Last-Modified":i,ETag:s};if(d===".js"){let y=`${r}.map`;try{await C.fs.stat(y);let x=C.path.basename(y);h.SourceMap=x}catch{}}return new Response(u,{headers:h})}catch(n){if(n instanceof Ut||n instanceof Error&&n.name==="NotFoundError")return null;throw n}}async function _re(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 Ks.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}"`,d=await C.fs.readFile(r),f=C.path.extname(r),h=aO(f)??"application/octet-stream";return new Response(d,{headers:{"Content-Type":h,"Cache-Control":r5,"Last-Modified":s,ETag:u}})}catch(n){if(n instanceof Ut||n instanceof Error&&n.name==="NotFoundError")return null;throw n}}function o5(e){let t=e.rateLimitConfig!==!1?e5(e.rateLimitConfig??{}):null;return async n=>{let r=new URL(n.url),{pathname:o}=r,{config:i,bundler:s,getApp:u,buildId:d,hmrManager:f,apiHandler:h,middlewareDispatcher:y}=e;Ks.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 uO(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(h){let w=await h.handleRequest(n,o);if(w)return w}if(o==="/"||o==="/index.html")return await n5(n,"/",e);if(o==="/_rsc"&&n.method==="POST"){let w=n.headers.get("RSC-Action");if(w){cg.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 N=C.path.resolve(i.distDir,"server",`${D}.js`);cg.debug(`Loading action module: ${N}`);let W=(await import(`file://${N}`))[L];if(typeof W!="function")return cg.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 cg.debug(`Action ${w} completed successfully`),new Response(JSON.stringify(M),{headers:{"Content-Type":"application/json","Cache-Control":cO}})}catch(A){return cg.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"){cg.debug("Rendering RSC payload...");let w=await s.getBundle(),A=r.searchParams.get("pathname")??"/",{Layout:F,Page:D,params:L}=await u(A),N=r.searchParams.get("locale"),Y=n.headers.get("cookie"),H=n.headers.get("host")??"localhost";ig(Y);try{return await rg(i,sd(F,D,{pathname:A,params:L,requestContext:{cookieHeader:Y,host:H,localeParam:N}}),w.moduleMap)}finally{sg()}}if(o===i.internal.runtimeBundleEndpoint){let w=await s.getBundle();return w.clientCode!==null?(Ks.debug("Serving current bundle..."),new Response(w.clientCode,{headers:{"Content-Type":"application/javascript; charset=utf-8","Cache-Control":cO}})):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":cO}}):new Response("Not Found",{status:404})}if(o.startsWith("/dist/")){let w=await dO(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 dO(i,w);if(A)return A}if(o!=="/"&&!o.startsWith("/dist/")&&!o.startsWith("/rsc")&&!o.startsWith("/action")){let w=await dO(i,`/dist${o}`);if(w)return w;let A=await _re(i,o);if(A)return A}return o==="/health"?new Response(JSON.stringify({status:"ok",timestamp:Date.now()}),{headers:{"Content-Type":"application/json"}}):await n5(n,o,e)};try{let w=await x();return w.headers.get("upgrade")==="websocket"?w:uO(w)}catch(w){return Ks.error(`Server error: ${w instanceof Error?w.message:String(w)}`),uO(new Response(JSON.stringify({error:"Internal Server Error"}),{status:500,headers:{"Content-Type":"application/json"}}))}}}async function n5(e,t,n){let{config:r,bundler:o,getApp:i,buildId:s}=n,u=await o.getBundle(),d=u.chunkManifest;d.buildId=s,d.logLevel=r.logLevel;let f,h;try{let H=C.path.resolve(r.distDir,"client","font-preloads.json"),W=C.path.resolve(r.distDir,"client","fonts.css"),M=await C.fs.readTextFile(H);f=JSON.parse(M),h=await C.fs.readTextFile(W)}catch{Ks.debug("Font optimization data not found, using fallback")}let y,x,w;try{let H=C.path.resolve(r.distDir,"client","styles.critical.css");y=await C.fs.readTextFile(H),w="/styles.deferred.css"}catch{Ks.debug("Critical page CSS not found, using defaults")}try{let H=C.path.resolve(r.distDir,"client","styles.universal.css");x=await C.fs.readTextFile(H)}catch{Ks.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,N;if(F)try{Ks.debug(`SSR rendering page: ${t}`);let{Layout:H,Page:W,params:M}=await i(t),ne=e.headers.get("cookie"),Ee=e.headers.get("host")??"localhost";ig(ne);try{let Ce=sd(H,W,{pathname:t,params:M,requestContext:{cookieHeader:ne,host:Ee}}),re=r.ssr?.streamMode??"streaming-optimal";if(re==="streaming-optimal")return Ks.debug(`Using streaming-optimal mode for SSR: ${t}`),Ire({element:Ce,moduleMap:u.moduleMap,shellOptions:{chunkManifest:d,entrypoint:u.entrypoint,fontPreloads:f,fontCSS:h,criticalPageCSS:y,criticalUniversalCSS:x,deferredCSSPath:w,clientModules:[]}});let me=await xp(Ce,u.moduleMap,{streamMode:re});D=me.html,re==="await-all"&&(L=Cx(me.rscPayload)),N=me.clientModules,Ks.debug(`SSR complete for ${t}: ${D.length} bytes HTML`)}finally{sg()}}catch(H){Ks.error(`SSR rendering failed for ${t}, falling back to CSR:`,H),D=void 0,L=void 0,N=void 0}let Y=_9({chunkManifest:d,entrypoint:u.entrypoint,fontPreloads:f,fontCSS:h,criticalPageCSS:y,criticalUniversalCSS:x,deferredCSSPath:w,ssrContent:D,rscPayload:L,clientModules:N});return new Response(Y,{headers:{"Content-Type":"text/html; charset=utf-8"}})}function Lre(e,t){let{config:n}=e,r=o5(e);Deno.serve({port:n.server.port,onListen:t??(()=>{})},r)}var Ks,cg,r5,cO,Dre,s5=k(()=>{it();n0();L9();we();q9();t5();j1();Ks=fe.getLogger(["laroux-server","server"]),cg=fe.getLogger(["laroux-server","rsc"]);r5="public, no-cache, must-revalidate",cO="no-cache, no-store, must-revalidate",Dre={"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 pO={};ve(pO,{VALID_LOG_LEVELS:()=>u6,clearRoutesCache:()=>Ure,startServer:()=>Vre});async function Bre(e){let t=Nre(e);await ny.configure({sinks:{console:iy.getConsoleSink({formatter:oy.ansiColorFormatter()})},loggers:[{category:["laroux-server"],lowestLevel:t,sinks:["console"]},{category:["laroux-bundler"],lowestLevel:t,sinks:["console"]},{category:["laroux"],lowestLevel:t,sinks:["console"]}]}),bp=fe.getLogger(["laroux-server","server"]),kx=fe.getLogger(["laroux-server","bundler"])}function Ure(){a0=null}async function zre(e){if(a0!==null)return a0;let n=`file://${C.path.join(e.distDir,"server","_generated-routes.ts")}?t=${Date.now()}`,{generatedRoutes:r}=await import(n);return a0=r,r}async function a5(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 Ei){let o=C.path.resolve(e.distDir,"server","src","app",`${t}.${r}`);if(await C.fs.exists(o))return o}return n}async function l5(e,t){let n=Date.now(),o=`file://${await a5(t,"layout")}?t=${n}`,{Layout:i}=await import(o),s=await zre(t),u=aF(e,s);if(u===null){let f=`file://${await a5(t,"not-found")}?t=${n}`,{NotFound:h}=await import(f);return{Layout:i,Page:h,params:{}}}return{Layout:i,Page:u.route.component,params:u.params}}async function Wre(e){try{let t=C.path.resolve(e.distDir,"client",c5),n=await C.fs.readTextFile(t);return JSON.parse(n).buildId}catch{return"unknown"}}async function Hre(e){try{let t=C.path.resolve(e.distDir,"client",c5),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 l0(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 Gre(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),N=Date.now(),Y=0;for(let H of L.actions)try{let W=C.path.resolve(n.distDir,"server",H);await C.fs.exists(W)&&(await import(`file://${W}?t=${N}`),Y++)}catch(W){bp.warn(`Failed to load action ${H}:`,{error:W})}Y>0&&bp.debug(`Server actions loaded: ${Y} file(s)`)}else bp.debug("No actions manifest found (optional)")}catch(A){bp.warn("Failed to load server actions:",{error:A})}await l5("/",n);let u=await Wre(n);kx.debug(`Build ID: ${u}`);let f={...e,getApp:A=>l5(A,n),buildId:u},h=await r.getBundle(),y={framework:i,css:s,bundlerBackend:"deno-bundler"};if(h.clientCode!==null&&o!==null){if(i!==void 0){let A=Pm(l0(n),y);hC(A,async F=>{if(r instanceof Iy)try{await r.rebuild()}catch(D){kx.error("Compilation failed:",{error:D})}kx.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=Pm(l0(n),y);hC(A,F=>{kx.info(`\u2713 Compiled in ${F.duration.toFixed(0)}ms`)})}let x="";h.clientCode!==null&&o!==null?x=" HMR":h.clientCode!==null&&(x=" Watch"),bp.info(`RSC Server${x}`),bp.info(` Local: http://localhost:${n.server.port}`);let{startHTTPServer:w}=await Promise.resolve().then(()=>(s5(),i5));return w(f),f}async function Vre(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 Bre(n);let d=await jA(t),f={...d,srcDir:C.path.resolve(t,d.srcDir),distDir:C.path.resolve(t,d.distDir),publicDir:C.path.resolve(t,d.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 h=await Hre(f),y=r||!h,x={framework:s,css:u};if(y&&r&&s!==void 0){let Y=Pm(l0(f),{...x,bundlerBackend:"deno-bundler"});await Am(Y)}else if(y&&s!==void 0){let Y=Pm(l0(f),{...x,bundlerBackend:"rolldown"});await Am(Y)}let w,A=null;r&&f.server.hmr?(A=new IC,w=new Fm({distDir:f.distDir})):w=new Fm({distDir:f.distDir});let F=new DC;await F.loadRoutes(f.distDir);let D=new _C;await D.loadProxies(f.distDir),await Gre({config:f,bundler:w,hmrManager:A,apiHandler:F,middlewareDispatcher:D,renderer:o??$H,htmlShell:i??t6},{frameworkPlugin:s,cssPlugin:u}),e.open&&Yre(`http://localhost:${f.server.port}`)}function Yre(e){let t={darwin:["open"],linux:["xdg-open"],windows:["cmd","/c","start"]},n=fa(),r=t[n];r&&r[0]&&C.exec.spawnChild(r[0],[...r.slice(1),e],{stdout:"null",stderr:"null"})}var c5,Nre,bp,kx,a0,fO=k(()=>{it();we();Vs();ZA();QH();qH();qA();e6();n6();r6();o6();i6();c6();d6();c5="manifest.json",Nre=e=>({trace:Be.Debug,debug:Be.Debug,info:Be.Info,warn:Be.Warning,error:Be.Error,fatal:Be.Critical})[e];a0=null});var u5={};ve(u5,{devHandler:()=>Jre});var Xre,Jre,d5=k(()=>{"use strict";Rn();Dt();Xre=["trace","debug","info","warn","error","fatal"],Jre=async e=>{console.log(Se(`
806
- \u26A1 Starting development server...
807
- `));let t=e.flags.port,n=e.flags["log-level"]??"info",r=!e.flags["no-hmr"],o=e.flags.open??!1,i=Xre.includes(n.toLowerCase())?n.toLowerCase():"info",[{startServer:s},{reactRenderer:u,reactHtmlShellBuilder:d},{reactPlugin:f},{createTailwindPlugin:h}]=await Promise.all([Promise.resolve().then(()=>(fO(),pO)),Promise.resolve().then(()=>(n0(),tO)),FC().then(()=>AC),Promise.resolve().then(()=>(Ay(),fC))]);return await s({mode:"dev",port:t,logLevel:i,hmr:r,open:o,renderer:u,htmlShell:d,frameworkPlugin:f,cssPlugin:h({globalCssPath:"src/app/styles/global.css"})}),ge(void 0)}});var p5={};ve(p5,{serveHandler:()=>Zre});var Kre,Zre,f5=k(()=>{"use strict";Rn();Dt();Kre=["trace","debug","info","warn","error","fatal"],Zre=async e=>{console.log(Se(`
808
- \u{1F680} Serving production build...
809
- `));let t=e.flags.port,n=e.flags["log-level"]??"info",r=Kre.includes(n.toLowerCase())?n.toLowerCase():"info",[{startServer:o},{reactRenderer:i,reactHtmlShellBuilder:s},{reactPlugin:u},{createTailwindPlugin:d}]=await Promise.all([Promise.resolve().then(()=>(fO(),pO)),Promise.resolve().then(()=>(n0(),tO)),FC().then(()=>AC),Promise.resolve().then(()=>(Ay(),fC))]);return await o({mode:"serve",port:t,logLevel:r,hmr:!1,renderer:i,htmlShell:s,frameworkPlugin:u,cssPlugin:d({globalCssPath:"src/app/styles/global.css"})}),ge(void 0)}});var g5={};ve(g5,{initHandler:()=>Qre});var m5,Qre,h5=k(()=>{"use strict";Rn();Dt();Pu();Nf();m5=["minimal","blog","dashboard","docs"],Qre=async e=>{let t=e.args[0]??"my-laroux-app",n=e.flags.template??"minimal";if(!m5.includes(n))return he({message:`${Pe(`
810
- Error: Invalid template "${n}"`)}
811
- Available templates: ${m5.join(", ")}`,exitCode:1});console.log(Se(`
812
- \u2728 Creating new laroux.js project in ./${t}
813
- `)),console.log(ye(` Template: ${n}`));let r="eser",o=`laroux-template-${n}`,i="main",s=e.flags.force??!1,u=e.flags["no-git"]??!1,d=`${Deno.cwd()}/${t}`;try{await Deno.mkdir(d,{recursive:!0})}catch{return he({message:Pe(`
814
- Could not create directory: ${d}`),exitCode:1})}console.log(ye(` Fetching from gh:${r}/${o}...
815
- `));try{let f=await Sf(()=>wb(r,o,i,"recipe.json"),()=>{});if(f._tag==="Ok"&&f.value!==void 0){let h=`https://raw.githubusercontent.com/${r}/${o}/${i}`,y=await Lc(f.value,{cwd:d,registryUrl:h,force:s,variables:{project_name:t}});console.log(Rt(`
816
- \u{1F389} Project created successfully!`)),console.log(ye(` ${y.written.length} files written`))}else{let h=await oP().then(()=>rP),y=`gh:${r}/${o}`,x=await Sf(()=>h.scaffold({specifier:y,targetDir:t,force:s,skipPostInstall:u,interactive:!0}),A=>({message:A.message}));if(x._tag==="Fail")return he({message:Pe(`
817
- Scaffolding failed: ${x.error.message}`),exitCode:1});let w=x.value;if(console.log(Rt(`
818
- \u{1F389} Project created successfully!`)),Object.keys(w.variables).length>0){console.log(`
819
- Variables applied:`);for(let[A,F]of Object.entries(w.variables))console.log(` ${ye(A)}: ${F}`)}}}catch(f){let h=f instanceof Error?f.message:String(f);return he({message:Pe(`
820
- Failed: ${h}`),exitCode:1})}return console.log(`
821
- ${ga("Next steps:")}
822
-
823
- cd ${t}
824
- eser laroux dev
825
-
826
- Then open ${Se("http://localhost:8000")} in your browser.
827
-
828
- ${ye("Learn more at https://laroux.now/")}
829
- `),ge(void 0)}});var y5={};ve(y5,{larouxCommand:()=>toe});var jre,qre,$re,eoe,toe,x5=k(()=>{"use strict";Ab();jre=async e=>{let{buildHandler:t}=await Promise.resolve().then(()=>(KH(),JH));return await t(e)},qre=async e=>{let{devHandler:t}=await Promise.resolve().then(()=>(d5(),u5));return await t(e)},$re=async e=>{let{serveHandler:t}=await Promise.resolve().then(()=>(f5(),p5));return await t(e)},eoe=async e=>{let{initHandler:t}=await Promise.resolve().then(()=>(h5(),g5));return await t(e)},toe=new ii("laroux").description("laroux.js framework commands").command(new ii("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(eoe)).command(new ii("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(qre)).command(new ii("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(jre)).command(new ii("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($re))});var mO,uc,v5,b5,wp,w5,dc,C5=k(()=>{"use strict";we();mO=()=>C.env.get("HOME")??"",uc=()=>{let e=C.env.get("SHELL")??"";return e.includes("zsh")?"zsh":e.includes("fish")?"fish":"bash"},v5=e=>{let t=mO();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")}},b5=(e,t)=>{let n=mO();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`)}},wp=(e,t)=>`eval "$(${t} system completions --shell ${e})"`,w5=e=>e==="fish"?"file":"eval",dc=(e,t="eser")=>{let n=e??uc(),r=w5(n);return{shell:n,rcFile:v5(n),completionType:r,completionsFile:r==="file"?b5(n,t):void 0}}});var Ex=k(()=>{C5()});var R5,ug,hO,T5,yO,xO,k5,vO=k(()=>{"use strict";Rn();we();Ex();Ex();R5="# eser CLI completions",ug="eser",hO=async e=>{try{return await C.fs.readTextFile(e)}catch{return""}},T5=async e=>{try{return await C.fs.stat(e),!0}catch{return!1}},yO=async e=>{let t=dc(e,ug);if(t.completionType==="file")return await T5(t.completionsFile);let n=await hO(t.rcFile),r=wp(e,ug);return n.includes(r)},xO=async e=>{let t=dc(e,ug);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
830
- # This file is auto-generated. Run 'eser system completions --shell fish' to regenerate.
831
- complete -c eser -f
832
- complete -c eser -n "__fish_use_subcommand" -a "codebase" -d "Codebase management tools"
833
- complete -c eser -n "__fish_use_subcommand" -a "system" -d "Commands related with this CLI"
834
- complete -c eser -n "__fish_use_subcommand" -a "install" -d "Install eser CLI globally"
835
- complete -c eser -n "__fish_use_subcommand" -a "update" -d "Update eser CLI to latest version"
836
- complete -c eser -n "__fish_seen_subcommand_from system" -a "install" -d "Install eser CLI globally"
837
- complete -c eser -n "__fish_seen_subcommand_from system" -a "uninstall" -d "Uninstall eser CLI globally"
838
- complete -c eser -n "__fish_seen_subcommand_from system" -a "update" -d "Update eser CLI to latest version"
839
- complete -c eser -n "__fish_seen_subcommand_from system" -a "completions" -d "Generate shell completion scripts"
840
- `),console.log(` ${ye("Created")} ${Se(n)}`)}else{let n=await hO(t.rcFile),r=wp(e,ug);if(!n.includes(r)){let o=`
841
- ${R5}
842
- ${r}
843
- `;await C.fs.writeTextFile(t.rcFile,n+o),console.log(` ${ye("Added completions to")} ${Se(t.rcFile)}`)}}}catch(n){console.log(is(` Warning: Could not add shell completions: ${n instanceof Error?n.message:String(n)}`))}},k5=async e=>{let t=dc(e,ug);try{if(t.completionType==="file"){let n=t.completionsFile;await T5(n)&&(await C.fs.remove(n),console.log(` ${ye("Removed")} ${Se(n)}`))}else{let n=await hO(t.rcFile);if(n==="")return;let r=wp(e,ug);if(!n.includes(r))return;let o=n.split(`
844
- `).filter(i=>!i.includes("eser system completions")).filter(i=>i!==R5).join(`
845
- `).replace(/\n{3,}/g,`
846
-
847
- `);await C.fs.writeTextFile(t.rcFile,o),console.log(` ${ye("Removed completions from")} ${Se(t.rcFile)}`)}}catch(n){console.log(is(` Warning: Could not remove shell completions: ${n instanceof Error?n.message:String(n)}`))}}});var noe,E5,roe,ooe,c0,S5=k(()=>{"use strict";Rn();we();Dt();Ws();Ex();vO();noe={command:"eser",devCommand:"deno task cli",npmPackage:"eser",jsrPackage:"@eser/cli"},E5={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"]}},roe=async()=>{let e=C,t=wu(),n=e.path.join(t,".local","bin");try{return await e.fs.stat(n),n}catch{}return"/usr/local/bin"},ooe=async()=>{let e=C,t=e.process.execPath(),n=await roe(),r=e.path.join(n,"eser");console.log(`Install method: ${Se("compiled binary")}`),console.log(ye(`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(Pe(`
848
- Permission denied writing to ${n}.
849
- Try: sudo eser install`)),he({exitCode:1});throw s}console.log(Rt(`
850
- Installation complete!`)),console.log(`You can now use ${Se("eser")} from anywhere in your terminal.`);let o=uc();if(!await yO(o)){console.log(`
851
- Setting up ${Se(o)} completions...`),await xO(o);let s=dc(o);s.completionType==="eval"&&console.log(ye(` Restart your shell or run 'source ${s.rcFile}' to enable completions.`))}return ge(void 0)},c0=async e=>{let t=await Tu(noe);if(t.invoker==="binary")return await ooe();console.log(`Detected runtime: ${Se(t.runtime)}`);let n=E5[t.runtime]??E5.node,{cmd:r,args:o}=n;console.log(ye(`Running: ${r} ${o.join(" ")}`)),console.log("");let i=await ft`${r} ${o}`.stdout("inherit").stderr("inherit").noThrow().spawn();if(!i.success)return console.error(Pe(`
852
- Installation failed.`)),he({exitCode:i.code});console.log(Rt(`
853
- Installation complete!`)),console.log(`You can now use ${Se("eser")} from anywhere in your terminal.`);let s=uc();if(!await yO(s)){console.log(`
854
- Setting up ${Se(s)} completions...`),await xO(s);let d=dc(s);d.completionType==="eval"&&console.log(ye(` Restart your shell or run 'source ${d.rcFile}' to enable completions.`))}return ge(void 0)}});var ioe,u0,P5=k(()=>{"use strict";Rn();we();Dt();Ws();vO();ioe={deno:{cmd:"deno",args:["uninstall","-g","eser"]},node:{cmd:"npm",args:["uninstall","-g","eser"]},bun:{cmd:"bun",args:["remove","-g","eser"]}},u0=async e=>{let t=pa();console.log(`Detected runtime: ${Se(t)}`);let n=ioe[t];if(n===void 0)return he({message:`${Pe(`
855
- Unsupported runtime: ${t}`)}
856
- Global uninstallation is only supported for Deno, Node.js, and Bun.`,exitCode:1});let{cmd:r,args:o}=n,i=uc();console.log(`
857
- Removing ${Se(i)} completions...`),await k5(i),console.log(ye(`
858
- Running: ${r} ${o.join(" ")}`)),console.log("");let s=await ft`${r} ${o}`.stdout("inherit").stderr("inherit").noThrow().spawn();return s.success?(console.log(Rt(`
859
- Uninstallation complete!`)),console.log(`The ${Se("eser")} command has been removed from your system.`),ge(void 0)):(console.error(Pe(`
860
- Uninstallation failed.`)),he({exitCode:s.code}))}});var pc,Sx=k(()=>{pc={name:"@eser/cli",version:"4.1.13",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:{"@std/assert":"npm:@jsr/std__assert@^1.0.16",esbuild:"^0.27.3"}}});var A5,aoe,loe,coe,F5,uoe,doe,poe,foe,dg,d0=k(()=>{"use strict";we();Sx();A5=".cache/eser",aoe="latest-version.json",loe=24*60*60*1e3,coe="https://api.github.com/repos/eser/stack/releases/latest",F5=()=>{let e=wu();return C.path.join(e,A5,aoe)},uoe=()=>{let e=wu();return C.path.join(e,A5)},doe=async()=>{let e=C;try{let t=F5();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}},poe=async e=>{let t=C;try{let n=uoe();await t.fs.ensureDir(n);let r=F5(),o={latestVersion:e,checkedAt:Date.now()};await t.fs.writeTextFile(r,JSON.stringify(o))}catch{}},foe=async()=>{try{let e=await fetch(coe,{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}},dg=async()=>{try{let e=pc.version,t=await doe();if(t!==void 0&&Date.now()-t.checkedAt<loe)return{latestVersion:t.latestVersion,currentVersion:e,updateAvailable:t.latestVersion!==e};let n=await foe();return n===void 0?void 0:(await poe(n),{latestVersion:n,currentVersion:e,updateAvailable:n!==e})}catch{return}}});var moe,O5,goe,hoe,yoe,p0,M5=k(()=>{"use strict";Rn();we();Dt();Ws();d0();Sx();moe={command:"eser",devCommand:"deno task cli",npmPackage:"eser",jsrPackage:"@eser/cli"},O5={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"]}},goe={"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"},hoe=()=>{let e=fa(),t=Pf(),n=`${e}-${t}`;return goe[n]},yoe=async()=>{let e=C;console.log(`Install method: ${Se("compiled binary")}`),console.log(`Current version: ${Se(pc.version)}
861
- `),console.log("Checking for updates...");let t=await dg();if(t===void 0)return console.error(Pe("Could not check for updates.")),he({exitCode:1});if(!t.updateAvailable)return console.log(Rt(`
862
- Already up to date (v${pc.version}).`)),ge(void 0);console.log(`
863
- New version available: ${Se(`v${t.latestVersion}`)}`);let n=hoe();if(n===void 0){let y=fa(),x=Pf();return console.error(Pe(`
864
- Unsupported platform: ${y}-${x}`)),he({exitCode:1})}let r=`v${t.latestVersion}`,o=fa()==="windows",s=`eser-${r}-${n}.${o?"zip":"tar.gz"}`,u=`https://github.com/eser/stack/releases/download/${r}`;console.log(ye(`Downloading ${s}...`));let d=await fetch(`${u}/${s}`);if(!d.ok)return console.error(Pe(`
865
- Failed to download: HTTP ${d.status}`)),he({exitCode:1});let f=await fetch(`${u}/SHA256SUMS.txt`);if(f.ok){let x=(await f.text()).split(`
866
- `).find(w=>w.includes(s));if(x!==void 0){let w=x.split(/\s+/)[0],A=new Uint8Array(await d.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(Pe(`
867
- SHA256 checksum verification failed.`)),he({exitCode:1});console.log(ye("Checksum verified."))}}let h=await e.fs.makeTempDir({prefix:"eser-update-"});try{let y=e.path.join(h,s),x=new Uint8Array(await d.arrayBuffer());await e.fs.writeFile(y,x),o?await ft`powershell -Command "Expand-Archive -Path ${y} -DestinationPath ${h}"`.spawn():await ft`tar -xzf ${y} -C ${h}`.spawn();let w=o?e.path.join(h,"eser.exe"):e.path.join(h,"eser"),A=e.process.execPath();if(o){let F=A.replace(/\.exe$/i,".new.exe");await e.fs.copyFile(w,F),console.log(Rt(`
868
- Downloaded v${t.latestVersion}!`)),console.log(`
869
- To complete the update, close this terminal and rename:
870
- ${Se(F)}
871
- to:
872
- ${Se(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(Rt(`
873
- Updated to v${t.latestVersion}!`))}}catch(y){if(y instanceof Deno.errors.PermissionDenied)return console.error(Pe(`
874
- Permission denied. Try running with sudo:
875
- sudo eser update`)),he({exitCode:1});throw y}finally{try{await e.fs.remove(h,{recursive:!0})}catch{}}return ge(void 0)},p0=async e=>{let t=await Tu(moe);if(t.invoker==="binary")return await yoe();console.log(`Detected runtime: ${Se(t.runtime)}`);let n=O5[t.runtime]??O5.node,{cmd:r,args:o}=n;console.log(ye(`Running: ${r} ${o.join(" ")}`)),console.log("");let i=await ft`${r} ${o}`.stdout("inherit").stderr("inherit").noThrow().spawn();return i.success?(console.log(Rt(`
876
- Update complete!`)),console.log(`The ${Se("eser")} command has been updated to the latest version.`),ge(void 0)):(console.error(Pe(`
877
- Update failed.`)),he({exitCode:i.code}))}});var xoe,f0,I5=k(()=>{"use strict";Rn();Dt();Ex();xoe=e=>{let t=dc(e,"eser");if(t.completionType==="file")return`
878
- To install, run:
879
-
880
- ${ye(`eser system completions --shell fish > ${t.completionsFile}`)}
881
- `;let n=wp(e,"eser");return`
882
- To install, add the following to your ${Se(t.rcFile)}:
883
-
884
- ${ye(n)}
885
- `},f0=e=>{let t=e.flags.shell,n;if(t!==void 0){if(!["bash","zsh","fish"].includes(t))return he({message:`${Pe(`Invalid shell: ${t}`)}
886
- Supported shells: bash, zsh, fish`,exitCode:1});n=t}else n=uc();let o=e.root.completions(n);return t===void 0&&(console.log(`Generating ${Se(n)} completions...`),console.log(xoe(n)),console.log(ye(`--- Completion script ---
887
- `))),console.log(o),ge(void 0)}});var voe,m0,D5=k(()=>{"use strict";Rn();Dt();d0();Sx();voe=200,m0=async e=>{if(e.flags.bare===!0)return console.log(pc.version),ge(void 0);console.log(`eser ${pc.version}`);try{let t=new Promise(r=>{setTimeout(()=>r(void 0),voe)}),n=await Promise.race([dg(),t]);n!==void 0&&n.updateAvailable&&console.log(ye(` Update available: v${n.latestVersion} \u2014 run 'eser update'`))}catch{}return ge(void 0)}});var boe,g0,pg,fc,_5,woe,L5,Coe,N5,Roe,Toe,koe,Eoe,Soe,h0,B5=k(()=>{"use strict";Dt();Ws();Rn();we();d0();Sx();boe={command:"eser",devCommand:"deno task cli",npmPackage:"eser",jsrPackage:"@eser/cli"},g0=17,pg=(e,t)=>{let n=`${e}:`.padEnd(g0);console.log(` ${n}${Rt("\u2713")} ${t}`)},fc=(e,t)=>{let n=`${e}:`.padEnd(g0);console.log(` ${n}${Pe("\u2717")} ${t}`)},_5=(e,t)=>{let n=`${e}:`.padEnd(g0);console.log(` ${n}${t}`)},woe=(e,t)=>{let n=`${e}:`.padEnd(g0);console.log(` ${n}${ye("-")} ${t}`)},L5=async e=>{try{return await C.fs.stat(e),!0}catch{return!1}},Coe=async e=>{try{return await C.fs.readTextFile(e)}catch{return""}},N5=(e,t)=>e.match(t)?.[1],Roe=async()=>{let e=C.path.join(".",".git","hooks","pre-commit");if(!await L5(e)){fc("Git hooks","Not installed");return}(await Coe(e)).includes("eser")?pg("Git hooks","Installed"):fc("Git hooks","Not installed")},Toe=async()=>{let e=C.path.join(".",".manifest.yml");await L5(e)?pg("Manifest",".manifest.yml found"):fc("Manifest",".manifest.yml not found")},koe=async()=>{try{let e=await ft`deno --version`.noThrow().quiet().text(),t=N5(e,/deno\s+(\S+)/);t!==void 0?pg("Deno",t):fc("Deno","Not found")}catch{fc("Deno","Not found")}},Eoe=async()=>{try{let e=await ft`go version`.noThrow().quiet().text(),t=N5(e,/go(\d+\.\d+(?:\.\d+)?)/);t!==void 0?pg("Go",t):fc("Go","Not found")}catch{fc("Go","Not found")}},Soe=async()=>{try{let t=(await ft`node --version`.noThrow().quiet().text()).trim();t.length>0?pg("Node",t):fc("Node","Not found")}catch{fc("Node","Not found")}},h0=async e=>{console.log(`eser doctor
888
- `);let t=await Tu(boe);_5("Install method",`${t.invoker} (${t.mode})`),_5("Version",pc.version);let n=await dg();return n===void 0?woe("Update","Could not check for updates"):n.updateAvailable?fc("Update",`Update available: v${n.latestVersion}`):pg("Update","Up to date"),console.log(""),await Roe(),await Toe(),console.log(""),await koe(),await Eoe(),await Soe(),ge(void 0)}});var Px={};ve(Px,{completionsHandler:()=>f0,doctorHandler:()=>h0,installHandler:()=>c0,uninstallHandler:()=>u0,updateHandler:()=>p0,versionHandler:()=>m0});var fg=k(()=>{"use strict";S5();P5();M5();I5();D5();B5()});var U5={};ve(U5,{systemCommand:()=>Poe});var Poe,z5=k(()=>{"use strict";Ab();fg();Poe=new ii("system").description("Commands related with this CLI").command(new ii("install").description("Install eser CLI globally").run(c0)).command(new ii("uninstall").description("Uninstall eser CLI globally").run(u0)).command(new ii("update").description("Update eser CLI to the latest version").run(p0)).command(new ii("completions").description("Generate shell completion scripts").flag({name:"shell",type:"string",description:"Shell type: bash, zsh, or fish"}).run(f0)).command(new ii("version").description("Show version and check for updates").flag({name:"bare",type:"boolean",description:"Print version number only"}).run(m0)).command(new ii("doctor").description("Run diagnostic checks").run(h0))});Gr();Dt();we();Ph();Dt();var mm={kit:{description:"Kit \u2014 recipes, templates, project creation",modules:{add:{description:"Add a recipe to your project",category:"Distribution",load:()=>Promise.resolve().then(()=>(l_(),a_))},list:{description:"Browse available recipes and templates",category:"Distribution",load:()=>Promise.resolve().then(()=>(u_(),c_))},new:{description:"Create a new project from a template",category:"Distribution",load:()=>Promise.resolve().then(()=>(p_(),d_))},clone:{description:"Clone a recipe from any GitHub repo",category:"Distribution",load:()=>Promise.resolve().then(()=>(g_(),m_))},update:{description:"Re-fetch and update an applied recipe",category:"Distribution",load:()=>Promise.resolve().then(()=>(y_(),h_))}},aliases:{create:"new"}},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(()=>(k_(),T_)),ZS().then(()=>KS)]),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(()=>(RB(),CB)),ZS().then(()=>KS)]),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:()=>oP().then(()=>rP)},install:{description:"Install git hooks from .manifest.yml",category:"Setup",load:()=>Pw().then(()=>Sw)},uninstall:{description:"Remove managed git hooks",category:"Setup",load:async()=>({main:(await Pw().then(()=>Sw)).uninstallMain})},status:{description:"Show git hook installation status",category:"Setup",load:async()=>({main:(await Pw().then(()=>Sw)).statusMain})},gh:{description:"GitHub operations (contributors, releases, tags)",category:"GitHub",load:()=>b3().then(()=>v3)},versions:{description:"Manage workspace package versions",category:"Release",load:()=>fm().then(()=>lP)},"changelog-gen":{description:"Generate CHANGELOG from commits",category:"Release",load:()=>uP().then(()=>cP)},release:{description:"Create a release (bump, changelog, commit, push)",category:"Release",load:()=>_w().then(()=>Dw)},rerelease:{description:"Delete and recreate the current version tag",category:"Release",load:async()=>({main:(await _w().then(()=>Dw)).rereleaseMain})},unrelease:{description:"Delete the current version tag",category:"Release",load:async()=>({main:(await _w().then(()=>Dw)).unreleaseMain})},"validate-eof":{description:"Ensure files end with newline",category:"Validation",load:()=>QE().then(()=>ZE)},"validate-trailing-whitespace":{description:"Remove trailing whitespace",category:"Validation",load:()=>$E().then(()=>qE)},"validate-bom":{description:"Remove UTF-8 byte order markers",category:"Validation",load:()=>nS().then(()=>tS)},"validate-line-endings":{description:"Normalize line endings to LF",category:"Validation",load:()=>iS().then(()=>oS)},"validate-large-files":{description:"Detect files exceeding size limit",category:"Validation",load:()=>lS().then(()=>aS)},"validate-case-conflict":{description:"Detect case-conflicting filenames",category:"Validation",load:()=>dS().then(()=>uS)},"validate-merge-conflict":{description:"Detect merge conflict markers",category:"Validation",load:()=>mS().then(()=>fS)},"validate-json":{description:"Validate JSON syntax",category:"Validation",load:()=>yS().then(()=>hS)},"validate-toml":{description:"Validate TOML syntax",category:"Validation",load:()=>bS().then(()=>vS)},"validate-yaml":{description:"Validate YAML syntax",category:"Validation",load:()=>RS().then(()=>CS)},"validate-symlinks":{description:"Detect broken symlinks",category:"Validation",load:()=>ES().then(()=>kS)},"validate-shebangs":{description:"Validate shebang consistency",category:"Validation",load:()=>AS().then(()=>PS)},"validate-secrets":{description:"Detect credentials and private keys",category:"Validation",load:()=>MS().then(()=>OS)},"validate-filenames":{description:"Enforce filename conventions",category:"Validation",load:()=>_S().then(()=>DS)},"validate-submodules":{description:"Detect git submodules",category:"Validation",load:()=>BS().then(()=>NS)},"validate-commit-msg":{description:"Validate conventional commit format",category:"Validation",load:()=>YS().then(()=>VS)},"validate-docs":{description:"Validate JSDoc documentation",category:"Validation",load:()=>WE().then(()=>aN)},"validate-circular-deps":{description:"Detect circular dependencies",category:"Validation",load:()=>hE().then(()=>Y2)},"validate-export-names":{description:"Validate export naming conventions",category:"Validation",load:()=>UE().then(()=>nN)},"validate-licenses":{description:"Validate license headers",category:"Validation",load:()=>GS().then(()=>HS)},"validate-mod-exports":{description:"Validate mod.ts export coverage",category:"Validation",load:()=>_E().then(()=>qL)},"validate-package-configs":{description:"Validate package configurations",category:"Validation",load:()=>VE().then(()=>aB)}},aliases:{init:"scaffolding"}}};var dP=e=>{let t=mm[e];if(t===void 0)return;console.log(`eser ${e} - ${t.description}
889
- `),console.log(`Usage: eser ${e} <module> [options]
890
- `);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(`
891
- Aliases:`);for(let[r,o]of Object.entries(t.aliases))console.log(` ${r.padEnd(24)} \u2192 ${o}`)}console.log(`
892
- Run 'eser ${e} <module> --help' for module-specific help.`)},G3=async(e,t,n)=>{let r=mm[e];if(r===void 0)return he({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}
893
- `),dP(e),he({exitCode:1})):await(await i.load()).main(n)};Ws();Dt();Rn();we();var Lw=(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??[]},Y3=(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=Lw(e,o),s=[];for(let u of i.depends){let d=Y3(u,t,n,r);for(let f of d)r.has(f)||(s.push(f),r.add(f))}return r.add(e),s},HZ=()=>{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}`},GZ=e=>{if(e==="eser"||e.startsWith("eser ")){let t=e.slice(4);return`${HZ()}${t}`}return e},V3=async(e,t,n)=>{let r=GZ(e),o=n!==void 0&&n.length>0?`${r} ${n.join(" ")}`:r,i=t??".";return(await new rc("sh",["-c",o]).cwd(i).stdout("inherit").stderr("inherit").noThrow().spawn()).code},X3=async(e,t,n,r)=>{let o=Y3(e,n);for(let u of o){let d=Lw(u,n[u]);console.log(ye(`$ ${u}`));let f=await V3(d.command,d.workingDirectory);if(f!==0)return console.error(Pe(`Script dependency "${u}" failed with exit code ${f}`)),he({exitCode:f})}let i=Lw(e,n[e]);console.log(ye(`$ ${e}`));let s=await V3(i.command,i.workingDirectory,r);return s!==0?he({exitCode:s}):ge(void 0)},J3=e=>{console.log("Scripts:");for(let[t,n]of Object.entries(e)){let r=Lw(t,n);console.log(` ${t.padEnd(20)} ${ye(r.description)}`)}console.log()};var W5=e=>async(t,n)=>await e.parse(t),y0=(e,t)=>async(n,r)=>{let o=Xe(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]})},H5={laroux:async()=>{let{larouxCommand:e}=await Promise.resolve().then(()=>(x5(),y5));return W5(e)},system:async()=>{let{systemCommand:e}=await Promise.resolve().then(()=>(z5(),U5));return W5(e)},install:async()=>{let{installHandler:e}=await Promise.resolve().then(()=>(fg(),Px));return y0(e,"install")},update:async()=>{let{updateHandler:e}=await Promise.resolve().then(()=>(fg(),Px));return y0(e,"update")},version:async()=>{let{versionHandler:e}=await Promise.resolve().then(()=>(fg(),Px));return y0(e,"version")},doctor:async()=>{let{doctorHandler:e}=await Promise.resolve().then(()=>(fg(),Px));return y0(e,"doctor")}},G5=async()=>{console.log(`eser - Eser's swiss-army-knife tooling for your terminal
894
- `),console.log(`Usage: eser <command> [subcommand] [options]
895
- `),console.log("Commands:");for(let[n,r]of Object.entries(mm))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 nc("."))?.scripts;t!=null&&typeof t=="object"&&(console.log(),J3(t)),console.log(`
896
- Options:`),console.log(" -h, --help Show this help message"),console.log(`
897
- Run 'eser <command> --help' for command-specific help.`)},Aoe=async()=>{let e=Xe(C.process.args,{boolean:["help","bare"],alias:{h:"help"},stopEarly:!0}),t=e._[0];if(t===void 0)return await G5(),ge(void 0);if(t in mm){let o=e._[1];if(o===void 0||o==="--help"||o==="-h"||e.help===!0)return dP(t),ge(void 0);let i=e._.slice(2);return await G3(t,o,i)}if(t in H5){let o=H5[t];return await(await o())(e._.slice(1),e)}let r=(await nc("."))?.scripts;if(r!=null&&typeof r=="object"){let o=r;if(t in o){let i=o[t],s=e._.slice(1);return await X3(t,i,o,s)}}return console.error(`Unknown command: ${t}`),console.log(""),await G5(),he({exitCode:1})};if(import.meta.main){let e=await Aoe();Ef(e,{ok:()=>{},fail:t=>{t.message!==void 0&&console.error(t.message),C.process.setExitCode(t.exitCode)}})}export{Aoe as main};
898
- /*! Bundled license information:
899
-
900
- react/cjs/react.production.js:
901
- (**
902
- * @license React
903
- * react.production.js
904
- *
905
- * Copyright (c) Meta Platforms, Inc. and affiliates.
906
- *
907
- * This source code is licensed under the MIT license found in the
908
- * LICENSE file in the root directory of this source tree.
909
- *)
910
-
911
- react/cjs/react.development.js:
912
- (**
913
- * @license React
914
- * react.development.js
915
- *
916
- * Copyright (c) Meta Platforms, Inc. and affiliates.
917
- *
918
- * This source code is licensed under the MIT license found in the
919
- * LICENSE file in the root directory of this source tree.
920
- *)
921
-
922
- react-dom/cjs/react-dom.production.js:
923
- (**
924
- * @license React
925
- * react-dom.production.js
926
- *
927
- * Copyright (c) Meta Platforms, Inc. and affiliates.
928
- *
929
- * This source code is licensed under the MIT license found in the
930
- * LICENSE file in the root directory of this source tree.
931
- *)
932
-
933
- react-dom/cjs/react-dom.development.js:
934
- (**
935
- * @license React
936
- * react-dom.development.js
937
- *
938
- * Copyright (c) Meta Platforms, Inc. and affiliates.
939
- *
940
- * This source code is licensed under the MIT license found in the
941
- * LICENSE file in the root directory of this source tree.
942
- *)
943
-
944
- react-dom/cjs/react-dom-server-legacy.node.production.js:
945
- (**
946
- * @license React
947
- * react-dom-server-legacy.node.production.js
948
- *
949
- * Copyright (c) Meta Platforms, Inc. and affiliates.
950
- *
951
- * This source code is licensed under the MIT license found in the
952
- * LICENSE file in the root directory of this source tree.
953
- *)
954
-
955
- react-dom/cjs/react-dom-server.node.production.js:
956
- (**
957
- * @license React
958
- * react-dom-server.node.production.js
959
- *
960
- * Copyright (c) Meta Platforms, Inc. and affiliates.
961
- *
962
- * This source code is licensed under the MIT license found in the
963
- * LICENSE file in the root directory of this source tree.
964
- *)
965
-
966
- react-dom/cjs/react-dom-server-legacy.node.development.js:
967
- (**
968
- * @license React
969
- * react-dom-server-legacy.node.development.js
970
- *
971
- * Copyright (c) Meta Platforms, Inc. and affiliates.
972
- *
973
- * This source code is licensed under the MIT license found in the
974
- * LICENSE file in the root directory of this source tree.
975
- *)
976
-
977
- react-dom/cjs/react-dom-server.node.development.js:
978
- (**
979
- * @license React
980
- * react-dom-server.node.development.js
981
- *
982
- * Copyright (c) Meta Platforms, Inc. and affiliates.
983
- *
984
- * This source code is licensed under the MIT license found in the
985
- * LICENSE file in the root directory of this source tree.
986
- *)
987
- */
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};