@statechange/council 0.3.0 → 0.5.0

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 (124) hide show
  1. package/assets/icon.icns +0 -0
  2. package/assets/icon.png +0 -0
  3. package/assets/logo.png +0 -0
  4. package/dist/cli.js +1 -1
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands/gui.d.ts +5 -1
  7. package/dist/commands/gui.js +3 -1
  8. package/dist/commands/gui.js.map +1 -1
  9. package/dist/commands/install.js +68 -46
  10. package/dist/commands/install.js.map +1 -1
  11. package/dist/electron/ipc-handlers.js +6 -1
  12. package/dist/electron/ipc-handlers.js.map +1 -1
  13. package/dist/electron/main.js +31 -4
  14. package/dist/electron/main.js.map +1 -1
  15. package/dist/electron/preload.js +1 -0
  16. package/dist/electron/preload.js.map +1 -1
  17. package/dist-electron/main.js +249 -223
  18. package/dist-electron/preload.mjs +1 -1
  19. package/dist-renderer/assets/{ar-SA-G6X2FPQ2-CNUtTBRd.js → ar-SA-G6X2FPQ2-DIdoFnw2.js} +1 -1
  20. package/dist-renderer/assets/{arc-BsV2XMg-.js → arc-BTotlQZy.js} +1 -1
  21. package/dist-renderer/assets/{az-AZ-76LH7QW2-BU-6SB21.js → az-AZ-76LH7QW2-vKvyE204.js} +1 -1
  22. package/dist-renderer/assets/{bg-BG-XCXSNQG7-L1xMEEzs.js → bg-BG-XCXSNQG7-CUw6XMat.js} +1 -1
  23. package/dist-renderer/assets/{blockDiagram-38ab4fdb-BHS1f8SU.js → blockDiagram-38ab4fdb-KuBxDdIg.js} +1 -1
  24. package/dist-renderer/assets/{bn-BD-2XOGV67Q-BgaYSNWB.js → bn-BD-2XOGV67Q-jAYEmCju.js} +1 -1
  25. package/dist-renderer/assets/{c4Diagram-3d4e48cf-D2Rl9Buo.js → c4Diagram-3d4e48cf-BNBdnuO2.js} +1 -1
  26. package/dist-renderer/assets/{ca-ES-6MX7JW3Y-DsFYhkLC.js → ca-ES-6MX7JW3Y-CI1kukXq.js} +1 -1
  27. package/dist-renderer/assets/channel-CYpnUKSx.js +1 -0
  28. package/dist-renderer/assets/{classDiagram-70f12bd4-BGxDdVFC.js → classDiagram-70f12bd4-CupH4cFs.js} +1 -1
  29. package/dist-renderer/assets/{classDiagram-v2-f2320105-BuoUwdmW.js → classDiagram-v2-f2320105-BahsG3Tc.js} +1 -1
  30. package/dist-renderer/assets/clone-DFY_WtGN.js +1 -0
  31. package/dist-renderer/assets/{createText-2e5e7dd3-BX6eAgL1.js → createText-2e5e7dd3-B3UjfUG4.js} +1 -1
  32. package/dist-renderer/assets/{cs-CZ-2BRQDIVT-CXV-i633.js → cs-CZ-2BRQDIVT-UI0wC0-v.js} +1 -1
  33. package/dist-renderer/assets/{da-DK-5WZEPLOC-DmYIifsm.js → da-DK-5WZEPLOC-CQAf8fls.js} +1 -1
  34. package/dist-renderer/assets/{de-DE-XR44H4JA-B2T52TzN.js → de-DE-XR44H4JA-CjKBhliG.js} +1 -1
  35. package/dist-renderer/assets/{edges-e0da2a9e-ChSiyO2u.js → edges-e0da2a9e-2iE4P-5f.js} +1 -1
  36. package/dist-renderer/assets/{el-GR-BZB4AONW-DlS_8ZJJ.js → el-GR-BZB4AONW-CQB6VLsx.js} +1 -1
  37. package/dist-renderer/assets/{erDiagram-9861fffd-REAc3tDU.js → erDiagram-9861fffd-BBDZcr4V.js} +1 -1
  38. package/dist-renderer/assets/{es-ES-U4NZUMDT-DL-zHXpT.js → es-ES-U4NZUMDT-DiI8d1UY.js} +1 -1
  39. package/dist-renderer/assets/{eu-ES-A7QVB2H4-Cq0Kx947.js → eu-ES-A7QVB2H4-DkxqpvcF.js} +1 -1
  40. package/dist-renderer/assets/{fa-IR-HGAKTJCU-DJqZOqAL.js → fa-IR-HGAKTJCU-D6yQ0OLT.js} +1 -1
  41. package/dist-renderer/assets/{fi-FI-Z5N7JZ37-CQiIDJrs.js → fi-FI-Z5N7JZ37-YXeS6J7A.js} +1 -1
  42. package/dist-renderer/assets/{flowDb-956e92f1-iZnRwdLd.js → flowDb-956e92f1-BUyPBg4x.js} +1 -1
  43. package/dist-renderer/assets/{flowDiagram-66a62f08-Cww5ErID.js → flowDiagram-66a62f08-DlzNPiyJ.js} +1 -1
  44. package/dist-renderer/assets/flowDiagram-v2-96b9c2cf-D9BHRMv4.js +1 -0
  45. package/dist-renderer/assets/{flowchart-elk-definition-4a651766-B3GjdX0I.js → flowchart-elk-definition-4a651766-Chzxgp5p.js} +1 -1
  46. package/dist-renderer/assets/{fr-FR-RHASNOE6-DXRyDBSp.js → fr-FR-RHASNOE6-f9mGiK-9.js} +1 -1
  47. package/dist-renderer/assets/{ganttDiagram-c361ad54-Dh5UuCf5.js → ganttDiagram-c361ad54-WJyNxrSM.js} +1 -1
  48. package/dist-renderer/assets/{gitGraphDiagram-72cf32ee-CUrdiK9f.js → gitGraphDiagram-72cf32ee-BVsVFoEf.js} +1 -1
  49. package/dist-renderer/assets/{gl-ES-HMX3MZ6V-DB2LhjQl.js → gl-ES-HMX3MZ6V-BjCm-PNJ.js} +1 -1
  50. package/dist-renderer/assets/{graph-KS9cHKTv.js → graph-CkTunRXI.js} +1 -1
  51. package/dist-renderer/assets/{he-IL-6SHJWFNN-CWdud4mG.js → he-IL-6SHJWFNN-DfYxNI2P.js} +1 -1
  52. package/dist-renderer/assets/{hi-IN-IWLTKZ5I-DkfCxaBI.js → hi-IN-IWLTKZ5I-DoZMu26E.js} +1 -1
  53. package/dist-renderer/assets/{hu-HU-A5ZG7DT2-DVX9rddx.js → hu-HU-A5ZG7DT2-DTrSQZCB.js} +1 -1
  54. package/dist-renderer/assets/{id-ID-SAP4L64H-CIosyByg.js → id-ID-SAP4L64H-C_U2ELPS.js} +1 -1
  55. package/dist-renderer/assets/{index-3862675e-CVxUAJo4.js → index-3862675e-BNtj693g.js} +1 -1
  56. package/dist-renderer/assets/index-B-vvA6a2.js +36 -0
  57. package/dist-renderer/assets/{index-B61Czmwn.js → index-CMFrvjlh.js} +4 -4
  58. package/dist-renderer/assets/index-Dfvdrrq2.css +1 -0
  59. package/dist-renderer/assets/{infoDiagram-f8f76790-CWACEGb6.js → infoDiagram-f8f76790-BgR_oHkS.js} +1 -1
  60. package/dist-renderer/assets/{it-IT-JPQ66NNP-D-TuMToN.js → it-IT-JPQ66NNP-DUHgayhE.js} +1 -1
  61. package/dist-renderer/assets/{ja-JP-DBVTYXUO-CK6puaHx.js → ja-JP-DBVTYXUO-BvvEmKLB.js} +1 -1
  62. package/dist-renderer/assets/{journeyDiagram-49397b02-DM-laNCt.js → journeyDiagram-49397b02-DMpZKzA6.js} +1 -1
  63. package/dist-renderer/assets/{kaa-6HZHGXH3-CiRWfMKd.js → kaa-6HZHGXH3-g6rUcGHV.js} +1 -1
  64. package/dist-renderer/assets/{kab-KAB-ZGHBKWFO-D4w9BQ8H.js → kab-KAB-ZGHBKWFO-7y2loFp3.js} +1 -1
  65. package/dist-renderer/assets/{kk-KZ-P5N5QNE5-RZi2AGvr.js → kk-KZ-P5N5QNE5-CrUBYCyh.js} +1 -1
  66. package/dist-renderer/assets/{km-KH-HSX4SM5Z-Dm-OPxhU.js → km-KH-HSX4SM5Z-BmTnQD1U.js} +1 -1
  67. package/dist-renderer/assets/{ko-KR-MTYHY66A-PbPGVqVz.js → ko-KR-MTYHY66A-B13GdnWI.js} +1 -1
  68. package/dist-renderer/assets/{ku-TR-6OUDTVRD-Bw0cMtYj.js → ku-TR-6OUDTVRD-BLvm9HOc.js} +1 -1
  69. package/dist-renderer/assets/{layout-zADYSvqS.js → layout-BRp1ZWud.js} +1 -1
  70. package/dist-renderer/assets/{line-DfBkzhQg.js → line-CBnb-2iQ.js} +1 -1
  71. package/dist-renderer/assets/{linear-O3lyK7Iz.js → linear-DflXVGQM.js} +1 -1
  72. package/dist-renderer/assets/{lt-LT-XHIRWOB4-06ru_RZe.js → lt-LT-XHIRWOB4-o21UyUem.js} +1 -1
  73. package/dist-renderer/assets/{lv-LV-5QDEKY6T-DsGBjFui.js → lv-LV-5QDEKY6T-Co_yvRsA.js} +1 -1
  74. package/dist-renderer/assets/{mindmap-definition-fc14e90a-Bg9UaNPK.js → mindmap-definition-fc14e90a-DpcRC-Qx.js} +1 -1
  75. package/dist-renderer/assets/{mr-IN-CRQNXWMA-C1kWOErC.js → mr-IN-CRQNXWMA-4PVnnNcU.js} +1 -1
  76. package/dist-renderer/assets/{my-MM-5M5IBNSE-C8wD2OFs.js → my-MM-5M5IBNSE-Dk5W3fXX.js} +1 -1
  77. package/dist-renderer/assets/{nb-NO-T6EIAALU-B7ac-R_W.js → nb-NO-T6EIAALU-DMkPaluQ.js} +1 -1
  78. package/dist-renderer/assets/{nl-NL-IS3SIHDZ-Up67nxB7.js → nl-NL-IS3SIHDZ-CYOTB3Eg.js} +1 -1
  79. package/dist-renderer/assets/{nn-NO-6E72VCQL-BPlkzXM9.js → nn-NO-6E72VCQL-D4OuF2An.js} +1 -1
  80. package/dist-renderer/assets/{oc-FR-POXYY2M6-TRLIkgml.js → oc-FR-POXYY2M6-Dgdddkga.js} +1 -1
  81. package/dist-renderer/assets/{pa-IN-N4M65BXN-Dl7hF9RX.js → pa-IN-N4M65BXN-DB2Y0wYm.js} +1 -1
  82. package/dist-renderer/assets/{percentages-BXMCSKIN-wBXtRqNn.js → percentages-BXMCSKIN-bsDgM1tI.js} +7 -7
  83. package/dist-renderer/assets/{pica-CGZUgvhx.js → pica-B0wN7u7a.js} +1 -1
  84. package/dist-renderer/assets/{pieDiagram-8a3498a8-ZPRkRtpu.js → pieDiagram-8a3498a8-D8QY6THh.js} +1 -1
  85. package/dist-renderer/assets/{pl-PL-T2D74RX3-DkwkT852.js → pl-PL-T2D74RX3-BvikiN3J.js} +1 -1
  86. package/dist-renderer/assets/{pt-BR-5N22H2LF-BMFWH_jN.js → pt-BR-5N22H2LF-DsWDLPF-.js} +1 -1
  87. package/dist-renderer/assets/{pt-PT-UZXXM6DQ-BPSC-yrG.js → pt-PT-UZXXM6DQ-BnTfNmgE.js} +1 -1
  88. package/dist-renderer/assets/{quadrantDiagram-120e2f19-DB1TyNBK.js → quadrantDiagram-120e2f19-CYknF173.js} +1 -1
  89. package/dist-renderer/assets/{requirementDiagram-deff3bca-DqVc_A29.js → requirementDiagram-deff3bca-DpK6qRCG.js} +1 -1
  90. package/dist-renderer/assets/{ro-RO-JPDTUUEW-CgkEXyU-.js → ro-RO-JPDTUUEW-WzwdaLQU.js} +1 -1
  91. package/dist-renderer/assets/{ru-RU-B4JR7IUQ-BJIahd0q.js → ru-RU-B4JR7IUQ-kSoy6NPm.js} +1 -1
  92. package/dist-renderer/assets/{sankeyDiagram-04a897e0-DZqGbQ0e.js → sankeyDiagram-04a897e0-qq5SY-Ue.js} +1 -1
  93. package/dist-renderer/assets/{sequenceDiagram-704730f1-D0Q04jBP.js → sequenceDiagram-704730f1-WIIr9Ug4.js} +1 -1
  94. package/dist-renderer/assets/{si-LK-N5RQ5JYF-DZ97xsfW.js → si-LK-N5RQ5JYF-AuePWwxD.js} +1 -1
  95. package/dist-renderer/assets/{sk-SK-C5VTKIMK-3O0GcaTE.js → sk-SK-C5VTKIMK-DC2HAG_f.js} +1 -1
  96. package/dist-renderer/assets/{sl-SI-NN7IZMDC-x_-Ca4Po.js → sl-SI-NN7IZMDC-BYS14Fmd.js} +1 -1
  97. package/dist-renderer/assets/{stateDiagram-587899a1-BkW3tbK-.js → stateDiagram-587899a1-BoO-tW9h.js} +1 -1
  98. package/dist-renderer/assets/{stateDiagram-v2-d93cdb3a-CZYVILLk.js → stateDiagram-v2-d93cdb3a-_GDLfMOw.js} +1 -1
  99. package/dist-renderer/assets/{styles-6aaf32cf-BQKVAqEs.js → styles-6aaf32cf-Bq02XG30.js} +1 -1
  100. package/dist-renderer/assets/{styles-9a916d00-DTjDY-zu.js → styles-9a916d00-DrDuz5OD.js} +1 -1
  101. package/dist-renderer/assets/{styles-c10674c1-CviHLZ2K.js → styles-c10674c1-BiUI5sb2.js} +1 -1
  102. package/dist-renderer/assets/{subset-shared.chunk-DIxPfZhi.js → subset-shared.chunk-B4D4aZVR.js} +1 -1
  103. package/dist-renderer/assets/{subset-worker.chunk-DDMwauN2.js → subset-worker.chunk-iv_EGnGX.js} +1 -1
  104. package/dist-renderer/assets/{sv-SE-XGPEYMSR-DmtUCQiw.js → sv-SE-XGPEYMSR-C_IQ_dRL.js} +1 -1
  105. package/dist-renderer/assets/{svgDrawCommon-08f97a94-B6bAmadW.js → svgDrawCommon-08f97a94-CGR4dkyx.js} +1 -1
  106. package/dist-renderer/assets/{ta-IN-2NMHFXQM-D7fiXwNW.js → ta-IN-2NMHFXQM-Bv6L9r0f.js} +1 -1
  107. package/dist-renderer/assets/{th-TH-HPSO5L25-D_F5D_Tj.js → th-TH-HPSO5L25-Y-RfnO5u.js} +1 -1
  108. package/dist-renderer/assets/{timeline-definition-85554ec2-BZuaxri2.js → timeline-definition-85554ec2-DNqe_2XL.js} +1 -1
  109. package/dist-renderer/assets/{tr-TR-DEFEU3FU-CzwSWbpN.js → tr-TR-DEFEU3FU-B46ZqcXK.js} +1 -1
  110. package/dist-renderer/assets/{uk-UA-QMV73CPH-BaaxaBLn.js → uk-UA-QMV73CPH-DzETOoLm.js} +1 -1
  111. package/dist-renderer/assets/{vi-VN-M7AON7JQ-BQ9szPme.js → vi-VN-M7AON7JQ-CKt3VFx4.js} +1 -1
  112. package/dist-renderer/assets/{xychartDiagram-e933f94c-7rTYP6vy.js → xychartDiagram-e933f94c-IFYih3oh.js} +1 -1
  113. package/dist-renderer/assets/{zh-CN-LNUGB5OW-DDjjE3j0.js → zh-CN-LNUGB5OW-DDBoaB0P.js} +1 -1
  114. package/dist-renderer/assets/{zh-HK-E62DVLB3-CUaw1jmU.js → zh-HK-E62DVLB3-CtYuCfrU.js} +1 -1
  115. package/dist-renderer/assets/{zh-TW-RAJ6MFWO-BFOuD9P0.js → zh-TW-RAJ6MFWO-61MRQ0N-.js} +1 -1
  116. package/dist-renderer/icon.png +0 -0
  117. package/dist-renderer/index.html +3 -3
  118. package/package.json +2 -1
  119. package/skills/council-install/SKILL.md +9 -9
  120. package/dist-renderer/assets/channel-D6rvl4sk.js +0 -1
  121. package/dist-renderer/assets/clone-ya1OS7ZU.js +0 -1
  122. package/dist-renderer/assets/flowDiagram-v2-96b9c2cf-DMQnUrJv.js +0 -1
  123. package/dist-renderer/assets/index-3RkkhxnO.js +0 -36
  124. package/dist-renderer/assets/index-BF6L2_KC.css +0 -1
@@ -0,0 +1,36 @@
1
+ function zy(t,r){for(var i=0;i<r.length;i++){const o=r[i];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in t)){const u=Object.getOwnPropertyDescriptor(o,a);u&&Object.defineProperty(t,a,u.get?u:{enumerable:!0,get:()=>o[a]})}}}return Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&o(f)}).observe(document,{childList:!0,subtree:!0});function i(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(a){if(a.ep)return;a.ep=!0;const u=i(a);fetch(a.href,u)}})();var Sb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _u(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Fa={exports:{}},Ui={},$a={exports:{}},Oe={};var Fd;function Iy(){if(Fd)return Oe;Fd=1;var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),w=Symbol.iterator;function S(P){return P===null||typeof P!="object"?null:(P=w&&P[w]||P["@@iterator"],typeof P=="function"?P:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,R={};function z(P,U,v){this.props=P,this.context=U,this.refs=R,this.updater=v||b}z.prototype.isReactComponent={},z.prototype.setState=function(P,U){if(typeof P!="object"&&typeof P!="function"&&P!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,U,"setState")},z.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function D(){}D.prototype=z.prototype;function $(P,U,v){this.props=P,this.context=U,this.refs=R,this.updater=v||b}var T=$.prototype=new D;T.constructor=$,M(T,z.prototype),T.isPureReactComponent=!0;var te=Array.isArray,F=Object.prototype.hasOwnProperty,O={current:null},re={key:!0,ref:!0,__self:!0,__source:!0};function B(P,U,v){var G,Y={},oe=null,Ce=null;if(U!=null)for(G in U.ref!==void 0&&(Ce=U.ref),U.key!==void 0&&(oe=""+U.key),U)F.call(U,G)&&!re.hasOwnProperty(G)&&(Y[G]=U[G]);var ke=arguments.length-2;if(ke===1)Y.children=v;else if(1<ke){for(var ye=Array(ke),He=0;He<ke;He++)ye[He]=arguments[He+2];Y.children=ye}if(P&&P.defaultProps)for(G in ke=P.defaultProps,ke)Y[G]===void 0&&(Y[G]=ke[G]);return{$$typeof:t,type:P,key:oe,ref:Ce,props:Y,_owner:O.current}}function ee(P,U){return{$$typeof:t,type:P.type,key:U,ref:P.ref,props:P.props,_owner:P._owner}}function he(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function ne(P){var U={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(v){return U[v]})}var H=/\/+/g;function we(P,U){return typeof P=="object"&&P!==null&&P.key!=null?ne(""+P.key):U.toString(36)}function le(P,U,v,G,Y){var oe=typeof P;(oe==="undefined"||oe==="boolean")&&(P=null);var Ce=!1;if(P===null)Ce=!0;else switch(oe){case"string":case"number":Ce=!0;break;case"object":switch(P.$$typeof){case t:case r:Ce=!0}}if(Ce)return Ce=P,Y=Y(Ce),P=G===""?"."+we(Ce,0):G,te(Y)?(v="",P!=null&&(v=P.replace(H,"$&/")+"/"),le(Y,U,v,"",function(He){return He})):Y!=null&&(he(Y)&&(Y=ee(Y,v+(!Y.key||Ce&&Ce.key===Y.key?"":(""+Y.key).replace(H,"$&/")+"/")+P)),U.push(Y)),1;if(Ce=0,G=G===""?".":G+":",te(P))for(var ke=0;ke<P.length;ke++){oe=P[ke];var ye=G+we(oe,ke);Ce+=le(oe,U,v,ye,Y)}else if(ye=S(P),typeof ye=="function")for(P=ye.call(P),ke=0;!(oe=P.next()).done;)oe=oe.value,ye=G+we(oe,ke++),Ce+=le(oe,U,v,ye,Y);else if(oe==="object")throw U=String(P),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.");return Ce}function q(P,U,v){if(P==null)return P;var G=[],Y=0;return le(P,G,"","",function(oe){return U.call(v,oe,Y++)}),G}function ae(P){if(P._status===-1){var U=P._result;U=U(),U.then(function(v){(P._status===0||P._status===-1)&&(P._status=1,P._result=v)},function(v){(P._status===0||P._status===-1)&&(P._status=2,P._result=v)}),P._status===-1&&(P._status=0,P._result=U)}if(P._status===1)return P._result.default;throw P._result}var ge={current:null},L={transition:null},Z={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:L,ReactCurrentOwner:O};function k(){throw Error("act(...) is not supported in production builds of React.")}return Oe.Children={map:q,forEach:function(P,U,v){q(P,function(){U.apply(this,arguments)},v)},count:function(P){var U=0;return q(P,function(){U++}),U},toArray:function(P){return q(P,function(U){return U})||[]},only:function(P){if(!he(P))throw Error("React.Children.only expected to receive a single React element child.");return P}},Oe.Component=z,Oe.Fragment=i,Oe.Profiler=a,Oe.PureComponent=$,Oe.StrictMode=o,Oe.Suspense=g,Oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,Oe.act=k,Oe.cloneElement=function(P,U,v){if(P==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+P+".");var G=M({},P.props),Y=P.key,oe=P.ref,Ce=P._owner;if(U!=null){if(U.ref!==void 0&&(oe=U.ref,Ce=O.current),U.key!==void 0&&(Y=""+U.key),P.type&&P.type.defaultProps)var ke=P.type.defaultProps;for(ye in U)F.call(U,ye)&&!re.hasOwnProperty(ye)&&(G[ye]=U[ye]===void 0&&ke!==void 0?ke[ye]:U[ye])}var ye=arguments.length-2;if(ye===1)G.children=v;else if(1<ye){ke=Array(ye);for(var He=0;He<ye;He++)ke[He]=arguments[He+2];G.children=ke}return{$$typeof:t,type:P.type,key:Y,ref:oe,props:G,_owner:Ce}},Oe.createContext=function(P){return P={$$typeof:f,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},P.Provider={$$typeof:u,_context:P},P.Consumer=P},Oe.createElement=B,Oe.createFactory=function(P){var U=B.bind(null,P);return U.type=P,U},Oe.createRef=function(){return{current:null}},Oe.forwardRef=function(P){return{$$typeof:m,render:P}},Oe.isValidElement=he,Oe.lazy=function(P){return{$$typeof:y,_payload:{_status:-1,_result:P},_init:ae}},Oe.memo=function(P,U){return{$$typeof:h,type:P,compare:U===void 0?null:U}},Oe.startTransition=function(P){var U=L.transition;L.transition={};try{P()}finally{L.transition=U}},Oe.unstable_act=k,Oe.useCallback=function(P,U){return ge.current.useCallback(P,U)},Oe.useContext=function(P){return ge.current.useContext(P)},Oe.useDebugValue=function(){},Oe.useDeferredValue=function(P){return ge.current.useDeferredValue(P)},Oe.useEffect=function(P,U){return ge.current.useEffect(P,U)},Oe.useId=function(){return ge.current.useId()},Oe.useImperativeHandle=function(P,U,v){return ge.current.useImperativeHandle(P,U,v)},Oe.useInsertionEffect=function(P,U){return ge.current.useInsertionEffect(P,U)},Oe.useLayoutEffect=function(P,U){return ge.current.useLayoutEffect(P,U)},Oe.useMemo=function(P,U){return ge.current.useMemo(P,U)},Oe.useReducer=function(P,U,v){return ge.current.useReducer(P,U,v)},Oe.useRef=function(P){return ge.current.useRef(P)},Oe.useState=function(P){return ge.current.useState(P)},Oe.useSyncExternalStore=function(P,U,v){return ge.current.useSyncExternalStore(P,U,v)},Oe.useTransition=function(){return ge.current.useTransition()},Oe.version="18.3.1",Oe}var $d;function zu(){return $d||($d=1,$a.exports=Iy()),$a.exports}var Bd;function Ty(){if(Bd)return Ui;Bd=1;var t=zu(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function f(m,g,h){var y,w={},S=null,b=null;h!==void 0&&(S=""+h),g.key!==void 0&&(S=""+g.key),g.ref!==void 0&&(b=g.ref);for(y in g)o.call(g,y)&&!u.hasOwnProperty(y)&&(w[y]=g[y]);if(m&&m.defaultProps)for(y in g=m.defaultProps,g)w[y]===void 0&&(w[y]=g[y]);return{$$typeof:r,type:m,key:S,ref:b,props:w,_owner:a.current}}return Ui.Fragment=i,Ui.jsx=f,Ui.jsxs=f,Ui}var Ud;function Ay(){return Ud||(Ud=1,Fa.exports=Ty()),Fa.exports}var d=Ay(),A=zu();const Iu=_u(A),jb=zy({__proto__:null,default:Iu},[A]);var Mo={},Ba={exports:{}},bt={},Ua={exports:{}},Va={};var Vd;function Ly(){return Vd||(Vd=1,(function(t){function r(L,Z){var k=L.length;L.push(Z);e:for(;0<k;){var P=k-1>>>1,U=L[P];if(0<a(U,Z))L[P]=Z,L[k]=U,k=P;else break e}}function i(L){return L.length===0?null:L[0]}function o(L){if(L.length===0)return null;var Z=L[0],k=L.pop();if(k!==Z){L[0]=k;e:for(var P=0,U=L.length,v=U>>>1;P<v;){var G=2*(P+1)-1,Y=L[G],oe=G+1,Ce=L[oe];if(0>a(Y,k))oe<U&&0>a(Ce,Y)?(L[P]=Ce,L[oe]=k,P=oe):(L[P]=Y,L[G]=k,P=G);else if(oe<U&&0>a(Ce,k))L[P]=Ce,L[oe]=k,P=oe;else break e}}return Z}function a(L,Z){var k=L.sortIndex-Z.sortIndex;return k!==0?k:L.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,m=f.now();t.unstable_now=function(){return f.now()-m}}var g=[],h=[],y=1,w=null,S=3,b=!1,M=!1,R=!1,z=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(L){for(var Z=i(h);Z!==null;){if(Z.callback===null)o(h);else if(Z.startTime<=L)o(h),Z.sortIndex=Z.expirationTime,r(g,Z);else break;Z=i(h)}}function te(L){if(R=!1,T(L),!M)if(i(g)!==null)M=!0,ae(F);else{var Z=i(h);Z!==null&&ge(te,Z.startTime-L)}}function F(L,Z){M=!1,R&&(R=!1,D(B),B=-1),b=!0;var k=S;try{for(T(Z),w=i(g);w!==null&&(!(w.expirationTime>Z)||L&&!ne());){var P=w.callback;if(typeof P=="function"){w.callback=null,S=w.priorityLevel;var U=P(w.expirationTime<=Z);Z=t.unstable_now(),typeof U=="function"?w.callback=U:w===i(g)&&o(g),T(Z)}else o(g);w=i(g)}if(w!==null)var v=!0;else{var G=i(h);G!==null&&ge(te,G.startTime-Z),v=!1}return v}finally{w=null,S=k,b=!1}}var O=!1,re=null,B=-1,ee=5,he=-1;function ne(){return!(t.unstable_now()-he<ee)}function H(){if(re!==null){var L=t.unstable_now();he=L;var Z=!0;try{Z=re(!0,L)}finally{Z?we():(O=!1,re=null)}}else O=!1}var we;if(typeof $=="function")we=function(){$(H)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,q=le.port2;le.port1.onmessage=H,we=function(){q.postMessage(null)}}else we=function(){z(H,0)};function ae(L){re=L,O||(O=!0,we())}function ge(L,Z){B=z(function(){L(t.unstable_now())},Z)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(L){L.callback=null},t.unstable_continueExecution=function(){M||b||(M=!0,ae(F))},t.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<L?Math.floor(1e3/L):5},t.unstable_getCurrentPriorityLevel=function(){return S},t.unstable_getFirstCallbackNode=function(){return i(g)},t.unstable_next=function(L){switch(S){case 1:case 2:case 3:var Z=3;break;default:Z=S}var k=S;S=Z;try{return L()}finally{S=k}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(L,Z){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var k=S;S=L;try{return Z()}finally{S=k}},t.unstable_scheduleCallback=function(L,Z,k){var P=t.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?P+k:P):k=P,L){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=k+U,L={id:y++,callback:Z,priorityLevel:L,startTime:k,expirationTime:U,sortIndex:-1},k>P?(L.sortIndex=k,r(h,L),i(g)===null&&L===i(h)&&(R?(D(B),B=-1):R=!0,ge(te,k-P))):(L.sortIndex=U,r(g,L),M||b||(M=!0,ae(F))),L},t.unstable_shouldYield=ne,t.unstable_wrapCallback=function(L){var Z=S;return function(){var k=S;S=Z;try{return L.apply(this,arguments)}finally{S=k}}}})(Va)),Va}var Hd;function My(){return Hd||(Hd=1,Ua.exports=Ly()),Ua.exports}var Wd;function Ry(){if(Wd)return bt;Wd=1;var t=zu(),r=My();function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,l=1;l<arguments.length;l++)n+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,a={};function u(e,n){f(e,n),f(e+"Capture",n)}function f(e,n){for(a[e]=n,e=0;e<n.length;e++)o.add(n[e])}var m=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,h=/^[: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]*$/,y={},w={};function S(e){return g.call(w,e)?!0:g.call(y,e)?!1:h.test(e)?w[e]=!0:(y[e]=!0,!1)}function b(e,n,l,s){if(l!==null&&l.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return s?!1:l!==null?!l.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function M(e,n,l,s){if(n===null||typeof n>"u"||b(e,n,l,s))return!0;if(s)return!1;if(l!==null)switch(l.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function R(e,n,l,s,c,p,x){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=s,this.attributeNamespace=c,this.mustUseProperty=l,this.propertyName=e,this.type=n,this.sanitizeURL=p,this.removeEmptyString=x}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){z[e]=new R(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];z[n]=new R(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){z[e]=new R(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,5,!1,e.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function $(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(D,$);z[n]=new R(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(D,$);z[n]=new R(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(D,$);z[n]=new R(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,1,!1,e.toLowerCase(),null,!1,!1)}),z.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,1,!1,e.toLowerCase(),null,!0,!0)});function T(e,n,l,s){var c=z.hasOwnProperty(n)?z[n]:null;(c!==null?c.type!==0:s||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(M(n,l,c,s)&&(l=null),s||c===null?S(n)&&(l===null?e.removeAttribute(n):e.setAttribute(n,""+l)):c.mustUseProperty?e[c.propertyName]=l===null?c.type===3?!1:"":l:(n=c.attributeName,s=c.attributeNamespace,l===null?e.removeAttribute(n):(c=c.type,l=c===3||c===4&&l===!0?"":""+l,s?e.setAttributeNS(s,n,l):e.setAttribute(n,l))))}var te=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),O=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),ne=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),L=Symbol.iterator;function Z(e){return e===null||typeof e!="object"?null:(e=L&&e[L]||e["@@iterator"],typeof e=="function"?e:null)}var k=Object.assign,P;function U(e){if(P===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);P=n&&n[1]||""}return`
2
+ `+P+e}var v=!1;function G(e,n){if(!e||v)return"";v=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(I){var s=I}Reflect.construct(e,[],n)}else{try{n.call()}catch(I){s=I}e.call(n.prototype)}else{try{throw Error()}catch(I){s=I}e()}}catch(I){if(I&&s&&typeof I.stack=="string"){for(var c=I.stack.split(`
3
+ `),p=s.stack.split(`
4
+ `),x=c.length-1,j=p.length-1;1<=x&&0<=j&&c[x]!==p[j];)j--;for(;1<=x&&0<=j;x--,j--)if(c[x]!==p[j]){if(x!==1||j!==1)do if(x--,j--,0>j||c[x]!==p[j]){var C=`
5
+ `+c[x].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),C}while(1<=x&&0<=j);break}}}finally{v=!1,Error.prepareStackTrace=l}return(e=e?e.displayName||e.name:"")?U(e):""}function Y(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=G(e.type,!1),e;case 11:return e=G(e.type.render,!1),e;case 1:return e=G(e.type,!0),e;default:return""}}function oe(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case re:return"Fragment";case O:return"Portal";case ee:return"Profiler";case B:return"StrictMode";case we:return"Suspense";case le:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ne:return(e.displayName||"Context")+".Consumer";case he:return(e._context.displayName||"Context")+".Provider";case H:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case q:return n=e.displayName||null,n!==null?n:oe(e.type)||"Memo";case ae:n=e._payload,e=e._init;try{return oe(e(n))}catch{}}return null}function Ce(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oe(n);case 8:return n===B?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function ke(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ye(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function He(e){var n=ye(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),s=""+e[n];if(!e.hasOwnProperty(n)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,p=l.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(x){s=""+x,p.call(this,x)}}),Object.defineProperty(e,n,{enumerable:l.enumerable}),{getValue:function(){return s},setValue:function(x){s=""+x},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function gt(e){e._valueTracker||(e._valueTracker=He(e))}function an(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var l=n.getValue(),s="";return e&&(s=ye(e)?e.checked?"true":"false":e.value),e=s,e!==l?(n.setValue(e),!0):!1}function Yt(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xt(e,n){var l=n.checked;return k({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??e._wrapperState.initialChecked})}function ri(e,n){var l=n.defaultValue==null?"":n.defaultValue,s=n.checked!=null?n.checked:n.defaultChecked;l=ke(n.value!=null?n.value:l),e._wrapperState={initialChecked:s,initialValue:l,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ii(e,n){n=n.checked,n!=null&&T(e,"checked",n,!1)}function xr(e,n){ii(e,n);var l=ke(n.value),s=n.type;if(l!=null)s==="number"?(l===0&&e.value===""||e.value!=l)&&(e.value=""+l):e.value!==""+l&&(e.value=""+l);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?vr(e,n.type,l):n.hasOwnProperty("defaultValue")&&vr(e,n.type,ke(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function jl(e,n,l){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var s=n.type;if(!(s!=="submit"&&s!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,l||n===e.value||(e.value=n),e.defaultValue=n}l=e.name,l!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,l!==""&&(e.name=l)}function vr(e,n,l){(n!=="number"||Yt(e.ownerDocument)!==e)&&(l==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+l&&(e.defaultValue=""+l))}var wn=Array.isArray;function kn(e,n,l,s){if(e=e.options,n){n={};for(var c=0;c<l.length;c++)n["$"+l[c]]=!0;for(l=0;l<e.length;l++)c=n.hasOwnProperty("$"+e[l].value),e[l].selected!==c&&(e[l].selected=c),c&&s&&(e[l].defaultSelected=!0)}else{for(l=""+ke(l),n=null,c=0;c<e.length;c++){if(e[c].value===l){e[c].selected=!0,s&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function li(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(i(91));return k({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Cl(e,n){var l=n.value;if(l==null){if(l=n.children,n=n.defaultValue,l!=null){if(n!=null)throw Error(i(92));if(wn(l)){if(1<l.length)throw Error(i(93));l=l[0]}n=l}n==null&&(n=""),l=n}e._wrapperState={initialValue:ke(l)}}function Pl(e,n){var l=ke(n.value),s=ke(n.defaultValue);l!=null&&(l=""+l,l!==e.value&&(e.value=l),n.defaultValue==null&&e.defaultValue!==l&&(e.defaultValue=l)),s!=null&&(e.defaultValue=""+s)}function Nl(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function V(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ie(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?V(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var be,Ee=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,l,s,c){MSApp.execUnsafeLocalFunction(function(){return e(n,l,s,c)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(be=be||document.createElement("div"),be.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function ze(e,n){if(n){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=n;return}}e.textContent=n}var lt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},un=["Webkit","ms","Moz","O"];Object.keys(lt).forEach(function(e){un.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),lt[n]=lt[e]})});function Lt(e,n,l){return n==null||typeof n=="boolean"||n===""?"":l||typeof n!="number"||n===0||lt.hasOwnProperty(e)&&lt[e]?(""+n).trim():n+"px"}function bn(e,n){e=e.style;for(var l in n)if(n.hasOwnProperty(l)){var s=l.indexOf("--")===0,c=Lt(l,n[l],s);l==="float"&&(l="cssFloat"),s?e.setProperty(l,c):e[l]=c}}var qn=k({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ot(e,n){if(n){if(qn[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(i(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(i(61))}if(n.style!=null&&typeof n.style!="object")throw Error(i(62))}}function Zt(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){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":return!1;default:return!0}}var Pt=null;function es(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ts=null,wr=null,kr=null;function tc(e){if(e=Ni(e)){if(typeof ts!="function")throw Error(i(280));var n=e.stateNode;n&&(n=Yl(n),ts(e.stateNode,e.type,n))}}function nc(e){wr?kr?kr.push(e):kr=[e]:wr=e}function rc(){if(wr){var e=wr,n=kr;if(kr=wr=null,tc(e),n)for(e=0;e<n.length;e++)tc(n[e])}}function ic(e,n){return e(n)}function lc(){}var ns=!1;function oc(e,n,l){if(ns)return e(n,l);ns=!0;try{return ic(e,n,l)}finally{ns=!1,(wr!==null||kr!==null)&&(lc(),rc())}}function oi(e,n){var l=e.stateNode;if(l===null)return null;var s=Yl(l);if(s===null)return null;l=s[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(i(231,n,typeof l));return l}var rs=!1;if(m)try{var si={};Object.defineProperty(si,"passive",{get:function(){rs=!0}}),window.addEventListener("test",si,si),window.removeEventListener("test",si,si)}catch{rs=!1}function Rh(e,n,l,s,c,p,x,j,C){var I=Array.prototype.slice.call(arguments,3);try{n.apply(l,I)}catch(K){this.onError(K)}}var ai=!1,El=null,Ol=!1,is=null,Dh={onError:function(e){ai=!0,El=e}};function Fh(e,n,l,s,c,p,x,j,C){ai=!1,El=null,Rh.apply(Dh,arguments)}function $h(e,n,l,s,c,p,x,j,C){if(Fh.apply(this,arguments),ai){if(ai){var I=El;ai=!1,El=null}else throw Error(i(198));Ol||(Ol=!0,is=I)}}function Yn(e){var n=e,l=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(l=n.return),e=n.return;while(e)}return n.tag===3?l:null}function sc(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function ac(e){if(Yn(e)!==e)throw Error(i(188))}function Bh(e){var n=e.alternate;if(!n){if(n=Yn(e),n===null)throw Error(i(188));return n!==e?null:e}for(var l=e,s=n;;){var c=l.return;if(c===null)break;var p=c.alternate;if(p===null){if(s=c.return,s!==null){l=s;continue}break}if(c.child===p.child){for(p=c.child;p;){if(p===l)return ac(c),e;if(p===s)return ac(c),n;p=p.sibling}throw Error(i(188))}if(l.return!==s.return)l=c,s=p;else{for(var x=!1,j=c.child;j;){if(j===l){x=!0,l=c,s=p;break}if(j===s){x=!0,s=c,l=p;break}j=j.sibling}if(!x){for(j=p.child;j;){if(j===l){x=!0,l=p,s=c;break}if(j===s){x=!0,s=p,l=c;break}j=j.sibling}if(!x)throw Error(i(189))}}if(l.alternate!==s)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?e:n}function uc(e){return e=Bh(e),e!==null?cc(e):null}function cc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=cc(e);if(n!==null)return n;e=e.sibling}return null}var fc=r.unstable_scheduleCallback,dc=r.unstable_cancelCallback,Uh=r.unstable_shouldYield,Vh=r.unstable_requestPaint,Qe=r.unstable_now,Hh=r.unstable_getCurrentPriorityLevel,ls=r.unstable_ImmediatePriority,pc=r.unstable_UserBlockingPriority,_l=r.unstable_NormalPriority,Wh=r.unstable_LowPriority,mc=r.unstable_IdlePriority,zl=null,Jt=null;function Kh(e){if(Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(zl,e,void 0,(e.current.flags&128)===128)}catch{}}var Vt=Math.clz32?Math.clz32:qh,Gh=Math.log,Qh=Math.LN2;function qh(e){return e>>>=0,e===0?32:31-(Gh(e)/Qh|0)|0}var Il=64,Tl=4194304;function ui(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Al(e,n){var l=e.pendingLanes;if(l===0)return 0;var s=0,c=e.suspendedLanes,p=e.pingedLanes,x=l&268435455;if(x!==0){var j=x&~c;j!==0?s=ui(j):(p&=x,p!==0&&(s=ui(p)))}else x=l&~c,x!==0?s=ui(x):p!==0&&(s=ui(p));if(s===0)return 0;if(n!==0&&n!==s&&(n&c)===0&&(c=s&-s,p=n&-n,c>=p||c===16&&(p&4194240)!==0))return n;if((s&4)!==0&&(s|=l&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=s;0<n;)l=31-Vt(n),c=1<<l,s|=e[l],n&=~c;return s}function Yh(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Xh(e,n){for(var l=e.suspendedLanes,s=e.pingedLanes,c=e.expirationTimes,p=e.pendingLanes;0<p;){var x=31-Vt(p),j=1<<x,C=c[x];C===-1?((j&l)===0||(j&s)!==0)&&(c[x]=Yh(j,n)):C<=n&&(e.expiredLanes|=j),p&=~j}}function os(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function hc(){var e=Il;return Il<<=1,(Il&4194240)===0&&(Il=64),e}function ss(e){for(var n=[],l=0;31>l;l++)n.push(e);return n}function ci(e,n,l){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Vt(n),e[n]=l}function Zh(e,n){var l=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var s=e.eventTimes;for(e=e.expirationTimes;0<l;){var c=31-Vt(l),p=1<<c;n[c]=0,s[c]=-1,e[c]=-1,l&=~p}}function as(e,n){var l=e.entangledLanes|=n;for(e=e.entanglements;l;){var s=31-Vt(l),c=1<<s;c&n|e[s]&n&&(e[s]|=n),l&=~c}}var Le=0;function gc(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var yc,us,xc,vc,wc,cs=!1,Ll=[],Sn=null,jn=null,Cn=null,fi=new Map,di=new Map,Pn=[],Jh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function kc(e,n){switch(e){case"focusin":case"focusout":Sn=null;break;case"dragenter":case"dragleave":jn=null;break;case"mouseover":case"mouseout":Cn=null;break;case"pointerover":case"pointerout":fi.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":di.delete(n.pointerId)}}function pi(e,n,l,s,c,p){return e===null||e.nativeEvent!==p?(e={blockedOn:n,domEventName:l,eventSystemFlags:s,nativeEvent:p,targetContainers:[c]},n!==null&&(n=Ni(n),n!==null&&us(n)),e):(e.eventSystemFlags|=s,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function eg(e,n,l,s,c){switch(n){case"focusin":return Sn=pi(Sn,e,n,l,s,c),!0;case"dragenter":return jn=pi(jn,e,n,l,s,c),!0;case"mouseover":return Cn=pi(Cn,e,n,l,s,c),!0;case"pointerover":var p=c.pointerId;return fi.set(p,pi(fi.get(p)||null,e,n,l,s,c)),!0;case"gotpointercapture":return p=c.pointerId,di.set(p,pi(di.get(p)||null,e,n,l,s,c)),!0}return!1}function bc(e){var n=Xn(e.target);if(n!==null){var l=Yn(n);if(l!==null){if(n=l.tag,n===13){if(n=sc(l),n!==null){e.blockedOn=n,wc(e.priority,function(){xc(l)});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ml(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var l=ds(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(l===null){l=e.nativeEvent;var s=new l.constructor(l.type,l);Pt=s,l.target.dispatchEvent(s),Pt=null}else return n=Ni(l),n!==null&&us(n),e.blockedOn=l,!1;n.shift()}return!0}function Sc(e,n,l){Ml(e)&&l.delete(n)}function tg(){cs=!1,Sn!==null&&Ml(Sn)&&(Sn=null),jn!==null&&Ml(jn)&&(jn=null),Cn!==null&&Ml(Cn)&&(Cn=null),fi.forEach(Sc),di.forEach(Sc)}function mi(e,n){e.blockedOn===n&&(e.blockedOn=null,cs||(cs=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,tg)))}function hi(e){function n(c){return mi(c,e)}if(0<Ll.length){mi(Ll[0],e);for(var l=1;l<Ll.length;l++){var s=Ll[l];s.blockedOn===e&&(s.blockedOn=null)}}for(Sn!==null&&mi(Sn,e),jn!==null&&mi(jn,e),Cn!==null&&mi(Cn,e),fi.forEach(n),di.forEach(n),l=0;l<Pn.length;l++)s=Pn[l],s.blockedOn===e&&(s.blockedOn=null);for(;0<Pn.length&&(l=Pn[0],l.blockedOn===null);)bc(l),l.blockedOn===null&&Pn.shift()}var br=te.ReactCurrentBatchConfig,Rl=!0;function ng(e,n,l,s){var c=Le,p=br.transition;br.transition=null;try{Le=1,fs(e,n,l,s)}finally{Le=c,br.transition=p}}function rg(e,n,l,s){var c=Le,p=br.transition;br.transition=null;try{Le=4,fs(e,n,l,s)}finally{Le=c,br.transition=p}}function fs(e,n,l,s){if(Rl){var c=ds(e,n,l,s);if(c===null)Os(e,n,s,Dl,l),kc(e,s);else if(eg(c,e,n,l,s))s.stopPropagation();else if(kc(e,s),n&4&&-1<Jh.indexOf(e)){for(;c!==null;){var p=Ni(c);if(p!==null&&yc(p),p=ds(e,n,l,s),p===null&&Os(e,n,s,Dl,l),p===c)break;c=p}c!==null&&s.stopPropagation()}else Os(e,n,s,null,l)}}var Dl=null;function ds(e,n,l,s){if(Dl=null,e=es(s),e=Xn(e),e!==null)if(n=Yn(e),n===null)e=null;else if(l=n.tag,l===13){if(e=sc(n),e!==null)return e;e=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Dl=e,null}function jc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Hh()){case ls:return 1;case pc:return 4;case _l:case Wh:return 16;case mc:return 536870912;default:return 16}default:return 16}}var Nn=null,ps=null,Fl=null;function Cc(){if(Fl)return Fl;var e,n=ps,l=n.length,s,c="value"in Nn?Nn.value:Nn.textContent,p=c.length;for(e=0;e<l&&n[e]===c[e];e++);var x=l-e;for(s=1;s<=x&&n[l-s]===c[p-s];s++);return Fl=c.slice(e,1<s?1-s:void 0)}function $l(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Bl(){return!0}function Pc(){return!1}function Nt(e){function n(l,s,c,p,x){this._reactName=l,this._targetInst=c,this.type=s,this.nativeEvent=p,this.target=x,this.currentTarget=null;for(var j in e)e.hasOwnProperty(j)&&(l=e[j],this[j]=l?l(p):p[j]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Bl:Pc,this.isPropagationStopped=Pc,this}return k(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Bl)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Bl)},persist:function(){},isPersistent:Bl}),n}var Sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ms=Nt(Sr),gi=k({},Sr,{view:0,detail:0}),ig=Nt(gi),hs,gs,yi,Ul=k({},gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yi&&(yi&&e.type==="mousemove"?(hs=e.screenX-yi.screenX,gs=e.screenY-yi.screenY):gs=hs=0,yi=e),hs)},movementY:function(e){return"movementY"in e?e.movementY:gs}}),Nc=Nt(Ul),lg=k({},Ul,{dataTransfer:0}),og=Nt(lg),sg=k({},gi,{relatedTarget:0}),ys=Nt(sg),ag=k({},Sr,{animationName:0,elapsedTime:0,pseudoElement:0}),ug=Nt(ag),cg=k({},Sr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fg=Nt(cg),dg=k({},Sr,{data:0}),Ec=Nt(dg),pg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mg={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gg(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=hg[e])?!!n[e]:!1}function xs(){return gg}var yg=k({},gi,{key:function(e){if(e.key){var n=pg[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=$l(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xs,charCode:function(e){return e.type==="keypress"?$l(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$l(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xg=Nt(yg),vg=k({},Ul,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oc=Nt(vg),wg=k({},gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xs}),kg=Nt(wg),bg=k({},Sr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sg=Nt(bg),jg=k({},Ul,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Cg=Nt(jg),Pg=[9,13,27,32],vs=m&&"CompositionEvent"in window,xi=null;m&&"documentMode"in document&&(xi=document.documentMode);var Ng=m&&"TextEvent"in window&&!xi,_c=m&&(!vs||xi&&8<xi&&11>=xi),zc=" ",Ic=!1;function Tc(e,n){switch(e){case"keyup":return Pg.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ac(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jr=!1;function Eg(e,n){switch(e){case"compositionend":return Ac(n);case"keypress":return n.which!==32?null:(Ic=!0,zc);case"textInput":return e=n.data,e===zc&&Ic?null:e;default:return null}}function Og(e,n){if(jr)return e==="compositionend"||!vs&&Tc(e,n)?(e=Cc(),Fl=ps=Nn=null,jr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return _c&&n.locale!=="ko"?null:n.data;default:return null}}var _g={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Lc(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!_g[e.type]:n==="textarea"}function Mc(e,n,l,s){nc(s),n=Gl(n,"onChange"),0<n.length&&(l=new ms("onChange","change",null,l,s),e.push({event:l,listeners:n}))}var vi=null,wi=null;function zg(e){ef(e,0)}function Vl(e){var n=Or(e);if(an(n))return e}function Ig(e,n){if(e==="change")return n}var Rc=!1;if(m){var ws;if(m){var ks="oninput"in document;if(!ks){var Dc=document.createElement("div");Dc.setAttribute("oninput","return;"),ks=typeof Dc.oninput=="function"}ws=ks}else ws=!1;Rc=ws&&(!document.documentMode||9<document.documentMode)}function Fc(){vi&&(vi.detachEvent("onpropertychange",$c),wi=vi=null)}function $c(e){if(e.propertyName==="value"&&Vl(wi)){var n=[];Mc(n,wi,e,es(e)),oc(zg,n)}}function Tg(e,n,l){e==="focusin"?(Fc(),vi=n,wi=l,vi.attachEvent("onpropertychange",$c)):e==="focusout"&&Fc()}function Ag(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Vl(wi)}function Lg(e,n){if(e==="click")return Vl(n)}function Mg(e,n){if(e==="input"||e==="change")return Vl(n)}function Rg(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Ht=typeof Object.is=="function"?Object.is:Rg;function ki(e,n){if(Ht(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var l=Object.keys(e),s=Object.keys(n);if(l.length!==s.length)return!1;for(s=0;s<l.length;s++){var c=l[s];if(!g.call(n,c)||!Ht(e[c],n[c]))return!1}return!0}function Bc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Uc(e,n){var l=Bc(e);e=0;for(var s;l;){if(l.nodeType===3){if(s=e+l.textContent.length,e<=n&&s>=n)return{node:l,offset:n-e};e=s}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Bc(l)}}function Vc(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Vc(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Hc(){for(var e=window,n=Yt();n instanceof e.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)e=n.contentWindow;else break;n=Yt(e.document)}return n}function bs(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Dg(e){var n=Hc(),l=e.focusedElem,s=e.selectionRange;if(n!==l&&l&&l.ownerDocument&&Vc(l.ownerDocument.documentElement,l)){if(s!==null&&bs(l)){if(n=s.start,e=s.end,e===void 0&&(e=n),"selectionStart"in l)l.selectionStart=n,l.selectionEnd=Math.min(e,l.value.length);else if(e=(n=l.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var c=l.textContent.length,p=Math.min(s.start,c);s=s.end===void 0?p:Math.min(s.end,c),!e.extend&&p>s&&(c=s,s=p,p=c),c=Uc(l,p);var x=Uc(l,s);c&&x&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==x.node||e.focusOffset!==x.offset)&&(n=n.createRange(),n.setStart(c.node,c.offset),e.removeAllRanges(),p>s?(e.addRange(n),e.extend(x.node,x.offset)):(n.setEnd(x.node,x.offset),e.addRange(n)))}}for(n=[],e=l;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<n.length;l++)e=n[l],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Fg=m&&"documentMode"in document&&11>=document.documentMode,Cr=null,Ss=null,bi=null,js=!1;function Wc(e,n,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;js||Cr==null||Cr!==Yt(s)||(s=Cr,"selectionStart"in s&&bs(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),bi&&ki(bi,s)||(bi=s,s=Gl(Ss,"onSelect"),0<s.length&&(n=new ms("onSelect","select",null,n,l),e.push({event:n,listeners:s}),n.target=Cr)))}function Hl(e,n){var l={};return l[e.toLowerCase()]=n.toLowerCase(),l["Webkit"+e]="webkit"+n,l["Moz"+e]="moz"+n,l}var Pr={animationend:Hl("Animation","AnimationEnd"),animationiteration:Hl("Animation","AnimationIteration"),animationstart:Hl("Animation","AnimationStart"),transitionend:Hl("Transition","TransitionEnd")},Cs={},Kc={};m&&(Kc=document.createElement("div").style,"AnimationEvent"in window||(delete Pr.animationend.animation,delete Pr.animationiteration.animation,delete Pr.animationstart.animation),"TransitionEvent"in window||delete Pr.transitionend.transition);function Wl(e){if(Cs[e])return Cs[e];if(!Pr[e])return e;var n=Pr[e],l;for(l in n)if(n.hasOwnProperty(l)&&l in Kc)return Cs[e]=n[l];return e}var Gc=Wl("animationend"),Qc=Wl("animationiteration"),qc=Wl("animationstart"),Yc=Wl("transitionend"),Xc=new Map,Zc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function En(e,n){Xc.set(e,n),u(n,[e])}for(var Ps=0;Ps<Zc.length;Ps++){var Ns=Zc[Ps],$g=Ns.toLowerCase(),Bg=Ns[0].toUpperCase()+Ns.slice(1);En($g,"on"+Bg)}En(Gc,"onAnimationEnd"),En(Qc,"onAnimationIteration"),En(qc,"onAnimationStart"),En("dblclick","onDoubleClick"),En("focusin","onFocus"),En("focusout","onBlur"),En(Yc,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Si="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ug=new Set("cancel close invalid load scroll toggle".split(" ").concat(Si));function Jc(e,n,l){var s=e.type||"unknown-event";e.currentTarget=l,$h(s,n,void 0,e),e.currentTarget=null}function ef(e,n){n=(n&4)!==0;for(var l=0;l<e.length;l++){var s=e[l],c=s.event;s=s.listeners;e:{var p=void 0;if(n)for(var x=s.length-1;0<=x;x--){var j=s[x],C=j.instance,I=j.currentTarget;if(j=j.listener,C!==p&&c.isPropagationStopped())break e;Jc(c,j,I),p=C}else for(x=0;x<s.length;x++){if(j=s[x],C=j.instance,I=j.currentTarget,j=j.listener,C!==p&&c.isPropagationStopped())break e;Jc(c,j,I),p=C}}}if(Ol)throw e=is,Ol=!1,is=null,e}function Be(e,n){var l=n[Ls];l===void 0&&(l=n[Ls]=new Set);var s=e+"__bubble";l.has(s)||(tf(n,e,2,!1),l.add(s))}function Es(e,n,l){var s=0;n&&(s|=4),tf(l,e,s,n)}var Kl="_reactListening"+Math.random().toString(36).slice(2);function ji(e){if(!e[Kl]){e[Kl]=!0,o.forEach(function(l){l!=="selectionchange"&&(Ug.has(l)||Es(l,!1,e),Es(l,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Kl]||(n[Kl]=!0,Es("selectionchange",!1,n))}}function tf(e,n,l,s){switch(jc(n)){case 1:var c=ng;break;case 4:c=rg;break;default:c=fs}l=c.bind(null,n,l,e),c=void 0,!rs||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),s?c!==void 0?e.addEventListener(n,l,{capture:!0,passive:c}):e.addEventListener(n,l,!0):c!==void 0?e.addEventListener(n,l,{passive:c}):e.addEventListener(n,l,!1)}function Os(e,n,l,s,c){var p=s;if((n&1)===0&&(n&2)===0&&s!==null)e:for(;;){if(s===null)return;var x=s.tag;if(x===3||x===4){var j=s.stateNode.containerInfo;if(j===c||j.nodeType===8&&j.parentNode===c)break;if(x===4)for(x=s.return;x!==null;){var C=x.tag;if((C===3||C===4)&&(C=x.stateNode.containerInfo,C===c||C.nodeType===8&&C.parentNode===c))return;x=x.return}for(;j!==null;){if(x=Xn(j),x===null)return;if(C=x.tag,C===5||C===6){s=p=x;continue e}j=j.parentNode}}s=s.return}oc(function(){var I=p,K=es(l),Q=[];e:{var W=Xc.get(e);if(W!==void 0){var se=ms,ce=e;switch(e){case"keypress":if($l(l)===0)break e;case"keydown":case"keyup":se=xg;break;case"focusin":ce="focus",se=ys;break;case"focusout":ce="blur",se=ys;break;case"beforeblur":case"afterblur":se=ys;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":se=Nc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=og;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=kg;break;case Gc:case Qc:case qc:se=ug;break;case Yc:se=Sg;break;case"scroll":se=ig;break;case"wheel":se=Cg;break;case"copy":case"cut":case"paste":se=fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=Oc}var pe=(n&4)!==0,qe=!pe&&e==="scroll",E=pe?W!==null?W+"Capture":null:W;pe=[];for(var N=I,_;N!==null;){_=N;var J=_.stateNode;if(_.tag===5&&J!==null&&(_=J,E!==null&&(J=oi(N,E),J!=null&&pe.push(Ci(N,J,_)))),qe)break;N=N.return}0<pe.length&&(W=new se(W,ce,null,l,K),Q.push({event:W,listeners:pe}))}}if((n&7)===0){e:{if(W=e==="mouseover"||e==="pointerover",se=e==="mouseout"||e==="pointerout",W&&l!==Pt&&(ce=l.relatedTarget||l.fromElement)&&(Xn(ce)||ce[cn]))break e;if((se||W)&&(W=K.window===K?K:(W=K.ownerDocument)?W.defaultView||W.parentWindow:window,se?(ce=l.relatedTarget||l.toElement,se=I,ce=ce?Xn(ce):null,ce!==null&&(qe=Yn(ce),ce!==qe||ce.tag!==5&&ce.tag!==6)&&(ce=null)):(se=null,ce=I),se!==ce)){if(pe=Nc,J="onMouseLeave",E="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(pe=Oc,J="onPointerLeave",E="onPointerEnter",N="pointer"),qe=se==null?W:Or(se),_=ce==null?W:Or(ce),W=new pe(J,N+"leave",se,l,K),W.target=qe,W.relatedTarget=_,J=null,Xn(K)===I&&(pe=new pe(E,N+"enter",ce,l,K),pe.target=_,pe.relatedTarget=qe,J=pe),qe=J,se&&ce)t:{for(pe=se,E=ce,N=0,_=pe;_;_=Nr(_))N++;for(_=0,J=E;J;J=Nr(J))_++;for(;0<N-_;)pe=Nr(pe),N--;for(;0<_-N;)E=Nr(E),_--;for(;N--;){if(pe===E||E!==null&&pe===E.alternate)break t;pe=Nr(pe),E=Nr(E)}pe=null}else pe=null;se!==null&&nf(Q,W,se,pe,!1),ce!==null&&qe!==null&&nf(Q,qe,ce,pe,!0)}}e:{if(W=I?Or(I):window,se=W.nodeName&&W.nodeName.toLowerCase(),se==="select"||se==="input"&&W.type==="file")var me=Ig;else if(Lc(W))if(Rc)me=Mg;else{me=Ag;var xe=Tg}else(se=W.nodeName)&&se.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(me=Lg);if(me&&(me=me(e,I))){Mc(Q,me,l,K);break e}xe&&xe(e,W,I),e==="focusout"&&(xe=W._wrapperState)&&xe.controlled&&W.type==="number"&&vr(W,"number",W.value)}switch(xe=I?Or(I):window,e){case"focusin":(Lc(xe)||xe.contentEditable==="true")&&(Cr=xe,Ss=I,bi=null);break;case"focusout":bi=Ss=Cr=null;break;case"mousedown":js=!0;break;case"contextmenu":case"mouseup":case"dragend":js=!1,Wc(Q,l,K);break;case"selectionchange":if(Fg)break;case"keydown":case"keyup":Wc(Q,l,K)}var ve;if(vs)e:{switch(e){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else jr?Tc(e,l)&&(Se="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(Se="onCompositionStart");Se&&(_c&&l.locale!=="ko"&&(jr||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&jr&&(ve=Cc()):(Nn=K,ps="value"in Nn?Nn.value:Nn.textContent,jr=!0)),xe=Gl(I,Se),0<xe.length&&(Se=new Ec(Se,e,null,l,K),Q.push({event:Se,listeners:xe}),ve?Se.data=ve:(ve=Ac(l),ve!==null&&(Se.data=ve)))),(ve=Ng?Eg(e,l):Og(e,l))&&(I=Gl(I,"onBeforeInput"),0<I.length&&(K=new Ec("onBeforeInput","beforeinput",null,l,K),Q.push({event:K,listeners:I}),K.data=ve))}ef(Q,n)})}function Ci(e,n,l){return{instance:e,listener:n,currentTarget:l}}function Gl(e,n){for(var l=n+"Capture",s=[];e!==null;){var c=e,p=c.stateNode;c.tag===5&&p!==null&&(c=p,p=oi(e,l),p!=null&&s.unshift(Ci(e,p,c)),p=oi(e,n),p!=null&&s.push(Ci(e,p,c))),e=e.return}return s}function Nr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function nf(e,n,l,s,c){for(var p=n._reactName,x=[];l!==null&&l!==s;){var j=l,C=j.alternate,I=j.stateNode;if(C!==null&&C===s)break;j.tag===5&&I!==null&&(j=I,c?(C=oi(l,p),C!=null&&x.unshift(Ci(l,C,j))):c||(C=oi(l,p),C!=null&&x.push(Ci(l,C,j)))),l=l.return}x.length!==0&&e.push({event:n,listeners:x})}var Vg=/\r\n?/g,Hg=/\u0000|\uFFFD/g;function rf(e){return(typeof e=="string"?e:""+e).replace(Vg,`
6
+ `).replace(Hg,"")}function Ql(e,n,l){if(n=rf(n),rf(e)!==n&&l)throw Error(i(425))}function ql(){}var _s=null,zs=null;function Is(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ts=typeof setTimeout=="function"?setTimeout:void 0,Wg=typeof clearTimeout=="function"?clearTimeout:void 0,lf=typeof Promise=="function"?Promise:void 0,Kg=typeof queueMicrotask=="function"?queueMicrotask:typeof lf<"u"?function(e){return lf.resolve(null).then(e).catch(Gg)}:Ts;function Gg(e){setTimeout(function(){throw e})}function As(e,n){var l=n,s=0;do{var c=l.nextSibling;if(e.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(s===0){e.removeChild(c),hi(n);return}s--}else l!=="$"&&l!=="$?"&&l!=="$!"||s++;l=c}while(l);hi(n)}function On(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function of(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"){if(n===0)return e;n--}else l==="/$"&&n++}e=e.previousSibling}return null}var Er=Math.random().toString(36).slice(2),en="__reactFiber$"+Er,Pi="__reactProps$"+Er,cn="__reactContainer$"+Er,Ls="__reactEvents$"+Er,Qg="__reactListeners$"+Er,qg="__reactHandles$"+Er;function Xn(e){var n=e[en];if(n)return n;for(var l=e.parentNode;l;){if(n=l[cn]||l[en]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(e=of(e);e!==null;){if(l=e[en])return l;e=of(e)}return n}e=l,l=e.parentNode}return null}function Ni(e){return e=e[en]||e[cn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Or(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Yl(e){return e[Pi]||null}var Ms=[],_r=-1;function _n(e){return{current:e}}function Ue(e){0>_r||(e.current=Ms[_r],Ms[_r]=null,_r--)}function Me(e,n){_r++,Ms[_r]=e.current,e.current=n}var zn={},ut=_n(zn),yt=_n(!1),Zn=zn;function zr(e,n){var l=e.type.contextTypes;if(!l)return zn;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===n)return s.__reactInternalMemoizedMaskedChildContext;var c={},p;for(p in l)c[p]=n[p];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=c),c}function xt(e){return e=e.childContextTypes,e!=null}function Xl(){Ue(yt),Ue(ut)}function sf(e,n,l){if(ut.current!==zn)throw Error(i(168));Me(ut,n),Me(yt,l)}function af(e,n,l){var s=e.stateNode;if(n=n.childContextTypes,typeof s.getChildContext!="function")return l;s=s.getChildContext();for(var c in s)if(!(c in n))throw Error(i(108,Ce(e)||"Unknown",c));return k({},l,s)}function Zl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zn,Zn=ut.current,Me(ut,e),Me(yt,yt.current),!0}function uf(e,n,l){var s=e.stateNode;if(!s)throw Error(i(169));l?(e=af(e,n,Zn),s.__reactInternalMemoizedMergedChildContext=e,Ue(yt),Ue(ut),Me(ut,e)):Ue(yt),Me(yt,l)}var fn=null,Jl=!1,Rs=!1;function cf(e){fn===null?fn=[e]:fn.push(e)}function Yg(e){Jl=!0,cf(e)}function In(){if(!Rs&&fn!==null){Rs=!0;var e=0,n=Le;try{var l=fn;for(Le=1;e<l.length;e++){var s=l[e];do s=s(!0);while(s!==null)}fn=null,Jl=!1}catch(c){throw fn!==null&&(fn=fn.slice(e+1)),fc(ls,In),c}finally{Le=n,Rs=!1}}return null}var Ir=[],Tr=0,eo=null,to=0,Mt=[],Rt=0,Jn=null,dn=1,pn="";function er(e,n){Ir[Tr++]=to,Ir[Tr++]=eo,eo=e,to=n}function ff(e,n,l){Mt[Rt++]=dn,Mt[Rt++]=pn,Mt[Rt++]=Jn,Jn=e;var s=dn;e=pn;var c=32-Vt(s)-1;s&=~(1<<c),l+=1;var p=32-Vt(n)+c;if(30<p){var x=c-c%5;p=(s&(1<<x)-1).toString(32),s>>=x,c-=x,dn=1<<32-Vt(n)+c|l<<c|s,pn=p+e}else dn=1<<p|l<<c|s,pn=e}function Ds(e){e.return!==null&&(er(e,1),ff(e,1,0))}function Fs(e){for(;e===eo;)eo=Ir[--Tr],Ir[Tr]=null,to=Ir[--Tr],Ir[Tr]=null;for(;e===Jn;)Jn=Mt[--Rt],Mt[Rt]=null,pn=Mt[--Rt],Mt[Rt]=null,dn=Mt[--Rt],Mt[Rt]=null}var Et=null,Ot=null,Ve=!1,Wt=null;function df(e,n){var l=Bt(5,null,null,0);l.elementType="DELETED",l.stateNode=n,l.return=e,n=e.deletions,n===null?(e.deletions=[l],e.flags|=16):n.push(l)}function pf(e,n){switch(e.tag){case 5:var l=e.type;return n=n.nodeType!==1||l.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Et=e,Ot=On(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Et=e,Ot=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(l=Jn!==null?{id:dn,overflow:pn}:null,e.memoizedState={dehydrated:n,treeContext:l,retryLane:1073741824},l=Bt(18,null,null,0),l.stateNode=n,l.return=e,e.child=l,Et=e,Ot=null,!0):!1;default:return!1}}function $s(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Bs(e){if(Ve){var n=Ot;if(n){var l=n;if(!pf(e,n)){if($s(e))throw Error(i(418));n=On(l.nextSibling);var s=Et;n&&pf(e,n)?df(s,l):(e.flags=e.flags&-4097|2,Ve=!1,Et=e)}}else{if($s(e))throw Error(i(418));e.flags=e.flags&-4097|2,Ve=!1,Et=e}}}function mf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Et=e}function no(e){if(e!==Et)return!1;if(!Ve)return mf(e),Ve=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Is(e.type,e.memoizedProps)),n&&(n=Ot)){if($s(e))throw hf(),Error(i(418));for(;n;)df(e,n),n=On(n.nextSibling)}if(mf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"){if(n===0){Ot=On(e.nextSibling);break e}n--}else l!=="$"&&l!=="$!"&&l!=="$?"||n++}e=e.nextSibling}Ot=null}}else Ot=Et?On(e.stateNode.nextSibling):null;return!0}function hf(){for(var e=Ot;e;)e=On(e.nextSibling)}function Ar(){Ot=Et=null,Ve=!1}function Us(e){Wt===null?Wt=[e]:Wt.push(e)}var Xg=te.ReactCurrentBatchConfig;function Ei(e,n,l){if(e=l.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(i(309));var s=l.stateNode}if(!s)throw Error(i(147,e));var c=s,p=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===p?n.ref:(n=function(x){var j=c.refs;x===null?delete j[p]:j[p]=x},n._stringRef=p,n)}if(typeof e!="string")throw Error(i(284));if(!l._owner)throw Error(i(290,e))}return e}function ro(e,n){throw e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function gf(e){var n=e._init;return n(e._payload)}function yf(e){function n(E,N){if(e){var _=E.deletions;_===null?(E.deletions=[N],E.flags|=16):_.push(N)}}function l(E,N){if(!e)return null;for(;N!==null;)n(E,N),N=N.sibling;return null}function s(E,N){for(E=new Map;N!==null;)N.key!==null?E.set(N.key,N):E.set(N.index,N),N=N.sibling;return E}function c(E,N){return E=$n(E,N),E.index=0,E.sibling=null,E}function p(E,N,_){return E.index=_,e?(_=E.alternate,_!==null?(_=_.index,_<N?(E.flags|=2,N):_):(E.flags|=2,N)):(E.flags|=1048576,N)}function x(E){return e&&E.alternate===null&&(E.flags|=2),E}function j(E,N,_,J){return N===null||N.tag!==6?(N=Ta(_,E.mode,J),N.return=E,N):(N=c(N,_),N.return=E,N)}function C(E,N,_,J){var me=_.type;return me===re?K(E,N,_.props.children,J,_.key):N!==null&&(N.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===ae&&gf(me)===N.type)?(J=c(N,_.props),J.ref=Ei(E,N,_),J.return=E,J):(J=Eo(_.type,_.key,_.props,null,E.mode,J),J.ref=Ei(E,N,_),J.return=E,J)}function I(E,N,_,J){return N===null||N.tag!==4||N.stateNode.containerInfo!==_.containerInfo||N.stateNode.implementation!==_.implementation?(N=Aa(_,E.mode,J),N.return=E,N):(N=c(N,_.children||[]),N.return=E,N)}function K(E,N,_,J,me){return N===null||N.tag!==7?(N=ar(_,E.mode,J,me),N.return=E,N):(N=c(N,_),N.return=E,N)}function Q(E,N,_){if(typeof N=="string"&&N!==""||typeof N=="number")return N=Ta(""+N,E.mode,_),N.return=E,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case F:return _=Eo(N.type,N.key,N.props,null,E.mode,_),_.ref=Ei(E,null,N),_.return=E,_;case O:return N=Aa(N,E.mode,_),N.return=E,N;case ae:var J=N._init;return Q(E,J(N._payload),_)}if(wn(N)||Z(N))return N=ar(N,E.mode,_,null),N.return=E,N;ro(E,N)}return null}function W(E,N,_,J){var me=N!==null?N.key:null;if(typeof _=="string"&&_!==""||typeof _=="number")return me!==null?null:j(E,N,""+_,J);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case F:return _.key===me?C(E,N,_,J):null;case O:return _.key===me?I(E,N,_,J):null;case ae:return me=_._init,W(E,N,me(_._payload),J)}if(wn(_)||Z(_))return me!==null?null:K(E,N,_,J,null);ro(E,_)}return null}function se(E,N,_,J,me){if(typeof J=="string"&&J!==""||typeof J=="number")return E=E.get(_)||null,j(N,E,""+J,me);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case F:return E=E.get(J.key===null?_:J.key)||null,C(N,E,J,me);case O:return E=E.get(J.key===null?_:J.key)||null,I(N,E,J,me);case ae:var xe=J._init;return se(E,N,_,xe(J._payload),me)}if(wn(J)||Z(J))return E=E.get(_)||null,K(N,E,J,me,null);ro(N,J)}return null}function ce(E,N,_,J){for(var me=null,xe=null,ve=N,Se=N=0,it=null;ve!==null&&Se<_.length;Se++){ve.index>Se?(it=ve,ve=null):it=ve.sibling;var Te=W(E,ve,_[Se],J);if(Te===null){ve===null&&(ve=it);break}e&&ve&&Te.alternate===null&&n(E,ve),N=p(Te,N,Se),xe===null?me=Te:xe.sibling=Te,xe=Te,ve=it}if(Se===_.length)return l(E,ve),Ve&&er(E,Se),me;if(ve===null){for(;Se<_.length;Se++)ve=Q(E,_[Se],J),ve!==null&&(N=p(ve,N,Se),xe===null?me=ve:xe.sibling=ve,xe=ve);return Ve&&er(E,Se),me}for(ve=s(E,ve);Se<_.length;Se++)it=se(ve,E,Se,_[Se],J),it!==null&&(e&&it.alternate!==null&&ve.delete(it.key===null?Se:it.key),N=p(it,N,Se),xe===null?me=it:xe.sibling=it,xe=it);return e&&ve.forEach(function(Bn){return n(E,Bn)}),Ve&&er(E,Se),me}function pe(E,N,_,J){var me=Z(_);if(typeof me!="function")throw Error(i(150));if(_=me.call(_),_==null)throw Error(i(151));for(var xe=me=null,ve=N,Se=N=0,it=null,Te=_.next();ve!==null&&!Te.done;Se++,Te=_.next()){ve.index>Se?(it=ve,ve=null):it=ve.sibling;var Bn=W(E,ve,Te.value,J);if(Bn===null){ve===null&&(ve=it);break}e&&ve&&Bn.alternate===null&&n(E,ve),N=p(Bn,N,Se),xe===null?me=Bn:xe.sibling=Bn,xe=Bn,ve=it}if(Te.done)return l(E,ve),Ve&&er(E,Se),me;if(ve===null){for(;!Te.done;Se++,Te=_.next())Te=Q(E,Te.value,J),Te!==null&&(N=p(Te,N,Se),xe===null?me=Te:xe.sibling=Te,xe=Te);return Ve&&er(E,Se),me}for(ve=s(E,ve);!Te.done;Se++,Te=_.next())Te=se(ve,E,Se,Te.value,J),Te!==null&&(e&&Te.alternate!==null&&ve.delete(Te.key===null?Se:Te.key),N=p(Te,N,Se),xe===null?me=Te:xe.sibling=Te,xe=Te);return e&&ve.forEach(function(_y){return n(E,_y)}),Ve&&er(E,Se),me}function qe(E,N,_,J){if(typeof _=="object"&&_!==null&&_.type===re&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case F:e:{for(var me=_.key,xe=N;xe!==null;){if(xe.key===me){if(me=_.type,me===re){if(xe.tag===7){l(E,xe.sibling),N=c(xe,_.props.children),N.return=E,E=N;break e}}else if(xe.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===ae&&gf(me)===xe.type){l(E,xe.sibling),N=c(xe,_.props),N.ref=Ei(E,xe,_),N.return=E,E=N;break e}l(E,xe);break}else n(E,xe);xe=xe.sibling}_.type===re?(N=ar(_.props.children,E.mode,J,_.key),N.return=E,E=N):(J=Eo(_.type,_.key,_.props,null,E.mode,J),J.ref=Ei(E,N,_),J.return=E,E=J)}return x(E);case O:e:{for(xe=_.key;N!==null;){if(N.key===xe)if(N.tag===4&&N.stateNode.containerInfo===_.containerInfo&&N.stateNode.implementation===_.implementation){l(E,N.sibling),N=c(N,_.children||[]),N.return=E,E=N;break e}else{l(E,N);break}else n(E,N);N=N.sibling}N=Aa(_,E.mode,J),N.return=E,E=N}return x(E);case ae:return xe=_._init,qe(E,N,xe(_._payload),J)}if(wn(_))return ce(E,N,_,J);if(Z(_))return pe(E,N,_,J);ro(E,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,N!==null&&N.tag===6?(l(E,N.sibling),N=c(N,_),N.return=E,E=N):(l(E,N),N=Ta(_,E.mode,J),N.return=E,E=N),x(E)):l(E,N)}return qe}var Lr=yf(!0),xf=yf(!1),io=_n(null),lo=null,Mr=null,Vs=null;function Hs(){Vs=Mr=lo=null}function Ws(e){var n=io.current;Ue(io),e._currentValue=n}function Ks(e,n,l){for(;e!==null;){var s=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,s!==null&&(s.childLanes|=n)):s!==null&&(s.childLanes&n)!==n&&(s.childLanes|=n),e===l)break;e=e.return}}function Rr(e,n){lo=e,Vs=Mr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(vt=!0),e.firstContext=null)}function Dt(e){var n=e._currentValue;if(Vs!==e)if(e={context:e,memoizedValue:n,next:null},Mr===null){if(lo===null)throw Error(i(308));Mr=e,lo.dependencies={lanes:0,firstContext:e}}else Mr=Mr.next=e;return n}var tr=null;function Gs(e){tr===null?tr=[e]:tr.push(e)}function vf(e,n,l,s){var c=n.interleaved;return c===null?(l.next=l,Gs(n)):(l.next=c.next,c.next=l),n.interleaved=l,mn(e,s)}function mn(e,n){e.lanes|=n;var l=e.alternate;for(l!==null&&(l.lanes|=n),l=e,e=e.return;e!==null;)e.childLanes|=n,l=e.alternate,l!==null&&(l.childLanes|=n),l=e,e=e.return;return l.tag===3?l.stateNode:null}var Tn=!1;function Qs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wf(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function hn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function An(e,n,l){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ie&2)!==0){var c=s.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),s.pending=n,mn(e,l)}return c=s.interleaved,c===null?(n.next=n,Gs(s)):(n.next=c.next,c.next=n),s.interleaved=n,mn(e,l)}function oo(e,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194240)!==0)){var s=n.lanes;s&=e.pendingLanes,l|=s,n.lanes=l,as(e,l)}}function kf(e,n){var l=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,l===s)){var c=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var x={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};p===null?c=p=x:p=p.next=x,l=l.next}while(l!==null);p===null?c=p=n:p=p.next=n}else c=p=n;l={baseState:s.baseState,firstBaseUpdate:c,lastBaseUpdate:p,shared:s.shared,effects:s.effects},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=n:e.next=n,l.lastBaseUpdate=n}function so(e,n,l,s){var c=e.updateQueue;Tn=!1;var p=c.firstBaseUpdate,x=c.lastBaseUpdate,j=c.shared.pending;if(j!==null){c.shared.pending=null;var C=j,I=C.next;C.next=null,x===null?p=I:x.next=I,x=C;var K=e.alternate;K!==null&&(K=K.updateQueue,j=K.lastBaseUpdate,j!==x&&(j===null?K.firstBaseUpdate=I:j.next=I,K.lastBaseUpdate=C))}if(p!==null){var Q=c.baseState;x=0,K=I=C=null,j=p;do{var W=j.lane,se=j.eventTime;if((s&W)===W){K!==null&&(K=K.next={eventTime:se,lane:0,tag:j.tag,payload:j.payload,callback:j.callback,next:null});e:{var ce=e,pe=j;switch(W=n,se=l,pe.tag){case 1:if(ce=pe.payload,typeof ce=="function"){Q=ce.call(se,Q,W);break e}Q=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=pe.payload,W=typeof ce=="function"?ce.call(se,Q,W):ce,W==null)break e;Q=k({},Q,W);break e;case 2:Tn=!0}}j.callback!==null&&j.lane!==0&&(e.flags|=64,W=c.effects,W===null?c.effects=[j]:W.push(j))}else se={eventTime:se,lane:W,tag:j.tag,payload:j.payload,callback:j.callback,next:null},K===null?(I=K=se,C=Q):K=K.next=se,x|=W;if(j=j.next,j===null){if(j=c.shared.pending,j===null)break;W=j,j=W.next,W.next=null,c.lastBaseUpdate=W,c.shared.pending=null}}while(!0);if(K===null&&(C=Q),c.baseState=C,c.firstBaseUpdate=I,c.lastBaseUpdate=K,n=c.shared.interleaved,n!==null){c=n;do x|=c.lane,c=c.next;while(c!==n)}else p===null&&(c.shared.lanes=0);ir|=x,e.lanes=x,e.memoizedState=Q}}function bf(e,n,l){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var s=e[n],c=s.callback;if(c!==null){if(s.callback=null,s=l,typeof c!="function")throw Error(i(191,c));c.call(s)}}}var Oi={},tn=_n(Oi),_i=_n(Oi),zi=_n(Oi);function nr(e){if(e===Oi)throw Error(i(174));return e}function qs(e,n){switch(Me(zi,n),Me(_i,e),Me(tn,Oi),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ie(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=ie(n,e)}Ue(tn),Me(tn,n)}function Dr(){Ue(tn),Ue(_i),Ue(zi)}function Sf(e){nr(zi.current);var n=nr(tn.current),l=ie(n,e.type);n!==l&&(Me(_i,e),Me(tn,l))}function Ys(e){_i.current===e&&(Ue(tn),Ue(_i))}var We=_n(0);function ao(e){for(var n=e;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Xs=[];function Zs(){for(var e=0;e<Xs.length;e++)Xs[e]._workInProgressVersionPrimary=null;Xs.length=0}var uo=te.ReactCurrentDispatcher,Js=te.ReactCurrentBatchConfig,rr=0,Ke=null,Ze=null,nt=null,co=!1,Ii=!1,Ti=0,Zg=0;function ct(){throw Error(i(321))}function ea(e,n){if(n===null)return!1;for(var l=0;l<n.length&&l<e.length;l++)if(!Ht(e[l],n[l]))return!1;return!0}function ta(e,n,l,s,c,p){if(rr=p,Ke=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,uo.current=e===null||e.memoizedState===null?ny:ry,e=l(s,c),Ii){p=0;do{if(Ii=!1,Ti=0,25<=p)throw Error(i(301));p+=1,nt=Ze=null,n.updateQueue=null,uo.current=iy,e=l(s,c)}while(Ii)}if(uo.current=mo,n=Ze!==null&&Ze.next!==null,rr=0,nt=Ze=Ke=null,co=!1,n)throw Error(i(300));return e}function na(){var e=Ti!==0;return Ti=0,e}function nn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?Ke.memoizedState=nt=e:nt=nt.next=e,nt}function Ft(){if(Ze===null){var e=Ke.alternate;e=e!==null?e.memoizedState:null}else e=Ze.next;var n=nt===null?Ke.memoizedState:nt.next;if(n!==null)nt=n,Ze=e;else{if(e===null)throw Error(i(310));Ze=e,e={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},nt===null?Ke.memoizedState=nt=e:nt=nt.next=e}return nt}function Ai(e,n){return typeof n=="function"?n(e):n}function ra(e){var n=Ft(),l=n.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=e;var s=Ze,c=s.baseQueue,p=l.pending;if(p!==null){if(c!==null){var x=c.next;c.next=p.next,p.next=x}s.baseQueue=c=p,l.pending=null}if(c!==null){p=c.next,s=s.baseState;var j=x=null,C=null,I=p;do{var K=I.lane;if((rr&K)===K)C!==null&&(C=C.next={lane:0,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),s=I.hasEagerState?I.eagerState:e(s,I.action);else{var Q={lane:K,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null};C===null?(j=C=Q,x=s):C=C.next=Q,Ke.lanes|=K,ir|=K}I=I.next}while(I!==null&&I!==p);C===null?x=s:C.next=j,Ht(s,n.memoizedState)||(vt=!0),n.memoizedState=s,n.baseState=x,n.baseQueue=C,l.lastRenderedState=s}if(e=l.interleaved,e!==null){c=e;do p=c.lane,Ke.lanes|=p,ir|=p,c=c.next;while(c!==e)}else c===null&&(l.lanes=0);return[n.memoizedState,l.dispatch]}function ia(e){var n=Ft(),l=n.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=e;var s=l.dispatch,c=l.pending,p=n.memoizedState;if(c!==null){l.pending=null;var x=c=c.next;do p=e(p,x.action),x=x.next;while(x!==c);Ht(p,n.memoizedState)||(vt=!0),n.memoizedState=p,n.baseQueue===null&&(n.baseState=p),l.lastRenderedState=p}return[p,s]}function jf(){}function Cf(e,n){var l=Ke,s=Ft(),c=n(),p=!Ht(s.memoizedState,c);if(p&&(s.memoizedState=c,vt=!0),s=s.queue,la(Ef.bind(null,l,s,e),[e]),s.getSnapshot!==n||p||nt!==null&&nt.memoizedState.tag&1){if(l.flags|=2048,Li(9,Nf.bind(null,l,s,c,n),void 0,null),rt===null)throw Error(i(349));(rr&30)!==0||Pf(l,n,c)}return c}function Pf(e,n,l){e.flags|=16384,e={getSnapshot:n,value:l},n=Ke.updateQueue,n===null?(n={lastEffect:null,stores:null},Ke.updateQueue=n,n.stores=[e]):(l=n.stores,l===null?n.stores=[e]:l.push(e))}function Nf(e,n,l,s){n.value=l,n.getSnapshot=s,Of(n)&&_f(e)}function Ef(e,n,l){return l(function(){Of(n)&&_f(e)})}function Of(e){var n=e.getSnapshot;e=e.value;try{var l=n();return!Ht(e,l)}catch{return!0}}function _f(e){var n=mn(e,1);n!==null&&qt(n,e,1,-1)}function zf(e){var n=nn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ai,lastRenderedState:e},n.queue=e,e=e.dispatch=ty.bind(null,Ke,e),[n.memoizedState,e]}function Li(e,n,l,s){return e={tag:e,create:n,destroy:l,deps:s,next:null},n=Ke.updateQueue,n===null?(n={lastEffect:null,stores:null},Ke.updateQueue=n,n.lastEffect=e.next=e):(l=n.lastEffect,l===null?n.lastEffect=e.next=e:(s=l.next,l.next=e,e.next=s,n.lastEffect=e)),e}function If(){return Ft().memoizedState}function fo(e,n,l,s){var c=nn();Ke.flags|=e,c.memoizedState=Li(1|n,l,void 0,s===void 0?null:s)}function po(e,n,l,s){var c=Ft();s=s===void 0?null:s;var p=void 0;if(Ze!==null){var x=Ze.memoizedState;if(p=x.destroy,s!==null&&ea(s,x.deps)){c.memoizedState=Li(n,l,p,s);return}}Ke.flags|=e,c.memoizedState=Li(1|n,l,p,s)}function Tf(e,n){return fo(8390656,8,e,n)}function la(e,n){return po(2048,8,e,n)}function Af(e,n){return po(4,2,e,n)}function Lf(e,n){return po(4,4,e,n)}function Mf(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Rf(e,n,l){return l=l!=null?l.concat([e]):null,po(4,4,Mf.bind(null,n,e),l)}function oa(){}function Df(e,n){var l=Ft();n=n===void 0?null:n;var s=l.memoizedState;return s!==null&&n!==null&&ea(n,s[1])?s[0]:(l.memoizedState=[e,n],e)}function Ff(e,n){var l=Ft();n=n===void 0?null:n;var s=l.memoizedState;return s!==null&&n!==null&&ea(n,s[1])?s[0]:(e=e(),l.memoizedState=[e,n],e)}function $f(e,n,l){return(rr&21)===0?(e.baseState&&(e.baseState=!1,vt=!0),e.memoizedState=l):(Ht(l,n)||(l=hc(),Ke.lanes|=l,ir|=l,e.baseState=!0),n)}function Jg(e,n){var l=Le;Le=l!==0&&4>l?l:4,e(!0);var s=Js.transition;Js.transition={};try{e(!1),n()}finally{Le=l,Js.transition=s}}function Bf(){return Ft().memoizedState}function ey(e,n,l){var s=Dn(e);if(l={lane:s,action:l,hasEagerState:!1,eagerState:null,next:null},Uf(e))Vf(n,l);else if(l=vf(e,n,l,s),l!==null){var c=ht();qt(l,e,s,c),Hf(l,n,s)}}function ty(e,n,l){var s=Dn(e),c={lane:s,action:l,hasEagerState:!1,eagerState:null,next:null};if(Uf(e))Vf(n,c);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=n.lastRenderedReducer,p!==null))try{var x=n.lastRenderedState,j=p(x,l);if(c.hasEagerState=!0,c.eagerState=j,Ht(j,x)){var C=n.interleaved;C===null?(c.next=c,Gs(n)):(c.next=C.next,C.next=c),n.interleaved=c;return}}catch{}l=vf(e,n,c,s),l!==null&&(c=ht(),qt(l,e,s,c),Hf(l,n,s))}}function Uf(e){var n=e.alternate;return e===Ke||n!==null&&n===Ke}function Vf(e,n){Ii=co=!0;var l=e.pending;l===null?n.next=n:(n.next=l.next,l.next=n),e.pending=n}function Hf(e,n,l){if((l&4194240)!==0){var s=n.lanes;s&=e.pendingLanes,l|=s,n.lanes=l,as(e,l)}}var mo={readContext:Dt,useCallback:ct,useContext:ct,useEffect:ct,useImperativeHandle:ct,useInsertionEffect:ct,useLayoutEffect:ct,useMemo:ct,useReducer:ct,useRef:ct,useState:ct,useDebugValue:ct,useDeferredValue:ct,useTransition:ct,useMutableSource:ct,useSyncExternalStore:ct,useId:ct,unstable_isNewReconciler:!1},ny={readContext:Dt,useCallback:function(e,n){return nn().memoizedState=[e,n===void 0?null:n],e},useContext:Dt,useEffect:Tf,useImperativeHandle:function(e,n,l){return l=l!=null?l.concat([e]):null,fo(4194308,4,Mf.bind(null,n,e),l)},useLayoutEffect:function(e,n){return fo(4194308,4,e,n)},useInsertionEffect:function(e,n){return fo(4,2,e,n)},useMemo:function(e,n){var l=nn();return n=n===void 0?null:n,e=e(),l.memoizedState=[e,n],e},useReducer:function(e,n,l){var s=nn();return n=l!==void 0?l(n):n,s.memoizedState=s.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},s.queue=e,e=e.dispatch=ey.bind(null,Ke,e),[s.memoizedState,e]},useRef:function(e){var n=nn();return e={current:e},n.memoizedState=e},useState:zf,useDebugValue:oa,useDeferredValue:function(e){return nn().memoizedState=e},useTransition:function(){var e=zf(!1),n=e[0];return e=Jg.bind(null,e[1]),nn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,l){var s=Ke,c=nn();if(Ve){if(l===void 0)throw Error(i(407));l=l()}else{if(l=n(),rt===null)throw Error(i(349));(rr&30)!==0||Pf(s,n,l)}c.memoizedState=l;var p={value:l,getSnapshot:n};return c.queue=p,Tf(Ef.bind(null,s,p,e),[e]),s.flags|=2048,Li(9,Nf.bind(null,s,p,l,n),void 0,null),l},useId:function(){var e=nn(),n=rt.identifierPrefix;if(Ve){var l=pn,s=dn;l=(s&~(1<<32-Vt(s)-1)).toString(32)+l,n=":"+n+"R"+l,l=Ti++,0<l&&(n+="H"+l.toString(32)),n+=":"}else l=Zg++,n=":"+n+"r"+l.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},ry={readContext:Dt,useCallback:Df,useContext:Dt,useEffect:la,useImperativeHandle:Rf,useInsertionEffect:Af,useLayoutEffect:Lf,useMemo:Ff,useReducer:ra,useRef:If,useState:function(){return ra(Ai)},useDebugValue:oa,useDeferredValue:function(e){var n=Ft();return $f(n,Ze.memoizedState,e)},useTransition:function(){var e=ra(Ai)[0],n=Ft().memoizedState;return[e,n]},useMutableSource:jf,useSyncExternalStore:Cf,useId:Bf,unstable_isNewReconciler:!1},iy={readContext:Dt,useCallback:Df,useContext:Dt,useEffect:la,useImperativeHandle:Rf,useInsertionEffect:Af,useLayoutEffect:Lf,useMemo:Ff,useReducer:ia,useRef:If,useState:function(){return ia(Ai)},useDebugValue:oa,useDeferredValue:function(e){var n=Ft();return Ze===null?n.memoizedState=e:$f(n,Ze.memoizedState,e)},useTransition:function(){var e=ia(Ai)[0],n=Ft().memoizedState;return[e,n]},useMutableSource:jf,useSyncExternalStore:Cf,useId:Bf,unstable_isNewReconciler:!1};function Kt(e,n){if(e&&e.defaultProps){n=k({},n),e=e.defaultProps;for(var l in e)n[l]===void 0&&(n[l]=e[l]);return n}return n}function sa(e,n,l,s){n=e.memoizedState,l=l(s,n),l=l==null?n:k({},n,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var ho={isMounted:function(e){return(e=e._reactInternals)?Yn(e)===e:!1},enqueueSetState:function(e,n,l){e=e._reactInternals;var s=ht(),c=Dn(e),p=hn(s,c);p.payload=n,l!=null&&(p.callback=l),n=An(e,p,c),n!==null&&(qt(n,e,c,s),oo(n,e,c))},enqueueReplaceState:function(e,n,l){e=e._reactInternals;var s=ht(),c=Dn(e),p=hn(s,c);p.tag=1,p.payload=n,l!=null&&(p.callback=l),n=An(e,p,c),n!==null&&(qt(n,e,c,s),oo(n,e,c))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var l=ht(),s=Dn(e),c=hn(l,s);c.tag=2,n!=null&&(c.callback=n),n=An(e,c,s),n!==null&&(qt(n,e,s,l),oo(n,e,s))}};function Wf(e,n,l,s,c,p,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,p,x):n.prototype&&n.prototype.isPureReactComponent?!ki(l,s)||!ki(c,p):!0}function Kf(e,n,l){var s=!1,c=zn,p=n.contextType;return typeof p=="object"&&p!==null?p=Dt(p):(c=xt(n)?Zn:ut.current,s=n.contextTypes,p=(s=s!=null)?zr(e,c):zn),n=new n(l,p),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ho,e.stateNode=n,n._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=p),n}function Gf(e,n,l,s){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,s),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,s),n.state!==e&&ho.enqueueReplaceState(n,n.state,null)}function aa(e,n,l,s){var c=e.stateNode;c.props=l,c.state=e.memoizedState,c.refs={},Qs(e);var p=n.contextType;typeof p=="object"&&p!==null?c.context=Dt(p):(p=xt(n)?Zn:ut.current,c.context=zr(e,p)),c.state=e.memoizedState,p=n.getDerivedStateFromProps,typeof p=="function"&&(sa(e,n,p,l),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(n=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),n!==c.state&&ho.enqueueReplaceState(c,c.state,null),so(e,l,c,s),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function Fr(e,n){try{var l="",s=n;do l+=Y(s),s=s.return;while(s);var c=l}catch(p){c=`
7
+ Error generating stack: `+p.message+`
8
+ `+p.stack}return{value:e,source:n,stack:c,digest:null}}function ua(e,n,l){return{value:e,source:null,stack:l??null,digest:n??null}}function ca(e,n){try{console.error(n.value)}catch(l){setTimeout(function(){throw l})}}var ly=typeof WeakMap=="function"?WeakMap:Map;function Qf(e,n,l){l=hn(-1,l),l.tag=3,l.payload={element:null};var s=n.value;return l.callback=function(){bo||(bo=!0,Ca=s),ca(e,n)},l}function qf(e,n,l){l=hn(-1,l),l.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var c=n.value;l.payload=function(){return s(c)},l.callback=function(){ca(e,n)}}var p=e.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(l.callback=function(){ca(e,n),typeof s!="function"&&(Mn===null?Mn=new Set([this]):Mn.add(this));var x=n.stack;this.componentDidCatch(n.value,{componentStack:x!==null?x:""})}),l}function Yf(e,n,l){var s=e.pingCache;if(s===null){s=e.pingCache=new ly;var c=new Set;s.set(n,c)}else c=s.get(n),c===void 0&&(c=new Set,s.set(n,c));c.has(l)||(c.add(l),e=vy.bind(null,e,n,l),n.then(e,e))}function Xf(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Zf(e,n,l,s,c){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(n=hn(-1,1),n.tag=2,An(l,n,1))),l.lanes|=1),e):(e.flags|=65536,e.lanes=c,e)}var oy=te.ReactCurrentOwner,vt=!1;function mt(e,n,l,s){n.child=e===null?xf(n,null,l,s):Lr(n,e.child,l,s)}function Jf(e,n,l,s,c){l=l.render;var p=n.ref;return Rr(n,c),s=ta(e,n,l,s,p,c),l=na(),e!==null&&!vt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,gn(e,n,c)):(Ve&&l&&Ds(n),n.flags|=1,mt(e,n,s,c),n.child)}function ed(e,n,l,s,c){if(e===null){var p=l.type;return typeof p=="function"&&!Ia(p)&&p.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(n.tag=15,n.type=p,td(e,n,p,s,c)):(e=Eo(l.type,null,s,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(p=e.child,(e.lanes&c)===0){var x=p.memoizedProps;if(l=l.compare,l=l!==null?l:ki,l(x,s)&&e.ref===n.ref)return gn(e,n,c)}return n.flags|=1,e=$n(p,s),e.ref=n.ref,e.return=n,n.child=e}function td(e,n,l,s,c){if(e!==null){var p=e.memoizedProps;if(ki(p,s)&&e.ref===n.ref)if(vt=!1,n.pendingProps=s=p,(e.lanes&c)!==0)(e.flags&131072)!==0&&(vt=!0);else return n.lanes=e.lanes,gn(e,n,c)}return fa(e,n,l,s,c)}function nd(e,n,l){var s=n.pendingProps,c=s.children,p=e!==null?e.memoizedState:null;if(s.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(Br,_t),_t|=l;else{if((l&1073741824)===0)return e=p!==null?p.baseLanes|l:l,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Me(Br,_t),_t|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=p!==null?p.baseLanes:l,Me(Br,_t),_t|=s}else p!==null?(s=p.baseLanes|l,n.memoizedState=null):s=l,Me(Br,_t),_t|=s;return mt(e,n,c,l),n.child}function rd(e,n){var l=n.ref;(e===null&&l!==null||e!==null&&e.ref!==l)&&(n.flags|=512,n.flags|=2097152)}function fa(e,n,l,s,c){var p=xt(l)?Zn:ut.current;return p=zr(n,p),Rr(n,c),l=ta(e,n,l,s,p,c),s=na(),e!==null&&!vt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,gn(e,n,c)):(Ve&&s&&Ds(n),n.flags|=1,mt(e,n,l,c),n.child)}function id(e,n,l,s,c){if(xt(l)){var p=!0;Zl(n)}else p=!1;if(Rr(n,c),n.stateNode===null)yo(e,n),Kf(n,l,s),aa(n,l,s,c),s=!0;else if(e===null){var x=n.stateNode,j=n.memoizedProps;x.props=j;var C=x.context,I=l.contextType;typeof I=="object"&&I!==null?I=Dt(I):(I=xt(l)?Zn:ut.current,I=zr(n,I));var K=l.getDerivedStateFromProps,Q=typeof K=="function"||typeof x.getSnapshotBeforeUpdate=="function";Q||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(j!==s||C!==I)&&Gf(n,x,s,I),Tn=!1;var W=n.memoizedState;x.state=W,so(n,s,x,c),C=n.memoizedState,j!==s||W!==C||yt.current||Tn?(typeof K=="function"&&(sa(n,l,K,s),C=n.memoizedState),(j=Tn||Wf(n,l,j,s,W,C,I))?(Q||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(n.flags|=4194308)):(typeof x.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=s,n.memoizedState=C),x.props=s,x.state=C,x.context=I,s=j):(typeof x.componentDidMount=="function"&&(n.flags|=4194308),s=!1)}else{x=n.stateNode,wf(e,n),j=n.memoizedProps,I=n.type===n.elementType?j:Kt(n.type,j),x.props=I,Q=n.pendingProps,W=x.context,C=l.contextType,typeof C=="object"&&C!==null?C=Dt(C):(C=xt(l)?Zn:ut.current,C=zr(n,C));var se=l.getDerivedStateFromProps;(K=typeof se=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(j!==Q||W!==C)&&Gf(n,x,s,C),Tn=!1,W=n.memoizedState,x.state=W,so(n,s,x,c);var ce=n.memoizedState;j!==Q||W!==ce||yt.current||Tn?(typeof se=="function"&&(sa(n,l,se,s),ce=n.memoizedState),(I=Tn||Wf(n,l,I,s,W,ce,C)||!1)?(K||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(s,ce,C),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(s,ce,C)),typeof x.componentDidUpdate=="function"&&(n.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof x.componentDidUpdate!="function"||j===e.memoizedProps&&W===e.memoizedState||(n.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||j===e.memoizedProps&&W===e.memoizedState||(n.flags|=1024),n.memoizedProps=s,n.memoizedState=ce),x.props=s,x.state=ce,x.context=C,s=I):(typeof x.componentDidUpdate!="function"||j===e.memoizedProps&&W===e.memoizedState||(n.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||j===e.memoizedProps&&W===e.memoizedState||(n.flags|=1024),s=!1)}return da(e,n,l,s,p,c)}function da(e,n,l,s,c,p){rd(e,n);var x=(n.flags&128)!==0;if(!s&&!x)return c&&uf(n,l,!1),gn(e,n,p);s=n.stateNode,oy.current=n;var j=x&&typeof l.getDerivedStateFromError!="function"?null:s.render();return n.flags|=1,e!==null&&x?(n.child=Lr(n,e.child,null,p),n.child=Lr(n,null,j,p)):mt(e,n,j,p),n.memoizedState=s.state,c&&uf(n,l,!0),n.child}function ld(e){var n=e.stateNode;n.pendingContext?sf(e,n.pendingContext,n.pendingContext!==n.context):n.context&&sf(e,n.context,!1),qs(e,n.containerInfo)}function od(e,n,l,s,c){return Ar(),Us(c),n.flags|=256,mt(e,n,l,s),n.child}var pa={dehydrated:null,treeContext:null,retryLane:0};function ma(e){return{baseLanes:e,cachePool:null,transitions:null}}function sd(e,n,l){var s=n.pendingProps,c=We.current,p=!1,x=(n.flags&128)!==0,j;if((j=x)||(j=e!==null&&e.memoizedState===null?!1:(c&2)!==0),j?(p=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),Me(We,c&1),e===null)return Bs(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(x=s.children,e=s.fallback,p?(s=n.mode,p=n.child,x={mode:"hidden",children:x},(s&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=x):p=Oo(x,s,0,null),e=ar(e,s,l,null),p.return=n,e.return=n,p.sibling=e,n.child=p,n.child.memoizedState=ma(l),n.memoizedState=pa,e):ha(n,x));if(c=e.memoizedState,c!==null&&(j=c.dehydrated,j!==null))return sy(e,n,x,s,j,c,l);if(p){p=s.fallback,x=n.mode,c=e.child,j=c.sibling;var C={mode:"hidden",children:s.children};return(x&1)===0&&n.child!==c?(s=n.child,s.childLanes=0,s.pendingProps=C,n.deletions=null):(s=$n(c,C),s.subtreeFlags=c.subtreeFlags&14680064),j!==null?p=$n(j,p):(p=ar(p,x,l,null),p.flags|=2),p.return=n,s.return=n,s.sibling=p,n.child=s,s=p,p=n.child,x=e.child.memoizedState,x=x===null?ma(l):{baseLanes:x.baseLanes|l,cachePool:null,transitions:x.transitions},p.memoizedState=x,p.childLanes=e.childLanes&~l,n.memoizedState=pa,s}return p=e.child,e=p.sibling,s=$n(p,{mode:"visible",children:s.children}),(n.mode&1)===0&&(s.lanes=l),s.return=n,s.sibling=null,e!==null&&(l=n.deletions,l===null?(n.deletions=[e],n.flags|=16):l.push(e)),n.child=s,n.memoizedState=null,s}function ha(e,n){return n=Oo({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function go(e,n,l,s){return s!==null&&Us(s),Lr(n,e.child,null,l),e=ha(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function sy(e,n,l,s,c,p,x){if(l)return n.flags&256?(n.flags&=-257,s=ua(Error(i(422))),go(e,n,x,s)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(p=s.fallback,c=n.mode,s=Oo({mode:"visible",children:s.children},c,0,null),p=ar(p,c,x,null),p.flags|=2,s.return=n,p.return=n,s.sibling=p,n.child=s,(n.mode&1)!==0&&Lr(n,e.child,null,x),n.child.memoizedState=ma(x),n.memoizedState=pa,p);if((n.mode&1)===0)return go(e,n,x,null);if(c.data==="$!"){if(s=c.nextSibling&&c.nextSibling.dataset,s)var j=s.dgst;return s=j,p=Error(i(419)),s=ua(p,s,void 0),go(e,n,x,s)}if(j=(x&e.childLanes)!==0,vt||j){if(s=rt,s!==null){switch(x&-x){case 4:c=2;break;case 16:c=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:c=32;break;case 536870912:c=268435456;break;default:c=0}c=(c&(s.suspendedLanes|x))!==0?0:c,c!==0&&c!==p.retryLane&&(p.retryLane=c,mn(e,c),qt(s,e,c,-1))}return za(),s=ua(Error(i(421))),go(e,n,x,s)}return c.data==="$?"?(n.flags|=128,n.child=e.child,n=wy.bind(null,e),c._reactRetry=n,null):(e=p.treeContext,Ot=On(c.nextSibling),Et=n,Ve=!0,Wt=null,e!==null&&(Mt[Rt++]=dn,Mt[Rt++]=pn,Mt[Rt++]=Jn,dn=e.id,pn=e.overflow,Jn=n),n=ha(n,s.children),n.flags|=4096,n)}function ad(e,n,l){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n),Ks(e.return,n,l)}function ga(e,n,l,s,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:s,tail:l,tailMode:c}:(p.isBackwards=n,p.rendering=null,p.renderingStartTime=0,p.last=s,p.tail=l,p.tailMode=c)}function ud(e,n,l){var s=n.pendingProps,c=s.revealOrder,p=s.tail;if(mt(e,n,s.children,l),s=We.current,(s&2)!==0)s=s&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ad(e,l,n);else if(e.tag===19)ad(e,l,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}s&=1}if(Me(We,s),(n.mode&1)===0)n.memoizedState=null;else switch(c){case"forwards":for(l=n.child,c=null;l!==null;)e=l.alternate,e!==null&&ao(e)===null&&(c=l),l=l.sibling;l=c,l===null?(c=n.child,n.child=null):(c=l.sibling,l.sibling=null),ga(n,!1,c,l,p);break;case"backwards":for(l=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&ao(e)===null){n.child=c;break}e=c.sibling,c.sibling=l,l=c,c=e}ga(n,!0,l,null,p);break;case"together":ga(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function yo(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function gn(e,n,l){if(e!==null&&(n.dependencies=e.dependencies),ir|=n.lanes,(l&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,l=$n(e,e.pendingProps),n.child=l,l.return=n;e.sibling!==null;)e=e.sibling,l=l.sibling=$n(e,e.pendingProps),l.return=n;l.sibling=null}return n.child}function ay(e,n,l){switch(n.tag){case 3:ld(n),Ar();break;case 5:Sf(n);break;case 1:xt(n.type)&&Zl(n);break;case 4:qs(n,n.stateNode.containerInfo);break;case 10:var s=n.type._context,c=n.memoizedProps.value;Me(io,s._currentValue),s._currentValue=c;break;case 13:if(s=n.memoizedState,s!==null)return s.dehydrated!==null?(Me(We,We.current&1),n.flags|=128,null):(l&n.child.childLanes)!==0?sd(e,n,l):(Me(We,We.current&1),e=gn(e,n,l),e!==null?e.sibling:null);Me(We,We.current&1);break;case 19:if(s=(l&n.childLanes)!==0,(e.flags&128)!==0){if(s)return ud(e,n,l);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Me(We,We.current),s)break;return null;case 22:case 23:return n.lanes=0,nd(e,n,l)}return gn(e,n,l)}var cd,ya,fd,dd;cd=function(e,n){for(var l=n.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},ya=function(){},fd=function(e,n,l,s){var c=e.memoizedProps;if(c!==s){e=n.stateNode,nr(tn.current);var p=null;switch(l){case"input":c=Xt(e,c),s=Xt(e,s),p=[];break;case"select":c=k({},c,{value:void 0}),s=k({},s,{value:void 0}),p=[];break;case"textarea":c=li(e,c),s=li(e,s),p=[];break;default:typeof c.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=ql)}ot(l,s);var x;l=null;for(I in c)if(!s.hasOwnProperty(I)&&c.hasOwnProperty(I)&&c[I]!=null)if(I==="style"){var j=c[I];for(x in j)j.hasOwnProperty(x)&&(l||(l={}),l[x]="")}else I!=="dangerouslySetInnerHTML"&&I!=="children"&&I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&I!=="autoFocus"&&(a.hasOwnProperty(I)?p||(p=[]):(p=p||[]).push(I,null));for(I in s){var C=s[I];if(j=c?.[I],s.hasOwnProperty(I)&&C!==j&&(C!=null||j!=null))if(I==="style")if(j){for(x in j)!j.hasOwnProperty(x)||C&&C.hasOwnProperty(x)||(l||(l={}),l[x]="");for(x in C)C.hasOwnProperty(x)&&j[x]!==C[x]&&(l||(l={}),l[x]=C[x])}else l||(p||(p=[]),p.push(I,l)),l=C;else I==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,j=j?j.__html:void 0,C!=null&&j!==C&&(p=p||[]).push(I,C)):I==="children"?typeof C!="string"&&typeof C!="number"||(p=p||[]).push(I,""+C):I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&(a.hasOwnProperty(I)?(C!=null&&I==="onScroll"&&Be("scroll",e),p||j===C||(p=[])):(p=p||[]).push(I,C))}l&&(p=p||[]).push("style",l);var I=p;(n.updateQueue=I)&&(n.flags|=4)}},dd=function(e,n,l,s){l!==s&&(n.flags|=4)};function Mi(e,n){if(!Ve)switch(e.tailMode){case"hidden":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var s=null;l!==null;)l.alternate!==null&&(s=l),l=l.sibling;s===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function ft(e){var n=e.alternate!==null&&e.alternate.child===e.child,l=0,s=0;if(n)for(var c=e.child;c!==null;)l|=c.lanes|c.childLanes,s|=c.subtreeFlags&14680064,s|=c.flags&14680064,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)l|=c.lanes|c.childLanes,s|=c.subtreeFlags,s|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=s,e.childLanes=l,n}function uy(e,n,l){var s=n.pendingProps;switch(Fs(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ft(n),null;case 1:return xt(n.type)&&Xl(),ft(n),null;case 3:return s=n.stateNode,Dr(),Ue(yt),Ue(ut),Zs(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(no(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Wt!==null&&(Ea(Wt),Wt=null))),ya(e,n),ft(n),null;case 5:Ys(n);var c=nr(zi.current);if(l=n.type,e!==null&&n.stateNode!=null)fd(e,n,l,s,c),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!s){if(n.stateNode===null)throw Error(i(166));return ft(n),null}if(e=nr(tn.current),no(n)){s=n.stateNode,l=n.type;var p=n.memoizedProps;switch(s[en]=n,s[Pi]=p,e=(n.mode&1)!==0,l){case"dialog":Be("cancel",s),Be("close",s);break;case"iframe":case"object":case"embed":Be("load",s);break;case"video":case"audio":for(c=0;c<Si.length;c++)Be(Si[c],s);break;case"source":Be("error",s);break;case"img":case"image":case"link":Be("error",s),Be("load",s);break;case"details":Be("toggle",s);break;case"input":ri(s,p),Be("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!p.multiple},Be("invalid",s);break;case"textarea":Cl(s,p),Be("invalid",s)}ot(l,p),c=null;for(var x in p)if(p.hasOwnProperty(x)){var j=p[x];x==="children"?typeof j=="string"?s.textContent!==j&&(p.suppressHydrationWarning!==!0&&Ql(s.textContent,j,e),c=["children",j]):typeof j=="number"&&s.textContent!==""+j&&(p.suppressHydrationWarning!==!0&&Ql(s.textContent,j,e),c=["children",""+j]):a.hasOwnProperty(x)&&j!=null&&x==="onScroll"&&Be("scroll",s)}switch(l){case"input":gt(s),jl(s,p,!0);break;case"textarea":gt(s),Nl(s);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(s.onclick=ql)}s=c,n.updateQueue=s,s!==null&&(n.flags|=4)}else{x=c.nodeType===9?c:c.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=V(l)),e==="http://www.w3.org/1999/xhtml"?l==="script"?(e=x.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=x.createElement(l,{is:s.is}):(e=x.createElement(l),l==="select"&&(x=e,s.multiple?x.multiple=!0:s.size&&(x.size=s.size))):e=x.createElementNS(e,l),e[en]=n,e[Pi]=s,cd(e,n,!1,!1),n.stateNode=e;e:{switch(x=Zt(l,s),l){case"dialog":Be("cancel",e),Be("close",e),c=s;break;case"iframe":case"object":case"embed":Be("load",e),c=s;break;case"video":case"audio":for(c=0;c<Si.length;c++)Be(Si[c],e);c=s;break;case"source":Be("error",e),c=s;break;case"img":case"image":case"link":Be("error",e),Be("load",e),c=s;break;case"details":Be("toggle",e),c=s;break;case"input":ri(e,s),c=Xt(e,s),Be("invalid",e);break;case"option":c=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},c=k({},s,{value:void 0}),Be("invalid",e);break;case"textarea":Cl(e,s),c=li(e,s),Be("invalid",e);break;default:c=s}ot(l,c),j=c;for(p in j)if(j.hasOwnProperty(p)){var C=j[p];p==="style"?bn(e,C):p==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,C!=null&&Ee(e,C)):p==="children"?typeof C=="string"?(l!=="textarea"||C!=="")&&ze(e,C):typeof C=="number"&&ze(e,""+C):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(a.hasOwnProperty(p)?C!=null&&p==="onScroll"&&Be("scroll",e):C!=null&&T(e,p,C,x))}switch(l){case"input":gt(e),jl(e,s,!1);break;case"textarea":gt(e),Nl(e);break;case"option":s.value!=null&&e.setAttribute("value",""+ke(s.value));break;case"select":e.multiple=!!s.multiple,p=s.value,p!=null?kn(e,!!s.multiple,p,!1):s.defaultValue!=null&&kn(e,!!s.multiple,s.defaultValue,!0);break;default:typeof c.onClick=="function"&&(e.onclick=ql)}switch(l){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return ft(n),null;case 6:if(e&&n.stateNode!=null)dd(e,n,e.memoizedProps,s);else{if(typeof s!="string"&&n.stateNode===null)throw Error(i(166));if(l=nr(zi.current),nr(tn.current),no(n)){if(s=n.stateNode,l=n.memoizedProps,s[en]=n,(p=s.nodeValue!==l)&&(e=Et,e!==null))switch(e.tag){case 3:Ql(s.nodeValue,l,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ql(s.nodeValue,l,(e.mode&1)!==0)}p&&(n.flags|=4)}else s=(l.nodeType===9?l:l.ownerDocument).createTextNode(s),s[en]=n,n.stateNode=s}return ft(n),null;case 13:if(Ue(We),s=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ve&&Ot!==null&&(n.mode&1)!==0&&(n.flags&128)===0)hf(),Ar(),n.flags|=98560,p=!1;else if(p=no(n),s!==null&&s.dehydrated!==null){if(e===null){if(!p)throw Error(i(318));if(p=n.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(i(317));p[en]=n}else Ar(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;ft(n),p=!1}else Wt!==null&&(Ea(Wt),Wt=null),p=!0;if(!p)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=l,n):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(We.current&1)!==0?Je===0&&(Je=3):za())),n.updateQueue!==null&&(n.flags|=4),ft(n),null);case 4:return Dr(),ya(e,n),e===null&&ji(n.stateNode.containerInfo),ft(n),null;case 10:return Ws(n.type._context),ft(n),null;case 17:return xt(n.type)&&Xl(),ft(n),null;case 19:if(Ue(We),p=n.memoizedState,p===null)return ft(n),null;if(s=(n.flags&128)!==0,x=p.rendering,x===null)if(s)Mi(p,!1);else{if(Je!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(x=ao(e),x!==null){for(n.flags|=128,Mi(p,!1),s=x.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),n.subtreeFlags=0,s=l,l=n.child;l!==null;)p=l,e=s,p.flags&=14680066,x=p.alternate,x===null?(p.childLanes=0,p.lanes=e,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=x.childLanes,p.lanes=x.lanes,p.child=x.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=x.memoizedProps,p.memoizedState=x.memoizedState,p.updateQueue=x.updateQueue,p.type=x.type,e=x.dependencies,p.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),l=l.sibling;return Me(We,We.current&1|2),n.child}e=e.sibling}p.tail!==null&&Qe()>Ur&&(n.flags|=128,s=!0,Mi(p,!1),n.lanes=4194304)}else{if(!s)if(e=ao(x),e!==null){if(n.flags|=128,s=!0,l=e.updateQueue,l!==null&&(n.updateQueue=l,n.flags|=4),Mi(p,!0),p.tail===null&&p.tailMode==="hidden"&&!x.alternate&&!Ve)return ft(n),null}else 2*Qe()-p.renderingStartTime>Ur&&l!==1073741824&&(n.flags|=128,s=!0,Mi(p,!1),n.lanes=4194304);p.isBackwards?(x.sibling=n.child,n.child=x):(l=p.last,l!==null?l.sibling=x:n.child=x,p.last=x)}return p.tail!==null?(n=p.tail,p.rendering=n,p.tail=n.sibling,p.renderingStartTime=Qe(),n.sibling=null,l=We.current,Me(We,s?l&1|2:l&1),n):(ft(n),null);case 22:case 23:return _a(),s=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(n.flags|=8192),s&&(n.mode&1)!==0?(_t&1073741824)!==0&&(ft(n),n.subtreeFlags&6&&(n.flags|=8192)):ft(n),null;case 24:return null;case 25:return null}throw Error(i(156,n.tag))}function cy(e,n){switch(Fs(n),n.tag){case 1:return xt(n.type)&&Xl(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Dr(),Ue(yt),Ue(ut),Zs(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return Ys(n),null;case 13:if(Ue(We),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));Ar()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Ue(We),null;case 4:return Dr(),null;case 10:return Ws(n.type._context),null;case 22:case 23:return _a(),null;case 24:return null;default:return null}}var xo=!1,dt=!1,fy=typeof WeakSet=="function"?WeakSet:Set,ue=null;function $r(e,n){var l=e.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(s){Ge(e,n,s)}else l.current=null}function xa(e,n,l){try{l()}catch(s){Ge(e,n,s)}}var pd=!1;function dy(e,n){if(_s=Rl,e=Hc(),bs(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var s=l.getSelection&&l.getSelection();if(s&&s.rangeCount!==0){l=s.anchorNode;var c=s.anchorOffset,p=s.focusNode;s=s.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var x=0,j=-1,C=-1,I=0,K=0,Q=e,W=null;t:for(;;){for(var se;Q!==l||c!==0&&Q.nodeType!==3||(j=x+c),Q!==p||s!==0&&Q.nodeType!==3||(C=x+s),Q.nodeType===3&&(x+=Q.nodeValue.length),(se=Q.firstChild)!==null;)W=Q,Q=se;for(;;){if(Q===e)break t;if(W===l&&++I===c&&(j=x),W===p&&++K===s&&(C=x),(se=Q.nextSibling)!==null)break;Q=W,W=Q.parentNode}Q=se}l=j===-1||C===-1?null:{start:j,end:C}}else l=null}l=l||{start:0,end:0}}else l=null;for(zs={focusedElem:e,selectionRange:l},Rl=!1,ue=n;ue!==null;)if(n=ue,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ue=e;else for(;ue!==null;){n=ue;try{var ce=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ce!==null){var pe=ce.memoizedProps,qe=ce.memoizedState,E=n.stateNode,N=E.getSnapshotBeforeUpdate(n.elementType===n.type?pe:Kt(n.type,pe),qe);E.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var _=n.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(J){Ge(n,n.return,J)}if(e=n.sibling,e!==null){e.return=n.return,ue=e;break}ue=n.return}return ce=pd,pd=!1,ce}function Ri(e,n,l){var s=n.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var c=s=s.next;do{if((c.tag&e)===e){var p=c.destroy;c.destroy=void 0,p!==void 0&&xa(n,l,p)}c=c.next}while(c!==s)}}function vo(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var l=n=n.next;do{if((l.tag&e)===e){var s=l.create;l.destroy=s()}l=l.next}while(l!==n)}}function va(e){var n=e.ref;if(n!==null){var l=e.stateNode;e.tag,e=l,typeof n=="function"?n(e):n.current=e}}function md(e){var n=e.alternate;n!==null&&(e.alternate=null,md(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[en],delete n[Pi],delete n[Ls],delete n[Qg],delete n[qg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hd(e){return e.tag===5||e.tag===3||e.tag===4}function gd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function wa(e,n,l){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?l.nodeType===8?l.parentNode.insertBefore(e,n):l.insertBefore(e,n):(l.nodeType===8?(n=l.parentNode,n.insertBefore(e,l)):(n=l,n.appendChild(e)),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=ql));else if(s!==4&&(e=e.child,e!==null))for(wa(e,n,l),e=e.sibling;e!==null;)wa(e,n,l),e=e.sibling}function ka(e,n,l){var s=e.tag;if(s===5||s===6)e=e.stateNode,n?l.insertBefore(e,n):l.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(ka(e,n,l),e=e.sibling;e!==null;)ka(e,n,l),e=e.sibling}var st=null,Gt=!1;function Ln(e,n,l){for(l=l.child;l!==null;)yd(e,n,l),l=l.sibling}function yd(e,n,l){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(zl,l)}catch{}switch(l.tag){case 5:dt||$r(l,n);case 6:var s=st,c=Gt;st=null,Ln(e,n,l),st=s,Gt=c,st!==null&&(Gt?(e=st,l=l.stateNode,e.nodeType===8?e.parentNode.removeChild(l):e.removeChild(l)):st.removeChild(l.stateNode));break;case 18:st!==null&&(Gt?(e=st,l=l.stateNode,e.nodeType===8?As(e.parentNode,l):e.nodeType===1&&As(e,l),hi(e)):As(st,l.stateNode));break;case 4:s=st,c=Gt,st=l.stateNode.containerInfo,Gt=!0,Ln(e,n,l),st=s,Gt=c;break;case 0:case 11:case 14:case 15:if(!dt&&(s=l.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){c=s=s.next;do{var p=c,x=p.destroy;p=p.tag,x!==void 0&&((p&2)!==0||(p&4)!==0)&&xa(l,n,x),c=c.next}while(c!==s)}Ln(e,n,l);break;case 1:if(!dt&&($r(l,n),s=l.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=l.memoizedProps,s.state=l.memoizedState,s.componentWillUnmount()}catch(j){Ge(l,n,j)}Ln(e,n,l);break;case 21:Ln(e,n,l);break;case 22:l.mode&1?(dt=(s=dt)||l.memoizedState!==null,Ln(e,n,l),dt=s):Ln(e,n,l);break;default:Ln(e,n,l)}}function xd(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var l=e.stateNode;l===null&&(l=e.stateNode=new fy),n.forEach(function(s){var c=ky.bind(null,e,s);l.has(s)||(l.add(s),s.then(c,c))})}}function Qt(e,n){var l=n.deletions;if(l!==null)for(var s=0;s<l.length;s++){var c=l[s];try{var p=e,x=n,j=x;e:for(;j!==null;){switch(j.tag){case 5:st=j.stateNode,Gt=!1;break e;case 3:st=j.stateNode.containerInfo,Gt=!0;break e;case 4:st=j.stateNode.containerInfo,Gt=!0;break e}j=j.return}if(st===null)throw Error(i(160));yd(p,x,c),st=null,Gt=!1;var C=c.alternate;C!==null&&(C.return=null),c.return=null}catch(I){Ge(c,n,I)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)vd(n,e),n=n.sibling}function vd(e,n){var l=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Qt(n,e),rn(e),s&4){try{Ri(3,e,e.return),vo(3,e)}catch(pe){Ge(e,e.return,pe)}try{Ri(5,e,e.return)}catch(pe){Ge(e,e.return,pe)}}break;case 1:Qt(n,e),rn(e),s&512&&l!==null&&$r(l,l.return);break;case 5:if(Qt(n,e),rn(e),s&512&&l!==null&&$r(l,l.return),e.flags&32){var c=e.stateNode;try{ze(c,"")}catch(pe){Ge(e,e.return,pe)}}if(s&4&&(c=e.stateNode,c!=null)){var p=e.memoizedProps,x=l!==null?l.memoizedProps:p,j=e.type,C=e.updateQueue;if(e.updateQueue=null,C!==null)try{j==="input"&&p.type==="radio"&&p.name!=null&&ii(c,p),Zt(j,x);var I=Zt(j,p);for(x=0;x<C.length;x+=2){var K=C[x],Q=C[x+1];K==="style"?bn(c,Q):K==="dangerouslySetInnerHTML"?Ee(c,Q):K==="children"?ze(c,Q):T(c,K,Q,I)}switch(j){case"input":xr(c,p);break;case"textarea":Pl(c,p);break;case"select":var W=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!p.multiple;var se=p.value;se!=null?kn(c,!!p.multiple,se,!1):W!==!!p.multiple&&(p.defaultValue!=null?kn(c,!!p.multiple,p.defaultValue,!0):kn(c,!!p.multiple,p.multiple?[]:"",!1))}c[Pi]=p}catch(pe){Ge(e,e.return,pe)}}break;case 6:if(Qt(n,e),rn(e),s&4){if(e.stateNode===null)throw Error(i(162));c=e.stateNode,p=e.memoizedProps;try{c.nodeValue=p}catch(pe){Ge(e,e.return,pe)}}break;case 3:if(Qt(n,e),rn(e),s&4&&l!==null&&l.memoizedState.isDehydrated)try{hi(n.containerInfo)}catch(pe){Ge(e,e.return,pe)}break;case 4:Qt(n,e),rn(e);break;case 13:Qt(n,e),rn(e),c=e.child,c.flags&8192&&(p=c.memoizedState!==null,c.stateNode.isHidden=p,!p||c.alternate!==null&&c.alternate.memoizedState!==null||(ja=Qe())),s&4&&xd(e);break;case 22:if(K=l!==null&&l.memoizedState!==null,e.mode&1?(dt=(I=dt)||K,Qt(n,e),dt=I):Qt(n,e),rn(e),s&8192){if(I=e.memoizedState!==null,(e.stateNode.isHidden=I)&&!K&&(e.mode&1)!==0)for(ue=e,K=e.child;K!==null;){for(Q=ue=K;ue!==null;){switch(W=ue,se=W.child,W.tag){case 0:case 11:case 14:case 15:Ri(4,W,W.return);break;case 1:$r(W,W.return);var ce=W.stateNode;if(typeof ce.componentWillUnmount=="function"){s=W,l=W.return;try{n=s,ce.props=n.memoizedProps,ce.state=n.memoizedState,ce.componentWillUnmount()}catch(pe){Ge(s,l,pe)}}break;case 5:$r(W,W.return);break;case 22:if(W.memoizedState!==null){bd(Q);continue}}se!==null?(se.return=W,ue=se):bd(Q)}K=K.sibling}e:for(K=null,Q=e;;){if(Q.tag===5){if(K===null){K=Q;try{c=Q.stateNode,I?(p=c.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(j=Q.stateNode,C=Q.memoizedProps.style,x=C!=null&&C.hasOwnProperty("display")?C.display:null,j.style.display=Lt("display",x))}catch(pe){Ge(e,e.return,pe)}}}else if(Q.tag===6){if(K===null)try{Q.stateNode.nodeValue=I?"":Q.memoizedProps}catch(pe){Ge(e,e.return,pe)}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===e)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===e)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===e)break e;K===Q&&(K=null),Q=Q.return}K===Q&&(K=null),Q.sibling.return=Q.return,Q=Q.sibling}}break;case 19:Qt(n,e),rn(e),s&4&&xd(e);break;case 21:break;default:Qt(n,e),rn(e)}}function rn(e){var n=e.flags;if(n&2){try{e:{for(var l=e.return;l!==null;){if(hd(l)){var s=l;break e}l=l.return}throw Error(i(160))}switch(s.tag){case 5:var c=s.stateNode;s.flags&32&&(ze(c,""),s.flags&=-33);var p=gd(e);ka(e,p,c);break;case 3:case 4:var x=s.stateNode.containerInfo,j=gd(e);wa(e,j,x);break;default:throw Error(i(161))}}catch(C){Ge(e,e.return,C)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function py(e,n,l){ue=e,wd(e)}function wd(e,n,l){for(var s=(e.mode&1)!==0;ue!==null;){var c=ue,p=c.child;if(c.tag===22&&s){var x=c.memoizedState!==null||xo;if(!x){var j=c.alternate,C=j!==null&&j.memoizedState!==null||dt;j=xo;var I=dt;if(xo=x,(dt=C)&&!I)for(ue=c;ue!==null;)x=ue,C=x.child,x.tag===22&&x.memoizedState!==null?Sd(c):C!==null?(C.return=x,ue=C):Sd(c);for(;p!==null;)ue=p,wd(p),p=p.sibling;ue=c,xo=j,dt=I}kd(e)}else(c.subtreeFlags&8772)!==0&&p!==null?(p.return=c,ue=p):kd(e)}}function kd(e){for(;ue!==null;){var n=ue;if((n.flags&8772)!==0){var l=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:dt||vo(5,n);break;case 1:var s=n.stateNode;if(n.flags&4&&!dt)if(l===null)s.componentDidMount();else{var c=n.elementType===n.type?l.memoizedProps:Kt(n.type,l.memoizedProps);s.componentDidUpdate(c,l.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var p=n.updateQueue;p!==null&&bf(n,p,s);break;case 3:var x=n.updateQueue;if(x!==null){if(l=null,n.child!==null)switch(n.child.tag){case 5:l=n.child.stateNode;break;case 1:l=n.child.stateNode}bf(n,x,l)}break;case 5:var j=n.stateNode;if(l===null&&n.flags&4){l=j;var C=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":C.autoFocus&&l.focus();break;case"img":C.src&&(l.src=C.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var I=n.alternate;if(I!==null){var K=I.memoizedState;if(K!==null){var Q=K.dehydrated;Q!==null&&hi(Q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}dt||n.flags&512&&va(n)}catch(W){Ge(n,n.return,W)}}if(n===e){ue=null;break}if(l=n.sibling,l!==null){l.return=n.return,ue=l;break}ue=n.return}}function bd(e){for(;ue!==null;){var n=ue;if(n===e){ue=null;break}var l=n.sibling;if(l!==null){l.return=n.return,ue=l;break}ue=n.return}}function Sd(e){for(;ue!==null;){var n=ue;try{switch(n.tag){case 0:case 11:case 15:var l=n.return;try{vo(4,n)}catch(C){Ge(n,l,C)}break;case 1:var s=n.stateNode;if(typeof s.componentDidMount=="function"){var c=n.return;try{s.componentDidMount()}catch(C){Ge(n,c,C)}}var p=n.return;try{va(n)}catch(C){Ge(n,p,C)}break;case 5:var x=n.return;try{va(n)}catch(C){Ge(n,x,C)}}}catch(C){Ge(n,n.return,C)}if(n===e){ue=null;break}var j=n.sibling;if(j!==null){j.return=n.return,ue=j;break}ue=n.return}}var my=Math.ceil,wo=te.ReactCurrentDispatcher,ba=te.ReactCurrentOwner,$t=te.ReactCurrentBatchConfig,Ie=0,rt=null,Ye=null,at=0,_t=0,Br=_n(0),Je=0,Di=null,ir=0,ko=0,Sa=0,Fi=null,wt=null,ja=0,Ur=1/0,yn=null,bo=!1,Ca=null,Mn=null,So=!1,Rn=null,jo=0,$i=0,Pa=null,Co=-1,Po=0;function ht(){return(Ie&6)!==0?Qe():Co!==-1?Co:Co=Qe()}function Dn(e){return(e.mode&1)===0?1:(Ie&2)!==0&&at!==0?at&-at:Xg.transition!==null?(Po===0&&(Po=hc()),Po):(e=Le,e!==0||(e=window.event,e=e===void 0?16:jc(e.type)),e)}function qt(e,n,l,s){if(50<$i)throw $i=0,Pa=null,Error(i(185));ci(e,l,s),((Ie&2)===0||e!==rt)&&(e===rt&&((Ie&2)===0&&(ko|=l),Je===4&&Fn(e,at)),kt(e,s),l===1&&Ie===0&&(n.mode&1)===0&&(Ur=Qe()+500,Jl&&In()))}function kt(e,n){var l=e.callbackNode;Xh(e,n);var s=Al(e,e===rt?at:0);if(s===0)l!==null&&dc(l),e.callbackNode=null,e.callbackPriority=0;else if(n=s&-s,e.callbackPriority!==n){if(l!=null&&dc(l),n===1)e.tag===0?Yg(Cd.bind(null,e)):cf(Cd.bind(null,e)),Kg(function(){(Ie&6)===0&&In()}),l=null;else{switch(gc(s)){case 1:l=ls;break;case 4:l=pc;break;case 16:l=_l;break;case 536870912:l=mc;break;default:l=_l}l=Td(l,jd.bind(null,e))}e.callbackPriority=n,e.callbackNode=l}}function jd(e,n){if(Co=-1,Po=0,(Ie&6)!==0)throw Error(i(327));var l=e.callbackNode;if(Vr()&&e.callbackNode!==l)return null;var s=Al(e,e===rt?at:0);if(s===0)return null;if((s&30)!==0||(s&e.expiredLanes)!==0||n)n=No(e,s);else{n=s;var c=Ie;Ie|=2;var p=Nd();(rt!==e||at!==n)&&(yn=null,Ur=Qe()+500,or(e,n));do try{yy();break}catch(j){Pd(e,j)}while(!0);Hs(),wo.current=p,Ie=c,Ye!==null?n=0:(rt=null,at=0,n=Je)}if(n!==0){if(n===2&&(c=os(e),c!==0&&(s=c,n=Na(e,c))),n===1)throw l=Di,or(e,0),Fn(e,s),kt(e,Qe()),l;if(n===6)Fn(e,s);else{if(c=e.current.alternate,(s&30)===0&&!hy(c)&&(n=No(e,s),n===2&&(p=os(e),p!==0&&(s=p,n=Na(e,p))),n===1))throw l=Di,or(e,0),Fn(e,s),kt(e,Qe()),l;switch(e.finishedWork=c,e.finishedLanes=s,n){case 0:case 1:throw Error(i(345));case 2:sr(e,wt,yn);break;case 3:if(Fn(e,s),(s&130023424)===s&&(n=ja+500-Qe(),10<n)){if(Al(e,0)!==0)break;if(c=e.suspendedLanes,(c&s)!==s){ht(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=Ts(sr.bind(null,e,wt,yn),n);break}sr(e,wt,yn);break;case 4:if(Fn(e,s),(s&4194240)===s)break;for(n=e.eventTimes,c=-1;0<s;){var x=31-Vt(s);p=1<<x,x=n[x],x>c&&(c=x),s&=~p}if(s=c,s=Qe()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*my(s/1960))-s,10<s){e.timeoutHandle=Ts(sr.bind(null,e,wt,yn),s);break}sr(e,wt,yn);break;case 5:sr(e,wt,yn);break;default:throw Error(i(329))}}}return kt(e,Qe()),e.callbackNode===l?jd.bind(null,e):null}function Na(e,n){var l=Fi;return e.current.memoizedState.isDehydrated&&(or(e,n).flags|=256),e=No(e,n),e!==2&&(n=wt,wt=l,n!==null&&Ea(n)),e}function Ea(e){wt===null?wt=e:wt.push.apply(wt,e)}function hy(e){for(var n=e;;){if(n.flags&16384){var l=n.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var s=0;s<l.length;s++){var c=l[s],p=c.getSnapshot;c=c.value;try{if(!Ht(p(),c))return!1}catch{return!1}}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Fn(e,n){for(n&=~Sa,n&=~ko,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var l=31-Vt(n),s=1<<l;e[l]=-1,n&=~s}}function Cd(e){if((Ie&6)!==0)throw Error(i(327));Vr();var n=Al(e,0);if((n&1)===0)return kt(e,Qe()),null;var l=No(e,n);if(e.tag!==0&&l===2){var s=os(e);s!==0&&(n=s,l=Na(e,s))}if(l===1)throw l=Di,or(e,0),Fn(e,n),kt(e,Qe()),l;if(l===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,sr(e,wt,yn),kt(e,Qe()),null}function Oa(e,n){var l=Ie;Ie|=1;try{return e(n)}finally{Ie=l,Ie===0&&(Ur=Qe()+500,Jl&&In())}}function lr(e){Rn!==null&&Rn.tag===0&&(Ie&6)===0&&Vr();var n=Ie;Ie|=1;var l=$t.transition,s=Le;try{if($t.transition=null,Le=1,e)return e()}finally{Le=s,$t.transition=l,Ie=n,(Ie&6)===0&&In()}}function _a(){_t=Br.current,Ue(Br)}function or(e,n){e.finishedWork=null,e.finishedLanes=0;var l=e.timeoutHandle;if(l!==-1&&(e.timeoutHandle=-1,Wg(l)),Ye!==null)for(l=Ye.return;l!==null;){var s=l;switch(Fs(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Xl();break;case 3:Dr(),Ue(yt),Ue(ut),Zs();break;case 5:Ys(s);break;case 4:Dr();break;case 13:Ue(We);break;case 19:Ue(We);break;case 10:Ws(s.type._context);break;case 22:case 23:_a()}l=l.return}if(rt=e,Ye=e=$n(e.current,null),at=_t=n,Je=0,Di=null,Sa=ko=ir=0,wt=Fi=null,tr!==null){for(n=0;n<tr.length;n++)if(l=tr[n],s=l.interleaved,s!==null){l.interleaved=null;var c=s.next,p=l.pending;if(p!==null){var x=p.next;p.next=c,s.next=x}l.pending=s}tr=null}return e}function Pd(e,n){do{var l=Ye;try{if(Hs(),uo.current=mo,co){for(var s=Ke.memoizedState;s!==null;){var c=s.queue;c!==null&&(c.pending=null),s=s.next}co=!1}if(rr=0,nt=Ze=Ke=null,Ii=!1,Ti=0,ba.current=null,l===null||l.return===null){Je=1,Di=n,Ye=null;break}e:{var p=e,x=l.return,j=l,C=n;if(n=at,j.flags|=32768,C!==null&&typeof C=="object"&&typeof C.then=="function"){var I=C,K=j,Q=K.tag;if((K.mode&1)===0&&(Q===0||Q===11||Q===15)){var W=K.alternate;W?(K.updateQueue=W.updateQueue,K.memoizedState=W.memoizedState,K.lanes=W.lanes):(K.updateQueue=null,K.memoizedState=null)}var se=Xf(x);if(se!==null){se.flags&=-257,Zf(se,x,j,p,n),se.mode&1&&Yf(p,I,n),n=se,C=I;var ce=n.updateQueue;if(ce===null){var pe=new Set;pe.add(C),n.updateQueue=pe}else ce.add(C);break e}else{if((n&1)===0){Yf(p,I,n),za();break e}C=Error(i(426))}}else if(Ve&&j.mode&1){var qe=Xf(x);if(qe!==null){(qe.flags&65536)===0&&(qe.flags|=256),Zf(qe,x,j,p,n),Us(Fr(C,j));break e}}p=C=Fr(C,j),Je!==4&&(Je=2),Fi===null?Fi=[p]:Fi.push(p),p=x;do{switch(p.tag){case 3:p.flags|=65536,n&=-n,p.lanes|=n;var E=Qf(p,C,n);kf(p,E);break e;case 1:j=C;var N=p.type,_=p.stateNode;if((p.flags&128)===0&&(typeof N.getDerivedStateFromError=="function"||_!==null&&typeof _.componentDidCatch=="function"&&(Mn===null||!Mn.has(_)))){p.flags|=65536,n&=-n,p.lanes|=n;var J=qf(p,j,n);kf(p,J);break e}}p=p.return}while(p!==null)}Od(l)}catch(me){n=me,Ye===l&&l!==null&&(Ye=l=l.return);continue}break}while(!0)}function Nd(){var e=wo.current;return wo.current=mo,e===null?mo:e}function za(){(Je===0||Je===3||Je===2)&&(Je=4),rt===null||(ir&268435455)===0&&(ko&268435455)===0||Fn(rt,at)}function No(e,n){var l=Ie;Ie|=2;var s=Nd();(rt!==e||at!==n)&&(yn=null,or(e,n));do try{gy();break}catch(c){Pd(e,c)}while(!0);if(Hs(),Ie=l,wo.current=s,Ye!==null)throw Error(i(261));return rt=null,at=0,Je}function gy(){for(;Ye!==null;)Ed(Ye)}function yy(){for(;Ye!==null&&!Uh();)Ed(Ye)}function Ed(e){var n=Id(e.alternate,e,_t);e.memoizedProps=e.pendingProps,n===null?Od(e):Ye=n,ba.current=null}function Od(e){var n=e;do{var l=n.alternate;if(e=n.return,(n.flags&32768)===0){if(l=uy(l,n,_t),l!==null){Ye=l;return}}else{if(l=cy(l,n),l!==null){l.flags&=32767,Ye=l;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Je=6,Ye=null;return}}if(n=n.sibling,n!==null){Ye=n;return}Ye=n=e}while(n!==null);Je===0&&(Je=5)}function sr(e,n,l){var s=Le,c=$t.transition;try{$t.transition=null,Le=1,xy(e,n,l,s)}finally{$t.transition=c,Le=s}return null}function xy(e,n,l,s){do Vr();while(Rn!==null);if((Ie&6)!==0)throw Error(i(327));l=e.finishedWork;var c=e.finishedLanes;if(l===null)return null;if(e.finishedWork=null,e.finishedLanes=0,l===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var p=l.lanes|l.childLanes;if(Zh(e,p),e===rt&&(Ye=rt=null,at=0),(l.subtreeFlags&2064)===0&&(l.flags&2064)===0||So||(So=!0,Td(_l,function(){return Vr(),null})),p=(l.flags&15990)!==0,(l.subtreeFlags&15990)!==0||p){p=$t.transition,$t.transition=null;var x=Le;Le=1;var j=Ie;Ie|=4,ba.current=null,dy(e,l),vd(l,e),Dg(zs),Rl=!!_s,zs=_s=null,e.current=l,py(l),Vh(),Ie=j,Le=x,$t.transition=p}else e.current=l;if(So&&(So=!1,Rn=e,jo=c),p=e.pendingLanes,p===0&&(Mn=null),Kh(l.stateNode),kt(e,Qe()),n!==null)for(s=e.onRecoverableError,l=0;l<n.length;l++)c=n[l],s(c.value,{componentStack:c.stack,digest:c.digest});if(bo)throw bo=!1,e=Ca,Ca=null,e;return(jo&1)!==0&&e.tag!==0&&Vr(),p=e.pendingLanes,(p&1)!==0?e===Pa?$i++:($i=0,Pa=e):$i=0,In(),null}function Vr(){if(Rn!==null){var e=gc(jo),n=$t.transition,l=Le;try{if($t.transition=null,Le=16>e?16:e,Rn===null)var s=!1;else{if(e=Rn,Rn=null,jo=0,(Ie&6)!==0)throw Error(i(331));var c=Ie;for(Ie|=4,ue=e.current;ue!==null;){var p=ue,x=p.child;if((ue.flags&16)!==0){var j=p.deletions;if(j!==null){for(var C=0;C<j.length;C++){var I=j[C];for(ue=I;ue!==null;){var K=ue;switch(K.tag){case 0:case 11:case 15:Ri(8,K,p)}var Q=K.child;if(Q!==null)Q.return=K,ue=Q;else for(;ue!==null;){K=ue;var W=K.sibling,se=K.return;if(md(K),K===I){ue=null;break}if(W!==null){W.return=se,ue=W;break}ue=se}}}var ce=p.alternate;if(ce!==null){var pe=ce.child;if(pe!==null){ce.child=null;do{var qe=pe.sibling;pe.sibling=null,pe=qe}while(pe!==null)}}ue=p}}if((p.subtreeFlags&2064)!==0&&x!==null)x.return=p,ue=x;else e:for(;ue!==null;){if(p=ue,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:Ri(9,p,p.return)}var E=p.sibling;if(E!==null){E.return=p.return,ue=E;break e}ue=p.return}}var N=e.current;for(ue=N;ue!==null;){x=ue;var _=x.child;if((x.subtreeFlags&2064)!==0&&_!==null)_.return=x,ue=_;else e:for(x=N;ue!==null;){if(j=ue,(j.flags&2048)!==0)try{switch(j.tag){case 0:case 11:case 15:vo(9,j)}}catch(me){Ge(j,j.return,me)}if(j===x){ue=null;break e}var J=j.sibling;if(J!==null){J.return=j.return,ue=J;break e}ue=j.return}}if(Ie=c,In(),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(zl,e)}catch{}s=!0}return s}finally{Le=l,$t.transition=n}}return!1}function _d(e,n,l){n=Fr(l,n),n=Qf(e,n,1),e=An(e,n,1),n=ht(),e!==null&&(ci(e,1,n),kt(e,n))}function Ge(e,n,l){if(e.tag===3)_d(e,e,l);else for(;n!==null;){if(n.tag===3){_d(n,e,l);break}else if(n.tag===1){var s=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Mn===null||!Mn.has(s))){e=Fr(l,e),e=qf(n,e,1),n=An(n,e,1),e=ht(),n!==null&&(ci(n,1,e),kt(n,e));break}}n=n.return}}function vy(e,n,l){var s=e.pingCache;s!==null&&s.delete(n),n=ht(),e.pingedLanes|=e.suspendedLanes&l,rt===e&&(at&l)===l&&(Je===4||Je===3&&(at&130023424)===at&&500>Qe()-ja?or(e,0):Sa|=l),kt(e,n)}function zd(e,n){n===0&&((e.mode&1)===0?n=1:(n=Tl,Tl<<=1,(Tl&130023424)===0&&(Tl=4194304)));var l=ht();e=mn(e,n),e!==null&&(ci(e,n,l),kt(e,l))}function wy(e){var n=e.memoizedState,l=0;n!==null&&(l=n.retryLane),zd(e,l)}function ky(e,n){var l=0;switch(e.tag){case 13:var s=e.stateNode,c=e.memoizedState;c!==null&&(l=c.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(n),zd(e,l)}var Id;Id=function(e,n,l){if(e!==null)if(e.memoizedProps!==n.pendingProps||yt.current)vt=!0;else{if((e.lanes&l)===0&&(n.flags&128)===0)return vt=!1,ay(e,n,l);vt=(e.flags&131072)!==0}else vt=!1,Ve&&(n.flags&1048576)!==0&&ff(n,to,n.index);switch(n.lanes=0,n.tag){case 2:var s=n.type;yo(e,n),e=n.pendingProps;var c=zr(n,ut.current);Rr(n,l),c=ta(null,n,s,e,c,l);var p=na();return n.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,xt(s)?(p=!0,Zl(n)):p=!1,n.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Qs(n),c.updater=ho,n.stateNode=c,c._reactInternals=n,aa(n,s,e,l),n=da(null,n,s,!0,p,l)):(n.tag=0,Ve&&p&&Ds(n),mt(null,n,c,l),n=n.child),n;case 16:s=n.elementType;e:{switch(yo(e,n),e=n.pendingProps,c=s._init,s=c(s._payload),n.type=s,c=n.tag=Sy(s),e=Kt(s,e),c){case 0:n=fa(null,n,s,e,l);break e;case 1:n=id(null,n,s,e,l);break e;case 11:n=Jf(null,n,s,e,l);break e;case 14:n=ed(null,n,s,Kt(s.type,e),l);break e}throw Error(i(306,s,""))}return n;case 0:return s=n.type,c=n.pendingProps,c=n.elementType===s?c:Kt(s,c),fa(e,n,s,c,l);case 1:return s=n.type,c=n.pendingProps,c=n.elementType===s?c:Kt(s,c),id(e,n,s,c,l);case 3:e:{if(ld(n),e===null)throw Error(i(387));s=n.pendingProps,p=n.memoizedState,c=p.element,wf(e,n),so(n,s,null,l);var x=n.memoizedState;if(s=x.element,p.isDehydrated)if(p={element:s,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},n.updateQueue.baseState=p,n.memoizedState=p,n.flags&256){c=Fr(Error(i(423)),n),n=od(e,n,s,l,c);break e}else if(s!==c){c=Fr(Error(i(424)),n),n=od(e,n,s,l,c);break e}else for(Ot=On(n.stateNode.containerInfo.firstChild),Et=n,Ve=!0,Wt=null,l=xf(n,null,s,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Ar(),s===c){n=gn(e,n,l);break e}mt(e,n,s,l)}n=n.child}return n;case 5:return Sf(n),e===null&&Bs(n),s=n.type,c=n.pendingProps,p=e!==null?e.memoizedProps:null,x=c.children,Is(s,c)?x=null:p!==null&&Is(s,p)&&(n.flags|=32),rd(e,n),mt(e,n,x,l),n.child;case 6:return e===null&&Bs(n),null;case 13:return sd(e,n,l);case 4:return qs(n,n.stateNode.containerInfo),s=n.pendingProps,e===null?n.child=Lr(n,null,s,l):mt(e,n,s,l),n.child;case 11:return s=n.type,c=n.pendingProps,c=n.elementType===s?c:Kt(s,c),Jf(e,n,s,c,l);case 7:return mt(e,n,n.pendingProps,l),n.child;case 8:return mt(e,n,n.pendingProps.children,l),n.child;case 12:return mt(e,n,n.pendingProps.children,l),n.child;case 10:e:{if(s=n.type._context,c=n.pendingProps,p=n.memoizedProps,x=c.value,Me(io,s._currentValue),s._currentValue=x,p!==null)if(Ht(p.value,x)){if(p.children===c.children&&!yt.current){n=gn(e,n,l);break e}}else for(p=n.child,p!==null&&(p.return=n);p!==null;){var j=p.dependencies;if(j!==null){x=p.child;for(var C=j.firstContext;C!==null;){if(C.context===s){if(p.tag===1){C=hn(-1,l&-l),C.tag=2;var I=p.updateQueue;if(I!==null){I=I.shared;var K=I.pending;K===null?C.next=C:(C.next=K.next,K.next=C),I.pending=C}}p.lanes|=l,C=p.alternate,C!==null&&(C.lanes|=l),Ks(p.return,l,n),j.lanes|=l;break}C=C.next}}else if(p.tag===10)x=p.type===n.type?null:p.child;else if(p.tag===18){if(x=p.return,x===null)throw Error(i(341));x.lanes|=l,j=x.alternate,j!==null&&(j.lanes|=l),Ks(x,l,n),x=p.sibling}else x=p.child;if(x!==null)x.return=p;else for(x=p;x!==null;){if(x===n){x=null;break}if(p=x.sibling,p!==null){p.return=x.return,x=p;break}x=x.return}p=x}mt(e,n,c.children,l),n=n.child}return n;case 9:return c=n.type,s=n.pendingProps.children,Rr(n,l),c=Dt(c),s=s(c),n.flags|=1,mt(e,n,s,l),n.child;case 14:return s=n.type,c=Kt(s,n.pendingProps),c=Kt(s.type,c),ed(e,n,s,c,l);case 15:return td(e,n,n.type,n.pendingProps,l);case 17:return s=n.type,c=n.pendingProps,c=n.elementType===s?c:Kt(s,c),yo(e,n),n.tag=1,xt(s)?(e=!0,Zl(n)):e=!1,Rr(n,l),Kf(n,s,c),aa(n,s,c,l),da(null,n,s,!0,e,l);case 19:return ud(e,n,l);case 22:return nd(e,n,l)}throw Error(i(156,n.tag))};function Td(e,n){return fc(e,n)}function by(e,n,l,s){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bt(e,n,l,s){return new by(e,n,l,s)}function Ia(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sy(e){if(typeof e=="function")return Ia(e)?1:0;if(e!=null){if(e=e.$$typeof,e===H)return 11;if(e===q)return 14}return 2}function $n(e,n){var l=e.alternate;return l===null?(l=Bt(e.tag,n,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=n,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&14680064,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,n=e.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l}function Eo(e,n,l,s,c,p){var x=2;if(s=e,typeof e=="function")Ia(e)&&(x=1);else if(typeof e=="string")x=5;else e:switch(e){case re:return ar(l.children,c,p,n);case B:x=8,c|=8;break;case ee:return e=Bt(12,l,n,c|2),e.elementType=ee,e.lanes=p,e;case we:return e=Bt(13,l,n,c),e.elementType=we,e.lanes=p,e;case le:return e=Bt(19,l,n,c),e.elementType=le,e.lanes=p,e;case ge:return Oo(l,c,p,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case he:x=10;break e;case ne:x=9;break e;case H:x=11;break e;case q:x=14;break e;case ae:x=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return n=Bt(x,l,n,c),n.elementType=e,n.type=s,n.lanes=p,n}function ar(e,n,l,s){return e=Bt(7,e,s,n),e.lanes=l,e}function Oo(e,n,l,s){return e=Bt(22,e,s,n),e.elementType=ge,e.lanes=l,e.stateNode={isHidden:!1},e}function Ta(e,n,l){return e=Bt(6,e,null,n),e.lanes=l,e}function Aa(e,n,l){return n=Bt(4,e.children!==null?e.children:[],e.key,n),n.lanes=l,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function jy(e,n,l,s,c){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ss(0),this.expirationTimes=ss(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ss(0),this.identifierPrefix=s,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function La(e,n,l,s,c,p,x,j,C){return e=new jy(e,n,l,j,C),n===1?(n=1,p===!0&&(n|=8)):n=0,p=Bt(3,null,null,n),e.current=p,p.stateNode=e,p.memoizedState={element:s,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qs(p),e}function Cy(e,n,l){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:s==null?null:""+s,children:e,containerInfo:n,implementation:l}}function Ad(e){if(!e)return zn;e=e._reactInternals;e:{if(Yn(e)!==e||e.tag!==1)throw Error(i(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(xt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(i(171))}if(e.tag===1){var l=e.type;if(xt(l))return af(e,l,n)}return n}function Ld(e,n,l,s,c,p,x,j,C){return e=La(l,s,!0,e,c,p,x,j,C),e.context=Ad(null),l=e.current,s=ht(),c=Dn(l),p=hn(s,c),p.callback=n??null,An(l,p,c),e.current.lanes=c,ci(e,c,s),kt(e,s),e}function _o(e,n,l,s){var c=n.current,p=ht(),x=Dn(c);return l=Ad(l),n.context===null?n.context=l:n.pendingContext=l,n=hn(p,x),n.payload={element:e},s=s===void 0?null:s,s!==null&&(n.callback=s),e=An(c,n,x),e!==null&&(qt(e,c,x,p),oo(e,c,x)),x}function zo(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Md(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<n?l:n}}function Ma(e,n){Md(e,n),(e=e.alternate)&&Md(e,n)}function Py(){return null}var Rd=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ra(e){this._internalRoot=e}Io.prototype.render=Ra.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));_o(e,n,null,null)},Io.prototype.unmount=Ra.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;lr(function(){_o(null,e,null,null)}),n[cn]=null}};function Io(e){this._internalRoot=e}Io.prototype.unstable_scheduleHydration=function(e){if(e){var n=vc();e={blockedOn:null,target:e,priority:n};for(var l=0;l<Pn.length&&n!==0&&n<Pn[l].priority;l++);Pn.splice(l,0,e),l===0&&bc(e)}};function Da(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function To(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Dd(){}function Ny(e,n,l,s,c){if(c){if(typeof s=="function"){var p=s;s=function(){var I=zo(x);p.call(I)}}var x=Ld(n,s,e,0,null,!1,!1,"",Dd);return e._reactRootContainer=x,e[cn]=x.current,ji(e.nodeType===8?e.parentNode:e),lr(),x}for(;c=e.lastChild;)e.removeChild(c);if(typeof s=="function"){var j=s;s=function(){var I=zo(C);j.call(I)}}var C=La(e,0,!1,null,null,!1,!1,"",Dd);return e._reactRootContainer=C,e[cn]=C.current,ji(e.nodeType===8?e.parentNode:e),lr(function(){_o(n,C,l,s)}),C}function Ao(e,n,l,s,c){var p=l._reactRootContainer;if(p){var x=p;if(typeof c=="function"){var j=c;c=function(){var C=zo(x);j.call(C)}}_o(n,x,e,c)}else x=Ny(l,n,e,c,s);return zo(x)}yc=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var l=ui(n.pendingLanes);l!==0&&(as(n,l|1),kt(n,Qe()),(Ie&6)===0&&(Ur=Qe()+500,In()))}break;case 13:lr(function(){var s=mn(e,1);if(s!==null){var c=ht();qt(s,e,1,c)}}),Ma(e,1)}},us=function(e){if(e.tag===13){var n=mn(e,134217728);if(n!==null){var l=ht();qt(n,e,134217728,l)}Ma(e,134217728)}},xc=function(e){if(e.tag===13){var n=Dn(e),l=mn(e,n);if(l!==null){var s=ht();qt(l,e,n,s)}Ma(e,n)}},vc=function(){return Le},wc=function(e,n){var l=Le;try{return Le=e,n()}finally{Le=l}},ts=function(e,n,l){switch(n){case"input":if(xr(e,l),n=l.name,l.type==="radio"&&n!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<l.length;n++){var s=l[n];if(s!==e&&s.form===e.form){var c=Yl(s);if(!c)throw Error(i(90));an(s),xr(s,c)}}}break;case"textarea":Pl(e,l);break;case"select":n=l.value,n!=null&&kn(e,!!l.multiple,n,!1)}},ic=Oa,lc=lr;var Ey={usingClientEntryPoint:!1,Events:[Ni,Or,Yl,nc,rc,Oa]},Bi={findFiberByHostInstance:Xn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oy={bundleType:Bi.bundleType,version:Bi.version,rendererPackageName:Bi.rendererPackageName,rendererConfig:Bi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:te.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=uc(e),e===null?null:e.stateNode},findFiberByHostInstance:Bi.findFiberByHostInstance||Py,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Lo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lo.isDisabled&&Lo.supportsFiber)try{zl=Lo.inject(Oy),Jt=Lo}catch{}}return bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ey,bt.createPortal=function(e,n){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Da(n))throw Error(i(200));return Cy(e,n,null,l)},bt.createRoot=function(e,n){if(!Da(e))throw Error(i(299));var l=!1,s="",c=Rd;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(c=n.onRecoverableError)),n=La(e,1,!1,null,null,l,!1,s,c),e[cn]=n.current,ji(e.nodeType===8?e.parentNode:e),new Ra(n)},bt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=uc(n),e=e===null?null:e.stateNode,e},bt.flushSync=function(e){return lr(e)},bt.hydrate=function(e,n,l){if(!To(n))throw Error(i(200));return Ao(null,e,n,!0,l)},bt.hydrateRoot=function(e,n,l){if(!Da(e))throw Error(i(405));var s=l!=null&&l.hydratedSources||null,c=!1,p="",x=Rd;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onRecoverableError!==void 0&&(x=l.onRecoverableError)),n=Ld(n,null,e,1,l??null,c,!1,p,x),e[cn]=n.current,ji(e),s)for(e=0;e<s.length;e++)l=s[e],c=l._getVersion,c=c(l._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[l,c]:n.mutableSourceEagerHydrationData.push(l,c);return new Io(n)},bt.render=function(e,n,l){if(!To(n))throw Error(i(200));return Ao(null,e,n,!1,l)},bt.unmountComponentAtNode=function(e){if(!To(e))throw Error(i(40));return e._reactRootContainer?(lr(function(){Ao(null,null,e,!1,function(){e._reactRootContainer=null,e[cn]=null})}),!0):!1},bt.unstable_batchedUpdates=Oa,bt.unstable_renderSubtreeIntoContainer=function(e,n,l,s){if(!To(l))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Ao(e,n,l,!1,s)},bt.version="18.3.1-next-f1338f8080-20240426",bt}var Kd;function Dy(){if(Kd)return Ba.exports;Kd=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Ba.exports=Ry(),Ba.exports}var Gd;function Fy(){if(Gd)return Mo;Gd=1;var t=Dy();return Mo.createRoot=t.createRoot,Mo.hydrateRoot=t.hydrateRoot,Mo}var $y=Fy();const hm=(...t)=>t.filter((r,i,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===i).join(" ").trim();const By=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Uy=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,i,o)=>o?o.toUpperCase():i.toLowerCase());const Qd=t=>{const r=Uy(t);return r.charAt(0).toUpperCase()+r.slice(1)};var Vy={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Hy=t=>{for(const r in t)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const Wy=A.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:a="",children:u,iconNode:f,...m},g)=>A.createElement("svg",{ref:g,...Vy,width:r,height:r,stroke:t,strokeWidth:o?Number(i)*24/Number(r):i,className:hm("lucide",a),...!u&&!Hy(m)&&{"aria-hidden":"true"},...m},[...f.map(([h,y])=>A.createElement(h,y)),...Array.isArray(u)?u:[u]]));const _e=(t,r)=>{const i=A.forwardRef(({className:o,...a},u)=>A.createElement(Wy,{ref:u,iconNode:r,className:hm(`lucide-${By(Qd(t))}`,`lucide-${t}`,o),...a}));return i.displayName=Qd(t),i};const Ky=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],gm=_e("arrow-left",Ky);const Gy=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Xi=_e("check",Gy);const Qy=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],qy=_e("chevron-right",Qy);const Yy=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Xy=_e("circle-check",Yy);const Zy=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Jy=_e("circle-x",Zy);const e1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],ym=_e("clock",e1);const t1=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],n1=_e("code",t1);const r1=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Tu=_e("copy",r1);const i1=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],l1=_e("eye-off",i1);const o1=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],s1=_e("eye",o1);const a1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Zr=_e("file-text",a1);const u1=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],c1=_e("folder-open",u1);const f1=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],d1=_e("folder-plus",f1);const p1=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],xm=_e("folder",p1);const m1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],h1=_e("globe",m1);const g1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Au=_e("image",g1);const y1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],vn=_e("loader-circle",y1);const x1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Lu=_e("message-square",x1);const v1=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],w1=_e("package",v1);const k1=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],b1=_e("paperclip",k1);const S1=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],j1=_e("play",S1);const C1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],P1=_e("plus",C1);const N1=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],E1=_e("refresh-cw",N1);const O1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],_1=_e("rotate-ccw",O1);const z1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],qd=_e("search",z1);const I1=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],T1=_e("send",I1);const A1=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],L1=_e("settings",A1);const M1=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],R1=_e("share-2",M1);const D1=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],F1=_e("shield-alert",D1);const $1=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],B1=_e("shield-check",$1);const U1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],V1=_e("square",U1);const H1=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],W1=_e("terminal",H1);const K1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],yu=_e("trash-2",K1);const G1=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Qo=_e("triangle-alert",G1);const Q1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],vm=_e("users",Q1);const q1=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Y1=_e("wifi-off",q1);const X1=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Z1=_e("wifi",X1);const J1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],wm=_e("x",J1);function km(t){var r,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(i=km(t[r]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function bm(){for(var t,r,i=0,o="",a=arguments.length;i<a;i++)(t=arguments[i])&&(r=km(t))&&(o&&(o+=" "),o+=r);return o}const e0=(t,r)=>{const i=new Array(t.length+r.length);for(let o=0;o<t.length;o++)i[o]=t[o];for(let o=0;o<r.length;o++)i[t.length+o]=r[o];return i},t0=(t,r)=>({classGroupId:t,validator:r}),Sm=(t=new Map,r=null,i)=>({nextPart:t,validators:r,classGroupId:i}),Wo="-",Yd=[],n0="arbitrary..",r0=t=>{const r=l0(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return i0(f);const m=f.split(Wo),g=m[0]===""&&m.length>1?1:0;return jm(m,g,r)},getConflictingClassGroupIds:(f,m)=>{if(m){const g=o[f],h=i[f];return g?h?e0(h,g):g:h||Yd}return i[f]||Yd}}},jm=(t,r,i)=>{if(t.length-r===0)return i.classGroupId;const a=t[r],u=i.nextPart.get(a);if(u){const h=jm(t,r+1,u);if(h)return h}const f=i.validators;if(f===null)return;const m=r===0?t.join(Wo):t.slice(r).join(Wo),g=f.length;for(let h=0;h<g;h++){const y=f[h];if(y.validator(m))return y.classGroupId}},i0=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=t.slice(1,-1),i=r.indexOf(":"),o=r.slice(0,i);return o?n0+o:void 0})(),l0=t=>{const{theme:r,classGroups:i}=t;return o0(i,r)},o0=(t,r)=>{const i=Sm();for(const o in t){const a=t[o];Mu(a,i,o,r)}return i},Mu=(t,r,i,o)=>{const a=t.length;for(let u=0;u<a;u++){const f=t[u];s0(f,r,i,o)}},s0=(t,r,i,o)=>{if(typeof t=="string"){a0(t,r,i);return}if(typeof t=="function"){u0(t,r,i,o);return}c0(t,r,i,o)},a0=(t,r,i)=>{const o=t===""?r:Cm(r,t);o.classGroupId=i},u0=(t,r,i,o)=>{if(f0(t)){Mu(t(o),r,i,o);return}r.validators===null&&(r.validators=[]),r.validators.push(t0(i,t))},c0=(t,r,i,o)=>{const a=Object.entries(t),u=a.length;for(let f=0;f<u;f++){const[m,g]=a[f];Mu(g,Cm(r,m),i,o)}},Cm=(t,r)=>{let i=t;const o=r.split(Wo),a=o.length;for(let u=0;u<a;u++){const f=o[u];let m=i.nextPart.get(f);m||(m=Sm(),i.nextPart.set(f,m)),i=m}return i},f0=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,d0=t=>{if(t<1)return{get:()=>{},set:()=>{}};let r=0,i=Object.create(null),o=Object.create(null);const a=(u,f)=>{i[u]=f,r++,r>t&&(r=0,o=i,i=Object.create(null))};return{get(u){let f=i[u];if(f!==void 0)return f;if((f=o[u])!==void 0)return a(u,f),f},set(u,f){u in i?i[u]=f:a(u,f)}}},xu="!",Xd=":",p0=[],Zd=(t,r,i,o,a)=>({modifiers:t,hasImportantModifier:r,baseClassName:i,maybePostfixModifierPosition:o,isExternal:a}),m0=t=>{const{prefix:r,experimentalParseClassName:i}=t;let o=a=>{const u=[];let f=0,m=0,g=0,h;const y=a.length;for(let R=0;R<y;R++){const z=a[R];if(f===0&&m===0){if(z===Xd){u.push(a.slice(g,R)),g=R+1;continue}if(z==="/"){h=R;continue}}z==="["?f++:z==="]"?f--:z==="("?m++:z===")"&&m--}const w=u.length===0?a:a.slice(g);let S=w,b=!1;w.endsWith(xu)?(S=w.slice(0,-1),b=!0):w.startsWith(xu)&&(S=w.slice(1),b=!0);const M=h&&h>g?h-g:void 0;return Zd(u,b,S,M)};if(r){const a=r+Xd,u=o;o=f=>f.startsWith(a)?u(f.slice(a.length)):Zd(p0,!1,f,void 0,!0)}if(i){const a=o;o=u=>i({className:u,parseClassName:a})}return o},h0=t=>{const r=new Map;return t.orderSensitiveModifiers.forEach((i,o)=>{r.set(i,1e6+o)}),i=>{const o=[];let a=[];for(let u=0;u<i.length;u++){const f=i[u],m=f[0]==="[",g=r.has(f);m||g?(a.length>0&&(a.sort(),o.push(...a),a=[]),o.push(f)):a.push(f)}return a.length>0&&(a.sort(),o.push(...a)),o}},g0=t=>({cache:d0(t.cacheSize),parseClassName:m0(t),sortModifiers:h0(t),...r0(t)}),y0=/\s+/,x0=(t,r)=>{const{parseClassName:i,getClassGroupId:o,getConflictingClassGroupIds:a,sortModifiers:u}=r,f=[],m=t.trim().split(y0);let g="";for(let h=m.length-1;h>=0;h-=1){const y=m[h],{isExternal:w,modifiers:S,hasImportantModifier:b,baseClassName:M,maybePostfixModifierPosition:R}=i(y);if(w){g=y+(g.length>0?" "+g:g);continue}let z=!!R,D=o(z?M.substring(0,R):M);if(!D){if(!z){g=y+(g.length>0?" "+g:g);continue}if(D=o(M),!D){g=y+(g.length>0?" "+g:g);continue}z=!1}const $=S.length===0?"":S.length===1?S[0]:u(S).join(":"),T=b?$+xu:$,te=T+D;if(f.indexOf(te)>-1)continue;f.push(te);const F=a(D,z);for(let O=0;O<F.length;++O){const re=F[O];f.push(T+re)}g=y+(g.length>0?" "+g:g)}return g},v0=(...t)=>{let r=0,i,o,a="";for(;r<t.length;)(i=t[r++])&&(o=Pm(i))&&(a&&(a+=" "),a+=o);return a},Pm=t=>{if(typeof t=="string")return t;let r,i="";for(let o=0;o<t.length;o++)t[o]&&(r=Pm(t[o]))&&(i&&(i+=" "),i+=r);return i},w0=(t,...r)=>{let i,o,a,u;const f=g=>{const h=r.reduce((y,w)=>w(y),t());return i=g0(h),o=i.cache.get,a=i.cache.set,u=m,m(g)},m=g=>{const h=o(g);if(h)return h;const y=x0(g,i);return a(g,y),y};return u=f,(...g)=>u(v0(...g))},k0=[],et=t=>{const r=i=>i[t]||k0;return r.isThemeGetter=!0,r},Nm=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Em=/^\((?:(\w[\w-]*):)?(.+)\)$/i,b0=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,S0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,C0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Un=t=>b0.test(t),Ne=t=>!!t&&!Number.isNaN(Number(t)),Vn=t=>!!t&&Number.isInteger(Number(t)),Ha=t=>t.endsWith("%")&&Ne(t.slice(0,-1)),xn=t=>S0.test(t),Om=()=>!0,E0=t=>j0.test(t)&&!C0.test(t),Ru=()=>!1,O0=t=>P0.test(t),_0=t=>N0.test(t),z0=t=>!fe(t)&&!de(t),I0=t=>Gn(t,Im,Ru),fe=t=>Nm.test(t),ur=t=>Gn(t,Tm,E0),Jd=t=>Gn(t,$0,Ne),T0=t=>Gn(t,Lm,Om),A0=t=>Gn(t,Am,Ru),ep=t=>Gn(t,_m,Ru),L0=t=>Gn(t,zm,_0),Ro=t=>Gn(t,Mm,O0),de=t=>Em.test(t),Vi=t=>hr(t,Tm),M0=t=>hr(t,Am),tp=t=>hr(t,_m),R0=t=>hr(t,Im),D0=t=>hr(t,zm),Do=t=>hr(t,Mm,!0),F0=t=>hr(t,Lm,!0),Gn=(t,r,i)=>{const o=Nm.exec(t);return o?o[1]?r(o[1]):i(o[2]):!1},hr=(t,r,i=!1)=>{const o=Em.exec(t);return o?o[1]?r(o[1]):i:!1},_m=t=>t==="position"||t==="percentage",zm=t=>t==="image"||t==="url",Im=t=>t==="length"||t==="size"||t==="bg-size",Tm=t=>t==="length",$0=t=>t==="number",Am=t=>t==="family-name",Lm=t=>t==="number"||t==="weight",Mm=t=>t==="shadow",B0=()=>{const t=et("color"),r=et("font"),i=et("text"),o=et("font-weight"),a=et("tracking"),u=et("leading"),f=et("breakpoint"),m=et("container"),g=et("spacing"),h=et("radius"),y=et("shadow"),w=et("inset-shadow"),S=et("text-shadow"),b=et("drop-shadow"),M=et("blur"),R=et("perspective"),z=et("aspect"),D=et("ease"),$=et("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],te=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...te(),de,fe],O=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto","contain","none"],B=()=>[de,fe,g],ee=()=>[Un,"full","auto",...B()],he=()=>[Vn,"none","subgrid",de,fe],ne=()=>["auto",{span:["full",Vn,de,fe]},Vn,de,fe],H=()=>[Vn,"auto",de,fe],we=()=>["auto","min","max","fr",de,fe],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],ae=()=>["auto",...B()],ge=()=>[Un,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],L=()=>[Un,"screen","full","dvw","lvw","svw","min","max","fit",...B()],Z=()=>[Un,"screen","full","lh","dvh","lvh","svh","min","max","fit",...B()],k=()=>[t,de,fe],P=()=>[...te(),tp,ep,{position:[de,fe]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],v=()=>["auto","cover","contain",R0,I0,{size:[de,fe]}],G=()=>[Ha,Vi,ur],Y=()=>["","none","full",h,de,fe],oe=()=>["",Ne,Vi,ur],Ce=()=>["solid","dashed","dotted","double"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>[Ne,Ha,tp,ep],He=()=>["","none",M,de,fe],gt=()=>["none",Ne,de,fe],an=()=>["none",Ne,de,fe],Yt=()=>[Ne,de,fe],Xt=()=>[Un,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[xn],breakpoint:[xn],color:[Om],container:[xn],"drop-shadow":[xn],ease:["in","out","in-out"],font:[z0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[xn],shadow:[xn],spacing:["px",Ne],text:[xn],"text-shadow":[xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Un,fe,de,z]}],container:["container"],columns:[{columns:[Ne,fe,de,m]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ee()}],"inset-x":[{"inset-x":ee()}],"inset-y":[{"inset-y":ee()}],start:[{"inset-s":ee(),start:ee()}],end:[{"inset-e":ee(),end:ee()}],"inset-bs":[{"inset-bs":ee()}],"inset-be":[{"inset-be":ee()}],top:[{top:ee()}],right:[{right:ee()}],bottom:[{bottom:ee()}],left:[{left:ee()}],visibility:["visible","invisible","collapse"],z:[{z:[Vn,"auto",de,fe]}],basis:[{basis:[Un,"full","auto",m,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,Un,"auto","initial","none",fe]}],grow:[{grow:["",Ne,de,fe]}],shrink:[{shrink:["",Ne,de,fe]}],order:[{order:[Vn,"first","last","none",de,fe]}],"grid-cols":[{"grid-cols":he()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":he()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":we()}],"auto-rows":[{"auto-rows":we()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pbs:[{pbs:B()}],pbe:[{pbe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:ae()}],mx:[{mx:ae()}],my:[{my:ae()}],ms:[{ms:ae()}],me:[{me:ae()}],mbs:[{mbs:ae()}],mbe:[{mbe:ae()}],mt:[{mt:ae()}],mr:[{mr:ae()}],mb:[{mb:ae()}],ml:[{ml:ae()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:ge()}],"inline-size":[{inline:["auto",...L()]}],"min-inline-size":[{"min-inline":["auto",...L()]}],"max-inline-size":[{"max-inline":["none",...L()]}],"block-size":[{block:["auto",...Z()]}],"min-block-size":[{"min-block":["auto",...Z()]}],"max-block-size":[{"max-block":["none",...Z()]}],w:[{w:[m,"screen",...ge()]}],"min-w":[{"min-w":[m,"screen","none",...ge()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[f]},...ge()]}],h:[{h:["screen","lh",...ge()]}],"min-h":[{"min-h":["screen","lh","none",...ge()]}],"max-h":[{"max-h":["screen","lh",...ge()]}],"font-size":[{text:["base",i,Vi,ur]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,F0,T0]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ha,fe]}],"font-family":[{font:[M0,A0,r]}],"font-features":[{"font-features":[fe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,de,fe]}],"line-clamp":[{"line-clamp":[Ne,"none",de,Jd]}],leading:[{leading:[u,...B()]}],"list-image":[{"list-image":["none",de,fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",de,ur]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[Ne,"auto",de,fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de,fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:v()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Vn,de,fe],radial:["",de,fe],conic:[Vn,de,fe]},D0,L0]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:Y()}],"rounded-s":[{"rounded-s":Y()}],"rounded-e":[{"rounded-e":Y()}],"rounded-t":[{"rounded-t":Y()}],"rounded-r":[{"rounded-r":Y()}],"rounded-b":[{"rounded-b":Y()}],"rounded-l":[{"rounded-l":Y()}],"rounded-ss":[{"rounded-ss":Y()}],"rounded-se":[{"rounded-se":Y()}],"rounded-ee":[{"rounded-ee":Y()}],"rounded-es":[{"rounded-es":Y()}],"rounded-tl":[{"rounded-tl":Y()}],"rounded-tr":[{"rounded-tr":Y()}],"rounded-br":[{"rounded-br":Y()}],"rounded-bl":[{"rounded-bl":Y()}],"border-w":[{border:oe()}],"border-w-x":[{"border-x":oe()}],"border-w-y":[{"border-y":oe()}],"border-w-s":[{"border-s":oe()}],"border-w-e":[{"border-e":oe()}],"border-w-bs":[{"border-bs":oe()}],"border-w-be":[{"border-be":oe()}],"border-w-t":[{"border-t":oe()}],"border-w-r":[{"border-r":oe()}],"border-w-b":[{"border-b":oe()}],"border-w-l":[{"border-l":oe()}],"divide-x":[{"divide-x":oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ce(),"hidden","none"]}],"divide-style":[{divide:[...Ce(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-bs":[{"border-bs":k()}],"border-color-be":[{"border-be":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...Ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,de,fe]}],"outline-w":[{outline:["",Ne,Vi,ur]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",y,Do,Ro]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",w,Do,Ro]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[Ne,ur]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":oe()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",S,Do,Ro]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[Ne,de,fe]}],"mix-blend":[{"mix-blend":[...ke(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ke()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":ye()}],"mask-image-linear-to-pos":[{"mask-linear-to":ye()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":ye()}],"mask-image-t-to-pos":[{"mask-t-to":ye()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":ye()}],"mask-image-r-to-pos":[{"mask-r-to":ye()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":ye()}],"mask-image-b-to-pos":[{"mask-b-to":ye()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":ye()}],"mask-image-l-to-pos":[{"mask-l-to":ye()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":ye()}],"mask-image-x-to-pos":[{"mask-x-to":ye()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":ye()}],"mask-image-y-to-pos":[{"mask-y-to":ye()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[de,fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ye()}],"mask-image-radial-to-pos":[{"mask-radial-to":ye()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":te()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":ye()}],"mask-image-conic-to-pos":[{"mask-conic-to":ye()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:v()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",de,fe]}],filter:[{filter:["","none",de,fe]}],blur:[{blur:He()}],brightness:[{brightness:[Ne,de,fe]}],contrast:[{contrast:[Ne,de,fe]}],"drop-shadow":[{"drop-shadow":["","none",b,Do,Ro]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",Ne,de,fe]}],"hue-rotate":[{"hue-rotate":[Ne,de,fe]}],invert:[{invert:["",Ne,de,fe]}],saturate:[{saturate:[Ne,de,fe]}],sepia:[{sepia:["",Ne,de,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",de,fe]}],"backdrop-blur":[{"backdrop-blur":He()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,de,fe]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,de,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,de,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,de,fe]}],"backdrop-invert":[{"backdrop-invert":["",Ne,de,fe]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,de,fe]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,de,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,de,fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",de,fe]}],ease:[{ease:["linear","initial",D,de,fe]}],delay:[{delay:[Ne,de,fe]}],animate:[{animate:["none",$,de,fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[R,de,fe]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:gt()}],"rotate-x":[{"rotate-x":gt()}],"rotate-y":[{"rotate-y":gt()}],"rotate-z":[{"rotate-z":gt()}],scale:[{scale:an()}],"scale-x":[{"scale-x":an()}],"scale-y":[{"scale-y":an()}],"scale-z":[{"scale-z":an()}],"scale-3d":["scale-3d"],skew:[{skew:Yt()}],"skew-x":[{"skew-x":Yt()}],"skew-y":[{"skew-y":Yt()}],transform:[{transform:[de,fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Xt()}],"translate-x":[{"translate-x":Xt()}],"translate-y":[{"translate-y":Xt()}],"translate-z":[{"translate-z":Xt()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",de,fe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mbs":[{"scroll-mbs":B()}],"scroll-mbe":[{"scroll-mbe":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pbs":[{"scroll-pbs":B()}],"scroll-pbe":[{"scroll-pbe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",de,fe]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[Ne,Vi,ur,Jd]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},U0=w0(B0);function $e(...t){return U0(bm(t))}const cr=A.forwardRef(({className:t,orientation:r="horizontal",...i},o)=>d.jsx("div",{ref:o,className:$e("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...i}));cr.displayName="Separator";const V0=[{page:"discussion",label:"Discussion",icon:Lu},{page:"history",label:"History",icon:ym},{page:"counsellors",label:"Counsellors",icon:vm},{page:"settings",label:"Settings",icon:L1}];function H0({currentPage:t,onNavigate:r}){return d.jsxs("nav",{className:"w-56 flex flex-col border-r bg-card",children:[d.jsxs("div",{className:"flex items-center gap-2.5 px-4 py-5",children:[d.jsx("img",{src:"./icon.png",alt:"State Change",className:"h-7 w-7 rounded"}),d.jsxs("div",{children:[d.jsx("h1",{className:"text-lg font-bold tracking-tight text-primary leading-tight",children:"Council"}),d.jsx("p",{className:"text-xs text-muted-foreground",children:"Discussion orchestrator"})]})]}),d.jsx(cr,{}),d.jsx("div",{className:"flex flex-col gap-1 p-2 mt-1",children:V0.map(i=>{const o=i.icon,a=t===i.page;return d.jsxs("button",{onClick:()=>r(i.page),className:$e("flex items-center gap-3 px-3 py-2 rounded-md text-sm font-medium transition-colors",a?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"),children:[d.jsx(o,{className:"h-4 w-4"}),i.label]},i.page)})})]})}function W0(t,r){const i={};return(t[t.length-1]===""?[...t,""]:t).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const K0=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,G0=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Q0={};function np(t,r){return(Q0.jsx?G0:K0).test(t)}const q0=/[ \t\n\f\r]/g;function Y0(t){return typeof t=="object"?t.type==="text"?rp(t.value):!1:rp(t)}function rp(t){return t.replace(q0,"")===""}class vl{constructor(r,i,o){this.normal=i,this.property=r,o&&(this.space=o)}}vl.prototype.normal={};vl.prototype.property={};vl.prototype.space=void 0;function Rm(t,r){const i={},o={};for(const a of t)Object.assign(i,a.property),Object.assign(o,a.normal);return new vl(i,o,r)}function vu(t){return t.toLowerCase()}class Ct{constructor(r,i){this.attribute=i,this.property=r}}Ct.prototype.attribute="";Ct.prototype.booleanish=!1;Ct.prototype.boolean=!1;Ct.prototype.commaOrSpaceSeparated=!1;Ct.prototype.commaSeparated=!1;Ct.prototype.defined=!1;Ct.prototype.mustUseProperty=!1;Ct.prototype.number=!1;Ct.prototype.overloadedBoolean=!1;Ct.prototype.property="";Ct.prototype.spaceSeparated=!1;Ct.prototype.space=void 0;let X0=0;const Pe=gr(),Xe=gr(),wu=gr(),X=gr(),Re=gr(),Qr=gr(),zt=gr();function gr(){return 2**++X0}const ku=Object.defineProperty({__proto__:null,boolean:Pe,booleanish:Xe,commaOrSpaceSeparated:zt,commaSeparated:Qr,number:X,overloadedBoolean:wu,spaceSeparated:Re},Symbol.toStringTag,{value:"Module"}),Wa=Object.keys(ku);class Du extends Ct{constructor(r,i,o,a){let u=-1;if(super(r,i),ip(this,"space",a),typeof o=="number")for(;++u<Wa.length;){const f=Wa[u];ip(this,Wa[u],(o&ku[f])===ku[f])}}}Du.prototype.defined=!0;function ip(t,r,i){i&&(t[r]=i)}function Jr(t){const r={},i={};for(const[o,a]of Object.entries(t.properties)){const u=new Du(o,t.transform(t.attributes||{},o),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(o)&&(u.mustUseProperty=!0),r[o]=u,i[vu(o)]=o,i[vu(u.attribute)]=o}return new vl(r,i,t.space)}const Dm=Jr({properties:{ariaActiveDescendant:null,ariaAtomic:Xe,ariaAutoComplete:null,ariaBusy:Xe,ariaChecked:Xe,ariaColCount:X,ariaColIndex:X,ariaColSpan:X,ariaControls:Re,ariaCurrent:null,ariaDescribedBy:Re,ariaDetails:null,ariaDisabled:Xe,ariaDropEffect:Re,ariaErrorMessage:null,ariaExpanded:Xe,ariaFlowTo:Re,ariaGrabbed:Xe,ariaHasPopup:null,ariaHidden:Xe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Re,ariaLevel:X,ariaLive:null,ariaModal:Xe,ariaMultiLine:Xe,ariaMultiSelectable:Xe,ariaOrientation:null,ariaOwns:Re,ariaPlaceholder:null,ariaPosInSet:X,ariaPressed:Xe,ariaReadOnly:Xe,ariaRelevant:null,ariaRequired:Xe,ariaRoleDescription:Re,ariaRowCount:X,ariaRowIndex:X,ariaRowSpan:X,ariaSelected:Xe,ariaSetSize:X,ariaSort:null,ariaValueMax:X,ariaValueMin:X,ariaValueNow:X,ariaValueText:null,role:null},transform(t,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function Fm(t,r){return r in t?t[r]:r}function $m(t,r){return Fm(t,r.toLowerCase())}const Z0=Jr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qr,acceptCharset:Re,accessKey:Re,action:null,allow:null,allowFullScreen:Pe,allowPaymentRequest:Pe,allowUserMedia:Pe,alt:null,as:null,async:Pe,autoCapitalize:null,autoComplete:Re,autoFocus:Pe,autoPlay:Pe,blocking:Re,capture:null,charSet:null,checked:Pe,cite:null,className:Re,cols:X,colSpan:null,content:null,contentEditable:Xe,controls:Pe,controlsList:Re,coords:X|Qr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Pe,defer:Pe,dir:null,dirName:null,disabled:Pe,download:wu,draggable:Xe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Pe,formTarget:null,headers:Re,height:X,hidden:wu,high:X,href:null,hrefLang:null,htmlFor:Re,httpEquiv:Re,id:null,imageSizes:null,imageSrcSet:null,inert:Pe,inputMode:null,integrity:null,is:null,isMap:Pe,itemId:null,itemProp:Re,itemRef:Re,itemScope:Pe,itemType:Re,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Pe,low:X,manifest:null,max:null,maxLength:X,media:null,method:null,min:null,minLength:X,multiple:Pe,muted:Pe,name:null,nonce:null,noModule:Pe,noValidate:Pe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Pe,optimum:X,pattern:null,ping:Re,placeholder:null,playsInline:Pe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Pe,referrerPolicy:null,rel:Re,required:Pe,reversed:Pe,rows:X,rowSpan:X,sandbox:Re,scope:null,scoped:Pe,seamless:Pe,selected:Pe,shadowRootClonable:Pe,shadowRootDelegatesFocus:Pe,shadowRootMode:null,shape:null,size:X,sizes:null,slot:null,span:X,spellCheck:Xe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:X,step:null,style:null,tabIndex:X,target:null,title:null,translate:null,type:null,typeMustMatch:Pe,useMap:null,value:Xe,width:X,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Re,axis:null,background:null,bgColor:null,border:X,borderColor:null,bottomMargin:X,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Pe,declare:Pe,event:null,face:null,frame:null,frameBorder:null,hSpace:X,leftMargin:X,link:null,longDesc:null,lowSrc:null,marginHeight:X,marginWidth:X,noResize:Pe,noHref:Pe,noShade:Pe,noWrap:Pe,object:null,profile:null,prompt:null,rev:null,rightMargin:X,rules:null,scheme:null,scrolling:Xe,standby:null,summary:null,text:null,topMargin:X,valueType:null,version:null,vAlign:null,vLink:null,vSpace:X,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Pe,disableRemotePlayback:Pe,prefix:null,property:null,results:X,security:null,unselectable:null},space:"html",transform:$m}),J0=Jr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:zt,accentHeight:X,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:X,amplitude:X,arabicForm:null,ascent:X,attributeName:null,attributeType:null,azimuth:X,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:X,by:null,calcMode:null,capHeight:X,className:Re,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:X,diffuseConstant:X,direction:null,display:null,dur:null,divisor:X,dominantBaseline:null,download:Pe,dx:null,dy:null,edgeMode:null,editable:null,elevation:X,enableBackground:null,end:null,event:null,exponent:X,externalResourcesRequired:null,fill:null,fillOpacity:X,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Qr,g2:Qr,glyphName:Qr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:X,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:X,horizOriginX:X,horizOriginY:X,id:null,ideographic:X,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:X,k:X,k1:X,k2:X,k3:X,k4:X,kernelMatrix:zt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:X,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:X,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:X,overlineThickness:X,paintOrder:null,panose1:null,path:null,pathLength:X,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Re,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:X,pointsAtY:X,pointsAtZ:X,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:zt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:zt,rev:zt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:zt,requiredFeatures:zt,requiredFonts:zt,requiredFormats:zt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:X,specularExponent:X,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:X,strikethroughThickness:X,string:null,stroke:null,strokeDashArray:zt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:X,strokeOpacity:X,strokeWidth:null,style:null,surfaceScale:X,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:zt,tabIndex:X,tableValues:null,target:null,targetX:X,targetY:X,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:zt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:X,underlineThickness:X,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:X,values:null,vAlphabetic:X,vMathematical:X,vectorEffect:null,vHanging:X,vIdeographic:X,version:null,vertAdvY:X,vertOriginX:X,vertOriginY:X,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:X,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Fm}),Bm=Jr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,r){return"xlink:"+r.slice(5).toLowerCase()}}),Um=Jr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$m}),Vm=Jr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,r){return"xml:"+r.slice(3).toLowerCase()}}),ex={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},tx=/[A-Z]/g,lp=/-[a-z]/g,nx=/^data[-\w.:]+$/i;function rx(t,r){const i=vu(r);let o=r,a=Ct;if(i in t.normal)return t.property[t.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&nx.test(r)){if(r.charAt(4)==="-"){const u=r.slice(5).replace(lp,lx);o="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=r.slice(4);if(!lp.test(u)){let f=u.replace(tx,ix);f.charAt(0)!=="-"&&(f="-"+f),r="data"+f}}a=Du}return new a(o,r)}function ix(t){return"-"+t.toLowerCase()}function lx(t){return t.charAt(1).toUpperCase()}const ox=Rm([Dm,Z0,Bm,Um,Vm],"html"),Fu=Rm([Dm,J0,Bm,Um,Vm],"svg");function sx(t){return t.join(" ").trim()}var Hr={},Ka,op;function ax(){if(op)return Ka;op=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,m=/^\s+|\s+$/g,g=`
9
+ `,h="/",y="*",w="",S="comment",b="declaration";function M(z,D){if(typeof z!="string")throw new TypeError("First argument must be a string");if(!z)return[];D=D||{};var $=1,T=1;function te(le){var q=le.match(r);q&&($+=q.length);var ae=le.lastIndexOf(g);T=~ae?le.length-ae:T+le.length}function F(){var le={line:$,column:T};return function(q){return q.position=new O(le),ee(),q}}function O(le){this.start=le,this.end={line:$,column:T},this.source=D.source}O.prototype.content=z;function re(le){var q=new Error(D.source+":"+$+":"+T+": "+le);if(q.reason=le,q.filename=D.source,q.line=$,q.column=T,q.source=z,!D.silent)throw q}function B(le){var q=le.exec(z);if(q){var ae=q[0];return te(ae),z=z.slice(ae.length),q}}function ee(){B(i)}function he(le){var q;for(le=le||[];q=ne();)q!==!1&&le.push(q);return le}function ne(){var le=F();if(!(h!=z.charAt(0)||y!=z.charAt(1))){for(var q=2;w!=z.charAt(q)&&(y!=z.charAt(q)||h!=z.charAt(q+1));)++q;if(q+=2,w===z.charAt(q-1))return re("End of comment missing");var ae=z.slice(2,q-2);return T+=2,te(ae),z=z.slice(q),T+=2,le({type:S,comment:ae})}}function H(){var le=F(),q=B(o);if(q){if(ne(),!B(a))return re("property missing ':'");var ae=B(u),ge=le({type:b,property:R(q[0].replace(t,w)),value:ae?R(ae[0].replace(t,w)):w});return B(f),ge}}function we(){var le=[];he(le);for(var q;q=H();)q!==!1&&(le.push(q),he(le));return le}return ee(),we()}function R(z){return z?z.replace(m,w):w}return Ka=M,Ka}var sp;function ux(){if(sp)return Hr;sp=1;var t=Hr&&Hr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.default=i;const r=t(ax());function i(o,a){let u=null;if(!o||typeof o!="string")return u;const f=(0,r.default)(o),m=typeof a=="function";return f.forEach(g=>{if(g.type!=="declaration")return;const{property:h,value:y}=g;m?a(h,y,g):y&&(u=u||{},u[h]=y)}),u}return Hr}var Hi={},ap;function cx(){if(ap)return Hi;ap=1,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,u=function(h){return!h||i.test(h)||t.test(h)},f=function(h,y){return y.toUpperCase()},m=function(h,y){return"".concat(y,"-")},g=function(h,y){return y===void 0&&(y={}),u(h)?h:(h=h.toLowerCase(),y.reactCompat?h=h.replace(a,m):h=h.replace(o,m),h.replace(r,f))};return Hi.camelCase=g,Hi}var Wi,up;function fx(){if(up)return Wi;up=1;var t=Wi&&Wi.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},r=t(ux()),i=cx();function o(a,u){var f={};return!a||typeof a!="string"||(0,r.default)(a,function(m,g){m&&g&&(f[(0,i.camelCase)(m,u)]=g)}),f}return o.default=o,Wi=o,Wi}var dx=fx();const px=_u(dx),Hm=Wm("end"),$u=Wm("start");function Wm(t){return r;function r(i){const o=i&&i.position&&i.position[t]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function mx(t){const r=$u(t),i=Hm(t);if(r&&i)return{start:r,end:i}}function Qi(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?cp(t.position):"start"in t||"end"in t?cp(t):"line"in t||"column"in t?bu(t):""}function bu(t){return fp(t&&t.line)+":"+fp(t&&t.column)}function cp(t){return bu(t&&t.start)+"-"+bu(t&&t.end)}function fp(t){return t&&typeof t=="number"?t:1}class pt extends Error{constructor(r,i,o){super(),typeof i=="string"&&(o=i,i=void 0);let a="",u={},f=!1;if(i&&("line"in i&&"column"in i?u={place:i}:"start"in i&&"end"in i?u={place:i}:"type"in i?u={ancestors:[i],place:i.position}:u={...i}),typeof r=="string"?a=r:!u.cause&&r&&(f=!0,a=r.message,u.cause=r),!u.ruleId&&!u.source&&typeof o=="string"){const g=o.indexOf(":");g===-1?u.ruleId=o:(u.source=o.slice(0,g),u.ruleId=o.slice(g+1))}if(!u.place&&u.ancestors&&u.ancestors){const g=u.ancestors[u.ancestors.length-1];g&&(u.place=g.position)}const m=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=m?m.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=m?m.line:void 0,this.name=Qi(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=f&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}pt.prototype.file="";pt.prototype.name="";pt.prototype.reason="";pt.prototype.message="";pt.prototype.stack="";pt.prototype.column=void 0;pt.prototype.line=void 0;pt.prototype.ancestors=void 0;pt.prototype.cause=void 0;pt.prototype.fatal=void 0;pt.prototype.place=void 0;pt.prototype.ruleId=void 0;pt.prototype.source=void 0;const Bu={}.hasOwnProperty,hx=new Map,gx=/[A-Z]/g,yx=new Set(["table","tbody","thead","tfoot","tr"]),xx=new Set(["td","th"]),Km="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function vx(t,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=r.filePath||void 0;let o;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=Nx(i,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=Px(i,r.jsx,r.jsxs)}const a={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:o,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Fu:ox,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},u=Gm(a,t,void 0);return u&&typeof u!="string"?u:a.create(t,a.Fragment,{children:u||void 0},void 0)}function Gm(t,r,i){if(r.type==="element")return wx(t,r,i);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return kx(t,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return Sx(t,r,i);if(r.type==="mdxjsEsm")return bx(t,r);if(r.type==="root")return jx(t,r,i);if(r.type==="text")return Cx(t,r)}function wx(t,r,i){const o=t.schema;let a=o;r.tagName.toLowerCase()==="svg"&&o.space==="html"&&(a=Fu,t.schema=a),t.ancestors.push(r);const u=qm(t,r.tagName,!1),f=Ex(t,r);let m=Vu(t,r);return yx.has(r.tagName)&&(m=m.filter(function(g){return typeof g=="string"?!Y0(g):!0})),Qm(t,f,u,r),Uu(f,m),t.ancestors.pop(),t.schema=o,t.create(r,u,f,i)}function kx(t,r){if(r.data&&r.data.estree&&t.evaluater){const o=r.data.estree.body[0];return o.type,t.evaluater.evaluateExpression(o.expression)}Zi(t,r.position)}function bx(t,r){if(r.data&&r.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(r.data.estree);Zi(t,r.position)}function Sx(t,r,i){const o=t.schema;let a=o;r.name==="svg"&&o.space==="html"&&(a=Fu,t.schema=a),t.ancestors.push(r);const u=r.name===null?t.Fragment:qm(t,r.name,!0),f=Ox(t,r),m=Vu(t,r);return Qm(t,f,u,r),Uu(f,m),t.ancestors.pop(),t.schema=o,t.create(r,u,f,i)}function jx(t,r,i){const o={};return Uu(o,Vu(t,r)),t.create(r,t.Fragment,o,i)}function Cx(t,r){return r.value}function Qm(t,r,i,o){typeof i!="string"&&i!==t.Fragment&&t.passNode&&(r.node=o)}function Uu(t,r){if(r.length>0){const i=r.length>1?r:r[0];i&&(t.children=i)}}function Px(t,r,i){return o;function o(a,u,f,m){const h=Array.isArray(f.children)?i:r;return m?h(u,f,m):h(u,f)}}function Nx(t,r){return i;function i(o,a,u,f){const m=Array.isArray(u.children),g=$u(o);return r(a,u,f,m,{columnNumber:g?g.column-1:void 0,fileName:t,lineNumber:g?g.line:void 0},void 0)}}function Ex(t,r){const i={};let o,a;for(a in r.properties)if(a!=="children"&&Bu.call(r.properties,a)){const u=_x(t,a,r.properties[a]);if(u){const[f,m]=u;t.tableCellAlignToStyle&&f==="align"&&typeof m=="string"&&xx.has(r.tagName)?o=m:i[f]=m}}if(o){const u=i.style||(i.style={});u[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return i}function Ox(t,r){const i={};for(const o of r.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&t.evaluater){const u=o.data.estree.body[0];u.type;const f=u.expression;f.type;const m=f.properties[0];m.type,Object.assign(i,t.evaluater.evaluateExpression(m.argument))}else Zi(t,r.position);else{const a=o.name;let u;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&t.evaluater){const m=o.value.data.estree.body[0];m.type,u=t.evaluater.evaluateExpression(m.expression)}else Zi(t,r.position);else u=o.value===null?!0:o.value;i[a]=u}return i}function Vu(t,r){const i=[];let o=-1;const a=t.passKeys?new Map:hx;for(;++o<r.children.length;){const u=r.children[o];let f;if(t.passKeys){const g=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(g){const h=a.get(g)||0;f=g+"-"+h,a.set(g,h+1)}}const m=Gm(t,u,f);m!==void 0&&i.push(m)}return i}function _x(t,r,i){const o=rx(t.schema,r);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=o.commaSeparated?W0(i):sx(i)),o.property==="style"){let a=typeof i=="object"?i:zx(t,String(i));return t.stylePropertyNameCase==="css"&&(a=Ix(a)),["style",a]}return[t.elementAttributeNameCase==="react"&&o.space?ex[o.property]||o.property:o.attribute,i]}}function zx(t,r){try{return px(r,{reactCompat:!0})}catch(i){if(t.ignoreInvalidStyle)return{};const o=i,a=new pt("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=t.filePath||void 0,a.url=Km+"#cannot-parse-style-attribute",a}}function qm(t,r,i){let o;if(!i)o={type:"Literal",value:r};else if(r.includes(".")){const a=r.split(".");let u=-1,f;for(;++u<a.length;){const m=np(a[u])?{type:"Identifier",name:a[u]}:{type:"Literal",value:a[u]};f=f?{type:"MemberExpression",object:f,property:m,computed:!!(u&&m.type==="Literal"),optional:!1}:m}o=f}else o=np(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(o.type==="Literal"){const a=o.value;return Bu.call(t.components,a)?t.components[a]:a}if(t.evaluater)return t.evaluater.evaluateExpression(o);Zi(t)}function Zi(t,r){const i=new pt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Km+"#cannot-handle-mdx-estrees-without-createevaluater",i}function Ix(t){const r={};let i;for(i in t)Bu.call(t,i)&&(r[Tx(i)]=t[i]);return r}function Tx(t){let r=t.replace(gx,Ax);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function Ax(t){return"-"+t.toLowerCase()}const Ga={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Lx={};function Mx(t,r){const i=Lx,o=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,a=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return Ym(t,o,a)}function Ym(t,r,i){if(Rx(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(r&&"alt"in t&&t.alt)return t.alt;if("children"in t)return dp(t.children,r,i)}return Array.isArray(t)?dp(t,r,i):""}function dp(t,r,i){const o=[];let a=-1;for(;++a<t.length;)o[a]=Ym(t[a],r,i);return o.join("")}function Rx(t){return!!(t&&typeof t=="object")}const pp=document.createElement("i");function Hu(t){const r="&"+t+";";pp.innerHTML=r;const i=pp.textContent;return i.charCodeAt(i.length-1)===59&&t!=="semi"||i===r?!1:i}function sn(t,r,i,o){const a=t.length;let u=0,f;if(r<0?r=-r>a?0:a+r:r=r>a?a:r,i=i>0?i:0,o.length<1e4)f=Array.from(o),f.unshift(r,i),t.splice(...f);else for(i&&t.splice(r,i);u<o.length;)f=o.slice(u,u+1e4),f.unshift(r,0),t.splice(...f),u+=1e4,r+=1e4}function Ut(t,r){return t.length>0?(sn(t,t.length,0,r),t):r}const mp={}.hasOwnProperty;function Dx(t){const r={};let i=-1;for(;++i<t.length;)Fx(r,t[i]);return r}function Fx(t,r){let i;for(i in r){const a=(mp.call(t,i)?t[i]:void 0)||(t[i]={}),u=r[i];let f;if(u)for(f in u){mp.call(a,f)||(a[f]=[]);const m=u[f];$x(a[f],Array.isArray(m)?m:m?[m]:[])}}}function $x(t,r){let i=-1;const o=[];for(;++i<r.length;)(r[i].add==="after"?t:o).push(r[i]);sn(t,0,0,o)}function Xm(t,r){const i=Number.parseInt(t,r);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"�":String.fromCodePoint(i)}function qr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const on=Qn(/[A-Za-z]/),Tt=Qn(/[\dA-Za-z]/),Bx=Qn(/[#-'*+\--9=?A-Z^-~]/);function Su(t){return t!==null&&(t<32||t===127)}const ju=Qn(/\d/),Ux=Qn(/[\dA-Fa-f]/),Vx=Qn(/[!-/:-@[-`{-~]/);function je(t){return t!==null&&t<-2}function jt(t){return t!==null&&(t<0||t===32)}function Ae(t){return t===-2||t===-1||t===32}const Hx=Qn(new RegExp("\\p{P}|\\p{S}","u")),Wx=Qn(/\s/);function Qn(t){return r;function r(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function ei(t){const r=[];let i=-1,o=0,a=0;for(;++i<t.length;){const u=t.charCodeAt(i);let f="";if(u===37&&Tt(t.charCodeAt(i+1))&&Tt(t.charCodeAt(i+2)))a=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(f=String.fromCharCode(u));else if(u>55295&&u<57344){const m=t.charCodeAt(i+1);u<56320&&m>56319&&m<57344?(f=String.fromCharCode(u,m),a=1):f="�"}else f=String.fromCharCode(u);f&&(r.push(t.slice(o,i),encodeURIComponent(f)),o=i+a+1,f=""),a&&(i+=a,a=0)}return r.join("")+t.slice(o)}function Fe(t,r,i,o){const a=o?o-1:Number.POSITIVE_INFINITY;let u=0;return f;function f(g){return Ae(g)?(t.enter(i),m(g)):r(g)}function m(g){return Ae(g)&&u++<a?(t.consume(g),m):(t.exit(i),r(g))}}const Kx={tokenize:Gx};function Gx(t){const r=t.attempt(this.parser.constructs.contentInitial,o,a);let i;return r;function o(m){if(m===null){t.consume(m);return}return t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),Fe(t,r,"linePrefix")}function a(m){return t.enter("paragraph"),u(m)}function u(m){const g=t.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=g),i=g,f(m)}function f(m){if(m===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(m);return}return je(m)?(t.consume(m),t.exit("chunkText"),u):(t.consume(m),f)}}const Qx={tokenize:qx},hp={tokenize:Yx};function qx(t){const r=this,i=[];let o=0,a,u,f;return m;function m(T){if(o<i.length){const te=i[o];return r.containerState=te[1],t.attempt(te[0].continuation,g,h)(T)}return h(T)}function g(T){if(o++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,a&&$();const te=r.events.length;let F=te,O;for(;F--;)if(r.events[F][0]==="exit"&&r.events[F][1].type==="chunkFlow"){O=r.events[F][1].end;break}D(o);let re=te;for(;re<r.events.length;)r.events[re][1].end={...O},re++;return sn(r.events,F+1,0,r.events.slice(te)),r.events.length=re,h(T)}return m(T)}function h(T){if(o===i.length){if(!a)return S(T);if(a.currentConstruct&&a.currentConstruct.concrete)return M(T);r.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return r.containerState={},t.check(hp,y,w)(T)}function y(T){return a&&$(),D(o),S(T)}function w(T){return r.parser.lazy[r.now().line]=o!==i.length,f=r.now().offset,M(T)}function S(T){return r.containerState={},t.attempt(hp,b,M)(T)}function b(T){return o++,i.push([r.currentConstruct,r.containerState]),S(T)}function M(T){if(T===null){a&&$(),D(0),t.consume(T);return}return a=a||r.parser.flow(r.now()),t.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:u}),R(T)}function R(T){if(T===null){z(t.exit("chunkFlow"),!0),D(0),t.consume(T);return}return je(T)?(t.consume(T),z(t.exit("chunkFlow")),o=0,r.interrupt=void 0,m):(t.consume(T),R)}function z(T,te){const F=r.sliceStream(T);if(te&&F.push(null),T.previous=u,u&&(u.next=T),u=T,a.defineSkip(T.start),a.write(F),r.parser.lazy[T.start.line]){let O=a.events.length;for(;O--;)if(a.events[O][1].start.offset<f&&(!a.events[O][1].end||a.events[O][1].end.offset>f))return;const re=r.events.length;let B=re,ee,he;for(;B--;)if(r.events[B][0]==="exit"&&r.events[B][1].type==="chunkFlow"){if(ee){he=r.events[B][1].end;break}ee=!0}for(D(o),O=re;O<r.events.length;)r.events[O][1].end={...he},O++;sn(r.events,B+1,0,r.events.slice(re)),r.events.length=O}}function D(T){let te=i.length;for(;te-- >T;){const F=i[te];r.containerState=F[1],F[0].exit.call(r,t)}i.length=T}function $(){a.write([null]),u=void 0,a=void 0,r.containerState._closeFlow=void 0}}function Yx(t,r,i){return Fe(t,t.attempt(this.parser.constructs.document,r,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function gp(t){if(t===null||jt(t)||Wx(t))return 1;if(Hx(t))return 2}function Wu(t,r,i){const o=[];let a=-1;for(;++a<t.length;){const u=t[a].resolveAll;u&&!o.includes(u)&&(r=u(r,i),o.push(u))}return r}const Cu={name:"attention",resolveAll:Xx,tokenize:Zx};function Xx(t,r){let i=-1,o,a,u,f,m,g,h,y;for(;++i<t.length;)if(t[i][0]==="enter"&&t[i][1].type==="attentionSequence"&&t[i][1]._close){for(o=i;o--;)if(t[o][0]==="exit"&&t[o][1].type==="attentionSequence"&&t[o][1]._open&&r.sliceSerialize(t[o][1]).charCodeAt(0)===r.sliceSerialize(t[i][1]).charCodeAt(0)){if((t[o][1]._close||t[i][1]._open)&&(t[i][1].end.offset-t[i][1].start.offset)%3&&!((t[o][1].end.offset-t[o][1].start.offset+t[i][1].end.offset-t[i][1].start.offset)%3))continue;g=t[o][1].end.offset-t[o][1].start.offset>1&&t[i][1].end.offset-t[i][1].start.offset>1?2:1;const w={...t[o][1].end},S={...t[i][1].start};yp(w,-g),yp(S,g),f={type:g>1?"strongSequence":"emphasisSequence",start:w,end:{...t[o][1].end}},m={type:g>1?"strongSequence":"emphasisSequence",start:{...t[i][1].start},end:S},u={type:g>1?"strongText":"emphasisText",start:{...t[o][1].end},end:{...t[i][1].start}},a={type:g>1?"strong":"emphasis",start:{...f.start},end:{...m.end}},t[o][1].end={...f.start},t[i][1].start={...m.end},h=[],t[o][1].end.offset-t[o][1].start.offset&&(h=Ut(h,[["enter",t[o][1],r],["exit",t[o][1],r]])),h=Ut(h,[["enter",a,r],["enter",f,r],["exit",f,r],["enter",u,r]]),h=Ut(h,Wu(r.parser.constructs.insideSpan.null,t.slice(o+1,i),r)),h=Ut(h,[["exit",u,r],["enter",m,r],["exit",m,r],["exit",a,r]]),t[i][1].end.offset-t[i][1].start.offset?(y=2,h=Ut(h,[["enter",t[i][1],r],["exit",t[i][1],r]])):y=0,sn(t,o-1,i-o+3,h),i=o+h.length-y-2;break}}for(i=-1;++i<t.length;)t[i][1].type==="attentionSequence"&&(t[i][1].type="data");return t}function Zx(t,r){const i=this.parser.constructs.attentionMarkers.null,o=this.previous,a=gp(o);let u;return f;function f(g){return u=g,t.enter("attentionSequence"),m(g)}function m(g){if(g===u)return t.consume(g),m;const h=t.exit("attentionSequence"),y=gp(g),w=!y||y===2&&a||i.includes(g),S=!a||a===2&&y||i.includes(o);return h._open=!!(u===42?w:w&&(a||!S)),h._close=!!(u===42?S:S&&(y||!w)),r(g)}}function yp(t,r){t.column+=r,t.offset+=r,t._bufferIndex+=r}const Jx={name:"autolink",tokenize:ev};function ev(t,r,i){let o=0;return a;function a(b){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(b),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),u}function u(b){return on(b)?(t.consume(b),f):b===64?i(b):h(b)}function f(b){return b===43||b===45||b===46||Tt(b)?(o=1,m(b)):h(b)}function m(b){return b===58?(t.consume(b),o=0,g):(b===43||b===45||b===46||Tt(b))&&o++<32?(t.consume(b),m):(o=0,h(b))}function g(b){return b===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(b),t.exit("autolinkMarker"),t.exit("autolink"),r):b===null||b===32||b===60||Su(b)?i(b):(t.consume(b),g)}function h(b){return b===64?(t.consume(b),y):Bx(b)?(t.consume(b),h):i(b)}function y(b){return Tt(b)?w(b):i(b)}function w(b){return b===46?(t.consume(b),o=0,y):b===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(b),t.exit("autolinkMarker"),t.exit("autolink"),r):S(b)}function S(b){if((b===45||Tt(b))&&o++<63){const M=b===45?S:w;return t.consume(b),M}return i(b)}}const qo={partial:!0,tokenize:tv};function tv(t,r,i){return o;function o(u){return Ae(u)?Fe(t,a,"linePrefix")(u):a(u)}function a(u){return u===null||je(u)?r(u):i(u)}}const Zm={continuation:{tokenize:rv},exit:iv,name:"blockQuote",tokenize:nv};function nv(t,r,i){const o=this;return a;function a(f){if(f===62){const m=o.containerState;return m.open||(t.enter("blockQuote",{_container:!0}),m.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(f),t.exit("blockQuoteMarker"),u}return i(f)}function u(f){return Ae(f)?(t.enter("blockQuotePrefixWhitespace"),t.consume(f),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),r):(t.exit("blockQuotePrefix"),r(f))}}function rv(t,r,i){const o=this;return a;function a(f){return Ae(f)?Fe(t,u,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):u(f)}function u(f){return t.attempt(Zm,r,i)(f)}}function iv(t){t.exit("blockQuote")}const Jm={name:"characterEscape",tokenize:lv};function lv(t,r,i){return o;function o(u){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(u),t.exit("escapeMarker"),a}function a(u){return Vx(u)?(t.enter("characterEscapeValue"),t.consume(u),t.exit("characterEscapeValue"),t.exit("characterEscape"),r):i(u)}}const eh={name:"characterReference",tokenize:ov};function ov(t,r,i){const o=this;let a=0,u,f;return m;function m(w){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(w),t.exit("characterReferenceMarker"),g}function g(w){return w===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(w),t.exit("characterReferenceMarkerNumeric"),h):(t.enter("characterReferenceValue"),u=31,f=Tt,y(w))}function h(w){return w===88||w===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(w),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),u=6,f=Ux,y):(t.enter("characterReferenceValue"),u=7,f=ju,y(w))}function y(w){if(w===59&&a){const S=t.exit("characterReferenceValue");return f===Tt&&!Hu(o.sliceSerialize(S))?i(w):(t.enter("characterReferenceMarker"),t.consume(w),t.exit("characterReferenceMarker"),t.exit("characterReference"),r)}return f(w)&&a++<u?(t.consume(w),y):i(w)}}const xp={partial:!0,tokenize:av},vp={concrete:!0,name:"codeFenced",tokenize:sv};function sv(t,r,i){const o=this,a={partial:!0,tokenize:F};let u=0,f=0,m;return g;function g(O){return h(O)}function h(O){const re=o.events[o.events.length-1];return u=re&&re[1].type==="linePrefix"?re[2].sliceSerialize(re[1],!0).length:0,m=O,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),y(O)}function y(O){return O===m?(f++,t.consume(O),y):f<3?i(O):(t.exit("codeFencedFenceSequence"),Ae(O)?Fe(t,w,"whitespace")(O):w(O))}function w(O){return O===null||je(O)?(t.exit("codeFencedFence"),o.interrupt?r(O):t.check(xp,R,te)(O)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),S(O))}function S(O){return O===null||je(O)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),w(O)):Ae(O)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Fe(t,b,"whitespace")(O)):O===96&&O===m?i(O):(t.consume(O),S)}function b(O){return O===null||je(O)?w(O):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),M(O))}function M(O){return O===null||je(O)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),w(O)):O===96&&O===m?i(O):(t.consume(O),M)}function R(O){return t.attempt(a,te,z)(O)}function z(O){return t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),D}function D(O){return u>0&&Ae(O)?Fe(t,$,"linePrefix",u+1)(O):$(O)}function $(O){return O===null||je(O)?t.check(xp,R,te)(O):(t.enter("codeFlowValue"),T(O))}function T(O){return O===null||je(O)?(t.exit("codeFlowValue"),$(O)):(t.consume(O),T)}function te(O){return t.exit("codeFenced"),r(O)}function F(O,re,B){let ee=0;return he;function he(q){return O.enter("lineEnding"),O.consume(q),O.exit("lineEnding"),ne}function ne(q){return O.enter("codeFencedFence"),Ae(q)?Fe(O,H,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):H(q)}function H(q){return q===m?(O.enter("codeFencedFenceSequence"),we(q)):B(q)}function we(q){return q===m?(ee++,O.consume(q),we):ee>=f?(O.exit("codeFencedFenceSequence"),Ae(q)?Fe(O,le,"whitespace")(q):le(q)):B(q)}function le(q){return q===null||je(q)?(O.exit("codeFencedFence"),re(q)):B(q)}}}function av(t,r,i){const o=this;return a;function a(f){return f===null?i(f):(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),u)}function u(f){return o.parser.lazy[o.now().line]?i(f):r(f)}}const Qa={name:"codeIndented",tokenize:cv},uv={partial:!0,tokenize:fv};function cv(t,r,i){const o=this;return a;function a(h){return t.enter("codeIndented"),Fe(t,u,"linePrefix",5)(h)}function u(h){const y=o.events[o.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?f(h):i(h)}function f(h){return h===null?g(h):je(h)?t.attempt(uv,f,g)(h):(t.enter("codeFlowValue"),m(h))}function m(h){return h===null||je(h)?(t.exit("codeFlowValue"),f(h)):(t.consume(h),m)}function g(h){return t.exit("codeIndented"),r(h)}}function fv(t,r,i){const o=this;return a;function a(f){return o.parser.lazy[o.now().line]?i(f):je(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),a):Fe(t,u,"linePrefix",5)(f)}function u(f){const m=o.events[o.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?r(f):je(f)?a(f):i(f)}}const dv={name:"codeText",previous:mv,resolve:pv,tokenize:hv};function pv(t){let r=t.length-4,i=3,o,a;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[r][1].type==="lineEnding"||t[r][1].type==="space")){for(o=i;++o<r;)if(t[o][1].type==="codeTextData"){t[i][1].type="codeTextPadding",t[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(o=i-1,r++;++o<=r;)a===void 0?o!==r&&t[o][1].type!=="lineEnding"&&(a=o):(o===r||t[o][1].type==="lineEnding")&&(t[a][1].type="codeTextData",o!==a+2&&(t[a][1].end=t[o-1][1].end,t.splice(a+2,o-a-2),r-=o-a-2,o=a+2),a=void 0);return t}function mv(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function hv(t,r,i){let o=0,a,u;return f;function f(w){return t.enter("codeText"),t.enter("codeTextSequence"),m(w)}function m(w){return w===96?(t.consume(w),o++,m):(t.exit("codeTextSequence"),g(w))}function g(w){return w===null?i(w):w===32?(t.enter("space"),t.consume(w),t.exit("space"),g):w===96?(u=t.enter("codeTextSequence"),a=0,y(w)):je(w)?(t.enter("lineEnding"),t.consume(w),t.exit("lineEnding"),g):(t.enter("codeTextData"),h(w))}function h(w){return w===null||w===32||w===96||je(w)?(t.exit("codeTextData"),g(w)):(t.consume(w),h)}function y(w){return w===96?(t.consume(w),a++,y):a===o?(t.exit("codeTextSequence"),t.exit("codeText"),r(w)):(u.type="codeTextData",h(w))}}class gv{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,i){const o=i??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(r,o):r>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(r,i,o){const a=i||0;this.setCursor(Math.trunc(r));const u=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return o&&Ki(this.left,o),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),Ki(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),Ki(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const i=this.left.splice(r,Number.POSITIVE_INFINITY);Ki(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);Ki(this.left,i.reverse())}}}function Ki(t,r){let i=0;if(r.length<1e4)t.push(...r);else for(;i<r.length;)t.push(...r.slice(i,i+1e4)),i+=1e4}function th(t){const r={};let i=-1,o,a,u,f,m,g,h;const y=new gv(t);for(;++i<y.length;){for(;i in r;)i=r[i];if(o=y.get(i),i&&o[1].type==="chunkFlow"&&y.get(i-1)[1].type==="listItemPrefix"&&(g=o[1]._tokenizer.events,u=0,u<g.length&&g[u][1].type==="lineEndingBlank"&&(u+=2),u<g.length&&g[u][1].type==="content"))for(;++u<g.length&&g[u][1].type!=="content";)g[u][1].type==="chunkText"&&(g[u][1]._isInFirstContentOfListItem=!0,u++);if(o[0]==="enter")o[1].contentType&&(Object.assign(r,yv(y,i)),i=r[i],h=!0);else if(o[1]._container){for(u=i,a=void 0;u--;)if(f=y.get(u),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank")f[0]==="enter"&&(a&&(y.get(a)[1].type="lineEndingBlank"),f[1].type="lineEnding",a=u);else if(!(f[1].type==="linePrefix"||f[1].type==="listItemIndent"))break;a&&(o[1].end={...y.get(a)[1].start},m=y.slice(a,i),m.unshift(o),y.splice(a,i-a+1,m))}}return sn(t,0,Number.POSITIVE_INFINITY,y.slice(0)),!h}function yv(t,r){const i=t.get(r)[1],o=t.get(r)[2];let a=r-1;const u=[];let f=i._tokenizer;f||(f=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(f._contentTypeTextTrailing=!0));const m=f.events,g=[],h={};let y,w,S=-1,b=i,M=0,R=0;const z=[R];for(;b;){for(;t.get(++a)[1]!==b;);u.push(a),b._tokenizer||(y=o.sliceStream(b),b.next||y.push(null),w&&f.defineSkip(b.start),b._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(y),b._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),w=b,b=b.next}for(b=i;++S<m.length;)m[S][0]==="exit"&&m[S-1][0]==="enter"&&m[S][1].type===m[S-1][1].type&&m[S][1].start.line!==m[S][1].end.line&&(R=S+1,z.push(R),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(f.events=[],b?(b._tokenizer=void 0,b.previous=void 0):z.pop(),S=z.length;S--;){const D=m.slice(z[S],z[S+1]),$=u.pop();g.push([$,$+D.length-1]),t.splice($,2,D)}for(g.reverse(),S=-1;++S<g.length;)h[M+g[S][0]]=M+g[S][1],M+=g[S][1]-g[S][0]-1;return h}const xv={resolve:wv,tokenize:kv},vv={partial:!0,tokenize:bv};function wv(t){return th(t),t}function kv(t,r){let i;return o;function o(m){return t.enter("content"),i=t.enter("chunkContent",{contentType:"content"}),a(m)}function a(m){return m===null?u(m):je(m)?t.check(vv,f,u)(m):(t.consume(m),a)}function u(m){return t.exit("chunkContent"),t.exit("content"),r(m)}function f(m){return t.consume(m),t.exit("chunkContent"),i.next=t.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,a}}function bv(t,r,i){const o=this;return a;function a(f){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Fe(t,u,"linePrefix")}function u(f){if(f===null||je(f))return i(f);const m=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?r(f):t.interrupt(o.parser.constructs.flow,i,r)(f)}}function nh(t,r,i,o,a,u,f,m,g){const h=g||Number.POSITIVE_INFINITY;let y=0;return w;function w(D){return D===60?(t.enter(o),t.enter(a),t.enter(u),t.consume(D),t.exit(u),S):D===null||D===32||D===41||Su(D)?i(D):(t.enter(o),t.enter(f),t.enter(m),t.enter("chunkString",{contentType:"string"}),R(D))}function S(D){return D===62?(t.enter(u),t.consume(D),t.exit(u),t.exit(a),t.exit(o),r):(t.enter(m),t.enter("chunkString",{contentType:"string"}),b(D))}function b(D){return D===62?(t.exit("chunkString"),t.exit(m),S(D)):D===null||D===60||je(D)?i(D):(t.consume(D),D===92?M:b)}function M(D){return D===60||D===62||D===92?(t.consume(D),b):b(D)}function R(D){return!y&&(D===null||D===41||jt(D))?(t.exit("chunkString"),t.exit(m),t.exit(f),t.exit(o),r(D)):y<h&&D===40?(t.consume(D),y++,R):D===41?(t.consume(D),y--,R):D===null||D===32||D===40||Su(D)?i(D):(t.consume(D),D===92?z:R)}function z(D){return D===40||D===41||D===92?(t.consume(D),R):R(D)}}function rh(t,r,i,o,a,u){const f=this;let m=0,g;return h;function h(b){return t.enter(o),t.enter(a),t.consume(b),t.exit(a),t.enter(u),y}function y(b){return m>999||b===null||b===91||b===93&&!g||b===94&&!m&&"_hiddenFootnoteSupport"in f.parser.constructs?i(b):b===93?(t.exit(u),t.enter(a),t.consume(b),t.exit(a),t.exit(o),r):je(b)?(t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),y):(t.enter("chunkString",{contentType:"string"}),w(b))}function w(b){return b===null||b===91||b===93||je(b)||m++>999?(t.exit("chunkString"),y(b)):(t.consume(b),g||(g=!Ae(b)),b===92?S:w)}function S(b){return b===91||b===92||b===93?(t.consume(b),m++,w):w(b)}}function ih(t,r,i,o,a,u){let f;return m;function m(S){return S===34||S===39||S===40?(t.enter(o),t.enter(a),t.consume(S),t.exit(a),f=S===40?41:S,g):i(S)}function g(S){return S===f?(t.enter(a),t.consume(S),t.exit(a),t.exit(o),r):(t.enter(u),h(S))}function h(S){return S===f?(t.exit(u),g(f)):S===null?i(S):je(S)?(t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),Fe(t,h,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),y(S))}function y(S){return S===f||S===null||je(S)?(t.exit("chunkString"),h(S)):(t.consume(S),S===92?w:y)}function w(S){return S===f||S===92?(t.consume(S),y):y(S)}}function qi(t,r){let i;return o;function o(a){return je(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i=!0,o):Ae(a)?Fe(t,o,i?"linePrefix":"lineSuffix")(a):r(a)}}const Sv={name:"definition",tokenize:Cv},jv={partial:!0,tokenize:Pv};function Cv(t,r,i){const o=this;let a;return u;function u(b){return t.enter("definition"),f(b)}function f(b){return rh.call(o,t,m,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function m(b){return a=qr(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),b===58?(t.enter("definitionMarker"),t.consume(b),t.exit("definitionMarker"),g):i(b)}function g(b){return jt(b)?qi(t,h)(b):h(b)}function h(b){return nh(t,y,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function y(b){return t.attempt(jv,w,w)(b)}function w(b){return Ae(b)?Fe(t,S,"whitespace")(b):S(b)}function S(b){return b===null||je(b)?(t.exit("definition"),o.parser.defined.push(a),r(b)):i(b)}}function Pv(t,r,i){return o;function o(m){return jt(m)?qi(t,a)(m):i(m)}function a(m){return ih(t,u,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(m)}function u(m){return Ae(m)?Fe(t,f,"whitespace")(m):f(m)}function f(m){return m===null||je(m)?r(m):i(m)}}const Nv={name:"hardBreakEscape",tokenize:Ev};function Ev(t,r,i){return o;function o(u){return t.enter("hardBreakEscape"),t.consume(u),a}function a(u){return je(u)?(t.exit("hardBreakEscape"),r(u)):i(u)}}const Ov={name:"headingAtx",resolve:_v,tokenize:zv};function _v(t,r){let i=t.length-2,o=3,a,u;return t[o][1].type==="whitespace"&&(o+=2),i-2>o&&t[i][1].type==="whitespace"&&(i-=2),t[i][1].type==="atxHeadingSequence"&&(o===i-1||i-4>o&&t[i-2][1].type==="whitespace")&&(i-=o+1===i?2:4),i>o&&(a={type:"atxHeadingText",start:t[o][1].start,end:t[i][1].end},u={type:"chunkText",start:t[o][1].start,end:t[i][1].end,contentType:"text"},sn(t,o,i-o+1,[["enter",a,r],["enter",u,r],["exit",u,r],["exit",a,r]])),t}function zv(t,r,i){let o=0;return a;function a(y){return t.enter("atxHeading"),u(y)}function u(y){return t.enter("atxHeadingSequence"),f(y)}function f(y){return y===35&&o++<6?(t.consume(y),f):y===null||jt(y)?(t.exit("atxHeadingSequence"),m(y)):i(y)}function m(y){return y===35?(t.enter("atxHeadingSequence"),g(y)):y===null||je(y)?(t.exit("atxHeading"),r(y)):Ae(y)?Fe(t,m,"whitespace")(y):(t.enter("atxHeadingText"),h(y))}function g(y){return y===35?(t.consume(y),g):(t.exit("atxHeadingSequence"),m(y))}function h(y){return y===null||y===35||jt(y)?(t.exit("atxHeadingText"),m(y)):(t.consume(y),h)}}const Iv=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],wp=["pre","script","style","textarea"],Tv={concrete:!0,name:"htmlFlow",resolveTo:Mv,tokenize:Rv},Av={partial:!0,tokenize:Fv},Lv={partial:!0,tokenize:Dv};function Mv(t){let r=t.length;for(;r--&&!(t[r][0]==="enter"&&t[r][1].type==="htmlFlow"););return r>1&&t[r-2][1].type==="linePrefix"&&(t[r][1].start=t[r-2][1].start,t[r+1][1].start=t[r-2][1].start,t.splice(r-2,2)),t}function Rv(t,r,i){const o=this;let a,u,f,m,g;return h;function h(v){return y(v)}function y(v){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(v),w}function w(v){return v===33?(t.consume(v),S):v===47?(t.consume(v),u=!0,R):v===63?(t.consume(v),a=3,o.interrupt?r:k):on(v)?(t.consume(v),f=String.fromCharCode(v),z):i(v)}function S(v){return v===45?(t.consume(v),a=2,b):v===91?(t.consume(v),a=5,m=0,M):on(v)?(t.consume(v),a=4,o.interrupt?r:k):i(v)}function b(v){return v===45?(t.consume(v),o.interrupt?r:k):i(v)}function M(v){const G="CDATA[";return v===G.charCodeAt(m++)?(t.consume(v),m===G.length?o.interrupt?r:H:M):i(v)}function R(v){return on(v)?(t.consume(v),f=String.fromCharCode(v),z):i(v)}function z(v){if(v===null||v===47||v===62||jt(v)){const G=v===47,Y=f.toLowerCase();return!G&&!u&&wp.includes(Y)?(a=1,o.interrupt?r(v):H(v)):Iv.includes(f.toLowerCase())?(a=6,G?(t.consume(v),D):o.interrupt?r(v):H(v)):(a=7,o.interrupt&&!o.parser.lazy[o.now().line]?i(v):u?$(v):T(v))}return v===45||Tt(v)?(t.consume(v),f+=String.fromCharCode(v),z):i(v)}function D(v){return v===62?(t.consume(v),o.interrupt?r:H):i(v)}function $(v){return Ae(v)?(t.consume(v),$):he(v)}function T(v){return v===47?(t.consume(v),he):v===58||v===95||on(v)?(t.consume(v),te):Ae(v)?(t.consume(v),T):he(v)}function te(v){return v===45||v===46||v===58||v===95||Tt(v)?(t.consume(v),te):F(v)}function F(v){return v===61?(t.consume(v),O):Ae(v)?(t.consume(v),F):T(v)}function O(v){return v===null||v===60||v===61||v===62||v===96?i(v):v===34||v===39?(t.consume(v),g=v,re):Ae(v)?(t.consume(v),O):B(v)}function re(v){return v===g?(t.consume(v),g=null,ee):v===null||je(v)?i(v):(t.consume(v),re)}function B(v){return v===null||v===34||v===39||v===47||v===60||v===61||v===62||v===96||jt(v)?F(v):(t.consume(v),B)}function ee(v){return v===47||v===62||Ae(v)?T(v):i(v)}function he(v){return v===62?(t.consume(v),ne):i(v)}function ne(v){return v===null||je(v)?H(v):Ae(v)?(t.consume(v),ne):i(v)}function H(v){return v===45&&a===2?(t.consume(v),ae):v===60&&a===1?(t.consume(v),ge):v===62&&a===4?(t.consume(v),P):v===63&&a===3?(t.consume(v),k):v===93&&a===5?(t.consume(v),Z):je(v)&&(a===6||a===7)?(t.exit("htmlFlowData"),t.check(Av,U,we)(v)):v===null||je(v)?(t.exit("htmlFlowData"),we(v)):(t.consume(v),H)}function we(v){return t.check(Lv,le,U)(v)}function le(v){return t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),q}function q(v){return v===null||je(v)?we(v):(t.enter("htmlFlowData"),H(v))}function ae(v){return v===45?(t.consume(v),k):H(v)}function ge(v){return v===47?(t.consume(v),f="",L):H(v)}function L(v){if(v===62){const G=f.toLowerCase();return wp.includes(G)?(t.consume(v),P):H(v)}return on(v)&&f.length<8?(t.consume(v),f+=String.fromCharCode(v),L):H(v)}function Z(v){return v===93?(t.consume(v),k):H(v)}function k(v){return v===62?(t.consume(v),P):v===45&&a===2?(t.consume(v),k):H(v)}function P(v){return v===null||je(v)?(t.exit("htmlFlowData"),U(v)):(t.consume(v),P)}function U(v){return t.exit("htmlFlow"),r(v)}}function Dv(t,r,i){const o=this;return a;function a(f){return je(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),u):i(f)}function u(f){return o.parser.lazy[o.now().line]?i(f):r(f)}}function Fv(t,r,i){return o;function o(a){return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),t.attempt(qo,r,i)}}const $v={name:"htmlText",tokenize:Bv};function Bv(t,r,i){const o=this;let a,u,f;return m;function m(k){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(k),g}function g(k){return k===33?(t.consume(k),h):k===47?(t.consume(k),F):k===63?(t.consume(k),T):on(k)?(t.consume(k),B):i(k)}function h(k){return k===45?(t.consume(k),y):k===91?(t.consume(k),u=0,M):on(k)?(t.consume(k),$):i(k)}function y(k){return k===45?(t.consume(k),b):i(k)}function w(k){return k===null?i(k):k===45?(t.consume(k),S):je(k)?(f=w,ge(k)):(t.consume(k),w)}function S(k){return k===45?(t.consume(k),b):w(k)}function b(k){return k===62?ae(k):k===45?S(k):w(k)}function M(k){const P="CDATA[";return k===P.charCodeAt(u++)?(t.consume(k),u===P.length?R:M):i(k)}function R(k){return k===null?i(k):k===93?(t.consume(k),z):je(k)?(f=R,ge(k)):(t.consume(k),R)}function z(k){return k===93?(t.consume(k),D):R(k)}function D(k){return k===62?ae(k):k===93?(t.consume(k),D):R(k)}function $(k){return k===null||k===62?ae(k):je(k)?(f=$,ge(k)):(t.consume(k),$)}function T(k){return k===null?i(k):k===63?(t.consume(k),te):je(k)?(f=T,ge(k)):(t.consume(k),T)}function te(k){return k===62?ae(k):T(k)}function F(k){return on(k)?(t.consume(k),O):i(k)}function O(k){return k===45||Tt(k)?(t.consume(k),O):re(k)}function re(k){return je(k)?(f=re,ge(k)):Ae(k)?(t.consume(k),re):ae(k)}function B(k){return k===45||Tt(k)?(t.consume(k),B):k===47||k===62||jt(k)?ee(k):i(k)}function ee(k){return k===47?(t.consume(k),ae):k===58||k===95||on(k)?(t.consume(k),he):je(k)?(f=ee,ge(k)):Ae(k)?(t.consume(k),ee):ae(k)}function he(k){return k===45||k===46||k===58||k===95||Tt(k)?(t.consume(k),he):ne(k)}function ne(k){return k===61?(t.consume(k),H):je(k)?(f=ne,ge(k)):Ae(k)?(t.consume(k),ne):ee(k)}function H(k){return k===null||k===60||k===61||k===62||k===96?i(k):k===34||k===39?(t.consume(k),a=k,we):je(k)?(f=H,ge(k)):Ae(k)?(t.consume(k),H):(t.consume(k),le)}function we(k){return k===a?(t.consume(k),a=void 0,q):k===null?i(k):je(k)?(f=we,ge(k)):(t.consume(k),we)}function le(k){return k===null||k===34||k===39||k===60||k===61||k===96?i(k):k===47||k===62||jt(k)?ee(k):(t.consume(k),le)}function q(k){return k===47||k===62||jt(k)?ee(k):i(k)}function ae(k){return k===62?(t.consume(k),t.exit("htmlTextData"),t.exit("htmlText"),r):i(k)}function ge(k){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),L}function L(k){return Ae(k)?Fe(t,Z,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):Z(k)}function Z(k){return t.enter("htmlTextData"),f(k)}}const Ku={name:"labelEnd",resolveAll:Wv,resolveTo:Kv,tokenize:Gv},Uv={tokenize:Qv},Vv={tokenize:qv},Hv={tokenize:Yv};function Wv(t){let r=-1;const i=[];for(;++r<t.length;){const o=t[r][1];if(i.push(t[r]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const a=o.type==="labelImage"?4:2;o.type="data",r+=a}}return t.length!==i.length&&sn(t,0,t.length,i),t}function Kv(t,r){let i=t.length,o=0,a,u,f,m;for(;i--;)if(a=t[i][1],u){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;t[i][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(f){if(t[i][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(u=i,a.type!=="labelLink")){o=2;break}}else a.type==="labelEnd"&&(f=i);const g={type:t[u][1].type==="labelLink"?"link":"image",start:{...t[u][1].start},end:{...t[t.length-1][1].end}},h={type:"label",start:{...t[u][1].start},end:{...t[f][1].end}},y={type:"labelText",start:{...t[u+o+2][1].end},end:{...t[f-2][1].start}};return m=[["enter",g,r],["enter",h,r]],m=Ut(m,t.slice(u+1,u+o+3)),m=Ut(m,[["enter",y,r]]),m=Ut(m,Wu(r.parser.constructs.insideSpan.null,t.slice(u+o+4,f-3),r)),m=Ut(m,[["exit",y,r],t[f-2],t[f-1],["exit",h,r]]),m=Ut(m,t.slice(f+1)),m=Ut(m,[["exit",g,r]]),sn(t,u,t.length,m),t}function Gv(t,r,i){const o=this;let a=o.events.length,u,f;for(;a--;)if((o.events[a][1].type==="labelImage"||o.events[a][1].type==="labelLink")&&!o.events[a][1]._balanced){u=o.events[a][1];break}return m;function m(S){return u?u._inactive?w(S):(f=o.parser.defined.includes(qr(o.sliceSerialize({start:u.end,end:o.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(S),t.exit("labelMarker"),t.exit("labelEnd"),g):i(S)}function g(S){return S===40?t.attempt(Uv,y,f?y:w)(S):S===91?t.attempt(Vv,y,f?h:w)(S):f?y(S):w(S)}function h(S){return t.attempt(Hv,y,w)(S)}function y(S){return r(S)}function w(S){return u._balanced=!0,i(S)}}function Qv(t,r,i){return o;function o(w){return t.enter("resource"),t.enter("resourceMarker"),t.consume(w),t.exit("resourceMarker"),a}function a(w){return jt(w)?qi(t,u)(w):u(w)}function u(w){return w===41?y(w):nh(t,f,m,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(w)}function f(w){return jt(w)?qi(t,g)(w):y(w)}function m(w){return i(w)}function g(w){return w===34||w===39||w===40?ih(t,h,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(w):y(w)}function h(w){return jt(w)?qi(t,y)(w):y(w)}function y(w){return w===41?(t.enter("resourceMarker"),t.consume(w),t.exit("resourceMarker"),t.exit("resource"),r):i(w)}}function qv(t,r,i){const o=this;return a;function a(m){return rh.call(o,t,u,f,"reference","referenceMarker","referenceString")(m)}function u(m){return o.parser.defined.includes(qr(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?r(m):i(m)}function f(m){return i(m)}}function Yv(t,r,i){return o;function o(u){return t.enter("reference"),t.enter("referenceMarker"),t.consume(u),t.exit("referenceMarker"),a}function a(u){return u===93?(t.enter("referenceMarker"),t.consume(u),t.exit("referenceMarker"),t.exit("reference"),r):i(u)}}const Xv={name:"labelStartImage",resolveAll:Ku.resolveAll,tokenize:Zv};function Zv(t,r,i){const o=this;return a;function a(m){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(m),t.exit("labelImageMarker"),u}function u(m){return m===91?(t.enter("labelMarker"),t.consume(m),t.exit("labelMarker"),t.exit("labelImage"),f):i(m)}function f(m){return m===94&&"_hiddenFootnoteSupport"in o.parser.constructs?i(m):r(m)}}const Jv={name:"labelStartLink",resolveAll:Ku.resolveAll,tokenize:e2};function e2(t,r,i){const o=this;return a;function a(f){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(f),t.exit("labelMarker"),t.exit("labelLink"),u}function u(f){return f===94&&"_hiddenFootnoteSupport"in o.parser.constructs?i(f):r(f)}}const qa={name:"lineEnding",tokenize:t2};function t2(t,r){return i;function i(o){return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),Fe(t,r,"linePrefix")}}const Ho={name:"thematicBreak",tokenize:n2};function n2(t,r,i){let o=0,a;return u;function u(h){return t.enter("thematicBreak"),f(h)}function f(h){return a=h,m(h)}function m(h){return h===a?(t.enter("thematicBreakSequence"),g(h)):o>=3&&(h===null||je(h))?(t.exit("thematicBreak"),r(h)):i(h)}function g(h){return h===a?(t.consume(h),o++,g):(t.exit("thematicBreakSequence"),Ae(h)?Fe(t,m,"whitespace")(h):m(h))}}const St={continuation:{tokenize:o2},exit:a2,name:"list",tokenize:l2},r2={partial:!0,tokenize:u2},i2={partial:!0,tokenize:s2};function l2(t,r,i){const o=this,a=o.events[o.events.length-1];let u=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,f=0;return m;function m(b){const M=o.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(M==="listUnordered"?!o.containerState.marker||b===o.containerState.marker:ju(b)){if(o.containerState.type||(o.containerState.type=M,t.enter(M,{_container:!0})),M==="listUnordered")return t.enter("listItemPrefix"),b===42||b===45?t.check(Ho,i,h)(b):h(b);if(!o.interrupt||b===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),g(b)}return i(b)}function g(b){return ju(b)&&++f<10?(t.consume(b),g):(!o.interrupt||f<2)&&(o.containerState.marker?b===o.containerState.marker:b===41||b===46)?(t.exit("listItemValue"),h(b)):i(b)}function h(b){return t.enter("listItemMarker"),t.consume(b),t.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||b,t.check(qo,o.interrupt?i:y,t.attempt(r2,S,w))}function y(b){return o.containerState.initialBlankLine=!0,u++,S(b)}function w(b){return Ae(b)?(t.enter("listItemPrefixWhitespace"),t.consume(b),t.exit("listItemPrefixWhitespace"),S):i(b)}function S(b){return o.containerState.size=u+o.sliceSerialize(t.exit("listItemPrefix"),!0).length,r(b)}}function o2(t,r,i){const o=this;return o.containerState._closeFlow=void 0,t.check(qo,a,u);function a(m){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Fe(t,r,"listItemIndent",o.containerState.size+1)(m)}function u(m){return o.containerState.furtherBlankLines||!Ae(m)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,f(m)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,t.attempt(i2,r,f)(m))}function f(m){return o.containerState._closeFlow=!0,o.interrupt=void 0,Fe(t,t.attempt(St,r,i),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m)}}function s2(t,r,i){const o=this;return Fe(t,a,"listItemIndent",o.containerState.size+1);function a(u){const f=o.events[o.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===o.containerState.size?r(u):i(u)}}function a2(t){t.exit(this.containerState.type)}function u2(t,r,i){const o=this;return Fe(t,a,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(u){const f=o.events[o.events.length-1];return!Ae(u)&&f&&f[1].type==="listItemPrefixWhitespace"?r(u):i(u)}}const kp={name:"setextUnderline",resolveTo:c2,tokenize:f2};function c2(t,r){let i=t.length,o,a,u;for(;i--;)if(t[i][0]==="enter"){if(t[i][1].type==="content"){o=i;break}t[i][1].type==="paragraph"&&(a=i)}else t[i][1].type==="content"&&t.splice(i,1),!u&&t[i][1].type==="definition"&&(u=i);const f={type:"setextHeading",start:{...t[o][1].start},end:{...t[t.length-1][1].end}};return t[a][1].type="setextHeadingText",u?(t.splice(a,0,["enter",f,r]),t.splice(u+1,0,["exit",t[o][1],r]),t[o][1].end={...t[u][1].end}):t[o][1]=f,t.push(["exit",f,r]),t}function f2(t,r,i){const o=this;let a;return u;function u(h){let y=o.events.length,w;for(;y--;)if(o.events[y][1].type!=="lineEnding"&&o.events[y][1].type!=="linePrefix"&&o.events[y][1].type!=="content"){w=o.events[y][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||w)?(t.enter("setextHeadingLine"),a=h,f(h)):i(h)}function f(h){return t.enter("setextHeadingLineSequence"),m(h)}function m(h){return h===a?(t.consume(h),m):(t.exit("setextHeadingLineSequence"),Ae(h)?Fe(t,g,"lineSuffix")(h):g(h))}function g(h){return h===null||je(h)?(t.exit("setextHeadingLine"),r(h)):i(h)}}const d2={tokenize:p2};function p2(t){const r=this,i=t.attempt(qo,o,t.attempt(this.parser.constructs.flowInitial,a,Fe(t,t.attempt(this.parser.constructs.flow,a,t.attempt(xv,a)),"linePrefix")));return i;function o(u){if(u===null){t.consume(u);return}return t.enter("lineEndingBlank"),t.consume(u),t.exit("lineEndingBlank"),r.currentConstruct=void 0,i}function a(u){if(u===null){t.consume(u);return}return t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),r.currentConstruct=void 0,i}}const m2={resolveAll:oh()},h2=lh("string"),g2=lh("text");function lh(t){return{resolveAll:oh(t==="text"?y2:void 0),tokenize:r};function r(i){const o=this,a=this.parser.constructs[t],u=i.attempt(a,f,m);return f;function f(y){return h(y)?u(y):m(y)}function m(y){if(y===null){i.consume(y);return}return i.enter("data"),i.consume(y),g}function g(y){return h(y)?(i.exit("data"),u(y)):(i.consume(y),g)}function h(y){if(y===null)return!0;const w=a[y];let S=-1;if(w)for(;++S<w.length;){const b=w[S];if(!b.previous||b.previous.call(o,o.previous))return!0}return!1}}}function oh(t){return r;function r(i,o){let a=-1,u;for(;++a<=i.length;)u===void 0?i[a]&&i[a][1].type==="data"&&(u=a,a++):(!i[a]||i[a][1].type!=="data")&&(a!==u+2&&(i[u][1].end=i[a-1][1].end,i.splice(u+2,a-u-2),a=u+2),u=void 0);return t?t(i,o):i}}function y2(t,r){let i=0;for(;++i<=t.length;)if((i===t.length||t[i][1].type==="lineEnding")&&t[i-1][1].type==="data"){const o=t[i-1][1],a=r.sliceStream(o);let u=a.length,f=-1,m=0,g;for(;u--;){const h=a[u];if(typeof h=="string"){for(f=h.length;h.charCodeAt(f-1)===32;)m++,f--;if(f)break;f=-1}else if(h===-2)g=!0,m++;else if(h!==-1){u++;break}}if(r._contentTypeTextTrailing&&i===t.length&&(m=0),m){const h={type:i===t.length||g||m<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?f:o.start._bufferIndex+f,_index:o.start._index+u,line:o.end.line,column:o.end.column-m,offset:o.end.offset-m},end:{...o.end}};o.end={...h.start},o.start.offset===o.end.offset?Object.assign(o,h):(t.splice(i,0,["enter",h,r],["exit",h,r]),i+=2)}i++}return t}const x2={42:St,43:St,45:St,48:St,49:St,50:St,51:St,52:St,53:St,54:St,55:St,56:St,57:St,62:Zm},v2={91:Sv},w2={[-2]:Qa,[-1]:Qa,32:Qa},k2={35:Ov,42:Ho,45:[kp,Ho],60:Tv,61:kp,95:Ho,96:vp,126:vp},b2={38:eh,92:Jm},S2={[-5]:qa,[-4]:qa,[-3]:qa,33:Xv,38:eh,42:Cu,60:[Jx,$v],91:Jv,92:[Nv,Jm],93:Ku,95:Cu,96:dv},j2={null:[Cu,m2]},C2={null:[42,95]},P2={null:[]},N2=Object.defineProperty({__proto__:null,attentionMarkers:C2,contentInitial:v2,disable:P2,document:x2,flow:k2,flowInitial:w2,insideSpan:j2,string:b2,text:S2},Symbol.toStringTag,{value:"Module"});function E2(t,r,i){let o={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const a={},u=[];let f=[],m=[];const g={attempt:re(F),check:re(O),consume:$,enter:T,exit:te,interrupt:re(O,{interrupt:!0})},h={code:null,containerState:{},defineSkip:R,events:[],now:M,parser:t,previous:null,sliceSerialize:S,sliceStream:b,write:w};let y=r.tokenize.call(h,g);return r.resolveAll&&u.push(r),h;function w(ne){return f=Ut(f,ne),z(),f[f.length-1]!==null?[]:(B(r,0),h.events=Wu(u,h.events,h),h.events)}function S(ne,H){return _2(b(ne),H)}function b(ne){return O2(f,ne)}function M(){const{_bufferIndex:ne,_index:H,line:we,column:le,offset:q}=o;return{_bufferIndex:ne,_index:H,line:we,column:le,offset:q}}function R(ne){a[ne.line]=ne.column,he()}function z(){let ne;for(;o._index<f.length;){const H=f[o._index];if(typeof H=="string")for(ne=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===ne&&o._bufferIndex<H.length;)D(H.charCodeAt(o._bufferIndex));else D(H)}}function D(ne){y=y(ne)}function $(ne){je(ne)?(o.line++,o.column=1,o.offset+=ne===-3?2:1,he()):ne!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===f[o._index].length&&(o._bufferIndex=-1,o._index++)),h.previous=ne}function T(ne,H){const we=H||{};return we.type=ne,we.start=M(),h.events.push(["enter",we,h]),m.push(we),we}function te(ne){const H=m.pop();return H.end=M(),h.events.push(["exit",H,h]),H}function F(ne,H){B(ne,H.from)}function O(ne,H){H.restore()}function re(ne,H){return we;function we(le,q,ae){let ge,L,Z,k;return Array.isArray(le)?U(le):"tokenize"in le?U([le]):P(le);function P(oe){return Ce;function Ce(ke){const ye=ke!==null&&oe[ke],He=ke!==null&&oe.null,gt=[...Array.isArray(ye)?ye:ye?[ye]:[],...Array.isArray(He)?He:He?[He]:[]];return U(gt)(ke)}}function U(oe){return ge=oe,L=0,oe.length===0?ae:v(oe[L])}function v(oe){return Ce;function Ce(ke){return k=ee(),Z=oe,oe.partial||(h.currentConstruct=oe),oe.name&&h.parser.constructs.disable.null.includes(oe.name)?Y():oe.tokenize.call(H?Object.assign(Object.create(h),H):h,g,G,Y)(ke)}}function G(oe){return ne(Z,k),q}function Y(oe){return k.restore(),++L<ge.length?v(ge[L]):ae}}}function B(ne,H){ne.resolveAll&&!u.includes(ne)&&u.push(ne),ne.resolve&&sn(h.events,H,h.events.length-H,ne.resolve(h.events.slice(H),h)),ne.resolveTo&&(h.events=ne.resolveTo(h.events,h))}function ee(){const ne=M(),H=h.previous,we=h.currentConstruct,le=h.events.length,q=Array.from(m);return{from:le,restore:ae};function ae(){o=ne,h.previous=H,h.currentConstruct=we,h.events.length=le,m=q,he()}}function he(){o.line in a&&o.column<2&&(o.column=a[o.line],o.offset+=a[o.line]-1)}}function O2(t,r){const i=r.start._index,o=r.start._bufferIndex,a=r.end._index,u=r.end._bufferIndex;let f;if(i===a)f=[t[i].slice(o,u)];else{if(f=t.slice(i,a),o>-1){const m=f[0];typeof m=="string"?f[0]=m.slice(o):f.shift()}u>0&&f.push(t[a].slice(0,u))}return f}function _2(t,r){let i=-1;const o=[];let a;for(;++i<t.length;){const u=t[i];let f;if(typeof u=="string")f=u;else switch(u){case-5:{f="\r";break}case-4:{f=`
10
+ `;break}case-3:{f=`\r
11
+ `;break}case-2:{f=r?" ":" ";break}case-1:{if(!r&&a)continue;f=" ";break}default:f=String.fromCharCode(u)}a=u===-2,o.push(f)}return o.join("")}function z2(t){const o={constructs:Dx([N2,...(t||{}).extensions||[]]),content:a(Kx),defined:[],document:a(Qx),flow:a(d2),lazy:{},string:a(h2),text:a(g2)};return o;function a(u){return f;function f(m){return E2(o,u,m)}}}function I2(t){for(;!th(t););return t}const bp=/[\0\t\n\r]/g;function T2(){let t=1,r="",i=!0,o;return a;function a(u,f,m){const g=[];let h,y,w,S,b;for(u=r+(typeof u=="string"?u.toString():new TextDecoder(f||void 0).decode(u)),w=0,r="",i&&(u.charCodeAt(0)===65279&&w++,i=void 0);w<u.length;){if(bp.lastIndex=w,h=bp.exec(u),S=h&&h.index!==void 0?h.index:u.length,b=u.charCodeAt(S),!h){r=u.slice(w);break}if(b===10&&w===S&&o)g.push(-3),o=void 0;else switch(o&&(g.push(-5),o=void 0),w<S&&(g.push(u.slice(w,S)),t+=S-w),b){case 0:{g.push(65533),t++;break}case 9:{for(y=Math.ceil(t/4)*4,g.push(-2);t++<y;)g.push(-1);break}case 10:{g.push(-4),t=1;break}default:o=!0,t=1}w=S+1}return m&&(o&&g.push(-5),r&&g.push(r),g.push(null)),g}}const A2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function L2(t){return t.replace(A2,M2)}function M2(t,r,i){if(r)return r;if(i.charCodeAt(0)===35){const a=i.charCodeAt(1),u=a===120||a===88;return Xm(i.slice(u?2:1),u?16:10)}return Hu(i)||t}const sh={}.hasOwnProperty;function R2(t,r,i){return typeof r!="string"&&(i=r,r=void 0),D2(i)(I2(z2(i).document().write(T2()(t,r,!0))))}function D2(t){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(vr),autolinkProtocol:ee,autolinkEmail:ee,atxHeading:u(ri),blockQuote:u(He),characterEscape:ee,characterReference:ee,codeFenced:u(gt),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:u(gt,f),codeText:u(an,f),codeTextData:ee,data:ee,codeFlowValue:ee,definition:u(Yt),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:u(Xt),hardBreakEscape:u(ii),hardBreakTrailing:u(ii),htmlFlow:u(xr,f),htmlFlowData:ee,htmlText:u(xr,f),htmlTextData:ee,image:u(jl),label:f,link:u(vr),listItem:u(kn),listItemValue:S,listOrdered:u(wn,w),listUnordered:u(wn),paragraph:u(li),reference:v,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:u(ri),strong:u(Cl),thematicBreak:u(Nl)},exit:{atxHeading:g(),atxHeadingSequence:F,autolink:g(),autolinkEmail:ye,autolinkProtocol:ke,blockQuote:g(),characterEscapeValue:he,characterReferenceMarkerHexadecimal:Y,characterReferenceMarkerNumeric:Y,characterReferenceValue:oe,characterReference:Ce,codeFenced:g(z),codeFencedFence:R,codeFencedFenceInfo:b,codeFencedFenceMeta:M,codeFlowValue:he,codeIndented:g(D),codeText:g(q),codeTextData:he,data:he,definition:g(),definitionDestinationString:te,definitionLabelString:$,definitionTitleString:T,emphasis:g(),hardBreakEscape:g(H),hardBreakTrailing:g(H),htmlFlow:g(we),htmlFlowData:he,htmlText:g(le),htmlTextData:he,image:g(ge),label:Z,labelText:L,lineEnding:ne,link:g(ae),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:G,resourceDestinationString:k,resourceTitleString:P,resource:U,setextHeading:g(B),setextHeadingLineSequence:re,setextHeadingText:O,strong:g(),thematicBreak:g()}};ah(r,(t||{}).mdastExtensions||[]);const i={};return o;function o(V){let ie={type:"root",children:[]};const be={stack:[ie],tokenStack:[],config:r,enter:m,exit:h,buffer:f,resume:y,data:i},Ee=[];let ze=-1;for(;++ze<V.length;)if(V[ze][1].type==="listOrdered"||V[ze][1].type==="listUnordered")if(V[ze][0]==="enter")Ee.push(ze);else{const lt=Ee.pop();ze=a(V,lt,ze)}for(ze=-1;++ze<V.length;){const lt=r[V[ze][0]];sh.call(lt,V[ze][1].type)&&lt[V[ze][1].type].call(Object.assign({sliceSerialize:V[ze][2].sliceSerialize},be),V[ze][1])}if(be.tokenStack.length>0){const lt=be.tokenStack[be.tokenStack.length-1];(lt[1]||Sp).call(be,void 0,lt[0])}for(ie.position={start:Hn(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:Hn(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},ze=-1;++ze<r.transforms.length;)ie=r.transforms[ze](ie)||ie;return ie}function a(V,ie,be){let Ee=ie-1,ze=-1,lt=!1,un,Lt,bn,qn;for(;++Ee<=be;){const ot=V[Ee];switch(ot[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ot[0]==="enter"?ze++:ze--,qn=void 0;break}case"lineEndingBlank":{ot[0]==="enter"&&(un&&!qn&&!ze&&!bn&&(bn=Ee),qn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:qn=void 0}if(!ze&&ot[0]==="enter"&&ot[1].type==="listItemPrefix"||ze===-1&&ot[0]==="exit"&&(ot[1].type==="listUnordered"||ot[1].type==="listOrdered")){if(un){let Zt=Ee;for(Lt=void 0;Zt--;){const Pt=V[Zt];if(Pt[1].type==="lineEnding"||Pt[1].type==="lineEndingBlank"){if(Pt[0]==="exit")continue;Lt&&(V[Lt][1].type="lineEndingBlank",lt=!0),Pt[1].type="lineEnding",Lt=Zt}else if(!(Pt[1].type==="linePrefix"||Pt[1].type==="blockQuotePrefix"||Pt[1].type==="blockQuotePrefixWhitespace"||Pt[1].type==="blockQuoteMarker"||Pt[1].type==="listItemIndent"))break}bn&&(!Lt||bn<Lt)&&(un._spread=!0),un.end=Object.assign({},Lt?V[Lt][1].start:ot[1].end),V.splice(Lt||Ee,0,["exit",un,ot[2]]),Ee++,be++}if(ot[1].type==="listItemPrefix"){const Zt={type:"listItem",_spread:!1,start:Object.assign({},ot[1].start),end:void 0};un=Zt,V.splice(Ee,0,["enter",Zt,ot[2]]),Ee++,be++,bn=void 0,qn=!0}}}return V[ie][1]._spread=lt,be}function u(V,ie){return be;function be(Ee){m.call(this,V(Ee),Ee),ie&&ie.call(this,Ee)}}function f(){this.stack.push({type:"fragment",children:[]})}function m(V,ie,be){this.stack[this.stack.length-1].children.push(V),this.stack.push(V),this.tokenStack.push([ie,be||void 0]),V.position={start:Hn(ie.start),end:void 0}}function g(V){return ie;function ie(be){V&&V.call(this,be),h.call(this,be)}}function h(V,ie){const be=this.stack.pop(),Ee=this.tokenStack.pop();if(Ee)Ee[0].type!==V.type&&(ie?ie.call(this,V,Ee[0]):(Ee[1]||Sp).call(this,V,Ee[0]));else throw new Error("Cannot close `"+V.type+"` ("+Qi({start:V.start,end:V.end})+"): it’s not open");be.position.end=Hn(V.end)}function y(){return Mx(this.stack.pop())}function w(){this.data.expectingFirstListItemValue=!0}function S(V){if(this.data.expectingFirstListItemValue){const ie=this.stack[this.stack.length-2];ie.start=Number.parseInt(this.sliceSerialize(V),10),this.data.expectingFirstListItemValue=void 0}}function b(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.lang=V}function M(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.meta=V}function R(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function z(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.value=V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function D(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.value=V.replace(/(\r?\n|\r)$/g,"")}function $(V){const ie=this.resume(),be=this.stack[this.stack.length-1];be.label=ie,be.identifier=qr(this.sliceSerialize(V)).toLowerCase()}function T(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.title=V}function te(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.url=V}function F(V){const ie=this.stack[this.stack.length-1];if(!ie.depth){const be=this.sliceSerialize(V).length;ie.depth=be}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function re(V){const ie=this.stack[this.stack.length-1];ie.depth=this.sliceSerialize(V).codePointAt(0)===61?1:2}function B(){this.data.setextHeadingSlurpLineEnding=void 0}function ee(V){const be=this.stack[this.stack.length-1].children;let Ee=be[be.length-1];(!Ee||Ee.type!=="text")&&(Ee=Pl(),Ee.position={start:Hn(V.start),end:void 0},be.push(Ee)),this.stack.push(Ee)}function he(V){const ie=this.stack.pop();ie.value+=this.sliceSerialize(V),ie.position.end=Hn(V.end)}function ne(V){const ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const be=ie.children[ie.children.length-1];be.position.end=Hn(V.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(ie.type)&&(ee.call(this,V),he.call(this,V))}function H(){this.data.atHardBreak=!0}function we(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.value=V}function le(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.value=V}function q(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.value=V}function ae(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=ie,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function ge(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=ie,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function L(V){const ie=this.sliceSerialize(V),be=this.stack[this.stack.length-2];be.label=L2(ie),be.identifier=qr(ie).toLowerCase()}function Z(){const V=this.stack[this.stack.length-1],ie=this.resume(),be=this.stack[this.stack.length-1];if(this.data.inReference=!0,be.type==="link"){const Ee=V.children;be.children=Ee}else be.alt=ie}function k(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.url=V}function P(){const V=this.resume(),ie=this.stack[this.stack.length-1];ie.title=V}function U(){this.data.inReference=void 0}function v(){this.data.referenceType="collapsed"}function G(V){const ie=this.resume(),be=this.stack[this.stack.length-1];be.label=ie,be.identifier=qr(this.sliceSerialize(V)).toLowerCase(),this.data.referenceType="full"}function Y(V){this.data.characterReferenceType=V.type}function oe(V){const ie=this.sliceSerialize(V),be=this.data.characterReferenceType;let Ee;be?(Ee=Xm(ie,be==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ee=Hu(ie);const ze=this.stack[this.stack.length-1];ze.value+=Ee}function Ce(V){const ie=this.stack.pop();ie.position.end=Hn(V.end)}function ke(V){he.call(this,V);const ie=this.stack[this.stack.length-1];ie.url=this.sliceSerialize(V)}function ye(V){he.call(this,V);const ie=this.stack[this.stack.length-1];ie.url="mailto:"+this.sliceSerialize(V)}function He(){return{type:"blockquote",children:[]}}function gt(){return{type:"code",lang:null,meta:null,value:""}}function an(){return{type:"inlineCode",value:""}}function Yt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Xt(){return{type:"emphasis",children:[]}}function ri(){return{type:"heading",depth:0,children:[]}}function ii(){return{type:"break"}}function xr(){return{type:"html",value:""}}function jl(){return{type:"image",title:null,url:"",alt:null}}function vr(){return{type:"link",title:null,url:"",children:[]}}function wn(V){return{type:"list",ordered:V.type==="listOrdered",start:null,spread:V._spread,children:[]}}function kn(V){return{type:"listItem",spread:V._spread,checked:null,children:[]}}function li(){return{type:"paragraph",children:[]}}function Cl(){return{type:"strong",children:[]}}function Pl(){return{type:"text",value:""}}function Nl(){return{type:"thematicBreak"}}}function Hn(t){return{line:t.line,column:t.column,offset:t.offset}}function ah(t,r){let i=-1;for(;++i<r.length;){const o=r[i];Array.isArray(o)?ah(t,o):F2(t,o)}}function F2(t,r){let i;for(i in r)if(sh.call(r,i))switch(i){case"canContainEols":{const o=r[i];o&&t[i].push(...o);break}case"transforms":{const o=r[i];o&&t[i].push(...o);break}case"enter":case"exit":{const o=r[i];o&&Object.assign(t[i],o);break}}}function Sp(t,r){throw t?new Error("Cannot close `"+t.type+"` ("+Qi({start:t.start,end:t.end})+"): a different token (`"+r.type+"`, "+Qi({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Qi({start:r.start,end:r.end})+") is still open")}function $2(t){const r=this;r.parser=i;function i(o){return R2(o,{...r.data("settings"),...t,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function B2(t,r){const i={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(r),!0)};return t.patch(r,i),t.applyData(r,i)}function U2(t,r){const i={type:"element",tagName:"br",properties:{},children:[]};return t.patch(r,i),[t.applyData(r,i),{type:"text",value:`
12
+ `}]}function V2(t,r){const i=r.value?r.value+`
13
+ `:"",o={},a=r.lang?r.lang.split(/\s+/):[];a.length>0&&(o.className=["language-"+a[0]]);let u={type:"element",tagName:"code",properties:o,children:[{type:"text",value:i}]};return r.meta&&(u.data={meta:r.meta}),t.patch(r,u),u=t.applyData(r,u),u={type:"element",tagName:"pre",properties:{},children:[u]},t.patch(r,u),u}function H2(t,r){const i={type:"element",tagName:"del",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function W2(t,r){const i={type:"element",tagName:"em",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function K2(t,r){const i=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",o=String(r.identifier).toUpperCase(),a=ei(o.toLowerCase()),u=t.footnoteOrder.indexOf(o);let f,m=t.footnoteCounts.get(o);m===void 0?(m=0,t.footnoteOrder.push(o),f=t.footnoteOrder.length):f=u+1,m+=1,t.footnoteCounts.set(o,m);const g={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+a,id:i+"fnref-"+a+(m>1?"-"+m:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(f)}]};t.patch(r,g);const h={type:"element",tagName:"sup",properties:{},children:[g]};return t.patch(r,h),t.applyData(r,h)}function G2(t,r){const i={type:"element",tagName:"h"+r.depth,properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function Q2(t,r){if(t.options.allowDangerousHtml){const i={type:"raw",value:r.value};return t.patch(r,i),t.applyData(r,i)}}function uh(t,r){const i=r.referenceType;let o="]";if(i==="collapsed"?o+="[]":i==="full"&&(o+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+o}];const a=t.all(r),u=a[0];u&&u.type==="text"?u.value="["+u.value:a.unshift({type:"text",value:"["});const f=a[a.length-1];return f&&f.type==="text"?f.value+=o:a.push({type:"text",value:o}),a}function q2(t,r){const i=String(r.identifier).toUpperCase(),o=t.definitionById.get(i);if(!o)return uh(t,r);const a={src:ei(o.url||""),alt:r.alt};o.title!==null&&o.title!==void 0&&(a.title=o.title);const u={type:"element",tagName:"img",properties:a,children:[]};return t.patch(r,u),t.applyData(r,u)}function Y2(t,r){const i={src:ei(r.url)};r.alt!==null&&r.alt!==void 0&&(i.alt=r.alt),r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return t.patch(r,o),t.applyData(r,o)}function X2(t,r){const i={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};t.patch(r,i);const o={type:"element",tagName:"code",properties:{},children:[i]};return t.patch(r,o),t.applyData(r,o)}function Z2(t,r){const i=String(r.identifier).toUpperCase(),o=t.definitionById.get(i);if(!o)return uh(t,r);const a={href:ei(o.url||"")};o.title!==null&&o.title!==void 0&&(a.title=o.title);const u={type:"element",tagName:"a",properties:a,children:t.all(r)};return t.patch(r,u),t.applyData(r,u)}function J2(t,r){const i={href:ei(r.url)};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:t.all(r)};return t.patch(r,o),t.applyData(r,o)}function ew(t,r,i){const o=t.all(r),a=i?tw(i):ch(r),u={},f=[];if(typeof r.checked=="boolean"){const y=o[0];let w;y&&y.type==="element"&&y.tagName==="p"?w=y:(w={type:"element",tagName:"p",properties:{},children:[]},o.unshift(w)),w.children.length>0&&w.children.unshift({type:"text",value:" "}),w.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let m=-1;for(;++m<o.length;){const y=o[m];(a||m!==0||y.type!=="element"||y.tagName!=="p")&&f.push({type:"text",value:`
14
+ `}),y.type==="element"&&y.tagName==="p"&&!a?f.push(...y.children):f.push(y)}const g=o[o.length-1];g&&(a||g.type!=="element"||g.tagName!=="p")&&f.push({type:"text",value:`
15
+ `});const h={type:"element",tagName:"li",properties:u,children:f};return t.patch(r,h),t.applyData(r,h)}function tw(t){let r=!1;if(t.type==="list"){r=t.spread||!1;const i=t.children;let o=-1;for(;!r&&++o<i.length;)r=ch(i[o])}return r}function ch(t){const r=t.spread;return r??t.children.length>1}function nw(t,r){const i={},o=t.all(r);let a=-1;for(typeof r.start=="number"&&r.start!==1&&(i.start=r.start);++a<o.length;){const f=o[a];if(f.type==="element"&&f.tagName==="li"&&f.properties&&Array.isArray(f.properties.className)&&f.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const u={type:"element",tagName:r.ordered?"ol":"ul",properties:i,children:t.wrap(o,!0)};return t.patch(r,u),t.applyData(r,u)}function rw(t,r){const i={type:"element",tagName:"p",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function iw(t,r){const i={type:"root",children:t.wrap(t.all(r))};return t.patch(r,i),t.applyData(r,i)}function lw(t,r){const i={type:"element",tagName:"strong",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}function ow(t,r){const i=t.all(r),o=i.shift(),a=[];if(o){const f={type:"element",tagName:"thead",properties:{},children:t.wrap([o],!0)};t.patch(r.children[0],f),a.push(f)}if(i.length>0){const f={type:"element",tagName:"tbody",properties:{},children:t.wrap(i,!0)},m=$u(r.children[1]),g=Hm(r.children[r.children.length-1]);m&&g&&(f.position={start:m,end:g}),a.push(f)}const u={type:"element",tagName:"table",properties:{},children:t.wrap(a,!0)};return t.patch(r,u),t.applyData(r,u)}function sw(t,r,i){const o=i?i.children:void 0,u=(o?o.indexOf(r):1)===0?"th":"td",f=i&&i.type==="table"?i.align:void 0,m=f?f.length:r.children.length;let g=-1;const h=[];for(;++g<m;){const w=r.children[g],S={},b=f?f[g]:void 0;b&&(S.align=b);let M={type:"element",tagName:u,properties:S,children:[]};w&&(M.children=t.all(w),t.patch(w,M),M=t.applyData(w,M)),h.push(M)}const y={type:"element",tagName:"tr",properties:{},children:t.wrap(h,!0)};return t.patch(r,y),t.applyData(r,y)}function aw(t,r){const i={type:"element",tagName:"td",properties:{},children:t.all(r)};return t.patch(r,i),t.applyData(r,i)}const jp=9,Cp=32;function uw(t){const r=String(t),i=/\r?\n|\r/g;let o=i.exec(r),a=0;const u=[];for(;o;)u.push(Pp(r.slice(a,o.index),a>0,!0),o[0]),a=o.index+o[0].length,o=i.exec(r);return u.push(Pp(r.slice(a),a>0,!1)),u.join("")}function Pp(t,r,i){let o=0,a=t.length;if(r){let u=t.codePointAt(o);for(;u===jp||u===Cp;)o++,u=t.codePointAt(o)}if(i){let u=t.codePointAt(a-1);for(;u===jp||u===Cp;)a--,u=t.codePointAt(a-1)}return a>o?t.slice(o,a):""}function cw(t,r){const i={type:"text",value:uw(String(r.value))};return t.patch(r,i),t.applyData(r,i)}function fw(t,r){const i={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(r,i),t.applyData(r,i)}const dw={blockquote:B2,break:U2,code:V2,delete:H2,emphasis:W2,footnoteReference:K2,heading:G2,html:Q2,imageReference:q2,image:Y2,inlineCode:X2,linkReference:Z2,link:J2,listItem:ew,list:nw,paragraph:rw,root:iw,strong:lw,table:ow,tableCell:aw,tableRow:sw,text:cw,thematicBreak:fw,toml:Fo,yaml:Fo,definition:Fo,footnoteDefinition:Fo};function Fo(){}const fh=-1,Yo=0,Yi=1,Ko=2,Gu=3,Qu=4,qu=5,Yu=6,dh=7,ph=8,Np=typeof self=="object"?self:globalThis,pw=(t,r)=>{const i=(a,u)=>(t.set(u,a),a),o=a=>{if(t.has(a))return t.get(a);const[u,f]=r[a];switch(u){case Yo:case fh:return i(f,a);case Yi:{const m=i([],a);for(const g of f)m.push(o(g));return m}case Ko:{const m=i({},a);for(const[g,h]of f)m[o(g)]=o(h);return m}case Gu:return i(new Date(f),a);case Qu:{const{source:m,flags:g}=f;return i(new RegExp(m,g),a)}case qu:{const m=i(new Map,a);for(const[g,h]of f)m.set(o(g),o(h));return m}case Yu:{const m=i(new Set,a);for(const g of f)m.add(o(g));return m}case dh:{const{name:m,message:g}=f;return i(new Np[m](g),a)}case ph:return i(BigInt(f),a);case"BigInt":return i(Object(BigInt(f)),a);case"ArrayBuffer":return i(new Uint8Array(f).buffer,f);case"DataView":{const{buffer:m}=new Uint8Array(f);return i(new DataView(m),f)}}return i(new Np[u](f),a)};return o},Ep=t=>pw(new Map,t)(0),Wr="",{toString:mw}={},{keys:hw}=Object,Gi=t=>{const r=typeof t;if(r!=="object"||!t)return[Yo,r];const i=mw.call(t).slice(8,-1);switch(i){case"Array":return[Yi,Wr];case"Object":return[Ko,Wr];case"Date":return[Gu,Wr];case"RegExp":return[Qu,Wr];case"Map":return[qu,Wr];case"Set":return[Yu,Wr];case"DataView":return[Yi,i]}return i.includes("Array")?[Yi,i]:i.includes("Error")?[dh,i]:[Ko,i]},$o=([t,r])=>t===Yo&&(r==="function"||r==="symbol"),gw=(t,r,i,o)=>{const a=(f,m)=>{const g=o.push(f)-1;return i.set(m,g),g},u=f=>{if(i.has(f))return i.get(f);let[m,g]=Gi(f);switch(m){case Yo:{let y=f;switch(g){case"bigint":m=ph,y=f.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+g);y=null;break;case"undefined":return a([fh],f)}return a([m,y],f)}case Yi:{if(g){let S=f;return g==="DataView"?S=new Uint8Array(f.buffer):g==="ArrayBuffer"&&(S=new Uint8Array(f)),a([g,[...S]],f)}const y=[],w=a([m,y],f);for(const S of f)y.push(u(S));return w}case Ko:{if(g)switch(g){case"BigInt":return a([g,f.toString()],f);case"Boolean":case"Number":case"String":return a([g,f.valueOf()],f)}if(r&&"toJSON"in f)return u(f.toJSON());const y=[],w=a([m,y],f);for(const S of hw(f))(t||!$o(Gi(f[S])))&&y.push([u(S),u(f[S])]);return w}case Gu:return a([m,f.toISOString()],f);case Qu:{const{source:y,flags:w}=f;return a([m,{source:y,flags:w}],f)}case qu:{const y=[],w=a([m,y],f);for(const[S,b]of f)(t||!($o(Gi(S))||$o(Gi(b))))&&y.push([u(S),u(b)]);return w}case Yu:{const y=[],w=a([m,y],f);for(const S of f)(t||!$o(Gi(S)))&&y.push(u(S));return w}}const{message:h}=f;return a([m,{name:g,message:h}],f)};return u},Op=(t,{json:r,lossy:i}={})=>{const o=[];return gw(!(r||i),!!r,new Map,o)(t),o},Go=typeof structuredClone=="function"?(t,r)=>r&&("json"in r||"lossy"in r)?Ep(Op(t,r)):structuredClone(t):(t,r)=>Ep(Op(t,r));function yw(t,r){const i=[{type:"text",value:"↩"}];return r>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),i}function xw(t,r){return"Back to reference "+(t+1)+(r>1?"-"+r:"")}function vw(t){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=t.options.footnoteBackContent||yw,o=t.options.footnoteBackLabel||xw,a=t.options.footnoteLabel||"Footnotes",u=t.options.footnoteLabelTagName||"h2",f=t.options.footnoteLabelProperties||{className:["sr-only"]},m=[];let g=-1;for(;++g<t.footnoteOrder.length;){const h=t.footnoteById.get(t.footnoteOrder[g]);if(!h)continue;const y=t.all(h),w=String(h.identifier).toUpperCase(),S=ei(w.toLowerCase());let b=0;const M=[],R=t.footnoteCounts.get(w);for(;R!==void 0&&++b<=R;){M.length>0&&M.push({type:"text",value:" "});let $=typeof i=="string"?i:i(g,b);typeof $=="string"&&($={type:"text",value:$}),M.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+S+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(g,b),className:["data-footnote-backref"]},children:Array.isArray($)?$:[$]})}const z=y[y.length-1];if(z&&z.type==="element"&&z.tagName==="p"){const $=z.children[z.children.length-1];$&&$.type==="text"?$.value+=" ":z.children.push({type:"text",value:" "}),z.children.push(...M)}else y.push(...M);const D={type:"element",tagName:"li",properties:{id:r+"fn-"+S},children:t.wrap(y,!0)};t.patch(h,D),m.push(D)}if(m.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...Go(f),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
16
+ `},{type:"element",tagName:"ol",properties:{},children:t.wrap(m,!0)},{type:"text",value:`
17
+ `}]}}const mh=(function(t){if(t==null)return Sw;if(typeof t=="function")return Xo(t);if(typeof t=="object")return Array.isArray(t)?ww(t):kw(t);if(typeof t=="string")return bw(t);throw new Error("Expected function, string, or object as test")});function ww(t){const r=[];let i=-1;for(;++i<t.length;)r[i]=mh(t[i]);return Xo(o);function o(...a){let u=-1;for(;++u<r.length;)if(r[u].apply(this,a))return!0;return!1}}function kw(t){const r=t;return Xo(i);function i(o){const a=o;let u;for(u in t)if(a[u]!==r[u])return!1;return!0}}function bw(t){return Xo(r);function r(i){return i&&i.type===t}}function Xo(t){return r;function r(i,o,a){return!!(jw(i)&&t.call(this,i,typeof o=="number"?o:void 0,a||void 0))}}function Sw(){return!0}function jw(t){return t!==null&&typeof t=="object"&&"type"in t}const hh=[],Cw=!0,_p=!1,Pw="skip";function Nw(t,r,i,o){let a;typeof r=="function"&&typeof i!="function"?(o=i,i=r):a=r;const u=mh(a),f=o?-1:1;m(t,void 0,[])();function m(g,h,y){const w=g&&typeof g=="object"?g:{};if(typeof w.type=="string"){const b=typeof w.tagName=="string"?w.tagName:typeof w.name=="string"?w.name:void 0;Object.defineProperty(S,"name",{value:"node ("+(g.type+(b?"<"+b+">":""))+")"})}return S;function S(){let b=hh,M,R,z;if((!r||u(g,h,y[y.length-1]||void 0))&&(b=Ew(i(g,y)),b[0]===_p))return b;if("children"in g&&g.children){const D=g;if(D.children&&b[0]!==Pw)for(R=(o?D.children.length:-1)+f,z=y.concat(D);R>-1&&R<D.children.length;){const $=D.children[R];if(M=m($,R,z)(),M[0]===_p)return M;R=typeof M[1]=="number"?M[1]:R+f}}return b}}}function Ew(t){return Array.isArray(t)?t:typeof t=="number"?[Cw,t]:t==null?hh:[t]}function gh(t,r,i,o){let a,u,f;typeof r=="function"&&typeof i!="function"?(u=void 0,f=r,a=i):(u=r,f=i,a=o),Nw(t,u,m,a);function m(g,h){const y=h[h.length-1],w=y?y.children.indexOf(g):void 0;return f(g,w,y)}}const Pu={}.hasOwnProperty,Ow={};function _w(t,r){const i=r||Ow,o=new Map,a=new Map,u=new Map,f={...dw,...i.handlers},m={all:h,applyData:Iw,definitionById:o,footnoteById:a,footnoteCounts:u,footnoteOrder:[],handlers:f,one:g,options:i,patch:zw,wrap:Aw};return gh(t,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const w=y.type==="definition"?o:a,S=String(y.identifier).toUpperCase();w.has(S)||w.set(S,y)}}),m;function g(y,w){const S=y.type,b=m.handlers[S];if(Pu.call(m.handlers,S)&&b)return b(m,y,w);if(m.options.passThrough&&m.options.passThrough.includes(S)){if("children"in y){const{children:R,...z}=y,D=Go(z);return D.children=m.all(y),D}return Go(y)}return(m.options.unknownHandler||Tw)(m,y,w)}function h(y){const w=[];if("children"in y){const S=y.children;let b=-1;for(;++b<S.length;){const M=m.one(S[b],y);if(M){if(b&&S[b-1].type==="break"&&(!Array.isArray(M)&&M.type==="text"&&(M.value=zp(M.value)),!Array.isArray(M)&&M.type==="element")){const R=M.children[0];R&&R.type==="text"&&(R.value=zp(R.value))}Array.isArray(M)?w.push(...M):w.push(M)}}}return w}}function zw(t,r){t.position&&(r.position=mx(t))}function Iw(t,r){let i=r;if(t&&t.data){const o=t.data.hName,a=t.data.hChildren,u=t.data.hProperties;if(typeof o=="string")if(i.type==="element")i.tagName=o;else{const f="children"in i?i.children:[i];i={type:"element",tagName:o,properties:{},children:f}}i.type==="element"&&u&&Object.assign(i.properties,Go(u)),"children"in i&&i.children&&a!==null&&a!==void 0&&(i.children=a)}return i}function Tw(t,r){const i=r.data||{},o="value"in r&&!(Pu.call(i,"hProperties")||Pu.call(i,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:t.all(r)};return t.patch(r,o),t.applyData(r,o)}function Aw(t,r){const i=[];let o=-1;for(r&&i.push({type:"text",value:`
18
+ `});++o<t.length;)o&&i.push({type:"text",value:`
19
+ `}),i.push(t[o]);return r&&t.length>0&&i.push({type:"text",value:`
20
+ `}),i}function zp(t){let r=0,i=t.charCodeAt(r);for(;i===9||i===32;)r++,i=t.charCodeAt(r);return t.slice(r)}function Ip(t,r){const i=_w(t,r),o=i.one(t,void 0),a=vw(i),u=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return a&&u.children.push({type:"text",value:`
21
+ `},a),u}function Lw(t,r){return t&&"run"in t?async function(i,o){const a=Ip(i,{file:o,...r});await t.run(a,o)}:function(i,o){return Ip(i,{file:o,...t||r})}}function Tp(t){if(t)throw t}var Ya,Ap;function Mw(){if(Ap)return Ya;Ap=1;var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(h){return typeof Array.isArray=="function"?Array.isArray(h):r.call(h)==="[object Array]"},u=function(h){if(!h||r.call(h)!=="[object Object]")return!1;var y=t.call(h,"constructor"),w=h.constructor&&h.constructor.prototype&&t.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!y&&!w)return!1;var S;for(S in h);return typeof S>"u"||t.call(h,S)},f=function(h,y){i&&y.name==="__proto__"?i(h,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):h[y.name]=y.newValue},m=function(h,y){if(y==="__proto__")if(t.call(h,y)){if(o)return o(h,y).value}else return;return h[y]};return Ya=function g(){var h,y,w,S,b,M,R=arguments[0],z=1,D=arguments.length,$=!1;for(typeof R=="boolean"&&($=R,R=arguments[1]||{},z=2),(R==null||typeof R!="object"&&typeof R!="function")&&(R={});z<D;++z)if(h=arguments[z],h!=null)for(y in h)w=m(R,y),S=m(h,y),R!==S&&($&&S&&(u(S)||(b=a(S)))?(b?(b=!1,M=w&&a(w)?w:[]):M=w&&u(w)?w:{},f(R,{name:y,newValue:g($,M,S)})):typeof S<"u"&&f(R,{name:y,newValue:S}));return R},Ya}var Rw=Mw();const Xa=_u(Rw);function Nu(t){if(typeof t!="object"||t===null)return!1;const r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Dw(){const t=[],r={run:i,use:o};return r;function i(...a){let u=-1;const f=a.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);m(null,...a);function m(g,...h){const y=t[++u];let w=-1;if(g){f(g);return}for(;++w<a.length;)(h[w]===null||h[w]===void 0)&&(h[w]=a[w]);a=h,y?Fw(y,m)(...h):f(null,...h)}}function o(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return t.push(a),r}}function Fw(t,r){let i;return o;function o(...f){const m=t.length>f.length;let g;m&&f.push(a);try{g=t.apply(this,f)}catch(h){const y=h;if(m&&i)throw y;return a(y)}m||(g&&g.then&&typeof g.then=="function"?g.then(u,a):g instanceof Error?a(g):u(g))}function a(f,...m){i||(i=!0,r(f,...m))}function u(f){a(null,f)}}const ln={basename:$w,dirname:Bw,extname:Uw,join:Vw,sep:"/"};function $w(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');wl(t);let i=0,o=-1,a=t.length,u;if(r===void 0||r.length===0||r.length>t.length){for(;a--;)if(t.codePointAt(a)===47){if(u){i=a+1;break}}else o<0&&(u=!0,o=a+1);return o<0?"":t.slice(i,o)}if(r===t)return"";let f=-1,m=r.length-1;for(;a--;)if(t.codePointAt(a)===47){if(u){i=a+1;break}}else f<0&&(u=!0,f=a+1),m>-1&&(t.codePointAt(a)===r.codePointAt(m--)?m<0&&(o=a):(m=-1,o=f));return i===o?o=f:o<0&&(o=t.length),t.slice(i,o)}function Bw(t){if(wl(t),t.length===0)return".";let r=-1,i=t.length,o;for(;--i;)if(t.codePointAt(i)===47){if(o){r=i;break}}else o||(o=!0);return r<0?t.codePointAt(0)===47?"/":".":r===1&&t.codePointAt(0)===47?"//":t.slice(0,r)}function Uw(t){wl(t);let r=t.length,i=-1,o=0,a=-1,u=0,f;for(;r--;){const m=t.codePointAt(r);if(m===47){if(f){o=r+1;break}continue}i<0&&(f=!0,i=r+1),m===46?a<0?a=r:u!==1&&(u=1):a>-1&&(u=-1)}return a<0||i<0||u===0||u===1&&a===i-1&&a===o+1?"":t.slice(a,i)}function Vw(...t){let r=-1,i;for(;++r<t.length;)wl(t[r]),t[r]&&(i=i===void 0?t[r]:i+"/"+t[r]);return i===void 0?".":Hw(i)}function Hw(t){wl(t);const r=t.codePointAt(0)===47;let i=Ww(t,!r);return i.length===0&&!r&&(i="."),i.length>0&&t.codePointAt(t.length-1)===47&&(i+="/"),r?"/"+i:i}function Ww(t,r){let i="",o=0,a=-1,u=0,f=-1,m,g;for(;++f<=t.length;){if(f<t.length)m=t.codePointAt(f);else{if(m===47)break;m=47}if(m===47){if(!(a===f-1||u===1))if(a!==f-1&&u===2){if(i.length<2||o!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(g=i.lastIndexOf("/"),g!==i.length-1){g<0?(i="",o=0):(i=i.slice(0,g),o=i.length-1-i.lastIndexOf("/")),a=f,u=0;continue}}else if(i.length>0){i="",o=0,a=f,u=0;continue}}r&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+t.slice(a+1,f):i=t.slice(a+1,f),o=f-a-1;a=f,u=0}else m===46&&u>-1?u++:u=-1}return i}function wl(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const Kw={cwd:Gw};function Gw(){return"/"}function Eu(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function Qw(t){if(typeof t=="string")t=new URL(t);else if(!Eu(t)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(t.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return qw(t)}function qw(t){if(t.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const r=t.pathname;let i=-1;for(;++i<r.length;)if(r.codePointAt(i)===37&&r.codePointAt(i+1)===50){const o=r.codePointAt(i+2);if(o===70||o===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(r)}const Za=["history","path","basename","stem","extname","dirname"];class yh{constructor(r){let i;r?Eu(r)?i={path:r}:typeof r=="string"||Yw(r)?i={value:r}:i=r:i={},this.cwd="cwd"in i?"":Kw.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<Za.length;){const u=Za[o];u in i&&i[u]!==void 0&&i[u]!==null&&(this[u]=u==="history"?[...i[u]]:i[u])}let a;for(a in i)Za.includes(a)||(this[a]=i[a])}get basename(){return typeof this.path=="string"?ln.basename(this.path):void 0}set basename(r){eu(r,"basename"),Ja(r,"basename"),this.path=ln.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?ln.dirname(this.path):void 0}set dirname(r){Lp(this.basename,"dirname"),this.path=ln.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?ln.extname(this.path):void 0}set extname(r){if(Ja(r,"extname"),Lp(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ln.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){Eu(r)&&(r=Qw(r)),eu(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?ln.basename(this.path,this.extname):void 0}set stem(r){eu(r,"stem"),Ja(r,"stem"),this.path=ln.join(this.dirname||"",r+(this.extname||""))}fail(r,i,o){const a=this.message(r,i,o);throw a.fatal=!0,a}info(r,i,o){const a=this.message(r,i,o);return a.fatal=void 0,a}message(r,i,o){const a=new pt(r,i,o);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function Ja(t,r){if(t&&t.includes(ln.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+ln.sep+"`")}function eu(t,r){if(!t)throw new Error("`"+r+"` cannot be empty")}function Lp(t,r){if(!t)throw new Error("Setting `"+r+"` requires `path` to be set too")}function Yw(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const Xw=(function(t){const o=this.constructor.prototype,a=o[t],u=function(){return a.apply(u,arguments)};return Object.setPrototypeOf(u,o),u}),Zw={}.hasOwnProperty;class Xu extends Xw{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Dw()}copy(){const r=new Xu;let i=-1;for(;++i<this.attachers.length;){const o=this.attachers[i];r.use(...o)}return r.data(Xa(!0,{},this.namespace)),r}data(r,i){return typeof r=="string"?arguments.length===2?(ru("data",this.frozen),this.namespace[r]=i,this):Zw.call(this.namespace,r)&&this.namespace[r]||void 0:r?(ru("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const a=i.call(r,...o);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const i=Bo(r),o=this.parser||this.Parser;return tu("parse",o),o(String(i),i)}process(r,i){const o=this;return this.freeze(),tu("process",this.parser||this.Parser),nu("process",this.compiler||this.Compiler),i?a(void 0,i):new Promise(a);function a(u,f){const m=Bo(r),g=o.parse(m);o.run(g,m,function(y,w,S){if(y||!w||!S)return h(y);const b=w,M=o.stringify(b,S);t3(M)?S.value=M:S.result=M,h(y,S)});function h(y,w){y||!w?f(y):u?u(w):i(void 0,w)}}}processSync(r){let i=!1,o;return this.freeze(),tu("processSync",this.parser||this.Parser),nu("processSync",this.compiler||this.Compiler),this.process(r,a),Rp("processSync","process",i),o;function a(u,f){i=!0,Tp(u),o=f}}run(r,i,o){Mp(r),this.freeze();const a=this.transformers;return!o&&typeof i=="function"&&(o=i,i=void 0),o?u(void 0,o):new Promise(u);function u(f,m){const g=Bo(i);a.run(r,g,h);function h(y,w,S){const b=w||r;y?m(y):f?f(b):o(void 0,b,S)}}}runSync(r,i){let o=!1,a;return this.run(r,i,u),Rp("runSync","run",o),a;function u(f,m){Tp(f),a=m,o=!0}}stringify(r,i){this.freeze();const o=Bo(i),a=this.compiler||this.Compiler;return nu("stringify",a),Mp(r),a(r,o)}use(r,...i){const o=this.attachers,a=this.namespace;if(ru("use",this.frozen),r!=null)if(typeof r=="function")g(r,i);else if(typeof r=="object")Array.isArray(r)?m(r):f(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function u(h){if(typeof h=="function")g(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[y,...w]=h;g(y,w)}else f(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function f(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");m(h.plugins),h.settings&&(a.settings=Xa(!0,a.settings,h.settings))}function m(h){let y=-1;if(h!=null)if(Array.isArray(h))for(;++y<h.length;){const w=h[y];u(w)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function g(h,y){let w=-1,S=-1;for(;++w<o.length;)if(o[w][0]===h){S=w;break}if(S===-1)o.push([h,...y]);else if(y.length>0){let[b,...M]=y;const R=o[S][1];Nu(R)&&Nu(b)&&(b=Xa(!0,R,b)),o[S]=[h,b,...M]}}}}const Jw=new Xu().freeze();function tu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function nu(t,r){if(typeof r!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function ru(t,r){if(r)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Mp(t){if(!Nu(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Rp(t,r,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+r+"` instead")}function Bo(t){return e3(t)?t:new yh(t)}function e3(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function t3(t){return typeof t=="string"||n3(t)}function n3(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const r3="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Dp=[],Fp={allowDangerousHtml:!0},i3=/^(https?|ircs?|mailto|xmpp)$/i,l3=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Yr(t){const r=o3(t),i=s3(t);return a3(r.runSync(r.parse(i),i),t)}function o3(t){const r=t.rehypePlugins||Dp,i=t.remarkPlugins||Dp,o=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...Fp}:Fp;return Jw().use($2).use(i).use(Lw,o).use(r)}function s3(t){const r=t.children||"",i=new yh;return typeof r=="string"&&(i.value=r),i}function a3(t,r){const i=r.allowedElements,o=r.allowElement,a=r.components,u=r.disallowedElements,f=r.skipHtml,m=r.unwrapDisallowed,g=r.urlTransform||u3;for(const y of l3)Object.hasOwn(r,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+r3+y.id,void 0);return gh(t,h),vx(t,{Fragment:d.Fragment,components:a,ignoreInvalidStyle:!0,jsx:d.jsx,jsxs:d.jsxs,passKeys:!0,passNode:!0});function h(y,w,S){if(y.type==="raw"&&S&&typeof w=="number")return f?S.children.splice(w,1):S.children[w]={type:"text",value:y.value},w;if(y.type==="element"){let b;for(b in Ga)if(Object.hasOwn(Ga,b)&&Object.hasOwn(y.properties,b)){const M=y.properties[b],R=Ga[b];(R===null||R.includes(y.tagName))&&(y.properties[b]=g(String(M||""),b,y))}}if(y.type==="element"){let b=i?!i.includes(y.tagName):u?u.includes(y.tagName):!1;if(!b&&o&&typeof w=="number"&&(b=!o(y,w,S)),b&&S&&typeof w=="number")return m&&y.children?S.children.splice(w,1,...y.children):S.children.splice(w,1),w}}}function u3(t){const r=t.indexOf(":"),i=t.indexOf("?"),o=t.indexOf("#"),a=t.indexOf("/");return r===-1||a!==-1&&r>a||i!==-1&&r>i||o!==-1&&r>o||i3.test(t.slice(0,r))?t:""}const $p=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Bp=bm,xh=(t,r)=>i=>{var o;if(r?.variants==null)return Bp(t,i?.class,i?.className);const{variants:a,defaultVariants:u}=r,f=Object.keys(a).map(h=>{const y=i?.[h],w=u?.[h];if(y===null)return null;const S=$p(y)||$p(w);return a[h][S]}),m=i&&Object.entries(i).reduce((h,y)=>{let[w,S]=y;return S===void 0||(h[w]=S),h},{}),g=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((h,y)=>{let{class:w,className:S,...b}=y;return Object.entries(b).every(M=>{let[R,z]=M;return Array.isArray(z)?z.includes({...u,...m}[R]):{...u,...m}[R]===z})?[...h,w,S]:h},[]);return Bp(t,f,g,i?.class,i?.className)},c3=xh("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),De=A.forwardRef(({className:t,variant:r,size:i,...o},a)=>d.jsx("button",{className:$e(c3({variant:r,size:i,className:t})),ref:a,...o}));De.displayName="Button";const It=A.forwardRef(({className:t,type:r,...i},o)=>d.jsx("input",{type:r,className:$e("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:o,...i}));It.displayName="Input";const Ji=A.forwardRef(({className:t,...r},i)=>d.jsx("textarea",{className:$e("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:i,...r}));Ji.displayName="Textarea";const f3=1e3,d3=new Set([".pdf",".docx",".pptx",".xlsx",".xls",".doc",".ppt",".epub",".rtf"]);function p3({value:t,onChange:r,disabled:i,attachments:o,onAttachmentsChange:a,markitdownMissing:u,onInstallMarkitdown:f,isInstallingMarkitdown:m}){const[g,h]=A.useState(!1),y=A.useCallback($=>{a([...o,$])},[o,a]),w=A.useCallback($=>{a(o.filter(T=>T.id!==$))},[o,a]),S=A.useCallback(async $=>{for(const T of Array.from($)){const te=T.path;if(te)try{const F=await window.councilAPI.readFileAsText(te);y({id:crypto.randomUUID(),name:F.name,content:F.content,type:"file"})}catch{y({id:crypto.randomUUID(),name:T.name,content:`[Error reading file: ${T.name}]`,type:"file"})}}},[y]),b=A.useCallback($=>{$.preventDefault(),$.stopPropagation(),i||h(!0)},[i]),M=A.useCallback($=>{$.preventDefault(),$.stopPropagation(),h(!1)},[]),R=A.useCallback($=>{$.preventDefault(),$.stopPropagation(),h(!1),!i&&$.dataTransfer.files.length>0&&S($.dataTransfer.files)},[i,S]),z=A.useCallback($=>{if(i)return;if($.clipboardData.files.length>0){$.preventDefault(),S($.clipboardData.files);return}const T=$.clipboardData.getData("text/plain");if(T.length>f3){$.preventDefault();const te=o.filter(F=>F.type==="paste").length;y({id:crypto.randomUUID(),name:te===0?"Pasted text":`Pasted text (${te+1})`,content:T,type:"paste"})}},[i,o,y,S]),D=$=>{const T=$.length;return T<1e3?`${T} chars`:T<1e6?`${(T/1e3).toFixed(1)}k chars`:`${(T/1e6).toFixed(1)}M chars`};return d.jsxs("div",{className:$e("relative rounded-md transition-colors",g&&"ring-2 ring-primary ring-offset-2 ring-offset-background"),onDragOver:b,onDragLeave:M,onDrop:R,children:[d.jsx(Ji,{value:t,onChange:$=>r($.target.value),onPaste:z,disabled:i,placeholder:"What should the council discuss? Drop files or paste large text to attach.",className:"resize-none min-h-[160px]"}),g&&d.jsx("div",{className:"absolute inset-0 rounded-md border-2 border-dashed border-primary bg-primary/5 flex items-center justify-center pointer-events-none",children:d.jsxs("div",{className:"flex items-center gap-2 text-primary font-medium text-sm",children:[d.jsx(b1,{className:"h-5 w-5"}),"Drop files here"]})}),o.length>0&&d.jsx("div",{className:"flex flex-wrap gap-1.5 mt-2",children:o.map($=>d.jsxs("div",{className:"flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-muted border text-xs font-medium text-muted-foreground",children:[d.jsx(Zr,{className:"h-3 w-3 shrink-0"}),d.jsx("span",{className:"truncate max-w-[200px]",children:$.name}),d.jsx("span",{className:"text-muted-foreground/60",children:D($.content)}),!i&&d.jsx("button",{onClick:()=>w($.id),className:"ml-0.5 rounded-full p-0.5 hover:bg-foreground/10 transition-colors",children:d.jsx(wm,{className:"h-3 w-3"})})]},$.id))}),u&&o.some($=>{const T=$.name.includes(".")?"."+$.name.split(".").pop().toLowerCase():"";return d3.has(T)})&&d.jsxs("div",{className:"flex items-center gap-2 mt-2 px-3 py-2 rounded-md bg-yellow-500/10 border border-yellow-500/30 text-xs text-yellow-600 dark:text-yellow-400",children:[d.jsx(Qo,{className:"h-3.5 w-3.5 shrink-0"}),m?d.jsxs("span",{className:"flex items-center gap-1.5",children:[d.jsx(vn,{className:"h-3 w-3 animate-spin"}),"Installing markitdown..."]}):d.jsxs("span",{children:["markitdown is needed to read PDFs and Office docs."," ",d.jsx("button",{onClick:f,className:"font-semibold underline underline-offset-2 hover:text-yellow-700 dark:hover:text-yellow-300",children:"Install now"})]})]})]})}const Up=["bg-blue-500","bg-orange-500","bg-green-500","bg-purple-500","bg-yellow-500","bg-cyan-500"];function m3(t){return(t.replace(/^(the|a|an)\s+/i,"")[0]||t[0]||"?").toUpperCase()}function h3(t){let r=0;for(let i=0;i<t.length;i++)r=t.charCodeAt(i)+((r<<5)-r);return Up[Math.abs(r)%Up.length]}function el({name:t,avatarUrl:r,size:i=24,className:o}){const[a,u]=A.useState(!1),f=i<=16?"w-4 h-4 text-[9px]":i<=24?"w-6 h-6 text-xs":i<=32?"w-8 h-8 text-sm":i<=40?"w-10 h-10 text-base":"w-12 h-12 text-lg";return r&&!a?d.jsx("img",{src:r,onError:()=>u(!0),className:$e("rounded-full object-cover",f,o),alt:""}):d.jsx("div",{className:$e("rounded-full flex items-center justify-center font-bold text-white shrink-0",f,h3(t),o),children:m3(t)})}const Vp=["text-blue-400","text-orange-400","text-green-400","text-purple-400","text-yellow-400","text-cyan-400"],iu={};let Hp=0;function g3(t){return iu[t]===void 0&&(iu[t]=Hp%Vp.length,Hp++),Vp[iu[t]]}function lu({turn:t,streaming:r}){const i=t.counsellorId==="__user__",[o,a]=A.useState(!1),u=async()=>{await navigator.clipboard.writeText(t.content),a(!0),setTimeout(()=>a(!1),1500)};return d.jsxs("div",{className:"group py-3",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[!i&&d.jsx(el,{name:t.counsellorName,avatarUrl:t.avatarUrl,size:48}),d.jsx("span",{className:$e("text-sm font-semibold",i?"text-muted-foreground":g3(t.counsellorName)),children:t.counsellorName}),!i&&d.jsxs("span",{className:"text-[11px] text-muted-foreground/60",children:[t.round>0&&d.jsxs(d.Fragment,{children:["Round ",t.round," · "]}),t.model]})]}),d.jsxs("div",{className:$e("relative rounded-lg border px-4 py-3 text-sm leading-relaxed prose-council",i?"bg-accent/50 border-border":"bg-card border-border"),children:[d.jsx("button",{onClick:u,className:"absolute top-2 right-2 p-1 rounded-md opacity-0 group-hover:opacity-100 transition-opacity bg-background/80 hover:bg-muted border border-border/50 text-muted-foreground hover:text-foreground",title:"Copy to clipboard",children:o?d.jsx(Xi,{className:"h-3.5 w-3.5 text-green-500"}):d.jsx(Tu,{className:"h-3.5 w-3.5"})}),d.jsx(Yr,{children:t.content}),r&&d.jsx("span",{className:"inline-block w-2 h-4 ml-0.5 bg-current animate-pulse rounded-sm"})]})]})}function y3({round:t,totalRounds:r}){const i=t===1?"Round 1 — Constructive":`Round ${t} — Rebuttal`;return d.jsxs("div",{className:"flex items-center gap-3 py-3",children:[d.jsx("div",{className:"flex-1 h-px bg-border"}),d.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:i}),d.jsx("div",{className:"flex-1 h-px bg-border"})]})}function Wp({round:t,content:r,streaming:i}){return d.jsxs("div",{className:"my-3 mx-2 rounded-lg border bg-muted/30 px-4 py-3",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[d.jsx(Zr,{className:"h-3.5 w-3.5 text-primary"}),d.jsxs("span",{className:"text-xs font-medium text-primary",children:["Round ",t," Summary"]}),i&&d.jsx("span",{className:"inline-block w-1.5 h-3.5 bg-primary animate-pulse rounded-sm"})]}),d.jsx("div",{className:"text-sm leading-relaxed prose-council",children:d.jsx(Yr,{children:r})})]})}function vh({turns:t,streamingContent:r={},mode:i,roundSummaries:o={},activeRoundSummary:a}){const u=A.useRef(null),f=Object.entries(r),m=i==="debate";if(A.useEffect(()=>{u.current?.scrollIntoView({behavior:"smooth"})},[t.length,f.length,f.map(([,h])=>h.length).join(),a?.content.length]),t.length===0&&f.length===0)return d.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-muted-foreground/50 gap-3",children:[d.jsx(Lu,{className:"h-10 w-10"}),d.jsx("p",{className:"text-sm",children:"Start a discussion to see the conversation here"})]});const g=[...new Set(t.map(h=>h.round))].sort((h,y)=>h-y);return d.jsxs("div",{className:"px-4 divide-y divide-border/50",children:[m?d.jsx(d.Fragment,{children:g.map(h=>{const y=t.filter(w=>w.round===h);return d.jsxs(Iu.Fragment,{children:[d.jsx(y3,{round:h}),y.map((w,S)=>d.jsx(lu,{turn:w},`${h}-${S}`)),o[h]&&d.jsx(Wp,{round:h,content:o[h]}),a&&a.round===h&&d.jsx(Wp,{round:h,content:a.content,streaming:!0})]},`round-${h}`)})}):t.map((h,y)=>d.jsx(lu,{turn:h},y)),f.map(([h,y])=>d.jsx(lu,{turn:{round:0,counsellorId:h,counsellorName:h,content:y,timestamp:"",model:"",backend:""},streaming:!0},`streaming-${h}`)),d.jsx("div",{ref:u})]})}function x3({round:t,totalRounds:r,speaker:i,tokenUsage:o,isRunning:a}){return d.jsxs("div",{className:"flex items-center gap-4 px-4 py-2 border-t bg-card text-xs text-muted-foreground",children:[d.jsx("span",{className:$e("h-2 w-2 rounded-full",a?"bg-green-500 animate-pulse":"bg-muted-foreground/30")}),a?d.jsxs(d.Fragment,{children:[t!=null&&r!=null&&d.jsxs("span",{children:["Round ",t,"/",r]}),i&&d.jsx("span",{className:"text-foreground font-medium",children:i})]}):d.jsx("span",{children:"Ready"}),o&&(o.input>0||o.output>0)&&d.jsxs("span",{className:"ml-auto font-mono",children:[o.input.toLocaleString()," in / ",o.output.toLocaleString()," out"]})]})}function v3(){const[t,r]=A.useState({isRunning:!1,turns:[],streamingContent:{},currentRound:0,currentSpeaker:"",totalRounds:0,tokenUsage:{input:0,output:0},title:null,error:null,result:null,summaryStatus:"idle",summaryContent:"",diagram:null,infographicStatus:"idle",infographics:[],infographicError:null,roundSummaries:{},activeRoundSummary:null}),i=A.useRef(null);A.useEffect(()=>()=>{i.current?.()},[]);const o=A.useCallback(f=>{r({isRunning:!0,turns:[],streamingContent:{},currentRound:0,currentSpeaker:"",totalRounds:f.rounds,tokenUsage:{input:0,output:0},title:null,error:null,result:null,summaryStatus:"idle",summaryContent:"",diagram:null,infographicStatus:"idle",infographics:[],infographicError:null,roundSummaries:{},activeRoundSummary:null}),i.current?.(),i.current=window.councilAPI.onDiscussionEvent(m=>{r(g=>{switch(m.type){case"turn_start":{const h={...g.streamingContent};return h[m.counsellorName]="",{...g,currentRound:m.round,currentSpeaker:m.counsellorName,streamingContent:h}}case"turn_chunk":{const h={...g.streamingContent};return h[m.counsellorName]=(h[m.counsellorName]??"")+m.delta,{...g,streamingContent:h}}case"turn_complete":{const h=[...g.turns,m.turn],y=m.turn.tokenUsage,w={...g.streamingContent};return delete w[m.turn.counsellorName],{...g,turns:h,streamingContent:w,tokenUsage:y?{input:g.tokenUsage.input+y.input,output:g.tokenUsage.output+y.output}:g.tokenUsage}}case"round_complete":return{...g,currentRound:m.round};case"title_generated":return{...g,title:m.title};case"error":return{...g,error:m.error};case"summary_start":return{...g,summaryStatus:"running",summaryContent:""};case"summary_chunk":return{...g,summaryContent:g.summaryContent+m.delta};case"summary_complete":{const h=m;return{...g,summaryStatus:"complete",summaryContent:h.summary,diagram:h.diagram??null}}case"round_summary_start":return{...g,activeRoundSummary:{round:m.round,content:""}};case"round_summary_chunk":{const h=m;return!g.activeRoundSummary||g.activeRoundSummary.round!==h.round?g:{...g,activeRoundSummary:{round:h.round,content:g.activeRoundSummary.content+h.delta}}}case"round_summary_complete":{const h=m;return{...g,roundSummaries:{...g.roundSummaries,[h.round]:h.summary},activeRoundSummary:null}}case"infographic_start":return{...g,infographicStatus:"running"};case"infographic_complete":return{...g,infographicStatus:"complete",infographics:[...g.infographics,m.infographic]};case"infographic_error":return{...g,infographicStatus:"error",infographicError:m.error};case"complete":return{...g,isRunning:!1,result:m.result,currentSpeaker:""};default:return g}})}),window.councilAPI.startDiscussion(f)},[]),a=A.useCallback(()=>{window.councilAPI.stopDiscussion(),r(f=>({...f,isRunning:!1,currentSpeaker:"",streamingContent:{}}))},[]),u=A.useCallback(f=>{window.councilAPI.injectMessage(f)},[]);return{...t,start:o,stop:a,inject:u}}const w3="modulepreload",k3=function(t,r){return new URL(t,r).href},Kp={},b3=function(r,i,o){let a=Promise.resolve();if(i&&i.length>0){let h=function(y){return Promise.all(y.map(w=>Promise.resolve(w).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};const f=document.getElementsByTagName("link"),m=document.querySelector("meta[property=csp-nonce]"),g=m?.nonce||m?.getAttribute("nonce");a=h(i.map(y=>{if(y=k3(y,o),y in Kp)return;Kp[y]=!0;const w=y.endsWith(".css"),S=w?'[rel="stylesheet"]':"";if(o)for(let M=f.length-1;M>=0;M--){const R=f[M];if(R.href===y&&(!w||R.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${S}`))return;const b=document.createElement("link");if(b.rel=w?"stylesheet":w3,w||(b.as="script"),b.crossOrigin="",b.href=y,g&&b.setAttribute("nonce",g),document.head.appendChild(b),w)return new Promise((M,R)=>{b.addEventListener("load",M),b.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${y}`)))})}))}function u(f){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=f,window.dispatchEvent(m),!m.defaultPrevented)throw f}return a.then(f=>{for(const m of f||[])m.status==="rejected"&&u(m.reason);return r().catch(u)})},S3=A.lazy(async()=>{const r=(await b3(()=>import("./percentages-BXMCSKIN-bsDgM1tI.js").then(i=>i.i),[],import.meta.url)).Excalidraw;return{default:({elements:i})=>d.jsx("div",{className:"h-[500px] w-full border rounded-lg overflow-hidden",children:d.jsx(r,{initialData:{elements:i,appState:{viewBackgroundColor:"transparent"}},viewModeEnabled:!1,UIOptions:{canvasActions:{saveAsImage:!0}}})})}});function wh({elements:t}){return d.jsx(A.Suspense,{fallback:d.jsx("div",{className:"h-[500px] w-full border rounded-lg flex items-center justify-center text-muted-foreground",children:"Loading diagram..."}),children:d.jsx(S3,{elements:t})})}var j3=function(r){return typeof window<"u"?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(r,")")):{matches:!1}},ou,C3=A.createContext({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:(ou=j3("dark"))!==null&&ou!==void 0&&ou.matches?"dark":"light"}),P3=function(){return A.useContext(C3)};const kh=(t,r)=>{if(r)return"row";switch(t){case"horizontal":return"row";case"horizontal-reverse":return"row-reverse";case"vertical":default:return"column";case"vertical-reverse":return"column-reverse"}},N3=t=>{if(t)return["space-between","space-around","space-evenly"].includes(t)},E3=(t,r)=>kh(t,r)==="row",Kr=t=>typeof t=="number"?`${t}px`:t,O3=({visible:t,flex:r,gap:i,direction:o,horizontal:a,align:u,justify:f,distribution:m,height:g,width:h,allowShrink:y,padding:w,paddingInline:S,paddingBlock:b,prefixCls:M,as:R="div",className:z,style:D,children:$,wrap:T,ref:te,...F})=>{const O=f||m,B=E3(o,a)&&!h&&N3(O)?"100%":Kr(h),ee={...r!==void 0?{"--lobe-flex":String(r)}:{},...o||a?{"--lobe-flex-direction":kh(o,a)}:{},...T!==void 0?{"--lobe-flex-wrap":T}:{},...O!==void 0?{"--lobe-flex-justify":O}:{},...u!==void 0?{"--lobe-flex-align":u}:{},...B!==void 0?{"--lobe-flex-width":B}:{},...g!==void 0?{"--lobe-flex-height":Kr(g)}:{},...w!==void 0?{"--lobe-flex-padding":Kr(w)}:{},...S!==void 0?{"--lobe-flex-padding-inline":Kr(S)}:{},...b!==void 0?{"--lobe-flex-padding-block":Kr(b)}:{},...i!==void 0?{"--lobe-flex-gap":Kr(i)}:{},...y?{minWidth:0}:{},...D},he="lobe-flex",ne=[he,t===!1?`${he}--hidden`:void 0,M?`${M}-flex`:void 0,z].filter(Boolean).join(" ");return d.jsx(R,{ref:te,...F,className:ne,style:ee,children:$})};var bh=A.memo(O3);const _3=({children:t,ref:r,...i})=>d.jsx(bh,{...i,align:"center",justify:"center",ref:r,children:t});var z3=_3;A.createContext(null);var I3=function(r,i){if(i){if(r&&i==="#000")return"0 0 0 1px rgba(255,255,255,0.1) inset";if(!r&&i==="#fff")return"0 0 0 1px rgba(0,0,0,0.05) inset"}};function tl(t){"@babel/helpers - typeof";return tl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},tl(t)}var T3=["shape","color","background","size","style","iconMultiple","Icon","iconStyle","iconClassName"];function Gp(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function Uo(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Gp(Object(i),!0).forEach(function(o){A3(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Gp(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function A3(t,r,i){return r=L3(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function L3(t){var r=M3(t,"string");return tl(r)=="symbol"?r:String(r)}function M3(t,r){if(tl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(tl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function R3(t,r){if(t==null)return{};var i=D3(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function D3(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var Zo=A.memo(function(t){var r=t.shape,i=r===void 0?"circle":r,o=t.color,a=o===void 0?"#fff":o,u=t.background,f=t.size,m=t.style,g=t.iconMultiple,h=g===void 0?.75:g,y=t.Icon,w=t.iconStyle,S=t.iconClassName,b=R3(t,T3),M=P3(),R=M.isDarkMode;return d.jsx(z3,Uo(Uo({flex:"none",style:Uo({background:u,borderRadius:i==="circle"?"50%":Math.floor(f*.1),boxShadow:I3(R,u),color:a,height:f,width:f},m)},b),{},{children:y&&d.jsx(y,{className:S,color:a,size:f,style:Uo({transform:"scale(".concat(h,")")},w)})}))}),Jo="Anthropic",Sh="#F1F0E8",F3=Sh,$3="#141413",B3=.75;function nl(t){"@babel/helpers - typeof";return nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},nl(t)}var U3=["size","style"];function Qp(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function su(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Qp(Object(i),!0).forEach(function(o){V3(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Qp(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function V3(t,r,i){return r=H3(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function H3(t){var r=W3(t,"string");return nl(r)=="symbol"?r:String(r)}function W3(t,r){if(nl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(nl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function K3(t,r){if(t==null)return{};var i=G3(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function G3(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var jh=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=K3(t,U3);return d.jsxs("svg",su(su({fill:"currentColor",fillRule:"evenodd",height:i,style:su({flex:"none",lineHeight:1},o),viewBox:"0 0 24 24",width:i,xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:Jo}),d.jsx("path",{d:"M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"})]}))});function rl(t){"@babel/helpers - typeof";return rl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},rl(t)}function qp(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function Q3(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?qp(Object(i),!0).forEach(function(o){q3(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):qp(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function q3(t,r,i){return r=Y3(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Y3(t){var r=X3(t,"string");return rl(r)=="symbol"?r:String(r)}function X3(t,r){if(rl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(rl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function Z3(t){if(t==null)throw new TypeError("Cannot destructure "+t)}var J3=A.memo(function(t){var r=Object.assign({},(Z3(t),t));return d.jsx(Zo,Q3({Icon:jh,"aria-label":Jo,background:F3,color:$3,iconMultiple:B3},r))});function il(t){"@babel/helpers - typeof";return il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},il(t)}var e4=["size","style"];function Yp(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function au(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Yp(Object(i),!0).forEach(function(o){t4(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Yp(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function t4(t,r,i){return r=n4(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function n4(t){var r=r4(t,"string");return il(r)=="symbol"?r:String(r)}function r4(t,r){if(il(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(il(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function i4(t,r){if(t==null)return{};var i=l4(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function l4(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var o4=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=i4(t,e4);return d.jsxs("svg",au(au({fill:"currentColor",fillRule:"evenodd",height:i,style:au({flex:"none",lineHeight:1},o),viewBox:"0 0 182 24",xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:Jo}),d.jsx("path",{d:"M38.247 15.874L29.553 2.338H24.86v19.337h4.002V8.139l8.694 13.536h4.693V2.338h-4.003v13.536zm7.313-9.807h6.487v15.608h4.14V6.067h6.487v-3.73H45.56v3.73zm33.686 3.978h-9.109V2.338h-4.14v19.337h4.14v-7.9h9.109v7.9h4.14V2.338h-4.14v7.707zm13.39-3.978h5.108c2.043 0 3.12.746 3.12 2.155 0 1.408-1.077 2.154-3.12 2.154h-5.107v-4.31zm12.37 2.155c0-3.647-2.679-5.884-7.068-5.884h-9.443v19.337h4.142v-7.57h4.61l4.142 7.57h4.583l-4.586-8.146c2.302-.885 3.62-2.75 3.62-5.307zm12.686 9.91c-3.257 0-5.244-2.32-5.244-6.104 0-3.84 1.987-6.16 5.244-6.16 3.23 0 5.189 2.32 5.189 6.16 0 3.784-1.96 6.105-5.189 6.105zm0-16.132c-5.575 0-9.522 4.144-9.522 10.028 0 5.828 3.947 9.972 9.522 9.972 5.547 0 9.466-4.144 9.466-9.972C127.158 6.144 123.24 2 117.692 2zm22.59 8.929h-5.109V6.067h5.11c2.043 0 3.12.829 3.12 2.43 0 1.603-1.077 2.432-3.12 2.432zm.194-8.591h-9.445v19.337h4.142v-7.017h5.303c4.39 0 7.07-2.32 7.07-6.16 0-3.84-2.68-6.16-7.07-6.16zm35.108 12.839c-.718 1.878-2.153 2.956-4.113 2.956-3.257 0-5.244-2.32-5.244-6.105 0-3.84 1.987-6.16 5.244-6.16 1.96 0 3.395 1.077 4.113 2.955h4.388C178.896 4.68 175.667 2 171.472 2c-5.576 0-9.523 4.144-9.523 10.028 0 5.828 3.947 9.972 9.522 9.972 4.223 0 7.453-2.707 8.529-6.823h-4.416zm-26.39-12.84l7.705 19.338h4.225L153.42 2.338h-4.225zM9.277 14.024l2.636-6.796 2.637 6.796H9.276zm.428-11.685L2 21.675h4.307l1.576-4.06h8.06l1.575 4.06h4.307L14.121 2.338H9.704z"})]}))}),kl=jh;kl.Text=o4;kl.Avatar=J3;kl.colorPrimary=Sh;kl.title=Jo;var bl="OpenAI",s4=.75,a4=.1,Ch="#000",Ph="#19C37D",Nh="#AB68FF",Eh="#F86AA4",Zu="#F9C322",Oh="#0099FF",_h="#0000FE",u4=Ch,c4="#fff",f4=.75;function ll(t){"@babel/helpers - typeof";return ll=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ll(t)}var d4=["size","style"];function Xp(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function uu(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Xp(Object(i),!0).forEach(function(o){p4(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Xp(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function p4(t,r,i){return r=m4(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function m4(t){var r=h4(t,"string");return ll(r)=="symbol"?r:String(r)}function h4(t,r){if(ll(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(ll(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function g4(t,r){if(t==null)return{};var i=y4(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function y4(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var Ju=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=g4(t,d4);return d.jsxs("svg",uu(uu({fill:"currentColor",fillRule:"evenodd",height:i,style:uu({flex:"none",lineHeight:1},o),viewBox:"0 0 24 24",width:i,xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:bl}),d.jsx("path",{d:"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z"})]}))});function ol(t){"@babel/helpers - typeof";return ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ol(t)}var x4=["type"];function Zp(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function v4(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Zp(Object(i),!0).forEach(function(o){w4(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Zp(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function w4(t,r,i){return r=k4(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function k4(t){var r=b4(t,"string");return ol(r)=="symbol"?r:String(r)}function b4(t,r){if(ol(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(ol(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function S4(t,r){if(t==null)return{};var i=j4(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function j4(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var C4=A.memo(function(t){var r=t.type,i=r===void 0?"normal":r,o=S4(t,x4),a=A.useMemo(function(){switch(i){case"gpt3":return Ph;case"gpt4":return Nh;case"gpt5":return Eh;case"o3":case"o1":return Zu;case"oss":return Oh;case"platform":return _h;default:return u4}},[i]);return d.jsx(Zo,v4({Icon:Ju,"aria-label":bl,background:a,color:c4,iconMultiple:f4},o))});function sl(t){"@babel/helpers - typeof";return sl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},sl(t)}var P4=["Icon","style","Text","color","size","spaceMultiple","textMultiple","extra","extraStyle","showText","showLogo","extraClassName","iconProps","inverse"];function Jp(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function Wn(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Jp(Object(i),!0).forEach(function(o){N4(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Jp(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function N4(t,r,i){return r=E4(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function E4(t){var r=O4(t,"string");return sl(r)=="symbol"?r:String(r)}function O4(t,r){if(sl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(sl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function _4(t,r){if(t==null)return{};var i=z4(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function z4(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var zh=A.memo(function(t){var r=t.Icon,i=t.style,o=t.Text,a=t.color,u=t.size,f=u===void 0?24:u,m=t.spaceMultiple,g=m===void 0?1:m,h=t.textMultiple,y=h===void 0?1:h,w=t.extra,S=t.extraStyle,b=t.showText,M=b===void 0?!0:b,R=t.showLogo,z=R===void 0?!0:R,D=t.extraClassName,$=t.iconProps,T=t.inverse,te=_4(t,P4),F=r&&z&&d.jsx(r,Wn(Wn({size:f},$),{},{style:Wn(T?{marginLeft:f*g}:{marginRight:f*g},$?.style)})),O=M&&o&&d.jsx(o,{size:f*y});return d.jsxs(bh,Wn(Wn({align:"center",flex:"none",horizontal:!0,justify:"flex-start",style:Wn({color:a},i)},te),{},{children:[T?d.jsxs(d.Fragment,{children:[O,F]}):d.jsxs(d.Fragment,{children:[F,O]}),w&&d.jsx("span",{className:D,style:Wn({fontSize:f*y*.95,lineHeight:1},S),children:w})]}))});function al(t){"@babel/helpers - typeof";return al=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},al(t)}var I4=["size","style"];function em(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function cu(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?em(Object(i),!0).forEach(function(o){T4(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):em(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function T4(t,r,i){return r=A4(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function A4(t){var r=L4(t,"string");return al(r)=="symbol"?r:String(r)}function L4(t,r){if(al(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(al(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function M4(t,r){if(t==null)return{};var i=R4(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function R4(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var Ih=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=M4(t,I4);return d.jsxs("svg",cu(cu({fill:"currentColor",fillRule:"evenodd",height:i,style:cu({flex:"none",lineHeight:1},o),viewBox:"0 0 86 24",xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:bl}),d.jsx("path",{d:"M10.703 2C5.916 2 2 5.916 2 10.703c0 4.787 3.916 8.704 8.703 8.704 4.787 0 8.704-3.893 8.704-8.704A8.698 8.698 0 0010.703 2zm0 14.288c-2.973 0-5.367-2.442-5.367-5.585S7.73 5.12 10.703 5.12c2.974 0 5.367 2.441 5.367 5.584s-2.393 5.585-5.367 5.585zM28.206 6.835c-1.57 0-3.094.629-3.892 1.693v-1.45h-3.143V24h3.143v-6.116c.798.99 2.273 1.523 3.892 1.523 3.385 0 6.045-2.66 6.045-6.286 0-3.626-2.66-6.286-6.044-6.286zm-.531 9.84c-1.79 0-3.385-1.402-3.385-3.554s1.596-3.554 3.385-3.554c1.789 0 3.384 1.402 3.384 3.554s-1.595 3.554-3.384 3.554zM41.649 6.835c-3.433 0-6.141 2.684-6.141 6.286 0 3.602 2.37 6.286 6.237 6.286 3.167 0 5.198-1.91 5.827-4.062h-3.07c-.388.895-1.475 1.523-2.78 1.523-1.62 0-2.854-1.136-3.144-2.756h9.139V12.88c0-3.288-2.297-6.044-6.068-6.044zm-3.047 5.053c.339-1.523 1.596-2.514 3.12-2.514 1.619 0 2.852 1.064 2.997 2.514h-6.117zM56.081 6.835c-1.402 0-2.877.629-3.553 1.669V7.077h-3.143v12.088h3.143v-6.503c0-1.886 1.015-3.119 2.659-3.119 1.523 0 2.345 1.16 2.345 2.78v6.842h3.143v-7.35c0-2.997-1.838-4.98-4.594-4.98zM68.724 2.242l-6.841 16.923h3.36l1.45-3.699h7.785l1.45 3.7h3.41L72.543 2.241h-3.82zm-.943 10.42l2.805-7.084 2.78 7.084H67.78zM83.81 2.242h-3.191v16.923h3.19V2.242z"})]}))});function ul(t){"@babel/helpers - typeof";return ul=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ul(t)}var D4=["extraStyle"];function tm(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function nm(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?tm(Object(i),!0).forEach(function(o){F4(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):tm(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function F4(t,r,i){return r=$4(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function $4(t){var r=B4(t,"string");return ul(r)=="symbol"?r:String(r)}function B4(t,r){if(ul(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(ul(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function U4(t,r){if(t==null)return{};var i=V4(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function V4(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var H4=A.memo(function(t){var r=t.extraStyle,i=U4(t,D4);return d.jsx(zh,nm({Icon:Ju,Text:Ih,"aria-label":bl,extraStyle:nm({fontWeight:600},r),spaceMultiple:a4,textMultiple:s4},i))}),At=Ju;At.Text=Ih;At.Combine=H4;At.Avatar=C4;At.colorPrimary=Ch;At.colorGpt3=Ph;At.colorGpt4=Nh;At.colorGpt5=Eh;At.colorO1=Zu;At.colorO3=Zu;At.colorOss=Oh;At.colorPlatform=_h;At.title=bl;var ti="Google",Th="#fff",W4=Th,K4="#fff",G4=.75;function cl(t){"@babel/helpers - typeof";return cl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},cl(t)}var Q4=["size","style"];function rm(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function fu(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?rm(Object(i),!0).forEach(function(o){q4(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):rm(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function q4(t,r,i){return r=Y4(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Y4(t){var r=X4(t,"string");return cl(r)=="symbol"?r:String(r)}function X4(t,r){if(cl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(cl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function Z4(t,r){if(t==null)return{};var i=J4(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function J4(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var Ah=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=Z4(t,Q4);return d.jsxs("svg",fu(fu({height:i,style:fu({flex:"none",lineHeight:1},o),viewBox:"0 0 24 24",width:i,xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:ti}),d.jsx("path",{d:"M23 12.245c0-.905-.075-1.565-.236-2.25h-10.54v4.083h6.186c-.124 1.014-.797 2.542-2.294 3.569l-.021.136 3.332 2.53.23.022C21.779 18.417 23 15.593 23 12.245z",fill:"#4285F4"}),d.jsx("path",{d:"M12.225 23c3.03 0 5.574-.978 7.433-2.665l-3.542-2.688c-.948.648-2.22 1.1-3.891 1.1a6.745 6.745 0 01-6.386-4.572l-.132.011-3.465 2.628-.045.124C4.043 20.531 7.835 23 12.225 23z",fill:"#34A853"}),d.jsx("path",{d:"M5.84 14.175A6.65 6.65 0 015.463 12c0-.758.138-1.491.361-2.175l-.006-.147-3.508-2.67-.115.054A10.831 10.831 0 001 12c0 1.772.436 3.447 1.197 4.938l3.642-2.763z",fill:"#FBBC05"}),d.jsx("path",{d:"M12.225 5.253c2.108 0 3.529.892 4.34 1.638l3.167-3.031C17.787 2.088 15.255 1 12.225 1 7.834 1 4.043 3.469 2.197 7.062l3.63 2.763a6.77 6.77 0 016.398-4.572z",fill:"#EB4335"})]}))});function fl(t){"@babel/helpers - typeof";return fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fl(t)}function im(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function ek(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?im(Object(i),!0).forEach(function(o){tk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):im(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function tk(t,r,i){return r=nk(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function nk(t){var r=rk(t,"string");return fl(r)=="symbol"?r:String(r)}function rk(t,r){if(fl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(fl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function ik(t){if(t==null)throw new TypeError("Cannot destructure "+t)}var lk=A.memo(function(t){var r=Object.assign({},(ik(t),t));return d.jsx(Zo,ek({Icon:Ah,"aria-label":ti,background:W4,color:K4,iconMultiple:G4},r))});function dl(t){"@babel/helpers - typeof";return dl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},dl(t)}var ok=["size","style"];function lm(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function du(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?lm(Object(i),!0).forEach(function(o){sk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):lm(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function sk(t,r,i){return r=ak(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function ak(t){var r=uk(t,"string");return dl(r)=="symbol"?r:String(r)}function uk(t,r){if(dl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(dl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function ck(t,r){if(t==null)return{};var i=fk(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function fk(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var dk=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=ck(t,ok);return d.jsxs("svg",du(du({"aria-label":"Google",height:i,style:du({flex:"none",lineHeight:1},o),viewBox:"0 0 77 24",xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:ti}),d.jsx("path",{d:"M19.947 8.482H11.43v2.536h6.041c-.298 3.557-3.247 5.074-6.03 5.074-3.562 0-6.67-2.812-6.67-6.753 0-3.839 2.963-6.795 6.677-6.795 2.866 0 4.555 1.833 4.555 1.833l1.77-1.84S15.5 0 11.357 0C6.081 0 2 4.468 2 9.294c0 4.729 3.84 9.34 9.491 9.34 4.972 0 8.61-3.417 8.61-8.47 0-1.067-.154-1.683-.154-1.683",fill:"#4285F4"}),d.jsx("path",{d:"M26.96 8.997c1.719 0 3.347 1.395 3.347 3.642 0 2.199-1.621 3.633-3.355 3.633-1.905 0-3.408-1.53-3.408-3.65 0-2.075 1.485-3.625 3.416-3.625zm-.035-2.352c-3.495 0-6 2.742-6 5.94 0 3.245 2.43 6.038 6.041 6.038 3.27 0 5.948-2.508 5.948-5.968 0-3.967-3.116-6.01-5.989-6.01z",fill:"#EB4335"}),d.jsx("path",{d:"M40.01 8.997c1.718 0 3.347 1.395 3.347 3.642 0 2.199-1.622 3.633-3.356 3.633-1.904 0-3.407-1.53-3.407-3.65 0-2.075 1.484-3.625 3.415-3.625zm-.035-2.352c-3.496 0-6 2.742-6 5.94 0 3.245 2.43 6.038 6.04 6.038 3.27 0 5.949-2.508 5.949-5.968 0-3.967-3.116-6.01-5.99-6.01z",fill:"#FBBC05"}),d.jsx("path",{d:"M53.006 9c1.573 0 3.188 1.347 3.188 3.648 0 2.34-1.611 3.629-3.222 3.629-1.71 0-3.302-1.394-3.302-3.607 0-2.299 1.652-3.67 3.336-3.67zm-.232-2.349c-3.208 0-5.73 2.82-5.73 5.984 0 3.605 2.924 5.996 5.675 5.996 1.7 0 2.605-.678 3.273-1.455v1.18c0 2.067-1.25 3.304-3.137 3.304-1.824 0-2.738-1.36-3.056-2.132l-2.293.962c.813 1.726 2.451 3.527 5.368 3.527 3.19 0 5.62-2.016 5.62-6.244V7.012h-2.502v1.014c-.77-.832-1.821-1.375-3.218-1.375z",fill:"#4285F4"}),d.jsx("path",{d:"M69.725 8.94c1.09 0 1.875.582 2.209 1.28l-5.345 2.241c-.23-1.735 1.408-3.52 3.136-3.52zm-.104-2.303c-3.026 0-5.567 2.416-5.567 5.981 0 3.772 2.832 6.01 5.858 6.01 2.525 0 4.075-1.387 5-2.629l-2.063-1.377c-.536.833-1.43 1.648-2.925 1.648-1.678 0-2.45-.922-2.927-1.815L75 11.123l-.415-.976c-.774-1.913-2.577-3.51-4.964-3.51z",fill:"#EB4335"}),d.jsx("path",{d:"M60.239 18.272h2.628V.62H60.24z",fill:"#34A853"})]}))});function pl(t){"@babel/helpers - typeof";return pl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pl(t)}var pk=["size","style"];function om(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function pu(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?om(Object(i),!0).forEach(function(o){mk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):om(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function mk(t,r,i){return r=hk(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function hk(t){var r=gk(t,"string");return pl(r)=="symbol"?r:String(r)}function gk(t,r){if(pl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(pl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function yk(t,r){if(t==null)return{};var i=xk(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function xk(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var vk=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=yk(t,pk);return d.jsxs("svg",pu(pu({fill:"currentColor",fillRule:"evenodd",height:i,style:pu({flex:"none",lineHeight:1},o),viewBox:"0 0 77 24",xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:ti}),d.jsx("path",{d:"M19.947 8.482H11.43v2.536h6.041c-.298 3.557-3.247 5.074-6.03 5.074-3.562 0-6.67-2.812-6.67-6.753 0-3.839 2.963-6.795 6.677-6.795 2.866 0 4.555 1.833 4.555 1.833l1.77-1.84-.124-.126C17.123 1.898 14.94 0 11.357 0 6.081 0 2 4.468 2 9.294c0 4.729 3.84 9.34 9.491 9.34 4.972 0 8.61-3.417 8.61-8.47a8.69 8.69 0 00-.118-1.507l-.036-.175zm7.013.515c1.719 0 3.347 1.395 3.347 3.642 0 2.199-1.621 3.633-3.355 3.633-1.905 0-3.408-1.53-3.408-3.65 0-2.075 1.485-3.625 3.416-3.625zm-.035-2.352c-3.495 0-6 2.742-6 5.94 0 3.245 2.43 6.038 6.041 6.038 3.27 0 5.948-2.508 5.948-5.968 0-3.877-2.976-5.916-5.793-6.007l-.196-.003zM40.01 8.997c1.72 0 3.348 1.395 3.348 3.642 0 2.199-1.622 3.633-3.356 3.633-1.904 0-3.407-1.53-3.407-3.65 0-2.075 1.484-3.625 3.415-3.625zm-.034-2.352c-3.496 0-6 2.742-6 5.94 0 3.245 2.43 6.038 6.04 6.038 3.27 0 5.949-2.508 5.949-5.968 0-3.877-2.976-5.916-5.793-6.007l-.196-.003zM53.006 9c1.573 0 3.188 1.348 3.188 3.65 0 2.338-1.611 3.628-3.222 3.628-1.71 0-3.302-1.394-3.302-3.607 0-2.299 1.652-3.67 3.336-3.67zm-.232-2.348c-3.208 0-5.73 2.82-5.73 5.984 0 3.605 2.924 5.996 5.675 5.996 1.7 0 2.605-.678 3.273-1.455v1.18c0 2.067-1.25 3.304-3.137 3.304-1.824 0-2.738-1.36-3.056-2.132l-2.293.962c.813 1.726 2.451 3.527 5.368 3.527 3.19 0 5.62-2.016 5.62-6.244V7.012h-2.502v1.014c-.721-.78-1.691-1.306-2.96-1.368l-.258-.007zm16.951 2.29c1.09 0 1.875.581 2.209 1.279l-5.345 2.241c-.23-1.735 1.408-3.52 3.136-3.52zm-.104-2.304c-3.026 0-5.567 2.416-5.567 5.981 0 3.772 2.832 6.01 5.858 6.01 2.525 0 4.075-1.387 5-2.629l-2.063-1.377c-.536.833-1.43 1.648-2.925 1.648-1.678 0-2.45-.922-2.927-1.815L75 11.123l-.415-.976c-.747-1.847-2.454-3.399-4.719-3.504l-.245-.006zM60.24 18.272h2.628V.62H60.24v17.652z"})]}))});function ml(t){"@babel/helpers - typeof";return ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ml(t)}var wk=["size","style"];function sm(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function mu(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?sm(Object(i),!0).forEach(function(o){kk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):sm(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function kk(t,r,i){return r=bk(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function bk(t){var r=Sk(t,"string");return ml(r)=="symbol"?r:String(r)}function Sk(t,r){if(ml(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(ml(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function jk(t,r){if(t==null)return{};var i=Ck(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function Ck(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var Pk=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=jk(t,wk);return d.jsxs("svg",mu(mu({fill:"currentColor",fillRule:"evenodd",height:i,style:mu({flex:"none",lineHeight:1},o),viewBox:"0 0 24 24",width:i,xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:ti}),d.jsx("path",{d:"M23 12.245c0-.905-.075-1.565-.236-2.25h-10.54v4.083h6.186c-.124 1.014-.797 2.542-2.294 3.569l-.021.136 3.332 2.53.23.022C21.779 18.417 23 15.593 23 12.245z"}),d.jsx("path",{d:"M12.225 23c3.03 0 5.574-.978 7.433-2.665l-3.542-2.688c-.948.648-2.22 1.1-3.891 1.1a6.745 6.745 0 01-6.386-4.572l-.132.011-3.465 2.628-.045.124C4.043 20.531 7.835 23 12.225 23z"}),d.jsx("path",{d:"M5.84 14.175A6.65 6.65 0 015.463 12c0-.758.138-1.491.361-2.175l-.006-.147-3.508-2.67-.115.054A10.831 10.831 0 001 12c0 1.772.436 3.447 1.197 4.938l3.642-2.763z"}),d.jsx("path",{d:"M12.225 5.253c2.108 0 3.529.892 4.34 1.638l3.167-3.031C17.787 2.088 15.255 1 12.225 1 7.834 1 4.043 3.469 2.197 7.062l3.63 2.763a6.77 6.77 0 016.398-4.572z"})]}))}),yr=Pk;yr.Color=Ah;yr.Brand=vk;yr.BrandColor=dk;yr.Avatar=lk;yr.colorPrimary=Th;yr.title=ti;var Sl="Ollama",Nk=.6,Ek=.1,Lh="#fff",Ok=Lh,_k="#000",zk=.75;function hl(t){"@babel/helpers - typeof";return hl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},hl(t)}var Ik=["size","style"];function am(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function hu(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?am(Object(i),!0).forEach(function(o){Tk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):am(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function Tk(t,r,i){return r=Ak(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Ak(t){var r=Lk(t,"string");return hl(r)=="symbol"?r:String(r)}function Lk(t,r){if(hl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(hl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function Mk(t,r){if(t==null)return{};var i=Rk(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function Rk(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var ec=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=Mk(t,Ik);return d.jsxs("svg",hu(hu({fill:"currentColor",fillRule:"evenodd",height:i,style:hu({flex:"none",lineHeight:1},o),viewBox:"0 0 24 24",width:i,xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:Sl}),d.jsx("path",{d:"M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z"})]}))});function gl(t){"@babel/helpers - typeof";return gl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},gl(t)}function um(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function Dk(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?um(Object(i),!0).forEach(function(o){Fk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):um(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function Fk(t,r,i){return r=$k(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function $k(t){var r=Bk(t,"string");return gl(r)=="symbol"?r:String(r)}function Bk(t,r){if(gl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(gl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function Uk(t){if(t==null)throw new TypeError("Cannot destructure "+t)}var Vk=A.memo(function(t){var r=Object.assign({},(Uk(t),t));return d.jsx(Zo,Dk({Icon:ec,"aria-label":Sl,background:Ok,color:_k,iconMultiple:zk},r))});function yl(t){"@babel/helpers - typeof";return yl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},yl(t)}var Hk=["size","style"];function cm(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function gu(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?cm(Object(i),!0).forEach(function(o){Wk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):cm(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function Wk(t,r,i){return r=Kk(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Kk(t){var r=Gk(t,"string");return yl(r)=="symbol"?r:String(r)}function Gk(t,r){if(yl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(yl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function Qk(t,r){if(t==null)return{};var i=qk(t,r),o,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(a=0;a<u.length;a++)o=u[a],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function qk(t,r){if(t==null)return{};var i={},o=Object.keys(t),a,u;for(u=0;u<o.length;u++)a=o[u],!(r.indexOf(a)>=0)&&(i[a]=t[a]);return i}var Mh=A.memo(function(t){var r=t.size,i=r===void 0?"1em":r,o=t.style,a=Qk(t,Hk);return d.jsxs("svg",gu(gu({fill:"currentColor",fillRule:"evenodd",height:i,style:gu({flex:"none",lineHeight:1},o),viewBox:"0 0 87 24",xmlns:"http://www.w3.org/2000/svg"},a),{},{children:[d.jsx("title",{children:Sl}),d.jsx("path",{d:"M11.333 2c-2.959 0-5.272.943-6.94 2.884C2.78 6.717 2 9.09 2 12.027c0 2.911.78 5.283 2.394 7.116C6.06 21.03 8.374 22 11.333 22c2.931 0 5.244-.943 6.939-2.83 1.614-1.806 2.42-4.178 2.42-7.143s-.806-5.364-2.42-7.17C16.577 2.943 14.264 2 11.332 2zm0 2.776c1.99 0 3.523.62 4.599 1.914 1.049 1.294 1.587 3.073 1.587 5.337s-.538 4.016-1.587 5.283c-1.076 1.267-2.609 1.914-4.6 1.914-1.99 0-3.55-.674-4.625-1.995-1.05-1.294-1.56-3.019-1.56-5.202 0-2.21.51-3.935 1.56-5.23 1.102-1.347 2.636-2.02 4.626-2.02zM22.979 2v19.623h3.066V2h-3.066zm6.159 0v19.623h3.066V2h-3.066zm12.21 5.31c-1.775 0-3.173.296-4.195.943-1.21.701-1.964 1.833-2.26 3.37l3.04.242c.161-.728.564-1.267 1.156-1.617.511-.323 1.184-.458 2.044-.458 1.99 0 2.986.89 2.986 2.722v.54l-3.04.08c-2.044.054-3.63.485-4.76 1.294-1.237.835-1.829 2.048-1.829 3.612 0 1.159.43 2.102 1.29 2.857.835.728 1.964 1.105 3.417 1.105 1.21 0 2.259-.216 3.146-.62.78-.377 1.453-.89 1.99-1.59v1.833h2.852v-8.895c0-1.698-.43-2.992-1.291-3.882-.969-1.024-2.502-1.536-4.546-1.536zm2.77 7.951v.701c0 1.078-.43 1.968-1.237 2.669-.806.674-1.802 1.024-2.985 1.024-.672 0-1.21-.189-1.64-.512-.431-.324-.62-.728-.62-1.213 0-1.614 1.129-2.473 3.41-2.58l3.073-.089zM56.572 7.31c-1.344 0-2.609.593-3.765 1.806V7.687H49.74v13.936h3.066v-8.356c0-.917.269-1.725.807-2.372.538-.7 1.237-1.024 2.125-1.024 1.828 0 2.743 1.05 2.743 3.18v8.572h3.066v-8.518c0-1.024.242-1.806.78-2.372.511-.593 1.13-.862 1.883-.862 1.075 0 1.829.242 2.313.754.457.486.699 1.294.699 2.4v8.598h3.066v-9.138c0-1.536-.484-2.776-1.398-3.746-.969-.97-2.152-1.429-3.578-1.429-.941 0-1.72.162-2.34.485-.699.324-1.371.917-2.017 1.78-.887-1.51-2.34-2.265-4.384-2.265zm22.593 0c-1.775 0-3.174.296-4.196.943-1.21.701-1.963 1.833-2.26 3.37l3.04.242c.161-.728.565-1.267 1.156-1.617.511-.323 1.184-.458 2.044-.458 1.99 0 2.986.89 2.986 2.722v.54l-3.04.08c-2.043.054-3.63.485-4.76 1.294-1.237.835-1.829 2.048-1.829 3.612 0 1.159.43 2.102 1.291 2.857.834.728 1.964 1.105 3.416 1.105 1.21 0 2.26-.216 3.147-.62.78-.377 1.452-.89 1.99-1.59v1.833H85v-8.895c0-1.698-.43-2.992-1.291-3.882-.968-1.024-2.501-1.536-4.545-1.536zm2.77 7.951v.701c0 1.078-.43 1.968-1.237 2.669-.807.674-1.802 1.024-2.986 1.024-.672 0-1.21-.189-1.64-.512-.43-.324-.619-.728-.619-1.213 0-1.614 1.128-2.473 3.41-2.58l3.072-.089z"})]}))});function xl(t){"@babel/helpers - typeof";return xl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xl(t)}function fm(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),i.push.apply(i,o)}return i}function Yk(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?fm(Object(i),!0).forEach(function(o){Xk(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):fm(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function Xk(t,r,i){return r=Zk(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function Zk(t){var r=Jk(t,"string");return xl(r)=="symbol"?r:String(r)}function Jk(t,r){if(xl(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,r);if(xl(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function eb(t){if(t==null)throw new TypeError("Cannot destructure "+t)}var tb=A.memo(function(t){var r=Object.assign({},(eb(t),t));return d.jsx(zh,Yk({Icon:ec,Text:Mh,"aria-label":Sl,spaceMultiple:Ek,textMultiple:Nk},r))}),ni=ec;ni.Text=Mh;ni.Combine=tb;ni.Avatar=Vk;ni.colorPrimary=Lh;ni.title=Sl;const nb={anthropic:kl,openai:At,google:yr,ollama:ni};function Kn({backend:t,size:r="1em",className:i}){const o=nb[t.toLowerCase()];return o?d.jsx("span",{className:i,style:{display:"inline-flex",alignItems:"center"},children:d.jsx(o,{size:r})}):null}const rb={anthropic:"ANTHROPIC_API_KEY",openai:"OPENAI_API_KEY",google:"GOOGLE_API_KEY"};function Ou(t,r,i){const o=[],a=t.backend;if(a!=="ollama"){const u=rb[a],f=u?i[u]:!1,m=!!r.backends[a]?.apiKey;!f&&!m&&o.push(`No API key for ${a} — set ${u} or configure in Settings`)}return o}function ib(){const[t,r]=A.useState(""),[i,o]=A.useState([]),[a,u]=A.useState(2),[f,m]=A.useState([]),[g,h]=A.useState(new Set),[y,w]=A.useState(""),[S,b]=A.useState({backends:{}}),[M,R]=A.useState({}),[z,D]=A.useState({}),[$,T]=A.useState(null),[te,F]=A.useState(!1),[O,re]=A.useState(new Set),[B,ee]=A.useState("freeform"),[he,ne]=A.useState("./council"),H=v3();A.useEffect(()=>{Promise.all([window.councilAPI.getCouncilDir(),window.councilAPI.getConfig()]).then(([v,G])=>(ne(v),window.councilAPI.listCounsellors(v).then(Y=>[Y,G]))).then(([v,G])=>{m(v),b(G.config),R(G.envStatus);const Y={};for(const ke of v)Y[ke.id]=Ou(ke,G.config,G.envStatus);D(Y);const oe=G.config.defaults?.counsellorIds;if(oe?.length){const ke=new Set(oe.filter(ye=>Y[ye]?.length===0));h(ke.size>0?ke:new Set(v.filter(ye=>Y[ye.id]?.length===0).map(ye=>ye.id)))}else h(new Set(v.filter(ke=>Y[ke.id]?.length===0).map(ke=>ke.id)));const Ce=G.config.defaults?.infographicBackends;Ce?.length&&re(new Set(Ce)),G.config.defaults?.mode&&ee(G.config.defaults.mode)}),window.councilAPI.checkMarkitdown().then(v=>{T(v.installed)})},[]);const we=()=>{if(!t.trim()&&i.length===0)return;let v=t.trim();for(const Y of i)v+=`
22
+
23
+ ---
24
+ Attachment: ${Y.name}
25
+ ${Y.content}`;const G={...S,defaults:{...S.defaults,counsellorIds:Array.from(g),infographicBackends:Array.from(O),mode:B}};window.councilAPI.saveConfig(G),b(G),H.start({topic:v,topicSource:"inline",councilDir:he,counsellorIds:g.size===f.length?void 0:Array.from(g),rounds:a,infographicBackends:O.size>0?Array.from(O):void 0,mode:B})},le=()=>{y.trim()&&(H.inject(y.trim()),w(""))},q=async()=>{F(!0);const v=await window.councilAPI.installMarkitdown();if(F(!1),v.success){T(!0);const G=await Promise.all(i.map(async Y=>{if(Y.content.startsWith("[Cannot convert"))try{return Y}catch{return Y}return Y}));o(G)}},ae=v=>{(z[v]||[]).length>0||h(G=>{const Y=new Set(G);return Y.has(v)?Y.delete(v):Y.add(v),Y})},ge=v=>{re(G=>{const Y=new Set(G);return Y.has(v)?Y.delete(v):Y.add(v),Y})},L=Array.from(g).filter(v=>(z[v]||[]).length===0),Z=(t.trim()||i.length>0)&&L.length>0,k=!!(S.backends.google?.apiKey||M.GOOGLE_API_KEY),P=!!(S.backends.openai?.apiKey||M.OPENAI_API_KEY),U=[{backend:"google",label:"Nano Banana Pro",available:k},{backend:"openai",label:"GPT Image",available:P}];return d.jsxs("div",{className:"flex flex-col h-full",children:[d.jsxs("div",{className:"shrink-0 p-4 pb-3 space-y-3 border-b",children:[d.jsx(p3,{value:t,onChange:r,disabled:H.isRunning,attachments:i,onAttachmentsChange:o,markitdownMissing:$===!1,onInstallMarkitdown:q,isInstallingMarkitdown:te}),d.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[d.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:f.map(v=>{const G=z[v.id]||[],Y=G.length>0,oe=g.has(v.id),Ce=H.isRunning||Y;return d.jsxs("div",{className:"relative group",children:[d.jsxs("button",{onClick:()=>ae(v.id),disabled:Ce,title:Y?G[0]:void 0,className:$e("px-2.5 py-1 rounded-full text-xs font-medium border transition-colors flex items-center gap-1",Y?"border-destructive/40 text-destructive/60 bg-destructive/5 cursor-not-allowed":oe?"bg-primary/15 border-primary/40 text-primary":"bg-transparent border-border text-muted-foreground hover:border-muted-foreground/50",H.isRunning&&!Y&&"opacity-50 cursor-not-allowed"),children:[Y&&d.jsx(Qo,{className:"h-3 w-3"}),!Y&&d.jsx(el,{name:v.name,avatarUrl:v.avatarUrl,size:16}),v.name]}),Y&&d.jsx("div",{className:"absolute bottom-full left-0 mb-1.5 hidden group-hover:block z-20 w-64",children:d.jsx("div",{className:"bg-card border rounded-md shadow-lg px-2.5 py-1.5 text-xs text-destructive",children:G[0]})})]},v.id)})}),d.jsxs("div",{className:"flex items-center gap-2 ml-auto",children:[[{key:"freeform",label:"Freeform",tip:"Open group chat — every counsellor sees the full conversation history on every turn"},{key:"debate",label:"Debate",tip:"Structured argument — round 1 is constructive (each counsellor argues blind), then rebuttal rounds see only the constructives + previous round. Speaker order is shuffled each round with interim summaries."}].map(v=>d.jsx("button",{onClick:()=>ee(v.key),disabled:H.isRunning,title:v.tip,className:$e("px-2.5 py-1 rounded-full text-xs font-medium border transition-colors",B===v.key?"bg-primary/15 border-primary/40 text-primary":"bg-transparent border-border text-muted-foreground hover:border-muted-foreground/50",H.isRunning&&"opacity-50 cursor-not-allowed"),children:v.label},v.key)),U.filter(v=>v.available).map(v=>{const G=O.has(v.backend);return d.jsxs("button",{onClick:()=>ge(v.backend),disabled:H.isRunning,className:$e("px-2.5 py-1 rounded-full text-xs font-medium border transition-colors flex items-center gap-1",G?"bg-primary/15 border-primary/40 text-primary":"bg-transparent border-border text-muted-foreground hover:border-muted-foreground/50",H.isRunning&&"opacity-50 cursor-not-allowed"),children:[d.jsx(Kn,{backend:v.backend,size:14}),v.label]},v.backend)}),d.jsx("label",{className:"text-xs text-muted-foreground",children:"Rounds"}),d.jsx(It,{type:"number",min:1,max:20,value:a,onChange:v=>u(parseInt(v.target.value)||1),disabled:H.isRunning,className:"w-16 h-8 text-center text-xs"}),H.isRunning?d.jsxs(De,{onClick:H.stop,variant:"destructive",size:"sm",className:"gap-1.5",children:[d.jsx(V1,{className:"h-3.5 w-3.5"}),"Stop"]}):d.jsxs(De,{onClick:we,disabled:!Z,size:"sm",className:"gap-1.5",children:[d.jsx(j1,{className:"h-3.5 w-3.5"}),"Start"]})]})]}),H.error&&d.jsx("div",{className:"px-3 py-2 rounded-md bg-destructive/10 border border-destructive/30 text-destructive text-xs",children:H.error})]}),H.title&&d.jsx("div",{className:"shrink-0 px-4 py-2 border-b bg-muted/30",children:d.jsx("h2",{className:"text-sm font-semibold truncate",children:H.title})}),d.jsxs("div",{className:"flex-1 overflow-y-auto",children:[d.jsx(vh,{turns:H.turns,streamingContent:H.streamingContent,mode:B,roundSummaries:H.roundSummaries,activeRoundSummary:H.activeRoundSummary}),H.summaryStatus!=="idle"&&d.jsxs("div",{className:"px-4 py-4 border-t",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[d.jsx(Zr,{className:"h-4 w-4 text-primary"}),d.jsx("h3",{className:"text-sm font-semibold text-primary",children:"Secretary's Summary"}),H.summaryStatus==="running"&&d.jsx("span",{className:"inline-block w-2 h-4 bg-primary animate-pulse rounded-sm"})]}),d.jsx("div",{className:"rounded-lg border bg-card px-4 py-3 text-sm leading-relaxed prose-council",children:d.jsx(Yr,{children:H.summaryContent})}),H.diagram&&H.diagram.length>0&&d.jsxs("div",{className:"mt-4",children:[d.jsx("h4",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Position Diagram"}),d.jsx(wh,{elements:H.diagram})]})]}),H.infographics.length>0&&d.jsxs("div",{className:"px-4 py-4 border-t",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[d.jsx(Au,{className:"h-4 w-4 text-primary"}),d.jsxs("h3",{className:"text-sm font-semibold text-primary",children:["Infographic",H.infographics.length>1?"s":""]})]}),d.jsx("div",{className:"space-y-3",children:H.infographics.map((v,G)=>d.jsx("img",{src:`data:image/png;base64,${v}`,alt:`Infographic ${G+1}`,className:"rounded-lg border max-w-full"},G))})]}),H.infographicStatus==="running"&&d.jsx("div",{className:"px-4 py-4 border-t",children:d.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[d.jsx(vn,{className:"h-4 w-4 animate-spin"}),"Generating infographic..."]})}),H.infographicStatus==="error"&&H.infographicError&&d.jsx("div",{className:"px-4 py-4 border-t",children:d.jsxs("div",{className:"px-3 py-2 rounded-md bg-destructive/10 border border-destructive/30 text-destructive text-xs",children:["Infographic error: ",H.infographicError]})})]}),H.isRunning&&d.jsxs("div",{className:"shrink-0 flex gap-2 p-3 border-t",children:[d.jsx(It,{value:y,onChange:v=>w(v.target.value),onKeyDown:v=>v.key==="Enter"&&le(),placeholder:"Inject a message into the discussion...",className:"h-9 text-sm"}),d.jsxs(De,{onClick:le,variant:"secondary",size:"sm",className:"shrink-0 gap-1.5",children:[d.jsx(T1,{className:"h-3.5 w-3.5"}),"Send"]})]}),d.jsx(x3,{isRunning:H.isRunning,round:H.currentRound,totalRounds:H.totalRounds,speaker:H.currentSpeaker,tokenUsage:H.tokenUsage})]})}const fr=A.forwardRef(({className:t,...r},i)=>d.jsx("div",{ref:i,className:$e("rounded-lg border bg-card text-card-foreground shadow-sm",t),...r}));fr.displayName="Card";const dr=A.forwardRef(({className:t,...r},i)=>d.jsx("div",{ref:i,className:$e("flex flex-col space-y-1.5 p-4",t),...r}));dr.displayName="CardHeader";const pr=A.forwardRef(({className:t,...r},i)=>d.jsx("h3",{ref:i,className:$e("text-base font-semibold leading-none tracking-tight",t),...r}));pr.displayName="CardTitle";const Gr=A.forwardRef(({className:t,...r},i)=>d.jsx("p",{ref:i,className:$e("text-sm text-muted-foreground",t),...r}));Gr.displayName="CardDescription";const mr=A.forwardRef(({className:t,...r},i)=>d.jsx("div",{ref:i,className:$e("p-4 pt-0",t),...r}));mr.displayName="CardContent";const lb=xh("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Xr({className:t,variant:r,...i}){return d.jsx("div",{className:$e(lb({variant:r}),t),...i})}var ob={};function sb(t){const r=typeof process<"u"?ob.HOME:void 0;return r&&t.startsWith(r)?"~"+t.slice(r.length):t}function ab({counsellor:t,issues:r,onClick:i}){const o=r.length>0,a=u=>{u.stopPropagation(),window.councilAPI.openInFinder(t.dirPath)};return d.jsxs(fr,{className:$e("cursor-pointer transition-colors",o?"border-destructive/40 hover:border-destructive/60 hover:bg-destructive/5":"hover:border-primary/50 hover:bg-accent/30"),onClick:i,children:[d.jsxs(dr,{className:"pb-2",children:[d.jsxs("button",{className:"flex items-center gap-1.5 text-[11px] text-muted-foreground/60 font-mono truncate hover:text-muted-foreground transition-colors text-left",title:`${t.dirPath}
26
+ Click to reveal in Finder`,onClick:a,children:[d.jsx(xm,{className:"h-3 w-3 shrink-0"}),d.jsx("span",{className:"truncate",children:sb(t.dirPath)})]}),d.jsxs("div",{className:"flex items-start justify-between gap-2 mt-1",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(el,{name:t.name,avatarUrl:t.avatarUrl,size:48}),d.jsx(pr,{className:$e(o&&"text-destructive"),children:t.name}),t.source&&d.jsx(Xr,{variant:"outline",className:"text-[10px] font-normal px-1.5 py-0",children:t.source})]}),o&&d.jsx(Qo,{className:"h-4 w-4 text-destructive shrink-0 mt-0.5"})]}),d.jsx(Gr,{children:t.description})]}),d.jsxs(mr,{children:[o&&d.jsx("div",{className:"mb-3 space-y-1",children:r.map((u,f)=>d.jsxs("p",{className:"text-xs text-destructive flex items-center gap-1.5",children:[d.jsx("span",{className:"h-1 w-1 rounded-full bg-destructive shrink-0"}),u]},f))}),d.jsx("div",{className:"flex flex-wrap gap-1.5 mb-3",children:t.interests.map(u=>d.jsx(Xr,{variant:"secondary",className:"text-[11px] font-normal",children:u},u))}),d.jsxs("p",{className:"text-xs text-muted-foreground font-mono flex items-center gap-1.5",children:[d.jsx(Kn,{backend:t.backend,size:14}),t.backend,t.model?` · ${t.model}`:"",t.temperature!=null?` · t=${t.temperature}`:""]})]})]})}const tt=A.forwardRef(({className:t,...r},i)=>d.jsx("label",{ref:i,className:$e("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...r}));tt.displayName="Label";var ub={};const cb=["anthropic","openai","google","ollama"];function fb(t){const r=typeof process<"u"?ub.HOME:void 0;return r&&t.startsWith(r)?"~"+t.slice(r.length):t}function db({dirPath:t,isNew:r,onSave:i,onDelete:o,onClose:a}){const[u,f]=A.useState(""),[m,g]=A.useState(""),[h,y]=A.useState("anthropic"),[w,S]=A.useState(""),[b,M]=A.useState(.7),[R,z]=A.useState(""),[D,$]=A.useState(""),[T,te]=A.useState(""),[F,O]=A.useState(!1),[re,B]=A.useState(""),[ee,he]=A.useState(""),ne=A.useRef(null),[H,we]=A.useState(r),[le,q]=A.useState({}),[ae,ge]=A.useState(null),L=A.useCallback(async v=>{if(!le[v]){ge(v);try{const{config:G}=await window.councilAPI.getConfig(),Y=G.backends[v]||{},oe=await window.councilAPI.probeBackend(v,Y);q(Ce=>({...Ce,[v]:oe.models}))}catch{q(G=>({...G,[v]:[]}))}ge(null)}},[le]);A.useEffect(()=>{L(h)},[h]),A.useEffect(()=>{t&&!r&&window.councilAPI.getCounsellor(t).then(v=>{const G=v.frontmatter;f(G.name||""),g(G.description||""),y(G.backend||"anthropic"),S(G.model||""),M(G.temperature??.7),z((G.interests||[]).join(", ")),$(G.avatar||""),te(v.body),B(v.raw),ne.current=v.raw,we(!0)})},[t,r]);const Z=A.useCallback(()=>{if(F)return re;const v=["---",`name: "${u}"`,`description: "${m}"`,`interests: [${R.split(",").map(G=>`"${G.trim()}"`).filter(G=>G!=='""').join(", ")}]`,`backend: "${h}"`];return w&&v.push(`model: "${w}"`),v.push(`temperature: ${b}`),D.trim()&&v.push(`avatar: "${D.trim()}"`),v.push("---"),v.push(T),v.join(`
27
+ `)},[F,re,u,m,R,h,w,b,D,T]),k=H&&(r?!!(ee||u||m||T):ne.current!==null&&Z()!==ne.current),P=()=>{const v=Z(),G=r?ee.trim().toLowerCase().replace(/\s+/g,"-"):"";ne.current=v,i(t,G,v)},U=()=>{k&&!confirm("You have unsaved changes. Discard them?")||a()};return d.jsxs("div",{className:"flex flex-col h-full overflow-y-auto",children:[d.jsxs("div",{className:"flex border-b bg-card sticky top-0 z-10 px-6 py-3 gap-3",children:[d.jsxs(De,{variant:"ghost",size:"sm",onClick:U,className:"gap-1.5 -ml-2 self-center shrink-0",children:[d.jsx(gm,{className:"h-4 w-4"}),"Counsellors"]}),d.jsx(cr,{orientation:"vertical",className:"self-stretch"}),d.jsx(el,{name:u||"?",avatarUrl:D.trim()||void 0,size:32,className:"self-center shrink-0"}),d.jsxs("div",{className:"flex flex-col min-w-0 flex-1 gap-0.5",children:[d.jsx("h2",{className:"text-lg font-semibold leading-tight",children:r?"New Counsellor":u||"Edit Counsellor"}),!r&&t&&d.jsxs("div",{className:"flex items-center gap-1 min-w-0",children:[d.jsxs("button",{className:"flex items-center gap-1.5 min-w-0 text-[11px] text-muted-foreground/60 font-mono hover:text-muted-foreground transition-colors",title:"Open in Finder",onClick:()=>window.councilAPI.openInFinder(t),children:[d.jsx(xm,{className:"h-3 w-3 shrink-0"}),d.jsx("span",{className:"truncate",children:fb(t)})]}),d.jsxs("div",{className:"flex items-center gap-1 shrink-0 ml-1",children:[d.jsxs(De,{variant:"ghost",size:"sm",className:"h-5 px-1.5 gap-1 text-[11px] text-muted-foreground",title:"Open in Terminal",onClick:()=>window.councilAPI.openInTerminal(t),children:[d.jsx(W1,{className:"h-3 w-3"}),"Terminal"]}),d.jsxs(De,{variant:"ghost",size:"sm",className:"h-5 px-1.5 gap-1 text-[11px] text-muted-foreground",title:"Open in code editor",onClick:()=>window.councilAPI.openInEditor(t),children:[d.jsx(n1,{className:"h-3 w-3"}),"Editor"]})]})]})]}),d.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[d.jsx(De,{onClick:P,disabled:!k,children:r?"Create":"Save"}),!r&&t&&d.jsxs(De,{variant:"destructive",size:"sm",onClick:()=>{confirm("Delete this counsellor?")&&o(t)},children:[d.jsx(yu,{className:"h-4 w-4 mr-1.5"}),"Delete"]})]})]}),d.jsxs("div",{className:"flex gap-1 px-6 pt-4",children:[d.jsx(De,{variant:F?"ghost":"secondary",size:"sm",onClick:()=>O(!1),children:"Form"}),d.jsx(De,{variant:F?"secondary":"ghost",size:"sm",onClick:()=>{F||B(Z()),O(!F)},children:"Raw ABOUT.md"})]}),d.jsx("div",{className:"px-6 py-4 space-y-4 flex-1",children:F?d.jsx(Ji,{value:re,onChange:v=>B(v.target.value),className:"min-h-[400px] font-mono text-xs"}):d.jsxs("div",{className:"max-w-2xl space-y-4",children:[r&&d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"ID (folder name)"}),d.jsx(It,{value:ee,onChange:v=>he(v.target.value),placeholder:"e.g. researcher"})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"Name"}),d.jsx(It,{value:u,onChange:v=>f(v.target.value)})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"Description"}),d.jsx(It,{value:m,onChange:v=>g(v.target.value)})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"Avatar"}),d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(el,{name:u||"?",avatarUrl:D.trim()||void 0,size:40}),d.jsx(It,{value:D,onChange:v=>$(v.target.value),placeholder:"URL or relative file path (e.g. avatar.png)",className:"flex-1 font-mono text-xs"})]}),d.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Enter a URL (https://...) or a file path relative to the counsellor folder. Leave empty for default initial."})]}),d.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"Backend"}),d.jsxs("div",{className:"relative",children:[d.jsx(Kn,{backend:h,size:16,className:"absolute left-3 top-1/2 -translate-y-1/2 pointer-events-none"}),d.jsx("select",{value:h,onChange:v=>y(v.target.value),className:"flex h-10 w-full rounded-md border border-input bg-background pl-9 pr-3 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:cb.map(v=>d.jsx("option",{value:v,children:v},v))})]})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"Model"}),ae===h?d.jsxs("div",{className:"flex h-10 items-center gap-2 rounded-md border border-input bg-background px-3 text-sm text-muted-foreground",children:[d.jsx(vn,{className:"h-3.5 w-3.5 animate-spin"}),"Detecting…"]}):d.jsxs("select",{value:w,onChange:v=>S(v.target.value),className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[d.jsx("option",{value:"",children:"(backend default)"}),(le[h]||[]).map(v=>d.jsx("option",{value:v,children:v},v)),w&&!(le[h]||[]).includes(w)&&d.jsxs("option",{value:w,children:[w," (current)"]})]})]})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsxs(tt,{children:["Temperature: ",b.toFixed(1)]}),d.jsx("input",{type:"range",min:"0",max:"2",step:"0.1",value:b,onChange:v=>M(parseFloat(v.target.value)),className:"w-full accent-primary"})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"Interests (comma-separated)"}),d.jsx(It,{value:R,onChange:v=>z(v.target.value)})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{children:"System Prompt"}),d.jsx(Ji,{value:T,onChange:v=>te(v.target.value),className:"min-h-[300px] font-mono text-xs"})]})]})})]})}function pb({onClose:t,onAdded:r}){const[i,o]=A.useState("local"),[a,u]=A.useState(""),[f,m]=A.useState(""),[g,h]=A.useState(!1),[y,w]=A.useState(null),[S,b]=A.useState(null),M=async()=>{const z=await window.councilAPI.selectDirectory();z&&u(z)},R=async()=>{w(null),b(null),h(!0);try{if(i==="local"){if(!a){w("Please select a directory"),h(!1);return}const z=await window.councilAPI.registryAddLocal(a);b(`Registered: ${z.id} — ${z.name}`)}else{if(!f){w("Please enter a git URL"),h(!1);return}const z=await window.councilAPI.registryAddRemote(f),D=z.map($=>`${$.id} — ${$.name}`).join(", ");b(`Registered ${z.length}: ${D}`)}r()}catch(z){w(z instanceof Error?z.message:String(z))}finally{h(!1)}};return d.jsx("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50",children:d.jsxs("div",{className:"bg-background border rounded-lg shadow-lg w-full max-w-md mx-4",children:[d.jsxs("div",{className:"flex items-center justify-between p-4 border-b",children:[d.jsx("h2",{className:"text-lg font-semibold",children:"Add Counsellor"}),d.jsx(De,{variant:"ghost",size:"icon",onClick:t,children:d.jsx(wm,{className:"h-4 w-4"})})]}),d.jsxs("div",{className:"p-4 space-y-4",children:[d.jsxs("div",{className:"flex gap-1 p-1 bg-muted rounded-md",children:[d.jsxs("button",{className:`flex-1 flex items-center justify-center gap-2 px-3 py-1.5 rounded text-sm font-medium transition-colors ${i==="local"?"bg-background shadow-sm":"text-muted-foreground hover:text-foreground"}`,onClick:()=>{o("local"),w(null),b(null)},children:[d.jsx(c1,{className:"h-4 w-4"}),"Local Path"]}),d.jsxs("button",{className:`flex-1 flex items-center justify-center gap-2 px-3 py-1.5 rounded text-sm font-medium transition-colors ${i==="git"?"bg-background shadow-sm":"text-muted-foreground hover:text-foreground"}`,onClick:()=>{o("git"),w(null),b(null)},children:[d.jsx(h1,{className:"h-4 w-4"}),"Git URL"]})]}),i==="local"&&d.jsxs("div",{className:"space-y-2",children:[d.jsx(tt,{children:"Counsellor Directory"}),d.jsxs("div",{className:"flex gap-2",children:[d.jsx(It,{value:a,onChange:z=>u(z.target.value),placeholder:"/path/to/counsellor",className:"flex-1"}),d.jsx(De,{variant:"outline",onClick:M,children:"Browse"})]}),d.jsx("p",{className:"text-xs text-muted-foreground",children:"Directory must contain an ABOUT.md file"})]}),i==="git"&&d.jsxs("div",{className:"space-y-2",children:[d.jsx(tt,{children:"Git Repository URL"}),d.jsx(It,{value:f,onChange:z=>m(z.target.value),placeholder:"https://github.com/user/counsellor.git"}),d.jsx("p",{className:"text-xs text-muted-foreground",children:"Will be cloned to ~/.ai-council/counsellors/"})]}),y&&d.jsx("p",{className:"text-sm text-destructive",children:y}),S&&d.jsx("p",{className:"text-sm text-green-600",children:S})]}),d.jsxs("div",{className:"flex justify-end gap-2 p-4 border-t",children:[d.jsx(De,{variant:"outline",onClick:t,children:"Cancel"}),d.jsxs(De,{onClick:R,disabled:g,children:[g&&d.jsx(vn,{className:"h-4 w-4 mr-2 animate-spin"}),g?"Adding...":"Add"]})]})]})})}function mb(){const[t,r]=A.useState([]),[i,o]=A.useState({backends:{}}),[a,u]=A.useState({}),[f,m]=A.useState(null),[g,h]=A.useState(!1),[y,w]=A.useState(""),[S,b]=A.useState("./council"),M=A.useCallback(async()=>{const T=await window.councilAPI.getCouncilDir();b(T);const[te,F]=await Promise.all([window.councilAPI.listCounsellors(T),window.councilAPI.getConfig()]);r(te),o(F.config),u(F.envStatus)},[]);A.useEffect(()=>{M()},[M]);const R=async(T,te,F)=>{f?.isNew?await window.councilAPI.createCounsellor(S,te,F):T&&await window.councilAPI.saveCounsellor(T,F),m(null),M()},z=async T=>{const te=t.find(F=>F.dirPath===T);te?.source?await window.councilAPI.registryRemove(te.id,te.source==="git"):await window.councilAPI.deleteCounsellor(T),m(null),M()};if(f)return d.jsx(db,{dirPath:f.dirPath,isNew:f.isNew,onSave:R,onDelete:z,onClose:()=>m(null)});const D=t.reduce((T,te)=>T+Ou(te,i,a).length,0),$=A.useMemo(()=>{if(!y.trim())return t;const T=y.toLowerCase();return t.filter(te=>te.id.toLowerCase().includes(T)||te.name.toLowerCase().includes(T)||te.description.toLowerCase().includes(T))},[t,y]);return d.jsxs("div",{className:"flex flex-col h-full",children:[d.jsxs("div",{className:"shrink-0 p-6 pb-0 space-y-4",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:"Counsellors"}),d.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Manage your council members"})]}),d.jsxs("div",{className:"flex items-center gap-3",children:[D>0&&d.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-destructive",children:[d.jsx(Qo,{className:"h-3.5 w-3.5"}),d.jsxs("span",{children:[D," ",D===1?"issue":"issues"]})]}),d.jsxs(De,{variant:"outline",onClick:()=>h(!0),className:"gap-2",children:[d.jsx(d1,{className:"h-4 w-4"}),"Add Counsellor"]}),d.jsxs(De,{onClick:()=>m({dirPath:null,isNew:!0}),className:"gap-2",children:[d.jsx(P1,{className:"h-4 w-4"}),"New Counsellor"]})]})]}),d.jsxs("div",{className:"relative",children:[d.jsx(qd,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),d.jsx(It,{value:y,onChange:T=>w(T.target.value),placeholder:"Search by name, id, or description...",className:"pl-9 h-9 text-sm"})]})]}),d.jsx("div",{className:"flex-1 overflow-y-auto p-6 pt-4",children:t.length===0?d.jsxs("div",{className:"flex flex-col items-center justify-center py-16 text-muted-foreground/50 gap-2",children:[d.jsxs("p",{className:"text-sm",children:["No counsellors found in ",S,"/"]}),d.jsx(De,{variant:"outline",size:"sm",onClick:()=>m({dirPath:null,isNew:!0}),children:"Create your first counsellor"})]}):$.length===0?d.jsxs("div",{className:"flex flex-col items-center justify-center py-16 text-muted-foreground/50 gap-2",children:[d.jsx(qd,{className:"h-8 w-8"}),d.jsxs("p",{className:"text-sm",children:['No counsellors match "',y,'"']})]}):d.jsx("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(18rem,1fr))] gap-3",children:$.map(T=>d.jsx(ab,{counsellor:T,issues:Ou(T,i,a),onClick:()=>m({dirPath:T.dirPath,isNew:!1})},T.id))})}),g&&d.jsx(pb,{onClose:()=>h(!1),onAdded:()=>{M()}})]})}function hb(t){const r=new TextEncoder().encode(t).length;return r<1024?`${r} B`:r<1024*1024?`${(r/1024).toFixed(1)} KB`:`${(r/(1024*1024)).toFixed(1)} MB`}function gb({name:t,content:r}){const[i,o]=A.useState(!1),[a,u]=A.useState(!1),f=async m=>{m.stopPropagation(),await navigator.clipboard.writeText(r),u(!0),setTimeout(()=>u(!1),1500)};return d.jsxs("div",{className:"rounded-md border bg-background",children:[d.jsxs("button",{type:"button",className:"flex items-center gap-2 w-full px-3 py-2 text-left text-sm hover:bg-muted/50 transition-colors",onClick:()=>o(!i),children:[d.jsx(qy,{className:`h-3.5 w-3.5 text-muted-foreground shrink-0 transition-transform ${i?"rotate-90":""}`}),d.jsx(Zr,{className:"h-3.5 w-3.5 text-muted-foreground shrink-0"}),d.jsx("span",{className:"font-medium truncate",children:t}),d.jsx("span",{className:"text-xs text-muted-foreground shrink-0",children:hb(r)}),d.jsx("span",{className:"ml-auto shrink-0",onClick:f,children:a?d.jsx(Xi,{className:"h-3.5 w-3.5 text-green-500"}):d.jsx(Tu,{className:"h-3.5 w-3.5 text-muted-foreground hover:text-foreground"})})]}),i&&d.jsx("div",{className:"border-t px-3 py-2",children:d.jsx("pre",{className:"text-xs leading-relaxed whitespace-pre-wrap break-words max-h-64 overflow-y-auto",children:r})})]})}const dm=`
28
+
29
+ ---
30
+ Attachment: `;function pm(t){const r=t.indexOf(dm);if(r===-1)return{prompt:t,attachments:[]};const i=t.slice(0,r),u=t.slice(r).split(dm).filter(Boolean).map(f=>{const m=f.indexOf(`
31
+ `);return m===-1?{name:f,content:""}:{name:f.slice(0,m),content:f.slice(m+1)}});return{prompt:i,attachments:u}}function yb(t){const r=t.title??t.topic,i=t.counsellors.map(f=>f.name).join(", "),o=new Date(t.startedAt).toLocaleString(),a=[];a.push(`# ${r}`),a.push(""),a.push(`**Prompt:** ${t.topic}`),a.push(`**Counsellors:** ${i}`),a.push(`**Date:** ${o}`),a.push(""),a.push("---");let u=0;for(const f of t.turns)f.round!==u&&(u=f.round,a.push(""),a.push(`## Round ${u}`)),a.push(""),a.push(`### ${f.counsellorName}`),a.push(f.content);return t.summary&&(a.push(""),a.push("---"),a.push(""),a.push("## Summary"),a.push(t.summary)),a.join(`
32
+ `)}function xb(){const[t,r]=A.useState([]),[i,o]=A.useState(!0),[a,u]=A.useState(null),[f,m]=A.useState(null),[g,h]=A.useState(null),[y,w]=A.useState(!1),[S,b]=A.useState(!1),[M,R]=A.useState({}),[z,D]=A.useState(!1),[$,T]=A.useState(null),[te,F]=A.useState(null),[O,re]=A.useState({backends:{}}),[B,ee]=A.useState({});A.useEffect(()=>{window.councilAPI.getConfig().then(L=>{re(L.config),ee(L.envStatus)})},[]);const he=!!(O.backends.google?.apiKey||B.GOOGLE_API_KEY),ne=!!(O.backends.openai?.apiKey||B.OPENAI_API_KEY),H=A.useCallback(async()=>{o(!0);try{const L=await window.councilAPI.listHistory();r(L)}catch{}finally{o(!1)}},[]);A.useEffect(()=>{H()},[H]);const we=async L=>{try{const Z=await window.councilAPI.getHistoryEntry(L);m(Z),u(L);try{const k=await window.councilAPI.getCouncilDir(),P=await window.councilAPI.listCounsellors(k);R(Object.fromEntries(P.map(U=>[U.name,U.avatarUrl])))}catch{}}catch{}},le=async L=>{try{await window.councilAPI.deleteHistoryEntry(L),h(null),a===L&&(u(null),m(null)),H()}catch{}},q=async()=>{f&&(await navigator.clipboard.writeText(yb(f)),w(!0),setTimeout(()=>w(!1),1500))},ae=A.useMemo(()=>f?pm(f.topic):null,[f]),ge=async()=>{if(!f||!ae)return;const L=z?f.topic:ae.prompt;await navigator.clipboard.writeText(L),b(!0),setTimeout(()=>b(!1),1500)};return a&&f?d.jsxs("div",{className:"flex flex-col h-full",children:[d.jsxs("div",{className:"flex items-center gap-3 p-4 border-b shrink-0",children:[d.jsxs(De,{variant:"ghost",size:"sm",onClick:()=>{u(null),m(null)},children:[d.jsx(gm,{className:"h-4 w-4 mr-1"}),"Back"]}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("h2",{className:"text-sm font-semibold truncate",children:f.title??f.topic}),d.jsxs("p",{className:"text-xs text-muted-foreground",children:[new Date(f.startedAt).toLocaleString()," — ",f.counsellors.map(L=>L.name).join(", ")]})]}),d.jsxs(De,{variant:"outline",size:"sm",className:"gap-1.5 shrink-0",onClick:q,children:[y?d.jsx(Xi,{className:"h-3.5 w-3.5 text-green-500"}):d.jsx(R1,{className:"h-3.5 w-3.5"}),y?"Copied!":"Share"]}),d.jsxs(Xr,{variant:"secondary",children:[f.rounds," round",f.rounds>1?"s":""]})]}),d.jsxs("div",{className:"flex-1 overflow-y-auto",children:[d.jsx("div",{className:"group px-4 pt-4 pb-2",children:d.jsxs("div",{className:"relative rounded-lg border bg-muted/50 px-4 py-3",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-1.5",children:[d.jsx(Lu,{className:"h-3.5 w-3.5 text-muted-foreground"}),d.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"Prompt"}),ae&&ae.attachments.length>0&&d.jsxs("button",{onClick:()=>D(!z),className:"ml-auto flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors",children:[z?d.jsx(l1,{className:"h-3 w-3"}):d.jsx(s1,{className:"h-3 w-3"}),z?"Show attachments":"Show raw"]})]}),z?d.jsx("div",{className:"text-sm leading-relaxed pr-8 prose-council",children:d.jsx(Yr,{children:f.topic.replace(new RegExp("(?<!\\n)\\n(?!\\n)","g"),`
33
+
34
+ `)})}):d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"text-sm leading-relaxed pr-8 prose-council",children:d.jsx(Yr,{children:(ae?.prompt??f.topic).replace(new RegExp("(?<!\\n)\\n(?!\\n)","g"),`
35
+
36
+ `)})}),ae&&ae.attachments.length>0&&d.jsx("div",{className:"mt-3 space-y-2",children:ae.attachments.map((L,Z)=>d.jsx(gb,{name:L.name,content:L.content},Z))})]}),d.jsx("button",{onClick:ge,className:"absolute top-2 right-2 p-1 rounded-md opacity-0 group-hover:opacity-100 transition-opacity bg-background/80 hover:bg-muted border border-border/50 text-muted-foreground hover:text-foreground",title:"Copy prompt",children:S?d.jsx(Xi,{className:"h-3.5 w-3.5 text-green-500"}):d.jsx(Tu,{className:"h-3.5 w-3.5"})})]})}),d.jsx(vh,{turns:f.turns.map(L=>({...L,avatarUrl:M[L.counsellorName]??L.avatarUrl})),mode:f.mode,roundSummaries:f.roundSummaries}),f.summary&&d.jsxs("div",{className:"px-4 py-4 border-t",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[d.jsx(Zr,{className:"h-4 w-4 text-primary"}),d.jsx("h3",{className:"text-sm font-semibold text-primary",children:"Secretary's Summary"})]}),d.jsx("div",{className:"rounded-lg border bg-card px-4 py-3 text-sm leading-relaxed prose-council",children:d.jsx(Yr,{children:f.summary})}),f.diagram&&f.diagram.length>0&&d.jsxs("div",{className:"mt-4",children:[d.jsx("h4",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Position Diagram"}),d.jsx(wh,{elements:f.diagram})]})]}),(he||ne||(f.infographics?.length??0)>0)&&d.jsxs("div",{className:"px-4 py-4 border-t",children:[f.infographics&&f.infographics.length>0&&d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[d.jsx(Au,{className:"h-4 w-4 text-primary"}),d.jsxs("h3",{className:"text-sm font-semibold text-primary",children:["Infographic",f.infographics.length>1?"s":""]})]}),d.jsx("div",{className:"space-y-4 mb-4",children:f.infographics.map((L,Z)=>d.jsxs("div",{className:"group relative",children:[d.jsx("img",{src:`data:image/png;base64,${L}`,alt:`Infographic ${Z+1}`,className:"rounded-lg border max-w-full"}),d.jsx("button",{onClick:async()=>{if(a)try{await window.councilAPI.deleteInfographic(a,Z),m(k=>{if(!k?.infographics)return k;const P=[...k.infographics];return P.splice(Z,1),{...k,infographics:P}})}catch{}},className:"absolute top-2 right-2 p-1.5 rounded-md opacity-0 group-hover:opacity-100 transition-opacity bg-background/80 hover:bg-destructive/10 border border-border/50 text-muted-foreground hover:text-destructive",title:"Delete infographic",children:d.jsx(yu,{className:"h-3.5 w-3.5"})})]},Z))})]}),(he||ne)&&d.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[he&&d.jsx(De,{variant:"outline",size:"sm",className:"gap-1.5",disabled:!!$,onClick:async()=>{if(a){T("google"),F(null);try{const L=await window.councilAPI.generateInfographic(a,"google");m(Z=>Z&&{...Z,infographics:[...Z.infographics??[],L.infographic]})}catch(L){F(L instanceof Error?L.message:String(L))}finally{T(null)}}},children:$==="google"?d.jsxs(d.Fragment,{children:[d.jsx(vn,{className:"h-3.5 w-3.5 animate-spin"})," Generating..."]}):d.jsxs(d.Fragment,{children:[d.jsx(Kn,{backend:"google",size:14})," Nano Banana Pro"]})}),ne&&d.jsx(De,{variant:"outline",size:"sm",className:"gap-1.5",disabled:!!$,onClick:async()=>{if(a){T("openai"),F(null);try{const L=await window.councilAPI.generateInfographic(a,"openai");m(Z=>Z&&{...Z,infographics:[...Z.infographics??[],L.infographic]})}catch(L){F(L instanceof Error?L.message:String(L))}finally{T(null)}}},children:$==="openai"?d.jsxs(d.Fragment,{children:[d.jsx(vn,{className:"h-3.5 w-3.5 animate-spin"})," Generating..."]}):d.jsxs(d.Fragment,{children:[d.jsx(Kn,{backend:"openai",size:14})," GPT Image"]})})]}),te&&d.jsx("p",{className:"mt-2 text-xs text-destructive",children:te})]})]})]}):d.jsxs("div",{className:"p-6 space-y-6",children:[d.jsx("div",{className:"flex items-center justify-between",children:d.jsxs("div",{children:[d.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:"History"}),d.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Past council discussions"})]})}),i?d.jsxs("div",{className:"flex items-center justify-center py-16 text-muted-foreground/50 gap-2",children:[d.jsx(_1,{className:"h-4 w-4 animate-spin"}),d.jsx("p",{className:"text-sm",children:"Loading history..."})]}):t.length===0?d.jsxs("div",{className:"flex flex-col items-center justify-center py-16 text-muted-foreground/50 gap-3",children:[d.jsx(ym,{className:"h-10 w-10"}),d.jsx("p",{className:"text-sm",children:"No discussions yet. Start one from the Discussion page."})]}):d.jsx("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(18rem,1fr))] gap-3",children:t.map(L=>d.jsxs(fr,{className:"cursor-pointer hover:border-primary/50 transition-colors",onClick:()=>we(L.id),children:[d.jsxs(dr,{className:"pb-2",children:[d.jsxs("div",{className:"flex items-start justify-between gap-2",children:[d.jsx(pr,{className:"line-clamp-2 text-sm",children:L.title??pm(L.topic).prompt}),d.jsx(De,{variant:"ghost",size:"sm",className:"shrink-0 h-7 w-7 p-0 text-muted-foreground hover:text-destructive",onClick:Z=>{Z.stopPropagation(),g===L.id?le(L.id):(h(L.id),setTimeout(()=>h(null),3e3))},children:d.jsx(yu,{className:"h-3.5 w-3.5"})})]}),d.jsx("p",{className:"text-xs text-muted-foreground",children:new Date(L.startedAt).toLocaleString()})]}),d.jsxs(mr,{children:[d.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[d.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[d.jsx(vm,{className:"h-3 w-3"}),L.counsellors.join(", ")]}),d.jsxs(Xr,{variant:"secondary",className:"text-xs",children:[L.rounds," round",L.rounds>1?"s":""]})]}),g===L.id&&d.jsx("p",{className:"text-xs text-destructive mt-2",children:"Click delete again to confirm"})]})]},L.id))})]})}const Vo=["anthropic","openai","google","ollama"],vb={anthropic:"ANTHROPIC_API_KEY",openai:"OPENAI_API_KEY",google:"GOOGLE_API_KEY"},mm={anthropic:"Anthropic",openai:"OpenAI",google:"Google",ollama:"Ollama"},wb={anthropic:"Claude models from Anthropic",openai:"GPT and O-series models from OpenAI",google:"Gemini models from Google",ollama:"Local models via Ollama"};function kb(){const[t,r]=A.useState({backends:{}}),[i,o]=A.useState({}),[a,u]=A.useState({}),[f,m]=A.useState(!1),[g,h]=A.useState({}),[y,w]=A.useState({}),[S,b]=A.useState(!1),[M,R]=A.useState(null),[z,D]=A.useState(!1);A.useEffect(()=>{window.councilAPI.getConfig().then(F=>{r(F.config),o(F.envStatus),w(F.envKeySuffix),u(F.defaultUrls)}),window.councilAPI.checkMarkitdown().then(R)},[]),A.useEffect(()=>{if(Object.keys(a).length!==0)for(const F of Vo)$(F)},[a]);const $=A.useCallback(async F=>{h(B=>({...B,[F]:{loading:!0,connected:null,models:[]}}));const O=t.backends[F]||{},re=await window.councilAPI.probeBackend(F,{apiKey:O.apiKey,baseUrl:O.baseUrl});h(B=>({...B,[F]:{loading:!1,connected:re.connected,models:re.models,error:re.error}}))},[t]),T=(F,O,re)=>{r(B=>({...B,backends:{...B.backends,[F]:{...B.backends[F],[O]:re||void 0}}})),m(!1)},te=async()=>{await window.councilAPI.saveConfig(t),m(!0),setTimeout(()=>m(!1),2e3);for(const F of Vo)$(F)};return d.jsxs("div",{className:"p-6 space-y-6 overflow-y-auto h-full",children:[d.jsxs("div",{children:[d.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:"Settings"}),d.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Configure API keys and backend connections"})]}),d.jsx("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(20rem,1fr))] gap-4",children:Vo.map(F=>{const O=t.backends[F]||{},re=vb[F],B=re?i[re]:!1,ee=g[F],he=a[F]||"";return d.jsxs(fr,{children:[d.jsxs(dr,{className:"pb-3",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(Kn,{backend:F,size:20}),d.jsx(pr,{className:"capitalize",children:F}),ee&&(ee.loading?d.jsx(vn,{className:"h-4 w-4 animate-spin text-muted-foreground"}):ee.connected?d.jsxs("div",{className:"flex items-center gap-1 text-xs text-green-500",children:[d.jsx(Z1,{className:"h-3.5 w-3.5"}),d.jsx("span",{children:"Connected"})]}):d.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground/60",children:[d.jsx(Y1,{className:"h-3.5 w-3.5"}),d.jsx("span",{children:"Offline"})]}))]}),d.jsxs("div",{className:"flex items-center gap-2",children:[re&&d.jsx("div",{className:"flex items-center gap-1 text-xs",children:B?d.jsxs(d.Fragment,{children:[d.jsx(B1,{className:"h-3.5 w-3.5 text-green-500"}),d.jsx("span",{className:"text-green-500 font-mono",children:re})]}):d.jsxs(d.Fragment,{children:[d.jsx(F1,{className:"h-3.5 w-3.5 text-muted-foreground/40"}),d.jsx("span",{className:"text-muted-foreground/40 font-mono",children:re})]})}),d.jsx(De,{variant:"ghost",size:"icon",className:"h-7 w-7",onClick:()=>$(F),disabled:ee?.loading,children:d.jsx(E1,{className:$e("h-3.5 w-3.5",ee?.loading&&"animate-spin")})})]})]}),d.jsx(Gr,{children:wb[F]})]}),d.jsxs(mr,{className:"space-y-3",children:[F!=="ollama"&&(()=>{const ne=O.apiKey?"..."+O.apiKey.slice(-4):null,H=re?y[re]:null;return d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{className:"text-xs",children:"API Key"}),d.jsx(It,{type:"password",value:O.apiKey||"",onChange:we=>T(F,"apiKey",we.target.value),placeholder:B?"(using environment variable)":"Enter API key...",className:"font-mono text-xs"}),(ne||H)&&d.jsxs("div",{className:"flex gap-3 text-[11px] text-muted-foreground font-mono",children:[ne&&d.jsxs("span",{children:["config: ",d.jsx("span",{className:"text-foreground/70",children:ne})]}),H&&d.jsxs("span",{children:["env: ",d.jsx("span",{className:"text-foreground/70",children:H})]})]})]})})(),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{className:"text-xs",children:"Base URL"}),d.jsx(It,{value:O.baseUrl||"",onChange:ne=>T(F,"baseUrl",ne.target.value),placeholder:he,className:"font-mono text-xs"})]}),ee&&!ee.loading&&ee.error&&d.jsx("div",{className:"px-2.5 py-1.5 rounded bg-destructive/10 border border-destructive/20 text-destructive text-xs",children:ee.error}),ee&&!ee.loading&&ee.models.length>0&&d.jsxs("div",{className:"space-y-1.5",children:[d.jsxs(tt,{className:"text-xs text-muted-foreground",children:[ee.connected?"Available models":"Known models",d.jsxs("span",{className:"ml-1 text-muted-foreground/50",children:["(",ee.models.length,")"]})]}),d.jsx("div",{className:"flex flex-wrap gap-1.5 max-h-24 overflow-y-auto",children:ee.models.map(ne=>d.jsx(Xr,{variant:"secondary",className:"text-[11px] font-mono font-normal",children:ne},ne))})]})]})]},F)})}),d.jsx(cr,{}),d.jsxs("div",{children:[d.jsx("h2",{className:"text-lg font-semibold tracking-tight mb-3",children:"Secretary"}),d.jsxs(fr,{children:[d.jsxs(dr,{className:"pb-3",children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(Zr,{className:"h-5 w-5 text-primary"}),d.jsx(pr,{children:"Discussion Summarizer"})]}),d.jsx(Gr,{children:"An LLM that summarizes discussions after they complete, identifying agreements, disagreements, and key takeaways."})]}),d.jsxs(mr,{className:"space-y-3",children:[d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{className:"text-xs",children:"Backend"}),d.jsxs("div",{className:"relative",children:[d.jsxs("button",{type:"button",onClick:()=>b(F=>!F),className:"flex h-9 w-full items-center gap-2 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",children:[t.secretary?.backend?d.jsxs(d.Fragment,{children:[d.jsx(Kn,{backend:t.secretary.backend,size:16}),d.jsx("span",{children:mm[t.secretary.backend]||t.secretary.backend})]}):d.jsx("span",{className:"text-muted-foreground",children:"Disabled"}),d.jsx("svg",{className:"ml-auto h-4 w-4 opacity-50",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:d.jsx("path",{d:"m6 9 6 6 6-6"})})]}),S&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"fixed inset-0 z-40",onClick:()=>b(!1)}),d.jsxs("ul",{className:"absolute z-50 mt-1 w-full rounded-md border bg-popover p-1 shadow-md",children:[d.jsx("li",{children:d.jsx("button",{type:"button",className:$e("flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-sm hover:bg-accent",!t.secretary?.backend&&"bg-accent"),onClick:()=>{r(F=>({...F,secretary:void 0})),m(!1),b(!1)},children:d.jsx("span",{className:"text-muted-foreground",children:"Disabled"})})}),Vo.map(F=>d.jsx("li",{children:d.jsxs("button",{type:"button",className:$e("flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-sm hover:bg-accent",t.secretary?.backend===F&&"bg-accent"),onClick:()=>{r(O=>({...O,secretary:{...O.secretary,backend:F,model:void 0}})),m(!1),b(!1)},children:[d.jsx(Kn,{backend:F,size:16}),d.jsx("span",{children:mm[F]})]})},F))]})]})]})]}),t.secretary?.backend&&d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{className:"text-xs",children:"Model (optional)"}),(()=>{const F=t.secretary.backend,O=g[F],re=O?.models||[],B=O?.loading;return d.jsxs("select",{value:t.secretary?.model||"",onChange:ee=>{r(he=>({...he,secretary:{...he.secretary,model:ee.target.value||void 0}})),m(!1)},disabled:B||re.length===0,className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring font-mono text-xs disabled:opacity-50",children:[d.jsx("option",{value:"",children:B?"Loading models...":re.length===0?"No models available":"Backend default"}),re.map(ee=>d.jsx("option",{value:ee,children:ee},ee))]})})()]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{className:"text-xs",children:"System Prompt (optional)"}),d.jsx(Ji,{value:t.secretary?.systemPrompt||"",onChange:F=>{r(O=>({...O,secretary:{...O.secretary,systemPrompt:F.target.value||void 0}})),m(!1)},placeholder:"Using default prompt (Individual Positions, Convergence, Divergence, Synthesis)",className:"font-mono text-xs min-h-[80px]"})]})]})]})]})]}),d.jsx(cr,{}),!(t.backends.openai?.apiKey||i.OPENAI_API_KEY||t.backends.google?.apiKey||i.GOOGLE_API_KEY)?null:d.jsxs("div",{children:[d.jsx("h2",{className:"text-lg font-semibold tracking-tight mb-3",children:"Infographic"}),d.jsxs(fr,{children:[d.jsxs(dr,{className:"pb-3",children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(Au,{className:"h-5 w-5 text-primary"}),d.jsx(pr,{children:"Image Generation"})]}),d.jsx(Gr,{children:"Generate visual infographic summaries of discussions using AI image models."})]}),d.jsx(mr,{className:"space-y-3",children:d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(tt,{className:"text-xs",children:"Preferred Backend"}),d.jsxs("select",{value:t.infographic?.backend||"",onChange:O=>{const re=O.target.value;r(B=>({...B,infographic:re?{backend:re}:void 0})),m(!1)},className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",children:[d.jsx("option",{value:"",children:"Auto (prefer Google, then OpenAI)"}),d.jsx("option",{value:"google",children:"Google (Gemini)"}),d.jsx("option",{value:"openai",children:"OpenAI (gpt-image-1)"})]})]})})]})]}),d.jsx(cr,{}),d.jsxs("div",{children:[d.jsx("h2",{className:"text-lg font-semibold tracking-tight mb-3",children:"Tools"}),d.jsxs(fr,{children:[d.jsxs(dr,{className:"pb-3",children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(w1,{className:"h-5 w-5 text-primary"}),d.jsx(pr,{children:"Document Conversion"})]}),d.jsx(Gr,{children:"markitdown — converts PDFs, Word, Excel, PowerPoint to text"})]}),d.jsxs(mr,{className:"space-y-3",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("div",{className:"flex items-center gap-2 text-sm",children:M===null?d.jsx(vn,{className:"h-4 w-4 animate-spin text-muted-foreground"}):M.installed?d.jsxs(d.Fragment,{children:[d.jsx(Xy,{className:"h-4 w-4 text-green-500"}),d.jsx("span",{className:"text-green-500 font-medium",children:"Installed"}),M.version&&d.jsxs("span",{className:"text-muted-foreground font-mono text-xs",children:["(",M.version,")"]})]}):d.jsxs(d.Fragment,{children:[d.jsx(Jy,{className:"h-4 w-4 text-muted-foreground/60"}),d.jsx("span",{className:"text-muted-foreground",children:"Not installed"})]})}),M&&!M.installed&&d.jsx(De,{size:"sm",variant:"secondary",disabled:z,onClick:async()=>{D(!0);const F=await window.councilAPI.installMarkitdown();if(D(!1),F.success){const O=await window.councilAPI.checkMarkitdown();R(O)}},className:"gap-1.5",children:z?d.jsxs(d.Fragment,{children:[d.jsx(vn,{className:"h-3.5 w-3.5 animate-spin"})," Installing..."]}):"Install"})]}),d.jsx("div",{className:"flex flex-wrap gap-1.5",children:[".pdf",".docx",".pptx",".xlsx",".epub",".rtf"].map(F=>d.jsx(Xr,{variant:"secondary",className:"text-[11px] font-mono font-normal",children:F},F))})]})]})]}),d.jsx(cr,{}),d.jsx(De,{onClick:te,className:"gap-2",children:f?d.jsxs(d.Fragment,{children:[d.jsx(Xi,{className:"h-4 w-4"})," Saved"]}):"Save Configuration"})]})}function bb(){const[t,r]=A.useState("discussion");return d.jsxs("div",{className:"flex h-screen bg-background",children:[d.jsx(H0,{currentPage:t,onNavigate:r}),d.jsxs("main",{className:"flex-1 overflow-hidden",children:[t==="discussion"&&d.jsx(ib,{}),t==="history"&&d.jsx(xb,{}),t==="counsellors"&&d.jsx(mb,{}),t==="settings"&&d.jsx(kb,{})]})]})}$y.createRoot(document.getElementById("root")).render(d.jsx(Iu.StrictMode,{children:d.jsx(bb,{})}));export{jb as $,b3 as _,A as a,zu as b,Sb as c,Hu as d,_u as g,d as j,Dy as r,Iu as v};