@rafiqui987/markode 0.4.3 → 0.4.5
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 +2 -2
- package/dist/web/assets/{abnfDiagram-WEYOIA3C-C2SJjHni.js → abnfDiagram-WEYOIA3C-C3K9cYLA.js} +1 -1
- package/dist/web/assets/{arc-Cx8Du0ud.js → arc-D3j1ItIz.js} +1 -1
- package/dist/web/assets/{architecture-WOLXFQ4H-Cb7DZ4zr.js → architecture-WOLXFQ4H-0Owms4Yq.js} +1 -1
- package/dist/web/assets/{architectureDiagram-ZHVYKT53-CGIbomEe.js → architectureDiagram-ZHVYKT53-E1pya0HR.js} +1 -1
- package/dist/web/assets/{blockDiagram-RJAE7QA3-CxJLYpHi.js → blockDiagram-RJAE7QA3-DNfFGzAx.js} +1 -1
- package/dist/web/assets/{c4Diagram-XDPPPE54-C3TE3am8.js → c4Diagram-XDPPPE54-BOIdzgi3.js} +1 -1
- package/dist/web/assets/channel-CC9L7z0h.js +1 -0
- package/dist/web/assets/{chunk-2E7WHVMD-Bg92ygkh.js → chunk-2E7WHVMD-DiTgRPDF.js} +1 -1
- package/dist/web/assets/{chunk-4EMNKR2T-CkWHQjq0.js → chunk-4EMNKR2T-kx5gTh1X.js} +1 -1
- package/dist/web/assets/{chunk-55XCU76K-FdEXCejS.js → chunk-55XCU76K-kAm9Em0p.js} +1 -1
- package/dist/web/assets/{chunk-7S6XSTFO-daOCefKF.js → chunk-7S6XSTFO-CSQueelg.js} +1 -1
- package/dist/web/assets/{chunk-AQDTSKZB-C_O7jTkL.js → chunk-AQDTSKZB-CGaUzjX7.js} +1 -1
- package/dist/web/assets/{chunk-DSNLSHJZ-CK3bwwQ-.js → chunk-DSNLSHJZ-CvZ-LLaF.js} +1 -1
- package/dist/web/assets/{chunk-HAGFOTED-opIvHyBo.js → chunk-HAGFOTED-lZCxa_w_.js} +1 -1
- package/dist/web/assets/{chunk-HNE4Q36P-BL3zDF5M.js → chunk-HNE4Q36P-CgSCkg7V.js} +1 -1
- package/dist/web/assets/{chunk-NQOKRVIF-CinujSFs.js → chunk-NQOKRVIF-Ci3_760X.js} +1 -1
- package/dist/web/assets/{chunk-UHW7PFBP-d0gZdn-g.js → chunk-UHW7PFBP-CQnA6F-o.js} +1 -1
- package/dist/web/assets/{chunk-VQ5W62QI-B_xkLXrb.js → chunk-VQ5W62QI-C41mPTTQ.js} +1 -1
- package/dist/web/assets/{chunk-WQQL4CDK-DOuJFSVX.js → chunk-WQQL4CDK-2hKnC7De.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-CDlxlAW4.js → chunk-XXDRQBXY-Caif0boJ.js} +1 -1
- package/dist/web/assets/{chunk-YZO67HFG-BdDkz7-r.js → chunk-YZO67HFG-DGbMpLEG.js} +1 -1
- package/dist/web/assets/{chunk-ZAUX2LTX-BaIU0CWB.js → chunk-ZAUX2LTX-D8QQPDz3.js} +1 -1
- package/dist/web/assets/{chunk-ZCHMQSOR-D9qWy94b.js → chunk-ZCHMQSOR-Bk-Z-9rG.js} +1 -1
- package/dist/web/assets/{classDiagram-v2-4MYWR3UA-D1SE7F9-.js → classDiagram-v2-4MYWR3UA-_DMaQr_6.js} +1 -1
- package/dist/web/assets/{cose-bilkent-JH36ORCC-C2ELhXyb.js → cose-bilkent-JH36ORCC-DQRnoJPL.js} +1 -1
- package/dist/web/assets/{cynefin-EF2NZ3EQ-BsGiTfQX.js → cynefin-EF2NZ3EQ-BD3Frmlk.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-WF24UDRP-Bs1ZtI6B.js → cynefinDiagram-WF24UDRP-BaimPJKV.js} +1 -1
- package/dist/web/assets/{dagre-NK4GIZVX-DpWeBJ_u.js → dagre-NK4GIZVX-B8T-HO4Y.js} +1 -1
- package/dist/web/assets/{diagram-CBK3MWTC-4v-6xiYz.js → diagram-CBK3MWTC-BTKennsC.js} +1 -1
- package/dist/web/assets/{diagram-I5XIIV2D-Dzu2bn9N.js → diagram-I5XIIV2D-C9mrAy0e.js} +1 -1
- package/dist/web/assets/{diagram-ODIL2UCW-B-ZVeg44.js → diagram-ODIL2UCW-DpIDfDNl.js} +1 -1
- package/dist/web/assets/{diagram-PFBEJUXE-Ctbwu_Qd.js → diagram-PFBEJUXE-DVdNv7UM.js} +1 -1
- package/dist/web/assets/{diagram-RJA3I4VV-C6jtr4QM.js → diagram-RJA3I4VV-q69G8t0w.js} +1 -1
- package/dist/web/assets/{diagram-TYUNFSNR-BLJ5rEgp.js → diagram-TYUNFSNR-ChlacIxe.js} +1 -1
- package/dist/web/assets/{dist-CYz0my_F.js → dist-B8dwcIIJ.js} +1 -1
- package/dist/web/assets/{dist-8bzcdWlP.js → dist-BGghYcWE.js} +1 -1
- package/dist/web/assets/{dist-T0asI_P_.js → dist-BJCRMbX_.js} +1 -1
- package/dist/web/assets/dist-CGb6-52k.js +1 -0
- package/dist/web/assets/{dist-D5EOvBuF.js → dist-CRgyubF-.js} +1 -1
- package/dist/web/assets/{dist-BruzXrfs.js → dist-CW5aCA00.js} +1 -1
- package/dist/web/assets/{dist-DfBSxfI7.js → dist-ChSwKsrg.js} +2 -2
- package/dist/web/assets/{dist-DZRwaECR.js → dist-D3FwN_Rc.js} +1 -1
- package/dist/web/assets/{dist-BwF8pAVO.js → dist-D6fw-BjY.js} +1 -1
- package/dist/web/assets/{dist-FYTUKDRT.js → dist-DLNu4Yzq.js} +1 -1
- package/dist/web/assets/dist-DQBaXdbP.js +1 -0
- package/dist/web/assets/{dist-CZwyjOXO.js → dist-DQq_9F0I.js} +2 -2
- package/dist/web/assets/{dist-Dih0lXFk.js → dist-DuFz9iic.js} +2 -2
- package/dist/web/assets/{dist-ga2OvaLo.js → dist-DzIzCSZ0.js} +1 -1
- package/dist/web/assets/{dist-CuHat3Fb.js → dist-Qnb4dn2Y.js} +1 -1
- package/dist/web/assets/{dist-Cihah0nd.js → dist-Uf2FLSYO.js} +1 -1
- package/dist/web/assets/{dist-CFUj2tCy.js → dist-Zx6pHmkX.js} +3 -2
- package/dist/web/assets/{dist-CubY9gnU.js → dist-sVLOT-2s.js} +1 -1
- package/dist/web/assets/{dist-BgauZQpT.js → dist-u5U-7REp.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-V4P3TTPT-Db6BDS1i.js → ebnfDiagram-V4P3TTPT-BbMKslvd.js} +1 -1
- package/dist/web/assets/{elk-QONTBCTQ-KjqoTzPz.js → elk-QONTBCTQ-C31rG--W.js} +1 -1
- package/dist/web/assets/{erDiagram-KYQIGQAA-7yWMWLmA.js → erDiagram-KYQIGQAA-DG2ALOqi.js} +1 -1
- package/dist/web/assets/{eventmodeling-K75KTNOO-Cc9vp_RM.js → eventmodeling-K75KTNOO-DGFwc19h.js} +1 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-NwBFHGJC.js +1 -0
- package/dist/web/assets/{ganttDiagram-R7GPNTJY-BDR6Qg8X.js → ganttDiagram-R7GPNTJY-BsMv2oJo.js} +1 -1
- package/dist/web/assets/{gitGraph-VSP46ZUC-0OuqK-zj.js → gitGraph-VSP46ZUC-w4EHXAPo.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PDYL7XHY-B7Sr5Eni.js → gitGraphDiagram-PDYL7XHY-B8Zo24_B.js} +1 -1
- package/dist/web/assets/index-DtmRhcdz.css +1 -0
- package/dist/web/assets/index-WYty-n0j.js +190 -0
- package/dist/web/assets/{info-OHQRW6UA-BUNYCTVi.js → info-OHQRW6UA-CSGY7pKl.js} +1 -1
- package/dist/web/assets/{infoDiagram-MVDRKAX5-7bXDS2e8.js → infoDiagram-MVDRKAX5-DhmiocwN.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-HPEHV2GE-Dwg6CK2F.js → ishikawaDiagram-HPEHV2GE-BjyNdqCP.js} +1 -1
- package/dist/web/assets/{journeyDiagram-BOSHW7O7-DNoy6E_l.js → journeyDiagram-BOSHW7O7-C-lIl6WJ.js} +1 -1
- package/dist/web/assets/{kanban-definition-FNSA4HC5-BOAGEtpc.js → kanban-definition-FNSA4HC5-CF66B2jc.js} +1 -1
- package/dist/web/assets/{line-D5__Z7-a.js → line-D_6diFLF.js} +1 -1
- package/dist/web/assets/{linear-BwpBL2bi.js → linear-DSAiNqtQ.js} +1 -1
- package/dist/web/assets/{mermaid-parser.core-Dh1kQWot.js → mermaid-parser.core-PfYmK0PN.js} +3 -3
- package/dist/web/assets/{mermaid.core-I_-4X5xX.js → mermaid.core-ZGIpaR_u.js} +4 -4
- package/dist/web/assets/{mindmap-definition-6OY57UG3-Czo4xfbC.js → mindmap-definition-6OY57UG3-Bf98q_od.js} +1 -1
- package/dist/web/assets/{packet-JDAUHWVQ-B1Tk-YPz.js → packet-JDAUHWVQ-CRwO0ulr.js} +1 -1
- package/dist/web/assets/{pegDiagram-ECIUJNBX-opN3Yw-3.js → pegDiagram-ECIUJNBX-CrDDm1_q.js} +1 -1
- package/dist/web/assets/{pie-XZMESJXO-PTPhpjur.js → pie-XZMESJXO-BVA6DbWJ.js} +1 -1
- package/dist/web/assets/{pieDiagram-GNMPY74T-zO1NGdF7.js → pieDiagram-GNMPY74T-DrI24Zx6.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-D57K4MC3-eoWl0lte.js → quadrantDiagram-D57K4MC3-DvbLkARh.js} +1 -1
- package/dist/web/assets/{radar-ABXABTNO-CL9_kyLl.js → radar-ABXABTNO-DgZlcBBi.js} +1 -1
- package/dist/web/assets/{railroad-I3PHUGI6-DAToCd8H.js → railroad-I3PHUGI6-DjoDwjih.js} +1 -1
- package/dist/web/assets/{railroad-abnf-LNEFI6M7-j9pG6Gat.js → railroad-abnf-LNEFI6M7-B2WpgpxD.js} +1 -1
- package/dist/web/assets/{railroad-ebnf-DWYD2UWJ-CiM5sQUg.js → railroad-ebnf-DWYD2UWJ-DjH9w5qH.js} +1 -1
- package/dist/web/assets/{railroad-peg-JR7BVNR7-C7APIBTP.js → railroad-peg-JR7BVNR7-C4iJp_3o.js} +1 -1
- package/dist/web/assets/{railroadDiagram-Y72NRBL7-DXA0-8Dt.js → railroadDiagram-Y72NRBL7-3shciDcY.js} +1 -1
- package/dist/web/assets/{requirementDiagram-EQYSW5RA-D1PbJ9Cu.js → requirementDiagram-EQYSW5RA-B_8tE4kE.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-SY24JHO5-CSfvmNAq.js → sankeyDiagram-SY24JHO5-7S3oUKwM.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-BLEHNHQU-B1lprETQ.js → sequenceDiagram-BLEHNHQU-BkaHPtPI.js} +1 -1
- package/dist/web/assets/{src-D76sYeGJ.js → src-Cf61Ghsn.js} +1 -1
- package/dist/web/assets/{stateDiagram-v2-A6IESKWZ-BEGC0Sgn.js → stateDiagram-v2-A6IESKWZ-Bz4YZycS.js} +1 -1
- package/dist/web/assets/{swimlanes-B3ENRKFQ-D_JFS6ED.js → swimlanes-B3ENRKFQ-t42pGYLW.js} +1 -1
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-51bo19El.js +8 -0
- package/dist/web/assets/{timeline-definition-JXYKGLGB-Bfk78u4E.js → timeline-definition-JXYKGLGB-DrpygoIO.js} +1 -1
- package/dist/web/assets/{treeView-D4JQ5SDB-B_3xFlyk.js → treeView-D4JQ5SDB-CSy7whA6.js} +1 -1
- package/dist/web/assets/{treemap-SAJKECNS-BZYrffaG.js → treemap-SAJKECNS-CyE4wv9z.js} +1 -1
- package/dist/web/assets/{usecaseDiagram-WPOLBNNX-CXEH2da9.js → usecaseDiagram-WPOLBNNX-CtHB4Swc.js} +1 -1
- package/dist/web/assets/{vennDiagram-Q3Y3IDCW-J67gmeH3.js → vennDiagram-Q3Y3IDCW-m4PGLOXm.js} +1 -1
- package/dist/web/assets/{wardley-7MLQ67FV-DagzfYQE.js → wardley-7MLQ67FV-BvKdICwm.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-IVAIDKWA-CtlWSFS0.js → wardleyDiagram-IVAIDKWA-CjZz1JWc.js} +1 -1
- package/dist/web/assets/{xychartDiagram-4URNHDU4-C-iRO0Sb.js → xychartDiagram-4URNHDU4-CxCBUGKw.js} +1 -1
- package/dist/web/index.html +3 -3
- package/package.json +1 -1
- package/dist/web/assets/channel-Dcw9X94G.js +0 -1
- package/dist/web/assets/dist-CM1-Tp30.js +0 -1
- package/dist/web/assets/dist-DogGhkjl.js +0 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-J6BJoxgh.js +0 -1
- package/dist/web/assets/index-B48NiDFl.css +0 -1
- package/dist/web/assets/index-BBc3hXOj.js +0 -133
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-C-TLQ1Gu.js +0 -8
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-I_-4X5xX.js","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-D76sYeGJ.js","assets/chunk-DSNLSHJZ-CK3bwwQ-.js","assets/chunk-7S6XSTFO-daOCefKF.js","assets/dist-Cihah0nd.js","assets/chunk-YZO67HFG-BdDkz7-r.js","assets/chunk-AQDTSKZB-C_O7jTkL.js","assets/chunk-DUW6YSOI-Dgx8z5s3.js","assets/chunk-UHW7PFBP-d0gZdn-g.js","assets/chunk-HAGFOTED-opIvHyBo.js","assets/chunk-J5ZVWO5B-oDCd-gWO.js","assets/rough.esm-Dy-Kn_BL.js","assets/chunk-ZAUX2LTX-BaIU0CWB.js","assets/chunk-WQQL4CDK-DOuJFSVX.js","assets/line-D5__Z7-a.js","assets/path-fybaL0A-.js","assets/array-BifhSqXX.js","assets/chunk-HNE4Q36P-BL3zDF5M.js","assets/katex-Ngnvt50Q.css","assets/dist-DfBSxfI7.js","assets/dist-CFUj2tCy.js","assets/dist-BruzXrfs.js","assets/dist-Dih0lXFk.js","assets/dist-CubY9gnU.js","assets/dist-T0asI_P_.js","assets/dist-ga2OvaLo.js","assets/dist-DZRwaECR.js","assets/dist-DogGhkjl.js","assets/dist-CuHat3Fb.js","assets/dist-CZwyjOXO.js","assets/dist-BwF8pAVO.js","assets/dist-BgauZQpT.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-CYz0my_F.js","assets/dist-FYTUKDRT.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 x,T as S,U as ee,V as C,W as w,X as te,Y as ne,Z as T,_ as re,_t as ie,a as ae,at as oe,b as se,bt as ce,c as le,ct as E,d as ue,dt as de,et as fe,f as pe,ft as me,g as he,gt as ge,h as _e,ht as ve,i as ye,it as be,j as D,k as O,l as k,lt as xe,m as Se,mt as Ce,n as A,nt as j,o as we,ot as Te,p as Ee,pt as De,q as Oe,r as ke,rt as Ae,s as je,st as Me,t as Ne,tt as Pe,u as Fe,ut as Ie,v as Le,vt as Re,w as ze,wt as Be,x as Ve,xt as He,y as Ue,yt as We,z as Ge}from"./dist-CFUj2tCy.js";var Ke=Object.create,qe=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Ye=Object.getOwnPropertyNames,Xe=Object.getPrototypeOf,Ze=Object.prototype.hasOwnProperty,Qe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),$e=(e,t)=>{let n={};for(var r in e)qe(n,r,{get:e[r],enumerable:!0});return t||qe(n,Symbol.toStringTag,{value:`Module`}),n},et=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Ye(t),a=0,o=i.length,s;a<o;a++)s=i[a],!Ze.call(e,s)&&s!==n&&qe(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Je(t,s))||r.enumerable});return e},tt=(e,t,n)=>(n=e==null?{}:Ke(Xe(e)),et(t||!e||!e.__esModule||!Ze.call(e,`default`)?qe(n,`default`,{value:e,enumerable:!0}):n,e)),nt=(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 rt=Qe((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 x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,T());else{var t=n(l);t!==null&&ae(x,t.startTime-e)}}}var S=!1,ee=-1,C=5,w=-1;function te(){return g?!0:!(e.unstable_now()-w<C)}function ne(){if(g=!1,S){var t=e.unstable_now();w=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(ee),ee=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&te());){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&&ae(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?T():S=!1}}}var T;if(typeof y==`function`)T=function(){y(ne)};else if(typeof MessageChannel<`u`){var re=new MessageChannel,ie=re.port2;re.port1.onmessage=ne,T=function(){ie.postMessage(null)}}else T=function(){_(ne,0)};function ae(t,n){ee=_(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`):C=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(ee),ee=-1):h=!0,ae(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,T()))),r},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),it=Qe(((e,t)=>{t.exports=rt()})),at=Qe((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 x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var ee=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},te=Object.prototype.hasOwnProperty;function ne(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function T(e,t){return ne(e.type,t,e.props)}function re(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ie(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ae=/\/+/g;function oe(e,t){return typeof e==`object`&&e&&e.key!=null?ie(``+e.key):t.toString(36)}function se(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(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 ce(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,ce(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+oe(e,0):a,ee(o)?(i=``,c!=null&&(i=c.replace(ae,`$&/`)+`/`),ce(o,r,i,``,function(e){return e})):o!=null&&(re(o)&&(o=T(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ae,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(ee(e))for(var u=0;u<e.length;u++)a=e[u],s=l+oe(a,u),c+=ce(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+oe(a,u++),c+=ce(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return ce(se(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 le(e,t,n){if(e==null)return e;var r=[],i=0;return ce(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function E(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 ue=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 de(e){var t=w.T,n={};n.types=t===null?null:t.types,w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,ue)}catch(e){ue(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}}function fe(e){var t=w.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else de(fe.bind(null,e))}var pe={map:le,forEach:function(e,t,n){le(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return le(e,function(){t++}),t},toArray:function(e){return le(e,function(e){return e})||[]},only:function(e){if(!re(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=pe,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.addTransitionType=fe,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)!te.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 ne(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)te.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 ne(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=re,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:E}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=de,e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.3.1`})),ot=Qe(((e,t)=>{t.exports=at()})),st=Qe((e=>{var t=ot();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`})),ct=Qe(((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=st()})),lt=Qe((e=>{var t=it(),n=ot(),r=ct();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 x(e,t,n){return e===n?(y=e,!1):e===t&&(y!==null&&(v=e),!0)}function S(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 ee(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 C=Object.assign,w=Symbol.for(`react.element`),te=Symbol.for(`react.transitional.element`),ne=Symbol.for(`react.portal`),T=Symbol.for(`react.fragment`),re=Symbol.for(`react.strict_mode`),ie=Symbol.for(`react.profiler`),ae=Symbol.for(`react.consumer`),oe=Symbol.for(`react.context`),se=Symbol.for(`react.forward_ref`),ce=Symbol.for(`react.suspense`),le=Symbol.for(`react.suspense_list`),E=Symbol.for(`react.memo`),ue=Symbol.for(`react.lazy`),de=Symbol.for(`react.activity`),fe=Symbol.for(`react.legacy_hidden`),pe=Symbol.for(`react.memo_cache_sentinel`),me=Symbol.for(`react.view_transition`),he=Symbol.for(`react.recoverable`),ge=Symbol.iterator;function _e(e){return typeof e!=`object`||!e?null:(e=ge&&e[ge]||e[`@@iterator`],typeof e==`function`?e:null)}var ve=Symbol.for(`react.client.reference`);function ye(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ve?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case T:return`Fragment`;case ie:return`Profiler`;case re:return`StrictMode`;case ce:return`Suspense`;case le:return`SuspenseList`;case de:return`Activity`;case me:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case ne:return`Portal`;case oe:return e.displayName||`Context`;case ae:return(e._context.displayName||`Context`)+`.Consumer`;case se:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case E:return t=e.displayName||null,t===null?ye(e.type)||`Memo`:t;case ue:t=e._payload,e=e._init;try{return ye(e(t))}catch{}}return null}var be=Array.isArray,D=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},xe=[],Se=-1;function Ce(e){return{current:e}}function A(e){0>Se||(e.current=xe[Se],xe[Se]=null,Se--)}function j(e,t){Se++,xe[Se]=e.current,e.current=t}var we=Ce(null),Te=Ce(null),Ee=Ce(null),De=Ce(null);function Oe(e,t){switch(j(Ee,t),j(Te,e),j(we,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?mp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=mp(t),e=hp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}A(we),j(we,e)}function ke(){A(we),A(Te),A(Ee)}function Ae(e){var t=e.memoizedState;t!==null&&(uh._currentValue=t.memoizedState,j(De,e)),t=we.current;var n=hp(t,e.type);t!==n&&(j(Te,e),j(we,n))}function je(e){Te.current===e&&(A(we),A(Te)),De.current===e&&(A(De),uh._currentValue=k)}var Me,Ne;function Pe(e){if(Me===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Me=t&&t[1]||``,Ne=-1<e.stack.indexOf(`
|
|
3
|
-
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
4
|
-
`+Me+e+Ne}var Fe=!1;function Ie(e,t){if(!e||Fe)return``;Fe=!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{Fe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Pe(n):``}function Le(e,t){switch(e.tag){case 26:case 27:case 5:return Pe(e.type);case 16:return Pe(`Lazy`);case 13:return e.child!==t&&t!==null?Pe(`Suspense Fallback`):Pe(`Suspense`);case 19:return Pe(`SuspenseList`);case 0:case 15:return Ie(e.type,!1);case 11:return Ie(e.type.render,!1);case 1:return Ie(e.type,!0);case 31:return Pe(`Activity`);case 30:return Pe(`ViewTransition`);default:return``}}function Re(e){try{var t=``,n=null;do t+=Le(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
8
|
-
Error generating stack: `+e.message+`
|
|
9
|
-
`+e.stack}}var ze=Object.prototype.hasOwnProperty,Be=t.unstable_scheduleCallback,Ve=t.unstable_cancelCallback,He=t.unstable_shouldYield,Ue=t.unstable_requestPaint,We=t.unstable_now,Ge=t.unstable_getCurrentPriorityLevel,Ke=t.unstable_ImmediatePriority,qe=t.unstable_UserBlockingPriority,Je=t.unstable_NormalPriority,Ye=t.unstable_LowPriority,Xe=t.unstable_IdlePriority,Ze=t.log,Qe=t.unstable_setDisableYieldValue,$e=null,et=null;function tt(e){if(typeof Ze==`function`&&Qe(e),et&&typeof et.setStrictMode==`function`)try{et.setStrictMode($e,e)}catch{}}var nt=Math.clz32?Math.clz32:st,rt=Math.log,at=Math.LN2;function st(e){return e>>>=0,e===0?32:31-(rt(e)/at|0)|0}var lt=256,ut=262144,dt=4194304;function ft(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 pt(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=ft(n))):i=ft(o):i=ft(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=ft(n))):i=ft(o)):i=ft(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 mt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ht(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-nt(n),i=1<<r;t|=e[r],n&=~i}return t}function gt(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 _t(){var e=dt;return dt<<=1,!(dt&62914560)&&(dt=4194304),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function bt(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-nt(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&&M(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function M(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-nt(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function xt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-nt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function St(e,t){var n=t&-t;return n=n&42?1:Ct(n),(n&(e.suspendedLanes|t))===0?n:0}function Ct(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 N(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function wt(){var e=O.p;return e===0?(e=window.event,e===void 0?32:Eh(e.type)):e}function Tt(e,t){var n=O.p;try{return O.p=e,t()}finally{O.p=n}}var Et=Math.random().toString(36).slice(2),Dt=`__reactFiber$`+Et,Ot=`__reactProps$`+Et,kt=`__reactContainer$`+Et,At=`__reactEvents$`+Et,jt=`__reactListeners$`+Et,Mt=`__reactHandles$`+Et,Nt=`__reactResources$`+Et,Pt=`__reactMarker$`+Et,Ft=`__reactLoad$`+Et;function It(e){delete e[Dt],delete e[Ot],delete e[jt],delete e[Mt]}function Lt(e){var t;if(t=e[Dt])return t;for(var n=e.parentNode;n;){if(t=n[kt]||n[Dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=hm(e);e!==null;){if(n=e[Dt])return n;e=hm(e)}return t}e=n,n=e.parentNode}return null}function Rt(e){if(e=e[Dt]||e[kt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function zt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Bt(e){var t=e[Nt];return t||=e[Nt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Vt(e){e[Pt]=!0}function Ht(e){e[Ft]=void 0}var Ut=new Set,Wt={};function Gt(e,t){Kt(e,t),Kt(e+`Capture`,t)}function Kt(e,t){for(Wt[e]=t,e=0;e<t.length;e++)Ut.add(t[e])}var qt=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]*$`),Jt={},Yt={};function Xt(e){return ze.call(Yt,e)?!0:ze.call(Jt,e)?!1:qt.test(e)?Yt[e]=!0:(Jt[e]=!0,!1)}var P=!1;function Zt(){var e=P;return P=!1,e}function Qt(e,t,n){if(Xt(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 $t(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 en(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 tn(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function nn(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function rn(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 an(e){if(!e._valueTracker){var t=nn(e)?`checked`:`value`;e._valueTracker=rn(e,t,``+e[t])}}function on(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=nn(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var sn=/[\n"\\]/g;function cn(e){return e.replace(sn,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function ln(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=``+tn(t)):e.value!==``+tn(t)&&(e.value=``+tn(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):dn(e,tn(n)):o===`number`&&e.value==t?dn(e,tn(e.value)):dn(e,tn(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=``+tn(s):e.removeAttribute(`name`)}function un(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)){an(e);return}n=n==null?``:``+tn(n),t=t==null?n:``+tn(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),an(e)}function dn(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function fn(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=``+tn(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 pn(e,t,n){t!=null&&(t=``+tn(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+tn(n)}function mn(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(be(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=tn(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),an(e)}function hn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var gn=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 _n(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||gn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function vn(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]=``,P=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(_n(e,a,r),P=!0)}else for(var o in t)t.hasOwnProperty(o)&&_n(e,o,t[o])}function yn(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 bn=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`]]),xn=/^[\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 Sn(e){return xn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Cn(){}var wn=null;function Tn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var En=null,Dn=null;function On(e){var t=Rt(e);if(t&&(e=t.stateNode)){var n=e[Ot]||null;a:switch(e=t.stateNode,t.type){case`input`:if(ln(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="`+cn(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[Ot]||null;if(!a)throw Error(i(90));ln(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&&on(r)}break a;case`textarea`:pn(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&fn(e,!!n.multiple,t,!1)}}}var kn=!1;function An(e,t,n){if(kn)return e(t,n);kn=!0;try{return e(t)}finally{if(kn=!1,(En!==null||Dn!==null)&&(Wd(),En&&(t=En,e=Dn,Dn=En=null,On(t),e)))for(t=0;t<e.length;t++)On(e[t])}}function jn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Ot]||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 Mn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Nn=!1;if(Mn)try{var Pn={};Object.defineProperty(Pn,"passive",{get:function(){Nn=!0}}),window.addEventListener(`test`,Pn,Pn),window.removeEventListener(`test`,Pn,Pn)}catch{Nn=!1}var Fn=null,In=null,Ln=null;function Rn(){if(Ln)return Ln;var e,t=In,n=t.length,r,i=`value`in Fn?Fn.value:Fn.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 Ln=i.slice(e,1<r?1-r:void 0)}function zn(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 Bn(){return!0}function Vn(){return!1}function Hn(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)?Bn:Vn,this.isPropagationStopped=Vn,this}return C(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=Bn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Bn)},persist:function(){},isPersistent:Bn}),t}var Un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wn=Hn(Un),Gn=C({},Un,{view:0,detail:0}),Kn=Hn(Gn),qn,Jn,Yn,Xn=C({},Gn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sr,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!==Yn&&(Yn&&e.type===`mousemove`?(qn=e.screenX-Yn.screenX,Jn=e.screenY-Yn.screenY):Jn=qn=0,Yn=e),qn)},movementY:function(e){return`movementY`in e?e.movementY:Jn}}),Zn=Hn(Xn),Qn=Hn(C({},Xn,{dataTransfer:0})),$n=Hn(C({},Gn,{relatedTarget:0})),er=Hn(C({},Un,{animationName:0,elapsedTime:0,pseudoElement:0})),tr=Hn(C({},Un,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),nr=Hn(C({},Un,{data:0})),rr={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},ir={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`},ar={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function or(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ar[e])?!!t[e]:!1}function sr(){return or}var cr=Hn(C({},Gn,{key:function(e){if(e.key){var t=rr[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=zn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?ir[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sr,charCode:function(e){return e.type===`keypress`?zn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?zn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),lr=Hn(C({},Xn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ur=Hn(C({},Un,{submitter:0})),dr=Hn(C({},Gn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sr})),fr=Hn(C({},Un,{propertyName:0,elapsedTime:0,pseudoElement:0})),pr=Hn(C({},Xn,{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})),mr=Hn(C({},Un,{newState:0,oldState:0,source:0})),hr=[9,13,27,32],gr=Mn&&`CompositionEvent`in window,_r=null;Mn&&`documentMode`in document&&(_r=document.documentMode);var vr=Mn&&`TextEvent`in window&&!_r,yr=Mn&&(!gr||_r&&8<_r&&11>=_r),br=` `,xr=!1;function Sr(e,t){switch(e){case`keyup`:return hr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Cr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var wr=!1;function Tr(e,t){switch(e){case`compositionend`:return Cr(t);case`keypress`:return t.which===32?(xr=!0,br):null;case`textInput`:return e=t.data,e===br&&xr?null:e;default:return null}}function Er(e,t){if(wr)return e===`compositionend`||!gr&&Sr(e,t)?(e=Rn(),Ln=In=Fn=null,wr=!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 yr&&t.locale!==`ko`?null:t.data;default:return null}}var Dr={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 F(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Dr[e.type]:t===`textarea`}function Or(e,t,n,r){En?Dn?Dn.push(r):Dn=[r]:En=r,t=Qf(t,`onChange`),0<t.length&&(n=new Wn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var I=null,kr=null;function Ar(e){Gf(e,0)}function jr(e){if(on(zt(e)))return e}function Mr(e,t){if(e===`change`)return t}var Nr=!1;if(Mn){var Pr;if(Mn){var Fr=`oninput`in document;if(!Fr){var Ir=document.createElement(`div`);Ir.setAttribute(`oninput`,`return;`),Fr=typeof Ir.oninput==`function`}Pr=Fr}else Pr=!1;Nr=Pr&&(!document.documentMode||9<document.documentMode)}function Lr(){I&&(I.detachEvent(`onpropertychange`,Rr),kr=I=null)}function Rr(e){if(e.propertyName===`value`&&jr(kr)){var t=[];Or(t,kr,e,Tn(e)),An(Ar,t)}}function zr(e,t,n){e===`focusin`?(Lr(),I=t,kr=n,I.attachEvent(`onpropertychange`,Rr)):e===`focusout`&&Lr()}function Br(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return jr(kr)}function Vr(e,t){if(e===`click`)return jr(t)}function Hr(e,t){if(e===`input`||e===`change`)return jr(t)}function Ur(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Wr=typeof Object.is==`function`?Object.is:Ur;function Gr(e,t){if(Wr(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(!ze.call(t,i)||!Wr(e[i],t[i]))return!1}return!0}function Kr(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 qr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jr(e,t){var n=qr(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=qr(n)}}function Yr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kr(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=Kr(e.document)}return t}function Zr(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 Qr=Mn&&`documentMode`in document&&11>=document.documentMode,$r=null,ei=null,ti=null,ni=!1;function ri(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ni||$r==null||$r!==Kr(r)||(r=$r,`selectionStart`in r&&Zr(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}),ti&&Gr(ti,r)||(ti=r,r=Qf(ei,`onSelect`),0<r.length&&(t=new Wn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=$r)))}function ii(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var ai={animationend:ii(`Animation`,`AnimationEnd`),animationiteration:ii(`Animation`,`AnimationIteration`),animationstart:ii(`Animation`,`AnimationStart`),transitionrun:ii(`Transition`,`TransitionRun`),transitionstart:ii(`Transition`,`TransitionStart`),transitioncancel:ii(`Transition`,`TransitionCancel`),transitionend:ii(`Transition`,`TransitionEnd`)},oi={},si={};Mn&&(si=document.createElement(`div`).style,`AnimationEvent`in window||(delete ai.animationend.animation,delete ai.animationiteration.animation,delete ai.animationstart.animation),`TransitionEvent`in window||delete ai.transitionend.transition);function ci(e){if(oi[e])return oi[e];if(!ai[e])return e;var t=ai[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in si)return oi[e]=t[n];return e}var li=ci(`animationend`),ui=ci(`animationiteration`),di=ci(`animationstart`),fi=ci(`transitionrun`),pi=ci(`transitionstart`),mi=ci(`transitioncancel`),hi=ci(`transitionend`),gi=new Map,_i=`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(` `);_i.push(`scrollEnd`);function vi(e,t){gi.set(e,t),Gt(t,[e])}var yi=0;function bi(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=Td.identifierPrefix;var n=yi++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function xi(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 Si(e,t){return e=xi(e),t=xi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var Ci=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)},wi=[],Ti=0,Ei=0;function Di(){for(var e=Ti,t=Ei=Ti=0;t<e;){var n=wi[t];wi[t++]=null;var r=wi[t];wi[t++]=null;var i=wi[t];wi[t++]=null;var a=wi[t];if(wi[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&&ji(n,i,a)}}function Oi(e,t,n,r){wi[Ti++]=e,wi[Ti++]=t,wi[Ti++]=n,wi[Ti++]=r,Ei|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ki(e,t,n,r){return Oi(e,t,n,r),Mi(e)}function Ai(e,t){return Oi(e,null,null,t),Mi(e)}function ji(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-nt(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Mi(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 Ni={};function Pi(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 Fi(e,t,n,r){return new Pi(e,t,n,r)}function Ii(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Li(e,t){var n=e.alternate;return n===null?(n=Fi(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 Ri(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 zi(e,t,n,r,a,o){var s=0;if(r=e,typeof r==`function`)Ii(r)&&(s=1);else if(typeof r==`string`)s=Xm(e,n,we.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case de:return e=Fi(31,n,t,a),e.elementType=de,e.lanes=o,e;case T:return Bi(n.children,a,o,t);case re:s=8,a|=24;break;case ie:return e=Fi(12,n,t,a|2),e.elementType=ie,e.lanes=o,e;case ce:return e=Fi(13,n,t,a),e.elementType=ce,e.lanes=o,e;case le:return e=Fi(19,n,t,a),e.elementType=le,e.lanes=o,e;case fe:case me:return e=a|32,e=Fi(30,n,t,e),e.elementType=me,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case oe:s=10;break a;case ae:s=9;break a;case se:s=11;break a;case E:s=14;break a;case ue:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=Fi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Bi(e,t,n,r){return e=Fi(7,e,r,t),e.lanes=n,e}function Vi(e,t,n){return e=Fi(6,e,null,t),e.lanes=n,e}function Hi(e){var t=Fi(18,null,null,0);return t.stateNode=e,t}function Ui(e,t,n){return t=Fi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wi=new WeakMap;function Gi(e,t){if(typeof e==`object`&&e){var n=Wi.get(e);return n===void 0?(t={value:e,source:t,stack:Re(t)},Wi.set(e,t),t):n}return{value:e,source:t,stack:Re(t)}}var Ki=[],qi=0,Ji=null,Yi=0,Xi=[],Zi=0,Qi=null,$i=1,ea=``;function ta(e,t){Ki[qi++]=Yi,Ki[qi++]=Ji,Ji=e,Yi=t}function na(e,t,n){Xi[Zi++]=$i,Xi[Zi++]=ea,Xi[Zi++]=Qi,Qi=e;var r=$i;e=ea;var i=32-nt(r)-1;r&=~(1<<i),n+=1;var a=32-nt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,$i=1<<32-nt(t)+i|n<<i|r,ea=a+e}else $i=1<<a|n<<i|r,ea=e}function ra(e){e.return!==null&&(ta(e,1),na(e,1,0))}function ia(e){for(;e===Ji;)Ji=Ki[--qi],Ki[qi]=null,Yi=Ki[--qi],Ki[qi]=null;for(;e===Qi;)Qi=Xi[--Zi],Xi[Zi]=null,ea=Xi[--Zi],Xi[Zi]=null,$i=Xi[--Zi],Xi[Zi]=null}function aa(e,t){Xi[Zi++]=$i,Xi[Zi++]=ea,Xi[Zi++]=Qi,$i=t.id,ea=t.overflow,Qi=e}var oa=null,sa=null,L=!1,ca=null,la=!1,ua=Error(i(519));function da(e){throw _a(Gi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),ua}function fa(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Dt]=e,t[Ot]=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),un(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),mn(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||ip(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=Cn),t=!0):t=!1,t||da(e,!0)}function pa(e){for(oa=e.return;oa;)switch(oa.tag){case 5:case 31:case 13:la=!1;return;case 27:case 3:la=!0;return;default:oa=oa.return}}function ma(e){if(e!==oa)return!1;if(!L)return pa(e),L=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||_p(e.type,e.memoizedProps)),n=!n),n&&sa&&da(e),pa(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));sa=mm(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));sa=mm(e)}else t===27?(t=sa,Tp(e.type)?(e=pm,pm=null,sa=e):sa=t):sa=oa?fm(e.stateNode.nextSibling):null;return!0}function ha(){sa=oa=null,L=!1}function ga(){var e=ca;return e!==null&&(_d===null?_d=e:_d.push.apply(_d,e),ca=null),e}function _a(e){ca===null?ca=[e]:ca.push(e)}var va=Ce(null),ya=null,ba=null;function xa(e,t,n){j(va,t._currentValue),t._currentValue=n}function Sa(e){e._currentValue=va.current,A(va)}function Ca(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 wa(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),Ca(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),Ca(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),Ca(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 Ta(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;Wr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===De.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&&wa(t,e,n,r),t.flags|=262144,e!==null}function Ea(e){for(e=e.firstContext;e!==null;){if(!Wr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Da(e){ya=e,ba=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Oa(e){return Aa(ya,e)}function ka(e,t){return ya===null&&Da(e),Aa(e,t)}function Aa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ba===null){if(e===null)throw Error(i(308));ba=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ba=ba.next=t;return n}var ja=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()})}},Ma=t.unstable_scheduleCallback,Na=t.unstable_NormalPriority,Pa={$$typeof:oe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fa(){return{controller:new ja,data:new Map,refCount:0}}function Ia(e){e.refCount--,e.refCount===0&&Ma(Na,function(){e.controller.abort()})}function La(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 Ra=null;function za(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Ba=null,Va=0,Ha=0,Ua=null;function Wa(e,t){if(Ba===null){var n=Ba=[];Va=0,Ha=Rf(),Ua={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Va++,t.then(Ga,Ga),t}function Ga(){if(--Va===0&&(Ra=null,Ba!==null)){Ua!==null&&(Ua.status=`fulfilled`);var e=Ba;Ba=null,Ha=0,Ua=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ka(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 qa=D.S;D.S=function(e,t){if(bd=We(),typeof t==`object`&&t&&typeof t.then==`function`&&Wa(e,t),Ra!==null)for(var n=Tf;n!==null;)La(n,Ra),n=n.next;if(n=e.types,n!==null){for(var r=Tf;r!==null;)La(r,n),r=r.next;if(Ha!==0){r=Ra,r===null&&(r=Ra=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}qa!==null&&qa(e,t)};var Ja=Ce(null);function Ya(){var e=Ja.current;return e===null?id.pooledCache:e}function Xa(e,t){t===null?j(Ja,Ja.current):j(Ja,t.pool)}function Za(){var e=Ya();return e===null?null:{parent:Pa._currentValue,pool:e}}var Qa=Error(i(460)),$a=Error(i(474)),eo=Error(i(542)),to={then:function(){}};function no(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ro(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Cn,Cn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,so(e),e===void 0&&!(`reason`in t)?Error(i(600)):e;default:if(typeof t.status==`string`)t.then(Cn,Cn);else{if(e=id,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,so(e),e}throw ao=t,Qa}}function io(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(ao=e,Qa):e}}var ao=null;function oo(){if(ao===null)throw Error(i(459));var e=ao;return ao=null,e}function so(e){if(e===Qa||e===eo)throw Error(i(483))}var co=null,lo=0;function uo(e){var t=lo;return lo+=1,co===null&&(co=[]),ro(co,e,t)}function fo(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function po(e,t){throw t.$$typeof===w?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function mo(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=Li(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=Vi(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===T?(e=d(e,t,n.props.children,r,n.key),fo(e,n),e):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===ue&&io(i)===t.type)?(t=a(t,n.props),fo(t,n),t.return=e,t):(t=zi(n.type,n.key,n.props,null,e.mode,r),fo(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=Ui(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=Bi(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=Vi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case te:return n=zi(t.type,t.key,t.props,null,e.mode,n),fo(n,t),n.return=e,n;case ne:return t=Ui(t,e.mode,n),t.return=e,t;case ue:return t=io(t),f(e,t,n)}if(be(t)||_e(t))return t=Bi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,uo(t),n);if(t.$$typeof===oe)return f(e,ka(e,t),n);po(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 te:return n.key===i?l(e,t,n,r):null;case ne:return n.key===i?u(e,t,n,r):null;case ue:return n=io(n),p(e,t,n,r)}if(be(n)||_e(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,uo(n),r);if(n.$$typeof===oe)return p(e,t,ka(e,n),r);po(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 te:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case ne:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ue:return r=io(r),m(e,t,n,r,i)}if(be(r)||_e(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,uo(r),i);if(r.$$typeof===oe)return m(e,t,n,ka(t,r),i);po(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),L&&ta(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 L&&ta(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)}),L&&ta(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),L&&ta(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 L&&ta(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)}),L&&ta(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===T&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case te:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===T){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),fo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ue&&io(l)===r.type){n(e,r.sibling),c=a(r,o.props),fo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===T?(c=Bi(o.props.children,e.mode,c,o.key),fo(c,o),c.return=e,e=c):(c=zi(o.type,o.key,o.props,null,e.mode,c),fo(c,o),c.return=e,e=c)}return s(e);case ne: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=Ui(o,e.mode,c),c.return=e,e=c}return s(e);case ue:return o=io(o),_(e,r,o,c)}if(be(o))return h(e,r,o,c);if(_e(o)){if(l=_e(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,uo(o),c);if(o.$$typeof===oe)return _(e,r,ka(e,o),c);po(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=Vi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{lo=0;var i=_(e,t,n,r);return co=null,i}catch(t){if(t===Qa||t===eo)throw t;var a=Fi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var ho=mo(!0),go=mo(!1),_o=!1;function vo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yo(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 bo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function xo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Mi(e),ji(e,null,n),t}return Oi(e,r,t,n),Mi(e)}function So(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,xt(e,n)}}function Co(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 wo=!1;function To(){if(wo){var e=Ua;if(e!==null)throw e}}function Eo(e,t,n,r){wo=!1;var i=e.updateQueue;_o=!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===Ha&&(wo=!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=C({},d,f);break a;case 2:_o=!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 Do(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Oo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Do(n[e],t)}var ko=Ce(null),Ao=Ce(0);function jo(e,t){e=ld,j(Ao,e),j(ko,t),ld=e|t.baseLanes}function Mo(){j(Ao,ld),j(ko,ko.current)}function No(){ld=Ao.current,A(ko),A(Ao)}var Po=Ce(null),Fo=null;function Io(e){var t=e.alternate;j(Vo,Vo.current&1),j(Po,e),Fo===null&&(t===null||ko.current!==null||t.memoizedState!==null)&&(Fo=e)}function Lo(e){j(Vo,Vo.current),j(Po,e),Fo===null&&(Fo=e)}function Ro(e){e.tag===22?(j(Vo,Vo.current),j(Po,e),Fo===null&&(Fo=e)):zo()}function zo(){j(Vo,Vo.current),j(Po,Po.current)}function Bo(e){A(Po),Fo===e&&(Fo=null),A(Vo)}var Vo=Ce(0);function Ho(e,t){j(Po,Po.current),j(Vo,t)}function Uo(e){A(Vo),A(Po),Fo===e&&(Fo=null)}function Wo(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 Go=0,R=null,Ko=null,qo=null,Jo=!1,Yo=!1,Xo=!1,Zo=0,Qo=0,$o=null,es=0;function ts(){throw Error(i(321))}function ns(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wr(e[n],t[n]))return!1;return!0}function rs(e,t,n,r,i,a){return Go=a,R=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?yc:bc,Xo=!1,a=n(r,i),Xo=!1,Yo&&(a=as(t,n,r,i)),is(e),a}function is(e){D.H=vc;var t=Ko!==null&&Ko.next!==null;if(Go=0,qo=Ko=R=null,Jo=!1,Qo=0,$o=null,t)throw Error(i(300));e===null||Lc||(e=e.dependencies,e!==null&&Ea(e)&&(Lc=!0))}function as(e,t,n,r){R=e;var a=0;do{if(Yo&&($o=null),Qo=0,Yo=!1,25<=a)throw Error(i(301));if(a+=1,qo=Ko=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}D.H=xc,o=t(n,r)}while(Yo);return o}function os(){var e=D.H,t=e.useState()[0];return t=typeof t.then==`function`?ps(t):t,e=e.useState()[0],(Ko===null?null:Ko.memoizedState)!==e&&(R.flags|=1024),t}function ss(){var e=Zo!==0;return Zo=0,e}function cs(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ls(e){if(Jo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Jo=!1}Go=0,qo=Ko=R=null,Yo=!1,Qo=Zo=0,$o=null}function us(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qo===null?R.memoizedState=qo=e:qo=qo.next=e,qo}function ds(){if(Ko===null){var e=R.alternate;e=e===null?null:e.memoizedState}else e=Ko.next;var t=qo===null?R.memoizedState:qo.next;if(t!==null)qo=t,Ko=e;else{if(e===null)throw R.alternate===null?Error(i(467)):Error(i(310));Ko=e,e={memoizedState:Ko.memoizedState,baseState:Ko.baseState,baseQueue:Ko.baseQueue,queue:Ko.queue,next:null},qo===null?R.memoizedState=qo=e:qo=qo.next=e}return qo}function fs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ps(e){var t=Qo;return Qo+=1,$o===null&&($o=[]),e=ro($o,e,t),t=R,(qo===null?t.memoizedState:qo.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?yc:bc),e}function ms(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ps(e);if(e.$$typeof===he)return;if(e.$$typeof===oe)return Oa(e)}throw Error(i(438,String(e)))}function hs(e){var t=null,n=R.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=R.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=fs(),R.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]=pe;return t.index++,n}function gs(e,t){return typeof t==`function`?t(e):t}function _s(e){return vs(ds(),Ko,e)}function vs(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?(Go&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===Ha&&(d=!0);else if((Go&p)===p){u=u.next,p===Ha&&(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,R.lanes|=p,dd|=p;f=u.action,Xo&&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,R.lanes|=f,dd|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Wr(o,e.memoizedState)&&(Lc=!0,d&&(n=Ua,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 ys(e){var t=ds(),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);Wr(o,t.memoizedState)||(Lc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function z(e,t,n){var r=R,a=ds(),o=L;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Wr((Ko||a).memoizedState,n);if(s&&(a.memoizedState=n,Lc=!0),a=a.queue,Ws(Ss.bind(null,r,a,e),[e]),e=a.getSnapshot!==t||s||qo!==null&&!!(qo.memoizedState.tag&1),zs(e?9:8,{destroy:void 0},xs.bind(null,r,a,n,t),null),e){if(r.flags|=2048,id===null)throw Error(i(349));o||Go&127||bs(r,t,n)}return n}function bs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=R.updateQueue,t===null?(t=fs(),R.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function xs(e,t,n,r){t.value=n,t.getSnapshot=r,Cs(t)&&ws(e)}function Ss(e,t,n){return n(function(){Cs(t)&&ws(e)})}function Cs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Wr(e,n)}catch{return!0}}function ws(e){var t=Ai(e,2);t!==null&&zd(t,e,2)}function Ts(e){var t=us();if(typeof e==`function`){var n=e;if(e=n(),Xo){tt(!0);try{n()}finally{tt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:e},t}function Es(e,t,n,r){return e.baseState=n,vs(e,Ko,typeof r==`function`?r:gs)}function Ds(e,t,n,r,a){if(hc(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)}};D.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Os(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Os(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=D.T,o={};o.types=a===null?null:a.types,D.T=o;try{var s=n(i,r),c=D.S;c!==null&&c(o,s),ks(e,t,s)}catch(n){js(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),D.T=a}}else try{a=n(i,r),ks(e,t,a)}catch(n){js(e,t,n)}}function ks(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){As(e,t,n)},function(n){return js(e,t,n)}):As(e,t,n)}function As(e,t,n){t.status=`fulfilled`,t.value=n,Ms(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Os(e,n)))}function js(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Ms(t),t=t.next;while(t!==r)}e.action=null}function Ms(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ns(e,t){return t}function Ps(e,t){if(L){var n=id.formState;if(n!==null){a:{var r=R;if(L){if(sa){b:{for(var i=sa,a=la;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){sa=fm(i.nextSibling),r=i.data===`F!`;break a}}da(r)}r=!1}r&&(t=n[0])}}return n=us(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ns,lastRenderedState:t},n.queue=r,n=fc.bind(null,R,r),r.dispatch=n,r=Ts(!1),a=mc.bind(null,R,!1,r.queue),r=us(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ds.bind(null,R,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Fs(e){return Is(ds(),Ko,e)}function Is(e,t,n){if(t=vs(e,t,Ns)[0],e=_s(gs)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ps(t)}catch(e){throw e===Qa?eo:e}else r=t;t=ds();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(R.flags|=2048,zs(9,{destroy:void 0},Ls.bind(null,i,n),null)),[r,a,e]}function Ls(e,t){e.action=t}function Rs(e){var t=ds(),n=Ko;if(n!==null)return Is(t,n,e);ds(),t=t.memoizedState,n=ds();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function zs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=R.updateQueue,t===null&&(t=fs(),R.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 Bs(){return ds().memoizedState}function Vs(e,t,n,r){var i=us();R.flags|=e,i.memoizedState=zs(1|t,{destroy:void 0},n,r===void 0?null:r)}function Hs(e,t,n,r){var i=ds();r=r===void 0?null:r;var a=i.memoizedState.inst;Ko!==null&&r!==null&&ns(r,Ko.memoizedState.deps)?i.memoizedState=zs(t,a,n,r):(R.flags|=e,i.memoizedState=zs(1|t,a,n,r))}function Us(e,t){Vs(8390656,8,e,t)}function Ws(e,t){Hs(2048,8,e,t)}function Gs(e){R.flags|=4;var t=R.updateQueue;if(t===null)t=fs(),R.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ks(e){var t=ds().memoizedState;return Gs({ref:t,nextImpl:e}),function(){if(H&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function qs(e,t){return Hs(4,2,e,t)}function Js(e,t){return Hs(4,4,e,t)}function Ys(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 Xs(e,t,n){n=n==null?null:n.concat([e]),Hs(4,4,Ys.bind(null,t,e),n)}function Zs(){}function Qs(e,t){var n=ds();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&ns(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $s(e,t){var n=ds();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&ns(t,r[1]))return r[0];if(r=e(),Xo){tt(!0);try{e()}finally{tt(!1)}}return n.memoizedState=[r,t],r}function ec(e,t,n){return n===void 0||Go&1073741824&&!(W&261930)?e.memoizedState=t:(e.memoizedState=n,e=Ld(),R.lanes|=e,dd|=e,n)}function tc(e,t,n,r){return Wr(n,t)?n:ko.current===null?!(Go&106)||Go&1073741824&&!(W&261930)?(Lc=!0,e.memoizedState=n):(e=Ld(),R.lanes|=e,dd|=e,t):(e=ec(e,n,r),Wr(e,t)||(Lc=!0),e)}function nc(e,t,n,r,i){var a=O.p;O.p=a!==0&&8>a?a:8;var o=D.T,s={};s.types=o===null?null:o.types,D.T=s,mc(e,!1,t,n);try{var c=i(),l=D.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?pc(e,t,Ka(c,r),Id(e)):pc(e,t,r,Id(e))}catch(n){pc(e,t,{then:function(){},status:`rejected`,reason:n},Id())}finally{O.p=a,o!==null&&s.types!==null&&(o.types=s.types),D.T=o}}function rc(){}function ic(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ac(e).queue;nc(e,a,t,k,n===null?rc:function(){return oc(e),n(r)})}function ac(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:k},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function oc(e){var t=ac(e);t.next===null&&(t=e.alternate.memoizedState),pc(e,t.next.queue,{},Id())}function sc(){return Oa(uh)}function cc(){return ds().memoizedState}function lc(){return ds().memoizedState}function uc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Id();e=bo(n);var r=xo(t,e,n);r!==null&&(zd(r,t,n),So(r,t,n)),t={cache:Fa()},e.payload=t;return}t=t.return}}function dc(e,t,n){var r=Id();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},hc(e)?gc(t,n):(n=ki(e,t,n,r),n!==null&&(zd(n,e,r),_c(n,t,r)))}function fc(e,t,n){pc(e,t,n,Id())}function pc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(hc(e))gc(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,Wr(s,o))return Oi(e,t,i,0),id===null&&Di(),!1}catch{}if(n=ki(e,t,i,r),n!==null)return zd(n,e,r),_c(n,t,r),!0}return!1}function mc(e,t,n,r){if(r={lane:2,revertLane:Rf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},hc(e)){if(t)throw Error(i(479))}else t=ki(e,n,r,2),t!==null&&zd(t,e,2)}function hc(e){var t=e.alternate;return e===R||t!==null&&t===R}function gc(e,t){Yo=Jo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _c(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}var vc={readContext:Oa,use:ms,useCallback:ts,useContext:ts,useEffect:ts,useImperativeHandle:ts,useLayoutEffect:ts,useInsertionEffect:ts,useMemo:ts,useReducer:ts,useRef:ts,useState:ts,useDebugValue:ts,useDeferredValue:ts,useTransition:ts,useSyncExternalStore:ts,useId:ts,useHostTransitionStatus:ts,useFormState:ts,useActionState:ts,useOptimistic:ts,useMemoCache:ts,useCacheRefresh:ts,useEffectEvent:ts},yc={readContext:Oa,use:ms,useCallback:function(e,t){return us().memoizedState=[e,t===void 0?null:t],e},useContext:Oa,useEffect:Us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Vs(4194308,4,Ys.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vs(4194308,4,e,t)},useInsertionEffect:function(e,t){Vs(4,2,e,t)},useMemo:function(e,t){var n=us();t=t===void 0?null:t;var r=e();if(Xo){tt(!0);try{e()}finally{tt(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=us();if(n!==void 0){var i=n(t);if(Xo){tt(!0);try{n(t)}finally{tt(!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=dc.bind(null,R,e),[r.memoizedState,e]},useRef:function(e){var t=us();return e={current:e},t.memoizedState=e},useState:function(e){e=Ts(e);var t=e.queue,n=fc.bind(null,R,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Zs,useDeferredValue:function(e,t){return ec(us(),e,t)},useTransition:function(){var e=Ts(!1);return e=nc.bind(null,R,e.queue,!0,!1),us().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=R,a=us();if(L){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),id===null)throw Error(i(349));W&127||bs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Us(Ss.bind(null,r,o,e),[e]),r.flags|=2048,zs(9,{destroy:void 0},xs.bind(null,r,o,n,t),null),n},useId:function(){var e=us(),t=id.identifierPrefix;if(L){var n=ea,r=$i;n=(r&~(1<<32-nt(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Zo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=es++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:sc,useFormState:Ps,useActionState:Ps,useOptimistic:function(e){var t=us();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=mc.bind(null,R,!0,n),n.dispatch=t,[e,t]},useMemoCache:hs,useCacheRefresh:function(){return us().memoizedState=uc.bind(null,R)},useEffectEvent:function(e){var t=us(),n={impl:e};return t.memoizedState=n,function(){if(H&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},bc={readContext:Oa,use:ms,useCallback:Qs,useContext:Oa,useEffect:Ws,useImperativeHandle:Xs,useInsertionEffect:qs,useLayoutEffect:Js,useMemo:$s,useReducer:_s,useRef:Bs,useState:function(){return _s(gs)},useDebugValue:Zs,useDeferredValue:function(e,t){return tc(ds(),Ko.memoizedState,e,t)},useTransition:function(){var e=_s(gs)[0],t=ds().memoizedState;return[typeof e==`boolean`?e:ps(e),t]},useSyncExternalStore:z,useId:cc,useHostTransitionStatus:sc,useFormState:Fs,useActionState:Fs,useOptimistic:function(e,t){return Es(ds(),Ko,e,t)},useMemoCache:hs,useCacheRefresh:lc,useEffectEvent:Ks},xc={readContext:Oa,use:ms,useCallback:Qs,useContext:Oa,useEffect:Ws,useImperativeHandle:Xs,useInsertionEffect:qs,useLayoutEffect:Js,useMemo:$s,useReducer:ys,useRef:Bs,useState:function(){return ys(gs)},useDebugValue:Zs,useDeferredValue:function(e,t){var n=ds();return Ko===null?ec(n,e,t):tc(n,Ko.memoizedState,e,t)},useTransition:function(){var e=ys(gs)[0],t=ds().memoizedState;return[typeof e==`boolean`?e:ps(e),t]},useSyncExternalStore:z,useId:cc,useHostTransitionStatus:sc,useFormState:Rs,useActionState:Rs,useOptimistic:function(e,t){var n=ds();return Ko===null?(n.baseState=e,[e,n.queue.dispatch]):Es(n,Ko,e,t)},useMemoCache:hs,useCacheRefresh:lc,useEffectEvent:Ks};function Sc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:C({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Id(),i=bo(r);i.payload=t,n!=null&&(i.callback=n),t=xo(e,i,r),t!==null&&(zd(t,e,r),So(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Id(),i=bo(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=xo(e,i,r),t!==null&&(zd(t,e,r),So(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Id(),r=bo(n);r.tag=2,t!=null&&(r.callback=t),t=xo(e,r,n),t!==null&&(zd(t,e,n),So(t,e,n))}};function wc(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?!Gr(n,r)||!Gr(i,a):!0}function Tc(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&&Cc.enqueueReplaceState(t,t.state,null)}function Ec(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=C({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Dc(e){Ci(e)}function Oc(e){console.error(e)}function kc(e){Ci(e)}function Ac(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function jc(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 Mc(e,t,n){return n=bo(n),n.tag=3,n.payload={element:null},n.callback=function(){Ac(e,t)},n}function Nc(e){return e=bo(e),e.tag=3,e}function Pc(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(){jc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){jc(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 Fc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Ta(t,n,a,!0),n=Po.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Fo===null?Zd():n.alternate===null&&ud===0&&(ud=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===to?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),yf(e,r,a)),!1;case 22:return n.flags|=65536,r===to?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)),yf(e,r,a)),!1}throw Error(i(435,n.tag))}return yf(e,r,a),Zd(),!1}if(L)return t=Po.current,t===null?(r!==ua&&(t=Error(i(423),{cause:r}),_a(Gi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Gi(r,n),a=Mc(e.stateNode,r,a),Co(e,a),ud!==4&&(ud=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==ua&&(e=Error(i(422),{cause:r}),_a(Gi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Gi(o,n),gd===null?gd=[o]:gd.push(o),ud!==4&&(ud=2),t===null)return!0;r=Gi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Mc(n.stateNode,r,e),Co(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=Nc(a),Pc(a,e,n,r),Co(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Ic=Error(i(461)),Lc=!1;function Rc(e,t,n,r){t.child=e===null?go(t,null,n,r):ho(t,e.child,n,r)}function zc(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 Da(t),r=rs(e,t,n,o,a,i),s=ss(),e!==null&&!Lc?(cs(e,t,i),pl(e,t,i)):(L&&s&&ra(t),t.flags|=1,Rc(e,t,r,i),t.child)}function Bc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Ii(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Vc(e,t,a,r,i)):(e=zi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!ml(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Gr:n,n(o,r)&&e.ref===t.ref)return pl(e,t,i)}return t.flags|=1,e=Li(a,r),e.ref=t.ref,e.return=t,t.child=e}function Vc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Gr(a,r)&&e.ref===t.ref){if(Lc=!1,t.pendingProps=r=a,ml(e,i))e.flags&131072&&(Lc=!0);else return t.lanes=e.lanes,pl(e,t,i)}}return Yc(e,t,n,r,i)}function Hc(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 Wc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Xa(t,a===null?null:a.cachePool),a===null?Mo():jo(t,a),Ro(t);else return r=t.lanes=536870912,Wc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Xa(t,null),Mo(),zo()):(Xa(t,a.cachePool),jo(t,a),zo(),t.memoizedState=null);return Rc(e,t,i,n),t.child}function Uc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Wc(e,t,n,r,i){var a=Ya();return a=a===null?null:{parent:Pa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Xa(t,null),Mo(),Ro(t),e!==null&&Ta(e,t,r,!0),t.childLanes=i,null}function Gc(e,t){return t=il({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Kc(e,t,n){return ho(t,e.child,null,n),e=Gc(t,t.pendingProps),e.flags|=2,Bo(t),t.memoizedState=null,e}function qc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(L){if(r.mode===`hidden`)return e=Gc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Uc(null,e);if(Lo(t),(e=sa)?(e=cm(e,la),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Qi===null?null:{id:$i,overflow:ea},retryLane:536870912,hydrationErrors:null},n=Hi(e),n.return=t,t.child=n,oa=t,sa=null)):e=null,e===null)throw da(t);return t.lanes=536870912,null}return Gc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Lo(t),a){if(t.flags&256)t.flags&=-257,t=Kc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Lc||Ta(e,t,n,!1),a=(n&e.childLanes)!==0,Lc||a){if(ko.current===null){if(r=id,r!==null&&(s=St(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Ai(e,s),zd(r,e,s),Ic;Zd()}t=Kc(e,t,n)}else e=o.treeContext,sa=fm(s.nextSibling),oa=t,L=!0,ca=null,la=!1,e!==null&&aa(t,e),t=Gc(t,r),t.flags|=134221824;return t}return e=Li(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Jc(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 Yc(e,t,n,r,i){return Da(t),n=rs(e,t,n,r,void 0,i),r=ss(),e!==null&&!Lc?(cs(e,t,i),pl(e,t,i)):(L&&r&&ra(t),t.flags|=1,Rc(e,t,n,i),t.child)}function Xc(e,t,n,r,i,a){return Da(t),t.updateQueue=null,n=as(t,r,n,i),is(e),r=ss(),e!==null&&!Lc?(cs(e,t,a),pl(e,t,a)):(L&&r&&ra(t),t.flags|=1,Rc(e,t,n,a),t.child)}function Zc(e,t,n,r,i){if(Da(t),t.stateNode===null){var a=Ni,o=n.contextType;typeof o==`object`&&o&&(a=Oa(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Cc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},vo(t),o=n.contextType,a.context=typeof o==`object`&&o?Oa(o):Ni,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Sc(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&&Cc.enqueueReplaceState(a,a.state,null),Eo(t,r,a,i),To(),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=Ec(n,s);a.props=c;var l=a.context,u=n.contextType;o=Ni,typeof u==`object`&&u&&(o=Oa(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)&&Tc(t,a,r,o),_o=!1;var f=t.memoizedState;a.state=f,Eo(t,r,a,i),To(),l=t.memoizedState,s||f!==l||_o?(typeof d==`function`&&(Sc(t,n,d,r),l=t.memoizedState),(c=_o||wc(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,yo(e,t),o=t.memoizedProps,u=Ec(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Ni,typeof l==`object`&&l&&(c=Oa(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)&&Tc(t,a,r,c),_o=!1,f=t.memoizedState,a.state=f,Eo(t,r,a,i),To();var p=t.memoizedState;o!==d||f!==p||_o||e!==null&&e.dependencies!==null&&Ea(e.dependencies)?(typeof s==`function`&&(Sc(t,n,s,r),p=t.memoizedState),(u=_o||wc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Ea(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,Jc(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=ho(t,e.child,null,i),t.child=ho(t,null,n,i)):Rc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=pl(e,t,i),e}function Qc(e,t,n,r){return ha(),t.flags|=256,Rc(e,t,n,r),t.child}var $c={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function el(e){return{baseLanes:e,cachePool:Za()}}function tl(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=md),e}function nl(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Vo.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(L){if(i?Io(t):zo(),(e=sa)?(e=cm(e,la),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Qi===null?null:{id:$i,overflow:ea},retryLane:536870912,hydrationErrors:null},n=Hi(e),n.return=t,t.child=n,oa=t,sa=null)):e=null,e===null)throw da(t);return t.lanes=um(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(zo(),i=t.mode,a=il({mode:`hidden`,children:a},i),r=Bi(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=el(n),r.childLanes=tl(e,o,n),t.memoizedState=$c,Uc(null,r)):(Io(t),rl(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return ol(e,t,a,o,r,c,s,n)}return i?(zo(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Li(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=Bi(i,a,n,null),i.flags|=2):i=Li(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Uc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=el(n):(a=i.cachePool,a===null?a=Za():(s=Pa._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=tl(e,o,n),t.memoizedState=$c,Uc(e.child,r)):(Io(t),n=e.child,e=n.sibling,n=Li(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 rl(e,t){return t=il({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function il(e,t){return e=Fi(22,e,null,t),e.lanes=0,e}function al(e,t,n){return ho(t,e.child,null,n),e=rl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ol(e,t,n,r,a,o,s,c){if(n)return t.flags&256?(Io(t),t.flags&=-257,al(e,t,c)):t.memoizedState===null?(zo(),o=a.fallback,s=t.mode,a=il({mode:`visible`,children:a.children},s),o=Bi(o,s,c,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,ho(t,e.child,null,c),a=t.child,a.memoizedState=el(c),a.childLanes=tl(e,r,c),t.memoizedState=$c,Uc(null,a)):(zo(),t.child=e.child,t.flags|=128,null);if(Io(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,_a({value:a,source:null,stack:null})),al(e,t,c)}if(Lc||Ta(e,t,c,!1),r=(c&e.childLanes)!==0,Lc||r){if(ko.current!==null)return al(e,t,c);if(r=id,r!==null&&(a=St(r,c),a!==0&&a!==s.retryLane))throw s.retryLane=a,Ai(e,a),zd(r,e,a),Ic;return lm(o)||Zd(),al(e,t,c)}return lm(o)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,sa=fm(o.nextSibling),oa=t,L=!0,ca=null,la=!1,e!==null&&aa(t,e),t=rl(t,a.children),t.flags|=134221824,t)}function sl(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ca(e.return,t,n)}function cl(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Wo(n)===null&&(t=e),e=e.sibling}return t}function ll(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 ul(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 dl(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Vo.current;if(t.flags&128)return Ho(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Ho(t,o),i===`backwards`&&e!==null?(ul(e),Rc(e,t,r,n),ul(e)):Rc(e,t,r,n),r=L?Yi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sl(e,n,t);else if(e.tag===19)sl(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=cl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,ul(t)),ll(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&&Wo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ll(t,!0,n,null,a,r);break;case`together`:ll(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=cl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ll(t,!1,i,n,a,r)}return t.child}function fl(e,t,n){var r=t.pendingProps;return xa(t,t.type,r.value),Rc(e,t,r.children,n),t.child}function pl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),dd|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(Ta(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=Li(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Li(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ml(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Ea(e)))}function hl(e,t,n){switch(t.tag){case 3:Oe(t,t.stateNode.containerInfo),xa(t,Pa,e.memoizedState.cache),ha();break;case 27:case 5:Ae(t);break;case 4:Oe(t,t.stateNode.containerInfo);break;case 10:xa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Lo(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return Io(t),t.flags|=128,null;r=Ta(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?nl(e,t,n):(Io(t),e=pl(e,t,n),e===null?null:e.sibling)}Io(t);break;case 19:if(t.flags&128)return dl(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(Ta(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return dl(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ho(t,Vo.current),r)break;return null;case 22:return t.lanes=0,Hc(e,t,n,t.pendingProps);case 24:xa(t,Pa,e.memoizedState.cache)}return pl(e,t,n)}function gl(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Lc=!0;else{if(!ml(e,n)&&!(t.flags&128))return Lc=!1,hl(e,t,n);Lc=!!(e.flags&131072)}}else Lc=!1,L&&t.flags&1048576&&na(t,Yi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=io(t.elementType),t.type=e,typeof e==`function`)Ii(e)?(r=Ec(e,r),t.tag=1,t=Zc(null,t,e,r,n)):(t.tag=0,t=Yc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===se){t.tag=11,t=zc(null,t,e,r,n);break a}if(a===E){t.tag=14,t=Bc(null,t,e,r,n);break a}if(a===oe){t.tag=10,t.type=e,t=fl(null,t,n);break a}}throw t=ye(e)||e,Error(i(306,t,``))}}return t;case 0:return Yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ec(r,t.pendingProps),Zc(e,t,r,a,n);case 3:a:{if(Oe(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,yo(e,t),Eo(t,r,null,n);var s=t.memoizedState;if(r=s.cache,xa(t,Pa,r),r!==o.cache&&wa(t,[Pa],n,!0),To(),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=Qc(e,t,r,n);break a}if(r!==a){a=Gi(Error(i(424)),t),_a(a),t=Qc(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(sa=fm(e.firstChild),oa=t,L=!0,ca=null,la=!0,n=go(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(ha(),r===a){t=pl(e,t,n);break a}Rc(e,t,r,n)}t=t.child}return t;case 26:return Jc(e,t),e===null?(n=Im(t.type,null,t.pendingProps,null))?t.memoizedState=n:L||(t.stateNode=gp(t.type,t.pendingProps,Ee.current,t)):t.memoizedState=Im(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ae(t),e===null&&L&&(r=t.stateNode=vm(t.type,t.pendingProps,Ee.current),oa=t,la=!0,a=sa,Tp(t.type)?(pm=a,sa=fm(r.firstChild)):sa=a),Rc(e,t,t.pendingProps.children,n),Jc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&L&&((a=r=sa)&&(r=om(r,t.type,t.pendingProps,la),r===null?a=!1:(t.stateNode=r,oa=t,sa=fm(r.firstChild),la=!1,a=!0)),a||da(t)),Ae(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,_p(a,o)?r=null:s!==null&&_p(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=rs(e,t,os,null,null,n),uh._currentValue=a),Jc(e,t),Rc(e,t,r,n),t.child;case 6:return e===null&&L&&((e=n=sa)&&(n=sm(n,t.pendingProps,la),n===null?e=!1:(t.stateNode=n,oa=t,sa=null,e=!0)),e||da(t)),null;case 13:return nl(e,t,n);case 4:return Oe(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ho(t,null,r,n):Rc(e,t,r,n),t.child;case 11:return zc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Jc(e,t),Rc(e,t,r,n),t.child;case 8:return Rc(e,t,t.pendingProps.children,n),t.child;case 12:return Rc(e,t,t.pendingProps.children,n),t.child;case 10:return fl(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,Da(t),a=Oa(a),r=r(a),t.flags|=1,Rc(e,t,r,n),t.child;case 14:return Bc(e,t,t.type,t.pendingProps,n);case 15:return Vc(e,t,t.type,t.pendingProps,n);case 19:return dl(e,t,n);case 31:return qc(e,t,n);case 22:return Hc(e,t,n,t.pendingProps);case 24:return Da(t),r=Oa(Pa),e===null?(a=Ya(),a===null&&(a=id,o=Fa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},vo(t),xa(t,Pa,a)):((e.lanes&n)!==0&&(yo(e,t),Eo(t,null,null,n),To()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,xa(t,Pa,r),r!==a.cache&&wa(t,[Pa],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),xa(t,Pa,r))),Rc(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:L&&ra(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Jc(e,t),Rc(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function _l(e){e.flags|=4}function vl(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 ao=to,$a}}else e.flags&=-16777217}function yl(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 ao=to,$a}}function bl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:_t(),e.lanes|=t,hd|=t)}function xl(e,t){if(!L)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 Sl(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 Cl(e,t,n){var r=t.pendingProps;switch(ia(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Sl(t),null;case 1:return Sl(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Sa(Pa),ke(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ma(t)?_l(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ga())),Sl(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(_l(t),o===null?(Sl(t),vl(t,a,null,r,n)):(Sl(t),yl(t,o))):o?o===e.memoizedState?(Sl(t),t.flags&=-16777217):(_l(t),Sl(t),yl(t,o)):(e=e.memoizedProps,e!==r&&_l(t),Sl(t),vl(t,a,e,r,n)),null;case 27:if(je(t),n=Ee.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&_l(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Sl(t),t.subtreeFlags&=-33554433,null}e=we.current,ma(t)?fa(t,e):(e=vm(a,r,n),t.stateNode=e,_l(t))}return Sl(t),t.subtreeFlags&=-33554433,null;case 5:if(je(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&_l(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Sl(t),t.subtreeFlags&=-33554433,null}if(o=we.current,ma(t))fa(t,o);else{var s=pp(Ee.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[Dt]=t,o[Ot]=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(op(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&&_l(t)}}return Sl(t),t.subtreeFlags&=-33554433,vl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&_l(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Ee.current,ma(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=oa,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Dt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ip(e.nodeValue,n)),e||da(t,!0)}else e=pp(e).createTextNode(r),e[Dt]=t,t.stateNode=e}return Sl(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=ma(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[Dt]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Sl(t),e=!1}else n=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Bo(t),t):(Bo(t),null);if(t.flags&128)throw Error(i(558))}return Sl(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=ma(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[Dt]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Sl(t),a=!1}else a=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Bo(t),t):(Bo(t),null)}return Bo(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),bl(t,t.updateQueue),Sl(t),null);case 4:return ke(),e===null&&Jf(t.stateNode.containerInfo),t.flags|=67108864,Sl(t),null;case 10:return Sa(t.type),Sl(t),null;case 19:if(Uo(t),r=t.memoizedState,r===null)return Sl(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)xl(r,!1);else{if(ud!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Wo(e),o!==null){for(t.flags|=128,xl(r,!1),e=o.updateQueue,t.updateQueue=e,bl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ri(n,e),n=n.sibling;return Ho(t,Vo.current&1|2),L&&ta(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&We()>xd&&(t.flags|=128,a=!0,xl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Wo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,bl(t,e),xl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!L)return Sl(t),null}else 2*We()-r.renderingStartTime>xd&&n!==536870912&&(t.flags|=128,a=!0,xl(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=We(),e.sibling=null,o=Vo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||L?Ho(t,o):(n=o,j(Po,t),j(Vo,n),Fo===null&&(Fo=t)),L&&ta(t,r.treeForkCount),e}return Sl(t),null;case 22:case 23:return Bo(t),No(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Sl(t),t.subtreeFlags&6&&(t.flags|=8192)):Sl(t),n=t.updateQueue,n!==null&&bl(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&&A(Ja),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sa(Pa),Sl(t),null;case 25:return null;case 30:return t.flags|=33554432,Sl(t),null}throw Error(i(156,t.tag))}function wl(e,t){switch(ia(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(Pa),ke(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return je(t),null;case 31:if(t.memoizedState!==null){if(Bo(t),t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Bo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Uo(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 ke(),null;case 10:return Sa(t.type),null;case 22:case 23:return Bo(t),No(),e!==null&&A(Ja),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(Pa),null;case 25:return null;default:return null}}function Tl(e,t){switch(ia(t),t.tag){case 3:Sa(Pa),ke();break;case 26:case 27:case 5:je(t);break;case 4:ke();break;case 31:t.memoizedState!==null&&Bo(t);break;case 13:Bo(t);break;case 19:Uo(t);break;case 10:Sa(t.type);break;case 22:case 23:Bo(t),No(),e!==null&&A(Ja);break;case 24:Sa(Pa)}}function El(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 Dl(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 Ol(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Oo(t,n)}catch(t){K(e,e.return,t)}}}function kl(e,t,n){n.props=Ec(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){K(e,t,n)}}function Al(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=bi(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 jl(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 Ml(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 Nl(e){for(var t=e.return;t!==null&&(Il(t)&&rm(e.stateNode,t.stateNode),!Fl(t));)t=t.return}function Pl(e){for(var t=e.return;t!==null&&(Il(t)&&im(e.stateNode,t.stateNode),!Fl(t));)t=t.return}function Fl(e){return e.tag===5||e.tag===3||e.tag===27}function Il(e){return e&&e.tag===7&&e.stateNode!==null}function Ll(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 Rl(e,t,n){try{var r=e.stateNode;cp(r,e.type,n,t),r[Ot]=t}catch(t){K(e,e.return,t)}}function zl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Tp(e.type)||e.tag===4}function Bl(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||zl(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 Vl(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=Cn)),Ml(e,r),P=!0;else if(i!==4&&(i===27&&(Ml(e,r),r=null,Tp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Vl(e,t,n,r),e=e.sibling;e!==null;)Vl(e,t,n,r),e=e.sibling}function Hl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),Ml(e,r),P=!0;else if(i!==4&&(i===27&&(Ml(e,r),r=null,Tp(e.type)&&(n=e.stateNode)),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){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);op(t,r,n),t[Dt]=e,t[Ot]=n}catch(t){K(e,e.return,t)}}var Wl=!1,Gl=null;function Kl(e){(e.tag===30||e.subtreeFlags&33554432)&&(Wl=!0)}var ql=null;function Jl(){var e=ql;return ql=null,e}var Yl=0;function Xl(e,t,n,r,i){return Yl=0,Zl(e.child,t,n,r,i)}function Zl(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);Wl=!0,Op(o,Yl===0?t:t+`_`+Yl,n),Yl++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Zl(e.child,t,n,r,i)&&(a=!0));e=e.sibling}return a}function Ql(e,t){for(;e!==null;)e.tag===5?kp(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||Ql(e.child,t)),e=e.sibling}function $l(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&($l(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=Si(t.default,t.share),t!==`none`&&(Xl(e,n,t,null,!1)||Ql(e.child,!1))}e=e.sibling}}function eu(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=bi(r,n),a=Si(r.default,n.paired?r.share:r.enter);a===`none`?$l(e):Xl(e,i,a,null,!1)?($l(e),n.paired||t||Rd(e,r.onEnter)):Ql(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)eu(e,t),e=e.sibling;else $l(e)}function tu(e){if(Gl!==null&&Gl.size!==0){var t=Gl;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=Si(n.default,n.share);if(a!==`none`&&(Xl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Rd(e,n.onShare)):Ql(e.child,!1)),t.delete(r),t.size===0)break}}}tu(e)}e=e.sibling}}}function nu(e){if(e.tag===30){var t=e.memoizedProps,n=bi(t,e.stateNode),r=Gl===null?void 0:Gl.get(n),i=Si(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Xl(e,n,i,null,!1)?r===void 0?Rd(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Gl.delete(n),Rd(e,t.onShare)):Ql(e.child,!1)),Gl!==null&&tu(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)nu(e),e=e.sibling;else Gl!==null&&tu(e)}function ru(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=bi(t,e.stateNode);t=Si(t.default,t.update),e.flags&=-5,t!==`none`&&Xl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&ru(e);e=e.sibling}}function iu(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,Ql(e.child,!1))}iu(e)}e=e.sibling}}function au(e){if(e.tag===30)e.stateNode.paired=null,Ql(e.child,!1),iu(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)au(e),e=e.sibling;else iu(e)}function ou(e){for(e=e.child;e!==null;)e.tag===30?Ql(e.child,!1):e.subtreeFlags&33554432&&ou(e),e=e.sibling}function su(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Yl<a.length){var l=a[Yl],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,Yl===0?n:n+`_`+Yl,i),s&&e.flags&4||(ql===null&&(ql=[]),ql.push(c,Yl===0?r:r+`_`+Yl,t.memoizedProps)),Yl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:su(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function cu(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=bi(n,r),a=Si(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;Yl=0,i=su(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Rd(e,n.onUpdate))}else e.subtreeFlags&33554432&&cu(e,t);e=e.sibling}}var lu=!1,B=!1,uu=!1,du=!1,fu=typeof WeakSet==`function`?WeakSet:Set,pu=null,mu=!1,hu=!1,gu=!1,_u=!1;function vu(e,t,n){if(e=e.containerInfo,dp=yh,e=Xr(e),Zr(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(fp={focusedElem:e,selectionRange:r},yh=!1,n=(n&335544064)===n,pu=t,t=n?9270:1024;pu!==null;){if(e=pu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&nu(r[a]);if(e.alternate===null&&e.flags&2)n&&Kl(e),yu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&nu(r),yu(n);continue}if(r!==null&&r.memoizedState!==null){n&&Kl(e),yu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,pu=r):(n&&ru(e),yu(n))}}Gl=null}function yu(e){for(;pu!==null;){var t=pu,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=Ec(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=bi(r.memoizedProps,r.stateNode),a=t.memoizedProps,a=Si(a.default,a.update),a!==`none`&&Xl(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,pu=r;break}pu=t.return}}function bu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:zu(e,n),r&4&&El(5,n);break;case 1:if(zu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){K(n,n.return,e)}else{var i=Ec(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){K(n,n.return,e)}}}r&64&&Ol(n),r&512&&Al(n,n.return);break;case 3:if(zu(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{Oo(e,t)}catch(e){K(n,n.return,e)}}break;case 27:t===null&&r&4&&Ul(n);case 26:case 5:zu(e,n),t===null&&r&4&&Ll(n),r&512&&Al(n,n.return);break;case 12:zu(e,n);break;case 31:zu(e,n),r&4&&ku(e,n);break;case 13:zu(e,n),r&4&&Au(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Sf.bind(null,n),dm(e,n))));break;case 22:if(r=n.memoizedState!==null||lu,!r){var a=t!==null&&t.memoizedState!==null||B;t=lu,i=B,lu=r,(B=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),Vu(e,n,r)):zu(e,n),lu=t,B=i}break;case 30:zu(e,n),r&512&&Al(n,n.return);break;case 7:r&512&&Al(n,n.return);default:zu(e,n)}}function xu(e,t){for(e=e.child;e!==null;)Su(e,t),e=e.sibling}function Su(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)}Cu(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,P=!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&&xu(e,t);break;default:xu(e,t)}}function Cu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:Su(n,r);break a;case 22:n.memoizedState===null&&Cu(n,r);break a;default:Cu(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&&It(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(et&&typeof et.onCommitFiberUnmount==`function`)try{et.onCommitFiberUnmount($e,n)}catch{}switch(n.tag){case 26:B||jl(n,t),Du(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!B&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:B||jl(n,t),Pl(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:B||jl(n,t),Pl(n);case 6:if(n.tag===6&&Pl(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),P=!0}catch(e){K(n,t,e)}else try{Tu.removeChild(n.stateNode),P=!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:Dl(2,n,t),B||Dl(4,n,t),Du(e,t,n);break;case 1:B||(jl(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&kl(n,t,r)),Du(e,t,n);break;case 21:Du(e,t,n);break;case 22:B=(r=B)||n.memoizedState!==null,Du(e,t,n),B=r;break;case 30:jl(n,t),Du(e,t,n);break;case 7:B||jl(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 fu),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new fu),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=Cf.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&&(Dl(3,e,e.return),El(3,e),Dl(5,e,e.return));break;case 1:Nu(t,e,n),Iu(e),a&512&&(B||r===null||jl(r,r.return)),a&64&&lu&&(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&&(B||r===null||jl(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(lu)e.stateNode=gp(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[Pt]||r[Dt]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=a.createElement(t),a.head.insertBefore(r,a.querySelector(`head > title`))),op(r,t,n),r[Dt]=e,Vt(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),op(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),op(r,t,n),a.head.appendChild(r);break;default:throw Error(i(468,t))}r[Dt]=e,Vt(r),t=r}e.stateNode=t}}else lu||Ym(o,e.type,e.stateNode)}else e.stateNode=Um(o,n,e.memoizedProps)}else a===n?n===null&&e.stateNode!==null&&Rl(e,e.memoizedProps,r.memoizedProps):(a===null?(t=r.stateNode,t===null||B||t.parentNode.removeChild(t)):a.count--,n===null?lu||Ym(o,e.type,e.stateNode):Um(o,n,e.memoizedProps))}break;case 27:Nu(t,e,n),Iu(e),a&512&&(B||r===null||jl(r,r.return)),r!==null&&a&4&&Rl(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=uu,uu=!1,Nu(t,e,n),uu=o,Iu(e),a&512&&(B||r===null||jl(r,r.return)),e.flags&32){t=e.stateNode;try{hn(t,``),P=!0}catch(t){K(e,e.return,t)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,Rl(e,t,r===null?t:r.memoizedProps)),a&1024&&(du=!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,P=!0}catch(t){K(e,e.return,t)}}break;case 3:if(P=!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)}du&&(du=!1,Lu(e)),P=!1;break;case 4:a=uu,uu=lu,r=Zt(),o=Pu,Pu=Cm(e.stateNode.containerInfo),Nu(t,e,n),Iu(e),Pu=o,P&&hu&&(gu=!0),P=r,uu=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=We()),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=lu,l=B,u=uu;lu=c||o,uu=u||o,B=l||s,Nu(t,e,n),B=l,uu=u,lu=c,Iu(e),a&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||r===null||s||lu||B||(t=s||B,n=lu,r=B,lu=o||lu,B=t,Bu(e,2),lu=n,B=r),!o&&uu||xu(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&&(B||r===null||jl(r,r.return)),a=Zt(),o=hu,s=(n&335544064)===n,c=e.memoizedProps,hu=s&&Si(c.default,c.update)!==`none`,Nu(t,e,n),Iu(e),s&&r!==null&&P&&(e.flags|=4),hu=o,P=a;break;case 21:break;case 7:a&512&&(B||r===null||jl(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(zl(r)){n=r;break}r=r.return}r=null;for(var a=e.return;a!==null;){if(Il(a)){var o=a.stateNode;r===null?r=[o]:r.push(o)}if(Fl(a))break;a=a.return}var s=r;if(n==null)throw Error(i(160));switch(n.tag){case 27:var c=n.stateNode;Hl(e,Bl(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(hn(l,``),n.flags&=-33),Hl(e,Bl(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;Vl(e,Bl(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 V(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Ru(t,e),t=t.sibling;else cu(t,!1)}function Ru(e,t){var n=e.alternate;if(n===null)eu(e,!1);else switch(e.tag){case 3:if(_u=mu=!1,Jl(),V(t,e),!mu&&!gu){if(e=ql,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`})),_u=!0}ql=null;break;case 5:V(t,e);break;case 4:r=mu,mu=!1,V(t,e),mu&&(gu=!0),mu=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?V(t,e):eu(e,!1));break;case 30:r=mu,i=Jl(),mu=!1,V(t,e),mu&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=bi(a,o),o=bi(n.memoizedProps,o);var s=Si(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Yl=0,t=su(e,n,t,o,s,a,!0),Yl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Rd(e,e.memoizedProps.onUpdate),ql=i):i!==null&&(i.push.apply(i,ql),ql=i),mu=e.flags&32?!0:r;break;default:V(t,e)}}function zu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)bu(e,t.alternate,t),t=t.sibling}function Bu(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Dl(4,n,n.return),Bu(n,r);break;case 1:jl(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&kl(n,n.return,i),Bu(n,r);break;case 27:r&2&&ym(n.stateNode,n.type,n.memoizedProps);case 5:jl(n,n.return),n.tag!==5&&n.tag!==27||Pl(n),Bu(n,r);break;case 6:Pl(n);break;case 26:jl(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||B||i.parentNode.removeChild(i),Bu(n,r);break;case 22:n.memoizedState===null&&Bu(n,r);break;case 30:jl(n,n.return),Bu(n,r);break;case 7:jl(n,n.return);default:Bu(n,r)}e=e.sibling}}function Vu(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:Vu(i,a,n),El(4,a);break;case 1:if(Vu(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++)Do(l[i],c)}catch(e){K(r,r.return,e)}}s&&o&64&&Ol(a),Al(a,a.return);break;case 27:n&2&&Ul(a);case 5:a.tag!==5&&a.tag!==27||Nl(a),Vu(i,a,n),s&&r===null&&o&4&&Ll(a),Al(a,a.return);break;case 6:Nl(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||lu||Ym(Cm(c.ownerDocument),a.type,c),Vu(i,a,n),s&&r===null&&o&4&&Ll(a),Al(a,a.return);break;case 12:Vu(i,a,n);break;case 31:Vu(i,a,n),s&&o&4&&ku(i,a);break;case 13:Vu(i,a,n),s&&o&4&&Au(i,a);break;case 22:a.memoizedState===null&&Vu(i,a,n),Al(a,a.return);break;case 30:Vu(i,a,n),Al(a,a.return);break;case 7:Al(a,a.return);default:Vu(i,a,n)}t=t.sibling}}function Hu(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&&Ia(n))}function Uu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ia(e))}function Wu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Gu(e,t,n,r),t=t.sibling;else i&&ou(t)}function Gu(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&au(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:Wu(e,t,n,r),a&2048&&El(9,t);break;case 1:Wu(e,t,n,r);break;case 3:Wu(e,t,n,r),i&&_u&&(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&&Ia(a)));break;case 12:if(a&2048){Wu(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 Wu(e,t,n,r);break;case 31:Wu(e,t,n,r);break;case 13:Wu(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&&au(t),o._visibility&2?Wu(e,t,n,r):(o._visibility|=2,Ku(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&au(s),o._visibility&2?Wu(e,t,n,r):qu(e,t)),a&2048&&Hu(s,t);break;case 24:Wu(e,t,n,r),a&2048&&Uu(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&(Ql(a.child,!0),Ql(t.child,!0))),Wu(e,t,n,r);break;default:Wu(e,t,n,r)}}function Ku(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:Ku(a,o,s,c,i),El(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Ku(a,o,s,c,i)):u._visibility&2?Ku(a,o,s,c,i):qu(a,o),i&&l&2048&&Hu(o.alternate,o);break;case 24:Ku(a,o,s,c,i),i&&l&2048&&Uu(o.alternate,o);break;default:Ku(a,o,s,c,i)}t=t.sibling}}function qu(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:qu(n,r),i&2048&&Hu(r.alternate,r);break;case 24:qu(n,r),i&2048&&Uu(r.alternate,r);break;default:qu(n,r)}t=t.sibling}}var Ju=8192;function Yu(e,t,n){if(e.subtreeFlags&Ju)for(e=e.child;e!==null;)Xu(e,t,n),e=e.sibling}function Xu(e,t,n){switch(e.tag){case 26:Yu(e,t,n),e.flags&Ju&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&eh(n,e)):th(n,Pu,e.memoizedState,e.memoizedProps));break;case 5:Yu(e,t,n),e.flags&Ju&&(e=e.stateNode,(t&335544128)===t&&eh(n,e));break;case 3:case 4:var r=Pu;Pu=Cm(e.stateNode.containerInfo),Yu(e,t,n),Pu=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ju,Ju=16777216,Yu(e,t,n),Ju=r):Yu(e,t,n));break;case 30:if((e.flags&Ju)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Gl===null&&(Gl=new Map),Gl.set(r,i)}Yu(e,t,n);break;default:Yu(e,t,n)}}function Zu(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 Qu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];pu=r,td(r,e)}Zu(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)$u(e),e=e.sibling}function $u(e){switch(e.tag){case 0:case 11:case 15:Qu(e),e.flags&2048&&Dl(9,e,e.return);break;case 3:Qu(e);break;case 12:Qu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ed(e)):Qu(e);break;default:Qu(e)}}function ed(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];pu=r,td(r,e)}Zu(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Dl(8,t,t.return),ed(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,ed(t));break;default:ed(t)}e=e.sibling}}function td(e,t){for(;pu!==null;){var n=pu;switch(n.tag){case 0:case 11:case 15:Dl(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:Ia(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,pu=r;else a:for(n=e;pu!==null;){r=pu;var i=r.sibling,a=r.return;if(wu(r),r===n){pu=null;break a}if(i!==null){i.return=a,pu=i;break a}pu=a}}}var nd={getCacheForType:function(e){var t=Oa(Pa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Oa(Pa).controller.signal}},rd=typeof WeakMap==`function`?WeakMap:Map,H=0,id=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 H&2&&W!==0?W&-W:D.T===null?wt():Rf()}function Ld(){if(md===0){if(!(W&536870912)||L){var e=ut;ut<<=1,!(ut&3932160)&&(ut=262144),md=e}else md=536870912}return e=Po.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(bi(e.memoizedProps,n))),Md===null&&(Md=[]),Md.push(t.bind(null,r))}}function zd(e,t,n){(e===id&&(G===2||G===9)||e.cancelPendingCommit!==null)&&(Kd(e,0),Ud(e,W,md,!1)),yt(e,n),(!(H&2)||e!==id)&&(e===id&&(!(H&2)&&(fd|=n),ud===4&&Ud(e,W,md,!1)),jf(e))}function Bd(e,t,n){if(H&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||mt(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-We(),10<a)){if(Ud(r,t,md,!od),pt(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);jf(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:Cn},Gl=null,Xu(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-We():(a&4194048)===a?bd-We():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(!Wr(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=ht(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-nt(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&M(e,n,t)}function Wd(){return H&6?!0:(Mf(0,!1),!1)}function Gd(){if(U!==null){if(G===0)var e=U.return;else e=U,ba=ya=null,ls(e),co=null,lo=0,e=U;for(;e!==null;)Tl(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(),id=e,U=n=Li(e.current,null),W=t,G=0,ad=null,od=!1,sd=mt(e,t),cd=!1,hd=md=pd=fd=dd=ud=0,_d=gd=null,vd=!1,ld=ht(e,t),Di(),n}function qd(e,t){R=null,D.H=vc,t===Qa||t===eo?(t=oo(),G=3):t===$a?(t=oo(),G=4):G=t===Ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,ad=t,U===null&&(ud=1,Ac(e,Gi(t,e.current)))}function Jd(){var e=Po.current;return e===null?!0:(W&4194048)===W?Fo===null:(W&62914560)===W||W&536870912?e===Fo:!1}function Yd(){var e=D.H;return D.H=vc,e===null?vc:e}function Xd(){var e=D.A;return D.A=nd,e}function Zd(){ud=4,od||(W&4194048)!==W&&Po.current!==null||(sd=!0),!(dd&134217727)&&!(fd&134217727)||id===null||Ud(id,W,md,!1)}function Qd(e,t,n){var r=H;H|=2;var i=Yd(),a=Xd();(id!==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:Po.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++,ba=ya=null,H=r,D.H=i,D.A=a,U===null&&(id=null,W=0,Di()),o}function $d(){for(;U!==null;)nf(U)}function ef(e,t){var n=H;H|=2;var r=Yd(),a=Xd();id!==e||W!==t?(Sd=null,xd=We()+500,Kd(e,t)):sd=mt(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(no(o)){G=0,ad=null,rf(t);break}t=function(){G!==2&&G!==9||id!==e||(G=7),jf(e)},o.then(t,t);break a;case 3:G=7;break a;case 4:G=5;break a;case 7:no(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 ba=ya=null,D.H=r,D.A=a,H=n,U===null?(id=null,W=0,Di(),ud):0}function tf(){for(;U!==null&&!He();)nf(U)}function nf(e){var t=gl(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=Xc(n,t,t.pendingProps,t.type,void 0,W);break;case 11:t=Xc(n,t,t.pendingProps,t.type.render,t.ref,W);break;case 5:ls(t);var r=t;r===oa&&(L?(pa(r),r.tag===5&&r.stateNode!=null&&(sa=r.stateNode)):(pa(r),L=!0));default:Tl(n,t),t=U=Ri(t,ld),t=gl(n,t,ld)}e.memoizedProps=e.pendingProps,t===null?of(e):U=t}function af(e,t,n,r){ba=ya=null,ls(t),co=null,lo=0;var i=t.return;try{if(Fc(e,i,t,n,W)){ud=1,Ac(e,Gi(n,e.current)),U=null;return}}catch(t){if(i!==null)throw U=i,t;ud=1,Ac(e,Gi(n,e.current)),U=null;return}t.flags&32768?(L||r===1?e=!0:sd||W&536870912?e=!1:(od=e=!0,(r===2||r===9||r===3||r===6)&&(r=Po.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=Cl(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=wl(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(H&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));e===id&&(U=id=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|=Ei,bt(e,n,s,r,i,a),Md=null,(n&335544064)===n?(Nd=za(e),r=10262):(Nd=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,wf(Je,function(){return _f(),null})):(e.callbackNode=null,e.callbackPriority=0),Wl=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=D.T,D.T=null,i=O.p,O.p=2,a=H,H|=4;try{vu(e,t,n)}finally{H=a,O.p=i,D.T=r}}wd=1,Wl?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,Ru(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=D.T,D.T=null;var i=O.p;O.p=2;var a=H;H|=4;try{hu=gu=!1,Fu(t,e,n),n=fp;var o=Xr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Yr(s.ownerDocument.documentElement,s)){if(c!==null&&Zr(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 _=Jr(s,h),v=Jr(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=!!dp,fp=dp=null}finally{H=a,O.p=i,D.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=D.T,D.T=null;var r=O.p;O.p=2;var i=H;H|=4;try{bu(e,t.alternate,t)}finally{H=i,O.p=r,D.T=n}}wd=3}}function mf(){if(wd===4||wd===3){wd=0;var e=jd;jd=null,Ue();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),N(r),n=n.stateNode,et&&typeof et.onCommitFiberRoot==`function`)try{et.onCommitFiberRoot($e,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=D.T,a=O.p,O.p=2,D.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{D.T=n,O.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(),jf(t),a=t.pendingLanes,r&261930&&a&42?t===Fd?Pd++:(Pd=0,Fd=t):(Pd=0,Fd=null),Mf(0,!1)}}function hf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ia(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=N(Dd),r=D.T,a=O.p;try{O.p=32>n?32:n,D.T=null,n=kd,kd=null;var o=Td,s=Dd;if(wd=0,Ed=Td=null,Dd=0,H&6)throw Error(i(331));var c=H;if(H|=4,$u(o.current),Gu(o,o.current,s,n),H=c,Mf(0,!1),et&&typeof et.onPostCommitFiberRoot==`function`)try{et.onPostCommitFiberRoot($e,o)}catch{}return!0}finally{O.p=a,D.T=r,hf(e,t)}}function vf(e,t,n){t=Gi(n,t),t=Mc(e.stateNode,t,2),e=xo(e,t,2),e!==null&&(yt(e,2),jf(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=Gi(n,e),n=Nc(2),r=xo(t,n,2),r!==null&&(Pc(n,r,t,e),yt(r,2),jf(r));break}}t=t.return}}function yf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new rd;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=bf.bind(null,e,t,n),t.then(e,e))}function bf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,id===e&&(W&n)===n&&(ud===4||ud===3&&(W&62914560)===W&&300>We()-yd?H&2?pd|=n:Kd(e,0):pd|=n,hd===W&&(hd=0)),jf(e)}function xf(e,t){t===0&&(t=_t()),e=Ai(e,t),e!==null&&(yt(e,t),jf(e))}function Sf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),xf(e,n)}function Cf(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),xf(e,n)}function wf(e,t){return Be(e,t)}var Tf=null,Ef=null,Df=!1,Of=!1,kf=!1,Af=0;function jf(e){e!==Ef&&e.next===null&&(Ef===null?Tf=Ef=e:Ef=Ef.next=e),Of=!0,Df||(Df=!0,Lf())}function Mf(e,t){if(!kf&&Of){kf=!0;do for(var n=!1,r=Tf;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-nt(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=pt(r,r===id?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||mt(r,a)||(n=!0,If(r,a))}r=r.next}while(n);kf=!1}}function Nf(){q()}function q(){Of=Df=!1;var e=0;Af!==0&&vp()&&(e=Af);for(var t=We(),n=null,r=Tf;r!==null;){var i=r.next,a=Pf(r,t);a===0?(r.next=null,n===null?Tf=i:n.next=i,i===null&&(Ef=n)):(n=r,(e!==0||a&3)&&(Of=!0)),r=i}wd!==0&&wd!==5||Mf(e,!1),Af!==0&&(Af=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-nt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=gt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=id,n=W,n=pt(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&&Ve(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||mt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ve(r),N(n)){case 2:case 8:n=qe;break;case 32:n=Je;break;case 268435456:n=Xe;break;default:n=Je}return r=Ff.bind(null,e),n=Be(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ve(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=pt(e,e===id?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Bd(e,r,t),Pf(e,We()),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(){H&6?Be(Ke,Nf):q()})}function Rf(){if(Af===0){var e=Ha;e===0&&(e=lt,lt<<=1,!(lt&261888)&&(lt=256)),Af=e}return Af}function zf(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Sn(e)}function Bf(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=zf((i[Ot]||null).action),o=r.submitter;o&&(t=(t=o[Ot]||null)?zf(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Wn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Af!==0){var e=new FormData(i,o);ic(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),ic(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Vf=0;Vf<_i.length;Vf++){var Hf=_i[Vf];vi(Hf.toLowerCase(),`on`+(Hf[0].toUpperCase()+Hf.slice(1)))}vi(li,`onAnimationEnd`),vi(ui,`onAnimationIteration`),vi(di,`onAnimationStart`),vi(`dblclick`,`onDoubleClick`),vi(`focusin`,`onFocus`),vi(`focusout`,`onBlur`),vi(fi,`onTransitionRun`),vi(pi,`onTransitionStart`),vi(mi,`onTransitionCancel`),vi(hi,`onTransitionEnd`),Kt(`onMouseEnter`,[`mouseout`,`mouseover`]),Kt(`onMouseLeave`,[`mouseout`,`mouseover`]),Kt(`onPointerEnter`,[`pointerout`,`pointerover`]),Kt(`onPointerLeave`,[`pointerout`,`pointerover`]),Gt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Gt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Gt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Gt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Gt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Gt(`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){Ci(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){Ci(e)}i.currentTarget=null,a=c}}}}function J(e,t){var n=t[At];n===void 0&&(n=t[At]=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,Ut.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,!Nn||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=Lt(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}An(function(){var r=a,i=Tn(n),s=[];a:{var c=gi.get(e);if(c!==void 0){var l=Wn,u=e;switch(e){case`keypress`:if(zn(n)===0)break a;case`keydown`:case`keyup`:l=cr;break;case`focusin`:u=`focus`,l=$n;break;case`focusout`:u=`blur`,l=$n;break;case`beforeblur`:case`afterblur`:l=$n;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=Zn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Qn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=dr;break;case li:case ui:case di:l=er;break;case hi:l=fr;break;case`scroll`:case`scrollend`:l=Kn;break;case`wheel`:l=pr;break;case`copy`:case`cut`:case`paste`:l=tr;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=lr;break;case`submit`:l=ur;break;case`toggle`:case`beforetoggle`:l=mr}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=jn(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!==wn&&(u=n.relatedTarget||n.fromElement)&&(Lt(u)||u[kt]))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?Lt(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=Zn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=lr,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=c==null?u:zt(c),h=l==null?u:zt(l),u=new d(g,m+`leave`,c,n,i),u.target=f,u.relatedTarget=h,g=null,Lt(i)===r&&(d=new d(p,m+`enter`,l,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=c&&l?ee(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?zt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=Mr;else if(F(c)){if(Nr)_=Hr;else{_=Br;var v=zr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&yn(r.elementType)&&(_=Mr):_=Vr;if(_&&=_(e,r)){Or(s,_,n,i);break a}v&&v(e,c,r)}switch(v=r?zt(r):window,e){case`focusin`:(F(v)||v.contentEditable===`true`)&&($r=v,ei=r,ti=null);break;case`focusout`:ti=ei=$r=null;break;case`mousedown`:ni=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:ni=!1,ri(s,n,i);break;case`selectionchange`:if(Qr)break;case`keydown`:case`keyup`:ri(s,n,i)}var y;if(gr)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 wr?Sr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(yr&&n.locale!==`ko`&&(wr||b!==`onCompositionStart`?b===`onCompositionEnd`&&wr&&(y=Rn()):(Fn=i,In=`value`in Fn?Fn.value:Fn.textContent,wr=!0)),v=Qf(r,b),0<v.length&&(b=new nr(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=Cr(n),y!==null&&(b.data=y)))),(y=vr?Tr(e,n):Er(e,n))&&(b=Qf(r,`onBeforeInput`),0<b.length&&(v=new nr(`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=jn(e,n),i!=null&&r.unshift(Zf(e,i,a)),i=jn(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=jn(n,a),l!=null&&o.unshift(Zf(n,l,c))):i||(l=jn(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 ip(e,t){return t=rp(t),rp(e)===t}function Y(e,t,n,r,a,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||hn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&hn(e,``+r);else return;break;case`className`:$t(e,`class`,r);break;case`tabIndex`:$t(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:$t(e,n,r);break;case`style`:vn(e,r,o);return;case`data`:if(t!==`object`){$t(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=Sn(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`&&Y(e,t,`name`,a.name,a,null),Y(e,t,`formEncType`,a.formEncType,a,null),Y(e,t,`formMethod`,a.formMethod,a,null),Y(e,t,`formTarget`,a.formTarget,a,null)):(Y(e,t,`encType`,a.encType,a,null),Y(e,t,`method`,a.method,a,null),Y(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Sn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Cn);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=Sn(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),Qt(e,`popover`,r);break;case`xlinkActuate`:en(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:en(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:en(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:en(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:en(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:en(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:en(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:en(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:en(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Qt(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=bn.get(n)||n,Qt(e,n,r);else return}P=!0}function ap(e,t,n,r,a,o){switch(n){case`style`:vn(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`)hn(e,r);else if(typeof r==`number`||typeof r==`bigint`)hn(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=Cn);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!Wt.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[Ot]||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}P=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):Qt(e,n,r)}return}P=!0}function op(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:Y(e,t,o,s,n,null)}}a&&Y(e,t,`srcSet`,n.srcSet,n,null),r&&Y(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:Y(e,t,r,d,n,null)}}un(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:Y(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&fn(e,!!r,n,!0):fn(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:Y(e,t,s,c,n,null)}mn(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:Y(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:Y(e,t,u,r,n,null)}return;default:if(yn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&ap(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Y(e,t,c,r,n,null))}var sp={};function cp(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)||Y(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&&(P=!0),o=m;break;case`name`:m!==f&&(P=!0),a=m;break;case`checked`:m!==f&&(P=!0),u=m;break;case`defaultChecked`:m!==f&&(P=!0),d=m;break;case`value`:m!==f&&(P=!0),s=m;break;case`defaultValue`:m!==f&&(P=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Y(e,t,p,m,r,f)}}ln(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)||Y(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&&(P=!0),p=o;break;case`defaultValue`:o!==l&&(P=!0),c=o;break;case`multiple`:o!==l&&(P=!0),s=o;default:o!==l&&Y(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?fn(e,!!n,n?[]:``,!1):fn(e,!!n,t,!0)):fn(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:Y(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&&(P=!0),p=a;break;case`defaultValue`:a!==o&&(P=!0),m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Y(e,t,s,a,r,o)}pn(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:Y(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&&(P=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Y(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)&&Y(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:Y(e,t,u,p,r,m)}return;default:if(yn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&ap(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||ap(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Y(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||Y(e,t,f,p,r,m)}function lp(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function up(){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&&lp(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&&lp(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 dp=null,fp=null;function pp(e){return e.nodeType===9?e:e.ownerDocument}function mp(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 hp(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 gp(e,t,n,r){return n=pp(n).createElement(e),n[Dt]=r,n[Ot]=t,op(n,e,t),Vt(n),n}function _p(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 X=null;function vp(){var e=window.event;return e&&e.type===`popstate`?e!==X&&(X=e,!0):(X=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[Pt]||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}:C({},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=pp(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=Lt(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=ee(n,a,S),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=ee(r,a,S),t===null?t=!1:(f(t,!0,x,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),It(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[Pt])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=pp(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&&Y(e,t,r,null,sp,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===Cn&&(e.onclick=null),It(e)}function bm(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);It(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=O.d;O.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=Rt(e);t!==null&&t.tag===5&&t.type===`form`?oc(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=cn(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`),op(t,`link`,e),Vt(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="`+cn(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+cn(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+cn(n.imageSizes)+`"]`)):i+=`[href="`+cn(e)+`"]`;var a=i;switch(t){case`style`:a=Lm(e);break;case`script`:a=Vm(e)}if(!(xm.has(a)||(e=C({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`);op(o,`link`,e),t===`style`&&(o[Ft]=!0,o.onload=o.onerror=function(){Ht(o)}),Vt(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="`+cn(r)+`"][href="`+cn(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=C({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`),op(r,`link`,e),Vt(r),n.head.appendChild(r)}}}function Nm(e,t,n){wm.S(e,t,n);var r=Dm;if(r&&e){var i=Bt(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=C({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=xm.get(a))&&Gm(e,n);var c=o=r.createElement(`link`);Vt(c),op(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=Bt(n).hoistableScripts,i=Vm(e),a=r.get(i);a||(a=n.querySelector(Hm(i)),a||(e=C({src:e,async:!0},t),(t=xm.get(i))&&Km(e,t),a=n.createElement(`script`),Vt(a),op(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=Bt(n).hoistableScripts,i=Vm(e),a=r.get(i);a||(a=n.querySelector(Hm(i)),a||(e=C({src:e,async:!0,type:`module`},t),(t=xm.get(i))&&Km(e,t),a=n.createElement(`script`),Vt(a),op(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=Ee.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=Bt(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=Bt(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=Bt(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="`+cn(e)+`"`}function Rm(e){return`link[rel="stylesheet"][`+e+`]`}function zm(e){return C({},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[Ft]){r.loading=1;return}}else t=e.createElement(`link`),t[Ft]=!0,t.onload=t.onerror=Ht.bind(null,t),op(t,`link`,n),Vt(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="`+cn(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~="`+cn(n.href)+`"]`);if(r)return t.instance=r,Vt(r),r;var a=C({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Vt(r),op(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,Vt(o),o;r=zm(n),(a=xm.get(a))&&Gm(r,a),o=(e.ownerDocument||e).createElement(`link`),Vt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),op(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,Vt(a),a):(r=n,(a=xm.get(o))&&(r=C({},n),Km(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Vt(a),op(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[Pt]||a[Dt]||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,Vt(a);return}a=t.ownerDocument||t,r=zm(r),(i=xm.get(i))&&Gm(r,i),a=a.createElement(`link`),Vt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),op(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*up());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:oe,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_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=vt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.hiddenUpdates=vt(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=Fi(3,null,null,t),e.current=a,a.stateNode=e,t=Fa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},vo(a),e}function ph(e){return e?(e=Ni,e):Ni}function mh(e,t,n,r,i,a){i=ph(i),r.context===null?r.context=i:r.pendingContext=i,r=bo(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=xo(e,r,t),n!==null&&(zd(n,e,t),So(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=Ai(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=Ct(t);var n=Ai(e,t);n!==null&&zd(n,e,t),gh(e,t)}}var yh=!0;function bh(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=2,Sh(e,t,n,r)}finally{O.p=a,D.T=i}}function xh(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=8,Sh(e,t,n,r)}finally{O.p=a,D.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=Rt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=ft(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-nt(o);s.entanglements[1]|=c,o&=~c}jf(a),!(H&6)&&(xd=We()+500,Mf(0,!1))}}break;case 31:case 13:s=Ai(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=Tn(e),Th(e)}var wh=null;function Th(e){if(wh=null,e=Lt(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(Ge()){case Ke:return 2;case qe:return 8;case Je:case Ye:return 32;case Xe: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=Rt(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=Lt(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,Tt(e.priority,function(){vh(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,Tt(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);wn=r,n.target.dispatchEvent(r),wn=null}else return t=Rt(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=Rt(n);a!==null&&(e.splice(t,3),t-=3,ic(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[Ot]||null;if(typeof a==`function`)o||Wh(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Ot]||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[kt]=null}};function Jh(e){this._internalRoot=e}Jh.prototype.unstable_scheduleHydration=function(e){if(e){var t=wt();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`));O.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:D,reconcilerVersion:`19.3.1`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Zh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zh.isDisabled&&Zh.supportsFiber)try{$e=Zh.inject(Xh),et=Zh}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Dc,s=Oc,c=kc;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[kt]=t.current,Jf(e),new qh(t)}})),ut=Qe(((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=lt()})),dt=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function ft(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:dt(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var pt=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},mt=e=>{let t=pt(e);return t.charAt(0).toUpperCase()+t.slice(1)},ht=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),gt={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 _t(e){return e!=null}function vt(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??gt.width,a=e.size??e.height??gt.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?ht(...c):ht(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??gt[`stroke-width`])*Number(e.size??e.width??gt.width)/Number(t.size??t.width??gt.width):t.strokeWidth??gt[`stroke-width`];return[`svg`,{...Object.entries(gt).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&_t(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&_t(t.width)&&{[r(`width`)]:t.width},...`height`in t&&_t(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 yt(e,t={}){return vt(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var bt=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},M=ot(),xt=(0,M.createContext)({}),St=()=>(0,M.useContext)(xt),Ct=(0,M.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=``}=St()??{},y=!!c||bt(d),[b,x,S=[]]=yt(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:ht(v,s),hasA11yProp:y,attributes:d});return(0,M.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,M.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function N(e,t=[],n=[]){let r=typeof e==`string`?ft(e,t,n):e,i=(0,M.forwardRef)(({className:e,...t},n)=>(0,M.createElement)(Ct,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=mt(r.name)),i}var wt={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`}]]};wt.node;var Tt=N(wt),Et={name:`case-sensitive`,size:24,node:[[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M22 9v7`,key:`pvm9v3`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}],[`circle`,{cx:`18.5`,cy:`12.5`,r:`3.5`,key:`z97x68`}]]};Et.node;var Dt=N(Et),Ot={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};Ot.node;var kt=N(Ot),At={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};At.node;var jt=N(At),Mt={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};Mt.node;var Nt=N(Mt),Pt={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`}]]};Pt.node;var Ft=N(Pt),It={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`}]]};It.node;var Lt=N(It),Rt={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`}]]};Rt.node;var zt=N(Rt),Bt={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};Bt.node;var Vt=N(Bt),Ht={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`}]]};Ht.node;var Ut=N(Ht),Wt={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`}]]};Wt.node;var Gt=N(Wt),Kt={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`}]]};Kt.node;var qt=N(Kt),Jt={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`}]]};Jt.node;var Yt=N(Jt),Xt={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`}]]};Xt.node;var P=N(Xt),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=N(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 en=N($t),tn={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`}]]};tn.node;var nn=N(tn),rn={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`}]]};rn.node;var an=N(rn),on={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`}]]};on.node;var sn=N(on),cn={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`}]]};cn.node;var ln=N(cn),un={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`}]]};un.node;var dn=N(un),fn={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`}]]};fn.node;var pn=N(fn),mn={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`}]]};mn.node;var hn=N(mn),gn={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`}]]};gn.node;var _n=N(gn),vn={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`}]]};vn.node;var yn=N(vn),bn={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`}]]};bn.node;var xn=N(bn),Sn={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`}]]};Sn.node;var Cn=N(Sn),wn={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`]};wn.node;var Tn=N(wn),En={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`]};En.node;var Dn=N(En),On={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};On.node;var kn=N(On),An={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`}]]};An.node;var jn=N(An),Mn={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`}]]};Mn.node;var Nn=N(Mn),Pn={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`}]]};Pn.node;var Fn=N(Pn),In={name:`regex`,size:24,node:[[`path`,{d:`M17 3v10`,key:`15fgeh`}],[`path`,{d:`m12.67 5.5 8.66 5`,key:`1gpheq`}],[`path`,{d:`m12.67 10.5 8.66-5`,key:`1dkfa6`}],[`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`,key:`swwfx4`}]]};In.node;var Ln=N(In),Rn={name:`remove-formatting`,size:24,node:[[`path`,{d:`M4 7V4h16v3`,key:`9msm58`}],[`path`,{d:`M5 20h6`,key:`1h6pxn`}],[`path`,{d:`M13 4 8 20`,key:`kqq6aj`}],[`path`,{d:`m15 15 5 5`,key:`me55sn`}],[`path`,{d:`m20 15-5 5`,key:`11p7ol`}]]};Rn.node;var zn=N(Rn),Bn={name:`replace`,size:24,node:[[`path`,{d:`M14 4a1 1 0 0 1 1-1`,key:`dhj8ez`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`,key:`1mnyi5`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`,key:`sfs9ap`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`,key:`mp6qeo`}],[`path`,{d:`m3 7 3 3 3-3`,key:`x25e72`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`,key:`15xut4`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}]]};Bn.node;var Vn=N(Bn),Hn={name:`replace-all`,size:24,node:[[`path`,{d:`M14 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`,key:`zg1ipl`}],[`path`,{d:`M14 4a1 1 0 0 1 1-1`,key:`dhj8ez`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`,key:`1mnyi5`}],[`path`,{d:`M19 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`,key:`txt6k4`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`,key:`sfs9ap`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`,key:`mp6qeo`}],[`path`,{d:`m3 7 3 3 3-3`,key:`x25e72`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`,key:`15xut4`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}]]};Hn.node;var Un=N(Hn),Wn={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`}]]};Wn.node;var Gn=N(Wn),Kn={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`}]]};Kn.node;var qn=N(Kn),Jn={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`}]]};Jn.node;var Yn=N(Jn),Xn={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};Xn.node;var Zn=N(Xn),Qn={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`}]]};Qn.node;var $n=N(Qn),er={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`}]]};er.node;var tr=N(er),nr={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`}]]};nr.node;var rr=N(nr),ir={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`]};ir.node;var ar=N(ir),or={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`}]]};or.node;var sr=N(or),cr={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`}]]};cr.node;var lr=N(cr),ur={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`]};ur.node;var dr=N(ur),fr={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`]};fr.node;var pr=N(fr),mr={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`}]]};mr.node;var hr=N(mr),gr={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`}]]};gr.node;var _r=N(gr),vr={name:`whole-word`,size:24,node:[[`circle`,{cx:`7`,cy:`12`,r:`3`,key:`12clwm`}],[`path`,{d:`M10 9v6`,key:`17i7lo`}],[`circle`,{cx:`17`,cy:`12`,r:`3`,key:`gl7c2s`}],[`path`,{d:`M14 7v8`,key:`dl84cr`}],[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`,key:`lt2kga`}]]};vr.node;var yr=N(vr),br={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};br.node;var xr=N(br),Sr=ut(),Cr=[`en`,`es`,`fr`,`pt`,`de`,`it`],wr={en:`English`,es:`Español`,fr:`Français`,pt:`Português`,de:`Deutsch`,it:`Italiano`},Tr=[`agent`,`rules`,`proposals`,`live`,`translations`,`dashboard`,`skills`,`vscode`],Er={rules:`agent`,proposals:`agent`,live:`agent`,translations:`agent`},Dr=e=>({q:e.q,case:e.case?`1`:``,word:e.word?`1`:``,regex:e.regex?`1`:``,rendered:e.rendered?`1`:``,include:e.include,exclude:e.exclude,ignored:e.ignored?`1`:``});async function F(e,t,n,r){let i=await fetch(t,{method:e,signal:r,headers:n?{"content-type":`application/json`}:void 0,body:n?JSON.stringify(n):void 0}),a=await i.json();if(!i.ok)throw Error(a.error??i.statusText);return a}var Or=encodeURIComponent,I={info:()=>F(`GET`,`/api/info`),setFeature:(e,t)=>F(`PUT`,`/api/features`,{feature:e,on:t}),setProposals:(e,t)=>F(`PUT`,`/api/proposals`,{active:e,layout:t}),setConfig:e=>F(`PUT`,`/api/config`,e),translations:()=>F(`GET`,`/api/translations`),waiting:()=>F(`GET`,`/api/waiting`),link:(e=!1)=>F(`POST`,`/api/link`,{skip:e}),settings:()=>F(`GET`,`/api/settings`),saveSettings:e=>F(`PUT`,`/api/settings`,e),keepLanguage:e=>F(`POST`,`/api/keep-language`,{path:e}),tree:e=>F(`GET`,`/api/tree?lang=${e}`),file:(e,t)=>F(`GET`,`/api/file?path=${Or(e)}&lang=${t}`),save:(e,t,n,r)=>F(`PUT`,`/api/file`,{path:e,content:t,target:n,lang:r}),create:e=>F(`POST`,`/api/file`,{path:e}),createDir:e=>F(`POST`,`/api/dir`,{path:e}),deletePreview:e=>F(`GET`,`/api/delete-preview?path=${Or(e)}`),remove:e=>F(`DELETE`,`/api/path?path=${Or(e)}`),ignore:(e,t,n)=>F(`POST`,`/api/ignore`,{path:e,kind:t,ignored:n}),search:(e,t,n)=>F(`GET`,`/api/search?${new URLSearchParams({...Dr(e),lang:t})}`,void 0,n),replace:(e,t,n,r,i)=>F(`POST`,`/api/replace`,{...Dr(e),lang:t,replacement:n,path:r,only:i}),diff:e=>F(`GET`,`/api/diff?path=${Or(e)}`),dashboard:()=>F(`GET`,`/api/dashboard`),rules:()=>F(`GET`,`/api/rules`),saveRule:e=>F(`PUT`,`/api/rules`,e),deleteRule:e=>F(`DELETE`,`/api/rules?id=${Or(e)}`),applyRules:e=>F(`POST`,`/api/rules/apply`,{ids:e}),skills:()=>F(`GET`,`/api/skills`),setSkillTags:(e,t)=>F(`PUT`,`/api/skills/tags`,{name:e,tags:t}),skillFile:e=>F(`GET`,`/api/skills/file?key=${Or(e)}`),saveSkillFile:(e,t)=>F(`PUT`,`/api/skills/file`,{key:e,content:t}),installSkill:(e,t,n)=>F(`POST`,`/api/skills/install`,{key:e,targets:t,overwrite:n})};function kr(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 Ar=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=Fr(e.state,n.from);return r.line?Mr(e):r.block?Pr(e):!1};function jr(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 Mr=jr(Br,0),Nr=jr(zr,0),Pr=jr((e,t)=>zr(e,t,Rr(t)),0);function Fr(e,t){let n=e.languageDataAt(`commentTokens`,t,1);return n.length?n[0]:{}}var Ir=50;function Lr(e,{open:t,close:n},r,i){let a=e.sliceDoc(r-Ir,r),o=e.sliceDoc(i,i+Ir),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+Ir),d=e.sliceDoc(i-Ir,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 Rr(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 zr(e,t,n=t.selection.ranges){let r=n.map(e=>Fr(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>Lr(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 Br(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=Fr(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 Vr=Ae.define(),Hr=Ae.define(),Ur=Ie.define(),Wr=Ie.define({combine(e){return He(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)})}}),Gr=ge.define({create(){return pi.empty},update(e,t){let n=t.state.facet(Wr),r=t.annotation(Vr);if(r){let i=ti.fromTransaction(t,r.selection),a=r.side,o=a==0?e.undone:e.done;return o=i?ni(o,o.length,n.minDepth,i):ci(o,t.startState.selection),new pi(a==0?r.rest:o,a==0?o:r.rest)}let i=t.annotation(Hr);if((i==`full`||i==`before`)&&(e=e.isolate()),t.annotation(Re.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let a=ti.fromTransaction(t),o=t.annotation(Re.time),s=t.annotation(Re.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 pi(e.done.map(ti.fromJSON),e.undone.map(ti.fromJSON))}});function Kr(e={}){return[Gr,Wr.of(e),w.domEventHandlers({beforeinput(e,t){let n=e.inputType==`historyUndo`?Jr:e.inputType==`historyRedo`?Yr:null;return n?(e.preventDefault(),n(t)):!1}})]}function qr(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(Gr,!1);if(!i)return!1;let a=i.pop(e,n,t);return a?(r(a),!0):!1}}var Jr=qr(0,!1),Yr=qr(1,!1),Xr=qr(0,!0),Zr=qr(1,!0);function Qr(e){return function(t){let n=t.field(Gr,!1);if(!n)return 0;let r=e==0?n.done:n.undone;return r.length-(r.length&&!r[0].changes?1:0)}}var $r=Qr(0),ei=Qr(1),ti=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&&oe.fromJSON(t.changes),[],t.mapped&&be.fromJSON(t.mapped),t.startSelection&&E.fromJSON(t.startSelection),t.selectionsAfter.map(E.fromJSON))}static fromTransaction(t,n){let r=oi;for(let e of t.startState.facet(Ur)){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,oi)}static selection(t){return new e(void 0,oi,void 0,void 0,t)}};function ni(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 ri(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 ii(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length===0}function ai(e,t){return e.length?t.length?e.concat(t):e:t}var oi=[],si=200;function ci(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-si));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),ni(e,e.length-1,1e9,n.setSelAfter(r)))}return[ti.selection([t])]}function li(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 ui(e,t){if(!e.length)return e;let n=e.length,r=oi;for(;n;){let i=di(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?[ti.selection(r)]:oi}function di(e,t,n){let r=ai(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):oi,n);if(!e.changes)return ti.selection(r);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(a):a;return new ti(i,ve.mapEffects(e.effects,t),o,e.startSelection.map(a),r)}var fi=/^(input\.type|delete)($|\.)/,pi=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||fi.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(a,ri(s.changes,t.changes))||r==`input.type.compose`)?ni(o,o.length-1,i.minDepth,new ti(t.changes.compose(s.changes),ai(ve.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,oi)):ni(o,o.length,i.minDepth,t),new e(o,oi,n,r)}addSelection(t,n,r,i){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:oi;return a.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&ii(a[a.length-1],t)?this:new e(ci(this.done,t),this.undone,n,r)}addMapping(t){return new e(ui(this.done,t),ui(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:Vr.of({side:e,rest:li(r),selection:a}),userEvent:e==0?`select.undo`:`select.redo`,scrollIntoView:!0});if(i.changes){let n=r.length==1?oi:r.slice(0,r.length-1);return i.mapped&&(n=ui(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:Vr.of({side:e,rest:n,selection:a}),filter:!1,userEvent:e==0?`undo`:`redo`,scrollIntoView:!0})}return null}};pi.empty=new pi(oi,oi);var mi=[{key:`Mod-z`,run:Jr,preventDefault:!0},{key:`Mod-y`,mac:`Mod-Shift-z`,run:Yr,preventDefault:!0},{linux:`Ctrl-Shift-z`,run:Yr,preventDefault:!0},{key:`Mod-u`,run:Xr,preventDefault:!0},{key:`Alt-u`,mac:`Mod-Shift-u`,run:Zr,preventDefault:!0}];function hi(e,t){return E.create(e.ranges.map(t),e.mainIndex)}function gi(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:`select`})}function _i({state:e,dispatch:t},n){let r=hi(e.selection,n);return!r.eq(e.selection,!0)&&(t(gi(e,r)),!0)}function vi(e,t){return E.cursor(t?e.to:e.from)}function yi(e,t){return _i(e,n=>n.empty?e.moveByChar(n,t):vi(n,t))}function bi(e){return e.textDirectionAt(e.state.selection.main.head)==ee.LTR}var xi=e=>yi(e,!bi(e)),Si=e=>yi(e,bi(e));function Ci(e,t){return _i(e,n=>n.empty?e.moveByGroup(n,t):vi(n,t))}var wi=e=>Ci(e,!bi(e)),Ti=e=>Ci(e,bi(e));typeof Intl<`u`&&Intl.Segmenter;function Ei(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 Di(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;Ei(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,E.cursor(u,r?-1:1)}var Oi=e=>_i(e,t=>Di(e.state,t,!bi(e))),ki=e=>_i(e,t=>Di(e.state,t,bi(e)));function Ai(e,t){return _i(e,n=>{if(!n.empty)return vi(n,t);let r=e.moveVertically(n,t);return r.head==n.head?e.moveToLineBoundary(n,t):r})}var ji=e=>Ai(e,!1),Mi=e=>Ai(e,!0);function Ni(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,i;if(t){for(let t of e.state.facet(w.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 Pi(e,t){let n=Ni(e),{state:r}=e,i=hi(r.selection,r=>r.empty?e.moveVertically(r,t,n.height):vi(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=w.scrollIntoView(i.main.head,{y:`start`,yMargin:t.top-s}))}return e.dispatch(gi(r,i),{effects:a}),!0}var Fi=e=>Pi(e,!1),Ii=e=>Pi(e,!0);function Li(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=E.cursor(r.from+n))}return i}var Ri=e=>_i(e,t=>Li(e,t,!0)),zi=e=>_i(e,t=>Li(e,t,!1)),Bi=e=>_i(e,t=>Li(e,t,!bi(e))),Vi=e=>_i(e,t=>Li(e,t,bi(e))),Hi=e=>_i(e,t=>e.moveToLineBoundary(t,!1,!1)),Ui=e=>_i(e,t=>e.moveToLineBoundary(t,!0,!1));function Wi(e,t,n){let r=!1,i=hi(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?E.range(t.anchor,o):E.cursor(o)});return r?(t(gi(e,i)),!0):!1}var Gi=({state:e,dispatch:t})=>Wi(e,t,!1);function Ki(e,t,n){let r=hi(e.state.selection,e=>{e.undirectional&&e.head>=e.anchor!=t&&(e=E.range(e.head,e.anchor));let r=n(e);return E.range(e.anchor,r.head,r.goalColumn,r.bidiLevel||void 0,r.assoc)});return!r.eq(e.state.selection)&&(e.dispatch(gi(e.state,r)),!0)}function qi(e,t){return Ki(e,t,n=>e.moveByChar(n,t))}var Ji=e=>qi(e,!bi(e)),Yi=e=>qi(e,bi(e));function Xi(e,t){return Ki(e,t,n=>e.moveByGroup(n,t))}var Zi=e=>Xi(e,!bi(e)),Qi=e=>Xi(e,bi(e)),$i=e=>{let t=!bi(e);return Ki(e,t,n=>Di(e.state,n,t))},ea=e=>{let t=bi(e);return Ki(e,t,n=>Di(e.state,n,t))};function ta(e,t){return Ki(e,t,n=>e.moveVertically(n,t))}var na=e=>ta(e,!1),ra=e=>ta(e,!0);function ia(e,t){return Ki(e,t,n=>e.moveVertically(n,t,Ni(e).height))}var aa=e=>ia(e,!1),oa=e=>ia(e,!0),sa=e=>Ki(e,!0,t=>Li(e,t,!0)),L=e=>Ki(e,!1,t=>Li(e,t,!1)),ca=e=>{let t=!bi(e);return Ki(e,t,n=>Li(e,n,t))},la=e=>{let t=bi(e);return Ki(e,t,n=>Li(e,n,t))},ua=e=>Ki(e,!1,t=>E.cursor(e.lineBlockAt(t.head).from)),da=e=>Ki(e,!0,t=>E.cursor(e.lineBlockAt(t.head).to)),fa=({state:e,dispatch:t})=>(t(gi(e,{anchor:0})),!0),pa=({state:e,dispatch:t})=>(t(gi(e,{anchor:e.doc.length})),!0),ma=({state:e,dispatch:t})=>(t(gi(e,{anchor:e.selection.main.anchor,head:0})),!0),ha=({state:e,dispatch:t})=>(t(gi(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),ga=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:`select`})),!0),_a=({state:e,dispatch:t})=>{let n=Ia(e).map(({from:t,to:n})=>E.undirectionalRange(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:E.create(n),userEvent:`select`})),!0},va=({state:e,dispatch:n})=>{let r=hi(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 E.undirectionalRange(t.from,t.to)}return n});return!r.eq(e.selection)&&(n(gi(e,r)),!0)};function ya(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(gi(n,E.create(i,i.length-1))),!0)}var ba=e=>ya(e,!1),xa=e=>ya(e,!0),Sa=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=E.create([n.main]):n.main.empty||(r=E.create([E.cursor(n.main.head)])),r?(t(gi(e,r)),!0):!1};function Ca(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=wa(e,o,!1)):o>i&&(n=`delete.forward`,o=wa(e,o,!0)),i=Math.min(i,o),a=Math.max(a,o)}else i=wa(e,i,!1),a=wa(e,a,!0);return i==a?{range:r}:{changes:{from:i,to:a},range:E.cursor(i,i<r.head?-1:1)}});return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:n==`delete.selection`?w.announce.of(r.phrase(`Selection deleted`)):void 0})),!0)}function wa(e,t,n){if(e instanceof w)for(let r of e.state.facet(w.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}var Ta=(e,t,n)=>Ca(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=x(c,o.tabSize)%Ve(o)||Ve(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}),Ea=e=>Ta(e,!1,!0),Da=e=>Ta(e,!0,!1),Oa=(e,t)=>Ca(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}),ka=e=>Oa(e,!1),Aa=e=>Oa(e,!0),ja=e=>Ca(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),Ma=e=>Ca(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),Na=e=>Ca(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),Pa=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:ie.of([``,``])},range:E.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:`input`})),!0},Fa=({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:E.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:`move.character`})),!0)};function Ia(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 La(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of Ia(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(E.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(E.range(e.anchor-o,e.head-o))}}return r.length?(t(e.update({changes:r,scrollIntoView:!0,selection:E.create(i,e.selection.mainIndex),userEvent:`move.line`})),!0):!1}var Ra=({state:e,dispatch:t})=>La(e,t,!1),za=({state:e,dispatch:t})=>La(e,t,!0);function Ba(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of Ia(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 Va=({state:e,dispatch:t})=>Ba(e,t,!1),Ha=({state:e,dispatch:t})=>Ba(e,t,!0),Ua=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(Ia(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=hi(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 Wa(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 Ga=qa(!1),Ka=qa(!0);function qa(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&&Wa(t,r);e&&(r=i=(i<=a.to?a:t.doc.lineAt(i)).to);let s=new we(t,{simulateBreak:r,simulateDoubleBreak:!!o}),c=b(s,r);for(c??=x(/^\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=[``,ze(t,c)];return o&&l.push(ze(t,s.lineIndent(a.from,-1))),{changes:{from:r,to:i,insert:ie.of(l)},range:E.cursor(r+1+l[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:`input`})),!0}}function Ja(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:E.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}})}var Ya=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new we(e,{overrideIndentation:e=>n[e]??-1}),i=Ja(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=ze(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},Xa=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ja(e,(t,n)=>{n.push({from:t.from,insert:e.facet(S)})}),{userEvent:`input.indent`})),!0),Za=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Ja(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=x(r,e.tabSize),a=0,o=ze(e,Math.max(0,i-Ve(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),Qa=e=>(e.setTabFocusMode(),!0),$a=[{key:`Ctrl-b`,run:xi,shift:Ji,preventDefault:!0},{key:`Ctrl-f`,run:Si,shift:Yi},{key:`Ctrl-p`,run:ji,shift:na},{key:`Ctrl-n`,run:Mi,shift:ra},{key:`Ctrl-a`,run:Hi,shift:ua},{key:`Ctrl-e`,run:Ui,shift:da},{key:`Ctrl-d`,run:Da},{key:`Ctrl-h`,run:Ea},{key:`Ctrl-k`,run:ja},{key:`Ctrl-Alt-h`,run:ka},{key:`Ctrl-o`,run:Pa},{key:`Ctrl-t`,run:Fa},{key:`Ctrl-v`,run:Ii}],eo=[{key:`ArrowLeft`,run:xi,shift:Ji,preventDefault:!0},{key:`Mod-ArrowLeft`,mac:`Alt-ArrowLeft`,run:wi,shift:Zi,preventDefault:!0},{mac:`Cmd-ArrowLeft`,run:Bi,shift:ca,preventDefault:!0},{key:`ArrowRight`,run:Si,shift:Yi,preventDefault:!0},{key:`Mod-ArrowRight`,mac:`Alt-ArrowRight`,run:Ti,shift:Qi,preventDefault:!0},{mac:`Cmd-ArrowRight`,run:Vi,shift:la,preventDefault:!0},{key:`ArrowUp`,run:ji,shift:na,preventDefault:!0},{mac:`Cmd-ArrowUp`,run:fa,shift:ma},{mac:`Ctrl-ArrowUp`,run:Fi,shift:aa},{key:`ArrowDown`,run:Mi,shift:ra,preventDefault:!0},{mac:`Cmd-ArrowDown`,run:pa,shift:ha},{mac:`Ctrl-ArrowDown`,run:Ii,shift:oa},{key:`PageUp`,run:Fi,shift:aa},{key:`PageDown`,run:Ii,shift:oa},{key:`Home`,run:zi,shift:L,preventDefault:!0},{key:`Mod-Home`,run:fa,shift:ma},{key:`End`,run:Ri,shift:sa,preventDefault:!0},{key:`Mod-End`,run:pa,shift:ha},{key:`Enter`,run:Ga,shift:Ga},{key:`Mod-a`,run:ga},{key:`Backspace`,run:Ea,shift:Ea,preventDefault:!0},{key:`Delete`,run:Da,preventDefault:!0},{key:`Mod-Backspace`,mac:`Alt-Backspace`,run:ka,preventDefault:!0},{key:`Mod-Delete`,mac:`Alt-Delete`,run:Aa,preventDefault:!0},{mac:`Mod-Backspace`,run:Ma,preventDefault:!0},{mac:`Mod-Delete`,run:Na,preventDefault:!0}].concat($a.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),to=[{key:`Alt-ArrowLeft`,mac:`Ctrl-ArrowLeft`,run:Oi,shift:$i},{key:`Alt-ArrowRight`,mac:`Ctrl-ArrowRight`,run:ki,shift:ea},{key:`Alt-ArrowUp`,run:Ra},{key:`Shift-Alt-ArrowUp`,run:Va},{key:`Alt-ArrowDown`,run:za},{key:`Shift-Alt-ArrowDown`,run:Ha},{key:`Mod-Alt-ArrowUp`,run:ba},{key:`Mod-Alt-ArrowDown`,run:xa},{key:`Escape`,run:Sa},{key:`Mod-Enter`,run:Ka},{key:`Alt-l`,mac:`Ctrl-l`,run:_a},{key:`Mod-i`,run:va,preventDefault:!0},{key:`Mod-[`,run:Za},{key:`Mod-]`,run:Xa},{key:`Mod-Alt-\\`,run:Ya},{key:`Shift-Mod-k`,run:Ua},{key:`Shift-Mod-\\`,run:Gi},{key:`Mod-/`,run:Ar},{key:`Alt-A`,mac:`Ctrl-A`,run:Nr},{key:`Ctrl-m`,mac:`Shift-Alt-m`,run:Qa}].concat(eo),no={key:`Tab`,run:Xa,shift:Za},ro=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFKD`):e=>e,io=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(ro(e)):ro,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 We(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=Be(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=ce(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`&&(io.prototype[Symbol.iterator]=function(){return this});var ao={from:-1,to:-1,match:/.*/.exec(``),precise:!0},oo=`gm`+(/x/.unicode==null?``:`u`),so=class{constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine=``,this.done=!1,this.value=ao,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new uo(e,t,n,r,i);this.re=new RegExp(t,oo+(n?.ignoreCase?`i`:``)),this.test=n?.test,this.iter=e.iter();let a=e.lineAt(r);this.curLineStart=a.from,this.matchPos=po(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=po(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}}},co=new WeakMap,lo=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=co.get(t);if(!i||i.from>=r||i.to<=n){let i=new e(n,t.sliceString(n,r));return co.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)),co.set(t,new e(o,a)),new e(n,a.slice(n-o,r-o))}},uo=class{constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=ao,this.matchPos=po(e,r),this.re=new RegExp(t,oo+(n?.ignoreCase?`i`:``)),this.test=n?.test,this.flat=lo.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=po(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=lo.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol<`u`&&(so.prototype[Symbol.iterator]=uo.prototype[Symbol.iterator]=function(){return this});function fo(e){try{return new RegExp(e,oo),!0}catch{return!1}}function po(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 mo=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=E.cursor(f.from+Math.max(0,Math.min(u,f.length)));t.dispatch({effects:[a,w.scrollIntoView(p.from,{y:`center`})],selection:p})}),!0},ho={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},go=Ie.define({combine(e){return He(e,ho,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function _o(e){let t=[Co,So];return e&&t.push(go.of(e)),t}var vo=l.mark({class:`cm-selectionMatch`}),yo=l.mark({class:`cm-selectionMatch cm-selectionMatch-main`});function bo(e,t,n,r){return(n==0||e(t.sliceDoc(n-1,n))!=Te.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=Te.Word)}function xo(e,t,n,r){return e(t.sliceDoc(n,n+1))==Te.Word&&e(t.sliceDoc(r-1,r))==Te.Word}var So=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(go),{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),!(bo(o,n,i.from,i.to)&&xo(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 io(n.doc,a,r.from,r.to);for(;!e.next().done;){let{from:r,to:a}=e.value;if((!o||bo(o,n,r,a))&&(i.empty&&r<=i.from&&a>=i.to?s.push(yo.range(r,a)):(r>=i.to||a<=i.from)&&s.push(vo.range(r,a)),s.length>t.maxMatches))return l.none}}return l.set(s)}},{decorations:e=>e.decorations}),Co=w.baseTheme({".cm-selectionMatch":{backgroundColor:`#99ff7780`},".cm-searchMatch .cm-selectionMatch":{backgroundColor:`transparent`}}),wo=({state:e,dispatch:t})=>{let{selection:n}=e,r=E.create(n.ranges.map(t=>e.wordAt(t.head)||E.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)};function To(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 io(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new io(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 Eo=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return wo({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=To(e,r);return i?(t(e.update({selection:e.selection.addRange(E.range(i.from,i.to),!1),effects:w.scrollIntoView(i.to)})),!0):!1},Do=Ie.define({combine(e){return He(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new cs(e),scrollToMatch:e=>w.scrollIntoView(e)})}});function Oo(e){return e?[Do.of(e),ms]:ms}var ko=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||fo(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 Bo(this):new Po(this)}getCursor(e,t=0,n){let r=e.doc?e:xe.create({doc:e});return n??=r.doc.length,this.regexp?Io(this,r,t,n):Mo(this,r,t,n)}},Ao=class{constructor(e){this.spec=e}};function jo(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 Mo(e,t,n,r){let i;return e.wholeWord&&(i=No(t.doc,t.charCategorizer(t.selection.main.head))),e.test&&(i=jo(e.test,t,i)),new io(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),i)}function No(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(Lo(i,n-a))!=Te.Word||t(Ro(i,n-a))!=Te.Word)&&(t(Ro(i,r-a))!=Te.Word||t(Lo(i,r-a))!=Te.Word))}var Po=class extends Ao{constructor(e){super(e)}nextMatch(e,t,n){let r=Mo(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=Mo(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=Mo(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=Mo(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=Mo(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 Fo(e,t,n){return(r,i,a)=>(!n||n(r,i,a))&&e(a[0],t,r,i)}function Io(e,t,n,r){let i;return e.wholeWord&&(i=zo(t.charCategorizer(t.selection.main.head))),e.test&&(i=Fo(e.test,t,i)),new so(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:i},n,r)}function Lo(e,t){return e.slice(i(e,t,!1),t)}function Ro(e,t){return e.slice(t,i(e,t))}function zo(e){return(t,n,r)=>!r[0].length||(e(Lo(r.input,r.index))!=Te.Word||e(Ro(r.input,r.index))!=Te.Word)&&(e(Ro(r.input,r.index+r[0].length))!=Te.Word||e(Lo(r.input,r.index+r[0].length))!=Te.Word)}var Bo=class extends Ao{nextMatch(e,t,n){let r=Io(this.spec,e,n,e.doc.length).next();return r.done&&(r=Io(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=Io(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=Io(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=Io(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)}},Vo=ve.define(),Ho=ve.define(),Uo=ge.define({create(e){return new Go(ns(e).create(),null)},update(e,t){for(let n of t.effects)n.is(Vo)?e=new Go(n.value.create(),e.panel):n.is(Ho)&&(e=new Go(e.query,n.value?ts:null));return e},provide:e=>fe.from(e,e=>e.panel)});function Wo(e){let t=e.field(Uo,!1);return t?t.query.spec:ns(e)}var Go=class{constructor(e,t){this.query=e,this.panel=t}},R=l.mark({class:`cm-searchMatch`}),Ko=l.mark({class:`cm-searchMatch cm-searchMatch-selected`}),qo=c.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(Uo))}update(e){let t=e.state.field(Uo);(t!=e.startState.field(Uo)||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 De;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?Ko:R)})}return r.finish()}},{decorations:e=>e.decorations});function Jo(e){return t=>{let n=t.state.field(Uo,!1);return n&&n.query.spec.valid?e(t,n):as(t)}}var Yo=Jo((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=E.single(r.from,r.to),a=e.state.facet(Do);return e.dispatch({selection:i,effects:[fs(e,r),a.scrollToMatch(i.main,e)],userEvent:`select.search`}),is(e),!0}),Xo=Jo((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let a=E.single(i.from,i.to),o=e.state.facet(Do);return e.dispatch({selection:a,effects:[fs(e,i),o.scrollToMatch(a.main,e)],userEvent:`select.search`}),is(e),!0}),Zo=Jo((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!n||!n.length?!1:(e.dispatch({selection:E.create(n.map(e=>E.range(e.from,e.to))),userEvent:`select.search.matches`}),!0)}),Qo=({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 io(e.doc,e.sliceDoc(r,i));!t.next().done;){if(a.length>1e3)return!1;t.value.from==r&&(o=a.length),a.push(E.range(t.value.from,t.value.to))}return t(e.update({selection:E.create(a,o),userEvent:`select.search.matches`})),!0},$o=Jo((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(w.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=E.single(o.from,o.to).map(d),u.push(fs(e,o)),u.push(n.facet(Do).scrollToMatch(c.main,e))),e.dispatch({changes:d,selection:c,effects:u,userEvent:`input.replace`}),!0}),es=Jo((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:w.announce.of(r),userEvent:`input.replace.all`}),!0});function ts(e){return e.state.facet(Do).createPanel(e)}function ns(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(Do);return new ko({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 rs(e){let t=ne(e,ts);return t&&t.dom.querySelector(`[main-field]`)}function is(e){let t=rs(e);t&&t==e.root.activeElement&&t.select()}var as=e=>{let t=e.state.field(Uo,!1);if(t&&t.panel){let n=rs(e);if(n&&n!=e.root.activeElement){let r=ns(e.state,t.query.spec);r.valid&&e.dispatch({effects:Vo.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[Ho.of(!0),t?Vo.of(ns(e.state,t.query.spec)):ve.appendConfig.of(ms)]});return!0},os=e=>{let t=e.state.field(Uo,!1);if(!t||!t.panel)return!1;let n=ne(e,ts);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:Ho.of(!1)}),!0},ss=[{key:`Mod-f`,run:as,scope:`editor search-panel`},{key:`F3`,run:Yo,shift:Xo,scope:`editor search-panel`,preventDefault:!0},{key:`Mod-g`,run:Yo,shift:Xo,scope:`editor search-panel`,preventDefault:!0},{key:`Escape`,run:os,scope:`editor search-panel`},{key:`Mod-Shift-l`,run:Qo},{key:`Mod-Alt-g`,run:mo},{key:`Mod-d`,run:Eo,preventDefault:!0}],cs=class{constructor(e){this.view=e;let t=this.query=e.state.field(Uo).query.spec;this.commit=this.commit.bind(this),this.searchField=j(`input`,{value:t.search,placeholder:ls(e,`Find`),"aria-label":ls(e,`Find`),class:`cm-textfield`,name:`search`,form:``,"main-field":`true`,onchange:this.commit,onkeyup:this.commit}),this.replaceField=j(`input`,{value:t.replace,placeholder:ls(e,`Replace`),"aria-label":ls(e,`Replace`),class:`cm-textfield`,name:`replace`,form:``,onchange:this.commit,onkeyup:this.commit}),this.caseField=j(`input`,{type:`checkbox`,name:`case`,form:``,checked:t.caseSensitive,onchange:this.commit}),this.reField=j(`input`,{type:`checkbox`,name:`re`,form:``,checked:t.regexp,onchange:this.commit}),this.wordField=j(`input`,{type:`checkbox`,name:`word`,form:``,checked:t.wholeWord,onchange:this.commit});function n(e,t,n){return j(`button`,{class:`cm-button`,name:e,onclick:t,type:`button`},n)}this.dom=j(`div`,{onkeydown:e=>this.keydown(e),class:`cm-search`},[this.searchField,n(`next`,()=>Yo(e),[ls(e,`next`)]),n(`prev`,()=>Xo(e),[ls(e,`previous`)]),n(`select`,()=>Zo(e),[ls(e,`all`)]),j(`label`,null,[this.caseField,ls(e,`match case`)]),j(`label`,null,[this.reField,ls(e,`regexp`)]),j(`label`,null,[this.wordField,ls(e,`by word`)]),...e.state.readOnly?[]:[j(`br`),this.replaceField,n(`replace`,()=>$o(e),[ls(e,`replace`)]),n(`replaceAll`,()=>es(e),[ls(e,`replace all`)])],j(`button`,{name:`close`,onclick:()=>os(e),"aria-label":ls(e,`close`),type:`button`},[`×`])])}commit(){let e=new ko({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:Vo.of(e)}))}keydown(e){v(this.view,e,`search-panel`)?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Xo:Yo)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),$o(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(Vo)&&!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(Do).top}};function ls(e,t){return e.state.phrase(t)}var us=30,ds=/[\s\.,:;?!]/;function fs(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-us),o=Math.min(i,n+us),s=e.state.sliceDoc(a,o);if(a!=r.from){for(let e=0;e<us;e++)if(!ds.test(s[e+1])&&ds.test(s[e])){s=s.slice(e);break}}if(o!=i){for(let e=s.length-1;e>s.length-us;e--)if(!ds.test(s[e-1])&&ds.test(s[e])){s=s.slice(0,e);break}}return w.announce.of(`${e.state.phrase(`current match`)}. ${s} ${e.state.phrase(`on line`)} ${r.number}.`)}var ps=w.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`}}),ms=[Uo,me.low(qo),ps];function hs(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var gs=hs();function _s(e){gs=e}var vs={exec:()=>null};function ys(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 z(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(xs.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var bs=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),xs={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:ys(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:ys(e=>RegExp(`^ {0,${e}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:ys(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:ys(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:ys(e=>RegExp(`^ {0,${e}}(?:</?(?:${Is})(?: +|$|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`,`i`)),blockquoteBeginRegex:ys(e=>RegExp(`^ {0,${e}}>`))},Ss=/^(?:[ \t]*(?:\n|$))+/,Cs=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ws=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ts=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Es=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ds=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Os=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ks=z(Os).replace(/bull/g,Ds).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(),As=z(Os).replace(/bull/g,Ds).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(),js=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,Ms=/^[^\n]+/,Ns=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ps=z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,Ns).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Fs=z(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Ds).getRegex(),Is=`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`,Ls=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Rs=z(`^ {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`,Ls).replace(`tag`,Is).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),zs=e=>z(js).replace(`hr`,Ts).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`,Is).getRegex(),Bs=zs(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),Vs=zs(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),Hs={blockquote:z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,Vs).getRegex(),code:Cs,def:Ps,fences:ws,heading:Es,hr:Ts,html:Rs,lheading:ks,list:Fs,newline:Ss,paragraph:Bs,table:vs,text:Ms},Us=z(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,Ts).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`,Is).getRegex(),Ws={...Hs,lheading:As,table:Us,paragraph:z(js).replace(`hr`,Ts).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,Us).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`,Is).getRegex()},Gs={...Hs,html:z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,Ls).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:vs,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:z(js).replace(`hr`,Ts).replace(`heading`,` *#{1,6} *[^
|
|
12
|
-
]`).replace(`lheading`,ks).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},Ks=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,qs=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Js=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,Ys=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Xs=/[\p{P}\p{S}]/u,Zs=/[\s\p{P}\p{S}]/u,Qs=/[^\s\p{P}\p{S}]/u,$s=z(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,Zs).getRegex(),ec=/[\p{Pi}\p{Ps}"']/u,tc=/(?!~)[\p{P}\p{S}]/u,nc=/(?!~)[\s\p{P}\p{S}]/u,rc=/(?:[^\s\p{P}\p{S}]|~)/u,ic=z(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,bs?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),ac=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,oc=z(ac,`u`).replace(/punct/g,Xs).getRegex(),sc=z(ac,`u`).replace(/punct/g,tc).getRegex(),cc=z(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,`u`).replace(/openQuote/g,ec).replace(/punct/g,Xs).getRegex(),lc=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,uc=z(lc,`gu`).replace(/notPunctSpace/g,Qs).replace(/punctSpace/g,Zs).replace(/punct/g,Xs).getRegex(),dc=z(lc,`gu`).replace(/notPunctSpace/g,rc).replace(/punctSpace/g,nc).replace(/punct/g,tc).getRegex(),fc=z(`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Qs).replace(/punctSpace/g,Zs).replace(/punct/g,Xs).getRegex(),pc=z(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,Qs).replace(/punctSpace/g,Zs).replace(/punct/g,Xs).getRegex(),mc=z(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Qs).replace(/punctSpace/g,Zs).replace(/punct/g,Xs).getRegex(),hc=z(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,Xs).getRegex(),gc=z(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Qs).replace(/punctSpace/g,Zs).replace(/punct/g,Xs).getRegex(),_c=z(/\\(punct)/,`gu`).replace(/punct/g,Xs).getRegex(),vc=z(/(`+)(?:[^`]|[^`][\s\S]*?[^`])\1(?!`)|`+|\\(punct)/,`gu`).replace(/punct/g,Xs).getRegex(),yc=z(/^<(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(),bc=z(Ls).replace(`(?:-->|$)`,`-->`).getRegex(),xc=z(`^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`,bc).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Sc=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,Cc=z(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace(`brackets`,Sc).getRegex(),wc=z(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace(`label`,Cc).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Tc=z(/^!?\[(label)\]\[(ref)\]/).replace(`label`,Cc).replace(`ref`,Ns).getRegex(),Ec=z(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,Ns).getRegex(),Dc=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,Oc=z(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace(`brackets`,Sc).getRegex(),kc=z(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,z(/^!?\[(label)\]\[(ref)\]/).replace(`label`,Oc).replace(`ref`,Dc).getRegex()).replace(`nolink`,z(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,Dc).getRegex()).getRegex(),Ac=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,jc=z(/(?: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(),Mc={_backpedal:vs,anyPunctuation:_c,anyPunctuationOutsideCode:vc,autolink:yc,blockSkip:ic,br:Js,code:qs,del:vs,delLDelim:vs,delRDelim:vs,emStrongLDelim:oc,emStrongRDelimAst:uc,emStrongRDelimUnd:pc,escape:Ks,link:wc,nolink:Ec,punctuation:$s,reflink:Tc,reflinkSearch:kc,tag:xc,text:Ys,url:vs},Nc={...Mc,emStrongLDelim:cc,emStrongRDelimAst:fc,emStrongRDelimUnd:mc,link:z(/^!?\[(label)\]\((.*?)\)/).replace(`label`,Cc).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,Cc).getRegex()},Pc={...Mc,emStrongRDelimAst:dc,emStrongLDelim:sc,delLDelim:hc,delRDelim:gc,url:z(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`emailProtocol`,jc).replace(`protocol`,Ac).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:z(/^(?:[^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`,Ac).replace(/emailProtocol/g,/(?:mailto|xmpp):/).getRegex()},Fc={...Pc,br:z(Js).replace(`{2,}`,`*`).getRegex(),text:z(Pc.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},Ic={normal:Hs,gfm:Ws,pedantic:Gs},Lc={normal:Mc,gfm:Pc,breaks:Fc,pedantic:Nc},Rc={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},zc=e=>Rc[e];function Bc(e,t){if(t){if(xs.escapeTest.test(e))return e.replace(xs.escapeReplace,zc)}else if(xs.escapeTestNoEncode.test(e))return e.replace(xs.escapeReplaceNoEncode,zc);return e}function Vc(e){return xs.numericCharacterReference.test(e)?e.replace(xs.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 Hc(e){try{e=encodeURI(e).replace(xs.percentDecode,`%`)}catch{return null}return e}function Uc(e,t){let n=e.replace(xs.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(xs.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(xs.slashPipe,`|`);return n}function Wc(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 Gc(e){let t=e.split(`
|
|
13
|
-
`),n=t.length-1;for(;n>=0&&xs.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
|
|
14
|
-
`)}function Kc(e){return e.trim().toLowerCase().toUpperCase().toLowerCase()}function qc(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 Jc(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 Yc(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 Xc(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 Qc=class{options;rules;lexer;constructor(e){this.options=e||gs}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]:Gc(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=Xc(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=Wc(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceTabChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:Wc(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:Wc(t[0],`
|
|
18
|
-
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=Wc(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?Jc(u,d):u.replace(this.rules.other.leadingSpaceTab,e=>Jc(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=>Jc(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=Gc(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])&&qc(t[2],`()`)!==-1)return;let e=Kc(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:Wc(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=Uc(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:Wc(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(Uc(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:Wc(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=Wc(r.slice(0,-1),`\\`);if((r.length-e.length)%2==0)return}else{let e=qc(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)),Yc(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[Kc((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 Yc(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]:Vc(t[0]),escaped:e}}}},$c=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||gs,this.options.tokenizer=this.options.tokenizer||new Qc,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:xs,block:Ic.normal,inline:Lc.normal};this.options.pedantic?(t.block=Ic.pedantic,t.inline=Lc.pedantic):this.options.gfm&&(t.block=Ic.gfm,t.inline=this.options.breaks?Lc.breaks:Lc.gfm),this.tokenizer.rules=t}static get rules(){return{block:Ic,inline:Lc}}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(xs.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(xs.tabCharGlobal,` `).replace(xs.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,Kc(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,Kc(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)}},el=class{options;parser;constructor(e){this.options=e||gs}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match(xs.notSpaceStart)?.[0],i=e?e.replace(xs.endingNewline,``)+`
|
|
57
|
-
`:``;return r?`<pre><code class="language-`+Bc(r)+`">`+(n?i:Bc(i,!0))+`</code></pre>
|
|
58
|
-
`:`<pre><code>`+(n?i:Bc(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>${Bc(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?Bc(n,!0):this.parser.parseInline(r),o=Hc(e);if(o===null)return a;e=Bc(o,i);let s=`<a href="`+e+`"`;return t&&(s+=` title="`+Bc(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=Hc(e);if(i===null)return Bc(n);e=i;let a=`<img src="${Bc(e)}" alt="${Bc(n)}"`;return t&&(a+=` title="${Bc(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:Bc(e.text)}},tl=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}},nl=class e{options;renderer;textRenderer;constructor(e){this.options=e||gs,this.options.renderer=this.options.renderer||new el,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new tl}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}},rl=class{options;block;constructor(e){this.options=e||gs}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?$c.lex:$c.lexInline}provideParser(e=this.block){return e?nl.parse:nl.parseInline}};function il(e,t){if(Array.isArray(t))for(let n=0;n<t.length;n++)e.push(t[n]);else e.push(t)}var al=new class{defaults=hs();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=nl;Renderer=el;TextRenderer=tl;Lexer=$c;Tokenizer=Qc;Hooks=rl;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(il(n,t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)il(n,this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)il(n,this.walkTokens(e.tokens,t));break}case`list`:{let e=r;il(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);il(n,this.walkTokens(i,t))}):e.tokens&&il(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 el(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 Qc(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 rl;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]=rl.passThroughHooks.has(n)?e=>{if(this.defaults.async&&rl.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&&il(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 $c.lex(e,t??this.defaults)}parser(e,t){return nl.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?$c.lex:$c.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?nl.parse:nl.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?$c.lex:$c.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?nl.parse:nl.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>`+Bc(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function ol(e,t){return al.parse(e,t)}ol.options=ol.setOptions=function(e){return al.setOptions(e),ol.defaults=al.defaults,_s(ol.defaults),ol},ol.getDefaults=hs,ol.defaults=gs;function sl(...e){return al.use(...e),ol.defaults=al.defaults,_s(ol.defaults),ol}ol.use=sl,ol.walkTokens=function(e,t){return al.walkTokens(e,t)},ol.parseInline=al.parseInline,ol.Parser=nl,ol.parser=nl.parse,ol.Renderer=el,ol.TextRenderer=tl,ol.Lexer=$c,ol.lexer=$c.lex,ol.Tokenizer=Qc,ol.Hooks=rl,ol.parse=ol,ol.options,ol.setOptions,ol.walkTokens,ol.parseInline,nl.parse,$c.lex;function cl(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 ll(e,t,n){if(!t)return navigator.clipboard.writeText(e);let r=cl(e,n),i=await ol.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 ul={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`},dl=([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=dl(e);r.appendChild(t)}),r},fl=(e,t={})=>dl([`svg`,{...ul,...t},e]),pl=[[`path`,{d:`M12 5v14`}],[`path`,{d:`m19 12-7 7-7-7`}]],ml=[[`path`,{d:`m5 12 7-7 7 7`}],[`path`,{d:`M12 19V5`}]],hl=[[`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`}]],gl=[[`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`}]],_l=[[`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`}]],vl=[[`path`,{d:`M20 6 9 17l-5-5`}]],yl=[[`path`,{d:`m9 18 6-6-6-6`}]],bl=[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]],xl=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`M15 3v18`}]],Sl=[[`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`}]],Cl=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`19`,cy:`12`,r:`1`}],[`circle`,{cx:`5`,cy:`12`,r:`1`}]],wl=[[`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`}]],Tl=[[`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`}]],El=[[`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`}]],Dl=[[`path`,{d:`M4 12h8`}],[`path`,{d:`M4 18V6`}],[`path`,{d:`M12 18V6`}],[`path`,{d:`m17 12 3-2v8`}]],Ol=[[`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`}]],kl=[[`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`}]],Al=[[`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`}]],jl=[[`path`,{d:`M6 12h12`}],[`path`,{d:`M6 20V4`}],[`path`,{d:`M18 20V4`}]],Ml=[[`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`}]],Nl=[[`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`}]],Pl=[[`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`}]],Fl=[[`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`}]],Il=[[`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`}]],Ll=[[`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`}]],Rl=[[`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`}]],zl=[[`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`}]],Bl=[[`path`,{d:`M5 12h14`}]],Vl=[[`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`}]],Hl=[[`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`}]],Ul=[[`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`}]],Wl=[[`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`}]],Gl=[[`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`}]],Kl=[[`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`}]],ql=[[`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`}]],Jl=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M21 9H3`}],[`path`,{d:`M21 15H3`}]],Yl=[[`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`}]],Xl=[[`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`}]],Zl=[[`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`}]],Ql=[[`path`,{d:`M12 3v18`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M3 9h18`}],[`path`,{d:`M3 15h18`}]],$l=[[`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`}]],eu=[[`path`,{d:`M12 19h8`}],[`path`,{d:`m4 17 6-6-6-6`}]],tu=[[`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`}]],nu=[[`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`}]],ru=[[`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`}]],iu=[[`path`,{d:`M18 6 6 18`}],[`path`,{d:`m6 6 12 12`}]],au=Ie.define({combine:e=>e[0]??null}),ou=/^(\s*)<!-- (comment|reply) by /,su=/^\s*<!-- (comment|reply) by (.+?), (\d{4}-\d{2}-\d{2})(?:, on "((?:[^"\\]|\\.)*)")?:\s?([\s\S]*)$/,cu=e=>e.replace(/\\(["\\])/g,`$1`),lu=e=>e.replace(/(["\\])/g,`\\$1`),B=()=>{let e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`};function uu(e){let t=[],n=null;for(let r=1;r<=e.lines;r++){let i=e.line(r),a=ou.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(`-->`)?su.exec(s.slice(0,-3)):null;if(r=o.number,!c)continue;let l={kind:c[1],author:c[2],date:c[3],quote:cu(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()||ou.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 du=(e,t)=>`${t}<!-- ${e.kind} by ${e.author}, ${e.date}${e.kind===`comment`&&e.quote?`, on "${lu(e.quote)}"`:``}: ${e.text.replace(/-->/g,`-- >`)} -->`;function fu(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&&ou.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 pu(e){let t=e.state.facet(au);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}=fu(e.state,r);e.dispatch({changes:{from:a,insert:`
|
|
76
|
-
`+du({kind:`comment`,author:t,date:B(),quote:i,text:``},o)},selection:{anchor:n}})}var mu=(e,t)=>{let n=e.state.doc.lineAt(t);return uu(e.state.doc).find(e=>e.from===n.from)??null};function hu(e,t){let n=Math.max(0,t.from-1);e.dispatch({changes:{from:n,to:t.to}})}var gu=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=()=>mu(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 hu(e,n);let i=n.entries[0];e.dispatch({changes:{from:i.from,to:i.to,insert:du({...i,text:t},n.indent)}})},()=>{let t=r();t&&hu(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
|
-
`+du({kind:`reply`,author:this.author,date:B(),quote:``,text:t},n.indent)}})},()=>e.dispatch({})))}),a(i,t(`comment.resolve`),()=>{let t=r();t&&hu(e,t)}),n.append(i)}return n}ignoreEvent(){return!0}},_u=/^\s*<!--\s*choose:\s*one\s*-->\s*$/;function vu(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 _u.test(n)?r:null}return null}var yu=e=>_u.test(e);function bu(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:vu(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 xu(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 Su(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 Cu(e,t){let n=Su(t,e.state.facet(jd));if(n===null)return void(/^(https?|mailto):/i.test(t)&&window.open(t,`_blank`,`noopener,noreferrer`));let r=e.state.facet(Md);r&&/\.md$/i.test(n)&&r(n)}function wu(e,t,n){let r=document.createElement(`button`);return r.title=t,r.append(fl(e,{width:13,height:13})),r.addEventListener(`mousedown`,e=>{e.preventDefault(),n()}),r}var Tu=ve.define(),Eu=ge.define({create:()=>null,update(e,t){for(let e of t.effects)if(e.is(Tu))return e.value;return t.docChanged||t.selection?null:e},provide:e=>Pe.compute([e],t=>t.field(e)===null?null:Du(t,t.field(e)))});function Du(e,t){let n=xu(e,t+1);return n?{pos:n.textFrom,above:!1,create:e=>{let r=e.state.facet(Nd),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:Tu.of(null)}),e.focus()},l=()=>{let n=xu(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:Tu.of(null),selection:{anchor:n.textFrom+o.value.length}}),e.focus()},u=()=>{let n=xu(e.state,t+1);n&&e.dispatch({changes:{from:n.from,to:n.to,insert:e.state.sliceDoc(n.textFrom,n.textTo)},effects:Tu.of(null)}),e.focus()},d=document.createElement(`div`);return d.className=`cm-link-actions`,d.append(wu(tu,r(`link.remove`),u),wu(vl,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 Ou=[Eu,te((e,t)=>{let n=xu(e.state,t);return!n||t<n.textFrom||t>n.textTo||e.state.field(Eu)!==null?null:{pos:n.textFrom,end:n.textTo,above:!0,create:()=>{let t=e.state.facet(Nd),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(wu(Hl,t(`link.edit`),()=>e.dispatch({effects:Tu.of(n.from)}))),n.url){let e=wu(Sl,t(`link.copy`),()=>{navigator.clipboard?.writeText(n.url.value).then(()=>e.replaceChildren(fl(vl,{width:13,height:13})))});r.append(e)}return{dom:r}}}},{hoverTime:350}),w.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=xu(t.state,t.posAtDOM(n));return r?.url?(Cu(t,r.url.value),!0):!1}})];function ku(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 Au(e){let t=e.split(`
|
|
78
|
-
`).filter(e=>e.trim()),n=ku(t[0]??``),r=ku(t[1]??``).map(e=>{let t=e.startsWith(`:`),n=e.endsWith(`:`);return t&&n?`center`:n?`right`:t?`left`:``}),i=t.slice(2).map(ku),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 ju({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 Mu(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 Nu=`modulepreload`,Pu=function(e){return`/`+e},Fu={},Iu=function(e){return e.pathname.endsWith(`.css`)},Lu=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},V=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=Pu(t,n);let r=s(t),i=Iu(r);return Lu(Fu,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`:Nu,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)})},Ru=e=>e;function zu(e){Ru=e}var Bu=ve.define();function Vu(e,t){let n=e.posAtDOM(t);e.dispatch({effects:Bu.of(n),selection:{anchor:Math.min(n+3,e.state.doc.length)}}),e.focus()}var Hu=new WeakMap;function Uu(e,t,n){let r=new ResizeObserver(n);r.observe(t),Hu.set(e,[...Hu.get(e)??[],r])}function Wu(e){for(let t of Hu.get(e)??[])t.disconnect();Hu.delete(e)}function Gu(e){e.viewState.mustMeasureContent=!0,e.requestMeasure()}function Ku(e,t){let n=document.createElement(`div`);return n.className=`cm-block-outer`,n.append(t),Uu(n,n,()=>Gu(e)),n}function qu(e,t){t.addEventListener(`mousedown`,n=>{if(n.button!==0)return;n.preventDefault();let r=e.posAtDOM(t);e.dispatch({effects:Bu.of(r),selection:{anchor:r}}),e.focus()})}function Ju(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(),Vu(e,t)}),n}var Yu=0,Xu=null,Zu=null,Qu=new Map,$u=new Map;function ed(e){return(!Xu||Zu!==e)&&(Zu=e,Xu=V(()=>import(`./mermaid.core-I_-4X5xX.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]))),Xu}var td=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(Ju(e,t),n),t.addEventListener(`dblclick`,()=>Vu(e,t));let r=`${this.theme}\n${this.code}`,i=Qu.get(r);if(i)n.innerHTML=i;else{let e=$u.get(this.code);e?n.innerHTML=e:n.textContent=`…`,ed(this.theme).then(e=>e.render(`markode-mermaid-${++Yu}`,this.code)).then(({svg:e})=>{Qu.set(r,e),$u.set(this.code,e),n.innerHTML=e}).catch(e=>{n.className=`cm-widget-error`,n.textContent=String(e?.message??e)})}return Ku(e,t)}destroy(e){Wu(e)}ignoreEvent(){return!0}},nd=null,rd=null;function H(){return rd??=Promise.all([V(()=>import(`./katex-DMqEsVPU.js`),[]),V(()=>Promise.resolve({}),__vite__mapDeps([19]))]).then(([e])=>nd=e.default),rd}var id=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(nd?n(nd):(t.textContent=this.tex,H().then(t=>(n(t),this.display||Gu(e)))),!this.display)return qu(e,t),t;let r=document.createElement(`div`);return r.className=`cm-block-widget cm-math`,r.append(Ju(e,r),t),r.addEventListener(`dblclick`,()=>Vu(e,r)),Ku(e,r)}destroy(e){Wu(e)}ignoreEvent(){return!0}};function U(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 W=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`,()=>Gu(e)),n.addEventListener(`error`,()=>{t.className=`cm-image-wrap cm-image-broken`,t.title=this.url,t.textContent=`⚠ ${this.alt||this.url}`,Gu(e)}),t.append(n),qu(e,t),t}ignoreEvent(){return!0}},G=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),qu(e,t),t}ignoreEvent(){return!0}},ad=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 od(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 sd(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=sd(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 cd=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(Ju(e,t),sd(od(this.code))),Ku(e,t)}destroy(e){Wu(e)}ignoreEvent(){return!0}},ld=null;function ud(e,t,n){ld?.();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(),ld?.(),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)&&ld?.(),s=e=>e.key===`Escape`&&ld?.(),c=()=>ld?.();ld=()=>{r.remove(),removeEventListener(`mousedown`,o,!0),removeEventListener(`keydown`,s,!0),removeEventListener(`scroll`,c,!0),removeEventListener(`blur`,c),ld=null},addEventListener(`mousedown`,o,!0),addEventListener(`keydown`,s,!0),addEventListener(`scroll`,c,!0),addEventListener(`blur`,c)}function dd(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 fd=`markode.tableWidths`,pd=e=>e.join(`|`);function md(e){try{let t=JSON.parse(localStorage.getItem(fd)??`{}`)[pd(e)];return Array.isArray(t)&&t.length===e.length?gd(t):null}catch{return null}}function hd(e,t){try{let n=JSON.parse(localStorage.getItem(fd)??`{}`);t?n[pd(e)]=t:delete n[pd(e)],localStorage.setItem(fd,JSON.stringify(n))}catch{}}var gd=e=>{let t=e.reduce((e,t)=>e+t,0);return e.map(e=>e/t)},_d=28,vd=80,yd=e=>e.replace(/[&<>"]/g,e=>({"&":`&`,"<":`<`,">":`>`,'"':`"`})[e]);function bd(e){let t=[],n=yd(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 xd=class extends f{source;constructor(e){super(),this.source=e}eq(e){return e.source===this.source}toDOM(e){let t=Au(this.source),n=document.createElement(`div`);n.className=`cm-block-widget cm-table-widget`;let r=md(t.header),i=t=>{let i=Mu(e.state,e.posAtDOM(n));if(!i)return;r?.length===t.header.length&&hd(t.header,r);let a=ju(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=bd(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=bd(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:Ru(`table.colLeft`),run:o(e=>_(e,s))},{label:Ru(`table.colRight`),run:o(e=>_(e,s+1))},...t.header.length>1?[{label:Ru(`table.deleteCol`),run:o(e=>g(e,s))}]:[]]:[{label:Ru(`table.rowAbove`),run:o(e=>e.rows.splice(r,0,c(e)))},{label:Ru(`table.rowBelow`),run:o(e=>e.rows.splice(r+1,0,c(e)))},{label:Ru(`table.deleteRow`),run:o(e=>e.rows.splice(r,1))}];ud(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=`${_d}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-_d),f=()=>Math.max(d(),c.length*vd),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||=gd([...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(vd/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),hd(a().header,r)};addEventListener(`mousemove`,u),addEventListener(`mouseup`,d)}),n.addEventListener(`dblclick`,()=>{r=null,hd(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(vd,r[t]*f())}px`:``),o.style.width=r&&f()>d()?`${f()+_d}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),gd(r))},_=(e,t)=>{dd(e,t),r&&=(r.splice(t,0,1/r.length),gd(r))};n.append(Ju(e,n),o,...p);let v=Ku(e,n);return Uu(v,n,h),v}destroy(e){Wu(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(),bu(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}},wd=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}},Td=class extends f{eq(){return!0}toDOM(){let e=document.createElement(`span`);return e.className=`cm-bullet`,e.textContent=`•`,e}},Ed=class extends f{eq(){return!0}toDOM(){let e=document.createElement(`span`);return e.className=`cm-hr`,e}};function Dd(e){return fl(e,{width:13,height:13,"stroke-width":1.75})}var Od=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=`${Ru(`comment.note`)}\n\n${this.text}`,t.append(Dd(wl)),qu(e,t),t}},kd=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(Dd(this.lang?El:$l)),this.lang&&t.append(this.label),qu(e,t),t}},Ad=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,qu(e,t),t}},jd=Ie.define({combine:e=>e[0]??``}),Md=Ie.define({combine:e=>e[0]??null}),Nd=Ie.define({combine:e=>e[0]??(e=>e)}),Pd=ve.define(),Fd=ge.define({create:()=>document.documentElement.dataset.resolvedTheme===`light`?`light`:`dark`,update:(e,t)=>t.effects.reduce((e,t)=>t.is(Pd)?t.value:e,e)}),Id=ve.define(),Ld=ve.define(),Rd=new Set([`FencedCode`,`Table`,`BlockMath`]),zd=new Set([`Image`,`InlineMath`,`FootnoteRef`,`HorizontalRule`,`Comment`,`CommentBlock`]);function Bd(e,n){for(let r=t(e).resolveInner(n,1);r;r=r.parent){if(Rd.has(r.name))return{from:e.doc.lineAt(r.from).from,to:e.doc.lineAt(r.to).to};if(zd.has(r.name))return{from:r.from,to:r.to}}let r=e.doc.lineAt(n);return{from:r.from,to:r.to}}var Vd=ge.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(Bu)?n=Bd(t.state,e.value):e.is(Ld)?r=e.value:e.is(Id)&&!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}}}),Hd=w.domEventHandlers({mousedown(e,t){return e.button===0&&(t.dispatch({effects:Ld.of(!0)}),addEventListener(`mouseup`,()=>t.dispatch({effects:Ld.of(!1)}),{once:!0})),!1}}),Ud=l.replace({}),Wd=e=>l.line({class:e}),Gd=e=>l.mark({class:e}),Kd=/^\s*<!-- (?:(?:comment|reply) by |choose:)/,qd=/^<!--\s*([\w.-]+(?::[\w.-]+)+)\s*-->$/;function Jd(e){let t=qd.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 Yd=/^\s*<!--\s*[\w.:-]*:start\s*-->\s*$/,Xd=xe.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=Jd(e.newDoc.lineAt(a).text);if(!s?.start||!Yd.test(o.text)||Jd(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=Jd(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 Zd(e){let n=[],r=new Map,{doc:i}=e,a=e.field(Vd).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(Nd),g=new Map,_=[];for(let e=1;e<=i.lines;e++){let t=Jd(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(Wd(`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 Ad(y(r),u)}).range(a.from,a.to)),c&&n.push(Ud.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(Wd(`cm-fm${t===0?` cm-fm-start`:``}${r?` cm-fm-end`:``}`).range(e.from));let i=/^([\w-]+):/.exec(e.text);i&&n.push(Gd(`cm-fm-key`).range(e.from,e.from+i[1].length))}),!1;if(a){n.push(Wd(`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(Ud.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(Ud.range(e.from,e.to));return;case`InlineCode`:if(n.push(Gd(`cm-inline-code`).range(t.from,t.to)),!o(t.from,t.to))for(let e of t.node.getChildren(`CodeMark`))n.push(Ud.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(Ud.range(e[0].from,e[0].to)),n.push(Gd(`cm-link-text`).range(e[0].to,e[1].from)),n.push(Ud.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=U(i.sliceString(a.from,a.to).replace(/^<|>$/g,``),e.facet(jd)),u=s?i.sliceString(s.from+1,s.to-1):``;return n.push(l.replace({widget:new W(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 id(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(Wd(`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 id(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(Wd(`cm-footnote-def`).range(r)),c(t.from)||n.push(l.replace({widget:new ad(m(e))}).range(t.from,t.to+1))):o(t.from,t.to)||n.push(l.replace({widget:new G(m(e),f.get(e)??``)}).range(t.from,t.to)),!1}case`ListMark`:{if(n.push(Gd(`cm-list-mark`).range(t.from,t.to)),c(t.from))return;let e=t.node.nextSibling;if(e?.name===`Task`)n.push(Ud.range(t.from,Math.min(t.to+1,e.from)));else if(t.node.parent?.parent?.name===`BulletList`)n.push(l.replace({widget:new Td}).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(Wd(`cm-task-done`).range(i.lineAt(t.from).from)),c(t.from)||n.push(l.replace({widget:new Sd(a,!!vu(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 td(o,e.field(Fd)):new cd(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(Wd(`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 wd(a)}):Ud).range(e.from,e.to)),f&&n.push(Ud.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(Wd(`cm-table-src`).range(e.from))),!1):(n.push(l.replace({widget:new xd(i.sliceString(e,r)),block:!0}).range(e,r)),!1)}case`Blockquote`:u(t.from,t.to,e=>n.push(Wd(`cm-quote`).range(e.from)));return;case`QuoteMark`:if(c(t.from))return;n.push(Ud.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(Kd.test(e)||Jd(e)||o(t.from,t.to))return!1;let r=qd.exec(e.trim()),a=r?.[1].split(`:`)??[],s;if(r&&a[0]===`markode`&&a[1]===`source-lang`){let e=a[2]??``;s=new kd(wr[e]??e,h(`marker.sourceLang`),!0)}else s=r?new kd(r[1],r[1],!1):new Od(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 Ed}).range(t.from,t.to));return}}});let b=e.facet(au);for(let t of uu(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(Gd(`cm-comment-anchor`).range(t.anchor.from+a,t.anchor.from+a+e.length)):n.push(Wd(`cm-comment-anchor-line`).range(t.anchor.from))}o(t.from,t.to)||n.push(l.replace({widget:new gu(t.entries,b,e.facet(Nd)),block:!0}).range(t.from,t.to))}for(let t=1;t<=i.lines;t++){let r=i.line(t);yu(r.text)&&!o(r.from,r.to)&&n.push(l.replace({widget:new Cd(e.facet(Nd)(`choice.one`))}).range(r.from,r.to))}return{deco:l.set(n,!0),atomic:l.set(n.filter(e=>e.value===Ud||e.value.spec.widget),!0),prefixes:r}}var Qd=ge.define({create:Zd,update(e,n){return n.docChanged||n.startState.field(Vd,!1)?.range!==n.state.field(Vd).range||n.startState.field(Fd,!1)!==n.state.field(Fd)||t(n.startState)!==t(n.state)?Zd(n.state):e},provide:e=>[w.decorations.from(e,e=>e.deco),w.atomicRanges.of(t=>t.state.field(e).atomic)]}),$d=[Fd,Vd,Qd,xe.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(Qd).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}]}),Hd,Ou,w.focusChangeEffect.of((e,t)=>Id.of(t))],ef=9999,tf=new WeakSet;function nf(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>ef));e=o.next());return{total:i,current:a}}var rf=e=>fl(e,{width:15,height:15,"stroke-width":2});function af(e){let t=(t,n)=>e.state.facet(Nd)(t,n),n=Wo(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(rf(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`,x),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`))),x()},`cm-find-toggle`);return n[r]&&a.classList.add(`on`),a.setAttribute(`aria-pressed`,String(n[r])),a},l=c(_l,`search.matchCase`,`caseSensitive`),u=c(nu,`search.wholeWord`,`wholeWord`),d=c(Wl,`search.regexp`,`regexp`),f=document.createElement(`span`);f.className=`cm-find-count`;let p=t=>()=>{t(e)},m=i(yl,`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(ml,`search.previous`,p(Xo)),i(pl,`search.next`,p(Yo)),i(iu,`search.close`,p(os)));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(ql,`search.replaceOne`,p($o)),i(Kl,`search.replaceAll`,p(es)));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 x(){let t=new ko({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:Vo.of(t)}))}function S(){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}=nf(e.state,n);f.textContent=i?t(`search.count`,{n:a||`?`,total:i>ef?`${ef}+`: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(),os(e),e.focus()):t.key===`Enter`&&t.target===o?(t.preventDefault(),(t.shiftKey?Xo:Yo)(e)):t.key===`Enter`&&t.target===s?(t.preventDefault(),(n&&t.altKey?es:$o)(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`)))}),tf.has(e)&&(tf.delete(e),r.classList.add(`replacing`)),m.setAttribute(`aria-expanded`,String(r.classList.contains(`replacing`))),{dom:r,top:!0,mount(){o.select(),S()},update(t){for(let e of t.transactions)for(let t of e.effects)t.is(Vo)&&!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));tf.has(e)&&(tf.delete(e),b(!0)),(t.docChanged||t.selectionSet||t.transactions.some(e=>e.effects.some(e=>e.is(Vo))))&&S()}}}var of=e=>(tf.add(e),as(e),e.dispatch({}),!0);function sf(){return[Oo({top:!0,createPanel:af}),T.of([{key:`Mod-h`,run:of,preventDefault:!0},...ss])]}var cf=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(pf(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 lf(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 uf(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=lf(t)+lf(n)+`*$`;return[RegExp(`^`+r),new RegExp(r)]}function df(e){let t=e.map(e=>typeof e==`string`?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:uf(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function ff(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 pf(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 mf=Ae.define();typeof navigator==`object`&&navigator.platform;var hf=w.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`}}}),gf=class{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}},_f=class e{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(t){let n=t.mapPos(this.from,-1,de.TrackDel),r=t.mapPos(this.to,1,de.TrackDel);return n==null||r==null?null:new e(this.field,n,r)}},vf=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(S);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 _f(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 gf(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)}},K=l.widget({widget:new class extends f{toDOM(){let e=document.createElement(`span`);return e.className=`cm-snippetFieldPosition`,e}ignoreEvent(){return!1}}}),yf=l.mark({class:`cm-snippetField`}),bf=class e{constructor(e,t){this.ranges=e,this.active=t,this.deco=l.set(e.map(e=>(e.from==e.to?K:yf).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))}},xf=ve.define({map(e,t){return e&&e.map(t)}}),Sf=ve.define(),Cf=ge.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(xf))return n.value;if(n.is(Sf)&&e)return new bf(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=>w.decorations.from(e,e=>e?e.deco:l.none)});function wf(e,t){return E.create(e.filter(e=>e.field==t).map(e=>E.range(e.from,e.to)))}function Tf(e){let t=vf.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:ie.of(a)},scrollIntoView:!0,annotations:n?[mf.of(n),Re.userEvent.of(`input.complete`)]:void 0};if(o.length&&(c.selection=wf(o,0)),o.some(e=>e.field>0)){let t=new bf(o,0),n=c.effects=[xf.of(t)];e.state.field(Cf,!1)===void 0&&n.push(ve.appendConfig.of([Cf,kf,jf,hf]))}e.dispatch(e.state.update(c))}}function Ef(e){return({state:t,dispatch:n})=>{let r=t.field(Cf,!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:wf(r.ranges,i),effects:xf.of(a?null:new bf(r.ranges,i)),scrollIntoView:!0})),!0}}var Df=[{key:`Tab`,run:Ef(1),shift:Ef(-1)},{key:`Escape`,run:({state:e,dispatch:t})=>e.field(Cf,!1)?(t(e.update({effects:xf.of(null)})),!0):!1}],Of=Ie.define({combine(e){return e.length?e[0]:Df}}),kf=me.highest(T.compute([Of],e=>e.facet(Of)));function Af(e,t){return{...t,apply:Tf(e)}}var jf=w.domEventHandlers({mousedown(e,t){let n=t.state.field(Cf,!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:wf(n.ranges,i.field),effects:xf.of(n.ranges.some(e=>e.field>i.field)?new bf(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),Mf=new class extends Ce{};Mf.startSide=1,Mf.endSide=-1,typeof navigator==`object`&&navigator.userAgent;var Nf=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 Pf=class{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}},Ff=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 zf(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 If(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?J:Gf)(n,t,!1);return r>0&&(e.type!=q.BulletList||Uf(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}var Lf={[q.Blockquote](e,t,n){return n.next==62&&(n.markers.push(X(q.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(Rf(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]:If,[q.BulletList]:If,[q.Document](){return!0}};function Rf(e){return e==32||e==9||e==10||e==13}function zf(e,t=0){for(;t<e.length&&Rf(e.charCodeAt(t));)t++;return t}function Bf(e,t,n){for(;t>n&&Rf(e.charCodeAt(t-1));)t--;return t}function Vf(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 Hf(e){return e.next==62?e.text.charCodeAt(e.pos+1)==32?2:1:-1}function Uf(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(!Rf(n))return-1}return n&&e.next==45&&qf(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(Y.SetextHeading)>-1||r<3?-1:1}function Wf(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function Gf(e,t,n){return(e.next==45||e.next==43||e.next==42)&&(e.pos==e.text.length-1||Rf(e.text.charCodeAt(e.pos+1)))&&(!n||Wf(t,q.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function J(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&&!Rf(e.text.charCodeAt(r+1))||n&&!Wf(t,q.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||e.next!=49)?-1:r+1-e.pos}function Kf(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&&!Rf(e.text.charCodeAt(t)))return-1;let n=t-e.pos;return n>6?-1:n}function qf(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&&Rf(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}var Jf=/^[ \t]*$/,Yf=/-->/,Xf=/\?>/,Zf=[[/^<(?:script|pre|style|textarea)(?:\s|>|$)/i,/<\/(?:script|pre|style|textarea)>/i],[/^\s*<!--/,Yf],[/^\s*<\?/,Xf],[/^\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,Jf],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,Jf]];function Qf(e,t,n){if(e.next!=60)return-1;let r=e.text.slice(e.pos);for(let e=0,t=Zf.length-+!!n;e<t;e++)if(Zf[e][0].test(r))return e;return-1}function $f(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 ep(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(X(q.CodeText,t,n))}var tp={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(ep(o,i,a);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){ep(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?ep(o,e.from,e.to):o.push(e);s=[]}ep(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&&ep(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=Vf(t);if(n<0)return!1;let r=e.lineStart+t.pos,i=t.next,a=n-t.pos,o=t.skipSpace(n),s=Bf(t.text,t.text.length,o),c=[X(q.CodeMark,r,r+a)];o<s&&c.push(X(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&&ep(c,e.lineStart-1,e.lineStart),c.push(X(q.CodeMark,e.lineStart+t.pos,e.lineStart+s)),e.nextLine();break}{o=!0,n||(ep(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&&(ep(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=Hf(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(Uf(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=Gf(t,e,!1);if(n<0)return!1;e.block.type!=q.BulletList&&e.startContext(q.BulletList,t.basePos,t.next);let r=$f(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=J(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=$f(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=Kf(t);if(n<0)return!1;let r=t.pos,i=e.lineStart+r,a=Bf(t.text,t.text.length,r),o=a;for(;o>r&&t.text.charCodeAt(o-1)==t.next;)o--;(o==a||o==r||!Rf(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=Qf(t,e,!1);if(n<0)return!1;let r=e.lineStart+t.pos,i=Zf[n][1],a=[],o=i!=Jf;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==Yf?q.CommentBlock:i==Xf?q.ProcessingInstructionBlock:q.HTMLBlock,c=e.prevLineEnd();return e.addNode(e.buffer.writeElements(a,-r).finish(s,c-r),r),!0},SetextHeading:void 0},np=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)&&zf(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,X(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(kp(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(X(q.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(Dp(e,zf(e,this.pos),this.start)))return-1}else if(this.stage==2){let t=zf(e,this.pos),n=0;if(t>this.pos){let r=Op(e,t,this.start);if(r){let t=rp(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||=rp(e,this.pos),n>0&&n<e.length?n:-1}else return rp(e,this.pos)}};function rp(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n==10)break;if(!Rf(n))return-1}return t}var ip=class{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:qf(t),i=t.next;if(r<0)return!1;let a=X(q.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,X(i==61?q.SetextHeading1:q.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),a])),!0}finish(){return!1}},Y={LinkReference(e,t){return t.content.charCodeAt(0)==91?new np(t):null},SetextHeading(){return new ip}},ap=[(e,t)=>Kf(t)>=0,(e,t)=>Vf(t)>=0,(e,t)=>Hf(t)>=0,(e,t)=>Gf(t,e,!0)>=0,(e,t)=>J(t,e,!0)>=0,(e,t)=>Uf(t,e,!0)>=0,(e,t)=>Qf(t,e,!0)>=0],op={text:``,end:0},sp=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new Ff,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=Nf.create(q.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new Np(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 Pf(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=Fp(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=op;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=Nf.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],mp,mp,(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(jp(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?cp(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=jp(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`?X(this.parser.getNodeType(e),t,n,r):new _p(e,t)}get buffer(){return new hp(this.parser.nodeSet)}};function cp(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=cp(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 lp=class e extends Ge{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 sp(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}configure(t){let n=dp(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(up(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 D?t[n]=c:Object.assign(t,c))}r=new u(e),t&&(r=r.extend(m(t)))}if(up(n.props)&&(r=r.extend(...n.props)),up(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(up(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?fp(c,e.before):e.after?fp(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(up(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?fp(d,e.before):e.after?fp(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 Ap(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 up(e){return e!=null&&e.length>0}function dp(e){if(!Array.isArray(e))return e;if(e.length==0)return null;let t=dp(e[0]);if(e.length==1)return t;let n=dp(e.slice(1));if(!n||!t)return t||n;let r=(e,t)=>(e||mp).concat(t||mp),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 fp(e,t){let n=e.indexOf(t);if(n<0)throw RangeError(`Position specified relative to unknown parser ${t}`);return n}var pp=[p.none];for(let e=1,t;t=q[e];e++)pp[e]=p.define({id:e,name:t,props:e>=q.Escape?[]:[[s.group,e in Lf?[`Block`,`BlockContext`]:[`Block`,`LeafBlock`]]],top:t==`Document`});var mp=[],hp=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})}},gp=class{constructor(e,t,n,r=mp){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 hp(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},_p=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 mp}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 X(e,t,n,r){return new gp(e,t,n,r)}var vp={resolve:`Emphasis`,mark:`EmphasisMark`},yp={resolve:`Emphasis`,mark:`EmphasisMark`},bp={},xp={},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=`!"#$%&'()*+,-./:;<=>?@[\\]^_\`{|}~`,wp=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{wp=RegExp(`[\\p{S}|\\p{P}]`,`u`)}catch{}var Tp={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(X(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(X(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(X(q.InlineCode,n,r+1,[X(q.CodeMark,n,n+i),X(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(X(q.Autolink,n,n+1+i[0].length,[X(q.LinkMark,n,n+1),X(q.URL,n+1,n+i[0].length),X(q.LinkMark,n+i[0].length,n+1+i[0].length)]));let a=/^!--(?:-?>|[^]*?-->)/.exec(r);if(a)return e.append(X(q.Comment,n,n+1+a[0].length));let o=/^\?[^]*?\?>/.exec(r);if(o)return e.append(X(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(X(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=wp.test(i),s=wp.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?vp:yp,n,r,!!f|(p?2:0)))},HardBreak(e,t,n){if(t==92&&e.char(n+1)==10)return e.append(X(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(X(q.HardBreak,n,t+1))}return-1},Link(e,t,n){return t==91?e.append(new Sp(bp,n,n+1,1)):-1},Image(e,t,n){return t==33&&e.char(n+1)==91?e.append(new Sp(xp,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==bp||r.type==xp)){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]=Ep(e,i,r.type==bp?q.Link:q.Image,r.from,n+1);if(r.type==bp)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof Sp&&t.type==bp&&(t.side=0)}return a.to}}return-1}};function Ep(e,t,n,r,i){let{text:a}=e,o=e.char(i),s=i;if(t.unshift(X(q.LinkMark,r,r+(n==q.Image?2:1))),t.push(X(q.LinkMark,i-1,i)),o==40){let n=e.skipSpace(i+1),r=Dp(a,n-e.offset,e.offset),o;r&&(n=e.skipSpace(r.to),n!=r.to&&(o=Op(a,n-e.offset,e.offset),o&&(n=e.skipSpace(o.to)))),e.char(n)==41&&(t.push(X(q.LinkMark,i,i+1)),s=n+1,r&&t.push(r),o&&t.push(o),t.push(X(q.LinkMark,n,s)))}else if(o==91){let n=kp(a,i-e.offset,e.offset,!1);n&&(t.push(n),s=n.to)}return X(n,r,s,t)}function Dp(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 X(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(Rf(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?X(q.URL,t+n,i+n):i==e.length&&null}}function Op(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 X(q.LinkTitle,t+n,r+1+n);else o==92&&(a=!0)}return null}function kp(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&&X(q.LinkLabel,t+n,a+1+n);else{if(r&&!Rf(o)&&(r=!1),o==91)return!1;o==92&&(i=!0)}}return null}var Ap=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==bp||t.type==xp))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==vp||n.type==yp,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 gp&&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 gp&&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 zf(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return typeof e==`string`?X(this.parser.getNodeType(e),t,n,r):new _p(e,t)}};Ap.linkStart=bp,Ap.imageStart=xp,Ap.emphasisAsterisk=yp,Ap.emphasisUnderscore=vp;function jp(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 gp&&(n[r]=new gp(t.type,t.from,t.to,jp(t.children,[e])))}else n.splice(r++,0,e)}return n}var Mp=[q.CodeBlock,q.ListItem,q.OrderedList,q.BulletList],Np=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||!Pp(t.tree))){if(t.type.isAnonymous&&t.firstChild())continue;break}let a=Fp(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||Mp.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 Pp(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`)&&Mp.indexOf(e.type.id)<0}function Fp(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 Ip=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}),Lp=new lp(new u(pp).extend(Ip),Object.keys(tp).map(e=>tp[e]),Object.keys(tp).map(e=>Y[e]),Object.keys(tp),ap,Lf,Object.keys(Tp).map(e=>Tp[e]),Object.keys(Tp),[]);function Rp(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 zp(e){let{codeParser:t,htmlParser:n}=e;return{wrap:C((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:Rp(e.node,e.from,e.to)};return null})}}var Bp={resolve:`Strikethrough`,mark:`StrikethroughMark`},Vp={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=wp.test(r),c=wp.test(i);return e.addDelimiter(Bp,n,n+2,!o&&(!c||a||s),!a&&(!s||o||c))},after:`Emphasis`}]};function Hp(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 Up(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 Wp=/^[>\s]*\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,Gp=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)&&Wp.test(r=t.text.slice(t.pos))){let i=[];Hp(e,n.content,0,i,n.start)==Hp(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=[];Hp(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}},Kp={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 Up(t.content,0)?new Gp:null},endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof Gp)||!Up(t.text,t.basePos))return!1;let r=e.peekLine();return Wp.test(r)&&Hp(e,t.text,t.basePos)==Hp(e,r,t.basePos)},before:`SetextHeading`}]},qp=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}},Jp={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 qp:null},after:`SetextHeading`}]},Yp=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,Xp=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,Zp=/[\w-]+\.[\w-]+($|[/:])/,Qp=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,$p=/\/[a-zA-Z\d@.]+/gy;function em(e,t,n,r){let i=0;for(let a=t;a<n;a++)e[a]==r&&i++;return i}function tm(e,t){Xp.lastIndex=t;let n=Xp.exec(e);if(!n||Zp.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==`)`&&em(e,t,r,`)`)>em(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 nm(e,t){Qp.lastIndex=t;let n=Qp.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return r==`_`||r==`-`?-1:t+n[0].length-+(r==`.`)}var rm=[Kp,Jp,Vp,{parseInline:[{name:`Autolink`,parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return-1;Yp.lastIndex=r;let i=Yp.exec(e.text),a=-1;return!i||(i[1]||i[2]?(a=tm(e.text,r+i[0].length),a>-1&&e.hasOpenLink&&(a=r+/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,a))[0].length)):i[3]?a=nm(e.text,r):(a=nm(e.text,r+i[0].length),a>-1&&i[0]==`xmpp:`&&($p.lastIndex=a,i=$p.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 im(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)),Rf(s))break}return-1}}var am={defineNodes:[{name:`Superscript`,style:h.special(h.content)},{name:`SuperscriptMark`,style:h.processingInstruction}],parseInline:[{name:`Superscript`,parse:im(94,`Superscript`,`SuperscriptMark`)}]},om={defineNodes:[{name:`Subscript`,style:h.special(h.content)},{name:`SubscriptMark`,style:h.processingInstruction}],parseInline:[{name:`Subscript`,parse:im(126,`Subscript`,`SubscriptMark`)}]},sm={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))}}]},cm=55,lm=1,um=56,dm=2,fm=57,pm=3,mm=4,hm=5,gm=6,_m=7,vm=8,ym=9,bm=10,xm=11,Sm=12,Cm=13,wm=58,Tm=14,Em=15,Dm=59,Om=21,km=23,Am=24,jm=25,Mm=27,Nm=28,Pm=29,Fm=32,Im=35,Lm=37,Rm=38,zm=0,Bm=1,Vm={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},Hm={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Um={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 Wm(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}var Gm=null,Km=null,qm=0;function Jm(e,t){let n=e.pos+t;if(qm==n&&Km==e)return Gm;let r=e.peek(t),i=``;for(;Wm(r);)i+=String.fromCharCode(r),r=e.peek(++t);return Km=e,qm=n,Gm=i?i.toLowerCase():r==Qm||r==$m?void 0:null}var Ym=60,Xm=62,Zm=47,Qm=63,$m=33,eh=45;function th(e,t){this.name=e,this.parent=t}var nh=[gm,bm,_m,vm,ym],rh=new Ne({start:null,shift(e,t,n,r){return nh.indexOf(t)>-1?new th(Jm(r,1)||``,e):e},reduce(e,t){return t==Om&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==gm||i==Lm?new th(Jm(r,1)||``,e):e},strict:!1}),ih=new A((e,t)=>{if(e.next!=Ym){e.next<0&&t.context&&e.acceptToken(wm);return}e.advance();let n=e.next==Zm;n&&e.advance();let r=Jm(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?Em:Tm);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(xm);if(i&&Hm[i])return e.acceptToken(wm,-2);if(t.dialectEnabled(zm))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(_m);if(r==`style`)return e.acceptToken(vm);if(r==`textarea`)return e.acceptToken(ym);if(Vm.hasOwnProperty(r))return e.acceptToken(bm);i&&Um[i]&&Um[i][r]?e.acceptToken(wm,-1):e.acceptToken(gm)}},{contextual:!0}),ah=new A(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(Dm);break}if(e.next==eh)t++;else if(e.next==Xm&&t>=2){n>=3&&e.acceptToken(Dm,-2);break}else t=0;e.advance()}});function oh(e){for(;e;e=e.parent)if(e.name==`svg`||e.name==`math`)return!0;return!1}var sh=new A((e,t)=>{if(e.next==Zm&&e.peek(1)==Xm){let n=t.dialectEnabled(Bm)||oh(t.context);e.acceptToken(n?hm:mm,2)}else e.next==Xm&&e.acceptToken(mm,1)});function ch(e,t,n){let r=2+e.length;return new A(i=>{for(let a=0,o=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(a==0&&i.next==Ym||a==1&&i.next==Zm||a>=2&&a<r&&i.next==e.charCodeAt(a-2))a++,o++;else if(a==r&&i.next==Xm){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 lh=ch(`script`,cm,lm),uh=ch(`style`,um,dm),dh=ch(`textarea`,fm,pm),fh=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}),ph=ke.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'#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O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|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:rh,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:[fh],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;'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a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!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:[lh,uh,dh,sh,ih,ah,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function mh(e,t){let n=Object.create(null);for(let r of e.getChildren(Am)){let e=r.getChild(jm),i=r.getChild(Mm)||r.getChild(Nm);e&&(n[t.read(e.from,e.to)]=i?i.type.id==Mm?t.read(i.from+1,i.to-1):t.read(i.from,i.to):``)}return n}function hh(e,t){let n=e.getChild(km);return n?t.read(n.from,n.to):` `}function gh(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||=mh(e.node.parent.firstChild,t)))return{parser:i.parser,bracketed:!0};return null}function _h(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 C((e,t)=>{let s=e.type.id;if(s==Pm)return gh(e,t,n);if(s==Fm)return gh(e,t,r);if(s==Im)return gh(e,t,i);if(s==Om&&a.length){let n=e.node,r=n.firstChild,i=r&&hh(r,t),o;if(i){for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(o||=mh(r,t)))){let t=n.lastChild,i=t.type.id==Rm?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(o&&s==Am){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!=hh(n.parent,t))continue;let e=n.lastChild;if(e.type.id==Mm){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==Nm)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var vh=148,yh=1,bh=149,xh=150,Sh=2,Ch=151,wh=3,Th=4,Eh=152,Dh=[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],Oh=58,kh=40,Ah=95,jh=91,Mh=45,Nh=46,Ph=35,Fh=37,Ih=38,Lh=92,Rh=10,zh=42;function Bh(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function Vh(e){return e>=48&&e<=57}function Hh(e){return Vh(e)||e>=97&&e<=102||e>=65&&e<=70}var Uh=(e,t,n)=>(r,i)=>{for(let a=!1,o=0,s=0;;s++){let{next:c}=r;if(Bh(c)||c==Mh||c==Ah||a&&Vh(c))!a&&(c!=Mh||s>0)&&(a=!0),o===s&&c==Mh&&o++,r.advance();else if(c==Lh&&r.peek(1)!=Rh){if(r.advance(),Hh(r.next)){do r.advance();while(Hh(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==kh?n:e);break}}},Wh=new A(Uh(bh,Sh,xh),{contextual:!0}),Gh=new A(Uh(Ch,wh,Th),{contextual:!0}),Kh=new A(e=>{if(Dh.includes(e.peek(-1))){let{next:t}=e;(Bh(t)||t==Ah||t==Ph||t==Nh||t==zh||t==jh||t==Oh&&Bh(e.peek(1))||t==Mh||t==Ih)&&e.acceptToken(vh)}}),qh=new A(e=>{if(!Dh.includes(e.peek(-1))){let{next:t}=e;if(t==Fh&&(e.advance(),e.acceptToken(yh)),Bh(t)){do e.advance();while(Bh(e.next)||Vh(e.next));e.acceptToken(yh)}}});function Jh(e){let t=e.length;return(t==4||t==5||t==7||t==9)&&/^#[a-f\d]+$/i.test(e)?Eh:-1}var Yh=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}),Xh={__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},Zh={__proto__:null,or:102,and:102,not:112,only:112,layer:212},Qh={__proto__:null,selector:118,style:124,layer:208},$h={__proto__:null,"@import":204,"@media":216,"@charset":220,"@namespace":224,"@keyframes":230,"@supports":242,"@scope":246,"@font-feature-values":252},eg={__proto__:null,to:249},tg=ke.deserialize({version:14,states:"MrQYQdOOO$TQdOOP$[O`OOO%XQaO'#CfOOQP'#Ce'#CeO%`QdO'#CgO%eQ`O'#CgO%jQaO'#FrO&eQdO'#CkO'XQaO'#CcO'cQdO'#CnOOQP'#ES'#ESOOQP'#ER'#ERO'nQdO'#ETO'yQdO'#E[O'yQdO'#E_OOQP'#Fr'#FrO)`QhO'#FQOOQS'#Fq'#FqOOQS'#FT'#FTQYQdOOO)gQdO'#EeO*vQhO'#EkO)gQdO'#EmO*}QdO'#EoO+YQdO'#ErO*[QhO'#ExO+bQdO'#EzO+mQdO'#E}O+rQaO'#CfO+yQ`O'#EbO,OQ`O'#GPO,ZQdO'#GPQOQ`OOP,eO&jO'#CaPOOO)CAa)CAaOOQP'#Ci'#CiOOQP,59R,59RO%`QdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&eQdO,59VO,pQdO,59YOOQP,5:m,5:mO'nQdO,5:oO'yQdO,5:vO'yQdO,5:xO'yQdO,5:yO'yQdO'#F[O,{Q`O,58}O-TQdO'#EaOOQS,58},58}OOQP'#Cq'#CqOOQO'#EP'#EPOOQP,59Y,59YO-[Q`O,59YO-aQ`O,59YO-fQpO'#EUO-qQdO'#EVO-vQ`O'#EVO-{QpO,5:oO.iQaO,5:vO/PQaO,5:yOOQW'#D]'#D]O0OQhO'#DgO0cQhO,5;lO*[QhO'#DeO0pQ`O'#DnO0uQhO'#D{OOQW'#Fx'#FxOOQS,5;l,5;lO0zQ`O'#DhO1PQ`O'#DkOOQS-E9R-E9ROOQ['#Cv'#CvO1UQdO'#CwO1iQdO'#C|O1|QdO'#DPOOQ['#DQ'#DQO2aQ!pO'#DRO4jQ!jO,5;POOQO'#DW'#DWO-aQ`O'#DVO4zQ!nO'#FuO6}Q`O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'mR(d(ZQ%u$WQ&y%mQ't&zR(Y'uR%k$SR%Z#oQqPR#n!SQ!zfQ$f!rR%}$g",nodeNames:`⚠ Unit VariableName VariableName QueryCallee Comment 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:[Yh],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!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j;'S;=`%{<%lO%jbEvU!r`Oy%jz#b%j#b#cFY#c;'S%j;'S;=`%{<%lO%jbF_U!r`Oy%jz#h%j#h#iFq#i;'S%j;'S;=`%{<%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:[Kh,qh,Wh,Gh,1,2,3,4,new ye(`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)=>Jh(e)<<1,external:Jh},{term:150,get:e=>Xh[e]||-1},{term:151,get:e=>Zh[e]||-1},{term:4,get:e=>Qh[e]||-1},{term:28,get:e=>$h[e]||-1},{term:149,get:e=>eg[e]||-1}],tokenPrec:2433}),ng=$e({css:()=>yg,cssCompletionSource:()=>_g,cssLanguage:()=>vg,defineCSSCompletionSource:()=>gg}),rg=null;function ig(){if(!rg&&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)));rg=t.sort().map(e=>({type:`property`,label:e,apply:e+`: `}))}return rg||[]}var ag=`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})),og=`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}))),sg=`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})),cg=[`@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})),lg=/^(\w[\w-]*|-\w[\w-]*|)$/,ug=/^-(-[\w-]*)?$/;function dg(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 fg=new y,pg=[`Declaration`];function mg(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function hg(e,t,n){if(t.to-t.from>4096){let r=fg.get(t);if(r)return r;let i=[],a=new Set,o=t.cursor(_.IncludeAnonymous);if(o.firstChild())do for(let t of hg(e,o.node,n))a.has(t.label)||(a.add(t.label),i.push(t));while(o.nextSibling());return fg.set(t,i),i}{let r=[],i=new Set;return t.cursor().iterate(t=>{if(n(t)&&t.matchContext(pg)&&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 gg=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:ig(),validFor:lg};if(a.name==`ValueName`)return{from:a.from,options:og,validFor:lg};if(a.name==`PseudoClassName`)return{from:a.from,options:ag,validFor:lg};if(e(a)||(n.explicit||o)&&dg(a,r.doc))return{from:e(a)||o?a.from:i,options:hg(r.doc,mg(a),e),validFor:ug};if(a.name==`TagName`){for(let{parent:e}=a;e;e=e.parent)if(e.name==`Block`)return{from:a.from,options:ig(),validFor:lg};return{from:a.from,options:sg,validFor:lg}}if(a.name==`AtKeyword`)return{from:a.from,options:cg,validFor:lg};if(!n.explicit)return null;let s=a.resolve(i),c=s.childBefore(i);return c&&c.name==`:`&&s.name==`PseudoClassSelector`?{from:i,options:ag,validFor:lg}:c&&c.name==`:`&&s.name==`Declaration`||s.name==`ArgList`?{from:i,options:og,validFor:lg}:s.name==`Block`||s.name==`Styles`?{from:i,options:ig(),validFor:lg}:null},_g=gg(e=>e.name==`VariableName`),vg=je.define({name:`css`,parser:tg.configure({props:[r.add({Declaration:Se()}),Ue.add({"Block KeyframeList":Le})]}),languageData:{commentTokens:{block:{open:`/*`,close:`*/`}},indentOnInput:/^\s*\}$/,wordChars:`-`}});function yg(){return new Fe(vg,vg.data.of({autocomplete:_g}))}var bg=317,xg=318,Sg=1,Cg=2,wg=3,Tg=4,Eg=319,Dg=321,Og=322,kg=5,Ag=6,jg=0,Mg=[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],Ng=125,Pg=59,Fg=47,Ig=42,Lg=43,Rg=45,zg=60,Bg=44,Vg=63,Hg=46,Ug=91,Wg=new Ne({start:!1,shift(e,t){return t==kg||t==Ag||t==Dg?e:t==Og},strict:!1}),Gg=new A((e,t)=>{let{next:n}=e;(n==Ng||n==-1||t.context)&&e.acceptToken(Eg)},{contextual:!0,fallback:!0}),Kg=new A((e,t)=>{let{next:n}=e,r;Mg.indexOf(n)>-1||(n!=Fg||(r=e.peek(1))!=Fg&&r!=Ig)&&n!=Ng&&n!=Pg&&n!=-1&&!t.context&&e.acceptToken(bg)},{contextual:!0}),qg=new A((e,t)=>{e.next==Ug&&!t.context&&e.acceptToken(xg)},{contextual:!0}),Jg=new A((e,t)=>{let{next:n}=e;if(n==Lg||n==Rg){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(Sg);e.acceptToken(n?Sg:Cg)}}else n==Vg&&e.peek(1)==Hg&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(wg))},{contextual:!0});function Yg(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}var Xg=new A((e,t)=>{if(e.next!=zg||!t.dialectEnabled(jg)||(e.advance(),e.next==Fg))return;let n=0;for(;Mg.indexOf(e.next)>-1;)e.advance(),n++;if(Yg(e.next,!0)){for(e.advance(),n++;Yg(e.next,!1);)e.advance(),n++;for(;Mg.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==Bg)return;for(let t=0;;t++){if(t==7){if(!Yg(e.next,!0))return;break}if(e.next!=`extends`.charCodeAt(t))break;e.advance(),n++}}e.acceptToken(Tg,-n)}),Zg=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)}),Qg={__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},$g={__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},e_={__proto__:null,"<":193},t_=ke.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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rQ6s2fQ7u4cQ9Y6tT=n'X+^V#aW%h*ZU#`W%h*ZS(V#W(_U([#Z+[/oS-]'X+^T.Q(U.VV'_!e%i*[Q$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:Wg,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: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15205}),n_=$e({autoCloseTags:()=>E_,javascript:()=>S_,javascriptLanguage:()=>m_,jsxLanguage:()=>__,localCompletionSource:()=>p_,snippets:()=>r_,tsxLanguage:()=>v_,typescriptLanguage:()=>g_,typescriptSnippets:()=>i_}),r_=[Af("function ${name}(${params}) {\n ${}\n}",{label:`function`,detail:`definition`,type:`keyword`}),Af("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:`for`,detail:`loop`,type:`keyword`}),Af("for (let ${name} of ${collection}) {\n ${}\n}",{label:`for`,detail:`of loop`,type:`keyword`}),Af(`do {
|
|
86
|
-
\${}
|
|
87
|
-
} while (\${})`,{label:`do`,detail:`loop`,type:`keyword`}),Af(`while (\${}) {
|
|
88
|
-
\${}
|
|
89
|
-
}`,{label:`while`,detail:`loop`,type:`keyword`}),Af(`try {
|
|
90
|
-
\${}
|
|
91
|
-
} catch (\${error}) {
|
|
92
|
-
\${}
|
|
93
|
-
}`,{label:`try`,detail:`/ catch block`,type:`keyword`}),Af(`if (\${}) {
|
|
94
|
-
\${}
|
|
95
|
-
}`,{label:`if`,detail:`block`,type:`keyword`}),Af(`if (\${}) {
|
|
96
|
-
\${}
|
|
97
|
-
} else {
|
|
98
|
-
\${}
|
|
99
|
-
}`,{label:`if`,detail:`/ else block`,type:`keyword`}),Af(`class \${name} {
|
|
100
|
-
constructor(\${params}) {
|
|
101
|
-
\${}
|
|
102
|
-
}
|
|
103
|
-
}`,{label:`class`,detail:`definition`,type:`keyword`}),Af('import {${names}} from "${module}"\n${}',{label:`import`,detail:`named`,type:`keyword`}),Af('import ${name} from "${module}"\n${}',{label:`import`,detail:`default`,type:`keyword`})],i_=r_.concat([Af(`interface \${name} {
|
|
104
|
-
\${}
|
|
105
|
-
}`,{label:`interface`,detail:`definition`,type:`keyword`}),Af("type ${name} = ${type}",{label:`type`,detail:`definition`,type:`keyword`}),Af(`enum \${name} {
|
|
106
|
-
\${}
|
|
107
|
-
}`,{label:`enum`,detail:`definition`,type:`keyword`})]),a_=new y,o_=new Set([`Script`,`Block`,`FunctionExpression`,`FunctionDeclaration`,`ArrowFunction`,`MethodDeclaration`,`ForStatement`]);function s_(e){return(t,n)=>{let r=t.node.getChild(`VariableDefinition`);return r&&n(r,e),!0}}var c_=[`FunctionDeclaration`],l_={FunctionDeclaration:s_(`function`),ClassDeclaration:s_(`class`),ClassExpression:()=>!0,EnumDeclaration:s_(`constant`),TypeAliasDeclaration:s_(`type`),NamespaceDeclaration:s_(`namespace`),VariableDefinition(e,t){e.matchContext(c_)||t(e,`variable`)},TypeDefinition(e,t){t(e,`type`)},__proto__:null};function u_(e,t){let n=a_.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=l_[t.name];if(e&&e(t,a)||o_.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of u_(e,t.node))r.push(n);return!1}}),a_.set(t,r),r}var d_=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,f_=[`TemplateString`,`String`,`RegExp`,`LineComment`,`BlockComment`,`VariableDefinition`,`TypeDefinition`,`Label`,`PropertyDefinition`,`PropertyName`,`PrivatePropertyDefinition`,`PrivatePropertyName`,`JSXText`,`JSXAttributeValue`,`JSXOpenTag`,`JSXCloseTag`,`JSXSelfClosingTag`,`.`,`?.`];function p_(e){let n=t(e.state).resolveInner(e.pos,-1);if(f_.indexOf(n.name)>-1)return null;let r=n.name==`VariableName`||n.to-n.from<20&&d_.test(e.state.sliceDoc(n.from,n.to));if(!r&&!e.explicit)return null;let i=[];for(let t=n;t;t=t.parent)o_.has(t.name)&&(i=i.concat(u_(e.state.doc,t)));return{options:i,from:r?n.from:e.pos,validFor:d_}}var m_=je.define({name:`javascript`,parser:t_.configure({props:[r.add({IfStatement:Se({except:/^\s*({|else\b)/}),TryStatement:Se({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:re,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:he({closing:`}`}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Se({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}}),Ue.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Le,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:`$`}}),h_={test:e=>/^JSX/.test(e.name),facet:_e({commentTokens:{block:{open:`{/*`,close:`*/}`}}})},g_=m_.configure({dialect:`ts`},`typescript`),__=m_.configure({dialect:`jsx`,props:[g.add(e=>e.isTop?[h_]:void 0)]}),v_=m_.configure({dialect:`jsx ts`,props:[g.add(e=>e.isTop?[h_]:void 0)]},`typescript`),y_=e=>({label:e,type:`keyword`}),b_=`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(y_),x_=b_.concat([`declare`,`implements`,`private`,`protected`,`public`].map(y_));function S_(e={}){let t=e.jsx?e.typescript?v_:__:e.typescript?g_:m_,n=e.typescript?i_.concat(x_):r_.concat(b_);return new Fe(t,[m_.data.of({autocomplete:ff(f_,df(n))}),m_.data.of({autocomplete:p_}),e.jsx?E_:[]])}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 w_(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 T_=typeof navigator==`object`&&/Android\b/.test(navigator.userAgent),E_=w.inputHandler.of((e,n,r,i,a)=>{if((T_?e.composing:e.compositionStarted)||e.state.readOnly||n!=r||i!=`>`&&i!=`/`||!m_.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=w_(s.doc,t.firstChild,n))||t.firstChild?.name==`JSXFragmentTag`)){let e=`${a}>`;return{range:E.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=w_(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)}),D_=$e({autoCloseTags:()=>iv,html:()=>tv,htmlCompletionSource:()=>J_,htmlCompletionSourceWith:()=>Y_,htmlLanguage:()=>ev}),O_=[`_blank`,`_self`,`_top`,`_parent`],k_=[`ascii`,`utf-8`,`utf-16`,`latin1`,`latin1`],A_=[`get`,`post`,`put`,`delete`],j_=[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],M_=[`true`,`false`],Z={},N_={a:{attrs:{href:null,ping:null,type:null,media:null,target:O_,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:O_}},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:j_,formmethod:A_,formnovalidate:[`novalidate`],formtarget:O_,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":k_,autocomplete:[`on`,`off`],enctype:j_,method:A_,novalidate:[`novalidate`],target:O_}},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:j_,formmethod:A_,formnovalidate:[`novalidate`],formtarget:O_,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:k_,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:k_}},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},P_={accesskey:null,class:null,contenteditable:M_,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:M_,autocorrect:M_,autocapitalize:M_,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":M_,"aria-autocomplete":[`inline`,`list`,`both`,`none`],"aria-busy":M_,"aria-checked":[`true`,`false`,`mixed`,`undefined`],"aria-controls":null,"aria-describedby":null,"aria-disabled":M_,"aria-dropeffect":null,"aria-expanded":[`true`,`false`,`undefined`],"aria-flowto":null,"aria-grabbed":[`true`,`false`,`undefined`],"aria-haspopup":M_,"aria-hidden":M_,"aria-invalid":[`true`,`false`,`grammar`,`spelling`],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":[`off`,`polite`,`assertive`],"aria-multiline":M_,"aria-multiselectable":M_,"aria-owns":null,"aria-posinset":null,"aria-pressed":[`true`,`false`,`mixed`,`undefined`],"aria-readonly":M_,"aria-relevant":null,"aria-required":M_,"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},F_=`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 F_)P_[e]=null;var I_=class{constructor(e,t){this.tags={...N_,...e},this.globalAttrs={...P_,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};I_.default=new I_;function L_(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 R_(e,t=!1){for(;e;e=e.parent)if(e.name==`Element`){if(t)t=!1;else return e}return null}function z_(e,t,n){return n.tags[L_(e,R_(t))]?.children||n.allTags}function B_(e,t){let n=[];for(let r=R_(t);r&&!r.type.isTop;r=R_(r.parent)){let i=L_(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 V_=/^[:\-\.\w\u00b7-\uffff]*$/;function H_(e,t,n,r,i){let a=/\s*>/.test(e.sliceDoc(i,i+5))?``:`>`,o=R_(n,n.name==`StartTag`||n.name==`TagName`);return{from:r,to:i,options:z_(e.doc,o,t).map(e=>({label:e,type:`type`})).concat(B_(e.doc,n).map((e,t)=>({label:`/`+e,apply:`/`+e+a,type:`type`,boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function U_(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?``:`>`;return{from:n,to:r,options:B_(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:`type`,boost:99-t})),validFor:V_}}function W_(e,t,n,r){let i=[],a=0;for(let r of z_(e.doc,n,t))i.push({label:`<`+r,type:`type`});for(let t of B_(e.doc,n))i.push({label:`</`+t+`>`,type:`type`,boost:99-a++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function G_(e,t,n,r,i){let a=R_(n),o=a?t.tags[L_(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:V_}}function K_(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=R_(n),i=r?t.tags[L_(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 q_(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)?U_(r,a,a.from,i):H_(r,e,a,a.from,i):a.name==`StartTag`||a.name==`IncompleteTag`?H_(r,e,a,i,i):a.name==`StartCloseTag`||a.name==`IncompleteCloseTag`?U_(r,a,i,i):a.name==`OpenTag`||a.name==`SelfClosingTag`||a.name==`AttributeName`?G_(r,e,a,a.name==`AttributeName`?a.from:i,i):a.name==`Is`||a.name==`AttributeValue`||a.name==`UnquotedAttributeValue`?K_(r,e,a,a.name==`Is`?i:a.from,i):n.explicit&&(o.name==`Element`||o.name==`Text`||o.name==`Document`)?W_(r,e,a,i):null}function J_(e){return q_(I_.default,e)}function Y_(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new I_(t,n):I_.default;return e=>q_(r,e)}var X_=m_.parser.configure({top:`SingleExpression`}),Z_=[{tag:`script`,attrs:e=>e.type==`text/typescript`||e.lang==`ts`,parser:g_.parser},{tag:`script`,attrs:e=>e.type==`text/babel`||e.type==`text/jsx`,parser:__.parser},{tag:`script`,attrs:e=>e.type==`text/typescript-jsx`,parser:v_.parser},{tag:`script`,attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:X_},{tag:`script`,attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:m_.parser},{tag:`style`,attrs(e){return(!e.lang||e.lang==`css`)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:vg.parser}],Q_=[{name:`style`,parser:vg.parser.configure({top:`Styles`})}].concat(F_.map(e=>({name:e,parser:m_.parser}))),$_=je.define({name:`html`,parser:ph.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}}),Ue.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}}}),Ee.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:`-_`}}),ev=$_.configure({wrap:_h(Z_,Q_)});function tv(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=_h((e.nestedLanguages||[]).concat(Z_),(e.nestedAttributes||[]).concat(Q_)));let r=n?$_.configure({wrap:n,dialect:t}):t?ev.configure({dialect:t}):ev;return new Fe(r,[ev.data.of({autocomplete:Y_(e)}),e.autoCloseTags===!1?[]:iv,S_().support,yg().support])}var nv=new Set(`area base br col command embed frame hr img input keygen link meta param source track wbr menuitem`.split(` `));function rv(e,t,n){for(;;){if(t.lastChild?.name!=`CloseTag`)return!1;let r=t.parent;if(!r||L_(e,r)!=n)return!0;t=r}}var iv=w.inputHandler.of((e,n,r,i,a)=>{if(e.composing||e.state.readOnly||n!=r||i!=`>`&&i!=`/`||!ev.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=L_(s.doc,t.parent,r))&&!nv.has(o)&&!rv(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=L_(s.doc,e,r))&&!nv.has(o)){let e=r+ +(s.doc.sliceString(r,r+1)===`>`),t=`${o}>`;return{range:E.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)}),av=$e({commonmarkLanguage:()=>mv,deleteMarkupBackward:()=>Ov,insertNewlineContinueMarkup:()=>Cv,insertNewlineContinueMarkupCommand:()=>Sv,markdown:()=>jv,markdownKeymap:()=>kv,markdownLanguage:()=>hv,pasteURLAsLink:()=>Iv}),ov=_e({commentTokens:{block:{open:`<!--`,close:`-->`}}}),sv=new s,cv=Lp.configure({props:[Ue.add(e=>!e.is(`Block`)||e.is(`Document`)||lv(e)!=null||uv(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),sv.add(lv),r.add({Document:()=>null}),o.add({Document:ov})]});function lv(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function uv(e){return e.name==`OrderedList`||e.name==`BulletList`}function dv(e,t){let n=e;for(;;){let e=n.nextSibling,r;if(!e||(r=lv(e.type))!=null&&r<=t)break;n=e}return n.to}var fv=se.of((e,n,r)=>{for(let i=t(e).resolveInner(r,-1);i&&!(i.from<n);i=i.parent){let e=i.type.prop(sv);if(e==null)continue;let t=dv(i,e);if(t>r)return{from:r,to:t}}return null});function pv(e){return new le(ov,e,[],`markdown`)}var mv=pv(cv),hv=pv(cv.configure([rm,om,am,sm,{props:[Ue.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));function gv(e,t){return n=>{if(n&&e){let t=null;if(n=/\S*/.exec(n)[0],t=typeof e==`function`?e(n):k.matchLanguageName(e,n,!0),t instanceof k)return t.support?t.support.language.parser:ue.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}}var _v=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(+yv(this.item,e)[2]+t):``;return this.spaceBefore+n+this.type+this.spaceAfter}};function vv(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 _v(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 _v(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 _v(i.parent,s,s+t,a[1],e,n,i))}}return r}function yv(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function bv(e,t,n,r=0){for(let i=-1,a=e;;){if(a.name==`ListItem`){let e=yv(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 xv(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||t.facet(S)!=` `)return e;let r=x(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||!hv.isActiveAt(n,t.from,-1)&&!hv.isActiveAt(n,t.from,1))return o={range:t};let r=t.from,s=a.lineAt(r),c=vv(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`&&bv(l.item,a,i,-2),e&&e.node.name==`OrderedList`&&bv(e.item,a,i),{range:E.cursor(t+n.length),changes:i}}{let e=Ev(c,n,s);return{range:E.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`&&bv(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?x(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=xv(p,n),Tv(l.node,n.doc)&&(p=Ev(c,n,s)+n.lineBreak+p),d.push({from:m,to:r,insert:n.lineBreak+p}),{range:E.cursor(m+p.length+1),changes:d}});return!o&&(r(n.update(s,{scrollIntoView:!0,userEvent:`input`})),!0)},Cv=Sv();function wv(e){return e.name==`QuoteMark`||e.name==`ListMark`}function Tv(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 Ev(e,t,n){let r=``;for(let t=0,i=e.length-2;t<=i;t++)r+=e[t].blank(t<i?x(n.text,4,e[t+1].from)-r.length:null,t<i);return xv(r,t)}function Dv(e,t){let n=e.resolveInner(t,-1),r=t;wv(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(wv(e))r=e.from;else if(e.name==`OrderedList`||e.name==`BulletList`)n=e.lastChild,r=n.to;else break;return n}var Ov=({state:e,dispatch:n})=>{let r=t(e),i=null,a=e.changeByRange(t=>{let n=t.from,{doc:a}=e;if(t.empty&&hv.isActiveAt(e,t.from)){let t=a.lineAt(n),i=vv(Dv(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:E.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(x(t.text,4,r.to)-x(t.text,4,r.from));return i==t.from&&(n=xv(n,e)),{range:E.cursor(i+n.length),changes:{from:i,to:t.from+r.to,insert:n}}}if(i<n)return{range:E.cursor(i),changes:{from:i,to:n}}}}}return i={range:t}});return!i&&(n(e.update(a,{scrollIntoView:!0,userEvent:`delete`})),!0)},kv=[{key:`Enter`,run:Cv},{key:`Backspace`,run:Ov}],Av=tv({matchClosingTags:!1});function jv(e={}){let{codeLanguages:t,defaultCodeLanguage:n,addKeymap:r=!0,base:{parser:i}=mv,completeHTMLTags:a=!0,pasteURLAsLink:o=!0,htmlTagLanguage:s=Av}=e;if(!(i instanceof lp))throw RangeError("Base parser provided to `markdown` should be a Markdown parser");let c=e.extensions?[e.extensions]:[],l=[s.support,fv],u;o&&l.push(Iv),n instanceof Fe?(l.push(n.support),u=n.language):n&&(u=n);let d=t||u?gv(t,u):void 0;c.push(zp({codeParser:d,htmlParser:s.language.parser})),r&&l.push(me.high(T.of(kv)));let f=pv(i.configure(c));return a&&l.push(f.data.of({autocomplete:Mv})),new Fe(f,l)}function Mv(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:Pv(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var Nv=null;function Pv(){if(Nv)return Nv;let e=J_(new cf(xe.create({extensions:Av}),0,!0));return Nv=e?e.options:[]}var Fv=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,Iv=w.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),!hv.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||Fv.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 Fe(pe.define(e))}function Lv(e){return V(()=>import(`./dist-DfBSxfI7.js`).then(t=>t.sql({dialect:t[e]})),__vite__mapDeps([20,21]))}var Rv=[k.of({name:`C`,extensions:[`c`,`h`,`ino`],load(){return V(()=>import(`./dist-BruzXrfs.js`).then(e=>e.cpp()),__vite__mapDeps([22,21]))}}),k.of({name:`C++`,alias:[`cpp`],extensions:[`cpp`,`c++`,`cc`,`cxx`,`hpp`,`h++`,`hh`,`hxx`],load(){return V(()=>import(`./dist-BruzXrfs.js`).then(e=>e.cpp()),__vite__mapDeps([22,21]))}}),k.of({name:`CQL`,alias:[`cassandra`],extensions:[`cql`],load(){return Lv(`Cassandra`)}}),k.of({name:`CSS`,extensions:[`css`],load(){return V(()=>Promise.resolve().then(()=>ng).then(e=>e.css()),void 0)}}),k.of({name:`Go`,extensions:[`go`],load(){return V(()=>import(`./dist-Dih0lXFk.js`).then(e=>e.go()),__vite__mapDeps([23,21]))}}),k.of({name:`HTML`,alias:[`xhtml`],extensions:[`html`,`htm`,`handlebars`,`hbs`],load(){return V(()=>Promise.resolve().then(()=>D_).then(e=>e.html()),void 0)}}),k.of({name:`Java`,extensions:[`java`],load(){return V(()=>import(`./dist-CubY9gnU.js`).then(e=>e.java()),__vite__mapDeps([24,21]))}}),k.of({name:`JavaScript`,alias:[`ecmascript`,`js`,`node`],extensions:[`js`,`mjs`,`cjs`],load(){return V(()=>Promise.resolve().then(()=>n_).then(e=>e.javascript()),void 0)}}),k.of({name:`Jinja`,extensions:[`j2`,`jinja`,`jinja2`],load(){return V(()=>import(`./dist-T0asI_P_.js`).then(e=>e.jinja()),__vite__mapDeps([25,21]))}}),k.of({name:`JSON`,alias:[`json5`],extensions:[`json`,`map`],load(){return V(()=>import(`./dist-ga2OvaLo.js`).then(e=>e.json()),__vite__mapDeps([26,21]))}}),k.of({name:`JSX`,extensions:[`jsx`],load(){return V(()=>Promise.resolve().then(()=>n_).then(e=>e.javascript({jsx:!0})),void 0)}}),k.of({name:`LESS`,extensions:[`less`],load(){return V(()=>import(`./dist-DZRwaECR.js`).then(e=>e.less()),__vite__mapDeps([27,21]))}}),k.of({name:`Liquid`,extensions:[`liquid`],load(){return V(()=>import(`./dist-DogGhkjl.js`).then(e=>e.liquid()),__vite__mapDeps([28,21]))}}),k.of({name:`MariaDB SQL`,load(){return Lv(`MariaSQL`)}}),k.of({name:`Markdown`,extensions:[`md`,`markdown`,`mkd`],load(){return V(()=>Promise.resolve().then(()=>av).then(e=>e.markdown()),void 0)}}),k.of({name:`MS SQL`,load(){return Lv(`MSSQL`)}}),k.of({name:`MySQL`,load(){return Lv(`MySQL`)}}),k.of({name:`PHP`,extensions:[`php`,`php3`,`php4`,`php5`,`php7`,`phtml`],load(){return V(()=>import(`./dist-CuHat3Fb.js`).then(e=>e.php()),__vite__mapDeps([29,21]))}}),k.of({name:`PLSQL`,extensions:[`pls`],load(){return Lv(`PLSQL`)}}),k.of({name:`PostgreSQL`,load(){return Lv(`PostgreSQL`)}}),k.of({name:`Python`,extensions:[`BUILD`,`bzl`,`py`,`pyw`],filename:/^(BUCK|BUILD)$/,load(){return V(()=>import(`./dist-CZwyjOXO.js`).then(e=>e.python()),__vite__mapDeps([30,21]))}}),k.of({name:`Rust`,extensions:[`rs`],load(){return V(()=>import(`./dist-BwF8pAVO.js`).then(e=>e.rust()),__vite__mapDeps([31,21]))}}),k.of({name:`Sass`,extensions:[`sass`],load(){return V(()=>import(`./dist-BgauZQpT.js`).then(e=>e.sass({indented:!0})),__vite__mapDeps([32,21]))}}),k.of({name:`SCSS`,extensions:[`scss`],load(){return V(()=>import(`./dist-BgauZQpT.js`).then(e=>e.sass()),__vite__mapDeps([32,21]))}}),k.of({name:`SQL`,extensions:[`sql`],load(){return Lv(`StandardSQL`)}}),k.of({name:`SQLite`,load(){return Lv(`SQLite`)}}),k.of({name:`TSX`,extensions:[`tsx`],load(){return V(()=>Promise.resolve().then(()=>n_).then(e=>e.javascript({jsx:!0,typescript:!0})),void 0)}}),k.of({name:`TypeScript`,alias:[`ts`],extensions:[`ts`,`mts`,`cts`],load(){return V(()=>Promise.resolve().then(()=>n_).then(e=>e.javascript({typescript:!0})),void 0)}}),k.of({name:`WebAssembly`,extensions:[`wat`,`wast`],load(){return V(()=>import(`./dist-8bzcdWlP.js`).then(e=>e.wast()),__vite__mapDeps([33,21]))}}),k.of({name:`XML`,alias:[`rss`,`wsdl`,`xsd`],extensions:[`xml`,`xsl`,`xsd`,`svg`],load(){return V(()=>import(`./dist-CM1-Tp30.js`).then(e=>e.xml()),__vite__mapDeps([34,21]))}}),k.of({name:`YAML`,alias:[`yml`],extensions:[`yaml`,`yml`],load(){return V(()=>import(`./dist-D5EOvBuF.js`).then(e=>e.yaml()),__vite__mapDeps([35,21]))}}),k.of({name:`APL`,extensions:[`dyalog`,`apl`],load(){return V(()=>import(`./apl-gfMMiTNf.js`).then(e=>Q(e.apl)),[])}}),k.of({name:`PGP`,alias:[`asciiarmor`],extensions:[`asc`,`pgp`,`sig`],load(){return V(()=>import(`./asciiarmor-C_eisQCp.js`).then(e=>Q(e.asciiArmor)),[])}}),k.of({name:`ASN.1`,extensions:[`asn`,`asn1`],load(){return V(()=>import(`./asn1-DCl_8MCW.js`).then(e=>Q(e.asn1({}))),[])}}),k.of({name:`Asterisk`,filename:/^extensions\.conf$/i,load(){return V(()=>import(`./asterisk-BEn0Cwpx.js`).then(e=>Q(e.asterisk)),[])}}),k.of({name:`Brainfuck`,extensions:[`b`,`bf`],load(){return V(()=>import(`./brainfuck-D5EjA2JK.js`).then(e=>Q(e.brainfuck)),[])}}),k.of({name:`Cobol`,extensions:[`cob`,`cpy`],load(){return V(()=>import(`./cobol-DHLQUbN7.js`).then(e=>Q(e.cobol)),[])}}),k.of({name:`C#`,alias:[`csharp`,`cs`],extensions:[`cs`],load(){return V(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.csharp)),[])}}),k.of({name:`Clojure`,extensions:[`clj`,`cljc`,`cljx`],load(){return V(()=>import(`./clojure-BflJGmDX.js`).then(e=>Q(e.clojure)),[])}}),k.of({name:`ClojureScript`,extensions:[`cljs`],load(){return V(()=>import(`./clojure-BflJGmDX.js`).then(e=>Q(e.clojure)),[])}}),k.of({name:`Closure Stylesheets (GSS)`,extensions:[`gss`],load(){return V(()=>import(`./css-CnaYoQib.js`).then(e=>Q(e.gss)),[])}}),k.of({name:`CMake`,extensions:[`cmake`,`cmake.in`],filename:/^CMakeLists\.txt$/,load(){return V(()=>import(`./cmake-84nbDH0I.js`).then(e=>Q(e.cmake)),[])}}),k.of({name:`CoffeeScript`,alias:[`coffee`,`coffee-script`],extensions:[`coffee`],load(){return V(()=>import(`./coffeescript-De_zI4J0.js`).then(e=>Q(e.coffeeScript)),[])}}),k.of({name:`Common Lisp`,alias:[`lisp`],extensions:[`cl`,`lisp`,`el`],load(){return V(()=>import(`./commonlisp-DgAKBe0r.js`).then(e=>Q(e.commonLisp)),[])}}),k.of({name:`Cypher`,extensions:[`cyp`,`cypher`],load(){return V(()=>import(`./cypher-p9eYesGn.js`).then(e=>Q(e.cypher)),[])}}),k.of({name:`Cython`,extensions:[`pyx`,`pxd`,`pxi`],load(){return V(()=>import(`./python-B_1Jd8HM.js`).then(e=>Q(e.cython)),[])}}),k.of({name:`Crystal`,extensions:[`cr`],load(){return V(()=>import(`./crystal-Bsdphhtm.js`).then(e=>Q(e.crystal)),[])}}),k.of({name:`D`,extensions:[`d`],load(){return V(()=>import(`./d-DWkQyNnU.js`).then(e=>Q(e.d)),[])}}),k.of({name:`Dart`,extensions:[`dart`],load(){return V(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.dart)),[])}}),k.of({name:`diff`,extensions:[`diff`,`patch`],load(){return V(()=>import(`./diff-ChtP43wD.js`).then(e=>Q(e.diff)),[])}}),k.of({name:`Dockerfile`,filename:/^Dockerfile$/,load(){return V(()=>import(`./dockerfile-DJkHQgkl.js`).then(e=>Q(e.dockerFile)),__vite__mapDeps([36,37]))}}),k.of({name:`DTD`,extensions:[`dtd`],load(){return V(()=>import(`./dtd-DTF72YNO.js`).then(e=>Q(e.dtd)),[])}}),k.of({name:`Dylan`,extensions:[`dylan`,`dyl`,`intr`],load(){return V(()=>import(`./dylan-S7ucR4pR.js`).then(e=>Q(e.dylan)),[])}}),k.of({name:`EBNF`,load(){return V(()=>import(`./ebnf-D4c0_ac3.js`).then(e=>Q(e.ebnf)),[])}}),k.of({name:`ECL`,extensions:[`ecl`],load(){return V(()=>import(`./ecl-BVIeWmwY.js`).then(e=>Q(e.ecl)),[])}}),k.of({name:`edn`,extensions:[`edn`],load(){return V(()=>import(`./clojure-BflJGmDX.js`).then(e=>Q(e.clojure)),[])}}),k.of({name:`Eiffel`,extensions:[`e`],load(){return V(()=>import(`./eiffel-BEjRio4Q.js`).then(e=>Q(e.eiffel)),[])}}),k.of({name:`Elm`,extensions:[`elm`],load(){return V(()=>import(`./elm-Cshzl8qu.js`).then(e=>Q(e.elm)),[])}}),k.of({name:`Erlang`,extensions:[`erl`],load(){return V(()=>import(`./erlang-BV0c4Hdn.js`).then(e=>Q(e.erlang)),[])}}),k.of({name:`Esper`,load(){return V(()=>import(`./sql-DuQMFDvy.js`).then(e=>Q(e.esper)),[])}}),k.of({name:`Factor`,extensions:[`factor`],load(){return V(()=>import(`./factor-LKH5gN8L.js`).then(e=>Q(e.factor)),__vite__mapDeps([38,37]))}}),k.of({name:`FCL`,load(){return V(()=>import(`./fcl-ClOhbFR7.js`).then(e=>Q(e.fcl)),[])}}),k.of({name:`Forth`,extensions:[`forth`,`fth`,`4th`],load(){return V(()=>import(`./forth-D6RzAl64.js`).then(e=>Q(e.forth)),[])}}),k.of({name:`Fortran`,extensions:[`f`,`for`,`f77`,`f90`,`f95`],load(){return V(()=>import(`./fortran-Bt6PBEDR.js`).then(e=>Q(e.fortran)),[])}}),k.of({name:`F#`,alias:[`fsharp`],extensions:[`fs`],load(){return V(()=>import(`./mllike-B45xgp2S.js`).then(e=>Q(e.fSharp)),[])}}),k.of({name:`Gas`,extensions:[`s`],load(){return V(()=>import(`./gas-BHEdbvp9.js`).then(e=>Q(e.gas)),[])}}),k.of({name:`Gherkin`,extensions:[`feature`],load(){return V(()=>import(`./gherkin-oBAE_ms0.js`).then(e=>Q(e.gherkin)),[])}}),k.of({name:`Groovy`,extensions:[`groovy`,`gradle`],filename:/^Jenkinsfile$/,load(){return V(()=>import(`./groovy-CUpZ7dEl.js`).then(e=>Q(e.groovy)),[])}}),k.of({name:`Haskell`,extensions:[`hs`],load(){return V(()=>import(`./haskell-BRsoo5mP.js`).then(e=>Q(e.haskell)),[])}}),k.of({name:`Haxe`,extensions:[`hx`],load(){return V(()=>import(`./haxe-DjVOVvNP.js`).then(e=>Q(e.haxe)),[])}}),k.of({name:`HXML`,extensions:[`hxml`],load(){return V(()=>import(`./haxe-DjVOVvNP.js`).then(e=>Q(e.hxml)),[])}}),k.of({name:`HTTP`,load(){return V(()=>import(`./http-CLVgA2GD.js`).then(e=>Q(e.http)),[])}}),k.of({name:`IDL`,extensions:[`pro`],load(){return V(()=>import(`./idl-BUZw3wgd.js`).then(e=>Q(e.idl)),[])}}),k.of({name:`JSON-LD`,alias:[`jsonld`],extensions:[`jsonld`],load(){return V(()=>import(`./javascript-Bu8mWwtz.js`).then(e=>Q(e.jsonld)),[])}}),k.of({name:`Julia`,extensions:[`jl`],load(){return V(()=>import(`./julia-CQfgDRfP.js`).then(e=>Q(e.julia)),[])}}),k.of({name:`Kotlin`,extensions:[`kt`,`kts`],load(){return V(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.kotlin)),[])}}),k.of({name:`LiveScript`,alias:[`ls`],extensions:[`ls`],load(){return V(()=>import(`./livescript-BXxG0Yva.js`).then(e=>Q(e.liveScript)),[])}}),k.of({name:`Lua`,extensions:[`lua`],load(){return V(()=>import(`./lua-DPCEkfD_.js`).then(e=>Q(e.lua)),[])}}),k.of({name:`mIRC`,extensions:[`mrc`],load(){return V(()=>import(`./mirc-C9zpzAZU.js`).then(e=>Q(e.mirc)),[])}}),k.of({name:`Mathematica`,extensions:[`m`,`nb`,`wl`,`wls`],load(){return V(()=>import(`./mathematica-u8YMmbU0.js`).then(e=>Q(e.mathematica)),[])}}),k.of({name:`Modelica`,extensions:[`mo`],load(){return V(()=>import(`./modelica-CqHI_q-D.js`).then(e=>Q(e.modelica)),[])}}),k.of({name:`MUMPS`,extensions:[`mps`],load(){return V(()=>import(`./mumps-BSzj6Xyz.js`).then(e=>Q(e.mumps)),[])}}),k.of({name:`Mbox`,extensions:[`mbox`],load(){return V(()=>import(`./mbox-BEMVcqjs.js`).then(e=>Q(e.mbox)),[])}}),k.of({name:`Nginx`,filename:/nginx.*\.conf$/i,load(){return V(()=>import(`./nginx-8H7HVH4w.js`).then(e=>Q(e.nginx)),[])}}),k.of({name:`NSIS`,extensions:[`nsh`,`nsi`],load(){return V(()=>import(`./nsis-viPvXFiq.js`).then(e=>Q(e.nsis)),__vite__mapDeps([39,37]))}}),k.of({name:`NTriples`,extensions:[`nt`,`nq`],load(){return V(()=>import(`./ntriples-CzMBulkp.js`).then(e=>Q(e.ntriples)),[])}}),k.of({name:`Objective-C`,alias:[`objective-c`,`objc`],extensions:[`m`],load(){return V(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.objectiveC)),[])}}),k.of({name:`Objective-C++`,alias:[`objective-c++`,`objc++`],extensions:[`mm`],load(){return V(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.objectiveCpp)),[])}}),k.of({name:`OCaml`,extensions:[`ml`,`mli`,`mll`,`mly`],load(){return V(()=>import(`./mllike-B45xgp2S.js`).then(e=>Q(e.oCaml)),[])}}),k.of({name:`Octave`,extensions:[`m`],load(){return V(()=>import(`./octave-D2Q8cUp1.js`).then(e=>Q(e.octave)),[])}}),k.of({name:`Oz`,extensions:[`oz`],load(){return V(()=>import(`./oz-BwTct_5T.js`).then(e=>Q(e.oz)),[])}}),k.of({name:`Pascal`,extensions:[`p`,`pas`],load(){return V(()=>import(`./pascal-Dp_KdFgX.js`).then(e=>Q(e.pascal)),[])}}),k.of({name:`Perl`,extensions:[`pl`,`pm`],load(){return V(()=>import(`./perl-BkSkiI9m.js`).then(e=>Q(e.perl)),[])}}),k.of({name:`Pig`,extensions:[`pig`],load(){return V(()=>import(`./pig-AF4Hwhju.js`).then(e=>Q(e.pig)),[])}}),k.of({name:`PowerShell`,extensions:[`ps1`,`psd1`,`psm1`],load(){return V(()=>import(`./powershell-D8WpQPaX.js`).then(e=>Q(e.powerShell)),[])}}),k.of({name:`Properties files`,alias:[`ini`,`properties`],extensions:[`properties`,`ini`,`in`],load(){return V(()=>import(`./properties-C357ku5U.js`).then(e=>Q(e.properties)),[])}}),k.of({name:`ProtoBuf`,extensions:[`proto`],load(){return V(()=>import(`./protobuf-D1ij_kNL.js`).then(e=>Q(e.protobuf)),[])}}),k.of({name:`Pug`,alias:[`jade`],extensions:[`pug`,`jade`],load(){return V(()=>import(`./pug-Dwd_FmgJ.js`).then(e=>Q(e.pug)),__vite__mapDeps([40,41]))}}),k.of({name:`Puppet`,extensions:[`pp`],load(){return V(()=>import(`./puppet-BZyAS7I4.js`).then(e=>Q(e.puppet)),[])}}),k.of({name:`Q`,extensions:[`q`],load(){return V(()=>import(`./q-B9NhS7L_.js`).then(e=>Q(e.q)),[])}}),k.of({name:`R`,alias:[`rscript`],extensions:[`r`,`R`],load(){return V(()=>import(`./r-CxDmU1I4.js`).then(e=>Q(e.r)),[])}}),k.of({name:`RPM Changes`,load(){return V(()=>import(`./rpm-gpDK5sbt.js`).then(e=>Q(e.rpmChanges)),[])}}),k.of({name:`RPM Spec`,extensions:[`spec`],load(){return V(()=>import(`./rpm-gpDK5sbt.js`).then(e=>Q(e.rpmSpec)),[])}}),k.of({name:`Ruby`,alias:[`jruby`,`macruby`,`rake`,`rb`,`rbx`],extensions:[`rb`],filename:/^(Gemfile|Rakefile)$/,load(){return V(()=>import(`./ruby-ChfNwlCY.js`).then(e=>Q(e.ruby)),[])}}),k.of({name:`SAS`,extensions:[`sas`],load(){return V(()=>import(`./sas-C2OyD2Y6.js`).then(e=>Q(e.sas)),[])}}),k.of({name:`Scala`,extensions:[`scala`],load(){return V(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.scala)),[])}}),k.of({name:`Scheme`,extensions:[`scm`,`ss`],load(){return V(()=>import(`./scheme-D9qYN0V5.js`).then(e=>Q(e.scheme)),[])}}),k.of({name:`Shell`,alias:[`bash`,`sh`,`zsh`],extensions:[`sh`,`ksh`,`bash`],filename:/^PKGBUILD$/,load(){return V(()=>import(`./shell-DwuoZtxw.js`).then(e=>Q(e.shell)),[])}}),k.of({name:`Sieve`,extensions:[`siv`,`sieve`],load(){return V(()=>import(`./sieve-tLWDfEkZ.js`).then(e=>Q(e.sieve)),[])}}),k.of({name:`Smalltalk`,extensions:[`st`],load(){return V(()=>import(`./smalltalk-BLp5-jwC.js`).then(e=>Q(e.smalltalk)),[])}}),k.of({name:`Solr`,load(){return V(()=>import(`./solr-B78wSQJQ.js`).then(e=>Q(e.solr)),[])}}),k.of({name:`SML`,extensions:[`sml`,`sig`,`fun`,`smackspec`],load(){return V(()=>import(`./mllike-B45xgp2S.js`).then(e=>Q(e.sml)),[])}}),k.of({name:`SPARQL`,alias:[`sparul`],extensions:[`rq`,`sparql`],load(){return V(()=>import(`./sparql-Dz-mlCAC.js`).then(e=>Q(e.sparql)),[])}}),k.of({name:`Spreadsheet`,alias:[`excel`,`formula`],load(){return V(()=>import(`./spreadsheet-CTIncYxj.js`).then(e=>Q(e.spreadsheet)),[])}}),k.of({name:`Squirrel`,extensions:[`nut`],load(){return V(()=>import(`./clike-xvONpD0Z.js`).then(e=>Q(e.squirrel)),[])}}),k.of({name:`Stylus`,extensions:[`styl`],load(){return V(()=>import(`./stylus-BOVgKnng.js`).then(e=>Q(e.stylus)),[])}}),k.of({name:`Swift`,extensions:[`swift`],load(){return V(()=>import(`./swift-DKB6_1j6.js`).then(e=>Q(e.swift)),[])}}),k.of({name:`sTeX`,load(){return V(()=>import(`./stex-DNzd62Q_.js`).then(e=>Q(e.stex)),[])}}),k.of({name:`LaTeX`,alias:[`tex`],extensions:[`text`,`ltx`,`tex`],load(){return V(()=>import(`./stex-DNzd62Q_.js`).then(e=>Q(e.stex)),[])}}),k.of({name:`SystemVerilog`,extensions:[`v`,`sv`,`svh`],load(){return V(()=>import(`./verilog-CjI9Y6RI.js`).then(e=>Q(e.verilog)),[])}}),k.of({name:`Tcl`,extensions:[`tcl`],load(){return V(()=>import(`./tcl-BGfruO1u.js`).then(e=>Q(e.tcl)),[])}}),k.of({name:`Textile`,extensions:[`textile`],load(){return V(()=>import(`./textile-C4jVoHG1.js`).then(e=>Q(e.textile)),[])}}),k.of({name:`TiddlyWiki`,load(){return V(()=>import(`./tiddlywiki-VlUiK86J.js`).then(e=>Q(e.tiddlyWiki)),[])}}),k.of({name:`Tiki wiki`,load(){return V(()=>import(`./tiki-DTszW0OQ.js`).then(e=>Q(e.tiki)),[])}}),k.of({name:`TOML`,extensions:[`toml`],load(){return V(()=>import(`./toml-BPTmHmyx.js`).then(e=>Q(e.toml)),[])}}),k.of({name:`Troff`,extensions:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],load(){return V(()=>import(`./troff-C2dAgh7P.js`).then(e=>Q(e.troff)),[])}}),k.of({name:`TTCN`,extensions:[`ttcn`,`ttcn3`,`ttcnpp`],load(){return V(()=>import(`./ttcn-PPSTk1ow.js`).then(e=>Q(e.ttcn)),[])}}),k.of({name:`TTCN_CFG`,extensions:[`cfg`],load(){return V(()=>import(`./ttcn-cfg-2b4Gb5sE.js`).then(e=>Q(e.ttcnCfg)),[])}}),k.of({name:`Turtle`,extensions:[`ttl`],load(){return V(()=>import(`./turtle-Cx3rYX2g.js`).then(e=>Q(e.turtle)),[])}}),k.of({name:`Web IDL`,extensions:[`webidl`],load(){return V(()=>import(`./webidl-D5jiJvOU.js`).then(e=>Q(e.webIDL)),[])}}),k.of({name:`VB.NET`,extensions:[`vb`],load(){return V(()=>import(`./vb-BthdM_4N.js`).then(e=>Q(e.vb)),[])}}),k.of({name:`VBScript`,extensions:[`vbs`],load(){return V(()=>import(`./vbscript-D9f6rSsU.js`).then(e=>Q(e.vbScript)),[])}}),k.of({name:`Velocity`,extensions:[`vtl`],load(){return V(()=>import(`./velocity-CqftRsjg.js`).then(e=>Q(e.velocity)),[])}}),k.of({name:`Verilog`,extensions:[`v`],load(){return V(()=>import(`./verilog-CjI9Y6RI.js`).then(e=>Q(e.verilog)),[])}}),k.of({name:`VHDL`,extensions:[`vhd`,`vhdl`],load(){return V(()=>import(`./vhdl-kS471soi.js`).then(e=>Q(e.vhdl)),[])}}),k.of({name:`XQuery`,extensions:[`xy`,`xquery`,`xq`,`xqm`,`xqy`],load(){return V(()=>import(`./xquery-BKJx4mf9.js`).then(e=>Q(e.xQuery)),[])}}),k.of({name:`Yacas`,extensions:[`ys`],load(){return V(()=>import(`./yacas-CXXgtw0p.js`).then(e=>Q(e.yacas)),[])}}),k.of({name:`Z80`,extensions:[`z80`],load(){return V(()=>import(`./z80-Co3PbHdE.js`).then(e=>Q(e.z80)),[])}}),k.of({name:`MscGen`,extensions:[`mscgen`,`mscin`,`msc`],load(){return V(()=>import(`./mscgen-qgSLujhx.js`).then(e=>Q(e.mscgen)),[])}}),k.of({name:`Xù`,extensions:[`xu`],load(){return V(()=>import(`./mscgen-qgSLujhx.js`).then(e=>Q(e.xu)),[])}}),k.of({name:`MsGenny`,extensions:[`msgenny`],load(){return V(()=>import(`./mscgen-qgSLujhx.js`).then(e=>Q(e.msgenny)),[])}}),k.of({name:`Vue`,extensions:[`vue`],load(){return V(()=>import(`./dist-CYz0my_F.js`).then(e=>e.vue()),__vite__mapDeps([42,21]))}}),k.of({name:`Angular Template`,load(){return V(()=>import(`./dist-FYTUKDRT.js`).then(e=>e.angular()),__vite__mapDeps([43,21]))}})],zv=36,Bv=92,Vv=96,Hv=e=>e===32||e===9||e===10||e===-1,Uv=e=>e>=48&&e<=57,Wv={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!==zv||e.char(n+1)===zv||Hv(e.char(n+1)))return-1;let r=Uv(e.char(n+1));for(let t=n+2;t<e.end;t++){let i=e.char(t);if(r&&Hv(i))return-1;if(i===Bv)t++;else if(i===Vv){let n=e.slice(t+1,e.end).indexOf("`");if(n<0)return-1;t+=n+1}else if(i===zv&&!Hv(e.char(t-1))&&!Uv(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)}]},Gv={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(Hv(r)||r===91)return-1}return-1}}]},Kv={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}}]},qv={StrongEmphasis:`bold`,Emphasis:`italic`,Strikethrough:`strike`,InlineCode:`code`,Link:`link`},Jv=new Set([`EmphasisMark`,`StrikethroughMark`,`CodeMark`,`LinkMark`]),Yv=new Set([`FencedCode`,`CodeBlock`,`Frontmatter`,`HTMLBlock`]),Xv=[{id:`bold`,label:`format.bold`,icon:hl},{id:`italic`,label:`format.italic`,icon:Ml},{id:`strike`,label:`format.strike`,icon:Zl},{id:`code`,label:`menu.inline`,icon:bl},{id:`link`,label:`menu.link`,icon:Nl}],Zv={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`}]},Qv=(e,t,n)=>t===`link`?`[${e}](url)`:(n??={bold:`**`,italic:`*`,strike:`~~`,code:e.includes("`")?"``":"`"}[t],n+e+n);function $v(e){let t=[];for(let n=e.firstChild;n;n=n.nextSibling)Jv.has(n.name)&&t.push(n);return t.length<2?[]:[[e.from,t[0].to],[t[1].from,e.to]]}function ey(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(Yv.has(o.name))return null;let e=qv[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(...$v(a));else{let i={from:n,to:r};t(e).iterate({from:i.from,to:i.to,enter:e=>{!qv[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(...$v(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 ty(e,t,n,r){let i=n?Qv(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`?[]:ny.of(!0)}),e.focus()}var ny=ve.define();function ry(e){let t=ge.define({create:()=>null,update(e,t){for(let e of t.effects)if(e.is(ny))return e.value?ey(t.state):null;return t.docChanged||t.selection?null:e},provide:t=>Pe.compute([t],n=>{let r=n.field(t);return r?iy(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(()=>{}),ey(e.state)&&e.dispatch({effects:ny.of(!0)}))}update(e){e.state.selection.main.empty&&(this.last=``)}destroy(){removeEventListener(`mouseup`,this.onRelease),this.view.dom.removeEventListener(`keyup`,this.onRelease)}}),me.high(T.of([{key:`Escape`,run:e=>e.state.field(t)?(e.dispatch({effects:ny.of(!1)}),!0):!1}]))]}function iy(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:fl(t,{width:15,height:15})),i.addEventListener(`mousedown`,e=>{e.preventDefault(),n()}),e.append(i),i};for(let e of Xv){if(t.formats.includes(e.id))continue;let o=Zv[e.id];if(!o){a(i,e.icon,()=>ty(r,ey(r.state),e.id),n(e.label));continue}let s=document.createElement(`span`);s.className=`cm-format-group`,a(s,e.icon,()=>ty(r,ey(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,()=>ty(r,ey(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,Gl,()=>ty(r,ey(r.state),null),n(`format.plain`)),e.facet(au)&&a(i,Rl,()=>{r.dispatch({effects:ny.of(!1)}),pu(r)},n(`format.comment`)),navigator.clipboard){let e=document.createElement(`span`);e.className=`cm-format-copied`,e.append(fl(vl,{width:13,height:13}),n(`format.copied`)),i.append(e)}return{dom:i}}}}var ay=/Mac|iPhone|iPad/.test(navigator.platform)?`⌥H`:`Alt+H`;function oy(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 sy(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 ju({header:i,align:i.map(()=>``),rows:(t?e.slice(1):e).map(r)})}var cy=ve.define();function ly(e){let n=ge.define({create:()=>null,update(e,t){for(let e of t.effects)if(e.is(cy))return e.value;return t.docChanged||t.selection?null:e},provide:t=>Pe.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:ay}),{dom:t}}}:null})});return[n,w.domEventHandlers({paste(e,n){let r=e.clipboardData,i=r?.getData(`text/plain`)??``;if(!i.includes(` `))return!1;let a=oy(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
|
-
`:``,_=sy(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:cy.of({from:v,to:v+_.length,rows:a,header:!0}),userEvent:`input.paste`,scrollIntoView:!0}),e.preventDefault(),!0}}),me.high(T.of([{key:`Alt-h`,run:e=>{let t=e.state.field(n);if(!t)return!1;let r=sy(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:cy.of({...t,to:t.from+r.length,header:!t.header})}),!0}}]))]}var uy=/^(\s*)(#{1,6}\s+|[-*+]\s+\[[ xX]\]\s+|[-*+]\s+|\d+[.)]\s+|>\s?)?/;function dy(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 fy(e){let t=uy.exec(e.text),n=e.from+t[1].length;return{from:n,to:n+(t[2]?.length??0)}}function py(e,t,n=!1){let{state:r}=e,i=dy(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{...fy(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 my(e,t,n){let{state:r}=e,i=dy(r),a=i[0].from,o=i[i.length-1].to;if(!r.sliceDoc(a,o).trim())return hy(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 hy(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 gy(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}]:dy(i).map(e=>({from:fy(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 _y(e,t){let n=Mu(e.state,e.state.selection.main.head);if(!n)return hy(e,`| Column 1 | Column 2 |
|
|
118
|
-
| -------- | -------- |
|
|
119
|
-
| ¦ | |`);let r=Au(e.state.sliceDoc(n.from,n.to));t(r),e.dispatch({changes:{...n,insert:ju(r)}})}function vy(e){let{state:t}=e,n=t.selection.main,r=dy(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:Bu.of(a)})}function yy(e){let{state:t}=e,n=dy(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:Bu.of(r.from+a.length)})}function by(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:Bu.of(t)})}function xy(e){py(e,`- [ ] `);let{state:t}=e,n=dy(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:jl,items:[{label:`menu.h1`,icon:Dl,hint:`#`,run:e=>py(e,`# `)},{label:`menu.h2`,icon:Ol,hint:`##`,run:e=>py(e,`## `)},{label:`menu.h3`,icon:kl,hint:`###`,run:e=>py(e,`### `)},{label:`menu.h4`,icon:Al,hint:`####`,run:e=>py(e,`#### `)}]},{label:`menu.lists`,icon:Ll,items:[{label:`menu.bullets`,icon:Ll,hint:`-`,run:e=>py(e,`- `)},{label:`menu.numbered`,icon:Fl,hint:`1.`,run:e=>py(e,e=>`${e+1}. `)},{label:`menu.checklist`,icon:Pl,hint:`- [ ]`,run:e=>py(e,`- [ ] `)},{label:`menu.choice`,icon:Il,run:xy}]},{label:`menu.table`,icon:Ql,items:[{label:`menu.newTable`,icon:Ql,run:e=>hy(e,`| Column 1 | Column 2 | Column 3 |
|
|
124
|
-
| -------- | -------- | -------- |
|
|
125
|
-
| ¦ | | |`)},{label:`menu.addRow`,icon:Jl,run:e=>_y(e,e=>e.rows.push(e.header.map(()=>``)))},{label:`menu.addCol`,icon:xl,run:e=>_y(e,e=>{e.header.push(`Column ${e.header.length+1}`),e.align.push(``),e.rows.forEach(e=>e.push(``))})}]},{label:`menu.code`,icon:bl,items:[{label:`menu.inline`,icon:bl,hint:"`code`",run:e=>gy(e,"`","`",`code`)},{label:`menu.block`,icon:Yl,hint:"```",run:e=>my(e,``,"```\n¦\n```")},{label:`menu.ts`,icon:gl,hint:`ts`,run:e=>my(e,`ts`,"```ts\n¦\n```")},{label:`menu.bash`,icon:eu,hint:`bash`,run:e=>my(e,`bash`,"```bash\n¦\n```")}]},{label:`menu.diagrams`,icon:ru,items:[{label:`menu.mermaid`,icon:ru,run:e=>my(e,`mermaid`,"```mermaid\nflowchart LR\n A[Start] --> B{Decision}\n B -->|yes| C[¦Done]\n B -->|no| A\n```")},{label:`menu.sequence`,icon:Vl,run:e=>my(e,`mermaid`,"```mermaid\nsequenceDiagram\n User->>App: request¦\n App-->>User: response\n```")},{label:`menu.tree`,icon:Tl,run:e=>my(e,`tree`,"```tree\nsrc/\n app/ # ¦description\n lib/\n```")}]},{label:`menu.comments`,icon:zl,items:[{label:`menu.discussion`,icon:Rl,run:pu,when:e=>!!e.facet(au)},{label:`menu.note`,icon:wl,hint:`<!-- -->`,run:vy},{label:`menu.region`,icon:Xl,hint:`:start/:end`,run:yy},{label:`menu.tag`,icon:$l,hint:`tag:`,run:by}]},{label:`menu.other`,icon:Cl,items:[{label:`menu.quote`,icon:Ul,hint:`>`,run:e=>py(e,`> `,!0)},{label:`menu.link`,icon:Nl,hint:`[](…)`,run:e=>gy(e,`[`,`](https://)`,`text`)},{label:`menu.divider`,icon:Bl,hint:`---`,run:e=>hy(e,`---
|
|
126
|
-
¦`)},{label:`menu.frontmatter`,icon:gl,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}})}}]}],wy=ve.define(),Ty=ve.define(),Ey=ve.define(),Dy=ge.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(wy))return n.value;if(n.is(Ey))return null;n.is(Ty)&&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=>Pe.from(e,e=>e?ky(e):null)}),Oy=e=>e;function ky(e){return{pos:e.pos,above:!1,create:t=>{let n=document.createElement(`div`);return n.className=`cm-slash-menu`,jy(t,n,e),{dom:n,update:e=>{let r=e.state.field(Dy);r&&jy(t,n,r)}}}}}var Ay=(e,t)=>Cy[t].items.filter(t=>!t.when||t.when(e));function jy(e,t,n){let r=n.group===null?Cy.map(e=>({label:e.label,icon:e.icon,hint:``,sub:!0})):Ay(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?Oy(`menu.title`):Oy(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=fl(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=Oy(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(),Ny(e,i)}),a.addEventListener(`mousemove`,()=>{e.state.field(Dy)?.active!==i&&e.dispatch({effects:Ty.of({active:i})})}),t.append(a)}),n.group!==null){let e=document.createElement(`div`);e.className=`cm-slash-foot`,e.textContent=Oy(`menu.back`),t.append(e)}}function My(e,t){return t.group===null?Cy.length:Ay(e,t.group).length}function Ny(e,t){let n=e.state.field(Dy);if(!n||t<0||t>=My(e.state,n))return!1;if(n.group===null)return e.dispatch({effects:Ty.of({group:t,active:0})}),!0;let r=Ay(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:Ey.of(null)}),r.run(e),e.focus(),!0}function Py(e){let t=e.state.field(Dy);return!t||t.group===null?!1:(e.dispatch({effects:Ty.of({group:null,active:t.group})}),!0)}var Fy=(e,t)=>!e.doc.lineAt(t).text.slice(0,t-e.doc.lineAt(t).from).trim(),Iy=w.inputHandler.of((e,t,n,r)=>r!==`/`||t!==n||!Fy(e.state,t)?!1:(e.dispatch({changes:{from:t,insert:`/`},selection:{anchor:t+1},userEvent:`input.type`}),e.dispatch({effects:wy.of({pos:t,slash:!0,group:null,active:0})}),!0)),Ly=me.highest(T.of([{key:`Ctrl-Space`,run:e=>(e.dispatch({effects:wy.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(Dy)?Ny(t,Number(e)-1):!1})),{key:`ArrowDown`,run:e=>{let t=e.state.field(Dy);return t?(e.dispatch({effects:Ty.of({active:(t.active+1)%My(e.state,t)})}),!0):!1}},{key:`ArrowUp`,run:e=>{let t=e.state.field(Dy);return t?(e.dispatch({effects:Ty.of({active:(t.active-1+My(e.state,t))%My(e.state,t)})}),!0):!1}},{key:`Enter`,run:e=>e.state.field(Dy)?Ny(e,e.state.field(Dy).active):!1},{key:`ArrowRight`,run:e=>e.state.field(Dy)?.group===null&&Ny(e,e.state.field(Dy).active)},{key:`0`,run:Py},{key:`ArrowLeft`,run:Py},{key:`Backspace`,run:Py},{key:`Escape`,run:e=>e.state.field(Dy)?(e.dispatch({effects:Ey.of(null)}),!0):!1}]));function Ry(e){return Oy=e,[Dy,Iy,Ly]}var zy=/^(\s*(?:[-*+]|\d+[.)]) \[)([ xX])\]/,By=/^\s*(?:[-*+]|\d+[.)]) \[ \] $/,Vy=/Mac|iPhone|iPad/.test(navigator.platform)?`⌘+Enter`:`Ctrl+Enter`;function Hy(e){let t=e.state.doc.lineAt(e.state.selection.main.head),n=zy.exec(t.text);return n?bu(e,t.from+n[1].length-1):!1}function Uy(e){return[ge.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||!By.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:Vy}),{dom:t}}}},provide:e=>Pe.from(e)}),me.high(T.of([{key:`Mod-Enter`,run:Hy}]))]}var Wy=ae.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)`}]),Gy=w.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)`}}),Ky=new Me,qy=new Me;function Jy(e,t,n,r,i,a){return zu(e),[Kr(),Oe(),sf(),_o(),Ky.of(n?w.lineWrapping:[]),jv({base:hv,codeLanguages:Rv,extensions:[Kv,Wv,Gv]}),O(Wy),Gy,jd.of(t),Nd.of(e),au.of(i),qy.of(r?$d:[]),Xd,Ry(e),Uy(e),ry(e),ly(e),T.of([...to,...mi,no]),w.updateListener.of(e=>{e.docChanged&&e.transactions.some(e=>!e.annotation(Yy))&&a(e.state.doc.toString())})]}var Yy=Ae.define(),Xy=Qe((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})),$=Qe(((e,t)=>{t.exports=Xy()}))();function Zy(e,t){let n=e.state.doc,r=n.line(Math.min(Math.max(t.line,1),n.lines)),i=Math.min(r.from+t.col,r.to),a=Math.min(i+t.len,r.to);e.dispatch({selection:{anchor:i,head:a},effects:w.scrollIntoView(i,{y:`center`})}),e.focus()}function Qy(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 $y={undo:0,redo:0,dirty:!1};function eb(e){let t=oe.empty(e.doc.length),n=e;for(;$r(n)>0;){let e=[];if(!Jr({state:n,dispatch:t=>e.push(t)})||!e.length)break;t=t.compose(e[0].changes),n=e[0].state}return t}function tb({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,reveal:_}){let v=(0,M.useRef)(null),y=(0,M.useRef)(null),b=(0,M.useRef)(null),x=(0,M.useRef)(void 0),S=(0,M.useRef)(null),ee=(0,M.useRef)(0),C=(0,M.useRef)([]),te=(0,M.useRef)({onLoaded:c,onSaving:l,onSaved:u,onHistory:d,onOpenDoc:g});te.current={onLoaded:c,onSaving:l,onSaved:u,onHistory:d,onOpenDoc:g};let ne=()=>p?p.load():I.file(e,t),T=(0,M.useRef)(_);T.current=_;let re=(0,M.useRef)(``),ie=e=>{let t=e?`${$r(e)}|${ei(e)}`:``;if(t===re.current)return;re.current=t;let n=e?{undo:$r(e),redo:ei(e),dirty:$r(e)>0&&!eb(e).empty}:$y;te.current.onHistory(n)},ae=async()=>{window.clearTimeout(x.current);let e=S.current,n=b.current;if(e===null||!n)return;S.current=null,C.current=[...C.current.slice(-9),e];let r=await(p?p.save(e):I.save(n.path,e,n.target,t));n.content=e,S.current===null&&te.current.onSaving(!1),te.current.onSaved(r.status)};return(0,M.useEffect)(()=>{let t=!1;return ne().then(r=>{if(t||!v.current)return;b.current=r,te.current.onLoaded(r),y.current=new w({parent:v.current,state:xe.create({doc:r.content,extensions:[Jy(n,e,i,a,m?null:h,e=>{S.current=e,ee.current++,te.current.onSaving(!0),window.clearTimeout(x.current),x.current=window.setTimeout(ae,400)}),w.updateListener.of(e=>ie(e.state)),Md.of(e=>te.current.onOpenDoc?.(e)),m?[xe.readOnly.of(!0),xe.changeFilter.of(()=>!1)]:[]]})});let o=y.current;f.current={undo:()=>Jr(o),redo:()=>Yr(o),discard:()=>{let e=eb(o.state);e.empty||o.dispatch({changes:e,annotations:Hr.of(`full`),scrollIntoView:!0})},find:e=>{e?of(o):as(o)},copy:e=>{let{from:t,to:n}=o.state.selection.main,r=t===n;return ll(r?o.state.doc.toString():o.state.sliceDoc(t,n),e,r||t===0)},setField:(e,t)=>{let n=Qy(o.state.doc.toString(),e,t);n&&o.dispatch({changes:n,annotations:Hr.of(`full`)})},selection:()=>{let{from:e,to:t}=o.state.selection.main,n=o.state.sliceDoc(e,t);return n.includes(`
|
|
128
|
-
`)?``:n},flush:ae},T.current&&Zy(o,T.current)}),()=>{t=!0,ae(),y.current?.destroy(),y.current=null,f.current=null,ie(null)}},[e]),(0,M.useEffect)(()=>{if(!s)return;let e=ee.current;ne().then(t=>{let n=y.current;if(!n||S.current!==null||e!==ee.current)return;let r=n.state.doc.toString();if(t.content!==r&&C.current.includes(t.content))return te.current.onSaved(t.status);if(b.current=t,te.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:[Yy.of(!0),Re.addToHistory.of(!1)]})})},[s]),(0,M.useEffect)(()=>{y.current&&_&&Zy(y.current,_)},[_?.seq]),(0,M.useEffect)(()=>{y.current?.requestMeasure()},[r]),(0,M.useEffect)(()=>{y.current?.dispatch({effects:Ky.reconfigure(i?w.lineWrapping:[])})},[i]),(0,M.useEffect)(()=>{let e=y.current;if(!e)return;let t=e.scrollDOM.scrollTop>0?e.lineBlockAtHeight(e.scrollDOM.getBoundingClientRect().top-e.documentTop).from:null;e.dispatch({effects:[qy.reconfigure(a?$d:[]),...t===null?[]:[w.scrollIntoView(t,{y:`start`,yMargin:0})]]})},[a]),(0,M.useEffect)(()=>{y.current?.dispatch({effects:Pd.of(o)})},[o]),(0,$.jsx)(`div`,{className:`editor-host`,ref:v})}var nb=[`pending`,`in-progress`,`done`,`blocked`];function rb({status:e,t}){if(!e)return null;let n=nb.includes(e);return(0,$.jsx)(`span`,{className:`status-chip s-${e}`,children:n?t(`status.${e}`):e})}function ib({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)(kt,{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)(_n,{size:14}),` `,i(`proposal.open`),(0,$.jsxs)(`button`,{className:`btn primary`,onClick:a,children:[(0,$.jsx)($n,{size:13}),` `,i(`proposal.send`)]})]}),s]})}var ab=[`open`,`answered`,`applied`];function ob({docs:e,t,onOpen:n}){let r=[...e].sort((e,t)=>ab.indexOf(e.status??`open`)-ab.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.${ab.includes(e.status??`open`)?e.status??`open`:`open`}`)})}),(0,$.jsx)(`td`,{style:{color:`var(--faint)`,whiteSpace:`nowrap`},children:e.updated??``})]},e.path))})})]})}function sb({t:e,onActivate:t}){let[n,r]=(0,M.useState)(()=>{try{return localStorage.getItem(`markode.proposalsTip`)===`hidden`}catch{return!1}});return n?null:(0,$.jsxs)(`div`,{className:`tip`,children:[(0,$.jsx)(_n,{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)(xr,{size:14})})]})}var cb=e=>e.total?Math.round(e.done/e.total*100):0;function lb({tasks:e,t}){return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{className:`progress`,children:(0,$.jsx)(`div`,{style:{width:`${cb(e)}%`}})}),(0,$.jsx)(`div`,{className:`meta`,children:e.total?`${e.done}/${e.total} ${t(`dash.tasks`)} · ${cb(e)}%`:t(`dash.noTasks`)})]})}function ub({items:e}){return(0,$.jsx)(`div`,{className:`artifacts`,children:e.map(([e,t])=>(0,$.jsx)(`span`,{className:t?`on`:``,children:e},e))})}function db({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)(ub,{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)(lb,{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 fb({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)(rb,{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)(ub,{items:[[`spec`,e.artifacts.spec],[`plan`,e.artifacts.plan],[`tasks`,e.artifacts.tasks]]}),(0,$.jsx)(lb,{tasks:e.tasks,t})]},e.id))}):(0,$.jsx)(`p`,{className:`hint`,children:t(`dash.noFeatures`)})]})}function pb({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 mb({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)(rb,{status:r,t}),` `,(0,$.jsx)(`span`,{className:`h-note`,children:i.length})]}),i.map(e=>(0,$.jsxs)(`div`,{className:`board-card`,children:[(0,$.jsx)(pb,{task:e,t,onOpen:n}),e.area&&(0,$.jsx)(`span`,{className:`task-area`,children:e.area})]},e.path))]},r)})})]})}function hb({t:e,unlinked:t,onLink:n}){return(0,$.jsxs)(`div`,{className:`tip`,children:[(0,$.jsx)(pn,{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 gb({t:e,tick:t,onOpen:n,proposalsActive:r,onActivateProposals:i,unlinked:a,onLink:o}){let[s,c]=(0,M.useState)([]),[l,u]=(0,M.useState)({});(0,M.useEffect)(()=>{I.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)(hb,{t:e,unlinked:a,onLink:o}),!r&&(0,$.jsx)(sb,{t:e,onActivate:i}),p.length>0&&(0,$.jsx)(ob,{docs:p,t:e,onOpen:n}),l.openspec&&(0,$.jsx)(db,{data:l.openspec,t:e,onOpen:n}),l.speckit&&(0,$.jsx)(fb,{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)(rb,{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)(pb,{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)(mb,{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)(rb,{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 _b(e){let t=[],n=null,r=``;for(let i of e.split(`
|
|
129
|
-
`)){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 vb({t:e,git:t,enabled:n,tick:r}){let i=Object.keys(t).sort(),[a,o]=(0,M.useState)(null),[s,c]=(0,M.useState)(``),l=a&&i.includes(a)?a:i[0]??null;return(0,M.useEffect)(()=>{l?I.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:_b(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 yb({t:e}){let[t,n]=(0,M.useState)([]),[r,i]=(0,M.useState)([]),[a,o]=(0,M.useState)([]),[s,c]=(0,M.useState)(null),l=()=>I.rules().then(e=>{n(e.rules),i(e.applied),o(e.applied),c(e.mainDoc)});(0,M.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)(kn,{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 I.applyRules(e),o(e),i(e)},children:[(0,$.jsx)(kt,{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 I.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)(qn,{size:14}),` `,e(`rules.save`)]}),(0,$.jsx)(`button`,{className:`btn danger`,title:e(`rules.delete`),onClick:async()=>{t.id&&await I.deleteRule(t.id),n(e=>e.filter((e,t)=>t!==a)),i(e=>e.filter(e=>e!==t.id))},children:(0,$.jsx)(dr,{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(`
|
|
130
|
-
`).length)})]},t.id||`new-${a}`))]})})}function bb({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 xb=[`en`,`es`,`fr`,`pt`,`de`,`it`],Sb={"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`,"search.modeNames":`Names`,"search.modeContent":`Content`,"search.contentPlaceholder":`Search in files…`,"search.contentHint":`Find text in every doc (Ctrl+Shift+F).`,"search.rendered":`Ignore Markdown syntax (formatting, link URLs, comments)`,"search.toggleReplaceFiles":`Toggle replace`,"search.details":`Toggle search details`,"search.include":`Files to include`,"search.exclude":`Files to exclude`,"search.globHint":`Comma-separated, .gitignore style: docs/, *.md, tasks/T-*`,"search.summary":`{n} results in {files} files`,"search.truncated":`Showing the first {n} results: narrow the search to see the rest.`,"search.replaceMatch":`Replace`,"search.replaceInFile":`Replace all in this file`,"search.replaceAllFiles":`Replace all`,"search.replaceAllConfirm":`Replace {n} matches in {files} files with "{text}"?`,"search.notReplaceable":`Spans Markdown formatting: change it in the document`,"search.line":`Line {n}`,"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`},Cb={en:Sb,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`,"search.modeNames":`Nombres`,"search.modeContent":`Contenido`,"search.contentPlaceholder":`Buscar en los archivos…`,"search.contentHint":`Busca texto en todos los documentos (Ctrl+Mayús+F).`,"search.rendered":`Ignorar la sintaxis Markdown (formato, URLs de enlaces, comentarios)`,"search.toggleReplaceFiles":`Mostrar reemplazar`,"search.details":`Mostrar detalles de la búsqueda`,"search.include":`Archivos para incluir`,"search.exclude":`Archivos para excluir`,"search.globHint":`Separados por comas, como en .gitignore: docs/, *.md, tasks/T-*`,"search.summary":`{n} resultados en {files} archivos`,"search.truncated":`Se muestran los primeros {n} resultados: acota la búsqueda para ver el resto.`,"search.replaceMatch":`Reemplazar`,"search.replaceInFile":`Reemplazar todo en este archivo`,"search.replaceAllFiles":`Reemplazar todo`,"search.replaceAllConfirm":`¿Reemplazar {n} coincidencias en {files} archivos por "{text}"?`,"search.notReplaceable":`Abarca formato Markdown: cámbialo en el documento`,"search.line":`Línea {n}`,"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`,"search.modeNames":`Noms`,"search.modeContent":`Contenu`,"search.contentPlaceholder":`Rechercher dans les fichiers…`,"search.contentHint":`Cherche du texte dans tous les documents (Ctrl+Maj+F).`,"search.rendered":`Ignorer la syntaxe Markdown (mise en forme, URL des liens, commentaires)`,"search.toggleReplaceFiles":`Afficher remplacer`,"search.details":`Afficher les détails de la recherche`,"search.include":`Fichiers à inclure`,"search.exclude":`Fichiers à exclure`,"search.globHint":`Séparés par des virgules, comme .gitignore : docs/, *.md, tasks/T-*`,"search.summary":`{n} résultats dans {files} fichiers`,"search.truncated":`Les {n} premiers résultats sont affichés : affine la recherche pour voir le reste.`,"search.replaceMatch":`Remplacer`,"search.replaceInFile":`Tout remplacer dans ce fichier`,"search.replaceAllFiles":`Tout remplacer`,"search.replaceAllConfirm":`Remplacer {n} occurrences dans {files} fichiers par « {text} » ?`,"search.notReplaceable":`Englobe une mise en forme Markdown : modifie-le dans le document`,"search.line":`Ligne {n}`,"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`,"search.modeNames":`Nomes`,"search.modeContent":`Conteúdo`,"search.contentPlaceholder":`Pesquisar nos arquivos…`,"search.contentHint":`Procura texto em todos os documentos (Ctrl+Shift+F).`,"search.rendered":`Ignorar a sintaxe Markdown (formatação, URLs de links, comentários)`,"search.toggleReplaceFiles":`Mostrar substituir`,"search.details":`Mostrar detalhes da pesquisa`,"search.include":`Arquivos a incluir`,"search.exclude":`Arquivos a excluir`,"search.globHint":`Separados por vírgulas, como no .gitignore: docs/, *.md, tasks/T-*`,"search.summary":`{n} resultados em {files} arquivos`,"search.truncated":`Mostrando os primeiros {n} resultados: refine a pesquisa para ver o resto.`,"search.replaceMatch":`Substituir`,"search.replaceInFile":`Substituir tudo neste arquivo`,"search.replaceAllFiles":`Substituir tudo`,"search.replaceAllConfirm":`Substituir {n} ocorrências em {files} arquivos por "{text}"?`,"search.notReplaceable":`Abrange formatação Markdown: altere no documento`,"search.line":`Linha {n}`,"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`,"search.modeNames":`Namen`,"search.modeContent":`Inhalt`,"search.contentPlaceholder":`In Dateien suchen…`,"search.contentHint":`Sucht Text in allen Dokumenten (Strg+Umschalt+F).`,"search.rendered":`Markdown-Syntax ignorieren (Formatierung, Link-URLs, Kommentare)`,"search.toggleReplaceFiles":`Ersetzen anzeigen`,"search.details":`Suchdetails anzeigen`,"search.include":`Einzuschließende Dateien`,"search.exclude":`Auszuschließende Dateien`,"search.globHint":`Kommagetrennt, wie in .gitignore: docs/, *.md, tasks/T-*`,"search.summary":`{n} Ergebnisse in {files} Dateien`,"search.truncated":`Die ersten {n} Ergebnisse werden angezeigt: grenze die Suche ein, um den Rest zu sehen.`,"search.replaceMatch":`Ersetzen`,"search.replaceInFile":`Alle in dieser Datei ersetzen`,"search.replaceAllFiles":`Alle ersetzen`,"search.replaceAllConfirm":`{n} Treffer in {files} Dateien durch „{text}“ ersetzen?`,"search.notReplaceable":`Umfasst Markdown-Formatierung: im Dokument ändern`,"search.line":`Zeile {n}`,"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`,"search.modeNames":`Nomi`,"search.modeContent":`Contenuto`,"search.contentPlaceholder":`Cerca nei file…`,"search.contentHint":`Cerca testo in tutti i documenti (Ctrl+Maiusc+F).`,"search.rendered":`Ignora la sintassi Markdown (formattazione, URL dei link, commenti)`,"search.toggleReplaceFiles":`Mostra sostituisci`,"search.details":`Mostra dettagli della ricerca`,"search.include":`File da includere`,"search.exclude":`File da escludere`,"search.globHint":`Separati da virgole, come in .gitignore: docs/, *.md, tasks/T-*`,"search.summary":`{n} risultati in {files} file`,"search.truncated":`Sono mostrati i primi {n} risultati: restringi la ricerca per vedere il resto.`,"search.replaceMatch":`Sostituisci`,"search.replaceInFile":`Sostituisci tutto in questo file`,"search.replaceAllFiles":`Sostituisci tutto`,"search.replaceAllConfirm":`Sostituire {n} occorrenze in {files} file con "{text}"?`,"search.notReplaceable":`Comprende formattazione Markdown: modificalo nel documento`,"search.line":`Riga {n}`,"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 wb(e){let t=Cb[e]??Sb;return(e,n)=>(t[e]??Sb[e]).replace(/\{(\w+)\}/g,(e,t)=>String(n?.[t]??``))}var Tb={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`}},Eb={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`,(Tb[e.font]??Tb.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 Ob=[{id:`general`,icon:rr,label:`settings.general`},{id:`features`,icon:lr,label:`settings.features`},{id:`editor`,icon:hr,label:`settings.editor`},{id:`languages`,icon:ln,label:`settings.languages`}],kb={agent:Tt,rules:Yn,proposals:yn,live:jn,translations:ln,dashboard:dn,skills:ar,vscode:Gt};function Ab(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 jb({t:e,feature:t,info:n,onFeature:r,children:i}){let a=n.features[t],o=kb[t],s=Er[t],c=Ab(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?Tr.filter(e=>Er[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(`
|
|
131
|
-
`)))&&r(t,!a)},children:(0,$.jsx)(`span`,{})})]})}function Mb({command:e,t}){let[n,r]=(0,M.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)(kt,{size:12}):(0,$.jsx)(zt,{size:12}),` `,t(n?`app.copied`:`app.copy`)]})]})}var Nb=`__other__`;function Pb({t:e,info:t,onAdd:n}){let[r,i]=(0,M.useState)(!1),[a,o]=(0,M.useState)(``),[s,c]=(0,M.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)(xr,{size:14})})]}):(0,$.jsxs)(`select`,{className:`control add-lang-select`,value:``,onChange:e=>e.target.value===Nb?i(!0):e.target.value&&n(e.target.value),children:[(0,$.jsxs)(`option`,{value:``,children:[`+ `,e(`settings.addLang`)]}),Cr.filter(e=>!l(e)).map(e=>(0,$.jsx)(`option`,{value:e,children:wr[e]},e)),(0,$.jsx)(`option`,{value:Nb,children:e(`settings.otherLang`)})]})}function Fb({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 Ib({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,M.useState)(t),m=e=>o({...a,...e});return(0,M.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)(xr,{size:16})})]}),(0,$.jsxs)(`div`,{className:`modal-body`,children:[(0,$.jsx)(`nav`,{className:`set-nav`,children:Ob.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:xb.map(e=>(0,$.jsx)(`option`,{value:e,children:wr[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({...Eb,uiLang:a.uiLang}),children:[(0,$.jsx)(Gn,{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(Tb).map(([e,t])=>(0,$.jsx)(`option`,{value:e,children:t.label},e))})]}),(0,$.jsx)(Fb,{label:e(`settings.size`),value:a.size,min:12,max:22,step:1,unit:`px`,onChange:e=>m({size:e})}),(0,$.jsx)(Fb,{label:e(`settings.lineHeight`),value:a.lineHeight,min:1.2,max:2.2,step:.05,unit:``,onChange:e=>m({lineHeight:e})}),(0,$.jsx)(Fb,{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:Cr.map(e=>(0,$.jsx)(`option`,{value:e,children:wr[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)(Pb,{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)(Mb,{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)(bb,{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`)})]}),Tr.map(t=>(0,$.jsxs)(jb,{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 Lb=`markode.searchOptions`,Rb={case:!1,word:!1,regex:!1,rendered:!0};function zb(){try{return{...Rb,...JSON.parse(localStorage.getItem(Lb)??`{}`)}}catch{return Rb}}var Bb=e=>`${e.line}:${e.col}`;function Vb(e,t,n){if(!t.regex)return n;try{return e.replace(new RegExp(t.q,t.case?``:`i`),n)}catch{return n}}function Hb(e){let{query:t,t:n}=e,[r,i]=(0,M.useState)(zb),[a,o]=(0,M.useState)(!1),[s,c]=(0,M.useState)(``),[l,u]=(0,M.useState)(!1),[d,f]=(0,M.useState)(``),[p,m]=(0,M.useState)(``),[h,g]=(0,M.useState)(null),[_,v]=(0,M.useState)(null),[y,b]=(0,M.useState)(new Set),[x,S]=(0,M.useState)(null),[ee,C]=(0,M.useState)(!1),[w,te]=(0,M.useState)(0),ne=(0,M.useMemo)(()=>({q:t,...r,include:d,exclude:p,ignored:e.showIgnored}),[t,r,d,p,e.showIgnored]);(0,M.useEffect)(()=>{try{localStorage.setItem(Lb,JSON.stringify(r))}catch{}},[r]),(0,M.useEffect)(()=>{if(!t){g(null),v(null);return}let n=new AbortController,r=window.setTimeout(()=>{I.search(ne,e.lang,n.signal).then(e=>{g(e),v(null)}).catch(e=>{n.signal.aborted||(g(null),v(e.message))})},200);return()=>{window.clearTimeout(r),n.abort()}},[ne,e.lang,e.tick,w]);let T=(e,t,a)=>(0,$.jsx)(`button`,{className:`cm-find-toggle${r[e]?` on`:``}`,title:n(a),"aria-pressed":r[e],onMouseDown:e=>e.preventDefault(),onClick:()=>i(t=>({...t,[e]:!t[e]})),children:t}),re=async(t,r)=>{if(!ee){if(!t){if(!h)return;let e=h.files.reduce((e,t)=>e+t.matches.filter(e=>e.replaceable).length,0);if(!e||!confirm(n(`search.replaceAllConfirm`,{n:e,files:h.files.length,text:s})))return}C(!0);try{await e.onBeforeReplace(),await I.replace(ne,e.lang,s,t,r)}catch(e){alert(e.message)}finally{C(!1),te(e=>e+1)}}},ie=h?.files??[],ae=ie.length>0&&ie.every(e=>y.has(e.path)),oe=a&&!!t;return(0,$.jsxs)($.Fragment,{children:[e.modes,(0,$.jsxs)(`div`,{className:`content-search`,children:[(0,$.jsx)(`button`,{className:`cm-find-expand${a?` open`:``}`,title:n(`search.toggleReplaceFiles`),"aria-expanded":a,onClick:()=>o(e=>!e),children:(0,$.jsx)(Nt,{size:14})}),(0,$.jsxs)(`div`,{className:`content-search-rows`,children:[(0,$.jsxs)(`div`,{className:`cm-find-box${_?` invalid`:``}`,title:_??void 0,children:[(0,$.jsx)(`input`,{ref:e.input,autoFocus:!0,className:`cm-find-input`,spellCheck:!1,value:t,placeholder:n(`search.contentPlaceholder`),onChange:t=>e.onQuery(t.target.value),onKeyDown:t=>{t.key===`Escape`&&e.onClose(),t.key===`Enter`&&te(e=>e+1)}}),T(`case`,(0,$.jsx)(Dt,{size:15}),`search.matchCase`),T(`word`,(0,$.jsx)(yr,{size:15}),`search.wholeWord`),T(`regex`,(0,$.jsx)(Ln,{size:15}),`search.regexp`),T(`rendered`,(0,$.jsx)(zn,{size:15}),`search.rendered`)]}),a&&(0,$.jsxs)(`div`,{className:`content-search-replace`,children:[(0,$.jsx)(`div`,{className:`cm-find-box`,children:(0,$.jsx)(`input`,{className:`cm-find-input`,spellCheck:!1,value:s,placeholder:n(`search.replace`),onChange:e=>c(e.target.value),onKeyDown:t=>{t.key===`Escape`&&e.onClose(),t.key===`Enter`&&(t.ctrlKey||t.metaKey)&&t.altKey&&re()}})}),(0,$.jsx)(`button`,{className:`cm-find-btn`,title:n(`search.replaceAllFiles`),disabled:!ie.length||ee,onClick:()=>re(),children:(0,$.jsx)(Un,{size:15})})]}),(0,$.jsx)(`div`,{className:`content-search-more`,children:(0,$.jsx)(`button`,{className:`cm-find-btn${l?` on`:``}`,title:n(`search.details`),"aria-expanded":l,onClick:()=>u(e=>!e),children:(0,$.jsx)(Vt,{size:15})})}),l&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{className:`cm-find-box`,children:(0,$.jsx)(`input`,{className:`cm-find-input`,spellCheck:!1,value:d,placeholder:n(`search.include`),title:n(`search.globHint`),onChange:e=>f(e.target.value)})}),(0,$.jsx)(`div`,{className:`cm-find-box`,children:(0,$.jsx)(`input`,{className:`cm-find-input`,spellCheck:!1,value:p,placeholder:n(`search.exclude`),title:n(`search.globHint`),onChange:e=>m(e.target.value)})})]})]})]}),t&&h&&(0,$.jsxs)(`div`,{className:`content-search-summary`,children:[(0,$.jsx)(`span`,{style:{flex:1},children:h.total?n(`search.summary`,{n:h.total,files:ie.length}):n(`search.none`)}),ie.length>0&&(0,$.jsx)(`button`,{className:`icon-btn`,title:n(ae?`app.expandAll`:`app.collapseAll`),onClick:()=>b(new Set(ae?[]:ie.map(e=>e.path))),children:ae?(0,$.jsx)(Nt,{size:14}):(0,$.jsx)(jt,{size:14})})]}),h?.truncated&&(0,$.jsx)(`div`,{className:`sidebar-empty`,children:n(`search.truncated`,{n:h.total})}),(0,$.jsx)(`ul`,{className:`tree search-results`,children:ie.map(t=>{let r=!y.has(t.path),i=t.path.lastIndexOf(`/`);return(0,$.jsxs)(`li`,{children:[(0,$.jsxs)(`div`,{className:`node${e.selected===t.path?` current`:``}`,title:t.path,onClick:()=>b(e=>{let n=new Set(e);return n.has(t.path)?n.delete(t.path):n.add(t.path),n}),children:[(0,$.jsx)(`span`,{className:`chev`,children:r?(0,$.jsx)(jt,{size:14}):(0,$.jsx)(Nt,{size:14})}),(0,$.jsx)(`span`,{className:`ico`,children:(0,$.jsx)(bb,{size:15})}),(0,$.jsxs)(`span`,{className:`name`,children:[t.path.slice(i+1),` `,i>0&&(0,$.jsx)(`span`,{className:`dir`,children:t.path.slice(0,i)})]}),oe&&(0,$.jsx)(`button`,{className:`icon-btn row-action`,title:n(`search.replaceInFile`),disabled:ee,onClick:e=>{e.stopPropagation(),re(t.path)},children:(0,$.jsx)(Un,{size:13})}),(0,$.jsx)(`span`,{className:`count`,children:t.matches.length})]}),r&&(0,$.jsx)(`ul`,{children:t.matches.map(r=>{let i=`${t.path}|${Bb(r)}`,a=r.preview.slice(r.start,r.end);return(0,$.jsx)(`li`,{children:(0,$.jsxs)(`div`,{className:`node match${x===i?` selected`:``}`,title:n(`search.line`,{n:r.line}),onClick:()=>{S(i),e.onOpen(t.path,{line:r.line,col:r.col,len:r.len})},children:[(0,$.jsxs)(`span`,{className:`preview`,children:[r.preview.slice(0,r.start),(0,$.jsx)(`mark`,{className:oe?`removed`:void 0,children:a}),oe&&(0,$.jsx)(`mark`,{className:`added`,children:Vb(a,ne,s)}),r.preview.slice(r.end)]}),oe&&(0,$.jsx)(`button`,{className:`icon-btn row-action`,title:r.replaceable?n(`search.replaceMatch`):n(`search.notReplaceable`),disabled:ee||!r.replaceable,onClick:e=>{e.stopPropagation(),re(t.path,[Bb(r)])},children:(0,$.jsx)(Vn,{size:13})})]})},i)})})]},t.path)})}),!t&&(0,$.jsx)(`div`,{className:`sidebar-empty`,children:n(`search.contentHint`)})]})}var Ub=`markode.searchMode`,Wb=`markode.expanded`;function Gb(){try{let e=localStorage.getItem(Wb);return e?new Set(JSON.parse(e)):null}catch{return null}}var Kb=e=>e.flatMap(e=>e.kind===`dir`?[e.path,...Kb(e.children??[])]:[]);function qb(e,t){return e.flatMap(e=>{if(e.kind===`file`)return e.path.toLowerCase().includes(t)?[e]:[];let n=qb(e.children??[],t);return n.length||e.name.toLowerCase().includes(t)?[{...e,children:n.length?n:e.children}]:[]})}var Jb=e=>e?e.kind===`dir`?e.path:e.path.split(`/`).slice(0,-1).join(`/`):``;function Yb({kind:e,depth:t,onDone:n}){let r=(0,M.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)(an,{size:15}):(0,$.jsx)(bb,{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 Xb(e,t){return Object.keys(t).some(t=>t.startsWith(e.path+`/`))}function Zb(e){let{tree:t,selected:n,showIgnored:r,t:i}=e,[a,o]=(0,M.useState)(()=>Gb()??new Set(t.filter(e=>e.kind===`dir`).map(e=>e.path))),[s,c]=(0,M.useState)(null),[l,u]=(0,M.useState)(!1),[d,f]=(0,M.useState)(``),[p,m]=(0,M.useState)(()=>{try{return localStorage.getItem(Ub)===`content`?`content`:`names`}catch{return`names`}}),h=(0,M.useRef)(null),[g,_]=(0,M.useState)(null),[v,y]=(0,M.useState)(null),b=v??(n?{kind:`file`,path:n}:null),x=l&&p===`content`,S=x?``:d.trim().toLowerCase(),ee=(0,M.useMemo)(()=>S?qb(t,S):t,[t,S]),C=a.size>0,w=()=>{u(!1),f(``)};(0,M.useEffect)(()=>{try{localStorage.setItem(Ub,p)}catch{}},[p]),(0,M.useEffect)(()=>{e.searchRequest&&(u(!0),m(`content`),e.searchRequest.query&&f(e.searchRequest.query),setTimeout(()=>h.current?.select()))},[e.searchRequest?.seq]);let te=(0,$.jsx)(`div`,{className:`search-modes`,role:`tablist`,children:[`names`,`content`].map(e=>(0,$.jsx)(`button`,{role:`tab`,"aria-selected":p===e,className:p===e?`active`:``,onClick:()=>{m(e),setTimeout(()=>h.current?.focus())},children:i(e===`names`?`search.modeNames`:`search.modeContent`)},e))});(0,M.useEffect)(()=>{try{localStorage.setItem(Wb,JSON.stringify([...a]))}catch{}},[a]),(0,M.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,M.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)=>{w();let n=e?e.split(`/`):[];o(e=>new Set([...e,...n.map((e,t)=>n.slice(0,t+1).join(`/`))])),_({dir:e,kind:t})},T=async t=>{let n=g;if(_(null),!n||!t)return;let r=await e.onCreate(n.dir,t,n.kind);r&&n.kind===`dir`&&o(e=>new Set([...e,r]))},re=(e,t)=>g?.dir===e&&(0,$.jsx)(Yb,{kind:g.kind,depth:t,onDone:T},`draft`),ie=e=>o(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}),ae=(t,o)=>t.filter(e=>r||!e.ignored).map(t=>{let r=!!S||a.has(t.path),s=t.kind===`file`&&(t.name===`CLAUDE.md`||t.name===`AGENTS.md`),l=t.kind===`file`?e.git[t.path]:Xb(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:()=>{y(t),t.kind===`dir`?ie(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)(jt,{size:14}):(0,$.jsx)(Nt,{size:14}):null}),(0,$.jsx)(`span`,{className:`ico${t.project?` project`:``}`,children:t.kind===`dir`?t.project?(0,$.jsx)(Cn,{size:15}):r?(0,$.jsx)(en,{size:15}):(0,$.jsx)(an,{size:15}):(0,$.jsx)(bb,{size:15})}),(0,$.jsx)(`span`,{className:`name${s?` main`:``}`,children:t.name}),d&&(0,$.jsx)(`span`,{className:`badge foreign`,title:i(`foreign.badge`,{lang:wr[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:[re(t.path,o+1),ae(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(Jb(b),`file`),children:(0,$.jsx)(Yt,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.newFolder`),onClick:()=>ne(Jb(b),`dir`),children:(0,$.jsx)(nn,{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)(Ut,{size:15}):(0,$.jsx)(Gt,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(C?`app.collapseAll`:`app.expandAll`),onClick:()=>o(new Set(C?[]:Kb(t))),children:C?(0,$.jsx)(Ft,{size:15}):(0,$.jsx)(Lt,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.search`),style:l?{color:`var(--accent)`}:void 0,onClick:()=>l?w():u(!0),children:(0,$.jsx)(Zn,{size:15})})]}),x&&(0,$.jsx)(Hb,{query:d,onQuery:f,input:h,onClose:w,modes:te,selected:n,showIgnored:r,lang:e.lang,tick:e.tick,t:i,onOpen:e.onOpenAt,onBeforeReplace:e.onBeforeReplace}),l&&!x&&te,l&&!x&&(0,$.jsxs)(`div`,{className:`sidebar-search`,children:[(0,$.jsx)(Zn,{size:13}),(0,$.jsx)(`input`,{ref:h,autoFocus:!0,value:d,placeholder:i(`app.searchPlaceholder`),onChange:e=>f(e.target.value),onKeyDown:e=>e.key===`Escape`&&w()}),d&&(0,$.jsx)(`button`,{className:`icon-btn`,title:i(`app.clear`),onClick:()=>(f(``),h.current?.focus()),children:(0,$.jsx)(xr,{size:13})})]}),!x&&(0,$.jsxs)(`ul`,{className:`tree`,children:[re(``,0),ae(ee,0)]}),S&&!ee.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(Jb(s.node),`file`),c(null)},children:[(0,$.jsx)(Yt,{size:14}),` `,i(`app.newFile`)]}),(0,$.jsxs)(`button`,{onClick:()=>{ne(Jb(s.node),`dir`),c(null)},children:[(0,$.jsx)(nn,{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)(Ut,{size:14}):(0,$.jsx)(Gt,{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)(zt,{size:14}),` `,i(`app.copyPath`)]}),(0,$.jsxs)(`button`,{className:`danger`,onClick:()=>{e.onDelete(s.node),c(null)},children:[(0,$.jsx)(dr,{size:14}),` `,i(`app.delete`)]})]})]})]})}var Qb=[`claude`,`agents`,`codex`,`gemini`,`copilot`,`cursor`],$b=[`claude`,`agents`],ex=`markode.skillsGroupBy`,tx={global:`ok`,project:`ok`,both:`warn`,missing:`off`},nx=(e,t)=>e===`agents`?t(`skills.shared`):{claude:`Claude`,codex:`Codex`,gemini:`Gemini`,copilot:`Copilot`,cursor:`Cursor`}[e];function rx({t:e,tick:t,look:n}){let[r,i]=(0,M.useState)(null),[a,o]=(0,M.useState)(``),[s,c]=(0,M.useState)(()=>{try{return localStorage.getItem(ex)===`source`?`source`:`tag`}catch{return`tag`}}),[l,u]=(0,M.useState)(new Set),[d,f]=(0,M.useState)(new Set),p=()=>I.skills().then(i);(0,M.useEffect)(()=>{p()},[t]),(0,M.useEffect)(()=>{try{localStorage.setItem(ex,s)}catch{}},[s]);let m=a.trim().toLowerCase(),h=(0,M.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,M.useMemo)(()=>[...new Set((r?.skills??[]).flatMap(e=>e.tags))].sort(),[r]),_=(0,M.useMemo)(()=>{if(s===`source`)return Qb.map(t=>({id:t,label:nx(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},x=async(e,t)=>{await I.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)(Zn,{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)(xr,{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)(Ft,{size:15}):(0,$.jsx)(Lt,{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)(Nt,{size:14}):(0,$.jsx)(jt,{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)(ix,{skill:i,t:e,look:n,open:l.has(a),onToggle:()=>u(e=>b(e,a)),allTags:g,onTags:e=>x(i,e),defaultTargets:r.targets,onInstalled:p},a)})]},t.id||`-`))]})}):(0,$.jsx)(`div`,{className:`page`})}function ix({skill:e,t,look:n,open:r,onToggle:i,allTags:a,onTags:o,defaultTargets:s,onInstalled:c}){let[l,u]=(0,M.useState)(!1),[d,f]=(0,M.useState)(!1),[p,m]=(0,M.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 I.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)(jt,{size:14}):(0,$.jsx)(Nt,{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:nx(e.source,t)},e.path)),e.managed&&(0,$.jsx)(`span`,{className:`skill-flag`,title:t(`skills.managed`),children:(0,$.jsx)(hn,{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(`
|
|
132
|
-
`),children:(0,$.jsx)(pr,{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 ${tx[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)(Fn,{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`)}),$b.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)(xr,{size:11})})]},n)),l?(0,$.jsx)(ax,{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)(kn,{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)(ox,{skill:e,t,look:n})]})]})}function ax({options:e,onDone:t}){let n=(0,M.useRef)(!1),r=e=>{n.current||(n.current=!0,t(e?.trim().toLowerCase()||null))},i=(0,M.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 ox({skill:e,t,look:n}){let r=(0,M.useRef)(null),[i,a]=(0,M.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(`
|
|
133
|
-
`),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)(tb,{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:()=>I.skillFile(e.key),save:t=>I.saveSkillFile(e.key,t)},readOnly:e.managed})]})}var sx={get:e=>{try{return localStorage.getItem(e)}catch{return null}},set:(e,t)=>{try{localStorage.setItem(e,t)}catch{}}};function cx(e){let[t,n]=(0,M.useState)(()=>matchMedia(`(prefers-color-scheme: light)`).matches?`light`:`dark`);(0,M.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,M.useLayoutEffect)(()=>{document.documentElement.dataset.resolvedTheme=r},[r]),r}var lx=260,ux=180,dx=()=>Math.max(ux,Math.min(640,window.innerWidth*.6)),fx=(e,t)=>{let n=/^---\r?\n([\s\S]*?)\r?\n---/.exec(e)?.[1]??``;return RegExp(`^${t}:\\s*([\\w-]+)`,`m`).exec(n)?.[1]??null},px=e=>fx(e,`status`),mx=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)},hx=()=>{let e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`};function gx(){let[e,t]=(0,M.useState)(null),[n,r]=(0,M.useState)({tree:[],git:{},sync:{},foreign:{}}),[i,a]=(0,M.useState)(()=>decodeURIComponent(location.hash.slice(2))||null),[o,s]=(0,M.useState)(()=>sx.get(`markode.view`)||`editor`),[c,l]=(0,M.useState)(()=>{let e=sx.get(`markode.theme`);return e===`light`||e===`dark`?e:null}),[u,d]=(0,M.useState)(!1),[f,p]=(0,M.useState)(null),[m,h]=(0,M.useState)(!1),[g,_]=(0,M.useState)(0),[v,y]=(0,M.useState)(0),[b,x]=(0,M.useState)(()=>({...Eb,uiLang:sx.get(`markode.uiLang`)||Eb.uiLang})),[S,ee]=(0,M.useState)(null),[C,w]=(0,M.useState)(null),[te,ne]=(0,M.useState)(!1),[T,re]=(0,M.useState)(0),[ie,ae]=(0,M.useState)(!1),[oe,se]=(0,M.useState)(!1),[ce,le]=(0,M.useState)(null),E=!!i&&ce===i,[ue,de]=(0,M.useState)($y),fe=(0,M.useRef)(null),[pe,me]=(0,M.useState)(null),[he,ge]=(0,M.useState)(null);(0,M.useEffect)(()=>{let e=e=>{if(!e.defaultPrevented&&(e.ctrlKey||e.metaKey)&&e.shiftKey&&!e.altKey&&e.key.toLowerCase()===`f`){e.preventDefault(),be(!1),ge(e=>({query:fe.current?.selection()??``,seq:(e?.seq??0)+1}));return}if(e.defaultPrevented||!(e.ctrlKey||e.metaKey)||e.altKey||e.shiftKey||!fe.current)return;let t=e.key.toLowerCase();(t===`f`||t===`h`)&&(e.preventDefault(),fe.current.find(t===`h`))};return addEventListener(`keydown`,e),()=>removeEventListener(`keydown`,e)},[]);let[_e,ve]=(0,M.useState)(()=>Number(sx.get(`markode.sidebarWidth`))||lx),[ye,be]=(0,M.useState)(()=>sx.get(`markode.sidebarHidden`)===`1`),[D,O]=(0,M.useState)(()=>sx.get(`markode.viewLang`)),k=cx(c),xe=e?.sourceLang??`en`,Se=D&&e?.langs.includes(D)?D:xe,Ce=t=>e?.langNames[t]??wr[t]??t,A=(0,M.useMemo)(()=>wb(b.uiLang),[b.uiLang]),j=(0,M.useRef)(Se);j.current=Se;let we=(0,M.useCallback)(()=>I.tree(j.current).then(r),[]),Te=(0,M.useRef)(i);Te.current=i,(0,M.useEffect)(()=>{I.info().then(e=>{t(e),!Te.current&&e.mainDoc&&a(e.mainDoc)}),I.settings().then(e=>x(e))},[]),(0,M.useEffect)(()=>{e&&we()},[e,Se]),(0,M.useEffect)(()=>{e?.langs.length?I.translations().then(e=>re(e.pending)).catch(()=>{}):re(0)},[e,g]),(0,M.useEffect)(()=>Db(b),[b]),(0,M.useEffect)(()=>sx.set(`markode.uiLang`,b.uiLang),[b.uiLang]),(0,M.useEffect)(()=>{document.documentElement.lang=Se},[Se]);let Ee=(0,M.useRef)(void 0),De=e=>{x(e),window.clearTimeout(Ee.current),Ee.current=window.setTimeout(()=>I.saveSettings(e),300)};(0,M.useEffect)(()=>{let e,n=()=>{we(),_(e=>e+1)},r=kr(r=>{r.type===`open`?(Ae.current(r.path),window.focus()):((r.path===Te.current||r.path.startsWith(`.markode/`))&&y(e=>e+1),r.path===`.markode/config.json`&&I.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,M.useEffect)(()=>{i&&history.replaceState(null,``,`#/${encodeURI(i)}`)},[i]),(0,M.useEffect)(()=>{let e=()=>{let e=decodeURIComponent(location.hash.slice(2));e&&e!==Te.current&&Ae.current(e)};return addEventListener(`hashchange`,e),()=>removeEventListener(`hashchange`,e)},[]),(0,M.useEffect)(()=>sx.set(`markode.view`,o),[o]),(0,M.useEffect)(()=>sx.set(`markode.theme`,c??``),[c]),(0,M.useEffect)(()=>sx.set(`markode.sidebarWidth`,String(_e)),[_e]),(0,M.useEffect)(()=>sx.set(`markode.sidebarHidden`,ye?`1`:`0`),[ye]);let Oe=e=>{e.preventDefault();let t=e.currentTarget;t.setPointerCapture(e.pointerId),document.body.classList.add(`resizing`);let n=_e,r=e=>{if(e.clientX<ux/2)return be(!0),ve(n);be(!1),ve(Math.round(Math.min(dx(),Math.max(ux,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)},ke=(e,t)=>{me(n=>t?{...t,path:e,seq:(n?.seq??0)+1}:null),a(e),s(`editor`),le(null)},Ae=(0,M.useRef)(ke);Ae.current=ke;let je=e=>{O(e),sx.set(`markode.viewLang`,e)},Me=async(e,n)=>{await I.setProposals(e,n).catch(e=>alert(e.message)),t(await I.info())},Ne=async(e,n)=>{await I.setFeature(e,n).catch(e=>alert(e.message)),t(await I.info()),we()},Pe=async()=>{if(!i)return;let e=i,t=await I.waiting().then(t=>t.paths.includes(e)).catch(()=>!1);fe.current?.setField(`status`,`answered`),fe.current?.setField(`updated`,hx()),t||navigator.clipboard?.writeText(A(`proposal.message`,{path:e})).catch(()=>{}),ne(t),w(e)},Fe=()=>navigator.clipboard?.writeText(`/markode translate`).then(()=>{ae(!0),setTimeout(()=>ae(!1),1500)}),Ie=async e=>{await I.setConfig(e).catch(e=>alert(e.message)),t(await I.info())},Le=async(e,t,n)=>{n===`file`&&!t.toLowerCase().endsWith(`.md`)&&(t+=`.md`);let r=e?`${e}/${t}`:t,i=await(n===`dir`?I.createDir(r):I.create(r)).catch(e=>void alert(e.message));return i?(await we(),n===`file`&&ke(i.path),i.path):null},Re=async t=>{let n=await I.deletePreview(t.path).catch(e=>void alert(e.message));if(!n)return;let r=n.kind===`dir`?A(`app.deleteDirConfirm`,{path:t.path,files:n.files,md:n.md}):A(`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 I.remove(t.path).catch(e=>alert(e.message)),we()},ze=f?.status??null,Be=i?.split(`/`)??[],Ve=e?.features.agent?e.author??A(`comment.me`):null,He=`${b.font}|${b.size}|${b.lineHeight}|${b.padding}|${b.width}`,Ue=k===`light`?sr:xn,We=[{id:`editor`,icon:P,label:A(`view.editor`)},{id:`dashboard`,icon:dn,label:A(`view.dashboard`)},{id:`changes`,icon:sn,label:A(`view.changes`)},{id:`rules`,icon:Yn,label:A(`view.rules`)},{id:`skills`,icon:ar,label:A(`view.skills`)}].filter(t=>!e||t.id!==`dashboard`&&t.id!==`rules`&&t.id!==`skills`||e.features[t.id]),Ge=We.some(e=>e.id===o)?o:`editor`;return(0,$.jsxs)(`div`,{className:`app`,"data-sidebar":ye?`hidden`:void 0,style:{"--sidebar-w":`${Math.min(_e,dx())}px`},children:[(0,$.jsxs)(`header`,{className:`topbar`,children:[(0,$.jsx)(`button`,{className:`icon-btn`,title:A(ye?`app.showSidebar`:`app.hideSidebar`),onClick:()=>be(e=>!e),children:ye?(0,$.jsx)(Dn,{size:16}):(0,$.jsx)(Tn,{size:16})}),(0,$.jsxs)(`div`,{className:`brand`,children:[(0,$.jsx)(bb,{size:20,filled:!0}),` markode `,(0,$.jsx)(`small`,{children:e?.name})]}),(0,$.jsx)(`nav`,{className:`tabs`,children:We.map(e=>(0,$.jsxs)(`button`,{className:`tab${Ge===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`}),T>0&&(0,$.jsxs)(`button`,{className:`pill warn`,title:A(`sync.copyCommand`),onClick:Fe,children:[ie?(0,$.jsx)(kt,{size:12}):(0,$.jsx)(zt,{size:12}),` `,ie?A(`app.copied`):A(`sync.pendingCount`,{n:T})]}),e&&e.langs.length>0&&(0,$.jsxs)(`select`,{className:`control`,title:A(`app.language`),value:Se,onChange:e=>je(e.target.value),children:[(0,$.jsxs)(`option`,{value:xe,children:[wr[xe],` (`,A(`lang.original`),`)`]}),e.langs.map(e=>(0,$.jsx)(`option`,{value:e,children:Ce(e)},e))]}),(0,$.jsx)(`button`,{className:`icon-btn`,title:A(`app.settings`),onClick:()=>ee(`general`),children:(0,$.jsx)(tr,{size:16})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:A(`app.theme`),onClick:()=>l(k===`dark`?`light`:`dark`),children:(0,$.jsx)(Ue,{size:16})})]}),(0,$.jsx)(Zb,{tree:n.tree,git:n.git,sync:n.sync,foreign:n.foreign,selected:Ge===`editor`?i:null,mainDoc:e?.mainDoc??null,showIgnored:u,t:A,onOpen:ke,lang:Se,tick:g,onOpenAt:ke,onBeforeReplace:async()=>fe.current?.flush(),searchRequest:he,onToggleIgnored:()=>d(e=>!e),onIgnore:async(e,t)=>{await I.ignore(e.path,e.kind,t),we()},onCreate:Le,onDelete:Re}),!ye&&(0,$.jsx)(`div`,{className:`sidebar-resizer`,title:A(`app.resizeSidebar`),onPointerDown:Oe,onDoubleClick:()=>ve(lx)}),(0,$.jsxs)(`main`,{className:`main`,children:[Ge===`editor`&&(i?(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{className:`crumbs`,children:[Be.map((e,t)=>(0,$.jsxs)(`span`,{style:{display:`contents`},children:[t>0&&(0,$.jsx)(Nt,{size:13,className:`sep`}),(0,$.jsx)(`span`,{className:t===Be.length-1?`last`:``,children:e})]},t)),f&&(0,$.jsx)(`span`,{className:`status`,children:(0,$.jsx)(rb,{status:px(f.content),t:A})}),(0,$.jsx)(`span`,{className:`save`,children:m?A(`app.saving`):f?A(`app.saved`):``}),(0,$.jsxs)(`div`,{className:`edit-actions`,children:[(0,$.jsx)(`button`,{className:`icon-btn`,title:A(`app.undo`),disabled:!ue.undo,onMouseDown:e=>e.preventDefault(),onClick:()=>fe.current?.undo(),children:(0,$.jsx)(_r,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:A(`app.redo`),disabled:!ue.redo,onMouseDown:e=>e.preventDefault(),onClick:()=>fe.current?.redo(),children:(0,$.jsx)(Nn,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:A(`app.discard`),disabled:!ue.dirty,onMouseDown:e=>e.preventDefault(),onClick:()=>fe.current?.discard(),children:(0,$.jsx)(Gn,{size:15})}),(0,$.jsx)(`span`,{className:`sep`}),(0,$.jsx)(`button`,{className:`icon-btn`,title:A(`app.find`),onMouseDown:e=>e.preventDefault(),onClick:()=>fe.current?.find(),children:(0,$.jsx)(Zn,{size:15})}),(0,$.jsx)(`button`,{className:`icon-btn`,title:A(`app.copyDoc`),onMouseDown:e=>e.preventDefault(),onClick:e=>{let t=e.currentTarget.getBoundingClientRect(),n=e=>()=>fe.current?.copy(e).then(()=>{se(!0),setTimeout(()=>se(!1),1200)}).catch(e=>alert(e.message));ud(t.left,t.bottom+4,[{label:A(`app.copyMarkdown`),run:n(!1)},{label:A(`app.copyFormatted`),run:n(!0)}])},children:oe?(0,$.jsx)(kt,{size:15}):(0,$.jsx)(zt,{size:15})}),(0,$.jsx)(`span`,{className:`sep`}),(0,$.jsx)(`button`,{className:`icon-btn`,title:A(E?`app.viewVisual`:`app.viewMarkdown`),onMouseDown:e=>e.preventDefault(),onClick:()=>le(E?null:i),children:E?(0,$.jsx)(qt,{size:15}):(0,$.jsx)(bb,{size:15})})]})]}),f&&fx(f.content,`type`)===`proposal`&&(0,$.jsx)(ib,{status:px(f.content)!==`applied`&&C===i?`answered`:px(f.content),copied:C===i,listening:C===i&&te,affects:mx(f.content),t:A,onSend:Pe,onOpen:ke}),Se!==xe&&ze&&ze!==`synced`&&(0,$.jsxs)(`div`,{className:`banner sync-${ze}`,children:[(0,$.jsx)(`span`,{className:`dot sync-${ze}`}),` `,A(`sync.${ze}`),` · `,A(`sync.hint`)]}),Se===xe&&n.foreign[i]&&(0,$.jsxs)(`div`,{className:`banner foreign`,children:[A(`foreign.banner`,{lang:wr[n.foreign[i]],source:wr[xe]}),(0,$.jsx)(`button`,{className:`btn`,onClick:async()=>{await I.keepLanguage(i),we()},children:A(`foreign.keep`,{lang:wr[n.foreign[i]]})})]}),(0,$.jsx)(tb,{path:i,lang:Se,layoutKey:He,wrap:b.wrap,visual:!E,theme:k,t:A,externalTick:v,onLoaded:p,onHistory:de,commands:fe,author:Ve,onOpenDoc:e=>ke(e),reveal:pe?.path===i?pe:null,onSaving:h,onSaved:e=>{p(t=>t&&{...t,status:e}),we()}},`${i}|${Se}|${Ve}|${b.uiLang}`)]}):(0,$.jsx)(`div`,{className:`empty`,children:A(`app.noFile`)})),Ge===`dashboard`&&(0,$.jsx)(gb,{t:A,tick:g,onOpen:ke,proposalsActive:!!e?.proposals.active,onActivateProposals:()=>ee(`features`),unlinked:e?.unlinked??[],onLink:async e=>{await I.link(e).catch(e=>alert(e.message)),t(await I.info()),we()}}),Ge===`changes`&&(0,$.jsx)(vb,{t:A,git:n.git,enabled:!!e?.git,tick:g}),Ge===`rules`&&(0,$.jsx)(yb,{t:A}),Ge===`skills`&&(0,$.jsx)(rx,{t:A,tick:g,look:{layoutKey:He,wrap:b.wrap,theme:k}})]}),S&&e&&(0,$.jsx)(Ib,{t:A,section:S,pendingTranslations:T,theme:c,onTheme:l,info:e,settings:b,onSettings:De,onLanguages:Ie,onProposals:Me,onFeature:Ne,onClose:()=>ee(null)})]})}(0,Sr.createRoot)(document.getElementById(`root`)).render((0,$.jsx)(gx,{}));export{ff as a,Qe as c,df as i,nt as l,m_ as n,Af as o,gg as r,V as s,tv as t,tt as u};
|