gardenjs 1.3.2 → 1.4.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.
@@ -43,10 +43,11 @@ async function runSetupScript() {
43
43
  return true
44
44
  },
45
45
  choices: [
46
- { name: 'No Library', value: 'None' },
47
- { name: 'Svelte', value: 'Svelte' },
46
+ { name: 'Svelte 5', value: 'Svelte' },
47
+ { name: 'Svelte 4', value: 'Svelte4' },
48
48
  { name: 'Vue', value: 'Vue' },
49
49
  { name: 'React', value: 'React' },
50
+ { name: 'No Library', value: 'None' },
50
51
  ],
51
52
  })
52
53
 
@@ -54,6 +55,8 @@ async function runSetupScript() {
54
55
  libraries = []
55
56
  }
56
57
 
58
+ console.log('DEBUG', 'lib', libraries)
59
+
57
60
  const componentFolder = await input({
58
61
  message: 'Enter your component source folder:',
59
62
  default: './src/',
@@ -177,9 +180,10 @@ async function runCommand(cmd) {
177
180
  }
178
181
 
179
182
  const lib2FileExtension = {
180
- React: '"[tj]sx"',
181
- Svelte: '"svelte"',
182
- Vue: '"vue"',
183
+ React: '[tj]sx',
184
+ Svelte: 'svelte',
185
+ Svelte4: 'svelte',
186
+ Vue: 'vue',
183
187
  }
184
188
 
185
189
  function createConfigFile({ title, componentFolder, libraries }) {
@@ -190,13 +194,13 @@ function createConfigFile({ title, componentFolder, libraries }) {
190
194
  .join('\n')
191
195
  const renderer = libraries
192
196
  .map((lib) => {
193
- return `${lib2FileExtension[lib]}: ${lib}RendererBuilder,`
197
+ return `"${lib2FileExtension[lib]}": ${lib}RendererBuilder,`
194
198
  })
195
199
  .join('\n ')
196
200
 
197
201
  const watchLibFiles = libraries
198
202
  .map((lib) => {
199
- return `".${lib.toLowerCase()}"`
203
+ return `".${lib2FileExtension[lib]}"`
200
204
  })
201
205
  .join(', ')
202
206
 
@@ -275,16 +279,20 @@ export default {
275
279
 
276
280
  function createViteConfig(libraries) {
277
281
  const viteLibs = getViteImports(libraries)
278
- const optionalPathImport = libraries.includes('Svelte')
282
+ const hasSvelteLib = libraries.some((lib) => lib.indexOf('Svelte') >= 0)
283
+ const renderPluginSvelte = libraries.includes('Svelte4')
284
+ ? 'render-plugin-svelte4'
285
+ : 'render-plugin-svelte'
286
+ const optionalPathImport = hasSvelteLib
279
287
  ? 'import { join, resolve } from "node:path";'
280
288
  : ''
281
- const sveltekit_alias = libraries.includes('Svelte')
289
+ const sveltekit_alias = hasSvelteLib
282
290
  ? `
283
291
  resolve: {
284
292
  alias: [
285
293
  {
286
294
  find: /\\$app\\/(.*)/,
287
- replacement: join(resolve(__dirname, "node_modules/@gardenjs/render-plugin-svelte/src/sveltekit_mocks/"), "$1"),
295
+ replacement: join(resolve(__dirname, "node_modules/@gardenjs/${renderPluginSvelte}/src/sveltekit_mocks/"), "$1"),
288
296
  },
289
297
  ],
290
298
  },
@@ -329,12 +337,15 @@ export default defineConfig(({ command, mode }) => {
329
337
  const lib2ViteImport = {
330
338
  Svelte:
331
339
  'import { svelte, vitePreprocess } from "@sveltejs/vite-plugin-svelte"',
340
+ Svelte4:
341
+ 'import { svelte, vitePreprocess } from "@sveltejs/vite-plugin-svelte"',
332
342
  React: 'import react from "@vitejs/plugin-react"',
333
343
  Vue: 'import vue from "@vitejs/plugin-vue"',
334
344
  }
335
345
 
336
346
  const lib2VitePluginStmt = {
337
347
  Svelte: 'svelte({preprocess: vitePreprocess()})',
348
+ Svelte4: 'svelte({preprocess: vitePreprocess()})',
338
349
  React: 'react()',
339
350
  Vue: 'vue()',
340
351
  }
@@ -0,0 +1,48 @@
1
+ var el=Object.defineProperty;var tl=(l,e,t)=>e in l?el(l,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[e]=t;var Gn=(l,e,t)=>tl(l,typeof e!="symbol"?e+"":e,t);import{S as Me,i as He,s as ye,c as Kt,e as w,a as L,b as x,d as b,f as m,g as I,h as o,j as xt,t as q,k as D,l as p,m as $,u as $t,n as en,o as tn,p as P,q as Q,r as Je,v as Is,w as Rs,x as Nt,y as ue,z as un,A as Xn,B as Te,C as zt,D as Le,E as Se,F as Ve,G as Ce,H as Ze,I as Yn,J as Jn,K as Kn,L as Lt,M as Bt,N as ie,O as re,P as Ln,Q as Be,R as oe,T as In,U as Rn,V as It,W as nl,X as V,Y as Z,Z as sl,_ as F,$ as ee}from"./index-OMTxPB5B.js";import{navTree as ll,routes as il}from"../base.js";import{dasMap as rl}from"../das_import_map.js";import ol from"../../garden.config.js";function qe(l){return(l==null?void 0:l.length)!==void 0?l:Array.from(l)}const al=l=>({}),$n=l=>({}),ul=l=>({}),es=l=>({});function cl(l){let e,t,n,s,i,r,a,u;const c=l[8].top,f=Kt(c,l,l[7],es),h=l[8].bottom,d=Kt(h,l,l[7],$n);return{c(){e=w("div"),t=w("div"),f&&f.c(),n=L(),s=w("div"),i=L(),d&&d.c(),this.h()},l(g){e=x(g,"DIV",{class:!0});var k=b(e);t=x(k,"DIV",{class:!0,style:!0});var y=b(t);f&&f.l(y),y.forEach(m),n=I(k),s=x(k,"DIV",{class:!0}),b(s).forEach(m),i=I(k),d&&d.l(k),k.forEach(m),this.h()},h(){o(t,"class","top svelte-1pql0kc"),xt(t,"height",l[2]),o(s,"class","dragbar svelte-1pql0kc"),q(s,"dragging",l[1]),o(e,"class","container svelte-1pql0kc")},m(g,k){D(g,e,k),p(e,t),f&&f.m(t,null),p(e,n),p(e,s),p(e,i),d&&d.m(e,null),l[9](e),r=!0,a||(u=$(s,"mousedown",l[3]),a=!0)},p(g,[k]){f&&f.p&&(!r||k&128)&&$t(f,c,g,g[7],r?tn(c,g[7],k,ul):en(g[7]),es),(!r||k&4)&&xt(t,"height",g[2]),(!r||k&2)&&q(s,"dragging",g[1]),d&&d.p&&(!r||k&128)&&$t(d,h,g,g[7],r?tn(h,g[7],k,al):en(g[7]),$n)},i(g){r||(P(f,g),P(d,g),r=!0)},o(g){Q(f,g),Q(d,g),r=!1},d(g){g&&m(e),f&&f.d(g),d&&d.d(g),l[9](null),a=!1,u()}}}function hl(l,e,t){let{$$slots:n={},$$scope:s}=e;const i=Je();let{topHeight:r}=e,{maxHeight:a}=e,u,c=!1,f=!1,h;const d=new ResizeObserver(v=>{v.forEach(()=>{i("out",{maxHeight:u.offsetHeight,maxWidth:u.offsetWidth})})});Is(()=>{d.observe(u)}),Rs(()=>{d.disconnect()});function g(){document.addEventListener("mousemove",k),document.addEventListener("mouseup",y),t(1,c=!0)}const k=v=>{window.getSelection().removeAllRanges();const C=Math.min(a,v.pageY-u.offsetTop-7);t(4,r=C),i("out",{topHeight:r})};function y(){document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",y),i("out",{topHeight:r}),t(1,c=!1)}function S(v){Nt[v?"unshift":"push"](()=>{u=v,t(0,u)})}return l.$$set=v=>{"topHeight"in v&&t(4,r=v.topHeight),"maxHeight"in v&&t(5,a=v.maxHeight),"$$scope"in v&&t(7,s=v.$$scope)},l.$$.update=()=>{if(l.$$.dirty&65&&u&&!f){t(6,f=!0);const v=u.offsetHeight;i("out",{maxHeight:v,topHeight:Math.round(v*.7)})}l.$$.dirty&48&&Number.isInteger(r)&&Number.isInteger(a)&&t(2,h=a<r?a+"px":r+"px")},[u,c,h,g,r,a,f,s,n,S]}class fl extends Me{constructor(e){super(),He(this,e,hl,cl,ye,{topHeight:4,maxHeight:5})}}function dl(l){let e,t,n,s,i='<div class="dragbar-icon svelte-mmou7f"></div>',r,a,u='<div class="dragbar-icon svelte-mmou7f"></div>',c,f,h='<div class="dragbar-icon svelte-mmou7f"></div>',d,g,k;const y=l[10].default,S=Kt(y,l,l[9],null);return{c(){e=w("div"),t=w("div"),S&&S.c(),n=L(),s=w("div"),s.innerHTML=i,r=L(),a=w("div"),a.innerHTML=u,c=L(),f=w("div"),f.innerHTML=h,this.h()},l(v){e=x(v,"DIV",{class:!0});var C=b(e);t=x(C,"DIV",{class:!0});var T=b(t);S&&S.l(T),T.forEach(m),n=I(C),s=x(C,"DIV",{class:!0,"data-svelte-h":!0}),ue(s)!=="svelte-t0brzg"&&(s.innerHTML=i),r=I(C),a=x(C,"DIV",{class:!0,"data-svelte-h":!0}),ue(a)!=="svelte-tvugpc"&&(a.innerHTML=u),c=I(C),f=x(C,"DIV",{class:!0,"data-svelte-h":!0}),ue(f)!=="svelte-1j8ul53"&&(f.innerHTML=h),C.forEach(m),this.h()},h(){o(t,"class","resizepane"),q(t,"disabled",l[0]),xt(t,"width",l[0]?void 0:l[3]),xt(t,"height",l[0]?void 0:l[2]),o(s,"class","dragbar vertical svelte-mmou7f"),q(s,"disabled",l[0]),o(a,"class","dragbar horizontal svelte-mmou7f"),q(a,"disabled",l[0]),o(f,"class","dragbar corner svelte-mmou7f"),q(f,"disabled",l[0]),o(e,"class","resizepane-container svelte-mmou7f"),q(e,"disabled",l[0])},m(v,C){D(v,e,C),p(e,t),S&&S.m(t,null),l[11](t),p(e,n),p(e,s),p(e,r),p(e,a),p(e,c),p(e,f),d=!0,g||(k=[$(s,"mousedown",l[4]("vertical")),$(a,"mousedown",l[4]("horizontal")),$(f,"mousedown",l[4]("verticalhorizontal"))],g=!0)},p(v,[C]){S&&S.p&&(!d||C&512)&&$t(S,y,v,v[9],d?tn(y,v[9],C,null):en(v[9]),null),(!d||C&1)&&q(t,"disabled",v[0]),C&9&&xt(t,"width",v[0]?void 0:v[3]),C&5&&xt(t,"height",v[0]?void 0:v[2]),(!d||C&1)&&q(s,"disabled",v[0]),(!d||C&1)&&q(a,"disabled",v[0]),(!d||C&1)&&q(f,"disabled",v[0]),(!d||C&1)&&q(e,"disabled",v[0])},i(v){d||(P(S,v),d=!0)},o(v){Q(S,v),d=!1},d(v){v&&m(e),S&&S.d(v),l[11](null),g=!1,un(k)}}}function gl(l,e,t){let{$$slots:n={},$$scope:s}=e,{disabled:i=!1}=e,{maxHeight:r}=e,{maxWidth:a}=e,{paneHeight:u}=e,{paneWidth:c}=e;const f=Je();let h,d="",g,k;const y=T=>()=>{d=T,document.addEventListener("mousemove",S),document.addEventListener("mouseup",v)},S=T=>{if(window.getSelection().removeAllRanges(),d.includes("horizontal")){let _=T.pageY-h.offsetTop-11;_>r?_="full":(_=Math.min(r,_),_=Math.max(50,_)),f("out",{stageHeight:_})}if(d.includes("vertical")){let _=T.pageX-h.offsetLeft-10;_>a?_="full":(_=Math.min(a,_),_=Math.max(50,_)),f("out",{stageWidth:_})}};function v(){document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",v)}function C(T){Nt[T?"unshift":"push"](()=>{h=T,t(1,h)})}return l.$$set=T=>{"disabled"in T&&t(0,i=T.disabled),"maxHeight"in T&&t(5,r=T.maxHeight),"maxWidth"in T&&t(6,a=T.maxWidth),"paneHeight"in T&&t(7,u=T.paneHeight),"paneWidth"in T&&t(8,c=T.paneWidth),"$$scope"in T&&t(9,s=T.$$scope)},l.$$.update=()=>{l.$$.dirty&161&&(Number.isInteger(u)&&!i?t(2,g=Math.min(u,r)+"px"):t(2,g=r+"px")),l.$$.dirty&320&&(Number.isInteger(c)?t(3,k=Math.min(c,a)+"px"):t(3,k=a+"px"))},[i,h,g,k,y,r,a,u,c,s,n,C]}class pl extends Me{constructor(e){super(),He(this,e,gl,dl,ye,{disabled:0,maxHeight:5,maxWidth:6,paneHeight:7,paneWidth:8})}}function ml(l){let e,t,n;const s=[l[0].props];var i=l[0].page;function r(a,u){let c={};for(let f=0;f<s.length;f+=1)c=Kn(c,s[f]);return u!==void 0&&u&1&&(c=Kn(c,Yn(s,[Jn(a[0].props)]))),{props:c}}return i&&(e=Xn(i,r(l)),e.$on("out",l[1])),{c(){e&&Te(e.$$.fragment),t=zt()},l(a){e&&Le(e.$$.fragment,a),t=zt()},m(a,u){e&&Se(e,a,u),D(a,t,u),n=!0},p(a,[u]){if(u&1&&i!==(i=a[0].page)){if(e){Ve();const c=e;Q(c.$$.fragment,1,0,()=>{Ce(c,1)}),Ze()}i?(e=Xn(i,r(a,u)),e.$on("out",a[1]),Te(e.$$.fragment),P(e.$$.fragment,1),Se(e,t.parentNode,t)):e=null}else if(i){const c=u&1?Yn(s,[Jn(a[0].props)]):{};e.$set(c)}},i(a){n||(e&&P(e.$$.fragment,a),n=!0)},o(a){e&&Q(e.$$.fragment,a),n=!1},d(a){a&&m(t),e&&Ce(e,a)}}}function kl(l,e,t){let{item:n={}}=e;function s(i){Lt.call(this,l,i)}return l.$$set=i=>{"item"in i&&t(0,n=i.item)},[n,s]}class _l extends Me{constructor(e){super(),He(this,e,kl,ml,ye,{item:0})}}function ts(l,e,t){const n=l.slice();return n[9]=e[t],n}function ns(l){let e,t,n,s,i,r='<span class="is-hidden svelte-1opzoal">Collapse panel</span> <svg class="controls_btn-icon svelte-1opzoal" 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,f,h,d,g,k=qe(l[0]),y=[];for(let T=0;T<k.length;T+=1)y[T]=ss(ts(l,k,T));const S=[vl,bl],v=[];function C(T,_){return T[1]&&T[1].page?0:1}return c=C(l),f=v[c]=S[c](l),{c(){e=w("div"),t=w("nav"),n=w("ul");for(let T=0;T<y.length;T+=1)y[T].c();s=L(),i=w("button"),i.innerHTML=r,a=L(),u=w("div"),f.c(),this.h()},l(T){e=x(T,"DIV",{class:!0});var _=b(e);t=x(_,"NAV",{class:!0});var j=b(t);n=x(j,"UL",{class:!0});var H=b(n);for(let G=0;G<y.length;G+=1)y[G].l(H);H.forEach(m),j.forEach(m),s=I(_),i=x(_,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),ue(i)!=="svelte-bliksl"&&(i.innerHTML=r),_.forEach(m),a=I(T),u=x(T,"DIV",{class:!0});var N=b(u);f.l(N),N.forEach(m),this.h()},h(){o(n,"class","svelte-1opzoal"),o(t,"class","svelte-1opzoal"),o(i,"class","panel_toggle svelte-1opzoal"),o(i,"title","Collapse panel"),o(e,"class","panel_nav svelte-1opzoal"),o(u,"class","panel_pane svelte-1opzoal")},m(T,_){D(T,e,_),p(e,t),p(t,n);for(let j=0;j<y.length;j+=1)y[j]&&y[j].m(n,null);p(e,s),p(e,i),D(T,a,_),D(T,u,_),v[c].m(u,null),h=!0,d||(g=$(i,"click",l[3]),d=!0)},p(T,_){if(_&7){k=qe(T[0]);let H;for(H=0;H<k.length;H+=1){const N=ts(T,k,H);y[H]?y[H].p(N,_):(y[H]=ss(N),y[H].c(),y[H].m(n,null))}for(;H<y.length;H+=1)y[H].d(1);y.length=k.length}let j=c;c=C(T),c===j?v[c].p(T,_):(Ve(),Q(v[j],1,1,()=>{v[j]=null}),Ze(),f=v[c],f?f.p(T,_):(f=v[c]=S[c](T),f.c()),P(f,1),f.m(u,null))},i(T){h||(P(f),h=!0)},o(T){Q(f),h=!1},d(T){T&&(m(e),m(a),m(u)),Bt(y,T),v[c].d(),d=!1,g()}}}function ss(l){let e,t,n=l[9].name+"",s,i,r,a,u;return{c(){e=w("li"),t=w("button"),s=ie(n),i=w("span"),r=L(),this.h()},l(c){e=x(c,"LI",{});var f=b(e);t=x(f,"BUTTON",{class:!0});var h=b(t);s=re(h,n),i=x(h,"SPAN",{class:!0}),b(i).forEach(m),h.forEach(m),r=I(f),f.forEach(m),this.h()},h(){o(i,"class","dot svelte-1opzoal"),o(t,"class","svelte-1opzoal"),q(t,"active",l[9]==l[1])},m(c,f){D(c,e,f),p(e,t),p(t,s),p(t,i),p(e,r),a||(u=$(t,"click",function(){Ln(l[2](l[9]))&&l[2](l[9]).apply(this,arguments)}),a=!0)},p(c,f){l=c,f&1&&n!==(n=l[9].name+"")&&Be(s,n),f&3&&q(t,"active",l[9]==l[1])},d(c){c&&m(e),a=!1,u()}}}function bl(l){let e;const t=l[7].default,n=Kt(t,l,l[6],null),s=n||wl();return{c(){s&&s.c()},l(i){s&&s.l(i)},m(i,r){s&&s.m(i,r),e=!0},p(i,r){n&&n.p&&(!e||r&64)&&$t(n,t,i,i[6],e?tn(t,i[6],r,null):en(i[6]),null)},i(i){e||(P(s,i),e=!0)},o(i){Q(s,i),e=!1},d(i){s&&s.d(i)}}}function vl(l){let e,t;return e=new _l({props:{item:l[1]}}),e.$on("out",l[4]),{c(){Te(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,s){Se(e,n,s),t=!0},p(n,s){const i={};s&2&&(i.item=n[1]),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){Q(e.$$.fragment,n),t=!1},d(n){Ce(e,n)}}}function wl(l){let e;return{c(){e=ie("No tab content provided")},l(t){e=re(t,"No tab content provided")},m(t,n){D(t,e,n)},d(t){t&&m(e)}}}function xl(l){let e,t,n=l[0].length&&ns(l);return{c(){e=w("div"),n&&n.c(),this.h()},l(s){e=x(s,"DIV",{class:!0});var i=b(e);n&&n.l(i),i.forEach(m),this.h()},h(){o(e,"class","panel_container svelte-1opzoal")},m(s,i){D(s,e,i),n&&n.m(e,null),t=!0},p(s,[i]){s[0].length?n?(n.p(s,i),i&1&&P(n,1)):(n=ns(s),n.c(),P(n,1),n.m(e,null)):n&&(Ve(),Q(n,1,1,()=>{n=null}),Ze())},i(s){t||(P(n),t=!0)},o(s){Q(n),t=!1},d(s){s&&m(e),n&&n.d()}}}function El(l,e,t){let{$$slots:n={},$$scope:s}=e;const i=Je();let{tabs:r=[]}=e,a={},u;const c=d=>()=>{t(5,a=d.name),i("out",{selecteditem:d})};function f(){i("out",{toggleExpandPanel:!0})}function h(d){u.out&&u.out(d)}return l.$$set=d=>{"tabs"in d&&t(0,r=d.tabs),"$$scope"in d&&t(6,s=d.$$scope)},l.$$.update=()=>{l.$$.dirty&33&&(r?t(1,u=r.find(d=>d.name===a)||r[0]):t(1,u={}))},[r,u,c,f,h,a,s,n]}class yl extends Me{constructor(e){super(),He(this,e,El,xl,ye,{tabs:0})}}function ls(l,e,t){const n=l.slice();return n[4]=e[t],n}function is(l){let e,t,n,s,i=l[4]+"",r,a,u,c;return{c(){e=w("li"),t=w("button"),n=w("span"),s=L(),r=ie(i),a=L(),this.h()},l(f){e=x(f,"LI",{});var h=b(e);t=x(h,"BUTTON",{class:!0});var d=b(t);n=x(d,"SPAN",{class:!0}),b(n).forEach(m),s=I(d),r=re(d,i),d.forEach(m),a=I(h),h.forEach(m),this.h()},h(){o(n,"class","dot svelte-9ikz8y"),o(t,"class","svelte-9ikz8y"),q(e,"active",l[1]==l[4])},m(f,h){D(f,e,h),p(e,t),p(t,n),p(t,s),p(t,r),p(e,a),u||(c=$(t,"click",function(){Ln(l[2](l[4]))&&l[2](l[4]).apply(this,arguments)}),u=!0)},p(f,h){l=f,h&1&&i!==(i=l[4]+"")&&Be(r,i),h&3&&q(e,"active",l[1]==l[4])},d(f){f&&m(e),u=!1,c()}}}function zl(l){let e,t=qe(l[0]),n=[];for(let s=0;s<t.length;s+=1)n[s]=is(ls(l,t,s));return{c(){e=w("ul");for(let s=0;s<n.length;s+=1)n[s].c();this.h()},l(s){e=x(s,"UL",{class:!0});var i=b(e);for(let r=0;r<n.length;r+=1)n[r].l(i);i.forEach(m),this.h()},h(){o(e,"class","stories svelte-9ikz8y")},m(s,i){D(s,e,i);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(s,[i]){if(i&7){t=qe(s[0]);let r;for(r=0;r<t.length;r+=1){const a=ls(s,t,r);n[r]?n[r].p(a,i):(n[r]=is(a),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:oe,o:oe,d(s){s&&m(e),Bt(n,s)}}}function Tl(l,e,t){let{items:n=[]}=e,{selected:s}=e;const i=Je(),r=a=>()=>{i("out",{selecteditem:a})};return l.$$set=a=>{"items"in a&&t(0,n=a.items),"selected"in a&&t(1,s=a.selected)},[n,s,r]}class Sl extends Me{constructor(e){super(),He(this,e,Tl,zl,ye,{items:0,selected:1})}}function Ns(){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 at=Ns();function Cl(l){at=l}const Bs=/[&<>"']/,Ml=new RegExp(Bs.source,"g"),As=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Hl=new RegExp(As.source,"g"),Ll={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},rs=l=>Ll[l];function xe(l,e){if(e){if(Bs.test(l))return l.replace(Ml,rs)}else if(As.test(l))return l.replace(Hl,rs);return l}const Il=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function js(l){return l.replace(Il,(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 Rl=/(^|[^\[])\^/g;function K(l,e){l=typeof l=="string"?l:l.source,e=e||"";const t={replace:(n,s)=>(s=s.source||s,s=s.replace(Rl,"$1"),l=l.replace(n,s),t),getRegex:()=>new RegExp(l,e)};return t}const Nl=/[^\w:]/g,Bl=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function os(l,e,t){if(l){let n;try{n=decodeURIComponent(js(t)).replace(Nl,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!Bl.test(t)&&(t=Wl(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const Yt={},Al=/^[^:]+:\/*[^/]*$/,jl=/^([^:]+:)[\s\S]*$/,Dl=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Wl(l,e){Yt[" "+l]||(Al.test(l)?Yt[" "+l]=l+"/":Yt[" "+l]=Jt(l,"/",!0)),l=Yt[" "+l];const t=l.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:l.replace(jl,"$1")+e:e.charAt(0)==="/"?t?e:l.replace(Dl,"$1")+e:l+e}const nn={exec:function(){}};function as(l,e){const t=l.replace(/\|/g,(i,r,a)=>{let u=!1,c=r;for(;--c>=0&&a[c]==="\\";)u=!u;return u?"|":" |"}),n=t.split(/ \|/);let s=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(;s<n.length;s++)n[s]=n[s].trim().replace(/\\\|/g,"|");return n}function Jt(l,e,t){const n=l.length;if(n===0)return"";let s=0;for(;s<n;){const i=l.charAt(n-s-1);if(i===e&&!t)s++;else if(i!==e&&t)s++;else break}return l.slice(0,n-s)}function Pl(l,e){if(l.indexOf(e[1])===-1)return-1;const t=l.length;let n=0,s=0;for(;s<t;s++)if(l[s]==="\\")s++;else if(l[s]===e[0])n++;else if(l[s]===e[1]&&(n--,n<0))return s;return-1}function Ol(l){l&&l.sanitize&&!l.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 us(l,e){if(e<1)return"";let t="";for(;e>1;)e&1&&(t+=l),e>>=1,l+=l;return t+l}function cs(l,e,t,n){const s=e.href,i=e.title?xe(e.title):null,r=l[1].replace(/\\([\[\]])/g,"$1");if(l[0].charAt(0)!=="!"){n.state.inLink=!0;const a={type:"link",raw:t,href:s,title:i,text:r,tokens:n.inlineTokens(r)};return n.state.inLink=!1,a}return{type:"image",raw:t,href:s,title:i,text:xe(r)}}function ql(l,e){const t=l.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
2
+ `).map(s=>{const i=s.match(/^\s+/);if(i===null)return s;const[r]=i;return r.length>=n.length?s.slice(n.length):s}).join(`
3
+ `)}class Nn{constructor(e){this.options=e||at}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:Jt(n,`
4
+ `)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],s=ql(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const s=Jt(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.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,""),s=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(n);return this.lexer.state.top=s,{type:"blockquote",raw:t[0],tokens:i,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,s,i,r,a,u,c,f,h,d,g,k,y=t[1].trim();const S=y.length>1,v={type:"list",raw:"",ordered:S,start:S?+y.slice(0,-1):"",loose:!1,items:[]};y=S?`\\d{1,9}\\${y.slice(-1)}`:`\\${y}`,this.options.pedantic&&(y=S?y:"[*+-]");const C=new RegExp(`^( {0,3}${y})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(k=!1,!(!(t=C.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),f=t[2].split(`
5
+ `,1)[0].replace(/^\t+/,_=>" ".repeat(3*_.length)),h=e.split(`
6
+ `,1)[0],this.options.pedantic?(r=2,g=f.trimLeft()):(r=t[2].search(/[^ ]/),r=r>4?1:r,g=f.slice(r),r+=t[1].length),u=!1,!f&&/^ *$/.test(h)&&(n+=h+`
7
+ `,e=e.substring(h.length+1),k=!0),!k){const _=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),j=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),H=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),N=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;e&&(d=e.split(`
8
+ `,1)[0],h=d,this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(H.test(h)||N.test(h)||_.test(h)||j.test(e)));){if(h.search(/[^ ]/)>=r||!h.trim())g+=`
9
+ `+h.slice(r);else{if(u||f.search(/[^ ]/)>=4||H.test(f)||N.test(f)||j.test(f))break;g+=`
10
+ `+h}!u&&!h.trim()&&(u=!0),n+=d+`
11
+ `,e=e.substring(d.length+1),f=h.slice(r)}}v.loose||(c?v.loose=!0:/\n *\n *$/.test(n)&&(c=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(g),s&&(i=s[0]!=="[ ] ",g=g.replace(/^\[[ xX]\] +/,""))),v.items.push({type:"list_item",raw:n,task:!!s,checked:i,loose:!1,text:g}),v.raw+=n}v.items[v.items.length-1].raw=n.trimRight(),v.items[v.items.length-1].text=g.trimRight(),v.raw=v.raw.trimRight();const T=v.items.length;for(a=0;a<T;a++)if(this.lexer.state.top=!1,v.items[a].tokens=this.lexer.blockTokens(v.items[a].text,[]),!v.loose){const _=v.items[a].tokens.filter(H=>H.type==="space"),j=_.length>0&&_.some(H=>/\n.*\n/.test(H.raw));v.loose=j}if(v.loose)for(a=0;a<T;a++)v.items[a].loose=!0;return v}}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 s=this.options.sanitizer?this.options.sanitizer(t[0]):xe(t[0]);n.type="paragraph",n.text=s,n.tokens=this.lexer.inline(s)}return n}}def(e){const t=this.rules.block.def.exec(e);if(t){const n=t[1].toLowerCase().replace(/\s+/g," "),s=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:s,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(t){const n={type:"table",header:as(t[1]).map(s=>({text:s})),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 s=n.align.length,i,r,a,u;for(i=0;i<s;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(s=n.rows.length,i=0;i<s;i++)n.rows[i]=as(n.rows[i],n.header.length).map(c=>({text:c}));for(s=n.header.length,r=0;r<s;r++)n.header[r].tokens=this.lexer.inline(n.header[r].text);for(s=n.rows.length,r=0;r<s;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:xe(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]):xe(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=Jt(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{const r=Pl(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 s=t[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);r&&(s=r[1],i=r[3])}else i=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^</.test(s)&&(this.options.pedantic&&!/>$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),cs(t,{href:s&&s.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 s=(n[2]||n[1]).replace(/\s+/g," ");if(s=t[s.toLowerCase()],!s){const i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return cs(n,s,n[0],this.lexer)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=s[1]||s[2]||"";if(!i||i&&(n===""||this.rules.inline.punctuation.exec(n))){const r=s[0].length-1;let a,u,c=r,f=0;const h=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+r);(s=h.exec(t))!=null;){if(a=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!a)continue;if(u=a.length,s[3]||s[4]){c+=u;continue}else if((s[5]||s[6])&&r%3&&!((r+u)%3)){f+=u;continue}if(c-=u,c>0)continue;u=Math.min(u,u+c+f);const d=e.slice(0,r+s.index+(s[0].length-a.length)+u);if(Math.min(r,u)%2){const k=d.slice(1,-1);return{type:"em",raw:d,text:k,tokens:this.lexer.inlineTokens(k)}}const g=d.slice(2,-2);return{type:"strong",raw:d,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const s=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return s&&i&&(n=n.substring(1,n.length-1)),n=xe(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 s,i;return n[2]==="@"?(s=xe(this.options.mangle?t(n[1]):n[1]),i="mailto:"+s):(s=xe(n[1]),i=s),{type:"link",raw:n[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let s,i;if(n[2]==="@")s=xe(this.options.mangle?t(n[0]):n[0]),i="mailto:"+s;else{let r;do r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(r!==n[0]);s=xe(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let s;return this.lexer.state.inRawBlock?s=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):xe(n[0]):n[0]:s=xe(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:s}}}}const A={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:nn,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};A._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;A._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;A.def=K(A.def).replace("label",A._label).replace("title",A._title).getRegex();A.bullet=/(?:[*+-]|\d{1,9}[.)])/;A.listItemStart=K(/^( *)(bull) */).replace("bull",A.bullet).getRegex();A.list=K(A.list).replace(/bull/g,A.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+A.def.source+")").getRegex();A._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";A._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;A.html=K(A.html,"i").replace("comment",A._comment).replace("tag",A._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();A.paragraph=K(A._paragraph).replace("hr",A.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",A._tag).getRegex();A.blockquote=K(A.blockquote).replace("paragraph",A.paragraph).getRegex();A.normal={...A};A.gfm={...A.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};A.gfm.table=K(A.gfm.table).replace("hr",A.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",A._tag).getRegex();A.gfm.paragraph=K(A._paragraph).replace("hr",A.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",A.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",A._tag).getRegex();A.pedantic={...A.normal,html:K(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",A._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:nn,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:K(A.normal._paragraph).replace("hr",A.hr).replace("heading",` *#{1,6} *[^
14
+ ]`).replace("lheading",A.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const M={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:nn,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:nn,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};M._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";M.punctuation=K(M.punctuation).replace(/punctuation/g,M._punctuation).getRegex();M.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;M.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;M._comment=K(A._comment).replace("(?:-->|$)","-->").getRegex();M.emStrong.lDelim=K(M.emStrong.lDelim).replace(/punct/g,M._punctuation).getRegex();M.emStrong.rDelimAst=K(M.emStrong.rDelimAst,"g").replace(/punct/g,M._punctuation).getRegex();M.emStrong.rDelimUnd=K(M.emStrong.rDelimUnd,"g").replace(/punct/g,M._punctuation).getRegex();M._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;M._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;M._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])?)+(?![-_])/;M.autolink=K(M.autolink).replace("scheme",M._scheme).replace("email",M._email).getRegex();M._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;M.tag=K(M.tag).replace("comment",M._comment).replace("attribute",M._attribute).getRegex();M._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;M._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;M._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;M.link=K(M.link).replace("label",M._label).replace("href",M._href).replace("title",M._title).getRegex();M.reflink=K(M.reflink).replace("label",M._label).replace("ref",A._label).getRegex();M.nolink=K(M.nolink).replace("ref",A._label).getRegex();M.reflinkSearch=K(M.reflinkSearch,"g").replace("reflink",M.reflink).replace("nolink",M.nolink).getRegex();M.normal={...M};M.pedantic={...M.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",M._label).getRegex(),reflink:K(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",M._label).getRegex()};M.gfm={...M.normal,escape:K(M.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.!#$%&'*+\/=?_`{\|}~-]+@)))/};M.gfm.url=K(M.gfm.url,"i").replace("email",M.gfm._extended_email).getRegex();M.breaks={...M.gfm,br:K(M.br).replace("{2,}","*").getRegex(),text:K(M.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};function Ul(l){return l.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function hs(l){let e="",t,n;const s=l.length;for(t=0;t<s;t++)n=l.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class lt{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||at,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:A.normal,inline:M.normal};this.options.pedantic?(t.block=A.pedantic,t.inline=M.pedantic):this.options.gfm&&(t.block=A.gfm,this.options.breaks?t.inline=M.breaks:t.inline=M.gfm),this.tokenizer.rules=t}static get rules(){return{block:A,inline:M}}static lex(e,t){return new lt(t).lex(e)}static lexInline(e,t){return new lt(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,s,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),s=t[t.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
17
+ `+n.raw,s.text+=`
18
+ `+n.text,this.inlineQueue[this.inlineQueue.length-1].src=s.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),s=t[t.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
19
+ `+n.raw,s.text+=`
20
+ `+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.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(f){c=f.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))){s=t[t.length-1],r&&s.type==="paragraph"?(s.raw+=`
21
+ `+n.raw,s.text+=`
22
+ `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.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),s=t[t.length-1],s&&s.type==="text"?(s.raw+=`
23
+ `+n.raw,s.text+=`
24
+ `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.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,s,i,r=e,a,u,c;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)f.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+us("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)+"["+us("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(f=>(n=f.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),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.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),s=t[t.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.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,hs)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,hs))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const h=e.slice(1);let d;this.options.extensions.startInline.forEach(function(g){d=g.call({lexer:this},h),typeof d=="number"&&d>=0&&(f=Math.min(f,d))}),f<1/0&&f>=0&&(i=e.substring(0,f+1))}if(n=this.tokenizer.inlineText(i,Ul)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),u=!0,s=t[t.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(e){const f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return t}}class Bn{constructor(e){this.options=e||at}code(e,t,n){const s=(t||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(e,s);i!=null&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+`
25
+ `,s?'<pre><code class="'+this.options.langPrefix+xe(s)+'">'+(n?e:xe(e,!0))+`</code></pre>
26
+ `:"<pre><code>"+(n?e:xe(e,!0))+`</code></pre>
27
+ `}blockquote(e){return`<blockquote>
28
+ ${e}</blockquote>
29
+ `}html(e){return e}heading(e,t,n,s){if(this.options.headerIds){const i=this.options.headerPrefix+s.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 s=t?"ol":"ul",i=t&&n!==1?' start="'+n+'"':"";return"<"+s+i+`>
34
+ `+e+"</"+s+`>
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=os(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s='<a href="'+e+'"';return t&&(s+=' title="'+t+'"'),s+=">"+n+"</a>",s}image(e,t,n){if(e=os(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s=`<img src="${e}" alt="${n}"`;return t&&(s+=` title="${t}"`),s+=this.options.xhtml?"/>":">",s}text(e){return e}}class Ds{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 Ws{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,s=0;if(this.seen.hasOwnProperty(n)){s=this.seen[e];do s++,n=e+"-"+s;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=s,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class it{constructor(e){this.options=e||at,this.options.renderer=this.options.renderer||new Bn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ds,this.slugger=new Ws}static parse(e,t){return new it(t).parse(e)}static parseInline(e,t){return new it(t).parseInline(e)}parse(e,t=!0){let n="",s,i,r,a,u,c,f,h,d,g,k,y,S,v,C,T,_,j,H;const N=e.length;for(s=0;s<N;s++){if(g=e[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[g.type]&&(H=this.options.extensions.renderers[g.type].call({parser:this},g),H!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(g.type))){n+=H||"";continue}switch(g.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(g.tokens),g.depth,js(this.parseInline(g.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(g.text,g.lang,g.escaped);continue}case"table":{for(h="",f="",a=g.header.length,i=0;i<a;i++)f+=this.renderer.tablecell(this.parseInline(g.header[i].tokens),{header:!0,align:g.align[i]});for(h+=this.renderer.tablerow(f),d="",a=g.rows.length,i=0;i<a;i++){for(c=g.rows[i],f="",u=c.length,r=0;r<u;r++)f+=this.renderer.tablecell(this.parseInline(c[r].tokens),{header:!1,align:g.align[r]});d+=this.renderer.tablerow(f)}n+=this.renderer.table(h,d);continue}case"blockquote":{d=this.parse(g.tokens),n+=this.renderer.blockquote(d);continue}case"list":{for(k=g.ordered,y=g.start,S=g.loose,a=g.items.length,d="",i=0;i<a;i++)C=g.items[i],T=C.checked,_=C.task,v="",C.task&&(j=this.renderer.checkbox(T),S?C.tokens.length>0&&C.tokens[0].type==="paragraph"?(C.tokens[0].text=j+" "+C.tokens[0].text,C.tokens[0].tokens&&C.tokens[0].tokens.length>0&&C.tokens[0].tokens[0].type==="text"&&(C.tokens[0].tokens[0].text=j+" "+C.tokens[0].tokens[0].text)):C.tokens.unshift({type:"text",text:j}):v+=j),v+=this.parse(C.tokens,S),d+=this.renderer.listitem(v,_,T);n+=this.renderer.list(d,k,y);continue}case"html":{n+=this.renderer.html(g.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(g.tokens));continue}case"text":{for(d=g.tokens?this.parseInline(g.tokens):g.text;s+1<N&&e[s+1].type==="text";)g=e[++s],d+=`
45
+ `+(g.tokens?this.parseInline(g.tokens):g.text);n+=t?this.renderer.paragraph(d):d;continue}default:{const G='Token with "'+g.type+'" type was not found.';if(this.options.silent){console.error(G);return}else throw new Error(G)}}}return n}parseInline(e,t){t=t||this.renderer;let n="",s,i,r;const a=e.length;for(s=0;s<a;s++){if(i=e[s],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 sn{constructor(e){this.options=e||at}preprocess(e){return e}postprocess(e){return e}}Gn(sn,"passThroughHooks",new Set(["preprocess","postprocess"]));function Vl(l,e,t){return n=>{if(n.message+=`
46
+ Please report this to https://github.com/markedjs/marked.`,l){const s="<p>An error occurred:</p><pre>"+xe(n.message+"",!0)+"</pre>";if(e)return Promise.resolve(s);if(t){t(null,s);return}return s}if(e)return Promise.reject(n);if(t){t(n);return}throw n}}function Ps(l,e){return(t,n,s)=>{typeof n=="function"&&(s=n,n=null);const i={...n};n={...B.defaults,...i};const r=Vl(n.silent,n.async,s);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(Ol(n),n.hooks&&(n.hooks.options=n),s){const a=n.highlight;let u;try{n.hooks&&(t=n.hooks.preprocess(t)),u=l(t,n)}catch(h){return r(h)}const c=function(h){let d;if(!h)try{n.walkTokens&&B.walkTokens(u,n.walkTokens),d=e(u,n),n.hooks&&(d=n.hooks.postprocess(d))}catch(g){h=g}return n.highlight=a,h?r(h):s(null,d)};if(!a||a.length<3||(delete n.highlight,!u.length))return c();let f=0;B.walkTokens(u,function(h){h.type==="code"&&(f++,setTimeout(()=>{a(h.text,h.lang,function(d,g){if(d)return c(d);g!=null&&g!==h.text&&(h.text=g,h.escaped=!0),f--,f===0&&c()})},0))}),f===0&&c();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(t):t).then(a=>l(a,n)).then(a=>n.walkTokens?Promise.all(B.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=l(t,n);n.walkTokens&&B.walkTokens(a,n.walkTokens);let u=e(a,n);return n.hooks&&(u=n.hooks.postprocess(u)),u}catch(a){return r(a)}}}function B(l,e,t){return Ps(lt.lex,it.parse)(l,e,t)}B.options=B.setOptions=function(l){return B.defaults={...B.defaults,...l},Cl(B.defaults),B};B.getDefaults=Ns;B.defaults=at;B.use=function(...l){const e=B.defaults.extensions||{renderers:{},childTokens:{}};l.forEach(t=>{const n={...t};if(n.async=B.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if(s.renderer){const i=e.renderers[s.name];i?e.renderers[s.name]=function(...r){let a=s.renderer.apply(this,r);return a===!1&&(a=i.apply(this,r)),a}:e.renderers[s.name]=s.renderer}if(s.tokenizer){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[s.level]?e[s.level].unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),n.extensions=e),t.renderer){const s=B.defaults.renderer||new Bn;for(const i in t.renderer){const r=s[i];s[i]=(...a)=>{let u=t.renderer[i].apply(s,a);return u===!1&&(u=r.apply(s,a)),u}}n.renderer=s}if(t.tokenizer){const s=B.defaults.tokenizer||new Nn;for(const i in t.tokenizer){const r=s[i];s[i]=(...a)=>{let u=t.tokenizer[i].apply(s,a);return u===!1&&(u=r.apply(s,a)),u}}n.tokenizer=s}if(t.hooks){const s=B.defaults.hooks||new sn;for(const i in t.hooks){const r=s[i];sn.passThroughHooks.has(i)?s[i]=a=>{if(B.defaults.async)return Promise.resolve(t.hooks[i].call(s,a)).then(c=>r.call(s,c));const u=t.hooks[i].call(s,a);return r.call(s,u)}:s[i]=(...a)=>{let u=t.hooks[i].apply(s,a);return u===!1&&(u=r.apply(s,a)),u}}n.hooks=s}if(t.walkTokens){const s=B.defaults.walkTokens;n.walkTokens=function(i){let r=[];return r.push(t.walkTokens.call(this,i)),s&&(r=r.concat(s.call(this,i))),r}}B.setOptions(n)})};B.walkTokens=function(l,e){let t=[];for(const n of l)switch(t=t.concat(e.call(B,n)),n.type){case"table":{for(const s of n.header)t=t.concat(B.walkTokens(s.tokens,e));for(const s of n.rows)for(const i of s)t=t.concat(B.walkTokens(i.tokens,e));break}case"list":{t=t.concat(B.walkTokens(n.items,e));break}default:B.defaults.extensions&&B.defaults.extensions.childTokens&&B.defaults.extensions.childTokens[n.type]?B.defaults.extensions.childTokens[n.type].forEach(function(s){t=t.concat(B.walkTokens(n[s],e))}):n.tokens&&(t=t.concat(B.walkTokens(n.tokens,e)))}return t};B.parseInline=Ps(lt.lexInline,it.parseInline);B.Parser=it;B.parser=it.parse;B.Renderer=Bn;B.TextRenderer=Ds;B.Lexer=lt;B.lexer=lt.lex;B.Tokenizer=Nn;B.Slugger=Ws;B.Hooks=sn;B.parse=B;B.options;B.setOptions;B.use;B.walkTokens;B.parseInline;it.parse;lt.lex;const Zl="modulepreload",Fl=function(l){return"/"+l},fs={},Os=function(e,t,n){let s=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),a=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));s=Promise.allSettled(t.map(u=>{if(u=Fl(u),u in fs)return;fs[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Zl,c||(h.as="script"),h.crossOrigin="",h.href=u,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((d,g)=>{h.addEventListener("load",d),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(r){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r}return s.then(r=>{for(const a of r||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})},qs=async l=>{try{(await Os(async()=>{const{default:t}=await import("./index-DLbPO8Sw.js");return{default:t}},[])).default.highlightElement(l)}catch(e){console.error("Could not load highlight.js",e)}};function Ql(l){let e,t,n=B(l[0].descriptionfile||l[0].description)+"";return{c(){e=w("div"),t=new In(!1),this.h()},l(s){e=x(s,"DIV",{class:!0});var i=b(e);t=Rn(i,!1),i.forEach(m),this.h()},h(){t.a=null,o(e,"class","markdown-body")},m(s,i){D(s,e,i),t.m(n,e),l[2](e)},p(s,[i]){i&1&&n!==(n=B(s[0].descriptionfile||s[0].description)+"")&&t.p(n)},i:oe,o:oe,d(s){s&&m(e),l[2](null)}}}function Gl(l,e,t){let{das:n}=e,s;function i(r){Nt[r?"unshift":"push"](()=>{s=r,t(1,s)})}return l.$$set=r=>{"das"in r&&t(0,n=r.das)},l.$$.update=()=>{l.$$.dirty&3&&n&&s&&setTimeout(()=>{s&&Array.from(s.querySelectorAll("pre code")).forEach(r=>{qs(r)})},200)},[n,s,i]}class Xl extends Me{constructor(e){super(),He(this,e,Gl,Ql,ye,{das:0})}}function ds(l){let e;return{c(){e=ie("Running Gardenjs in devmodus. No Code view supported.")},l(t){e=re(t,"Running Gardenjs in devmodus. No Code view supported.")},m(t,n){D(t,e,n)},d(t){t&&m(e)}}}function gs(l){let e,t,n;return{c(){e=w("pre"),t=w("code"),n=ie(l[1]),this.h()},l(s){e=x(s,"PRE",{});var i=b(e);t=x(i,"CODE",{class:!0});var r=b(t);n=re(r,l[1]),r.forEach(m),i.forEach(m),this.h()},h(){o(t,"class","language-xml")},m(s,i){D(s,e,i),p(e,t),p(t,n),l[5](t)},p(s,i){i&2&&Be(n,s[1])},d(s){s&&m(e),l[5](null)}}}function Yl(l){let e,t,n=l[0]&&ds(),s=l[1]&&gs(l);return{c(){e=w("div"),n&&n.c(),t=L(),s&&s.c()},l(i){e=x(i,"DIV",{});var r=b(e);n&&n.l(r),t=I(r),s&&s.l(r),r.forEach(m)},m(i,r){D(i,e,r),n&&n.m(e,null),p(e,t),s&&s.m(e,null)},p(i,[r]){i[0]?n||(n=ds(),n.c(),n.m(e,t)):n&&(n.d(1),n=null),i[1]?s?s.p(i,r):(s=gs(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:oe,o:oe,d(i){i&&m(e),n&&n.d(),s&&s.d()}}}function Jl(l,e,t){let{componentName:n}=e,{devmodus:s}=e,i,r,a=[];s||u();async function u(){const h=await Os(()=>import("../raw_component_import_map.js"),[]);t(4,a=h.rawComponentMap)}function c(h,d){t(1,i=null),setTimeout(()=>{t(1,i=d[h])})}function f(h){Nt[h?"unshift":"push"](()=>{r=h,t(2,r)})}return l.$$set=h=>{"componentName"in h&&t(3,n=h.componentName),"devmodus"in h&&t(0,s=h.devmodus)},l.$$.update=()=>{l.$$.dirty&24&&c(n,a),l.$$.dirty&6&&i&&r&&qs(r)},[s,i,r,n,a,f]}class Kl extends Me{constructor(e){super(),He(this,e,Jl,Yl,ye,{componentName:3,devmodus:0})}}function $l(l){let e,t;return{c(){e=w("iframe"),this.h()},l(n){e=x(n,"IFRAME",{class:!0,title:!0,src:!0,style:!0}),b(e).forEach(m),this.h()},h(){o(e,"class","stage_iframe svelte-17n05ij"),o(e,"title","preview"),It(e.src,t="/frame.html")||o(e,"src",t),o(e,"style",l[0])},m(n,s){D(n,e,s),l[20](e)},p(n,s){s&1&&o(e,"style",n[0])},d(n){n&&m(e),l[20](null)}}}function ei(l){let e,t;return e=new pl({props:{slot:"top",disabled:l[1]!=="full",maxHeight:l[6],maxWidth:l[7],paneHeight:l[4],paneWidth:l[5],$$slots:{default:[$l]},$$scope:{ctx:l}}}),e.$on("out",l[12]),{c(){Te(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,s){Se(e,n,s),t=!0},p(n,s){const i={};s&2&&(i.disabled=n[1]!=="full"),s&64&&(i.maxHeight=n[6]),s&128&&(i.maxWidth=n[7]),s&16&&(i.paneHeight=n[4]),s&32&&(i.paneWidth=n[5]),s&33554945&&(i.$$scope={dirty:s,ctx:n}),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){Q(e.$$.fragment,n),t=!1},d(n){Ce(e,n)}}}function ps(l){let e,t;return e=new yl({props:{tabs:l[10]}}),e.$on("out",l[19]),{c(){Te(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,s){Se(e,n,s),t=!0},p(n,s){const i={};s&1024&&(i.tabs=n[10]),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){Q(e.$$.fragment,n),t=!1},d(n){Ce(e,n)}}}function ti(l){let e,t,n=l[8]&&ps(l);return{c(){e=w("div"),n&&n.c(),this.h()},l(s){e=x(s,"DIV",{slot:!0,class:!0});var i=b(e);n&&n.l(i),i.forEach(m),this.h()},h(){o(e,"slot","bottom"),o(e,"class","panel svelte-17n05ij")},m(s,i){D(s,e,i),n&&n.m(e,null),t=!0},p(s,i){s[8]?n?(n.p(s,i),i&256&&P(n,1)):(n=ps(s),n.c(),P(n,1),n.m(e,null)):n&&(Ve(),Q(n,1,1,()=>{n=null}),Ze())},i(s){t||(P(n),t=!0)},o(s){Q(n),t=!1},d(s){s&&m(e),n&&n.d()}}}function ni(l){let e,t;return e=new fl({props:{topHeight:l[2],maxHeight:l[3],$$slots:{bottom:[ti],top:[ei]},$$scope:{ctx:l}}}),e.$on("out",l[11]),{c(){Te(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,s){Se(e,n,s),t=!0},p(n,[s]){const i={};s&4&&(i.topHeight=n[2]),s&8&&(i.maxHeight=n[3]),s&33556467&&(i.$$scope={dirty:s,ctx:n}),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){Q(e.$$.fragment,n),t=!1},d(n){Ce(e,n)}}}function si(l){globalThis.history.pushState({selectedExample:l.detail.selecteditem},"",window.location.pathname.substring(7))}function li(l,e,t){let n;const s=Je();let{componentName:i}=e,{das:r={}}=e,{stageStyle:a}=e,{stageSize:u}=e,{selectedExample:c}=e,{stageContainerHeight:f}=e,{stageContainerMaxHeight:h}=e,{stageHeight:d}=e,{stageWidth:g}=e,{stageMaxHeight:k}=e,{stageMaxWidth:y}=e,{panelExpanded:S}=e,{theme:v}=e,{devmodus:C}=e,T,_;const j=new ResizeObserver(z=>{z.forEach(X=>{N(X.contentRect)})});Is(()=>{_&&(j.observe(_),t(9,_.contentWindow.onload=()=>{t(18,T=!0)},_),_.contentWindow.addEventListener("mousemove",function(z){var X=_.getBoundingClientRect(),R=new CustomEvent("mousemove",{bubbles:!0,cancelable:!1});R.pageX=z.clientX+X.left,R.pageY=z.clientY+X.top,_.dispatchEvent(R)}),_.contentWindow.addEventListener("mouseup",function(){var z=new CustomEvent("mouseup",{bubbles:!0,cancelable:!1});_.dispatchEvent(z)}))}),Rs(()=>{j.disconnect()});function H(z){var R;const X=[];return z.description&&X.push({name:"Notes",props:{das:z},page:Xl}),(R=z.examples)!=null&&R.length&&X.push({name:"Examples",props:{selected:c,items:z.examples.map(ne=>ne.title)},page:Sl,out:si}),!C&&z.componentfile&&X.push({name:"Code",props:{componentName:i,devmodus:C},page:Kl}),X}function N(z){s("out",{stageRect:z})}function G(z){z.detail.topHeight&&s("out",{stageContainerHeight:z.detail.topHeight}),z.detail.maxHeight&&s("out",{stageContainerMaxHeight:z.detail.maxHeight}),z.detail.maxWidth&&s("out",{stageContainerWidth:z.detail.maxWidth})}function te(z){z.detail.stageHeight&&s("out",{stageHeight:z.detail.stageHeight}),z.detail.stageWidth&&s("out",{stageWidth:z.detail.stageWidth})}function Ee(z){Lt.call(this,l,z)}function fe(z){Nt[z?"unshift":"push"](()=>{_=z,t(9,_)})}return l.$$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,f=z.stageContainerHeight),"stageContainerMaxHeight"in z&&t(3,h=z.stageContainerMaxHeight),"stageHeight"in z&&t(4,d=z.stageHeight),"stageWidth"in z&&t(5,g=z.stageWidth),"stageMaxHeight"in z&&t(6,k=z.stageMaxHeight),"stageMaxWidth"in z&&t(7,y=z.stageMaxWidth),"panelExpanded"in z&&t(8,S=z.panelExpanded),"theme"in z&&t(16,v=z.theme),"devmodus"in z&&t(17,C=z.devmodus)},l.$$.update=()=>{l.$$.dirty&369154&&T&&(!_.contentDocument||/frame.html$/.test(_.contentWindow.location),_.contentWindow.postMessage({selectedExample:c,componentName:i,stageSize:u,theme:v},window.location)),l.$$.dirty&16384&&t(10,n=H(r))},[a,u,f,h,d,g,k,y,S,_,n,G,te,i,r,c,v,C,T,Ee,fe]}class ii extends Me{constructor(e){super(),He(this,e,li,ni,ye,{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 ri(l){let e,t,n,s,i,r='<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>',a,u,c,f,h;return{c(){e=w("a"),t=w("div"),n=w("div"),s=L(),i=w("div"),i.innerHTML=r,a=L(),u=w("div"),c=new In(!1),this.h()},l(d){e=x(d,"A",{href:!0,class:!0});var g=b(e);t=x(g,"DIV",{class:!0});var k=b(t);n=x(k,"DIV",{class:!0}),b(n).forEach(m),s=I(k),i=x(k,"DIV",{class:!0,"data-svelte-h":!0}),ue(i)!=="svelte-rhhnaq"&&(i.innerHTML=r),a=I(k),u=x(k,"DIV",{class:!0});var y=b(u);c=Rn(y,!1),y.forEach(m),k.forEach(m),g.forEach(m),this.h()},h(){o(n,"class","component_dot svelte-1cnyrt6"),o(i,"class","component_icon svelte-1cnyrt6"),c.a=null,o(u,"class","component_label svelte-1cnyrt6"),o(t,"class","component_link-container svelte-1cnyrt6"),o(e,"href",l[0]),o(e,"class","component_link svelte-1cnyrt6"),q(e,"selected",l[1])},m(d,g){D(d,e,g),p(e,t),p(t,n),p(t,s),p(t,i),p(t,a),p(t,u),c.m(l[2],u),f||(h=$(e,"click",nl(l[3])),f=!0)},p(d,[g]){g&4&&c.p(d[2]),g&1&&o(e,"href",d[0]),g&2&&q(e,"selected",d[1])},i:oe,o:oe,d(d){d&&m(e),f=!1,h()}}}function oi(l,e,t){let{href:n}=e,{selected:s}=e,{text:i}=e;function r(){globalThis.history.pushState({},"",n)}return l.$$set=a=>{"href"in a&&t(0,n=a.href),"selected"in a&&t(1,s=a.selected),"text"in a&&t(2,i=a.text)},[n,s,i,r]}class Us extends Me{constructor(e){super(),He(this,e,oi,ri,ye,{href:0,selected:1,text:2})}}function ms(l,e,t){const n=l.slice();return n[4]=e[t],n}function ks(l){let e,t,n,s,i='<svg xmlns="http://www.w3.org/2000/svg" class="close-icon svelte-qxg2ml" height="12" viewBox="0 0 24 24" width="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6L6 18M6 6l12 12"></path></svg>',r,a,u,c;t=new Us({props:{href:l[4].href,selected:l[4].selected,text:l[4].name}});function f(){return l[2](l[4])}return{c(){e=w("li"),Te(t.$$.fragment),n=L(),s=w("button"),s.innerHTML=i,r=L(),this.h()},l(h){e=x(h,"LI",{class:!0});var d=b(e);Le(t.$$.fragment,d),n=I(d),s=x(d,"BUTTON",{class:!0,"data-svelte-h":!0}),ue(s)!=="svelte-1axzzzj"&&(s.innerHTML=i),r=I(d),d.forEach(m),this.h()},h(){o(s,"class","close svelte-qxg2ml"),o(e,"class","component svelte-qxg2ml")},m(h,d){D(h,e,d),Se(t,e,null),p(e,n),p(e,s),p(e,r),a=!0,u||(c=$(s,"click",f),u=!0)},p(h,d){l=h;const g={};d&1&&(g.href=l[4].href),d&1&&(g.selected=l[4].selected),d&1&&(g.text=l[4].name),t.$set(g)},i(h){a||(P(t.$$.fragment,h),a=!0)},o(h){Q(t.$$.fragment,h),a=!1},d(h){h&&m(e),Ce(t),u=!1,c()}}}function ai(l){let e,t,n='<span class="bookmarks_title-icon svelte-qxg2ml"><svg xmlns="http://www.w3.org/2000/svg" class="bookmark_icon" height="15" viewBox="0 0 24 24" width="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"></path></svg></span> <span class="bookmarks_title-label svelte-qxg2ml">Bookmarks</span>',s,i,r,a,u,c,f=qe(l[0]),h=[];for(let g=0;g<f.length;g+=1)h[g]=ks(ms(l,f,g));const d=g=>Q(h[g],1,1,()=>{h[g]=null});return{c(){e=w("div"),t=w("div"),t.innerHTML=n,s=L(),i=w("nav"),r=w("ul");for(let g=0;g<h.length;g+=1)h[g].c();a=L(),u=w("div"),this.h()},l(g){e=x(g,"DIV",{class:!0});var k=b(e);t=x(k,"DIV",{class:!0,"data-svelte-h":!0}),ue(t)!=="svelte-yph7f9"&&(t.innerHTML=n),s=I(k),i=x(k,"NAV",{class:!0});var y=b(i);r=x(y,"UL",{class:!0});var S=b(r);for(let v=0;v<h.length;v+=1)h[v].l(S);S.forEach(m),y.forEach(m),a=I(k),u=x(k,"DIV",{class:!0}),b(u).forEach(m),k.forEach(m),this.h()},h(){o(t,"class","bookmarks_title svelte-qxg2ml"),o(r,"class","components svelte-qxg2ml"),o(i,"class","bookmarks_nav"),o(u,"class","border-btm svelte-qxg2ml"),o(e,"class","bookmarks svelte-qxg2ml")},m(g,k){D(g,e,k),p(e,t),p(e,s),p(e,i),p(i,r);for(let y=0;y<h.length;y+=1)h[y]&&h[y].m(r,null);p(e,a),p(e,u),c=!0},p(g,[k]){if(k&3){f=qe(g[0]);let y;for(y=0;y<f.length;y+=1){const S=ms(g,f,y);h[y]?(h[y].p(S,k),P(h[y],1)):(h[y]=ks(S),h[y].c(),P(h[y],1),h[y].m(r,null))}for(Ve(),y=f.length;y<h.length;y+=1)d(y);Ze()}},i(g){if(!c){for(let k=0;k<f.length;k+=1)P(h[k]);c=!0}},o(g){h=h.filter(Boolean);for(let k=0;k<h.length;k+=1)Q(h[k]);c=!1},d(g){g&&m(e),Bt(h,g)}}}function ui(l,e,t){const n=Je();let{bookmarks:s=[]}=e;function i(a){n("out",{toggleBookmark:a})}const r=a=>i(a);return l.$$set=a=>{"bookmarks"in a&&t(0,s=a.bookmarks)},[s,i,r]}class ci extends Me{constructor(e){super(),He(this,e,ui,ai,ye,{bookmarks:0})}}function _s(l,e,t){const n=l.slice();return n[6]=e[t],n}function hi(l){let e,t,n,s='<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,f,h=l[6].name+"",d,g,k,y,S,v,C;function T(){return l[3](l[6])}let _=l[6].unfolded&&bs(l);return{c(){e=w("li"),t=w("button"),n=w("span"),n.innerHTML=s,i=L(),r=w("span"),r.innerHTML=a,u=L(),c=w("span"),f=new In(!1),k=L(),_&&_.c(),y=L(),this.h()},l(j){e=x(j,"LI",{class:!0});var H=b(e);t=x(H,"BUTTON",{class:!0,title:!0});var N=b(t);n=x(N,"SPAN",{class:!0,"data-svelte-h":!0}),ue(n)!=="svelte-1uqfrmg"&&(n.innerHTML=s),i=I(N),r=x(N,"SPAN",{class:!0,"data-svelte-h":!0}),ue(r)!=="svelte-1aixm8"&&(r.innerHTML=a),u=I(N),c=x(N,"SPAN",{class:!0});var G=b(c);f=Rn(G,!1),G.forEach(m),N.forEach(m),k=I(H),_&&_.l(H),y=I(H),H.forEach(m),this.h()},h(){o(n,"class","folder_arrow svelte-1nn9bvq"),q(n,"unfolded_icon",l[6].unfolded),o(r,"class","folder_icon svelte-1nn9bvq"),f.a=null,o(c,"class","folder_label svelte-1nn9bvq"),o(t,"class",d="folder_btn btn_level-"+l[1]+" svelte-1nn9bvq"),o(t,"title",g=l[6].unfolded?"fold":"unfold"),o(e,"class","folder svelte-1nn9bvq"),q(e,"unfolded",l[6].unfolded)},m(j,H){D(j,e,H),p(e,t),p(t,n),p(t,i),p(t,r),p(t,u),p(t,c),f.m(h,c),p(e,k),_&&_.m(e,null),p(e,y),S=!0,v||(C=$(t,"click",T),v=!0)},p(j,H){l=j,(!S||H&1)&&q(n,"unfolded_icon",l[6].unfolded),(!S||H&1)&&h!==(h=l[6].name+"")&&f.p(h),(!S||H&2&&d!==(d="folder_btn btn_level-"+l[1]+" svelte-1nn9bvq"))&&o(t,"class",d),(!S||H&1&&g!==(g=l[6].unfolded?"fold":"unfold"))&&o(t,"title",g),l[6].unfolded?_?(_.p(l,H),H&1&&P(_,1)):(_=bs(l),_.c(),P(_,1),_.m(e,y)):_&&(Ve(),Q(_,1,1,()=>{_=null}),Ze()),(!S||H&1)&&q(e,"unfolded",l[6].unfolded)},i(j){S||(P(_),S=!0)},o(j){Q(_),S=!1},d(j){j&&m(e),_&&_.d(),v=!1,C()}}}function fi(l){let e,t,n,s;return t=new Us({props:{href:l[6].href,selected:l[6].selected,text:l[6].name}}),{c(){e=w("li"),Te(t.$$.fragment),n=L(),this.h()},l(i){e=x(i,"LI",{class:!0});var r=b(e);Le(t.$$.fragment,r),n=I(r),r.forEach(m),this.h()},h(){o(e,"class","component svelte-1nn9bvq")},m(i,r){D(i,e,r),Se(t,e,null),p(e,n),s=!0},p(i,r){const a={};r&1&&(a.href=i[6].href),r&1&&(a.selected=i[6].selected),r&1&&(a.text=i[6].name),t.$set(a)},i(i){s||(P(t.$$.fragment,i),s=!0)},o(i){Q(t.$$.fragment,i),s=!1},d(i){i&&m(e),Ce(t)}}}function bs(l){let e,t;return e=new Vs({props:{nodes:l[6].children,level:l[1]+1}}),e.$on("out",l[4]),{c(){Te(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,s){Se(e,n,s),t=!0},p(n,s){const i={};s&1&&(i.nodes=n[6].children),s&2&&(i.level=n[1]+1),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){Q(e.$$.fragment,n),t=!1},d(n){Ce(e,n)}}}function vs(l){let e,t,n,s;const i=[fi,hi],r=[];function a(u,c){return u[6].isLeaf?0:1}return e=a(l),t=r[e]=i[e](l),{c(){t.c(),n=zt()},l(u){t.l(u),n=zt()},m(u,c){r[e].m(u,c),D(u,n,c),s=!0},p(u,c){let f=e;e=a(u),e===f?r[e].p(u,c):(Ve(),Q(r[f],1,1,()=>{r[f]=null}),Ze(),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){s||(P(t),s=!0)},o(u){Q(t),s=!1},d(u){u&&m(n),r[e].d(u)}}}function di(l){let e,t,n,s=qe(l[0]),i=[];for(let a=0;a<s.length;a+=1)i[a]=vs(_s(l,s,a));const r=a=>Q(i[a],1,1,()=>{i[a]=null});return{c(){e=w("ul");for(let a=0;a<i.length;a+=1)i[a].c();this.h()},l(a){e=x(a,"UL",{class:!0});var u=b(e);for(let c=0;c<i.length;c+=1)i[c].l(u);u.forEach(m),this.h()},h(){o(e,"class",t="filter_list components level-"+l[1]+" svelte-1nn9bvq")},m(a,u){D(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){s=qe(a[0]);let c;for(c=0;c<s.length;c+=1){const f=_s(a,s,c);i[c]?(i[c].p(f,u),P(i[c],1)):(i[c]=vs(f),i[c].c(),P(i[c],1),i[c].m(e,null))}for(Ve(),c=s.length;c<i.length;c+=1)r(c);Ze()}(!n||u&2&&t!==(t="filter_list components level-"+a[1]+" svelte-1nn9bvq"))&&o(e,"class",t)},i(a){if(!n){for(let u=0;u<s.length;u+=1)P(i[u]);n=!0}},o(a){i=i.filter(Boolean);for(let u=0;u<i.length;u+=1)Q(i[u]);n=!1},d(a){a&&m(e),Bt(i,a)}}}function gi(l,e,t){const n=Je();let{nodes:s=[]}=e,{level:i=1}=e;function r(c){n("out",{toggleFoldStatusOfNode:{...c}})}const a=c=>r(c);function u(c){Lt.call(this,l,c)}return l.$$set=c=>{"nodes"in c&&t(0,s=c.nodes),"level"in c&&t(1,i=c.level)},[s,i,r,a,u]}class Vs extends Me{constructor(e){super(),He(this,e,gi,di,ye,{nodes:0,level:1})}}function pi(l){let e,t;return{c(){e=w("span"),t=ie(l[3]),this.h()},l(n){e=x(n,"SPAN",{class:!0});var s=b(e);t=re(s,l[3]),s.forEach(m),this.h()},h(){o(e,"class","svelte-1oee4bz")},m(n,s){D(n,e,s),p(e,t)},p(n,s){s&8&&Be(t,n[3])},d(n){n&&m(e)}}}function mi(l){let e,t,n;return{c(){e=w("img"),this.h()},l(s){e=x(s,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){It(e.src,t="/assets/"+l[4])||o(e,"src",t),o(e,"title","start"),o(e,"alt",n=l[3]+" logo")},m(s,i){D(s,e,i)},p(s,i){i&16&&!It(e.src,t="/assets/"+s[4])&&o(e,"src",t),i&8&&n!==(n=s[3]+" logo")&&o(e,"alt",n)},d(s){s&&m(e)}}}function ki(l){let e,t,n;return{c(){e=w("img"),this.h()},l(s){e=x(s,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){It(e.src,t="/assets/"+l[5])||o(e,"src",t),o(e,"title","start"),o(e,"alt",n=l[3]+" logo")},m(s,i){D(s,e,i)},p(s,i){i&32&&!It(e.src,t="/assets/"+s[5])&&o(e,"src",t),i&8&&n!==(n=s[3]+" logo")&&o(e,"alt",n)},d(s){s&&m(e)}}}function _i(l){let e,t,n,s,i=l[10].length>0&&ws(l);return n=new Vs({props:{nodes:l[0]}}),n.$on("out",l[15]),{c(){i&&i.c(),e=L(),t=w("nav"),Te(n.$$.fragment),this.h()},l(r){i&&i.l(r),e=I(r),t=x(r,"NAV",{class:!0});var a=b(t);Le(n.$$.fragment,a),a.forEach(m),this.h()},h(){o(t,"class","components-nav svelte-1oee4bz")},m(r,a){i&&i.m(r,a),D(r,e,a),D(r,t,a),Se(n,t,null),s=!0},p(r,a){r[10].length>0?i?(i.p(r,a),a&1024&&P(i,1)):(i=ws(r),i.c(),P(i,1),i.m(e.parentNode,e)):i&&(Ve(),Q(i,1,1,()=>{i=null}),Ze());const u={};a&1&&(u.nodes=r[0]),n.$set(u)},i(r){s||(P(i),P(n.$$.fragment,r),s=!0)},o(r){Q(i),Q(n.$$.fragment,r),s=!1},d(r){r&&(m(e),m(t)),i&&i.d(r),Ce(n)}}}function bi(l){let e,t,n,s,i;return{c(){e=w("div"),t=w("div"),n=ie("No results for '"),s=ie(l[6]),i=ie("'"),this.h()},l(r){e=x(r,"DIV",{});var a=b(e);t=x(a,"DIV",{class:!0});var u=b(t);n=re(u,"No results for '"),s=re(u,l[6]),i=re(u,"'"),u.forEach(m),a.forEach(m),this.h()},h(){o(t,"class","filter_zero-results svelte-1oee4bz")},m(r,a){D(r,e,a),p(e,t),p(t,n),p(t,s),p(t,i)},p(r,a){a&64&&Be(s,r[6])},i:oe,o:oe,d(r){r&&m(e)}}}function ws(l){let e,t;return e=new ci({props:{bookmarks:l[10]}}),e.$on("out",l[14]),{c(){Te(e.$$.fragment)},l(n){Le(e.$$.fragment,n)},m(n,s){Se(e,n,s),t=!0},p(n,s){const i={};s&1024&&(i.bookmarks=n[10]),e.$set(i)},i(n){t||(P(e.$$.fragment,n),t=!0)},o(n){Q(e.$$.fragment,n),t=!1},d(n){Ce(e,n)}}}function vi(l){let e,t;return{c(){e=V("svg"),t=V("path"),this.h()},l(n){e=Z(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 s=b(e);t=Z(s,"path",{d:!0}),b(t).forEach(m),s.forEach(m),this.h()},h(){o(t,"d","M7 15l5 5 5-5M7 9l5-5 5 5"),o(e,"class","controls_btn-icon svelte-1oee4bz"),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,s){D(n,e,s),p(e,t)},d(n){n&&m(e)}}}function wi(l){let e,t;return{c(){e=V("svg"),t=V("path"),this.h()},l(n){e=Z(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 s=b(e);t=Z(s,"path",{d:!0}),b(t).forEach(m),s.forEach(m),this.h()},h(){o(t,"d","M7 20l5-5 5 5M7 4l5 5 5-5"),o(e,"class","controls_btn-icon svelte-1oee4bz"),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,s){D(n,e,s),p(e,t)},d(n){n&&m(e)}}}function xi(l){let e,t,n,s;return{c(){e=V("svg"),t=V("rect"),n=V("line"),s=V("path"),this.h()},l(i){e=Z(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=Z(r,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0,ry:!0}),b(t).forEach(m),n=Z(r,"line",{x1:!0,x2:!0,y1:!0,y2:!0}),b(n).forEach(m),s=Z(r,"path",{d:!0}),b(s).forEach(m),r.forEach(m),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(s,"d","m9 10 3-3 3 3"),o(e,"class","controls_btn-icon svelte-1oee4bz"),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){D(i,e,r),p(e,t),p(e,n),p(e,s)},d(i){i&&m(e)}}}function Ei(l){let e,t,n,s;return{c(){e=V("svg"),t=V("rect"),n=V("line"),s=V("path"),this.h()},l(i){e=Z(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=Z(r,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0,ry:!0}),b(t).forEach(m),n=Z(r,"line",{x1:!0,x2:!0,y1:!0,y2:!0}),b(n).forEach(m),s=Z(r,"path",{d:!0}),b(s).forEach(m),r.forEach(m),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(s,"d","m15 8-3 3-3-3"),o(e,"class","controls_btn-icon svelte-1oee4bz"),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){D(i,e,r),p(e,t),p(e,n),p(e,s)},d(i){i&&m(e)}}}function xs(l){let e,t='<a class="controls_btn svelte-1oee4bz" href="https://gardenjs.org/docs" target="_blank" rel="noreferrer"><svg class="controls_btn-icon svelte-1oee4bz" 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-1oee4bz">Gardenjs Docs</span></a>';return{c(){e=w("li"),e.innerHTML=t},l(n){e=x(n,"LI",{"data-svelte-h":!0}),ue(e)!=="svelte-13os4tf"&&(e.innerHTML=t)},m(n,s){D(n,e,s)},d(n){n&&m(e)}}}function yi(l){let e,t,n,s,i,r,a,u,c,f,h,d,g,k,y,S,v=l[2]?"Collapse":"Expand",C,T,_,j,H,N,G,te,Ee=l[7]?"Collapse":"Expand",fe,z,X,R,ne,Ae,Ke;function le(O,W){return O[5]&&O[9]==="dark"?ki:O[4]?mi:pi}let ze=le(l),pe=ze(l);const $e=[bi,_i],Y=[];function me(O,W){return O[0].length==0&&O[6]?0:1}u=me(l),c=Y[u]=$e[u](l);function je(O,W){return O[2]?wi:vi}let E=je(l),ce=E(l);function ct(O,W){return O[7]?Ei:xi}let ae=ct(l),de=ae(l),he=l[8]===1&&xs();return{c(){e=w("header"),t=w("a"),pe.c(),n=L(),s=w("div"),i=w("input"),a=L(),c.c(),f=L(),h=w("nav"),d=w("ul"),g=w("li"),k=w("button"),ce.c(),y=L(),S=w("span"),C=ie(v),T=ie(" Navigation"),j=L(),H=w("li"),N=w("button"),de.c(),G=L(),te=w("span"),fe=ie(Ee),z=ie(" Panel"),R=L(),he&&he.c(),this.h()},l(O){e=x(O,"HEADER",{class:!0});var W=b(e);t=x(W,"A",{class:!0,href:!0});var ge=b(t);pe.l(ge),ge.forEach(m),n=I(W),s=x(W,"DIV",{class:!0});var et=b(s);i=x(et,"INPUT",{"aria-autocomplete":!0,id:!0,class:!0,autocomplete:!0,type:!0,placeholder:!0}),et.forEach(m),a=I(W),c.l(W),f=I(W),h=x(W,"NAV",{class:!0});var ht=b(h);d=x(ht,"UL",{});var Ie=b(d);g=x(Ie,"LI",{});var ft=b(g);k=x(ft,"BUTTON",{class:!0,title:!0});var ke=b(k);ce.l(ke),y=I(ke),S=x(ke,"SPAN",{class:!0});var dt=b(S);C=re(dt,v),T=re(dt," Navigation"),dt.forEach(m),ke.forEach(m),ft.forEach(m),j=I(Ie),H=x(Ie,"LI",{});var gt=b(H);N=x(gt,"BUTTON",{class:!0,title:!0});var _e=b(N);de.l(_e),G=I(_e),te=x(_e,"SPAN",{class:!0});var De=b(te);fe=re(De,Ee),z=re(De," Panel"),De.forEach(m),_e.forEach(m),gt.forEach(m),R=I(Ie),he&&he.l(Ie),Ie.forEach(m),ht.forEach(m),W.forEach(m),this.h()},h(){o(t,"class","project-identifier svelte-1oee4bz"),o(t,"href","/"),q(t,"has-logo",l[4]),o(i,"aria-autocomplete","list"),o(i,"id","filter"),o(i,"class","filter_input svelte-1oee4bz"),o(i,"autocomplete","off"),o(i,"type","search"),i.value=r=l[6]||"",o(i,"placeholder","Filter..."),o(s,"class","filter svelte-1oee4bz"),o(S,"class","controls_btn-label svelte-1oee4bz"),o(k,"class","controls_btn svelte-1oee4bz"),o(k,"title",_=l[2]?"Collapse":"Restore"),o(te,"class","controls_btn-label svelte-1oee4bz"),o(N,"class","controls_btn svelte-1oee4bz"),o(N,"title",X=l[7]?"Collapse":"Restore"),o(h,"class","controls svelte-1oee4bz"),o(e,"class","sidebar_container svelte-1oee4bz"),q(e,"show-sidebar",l[1])},m(O,W){D(O,e,W),p(e,t),pe.m(t,null),p(e,n),p(e,s),p(s,i),p(e,a),Y[u].m(e,null),p(e,f),p(e,h),p(h,d),p(d,g),p(g,k),ce.m(k,null),p(k,y),p(k,S),p(S,C),p(S,T),p(d,j),p(d,H),p(H,N),de.m(N,null),p(N,G),p(N,te),p(te,fe),p(te,z),p(d,R),he&&he.m(d,null),ne=!0,Ae||(Ke=[$(i,"input",l[12]),$(k,"click",l[11]),$(N,"click",l[13])],Ae=!0)},p(O,[W]){ze===(ze=le(O))&&pe?pe.p(O,W):(pe.d(1),pe=ze(O),pe&&(pe.c(),pe.m(t,null))),(!ne||W&16)&&q(t,"has-logo",O[4]),(!ne||W&64&&r!==(r=O[6]||"")&&i.value!==r)&&(i.value=r);let ge=u;u=me(O),u===ge?Y[u].p(O,W):(Ve(),Q(Y[ge],1,1,()=>{Y[ge]=null}),Ze(),c=Y[u],c?c.p(O,W):(c=Y[u]=$e[u](O),c.c()),P(c,1),c.m(e,f)),E!==(E=je(O))&&(ce.d(1),ce=E(O),ce&&(ce.c(),ce.m(k,y))),(!ne||W&4)&&v!==(v=O[2]?"Collapse":"Expand")&&Be(C,v),(!ne||W&4&&_!==(_=O[2]?"Collapse":"Restore"))&&o(k,"title",_),ae!==(ae=ct(O))&&(de.d(1),de=ae(O),de&&(de.c(),de.m(N,G))),(!ne||W&128)&&Ee!==(Ee=O[7]?"Collapse":"Expand")&&Be(fe,Ee),(!ne||W&128&&X!==(X=O[7]?"Collapse":"Restore"))&&o(N,"title",X),O[8]===1?he||(he=xs(),he.c(),he.m(d,null)):he&&(he.d(1),he=null),(!ne||W&2)&&q(e,"show-sidebar",O[1])},i(O){ne||(P(c),ne=!0)},o(O){Q(c),ne=!1},d(O){O&&m(e),pe.d(),Y[u].d(),ce.d(),de.d(),he&&he.d(),Ae=!1,un(Ke)}}}function zi(l,e,t){const n=Je();let{nodes:s=[]}=e,{sidebarExpanded:i=!0}=e,{rootNodesExpanded:r=!0}=e,{projectTitle:a}=e,{projectLogo:u}=e,{projectLogoDarkmode:c}=e,{filter:f}=e,{panelExpanded:h=!0}=e,{docsLink:d}=e,{appTheme:g}=e,{bookmarks:k=[]}=e;function y(){n("out",{toggleRootFolders:!0})}function S(_){n("out",{filter:{value:_.target.value}})}function v(){n("out",{toggleExpandPanel:!0})}function C(_){Lt.call(this,l,_)}function T(_){Lt.call(this,l,_)}return l.$$set=_=>{"nodes"in _&&t(0,s=_.nodes),"sidebarExpanded"in _&&t(1,i=_.sidebarExpanded),"rootNodesExpanded"in _&&t(2,r=_.rootNodesExpanded),"projectTitle"in _&&t(3,a=_.projectTitle),"projectLogo"in _&&t(4,u=_.projectLogo),"projectLogoDarkmode"in _&&t(5,c=_.projectLogoDarkmode),"filter"in _&&t(6,f=_.filter),"panelExpanded"in _&&t(7,h=_.panelExpanded),"docsLink"in _&&t(8,d=_.docsLink),"appTheme"in _&&t(9,g=_.appTheme),"bookmarks"in _&&t(10,k=_.bookmarks)},[s,i,r,a,u,c,f,h,d,g,k,y,S,v,C,T]}class Ti extends Me{constructor(e){super(),He(this,e,zi,yi,ye,{nodes:0,sidebarExpanded:1,rootNodesExpanded:2,projectTitle:3,projectLogo:4,projectLogoDarkmode:5,filter:6,panelExpanded:7,docsLink:8,appTheme:9,bookmarks:10})}}function Es(l,e,t){const n=l.slice();return n[27]=e[t],n}function Si(l){let e,t,n;return{c(){e=V("svg"),t=V("rect"),n=V("path"),this.h()},l(s){e=Z(s,"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=Z(i,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(t).forEach(m),n=Z(i,"path",{d:!0}),b(n).forEach(m),i.forEach(m),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-1drdwh6")},m(s,i){D(s,e,i),p(e,t),p(e,n)},d(s){s&&m(e)}}}function Ci(l){let e,t,n;return{c(){e=V("svg"),t=V("rect"),n=V("path"),this.h()},l(s){e=Z(s,"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=Z(i,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(t).forEach(m),n=Z(i,"path",{d:!0}),b(n).forEach(m),i.forEach(m),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-1drdwh6")},m(s,i){D(s,e,i),p(e,t),p(e,n)},d(s){s&&m(e)}}}function ys(l){let e,t,n=l[6].bookmark?"Remove from bookmarks":"Add to bookmarks",s,i,r,a;function u(h,d){return h[6].bookmark?Hi:Mi}let c=u(l),f=c(l);return{c(){e=w("button"),t=w("span"),s=ie(n),i=L(),f.c(),this.h()},l(h){e=x(h,"BUTTON",{class:!0});var d=b(e);t=x(d,"SPAN",{class:!0});var g=b(t);s=re(g,n),g.forEach(m),i=I(d),f.l(d),d.forEach(m),this.h()},h(){o(t,"class","is-hidden svelte-1drdwh6"),o(e,"class","topbar_btn bookmark_btn svelte-1drdwh6")},m(h,d){D(h,e,d),p(e,t),p(t,s),p(e,i),f.m(e,null),r||(a=$(e,"click",l[11]),r=!0)},p(h,d){d&64&&n!==(n=h[6].bookmark?"Remove from bookmarks":"Add to bookmarks")&&Be(s,n),c!==(c=u(h))&&(f.d(1),f=c(h),f&&(f.c(),f.m(e,null)))},d(h){h&&m(e),f.d(),r=!1,a()}}}function Mi(l){let e,t;return{c(){e=V("svg"),t=V("path"),this.h()},l(n){e=Z(n,"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 s=b(e);t=Z(s,"path",{d:!0}),b(t).forEach(m),s.forEach(m),this.h()},h(){o(t,"d","M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"),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-1drdwh6")},m(n,s){D(n,e,s),p(e,t)},d(n){n&&m(e)}}}function Hi(l){let e,t;return{c(){e=V("svg"),t=V("path"),this.h()},l(n){e=Z(n,"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 s=b(e);t=Z(s,"path",{d:!0}),b(t).forEach(m),s.forEach(m),this.h()},h(){o(t,"d","M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"),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","currentColor"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"class","svelte-1drdwh6")},m(n,s){D(n,e,s),p(e,t)},d(n){n&&m(e)}}}function zs(l){let e,t,n='<span class="is-hidden svelte-1drdwh6">Open menu for selecting themes</span> <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-1drdwh6"><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>',s,i,r,a=qe(l[3]),u=[];for(let c=0;c<a.length;c+=1)u[c]=Ts(Es(l,a,c));return{c(){e=w("div"),t=w("button"),t.innerHTML=n,s=L(),i=w("div"),r=w("ul");for(let c=0;c<u.length;c+=1)u[c].c();this.h()},l(c){e=x(c,"DIV",{class:!0});var f=b(e);t=x(f,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),ue(t)!=="svelte-515ofc"&&(t.innerHTML=n),s=I(f),i=x(f,"DIV",{class:!0});var h=b(i);r=x(h,"UL",{class:!0});var d=b(r);for(let g=0;g<u.length;g+=1)u[g].l(d);d.forEach(m),h.forEach(m),f.forEach(m),this.h()},h(){o(t,"class","dropdown_btn topbar_btn svelte-1drdwh6"),o(t,"title","Switch component theme"),o(r,"class","svelte-1drdwh6"),o(i,"class","dropdown_items svelte-1drdwh6"),o(e,"class","dropdown svelte-1drdwh6")},m(c,f){D(c,e,f),p(e,t),p(e,s),p(e,i),p(i,r);for(let h=0;h<u.length;h+=1)u[h]&&u[h].m(r,null)},p(c,f){if(f&65544){a=qe(c[3]);let h;for(h=0;h<a.length;h+=1){const d=Es(c,a,h);u[h]?u[h].p(d,f):(u[h]=Ts(d),u[h].c(),u[h].m(r,null))}for(;h<u.length;h+=1)u[h].d(1);u.length=a.length}},d(c){c&&m(e),Bt(u,c)}}}function Ts(l){let e,t,n,s,i=l[27].name+"",r,a,u,c;function f(){return l[25](l[27])}return{c(){e=w("li"),t=w("button"),n=w("span"),s=L(),r=ie(i),a=L(),this.h()},l(h){e=x(h,"LI",{class:!0});var d=b(e);t=x(d,"BUTTON",{class:!0});var g=b(t);n=x(g,"SPAN",{class:!0}),b(n).forEach(m),s=I(g),r=re(g,i),g.forEach(m),a=I(d),d.forEach(m),this.h()},h(){o(n,"class","dropdown_item-dot svelte-1drdwh6"),o(t,"class","svelte-1drdwh6"),q(t,"active",l[27].active),o(e,"class","svelte-1drdwh6")},m(h,d){D(h,e,d),p(e,t),p(t,n),p(t,s),p(t,r),p(e,a),u||(c=$(t,"click",f),u=!0)},p(h,d){l=h,d&8&&i!==(i=l[27].name+"")&&Be(r,i),d&8&&q(t,"active",l[27].active)},d(h){h&&m(e),u=!1,c()}}}function Li(l){let e,t;return{c(){e=V("svg"),t=V("path"),this.h()},l(n){e=Z(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 s=b(e);t=Z(s,"path",{d:!0}),b(t).forEach(m),s.forEach(m),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-1drdwh6"),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,s){D(n,e,s),p(e,t)},d(n){n&&m(e)}}}function Ii(l){let e,t,n;return{c(){e=V("svg"),t=V("circle"),n=V("path"),this.h()},l(s){e=Z(s,"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=Z(i,"circle",{cx:!0,cy:!0,r:!0}),b(t).forEach(m),n=Z(i,"path",{d:!0}),b(n).forEach(m),i.forEach(m),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-1drdwh6"),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(s,i){D(s,e,i),p(e,t),p(e,n)},d(s){s&&m(e)}}}function Ri(l){let e,t,n,s,i,r=l[0]?"Collapse sidebar":"Expand sidebar",a,u,c,f,h,d,g,k,y,S,v,C="/",T,_,j,H,N,G,te,Ee="Resize viewport to medium",fe,z,X,R,ne,Ae,Ke,le,ze,pe="Resize viewport to medium",$e,Y,me,je,E,ce,ct,ae,de,he="Resize viewport to large",O,W,ge,et,ht,Ie,ft,ke,dt='<span class="is-hidden svelte-1drdwh6">Resize viewport to full</span> <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-1drdwh6"><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-1drdwh6"></span>',gt,_e,De,dn,Tt=l[1]?"portrait mode":"landscape mode",Dt,gn,be,Fe,Qe,Wt,pn,Ge,qn='<span class="is-hidden svelte-1drdwh6">Open component in new tab</span> <svg xmlns="http://www.w3.org/2000/svg" class="open-new-tab-icon svelte-1drdwh6" 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>',mn,Pt,Re,pt,St=l[7]?"Light mode":"Dark mode",Ot,kn,qt,_n,Un;function Vn(U,J){return U[0]?Ci:Si}let Ut=Vn(l),Xe=Ut(l),ve=l[6]&&ys(l),we=l[3].length>1&&zs(l);function Zn(U,J){return U[7]?Ii:Li}let Vt=Zn(l),Ye=Vt(l);return{c(){e=w("div"),t=w("div"),n=w("div"),s=w("button"),i=w("span"),a=ie(r),u=L(),Xe.c(),f=L(),ve&&ve.c(),h=L(),d=w("div"),g=w("div"),k=w("input"),S=L(),v=w("div"),v.textContent=C,T=L(),_=w("input"),H=L(),N=w("div"),G=w("button"),te=w("span"),te.textContent=Ee,fe=L(),z=V("svg"),X=V("rect"),R=V("path"),ne=L(),Ae=w("span"),Ke=L(),le=w("button"),ze=w("span"),ze.textContent=pe,$e=L(),Y=V("svg"),me=V("rect"),je=V("path"),E=L(),ce=w("span"),ct=L(),ae=w("button"),de=w("span"),de.textContent=he,O=L(),W=V("svg"),ge=V("rect"),et=V("path"),ht=L(),Ie=w("span"),ft=L(),ke=w("button"),ke.innerHTML=dt,gt=L(),_e=w("button"),De=w("span"),dn=ie("Reverse the aspect ratio to "),Dt=ie(Tt),gn=L(),be=V("svg"),Fe=V("rect"),Qe=V("rect"),pn=L(),Ge=w("button"),Ge.innerHTML=qn,mn=L(),we&&we.c(),Pt=L(),Re=w("button"),pt=w("span"),Ot=ie(St),kn=L(),Ye.c(),this.h()},l(U){e=x(U,"DIV",{class:!0});var J=b(e);t=x(J,"DIV",{class:!0});var Zt=b(t);n=x(Zt,"DIV",{class:!0});var Ft=b(n);s=x(Ft,"BUTTON",{class:!0,title:!0});var Qt=b(s);i=x(Qt,"SPAN",{class:!0});var Fn=b(i);a=re(Fn,r),Fn.forEach(m),u=I(Qt),Xe.l(Qt),Qt.forEach(m),f=I(Ft),ve&&ve.l(Ft),Ft.forEach(m),h=I(Zt),d=x(Zt,"DIV",{class:!0});var We=b(d);g=x(We,"DIV",{class:!0});var mt=b(g);k=x(mt,"INPUT",{class:!0,type:!0,min:!0,max:!0}),S=I(mt),v=x(mt,"DIV",{class:!0,"data-svelte-h":!0}),ue(v)!=="svelte-mwx9s1"&&(v.textContent=C),T=I(mt),_=x(mt,"INPUT",{class:!0,type:!0,min:!0,max:!0}),mt.forEach(m),H=I(We),N=x(We,"DIV",{class:!0});var Pe=b(N);G=x(Pe,"BUTTON",{title:!0,class:!0});var kt=b(G);te=x(kt,"SPAN",{class:!0,"data-svelte-h":!0}),ue(te)!=="svelte-qa8sbs"&&(te.textContent=Ee),fe=I(kt),z=Z(kt,"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 bn=b(z);X=Z(bn,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(X).forEach(m),R=Z(bn,"path",{d:!0}),b(R).forEach(m),bn.forEach(m),ne=I(kt),Ae=x(kt,"SPAN",{class:!0}),b(Ae).forEach(m),kt.forEach(m),Ke=I(Pe),le=x(Pe,"BUTTON",{title:!0,class:!0});var _t=b(le);ze=x(_t,"SPAN",{class:!0,"data-svelte-h":!0}),ue(ze)!=="svelte-qa8sbs"&&(ze.textContent=pe),$e=I(_t),Y=Z(_t,"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 vn=b(Y);me=Z(vn,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(me).forEach(m),je=Z(vn,"path",{d:!0}),b(je).forEach(m),vn.forEach(m),E=I(_t),ce=x(_t,"SPAN",{class:!0}),b(ce).forEach(m),_t.forEach(m),ct=I(Pe),ae=x(Pe,"BUTTON",{title:!0,class:!0});var bt=b(ae);de=x(bt,"SPAN",{class:!0,"data-svelte-h":!0}),ue(de)!=="svelte-18aq1wa"&&(de.textContent=he),O=I(bt),W=Z(bt,"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 wn=b(W);ge=Z(wn,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(ge).forEach(m),et=Z(wn,"path",{d:!0}),b(et).forEach(m),wn.forEach(m),ht=I(bt),Ie=x(bt,"SPAN",{class:!0}),b(Ie).forEach(m),bt.forEach(m),ft=I(Pe),ke=x(Pe,"BUTTON",{title:!0,class:!0,"data-svelte-h":!0}),ue(ke)!=="svelte-yrkfcs"&&(ke.innerHTML=dt),gt=I(Pe),_e=x(Pe,"BUTTON",{title:!0,class:!0});var Gt=b(_e);De=x(Gt,"SPAN",{class:!0});var xn=b(De);dn=re(xn,"Reverse the aspect ratio to "),Dt=re(xn,Tt),xn.forEach(m),gn=I(Gt),be=Z(Gt,"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 En=b(be);Fe=Z(En,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0}),b(Fe).forEach(m),Qe=Z(En,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0}),b(Qe).forEach(m),En.forEach(m),Gt.forEach(m),Pe.forEach(m),pn=I(We),Ge=x(We,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),ue(Ge)!=="svelte-rkc3f2"&&(Ge.innerHTML=qn),mn=I(We),we&&we.l(We),Pt=I(We),Re=x(We,"BUTTON",{class:!0,title:!0});var Xt=b(Re);pt=x(Xt,"SPAN",{class:!0});var Qn=b(pt);Ot=re(Qn,St),Qn.forEach(m),kn=I(Xt),Ye.l(Xt),Xt.forEach(m),We.forEach(m),Zt.forEach(m),J.forEach(m),this.h()},h(){o(i,"class","is-hidden svelte-1drdwh6"),o(s,"class","topbar_btn is-first-btn svelte-1drdwh6"),o(s,"title",c=l[0]?"Collapse sidebar":"Expand sidebar"),o(n,"class","topbar_nav svelte-1drdwh6"),o(k,"class","stagesize-input svelte-1drdwh6"),o(k,"type","number"),k.disabled=y=l[2]!=="full",k.value=l[8],o(k,"min","50"),o(k,"max",l[5]),o(v,"class","stagesize-value-multi_sign svelte-1drdwh6"),o(_,"class","stagesize-input svelte-1drdwh6"),o(_,"type","number"),_.disabled=j=l[2]!=="full",_.value=l[9],o(_,"min","50"),o(_,"max",l[4]),o(g,"class","stagesize-value svelte-1drdwh6"),o(te,"class","is-hidden svelte-1drdwh6"),o(X,"x","5"),o(X,"y","2"),o(X,"width","14"),o(X,"height","20"),o(X,"rx","2"),o(X,"ry","2"),o(R,"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-1drdwh6"),q(z,"landscape",l[1]),o(Ae,"class","dot svelte-1drdwh6"),o(G,"title","Small"),o(G,"class","svelte-1drdwh6"),q(G,"active",l[2]==="small"),o(ze,"class","is-hidden svelte-1drdwh6"),o(me,"x","4"),o(me,"y","2"),o(me,"width","16"),o(me,"height","20"),o(me,"rx","2"),o(me,"ry","2"),o(je,"d","M12 18h.01"),o(Y,"xmlns","http://www.w3.org/2000/svg"),o(Y,"height","24"),o(Y,"viewBox","0 0 24 24"),o(Y,"width","24"),o(Y,"fill","none"),o(Y,"stroke","currentColor"),o(Y,"stroke-width","1.5"),o(Y,"stroke-linecap","round"),o(Y,"stroke-linejoin","round"),o(Y,"class","svelte-1drdwh6"),q(Y,"landscape",l[1]),o(ce,"class","dot svelte-1drdwh6"),o(le,"title","Medium"),o(le,"class","svelte-1drdwh6"),q(le,"active",l[2]==="medium"),o(de,"class","is-hidden svelte-1drdwh6"),o(ge,"x","3"),o(ge,"y","4"),o(ge,"width","18"),o(ge,"height","12"),o(ge,"rx","2"),o(ge,"ry","2"),o(et,"d","M2 20h20"),o(W,"xmlns","http://www.w3.org/2000/svg"),o(W,"height","24"),o(W,"viewBox","0 0 24 24"),o(W,"width","24"),o(W,"fill","none"),o(W,"stroke","currentColor"),o(W,"stroke-width","1.5"),o(W,"stroke-linecap","round"),o(W,"stroke-linejoin","round"),o(W,"class","svelte-1drdwh6"),q(W,"landscape",l[1]),o(Ie,"class","dot svelte-1drdwh6"),o(ae,"title","Large"),o(ae,"class","svelte-1drdwh6"),q(ae,"active",l[2]==="large"),o(ke,"title","Full"),o(ke,"class","svelte-1drdwh6"),q(ke,"active",l[2]==="full"),o(De,"class","is-hidden svelte-1drdwh6"),o(Fe,"width","12"),o(Fe,"height","20"),o(Fe,"x","6"),o(Fe,"y","2"),o(Fe,"rx","2"),o(Qe,"width","20"),o(Qe,"height","12"),o(Qe,"x","2"),o(Qe,"y","6"),o(Qe,"rx","2"),o(be,"xmlns","http://www.w3.org/2000/svg"),o(be,"width","24"),o(be,"viewBox","0 0 24 24"),o(be,"height","24"),o(be,"fill","none"),o(be,"stroke","currentColor"),o(be,"stroke-width","1.5"),o(be,"stroke-linecap","round"),o(be,"stroke-linejoin","round"),o(be,"class","svelte-1drdwh6"),o(_e,"title",Wt=l[1]?"Portrait mode":"Landscape mode"),o(_e,"class","svelte-1drdwh6"),o(N,"class","stagesize-nav svelte-1drdwh6"),o(Ge,"class","topbar_btn openexternal_btn svelte-1drdwh6"),o(Ge,"title","Open component in new tab"),o(pt,"class","is-hidden svelte-1drdwh6"),o(Re,"class","topbar_btn is-last-btn svelte-1drdwh6"),o(Re,"title",qt=l[7]?"Light mode":"Dark mode"),o(d,"class","topbar_nav svelte-1drdwh6"),o(t,"class","topbar_container svelte-1drdwh6"),o(e,"class","topbar svelte-1drdwh6")},m(U,J){D(U,e,J),p(e,t),p(t,n),p(n,s),p(s,i),p(i,a),p(s,u),Xe.m(s,null),p(n,f),ve&&ve.m(n,null),p(t,h),p(t,d),p(d,g),p(g,k),p(g,S),p(g,v),p(g,T),p(g,_),p(d,H),p(d,N),p(N,G),p(G,te),p(G,fe),p(G,z),p(z,X),p(z,R),p(G,ne),p(G,Ae),p(N,Ke),p(N,le),p(le,ze),p(le,$e),p(le,Y),p(Y,me),p(Y,je),p(le,E),p(le,ce),p(N,ct),p(N,ae),p(ae,de),p(ae,O),p(ae,W),p(W,ge),p(W,et),p(ae,ht),p(ae,Ie),p(N,ft),p(N,ke),p(N,gt),p(N,_e),p(_e,De),p(De,dn),p(De,Dt),p(_e,gn),p(_e,be),p(be,Fe),p(be,Qe),p(d,pn),p(d,Ge),p(d,mn),we&&we.m(d,null),p(d,Pt),p(d,Re),p(Re,pt),p(pt,Ot),p(Re,kn),Ye.m(Re,null),_n||(Un=[$(s,"click",l[10]),$(k,"change",l[17]),$(_,"change",l[18]),$(G,"click",l[21]),$(le,"click",l[22]),$(ae,"click",l[23]),$(ke,"click",l[24]),$(_e,"click",l[14]),$(Ge,"click",l[15]),$(Re,"click",l[12])],_n=!0)},p(U,[J]){J&1&&r!==(r=U[0]?"Collapse sidebar":"Expand sidebar")&&Be(a,r),Ut!==(Ut=Vn(U))&&(Xe.d(1),Xe=Ut(U),Xe&&(Xe.c(),Xe.m(s,null))),J&1&&c!==(c=U[0]?"Collapse sidebar":"Expand sidebar")&&o(s,"title",c),U[6]?ve?ve.p(U,J):(ve=ys(U),ve.c(),ve.m(n,null)):ve&&(ve.d(1),ve=null),J&4&&y!==(y=U[2]!=="full")&&(k.disabled=y),J&256&&k.value!==U[8]&&(k.value=U[8]),J&32&&o(k,"max",U[5]),J&4&&j!==(j=U[2]!=="full")&&(_.disabled=j),J&512&&_.value!==U[9]&&(_.value=U[9]),J&16&&o(_,"max",U[4]),J&2&&q(z,"landscape",U[1]),J&4&&q(G,"active",U[2]==="small"),J&2&&q(Y,"landscape",U[1]),J&4&&q(le,"active",U[2]==="medium"),J&2&&q(W,"landscape",U[1]),J&4&&q(ae,"active",U[2]==="large"),J&4&&q(ke,"active",U[2]==="full"),J&2&&Tt!==(Tt=U[1]?"portrait mode":"landscape mode")&&Be(Dt,Tt),J&2&&Wt!==(Wt=U[1]?"Portrait mode":"Landscape mode")&&o(_e,"title",Wt),U[3].length>1?we?we.p(U,J):(we=zs(U),we.c(),we.m(d,Pt)):we&&(we.d(1),we=null),J&128&&St!==(St=U[7]?"Light mode":"Dark mode")&&Be(Ot,St),Vt!==(Vt=Zn(U))&&(Ye.d(1),Ye=Vt(U),Ye&&(Ye.c(),Ye.m(Re,null))),J&128&&qt!==(qt=U[7]?"Light mode":"Dark mode")&&o(Re,"title",qt)},i:oe,o:oe,d(U){U&&m(e),Xe.d(),ve&&ve.d(),we&&we.d(),Ye.d(),_n=!1,un(Un)}}}function Ni(l,e,t){const n=Je();let{sidebarExpanded:s=!0}=e,{appTheme:i="default"}=e,{landscape:r=!1}=e,{stageSize:a="full"}=e,{themes:u=[]}=e,{stageRect:c}=e,{stageMaxHeight:f}=e,{stageMaxWidth:h}=e,{node:d}=e,g=!1,k,y;function S(){n("out",{toggleExpandSidebar:!0})}function v(){n("out",{toggleBookmark:d})}function C(){n("out",{updateAppTheme:i==="dark"?"default":"dark"})}function T(R){n("out",{stageSize:R})}function _(){n("out",{landscape:!r})}function j(){n("out",{openInTab:!0})}function H(R){n("out",{selectTheme:R})}function N(R){n("out",{stageWidth:Number.parseInt(R.target.value)})}function G(R){n("out",{stageHeight:Number.parseInt(R.target.value)})}const te=()=>T("small"),Ee=()=>T("medium"),fe=()=>T("large"),z=()=>T("full"),X=R=>H(R.name);return l.$$set=R=>{"sidebarExpanded"in R&&t(0,s=R.sidebarExpanded),"appTheme"in R&&t(19,i=R.appTheme),"landscape"in R&&t(1,r=R.landscape),"stageSize"in R&&t(2,a=R.stageSize),"themes"in R&&t(3,u=R.themes),"stageRect"in R&&t(20,c=R.stageRect),"stageMaxHeight"in R&&t(4,f=R.stageMaxHeight),"stageMaxWidth"in R&&t(5,h=R.stageMaxWidth),"node"in R&&t(6,d=R.node)},l.$$.update=()=>{if(l.$$.dirty&1048576){let{width:R,height:ne}=c;t(8,k=Math.round(R)),t(9,y=Math.round(ne))}l.$$.dirty&524288&&(t(7,g=i==="dark"),i==="dark"?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.setAttribute("data-theme","light"))},[s,r,a,u,f,h,d,g,k,y,S,v,C,T,_,j,H,N,G,i,c,te,Ee,fe,z,X]}class Bi extends Me{constructor(e){super(),He(this,e,Ni,Ri,ye,{sidebarExpanded:0,appTheme:19,landscape:1,stageSize:2,themes:3,stageRect:20,stageMaxHeight:4,stageMaxWidth:5,node:6})}}const vt=[];function Zs(l,e){return{subscribe:se(l,e).subscribe}}function se(l,e=oe){let t;const n=new Set;function s(a){if(ye(l,a)&&(l=a,t)){const u=!vt.length;for(const c of n)c[1](),vt.push(c,l);if(u){for(let c=0;c<vt.length;c+=2)vt[c][0](vt[c+1]);vt.length=0}}}function i(a){s(a(l))}function r(a,u=oe){const c=[a,u];return n.add(c),n.size===1&&(t=e(s,i)||oe),a(l),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:s,update:i,subscribe:r}}function An(l,e,t){const n=!Array.isArray(l),s=n?[l]:l;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return Zs(t,(r,a)=>{let u=!1;const c=[];let f=0,h=oe;const d=()=>{if(f)return;h();const k=e(n?c[0]:c,r,a);i?r(k):h=Ln(k)?k:oe},g=s.map((k,y)=>sl(k,S=>{c[y]=S,f&=~(1<<y),u&&d()},()=>{f|=1<<y}));return u=!0,d(),function(){un(g),h(),u=!1}})}function cn(l,e,t=s=>s,n=s=>s){const s=se(t(localStorage.getItem(l))??e);return s.subscribe(i=>{localStorage.setItem(l,n(i))}),s}const tt=se([]),Fs=se(""),jn=cn("stageSize","full"),Dn=cn("landscape",!1,l=>l==="true"),nt=se(""),Qs=se(""),st=se(""),yn=se("full"),zn=se("full"),Ai=An([nt,st],([l,e])=>Math.min(l,e)-20),ji=An(Qs,l=>l-20),Mt=se(!0),Gs=cn("appTheme","default"),Et=cn("frameTheme"),Tn=se(!0),Rt=se(!1);let wt="";const Di={small:{frameheight:"1170px",framewidth:"550px"},medium:{frameheight:"1080px",framewidth:"810px"},large:{frameheight:"960px",framewidth:"1536px"},full:{frameheight:"100%",framewidth:"100%"}};function Wi(l){var e;F(Et)||Et.set(((e=l==null?void 0:l.find(t=>t.active))==null?void 0:e.name)??l[0].name),tt.set(l==null?void 0:l.map(t=>({...t,active:t.name===F(Et)}))),At()}function Pi(l){tt.set(F(tt).map(e=>({...e,active:e.name===l}))),Et.set(l),At()}function Oi(l){Gs.set(l)}function qi(){return F(tt)&&F(tt).length>0?F(tt).find(l=>l.name===F(Et))??F(tt)[0]:{stageBg:"white"}}function At(){const l=qi().stageBg,{frameheight:e,framewidth:t}=Di[F(jn)],n=F(Dn)?`width: ${e}; height: ${t}`:`width: ${t}; height: ${e}`,s=`background-color: ${l}`;Fs.set(`${n}; ${s}; transition: 0s;`)}function Ui(l){nt.set(l),Xs()}function Vi(l){const e=l-9;st.set(e),Xs()}function Zi(l){Qs.set(l)}function Ss(l){Number.isInteger(l)?yn.set(Math.max(50,l)):yn.set(l)}function Cs(l){Number.isInteger(l)?zn.set(Math.max(50,l)):zn.set(l)}function Xs(){Number.isInteger(F(nt))&&Number.isInteger(F(st))&&Mt.set(F(nt)<F(st))}function Ms(){F(Mt)?(wt=F(nt),nt.set(F(st))):((!Number.isInteger(wt)||Number.isInteger(wt)&&F(st)-wt<50)&&(wt=Math.round(F(st)*.7)),nt.set(wt)),Mt.set(!F(Mt))}At();function Fi(){F(Wn)?Rt.set(!F(Rt)):Tn.set(!F(Tn))}const Wn=Zs(window.innerWidth<840,l=>{const e=()=>{l(window.innerWidth<840),Rt.set(!1)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),Qi=An([Tn,Rt,Wn],([l,e,t])=>t?e:l);function Gi(){F(Wn)&&Rt.set(!1)}function Xi(l){jn.set(l),At()}function Yi(l){Dn.set(l),At()}function Ji(l,e,t=s=>s,n=s=>s){const s=se(t(localStorage.getItem(l))??e);return s.subscribe(i=>{localStorage.setItem(l,n(i))}),s}const ot=se([]),yt=se(!0),hn=se(),Ys=se(),Ue=Ji("bookmarks",[],JSON.parse,JSON.stringify);let Hs=!1,fn="",Ht=[],Oe=[],jt;function Ki(l){Oe=l.flatMap(Pn).reduce((t,n)=>(t[n.key]=!0,t),{})}function Pn(l){return[l,...$i(l)]}function $i(l){return l.children?l.children.flatMap(Pn):[]}function er(l,e){fn=l,jt=e,ut(),cr()}function tr(l){hn.set(l),ut()}function nr(l){Ht=l,Hs||(Ki(Ht),hr(),Hs=!0),ot.set(On(Ht))}function ut(){ot.set(On(Ht))}function On(l,e){var n;const t=(n=F(hn))==null?void 0:n.toLowerCase();return l.map(s=>{var a;const i=t?(a=s.name)==null?void 0:a.toLowerCase().includes(t):!0,r=t&&i?sr(s.name):s.name;if(s.isLeaf){const c=e||i?{...s,name:r,selected:jt===s.key,isLeaf:!0,bookmark:F(Ue).find(f=>f.key===s.key)!==void 0}:void 0;return c!=null&&c.selected&&Ys.set(c),c}else{const u=On(s.children,e||i).filter(f=>f),c=i||u.length>0;return c?{...s,name:r,children:u,unfolded:lr(s,fn,t,c),filterMatches:i}:void 0}}).filter(s=>s)}function sr(l){const e=F(hn).toLowerCase(),t=l.toLowerCase().indexOf(e),n=t+e.length,s=l.substring(0,t),i=l.substring(t,n),r=l.substring(n);return`${s}<span class="highlight">${i}</span>${r}`}function lr(l,e,t,n){return t&&n||Oe[l.key]||(e==null?void 0:e.indexOf(l.key))===0}function ir(){yt.set(!F(yt));const l=F(ot).map(e=>({...e,unfolded:F(yt)&&Oe[e.key]}));ot.set(l)}function rr(l){if(!F(yt)){or(l);return}Oe[l.key]&&fn.indexOf(l.key)!==0?Oe[l.key]=!1:Oe[l.key]=!0,ut()}function or(l){yt.set(!0),Object.keys(Oe).forEach(t=>Oe[t]=!1);const e=F(ot).map(t=>t.key===l.key||fn.indexOf(t.key)===0?(Oe[t.key]=!0,{...t,unfolded:!0}):(Oe[t.key]=!1,{...t,unfolded:!1}));ot.set(e),ut()}function Ls(l){l.bookmark?ar({...l,bookmark:!1}):ur({...l,bookmark:!0}),ut()}function ar(l){Ue.set(F(Ue).filter(e=>l.key!==e.key).map(e=>({...e,selected:e.key===jt}))),ut()}function ur(l){Ue.set([...F(Ue),l].map(e=>({...e,selected:e.key===jt})).sort((e,t)=>e.name.localeCompare(t.name))),ut()}function cr(){Ue.set([...F(Ue)].map(l=>({...l,selected:l.key===jt})).sort((l,e)=>l.name.localeCompare(e.name)))}function hr(){const l=Ht.flatMap(Pn),e=F(Ue).filter(t=>l.some(n=>n.key===t.key));Ue.set(e)}const Js=[],fr=globalThis.location?globalThis.location.pathname+globalThis.location.search:"";let Ne=fr,rt="",Sn,Cn={url:Ne};(function(){globalThis.history&&(globalThis.history.state&&globalThis.history.state.url==Ne&&(Cn=globalThis.history.state),globalThis.history.replaceState(Cn,null,Ne))})();function dr(l,e,t){Sn=l,rt=e,t&&gr(t),ln(Cn,Ne)}function gr(l){Js.push(l)}function ln(l,e){Js.forEach(t=>{t(pr(e),l)})}function pr(l){const e=l.substring(rt.length),t=Object.keys(Sn).find(n=>e.match(new RegExp("^"+n+"$","i")));return t?Sn[t]:null}(function(l){if(l){var e=l.pushState;l.pushState=function(t,n,s){if(!(s.startsWith(rt)&&rt.length>0)){if(Ne=rt+s,t.url=Ne,t.url!==l.state.url||t.selectedExample!==l.state.selectedExample)return ln(t,Ne),e.apply(l,[t,"",Ne]);ln(t,Ne),window.location.reload()}}}})(globalThis.history);globalThis.onpopstate=function(l){l.state?Ne=l.state.url:Ne=rt.length>0?rt:"/",ln(l.state,Ne)};const Mn=se(""),rn=se(),on=se({}),Ks=se("");let an,Ct,Hn;function mr(l){an=l,Hn&&$s()}function kr(l,e,t){an=l,Hn||(Hn=!0,dr(e,t,_r))}function _r(l,e){if(rn.set({}),Mn.set(""),on.set({}),l&&an){Mn.set(l.fullname),Ks.set(l.route);const t=an[l.fullname];t.componentfile=l.file,rn.set(t),Ct=e,$s()}}function $s(){var e,t;const l=F(rn).examples||[];Ct!=null&&Ct.selectedExample?on.set((e=l.find(n=>n.title==Ct.selectedExample))==null?void 0:e.title):on.set((t=l[0])==null?void 0:t.title)}function br(l){let e,t,n,s,i,r,a,u,c;return n=new Ti({props:{projectTitle:l[25],projectLogo:l[26],projectLogoDarkmode:l[27],appTheme:l[6],sidebarExpanded:l[7],rootNodesExpanded:l[8],nodes:l[9],filter:l[10],panelExpanded:l[11],bookmarks:l[12],docsLink:l[3]}}),n.$on("out",l[30]),r=new Bi({props:{sidebarExpanded:l[7],node:l[13],themes:l[14],appTheme:l[6],stageRect:l[2],stageSize:l[15],landscape:l[16],stageWidth:l[17],stageHeight:l[18],stageMaxHeight:l[19],stageMaxWidth:l[20]}}),r.$on("out",l[28]),u=new ii({props:{componentName:l[1],das:l[21],selectedExample:l[5],stageStyle:l[22],stageSize:l[15],stageContainerHeight:l[23],stageContainerMaxHeight:l[24],stageHeight:l[18],stageWidth:l[17],stageMaxHeight:l[19],stageMaxWidth:l[20],theme:l[4],panelExpanded:l[11],devmodus:l[0].devmodus}}),u.$on("out",l[29]),{c(){e=w("div"),t=w("div"),Te(n.$$.fragment),s=L(),i=w("div"),Te(r.$$.fragment),a=L(),Te(u.$$.fragment),this.h()},l(f){e=x(f,"DIV",{class:!0});var h=b(e);t=x(h,"DIV",{class:!0});var d=b(t);Le(n.$$.fragment,d),d.forEach(m),s=I(h),i=x(h,"DIV",{class:!0});var g=b(i);Le(r.$$.fragment,g),a=I(g),Le(u.$$.fragment,g),g.forEach(m),h.forEach(m),this.h()},h(){o(t,"class","sidebar svelte-yh1ir7"),o(i,"class","main svelte-yh1ir7"),o(e,"class","garden svelte-yh1ir7")},m(f,h){D(f,e,h),p(e,t),Se(n,t,null),p(e,s),p(e,i),Se(r,i,null),p(i,a),Se(u,i,null),c=!0},p(f,h){const d={};h[0]&64&&(d.appTheme=f[6]),h[0]&128&&(d.sidebarExpanded=f[7]),h[0]&256&&(d.rootNodesExpanded=f[8]),h[0]&512&&(d.nodes=f[9]),h[0]&1024&&(d.filter=f[10]),h[0]&2048&&(d.panelExpanded=f[11]),h[0]&4096&&(d.bookmarks=f[12]),h[0]&8&&(d.docsLink=f[3]),n.$set(d);const g={};h[0]&128&&(g.sidebarExpanded=f[7]),h[0]&8192&&(g.node=f[13]),h[0]&16384&&(g.themes=f[14]),h[0]&64&&(g.appTheme=f[6]),h[0]&4&&(g.stageRect=f[2]),h[0]&32768&&(g.stageSize=f[15]),h[0]&65536&&(g.landscape=f[16]),h[0]&131072&&(g.stageWidth=f[17]),h[0]&262144&&(g.stageHeight=f[18]),h[0]&524288&&(g.stageMaxHeight=f[19]),h[0]&1048576&&(g.stageMaxWidth=f[20]),r.$set(g);const k={};h[0]&2&&(k.componentName=f[1]),h[0]&2097152&&(k.das=f[21]),h[0]&32&&(k.selectedExample=f[5]),h[0]&4194304&&(k.stageStyle=f[22]),h[0]&32768&&(k.stageSize=f[15]),h[0]&8388608&&(k.stageContainerHeight=f[23]),h[0]&16777216&&(k.stageContainerMaxHeight=f[24]),h[0]&262144&&(k.stageHeight=f[18]),h[0]&131072&&(k.stageWidth=f[17]),h[0]&524288&&(k.stageMaxHeight=f[19]),h[0]&1048576&&(k.stageMaxWidth=f[20]),h[0]&16&&(k.theme=f[4]),h[0]&2048&&(k.panelExpanded=f[11]),h[0]&1&&(k.devmodus=f[0].devmodus),u.$set(k)},i(f){c||(P(n.$$.fragment,f),P(r.$$.fragment,f),P(u.$$.fragment,f),c=!0)},o(f){Q(n.$$.fragment,f),Q(r.$$.fragment,f),Q(u.$$.fragment,f),c=!1},d(f){f&&m(e),Ce(n),Ce(r),Ce(u)}}}function vr(l){let e,t,n="Relative link was clicked!",s,i,r,a,u="back",c,f;return{c(){e=w("div"),t=w("div"),t.textContent=n,s=L(),i=w("div"),r=ie(`Click the button to return:
47
+ `),a=w("button"),a.textContent=u,this.h()},l(h){e=x(h,"DIV",{class:!0});var d=b(e);t=x(d,"DIV",{class:!0,"data-svelte-h":!0}),ue(t)!=="svelte-jskzqc"&&(t.textContent=n),s=I(d),i=x(d,"DIV",{class:!0});var g=b(i);r=re(g,`Click the button to return:
48
+ `),a=x(g,"BUTTON",{class:!0,"data-svelte-h":!0}),ue(a)!=="svelte-u4jm95"&&(a.textContent=u),g.forEach(m),d.forEach(m),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(h,d){D(h,e,d),p(e,t),p(e,s),p(e,i),p(i,r),p(i,a),c||(f=$(a,"click",l[35]),c=!0)},p:oe,i:oe,o:oe,d(h){h&&m(e),c=!1,f()}}}function wr(l){let e,t,n,s;const i=[vr,br],r=[];function a(u,c){return window.top!==window.self?0:1}return e=a(),t=r[e]=i[e](l),{c(){t.c(),n=zt()},l(u){t.l(u),n=zt()},m(u,c){r[e].m(u,c),D(u,n,c),s=!0},p(u,c){t.p(u,c)},i(u){s||(P(t),s=!0)},o(u){Q(t),s=!1},d(u){u&&m(n),r[e].d(u)}}}let xr="/garden";function Er(l,e,t){var me,je;let n,s,i,r,a,u,c,f,h,d,g,k,y,S,v,C,T,_,j,H,N,G,te,Ee;ee(l,Et,E=>t(4,s=E)),ee(l,Mn,E=>t(1,i=E)),ee(l,on,E=>t(5,r=E)),ee(l,Ks,E=>t(34,a=E)),ee(l,Gs,E=>t(6,u=E)),ee(l,Qi,E=>t(7,c=E)),ee(l,yt,E=>t(8,f=E)),ee(l,ot,E=>t(9,h=E)),ee(l,hn,E=>t(10,d=E)),ee(l,Mt,E=>t(11,g=E)),ee(l,Ue,E=>t(12,k=E)),ee(l,Ys,E=>t(13,y=E)),ee(l,tt,E=>t(14,S=E)),ee(l,jn,E=>t(15,v=E)),ee(l,Dn,E=>t(16,C=E)),ee(l,zn,E=>t(17,T=E)),ee(l,yn,E=>t(18,_=E)),ee(l,Ai,E=>t(19,j=E)),ee(l,ji,E=>t(20,H=E)),ee(l,rn,E=>t(21,N=E)),ee(l,Fs,E=>t(22,G=E)),ee(l,nt,E=>t(23,te=E)),ee(l,st,E=>t(24,Ee=E));let{routes:fe}=e,{navTree:z}=e,{dasMap:X}=e,{config:R}=e,ne=R.project_title||"",Ae=((me=R.project_logo)==null?void 0:me.split("/").pop())||null,Ke=((je=R.project_logo_darkmode)==null?void 0:je.split("/").pop())||null,le={};function ze(E){if(E.detail.openInTab){const ce=window.open("/frame.html","_blank");ce.onload=()=>{ce.postMessage({selectedExample:r,componentName:i,theme:s},window.location.origin)}}E.detail.selectTheme&&Pi(E.detail.selectTheme),E.detail.updateAppTheme&&Oi(E.detail.updateAppTheme),E.detail.toggleExpandSidebar&&Fi(),E.detail.stageWidth&&Cs(E.detail.stageWidth),E.detail.stageHeight&&Ss(E.detail.stageHeight),E.detail.toggleBookmark&&Ls(E.detail.toggleBookmark),E.detail.stageSize&&Xi(E.detail.stageSize),E.detail.landscape!==void 0&&Yi(E.detail.landscape)}function pe(E){E.detail.stageRect&&t(2,le=E.detail.stageRect),E.detail.stageContainerHeight&&Ui(E.detail.stageContainerHeight),E.detail.toggleExpandPanel&&Ms(),E.detail.stageContainerWidth&&Zi(E.detail.stageContainerWidth),E.detail.stageContainerMaxHeight&&Vi(E.detail.stageContainerMaxHeight),E.detail.stageWidth&&Cs(E.detail.stageWidth),E.detail.stageHeight&&Ss(E.detail.stageHeight)}function $e(E){E.detail.toggleFoldStatusOfNode&&rr(E.detail.toggleFoldStatusOfNode),E.detail.toggleRootFolders&&ir(),E.detail.filter&&tr(E.detail.filter.value),E.detail.toggleExpandPanel&&Ms(),E.detail.toggleBookmark&&Ls(E.detail.toggleBookmark)}const Y=()=>{window.top.location.reload()};return l.$$set=E=>{"routes"in E&&t(31,fe=E.routes),"navTree"in E&&t(32,z=E.navTree),"dasMap"in E&&t(33,X=E.dasMap),"config"in E&&t(0,R=E.config)},l.$$.update=()=>{l.$$.dirty[1]&2&&nr(z),l.$$.dirty[1]&5&&fe&&X&&kr(X,fe,xr),l.$$.dirty[1]&4&&mr(X),l.$$.dirty[0]&1&&Wi(R.themes),l.$$.dirty[0]&2|l.$$.dirty[1]&8&&(er(a,i),Gi()),l.$$.dirty[0]&1&&t(3,n=R.docs_link?1:0)},[R,i,le,n,s,r,u,c,f,h,d,g,k,y,S,v,C,T,_,j,H,N,G,te,Ee,ne,Ae,Ke,ze,pe,$e,fe,z,X,a,Y]}class yr extends Me{constructor(e){super(),He(this,e,Er,wr,ye,{routes:31,navTree:32,dasMap:33,config:0},null,[-1,-1])}}new yr({target:document.getElementById("app"),props:{navTree:ll,routes:il,dasMap:rl,config:ol}});
@@ -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-1opzoal.svelte-1opzoal{position:relative;overflow:hidden;flex:1;height:100%}.panel_nav.svelte-1opzoal.svelte-1opzoal{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;width:100%;height:var(--h-panelnav);background-color:var(--c-basic-75);border-bottom:1px solid var(--c-bg-body);overflow-x:auto}.panel_nav.svelte-1opzoal nav.svelte-1opzoal{margin:0 1.25rem 0 0}.panel_nav.svelte-1opzoal nav ul.svelte-1opzoal{display:flex;overflow-x:auto}.panel_nav.svelte-1opzoal nav li button.svelte-1opzoal{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;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-1opzoal nav li button .dot.svelte-1opzoal{display:block;width:.313rem;height:.313rem;background-color:transparent;border-radius:50%}.panel_nav.svelte-1opzoal nav li button.active .dot.svelte-1opzoal{background-color:var(--c-primary)}.panel_nav.svelte-1opzoal nav li button.svelte-1opzoal:hover,.panel_nav.svelte-1opzoal nav li button.svelte-1opzoal:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.panel_nav.svelte-1opzoal nav li button.svelte-1opzoal:focus-visible{background-color:var(--c-basic-150)}.panel_nav.svelte-1opzoal nav li button.active.svelte-1opzoal{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg)}.panel_toggle.svelte-1opzoal.svelte-1opzoal{padding:0 .75rem;height:100%;background:none}.is-hidden.svelte-1opzoal.svelte-1opzoal{position:absolute!important;overflow:hidden;width:1px;height:1px;padding:0;border:0;clip:rect(1px,1px,1px,1px)}.panel_toggle.svelte-1opzoal svg.svelte-1opzoal{margin-top:.188rem;height:1.375rem;color:var(--c-basic-700)}.panel_toggle.svelte-1opzoal:hover svg.svelte-1opzoal,.panel_toggle.svelte-1opzoal:focus-visible svg.svelte-1opzoal{color:var(--c-primary)}.panel_toggle.svelte-1opzoal.svelte-1opzoal:focus-visible{background-color:var(--c-basic-150)}.panel_pane.svelte-1opzoal.svelte-1opzoal{position:absolute;top:var(--h-panelnav);right:0;bottom:0;left:0;padding:1.25rem;width:100%;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
+ */[data-theme=dark] .hljs{color:#c9d1d9}[data-theme=dark] .hljs-doctag,[data-theme=dark] .hljs-keyword,[data-theme=dark] .hljs-meta .hljs-keyword,[data-theme=dark] .hljs-template-tag,[data-theme=dark] .hljs-template-variable,[data-theme=dark] .hljs-type,[data-theme=dark] .hljs-variable.language_{color:#ff7b72}[data-theme=dark] .hljs-title,[data-theme=dark] .hljs-title.class_,[data-theme=dark] .hljs-title.class_.inherited__,[data-theme=dark] .hljs-title.function_{color:#d2a8ff}[data-theme=dark] .hljs-attr,[data-theme=dark] .hljs-attribute,[data-theme=dark] .hljs-literal,[data-theme=dark] .hljs-meta,[data-theme=dark] .hljs-number,[data-theme=dark] .hljs-operator,[data-theme=dark] .hljs-variable,[data-theme=dark] .hljs-selector-attr,[data-theme=dark] .hljs-selector-class,[data-theme=dark] .hljs-selector-id{color:#79c0ff}[data-theme=dark] .hljs-regexp,[data-theme=dark] .hljs-string,[data-theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}[data-theme=dark] .hljs-built_in,[data-theme=dark] .hljs-symbol{color:#ffa657}[data-theme=dark] .hljs-comment,[data-theme=dark] .hljs-code,[data-theme=dark] .hljs-formula{color:#8b949e}[data-theme=dark] .hljs-name,[data-theme=dark] .hljs-quote,[data-theme=dark] .hljs-selector-tag,[data-theme=dark] .hljs-selector-pseudo{color:#7ee787}[data-theme=dark] .hljs-subst{color:#c9d1d9}[data-theme=dark] .hljs-section{color:#1f6feb;font-weight:700}[data-theme=dark] .hljs-bullet{color:#f2cc60}[data-theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}[data-theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}[data-theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}[data-theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.stage_iframe.svelte-17n05ij{display:block;align-self:center;margin:auto;height:100%;width:100%;background-color:var(--c-basic-0)}.panel.svelte-17n05ij{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-1cnyrt6.svelte-1cnyrt6{display:flex;margin:0;padding:.188rem 0;width:100%;height:1.375rem;text-transform:initial;font-size:.813rem;color:var(--c-basic-600);line-height:1.2;font-weight:400}.component_link.svelte-1cnyrt6.svelte-1cnyrt6:hover,.component_link.svelte-1cnyrt6.svelte-1cnyrt6:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.component_link-container.svelte-1cnyrt6.svelte-1cnyrt6{display:flex;align-items:center}.component_link.svelte-1cnyrt6 .component_dot.svelte-1cnyrt6{margin:0 .5rem 0 -.219rem;height:.375rem;width:.375rem!important;background-color:transparent;border-radius:50%}.component_link.selected.svelte-1cnyrt6 .component_dot.svelte-1cnyrt6{background-color:var(--c-primary)}.component_link.selected.svelte-1cnyrt6.svelte-1cnyrt6{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-1cnyrt6.svelte-1cnyrt6{display:flex;align-items:center;margin:0 .5rem 0 0;color:var(--c-basic-400)}.component_label.svelte-1cnyrt6.svelte-1cnyrt6{margin-right:.5rem;overflow:hidden;white-space:nowrap}.bookmarks.svelte-qxg2ml.svelte-qxg2ml{display:none}@media (min-height: 500px) and (min-width: 500px){.bookmarks.svelte-qxg2ml.svelte-qxg2ml{display:block}}.bookmarks_title.svelte-qxg2ml.svelte-qxg2ml{display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0;padding:.5rem .688rem .375rem}.bookmarks_title-icon.svelte-qxg2ml.svelte-qxg2ml{display:flex;align-items:center;margin-right:.375rem;color:var(--c-primary)}.bookmarks_title-label.svelte-qxg2ml.svelte-qxg2ml{display:flex;width:100%;font-size:.813rem;color:var(--c-basic-900);font-weight:600;text-transform:uppercase;overflow:hidden;white-space:nowrap}.border-btm.svelte-qxg2ml.svelte-qxg2ml{margin:1rem 0 .5rem;height:1px;border-bottom:1px solid var(--c-bg-body)}.components.svelte-qxg2ml.svelte-qxg2ml{margin-left:1.063rem;width:100%;border-left:1px solid var(--c-basic-250)}.component.svelte-qxg2ml.svelte-qxg2ml{display:flex;height:1.375rem;width:100%;z-index:1}.close.svelte-qxg2ml.svelte-qxg2ml{position:absolute;display:flex;justify-content:flex-end;align-items:center;right:0;width:1.75rem;height:1.375rem;z-index:9;background-color:var(--c-sidebar-bg)}.component:has(.component_link:hover) .close,.component:has(.component_link:focus-visible) .close{background-color:var(--c-basic-100)}.component:has(.close:hover) .component_link.selected,.component:has(.component_link.selected) .close{background-color:var(--c-primary-bg)!important}.component:has(.close:hover) .component_link,.close.svelte-qxg2ml.svelte-qxg2ml:hover{background-color:var(--c-basic-100)}.close-icon.svelte-qxg2ml.svelte-qxg2ml{display:block;color:var(--c-basic-600)}.close.svelte-qxg2ml:hover .close-icon.svelte-qxg2ml,.close.svelte-qxg2ml:focus-visible .close-icon.svelte-qxg2ml{color:var(--c-primary);stroke-width:4}.components.svelte-1nn9bvq.svelte-1nn9bvq{margin-left:1.063rem;border-left:1px solid var(--c-basic-250)}.component.svelte-1nn9bvq.svelte-1nn9bvq{height:1.375rem}.level-1.svelte-1nn9bvq.svelte-1nn9bvq{width:100%;margin:0;padding:0;border:none}.folder.svelte-1nn9bvq.svelte-1nn9bvq{display:block;margin:0}.folder_btn.svelte-1nn9bvq.svelte-1nn9bvq{display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0;padding:.5rem .688rem .375rem}.folder_label.svelte-1nn9bvq.svelte-1nn9bvq{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-1nn9bvq.svelte-1nn9bvq:hover{background-color:var(--c-basic-100)}.folder_btn.svelte-1nn9bvq:hover .folder_label.svelte-1nn9bvq{color:var(--c-primary)}.folder_btn.svelte-1nn9bvq.svelte-1nn9bvq:focus-visible{color:var(--c-primary);outline:none;background-color:var(--c-basic-100)}.folder_arrow.svelte-1nn9bvq.svelte-1nn9bvq{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-1nn9bvq.svelte-1nn9bvq{transform:rotate(180deg);transition:.2s}.folder_icon.svelte-1nn9bvq.svelte-1nn9bvq{display:flex;align-items:center;margin-right:.375rem;color:var(--c-primary)}.btn_level-3.svelte-1nn9bvq .folder_label.svelte-1nn9bvq{font-size:.813rem}.filter_list.svelte-1nn9bvq .highlight{padding:0 .125rem;color:var(--c-primary);font-weight:700}.sidebar_container.svelte-1oee4bz.svelte-1oee4bz{--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-1oee4bz.svelte-1oee4bz{margin:.375rem .375rem .375rem 0;width:var(--w-sidebar);box-sizing:border-box}.project-identifier.svelte-1oee4bz.svelte-1oee4bz{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);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-1oee4bz.svelte-1oee4bz{height:auto}.project-identifier.svelte-1oee4bz.svelte-1oee4bz:focus-visible{color:var(--c-basic-500)}.project-identifier.svelte-1oee4bz span.svelte-1oee4bz{overflow:hidden}.filter.svelte-1oee4bz.svelte-1oee4bz{display:flex;flex-shrink:0;margin:0 0 .25rem;padding:.25rem .688rem;height:2.25rem}.filter_input.svelte-1oee4bz.svelte-1oee4bz{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-1oee4bz.svelte-1oee4bz{font-size:.813rem}input[type=search].svelte-1oee4bz.svelte-1oee4bz::-webkit-search-cancel-button{-webkit-appearance:none}.filter_input.svelte-1oee4bz.svelte-1oee4bz::placeholder{font-size:.813rem;color:var(--c-basic-500)}.filter_input.svelte-1oee4bz.svelte-1oee4bz:focus-visible{background-color:var(--c-primary-bg)}.filter_zero-results.svelte-1oee4bz.svelte-1oee4bz{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-nav.svelte-1oee4bz.svelte-1oee4bz{display:flex;flex-shrink:1;overflow:hidden;visibility:visible;width:var(--w-sidebar);overflow-y:auto;margin:0 0 1rem}.controls.svelte-1oee4bz.svelte-1oee4bz{display:none}@media (min-height: 35rem){.controls.svelte-1oee4bz.svelte-1oee4bz{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-1oee4bz.svelte-1oee4bz{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-1oee4bz.svelte-1oee4bz:hover,.controls_btn.svelte-1oee4bz.svelte-1oee4bz:focus-visible{background-color:var(--c-basic-100)}.controls_btn-icon.svelte-1oee4bz.svelte-1oee4bz{margin:0;color:var(--c-basic-700)}.controls_btn-label.svelte-1oee4bz.svelte-1oee4bz{position:relative;align-self:center;margin-left:.75rem;width:100%;color:var(--c-basic-900);font-size:.875rem;font-weight:400}.controls_btn.svelte-1oee4bz:hover .controls_btn-label.svelte-1oee4bz,.controls_btn.svelte-1oee4bz:focus-visible .controls_btn-label.svelte-1oee4bz,.controls_btn.svelte-1oee4bz:hover .controls_btn-icon.svelte-1oee4bz,.controls_btn.svelte-1oee4bz:focus-visible .controls_btn-icon.svelte-1oee4bz{color:var(--c-primary)}.topbar.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{--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-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:flex;justify-content:space-between;width:100%;height:100%;padding:0;z-index:999999}.topbar_nav.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:flex;align-items:center}.topbar_btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:flex;align-items:center;padding:0 .375rem;height:var(--h-topbar);background:none}.topbar_btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6:hover,.topbar_btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6:focus-visible{background-color:var(--c-basic-100)}.is-hidden.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{position:absolute!important;overflow:hidden;width:1px;height:1px;padding:0;border:0;clip:rect(1px,1px,1px,1px)}.topbar_btn.svelte-1drdwh6 svg.svelte-1drdwh6.svelte-1drdwh6{height:1.125rem;color:var(--c-basic-700)}.topbar_btn.svelte-1drdwh6:hover svg.svelte-1drdwh6.svelte-1drdwh6,.topbar_btn.svelte-1drdwh6:focus-visible svg.svelte-1drdwh6.svelte-1drdwh6{color:var(--c-primary)}.is-first-btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{border-radius:.5rem 0 0 .5rem}.is-last-btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{border-radius:0 .5rem .5rem 0}@media (max-height: 499px){.bookmark_btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:none}}@media (max-width: 499px){.bookmark_btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6,.openexternal_btn.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:none}}.stagesize-value.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:none}@media (min-width: 640px){.stagesize-value.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:inline-flex;align-items:center;padding:0 1rem;font-size:.75rem}.stagesize-input.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{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-input.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6:focus-visible{background-color:var(--c-primary-bg)}.stagesize-input.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6:disabled{border-color:transparent}.stagesize-value-multi_sign.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{margin:0 .25rem;color:var(--c-basic-700)}}.stagesize-nav.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{display:none}@media (min-width: 1280px){.stagesize-nav.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{position:relative;display:inline-flex;margin:0 .75rem;background-color:var(--c-basic-100)}.stagesize-nav.svelte-1drdwh6 button.svelte-1drdwh6.svelte-1drdwh6{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-1drdwh6 button.svelte-1drdwh6.svelte-1drdwh6:hover,.stagesize-nav.svelte-1drdwh6 button.svelte-1drdwh6.svelte-1drdwh6:focus-visible{background-color:var(--c-basic-150)}.stagesize-nav.svelte-1drdwh6 button.svelte-1drdwh6 svg.svelte-1drdwh6{height:1.125rem;color:var(--c-basic-700);transition:.2s}.stagesize-nav.svelte-1drdwh6 button.svelte-1drdwh6:hover svg.svelte-1drdwh6,.stagesize-nav.svelte-1drdwh6 button.svelte-1drdwh6:focus-visible svg.svelte-1drdwh6,.stagesize-nav.svelte-1drdwh6 button.active svg.svelte-1drdwh6.svelte-1drdwh6{color:var(--c-primary)}.stagesize-nav.svelte-1drdwh6 button svg.landscape.svelte-1drdwh6.svelte-1drdwh6{transform:rotate(90deg);transition:.2s}.stagesize-nav.svelte-1drdwh6 button .dot.svelte-1drdwh6.svelte-1drdwh6{display:block;position:absolute;left:50%;bottom:.125rem;transform:translate(-50%);height:.313rem;width:.313rem;background-color:transparent;border-radius:50%}.stagesize-nav.svelte-1drdwh6 button.active.svelte-1drdwh6.svelte-1drdwh6{background-color:var(--c-primary-bg)}.stagesize-nav.svelte-1drdwh6 button.active .dot.svelte-1drdwh6.svelte-1drdwh6{background-color:var(--c-primary)}}.dropdown.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{position:relative;display:inline-block;z-index:99}.dropdown_items.svelte-1drdwh6.svelte-1drdwh6.svelte-1drdwh6{visibility:hidden;position:absolute;right:0;padding:.375rem 0 0;z-index:9}.dropdown_items.svelte-1drdwh6 ul.svelte-1drdwh6.svelte-1drdwh6{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-1drdwh6 ul li.svelte-1drdwh6.svelte-1drdwh6{display:block;list-style:none;margin:0;padding:0}.dropdown_items.svelte-1drdwh6 ul li button.svelte-1drdwh6.svelte-1drdwh6{display:flex;align-items:center;justify-items:flex-start;width:100%;min-width:5rem;padding:.5rem;font-size:.75rem;color:var(--c-basic-900);text-transform:capitalize;white-space:nowrap}.dropdown_items.svelte-1drdwh6 ul li button .dropdown_item-dot.svelte-1drdwh6.svelte-1drdwh6{display:block;margin:0 .5rem 0 0;height:.313rem;width:.313rem;background-color:transparent;border-radius:50%}.dropdown_items.svelte-1drdwh6 ul li button.active .dropdown_item-dot.svelte-1drdwh6.svelte-1drdwh6,.dropdown_items.svelte-1drdwh6 ul li button.active:hover .dropdown_item-dot.svelte-1drdwh6.svelte-1drdwh6{background-color:var(--c-primary)}.dropdown_items.svelte-1drdwh6 ul li button.svelte-1drdwh6.svelte-1drdwh6:hover,.dropdown_items.svelte-1drdwh6 ul li button.svelte-1drdwh6.svelte-1drdwh6:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.dropdown_items.svelte-1drdwh6 ul li button.active.svelte-1drdwh6.svelte-1drdwh6{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg);border-color:var(--c-primary)}.dropdown.svelte-1drdwh6:hover>.dropdown_items.svelte-1drdwh6.svelte-1drdwh6,.dropdown.svelte-1drdwh6:focus-visible>.dropdown_items.svelte-1drdwh6.svelte-1drdwh6{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;background-color:var(--c-bg-body)}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;color:var(--c-basic-600);line-height:1.5}a,a:visited{font-size:.875rem;color:var(--c-primary);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}
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-CxH-bIBi.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-B_mZcP-T.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="/assets/index-OMTxPB5B.js">
10
- <link rel="stylesheet" crossorigin href="/assets/index-C9xFRvgZ.css">
10
+ <link rel="stylesheet" crossorigin href="/assets/index-CVxdTZs0.css">
11
11
  </head>
12
12
 
13
13
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gardenjs",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "description": "A component library explorer for UI development, testing and documentation.",
5
5
  "repository": "https://github.com/gardenjs/gardenjs",
6
6
  "homepage": "https://gardenjs.org/",
@@ -34,12 +34,14 @@ p {
34
34
 
35
35
  li {
36
36
  font-size: 0.875rem;
37
+ color: var(--c-basic-600);
37
38
  line-height: 1.5;
38
39
  }
39
40
 
40
41
  a,
41
42
  a:visited {
42
43
  font-size: 0.875rem;
44
+ color: var(--c-primary);
43
45
  line-height: 1.5;
44
46
  text-decoration: underline;
45
47
  text-decoration-skip-ink: auto;