import{s as ne,G as H,K as y,L as ke,M as re,r as Ce,v as we,w as Ie,x as Ee,e as w,c as I,b as x,f as $,I as ve,i,z as Je,N as We,a as k,l as X,g as C,p as ae,h as D,F as E,t as N,d as O}from"./scheduler.DKiYiPX0.js";import{S as fe,i as $e,c as d,a as g,m as h,t as m,b as p,d as b}from"./index.z4bt_ZBS.js";import{g as Ne,a as Xe}from"./spread.CgU5AtxT.js";import{c as ee,L as ye}from"./Link.Dt5uOJAy.js";function et(f){let e;const l=f[3].default,t=Ce(l,f,f[9],null);return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,n){t&&t.m(a,n),e=!0},p(a,n){t&&t.p&&(!e||n&512)&&we(t,l,a,a[9],e?Ee(l,a[9],n,null):Ie(a[9]),null)},i(a){e||(m(t,a),e=!0)},o(a){p(t,a),e=!1},d(a){t&&t.d(a)}}}function tt(f){let e,l;const t=[{href:f[1]},{class:ee("bg-card text-card-foreground block rounded-xl border bg-opacity-30 shadow hover:border-sky-300",f[0])},f[2]];let a={$$slots:{default:[et]},$$scope:{ctx:f}};for(let n=0;n{e=H(H({},e),ke(S)),l(2,a=y(e,t)),"class"in S&&l(0,s=S.class),"href"in S&&l(1,r=S.href),"$$scope"in S&&l(9,c=S.$$scope)},[s,r,a,n,u,v,ce,le,j,c]}class L extends fe{constructor(e){super(),$e(this,e,st,tt,ne,{class:0,href:1})}}function lt(f){let e,l,t;const a=f[3].default,n=Ce(a,f,f[2],null);let c=[{class:l=ee("text-muted-foreground text-base",f[0])},f[1]],s={};for(let r=0;r{e=H(H({},e),ke(r)),l(1,a=y(e,t)),"class"in r&&l(0,s=r.class),"$$scope"in r&&l(2,c=r.$$scope)},[s,a,c,n]}class P extends fe{constructor(e){super(),$e(this,e,nt,lt,ne,{class:0})}}function rt(f){let e,l,t;const a=f[3].default,n=Ce(a,f,f[2],null);let c=[{class:l=ee("flex flex-col space-y-1.5 p-6",f[0])},f[1]],s={};for(let r=0;r{e=H(H({},e),ke(r)),l(1,a=y(e,t)),"class"in r&&l(0,s=r.class),"$$scope"in r&&l(2,c=r.$$scope)},[s,a,c,n]}class F extends fe{constructor(e){super(),$e(this,e,at,rt,ne,{class:0})}}function Ye(f){let e,l,t;const a=f[4].default,n=Ce(a,f,f[3],null);let c=[{class:l=ee("font-semibold leading-none tracking-tight",f[0])},f[2]],s={};for(let r=0;r{e=H(H({},e),ke(u)),l(2,a=y(e,t)),"class"in u&&l(0,s=u.class),"tag"in u&&l(1,r=u.tag),"$$scope"in u&&l(3,c=u.$$scope)},[s,r,a,c,n]}class Y extends fe{constructor(e){super(),$e(this,e,$t,ft,ne,{class:0,tag:1})}}function ct(f){let e;return{c(){e=N("Math")},l(l){e=O(l,"Math")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function ot(f){let e;return{c(){e=N("Support for KaTex expressions.")},l(l){e=O(l,"Support for KaTex expressions.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function it(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[ct]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[ot]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","tabler:math"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function ut(f){let e,l;return e=new F({props:{$$slots:{default:[it]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function _t(f){let e;return{c(){e=N("Code")},l(l){e=O(l,"Code")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function mt(f){let e;return{c(){e=N("Code blocks syntax highlighting.")},l(l){e=O(l,"Code blocks syntax highlighting.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function pt(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[_t]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[mt]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","fluent:code-16-filled"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function dt(f){let e,l;return e=new F({props:{$$slots:{default:[pt]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function gt(f){let e;return{c(){e=N("Emoji")},l(l){e=O(l,"Emoji")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function ht(f){let e;return{c(){e=N("Embed emojis in Markdown.")},l(l){e=O(l,"Embed emojis in Markdown.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function bt(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[gt]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[ht]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","mingcute:emoji-line"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function vt(f){let e,l;return e=new F({props:{$$slots:{default:[bt]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function kt(f){let e;return{c(){e=N("Slash")},l(l){e=O(l,"Slash")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Ct(f){let e;return{c(){e=N("Support for slash commands.")},l(l){e=O(l,"Support for slash commands.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function wt(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[kt]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[Ct]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","tabler:slash"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function It(f){let e,l;return e=new F({props:{$$slots:{default:[wt]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function Et(f){let e;return{c(){e=N("TikZ")},l(l){e=O(l,"TikZ")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Nt(f){let e;return{c(){e=N("Support for TikZ/PgfPlots diagrams.")},l(l){e=O(l,"Support for TikZ/PgfPlots diagrams.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Ot(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[Et]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[Nt]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","mdi:draw-pen"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function Mt(f){let e,l;return e=new F({props:{$$slots:{default:[Ot]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function St(f){let e;return{c(){e=N("Attachment")},l(l){e=O(l,"Attachment")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function xt(f){let e;return{c(){e=N("Handle text attachments.")},l(l){e=O(l,"Handle text attachments.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Ht(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[St]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[xt]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","tdesign:attach"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function Tt(f){let e,l;return e=new F({props:{$$slots:{default:[Ht]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function Lt(f){let e;return{c(){e=N("Anchor")},l(l){e=O(l,"Anchor")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Pt(f){let e;return{c(){e=N("Add anchor links to headings.")},l(l){e=O(l,"Add anchor links to headings.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Ft(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[Lt]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[Pt]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","mingcute:link-fill"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function Yt(f){let e,l;return e=new F({props:{$$slots:{default:[Ft]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function jt(f){let e;return{c(){e=N("Community Plugins")},l(l){e=O(l,"Community Plugins")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function At(f){let e;return{c(){e=N("Explore plugins from the community.")},l(l){e=O(l,"Explore plugins from the community.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Dt(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[jt]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[At]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","ph:stack-fill"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function Kt(f){let e,l;return e=new F({props:{$$slots:{default:[Dt]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function Gt(f){let e;return{c(){e=N("GitHub")},l(l){e=O(l,"GitHub")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function qt(f){let e;return{c(){e=N("Inspired by GitHub.")},l(l){e=O(l,"Inspired by GitHub.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Rt(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[Gt]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[qt]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","mdi:github"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function Zt(f){let e,l;return e=new F({props:{$$slots:{default:[Rt]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function zt(f){let e;return{c(){e=N("Discord")},l(l){e=O(l,"Discord")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Bt(f){let e;return{c(){e=N("Inspired by Discord.")},l(l){e=O(l,"Inspired by Discord.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Ut(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[zt]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[Bt]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","ic:baseline-discord"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function Vt(f){let e,l;return e=new F({props:{$$slots:{default:[Ut]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function Qt(f){let e;return{c(){e=N("Math Stack Exchange")},l(l){e=O(l,"Math Stack Exchange")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Jt(f){let e;return{c(){e=N("Inspired by Math Stack Exchange.")},l(l){e=O(l,"Inspired by Math Stack Exchange.")},m(l,t){i(l,e,t)},d(l){l&&$(e)}}}function Wt(f){let e,l,t,a,n,c;return t=new Y({props:{$$slots:{default:[Qt]},$$scope:{ctx:f}}}),n=new P({props:{$$slots:{default:[Jt]},$$scope:{ctx:f}}}),{c(){e=w("iconify-icon"),l=k(),d(t.$$.fragment),a=k(),d(n.$$.fragment),this.h()},l(s){e=I(s,"ICONIFY-ICON",{icon:!0,class:!0}),x(e).forEach($),l=C(s),g(t.$$.fragment,s),a=C(s),g(n.$$.fragment,s),this.h()},h(){E(e,"icon","fluent:math-formula-16-filled"),E(e,"class","text-3xl text-sky-300")},m(s,r){i(s,e,r),i(s,l,r),h(t,s,r),i(s,a,r),h(n,s,r),c=!0},p(s,r){const u={};r&1&&(u.$$scope={dirty:r,ctx:s}),t.$set(u);const v={};r&1&&(v.$$scope={dirty:r,ctx:s}),n.$set(v)},i(s){c||(m(t.$$.fragment,s),m(n.$$.fragment,s),c=!0)},o(s){p(t.$$.fragment,s),p(n.$$.fragment,s),c=!1},d(s){s&&($(e),$(l),$(a)),b(t,s),b(n,s)}}}function Xt(f){let e,l;return e=new F({props:{$$slots:{default:[Wt]},$$scope:{ctx:f}}}),{c(){d(e.$$.fragment)},l(t){g(e.$$.fragment,t)},m(t,a){h(e,t,a),l=!0},p(t,a){const n={};a&1&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){l||(m(e.$$.fragment,t),l=!0)},o(t){p(e.$$.fragment,t),l=!1},d(t){b(e,t)}}}function yt(f){let e,l="

Modern, lightweight, powerful Markdown Editor.

",t,a,n="Carta is a lightweight, fast and extensible Svelte Markdown editor and viewer, designed for flexibility. It works natively in SvelteKit, and supports Server Side Rendering.",c,s,r='Features',u,v,ce='
  • 🌈 Markdown syntax highlighting (Shiki);
  • 🛠️ Toolbar (extensible);
  • ⌨️ Keyboard shortcuts (extensible);
  • 📦 Supports +150 plugins thanks to remark.
  • 🔀 Scroll sync;
  • ✅ Accessibility friendly;
  • 🖥️ SSR compatible;
  • ',le,j,S='Official Plugins',oe,te,je="Carta comes with a set of official plugins for the most common use cases.",ie,ue,_e,M,K,Oe,G,Me,q,Se,R,xe,Z,He,z,Te,B,Le,U,me,V,Ae='Examples',pe,se,De="A list of examples inspired by popular platforms.",de,ge,he,T,Q,Pe,J,Fe,W,be;return K=new L({props:{href:"/plugins/math",$$slots:{default:[ut]},$$scope:{ctx:f}}}),G=new L({props:{href:"/plugins/code",$$slots:{default:[dt]},$$scope:{ctx:f}}}),q=new L({props:{href:"/plugins/emoji",$$slots:{default:[vt]},$$scope:{ctx:f}}}),R=new L({props:{href:"/plugins/slash",$$slots:{default:[It]},$$scope:{ctx:f}}}),Z=new L({props:{href:"/plugins/tikz",$$slots:{default:[Mt]},$$scope:{ctx:f}}}),z=new L({props:{href:"/plugins/attachment",$$slots:{default:[Tt]},$$scope:{ctx:f}}}),B=new L({props:{href:"/plugins/anchor",$$slots:{default:[Yt]},$$scope:{ctx:f}}}),U=new L({props:{href:"/community-plugins",$$slots:{default:[Kt]},$$scope:{ctx:f}}}),Q=new L({props:{href:"/examples#github",$$slots:{default:[Zt]},$$scope:{ctx:f}}}),J=new L({props:{href:"/examples#discord",$$slots:{default:[Vt]},$$scope:{ctx:f}}}),W=new L({props:{href:"/examples#math-stack-exchange",$$slots:{default:[Xt]},$$scope:{ctx:f}}}),{c(){e=w("blockquote"),e.innerHTML=l,t=k(),a=w("p"),a.textContent=n,c=k(),s=w("h2"),s.innerHTML=r,u=k(),v=w("ul"),v.innerHTML=ce,le=k(),j=w("h2"),j.innerHTML=S,oe=k(),te=w("p"),te.textContent=je,ie=k(),ue=w("br"),_e=k(),M=w("div"),d(K.$$.fragment),Oe=k(),d(G.$$.fragment),Me=k(),d(q.$$.fragment),Se=k(),d(R.$$.fragment),xe=k(),d(Z.$$.fragment),He=k(),d(z.$$.fragment),Te=k(),d(B.$$.fragment),Le=k(),d(U.$$.fragment),me=k(),V=w("h2"),V.innerHTML=Ae,pe=k(),se=w("p"),se.textContent=De,de=k(),ge=w("br"),he=k(),T=w("div"),d(Q.$$.fragment),Pe=k(),d(J.$$.fragment),Fe=k(),d(W.$$.fragment),this.h()},l(o){e=I(o,"BLOCKQUOTE",{"data-svelte-h":!0}),X(e)!=="svelte-1f3sq0s"&&(e.innerHTML=l),t=C(o),a=I(o,"P",{"data-svelte-h":!0}),X(a)!=="svelte-1gpxb09"&&(a.textContent=n),c=C(o),s=I(o,"H2",{id:!0,"data-svelte-h":!0}),X(s)!=="svelte-zk983v"&&(s.innerHTML=r),u=C(o),v=I(o,"UL",{"data-svelte-h":!0}),X(v)!=="svelte-18lwa9l"&&(v.innerHTML=ce),le=C(o),j=I(o,"H2",{id:!0,"data-svelte-h":!0}),X(j)!=="svelte-npwan1"&&(j.innerHTML=S),oe=C(o),te=I(o,"P",{"data-svelte-h":!0}),X(te)!=="svelte-1057gr"&&(te.textContent=je),ie=C(o),ue=I(o,"BR",{}),_e=C(o),M=I(o,"DIV",{class:!0});var _=x(M);g(K.$$.fragment,_),Oe=C(_),g(G.$$.fragment,_),Me=C(_),g(q.$$.fragment,_),Se=C(_),g(R.$$.fragment,_),xe=C(_),g(Z.$$.fragment,_),He=C(_),g(z.$$.fragment,_),Te=C(_),g(B.$$.fragment,_),Le=C(_),g(U.$$.fragment,_),_.forEach($),me=C(o),V=I(o,"H2",{id:!0,"data-svelte-h":!0}),X(V)!=="svelte-wu3unf"&&(V.innerHTML=Ae),pe=C(o),se=I(o,"P",{"data-svelte-h":!0}),X(se)!=="svelte-1uhnah3"&&(se.textContent=De),de=C(o),ge=I(o,"BR",{}),he=C(o),T=I(o,"DIV",{class:!0});var A=x(T);g(Q.$$.fragment,A),Pe=C(A),g(J.$$.fragment,A),Fe=C(A),g(W.$$.fragment,A),A.forEach($),this.h()},h(){ae(s,"id","features"),ae(j,"id","official-plugins"),ae(M,"class","w-full grid sm:grid-cols-2 gap-4"),ae(V,"id","examples"),ae(T,"class","w-full grid sm:grid-cols-2 gap-4")},m(o,_){i(o,e,_),i(o,t,_),i(o,a,_),i(o,c,_),i(o,s,_),i(o,u,_),i(o,v,_),i(o,le,_),i(o,j,_),i(o,oe,_),i(o,te,_),i(o,ie,_),i(o,ue,_),i(o,_e,_),i(o,M,_),h(K,M,null),D(M,Oe),h(G,M,null),D(M,Me),h(q,M,null),D(M,Se),h(R,M,null),D(M,xe),h(Z,M,null),D(M,He),h(z,M,null),D(M,Te),h(B,M,null),D(M,Le),h(U,M,null),i(o,me,_),i(o,V,_),i(o,pe,_),i(o,se,_),i(o,de,_),i(o,ge,_),i(o,he,_),i(o,T,_),h(Q,T,null),D(T,Pe),h(J,T,null),D(T,Fe),h(W,T,null),be=!0},p(o,[_]){const A={};_&1&&(A.$$scope={dirty:_,ctx:o}),K.$set(A);const Ke={};_&1&&(Ke.$$scope={dirty:_,ctx:o}),G.$set(Ke);const Ge={};_&1&&(Ge.$$scope={dirty:_,ctx:o}),q.$set(Ge);const qe={};_&1&&(qe.$$scope={dirty:_,ctx:o}),R.$set(qe);const Re={};_&1&&(Re.$$scope={dirty:_,ctx:o}),Z.$set(Re);const Ze={};_&1&&(Ze.$$scope={dirty:_,ctx:o}),z.$set(Ze);const ze={};_&1&&(ze.$$scope={dirty:_,ctx:o}),B.$set(ze);const Be={};_&1&&(Be.$$scope={dirty:_,ctx:o}),U.$set(Be);const Ue={};_&1&&(Ue.$$scope={dirty:_,ctx:o}),Q.$set(Ue);const Ve={};_&1&&(Ve.$$scope={dirty:_,ctx:o}),J.$set(Ve);const Qe={};_&1&&(Qe.$$scope={dirty:_,ctx:o}),W.$set(Qe)},i(o){be||(m(K.$$.fragment,o),m(G.$$.fragment,o),m(q.$$.fragment,o),m(R.$$.fragment,o),m(Z.$$.fragment,o),m(z.$$.fragment,o),m(B.$$.fragment,o),m(U.$$.fragment,o),m(Q.$$.fragment,o),m(J.$$.fragment,o),m(W.$$.fragment,o),be=!0)},o(o){p(K.$$.fragment,o),p(G.$$.fragment,o),p(q.$$.fragment,o),p(R.$$.fragment,o),p(Z.$$.fragment,o),p(z.$$.fragment,o),p(B.$$.fragment,o),p(U.$$.fragment,o),p(Q.$$.fragment,o),p(J.$$.fragment,o),p(W.$$.fragment,o),be=!1},d(o){o&&($(e),$(t),$(a),$(c),$(s),$(u),$(v),$(le),$(j),$(oe),$(te),$(ie),$(ue),$(_e),$(M),$(me),$(V),$(pe),$(se),$(de),$(ge),$(he),$(T)),b(K),b(G),b(q),b(R),b(Z),b(z),b(B),b(U),b(Q),b(J),b(W)}}}const ns={title:"Carta",section:"Overview"};class rs extends fe{constructor(e){super(),$e(this,e,null,yt,ne,{})}}export{rs as default,ns as metadata};