gardenjs 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,7 +100,7 @@ async function runSetupScript() {
100
100
 
101
101
  const shallCreateViteConfig = await confirm({
102
102
  message:
103
- 'You need a vite configuration file for gardenjs. Shall we create the file?',
103
+ 'You need a vite configuration file for gardenjs. Shall we create the file garden.vite.config.js?',
104
104
  })
105
105
  if (shallCreateViteConfig) {
106
106
  separator()
@@ -220,8 +220,9 @@ export default {
220
220
  // project_logo: './src/assets/logo.svg',
221
221
  // project_logo_darkmode: './src/assets/logo_neg.svg',
222
222
 
223
- // Here you can set a path to your own start page.
224
- // The HTML file may only contain the body part, i.e. without the doctype, head and body tag:
223
+ // Enter a path to your user-defined start page.
224
+ // The HTML file may only contain the body part (without doctype, html-, head- & body tag).
225
+ // Specify the CSS styles in a style tag under the HTML part.
225
226
  // welcome_page: './src/custom_welcome_page.html',
226
227
 
227
228
  // Show/hide the link to the docs in the sidebar:
@@ -0,0 +1 @@
1
+ import{S as Z,i as $,s as x,C as k,k as B,R as E,f as H,v as ae,T as le,U as ce,e as se,b as ue,d as me,h as G,t as j,p as b,q as M,H as ee,A as z,B as J,D as de,E as K,F as te,G as L,I as U,J as V,K as W}from"./index-OMTxPB5B.js";import{dasMap as _e}from"../das_import_map.js";import{componentMap as he}from"../component_import_map.js";import pe from"../../garden.config.js";import"../gardenframe/cssimport.js";function Q(a){let e,n;return{c(){e=new le(!1),n=k(),this.h()},l(r){e=ce(r,!1),n=k(),this.h()},h(){e.a=n},m(r,i){e.m(a[0],r,i),B(r,n,i)},p(r,i){i&1&&e.p(r[0])},d(r){r&&(H(n),e.d())}}}function ge(a){let e,n=a[0]&&Q(a);return{c(){n&&n.c(),e=k()},l(r){n&&n.l(r),e=k()},m(r,i){n&&n.m(r,i),B(r,e,i)},p(r,[i]){r[0]?n?n.p(r,i):(n=Q(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:E,o:E,d(r){r&&H(e),n&&n.d(r)}}}function we(a,e,n){let{component:r}=e,{afterRenderHook:i=()=>{}}=e;return ae(async()=>{await i()}),a.$$set=l=>{"component"in l&&n(0,r=l.component),"afterRenderHook"in l&&n(1,i=l.afterRenderHook)},[r,i]}class X extends Z{constructor(e){super(),$(this,e,we,ge,x,{component:0,afterRenderHook:1})}}async function ke(a){try{let e=new X({target:document.getElementById("garden_app"),props:{afterRenderHook:a}});return{destroy:()=>{var n;return(n=e==null?void 0:e.$destroy)==null?void 0:n.call(e)},updateComponent:n=>{var r;(r=e==null?void 0:e.$destroy)==null||r.call(e),e=new X({target:document.getElementById("garden_app"),props:{...n,afterRenderHook:a}})}}}catch(e){console.log("error",e)}}const S={create:ke};function Y(a){var t;let e,n,r;const i=[(t=a[2])==null?void 0:t.input];var l=a[4];function u(o,d){var p;let _={};for(let h=0;h<i.length;h+=1)_=W(_,i[h]);return d!==void 0&&d&4&&(_=W(_,U(i,[V((p=o[2])==null?void 0:p.input)]))),{props:_}}return l&&(e=z(l,u(a)),e.$on("out",a[5])),{c(){e&&J(e.$$.fragment),n=k()},l(o){e&&de(e.$$.fragment,o),n=k()},m(o,d){e&&K(e,o,d),B(o,n,d),r=!0},p(o,d){var _;if(d&16&&l!==(l=o[4])){if(e){te();const p=e;M(p.$$.fragment,1,0,()=>{L(p,1)}),ee()}l?(e=z(l,u(o,d)),e.$on("out",o[5]),J(e.$$.fragment),b(e.$$.fragment,1),K(e,n.parentNode,n)):e=null}else if(l){const p=d&4?U(i,[V((_=o[2])==null?void 0:_.input)]):{};e.$set(p)}},i(o){r||(e&&b(e.$$.fragment,o),r=!0)},o(o){e&&M(e.$$.fragment,o),r=!1},d(o){o&&H(n),e&&L(e,o)}}}function ye(a){var l;let e,n=a[0].devmodus&&a[4]&&(((l=a[1])==null?void 0:l.file)??"").indexOf(".svelte")>0,r,i=n&&Y(a);return{c(){e=se("div"),i&&i.c(),this.h()},l(u){e=ue(u,"DIV",{id:!0,class:!0});var t=me(e);i&&i.l(t),t.forEach(H),this.h()},h(){G(e,"id","garden_app"),G(e,"class","svelte-16w9tv2"),j(e,"full",a[3])},m(u,t){B(u,e,t),i&&i.m(e,null),r=!0},p(u,[t]){var o;t&19&&(n=u[0].devmodus&&u[4]&&(((o=u[1])==null?void 0:o.file)??"").indexOf(".svelte")>0),n?i?(i.p(u,t),t&19&&b(i,1)):(i=Y(u),i.c(),b(i,1),i.m(e,null)):i&&(te(),M(i,1,1,()=>{i=null}),ee()),(!r||t&8)&&j(e,"full",u[3])},i(u){r||(b(i),r=!0)},o(u){M(i),r=!1},d(u){u&&H(e),i&&i.d()}}}function be(a){return new Promise((e,n)=>{setTimeout(()=>n(new Error("Timeout on")),a)})}function He(a,e,n){let{componentMap:r={}}=e,{dasMap:i={}}=e,{config:l}=e,u=l.hookTimeout|5e3,t={},o={},d,_=!1,p,h,F,T,v={},O,P,A=[],R=[],C=[],y=[],N=[];window.addEventListener("message",f=>{var s;if(l.themeHandler&&l.themeHandler(f.data.theme),n(3,_=f.data.stageSize==="full"),n(1,t=i[f.data.componentName]),n(2,o=((s=t==null?void 0:t.examples)==null?void 0:s.find(m=>m.title===f.data.selectedExample))??{}),O=F!==f.data.componentName,F=f.data.componentName||"Welcome",P=d!==f.data.selectedExample,d=f.data.selectedExample,n(4,T=r==null?void 0:r[F]),l.devmodus){v={};return}else oe(T,o,t)});async function ne(f){if(!f)return S;for(const s in l.renderer)if(new RegExp(s+"$").test(f))return l.renderer[s];return S}async function oe(f,s,m){if(l.renderer){const w=await ne(m==null?void 0:m.file);w!==p&&await q(w)}await ie();try{h==null||h.updateComponent({component:f,selectedExample:s,das:m,decorators:m==null?void 0:m.decorators,afterRenderHook:re})}catch(w){console.error(w)}}async function re(){await I(N)}let g=[];async function ie(){if(O){N=[o==null?void 0:o.play],y=t!=null&&t.beforeAll?[t==null?void 0:t.beforeAll]:[];const f=t!=null&&t.hooks?g.filter(c=>!(t!=null&&t.hooks.find(D=>D===c))):g,s=g.length>0?t==null?void 0:t.hooks.filter(c=>!g.find(D=>c===D)):(t==null?void 0:t.hooks)??[];g=(t==null?void 0:t.hooks)??[];const m=g.filter(c=>c.before).map(c=>c.before)??[];R=[...R,...f.filter(c=>c.afterAll).map(c=>c.afterAll)],y=[...s.filter(c=>c.beforeAll).map(c=>c.beforeAll),...y],C=[...m,t==null?void 0:t.before,o==null?void 0:o.before].filter(c=>!!c),await I([...A,...R,...y,...C]);const w=g.filter(c=>c.after).map(c=>c.after)??[];R=t!=null&&t.afterAll?[t==null?void 0:t.afterAll]:[],A=[o==null?void 0:o.after,t==null?void 0:t.after,...w].filter(c=>!!c),y=[]}else P&&(N=[o==null?void 0:o.play],C=[t==null?void 0:t.before,o==null?void 0:o.before],await I([...A,...C]),A=[o==null?void 0:o.after,t==null?void 0:t.after])}async function q(f){try{await(h==null?void 0:h.destroy())}catch(s){console.error("Could not destroy current renderer",s)}h=await f.create()}function fe(f){t.out&&t.out.forEach(s=>{if(f.detail[s.name]&&(console.log(f.detail[s.name]),o.redirect&&o.redirect[s.name])){const m=o.redirect[s.name];v[m]=f.detail[s.name]}})}async function I(f){for(const s of f)if(s)try{await Promise.race([be(u),s()])}catch(m){console.error(m)}}return a.$$set=f=>{"componentMap"in f&&n(6,r=f.componentMap),"dasMap"in f&&n(7,i=f.dasMap),"config"in f&&n(0,l=f.config)},a.$$.update=()=>{a.$$.dirty&1&&(l.devmodus||q(S))},[l,t,o,_,T,fe,r,i]}class Ae extends Z{constructor(e){super(),$(this,e,He,ye,x,{componentMap:6,dasMap:7,config:0})}}new Ae({target:document.body,props:{componentMap:he,dasMap:_e,config:pe}});
@@ -0,0 +1,48 @@
1
+ var dl=Object.defineProperty;var gl=(s,e,t)=>e in s?dl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var fn=(s,e,t)=>gl(s,typeof e!="symbol"?e+"":e,t);import{S as Te,i as Se,s as Ee,c as pt,e as y,a as N,b as T,d as b,f as p,g as A,h as o,j as at,t as W,k as B,l as m,m as ee,u as mt,n as _t,o as kt,p as P,q as F,r as Ye,v as Zn,w as Fn,x as vt,y as xe,z as Nt,A as dn,B as Ce,C as Ze,D as Le,E as Me,F as Je,G as He,H as Ke,I as gn,J as pn,K as mn,L as At,M as jt,N as be,O as ve,P as $t,Q as Fe,R as ce,T as en,U as tn,V as bt,W as pl,X as U,Y as V,Z as ml,_ as X,$ as ie}from"./index-OMTxPB5B.js";import{navTree as _l,routes as kl}from"../base.js";import{dasMap as bl}from"../das_import_map.js";import vl from"../../garden.config.js";function Qe(s){return(s==null?void 0:s.length)!==void 0?s:Array.from(s)}const wl=s=>({}),_n=s=>({}),xl=s=>({}),kn=s=>({});function El(s){let e,t,n,l,i,r,a,u;const c=s[8].top,h=pt(c,s,s[7],kn),f=s[8].bottom,g=pt(f,s,s[7],_n);return{c(){e=y("div"),t=y("div"),h&&h.c(),n=N(),l=y("div"),i=N(),g&&g.c(),this.h()},l(d){e=T(d,"DIV",{class:!0});var _=b(e);t=T(_,"DIV",{class:!0,style:!0});var S=b(t);h&&h.l(S),S.forEach(p),n=A(_),l=T(_,"DIV",{class:!0}),b(l).forEach(p),i=A(_),g&&g.l(_),_.forEach(p),this.h()},h(){o(t,"class","top svelte-1pql0kc"),at(t,"height",s[2]),o(l,"class","dragbar svelte-1pql0kc"),W(l,"dragging",s[1]),o(e,"class","container svelte-1pql0kc")},m(d,_){B(d,e,_),m(e,t),h&&h.m(t,null),m(e,n),m(e,l),m(e,i),g&&g.m(e,null),s[9](e),r=!0,a||(u=ee(l,"mousedown",s[3]),a=!0)},p(d,[_]){h&&h.p&&(!r||_&128)&&mt(h,c,d,d[7],r?kt(c,d[7],_,xl):_t(d[7]),kn),(!r||_&4)&&at(t,"height",d[2]),(!r||_&2)&&W(l,"dragging",d[1]),g&&g.p&&(!r||_&128)&&mt(g,f,d,d[7],r?kt(f,d[7],_,wl):_t(d[7]),_n)},i(d){r||(P(h,d),P(g,d),r=!0)},o(d){F(h,d),F(g,d),r=!1},d(d){d&&p(e),h&&h.d(d),g&&g.d(d),s[9](null),a=!1,u()}}}function yl(s,e,t){let{$$slots:n={},$$scope:l}=e;const i=Ye();let{topHeight:r}=e,{maxHeight:a}=e,u,c=!1,h=!1,f;const g=new ResizeObserver(k=>{k.forEach(()=>{i("out",{maxHeight:u.offsetHeight,maxWidth:u.offsetWidth})})});Zn(()=>{g.observe(u)}),Fn(()=>{g.disconnect()});function d(){document.addEventListener("mousemove",_),document.addEventListener("mouseup",S),t(1,c=!0)}const _=k=>{window.getSelection().removeAllRanges();const v=Math.min(a,k.pageY-u.offsetTop-7);t(4,r=v),i("out",{topHeight:r})};function S(){document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",S),i("out",{topHeight:r}),t(1,c=!1)}function q(k){vt[k?"unshift":"push"](()=>{u=k,t(0,u)})}return s.$$set=k=>{"topHeight"in k&&t(4,r=k.topHeight),"maxHeight"in k&&t(5,a=k.maxHeight),"$$scope"in k&&t(7,l=k.$$scope)},s.$$.update=()=>{if(s.$$.dirty&65&&u&&!h){t(6,h=!0);const k=u.offsetHeight;i("out",{maxHeight:k,topHeight:Math.round(k*.7)})}s.$$.dirty&48&&Number.isInteger(r)&&Number.isInteger(a)&&t(2,f=a<r?a+"px":r+"px")},[u,c,f,d,r,a,h,l,n,q]}class Tl extends Te{constructor(e){super(),Se(this,e,yl,El,Ee,{topHeight:4,maxHeight:5})}}function Sl(s){let e,t,n,l,i='<div class="dragbar-icon svelte-mmou7f"></div>',r,a,u='<div class="dragbar-icon svelte-mmou7f"></div>',c,h,f='<div class="dragbar-icon svelte-mmou7f"></div>',g,d,_;const S=s[10].default,q=pt(S,s,s[9],null);return{c(){e=y("div"),t=y("div"),q&&q.c(),n=N(),l=y("div"),l.innerHTML=i,r=N(),a=y("div"),a.innerHTML=u,c=N(),h=y("div"),h.innerHTML=f,this.h()},l(k){e=T(k,"DIV",{class:!0});var v=b(e);t=T(v,"DIV",{class:!0});var E=b(t);q&&q.l(E),E.forEach(p),n=A(v),l=T(v,"DIV",{class:!0,"data-svelte-h":!0}),xe(l)!=="svelte-t0brzg"&&(l.innerHTML=i),r=A(v),a=T(v,"DIV",{class:!0,"data-svelte-h":!0}),xe(a)!=="svelte-tvugpc"&&(a.innerHTML=u),c=A(v),h=T(v,"DIV",{class:!0,"data-svelte-h":!0}),xe(h)!=="svelte-1j8ul53"&&(h.innerHTML=f),v.forEach(p),this.h()},h(){o(t,"class","resizepane"),W(t,"disabled",s[0]),at(t,"width",s[0]?void 0:s[3]),at(t,"height",s[0]?void 0:s[2]),o(l,"class","dragbar vertical svelte-mmou7f"),W(l,"disabled",s[0]),o(a,"class","dragbar horizontal svelte-mmou7f"),W(a,"disabled",s[0]),o(h,"class","dragbar corner svelte-mmou7f"),W(h,"disabled",s[0]),o(e,"class","resizepane-container svelte-mmou7f"),W(e,"disabled",s[0])},m(k,v){B(k,e,v),m(e,t),q&&q.m(t,null),s[11](t),m(e,n),m(e,l),m(e,r),m(e,a),m(e,c),m(e,h),g=!0,d||(_=[ee(l,"mousedown",s[4]("vertical")),ee(a,"mousedown",s[4]("horizontal")),ee(h,"mousedown",s[4]("verticalhorizontal"))],d=!0)},p(k,[v]){q&&q.p&&(!g||v&512)&&mt(q,S,k,k[9],g?kt(S,k[9],v,null):_t(k[9]),null),(!g||v&1)&&W(t,"disabled",k[0]),v&9&&at(t,"width",k[0]?void 0:k[3]),v&5&&at(t,"height",k[0]?void 0:k[2]),(!g||v&1)&&W(l,"disabled",k[0]),(!g||v&1)&&W(a,"disabled",k[0]),(!g||v&1)&&W(h,"disabled",k[0]),(!g||v&1)&&W(e,"disabled",k[0])},i(k){g||(P(q,k),g=!0)},o(k){F(q,k),g=!1},d(k){k&&p(e),q&&q.d(k),s[11](null),d=!1,Nt(_)}}}function zl(s,e,t){let{$$slots:n={},$$scope:l}=e,{disabled:i=!1}=e,{maxHeight:r}=e,{maxWidth:a}=e,{paneHeight:u}=e,{paneWidth:c}=e;const h=Ye();let f,g="",d,_;const S=E=>()=>{g=E,document.addEventListener("mousemove",q),document.addEventListener("mouseup",k)},q=E=>{if(window.getSelection().removeAllRanges(),g.includes("horizontal")){let w=E.pageY-f.offsetTop;w>r?w="full":(w=Math.min(r,w),w=Math.max(50,w)),h("out",{stageHeight:w})}if(g.includes("vertical")){let w=E.pageX-f.offsetLeft;w>a?w="full":(w=Math.min(a,w),w=Math.max(50,w)),h("out",{stageWidth:w})}};function k(){document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",k)}function v(E){vt[E?"unshift":"push"](()=>{f=E,t(1,f)})}return s.$$set=E=>{"disabled"in E&&t(0,i=E.disabled),"maxHeight"in E&&t(5,r=E.maxHeight),"maxWidth"in E&&t(6,a=E.maxWidth),"paneHeight"in E&&t(7,u=E.paneHeight),"paneWidth"in E&&t(8,c=E.paneWidth),"$$scope"in E&&t(9,l=E.$$scope)},s.$$.update=()=>{s.$$.dirty&161&&(Number.isInteger(u)&&!i?t(2,d=Math.min(u,r)+"px"):t(2,d=r+"px")),s.$$.dirty&320&&(Number.isInteger(c)?t(3,_=Math.min(c,a)+"px"):t(3,_=a+"px"))},[i,f,d,_,S,r,a,u,c,l,n,v]}class ql extends Te{constructor(e){super(),Se(this,e,zl,Sl,Ee,{disabled:0,maxHeight:5,maxWidth:6,paneHeight:7,paneWidth:8})}}function Cl(s){let e,t,n;const l=[s[0].props];var i=s[0].page;function r(a,u){let c={};for(let h=0;h<l.length;h+=1)c=mn(c,l[h]);return u!==void 0&&u&1&&(c=mn(c,gn(l,[pn(a[0].props)]))),{props:c}}return i&&(e=dn(i,r(s)),e.$on("out",s[1])),{c(){e&&Ce(e.$$.fragment),t=Ze()},l(a){e&&Le(e.$$.fragment,a),t=Ze()},m(a,u){e&&Me(e,a,u),B(a,t,u),n=!0},p(a,[u]){if(u&1&&i!==(i=a[0].page)){if(e){Je();const c=e;F(c.$$.fragment,1,0,()=>{He(c,1)}),Ke()}i?(e=dn(i,r(a,u)),e.$on("out",a[1]),Ce(e.$$.fragment),P(e.$$.fragment,1),Me(e,t.parentNode,t)):e=null}else if(i){const c=u&1?gn(l,[pn(a[0].props)]):{};e.$set(c)}},i(a){n||(e&&P(e.$$.fragment,a),n=!0)},o(a){e&&F(e.$$.fragment,a),n=!1},d(a){a&&p(t),e&&He(e,a)}}}function Ml(s,e,t){let{item:n={}}=e;function l(i){At.call(this,s,i)}return s.$$set=i=>{"item"in i&&t(0,n=i.item)},[n,l]}class Hl extends Te{constructor(e){super(),Se(this,e,Ml,Cl,Ee,{item:0})}}function bn(s,e,t){const n=s.slice();return n[9]=e[t],n}function vn(s){let e,t,n,l,i,r='<svg class="controls_btn-icon svelte-19zoa7t" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"></rect><line x1="3" x2="21" y1="15" y2="15"></line><path d="m15 8-3 3-3-3"></path></svg>',a,u,c,h,f,g,d,_=Qe(s[0]),S=[];for(let E=0;E<_.length;E+=1)S[E]=wn(bn(s,_,E));const q=[Rl,Il],k=[];function v(E,w){return E[1]&&E[1].page?0:1}return c=v(s),h=k[c]=q[c](s),{c(){e=y("div"),t=y("nav"),n=y("ul");for(let E=0;E<S.length;E+=1)S[E].c();l=N(),i=y("button"),i.innerHTML=r,a=N(),u=y("div"),h.c(),this.h()},l(E){e=T(E,"DIV",{class:!0});var w=b(e);t=T(w,"NAV",{class:!0});var R=b(t);n=T(R,"UL",{class:!0});var M=b(n);for(let Y=0;Y<S.length;Y+=1)S[Y].l(M);M.forEach(p),R.forEach(p),l=A(w),i=T(w,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),xe(i)!=="svelte-mhvd"&&(i.innerHTML=r),w.forEach(p),a=A(E),u=T(E,"DIV",{class:!0});var j=b(u);h.l(j),j.forEach(p),this.h()},h(){o(n,"class","svelte-19zoa7t"),o(t,"class","svelte-19zoa7t"),o(i,"class","panel_toggle svelte-19zoa7t"),o(i,"title","Collapse panel"),o(e,"class","panel_nav svelte-19zoa7t"),o(u,"class","panel_pane svelte-19zoa7t")},m(E,w){B(E,e,w),m(e,t),m(t,n);for(let R=0;R<S.length;R+=1)S[R]&&S[R].m(n,null);m(e,l),m(e,i),B(E,a,w),B(E,u,w),k[c].m(u,null),f=!0,g||(d=ee(i,"click",s[3]),g=!0)},p(E,w){if(w&7){_=Qe(E[0]);let M;for(M=0;M<_.length;M+=1){const j=bn(E,_,M);S[M]?S[M].p(j,w):(S[M]=wn(j),S[M].c(),S[M].m(n,null))}for(;M<S.length;M+=1)S[M].d(1);S.length=_.length}let R=c;c=v(E),c===R?k[c].p(E,w):(Je(),F(k[R],1,1,()=>{k[R]=null}),Ke(),h=k[c],h?h.p(E,w):(h=k[c]=q[c](E),h.c()),P(h,1),h.m(u,null))},i(E){f||(P(h),f=!0)},o(E){F(h),f=!1},d(E){E&&(p(e),p(a),p(u)),jt(S,E),k[c].d(),g=!1,d()}}}function wn(s){let e,t,n=s[9].name+"",l,i,r,a,u;return{c(){e=y("li"),t=y("button"),l=be(n),i=y("span"),r=N(),this.h()},l(c){e=T(c,"LI",{});var h=b(e);t=T(h,"BUTTON",{class:!0});var f=b(t);l=ve(f,n),i=T(f,"SPAN",{class:!0}),b(i).forEach(p),f.forEach(p),r=A(h),h.forEach(p),this.h()},h(){o(i,"class","dot svelte-19zoa7t"),o(t,"class","svelte-19zoa7t"),W(t,"active",s[9]==s[1])},m(c,h){B(c,e,h),m(e,t),m(t,l),m(t,i),m(e,r),a||(u=ee(t,"click",function(){$t(s[2](s[9]))&&s[2](s[9]).apply(this,arguments)}),a=!0)},p(c,h){s=c,h&1&&n!==(n=s[9].name+"")&&Fe(l,n),h&3&&W(t,"active",s[9]==s[1])},d(c){c&&p(e),a=!1,u()}}}function Il(s){let e;const t=s[7].default,n=pt(t,s,s[6],null),l=n||Ll();return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,r){l&&l.m(i,r),e=!0},p(i,r){n&&n.p&&(!e||r&64)&&mt(n,t,i,i[6],e?kt(t,i[6],r,null):_t(i[6]),null)},i(i){e||(P(l,i),e=!0)},o(i){F(l,i),e=!1},d(i){l&&l.d(i)}}}function Rl(s){let e,t;return e=new Hl({props:{item:s[1]}}),e.$on("out",s[4]),{c(){Ce(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,l){Me(e,n,l),t=!0},p(n,l){const i={};l&2&&(i.item=n[1]),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Ll(s){let e;return{c(){e=be("No tab content provided")},l(t){e=ve(t,"No tab content provided")},m(t,n){B(t,e,n)},d(t){t&&p(e)}}}function Nl(s){let e,t,n=s[0].length&&vn(s);return{c(){e=y("div"),n&&n.c(),this.h()},l(l){e=T(l,"DIV",{class:!0});var i=b(e);n&&n.l(i),i.forEach(p),this.h()},h(){o(e,"class","panel_container svelte-19zoa7t")},m(l,i){B(l,e,i),n&&n.m(e,null),t=!0},p(l,[i]){l[0].length?n?(n.p(l,i),i&1&&P(n,1)):(n=vn(l),n.c(),P(n,1),n.m(e,null)):n&&(Je(),F(n,1,1,()=>{n=null}),Ke())},i(l){t||(P(n),t=!0)},o(l){F(n),t=!1},d(l){l&&p(e),n&&n.d()}}}function Al(s,e,t){let{$$slots:n={},$$scope:l}=e;const i=Ye();let{tabs:r=[]}=e,a={},u;const c=g=>()=>{t(5,a=g.name),i("out",{selecteditem:g})};function h(){i("out",{toggleExpandPanel:!0})}function f(g){u.out&&u.out(g)}return s.$$set=g=>{"tabs"in g&&t(0,r=g.tabs),"$$scope"in g&&t(6,l=g.$$scope)},s.$$.update=()=>{s.$$.dirty&33&&(r?t(1,u=r.find(g=>g.name===a)||r[0]):t(1,u={}))},[r,u,c,h,f,a,l,n]}class jl extends Te{constructor(e){super(),Se(this,e,Al,Nl,Ee,{tabs:0})}}function xn(s,e,t){const n=s.slice();return n[4]=e[t],n}function En(s){let e,t,n,l,i=s[4]+"",r,a,u,c;return{c(){e=y("li"),t=y("button"),n=y("span"),l=N(),r=be(i),a=N(),this.h()},l(h){e=T(h,"LI",{});var f=b(e);t=T(f,"BUTTON",{class:!0});var g=b(t);n=T(g,"SPAN",{class:!0}),b(n).forEach(p),l=A(g),r=ve(g,i),g.forEach(p),a=A(f),f.forEach(p),this.h()},h(){o(n,"class","dot svelte-9ikz8y"),o(t,"class","svelte-9ikz8y"),W(e,"active",s[1]==s[4])},m(h,f){B(h,e,f),m(e,t),m(t,n),m(t,l),m(t,r),m(e,a),u||(c=ee(t,"click",function(){$t(s[2](s[4]))&&s[2](s[4]).apply(this,arguments)}),u=!0)},p(h,f){s=h,f&1&&i!==(i=s[4]+"")&&Fe(r,i),f&3&&W(e,"active",s[1]==s[4])},d(h){h&&p(e),u=!1,c()}}}function Bl(s){let e,t=Qe(s[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=En(xn(s,t,l));return{c(){e=y("ul");for(let l=0;l<n.length;l+=1)n[l].c();this.h()},l(l){e=T(l,"UL",{class:!0});var i=b(e);for(let r=0;r<n.length;r+=1)n[r].l(i);i.forEach(p),this.h()},h(){o(e,"class","stories svelte-9ikz8y")},m(l,i){B(l,e,i);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(l,[i]){if(i&7){t=Qe(l[0]);let r;for(r=0;r<t.length;r+=1){const a=xn(l,t,r);n[r]?n[r].p(a,i):(n[r]=En(a),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:ce,o:ce,d(l){l&&p(e),jt(n,l)}}}function Dl(s,e,t){let{items:n=[]}=e,{selected:l}=e;const i=Ye(),r=a=>()=>{i("out",{selecteditem:a})};return s.$$set=a=>{"items"in a&&t(0,n=a.items),"selected"in a&&t(1,l=a.selected)},[n,l,r]}class Wl extends Te{constructor(e){super(),Se(this,e,Dl,Bl,Ee,{items:0,selected:1})}}function Qn(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let nt=Qn();function Pl(s){nt=s}const Gn=/[&<>"']/,Ol=new RegExp(Gn.source,"g"),Xn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Ul=new RegExp(Xn.source,"g"),Vl={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},yn=s=>Vl[s];function me(s,e){if(e){if(Gn.test(s))return s.replace(Ol,yn)}else if(Xn.test(s))return s.replace(Ul,yn);return s}const Zl=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Yn(s){return s.replace(Zl,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Fl=/(^|[^\[])\^/g;function K(s,e){s=typeof s=="string"?s:s.source,e=e||"";const t={replace:(n,l)=>(l=l.source||l,l=l.replace(Fl,"$1"),s=s.replace(n,l),t),getRegex:()=>new RegExp(s,e)};return t}const Ql=/[^\w:]/g,Gl=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Tn(s,e,t){if(s){let n;try{n=decodeURIComponent(Yn(t)).replace(Ql,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!Gl.test(t)&&(t=Kl(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const St={},Xl=/^[^:]+:\/*[^/]*$/,Yl=/^([^:]+:)[\s\S]*$/,Jl=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Kl(s,e){St[" "+s]||(Xl.test(s)?St[" "+s]=s+"/":St[" "+s]=zt(s,"/",!0)),s=St[" "+s];const t=s.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:s.replace(Yl,"$1")+e:e.charAt(0)==="/"?t?e:s.replace(Jl,"$1")+e:s+e}const Ct={exec:function(){}};function Sn(s,e){const t=s.replace(/\|/g,(i,r,a)=>{let u=!1,c=r;for(;--c>=0&&a[c]==="\\";)u=!u;return u?"|":" |"}),n=t.split(/ \|/);let l=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;l<n.length;l++)n[l]=n[l].trim().replace(/\\\|/g,"|");return n}function zt(s,e,t){const n=s.length;if(n===0)return"";let l=0;for(;l<n;){const i=s.charAt(n-l-1);if(i===e&&!t)l++;else if(i!==e&&t)l++;else break}return s.slice(0,n-l)}function $l(s,e){if(s.indexOf(e[1])===-1)return-1;const t=s.length;let n=0,l=0;for(;l<t;l++)if(s[l]==="\\")l++;else if(s[l]===e[0])n++;else if(s[l]===e[1]&&(n--,n<0))return l;return-1}function es(s){s&&s.sanitize&&!s.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function zn(s,e){if(e<1)return"";let t="";for(;e>1;)e&1&&(t+=s),e>>=1,s+=s;return t+s}function qn(s,e,t,n){const l=e.href,i=e.title?me(e.title):null,r=s[1].replace(/\\([\[\]])/g,"$1");if(s[0].charAt(0)!=="!"){n.state.inLink=!0;const a={type:"link",raw:t,href:l,title:i,text:r,tokens:n.inlineTokens(r)};return n.state.inLink=!1,a}return{type:"image",raw:t,href:l,title:i,text:me(r)}}function ts(s,e){const t=s.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
2
+ `).map(l=>{const i=l.match(/^\s+/);if(i===null)return l;const[r]=i;return r.length>=n.length?l.slice(n.length):l}).join(`
3
+ `)}class nn{constructor(e){this.options=e||nt}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:zt(n,`
4
+ `)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],l=ts(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:l}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const l=zt(n,"#");(this.options.pedantic||!l||/ $/.test(l))&&(n=l.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=t[0].replace(/^ *>[ \t]?/gm,""),l=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(n);return this.lexer.state.top=l,{type:"blockquote",raw:t[0],tokens:i,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,l,i,r,a,u,c,h,f,g,d,_,S=t[1].trim();const q=S.length>1,k={type:"list",raw:"",ordered:q,start:q?+S.slice(0,-1):"",loose:!1,items:[]};S=q?`\\d{1,9}\\${S.slice(-1)}`:`\\${S}`,this.options.pedantic&&(S=q?S:"[*+-]");const v=new RegExp(`^( {0,3}${S})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(_=!1,!(!(t=v.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),h=t[2].split(`
5
+ `,1)[0].replace(/^\t+/,w=>" ".repeat(3*w.length)),f=e.split(`
6
+ `,1)[0],this.options.pedantic?(r=2,d=h.trimLeft()):(r=t[2].search(/[^ ]/),r=r>4?1:r,d=h.slice(r),r+=t[1].length),u=!1,!h&&/^ *$/.test(f)&&(n+=f+`
7
+ `,e=e.substring(f.length+1),_=!0),!_){const w=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),R=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),M=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),j=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;e&&(g=e.split(`
8
+ `,1)[0],f=g,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(M.test(f)||j.test(f)||w.test(f)||R.test(e)));){if(f.search(/[^ ]/)>=r||!f.trim())d+=`
9
+ `+f.slice(r);else{if(u||h.search(/[^ ]/)>=4||M.test(h)||j.test(h)||R.test(h))break;d+=`
10
+ `+f}!u&&!f.trim()&&(u=!0),n+=g+`
11
+ `,e=e.substring(g.length+1),h=f.slice(r)}}k.loose||(c?k.loose=!0:/\n *\n *$/.test(n)&&(c=!0)),this.options.gfm&&(l=/^\[[ xX]\] /.exec(d),l&&(i=l[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),k.items.push({type:"list_item",raw:n,task:!!l,checked:i,loose:!1,text:d}),k.raw+=n}k.items[k.items.length-1].raw=n.trimRight(),k.items[k.items.length-1].text=d.trimRight(),k.raw=k.raw.trimRight();const E=k.items.length;for(a=0;a<E;a++)if(this.lexer.state.top=!1,k.items[a].tokens=this.lexer.blockTokens(k.items[a].text,[]),!k.loose){const w=k.items[a].tokens.filter(M=>M.type==="space"),R=w.length>0&&w.some(M=>/\n.*\n/.test(M.raw));k.loose=R}if(k.loose)for(a=0;a<E;a++)k.items[a].loose=!0;return k}}html(e){const t=this.rules.block.html.exec(e);if(t){const n={type:"html",raw:t[0],pre:!this.options.sanitizer&&(t[1]==="pre"||t[1]==="script"||t[1]==="style"),text:t[0]};if(this.options.sanitize){const l=this.options.sanitizer?this.options.sanitizer(t[0]):me(t[0]);n.type="paragraph",n.text=l,n.tokens=this.lexer.inline(l)}return n}}def(e){const t=this.rules.block.def.exec(e);if(t){const n=t[1].toLowerCase().replace(/\s+/g," "),l=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:l,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(t){const n={type:"table",header:Sn(t[1]).map(l=>({text:l})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
12
+ `):[]};if(n.header.length===n.align.length){n.raw=t[0];let l=n.align.length,i,r,a,u;for(i=0;i<l;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(l=n.rows.length,i=0;i<l;i++)n.rows[i]=Sn(n.rows[i],n.header.length).map(c=>({text:c}));for(l=n.header.length,r=0;r<l;r++)n.header[r].tokens=this.lexer.inline(n.header[r].text);for(l=n.rows.length,r=0;r<l;r++)for(u=n.rows[r],a=0;a<u.length;a++)u[a].tokens=this.lexer.inline(u[a].text);return n}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const n=t[1].charAt(t[1].length-1)===`
13
+ `?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:me(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):me(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const r=zt(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{const r=$l(t[2],"()");if(r>-1){const u=(t[0].indexOf("!")===0?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,u).trim(),t[3]=""}}let l=t[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);r&&(l=r[1],i=r[3])}else i=t[3]?t[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(n)?l=l.slice(1):l=l.slice(1,-1)),qn(t,{href:l&&l.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let l=(n[2]||n[1]).replace(/\s+/g," ");if(l=t[l.toLowerCase()],!l){const i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return qn(n,l,n[0],this.lexer)}}emStrong(e,t,n=""){let l=this.rules.inline.emStrong.lDelim.exec(e);if(!l||l[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=l[1]||l[2]||"";if(!i||i&&(n===""||this.rules.inline.punctuation.exec(n))){const r=l[0].length-1;let a,u,c=r,h=0;const f=l[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+r);(l=f.exec(t))!=null;){if(a=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!a)continue;if(u=a.length,l[3]||l[4]){c+=u;continue}else if((l[5]||l[6])&&r%3&&!((r+u)%3)){h+=u;continue}if(c-=u,c>0)continue;u=Math.min(u,u+c+h);const g=e.slice(0,r+l.index+(l[0].length-a.length)+u);if(Math.min(r,u)%2){const _=g.slice(1,-1);return{type:"em",raw:g,text:_,tokens:this.lexer.inlineTokens(_)}}const d=g.slice(2,-2);return{type:"strong",raw:g,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const l=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return l&&i&&(n=n.substring(1,n.length-1)),n=me(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let l,i;return n[2]==="@"?(l=me(this.options.mangle?t(n[1]):n[1]),i="mailto:"+l):(l=me(n[1]),i=l),{type:"link",raw:n[0],text:l,href:i,tokens:[{type:"text",raw:l,text:l}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let l,i;if(n[2]==="@")l=me(this.options.mangle?t(n[0]):n[0]),i="mailto:"+l;else{let r;do r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(r!==n[0]);l=me(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:l,href:i,tokens:[{type:"text",raw:l,text:l}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let l;return this.lexer.state.inRawBlock?l=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):me(n[0]):n[0]:l=me(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:l}}}}const I={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Ct,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};I._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;I._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;I.def=K(I.def).replace("label",I._label).replace("title",I._title).getRegex();I.bullet=/(?:[*+-]|\d{1,9}[.)])/;I.listItemStart=K(/^( *)(bull) */).replace("bull",I.bullet).getRegex();I.list=K(I.list).replace(/bull/g,I.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+I.def.source+")").getRegex();I._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";I._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;I.html=K(I.html,"i").replace("comment",I._comment).replace("tag",I._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();I.paragraph=K(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex();I.blockquote=K(I.blockquote).replace("paragraph",I.paragraph).getRegex();I.normal={...I};I.gfm={...I.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};I.gfm.table=K(I.gfm.table).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex();I.gfm.paragraph=K(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",I.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",I._tag).getRegex();I.pedantic={...I.normal,html:K(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",I._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ct,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:K(I.normal._paragraph).replace("hr",I.hr).replace("heading",` *#{1,6} *[^
14
+ ]`).replace("lheading",I.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const C={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ct,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ct,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};C._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";C.punctuation=K(C.punctuation).replace(/punctuation/g,C._punctuation).getRegex();C.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;C.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;C._comment=K(I._comment).replace("(?:-->|$)","-->").getRegex();C.emStrong.lDelim=K(C.emStrong.lDelim).replace(/punct/g,C._punctuation).getRegex();C.emStrong.rDelimAst=K(C.emStrong.rDelimAst,"g").replace(/punct/g,C._punctuation).getRegex();C.emStrong.rDelimUnd=K(C.emStrong.rDelimUnd,"g").replace(/punct/g,C._punctuation).getRegex();C._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;C._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;C._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;C.autolink=K(C.autolink).replace("scheme",C._scheme).replace("email",C._email).getRegex();C._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;C.tag=K(C.tag).replace("comment",C._comment).replace("attribute",C._attribute).getRegex();C._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;C._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;C._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;C.link=K(C.link).replace("label",C._label).replace("href",C._href).replace("title",C._title).getRegex();C.reflink=K(C.reflink).replace("label",C._label).replace("ref",I._label).getRegex();C.nolink=K(C.nolink).replace("ref",I._label).getRegex();C.reflinkSearch=K(C.reflinkSearch,"g").replace("reflink",C.reflink).replace("nolink",C.nolink).getRegex();C.normal={...C};C.pedantic={...C.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:K(/^!?\[(label)\]\((.*?)\)/).replace("label",C._label).getRegex(),reflink:K(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",C._label).getRegex()};C.gfm={...C.normal,escape:K(C.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/};C.gfm.url=K(C.gfm.url,"i").replace("email",C.gfm._extended_email).getRegex();C.breaks={...C.gfm,br:K(C.br).replace("{2,}","*").getRegex(),text:K(C.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};function ns(s){return s.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function Cn(s){let e="",t,n;const l=s.length;for(t=0;t<l;t++)n=s.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class Ge{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||nt,this.options.tokenizer=this.options.tokenizer||new nn,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:I.normal,inline:C.normal};this.options.pedantic?(t.block=I.pedantic,t.inline=C.pedantic):this.options.gfm&&(t.block=I.gfm,this.options.breaks?t.inline=C.breaks:t.inline=C.gfm),this.tokenizer.rules=t}static get rules(){return{block:I,inline:C}}static lex(e,t){return new Ge(t).lex(e)}static lexInline(e,t){return new Ge(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
15
+ `),this.blockTokens(e,this.tokens);let t;for(;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(a,u,c)=>u+" ".repeat(c.length));let n,l,i,r;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(n=a.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&t.length>0?t[t.length-1].raw+=`
16
+ `:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
17
+ `+n.raw,l.text+=`
18
+ `+n.text,this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
19
+ `+n.raw,l.text+=`
20
+ `+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=l.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const u=e.slice(1);let c;this.options.extensions.startBlock.forEach(function(h){c=h.call({lexer:this},u),typeof c=="number"&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(i=e.substring(0,a+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){l=t[t.length-1],r&&l.type==="paragraph"?(l.raw+=`
21
+ `+n.raw,l.text+=`
22
+ `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n),r=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&l.type==="text"?(l.raw+=`
23
+ `+n.raw,l.text+=`
24
+ `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,l,i,r=e,a,u,c;if(this.tokens.links){const h=Object.keys(this.tokens.links);if(h.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)h.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+zn("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,a.index)+"["+zn("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(r))!=null;)r=r.slice(0,a.index+a[0].length-2)+"++"+r.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(u||(c=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(h=>(n=h.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&n.type==="text"&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),l=t[t.length-1],l&&n.type==="text"&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,r,c)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e,Cn)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,Cn))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let h=1/0;const f=e.slice(1);let g;this.options.extensions.startInline.forEach(function(d){g=d.call({lexer:this},f),typeof g=="number"&&g>=0&&(h=Math.min(h,g))}),h<1/0&&h>=0&&(i=e.substring(0,h+1))}if(n=this.tokenizer.inlineText(i,ns)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),u=!0,l=t[t.length-1],l&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(e){const h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}else throw new Error(h)}}return t}}class ln{constructor(e){this.options=e||nt}code(e,t,n){const l=(t||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(e,l);i!=null&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+`
25
+ `,l?'<pre><code class="'+this.options.langPrefix+me(l)+'">'+(n?e:me(e,!0))+`</code></pre>
26
+ `:"<pre><code>"+(n?e:me(e,!0))+`</code></pre>
27
+ `}blockquote(e){return`<blockquote>
28
+ ${e}</blockquote>
29
+ `}html(e){return e}heading(e,t,n,l){if(this.options.headerIds){const i=this.options.headerPrefix+l.slug(n);return`<h${t} id="${i}">${e}</h${t}>
30
+ `}return`<h${t}>${e}</h${t}>
31
+ `}hr(){return this.options.xhtml?`<hr/>
32
+ `:`<hr>
33
+ `}list(e,t,n){const l=t?"ol":"ul",i=t&&n!==1?' start="'+n+'"':"";return"<"+l+i+`>
34
+ `+e+"</"+l+`>
35
+ `}listitem(e){return`<li>${e}</li>
36
+ `}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>
37
+ `}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),`<table>
38
+ <thead>
39
+ `+e+`</thead>
40
+ `+t+`</table>
41
+ `}tablerow(e){return`<tr>
42
+ ${e}</tr>
43
+ `}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>
44
+ `}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){if(e=Tn(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let l='<a href="'+e+'"';return t&&(l+=' title="'+t+'"'),l+=">"+n+"</a>",l}image(e,t,n){if(e=Tn(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let l=`<img src="${e}" alt="${n}"`;return t&&(l+=` title="${t}"`),l+=this.options.xhtml?"/>":">",l}text(e){return e}}class Jn{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class Kn{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,l=0;if(this.seen.hasOwnProperty(n)){l=this.seen[e];do l++,n=e+"-"+l;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=l,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class Xe{constructor(e){this.options=e||nt,this.options.renderer=this.options.renderer||new ln,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Jn,this.slugger=new Kn}static parse(e,t){return new Xe(t).parse(e)}static parseInline(e,t){return new Xe(t).parseInline(e)}parse(e,t=!0){let n="",l,i,r,a,u,c,h,f,g,d,_,S,q,k,v,E,w,R,M;const j=e.length;for(l=0;l<j;l++){if(d=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(M=this.options.extensions.renderers[d.type].call({parser:this},d),M!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))){n+=M||"";continue}switch(d.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(d.tokens),d.depth,Yn(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(d.text,d.lang,d.escaped);continue}case"table":{for(f="",h="",a=d.header.length,i=0;i<a;i++)h+=this.renderer.tablecell(this.parseInline(d.header[i].tokens),{header:!0,align:d.align[i]});for(f+=this.renderer.tablerow(h),g="",a=d.rows.length,i=0;i<a;i++){for(c=d.rows[i],h="",u=c.length,r=0;r<u;r++)h+=this.renderer.tablecell(this.parseInline(c[r].tokens),{header:!1,align:d.align[r]});g+=this.renderer.tablerow(h)}n+=this.renderer.table(f,g);continue}case"blockquote":{g=this.parse(d.tokens),n+=this.renderer.blockquote(g);continue}case"list":{for(_=d.ordered,S=d.start,q=d.loose,a=d.items.length,g="",i=0;i<a;i++)v=d.items[i],E=v.checked,w=v.task,k="",v.task&&(R=this.renderer.checkbox(E),q?v.tokens.length>0&&v.tokens[0].type==="paragraph"?(v.tokens[0].text=R+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"&&(v.tokens[0].tokens[0].text=R+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:R}):k+=R),k+=this.parse(v.tokens,q),g+=this.renderer.listitem(k,w,E);n+=this.renderer.list(g,_,S);continue}case"html":{n+=this.renderer.html(d.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(d.tokens));continue}case"text":{for(g=d.tokens?this.parseInline(d.tokens):d.text;l+1<j&&e[l+1].type==="text";)d=e[++l],g+=`
45
+ `+(d.tokens?this.parseInline(d.tokens):d.text);n+=t?this.renderer.paragraph(g):g;continue}default:{const Y='Token with "'+d.type+'" type was not found.';if(this.options.silent){console.error(Y);return}else throw new Error(Y)}}}return n}parseInline(e,t){t=t||this.renderer;let n="",l,i,r;const a=e.length;for(l=0;l<a;l++){if(i=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(r=this.options.extensions.renderers[i.type].call({parser:this},i),r!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){n+=r||"";continue}switch(i.type){case"escape":{n+=t.text(i.text);break}case"html":{n+=t.html(i.text);break}case"link":{n+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break}case"image":{n+=t.image(i.href,i.title,i.text);break}case"strong":{n+=t.strong(this.parseInline(i.tokens,t));break}case"em":{n+=t.em(this.parseInline(i.tokens,t));break}case"codespan":{n+=t.codespan(i.text);break}case"br":{n+=t.br();break}case"del":{n+=t.del(this.parseInline(i.tokens,t));break}case"text":{n+=t.text(i.text);break}default:{const u='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(u);return}else throw new Error(u)}}}return n}}class Mt{constructor(e){this.options=e||nt}preprocess(e){return e}postprocess(e){return e}}fn(Mt,"passThroughHooks",new Set(["preprocess","postprocess"]));function ls(s,e,t){return n=>{if(n.message+=`
46
+ Please report this to https://github.com/markedjs/marked.`,s){const l="<p>An error occurred:</p><pre>"+me(n.message+"",!0)+"</pre>";if(e)return Promise.resolve(l);if(t){t(null,l);return}return l}if(e)return Promise.reject(n);if(t){t(n);return}throw n}}function $n(s,e){return(t,n,l)=>{typeof n=="function"&&(l=n,n=null);const i={...n};n={...H.defaults,...i};const r=ls(n.silent,n.async,l);if(typeof t>"u"||t===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(es(n),n.hooks&&(n.hooks.options=n),l){const a=n.highlight;let u;try{n.hooks&&(t=n.hooks.preprocess(t)),u=s(t,n)}catch(f){return r(f)}const c=function(f){let g;if(!f)try{n.walkTokens&&H.walkTokens(u,n.walkTokens),g=e(u,n),n.hooks&&(g=n.hooks.postprocess(g))}catch(d){f=d}return n.highlight=a,f?r(f):l(null,g)};if(!a||a.length<3||(delete n.highlight,!u.length))return c();let h=0;H.walkTokens(u,function(f){f.type==="code"&&(h++,setTimeout(()=>{a(f.text,f.lang,function(g,d){if(g)return c(g);d!=null&&d!==f.text&&(f.text=d,f.escaped=!0),h--,h===0&&c()})},0))}),h===0&&c();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(t):t).then(a=>s(a,n)).then(a=>n.walkTokens?Promise.all(H.walkTokens(a,n.walkTokens)).then(()=>a):a).then(a=>e(a,n)).then(a=>n.hooks?n.hooks.postprocess(a):a).catch(r);try{n.hooks&&(t=n.hooks.preprocess(t));const a=s(t,n);n.walkTokens&&H.walkTokens(a,n.walkTokens);let u=e(a,n);return n.hooks&&(u=n.hooks.postprocess(u)),u}catch(a){return r(a)}}}function H(s,e,t){return $n(Ge.lex,Xe.parse)(s,e,t)}H.options=H.setOptions=function(s){return H.defaults={...H.defaults,...s},Pl(H.defaults),H};H.getDefaults=Qn;H.defaults=nt;H.use=function(...s){const e=H.defaults.extensions||{renderers:{},childTokens:{}};s.forEach(t=>{const n={...t};if(n.async=H.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if(l.renderer){const i=e.renderers[l.name];i?e.renderers[l.name]=function(...r){let a=l.renderer.apply(this,r);return a===!1&&(a=i.apply(this,r)),a}:e.renderers[l.name]=l.renderer}if(l.tokenizer){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[l.level]?e[l.level].unshift(l.tokenizer):e[l.level]=[l.tokenizer],l.start&&(l.level==="block"?e.startBlock?e.startBlock.push(l.start):e.startBlock=[l.start]:l.level==="inline"&&(e.startInline?e.startInline.push(l.start):e.startInline=[l.start]))}l.childTokens&&(e.childTokens[l.name]=l.childTokens)}),n.extensions=e),t.renderer){const l=H.defaults.renderer||new ln;for(const i in t.renderer){const r=l[i];l[i]=(...a)=>{let u=t.renderer[i].apply(l,a);return u===!1&&(u=r.apply(l,a)),u}}n.renderer=l}if(t.tokenizer){const l=H.defaults.tokenizer||new nn;for(const i in t.tokenizer){const r=l[i];l[i]=(...a)=>{let u=t.tokenizer[i].apply(l,a);return u===!1&&(u=r.apply(l,a)),u}}n.tokenizer=l}if(t.hooks){const l=H.defaults.hooks||new Mt;for(const i in t.hooks){const r=l[i];Mt.passThroughHooks.has(i)?l[i]=a=>{if(H.defaults.async)return Promise.resolve(t.hooks[i].call(l,a)).then(c=>r.call(l,c));const u=t.hooks[i].call(l,a);return r.call(l,u)}:l[i]=(...a)=>{let u=t.hooks[i].apply(l,a);return u===!1&&(u=r.apply(l,a)),u}}n.hooks=l}if(t.walkTokens){const l=H.defaults.walkTokens;n.walkTokens=function(i){let r=[];return r.push(t.walkTokens.call(this,i)),l&&(r=r.concat(l.call(this,i))),r}}H.setOptions(n)})};H.walkTokens=function(s,e){let t=[];for(const n of s)switch(t=t.concat(e.call(H,n)),n.type){case"table":{for(const l of n.header)t=t.concat(H.walkTokens(l.tokens,e));for(const l of n.rows)for(const i of l)t=t.concat(H.walkTokens(i.tokens,e));break}case"list":{t=t.concat(H.walkTokens(n.items,e));break}default:H.defaults.extensions&&H.defaults.extensions.childTokens&&H.defaults.extensions.childTokens[n.type]?H.defaults.extensions.childTokens[n.type].forEach(function(l){t=t.concat(H.walkTokens(n[l],e))}):n.tokens&&(t=t.concat(H.walkTokens(n.tokens,e)))}return t};H.parseInline=$n(Ge.lexInline,Xe.parseInline);H.Parser=Xe;H.parser=Xe.parse;H.Renderer=ln;H.TextRenderer=Jn;H.Lexer=Ge;H.lexer=Ge.lex;H.Tokenizer=nn;H.Slugger=Kn;H.Hooks=Mt;H.parse=H;H.options;H.setOptions;H.use;H.walkTokens;H.parseInline;Xe.parse;Ge.lex;const ss="modulepreload",is=function(s){return"/"+s},Mn={},el=function(e,t,n){let l=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),r=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.all(t.map(a=>{if(a=is(a),a in Mn)return;Mn[a]=!0;const u=a.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":ss,u||(h.as="script",h.crossOrigin=""),h.href=a,r&&h.setAttribute("nonce",r),document.head.appendChild(h),u)return new Promise((f,g)=>{h.addEventListener("load",f),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${a}`)))})}))}return l.then(()=>e()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},tl=async s=>{try{(await el(async()=>{const{default:t}=await import("./index-DLbPO8Sw.js");return{default:t}},[])).default.highlightElement(s)}catch(e){console.error("Could not load highlight.js",e)}};function rs(s){let e,t,n=H(s[0].descriptionfile||s[0].description)+"";return{c(){e=y("div"),t=new en(!1),this.h()},l(l){e=T(l,"DIV",{class:!0});var i=b(e);t=tn(i,!1),i.forEach(p),this.h()},h(){t.a=null,o(e,"class","markdown-body")},m(l,i){B(l,e,i),t.m(n,e),s[2](e)},p(l,[i]){i&1&&n!==(n=H(l[0].descriptionfile||l[0].description)+"")&&t.p(n)},i:ce,o:ce,d(l){l&&p(e),s[2](null)}}}function os(s,e,t){let{das:n}=e,l;function i(r){vt[r?"unshift":"push"](()=>{l=r,t(1,l)})}return s.$$set=r=>{"das"in r&&t(0,n=r.das)},s.$$.update=()=>{s.$$.dirty&3&&n&&l&&setTimeout(()=>{l&&Array.from(l.querySelectorAll("pre code")).forEach(r=>{tl(r)})},200)},[n,l,i]}class as extends Te{constructor(e){super(),Se(this,e,os,rs,Ee,{das:0})}}function Hn(s){let e;return{c(){e=be("Running Gardenjs in devmodus. No Code view supported.")},l(t){e=ve(t,"Running Gardenjs in devmodus. No Code view supported.")},m(t,n){B(t,e,n)},d(t){t&&p(e)}}}function In(s){let e,t,n;return{c(){e=y("pre"),t=y("code"),n=be(s[1]),this.h()},l(l){e=T(l,"PRE",{});var i=b(e);t=T(i,"CODE",{class:!0});var r=b(t);n=ve(r,s[1]),r.forEach(p),i.forEach(p),this.h()},h(){o(t,"class","language-xml")},m(l,i){B(l,e,i),m(e,t),m(t,n),s[5](t)},p(l,i){i&2&&Fe(n,l[1])},d(l){l&&p(e),s[5](null)}}}function us(s){let e,t,n=s[0]&&Hn(),l=s[1]&&In(s);return{c(){e=y("div"),n&&n.c(),t=N(),l&&l.c()},l(i){e=T(i,"DIV",{});var r=b(e);n&&n.l(r),t=A(r),l&&l.l(r),r.forEach(p)},m(i,r){B(i,e,r),n&&n.m(e,null),m(e,t),l&&l.m(e,null)},p(i,[r]){i[0]?n||(n=Hn(),n.c(),n.m(e,t)):n&&(n.d(1),n=null),i[1]?l?l.p(i,r):(l=In(i),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:ce,o:ce,d(i){i&&p(e),n&&n.d(),l&&l.d()}}}function cs(s,e,t){let{componentName:n}=e,{devmodus:l}=e,i,r,a=[];l||u();async function u(){const f=await el(()=>import("../raw_component_import_map.js"),[]);t(4,a=f.rawComponentMap)}function c(f,g){t(1,i=null),setTimeout(()=>{t(1,i=g[f])})}function h(f){vt[f?"unshift":"push"](()=>{r=f,t(2,r)})}return s.$$set=f=>{"componentName"in f&&t(3,n=f.componentName),"devmodus"in f&&t(0,l=f.devmodus)},s.$$.update=()=>{s.$$.dirty&24&&c(n,a),s.$$.dirty&6&&i&&r&&tl(r)},[l,i,r,n,a,h]}class hs extends Te{constructor(e){super(),Se(this,e,cs,us,Ee,{componentName:3,devmodus:0})}}function fs(s){let e,t;return{c(){e=y("iframe"),this.h()},l(n){e=T(n,"IFRAME",{class:!0,title:!0,src:!0,style:!0}),b(e).forEach(p),this.h()},h(){o(e,"class","stage_iframe svelte-3elosm"),o(e,"title","preview"),bt(e.src,t="/frame.html")||o(e,"src",t),o(e,"style",s[0])},m(n,l){B(n,e,l),s[20](e)},p(n,l){l&1&&o(e,"style",n[0])},d(n){n&&p(e),s[20](null)}}}function ds(s){let e,t;return e=new ql({props:{slot:"top",disabled:s[1]!=="full",maxHeight:s[6],maxWidth:s[7],paneHeight:s[4],paneWidth:s[5],$$slots:{default:[fs]},$$scope:{ctx:s}}}),e.$on("out",s[12]),{c(){Ce(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,l){Me(e,n,l),t=!0},p(n,l){const i={};l&2&&(i.disabled=n[1]!=="full"),l&64&&(i.maxHeight=n[6]),l&128&&(i.maxWidth=n[7]),l&16&&(i.paneHeight=n[4]),l&32&&(i.paneWidth=n[5]),l&33554945&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function Rn(s){let e,t;return e=new jl({props:{tabs:s[10]}}),e.$on("out",s[19]),{c(){Ce(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,l){Me(e,n,l),t=!0},p(n,l){const i={};l&1024&&(i.tabs=n[10]),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function gs(s){let e,t,n=s[8]&&Rn(s);return{c(){e=y("div"),n&&n.c(),this.h()},l(l){e=T(l,"DIV",{slot:!0,class:!0});var i=b(e);n&&n.l(i),i.forEach(p),this.h()},h(){o(e,"slot","bottom"),o(e,"class","panel svelte-3elosm")},m(l,i){B(l,e,i),n&&n.m(e,null),t=!0},p(l,i){l[8]?n?(n.p(l,i),i&256&&P(n,1)):(n=Rn(l),n.c(),P(n,1),n.m(e,null)):n&&(Je(),F(n,1,1,()=>{n=null}),Ke())},i(l){t||(P(n),t=!0)},o(l){F(n),t=!1},d(l){l&&p(e),n&&n.d()}}}function ps(s){let e,t;return e=new Tl({props:{topHeight:s[2],maxHeight:s[3],$$slots:{bottom:[gs],top:[ds]},$$scope:{ctx:s}}}),e.$on("out",s[11]),{c(){Ce(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,l){Me(e,n,l),t=!0},p(n,[l]){const i={};l&4&&(i.topHeight=n[2]),l&8&&(i.maxHeight=n[3]),l&33556467&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function ms(s){globalThis.history.pushState({selectedExample:s.detail.selecteditem},"",window.location.pathname.substring(7))}function _s(s,e,t){let n;const l=Ye();let{componentName:i}=e,{das:r={}}=e,{stageStyle:a}=e,{stageSize:u}=e,{selectedExample:c}=e,{stageContainerHeight:h}=e,{stageContainerMaxHeight:f}=e,{stageHeight:g}=e,{stageWidth:d}=e,{stageMaxHeight:_}=e,{stageMaxWidth:S}=e,{panelExpanded:q}=e,{theme:k}=e,{devmodus:v}=e,E,w;const R=new ResizeObserver(z=>{z.forEach(L=>{j(L.contentRect)})});Zn(()=>{w&&(R.observe(w),t(9,w.contentWindow.onload=()=>{t(18,E=!0)},w),w.contentWindow.addEventListener("mousemove",function(z){var L=w.getBoundingClientRect(),ne=new CustomEvent("mousemove",{bubbles:!0,cancelable:!1});ne.pageX=z.clientX+L.left,ne.pageY=z.clientY+L.top,w.dispatchEvent(ne)}),w.contentWindow.addEventListener("mouseup",function(){var z=new CustomEvent("mouseup",{bubbles:!0,cancelable:!1});w.dispatchEvent(z)}))}),Fn(()=>{R.disconnect()});function M(z){var ne;const L=[];return z.description&&L.push({name:"Notes",props:{das:z},page:as}),(ne=z.examples)!=null&&ne.length&&L.push({name:"Examples",props:{selected:c,items:z.examples.map(le=>le.title)},page:Wl,out:ms}),!v&&z.componentfile&&L.push({name:"Code",props:{componentName:i,devmodus:v},page:hs}),L}function j(z){l("out",{stageRect:z})}function Y(z){z.detail.topHeight&&l("out",{stageContainerHeight:z.detail.topHeight}),z.detail.maxHeight&&l("out",{stageContainerMaxHeight:z.detail.maxHeight}),z.detail.maxWidth&&l("out",{stageContainerWidth:z.detail.maxWidth})}function G(z){z.detail.stageHeight&&l("out",{stageHeight:z.detail.stageHeight}),z.detail.stageWidth&&l("out",{stageWidth:z.detail.stageWidth})}function Z(z){At.call(this,s,z)}function J(z){vt[z?"unshift":"push"](()=>{w=z,t(9,w)})}return s.$$set=z=>{"componentName"in z&&t(13,i=z.componentName),"das"in z&&t(14,r=z.das),"stageStyle"in z&&t(0,a=z.stageStyle),"stageSize"in z&&t(1,u=z.stageSize),"selectedExample"in z&&t(15,c=z.selectedExample),"stageContainerHeight"in z&&t(2,h=z.stageContainerHeight),"stageContainerMaxHeight"in z&&t(3,f=z.stageContainerMaxHeight),"stageHeight"in z&&t(4,g=z.stageHeight),"stageWidth"in z&&t(5,d=z.stageWidth),"stageMaxHeight"in z&&t(6,_=z.stageMaxHeight),"stageMaxWidth"in z&&t(7,S=z.stageMaxWidth),"panelExpanded"in z&&t(8,q=z.panelExpanded),"theme"in z&&t(16,k=z.theme),"devmodus"in z&&t(17,v=z.devmodus)},s.$$.update=()=>{s.$$.dirty&369154&&E&&(!w.contentDocument||/frame.html$/.test(w.contentWindow.location),w.contentWindow.postMessage({selectedExample:c,componentName:i,stageSize:u,theme:k},window.location)),s.$$.dirty&16384&&t(10,n=M(r))},[a,u,h,f,g,d,_,S,q,w,n,Y,G,i,r,c,k,v,E,Z,J]}class ks extends Te{constructor(e){super(),Se(this,e,_s,ps,Ee,{componentName:13,das:14,stageStyle:0,stageSize:1,selectedExample:15,stageContainerHeight:2,stageContainerMaxHeight:3,stageHeight:4,stageWidth:5,stageMaxHeight:6,stageMaxWidth:7,panelExpanded:8,theme:16,devmodus:17})}}function bs(s){let e,t,n,l,i='<svg xmlns="http://www.w3.org/2000/svg" width="15" viewBox="0 0 24 24" height="15" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"></path><path d="M3.3 7l8.7 5 8.7-5M12 22V12"></path></svg>',r,a,u,c,h,f;const g=s[5].default,d=pt(g,s,s[4],null);return{c(){e=y("a"),t=y("span"),n=N(),l=y("span"),l.innerHTML=i,r=N(),a=y("span"),d&&d.c(),this.h()},l(_){e=T(_,"A",{href:!0,class:!0});var S=b(e);t=T(S,"SPAN",{class:!0}),b(t).forEach(p),n=A(S),l=T(S,"SPAN",{class:!0,"data-svelte-h":!0}),xe(l)!=="svelte-5p73w6"&&(l.innerHTML=i),r=A(S),a=T(S,"SPAN",{class:!0});var q=b(a);d&&d.l(q),q.forEach(p),S.forEach(p),this.h()},h(){o(t,"class","component_dot svelte-1tjv5dj"),o(l,"class","component_icon svelte-1tjv5dj"),o(a,"class","component_label svelte-1tjv5dj"),o(e,"href",s[0]),o(e,"class",u="component_link link_level-"+s[2]+" svelte-1tjv5dj"),W(e,"selected",s[1])},m(_,S){B(_,e,S),m(e,t),m(e,n),m(e,l),m(e,r),m(e,a),d&&d.m(a,null),c=!0,h||(f=ee(e,"click",pl(s[3])),h=!0)},p(_,[S]){d&&d.p&&(!c||S&16)&&mt(d,g,_,_[4],c?kt(g,_[4],S,null):_t(_[4]),null),(!c||S&1)&&o(e,"href",_[0]),(!c||S&4&&u!==(u="component_link link_level-"+_[2]+" svelte-1tjv5dj"))&&o(e,"class",u),(!c||S&6)&&W(e,"selected",_[1])},i(_){c||(P(d,_),c=!0)},o(_){F(d,_),c=!1},d(_){_&&p(e),d&&d.d(_),h=!1,f()}}}function vs(s,e,t){let{$$slots:n={},$$scope:l}=e,{href:i}=e,{selected:r}=e,{level:a}=e;function u(){globalThis.history.pushState({},"",i)}return s.$$set=c=>{"href"in c&&t(0,i=c.href),"selected"in c&&t(1,r=c.selected),"level"in c&&t(2,a=c.level),"$$scope"in c&&t(4,l=c.$$scope)},[i,r,a,u,l,n]}class ws extends Te{constructor(e){super(),Se(this,e,vs,bs,Ee,{href:0,selected:1,level:2})}}function Ln(s,e,t){const n=s.slice();return n[6]=e[t],n}function xs(s){let e,t,n,l='<svg xmlns="http://www.w3.org/2000/svg" width="12" viewBox="0 0 24 24" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 15l-6-6-6 6"></path></svg>',i,r,a='<svg xmlns="http://www.w3.org/2000/svg" width="15" viewBox="0 0 24 24" height="15" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20h16a2 2 0 002-2V8a2 2 0 00-2-2h-7.93a2 2 0 01-1.66-.9l-.82-1.2A2 2 0 007.93 3H4a2 2 0 00-2 2v13c0 1.1.9 2 2 2z"></path></svg>',u,c,h,f=s[6].name+"",g,d,_,S,q,k,v;function E(){return s[3](s[6])}let w=s[6].unfolded&&Nn(s);return{c(){e=y("li"),t=y("button"),n=y("span"),n.innerHTML=l,i=N(),r=y("span"),r.innerHTML=a,u=N(),c=y("span"),h=new en(!1),_=N(),w&&w.c(),S=N(),this.h()},l(R){e=T(R,"LI",{class:!0});var M=b(e);t=T(M,"BUTTON",{class:!0,title:!0});var j=b(t);n=T(j,"SPAN",{class:!0,"data-svelte-h":!0}),xe(n)!=="svelte-1uqfrmg"&&(n.innerHTML=l),i=A(j),r=T(j,"SPAN",{class:!0,"data-svelte-h":!0}),xe(r)!=="svelte-1aixm8"&&(r.innerHTML=a),u=A(j),c=T(j,"SPAN",{class:!0});var Y=b(c);h=tn(Y,!1),Y.forEach(p),j.forEach(p),_=A(M),w&&w.l(M),S=A(M),M.forEach(p),this.h()},h(){o(n,"class","folder_arrow svelte-4ombcb"),W(n,"unfolded_icon",s[6].unfolded),o(r,"class","folder_icon svelte-4ombcb"),h.a=null,o(c,"class","folder_label svelte-4ombcb"),o(t,"class",g="folder_btn btn_level-"+s[1]+" svelte-4ombcb"),o(t,"title",d=s[6].unfolded?"fold":"unfold"),o(e,"class","folder svelte-4ombcb"),W(e,"unfolded",s[6].unfolded)},m(R,M){B(R,e,M),m(e,t),m(t,n),m(t,i),m(t,r),m(t,u),m(t,c),h.m(f,c),m(e,_),w&&w.m(e,null),m(e,S),q=!0,k||(v=ee(t,"click",E),k=!0)},p(R,M){s=R,(!q||M&1)&&W(n,"unfolded_icon",s[6].unfolded),(!q||M&1)&&f!==(f=s[6].name+"")&&h.p(f),(!q||M&2&&g!==(g="folder_btn btn_level-"+s[1]+" svelte-4ombcb"))&&o(t,"class",g),(!q||M&1&&d!==(d=s[6].unfolded?"fold":"unfold"))&&o(t,"title",d),s[6].unfolded?w?(w.p(s,M),M&1&&P(w,1)):(w=Nn(s),w.c(),P(w,1),w.m(e,S)):w&&(Je(),F(w,1,1,()=>{w=null}),Ke()),(!q||M&1)&&W(e,"unfolded",s[6].unfolded)},i(R){q||(P(w),q=!0)},o(R){F(w),q=!1},d(R){R&&p(e),w&&w.d(),k=!1,v()}}}function Es(s){let e,t,n,l;return t=new ws({props:{href:s[6].href,selected:s[6].selected,level:s[1],$$slots:{default:[ys]},$$scope:{ctx:s}}}),{c(){e=y("li"),Ce(t.$$.fragment),n=N(),this.h()},l(i){e=T(i,"LI",{class:!0});var r=b(e);Le(t.$$.fragment,r),n=A(r),r.forEach(p),this.h()},h(){o(e,"class","item")},m(i,r){B(i,e,r),Me(t,e,null),m(e,n),l=!0},p(i,r){const a={};r&1&&(a.href=i[6].href),r&1&&(a.selected=i[6].selected),r&2&&(a.level=i[1]),r&513&&(a.$$scope={dirty:r,ctx:i}),t.$set(a)},i(i){l||(P(t.$$.fragment,i),l=!0)},o(i){F(t.$$.fragment,i),l=!1},d(i){i&&p(e),He(t)}}}function Nn(s){let e,t;return e=new nl({props:{nodes:s[6].children,level:s[1]+1}}),e.$on("out",s[4]),{c(){Ce(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,l){Me(e,n,l),t=!0},p(n,l){const i={};l&1&&(i.nodes=n[6].children),l&2&&(i.level=n[1]+1),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){He(e,n)}}}function ys(s){let e,t=s[6].name+"",n;return{c(){e=new en(!1),n=Ze(),this.h()},l(l){e=tn(l,!1),n=Ze(),this.h()},h(){e.a=n},m(l,i){e.m(t,l,i),B(l,n,i)},p(l,i){i&1&&t!==(t=l[6].name+"")&&e.p(t)},d(l){l&&(p(n),e.d())}}}function An(s){let e,t,n,l;const i=[Es,xs],r=[];function a(u,c){return u[6].isLeaf?0:1}return e=a(s),t=r[e]=i[e](s),{c(){t.c(),n=Ze()},l(u){t.l(u),n=Ze()},m(u,c){r[e].m(u,c),B(u,n,c),l=!0},p(u,c){let h=e;e=a(u),e===h?r[e].p(u,c):(Je(),F(r[h],1,1,()=>{r[h]=null}),Ke(),t=r[e],t?t.p(u,c):(t=r[e]=i[e](u),t.c()),P(t,1),t.m(n.parentNode,n))},i(u){l||(P(t),l=!0)},o(u){F(t),l=!1},d(u){u&&p(n),r[e].d(u)}}}function Ts(s){let e,t,n,l=Qe(s[0]),i=[];for(let a=0;a<l.length;a+=1)i[a]=An(Ln(s,l,a));const r=a=>F(i[a],1,1,()=>{i[a]=null});return{c(){e=y("ul");for(let a=0;a<i.length;a+=1)i[a].c();this.h()},l(a){e=T(a,"UL",{class:!0});var u=b(e);for(let c=0;c<i.length;c+=1)i[c].l(u);u.forEach(p),this.h()},h(){o(e,"class",t="filter_list items level-"+s[1]+" svelte-4ombcb")},m(a,u){B(a,e,u);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(e,null);n=!0},p(a,[u]){if(u&7){l=Qe(a[0]);let c;for(c=0;c<l.length;c+=1){const h=Ln(a,l,c);i[c]?(i[c].p(h,u),P(i[c],1)):(i[c]=An(h),i[c].c(),P(i[c],1),i[c].m(e,null))}for(Je(),c=l.length;c<i.length;c+=1)r(c);Ke()}(!n||u&2&&t!==(t="filter_list items level-"+a[1]+" svelte-4ombcb"))&&o(e,"class",t)},i(a){if(!n){for(let u=0;u<l.length;u+=1)P(i[u]);n=!0}},o(a){i=i.filter(Boolean);for(let u=0;u<i.length;u+=1)F(i[u]);n=!1},d(a){a&&p(e),jt(i,a)}}}function Ss(s,e,t){const n=Ye();let{nodes:l=[]}=e,{level:i=1}=e;function r(c){n("out",{toggleFoldStatusOfNode:{...c}})}const a=c=>r(c);function u(c){At.call(this,s,c)}return s.$$set=c=>{"nodes"in c&&t(0,l=c.nodes),"level"in c&&t(1,i=c.level)},[l,i,r,a,u]}class nl extends Te{constructor(e){super(),Se(this,e,Ss,Ts,Ee,{nodes:0,level:1})}}function zs(s){let e,t;return{c(){e=y("span"),t=be(s[3]),this.h()},l(n){e=T(n,"SPAN",{class:!0});var l=b(e);t=ve(l,s[3]),l.forEach(p),this.h()},h(){o(e,"class","svelte-1m8srel")},m(n,l){B(n,e,l),m(e,t)},p(n,l){l&8&&Fe(t,n[3])},d(n){n&&p(e)}}}function qs(s){let e,t,n;return{c(){e=y("img"),this.h()},l(l){e=T(l,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){bt(e.src,t="/assets/"+s[4])||o(e,"src",t),o(e,"title","start"),o(e,"alt",n=s[3]+" logo")},m(l,i){B(l,e,i)},p(l,i){i&16&&!bt(e.src,t="/assets/"+l[4])&&o(e,"src",t),i&8&&n!==(n=l[3]+" logo")&&o(e,"alt",n)},d(l){l&&p(e)}}}function Cs(s){let e,t,n;return{c(){e=y("img"),this.h()},l(l){e=T(l,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){bt(e.src,t="/assets/"+s[5])||o(e,"src",t),o(e,"title","start"),o(e,"alt",n=s[3]+" logo")},m(l,i){B(l,e,i)},p(l,i){i&32&&!bt(e.src,t="/assets/"+l[5])&&o(e,"src",t),i&8&&n!==(n=l[3]+" logo")&&o(e,"alt",n)},d(l){l&&p(e)}}}function Ms(s){let e,t,n;return t=new nl({props:{nodes:s[0]}}),t.$on("out",s[13]),{c(){e=y("nav"),Ce(t.$$.fragment),this.h()},l(l){e=T(l,"NAV",{class:!0});var i=b(e);Le(t.$$.fragment,i),i.forEach(p),this.h()},h(){o(e,"class","components svelte-1m8srel")},m(l,i){B(l,e,i),Me(t,e,null),n=!0},p(l,i){const r={};i&1&&(r.nodes=l[0]),t.$set(r)},i(l){n||(P(t.$$.fragment,l),n=!0)},o(l){F(t.$$.fragment,l),n=!1},d(l){l&&p(e),He(t)}}}function Hs(s){let e,t,n,l,i;return{c(){e=y("div"),t=y("div"),n=be("No results for '"),l=be(s[6]),i=be("'"),this.h()},l(r){e=T(r,"DIV",{});var a=b(e);t=T(a,"DIV",{class:!0});var u=b(t);n=ve(u,"No results for '"),l=ve(u,s[6]),i=ve(u,"'"),u.forEach(p),a.forEach(p),this.h()},h(){o(t,"class","filter_zero-results svelte-1m8srel")},m(r,a){B(r,e,a),m(e,t),m(t,n),m(t,l),m(t,i)},p(r,a){a&64&&Fe(l,r[6])},i:ce,o:ce,d(r){r&&p(e)}}}function Is(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=V(n,"svg",{class:!0,xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var l=b(e);t=V(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M7 15l5 5 5-5M7 9l5-5 5 5"),o(e,"class","controls_btn-icon svelte-1m8srel"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"width","20"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(n,l){B(n,e,l),m(e,t)},d(n){n&&p(e)}}}function Rs(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=V(n,"svg",{class:!0,xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var l=b(e);t=V(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M7 20l5-5 5 5M7 4l5 5 5-5"),o(e,"class","controls_btn-icon svelte-1m8srel"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"width","20"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(n,l){B(n,e,l),m(e,t)},d(n){n&&p(e)}}}function Ls(s){let e,t,n,l;return{c(){e=U("svg"),t=U("rect"),n=U("line"),l=U("path"),this.h()},l(i){e=V(i,"svg",{class:!0,xmlns:!0,width:!0,height:!0,viewBox:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var r=b(e);t=V(r,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0,ry:!0}),b(t).forEach(p),n=V(r,"line",{x1:!0,x2:!0,y1:!0,y2:!0}),b(n).forEach(p),l=V(r,"path",{d:!0}),b(l).forEach(p),r.forEach(p),this.h()},h(){o(t,"width","18"),o(t,"height","18"),o(t,"x","3"),o(t,"y","3"),o(t,"rx","2"),o(t,"ry","2"),o(n,"x1","3"),o(n,"x2","21"),o(n,"y1","15"),o(n,"y2","15"),o(l,"d","m9 10 3-3 3 3"),o(e,"class","controls_btn-icon svelte-1m8srel"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","20"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(i,r){B(i,e,r),m(e,t),m(e,n),m(e,l)},d(i){i&&p(e)}}}function Ns(s){let e,t,n,l;return{c(){e=U("svg"),t=U("rect"),n=U("line"),l=U("path"),this.h()},l(i){e=V(i,"svg",{class:!0,xmlns:!0,width:!0,height:!0,viewBox:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var r=b(e);t=V(r,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0,ry:!0}),b(t).forEach(p),n=V(r,"line",{x1:!0,x2:!0,y1:!0,y2:!0}),b(n).forEach(p),l=V(r,"path",{d:!0}),b(l).forEach(p),r.forEach(p),this.h()},h(){o(t,"width","18"),o(t,"height","18"),o(t,"x","3"),o(t,"y","3"),o(t,"rx","2"),o(t,"ry","2"),o(n,"x1","3"),o(n,"x2","21"),o(n,"y1","15"),o(n,"y2","15"),o(l,"d","m15 8-3 3-3-3"),o(e,"class","controls_btn-icon svelte-1m8srel"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","20"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(i,r){B(i,e,r),m(e,t),m(e,n),m(e,l)},d(i){i&&p(e)}}}function jn(s){let e,t='<a class="controls_btn svelte-1m8srel" href="https://gardenjs.org/docs" target="_blank" rel="noreferrer"><svg class="controls_btn-icon svelte-1m8srel" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3m.08 4h.01"></path></svg> <span class="controls_btn-label svelte-1m8srel">Gardenjs Docs</span></a>';return{c(){e=y("li"),e.innerHTML=t},l(n){e=T(n,"LI",{"data-svelte-h":!0}),xe(e)!=="svelte-13os4tf"&&(e.innerHTML=t)},m(n,l){B(n,e,l)},d(n){n&&p(e)}}}function As(s){let e,t,n,l,i,r,a,u,c,h,f,g,d,_,S,q,k=s[2]?"Collapse":"Expand",v,E,w,R,M,j,Y,G,Z=s[7]?"Collapse":"Expand",J,z,L,ne,le,re,te;function _e(D,Q){return D[5]&&D[9]==="dark"?Cs:D[4]?qs:zs}let ze=_e(s),he=ze(s);const Ie=[Hs,Ms],ke=[];function x(D,Q){return D[0].length==0&&D[6]?0:1}u=x(s),c=ke[u]=Ie[u](s);function Re(D,Q){return D[2]?Rs:Is}let We=Re(s),oe=We(s);function ae(D,Q){return D[7]?Ns:Ls}let we=ae(s),ue=we(s),se=s[8]===1&&jn();return{c(){e=y("header"),t=y("a"),he.c(),n=N(),l=y("div"),i=y("input"),a=N(),c.c(),h=N(),f=y("nav"),g=y("ul"),d=y("li"),_=y("button"),oe.c(),S=N(),q=y("span"),v=be(k),E=be(" Navigation"),R=N(),M=y("li"),j=y("button"),ue.c(),Y=N(),G=y("span"),J=be(Z),z=be(" Panel"),ne=N(),se&&se.c(),this.h()},l(D){e=T(D,"HEADER",{class:!0});var Q=b(e);t=T(Q,"A",{class:!0,href:!0});var ge=b(t);he.l(ge),ge.forEach(p),n=A(Q),l=T(Q,"DIV",{class:!0});var ht=b(l);i=T(ht,"INPUT",{"aria-autocomplete":!0,id:!0,class:!0,autocomplete:!0,type:!0,placeholder:!0}),ht.forEach(p),a=A(Q),c.l(Q),h=A(Q),f=T(Q,"NAV",{class:!0});var lt=b(f);g=T(lt,"UL",{});var fe=b(g);d=T(fe,"LI",{});var $e=b(d);_=T($e,"BUTTON",{class:!0,title:!0});var Pe=b(_);oe.l(Pe),S=A(Pe),q=T(Pe,"SPAN",{class:!0});var st=b(q);v=ve(st,k),E=ve(st," Navigation"),st.forEach(p),Pe.forEach(p),$e.forEach(p),R=A(fe),M=T(fe,"LI",{});var ft=b(M);j=T(ft,"BUTTON",{class:!0,title:!0});var Be=b(j);ue.l(Be),Y=A(Be),G=T(Be,"SPAN",{class:!0});var ye=b(G);J=ve(ye,Z),z=ve(ye," Panel"),ye.forEach(p),Be.forEach(p),ft.forEach(p),ne=A(fe),se&&se.l(fe),fe.forEach(p),lt.forEach(p),Q.forEach(p),this.h()},h(){o(t,"class","project-identifier svelte-1m8srel"),o(t,"href","/"),W(t,"has-logo",s[4]),o(i,"aria-autocomplete","list"),o(i,"id","filter"),o(i,"class","filter_input svelte-1m8srel"),o(i,"autocomplete","off"),o(i,"type","search"),i.value=r=s[6]||"",o(i,"placeholder","Filter..."),o(l,"class","filter svelte-1m8srel"),o(q,"class","controls_btn-label svelte-1m8srel"),o(_,"class","controls_btn svelte-1m8srel"),o(_,"title",w=s[2]?"Collapse":"Restore"),o(G,"class","controls_btn-label svelte-1m8srel"),o(j,"class","controls_btn svelte-1m8srel"),o(j,"title",L=s[7]?"Collapse":"Restore"),o(f,"class","controls svelte-1m8srel"),o(e,"class","sidebar_container svelte-1m8srel"),W(e,"show-sidebar",s[1])},m(D,Q){B(D,e,Q),m(e,t),he.m(t,null),m(e,n),m(e,l),m(l,i),m(e,a),ke[u].m(e,null),m(e,h),m(e,f),m(f,g),m(g,d),m(d,_),oe.m(_,null),m(_,S),m(_,q),m(q,v),m(q,E),m(g,R),m(g,M),m(M,j),ue.m(j,null),m(j,Y),m(j,G),m(G,J),m(G,z),m(g,ne),se&&se.m(g,null),le=!0,re||(te=[ee(i,"input",s[11]),ee(_,"click",s[10]),ee(j,"click",s[12])],re=!0)},p(D,[Q]){ze===(ze=_e(D))&&he?he.p(D,Q):(he.d(1),he=ze(D),he&&(he.c(),he.m(t,null))),(!le||Q&16)&&W(t,"has-logo",D[4]),(!le||Q&64&&r!==(r=D[6]||"")&&i.value!==r)&&(i.value=r);let ge=u;u=x(D),u===ge?ke[u].p(D,Q):(Je(),F(ke[ge],1,1,()=>{ke[ge]=null}),Ke(),c=ke[u],c?c.p(D,Q):(c=ke[u]=Ie[u](D),c.c()),P(c,1),c.m(e,h)),We!==(We=Re(D))&&(oe.d(1),oe=We(D),oe&&(oe.c(),oe.m(_,S))),(!le||Q&4)&&k!==(k=D[2]?"Collapse":"Expand")&&Fe(v,k),(!le||Q&4&&w!==(w=D[2]?"Collapse":"Restore"))&&o(_,"title",w),we!==(we=ae(D))&&(ue.d(1),ue=we(D),ue&&(ue.c(),ue.m(j,Y))),(!le||Q&128)&&Z!==(Z=D[7]?"Collapse":"Expand")&&Fe(J,Z),(!le||Q&128&&L!==(L=D[7]?"Collapse":"Restore"))&&o(j,"title",L),D[8]===1?se||(se=jn(),se.c(),se.m(g,null)):se&&(se.d(1),se=null),(!le||Q&2)&&W(e,"show-sidebar",D[1])},i(D){le||(P(c),le=!0)},o(D){F(c),le=!1},d(D){D&&p(e),he.d(),ke[u].d(),oe.d(),ue.d(),se&&se.d(),re=!1,Nt(te)}}}function js(s,e,t){const n=Ye();let{nodes:l=[]}=e,{show:i}=e,{rootNodesExpanded:r=!0}=e,{projectTitle:a}=e,{projectLogo:u}=e,{projectLogoDarkmode:c}=e,{filter:h}=e,{panelExpanded:f=!0}=e,{docsLink:g}=e,{appTheme:d}=e;function _(){n("out",{toggleRootFolders:!0})}function S(v){n("out",{filter:{value:v.target.value}})}function q(){n("out",{toggleExpandPanel:!0})}function k(v){At.call(this,s,v)}return s.$$set=v=>{"nodes"in v&&t(0,l=v.nodes),"show"in v&&t(1,i=v.show),"rootNodesExpanded"in v&&t(2,r=v.rootNodesExpanded),"projectTitle"in v&&t(3,a=v.projectTitle),"projectLogo"in v&&t(4,u=v.projectLogo),"projectLogoDarkmode"in v&&t(5,c=v.projectLogoDarkmode),"filter"in v&&t(6,h=v.filter),"panelExpanded"in v&&t(7,f=v.panelExpanded),"docsLink"in v&&t(8,g=v.docsLink),"appTheme"in v&&t(9,d=v.appTheme)},[l,i,r,a,u,c,h,f,g,d,_,S,q,k]}class Bs extends Te{constructor(e){super(),Se(this,e,js,As,Ee,{nodes:0,show:1,rootNodesExpanded:2,projectTitle:3,projectLogo:4,projectLogoDarkmode:5,filter:6,panelExpanded:7,docsLink:8,appTheme:9})}}function Bn(s,e,t){const n=s.slice();return n[26]=e[t],n}function Ds(s){let e,t,n;return{c(){e=U("svg"),t=U("rect"),n=U("path"),this.h()},l(l){e=V(l,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var i=b(e);t=V(i,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(t).forEach(p),n=V(i,"path",{d:!0}),b(n).forEach(p),i.forEach(p),this.h()},h(){o(t,"x","3"),o(t,"y","3"),o(t,"width","18"),o(t,"height","18"),o(t,"rx","2"),o(t,"ry","2"),o(n,"d","M9 3v18m5-12l3 3-3 3"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"class","svelte-8qq2q9")},m(l,i){B(l,e,i),m(e,t),m(e,n)},d(l){l&&p(e)}}}function Ws(s){let e,t,n;return{c(){e=U("svg"),t=U("rect"),n=U("path"),this.h()},l(l){e=V(l,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var i=b(e);t=V(i,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(t).forEach(p),n=V(i,"path",{d:!0}),b(n).forEach(p),i.forEach(p),this.h()},h(){o(t,"x","3"),o(t,"y","3"),o(t,"width","18"),o(t,"height","18"),o(t,"rx","2"),o(t,"ry","2"),o(n,"d","M9 3v18m7-6l-3-3 3-3"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"class","svelte-8qq2q9")},m(l,i){B(l,e,i),m(e,t),m(e,n)},d(l){l&&p(e)}}}function Dn(s){let e,t,n='<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-8qq2q9"><circle cx="13.5" cy="6.5" r=".5"></circle><circle cx="17.5" cy="10.5" r=".5"></circle><circle cx="8.5" cy="7.5" r=".5"></circle><circle cx="6.5" cy="12.5" r=".5"></circle><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 011.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z"></path></svg>',l,i,r,a=Qe(s[3]),u=[];for(let c=0;c<a.length;c+=1)u[c]=Wn(Bn(s,a,c));return{c(){e=y("div"),t=y("button"),t.innerHTML=n,l=N(),i=y("div"),r=y("ul");for(let c=0;c<u.length;c+=1)u[c].c();this.h()},l(c){e=T(c,"DIV",{class:!0});var h=b(e);t=T(h,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),xe(t)!=="svelte-9j3kdx"&&(t.innerHTML=n),l=A(h),i=T(h,"DIV",{class:!0});var f=b(i);r=T(f,"UL",{class:!0});var g=b(r);for(let d=0;d<u.length;d+=1)u[d].l(g);g.forEach(p),f.forEach(p),h.forEach(p),this.h()},h(){o(t,"class","dropdown_btn topbar_btn svelte-8qq2q9"),o(t,"title","Switch component theme"),o(r,"class","svelte-8qq2q9"),o(i,"class","dropdown_items svelte-8qq2q9"),o(e,"class","dropdown svelte-8qq2q9")},m(c,h){B(c,e,h),m(e,t),m(e,l),m(e,i),m(i,r);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(r,null)},p(c,h){if(h&16392){a=Qe(c[3]);let f;for(f=0;f<a.length;f+=1){const g=Bn(c,a,f);u[f]?u[f].p(g,h):(u[f]=Wn(g),u[f].c(),u[f].m(r,null))}for(;f<u.length;f+=1)u[f].d(1);u.length=a.length}},d(c){c&&p(e),jt(u,c)}}}function Wn(s){let e,t,n,l,i=s[26].name+"",r,a,u,c;function h(){return s[23](s[26])}return{c(){e=y("li"),t=y("button"),n=y("span"),l=N(),r=be(i),a=N(),this.h()},l(f){e=T(f,"LI",{class:!0});var g=b(e);t=T(g,"BUTTON",{class:!0});var d=b(t);n=T(d,"SPAN",{class:!0}),b(n).forEach(p),l=A(d),r=ve(d,i),d.forEach(p),a=A(g),g.forEach(p),this.h()},h(){o(n,"class","dropdown_item-dot svelte-8qq2q9"),o(t,"class","svelte-8qq2q9"),W(t,"active",s[26].active),o(e,"class","svelte-8qq2q9")},m(f,g){B(f,e,g),m(e,t),m(t,n),m(t,l),m(t,r),m(e,a),u||(c=ee(t,"click",h),u=!0)},p(f,g){s=f,g&8&&i!==(i=s[26].name+"")&&Fe(r,i),g&8&&W(t,"active",s[26].active)},d(f){f&&p(e),u=!1,c()}}}function Ps(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=V(n,"svg",{xmlns:!0,class:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var l=b(e);t=V(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M12 3a6.364 6.364 0 009 9 9 9 0 11-9-9z"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"class","mode-icon svelte-8qq2q9"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(n,l){B(n,e,l),m(e,t)},d(n){n&&p(e)}}}function Os(s){let e,t,n;return{c(){e=U("svg"),t=U("circle"),n=U("path"),this.h()},l(l){e=V(l,"svg",{xmlns:!0,class:!0,width:!0,viewBox:!0,height:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var i=b(e);t=V(i,"circle",{cx:!0,cy:!0,r:!0}),b(t).forEach(p),n=V(i,"path",{d:!0}),b(n).forEach(p),i.forEach(p),this.h()},h(){o(t,"cx","12"),o(t,"cy","12"),o(t,"r","4"),o(n,"d","M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"class","mode-icon svelte-8qq2q9"),o(e,"width","24"),o(e,"viewBox","0 0 24 24"),o(e,"height","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(l,i){B(l,e,i),m(e,t),m(e,n)},d(l){l&&p(e)}}}function Us(s){let e,t,n,l,i,r,a,u,c,h,f,g="/",d,_,S,q,k,v,E,w,R,M,j,Y,G,Z,J,z,L,ne,le,re,te,_e,ze,he,Ie,ke,x,Re='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-8qq2q9"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><path d="M8 21h8m-4-4v4"></path></svg> <span class="dot svelte-8qq2q9"></span>',We,oe,ae,we,ue,se,D,Q,ge,ht='<svg xmlns="http://www.w3.org/2000/svg" class="open-new-tab-icon svelte-8qq2q9" height="24" viewBox="0 0 24 24" width="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6m4-3h6v6m-11 5L21 3"></path></svg>',lt,fe,$e,Pe,st;function ft(O,$){return O[0]?Ws:Ds}let Be=ft(s),ye=Be(s),pe=s[3].length>1&&Dn(s);function an(O,$){return O[6]?Os:Ps}let wt=an(s),De=wt(s);return{c(){e=y("div"),t=y("div"),n=y("button"),ye.c(),i=N(),r=y("div"),a=y("div"),u=y("input"),h=N(),f=y("div"),f.textContent=g,d=N(),_=y("input"),q=N(),k=y("div"),v=y("button"),E=U("svg"),w=U("rect"),R=U("path"),M=N(),j=y("span"),Y=N(),G=y("button"),Z=U("svg"),J=U("rect"),z=U("path"),L=N(),ne=y("span"),le=N(),re=y("button"),te=U("svg"),_e=U("rect"),ze=U("path"),he=N(),Ie=y("span"),ke=N(),x=y("button"),x.innerHTML=Re,We=N(),oe=y("button"),ae=U("svg"),we=U("rect"),ue=U("rect"),D=N(),pe&&pe.c(),Q=N(),ge=y("button"),ge.innerHTML=ht,lt=N(),fe=y("button"),De.c(),this.h()},l(O){e=T(O,"DIV",{class:!0});var $=b(e);t=T($,"DIV",{class:!0});var xt=b(t);n=T(xt,"BUTTON",{class:!0,title:!0});var un=b(n);ye.l(un),un.forEach(p),i=A(xt),r=T(xt,"DIV",{class:!0});var Ne=b(r);a=T(Ne,"DIV",{class:!0});var it=b(a);u=T(it,"INPUT",{class:!0,type:!0,min:!0,max:!0}),h=A(it),f=T(it,"DIV",{class:!0,"data-svelte-h":!0}),xe(f)!=="svelte-mwx9s1"&&(f.textContent=g),d=A(it),_=T(it,"INPUT",{class:!0,type:!0,min:!0,max:!0}),it.forEach(p),q=A(Ne),k=T(Ne,"DIV",{class:!0});var Ae=b(k);v=T(Ae,"BUTTON",{title:!0,class:!0});var Et=b(v);E=V(Et,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var Ut=b(E);w=V(Ut,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(w).forEach(p),R=V(Ut,"path",{d:!0}),b(R).forEach(p),Ut.forEach(p),M=A(Et),j=T(Et,"SPAN",{class:!0}),b(j).forEach(p),Et.forEach(p),Y=A(Ae),G=T(Ae,"BUTTON",{title:!0,class:!0});var yt=b(G);Z=V(yt,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var Vt=b(Z);J=V(Vt,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(J).forEach(p),z=V(Vt,"path",{d:!0}),b(z).forEach(p),Vt.forEach(p),L=A(yt),ne=T(yt,"SPAN",{class:!0}),b(ne).forEach(p),yt.forEach(p),le=A(Ae),re=T(Ae,"BUTTON",{title:!0,class:!0});var Tt=b(re);te=V(Tt,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var Zt=b(te);_e=V(Zt,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(_e).forEach(p),ze=V(Zt,"path",{d:!0}),b(ze).forEach(p),Zt.forEach(p),he=A(Tt),Ie=T(Tt,"SPAN",{class:!0}),b(Ie).forEach(p),Tt.forEach(p),ke=A(Ae),x=T(Ae,"BUTTON",{title:!0,class:!0,"data-svelte-h":!0}),xe(x)!=="svelte-m2txcz"&&(x.innerHTML=Re),We=A(Ae),oe=T(Ae,"BUTTON",{title:!0,class:!0});var cn=b(oe);ae=V(cn,"svg",{xmlns:!0,width:!0,viewBox:!0,height:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var Ft=b(ae);we=V(Ft,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0}),b(we).forEach(p),ue=V(Ft,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0}),b(ue).forEach(p),Ft.forEach(p),cn.forEach(p),Ae.forEach(p),D=A(Ne),pe&&pe.l(Ne),Q=A(Ne),ge=T(Ne,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),xe(ge)!=="svelte-vy1khe"&&(ge.innerHTML=ht),lt=A(Ne),fe=T(Ne,"BUTTON",{class:!0,title:!0});var hn=b(fe);De.l(hn),hn.forEach(p),Ne.forEach(p),xt.forEach(p),$.forEach(p),this.h()},h(){o(n,"class","topbar_btn is-first-btn svelte-8qq2q9"),o(n,"title",l=s[0]?"Collapse sidebar":"Expand sidebar"),o(u,"class","stagesize-input svelte-8qq2q9"),o(u,"type","number"),u.disabled=c=s[2]!=="full",u.value=s[7],o(u,"min","50"),o(u,"max",s[5]),o(f,"class","stagesize-value-multi_sign svelte-8qq2q9"),o(_,"class","stagesize-input svelte-8qq2q9"),o(_,"type","number"),_.disabled=S=s[2]!=="full",_.value=s[8],o(_,"min","50"),o(_,"max",s[4]),o(a,"class","stagesize-value svelte-8qq2q9"),o(w,"x","5"),o(w,"y","2"),o(w,"width","14"),o(w,"height","20"),o(w,"rx","2"),o(w,"ry","2"),o(R,"d","M12 18h.01"),o(E,"xmlns","http://www.w3.org/2000/svg"),o(E,"height","24"),o(E,"viewBox","0 0 24 24"),o(E,"width","24"),o(E,"fill","none"),o(E,"stroke","currentColor"),o(E,"stroke-width","1.5"),o(E,"stroke-linecap","round"),o(E,"stroke-linejoin","round"),o(E,"class","svelte-8qq2q9"),W(E,"landscape",s[1]),o(j,"class","dot svelte-8qq2q9"),o(v,"title","Small"),o(v,"class","svelte-8qq2q9"),W(v,"active",s[2]==="small"),o(J,"x","4"),o(J,"y","2"),o(J,"width","16"),o(J,"height","20"),o(J,"rx","2"),o(J,"ry","2"),o(z,"d","M12 18h.01"),o(Z,"xmlns","http://www.w3.org/2000/svg"),o(Z,"height","24"),o(Z,"viewBox","0 0 24 24"),o(Z,"width","24"),o(Z,"fill","none"),o(Z,"stroke","currentColor"),o(Z,"stroke-width","1.5"),o(Z,"stroke-linecap","round"),o(Z,"stroke-linejoin","round"),o(Z,"class","svelte-8qq2q9"),W(Z,"landscape",s[1]),o(ne,"class","dot svelte-8qq2q9"),o(G,"title","Medium"),o(G,"class","svelte-8qq2q9"),W(G,"active",s[2]==="medium"),o(_e,"x","3"),o(_e,"y","4"),o(_e,"width","18"),o(_e,"height","12"),o(_e,"rx","2"),o(_e,"ry","2"),o(ze,"d","M2 20h20"),o(te,"xmlns","http://www.w3.org/2000/svg"),o(te,"height","24"),o(te,"viewBox","0 0 24 24"),o(te,"width","24"),o(te,"fill","none"),o(te,"stroke","currentColor"),o(te,"stroke-width","1.5"),o(te,"stroke-linecap","round"),o(te,"stroke-linejoin","round"),o(te,"class","svelte-8qq2q9"),W(te,"landscape",s[1]),o(Ie,"class","dot svelte-8qq2q9"),o(re,"title","Large"),o(re,"class","svelte-8qq2q9"),W(re,"active",s[2]==="large"),o(x,"title","Full"),o(x,"class","svelte-8qq2q9"),W(x,"active",s[2]==="full"),o(we,"width","12"),o(we,"height","20"),o(we,"x","6"),o(we,"y","2"),o(we,"rx","2"),o(ue,"width","20"),o(ue,"height","12"),o(ue,"x","2"),o(ue,"y","6"),o(ue,"rx","2"),o(ae,"xmlns","http://www.w3.org/2000/svg"),o(ae,"width","24"),o(ae,"viewBox","0 0 24 24"),o(ae,"height","24"),o(ae,"fill","none"),o(ae,"stroke","currentColor"),o(ae,"stroke-width","1.5"),o(ae,"stroke-linecap","round"),o(ae,"stroke-linejoin","round"),o(ae,"class","svelte-8qq2q9"),o(oe,"title",se=s[1]?"Portrait mode":"Landscape mode"),o(oe,"class","svelte-8qq2q9"),o(k,"class","stagesize-nav svelte-8qq2q9"),o(ge,"class","topbar_btn svelte-8qq2q9"),o(ge,"title","Open component in new tab"),o(fe,"class","topbar_btn is-last-btn svelte-8qq2q9"),o(fe,"title",$e=s[6]?"Light mode":"Dark mode"),o(r,"class","topbar_nav svelte-8qq2q9"),o(t,"class","topbar_container svelte-8qq2q9"),o(e,"class","topbar svelte-8qq2q9")},m(O,$){B(O,e,$),m(e,t),m(t,n),ye.m(n,null),m(t,i),m(t,r),m(r,a),m(a,u),m(a,h),m(a,f),m(a,d),m(a,_),m(r,q),m(r,k),m(k,v),m(v,E),m(E,w),m(E,R),m(v,M),m(v,j),m(k,Y),m(k,G),m(G,Z),m(Z,J),m(Z,z),m(G,L),m(G,ne),m(k,le),m(k,re),m(re,te),m(te,_e),m(te,ze),m(re,he),m(re,Ie),m(k,ke),m(k,x),m(k,We),m(k,oe),m(oe,ae),m(ae,we),m(ae,ue),m(r,D),pe&&pe.m(r,null),m(r,Q),m(r,ge),m(r,lt),m(r,fe),De.m(fe,null),Pe||(st=[ee(n,"click",s[9]),ee(u,"change",s[15]),ee(_,"change",s[16]),ee(v,"click",s[19]),ee(G,"click",s[20]),ee(re,"click",s[21]),ee(x,"click",s[22]),ee(oe,"click",s[12]),ee(ge,"click",s[13]),ee(fe,"click",s[10])],Pe=!0)},p(O,[$]){Be!==(Be=ft(O))&&(ye.d(1),ye=Be(O),ye&&(ye.c(),ye.m(n,null))),$&1&&l!==(l=O[0]?"Collapse sidebar":"Expand sidebar")&&o(n,"title",l),$&4&&c!==(c=O[2]!=="full")&&(u.disabled=c),$&128&&u.value!==O[7]&&(u.value=O[7]),$&32&&o(u,"max",O[5]),$&4&&S!==(S=O[2]!=="full")&&(_.disabled=S),$&256&&_.value!==O[8]&&(_.value=O[8]),$&16&&o(_,"max",O[4]),$&2&&W(E,"landscape",O[1]),$&4&&W(v,"active",O[2]==="small"),$&2&&W(Z,"landscape",O[1]),$&4&&W(G,"active",O[2]==="medium"),$&2&&W(te,"landscape",O[1]),$&4&&W(re,"active",O[2]==="large"),$&4&&W(x,"active",O[2]==="full"),$&2&&se!==(se=O[1]?"Portrait mode":"Landscape mode")&&o(oe,"title",se),O[3].length>1?pe?pe.p(O,$):(pe=Dn(O),pe.c(),pe.m(r,Q)):pe&&(pe.d(1),pe=null),wt!==(wt=an(O))&&(De.d(1),De=wt(O),De&&(De.c(),De.m(fe,null))),$&64&&$e!==($e=O[6]?"Light mode":"Dark mode")&&o(fe,"title",$e)},i:ce,o:ce,d(O){O&&p(e),ye.d(),pe&&pe.d(),De.d(),Pe=!1,Nt(st)}}}function Vs(s,e,t){const n=Ye();let{active:l=!0}=e,{appTheme:i="default"}=e,{landscape:r=!1}=e,{stageSize:a="full"}=e,{themes:u=[]}=e,{stageRect:c}=e,{stageMaxHeight:h}=e,{stageMaxWidth:f}=e,g=!1,d,_;function S(){t(0,l=!l),w()}function q(){n("out",{updateAppTheme:i==="dark"?"default":"dark"})}function k(L){t(2,a=L),w()}function v(){t(1,r=!r),w()}function E(){n("out",{openInTab:!0})}function w(){n("out",{active:l,stageSize:a,landscape:r})}function R(L){n("out",{selectTheme:L})}function M(L){n("out",{stageWidth:Number.parseInt(L.target.value)})}function j(L){n("out",{stageHeight:Number.parseInt(L.target.value)})}const Y=()=>k("small"),G=()=>k("medium"),Z=()=>k("large"),J=()=>k("full"),z=L=>R(L.name);return s.$$set=L=>{"active"in L&&t(0,l=L.active),"appTheme"in L&&t(17,i=L.appTheme),"landscape"in L&&t(1,r=L.landscape),"stageSize"in L&&t(2,a=L.stageSize),"themes"in L&&t(3,u=L.themes),"stageRect"in L&&t(18,c=L.stageRect),"stageMaxHeight"in L&&t(4,h=L.stageMaxHeight),"stageMaxWidth"in L&&t(5,f=L.stageMaxWidth)},s.$$.update=()=>{if(s.$$.dirty&262144){let{width:L,height:ne}=c;t(7,d=Math.round(L)),t(8,_=Math.round(ne))}s.$$.dirty&131072&&(t(6,g=i==="dark"),i==="dark"?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.setAttribute("data-theme","light"))},[l,r,a,u,h,f,g,d,_,S,q,k,v,E,R,M,j,i,c,Y,G,Z,J,z]}class Zs extends Te{constructor(e){super(),Se(this,e,Vs,Us,Ee,{active:0,appTheme:17,landscape:1,stageSize:2,themes:3,stageRect:18,stageMaxHeight:4,stageMaxWidth:5})}}const rt=[];function Fs(s,e){return{subscribe:de(s,e).subscribe}}function de(s,e=ce){let t;const n=new Set;function l(a){if(Ee(s,a)&&(s=a,t)){const u=!rt.length;for(const c of n)c[1](),rt.push(c,s);if(u){for(let c=0;c<rt.length;c+=2)rt[c][0](rt[c+1]);rt.length=0}}}function i(a){l(a(s))}function r(a,u=ce){const c=[a,u];return n.add(c),n.size===1&&(t=e(l,i)||ce),a(s),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:l,update:i,subscribe:r}}function ll(s,e,t){const n=!Array.isArray(s),l=n?[s]:s;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return Fs(t,(r,a)=>{let u=!1;const c=[];let h=0,f=ce;const g=()=>{if(h)return;f();const _=e(n?c[0]:c,r,a);i?r(_):f=$t(_)?_:ce},d=l.map((_,S)=>ml(_,q=>{c[S]=q,h&=~(1<<S),u&&g()},()=>{h|=1<<S}));return u=!0,g(),function(){Nt(d),f(),u=!1}})}function Bt(s,e,t=l=>l,n=l=>l){const l=de(t(localStorage.getItem(s))??e);return l.subscribe(i=>{localStorage.setItem(s,n(i))}),l}const Oe=de([]),sl=de(""),sn=Bt("stageSize","full"),rn=Bt("landscape",!1,s=>s==="true"),Ue=de(""),il=de(""),Ve=de(""),Qt=de("full"),Gt=de("full"),Qs=ll([Ue,Ve],([s,e])=>Math.min(s,e)-20),Gs=ll(il,s=>s-20),gt=de(!0),rl=Bt("appTheme","default"),ut=Bt("frameTheme");let ot="";const Xs={small:{frameheight:"1170px",framewidth:"550px"},medium:{frameheight:"1080px",framewidth:"810px"},large:{frameheight:"960px",framewidth:"1536px"},full:{frameheight:"100%",framewidth:"100%"}};function Ys(s){var e;X(ut)||ut.set(((e=s==null?void 0:s.find(t=>t.active))==null?void 0:e.name)??s[0].name),Oe.set(s==null?void 0:s.map(t=>({...t,active:t.name===X(ut)}))),Dt()}function Js(s){Oe.set(X(Oe).map(e=>({...e,active:e.name===s}))),ut.set(s),Dt()}function Ks(s){sn.set(s.stageSize),rn.set(s.landscape),Dt()}function $s(s){rl.set(s)}function ei(){return X(Oe)&&X(Oe).length>0?X(Oe).find(s=>s.name===X(ut))??X(Oe)[0]:{stageBg:"white"}}function Dt(){const s=ei().stageBg,{frameheight:e,framewidth:t}=Xs[X(sn)],n=X(rn)?`width: ${e}; height: ${t}`:`width: ${t}; height: ${e}`,l=`background-color: ${s}`;sl.set(`${n}; ${l}; transition: 0s;`)}function ti(s){Ue.set(s),ol()}function ni(s){const e=s-9;Ve.set(e),ol()}function li(s){il.set(s)}function Pn(s){Number.isInteger(s)?Qt.set(Math.max(50,s)):Qt.set(s)}function On(s){Number.isInteger(s)?Gt.set(Math.max(50,s)):Gt.set(s)}function ol(){Number.isInteger(X(Ue))&&Number.isInteger(X(Ve))&&gt.set(X(Ue)<X(Ve))}function Un(){X(gt)?(ot=X(Ue),Ue.set(X(Ve))):((!Number.isInteger(ot)||Number.isInteger(ot)&&X(Ve)-ot<50)&&(ot=Math.round(X(Ve)*.7)),Ue.set(ot)),gt.set(!X(gt))}Dt();const tt=de([]),ct=de(!0),Wt=de();let Vn=!1,Pt="",al,qt=[],je=[];function si(s){je=s.flatMap(ul).reduce((t,n)=>(t[n.key]=!0,t),{})}function ul(s){return[s,...ii(s)]}function ii(s){return s.children?s.children.flatMap(ul):[]}function ri(s,e){Pt=s,al=e,Ot()}function oi(s){Wt.set(s),Ot()}function ai(s){qt=s,Vn||(si(qt),Vn=!0),tt.set(on(qt))}function Ot(){tt.set(on(qt))}function on(s,e){const t=X(Wt);return s.map(n=>{var r;const l=t?(r=n.name)==null?void 0:r.toLowerCase().includes(t):!0,i=t&&l?ui(n.name):n.name;if(n.isLeaf)return e||l?{...n,name:i,selected:al===n.key,isLeaf:!0}:void 0;{const a=on(n.children,e||l).filter(c=>c),u=l||a.length>0;return u?{...n,name:i,children:a,unfolded:ci(n,Pt,t,u),filterMatches:l}:void 0}}).filter(n=>n)}function ui(s){const e=X(Wt),t=s.toLowerCase().indexOf(e),n=t+e.length,l=s.substring(0,t),i=s.substring(t,n),r=s.substring(n);return`${l}<span class="highlight">${i}</span>${r}`}function ci(s,e,t,n){return t&&n||je[s.key]||(e==null?void 0:e.indexOf(s.key))===0}function hi(){ct.set(!X(ct));const s=X(tt).map(e=>({...e,unfolded:X(ct)&&je[e.key]}));tt.set(s)}function fi(s){if(!X(ct)){di(s);return}je[s.key]&&Pt.indexOf(s.key)!==0?je[s.key]=!1:je[s.key]=!0,Ot()}function di(s){ct.set(!0),Object.keys(je).forEach(t=>je[t]=!1);const e=X(tt).map(t=>t.key===s.key||Pt.indexOf(t.key)===0?(je[t.key]=!0,{...t,unfolded:!0}):(je[t.key]=!1,{...t,unfolded:!1}));tt.set(e),Ot()}const cl=[],gi=globalThis.location?globalThis.location.pathname+globalThis.location.search:"";let qe=gi,et="",Xt,Yt={url:qe};(function(){globalThis.history&&(globalThis.history.state&&globalThis.history.state.url==qe&&(Yt=globalThis.history.state),globalThis.history.replaceState(Yt,null,qe))})();function pi(s,e,t){Xt=s,et=e,t&&mi(t),Ht(Yt,qe)}function mi(s){cl.push(s)}function Ht(s,e){cl.forEach(t=>{t(_i(e),s)})}function _i(s){const e=s.substring(et.length),t=Object.keys(Xt).find(n=>e.match(new RegExp("^"+n+"$","i")));return t?Xt[t]:null}(function(s){if(s){var e=s.pushState;s.pushState=function(t,n,l){if(!(l.startsWith(et)&&et.length>0)){if(qe=et+l,t.url=qe,t.url!==s.state.url||t.selectedExample!==s.state.selectedExample)return Ht(t,qe),e.apply(s,[t,"",qe]);Ht(t,qe),window.location.reload()}}}})(globalThis.history);globalThis.onpopstate=function(s){s.state?qe=s.state.url:qe=et.length>0?et:"/",Ht(s.state,qe)};const Jt=de(""),It=de(),Rt=de({}),hl=de("");let Lt,dt,Kt;function ki(s){Lt=s,Kt&&fl()}function bi(s,e,t){Lt=s,Kt||(Kt=!0,pi(e,t,vi))}function vi(s,e){if(It.set({}),Jt.set(""),Rt.set({}),s&&Lt){Jt.set(s.fullname),hl.set(s.route);const t=Lt[s.fullname];t.componentfile=s.file,It.set(t),dt=e,fl()}}function fl(){var e,t;const s=X(It).examples||[];dt!=null&&dt.selectedExample?Rt.set((e=s.find(n=>n.title==dt.selectedExample))==null?void 0:e.title):Rt.set((t=s[0])==null?void 0:t.title)}function wi(s){let e,t,n,l,i,r,a,u,c;return n=new Bs({props:{projectTitle:s[23],projectLogo:s[24],projectLogoDarkmode:s[25],appTheme:s[7],show:s[3],rootNodesExpanded:s[8],nodes:s[9],filter:s[10],panelExpanded:s[11],docsLink:s[4]}}),n.$on("out",s[28]),r=new Zs({props:{active:s[3],themes:s[12],appTheme:s[7],stageRect:s[2],stageSize:s[13],landscape:s[14],stageWidth:s[15],stageHeight:s[16],stageMaxHeight:s[17],stageMaxWidth:s[18]}}),r.$on("out",s[26]),u=new ks({props:{componentName:s[1],das:s[19],selectedExample:s[6],stageStyle:s[20],stageSize:s[13],stageContainerHeight:s[21],stageContainerMaxHeight:s[22],stageHeight:s[16],stageWidth:s[15],stageMaxHeight:s[17],stageMaxWidth:s[18],theme:s[5],panelExpanded:s[11],devmodus:s[0].devmodus}}),u.$on("out",s[27]),{c(){e=y("div"),t=y("div"),Ce(n.$$.fragment),l=N(),i=y("div"),Ce(r.$$.fragment),a=N(),Ce(u.$$.fragment),this.h()},l(h){e=T(h,"DIV",{class:!0});var f=b(e);t=T(f,"DIV",{class:!0});var g=b(t);Le(n.$$.fragment,g),g.forEach(p),l=A(f),i=T(f,"DIV",{class:!0});var d=b(i);Le(r.$$.fragment,d),a=A(d),Le(u.$$.fragment,d),d.forEach(p),f.forEach(p),this.h()},h(){o(t,"class","sidebar svelte-yh1ir7"),o(i,"class","main svelte-yh1ir7"),o(e,"class","garden svelte-yh1ir7")},m(h,f){B(h,e,f),m(e,t),Me(n,t,null),m(e,l),m(e,i),Me(r,i,null),m(i,a),Me(u,i,null),c=!0},p(h,f){const g={};f[0]&128&&(g.appTheme=h[7]),f[0]&8&&(g.show=h[3]),f[0]&256&&(g.rootNodesExpanded=h[8]),f[0]&512&&(g.nodes=h[9]),f[0]&1024&&(g.filter=h[10]),f[0]&2048&&(g.panelExpanded=h[11]),f[0]&16&&(g.docsLink=h[4]),n.$set(g);const d={};f[0]&8&&(d.active=h[3]),f[0]&4096&&(d.themes=h[12]),f[0]&128&&(d.appTheme=h[7]),f[0]&4&&(d.stageRect=h[2]),f[0]&8192&&(d.stageSize=h[13]),f[0]&16384&&(d.landscape=h[14]),f[0]&32768&&(d.stageWidth=h[15]),f[0]&65536&&(d.stageHeight=h[16]),f[0]&131072&&(d.stageMaxHeight=h[17]),f[0]&262144&&(d.stageMaxWidth=h[18]),r.$set(d);const _={};f[0]&2&&(_.componentName=h[1]),f[0]&524288&&(_.das=h[19]),f[0]&64&&(_.selectedExample=h[6]),f[0]&1048576&&(_.stageStyle=h[20]),f[0]&8192&&(_.stageSize=h[13]),f[0]&2097152&&(_.stageContainerHeight=h[21]),f[0]&4194304&&(_.stageContainerMaxHeight=h[22]),f[0]&65536&&(_.stageHeight=h[16]),f[0]&32768&&(_.stageWidth=h[15]),f[0]&131072&&(_.stageMaxHeight=h[17]),f[0]&262144&&(_.stageMaxWidth=h[18]),f[0]&32&&(_.theme=h[5]),f[0]&2048&&(_.panelExpanded=h[11]),f[0]&1&&(_.devmodus=h[0].devmodus),u.$set(_)},i(h){c||(P(n.$$.fragment,h),P(r.$$.fragment,h),P(u.$$.fragment,h),c=!0)},o(h){F(n.$$.fragment,h),F(r.$$.fragment,h),F(u.$$.fragment,h),c=!1},d(h){h&&p(e),He(n),He(r),He(u)}}}function xi(s){let e,t,n="Relative link was clicked!",l,i,r,a,u="back",c,h;return{c(){e=y("div"),t=y("div"),t.textContent=n,l=N(),i=y("div"),r=be(`Click the button to return:
47
+ `),a=y("button"),a.textContent=u,this.h()},l(f){e=T(f,"DIV",{class:!0});var g=b(e);t=T(g,"DIV",{class:!0,"data-svelte-h":!0}),xe(t)!=="svelte-jskzqc"&&(t.textContent=n),l=A(g),i=T(g,"DIV",{class:!0});var d=b(i);r=ve(d,`Click the button to return:
48
+ `),a=T(d,"BUTTON",{class:!0,"data-svelte-h":!0}),xe(a)!=="svelte-u4jm95"&&(a.textContent=u),d.forEach(p),g.forEach(p),this.h()},h(){o(t,"class","click-completed svelte-yh1ir7"),o(a,"class","svelte-yh1ir7"),o(i,"class","instruction svelte-yh1ir7"),o(e,"class","message svelte-yh1ir7")},m(f,g){B(f,e,g),m(e,t),m(e,l),m(e,i),m(i,r),m(i,a),c||(h=ee(a,"click",s[33]),c=!0)},p:ce,i:ce,o:ce,d(f){f&&p(e),c=!1,h()}}}function Ei(s){let e,t,n,l;const i=[xi,wi],r=[];function a(u,c){return window.top!==window.self?0:1}return e=a(),t=r[e]=i[e](s),{c(){t.c(),n=Ze()},l(u){t.l(u),n=Ze()},m(u,c){r[e].m(u,c),B(u,n,c),l=!0},p(u,c){t.p(u,c)},i(u){l||(P(t),l=!0)},o(u){F(t),l=!1},d(u){u&&p(n),r[e].d(u)}}}let yi="/garden";function Ti(s,e,t){var Ie,ke;let n,l,i,r,a,u,c,h,f,g,d,_,S,q,k,v,E,w,R,M,j;ie(s,ut,x=>t(5,l=x)),ie(s,Jt,x=>t(1,i=x)),ie(s,Rt,x=>t(6,r=x)),ie(s,hl,x=>t(32,a=x)),ie(s,rl,x=>t(7,u=x)),ie(s,ct,x=>t(8,c=x)),ie(s,tt,x=>t(9,h=x)),ie(s,Wt,x=>t(10,f=x)),ie(s,gt,x=>t(11,g=x)),ie(s,Oe,x=>t(12,d=x)),ie(s,sn,x=>t(13,_=x)),ie(s,rn,x=>t(14,S=x)),ie(s,Gt,x=>t(15,q=x)),ie(s,Qt,x=>t(16,k=x)),ie(s,Qs,x=>t(17,v=x)),ie(s,Gs,x=>t(18,E=x)),ie(s,It,x=>t(19,w=x)),ie(s,sl,x=>t(20,R=x)),ie(s,Ue,x=>t(21,M=x)),ie(s,Ve,x=>t(22,j=x));let{routes:Y}=e,{navTree:G}=e,{dasMap:Z}=e,{config:J}=e,z=J.project_title||"",L=((Ie=J.project_logo)==null?void 0:Ie.split("/").pop())||null,ne=((ke=J.project_logo_darkmode)==null?void 0:ke.split("/").pop())||null,le={},re=!0;function te(x){if(x.detail.openInTab){const Re=window.open("/frame.html","_blank");Re.onload=()=>{Re.postMessage({selectedExample:r,componentName:i,theme:l},window.location.origin)}}x.detail.selectTheme&&Js(x.detail.selectTheme),x.detail.updateAppTheme&&$s(x.detail.updateAppTheme),x.detail.active!==void 0&&(t(3,re=x.detail.active),Ks({stageSize:x.detail.stageSize,landscape:x.detail.landscape})),x.detail.stageWidth&&On(x.detail.stageWidth),x.detail.stageHeight&&Pn(x.detail.stageHeight)}function _e(x){x.detail.stageRect&&t(2,le=x.detail.stageRect),x.detail.stageContainerHeight&&ti(x.detail.stageContainerHeight),x.detail.toggleExpandPanel&&Un(),x.detail.stageContainerWidth&&li(x.detail.stageContainerWidth),x.detail.stageContainerMaxHeight&&ni(x.detail.stageContainerMaxHeight),x.detail.stageWidth&&On(x.detail.stageWidth),x.detail.stageHeight&&Pn(x.detail.stageHeight)}function ze(x){var Re;x.detail.toggleFoldStatusOfNode&&fi(x.detail.toggleFoldStatusOfNode),x.detail.toggleRootFolders&&hi(),x.detail.filter&&oi((Re=x.detail.filter.value)==null?void 0:Re.toLowerCase()),x.detail.toggleExpandPanel&&Un()}const he=()=>{window.top.location.reload()};return s.$$set=x=>{"routes"in x&&t(29,Y=x.routes),"navTree"in x&&t(30,G=x.navTree),"dasMap"in x&&t(31,Z=x.dasMap),"config"in x&&t(0,J=x.config)},s.$$.update=()=>{s.$$.dirty[0]&1073741824&&ai(G),s.$$.dirty[0]&536870912|s.$$.dirty[1]&1&&Y&&Z&&bi(Z,Y,yi),s.$$.dirty[1]&1&&ki(Z),s.$$.dirty[0]&1&&Ys(J.themes),s.$$.dirty[0]&2|s.$$.dirty[1]&2&&ri(a,i),s.$$.dirty[0]&1&&t(4,n=J.docs_link?1:0)},[J,i,le,re,n,l,r,u,c,h,f,g,d,_,S,q,k,v,E,w,R,M,j,z,L,ne,te,_e,ze,Y,G,Z,a,he]}class Si extends Te{constructor(e){super(),Se(this,e,Ti,Ei,Ee,{routes:29,navTree:30,dasMap:31,config:0},null,[-1,-1])}}new Si({target:document.getElementById("app"),props:{navTree:_l,routes:kl,dasMap:bl,config:vl}});
@@ -0,0 +1,19 @@
1
+ .container.svelte-1pql0kc{display:flex;flex-direction:column;flex-wrap:nowrap;width:100%;height:100%;overflow-y:auto}.top.svelte-1pql0kc{flex-grow:0;flex-shrink:0;border-bottom:0;border-radius:.625rem .625rem 0 0;overflow:hidden}.dragbar.svelte-1pql0kc{flex-grow:0;flex-shrink:0;height:.188rem;background-color:var(--c-primary);cursor:row-resize;z-index:10}.dragging.svelte-1pql0kc,.dragbar.svelte-1pql0kc:hover{background-color:var(--c-primary);transform:scaleY(2)}.resizepane-container.svelte-mmou7f.svelte-mmou7f{display:grid;grid-template:min-content 1.25rem / min-content 1.25rem;width:100%;height:100%;overflow:auto}.dragbar.svelte-mmou7f.svelte-mmou7f{display:flex;flex-grow:0;flex-shrink:0;justify-content:center;align-items:center;height:100%;width:100%;background-color:var(--c-dragbar-bg);z-index:10}.dragbar.svelte-mmou7f.svelte-mmou7f:hover{background-color:var(--c-dragbar-bg-hover)}.vertical.svelte-mmou7f.svelte-mmou7f{width:1.25rem;border-top:1px solid var(--c-dragbar-bg);border-right:1px solid var(--c-dragbar-bg);border-radius:0 .625rem 0 0;cursor:ew-resize}.vertical.svelte-mmou7f .dragbar-icon.svelte-mmou7f{width:.25rem;height:60%;max-height:3.75rem;background-color:var(--c-dragbar-icon);border-radius:1rem}.horizontal.svelte-mmou7f.svelte-mmou7f{height:1.25rem;border-bottom:1px solid var(--c-dragbar-bg);border-left:1px solid var(--c-dragbar-bg);cursor:ns-resize}.horizontal.svelte-mmou7f .dragbar-icon.svelte-mmou7f{width:60%;max-width:3.75rem;height:.25rem;background-color:var(--c-dragbar-icon);border-radius:1rem}.corner.svelte-mmou7f.svelte-mmou7f{width:1.25rem;height:1.25rem;border-right:1px solid var(--c-dragbar-bg);border-bottom:1px solid var(--c-dragbar-bg);cursor:nwse-resize}.corner.svelte-mmou7f .dragbar-icon.svelte-mmou7f{width:1rem;height:.25rem;transform:rotate(-45deg);background-color:var(--c-dragbar-icon);border-radius:1rem}.dragbar.disabled.svelte-mmou7f.svelte-mmou7f{display:none}.resizepane-container.disabled.svelte-mmou7f.svelte-mmou7f{display:flex;justify-content:center}:root{--h-panelnav:2.375rem}.panel_container.svelte-19zoa7t.svelte-19zoa7t{background-color:var(--c-basic-75)}.panel_nav.svelte-19zoa7t.svelte-19zoa7t{position:sticky;top:0;display:flex;flex-shrink:0;justify-content:space-between;align-items:center;height:var(--h-panelnav);border-bottom:1px solid var(--c-bg-body)}.panel_nav.svelte-19zoa7t nav.svelte-19zoa7t{margin:0 1.25rem 0 0}.panel_nav.svelte-19zoa7t nav ul.svelte-19zoa7t{display:flex;overflow-x:auto}.panel_nav.svelte-19zoa7t nav li button.svelte-19zoa7t{position:relative;display:flex;flex-direction:column;justify-content:space-between;justify-content:center;align-items:center;padding:.563rem 1.25rem .188rem;padding:0 1.25rem;height:calc(var(--h-panelnav) - 1px);font-size:.875rem;color:var(--c-basic-700);white-space:nowrap;text-transform:capitalize;overflow:hidden}.panel_nav.svelte-19zoa7t nav li button .dot.svelte-19zoa7t{display:block;height:.313rem;width:.313rem;background-color:transparent;border-radius:50%}.panel_nav.svelte-19zoa7t nav li button.active .dot.svelte-19zoa7t{background-color:var(--c-primary)}.panel_nav.svelte-19zoa7t nav li button.svelte-19zoa7t:hover,.panel_nav.svelte-19zoa7t nav li button.svelte-19zoa7t:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.panel_nav.svelte-19zoa7t nav li button.svelte-19zoa7t:focus-visible{background-color:var(--c-basic-150)}.panel_nav.svelte-19zoa7t nav li button.active.svelte-19zoa7t{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg)}.panel_toggle.svelte-19zoa7t.svelte-19zoa7t{padding:0 .75rem;height:100%;background:none}.panel_toggle.svelte-19zoa7t svg.svelte-19zoa7t{margin-top:.188rem;height:1.375rem;color:var(--c-basic-700)}.panel_toggle.svelte-19zoa7t:hover svg.svelte-19zoa7t,.panel_toggle.svelte-19zoa7t:focus-visible svg.svelte-19zoa7t{color:var(--c-primary)}.panel_toggle.svelte-19zoa7t.svelte-19zoa7t:focus-visible{background-color:var(--c-basic-150)}.panel_pane.svelte-19zoa7t.svelte-19zoa7t{position:absolute;left:0;right:0;bottom:0;top:var(--h-panelnav);padding:1.25rem;overflow-y:auto}.stories.svelte-9ikz8y.svelte-9ikz8y{list-style:none;margin:0;padding:0}.stories.svelte-9ikz8y li button.svelte-9ikz8y{display:flex;align-items:center;justify-items:flex-start;margin:0;padding:.5rem .5rem .5rem 1.25rem;width:100%;font-size:.9rem;color:var(--c-basic-600);text-align:left}.stories.svelte-9ikz8y li button .dot.svelte-9ikz8y{display:block;margin:0 .5rem 0 0;height:.375rem;width:.375rem;background-color:transparent;border-radius:50%}.stories.svelte-9ikz8y li.active button .dot.svelte-9ikz8y{background-color:var(--c-primary)}.stories.svelte-9ikz8y li:nth-child(odd) button.svelte-9ikz8y{background-color:var(--c-basic-50)}.stories.svelte-9ikz8y li button.svelte-9ikz8y:hover,.stories.svelte-9ikz8y li button.svelte-9ikz8y:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-150)}.stories.svelte-9ikz8y li.active button.svelte-9ikz8y{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg)}.stories.svelte-9ikz8y li.active button.svelte-9ikz8y:focus-visible{background-color:var(--c-basic-150)}.markdown-body{--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: hsl(168, 8%, 94%);--color-border-default: #d0d7de;--color-border-muted: hsla(210, 18%, 87%, 1);--color-neutral-muted: var(--c-basic-150);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.dark .markdown-body{--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: var(--c-basic-150);--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: var(--c-basic-150);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;width:100%;max-width:900px;color:var(--color-fg-default);word-wrap:break-word}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.75em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.375em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1.125em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:.875rem}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:.875rem;word-wrap:normal}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:.875rem;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}/*!
2
+ Theme: GitHub
3
+ Description: Light theme as seen on github.com
4
+ Author: github.com
5
+ Maintainer: @Hirse
6
+ Updated: 2021-05-15
7
+
8
+ Outdated base version: https://github.com/primer/github-syntax-light
9
+ Current colors taken from GitHub's CSS
10
+ */.hljs{color:#24292e}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}/*!
11
+ Theme: GitHub Dark
12
+ Description: Dark theme as seen on github.com
13
+ Author: github.com
14
+ Maintainer: @Hirse
15
+ Updated: 2021-05-15
16
+
17
+ Outdated base version: https://github.com/primer/github-syntax-dark
18
+ Current colors taken from GitHub's CSS
19
+ */.dark .hljs{color:#c9d1d9}.dark .hljs-doctag,.dark .hljs-keyword,.dark .hljs-meta .hljs-keyword,.dark .hljs-template-tag,.dark .hljs-template-variable,.dark .hljs-type,.dark .hljs-variable.language_{color:#ff7b72}.dark .hljs-title,.dark .hljs-title.class_,.dark .hljs-title.class_.inherited__,.dark .hljs-title.function_{color:#d2a8ff}.dark .hljs-attr,.dark .hljs-attribute,.dark .hljs-literal,.dark .hljs-meta,.dark .hljs-number,.dark .hljs-operator,.dark .hljs-variable,.dark .hljs-selector-attr,.dark .hljs-selector-class,.dark .hljs-selector-id{color:#79c0ff}.dark .hljs-regexp,.dark .hljs-string,.dark .hljs-meta .hljs-string{color:#a5d6ff}.dark .hljs-built_in,.dark .hljs-symbol{color:#ffa657}.dark .hljs-comment,.dark .hljs-code,.dark .hljs-formula{color:#8b949e}.dark .hljs-name,.dark .hljs-quote,.dark .hljs-selector-tag,.dark .hljs-selector-pseudo{color:#7ee787}.dark .hljs-subst{color:#c9d1d9}.dark .hljs-section{color:#1f6feb;font-weight:700}.dark .hljs-bullet{color:#f2cc60}.dark .hljs-emphasis{color:#c9d1d9;font-style:italic}.dark .hljs-strong{color:#c9d1d9;font-weight:700}.dark .hljs-addition{color:#aff5b4;background-color:#033a16}.dark .hljs-deletion{color:#ffdcd7;background-color:#67060c}.stage_iframe.svelte-3elosm{display:block;align-self:center;margin:auto;height:100%;width:100%;background-color:var(--c-basic-0)}.panel.svelte-3elosm{display:flex;flex-direction:column;flex-wrap:nowrap;position:relative;margin-bottom:.375rem;height:100%;width:100%;background-color:var(--c-basic-0);border-top:0;border-radius:0 0 .625rem .625rem;overflow-y:auto}.component_link.svelte-1tjv5dj.svelte-1tjv5dj{display:flex;justify-content:flex-start;align-items:center;margin:0;padding:.188rem 0;text-transform:initial;font-size:.813rem;color:var(--c-basic-600);line-height:1.2;font-weight:400}.component_link.svelte-1tjv5dj.svelte-1tjv5dj:hover,.component_link.svelte-1tjv5dj.svelte-1tjv5dj:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.component_link.svelte-1tjv5dj .component_dot.svelte-1tjv5dj{display:block;margin:0 .5rem 0 -.219rem;height:.375rem;width:.375rem;background-color:transparent;border-radius:50%}.component_link.selected.svelte-1tjv5dj .component_dot.svelte-1tjv5dj{background-color:var(--c-primary)}.component_link.selected.svelte-1tjv5dj.svelte-1tjv5dj{margin-left:-1px;color:var(--c-primary);font-weight:600;background-color:var(--c-primary-bg);border-left:1px solid var(--c-primary)}.component_icon.svelte-1tjv5dj.svelte-1tjv5dj{display:flex;align-items:center;margin-right:.438rem;color:var(--c-basic-400)}.component_label.svelte-1tjv5dj.svelte-1tjv5dj{margin-right:.5rem;overflow:hidden;white-space:nowrap}.items.svelte-4ombcb.svelte-4ombcb{margin-left:1.063rem;border-left:1px solid var(--c-basic-250)}.level-1.svelte-4ombcb.svelte-4ombcb{width:100%;margin:0;padding:0;border:none}.folder.svelte-4ombcb.svelte-4ombcb{display:block;margin:0}.folder_btn.svelte-4ombcb.svelte-4ombcb{display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0;padding:.5rem .688rem .375rem}.folder_label.svelte-4ombcb.svelte-4ombcb{display:flex;width:100%;font-size:.813rem;color:var(--c-basic-900);font-weight:600;text-transform:uppercase;overflow:hidden;white-space:nowrap}.folder_btn.svelte-4ombcb.svelte-4ombcb:hover{background-color:var(--c-basic-100)}.folder_btn.svelte-4ombcb:hover .folder_label.svelte-4ombcb{color:var(--c-primary)}.folder_btn.svelte-4ombcb.svelte-4ombcb:focus-visible{color:var(--c-primary);outline:none;background-color:var(--c-basic-100)}.folder_arrow.svelte-4ombcb.svelte-4ombcb{display:flex;align-items:center;width:.938rem;height:1.25rem;transition:.2s;margin-right:.375rem;color:var(--c-basic-900)}.folder_arrow.unfolded_icon.svelte-4ombcb.svelte-4ombcb{transform:rotate(180deg);transition:.2s}.folder_icon.svelte-4ombcb.svelte-4ombcb{display:flex;align-items:center;margin-right:.375rem;color:var(--c-primary)}.btn_level-3.svelte-4ombcb .folder_label.svelte-4ombcb{font-size:.813rem}.filter_list.svelte-4ombcb .highlight{padding:0 .125rem;color:var(--c-primary);font-weight:700}.sidebar_container.svelte-1m8srel.svelte-1m8srel{--w-sidebar:260px;display:flex;flex-direction:column;position:relative;margin:.375rem 0;width:0;max-width:var(--w-sidebar);height:calc(100vh - .75rem);background-color:var(--c-sidebar-bg);border-radius:.625rem;transition:width .1s;overflow:hidden}.show-sidebar.svelte-1m8srel.svelte-1m8srel{margin:.375rem .375rem .375rem 0;width:var(--w-sidebar);box-sizing:border-box}.project-identifier.svelte-1m8srel.svelte-1m8srel{position:relative;display:flex;flex-shrink:0;flex-direction:row;justify-content:center;align-items:center;padding:.25rem .688rem;margin:0 0 .125rem;width:var(--w-sidebar);height:2.25rem;background-color:var(--c-sidebar);z-index:9;inline-size:var(--w-sidebar);overflow:hidden;white-space:nowrap;font-size:1.25rem;color:var(--c-primary);text-decoration:none;font-weight:900;line-height:1}.project-identifier.has-logo.svelte-1m8srel.svelte-1m8srel{height:auto}.project-identifier.svelte-1m8srel.svelte-1m8srel:focus-visible{color:var(--c-basic-500)}.project-identifier.svelte-1m8srel span.svelte-1m8srel{overflow:hidden}.filter.svelte-1m8srel.svelte-1m8srel{display:flex;flex-shrink:0;margin:0 0 .25rem;padding:.25rem .688rem;height:2.25rem}.filter_input.svelte-1m8srel.svelte-1m8srel{padding:.125rem .125rem .125rem .688rem;width:100%;height:100%;color:var(--c-basic-900);background-color:var(--c-basic-0);border:1px solid var(--c-primary);border-radius:1.75rem}input.filter_input[type=search].svelte-1m8srel.svelte-1m8srel{font-size:.813rem}.filter_input.svelte-1m8srel.svelte-1m8srel::placeholder{font-size:.813rem;color:var(--c-basic-500)}.filter_input.svelte-1m8srel.svelte-1m8srel:focus-visible{background-color:var(--c-basic-100);border:1px solid var(--c-basic-500)}.filter_zero-results.svelte-1m8srel.svelte-1m8srel{width:var(--w-sidebar);padding:.5rem .688rem .375rem;text-transform:initial;font-size:.813rem;color:var(--c-basic-600);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components.svelte-1m8srel.svelte-1m8srel{display:flex;flex-shrink:1;overflow:hidden;visibility:visible;width:var(--w-sidebar);overflow-y:auto;z-index:1;margin:0 0 1rem}.controls.svelte-1m8srel.svelte-1m8srel{display:none}@media (min-height: 35rem){.controls.svelte-1m8srel.svelte-1m8srel{display:block;flex-shrink:0;width:var(--w-sidebar);height:103px;bottom:.375rem;padding:0;background-color:var(--c-sidebar);border-top:1px solid var(--c-bg-body);border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem;overflow:hidden}}.controls_btn.svelte-1m8srel.svelte-1m8srel{display:flex;justify-content:flex-start;align-items:center;width:100%;height:2.125rem;margin:0;padding:0 .688rem;text-align:left}.controls_btn.svelte-1m8srel.svelte-1m8srel:hover,.controls_btn.svelte-1m8srel.svelte-1m8srel:focus-visible{background-color:var(--c-basic-100)}.controls_btn-icon.svelte-1m8srel.svelte-1m8srel{margin:0;color:var(--c-basic-700)}.controls_btn-label.svelte-1m8srel.svelte-1m8srel{position:relative;align-self:center;margin-left:.75rem;width:100%;color:var(--c-basic-900);font-size:.875rem;font-weight:400}.controls_btn.svelte-1m8srel:hover .controls_btn-label.svelte-1m8srel,.controls_btn.svelte-1m8srel:hover .controls_btn-icon.svelte-1m8srel,.controls_btn.svelte-1m8srel:focus-visible .controls_btn-label.svelte-1m8srel,.controls_btn.svelte-1m8srel:focus-visible .controls_btn-icon.svelte-1m8srel{color:var(--c-primary)}.topbar.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{--h-topbar:2.25rem;margin:.375rem 0;width:100%;height:var(--h-topbar);background-color:var(--c-topbar-bg);border-radius:.625rem}.topbar_container.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{display:flex;justify-content:space-between;width:100%;height:100%;padding:0}.topbar_nav.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{display:flex;align-items:center}.topbar_btn.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{display:flex;align-items:center;padding:0 .375rem;height:var(--h-topbar);background:none}.topbar_btn.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9:hover{background-color:var(--c-basic-100)}.topbar_btn.svelte-8qq2q9 svg.svelte-8qq2q9.svelte-8qq2q9{height:1.125rem;color:var(--c-basic-700)}.topbar_btn.svelte-8qq2q9:hover svg.svelte-8qq2q9.svelte-8qq2q9,.topbar_btn.svelte-8qq2q9:focus-visible svg.svelte-8qq2q9.svelte-8qq2q9{color:var(--c-primary)}.topbar_btn.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9:focus-visible{background-color:var(--c-basic-150)}.is-first-btn.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{border-radius:.5rem 0 0 .5rem}.is-last-btn.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{border-radius:0 .5rem .5rem 0}.stagesize-value.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{display:none}@media (min-width: 640px){.stagesize-value.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{display:inline-flex;align-items:center;padding:0 1rem;font-size:.75rem}.stagesize-input.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{padding:.25rem .375rem;width:42px;font-size:.75rem;font-family:ui-monospace,Menlo,Monaco,Cascadia Mono,Segoe UI Mono,Roboto Mono,Oxygen Mono,"Ubuntu Monospace",Source Code Pro,Fira Mono,Droid Sans Mono,Courier New,"monospace";color:var(--c-basic-600);text-align:right;background-color:transparent;border:1px solid var(--c-primary);border-radius:.125rem}.stagesize-value-multi_sign.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{margin:0 .25rem;color:var(--c-basic-700)}}.stagesize-nav.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{display:none}@media (min-width: 1280px){.stagesize-nav.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{position:relative;display:inline-flex;margin:0 .75rem;background-color:var(--c-basic-100)}.stagesize-nav.svelte-8qq2q9 button.svelte-8qq2q9.svelte-8qq2q9{position:relative;display:flex;justify-content:center;flex-direction:column;align-self:center;height:var(--h-topbar);margin:0;padding:0 .25rem;background:none;overflow:hidden}.stagesize-nav.svelte-8qq2q9 button.svelte-8qq2q9.svelte-8qq2q9:hover,.stagesize-nav.svelte-8qq2q9 button.svelte-8qq2q9.svelte-8qq2q9:focus-visible{background-color:var(--c-basic-150)}.stagesize-nav.svelte-8qq2q9 button.svelte-8qq2q9 svg.svelte-8qq2q9{height:1.125rem;color:var(--c-basic-700);transition:.2s}.stagesize-nav.svelte-8qq2q9 button.svelte-8qq2q9:hover svg.svelte-8qq2q9,.stagesize-nav.svelte-8qq2q9 button.svelte-8qq2q9:focus-visible svg.svelte-8qq2q9,.stagesize-nav.svelte-8qq2q9 button.active svg.svelte-8qq2q9.svelte-8qq2q9{color:var(--c-primary)}.stagesize-nav.svelte-8qq2q9 button svg.landscape.svelte-8qq2q9.svelte-8qq2q9{transform:rotate(90deg);transition:.2s}.stagesize-nav.svelte-8qq2q9 button .dot.svelte-8qq2q9.svelte-8qq2q9{display:block;position:absolute;left:50%;bottom:.125rem;transform:translate(-50%);height:.313rem;width:.313rem;background-color:transparent;border-radius:50%}.stagesize-nav.svelte-8qq2q9 button.active.svelte-8qq2q9.svelte-8qq2q9{background-color:var(--c-primary-bg)}.stagesize-nav.svelte-8qq2q9 button.active .dot.svelte-8qq2q9.svelte-8qq2q9{background-color:var(--c-primary)}}.dropdown.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{position:relative;display:inline-block}.dropdown_items.svelte-8qq2q9.svelte-8qq2q9.svelte-8qq2q9{visibility:hidden;position:absolute;left:-.75rem;padding:.375rem 0 0;z-index:9}.dropdown_items.svelte-8qq2q9 ul.svelte-8qq2q9.svelte-8qq2q9{margin:0;padding:0;background-color:var(--c-basic-50);filter:drop-shadow(0px 5px 5px rgba(0,0,0,.05)) drop-shadow(0 1px 3px rgba(0,0,0,.1));border-radius:.5rem;overflow:hidden}.dropdown_items.svelte-8qq2q9 ul li.svelte-8qq2q9.svelte-8qq2q9{display:block;list-style:none;margin:0;padding:0}.dropdown_items.svelte-8qq2q9 ul li button.svelte-8qq2q9.svelte-8qq2q9{display:flex;align-items:center;justify-items:flex-start;width:100%;min-width:113px;padding:.5rem;font-size:.75rem;color:var(--c-basic-900);text-transform:capitalize;white-space:nowrap}.dropdown_items.svelte-8qq2q9 ul li button .dropdown_item-dot.svelte-8qq2q9.svelte-8qq2q9{display:block;margin:0 .5rem 0 0;height:.313rem;width:.313rem;background-color:transparent;border-radius:50%}.dropdown_items.svelte-8qq2q9 ul li button.active .dropdown_item-dot.svelte-8qq2q9.svelte-8qq2q9,.dropdown_items.svelte-8qq2q9 ul li button.active:hover .dropdown_item-dot.svelte-8qq2q9.svelte-8qq2q9{background-color:var(--c-primary)}.dropdown_items.svelte-8qq2q9 ul li button.svelte-8qq2q9.svelte-8qq2q9:hover,.dropdown_items.svelte-8qq2q9 ul li button.svelte-8qq2q9.svelte-8qq2q9:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.dropdown_items.svelte-8qq2q9 ul li button.active.svelte-8qq2q9.svelte-8qq2q9{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg);border-color:var(--c-primary)}.dropdown.svelte-8qq2q9:hover>.dropdown_items.svelte-8qq2q9.svelte-8qq2q9,.dropdown.svelte-8qq2q9:focus-visible>.dropdown_items.svelte-8qq2q9.svelte-8qq2q9{display:block;visibility:visible}.sidebar.svelte-yh1ir7.svelte-yh1ir7{flex-grow:0;flex-shrink:0}.garden.svelte-yh1ir7.svelte-yh1ir7{display:flex;flex-direction:row;flex-wrap:nowrap;flex-grow:1;margin:0;padding:0 .375rem;width:100vw;height:100vh;overflow:hidden;background-color:var(--c-bg-body)}.main.svelte-yh1ir7.svelte-yh1ir7{display:flex;flex-direction:column;width:100%;height:100vh;overflow-y:auto}.message.svelte-yh1ir7.svelte-yh1ir7{display:inline-block;margin:1rem;padding:1rem;background-color:#fff;border-radius:.625rem}.click-completed.svelte-yh1ir7.svelte-yh1ir7{margin:0 0 .75rem;font-size:120%;font-weight:500}.instruction.svelte-yh1ir7 button.svelte-yh1ir7{padding:.125rem .75rem;background:var(--c-basic-150);border-radius:.375rem;font-size:90%;color:var(--c-basic-900);font-weight:600;text-transform:uppercase}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;margin:0}*,:before,:after{box-sizing:border-box;border:0 solid #fff}*:focus,*:focus:not(:focus-visible){outline:none}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;text-rendering:optimizeSpeed;line-height:1}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}a{text-decoration-skip-ink:auto}img,picture,embed,object,video{max-width:100%;width:auto;height:auto}img,video,canvas,audio,iframe,embed,object{display:block;border:none}input,button,textarea,select{font:inherit}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:root{--c-primary: hsl(185, 80%, 40%);--c-primary-bg: hsl(185, 100%, 95%);--c-basic-0: hsl(216, 20%, 100%);--c-basic-50: hsl(216, 20%, 98%);--c-basic-75: hsl(216, 20%, 96%);--c-basic-100: hsl(216, 20%, 94%);--c-basic-150: hsl(216, 20%, 90%);--c-basic-200: hsl(216, 20%, 87%);--c-basic-250: hsl(216, 20%, 84%);--c-basic-300: hsl(216, 20%, 81%);--c-basic-400: hsl(216, 20%, 64%);--c-basic-500: hsl(216, 20%, 46%);--c-basic-600: hsl(216, 20%, 32%);--c-basic-700: hsl(216, 20%, 25%);--c-basic-800: hsl(216, 20%, 15%);--c-basic-900: hsl(216, 20%, 10%);--c-bg-body: var(--c-basic-200);--c-topbar-bg: var(--c-basic-0);--c-sidebar-bg: var(--c-basic-0);--c-dragbar-bg: var(--c-basic-100);--c-dragbar-bg-hover: var(--c-basic-200);--c-dragbar-icon: var(--c-basic-400)}[data-theme=dark]{--c-primary: hsl(185, 80%, 70%);--c-primary-bg: hsl(185, 80%, 17%);--c-basic-0: hsl(216, 30%, 5%);--c-basic-50: hsl(216, 30%, 10%);--c-basic-75: hsl(216, 30%, 14%);--c-basic-100: hsl(216, 30%, 18%);--c-basic-150: hsl(216, 30%, 22%);--c-basic-200: hsl(216, 30%, 25%);--c-basic-250: hsl(216, 30%, 30%);--c-basic-300: hsl(216, 30%, 33%);--c-basic-400: hsl(216, 30%, 46%);--c-basic-500: hsl(216, 30%, 64%);--c-basic-600: hsl(216, 30%, 83%);--c-basic-700: hsl(216, 30%, 90%);--c-basic-800: hsl(216, 30%, 96%);--c-basic-900: hsl(216, 30%, 98%);--c-bg-body: var(--c-basic-150);--c-topbar-bg: var(--c-basic-0);--c-sidebar-bg: var(--c-basic-0);--c-dragbar-bg: var(--c-basic-250);--c-dragbar-bg-hover: var(--c-basic-150);--c-dragbar-icon: var(--c-basic-500)}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";text-shadow:1px 1px 1px rgba(0,0,0,.004);-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased}h1,h2,h3,h4,h5,h6{margin:0;color:var(--c-basic-600);line-height:1.2}p{margin:.5rem 0;font-size:.875rem;color:var(--c-basic-600);line-height:1.5}li{font-size:.875rem;line-height:1.5}a,a:visited{font-size:.875rem;line-height:1.5;text-decoration:underline;text-decoration-skip-ink:auto}nav ol,nav ul{margin:0;padding:0;list-style:none}nav li{display:block;margin:0;padding:0}nav a{display:block;margin:0;padding:0;text-decoration:none}button{cursor:pointer;background-color:transparent;border:none}
@@ -1 +1 @@
1
- var W=Object.defineProperty;var J=(t,e,n)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var d=(t,e,n)=>J(t,typeof e!="symbol"?e+"":e,n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const c of r)if(c.type==="childList")for(const s of c.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const c={};return r.integrity&&(c.integrity=r.integrity),r.referrerPolicy&&(c.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?c.credentials="include":r.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(r){if(r.ep)return;r.ep=!0;const c=n(r);fetch(r.href,c)}})();function v(){}function Q(t,e){for(const n in e)t[n]=e[n];return t}function D(t){return t()}function H(){return Object.create(null)}function b(t){t.forEach(D)}function I(t){return typeof t=="function"}function bt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let $;function xt(t,e){return t===e?!0:($||($=document.createElement("a")),$.href=e,t===$.href)}function X(t){return Object.keys(t).length===0}function q(t,...e){if(t==null){for(const i of e)i(void 0);return v}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function $t(t){let e;return q(t,n=>e=n)(),e}function wt(t,e,n){t.$$.on_destroy.push(q(e,n))}function vt(t,e,n,i){if(t){const r=F(t,e,n,i);return t[0](r)}}function F(t,e,n,i){return t[1]&&i?Q(n.ctx.slice(),t[1](i(e))):n.ctx}function Et(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const c=[],s=Math.max(e.dirty.length,r.length);for(let l=0;l<s;l+=1)c[l]=e.dirty[l]|r[l];return c}return e.dirty|r}return e.dirty}function Nt(t,e,n,i,r,c){if(r){const s=F(e,n,i,c);t.p(s,r)}}function Tt(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let i=0;i<n;i++)e[i]=-1;return e}return-1}let N=!1;function Y(){N=!0}function Z(){N=!1}function tt(t,e,n,i){for(;t<e;){const r=t+(e-t>>1);n(r)<=i?t=r+1:e=r}return t}function et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const o=[];for(let u=0;u<e.length;u++){const a=e[u];a.claim_order!==void 0&&o.push(a)}e=o}const n=new Int32Array(e.length+1),i=new Int32Array(e.length);n[0]=-1;let r=0;for(let o=0;o<e.length;o++){const u=e[o].claim_order,a=(r>0&&e[n[r]].claim_order<=u?r+1:tt(1,r,x=>e[n[x]].claim_order,u))-1;i[o]=n[a]+1;const f=a+1;n[f]=o,r=Math.max(f,r)}const c=[],s=[];let l=e.length-1;for(let o=n[r]+1;o!=0;o=i[o-1]){for(c.push(e[o-1]);l>=o;l--)s.push(e[l]);l--}for(;l>=0;l--)s.push(e[l]);c.reverse(),s.sort((o,u)=>o.claim_order-u.claim_order);for(let o=0,u=0;o<s.length;o++){for(;u<c.length&&s[o].claim_order>=c[u].claim_order;)u++;const a=u<c.length?c[u]:null;t.insertBefore(s[o],a)}}function nt(t,e){if(N){for(et(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?(e.claim_order!==void 0||e.parentNode!==t)&&t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else(e.parentNode!==t||e.nextSibling!==null)&&t.appendChild(e)}function it(t,e,n){t.insertBefore(e,n||null)}function rt(t,e,n){N&&!n?nt(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function At(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function G(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function S(t){return document.createTextNode(t)}function Lt(){return S(" ")}function Pt(){return S("")}function St(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function Mt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ot(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function jt(t){return t.dataset.svelteH}function st(t){return Array.from(t.childNodes)}function z(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function K(t,e,n,i,r=!1){z(t);const c=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const l=t[s];if(e(l)){const o=n(l);return o===void 0?t.splice(s,1):t[s]=o,r||(t.claim_info.last_index=s),l}}for(let s=t.claim_info.last_index-1;s>=0;s--){const l=t[s];if(e(l)){const o=n(l);return o===void 0?t.splice(s,1):t[s]=o,r?o===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,l}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function U(t,e,n,i){return K(t,r=>r.nodeName===e,r=>{const c=[];for(let s=0;s<r.attributes.length;s++){const l=r.attributes[s];n[l.name]||c.push(l.name)}c.forEach(s=>r.removeAttribute(s))},()=>i(e))}function Ht(t,e,n){return U(t,e,n,G)}function Ct(t,e,n){return U(t,e,n,R)}function ct(t,e){return K(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>S(e),!0)}function kt(t){return ct(t," ")}function C(t,e,n){for(let i=n;i<t.length;i+=1){const r=t[i];if(r.nodeType===8&&r.textContent.trim()===e)return i}return-1}function Bt(t,e){const n=C(t,"HTML_TAG_START",0),i=C(t,"HTML_TAG_END",n+1);if(n===-1||i===-1)return new T(e);z(t);const r=t.splice(n,i-n+1);E(r[0]),E(r[r.length-1]);const c=r.slice(1,r.length-1);if(c.length===0)return new T(e);for(const s of c)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new T(e,c)}function Dt(t,e){e=""+e,t.data!==e&&(t.data=e)}function It(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function qt(t,e,n){t.classList.toggle(e,!!n)}function ot(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}class lt{constructor(e=!1){d(this,"is_svg",!1);d(this,"e");d(this,"n");d(this,"t");d(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=R(n.nodeName):this.e=G(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)it(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(E)}}class T extends lt{constructor(n=!1,i){super(n);d(this,"l");this.e=this.n=null,this.l=i}c(n){this.l?this.n=this.l:super.c(n)}i(n){for(let i=0;i<this.n.length;i+=1)rt(this.t,this.n[i],n)}}function Ft(t,e){return new t(e)}let g;function y(t){g=t}function M(){if(!g)throw new Error("Function called outside component initialization");return g}function Gt(t){M().$$.on_mount.push(t)}function Rt(t){M().$$.on_destroy.push(t)}function zt(){const t=M();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const c=ot(e,n,{cancelable:i});return r.slice().forEach(s=>{s.call(t,c)}),!c.defaultPrevented}return!0}}function Kt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],k=[];let p=[];const B=[],ut=Promise.resolve();let L=!1;function ft(){L||(L=!0,ut.then(V))}function P(t){p.push(t)}const A=new Set;let h=0;function V(){if(h!==0)return;const t=g;do{try{for(;h<m.length;){const e=m[h];h++,y(e),at(e.$$)}}catch(e){throw m.length=0,h=0,e}for(y(null),m.length=0,h=0;k.length;)k.pop()();for(let e=0;e<p.length;e+=1){const n=p[e];A.has(n)||(A.add(n),n())}p.length=0}while(m.length);for(;B.length;)B.pop()();L=!1,A.clear(),y(t)}function at(t){if(t.fragment!==null){t.update(),b(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(P)}}function dt(t){const e=[],n=[];p.forEach(i=>t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),p=e}const w=new Set;let _;function Ut(){_={r:0,c:[],p:_}}function Vt(){_.r||b(_.c),_=_.p}function _t(t,e){t&&t.i&&(w.delete(t),t.i(e))}function Wt(t,e,n,i){if(t&&t.o){if(w.has(t))return;w.add(t),_.c.push(()=>{w.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}function Jt(t,e){const n={},i={},r={$$scope:1};let c=t.length;for(;c--;){const s=t[c],l=e[c];if(l){for(const o in s)o in l||(i[o]=1);for(const o in l)r[o]||(n[o]=l[o],r[o]=1);t[c]=l}else for(const o in s)r[o]=1}for(const s in i)s in n||(n[s]=void 0);return n}function Qt(t){return typeof t=="object"&&t!==null?t:{}}function Xt(t){t&&t.c()}function Yt(t,e){t&&t.l(e)}function ht(t,e,n){const{fragment:i,after_update:r}=t.$$;i&&i.m(e,n),P(()=>{const c=t.$$.on_mount.map(D).filter(I);t.$$.on_destroy?t.$$.on_destroy.push(...c):b(c),t.$$.on_mount=[]}),r.forEach(P)}function mt(t,e){const n=t.$$;n.fragment!==null&&(dt(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function pt(t,e){t.$$.dirty[0]===-1&&(m.push(t),ft(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Zt(t,e,n,i,r,c,s=null,l=[-1]){const o=g;y(t);const u=t.$$={fragment:null,ctx:[],props:c,update:v,not_equal:r,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(o?o.$$.context:[])),callbacks:H(),dirty:l,skip_bound:!1,root:e.target||o.$$.root};s&&s(u.root);let a=!1;if(u.ctx=n?n(t,e.props||{},(f,x,...O)=>{const j=O.length?O[0]:x;return u.ctx&&r(u.ctx[f],u.ctx[f]=j)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](j),a&&pt(t,f)),x}):[],u.update(),a=!0,b(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){Y();const f=st(e.target);u.fragment&&u.fragment.l(f),f.forEach(E)}else u.fragment&&u.fragment.c();e.intro&&_t(t.$$.fragment),ht(t,e.target,e.anchor),Z(),V()}y(o)}class te{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){mt(this,1),this.$destroy=v}$on(e,n){if(!I(n))return v;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!X(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const yt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(yt);export{Pt as A,Yt as B,ht as C,Ut as D,mt as E,Vt as F,Jt as G,Qt as H,Q as I,Kt as J,jt as K,At as L,S as M,ct as N,I as O,Dt as P,v as Q,T as R,te as S,Bt as T,xt as U,Mt as V,b as W,R as X,Ct as Y,$t as Z,wt as _,Lt as a,Ht as b,vt as c,st as d,G as e,E as f,kt as g,Ot as h,Zt as i,It as j,rt as k,nt as l,St as m,Tt as n,Et as o,_t as p,Wt as q,zt as r,bt as s,qt as t,Nt as u,Gt as v,Rt as w,k as x,Ft as y,Xt as z};
1
+ var W=Object.defineProperty;var J=(t,e,n)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var d=(t,e,n)=>J(t,typeof e!="symbol"?e+"":e,n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const c of r)if(c.type==="childList")for(const s of c.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const c={};return r.integrity&&(c.integrity=r.integrity),r.referrerPolicy&&(c.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?c.credentials="include":r.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(r){if(r.ep)return;r.ep=!0;const c=n(r);fetch(r.href,c)}})();function v(){}function Q(t,e){for(const n in e)t[n]=e[n];return t}function D(t){return t()}function H(){return Object.create(null)}function b(t){t.forEach(D)}function I(t){return typeof t=="function"}function bt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let $;function xt(t,e){return t===e?!0:($||($=document.createElement("a")),$.href=e,t===$.href)}function X(t){return Object.keys(t).length===0}function q(t,...e){if(t==null){for(const i of e)i(void 0);return v}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function $t(t){let e;return q(t,n=>e=n)(),e}function wt(t,e,n){t.$$.on_destroy.push(q(e,n))}function vt(t,e,n,i){if(t){const r=F(t,e,n,i);return t[0](r)}}function F(t,e,n,i){return t[1]&&i?Q(n.ctx.slice(),t[1](i(e))):n.ctx}function Et(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const c=[],s=Math.max(e.dirty.length,r.length);for(let l=0;l<s;l+=1)c[l]=e.dirty[l]|r[l];return c}return e.dirty|r}return e.dirty}function Nt(t,e,n,i,r,c){if(r){const s=F(e,n,i,c);t.p(s,r)}}function Tt(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let i=0;i<n;i++)e[i]=-1;return e}return-1}let N=!1;function Y(){N=!0}function Z(){N=!1}function tt(t,e,n,i){for(;t<e;){const r=t+(e-t>>1);n(r)<=i?t=r+1:e=r}return t}function et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const o=[];for(let u=0;u<e.length;u++){const a=e[u];a.claim_order!==void 0&&o.push(a)}e=o}const n=new Int32Array(e.length+1),i=new Int32Array(e.length);n[0]=-1;let r=0;for(let o=0;o<e.length;o++){const u=e[o].claim_order,a=(r>0&&e[n[r]].claim_order<=u?r+1:tt(1,r,x=>e[n[x]].claim_order,u))-1;i[o]=n[a]+1;const f=a+1;n[f]=o,r=Math.max(f,r)}const c=[],s=[];let l=e.length-1;for(let o=n[r]+1;o!=0;o=i[o-1]){for(c.push(e[o-1]);l>=o;l--)s.push(e[l]);l--}for(;l>=0;l--)s.push(e[l]);c.reverse(),s.sort((o,u)=>o.claim_order-u.claim_order);for(let o=0,u=0;o<s.length;o++){for(;u<c.length&&s[o].claim_order>=c[u].claim_order;)u++;const a=u<c.length?c[u]:null;t.insertBefore(s[o],a)}}function nt(t,e){if(N){for(et(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?(e.claim_order!==void 0||e.parentNode!==t)&&t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else(e.parentNode!==t||e.nextSibling!==null)&&t.appendChild(e)}function it(t,e,n){t.insertBefore(e,n||null)}function rt(t,e,n){N&&!n?nt(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function At(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function G(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function S(t){return document.createTextNode(t)}function Lt(){return S(" ")}function Pt(){return S("")}function St(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function Mt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ot(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function jt(t){return t.dataset.svelteH}function st(t){return Array.from(t.childNodes)}function z(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function K(t,e,n,i,r=!1){z(t);const c=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const l=t[s];if(e(l)){const o=n(l);return o===void 0?t.splice(s,1):t[s]=o,r||(t.claim_info.last_index=s),l}}for(let s=t.claim_info.last_index-1;s>=0;s--){const l=t[s];if(e(l)){const o=n(l);return o===void 0?t.splice(s,1):t[s]=o,r?o===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,l}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function U(t,e,n,i){return K(t,r=>r.nodeName===e,r=>{const c=[];for(let s=0;s<r.attributes.length;s++){const l=r.attributes[s];n[l.name]||c.push(l.name)}c.forEach(s=>r.removeAttribute(s))},()=>i(e))}function Ht(t,e,n){return U(t,e,n,G)}function Ct(t,e,n){return U(t,e,n,R)}function ct(t,e){return K(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>S(e),!0)}function kt(t){return ct(t," ")}function C(t,e,n){for(let i=n;i<t.length;i+=1){const r=t[i];if(r.nodeType===8&&r.textContent.trim()===e)return i}return-1}function Bt(t,e){const n=C(t,"HTML_TAG_START",0),i=C(t,"HTML_TAG_END",n+1);if(n===-1||i===-1)return new T(e);z(t);const r=t.splice(n,i-n+1);E(r[0]),E(r[r.length-1]);const c=r.slice(1,r.length-1);if(c.length===0)return new T(e);for(const s of c)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new T(e,c)}function Dt(t,e){e=""+e,t.data!==e&&(t.data=e)}function It(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function qt(t,e,n){t.classList.toggle(e,!!n)}function ot(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}class lt{constructor(e=!1){d(this,"is_svg",!1);d(this,"e");d(this,"n");d(this,"t");d(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=R(n.nodeName):this.e=G(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)it(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(E)}}class T extends lt{constructor(n=!1,i){super(n);d(this,"l");this.e=this.n=null,this.l=i}c(n){this.l?this.n=this.l:super.c(n)}i(n){for(let i=0;i<this.n.length;i+=1)rt(this.t,this.n[i],n)}}function Ft(t,e){return new t(e)}let g;function y(t){g=t}function M(){if(!g)throw new Error("Function called outside component initialization");return g}function Gt(t){M().$$.on_mount.push(t)}function Rt(t){M().$$.on_destroy.push(t)}function zt(){const t=M();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const c=ot(e,n,{cancelable:i});return r.slice().forEach(s=>{s.call(t,c)}),!c.defaultPrevented}return!0}}function Kt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],k=[];let p=[];const B=[],ut=Promise.resolve();let L=!1;function ft(){L||(L=!0,ut.then(V))}function P(t){p.push(t)}const A=new Set;let h=0;function V(){if(h!==0)return;const t=g;do{try{for(;h<m.length;){const e=m[h];h++,y(e),at(e.$$)}}catch(e){throw m.length=0,h=0,e}for(y(null),m.length=0,h=0;k.length;)k.pop()();for(let e=0;e<p.length;e+=1){const n=p[e];A.has(n)||(A.add(n),n())}p.length=0}while(m.length);for(;B.length;)B.pop()();L=!1,A.clear(),y(t)}function at(t){if(t.fragment!==null){t.update(),b(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(P)}}function dt(t){const e=[],n=[];p.forEach(i=>t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),p=e}const w=new Set;let _;function Ut(){_={r:0,c:[],p:_}}function Vt(){_.r||b(_.c),_=_.p}function _t(t,e){t&&t.i&&(w.delete(t),t.i(e))}function Wt(t,e,n,i){if(t&&t.o){if(w.has(t))return;w.add(t),_.c.push(()=>{w.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}function Jt(t,e){const n={},i={},r={$$scope:1};let c=t.length;for(;c--;){const s=t[c],l=e[c];if(l){for(const o in s)o in l||(i[o]=1);for(const o in l)r[o]||(n[o]=l[o],r[o]=1);t[c]=l}else for(const o in s)r[o]=1}for(const s in i)s in n||(n[s]=void 0);return n}function Qt(t){return typeof t=="object"&&t!==null?t:{}}function Xt(t){t&&t.c()}function Yt(t,e){t&&t.l(e)}function ht(t,e,n){const{fragment:i,after_update:r}=t.$$;i&&i.m(e,n),P(()=>{const c=t.$$.on_mount.map(D).filter(I);t.$$.on_destroy?t.$$.on_destroy.push(...c):b(c),t.$$.on_mount=[]}),r.forEach(P)}function mt(t,e){const n=t.$$;n.fragment!==null&&(dt(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function pt(t,e){t.$$.dirty[0]===-1&&(m.push(t),ft(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Zt(t,e,n,i,r,c,s=null,l=[-1]){const o=g;y(t);const u=t.$$={fragment:null,ctx:[],props:c,update:v,not_equal:r,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(o?o.$$.context:[])),callbacks:H(),dirty:l,skip_bound:!1,root:e.target||o.$$.root};s&&s(u.root);let a=!1;if(u.ctx=n?n(t,e.props||{},(f,x,...O)=>{const j=O.length?O[0]:x;return u.ctx&&r(u.ctx[f],u.ctx[f]=j)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](j),a&&pt(t,f)),x}):[],u.update(),a=!0,b(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){Y();const f=st(e.target);u.fragment&&u.fragment.l(f),f.forEach(E)}else u.fragment&&u.fragment.c();e.intro&&_t(t.$$.fragment),ht(t,e.target,e.anchor),Z(),V()}y(o)}class te{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){mt(this,1),this.$destroy=v}$on(e,n){if(!I(n))return v;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!X(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const yt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(yt);export{wt as $,Ft as A,Xt as B,Pt as C,Yt as D,ht as E,Ut as F,mt as G,Vt as H,Jt as I,Qt as J,Q as K,Kt as L,At as M,S as N,ct as O,I as P,Dt as Q,v as R,te as S,T,Bt as U,xt as V,Mt as W,R as X,Ct as Y,q as Z,$t as _,Lt as a,Ht as b,vt as c,st as d,G as e,E as f,kt as g,Ot as h,Zt as i,It as j,rt as k,nt as l,St as m,Tt as n,Et as o,_t as p,Wt as q,zt as r,bt as s,qt as t,Nt as u,Gt as v,Rt as w,k as x,jt as y,b as z};
package/dist/frame.html CHANGED
@@ -5,8 +5,8 @@
5
5
  <link rel="icon" href="/assets/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Gardenjs UI Component Explorer</title>
8
- <script type="module" crossorigin src="/assets/frame-RnYSvR22.js"></script>
9
- <link rel="modulepreload" crossorigin href="/assets/index-CQErw-Lc.js">
8
+ <script type="module" crossorigin src="/assets/frame-DMi6UA0Z.js"></script>
9
+ <link rel="modulepreload" crossorigin href="/assets/index-OMTxPB5B.js">
10
10
  <link rel="stylesheet" crossorigin href="/assets/frame-BXMwehsH.css">
11
11
  </head>
12
12
  <body
package/dist/index.html CHANGED
@@ -5,9 +5,9 @@
5
5
  <link rel="icon" href="/assets/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Gardenjs UI Component Explorer</title>
8
- <script type="module" crossorigin src="/assets/index-D8Rq1txs.js"></script>
9
- <link rel="modulepreload" crossorigin href="/assets/index-CQErw-Lc.js">
10
- <link rel="stylesheet" crossorigin href="/assets/index-3qYjjQWR.css">
8
+ <script type="module" crossorigin src="/assets/index-8pLaMTQ4.js"></script>
9
+ <link rel="modulepreload" crossorigin href="/assets/index-OMTxPB5B.js">
10
+ <link rel="stylesheet" crossorigin href="/assets/index-CXppSc-j.css">
11
11
  </head>
12
12
 
13
13
  <body>