blade-code 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/blade.js +2 -2
  2. package/dist/{chunk-jakzknh3.js → chunk-04920kz2.js} +268 -268
  3. package/dist/chunk-42ch5zg4.js +1 -0
  4. package/dist/{chunk-ydb9myhe.js → chunk-61952mn3.js} +1 -1
  5. package/dist/{chunk-nned222j.js → chunk-6yqzfz8t.js} +1 -1
  6. package/dist/chunk-7j6rxyt8.js +9 -0
  7. package/dist/{chunk-d08wbxjr.js → chunk-cnftrx3g.js} +1 -1
  8. package/dist/{chunk-gytwh5y1.js → chunk-epp5jx5f.js} +1 -1
  9. package/dist/{chunk-hrnd3wjg.js → chunk-j6hpzkpq.js} +1 -1
  10. package/dist/{chunk-e4a240t7.js → chunk-k47ssv3b.js} +1 -1
  11. package/dist/chunk-n4f8tseg.js +2 -0
  12. package/dist/{chunk-bggvft3z.js → chunk-nc4kfwef.js} +1 -1
  13. package/dist/{chunk-ychj0e5q.js → chunk-neenhtxw.js} +1 -1
  14. package/dist/{chunk-6es6av6j.js → chunk-pdydx73a.js} +1 -1
  15. package/dist/{chunk-yqxw7zz4.js → chunk-sr3bzb95.js} +1 -1
  16. package/dist/{chunk-jqr2pknb.js → chunk-x6gt63vz.js} +15 -15
  17. package/dist/web/assets/{CodeBlockHighlighter-C1cp8dDv.js → CodeBlockHighlighter-D8_cOYpG.js} +1 -1
  18. package/dist/web/assets/{FilePreview-DvgnEspB.js → FilePreview-Chqi7chf.js} +1 -1
  19. package/dist/web/assets/{MarkdownRenderer-e1ZUy6jV.js → MarkdownRenderer-JJScfgAO.js} +1 -1
  20. package/dist/web/assets/{McpModal-Raois2g1.js → McpModal-CiCuIUxC.js} +2 -2
  21. package/dist/web/assets/{SettingsModal-Dzuatoea.js → SettingsModal-Bew818xl.js} +1 -1
  22. package/dist/web/assets/{SettingsStore-BxDA0Usw.js → SettingsStore-B_4zN-c-.js} +1 -1
  23. package/dist/web/assets/{SkillsModal-Cg2-befH.js → SkillsModal-Cot4Rb89.js} +1 -1
  24. package/dist/web/assets/{TerminalPanel-CEoQI9Lu.js → TerminalPanel-DxB67ObY.js} +1 -1
  25. package/dist/web/assets/index-B-b3Yc5H.css +1 -0
  26. package/dist/web/assets/index-B3dW1Scg.js +16 -0
  27. package/dist/web/assets/{useRequest-DITGl55G.js → useRequest-B4kP-cmG.js} +1 -1
  28. package/dist/web/assets/{vendor-icons-BuFpOlRn.js → vendor-icons-DqO8ishN.js} +2 -2
  29. package/dist/web/assets/{vendor-markdown-Bo4W9Tae.js → vendor-markdown-b9iCqZWK.js} +1 -1
  30. package/dist/web/assets/vendor-radix-DyP_DOwV.js +45 -0
  31. package/dist/web/assets/{vendor-react-BalntB5F.js → vendor-react-FPIC4Czm.js} +2 -2
  32. package/dist/web/index.html +2 -2
  33. package/package.json +1 -1
  34. package/dist/chunk-3gw66r7a.js +0 -2
  35. package/dist/chunk-bxbagv76.js +0 -9
  36. package/dist/chunk-n8ymp6nd.js +0 -1
  37. package/dist/web/assets/index-BvGeIa_-.js +0 -16
  38. package/dist/web/assets/index-DDJnZJcp.css +0 -1
  39. package/dist/web/assets/vendor-radix-CESj0OOY.js +0 -45
@@ -1 +1 @@
1
- import{_ as p,q as y,t as w,r as oe,s as se,u as Y}from"./vendor-radix-CESj0OOY.js";import{r as m}from"./vendor-react-BalntB5F.js";import{c as A,g as Z}from"./vendor-markdown-Bo4W9Tae.js";var fe=function(e){return function(n,r){var t=m.useRef(!1);e(function(){return function(){t.current=!1}},[]),e(function(){if(!t.current)t.current=!0;else return n()},r)}},ce=function(e){return typeof e=="function"},E=function(e){var n=m.useRef(e);n.current=m.useMemo(function(){return e},[e]);var r=m.useRef(void 0);return r.current||(r.current=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return n.current.apply(this,t)}),r.current};const H=fe(m.useEffect);var ee=function(e,n){var r=n.manual,t=n.ready,i=t===void 0?!0:t,a=n.defaultParams,s=a===void 0?[]:a,o=n.refreshDeps,f=o===void 0?[]:o,c=n.refreshDepsAction,v=m.useRef(!1);return v.current=!1,H(function(){!r&&i&&(v.current=!0,e.run.apply(e,p([],y(s),!1)))},[i]),H(function(){v.current||r||(v.current=!0,c?c():e.refresh())},p([],y(f),!1)),{onBefore:function(){if(!i)return{stopNow:!0}}}};ee.onInit=function(e){var n=e.ready,r=n===void 0?!0:n,t=e.manual;return{loading:!t&&r}};function le(e,n){if(e===n)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],n[r]))return!1;return!0}var ne=function(e,n){var r=m.useRef({deps:n,obj:void 0,initialized:!1}).current;return(r.initialized===!1||!le(r.deps,n))&&(r.deps=n,r.obj=e(),r.initialized=!0),r.obj};function re(e){var n=m.useRef(e);return n.current=e,n}var I=function(e){var n=re(e);m.useEffect(function(){return function(){n.current()}},[])},F=new Map,de=function(e,n,r){var t=F.get(e);t!=null&&t.timer&&clearTimeout(t.timer);var i=void 0;n>-1&&(i=setTimeout(function(){F.delete(e)},n)),F.set(e,w(w({},r),{timer:i}))},ve=function(e){return F.get(e)},W=new Map,me=function(e){return W.get(e)},ge=function(e,n){W.set(e,n),n.then(function(r){return W.delete(e),r}).catch(function(){W.delete(e)})},O={},he=function(e,n){O[e]&&O[e].forEach(function(r){return r(n)})},B=function(e,n){return O[e]||(O[e]=[]),O[e].push(n),function(){var t=O[e].indexOf(n);O[e].splice(t,1)}},be=function(e,n){var r=n.cacheKey,t=n.cacheTime,i=t===void 0?5*60*1e3:t,a=n.staleTime,s=a===void 0?0:a,o=n.setCache,f=n.getCache,c=m.useRef(void 0),v=m.useRef(void 0),u=function(l,d){o?o(d):de(l,i,d),he(l,d.data)},g=function(l,d){return d===void 0&&(d=[]),f?f(d):ve(l)};return ne(function(){if(r){var l=g(r);l&&Object.hasOwnProperty.call(l,"data")&&(e.state.data=l.data,e.state.params=l.params,(s===-1||Date.now()-l.time<=s)&&(e.state.loading=!1)),c.current=B(r,function(d){e.setState({data:d})})}},[]),I(function(){var l;(l=c.current)===null||l===void 0||l.call(c)}),r?{onBefore:function(l){var d=g(r,l);return!d||!Object.hasOwnProperty.call(d,"data")?{}:s===-1||Date.now()-d.time<=s?{loading:!1,data:d==null?void 0:d.data,error:void 0,returnNow:!0}:{data:d==null?void 0:d.data,error:void 0}},onRequest:function(l,d){var b=me(r);return b&&b!==v.current?{servicePromise:b}:(b=l.apply(void 0,p([],y(d),!1)),v.current=b,ge(r,b),{servicePromise:b})},onSuccess:function(l,d){var b;r&&((b=c.current)===null||b===void 0||b.call(c),u(r,{data:l,params:d,time:Date.now()}),c.current=B(r,function(P){e.setState({data:P})}))},onMutate:function(l){var d;r&&((d=c.current)===null||d===void 0||d.call(c),u(r,{data:l,params:e.state.params,time:Date.now()}),c.current=B(r,function(b){e.setState({data:b})}))}}:{}};function pe(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var G=pe,ye=typeof A=="object"&&A&&A.Object===Object&&A,Te=ye,Re=Te,we=typeof self=="object"&&self&&self.Object===Object&&self,Se=Re||we||Function("return this")(),te=Se,Pe=te,je=function(){return Pe.Date.now()},Oe=je,Ee=/\s/;function $e(e){for(var n=e.length;n--&&Ee.test(e.charAt(n)););return n}var Ce=$e,_e=Ce,xe=/^\s+/;function Ae(e){return e&&e.slice(0,_e(e)+1).replace(xe,"")}var Fe=Ae,We=te,Le=We.Symbol,ie=Le,k=ie,ae=Object.prototype,Me=ae.hasOwnProperty,Ne=ae.toString,_=k?k.toStringTag:void 0;function Be(e){var n=Me.call(e,_),r=e[_];try{e[_]=void 0;var t=!0}catch{}var i=Ne.call(e);return t&&(n?e[_]=r:delete e[_]),i}var De=Be,He=Object.prototype,Ie=He.toString;function Ge(e){return Ie.call(e)}var Ue=Ge,X=ie,ze=De,ke=Ue,Xe="[object Null]",qe="[object Undefined]",q=X?X.toStringTag:void 0;function Ve(e){return e==null?e===void 0?qe:Xe:q&&q in Object(e)?ze(e):ke(e)}var Je=Ve;function Ke(e){return e!=null&&typeof e=="object"}var Qe=Ke,Ye=Je,Ze=Qe,en="[object Symbol]";function nn(e){return typeof e=="symbol"||Ze(e)&&Ye(e)==en}var rn=nn,tn=Fe,V=G,an=rn,J=NaN,un=/^[-+]0x[0-9a-f]+$/i,on=/^0b[01]+$/i,sn=/^0o[0-7]+$/i,fn=parseInt;function cn(e){if(typeof e=="number")return e;if(an(e))return J;if(V(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=V(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=tn(e);var r=on.test(e);return r||sn.test(e)?fn(e.slice(2),r?2:8):un.test(e)?J:+e}var ln=cn,dn=G,D=Oe,K=ln,vn="Expected a function",mn=Math.max,gn=Math.min;function hn(e,n,r){var t,i,a,s,o,f,c=0,v=!1,u=!1,g=!0;if(typeof e!="function")throw new TypeError(vn);n=K(n)||0,dn(r)&&(v=!!r.leading,u="maxWait"in r,a=u?mn(K(r.maxWait)||0,n):a,g="trailing"in r?!!r.trailing:g);function l(h){var T=t,R=i;return t=i=void 0,c=h,s=e.apply(R,T),s}function d(h){return c=h,o=setTimeout(S,n),v?l(h):s}function b(h){var T=h-f,R=h-c,z=n-T;return u?gn(z,a-R):z}function P(h){var T=h-f,R=h-c;return f===void 0||T>=n||T<0||u&&R>=a}function S(){var h=D();if(P(h))return $(h);o=setTimeout(S,b(h))}function $(h){return o=void 0,g&&t?l(h):(t=i=void 0,s)}function C(){o!==void 0&&clearTimeout(o),c=0,t=f=i=o=void 0}function x(){return o===void 0?s:$(D())}function j(){var h=D(),T=P(h);if(t=arguments,i=this,f=h,T){if(o===void 0)return d(f);if(u)return clearTimeout(o),o=setTimeout(S,n),l(f)}return o===void 0&&(o=setTimeout(S,n)),s}return j.cancel=C,j.flush=x,j}var ue=hn;const bn=Z(ue);var pn=function(e,n){var r=n.debounceWait,t=n.debounceLeading,i=n.debounceTrailing,a=n.debounceMaxWait,s=m.useRef(void 0),o=m.useMemo(function(){var f={};return t!==void 0&&(f.leading=t),i!==void 0&&(f.trailing=i),a!==void 0&&(f.maxWait=a),f},[t,i,a]);return m.useEffect(function(){if(r){var f=e.runAsync.bind(e);return s.current=bn(function(c){c()},r,o),e.runAsync=function(){for(var c=[],v=0;v<arguments.length;v++)c[v]=arguments[v];return new Promise(function(u,g){var l;(l=s.current)===null||l===void 0||l.call(s,function(){f.apply(void 0,p([],y(c),!1)).then(u).catch(g)})})},function(){var c;(c=s.current)===null||c===void 0||c.cancel(),e.runAsync=f}}},[r,o]),r?{onCancel:function(){var f;(f=s.current)===null||f===void 0||f.cancel()}}:{}},yn=function(e,n){var r=n.loadingDelay,t=n.ready,i=m.useRef(void 0);if(!r)return{};var a=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return a(),t!==!1&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){a()},onCancel:function(){a()}}},N=!!(typeof window<"u"&&window.document&&window.document.createElement);function U(){return N?document.visibilityState!=="hidden":!0}var L=new Set;function Tn(e){return L.add(e),function(){L.has(e)&&L.delete(e)}}if(N){var Rn=function(){U()&&L.forEach(function(e){return e()})};window.addEventListener("visibilitychange",Rn,!1)}var wn=function(e,n){var r=n.pollingInterval,t=n.pollingWhenHidden,i=t===void 0?!0:t,a=n.pollingErrorRetryCount,s=a===void 0?-1:a,o=m.useRef(void 0),f=m.useRef(void 0),c=m.useRef(0),v=function(){var u;o.current&&clearTimeout(o.current),(u=f.current)===null||u===void 0||u.call(f)};return H(function(){r||v()},[r]),r?{onBefore:function(){v()},onError:function(){c.current+=1},onSuccess:function(){c.current=0},onFinally:function(){s===-1||s!==-1&&c.current<=s?o.current=setTimeout(function(){!i&&!U()?f.current=Tn(function(){e.refresh()}):e.refresh()},r):c.current=0},onCancel:function(){v()}}:{}};function Sn(e,n){var r=!1;return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];r||(r=!0,e.apply(void 0,p([],y(t),!1)),setTimeout(function(){r=!1},n))}}var Pn=function(){return N&&typeof navigator.onLine<"u"?navigator.onLine:!0},M=new Set;function jn(e){return M.add(e),function(){M.has(e)&&M.delete(e)}}if(N){var Q=function(){!U()||!Pn()||M.forEach(function(e){return e()})};window.addEventListener("visibilitychange",Q,!1),window.addEventListener("focus",Q,!1)}var On=function(e,n){var r=n.refreshOnWindowFocus,t=n.focusTimespan,i=t===void 0?5e3:t,a=m.useRef(void 0),s=function(){var o;(o=a.current)===null||o===void 0||o.call(a)};return m.useEffect(function(){if(r){var o=Sn(e.refresh.bind(e),i);a.current=jn(function(){o()})}return function(){s()}},[r,i]),I(function(){s()}),{}},En=function(e,n){var r=n.retryInterval,t=n.retryCount,i=m.useRef(void 0),a=m.useRef(0),s=m.useRef(!1);return t?{onBefore:function(){s.current||(a.current=0),s.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,t===-1||a.current<=t){var o=r??Math.min(1e3*Math.pow(2,a.current),3e4);i.current=setTimeout(function(){s.current=!0,e.refresh()},o)}else a.current=0},onCancel:function(){a.current=0,i.current&&clearTimeout(i.current)}}:{}},$n=ue,Cn=G,_n="Expected a function";function xn(e,n,r){var t=!0,i=!0;if(typeof e!="function")throw new TypeError(_n);return Cn(r)&&(t="leading"in r?!!r.leading:t,i="trailing"in r?!!r.trailing:i),$n(e,n,{leading:t,maxWait:n,trailing:i})}var An=xn;const Fn=Z(An);var Wn=function(e,n){var r=n.throttleWait,t=n.throttleLeading,i=n.throttleTrailing,a=m.useRef(void 0),s={};return t!==void 0&&(s.leading=t),i!==void 0&&(s.trailing=i),m.useEffect(function(){if(r){var o=e.runAsync.bind(e);return a.current=Fn(function(f){f()},r,s),e.runAsync=function(){for(var f=[],c=0;c<arguments.length;c++)f[c]=arguments[c];return new Promise(function(v,u){var g;(g=a.current)===null||g===void 0||g.call(a,function(){o.apply(void 0,p([],y(f),!1)).then(v).catch(u)})})},function(){var f;e.runAsync=o,(f=a.current)===null||f===void 0||f.cancel()}}},[r,t,i]),r?{onCancel:function(){var o;(o=a.current)===null||o===void 0||o.cancel()}}:{}},Ln=function(e){m.useEffect(function(){var n=e==null?void 0:e();if(!(n&&typeof n=="object"&&typeof n.then=="function"))return n},[])},Mn=function(){var e=y(m.useState({}),2),n=e[1];return m.useCallback(function(){return n({})},[])},Nn=function(){function e(n,r,t,i){i===void 0&&(i={}),this.serviceRef=n,this.options=r,this.subscribe=t,this.initState=i,this.pluginImpls=[],this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=w(w(w({},this.state),{loading:!r.manual}),i)}return e.prototype.setState=function(n){n===void 0&&(n={}),this.state=w(w({},this.state),n),this.subscribe()},e.prototype.runPluginHandler=function(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];var i=this.pluginImpls.map(function(a){var s;return(s=a[n])===null||s===void 0?void 0:s.call.apply(s,p([a],y(r),!1))}).filter(Boolean);return Object.assign.apply(Object,p([{}],y(i),!1))},e.prototype.runAsync=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return oe(this,void 0,void 0,function(){var t,i,a,s,o,f,c,v,u,g,l,d,b,P,S,$,C,x,j,h,T;return se(this,function(R){switch(R.label){case 0:if(this.count+=1,t=this.count,i=this.runPluginHandler("onBefore",n),a=i.stopNow,s=a===void 0?!1:a,o=i.returnNow,f=o===void 0?!1:o,c=Y(i,["stopNow","returnNow"]),s)return[2,new Promise(function(){})];if(this.setState(w({loading:!0,params:n},c)),f)return[2,Promise.resolve(c.data)];(b=(d=this.options).onBefore)===null||b===void 0||b.call(d,n),R.label=1;case 1:return R.trys.push([1,3,,4]),v=this.runPluginHandler("onRequest",this.serviceRef.current,n).servicePromise,v||(v=(l=this.serviceRef).current.apply(l,p([],y(n),!1))),[4,v];case 2:return u=R.sent(),t!==this.count?[2,new Promise(function(){})]:(this.setState({data:u,error:void 0,loading:!1}),(S=(P=this.options).onSuccess)===null||S===void 0||S.call(P,u,n),this.runPluginHandler("onSuccess",u,n),(C=($=this.options).onFinally)===null||C===void 0||C.call($,n,u,void 0),t===this.count&&this.runPluginHandler("onFinally",n,u,void 0),[2,u]);case 3:if(g=R.sent(),t!==this.count)return[2,new Promise(function(){})];throw this.setState({error:g,loading:!1}),(j=(x=this.options).onError)===null||j===void 0||j.call(x,g,n),this.runPluginHandler("onError",g,n),(T=(h=this.options).onFinally)===null||T===void 0||T.call(h,n,void 0,g),t===this.count&&this.runPluginHandler("onFinally",n,void 0,g),g;case 4:return[2]}})})},e.prototype.run=function(){for(var n=this,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.runAsync.apply(this,p([],y(r),!1)).catch(function(i){n.options.onError||console.error(i)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,p([],y(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,p([],y(this.state.params||[]),!1))},e.prototype.mutate=function(n){var r=ce(n)?n(this.state.data):n;this.runPluginHandler("onMutate",r),this.setState({data:r})},e}();function Bn(e,n,r){n===void 0&&(n={}),r===void 0&&(r=[]);var t=n.manual,i=t===void 0?!1:t,a=n.ready,s=a===void 0?!0:a,o=Y(n,["manual","ready"]),f=w({manual:i,ready:s},o),c=re(e),v=Mn(),u=ne(function(){var g=r.map(function(l){var d;return(d=l==null?void 0:l.onInit)===null||d===void 0?void 0:d.call(l,f)}).filter(Boolean);return new Nn(c,f,v,Object.assign.apply(Object,p([{}],y(g),!1)))},[]);return u.options=f,u.pluginImpls=r.map(function(g){return g(u,f)}),Ln(function(){if(!i&&s){var g=u.state.params||n.defaultParams||[];u.run.apply(u,p([],y(g),!1))}}),I(function(){u.cancel()}),{loading:u.state.loading,data:u.state.data,error:u.state.error,params:u.state.params||[],cancel:E(u.cancel.bind(u)),refresh:E(u.refresh.bind(u)),refreshAsync:E(u.refreshAsync.bind(u)),run:E(u.run.bind(u)),runAsync:E(u.runAsync.bind(u)),mutate:E(u.mutate.bind(u))}}function Gn(e,n,r){return Bn(e,n,p(p([],y([]),!1),[pn,yn,wn,On,Wn,ee,be,En],!1))}export{ce as a,re as b,bn as c,le as d,Gn as e,E as f,H as g,N as i,I as u};
1
+ import{_ as p,q as y,t as w,r as oe,s as se,u as Y}from"./vendor-radix-DyP_DOwV.js";import{r as m}from"./vendor-react-FPIC4Czm.js";import{c as A,g as Z}from"./vendor-markdown-b9iCqZWK.js";var fe=function(e){return function(n,r){var t=m.useRef(!1);e(function(){return function(){t.current=!1}},[]),e(function(){if(!t.current)t.current=!0;else return n()},r)}},ce=function(e){return typeof e=="function"},E=function(e){var n=m.useRef(e);n.current=m.useMemo(function(){return e},[e]);var r=m.useRef(void 0);return r.current||(r.current=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return n.current.apply(this,t)}),r.current};const H=fe(m.useEffect);var ee=function(e,n){var r=n.manual,t=n.ready,i=t===void 0?!0:t,a=n.defaultParams,s=a===void 0?[]:a,o=n.refreshDeps,f=o===void 0?[]:o,c=n.refreshDepsAction,v=m.useRef(!1);return v.current=!1,H(function(){!r&&i&&(v.current=!0,e.run.apply(e,p([],y(s),!1)))},[i]),H(function(){v.current||r||(v.current=!0,c?c():e.refresh())},p([],y(f),!1)),{onBefore:function(){if(!i)return{stopNow:!0}}}};ee.onInit=function(e){var n=e.ready,r=n===void 0?!0:n,t=e.manual;return{loading:!t&&r}};function le(e,n){if(e===n)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],n[r]))return!1;return!0}var ne=function(e,n){var r=m.useRef({deps:n,obj:void 0,initialized:!1}).current;return(r.initialized===!1||!le(r.deps,n))&&(r.deps=n,r.obj=e(),r.initialized=!0),r.obj};function re(e){var n=m.useRef(e);return n.current=e,n}var I=function(e){var n=re(e);m.useEffect(function(){return function(){n.current()}},[])},F=new Map,de=function(e,n,r){var t=F.get(e);t!=null&&t.timer&&clearTimeout(t.timer);var i=void 0;n>-1&&(i=setTimeout(function(){F.delete(e)},n)),F.set(e,w(w({},r),{timer:i}))},ve=function(e){return F.get(e)},W=new Map,me=function(e){return W.get(e)},ge=function(e,n){W.set(e,n),n.then(function(r){return W.delete(e),r}).catch(function(){W.delete(e)})},O={},he=function(e,n){O[e]&&O[e].forEach(function(r){return r(n)})},B=function(e,n){return O[e]||(O[e]=[]),O[e].push(n),function(){var t=O[e].indexOf(n);O[e].splice(t,1)}},be=function(e,n){var r=n.cacheKey,t=n.cacheTime,i=t===void 0?5*60*1e3:t,a=n.staleTime,s=a===void 0?0:a,o=n.setCache,f=n.getCache,c=m.useRef(void 0),v=m.useRef(void 0),u=function(l,d){o?o(d):de(l,i,d),he(l,d.data)},g=function(l,d){return d===void 0&&(d=[]),f?f(d):ve(l)};return ne(function(){if(r){var l=g(r);l&&Object.hasOwnProperty.call(l,"data")&&(e.state.data=l.data,e.state.params=l.params,(s===-1||Date.now()-l.time<=s)&&(e.state.loading=!1)),c.current=B(r,function(d){e.setState({data:d})})}},[]),I(function(){var l;(l=c.current)===null||l===void 0||l.call(c)}),r?{onBefore:function(l){var d=g(r,l);return!d||!Object.hasOwnProperty.call(d,"data")?{}:s===-1||Date.now()-d.time<=s?{loading:!1,data:d==null?void 0:d.data,error:void 0,returnNow:!0}:{data:d==null?void 0:d.data,error:void 0}},onRequest:function(l,d){var b=me(r);return b&&b!==v.current?{servicePromise:b}:(b=l.apply(void 0,p([],y(d),!1)),v.current=b,ge(r,b),{servicePromise:b})},onSuccess:function(l,d){var b;r&&((b=c.current)===null||b===void 0||b.call(c),u(r,{data:l,params:d,time:Date.now()}),c.current=B(r,function(P){e.setState({data:P})}))},onMutate:function(l){var d;r&&((d=c.current)===null||d===void 0||d.call(c),u(r,{data:l,params:e.state.params,time:Date.now()}),c.current=B(r,function(b){e.setState({data:b})}))}}:{}};function pe(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var G=pe,ye=typeof A=="object"&&A&&A.Object===Object&&A,Te=ye,Re=Te,we=typeof self=="object"&&self&&self.Object===Object&&self,Se=Re||we||Function("return this")(),te=Se,Pe=te,je=function(){return Pe.Date.now()},Oe=je,Ee=/\s/;function $e(e){for(var n=e.length;n--&&Ee.test(e.charAt(n)););return n}var Ce=$e,_e=Ce,xe=/^\s+/;function Ae(e){return e&&e.slice(0,_e(e)+1).replace(xe,"")}var Fe=Ae,We=te,Le=We.Symbol,ie=Le,k=ie,ae=Object.prototype,Me=ae.hasOwnProperty,Ne=ae.toString,_=k?k.toStringTag:void 0;function Be(e){var n=Me.call(e,_),r=e[_];try{e[_]=void 0;var t=!0}catch{}var i=Ne.call(e);return t&&(n?e[_]=r:delete e[_]),i}var De=Be,He=Object.prototype,Ie=He.toString;function Ge(e){return Ie.call(e)}var Ue=Ge,X=ie,ze=De,ke=Ue,Xe="[object Null]",qe="[object Undefined]",q=X?X.toStringTag:void 0;function Ve(e){return e==null?e===void 0?qe:Xe:q&&q in Object(e)?ze(e):ke(e)}var Je=Ve;function Ke(e){return e!=null&&typeof e=="object"}var Qe=Ke,Ye=Je,Ze=Qe,en="[object Symbol]";function nn(e){return typeof e=="symbol"||Ze(e)&&Ye(e)==en}var rn=nn,tn=Fe,V=G,an=rn,J=NaN,un=/^[-+]0x[0-9a-f]+$/i,on=/^0b[01]+$/i,sn=/^0o[0-7]+$/i,fn=parseInt;function cn(e){if(typeof e=="number")return e;if(an(e))return J;if(V(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=V(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=tn(e);var r=on.test(e);return r||sn.test(e)?fn(e.slice(2),r?2:8):un.test(e)?J:+e}var ln=cn,dn=G,D=Oe,K=ln,vn="Expected a function",mn=Math.max,gn=Math.min;function hn(e,n,r){var t,i,a,s,o,f,c=0,v=!1,u=!1,g=!0;if(typeof e!="function")throw new TypeError(vn);n=K(n)||0,dn(r)&&(v=!!r.leading,u="maxWait"in r,a=u?mn(K(r.maxWait)||0,n):a,g="trailing"in r?!!r.trailing:g);function l(h){var T=t,R=i;return t=i=void 0,c=h,s=e.apply(R,T),s}function d(h){return c=h,o=setTimeout(S,n),v?l(h):s}function b(h){var T=h-f,R=h-c,z=n-T;return u?gn(z,a-R):z}function P(h){var T=h-f,R=h-c;return f===void 0||T>=n||T<0||u&&R>=a}function S(){var h=D();if(P(h))return $(h);o=setTimeout(S,b(h))}function $(h){return o=void 0,g&&t?l(h):(t=i=void 0,s)}function C(){o!==void 0&&clearTimeout(o),c=0,t=f=i=o=void 0}function x(){return o===void 0?s:$(D())}function j(){var h=D(),T=P(h);if(t=arguments,i=this,f=h,T){if(o===void 0)return d(f);if(u)return clearTimeout(o),o=setTimeout(S,n),l(f)}return o===void 0&&(o=setTimeout(S,n)),s}return j.cancel=C,j.flush=x,j}var ue=hn;const bn=Z(ue);var pn=function(e,n){var r=n.debounceWait,t=n.debounceLeading,i=n.debounceTrailing,a=n.debounceMaxWait,s=m.useRef(void 0),o=m.useMemo(function(){var f={};return t!==void 0&&(f.leading=t),i!==void 0&&(f.trailing=i),a!==void 0&&(f.maxWait=a),f},[t,i,a]);return m.useEffect(function(){if(r){var f=e.runAsync.bind(e);return s.current=bn(function(c){c()},r,o),e.runAsync=function(){for(var c=[],v=0;v<arguments.length;v++)c[v]=arguments[v];return new Promise(function(u,g){var l;(l=s.current)===null||l===void 0||l.call(s,function(){f.apply(void 0,p([],y(c),!1)).then(u).catch(g)})})},function(){var c;(c=s.current)===null||c===void 0||c.cancel(),e.runAsync=f}}},[r,o]),r?{onCancel:function(){var f;(f=s.current)===null||f===void 0||f.cancel()}}:{}},yn=function(e,n){var r=n.loadingDelay,t=n.ready,i=m.useRef(void 0);if(!r)return{};var a=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return a(),t!==!1&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){a()},onCancel:function(){a()}}},N=!!(typeof window<"u"&&window.document&&window.document.createElement);function U(){return N?document.visibilityState!=="hidden":!0}var L=new Set;function Tn(e){return L.add(e),function(){L.has(e)&&L.delete(e)}}if(N){var Rn=function(){U()&&L.forEach(function(e){return e()})};window.addEventListener("visibilitychange",Rn,!1)}var wn=function(e,n){var r=n.pollingInterval,t=n.pollingWhenHidden,i=t===void 0?!0:t,a=n.pollingErrorRetryCount,s=a===void 0?-1:a,o=m.useRef(void 0),f=m.useRef(void 0),c=m.useRef(0),v=function(){var u;o.current&&clearTimeout(o.current),(u=f.current)===null||u===void 0||u.call(f)};return H(function(){r||v()},[r]),r?{onBefore:function(){v()},onError:function(){c.current+=1},onSuccess:function(){c.current=0},onFinally:function(){s===-1||s!==-1&&c.current<=s?o.current=setTimeout(function(){!i&&!U()?f.current=Tn(function(){e.refresh()}):e.refresh()},r):c.current=0},onCancel:function(){v()}}:{}};function Sn(e,n){var r=!1;return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];r||(r=!0,e.apply(void 0,p([],y(t),!1)),setTimeout(function(){r=!1},n))}}var Pn=function(){return N&&typeof navigator.onLine<"u"?navigator.onLine:!0},M=new Set;function jn(e){return M.add(e),function(){M.has(e)&&M.delete(e)}}if(N){var Q=function(){!U()||!Pn()||M.forEach(function(e){return e()})};window.addEventListener("visibilitychange",Q,!1),window.addEventListener("focus",Q,!1)}var On=function(e,n){var r=n.refreshOnWindowFocus,t=n.focusTimespan,i=t===void 0?5e3:t,a=m.useRef(void 0),s=function(){var o;(o=a.current)===null||o===void 0||o.call(a)};return m.useEffect(function(){if(r){var o=Sn(e.refresh.bind(e),i);a.current=jn(function(){o()})}return function(){s()}},[r,i]),I(function(){s()}),{}},En=function(e,n){var r=n.retryInterval,t=n.retryCount,i=m.useRef(void 0),a=m.useRef(0),s=m.useRef(!1);return t?{onBefore:function(){s.current||(a.current=0),s.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,t===-1||a.current<=t){var o=r??Math.min(1e3*Math.pow(2,a.current),3e4);i.current=setTimeout(function(){s.current=!0,e.refresh()},o)}else a.current=0},onCancel:function(){a.current=0,i.current&&clearTimeout(i.current)}}:{}},$n=ue,Cn=G,_n="Expected a function";function xn(e,n,r){var t=!0,i=!0;if(typeof e!="function")throw new TypeError(_n);return Cn(r)&&(t="leading"in r?!!r.leading:t,i="trailing"in r?!!r.trailing:i),$n(e,n,{leading:t,maxWait:n,trailing:i})}var An=xn;const Fn=Z(An);var Wn=function(e,n){var r=n.throttleWait,t=n.throttleLeading,i=n.throttleTrailing,a=m.useRef(void 0),s={};return t!==void 0&&(s.leading=t),i!==void 0&&(s.trailing=i),m.useEffect(function(){if(r){var o=e.runAsync.bind(e);return a.current=Fn(function(f){f()},r,s),e.runAsync=function(){for(var f=[],c=0;c<arguments.length;c++)f[c]=arguments[c];return new Promise(function(v,u){var g;(g=a.current)===null||g===void 0||g.call(a,function(){o.apply(void 0,p([],y(f),!1)).then(v).catch(u)})})},function(){var f;e.runAsync=o,(f=a.current)===null||f===void 0||f.cancel()}}},[r,t,i]),r?{onCancel:function(){var o;(o=a.current)===null||o===void 0||o.cancel()}}:{}},Ln=function(e){m.useEffect(function(){var n=e==null?void 0:e();if(!(n&&typeof n=="object"&&typeof n.then=="function"))return n},[])},Mn=function(){var e=y(m.useState({}),2),n=e[1];return m.useCallback(function(){return n({})},[])},Nn=function(){function e(n,r,t,i){i===void 0&&(i={}),this.serviceRef=n,this.options=r,this.subscribe=t,this.initState=i,this.pluginImpls=[],this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=w(w(w({},this.state),{loading:!r.manual}),i)}return e.prototype.setState=function(n){n===void 0&&(n={}),this.state=w(w({},this.state),n),this.subscribe()},e.prototype.runPluginHandler=function(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];var i=this.pluginImpls.map(function(a){var s;return(s=a[n])===null||s===void 0?void 0:s.call.apply(s,p([a],y(r),!1))}).filter(Boolean);return Object.assign.apply(Object,p([{}],y(i),!1))},e.prototype.runAsync=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return oe(this,void 0,void 0,function(){var t,i,a,s,o,f,c,v,u,g,l,d,b,P,S,$,C,x,j,h,T;return se(this,function(R){switch(R.label){case 0:if(this.count+=1,t=this.count,i=this.runPluginHandler("onBefore",n),a=i.stopNow,s=a===void 0?!1:a,o=i.returnNow,f=o===void 0?!1:o,c=Y(i,["stopNow","returnNow"]),s)return[2,new Promise(function(){})];if(this.setState(w({loading:!0,params:n},c)),f)return[2,Promise.resolve(c.data)];(b=(d=this.options).onBefore)===null||b===void 0||b.call(d,n),R.label=1;case 1:return R.trys.push([1,3,,4]),v=this.runPluginHandler("onRequest",this.serviceRef.current,n).servicePromise,v||(v=(l=this.serviceRef).current.apply(l,p([],y(n),!1))),[4,v];case 2:return u=R.sent(),t!==this.count?[2,new Promise(function(){})]:(this.setState({data:u,error:void 0,loading:!1}),(S=(P=this.options).onSuccess)===null||S===void 0||S.call(P,u,n),this.runPluginHandler("onSuccess",u,n),(C=($=this.options).onFinally)===null||C===void 0||C.call($,n,u,void 0),t===this.count&&this.runPluginHandler("onFinally",n,u,void 0),[2,u]);case 3:if(g=R.sent(),t!==this.count)return[2,new Promise(function(){})];throw this.setState({error:g,loading:!1}),(j=(x=this.options).onError)===null||j===void 0||j.call(x,g,n),this.runPluginHandler("onError",g,n),(T=(h=this.options).onFinally)===null||T===void 0||T.call(h,n,void 0,g),t===this.count&&this.runPluginHandler("onFinally",n,void 0,g),g;case 4:return[2]}})})},e.prototype.run=function(){for(var n=this,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.runAsync.apply(this,p([],y(r),!1)).catch(function(i){n.options.onError||console.error(i)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,p([],y(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,p([],y(this.state.params||[]),!1))},e.prototype.mutate=function(n){var r=ce(n)?n(this.state.data):n;this.runPluginHandler("onMutate",r),this.setState({data:r})},e}();function Bn(e,n,r){n===void 0&&(n={}),r===void 0&&(r=[]);var t=n.manual,i=t===void 0?!1:t,a=n.ready,s=a===void 0?!0:a,o=Y(n,["manual","ready"]),f=w({manual:i,ready:s},o),c=re(e),v=Mn(),u=ne(function(){var g=r.map(function(l){var d;return(d=l==null?void 0:l.onInit)===null||d===void 0?void 0:d.call(l,f)}).filter(Boolean);return new Nn(c,f,v,Object.assign.apply(Object,p([{}],y(g),!1)))},[]);return u.options=f,u.pluginImpls=r.map(function(g){return g(u,f)}),Ln(function(){if(!i&&s){var g=u.state.params||n.defaultParams||[];u.run.apply(u,p([],y(g),!1))}}),I(function(){u.cancel()}),{loading:u.state.loading,data:u.state.data,error:u.state.error,params:u.state.params||[],cancel:E(u.cancel.bind(u)),refresh:E(u.refresh.bind(u)),refreshAsync:E(u.refreshAsync.bind(u)),run:E(u.run.bind(u)),runAsync:E(u.runAsync.bind(u)),mutate:E(u.mutate.bind(u))}}function Gn(e,n,r){return Bn(e,n,p(p([],y([]),!1),[pn,yn,wn,On,Wn,ee,be,En],!1))}export{ce as a,re as b,bn as c,le as d,Gn as e,E as f,H as g,N as i,I as u};
@@ -1,4 +1,4 @@
1
- import{r as c}from"./vendor-react-BalntB5F.js";/**
1
+ import{r as c}from"./vendor-react-FPIC4Czm.js";/**
2
2
  * @license lucide-react v0.300.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -218,4 +218,4 @@ import{r as c}from"./vendor-react-BalntB5F.js";/**
218
218
  *
219
219
  * This source code is licensed under the ISC license.
220
220
  * See the LICENSE file in the root directory of this source tree.
221
- */const h1=e("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);export{W as A,z as B,u as C,j as D,H as E,F,R as G,G as H,L as I,Z as L,B as M,U as P,K as R,_ as S,t1 as T,h1 as X,Q as a,Y as b,g as c,N as d,c1 as e,E as f,S as g,q as h,V as i,O as j,w as k,e1 as l,J as m,f as n,M as o,a1 as p,$ as q,I as r,C as s,A as t,y1 as u,D as v,b as w,P as x,T as y,X as z};
221
+ */const h1=e("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);export{W as A,z as B,q as C,j as D,H as E,V as F,A as G,D as H,L as I,Z as L,B as M,O as P,K as R,e1 as S,a1 as T,h1 as X,w as a,J as b,f as c,M as d,N as e,$ as f,I as g,c1 as h,C as i,g as j,y1 as k,G as l,F as m,U as n,t1 as o,_ as p,Q as q,Y as r,u as s,R as t,E as u,S as v,b as w,P as x,T as y,X as z};
@@ -1,4 +1,4 @@
1
- import{j as Tn,R as Ee}from"./vendor-react-BalntB5F.js";var gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Co=function(){const n=typeof document<"u"&&document.createElement("link").relList;return n&&n.supports&&n.supports("modulepreload")?"modulepreload":"preload"}(),Eo=function(e){return"/"+e},zt={},uh=function(n,t,r){let i=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.allSettled(t.map(s=>{if(s=Eo(s),s in zt)return;zt[s]=!0;const u=s.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${f}`))return;const c=document.createElement("link");if(c.rel=u?"stylesheet":Co,u||(c.as="script"),c.crossOrigin="",c.href=s,a&&c.setAttribute("nonce",a),document.head.appendChild(c),u)return new Promise((h,p)=>{c.addEventListener("load",h),c.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}function o(l){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=l,window.dispatchEvent(a),!a.defaultPrevented)throw l}return i.then(l=>{for(const a of l||[])a.status==="rejected"&&o(a.reason);return n().catch(o)})};function Nt(e){const n=[],t=String(e||"");let r=t.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=t.length,o=!0);const l=t.slice(i,r).trim();(l||!o)&&n.push(l),i=r+1,r=t.indexOf(",",i)}return n}function Ao(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const Io=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,To=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Fo={};function Rt(e,n){return(Fo.jsx?To:Io).test(e)}const Lo=/[ \t\n\f\r]/g;function Oo(e){return typeof e=="object"?e.type==="text"?Pt(e.value):!1:Pt(e)}function Pt(e){return e.replace(Lo,"")===""}class nn{constructor(n,t,r){this.normal=t,this.property=n,r&&(this.space=r)}}nn.prototype.normal={};nn.prototype.property={};nn.prototype.space=void 0;function Br(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new nn(t,r,n)}function Ke(e){return e.toLowerCase()}class le{constructor(n,t){this.attribute=t,this.property=n}}le.prototype.attribute="";le.prototype.booleanish=!1;le.prototype.boolean=!1;le.prototype.commaOrSpaceSeparated=!1;le.prototype.commaSeparated=!1;le.prototype.defined=!1;le.prototype.mustUseProperty=!1;le.prototype.number=!1;le.prototype.overloadedBoolean=!1;le.prototype.property="";le.prototype.spaceSeparated=!1;le.prototype.space=void 0;let _o=0;const M=_e(),Y=_e(),Vn=_e(),E=_e(),V=_e(),Me=_e(),ue=_e();function _e(){return 2**++_o}const Gn=Object.freeze(Object.defineProperty({__proto__:null,boolean:M,booleanish:Y,commaOrSpaceSeparated:ue,commaSeparated:Me,number:E,overloadedBoolean:Vn,spaceSeparated:V},Symbol.toStringTag,{value:"Module"})),Fn=Object.keys(Gn);class at extends le{constructor(n,t,r,i){let o=-1;if(super(n,t),Mt(this,"space",i),typeof r=="number")for(;++o<Fn.length;){const l=Fn[o];Mt(this,Fn[o],(r&Gn[l])===Gn[l])}}}at.prototype.defined=!0;function Mt(e,n,t){t&&(e[n]=t)}function $e(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const o=new at(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),n[r]=o,t[Ke(r)]=r,t[Ke(o.attribute)]=r}return new nn(n,t,e.space)}const Hr=$e({properties:{ariaActiveDescendant:null,ariaAtomic:Y,ariaAutoComplete:null,ariaBusy:Y,ariaChecked:Y,ariaColCount:E,ariaColIndex:E,ariaColSpan:E,ariaControls:V,ariaCurrent:null,ariaDescribedBy:V,ariaDetails:null,ariaDisabled:Y,ariaDropEffect:V,ariaErrorMessage:null,ariaExpanded:Y,ariaFlowTo:V,ariaGrabbed:Y,ariaHasPopup:null,ariaHidden:Y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:V,ariaLevel:E,ariaLive:null,ariaModal:Y,ariaMultiLine:Y,ariaMultiSelectable:Y,ariaOrientation:null,ariaOwns:V,ariaPlaceholder:null,ariaPosInSet:E,ariaPressed:Y,ariaReadOnly:Y,ariaRelevant:null,ariaRequired:Y,ariaRoleDescription:V,ariaRowCount:E,ariaRowIndex:E,ariaRowSpan:E,ariaSelected:Y,ariaSetSize:E,ariaSort:null,ariaValueMax:E,ariaValueMin:E,ariaValueNow:E,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function Ur(e,n){return n in e?e[n]:n}function qr(e,n){return Ur(e,n.toLowerCase())}const Do=$e({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Me,acceptCharset:V,accessKey:V,action:null,allow:null,allowFullScreen:M,allowPaymentRequest:M,allowUserMedia:M,alt:null,as:null,async:M,autoCapitalize:null,autoComplete:V,autoFocus:M,autoPlay:M,blocking:V,capture:null,charSet:null,checked:M,cite:null,className:V,cols:E,colSpan:null,content:null,contentEditable:Y,controls:M,controlsList:V,coords:E|Me,crossOrigin:null,data:null,dateTime:null,decoding:null,default:M,defer:M,dir:null,dirName:null,disabled:M,download:Vn,draggable:Y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:M,formTarget:null,headers:V,height:E,hidden:Vn,high:E,href:null,hrefLang:null,htmlFor:V,httpEquiv:V,id:null,imageSizes:null,imageSrcSet:null,inert:M,inputMode:null,integrity:null,is:null,isMap:M,itemId:null,itemProp:V,itemRef:V,itemScope:M,itemType:V,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:M,low:E,manifest:null,max:null,maxLength:E,media:null,method:null,min:null,minLength:E,multiple:M,muted:M,name:null,nonce:null,noModule:M,noValidate:M,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:M,optimum:E,pattern:null,ping:V,placeholder:null,playsInline:M,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:M,referrerPolicy:null,rel:V,required:M,reversed:M,rows:E,rowSpan:E,sandbox:V,scope:null,scoped:M,seamless:M,selected:M,shadowRootClonable:M,shadowRootDelegatesFocus:M,shadowRootMode:null,shape:null,size:E,sizes:null,slot:null,span:E,spellCheck:Y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:E,step:null,style:null,tabIndex:E,target:null,title:null,translate:null,type:null,typeMustMatch:M,useMap:null,value:Y,width:E,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:V,axis:null,background:null,bgColor:null,border:E,borderColor:null,bottomMargin:E,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:M,declare:M,event:null,face:null,frame:null,frameBorder:null,hSpace:E,leftMargin:E,link:null,longDesc:null,lowSrc:null,marginHeight:E,marginWidth:E,noResize:M,noHref:M,noShade:M,noWrap:M,object:null,profile:null,prompt:null,rev:null,rightMargin:E,rules:null,scheme:null,scrolling:Y,standby:null,summary:null,text:null,topMargin:E,valueType:null,version:null,vAlign:null,vLink:null,vSpace:E,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:M,disableRemotePlayback:M,prefix:null,property:null,results:E,security:null,unselectable:null},space:"html",transform:qr}),zo=$e({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ue,accentHeight:E,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:E,amplitude:E,arabicForm:null,ascent:E,attributeName:null,attributeType:null,azimuth:E,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:E,by:null,calcMode:null,capHeight:E,className:V,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:E,diffuseConstant:E,direction:null,display:null,dur:null,divisor:E,dominantBaseline:null,download:M,dx:null,dy:null,edgeMode:null,editable:null,elevation:E,enableBackground:null,end:null,event:null,exponent:E,externalResourcesRequired:null,fill:null,fillOpacity:E,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Me,g2:Me,glyphName:Me,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:E,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:E,horizOriginX:E,horizOriginY:E,id:null,ideographic:E,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:E,k:E,k1:E,k2:E,k3:E,k4:E,kernelMatrix:ue,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:E,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:E,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:E,overlineThickness:E,paintOrder:null,panose1:null,path:null,pathLength:E,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:V,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:E,pointsAtY:E,pointsAtZ:E,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ue,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ue,rev:ue,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ue,requiredFeatures:ue,requiredFonts:ue,requiredFormats:ue,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:E,specularExponent:E,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:E,strikethroughThickness:E,string:null,stroke:null,strokeDashArray:ue,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:E,strokeOpacity:E,strokeWidth:null,style:null,surfaceScale:E,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ue,tabIndex:E,tableValues:null,target:null,targetX:E,targetY:E,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ue,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:E,underlineThickness:E,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:E,values:null,vAlphabetic:E,vMathematical:E,vectorEffect:null,vHanging:E,vIdeographic:E,version:null,vertAdvY:E,vertOriginX:E,vertOriginY:E,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:E,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ur}),Vr=$e({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Gr=$e({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:qr}),Wr=$e({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),No={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Ro=/[A-Z]/g,jt=/-[a-z]/g,Po=/^data[-\w.:]+$/i;function Xr(e,n){const t=Ke(n);let r=n,i=le;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Po.test(n)){if(n.charAt(4)==="-"){const o=n.slice(5).replace(jt,jo);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=n.slice(4);if(!jt.test(o)){let l=o.replace(Ro,Mo);l.charAt(0)!=="-"&&(l="-"+l),n="data"+l}}i=at}return new i(r,n)}function Mo(e){return"-"+e.toLowerCase()}function jo(e){return e.charAt(1).toUpperCase()}const Yr=Br([Hr,Do,Vr,Gr,Wr],"html"),kn=Br([Hr,zo,Vr,Gr,Wr],"svg");function $t(e){const n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function $o(e){return e.join(" ").trim()}var st={},Bt=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Bo=/\n/g,Ho=/^\s*/,Uo=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,qo=/^:\s*/,Vo=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Go=/^[;\s]*/,Wo=/^\s+|\s+$/g,Xo=`
1
+ import{j as Tn,W as Ee}from"./vendor-react-FPIC4Czm.js";var gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Co=function(){const n=typeof document<"u"&&document.createElement("link").relList;return n&&n.supports&&n.supports("modulepreload")?"modulepreload":"preload"}(),Eo=function(e){return"/"+e},zt={},uh=function(n,t,r){let i=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.allSettled(t.map(s=>{if(s=Eo(s),s in zt)return;zt[s]=!0;const u=s.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${f}`))return;const c=document.createElement("link");if(c.rel=u?"stylesheet":Co,u||(c.as="script"),c.crossOrigin="",c.href=s,a&&c.setAttribute("nonce",a),document.head.appendChild(c),u)return new Promise((h,p)=>{c.addEventListener("load",h),c.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}function o(l){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=l,window.dispatchEvent(a),!a.defaultPrevented)throw l}return i.then(l=>{for(const a of l||[])a.status==="rejected"&&o(a.reason);return n().catch(o)})};function Nt(e){const n=[],t=String(e||"");let r=t.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=t.length,o=!0);const l=t.slice(i,r).trim();(l||!o)&&n.push(l),i=r+1,r=t.indexOf(",",i)}return n}function Ao(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const Io=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,To=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Fo={};function Rt(e,n){return(Fo.jsx?To:Io).test(e)}const Lo=/[ \t\n\f\r]/g;function Oo(e){return typeof e=="object"?e.type==="text"?Pt(e.value):!1:Pt(e)}function Pt(e){return e.replace(Lo,"")===""}class nn{constructor(n,t,r){this.normal=t,this.property=n,r&&(this.space=r)}}nn.prototype.normal={};nn.prototype.property={};nn.prototype.space=void 0;function Br(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new nn(t,r,n)}function Ke(e){return e.toLowerCase()}class le{constructor(n,t){this.attribute=t,this.property=n}}le.prototype.attribute="";le.prototype.booleanish=!1;le.prototype.boolean=!1;le.prototype.commaOrSpaceSeparated=!1;le.prototype.commaSeparated=!1;le.prototype.defined=!1;le.prototype.mustUseProperty=!1;le.prototype.number=!1;le.prototype.overloadedBoolean=!1;le.prototype.property="";le.prototype.spaceSeparated=!1;le.prototype.space=void 0;let _o=0;const M=_e(),Y=_e(),Vn=_e(),E=_e(),V=_e(),Me=_e(),ue=_e();function _e(){return 2**++_o}const Gn=Object.freeze(Object.defineProperty({__proto__:null,boolean:M,booleanish:Y,commaOrSpaceSeparated:ue,commaSeparated:Me,number:E,overloadedBoolean:Vn,spaceSeparated:V},Symbol.toStringTag,{value:"Module"})),Fn=Object.keys(Gn);class at extends le{constructor(n,t,r,i){let o=-1;if(super(n,t),Mt(this,"space",i),typeof r=="number")for(;++o<Fn.length;){const l=Fn[o];Mt(this,Fn[o],(r&Gn[l])===Gn[l])}}}at.prototype.defined=!0;function Mt(e,n,t){t&&(e[n]=t)}function $e(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const o=new at(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),n[r]=o,t[Ke(r)]=r,t[Ke(o.attribute)]=r}return new nn(n,t,e.space)}const Hr=$e({properties:{ariaActiveDescendant:null,ariaAtomic:Y,ariaAutoComplete:null,ariaBusy:Y,ariaChecked:Y,ariaColCount:E,ariaColIndex:E,ariaColSpan:E,ariaControls:V,ariaCurrent:null,ariaDescribedBy:V,ariaDetails:null,ariaDisabled:Y,ariaDropEffect:V,ariaErrorMessage:null,ariaExpanded:Y,ariaFlowTo:V,ariaGrabbed:Y,ariaHasPopup:null,ariaHidden:Y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:V,ariaLevel:E,ariaLive:null,ariaModal:Y,ariaMultiLine:Y,ariaMultiSelectable:Y,ariaOrientation:null,ariaOwns:V,ariaPlaceholder:null,ariaPosInSet:E,ariaPressed:Y,ariaReadOnly:Y,ariaRelevant:null,ariaRequired:Y,ariaRoleDescription:V,ariaRowCount:E,ariaRowIndex:E,ariaRowSpan:E,ariaSelected:Y,ariaSetSize:E,ariaSort:null,ariaValueMax:E,ariaValueMin:E,ariaValueNow:E,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function Ur(e,n){return n in e?e[n]:n}function qr(e,n){return Ur(e,n.toLowerCase())}const Do=$e({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Me,acceptCharset:V,accessKey:V,action:null,allow:null,allowFullScreen:M,allowPaymentRequest:M,allowUserMedia:M,alt:null,as:null,async:M,autoCapitalize:null,autoComplete:V,autoFocus:M,autoPlay:M,blocking:V,capture:null,charSet:null,checked:M,cite:null,className:V,cols:E,colSpan:null,content:null,contentEditable:Y,controls:M,controlsList:V,coords:E|Me,crossOrigin:null,data:null,dateTime:null,decoding:null,default:M,defer:M,dir:null,dirName:null,disabled:M,download:Vn,draggable:Y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:M,formTarget:null,headers:V,height:E,hidden:Vn,high:E,href:null,hrefLang:null,htmlFor:V,httpEquiv:V,id:null,imageSizes:null,imageSrcSet:null,inert:M,inputMode:null,integrity:null,is:null,isMap:M,itemId:null,itemProp:V,itemRef:V,itemScope:M,itemType:V,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:M,low:E,manifest:null,max:null,maxLength:E,media:null,method:null,min:null,minLength:E,multiple:M,muted:M,name:null,nonce:null,noModule:M,noValidate:M,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:M,optimum:E,pattern:null,ping:V,placeholder:null,playsInline:M,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:M,referrerPolicy:null,rel:V,required:M,reversed:M,rows:E,rowSpan:E,sandbox:V,scope:null,scoped:M,seamless:M,selected:M,shadowRootClonable:M,shadowRootDelegatesFocus:M,shadowRootMode:null,shape:null,size:E,sizes:null,slot:null,span:E,spellCheck:Y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:E,step:null,style:null,tabIndex:E,target:null,title:null,translate:null,type:null,typeMustMatch:M,useMap:null,value:Y,width:E,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:V,axis:null,background:null,bgColor:null,border:E,borderColor:null,bottomMargin:E,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:M,declare:M,event:null,face:null,frame:null,frameBorder:null,hSpace:E,leftMargin:E,link:null,longDesc:null,lowSrc:null,marginHeight:E,marginWidth:E,noResize:M,noHref:M,noShade:M,noWrap:M,object:null,profile:null,prompt:null,rev:null,rightMargin:E,rules:null,scheme:null,scrolling:Y,standby:null,summary:null,text:null,topMargin:E,valueType:null,version:null,vAlign:null,vLink:null,vSpace:E,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:M,disableRemotePlayback:M,prefix:null,property:null,results:E,security:null,unselectable:null},space:"html",transform:qr}),zo=$e({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ue,accentHeight:E,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:E,amplitude:E,arabicForm:null,ascent:E,attributeName:null,attributeType:null,azimuth:E,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:E,by:null,calcMode:null,capHeight:E,className:V,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:E,diffuseConstant:E,direction:null,display:null,dur:null,divisor:E,dominantBaseline:null,download:M,dx:null,dy:null,edgeMode:null,editable:null,elevation:E,enableBackground:null,end:null,event:null,exponent:E,externalResourcesRequired:null,fill:null,fillOpacity:E,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Me,g2:Me,glyphName:Me,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:E,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:E,horizOriginX:E,horizOriginY:E,id:null,ideographic:E,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:E,k:E,k1:E,k2:E,k3:E,k4:E,kernelMatrix:ue,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:E,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:E,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:E,overlineThickness:E,paintOrder:null,panose1:null,path:null,pathLength:E,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:V,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:E,pointsAtY:E,pointsAtZ:E,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ue,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ue,rev:ue,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ue,requiredFeatures:ue,requiredFonts:ue,requiredFormats:ue,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:E,specularExponent:E,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:E,strikethroughThickness:E,string:null,stroke:null,strokeDashArray:ue,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:E,strokeOpacity:E,strokeWidth:null,style:null,surfaceScale:E,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ue,tabIndex:E,tableValues:null,target:null,targetX:E,targetY:E,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ue,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:E,underlineThickness:E,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:E,values:null,vAlphabetic:E,vMathematical:E,vectorEffect:null,vHanging:E,vIdeographic:E,version:null,vertAdvY:E,vertOriginX:E,vertOriginY:E,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:E,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ur}),Vr=$e({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Gr=$e({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:qr}),Wr=$e({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),No={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Ro=/[A-Z]/g,jt=/-[a-z]/g,Po=/^data[-\w.:]+$/i;function Xr(e,n){const t=Ke(n);let r=n,i=le;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Po.test(n)){if(n.charAt(4)==="-"){const o=n.slice(5).replace(jt,jo);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=n.slice(4);if(!jt.test(o)){let l=o.replace(Ro,Mo);l.charAt(0)!=="-"&&(l="-"+l),n="data"+l}}i=at}return new i(r,n)}function Mo(e){return"-"+e.toLowerCase()}function jo(e){return e.charAt(1).toUpperCase()}const Yr=Br([Hr,Do,Vr,Gr,Wr],"html"),kn=Br([Hr,zo,Vr,Gr,Wr],"svg");function $t(e){const n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function $o(e){return e.join(" ").trim()}var st={},Bt=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Bo=/\n/g,Ho=/^\s*/,Uo=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,qo=/^:\s*/,Vo=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Go=/^[;\s]*/,Wo=/^\s+|\s+$/g,Xo=`
2
2
  `,Ht="/",Ut="*",Le="",Yo="comment",Ko="declaration";function Zo(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,r=1;function i(g){var b=g.match(Bo);b&&(t+=b.length);var w=g.lastIndexOf(Xo);r=~w?g.length-w:r+g.length}function o(){var g={line:t,column:r};return function(b){return b.position=new l(g),u(),b}}function l(g){this.start=g,this.end={line:t,column:r},this.source=n.source}l.prototype.content=e;function a(g){var b=new Error(n.source+":"+t+":"+r+": "+g);if(b.reason=g,b.filename=n.source,b.line=t,b.column=r,b.source=e,!n.silent)throw b}function s(g){var b=g.exec(e);if(b){var w=b[0];return i(w),e=e.slice(w.length),b}}function u(){s(Ho)}function f(g){var b;for(g=g||[];b=c();)b!==!1&&g.push(b);return g}function c(){var g=o();if(!(Ht!=e.charAt(0)||Ut!=e.charAt(1))){for(var b=2;Le!=e.charAt(b)&&(Ut!=e.charAt(b)||Ht!=e.charAt(b+1));)++b;if(b+=2,Le===e.charAt(b-1))return a("End of comment missing");var w=e.slice(2,b-2);return r+=2,i(w),e=e.slice(b),r+=2,g({type:Yo,comment:w})}}function h(){var g=o(),b=s(Uo);if(b){if(c(),!s(qo))return a("property missing ':'");var w=s(Vo),y=g({type:Ko,property:qt(b[0].replace(Bt,Le)),value:w?qt(w[0].replace(Bt,Le)):Le});return s(Go),y}}function p(){var g=[];f(g);for(var b;b=h();)b!==!1&&(g.push(b),f(g));return g}return u(),p()}function qt(e){return e?e.replace(Wo,Le):Le}var Qo=Zo,Jo=gn&&gn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(st,"__esModule",{value:!0});st.default=nl;const el=Jo(Qo);function nl(e,n){let t=null;if(!e||typeof e!="string")return t;const r=(0,el.default)(e),i=typeof n=="function";return r.forEach(o=>{if(o.type!=="declaration")return;const{property:l,value:a}=o;i?n(l,a,o):a&&(t=t||{},t[l]=a)}),t}var xn={};Object.defineProperty(xn,"__esModule",{value:!0});xn.camelCase=void 0;var tl=/^--[a-zA-Z0-9_-]+$/,rl=/-([a-z])/g,il=/^[^-]+$/,ol=/^-(webkit|moz|ms|o|khtml)-/,ll=/^-(ms)-/,al=function(e){return!e||il.test(e)||tl.test(e)},sl=function(e,n){return n.toUpperCase()},Vt=function(e,n){return"".concat(n,"-")},ul=function(e,n){return n===void 0&&(n={}),al(e)?e:(e=e.toLowerCase(),n.reactCompat?e=e.replace(ll,Vt):e=e.replace(ol,Vt),e.replace(rl,sl))};xn.camelCase=ul;var cl=gn&&gn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},fl=cl(st),pl=xn;function Wn(e,n){var t={};return!e||typeof e!="string"||(0,fl.default)(e,function(r,i){r&&i&&(t[(0,pl.camelCase)(r,n)]=i)}),t}Wn.default=Wn;var hl=Wn;const gl=$r(hl),Kr=Zr("end"),ut=Zr("start");function Zr(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function dl(e){const n=ut(e),t=Kr(e);if(n&&t)return{start:n,end:t}}function Ge(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Gt(e.position):"start"in e||"end"in e?Gt(e):"line"in e||"column"in e?Xn(e):""}function Xn(e){return Wt(e&&e.line)+":"+Wt(e&&e.column)}function Gt(e){return Xn(e&&e.start)+"-"+Xn(e&&e.end)}function Wt(e){return e&&typeof e=="number"?e:1}class te extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",o={},l=!1;if(t&&("line"in t&&"column"in t?o={place:t}:"start"in t&&"end"in t?o={place:t}:"type"in t?o={ancestors:[t],place:t.position}:o={...t}),typeof n=="string"?i=n:!o.cause&&n&&(l=!0,i=n.message,o.cause=n),!o.ruleId&&!o.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?o.ruleId=r:(o.source=r.slice(0,s),o.ruleId=r.slice(s+1))}if(!o.place&&o.ancestors&&o.ancestors){const s=o.ancestors[o.ancestors.length-1];s&&(o.place=s.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=Ge(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}te.prototype.file="";te.prototype.name="";te.prototype.reason="";te.prototype.message="";te.prototype.stack="";te.prototype.column=void 0;te.prototype.line=void 0;te.prototype.ancestors=void 0;te.prototype.cause=void 0;te.prototype.fatal=void 0;te.prototype.place=void 0;te.prototype.ruleId=void 0;te.prototype.source=void 0;const ct={}.hasOwnProperty,ml=new Map,yl=/[A-Z]/g,bl=new Set(["table","tbody","thead","tfoot","tr"]),kl=new Set(["td","th"]),Qr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function xl(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Tl(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Il(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?kn:Yr,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},o=Jr(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function Jr(e,n,t){if(n.type==="element")return wl(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return Sl(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return Cl(e,n,t);if(n.type==="mdxjsEsm")return vl(e,n);if(n.type==="root")return El(e,n,t);if(n.type==="text")return Al(e,n)}function wl(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=kn,e.schema=i),e.ancestors.push(n);const o=ni(e,n.tagName,!1),l=Fl(e,n);let a=pt(e,n);return bl.has(n.tagName)&&(a=a.filter(function(s){return typeof s=="string"?!Oo(s):!0})),ei(e,l,o,n),ft(l,a),e.ancestors.pop(),e.schema=r,e.create(n,o,l,t)}function Sl(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ze(e,n.position)}function vl(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);Ze(e,n.position)}function Cl(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=kn,e.schema=i),e.ancestors.push(n);const o=n.name===null?e.Fragment:ni(e,n.name,!0),l=Ll(e,n),a=pt(e,n);return ei(e,l,o,n),ft(l,a),e.ancestors.pop(),e.schema=r,e.create(n,o,l,t)}function El(e,n,t){const r={};return ft(r,pt(e,n)),e.create(n,e.Fragment,r,t)}function Al(e,n){return n.value}function ei(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function ft(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function Il(e,n,t){return r;function r(i,o,l,a){const u=Array.isArray(l.children)?t:n;return a?u(o,l,a):u(o,l)}}function Tl(e,n){return t;function t(r,i,o,l){const a=Array.isArray(o.children),s=ut(r);return n(i,o,l,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function Fl(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&ct.call(n.properties,i)){const o=Ol(e,i,n.properties[i]);if(o){const[l,a]=o;e.tableCellAlignToStyle&&l==="align"&&typeof a=="string"&&kl.has(n.tagName)?r=a:t[l]=a}}if(r){const o=t.style||(t.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function Ll(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const a=l.properties[0];a.type,Object.assign(t,e.evaluater.evaluateExpression(a.argument))}else Ze(e,n.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else Ze(e,n.position);else o=r.value===null?!0:r.value;t[i]=o}return t}function pt(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:ml;for(;++r<n.children.length;){const o=n.children[r];let l;if(e.passKeys){const s=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(s){const u=i.get(s)||0;l=s+"-"+u,i.set(s,u+1)}}const a=Jr(e,o,l);a!==void 0&&t.push(a)}return t}function Ol(e,n,t){const r=Xr(e.schema,n);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?Ao(t):$o(t)),r.property==="style"){let i=typeof t=="object"?t:_l(e,String(t));return e.stylePropertyNameCase==="css"&&(i=Dl(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?No[r.property]||r.property:r.attribute,t]}}function _l(e,n){try{return gl(n,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const r=t,i=new te("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Qr+"#cannot-parse-style-attribute",i}}function ni(e,n,t){let r;if(!t)r={type:"Literal",value:n};else if(n.includes(".")){const i=n.split(".");let o=-1,l;for(;++o<i.length;){const a=Rt(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}r=l}else r=Rt(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(r.type==="Literal"){const i=r.value;return ct.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ze(e)}function Ze(e,n){const t=new te("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=Qr+"#cannot-handle-mdx-estrees-without-createevaluater",t}function Dl(e){const n={};let t;for(t in e)ct.call(e,t)&&(n[zl(t)]=e[t]);return n}function zl(e){let n=e.replace(yl,Nl);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function Nl(e){return"-"+e.toLowerCase()}const Ln={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Rl={};function ht(e,n){const t=Rl,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return ti(e,r,i)}function ti(e,n,t){if(Pl(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Xt(e.children,n,t)}return Array.isArray(e)?Xt(e,n,t):""}function Xt(e,n,t){const r=[];let i=-1;for(;++i<e.length;)r[i]=ti(e[i],n,t);return r.join("")}function Pl(e){return!!(e&&typeof e=="object")}const Yt=document.createElement("i");function Qe(e){const n="&"+e+";";Yt.innerHTML=n;const t=Yt.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}function ce(e,n,t,r){const i=e.length;let o=0,l;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)l=Array.from(r),l.unshift(n,t),e.splice(...l);else for(t&&e.splice(n,t);o<r.length;)l=r.slice(o,o+1e4),l.unshift(n,0),e.splice(...l),o+=1e4,n+=1e4}function pe(e,n){return e.length>0?(ce(e,e.length,0,n),e):n}const Kt={}.hasOwnProperty;function ri(e){const n={};let t=-1;for(;++t<e.length;)Ml(n,e[t]);return n}function Ml(e,n){let t;for(t in n){const i=(Kt.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let l;if(o)for(l in o){Kt.call(i,l)||(i[l]=[]);const a=o[l];jl(i[l],Array.isArray(a)?a:a?[a]:[])}}}function jl(e,n){let t=-1;const r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);ce(e,0,0,r)}function ii(e,n){const t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function ge(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const re=Ie(/[A-Za-z]/),ne=Ie(/[\dA-Za-z]/),$l=Ie(/[#-'*+\--9=?A-Z^-~]/);function dn(e){return e!==null&&(e<32||e===127)}const Yn=Ie(/\d/),Bl=Ie(/[\dA-Fa-f]/),Hl=Ie(/[!-/:-@[-`{-~]/);function D(e){return e!==null&&e<-2}function q(e){return e!==null&&(e<0||e===32)}function $(e){return e===-2||e===-1||e===32}const wn=Ie(new RegExp("\\p{P}|\\p{S}","u")),Oe=Ie(/\s/);function Ie(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Be(e){const n=[];let t=-1,r=0,i=0;for(;++t<e.length;){const o=e.charCodeAt(t);let l="";if(o===37&&ne(e.charCodeAt(t+1))&&ne(e.charCodeAt(t+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(t+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+i+1,l=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function H(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return $(s)?(e.enter(t),a(s)):n(s)}function a(s){return $(s)&&o++<i?(e.consume(s),a):(e.exit(t),n(s))}}const Ul={tokenize:ql};function ql(e){const n=e.attempt(this.parser.constructs.contentInitial,r,i);let t;return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),H(e,n,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){const s=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,l(a)}function l(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return D(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}const Vl={tokenize:Gl},Zt={tokenize:Wl};function Gl(e){const n=this,t=[];let r=0,i,o,l;return a;function a(v){if(r<t.length){const T=t[r];return n.containerState=T[1],e.attempt(T[0].continuation,s,u)(v)}return u(v)}function s(v){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,i&&C();const T=n.events.length;let O=T,x;for(;O--;)if(n.events[O][0]==="exit"&&n.events[O][1].type==="chunkFlow"){x=n.events[O][1].end;break}y(r);let _=T;for(;_<n.events.length;)n.events[_][1].end={...x},_++;return ce(n.events,O+1,0,n.events.slice(T)),n.events.length=_,u(v)}return a(v)}function u(v){if(r===t.length){if(!i)return h(v);if(i.currentConstruct&&i.currentConstruct.concrete)return g(v);n.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(Zt,f,c)(v)}function f(v){return i&&C(),y(r),h(v)}function c(v){return n.parser.lazy[n.now().line]=r!==t.length,l=n.now().offset,g(v)}function h(v){return n.containerState={},e.attempt(Zt,p,g)(v)}function p(v){return r++,t.push([n.currentConstruct,n.containerState]),h(v)}function g(v){if(v===null){i&&C(),y(0),e.consume(v);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),b(v)}function b(v){if(v===null){w(e.exit("chunkFlow"),!0),y(0),e.consume(v);return}return D(v)?(e.consume(v),w(e.exit("chunkFlow")),r=0,n.interrupt=void 0,a):(e.consume(v),b)}function w(v,T){const O=n.sliceStream(v);if(T&&O.push(null),v.previous=o,o&&(o.next=v),o=v,i.defineSkip(v.start),i.write(O),n.parser.lazy[v.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<l&&(!i.events[x][1].end||i.events[x][1].end.offset>l))return;const _=n.events.length;let z=_,N,k;for(;z--;)if(n.events[z][0]==="exit"&&n.events[z][1].type==="chunkFlow"){if(N){k=n.events[z][1].end;break}N=!0}for(y(r),x=_;x<n.events.length;)n.events[x][1].end={...k},x++;ce(n.events,z+1,0,n.events.slice(_)),n.events.length=x}}function y(v){let T=t.length;for(;T-- >v;){const O=t[T];n.containerState=O[1],O[0].exit.call(n,e)}t.length=v}function C(){i.write([null]),o=void 0,i=void 0,n.containerState._closeFlow=void 0}}function Wl(e,n,t){return H(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function je(e){if(e===null||q(e)||Oe(e))return 1;if(wn(e))return 2}function Sn(e,n,t){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(n=o(n,t),r.push(o))}return n}const Kn={name:"attention",resolveAll:Xl,tokenize:Yl};function Xl(e,n){let t=-1,r,i,o,l,a,s,u,f;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const c={...e[r][1].end},h={...e[t][1].start};Qt(c,-s),Qt(h,s),l={type:s>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:h},o={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[t][1].start}},i={type:s>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},e[r][1].end={...l.start},e[t][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=pe(u,[["enter",e[r][1],n],["exit",e[r][1],n]])),u=pe(u,[["enter",i,n],["enter",l,n],["exit",l,n],["enter",o,n]]),u=pe(u,Sn(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),u=pe(u,[["exit",o,n],["enter",a,n],["exit",a,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(f=2,u=pe(u,[["enter",e[t][1],n],["exit",e[t][1],n]])):f=0,ce(e,r-1,t-r+3,u),t=r+u.length-f-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function Yl(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=je(r);let o;return l;function l(s){return o=s,e.enter("attentionSequence"),a(s)}function a(s){if(s===o)return e.consume(s),a;const u=e.exit("attentionSequence"),f=je(s),c=!f||f===2&&i||t.includes(s),h=!i||i===2&&f||t.includes(r);return u._open=!!(o===42?c:c&&(i||!h)),u._close=!!(o===42?h:h&&(f||!c)),n(s)}}function Qt(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const Kl={name:"autolink",tokenize:Zl};function Zl(e,n,t){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return re(p)?(e.consume(p),l):p===64?t(p):u(p)}function l(p){return p===43||p===45||p===46||ne(p)?(r=1,a(p)):u(p)}function a(p){return p===58?(e.consume(p),r=0,s):(p===43||p===45||p===46||ne(p))&&r++<32?(e.consume(p),a):(r=0,u(p))}function s(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):p===null||p===32||p===60||dn(p)?t(p):(e.consume(p),s)}function u(p){return p===64?(e.consume(p),f):$l(p)?(e.consume(p),u):t(p)}function f(p){return ne(p)?c(p):t(p)}function c(p){return p===46?(e.consume(p),r=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):h(p)}function h(p){if((p===45||ne(p))&&r++<63){const g=p===45?h:c;return e.consume(p),g}return t(p)}}const tn={partial:!0,tokenize:Ql};function Ql(e,n,t){return r;function r(o){return $(o)?H(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||D(o)?n(o):t(o)}}const oi={continuation:{tokenize:ea},exit:na,name:"blockQuote",tokenize:Jl};function Jl(e,n,t){const r=this;return i;function i(l){if(l===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return t(l)}function o(l){return $(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(l))}}function ea(e,n,t){const r=this;return i;function i(l){return $(l)?H(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(oi,n,t)(l)}}function na(e){e.exit("blockQuote")}const li={name:"characterEscape",tokenize:ta};function ta(e,n,t){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return Hl(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(o)}}const ai={name:"characterReference",tokenize:ra};function ra(e,n,t){const r=this;let i=0,o,l;return a;function a(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),s}function s(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,l=ne,f(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=Bl,f):(e.enter("characterReferenceValue"),o=7,l=Yn,f(c))}function f(c){if(c===59&&i){const h=e.exit("characterReferenceValue");return l===ne&&!Qe(r.sliceSerialize(h))?t(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return l(c)&&i++<o?(e.consume(c),f):t(c)}}const Jt={partial:!0,tokenize:oa},er={concrete:!0,name:"codeFenced",tokenize:ia};function ia(e,n,t){const r=this,i={partial:!0,tokenize:O};let o=0,l=0,a;return s;function s(x){return u(x)}function u(x){const _=r.events[r.events.length-1];return o=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,a=x,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(x)}function f(x){return x===a?(l++,e.consume(x),f):l<3?t(x):(e.exit("codeFencedFenceSequence"),$(x)?H(e,c,"whitespace")(x):c(x))}function c(x){return x===null||D(x)?(e.exit("codeFencedFence"),r.interrupt?n(x):e.check(Jt,b,T)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(x))}function h(x){return x===null||D(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(x)):$(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),H(e,p,"whitespace")(x)):x===96&&x===a?t(x):(e.consume(x),h)}function p(x){return x===null||D(x)?c(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===null||D(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(x)):x===96&&x===a?t(x):(e.consume(x),g)}function b(x){return e.attempt(i,T,w)(x)}function w(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),y}function y(x){return o>0&&$(x)?H(e,C,"linePrefix",o+1)(x):C(x)}function C(x){return x===null||D(x)?e.check(Jt,b,T)(x):(e.enter("codeFlowValue"),v(x))}function v(x){return x===null||D(x)?(e.exit("codeFlowValue"),C(x)):(e.consume(x),v)}function T(x){return e.exit("codeFenced"),n(x)}function O(x,_,z){let N=0;return k;function k(P){return x.enter("lineEnding"),x.consume(P),x.exit("lineEnding"),I}function I(P){return x.enter("codeFencedFence"),$(P)?H(x,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):F(P)}function F(P){return P===a?(x.enter("codeFencedFenceSequence"),L(P)):z(P)}function L(P){return P===a?(N++,x.consume(P),L):N>=l?(x.exit("codeFencedFenceSequence"),$(P)?H(x,j,"whitespace")(P):j(P)):z(P)}function j(P){return P===null||D(P)?(x.exit("codeFencedFence"),_(P)):z(P)}}}function oa(e,n,t){const r=this;return i;function i(l){return l===null?t(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?t(l):n(l)}}const On={name:"codeIndented",tokenize:aa},la={partial:!0,tokenize:sa};function aa(e,n,t){const r=this;return i;function i(u){return e.enter("codeIndented"),H(e,o,"linePrefix",5)(u)}function o(u){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(u):t(u)}function l(u){return u===null?s(u):D(u)?e.attempt(la,l,s)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||D(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),a)}function s(u){return e.exit("codeIndented"),n(u)}}function sa(e,n,t){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?t(l):D(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):H(e,o,"linePrefix",5)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(l):D(l)?i(l):t(l)}}const ua={name:"codeText",previous:fa,resolve:ca,tokenize:pa};function ca(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),n-=r-i-2,r=i+2),i=void 0);return e}function fa(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function pa(e,n,t){let r=0,i,o;return l;function l(c){return e.enter("codeText"),e.enter("codeTextSequence"),a(c)}function a(c){return c===96?(e.consume(c),r++,a):(e.exit("codeTextSequence"),s(c))}function s(c){return c===null?t(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),s):c===96?(o=e.enter("codeTextSequence"),i=0,f(c)):D(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(c))}function u(c){return c===null||c===32||c===96||D(c)?(e.exit("codeTextData"),s(c)):(e.consume(c),u)}function f(c){return c===96?(e.consume(c),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(c)):(o.type="codeTextData",u(c))}}class ha{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,t){const r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(n,r):n>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(n,t,r){const i=t||0;this.setCursor(Math.trunc(n));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&qe(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),qe(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),qe(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const t=this.left.splice(n,Number.POSITIVE_INFINITY);qe(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);qe(this.left,t.reverse())}}}function qe(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}function si(e){const n={};let t=-1,r,i,o,l,a,s,u;const f=new ha(e);for(;++t<f.length;){for(;t in n;)t=n[t];if(r=f.get(t),t&&r[1].type==="chunkFlow"&&f.get(t-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,o=0,o<s.length&&s[o][1].type==="lineEndingBlank"&&(o+=2),o<s.length&&s[o][1].type==="content"))for(;++o<s.length&&s[o][1].type!=="content";)s[o][1].type==="chunkText"&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,ga(f,t)),t=n[t],u=!0);else if(r[1]._container){for(o=t,i=void 0;o--;)if(l=f.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},a=f.slice(i,t),a.unshift(r),f.splice(i,t-i+1,a))}}return ce(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!u}function ga(e,n){const t=e.get(n)[1],r=e.get(n)[2];let i=n-1;const o=[];let l=t._tokenizer;l||(l=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,s=[],u={};let f,c,h=-1,p=t,g=0,b=0;const w=[b];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),c&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),c=p,p=p.next}for(p=t;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(b=h+1,w.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):w.pop(),h=w.length;h--;){const y=a.slice(w[h],w[h+1]),C=o.pop();s.push([C,C+y.length-1]),e.splice(C,2,y)}for(s.reverse(),h=-1;++h<s.length;)u[g+s[h][0]]=g+s[h][1],g+=s[h][1]-s[h][0]-1;return u}const da={resolve:ya,tokenize:ba},ma={partial:!0,tokenize:ka};function ya(e){return si(e),e}function ba(e,n){let t;return r;function r(a){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):D(a)?e.check(ma,l,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),n(a)}function l(a){return e.consume(a),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function ka(e,n,t){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),H(e,o,"linePrefix")}function o(l){if(l===null||D(l))return t(l);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(l):e.interrupt(r.parser.constructs.flow,t,n)(l)}}function ui(e,n,t,r,i,o,l,a,s){const u=s||Number.POSITIVE_INFINITY;let f=0;return c;function c(y){return y===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(y),e.exit(o),h):y===null||y===32||y===41||dn(y)?t(y):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),b(y))}function h(y){return y===62?(e.enter(o),e.consume(y),e.exit(o),e.exit(i),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(a),h(y)):y===null||y===60||D(y)?t(y):(e.consume(y),y===92?g:p)}function g(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function b(y){return!f&&(y===null||y===41||q(y))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),n(y)):f<u&&y===40?(e.consume(y),f++,b):y===41?(e.consume(y),f--,b):y===null||y===32||y===40||dn(y)?t(y):(e.consume(y),y===92?w:b)}function w(y){return y===40||y===41||y===92?(e.consume(y),b):b(y)}}function ci(e,n,t,r,i,o){const l=this;let a=0,s;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),f}function f(p){return a>999||p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?t(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):D(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===null||p===91||p===93||D(p)||a++>999?(e.exit("chunkString"),f(p)):(e.consume(p),s||(s=!$(p)),p===92?h:c)}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,c):c(p)}}function fi(e,n,t,r,i,o){let l;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),l=h===40?41:h,s):t(h)}function s(h){return h===l?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),n):(e.enter(o),u(h))}function u(h){return h===l?(e.exit(o),s(l)):h===null?t(h):D(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),H(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===l||h===null||D(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?c:f)}function c(h){return h===l||h===92?(e.consume(h),f):f(h)}}function We(e,n){let t;return r;function r(i){return D(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):$(i)?H(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const xa={name:"definition",tokenize:Sa},wa={partial:!0,tokenize:va};function Sa(e,n,t){const r=this;let i;return o;function o(p){return e.enter("definition"),l(p)}function l(p){return ci.call(r,e,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=ge(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):t(p)}function s(p){return q(p)?We(e,u)(p):u(p)}function u(p){return ui(e,f,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(wa,c,c)(p)}function c(p){return $(p)?H(e,h,"whitespace")(p):h(p)}function h(p){return p===null||D(p)?(e.exit("definition"),r.parser.defined.push(i),n(p)):t(p)}}function va(e,n,t){return r;function r(a){return q(a)?We(e,i)(a):t(a)}function i(a){return fi(e,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return $(a)?H(e,l,"whitespace")(a):l(a)}function l(a){return a===null||D(a)?n(a):t(a)}}const Ca={name:"hardBreakEscape",tokenize:Ea};function Ea(e,n,t){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return D(o)?(e.exit("hardBreakEscape"),n(o)):t(o)}}const Aa={name:"headingAtx",resolve:Ia,tokenize:Ta};function Ia(e,n){let t=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},o={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},ce(e,r,t-r+1,[["enter",i,n],["enter",o,n],["exit",o,n],["exit",i,n]])),e}function Ta(e,n,t){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||q(f)?(e.exit("atxHeadingSequence"),a(f)):t(f)}function a(f){return f===35?(e.enter("atxHeadingSequence"),s(f)):f===null||D(f)?(e.exit("atxHeading"),n(f)):$(f)?H(e,a,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function s(f){return f===35?(e.consume(f),s):(e.exit("atxHeadingSequence"),a(f))}function u(f){return f===null||f===35||q(f)?(e.exit("atxHeadingText"),a(f)):(e.consume(f),u)}}const Fa=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],nr=["pre","script","style","textarea"],La={concrete:!0,name:"htmlFlow",resolveTo:Da,tokenize:za},Oa={partial:!0,tokenize:Ra},_a={partial:!0,tokenize:Na};function Da(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function za(e,n,t){const r=this;let i,o,l,a,s;return u;function u(m){return f(m)}function f(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),c}function c(m){return m===33?(e.consume(m),h):m===47?(e.consume(m),o=!0,b):m===63?(e.consume(m),i=3,r.interrupt?n:d):re(m)?(e.consume(m),l=String.fromCharCode(m),w):t(m)}function h(m){return m===45?(e.consume(m),i=2,p):m===91?(e.consume(m),i=5,a=0,g):re(m)?(e.consume(m),i=4,r.interrupt?n:d):t(m)}function p(m){return m===45?(e.consume(m),r.interrupt?n:d):t(m)}function g(m){const ae="CDATA[";return m===ae.charCodeAt(a++)?(e.consume(m),a===ae.length?r.interrupt?n:F:g):t(m)}function b(m){return re(m)?(e.consume(m),l=String.fromCharCode(m),w):t(m)}function w(m){if(m===null||m===47||m===62||q(m)){const ae=m===47,de=l.toLowerCase();return!ae&&!o&&nr.includes(de)?(i=1,r.interrupt?n(m):F(m)):Fa.includes(l.toLowerCase())?(i=6,ae?(e.consume(m),y):r.interrupt?n(m):F(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(m):o?C(m):v(m))}return m===45||ne(m)?(e.consume(m),l+=String.fromCharCode(m),w):t(m)}function y(m){return m===62?(e.consume(m),r.interrupt?n:F):t(m)}function C(m){return $(m)?(e.consume(m),C):k(m)}function v(m){return m===47?(e.consume(m),k):m===58||m===95||re(m)?(e.consume(m),T):$(m)?(e.consume(m),v):k(m)}function T(m){return m===45||m===46||m===58||m===95||ne(m)?(e.consume(m),T):O(m)}function O(m){return m===61?(e.consume(m),x):$(m)?(e.consume(m),O):v(m)}function x(m){return m===null||m===60||m===61||m===62||m===96?t(m):m===34||m===39?(e.consume(m),s=m,_):$(m)?(e.consume(m),x):z(m)}function _(m){return m===s?(e.consume(m),s=null,N):m===null||D(m)?t(m):(e.consume(m),_)}function z(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||q(m)?O(m):(e.consume(m),z)}function N(m){return m===47||m===62||$(m)?v(m):t(m)}function k(m){return m===62?(e.consume(m),I):t(m)}function I(m){return m===null||D(m)?F(m):$(m)?(e.consume(m),I):t(m)}function F(m){return m===45&&i===2?(e.consume(m),W):m===60&&i===1?(e.consume(m),G):m===62&&i===4?(e.consume(m),K):m===63&&i===3?(e.consume(m),d):m===93&&i===5?(e.consume(m),ie):D(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Oa,ee,L)(m)):m===null||D(m)?(e.exit("htmlFlowData"),L(m)):(e.consume(m),F)}function L(m){return e.check(_a,j,ee)(m)}function j(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),P}function P(m){return m===null||D(m)?L(m):(e.enter("htmlFlowData"),F(m))}function W(m){return m===45?(e.consume(m),d):F(m)}function G(m){return m===47?(e.consume(m),l="",J):F(m)}function J(m){if(m===62){const ae=l.toLowerCase();return nr.includes(ae)?(e.consume(m),K):F(m)}return re(m)&&l.length<8?(e.consume(m),l+=String.fromCharCode(m),J):F(m)}function ie(m){return m===93?(e.consume(m),d):F(m)}function d(m){return m===62?(e.consume(m),K):m===45&&i===2?(e.consume(m),d):F(m)}function K(m){return m===null||D(m)?(e.exit("htmlFlowData"),ee(m)):(e.consume(m),K)}function ee(m){return e.exit("htmlFlow"),n(m)}}function Na(e,n,t){const r=this;return i;function i(l){return D(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):t(l)}function o(l){return r.parser.lazy[r.now().line]?t(l):n(l)}}function Ra(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(tn,n,t)}}const Pa={name:"htmlText",tokenize:Ma};function Ma(e,n,t){const r=this;let i,o,l;return a;function a(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),s}function s(d){return d===33?(e.consume(d),u):d===47?(e.consume(d),O):d===63?(e.consume(d),v):re(d)?(e.consume(d),z):t(d)}function u(d){return d===45?(e.consume(d),f):d===91?(e.consume(d),o=0,g):re(d)?(e.consume(d),C):t(d)}function f(d){return d===45?(e.consume(d),p):t(d)}function c(d){return d===null?t(d):d===45?(e.consume(d),h):D(d)?(l=c,G(d)):(e.consume(d),c)}function h(d){return d===45?(e.consume(d),p):c(d)}function p(d){return d===62?W(d):d===45?h(d):c(d)}function g(d){const K="CDATA[";return d===K.charCodeAt(o++)?(e.consume(d),o===K.length?b:g):t(d)}function b(d){return d===null?t(d):d===93?(e.consume(d),w):D(d)?(l=b,G(d)):(e.consume(d),b)}function w(d){return d===93?(e.consume(d),y):b(d)}function y(d){return d===62?W(d):d===93?(e.consume(d),y):b(d)}function C(d){return d===null||d===62?W(d):D(d)?(l=C,G(d)):(e.consume(d),C)}function v(d){return d===null?t(d):d===63?(e.consume(d),T):D(d)?(l=v,G(d)):(e.consume(d),v)}function T(d){return d===62?W(d):v(d)}function O(d){return re(d)?(e.consume(d),x):t(d)}function x(d){return d===45||ne(d)?(e.consume(d),x):_(d)}function _(d){return D(d)?(l=_,G(d)):$(d)?(e.consume(d),_):W(d)}function z(d){return d===45||ne(d)?(e.consume(d),z):d===47||d===62||q(d)?N(d):t(d)}function N(d){return d===47?(e.consume(d),W):d===58||d===95||re(d)?(e.consume(d),k):D(d)?(l=N,G(d)):$(d)?(e.consume(d),N):W(d)}function k(d){return d===45||d===46||d===58||d===95||ne(d)?(e.consume(d),k):I(d)}function I(d){return d===61?(e.consume(d),F):D(d)?(l=I,G(d)):$(d)?(e.consume(d),I):N(d)}function F(d){return d===null||d===60||d===61||d===62||d===96?t(d):d===34||d===39?(e.consume(d),i=d,L):D(d)?(l=F,G(d)):$(d)?(e.consume(d),F):(e.consume(d),j)}function L(d){return d===i?(e.consume(d),i=void 0,P):d===null?t(d):D(d)?(l=L,G(d)):(e.consume(d),L)}function j(d){return d===null||d===34||d===39||d===60||d===61||d===96?t(d):d===47||d===62||q(d)?N(d):(e.consume(d),j)}function P(d){return d===47||d===62||q(d)?N(d):t(d)}function W(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),n):t(d)}function G(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),J}function J(d){return $(d)?H(e,ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):ie(d)}function ie(d){return e.enter("htmlTextData"),l(d)}}const gt={name:"labelEnd",resolveAll:Ha,resolveTo:Ua,tokenize:qa},ja={tokenize:Va},$a={tokenize:Ga},Ba={tokenize:Wa};function Ha(e){let n=-1;const t=[];for(;++n<e.length;){const r=e[n][1];if(t.push(e[n]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",n+=i}}return e.length!==t.length&&ce(e,0,e.length,t),e}function Ua(e,n){let t=e.length,r=0,i,o,l,a;for(;t--;)if(i=e[t][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=t);const s={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return a=[["enter",s,n],["enter",u,n]],a=pe(a,e.slice(o+1,o+r+3)),a=pe(a,[["enter",f,n]]),a=pe(a,Sn(n.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),n)),a=pe(a,[["exit",f,n],e[l-2],e[l-1],["exit",u,n]]),a=pe(a,e.slice(l+1)),a=pe(a,[["exit",s,n]]),ce(e,o,e.length,a),e}function qa(e,n,t){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return a;function a(h){return o?o._inactive?c(h):(l=r.parser.defined.includes(ge(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),s):t(h)}function s(h){return h===40?e.attempt(ja,f,l?f:c)(h):h===91?e.attempt($a,f,l?u:c)(h):l?f(h):c(h)}function u(h){return e.attempt(Ba,f,c)(h)}function f(h){return n(h)}function c(h){return o._balanced=!0,t(h)}}function Va(e,n,t){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return q(c)?We(e,o)(c):o(c)}function o(c){return c===41?f(c):ui(e,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function l(c){return q(c)?We(e,s)(c):f(c)}function a(c){return t(c)}function s(c){return c===34||c===39||c===40?fi(e,u,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function u(c){return q(c)?We(e,f)(c):f(c)}function f(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),n):t(c)}}function Ga(e,n,t){const r=this;return i;function i(a){return ci.call(r,e,o,l,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(ge(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(a):t(a)}function l(a){return t(a)}}function Wa(e,n,t){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),n):t(o)}}const Xa={name:"labelStartImage",resolveAll:gt.resolveAll,tokenize:Ya};function Ya(e,n,t){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),l):t(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):n(a)}}const Ka={name:"labelStartLink",resolveAll:gt.resolveAll,tokenize:Za};function Za(e,n,t){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(l):n(l)}}const _n={name:"lineEnding",tokenize:Qa};function Qa(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),H(e,n,"linePrefix")}}const cn={name:"thematicBreak",tokenize:Ja};function Ja(e,n,t){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):r>=3&&(u===null||D(u))?(e.exit("thematicBreak"),n(u)):t(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),$(u)?H(e,a,"whitespace")(u):a(u))}}const oe={continuation:{tokenize:rs},exit:os,name:"list",tokenize:ts},es={partial:!0,tokenize:ls},ns={partial:!0,tokenize:is};function ts(e,n,t){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Yn(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(cn,t,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return t(p)}function s(p){return Yn(p)&&++l<10?(e.consume(p),s):(!r.interrupt||l<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):t(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(tn,r.interrupt?t:f,e.attempt(es,h,c))}function f(p){return r.containerState.initialBlankLine=!0,o++,h(p)}function c(p){return $(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):t(p)}function h(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(p)}}function rs(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(tn,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,H(e,n,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!$(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ns,n,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,H(e,e.attempt(oe,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function is(e,n,t){const r=this;return H(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?n(o):t(o)}}function os(e){e.exit(this.containerState.type)}function ls(e,n,t){const r=this;return H(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!$(o)&&l&&l[1].type==="listItemPrefixWhitespace"?n(o):t(o)}}const tr={name:"setextUnderline",resolveTo:as,tokenize:ss};function as(e,n){let t=e.length,r,i,o;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!o&&e[t][1].type==="definition"&&(o=t);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,n]),e.splice(o+1,0,["exit",e[r][1],n]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,n]),e}function ss(e,n,t){const r=this;let i;return o;function o(u){let f=r.events.length,c;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){c=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=u,l(u)):t(u)}function l(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),$(u)?H(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||D(u)?(e.exit("setextHeadingLine"),n(u)):t(u)}}const us={tokenize:cs};function cs(e){const n=this,t=e.attempt(tn,r,e.attempt(this.parser.constructs.flowInitial,i,H(e,e.attempt(this.parser.constructs.flow,i,e.attempt(da,i)),"linePrefix")));return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const fs={resolveAll:hi()},ps=pi("string"),hs=pi("text");function pi(e){return{resolveAll:hi(e==="text"?gs:void 0),tokenize:n};function n(t){const r=this,i=this.parser.constructs[e],o=t.attempt(i,l,a);return l;function l(f){return u(f)?o(f):a(f)}function a(f){if(f===null){t.consume(f);return}return t.enter("data"),t.consume(f),s}function s(f){return u(f)?(t.exit("data"),o(f)):(t.consume(f),s)}function u(f){if(f===null)return!0;const c=i[f];let h=-1;if(c)for(;++h<c.length;){const p=c[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function hi(e){return n;function n(t,r){let i=-1,o;for(;++i<=t.length;)o===void 0?t[i]&&t[i][1].type==="data"&&(o=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==o+2&&(t[o][1].end=t[i-1][1].end,t.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(t,r):t}}function gs(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const r=e[t-1][1],i=n.sliceStream(r);let o=i.length,l=-1,a=0,s;for(;o--;){const u=i[o];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(u===-2)s=!0,a++;else if(u!==-1){o++;break}}if(n._contentTypeTextTrailing&&t===e.length&&(a=0),a){const u={type:t===e.length||s||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(t,0,["enter",u,n],["exit",u,n]),t+=2)}t++}return e}const ds={42:oe,43:oe,45:oe,48:oe,49:oe,50:oe,51:oe,52:oe,53:oe,54:oe,55:oe,56:oe,57:oe,62:oi},ms={91:xa},ys={[-2]:On,[-1]:On,32:On},bs={35:Aa,42:cn,45:[tr,cn],60:La,61:tr,95:cn,96:er,126:er},ks={38:ai,92:li},xs={[-5]:_n,[-4]:_n,[-3]:_n,33:Xa,38:ai,42:Kn,60:[Kl,Pa],91:Ka,92:[Ca,li],93:gt,95:Kn,96:ua},ws={null:[Kn,fs]},Ss={null:[42,95]},vs={null:[]},Cs=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Ss,contentInitial:ms,disable:vs,document:ds,flow:bs,flowInitial:ys,insideSpan:ws,string:ks,text:xs},Symbol.toStringTag,{value:"Module"}));function Es(e,n,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},o=[];let l=[],a=[];const s={attempt:_(O),check:_(x),consume:C,enter:v,exit:T,interrupt:_(x,{interrupt:!0})},u={code:null,containerState:{},defineSkip:b,events:[],now:g,parser:e,previous:null,sliceSerialize:h,sliceStream:p,write:c};let f=n.tokenize.call(u,s);return n.resolveAll&&o.push(n),u;function c(I){return l=pe(l,I),w(),l[l.length-1]!==null?[]:(z(n,0),u.events=Sn(o,u.events,u),u.events)}function h(I,F){return Is(p(I),F)}function p(I){return As(l,I)}function g(){const{_bufferIndex:I,_index:F,line:L,column:j,offset:P}=r;return{_bufferIndex:I,_index:F,line:L,column:j,offset:P}}function b(I){i[I.line]=I.column,k()}function w(){let I;for(;r._index<l.length;){const F=l[r._index];if(typeof F=="string")for(I=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===I&&r._bufferIndex<F.length;)y(F.charCodeAt(r._bufferIndex));else y(F)}}function y(I){f=f(I)}function C(I){D(I)?(r.line++,r.column=1,r.offset+=I===-3?2:1,k()):I!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=I}function v(I,F){const L=F||{};return L.type=I,L.start=g(),u.events.push(["enter",L,u]),a.push(L),L}function T(I){const F=a.pop();return F.end=g(),u.events.push(["exit",F,u]),F}function O(I,F){z(I,F.from)}function x(I,F){F.restore()}function _(I,F){return L;function L(j,P,W){let G,J,ie,d;return Array.isArray(j)?ee(j):"tokenize"in j?ee([j]):K(j);function K(X){return we;function we(fe){const Se=fe!==null&&X[fe],ve=fe!==null&&X.null,De=[...Array.isArray(Se)?Se:Se?[Se]:[],...Array.isArray(ve)?ve:ve?[ve]:[]];return ee(De)(fe)}}function ee(X){return G=X,J=0,X.length===0?W:m(X[J])}function m(X){return we;function we(fe){return d=N(),ie=X,X.partial||(u.currentConstruct=X),X.name&&u.parser.constructs.disable.null.includes(X.name)?de():X.tokenize.call(F?Object.assign(Object.create(u),F):u,s,ae,de)(fe)}}function ae(X){return I(ie,d),P}function de(X){return d.restore(),++J<G.length?m(G[J]):W}}}function z(I,F){I.resolveAll&&!o.includes(I)&&o.push(I),I.resolve&&ce(u.events,F,u.events.length-F,I.resolve(u.events.slice(F),u)),I.resolveTo&&(u.events=I.resolveTo(u.events,u))}function N(){const I=g(),F=u.previous,L=u.currentConstruct,j=u.events.length,P=Array.from(a);return{from:j,restore:W};function W(){r=I,u.previous=F,u.currentConstruct=L,u.events.length=j,a=P,k()}}function k(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function As(e,n){const t=n.start._index,r=n.start._bufferIndex,i=n.end._index,o=n.end._bufferIndex;let l;if(t===i)l=[e[t].slice(r,o)];else{if(l=e.slice(t,i),r>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function Is(e,n){let t=-1;const r=[];let i;for(;++t<e.length;){const o=e[t];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
3
3
  `;break}case-3:{l=`\r
4
4
  `;break}case-2:{l=n?" ":" ";break}case-1:{if(!n&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function Ts(e){const r={constructs:ri([Cs,...(e||{}).extensions||[]]),content:i(Ul),defined:[],document:i(Vl),flow:i(us),lazy:{},string:i(ps),text:i(hs)};return r;function i(o){return l;function l(a){return Es(r,o,a)}}}function Fs(e){for(;!si(e););return e}const rr=/[\0\t\n\r]/g;function Ls(){let e=1,n="",t=!0,r;return i;function i(o,l,a){const s=[];let u,f,c,h,p;for(o=n+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),c=0,n="",t&&(o.charCodeAt(0)===65279&&c++,t=void 0);c<o.length;){if(rr.lastIndex=c,u=rr.exec(o),h=u&&u.index!==void 0?u.index:o.length,p=o.charCodeAt(h),!u){n=o.slice(c);break}if(p===10&&c===h&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),c<h&&(s.push(o.slice(c,h)),e+=h-c),p){case 0:{s.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,s.push(-2);e++<f;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}c=h+1}return a&&(r&&s.push(-5),n&&s.push(n),s.push(null)),s}}const Os=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function _s(e){return e.replace(Os,Ds)}function Ds(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),o=i===120||i===88;return ii(t.slice(o?2:1),o?16:10)}return Qe(t)||e}const gi={}.hasOwnProperty;function zs(e,n,t){return typeof n!="string"&&(t=n,n=void 0),Ns(t)(Fs(Ts(t).document().write(Ls()(e,n,!0))))}function Ns(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(_t),autolinkProtocol:N,autolinkEmail:N,atxHeading:o(Ft),blockQuote:o(ve),characterEscape:N,characterReference:N,codeFenced:o(De),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(De,l),codeText:o(go,l),codeTextData:N,data:N,codeFlowValue:N,definition:o(mo),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(yo),hardBreakEscape:o(Lt),hardBreakTrailing:o(Lt),htmlFlow:o(Ot,l),htmlFlowData:N,htmlText:o(Ot,l),htmlTextData:N,image:o(bo),label:l,link:o(_t),listItem:o(ko),listItemValue:h,listOrdered:o(Dt,c),listUnordered:o(Dt),paragraph:o(xo),reference:m,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Ft),strong:o(wo),thematicBreak:o(vo)},exit:{atxHeading:s(),atxHeadingSequence:O,autolink:s(),autolinkEmail:Se,autolinkProtocol:fe,blockQuote:s(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:X,characterReference:we,codeFenced:s(w),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:k,codeIndented:s(y),codeText:s(P),codeTextData:k,data:k,definition:s(),definitionDestinationString:T,definitionLabelString:C,definitionTitleString:v,emphasis:s(),hardBreakEscape:s(F),hardBreakTrailing:s(F),htmlFlow:s(L),htmlFlowData:k,htmlText:s(j),htmlTextData:k,image:s(G),label:ie,labelText:J,lineEnding:I,link:s(W),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:ae,resourceDestinationString:d,resourceTitleString:K,resource:ee,setextHeading:s(z),setextHeadingLineSequence:_,setextHeadingText:x,strong:s(),thematicBreak:s()}};di(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(S){let A={type:"root",children:[]};const R={stack:[A],tokenStack:[],config:n,enter:a,exit:u,buffer:l,resume:f,data:t},B=[];let U=-1;for(;++U<S.length;)if(S[U][1].type==="listOrdered"||S[U][1].type==="listUnordered")if(S[U][0]==="enter")B.push(U);else{const he=B.pop();U=i(S,he,U)}for(U=-1;++U<S.length;){const he=n[S[U][0]];gi.call(he,S[U][1].type)&&he[S[U][1].type].call(Object.assign({sliceSerialize:S[U][2].sliceSerialize},R),S[U][1])}if(R.tokenStack.length>0){const he=R.tokenStack[R.tokenStack.length-1];(he[1]||ir).call(R,void 0,he[0])}for(A.position={start:Ce(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:Ce(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},U=-1;++U<n.transforms.length;)A=n.transforms[U](A)||A;return A}function i(S,A,R){let B=A-1,U=-1,he=!1,Te,be,He,Ue;for(;++B<=R;){const se=S[B];switch(se[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{se[0]==="enter"?U++:U--,Ue=void 0;break}case"lineEndingBlank":{se[0]==="enter"&&(Te&&!Ue&&!U&&!He&&(He=B),Ue=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ue=void 0}if(!U&&se[0]==="enter"&&se[1].type==="listItemPrefix"||U===-1&&se[0]==="exit"&&(se[1].type==="listUnordered"||se[1].type==="listOrdered")){if(Te){let ze=B;for(be=void 0;ze--;){const ke=S[ze];if(ke[1].type==="lineEnding"||ke[1].type==="lineEndingBlank"){if(ke[0]==="exit")continue;be&&(S[be][1].type="lineEndingBlank",he=!0),ke[1].type="lineEnding",be=ze}else if(!(ke[1].type==="linePrefix"||ke[1].type==="blockQuotePrefix"||ke[1].type==="blockQuotePrefixWhitespace"||ke[1].type==="blockQuoteMarker"||ke[1].type==="listItemIndent"))break}He&&(!be||He<be)&&(Te._spread=!0),Te.end=Object.assign({},be?S[be][1].start:se[1].end),S.splice(be||B,0,["exit",Te,se[2]]),B++,R++}if(se[1].type==="listItemPrefix"){const ze={type:"listItem",_spread:!1,start:Object.assign({},se[1].start),end:void 0};Te=ze,S.splice(B,0,["enter",ze,se[2]]),B++,R++,He=void 0,Ue=!0}}}return S[A][1]._spread=he,R}function o(S,A){return R;function R(B){a.call(this,S(B),B),A&&A.call(this,B)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(S,A,R){this.stack[this.stack.length-1].children.push(S),this.stack.push(S),this.tokenStack.push([A,R||void 0]),S.position={start:Ce(A.start),end:void 0}}function s(S){return A;function A(R){S&&S.call(this,R),u.call(this,R)}}function u(S,A){const R=this.stack.pop(),B=this.tokenStack.pop();if(B)B[0].type!==S.type&&(A?A.call(this,S,B[0]):(B[1]||ir).call(this,S,B[0]));else throw new Error("Cannot close `"+S.type+"` ("+Ge({start:S.start,end:S.end})+"): it’s not open");R.position.end=Ce(S.end)}function f(){return ht(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(S){if(this.data.expectingFirstListItemValue){const A=this.stack[this.stack.length-2];A.start=Number.parseInt(this.sliceSerialize(S),10),this.data.expectingFirstListItemValue=void 0}}function p(){const S=this.resume(),A=this.stack[this.stack.length-1];A.lang=S}function g(){const S=this.resume(),A=this.stack[this.stack.length-1];A.meta=S}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function w(){const S=this.resume(),A=this.stack[this.stack.length-1];A.value=S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const S=this.resume(),A=this.stack[this.stack.length-1];A.value=S.replace(/(\r?\n|\r)$/g,"")}function C(S){const A=this.resume(),R=this.stack[this.stack.length-1];R.label=A,R.identifier=ge(this.sliceSerialize(S)).toLowerCase()}function v(){const S=this.resume(),A=this.stack[this.stack.length-1];A.title=S}function T(){const S=this.resume(),A=this.stack[this.stack.length-1];A.url=S}function O(S){const A=this.stack[this.stack.length-1];if(!A.depth){const R=this.sliceSerialize(S).length;A.depth=R}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function _(S){const A=this.stack[this.stack.length-1];A.depth=this.sliceSerialize(S).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function N(S){const R=this.stack[this.stack.length-1].children;let B=R[R.length-1];(!B||B.type!=="text")&&(B=So(),B.position={start:Ce(S.start),end:void 0},R.push(B)),this.stack.push(B)}function k(S){const A=this.stack.pop();A.value+=this.sliceSerialize(S),A.position.end=Ce(S.end)}function I(S){const A=this.stack[this.stack.length-1];if(this.data.atHardBreak){const R=A.children[A.children.length-1];R.position.end=Ce(S.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(A.type)&&(N.call(this,S),k.call(this,S))}function F(){this.data.atHardBreak=!0}function L(){const S=this.resume(),A=this.stack[this.stack.length-1];A.value=S}function j(){const S=this.resume(),A=this.stack[this.stack.length-1];A.value=S}function P(){const S=this.resume(),A=this.stack[this.stack.length-1];A.value=S}function W(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=A,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function G(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=A,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function J(S){const A=this.sliceSerialize(S),R=this.stack[this.stack.length-2];R.label=_s(A),R.identifier=ge(A).toLowerCase()}function ie(){const S=this.stack[this.stack.length-1],A=this.resume(),R=this.stack[this.stack.length-1];if(this.data.inReference=!0,R.type==="link"){const B=S.children;R.children=B}else R.alt=A}function d(){const S=this.resume(),A=this.stack[this.stack.length-1];A.url=S}function K(){const S=this.resume(),A=this.stack[this.stack.length-1];A.title=S}function ee(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function ae(S){const A=this.resume(),R=this.stack[this.stack.length-1];R.label=A,R.identifier=ge(this.sliceSerialize(S)).toLowerCase(),this.data.referenceType="full"}function de(S){this.data.characterReferenceType=S.type}function X(S){const A=this.sliceSerialize(S),R=this.data.characterReferenceType;let B;R?(B=ii(A,R==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):B=Qe(A);const U=this.stack[this.stack.length-1];U.value+=B}function we(S){const A=this.stack.pop();A.position.end=Ce(S.end)}function fe(S){k.call(this,S);const A=this.stack[this.stack.length-1];A.url=this.sliceSerialize(S)}function Se(S){k.call(this,S);const A=this.stack[this.stack.length-1];A.url="mailto:"+this.sliceSerialize(S)}function ve(){return{type:"blockquote",children:[]}}function De(){return{type:"code",lang:null,meta:null,value:""}}function go(){return{type:"inlineCode",value:""}}function mo(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function yo(){return{type:"emphasis",children:[]}}function Ft(){return{type:"heading",depth:0,children:[]}}function Lt(){return{type:"break"}}function Ot(){return{type:"html",value:""}}function bo(){return{type:"image",title:null,url:"",alt:null}}function _t(){return{type:"link",title:null,url:"",children:[]}}function Dt(S){return{type:"list",ordered:S.type==="listOrdered",start:null,spread:S._spread,children:[]}}function ko(S){return{type:"listItem",spread:S._spread,checked:null,children:[]}}function xo(){return{type:"paragraph",children:[]}}function wo(){return{type:"strong",children:[]}}function So(){return{type:"text",value:""}}function vo(){return{type:"thematicBreak"}}}function Ce(e){return{line:e.line,column:e.column,offset:e.offset}}function di(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?di(e,r):Rs(e,r)}}function Rs(e,n){let t;for(t in n)if(gi.call(n,t))switch(t){case"canContainEols":{const r=n[t];r&&e[t].push(...r);break}case"transforms":{const r=n[t];r&&e[t].push(...r);break}case"enter":case"exit":{const r=n[t];r&&Object.assign(e[t],r);break}}}function ir(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Ge({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Ge({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Ge({start:n.start,end:n.end})+") is still open")}function Ps(e){const n=this;n.parser=t;function t(r){return zs(r,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function Ms(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function js(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:`