@rafiqui987/markode 0.2.7 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +240 -109
- package/dist/cli.js +1289 -639
- package/dist/web/assets/{abnfDiagram-WEYOIA3C-DpbJC7Xp.js → abnfDiagram-WEYOIA3C-C-xz1zhH.js} +1 -1
- package/dist/web/assets/{arc-DC4i8MWg.js → arc-0NKn9s7n.js} +1 -1
- package/dist/web/assets/{architecture-WOLXFQ4H-eBViYpWx.js → architecture-WOLXFQ4H-yvNPw04L.js} +1 -1
- package/dist/web/assets/{architectureDiagram-ZHVYKT53-BUdoz7It.js → architectureDiagram-ZHVYKT53-DiNkPsUS.js} +1 -1
- package/dist/web/assets/{blockDiagram-RJAE7QA3-g9DAd_oM.js → blockDiagram-RJAE7QA3-Bm5an-ZR.js} +1 -1
- package/dist/web/assets/{c4Diagram-XDPPPE54-DRNtmahu.js → c4Diagram-XDPPPE54-DCIkW1i3.js} +1 -1
- package/dist/web/assets/channel-BkrEjK89.js +1 -0
- package/dist/web/assets/{chunk-2E7WHVMD-pLVU_fk3.js → chunk-2E7WHVMD-w-cvaztJ.js} +1 -1
- package/dist/web/assets/{chunk-4EMNKR2T-CILPvkQp.js → chunk-4EMNKR2T-Dz1c4ddf.js} +1 -1
- package/dist/web/assets/{chunk-55XCU76K-D3MGCCrv.js → chunk-55XCU76K-BkW2QTCZ.js} +1 -1
- package/dist/web/assets/{chunk-7S6XSTFO-CN1GsbIT.js → chunk-7S6XSTFO-SqLAsU6N.js} +1 -1
- package/dist/web/assets/{chunk-AQDTSKZB-CUWKsFsd.js → chunk-AQDTSKZB-DwIPdMmQ.js} +1 -1
- package/dist/web/assets/{chunk-DSNLSHJZ-CwfiRg01.js → chunk-DSNLSHJZ-BNEo5raG.js} +1 -1
- package/dist/web/assets/{chunk-HAGFOTED-Do-8YoBu.js → chunk-HAGFOTED-BokAjJjC.js} +1 -1
- package/dist/web/assets/{chunk-HNE4Q36P-1-JjBgqP.js → chunk-HNE4Q36P-BlJCzrNG.js} +1 -1
- package/dist/web/assets/{chunk-NQOKRVIF-BEHeLMtz.js → chunk-NQOKRVIF-CK1D9VKN.js} +1 -1
- package/dist/web/assets/{chunk-UHW7PFBP-CC1DKtp5.js → chunk-UHW7PFBP-ycMkWOji.js} +1 -1
- package/dist/web/assets/{chunk-VQ5W62QI-CWY0eXsE.js → chunk-VQ5W62QI-CNI8j3BI.js} +1 -1
- package/dist/web/assets/{chunk-WQQL4CDK-BJl_ufDd.js → chunk-WQQL4CDK-DvQQgYrd.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-DKVbKHOf.js → chunk-XXDRQBXY-cFqAbOh1.js} +1 -1
- package/dist/web/assets/{chunk-YZO67HFG-dhkHuKWt.js → chunk-YZO67HFG-CkfGL1zX.js} +1 -1
- package/dist/web/assets/{chunk-ZAUX2LTX-CA6m357j.js → chunk-ZAUX2LTX-BwdZydyj.js} +1 -1
- package/dist/web/assets/{chunk-ZCHMQSOR-DUBbqrP7.js → chunk-ZCHMQSOR-CXDXBIC6.js} +1 -1
- package/dist/web/assets/{classDiagram-v2-4MYWR3UA-PXy4ulRK.js → classDiagram-v2-4MYWR3UA-B95ypqg8.js} +1 -1
- package/dist/web/assets/{cose-bilkent-JH36ORCC-BDYEjy3u.js → cose-bilkent-JH36ORCC-C8-ToTGn.js} +1 -1
- package/dist/web/assets/{cynefin-EF2NZ3EQ-BOMUQs4F.js → cynefin-EF2NZ3EQ-CHth0Nt9.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-WF24UDRP-cX0NpQ7L.js → cynefinDiagram-WF24UDRP-CMcwwxC8.js} +1 -1
- package/dist/web/assets/{dagre-NK4GIZVX-BAP6Gj-L.js → dagre-NK4GIZVX-BZzAgRpg.js} +1 -1
- package/dist/web/assets/{diagram-CBK3MWTC-B5AONjPA.js → diagram-CBK3MWTC-DGwxJbVy.js} +1 -1
- package/dist/web/assets/{diagram-I5XIIV2D-BkwhoH5d.js → diagram-I5XIIV2D-B17CYdAP.js} +1 -1
- package/dist/web/assets/{diagram-ODIL2UCW-DUFps_5l.js → diagram-ODIL2UCW-CYPFYS2M.js} +1 -1
- package/dist/web/assets/{diagram-PFBEJUXE-Dj94WcA4.js → diagram-PFBEJUXE-BQMumROl.js} +1 -1
- package/dist/web/assets/{diagram-RJA3I4VV-BRhr049b.js → diagram-RJA3I4VV-vHTuDO1-.js} +1 -1
- package/dist/web/assets/{diagram-TYUNFSNR-C9EtKuKD.js → diagram-TYUNFSNR-C_WYz7qL.js} +1 -1
- package/dist/web/assets/{dist-DTXSqpYP.js → dist-8bzcdWlP.js} +1 -1
- package/dist/web/assets/{dist-B91b1nu8.js → dist-8k6FSdRu.js} +1 -1
- package/dist/web/assets/{dist-BOIkyUDE.js → dist-B1oQ1VTT.js} +1 -1
- package/dist/web/assets/{dist-CMFTG-Cz.js → dist-B5uXb_Wi.js} +1 -1
- package/dist/web/assets/{dist-6_cnylgs.js → dist-BOCA4kQq.js} +1 -1
- package/dist/web/assets/{dist-DMEslBFn.js → dist-BT3nK1GA.js} +1 -1
- package/dist/web/assets/{dist-uYDRxuA0.js → dist-BruzXrfs.js} +1 -1
- package/dist/web/assets/{dist-CXAToOJL.js → dist-BwF8pAVO.js} +1 -1
- package/dist/web/assets/{dist-B-4tAY5T.js → dist-CFUj2tCy.js} +2 -2
- package/dist/web/assets/{dist-C6oRdq_x.js → dist-CM1-Tp30.js} +1 -1
- package/dist/web/assets/{dist-D5_2d6Ki.js → dist-CubY9gnU.js} +1 -1
- package/dist/web/assets/{dist-CUajnf5G.js → dist-D5EOvBuF.js} +1 -1
- package/dist/web/assets/{dist-CRKS1wXG.js → dist-DFcDEdTm.js} +1 -1
- package/dist/web/assets/{dist-CxtEXJtW.js → dist-DV0HO3Fe.js} +1 -1
- package/dist/web/assets/{dist-DfKlgEia.js → dist-DZQ_bwip.js} +1 -1
- package/dist/web/assets/{dist-SlIdOLRu.js → dist-PwT2nxki.js} +1 -1
- package/dist/web/assets/{dist-C7gsSbg8.js → dist-QI7QavRs.js} +1 -1
- package/dist/web/assets/{dist-BhvCwF6v.js → dist-cSM0Lli0.js} +1 -1
- package/dist/web/assets/{dist-hiB1k3yb.js → dist-ga2OvaLo.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-V4P3TTPT-hUPVHW_L.js → ebnfDiagram-V4P3TTPT-DLMwyX-U.js} +1 -1
- package/dist/web/assets/{elk-QONTBCTQ-CK3_-qCI.js → elk-QONTBCTQ-DVvxbtF4.js} +1 -1
- package/dist/web/assets/{erDiagram-KYQIGQAA-BnzshuRd.js → erDiagram-KYQIGQAA-DPXicJ1t.js} +1 -1
- package/dist/web/assets/{eventmodeling-K75KTNOO-YpRkYpNJ.js → eventmodeling-K75KTNOO-DpHVZP_6.js} +1 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-DrcHkm4d.js +1 -0
- package/dist/web/assets/{ganttDiagram-R7GPNTJY-Cof-TrXj.js → ganttDiagram-R7GPNTJY-Ch6NDX5Q.js} +1 -1
- package/dist/web/assets/{gitGraph-VSP46ZUC-ClyrQrUV.js → gitGraph-VSP46ZUC-CIhLB663.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PDYL7XHY-DcHBmgeW.js → gitGraphDiagram-PDYL7XHY-Ci_MIbqs.js} +1 -1
- package/dist/web/assets/index-CQGURl2V.css +1 -0
- package/dist/web/assets/index-CxwfaWVo.js +132 -0
- package/dist/web/assets/{info-OHQRW6UA-DJuVnR49.js → info-OHQRW6UA-Dau8xD88.js} +1 -1
- package/dist/web/assets/{infoDiagram-MVDRKAX5-SPivATVi.js → infoDiagram-MVDRKAX5-4spgggd7.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-HPEHV2GE-luEQCi0p.js → ishikawaDiagram-HPEHV2GE-DgFczAdB.js} +1 -1
- package/dist/web/assets/{journeyDiagram-BOSHW7O7-CDWNQ0FV.js → journeyDiagram-BOSHW7O7-CJKwCuyG.js} +1 -1
- package/dist/web/assets/{kanban-definition-FNSA4HC5-kCg2Ntni.js → kanban-definition-FNSA4HC5-B_HPa_Q8.js} +1 -1
- package/dist/web/assets/{line-Cs-2UOsh.js → line-Bil8yI0B.js} +1 -1
- package/dist/web/assets/{linear-Dn78ogyi.js → linear-DJSxHb3I.js} +1 -1
- package/dist/web/assets/{mermaid-parser.core-XUq3kRg7.js → mermaid-parser.core-ByEdgqAb.js} +3 -3
- package/dist/web/assets/{mermaid.core-KP0iScKW.js → mermaid.core-CXUI3iYT.js} +4 -4
- package/dist/web/assets/{mindmap-definition-6OY57UG3-DYfhBOEV.js → mindmap-definition-6OY57UG3-w7xG6UiS.js} +1 -1
- package/dist/web/assets/{packet-JDAUHWVQ-m_mxaPh2.js → packet-JDAUHWVQ-YvTb_dXP.js} +1 -1
- package/dist/web/assets/{pegDiagram-ECIUJNBX-C57XlI0z.js → pegDiagram-ECIUJNBX-D5FI1bVJ.js} +1 -1
- package/dist/web/assets/{pie-XZMESJXO-COU-cPpy.js → pie-XZMESJXO-BH2bih-K.js} +1 -1
- package/dist/web/assets/{pieDiagram-GNMPY74T-Cgv_MwBq.js → pieDiagram-GNMPY74T-DUR82NlG.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-D57K4MC3-DLP-IJBg.js → quadrantDiagram-D57K4MC3-DauAEIyL.js} +1 -1
- package/dist/web/assets/{radar-ABXABTNO-DVnhW8Tu.js → radar-ABXABTNO-CdUXfEdf.js} +1 -1
- package/dist/web/assets/{railroad-I3PHUGI6-CbNbR4f3.js → railroad-I3PHUGI6-Djt90nhE.js} +1 -1
- package/dist/web/assets/{railroad-abnf-LNEFI6M7-QapD3MRY.js → railroad-abnf-LNEFI6M7-XqY0pGCO.js} +1 -1
- package/dist/web/assets/{railroad-ebnf-DWYD2UWJ-CSlvjrRs.js → railroad-ebnf-DWYD2UWJ-BNSOgId4.js} +1 -1
- package/dist/web/assets/{railroad-peg-JR7BVNR7-CabNa_kN.js → railroad-peg-JR7BVNR7-DW2TRqOr.js} +1 -1
- package/dist/web/assets/{railroadDiagram-Y72NRBL7-DnlOXd0I.js → railroadDiagram-Y72NRBL7-CTDNRHBf.js} +1 -1
- package/dist/web/assets/{requirementDiagram-EQYSW5RA-Dq1MJEdy.js → requirementDiagram-EQYSW5RA-DJ5H8uqE.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-SY24JHO5--LVb7hhV.js → sankeyDiagram-SY24JHO5-Xa_3Bd4U.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-BLEHNHQU-Cg8W2Kc8.js → sequenceDiagram-BLEHNHQU-2jNpfI3_.js} +1 -1
- package/dist/web/assets/{src-w1h_Rr-8.js → src-DgNmQVK4.js} +1 -1
- package/dist/web/assets/{stateDiagram-v2-A6IESKWZ-ck5PGLTp.js → stateDiagram-v2-A6IESKWZ-DtxzihUG.js} +1 -1
- package/dist/web/assets/{swimlanes-B3ENRKFQ--RxIRIY6.js → swimlanes-B3ENRKFQ-DJBCOj2u.js} +1 -1
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-_cBuwUIk.js +8 -0
- package/dist/web/assets/{timeline-definition-JXYKGLGB-Cgtckb20.js → timeline-definition-JXYKGLGB-C-ixUm6b.js} +1 -1
- package/dist/web/assets/{treeView-D4JQ5SDB-Byi5cU2l.js → treeView-D4JQ5SDB-yWRFH4mR.js} +1 -1
- package/dist/web/assets/{treemap-SAJKECNS-DJ7_3_F8.js → treemap-SAJKECNS-q3FZ9UjJ.js} +1 -1
- package/dist/web/assets/{usecaseDiagram-WPOLBNNX-DkTE13SV.js → usecaseDiagram-WPOLBNNX-Ch9QG7L1.js} +1 -1
- package/dist/web/assets/{vennDiagram-Q3Y3IDCW-C5G521q2.js → vennDiagram-Q3Y3IDCW-85m0XMhF.js} +1 -1
- package/dist/web/assets/{wardley-7MLQ67FV-PChC3W6T.js → wardley-7MLQ67FV-S2NRiIdM.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-IVAIDKWA-B9sJfj7x.js → wardleyDiagram-IVAIDKWA-q8ZLrvVG.js} +1 -1
- package/dist/web/assets/{xychartDiagram-4URNHDU4-CmuAuTkp.js → xychartDiagram-4URNHDU4-eSUy1iT7.js} +1 -1
- package/dist/web/index.html +4 -4
- package/package.json +4 -2
- package/templates/proposals/SKILL.md +14 -6
- package/templates/skill/SKILL.md +18 -0
- package/dist/web/assets/channel-B4Lj3Yy_.js +0 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-DA73lQLy.js +0 -1
- package/dist/web/assets/index-CFg9w5Ih.js +0 -63
- package/dist/web/assets/index-CT9Wzb6W.css +0 -1
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-CeoYxgix.js +0 -8
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-CXUI3iYT.js","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-DgNmQVK4.js","assets/chunk-DSNLSHJZ-BNEo5raG.js","assets/chunk-7S6XSTFO-SqLAsU6N.js","assets/dist-B1oQ1VTT.js","assets/chunk-YZO67HFG-CkfGL1zX.js","assets/chunk-AQDTSKZB-DwIPdMmQ.js","assets/chunk-DUW6YSOI-Dgx8z5s3.js","assets/chunk-UHW7PFBP-ycMkWOji.js","assets/chunk-HAGFOTED-BokAjJjC.js","assets/chunk-J5ZVWO5B-oDCd-gWO.js","assets/rough.esm-Dy-Kn_BL.js","assets/chunk-ZAUX2LTX-BwdZydyj.js","assets/chunk-WQQL4CDK-DvQQgYrd.js","assets/line-Bil8yI0B.js","assets/path-fybaL0A-.js","assets/array-BifhSqXX.js","assets/chunk-HNE4Q36P-BlJCzrNG.js","assets/katex-Ngnvt50Q.css","assets/dist-BT3nK1GA.js","assets/dist-CFUj2tCy.js","assets/dist-BruzXrfs.js","assets/dist-QI7QavRs.js","assets/dist-CubY9gnU.js","assets/dist-DV0HO3Fe.js","assets/dist-ga2OvaLo.js","assets/dist-cSM0Lli0.js","assets/dist-PwT2nxki.js","assets/dist-BOCA4kQq.js","assets/dist-B5uXb_Wi.js","assets/dist-BwF8pAVO.js","assets/dist-DFcDEdTm.js","assets/dist-8bzcdWlP.js","assets/dist-CM1-Tp30.js","assets/dist-D5EOvBuF.js","assets/dockerfile-DJkHQgkl.js","assets/simple-mode-DXiLM1-G.js","assets/factor-LKH5gN8L.js","assets/nsis-viPvXFiq.js","assets/pug-Dwd_FmgJ.js","assets/javascript-Bu8mWwtz.js","assets/dist-DZQ_bwip.js","assets/dist-8k6FSdRu.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,A as t,B as n,C as r,Ct as i,D as a,E as o,F as s,G as c,H as l,I as u,J as d,K as f,L as p,M as m,N as h,O as g,P as _,Q as v,R as y,S as b,St as ee,T as te,U as ne,V as x,W as S,X as re,Y as ie,Z as ae,_ as oe,_t as se,a as ce,at as le,b as ue,bt as de,c as fe,ct as C,d as pe,dt as me,et as he,f as ge,ft as _e,g as ve,gt as ye,h as be,ht as xe,i as Se,it as Ce,j as w,k as T,l as E,lt as we,m as Te,mt as Ee,n as D,nt as O,o as De,ot as Oe,p as ke,pt as Ae,q as je,r as Me,rt as Ne,s as Pe,st as Fe,t as Ie,tt as Le,u as Re,ut as ze,v as Be,vt as Ve,w as He,wt as Ue,x as We,xt as Ge,y as Ke,yt as qe,z as Je}from"./dist-CFUj2tCy.js";var Ye=Object.create,Xe=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,Qe=Object.getOwnPropertyNames,$e=Object.getPrototypeOf,et=Object.prototype.hasOwnProperty,tt=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),nt=(e,t)=>{let n={};for(var r in e)Xe(n,r,{get:e[r],enumerable:!0});return t||Xe(n,Symbol.toStringTag,{value:`Module`}),n},rt=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Qe(t),a=0,o=i.length,s;a<o;a++)s=i[a],!et.call(e,s)&&s!==n&&Xe(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Ze(t,s))||r.enumerable});return e},it=(e,t,n)=>(n=e==null?{}:Ye($e(e)),rt(t||!e||!e.__esModule||!et.call(e,`default`)?Xe(n,`default`,{value:e,enumerable:!0}):n,e)),at=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var ot=tt((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function ee(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,te||(te=!0,ae());else{var t=n(l);t!==null&&ce(ee,t.startTime-e)}}}var te=!1,ne=-1,x=5,S=-1;function re(){return g?!0:!(e.unstable_now()-S<x)}function ie(){if(g=!1,te){var t=e.unstable_now();S=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(ne),ne=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&re());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ce(ee,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ae():te=!1}}}var ae;if(typeof y==`function`)ae=function(){y(ie)};else if(typeof MessageChannel<`u`){var oe=new MessageChannel,se=oe.port2;oe.port1.onmessage=ie,ae=function(){se.postMessage(null)}}else ae=function(){_(ie,0)};function ce(t,n){ne=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):x=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(ne),ne=-1):h=!0,ce(ee,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,te||(te=!0,ae()))),r},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),st=tt(((e,t)=>{t.exports=ot()})),ct=tt((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function ee(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var te=ee.prototype=new b;te.constructor=ee,_(te,y.prototype),te.isPureReactComponent=!0;var ne=Array.isArray;function x(){}var S={H:null,A:null,T:null,S:null},re=Object.prototype.hasOwnProperty;function ie(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ae(e,t){return ie(e.type,t,e.props)}function oe(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function se(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ce=/\/+/g;function le(e,t){return typeof e==`object`&&e&&e.key!=null?se(``+e.key):t.toString(36)}function ue(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(x,x):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function de(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,de(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+le(e,0):a,ne(o)?(i=``,c!=null&&(i=c.replace(ce,`$&/`)+`/`),de(o,r,i,``,function(e){return e})):o!=null&&(oe(o)&&(o=ae(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ce,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(ne(e))for(var u=0;u<e.length;u++)a=e[u],s=l+le(a,u),c+=de(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+le(a,u++),c+=de(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return de(ue(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function fe(e,t,n){if(e==null)return e;var r=[],i=0;return de(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function C(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var pe=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function me(e){var t=S.T,n={};n.types=t===null?null:t.types,S.T=n;try{var r=e(),i=S.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(x,pe)}catch(e){pe(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),S.T=t}}function he(e){var t=S.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else me(he.bind(null,e))}var ge={map:fe,forEach:function(e,t,n){fe(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return fe(e,function(){t++}),t},toArray:function(e){return fe(e,function(e){return e})||[]},only:function(e){if(!oe(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ge,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=ee,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},e.addTransitionType=he,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!re.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return ie(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)re.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return ie(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=oe,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:C}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=me,e.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},e.use=function(e){return S.H.use(e)},e.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},e.useCallback=function(e,t){return S.H.useCallback(e,t)},e.useContext=function(e){return S.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return S.H.useEffect(e,t)},e.useEffectEvent=function(e){return S.H.useEffectEvent(e)},e.useId=function(){return S.H.useId()},e.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return S.H.useMemo(e,t)},e.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},e.useRef=function(e){return S.H.useRef(e)},e.useState=function(e){return S.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return S.H.useTransition()},e.version=`19.3.1`})),lt=tt(((e,t)=>{t.exports=ct()})),ut=tt((e=>{var t=lt();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`),o=Symbol.for(`react.recoverable`),s=Symbol.for(`react.optimistic_key`);function c(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:r===s?s:``+r,children:e,containerInfo:t,implementation:n}}var l=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:o,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return c(e,t,null,r)},e.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version=`19.3.1`})),dt=tt(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=ut()})),ft=tt((e=>{var t=st(),n=lt(),r=dt();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}function f(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&f(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function p(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function m(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function h(e){var t=[null,null],n=p(e);return n===null||g(t,e,n.child,{foundSelf:!1}),t}function g(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&g(e,t,n.child,r))return!0;n=n.sibling}return!1}function _(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var v=null,y=null;function b(e,t,n){return e===n||e===t&&(v=e,!0)}function ee(e,t,n){return e===n?(y=e,!1):e===t&&(y!==null&&(v=e),!0)}function te(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function ne(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var x=Object.assign,S=Symbol.for(`react.element`),re=Symbol.for(`react.transitional.element`),ie=Symbol.for(`react.portal`),ae=Symbol.for(`react.fragment`),oe=Symbol.for(`react.strict_mode`),se=Symbol.for(`react.profiler`),ce=Symbol.for(`react.consumer`),le=Symbol.for(`react.context`),ue=Symbol.for(`react.forward_ref`),de=Symbol.for(`react.suspense`),fe=Symbol.for(`react.suspense_list`),C=Symbol.for(`react.memo`),pe=Symbol.for(`react.lazy`),me=Symbol.for(`react.activity`),he=Symbol.for(`react.legacy_hidden`),ge=Symbol.for(`react.memo_cache_sentinel`),_e=Symbol.for(`react.view_transition`),ve=Symbol.for(`react.recoverable`),ye=Symbol.iterator;function be(e){return typeof e!=`object`||!e?null:(e=ye&&e[ye]||e[`@@iterator`],typeof e==`function`?e:null)}var xe=Symbol.for(`react.client.reference`);function Se(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===xe?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case ae:return`Fragment`;case se:return`Profiler`;case oe:return`StrictMode`;case de:return`Suspense`;case fe:return`SuspenseList`;case me:return`Activity`;case _e:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case ie:return`Portal`;case le:return e.displayName||`Context`;case ce:return(e._context.displayName||`Context`)+`.Consumer`;case ue:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case C:return t=e.displayName||null,t===null?Se(e.type)||`Memo`:t;case pe:t=e._payload,e=e._init;try{return Se(e(t))}catch{}}return null}var Ce=Array.isArray,w=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E={pending:!1,data:null,method:null,action:null},we=[],Te=-1;function Ee(e){return{current:e}}function D(e){0>Te||(e.current=we[Te],we[Te]=null,Te--)}function O(e,t){Te++,we[Te]=e.current,e.current=t}var De=Ee(null),Oe=Ee(null),ke=Ee(null),Ae=Ee(null);function je(e,t){switch(O(ke,t),O(Oe,e),O(De,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?pp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=pp(t),e=mp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}D(De),O(De,e)}function Me(){D(De),D(Oe),D(ke)}function Ne(e){var t=e.memoizedState;t!==null&&(uh._currentValue=t.memoizedState,O(Ae,e)),t=De.current;var n=mp(t,e.type);t!==n&&(O(Oe,e),O(De,n))}function Pe(e){Oe.current===e&&(D(De),D(Oe)),Ae.current===e&&(D(Ae),uh._currentValue=E)}var Fe,Ie;function Le(e){if(Fe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Fe=t&&t[1]||``,Ie=-1<e.stack.indexOf(`
|
|
3
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
4
|
+
`+Fe+e+Ie}var Re=!1;function ze(e,t){if(!e||Re)return``;Re=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
5
|
+
`),l=s.split(`
|
|
6
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
7
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Re=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Le(n):``}function Be(e,t){switch(e.tag){case 26:case 27:case 5:return Le(e.type);case 16:return Le(`Lazy`);case 13:return e.child!==t&&t!==null?Le(`Suspense Fallback`):Le(`Suspense`);case 19:return Le(`SuspenseList`);case 0:case 15:return ze(e.type,!1);case 11:return ze(e.type.render,!1);case 1:return ze(e.type,!0);case 31:return Le(`Activity`);case 30:return Le(`ViewTransition`);default:return``}}function Ve(e){try{var t=``,n=null;do t+=Be(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
8
|
+
Error generating stack: `+e.message+`
|
|
9
|
+
`+e.stack}}var He=Object.prototype.hasOwnProperty,Ue=t.unstable_scheduleCallback,We=t.unstable_cancelCallback,Ge=t.unstable_shouldYield,Ke=t.unstable_requestPaint,qe=t.unstable_now,Je=t.unstable_getCurrentPriorityLevel,Ye=t.unstable_ImmediatePriority,Xe=t.unstable_UserBlockingPriority,Ze=t.unstable_NormalPriority,Qe=t.unstable_LowPriority,$e=t.unstable_IdlePriority,et=t.log,tt=t.unstable_setDisableYieldValue,nt=null,rt=null;function it(e){if(typeof et==`function`&&tt(e),rt&&typeof rt.setStrictMode==`function`)try{rt.setStrictMode(nt,e)}catch{}}var at=Math.clz32?Math.clz32:ut,ot=Math.log,ct=Math.LN2;function ut(e){return e>>>=0,e===0?32:31-(ot(e)/ct|0)|0}var ft=256,pt=262144,mt=4194304;function ht(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function gt(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=ht(n))):i=ht(o):i=ht(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=ht(n))):i=ht(o)):i=ht(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function _t(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function vt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-at(n),i=1<<r;t|=e[r],n&=~i}return t}function yt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bt(){var e=mt;return mt<<=1,!(mt&62914560)&&(mt=4194304),e}function xt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function St(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ct(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-at(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&k(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function k(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-at(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function wt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Tt(e,t){var n=t&-t;return n=n&42?1:Et(n),(n&(e.suspendedLanes|t))===0?n:0}function Et(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function A(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Dt(){var e=T.p;return e===0?(e=window.event,e===void 0?32:Eh(e.type)):e}function Ot(e,t){var n=T.p;try{return T.p=e,t()}finally{T.p=n}}var kt=Math.random().toString(36).slice(2),At=`__reactFiber$`+kt,jt=`__reactProps$`+kt,Mt=`__reactContainer$`+kt,Nt=`__reactEvents$`+kt,Pt=`__reactListeners$`+kt,Ft=`__reactHandles$`+kt,It=`__reactResources$`+kt,Lt=`__reactMarker$`+kt,Rt=`__reactLoad$`+kt;function zt(e){delete e[At],delete e[jt],delete e[Pt],delete e[Ft]}function Bt(e){var t;if(t=e[At])return t;for(var n=e.parentNode;n;){if(t=n[Mt]||n[At]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=hm(e);e!==null;){if(n=e[At])return n;e=hm(e)}return t}e=n,n=e.parentNode}return null}function Vt(e){if(e=e[At]||e[Mt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ht(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ut(e){var t=e[It];return t||=e[It]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Wt(e){e[Lt]=!0}function Gt(e){e[Rt]=void 0}var Kt=new Set,qt={};function Jt(e,t){Yt(e,t),Yt(e+`Capture`,t)}function Yt(e,t){for(qt[e]=t,e=0;e<t.length;e++)Kt.add(t[e])}var Xt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Zt={},Qt={};function $t(e){return He.call(Qt,e)?!0:He.call(Zt,e)?!1:Xt.test(e)?Qt[e]=!0:(Zt[e]=!0,!1)}var j=!1;function en(){var e=j;return j=!1,e}function tn(e,t,n){if($t(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function nn(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function rn(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function an(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function on(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function sn(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function cn(e){if(!e._valueTracker){var t=on(e)?`checked`:`value`;e._valueTracker=sn(e,t,``+e[t])}}function ln(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=on(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var un=/[\n"\\]/g;function dn(e){return e.replace(un,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function fn(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+an(t)):e.value!==``+an(t)&&(e.value=``+an(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):mn(e,an(n)):o===`number`&&e.value==t?mn(e,an(e.value)):mn(e,an(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+an(s):e.removeAttribute(`name`)}function pn(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){cn(e);return}n=n==null?``:``+an(n),t=t==null?n:``+an(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),cn(e)}function mn(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function hn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+an(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function gn(e,t,n){t!=null&&(t=``+an(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+an(n)}function _n(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(Ce(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=an(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),cn(e)}function vn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function bn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||yn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function xn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,j=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(bn(e,a,r),j=!0)}else for(var o in t)t.hasOwnProperty(o)&&bn(e,o,t[o])}function Sn(e){if(e.indexOf(`-`)===-1)return!1;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 Cn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`maskType`,`mask-type`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),wn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Tn(e){return wn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function En(){}var Dn=null;function On(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kn=null,An=null;function jn(e){var t=Vt(e);if(t&&(e=t.stateNode)){var n=e[jt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(fn(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+dn(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[jt]||null;if(!a)throw Error(i(90));fn(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&ln(r)}break a;case`textarea`:gn(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&hn(e,!!n.multiple,t,!1)}}}var Mn=!1;function Nn(e,t,n){if(Mn)return e(t,n);Mn=!0;try{return e(t)}finally{if(Mn=!1,(kn!==null||An!==null)&&(Wd(),kn&&(t=kn,e=An,An=kn=null,jn(t),e)))for(t=0;t<e.length;t++)jn(e[t])}}function Pn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[jt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var Fn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,In=!1;if(Fn)try{var Ln={};Object.defineProperty(Ln,"passive",{get:function(){In=!0}}),window.addEventListener(`test`,Ln,Ln),window.removeEventListener(`test`,Ln,Ln)}catch{In=!1}var Rn=null,zn=null,Bn=null;function Vn(){if(Bn)return Bn;var e,t=zn,n=t.length,r,i=`value`in Rn?Rn.value:Rn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Bn=i.slice(e,1<r?1-r:void 0)}function Hn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Un(){return!0}function Wn(){return!1}function Gn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Un:Wn,this.isPropagationStopped=Wn,this}return x(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Un)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Un)},persist:function(){},isPersistent:Un}),t}var Kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qn=Gn(Kn),Jn=x({},Kn,{view:0,detail:0}),Yn=Gn(Jn),Xn,Zn,Qn,$n=x({},Jn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ur,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!==Qn&&(Qn&&e.type===`mousemove`?(Xn=e.screenX-Qn.screenX,Zn=e.screenY-Qn.screenY):Zn=Xn=0,Qn=e),Xn)},movementY:function(e){return`movementY`in e?e.movementY:Zn}}),er=Gn($n),tr=Gn(x({},$n,{dataTransfer:0})),nr=Gn(x({},Jn,{relatedTarget:0})),rr=Gn(x({},Kn,{animationName:0,elapsedTime:0,pseudoElement:0})),ir=Gn(x({},Kn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),ar=Gn(x({},Kn,{data:0})),or={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},sr={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`},cr={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function lr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=cr[e])?!!t[e]:!1}function ur(){return lr}var dr=Gn(x({},Jn,{key:function(e){if(e.key){var t=or[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Hn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?sr[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ur,charCode:function(e){return e.type===`keypress`?Hn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Hn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),fr=Gn(x({},$n,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),pr=Gn(x({},Kn,{submitter:0})),mr=Gn(x({},Jn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ur})),hr=Gn(x({},Kn,{propertyName:0,elapsedTime:0,pseudoElement:0})),M=Gn(x({},$n,{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})),gr=Gn(x({},Kn,{newState:0,oldState:0,source:0})),N=[9,13,27,32],_r=Fn&&`CompositionEvent`in window,vr=null;Fn&&`documentMode`in document&&(vr=document.documentMode);var yr=Fn&&`TextEvent`in window&&!vr,br=Fn&&(!_r||vr&&8<vr&&11>=vr),xr=` `,Sr=!1;function Cr(e,t){switch(e){case`keyup`:return N.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function wr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Tr=!1;function Er(e,t){switch(e){case`compositionend`:return wr(t);case`keypress`:return t.which===32?(Sr=!0,xr):null;case`textInput`:return e=t.data,e===xr&&Sr?null:e;default:return null}}function Dr(e,t){if(Tr)return e===`compositionend`||!_r&&Cr(e,t)?(e=Vn(),Bn=zn=Rn=null,Tr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return br&&t.locale!==`ko`?null:t.data;default:return null}}var Or={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 kr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Or[e.type]:t===`textarea`}function Ar(e,t,n,r){kn?An?An.push(r):An=[r]:kn=r,t=Qf(t,`onChange`),0<t.length&&(n=new qn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var jr=null,Mr=null;function Nr(e){Gf(e,0)}function Pr(e){if(ln(Ht(e)))return e}function Fr(e,t){if(e===`change`)return t}var Ir=!1;if(Fn){var Lr;if(Fn){var Rr=`oninput`in document;if(!Rr){var zr=document.createElement(`div`);zr.setAttribute(`oninput`,`return;`),Rr=typeof zr.oninput==`function`}Lr=Rr}else Lr=!1;Ir=Lr&&(!document.documentMode||9<document.documentMode)}function Br(){jr&&(jr.detachEvent(`onpropertychange`,Vr),Mr=jr=null)}function Vr(e){if(e.propertyName===`value`&&Pr(Mr)){var t=[];Ar(t,Mr,e,On(e)),Nn(Nr,t)}}function Hr(e,t,n){e===`focusin`?(Br(),jr=t,Mr=n,jr.attachEvent(`onpropertychange`,Vr)):e===`focusout`&&Br()}function Ur(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Pr(Mr)}function Wr(e,t){if(e===`click`)return Pr(t)}function Gr(e,t){if(e===`input`||e===`change`)return Pr(t)}function Kr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var qr=typeof Object.is==`function`?Object.is:Kr;function Jr(e,t){if(qr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!He.call(t,i)||!qr(e[i],t[i]))return!1}return!0}function Yr(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function Xr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zr(e,t){var n=Xr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Xr(n)}}function Qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $r(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yr(e.document)}return t}function ei(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var ti=Fn&&`documentMode`in document&&11>=document.documentMode,ni=null,ri=null,ii=null,ai=!1;function oi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ai||ni==null||ni!==Yr(r)||(r=ni,`selectionStart`in r&&ei(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ii&&Jr(ii,r)||(ii=r,r=Qf(ri,`onSelect`),0<r.length&&(t=new qn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=ni)))}function si(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var ci={animationend:si(`Animation`,`AnimationEnd`),animationiteration:si(`Animation`,`AnimationIteration`),animationstart:si(`Animation`,`AnimationStart`),transitionrun:si(`Transition`,`TransitionRun`),transitionstart:si(`Transition`,`TransitionStart`),transitioncancel:si(`Transition`,`TransitionCancel`),transitionend:si(`Transition`,`TransitionEnd`)},li={},ui={};Fn&&(ui=document.createElement(`div`).style,`AnimationEvent`in window||(delete ci.animationend.animation,delete ci.animationiteration.animation,delete ci.animationstart.animation),`TransitionEvent`in window||delete ci.transitionend.transition);function di(e){if(li[e])return li[e];if(!ci[e])return e;var t=ci[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ui)return li[e]=t[n];return e}var fi=di(`animationend`),pi=di(`animationiteration`),mi=di(`animationstart`),hi=di(`transitionrun`),gi=di(`transitionstart`),_i=di(`transitioncancel`),vi=di(`transitionend`),yi=new Map,bi=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(` `);bi.push(`scrollEnd`);function xi(e,t){yi.set(e,t),Jt(t,[e])}var Si=0;function Ci(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=Td.identifierPrefix;var n=Si++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function wi(e){if(e==null||typeof e==`string`)return e;var t=null,n=Nd;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function Ti(e,t){return e=wi(e),t=wi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var Ei=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Di=[],Oi=0,ki=0;function Ai(){for(var e=Oi,t=ki=Oi=0;t<e;){var n=Di[t];Di[t++]=null;var r=Di[t];Di[t++]=null;var i=Di[t];Di[t++]=null;var a=Di[t];if(Di[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Pi(n,i,a)}}function ji(e,t,n,r){Di[Oi++]=e,Di[Oi++]=t,Di[Oi++]=n,Di[Oi++]=r,ki|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Mi(e,t,n,r){return ji(e,t,n,r),Fi(e)}function Ni(e,t){return ji(e,null,null,t),Fi(e)}function Pi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-at(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Fi(e){if(50<Pd)throw Pd=0,Fd=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ii={};function Li(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ri(e,t,n,r){return new Li(e,t,n,r)}function zi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bi(e,t){var n=e.alternate;return n===null?(n=Ri(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Vi(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Hi(e,t,n,r,a,o){var s=0;if(r=e,typeof r==`function`)zi(r)&&(s=1);else if(typeof r==`string`)s=Xm(e,n,De.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case me:return e=Ri(31,n,t,a),e.elementType=me,e.lanes=o,e;case ae:return Ui(n.children,a,o,t);case oe:s=8,a|=24;break;case se:return e=Ri(12,n,t,a|2),e.elementType=se,e.lanes=o,e;case de:return e=Ri(13,n,t,a),e.elementType=de,e.lanes=o,e;case fe:return e=Ri(19,n,t,a),e.elementType=fe,e.lanes=o,e;case he:case _e:return e=a|32,e=Ri(30,n,t,e),e.elementType=_e,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case le:s=10;break a;case ce:s=9;break a;case ue:s=11;break a;case C:s=14;break a;case pe:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=Ri(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Ui(e,t,n,r){return e=Ri(7,e,r,t),e.lanes=n,e}function Wi(e,t,n){return e=Ri(6,e,null,t),e.lanes=n,e}function Gi(e){var t=Ri(18,null,null,0);return t.stateNode=e,t}function Ki(e,t,n){return t=Ri(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var qi=new WeakMap;function Ji(e,t){if(typeof e==`object`&&e){var n=qi.get(e);return n===void 0?(t={value:e,source:t,stack:Ve(t)},qi.set(e,t),t):n}return{value:e,source:t,stack:Ve(t)}}var Yi=[],Xi=0,Zi=null,Qi=0,$i=[],ea=0,ta=null,na=1,ra=``;function ia(e,t){Yi[Xi++]=Qi,Yi[Xi++]=Zi,Zi=e,Qi=t}function aa(e,t,n){$i[ea++]=na,$i[ea++]=ra,$i[ea++]=ta,ta=e;var r=na;e=ra;var i=32-at(r)-1;r&=~(1<<i),n+=1;var a=32-at(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,na=1<<32-at(t)+i|n<<i|r,ra=a+e}else na=1<<a|n<<i|r,ra=e}function oa(e){e.return!==null&&(ia(e,1),aa(e,1,0))}function sa(e){for(;e===Zi;)Zi=Yi[--Xi],Yi[Xi]=null,Qi=Yi[--Xi],Yi[Xi]=null;for(;e===ta;)ta=$i[--ea],$i[ea]=null,ra=$i[--ea],$i[ea]=null,na=$i[--ea],$i[ea]=null}function ca(e,t){$i[ea++]=na,$i[ea++]=ra,$i[ea++]=ta,na=t.id,ra=t.overflow,ta=e}var la=null,ua=null,P=!1,da=null,fa=!1,pa=Error(i(519));function ma(e){throw ba(Ji(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),pa}function ha(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[At]=e,t[jt]=r,n){case`dialog`:J(`cancel`,t),J(`close`,t);break;case`iframe`:case`object`:case`embed`:J(`load`,t);break;case`video`:case`audio`:for(n=0;n<Uf.length;n++)J(Uf[n],t);break;case`source`:J(`error`,t);break;case`img`:case`image`:case`link`:J(`error`,t),J(`load`,t);break;case`details`:J(`toggle`,t);break;case`input`:J(`invalid`,t),pn(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:J(`invalid`,t);break;case`textarea`:J(`invalid`,t),_n(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Y(t.textContent,n)?(r.popover!=null&&(J(`beforetoggle`,t),J(`toggle`,t)),r.onScroll!=null&&J(`scroll`,t),r.onScrollEnd!=null&&J(`scrollend`,t),r.onClick!=null&&(t.onclick=En),t=!0):t=!1,t||ma(e,!0)}function ga(e){for(la=e.return;la;)switch(la.tag){case 5:case 31:case 13:fa=!1;return;case 27:case 3:fa=!0;return;default:la=la.return}}function _a(e){if(e!==la)return!1;if(!P)return ga(e),P=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||gp(e.type,e.memoizedProps)),n=!n),n&&ua&&ma(e),ga(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));ua=mm(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));ua=mm(e)}else t===27?(t=ua,Tp(e.type)?(e=pm,pm=null,ua=e):ua=t):ua=la?fm(e.stateNode.nextSibling):null;return!0}function va(){ua=la=null,P=!1}function ya(){var e=da;return e!==null&&(_d===null?_d=e:_d.push.apply(_d,e),da=null),e}function ba(e){da===null?da=[e]:da.push(e)}var xa=Ee(null),Sa=null,Ca=null;function wa(e,t,n){O(xa,t._currentValue),t._currentValue=n}function Ta(e){e._currentValue=xa.current,D(xa)}function Ea(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Da(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ea(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Ea(s,n,e),s=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Ea(a.return,n,e),s=a.child,s=s===null?null:s.sibling):s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Oa(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;qr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===Ae.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[uh]:e.push(uh))}a=a.return}return e!==null&&Da(t,e,n,r),t.flags|=262144,e!==null}function ka(e){for(e=e.firstContext;e!==null;){if(!qr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Aa(e){Sa=e,Ca=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ja(e){return Na(Sa,e)}function Ma(e,t){return Sa===null&&Aa(e),Na(e,t)}function Na(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ca===null){if(e===null)throw Error(i(308));Ca=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ca=Ca.next=t;return n}var Pa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Fa=t.unstable_scheduleCallback,Ia=t.unstable_NormalPriority,La={$$typeof:le,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ra(){return{controller:new Pa,data:new Map,refCount:0}}function za(e){e.refCount--,e.refCount===0&&Fa(Ia,function(){e.controller.abort()})}function Ba(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var Va=null;function Ha(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Ua=null,Wa=0,Ga=0,Ka=null;function qa(e,t){if(Ua===null){var n=Ua=[];Wa=0,Ga=Rf(),Ka={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Wa++,t.then(Ja,Ja),t}function Ja(){if(--Wa===0&&(Va=null,Ua!==null)){Ka!==null&&(Ka.status=`fulfilled`);var e=Ua;Ua=null,Ga=0,Ka=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ya(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Xa=w.S;w.S=function(e,t){if(bd=qe(),typeof t==`object`&&t&&typeof t.then==`function`&&qa(e,t),Va!==null)for(var n=wf;n!==null;)Ba(n,Va),n=n.next;if(n=e.types,n!==null){for(var r=wf;r!==null;)Ba(r,n),r=r.next;if(Ga!==0){r=Va,r===null&&(r=Va=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}Xa!==null&&Xa(e,t)};var Za=Ee(null);function Qa(){var e=Za.current;return e===null?H.pooledCache:e}function $a(e,t){t===null?O(Za,Za.current):O(Za,t.pool)}function eo(){var e=Qa();return e===null?null:{parent:La._currentValue,pool:e}}var to=Error(i(460)),no=Error(i(474)),ro=Error(i(542)),io={then:function(){}};function ao(e){return e=e.status,e===`fulfilled`||e===`rejected`}function oo(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(En,En),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,uo(e),e===void 0&&!(`reason`in t)?Error(i(600)):e;default:if(typeof t.status==`string`)t.then(En,En);else{if(e=H,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,uo(e),e}throw co=t,to}}function so(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(co=e,to):e}}var co=null;function lo(){if(co===null)throw Error(i(459));var e=co;return co=null,e}function uo(e){if(e===to||e===ro)throw Error(i(483))}var fo=null,po=0;function mo(e){var t=po;return po+=1,fo===null&&(fo=[]),oo(fo,e,t)}function ho(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function go(e,t){throw t.$$typeof===S?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function _o(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=Bi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=134217730,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=134217730),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Wi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===ae?(e=d(e,t,n.props.children,r,n.key),ho(e,n),e):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===pe&&so(i)===t.type)?(t=a(t,n.props),ho(t,n),t.return=e,t):(t=Hi(n.type,n.key,n.props,null,e.mode,r),ho(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ki(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=Ui(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Wi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case re:return n=Hi(t.type,t.key,t.props,null,e.mode,n),ho(n,t),n.return=e,n;case ie:return t=Ki(t,e.mode,n),t.return=e,t;case pe:return t=so(t),f(e,t,n)}if(Ce(t)||be(t))return t=Ui(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,mo(t),n);if(t.$$typeof===le)return f(e,Ma(e,t),n);go(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case re:return n.key===i?l(e,t,n,r):null;case ie:return n.key===i?u(e,t,n,r):null;case pe:return n=so(n),p(e,t,n,r)}if(Ce(n)||be(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,mo(n),r);if(n.$$typeof===le)return p(e,t,Ma(e,n),r);go(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case re:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case ie:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case pe:return r=so(r),m(e,t,n,r,i)}if(Ce(r)||be(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,mo(r),i);if(r.$$typeof===le)return m(e,t,n,Ma(t,r),i);go(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),P&&ia(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return P&&ia(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),P&&ia(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),P&&ia(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return P&&ia(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),P&&ia(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===ae&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case re:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===ae){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),ho(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===pe&&so(l)===r.type){n(e,r.sibling),c=a(r,o.props),ho(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===ae?(c=Ui(o.props.children,e.mode,c,o.key),ho(c,o),c.return=e,e=c):(c=Hi(o.type,o.key,o.props,null,e.mode,c),ho(c,o),c.return=e,e=c)}return s(e);case ie:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Ki(o,e.mode,c),c.return=e,e=c}return s(e);case pe:return o=so(o),_(e,r,o,c)}if(Ce(o))return h(e,r,o,c);if(be(o)){if(l=be(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,mo(o),c);if(o.$$typeof===le)return _(e,r,Ma(e,o),c);go(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Wi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{po=0;var i=_(e,t,n,r);return fo=null,i}catch(t){if(t===to||t===ro)throw t;var a=Ri(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var vo=_o(!0),yo=_o(!1),bo=!1;function xo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function So(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Co(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function wo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,V&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Fi(e),Pi(e,null,n),t}return ji(e,r,t,n),Fi(e)}function To(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wt(e,n)}}function Eo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Do=!1;function Oo(){if(Do){var e=Ka;if(e!==null)throw e}}function ko(e,t,n,r){Do=!1;var i=e.updateQueue;bo=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(W&f)===f:(r&f)===f){f!==0&&f===Ga&&(Do=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=x({},d,f);break a;case 2:bo=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),dd|=o,e.lanes=o,e.memoizedState=d}}function Ao(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function jo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ao(n[e],t)}var Mo=Ee(null),No=Ee(0);function Po(e,t){e=ld,O(No,e),O(Mo,t),ld=e|t.baseLanes}function Fo(){O(No,ld),O(Mo,Mo.current)}function Io(){ld=No.current,D(Mo),D(No)}var Lo=Ee(null),Ro=null;function zo(e){var t=e.alternate;O(Wo,Wo.current&1),O(Lo,e),Ro===null&&(t===null||Mo.current!==null||t.memoizedState!==null)&&(Ro=e)}function Bo(e){O(Wo,Wo.current),O(Lo,e),Ro===null&&(Ro=e)}function Vo(e){e.tag===22?(O(Wo,Wo.current),O(Lo,e),Ro===null&&(Ro=e)):Ho()}function Ho(){O(Wo,Wo.current),O(Lo,Lo.current)}function Uo(e){D(Lo),Ro===e&&(Ro=null),D(Wo)}var Wo=Ee(0);function Go(e,t){O(Lo,Lo.current),O(Wo,t)}function Ko(e){D(Wo),D(Lo),Ro===e&&(Ro=null)}function qo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||lm(n)||um(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jo=0,F=null,Yo=null,Xo=null,Zo=!1,Qo=!1,$o=!1,es=0,ts=0,ns=null,rs=0;function is(){throw Error(i(321))}function as(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qr(e[n],t[n]))return!1;return!0}function os(e,t,n,r,i,a){return Jo=a,F=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,w.H=e===null||e.memoizedState===null?Sc:Cc,$o=!1,a=n(r,i),$o=!1,Qo&&(a=I(t,n,r,i)),ss(e),a}function ss(e){w.H=xc;var t=Yo!==null&&Yo.next!==null;if(Jo=0,Xo=Yo=F=null,Zo=!1,ts=0,ns=null,t)throw Error(i(300));e===null||Bc||(e=e.dependencies,e!==null&&ka(e)&&(Bc=!0))}function I(e,t,n,r){F=e;var a=0;do{if(Qo&&(ns=null),ts=0,Qo=!1,25<=a)throw Error(i(301));if(a+=1,Xo=Yo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}w.H=wc,o=t(n,r)}while(Qo);return o}function cs(){var e=w.H,t=e.useState()[0];return t=typeof t.then==`function`?hs(t):t,e=e.useState()[0],(Yo===null?null:Yo.memoizedState)!==e&&(F.flags|=1024),t}function ls(){var e=es!==0;return es=0,e}function us(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ds(e){if(Zo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Zo=!1}Jo=0,Xo=Yo=F=null,Qo=!1,ts=es=0,ns=null}function fs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xo===null?F.memoizedState=Xo=e:Xo=Xo.next=e,Xo}function ps(){if(Yo===null){var e=F.alternate;e=e===null?null:e.memoizedState}else e=Yo.next;var t=Xo===null?F.memoizedState:Xo.next;if(t!==null)Xo=t,Yo=e;else{if(e===null)throw F.alternate===null?Error(i(467)):Error(i(310));Yo=e,e={memoizedState:Yo.memoizedState,baseState:Yo.baseState,baseQueue:Yo.baseQueue,queue:Yo.queue,next:null},Xo===null?F.memoizedState=Xo=e:Xo=Xo.next=e}return Xo}function ms(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hs(e){var t=ts;return ts+=1,ns===null&&(ns=[]),e=oo(ns,e,t),t=F,(Xo===null?t.memoizedState:Xo.next)===null&&(t=t.alternate,w.H=t===null||t.memoizedState===null?Sc:Cc),e}function gs(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return hs(e);if(e.$$typeof===ve)return;if(e.$$typeof===le)return ja(e)}throw Error(i(438,String(e)))}function _s(e){var t=null,n=F.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=F.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=ms(),F.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ge;return t.index++,n}function vs(e,t){return typeof t==`function`?t(e):t}function ys(e){return bs(ps(),Yo,e)}function bs(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Jo&f)===f:(W&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Ga&&(d=!0);else if((Jo&p)===p){u=u.next,p===Ga&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,F.lanes|=p,dd|=p;f=u.action,$o&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,F.lanes|=f,dd|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!qr(o,e.memoizedState)&&(Bc=!0,d&&(n=Ka,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function xs(e){var t=ps(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);qr(o,t.memoizedState)||(Bc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ss(e,t,n){var r=F,a=ps(),o=P;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!qr((Yo||a).memoizedState,n);if(s&&(a.memoizedState=n,Bc=!0),a=a.queue,qs(Ts.bind(null,r,a,e),[e]),e=a.getSnapshot!==t||s||Xo!==null&&!!(Xo.memoizedState.tag&1),Hs(e?9:8,{destroy:void 0},ws.bind(null,r,a,n,t),null),e){if(r.flags|=2048,H===null)throw Error(i(349));o||Jo&127||Cs(r,t,n)}return n}function Cs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=F.updateQueue,t===null?(t=ms(),F.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ws(e,t,n,r){t.value=n,t.getSnapshot=r,Es(t)&&Ds(e)}function Ts(e,t,n){return n(function(){Es(t)&&Ds(e)})}function Es(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qr(e,n)}catch{return!0}}function Ds(e){var t=Ni(e,2);t!==null&&zd(t,e,2)}function Os(e){var t=fs();if(typeof e==`function`){var n=e;if(e=n(),$o){it(!0);try{n()}finally{it(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vs,lastRenderedState:e},t}function ks(e,t,n,r){return e.baseState=n,bs(e,Yo,typeof r==`function`?r:vs)}function As(e,t,n,r,a){if(vc(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};w.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,js(t,o)):(o.next=n.next,t.pending=n.next=o)}}function js(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=w.T,o={};o.types=a===null?null:a.types,w.T=o;try{var s=n(i,r),c=w.S;c!==null&&c(o,s),Ms(e,t,s)}catch(n){Ps(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),w.T=a}}else try{a=n(i,r),Ms(e,t,a)}catch(n){Ps(e,t,n)}}function Ms(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Ns(e,t,n)},function(n){return Ps(e,t,n)}):Ns(e,t,n)}function Ns(e,t,n){t.status=`fulfilled`,t.value=n,Fs(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,js(e,n)))}function Ps(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Fs(t),t=t.next;while(t!==r)}e.action=null}function Fs(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Is(e,t){return t}function Ls(e,t){if(P){var n=H.formState;if(n!==null){a:{var r=F;if(P){if(ua){b:{for(var i=ua,a=fa;i.nodeType!==8;)if(!a||(i=fm(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){ua=fm(i.nextSibling),r=i.data===`F!`;break a}}ma(r)}r=!1}r&&(t=n[0])}}return n=fs(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:t},n.queue=r,n=hc.bind(null,F,r),r.dispatch=n,r=Os(!1),a=_c.bind(null,F,!1,r.queue),r=fs(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=As.bind(null,F,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Rs(e){return zs(ps(),Yo,e)}function zs(e,t,n){if(t=bs(e,t,Is)[0],e=ys(vs)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=hs(t)}catch(e){throw e===to?ro:e}else r=t;t=ps();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(F.flags|=2048,Hs(9,{destroy:void 0},Bs.bind(null,i,n),null)),[r,a,e]}function Bs(e,t){e.action=t}function Vs(e){var t=ps(),n=Yo;if(n!==null)return zs(t,n,e);ps(),t=t.memoizedState,n=ps();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Hs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=F.updateQueue,t===null&&(t=ms(),F.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Us(){return ps().memoizedState}function Ws(e,t,n,r){var i=fs();F.flags|=e,i.memoizedState=Hs(1|t,{destroy:void 0},n,r===void 0?null:r)}function Gs(e,t,n,r){var i=ps();r=r===void 0?null:r;var a=i.memoizedState.inst;Yo!==null&&r!==null&&as(r,Yo.memoizedState.deps)?i.memoizedState=Hs(t,a,n,r):(F.flags|=e,i.memoizedState=Hs(1|t,a,n,r))}function Ks(e,t){Ws(8390656,8,e,t)}function qs(e,t){Gs(2048,8,e,t)}function Js(e){F.flags|=4;var t=F.updateQueue;if(t===null)t=ms(),F.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ys(e){var t=ps().memoizedState;return Js({ref:t,nextImpl:e}),function(){if(V&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Xs(e,t){return Gs(4,2,e,t)}function Zs(e,t){return Gs(4,4,e,t)}function Qs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function $s(e,t,n){n=n==null?null:n.concat([e]),Gs(4,4,Qs.bind(null,t,e),n)}function ec(){}function tc(e,t){var n=ps();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&as(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function nc(e,t){var n=ps();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&as(t,r[1]))return r[0];if(r=e(),$o){it(!0);try{e()}finally{it(!1)}}return n.memoizedState=[r,t],r}function rc(e,t,n){return n===void 0||Jo&1073741824&&!(W&261930)?e.memoizedState=t:(e.memoizedState=n,e=Ld(),F.lanes|=e,dd|=e,n)}function ic(e,t,n,r){return qr(n,t)?n:Mo.current===null?!(Jo&106)||Jo&1073741824&&!(W&261930)?(Bc=!0,e.memoizedState=n):(e=Ld(),F.lanes|=e,dd|=e,t):(e=rc(e,n,r),qr(e,t)||(Bc=!0),e)}function ac(e,t,n,r,i){var a=T.p;T.p=a!==0&&8>a?a:8;var o=w.T,s={};s.types=o===null?null:o.types,w.T=s,_c(e,!1,t,n);try{var c=i(),l=w.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?gc(e,t,Ya(c,r),Id(e)):gc(e,t,r,Id(e))}catch(n){gc(e,t,{then:function(){},status:`rejected`,reason:n},Id())}finally{T.p=a,o!==null&&s.types!==null&&(o.types=s.types),w.T=o}}function oc(){}function sc(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=cc(e).queue;ac(e,a,t,E,n===null?oc:function(){return lc(e),n(r)})}function cc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:E,baseState:E,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vs,lastRenderedState:E},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function lc(e){var t=cc(e);t.next===null&&(t=e.alternate.memoizedState),gc(e,t.next.queue,{},Id())}function uc(){return ja(uh)}function dc(){return ps().memoizedState}function fc(){return ps().memoizedState}function pc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Id();e=Co(n);var r=wo(t,e,n);r!==null&&(zd(r,t,n),To(r,t,n)),t={cache:Ra()},e.payload=t;return}t=t.return}}function mc(e,t,n){var r=Id();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},vc(e)?yc(t,n):(n=Mi(e,t,n,r),n!==null&&(zd(n,e,r),bc(n,t,r)))}function hc(e,t,n){gc(e,t,n,Id())}function gc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(vc(e))yc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,qr(s,o))return ji(e,t,i,0),H===null&&Ai(),!1}catch{}if(n=Mi(e,t,i,r),n!==null)return zd(n,e,r),bc(n,t,r),!0}return!1}function _c(e,t,n,r){if(r={lane:2,revertLane:Rf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},vc(e)){if(t)throw Error(i(479))}else t=Mi(e,n,r,2),t!==null&&zd(t,e,2)}function vc(e){var t=e.alternate;return e===F||t!==null&&t===F}function yc(e,t){Qo=Zo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wt(e,n)}}var xc={readContext:ja,use:gs,useCallback:is,useContext:is,useEffect:is,useImperativeHandle:is,useLayoutEffect:is,useInsertionEffect:is,useMemo:is,useReducer:is,useRef:is,useState:is,useDebugValue:is,useDeferredValue:is,useTransition:is,useSyncExternalStore:is,useId:is,useHostTransitionStatus:is,useFormState:is,useActionState:is,useOptimistic:is,useMemoCache:is,useCacheRefresh:is,useEffectEvent:is},Sc={readContext:ja,use:gs,useCallback:function(e,t){return fs().memoizedState=[e,t===void 0?null:t],e},useContext:ja,useEffect:Ks,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Ws(4194308,4,Qs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ws(4194308,4,e,t)},useInsertionEffect:function(e,t){Ws(4,2,e,t)},useMemo:function(e,t){var n=fs();t=t===void 0?null:t;var r=e();if($o){it(!0);try{e()}finally{it(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=fs();if(n!==void 0){var i=n(t);if($o){it(!0);try{n(t)}finally{it(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=mc.bind(null,F,e),[r.memoizedState,e]},useRef:function(e){var t=fs();return e={current:e},t.memoizedState=e},useState:function(e){e=Os(e);var t=e.queue,n=hc.bind(null,F,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ec,useDeferredValue:function(e,t){return rc(fs(),e,t)},useTransition:function(){var e=Os(!1);return e=ac.bind(null,F,e.queue,!0,!1),fs().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=F,a=fs();if(P){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),H===null)throw Error(i(349));W&127||Cs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Ks(Ts.bind(null,r,o,e),[e]),r.flags|=2048,Hs(9,{destroy:void 0},ws.bind(null,r,o,n,t),null),n},useId:function(){var e=fs(),t=H.identifierPrefix;if(P){var n=ra,r=na;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=es++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=rs++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:uc,useFormState:Ls,useActionState:Ls,useOptimistic:function(e){var t=fs();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=_c.bind(null,F,!0,n),n.dispatch=t,[e,t]},useMemoCache:_s,useCacheRefresh:function(){return fs().memoizedState=pc.bind(null,F)},useEffectEvent:function(e){var t=fs(),n={impl:e};return t.memoizedState=n,function(){if(V&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Cc={readContext:ja,use:gs,useCallback:tc,useContext:ja,useEffect:qs,useImperativeHandle:$s,useInsertionEffect:Xs,useLayoutEffect:Zs,useMemo:nc,useReducer:ys,useRef:Us,useState:function(){return ys(vs)},useDebugValue:ec,useDeferredValue:function(e,t){return ic(ps(),Yo.memoizedState,e,t)},useTransition:function(){var e=ys(vs)[0],t=ps().memoizedState;return[typeof e==`boolean`?e:hs(e),t]},useSyncExternalStore:Ss,useId:dc,useHostTransitionStatus:uc,useFormState:Rs,useActionState:Rs,useOptimistic:function(e,t){return ks(ps(),Yo,e,t)},useMemoCache:_s,useCacheRefresh:fc,useEffectEvent:Ys},wc={readContext:ja,use:gs,useCallback:tc,useContext:ja,useEffect:qs,useImperativeHandle:$s,useInsertionEffect:Xs,useLayoutEffect:Zs,useMemo:nc,useReducer:xs,useRef:Us,useState:function(){return xs(vs)},useDebugValue:ec,useDeferredValue:function(e,t){var n=ps();return Yo===null?rc(n,e,t):ic(n,Yo.memoizedState,e,t)},useTransition:function(){var e=xs(vs)[0],t=ps().memoizedState;return[typeof e==`boolean`?e:hs(e),t]},useSyncExternalStore:Ss,useId:dc,useHostTransitionStatus:uc,useFormState:Vs,useActionState:Vs,useOptimistic:function(e,t){var n=ps();return Yo===null?(n.baseState=e,[e,n.queue.dispatch]):ks(n,Yo,e,t)},useMemoCache:_s,useCacheRefresh:fc,useEffectEvent:Ys};function Tc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:x({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ec={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Id(),i=Co(r);i.payload=t,n!=null&&(i.callback=n),t=wo(e,i,r),t!==null&&(zd(t,e,r),To(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Id(),i=Co(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=wo(e,i,r),t!==null&&(zd(t,e,r),To(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Id(),r=Co(n);r.tag=2,t!=null&&(r.callback=t),t=wo(e,r,n),t!==null&&(zd(t,e,n),To(t,e,n))}};function Dc(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Jr(n,r)||!Jr(i,a):!0}function Oc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ec.enqueueReplaceState(t,t.state,null)}function kc(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=x({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Ac(e){Ei(e)}function jc(e){console.error(e)}function Mc(e){Ei(e)}function Nc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Pc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Fc(e,t,n){return n=Co(n),n.tag=3,n.payload={element:null},n.callback=function(){Nc(e,t)},n}function Ic(e){return e=Co(e),e.tag=3,e}function Lc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Pc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Pc(t,n,r),typeof i!=`function`&&(Cd===null?Cd=new Set([this]):Cd.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Rc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Oa(t,n,a,!0),n=Lo.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Ro===null?Zd():n.alternate===null&&ud===0&&(ud=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===io?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),q(e,r,a)),!1;case 22:return n.flags|=65536,r===io?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),q(e,r,a)),!1}throw Error(i(435,n.tag))}return q(e,r,a),Zd(),!1}if(P)return t=Lo.current,t===null?(r!==pa&&(t=Error(i(423),{cause:r}),ba(Ji(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ji(r,n),a=Fc(e.stateNode,r,a),Eo(e,a),ud!==4&&(ud=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==pa&&(e=Error(i(422),{cause:r}),ba(Ji(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ji(o,n),gd===null?gd=[o]:gd.push(o),ud!==4&&(ud=2),t===null)return!0;r=Ji(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Fc(n.stateNode,r,e),Eo(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(Cd===null||!Cd.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Ic(a),Lc(a,e,n,r),Eo(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var zc=Error(i(461)),Bc=!1;function L(e,t,n,r){t.child=e===null?yo(t,null,n,r):vo(t,e.child,n,r)}function Vc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Aa(t),r=os(e,t,n,o,a,i),s=ls(),e!==null&&!Bc?(us(e,t,i),ml(e,t,i)):(P&&s&&oa(t),t.flags|=1,L(e,t,r,i),t.child)}function Hc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!zi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Uc(e,t,a,r,i)):(e=Hi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!hl(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Jr:n,n(o,r)&&e.ref===t.ref)return ml(e,t,i)}return t.flags|=1,e=Bi(a,r),e.ref=t.ref,e.return=t,t.child=e}function Uc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Jr(a,r)&&e.ref===t.ref){if(Bc=!1,t.pendingProps=r=a,hl(e,i))e.flags&131072&&(Bc=!0);else return t.lanes=e.lanes,ml(e,t,i)}}return Xc(e,t,n,r,i)}function Wc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Kc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&$a(t,a===null?null:a.cachePool),a===null?Fo():Po(t,a),Vo(t);else return r=t.lanes=536870912,Kc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&$a(t,null),Fo(),Ho()):($a(t,a.cachePool),Po(t,a),Ho(),t.memoizedState=null);return L(e,t,i,n),t.child}function Gc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Kc(e,t,n,r,i){var a=Qa();return a=a===null?null:{parent:La._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&$a(t,null),Fo(),Vo(t),e!==null&&Oa(e,t,r,!0),t.childLanes=i,null}function R(e,t){return t=al({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function qc(e,t,n){return vo(t,e.child,null,n),e=R(t,t.pendingProps),e.flags|=2,Uo(t),t.memoizedState=null,e}function Jc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(P){if(r.mode===`hidden`)return e=R(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Gc(null,e);if(Bo(t),(e=ua)?(e=cm(e,fa),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ta===null?null:{id:na,overflow:ra},retryLane:536870912,hydrationErrors:null},n=Gi(e),n.return=t,t.child=n,la=t,ua=null)):e=null,e===null)throw ma(t);return t.lanes=536870912,null}return R(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Bo(t),a){if(t.flags&256)t.flags&=-257,t=qc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Bc||Oa(e,t,n,!1),a=(n&e.childLanes)!==0,Bc||a){if(Mo.current===null){if(r=H,r!==null&&(s=Tt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Ni(e,s),zd(r,e,s),zc;Zd()}t=qc(e,t,n)}else e=o.treeContext,ua=fm(s.nextSibling),la=t,P=!0,da=null,fa=!1,e!==null&&ca(t,e),t=R(t,r),t.flags|=134221824;return t}return e=Bi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Yc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Xc(e,t,n,r,i){return Aa(t),n=os(e,t,n,r,void 0,i),r=ls(),e!==null&&!Bc?(us(e,t,i),ml(e,t,i)):(P&&r&&oa(t),t.flags|=1,L(e,t,n,i),t.child)}function Zc(e,t,n,r,i,a){return Aa(t),t.updateQueue=null,n=I(t,r,n,i),ss(e),r=ls(),e!==null&&!Bc?(us(e,t,a),ml(e,t,a)):(P&&r&&oa(t),t.flags|=1,L(e,t,n,a),t.child)}function Qc(e,t,n,r,i){if(Aa(t),t.stateNode===null){var a=Ii,o=n.contextType;typeof o==`object`&&o&&(a=ja(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Ec,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},xo(t),o=n.contextType,a.context=typeof o==`object`&&o?ja(o):Ii,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Tc(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Ec.enqueueReplaceState(a,a.state,null),ko(t,r,a,i),Oo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=kc(n,s);a.props=c;var l=a.context,u=n.contextType;o=Ii,typeof u==`object`&&u&&(o=ja(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Oc(t,a,r,o),bo=!1;var f=t.memoizedState;a.state=f,ko(t,r,a,i),Oo(),l=t.memoizedState,s||f!==l||bo?(typeof d==`function`&&(Tc(t,n,d,r),l=t.memoizedState),(c=bo||Dc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,So(e,t),o=t.memoizedProps,u=kc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Ii,typeof l==`object`&&l&&(c=ja(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Oc(t,a,r,c),bo=!1,f=t.memoizedState,a.state=f,ko(t,r,a,i),Oo();var p=t.memoizedState;o!==d||f!==p||bo||e!==null&&e.dependencies!==null&&ka(e.dependencies)?(typeof s==`function`&&(Tc(t,n,s,r),p=t.memoizedState),(u=bo||Dc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ka(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Yc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=vo(t,e.child,null,i),t.child=vo(t,null,n,i)):L(e,t,n,i),t.memoizedState=a.state,e=t.child):e=ml(e,t,i),e}function $c(e,t,n,r){return va(),t.flags|=256,L(e,t,n,r),t.child}var el={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tl(e){return{baseLanes:e,cachePool:eo()}}function nl(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=md),e}function rl(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Wo.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(P){if(i?zo(t):Ho(),(e=ua)?(e=cm(e,fa),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ta===null?null:{id:na,overflow:ra},retryLane:536870912,hydrationErrors:null},n=Gi(e),n.return=t,t.child=n,la=t,ua=null)):e=null,e===null)throw ma(t);return t.lanes=um(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(Ho(),i=t.mode,a=al({mode:`hidden`,children:a},i),r=Ui(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=tl(n),r.childLanes=nl(e,o,n),t.memoizedState=el,Gc(null,r)):(zo(t),il(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return sl(e,t,a,o,r,c,s,n)}return i?(Ho(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Bi(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=Ui(i,a,n,null),i.flags|=2):i=Bi(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Gc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=tl(n):(a=i.cachePool,a===null?a=eo():(s=La._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=nl(e,o,n),t.memoizedState=el,Gc(e.child,r)):(zo(t),n=e.child,e=n.sibling,n=Bi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function il(e,t){return t=al({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function al(e,t){return e=Ri(22,e,null,t),e.lanes=0,e}function ol(e,t,n){return vo(t,e.child,null,n),e=il(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sl(e,t,n,r,a,o,s,c){if(n)return t.flags&256?(zo(t),t.flags&=-257,ol(e,t,c)):t.memoizedState===null?(Ho(),o=a.fallback,s=t.mode,a=al({mode:`visible`,children:a.children},s),o=Ui(o,s,c,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,vo(t,e.child,null,c),a=t.child,a.memoizedState=tl(c),a.childLanes=nl(e,r,c),t.memoizedState=el,Gc(null,a)):(Ho(),t.child=e.child,t.flags|=128,null);if(zo(t),um(o)){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(a=Error(i(419)),a.stack=``,a.digest=r,ba({value:a,source:null,stack:null})),ol(e,t,c)}if(Bc||Oa(e,t,c,!1),r=(c&e.childLanes)!==0,Bc||r){if(Mo.current!==null)return ol(e,t,c);if(r=H,r!==null&&(a=Tt(r,c),a!==0&&a!==s.retryLane))throw s.retryLane=a,Ni(e,a),zd(r,e,a),zc;return lm(o)||Zd(),ol(e,t,c)}return lm(o)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,ua=fm(o.nextSibling),la=t,P=!0,da=null,fa=!1,e!==null&&ca(t,e),t=il(t,a.children),t.flags|=134221824,t)}function cl(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ea(e.return,t,n)}function ll(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&qo(n)===null&&(t=e),e=e.sibling}return t}function ul(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function dl(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function fl(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Wo.current;if(t.flags&128)return Go(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Go(t,o),i===`backwards`&&e!==null?(dl(e),L(e,t,r,n),dl(e)):L(e,t,r,n),r=P?Qi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cl(e,n,t);else if(e.tag===19)cl(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`backwards`:n=ll(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,dl(t)),ul(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&qo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ul(t,!0,n,null,a,r);break;case`together`:ul(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=ll(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ul(t,!1,i,n,a,r)}return t.child}function pl(e,t,n){var r=t.pendingProps;return wa(t,t.type,r.value),L(e,t,r.children,n),t.child}function ml(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),dd|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(Oa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=Bi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Bi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hl(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&ka(e)))}function gl(e,t,n){switch(t.tag){case 3:je(t,t.stateNode.containerInfo),wa(t,La,e.memoizedState.cache),va();break;case 27:case 5:Ne(t);break;case 4:je(t,t.stateNode.containerInfo);break;case 10:wa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Bo(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return zo(t),t.flags|=128,null;r=Oa(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?rl(e,t,n):(zo(t),e=ml(e,t,n),e===null?null:e.sibling)}zo(t);break;case 19:if(t.flags&128)return fl(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(Oa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return fl(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Go(t,Wo.current),r)break;return null;case 22:return t.lanes=0,Wc(e,t,n,t.pendingProps);case 24:wa(t,La,e.memoizedState.cache)}return ml(e,t,n)}function _l(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Bc=!0;else{if(!hl(e,n)&&!(t.flags&128))return Bc=!1,gl(e,t,n);Bc=!!(e.flags&131072)}}else Bc=!1,P&&t.flags&1048576&&aa(t,Qi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=so(t.elementType),t.type=e,typeof e==`function`)zi(e)?(r=kc(e,r),t.tag=1,t=Qc(null,t,e,r,n)):(t.tag=0,t=Xc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===ue){t.tag=11,t=Vc(null,t,e,r,n);break a}if(a===C){t.tag=14,t=Hc(null,t,e,r,n);break a}if(a===le){t.tag=10,t.type=e,t=pl(null,t,n);break a}}throw t=Se(e)||e,Error(i(306,t,``))}}return t;case 0:return Xc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=kc(r,t.pendingProps),Qc(e,t,r,a,n);case 3:a:{if(je(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,So(e,t),ko(t,r,null,n);var s=t.memoizedState;if(r=s.cache,wa(t,La,r),r!==o.cache&&Da(t,[La],n,!0),Oo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=$c(e,t,r,n);break a}if(r!==a){a=Ji(Error(i(424)),t),ba(a),t=$c(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(ua=fm(e.firstChild),la=t,P=!0,da=null,fa=!0,n=yo(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(va(),r===a){t=ml(e,t,n);break a}L(e,t,r,n)}t=t.child}return t;case 26:return Yc(e,t),e===null?(n=Im(t.type,null,t.pendingProps,null))?t.memoizedState=n:P||(t.stateNode=hp(t.type,t.pendingProps,ke.current,t)):t.memoizedState=Im(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ne(t),e===null&&P&&(r=t.stateNode=vm(t.type,t.pendingProps,ke.current),la=t,fa=!0,a=ua,Tp(t.type)?(pm=a,ua=fm(r.firstChild)):ua=a),L(e,t,t.pendingProps.children,n),Yc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&P&&((a=r=ua)&&(r=om(r,t.type,t.pendingProps,fa),r===null?a=!1:(t.stateNode=r,la=t,ua=fm(r.firstChild),fa=!1,a=!0)),a||ma(t)),Ne(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,gp(a,o)?r=null:s!==null&&gp(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=os(e,t,cs,null,null,n),uh._currentValue=a),Yc(e,t),L(e,t,r,n),t.child;case 6:return e===null&&P&&((e=n=ua)&&(n=sm(n,t.pendingProps,fa),n===null?e=!1:(t.stateNode=n,la=t,ua=null,e=!0)),e||ma(t)),null;case 13:return rl(e,t,n);case 4:return je(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vo(t,null,r,n):L(e,t,r,n),t.child;case 11:return Vc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Yc(e,t),L(e,t,r,n),t.child;case 8:return L(e,t,t.pendingProps.children,n),t.child;case 12:return L(e,t,t.pendingProps.children,n),t.child;case 10:return pl(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,Aa(t),a=ja(a),r=r(a),t.flags|=1,L(e,t,r,n),t.child;case 14:return Hc(e,t,t.type,t.pendingProps,n);case 15:return Uc(e,t,t.type,t.pendingProps,n);case 19:return fl(e,t,n);case 31:return Jc(e,t,n);case 22:return Wc(e,t,n,t.pendingProps);case 24:return Aa(t),r=ja(La),e===null?(a=Qa(),a===null&&(a=H,o=Ra(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},xo(t),wa(t,La,a)):((e.lanes&n)!==0&&(So(e,t),ko(t,null,null,n),Oo()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,wa(t,La,r),r!==a.cache&&Da(t,[La],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),wa(t,La,r))),L(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:P&&oa(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Yc(e,t),L(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function vl(e){e.flags|=4}function yl(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?Zm(t,r):Zm(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Jd())e.flags|=8192;else throw co=io,no}}else e.flags&=-16777217}function bl(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Qm(t)){if(Jd())e.flags|=8192;else throw co=io,no}}function xl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:bt(),e.lanes|=t,hd|=t)}function Sl(e,t){if(!P)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function Cl(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&1206910976,r|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function wl(e,t,n){var r=t.pendingProps;switch(sa(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Cl(t),null;case 1:return Cl(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ta(La),Me(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(_a(t)?vl(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ya())),Cl(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(vl(t),o===null?(Cl(t),yl(t,a,null,r,n)):(Cl(t),bl(t,o))):o?o===e.memoizedState?(Cl(t),t.flags&=-16777217):(vl(t),Cl(t),bl(t,o)):(e=e.memoizedProps,e!==r&&vl(t),Cl(t),yl(t,a,e,r,n)),null;case 27:if(Pe(t),n=ke.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Cl(t),t.subtreeFlags&=-33554433,null}e=De.current,_a(t)?ha(t,e):(e=vm(a,r,n),t.stateNode=e,vl(t))}return Cl(t),t.subtreeFlags&=-33554433,null;case 5:if(Pe(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Cl(t),t.subtreeFlags&=-33554433,null}if(o=De.current,_a(t))ha(t,o);else{var s=fp(ke.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[At]=t,o[jt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(ap(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&vl(t)}}return Cl(t),t.subtreeFlags&=-33554433,yl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ke.current,_a(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=la,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[At]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Y(e.nodeValue,n)),e||ma(t,!0)}else e=fp(e).createTextNode(r),e[At]=t,t.stateNode=e}return Cl(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=_a(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[At]=t}else va(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Cl(t),e=!1}else n=ya(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Uo(t),t):(Uo(t),null);if(t.flags&128)throw Error(i(558))}return Cl(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=_a(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[At]=t}else va(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Cl(t),a=!1}else a=ya(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Uo(t),t):(Uo(t),null)}return Uo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),xl(t,t.updateQueue),Cl(t),null);case 4:return Me(),e===null&&Jf(t.stateNode.containerInfo),t.flags|=67108864,Cl(t),null;case 10:return Ta(t.type),Cl(t),null;case 19:if(Ko(t),r=t.memoizedState,r===null)return Cl(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Sl(r,!1);else{if(ud!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=qo(e),o!==null){for(t.flags|=128,Sl(r,!1),e=o.updateQueue,t.updateQueue=e,xl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Vi(n,e),n=n.sibling;return Go(t,Wo.current&1|2),P&&ia(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&qe()>xd&&(t.flags|=128,a=!0,Sl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=qo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,xl(t,e),Sl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!P)return Cl(t),null}else 2*qe()-r.renderingStartTime>xd&&n!==536870912&&(t.flags|=128,a=!0,Sl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=qe(),e.sibling=null,o=Wo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||P?Go(t,o):(n=o,O(Lo,t),O(Wo,n),Ro===null&&(Ro=t)),P&&ia(t,r.treeForkCount),e}return Cl(t),null;case 22:case 23:return Uo(t),Io(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Cl(t),t.subtreeFlags&6&&(t.flags|=8192)):Cl(t),n=t.updateQueue,n!==null&&xl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&D(Za),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ta(La),Cl(t),null;case 25:return null;case 30:return t.flags|=33554432,Cl(t),null}throw Error(i(156,t.tag))}function Tl(e,t){switch(sa(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ta(La),Me(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Pe(t),null;case 31:if(t.memoizedState!==null){if(Uo(t),t.alternate===null)throw Error(i(340));va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Uo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ko(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Me(),null;case 10:return Ta(t.type),null;case 22:case 23:return Uo(t),Io(),e!==null&&D(Za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ta(La),null;case 25:return null;default:return null}}function El(e,t){switch(sa(t),t.tag){case 3:Ta(La),Me();break;case 26:case 27:case 5:Pe(t);break;case 4:Me();break;case 31:t.memoizedState!==null&&Uo(t);break;case 13:Uo(t);break;case 19:Ko(t);break;case 10:Ta(t.type);break;case 22:case 23:Uo(t),Io(),e!==null&&D(Za);break;case 24:Ta(La)}}function Dl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){K(t,t.return,e)}}function Ol(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){K(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){K(t,t.return,e)}}function kl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{jo(t,n)}catch(t){K(e,e.return,t)}}}function Al(e,t,n){n.props=kc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){K(e,t,n)}}function jl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=Ci(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Lp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Rp(e);f(e.child,!1,tm,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){K(e,t,n)}}function Ml(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){K(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){K(e,t,n)}else n.current=null}}function Nl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)rm(e.stateNode,t[n])}function Pl(e){for(var t=e.return;t!==null&&(Ll(t)&&rm(e.stateNode,t.stateNode),!Il(t));)t=t.return}function Fl(e){for(var t=e.return;t!==null&&(Ll(t)&&im(e.stateNode,t.stateNode),!Il(t));)t=t.return}function Il(e){return e.tag===5||e.tag===3||e.tag===27}function Ll(e){return e&&e.tag===7&&e.stateNode!==null}function Rl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){K(e,e.return,t)}}function zl(e,t,n){try{var r=e.stateNode;sp(r,e.type,n,t),r[jt]=t}catch(t){K(e,e.return,t)}}function Bl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Tp(e.type)||e.tag===4}function Vl(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Bl(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.tag===27&&Tp(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=En)),Nl(e,r),j=!0;else if(i!==4&&(i===27&&(Nl(e,r),r=null,Tp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Hl(e,t,n,r),e=e.sibling;e!==null;)Hl(e,t,n,r),e=e.sibling}function Ul(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),Nl(e,r),j=!0;else if(i!==4&&(i===27&&(Nl(e,r),r=null,Tp(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Ul(e,t,n,r),e=e.sibling;e!==null;)Ul(e,t,n,r),e=e.sibling}function Wl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ap(t,r,n),t[At]=e,t[jt]=n}catch(t){K(e,e.return,t)}}var Gl=!1,Kl=null;function ql(e){(e.tag===30||e.subtreeFlags&33554432)&&(Gl=!0)}var Jl=null;function Yl(){var e=Jl;return Jl=null,e}var Xl=0;function Zl(e,t,n,r,i){return Xl=0,Ql(e.child,t,n,r,i)}function Ql(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=jp(o);r.push(s),s.view&&(a=!0)}else a||jp(o).view&&(a=!0);Gl=!0,Op(o,Xl===0?t:t+`_`+Xl,n),Xl++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Ql(e.child,t,n,r,i)&&(a=!0));e=e.sibling}return a}function $l(e,t){for(;e!==null;)e.tag===5?kp(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||$l(e.child,t)),e=e.sibling}function eu(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(eu(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(i(544));var n=t.name;t=Ti(t.default,t.share),t!==`none`&&(Zl(e,n,t,null,!1)||$l(e.child,!1))}e=e.sibling}}function tu(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=Ci(r,n),a=Ti(r.default,n.paired?r.share:r.enter);a===`none`?eu(e):Zl(e,i,a,null,!1)?(eu(e),n.paired||t||Rd(e,r.onEnter)):$l(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)tu(e,t),e=e.sibling;else eu(e)}function nu(e){if(Kl!==null&&Kl.size!==0){var t=Kl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=Ti(n.default,n.share);if(a!==`none`&&(Zl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Rd(e,n.onShare)):$l(e.child,!1)),t.delete(r),t.size===0)break}}}nu(e)}e=e.sibling}}}function ru(e){if(e.tag===30){var t=e.memoizedProps,n=Ci(t,e.stateNode),r=Kl===null?void 0:Kl.get(n),i=Ti(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Zl(e,n,i,null,!1)?r===void 0?Rd(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Kl.delete(n),Rd(e,t.onShare)):$l(e.child,!1)),Kl!==null&&nu(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)ru(e),e=e.sibling;else Kl!==null&&nu(e)}function iu(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=Ci(t,e.stateNode);t=Ti(t.default,t.update),e.flags&=-5,t!==`none`&&Zl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&iu(e);e=e.sibling}}function au(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,$l(e.child,!1))}au(e)}e=e.sibling}}function ou(e){if(e.tag===30)e.stateNode.paired=null,$l(e.child,!1),au(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)ou(e),e=e.sibling;else au(e)}function su(e){for(e=e.child;e!==null;)e.tag===30?$l(e.child,!1):e.subtreeFlags&33554432&&su(e),e=e.sibling}function cu(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Xl<a.length){var l=a[Xl],u=jp(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Op(c,Xl===0?n:n+`_`+Xl,i),s&&e.flags&4||(Jl===null&&(Jl=[]),Jl.push(c,Xl===0?r:r+`_`+Xl,t.memoizedProps)),Xl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:cu(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function lu(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=Ci(n,r),a=Ti(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(Mp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Xl=0,i=cu(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Rd(e,n.onUpdate))}else e.subtreeFlags&33554432&&lu(e,t);e=e.sibling}}var uu=!1,z=!1,du=!1,fu=!1,pu=typeof WeakSet==`function`?WeakSet:Set,mu=null,hu=!1,gu=!1,_u=!1,vu=!1;function yu(e,t,n){if(e=e.containerInfo,up=yh,e=$r(e),ei(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(dp={focusedElem:e,selectionRange:r},yh=!1,n=(n&335544064)===n,mu=t,t=n?9270:1024;mu!==null;){if(e=mu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&ru(r[a]);if(e.alternate===null&&e.flags&2)n&&ql(e),bu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&ru(r),bu(n);continue}if(r!==null&&r.memoizedState!==null){n&&ql(e),bu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,mu=r):(n&&iu(e),bu(n))}}Kl=null}function bu(e){for(;mu!==null;){var t=mu,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(a&1024&&r!==null){n=void 0,a=r.memoizedProps,r=r.memoizedState;var o=t.stateNode;try{var s=kc(t.type,a);n=o.getSnapshotBeforeUpdate(s,r),o.__reactInternalSnapshotBeforeUpdate=n}catch(e){K(t,t.return,e)}}break;case 3:if(a&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)am(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:am(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=Ci(r.memoizedProps,r.stateNode),a=t.memoizedProps,a=Ti(a.default,a.update),a!==`none`&&Zl(r,n,a,r.memoizedState=[],!0));break;default:if(a&1024)throw Error(i(163))}if(r=t.sibling,r!==null){r.return=t.return,mu=r;break}mu=t.return}}function xu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Bu(e,n),r&4&&Dl(5,n);break;case 1:if(Bu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){K(n,n.return,e)}else{var i=kc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){K(n,n.return,e)}}}r&64&&kl(n),r&512&&jl(n,n.return);break;case 3:if(Bu(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{jo(e,t)}catch(e){K(n,n.return,e)}}break;case 27:t===null&&r&4&&Wl(n);case 26:case 5:Bu(e,n),t===null&&r&4&&Rl(n),r&512&&jl(n,n.return);break;case 12:Bu(e,n);break;case 31:Bu(e,n),r&4&&ku(e,n);break;case 13:Bu(e,n),r&4&&Au(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=xf.bind(null,n),dm(e,n))));break;case 22:if(r=n.memoizedState!==null||uu,!r){var a=t!==null&&t.memoizedState!==null||z;t=uu,i=z,uu=r,(z=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),Hu(e,n,r)):Bu(e,n),uu=t,z=i}break;case 30:Bu(e,n),r&512&&jl(n,n.return);break;case 7:r&512&&jl(n,n.return);default:Bu(e,n)}}function Su(e,t){for(e=e.child;e!==null;)Cu(e,t),e=e.sibling}function Cu(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){K(e,e.return,t)}B(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,j=!0}catch(t){K(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?Dp(s,!0):Dp(e.stateNode,!1)}catch(t){K(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&Su(e,t);break;default:Su(e,t)}}function B(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:Cu(n,r);break a;case 22:n.memoizedState===null&&B(n,r);break a;default:B(n,r)}}e=e.sibling}}function wu(e){var t=e.alternate;t!==null&&(e.alternate=null,wu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&zt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Tu=null,Eu=!1;function Du(e,t,n){for(n=n.child;n!==null;)Ou(e,t,n),n=n.sibling}function Ou(e,t,n){if(rt&&typeof rt.onCommitFiberUnmount==`function`)try{rt.onCommitFiberUnmount(nt,n)}catch{}switch(n.tag){case 26:z||Ml(n,t),Du(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!z&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:z||Ml(n,t),Fl(n);var r=Tu,i=Eu;Tp(n.type)&&(Tu=n.stateNode,Eu=!1),Du(e,t,n),ym(n.stateNode,n.type,n.memoizedProps),Tu=r,Eu=i;break;case 5:z||Ml(n,t),Fl(n);case 6:if(n.tag===6&&Fl(n),r=Tu,i=Eu,Tu=null,Du(e,t,n),Tu=r,Eu=i,Tu!==null){if(Eu)try{(Tu.nodeType===9?Tu.body:Tu.nodeName===`HTML`?Tu.ownerDocument.body:Tu).removeChild(n.stateNode),j=!0}catch(e){K(n,t,e)}else try{Tu.removeChild(n.stateNode),j=!0}catch(e){K(n,t,e)}}break;case 18:Tu!==null&&(Eu?(e=Tu,Ep(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Gh(e)):Ep(Tu,n.stateNode));break;case 4:r=Tu,i=Eu,Tu=n.stateNode.containerInfo,Eu=!0,Du(e,t,n),Tu=r,Eu=i;break;case 0:case 11:case 14:case 15:Ol(2,n,t),z||Ol(4,n,t),Du(e,t,n);break;case 1:z||(Ml(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Al(n,t,r)),Du(e,t,n);break;case 21:Du(e,t,n);break;case 22:z=(r=z)||n.memoizedState!==null,Du(e,t,n),z=r;break;case 30:Ml(n,t),Du(e,t,n);break;case 7:z||Ml(n,t),Du(e,t,n);break;default:Du(e,t,n)}}function ku(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Gh(e)}catch(e){K(t,t.return,e)}}}function Au(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Gh(e)}catch(e){K(t,t.return,e)}}function ju(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new pu),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new pu),t;default:throw Error(i(435,e.tag))}}function Mu(e,t){var n=ju(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Sf.bind(null,e,t);t.then(r,r)}})}function Nu(e,t,n){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=r[a],s=e,c=t,l=c;a:for(;l!==null;){switch(l.tag){case 27:if(Tp(l.type)){Tu=l.stateNode,Eu=!1;break a}break;case 5:Tu=l.stateNode,Eu=!1;break a;case 3:case 4:Tu=l.stateNode.containerInfo,Eu=!0;break a}l=l.return}if(Tu===null)throw Error(i(160));Ou(s,c,o),Tu=null,Eu=!1,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Fu(t,e,n),t=t.sibling}var Pu=null;function Fu(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var o=0;o<r.length;o++){var s=r[o];s.ref.impl=s.nextImpl}Nu(t,e,n),Iu(e),a&4&&(Ol(3,e,e.return),Dl(3,e),Ol(5,e,e.return));break;case 1:Nu(t,e,n),Iu(e),a&512&&(z||r===null||Ml(r,r.return)),a&64&&uu&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=Pu,Nu(t,e,n),Iu(e),a&512&&(z||r===null||Ml(r,r.return)),a&4){if(a=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(uu)e.stateNode=hp(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,a=o.ownerDocument||o;b:switch(t){case`title`:r=a.getElementsByTagName(`title`)[0],(!r||r[Lt]||r[At]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=a.createElement(t),a.head.insertBefore(r,a.querySelector(`head > title`))),ap(r,t,n),r[At]=e,Wt(r),t=r;break a;case`link`:if(o=Jm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break b}}r=a.createElement(t),ap(r,t,n),a.head.appendChild(r);break;case`meta`:if(o=Jm(`meta`,`content`,a).get(t+(n.content||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){o.splice(s,1);break b}}r=a.createElement(t),ap(r,t,n),a.head.appendChild(r);break;default:throw Error(i(468,t))}r[At]=e,Wt(r),t=r}e.stateNode=t}}else uu||Ym(o,e.type,e.stateNode)}else e.stateNode=Um(o,n,e.memoizedProps)}else a===n?n===null&&e.stateNode!==null&&zl(e,e.memoizedProps,r.memoizedProps):(a===null?(t=r.stateNode,t===null||z||t.parentNode.removeChild(t)):a.count--,n===null?uu||Ym(o,e.type,e.stateNode):Um(o,n,e.memoizedProps))}break;case 27:Nu(t,e,n),Iu(e),a&512&&(z||r===null||Ml(r,r.return)),r!==null&&a&4&&zl(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=du,du=!1,Nu(t,e,n),du=o,Iu(e),a&512&&(z||r===null||Ml(r,r.return)),e.flags&32){t=e.stateNode;try{vn(t,``),j=!0}catch(t){K(e,e.return,t)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,zl(e,t,r===null?t:r.memoizedProps)),a&1024&&(fu=!0);break;case 6:if(Nu(t,e,n),Iu(e),a&4){if(e.stateNode===null)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,j=!0}catch(t){K(e,e.return,t)}}break;case 3:if(j=!1,qm=null,o=Pu,Pu=Cm(t.containerInfo),Nu(t,e,n),Pu=o,Iu(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{Gh(t.containerInfo)}catch(t){K(e,e.return,t)}fu&&(fu=!1,Lu(e)),j=!1;break;case 4:a=du,du=uu,r=en(),o=Pu,Pu=Cm(e.stateNode.containerInfo),Nu(t,e,n),Iu(e),Pu=o,j&&gu&&(_u=!0),j=r,du=a;break;case 12:Nu(t,e,n),Iu(e);break;case 31:Nu(t,e,n),Iu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Mu(e,t)));break;case 13:Nu(t,e,n),Iu(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(yd=qe()),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Mu(e,t)));break;case 22:o=e.memoizedState!==null,s=r!==null&&r.memoizedState!==null;var c=uu,l=z,u=du;uu=c||o,du=u||o,z=l||s,Nu(t,e,n),z=l,du=u,uu=c,Iu(e),a&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||r===null||s||uu||z||(t=s||z,n=uu,r=z,uu=o||uu,z=t,Vu(e,2),uu=n,z=r),!o&&du||Su(e,o)),a&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Mu(e,n))));break;case 19:Nu(t,e,n),Iu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Mu(e,t)));break;case 30:a&512&&(z||r===null||Ml(r,r.return)),a=en(),o=gu,s=(n&335544064)===n,c=e.memoizedProps,gu=s&&Ti(c.default,c.update)!==`none`,Nu(t,e,n),Iu(e),s&&r!==null&&j&&(e.flags|=4),gu=o,j=a;break;case 21:break;case 7:a&512&&(z||r===null||Ml(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:Nu(t,e,n),Iu(e)}}function Iu(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Bl(r)){n=r;break}r=r.return}r=null;for(var a=e.return;a!==null;){if(Ll(a)){var o=a.stateNode;r===null?r=[o]:r.push(o)}if(Il(a))break;a=a.return}var s=r;if(n==null)throw Error(i(160));switch(n.tag){case 27:var c=n.stateNode;Ul(e,Vl(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(vn(l,``),n.flags&=-33),Ul(e,Vl(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;Hl(e,Vl(e),u,s);break;default:throw Error(i(161))}}catch(t){K(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Lu(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Lu(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,yh=!0,t.reset(),yh=!1),e=e.sibling}}function Ru(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)zu(t,e),t=t.sibling;else lu(t,!1)}function zu(e,t){var n=e.alternate;if(n===null)tu(e,!1);else switch(e.tag){case 3:if(vu=hu=!1,Yl(),Ru(t,e),!hu&&!_u){if(e=Jl,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];kp(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),vu=!0}Jl=null;break;case 5:Ru(t,e);break;case 4:r=hu,hu=!1,Ru(t,e),hu&&(_u=!0),hu=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Ru(t,e):tu(e,!1));break;case 30:r=hu,i=Yl(),hu=!1,Ru(t,e),hu&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=Ci(a,o),o=Ci(n.memoizedProps,o);var s=Ti(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Xl=0,t=cu(e,n,t,o,s,a,!0),Xl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Rd(e,e.memoizedProps.onUpdate),Jl=i):i!==null&&(i.push.apply(i,Jl),Jl=i),hu=e.flags&32?!0:r;break;default:Ru(t,e)}}function Bu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xu(e,t.alternate,t),t=t.sibling}function Vu(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Ol(4,n,n.return),Vu(n,r);break;case 1:Ml(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&Al(n,n.return,i),Vu(n,r);break;case 27:r&2&&ym(n.stateNode,n.type,n.memoizedProps);case 5:Ml(n,n.return),n.tag!==5&&n.tag!==27||Fl(n),Vu(n,r);break;case 6:Fl(n);break;case 26:Ml(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||z||i.parentNode.removeChild(i),Vu(n,r);break;case 22:n.memoizedState===null&&Vu(n,r);break;case 30:Ml(n,n.return),Vu(n,r);break;case 7:Ml(n,n.return);default:Vu(n,r)}e=e.sibling}}function Hu(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:Hu(i,a,n),Dl(4,a);break;case 1:if(Hu(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){K(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Ao(l[i],c)}catch(e){K(r,r.return,e)}}s&&o&64&&kl(a),jl(a,a.return);break;case 27:n&2&&Wl(a);case 5:a.tag!==5&&a.tag!==27||Pl(a),Hu(i,a,n),s&&r===null&&o&4&&Rl(a),jl(a,a.return);break;case 6:Pl(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||uu||Ym(Cm(c.ownerDocument),a.type,c),Hu(i,a,n),s&&r===null&&o&4&&Rl(a),jl(a,a.return);break;case 12:Hu(i,a,n);break;case 31:Hu(i,a,n),s&&o&4&&ku(i,a);break;case 13:Hu(i,a,n),s&&o&4&&Au(i,a);break;case 22:a.memoizedState===null&&Hu(i,a,n),jl(a,a.return);break;case 30:Hu(i,a,n),jl(a,a.return);break;case 7:jl(a,a.return);default:Hu(i,a,n)}t=t.sibling}}function Uu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&za(n))}function Wu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&za(e))}function Gu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Ku(e,t,n,r),t=t.sibling;else i&&su(t)}function Ku(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&ou(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:Gu(e,t,n,r),a&2048&&Dl(9,t);break;case 1:Gu(e,t,n,r);break;case 3:Gu(e,t,n,r),i&&vu&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&za(a)));break;case 12:if(a&2048){Gu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){K(t,t.return,e)}}else Gu(e,t,n,r);break;case 31:Gu(e,t,n,r);break;case 13:Gu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&ou(t),o._visibility&2?Gu(e,t,n,r):(o._visibility|=2,qu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&ou(s),o._visibility&2?Gu(e,t,n,r):Ju(e,t)),a&2048&&Uu(s,t);break;case 24:Gu(e,t,n,r),a&2048&&Wu(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&($l(a.child,!0),$l(t.child,!0))),Gu(e,t,n,r);break;default:Gu(e,t,n,r)}}function qu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:qu(a,o,s,c,i),Dl(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,qu(a,o,s,c,i)):u._visibility&2?qu(a,o,s,c,i):Ju(a,o),i&&l&2048&&Uu(o.alternate,o);break;case 24:qu(a,o,s,c,i),i&&l&2048&&Wu(o.alternate,o);break;default:qu(a,o,s,c,i)}t=t.sibling}}function Ju(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ju(n,r),i&2048&&Uu(r.alternate,r);break;case 24:Ju(n,r),i&2048&&Wu(r.alternate,r);break;default:Ju(n,r)}t=t.sibling}}var Yu=8192;function Xu(e,t,n){if(e.subtreeFlags&Yu)for(e=e.child;e!==null;)Zu(e,t,n),e=e.sibling}function Zu(e,t,n){switch(e.tag){case 26:Xu(e,t,n),e.flags&Yu&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&eh(n,e)):th(n,Pu,e.memoizedState,e.memoizedProps));break;case 5:Xu(e,t,n),e.flags&Yu&&(e=e.stateNode,(t&335544128)===t&&eh(n,e));break;case 3:case 4:var r=Pu;Pu=Cm(e.stateNode.containerInfo),Xu(e,t,n),Pu=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Yu,Yu=16777216,Xu(e,t,n),Yu=r):Xu(e,t,n));break;case 30:if((e.flags&Yu)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Kl===null&&(Kl=new Map),Kl.set(r,i)}Xu(e,t,n);break;default:Xu(e,t,n)}}function Qu(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function $u(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];mu=r,nd(r,e)}Qu(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ed(e),e=e.sibling}function ed(e){switch(e.tag){case 0:case 11:case 15:$u(e),e.flags&2048&&Ol(9,e,e.return);break;case 3:$u(e);break;case 12:$u(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,td(e)):$u(e);break;default:$u(e)}}function td(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];mu=r,nd(r,e)}Qu(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ol(8,t,t.return),td(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,td(t));break;default:td(t)}e=e.sibling}}function nd(e,t){for(;mu!==null;){var n=mu;switch(n.tag){case 0:case 11:case 15:Ol(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:za(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,mu=r;else a:for(n=e;mu!==null;){r=mu;var i=r.sibling,a=r.return;if(wu(r),r===n){mu=null;break a}if(i!==null){i.return=a,mu=i;break a}mu=a}}}var rd={getCacheForType:function(e){var t=ja(La),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ja(La).controller.signal}},id=typeof WeakMap==`function`?WeakMap:Map,V=0,H=null,U=null,W=0,G=0,ad=null,od=!1,sd=!1,cd=!1,ld=0,ud=0,dd=0,fd=0,pd=0,md=0,hd=0,gd=null,_d=null,vd=!1,yd=0,bd=0,xd=1/0,Sd=null,Cd=null,wd=0,Td=null,Ed=null,Dd=0,Od=0,kd=null,Ad=null,jd=null,Md=null,Nd=null,Pd=0,Fd=null;function Id(){return V&2&&W!==0?W&-W:w.T===null?Dt():Rf()}function Ld(){if(md===0){if(!(W&536870912)||P){var e=pt;pt<<=1,!(pt&3932160)&&(pt=262144),md=e}else md=536870912}return e=Lo.current,e!==null&&(e.flags|=32),md}function Rd(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Lp(Ci(e.memoizedProps,n))),Md===null&&(Md=[]),Md.push(t.bind(null,r))}}function zd(e,t,n){(e===H&&(G===2||G===9)||e.cancelPendingCommit!==null)&&(Kd(e,0),Ud(e,W,md,!1)),St(e,n),(!(V&2)||e!==H)&&(e===H&&(!(V&2)&&(fd|=n),ud===4&&Ud(e,W,md,!1)),Af(e))}function Bd(e,t,n){if(V&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||_t(e,t),a=r?ef(e,t):Qd(e,t,!0),o=r;do{if(a===0){sd&&!r&&Ud(e,t,0,!1);break}if(n=e.current.alternate,o&&!Hd(n))a=Qd(e,t,!1),o=!1;else{if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=gd;var l=c.current.memoizedState.isDehydrated;if(l&&(Kd(c,s).flags|=256),s=Qd(c,s,!1),s!==2&&s!==6){if(cd&&!l){c.errorRecoveryDisabledLanes|=o,fd|=o,a=4;break a}o=_d,_d=a,o!==null&&(_d===null?_d=o:_d.push.apply(_d,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Kd(e,0),Ud(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Ud(r,t,md,!od);break a;case 2:_d=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=yd+300-qe(),10<a)){if(Ud(r,t,md,!od),gt(r,0,!0)!==0)break a;Dd=t,r.timeoutHandle=yp(Vd.bind(null,r,n,_d,Sd,vd,t,md,fd,hd,od,o,`Throttled`,-0,0),a);break a}Vd(r,n,_d,Sd,vd,t,md,fd,hd,od,o,null,-0,0)}break}}while(1);Af(e)}function Vd(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:En},Kl=null,Zu(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=ah.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?yd-qe():(a&4194048)===a?bd-qe():0,m=rh(d,m),m!==null)?(Dd=a,e.cancelPendingCommit=m(cf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),Ud(e,a,o,!l)):cf(e,t,a,n,r,i,o,s,c,l,u,d)}function Hd(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!qr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ud(e,t,n,r){t=vt(e,t),t&=~pd,t&=~fd,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-at(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&k(e,n,t)}function Wd(){return V&6?!0:(jf(0,!1),!1)}function Gd(){if(U!==null){if(G===0)var e=U.return;else e=U,Ca=Sa=null,ds(e),fo=null,po=0,e=U;for(;e!==null;)El(e.alternate,e),e=e.return;U=null}}function Kd(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,bp(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Dd=0,Gd(),H=e,U=n=Bi(e.current,null),W=t,G=0,ad=null,od=!1,sd=_t(e,t),cd=!1,hd=md=pd=fd=dd=ud=0,_d=gd=null,vd=!1,ld=vt(e,t),Ai(),n}function qd(e,t){F=null,w.H=xc,t===to||t===ro?(t=lo(),G=3):t===no?(t=lo(),G=4):G=t===zc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,ad=t,U===null&&(ud=1,Nc(e,Ji(t,e.current)))}function Jd(){var e=Lo.current;return e===null?!0:(W&4194048)===W?Ro===null:(W&62914560)===W||W&536870912?e===Ro:!1}function Yd(){var e=w.H;return w.H=xc,e===null?xc:e}function Xd(){var e=w.A;return w.A=rd,e}function Zd(){ud=4,od||(W&4194048)!==W&&Lo.current!==null||(sd=!0),!(dd&134217727)&&!(fd&134217727)||H===null||Ud(H,W,md,!1)}function Qd(e,t,n){var r=V;V|=2;var i=Yd(),a=Xd();(H!==e||W!==t)&&(Sd=null,Kd(e,t)),t=!1;var o=ud;a:do try{if(G!==0&&U!==null){var s=U,c=ad;switch(G){case 8:Gd(),o=6;break a;case 3:case 2:case 9:case 6:Lo.current===null&&(t=!0);var l=G;if(G=0,ad=null,af(e,s,c,l),n&&sd){o=0;break a}break;default:l=G,G=0,ad=null,af(e,s,c,l)}}$d(),o=ud;break}catch(t){qd(e,t)}while(1);return t&&e.shellSuspendCounter++,Ca=Sa=null,V=r,w.H=i,w.A=a,U===null&&(H=null,W=0,Ai()),o}function $d(){for(;U!==null;)nf(U)}function ef(e,t){var n=V;V|=2;var r=Yd(),a=Xd();H!==e||W!==t?(Sd=null,xd=qe()+500,Kd(e,t)):sd=_t(e,t);a:do try{if(G!==0&&U!==null){t=U;var o=ad;b:switch(G){case 1:G=0,ad=null,af(e,t,o,1);break;case 2:case 9:if(ao(o)){G=0,ad=null,rf(t);break}t=function(){G!==2&&G!==9||H!==e||(G=7),Af(e)},o.then(t,t);break a;case 3:G=7;break a;case 4:G=5;break a;case 7:ao(o)?(G=0,ad=null,rf(t)):(G=0,ad=null,af(e,t,o,7));break;case 5:var s=null;switch(U.tag){case 26:s=U.memoizedState;case 5:case 27:var c=U;if(s?Qm(s):c.stateNode.complete){G=0,ad=null;var l=c.sibling;if(l!==null)U=l;else{var u=c.return;u===null?U=null:(U=u,of(u))}break b}}G=0,ad=null,af(e,t,o,5);break;case 6:G=0,ad=null,af(e,t,o,6);break;case 8:Gd(),ud=6;break a;default:throw Error(i(462))}}tf();break}catch(t){qd(e,t)}while(1);return Ca=Sa=null,w.H=r,w.A=a,V=n,U===null?(H=null,W=0,Ai(),ud):0}function tf(){for(;U!==null&&!Ge();)nf(U)}function nf(e){var t=_l(e.alternate,e,ld);e.memoizedProps=e.pendingProps,t===null?of(e):U=t}function rf(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Zc(n,t,t.pendingProps,t.type,void 0,W);break;case 11:t=Zc(n,t,t.pendingProps,t.type.render,t.ref,W);break;case 5:ds(t);var r=t;r===la&&(P?(ga(r),r.tag===5&&r.stateNode!=null&&(ua=r.stateNode)):(ga(r),P=!0));default:El(n,t),t=U=Vi(t,ld),t=_l(n,t,ld)}e.memoizedProps=e.pendingProps,t===null?of(e):U=t}function af(e,t,n,r){Ca=Sa=null,ds(t),fo=null,po=0;var i=t.return;try{if(Rc(e,i,t,n,W)){ud=1,Nc(e,Ji(n,e.current)),U=null;return}}catch(t){if(i!==null)throw U=i,t;ud=1,Nc(e,Ji(n,e.current)),U=null;return}t.flags&32768?(P||r===1?e=!0:sd||W&536870912?e=!1:(od=e=!0,(r===2||r===9||r===3||r===6)&&(r=Lo.current,r!==null&&r.tag===13&&(r.flags|=16384))),sf(t,e)):of(t)}function of(e){var t=e;do{if(t.flags&32768){sf(t,od);return}e=t.return;var n=wl(t.alternate,t,ld);if(n!==null){U=n;return}if(t=t.sibling,t!==null){U=t;return}U=t=e}while(t!==null);ud===0&&(ud=5)}function sf(e,t){do{var n=Tl(e.alternate,e);if(n!==null){n.flags&=32767,U=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){U=e;return}U=e=n}while(e!==null);ud=6,U=null}function cf(e,t,n,r,a,o,s,c,l,u,d,f){e.cancelPendingCommit=null;do gf();while(wd!==0);if(V&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));e===H&&(U=H=null,W=0),Ed=t,Td=e,Dd=n,kd=a,Ad=r,lf(e,t,n,s,c,l,f)}}function lf(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(Od=s,s|=ki,Ct(e,n,s,r,i,a),Md=null,(n&335544064)===n?(Nd=Ha(e),r=10262):(Nd=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,Cf(Ze,function(){return _f(),null})):(e.callbackNode=null,e.callbackPriority=0),Gl=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=w.T,w.T=null,i=T.p,T.p=2,a=V,V|=4;try{yu(e,t,n)}finally{V=a,T.p=i,w.T=r}}wd=1,Gl?jd=Fp(o,e.containerInfo,Nd,ff,pf,df,mf,_f,uf,null,null):(ff(),pf(),mf())}function uf(e){if(wd!==0){var t=Td.onRecoverableError;t(e,{componentStack:null})}}function df(){wd===3&&(wd=0,zu(Ed,Td),wd=4)}function ff(){if(wd===1){wd=0;var e=Td,t=Ed,n=Dd,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=w.T,w.T=null;var i=T.p;T.p=2;var a=V;V|=4;try{gu=_u=!1,Fu(t,e,n),n=dp;var o=$r(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Qr(s.ownerDocument.documentElement,s)){if(c!==null&&ei(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Zr(s,h),v=Zr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}yh=!!up,dp=up=null}finally{V=a,T.p=i,w.T=r}}e.current=t,wd=2}}function pf(){if(wd===2){wd=0;var e=Td,t=Ed,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=w.T,w.T=null;var r=T.p;T.p=2;var i=V;V|=4;try{xu(e,t.alternate,t)}finally{V=i,T.p=r,w.T=n}}wd=3}}function mf(){if(wd===4||wd===3){wd=0;var e=jd;jd=null,Ke();var t=Td,n=Ed,r=Dd,i=Ad,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?wd=5:(wd=0,Ed=Td=null,hf(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(Cd=null),A(r),n=n.stateNode,rt&&typeof rt.onCommitFiberRoot==`function`)try{rt.onCommitFiberRoot(nt,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=w.T,a=T.p,T.p=2,w.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{w.T=n,T.p=a}}if(i=Md,o=Nd,Nd=null,i!==null&&(Md=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);Dd&3&&gf(),Af(t),a=t.pendingLanes,r&261930&&a&42?t===Fd?Pd++:(Pd=0,Fd=t):(Pd=0,Fd=null),jf(0,!1)}}function hf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,za(t)))}function gf(){return jd!==null&&(jd.skipTransition(),jd=null),ff(),pf(),mf(),_f()}function _f(){if(wd!==5)return!1;var e=Td,t=Od;Od=0;var n=A(Dd),r=w.T,a=T.p;try{T.p=32>n?32:n,w.T=null,n=kd,kd=null;var o=Td,s=Dd;if(wd=0,Ed=Td=null,Dd=0,V&6)throw Error(i(331));var c=V;if(V|=4,ed(o.current),Ku(o,o.current,s,n),V=c,jf(0,!1),rt&&typeof rt.onPostCommitFiberRoot==`function`)try{rt.onPostCommitFiberRoot(nt,o)}catch{}return!0}finally{T.p=a,w.T=r,hf(e,t)}}function vf(e,t,n){t=Ji(n,t),t=Fc(e.stateNode,t,2),e=wo(e,t,2),e!==null&&(St(e,2),Af(e))}function K(e,t,n){if(e.tag===3)vf(e,e,n);else for(;t!==null;){if(t.tag===3){vf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Cd===null||!Cd.has(r))){e=Ji(n,e),n=Ic(2),r=wo(t,n,2),r!==null&&(Lc(n,r,t,e),St(r,2),Af(r));break}}t=t.return}}function q(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new id;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(cd=!0,i.add(n),e=yf.bind(null,e,t,n),t.then(e,e))}function yf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,H===e&&(W&n)===n&&(ud===4||ud===3&&(W&62914560)===W&&300>qe()-yd?V&2?pd|=n:Kd(e,0):pd|=n,hd===W&&(hd=0)),Af(e)}function bf(e,t){t===0&&(t=bt()),e=Ni(e,t),e!==null&&(St(e,t),Af(e))}function xf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bf(e,n)}function Sf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),bf(e,n)}function Cf(e,t){return Ue(e,t)}var wf=null,Tf=null,Ef=!1,Df=!1,Of=!1,kf=0;function Af(e){e!==Tf&&e.next===null&&(Tf===null?wf=Tf=e:Tf=Tf.next=e),Df=!0,Ef||(Ef=!0,Lf())}function jf(e,t){if(!Of&&Df){Of=!0;do for(var n=!1,r=wf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-at(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,If(r,a))}else a=W,a=gt(r,r===H?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||_t(r,a)||(n=!0,If(r,a))}r=r.next}while(n);Of=!1}}function Mf(){Nf()}function Nf(){Df=Ef=!1;var e=0;kf!==0&&vp()&&(e=kf);for(var t=qe(),n=null,r=wf;r!==null;){var i=r.next,a=Pf(r,t);a===0?(r.next=null,n===null?wf=i:n.next=i,i===null&&(Tf=n)):(n=r,(e!==0||a&3)&&(Df=!0)),r=i}wd!==0&&wd!==5||jf(e,!1),kf!==0&&(kf=0)}function Pf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-at(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=yt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=H,n=W,n=gt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(G===2||G===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&We(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||_t(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&We(r),A(n)){case 2:case 8:n=Xe;break;case 32:n=Ze;break;case 268435456:n=$e;break;default:n=Ze}return r=Ff.bind(null,e),n=Ue(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&We(r),e.callbackPriority=2,e.callbackNode=null,2}function Ff(e,t){if(wd!==0&&wd!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(gf()&&e.callbackNode!==n)return null;var r=W;return r=gt(e,e===H?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Bd(e,r,t),Pf(e,qe()),e.callbackNode!=null&&e.callbackNode===n?Ff.bind(null,e):null)}function If(e,t){if(gf())return null;Bd(e,t,!0)}function Lf(){Cp(function(){V&6?Ue(Ye,Mf):Nf()})}function Rf(){if(kf===0){var e=Ga;e===0&&(e=ft,ft<<=1,!(ft&261888)&&(ft=256)),kf=e}return kf}function zf(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Tn(e)}function Bf(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=zf((i[jt]||null).action),o=r.submitter;o&&(t=(t=o[jt]||null)?zf(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new qn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(kf!==0){var e=new FormData(i,o);sc(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),sc(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Vf=0;Vf<bi.length;Vf++){var Hf=bi[Vf];xi(Hf.toLowerCase(),`on`+(Hf[0].toUpperCase()+Hf.slice(1)))}xi(fi,`onAnimationEnd`),xi(pi,`onAnimationIteration`),xi(mi,`onAnimationStart`),xi(`dblclick`,`onDoubleClick`),xi(`focusin`,`onFocus`),xi(`focusout`,`onBlur`),xi(hi,`onTransitionRun`),xi(gi,`onTransitionStart`),xi(_i,`onTransitionCancel`),xi(vi,`onTransitionEnd`),Yt(`onMouseEnter`,[`mouseout`,`mouseover`]),Yt(`onMouseLeave`,[`mouseout`,`mouseover`]),Yt(`onPointerEnter`,[`pointerout`,`pointerover`]),Yt(`onPointerLeave`,[`pointerout`,`pointerover`]),Jt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Jt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Jt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Jt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Jt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Jt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Uf=`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(` `),Wf=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Uf));function Gf(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Ei(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Ei(e)}i.currentTarget=null,a=c}}}}function J(e,t){var n=t[Nt];n===void 0&&(n=t[Nt]=new Set);var r=e+`__bubble`;n.has(r)||(Yf(t,e,2,!1),n.add(r))}function Kf(e,t,n){var r=0;t&&(r|=4),Yf(n,e,r,t)}var qf=`_reactListening`+Math.random().toString(36).slice(2);function Jf(e){if(!e[qf]){e[qf]=!0,Kt.forEach(function(t){t!==`selectionchange`&&(Wf.has(t)||Kf(t,!1,e),Kf(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[qf]||(t[qf]=!0,Kf(`selectionchange`,!1,t))}}function Yf(e,t,n,r){switch(Eh(t)){case 2:var i=bh;break;case 8:i=xh;break;default:i=Sh}n=i.bind(null,t,n,e),i=void 0,!In||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Xf(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Bt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}Nn(function(){var r=a,i=On(n),s=[];a:{var c=yi.get(e);if(c!==void 0){var l=qn,u=e;switch(e){case`keypress`:if(Hn(n)===0)break a;case`keydown`:case`keyup`:l=dr;break;case`focusin`:u=`focus`,l=nr;break;case`focusout`:u=`blur`,l=nr;break;case`beforeblur`:case`afterblur`:l=nr;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=er;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=tr;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=mr;break;case fi:case pi:case mi:l=rr;break;case vi:l=hr;break;case`scroll`:case`scrollend`:l=Yn;break;case`wheel`:l=M;break;case`copy`:case`cut`:case`paste`:l=ir;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=fr;break;case`submit`:l=pr;break;case`toggle`:case`beforetoggle`:l=gr}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=Pn(m,p),g!=null&&d.push(Zf(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(l=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,l&&n!==Dn&&(u=n.relatedTarget||n.fromElement)&&(Bt(u)||u[Mt]))break a;(c||l)&&(u=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Bt(l):null,l!==null&&(f=o(l),d=l.tag,l!==f||d!==5&&d!==27&&d!==6)&&(l=null)):(c=null,l=r),c!==l&&(d=er,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=fr,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=c==null?u:Ht(c),h=l==null?u:Ht(l),u=new d(g,m+`leave`,c,n,i),u.target=f,u.relatedTarget=h,g=null,Bt(i)===r&&(d=new d(p,m+`enter`,l,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=c&&l?ne(c,l,$f):null,c!==null&&ep(s,u,c,d,!1),l!==null&&f!==null&&ep(s,f,l,d,!0)))}a:{if(c=r?Ht(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=Fr;else if(kr(c)){if(Ir)_=Gr;else{_=Ur;var v=Hr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Sn(r.elementType)&&(_=Fr):_=Wr;if(_&&=_(e,r)){Ar(s,_,n,i);break a}v&&v(e,c,r)}switch(v=r?Ht(r):window,e){case`focusin`:(kr(v)||v.contentEditable===`true`)&&(ni=v,ri=r,ii=null);break;case`focusout`:ii=ri=ni=null;break;case`mousedown`:ai=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:ai=!1,oi(s,n,i);break;case`selectionchange`:if(ti)break;case`keydown`:case`keyup`:oi(s,n,i)}var y;if(_r)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else Tr?Cr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(br&&n.locale!==`ko`&&(Tr||b!==`onCompositionStart`?b===`onCompositionEnd`&&Tr&&(y=Vn()):(Rn=i,zn=`value`in Rn?Rn.value:Rn.textContent,Tr=!0)),v=Qf(r,b),0<v.length&&(b=new ar(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=wr(n),y!==null&&(b.data=y)))),(y=yr?Er(e,n):Dr(e,n))&&(b=Qf(r,`onBeforeInput`),0<b.length&&(v=new ar(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),Bf(s,e,r,n,i)}Gf(s,t)})}function Zf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qf(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Pn(e,n),i!=null&&r.unshift(Zf(e,i,a)),i=Pn(e,t),i!=null&&r.push(Zf(e,i,a))),e.tag===3)return r;e=e.return}return[]}function $f(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ep(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=Pn(n,a),l!=null&&o.unshift(Zf(n,l,c))):i||(l=Pn(n,a),l!=null&&o.push(Zf(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var tp=/\r\n?/g,np=/\u0000|\uFFFD/g;function rp(e){return(typeof e==`string`?e:``+e).replace(tp,`
|
|
10
|
+
`).replace(np,``)}function Y(e,t){return t=rp(t),rp(e)===t}function X(e,t,n,r,a,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||vn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&vn(e,``+r);else return;break;case`className`:nn(e,`class`,r);break;case`tabIndex`:nn(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:nn(e,n,r);break;case`style`:xn(e,r,o);return;case`data`:if(t!==`object`){nn(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Tn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&X(e,t,`name`,a.name,a,null),X(e,t,`formEncType`,a.formEncType,a,null),X(e,t,`formMethod`,a.formMethod,a,null),X(e,t,`formTarget`,a.formTarget,a,null)):(X(e,t,`encType`,a.encType,a,null),X(e,t,`method`,a.method,a,null),X(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Tn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=En);return;case`onScroll`:r!=null&&J(`scroll`,e);return;case`onScrollEnd`:r!=null&&J(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Tn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:J(`beforetoggle`,e),J(`toggle`,e),tn(e,`popover`,r);break;case`xlinkActuate`:rn(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:rn(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:rn(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:rn(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:rn(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:rn(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:rn(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:rn(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:rn(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:tn(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=Cn.get(n)||n,tn(e,n,r);else return}j=!0}function ip(e,t,n,r,a,o){switch(n){case`style`:xn(e,r,o);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)vn(e,r);else if(typeof r==`number`||typeof r==`bigint`)vn(e,``+r);else return;break;case`onScroll`:r!=null&&J(`scroll`,e);return;case`onScrollEnd`:r!=null&&J(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=En);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!qt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),o=n.slice(2,a?n.length-7:void 0),t=e[jt]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(o,t,a),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,r,a);break a}j=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):tn(e,n,r)}return}j=!0}function ap(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:J(`error`,e),J(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:X(e,t,o,s,n,null)}}a&&X(e,t,`srcSet`,n.srcSet,n,null),r&&X(e,t,`src`,n.src,n,null);return;case`input`:J(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:X(e,t,r,d,n,null)}}pn(e,o,c,l,u,s,a,!1);return;case`select`:for(a in J(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:X(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&hn(e,!!r,n,!0):hn(e,!!r,t,!1);return;case`textarea`:for(s in J(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:X(e,t,s,c,n,null)}_n(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:X(e,t,l,r,n,null)}return;case`dialog`:J(`beforetoggle`,e),J(`toggle`,e),J(`cancel`,e),J(`close`,e);break;case`iframe`:case`object`:J(`load`,e);break;case`video`:case`audio`:for(r=0;r<Uf.length;r++)J(Uf[r],e);break;case`image`:J(`error`,e),J(`load`,e);break;case`details`:J(`toggle`,e);break;case`embed`:case`source`:case`link`:J(`error`,e),J(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:X(e,t,u,r,n,null)}return;default:if(Sn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&ip(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&X(e,t,c,r,n,null))}var op={};function sp(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||X(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(j=!0),o=m;break;case`name`:m!==f&&(j=!0),a=m;break;case`checked`:m!==f&&(j=!0),u=m;break;case`defaultChecked`:m!==f&&(j=!0),d=m;break;case`value`:m!==f&&(j=!0),s=m;break;case`defaultValue`:m!==f&&(j=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&X(e,t,p,m,r,f)}}fn(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||X(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:o!==l&&(j=!0),p=o;break;case`defaultValue`:o!==l&&(j=!0),c=o;break;case`multiple`:o!==l&&(j=!0),s=o;default:o!==l&&X(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?hn(e,!!n,n?[]:``,!1):hn(e,!!n,t,!0)):hn(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:X(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:a!==o&&(j=!0),p=a;break;case`defaultValue`:a!==o&&(j=!0),m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&X(e,t,s,a,r,o)}gn(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:X(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:p!==m&&(j=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:X(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&X(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:X(e,t,u,p,r,m)}return;default:if(Sn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&ip(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||ip(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&X(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||X(e,t,f,p,r,m)}function cp(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function lp(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&cp(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&cp(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var up=null,dp=null;function fp(e){return e.nodeType===9?e:e.ownerDocument}function pp(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function mp(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function hp(e,t,n,r){return n=fp(n).createElement(e),n[At]=r,n[jt]=t,ap(n,e,t),Wt(n),n}function gp(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _p=null;function vp(){var e=window.event;return e&&e.type===`popstate`?e!==_p&&(_p=e,!0):(_p=null,!1)}var yp=typeof setTimeout==`function`?setTimeout:void 0,bp=typeof clearTimeout==`function`?clearTimeout:void 0,xp=typeof Promise==`function`?Promise:void 0,Sp=typeof requestAnimationFrame==`function`?requestAnimationFrame:yp,Cp=typeof queueMicrotask==`function`?queueMicrotask:xp===void 0?yp:function(e){return xp.resolve(null).then(e).catch(wp)};function wp(e){setTimeout(function(){throw e})}function Tp(e){return e===`head`}function Ep(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Gh(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)bm(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,bm(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Lt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&bm(e.ownerDocument.body)}n=i}while(n);Gh(t)}function Dp(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Op(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function kp(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Ap(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function jp(e){return Ap(e.getBoundingClientRect(),getComputedStyle(e),e)}function Mp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Ap(t,n,e)}function Np(e){return e.documentElement.clientHeight}function Pp(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Fp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Np(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=$m(f),u>nh){s.length=o;break}f=new Promise(Pp.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Ip(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Ip.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:x({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Ip.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Ip.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Lp(e){return{name:e,group:new Ip(`group`,e),imagePair:new Ip(`image-pair`,e),old:new Ip(`old`,e),new:new Ip(`new`,e)}}function Rp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Rp.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(Up(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Vp(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),f(this._fragmentFiber.child,!1,zp,e,s,r)}this._eventListeners=a}};function zp(e,t,n,r){return _(e).addEventListener(t,n,r),!1}Rp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=Up(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Vp(i.optionsOrUseCapture),f(this._fragmentFiber.child,!1,Bp,e,n,i),r.splice(t,1),a!==null&&a()}};function Bp(e,t,n,r){return _(e).removeEventListener(t,n,r),!1}function Vp(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Hp(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function Up(e,t,n,r){if(e.length===0)return-1;r=Hp(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&Hp(a.optionsOrUseCapture)===r)return i}return-1}Rp.prototype.dispatchEvent=function(e){var t=p(this._fragmentFiber);if(t===null)return!0;t=_(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Vp(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Vp(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Rp.prototype.focus=function(e){f(this._fragmentFiber.child,!0,Wp,e,void 0,void 0)};function Wp(e,t){return e.tag!==6&&(e=_(e),gm(e,t))}Rp.prototype.focusLast=function(e){var t=[];f(this._fragmentFiber.child,!0,Gp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Wp(t[n],e);n--);};function Gp(e,t){return t.push(e),!1}Rp.prototype.blur=function(){var e=p(this._fragmentFiber);e!==null&&(e=_(e),e=fp(e).activeElement,e!==null&&f(this._fragmentFiber.child,!1,Kp,e,void 0,void 0))};function Kp(e,t){return e.tag!==6&&(e=_(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Rp.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),f(this._fragmentFiber.child,!1,qp,e,void 0,void 0)};function qp(e,t){return e.tag===6||(e=_(e),t.observe(e)),!1}Rp.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),f(this._fragmentFiber.child,!1,Jp,e,void 0,void 0);for(var n=t=0;n<Yp.length;n++){var r=Yp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):Yp[t++]=r}Yp.length=t}};function Jp(e,t){return e.tag===6||(e=_(e),t.unobserve(e)),!1}var Yp=[],Xp=!1;function Zp(e,t,n){Yp.push({fragmentInstance:e,observer:t,instance:n}),Xp||(Xp=!0,_m(function(){Xp=!1;var e=Yp;Yp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Rp.prototype.getClientRects=function(){var e=[];return f(this._fragmentFiber.child,!1,Qp,e,void 0,void 0),e};function Qp(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=_(e),t.push.apply(t,e.getClientRects());return!1}Rp.prototype.getRootNode=function(e){var t=p(this._fragmentFiber);return t===null?this:_(t).getRootNode(e)},Rp.prototype.compareDocumentPosition=function(e){var t=p(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];f(this._fragmentFiber.child,!1,Gp,n,void 0,void 0);var r=_(t);if(n.length===0){if(n=r,m(this._fragmentFiber)){a:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break a}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=h(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=_(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=_(n[0]),i=_(n[n.length-1]);var a=m(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||$p(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function $p(e,t,n,r,i){var a=Bt(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=p(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=ne(n,a,te),t===null?t=!1:(f(t,!0,b,a,n),a=v,v=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=ne(r,a,te),t===null?t=!1:(f(t,!0,ee,a,r),a=v,y=v=null,t=a!==null)),t):!1}function em(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Rp.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(i(566));var t=[];f(this._fragmentFiber.child,!1,Gp,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=h(this._fragmentFiber);if(r=n?r[1]||r[0]||p(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=_(r),em(e,n);return}if(r=_(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var a=t[r];a.tag===6?(a=_(a),em(a,n)):_(a).scrollIntoView(e),r+=n?-1:1}};function tm(e,t){return e=_(e),nm(e,t),!1}function nm(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function rm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Vp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<Yp.length;i++){var a=Yp[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(Yp[r++]=a)}Yp.length=r,n.observe(e)}),nm(e,t))}function im(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Vp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?Zp(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function am(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:am(n),zt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function om(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[Lt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=fm(e.nextSibling),e===null)break}return null}function sm(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=fm(e.nextSibling),e===null))return null;return e}function cm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=fm(e.nextSibling),e===null))return null;return e}function lm(e){return e.data===`$?`||e.data===`$~`}function um(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function dm(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function fm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var pm=null;function mm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return fm(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function hm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function gm(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function _m(e){Sp(function(){Sp(function(t){return e(t)})})}function vm(e,t,n){switch(t=fp(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function ym(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&X(e,t,r,null,op,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===En&&(e.onclick=null),zt(e)}function bm(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);zt(e)}var xm=new Map,Sm=new Set;function Cm(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var wm=T.d;T.d={f:Tm,r:Em,D:km,C:Am,L:jm,m:Mm,X:Pm,S:Nm,M:Fm};function Tm(){var e=wm.f(),t=Wd();return e||t}function Em(e){var t=Vt(e);t!==null&&t.tag===5&&t.type===`form`?lc(t):wm.r(e)}var Dm=typeof document>`u`?null:document;function Om(e,t,n){var r=Dm;if(r&&typeof t==`string`&&t){var i=dn(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Sm.has(i)||(Sm.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),ap(t,`link`,e),Wt(t),r.head.appendChild(t)))}}function km(e){wm.D(e),Om(`dns-prefetch`,e,null)}function Am(e,t){wm.C(e,t),Om(`preconnect`,e,t)}function jm(e,t,n){wm.L(e,t,n);var r=Dm;if(r&&e&&t){var i=`link[rel="preload"][as="`+dn(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+dn(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+dn(n.imageSizes)+`"]`)):i+=`[href="`+dn(e)+`"]`;var a=i;switch(t){case`style`:a=Lm(e);break;case`script`:a=Vm(e)}if(!(xm.has(a)||(e=x({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),xm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Rm(a))||t===`script`&&r.querySelector(Hm(a))))){var o=r.createElement(`link`);ap(o,`link`,e),t===`style`&&(o[Rt]=!0,o.onload=o.onerror=function(){Gt(o)}),Wt(o),r.head.appendChild(o)}}}function Mm(e,t){wm.m(e,t);var n=Dm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+dn(r)+`"][href="`+dn(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Vm(e)}if(!xm.has(a)&&(e=x({rel:`modulepreload`,href:e},t),xm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Hm(a)))return}r=n.createElement(`link`),ap(r,`link`,e),Wt(r),n.head.appendChild(r)}}}function Nm(e,t,n){wm.S(e,t,n);var r=Dm;if(r&&e){var i=Ut(r).hoistableStyles,a=Lm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Rm(a)))s.loading=5;else{e=x({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=xm.get(a))&&Gm(e,n);var c=o=r.createElement(`link`);Wt(c),ap(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Wm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Pm(e,t){wm.X(e,t);var n=Dm;if(n&&e){var r=Ut(n).hoistableScripts,i=Vm(e),a=r.get(i);a||(a=n.querySelector(Hm(i)),a||(e=x({src:e,async:!0},t),(t=xm.get(i))&&Km(e,t),a=n.createElement(`script`),Wt(a),ap(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Fm(e,t){wm.M(e,t);var n=Dm;if(n&&e){var r=Ut(n).hoistableScripts,i=Vm(e),a=r.get(i);a||(a=n.querySelector(Hm(i)),a||(e=x({src:e,async:!0,type:`module`},t),(t=xm.get(i))&&Km(e,t),a=n.createElement(`script`),Wt(a),ap(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Im(e,t,n,r){var a=(a=ke.current)?Cm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Lm(n.href),t=Ut(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Lm(n.href);var o=Ut(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Rm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=xm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},xm.set(e,o)),Bm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Vm(n),t=Ut(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Lm(e){return`href="`+dn(e)+`"`}function Rm(e){return`link[rel="stylesheet"][`+e+`]`}function zm(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function Bm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[Rt]){r.loading=1;return}}else t=e.createElement(`link`),t[Rt]=!0,t.onload=t.onerror=Gt.bind(null,t),ap(t,`link`,n),Wt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Vm(e){return`[src="`+dn(e)+`"]`}function Hm(e){return`script[async]`+e}function Um(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+dn(n.href)+`"]`);if(r)return t.instance=r,Wt(r),r;var a=x({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Wt(r),ap(r,`style`,a),Wm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Lm(n.href);var o=e.querySelector(Rm(a));if(o)return t.state.loading|=4,t.instance=o,Wt(o),o;r=zm(n),(a=xm.get(a))&&Gm(r,a),o=(e.ownerDocument||e).createElement(`link`),Wt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ap(o,`link`,r),t.state.loading|=4,Wm(o,n.precedence,e),t.instance=o;case`script`:return o=Vm(n.src),(a=e.querySelector(Hm(o)))?(t.instance=a,Wt(a),a):(r=n,(a=xm.get(o))&&(r=x({},n),Km(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Wt(a),ap(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Wm(r,n.precedence,e));return t.instance}function Wm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Gm(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Km(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var qm=null;function Jm(e,t,n){if(qm===null){var r=new Map,i=qm=new Map;i.set(n,r)}else i=qm,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Lt]||a[At]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Ym(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Xm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Zm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Qm(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function $m(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function eh(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=$m(t),e.suspenseyImages.push(t)),e=oh.bind(e),t.decode().then(e,e))}function th(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Lm(r.href),a=t.querySelector(Rm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=ah.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Wt(a);return}a=t.ownerDocument||t,r=zm(r),(i=xm.get(i))&&Gm(r,i),a=a.createElement(`link`),Wt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),ap(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=ah.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var nh=0;function rh(e,t){return e.stylesheets&&e.count===0&&ch(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ch(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&nh===0&&(nh=62500*lp());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ch(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>nh?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function ih(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ch(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function ah(){this.count--,ih(this)}function oh(){this.imgCount--,ih(this)}var sh=null;function ch(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,sh=new Map,t.forEach(lh,e),sh=null,ah.call(e))}function lh(e,t){if(!(t.state.loading&4)){var n=sh.get(e);if(n)var r=n.get(null);else{n=new Map,sh.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=ah.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var uh={$$typeof:le,Provider:null,Consumer:null,_currentValue:E,_currentValue2:E,_threadCount:0};function dh(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=xt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xt(0),this.hiddenUpdates=xt(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function fh(e,t,n,r,i,a,o,s,c,l,u,d){return e=new dh(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=Ri(3,null,null,t),e.current=a,a.stateNode=e,t=Ra(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},xo(a),e}function ph(e){return e?(e=Ii,e):Ii}function mh(e,t,n,r,i,a){i=ph(i),r.context===null?r.context=i:r.pendingContext=i,r=Co(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=wo(e,r,t),n!==null&&(zd(n,e,t),To(n,e,t))}function hh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function gh(e,t){hh(e,t),(e=e.alternate)&&hh(e,t)}function _h(e){if(e.tag===13||e.tag===31){var t=Ni(e,67108864);t!==null&&zd(t,e,67108864),gh(e,67108864)}}function vh(e){if(e.tag===13||e.tag===31){var t=Id();t=Et(t);var n=Ni(e,t);n!==null&&zd(n,e,t),gh(e,t)}}var yh=!0;function bh(e,t,n,r){var i=w.T;w.T=null;var a=T.p;try{T.p=2,Sh(e,t,n,r)}finally{T.p=a,w.T=i}}function xh(e,t,n,r){var i=w.T;w.T=null;var a=T.p;try{T.p=8,Sh(e,t,n,r)}finally{T.p=a,w.T=i}}function Sh(e,t,n,r){if(yh){var i=Ch(r);if(i===null)Xf(e,t,r,wh,n),Fh(e,r);else if(Lh(i,e,t,n,r))r.stopPropagation();else if(Fh(e,r),t&4&&-1<Ph.indexOf(e)){for(;i!==null;){var a=Vt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=ht(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-at(o);s.entanglements[1]|=c,o&=~c}Af(a),!(V&6)&&(xd=qe()+500,jf(0,!1))}}break;case 31:case 13:s=Ni(a,2),s!==null&&zd(s,a,2),Wd(),gh(a,2)}if(a=Ch(r),a===null&&Xf(e,t,r,wh,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Xf(e,t,r,null,n)}}function Ch(e){return e=On(e),Th(e)}var wh=null;function Th(e){if(wh=null,e=Bt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return wh=e,null}function Eh(e){switch(e){case`beforetoggle`: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`seeked`:case`submit`:case`toggle`: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`fullscreenerror`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Je()){case Ye:return 2;case Xe:return 8;case Ze:case Qe:return 32;case $e:return 268435456;default:return 32}default:return 32}}var Dh=!1,Oh=null,kh=null,Ah=null,jh=new Map,Mh=new Map,Nh=[],Ph=`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`.split(` `);function Fh(e,t){switch(e){case`focusin`:case`focusout`:Oh=null;break;case`dragenter`:case`dragleave`:kh=null;break;case`mouseover`:case`mouseout`:Ah=null;break;case`pointerover`:case`pointerout`:jh.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Mh.delete(t.pointerId)}}function Ih(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Vt(t),t!==null&&_h(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Lh(e,t,n,r,i){switch(t){case`focusin`:return Oh=Ih(Oh,e,t,n,r,i),!0;case`dragenter`:return kh=Ih(kh,e,t,n,r,i),!0;case`mouseover`:return Ah=Ih(Ah,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return jh.set(a,Ih(jh.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Mh.set(a,Ih(Mh.get(a)||null,e,t,n,r,i)),!0}return!1}function Rh(e){var t=Bt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,Ot(e.priority,function(){vh(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,Ot(e.priority,function(){vh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zh(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ch(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Dn=r,n.target.dispatchEvent(r),Dn=null}else return t=Vt(n),t!==null&&_h(t),e.blockedOn=n,!1;t.shift()}return!0}function Bh(e,t,n){zh(e)&&n.delete(t)}function Vh(){Dh=!1,Oh!==null&&zh(Oh)&&(Oh=null),kh!==null&&zh(kh)&&(kh=null),Ah!==null&&zh(Ah)&&(Ah=null),jh.forEach(Bh),Mh.forEach(Bh)}function Hh(e,n){e.blockedOn===n&&(e.blockedOn=null,Dh||(Dh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Vh)))}var Uh=null;function Wh(e){Uh!==e&&(Uh=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Uh===e&&(Uh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Th(r||n)===null)continue;break}var a=Vt(n);a!==null&&(e.splice(t,3),t-=3,sc(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Gh(e){function t(t){return Hh(t,e)}Oh!==null&&Hh(Oh,e),kh!==null&&Hh(kh,e),Ah!==null&&Hh(Ah,e),jh.forEach(t),Mh.forEach(t);for(var n=0;n<Nh.length;n++){var r=Nh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Nh.length&&(n=Nh[0],n.blockedOn===null);)Rh(n),n.blockedOn===null&&Nh.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[jt]||null;if(typeof a==`function`)o||Wh(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[jt]||null)s=o.formAction;else if(Th(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Wh(n)}}}function Kh(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function qh(e){this._internalRoot=e}Jh.prototype.render=qh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;mh(n,Id(),e,t,null,null)},Jh.prototype.unmount=qh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;mh(e.current,2,null,e,null,null),Wd(),t[Mt]=null}};function Jh(e){this._internalRoot=e}Jh.prototype.unstable_scheduleHydration=function(e){if(e){var t=Dt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nh.length&&t!==0&&t<Nh[n].priority;n++);Nh.splice(n,0,e),n===0&&Rh(e)}};var Yh=n.version;if(Yh!==`19.3.1`)throw Error(i(527,Yh,`19.3.1`));T.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Xh={bundleType:0,version:`19.3.1`,rendererPackageName:`react-dom`,currentDispatcherRef:w,reconcilerVersion:`19.3.1`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Zh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zh.isDisabled&&Zh.supportsFiber)try{nt=Zh.inject(Xh),rt=Zh}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Ac,s=jc,c=Mc;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=fh(e,1,!1,null,null,n,r,null,o,s,c,Kh),e[Mt]=t.current,Jf(e),new qh(t)}})),pt=tt(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=ft()})),mt=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function ht(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:mt(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var gt=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},_t=e=>{let t=gt(e);return t.charAt(0).toUpperCase()+t.slice(1)},vt=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),yt={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function bt(e){return e!=null}function xt(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??yt.width,a=e.size??e.height??yt.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?vt(...c):vt(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??yt[`stroke-width`])*Number(e.size??e.width??yt.width)/Number(t.size??t.width??yt.width):t.strokeWidth??yt[`stroke-width`];return[`svg`,{...Object.entries(yt).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&bt(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&bt(t.width)&&{[r(`width`)]:t.width},...`height`in t&&bt(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function St(e,t={}){return xt(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var Ct=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},k=lt(),wt=(0,k.createContext)({}),Tt=()=>(0,k.useContext)(wt),Et=(0,k.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=Tt()??{},y=!!c||Ct(d),[b,ee,te=[]]=St(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:vt(v,s),hasA11yProp:y,attributes:d});return(0,k.createElement)(b,{ref:f,...ee},[...te.map(([e,t])=>(0,k.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function A(e,t=[],n=[]){let r=typeof e==`string`?ht(e,t,n):e,i=(0,k.forwardRef)(({className:e,...t},n)=>(0,k.createElement)(Et,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=_t(r.name)),i}var Dt={name:`bot`,size:24,node:[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]};Dt.node;var Ot=A(Dt),kt={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};kt.node;var At=A(kt),jt={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};jt.node;var Mt=A(jt),Nt={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};Nt.node;var Pt=A(Nt),Ft={name:`chevrons-down-up`,size:24,node:[[`path`,{d:`m7 20 5-5 5 5`,key:`13a0gw`}],[`path`,{d:`m7 4 5 5 5-5`,key:`1kwcof`}]]};Ft.node;var It=A(Ft),Lt={name:`chevrons-up-down`,size:24,node:[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]};Lt.node;var Rt=A(Lt),zt={name:`copy`,size:24,node:[[`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`}]]};zt.node;var Bt=A(zt),Vt={name:`eye`,size:24,node:[[`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`}]]};Vt.node;var Ht=A(Vt),Ut={name:`eye-off`,size:24,node:[[`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`}]]};Ut.node;var Wt=A(Ut),Gt={name:`file-code`,size:24,node:[[`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 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]};Gt.node;var Kt=A(Gt),qt={name:`file-plus`,size:24,node:[[`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:`M9 15h6`,key:`cctwl0`}],[`path`,{d:`M12 18v-6`,key:`17g6i2`}]]};qt.node;var Jt=A(qt),Yt={name:`file-text`,size:24,node:[[`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`}]]};Yt.node;var Xt=A(Yt),Zt={name:`folder-down`,size:24,node:[[`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`}],[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`m15 13-3 3-3-3`,key:`6j2sf0`}]]};Zt.node;var Qt=A(Zt),$t={name:`folder-open`,size:24,node:[[`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`}]]};$t.node;var j=A($t),en={name:`folder-plus`,size:24,node:[[`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`}]]};en.node;var tn=A(en),nn={name:`folder`,size:24,node:[[`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`}]]};nn.node;var rn=A(nn),an={name:`git-compare`,size:24,node:[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`,key:`1yeb86`}],[`path`,{d:`M11 18H8a2 2 0 0 1-2-2V9`,key:`19pyzm`}]]};an.node;var on=A(an),sn={name:`languages`,size:24,node:[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]};sn.node;var cn=A(sn),ln={name:`layout-dashboard`,size:24,node:[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]};ln.node;var un=A(ln),dn={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};dn.node;var fn=A(dn),pn={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};pn.node;var mn=A(pn),hn={name:`message-square-text`,size:24,node:[[`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`}],[`path`,{d:`M7 11h10`,key:`1twpyw`}],[`path`,{d:`M7 15h6`,key:`d9of3u`}],[`path`,{d:`M7 7h8`,key:`af5zfr`}]]};hn.node;var gn=A(hn),_n={name:`message-square`,size:24,node:[[`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`}]]};_n.node;var vn=A(_n),yn={name:`moon`,size:24,node:[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]};yn.node;var bn=A(yn),xn={name:`package`,size:24,node:[[`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`}]]};xn.node;var Sn=A(xn),Cn={name:`panel-left-close`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m16 15-3-3 3-3`,key:`14y99z`}]],aliases:[`sidebar-close`]};Cn.node;var wn=A(Cn),Tn={name:`panel-left-open`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m14 9 3 3-3 3`,key:`8010ee`}]],aliases:[`sidebar-open`]};Tn.node;var En=A(Tn),Dn={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};Dn.node;var On=A(Dn),kn={name:`radio`,size:24,node:[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`,key:`1fwjs5`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`,key:`ehdyv1`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`,key:`1q22gi`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`,key:`r2q7qm`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]};kn.node;var An=A(kn),jn={name:`redo-2`,size:24,node:[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]};jn.node;var Mn=A(jn),Nn={name:`refresh-cw`,size:24,node:[[`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`}]]};Nn.node;var Pn=A(Nn),Fn={name:`rotate-ccw`,size:24,node:[[`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`}]]};Fn.node;var In=A(Fn),Ln={name:`save`,size:24,node:[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]};Ln.node;var Rn=A(Ln),zn={name:`scroll-text`,size:24,node:[[`path`,{d:`M15 12h-5`,key:`r7krc0`}],[`path`,{d:`M15 8h-5`,key:`1khuty`}],[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`,key:`zz82l3`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`,key:`1ph1d7`}]]};zn.node;var Bn=A(zn),Vn={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};Vn.node;var Hn=A(Vn),Un={name:`send`,size:24,node:[[`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`}]]};Un.node;var Wn=A(Un),Gn={name:`settings`,size:24,node:[[`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`}]]};Gn.node;var Kn=A(Gn),qn={name:`sliders-horizontal`,size:24,node:[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]};qn.node;var Jn=A(qn),Yn={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};Yn.node;var Xn=A(Yn),Zn={name:`sun`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]};Zn.node;var Qn=A(Zn),$n={name:`toggle-right`,size:24,node:[[`circle`,{cx:`15`,cy:`12`,r:`3`,key:`1afu0r`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]};$n.node;var er=A($n),tr={name:`trash`,size:24,node:[[`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`}]],aliases:[`trash-2`]};tr.node;var nr=A(tr),rr={name:`triangle-alert`,size:24,node:[[`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`}]],aliases:[`alert-triangle`]};rr.node;var ir=A(rr),ar={name:`type`,size:24,node:[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]};ar.node;var or=A(ar),sr={name:`undo-2`,size:24,node:[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]};sr.node;var cr=A(sr),lr={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};lr.node;var ur=A(lr),dr=pt(),fr=[`en`,`es`,`fr`,`pt`,`de`,`it`],pr={en:`English`,es:`Español`,fr:`Français`,pt:`Português`,de:`Deutsch`,it:`Italiano`},mr=[`agent`,`rules`,`proposals`,`live`,`translations`,`dashboard`,`skills`,`vscode`],hr={rules:`agent`,proposals:`agent`,live:`agent`,translations:`agent`};async function M(e,t,n){let r=await fetch(t,{method:e,headers:n?{"content-type":`application/json`}:void 0,body:n?JSON.stringify(n):void 0}),i=await r.json();if(!r.ok)throw Error(i.error??r.statusText);return i}var gr=encodeURIComponent,N={info:()=>M(`GET`,`/api/info`),setFeature:(e,t)=>M(`PUT`,`/api/features`,{feature:e,on:t}),setProposals:(e,t)=>M(`PUT`,`/api/proposals`,{active:e,layout:t}),setConfig:e=>M(`PUT`,`/api/config`,e),translations:()=>M(`GET`,`/api/translations`),waiting:()=>M(`GET`,`/api/waiting`),link:(e=!1)=>M(`POST`,`/api/link`,{skip:e}),settings:()=>M(`GET`,`/api/settings`),saveSettings:e=>M(`PUT`,`/api/settings`,e),keepLanguage:e=>M(`POST`,`/api/keep-language`,{path:e}),tree:e=>M(`GET`,`/api/tree?lang=${e}`),file:(e,t)=>M(`GET`,`/api/file?path=${gr(e)}&lang=${t}`),save:(e,t,n,r)=>M(`PUT`,`/api/file`,{path:e,content:t,target:n,lang:r}),create:e=>M(`POST`,`/api/file`,{path:e}),createDir:e=>M(`POST`,`/api/dir`,{path:e}),deletePreview:e=>M(`GET`,`/api/delete-preview?path=${gr(e)}`),remove:e=>M(`DELETE`,`/api/path?path=${gr(e)}`),ignore:(e,t,n)=>M(`POST`,`/api/ignore`,{path:e,kind:t,ignored:n}),diff:e=>M(`GET`,`/api/diff?path=${gr(e)}`),dashboard:()=>M(`GET`,`/api/dashboard`),rules:()=>M(`GET`,`/api/rules`),saveRule:e=>M(`PUT`,`/api/rules`,e),deleteRule:e=>M(`DELETE`,`/api/rules?id=${gr(e)}`),applyRules:e=>M(`POST`,`/api/rules/apply`,{ids:e}),skills:()=>M(`GET`,`/api/skills`),setSkillTags:(e,t)=>M(`PUT`,`/api/skills/tags`,{name:e,tags:t}),skillFile:e=>M(`GET`,`/api/skills/file?key=${gr(e)}`),saveSkillFile:(e,t)=>M(`PUT`,`/api/skills/file`,{key:e,content:t}),installSkill:(e,t,n)=>M(`POST`,`/api/skills/install`,{key:e,targets:t,overwrite:n})};function _r(e){let t,n=!1,r=()=>{t=new WebSocket(`${location.protocol===`https:`?`wss`:`ws`}://${location.host}/ws`),t.onmessage=t=>e(JSON.parse(t.data)),t.onclose=()=>!n&&setTimeout(r,1e3)};return r(),()=>{n=!0,t.close()}}var vr=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=Cr(e.state,n.from);return r.line?br(e):r.block?Sr(e):!1};function yr(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return i?(r(n.update(i)),!0):!1}}var br=yr(Or,0),xr=yr(Dr,0),Sr=yr((e,t)=>Dr(e,t,Er(t)),0);function Cr(e,t){let n=e.languageDataAt(`commentTokens`,t,1);return n.length?n[0]:{}}var wr=50;function Tr(e,{open:t,close:n},r,i){let a=e.sliceDoc(r-wr,r),o=e.sliceDoc(i,i+wr),s=/\s*$/.exec(a)[0].length,c=/^\s*/.exec(o)[0].length,l=a.length-s;if(a.slice(l-t.length,l)==t&&o.slice(c,c+n.length)==n)return{open:{pos:r-s,margin:s&&1},close:{pos:i+c,margin:c&&1}};let u,d;i-r<=100?u=d=e.sliceDoc(r,i):(u=e.sliceDoc(r,r+wr),d=e.sliceDoc(i-wr,i));let f=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(d)[0].length,m=d.length-p-n.length;return u.slice(f,f+t.length)==t&&d.slice(m,m+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(u.charAt(f+t.length))},close:{pos:i-p-n.length,margin:+!!/\s/.test(d.charAt(m-1))}}:null}function Er(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let a=t.length-1;a>=0&&t[a].to>r.from?t[a].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}function Dr(e,t,n=t.selection.ranges){let r=n.map(e=>Cr(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>Tr(t,r[n],e.from,e.to));if(e!=2&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+` `},{from:e.to,insert:` `+r[t].close}]))};if(e!=1&&i.some(e=>e)){let e=[];for(let t=0,n;t<i.length;t++)if(n=i[t]){let i=r[t],{open:a,close:o}=n;e.push({from:a.pos-i.open.length,to:a.pos+a.margin},{from:o.pos-o.margin,to:o.pos+i.close.length})}return{changes:e}}return null}function Or(e,t,n=t.selection.ranges){let r=[],i=-1;ranges:for(let{from:e,to:a}of n){let n=r.length,o=1e9,s;for(let n=e;n<=a;){let c=t.doc.lineAt(n);if(s==null&&(s=Cr(t,c.from).line,!s))continue ranges;if(c.from>i&&(e==a||a>c.from)){i=c.from;let e=/^\s*/.exec(c.text)[0].length,t=e==c.length,n=c.text.slice(e,e+s.length)==s?e:-1;e<c.text.length&&e<o&&(o=e),r.push({line:c,comment:n,token:s,indent:e,empty:t,single:!1})}n=c.to+1}if(o<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=o);r.length==n+1&&(r[n].single=!0)}if(e!=2&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:a,single:o}of r)(o||!a)&&e.push({from:t.from+i,insert:n+` `});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(e!=1&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,a=r+i.length;t.text[a-t.from]==` `&&a++,e.push({from:r,to:a})}return{changes:e}}return null}var kr=Ne.define(),Ar=Ne.define(),jr=ze.define(),Mr=ze.define({combine(e){return Ge(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}}),Nr=ye.define({create(){return ti.empty},update(e,t){let n=t.state.facet(Mr),r=t.annotation(kr);if(r){let i=Ur.fromTransaction(t,r.selection),a=r.side,o=a==0?e.undone:e.done;return o=i?Wr(o,o.length,n.minDepth,i):Xr(o,t.startState.selection),new ti(a==0?r.rest:o,a==0?o:r.rest)}let i=t.annotation(Ar);if((i==`full`||i==`before`)&&(e=e.isolate()),t.annotation(Ve.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let a=Ur.fromTransaction(t),o=t.annotation(Ve.time),s=t.annotation(Ve.userEvent);return a?e=e.addChanges(a,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(i==`full`||i==`after`)&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}},fromJSON(e){return new ti(e.done.map(Ur.fromJSON),e.undone.map(Ur.fromJSON))}});function Pr(e={}){return[Nr,Mr.of(e),S.domEventHandlers({beforeinput(e,t){let n=e.inputType==`historyUndo`?Ir:e.inputType==`historyRedo`?Lr:null;return n?(e.preventDefault(),n(t)):!1}})]}function Fr(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(Nr,!1);if(!i)return!1;let a=i.pop(e,n,t);return a?(r(a),!0):!1}}var Ir=Fr(0,!1),Lr=Fr(1,!1),Rr=Fr(0,!0),zr=Fr(1,!0);function Br(e){return function(t){let n=t.field(Nr,!1);if(!n)return 0;let r=e==0?n.done:n.undone;return r.length-(r.length&&!r[0].changes?1:0)}}var Vr=Br(0),Hr=Br(1),Ur=class e{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){return{changes:this.changes?.toJSON(),mapped:this.mapped?.toJSON(),startSelection:this.startSelection?.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(t){return new e(t.changes&&le.fromJSON(t.changes),[],t.mapped&&Ce.fromJSON(t.mapped),t.startSelection&&C.fromJSON(t.startSelection),t.selectionsAfter.map(C.fromJSON))}static fromTransaction(t,n){let r=Jr;for(let e of t.startState.facet(jr)){let n=e(t);n.length&&(r=r.concat(n))}return!r.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,Jr)}static selection(t){return new e(void 0,Jr,void 0,void 0,t)}};function Wr(e,t,n,r){let i=t+1>n+20?t-n-1:0,a=e.slice(i,t);return a.push(r),a}function Gr(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,a)=>{for(let e=0;e<n.length;){let t=n[e++],o=n[e++];a>=t&&i<=o&&(r=!0)}}),r}function Kr(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length===0}function qr(e,t){return e.length?t.length?e.concat(t):e:t}var Jr=[],Yr=200;function Xr(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Yr));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),Wr(e,e.length-1,1e9,n.setSelAfter(r)))}return[Ur.selection([t])]}function Zr(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function Qr(e,t){if(!e.length)return e;let n=e.length,r=Jr;for(;n;){let i=$r(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[Ur.selection(r)]:Jr}function $r(e,t,n){let r=qr(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):Jr,n);if(!e.changes)return Ur.selection(r);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(a):a;return new Ur(i,xe.mapEffects(e.effects,t),o,e.startSelection.map(a),r)}var ei=/^(input\.type|delete)($|\.)/,ti=class e{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new e(this.done,this.undone):this}addChanges(t,n,r,i,a){let o=this.done,s=o[o.length-1];return o=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||ei.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(a,Gr(s.changes,t.changes))||r==`input.type.compose`)?Wr(o,o.length-1,i.minDepth,new Ur(t.changes.compose(s.changes),qr(xe.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,Jr)):Wr(o,o.length,i.minDepth,t),new e(o,Jr,n,r)}addSelection(t,n,r,i){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:Jr;return a.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&Kr(a[a.length-1],t)?this:new e(Xr(this.done,t),this.undone,n,r)}addMapping(t){return new e(Qr(this.done,t),Qr(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let i=r[r.length-1],a=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:kr.of({side:e,rest:Zr(r),selection:a}),userEvent:e==0?`select.undo`:`select.redo`,scrollIntoView:!0});if(i.changes){let n=r.length==1?Jr:r.slice(0,r.length-1);return i.mapped&&(n=Qr(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:kr.of({side:e,rest:n,selection:a}),filter:!1,userEvent:e==0?`undo`:`redo`,scrollIntoView:!0})}return null}};ti.empty=new ti(Jr,Jr);var ni=[{key:`Mod-z`,run:Ir,preventDefault:!0},{key:`Mod-y`,mac:`Mod-Shift-z`,run:Lr,preventDefault:!0},{linux:`Ctrl-Shift-z`,run:Lr,preventDefault:!0},{key:`Mod-u`,run:Rr,preventDefault:!0},{key:`Alt-u`,mac:`Mod-Shift-u`,run:zr,preventDefault:!0}];function ri(e,t){return C.create(e.ranges.map(t),e.mainIndex)}function ii(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:`select`})}function ai({state:e,dispatch:t},n){let r=ri(e.selection,n);return!r.eq(e.selection,!0)&&(t(ii(e,r)),!0)}function oi(e,t){return C.cursor(t?e.to:e.from)}function si(e,t){return ai(e,n=>n.empty?e.moveByChar(n,t):oi(n,t))}function ci(e){return e.textDirectionAt(e.state.selection.main.head)==ne.LTR}var li=e=>si(e,!ci(e)),ui=e=>si(e,ci(e));function di(e,t){return ai(e,n=>n.empty?e.moveByGroup(n,t):oi(n,t))}var fi=e=>di(e,!ci(e)),pi=e=>di(e,ci(e));typeof Intl<`u`&&Intl.Segmenter;function mi(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function hi(e,n,r){let i=t(e).resolveInner(n.head),o=r?s.closedBy:s.openedBy;for(let t=n.head;;){let n=r?i.childAfter(t):i.childBefore(t);if(!n)break;mi(e,n,o)?i=n:t=r?n.to:n.from}let c=i.type.prop(o),l,u;return u=c&&(l=r?a(e,i.from,1):a(e,i.to,-1))&&l.matched?r?l.end.to:l.end.from:r?i.to:i.from,C.cursor(u,r?-1:1)}var gi=e=>ai(e,t=>hi(e.state,t,!ci(e))),_i=e=>ai(e,t=>hi(e.state,t,ci(e)));function vi(e,t){return ai(e,n=>{if(!n.empty)return oi(n,t);let r=e.moveVertically(n,t);return r.head==n.head?e.moveToLineBoundary(n,t):r})}var yi=e=>vi(e,!1),bi=e=>vi(e,!0);function xi(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,i;if(t){for(let t of e.state.facet(S.scrollMargins)){let i=t(e);i?.top&&(n=Math.max(i?.top,n)),i?.bottom&&(r=Math.max(i?.bottom,r))}i=e.scrollDOM.clientHeight-n-r}else i=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,i-5)}}function Si(e,t){let n=xi(e),{state:r}=e,i=ri(r.selection,r=>r.empty?e.moveVertically(r,t,n.height):oi(r,t));if(i.eq(r.selection))return!1;let a;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head),o=e.scrollDOM.getBoundingClientRect(),s=o.top+n.marginTop,c=o.bottom-n.marginBottom;t&&t.top>s&&t.bottom<c&&(a=S.scrollIntoView(i.main.head,{y:`start`,yMargin:t.top-s}))}return e.dispatch(ii(r,i),{effects:a}),!0}var Ci=e=>Si(e,!1),wi=e=>Si(e,!0);function Ti(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=C.cursor(r.from+n))}return i}var Ei=e=>ai(e,t=>Ti(e,t,!0)),Di=e=>ai(e,t=>Ti(e,t,!1)),Oi=e=>ai(e,t=>Ti(e,t,!ci(e))),ki=e=>ai(e,t=>Ti(e,t,ci(e))),Ai=e=>ai(e,t=>e.moveToLineBoundary(t,!1,!1)),ji=e=>ai(e,t=>e.moveToLineBoundary(t,!0,!1));function Mi(e,t,n){let r=!1,i=ri(e.selection,t=>{let i=a(e,t.head,-1)||a(e,t.head,1)||t.head>0&&a(e,t.head-1,1)||t.head<e.doc.length&&a(e,t.head+1,-1);if(!i||!i.end)return t;r=!0;let o=i.start.from==t.head?i.end.to:i.end.from;return n?C.range(t.anchor,o):C.cursor(o)});return r?(t(ii(e,i)),!0):!1}var Ni=({state:e,dispatch:t})=>Mi(e,t,!1);function Pi(e,t,n){let r=ri(e.state.selection,e=>{e.undirectional&&e.head>=e.anchor!=t&&(e=C.range(e.head,e.anchor));let r=n(e);return C.range(e.anchor,r.head,r.goalColumn,r.bidiLevel||void 0,r.assoc)});return!r.eq(e.state.selection)&&(e.dispatch(ii(e.state,r)),!0)}function Fi(e,t){return Pi(e,t,n=>e.moveByChar(n,t))}var Ii=e=>Fi(e,!ci(e)),Li=e=>Fi(e,ci(e));function Ri(e,t){return Pi(e,t,n=>e.moveByGroup(n,t))}var zi=e=>Ri(e,!ci(e)),Bi=e=>Ri(e,ci(e)),Vi=e=>{let t=!ci(e);return Pi(e,t,n=>hi(e.state,n,t))},Hi=e=>{let t=ci(e);return Pi(e,t,n=>hi(e.state,n,t))};function Ui(e,t){return Pi(e,t,n=>e.moveVertically(n,t))}var Wi=e=>Ui(e,!1),Gi=e=>Ui(e,!0);function Ki(e,t){return Pi(e,t,n=>e.moveVertically(n,t,xi(e).height))}var qi=e=>Ki(e,!1),Ji=e=>Ki(e,!0),Yi=e=>Pi(e,!0,t=>Ti(e,t,!0)),Xi=e=>Pi(e,!1,t=>Ti(e,t,!1)),Zi=e=>{let t=!ci(e);return Pi(e,t,n=>Ti(e,n,t))},Qi=e=>{let t=ci(e);return Pi(e,t,n=>Ti(e,n,t))},$i=e=>Pi(e,!1,t=>C.cursor(e.lineBlockAt(t.head).from)),ea=e=>Pi(e,!0,t=>C.cursor(e.lineBlockAt(t.head).to)),ta=({state:e,dispatch:t})=>(t(ii(e,{anchor:0})),!0),na=({state:e,dispatch:t})=>(t(ii(e,{anchor:e.doc.length})),!0),ra=({state:e,dispatch:t})=>(t(ii(e,{anchor:e.selection.main.anchor,head:0})),!0),ia=({state:e,dispatch:t})=>(t(ii(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),aa=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:`select`})),!0),oa=({state:e,dispatch:t})=>{let n=wa(e).map(({from:t,to:n})=>C.undirectionalRange(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:C.create(n),userEvent:`select`})),!0},sa=({state:e,dispatch:n})=>{let r=ri(e.selection,n=>{let r=t(e),i=r.resolveStack(n.from,1);if(n.empty){let e=r.resolveStack(n.from,-1);e.node.from>=i.node.from&&e.node.to<=i.node.to&&(i=e)}for(let e=i;e;e=e.next){let{node:t}=e;if((t.from<n.from&&t.to>=n.to||t.to>n.to&&t.from<=n.from)&&e.next)return C.undirectionalRange(t.from,t.to)}return n});return!r.eq(e.selection)&&(n(ii(e,r)),!0)};function ca(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let r of n.selection.ranges){let a=n.doc.lineAt(r.head);if(t?a.to<e.state.doc.length:a.from>0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.head<a.from||r.head>a.to){i.some(e=>e.head==r.head)||i.push(r);break}if(r.head==n.head)break;n=r}}return i.length!=r.ranges.length&&(e.dispatch(ii(n,C.create(i,i.length-1))),!0)}var la=e=>ca(e,!1),ua=e=>ca(e,!0),P=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=C.create([n.main]):n.main.empty||(r=C.create([C.cursor(n.main.head)])),r?(t(ii(e,r)),!0):!1};function da(e,t){if(e.state.readOnly)return!1;let n=`delete.selection`,{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:a}=r;if(i==a){let o=t(r);o<i?(n=`delete.backward`,o=fa(e,o,!1)):o>i&&(n=`delete.forward`,o=fa(e,o,!0)),i=Math.min(i,o),a=Math.max(a,o)}else i=fa(e,i,!1),a=fa(e,a,!0);return i==a?{range:r}:{changes:{from:i,to:a},range:C.cursor(i,i<r.head?-1:1)}});return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:n==`delete.selection`?S.announce.of(r.phrase(`Selection deleted`)):void 0})),!0)}function fa(e,t,n){if(e instanceof S)for(let r of e.state.facet(S.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}var pa=(e,t,n)=>da(e,r=>{let a=r.from,{state:o}=e,s=o.doc.lineAt(a),c,l;if(n&&!t&&a>s.from&&a<s.from+200&&!/[^ \t]/.test(c=s.text.slice(0,a-s.from))){if(c[c.length-1]==` `)return a-1;let e=ee(c,o.tabSize)%We(o)||We(o);for(let t=0;t<e&&c[c.length-1-t]==` `;t++)a--;l=a}else l=i(s.text,a-s.from,t,t)+s.from,l==a&&s.number!=(t?o.doc.lines:1)?l+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(s.text.slice(l-s.from,a-s.from))&&(l=i(s.text,l-s.from,!1,!1)+s.from);return l}),ma=e=>pa(e,!1,!0),ha=e=>pa(e,!0,!1),ga=(e,t)=>da(e,n=>{let r=n.head,{state:a}=e,o=a.doc.lineAt(r),s=a.charCategorizer(r);for(let e=null;;){if(r==(t?o.to:o.from)){r==n.head&&o.number!=(t?a.doc.lines:1)&&(r+=t?1:-1);break}let c=i(o.text,r-o.from,t)+o.from,l=o.text.slice(Math.min(r,c)-o.from,Math.max(r,c)-o.from),u=s(l);if(e!=null&&u!=e)break;(l!=` `||r!=n.head)&&(e=u),r=c}return r}),_a=e=>ga(e,!1),va=e=>ga(e,!0),ya=e=>da(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),ba=e=>da(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),xa=e=>da(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),Sa=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:se.of([``,``])},range:C.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:`input`})),!0},Ca=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||t.from==0||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),a=n==r.from?n-1:i(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:i(r.text,n-r.from,!0)+r.from;return{changes:{from:a,to:o,insert:e.doc.slice(n,o).append(e.doc.slice(a,n))},range:C.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:`move.character`})),!0)};function wa(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),a=e.doc.lineAt(r.to);if(!r.empty&&r.to==a.from&&(a=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=a.to,e.ranges.push(r)}else t.push({from:i.from,to:a.to,ranges:[r]});n=a.number+1}return t}function Ta(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of wa(e)){if(n?t.to==e.doc.length:t.from==0)continue;let a=e.doc.lineAt(n?t.to+1:t.from-1),o=a.length+1;if(n){r.push({from:t.to,to:a.to},{from:t.from,insert:a.text+e.lineBreak});for(let n of t.ranges)i.push(C.range(Math.min(e.doc.length,n.anchor+o),Math.min(e.doc.length,n.head+o)))}else{r.push({from:a.from,to:t.from},{from:t.to,insert:e.lineBreak+a.text});for(let e of t.ranges)i.push(C.range(e.anchor-o,e.head-o))}}return r.length?(t(e.update({changes:r,scrollIntoView:!0,selection:C.create(i,e.selection.mainIndex),userEvent:`move.line`})),!0):!1}var Ea=({state:e,dispatch:t})=>Ta(e,t,!1),Da=({state:e,dispatch:t})=>Ta(e,t,!0);function Oa(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of wa(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:`input.copyline`})),!0}var ka=({state:e,dispatch:t})=>Oa(e,t,!1),Aa=({state:e,dispatch:t})=>Oa(e,t,!0),ja=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(wa(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=ri(t.selection,t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:`delete.line`}),!0};function Ma(e,n){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(n-1,n+1)))return{from:n,to:n};let r=t(e).resolveInner(n),i=r.childBefore(n),a=r.childAfter(n),o;return i&&a&&i.to<=n&&a.from>=n&&(o=i.type.prop(s.closedBy))&&o.indexOf(a.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(a.from).from&&!/\S/.test(e.sliceDoc(i.to,a.from))?{from:i.to,to:a.from}:null}var Na=Fa(!1),Pa=Fa(!0);function Fa(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,a=t.doc.lineAt(r),o=!e&&r==i&&Ma(t,r);e&&(r=i=(i<=a.to?a:t.doc.lineAt(i)).to);let s=new De(t,{simulateBreak:r,simulateDoubleBreak:!!o}),c=b(s,r);for(c??=ee(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize);i<a.to&&/\s/.test(a.text[i-a.from]);)i++;o?{from:r,to:i}=o:r>a.from&&r<a.from+100&&!/\S/.test(a.text.slice(0,r))&&(r=a.from);let l=[``,He(t,c)];return o&&l.push(He(t,s.lineIndent(a.from,-1))),{changes:{from:r,to:i,insert:se.of(l)},range:C.cursor(r+1+l[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:`input`})),!0}}function Ia(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let a=e.changes(i);return{changes:i,range:C.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}})}var La=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new De(e,{overrideIndentation:e=>n[e]??-1}),i=Ia(e,(t,i,a)=>{let o=b(r,t.from);if(o==null)return;/\S/.test(t.text)||(o=0);let s=/^\s*/.exec(t.text)[0],c=He(e,o);(s!=c||a.from<t.from+s.length)&&(n[t.from]=o,i.push({from:t.from,to:t.from+s.length,insert:c}))});return i.changes.empty||t(e.update(i,{userEvent:`indent`})),!0},Ra=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ia(e,(t,n)=>{n.push({from:t.from,insert:e.facet(te)})}),{userEvent:`input.indent`})),!0),za=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ia(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=ee(r,e.tabSize),a=0,o=He(e,Math.max(0,i-We(e)));for(;a<r.length&&a<o.length&&r.charCodeAt(a)==o.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+r.length,insert:o.slice(a)})}),{userEvent:`delete.dedent`})),!0),Ba=e=>(e.setTabFocusMode(),!0),Va=[{key:`Ctrl-b`,run:li,shift:Ii,preventDefault:!0},{key:`Ctrl-f`,run:ui,shift:Li},{key:`Ctrl-p`,run:yi,shift:Wi},{key:`Ctrl-n`,run:bi,shift:Gi},{key:`Ctrl-a`,run:Ai,shift:$i},{key:`Ctrl-e`,run:ji,shift:ea},{key:`Ctrl-d`,run:ha},{key:`Ctrl-h`,run:ma},{key:`Ctrl-k`,run:ya},{key:`Ctrl-Alt-h`,run:_a},{key:`Ctrl-o`,run:Sa},{key:`Ctrl-t`,run:Ca},{key:`Ctrl-v`,run:wi}],Ha=[{key:`ArrowLeft`,run:li,shift:Ii,preventDefault:!0},{key:`Mod-ArrowLeft`,mac:`Alt-ArrowLeft`,run:fi,shift:zi,preventDefault:!0},{mac:`Cmd-ArrowLeft`,run:Oi,shift:Zi,preventDefault:!0},{key:`ArrowRight`,run:ui,shift:Li,preventDefault:!0},{key:`Mod-ArrowRight`,mac:`Alt-ArrowRight`,run:pi,shift:Bi,preventDefault:!0},{mac:`Cmd-ArrowRight`,run:ki,shift:Qi,preventDefault:!0},{key:`ArrowUp`,run:yi,shift:Wi,preventDefault:!0},{mac:`Cmd-ArrowUp`,run:ta,shift:ra},{mac:`Ctrl-ArrowUp`,run:Ci,shift:qi},{key:`ArrowDown`,run:bi,shift:Gi,preventDefault:!0},{mac:`Cmd-ArrowDown`,run:na,shift:ia},{mac:`Ctrl-ArrowDown`,run:wi,shift:Ji},{key:`PageUp`,run:Ci,shift:qi},{key:`PageDown`,run:wi,shift:Ji},{key:`Home`,run:Di,shift:Xi,preventDefault:!0},{key:`Mod-Home`,run:ta,shift:ra},{key:`End`,run:Ei,shift:Yi,preventDefault:!0},{key:`Mod-End`,run:na,shift:ia},{key:`Enter`,run:Na,shift:Na},{key:`Mod-a`,run:aa},{key:`Backspace`,run:ma,shift:ma,preventDefault:!0},{key:`Delete`,run:ha,preventDefault:!0},{key:`Mod-Backspace`,mac:`Alt-Backspace`,run:_a,preventDefault:!0},{key:`Mod-Delete`,mac:`Alt-Delete`,run:va,preventDefault:!0},{mac:`Mod-Backspace`,run:ba,preventDefault:!0},{mac:`Mod-Delete`,run:xa,preventDefault:!0}].concat(Va.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),Ua=[{key:`Alt-ArrowLeft`,mac:`Ctrl-ArrowLeft`,run:gi,shift:Vi},{key:`Alt-ArrowRight`,mac:`Ctrl-ArrowRight`,run:_i,shift:Hi},{key:`Alt-ArrowUp`,run:Ea},{key:`Shift-Alt-ArrowUp`,run:ka},{key:`Alt-ArrowDown`,run:Da},{key:`Shift-Alt-ArrowDown`,run:Aa},{key:`Mod-Alt-ArrowUp`,run:la},{key:`Mod-Alt-ArrowDown`,run:ua},{key:`Escape`,run:P},{key:`Mod-Enter`,run:Pa},{key:`Alt-l`,mac:`Ctrl-l`,run:oa},{key:`Mod-i`,run:sa,preventDefault:!0},{key:`Mod-[`,run:za},{key:`Mod-]`,run:Ra},{key:`Mod-Alt-\\`,run:La},{key:`Shift-Mod-k`,run:ja},{key:`Shift-Mod-\\`,run:Ni},{key:`Mod-/`,run:vr},{key:`Alt-A`,mac:`Ctrl-A`,run:xr},{key:`Ctrl-m`,mac:`Shift-Alt-m`,run:Ba}].concat(Ha),Wa={key:`Tab`,run:Ra,shift:za},Ga=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFKD`):e=>e,Ka=class{constructor(e,t,n=0,r=e.length,i,a){this.test=a,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer=``,this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(Ga(e)):Ga,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return qe(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=Ue(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=de(e);let r=this.normalize(t);if(r.length)for(let e=0,i=n,a=!0;;e++){let n=r.charCodeAt(e),o=this.match(n,i,a,this.bufferPos+this.bufferStart,e==r.length-1);if(o)return this.value=o,this;if(e==r.length-1)break;a&&e<t.length&&t.charCodeAt(e)==n?i++:a=!1}}}match(e,t,n,r,i){let a=null;for(let t=0;t<this.matches.length;){let n=this.matches[t],o=!1;this.query.charCodeAt(n.index)==e&&(n.index==this.query.length-1?a={from:n.from,to:r,precise:i&&n.precise}:(n.index++,o=!0)),o?t++:this.matches.splice(t,1)}return this.query.charCodeAt(0)==e&&(this.query.length==1?a={from:t,to:r,precise:n&&i}:this.matches.push({from:t,index:1,precise:n})),a&&this.test&&!this.test(a.from,a.to,this.buffer,this.bufferStart)&&(a=null),a}};typeof Symbol<`u`&&(Ka.prototype[Symbol.iterator]=function(){return this});var qa={from:-1,to:-1,match:/.*/.exec(``),precise:!0},Ja=`gm`+(/x/.unicode==null?``:`u`),Ya=class{constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine=``,this.done=!1,this.value=qa,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new Qa(e,t,n,r,i);this.re=new RegExp(t,Ja+(n?.ignoreCase?`i`:``)),this.test=n?.test,this.iter=e.iter();let a=e.lineAt(r);this.curLineStart=a.from,this.matchPos=eo(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine=``:(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine=``:this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=eo(this.text,r+ +(n==r)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,precise:!0,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}},Xa=new WeakMap,Za=class e{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(t,n,r){let i=Xa.get(t);if(!i||i.from>=r||i.to<=n){let i=new e(n,t.sliceString(n,r));return Xa.set(t,i),i}if(i.from==n&&i.to==r)return i;let{text:a,from:o}=i;return o>n&&(a=t.sliceString(n,o)+a,o=n),i.to<r&&(a+=t.sliceString(i.to,r)),Xa.set(t,new e(o,a)),new e(n,a.slice(n-o,r-o))}},Qa=class{constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=qa,this.matchPos=eo(e,r),this.re=new RegExp(t,Ja+(n?.ignoreCase?`i`:``)),this.test=n?.test,this.flat=Za.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,precise:!0,match:t},this.matchPos=eo(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Za.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol<`u`&&(Ya.prototype[Symbol.iterator]=Qa.prototype[Symbol.iterator]=function(){return this});function $a(e){try{return new RegExp(e,Ja),!0}catch{return!1}}function eo(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t<n.to&&(r=n.text.charCodeAt(t-n.from))>=56320&&r<57344;)t++;return t}var to=t=>{let n=d(t,`cm-goto-line`);if(n){let e=n.dom.querySelector(`input[type=text]`);return e&&e.select(),!0}let{state:r}=t,i=String(r.doc.lineAt(t.state.selection.main.head).number),{close:a,result:o}=e(t,{class:`cm-goto-line`,label:r.phrase(`Go to line`),input:{type:`text`,name:`line`,value:i},focus:!0,submitLabel:r.phrase(`go`)});return o.then(e=>{let n=e&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.elements.line.value);if(!n){t.dispatch({effects:a});return}let i=r.doc.lineAt(r.selection.main.head),[,o,s,c,l]=n,u=c?+c.slice(1):0,d=s?+s:i.number;if(s&&l){let e=d/100;o&&(e=e*(o==`-`?-1:1)+i.number/r.doc.lines),d=Math.round(r.doc.lines*e)}else s&&o&&(d=d*(o==`-`?-1:1)+i.number);let f=r.doc.line(Math.max(1,Math.min(r.doc.lines,d))),p=C.cursor(f.from+Math.max(0,Math.min(u,f.length)));t.dispatch({effects:[a,S.scrollIntoView(p.from,{y:`center`})],selection:p})}),!0},no={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},ro=ze.define({combine(e){return Ge(e,no,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function io(e){let t=[uo,lo];return e&&t.push(ro.of(e)),t}var ao=l.mark({class:`cm-selectionMatch`}),oo=l.mark({class:`cm-selectionMatch cm-selectionMatch-main`});function so(e,t,n,r){return(n==0||e(t.sliceDoc(n-1,n))!=Oe.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=Oe.Word)}function co(e,t,n,r){return e(t.sliceDoc(n,n+1))==Oe.Word&&e(t.sliceDoc(r-1,r))==Oe.Word}var lo=c.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(ro),{state:n}=e,r=n.selection;if(r.ranges.length>1)return l.none;let i=r.main,a,o=null;if(i.empty){if(!t.highlightWordAroundCursor)return l.none;let e=n.wordAt(i.head);if(!e)return l.none;o=n.charCategorizer(i.head),a=n.sliceDoc(e.from,e.to)}else{let e=i.to-i.from;if(e<t.minSelectionLength||e>200)return l.none;if(t.wholeWords){if(a=n.sliceDoc(i.from,i.to),o=n.charCategorizer(i.head),!(so(o,n,i.from,i.to)&&co(o,n,i.from,i.to)))return l.none}else if(a=n.sliceDoc(i.from,i.to),!a)return l.none}let s=[];for(let r of e.visibleRanges){let e=new Ka(n.doc,a,r.from,r.to);for(;!e.next().done;){let{from:r,to:a}=e.value;if((!o||so(o,n,r,a))&&(i.empty&&r<=i.from&&a>=i.to?s.push(oo.range(r,a)):(r>=i.to||a<=i.from)&&s.push(ao.range(r,a)),s.length>t.maxMatches))return l.none}}return l.set(s)}},{decorations:e=>e.decorations}),uo=S.baseTheme({".cm-selectionMatch":{backgroundColor:`#99ff7780`},".cm-searchMatch .cm-selectionMatch":{backgroundColor:`transparent`}}),fo=({state:e,dispatch:t})=>{let{selection:n}=e,r=C.create(n.ranges.map(t=>e.wordAt(t.head)||C.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)};function po(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),a=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new Ka(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new Ka(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}else{if(n&&r.some(e=>e.from==i.value.from))continue;if(a){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}}var mo=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return fo({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let i=po(e,r);return i?(t(e.update({selection:e.selection.addRange(C.range(i.from,i.to),!1),effects:S.scrollIntoView(i.to)})),!0):!1},ho=ze.define({combine(e){return Ge(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Xo(e),scrollToMatch:e=>S.scrollIntoView(e)})}});function go(e){return e?[ho.of(e),ns]:ns}var _o=class{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||``,this.valid=!!this.search&&(!this.regexp||$a(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>t==`n`?`
|
|
11
|
+
`:t==`r`?`\r`:t==`t`?` `:`\\`)}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new Oo(this):new So(this)}getCursor(e,t=0,n){let r=e.doc?e:we.create({doc:e});return n??=r.doc.length,this.regexp?wo(this,r,t,n):bo(this,r,t,n)}},vo=class{constructor(e){this.spec=e}};function yo(e,t,n){return(r,i,a,o)=>n&&!n(r,i,a,o)?!1:e(r>=o&&i<=o+a.length?a.slice(r-o,i-o):t.doc.sliceString(r,i),t,r,i)}function bo(e,t,n,r){let i;return e.wholeWord&&(i=xo(t.doc,t.charCategorizer(t.selection.main.head))),e.test&&(i=yo(e.test,t,i)),new Ka(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),i)}function xo(e,t){return(n,r,i,a)=>((a>n||a+i.length<r)&&(a=Math.max(0,n-2),i=e.sliceString(a,Math.min(e.length,r+2))),(t(To(i,n-a))!=Oe.Word||t(Eo(i,n-a))!=Oe.Word)&&(t(Eo(i,r-a))!=Oe.Word||t(To(i,r-a))!=Oe.Word))}var So=class extends vo{constructor(e){super(e)}nextMatch(e,t,n){let r=bo(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=bo(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=bo(this.spec,e,n,r),a=null;for(;!i.nextOverlapping().done;)a=i.value;if(a)return a;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length),r&&(r.from!=t||r.to!=n)?r:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=bo(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=bo(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}};function Co(e,t,n){return(r,i,a)=>(!n||n(r,i,a))&&e(a[0],t,r,i)}function wo(e,t,n,r){let i;return e.wholeWord&&(i=Do(t.charCategorizer(t.selection.main.head))),e.test&&(i=Co(e.test,t,i)),new Ya(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:i},n,r)}function To(e,t){return e.slice(i(e,t,!1),t)}function Eo(e,t){return e.slice(t,i(e,t))}function Do(e){return(t,n,r)=>!r[0].length||(e(To(r.input,r.index))!=Oe.Word||e(Eo(r.input,r.index))!=Oe.Word)&&(e(Eo(r.input,r.index+r[0].length))!=Oe.Word||e(To(r.input,r.index+r[0].length))!=Oe.Word)}var Oo=class extends vo{nextMatch(e,t,n){let r=wo(this.spec,e,n,e.doc.length).next();return r.done&&(r=wo(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-r*1e4),a=wo(this.spec,e,i,n),o=null;for(;!a.next().done;)o=a.value;if(o&&(i==t||o.from>i+10))return o;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if(n==`&`)return e.match[0];if(n==`$`)return`$`;for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r<e.match.length)return e.match[r]+n.slice(t)}return t})}matchAll(e,t){let n=wo(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=wo(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}},ko=xe.define(),Ao=xe.define(),jo=ye.define({create(e){return new No(Go(e).create(),null)},update(e,t){for(let n of t.effects)n.is(ko)?e=new No(n.value.create(),e.panel):n.is(Ao)&&(e=new No(e.query,n.value?Wo:null));return e},provide:e=>he.from(e,e=>e.panel)});function Mo(e){let t=e.field(jo,!1);return t?t.query.spec:Go(e)}var No=class{constructor(e,t){this.query=e,this.panel=t}},Po=l.mark({class:`cm-searchMatch`}),Fo=l.mark({class:`cm-searchMatch cm-searchMatch-selected`}),Io=c.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(jo))}update(e){let t=e.state.field(jo);(t!=e.startState.field(jo)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return l.none;let{view:n}=this,r=new Ae;for(let t=0,i=n.visibleRanges,a=i.length;t<a;t++){let{from:o,to:s}=i[t];for(;t<a-1&&s>i[t+1].from-500;)s=i[++t].to;e.highlight(n.state,o,s,(e,t)=>{let i=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,i?Fo:Po)})}return r.finish()}},{decorations:e=>e.decorations});function Lo(e){return t=>{let n=t.state.field(jo,!1);return n&&n.query.spec.valid?e(t,n):Jo(t)}}var Ro=Lo((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=C.single(r.from,r.to),a=e.state.facet(ho);return e.dispatch({selection:i,effects:[es(e,r),a.scrollToMatch(i.main,e)],userEvent:`select.search`}),qo(e),!0}),zo=Lo((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let a=C.single(i.from,i.to),o=e.state.facet(ho);return e.dispatch({selection:a,effects:[es(e,i),o.scrollToMatch(a.main,e)],userEvent:`select.search`}),qo(e),!0}),Bo=Lo((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!n||!n.length?!1:(e.dispatch({selection:C.create(n.map(e=>C.range(e.from,e.to))),userEvent:`select.search.matches`}),!0)}),Vo=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,a=[],o=0;for(let t=new Ka(e.doc,e.sliceDoc(r,i));!t.next().done;){if(a.length>1e3)return!1;t.value.from==r&&(o=a.length),a.push(C.range(t.value.from,t.value.to))}return t(e.update({selection:C.create(a,o),userEvent:`select.search.matches`})),!0},Ho=Lo((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let a=t.nextMatch(n,r,r);if(!a)return!1;let o=a,s=[],c,l,u=[];o.precise?o.from==r&&o.to==i&&(l=n.toText(t.getReplacement(o)),s.push({from:o.from,to:o.to,insert:l}),o=t.nextMatch(n,o.from,o.to),u.push(S.announce.of(n.phrase(`replaced match on line $`,n.doc.lineAt(r).number)+`.`))):o=t.nextMatch(n,o.from,o.to);let d=e.state.changes(s);return o&&(c=C.single(o.from,o.to).map(d),u.push(es(e,o)),u.push(n.facet(ho).scrollToMatch(c.main,e))),e.dispatch({changes:d,selection:c,effects:u,userEvent:`input.replace`}),!0}),Uo=Lo((e,{query:t})=>{if(e.state.readOnly)return!1;let n=[];for(let r of t.matchAll(e.state,1e9)){let{from:e,to:i,precise:a}=r;a&&n.push({from:e,to:i,insert:t.getReplacement(r)})}if(!n.length)return!1;let r=e.state.phrase(`replaced $ matches`,n.length)+`.`;return e.dispatch({changes:n,effects:S.announce.of(r),userEvent:`input.replace.all`}),!0});function Wo(e){return e.state.facet(ho).createPanel(e)}function Go(e,t){let n=e.selection.main,r=n.empty||n.to>n.from+100?``:e.sliceDoc(n.from,n.to);if(t&&!r)return t;let i=e.facet(ho);return new _o({search:t?.literal??i.literal?r:r.replace(/\n/g,`\\n`),caseSensitive:t?.caseSensitive??i.caseSensitive,literal:t?.literal??i.literal,regexp:t?.regexp??i.regexp,wholeWord:t?.wholeWord??i.wholeWord})}function Ko(e){let t=ie(e,Wo);return t&&t.dom.querySelector(`[main-field]`)}function qo(e){let t=Ko(e);t&&t==e.root.activeElement&&t.select()}var Jo=e=>{let t=e.state.field(jo,!1);if(t&&t.panel){let n=Ko(e);if(n&&n!=e.root.activeElement){let r=Go(e.state,t.query.spec);r.valid&&e.dispatch({effects:ko.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[Ao.of(!0),t?ko.of(Go(e.state,t.query.spec)):xe.appendConfig.of(ns)]});return!0},F=e=>{let t=e.state.field(jo,!1);if(!t||!t.panel)return!1;let n=ie(e,Wo);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:Ao.of(!1)}),!0},Yo=[{key:`Mod-f`,run:Jo,scope:`editor search-panel`},{key:`F3`,run:Ro,shift:zo,scope:`editor search-panel`,preventDefault:!0},{key:`Mod-g`,run:Ro,shift:zo,scope:`editor search-panel`,preventDefault:!0},{key:`Escape`,run:F,scope:`editor search-panel`},{key:`Mod-Shift-l`,run:Vo},{key:`Mod-Alt-g`,run:to},{key:`Mod-d`,run:mo,preventDefault:!0}],Xo=class{constructor(e){this.view=e;let t=this.query=e.state.field(jo).query.spec;this.commit=this.commit.bind(this),this.searchField=O(`input`,{value:t.search,placeholder:Zo(e,`Find`),"aria-label":Zo(e,`Find`),class:`cm-textfield`,name:`search`,form:``,"main-field":`true`,onchange:this.commit,onkeyup:this.commit}),this.replaceField=O(`input`,{value:t.replace,placeholder:Zo(e,`Replace`),"aria-label":Zo(e,`Replace`),class:`cm-textfield`,name:`replace`,form:``,onchange:this.commit,onkeyup:this.commit}),this.caseField=O(`input`,{type:`checkbox`,name:`case`,form:``,checked:t.caseSensitive,onchange:this.commit}),this.reField=O(`input`,{type:`checkbox`,name:`re`,form:``,checked:t.regexp,onchange:this.commit}),this.wordField=O(`input`,{type:`checkbox`,name:`word`,form:``,checked:t.wholeWord,onchange:this.commit});function n(e,t,n){return O(`button`,{class:`cm-button`,name:e,onclick:t,type:`button`},n)}this.dom=O(`div`,{onkeydown:e=>this.keydown(e),class:`cm-search`},[this.searchField,n(`next`,()=>Ro(e),[Zo(e,`next`)]),n(`prev`,()=>zo(e),[Zo(e,`previous`)]),n(`select`,()=>Bo(e),[Zo(e,`all`)]),O(`label`,null,[this.caseField,Zo(e,`match case`)]),O(`label`,null,[this.reField,Zo(e,`regexp`)]),O(`label`,null,[this.wordField,Zo(e,`by word`)]),...e.state.readOnly?[]:[O(`br`),this.replaceField,n(`replace`,()=>Ho(e),[Zo(e,`replace`)]),n(`replaceAll`,()=>Uo(e),[Zo(e,`replace all`)])],O(`button`,{name:`close`,onclick:()=>F(e),"aria-label":Zo(e,`close`),type:`button`},[`×`])])}commit(){let e=new _o({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:ko.of(e)}))}keydown(e){v(this.view,e,`search-panel`)?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?zo:Ro)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Ho(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(ko)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(ho).top}};function Zo(e,t){return e.state.phrase(t)}var Qo=30,$o=/[\s\.,:;?!]/;function es(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,a=Math.max(r.from,t-Qo),o=Math.min(i,n+Qo),s=e.state.sliceDoc(a,o);if(a!=r.from){for(let e=0;e<Qo;e++)if(!$o.test(s[e+1])&&$o.test(s[e])){s=s.slice(e);break}}if(o!=i){for(let e=s.length-1;e>s.length-Qo;e--)if(!$o.test(s[e-1])&&$o.test(s[e])){s=s.slice(0,e);break}}return S.announce.of(`${e.state.phrase(`current match`)}. ${s} ${e.state.phrase(`on line`)} ${r.number}.`)}var ts=S.baseTheme({".cm-panel.cm-search":{padding:`2px 6px 4px`,position:`relative`,"& [name=close]":{position:`absolute`,top:`0`,right:`4px`,backgroundColor:`inherit`,border:`none`,font:`inherit`,padding:0,margin:0},"& input, & button, & label":{margin:`.2em .6em .2em 0`},"& input[type=checkbox]":{marginRight:`.2em`},"& label":{fontSize:`80%`,whiteSpace:`pre`}},"&light .cm-searchMatch":{backgroundColor:`#ffff0054`},"&dark .cm-searchMatch":{backgroundColor:`#00ffff8a`},"&light .cm-searchMatch-selected":{backgroundColor:`#ff6a0054`},"&dark .cm-searchMatch-selected":{backgroundColor:`#ff00ff8a`}}),ns=[jo,_e.low(Io),ts];function rs(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var is=rs();function as(e){is=e}var os={exec:()=>null};function ss(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function I(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(ls.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var cs=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),ls={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,leadingSpaceTab:/^[ \t]+/,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,numericCharacterReference:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/,numericCharacterReferenceOrAmpersand:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:ss(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:ss(e=>RegExp(`^ {0,${e}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:ss(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:ss(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:ss(e=>RegExp(`^ {0,${e}}(?:</?(?:${ws})(?: +|$|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`,`i`)),blockquoteBeginRegex:ss(e=>RegExp(`^ {0,${e}}>`))},us=/^(?:[ \t]*(?:\n|$))+/,ds=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,fs=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ps=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ms=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hs=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,gs=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_s=I(gs).replace(/bull/g,hs).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),vs=I(gs).replace(/bull/g,hs).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ys=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,bs=/^[^\n]+/,xs=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ss=I(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,xs).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Cs=I(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,hs).getRegex(),ws=`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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,Ts=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Es=I(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!(?:script|pre|style|textarea)(?![a-z0-9-]))([a-z][a-z0-9-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,Ts).replace(`tag`,ws).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ds=e=>I(ys).replace(`hr`,ps).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,e).replace(`html`,` {0,3}(?:</?(?:tag)(?: +|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`).replace(`tag`,ws).getRegex(),Os=Ds(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),ks=Ds(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),As={blockquote:I(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,ks).getRegex(),code:ds,def:Ss,fences:fs,heading:ms,hr:ps,html:Es,lheading:_s,list:Cs,newline:us,paragraph:Os,table:os,text:bs},js=I(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,ps).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,` {0,3}(?:</?(?:tag)(?: +|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`).replace(`tag`,ws).getRegex(),Ms={...As,lheading:vs,table:js,paragraph:I(ys).replace(`hr`,ps).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,js).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]`).replace(`html`,` {0,3}(?:</?(?:tag)(?: +|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`).replace(`tag`,ws).getRegex()},Ns={...As,html:I(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,Ts).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:os,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:I(ys).replace(`hr`,ps).replace(`heading`,` *#{1,6} *[^
|
|
12
|
+
]`).replace(`lheading`,_s).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},Ps=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Fs=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Is=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,Ls=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Rs=/[\p{P}\p{S}]/u,zs=/[\s\p{P}\p{S}]/u,Bs=/[^\s\p{P}\p{S}]/u,Vs=I(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,zs).getRegex(),Hs=/[\p{Pi}\p{Ps}"']/u,Us=/(?!~)[\p{P}\p{S}]/u,Ws=/(?!~)[\s\p{P}\p{S}]/u,Gs=/(?:[^\s\p{P}\p{S}]|~)/u,Ks=I(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,cs?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),qs=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,Js=I(qs,`u`).replace(/punct/g,Rs).getRegex(),Ys=I(qs,`u`).replace(/punct/g,Us).getRegex(),Xs=I(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,`u`).replace(/openQuote/g,Hs).replace(/punct/g,Rs).getRegex(),Zs=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,Qs=I(Zs,`gu`).replace(/notPunctSpace/g,Bs).replace(/punctSpace/g,zs).replace(/punct/g,Rs).getRegex(),$s=I(Zs,`gu`).replace(/notPunctSpace/g,Gs).replace(/punctSpace/g,Ws).replace(/punct/g,Us).getRegex(),ec=I(`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Bs).replace(/punctSpace/g,zs).replace(/punct/g,Rs).getRegex(),tc=I(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,Bs).replace(/punctSpace/g,zs).replace(/punct/g,Rs).getRegex(),nc=I(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Bs).replace(/punctSpace/g,zs).replace(/punct/g,Rs).getRegex(),rc=I(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,Rs).getRegex(),ic=I(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Bs).replace(/punctSpace/g,zs).replace(/punct/g,Rs).getRegex(),ac=I(/\\(punct)/,`gu`).replace(/punct/g,Rs).getRegex(),oc=I(/(`+)(?:[^`]|[^`][\s\S]*?[^`])\1(?!`)|`+|\\(punct)/,`gu`).replace(/punct/g,Rs).getRegex(),sc=I(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),cc=I(Ts).replace(`(?:-->|$)`,`-->`).getRegex(),lc=I(`^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,cc).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),uc=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,dc=I(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace(`brackets`,uc).getRegex(),fc=I(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace(`label`,dc).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),pc=I(/^!?\[(label)\]\[(ref)\]/).replace(`label`,dc).replace(`ref`,xs).getRegex(),mc=I(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,xs).getRegex(),hc=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,gc=I(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace(`brackets`,uc).getRegex(),_c=I(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,I(/^!?\[(label)\]\[(ref)\]/).replace(`label`,gc).replace(`ref`,hc).getRegex()).replace(`nolink`,I(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,hc).getRegex()).getRegex(),vc=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,yc=I(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g,/[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),bc={_backpedal:os,anyPunctuation:ac,anyPunctuationOutsideCode:oc,autolink:sc,blockSkip:Ks,br:Is,code:Fs,del:os,delLDelim:os,delRDelim:os,emStrongLDelim:Js,emStrongRDelimAst:Qs,emStrongRDelimUnd:tc,escape:Ps,link:fc,nolink:mc,punctuation:Vs,reflink:pc,reflinkSearch:_c,tag:lc,text:Ls,url:os},xc={...bc,emStrongLDelim:Xs,emStrongRDelimAst:ec,emStrongRDelimUnd:nc,link:I(/^!?\[(label)\]\((.*?)\)/).replace(`label`,dc).getRegex(),reflink:I(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,dc).getRegex()},Sc={...bc,emStrongRDelimAst:$s,emStrongLDelim:Ys,delLDelim:rc,delRDelim:ic,url:I(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`emailProtocol`,yc).replace(`protocol`,vc).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:I(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace(`protocol`,vc).replace(/emailProtocol/g,/(?:mailto|xmpp):/).getRegex()},Cc={...Sc,br:I(Is).replace(`{2,}`,`*`).getRegex(),text:I(Sc.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},wc={normal:As,gfm:Ms,pedantic:Ns},Tc={normal:bc,gfm:Sc,breaks:Cc,pedantic:xc},Ec={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},Dc=e=>Ec[e];function Oc(e,t){if(t){if(ls.escapeTest.test(e))return e.replace(ls.escapeReplace,Dc)}else if(ls.escapeTestNoEncode.test(e))return e.replace(ls.escapeReplaceNoEncode,Dc);return e}function kc(e){return ls.numericCharacterReference.test(e)?e.replace(ls.numericCharacterReferenceOrAmpersand,(e,t,n)=>{if(t===void 0&&n===void 0)return`&`;let r=t===void 0?Number.parseInt(n,16):Number.parseInt(t,10);return r===0||r>1114111||r>=55296&&r<=57343?`�`:r===38?`&`:String.fromCodePoint(r)}):e}function Ac(e){try{e=encodeURI(e).replace(ls.percentDecode,`%`)}catch{return null}return e}function jc(e,t){let n=e.replace(ls.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(ls.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace(ls.slashPipe,`|`);return n}function Mc(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function Nc(e){let t=e.split(`
|
|
13
|
+
`),n=t.length-1;for(;n>=0&&ls.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
|
|
14
|
+
`)}function Pc(e){return e.trim().toLowerCase().toUpperCase().toLowerCase()}function Fc(e,t){if(e.indexOf(t[0])===-1&&e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function Ic(e,t=0){let n=t,r=``;for(let t of e)if(t===` `){let e=4-n%4;r+=` `.repeat(e),n+=e}else r+=t,n++;return r}function Lc(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`),c=e[0].charAt(0)===`!`,l=r.state.inLink,u=r.state.linkEmitted,d=r.state.inRawBlock;r.state.inLink=!0,r.state.linkEmitted=!1;let f=r.inlineTokens(s),p=r.state.linkEmitted;if(r.state.linkEmitted=u,r.state.inLink=l,!c){if(p){r.state.inRawBlock=d;return}r.state.linkEmitted=!0}return{type:c?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:f}}function Rc(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
|
|
15
|
+
`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return e.slice(Math.min(r.length,i.length))}).join(`
|
|
16
|
+
`)}function zc(e,t,n,r){if(!t.includes(`<`))return!1;for(let i=0;i<t.length;i++){if(t[i]===`\\`){i++;continue}if(t[i]==="`"){let e=r.inline.code.exec(t.slice(i));if(e){i+=e[0].length-1;continue}}if(t[i]!==`<`)continue;let a=e.slice(n+i),o=r.inline.tag.exec(a)||r.inline.autolink.exec(a);if(o){if(o[0].length>t.length-i)return!0;i+=o[0].length-1}}return!1}var Bc=class{options;rules;lexer;constructor(e){this.options=e||is}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:Nc(t[0]);return{type:`code`,raw:e,codeBlockStyle:`indented`,text:e.replace(this.rules.other.codeRemoveIndent,``)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=Rc(e,t[3]||``,this.rules);return{type:`code`,raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,`$1`):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=Mc(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceTabChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:Mc(t[0],`
|
|
17
|
+
`),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:`hr`,raw:Mc(t[0],`
|
|
18
|
+
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=Mc(t[0],`
|
|
19
|
+
`).split(`
|
|
20
|
+
`),n=``,r=``,i=[];for(;e.length>0;){let t=!1,a=[],o=0;for(;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else if(!t)a.push(e[o]);else break;e=e.slice(o);let s=a.join(`
|
|
21
|
+
`),c=s.replace(this.rules.other.blockquoteSetextReplace,`
|
|
22
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,``);n=n?`${n}
|
|
23
|
+
${s}`:s,r=r?`${r}
|
|
24
|
+
${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=l,e.length===0)break;let u=i.at(-1);if(u?.type===`code`||u?.type===`heading`||u?.type===`hr`||u?.type===`html`)break;if(u?.type===`blockquote`){let t=u,a=e.join(`
|
|
25
|
+
`),o=t.raw+`
|
|
26
|
+
`+a.replace(this.rules.other.blockquoteSetextReplace2,``),s=this.blockquote(o);i[i.length-1]=s;let c=o.substring(s.raw.length).replace(/^\n/,``),l=c?c.split(`
|
|
27
|
+
`).length:0,d=l?e.slice(0,-l):e;d.length>0&&(n=`${n}
|
|
28
|
+
${d.join(`
|
|
29
|
+
`)}`),r=r.substring(0,r.length-t.text.length)+s.text;break}if(u?.type===`list`){let t=u,a=t.raw+`
|
|
30
|
+
`+e.join(`
|
|
31
|
+
`),o=this.list(a);i[i.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split(`
|
|
32
|
+
`)}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=e,r=()=>n.length-e.length,i=t[1].trim(),a=i.length>1,o={type:`list`,raw:``,ordered:a,start:a?+i.slice(0,-1):``,loose:!1,items:[]};i=a?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=a?i:`[*+-]`);let s=this.rules.other.listItemRegex(i),c=!1;for(;e;){let i=!1,a=``;if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;let l=r();e=e.substring(t[0].length);let u=t[2].split(`
|
|
33
|
+
`,1)[0],d=t[1].length,f=this.options.pedantic?Ic(u,d):u.replace(this.rules.other.leadingSpaceTab,e=>Ic(e,d)),p=e.split(`
|
|
34
|
+
`,1)[0],m=!f.trim(),h=0;if(this.options.pedantic?(h=2,a=f.trimStart()):m?h=d+1:(h=f.search(this.rules.other.nonSpaceChar),h=h>4?1:h,a=f.slice(h),h+=d),m&&this.rules.other.blankLine.test(p)&&(e=e.substring(p.length+1),i=!0),!i){let t=this.rules.other.nextBulletRegex(h),n=this.rules.other.hrRegex(h),r=this.rules.other.fencesBeginRegex(h),i=this.rules.other.headingBeginRegex(h),o=this.rules.other.htmlBeginRegex(h),s=this.rules.other.blockquoteBeginRegex(h);for(;e;){let c=e.split(`
|
|
35
|
+
`,1)[0],l;if(p=c,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting,` `),l=p):l=p.replace(this.rules.other.leadingSpaceTab,e=>Ic(e)),r.test(p)||i.test(p)||o.test(p)||s.test(p)||t.test(p)||n.test(p))break;if(l.search(this.rules.other.nonSpaceChar)>=h||!p.trim())a+=`
|
|
36
|
+
`+l.slice(h);else{if(m||f.replace(this.rules.other.tabCharGlobal,` `).search(this.rules.other.nonSpaceChar)>=4||r.test(f)||i.test(f)||n.test(f))break;a+=`
|
|
37
|
+
`+p}m=!p.trim(),e=e.substring(c.length+1),f=l.slice(h)}}let g=n.slice(l,r());o.loose||(c?o.loose=!0:this.rules.other.doubleBlankLine.test(g)&&(c=!0)),o.items.push({type:`list_item`,raw:g,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]})}let l=o.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;o.raw=n.slice(0,r()).trimEnd();for(let e of o.items)if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),!o.loose){let t=e.tokens.filter(e=>e.type===`space`);o.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}for(let e of o.items){let t=e.tokens[0];if(e.task&&(t?.type===`text`||t?.type===`paragraph`)){e.text=e.text.replace(this.rules.other.listReplaceTask,``),t.raw=t.raw.replace(this.rules.other.listReplaceTask,``),t.text=t.text.replace(this.rules.other.listReplaceTask,``);for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,``);break}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:`checkbox`,raw:n[0]+` `,checked:n[0]!==`[ ]`};e.checked=t.checked,o.loose?e.tokens[0]&&[`paragraph`,`text`].includes(e.tokens[0].type)&&`tokens`in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:`paragraph`,raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}else e.task&&=!1}if(o.loose)for(let e of o.items){e.loose=!0;for(let t of e.tokens)t.type===`text`&&(t.type=`paragraph`)}return o}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=Nc(t[0]);return{type:`html`,block:!0,raw:e,pre:t[1]===`pre`||t[1]===`script`||t[1]===`style`,text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){if(!this.rules.other.startAngleBracket.test(t[2])&&Fc(t[2],`()`)!==-1)return;let e=Pc(t[1]).replace(this.rules.other.multipleSpaceGlobal,` `),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,`$1`).replace(this.rules.inline.anyPunctuation,`$1`):``,r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,`$1`):t[3];return{type:`def`,tag:e,raw:Mc(t[0],`
|
|
38
|
+
`),href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=jc(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,``).split(`|`),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,``).split(`
|
|
39
|
+
`):[],a={type:`table`,raw:Mc(t[0],`
|
|
40
|
+
`),header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push(`right`):this.rules.other.tableAlignCenter.test(e)?a.align.push(`center`):this.rules.other.tableAlignLeft.test(e)?a.align.push(`left`):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(jc(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:`heading`,raw:Mc(t[0],`
|
|
41
|
+
`),depth:t[2].charAt(0)===`=`?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
|
|
42
|
+
`?t[1].slice(0,-1):t[1];return{type:`paragraph`,raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:`text`,raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:`escape`,raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:`html`,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){if(this.lexer.state.linkParenPossible===!1)return;let t=this.rules.inline.link.exec(e);if(t){let n=t[0].charAt(0)===`!`?2:1;if(!this.options.pedantic&&zc(e,t[1],n,this.rules))return;let r=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let e=Mc(r.slice(0,-1),`\\`);if((r.length-e.length)%2==0)return}else{let e=Fc(t[2],`()`);if(e===-2)return;if(e>-1){let n=(t[0].indexOf(`!`)===0?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=``}}let i=t[2],a=``;if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(i);e&&(i=e[1],a=e[3])}else a=t[3]?t[3].slice(1,-1):``;return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(i=this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?i.slice(1):i.slice(1,-1)),Lc(t,{href:i&&i.replace(this.rules.inline.anyPunctuation,`$1`),title:a&&a.replace(this.rules.inline.anyPunctuation,`$1`)},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let r=n[0].charAt(0)===`!`?2:1;if(!this.options.pedantic&&zc(e,n[1],r,this.rules))return;let i=t[Pc((n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal,` `))];if(!i){let e=n[0].charAt(0);return{type:`text`,raw:e,text:e}}return Lc(n,i,n[0],this.lexer,this.rules)}}emStrong(e,t,n=``){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let i=[...r[0]].length-1,a,o,s=i,c=0,l=r[0][0],u=n===l,d=l===`*`?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,t=t.slice(-1*e.length+i);(r=d.exec(t))!==null;){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(o=[...a].length,r[3]||r[4]){s+=o;continue}if(r[5]||r[6]){if(i%3&&!((i+o)%3)){c+=o;continue}if(u)break}if(s-=o,s>0)continue;o=Math.min(o,o+s+c);let t=[...r[0]][0].length,n=e.slice(0,i+r.index+t+o);if(Math.min(i,o)%2){let e=n.slice(1,-1);return{type:`em`,raw:n,text:e,tokens:this.lexer.inlineTokens(e)}}let l=n.slice(2,-2);return{type:`strong`,raw:n,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal,` `),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:`codespan`,raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:`br`,raw:t[0]}}del(e,t,n=``){let r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=this.rules.inline.delRDelim;for(s.lastIndex=0,t=t.slice(-1*e.length+n);(r=s.exec(t))!==null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i||(a=[...i].length,a!==n))continue;if(r[3]||r[4]){o+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o);let t=[...r[0]][0].length,s=e.slice(0,n+r.index+t+a),c=s.slice(n,-n);return{type:`del`,raw:s,text:c,tokens:this.lexer.inlineTokens(c)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]===`@`?(e=t[1],n=`mailto:`+e):(e=t[1],n=e),{type:`link`,raw:t[0],text:e,href:n,autolink:!0,tokens:[{type:`text`,raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]===`@`)e=t[0],n=`mailto:`+e;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??``;while(r!==t[0]);e=t[0],n=t[1]===`www.`?`http://`+t[0]:t[0]}return{type:`link`,raw:t[0],text:e,href:n,autolink:!0,tokens:[{type:`text`,raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:`text`,raw:t[0],text:e?t[0]:kc(t[0]),escaped:e}}}},L=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||is,this.options.tokenizer=this.options.tokenizer||new Bc,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,linkEmitted:!1,linkParenPossible:!0,top:!0};let t={other:ls,block:wc.normal,inline:Tc.normal};this.options.pedantic?(t.block=wc.pedantic,t.inline=Tc.pedantic):this.options.gfm&&(t.block=wc.gfm,t.inline=this.options.breaks?Tc.breaks:Tc.gfm),this.tokenizer.rules=t}static get rules(){return{block:wc,inline:Tc}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(ls.carriageReturn,`
|
|
43
|
+
`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(ls.tabCharGlobal,` `).replace(ls.spaceLine,``));let r=1/0;for(;e;){if(e.length<r)r=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}let i;if(this.options.extensions?.block?.some(n=>(i=n.call({lexer:this},e,t))?(e=e.substring(i.raw.length),t.push(i),!0):!1))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let n=t.at(-1);i.raw.length===1&&n!==void 0?n.raw+=`
|
|
44
|
+
`:t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
45
|
+
`)?``:`
|
|
46
|
+
`)+i.raw,n.text+=`
|
|
47
|
+
`+i.text,this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if((i=this.tokenizer.fences(e))||(i=this.tokenizer.heading(e))||(i=this.tokenizer.hr(e))||(i=this.tokenizer.blockquote(e))||(i=this.tokenizer.list(e))||(i=this.tokenizer.html(e))){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
48
|
+
`)?``:`
|
|
49
|
+
`)+i.raw,n.text+=`
|
|
50
|
+
`+i.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},t.push(i));continue}if((i=this.tokenizer.table(e))||(i=this.tokenizer.lheading(e))){e=e.substring(i.raw.length),t.push(i);continue}let a=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){let r=t.at(-1);n&&r?.type===`paragraph`?(r.raw+=(r.raw.endsWith(`
|
|
51
|
+
`)?``:`
|
|
52
|
+
`)+i.raw,r.text+=`
|
|
53
|
+
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(i),n=a.length!==e.length,e=e.substring(i.raw.length)}else if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
54
|
+
`)?``:`
|
|
55
|
+
`)+i.raw,n.text+=`
|
|
56
|
+
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(i)}else if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}linkInText(e){if(!e.includes(`[`))return!1;let t=this.tokenizer.rules.inline.link;for(let n of e.matchAll(this.tokenizer.rules.inline.blockSkip))if(t.test(n[0])&&e.charAt(n.index-1)!==`!`)return!0;for(let t of e.matchAll(this.tokenizer.rules.inline.reflinkSearch)){let e=t[0],n=e.lastIndexOf(`[`);if(e.charAt(0)!==`!`&&Object.hasOwn(this.tokens.links,Pc(e.slice(n+1,-1)))&&!(n>1&&this.linkInText(e.slice(1,n-1))))return!0}return!1}inlineTokens(e,t=[]){this.tokenizer.lexer=this;let n=this.state.linkParenPossible;this.state.linkParenPossible=n&&e.includes(`)`);try{return this.#e(e,t)}finally{this.state.linkParenPossible=n}}#e(e,t){let n=e;if(this.tokens.links&&e.includes(`[`)){let e=this.tokenizer.rules.inline.reflinkSearch,t=n=>{let r=n.lastIndexOf(`[`);if(!Object.hasOwn(this.tokens.links,Pc(n.slice(r+1,-1))))return n;if(r>1&&n.charAt(0)!==`!`){let i=n.slice(1,r-1);if(this.linkInText(i))return`[`+i.replace(e,t)+`][`+`a`.repeat(n.length-r-2)+`]`}return`[`+`a`.repeat(n.length-2)+`]`};n=n.replace(e,t)}n=n.replace(this.tokenizer.rules.inline.anyPunctuationOutsideCode,(e,t,n)=>n?`+`.repeat(e.length):t?t+e.slice(t.length,-t.length).replace(/`/g,`+`)+t:e),n=n.replace(this.tokenizer.rules.inline.blockSkip,(e,t,n)=>{let r=n?n.length:0;return e.slice(0,r)+`[`+`a`.repeat(e.length-r-2)+`]`}),n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let r=!1,i=``,a=1/0;for(;e;){if(e.length<a)a=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}r||(i=``),r=!1;let o;if(this.options.extensions?.inline?.some(n=>(o=n.call({lexer:this},e,t))?(e=e.substring(o.raw.length),t.push(o),!0):!1))continue;if((o=this.tokenizer.escape(e))||(o=this.tokenizer.tag(e))||(o=this.tokenizer.link(e))){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);let n=t.at(-1);o.type===`text`&&n?.type===`text`?(n.raw+=o.raw,n.text+=o.text):t.push(o);continue}if((o=this.tokenizer.emStrong(e,n,i))||(o=this.tokenizer.codespan(e))||(o=this.tokenizer.br(e))||(o=this.tokenizer.del(e,n,i))||(o=this.tokenizer.autolink(e))||!this.state.inLink&&(o=this.tokenizer.url(e))){e=e.substring(o.raw.length),t.push(o);continue}let s=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(o=this.tokenizer.inlineText(s)){e=e.substring(o.raw.length),o.raw.slice(-1)!==`_`&&(i=o.raw.slice(-1)),r=!0;let n=t.at(-1);n?.type===`text`?(n.raw+=o.raw,n.text+=o.text):t.push(o)}else if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return t}infiniteLoopError(e){let t=`Infinite loop on byte: `+e;if(this.options.silent)console.error(t);else throw Error(t)}},Vc=class{options;parser;constructor(e){this.options=e||is}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match(ls.notSpaceStart)?.[0],i=e?e.replace(ls.endingNewline,``)+`
|
|
57
|
+
`:``;return r?`<pre><code class="language-`+Oc(r)+`">`+(n?i:Oc(i,!0))+`</code></pre>
|
|
58
|
+
`:`<pre><code>`+(n?i:Oc(i,!0))+`</code></pre>
|
|
59
|
+
`}blockquote({tokens:e}){return`<blockquote>
|
|
60
|
+
${this.parser.parse(e)}</blockquote>
|
|
61
|
+
`}html({text:e}){return e}def(e){return``}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
62
|
+
`}hr(e){return`<hr>
|
|
63
|
+
`}list(e){let t=e.ordered,n=e.start,r=``;for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?`ol`:`ul`,a=t&&n!==1?` start="`+n+`"`:``;return`<`+i+a+`>
|
|
64
|
+
`+r+`</`+i+`>
|
|
65
|
+
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
66
|
+
`}checkbox({checked:e}){return`<input `+(e?`checked="" `:``)+`disabled="" type="checkbox"> `}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
67
|
+
`}table(e){let t=``,n=``;for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r=``;for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n=``;for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&=`<tbody>${r}</tbody>`,`<table>
|
|
68
|
+
<thead>
|
|
69
|
+
`+t+`</thead>
|
|
70
|
+
`+r+`</table>
|
|
71
|
+
`}tablerow({text:e}){return`<tr>
|
|
72
|
+
${e}</tr>
|
|
73
|
+
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
74
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Oc(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,text:n,tokens:r,autolink:i}){let a=i?Oc(n,!0):this.parser.parseInline(r),o=Ac(e);if(o===null)return a;e=Oc(o,i);let s=`<a href="`+e+`"`;return t&&(s+=` title="`+Oc(t)+`"`),s+=`>`+a+`</a>`,s}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=Ac(e);if(i===null)return Oc(n);e=i;let a=`<img src="${Oc(e)}" alt="${Oc(n)}"`;return t&&(a+=` title="${Oc(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:Oc(e.text)}},Hc=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}checkbox({raw:e}){return e}},Uc=class e{options;renderer;textRenderer;constructor(e){this.options=e||is,this.options.renderer=this.options.renderer||new Vc,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Hc}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,n=this.options.extensions.renderers[e.type].call({parser:this},e);if(n!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`checkbox`,`html`,`def`,`paragraph`,`text`].includes(e.type)){t+=n||``;continue}}let i=r;switch(i.type){case`space`:t+=this.renderer.space(i);break;case`hr`:t+=this.renderer.hr(i);break;case`heading`:t+=this.renderer.heading(i);break;case`code`:t+=this.renderer.code(i);break;case`table`:t+=this.renderer.table(i);break;case`blockquote`:t+=this.renderer.blockquote(i);break;case`list`:t+=this.renderer.list(i);break;case`checkbox`:t+=this.renderer.checkbox(i);break;case`html`:t+=this.renderer.html(i);break;case`def`:t+=this.renderer.def(i);break;case`paragraph`:t+=this.renderer.paragraph(i);break;case`text`:t+=this.renderer.text(i);break;default:{let e=`Token with "`+i.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`checkbox`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`checkbox`:n+=t.checkbox(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},Wc=class{options;block;constructor(e){this.options=e||is}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`,`emStrongMask`]);static passThroughHooksRespectAsync=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?L.lex:L.lexInline}provideParser(e=this.block){return e?Uc.parse:Uc.parseInline}};function Gc(e,t){if(Array.isArray(t))for(let n=0;n<t.length;n++)e.push(t[n]);else e.push(t)}var Kc=new class{defaults=rs();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Uc;Renderer=Vc;TextRenderer=Hc;Lexer=L;Tokenizer=Bc;Hooks=Wc;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(Gc(n,t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)Gc(n,this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)Gc(n,this.walkTokens(e.tokens,t));break}case`list`:{let e=r;Gc(n,this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);Gc(n,this.walkTokens(i,t))}):e.tokens&&Gc(n,this.walkTokens(e.tokens,t))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new Vc(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new Bc(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Wc;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];t[r]=Wc.passThroughHooks.has(n)?e=>{if(this.defaults.async&&Wc.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await i.call(t,e);return a.call(t,n)})();let r=i.call(t,e);return a.call(t,r)}:(...e)=>{if(this.defaults.async)return(async()=>{let n=await i.apply(t,e);return n===!1&&(n=await a.apply(t,e)),n})();let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&Gc(n,t.call(this,e)),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return L.lex(e,t??this.defaults)}parser(e,t){return Uc.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(typeof t>`u`||t===null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await(i.hooks?await i.hooks.provideLexer(e):e?L.lex:L.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let o=await(i.hooks?await i.hooks.provideParser(e):e?Uc.parse:Uc.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(o):o})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?L.lex:L.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?Uc.parse:Uc.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
|
|
75
|
+
Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+Oc(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function R(e,t){return Kc.parse(e,t)}R.options=R.setOptions=function(e){return Kc.setOptions(e),R.defaults=Kc.defaults,as(R.defaults),R},R.getDefaults=rs,R.defaults=is;function qc(...e){return Kc.use(...e),R.defaults=Kc.defaults,as(R.defaults),R}R.use=qc,R.walkTokens=function(e,t){return Kc.walkTokens(e,t)},R.parseInline=Kc.parseInline,R.Parser=Uc,R.parser=Uc.parse,R.Renderer=Vc,R.TextRenderer=Hc,R.Lexer=L,R.lexer=L.lex,R.Tokenizer=Bc,R.Hooks=Wc,R.parse=R,R.options,R.setOptions,R.walkTokens,R.parseInline,Uc.parse,L.lex;function Jc(e,t){return(t?e.replace(/^---\r?\n[\s\S]*?\r?\n---[ \t]*(\r?\n|$)/,``):e).replace(/^[ \t]*<!--[\s\S]*?-->[ \t]*\r?\n?/gm,``).replace(/<!--[\s\S]*?-->/g,``)}async function Yc(e,t,n){if(!t)return navigator.clipboard.writeText(e);let r=Jc(e,n),i=await R.parse(r,{gfm:!0});await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([i],{type:`text/html`}),"text/plain":new Blob([r],{type:`text/plain`})})])}var Xc={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},Zc=([e,t,n])=>{let r=document.createElementNS(`http://www.w3.org/2000/svg`,e);return Object.keys(t).forEach(e=>{r.setAttribute(e,String(t[e]))}),n?.length&&n.forEach(e=>{let t=Zc(e);r.appendChild(t)}),r},Qc=(e,t={})=>Zc([`svg`,{...Xc,...t},e]),$c=[[`path`,{d:`M12 5v14`}],[`path`,{d:`m19 12-7 7-7-7`}]],el=[[`path`,{d:`m5 12 7-7 7 7`}],[`path`,{d:`M12 19V5`}]],tl=[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`}]],nl=[[`path`,{d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1`}],[`path`,{d:`M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`}]],rl=[[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`}],[`path`,{d:`M22 9v7`}],[`path`,{d:`M3.304 13h6.392`}],[`circle`,{cx:`18.5`,cy:`12.5`,r:`3.5`}]],il=[[`path`,{d:`M20 6 9 17l-5-5`}]],al=[[`path`,{d:`m9 18 6-6-6-6`}]],ol=[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]],sl=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M15 3v18`}]],cl=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],ll=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`19`,cy:`12`,r:`1`}],[`circle`,{cx:`5`,cy:`12`,r:`1`}]],ul=[[`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`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`}],[`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`}],[`path`,{d:`m2 2 20 20`}]],dl=[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`}]],fl=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`}],[`path`,{d:`M2 12h20`}]],pl=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`m17 12 3-2v8`}]],ml=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`}]],hl=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`}]],gl=[[`path`,{d:`M12 18V6`}],[`path`,{d:`M17 10v3a1 1 0 0 0 1 1h3`}],[`path`,{d:`M21 10v8`}],[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}]],_l=[[`path`,{d:`M6 12h12`}],[`path`,{d:`M6 20V4`}],[`path`,{d:`M18 20V4`}]],vl=[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`}]],yl=[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`}]],bl=[[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`m3 17 2 2 4-4`}],[`path`,{d:`m3 7 2 2 4-4`}]],xl=[[`path`,{d:`M11 5h10`}],[`path`,{d:`M11 12h10`}],[`path`,{d:`M11 19h10`}],[`path`,{d:`M4 4h1v5`}],[`path`,{d:`M4 9h2`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`}]],Sl=[[`path`,{d:`M13 5h8`}],[`path`,{d:`M13 12h8`}],[`path`,{d:`M13 19h8`}],[`path`,{d:`m3 17 2 2 4-4`}],[`rect`,{x:`3`,y:`4`,width:`6`,height:`6`,rx:`1`}]],Cl=[[`path`,{d:`M3 5h.01`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M3 19h.01`}],[`path`,{d:`M8 5h13`}],[`path`,{d:`M8 12h13`}],[`path`,{d:`M8 19h13`}]],wl=[[`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`}],[`path`,{d:`M12 8v6`}],[`path`,{d:`M9 11h6`}]],Tl=[[`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`}]],El=[[`path`,{d:`M5 12h14`}]],Dl=[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`}],[`path`,{d:`M12 12V8`}]],Ol=[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}],[`path`,{d:`m15 5 4 4`}]],kl=[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`}]],Al=[[`path`,{d:`M17 3v10`}],[`path`,{d:`m12.67 5.5 8.66 5`}],[`path`,{d:`m12.67 10.5 8.66-5`}],[`path`,{d:`M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z`}]],jl=[[`path`,{d:`M4 7V4h16v3`}],[`path`,{d:`M5 20h6`}],[`path`,{d:`M13 4 8 20`}],[`path`,{d:`m15 15 5 5`}],[`path`,{d:`m20 15-5 5`}]],Ml=[[`path`,{d:`M14 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M14 4a1 1 0 0 1 1-1`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`}],[`path`,{d:`M19 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`}],[`path`,{d:`m3 7 3 3 3-3`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}]],Nl=[[`path`,{d:`M14 4a1 1 0 0 1 1-1`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`}],[`path`,{d:`m3 7 3 3 3-3`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`}]],Pl=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 9H3`}],[`path`,{d:`M21 15H3`}]],Fl=[[`path`,{d:`m10 9-3 3 3 3`}],[`path`,{d:`m14 15 3-3-3-3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}]],Il=[[`path`,{d:`M5 3a2 2 0 0 0-2 2`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`}],[`path`,{d:`M9 3h1`}],[`path`,{d:`M9 21h1`}],[`path`,{d:`M14 3h1`}],[`path`,{d:`M14 21h1`}],[`path`,{d:`M3 9v1`}],[`path`,{d:`M21 9v1`}],[`path`,{d:`M3 14v1`}],[`path`,{d:`M21 14v1`}]],Ll=[[`path`,{d:`M16 4H9a3 3 0 0 0-2.83 4`}],[`path`,{d:`M14 12a4 4 0 0 1 0 8H6`}],[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`}]],Rl=[[`path`,{d:`M12 3v18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M3 15h18`}]],zl=[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],Bl=[[`path`,{d:`M12 19h8`}],[`path`,{d:`m4 17 6-6-6-6`}]],Vl=[[`path`,{d:`m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71`}],[`path`,{d:`m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71`}],[`line`,{x1:`8`,x2:`8`,y1:`2`,y2:`5`}],[`line`,{x1:`2`,x2:`5`,y1:`8`,y2:`8`}],[`line`,{x1:`16`,x2:`16`,y1:`19`,y2:`22`}],[`line`,{x1:`19`,x2:`22`,y1:`16`,y2:`16`}]],Hl=[[`circle`,{cx:`7`,cy:`12`,r:`3`}],[`path`,{d:`M10 9v6`}],[`circle`,{cx:`17`,cy:`12`,r:`3`}],[`path`,{d:`M14 7v8`}],[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`}]],Ul=[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`}]],Wl=[[`path`,{d:`M18 6 6 18`}],[`path`,{d:`m6 6 12 12`}]],Gl=ze.define({combine:e=>e[0]??null}),Kl=/^(\s*)<!-- (comment|reply) by /,ql=/^\s*<!-- (comment|reply) by (.+?), (\d{4}-\d{2}-\d{2})(?:, on "((?:[^"\\]|\\.)*)")?:\s?([\s\S]*)$/,Jl=e=>e.replace(/\\(["\\])/g,`$1`),Yl=e=>e.replace(/(["\\])/g,`\\$1`),Xl=()=>{let e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`};function Zl(e){let t=[],n=null;for(let r=1;r<=e.lines;r++){let i=e.line(r),a=Kl.exec(i.text);if(!a){i.text.trim()&&(n=null);continue}let o=i;for(;!o.text.includes(`-->`)&&o.number<e.lines;)o=e.line(o.number+1);let s=e.sliceString(i.from,o.to).trimEnd(),c=s.endsWith(`-->`)?ql.exec(s.slice(0,-3)):null;if(r=o.number,!c)continue;let l={kind:c[1],author:c[2],date:c[3],quote:Jl(c[4]??``),text:c[5].trim(),from:i.from,to:o.to};if(l.kind===`reply`&&n){n.entries.push(l),n.to=o.to;continue}let u=null;for(let t=i.number-1;t>=1;t--){let n=e.line(t);if(!(!n.text.trim()||Kl.test(n.text)||n.text.includes(`-->`))){u={from:n.from,to:n.to};break}}n={from:i.from,to:o.to,indent:a[1],entries:[l],anchor:u},t.push(n)}return t}var Ql=(e,t)=>`${t}<!-- ${e.kind} by ${e.author}, ${e.date}${e.kind===`comment`&&e.quote?`, on "${Yl(e.quote)}"`:``}: ${e.text.replace(/-->/g,`-- >`)} -->`;function $l(e,n){let r=e.doc,i=r.lineAt(n),a=i.to;for(let o=t(e).resolveInner(n,-1);o;o=o.parent)if(o.name===`Table`||o.name===`Paragraph`||/Heading/.test(o.name)){a=r.lineAt(o.to).to,i=r.lineAt(o.from);break}let o=r.lineAt(a).number+1;for(;o<=r.lines&&Kl.test(r.line(o).text);){let e=r.line(o);for(;!e.text.includes(`-->`)&&e.number<r.lines;)e=r.line(e.number+1);a=e.to,o=e.number+1}let s=/^(\s*)([-*+]|\d+[.)])\s+/.exec(i.text),c=s?` `.repeat(s[0].length):/^\s*/.exec(i.text)?.[0]??``;return{at:a,indent:c}}function eu(e){let t=e.state.facet(Gl);if(!t)return;let{from:n,to:r}=e.state.selection.main,i=e.state.sliceDoc(n,r).replace(/\s+/g,` `).trim();i.length>80&&(i=i.slice(0,77)+`…`);let{at:a,indent:o}=$l(e.state,r);e.dispatch({changes:{from:a,insert:`
|
|
76
|
+
`+Ql({kind:`comment`,author:t,date:Xl(),quote:i,text:``},o)},selection:{anchor:n}})}var tu=(e,t)=>{let n=e.state.doc.lineAt(t);return Zl(e.state.doc).find(e=>e.from===n.from)??null};function nu(e,t){let n=Math.max(0,t.from-1);e.dispatch({changes:{from:n,to:t.to}})}var ru=class extends f{entries;author;translate;constructor(e,t,n){super(),this.entries=e,this.author=t,this.translate=n}eq(e){return e.author===this.author&&JSON.stringify(e.entries.map(({from:e,to:t,...n})=>n))===JSON.stringify(this.entries.map(({from:e,to:t,...n})=>n))}toDOM(e){let t=this.translate,n=document.createElement(`div`);n.className=`cm-comment-thread`;let r=()=>tu(e,e.posAtDOM(n));for(let e of this.entries){if(!e.text)continue;let t=document.createElement(`div`);t.className=`cm-comment cm-comment-${e.kind}`;let r=document.createElement(`div`);r.className=`cm-comment-head`;let i=document.createElement(`b`);i.textContent=e.author;let a=document.createElement(`span`);if(a.textContent=e.date,r.append(i,a),t.append(r),e.quote){let n=document.createElement(`div`);n.className=`cm-comment-quote`,n.textContent=e.quote,t.append(n)}let o=document.createElement(`div`);o.className=`cm-comment-text`,o.textContent=e.text,t.append(o),n.append(t)}let i=this.entries.length===1&&!this.entries[0].text,a=(e,t,n,r=``)=>{let i=document.createElement(`button`);return i.textContent=t,r&&(i.className=r),i.addEventListener(`mousedown`,e=>e.preventDefault()),i.addEventListener(`click`,n),e.append(i),i},o=(e,n,r)=>{let i=document.createElement(`div`);i.className=`cm-comment-editor`;let o=document.createElement(`textarea`);o.placeholder=e,o.rows=2,o.addEventListener(`keydown`,e=>{e.key===`Enter`&&(e.ctrlKey||e.metaKey)&&n(o.value.trim()),e.key===`Escape`&&r()});let s=document.createElement(`div`);return s.className=`cm-comment-actions`,a(s,t(`comment.cancel`),r),a(s,t(`comment.save`),()=>n(o.value.trim()),`primary`),i.append(o,s),setTimeout(()=>o.focus()),i};if(i)return n.classList.add(`editing`),n.append(o(t(`comment.placeholder`),t=>{let n=r();if(!n)return;if(!t)return nu(e,n);let i=n.entries[0];e.dispatch({changes:{from:i.from,to:i.to,insert:Ql({...i,text:t},n.indent)}})},()=>{let t=r();t&&nu(e,t)})),n;if(this.author){let i=document.createElement(`div`);i.className=`cm-comment-actions`,a(i,t(`comment.reply`),()=>{i.replaceWith(o(t(`comment.replyPlaceholder`),t=>{let n=r();n&&t&&e.dispatch({changes:{from:n.to,insert:`
|
|
77
|
+
`+Ql({kind:`reply`,author:this.author,date:Xl(),quote:``,text:t},n.indent)}})},()=>e.dispatch({})))}),a(i,t(`comment.resolve`),()=>{let t=r();t&&nu(e,t)}),n.append(i)}return n}ignoreEvent(){return!0}},iu=/^\s*<!--\s*choose:\s*one\s*-->\s*$/;function au(e,n){let r=t(e).resolveInner(n,1);for(;r&&r.name!==`BulletList`&&r.name!==`OrderedList`;)r=r.parent;if(!r)return null;for(let t=e.doc.lineAt(r.from).number-1;t>=1;t--){let n=e.doc.line(t).text;if(n.trim())return iu.test(n)?r:null}return null}var ou=e=>iu.test(e);function su(e,t){let n=e.state;if(!/^\[[ xX]\]$/.test(n.sliceDoc(t,t+3)))return!1;let r=n.sliceDoc(t+1,t+2)!==` `,i=[{from:t+1,to:t+2,insert:r?` `:`x`}],a=r?null:au(n,t);if(a)for(let e=a.firstChild;e;e=e.nextSibling){let r=e.getChild(`Task`)?.getChild(`TaskMarker`);r&&r.from!==t&&n.sliceDoc(r.from+1,r.from+2)!==` `&&i.push({from:r.from+1,to:r.from+2,insert:` `})}return e.dispatch({changes:i}),!0}function cu(e,n){for(let r of[1,-1])for(let i=t(e).resolveInner(n,r);i;i=i.parent){if(i.name!==`Link`)continue;let t=i.getChildren(`LinkMark`);if(t.length<2)return null;let n=i.getChild(`URL`);return{from:i.from,to:i.to,textFrom:t[0].to,textTo:t[1].from,url:n&&{from:n.from,to:n.to,value:e.sliceDoc(n.from,n.to).replace(/^<|>$/g,``)}}}return null}function lu(e,t){if(/^[a-z][\w+.-]*:/i.test(e)||e.startsWith(`#`))return null;let n=e.startsWith(`/`)?[]:t.split(`/`).slice(0,-1),r=e.split(`#`)[0];try{r=decodeURI(r)}catch{}for(let e of r.split(`/`))e===`..`?n.pop():e&&e!==`.`&&n.push(e);return n.join(`/`)}function uu(e,t){let n=lu(t,e.state.facet(gd));if(n===null)return void(/^(https?|mailto):/i.test(t)&&window.open(t,`_blank`,`noopener,noreferrer`));let r=e.state.facet(_d);r&&/\.md$/i.test(n)&&r(n)}function z(e,t,n){let r=document.createElement(`button`);return r.title=t,r.append(Qc(e,{width:13,height:13})),r.addEventListener(`mousedown`,e=>{e.preventDefault(),n()}),r}var du=xe.define(),fu=ye.define({create:()=>null,update(e,t){for(let e of t.effects)if(e.is(du))return e.value;return t.docChanged||t.selection?null:e},provide:e=>Le.compute([e],t=>t.field(e)===null?null:pu(t,t.field(e)))});function pu(e,t){let n=cu(e,t+1);return n?{pos:n.textFrom,above:!1,create:e=>{let r=e.state.facet(vd),i=document.createElement(`form`);i.className=`cm-link-edit`;let a=(e,t)=>{let n=document.createElement(`label`),r=document.createElement(`input`);return r.value=t,r.spellcheck=!1,n.append(e,r),i.append(n),r},o=a(r(`link.text`),e.state.sliceDoc(n.textFrom,n.textTo)),s=a(r(`link.url`),n.url?.value??``),c=()=>{e.dispatch({effects:du.of(null)}),e.focus()},l=()=>{let n=cu(e.state,t+1);if(!n)return c();let r=/\s/.test(s.value.trim())?`<${s.value.trim()}>`:s.value.trim(),i=[{from:n.textFrom,to:n.textTo,insert:o.value}];n.url&&i.push({from:n.url.from,to:n.url.to,insert:r}),e.dispatch({changes:i,effects:du.of(null),selection:{anchor:n.textFrom+o.value.length}}),e.focus()},u=()=>{let n=cu(e.state,t+1);n&&e.dispatch({changes:{from:n.from,to:n.to,insert:e.state.sliceDoc(n.textFrom,n.textTo)},effects:du.of(null)}),e.focus()},d=document.createElement(`div`);return d.className=`cm-link-actions`,d.append(z(Vl,r(`link.remove`),u),z(il,r(`link.save`),l)),i.append(d),i.addEventListener(`submit`,e=>{e.preventDefault(),l()}),i.addEventListener(`keydown`,e=>{e.key===`Escape`?(e.preventDefault(),c()):e.key===`Enter`&&(e.preventDefault(),l())}),{dom:i,mount:()=>{o.focus(),o.select()}}}}:null}var mu=[fu,re((e,t)=>{let n=cu(e.state,t);return!n||t<n.textFrom||t>n.textTo||e.state.field(fu)!==null?null:{pos:n.textFrom,end:n.textTo,above:!0,create:()=>{let t=e.state.facet(vd),r=document.createElement(`div`);if(r.className=`cm-link-hover`,n.url){let e=document.createElement(`span`);e.className=`cm-link-url`,e.textContent=n.url.value,e.title=n.url.value,r.append(e)}if(r.append(z(Ol,t(`link.edit`),()=>e.dispatch({effects:du.of(n.from)}))),n.url){let e=z(cl,t(`link.copy`),()=>{navigator.clipboard?.writeText(n.url.value).then(()=>e.replaceChildren(Qc(il,{width:13,height:13})))});r.append(e)}return{dom:r}}}},{hoverTime:350}),S.domEventHandlers({click(e,t){if(e.button!==0||e.shiftKey||e.altKey||!t.state.selection.main.empty)return!1;let n=e.target.closest(`.cm-link-text`);if(!n||!t.contentDOM.contains(n))return!1;let r=cu(t.state,t.posAtDOM(n));return r?.url?(uu(t,r.url.value),!0):!1}})];function hu(e){let t=e.trim();t.startsWith(`|`)&&(t=t.slice(1)),t.endsWith(`|`)&&!t.endsWith(`\\|`)&&(t=t.slice(0,-1));let n=[],r=``;for(let e=0;e<t.length;e++)t[e]===`\\`&&t[e+1]===`|`?(r+=`\\|`,e++):t[e]===`|`?(n.push(r.trim()),r=``):r+=t[e];return n.push(r.trim()),n}function gu(e){let t=e.split(`
|
|
78
|
+
`).filter(e=>e.trim()),n=hu(t[0]??``),r=hu(t[1]??``).map(e=>{let t=e.startsWith(`:`),n=e.endsWith(`:`);return t&&n?`center`:n?`right`:t?`left`:``}),i=t.slice(2).map(hu),a=Math.max(n.length,...i.map(e=>e.length)),o=e=>[...e,...Array(a-e.length).fill(``)].slice(0,a);return{header:o(n),align:o(r),rows:i.map(o)}}function _u({header:e,align:t,rows:n}){let r=e=>e.replace(/\n/g,` `).replace(/(?<!\\)\|/g,`\\|`),i=[e,...n].map(e=>e.map(r)),a=e.map((e,t)=>Math.max(3,...i.map(e=>[...e[t]??``].length))),o=e=>`| `+e.map((e,t)=>e+` `.repeat(a[t]-[...e].length)).join(` | `)+` |`,s=`| `+a.map((e,n)=>{let r=t[n]??``,i=`-`.repeat(Math.max(1,e-(r===`center`?2:+!!r)));return r===`center`?`:${i}:`:r===`right`?`${i}:`:r===`left`?`:${i}`:i}).join(` | `)+` |`;return[o(i[0]),s,...i.slice(1).map(o)].join(`
|
|
79
|
+
`)}function vu(e,n){for(let r of[1,-1]){let i=t(e).resolve(n,r);for(;i&&i.name!==`Table`;)i=i.parent;if(i)return{from:i.from,to:i.to}}return null}var yu=`modulepreload`,bu=function(e){return`/`+e},xu={},Su=function(e){return e.pathname.endsWith(`.css`)},Cu=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},B=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=bu(t,n);let r=s(t),i=Su(r);return Cu(xu,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:yu,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},wu=e=>e;function Tu(e){wu=e}var Eu=xe.define();function Du(e,t){let n=e.posAtDOM(t);e.dispatch({effects:Eu.of(n),selection:{anchor:Math.min(n+3,e.state.doc.length)}}),e.focus()}var Ou=new WeakMap;function ku(e,t,n){let r=new ResizeObserver(n);r.observe(t),Ou.set(e,[...Ou.get(e)??[],r])}function Au(e){for(let t of Ou.get(e)??[])t.disconnect();Ou.delete(e)}function ju(e){e.viewState.mustMeasureContent=!0,e.requestMeasure()}function Mu(e,t){let n=document.createElement(`div`);return n.className=`cm-block-outer`,n.append(t),ku(n,n,()=>ju(e)),n}function Nu(e,t){t.addEventListener(`mousedown`,n=>{if(n.button!==0)return;n.preventDefault();let r=e.posAtDOM(t);e.dispatch({effects:Eu.of(r),selection:{anchor:r}}),e.focus()})}function Pu(e,t){let n=document.createElement(`button`);return n.className=`cm-widget-edit`,n.title=`Edit source`,n.textContent=`</>`,n.addEventListener(`mousedown`,n=>{n.preventDefault(),Du(e,t)}),n}var Fu=0,Iu=null,Lu=null,Ru=new Map,zu=new Map;function Bu(e){return(!Iu||Lu!==e)&&(Lu=e,Iu=B(()=>import(`./mermaid.core-CXUI3iYT.js`).then(t=>{let n=getComputedStyle(document.documentElement),r=e=>n.getPropertyValue(e).trim();return t.default.initialize({startOnLoad:!1,securityLevel:`strict`,theme:`base`,fontFamily:`Inter, system-ui, sans-serif`,themeVariables:{darkMode:e===`dark`,fontSize:`15px`,background:r(`--panel`),primaryColor:r(`--panel-2`),primaryTextColor:r(`--text`),primaryBorderColor:r(`--accent`),secondaryColor:r(`--panel-2`),tertiaryColor:r(`--panel`),lineColor:r(`--muted`),textColor:r(`--text`),edgeLabelBackground:r(`--panel`),actorBkg:r(`--panel-2`),actorBorder:r(`--accent`),actorTextColor:r(`--text`),signalColor:r(`--muted`),signalTextColor:r(`--text`),noteBkgColor:r(`--panel-2`),noteTextColor:r(`--text`)}}),t.default}),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]))),Iu}var Vu=class extends f{code;theme;constructor(e,t){super(),this.code=e,this.theme=t}eq(e){return e.code===this.code&&e.theme===this.theme}toDOM(e){let t=document.createElement(`div`);t.className=`cm-block-widget cm-mermaid`;let n=document.createElement(`div`);t.append(Pu(e,t),n),t.addEventListener(`dblclick`,()=>Du(e,t));let r=`${this.theme}\n${this.code}`,i=Ru.get(r);if(i)n.innerHTML=i;else{let e=zu.get(this.code);e?n.innerHTML=e:n.textContent=`…`,Bu(this.theme).then(e=>e.render(`markode-mermaid-${++Fu}`,this.code)).then(({svg:e})=>{Ru.set(r,e),zu.set(this.code,e),n.innerHTML=e}).catch(e=>{n.className=`cm-widget-error`,n.textContent=String(e?.message??e)})}return Mu(e,t)}destroy(e){Au(e)}ignoreEvent(){return!0}},Hu=null,Uu=null;function Wu(){return Uu??=Promise.all([B(()=>import(`./katex-DMqEsVPU.js`),[]),B(()=>Promise.resolve({}),__vite__mapDeps([19]))]).then(([e])=>Hu=e.default),Uu}var Gu=class extends f{tex;display;constructor(e,t){super(),this.tex=e,this.display=t}eq(e){return e.tex===this.tex&&e.display===this.display}toDOM(e){let t=document.createElement(this.display?`div`:`span`);t.className=this.display?`cm-math-display`:`cm-math-inline`;let n=e=>e.render(this.tex,t,{displayMode:this.display,throwOnError:!1});if(Hu?n(Hu):(t.textContent=this.tex,Wu().then(t=>(n(t),this.display||ju(e)))),!this.display)return Nu(e,t),t;let r=document.createElement(`div`);return r.className=`cm-block-widget cm-math`,r.append(Pu(e,r),t),r.addEventListener(`dblclick`,()=>Du(e,r)),Mu(e,r)}destroy(e){Au(e)}ignoreEvent(){return!0}};function Ku(e,t){if(/^([a-z][a-z\d+.-]*:|\/\/)/i.test(e))return e;let n=t.split(`/`).slice(0,-1).join(`/`),r=decodeURIComponent(new URL(e,`http://project/${n?n+`/`:``}`).pathname.slice(1));return`/api/asset?path=${encodeURIComponent(r)}`}var qu=class extends f{url;alt;title;constructor(e,t,n){super(),this.url=e,this.alt=t,this.title=n}eq(e){return e.url===this.url&&e.alt===this.alt&&e.title===this.title}toDOM(e){let t=document.createElement(`span`);t.className=`cm-image-wrap`;let n=document.createElement(`img`);return n.className=`cm-image`,n.src=this.url,n.alt=this.alt,n.title=this.title||this.alt,n.addEventListener(`load`,()=>ju(e)),n.addEventListener(`error`,()=>{t.className=`cm-image-wrap cm-image-broken`,t.title=this.url,t.textContent=`⚠ ${this.alt||this.url}`,ju(e)}),t.append(n),Nu(e,t),t}ignoreEvent(){return!0}},Ju=class extends f{label;note;constructor(e,t){super(),this.label=e,this.note=t}eq(e){return e.label===this.label&&e.note===this.note}toDOM(e){let t=document.createElement(`sup`);return t.className=`cm-footnote-ref`,t.textContent=this.label,this.note&&(t.title=this.note),Nu(e,t),t}ignoreEvent(){return!0}},Yu=class extends f{label;constructor(e){super(),this.label=e}eq(e){return e.label===this.label}toDOM(){let e=document.createElement(`span`);return e.className=`cm-footnote-label`,e.textContent=this.label,e}};function Xu(e){let t=e.split(`
|
|
80
|
+
`).filter(e=>e.trim()&&!/^\s*\d+ director(y|ies)/.test(e)).map(e=>{let t=e.match(/^[\s│├└─|`\-+]*/)[0],[n,...r]=e.slice(t.length).split(/\s{2,}#\s?/);return{width:[...t].length,label:n.trim(),note:r.join(` # `).trim()}}),n=[...new Set(t.map(e=>e.width))].sort((e,t)=>e-t),r=[],i=[];for(let e of t){let t=n.indexOf(e.width),a={label:e.label,note:e.note,children:[]};for(;i.length&&i[i.length-1].depth>=t;)i.pop();(i.length?i[i.length-1].item.children:r).push(a),i.push({depth:t,item:a})}return r}function Zu(e){let t=document.createElement(`ul`);for(let n of e){let e=document.createElement(`li`),r=n.children.length>0||n.label.endsWith(`/`),i=document.createElement(`span`);i.className=`cm-tree-row`,i.innerHTML=`<span class="cm-tree-icon">${r?`▾`:`•`}</span>`;let a=document.createElement(`span`);if(a.className=r?`cm-tree-dir`:`cm-tree-file`,a.textContent=n.label,i.append(a),n.note){let e=document.createElement(`span`);e.className=`cm-tree-note`,e.textContent=n.note,i.append(e)}if(e.append(i),n.children.length){let t=Zu(n.children);e.append(t),i.classList.add(`cm-tree-toggle`),i.addEventListener(`click`,()=>{let t=e.classList.toggle(`collapsed`);i.querySelector(`.cm-tree-icon`).textContent=t?`▸`:`▾`})}t.append(e)}return t}var Qu=class extends f{code;constructor(e){super(),this.code=e}eq(e){return e.code===this.code}toDOM(e){let t=document.createElement(`div`);return t.className=`cm-block-widget cm-tree`,t.append(Pu(e,t),Zu(Xu(this.code))),Mu(e,t)}destroy(e){Au(e)}ignoreEvent(){return!0}},$u=null;function ed(e,t,n){$u?.();let r=document.createElement(`div`);r.className=`cm-slash-menu cm-context-menu`;for(let e of n){let t=document.createElement(`div`);t.className=`cm-slash-item`,t.textContent=e.label,t.addEventListener(`mousedown`,t=>{t.preventDefault(),$u?.(),e.run()}),r.append(t)}document.body.append(r);let{width:i,height:a}=r.getBoundingClientRect();r.style.left=`${Math.min(e,innerWidth-i-8)}px`,r.style.top=`${Math.min(t,innerHeight-a-8)}px`;let o=e=>!r.contains(e.target)&&$u?.(),s=e=>e.key===`Escape`&&$u?.(),c=()=>$u?.();$u=()=>{r.remove(),removeEventListener(`mousedown`,o,!0),removeEventListener(`keydown`,s,!0),removeEventListener(`scroll`,c,!0),removeEventListener(`blur`,c),$u=null},addEventListener(`mousedown`,o,!0),addEventListener(`keydown`,s,!0),addEventListener(`scroll`,c,!0),addEventListener(`blur`,c)}function td(e,t){e.header.splice(t,0,`col ${e.header.length+1}`),e.align.splice(t,0,``),e.rows.forEach(e=>e.splice(t,0,``))}var nd=`markode.tableWidths`,rd=e=>e.join(`|`);function id(e){try{let t=JSON.parse(localStorage.getItem(nd)??`{}`)[rd(e)];return Array.isArray(t)&&t.length===e.length?H(t):null}catch{return null}}function V(e,t){try{let n=JSON.parse(localStorage.getItem(nd)??`{}`);t?n[rd(e)]=t:delete n[rd(e)],localStorage.setItem(nd,JSON.stringify(n))}catch{}}var H=e=>{let t=e.reduce((e,t)=>e+t,0);return e.map(e=>e/t)},U=28,W=80,G=e=>e.replace(/[&<>"]/g,e=>({"&":`&`,"<":`<`,">":`>`,'"':`"`})[e]);function ad(e){let t=[],n=G(e.replace(/\\\|/g,`|`)).replace(/`([^`]+)`/g,(e,n)=>`\u0000${t.push(n)-1}\u0000`);return n=n.replace(/\*\*([^*]+)\*\*/g,`<strong>$1</strong>`).replace(/(^|[^*])\*([^*]+)\*/g,`$1<em>$2</em>`).replace(/~~([^~]+)~~/g,`<s>$1</s>`).replace(/\[([^\]]+)\]\(([^)]+)\)/g,`<span class="cm-link-text">$1</span>`),n.replace(/\u0000(\d+)\u0000/g,(e,n)=>`<code class="cm-inline-code">${t[Number(n)]}</code>`)}var od=class extends f{source;constructor(e){super(),this.source=e}eq(e){return e.source===this.source}toDOM(e){let t=gu(this.source),n=document.createElement(`div`);n.className=`cm-block-widget cm-table-widget`;let r=id(t.header),i=t=>{let i=vu(e.state,e.posAtDOM(n));if(!i)return;r?.length===t.header.length&&V(t.header,r);let a=_u(t);a!==e.state.sliceDoc(i.from,i.to)&&e.dispatch({changes:{...i,insert:a}})},a=()=>{let e=e=>[...e.querySelectorAll(`[data-cell]`)].map(e=>(e.dataset.raw??``).trim()),r=[...n.querySelectorAll(`tr`)];return{header:e(r[0]),align:t.align,rows:r.slice(1).map(e)}},o=document.createElement(`table`),s=(e,n,r)=>{let o=document.createElement(`tr`);if(e.forEach((e,s)=>{let c=document.createElement(n?`th`:`td`);c.dataset.cell=``,c.dataset.raw=e,c.contentEditable=`true`,c.spellcheck=!1,c.innerHTML=ad(e),t.align[s]&&(c.style.textAlign=t.align[s]),c.addEventListener(`focus`,()=>c.textContent=c.dataset.raw??``),c.addEventListener(`input`,()=>c.dataset.raw=c.textContent??``),c.addEventListener(`blur`,()=>{c.innerHTML=ad(c.dataset.raw??``),i(a())}),c.addEventListener(`keydown`,e=>{if(e.key===`Enter`&&!e.shiftKey){e.preventDefault();let t=a();!n&&r===t.rows.length-1&&t.rows.push(t.header.map(()=>``)),i(t)}else e.key===`Escape`&&c.blur()}),c.addEventListener(`contextmenu`,e=>{e.preventDefault();let o=e=>()=>{let t=a();e(t),i(t)},c=e=>e.header.map(()=>``),l=n?[{label:wu(`table.colLeft`),run:o(e=>_(e,s))},{label:wu(`table.colRight`),run:o(e=>_(e,s+1))},...t.header.length>1?[{label:wu(`table.deleteCol`),run:o(e=>g(e,s))}]:[]]:[{label:wu(`table.rowAbove`),run:o(e=>e.rows.splice(r,0,c(e)))},{label:wu(`table.rowBelow`),run:o(e=>e.rows.splice(r+1,0,c(e)))},{label:wu(`table.deleteRow`),run:o(e=>e.rows.splice(r,1))}];ed(e.clientX,e.clientY,l)}),o.append(c)}),n)o.append(document.createElement(`th`));else{let e=document.createElement(`td`);e.className=`cm-table-del`,e.textContent=`×`,e.title=`Delete row`,e.addEventListener(`mousedown`,e=>{e.preventDefault();let t=a();t.rows.splice(r,1),i(t)}),o.append(e)}return o},c=t.header.map(()=>document.createElement(`col`)),l=document.createElement(`col`);l.style.width=`${U}px`;let u=document.createElement(`colgroup`);u.append(...c,l),o.append(u,s(t.header,!0,-1),...t.rows.map((e,t)=>s(e,!1,t)));let d=()=>Math.max(1,n.clientWidth-U),f=()=>Math.max(d(),c.length*W),p=t.header.slice(1).map((e,t)=>{let n=document.createElement(`div`);return n.className=`cm-col-resize`,n.addEventListener(`mousedown`,e=>{e.preventDefault(),r||=H([...o.rows[0].cells].slice(0,c.length).map(e=>e.offsetWidth));let i=e.clientX,s=r[t]+r[t+1],l=r[t];n.classList.add(`active`);let u=e=>{let n=Math.min(W/f(),s/2);r[t]=Math.min(s-n,Math.max(n,l+(e.clientX-i)/f())),r[t+1]=s-r[t],h()},d=()=>{n.classList.remove(`active`),removeEventListener(`mousemove`,u),removeEventListener(`mouseup`,d),V(a().header,r)};addEventListener(`mousemove`,u),addEventListener(`mouseup`,d)}),n.addEventListener(`dblclick`,()=>{r=null,V(a().header,null),h()}),n}),m=()=>{let e=o.rows[0].cells;p.forEach((t,n)=>{t.style.left=`${o.offsetLeft+e[n].offsetLeft+e[n].offsetWidth-3}px`,t.style.top=`${o.offsetTop}px`,t.style.height=`${o.offsetHeight}px`})},h=()=>{o.classList.toggle(`cm-table-sized`,!!r),c.forEach((e,t)=>e.style.width=r&&t<c.length-1?`${Math.max(W,r[t]*f())}px`:``),o.style.width=r&&f()>d()?`${f()+U}px`:``,m()};h();let g=(e,t)=>{for(let n of[e.header,e.align,...e.rows])n.splice(t,1);r&&=(r.splice(t,1),H(r))},_=(e,t)=>{td(e,t),r&&=(r.splice(t,0,1/r.length),H(r))};n.append(Pu(e,n),o,...p);let v=Mu(e,n);return ku(v,n,h),v}destroy(e){Au(e)}ignoreEvent(){return!0}},sd=class extends f{checked;radio;constructor(e,t=!1){super(),this.checked=e,this.radio=t}eq(e){return e.checked===this.checked&&e.radio===this.radio}toDOM(e){let t=document.createElement(`input`);return t.type=`checkbox`,t.className=`cm-task-box${this.radio?` cm-task-radio`:``}`,t.checked=this.checked,t.addEventListener(`mousedown`,e=>e.preventDefault()),t.addEventListener(`click`,n=>{n.preventDefault(),su(e,e.posAtDOM(t))}),t}ignoreEvent(){return!0}},cd=class extends f{label;constructor(e){super(),this.label=e}eq(e){return e.label===this.label}toDOM(){let e=document.createElement(`span`);return e.className=`cm-choice-label`,e.textContent=this.label,e}},ld=class extends f{lang;constructor(e){super(),this.lang=e}eq(e){return e.lang===this.lang}toDOM(){let e=document.createElement(`span`);return e.className=`cm-code-lang`,e.textContent=this.lang,e}},ud=class extends f{eq(){return!0}toDOM(){let e=document.createElement(`span`);return e.className=`cm-bullet`,e.textContent=`•`,e}},dd=class extends f{eq(){return!0}toDOM(){let e=document.createElement(`span`);return e.className=`cm-hr`,e}};function fd(e){return Qc(e,{width:13,height:13,"stroke-width":1.75})}var pd=class extends f{text;constructor(e){super(),this.text=e}eq(e){return e.text===this.text}toDOM(e){let t=document.createElement(`span`);return t.className=`cm-note`,t.title=`${wu(`comment.note`)}\n\n${this.text}`,t.append(fd(ul)),Nu(e,t),t}},md=class extends f{label;title;lang;constructor(e,t,n){super(),this.label=e,this.title=t,this.lang=n}eq(e){return e.label===this.label&&e.title===this.title}toDOM(e){let t=document.createElement(`span`);return t.className=this.lang?`cm-marker cm-marker-chip`:`cm-marker`,t.title=this.title,t.append(fd(this.lang?fl:zl)),this.lang&&t.append(this.label),Nu(e,t),t}},hd=class extends f{label;title;constructor(e,t){super(),this.label=e,this.title=t}eq(e){return e.label===this.label&&e.title===this.title}toDOM(e){let t=document.createElement(`span`);return t.className=`cm-region-label`,t.textContent=this.label,t.title=this.title,Nu(e,t),t}},gd=ze.define({combine:e=>e[0]??``}),_d=ze.define({combine:e=>e[0]??null}),vd=ze.define({combine:e=>e[0]??(e=>e)}),yd=xe.define(),bd=ye.define({create:()=>document.documentElement.dataset.resolvedTheme===`light`?`light`:`dark`,update:(e,t)=>t.effects.reduce((e,t)=>t.is(yd)?t.value:e,e)}),xd=xe.define(),Sd=xe.define(),Cd=new Set([`FencedCode`,`Table`,`BlockMath`]),wd=new Set([`Image`,`InlineMath`,`FootnoteRef`,`HorizontalRule`,`Comment`,`CommentBlock`]);function Td(e,n){for(let r=t(e).resolveInner(n,1);r;r=r.parent){if(Cd.has(r.name))return{from:e.doc.lineAt(r.from).from,to:e.doc.lineAt(r.to).to};if(wd.has(r.name))return{from:r.from,to:r.to}}let r=e.doc.lineAt(n);return{from:r.from,to:r.to}}var Ed=ye.define({create:()=>({range:null,pressing:!1}),update(e,t){let{range:n,pressing:r}=e;n&&t.docChanged&&(n={from:t.changes.mapPos(n.from,-1),to:t.changes.mapPos(n.to,1)});for(let e of t.effects)e.is(Eu)?n=Td(t.state,e.value):e.is(Sd)?r=e.value:e.is(xd)&&!e.value&&(n=null);let i=t.state.selection.main.head;return n&&!r&&(i<n.from||i>n.to)&&(n=null),n===e.range&&r===e.pressing?e:{range:n,pressing:r}}}),Dd=S.domEventHandlers({mousedown(e,t){return e.button===0&&(t.dispatch({effects:Sd.of(!0)}),addEventListener(`mouseup`,()=>t.dispatch({effects:Sd.of(!1)}),{once:!0})),!1}}),Od=l.replace({}),kd=e=>l.line({class:e}),Ad=e=>l.mark({class:e}),jd=/^\s*<!-- (?:(?:comment|reply) by |choose:)/,Md=/^<!--\s*([\w.-]+(?::[\w.-]+)+)\s*-->$/;function Nd(e){let t=Md.exec(e.trim()),n=t&&/:(start|end)$/.exec(t[1]);return n&&t[1].split(`:`).length>2?{key:t[1].slice(0,n.index),start:n[1]===`start`}:null}var Pd=/^\s*<!--\s*[\w.:-]*:start\s*-->\s*$/,Fd=we.transactionFilter.of(e=>{if(!e.docChanged)return e;let t=e.startState.doc,n=[];return e.changes.iterChangedRanges((r,i,a)=>{let o=t.lineAt(r),s=Nd(e.newDoc.lineAt(a).text);if(!s?.start||!Pd.test(o.text)||Nd(o.text)?.key===s.key)return;let c=0;for(let r=o.number+1;r<=t.lines;r++){let i=t.line(r),a=Nd(i.text);if(a){if(a.start)c++;else if(c--===0){if(a.key===s.key)break;let t=i.from+i.text.indexOf(a.key);n.push({from:e.changes.mapPos(t,1),to:e.changes.mapPos(t+a.key.length,-1),insert:s.key});break}}}}),n.length?[e,{changes:n,sequential:!0}]:e});function Id(e){let n=[],r=new Map,{doc:i}=e,a=e.field(Ed).range,o=(e,t)=>!!a&&a.from<=t&&a.to>=e,s=e=>{let t=i.lineAt(e),n=/^(?:#{1,6}|>|(?:[-*+]|\d+[.)])(?:\s+\[[ xX]\])?)\s*/.exec(t.text.slice(e-t.from));n&&r.set(t.number,{from:e,to:e+n[0].length})},c=e=>{let t=i.lineAt(e);return o(t.from,t.to)},u=(e,t,n)=>{let r=i.lineAt(e).number,a=i.lineAt(t).number;for(let e=r;e<=a;e++)n(i.line(e),e-r,e===a)},d=i.toString(),f=new Map;for(let e of d.matchAll(/^\[\^([^\]\s]+)\]:[ \t]*(.*)$/gm))f.set(e[1],e[2]);let p=new Map;for(let e of d.matchAll(/\[\^([^\]\s]+)\](?!:)/g))p.has(e[1])||p.set(e[1],String(p.size+1));let m=e=>p.get(e)??e,h=e.facet(vd),g=new Map,_=[];for(let e=1;e<=i.lines;e++){let t=Nd(i.line(e).text);if(t?.start)_.push({key:t.key,line:e});else if(t&&_.length){let n=_.map(e=>e.key).lastIndexOf(t.key),[r]=_.splice(n<0?_.length-1:n,1);g.set(r.line,{end:e,key:r.key})}}let v={"markode:rules":`region.rules`,"markode:workflow":`region.workflow`,"markode:proposals":`region.proposals`},y=e=>v[e]?h(v[e]):e.split(`:`).pop();for(let[e,{end:t,key:r}]of g){let a=i.line(e),s=i.line(t),c=!o(s.from,s.to);for(let r=e;r<=t;r++)n.push(kd(`cm-region${r===e?` cm-region-start`:``}${r===t?` cm-region-end${c?` cm-region-closed`:``}`:``}`).range(i.line(r).from));let u=`${i.sliceString(a.from,a.to).trim()}${r.startsWith(`markode:`)?`\n${h(`region.managed`)}`:``}`;o(a.from,a.to)||n.push(l.replace({widget:new hd(y(r),u)}).range(a.from,a.to)),c&&n.push(Od.range(s.from,s.to))}t(e).iterate({enter(t){let r=t.name,a=/^(?:ATX|Setext)Heading(\d)$/.exec(r);if(r===`Frontmatter`)return u(t.from,t.to,(e,t,r)=>{n.push(kd(`cm-fm${t===0?` cm-fm-start`:``}${r?` cm-fm-end`:``}`).range(e.from));let i=/^([\w-]+):/.exec(e.text);i&&n.push(Ad(`cm-fm-key`).range(e.from,e.from+i[1].length))}),!1;if(a){n.push(kd(`cm-h cm-h${a[1]}`).range(i.lineAt(t.from).from));let e=t.node.getChild(`HeaderMark`);e&&r.startsWith(`ATX`)&&!o(t.from,t.to)&&(n.push(Od.range(e.from,Math.min(e.to+1,t.to))),s(e.from))}else switch(r){case`Emphasis`:case`StrongEmphasis`:case`Strikethrough`:if(o(t.from,t.to))return;for(let e of t.node.getChildren(r===`Strikethrough`?`StrikethroughMark`:`EmphasisMark`))n.push(Od.range(e.from,e.to));return;case`InlineCode`:if(n.push(Ad(`cm-inline-code`).range(t.from,t.to)),!o(t.from,t.to))for(let e of t.node.getChildren(`CodeMark`))n.push(Od.range(e.from,e.to));return!1;case`Link`:{let e=t.node.getChildren(`LinkMark`);return e.length<2||o(t.from,t.to)?void 0:(n.push(Od.range(e[0].from,e[0].to)),n.push(Ad(`cm-link-text`).range(e[0].to,e[1].from)),n.push(Od.range(e[1].from,t.to)),t.node.getChild(`Image`)?void 0:!1)}case`Image`:{let r=t.node.getChildren(`LinkMark`),a=t.node.getChild(`URL`);if(r.length<2||!a||o(t.from,t.to))return!1;let s=t.node.getChild(`LinkTitle`),c=Ku(i.sliceString(a.from,a.to).replace(/^<|>$/g,``),e.facet(gd)),u=s?i.sliceString(s.from+1,s.to-1):``;return n.push(l.replace({widget:new qu(c,i.sliceString(r[0].to,r[1].from),u)}).range(t.from,t.to)),!1}case`InlineMath`:return o(t.from,t.to)||n.push(l.replace({widget:new Gu(i.sliceString(t.from+1,t.to-1),!1)}).range(t.from,t.to)),!1;case`BlockMath`:{let e=i.lineAt(t.from).from,r=i.lineAt(t.to).to;if(o(e,r))u(e,r,e=>n.push(kd(`cm-math-src`).range(e.from)));else{let a=i.sliceString(t.from,t.to).replace(/^\s*\$\$/,``).replace(/\$\$\s*$/,``).trim();n.push(l.replace({widget:new Gu(a,!0),block:!0}).range(e,r))}return!1}case`FootnoteRef`:{let e=i.sliceString(t.from+2,t.to-1),r=i.lineAt(t.from).from;return t.from===r&&i.sliceString(t.to,t.to+1)===`:`?(n.push(kd(`cm-footnote-def`).range(r)),c(t.from)||n.push(l.replace({widget:new Yu(m(e))}).range(t.from,t.to+1))):o(t.from,t.to)||n.push(l.replace({widget:new Ju(m(e),f.get(e)??``)}).range(t.from,t.to)),!1}case`ListMark`:{if(n.push(Ad(`cm-list-mark`).range(t.from,t.to)),c(t.from))return;let e=t.node.nextSibling;if(e?.name===`Task`)n.push(Od.range(t.from,Math.min(t.to+1,e.from)));else if(t.node.parent?.parent?.name===`BulletList`)n.push(l.replace({widget:new ud}).range(t.from,t.to));else return;s(t.from);return}case`Task`:{let r=t.node.getChild(`TaskMarker`);if(!r)return;let a=/x/i.test(i.sliceString(r.from,r.to));a&&n.push(kd(`cm-task-done`).range(i.lineAt(t.from).from)),c(t.from)||n.push(l.replace({widget:new sd(a,!!au(e,r.from))}).range(r.from,r.to));return}case`FencedCode`:{let r=t.node.getChild(`CodeInfo`),a=r?i.sliceString(r.from,r.to).trim().toLowerCase():``,s=i.lineAt(t.from).from,c=i.lineAt(t.to).to;if((a===`mermaid`||a===`tree`)&&!o(s,c)){let r=t.node.getChild(`CodeText`),o=r?i.sliceString(r.from,r.to):``;return n.push(l.replace({widget:a===`mermaid`?new Vu(o,e.field(bd)):new Qu(o),block:!0}).range(s,c)),!1}let d=t.node.lastChild,f=d?.name===`CodeMark`&&i.lineAt(d.from).number>i.lineAt(t.from).number,p=!o(s,c);if(u(s,c,(e,t,r)=>{let i=p&&(t===0&&!a||r&&f);n.push(kd(`cm-codeblock${t===0?` cm-codeblock-start`:``}${r?` cm-codeblock-end`:``}${i?` cm-fence-collapsed`:``}`).range(e.from))}),p){let e=i.lineAt(t.from);n.push((a?l.replace({widget:new ld(a)}):Od).range(e.from,e.to)),f&&n.push(Od.range(i.lineAt(t.to).from,i.lineAt(t.to).to))}return!1}case`Table`:{let e=i.lineAt(t.from).from,r=i.lineAt(t.to).to;return o(e,r)?(u(e,r,e=>n.push(kd(`cm-table-src`).range(e.from))),!1):(n.push(l.replace({widget:new od(i.sliceString(e,r)),block:!0}).range(e,r)),!1)}case`Blockquote`:u(t.from,t.to,e=>n.push(kd(`cm-quote`).range(e.from)));return;case`QuoteMark`:if(c(t.from))return;n.push(Od.range(t.from,i.sliceString(t.to,t.to+1)===` `?t.to+1:t.to)),s(t.from);return;case`Comment`:case`CommentBlock`:{let e=i.sliceString(t.from,t.to);if(jd.test(e)||Nd(e)||o(t.from,t.to))return!1;let r=Md.exec(e.trim()),a=r?.[1].split(`:`)??[],s;if(r&&a[0]===`markode`&&a[1]===`source-lang`){let e=a[2]??``;s=new md(pr[e]??e,h(`marker.sourceLang`),!0)}else s=r?new md(r[1],r[1],!1):new pd(e.replace(/^\s*<!--\s?|\s?-->\s*$/g,``).trim());return n.push(l.replace({widget:s}).range(t.from,t.to)),!1}case`HorizontalRule`:c(t.from)||n.push(l.replace({widget:new dd}).range(t.from,t.to));return}}});let b=e.facet(Gl);for(let t of Zl(i)){if(t.anchor){let e=t.entries[0].quote.replace(/…$/,``),r=i.sliceString(t.anchor.from,t.anchor.to),a=e?r.indexOf(e):-1;a>=0?n.push(Ad(`cm-comment-anchor`).range(t.anchor.from+a,t.anchor.from+a+e.length)):n.push(kd(`cm-comment-anchor-line`).range(t.anchor.from))}o(t.from,t.to)||n.push(l.replace({widget:new ru(t.entries,b,e.facet(vd)),block:!0}).range(t.from,t.to))}for(let t=1;t<=i.lines;t++){let r=i.line(t);ou(r.text)&&!o(r.from,r.to)&&n.push(l.replace({widget:new cd(e.facet(vd)(`choice.one`))}).range(r.from,r.to))}return{deco:l.set(n,!0),atomic:l.set(n.filter(e=>e.value===Od||e.value.spec.widget),!0),prefixes:r}}var Ld=ye.define({create:Id,update(e,n){return n.docChanged||n.startState.field(Ed,!1)?.range!==n.state.field(Ed).range||n.startState.field(bd,!1)!==n.state.field(bd)||t(n.startState)!==t(n.state)?Id(n.state):e},provide:e=>[S.decorations.from(e,e=>e.deco),S.atomicRanges.of(t=>t.state.field(e).atomic)]}),Rd=[bd,Ed,Ld,we.transactionFilter.of(e=>{if(!e.selection)return e;let t=e.selection.main;if(!t.empty)return e;let n=e.state,r=n.doc.lineAt(t.head),i=n.field(Ld).prefixes.get(r.number);if(!i||t.head<i.from||t.head>=i.to)return e;let a=e.startState.selection.main.head;return[e,{selection:{anchor:!e.docChanged&&!e.isUserEvent(`select.pointer`)&&a===i.to&&r.number>1?r.from-1:i.to},sequential:!0}]}),Dd,mu,S.focusChangeEffect.of((e,t)=>xd.of(t))],zd=9999,Bd=new WeakSet;function Vd(e,t){if(!t.valid)return{total:0,current:0};let{from:n,to:r}=e.selection.main,i=0,a=0,o=t.getCursor(e);for(let e=o.next();!e.done&&(i++,e.value.from===n&&e.value.to===r&&(a=i),!(i>zd));e=o.next());return{total:i,current:a}}var Hd=e=>Qc(e,{width:15,height:15,"stroke-width":2});function Ud(e){let t=(t,n)=>e.state.facet(vd)(t,n),n=Mo(e.state),r=document.createElement(`div`);r.className=`cm-find`;let i=(e,n,r,i=`cm-find-btn`)=>{let a=document.createElement(`button`);return a.type=`button`,a.className=i,a.title=t(n),a.setAttribute(`aria-label`,t(n)),a.append(Hd(e)),a.addEventListener(`mousedown`,e=>e.preventDefault()),a.addEventListener(`click`,r),a},a=(e,n,r)=>{let i=document.createElement(`input`);return i.className=`cm-find-input`,i.placeholder=t(e),i.setAttribute(`aria-label`,t(e)),i.value=n,i.spellcheck=!1,r&&i.setAttribute(`main-field`,`true`),i.addEventListener(`input`,ee),i},o=a(`search.find`,n.search,!0),s=a(`search.replace`,n.replace,!1),c=(e,t,r)=>{let a=i(e,t,()=>{a.classList.toggle(`on`),a.setAttribute(`aria-pressed`,String(a.classList.contains(`on`))),ee()},`cm-find-toggle`);return n[r]&&a.classList.add(`on`),a.setAttribute(`aria-pressed`,String(n[r])),a},l=c(rl,`search.matchCase`,`caseSensitive`),u=c(Hl,`search.wholeWord`,`wholeWord`),d=c(Al,`search.regexp`,`regexp`),f=document.createElement(`span`);f.className=`cm-find-count`;let p=t=>()=>{t(e)},m=i(al,`search.toggleReplace`,()=>b(!r.classList.contains(`replacing`)),`cm-find-expand`),h=document.createElement(`div`);h.className=`cm-find-box`,h.append(o,l,u,d);let g=document.createElement(`div`);g.className=`cm-find-row`,g.append(h,f,i(el,`search.previous`,p(zo)),i($c,`search.next`,p(Ro)),i(Wl,`search.close`,p(F)));let _=document.createElement(`div`);_.className=`cm-find-box`,_.append(s);let v=document.createElement(`div`);v.className=`cm-find-row cm-replace-row`,v.append(_,i(Nl,`search.replaceOne`,p(Ho)),i(Ml,`search.replaceAll`,p(Uo)));let y=document.createElement(`div`);y.className=`cm-find-rows`,y.append(g,v),r.append(m,y);function b(e){r.classList.toggle(`replacing`,e),m.setAttribute(`aria-expanded`,String(e)),e&&s.focus()}function ee(){let t=new _o({search:o.value,replace:s.value,caseSensitive:l.classList.contains(`on`),wholeWord:u.classList.contains(`on`),regexp:d.classList.contains(`on`)});t.eq(n)||(n=t,e.dispatch({effects:ko.of(t)}))}function te(){let r=!!n.search&&!n.valid;if(h.classList.toggle(`invalid`,r),!n.search||r){f.textContent=``,f.classList.remove(`none`);return}let{total:i,current:a}=Vd(e.state,n);f.textContent=i?t(`search.count`,{n:a||`?`,total:i>zd?`${zd}+`:String(i)}):t(`search.none`),f.classList.toggle(`none`,!i)}return r.addEventListener(`keydown`,t=>{let n=t.ctrlKey||t.metaKey;t.key===`Escape`?(t.preventDefault(),F(e),e.focus()):t.key===`Enter`&&t.target===o?(t.preventDefault(),(t.shiftKey?zo:Ro)(e)):t.key===`Enter`&&t.target===s?(t.preventDefault(),(n&&t.altKey?Uo:Ho)(e)):t.altKey&&!n&&/^Key[CWR]$/.test(t.code)?(t.preventDefault(),{KeyC:l,KeyW:u,KeyR:d}[t.code].click()):n&&t.key.toLowerCase()===`h`&&(t.preventDefault(),b(!r.classList.contains(`replacing`)))}),Bd.has(e)&&(Bd.delete(e),r.classList.add(`replacing`)),m.setAttribute(`aria-expanded`,String(r.classList.contains(`replacing`))),{dom:r,top:!0,mount(){o.select(),te()},update(t){for(let e of t.transactions)for(let t of e.effects)t.is(ko)&&!t.value.eq(n)&&(n=t.value,o.value=n.search,s.value=n.replace,l.classList.toggle(`on`,n.caseSensitive),u.classList.toggle(`on`,n.wholeWord),d.classList.toggle(`on`,n.regexp));Bd.has(e)&&(Bd.delete(e),b(!0)),(t.docChanged||t.selectionSet||t.transactions.some(e=>e.effects.some(e=>e.is(ko))))&&te()}}}var Wd=e=>(Bd.add(e),Jo(e),e.dispatch({}),!0);function Gd(){return[go({top:!0,createPanel:Ud}),ae.of([{key:`Mod-h`,run:Wd,preventDefault:!0},...Yo])]}var Kd=class{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let n=t(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(Zd(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,t,n){e==`abort`&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}};function qd(e){let t=Object.keys(e).join(``),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,``)),`[${n?`\\w`:``}${t.replace(/[^\w\s]/g,`\\$&`)}]`}function Jd(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=qd(t)+qd(n)+`*$`;return[RegExp(`^`+r),new RegExp(r)]}function Yd(e){let t=e.map(e=>typeof e==`string`?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:Jd(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function Xd(e,n){return r=>{for(let n=t(r.state).resolveInner(r.pos,-1);n;n=n.parent){if(e.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return n(r)}}function Zd(e,t){let{source:n}=e,r=t&&n[0]!=`^`,i=n[n.length-1]!=`$`;return!r&&!i?e:RegExp(`${r?`^`:``}(?:${n})${i?`$`:``}`,e.flags??(e.ignoreCase?`i`:``))}var Qd=Ne.define();typeof navigator==`object`&&navigator.platform;var $d=S.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:`monospace`,whiteSpace:`nowrap`,overflow:`hidden auto`,maxWidth_fallback:`700px`,maxWidth:`min(700px, 95vw)`,minWidth:`250px`,maxHeight:`10em`,height:`100%`,listStyle:`none`,margin:0,padding:0,"& > li, & > completion-section":{padding:`1px 3px`,lineHeight:1.2},"& > li":{overflowX:`hidden`,textOverflow:`ellipsis`,cursor:`pointer`},"& > completion-section":{display:`list-item`,borderBottom:`1px solid silver`,paddingLeft:`0.5em`,opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#17c`,color:`white`},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#777`},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#347`,color:`white`},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#444`},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:`"···"`,opacity:.5,display:`block`,textAlign:`center`,cursor:`pointer`},".cm-tooltip.cm-completionInfo":{position:`absolute`,padding:`3px 9px`,width:`max-content`,maxWidth:`400px`,boxSizing:`border-box`,whiteSpace:`pre-line`},".cm-completionInfo.cm-completionInfo-left":{right:`100%`},".cm-completionInfo.cm-completionInfo-right":{left:`100%`},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`30px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`30px`},"&light .cm-snippetField":{backgroundColor:`#00000022`},"&dark .cm-snippetField":{backgroundColor:`#ffffff22`},".cm-snippetFieldPosition":{verticalAlign:`text-top`,width:0,height:`1.15em`,display:`inline-block`,margin:`0 -0.7px -.7em`,borderLeft:`1.4px dotted #888`},".cm-completionMatchedText":{textDecoration:`underline`},".cm-completionDetail":{marginLeft:`0.5em`,fontStyle:`italic`},".cm-completionIcon":{fontSize:`90%`,width:`.8em`,display:`inline-block`,textAlign:`center`,paddingRight:`.6em`,opacity:`0.6`,boxSizing:`content-box`},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:`'ƒ'`}},".cm-completionIcon-class":{"&:after":{content:`'○'`}},".cm-completionIcon-interface":{"&:after":{content:`'◌'`}},".cm-completionIcon-variable":{"&:after":{content:`'𝑥'`}},".cm-completionIcon-constant":{"&:after":{content:`'𝐶'`}},".cm-completionIcon-type":{"&:after":{content:`'𝑡'`}},".cm-completionIcon-enum":{"&:after":{content:`'∪'`}},".cm-completionIcon-property":{"&:after":{content:`'□'`}},".cm-completionIcon-keyword":{"&:after":{content:`'🔑︎'`}},".cm-completionIcon-namespace":{"&:after":{content:`'▢'`}},".cm-completionIcon-text":{"&:after":{content:`'abc'`,fontSize:`50%`,verticalAlign:`middle`}}}),ef=class{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}},tf=class e{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(t){let n=t.mapPos(this.from,-1,me.TrackDel),r=t.mapPos(this.to,1,me.TrackDel);return n==null||r==null?null:new e(this.field,n,r)}},nf=class e{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),a=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=a,o=/^\t*/.exec(i)[0].length;for(let t=0;t<o;t++)n+=e.facet(te);r.push(t+n.length-o),i=n+i.slice(o)}n.push(i),t+=i.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new tf(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(t){let n=[],r=[],i=[],a;for(let e of t.split(/\r\n?|\n/)){for(;a=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(e);){let t=a[1]?+a[1]:null,o=a[2]||a[3]||``,s=-1;t===0&&(t=1e9);let c=o.replace(/\\[{}]/g,e=>e[1]);for(let e=0;e<n.length;e++)(t==null?c&&n[e].name==c:n[e].seq==t)&&(s=e);if(s<0){let e=0;for(;e<n.length&&(t==null||n[e].seq!=null&&n[e].seq<t);)e++;n.splice(e,0,{seq:t,name:c}),s=e;for(let e of i)e.field>=s&&e.field++}for(let e of i)if(e.line==r.length&&e.from>a.index){let t=a[2]?3+(a[1]||``).length:2;e.from-=t,e.to-=t}i.push(new ef(s,r.length,a.index,a.index+c.length)),e=e.slice(0,a.index)+o+e.slice(a.index+a[0].length)}e=e.replace(/\\([{}])/g,(e,t,n)=>{for(let e of i)e.line==r.length&&e.from>n&&(e.from--,e.to--);return t}),r.push(e)}return new e(r,i)}},rf=l.widget({widget:new class extends f{toDOM(){let e=document.createElement(`span`);return e.className=`cm-snippetFieldPosition`,e}ignoreEvent(){return!1}}}),af=l.mark({class:`cm-snippetField`}),of=class e{constructor(e,t){this.ranges=e,this.active=t,this.deco=l.set(e.map(e=>(e.from==e.to?rf:af).range(e.from,e.to)),!0)}map(t){let n=[];for(let e of this.ranges){let r=e.map(t);if(!r)return null;n.push(r)}return new e(n,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}},sf=xe.define({map(e,t){return e&&e.map(t)}}),cf=xe.define(),lf=ye.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(sf))return n.value;if(n.is(cf)&&e)return new of(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>S.decorations.from(e,e=>e?e.deco:l.none)});function uf(e,t){return C.create(e.filter(e=>e.field==t).map(e=>C.range(e.from,e.to)))}function df(e){let t=nf.parse(e);return(e,n,r,i)=>{let{text:a,ranges:o}=t.instantiate(e.state,r),{main:s}=e.state.selection,c={changes:{from:r,to:i==s.from?s.to:i,insert:se.of(a)},scrollIntoView:!0,annotations:n?[Qd.of(n),Ve.userEvent.of(`input.complete`)]:void 0};if(o.length&&(c.selection=uf(o,0)),o.some(e=>e.field>0)){let t=new of(o,0),n=c.effects=[sf.of(t)];e.state.field(lf,!1)===void 0&&n.push(xe.appendConfig.of([lf,hf,_f,$d]))}e.dispatch(e.state.update(c))}}function ff(e){return({state:t,dispatch:n})=>{let r=t.field(lf,!1);if(!r||e<0&&r.active==0)return!1;let i=r.active+e,a=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:uf(r.ranges,i),effects:sf.of(a?null:new of(r.ranges,i)),scrollIntoView:!0})),!0}}var pf=[{key:`Tab`,run:ff(1),shift:ff(-1)},{key:`Escape`,run:({state:e,dispatch:t})=>e.field(lf,!1)?(t(e.update({effects:sf.of(null)})),!0):!1}],mf=ze.define({combine(e){return e.length?e[0]:pf}}),hf=_e.highest(ae.compute([mf],e=>e.facet(mf)));function gf(e,t){return{...t,apply:df(e)}}var _f=S.domEventHandlers({mousedown(e,t){let n=t.state.field(lf,!1),r;if(!n||(r=t.posAtCoords({x:e.clientX,y:e.clientY}))==null)return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!i||i.field==n.active?!1:(t.dispatch({selection:uf(n.ranges,i.field),effects:sf.of(n.ranges.some(e=>e.field>i.field)?new of(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),vf=new class extends Ee{};vf.startSide=1,vf.endSide=-1,typeof navigator==`object`&&navigator.userAgent;var K=class e{static create(t,n,r,i,a){let o=i+(i<<8)+t+(n<<4)|0;return new e(t,n,r,o,a,[],[])}constructor(e,t,n,r,i,a,o){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=i,this.children=a,this.positions=o,this.blankFirstLine=!1,this.hashProp=[[s.contextHash,r]]}addChild(e,t){e.prop(s.contextHash)!=this.hash&&(e=new n(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let r=this.children.length-1;return r>=0&&(t=Math.max(t,this.positions[r]+this.children[r].length+this.from)),new n(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,r)=>new n(p.none,e,t,r,this.hashProp)})}},q;(function(e){e[e.Document=1]=`Document`,e[e.CodeBlock=2]=`CodeBlock`,e[e.FencedCode=3]=`FencedCode`,e[e.Blockquote=4]=`Blockquote`,e[e.HorizontalRule=5]=`HorizontalRule`,e[e.BulletList=6]=`BulletList`,e[e.OrderedList=7]=`OrderedList`,e[e.ListItem=8]=`ListItem`,e[e.ATXHeading1=9]=`ATXHeading1`,e[e.ATXHeading2=10]=`ATXHeading2`,e[e.ATXHeading3=11]=`ATXHeading3`,e[e.ATXHeading4=12]=`ATXHeading4`,e[e.ATXHeading5=13]=`ATXHeading5`,e[e.ATXHeading6=14]=`ATXHeading6`,e[e.SetextHeading1=15]=`SetextHeading1`,e[e.SetextHeading2=16]=`SetextHeading2`,e[e.HTMLBlock=17]=`HTMLBlock`,e[e.LinkReference=18]=`LinkReference`,e[e.Paragraph=19]=`Paragraph`,e[e.CommentBlock=20]=`CommentBlock`,e[e.ProcessingInstructionBlock=21]=`ProcessingInstructionBlock`,e[e.Escape=22]=`Escape`,e[e.Entity=23]=`Entity`,e[e.HardBreak=24]=`HardBreak`,e[e.Emphasis=25]=`Emphasis`,e[e.StrongEmphasis=26]=`StrongEmphasis`,e[e.Link=27]=`Link`,e[e.Image=28]=`Image`,e[e.InlineCode=29]=`InlineCode`,e[e.HTMLTag=30]=`HTMLTag`,e[e.Comment=31]=`Comment`,e[e.ProcessingInstruction=32]=`ProcessingInstruction`,e[e.Autolink=33]=`Autolink`,e[e.HeaderMark=34]=`HeaderMark`,e[e.QuoteMark=35]=`QuoteMark`,e[e.ListMark=36]=`ListMark`,e[e.LinkMark=37]=`LinkMark`,e[e.EmphasisMark=38]=`EmphasisMark`,e[e.CodeMark=39]=`CodeMark`,e[e.CodeText=40]=`CodeText`,e[e.CodeInfo=41]=`CodeInfo`,e[e.LinkTitle=42]=`LinkTitle`,e[e.LinkLabel=43]=`LinkLabel`,e[e.URL=44]=`URL`})(q||={});var yf=class{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}},bf=class{constructor(){this.text=``,this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return wf(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let r=t;r<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=this.text.charCodeAt(t)==9?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e=``;for(let t=0;t<this.basePos;t++)e+=` `;return e+this.text.slice(this.basePos)}};function xf(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let r=(e.type==q.OrderedList?jf:Af)(n,t,!1);return r>0&&(e.type!=q.BulletList||Of(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}var Sf={[q.Blockquote](e,t,n){return n.next==62&&(n.markers.push(Y(q.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(Cf(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)},[q.ListItem](e,t,n){return!(n.next<0?e.blankFirstLine&&e.children.length==1:n.indent<n.baseIndent+e.value)&&(n.moveBaseColumn(n.baseIndent+e.value),!0)},[q.OrderedList]:xf,[q.BulletList]:xf,[q.Document](){return!0}};function Cf(e){return e==32||e==9||e==10||e==13}function wf(e,t=0){for(;t<e.length&&Cf(e.charCodeAt(t));)t++;return t}function Tf(e,t,n){for(;t>n&&Cf(e.charCodeAt(t-1));)t--;return t}function Ef(e){if(e.next!=96&&e.next!=126)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return-1;if(e.next==96){for(let n=t;n<e.text.length;n++)if(e.text.charCodeAt(n)==96)return-1}return t}function Df(e){return e.next==62?e.text.charCodeAt(e.pos+1)==32?2:1:-1}function Of(e,t,n){if(e.next!=42&&e.next!=45&&e.next!=95)return-1;let r=1;for(let t=e.pos+1;t<e.text.length;t++){let n=e.text.charCodeAt(t);if(n==e.next)r++;else if(!Cf(n))return-1}return n&&e.next==45&&Nf(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(Gf.SetextHeading)>-1||r<3?-1:1}function kf(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function Af(e,t,n){return(e.next==45||e.next==43||e.next==42)&&(e.pos==e.text.length-1||Cf(e.text.charCodeAt(e.pos+1)))&&(!n||kf(t,q.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function jf(e,t,n){let r=e.pos,i=e.next;for(;i>=48&&i<=57;){if(r++,r==e.text.length)return-1;i=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||i!=46&&i!=41||r<e.text.length-1&&!Cf(e.text.charCodeAt(r+1))||n&&!kf(t,q.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||e.next!=49)?-1:r+1-e.pos}function Mf(e){if(e.next!=35)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==35;)t++;if(t<e.text.length&&!Cf(e.text.charCodeAt(t)))return-1;let n=t-e.pos;return n>6?-1:n}function Nf(e){if(e.next!=45&&e.next!=61||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&Cf(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}var Pf=/^[ \t]*$/,Ff=/-->/,If=/\?>/,Lf=[[/^<(?:script|pre|style|textarea)(?:\s|>|$)/i,/<\/(?:script|pre|style|textarea)>/i],[/^\s*<!--/,Ff],[/^\s*<\?/,If],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?: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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,Pf],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,Pf]];function Rf(e,t,n){if(e.next!=60)return-1;let r=e.text.slice(e.pos);for(let e=0,t=Lf.length-+!!n;e<t;e++)if(Lf[e][0].test(r))return e;return-1}function zf(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.skipSpace(t),i=e.countIndent(r,t,n);return i>=n+5||r==e.text.length?n+1:i}function Bf(e,t,n){let r=e.length-1;r>=0&&e[r].to==t&&e[r].type==q.CodeText?e[r].to=n:e.push(Y(q.CodeText,t,n))}var Vf={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let r=t.findColumn(n),i=e.lineStart+r,a=e.lineStart+t.text.length,o=[],s=[];for(Bf(o,i,a);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){Bf(s,e.lineStart-1,e.lineStart);for(let e of t.markers)s.push(e)}else if(t.indent<n)break;else{if(s.length){for(let e of s)e.type==q.CodeText?Bf(o,e.from,e.to):o.push(e);s=[]}Bf(o,e.lineStart-1,e.lineStart);for(let e of t.markers)o.push(e);a=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<a&&Bf(o,n,a)}return s.length&&(s=s.filter(e=>e.type!=q.CodeText),s.length&&(t.markers=s.concat(t.markers))),e.addNode(e.buffer.writeElements(o,-i).finish(q.CodeBlock,a-i),i),!0},FencedCode(e,t){let n=Ef(t);if(n<0)return!1;let r=e.lineStart+t.pos,i=t.next,a=n-t.pos,o=t.skipSpace(n),s=Tf(t.text,t.text.length,o),c=[Y(q.CodeMark,r,r+a)];o<s&&c.push(Y(q.CodeInfo,e.lineStart+o,e.lineStart+s));for(let n=!0,r=!0,o=!1;e.nextLine()&&t.depth>=e.stack.length;n=!1){let s=t.pos;if(t.indent-t.baseIndent<4)for(;s<t.text.length&&t.text.charCodeAt(s)==i;)s++;if(s-t.pos>=a&&t.skipSpace(s)==t.text.length){for(let e of t.markers)c.push(e);r&&o&&Bf(c,e.lineStart-1,e.lineStart),c.push(Y(q.CodeMark,e.lineStart+t.pos,e.lineStart+s)),e.nextLine();break}{o=!0,n||(Bf(c,e.lineStart-1,e.lineStart),r=!1);for(let e of t.markers)c.push(e);let i=e.lineStart+t.basePos,a=e.lineStart+t.text.length;i<a&&(Bf(c,i,a),r=!1)}}return e.addNode(e.buffer.writeElements(c,-r).finish(q.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote(e,t){let n=Df(t);return n<0?!1:(e.startContext(q.Blockquote,t.pos),e.addNode(q.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(Of(t,e,!1)<0)return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(q.HorizontalRule,n),!0},BulletList(e,t){let n=Af(t,e,!1);if(n<0)return!1;e.block.type!=q.BulletList&&e.startContext(q.BulletList,t.basePos,t.next);let r=zf(t,t.pos+1);return e.startContext(q.ListItem,t.basePos,r-t.baseIndent),e.addNode(q.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),e.block.blankFirstLine=r>=t.text.length,null},OrderedList(e,t){let n=jf(t,e,!1);if(n<0)return!1;e.block.type!=q.OrderedList&&e.startContext(q.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let r=zf(t,t.pos+n);return e.startContext(q.ListItem,t.basePos,r-t.baseIndent),e.addNode(q.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),e.block.blankFirstLine=r==t.text.length,null},ATXHeading(e,t){let n=Mf(t);if(n<0)return!1;let r=t.pos,i=e.lineStart+r,a=Tf(t.text,t.text.length,r),o=a;for(;o>r&&t.text.charCodeAt(o-1)==t.next;)o--;(o==a||o==r||!Cf(t.text.charCodeAt(o-1)))&&(o=t.text.length);let s=e.buffer.write(q.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,o),i+n+1),-i);o<t.text.length&&s.write(q.HeaderMark,o-r,a-r);let c=s.finish(q.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(c,i),!0},HTMLBlock(e,t){let n=Rf(t,e,!1);if(n<0)return!1;let r=e.lineStart+t.pos,i=Lf[n][1],a=[],o=i!=Pf;for(;!i.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){o=!1;break}for(let e of t.markers)a.push(e)}o&&e.nextLine();let s=i==Ff?q.CommentBlock:i==If?q.ProcessingInstructionBlock:q.HTMLBlock,c=e.prevLineEnd();return e.addNode(e.buffer.writeElements(a,-r).finish(s,c-r),r),!0},SetextHeading:void 0},Hf=class{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(this.stage==-1)return!1;let r=n.content+`
|
|
81
|
+
`+t.scrub(),i=this.advance(r);return i>-1&&i<r.length&&this.complete(e,n,i)}finish(e,t){return(this.stage==2||this.stage==3)&&wf(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,Y(q.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;)if(this.stage==-1)return-1;else if(this.stage==0){if(!this.nextStage(mp(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(Y(q.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(fp(e,wf(e,this.pos),this.start)))return-1}else if(this.stage==2){let t=wf(e,this.pos),n=0;if(t>this.pos){let r=pp(e,t,this.start);if(r){let t=Uf(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||=Uf(e,this.pos),n>0&&n<e.length?n:-1}else return Uf(e,this.pos)}};function Uf(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n==10)break;if(!Cf(n))return-1}return t}var Wf=class{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:Nf(t),i=t.next;if(r<0)return!1;let a=Y(q.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,Y(i==61?q.SetextHeading1:q.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),a])),!0}finish(){return!1}},Gf={LinkReference(e,t){return t.content.charCodeAt(0)==91?new Hf(t):null},SetextHeading(){return new Wf}},J=[(e,t)=>Mf(t)>=0,(e,t)=>Ef(t)>=0,(e,t)=>Df(t)>=0,(e,t)=>Af(t,e,!0)>=0,(e,t)=>jf(t,e,!0)>=0,(e,t)=>Of(t,e,!0)>=0,(e,t)=>Rf(t,e,!0)>=0],Kf={text:``,end:0},qf=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new bf,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=r[r.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=r[0].from,this.block=K.create(q.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new vp(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;start:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(n!=0){if(n==1)return null;e.forward();continue start}}break}if(e.pos==e.text.length)return this.nextLine()?null:this.finish();let t=new yf(this.lineStart+e.pos,e.text.slice(e.pos));for(let e of this.parser.leafBlockParsers)if(e){let n=e(this,t);n&&t.parsers.push(n)}lines:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,t))break lines}for(let n of t.parsers)if(n.nextLine(this,e,t))return null;t.content+=`
|
|
82
|
+
`+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return t?(this.absoluteLineStart+=t,this.lineStart=bp(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=Kf;if(t.end=e,e>=this.to)t.text=``;else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let e=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<t.end;){n++;let r=this.ranges[n].from,i=this.lineChunkAt(r);t.end=r+i.length,t.text=t.text.slice(0,this.ranges[n-1].to-e)+i,e=t.end-t.text.length}}return t}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw Error(`Unhandled block context `+q[t.type]);let r=this.line.markers.length;if(!n(t,this,e)){this.line.markers.length>r&&(t.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let t=this.input.chunk(e),n;if(this.input.lineChunks)n=t==`
|
|
83
|
+
`?``:t;else{let e=t.indexOf(`
|
|
84
|
+
`);n=e<0?t:t.slice(0,e)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=K.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,r){typeof e==`number`&&(e=new n(this.parser.nodeSet.types[e],ep,ep,(r??this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(gp(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?Jf(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let t of e.parsers)if(t.finish(this,e))return;let t=gp(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(q.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return typeof e==`string`?Y(this.parser.getNodeType(e),t,n,r):new rp(e,t)}get buffer(){return new tp(this.parser.nodeSet)}};function Jf(e,t,r,i,a){let o=e[t].to,s=[],c=[],l=r.from+i;function u(n,r){for(;r?n>=o:n>o;){let r=e[t+1].from-o;i+=r,n+=r,t++,o=e[t].to}}for(let n=r.firstChild;n;n=n.nextSibling){u(n.from+i,!0);let r=n.from+i,d,f=a.get(n.tree);f?d=f:n.to+i>o?(d=Jf(e,t,n,i,a),u(n.to+i,!1)):d=n.toTree(),s.push(d),c.push(r-l)}return u(r.to+i,!1),new n(r.type,s,c,r.to+i-l,r.tree?r.tree.propValues:void 0)}var Yf=class e extends Je{constructor(e,t,n,r,i,a,o,s,c){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=i,this.skipContextMarkup=a,this.inlineParsers=o,this.inlineNames=s,this.wrappers=c,this.nodeTypes=Object.create(null);for(let t of e.types)this.nodeTypes[t.name]=t.id}createParse(e,t,n){let r=new qf(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}configure(t){let n=Zf(t);if(!n)return this;let{nodeSet:r,skipContextMarkup:i}=this,a=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),c=this.blockNames.slice(),l=this.inlineParsers.slice(),d=this.inlineNames.slice(),f=this.endLeafBlock.slice(),h=this.wrappers;if(Xf(n.defineNodes)){i=Object.assign({},i);let e=r.types.slice(),t;for(let r of n.defineNodes){let{name:n,block:a,composite:o,style:c}=typeof r==`string`?{name:r}:r;if(e.some(e=>e.name==n))continue;o&&(i[e.length]=(e,t,n)=>o(t,n,e.value));let l=e.length,u=o?[`Block`,`BlockContext`]:a?l>=q.ATXHeading1&&l<=q.SetextHeading2?[`Block`,`LeafBlock`,`Heading`]:[`Block`,`LeafBlock`]:void 0;e.push(p.define({id:l,name:n,props:u&&[[s.group,u]]})),c&&(t||={},Array.isArray(c)||c instanceof w?t[n]=c:Object.assign(t,c))}r=new u(e),t&&(r=r.extend(m(t)))}if(Xf(n.props)&&(r=r.extend(...n.props)),Xf(n.remove))for(let e of n.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(a[t]=o[t]=void 0),n>-1&&(l[n]=void 0)}if(Xf(n.parseBlock))for(let e of n.parseBlock){let t=c.indexOf(e.name);if(t>-1)a[t]=e.parse,o[t]=e.leaf;else{let t=e.before?Qf(c,e.before):e.after?Qf(c,e.after)+1:c.length-1;a.splice(t,0,e.parse),o.splice(t,0,e.leaf),c.splice(t,0,e.name)}e.endLeaf&&f.push(e.endLeaf)}if(Xf(n.parseInline))for(let e of n.parseInline){let t=d.indexOf(e.name);if(t>-1)l[t]=e.parse;else{let t=e.before?Qf(d,e.before):e.after?Qf(d,e.after)+1:d.length-1;l.splice(t,0,e.parse),d.splice(t,0,e.name)}}return n.wrap&&(h=h.concat(n.wrap)),new e(r,a,o,c,f,i,l,d,h)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new hp(this,e,t);outer:for(let e=t;e<n.end;){let t=n.char(e);for(let r of this.inlineParsers)if(r){let i=r(n,t,e);if(i>=0){e=i;continue outer}}e++}return n.resolveMarkers(0)}};function Xf(e){return e!=null&&e.length>0}function Zf(e){if(!Array.isArray(e))return e;if(e.length==0)return null;let t=Zf(e[0]);if(e.length==1)return t;let n=Zf(e.slice(1));if(!n||!t)return t||n;let r=(e,t)=>(e||ep).concat(t||ep),i=t.wrap,a=n.wrap;return{props:r(t.props,n.props),defineNodes:r(t.defineNodes,n.defineNodes),parseBlock:r(t.parseBlock,n.parseBlock),parseInline:r(t.parseInline,n.parseInline),remove:r(t.remove,n.remove),wrap:i?a?(e,t,n,r)=>i(a(e,t,n,r),t,n,r):i:a}}function Qf(e,t){let n=e.indexOf(t);if(n<0)throw RangeError(`Position specified relative to unknown parser ${t}`);return n}var $f=[p.none];for(let e=1,t;t=q[e];e++)$f[e]=p.define({id:e,name:t,props:e>=q.Escape?[]:[[s.group,e in Sf?[`Block`,`BlockContext`]:[`Block`,`LeafBlock`]]],top:t==`Document`});var ep=[],tp=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+r*4),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return n.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}},np=class{constructor(e,t,n,r=ep){this.type=e,this.from=t,this.to=n,this.children=r}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new tp(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},rp=class{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return ep}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}};function Y(e,t,n,r){return new np(e,t,n,r)}var X={resolve:`Emphasis`,mark:`EmphasisMark`},ip={resolve:`Emphasis`,mark:`EmphasisMark`},ap={},op={},sp=class{constructor(e,t,n,r,i=n-t){this.type=e,this.from=t,this.to=n,this.side=r,this.size=i}},cp=`!"#$%&'()*+,-./:;<=>?@[\\]^_\`{|}~`,lp=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{lp=RegExp(`[\\p{S}|\\p{P}]`,`u`)}catch{}var up={Escape(e,t,n){if(t!=92||n==e.end-1)return-1;let r=e.char(n+1);for(let t=0;t<32;t++)if(cp.charCodeAt(t)==r)return e.append(Y(q.Escape,n,n+2));return-1},Entity(e,t,n){if(t!=38)return-1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(Y(q.Entity,n,n+1+r[0].length)):-1},InlineCode(e,t,n){if(t!=96||n&&e.char(n-1)==96)return-1;let r=n+1;for(;r<e.end&&e.char(r)==96;)r++;let i=r-n,a=0;for(;r<e.end;r++)if(e.char(r)==96){if(a++,a==i&&e.char(r+1)!=96)return e.append(Y(q.InlineCode,n,r+1,[Y(q.CodeMark,n,n+i),Y(q.CodeMark,r+1-i,r+1)]))}else a=0;return-1},HTMLTag(e,t,n){if(t!=60||n==e.end-1)return-1;let r=e.slice(n+1,e.end),i=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(i)return e.append(Y(q.Autolink,n,n+1+i[0].length,[Y(q.LinkMark,n,n+1),Y(q.URL,n+1,n+i[0].length),Y(q.LinkMark,n+i[0].length,n+1+i[0].length)]));let a=/^!--(?:-?>|[^]*?-->)/.exec(r);if(a)return e.append(Y(q.Comment,n,n+1+a[0].length));let o=/^\?[^]*?\?>/.exec(r);if(o)return e.append(Y(q.ProcessingInstruction,n,n+1+o[0].length));let s=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/[a-zA-Z][\w-]*\s*>|[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*\/?>)/.exec(r);return s?e.append(Y(q.HTMLTag,n,n+1+s[0].length)):-1},Emphasis(e,t,n){if(t!=95&&t!=42)return-1;let r=n+1;for(;e.char(r)==t;)r++;let i=e.slice(n-1,n),a=e.slice(r,r+1),o=lp.test(i),s=lp.test(a),c=/\s|^$/.test(i),l=/\s|^$/.test(a),u=!l&&(!s||c||o),d=!c&&(!o||l||s),f=u&&(t==42||!d||o),p=d&&(t==42||!u||s);return e.append(new sp(t==95?X:ip,n,r,!!f|(p?2:0)))},HardBreak(e,t,n){if(t==92&&e.char(n+1)==10)return e.append(Y(q.HardBreak,n,n+2));if(t==32){let t=n+1;for(;e.char(t)==32;)t++;if(e.char(t)==10&&t>=n+2)return e.append(Y(q.HardBreak,n,t+1))}return-1},Link(e,t,n){return t==91?e.append(new sp(ap,n,n+1,1)):-1},Image(e,t,n){return t==33&&e.char(n+1)==91?e.append(new sp(op,n,n+2,1)):-1},LinkEnd(e,t,n){if(t!=93)return-1;for(let t=e.parts.length-1;t>=0;t--){let r=e.parts[t];if(r instanceof sp&&(r.type==ap||r.type==op)){if(!r.side||e.skipSpace(r.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let i=e.takeContent(t),a=e.parts[t]=dp(e,i,r.type==ap?q.Link:q.Image,r.from,n+1);if(r.type==ap)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof sp&&t.type==ap&&(t.side=0)}return a.to}}return-1}};function dp(e,t,n,r,i){let{text:a}=e,o=e.char(i),s=i;if(t.unshift(Y(q.LinkMark,r,r+(n==q.Image?2:1))),t.push(Y(q.LinkMark,i-1,i)),o==40){let n=e.skipSpace(i+1),r=fp(a,n-e.offset,e.offset),o;r&&(n=e.skipSpace(r.to),n!=r.to&&(o=pp(a,n-e.offset,e.offset),o&&(n=e.skipSpace(o.to)))),e.char(n)==41&&(t.push(Y(q.LinkMark,i,i+1)),s=n+1,r&&t.push(r),o&&t.push(o),t.push(Y(q.LinkMark,n,s)))}else if(o==91){let n=mp(a,i-e.offset,e.offset,!1);n&&(t.push(n),s=n.to)}return Y(n,r,s,t)}function fp(e,t,n){if(e.charCodeAt(t)==60){for(let r=t+1,i=!1;r<e.length;r++){let a=e.charCodeAt(r);if(a==62&&!i)return Y(q.URL,t+n,r+1+n);if(a==60&&!i||a==10)return!1;i=a==92}return null}{let r=0,i=t;for(let t=!1;i<e.length;i++){let n=e.charCodeAt(i);if(Cf(n))break;if(t)t=!1;else if(n==40)r++;else if(n==41){if(!r)break;r--}else n==92&&(t=!0)}return i>t?Y(q.URL,t+n,i+n):i==e.length&&null}}function pp(e,t,n){let r=e.charCodeAt(t);if(r!=39&&r!=34&&r!=40)return!1;let i=r==40?41:r;for(let r=t+1,a=!1;r<e.length;r++){let o=e.charCodeAt(r);if(a)a=!1;else if(o==i)return Y(q.LinkTitle,t+n,r+1+n);else o==92&&(a=!0)}return null}function mp(e,t,n,r){for(let i=!1,a=t+1,o=Math.min(e.length,a+999);a<o;a++){let o=e.charCodeAt(a);if(i)i=!1;else if(o==93)return!r&&Y(q.LinkLabel,t+n,a+1+n);else{if(r&&!Cf(o)&&(r=!1),o==91)return!1;o==92&&(i=!0)}}return null}var hp=class{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,r,i){return this.append(new sp(e,t,n,!!r|(i?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof sp&&(t.type==ap||t.type==op))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t<this.parts.length;t++){let n=this.parts[t];if(!(n instanceof sp&&n.type.resolve&&n.side&2))continue;let r=n.type==X||n.type==ip,i=n.to-n.from,a,o=t-1;for(;o>=e;o--){let e=this.parts[o];if(e instanceof sp&&e.side&1&&e.type==n.type&&!(r&&(n.side&1||e.side&2)&&(e.size+n.size)%3==0&&(e.size%3||n.size%3))){a=e;break}}if(!a)continue;let s=n.type.resolve,c=[],l=a.from,u=n.to;if(r){let e=Math.min(2,a.to-a.from,i);l=a.to-e,u=n.from+e,s=e==1?`Emphasis`:`StrongEmphasis`}a.type.mark&&c.push(this.elt(a.type.mark,l,a.to));for(let e=o+1;e<t;e++)this.parts[e]instanceof np&&c.push(this.parts[e]),this.parts[e]=null;n.type.mark&&c.push(this.elt(n.type.mark,n.from,u));let d=this.elt(s,l,u,c);this.parts[o]=r&&a.from!=l?new sp(a.type,a.from,l,a.side,a.size):null,(this.parts[t]=r&&n.to!=u?new sp(n.type,u,n.to,n.side,n.size):null)?this.parts.splice(t,0,d):this.parts[t]=d}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof np&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof sp&&n.type==e&&n.side&1)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}getDelimiterAt(e){let t=this.parts[e];return t instanceof sp?t:null}skipSpace(e){return wf(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return typeof e==`string`?Y(this.parser.getNodeType(e),t,n,r):new rp(e,t)}};hp.linkStart=ap,hp.imageStart=op,hp.emphasisAsterisk=ip,hp.emphasisUnderscore=X;function gp(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let e of t){for(;r<n.length&&n[r].to<e.to;)r++;if(r<n.length&&n[r].from<e.from){let t=n[r];t instanceof np&&(n[r]=new np(t.type,t.from,t.to,gp(t.children,[e])))}else n.splice(r++,0,e)}return n}var _p=[q.CodeBlock,q.ListItem,q.OrderedList,q.BulletList],vp=class{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&this.input.read(e-1,e)!=`
|
|
85
|
+
`;)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(_.IncludeAnonymous|_.IgnoreMounts),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=t;if(!n.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;for(;t&&t.type.isAnonymous&&t.children[0]instanceof n;)t=t.children[0];return t&&t.prop(s.contextHash)==e}takeNodes(e){let t=this.cursor,r=this.fragment.offset,i=this.fragmentEnd-+!!this.fragment.openEnd,a=e.absoluteLineStart,o=a,s=e.block.children.length,c=e.lineStart-e.block.from>>2,l=o,u=s;scan:for(;;){if(t.to-r>Math.min(i,e.to)||t.type.isAnonymous&&t.tree&&(t.to-t.from>c||!yp(t.tree))){if(t.type.isAnonymous&&t.firstChild())continue;break}let a=bp(t.from-r,e.ranges);if(t.to-r<=e.ranges[e.rangeI].to)e.addNode(t.tree,a);else{let r=new n(e.parser.nodeSet.types[q.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(r,t.tree),e.addNode(r,a)}for((t.type.isAnonymous||t.type.is(`Block`))&&(t.type.isAnonymous||_p.indexOf(t.type.id)<0?(o=t.to-r,s=e.block.children.length):(o=l,s=u),l=t.to-r,u=e.block.children.length);;){if(t.nextSibling())continue scan;if(!t.parent()||!t.type.isAnonymous)break scan}}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return o-a}};function yp(e){for(;e.type.isAnonymous;){let t=e.children[e.children.length-1];if(t instanceof n)e=t;else return!1}return e.type.is(`Block`)&&_p.indexOf(e.type.id)<0}function bp(e,t){let n=e;for(let r=1;r<t.length;r++){let i=t[r-1].to,a=t[r].from;i<e&&(n-=a-i)}return n}var xp=m({"Blockquote/...":h.quote,HorizontalRule:h.contentSeparator,"ATXHeading1/... SetextHeading1/...":h.heading1,"ATXHeading2/... SetextHeading2/...":h.heading2,"ATXHeading3/...":h.heading3,"ATXHeading4/...":h.heading4,"ATXHeading5/...":h.heading5,"ATXHeading6/...":h.heading6,"Comment CommentBlock":h.comment,Escape:h.escape,Entity:h.character,"Emphasis/...":h.emphasis,"StrongEmphasis/...":h.strong,"Link/... Image/...":h.link,"OrderedList/... BulletList/...":h.list,"BlockQuote/...":h.quote,"InlineCode CodeText":h.monospace,"URL Autolink":h.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":h.processingInstruction,"CodeInfo LinkLabel":h.labelName,LinkTitle:h.string,Paragraph:h.content}),Sp=new Yf(new u($f).extend(xp),Object.keys(Vf).map(e=>Vf[e]),Object.keys(Vf).map(e=>Gf[e]),Object.keys(Vf),J,Sf,Object.keys(up).map(e=>up[e]),Object.keys(up),[]);function Cp(e,t,n){let r=[];for(let i=e.firstChild,a=t;;i=i.nextSibling){let e=i?i.from:n;if(e>a&&r.push({from:a,to:e}),!i)break;a=i.to}return r}function wp(e){let{codeParser:t,htmlParser:n}=e;return{wrap:x((e,r)=>{let i=e.type.id;if(t&&(i==q.CodeBlock||i==q.FencedCode)){let n=``;if(i==q.FencedCode){let t=e.node.getChild(q.CodeInfo);t&&(n=r.read(t.from,t.to))}let a=t(n);if(a)return{parser:a,overlay:e=>e.type.id==q.CodeText,bracketed:i==q.FencedCode}}else if(n&&(i==q.HTMLBlock||i==q.HTMLTag||i==q.CommentBlock))return{parser:n,overlay:Cp(e.node,e.from,e.to)};return null})}}var Tp={resolve:`Strikethrough`,mark:`StrikethroughMark`},Ep={defineNodes:[{name:`Strikethrough`,style:{"Strikethrough/...":h.strikethrough}},{name:`StrikethroughMark`,style:h.processingInstruction}],parseInline:[{name:`Strikethrough`,parse(e,t,n){if(t!=126||e.char(n+1)!=126||e.char(n+2)==126)return-1;let r=e.slice(n-1,n),i=e.slice(n+2,n+3),a=/\s|^$/.test(r),o=/\s|^$/.test(i),s=lp.test(r),c=lp.test(i);return e.addDelimiter(Tp,n,n+2,!o&&(!c||a||s),!a&&(!s||o||c))},after:`Emphasis`}]};function Dp(e,t,n=0,r,i=0){let a=0,o=!0,s=-1,c=-1,l=!1,u=()=>{r.push(e.elt(`TableCell`,i+s,i+c,e.parser.parseInline(t.slice(s,c),i+s)))};for(let d=n;d<t.length;d++){let n=t.charCodeAt(d);n==124&&!l?((!o||s>-1)&&a++,o=!1,r&&(s>-1&&u(),r.push(e.elt(`TableDelimiter`,d+i,d+i+1))),s=c=-1):(l||n!=32&&n!=9)&&(s<0&&(s=d),c=d+1),l=!l&&n==92}return s>-1&&(a++,r&&u()),a}function Op(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(t==124)return!0;t==92&&n++}return!1}var kp=/^[>\s]*\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,Ap=class{constructor(){this.rows=null}nextLine(e,t,n){if(this.rows==null){this.rows=!1;let r;if((t.next==45||t.next==58||t.next==124)&&kp.test(r=t.text.slice(t.pos))){let i=[];Dp(e,n.content,0,i,n.start)==Dp(e,r,0)&&(this.rows=[e.elt(`TableHeader`,n.start,n.start+n.content.length,i),e.elt(`TableDelimiter`,e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];Dp(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt(`TableRow`,e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return this.rows?(e.addLeafElement(t,e.elt(`Table`,t.start,t.start+t.content.length,this.rows)),!0):!1}},jp={defineNodes:[{name:`Table`,block:!0},{name:`TableHeader`,style:{"TableHeader/...":h.heading}},`TableRow`,{name:`TableCell`,style:h.content},{name:`TableDelimiter`,style:h.processingInstruction}],parseBlock:[{name:`Table`,leaf(e,t){return Op(t.content,0)?new Ap:null},endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof Ap)||!Op(t.text,t.basePos))return!1;let r=e.peekLine();return kp.test(r)&&Dp(e,t.text,t.basePos)==Dp(e,r,t.basePos)},before:`SetextHeading`}]},Mp=class{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt(`Task`,t.start,t.start+t.content.length,[e.elt(`TaskMarker`,t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}},Np={defineNodes:[{name:`Task`,block:!0,style:h.list},{name:`TaskMarker`,style:h.atom}],parseBlock:[{name:`TaskList`,leaf(e,t){return/^\[[ xX]\][ \t]/.test(t.content)&&e.parentType().name==`ListItem`?new Mp:null},after:`SetextHeading`}]},Pp=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,Fp=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,Ip=/[\w-]+\.[\w-]+($|[/:])/,Lp=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Rp=/\/[a-zA-Z\d@.]+/gy;function zp(e,t,n,r){let i=0;for(let a=t;a<n;a++)e[a]==r&&i++;return i}function Bp(e,t){Fp.lastIndex=t;let n=Fp.exec(e);if(!n||Ip.exec(n[0])[0].indexOf(`_`)>-1)return-1;let r=t+n[0].length;for(;;){let n=e[r-1],i;if(/[?!.,:*_~]/.test(n)||n==`)`&&zp(e,t,r,`)`)>zp(e,t,r,`(`))r--;else if(n==`;`&&(i=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))r=t+i.index;else break}return r}function Vp(e,t){Lp.lastIndex=t;let n=Lp.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return r==`_`||r==`-`?-1:t+n[0].length-+(r==`.`)}var Hp=[jp,Np,Ep,{parseInline:[{name:`Autolink`,parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return-1;Pp.lastIndex=r;let i=Pp.exec(e.text),a=-1;return!i||(i[1]||i[2]?(a=Bp(e.text,r+i[0].length),a>-1&&e.hasOpenLink&&(a=r+/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,a))[0].length)):i[3]?a=Vp(e.text,r):(a=Vp(e.text,r+i[0].length),a>-1&&i[0]==`xmpp:`&&(Rp.lastIndex=a,i=Rp.exec(e.text),i&&(a=i.index+i[0].length))),a<0)?-1:(e.addElement(e.elt(`URL`,n,a+e.offset)),a+e.offset)}}]}];function Up(e,t,n){return(r,i,a)=>{if(i!=e||r.char(a+1)==e)return-1;let o=[r.elt(n,a,a+1)];for(let i=a+1;i<r.end;i++){let s=r.char(i);if(s==e)return r.addElement(r.elt(t,a,i+1,o.concat(r.elt(n,i,i+1))));if(s==92&&o.push(r.elt(`Escape`,i,i+++2)),Cf(s))break}return-1}}var Wp={defineNodes:[{name:`Superscript`,style:h.special(h.content)},{name:`SuperscriptMark`,style:h.processingInstruction}],parseInline:[{name:`Superscript`,parse:Up(94,`Superscript`,`SuperscriptMark`)}]},Gp={defineNodes:[{name:`Subscript`,style:h.special(h.content)},{name:`SubscriptMark`,style:h.processingInstruction}],parseInline:[{name:`Subscript`,parse:Up(126,`Subscript`,`SubscriptMark`)}]},Kp={defineNodes:[{name:`Emoji`,style:h.character}],parseInline:[{name:`Emoji`,parse(e,t,n){let r;return t!=58||!(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?-1:e.addElement(e.elt(`Emoji`,n,n+1+r[0].length))}}]},qp=55,Jp=1,Yp=56,Xp=2,Zp=57,Qp=3,$p=4,em=5,tm=6,nm=7,rm=8,im=9,am=10,om=11,sm=12,cm=13,lm=58,um=14,dm=15,fm=59,pm=21,mm=23,hm=24,gm=25,_m=27,vm=28,ym=29,bm=32,xm=35,Sm=37,Cm=38,wm=0,Tm=1,Em={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Dm={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Om={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function km(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}var Am=null,jm=null,Mm=0;function Nm(e,t){let n=e.pos+t;if(Mm==n&&jm==e)return Am;let r=e.peek(t),i=``;for(;km(r);)i+=String.fromCharCode(r),r=e.peek(++t);return jm=e,Mm=n,Am=i?i.toLowerCase():r==Lm||r==Rm?void 0:null}var Pm=60,Fm=62,Im=47,Lm=63,Rm=33,zm=45;function Bm(e,t){this.name=e,this.parent=t}var Vm=[tm,am,nm,rm,im],Hm=new Ie({start:null,shift(e,t,n,r){return Vm.indexOf(t)>-1?new Bm(Nm(r,1)||``,e):e},reduce(e,t){return t==pm&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==tm||i==Sm?new Bm(Nm(r,1)||``,e):e},strict:!1}),Um=new D((e,t)=>{if(e.next!=Pm){e.next<0&&t.context&&e.acceptToken(lm);return}e.advance();let n=e.next==Im;n&&e.advance();let r=Nm(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?dm:um);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(om);if(i&&Dm[i])return e.acceptToken(lm,-2);if(t.dialectEnabled(wm))return e.acceptToken(sm);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(cm)}else{if(r==`script`)return e.acceptToken(nm);if(r==`style`)return e.acceptToken(rm);if(r==`textarea`)return e.acceptToken(im);if(Em.hasOwnProperty(r))return e.acceptToken(am);i&&Om[i]&&Om[i][r]?e.acceptToken(lm,-1):e.acceptToken(tm)}},{contextual:!0}),Wm=new D(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(fm);break}if(e.next==zm)t++;else if(e.next==Fm&&t>=2){n>=3&&e.acceptToken(fm,-2);break}else t=0;e.advance()}});function Gm(e){for(;e;e=e.parent)if(e.name==`svg`||e.name==`math`)return!0;return!1}var Km=new D((e,t)=>{if(e.next==Im&&e.peek(1)==Fm){let n=t.dialectEnabled(Tm)||Gm(t.context);e.acceptToken(n?em:$p,2)}else e.next==Fm&&e.acceptToken($p,1)});function qm(e,t,n){let r=2+e.length;return new D(i=>{for(let a=0,o=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(a==0&&i.next==Pm||a==1&&i.next==Im||a>=2&&a<r&&i.next==e.charCodeAt(a-2))a++,o++;else if(a==r&&i.next==Fm){s>o?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((i.next==10||i.next==13)&&s){i.acceptToken(t,1);break}else a=o=0;i.advance()}})}var Jm=qm(`script`,qp,Jp),Ym=qm(`style`,Yp,Xp),Xm=qm(`textarea`,Zp,Qp),Zm=m({"Text RawText IncompleteTag IncompleteCloseTag":h.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":h.angleBracket,TagName:h.tagName,"MismatchedCloseTag/TagName":[h.tagName,h.invalid],AttributeName:h.attributeName,"AttributeValue UnquotedAttributeValue":h.attributeValue,Is:h.definitionOperator,"EntityReference CharacterReference":h.character,Comment:h.blockComment,ProcessingInst:h.processingInstruction,DoctypeDecl:h.documentMeta}),Qm=Me.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ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S|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~`,goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:`⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl`,maxTerm:68,context:Hm,nodeProps:[[`closedBy`,-10,1,2,3,7,8,9,10,11,12,13,`EndTag`,6,`EndTag SelfClosingEndTag`,-4,22,31,34,37,`CloseTag`],[`openedBy`,4,`StartTag StartCloseTag`,5,`StartTag`,-4,30,33,36,38,`OpenTag`],[`group`,-10,14,15,18,19,20,21,40,41,42,43,`Entity`,17,`Entity TextContent`,-3,29,32,35,`TextContent Entity`],[`isolate`,-11,22,30,31,33,34,36,37,38,39,42,43,`ltr`,-3,27,28,40,``]],propSources:[Zm],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!b`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)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!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[Jm,Ym,Xm,Km,Um,Wm,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function $m(e,t){let n=Object.create(null);for(let r of e.getChildren(hm)){let e=r.getChild(gm),i=r.getChild(_m)||r.getChild(vm);e&&(n[t.read(e.from,e.to)]=i?i.type.id==_m?t.read(i.from+1,i.to-1):t.read(i.from,i.to):``)}return n}function eh(e,t){let n=e.getChild(mm);return n?t.read(n.from,n.to):` `}function th(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||=$m(e.node.parent.firstChild,t)))return{parser:i.parser,bracketed:!0};return null}function nh(e=[],t=[]){let n=[],r=[],i=[],a=[];for(let t of e)(t.tag==`script`?n:t.tag==`style`?r:t.tag==`textarea`?i:a).push(t);let o=t.length?Object.create(null):null;for(let e of t)(o[e.name]||(o[e.name]=[])).push(e);return x((e,t)=>{let s=e.type.id;if(s==ym)return th(e,t,n);if(s==bm)return th(e,t,r);if(s==xm)return th(e,t,i);if(s==pm&&a.length){let n=e.node,r=n.firstChild,i=r&&eh(r,t),o;if(i){for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(o||=$m(r,t)))){let t=n.lastChild,i=t.type.id==Cm?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(o&&s==hm){let n=e.node,r;if(r=n.firstChild){let e=o[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=eh(n.parent,t))continue;let e=n.lastChild;if(e.type.id==_m){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}],bracketed:!0}}else if(e.type.id==vm)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var rh=148,ih=1,ah=149,oh=150,sh=2,ch=151,lh=3,uh=4,dh=152,fh=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],ph=58,mh=40,hh=95,gh=91,_h=45,vh=46,yh=35,bh=37,xh=38,Sh=92,Ch=10,wh=42;function Th(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function Eh(e){return e>=48&&e<=57}function Dh(e){return Eh(e)||e>=97&&e<=102||e>=65&&e<=70}var Oh=(e,t,n)=>(r,i)=>{for(let a=!1,o=0,s=0;;s++){let{next:c}=r;if(Th(c)||c==_h||c==hh||a&&Eh(c))!a&&(c!=_h||s>0)&&(a=!0),o===s&&c==_h&&o++,r.advance();else if(c==Sh&&r.peek(1)!=Ch){if(r.advance(),Dh(r.next)){do r.advance();while(Dh(r.next));r.next==32&&r.advance()}else r.next>-1&&r.advance();a=!0}else{a&&r.acceptToken(o>=2&&i.canShift(sh)?t:c==mh?n:e);break}}},kh=new D(Oh(ah,sh,oh),{contextual:!0}),Ah=new D(Oh(ch,lh,uh),{contextual:!0}),jh=new D(e=>{if(fh.includes(e.peek(-1))){let{next:t}=e;(Th(t)||t==hh||t==yh||t==vh||t==wh||t==gh||t==ph&&Th(e.peek(1))||t==_h||t==xh)&&e.acceptToken(rh)}}),Mh=new D(e=>{if(!fh.includes(e.peek(-1))){let{next:t}=e;if(t==bh&&(e.advance(),e.acceptToken(ih)),Th(t)){do e.advance();while(Th(e.next)||Eh(e.next));e.acceptToken(ih)}}});function Nh(e){let t=e.length;return(t==4||t==5||t==7||t==9)&&/^#[a-f\d]+$/i.test(e)?dh:-1}var Ph=m({"AtKeyword import charset namespace keyframes media supports font-feature-values":h.definitionKeyword,"from to selector scope MatchFlag":h.keyword,NamespaceName:h.namespace,KeyframeName:h.labelName,KeyframeRangeName:h.operatorKeyword,TagName:h.tagName,ClassName:h.className,PseudoClassName:h.constant(h.className),IdName:h.labelName,"FeatureName PropertyName":h.propertyName,AttributeName:h.attributeName,NumberLiteral:h.number,KeywordQuery:h.keyword,UnaryQueryOp:h.operatorKeyword,"CallTag ValueName FontName":h.atom,VariableName:h.variableName,Callee:h.operatorKeyword,Unit:h.unit,"UniversalSelector NestingSelector":h.definitionOperator,"MatchOp CompareOp":h.compareOperator,"ChildOp SiblingOp, LogicOp":h.logicOperator,BinOp:h.arithmeticOperator,Important:h.modifier,Comment:h.blockComment,ColorLiteral:h.color,"ParenthesizedContent StringLiteral":h.string,":":h.punctuation,PseudoOp:h.derefOperator,"; , |":h.separator,"( )":h.paren,"[ ]":h.squareBracket,"{ }":h.brace}),Fh={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:88,url:158,"url-prefix":158,domain:158,regexp:158},Ih={__proto__:null,or:102,and:102,not:112,only:112,layer:212},Lh={__proto__:null,selector:118,style:124,layer:208},Rh={__proto__:null,"@import":204,"@media":216,"@charset":220,"@namespace":224,"@keyframes":230,"@supports":242,"@scope":246,"@font-feature-values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ment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery ColorLiteral CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector StyleQuery style ParenthesedQuery CallQuery ArgList PropertyName , PropertyName UnaryQuery ParenthesedQuery BinaryQuery ParenthesedQuery ParenthesedQuery StyleFeature PropertyName StyleRange PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles`,maxTerm:176,nodeProps:[[`isolate`,-2,5,38,``],[`openedBy`,23,`(`,30,`[`,33,`{`],[`closedBy`,24,`)`,31,`]`,34,`}`]],propSources:[Ph],skippedNodes:[0,5,130],repeatNodeCount:17,tokenData:"IO~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu/wuv%Zvw0qwx1Sxy2qyz3Sz{3X{|3r|}8e}!O8v!O!P9e!P!Q9|!Q![:u![!];p!]!^<l!^!_<}!_!`=y!`!a>^!a!b%Z!b!c?_!c!k%Z!k!lAl!l!u%Z!u!vAl!v!}%Z!}#OA}#O#P%Z#P#QB`#Q#R/w#R#]%Z#]#^Bq#^#g%Z#g#hAl#h#o%Z#o#pGU#p#qGg#q#rHO#r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<%lO%jbFxS$tQ!r`Oy%jz;'S%j;'S;=`%{<%lO%jjGZSrYOy%jz;'S%j;'S;=`%{<%lO%jfGlU$gUOy%jz!_%j!_!`0^!`;'S%j;'S;=`%{<%lO%jjHTSqYOy%jz;'S%j;'S;=`%{<%lO%jfHfU#SQOy%jz!_%j!_!`0^!`;'S%j;'S;=`%{<%lO%j`H{P;=`<%l%Z",tokenizers:[jh,Mh,kh,Ah,1,2,3,4,new Se(`m~RRYZ[z{a~~g~aO$c~~dP!P!Qg~lO$d~~`,28,156)],topRules:{StyleSheet:[0,6],Styles:[1,129]},dynamicPrecedences:{97:1},specialized:[{term:172,get:(e,t)=>Nh(e)<<1,external:Nh},{term:150,get:e=>Fh[e]||-1},{term:151,get:e=>Ih[e]||-1},{term:4,get:e=>Lh[e]||-1},{term:28,get:e=>Rh[e]||-1},{term:149,get:e=>zh[e]||-1}],tokenPrec:2433}),Vh=nt({css:()=>ig,cssCompletionSource:()=>ng,cssLanguage:()=>rg,defineCSSCompletionSource:()=>tg}),Hh=null;function Uh(){if(!Hh&&typeof document==`object`&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)r!=`cssText`&&r!=`cssFloat`&&typeof e[r]==`string`&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>`-`+e.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));Hh=t.sort().map(e=>({type:`property`,label:e,apply:e+`: `}))}return Hh||[]}var Wh=`active.after.any-link.autofill.backdrop.before.checked.cue.default.defined.disabled.empty.enabled.file-selector-button.first.first-child.first-letter.first-line.first-of-type.focus.focus-visible.focus-within.fullscreen.has.host.host-context.hover.in-range.indeterminate.invalid.is.lang.last-child.last-of-type.left.link.marker.modal.not.nth-child.nth-last-child.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.part.placeholder.placeholder-shown.read-only.read-write.required.right.root.scope.selection.slotted.target.target-text.valid.visited.where`.split(`.`).map(e=>({type:`class`,label:e})),Gh=`above.absolute.activeborder.additive.activecaption.after-white-space.ahead.alias.all.all-scroll.alphabetic.alternate.always.antialiased.appworkspace.asterisks.attr.auto.auto-flow.avoid.avoid-column.avoid-page.avoid-region.axis-pan.background.backwards.baseline.below.bidi-override.blink.block.block-axis.bold.bolder.border.border-box.both.bottom.break.break-all.break-word.bullets.button.button-bevel.buttonface.buttonhighlight.buttonshadow.buttontext.calc.capitalize.caps-lock-indicator.caption.captiontext.caret.cell.center.checkbox.circle.cjk-decimal.clear.clip.close-quote.col-resize.collapse.color.color-burn.color-dodge.column.column-reverse.compact.condensed.contain.content.contents.content-box.context-menu.continuous.copy.counter.counters.cover.crop.cross.crosshair.currentcolor.cursive.cyclic.darken.dashed.decimal.decimal-leading-zero.default.default-button.dense.destination-atop.destination-in.destination-out.destination-over.difference.disc.discard.disclosure-closed.disclosure-open.document.dot-dash.dot-dot-dash.dotted.double.down.e-resize.ease.ease-in.ease-in-out.ease-out.element.ellipse.ellipsis.embed.end.ethiopic-abegede-gez.ethiopic-halehame-aa-er.ethiopic-halehame-gez.ew-resize.exclusion.expanded.extends.extra-condensed.extra-expanded.fantasy.fast.fill.fill-box.fixed.flat.flex.flex-end.flex-start.footnotes.forwards.from.geometricPrecision.graytext.grid.groove.hand.hard-light.help.hidden.hide.higher.highlight.highlighttext.horizontal.hsl.hsla.hue.icon.ignore.inactiveborder.inactivecaption.inactivecaptiontext.infinite.infobackground.infotext.inherit.initial.inline.inline-axis.inline-block.inline-flex.inline-grid.inline-table.inset.inside.intrinsic.invert.italic.justify.keep-all.landscape.large.larger.left.level.lighter.lighten.line-through.linear.linear-gradient.lines.list-item.listbox.listitem.local.logical.loud.lower.lower-hexadecimal.lower-latin.lower-norwegian.lowercase.ltr.luminosity.manipulation.match.matrix.matrix3d.medium.menu.menutext.message-box.middle.min-intrinsic.mix.monospace.move.multiple.multiple_mask_images.multiply.n-resize.narrower.ne-resize.nesw-resize.no-close-quote.no-drop.no-open-quote.no-repeat.none.normal.not-allowed.nowrap.ns-resize.numbers.numeric.nw-resize.nwse-resize.oblique.opacity.open-quote.optimizeLegibility.optimizeSpeed.outset.outside.outside-shape.overlay.overline.padding.padding-box.painted.page.paused.perspective.pinch-zoom.plus-darker.plus-lighter.pointer.polygon.portrait.pre.pre-line.pre-wrap.preserve-3d.progress.push-button.radial-gradient.radio.read-only.read-write.read-write-plaintext-only.rectangle.region.relative.repeat.repeating-linear-gradient.repeating-radial-gradient.repeat-x.repeat-y.reset.reverse.rgb.rgba.ridge.right.rotate.rotate3d.rotateX.rotateY.rotateZ.round.row.row-resize.row-reverse.rtl.run-in.running.s-resize.sans-serif.saturation.scale.scale3d.scaleX.scaleY.scaleZ.screen.scroll.scrollbar.scroll-position.se-resize.self-start.self-end.semi-condensed.semi-expanded.separate.serif.show.single.skew.skewX.skewY.skip-white-space.slide.slider-horizontal.slider-vertical.sliderthumb-horizontal.sliderthumb-vertical.slow.small.small-caps.small-caption.smaller.soft-light.solid.source-atop.source-in.source-out.source-over.space.space-around.space-between.space-evenly.spell-out.square.start.static.status-bar.stretch.stroke.stroke-box.sub.subpixel-antialiased.svg_masks.super.sw-resize.symbolic.symbols.system-ui.table.table-caption.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group.text.text-bottom.text-top.textarea.textfield.thick.thin.threeddarkshadow.threedface.threedhighlight.threedlightshadow.threedshadow.to.top.transform.translate.translate3d.translateX.translateY.translateZ.transparent.ultra-condensed.ultra-expanded.underline.unidirectional-pan.unset.up.upper-latin.uppercase.url.var.vertical.vertical-text.view-box.visible.visibleFill.visiblePainted.visibleStroke.visual.w-resize.wait.wave.wider.window.windowframe.windowtext.words.wrap.wrap-reverse.x-large.x-small.xor.xx-large.xx-small`.split(`.`).map(e=>({type:`keyword`,label:e})).concat(`aliceblue.antiquewhite.aqua.aquamarine.azure.beige.bisque.black.blanchedalmond.blue.blueviolet.brown.burlywood.cadetblue.chartreuse.chocolate.coral.cornflowerblue.cornsilk.crimson.cyan.darkblue.darkcyan.darkgoldenrod.darkgray.darkgreen.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dodgerblue.firebrick.floralwhite.forestgreen.fuchsia.gainsboro.ghostwhite.gold.goldenrod.gray.grey.green.greenyellow.honeydew.hotpink.indianred.indigo.ivory.khaki.lavender.lavenderblush.lawngreen.lemonchiffon.lightblue.lightcoral.lightcyan.lightgoldenrodyellow.lightgray.lightgreen.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightsteelblue.lightyellow.lime.limegreen.linen.magenta.maroon.mediumaquamarine.mediumblue.mediumorchid.mediumpurple.mediumseagreen.mediumslateblue.mediumspringgreen.mediumturquoise.mediumvioletred.midnightblue.mintcream.mistyrose.moccasin.navajowhite.navy.oldlace.olive.olivedrab.orange.orangered.orchid.palegoldenrod.palegreen.paleturquoise.palevioletred.papayawhip.peachpuff.peru.pink.plum.powderblue.purple.rebeccapurple.red.rosybrown.royalblue.saddlebrown.salmon.sandybrown.seagreen.seashell.sienna.silver.skyblue.slateblue.slategray.snow.springgreen.steelblue.tan.teal.thistle.tomato.turquoise.violet.wheat.white.whitesmoke.yellow.yellowgreen`.split(`.`).map(e=>({type:`constant`,label:e}))),Kh=`a.abbr.address.article.aside.b.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.dd.del.details.dfn.dialog.div.dl.dt.em.figcaption.figure.footer.form.header.hgroup.h1.h2.h3.h4.h5.h6.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.main.meter.nav.ol.output.p.pre.ruby.section.select.small.source.span.strong.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.tr.u.ul`.split(`.`).map(e=>({type:`type`,label:e})),qh=[`@charset`,`@color-profile`,`@container`,`@counter-style`,`@font-face`,`@font-feature-values`,`@font-palette-values`,`@import`,`@keyframes`,`@layer`,`@media`,`@namespace`,`@page`,`@position-try`,`@property`,`@scope`,`@starting-style`,`@supports`,`@view-transition`].map(e=>({type:`keyword`,label:e})),Jh=/^(\w[\w-]*|-\w[\w-]*|)$/,Yh=/^-(-[\w-]*)?$/;function Xh(e,t){if((e.name==`(`||e.type.isError)&&(e=e.parent||e),e.name!=`ArgList`)return!1;let n=e.parent?.firstChild;return n?.name==`Callee`&&t.sliceString(n.from,n.to)==`var`}var Zh=new y,Qh=[`Declaration`];function $h(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function eg(e,t,n){if(t.to-t.from>4096){let r=Zh.get(t);if(r)return r;let i=[],a=new Set,o=t.cursor(_.IncludeAnonymous);if(o.firstChild())do for(let t of eg(e,o.node,n))a.has(t.label)||(a.add(t.label),i.push(t));while(o.nextSibling());return Zh.set(t,i),i}{let r=[],i=new Set;return t.cursor().iterate(t=>{if(n(t)&&t.matchContext(Qh)&&t.node.nextSibling?.name==`:`){let n=e.sliceString(t.from,t.to);i.has(n)||(i.add(n),r.push({label:n,type:`variable`}))}}),r}}var tg=e=>n=>{let{state:r,pos:i}=n,a=t(r).resolveInner(i,-1),o=a.type.isError&&a.from==a.to-1&&r.doc.sliceString(a.from,a.to)==`-`;if(a.name==`PropertyName`||(o||a.name==`TagName`)&&/^(Block|Styles)$/.test(a.resolve(a.to).name))return{from:a.from,options:Uh(),validFor:Jh};if(a.name==`ValueName`)return{from:a.from,options:Gh,validFor:Jh};if(a.name==`PseudoClassName`)return{from:a.from,options:Wh,validFor:Jh};if(e(a)||(n.explicit||o)&&Xh(a,r.doc))return{from:e(a)||o?a.from:i,options:eg(r.doc,$h(a),e),validFor:Yh};if(a.name==`TagName`){for(let{parent:e}=a;e;e=e.parent)if(e.name==`Block`)return{from:a.from,options:Uh(),validFor:Jh};return{from:a.from,options:Kh,validFor:Jh}}if(a.name==`AtKeyword`)return{from:a.from,options:qh,validFor:Jh};if(!n.explicit)return null;let s=a.resolve(i),c=s.childBefore(i);return c&&c.name==`:`&&s.name==`PseudoClassSelector`?{from:i,options:Wh,validFor:Jh}:c&&c.name==`:`&&s.name==`Declaration`||s.name==`ArgList`?{from:i,options:Gh,validFor:Jh}:s.name==`Block`||s.name==`Styles`?{from:i,options:Uh(),validFor:Jh}:null},ng=tg(e=>e.name==`VariableName`),rg=Pe.define({name:`css`,parser:Bh.configure({props:[r.add({Declaration:Te()}),Ke.add({"Block KeyframeList":Be})]}),languageData:{commentTokens:{block:{open:`/*`,close:`*/`}},indentOnInput:/^\s*\}$/,wordChars:`-`}});function ig(){return new Re(rg,rg.data.of({autocomplete:ng}))}var ag=317,og=318,sg=1,cg=2,lg=3,ug=4,dg=319,fg=321,pg=322,mg=5,hg=6,gg=0,_g=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],vg=125,yg=59,bg=47,xg=42,Sg=43,Cg=45,wg=60,Tg=44,Eg=63,Dg=46,Og=91,kg=new Ie({start:!1,shift(e,t){return t==mg||t==hg||t==fg?e:t==pg},strict:!1}),Ag=new D((e,t)=>{let{next:n}=e;(n==vg||n==-1||t.context)&&e.acceptToken(dg)},{contextual:!0,fallback:!0}),jg=new D((e,t)=>{let{next:n}=e,r;_g.indexOf(n)>-1||(n!=bg||(r=e.peek(1))!=bg&&r!=xg)&&n!=vg&&n!=yg&&n!=-1&&!t.context&&e.acceptToken(ag)},{contextual:!0}),Mg=new D((e,t)=>{e.next==Og&&!t.context&&e.acceptToken(og)},{contextual:!0}),Ng=new D((e,t)=>{let{next:n}=e;if(n==Sg||n==Cg){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(sg);e.acceptToken(n?sg:cg)}}else n==Eg&&e.peek(1)==Dg&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(lg))},{contextual:!0});function Pg(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}var Fg=new D((e,t)=>{if(e.next!=wg||!t.dialectEnabled(gg)||(e.advance(),e.next==bg))return;let n=0;for(;_g.indexOf(e.next)>-1;)e.advance(),n++;if(Pg(e.next,!0)){for(e.advance(),n++;Pg(e.next,!1);)e.advance(),n++;for(;_g.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==Tg)return;for(let t=0;;t++){if(t==7){if(!Pg(e.next,!0))return;break}if(e.next!=`extends`.charCodeAt(t))break;e.advance(),n++}}e.acceptToken(ug,-n)}),Ig=m({"get set async static":h.modifier,"for while do if else switch try catch finally return throw break continue default case defer":h.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":h.operatorKeyword,"let var const using function class extends":h.definitionKeyword,"import export from":h.moduleKeyword,"with debugger new":h.keyword,TemplateString:h.special(h.string),super:h.atom,BooleanLiteral:h.bool,this:h.self,null:h.null,Star:h.modifier,VariableName:h.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":h.function(h.variableName),VariableDefinition:h.definition(h.variableName),Label:h.labelName,PropertyName:h.propertyName,PrivatePropertyName:h.special(h.propertyName),"CallExpression/MemberExpression/PropertyName":h.function(h.propertyName),"FunctionDeclaration/VariableDefinition":h.function(h.definition(h.variableName)),"ClassDeclaration/VariableDefinition":h.definition(h.className),"NewExpression/VariableName":h.className,PropertyDefinition:h.definition(h.propertyName),PrivatePropertyDefinition:h.definition(h.special(h.propertyName)),UpdateOp:h.updateOperator,"LineComment Hashbang":h.lineComment,BlockComment:h.blockComment,Number:h.number,String:h.string,Escape:h.escape,ArithOp:h.arithmeticOperator,LogicOp:h.logicOperator,BitOp:h.bitwiseOperator,CompareOp:h.compareOperator,RegExp:h.regexp,Equals:h.definitionOperator,Arrow:h.function(h.punctuation),": Spread":h.punctuation,"( )":h.paren,"[ ]":h.squareBracket,"{ }":h.brace,"InterpolationStart InterpolationEnd":h.special(h.brace),".":h.derefOperator,", ;":h.separator,"@":h.meta,TypeName:h.typeName,TypeDefinition:h.definition(h.typeName),"type enum interface implements namespace module declare":h.definitionKeyword,"abstract global Privacy readonly override":h.modifier,"is keyof unique infer asserts":h.operatorKeyword,JSXAttributeValue:h.attributeValue,JSXText:h.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":h.angleBracket,"JSXIdentifier JSXNameSpacedName":h.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":h.attributeName,"JSXBuiltin/JSXIdentifier":h.standard(h.tagName)}),Lg={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:237,private:237,protected:237,readonly:239,instanceof:258,satisfies:261,import:294,keyof:351,unique:355,infer:361,asserts:397,is:399,abstract:419,implements:421,type:423,let:426,var:428,using:431,interface:437,enum:441,namespace:447,module:449,declare:453,global:457,defer:473,for:478,of:487,while:490,with:494,do:498,if:502,else:504,switch:508,case:514,try:520,catch:524,finally:528,return:532,throw:536,break:540,continue:544,debugger:548},Rg={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:403},zg={__proto__:null,"<":193},Bg=Me.deserialize({version:14,states:"$GSQ%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Im'#ImO1XQ`O'#GtO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JsO6[Q!0MxO'#JtO6uQ`O'#F^O6zQ,UO'#FuOOQ!0Lf'#Fg'#FgO7VO7dO'#FgO9XQMhO'#F}O9`Q`O'#F|OOQ!0Lf'#Jt'#JtOOQ!0Lb'#Js'#JsO9eQ`O'#GxOOQ['#K`'#K`O9pQ`O'#IZO9uQ!0LrO'#I[OOQ['#Ja'#JaOOQ['#I`'#I`Q`QlOOQ`QlOOO9}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$lfR)y$qT)n$l)oR4X/WT*`$x*cT*i${*ZQ0y+hQ1i,XQ3a.hQ5v1kQ6R1sQ7Z3eQ8t6UQ9e7YQ:`8sQ:r9dQ;]:bQ;e:tQ;p;^R;s;fnqOXst!Z#d%m&r&t&u&w,u,z2^2aQ&l!VR,j&itmOXst!U!V!Z#d%m&i&r&t&u&w,u,z2^2aR,q&oT%lm,qR1m,ZR,i&gQ&U|S,P&V&WR1`,QR+u&PT&p!W&sT&q!W&sT2`,z2a",nodeNames:`⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty VariableDefinition Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem`,maxTerm:381,context:kg,nodeProps:[[`isolate`,-8,5,6,14,37,39,51,53,55,``],[`group`,-26,9,17,19,68,208,212,216,217,219,222,225,235,238,244,246,248,250,253,259,265,267,269,271,273,275,276,`Statement`,-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,121,122,137,140,142,143,144,145,146,148,149,168,170,172,`Expression`,-23,31,33,37,41,43,45,174,176,178,179,181,182,183,185,186,187,189,190,191,202,204,206,207,`Type`,-3,88,103,109,`ClassItem`],[`openedBy`,23,`<`,38,`InterpolationStart`,56,`[`,60,`{`,73,`(`,161,`JSXStartCloseTag`],[`closedBy`,-2,24,169,`>`,40,`InterpolationEnd`,50,`]`,61,`}`,74,`)`,166,`JSXEndTag`]],propSources:[Ig],skippedNodes:[0,5,6,279],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/m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O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$j&j(Xp([!b(O0/l$^#t(U,2j(f$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[jg,Mg,Ng,Fg,2,3,4,5,6,7,8,9,10,11,12,13,14,Ag,new Se("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(d~~",141,341),new Se(`j~RQYZXz{^~^O(R~~aP!P!Qd~iO(S~~`,25,324)],topRules:{Script:[0,7],SingleExpression:[1,277],SingleClassItem:[2,278]},dialects:{jsx:0,ts:15179},dynamicPrecedences:{80:1,82:1,94:1,170:1,200:1},specialized:[{term:328,get:e=>Lg[e]||-1},{term:344,get:e=>Rg[e]||-1},{term:95,get:e=>zg[e]||-1}],tokenPrec:15205}),Vg=nt({autoCloseTags:()=>d_,javascript:()=>s_,javascriptLanguage:()=>$g,jsxLanguage:()=>n_,localCompletionSource:()=>Qg,snippets:()=>Hg,tsxLanguage:()=>r_,typescriptLanguage:()=>t_,typescriptSnippets:()=>Ug}),Hg=[gf("function ${name}(${params}) {\n ${}\n}",{label:`function`,detail:`definition`,type:`keyword`}),gf("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:`for`,detail:`loop`,type:`keyword`}),gf("for (let ${name} of ${collection}) {\n ${}\n}",{label:`for`,detail:`of loop`,type:`keyword`}),gf(`do {
|
|
86
|
+
\${}
|
|
87
|
+
} while (\${})`,{label:`do`,detail:`loop`,type:`keyword`}),gf(`while (\${}) {
|
|
88
|
+
\${}
|
|
89
|
+
}`,{label:`while`,detail:`loop`,type:`keyword`}),gf(`try {
|
|
90
|
+
\${}
|
|
91
|
+
} catch (\${error}) {
|
|
92
|
+
\${}
|
|
93
|
+
}`,{label:`try`,detail:`/ catch block`,type:`keyword`}),gf(`if (\${}) {
|
|
94
|
+
\${}
|
|
95
|
+
}`,{label:`if`,detail:`block`,type:`keyword`}),gf(`if (\${}) {
|
|
96
|
+
\${}
|
|
97
|
+
} else {
|
|
98
|
+
\${}
|
|
99
|
+
}`,{label:`if`,detail:`/ else block`,type:`keyword`}),gf(`class \${name} {
|
|
100
|
+
constructor(\${params}) {
|
|
101
|
+
\${}
|
|
102
|
+
}
|
|
103
|
+
}`,{label:`class`,detail:`definition`,type:`keyword`}),gf('import {${names}} from "${module}"\n${}',{label:`import`,detail:`named`,type:`keyword`}),gf('import ${name} from "${module}"\n${}',{label:`import`,detail:`default`,type:`keyword`})],Ug=Hg.concat([gf(`interface \${name} {
|
|
104
|
+
\${}
|
|
105
|
+
}`,{label:`interface`,detail:`definition`,type:`keyword`}),gf("type ${name} = ${type}",{label:`type`,detail:`definition`,type:`keyword`}),gf(`enum \${name} {
|
|
106
|
+
\${}
|
|
107
|
+
}`,{label:`enum`,detail:`definition`,type:`keyword`})]),Wg=new y,Gg=new Set([`Script`,`Block`,`FunctionExpression`,`FunctionDeclaration`,`ArrowFunction`,`MethodDeclaration`,`ForStatement`]);function Kg(e){return(t,n)=>{let r=t.node.getChild(`VariableDefinition`);return r&&n(r,e),!0}}var qg=[`FunctionDeclaration`],Jg={FunctionDeclaration:Kg(`function`),ClassDeclaration:Kg(`class`),ClassExpression:()=>!0,EnumDeclaration:Kg(`constant`),TypeAliasDeclaration:Kg(`type`),NamespaceDeclaration:Kg(`namespace`),VariableDefinition(e,t){e.matchContext(qg)||t(e,`variable`)},TypeDefinition(e,t){t(e,`type`)},__proto__:null};function Yg(e,t){let n=Wg.get(t);if(n)return n;let r=[],i=!0;function a(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(_.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let e=Jg[t.name];if(e&&e(t,a)||Gg.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of Yg(e,t.node))r.push(n);return!1}}),Wg.set(t,r),r}var Xg=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Zg=[`TemplateString`,`String`,`RegExp`,`LineComment`,`BlockComment`,`VariableDefinition`,`TypeDefinition`,`Label`,`PropertyDefinition`,`PropertyName`,`PrivatePropertyDefinition`,`PrivatePropertyName`,`JSXText`,`JSXAttributeValue`,`JSXOpenTag`,`JSXCloseTag`,`JSXSelfClosingTag`,`.`,`?.`];function Qg(e){let n=t(e.state).resolveInner(e.pos,-1);if(Zg.indexOf(n.name)>-1)return null;let r=n.name==`VariableName`||n.to-n.from<20&&Xg.test(e.state.sliceDoc(n.from,n.to));if(!r&&!e.explicit)return null;let i=[];for(let t=n;t;t=t.parent)Gg.has(t.name)&&(i=i.concat(Yg(e.state.doc,t)));return{options:i,from:r?n.from:e.pos,validFor:Xg}}var $g=Pe.define({name:`javascript`,parser:Bg.configure({props:[r.add({IfStatement:Te({except:/^\s*({|else\b)/}),TryStatement:Te({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:oe,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:ve({closing:`}`}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Te({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),Ke.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Be,BlockComment(e){return{from:e.from+2,to:e.to-2}},JSXElement(e){let t=e.firstChild;if(!t||t.name==`JSXSelfClosingTag`)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){let t=e.firstChild?.nextSibling,n=e.lastChild;return!t||t.type.isError?null:{from:t.to,to:n.type.isError?e.to:n.from}}})]}),languageData:{closeBrackets:{brackets:[`(`,`[`,`{`,`'`,`"`,"`"]},commentTokens:{line:`//`,block:{open:`/*`,close:`*/`}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:`$`}}),e_={test:e=>/^JSX/.test(e.name),facet:be({commentTokens:{block:{open:`{/*`,close:`*/}`}}})},t_=$g.configure({dialect:`ts`},`typescript`),n_=$g.configure({dialect:`jsx`,props:[g.add(e=>e.isTop?[e_]:void 0)]}),r_=$g.configure({dialect:`jsx ts`,props:[g.add(e=>e.isTop?[e_]:void 0)]},`typescript`),i_=e=>({label:e,type:`keyword`}),a_=`break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield`.split(` `).map(i_),o_=a_.concat([`declare`,`implements`,`private`,`protected`,`public`].map(i_));function s_(e={}){let t=e.jsx?e.typescript?r_:n_:e.typescript?t_:$g,n=e.typescript?Ug.concat(o_):Hg.concat(a_);return new Re(t,[$g.data.of({autocomplete:Xd(Zg,Yd(n))}),$g.data.of({autocomplete:Qg}),e.jsx?d_:[]])}function c_(e){for(;;){if(e.name==`JSXOpenTag`||e.name==`JSXSelfClosingTag`||e.name==`JSXFragmentTag`)return e;if(e.name==`JSXEscape`||!e.parent)return null;e=e.parent}}function l_(e,t,n=e.length){for(let r=t?.firstChild;r;r=r.nextSibling)if(r.name==`JSXIdentifier`||r.name==`JSXBuiltin`||r.name==`JSXNamespacedName`||r.name==`JSXMemberExpression`)return e.sliceString(r.from,Math.min(r.to,n));return``}var u_=typeof navigator==`object`&&/Android\b/.test(navigator.userAgent),d_=S.inputHandler.of((e,n,r,i,a)=>{if((u_?e.composing:e.compositionStarted)||e.state.readOnly||n!=r||i!=`>`&&i!=`/`||!$g.isActiveAt(e.state,n,-1))return!1;let o=a(),{state:s}=o,c=s.changeByRange(e=>{let{head:n}=e,r=t(s).resolveInner(n-1,-1),a;if(r.name==`JSXStartTag`&&(r=r.parent),!(s.doc.sliceString(n-1,n)!=i||r.name==`JSXAttributeValue`&&r.to>n)){if(i==`>`&&r.name==`JSXFragmentTag`)return{range:e,changes:{from:n,insert:`</>`}};if(i==`/`&&r.name==`JSXStartCloseTag`){let e=r.parent,t=e.parent;if(t&&e.from==n-2&&((a=l_(s.doc,t.firstChild,n))||t.firstChild?.name==`JSXFragmentTag`)){let e=`${a}>`;return{range:C.cursor(n+e.length,-1),changes:{from:n,insert:e}}}}else if(i==`>`){let t=c_(r);if(t&&t.name==`JSXOpenTag`&&!/^\/?>|^<\//.test(s.doc.sliceString(n,n+2))&&(a=l_(s.doc,t,n)))return{range:e,changes:{from:n,insert:`</${a}>`}}}}return{range:e}});return!c.changes.empty&&(e.dispatch([o,s.update(c,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)}),f_=nt({autoCloseTags:()=>U_,html:()=>B_,htmlCompletionSource:()=>N_,htmlCompletionSourceWith:()=>P_,htmlLanguage:()=>z_}),p_=[`_blank`,`_self`,`_top`,`_parent`],m_=[`ascii`,`utf-8`,`utf-16`,`latin1`,`latin1`],h_=[`get`,`post`,`put`,`delete`],g_=[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],__=[`true`,`false`],Z={},v_={a:{attrs:{href:null,ping:null,type:null,media:null,target:p_,hreflang:null}},abbr:Z,address:Z,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:[`default`,`rect`,`circle`,`poly`]}},article:Z,aside:Z,audio:{attrs:{src:null,mediagroup:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`none`,`metadata`,`auto`],autoplay:[`autoplay`],loop:[`loop`],controls:[`controls`]}},b:Z,base:{attrs:{href:null,target:p_}},bdi:Z,bdo:Z,blockquote:{attrs:{cite:null}},body:Z,br:Z,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:[`autofocus`],disabled:[`autofocus`],formenctype:g_,formmethod:h_,formnovalidate:[`novalidate`],formtarget:p_,type:[`submit`,`reset`,`button`]}},canvas:{attrs:{width:null,height:null}},caption:Z,center:Z,cite:Z,code:Z,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:[`command`,`checkbox`,`radio`],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:[`disabled`],checked:[`checked`]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:[`disabled`],multiple:[`multiple`]}},datalist:{attrs:{data:null}},dd:Z,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:[`open`]}},dfn:Z,div:Z,dl:Z,dt:Z,em:Z,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:[`disabled`],form:null,name:null}},figcaption:Z,figure:Z,footer:Z,form:{attrs:{action:null,name:null,"accept-charset":m_,autocomplete:[`on`,`off`],enctype:g_,method:h_,novalidate:[`novalidate`],target:p_}},h1:Z,h2:Z,h3:Z,h4:Z,h5:Z,h6:Z,head:{children:[`title`,`base`,`link`,`style`,`meta`,`script`,`noscript`,`command`]},header:Z,hgroup:Z,hr:Z,html:{attrs:{manifest:null}},i:Z,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:[`allow-top-navigation`,`allow-same-origin`,`allow-forms`,`allow-scripts`],seamless:[`seamless`]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:[`audio/*`,`video/*`,`image/*`],autocomplete:[`on`,`off`],autofocus:[`autofocus`],checked:[`checked`],disabled:[`disabled`],formenctype:g_,formmethod:h_,formnovalidate:[`novalidate`],formtarget:p_,multiple:[`multiple`],readonly:[`readonly`],required:[`required`],type:[`hidden`,`text`,`search`,`tel`,`url`,`email`,`password`,`datetime`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`]}},ins:{attrs:{cite:null,datetime:null}},kbd:Z,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:[`autofocus`],disabled:[`disabled`],keytype:[`RSA`]}},label:{attrs:{for:null,form:null}},legend:Z,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:[`all`,`16x16`,`16x16 32x32`,`16x16 32x32 64x64`]}},map:{attrs:{name:null}},mark:Z,menu:{attrs:{label:null,type:[`list`,`context`,`toolbar`]}},meta:{attrs:{content:null,charset:m_,name:[`viewport`,`application-name`,`author`,`description`,`generator`,`keywords`],"http-equiv":[`content-language`,`content-type`,`default-style`,`refresh`]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Z,noscript:Z,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:[`typemustmatch`]}},ol:{attrs:{reversed:[`reversed`],start:null,type:[`1`,`a`,`A`,`i`,`I`]},children:[`li`,`script`,`template`,`ul`,`ol`]},optgroup:{attrs:{disabled:[`disabled`],label:null}},option:{attrs:{disabled:[`disabled`],label:null,selected:[`selected`],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Z,param:{attrs:{name:null,value:null}},pre:Z,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Z,rt:Z,ruby:Z,samp:Z,script:{attrs:{type:[`text/javascript`],src:null,async:[`async`],defer:[`defer`],charset:m_}},section:Z,select:{attrs:{form:null,name:null,size:null,autofocus:[`autofocus`],disabled:[`disabled`],multiple:[`multiple`]}},slot:{attrs:{name:null}},small:Z,source:{attrs:{src:null,type:null,media:null}},span:Z,strong:Z,style:{attrs:{type:[`text/css`],media:null,scoped:null}},sub:Z,summary:Z,sup:Z,table:Z,tbody:Z,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Z,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:[`autofocus`],disabled:[`disabled`],readonly:[`readonly`],required:[`required`],wrap:[`soft`,`hard`]}},tfoot:Z,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:[`row`,`col`,`rowgroup`,`colgroup`]}},thead:Z,time:{attrs:{datetime:null}},title:Z,tr:Z,track:{attrs:{src:null,label:null,default:null,kind:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],srclang:null}},ul:{children:[`li`,`script`,`template`,`ul`,`ol`]},var:Z,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`auto`,`metadata`,`none`],autoplay:[`autoplay`],mediagroup:[`movie`],muted:[`muted`],controls:[`controls`]}},wbr:Z},y_={accesskey:null,class:null,contenteditable:__,contextmenu:null,dir:[`ltr`,`rtl`,`auto`],draggable:[`true`,`false`,`auto`],dropzone:[`copy`,`move`,`link`,`string:`,`file:`],hidden:[`hidden`],id:null,inert:[`inert`],itemid:null,itemprop:null,itemref:null,itemscope:[`itemscope`],itemtype:null,lang:[`ar`,`bn`,`de`,`en-GB`,`en-US`,`es`,`fr`,`hi`,`id`,`ja`,`pa`,`pt`,`ru`,`tr`,`zh`],spellcheck:__,autocorrect:__,autocapitalize:__,style:null,tabindex:null,title:null,translate:[`yes`,`no`],rel:[`stylesheet`,`alternate`,`author`,`bookmark`,`help`,`license`,`next`,`nofollow`,`noreferrer`,`prefetch`,`prev`,`search`,`tag`],role:`alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer`.split(` `),"aria-activedescendant":null,"aria-atomic":__,"aria-autocomplete":[`inline`,`list`,`both`,`none`],"aria-busy":__,"aria-checked":[`true`,`false`,`mixed`,`undefined`],"aria-controls":null,"aria-describedby":null,"aria-disabled":__,"aria-dropeffect":null,"aria-expanded":[`true`,`false`,`undefined`],"aria-flowto":null,"aria-grabbed":[`true`,`false`,`undefined`],"aria-haspopup":__,"aria-hidden":__,"aria-invalid":[`true`,`false`,`grammar`,`spelling`],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":[`off`,`polite`,`assertive`],"aria-multiline":__,"aria-multiselectable":__,"aria-owns":null,"aria-posinset":null,"aria-pressed":[`true`,`false`,`mixed`,`undefined`],"aria-readonly":__,"aria-relevant":null,"aria-required":__,"aria-selected":[`true`,`false`,`undefined`],"aria-setsize":null,"aria-sort":[`ascending`,`descending`,`none`,`other`],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},b_=`beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload`.split(` `).map(e=>`on`+e);for(let e of b_)y_[e]=null;var x_=class{constructor(e,t){this.tags={...v_,...e},this.globalAttrs={...y_,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};x_.default=new x_;function S_(e,t,n=e.length){if(!t)return``;let r=t.firstChild,i=r&&r.getChild(`TagName`);return i?e.sliceString(i.from,Math.min(i.to,n)):``}function C_(e,t=!1){for(;e;e=e.parent)if(e.name==`Element`){if(t)t=!1;else return e}return null}function w_(e,t,n){return n.tags[S_(e,C_(t))]?.children||n.allTags}function T_(e,t){let n=[];for(let r=C_(t);r&&!r.type.isTop;r=C_(r.parent)){let i=S_(e,r);if(i&&r.lastChild.name==`CloseTag`)break;i&&n.indexOf(i)<0&&(t.name==`EndTag`||t.from>=r.firstChild.to)&&n.push(i)}return n}var E_=/^[:\-\.\w\u00b7-\uffff]*$/;function D_(e,t,n,r,i){let a=/\s*>/.test(e.sliceDoc(i,i+5))?``:`>`,o=C_(n,n.name==`StartTag`||n.name==`TagName`);return{from:r,to:i,options:w_(e.doc,o,t).map(e=>({label:e,type:`type`})).concat(T_(e.doc,n).map((e,t)=>({label:`/`+e,apply:`/`+e+a,type:`type`,boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function O_(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?``:`>`;return{from:n,to:r,options:T_(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:`type`,boost:99-t})),validFor:E_}}function k_(e,t,n,r){let i=[],a=0;for(let r of w_(e.doc,n,t))i.push({label:`<`+r,type:`type`});for(let t of T_(e.doc,n))i.push({label:`</`+t+`>`,type:`type`,boost:99-a++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function A_(e,t,n,r,i){let a=C_(n),o=a?t.tags[S_(e.doc,a)]:null,s=o&&o.attrs?Object.keys(o.attrs):[];return{from:r,to:i,options:(o&&o.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:`property`})),validFor:E_}}function j_(e,t,n,r,i){let a=n.parent?.getChild(`AttributeName`),o=[],s;if(a){let c=e.sliceDoc(a.from,a.to),l=t.globalAttrs[c];if(!l){let r=C_(n),i=r?t.tags[S_(e.doc,r)]:null;l=i?.attrs&&i.attrs[c]}if(l){let t=e.sliceDoc(r,i).toLowerCase(),n=`"`,a=`"`;/^['"]/.test(t)?(s=t[0]==`"`?/^[^"]*$/:/^[^']*$/,n=``,a=e.sliceDoc(i,i+1)==t[0]?``:t[0],t=t.slice(1),r++):s=/^[^\s<>='"]*$/;for(let e of l)o.push({label:e,apply:n+e+a,type:`constant`})}}return{from:r,to:i,options:o,validFor:s}}function M_(e,n){let{state:r,pos:i}=n,a=t(r).resolveInner(i,-1),o=a.resolve(i);for(let e=i,t;o==a&&(t=a.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;o=a=t,e=n.from}return a.name==`TagName`?a.parent&&/CloseTag$/.test(a.parent.name)?O_(r,a,a.from,i):D_(r,e,a,a.from,i):a.name==`StartTag`||a.name==`IncompleteTag`?D_(r,e,a,i,i):a.name==`StartCloseTag`||a.name==`IncompleteCloseTag`?O_(r,a,i,i):a.name==`OpenTag`||a.name==`SelfClosingTag`||a.name==`AttributeName`?A_(r,e,a,a.name==`AttributeName`?a.from:i,i):a.name==`Is`||a.name==`AttributeValue`||a.name==`UnquotedAttributeValue`?j_(r,e,a,a.name==`Is`?i:a.from,i):n.explicit&&(o.name==`Element`||o.name==`Text`||o.name==`Document`)?k_(r,e,a,i):null}function N_(e){return M_(x_.default,e)}function P_(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new x_(t,n):x_.default;return e=>M_(r,e)}var F_=$g.parser.configure({top:`SingleExpression`}),I_=[{tag:`script`,attrs:e=>e.type==`text/typescript`||e.lang==`ts`,parser:t_.parser},{tag:`script`,attrs:e=>e.type==`text/babel`||e.type==`text/jsx`,parser:n_.parser},{tag:`script`,attrs:e=>e.type==`text/typescript-jsx`,parser:r_.parser},{tag:`script`,attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:F_},{tag:`script`,attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:$g.parser},{tag:`style`,attrs(e){return(!e.lang||e.lang==`css`)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:rg.parser}],L_=[{name:`style`,parser:rg.parser.configure({top:`Styles`})}].concat(b_.map(e=>({name:e,parser:$g.parser}))),R_=Pe.define({name:`html`,parser:Qm.configure({props:[r.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||e.name!=`Element`||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&(n.name==`CloseTag`||n.name==`SelfClosingTag`))?e.lineIndent(t.from)+e.unit:null}}),Ke.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!=`OpenTag`?null:{from:t.to,to:n.name==`CloseTag`?n.from:e.to}}}),ke.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:`-_`}}),z_=R_.configure({wrap:nh(I_,L_)});function B_(e={}){let t=``,n;e.matchClosingTags===!1&&(t=`noMatch`),e.selfClosingTags===!0&&(t=(t?t+` `:``)+`selfClosing`),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=nh((e.nestedLanguages||[]).concat(I_),(e.nestedAttributes||[]).concat(L_)));let r=n?R_.configure({wrap:n,dialect:t}):t?z_.configure({dialect:t}):z_;return new Re(r,[z_.data.of({autocomplete:P_(e)}),e.autoCloseTags===!1?[]:U_,s_().support,ig().support])}var V_=new Set(`area base br col command embed frame hr img input keygen link meta param source track wbr menuitem`.split(` `));function H_(e,t,n){for(;;){if(t.lastChild?.name!=`CloseTag`)return!1;let r=t.parent;if(!r||S_(e,r)!=n)return!0;t=r}}var U_=S.inputHandler.of((e,n,r,i,a)=>{if(e.composing||e.state.readOnly||n!=r||i!=`>`&&i!=`/`||!z_.isActiveAt(e.state,n,-1))return!1;let o=a(),{state:s}=o,c=s.changeByRange(e=>{let n=s.doc.sliceString(e.from-1,e.to)==i,{head:r}=e,a=t(s).resolveInner(r,-1),o;if(n&&i==`>`&&a.name==`EndTag`){let t=a.parent;if((o=S_(s.doc,t.parent,r))&&!V_.has(o)&&!H_(s.doc,t.parent,o))return{range:e,changes:{from:r,to:r+ +(s.doc.sliceString(r,r+1)===`>`),insert:`</${o}>`}}}else if(n&&i==`/`&&a.name==`IncompleteCloseTag`){let e=a.parent;if(a.from==r-2&&e.lastChild?.name!=`CloseTag`&&(o=S_(s.doc,e,r))&&!V_.has(o)){let e=r+ +(s.doc.sliceString(r,r+1)===`>`),t=`${o}>`;return{range:C.cursor(r+t.length,-1),changes:{from:r,to:e,insert:t}}}}return{range:e}});return!c.changes.empty&&(e.dispatch([o,s.update(c,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)}),W_=nt({commonmarkLanguage:()=>$_,deleteMarkupBackward:()=>pv,insertNewlineContinueMarkup:()=>cv,insertNewlineContinueMarkupCommand:()=>sv,markdown:()=>gv,markdownKeymap:()=>mv,markdownLanguage:()=>ev,pasteURLAsLink:()=>xv}),G_=be({commentTokens:{block:{open:`<!--`,close:`-->`}}}),K_=new s,q_=Sp.configure({props:[Ke.add(e=>!e.is(`Block`)||e.is(`Document`)||J_(e)!=null||Y_(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),K_.add(J_),r.add({Document:()=>null}),o.add({Document:G_})]});function J_(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function Y_(e){return e.name==`OrderedList`||e.name==`BulletList`}function X_(e,t){let n=e;for(;;){let e=n.nextSibling,r;if(!e||(r=J_(e.type))!=null&&r<=t)break;n=e}return n.to}var Z_=ue.of((e,n,r)=>{for(let i=t(e).resolveInner(r,-1);i&&!(i.from<n);i=i.parent){let e=i.type.prop(K_);if(e==null)continue;let t=X_(i,e);if(t>r)return{from:r,to:t}}return null});function Q_(e){return new fe(G_,e,[],`markdown`)}var $_=Q_(q_),ev=Q_(q_.configure([Hp,Gp,Wp,Kp,{props:[Ke.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));function tv(e,t){return n=>{if(n&&e){let t=null;if(n=/\S*/.exec(n)[0],t=typeof e==`function`?e(n):E.matchLanguageName(e,n,!0),t instanceof E)return t.support?t.support.language.parser:pe.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}}var nv=class{constructor(e,t,n,r,i,a,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=i,this.type=a,this.item=o}blank(e,t=!0){let n=this.spaceBefore+(this.node.name==`Blockquote`?`>`:``);if(e!=null){for(;n.length<e;)n+=` `;return n}for(let e=this.to-this.from-n.length-this.spaceAfter.length;e>0;e--)n+=` `;return n+(t?this.spaceAfter:``)}marker(e,t){let n=this.node.name==`OrderedList`?String(+iv(this.item,e)[2]+t):``;return this.spaceBefore+n+this.type+this.spaceAfter}};function rv(e,t){let n=[],r=[];for(let t=e;t;t=t.parent){if(t.name==`FencedCode`)return r;(t.name==`ListItem`||t.name==`Blockquote`)&&n.push(t)}for(let e=n.length-1;e>=0;e--){let i=n[e],a,o=t.lineAt(i.from),s=i.from-o.from;if(i.name==`Blockquote`&&(a=/^ *>( ?)/.exec(o.text.slice(s))))r.push(new nv(i,s,s+a[0].length,``,a[1],`>`,null));else if(i.name==`ListItem`&&i.parent.name==`OrderedList`&&(a=/^( *)\d+([.)])( *)/.exec(o.text.slice(s)))){let e=a[3],t=a[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new nv(i.parent,s,s+t,a[1],e,a[2],i))}else if(i.name==`ListItem`&&i.parent.name==`BulletList`&&(a=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(s)))){let e=a[4],t=a[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=a[2];a[3]&&(n+=a[3].replace(/[xX]/,` `)),r.push(new nv(i.parent,s,s+t,a[1],e,n,i))}}return r}function iv(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function av(e,t,n,r=0){for(let i=-1,a=e;;){if(a.name==`ListItem`){let e=iv(a,t),o=+e[2];if(i>=0){if(o!=i+1)return;n.push({from:a.from+e[1].length,to:a.from+e[0].length,insert:String(i+2+r)})}i=o}let e=a.nextSibling;if(!e)break;a=e}}function ov(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||t.facet(te)!=` `)return e;let r=ee(e,4,n),i=``;for(let e=r;e>0;)e>=4?(i+=` `,e-=4):(i+=` `,e--);return i+e.slice(n)}var sv=(e={})=>({state:n,dispatch:r})=>{let i=t(n),{doc:a}=n,o=null,s=n.changeByRange(t=>{if(!t.empty||!ev.isActiveAt(n,t.from,-1)&&!ev.isActiveAt(n,t.from,1))return o={range:t};let r=t.from,s=a.lineAt(r),c=rv(i.resolveInner(r,-1),a);for(;c.length&&c[c.length-1].from>r-s.from;)c.pop();if(!c.length)return o={range:t};let l=c[c.length-1];if(l.to-l.spaceAfter.length>r-s.from)return o={range:t};let u=r>=l.to-l.spaceAfter.length&&!/\S/.test(s.text.slice(l.to));if(l.item&&u){if(l.item.from<s.from&&!/^[\s>]*$/.test(s.text.slice(0,l.to)))return o={range:t};let i=l.node.firstChild,u=l.node.getChild(`ListItem`,`ListItem`);if(i.to>=r||u&&u.to<r||s.from>0&&!/[^\s>]/.test(a.lineAt(s.from-1).text)||e.nonTightLists===!1){let e=c.length>1?c[c.length-2]:null,t,n=``;e&&e.item?(t=s.from+e.from,n=e.marker(a,1)):t=s.from+(e?e.to:0);let i=[{from:t,to:r,insert:n}];return l.node.name==`OrderedList`&&av(l.item,a,i,-2),e&&e.node.name==`OrderedList`&&av(e.item,a,i),{range:C.cursor(t+n.length),changes:i}}{let e=dv(c,n,s);return{range:C.cursor(r+e.length+1),changes:{from:s.from,insert:e+n.lineBreak}}}}if(l.node.name==`Blockquote`&&u&&s.from){let e=a.lineAt(s.from-1),r=/>\s*$/.exec(e.text);if(r&&r.index==l.from){let i=n.changes([{from:e.from+r.index,to:e.to},{from:s.from+l.from,to:s.to}]);return{range:t.map(i),changes:i}}}let d=[];l.node.name==`OrderedList`&&av(l.item,a,d);let f=l.item&&l.item.from<s.from,p=``;if(!f||/^[\s\d.)\-+*>]*/.exec(s.text)[0].length>=l.to)for(let e=0,t=c.length-1;e<=t;e++)p+=e==t&&!f?c[e].marker(a,1):c[e].blank(e<t?ee(s.text,4,c[e+1].from)-p.length:null);let m=r;for(;m>s.from&&/\s/.test(s.text.charAt(m-s.from-1));)m--;return p=ov(p,n),uv(l.node,n.doc)&&(p=dv(c,n,s)+n.lineBreak+p),d.push({from:m,to:r,insert:n.lineBreak+p}),{range:C.cursor(m+p.length+1),changes:d}});return!o&&(r(n.update(s,{scrollIntoView:!0,userEvent:`input`})),!0)},cv=sv();function lv(e){return e.name==`QuoteMark`||e.name==`ListMark`}function uv(e,t){if(e.name!=`OrderedList`&&e.name!=`BulletList`)return!1;let n=e.firstChild,r=e.getChild(`ListItem`,`ListItem`);if(!r)return!1;let i=t.lineAt(n.to),a=t.lineAt(r.from),o=/^[\s>]*$/.test(i.text);return i.number+ +!o<a.number}function dv(e,t,n){let r=``;for(let t=0,i=e.length-2;t<=i;t++)r+=e[t].blank(t<i?ee(n.text,4,e[t+1].from)-r.length:null,t<i);return ov(r,t)}function fv(e,t){let n=e.resolveInner(t,-1),r=t;lv(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(lv(e))r=e.from;else if(e.name==`OrderedList`||e.name==`BulletList`)n=e.lastChild,r=n.to;else break;return n}var pv=({state:e,dispatch:n})=>{let r=t(e),i=null,a=e.changeByRange(t=>{let n=t.from,{doc:a}=e;if(t.empty&&ev.isActiveAt(e,t.from)){let t=a.lineAt(n),i=rv(fv(r,n),a);if(i.length){let r=i[i.length-1],a=r.to-r.spaceAfter.length+ +!!r.spaceAfter;if(n-t.from>a&&!/\S/.test(t.text.slice(a,n-t.from)))return{range:C.cursor(t.from+a),changes:{from:t.from+a,to:n}};if(n-t.from==a&&(r.item&&t.from<=r.item.from||/^[\s>]*$/.test(t.text.slice(0,r.to)))){let i=t.from+r.from;if(r.item&&r.node.from<r.item.from&&/\S/.test(t.text.slice(r.from,r.to))){let n=r.blank(ee(t.text,4,r.to)-ee(t.text,4,r.from));return i==t.from&&(n=ov(n,e)),{range:C.cursor(i+n.length),changes:{from:i,to:t.from+r.to,insert:n}}}if(i<n)return{range:C.cursor(i),changes:{from:i,to:n}}}}}return i={range:t}});return!i&&(n(e.update(a,{scrollIntoView:!0,userEvent:`delete`})),!0)},mv=[{key:`Enter`,run:cv},{key:`Backspace`,run:pv}],hv=B_({matchClosingTags:!1});function gv(e={}){let{codeLanguages:t,defaultCodeLanguage:n,addKeymap:r=!0,base:{parser:i}=$_,completeHTMLTags:a=!0,pasteURLAsLink:o=!0,htmlTagLanguage:s=hv}=e;if(!(i instanceof Yf))throw RangeError("Base parser provided to `markdown` should be a Markdown parser");let c=e.extensions?[e.extensions]:[],l=[s.support,Z_],u;o&&l.push(xv),n instanceof Re?(l.push(n.support),u=n.language):n&&(u=n);let d=t||u?tv(t,u):void 0;c.push(wp({codeParser:d,htmlParser:s.language.parser})),r&&l.push(_e.high(ae.of(mv)));let f=Q_(i.configure(c));return a&&l.push(f.data.of({autocomplete:_v})),new Re(f,l)}function _v(e){let{state:n,pos:r}=e,i=/<[:\-\.\w\u00b7-\uffff]*$/.exec(n.sliceDoc(r-25,r));if(!i)return null;let a=t(n).resolveInner(r,-1);for(;a&&!a.type.isTop;){if(a.name==`CodeBlock`||a.name==`FencedCode`||a.name==`ProcessingInstructionBlock`||a.name==`CommentBlock`||a.name==`Link`||a.name==`Image`)return null;a=a.parent}return{from:r-i[0].length,to:r,options:yv(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var vv=null;function yv(){if(vv)return vv;let e=N_(new Kd(we.create({extensions:hv}),0,!0));return vv=e?e.options:[]}var bv=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,xv=S.domEventHandlers({paste:(e,n)=>{let{main:r}=n.state.selection;if(r.empty)return!1;let i=e.clipboardData?.getData(`text/plain`);if(!i||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(i)||(/^www\./.test(i)&&(i=`https://`+i),!ev.isActiveAt(n.state,r.from,1)))return!1;let a=t(n.state),o=!1;return a.iterate({from:r.from,to:r.to,enter:e=>{(e.from>r.from||bv.test(e.name))&&(o=!0)},leave:e=>{e.to<r.to&&(o=!0)}}),!o&&(n.dispatch({changes:[{from:r.from,insert:`[`},{from:r.to,insert:`](${i})`}],userEvent:`input.paste`,scrollIntoView:!0}),!0)}});function Q(e){return new Re(ge.define(e))}function Sv(e){return B(()=>import(`./dist-BT3nK1GA.js`).then(t=>t.sql({dialect:t[e]})),__vite__mapDeps([20,21]))}var Cv=[E.of({name:`C`,extensions:[`c`,`h`,`ino`],load(){return B(()=>import(`./dist-BruzXrfs.js`).then(e=>e.cpp()),__vite__mapDeps([22,21]))}}),E.of({name:`C++`,alias:[`cpp`],extensions:[`cpp`,`c++`,`cc`,`cxx`,`hpp`,`h++`,`hh`,`hxx`],load(){return B(()=>import(`./dist-BruzXrfs.js`).then(e=>e.cpp()),__vite__mapDeps([22,21]))}}),E.of({name:`CQL`,alias:[`cassandra`],extensions:[`cql`],load(){return Sv(`Cassandra`)}}),E.of({name:`CSS`,extensions:[`css`],load(){return B(()=>Promise.resolve().then(()=>Vh).then(e=>e.css()),void 0)}}),E.of({name:`Go`,extensions:[`go`],load(){return B(()=>import(`./dist-QI7QavRs.js`).then(e=>e.go()),__vite__mapDeps([23,21]))}}),E.of({name:`HTML`,alias:[`xhtml`],extensions:[`html`,`htm`,`handlebars`,`hbs`],load(){return B(()=>Promise.resolve().then(()=>f_).then(e=>e.html()),void 0)}}),E.of({name:`Java`,extensions:[`java`],load(){return B(()=>import(`./dist-CubY9gnU.js`).then(e=>e.java()),__vite__mapDeps([24,21]))}}),E.of({name:`JavaScript`,alias:[`ecmascript`,`js`,`node`],extensions:[`js`,`mjs`,`cjs`],load(){return B(()=>Promise.resolve().then(()=>Vg).then(e=>e.javascript()),void 0)}}),E.of({name:`Jinja`,extensions:[`j2`,`jinja`,`jinja2`],load(){return B(()=>import(`./dist-DV0HO3Fe.js`).then(e=>e.jinja()),__vite__mapDeps([25,21]))}}),E.of({name:`JSON`,alias:[`json5`],extensions:[`json`,`map`],load(){return B(()=>import(`./dist-ga2OvaLo.js`).then(e=>e.json()),__vite__mapDeps([26,21]))}}),E.of({name:`JSX`,extensions:[`jsx`],load(){return B(()=>Promise.resolve().then(()=>Vg).then(e=>e.javascript({jsx:!0})),void 0)}}),E.of({name:`LESS`,extensions:[`less`],load(){return B(()=>import(`./dist-cSM0Lli0.js`).then(e=>e.less()),__vite__mapDeps([27,21]))}}),E.of({name:`Liquid`,extensions:[`liquid`],load(){return B(()=>import(`./dist-PwT2nxki.js`).then(e=>e.liquid()),__vite__mapDeps([28,21]))}}),E.of({name:`MariaDB SQL`,load(){return Sv(`MariaSQL`)}}),E.of({name:`Markdown`,extensions:[`md`,`markdown`,`mkd`],load(){return B(()=>Promise.resolve().then(()=>W_).then(e=>e.markdown()),void 0)}}),E.of({name:`MS SQL`,load(){return Sv(`MSSQL`)}}),E.of({name:`MySQL`,load(){return Sv(`MySQL`)}}),E.of({name:`PHP`,extensions:[`php`,`php3`,`php4`,`php5`,`php7`,`phtml`],load(){return B(()=>import(`./dist-BOCA4kQq.js`).then(e=>e.php()),__vite__mapDeps([29,21]))}}),E.of({name:`PLSQL`,extensions:[`pls`],load(){return Sv(`PLSQL`)}}),E.of({name:`PostgreSQL`,load(){return Sv(`PostgreSQL`)}}),E.of({name:`Python`,extensions:[`BUILD`,`bzl`,`py`,`pyw`],filename:/^(BUCK|BUILD)$/,load(){return B(()=>import(`./dist-B5uXb_Wi.js`).then(e=>e.python()),__vite__mapDeps([30,21]))}}),E.of({name:`Rust`,extensions:[`rs`],load(){return B(()=>import(`./dist-BwF8pAVO.js`).then(e=>e.rust()),__vite__mapDeps([31,21]))}}),E.of({name:`Sass`,extensions:[`sass`],load(){return B(()=>import(`./dist-DFcDEdTm.js`).then(e=>e.sass({indented:!0})),__vite__mapDeps([32,21]))}}),E.of({name:`SCSS`,extensions:[`scss`],load(){return B(()=>import(`./dist-DFcDEdTm.js`).then(e=>e.sass()),__vite__mapDeps([32,21]))}}),E.of({name:`SQL`,extensions:[`sql`],load(){return Sv(`StandardSQL`)}}),E.of({name:`SQLite`,load(){return Sv(`SQLite`)}}),E.of({name:`TSX`,extensions:[`tsx`],load(){return B(()=>Promise.resolve().then(()=>Vg).then(e=>e.javascript({jsx:!0,typescript:!0})),void 0)}}),E.of({name:`TypeScript`,alias:[`ts`],extensions:[`ts`,`mts`,`cts`],load(){return B(()=>Promise.resolve().then(()=>Vg).then(e=>e.javascript({typescript:!0})),void 0)}}),E.of({name:`WebAssembly`,extensions:[`wat`,`wast`],load(){return B(()=>import(`./dist-8bzcdWlP.js`).then(e=>e.wast()),__vite__mapDeps([33,21]))}}),E.of({name:`XML`,alias:[`rss`,`wsdl`,`xsd`],extensions:[`xml`,`xsl`,`xsd`,`svg`],load(){return B(()=>import(`./dist-CM1-Tp30.js`).then(e=>e.xml()),__vite__mapDeps([34,21]))}}),E.of({name:`YAML`,alias:[`yml`],extensions:[`yaml`,`yml`],load(){return B(()=>import(`./dist-D5EOvBuF.js`).then(e=>e.yaml()),__vite__mapDeps([35,21]))}}),E.of({name:`APL`,extensions:[`dyalog`,`apl`],load(){return B(()=>import(`./apl-gfMMiTNf.js`).then(e=>Q(e.apl)),[])}}),E.of({name:`PGP`,alias:[`asciiarmor`],extensions:[`asc`,`pgp`,`sig`],load(){return B(()=>import(`./asciiarmor-C_eisQCp.js`).then(e=>Q(e.asciiArmor)),[])}}),E.of({name:`ASN.1`,extensions:[`asn`,`asn1`],load(){return B(()=>import(`./asn1-DCl_8MCW.js`).then(e=>Q(e.asn1({}))),[])}}),E.of({name:`Asterisk`,filename:/^extensions\.conf$/i,load(){return B(()=>import(`./asterisk-BEn0Cwpx.js`).then(e=>Q(e.asterisk)),[])}}),E.of({name:`Brainfuck`,extensions:[`b`,`bf`],load(){return B(()=>import(`./brainfuck-D5EjA2JK.js`).then(e=>Q(e.brainfuck)),[])}}),E.of({name:`Cobol`,extensions:[`cob`,`cpy`],load(){return B(()=>import(`./cobol-DHLQUbN7.js`).then(e=>Q(e.cobol)),[])}}),E.of({name:`C#`,alias:[`csharp`,`cs`],extensions:[`cs`],load(){return B(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.csharp)),[])}}),E.of({name:`Clojure`,extensions:[`clj`,`cljc`,`cljx`],load(){return B(()=>import(`./clojure-BflJGmDX.js`).then(e=>Q(e.clojure)),[])}}),E.of({name:`ClojureScript`,extensions:[`cljs`],load(){return B(()=>import(`./clojure-BflJGmDX.js`).then(e=>Q(e.clojure)),[])}}),E.of({name:`Closure Stylesheets (GSS)`,extensions:[`gss`],load(){return B(()=>import(`./css-CnaYoQib.js`).then(e=>Q(e.gss)),[])}}),E.of({name:`CMake`,extensions:[`cmake`,`cmake.in`],filename:/^CMakeLists\.txt$/,load(){return B(()=>import(`./cmake-84nbDH0I.js`).then(e=>Q(e.cmake)),[])}}),E.of({name:`CoffeeScript`,alias:[`coffee`,`coffee-script`],extensions:[`coffee`],load(){return B(()=>import(`./coffeescript-De_zI4J0.js`).then(e=>Q(e.coffeeScript)),[])}}),E.of({name:`Common Lisp`,alias:[`lisp`],extensions:[`cl`,`lisp`,`el`],load(){return B(()=>import(`./commonlisp-DgAKBe0r.js`).then(e=>Q(e.commonLisp)),[])}}),E.of({name:`Cypher`,extensions:[`cyp`,`cypher`],load(){return B(()=>import(`./cypher-p9eYesGn.js`).then(e=>Q(e.cypher)),[])}}),E.of({name:`Cython`,extensions:[`pyx`,`pxd`,`pxi`],load(){return B(()=>import(`./python-B_1Jd8HM.js`).then(e=>Q(e.cython)),[])}}),E.of({name:`Crystal`,extensions:[`cr`],load(){return B(()=>import(`./crystal-Bsdphhtm.js`).then(e=>Q(e.crystal)),[])}}),E.of({name:`D`,extensions:[`d`],load(){return B(()=>import(`./d-DWkQyNnU.js`).then(e=>Q(e.d)),[])}}),E.of({name:`Dart`,extensions:[`dart`],load(){return B(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.dart)),[])}}),E.of({name:`diff`,extensions:[`diff`,`patch`],load(){return B(()=>import(`./diff-ChtP43wD.js`).then(e=>Q(e.diff)),[])}}),E.of({name:`Dockerfile`,filename:/^Dockerfile$/,load(){return B(()=>import(`./dockerfile-DJkHQgkl.js`).then(e=>Q(e.dockerFile)),__vite__mapDeps([36,37]))}}),E.of({name:`DTD`,extensions:[`dtd`],load(){return B(()=>import(`./dtd-DTF72YNO.js`).then(e=>Q(e.dtd)),[])}}),E.of({name:`Dylan`,extensions:[`dylan`,`dyl`,`intr`],load(){return B(()=>import(`./dylan-S7ucR4pR.js`).then(e=>Q(e.dylan)),[])}}),E.of({name:`EBNF`,load(){return B(()=>import(`./ebnf-D4c0_ac3.js`).then(e=>Q(e.ebnf)),[])}}),E.of({name:`ECL`,extensions:[`ecl`],load(){return B(()=>import(`./ecl-BVIeWmwY.js`).then(e=>Q(e.ecl)),[])}}),E.of({name:`edn`,extensions:[`edn`],load(){return B(()=>import(`./clojure-BflJGmDX.js`).then(e=>Q(e.clojure)),[])}}),E.of({name:`Eiffel`,extensions:[`e`],load(){return B(()=>import(`./eiffel-BEjRio4Q.js`).then(e=>Q(e.eiffel)),[])}}),E.of({name:`Elm`,extensions:[`elm`],load(){return B(()=>import(`./elm-Cshzl8qu.js`).then(e=>Q(e.elm)),[])}}),E.of({name:`Erlang`,extensions:[`erl`],load(){return B(()=>import(`./erlang-BV0c4Hdn.js`).then(e=>Q(e.erlang)),[])}}),E.of({name:`Esper`,load(){return B(()=>import(`./sql-DuQMFDvy.js`).then(e=>Q(e.esper)),[])}}),E.of({name:`Factor`,extensions:[`factor`],load(){return B(()=>import(`./factor-LKH5gN8L.js`).then(e=>Q(e.factor)),__vite__mapDeps([38,37]))}}),E.of({name:`FCL`,load(){return B(()=>import(`./fcl-ClOhbFR7.js`).then(e=>Q(e.fcl)),[])}}),E.of({name:`Forth`,extensions:[`forth`,`fth`,`4th`],load(){return B(()=>import(`./forth-D6RzAl64.js`).then(e=>Q(e.forth)),[])}}),E.of({name:`Fortran`,extensions:[`f`,`for`,`f77`,`f90`,`f95`],load(){return B(()=>import(`./fortran-Bt6PBEDR.js`).then(e=>Q(e.fortran)),[])}}),E.of({name:`F#`,alias:[`fsharp`],extensions:[`fs`],load(){return B(()=>import(`./mllike-B45xgp2S.js`).then(e=>Q(e.fSharp)),[])}}),E.of({name:`Gas`,extensions:[`s`],load(){return B(()=>import(`./gas-BHEdbvp9.js`).then(e=>Q(e.gas)),[])}}),E.of({name:`Gherkin`,extensions:[`feature`],load(){return B(()=>import(`./gherkin-oBAE_ms0.js`).then(e=>Q(e.gherkin)),[])}}),E.of({name:`Groovy`,extensions:[`groovy`,`gradle`],filename:/^Jenkinsfile$/,load(){return B(()=>import(`./groovy-CUpZ7dEl.js`).then(e=>Q(e.groovy)),[])}}),E.of({name:`Haskell`,extensions:[`hs`],load(){return B(()=>import(`./haskell-BRsoo5mP.js`).then(e=>Q(e.haskell)),[])}}),E.of({name:`Haxe`,extensions:[`hx`],load(){return B(()=>import(`./haxe-DjVOVvNP.js`).then(e=>Q(e.haxe)),[])}}),E.of({name:`HXML`,extensions:[`hxml`],load(){return B(()=>import(`./haxe-DjVOVvNP.js`).then(e=>Q(e.hxml)),[])}}),E.of({name:`HTTP`,load(){return B(()=>import(`./http-CLVgA2GD.js`).then(e=>Q(e.http)),[])}}),E.of({name:`IDL`,extensions:[`pro`],load(){return B(()=>import(`./idl-BUZw3wgd.js`).then(e=>Q(e.idl)),[])}}),E.of({name:`JSON-LD`,alias:[`jsonld`],extensions:[`jsonld`],load(){return B(()=>import(`./javascript-Bu8mWwtz.js`).then(e=>Q(e.jsonld)),[])}}),E.of({name:`Julia`,extensions:[`jl`],load(){return B(()=>import(`./julia-CQfgDRfP.js`).then(e=>Q(e.julia)),[])}}),E.of({name:`Kotlin`,extensions:[`kt`,`kts`],load(){return B(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.kotlin)),[])}}),E.of({name:`LiveScript`,alias:[`ls`],extensions:[`ls`],load(){return B(()=>import(`./livescript-BXxG0Yva.js`).then(e=>Q(e.liveScript)),[])}}),E.of({name:`Lua`,extensions:[`lua`],load(){return B(()=>import(`./lua-DPCEkfD_.js`).then(e=>Q(e.lua)),[])}}),E.of({name:`mIRC`,extensions:[`mrc`],load(){return B(()=>import(`./mirc-C9zpzAZU.js`).then(e=>Q(e.mirc)),[])}}),E.of({name:`Mathematica`,extensions:[`m`,`nb`,`wl`,`wls`],load(){return B(()=>import(`./mathematica-u8YMmbU0.js`).then(e=>Q(e.mathematica)),[])}}),E.of({name:`Modelica`,extensions:[`mo`],load(){return B(()=>import(`./modelica-CqHI_q-D.js`).then(e=>Q(e.modelica)),[])}}),E.of({name:`MUMPS`,extensions:[`mps`],load(){return B(()=>import(`./mumps-BSzj6Xyz.js`).then(e=>Q(e.mumps)),[])}}),E.of({name:`Mbox`,extensions:[`mbox`],load(){return B(()=>import(`./mbox-BEMVcqjs.js`).then(e=>Q(e.mbox)),[])}}),E.of({name:`Nginx`,filename:/nginx.*\.conf$/i,load(){return B(()=>import(`./nginx-8H7HVH4w.js`).then(e=>Q(e.nginx)),[])}}),E.of({name:`NSIS`,extensions:[`nsh`,`nsi`],load(){return B(()=>import(`./nsis-viPvXFiq.js`).then(e=>Q(e.nsis)),__vite__mapDeps([39,37]))}}),E.of({name:`NTriples`,extensions:[`nt`,`nq`],load(){return B(()=>import(`./ntriples-CzMBulkp.js`).then(e=>Q(e.ntriples)),[])}}),E.of({name:`Objective-C`,alias:[`objective-c`,`objc`],extensions:[`m`],load(){return B(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.objectiveC)),[])}}),E.of({name:`Objective-C++`,alias:[`objective-c++`,`objc++`],extensions:[`mm`],load(){return B(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.objectiveCpp)),[])}}),E.of({name:`OCaml`,extensions:[`ml`,`mli`,`mll`,`mly`],load(){return B(()=>import(`./mllike-B45xgp2S.js`).then(e=>Q(e.oCaml)),[])}}),E.of({name:`Octave`,extensions:[`m`],load(){return B(()=>import(`./octave-D2Q8cUp1.js`).then(e=>Q(e.octave)),[])}}),E.of({name:`Oz`,extensions:[`oz`],load(){return B(()=>import(`./oz-BwTct_5T.js`).then(e=>Q(e.oz)),[])}}),E.of({name:`Pascal`,extensions:[`p`,`pas`],load(){return B(()=>import(`./pascal-Dp_KdFgX.js`).then(e=>Q(e.pascal)),[])}}),E.of({name:`Perl`,extensions:[`pl`,`pm`],load(){return B(()=>import(`./perl-BkSkiI9m.js`).then(e=>Q(e.perl)),[])}}),E.of({name:`Pig`,extensions:[`pig`],load(){return B(()=>import(`./pig-AF4Hwhju.js`).then(e=>Q(e.pig)),[])}}),E.of({name:`PowerShell`,extensions:[`ps1`,`psd1`,`psm1`],load(){return B(()=>import(`./powershell-D8WpQPaX.js`).then(e=>Q(e.powerShell)),[])}}),E.of({name:`Properties files`,alias:[`ini`,`properties`],extensions:[`properties`,`ini`,`in`],load(){return B(()=>import(`./properties-C357ku5U.js`).then(e=>Q(e.properties)),[])}}),E.of({name:`ProtoBuf`,extensions:[`proto`],load(){return B(()=>import(`./protobuf-D1ij_kNL.js`).then(e=>Q(e.protobuf)),[])}}),E.of({name:`Pug`,alias:[`jade`],extensions:[`pug`,`jade`],load(){return B(()=>import(`./pug-Dwd_FmgJ.js`).then(e=>Q(e.pug)),__vite__mapDeps([40,41]))}}),E.of({name:`Puppet`,extensions:[`pp`],load(){return B(()=>import(`./puppet-BZyAS7I4.js`).then(e=>Q(e.puppet)),[])}}),E.of({name:`Q`,extensions:[`q`],load(){return B(()=>import(`./q-B9NhS7L_.js`).then(e=>Q(e.q)),[])}}),E.of({name:`R`,alias:[`rscript`],extensions:[`r`,`R`],load(){return B(()=>import(`./r-CxDmU1I4.js`).then(e=>Q(e.r)),[])}}),E.of({name:`RPM Changes`,load(){return B(()=>import(`./rpm-gpDK5sbt.js`).then(e=>Q(e.rpmChanges)),[])}}),E.of({name:`RPM Spec`,extensions:[`spec`],load(){return B(()=>import(`./rpm-gpDK5sbt.js`).then(e=>Q(e.rpmSpec)),[])}}),E.of({name:`Ruby`,alias:[`jruby`,`macruby`,`rake`,`rb`,`rbx`],extensions:[`rb`],filename:/^(Gemfile|Rakefile)$/,load(){return B(()=>import(`./ruby-ChfNwlCY.js`).then(e=>Q(e.ruby)),[])}}),E.of({name:`SAS`,extensions:[`sas`],load(){return B(()=>import(`./sas-C2OyD2Y6.js`).then(e=>Q(e.sas)),[])}}),E.of({name:`Scala`,extensions:[`scala`],load(){return B(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.scala)),[])}}),E.of({name:`Scheme`,extensions:[`scm`,`ss`],load(){return B(()=>import(`./scheme-D9qYN0V5.js`).then(e=>Q(e.scheme)),[])}}),E.of({name:`Shell`,alias:[`bash`,`sh`,`zsh`],extensions:[`sh`,`ksh`,`bash`],filename:/^PKGBUILD$/,load(){return B(()=>import(`./shell-DwuoZtxw.js`).then(e=>Q(e.shell)),[])}}),E.of({name:`Sieve`,extensions:[`siv`,`sieve`],load(){return B(()=>import(`./sieve-tLWDfEkZ.js`).then(e=>Q(e.sieve)),[])}}),E.of({name:`Smalltalk`,extensions:[`st`],load(){return B(()=>import(`./smalltalk-BLp5-jwC.js`).then(e=>Q(e.smalltalk)),[])}}),E.of({name:`Solr`,load(){return B(()=>import(`./solr-B78wSQJQ.js`).then(e=>Q(e.solr)),[])}}),E.of({name:`SML`,extensions:[`sml`,`sig`,`fun`,`smackspec`],load(){return B(()=>import(`./mllike-B45xgp2S.js`).then(e=>Q(e.sml)),[])}}),E.of({name:`SPARQL`,alias:[`sparul`],extensions:[`rq`,`sparql`],load(){return B(()=>import(`./sparql-Dz-mlCAC.js`).then(e=>Q(e.sparql)),[])}}),E.of({name:`Spreadsheet`,alias:[`excel`,`formula`],load(){return B(()=>import(`./spreadsheet-CTIncYxj.js`).then(e=>Q(e.spreadsheet)),[])}}),E.of({name:`Squirrel`,extensions:[`nut`],load(){return B(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.squirrel)),[])}}),E.of({name:`Stylus`,extensions:[`styl`],load(){return B(()=>import(`./stylus-BOVgKnng.js`).then(e=>Q(e.stylus)),[])}}),E.of({name:`Swift`,extensions:[`swift`],load(){return B(()=>import(`./swift-DKB6_1j6.js`).then(e=>Q(e.swift)),[])}}),E.of({name:`sTeX`,load(){return B(()=>import(`./stex-DNzd62Q_.js`).then(e=>Q(e.stex)),[])}}),E.of({name:`LaTeX`,alias:[`tex`],extensions:[`text`,`ltx`,`tex`],load(){return B(()=>import(`./stex-DNzd62Q_.js`).then(e=>Q(e.stex)),[])}}),E.of({name:`SystemVerilog`,extensions:[`v`,`sv`,`svh`],load(){return B(()=>import(`./verilog-CjI9Y6RI.js`).then(e=>Q(e.verilog)),[])}}),E.of({name:`Tcl`,extensions:[`tcl`],load(){return B(()=>import(`./tcl-BGfruO1u.js`).then(e=>Q(e.tcl)),[])}}),E.of({name:`Textile`,extensions:[`textile`],load(){return B(()=>import(`./textile-C4jVoHG1.js`).then(e=>Q(e.textile)),[])}}),E.of({name:`TiddlyWiki`,load(){return B(()=>import(`./tiddlywiki-VlUiK86J.js`).then(e=>Q(e.tiddlyWiki)),[])}}),E.of({name:`Tiki wiki`,load(){return B(()=>import(`./tiki-DTszW0OQ.js`).then(e=>Q(e.tiki)),[])}}),E.of({name:`TOML`,extensions:[`toml`],load(){return B(()=>import(`./toml-BPTmHmyx.js`).then(e=>Q(e.toml)),[])}}),E.of({name:`Troff`,extensions:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],load(){return B(()=>import(`./troff-C2dAgh7P.js`).then(e=>Q(e.troff)),[])}}),E.of({name:`TTCN`,extensions:[`ttcn`,`ttcn3`,`ttcnpp`],load(){return B(()=>import(`./ttcn-PPSTk1ow.js`).then(e=>Q(e.ttcn)),[])}}),E.of({name:`TTCN_CFG`,extensions:[`cfg`],load(){return B(()=>import(`./ttcn-cfg-2b4Gb5sE.js`).then(e=>Q(e.ttcnCfg)),[])}}),E.of({name:`Turtle`,extensions:[`ttl`],load(){return B(()=>import(`./turtle-Cx3rYX2g.js`).then(e=>Q(e.turtle)),[])}}),E.of({name:`Web IDL`,extensions:[`webidl`],load(){return B(()=>import(`./webidl-D5jiJvOU.js`).then(e=>Q(e.webIDL)),[])}}),E.of({name:`VB.NET`,extensions:[`vb`],load(){return B(()=>import(`./vb-BthdM_4N.js`).then(e=>Q(e.vb)),[])}}),E.of({name:`VBScript`,extensions:[`vbs`],load(){return B(()=>import(`./vbscript-D9f6rSsU.js`).then(e=>Q(e.vbScript)),[])}}),E.of({name:`Velocity`,extensions:[`vtl`],load(){return B(()=>import(`./velocity-CqftRsjg.js`).then(e=>Q(e.velocity)),[])}}),E.of({name:`Verilog`,extensions:[`v`],load(){return B(()=>import(`./verilog-CjI9Y6RI.js`).then(e=>Q(e.verilog)),[])}}),E.of({name:`VHDL`,extensions:[`vhd`,`vhdl`],load(){return B(()=>import(`./vhdl-kS471soi.js`).then(e=>Q(e.vhdl)),[])}}),E.of({name:`XQuery`,extensions:[`xy`,`xquery`,`xq`,`xqm`,`xqy`],load(){return B(()=>import(`./xquery-BKJx4mf9.js`).then(e=>Q(e.xQuery)),[])}}),E.of({name:`Yacas`,extensions:[`ys`],load(){return B(()=>import(`./yacas-CXXgtw0p.js`).then(e=>Q(e.yacas)),[])}}),E.of({name:`Z80`,extensions:[`z80`],load(){return B(()=>import(`./z80-Co3PbHdE.js`).then(e=>Q(e.z80)),[])}}),E.of({name:`MscGen`,extensions:[`mscgen`,`mscin`,`msc`],load(){return B(()=>import(`./mscgen-qgSLujhx.js`).then(e=>Q(e.mscgen)),[])}}),E.of({name:`Xù`,extensions:[`xu`],load(){return B(()=>import(`./mscgen-qgSLujhx.js`).then(e=>Q(e.xu)),[])}}),E.of({name:`MsGenny`,extensions:[`msgenny`],load(){return B(()=>import(`./mscgen-qgSLujhx.js`).then(e=>Q(e.msgenny)),[])}}),E.of({name:`Vue`,extensions:[`vue`],load(){return B(()=>import(`./dist-DZQ_bwip.js`).then(e=>e.vue()),__vite__mapDeps([42,21]))}}),E.of({name:`Angular Template`,load(){return B(()=>import(`./dist-8k6FSdRu.js`).then(e=>e.angular()),__vite__mapDeps([43,21]))}})],wv=36,Tv=92,Ev=96,Dv=e=>e===32||e===9||e===10||e===-1,Ov=e=>e>=48&&e<=57,kv={defineNodes:[{name:`InlineMath`,style:h.monospace},{name:`BlockMath`,block:!0,style:h.monospace},{name:`MathMark`,style:h.processingInstruction}],parseInline:[{name:`InlineMath`,parse(e,t,n){if(t!==wv||e.char(n+1)===wv||Dv(e.char(n+1)))return-1;let r=Ov(e.char(n+1));for(let t=n+2;t<e.end;t++){let i=e.char(t);if(r&&Dv(i))return-1;if(i===Tv)t++;else if(i===Ev){let n=e.slice(t+1,e.end).indexOf("`");if(n<0)return-1;t+=n+1}else if(i===wv&&!Dv(e.char(t-1))&&!Ov(e.char(t+1)))return e.addElement(e.elt(`InlineMath`,n,t+1,[e.elt(`MathMark`,n,n+1),e.elt(`MathMark`,t,t+1)]))}return-1}}],parseBlock:[{name:`BlockMath`,before:`FencedCode`,parse(e,t){if(!t.text.startsWith(`$$`,t.pos))return!1;let n=e.lineStart+t.pos,r=e.lineStart+t.text.length;if(/\S.*\$\$\s*$/.test(t.text.slice(t.pos+2)))e.nextLine();else for(;e.nextLine()&&t.text.trim();)if(r=e.lineStart+t.text.length,/\$\$\s*$/.test(t.text)){e.nextLine();break}return e.addElement(e.elt(`BlockMath`,n,r)),!0},endLeaf:(e,t)=>t.text.startsWith(`$$`,t.pos)}]},Av={defineNodes:[{name:`FootnoteRef`,style:h.labelName}],parseInline:[{name:`FootnoteRef`,before:`Link`,parse(e,t,n){if(t!==91||e.char(n+1)!==94)return-1;for(let t=n+2;t<e.end;t++){let r=e.char(t);if(r===93)return t>n+2?e.addElement(e.elt(`FootnoteRef`,n,t+1)):-1;if(Dv(r)||r===91)return-1}return-1}}]},jv={defineNodes:[{name:`Frontmatter`,block:!0,style:h.meta}],parseBlock:[{name:`Frontmatter`,before:`HorizontalRule`,parse(e,t){if(e.lineStart!==0||!/^---\s*$/.test(t.text))return!1;let n=e.lineStart,r=n+t.text.length;for(;e.nextLine();)if(r=e.lineStart+t.text.length,/^(---|\.\.\.)\s*$/.test(t.text)){e.nextLine();break}return e.addElement(e.elt(`Frontmatter`,n,r)),!0}}]},Mv={StrongEmphasis:`bold`,Emphasis:`italic`,Strikethrough:`strike`,InlineCode:`code`,Link:`link`},Nv=new Set([`EmphasisMark`,`StrikethroughMark`,`CodeMark`,`LinkMark`]),Pv=new Set([`FencedCode`,`CodeBlock`,`Frontmatter`,`HTMLBlock`]),Fv=[{id:`bold`,label:`format.bold`,icon:tl},{id:`italic`,label:`format.italic`,icon:vl},{id:`strike`,label:`format.strike`,icon:Ll},{id:`code`,label:`menu.inline`,icon:ol},{id:`link`,label:`menu.link`,icon:yl}],Iv={bold:[{mark:`**`,sample:`format.bold`},{mark:`__`,sample:`format.bold`},{mark:`***`,sample:`format.boldItalic`}],italic:[{mark:`*`,sample:`format.italic`},{mark:`_`,sample:`format.italic`},{mark:`***`,sample:`format.boldItalic`}]},Lv=(e,t,n)=>t===`link`?`[${e}](url)`:(n??={bold:`**`,italic:`*`,strike:`~~`,code:e.includes("`")?"``":"`"}[t],n+e+n);function Rv(e){let t=[];for(let n=e.firstChild;n;n=n.nextSibling)Nv.has(n.name)&&t.push(n);return t.length<2?[]:[[e.from,t[0].to],[t[1].from,e.to]]}function zv(e){let{from:n,to:r}=e.selection.main;if(n===r||e.doc.lineAt(n).number!==e.doc.lineAt(r).number)return null;let i=[],a=null;for(let o=t(e).resolveInner(n,1);o;o=o.parent){if(Pv.has(o.name))return null;let e=Mv[o.name];!e||o.from>n||o.to<r||(i.push(e),e!==`link`&&(a??=o))}let o=[];if(a)({from:n,to:r}=a),o.push(...Rv(a));else{let i={from:n,to:r};t(e).iterate({from:i.from,to:i.to,enter:e=>{!Mv[e.name]||e.to<=i.from||e.from>=i.to||e.name===`Link`&&e.from<=i.from&&e.to>=i.to||(n=Math.min(n,e.from),r=Math.max(r,e.to),o.push(...Rv(e.node)))}})}let s=``,c=n;for(let[t,n]of o.sort((e,t)=>e[0]-t[0]))t>c&&(s+=e.sliceDoc(c,t)),c=Math.max(c,n);return s+=e.sliceDoc(c,r),{formats:i,formatted:o.length>0,from:n,to:r,text:s}}function Bv(e,t,n,r){let i=n?Lv(t.text,n,r):t.text,a=t.from+(n?i.indexOf(t.text):0),o=n===`link`?{anchor:t.from+i.length-4,head:t.from+i.length-1}:{anchor:a,head:a+t.text.length};e.dispatch({changes:{from:t.from,to:t.to,insert:i},selection:o,effects:n===`link`?[]:Vv.of(!0)}),e.focus()}var Vv=xe.define();function Hv(e){let t=ye.define({create:()=>null,update(e,t){for(let e of t.effects)if(e.is(Vv))return e.value?zv(t.state):null;return t.docChanged||t.selection?null:e},provide:t=>Le.compute([t],n=>{let r=n.field(t);return r?Uv(n,r,e):null})});return[t,c.fromClass(class{view;last=``;onRelease=()=>setTimeout(()=>this.check());constructor(e){this.view=e,addEventListener(`mouseup`,this.onRelease),e.dom.addEventListener(`keyup`,this.onRelease)}check(){let{view:e}=this,t=e.state.selection.main,n=`${t.from}:${t.to}`;!t.empty&&e.hasFocus&&n!==this.last&&(this.last=n,navigator.clipboard?.writeText(e.state.sliceDoc(t.from,t.to)).catch(()=>{}),zv(e.state)&&e.dispatch({effects:Vv.of(!0)}))}update(e){e.state.selection.main.empty&&(this.last=``)}destroy(){removeEventListener(`mouseup`,this.onRelease),this.view.dom.removeEventListener(`keyup`,this.onRelease)}}),_e.high(ae.of([{key:`Escape`,run:e=>e.state.field(t)?(e.dispatch({effects:Vv.of(!1)}),!0):!1}]))]}function Uv(e,t,n){return{pos:e.selection.main.from,above:!0,create:r=>{let i=document.createElement(`div`);i.className=`cm-format-bar`;let a=(e,t,n,r)=>{let i=document.createElement(`button`);return r&&(i.title=r),i.append(typeof t==`string`?t:Qc(t,{width:15,height:15})),i.addEventListener(`mousedown`,e=>{e.preventDefault(),n()}),e.append(i),i};for(let e of Fv){if(t.formats.includes(e.id))continue;let o=Iv[e.id];if(!o){a(i,e.icon,()=>Bv(r,zv(r.state),e.id),n(e.label));continue}let s=document.createElement(`span`);s.className=`cm-format-group`,a(s,e.icon,()=>Bv(r,zv(r.state),e.id),n(e.label));let c=document.createElement(`div`);c.className=`cm-format-variants`;let l=document.createElement(`div`);for(let t of o){let i=a(l,t.mark+n(t.sample)+t.mark,()=>Bv(r,zv(r.state),e.id,t.mark));i.className=`cm-variant-${t.mark.length===3?`both`:e.id}`}c.append(l),s.append(c),i.append(s)}if(t.formatted&&a(i,jl,()=>Bv(r,zv(r.state),null),n(`format.plain`)),e.facet(Gl)&&a(i,wl,()=>{r.dispatch({effects:Vv.of(!1)}),eu(r)},n(`format.comment`)),navigator.clipboard){let e=document.createElement(`span`);e.className=`cm-format-copied`,e.append(Qc(il,{width:13,height:13}),n(`format.copied`)),i.append(e)}return{dom:i}}}}var Wv=/Mac|iPhone|iPad/.test(navigator.platform)?`⌥H`:`Alt+H`;function Gv(e){let t=[],n=[],r=``,i=!1,a=!0,o=e.replace(/\r\n?/g,`
|
|
108
|
+
`);for(let e=0;e<o.length;e++){let s=o[e];a&&s===`"`?(i=!0,a=!1):i?s===`"`&&o[e+1]===`"`?(r+=`"`,e++):s===`"`?i=!1:r+=s:s===` `||s===`
|
|
109
|
+
`?(n.push(r),r=``,a=!0,s===`
|
|
110
|
+
`&&(t.push(n),n=[])):(r+=s,a=!1)}for((r||n.length)&&t.push([...n,r]);t.length&&t[t.length-1].every(e=>!e.trim());)t.pop();return t.map(e=>e.map(e=>e.replace(/\s*\n\s*/g,` `).trim()))}function Kv(e,t){let n=Math.max(...e.map(e=>e.length)),r=e=>[...e,...Array(n-e.length).fill(``)],i=t?r(e[0]):Array.from({length:n},(e,t)=>`col ${t+1}`);return _u({header:i,align:i.map(()=>``),rows:(t?e.slice(1):e).map(r)})}var qv=xe.define();function Jv(e){let n=ye.define({create:()=>null,update(e,t){for(let e of t.effects)if(e.is(qv))return e.value;return t.docChanged||t.selection?null:e},provide:t=>Le.compute([t],n=>{let r=n.field(t);return r?{pos:r.from,above:!0,create:()=>{let t=document.createElement(`div`);return t.className=`cm-task-hint`,t.textContent=e(r.header?`paste.noHeader`:`paste.withHeader`,{key:Wv}),{dom:t}}}:null})});return[n,S.domEventHandlers({paste(e,n){let r=e.clipboardData,i=r?.getData(`text/plain`)??``;if(!i.includes(` `))return!1;let a=Gv(i),o=Math.max(0,...a.map(e=>e.length)),s=/<table[\s>]/i.test(r?.getData(`text/html`)??``)||a.length>1&&a.every(e=>e.length===o);if(!a.length||o<2||!s)return!1;let{state:c}=n,{from:l,to:u}=c.selection.main;for(let e=t(c).resolveInner(l,-1);e;e=e.parent)if(e.name===`FencedCode`||e.name===`CodeBlock`)return!1;let d=c.doc.lineAt(l),f=c.doc.lineAt(u),p=c.sliceDoc(d.from,l),m=c.sliceDoc(u,f.to),h=d.number>1?c.doc.line(d.number-1).text:``,g=p.trim()?`
|
|
111
|
+
|
|
112
|
+
`:h.trim()?`
|
|
113
|
+
`:``,_=Kv(a,!0),v=l+g.length;return n.dispatch({changes:{from:l,to:u,insert:g+_+`
|
|
114
|
+
`+(m.trim()?`
|
|
115
|
+
`:``)},selection:{anchor:v+_.length+1},effects:qv.of({from:v,to:v+_.length,rows:a,header:!0}),userEvent:`input.paste`,scrollIntoView:!0}),e.preventDefault(),!0}}),_e.high(ae.of([{key:`Alt-h`,run:e=>{let t=e.state.field(n);if(!t)return!1;let r=Kv(t.rows,!t.header),i=e.state.selection.main.head+r.length-(t.to-t.from);return e.dispatch({changes:{from:t.from,to:t.to,insert:r},selection:{anchor:i},effects:qv.of({...t,to:t.from+r.length,header:!t.header})}),!0}}]))]}var Yv=/^(\s*)(#{1,6}\s+|[-*+]\s+\[[ xX]\]\s+|[-*+]\s+|\d+[.)]\s+|>\s?)?/;function Xv(e){let{from:t,to:n}=e.selection.main,r=e.doc.lineAt(t),i=e.doc.lineAt(n);return n>t&&n===i.from&&i.number>r.number&&(i=e.doc.line(i.number-1)),Array.from({length:i.number-r.number+1},(t,n)=>e.doc.line(r.number+n))}function Zv(e){let t=Yv.exec(e.text),n=e.from+t[1].length;return{from:n,to:n+(t[2]?.length??0)}}function Qv(e,t,n=!1){let{state:r}=e,i=Xv(r),a=0,o=i.filter(e=>i.length===1||n||e.text.trim()).map(e=>{let n=typeof t==`string`?t:t(a++);return{...Zv(e),insert:i.length===1||e.text.trim()?n:n.trimEnd()}}),s=r.changes(o),c=i.length===1?r.selection.main.map(s,1):{anchor:s.mapPos(i[0].from,-1),head:s.mapPos(i[i.length-1].to,1)};e.dispatch({changes:s,selection:c})}function $v(e,t,n){let{state:r}=e,i=Xv(r),a=i[0].from,o=i[i.length-1].to;if(!r.sliceDoc(a,o).trim())return ey(e,n);let s="```"+t+`
|
|
116
|
+
`;e.dispatch({changes:[{from:a,insert:s},{from:o,insert:"\n```"}],selection:{anchor:a+s.length,head:o+s.length}})}function ey(e,t){let{state:n}=e,r=n.doc.lineAt(n.selection.main.head),i=r.text.trim()?`
|
|
117
|
+
`:``,a=i+t.replace(`¦`,``),o=r.text.trim()?r.to:r.from,s=i.length+t.indexOf(`¦`);e.dispatch({changes:{from:r.text.trim()?r.to:r.from,to:r.to,insert:a},selection:{anchor:o+s}})}function ty(e,t,n,r){let{state:i}=e,a=i.selection.main,o=!a.empty&&i.doc.lineAt(a.from).number===i.doc.lineAt(a.to).number?[{from:a.from,to:a.to}]:Xv(i).map(e=>({from:Zv(e).to,to:e.from+e.text.trimEnd().length})).filter(e=>e.to>e.from);if(!o.length)return e.dispatch({changes:{from:a.from,to:a.to,insert:t+r+n},selection:{anchor:a.from+t.length,head:a.from+t.length+r.length}});let s=i.changes(o.flatMap(e=>[{from:e.from,insert:t},{from:e.to,insert:n}])),c=o[0],l=o[o.length-1];e.dispatch({changes:s,selection:o.length===1?{anchor:c.from+t.length,head:c.to+t.length}:{anchor:s.mapPos(c.from,-1),head:s.mapPos(l.to,1)}})}function ny(e,t){let n=vu(e.state,e.state.selection.main.head);if(!n)return ey(e,`| Column 1 | Column 2 |
|
|
118
|
+
| -------- | -------- |
|
|
119
|
+
| ¦ | |`);let r=gu(e.state.sliceDoc(n.from,n.to));t(r),e.dispatch({changes:{...n,insert:_u(r)}})}function ry(e){let{state:t}=e,n=t.selection.main,r=Xv(t),i=!n.empty&&r.length===1,a=i?n.from:r[0].from+(/^\s*/.exec(r[0].text)?.[0].length??0),o=i?n.to:r[r.length-1].to,s=t.sliceDoc(a,o),[c,l]=r.length>1&&!i?[`<!--
|
|
120
|
+
`,`
|
|
121
|
+
-->`]:[`<!-- `,` -->`];e.dispatch({changes:{from:a,to:o,insert:c+s+l},selection:s.trim()?{anchor:a+c.length,head:a+c.length+s.length}:{anchor:a+c.length},effects:Eu.of(a)})}function iy(e){let{state:t}=e,n=Xv(t),r=n[0],i=n[n.length-1],a=/^\s*/.exec(r.text)[0],o=!t.sliceDoc(r.from,i.to).trim(),s=`${a}<!-- region:section:start -->`,c=`${a}<!-- region:section:end -->`,l=r.from+s.indexOf(`section`);e.dispatch({changes:o?{from:r.from,to:i.to,insert:`${s}\n${a}\n${c}`}:[{from:r.from,insert:s+`
|
|
122
|
+
`},{from:i.to,insert:`
|
|
123
|
+
`+c}],selection:{anchor:l,head:l+7},effects:Eu.of(r.from+a.length)})}function ay(e){let t=e.state.selection.main.from,n=t+9;e.dispatch({changes:{from:t,insert:`<!-- tag:name -->`},selection:{anchor:n,head:n+4},effects:Eu.of(t)})}function oy(e){Qv(e,`- [ ] `);let{state:t}=e,n=Xv(t)[0],r=t.changes({from:n.from,insert:`${/^\s*/.exec(n.text)[0]}<!-- choose: one -->\n`});e.dispatch({changes:r,selection:t.selection.map(r,1)})}var sy=()=>new Date().toISOString().slice(0,10),cy=[{label:`menu.headings`,icon:_l,items:[{label:`menu.h1`,icon:pl,hint:`#`,run:e=>Qv(e,`# `)},{label:`menu.h2`,icon:ml,hint:`##`,run:e=>Qv(e,`## `)},{label:`menu.h3`,icon:hl,hint:`###`,run:e=>Qv(e,`### `)},{label:`menu.h4`,icon:gl,hint:`####`,run:e=>Qv(e,`#### `)}]},{label:`menu.lists`,icon:Cl,items:[{label:`menu.bullets`,icon:Cl,hint:`-`,run:e=>Qv(e,`- `)},{label:`menu.numbered`,icon:xl,hint:`1.`,run:e=>Qv(e,e=>`${e+1}. `)},{label:`menu.checklist`,icon:bl,hint:`- [ ]`,run:e=>Qv(e,`- [ ] `)},{label:`menu.choice`,icon:Sl,run:oy}]},{label:`menu.table`,icon:Rl,items:[{label:`menu.newTable`,icon:Rl,run:e=>ey(e,`| Column 1 | Column 2 | Column 3 |
|
|
124
|
+
| -------- | -------- | -------- |
|
|
125
|
+
| ¦ | | |`)},{label:`menu.addRow`,icon:Pl,run:e=>ny(e,e=>e.rows.push(e.header.map(()=>``)))},{label:`menu.addCol`,icon:sl,run:e=>ny(e,e=>{e.header.push(`Column ${e.header.length+1}`),e.align.push(``),e.rows.forEach(e=>e.push(``))})}]},{label:`menu.code`,icon:ol,items:[{label:`menu.inline`,icon:ol,hint:"`code`",run:e=>ty(e,"`","`",`code`)},{label:`menu.block`,icon:Fl,hint:"```",run:e=>$v(e,``,"```\n¦\n```")},{label:`menu.ts`,icon:nl,hint:`ts`,run:e=>$v(e,`ts`,"```ts\n¦\n```")},{label:`menu.bash`,icon:Bl,hint:`bash`,run:e=>$v(e,`bash`,"```bash\n¦\n```")}]},{label:`menu.diagrams`,icon:Ul,items:[{label:`menu.mermaid`,icon:Ul,run:e=>$v(e,`mermaid`,"```mermaid\nflowchart LR\n A[Start] --> B{Decision}\n B -->|yes| C[¦Done]\n B -->|no| A\n```")},{label:`menu.sequence`,icon:Dl,run:e=>$v(e,`mermaid`,"```mermaid\nsequenceDiagram\n User->>App: request¦\n App-->>User: response\n```")},{label:`menu.tree`,icon:dl,run:e=>$v(e,`tree`,"```tree\nsrc/\n app/ # ¦description\n lib/\n```")}]},{label:`menu.comments`,icon:Tl,items:[{label:`menu.discussion`,icon:wl,run:eu,when:e=>!!e.facet(Gl)},{label:`menu.note`,icon:ul,hint:`<!-- -->`,run:ry},{label:`menu.region`,icon:Il,hint:`:start/:end`,run:iy},{label:`menu.tag`,icon:zl,hint:`tag:`,run:ay}]},{label:`menu.other`,icon:ll,items:[{label:`menu.quote`,icon:kl,hint:`>`,run:e=>Qv(e,`> `,!0)},{label:`menu.link`,icon:yl,hint:`[](…)`,run:e=>ty(e,`[`,`](https://)`,`text`)},{label:`menu.divider`,icon:El,hint:`---`,run:e=>ey(e,`---
|
|
126
|
+
¦`)},{label:`menu.frontmatter`,icon:nl,hint:`yaml`,run:e=>{if(e.state.doc.sliceString(0,4)===`---
|
|
127
|
+
`)return e.dispatch({selection:{anchor:4}});let t=`---\ntype: note\nstatus: pending\nupdated: ${sy()}\n---\n\n`;e.dispatch({changes:{from:0,insert:t},selection:{anchor:9}})}}]}],ly=xe.define(),uy=xe.define(),dy=xe.define(),fy=ye.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(ly))return n.value;if(n.is(dy))return null;n.is(uy)&&e&&(e={...e,...n.value})}if(!e)return e;if(t.docChanged)return null;let n=e.slash?e.pos+1:e.pos;return t.selection&&t.state.selection.main.head!==n?null:e},provide:e=>Le.from(e,e=>e?my(e):null)}),py=e=>e;function my(e){return{pos:e.pos,above:!1,create:t=>{let n=document.createElement(`div`);return n.className=`cm-slash-menu`,gy(t,n,e),{dom:n,update:e=>{let r=e.state.field(fy);r&&gy(t,n,r)}}}}}var hy=(e,t)=>cy[t].items.filter(t=>!t.when||t.when(e));function gy(e,t,n){let r=n.group===null?cy.map(e=>({label:e.label,icon:e.icon,hint:``,sub:!0})):hy(e.state,n.group).map(e=>({...e,hint:e.hint??``,sub:!1}));t.replaceChildren();let i=document.createElement(`div`);if(i.className=`cm-slash-head`,i.textContent=n.group===null?py(`menu.title`):py(cy[n.group].label),t.append(i),r.forEach((r,i)=>{let a=document.createElement(`div`);a.className=`cm-slash-item`+(i===n.active?` active`:``);let o=document.createElement(`span`);o.className=`cm-slash-num`,o.textContent=String(i+1);let s=Qc(r.icon,{width:16,height:16,"stroke-width":1.75});s.classList.add(`cm-slash-icon`);let c=document.createElement(`span`);c.className=`cm-slash-label`,c.textContent=py(r.label);let l=document.createElement(`span`);l.className=`cm-slash-hint`,l.textContent=r.sub?`›`:r.hint,a.append(o,s,c,l),a.addEventListener(`mousedown`,t=>{t.preventDefault(),vy(e,i)}),a.addEventListener(`mousemove`,()=>{e.state.field(fy)?.active!==i&&e.dispatch({effects:uy.of({active:i})})}),t.append(a)}),n.group!==null){let e=document.createElement(`div`);e.className=`cm-slash-foot`,e.textContent=py(`menu.back`),t.append(e)}}function _y(e,t){return t.group===null?cy.length:hy(e,t.group).length}function vy(e,t){let n=e.state.field(fy);if(!n||t<0||t>=_y(e.state,n))return!1;if(n.group===null)return e.dispatch({effects:uy.of({group:t,active:0})}),!0;let r=hy(e.state,n.group)[t];return n.slash?e.dispatch({changes:{from:n.pos,to:n.pos+1},selection:{anchor:n.pos}}):e.dispatch({effects:dy.of(null)}),r.run(e),e.focus(),!0}function yy(e){let t=e.state.field(fy);return!t||t.group===null?!1:(e.dispatch({effects:uy.of({group:null,active:t.group})}),!0)}var by=(e,t)=>!e.doc.lineAt(t).text.slice(0,t-e.doc.lineAt(t).from).trim(),xy=S.inputHandler.of((e,t,n,r)=>r!==`/`||t!==n||!by(e.state,t)?!1:(e.dispatch({changes:{from:t,insert:`/`},selection:{anchor:t+1},userEvent:`input.type`}),e.dispatch({effects:ly.of({pos:t,slash:!0,group:null,active:0})}),!0)),Sy=_e.highest(ae.of([{key:`Ctrl-Space`,run:e=>(e.dispatch({effects:ly.of({pos:e.state.selection.main.head,slash:!1,group:null,active:0})}),!0)},...[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`].map(e=>({key:e,run:t=>t.state.field(fy)?vy(t,Number(e)-1):!1})),{key:`ArrowDown`,run:e=>{let t=e.state.field(fy);return t?(e.dispatch({effects:uy.of({active:(t.active+1)%_y(e.state,t)})}),!0):!1}},{key:`ArrowUp`,run:e=>{let t=e.state.field(fy);return t?(e.dispatch({effects:uy.of({active:(t.active-1+_y(e.state,t))%_y(e.state,t)})}),!0):!1}},{key:`Enter`,run:e=>e.state.field(fy)?vy(e,e.state.field(fy).active):!1},{key:`ArrowRight`,run:e=>e.state.field(fy)?.group===null&&vy(e,e.state.field(fy).active)},{key:`0`,run:yy},{key:`ArrowLeft`,run:yy},{key:`Backspace`,run:yy},{key:`Escape`,run:e=>e.state.field(fy)?(e.dispatch({effects:dy.of(null)}),!0):!1}]));function Cy(e){return py=e,[fy,xy,Sy]}var wy=/^(\s*(?:[-*+]|\d+[.)]) \[)([ xX])\]/,Ty=/^\s*(?:[-*+]|\d+[.)]) \[ \] $/,Ey=/Mac|iPhone|iPad/.test(navigator.platform)?`⌘+Enter`:`Ctrl+Enter`;function Dy(e){let t=e.state.doc.lineAt(e.state.selection.main.head),n=wy.exec(t.text);return n?su(e,t.from+n[1].length-1):!1}function Oy(e){return[ye.define({create:()=>null,update(t,n){if(!n.docChanged&&!n.selection)return t;let r=n.state.selection.main.head,i=n.state.doc.lineAt(r),a=!1;return n.changes.iterChanges((e,t,n,r,i)=>a||=i.lines>1),!a||!n.isUserEvent(`input`)||r!==i.to||!Ty.test(i.text)?null:{pos:r,above:!1,create:()=>{let t=document.createElement(`div`);return t.className=`cm-task-hint`,t.textContent=e(`task.checkHint`,{key:Ey}),{dom:t}}}},provide:e=>Le.from(e)}),_e.high(ae.of([{key:`Mod-Enter`,run:Dy}]))]}var ky=ce.define([{tag:h.heading1,color:`var(--md-h1)`,fontWeight:`700`},{tag:h.heading2,color:`var(--md-h2)`,fontWeight:`700`},{tag:h.heading3,color:`var(--md-h3)`,fontWeight:`650`},{tag:[h.heading4,h.heading5,h.heading6],color:`var(--md-h4)`,fontWeight:`600`},{tag:h.strong,color:`var(--md-strong)`,fontWeight:`700`},{tag:h.emphasis,color:`var(--md-em)`,fontStyle:`italic`},{tag:h.strikethrough,textDecoration:`line-through`,color:`var(--muted)`},{tag:h.link,color:`var(--md-link)`},{tag:h.url,color:`var(--md-url)`},{tag:h.monospace,color:`var(--md-code)`},{tag:h.quote,color:`var(--md-quote)`,fontStyle:`italic`},{tag:h.meta,color:`var(--md-fm)`},{tag:[h.processingInstruction,h.contentSeparator],color:`var(--md-mark)`},{tag:h.labelName,color:`var(--md-mark)`},{tag:h.keyword,color:`var(--code-keyword)`},{tag:[h.string,h.special(h.string)],color:`var(--code-string)`},{tag:[h.number,h.bool,h.null],color:`var(--code-number)`},{tag:h.comment,color:`var(--code-comment)`,fontStyle:`italic`},{tag:[h.function(h.variableName),h.function(h.propertyName)],color:`var(--code-fn)`},{tag:[h.typeName,h.className],color:`var(--code-type)`},{tag:[h.propertyName,h.attributeName],color:`var(--code-prop)`},{tag:[h.operator,h.punctuation],color:`var(--code-punct)`}]),Ay=S.theme({"&":{height:`100%`,backgroundColor:`transparent`,color:`var(--text)`},"&.cm-focused":{outline:`none`},".cm-scroller":{fontFamily:`var(--editor-font)`,fontSize:`var(--editor-size)`,lineHeight:`var(--editor-line)`,padding:`16px 0 40vh`},".cm-content":{padding:`0`,flexGrow:`0`,margin:`0 auto`,width:`calc(100% - 2 * var(--editor-pad))`,maxWidth:`var(--editor-max)`,caretColor:`var(--accent)`},".cm-content:not(.cm-lineWrapping)":{width:`auto`,minWidth:`calc(100% - 2 * var(--editor-pad))`,maxWidth:`none`,margin:`0 var(--editor-pad)`},".cm-line":{padding:`0`},".cm-cursor":{borderLeftColor:`var(--accent)`,borderLeftWidth:`2px`},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, ::selection":{backgroundColor:`var(--selection) !important`},".cm-selectionLayer":{zIndex:`1 !important`},".cm-tooltip.cm-slash-menu, .cm-tooltip.cm-task-hint, .cm-tooltip.cm-format-bar":{border:`1px solid var(--border)`,backgroundColor:`var(--panel-2)`},".cm-panels":{backgroundColor:`var(--panel)`,color:`var(--text)`,borderColor:`var(--border)`}}),jy=new Fe,My=new Fe;function Ny(e,t,n,r,i,a){return Tu(e),[Pr(),je(),Gd(),io(),jy.of(n?S.lineWrapping:[]),gv({base:ev,codeLanguages:Cv,extensions:[jv,kv,Av]}),T(ky),Ay,gd.of(t),vd.of(e),Gl.of(i),My.of(r?Rd:[]),Fd,Cy(e),Oy(e),Hv(e),Jv(e),ae.of([...Ua,...ni,Wa]),S.updateListener.of(e=>{e.docChanged&&e.transactions.some(e=>!e.annotation(Py))&&a(e.state.doc.toString())})]}var Py=Ne.define(),Fy=tt((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),$=tt(((e,t)=>{t.exports=Fy()}))();function Iy(e,t,n){let r=/^---\r?\n([\s\S]*?)\r?\n---/.exec(e);if(!r)return null;let i=RegExp(`^${t}:.*$`,`m`).exec(r[1]),a=r[0].indexOf(r[1]);return i?{from:a+i.index,to:a+i.index+i[0].length,insert:`${t}: ${n}`}:{from:a+r[1].length,insert:`\n${t}: ${n}`}}var Ly={undo:0,redo:0,dirty:!1};function Ry(e){let t=le.empty(e.doc.length),n=e;for(;Vr(n)>0;){let e=[];if(!Ir({state:n,dispatch:t=>e.push(t)})||!e.length)break;t=t.compose(e[0].changes),n=e[0].state}return t}function zy({path:e,lang:t,t:n,layoutKey:r,wrap:i,visual:a=!0,theme:o,externalTick:s,onLoaded:c,onSaving:l,onSaved:u,onHistory:d,commands:f,io:p,readOnly:m,author:h=null,onOpenDoc:g}){let _=(0,k.useRef)(null),v=(0,k.useRef)(null),y=(0,k.useRef)(null),b=(0,k.useRef)(void 0),ee=(0,k.useRef)(null),te=(0,k.useRef)(0),ne=(0,k.useRef)([]),x=(0,k.useRef)({onLoaded:c,onSaving:l,onSaved:u,onHistory:d,onOpenDoc:g});x.current={onLoaded:c,onSaving:l,onSaved:u,onHistory:d,onOpenDoc:g};let re=()=>p?p.load():N.file(e,t),ie=(0,k.useRef)(``),ae=e=>{let t=e?`${Vr(e)}|${Hr(e)}`:``;if(t===ie.current)return;ie.current=t;let n=e?{undo:Vr(e),redo:Hr(e),dirty:Vr(e)>0&&!Ry(e).empty}:Ly;x.current.onHistory(n)},oe=async()=>{window.clearTimeout(b.current);let e=ee.current,n=y.current;if(e===null||!n)return;ee.current=null,ne.current=[...ne.current.slice(-9),e];let r=await(p?p.save(e):N.save(n.path,e,n.target,t));n.content=e,ee.current===null&&x.current.onSaving(!1),x.current.onSaved(r.status)};return(0,k.useEffect)(()=>{let t=!1;return re().then(r=>{if(t||!_.current)return;y.current=r,x.current.onLoaded(r),v.current=new S({parent:_.current,state:we.create({doc:r.content,extensions:[Ny(n,e,i,a,m?null:h,e=>{ee.current=e,te.current++,x.current.onSaving(!0),window.clearTimeout(b.current),b.current=window.setTimeout(oe,400)}),S.updateListener.of(e=>ae(e.state)),_d.of(e=>x.current.onOpenDoc?.(e)),m?[we.readOnly.of(!0),we.changeFilter.of(()=>!1)]:[]]})});let o=v.current;f.current={undo:()=>Ir(o),redo:()=>Lr(o),discard:()=>{let e=Ry(o.state);e.empty||o.dispatch({changes:e,annotations:Ar.of(`full`),scrollIntoView:!0})},find:e=>{e?Wd(o):Jo(o)},copy:e=>{let{from:t,to:n}=o.state.selection.main,r=t===n;return Yc(r?o.state.doc.toString():o.state.sliceDoc(t,n),e,r||t===0)},setField:(e,t)=>{let n=Iy(o.state.doc.toString(),e,t);n&&o.dispatch({changes:n,annotations:Ar.of(`full`)})}}}),()=>{t=!0,oe(),v.current?.destroy(),v.current=null,f.current=null,ae(null)}},[e]),(0,k.useEffect)(()=>{if(!s)return;let e=te.current;re().then(t=>{let n=v.current;if(!n||ee.current!==null||e!==te.current)return;let r=n.state.doc.toString();if(t.content!==r&&ne.current.includes(t.content))return x.current.onSaved(t.status);if(y.current=t,x.current.onLoaded(t),t.content===r)return;let i=Math.min(n.state.selection.main.head,t.content.length);n.dispatch({changes:{from:0,to:r.length,insert:t.content},selection:{anchor:i},annotations:[Py.of(!0),Ve.addToHistory.of(!1)]})})},[s]),(0,k.useEffect)(()=>{v.current?.requestMeasure()},[r]),(0,k.useEffect)(()=>{v.current?.dispatch({effects:jy.reconfigure(i?S.lineWrapping:[])})},[i]),(0,k.useEffect)(()=>{let e=v.current;if(!e)return;let t=e.scrollDOM.scrollTop>0?e.lineBlockAtHeight(e.scrollDOM.getBoundingClientRect().top-e.documentTop).from:null;e.dispatch({effects:[My.reconfigure(a?Rd:[]),...t===null?[]:[S.scrollIntoView(t,{y:`start`,yMargin:0})]]})},[a]),(0,k.useEffect)(()=>{v.current?.dispatch({effects:yd.of(o)})},[o]),(0,$.jsx)(`div`,{className:`editor-host`,ref:_})}var By=[`pending`,`in-progress`,`done`,`blocked`];function Vy({status:e,t}){if(!e)return null;let n=By.includes(e);return(0,$.jsx)(`span`,{className:`status-chip s-${e}`,children:n?t(`status.${e}`):e})}function Hy({status:e,copied:t,listening:n,affects:r,t:i,onSend:a,onOpen:o}){let s=r.length>0&&(0,$.jsxs)(`div`,{className:`banner proposal affects`,children:[i(`proposal.affects`),r.map(e=>(0,$.jsx)(`button`,{className:`link`,onClick:()=>o(e),children:e},e))]});return e===`applied`?(0,$.jsx)(`div`,{className:`banner proposal applied`,children:i(`proposal.applied`)}):e===`answered`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{className:`banner proposal answered`,children:[(0,$.jsx)(At,{size:14}),` `,i(n?`proposal.listening`:t?`proposal.copied`:`proposal.answered`)]}),s]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{className:`banner proposal open`,children:[(0,$.jsx)(gn,{size:14}),` `,i(`proposal.open`),(0,$.jsxs)(`button`,{className:`btn primary`,onClick:a,children:[(0,$.jsx)(Wn,{size:13}),` `,i(`proposal.send`)]})]}),s]})}var Uy=[`open`,`answered`,`applied`];function Wy({docs:e,t,onOpen:n}){let r=[...e].sort((e,t)=>Uy.indexOf(e.status??`open`)-Uy.indexOf(t.status??`open`)||(t.updated??``).localeCompare(e.updated??``)),i=e.filter(e=>(e.status??`open`)===`open`).length;return(0,$.jsxs)(`section`,{children:[(0,$.jsxs)(`h2`,{children:[t(`dash.proposals`),` `,i>0&&(0,$.jsx)(`span`,{className:`pill warn`,children:t(`dash.proposalsWaiting`,{n:i})})]}),(0,$.jsx)(`table`,{className:`doc-table`,children:(0,$.jsx)(`tbody`,{children:r.map(e=>(0,$.jsxs)(`tr`,{className:`click`,onClick:()=>n(e.path),children:[(0,$.jsx)(`td`,{style:{fontWeight:500},children:e.title.replace(/^proposal:\s*/i,``)}),(0,$.jsx)(`td`,{className:`path`,children:e.path}),(0,$.jsx)(`td`,{children:(0,$.jsx)(`span`,{className:`proposal-chip p-${e.status??`open`}`,children:t(`proposal.status.${Uy.includes(e.status??`open`)?e.status??`open`:`open`}`)})}),(0,$.jsx)(`td`,{style:{color:`var(--faint)`,whiteSpace:`nowrap`},children:e.updated??``})]},e.path))})})]})}function Gy({t:e,onActivate:t}){let[n,r]=(0,k.useState)(()=>{try{return localStorage.getItem(`markode.proposalsTip`)===`hidden`}catch{return!1}});return n?null:(0,$.jsxs)(`div`,{className:`tip`,children:[(0,$.jsx)(gn,{size:18}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`strong`,{children:e(`dash.tipTitle`)}),(0,$.jsx)(`p`,{children:e(`dash.tip`)})]}),(0,$.jsx)(`button`,{className:`btn primary`,onClick:t,children:e(`dash.tipActivate`)}),(0,$.jsx)(`button`,{className:`icon-btn`,title:e(`app.close`),onClick:()=>{r(!0);try{localStorage.setItem(`markode.proposalsTip`,`hidden`)}catch{}},children:(0,$.jsx)(ur,{size:14})})]})}var Ky=e=>e.total?Math.round(e.done/e.total*100):0;function qy({tasks:e,t}){return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{className:`progress`,children:(0,$.jsx)(`div`,{style:{width:`${Ky(e)}%`}})}),(0,$.jsx)(`div`,{className:`meta`,children:e.total?`${e.done}/${e.total} ${t(`dash.tasks`)} · ${Ky(e)}%`:t(`dash.noTasks`)})]})}function Jy({items:e}){return(0,$.jsx)(`div`,{className:`artifacts`,children:e.map(([e,t])=>(0,$.jsx)(`span`,{className:t?`on`:``,children:e},e))})}function Yy({data:e,t,onOpen:n}){return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`h2`,{children:[`OpenSpec · `,t(`dash.activeChanges`)]}),e.changes.length?(0,$.jsx)(`div`,{className:`phases`,children:e.changes.map(e=>(0,$.jsxs)(`div`,{className:`card`,onClick:()=>n(e.path),children:[(0,$.jsx)(`div`,{className:`meta`,children:(0,$.jsx)(`span`,{className:`num`,children:e.id})}),(0,$.jsx)(`div`,{className:`title`,children:e.title}),(0,$.jsx)(Jy,{items:[[`proposal`,e.artifacts.proposal],[`design`,e.artifacts.design],[`tasks`,e.artifacts.tasks],[e.artifacts.specs?`specs ×${e.artifacts.specs}`:`specs`,e.artifacts.specs>0]]}),(0,$.jsx)(qy,{tasks:e.tasks,t})]},e.id))}):(0,$.jsx)(`p`,{className:`hint`,children:t(`dash.noChanges`)}),(0,$.jsxs)(`h2`,{children:[`OpenSpec · `,t(`dash.specs`)]}),e.specs.length?(0,$.jsx)(`div`,{className:`chips`,children:e.specs.map(e=>(0,$.jsx)(`button`,{className:`chip`,onClick:()=>n(e.path),children:e.id},e.id))}):(0,$.jsx)(`p`,{className:`hint`,children:t(`dash.noSpecs`)}),!!e.archived.length&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`h2`,{children:[`OpenSpec · `,t(`dash.archived`)]}),(0,$.jsx)(`div`,{className:`chips`,children:e.archived.map(e=>(0,$.jsx)(`button`,{className:`chip`,disabled:!e.path,onClick:()=>n(e.path),children:e.id},e.id))})]})]})}function Xy({data:e,t,onOpen:n}){return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`h2`,{children:[`Spec Kit · `,t(`dash.constitution`)]}),e.constitution?(0,$.jsxs)(`div`,{className:`row`,children:[(0,$.jsx)(`button`,{className:`chip`,onClick:()=>n(e.constitution.path),children:e.constitution.path}),(0,$.jsx)(Vy,{status:e.constitution.filled?`done`:`pending`,t}),!e.constitution.filled&&(0,$.jsx)(`span`,{className:`hint`,children:t(`dash.constitutionTodo`)})]}):(0,$.jsx)(`p`,{className:`hint`,children:t(`dash.constitutionTodo`)}),(0,$.jsxs)(`h2`,{children:[`Spec Kit · `,t(`dash.features`)]}),e.features.length?(0,$.jsx)(`div`,{className:`phases`,children:e.features.map(e=>(0,$.jsxs)(`div`,{className:`card`,onClick:()=>n(e.path),children:[(0,$.jsx)(`div`,{className:`meta`,children:(0,$.jsx)(`span`,{className:`num`,children:e.id})}),(0,$.jsx)(`div`,{className:`title`,children:e.title}),(0,$.jsx)(Jy,{items:[[`spec`,e.artifacts.spec],[`plan`,e.artifacts.plan],[`tasks`,e.artifacts.tasks]]}),(0,$.jsx)(qy,{tasks:e.tasks,t})]},e.id))}):(0,$.jsx)(`p`,{className:`hint`,children:t(`dash.noFeatures`)})]})}function Zy({task:e,t,onOpen:n}){return(0,$.jsxs)(`div`,{className:`task-row`,title:e.path,onClick:t=>{t.stopPropagation(),n(e.path)},children:[(0,$.jsx)(`span`,{className:`task-dot s-${e.status??`pending`}`,title:e.status?t(`status.${e.status}`):``}),e.id&&(0,$.jsx)(`span`,{className:`task-id`,children:e.id}),(0,$.jsx)(`span`,{className:`task-title`,children:e.title}),e.tasks.total>0&&(0,$.jsxs)(`span`,{className:`task-count`,children:[e.tasks.done,`/`,e.tasks.total]})]})}function Qy({tasks:e,t,onOpen:n}){let r=e.filter(e=>e.status===`done`).length;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`h2`,{children:[t(`dash.board`),` `,(0,$.jsx)(`span`,{className:`h-note`,children:t(`dash.doneCount`,{n:r,total:e.length})})]}),(0,$.jsx)(`div`,{className:`board`,children:[`in-progress`,`blocked`,`pending`].map(r=>{let i=e.filter(e=>(e.status??`pending`)===r);return(0,$.jsxs)(`div`,{className:`board-col`,children:[(0,$.jsxs)(`div`,{className:`board-head`,children:[(0,$.jsx)(Vy,{status:r,t}),` `,(0,$.jsx)(`span`,{className:`h-note`,children:i.length})]}),i.map(e=>(0,$.jsxs)(`div`,{className:`board-card`,children:[(0,$.jsx)(Zy,{task:e,t,onOpen:n}),e.area&&(0,$.jsx)(`span`,{className:`task-area`,children:e.area})]},e.path))]},r)})})]})}function $y({t:e,unlinked:t,onLink:n}){return(0,$.jsxs)(`div`,{className:`tip`,children:[(0,$.jsx)(fn,{size:18}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`strong`,{children:e(`dash.linkTitle`)}),(0,$.jsx)(`p`,{children:e(`dash.link`,{files:t.map(e=>`${e.path} → ${e.pointsTo}`).join(`, `)})})]}),(0,$.jsx)(`button`,{className:`btn primary`,onClick:()=>n(!1),children:e(`dash.linkCreate`)}),(0,$.jsx)(`button`,{className:`btn`,onClick:()=>n(!0),children:e(`dash.linkSkip`)})]})}function eb({t:e,tick:t,onOpen:n,proposalsActive:r,onActivateProposals:i,unlinked:a,onLink:o}){let[s,c]=(0,k.useState)([]),[l,u]=(0,k.useState)({});(0,k.useEffect)(()=>{N.dashboard().then(e=>{c(e.docs),u(e.sdd)})},[t]);let d=s.filter(e=>e.type===`phase`).sort((e,t)=>(e.phase??999)-(t.phase??999)||e.path.localeCompare(t.path)),f=s.filter(e=>e.type===`task`).sort((e,t)=>(t.updated??``).localeCompare(e.updated??``)||(e.id??e.path).localeCompare(t.id??t.path)),p=s.filter(e=>e.type===`proposal`),m=s.filter(e=>e.type!==`phase`&&e.type!==`task`&&e.type!==`proposal`),h=[...new Set(m.map(e=>e.type??``))].sort((e,t)=>e===``?1:t===``?-1:e.localeCompare(t));return(0,$.jsxs)(`div`,{className:`page`,children:[a.length>0&&(0,$.jsx)($y,{t:e,unlinked:a,onLink:o}),!r&&(0,$.jsx)(Gy,{t:e,onActivate:i}),p.length>0&&(0,$.jsx)(Wy,{docs:p,t:e,onOpen:n}),l.openspec&&(0,$.jsx)(Yy,{data:l.openspec,t:e,onOpen:n}),l.speckit&&(0,$.jsx)(Xy,{data:l.speckit,t:e,onOpen:n}),(d.length>0||!l.openspec&&!l.speckit)&&(0,$.jsx)(`h2`,{children:e(`dash.phases`)}),d.length?(0,$.jsx)(`div`,{className:`phases`,children:d.map(t=>{let r=t.tasks.total?Math.round(t.tasks.done/t.tasks.total*100):t.status===`done`?100:0;return(0,$.jsxs)(`div`,{className:`card`,onClick:()=>n(t.path),children:[(0,$.jsxs)(`div`,{className:`meta`,children:[(0,$.jsx)(`span`,{className:`num`,children:t.phase===null?`—`:`#${t.phase}`}),(0,$.jsx)(Vy,{status:t.status,t:e})]}),(0,$.jsx)(`div`,{className:`title`,children:t.title}),(0,$.jsx)(`div`,{className:`progress`,children:(0,$.jsx)(`div`,{style:{width:`${r}%`}})}),(0,$.jsxs)(`div`,{className:`meta`,children:[t.tasks.done,`/`,t.tasks.total,` `,e(`dash.tasks`),` · `,r,`%`,t.updated&&(0,$.jsx)(`span`,{style:{marginLeft:`auto`},children:t.updated})]}),f.filter(e=>e.phase===t.phase).map(t=>(0,$.jsx)(Zy,{task:t,t:e,onOpen:n},t.path))]},t.path)})}):!l.openspec&&!l.speckit&&(0,$.jsx)(`p`,{style:{color:`var(--muted)`},children:e(`dash.noPhases`)}),f.length>0&&(0,$.jsx)(Qy,{tasks:f,t:e,onOpen:n}),h.map(t=>(0,$.jsxs)(`section`,{children:[(0,$.jsx)(`h2`,{children:t?[`tasks`,`rules`,`architecture`,`decision`,`note`].includes(t)?e(`type.${t}`):t:e(`dash.untyped`)}),(0,$.jsx)(`table`,{className:`doc-table`,children:(0,$.jsx)(`tbody`,{children:m.filter(e=>(e.type??``)===t).map(t=>(0,$.jsxs)(`tr`,{className:`click`,onClick:()=>n(t.path),children:[(0,$.jsx)(`td`,{style:{fontWeight:500},children:t.title}),(0,$.jsx)(`td`,{className:`path`,children:t.path}),(0,$.jsx)(`td`,{children:(0,$.jsx)(Vy,{status:t.status,t:e})}),(0,$.jsx)(`td`,{style:{color:`var(--muted)`,whiteSpace:`nowrap`},children:t.tasks.total?`${t.tasks.done}/${t.tasks.total} ${e(`dash.tasks`)}`:``}),(0,$.jsx)(`td`,{style:{color:`var(--faint)`,whiteSpace:`nowrap`},children:t.updated??``})]},t.path))})})]},t))]})}function tb(e){let t=[],n=null,r=``;for(let i of e.split(`
|
|
128
|
+
`)){if(/^(diff |index |--- |\+\+\+ |new file|deleted file|similarity|rename )/.test(i))continue;if(i.startsWith(`@@`)){let e=i.replace(/^@@[^@]*@@\s?/,``);/^#{1,6}\s/.test(e)&&(r=e),n=null;continue}let e=i[0]===`+`?`add`:i[0]===`-`?`del`:`ctx`,a=i.slice(1),o=/^#{1,6}\s+.*/.exec(a)?.[0];o&&e!==`del`&&(r=o),(!n||o&&n.section!==o&&e!==`del`)&&(n={section:r.replace(/^#+\s*/,``)||`—`,lines:[]},t.push(n)),n.lines.push({kind:e,text:a})}return t.filter(e=>e.lines.some(e=>e.kind!==`ctx`))}function nb({t:e,git:t,enabled:n,tick:r}){let i=Object.keys(t).sort(),[a,o]=(0,k.useState)(null),[s,c]=(0,k.useState)(``),l=a&&i.includes(a)?a:i[0]??null;return(0,k.useEffect)(()=>{l?N.diff(l).then(e=>c(e.diff)):c(``)},[l,r]),n?i.length?(0,$.jsxs)(`div`,{className:`changes`,children:[(0,$.jsx)(`div`,{className:`changes-list`,children:i.map(e=>(0,$.jsxs)(`div`,{className:`node${e===l?` selected`:``}`,onClick:()=>o(e),title:e,children:[(0,$.jsx)(`span`,{className:`name`,children:e}),(0,$.jsx)(`span`,{className:`badge git-${t[e]}`,children:t[e]})]},e))}),(0,$.jsx)(`div`,{className:`diff`,children:tb(s).map((t,n)=>(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{className:`section`,children:[e(`changes.section`),`: `,t.section]}),t.lines.map((e,t)=>(0,$.jsxs)(`div`,{className:`ln ${e.kind}`,children:[e.kind===`add`?`+ `:e.kind===`del`?`− `:` `,e.text]},t))]},n))})]}):(0,$.jsx)(`div`,{className:`empty`,children:e(`changes.none`)}):(0,$.jsx)(`div`,{className:`empty`,children:e(`changes.noGit`)})}function rb({t:e}){let[t,n]=(0,k.useState)([]),[r,i]=(0,k.useState)([]),[a,o]=(0,k.useState)([]),[s,c]=(0,k.useState)(null),l=()=>N.rules().then(e=>{n(e.rules),i(e.applied),o(e.applied),c(e.mainDoc)});(0,k.useEffect)(()=>{l()},[]);let u=(e,t)=>n(n=>n.map((n,r)=>r===e?{...n,...t,dirty:!0}:n)),d=r.join()!==a.join();return(0,$.jsx)(`div`,{className:`page`,children:(0,$.jsxs)(`div`,{className:`rules`,children:[(0,$.jsxs)(`div`,{className:`row`,children:[(0,$.jsx)(`h2`,{style:{margin:0,flex:1},children:e(`rules.title`)}),(0,$.jsxs)(`button`,{className:`btn`,onClick:()=>n(e=>[{id:``,title:``,body:`- `,dirty:!0,isNew:!0},...e]),children:[(0,$.jsx)(On,{size:14}),` `,e(`rules.new`)]}),s&&(0,$.jsxs)(`button`,{className:`btn${d?` primary`:``}`,onClick:async()=>{let e=t.map(e=>e.id).filter(e=>r.includes(e));await N.applyRules(e),o(e),i(e)},children:[(0,$.jsx)(At,{size:14}),` `,e(`rules.apply`,{doc:s})]})]}),(0,$.jsx)(`p`,{className:`sub`,children:s?e(`rules.subtitle`,{doc:s}):e(`rules.noMain`)}),t.map((t,a)=>(0,$.jsxs)(`div`,{className:`rule`,children:[(0,$.jsx)(`input`,{type:`checkbox`,disabled:!t.id||!s,checked:r.includes(t.id),onChange:e=>i(n=>e.target.checked?[...n,t.id]:n.filter(e=>e!==t.id))}),(0,$.jsx)(`input`,{className:`rule-title`,value:t.title,placeholder:e(`rules.titlePh`),onChange:e=>u(a,{title:e.target.value})}),(0,$.jsxs)(`div`,{className:`row`,children:[t.dirty&&(0,$.jsxs)(`button`,{className:`btn primary`,disabled:!t.title.trim(),onClick:async()=>{let e=await N.saveRule({id:t.id||void 0,title:t.title,body:t.body});n(t=>t.map((t,n)=>n===a?e:t))},children:[(0,$.jsx)(Rn,{size:14}),` `,e(`rules.save`)]}),(0,$.jsx)(`button`,{className:`btn danger`,title:e(`rules.delete`),onClick:async()=>{t.id&&await N.deleteRule(t.id),n(e=>e.filter((e,t)=>t!==a)),i(e=>e.filter(e=>e!==t.id))},children:(0,$.jsx)(nr,{size:14})})]}),(0,$.jsx)(`textarea`,{value:t.body,placeholder:e(`rules.bodyPh`),onChange:e=>u(a,{body:e.target.value}),rows:Math.max(2,t.body.split(`
|
|
129
|
+
`).length)})]},t.id||`new-${a}`))]})})}function ib({size:e=16,filled:t=!1,className:n}){return t?(0,$.jsxs)(`svg`,{className:n,width:e,height:e,viewBox:`0 0 32 32`,"aria-hidden":`true`,children:[(0,$.jsx)(`rect`,{width:`32`,height:`32`,rx:`7`,fill:`#6cb6ff`}),(0,$.jsx)(`path`,{d:`M7 10l5 6-5 6M16 9v14M25 10l-5 6 5 6`,stroke:`#14161b`,strokeWidth:`2.6`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`})]}):(0,$.jsxs)(`svg`,{className:n,width:e,height:e,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,$.jsx)(`rect`,{x:`2`,y:`2`,width:`20`,height:`20`,rx:`5.5`}),(0,$.jsx)(`path`,{d:`M5.8 8.8l2.7 3.2-2.7 3.2M12 7.6v8.8M18.2 8.8l-2.7 3.2 2.7 3.2`})]})}var ab=[`en`,`es`,`fr`,`pt`,`de`,`it`],ob={"app.settings":`Settings`,"app.close":`Close`,"settings.addLang":`Add language`,"settings.otherLang":`Other…`,"settings.langName":`Language name`,"settings.langCode":`Code`,"settings.add":`Add`,"settings.toTranslate":`{n} files to translate. Ask your agent:`,"app.copy":`Copy`,"app.copied":`Copied`,"sync.copyCommand":`Copy the command for your agent: /markode translate`,"proposal.listening":`Sent: your agent continues.`,"lang.original":`original`,"settings.editor":`Editor`,"settings.font":`Font`,"settings.size":`Size`,"settings.lineHeight":`Line spacing`,"settings.padding":`Indent (side margin)`,"settings.width":`Line width`,"settings.widthFull":`Full`,"settings.widthReadable":`Readable`,"settings.reset":`Reset`,"settings.preview":`The quick brown fox jumps over the lazy dog.`,"settings.languages":`Document languages`,"settings.source":`Source language`,"settings.sourceHint":`Language every .md file is written in. Shared with the team through {doc}.`,"settings.translations":`Translation languages`,"settings.translationsHint":`Personal: view and edit the docs in these languages. Your agent translates them with /markode translate and asks before applying your edits to the source.`,"settings.removeLang":`Remove this translation`,"settings.sourceChanged":`Existing files are not converted automatically: /markode translate will offer to convert them.`,"foreign.badge":`Written in {lang}, not in the source language`,"foreign.banner":`This file is written in {lang}, not in {source}. /markode translate will offer to convert it.`,"foreign.keep":`Keep in {lang}`,"type.phase":`Phases`,"type.tasks":`Tasks`,"type.rules":`Rules`,"type.architecture":`Architecture`,"type.decision":`Decisions`,"type.note":`Notes`,"app.files":`Files`,"app.showIgnored":`Show ignored`,"app.newFile":`New file`,"app.newFolder":`New folder`,"app.ignore":`Ignore`,"app.unignore":`Stop ignoring`,"app.copyPath":`Copy path`,"app.delete":`Delete`,"app.deleteFileConfirm":`Delete {path}? This cannot be undone.`,"app.deleteDirConfirm":`Delete the folder {path} and everything in it ({files} files, {md} of them Markdown)? This cannot be undone.`,"app.expandAll":`Expand all`,"app.collapseAll":`Collapse all`,"app.search":`Search files`,"app.searchPlaceholder":`Search…`,"app.clear":`Clear`,"app.noResults":`No matching files`,"app.noFile":`Select a file in the sidebar`,"app.saved":`Saved`,"app.saving":`Saving…`,"app.language":`Language`,"app.theme":`Theme`,"view.editor":`Editor`,"view.dashboard":`Dashboard`,"view.changes":`Changes`,"view.rules":`Rules`,"view.skills":`Skills`,"skills.title":`Global skills`,"skills.subtitle":`Skills installed for your user, read from`,"skills.none":`No global skills found. Agents look for them in ~/.claude/skills, ~/.agents/skills and similar folders.`,"skills.search":`Search skills…`,"skills.groupBy":`Group by`,"skills.byTag":`Tag`,"skills.bySource":`Location`,"skills.untagged":`Untagged`,"skills.shared":`Shared`,"skills.managed":`Managed by the app that installed it: read-only`,"skills.readOnly":`Read-only`,"skills.agent.claude":`Claude`,"skills.agent.agents":`other agents`,"skills.st.global":`Active for {agent} (global)`,"skills.st.globalHint":`Your global skill: {agent} already uses it in every project, nothing to do. Copy it into the project only to share it with your team.`,"skills.st.project":`In the project for {agent}`,"skills.st.projectHint":`Copied into this project: {agent} uses it here, and so does everyone who clones the repository.`,"skills.st.both":`Global and in the project ({agent})`,"skills.st.bothHint":`Two copies of the same skill for {agent}. Keep the project one only to share it with your team.`,"skills.st.bothHintClaude":`On your machine Claude Code runs your global copy (a personal skill wins over a project one with the same name); your teammates get the project copy. Keep it only to share it with the team.`,"skills.st.missing":`Not visible to {agent}`,"skills.st.missingHint":`It belongs to another agent: {agent} can't use it here until you add it to the project. It may mention commands of that agent; review it after copying.`,"skills.differs":`Project copy differs`,"skills.differsHint":`The SKILL.md in {dirs} is not the same as your global one (edited in the project, or older). Click to update it from the global one.`,"skills.updateConfirm":`Replace the project copy of "{name}" with your global one? Changes made to it in the project are lost.`,"skills.share":`Share with the team`,"skills.shareHint":`Your agents already use it everywhere. Copying it into the project puts it in the repository, so your team (and CI) get it too.`,"skills.useWith":`Use with {agent}`,"skills.install":`Add to project`,"skills.installTo":`Copy into this project for:`,"skills.target.claude":`Claude Code (.claude/skills)`,"skills.target.agents":`Codex, Copilot, Gemini (.agents/skills)`,"skills.copy":`Copy`,"skills.cancel":`Cancel`,"skills.overwrite":`{name} is already in {dirs}. Replace it with this version?`,"skills.addTag":`Tag`,"skills.removeTag":`Remove tag {tag}`,"skills.files":`Files`,"skills.issue.frontmatter":`SKILL.md has no valid frontmatter, so agents may not load it`,"skills.issue.name":`name is missing, longer than 64 characters or not lowercase-with-hyphens`,"skills.issue.name-dir":`name does not match the folder ({dir})`,"skills.issue.description":`description is missing: agents use it to decide when to load the skill`,"skills.issue.description-long":`description is longer than 1024 characters`,"sync.synced":`Synced`,"sync.outdated":`The original changed — translation outdated`,"sync.pending-sync":`Edited — waiting for the agent to update the original`,"sync.conflict":`Both versions changed`,"sync.missing":`Not translated yet — showing the original`,"sync.hint":`Ask your agent for /markode translate to update it.`,"sync.pendingCount":`{n} to translate`,"git.M":`Modified`,"git.A":`Added`,"git.U":`Untracked`,"git.D":`Deleted`,"changes.none":`No changes in .md files`,"changes.noGit":`This project is not a git repository.`,"changes.section":`Section`,"dash.phases":`Phases`,"dash.docs":`Documents`,"dash.tasks":`tasks`,"dash.noPhases":"No phases yet. Create files in docs/phases/ with `type: phase`.","dash.untyped":`Other`,"dash.activeChanges":`Active changes`,"dash.noChanges":`No active changes. Propose one with /opsx:propose, or ask your agent for an OpenSpec change.`,"dash.specs":`Specs`,"dash.noSpecs":`No specs yet: they appear as changes are archived.`,"dash.archived":`Archived`,"dash.constitution":`Constitution`,"dash.constitutionTodo":`Not filled in yet: run /speckit-constitution or edit it.`,"dash.features":`Features`,"dash.noFeatures":`No features yet. Start one with /speckit-specify, or ask your agent for a spec in specs/.`,"dash.noTasks":`no tasks yet`,"dash.board":`Tasks`,"dash.doneCount":`{n} of {total} done`,"status.pending":`Pending`,"status.in-progress":`In progress`,"status.done":`Done`,"status.blocked":`Blocked`,"rules.title":`Working rules`,"rules.subtitle":`Rules live in ~/.markode/rules and can be reused in any project. Checked rules are written into {doc}.`,"rules.new":`New rule`,"rules.save":`Save`,"rules.delete":`Delete`,"rules.apply":`Apply to {doc}`,"rules.applied":`Applied`,"rules.titlePh":`Rule title`,"rules.bodyPh":`- Rule text, as Markdown`,"rules.noMain":"No main document configured. Run `markode init`.","menu.title":`Insert`,"menu.back":`0 or ←: back`,"menu.headings":`Headings`,"menu.lists":`Lists`,"menu.table":`Table`,"menu.code":`Code`,"menu.diagrams":`Diagrams`,"menu.other":`Other`,"menu.h1":`Heading 1`,"menu.h2":`Heading 2`,"menu.h3":`Heading 3`,"menu.h4":`Heading 4`,"menu.bullets":`Bullet list`,"menu.numbered":`Numbered list`,"menu.checklist":`Checklist`,"menu.choice":`Single-choice list`,"menu.comments":`Comments and markers`,"menu.discussion":`Comment for discussion`,"menu.note":`Hidden note`,"menu.region":`Marked region`,"menu.tag":`Tag marker`,"region.proposals":`Proposals`,"menu.newTable":`New table`,"menu.addRow":`Add row`,"menu.addCol":`Add column`,"table.colLeft":`Insert column left`,"table.colRight":`Insert column right`,"table.rowAbove":`Insert row above`,"table.rowBelow":`Insert row below`,"task.checkHint":`{key}: mark as done`,"paste.noHeader":`{key}: no header row`,"paste.withHeader":`{key}: use first row as header`,"format.bold":`Bold`,"format.italic":`Italic`,"format.strike":`Strikethrough`,"format.boldItalic":`Bold italic`,"format.plain":`Plain text`,"format.copied":`Copied`,"table.deleteRow":`Delete row`,"table.deleteCol":`Delete column`,"app.undo":`Undo (Ctrl+Z)`,"app.redo":`Redo (Ctrl+Y)`,"format.comment":`Comment`,"comment.reply":`Reply`,"comment.note":`Hidden note: not shown when the Markdown is rendered, but read by agents. Click to edit.`,"region.rules":`Working rules`,"region.workflow":`Workflow`,"region.managed":`Managed by markode: what is between these markers can be rewritten.`,"marker.sourceLang":`Source language of the docs`,"comment.resolve":`Resolve`,"comment.placeholder":`Write a comment… (Ctrl+Enter to save)`,"comment.replyPlaceholder":`Reply… (Ctrl+Enter to save)`,"comment.save":`Comment`,"comment.cancel":`Cancel`,"comment.me":`Me`,"choice.one":`Choose one`,"proposal.open":`This proposal is waiting for your answer: tick the options and comment where needed.`,"proposal.send":`Done, send my answer`,"proposal.affects":`This decision will change:`,"proposal.copied":`Marked as answered. A message for the agent is in your clipboard: paste it in the chat.`,"proposal.message":`I answered the proposal {path}. Read my choices and comments and apply them.`,"proposal.answered":`Answered: waiting for the agent to apply it.`,"proposal.applied":`Applied by the agent.`,"proposal.status.open":`Waiting for you`,"proposal.status.answered":`Answered`,"proposal.status.applied":`Applied`,"dash.proposals":`Proposals`,"dash.proposalsWaiting":`{n} waiting for you`,"dash.tipTitle":`Proposals and comments`,"dash.linkTitle":`One instruction file for every agent`,"dash.link":`Claude Code reads CLAUDE.md; Codex, Cursor, Gemini and others read AGENTS.md. Missing: {files}. Each one only points to the existing doc; nothing is copied.`,"dash.linkCreate":`Create them`,"dash.linkSkip":`Don't ask again`,"dash.tip":`The AI agent shows options with ASCII or Mermaid diagrams in a doc; you answer by ticking and commenting, like in Word.`,"dash.tipActivate":`Activate…`,"settings.features":`Features`,"settings.featuresHint":`The viewer is always on. Turn each module on or off for this project: turning one off removes only what markode added (its sections, skills and hooks); your docs, tasks, proposals and comments stay.`,"settings.languagesOff":`The source language and translations are for the AI agent: turn it on in Features to use them.`,"settings.translationsOff":`Translations are off: turn them on in Features to read and edit the docs in other languages.`,"feature.viewer":`Viewer`,"feature.viewer.hint":`Browse, read and edit every .md file of the project, with a live preview, search, links and git changes.`,"feature.always":`Always on`,"feature.agent":`AI agent`,"feature.agent.hint":`Teaches your agent (Claude Code, Codex, Cursor, Gemini…) how to work with these docs: a markode skill and a short section in the main doc with the source language. Lets you comment on any text for the agent.`,"feature.rules":`Working rules`,"feature.rules.hint":`Rules the agent follows in this project (ask before committing, protect secrets…), chosen in the Rules tab and written in the main doc.`,"feature.proposals":`Proposals`,"feature.proposals.hint":`For long answers or decisions, the agent writes a proposal with diagrams and options; you answer by ticking and commenting, and it applies the decision.`,"feature.live":`Live changes`,"feature.live.hint":`While Claude Code works, it hears about the docs you edit and the comments you leave here, without you telling it.`,"feature.live.note":"Personal hooks, only for you. Other agents check the same with `markode changes`, as their skill says.","feature.translations":`Translations`,"feature.translations.hint":`Read and edit the docs in other languages; the agent translates them and brings your edits back to the source. Stored in .markode/, only for you.`,"feature.dashboard":`Dashboard and tasks`,"feature.dashboard.hint":`A Dashboard tab with the state of docs, proposals, phases and tasks. With the AI agent it also creates a structure for vision, architecture, phases and tasks.`,"feature.skills":`Skills`,"feature.skills.hint":`A Skills tab to browse and edit the skills installed for your agents, and add them to this project.`,"feature.vscode":`Hide in VS Code`,"feature.vscode.hint":`Hides markode's .markode/ folder (translations and state) from the VS Code explorer.`,"feature.needs":`needs {name}`,"feature.confirmOn":`Turn on {name}?`,"feature.confirmOff":`Turn off {name}? Only what markode added is removed; your docs stay.`,"feature.files":`Changes:`,"feature.alsoOff":`It also turns off: {list}.`,"feature.alsoOn":`It also turns on: {list}.`,"settings.layout":`Organize proposals`,"settings.layoutGeneral":`One folder`,"settings.layoutStructured":`By topic and area`,"app.discard":`Discard changes since the file was opened (Ctrl+Z brings them back)`,"app.copyDoc":`Copy (the selection, or the whole document)`,"app.find":`Find and replace (Ctrl+F, Ctrl+H)`,"app.copyMarkdown":`Copy as Markdown`,"app.copyFormatted":`Copy as formatted text`,"app.viewVisual":`Switch to the markode view`,"app.viewMarkdown":`Switch to the Markdown view (plain source)`,"link.edit":`Edit link`,"link.copy":`Copy link`,"link.text":`Text`,"link.url":`URL`,"link.save":`Save`,"link.remove":`Remove link`,"app.showSidebar":`Show sidebar`,"app.hideSidebar":`Hide sidebar`,"app.resizeSidebar":`Drag to resize, double-click to reset`,"settings.wrap":`Long lines`,"settings.wrapOn":`Wrap`,"settings.wrapOff":`Scroll`,"settings.wrapHint":`Scroll: long lines and wide tables scroll horizontally instead of wrapping.`,"settings.general":`General`,"settings.uiLang":`Interface language`,"settings.uiLangHint":`Language of markode' menus. It doesn't change the language your docs are written in.`,"settings.themeSystem":`System`,"settings.themeLight":`Light`,"settings.themeDark":`Dark`,"search.find":`Find`,"search.replace":`Replace`,"search.matchCase":`Match case`,"search.wholeWord":`Match whole word`,"search.regexp":`Use regular expression`,"search.previous":`Previous match (Shift+Enter)`,"search.next":`Next match (Enter)`,"search.close":`Close (Escape)`,"search.replaceOne":`Replace (Enter)`,"search.replaceAll":`Replace all (Ctrl+Alt+Enter)`,"search.toggleReplace":`Toggle replace (Ctrl+H)`,"search.count":`{n} of {total}`,"search.none":`No results`,"menu.inline":`Inline code`,"menu.block":`Code block`,"menu.ts":`TypeScript block`,"menu.bash":`Shell block`,"menu.mermaid":`Mermaid flowchart`,"menu.sequence":`Mermaid sequence`,"menu.tree":`Tree`,"menu.quote":`Quote`,"menu.link":`Link`,"menu.divider":`Divider`,"menu.frontmatter":`Frontmatter`},sb={en:ob,es:{"app.settings":`Ajustes`,"app.close":`Cerrar`,"settings.addLang":`Añadir idioma`,"settings.otherLang":`Otro…`,"settings.langName":`Nombre del idioma`,"settings.langCode":`Código`,"settings.add":`Añadir`,"settings.toTranslate":`{n} archivos por traducir. Pídeselo a tu agente:`,"app.copy":`Copiar`,"app.copied":`Copiado`,"sync.copyCommand":`Copiar el comando para tu agente: /markode translate`,"proposal.listening":`Enviada: tu agente continúa.`,"lang.original":`original`,"settings.editor":`Editor`,"settings.font":`Fuente`,"settings.size":`Tamaño`,"settings.lineHeight":`Interlineado`,"settings.padding":`Sangría (margen lateral)`,"settings.width":`Ancho de línea`,"settings.widthFull":`Completo`,"settings.widthReadable":`Lectura`,"settings.reset":`Restablecer`,"settings.preview":`El veloz murciélago hindú comía feliz cardillo y kiwi.`,"settings.languages":`Idiomas de los documentos`,"settings.source":`Idioma de origen`,"settings.sourceHint":`Idioma en el que se escribe cada .md. Se comparte con el equipo a través de {doc}.`,"settings.translations":`Idiomas de traducción`,"settings.translationsHint":`Personal: ves y editas los documentos en estos idiomas. Tu agente los traduce con /markode translate y te pregunta antes de aplicar tus cambios al original.`,"settings.removeLang":`Quitar esta traducción`,"settings.sourceChanged":`Los archivos existentes no se convierten solos: /markode translate te ofrecerá convertirlos.`,"foreign.badge":`Escrito en {lang}, no en el idioma de origen`,"foreign.banner":`Este archivo está escrito en {lang}, no en {source}. /markode translate te ofrecerá convertirlo.`,"foreign.keep":`Mantener en {lang}`,"type.phase":`Fases`,"type.tasks":`Tareas`,"type.rules":`Reglas`,"type.architecture":`Arquitectura`,"type.decision":`Decisiones`,"type.note":`Notas`,"app.files":`Archivos`,"app.showIgnored":`Mostrar omitidos`,"app.newFile":`Nuevo archivo`,"app.newFolder":`Nueva carpeta`,"app.ignore":`Omitir`,"app.unignore":`Dejar de omitir`,"app.copyPath":`Copiar ruta`,"app.delete":`Eliminar`,"app.deleteFileConfirm":`¿Eliminar {path}? No se puede deshacer.`,"app.deleteDirConfirm":`¿Eliminar la carpeta {path} y todo su contenido ({files} archivos, {md} de ellos Markdown)? No se puede deshacer.`,"app.expandAll":`Expandir todo`,"app.collapseAll":`Contraer todo`,"app.search":`Buscar archivos`,"app.searchPlaceholder":`Buscar…`,"app.clear":`Limpiar`,"app.noResults":`No hay archivos que coincidan`,"app.noFile":`Selecciona un archivo en la barra lateral`,"app.saved":`Guardado`,"app.saving":`Guardando…`,"app.language":`Idioma`,"app.theme":`Tema`,"view.editor":`Editor`,"view.dashboard":`Tablero`,"view.changes":`Cambios`,"view.rules":`Reglas`,"view.skills":`Skills`,"skills.title":`Skills globales`,"skills.subtitle":`Skills instaladas para tu usuario, leídas de`,"skills.none":`No se encontraron skills globales. Los agentes las buscan en ~/.claude/skills, ~/.agents/skills y carpetas similares.`,"skills.search":`Buscar skills…`,"skills.groupBy":`Agrupar por`,"skills.byTag":`Etiqueta`,"skills.bySource":`Ubicación`,"skills.untagged":`Sin etiqueta`,"skills.shared":`Compartida`,"skills.managed":`Gestionada por la app que la instaló: solo lectura`,"skills.readOnly":`Solo lectura`,"skills.agent.claude":`Claude`,"skills.agent.agents":`otros agentes`,"skills.st.global":`Activa para {agent} (global)`,"skills.st.globalHint":`Tu skill global: {agent} ya la usa en todos tus proyectos, no hace falta hacer nada. Cópiala al proyecto solo para compartirla con tu equipo.`,"skills.st.project":`En el proyecto para {agent}`,"skills.st.projectHint":`Copiada a este proyecto: {agent} la usa aquí, y también todo el que clone el repositorio.`,"skills.st.both":`Global y en el proyecto ({agent})`,"skills.st.bothHint":`Dos copias de la misma skill para {agent}. Conserva la del proyecto solo para compartirla con tu equipo.`,"skills.st.bothHintClaude":`En tu máquina Claude Code usa tu copia global (una skill personal gana a una del proyecto con el mismo nombre); tu equipo recibe la del proyecto. Consérvala solo para compartirla con el equipo.`,"skills.st.missing":`No visible para {agent}`,"skills.st.missingHint":`Es de otro agente: {agent} no puede usarla aquí hasta que la añadas al proyecto. Puede mencionar comandos de ese agente; revísala después de copiarla.`,"skills.differs":`La copia del proyecto difiere`,"skills.differsHint":`El SKILL.md en {dirs} no es igual a tu global (editado en el proyecto, o más antiguo). Haz clic para actualizarlo desde la global.`,"skills.updateConfirm":`¿Reemplazar la copia del proyecto de "{name}" por tu global? Se pierden los cambios hechos en el proyecto.`,"skills.share":`Compartir con el equipo`,"skills.shareHint":`Tus agentes ya la usan en todas partes. Copiarla al proyecto la pone en el repositorio, para que tu equipo (y el CI) también la tengan.`,"skills.useWith":`Usar con {agent}`,"skills.install":`Añadir al proyecto`,"skills.installTo":`Copiar a este proyecto para:`,"skills.target.claude":`Claude Code (.claude/skills)`,"skills.target.agents":`Codex, Copilot, Gemini (.agents/skills)`,"skills.copy":`Copiar`,"skills.cancel":`Cancelar`,"skills.overwrite":`{name} ya está en {dirs}. ¿Reemplazarla por esta versión?`,"skills.addTag":`Etiqueta`,"skills.removeTag":`Quitar la etiqueta {tag}`,"skills.files":`Archivos`,"skills.issue.frontmatter":`SKILL.md no tiene un frontmatter válido, así que los agentes podrían no cargarla`,"skills.issue.name":`name falta, supera 64 caracteres o no está en minúsculas-con-guiones`,"skills.issue.name-dir":`name no coincide con la carpeta ({dir})`,"skills.issue.description":`Falta description: los agentes la usan para decidir cuándo cargar la skill`,"skills.issue.description-long":`description supera los 1024 caracteres`,"sync.synced":`Sincronizado`,"sync.outdated":`Cambió el original — traducción desactualizada`,"sync.pending-sync":`Editado — esperando que el agente actualice el original`,"sync.conflict":`Cambiaron ambas versiones`,"sync.missing":`Aún sin traducir — mostrando el original`,"sync.hint":`Pide a tu agente /markode translate para actualizarla.`,"sync.pendingCount":`{n} por traducir`,"git.M":`Modificado`,"git.A":`Agregado`,"git.U":`Sin seguimiento`,"git.D":`Eliminado`,"changes.none":`No hay cambios en archivos .md`,"changes.noGit":`Este proyecto no es un repositorio git.`,"changes.section":`Sección`,"dash.phases":`Fases`,"dash.docs":`Documentos`,"dash.tasks":`tareas`,"dash.noPhases":"Aún no hay fases. Crea archivos en docs/phases/ con `type: phase`.","dash.untyped":`Otros`,"dash.activeChanges":`Cambios activos`,"dash.noChanges":`No hay cambios activos. Propón uno con /opsx:propose, o pide a tu agente un cambio de OpenSpec.`,"dash.specs":`Especificaciones`,"dash.noSpecs":`Aún no hay especificaciones: aparecen al archivar cambios.`,"dash.archived":`Archivados`,"dash.constitution":`Constitución`,"dash.constitutionTodo":`Aún sin completar: ejecuta /speckit-constitution o edítala.`,"dash.features":`Funcionalidades`,"dash.noFeatures":`Aún no hay funcionalidades. Empieza una con /speckit-specify, o pide a tu agente una spec en specs/.`,"dash.noTasks":`sin tareas aún`,"dash.board":`Tareas`,"dash.doneCount":`{n} de {total} terminadas`,"status.pending":`Pendiente`,"status.in-progress":`En curso`,"status.done":`Hecho`,"status.blocked":`Bloqueado`,"rules.title":`Reglas de trabajo`,"rules.subtitle":`Las reglas viven en ~/.markode/rules y se reutilizan en cualquier proyecto. Las marcadas se escriben en {doc}.`,"rules.new":`Nueva regla`,"rules.save":`Guardar`,"rules.delete":`Eliminar`,"rules.apply":`Aplicar a {doc}`,"rules.applied":`Aplicada`,"rules.titlePh":`Título de la regla`,"rules.bodyPh":`- Texto de la regla, en Markdown`,"rules.noMain":"No hay documento principal. Ejecuta `markode init`.","menu.title":`Insertar`,"menu.back":`0 o ←: volver`,"menu.headings":`Títulos`,"menu.lists":`Listas`,"menu.table":`Tabla`,"menu.code":`Código`,"menu.diagrams":`Diagramas`,"menu.other":`Otros`,"menu.h1":`Título 1`,"menu.h2":`Título 2`,"menu.h3":`Título 3`,"menu.h4":`Título 4`,"menu.bullets":`Lista con viñetas`,"menu.numbered":`Lista numerada`,"menu.checklist":`Lista de tareas`,"menu.choice":`Lista de opción única`,"menu.comments":`Comentarios y marcadores`,"menu.discussion":`Comentario para discutir`,"menu.note":`Nota oculta`,"menu.region":`Región marcada`,"menu.tag":`Marcador (etiqueta)`,"region.proposals":`Propuestas`,"menu.newTable":`Nueva tabla`,"menu.addRow":`Agregar fila`,"menu.addCol":`Agregar columna`,"table.colLeft":`Insertar columna a la izquierda`,"table.colRight":`Insertar columna a la derecha`,"table.rowAbove":`Insertar fila arriba`,"table.rowBelow":`Insertar fila abajo`,"task.checkHint":`{key}: marcar como hecha`,"paste.noHeader":`{key}: sin cabecera`,"paste.withHeader":`{key}: usar la primera fila como cabecera`,"format.bold":`Negrita`,"format.italic":`Cursiva`,"format.strike":`Tachado`,"format.boldItalic":`Negrita cursiva`,"format.plain":`Texto plano`,"format.copied":`Copiado`,"table.deleteRow":`Eliminar fila`,"table.deleteCol":`Eliminar columna`,"app.undo":`Deshacer (Ctrl+Z)`,"app.redo":`Rehacer (Ctrl+Y)`,"format.comment":`Comentar`,"comment.reply":`Responder`,"comment.note":`Nota oculta: no se muestra al renderizar el Markdown, pero los agentes la leen. Clic para editar.`,"region.rules":`Reglas de trabajo`,"region.workflow":`Flujo de trabajo`,"region.managed":`Administrado por markode: lo que está entre estos marcadores puede reescribirse.`,"marker.sourceLang":`Idioma de origen de los documentos`,"comment.resolve":`Resolver`,"comment.placeholder":`Escribe un comentario… (Ctrl+Enter para guardar)`,"comment.replyPlaceholder":`Responde… (Ctrl+Enter para guardar)`,"comment.save":`Comentar`,"comment.cancel":`Cancelar`,"comment.me":`Yo`,"choice.one":`Elige una`,"proposal.open":`Esta propuesta espera tu respuesta: marca las opciones y comenta donde haga falta.`,"proposal.send":`Listo, enviar mi respuesta`,"proposal.affects":`Esta decisión cambiará:`,"proposal.copied":`Marcada como respondida. Tienes un mensaje para el agente en el portapapeles: pégalo en el chat.`,"proposal.message":`Respondí la propuesta {path}. Lee mis elecciones y comentarios y aplícalos.`,"proposal.answered":`Respondida: esperando a que el agente la aplique.`,"proposal.applied":`Aplicada por el agente.`,"proposal.status.open":`Te espera`,"proposal.status.answered":`Respondida`,"proposal.status.applied":`Aplicada`,"dash.proposals":`Propuestas`,"dash.proposalsWaiting":`{n} esperan tu respuesta`,"dash.tipTitle":`Propuestas y comentarios`,"dash.linkTitle":`Un archivo de instrucciones para cada agente`,"dash.link":`Claude Code lee CLAUDE.md; Codex, Cursor, Gemini y otros leen AGENTS.md. Falta: {files}. Cada uno solo apunta al documento existente; no se copia nada.`,"dash.linkCreate":`Crearlos`,"dash.linkSkip":`No volver a preguntar`,"dash.tip":`El agente IA te muestra opciones con diagramas ASCII o Mermaid en un documento; respondes marcando y comentando, como en Word.`,"dash.tipActivate":`Activar…`,"settings.features":`Características`,"settings.featuresHint":`El visor siempre está activo. Activa o desactiva cada módulo en este proyecto: al desactivar uno se quita solo lo que añadió markode (sus secciones, skills y hooks); tus documentos, tareas, propuestas y comentarios se conservan.`,"settings.languagesOff":`El idioma fuente y las traducciones son para el agente IA: actívalo en Características para usarlos.`,"settings.translationsOff":`Las traducciones están desactivadas: actívalas en Características para leer y editar los documentos en otros idiomas.`,"feature.viewer":`Visor`,"feature.viewer.hint":`Explora, lee y edita todos los .md del proyecto, con vista previa en vivo, búsqueda, enlaces y cambios de git.`,"feature.always":`Siempre activo`,"feature.agent":`Agente IA`,"feature.agent.hint":`Enseña a tu agente (Claude Code, Codex, Cursor, Gemini…) a trabajar con estos documentos: una skill de markode y una sección corta en el documento principal con el idioma fuente. Te permite comentar cualquier texto para el agente.`,"feature.rules":`Reglas de trabajo`,"feature.rules.hint":`Reglas que el agente sigue en este proyecto (preguntar antes de hacer commit, proteger secretos…), elegidas en la pestaña Reglas y escritas en el documento principal.`,"feature.proposals":`Propuestas`,"feature.proposals.hint":`Para respuestas largas o decisiones, el agente escribe una propuesta con diagramas y opciones; respondes marcando y comentando, y él aplica la decisión.`,"feature.live":`Cambios en vivo`,"feature.live.hint":`Mientras Claude Code trabaja, se entera de los documentos que editas y de los comentarios que dejas aquí, sin que tengas que decírselo.`,"feature.live.note":"Hooks personales, solo para ti. Los demás agentes comprueban lo mismo con `markode changes`, como indica su skill.","feature.translations":`Traducciones`,"feature.translations.hint":`Lee y edita los documentos en otros idiomas; el agente los traduce y lleva tus cambios al original. Se guardan en .markode/, solo para ti.`,"feature.dashboard":`Dashboard y tareas`,"feature.dashboard.hint":`Una pestaña Dashboard con el estado de documentos, propuestas, fases y tareas. Con el agente IA crea además una estructura para visión, arquitectura, fases y tareas.`,"feature.skills":`Skills`,"feature.skills.hint":`Una pestaña Skills para ver y editar las skills instaladas para tus agentes, y añadirlas a este proyecto.`,"feature.vscode":`Ocultar en VS Code`,"feature.vscode.hint":`Oculta la carpeta .markode/ de markode (traducciones y estado) en el explorador de VS Code.`,"feature.needs":`requiere {name}`,"feature.confirmOn":`¿Activar {name}?`,"feature.confirmOff":`¿Desactivar {name}? Solo se quita lo que añadió markode; tus documentos se conservan.`,"feature.files":`Cambia:`,"feature.alsoOff":`También se desactiva: {list}.`,"feature.alsoOn":`También se activa: {list}.`,"settings.layout":`Organizar propuestas`,"settings.layoutGeneral":`Una carpeta`,"settings.layoutStructured":`Por tema y área`,"app.discard":`Descartar los cambios desde que se abrió el archivo (Ctrl+Z los recupera)`,"app.copyDoc":`Copiar (la selección o el documento completo)`,"app.find":`Buscar y reemplazar (Ctrl+F, Ctrl+H)`,"app.copyMarkdown":`Copiar como Markdown`,"app.copyFormatted":`Copiar como texto con formato`,"app.viewVisual":`Cambiar a la vista markode`,"app.viewMarkdown":`Cambiar a la vista Markdown (código fuente)`,"link.edit":`Editar enlace`,"link.copy":`Copiar enlace`,"link.text":`Texto`,"link.url":`URL`,"link.save":`Guardar`,"link.remove":`Quitar enlace`,"app.showSidebar":`Mostrar barra lateral`,"app.hideSidebar":`Ocultar barra lateral`,"app.resizeSidebar":`Arrastra para cambiar el ancho, doble clic para restablecerlo`,"settings.wrap":`Líneas largas`,"settings.wrapOn":`Ajustar`,"settings.wrapOff":`Desplazar`,"settings.wrapHint":`Desplazar: las líneas largas y las tablas anchas se desplazan en horizontal en vez de ajustarse.`,"settings.general":`General`,"settings.uiLang":`Idioma de la interfaz`,"settings.uiLangHint":`Idioma de los menús de markode. No cambia el idioma en el que están escritos tus documentos.`,"settings.themeSystem":`Sistema`,"settings.themeLight":`Claro`,"settings.themeDark":`Oscuro`,"search.find":`Buscar`,"search.replace":`Reemplazar`,"search.matchCase":`Coincidir mayúsculas y minúsculas`,"search.wholeWord":`Solo palabras completas`,"search.regexp":`Usar expresión regular`,"search.previous":`Coincidencia anterior (Mayús+Intro)`,"search.next":`Coincidencia siguiente (Intro)`,"search.close":`Cerrar (Escape)`,"search.replaceOne":`Reemplazar (Intro)`,"search.replaceAll":`Reemplazar todo (Ctrl+Alt+Intro)`,"search.toggleReplace":`Mostrar reemplazar (Ctrl+H)`,"search.count":`{n} de {total}`,"search.none":`Sin resultados`,"menu.inline":`Código en línea`,"menu.block":`Bloque de código`,"menu.ts":`Bloque TypeScript`,"menu.bash":`Bloque de terminal`,"menu.mermaid":`Diagrama de flujo (mermaid)`,"menu.sequence":`Diagrama de secuencia (mermaid)`,"menu.tree":`Árbol`,"menu.quote":`Cita`,"menu.link":`Enlace`,"menu.divider":`Separador`,"menu.frontmatter":`Frontmatter`},fr:{"app.settings":`Paramètres`,"app.close":`Fermer`,"settings.addLang":`Ajouter une langue`,"settings.otherLang":`Autre…`,"settings.langName":`Nom de la langue`,"settings.langCode":`Code`,"settings.add":`Ajouter`,"settings.toTranslate":`{n} fichiers à traduire. Demandez à votre agent :`,"app.copy":`Copier`,"app.copied":`Copié`,"sync.copyCommand":`Copier la commande pour votre agent : /markode translate`,"proposal.listening":`Envoyée : votre agent continue.`,"lang.original":`original`,"settings.editor":`Éditeur`,"settings.font":`Police`,"settings.size":`Taille`,"settings.lineHeight":`Interligne`,"settings.padding":`Retrait (marge latérale)`,"settings.width":`Largeur de ligne`,"settings.widthFull":`Complète`,"settings.widthReadable":`Lecture`,"settings.reset":`Réinitialiser`,"settings.preview":`Portez ce vieux whisky au juge blond qui fume.`,"settings.languages":`Langues des documents`,"settings.source":`Langue d'origine`,"settings.sourceHint":`Langue dans laquelle chaque .md est écrit. Partagée avec l'équipe via {doc}.`,"settings.translations":`Langues de traduction`,"settings.translationsHint":`Personnel : consultez et modifiez les documents dans ces langues. Votre agent les traduit avec /markode translate et vous demande avant d'appliquer vos modifications à l'original.`,"settings.removeLang":`Retirer cette traduction`,"settings.sourceChanged":`Les fichiers existants ne sont pas convertis automatiquement : /markode translate proposera de les convertir.`,"foreign.badge":`Écrit en {lang}, pas dans la langue d'origine`,"foreign.banner":`Ce fichier est écrit en {lang}, pas en {source}. /markode translate proposera de le convertir.`,"foreign.keep":`Garder en {lang}`,"type.phase":`Phases`,"type.tasks":`Tâches`,"type.rules":`Règles`,"type.architecture":`Architecture`,"type.decision":`Décisions`,"type.note":`Notes`,"app.files":`Fichiers`,"app.showIgnored":`Afficher les ignorés`,"app.newFile":`Nouveau fichier`,"app.newFolder":`Nouveau dossier`,"app.ignore":`Ignorer`,"app.unignore":`Ne plus ignorer`,"app.copyPath":`Copier le chemin`,"app.delete":`Supprimer`,"app.deleteFileConfirm":`Supprimer {path} ? Action irréversible.`,"app.deleteDirConfirm":`Supprimer le dossier {path} et tout son contenu ({files} fichiers, dont {md} Markdown) ? Action irréversible.`,"app.expandAll":`Tout déplier`,"app.collapseAll":`Tout replier`,"app.search":`Rechercher des fichiers`,"app.searchPlaceholder":`Rechercher…`,"app.clear":`Effacer`,"app.noResults":`Aucun fichier correspondant`,"app.noFile":`Sélectionnez un fichier dans la barre latérale`,"app.saved":`Enregistré`,"app.saving":`Enregistrement…`,"app.language":`Langue`,"app.theme":`Thème`,"view.editor":`Éditeur`,"view.dashboard":`Tableau de bord`,"view.changes":`Modifications`,"view.rules":`Règles`,"view.skills":`Skills`,"skills.title":`Skills globales`,"skills.subtitle":`Skills installées pour votre utilisateur, lues depuis`,"skills.none":`Aucune skill globale trouvée. Les agents les cherchent dans ~/.claude/skills, ~/.agents/skills et des dossiers similaires.`,"skills.search":`Rechercher des skills…`,"skills.groupBy":`Grouper par`,"skills.byTag":`Étiquette`,"skills.bySource":`Emplacement`,"skills.untagged":`Sans étiquette`,"skills.shared":`Partagée`,"skills.managed":`Gérée par l’app qui l’a installée : lecture seule`,"skills.readOnly":`Lecture seule`,"skills.agent.claude":`Claude`,"skills.agent.agents":`les autres agents`,"skills.st.global":`Active pour {agent} (globale)`,"skills.st.globalHint":`Votre skill globale : {agent} l’utilise déjà dans tous vos projets, rien à faire. Copiez-la dans le projet seulement pour la partager avec votre équipe.`,"skills.st.project":`Dans le projet pour {agent}`,"skills.st.projectHint":`Copiée dans ce projet : {agent} l’utilise ici, comme tous ceux qui clonent le dépôt.`,"skills.st.both":`Globale et dans le projet ({agent})`,"skills.st.bothHint":`Deux copies de la même skill pour {agent}. Gardez celle du projet seulement pour la partager avec votre équipe.`,"skills.st.bothHintClaude":`Sur votre machine, Claude Code utilise votre copie globale (une skill personnelle l’emporte sur celle du projet du même nom) ; votre équipe reçoit celle du projet. Gardez-la seulement pour la partager.`,"skills.st.missing":`Invisible pour {agent}`,"skills.st.missingHint":`Elle appartient à un autre agent : {agent} ne peut pas l’utiliser ici tant que vous ne l’ajoutez pas au projet. Elle peut citer des commandes de cet agent ; relisez-la après la copie.`,"skills.differs":`La copie du projet diffère`,"skills.differsHint":`Le SKILL.md dans {dirs} n’est pas identique à votre version globale (modifié dans le projet, ou plus ancien). Cliquez pour le mettre à jour depuis la globale.`,"skills.updateConfirm":`Remplacer la copie du projet de « {name} » par votre version globale ? Les modifications faites dans le projet seront perdues.`,"skills.share":`Partager avec l’équipe`,"skills.shareHint":`Vos agents l’utilisent déjà partout. La copier dans le projet la met dans le dépôt, pour que votre équipe (et la CI) l’aient aussi.`,"skills.useWith":`Utiliser avec {agent}`,"skills.install":`Ajouter au projet`,"skills.installTo":`Copier dans ce projet pour :`,"skills.target.claude":`Claude Code (.claude/skills)`,"skills.target.agents":`Codex, Copilot, Gemini (.agents/skills)`,"skills.copy":`Copier`,"skills.cancel":`Annuler`,"skills.overwrite":`{name} est déjà dans {dirs}. La remplacer par cette version ?`,"skills.addTag":`Étiquette`,"skills.removeTag":`Retirer l’étiquette {tag}`,"skills.files":`Fichiers`,"skills.issue.frontmatter":`SKILL.md n’a pas de frontmatter valide : les agents pourraient ne pas la charger`,"skills.issue.name":`name manque, dépasse 64 caractères ou n’est pas en minuscules-avec-tirets`,"skills.issue.name-dir":`name ne correspond pas au dossier ({dir})`,"skills.issue.description":`description manque : les agents s’en servent pour décider quand charger la skill`,"skills.issue.description-long":`description dépasse 1024 caractères`,"sync.synced":`Synchronisé`,"sync.outdated":`L'original a changé — traduction obsolète`,"sync.pending-sync":`Modifié — en attente de la mise à jour de l'original par l'agent`,"sync.conflict":`Les deux versions ont changé`,"sync.missing":`Pas encore traduit — affichage de l'original`,"sync.hint":`Demandez /markode translate à votre agent pour la mettre à jour.`,"sync.pendingCount":`{n} à traduire`,"git.M":`Modifié`,"git.A":`Ajouté`,"git.U":`Non suivi`,"git.D":`Supprimé`,"changes.none":`Aucune modification dans les fichiers .md`,"changes.noGit":`Ce projet n'est pas un dépôt git.`,"changes.section":`Section`,"dash.phases":`Phases`,"dash.docs":`Documents`,"dash.tasks":`tâches`,"dash.noPhases":"Pas encore de phases. Créez des fichiers dans docs/phases/ avec `type: phase`.","dash.untyped":`Autres`,"dash.activeChanges":`Changements actifs`,"dash.noChanges":`Aucun changement actif. Proposez-en un avec /opsx:propose, ou demandez à votre agent un changement OpenSpec.`,"dash.specs":`Spécifications`,"dash.noSpecs":`Pas encore de spécifications : elles apparaissent quand des changements sont archivés.`,"dash.archived":`Archivés`,"dash.constitution":`Constitution`,"dash.constitutionTodo":`Pas encore remplie : lancez /speckit-constitution ou modifiez-la.`,"dash.features":`Fonctionnalités`,"dash.noFeatures":`Pas encore de fonctionnalités. Commencez-en une avec /speckit-specify, ou demandez à votre agent une spec dans specs/.`,"dash.noTasks":`pas encore de tâches`,"dash.board":`Tâches`,"dash.doneCount":`{n} sur {total} terminées`,"status.pending":`En attente`,"status.in-progress":`En cours`,"status.done":`Terminé`,"status.blocked":`Bloqué`,"rules.title":`Règles de travail`,"rules.subtitle":`Les règles vivent dans ~/.markode/rules et sont réutilisables dans tout projet. Les règles cochées sont écrites dans {doc}.`,"rules.new":`Nouvelle règle`,"rules.save":`Enregistrer`,"rules.delete":`Supprimer`,"rules.apply":`Appliquer à {doc}`,"rules.applied":`Appliquée`,"rules.titlePh":`Titre de la règle`,"rules.bodyPh":`- Texte de la règle, en Markdown`,"rules.noMain":"Aucun document principal. Exécutez `markode init`.","menu.title":`Insérer`,"menu.back":`0 ou ← : revenir`,"menu.headings":`Titres`,"menu.lists":`Listes`,"menu.table":`Tableau`,"menu.code":`Code`,"menu.diagrams":`Diagrammes`,"menu.other":`Autres`,"menu.h1":`Titre 1`,"menu.h2":`Titre 2`,"menu.h3":`Titre 3`,"menu.h4":`Titre 4`,"menu.bullets":`Liste à puces`,"menu.numbered":`Liste numérotée`,"menu.checklist":`Liste de tâches`,"menu.choice":`Liste à choix unique`,"menu.comments":`Commentaires et marqueurs`,"menu.discussion":`Commentaire à discuter`,"menu.note":`Note cachée`,"menu.region":`Région balisée`,"menu.tag":`Marqueur (étiquette)`,"region.proposals":`Propositions`,"menu.newTable":`Nouveau tableau`,"menu.addRow":`Ajouter une ligne`,"menu.addCol":`Ajouter une colonne`,"table.colLeft":`Insérer une colonne à gauche`,"table.colRight":`Insérer une colonne à droite`,"table.rowAbove":`Insérer une ligne au-dessus`,"table.rowBelow":`Insérer une ligne en dessous`,"task.checkHint":`{key} : marquer comme fait`,"paste.noHeader":`{key} : sans ligne d’en-tête`,"paste.withHeader":`{key} : utiliser la première ligne comme en-tête`,"format.bold":`Gras`,"format.italic":`Italique`,"format.strike":`Barré`,"format.boldItalic":`Gras italique`,"format.plain":`Texte brut`,"format.copied":`Copié`,"table.deleteRow":`Supprimer la ligne`,"table.deleteCol":`Supprimer la colonne`,"app.undo":`Annuler (Ctrl+Z)`,"app.redo":`Rétablir (Ctrl+Y)`,"format.comment":`Commenter`,"comment.reply":`Répondre`,"comment.note":`Note cachée : non affichée quand le Markdown est rendu, mais lue par les agents. Cliquez pour modifier.`,"region.rules":`Règles de travail`,"region.workflow":`Flux de travail`,"region.managed":`Géré par markode : le contenu entre ces marqueurs peut être réécrit.`,"marker.sourceLang":`Langue source des documents`,"comment.resolve":`Résoudre`,"comment.placeholder":`Écrivez un commentaire… (Ctrl+Entrée pour enregistrer)`,"comment.replyPlaceholder":`Répondez… (Ctrl+Entrée pour enregistrer)`,"comment.save":`Commenter`,"comment.cancel":`Annuler`,"comment.me":`Moi`,"choice.one":`Choisissez-en une`,"proposal.open":`Cette proposition attend votre réponse : cochez les options et commentez si besoin.`,"proposal.send":`Terminé, envoyer ma réponse`,"proposal.affects":`Cette décision modifiera :`,"proposal.copied":`Marquée comme répondue. Un message pour l’agent est dans votre presse-papiers : collez-le dans le chat.`,"proposal.message":`J’ai répondu à la proposition {path}. Lis mes choix et commentaires et applique-les.`,"proposal.answered":`Répondue : en attente de l’agent.`,"proposal.applied":`Appliquée par l’agent.`,"proposal.status.open":`Vous attend`,"proposal.status.answered":`Répondue`,"proposal.status.applied":`Appliquée`,"dash.proposals":`Propositions`,"dash.proposalsWaiting":`{n} vous attendent`,"dash.tipTitle":`Propositions et commentaires`,"dash.linkTitle":`Un fichier d'instructions pour chaque agent`,"dash.link":`Claude Code lit CLAUDE.md ; Codex, Cursor, Gemini et d'autres lisent AGENTS.md. Manquant : {files}. Chacun renvoie simplement au document existant ; rien n'est copié.`,"dash.linkCreate":`Les créer`,"dash.linkSkip":`Ne plus demander`,"dash.tip":`L’agent IA présente des options avec des diagrammes ASCII ou Mermaid ; vous répondez en cochant et en commentant, comme dans Word.`,"dash.tipActivate":`Activer…`,"settings.features":`Fonctionnalités`,"settings.featuresHint":`La visionneuse est toujours active. Activez ou désactivez chaque module pour ce projet : en désactiver un ne retire que ce que markode a ajouté (ses sections, skills et hooks) ; vos documents, tâches, propositions et commentaires restent.`,"settings.languagesOff":`La langue source et les traductions servent à l’agent IA : activez-le dans Fonctionnalités pour les utiliser.`,"settings.translationsOff":`Les traductions sont désactivées : activez-les dans Fonctionnalités pour lire et modifier les documents dans d’autres langues.`,"feature.viewer":`Visionneuse`,"feature.viewer.hint":`Parcourez, lisez et modifiez tous les fichiers .md du projet, avec aperçu en direct, recherche, liens et modifications git.`,"feature.always":`Toujours active`,"feature.agent":`Agent IA`,"feature.agent.hint":`Apprend à votre agent (Claude Code, Codex, Cursor, Gemini…) à travailler avec ces documents : une skill markode et une courte section dans le document principal avec la langue source. Vous permet de commenter n’importe quel texte pour l’agent.`,"feature.rules":`Règles de travail`,"feature.rules.hint":`Règles que l’agent suit dans ce projet (demander avant de commiter, protéger les secrets…), choisies dans l’onglet Règles et écrites dans le document principal.`,"feature.proposals":`Propositions`,"feature.proposals.hint":`Pour les réponses longues ou les décisions, l’agent écrit une proposition avec diagrammes et options ; vous répondez en cochant et en commentant, et il applique la décision.`,"feature.live":`Changements en direct`,"feature.live.hint":`Pendant que Claude Code travaille, il apprend quels documents vous modifiez et quels commentaires vous laissez ici, sans que vous ayez à le lui dire.`,"feature.live.note":"Hooks personnels, pour vous seul. Les autres agents vérifient la même chose avec `markode changes`, comme l’indique leur skill.","feature.translations":`Traductions`,"feature.translations.hint":`Lisez et modifiez les documents dans d’autres langues ; l’agent les traduit et reporte vos modifications dans l’original. Stockées dans .markode/, pour vous seul.`,"feature.dashboard":`Tableau de bord et tâches`,"feature.dashboard.hint":`Un onglet Tableau de bord avec l’état des documents, propositions, phases et tâches. Avec l’agent IA, il crée aussi une structure pour la vision, l’architecture, les phases et les tâches.`,"feature.skills":`Skills`,"feature.skills.hint":`Un onglet Skills pour parcourir et modifier les skills installées pour vos agents, et les ajouter à ce projet.`,"feature.vscode":`Masquer dans VS Code`,"feature.vscode.hint":`Masque le dossier .markode/ de markode (traductions et état) dans l’explorateur de VS Code.`,"feature.needs":`nécessite {name}`,"feature.confirmOn":`Activer {name} ?`,"feature.confirmOff":`Désactiver {name} ? Seul ce que markode a ajouté est retiré ; vos documents restent.`,"feature.files":`Modifie :`,"feature.alsoOff":`Désactive aussi : {list}.`,"feature.alsoOn":`Active aussi : {list}.`,"settings.layout":`Organiser les propositions`,"settings.layoutGeneral":`Un seul dossier`,"settings.layoutStructured":`Par sujet et zone`,"app.discard":`Annuler les modifications depuis l’ouverture du fichier (Ctrl+Z les rétablit)`,"app.copyDoc":`Copier (la sélection ou tout le document)`,"app.find":`Rechercher et remplacer (Ctrl+F, Ctrl+H)`,"app.copyMarkdown":`Copier en Markdown`,"app.copyFormatted":`Copier en texte mis en forme`,"app.viewVisual":`Passer à la vue markode`,"app.viewMarkdown":`Passer à la vue Markdown (source)`,"link.edit":`Modifier le lien`,"link.copy":`Copier le lien`,"link.text":`Texte`,"link.url":`URL`,"link.save":`Enregistrer`,"link.remove":`Retirer le lien`,"app.showSidebar":`Afficher la barre latérale`,"app.hideSidebar":`Masquer la barre latérale`,"app.resizeSidebar":`Glisser pour redimensionner, double-clic pour réinitialiser`,"settings.wrap":`Lignes longues`,"settings.wrapOn":`Retour à la ligne`,"settings.wrapOff":`Défilement`,"settings.wrapHint":`Défilement : les lignes longues et les tableaux larges défilent horizontalement au lieu de revenir à la ligne.`,"settings.general":`Général`,"settings.uiLang":`Langue de l'interface`,"settings.uiLangHint":`Langue des menus de markode. Elle ne change pas la langue dans laquelle vos documents sont écrits.`,"settings.themeSystem":`Système`,"settings.themeLight":`Clair`,"settings.themeDark":`Sombre`,"search.find":`Rechercher`,"search.replace":`Remplacer`,"search.matchCase":`Respecter la casse`,"search.wholeWord":`Mot entier`,"search.regexp":`Utiliser une expression régulière`,"search.previous":`Occurrence précédente (Maj+Entrée)`,"search.next":`Occurrence suivante (Entrée)`,"search.close":`Fermer (Échap)`,"search.replaceOne":`Remplacer (Entrée)`,"search.replaceAll":`Tout remplacer (Ctrl+Alt+Entrée)`,"search.toggleReplace":`Afficher remplacer (Ctrl+H)`,"search.count":`{n} sur {total}`,"search.none":`Aucun résultat`,"menu.inline":`Code en ligne`,"menu.block":`Bloc de code`,"menu.ts":`Bloc TypeScript`,"menu.bash":`Bloc terminal`,"menu.mermaid":`Organigramme (mermaid)`,"menu.sequence":`Diagramme de séquence (mermaid)`,"menu.tree":`Arbre`,"menu.quote":`Citation`,"menu.link":`Lien`,"menu.divider":`Séparateur`,"menu.frontmatter":`Frontmatter`},pt:{"app.settings":`Configurações`,"app.close":`Fechar`,"settings.addLang":`Adicionar idioma`,"settings.otherLang":`Outro…`,"settings.langName":`Nome do idioma`,"settings.langCode":`Código`,"settings.add":`Adicionar`,"settings.toTranslate":`{n} arquivos para traduzir. Peça ao seu agente:`,"app.copy":`Copiar`,"app.copied":`Copiado`,"sync.copyCommand":`Copiar o comando para o seu agente: /markode translate`,"proposal.listening":`Enviada: seu agente continua.`,"lang.original":`original`,"settings.editor":`Editor`,"settings.font":`Fonte`,"settings.size":`Tamanho`,"settings.lineHeight":`Entrelinha`,"settings.padding":`Recuo (margem lateral)`,"settings.width":`Largura da linha`,"settings.widthFull":`Completa`,"settings.widthReadable":`Leitura`,"settings.reset":`Restaurar`,"settings.preview":`A rápida raposa marrom pula sobre o cão preguiçoso.`,"settings.languages":`Idiomas dos documentos`,"settings.source":`Idioma de origem`,"settings.sourceHint":`Idioma em que cada .md é escrito. Compartilhado com a equipe por meio de {doc}.`,"settings.translations":`Idiomas de tradução`,"settings.translationsHint":`Pessoal: veja e edite os documentos nesses idiomas. Seu agente os traduz com /markode translate e pergunta antes de aplicar suas edições ao original.`,"settings.removeLang":`Remover esta tradução`,"settings.sourceChanged":`Os arquivos existentes não são convertidos automaticamente: /markode translate oferecerá convertê-los.`,"foreign.badge":`Escrito em {lang}, não no idioma de origem`,"foreign.banner":`Este arquivo está escrito em {lang}, não em {source}. /markode translate oferecerá convertê-lo.`,"foreign.keep":`Manter em {lang}`,"type.phase":`Fases`,"type.tasks":`Tarefas`,"type.rules":`Regras`,"type.architecture":`Arquitetura`,"type.decision":`Decisões`,"type.note":`Notas`,"app.files":`Arquivos`,"app.showIgnored":`Mostrar ignorados`,"app.newFile":`Novo arquivo`,"app.newFolder":`Nova pasta`,"app.ignore":`Ignorar`,"app.unignore":`Deixar de ignorar`,"app.copyPath":`Copiar caminho`,"app.delete":`Excluir`,"app.deleteFileConfirm":`Excluir {path}? Não é possível desfazer.`,"app.deleteDirConfirm":`Excluir a pasta {path} e todo o seu conteúdo ({files} arquivos, {md} deles Markdown)? Não é possível desfazer.`,"app.expandAll":`Expandir tudo`,"app.collapseAll":`Recolher tudo`,"app.search":`Pesquisar arquivos`,"app.searchPlaceholder":`Pesquisar…`,"app.clear":`Limpar`,"app.noResults":`Nenhum arquivo encontrado`,"app.noFile":`Selecione um arquivo na barra lateral`,"app.saved":`Salvo`,"app.saving":`Salvando…`,"app.language":`Idioma`,"app.theme":`Tema`,"view.editor":`Editor`,"view.dashboard":`Painel`,"view.changes":`Alterações`,"view.rules":`Regras`,"view.skills":`Skills`,"skills.title":`Skills globais`,"skills.subtitle":`Skills instaladas para o seu usuário, lidas de`,"skills.none":`Nenhuma skill global encontrada. Os agentes as procuram em ~/.claude/skills, ~/.agents/skills e pastas semelhantes.`,"skills.search":`Pesquisar skills…`,"skills.groupBy":`Agrupar por`,"skills.byTag":`Etiqueta`,"skills.bySource":`Local`,"skills.untagged":`Sem etiqueta`,"skills.shared":`Compartilhada`,"skills.managed":`Gerenciada pelo app que a instalou: somente leitura`,"skills.readOnly":`Somente leitura`,"skills.agent.claude":`Claude`,"skills.agent.agents":`outros agentes`,"skills.st.global":`Ativa para {agent} (global)`,"skills.st.globalHint":`Sua skill global: {agent} já a usa em todos os seus projetos, nada a fazer. Copie-a para o projeto só para compartilhá-la com sua equipe.`,"skills.st.project":`No projeto para {agent}`,"skills.st.projectHint":`Copiada para este projeto: {agent} a usa aqui, assim como todos que clonarem o repositório.`,"skills.st.both":`Global e no projeto ({agent})`,"skills.st.bothHint":`Duas cópias da mesma skill para {agent}. Mantenha a do projeto só para compartilhá-la com sua equipe.`,"skills.st.bothHintClaude":`Na sua máquina o Claude Code usa sua cópia global (uma skill pessoal vence uma do projeto com o mesmo nome); sua equipe recebe a do projeto. Mantenha-a só para compartilhar com a equipe.`,"skills.st.missing":`Invisível para {agent}`,"skills.st.missingHint":`É de outro agente: {agent} não pode usá-la aqui até você adicioná-la ao projeto. Pode citar comandos desse agente; revise-a depois de copiar.`,"skills.differs":`A cópia do projeto difere`,"skills.differsHint":`O SKILL.md em {dirs} não é igual ao seu global (editado no projeto, ou mais antigo). Clique para atualizá-lo a partir do global.`,"skills.updateConfirm":`Substituir a cópia do projeto de "{name}" pela sua global? As alterações feitas no projeto serão perdidas.`,"skills.share":`Compartilhar com a equipe`,"skills.shareHint":`Seus agentes já a usam em todo lugar. Copiá-la para o projeto a coloca no repositório, para que sua equipe (e o CI) também a tenham.`,"skills.useWith":`Usar com {agent}`,"skills.install":`Adicionar ao projeto`,"skills.installTo":`Copiar para este projeto para:`,"skills.target.claude":`Claude Code (.claude/skills)`,"skills.target.agents":`Codex, Copilot, Gemini (.agents/skills)`,"skills.copy":`Copiar`,"skills.cancel":`Cancelar`,"skills.overwrite":`{name} já está em {dirs}. Substituir por esta versão?`,"skills.addTag":`Etiqueta`,"skills.removeTag":`Remover a etiqueta {tag}`,"skills.files":`Arquivos`,"skills.issue.frontmatter":`SKILL.md não tem um frontmatter válido, então os agentes podem não carregá-la`,"skills.issue.name":`name ausente, com mais de 64 caracteres ou fora de minúsculas-com-hífens`,"skills.issue.name-dir":`name não corresponde à pasta ({dir})`,"skills.issue.description":`description ausente: os agentes a usam para decidir quando carregar a skill`,"skills.issue.description-long":`description tem mais de 1024 caracteres`,"sync.synced":`Sincronizado`,"sync.outdated":`O original mudou — tradução desatualizada`,"sync.pending-sync":`Editado — aguardando o agente atualizar o original`,"sync.conflict":`As duas versões mudaram`,"sync.missing":`Ainda não traduzido — mostrando o original`,"sync.hint":`Peça /markode translate ao seu agente para atualizá-la.`,"sync.pendingCount":`{n} para traduzir`,"git.M":`Modificado`,"git.A":`Adicionado`,"git.U":`Não rastreado`,"git.D":`Excluído`,"changes.none":`Nenhuma alteração em arquivos .md`,"changes.noGit":`Este projeto não é um repositório git.`,"changes.section":`Seção`,"dash.phases":`Fases`,"dash.docs":`Documentos`,"dash.tasks":`tarefas`,"dash.noPhases":"Ainda não há fases. Crie arquivos em docs/phases/ com `type: phase`.","dash.untyped":`Outros`,"dash.activeChanges":`Mudanças ativas`,"dash.noChanges":`Nenhuma mudança ativa. Proponha uma com /opsx:propose, ou peça ao seu agente uma mudança do OpenSpec.`,"dash.specs":`Especificações`,"dash.noSpecs":`Ainda não há especificações: elas aparecem ao arquivar mudanças.`,"dash.archived":`Arquivadas`,"dash.constitution":`Constituição`,"dash.constitutionTodo":`Ainda não preenchida: execute /speckit-constitution ou edite-a.`,"dash.features":`Funcionalidades`,"dash.noFeatures":`Ainda não há funcionalidades. Comece uma com /speckit-specify, ou peça ao seu agente uma spec em specs/.`,"dash.noTasks":`ainda sem tarefas`,"dash.board":`Tarefas`,"dash.doneCount":`{n} de {total} concluídas`,"status.pending":`Pendente`,"status.in-progress":`Em andamento`,"status.done":`Concluído`,"status.blocked":`Bloqueado`,"rules.title":`Regras de trabalho`,"rules.subtitle":`As regras ficam em ~/.markode/rules e podem ser reutilizadas em qualquer projeto. As marcadas são escritas em {doc}.`,"rules.new":`Nova regra`,"rules.save":`Salvar`,"rules.delete":`Excluir`,"rules.apply":`Aplicar a {doc}`,"rules.applied":`Aplicada`,"rules.titlePh":`Título da regra`,"rules.bodyPh":`- Texto da regra, em Markdown`,"rules.noMain":"Nenhum documento principal. Execute `markode init`.","menu.title":`Inserir`,"menu.back":`0 ou ←: voltar`,"menu.headings":`Títulos`,"menu.lists":`Listas`,"menu.table":`Tabela`,"menu.code":`Código`,"menu.diagrams":`Diagramas`,"menu.other":`Outros`,"menu.h1":`Título 1`,"menu.h2":`Título 2`,"menu.h3":`Título 3`,"menu.h4":`Título 4`,"menu.bullets":`Lista com marcadores`,"menu.numbered":`Lista numerada`,"menu.checklist":`Lista de tarefas`,"menu.choice":`Lista de escolha única`,"menu.comments":`Comentários e marcadores`,"menu.discussion":`Comentário para discutir`,"menu.note":`Nota oculta`,"menu.region":`Região marcada`,"menu.tag":`Marcador (etiqueta)`,"region.proposals":`Propostas`,"menu.newTable":`Nova tabela`,"menu.addRow":`Adicionar linha`,"menu.addCol":`Adicionar coluna`,"table.colLeft":`Inserir coluna à esquerda`,"table.colRight":`Inserir coluna à direita`,"table.rowAbove":`Inserir linha acima`,"table.rowBelow":`Inserir linha abaixo`,"task.checkHint":`{key}: marcar como concluída`,"paste.noHeader":`{key}: sem cabeçalho`,"paste.withHeader":`{key}: usar a primeira linha como cabeçalho`,"format.bold":`Negrito`,"format.italic":`Itálico`,"format.strike":`Tachado`,"format.boldItalic":`Negrito itálico`,"format.plain":`Texto simples`,"format.copied":`Copiado`,"table.deleteRow":`Excluir linha`,"table.deleteCol":`Excluir coluna`,"app.undo":`Desfazer (Ctrl+Z)`,"app.redo":`Refazer (Ctrl+Y)`,"format.comment":`Comentar`,"comment.reply":`Responder`,"comment.note":`Nota oculta: não aparece quando o Markdown é renderizado, mas os agentes a leem. Clique para editar.`,"region.rules":`Regras de trabalho`,"region.workflow":`Fluxo de trabalho`,"region.managed":`Gerenciado pelo markode: o que está entre estes marcadores pode ser reescrito.`,"marker.sourceLang":`Idioma de origem dos documentos`,"comment.resolve":`Resolver`,"comment.placeholder":`Escreva um comentário… (Ctrl+Enter para salvar)`,"comment.replyPlaceholder":`Responda… (Ctrl+Enter para salvar)`,"comment.save":`Comentar`,"comment.cancel":`Cancelar`,"comment.me":`Eu`,"choice.one":`Escolha uma`,"proposal.open":`Esta proposta aguarda sua resposta: marque as opções e comente onde precisar.`,"proposal.send":`Pronto, enviar minha resposta`,"proposal.affects":`Esta decisão vai alterar:`,"proposal.copied":`Marcada como respondida. Há uma mensagem para o agente na sua área de transferência: cole-a no chat.`,"proposal.message":`Respondi a proposta {path}. Leia minhas escolhas e comentários e aplique-os.`,"proposal.answered":`Respondida: aguardando o agente aplicá-la.`,"proposal.applied":`Aplicada pelo agente.`,"proposal.status.open":`Aguarda você`,"proposal.status.answered":`Respondida`,"proposal.status.applied":`Aplicada`,"dash.proposals":`Propostas`,"dash.proposalsWaiting":`{n} aguardam você`,"dash.tipTitle":`Propostas e comentários`,"dash.linkTitle":`Um arquivo de instruções para cada agente`,"dash.link":`O Claude Code lê CLAUDE.md; Codex, Cursor, Gemini e outros leem AGENTS.md. Falta: {files}. Cada um só aponta para o documento existente; nada é copiado.`,"dash.linkCreate":`Criá-los`,"dash.linkSkip":`Não perguntar de novo`,"dash.tip":`O agente de IA mostra opções com diagramas ASCII ou Mermaid em um documento; você responde marcando e comentando, como no Word.`,"dash.tipActivate":`Ativar…`,"settings.features":`Recursos`,"settings.featuresHint":`O visualizador está sempre ativo. Ative ou desative cada módulo neste projeto: desativar um remove só o que o markode adicionou (suas seções, skills e hooks); seus documentos, tarefas, propostas e comentários ficam.`,"settings.languagesOff":`O idioma de origem e as traduções são para o agente de IA: ative-o em Recursos para usá-los.`,"settings.translationsOff":`As traduções estão desativadas: ative-as em Recursos para ler e editar os documentos em outros idiomas.`,"feature.viewer":`Visualizador`,"feature.viewer.hint":`Navegue, leia e edite todos os arquivos .md do projeto, com pré-visualização ao vivo, busca, links e alterações do git.`,"feature.always":`Sempre ativo`,"feature.agent":`Agente de IA`,"feature.agent.hint":`Ensina seu agente (Claude Code, Codex, Cursor, Gemini…) a trabalhar com estes documentos: uma skill do markode e uma seção curta no documento principal com o idioma de origem. Permite comentar qualquer texto para o agente.`,"feature.rules":`Regras de trabalho`,"feature.rules.hint":`Regras que o agente segue neste projeto (perguntar antes de fazer commit, proteger segredos…), escolhidas na aba Regras e escritas no documento principal.`,"feature.proposals":`Propostas`,"feature.proposals.hint":`Para respostas longas ou decisões, o agente escreve uma proposta com diagramas e opções; você responde marcando e comentando, e ele aplica a decisão.`,"feature.live":`Mudanças ao vivo`,"feature.live.hint":`Enquanto o Claude Code trabalha, ele fica sabendo dos documentos que você edita e dos comentários que deixa aqui, sem você precisar avisar.`,"feature.live.note":"Hooks pessoais, só para você. Os outros agentes verificam o mesmo com `markode changes`, como diz a skill deles.","feature.translations":`Traduções`,"feature.translations.hint":`Leia e edite os documentos em outros idiomas; o agente os traduz e leva suas edições ao original. Salvas em .markode/, só para você.`,"feature.dashboard":`Painel e tarefas`,"feature.dashboard.hint":`Uma aba Painel com o estado de documentos, propostas, fases e tarefas. Com o agente de IA, cria também uma estrutura para visão, arquitetura, fases e tarefas.`,"feature.skills":`Skills`,"feature.skills.hint":`Uma aba Skills para ver e editar as skills instaladas para seus agentes e adicioná-las a este projeto.`,"feature.vscode":`Ocultar no VS Code`,"feature.vscode.hint":`Oculta a pasta .markode/ do markode (traduções e estado) no explorador do VS Code.`,"feature.needs":`requer {name}`,"feature.confirmOn":`Ativar {name}?`,"feature.confirmOff":`Desativar {name}? Só o que o markode adicionou é removido; seus documentos ficam.`,"feature.files":`Altera:`,"feature.alsoOff":`Também desativa: {list}.`,"feature.alsoOn":`Também ativa: {list}.`,"settings.layout":`Organizar propostas`,"settings.layoutGeneral":`Uma pasta`,"settings.layoutStructured":`Por tema e área`,"app.discard":`Descartar as alterações desde que o arquivo foi aberto (Ctrl+Z as recupera)`,"app.copyDoc":`Copiar (a seleção ou o documento inteiro)`,"app.find":`Localizar e substituir (Ctrl+F, Ctrl+H)`,"app.copyMarkdown":`Copiar como Markdown`,"app.copyFormatted":`Copiar como texto formatado`,"app.viewVisual":`Mudar para a visualização markode`,"app.viewMarkdown":`Mudar para a visualização Markdown (código-fonte)`,"link.edit":`Editar link`,"link.copy":`Copiar link`,"link.text":`Texto`,"link.url":`URL`,"link.save":`Salvar`,"link.remove":`Remover link`,"app.showSidebar":`Mostrar barra lateral`,"app.hideSidebar":`Ocultar barra lateral`,"app.resizeSidebar":`Arraste para redimensionar, clique duplo para redefinir`,"settings.wrap":`Linhas longas`,"settings.wrapOn":`Quebrar`,"settings.wrapOff":`Rolar`,"settings.wrapHint":`Rolar: linhas longas e tabelas largas rolam na horizontal em vez de quebrar.`,"settings.general":`Geral`,"settings.uiLang":`Idioma da interface`,"settings.uiLangHint":`Idioma dos menus do markode. Não muda o idioma em que seus documentos estão escritos.`,"settings.themeSystem":`Sistema`,"settings.themeLight":`Claro`,"settings.themeDark":`Escuro`,"search.find":`Localizar`,"search.replace":`Substituir`,"search.matchCase":`Diferenciar maiúsculas e minúsculas`,"search.wholeWord":`Palavra inteira`,"search.regexp":`Usar expressão regular`,"search.previous":`Ocorrência anterior (Shift+Enter)`,"search.next":`Próxima ocorrência (Enter)`,"search.close":`Fechar (Esc)`,"search.replaceOne":`Substituir (Enter)`,"search.replaceAll":`Substituir tudo (Ctrl+Alt+Enter)`,"search.toggleReplace":`Mostrar substituir (Ctrl+H)`,"search.count":`{n} de {total}`,"search.none":`Sem resultados`,"menu.inline":`Código em linha`,"menu.block":`Bloco de código`,"menu.ts":`Bloco TypeScript`,"menu.bash":`Bloco de terminal`,"menu.mermaid":`Fluxograma (mermaid)`,"menu.sequence":`Diagrama de sequência (mermaid)`,"menu.tree":`Árvore`,"menu.quote":`Citação`,"menu.link":`Link`,"menu.divider":`Separador`,"menu.frontmatter":`Frontmatter`},de:{"app.settings":`Einstellungen`,"app.close":`Schließen`,"settings.addLang":`Sprache hinzufügen`,"settings.otherLang":`Andere…`,"settings.langName":`Name der Sprache`,"settings.langCode":`Code`,"settings.add":`Hinzufügen`,"settings.toTranslate":`{n} Dateien zu übersetzen. Bitte deinen Agenten:`,"app.copy":`Kopieren`,"app.copied":`Kopiert`,"sync.copyCommand":`Befehl für deinen Agenten kopieren: /markode translate`,"proposal.listening":`Gesendet: dein Agent macht weiter.`,"lang.original":`Original`,"settings.editor":`Editor`,"settings.font":`Schriftart`,"settings.size":`Größe`,"settings.lineHeight":`Zeilenabstand`,"settings.padding":`Einzug (Seitenrand)`,"settings.width":`Zeilenbreite`,"settings.widthFull":`Voll`,"settings.widthReadable":`Lesbar`,"settings.reset":`Zurücksetzen`,"settings.preview":`Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.`,"settings.languages":`Sprachen der Dokumente`,"settings.source":`Ausgangssprache`,"settings.sourceHint":`Sprache, in der jede .md-Datei geschrieben ist. Wird über {doc} mit dem Team geteilt.`,"settings.translations":`Übersetzungssprachen`,"settings.translationsHint":`Persönlich: Dokumente in diesen Sprachen ansehen und bearbeiten. Dein Agent übersetzt sie mit /markode translate und fragt, bevor er deine Änderungen ins Original übernimmt.`,"settings.removeLang":`Diese Übersetzung entfernen`,"settings.sourceChanged":`Vorhandene Dateien werden nicht automatisch umgewandelt: /markode translate bietet die Umwandlung an.`,"foreign.badge":`Auf {lang} geschrieben, nicht in der Ausgangssprache`,"foreign.banner":`Diese Datei ist auf {lang} geschrieben, nicht auf {source}. /markode translate bietet die Umwandlung an.`,"foreign.keep":`Auf {lang} behalten`,"type.phase":`Phasen`,"type.tasks":`Aufgaben`,"type.rules":`Regeln`,"type.architecture":`Architektur`,"type.decision":`Entscheidungen`,"type.note":`Notizen`,"app.files":`Dateien`,"app.showIgnored":`Ignorierte anzeigen`,"app.newFile":`Neue Datei`,"app.newFolder":`Neuer Ordner`,"app.ignore":`Ignorieren`,"app.unignore":`Nicht mehr ignorieren`,"app.copyPath":`Pfad kopieren`,"app.delete":`Löschen`,"app.deleteFileConfirm":`{path} löschen? Das kann nicht rückgängig gemacht werden.`,"app.deleteDirConfirm":`Den Ordner {path} mit allem Inhalt löschen ({files} Dateien, davon {md} Markdown)? Das kann nicht rückgängig gemacht werden.`,"app.expandAll":`Alle ausklappen`,"app.collapseAll":`Alle einklappen`,"app.search":`Dateien suchen`,"app.searchPlaceholder":`Suchen…`,"app.clear":`Leeren`,"app.noResults":`Keine passenden Dateien`,"app.noFile":`Wähle eine Datei in der Seitenleiste`,"app.saved":`Gespeichert`,"app.saving":`Speichern…`,"app.language":`Sprache`,"app.theme":`Design`,"view.editor":`Editor`,"view.dashboard":`Übersicht`,"view.changes":`Änderungen`,"view.rules":`Regeln`,"view.skills":`Skills`,"skills.title":`Globale Skills`,"skills.subtitle":`Für deinen Benutzer installierte Skills, gelesen aus`,"skills.none":`Keine globalen Skills gefunden. Agenten suchen sie in ~/.claude/skills, ~/.agents/skills und ähnlichen Ordnern.`,"skills.search":`Skills suchen…`,"skills.groupBy":`Gruppieren nach`,"skills.byTag":`Tag`,"skills.bySource":`Ort`,"skills.untagged":`Ohne Tag`,"skills.shared":`Geteilt`,"skills.managed":`Von der installierenden App verwaltet: schreibgeschützt`,"skills.readOnly":`Schreibgeschützt`,"skills.agent.claude":`Claude`,"skills.agent.agents":`andere Agenten`,"skills.st.global":`Aktiv für {agent} (global)`,"skills.st.globalHint":`Dein globaler Skill: {agent} nutzt ihn bereits in all deinen Projekten, nichts zu tun. Kopiere ihn nur ins Projekt, um ihn mit deinem Team zu teilen.`,"skills.st.project":`Im Projekt für {agent}`,"skills.st.projectHint":`In dieses Projekt kopiert: {agent} nutzt ihn hier, ebenso alle, die das Repository klonen.`,"skills.st.both":`Global und im Projekt ({agent})`,"skills.st.bothHint":`Zwei Kopien desselben Skills für {agent}. Behalte die im Projekt nur, um sie mit deinem Team zu teilen.`,"skills.st.bothHintClaude":`Auf deinem Rechner nutzt Claude Code deine globale Kopie (ein persönlicher Skill gewinnt gegen einen gleichnamigen im Projekt); dein Team bekommt die Projektkopie. Behalte sie nur zum Teilen mit dem Team.`,"skills.st.missing":`Für {agent} nicht sichtbar`,"skills.st.missingHint":`Er gehört zu einem anderen Agenten: {agent} kann ihn hier erst nutzen, wenn du ihn zum Projekt hinzufügst. Er kann Befehle dieses Agenten erwähnen; prüfe ihn nach dem Kopieren.`,"skills.differs":`Projektkopie weicht ab`,"skills.differsHint":`Die SKILL.md in {dirs} ist nicht gleich deiner globalen (im Projekt bearbeitet oder älter). Klicke, um sie aus der globalen zu aktualisieren.`,"skills.updateConfirm":`Die Projektkopie von „{name}“ durch deine globale ersetzen? Änderungen im Projekt gehen verloren.`,"skills.share":`Mit dem Team teilen`,"skills.shareHint":`Deine Agenten nutzen ihn bereits überall. Ins Projekt kopiert landet er im Repository, sodass dein Team (und die CI) ihn auch haben.`,"skills.useWith":`Mit {agent} nutzen`,"skills.install":`Zum Projekt hinzufügen`,"skills.installTo":`In dieses Projekt kopieren für:`,"skills.target.claude":`Claude Code (.claude/skills)`,"skills.target.agents":`Codex, Copilot, Gemini (.agents/skills)`,"skills.copy":`Kopieren`,"skills.cancel":`Abbrechen`,"skills.overwrite":`{name} ist bereits in {dirs}. Durch diese Version ersetzen?`,"skills.addTag":`Tag`,"skills.removeTag":`Tag {tag} entfernen`,"skills.files":`Dateien`,"skills.issue.frontmatter":`SKILL.md hat kein gültiges Frontmatter, Agenten laden sie eventuell nicht`,"skills.issue.name":`name fehlt, ist länger als 64 Zeichen oder nicht in kleinbuchstaben-mit-bindestrichen`,"skills.issue.name-dir":`name passt nicht zum Ordner ({dir})`,"skills.issue.description":`description fehlt: Agenten entscheiden damit, wann sie die Skill laden`,"skills.issue.description-long":`description ist länger als 1024 Zeichen`,"sync.synced":`Synchronisiert`,"sync.outdated":`Das Original hat sich geändert — Übersetzung veraltet`,"sync.pending-sync":`Bearbeitet — wartet darauf, dass der Agent das Original aktualisiert`,"sync.conflict":`Beide Versionen haben sich geändert`,"sync.missing":`Noch nicht übersetzt — Original wird angezeigt`,"sync.hint":`Bitte deinen Agenten um /markode translate, um sie zu aktualisieren.`,"sync.pendingCount":`{n} zu übersetzen`,"git.M":`Geändert`,"git.A":`Hinzugefügt`,"git.U":`Nicht verfolgt`,"git.D":`Gelöscht`,"changes.none":`Keine Änderungen in .md-Dateien`,"changes.noGit":`Dieses Projekt ist kein Git-Repository.`,"changes.section":`Abschnitt`,"dash.phases":`Phasen`,"dash.docs":`Dokumente`,"dash.tasks":`Aufgaben`,"dash.noPhases":"Noch keine Phasen. Lege Dateien in docs/phases/ mit `type: phase` an.","dash.untyped":`Sonstige`,"dash.activeChanges":`Aktive Änderungen`,"dash.noChanges":`Keine aktiven Änderungen. Schlage eine mit /opsx:propose vor oder bitte deinen Agenten um eine OpenSpec-Änderung.`,"dash.specs":`Spezifikationen`,"dash.noSpecs":`Noch keine Spezifikationen: Sie erscheinen, wenn Änderungen archiviert werden.`,"dash.archived":`Archiviert`,"dash.constitution":`Verfassung`,"dash.constitutionTodo":`Noch nicht ausgefüllt: führe /speckit-constitution aus oder bearbeite sie.`,"dash.features":`Features`,"dash.noFeatures":`Noch keine Features. Starte eines mit /speckit-specify oder bitte deinen Agenten um eine Spec in specs/.`,"dash.noTasks":`noch keine Aufgaben`,"dash.board":`Aufgaben`,"dash.doneCount":`{n} von {total} erledigt`,"status.pending":`Ausstehend`,"status.in-progress":`In Arbeit`,"status.done":`Erledigt`,"status.blocked":`Blockiert`,"rules.title":`Arbeitsregeln`,"rules.subtitle":`Regeln liegen in ~/.markode/rules und lassen sich in jedem Projekt wiederverwenden. Markierte Regeln werden in {doc} geschrieben.`,"rules.new":`Neue Regel`,"rules.save":`Speichern`,"rules.delete":`Löschen`,"rules.apply":`Auf {doc} anwenden`,"rules.applied":`Angewendet`,"rules.titlePh":`Titel der Regel`,"rules.bodyPh":`- Regeltext, als Markdown`,"rules.noMain":"Kein Hauptdokument konfiguriert. Führe `markode init` aus.","menu.title":`Einfügen`,"menu.back":`0 oder ←: zurück`,"menu.headings":`Überschriften`,"menu.lists":`Listen`,"menu.table":`Tabelle`,"menu.code":`Code`,"menu.diagrams":`Diagramme`,"menu.other":`Sonstiges`,"menu.h1":`Überschrift 1`,"menu.h2":`Überschrift 2`,"menu.h3":`Überschrift 3`,"menu.h4":`Überschrift 4`,"menu.bullets":`Aufzählung`,"menu.numbered":`Nummerierte Liste`,"menu.checklist":`Checkliste`,"menu.choice":`Liste mit Einfachauswahl`,"menu.comments":`Kommentare und Markierungen`,"menu.discussion":`Kommentar zur Diskussion`,"menu.note":`Versteckte Notiz`,"menu.region":`Markierter Bereich`,"menu.tag":`Markierung (Tag)`,"region.proposals":`Vorschläge`,"menu.newTable":`Neue Tabelle`,"menu.addRow":`Zeile hinzufügen`,"menu.addCol":`Spalte hinzufügen`,"table.colLeft":`Spalte links einfügen`,"table.colRight":`Spalte rechts einfügen`,"table.rowAbove":`Zeile oberhalb einfügen`,"table.rowBelow":`Zeile unterhalb einfügen`,"task.checkHint":`{key}: als erledigt markieren`,"paste.noHeader":`{key}: ohne Kopfzeile`,"paste.withHeader":`{key}: erste Zeile als Kopfzeile`,"format.bold":`Fett`,"format.italic":`Kursiv`,"format.strike":`Durchgestrichen`,"format.boldItalic":`Fett kursiv`,"format.plain":`Nur Text`,"format.copied":`Kopiert`,"table.deleteRow":`Zeile löschen`,"table.deleteCol":`Spalte löschen`,"app.undo":`Rückgängig (Strg+Z)`,"app.redo":`Wiederholen (Strg+Y)`,"format.comment":`Kommentieren`,"comment.reply":`Antworten`,"comment.note":`Versteckte Notiz: wird beim Rendern nicht angezeigt, aber von Agenten gelesen. Zum Bearbeiten klicken.`,"region.rules":`Arbeitsregeln`,"region.workflow":`Arbeitsablauf`,"region.managed":`Von markode verwaltet: der Inhalt zwischen diesen Markierungen kann neu geschrieben werden.`,"marker.sourceLang":`Ausgangssprache der Dokumente`,"comment.resolve":`Erledigen`,"comment.placeholder":`Kommentar schreiben… (Strg+Enter zum Speichern)`,"comment.replyPlaceholder":`Antworten… (Strg+Enter zum Speichern)`,"comment.save":`Kommentieren`,"comment.cancel":`Abbrechen`,"comment.me":`Ich`,"choice.one":`Eine auswählen`,"proposal.open":`Dieser Vorschlag wartet auf deine Antwort: Optionen ankreuzen und bei Bedarf kommentieren.`,"proposal.send":`Fertig, Antwort senden`,"proposal.affects":`Diese Entscheidung ändert:`,"proposal.copied":`Als beantwortet markiert. Eine Nachricht für den Agenten ist in der Zwischenablage: füge sie im Chat ein.`,"proposal.message":`Ich habe den Vorschlag {path} beantwortet. Lies meine Auswahl und Kommentare und setze sie um.`,"proposal.answered":`Beantwortet: wartet darauf, dass der Agent ihn umsetzt.`,"proposal.applied":`Vom Agenten umgesetzt.`,"proposal.status.open":`Wartet auf dich`,"proposal.status.answered":`Beantwortet`,"proposal.status.applied":`Umgesetzt`,"dash.proposals":`Vorschläge`,"dash.proposalsWaiting":`{n} warten auf dich`,"dash.tipTitle":`Vorschläge und Kommentare`,"dash.linkTitle":`Eine Anweisungsdatei für jeden Agenten`,"dash.link":`Claude Code liest CLAUDE.md; Codex, Cursor, Gemini und andere lesen AGENTS.md. Es fehlt: {files}. Jede Datei verweist nur auf das vorhandene Dokument; nichts wird kopiert.`,"dash.linkCreate":`Anlegen`,"dash.linkSkip":`Nicht mehr fragen`,"dash.tip":`Der KI-Agent zeigt Optionen mit ASCII- oder Mermaid-Diagrammen in einem Dokument; du antwortest per Ankreuzen und Kommentieren, wie in Word.`,"dash.tipActivate":`Aktivieren…`,"settings.features":`Funktionen`,"settings.featuresHint":`Der Viewer ist immer aktiv. Schalte jedes Modul für dieses Projekt ein oder aus: Beim Ausschalten wird nur entfernt, was markode hinzugefügt hat (Abschnitte, Skills und Hooks); deine Dokumente, Aufgaben, Vorschläge und Kommentare bleiben.`,"settings.languagesOff":`Ausgangssprache und Übersetzungen sind für den KI-Agenten: Schalte ihn unter Funktionen ein, um sie zu nutzen.`,"settings.translationsOff":`Übersetzungen sind aus: Schalte sie unter Funktionen ein, um die Dokumente in anderen Sprachen zu lesen und zu bearbeiten.`,"feature.viewer":`Viewer`,"feature.viewer.hint":`Alle .md-Dateien des Projekts durchsuchen, lesen und bearbeiten, mit Live-Vorschau, Suche, Links und Git-Änderungen.`,"feature.always":`Immer aktiv`,"feature.agent":`KI-Agent`,"feature.agent.hint":`Bringt deinem Agenten (Claude Code, Codex, Cursor, Gemini…) bei, mit diesen Dokumenten zu arbeiten: ein markode-Skill und ein kurzer Abschnitt im Hauptdokument mit der Ausgangssprache. Du kannst jeden Text für den Agenten kommentieren.`,"feature.rules":`Arbeitsregeln`,"feature.rules.hint":`Regeln, die der Agent in diesem Projekt befolgt (vor dem Commit fragen, Geheimnisse schützen…), im Tab Regeln gewählt und ins Hauptdokument geschrieben.`,"feature.proposals":`Vorschläge`,"feature.proposals.hint":`Bei langen Antworten oder Entscheidungen schreibt der Agent einen Vorschlag mit Diagrammen und Optionen; du antwortest per Ankreuzen und Kommentieren, und er setzt die Entscheidung um.`,"feature.live":`Live-Änderungen`,"feature.live.hint":`Während Claude Code arbeitet, erfährt es, welche Dokumente du bearbeitest und welche Kommentare du hier hinterlässt, ohne dass du es ihm sagen musst.`,"feature.live.note":"Persönliche Hooks, nur für dich. Andere Agenten prüfen dasselbe mit `markode changes`, wie ihr Skill es vorgibt.","feature.translations":`Übersetzungen`,"feature.translations.hint":`Lies und bearbeite die Dokumente in anderen Sprachen; der Agent übersetzt sie und überträgt deine Änderungen ins Original. Gespeichert in .markode/, nur für dich.`,"feature.dashboard":`Dashboard und Aufgaben`,"feature.dashboard.hint":`Ein Dashboard-Tab mit dem Stand von Dokumenten, Vorschlägen, Phasen und Aufgaben. Mit dem KI-Agenten wird zusätzlich eine Struktur für Vision, Architektur, Phasen und Aufgaben angelegt.`,"feature.skills":`Skills`,"feature.skills.hint":`Ein Skills-Tab, um die für deine Agenten installierten Skills anzusehen, zu bearbeiten und diesem Projekt hinzuzufügen.`,"feature.vscode":`In VS Code ausblenden`,"feature.vscode.hint":`Blendet den Ordner .markode/ von markode (Übersetzungen und Status) im VS-Code-Explorer aus.`,"feature.needs":`benötigt {name}`,"feature.confirmOn":`{name} einschalten?`,"feature.confirmOff":`{name} ausschalten? Nur was markode hinzugefügt hat, wird entfernt; deine Dokumente bleiben.`,"feature.files":`Ändert:`,"feature.alsoOff":`Schaltet auch aus: {list}.`,"feature.alsoOn":`Schaltet auch ein: {list}.`,"settings.layout":`Vorschläge ordnen`,"settings.layoutGeneral":`Ein Ordner`,"settings.layoutStructured":`Nach Thema und Bereich`,"app.discard":`Änderungen seit dem Öffnen der Datei verwerfen (Strg+Z stellt sie wieder her)`,"app.copyDoc":`Kopieren (Auswahl oder ganzes Dokument)`,"app.find":`Suchen und ersetzen (Strg+F, Strg+H)`,"app.copyMarkdown":`Als Markdown kopieren`,"app.copyFormatted":`Als formatierten Text kopieren`,"app.viewVisual":`Zur markode-Ansicht wechseln`,"app.viewMarkdown":`Zur Markdown-Ansicht wechseln (Quelltext)`,"link.edit":`Link bearbeiten`,"link.copy":`Link kopieren`,"link.text":`Text`,"link.url":`URL`,"link.save":`Speichern`,"link.remove":`Link entfernen`,"app.showSidebar":`Seitenleiste einblenden`,"app.hideSidebar":`Seitenleiste ausblenden`,"app.resizeSidebar":`Ziehen zum Ändern der Breite, Doppelklick zum Zurücksetzen`,"settings.wrap":`Lange Zeilen`,"settings.wrapOn":`Umbrechen`,"settings.wrapOff":`Scrollen`,"settings.wrapHint":`Scrollen: lange Zeilen und breite Tabellen scrollen horizontal, statt umzubrechen.`,"settings.general":`Allgemein`,"settings.uiLang":`Sprache der Oberfläche`,"settings.uiLangHint":`Sprache der Menüs von markode. Sie ändert nicht die Sprache, in der deine Dokumente geschrieben sind.`,"settings.themeSystem":`System`,"settings.themeLight":`Hell`,"settings.themeDark":`Dunkel`,"search.find":`Suchen`,"search.replace":`Ersetzen`,"search.matchCase":`Groß-/Kleinschreibung beachten`,"search.wholeWord":`Nur ganzes Wort`,"search.regexp":`Regulären Ausdruck verwenden`,"search.previous":`Vorheriger Treffer (Umschalt+Eingabe)`,"search.next":`Nächster Treffer (Eingabe)`,"search.close":`Schließen (Esc)`,"search.replaceOne":`Ersetzen (Eingabe)`,"search.replaceAll":`Alle ersetzen (Strg+Alt+Eingabe)`,"search.toggleReplace":`Ersetzen anzeigen (Strg+H)`,"search.count":`{n} von {total}`,"search.none":`Keine Ergebnisse`,"menu.inline":`Inline-Code`,"menu.block":`Codeblock`,"menu.ts":`TypeScript-Block`,"menu.bash":`Shell-Block`,"menu.mermaid":`Flussdiagramm (mermaid)`,"menu.sequence":`Sequenzdiagramm (mermaid)`,"menu.tree":`Baum`,"menu.quote":`Zitat`,"menu.link":`Link`,"menu.divider":`Trennlinie`,"menu.frontmatter":`Frontmatter`},it:{"app.settings":`Impostazioni`,"app.close":`Chiudi`,"settings.addLang":`Aggiungi lingua`,"settings.otherLang":`Altra…`,"settings.langName":`Nome della lingua`,"settings.langCode":`Codice`,"settings.add":`Aggiungi`,"settings.toTranslate":`{n} file da tradurre. Chiedi al tuo agente:`,"app.copy":`Copia`,"app.copied":`Copiato`,"sync.copyCommand":`Copia il comando per il tuo agente: /markode translate`,"proposal.listening":`Inviata: il tuo agente continua.`,"lang.original":`originale`,"settings.editor":`Editor`,"settings.font":`Carattere`,"settings.size":`Dimensione`,"settings.lineHeight":`Interlinea`,"settings.padding":`Rientro (margine laterale)`,"settings.width":`Larghezza riga`,"settings.widthFull":`Intera`,"settings.widthReadable":`Lettura`,"settings.reset":`Ripristina`,"settings.preview":`Quel vituperabile xenofobo zelante assaggia il whisky ed esclama: alleluja!`,"settings.languages":`Lingue dei documenti`,"settings.source":`Lingua di origine`,"settings.sourceHint":`Lingua in cui è scritto ogni file .md. Condivisa con il team tramite {doc}.`,"settings.translations":`Lingue di traduzione`,"settings.translationsHint":`Personale: visualizza e modifica i documenti in queste lingue. Il tuo agente li traduce con /markode translate e chiede prima di applicare le tue modifiche all'originale.`,"settings.removeLang":`Rimuovi questa traduzione`,"settings.sourceChanged":`I file esistenti non vengono convertiti automaticamente: /markode translate proporrà di convertirli.`,"foreign.badge":`Scritto in {lang}, non nella lingua di origine`,"foreign.banner":`Questo file è scritto in {lang}, non in {source}. /markode translate proporrà di convertirlo.`,"foreign.keep":`Mantieni in {lang}`,"type.phase":`Fasi`,"type.tasks":`Attività`,"type.rules":`Regole`,"type.architecture":`Architettura`,"type.decision":`Decisioni`,"type.note":`Note`,"app.files":`File`,"app.showIgnored":`Mostra ignorati`,"app.newFile":`Nuovo file`,"app.newFolder":`Nuova cartella`,"app.ignore":`Ignora`,"app.unignore":`Non ignorare più`,"app.copyPath":`Copia percorso`,"app.delete":`Elimina`,"app.deleteFileConfirm":`Eliminare {path}? Non si può annullare.`,"app.deleteDirConfirm":`Eliminare la cartella {path} e tutto il suo contenuto ({files} file, di cui {md} Markdown)? Non si può annullare.`,"app.expandAll":`Espandi tutto`,"app.collapseAll":`Comprimi tutto`,"app.search":`Cerca file`,"app.searchPlaceholder":`Cerca…`,"app.clear":`Cancella`,"app.noResults":`Nessun file corrispondente`,"app.noFile":`Seleziona un file nella barra laterale`,"app.saved":`Salvato`,"app.saving":`Salvataggio…`,"app.language":`Lingua`,"app.theme":`Tema`,"view.editor":`Editor`,"view.dashboard":`Pannello`,"view.changes":`Modifiche`,"view.rules":`Regole`,"view.skills":`Skill`,"skills.title":`Skill globali`,"skills.subtitle":`Skill installate per il tuo utente, lette da`,"skills.none":`Nessuna skill globale trovata. Gli agenti le cercano in ~/.claude/skills, ~/.agents/skills e cartelle simili.`,"skills.search":`Cerca skill…`,"skills.groupBy":`Raggruppa per`,"skills.byTag":`Etichetta`,"skills.bySource":`Posizione`,"skills.untagged":`Senza etichetta`,"skills.shared":`Condivisa`,"skills.managed":`Gestita dall’app che l’ha installata: sola lettura`,"skills.readOnly":`Sola lettura`,"skills.agent.claude":`Claude`,"skills.agent.agents":`altri agenti`,"skills.st.global":`Attiva per {agent} (globale)`,"skills.st.globalHint":`La tua skill globale: {agent} la usa già in tutti i tuoi progetti, non serve fare nulla. Copiala nel progetto solo per condividerla con il team.`,"skills.st.project":`Nel progetto per {agent}`,"skills.st.projectHint":`Copiata in questo progetto: {agent} la usa qui, come chiunque cloni il repository.`,"skills.st.both":`Globale e nel progetto ({agent})`,"skills.st.bothHint":`Due copie della stessa skill per {agent}. Tieni quella del progetto solo per condividerla con il team.`,"skills.st.bothHintClaude":`Sul tuo computer Claude Code usa la tua copia globale (una skill personale vince su una del progetto con lo stesso nome); il team riceve quella del progetto. Tienila solo per condividerla con il team.`,"skills.st.missing":`Non visibile per {agent}`,"skills.st.missingHint":`Appartiene a un altro agente: {agent} non può usarla qui finché non la aggiungi al progetto. Può citare comandi di quell’agente; rivedila dopo la copia.`,"skills.differs":`La copia del progetto è diversa`,"skills.differsHint":`Lo SKILL.md in {dirs} non è uguale a quello globale (modificato nel progetto, o più vecchio). Clicca per aggiornarlo da quello globale.`,"skills.updateConfirm":`Sostituire la copia del progetto di "{name}" con la tua globale? Le modifiche fatte nel progetto andranno perse.`,"skills.share":`Condividi con il team`,"skills.shareHint":`I tuoi agenti la usano già ovunque. Copiarla nel progetto la mette nel repository, così anche il team (e la CI) la hanno.`,"skills.useWith":`Usa con {agent}`,"skills.install":`Aggiungi al progetto`,"skills.installTo":`Copia in questo progetto per:`,"skills.target.claude":`Claude Code (.claude/skills)`,"skills.target.agents":`Codex, Copilot, Gemini (.agents/skills)`,"skills.copy":`Copia`,"skills.cancel":`Annulla`,"skills.overwrite":`{name} è già in {dirs}. Sostituirla con questa versione?`,"skills.addTag":`Etichetta`,"skills.removeTag":`Rimuovi l’etichetta {tag}`,"skills.files":`File`,"skills.issue.frontmatter":`SKILL.md non ha un frontmatter valido, quindi gli agenti potrebbero non caricarla`,"skills.issue.name":`name manca, supera 64 caratteri o non è in minuscole-con-trattini`,"skills.issue.name-dir":`name non corrisponde alla cartella ({dir})`,"skills.issue.description":`description manca: gli agenti la usano per decidere quando caricare la skill`,"skills.issue.description-long":`description supera 1024 caratteri`,"sync.synced":`Sincronizzato`,"sync.outdated":`L'originale è cambiato — traduzione obsoleta`,"sync.pending-sync":`Modificato — in attesa che l'agente aggiorni l'originale`,"sync.conflict":`Entrambe le versioni sono cambiate`,"sync.missing":`Non ancora tradotto — viene mostrato l'originale`,"sync.hint":`Chiedi al tuo agente /markode translate per aggiornarla.`,"sync.pendingCount":`{n} da tradurre`,"git.M":`Modificato`,"git.A":`Aggiunto`,"git.U":`Non tracciato`,"git.D":`Eliminato`,"changes.none":`Nessuna modifica nei file .md`,"changes.noGit":`Questo progetto non è un repository git.`,"changes.section":`Sezione`,"dash.phases":`Fasi`,"dash.docs":`Documenti`,"dash.tasks":`attività`,"dash.noPhases":"Ancora nessuna fase. Crea file in docs/phases/ con `type: phase`.","dash.untyped":`Altro`,"dash.activeChanges":`Modifiche attive`,"dash.noChanges":`Nessuna modifica attiva. Proponine una con /opsx:propose, o chiedi al tuo agente una modifica OpenSpec.`,"dash.specs":`Specifiche`,"dash.noSpecs":`Ancora nessuna specifica: compaiono quando le modifiche vengono archiviate.`,"dash.archived":`Archiviate`,"dash.constitution":`Costituzione`,"dash.constitutionTodo":`Non ancora compilata: esegui /speckit-constitution o modificala.`,"dash.features":`Funzionalità`,"dash.noFeatures":`Ancora nessuna funzionalità. Iniziane una con /speckit-specify, o chiedi al tuo agente una spec in specs/.`,"dash.noTasks":`ancora nessuna attività`,"dash.board":`Attività`,"dash.doneCount":`{n} di {total} completate`,"status.pending":`In attesa`,"status.in-progress":`In corso`,"status.done":`Fatto`,"status.blocked":`Bloccato`,"rules.title":`Regole di lavoro`,"rules.subtitle":`Le regole si trovano in ~/.markode/rules e si riutilizzano in qualsiasi progetto. Quelle selezionate vengono scritte in {doc}.`,"rules.new":`Nuova regola`,"rules.save":`Salva`,"rules.delete":`Elimina`,"rules.apply":`Applica a {doc}`,"rules.applied":`Applicata`,"rules.titlePh":`Titolo della regola`,"rules.bodyPh":`- Testo della regola, in Markdown`,"rules.noMain":"Nessun documento principale. Esegui `markode init`.","menu.title":`Inserisci`,"menu.back":`0 o ←: indietro`,"menu.headings":`Titoli`,"menu.lists":`Elenchi`,"menu.table":`Tabella`,"menu.code":`Codice`,"menu.diagrams":`Diagrammi`,"menu.other":`Altro`,"menu.h1":`Titolo 1`,"menu.h2":`Titolo 2`,"menu.h3":`Titolo 3`,"menu.h4":`Titolo 4`,"menu.bullets":`Elenco puntato`,"menu.numbered":`Elenco numerato`,"menu.checklist":`Lista di controllo`,"menu.choice":`Lista a scelta singola`,"menu.comments":`Commenti e marcatori`,"menu.discussion":`Commento da discutere`,"menu.note":`Nota nascosta`,"menu.region":`Regione marcata`,"menu.tag":`Marcatore (tag)`,"region.proposals":`Proposte`,"menu.newTable":`Nuova tabella`,"menu.addRow":`Aggiungi riga`,"menu.addCol":`Aggiungi colonna`,"table.colLeft":`Inserisci colonna a sinistra`,"table.colRight":`Inserisci colonna a destra`,"table.rowAbove":`Inserisci riga sopra`,"table.rowBelow":`Inserisci riga sotto`,"task.checkHint":`{key}: segna come fatto`,"paste.noHeader":`{key}: senza intestazione`,"paste.withHeader":`{key}: usa la prima riga come intestazione`,"format.bold":`Grassetto`,"format.italic":`Corsivo`,"format.strike":`Barrato`,"format.boldItalic":`Grassetto corsivo`,"format.plain":`Testo semplice`,"format.copied":`Copiato`,"table.deleteRow":`Elimina riga`,"table.deleteCol":`Elimina colonna`,"app.undo":`Annulla (Ctrl+Z)`,"app.redo":`Ripeti (Ctrl+Y)`,"format.comment":`Commenta`,"comment.reply":`Rispondi`,"comment.note":`Nota nascosta: non appare quando il Markdown viene visualizzato, ma gli agenti la leggono. Clic per modificare.`,"region.rules":`Regole di lavoro`,"region.workflow":`Flusso di lavoro`,"region.managed":`Gestito da markode: il contenuto tra questi marcatori può essere riscritto.`,"marker.sourceLang":`Lingua di origine dei documenti`,"comment.resolve":`Risolvi`,"comment.placeholder":`Scrivi un commento… (Ctrl+Invio per salvare)`,"comment.replyPlaceholder":`Rispondi… (Ctrl+Invio per salvare)`,"comment.save":`Commenta`,"comment.cancel":`Annulla`,"comment.me":`Io`,"choice.one":`Scegline una`,"proposal.open":`Questa proposta aspetta la tua risposta: spunta le opzioni e commenta dove serve.`,"proposal.send":`Fatto, invia la mia risposta`,"proposal.affects":`Questa decisione modificherà:`,"proposal.copied":`Segnata come risposta. Negli appunti c’è un messaggio per l’agente: incollalo nella chat.`,"proposal.message":`Ho risposto alla proposta {path}. Leggi le mie scelte e i commenti e applicali.`,"proposal.answered":`Risposta: in attesa che l’agente la applichi.`,"proposal.applied":`Applicata dall’agente.`,"proposal.status.open":`Ti aspetta`,"proposal.status.answered":`Risposta`,"proposal.status.applied":`Applicata`,"dash.proposals":`Proposte`,"dash.proposalsWaiting":`{n} ti aspettano`,"dash.tipTitle":`Proposte e commenti`,"dash.linkTitle":`Un file di istruzioni per ogni agente`,"dash.link":`Claude Code legge CLAUDE.md; Codex, Cursor, Gemini e altri leggono AGENTS.md. Manca: {files}. Ognuno rimanda solo al documento esistente; non si copia nulla.`,"dash.linkCreate":`Creali`,"dash.linkSkip":`Non chiedere più`,"dash.tip":`L’agente IA mostra opzioni con diagrammi ASCII o Mermaid in un documento; rispondi spuntando e commentando, come in Word.`,"dash.tipActivate":`Attiva…`,"settings.features":`Funzionalità`,"settings.featuresHint":`Il visualizzatore è sempre attivo. Attiva o disattiva ogni modulo per questo progetto: disattivarne uno rimuove solo ciò che markode ha aggiunto (sezioni, skill e hook); documenti, attività, proposte e commenti restano.`,"settings.languagesOff":`La lingua di origine e le traduzioni servono all’agente IA: attivalo in Funzionalità per usarle.`,"settings.translationsOff":`Le traduzioni sono disattivate: attivale in Funzionalità per leggere e modificare i documenti in altre lingue.`,"feature.viewer":`Visualizzatore`,"feature.viewer.hint":`Sfoglia, leggi e modifica tutti i file .md del progetto, con anteprima dal vivo, ricerca, link e modifiche git.`,"feature.always":`Sempre attivo`,"feature.agent":`Agente IA`,"feature.agent.hint":`Insegna al tuo agente (Claude Code, Codex, Cursor, Gemini…) a lavorare con questi documenti: una skill di markode e una breve sezione nel documento principale con la lingua di origine. Ti permette di commentare qualsiasi testo per l’agente.`,"feature.rules":`Regole di lavoro`,"feature.rules.hint":`Regole che l’agente segue in questo progetto (chiedere prima del commit, proteggere i segreti…), scelte nella scheda Regole e scritte nel documento principale.`,"feature.proposals":`Proposte`,"feature.proposals.hint":`Per risposte lunghe o decisioni, l’agente scrive una proposta con diagrammi e opzioni; rispondi spuntando e commentando, e lui applica la decisione.`,"feature.live":`Modifiche dal vivo`,"feature.live.hint":`Mentre Claude Code lavora, viene a sapere quali documenti modifichi e quali commenti lasci qui, senza che tu debba dirglielo.`,"feature.live.note":"Hook personali, solo per te. Gli altri agenti controllano lo stesso con `markode changes`, come dice la loro skill.","feature.translations":`Traduzioni`,"feature.translations.hint":`Leggi e modifica i documenti in altre lingue; l’agente li traduce e riporta le tue modifiche nell’originale. Salvate in .markode/, solo per te.`,"feature.dashboard":`Dashboard e attività`,"feature.dashboard.hint":`Una scheda Dashboard con lo stato di documenti, proposte, fasi e attività. Con l’agente IA crea anche una struttura per visione, architettura, fasi e attività.`,"feature.skills":`Skill`,"feature.skills.hint":`Una scheda Skill per vedere e modificare le skill installate per i tuoi agenti e aggiungerle a questo progetto.`,"feature.vscode":`Nascondi in VS Code`,"feature.vscode.hint":`Nasconde la cartella .markode/ di markode (traduzioni e stato) nell’esplora risorse di VS Code.`,"feature.needs":`richiede {name}`,"feature.confirmOn":`Attivare {name}?`,"feature.confirmOff":`Disattivare {name}? Viene rimosso solo ciò che markode ha aggiunto; i tuoi documenti restano.`,"feature.files":`Modifica:`,"feature.alsoOff":`Disattiva anche: {list}.`,"feature.alsoOn":`Attiva anche: {list}.`,"settings.layout":`Organizza le proposte`,"settings.layoutGeneral":`Una cartella`,"settings.layoutStructured":`Per tema e area`,"app.discard":`Scarta le modifiche dall’apertura del file (Ctrl+Z le ripristina)`,"app.copyDoc":`Copia (la selezione o tutto il documento)`,"app.find":`Trova e sostituisci (Ctrl+F, Ctrl+H)`,"app.copyMarkdown":`Copia come Markdown`,"app.copyFormatted":`Copia come testo formattato`,"app.viewVisual":`Passa alla vista markode`,"app.viewMarkdown":`Passa alla vista Markdown (sorgente)`,"link.edit":`Modifica link`,"link.copy":`Copia link`,"link.text":`Testo`,"link.url":`URL`,"link.save":`Salva`,"link.remove":`Rimuovi link`,"app.showSidebar":`Mostra barra laterale`,"app.hideSidebar":`Nascondi barra laterale`,"app.resizeSidebar":`Trascina per ridimensionare, doppio clic per ripristinare`,"settings.wrap":`Righe lunghe`,"settings.wrapOn":`A capo`,"settings.wrapOff":`Scorrimento`,"settings.wrapHint":`Scorrimento: righe lunghe e tabelle larghe scorrono in orizzontale invece di andare a capo.`,"settings.general":`Generale`,"settings.uiLang":`Lingua dell'interfaccia`,"settings.uiLangHint":`Lingua dei menu di markode. Non cambia la lingua in cui sono scritti i tuoi documenti.`,"settings.themeSystem":`Sistema`,"settings.themeLight":`Chiaro`,"settings.themeDark":`Scuro`,"search.find":`Trova`,"search.replace":`Sostituisci`,"search.matchCase":`Maiuscole/minuscole`,"search.wholeWord":`Parola intera`,"search.regexp":`Usa espressione regolare`,"search.previous":`Risultato precedente (Maiusc+Invio)`,"search.next":`Risultato successivo (Invio)`,"search.close":`Chiudi (Esc)`,"search.replaceOne":`Sostituisci (Invio)`,"search.replaceAll":`Sostituisci tutto (Ctrl+Alt+Invio)`,"search.toggleReplace":`Mostra sostituisci (Ctrl+H)`,"search.count":`{n} di {total}`,"search.none":`Nessun risultato`,"menu.inline":`Codice in linea`,"menu.block":`Blocco di codice`,"menu.ts":`Blocco TypeScript`,"menu.bash":`Blocco terminale`,"menu.mermaid":`Diagramma di flusso (mermaid)`,"menu.sequence":`Diagramma di sequenza (mermaid)`,"menu.tree":`Albero`,"menu.quote":`Citazione`,"menu.link":`Link`,"menu.divider":`Separatore`,"menu.frontmatter":`Frontmatter`}};function cb(e){let t=sb[e]??ob;return(e,n)=>(t[e]??ob[e]).replace(/\{(\w+)\}/g,(e,t)=>String(n?.[t]??``))}var lb={inter:{label:`Inter`,stack:`'Inter', system-ui, sans-serif`},plex:{label:`IBM Plex Sans`,stack:`'IBM Plex Sans', system-ui, sans-serif`},atkinson:{label:`Atkinson Hyperlegible`,stack:`'Atkinson Hyperlegible', system-ui, sans-serif`},serif:{label:`Source Serif`,stack:`'Source Serif 4', Georgia, serif`},lora:{label:`Lora`,stack:`'Lora', Georgia, serif`},mono:{label:`JetBrains Mono`,stack:`'JetBrains Mono', ui-monospace, monospace`},system:{label:`System`,stack:`system-ui, -apple-system, 'Segoe UI', sans-serif`}},ub={font:`inter`,size:15,lineHeight:1.65,padding:28,width:`full`,wrap:!0,uiLang:`en`};function db(e){let t=document.documentElement.style;t.setProperty(`--editor-font`,(lb[e.font]??lb.inter).stack),t.setProperty(`--editor-size`,`${e.size}px`),t.setProperty(`--editor-line`,String(e.lineHeight)),t.setProperty(`--editor-pad`,`${e.padding}px`),t.setProperty(`--editor-max`,e.width===`readable`?`820px`:`none`),document.documentElement.dataset.wrap=e.wrap?`on`:`off`}var fb=[{id:`general`,icon:Jn,label:`settings.general`},{id:`features`,icon:er,label:`settings.features`},{id:`editor`,icon:or,label:`settings.editor`},{id:`languages`,icon:cn,label:`settings.languages`}],pb={agent:Ot,rules:Bn,proposals:vn,live:An,translations:cn,dashboard:un,skills:Xn,vscode:Wt};function mb(e,t){let n=t;switch(e){case`agent`:return[`${n} (Working rules)`,`.claude/skills/markode`,`.agents/skills/markode`];case`rules`:return[`${n} (Working rules)`];case`proposals`:return[`${n} (Proposals)`,`.claude/skills/markode-proposals`];case`live`:return[`.claude/settings.local.json`];case`dashboard`:return[`${n} (Workflow)`,`docs/`,`.claude/skills/markode-*`];case`vscode`:return[`.vscode/settings.json`];default:return[]}}function hb({t:e,feature:t,info:n,onFeature:r,children:i}){let a=n.features[t],o=pb[t],s=hr[t],c=mb(t,n.mainDoc??`CLAUDE.md`),l=t=>e(`feature.${t}`);return(0,$.jsxs)(`div`,{className:`feature${a?` on`:``}`,children:[(0,$.jsx)(o,{size:16,className:`feature-icon`}),(0,$.jsxs)(`div`,{className:`feature-body`,children:[(0,$.jsxs)(`div`,{className:`feature-name`,children:[l(t),s&&!n.features[s]&&(0,$.jsx)(`span`,{className:`feature-need`,children:e(`feature.needs`,{name:l(s)})})]}),(0,$.jsx)(`p`,{className:`set-hint`,children:e(`feature.${t}.hint`)}),c.length>0&&(0,$.jsx)(`p`,{className:`feature-files`,children:c.join(` · `)}),a&&i]}),(0,$.jsx)(`button`,{className:`switch${a?` on`:``}`,role:`switch`,"aria-checked":a,"aria-label":l(t),onClick:()=>{let i=a?mr.filter(e=>hr[e]===t&&n.features[e]):[],o=!a&&s&&!n.features[s]?[s]:[],u=[e(a?`feature.confirmOff`:`feature.confirmOn`,{name:l(t)}),...c.length?[``,e(`feature.files`),...c.map(e=>`• ${e}`)]:[],...i.length?[``,e(`feature.alsoOff`,{list:i.map(l).join(`, `)})]:[],...o.length?[``,e(`feature.alsoOn`,{list:o.map(l).join(`, `)})]:[]];(!c.length&&!i.length&&!o.length||confirm(u.join(`
|
|
130
|
+
`)))&&r(t,!a)},children:(0,$.jsx)(`span`,{})})]})}function gb({command:e,t}){let[n,r]=(0,k.useState)(!1);return(0,$.jsxs)(`span`,{className:`copy-command`,children:[(0,$.jsx)(`code`,{children:e}),(0,$.jsxs)(`button`,{className:`btn small`,onClick:()=>navigator.clipboard?.writeText(e).then(()=>{r(!0),setTimeout(()=>r(!1),1500)}),children:[n?(0,$.jsx)(At,{size:12}):(0,$.jsx)(Bt,{size:12}),` `,t(n?`app.copied`:`app.copy`)]})]})}var _b=`__other__`;function vb({t:e,info:t,onAdd:n}){let[r,i]=(0,k.useState)(!1),[a,o]=(0,k.useState)(``),[s,c]=(0,k.useState)(``),l=e=>e===t.sourceLang||t.langs.includes(e),u=/^[a-z]{2,3}(-[a-z0-9]{2,8})?$/i.test(s)&&!l(s.toLowerCase());return r?(0,$.jsxs)(`div`,{className:`add-lang`,children:[(0,$.jsx)(`input`,{className:`control`,placeholder:e(`settings.langName`),value:a,autoFocus:!0,onChange:e=>o(e.target.value)}),(0,$.jsx)(`input`,{className:`control code`,placeholder:e(`settings.langCode`),value:s,maxLength:11,onChange:e=>c(e.target.value)}),(0,$.jsx)(`button`,{className:`btn small`,disabled:!a.trim()||!u,onClick:()=>(n(s.toLowerCase(),a.trim()),i(!1),o(``),c(``)),children:e(`settings.add`)}),(0,$.jsx)(`button`,{className:`icon-btn`,title:e(`app.close`),onClick:()=>i(!1),children:(0,$.jsx)(ur,{size:14})})]}):(0,$.jsxs)(`select`,{className:`control add-lang-select`,value:``,onChange:e=>e.target.value===_b?i(!0):e.target.value&&n(e.target.value),children:[(0,$.jsxs)(`option`,{value:``,children:[`+ `,e(`settings.addLang`)]}),fr.filter(e=>!l(e)).map(e=>(0,$.jsx)(`option`,{value:e,children:pr[e]},e)),(0,$.jsx)(`option`,{value:_b,children:e(`settings.otherLang`)})]})}function yb({label:e,value:t,min:n,max:r,step:i,unit:a,onChange:o}){return(0,$.jsxs)(`label`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e}),(0,$.jsx)(`input`,{type:`range`,min:n,max:r,step:i,value:t,onChange:e=>o(Number(e.target.value))}),(0,$.jsxs)(`span`,{className:`set-value`,children:[Number.isInteger(i)?t:t.toFixed(2),a]})]})}function bb({t:e,section:t,theme:n,onTheme:r,info:i,settings:a,onSettings:o,onLanguages:s,pendingTranslations:c,onProposals:l,onFeature:u,onClose:d}){let[f,p]=(0,k.useState)(t),m=e=>o({...a,...e});return(0,k.useEffect)(()=>{let e=e=>e.key===`Escape`&&d();return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[d]),(0,$.jsx)(`div`,{className:`modal-backdrop`,onMouseDown:e=>e.target===e.currentTarget&&d(),children:(0,$.jsxs)(`div`,{className:`modal`,role:`dialog`,"aria-label":e(`app.settings`),children:[(0,$.jsxs)(`div`,{className:`modal-head`,children:[(0,$.jsx)(`strong`,{children:e(`app.settings`)}),(0,$.jsx)(`button`,{className:`icon-btn`,title:e(`app.close`),onClick:d,children:(0,$.jsx)(ur,{size:16})})]}),(0,$.jsxs)(`div`,{className:`modal-body`,children:[(0,$.jsx)(`nav`,{className:`set-nav`,children:fb.map(t=>(0,$.jsxs)(`button`,{className:f===t.id?`active`:``,onClick:()=>p(t.id),children:[(0,$.jsx)(t.icon,{size:15}),` `,e(t.label)]},t.id))}),f===`general`&&(0,$.jsxs)(`section`,{children:[(0,$.jsx)(`div`,{className:`set-title`,children:e(`settings.general`)}),(0,$.jsxs)(`label`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`settings.uiLang`)}),(0,$.jsx)(`select`,{className:`control`,value:a.uiLang,onChange:e=>m({uiLang:e.target.value}),children:ab.map(e=>(0,$.jsx)(`option`,{value:e,children:pr[e]},e))})]}),(0,$.jsx)(`p`,{className:`set-hint`,children:e(`settings.uiLangHint`)}),(0,$.jsxs)(`div`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`app.theme`)}),(0,$.jsx)(`div`,{className:`segmented`,children:[null,`light`,`dark`].map(t=>(0,$.jsx)(`button`,{className:n===t?`active`:``,onClick:()=>r(t),children:e(t===null?`settings.themeSystem`:t===`light`?`settings.themeLight`:`settings.themeDark`)},String(t)))})]})]}),f===`editor`&&(0,$.jsxs)(`section`,{children:[(0,$.jsxs)(`div`,{className:`set-title`,children:[e(`settings.editor`),(0,$.jsxs)(`button`,{className:`btn small`,onClick:()=>o({...ub,uiLang:a.uiLang}),children:[(0,$.jsx)(In,{size:12}),` `,e(`settings.reset`)]})]}),(0,$.jsxs)(`label`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`settings.font`)}),(0,$.jsx)(`select`,{className:`control`,value:a.font,onChange:e=>m({font:e.target.value}),children:Object.entries(lb).map(([e,t])=>(0,$.jsx)(`option`,{value:e,children:t.label},e))})]}),(0,$.jsx)(yb,{label:e(`settings.size`),value:a.size,min:12,max:22,step:1,unit:`px`,onChange:e=>m({size:e})}),(0,$.jsx)(yb,{label:e(`settings.lineHeight`),value:a.lineHeight,min:1.2,max:2.2,step:.05,unit:``,onChange:e=>m({lineHeight:e})}),(0,$.jsx)(yb,{label:e(`settings.padding`),value:a.padding,min:0,max:200,step:4,unit:`px`,onChange:e=>m({padding:e})}),(0,$.jsxs)(`div`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`settings.width`)}),(0,$.jsx)(`div`,{className:`segmented`,children:[`full`,`readable`].map(t=>(0,$.jsx)(`button`,{className:a.width===t?`active`:``,onClick:()=>m({width:t}),children:e(t===`full`?`settings.widthFull`:`settings.widthReadable`)},t))})]}),(0,$.jsxs)(`div`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`settings.wrap`)}),(0,$.jsx)(`div`,{className:`segmented`,children:[!0,!1].map(t=>(0,$.jsx)(`button`,{className:a.wrap===t?`active`:``,onClick:()=>m({wrap:t}),children:e(t?`settings.wrapOn`:`settings.wrapOff`)},String(t)))})]}),(0,$.jsx)(`p`,{className:`set-hint`,children:e(`settings.wrapHint`)}),(0,$.jsxs)(`div`,{className:`set-preview`,children:[(0,$.jsx)(`div`,{className:`set-preview-h`,children:`markode`}),(0,$.jsx)(`p`,{children:e(`settings.preview`)})]})]}),f===`languages`&&!i.features.agent&&(0,$.jsxs)(`section`,{children:[(0,$.jsx)(`div`,{className:`set-title`,children:e(`settings.languages`)}),(0,$.jsx)(`p`,{className:`set-hint`,children:e(`settings.languagesOff`)})]}),f===`languages`&&i.features.agent&&(0,$.jsxs)(`section`,{children:[(0,$.jsx)(`div`,{className:`set-title`,children:e(`settings.languages`)}),(0,$.jsxs)(`label`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`settings.source`)}),(0,$.jsx)(`select`,{className:`control`,value:i.sourceLang,disabled:!i.mainDoc,onChange:e=>s({sourceLang:e.target.value}),children:fr.map(e=>(0,$.jsx)(`option`,{value:e,children:pr[e]},e))})]}),(0,$.jsx)(`p`,{className:`set-hint`,children:i.mainDoc?e(`settings.sourceHint`,{doc:i.mainDoc}):e(`rules.noMain`)}),!i.features.translations&&(0,$.jsx)(`p`,{className:`set-hint`,children:e(`settings.translationsOff`)}),i.features.translations&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{className:`set-row top`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`settings.translations`)}),(0,$.jsxs)(`div`,{className:`chips`,children:[i.langs.map(t=>(0,$.jsxs)(`button`,{className:`chip on`,title:e(`settings.removeLang`),onClick:()=>s({langs:i.langs.filter(e=>e!==t)}),children:[i.langNames[t]??t,` ×`]},t)),(0,$.jsx)(vb,{t:e,info:i,onAdd:(e,t)=>s({langs:[...i.langs,e],...t?{langNames:{[e]:t}}:{}})})]})]}),(0,$.jsx)(`p`,{className:`set-hint`,children:e(`settings.translationsHint`)}),i.langs.length>0&&c>0&&(0,$.jsxs)(`div`,{className:`set-callout`,children:[e(`settings.toTranslate`,{n:c}),` `,(0,$.jsx)(gb,{command:`/markode translate`,t:e})]})]})]}),f===`features`&&(0,$.jsxs)(`section`,{children:[(0,$.jsx)(`div`,{className:`set-title`,children:e(`settings.features`)}),(0,$.jsx)(`p`,{className:`set-hint`,children:e(`settings.featuresHint`)}),(0,$.jsxs)(`div`,{className:`feature on fixed`,children:[(0,$.jsx)(ib,{size:16,className:`feature-icon`}),(0,$.jsxs)(`div`,{className:`feature-body`,children:[(0,$.jsx)(`div`,{className:`feature-name`,children:e(`feature.viewer`)}),(0,$.jsx)(`p`,{className:`set-hint`,children:e(`feature.viewer.hint`)})]}),(0,$.jsx)(`span`,{className:`feature-always`,children:e(`feature.always`)})]}),mr.map(t=>(0,$.jsxs)(hb,{t:e,feature:t,info:i,onFeature:u,children:[t===`proposals`&&(0,$.jsxs)(`div`,{className:`set-row`,children:[(0,$.jsx)(`span`,{className:`set-label`,children:e(`settings.layout`)}),(0,$.jsx)(`div`,{className:`segmented`,children:[`general`,`structured`].map(t=>(0,$.jsx)(`button`,{className:i.proposals.layout===t?`active`:``,onClick:()=>l(!0,t),children:e(t===`general`?`settings.layoutGeneral`:`settings.layoutStructured`)},t))})]}),t===`live`&&(0,$.jsx)(`p`,{className:`set-hint`,children:e(`feature.live.note`)})]},t))]})]})]})})}var xb=`markode.expanded`;function Sb(){try{let e=localStorage.getItem(xb);return e?new Set(JSON.parse(e)):null}catch{return null}}var Cb=e=>e.flatMap(e=>e.kind===`dir`?[e.path,...Cb(e.children??[])]:[]);function wb(e,t){return e.flatMap(e=>{if(e.kind===`file`)return e.path.toLowerCase().includes(t)?[e]:[];let n=wb(e.children??[],t);return n.length||e.name.toLowerCase().includes(t)?[{...e,children:n.length?n:e.children}]:[]})}var Tb=e=>e?e.kind===`dir`?e.path:e.path.split(`/`).slice(0,-1).join(`/`):``;function Eb({kind:e,depth:t,onDone:n}){let r=(0,k.useRef)(!1),i=e=>{r.current||(r.current=!0,n(e?.trim().replace(/^\/+|\/+$/g,``)||null))};return(0,$.jsx)(`li`,{children:(0,$.jsxs)(`div`,{className:`node draft`,style:{paddingLeft:6+t*12},children:[(0,$.jsx)(`span`,{className:`chev`}),(0,$.jsx)(`span`,{className:`ico`,children:e===`dir`?(0,$.jsx)(rn,{size:15}):(0,$.jsx)(ib,{size:15})}),(0,$.jsx)(`input`,{autoFocus:!0,spellCheck:!1,onKeyDown:e=>{e.key===`Enter`&&i(e.currentTarget.value),e.key===`Escape`&&i(null)},onBlur:e=>i(e.currentTarget.value)})]})})}function Db(e,t){return Object.keys(t).some(t=>t.startsWith(e.path+`/`))}function Ob(e){let{tree:t,selected:n,showIgnored:r,t:i}=e,[a,o]=(0,k.useState)(()=>Sb()??new Set(t.filter(e=>e.kind===`dir`).map(e=>e.path))),[s,c]=(0,k.useState)(null),[l,u]=(0,k.useState)(!1),[d,f]=(0,k.useState)(``),p=(0,k.useRef)(null),[m,h]=(0,k.useState)(null),[g,_]=(0,k.useState)(null),v=g??(n?{kind:`file`,path:n}:null),y=d.trim().toLowerCase(),b=(0,k.useMemo)(()=>y?wb(t,y):t,[t,y]),ee=a.size>0,te=()=>{u(!1),f(``)};(0,k.useEffect)(()=>{try{localStorage.setItem(xb,JSON.stringify([...a]))}catch{}},[a]),(0,k.useEffect)(()=>{if(!n)return;let e=n.split(`/`).slice(0,-1),t=e.map((t,n)=>e.slice(0,n+1).join(`/`));t.some(e=>!a.has(e))&&o(e=>new Set([...e,...t]))},[n]),(0,k.useEffect)(()=>{if(!s)return;let e=()=>c(null);return window.addEventListener(`click`,e),window.addEventListener(`blur`,e),()=>{window.removeEventListener(`click`,e),window.removeEventListener(`blur`,e)}},[s]);let ne=(e,t)=>{te();let n=e?e.split(`/`):[];o(e=>new Set([...e,...n.map((e,t)=>n.slice(0,t+1).join(`/`))])),h({dir:e,kind:t})},x=async t=>{let n=m;if(h(null),!n||!t)return;let r=await e.onCreate(n.dir,t,n.kind);r&&n.kind===`dir`&&o(e=>new Set([...e,r]))},S=(e,t)=>m?.dir===e&&(0,$.jsx)(Eb,{kind:m.kind,depth:t,onDone:x},`draft`),re=e=>o(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}),ie=(t,o)=>t.filter(e=>r||!e.ignored).map(t=>{let r=!!y||a.has(t.path),s=t.kind===`file`&&(t.name===`CLAUDE.md`||t.name===`AGENTS.md`),l=t.kind===`file`?e.git[t.path]:Db(t,e.git)?`M`:void 0,u=t.kind===`file`?e.sync[t.path]:void 0,d=t.kind===`file`?e.foreign[t.path]:void 0;return(0,$.jsxs)(`li`,{children:[(0,$.jsxs)(`div`,{className:`node${n===t.path?` selected`:``}${t.ignored?` ignored`:``}`,style:{paddingLeft:6+o*12},title:t.path,onClick:()=>{_(t),t.kind===`dir`?re(t.path):e.onOpen(t.path)},onContextMenu:e=>{e.preventDefault(),c({x:e.clientX,y:e.clientY,node:t})},children:[(0,$.jsx)(`span`,{className:`chev`,children:t.kind===`dir`?r?(0,$.jsx)(Mt,{size:14}):(0,$.jsx)(Pt,{size:14}):null}),(0,$.jsx)(`span`,{className:`ico${t.project?` project`:``}`,children:t.kind===`dir`?t.project?(0,$.jsx)(Sn,{size:15}):r?(0,$.jsx)(j,{size:15}):(0,$.jsx)(rn,{size:15}):(0,$.jsx)(ib,{size:15})}),(0,$.jsx)(`span`,{className:`name${s?` main`:``}`,children:t.name}),d&&(0,$.jsx)(`span`,{className:`badge foreign`,title:i(`foreign.badge`,{lang:pr[d]}),children:d.toUpperCase()}),u&&u!==`synced`&&(0,$.jsx)(`span`,{className:`dot sync-${u}`,title:i(`sync.${u}`)}),l&&(0,$.jsx)(`span`,{className:`badge git-${l}`,title:i(`git.${l}`),children:t.kind===`dir`?`•`:l})]}),t.kind===`dir`&&r&&(0,$.jsxs)(`ul`,{children:[S(t.path,o+1),ie(t.children??[],o+1)]})]},t.path)});return(0,$.jsxs)(`aside`,{className:`sidebar`,onContextMenu:e=>{e.target===e.currentTarget&&(e.preventDefault(),c({x:e.clientX,y:e.clientY,node:null}))},children:[(0,$.jsxs)(`div`,{className:`sidebar-head`,children:[(0,$.jsx)(`span`,{style:{flex:1},children:i(`app.files`)}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.newFile`),onClick:()=>ne(Tb(v),`file`),children:(0,$.jsx)(Jt,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.newFolder`),onClick:()=>ne(Tb(v),`dir`),children:(0,$.jsx)(tn,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.showIgnored`),onClick:e.onToggleIgnored,style:r?{color:`var(--accent)`}:void 0,children:r?(0,$.jsx)(Ht,{size:15}):(0,$.jsx)(Wt,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(ee?`app.collapseAll`:`app.expandAll`),onClick:()=>o(new Set(ee?[]:Cb(t))),children:ee?(0,$.jsx)(It,{size:15}):(0,$.jsx)(Rt,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.search`),style:l?{color:`var(--accent)`}:void 0,onClick:()=>l?te():u(!0),children:(0,$.jsx)(Hn,{size:15})})]}),l&&(0,$.jsxs)(`div`,{className:`sidebar-search`,children:[(0,$.jsx)(Hn,{size:13}),(0,$.jsx)(`input`,{ref:p,autoFocus:!0,value:d,placeholder:i(`app.searchPlaceholder`),onChange:e=>f(e.target.value),onKeyDown:e=>e.key===`Escape`&&te()}),d&&(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.clear`),onClick:()=>(f(``),p.current?.focus()),children:(0,$.jsx)(ur,{size:13})})]}),(0,$.jsxs)(`ul`,{className:`tree`,children:[S(``,0),ie(b,0)]}),y&&!b.length&&(0,$.jsx)(`div`,{className:`sidebar-empty`,children:i(`app.noResults`)}),s&&(0,$.jsxs)(`div`,{className:`ctx-menu`,style:{left:s.x,top:s.y},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`button`,{onClick:()=>{ne(Tb(s.node),`file`),c(null)},children:[(0,$.jsx)(Jt,{size:14}),` `,i(`app.newFile`)]}),(0,$.jsxs)(`button`,{onClick:()=>{ne(Tb(s.node),`dir`),c(null)},children:[(0,$.jsx)(tn,{size:14}),` `,i(`app.newFolder`)]}),s.node&&(0,$.jsxs)($.Fragment,{children:[!s.node.archived&&(0,$.jsxs)(`button`,{onClick:()=>{e.onIgnore(s.node,!s.node.ignored),c(null)},children:[s.node.ignored?(0,$.jsx)(Ht,{size:14}):(0,$.jsx)(Wt,{size:14}),` `,s.node.ignored?i(`app.unignore`):i(`app.ignore`)]}),(0,$.jsxs)(`button`,{onClick:()=>{navigator.clipboard?.writeText(s.node.path),c(null)},children:[(0,$.jsx)(Bt,{size:14}),` `,i(`app.copyPath`)]}),(0,$.jsxs)(`button`,{className:`danger`,onClick:()=>{e.onDelete(s.node),c(null)},children:[(0,$.jsx)(nr,{size:14}),` `,i(`app.delete`)]})]})]})]})}var kb=[`claude`,`agents`,`codex`,`gemini`,`copilot`,`cursor`],Ab=[`claude`,`agents`],jb=`markode.skillsGroupBy`,Mb={global:`ok`,project:`ok`,both:`warn`,missing:`off`},Nb=(e,t)=>e===`agents`?t(`skills.shared`):{claude:`Claude`,codex:`Codex`,gemini:`Gemini`,copilot:`Copilot`,cursor:`Cursor`}[e];function Pb({t:e,tick:t,look:n}){let[r,i]=(0,k.useState)(null),[a,o]=(0,k.useState)(``),[s,c]=(0,k.useState)(()=>{try{return localStorage.getItem(jb)===`source`?`source`:`tag`}catch{return`tag`}}),[l,u]=(0,k.useState)(new Set),[d,f]=(0,k.useState)(new Set),p=()=>N.skills().then(i);(0,k.useEffect)(()=>{p()},[t]),(0,k.useEffect)(()=>{try{localStorage.setItem(jb,s)}catch{}},[s]);let m=a.trim().toLowerCase(),h=(0,k.useMemo)(()=>(r?.skills??[]).filter(e=>!m||e.name.toLowerCase().includes(m)||e.description.toLowerCase().includes(m)||e.tags.some(e=>e.includes(m))),[r,m]),g=(0,k.useMemo)(()=>[...new Set((r?.skills??[]).flatMap(e=>e.tags))].sort(),[r]),_=(0,k.useMemo)(()=>{if(s===`source`)return kb.map(t=>({id:t,label:Nb(t,e),skills:h.filter(e=>e.locations.some(e=>e.source===t))})).filter(e=>e.skills.length);let t=g.map(e=>({id:e,label:e,skills:h.filter(t=>t.tags.includes(e))})).filter(e=>e.skills.length),n=h.filter(e=>!e.tags.length);return n.length?[...t,{id:``,label:e(`skills.untagged`),skills:n}]:t},[h,s,g,e]),v=_.flatMap(e=>e.skills.map(t=>`${e.id}|${t.key}`)),y=v.some(e=>l.has(e)),b=(e,t)=>{let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n},ee=async(e,t)=>{await N.setSkillTags(e.name,t),p()};return r?(0,$.jsx)(`div`,{className:`page`,children:(0,$.jsxs)(`div`,{className:`skills`,children:[(0,$.jsxs)(`div`,{className:`row`,children:[(0,$.jsx)(`h2`,{style:{margin:0,flex:1},children:e(`skills.title`)}),(0,$.jsxs)(`div`,{className:`skills-search`,children:[(0,$.jsx)(Hn,{size:13}),(0,$.jsx)(`input`,{value:a,placeholder:e(`skills.search`),onChange:e=>o(e.target.value)}),a&&(0,$.jsx)(`button`,{className:`icon-btn`,title:e(`app.clear`),onClick:()=>o(``),children:(0,$.jsx)(ur,{size:13})})]}),(0,$.jsxs)(`div`,{className:`segmented`,title:e(`skills.groupBy`),children:[(0,$.jsx)(`button`,{className:s===`tag`?`active`:``,onClick:()=>c(`tag`),children:e(`skills.byTag`)}),(0,$.jsx)(`button`,{className:s===`source`?`active`:``,onClick:()=>c(`source`),children:e(`skills.bySource`)})]}),(0,$.jsx)(`button`,{className:`icon-btn`,title:e(y?`app.collapseAll`:`app.expandAll`),onClick:()=>u(new Set(y?[]:v)),children:y?(0,$.jsx)(It,{size:15}):(0,$.jsx)(Rt,{size:15})})]}),(0,$.jsxs)(`p`,{className:`sub`,children:[e(`skills.subtitle`),` `,r.sources.filter(e=>e.exists).map(e=>e.path).join(` · `)]}),!r.skills.length&&(0,$.jsx)(`p`,{className:`sub`,children:e(`skills.none`)}),!!r.skills.length&&!h.length&&(0,$.jsx)(`p`,{className:`sub`,children:e(`app.noResults`)}),_.map(t=>(0,$.jsxs)(`section`,{children:[(0,$.jsxs)(`h3`,{className:`skills-group`,onClick:()=>f(e=>b(e,t.id)),children:[d.has(t.id)?(0,$.jsx)(Pt,{size:14}):(0,$.jsx)(Mt,{size:14}),(0,$.jsx)(`span`,{children:t.label}),(0,$.jsx)(`span`,{className:`count`,children:t.skills.length})]}),!d.has(t.id)&&t.skills.map(i=>{let a=`${t.id}|${i.key}`;return(0,$.jsx)(Fb,{skill:i,t:e,look:n,open:l.has(a),onToggle:()=>u(e=>b(e,a)),allTags:g,onTags:e=>ee(i,e),defaultTargets:r.targets,onInstalled:p},a)})]},t.id||`-`))]})}):(0,$.jsx)(`div`,{className:`page`})}function Fb({skill:e,t,look:n,open:r,onToggle:i,allTags:a,onTags:o,defaultTargets:s,onInstalled:c}){let[l,u]=(0,k.useState)(!1),[d,f]=(0,k.useState)(!1),[p,m]=(0,k.useState)(e.installed.length?e.installed:s),h=Object.values(e.status),g=h.length>0&&h.every(e=>e===`global`),_=h.length===1&&h[0]===`missing`?Object.keys(e.status)[0]:null,v=async(n=p,r=!0)=>{let i=n.filter(t=>e.installed.includes(t));r&&i.length&&!confirm(t(`skills.overwrite`,{name:e.folder,dirs:i.map(e=>t(`skills.target.${e}`)).join(`, `)}))||await N.installSkill(e.key,n,i.length>0).then(()=>!0,e=>(alert(e.message),!1))&&(f(!1),c())};return(0,$.jsxs)(`div`,{className:`skill-card${r?` open`:``}`,children:[(0,$.jsxs)(`div`,{className:`skill-head`,onClick:i,children:[(0,$.jsx)(`span`,{className:`chev`,children:r?(0,$.jsx)(Mt,{size:14}):(0,$.jsx)(Pt,{size:14})}),(0,$.jsx)(`span`,{className:`skill-name`,children:e.name}),e.locations.map(e=>(0,$.jsx)(`span`,{className:`src-chip src-${e.source}`,title:e.path,children:Nb(e.source,t)},e.path)),e.managed&&(0,$.jsx)(`span`,{className:`skill-flag`,title:t(`skills.managed`),children:(0,$.jsx)(mn,{size:12})}),!!e.issues.length&&(0,$.jsx)(`span`,{className:`skill-flag warn`,title:e.issues.map(n=>t(`skills.issue.${n}`,{dir:e.folder})).join(`
|
|
131
|
+
`),children:(0,$.jsx)(ir,{size:13})}),(0,$.jsx)(`span`,{className:`spacer`}),Object.entries(e.status).map(([e,n])=>{let r=t(`skills.agent.${e}`);return(0,$.jsx)(`span`,{className:`st-chip ${Mb[n]}`,title:t(`skills.st.${n}Hint${n===`both`&&e===`claude`?`Claude`:``}`,{agent:r}),children:t(`skills.st.${n}`,{agent:r})},e)}),e.differs.length>0&&(0,$.jsxs)(`button`,{className:`st-chip warn`,title:t(`skills.differsHint`,{dirs:e.differs.map(e=>t(`skills.target.${e}`)).join(`, `)}),onClick:n=>{n.stopPropagation(),confirm(t(`skills.updateConfirm`,{name:e.folder}))&&v(e.differs,!1)},children:[(0,$.jsx)(Pn,{size:11}),` `,t(`skills.differs`)]}),(0,$.jsxs)(`button`,{className:`btn small`,title:g?t(`skills.shareHint`):void 0,onClick:e=>{e.stopPropagation(),f(e=>!e)},children:[(0,$.jsx)(Qt,{size:13}),` `,g?t(`skills.share`):_?t(`skills.useWith`,{agent:t(`skills.agent.${_}`)}):t(`skills.install`)]})]}),d&&(0,$.jsxs)(`div`,{className:`skill-install`,children:[(0,$.jsx)(`span`,{children:t(`skills.installTo`)}),Ab.map(e=>(0,$.jsxs)(`label`,{children:[(0,$.jsx)(`input`,{type:`checkbox`,checked:p.includes(e),onChange:t=>m(n=>t.target.checked?[...n,e]:n.filter(t=>t!==e))}),t(`skills.target.${e}`)]},e)),(0,$.jsx)(`span`,{className:`spacer`}),(0,$.jsx)(`button`,{className:`btn small primary`,disabled:!p.length,onClick:()=>v(),children:t(`skills.copy`)}),(0,$.jsx)(`button`,{className:`btn small`,onClick:()=>f(!1),children:t(`skills.cancel`)})]}),e.description&&(0,$.jsx)(`p`,{className:`skill-desc${r?``:` clamp`}`,children:e.description}),(0,$.jsxs)(`div`,{className:`skill-tags`,children:[e.tags.map(n=>(0,$.jsxs)(`span`,{className:`tag`,children:[n,(0,$.jsx)(`button`,{title:t(`skills.removeTag`,{tag:n}),onClick:()=>o(e.tags.filter(e=>e!==n)),children:(0,$.jsx)(ur,{size:11})})]},n)),l?(0,$.jsx)(Ib,{options:a.filter(t=>!e.tags.includes(t)),onDone:t=>{u(!1),t&&o([...e.tags,t])}}):(0,$.jsxs)(`button`,{className:`tag add`,onClick:()=>u(!0),children:[(0,$.jsx)(On,{size:11}),` `,t(`skills.addTag`)]})]}),r&&(0,$.jsxs)($.Fragment,{children:[!!e.files.length&&(0,$.jsxs)(`div`,{className:`skill-files`,children:[(0,$.jsx)(`span`,{children:t(`skills.files`)}),e.files.map(e=>(0,$.jsx)(`code`,{children:e},e))]}),(0,$.jsx)(Lb,{skill:e,t,look:n})]})]})}function Ib({options:e,onDone:t}){let n=(0,k.useRef)(!1),r=e=>{n.current||(n.current=!0,t(e?.trim().toLowerCase()||null))},i=(0,k.useMemo)(()=>`tags-${Math.random().toString(36).slice(2)}`,[]);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`input`,{className:`tag-input`,autoFocus:!0,list:i,onKeyDown:e=>{e.key===`Enter`&&r(e.currentTarget.value),e.key===`Escape`&&r(null)},onBlur:e=>r(e.currentTarget.value)}),(0,$.jsx)(`datalist`,{id:i,children:e.map(e=>(0,$.jsx)(`option`,{value:e},e))})]})}function Lb({skill:e,t,look:n}){let r=(0,k.useRef)(null),[i,a]=(0,k.useState)(!1);return(0,$.jsxs)(`div`,{className:`skill-editor`,children:[(0,$.jsxs)(`div`,{className:`skill-editor-bar`,children:[(0,$.jsxs)(`code`,{title:e.locations.map(e=>e.path).join(`
|
|
132
|
+
`),children:[e.locations[0].path,`/SKILL.md`]}),(0,$.jsx)(`span`,{className:`spacer`}),(0,$.jsx)(`span`,{children:e.managed?t(`skills.readOnly`):t(i?`app.saving`:`app.saved`)})]}),(0,$.jsx)(zy,{path:`${e.key}/SKILL.md`,lang:`en`,t,layoutKey:n.layoutKey,wrap:n.wrap,theme:n.theme,externalTick:0,onLoaded:()=>{},onSaving:a,onSaved:()=>{},onHistory:()=>{},commands:r,io:{load:()=>N.skillFile(e.key),save:t=>N.saveSkillFile(e.key,t)},readOnly:e.managed})]})}var Rb={get:e=>{try{return localStorage.getItem(e)}catch{return null}},set:(e,t)=>{try{localStorage.setItem(e,t)}catch{}}};function zb(e){let[t,n]=(0,k.useState)(()=>matchMedia(`(prefers-color-scheme: light)`).matches?`light`:`dark`);(0,k.useEffect)(()=>{let e=matchMedia(`(prefers-color-scheme: light)`),t=()=>n(e.matches?`light`:`dark`);return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[]);let r=e??t;return(0,k.useLayoutEffect)(()=>{document.documentElement.dataset.resolvedTheme=r},[r]),r}var Bb=260,Vb=180,Hb=()=>Math.max(Vb,Math.min(640,window.innerWidth*.6)),Ub=(e,t)=>{let n=/^---\r?\n([\s\S]*?)\r?\n---/.exec(e)?.[1]??``;return RegExp(`^${t}:\\s*([\\w-]+)`,`m`).exec(n)?.[1]??null},Wb=e=>Ub(e,`status`),Gb=e=>{let t=/^---\r?\n([\s\S]*?)\r?\n---/.exec(e)?.[1]??``;return(/^affects:\s*\[(.*)\]/m.exec(t)?.[1]??``).split(`,`).map(e=>e.trim().replace(/^["']|["']$/g,``)).filter(Boolean)},Kb=()=>{let e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`};function qb(){let[e,t]=(0,k.useState)(null),[n,r]=(0,k.useState)({tree:[],git:{},sync:{},foreign:{}}),[i,a]=(0,k.useState)(()=>decodeURIComponent(location.hash.slice(2))||null),[o,s]=(0,k.useState)(()=>Rb.get(`markode.view`)||`editor`),[c,l]=(0,k.useState)(()=>{let e=Rb.get(`markode.theme`);return e===`light`||e===`dark`?e:null}),[u,d]=(0,k.useState)(!1),[f,p]=(0,k.useState)(null),[m,h]=(0,k.useState)(!1),[g,_]=(0,k.useState)(0),[v,y]=(0,k.useState)(0),[b,ee]=(0,k.useState)(()=>({...ub,uiLang:Rb.get(`markode.uiLang`)||ub.uiLang})),[te,ne]=(0,k.useState)(null),[x,S]=(0,k.useState)(null),[re,ie]=(0,k.useState)(!1),[ae,oe]=(0,k.useState)(0),[se,ce]=(0,k.useState)(!1),[le,ue]=(0,k.useState)(!1),[de,fe]=(0,k.useState)(null),C=!!i&&de===i,[pe,me]=(0,k.useState)(Ly),he=(0,k.useRef)(null);(0,k.useEffect)(()=>{let e=e=>{if(e.defaultPrevented||!(e.ctrlKey||e.metaKey)||e.altKey||e.shiftKey||!he.current)return;let t=e.key.toLowerCase();(t===`f`||t===`h`)&&(e.preventDefault(),he.current.find(t===`h`))};return addEventListener(`keydown`,e),()=>removeEventListener(`keydown`,e)},[]);let[ge,_e]=(0,k.useState)(()=>Number(Rb.get(`markode.sidebarWidth`))||Bb),[ve,ye]=(0,k.useState)(()=>Rb.get(`markode.sidebarHidden`)===`1`),[be,xe]=(0,k.useState)(()=>Rb.get(`markode.viewLang`)),Se=zb(c),Ce=e?.sourceLang??`en`,w=be&&e?.langs.includes(be)?be:Ce,T=t=>e?.langNames[t]??pr[t]??t,E=(0,k.useMemo)(()=>cb(b.uiLang),[b.uiLang]),we=(0,k.useRef)(w);we.current=w;let Te=(0,k.useCallback)(()=>N.tree(we.current).then(r),[]),Ee=(0,k.useRef)(i);Ee.current=i,(0,k.useEffect)(()=>{N.info().then(e=>{t(e),!Ee.current&&e.mainDoc&&a(e.mainDoc)}),N.settings().then(e=>ee(e))},[]),(0,k.useEffect)(()=>{e&&Te()},[e,w]),(0,k.useEffect)(()=>{e?.langs.length?N.translations().then(e=>oe(e.pending)).catch(()=>{}):oe(0)},[e,g]),(0,k.useEffect)(()=>db(b),[b]),(0,k.useEffect)(()=>Rb.set(`markode.uiLang`,b.uiLang),[b.uiLang]),(0,k.useEffect)(()=>{document.documentElement.lang=w},[w]);let D=(0,k.useRef)(void 0),O=e=>{ee(e),window.clearTimeout(D.current),D.current=window.setTimeout(()=>N.saveSettings(e),300)};(0,k.useEffect)(()=>{let e,n=()=>{Te(),_(e=>e+1)},r=_r(r=>{(r.path===Ee.current||r.path.startsWith(`.markode/`))&&y(e=>e+1),r.path===`.markode/config.json`&&N.info().then(t),window.clearTimeout(e),e=window.setTimeout(n,250)}),i=()=>{y(e=>e+1),n()};return window.addEventListener(`focus`,i),()=>{r(),window.removeEventListener(`focus`,i)}},[]),(0,k.useEffect)(()=>{i&&history.replaceState(null,``,`#/${encodeURI(i)}`)},[i]),(0,k.useEffect)(()=>Rb.set(`markode.view`,o),[o]),(0,k.useEffect)(()=>Rb.set(`markode.theme`,c??``),[c]),(0,k.useEffect)(()=>Rb.set(`markode.sidebarWidth`,String(ge)),[ge]),(0,k.useEffect)(()=>Rb.set(`markode.sidebarHidden`,ve?`1`:`0`),[ve]);let De=e=>{e.preventDefault();let t=e.currentTarget;t.setPointerCapture(e.pointerId),document.body.classList.add(`resizing`);let n=ge,r=e=>{if(e.clientX<Vb/2)return ye(!0),_e(n);ye(!1),_e(Math.round(Math.min(Hb(),Math.max(Vb,e.clientX))))},i=()=>{document.body.classList.remove(`resizing`),t.removeEventListener(`pointermove`,r),t.removeEventListener(`pointerup`,i),t.removeEventListener(`pointercancel`,i)};t.addEventListener(`pointermove`,r),t.addEventListener(`pointerup`,i),t.addEventListener(`pointercancel`,i)},Oe=e=>{a(e),s(`editor`),fe(null)},ke=e=>{xe(e),Rb.set(`markode.viewLang`,e)},Ae=async(e,n)=>{await N.setProposals(e,n).catch(e=>alert(e.message)),t(await N.info())},je=async(e,n)=>{await N.setFeature(e,n).catch(e=>alert(e.message)),t(await N.info()),Te()},Me=async()=>{if(!i)return;let e=i,t=await N.waiting().then(t=>t.paths.includes(e)).catch(()=>!1);he.current?.setField(`status`,`answered`),he.current?.setField(`updated`,Kb()),t||navigator.clipboard?.writeText(E(`proposal.message`,{path:e})).catch(()=>{}),ie(t),S(e)},Ne=()=>navigator.clipboard?.writeText(`/markode translate`).then(()=>{ce(!0),setTimeout(()=>ce(!1),1500)}),Pe=async e=>{await N.setConfig(e).catch(e=>alert(e.message)),t(await N.info())},Fe=async(e,t,n)=>{n===`file`&&!t.toLowerCase().endsWith(`.md`)&&(t+=`.md`);let r=e?`${e}/${t}`:t,i=await(n===`dir`?N.createDir(r):N.create(r)).catch(e=>void alert(e.message));return i?(await Te(),n===`file`&&Oe(i.path),i.path):null},Ie=async t=>{let n=await N.deletePreview(t.path).catch(e=>void alert(e.message));if(!n)return;let r=n.kind===`dir`?E(`app.deleteDirConfirm`,{path:t.path,files:n.files,md:n.md}):E(`app.deleteFileConfirm`,{path:t.path});if(!confirm(r))return;let o=e=>!!e&&(e===t.path||e.startsWith(t.path+`/`));o(i)&&(a(o(e?.mainDoc??null)?null:e?.mainDoc??null),await new Promise(e=>setTimeout(e))),await N.remove(t.path).catch(e=>alert(e.message)),Te()},Le=f?.status??null,Re=i?.split(`/`)??[],ze=e?.features.agent?e.author??E(`comment.me`):null,Be=`${b.font}|${b.size}|${b.lineHeight}|${b.padding}|${b.width}`,Ve=Se===`light`?Qn:bn,He=[{id:`editor`,icon:Xt,label:E(`view.editor`)},{id:`dashboard`,icon:un,label:E(`view.dashboard`)},{id:`changes`,icon:on,label:E(`view.changes`)},{id:`rules`,icon:Bn,label:E(`view.rules`)},{id:`skills`,icon:Xn,label:E(`view.skills`)}].filter(t=>!e||t.id!==`dashboard`&&t.id!==`rules`&&t.id!==`skills`||e.features[t.id]),Ue=He.some(e=>e.id===o)?o:`editor`;return(0,$.jsxs)(`div`,{className:`app`,"data-sidebar":ve?`hidden`:void 0,style:{"--sidebar-w":`${Math.min(ge,Hb())}px`},children:[(0,$.jsxs)(`header`,{className:`topbar`,children:[(0,$.jsx)(`button`,{className:`icon-btn`,title:E(ve?`app.showSidebar`:`app.hideSidebar`),onClick:()=>ye(e=>!e),children:ve?(0,$.jsx)(En,{size:16}):(0,$.jsx)(wn,{size:16})}),(0,$.jsxs)(`div`,{className:`brand`,children:[(0,$.jsx)(ib,{size:20,filled:!0}),` markode `,(0,$.jsx)(`small`,{children:e?.name})]}),(0,$.jsx)(`nav`,{className:`tabs`,children:He.map(e=>(0,$.jsxs)(`button`,{className:`tab${Ue===e.id?` active`:``}`,onClick:()=>s(e.id),children:[(0,$.jsx)(e.icon,{size:15}),` `,e.label,e.id===`changes`&&Object.keys(n.git).length>0&&(0,$.jsx)(`span`,{className:`pill`,children:Object.keys(n.git).length})]},e.id))}),(0,$.jsx)(`div`,{className:`spacer`}),ae>0&&(0,$.jsxs)(`button`,{className:`pill warn`,title:E(`sync.copyCommand`),onClick:Ne,children:[se?(0,$.jsx)(At,{size:12}):(0,$.jsx)(Bt,{size:12}),` `,se?E(`app.copied`):E(`sync.pendingCount`,{n:ae})]}),e&&e.langs.length>0&&(0,$.jsxs)(`select`,{className:`control`,title:E(`app.language`),value:w,onChange:e=>ke(e.target.value),children:[(0,$.jsxs)(`option`,{value:Ce,children:[pr[Ce],` (`,E(`lang.original`),`)`]}),e.langs.map(e=>(0,$.jsx)(`option`,{value:e,children:T(e)},e))]}),(0,$.jsx)(`button`,{className:`icon-btn`,title:E(`app.settings`),onClick:()=>ne(`general`),children:(0,$.jsx)(Kn,{size:16})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:E(`app.theme`),onClick:()=>l(Se===`dark`?`light`:`dark`),children:(0,$.jsx)(Ve,{size:16})})]}),(0,$.jsx)(Ob,{tree:n.tree,git:n.git,sync:n.sync,foreign:n.foreign,selected:Ue===`editor`?i:null,mainDoc:e?.mainDoc??null,showIgnored:u,t:E,onOpen:Oe,onToggleIgnored:()=>d(e=>!e),onIgnore:async(e,t)=>{await N.ignore(e.path,e.kind,t),Te()},onCreate:Fe,onDelete:Ie}),!ve&&(0,$.jsx)(`div`,{className:`sidebar-resizer`,title:E(`app.resizeSidebar`),onPointerDown:De,onDoubleClick:()=>_e(Bb)}),(0,$.jsxs)(`main`,{className:`main`,children:[Ue===`editor`&&(i?(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{className:`crumbs`,children:[Re.map((e,t)=>(0,$.jsxs)(`span`,{style:{display:`contents`},children:[t>0&&(0,$.jsx)(Pt,{size:13,className:`sep`}),(0,$.jsx)(`span`,{className:t===Re.length-1?`last`:``,children:e})]},t)),f&&(0,$.jsx)(`span`,{className:`status`,children:(0,$.jsx)(Vy,{status:Wb(f.content),t:E})}),(0,$.jsx)(`span`,{className:`save`,children:m?E(`app.saving`):f?E(`app.saved`):``}),(0,$.jsxs)(`div`,{className:`edit-actions`,children:[(0,$.jsx)(`button`,{className:`icon-btn`,title:E(`app.undo`),disabled:!pe.undo,onMouseDown:e=>e.preventDefault(),onClick:()=>he.current?.undo(),children:(0,$.jsx)(cr,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:E(`app.redo`),disabled:!pe.redo,onMouseDown:e=>e.preventDefault(),onClick:()=>he.current?.redo(),children:(0,$.jsx)(Mn,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:E(`app.discard`),disabled:!pe.dirty,onMouseDown:e=>e.preventDefault(),onClick:()=>he.current?.discard(),children:(0,$.jsx)(In,{size:15})}),(0,$.jsx)(`span`,{className:`sep`}),(0,$.jsx)(`button`,{className:`icon-btn`,title:E(`app.find`),onMouseDown:e=>e.preventDefault(),onClick:()=>he.current?.find(),children:(0,$.jsx)(Hn,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:E(`app.copyDoc`),onMouseDown:e=>e.preventDefault(),onClick:e=>{let t=e.currentTarget.getBoundingClientRect(),n=e=>()=>he.current?.copy(e).then(()=>{ue(!0),setTimeout(()=>ue(!1),1200)}).catch(e=>alert(e.message));ed(t.left,t.bottom+4,[{label:E(`app.copyMarkdown`),run:n(!1)},{label:E(`app.copyFormatted`),run:n(!0)}])},children:le?(0,$.jsx)(At,{size:15}):(0,$.jsx)(Bt,{size:15})}),(0,$.jsx)(`span`,{className:`sep`}),(0,$.jsx)(`button`,{className:`icon-btn`,title:E(C?`app.viewVisual`:`app.viewMarkdown`),onMouseDown:e=>e.preventDefault(),onClick:()=>fe(C?null:i),children:C?(0,$.jsx)(Kt,{size:15}):(0,$.jsx)(ib,{size:15})})]})]}),f&&Ub(f.content,`type`)===`proposal`&&(0,$.jsx)(Hy,{status:Wb(f.content)!==`applied`&&x===i?`answered`:Wb(f.content),copied:x===i,listening:x===i&&re,affects:Gb(f.content),t:E,onSend:Me,onOpen:Oe}),w!==Ce&&Le&&Le!==`synced`&&(0,$.jsxs)(`div`,{className:`banner sync-${Le}`,children:[(0,$.jsx)(`span`,{className:`dot sync-${Le}`}),` `,E(`sync.${Le}`),` · `,E(`sync.hint`)]}),w===Ce&&n.foreign[i]&&(0,$.jsxs)(`div`,{className:`banner foreign`,children:[E(`foreign.banner`,{lang:pr[n.foreign[i]],source:pr[Ce]}),(0,$.jsx)(`button`,{className:`btn`,onClick:async()=>{await N.keepLanguage(i),Te()},children:E(`foreign.keep`,{lang:pr[n.foreign[i]]})})]}),(0,$.jsx)(zy,{path:i,lang:w,layoutKey:Be,wrap:b.wrap,visual:!C,theme:Se,t:E,externalTick:v,onLoaded:p,onHistory:me,commands:he,author:ze,onOpenDoc:Oe,onSaving:h,onSaved:e=>{p(t=>t&&{...t,status:e}),Te()}},`${i}|${w}|${ze}|${b.uiLang}`)]}):(0,$.jsx)(`div`,{className:`empty`,children:E(`app.noFile`)})),Ue===`dashboard`&&(0,$.jsx)(eb,{t:E,tick:g,onOpen:Oe,proposalsActive:!!e?.proposals.active,onActivateProposals:()=>ne(`features`),unlinked:e?.unlinked??[],onLink:async e=>{await N.link(e).catch(e=>alert(e.message)),t(await N.info()),Te()}}),Ue===`changes`&&(0,$.jsx)(nb,{t:E,git:n.git,enabled:!!e?.git,tick:g}),Ue===`rules`&&(0,$.jsx)(rb,{t:E}),Ue===`skills`&&(0,$.jsx)(Pb,{t:E,tick:g,look:{layoutKey:Be,wrap:b.wrap,theme:Se}})]}),te&&e&&(0,$.jsx)(bb,{t:E,section:te,pendingTranslations:ae,theme:c,onTheme:l,info:e,settings:b,onSettings:O,onLanguages:Pe,onProposals:Ae,onFeature:je,onClose:()=>ne(null)})]})}(0,dr.createRoot)(document.getElementById(`root`)).render((0,$.jsx)(qb,{}));export{Xd as a,tt as c,Yd as i,at as l,$g as n,gf as o,tg as r,B as s,B_ as t,it as u};
|