@homebridge-plugins/homebridge-august 3.0.11 → 3.1.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.
- package/.github/workflows/release.yml +64 -27
- package/CHANGELOG.md +149 -868
- package/config.schema.json +8 -1
- package/dist/devices/device.js +1 -1
- package/dist/devices/device.js.map +1 -1
- package/dist/devices/device.test.js +1 -1
- package/dist/devices/device.test.js.map +1 -1
- package/dist/homebridge-ui/server.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.test.js +86 -3
- package/dist/index.test.js.map +1 -1
- package/dist/package.json +84 -0
- package/dist/platform.d.ts +1 -2
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +18 -11
- package/dist/platform.js.map +1 -1
- package/dist/platform.matter.d.ts +51 -0
- package/dist/platform.matter.d.ts.map +1 -0
- package/dist/platform.matter.js +276 -0
- package/dist/platform.matter.js.map +1 -0
- package/dist/platform.matter.test.d.ts +2 -0
- package/dist/platform.matter.test.d.ts.map +1 -0
- package/dist/platform.matter.test.js +385 -0
- package/dist/platform.matter.test.js.map +1 -0
- package/dist/platform.test.js +6 -8
- package/dist/platform.test.js.map +1 -1
- package/dist/settings.d.ts +1 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.test.js +11 -0
- package/dist/settings.test.js.map +1 -1
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +5 -5
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +248 -226
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +17 -13
- package/docs/modules.html +1 -2
- package/docs/variables/default.html +1 -0
- package/eslint.config.js +6 -9
- package/package.json +23 -30
- package/typedoc.json +0 -4
- package/vitest.config.ts +7 -0
- package/.github/scripts/npm-version-script-esm-auto.js +0 -207
- package/.github/workflows/beta-release.yml +0 -55
- package/docs/assets/dmt/dmt-component-data.js +0 -1
- package/docs/assets/dmt/dmt-components.css +0 -20
- package/docs/assets/dmt/dmt-components.js +0 -67
- package/docs/assets/dmt/dmt-search.cmp +0 -0
- package/docs/assets/dmt/dmt-theme.css +0 -1
- package/docs/functions/default.html +0 -2
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
label.svelte-1y7unmi{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;user-select:none;width:fit-content}input.svelte-1y7unmi{cursor:pointer;height:1.5em;opacity:0;position:absolute;width:1.5em}svg.svelte-1y7unmi{border-radius:.33em;cursor:pointer;height:1.5em;margin-right:.5em;opacity:.99;width:1.5em}
|
|
2
|
-
section.svelte-20evnz{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem}
|
|
3
|
-
details.svelte-1kxmj7q.svelte-1kxmj7q{margin-left:var(--tjs-folder-details-margin-left,-.4em);padding-left:var(--tjs-folder-details-padding-left,.4em)}summary.svelte-1kxmj7q.svelte-1kxmj7q{align-items:center;background:var(--tjs-folder-summary-background,none);background-blend-mode:var(--tjs-folder-summary-background-blend-mode,initial);border:var(--tjs-folder-summary-border,none);border-radius:var(--tjs-folder-summary-border-radius,0);border-width:var(--tjs-folder-summary-border-width,initial);cursor:var(--tjs-folder-summary-cursor,pointer);display:flex;font-family:var(--tjs-folder-summary-font-family,inherit);font-size:var(--tjs-folder-summary-font-size,inherit);font-weight:var(--tjs-folder-summary-font-weight,bold);gap:var(--tjs-folder-summary-gap,.125em);list-style:none;margin:var(--tjs-folder-summary-margin,0 0 0 -.4em);padding:var(--tjs-folder-summary-padding,.25em) 0;position:relative;transition:var(--tjs-folder-summary-transition,background .1s);-webkit-user-select:none;user-select:none;width:var(--tjs-folder-summary-width,fit-content)}summary.svelte-1kxmj7q.svelte-1kxmj7q::-webkit-details-marker{display:none}.default-cursor.svelte-1kxmj7q.svelte-1kxmj7q{cursor:default}summary.svelte-1kxmj7q svg.svelte-1kxmj7q{border-radius:var(--tjs-folder-summary-chevron-border-radius,0);color:var(--tjs-folder-summary-chevron-color,currentColor);cursor:var(--tjs-folder-summary-cursor,pointer);flex-shrink:0;height:var(--tjs-folder-summary-chevron-size,var(--tjs-folder-summary-font-size,1.25em));margin:var(--tjs-folder-summary-chevron-margin,0);opacity:var(--tjs-folder-summary-chevron-opacity,.2);transform:var(--tjs-folder-summary-chevron-rotate-closed,rotate(-90deg));transition:var(--tjs-folder-summary-chevron-transition,opacity .2s,transform .1s);width:var(--tjs-folder-summary-chevron-size,var(--tjs-folder-summary-font-size,1.25em))}summary.disabled.svelte-1kxmj7q.svelte-1kxmj7q{color:var(--tjs-folder-summary-disabled-color,inherit);cursor:var(--tjs-folder-summary-disabled-cursor,default)}summary.disabled.svelte-1kxmj7q svg.svelte-1kxmj7q{color:var(--tjs-folder-summary-disabled-color,currentColor);cursor:var(--tjs-folder-summary-disabled-cursor,default)}summary.svelte-1kxmj7q.svelte-1kxmj7q:focus-visible{box-shadow:var(--tjs-folder-summary-box-shadow-focus-visible,var(--tjs-default-box-shadow-focus-visible));outline:var(--tjs-folder-summary-outline-focus-visible,var(--tjs-default-outline-focus-visible,revert));transition:var(--tjs-folder-summary-transition-focus-visible,var(--tjs-default-transition-focus-visible))}summary.svelte-1kxmj7q:focus-visible .label.svelte-1kxmj7q{text-shadow:var(--tjs-folder-summary-label-text-shadow-focus-visible,var(--tjs-default-text-shadow-focus-hover,revert))}summary.svelte-1kxmj7q:focus-visible .tjs-folder-focus-indicator.svelte-1kxmj7q{background:var(--tjs-folder-summary-focus-indicator-background,var(--tjs-default-focus-indicator-background,#fff))}summary.svelte-1kxmj7q:focus-visible svg.svelte-1kxmj7q{opacity:var(--tjs-folder-summary-chevron-opacity-focus-visible,1)}summary.svelte-1kxmj7q:focus-visible svg.focus-chevron.svelte-1kxmj7q{outline:var(--tjs-folder-summary-outline-focus-visible,var(--tjs-default-outline-focus-visible,revert))}summary:focus-visible.remove-focus-visible.svelte-1kxmj7q.svelte-1kxmj7q{outline:none}summary.svelte-1kxmj7q:hover:not(.disabled) svg.svelte-1kxmj7q{opacity:var(--tjs-folder-summary-chevron-opacity-hover,1)}.tjs-folder-focus-indicator.svelte-1kxmj7q.svelte-1kxmj7q{align-self:var(--tjs-folder-summary-focus-indicator-align-self,var(--tjs-default-focus-indicator-align-self,stretch));border:var(--tjs-folder-summary-focus-indicator-border,var(--tjs-default-focus-indicator-border));border-radius:var(--tjs-folder-summary-focus-indicator-border-radius,var(--tjs-default-focus-indicator-border-radius,.1em));flex:0 0 var(--tjs-folder-summary-focus-indicator-width,var(--tjs-default-focus-indicator-width,0.25em));height:var(--tjs-folder-summary-focus-indicator-height,var(--tjs-default-focus-indicator-height));pointer-events:none;transition:var(--tjs-folder-summary-focus-indicator-transition,var(--tjs-default-focus-indicator-transition))}details[open].svelte-1kxmj7q>summary.svelte-1kxmj7q{background:var(--tjs-folder-summary-background-open,var(--tjs-folder-summary-background,inherit))}[open].svelte-1kxmj7q:not(details[data-closing=true])>summary svg.svelte-1kxmj7q{transform:rotate(var(--tjs-folder-summary-chevron-rotate-open,0))}.contents.svelte-1kxmj7q.svelte-1kxmj7q{background:var(--tjs-folder-contents-background,none);background-blend-mode:var(--tjs-folder-contents-background-blend-mode,initial);border:var(--tjs-folder-contents-border,none);border-left:var(--tjs-folder-contents-border-left,none);display:var(--tjs-folder-contents-display,flex);flex-direction:var(--tjs-folder-contents-flex-direction,column);gap:var(--tjs-folder-contents-gap);margin:var(--tjs-folder-contents-margin,0 0 0 -.4em);padding:var(--tjs-folder-contents-padding,0 0 0 calc(var(--tjs-folder-summary-font-size, 1em)*.8));position:relative}.contents.svelte-1kxmj7q.svelte-1kxmj7q:before{content:"";height:calc(100% + .65em);left:0;position:absolute;top:-.65em;width:0}.contents.hidden.svelte-1kxmj7q.svelte-1kxmj7q{display:none}.label.svelte-1kxmj7q.svelte-1kxmj7q{overflow:var(--tjs-folder-summary-label-overflow,hidden);text-overflow:var(--tjs-folder-summary-label-text-overflow,ellipsis);white-space:var(--tjs-folder-summary-label-white-space,nowrap);width:var(--tjs-folder-summary-label-width,fit-content)}summary.svelte-1kxmj7q:focus-visible+.contents.svelte-1kxmj7q:before{height:100%;top:0}
|
|
4
|
-
details.svelte-ozx17m.svelte-ozx17m{margin-left:var(--tjs-folder-details-margin-left,-.4em);padding-left:var(--tjs-folder-details-padding-left,.4em)}summary.svelte-ozx17m.svelte-ozx17m{align-items:center;background:var(--tjs-folder-summary-background,none);background-blend-mode:var(--tjs-folder-summary-background-blend-mode,initial);border:var(--tjs-folder-summary-border,none);border-radius:var(--tjs-folder-summary-border-radius,0);border-width:var(--tjs-folder-summary-border-width,initial);cursor:var(--tjs-folder-summary-cursor,pointer);display:flex;font-family:var(--tjs-folder-summary-font-family,inherit);font-size:var(--tjs-folder-summary-font-size,inherit);font-weight:var(--tjs-folder-summary-font-weight,bold);gap:var(--tjs-folder-summary-gap,.125em);list-style:none;margin:var(--tjs-folder-summary-margin,0);padding:var(--tjs-folder-summary-padding,.25em) 0;position:relative;transition:var(--tjs-folder-summary-transition,background .1s);-webkit-user-select:none;user-select:none;width:var(--tjs-folder-summary-width,fit-content)}summary.svelte-ozx17m.svelte-ozx17m::-webkit-details-marker{display:none}summary.svelte-ozx17m i.svelte-ozx17m{border-radius:var(--tjs-folder-summary-chevron-border-radius,0);color:var(--tjs-folder-summary-chevron-color,inherit);cursor:var(--tjs-folder-summary-cursor,pointer);flex-shrink:0;margin:var(--tjs-folder-summary-chevron-margin,0 0 0 .25em);opacity:var(--tjs-folder-summary-chevron-opacity,1);transition:var(--tjs-folder-summary-chevron-transition,opacity .2s,transform .1s);width:var(--tjs-folder-summary-chevron-width,1.25em)}summary.disabled.svelte-ozx17m i.svelte-ozx17m,summary.disabled.svelte-ozx17m.svelte-ozx17m{color:var(--tjs-folder-summary-disabled-color,inherit);cursor:var(--tjs-folder-summary-disabled-cursor,default)}summary.svelte-ozx17m.svelte-ozx17m:focus-visible{box-shadow:var(--tjs-folder-summary-box-shadow-focus-visible,var(--tjs-default-box-shadow-focus-visible));outline:var(--tjs-folder-summary-outline-focus-visible,var(--tjs-default-outline-focus-visible,revert));transition:var(--tjs-folder-summary-transition-focus-visible,var(--tjs-default-transition-focus-visible))}summary.svelte-ozx17m:focus-visible .label.svelte-ozx17m{text-shadow:var(--tjs-folder-summary-label-text-shadow-focus-visible,var(--tjs-default-text-shadow-focus-hover,revert))}summary.svelte-ozx17m:focus-visible .tjs-folder-focus-indicator.svelte-ozx17m{background:var(--tjs-folder-summary-focus-indicator-background,var(--tjs-default-focus-indicator-background,#fff))}summary.svelte-ozx17m:focus-visible i.svelte-ozx17m{opacity:var(--tjs-folder-summary-chevron-opacity-focus-visible,1)}summary.svelte-ozx17m:focus-visible i.focus-chevron.svelte-ozx17m:before{outline:var(--tjs-folder-summary-outline-focus-visible,var(--tjs-default-outline-focus-visible,revert))}summary:focus-visible.remove-focus-visible.svelte-ozx17m.svelte-ozx17m{outline:none}summary.svelte-ozx17m:hover i.svelte-ozx17m{opacity:var(--tjs-folder-summary-chevron-opacity-hover,1)}.tjs-folder-focus-indicator.svelte-ozx17m.svelte-ozx17m{align-self:var(--tjs-folder-summary-focus-indicator-align-self,var(--tjs-default-focus-indicator-align-self,stretch));border:var(--tjs-folder-summary-focus-indicator-border,var(--tjs-default-focus-indicator-border));border-radius:var(--tjs-folder-summary-focus-indicator-border-radius,var(--tjs-default-focus-indicator-border-radius,.1em));flex:0 0 var(--tjs-folder-summary-focus-indicator-width,var(--tjs-default-focus-indicator-width,0.25em));height:var(--tjs-folder-summary-focus-indicator-height,var(--tjs-default-focus-indicator-height));pointer-events:none;transition:var(--tjs-folder-summary-focus-indicator-transition,var(--tjs-default-focus-indicator-transition))}.default-cursor.svelte-ozx17m.svelte-ozx17m{cursor:default}details[open].svelte-ozx17m>summary.svelte-ozx17m{background:var(--tjs-folder-summary-background-open,var(--tjs-folder-summary-background,inherit))}.contents.svelte-ozx17m.svelte-ozx17m{background:var(--tjs-folder-contents-background,none);background-blend-mode:var(--tjs-folder-contents-background-blend-mode,initial);border:var(--tjs-folder-contents-border,none);border-left:var(--tjs-folder-contents-border-left,none);display:var(--tjs-folder-contents-display,flex);flex-direction:var(--tjs-folder-contents-flex-direction,column);gap:var(--tjs-folder-contents-gap);margin:var(--tjs-folder-contents-margin,0 0 0 -.4em);padding:var(--tjs-folder-contents-padding,0 0 0 calc(var(--tjs-folder-summary-font-size, 1em)*.8));position:relative}.contents.svelte-ozx17m.svelte-ozx17m:before{content:"";height:calc(100% + .65em);left:0;position:absolute;top:-.65em;width:0}.contents.hidden.svelte-ozx17m.svelte-ozx17m{display:none}.label.svelte-ozx17m.svelte-ozx17m{overflow:var(--tjs-folder-summary-label-overflow,hidden);text-overflow:var(--tjs-folder-summary-label-text-overflow,ellipsis);white-space:var(--tjs-folder-summary-label-white-space,nowrap);width:var(--tjs-folder-summary-label-width,fit-content)}summary.svelte-ozx17m:focus-visible+.contents.svelte-ozx17m:before{height:100%;top:0}
|
|
5
|
-
a.svelte-14yttr0{width:fit-content}a.svelte-14yttr0,span.svelte-14yttr0{margin-right:.25rem}span.svelte-14yttr0,svg.svelte-14yttr0{pointer-events:none}.indent-icon.svelte-14yttr0{margin-left:var(--dmt-nav-entry-indent-icon,28px)}.indent-no-icon.svelte-14yttr0{margin-left:var(--dmt-nav-entry-indent-no-icon,18px)}.indent-none.svelte-14yttr0{margin-left:.25rem}
|
|
6
|
-
.dmt-navigation-tree.svelte-gftu0p{display:flex;flex-direction:column;--tjs-folder-summary-font-weight:normal;--tjs-folder-summary-font-size:1em;--tjs-folder-summary-margin:0;--tjs-folder-summary-padding:0;--tjs-folder-summary-width:100%;--tjs-folder-contents-margin:var(--dmt-nav-folder-contents-margin,0 0 0 7px);--tjs-folder-contents-border-left:var(--dmt-nav-folder-contents-border-left,2px solid var(--dmt-nav-folder-contents-border-color,#0003));--tjs-folder-contents-padding:var(--dmt-nav-folder-contents-padding,0 0 0 9px);overflow-x:auto;padding-left:var(--dmt-nav-tree-padding-left,3px);padding-top:var(--dmt-nav-tree-padding-top,.25rem);touch-action:pan-x pan-y}.dmt-navigation-tree.svelte-gftu0p:focus-visible{outline:#0000}.dmt-navigation-tree.svelte-gftu0p>:last-child{margin-bottom:var(--dmt-nav-tree-bottom-margin,.25rem)}
|
|
7
|
-
hr.svelte-wwxcg7{border:unset;border-bottom:var(--dmt-container-border);margin:.25rem .5rem 0 0}section.svelte-wwxcg7{--tjs-folder-summary-margin:0 0.25rem;--tjs-folder-summary-width:100%;background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow);margin:0 1rem 0 0;padding-bottom:.25rem}
|
|
8
|
-
a.svelte-gzwnip{display:block;overflow:var(--dmt-sidebarlinks-overflow,unset);text-overflow:var(--dmt-sidebarlinks-text-overflow,ellipsis);white-space:var(--dmt-sidebarlinks-white-space,normal)}section.dmt-sidebar-links.svelte-gzwnip{background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow);display:flex;flex-direction:column;gap:.25em;margin:0 1rem 0 0;padding:.25rem}section.dmt-sidebar-links.svelte-gzwnip:focus-visible{outline:#0000}
|
|
9
|
-
div.svelte-1uxeem0{background:var(--dmt-overlay-panel-background);border-bottom:1px solid #0003;border-left:1px solid #0003;border-radius:0 0 .25rem .25rem;border-right:1px solid #0003;box-shadow:-.25rem 0 .25rem -.25rem var(--dmt-box-shadow-color),.25rem 0 .25rem -.25rem var(--dmt-box-shadow-color),0 .75rem .75rem -.75rem var(--dmt-box-shadow-color);display:flex;flex-direction:column;gap:.25rem;height:fit-content;padding:.5rem;position:absolute;top:2.6rem;width:calc(100% - 1.5rem)}span.svelte-1uxeem0{align-items:center;display:flex;gap:.5rem}svg.svelte-1uxeem0{margin:0}.key.svelte-1uxeem0{background:#ffffff40;border:1px solid #999;border-radius:.25rem;box-shadow:1px 1px var(--dmt-help-panel-key-box-shadow-color);min-width:52px;padding:0 3px;text-align:center}.reflection-kinds.svelte-1uxeem0{display:grid;grid-template-columns:1fr 1fr;grid-row-gap:.1rem}.title.svelte-1uxeem0{-webkit-text-decoration:underline;text-decoration:underline}:root[data-theme=dark]{--dmt-help-panel-key-box-shadow-color:#aaa}:root[data-theme=light]{--dmt-help-panel-key-box-shadow-color:#444}@media(prefers-color-scheme:dark){:root{--dmt-help-panel-key-box-shadow-color:#aaa}}@media(prefers-color-scheme:light){:root{--dmt-help-panel-key-box-shadow-color:#444}}
|
|
10
|
-
button.svelte-1e7n8f7{background:#0000;border-radius:50%;cursor:pointer;height:2rem;line-height:0;width:2rem}section.svelte-1e7n8f7{align-items:center;background:var(--color-background);border-bottom:var(--dmt-container-border);display:flex;gap:.5rem;height:fit-content;padding:.25rem 1rem .25rem 0;position:sticky;top:0;width:inherit;z-index:10}section.svelte-1e7n8f7:focus-visible{outline:#0000}svg.svelte-1e7n8f7{height:1rem;width:1rem;fill:currentColor;stroke:currentColor;overflow:hidden}.flipped-vertical.svelte-1e7n8f7{transform:scaleY(-1)}
|
|
11
|
-
section.svelte-13h1skr{--dmt-nav-tree-bottom-margin:1rem}
|
|
12
|
-
button.svelte-10arjs8{background:#0000;border-radius:50%;cursor:pointer;height:33px;line-height:0;margin:0 3px 3px;width:33px}
|
|
13
|
-
li.svelte-5rxzhp{align-items:center;background-color:var(--color-background);cursor:pointer;display:flex;gap:.25rem;overflow:hidden;padding:0 10px;text-overflow:ellipsis;transition:background .15s ease-in-out}li.selected.svelte-5rxzhp{background:var(--dmt-menu-item-background-selected)}li.svelte-5rxzhp:hover{background:var(--dmt-menu-item-background-hover)}li.svelte-5rxzhp:not(:last-child){border-bottom:var(--dmt-container-separator-border)}li.svelte-5rxzhp:nth-child(2n):not(:hover):not(.selected){background-color:var(--color-background-secondary)}ul.svelte-5rxzhp{border:var(--dmt-container-floating-border);border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem;box-shadow:var(--dmt-container-floating-box-shadow);list-style:none;margin:0 0 0 -4px;overflow:hidden;padding:0;position:absolute;top:calc(var(--dmt-header-height) - 2px);width:calc(100% - 4px)}
|
|
14
|
-
#dmt-search-field.svelte-tuln0o,#tsd-search .field input{background:revert;border:1px solid var(--color-accent);border-radius:.5em;box-sizing:border-box;color:var(--color-text);font-size:16px;height:35px;opacity:1;outline:2px solid #0000;padding:revert;position:relative;right:4px;top:0;width:100%;z-index:10}
|
|
15
|
-
div.svelte-wmon9h{box-sizing:border-box;line-height:0;padding:4px 0;position:absolute;right:-40px;width:40px}.dmt-widget.svelte-wmon9h{display:inline-block;height:40px;opacity:.8;overflow:hidden;transition:opacity .1s,background-color .2s;vertical-align:bottom}
|
|
16
|
-
div.svelte-kjcljd{flex:0;height:0;width:0}div.svelte-kjcljd:focus{outline:none}
|
|
17
|
-
section.svelte-1pcybcf.svelte-1pcybcf{background:var(--color-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:0 0 6px #000;height:max-content;left:50%;overflow:hidden;padding:.25rem;position:absolute;top:calc(100% + 10px);transform:translateX(-50%);width:max-content;z-index:1}div.svelte-1pcybcf.svelte-1pcybcf{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem}section.svelte-1pcybcf.svelte-1pcybcf:focus-visible{outline:2px solid #0000}a.svelte-1pcybcf.svelte-1pcybcf{align-items:center;display:flex;flex-shrink:0}a.svelte-1pcybcf:focus-visible img.svelte-1pcybcf{filter:brightness(1.5)}img.svelte-1pcybcf.svelte-1pcybcf{max-height:24px;width:auto}img.svelte-1pcybcf.svelte-1pcybcf:hover{filter:brightness(1.5)}
|
|
18
|
-
button.svelte-1ebh1s9{background:#0000;border-radius:50%;cursor:pointer;height:33px;line-height:0;margin:1px 3px 0;width:33px}section.svelte-1ebh1s9{display:flex;margin-left:auto;min-width:fit-content;position:relative}svg.svelte-1ebh1s9{fill:var(--color-text)}
|
|
19
|
-
a.svelte-1f93d1m.svelte-1f93d1m{align-items:center;display:flex;flex-shrink:0;margin:4px}a.svelte-1f93d1m:focus-visible img.svelte-1f93d1m{filter:brightness(1.5)}img.svelte-1f93d1m.svelte-1f93d1m{height:24px;width:auto}img.svelte-1f93d1m.svelte-1f93d1m:hover{filter:brightness(1.5)}section.svelte-1f93d1m.svelte-1f93d1m{align-items:center;display:flex;flex-wrap:nowrap;gap:.35rem;margin-left:auto;min-width:0;overflow:hidden}
|
|
20
|
-
section.svelte-j9157o{align-items:center;display:flex;flex-wrap:nowrap;height:100%;margin-right:.5rem;width:100%}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module @typhonjs-typedoc/typedoc-theme-dmt
|
|
3
|
-
* @license MPL-2.0
|
|
4
|
-
* @see https://github.com/typhonjs-typedoc/typedoc-theme-dmt
|
|
5
|
-
*/
|
|
6
|
-
import"./dmt-component-data.js";var e,t,n;try{e=new TextDecoder}catch(e){}var r,o,i,s,a,l=0,c={},u=0,f=0,d=[],h={useRecords:!1,mapsAsObjects:!0};class p{}const g=new p;g.name="MessagePack 0xC1";var m=!1,y=2;try{new Function("")}catch(e){y=1/0}class b{constructor(e){e&&(!1===e.useRecords&&void 0===e.mapsAsObjects&&(e.mapsAsObjects=!0),e.sequential&&!1!==e.trusted&&(e.trusted=!0,e.structures||0==e.useRecords||(e.structures=[],e.maxSharedStructures||(e.maxSharedStructures=0))),e.structures?e.structures.sharedLength=e.structures.length:e.getStructures&&((e.structures=[]).uninitialized=!0,e.structures.sharedLength=0),e.int64AsNumber&&(e.int64AsType="number")),Object.assign(this,e)}unpack(e,s){if(t)return W((()=>(J(),this?this.unpack(e,s):b.prototype.unpack.call(h,e,s))));e.buffer||e.constructor!==ArrayBuffer||(e="undefined"!=typeof Buffer?Buffer.from(e):new Uint8Array(e)),"object"==typeof s?(n=s.end||e.length,l=s.start||0):(l=0,n=s>-1?s:e.length),f=0,o=null,i=null,t=e;try{a=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(n){if(t=null,e instanceof Uint8Array)throw n;throw new Error("Source must be a Uint8Array or Buffer but was a "+(e&&"object"==typeof e?e.constructor.name:typeof e))}if(this instanceof b){if(c=this,this.structures)return r=this.structures,v(s);(!r||r.length>0)&&(r=[])}else c=h,(!r||r.length>0)&&(r=[]);return v(s)}unpackMultiple(e,t){let n,r=0;try{m=!0;let o=e.length,i=this?this.unpack(e,o):G.unpack(e,o);if(!t){for(n=[i];l<o;)r=l,n.push(v());return n}if(!1===t(i,r,l))return;for(;l<o;)if(r=l,!1===t(v(),r,l))return}catch(e){throw e.lastPosition=r,e.values=n,e}finally{m=!1,J()}}_mergeStructures(e,t){e=e||[],Object.isFrozen(e)&&(e=e.map((e=>e.slice(0))));for(let t=0,n=e.length;t<n;t++){let n=e[t];n&&(n.isShared=!0,t>=32&&(n.highByte=t-32>>5))}e.sharedLength=e.length;for(let n in t||[])if(n>=0){let r=e[n],o=t[n];o&&(r&&((e.restoreStructures||(e.restoreStructures=[]))[n]=r),e[n]=o)}return this.structures=e}decode(e,t){return this.unpack(e,t)}}function v(e){try{if(!c.trusted&&!m){let e=r.sharedLength||0;e<r.length&&(r.length=e)}let e;if(c.randomAccessStructure&&t[l]<64&&t[l],e=x(),i&&(l=i.postBundlePosition,i=null),m&&(r.restoreStructures=null),l==n)r&&r.restoreStructures&&w(),r=null,t=null,s&&(s=null);else{if(l>n)throw new Error("Unexpected end of MessagePack data");if(!m){let t;try{t=JSON.stringify(e,((e,t)=>"bigint"==typeof t?`${t}n`:t)).slice(0,100)}catch(e){t="(JSON view not available "+e+")"}throw new Error("Data read, but end of buffer not reached "+t)}}return e}catch(e){throw r&&r.restoreStructures&&w(),J(),(e instanceof RangeError||e.message.startsWith("Unexpected end of buffer")||l>n)&&(e.incomplete=!0),e}}function w(){for(let e in r.restoreStructures)r[e]=r.restoreStructures[e];r.restoreStructures=null}function x(){let e=t[l++];if(e<160){if(e<128){if(e<64)return e;{let t=r[63&e]||c.getStructures&&T()[63&e];return t?(t.read||(t.read=E(t,63&e)),t.read()):e}}if(e<144){if(e-=128,c.mapsAsObjects){let t={};for(let n=0;n<e;n++){let e=_();"__proto__"===e&&(e="__proto_"),t[e]=x()}return t}{let t=new Map;for(let n=0;n<e;n++)t.set(x(),x());return t}}{e-=144;let t=new Array(e);for(let n=0;n<e;n++)t[n]=x();return c.freezeData?Object.freeze(t):t}}if(e<192){let t=e-160;if(f>=l)return o.slice(l-u,(l+=t)-u);if(0==f&&n<140){let e=t<16?N(t):D(t);if(null!=e)return e}return k(t)}{let n;switch(e){case 192:return null;case 193:return i?(n=x(),n>0?i[1].slice(i.position1,i.position1+=n):i[0].slice(i.position0,i.position0-=n)):g;case 194:return!1;case 195:return!0;case 196:if(n=t[l++],void 0===n)throw new Error("Unexpected end of buffer");return F(n);case 197:return n=a.getUint16(l),l+=2,F(n);case 198:return n=a.getUint32(l),l+=4,F(n);case 199:return U(t[l++]);case 200:return n=a.getUint16(l),l+=2,U(n);case 201:return n=a.getUint32(l),l+=4,U(n);case 202:if(n=a.getFloat32(l),c.useFloat32>2){let e=K[(127&t[l])<<1|t[l+1]>>7];return l+=4,(e*n+(n>0?.5:-.5)|0)/e}return l+=4,n;case 203:return n=a.getFloat64(l),l+=8,n;case 204:return t[l++];case 205:return n=a.getUint16(l),l+=2,n;case 206:return n=a.getUint32(l),l+=4,n;case 207:return"number"===c.int64AsType?(n=4294967296*a.getUint32(l),n+=a.getUint32(l+4)):"string"===c.int64AsType?n=a.getBigUint64(l).toString():"auto"===c.int64AsType?(n=a.getBigUint64(l),n<=BigInt(2)<<BigInt(52)&&(n=Number(n))):n=a.getBigUint64(l),l+=8,n;case 208:return a.getInt8(l++);case 209:return n=a.getInt16(l),l+=2,n;case 210:return n=a.getInt32(l),l+=4,n;case 211:return"number"===c.int64AsType?(n=4294967296*a.getInt32(l),n+=a.getUint32(l+4)):"string"===c.int64AsType?n=a.getBigInt64(l).toString():"auto"===c.int64AsType?(n=a.getBigInt64(l),n>=BigInt(-2)<<BigInt(52)&&n<=BigInt(2)<<BigInt(52)&&(n=Number(n))):n=a.getBigInt64(l),l+=8,n;case 212:if(n=t[l++],114==n)return Q(63&t[l++]);{let e=d[n];if(e)return e.read?(l++,e.read(x())):e.noBuffer?(l++,e()):e(t.subarray(l,++l));throw new Error("Unknown extension "+n)}case 213:return n=t[l],114==n?(l++,Q(63&t[l++],t[l++])):U(2);case 214:return U(4);case 215:return U(8);case 216:return U(16);case 217:return n=t[l++],f>=l?o.slice(l-u,(l+=n)-u):C(n);case 218:return n=a.getUint16(l),f>=(l+=2)?o.slice(l-u,(l+=n)-u):O(n);case 219:return n=a.getUint32(l),f>=(l+=4)?o.slice(l-u,(l+=n)-u):I(n);case 220:return n=a.getUint16(l),l+=2,P(n);case 221:return n=a.getUint32(l),l+=4,P(n);case 222:return n=a.getUint16(l),l+=2,A(n);case 223:return n=a.getUint32(l),l+=4,A(n);default:if(e>=224)return e-256;if(void 0===e){let e=new Error("Unexpected end of MessagePack data");throw e.incomplete=!0,e}throw new Error("Unknown MessagePack token "+e)}}}const S=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;function E(e,t){function n(){if(n.count++>y){let n=e.read=new Function("r","return function(){return "+(c.freezeData?"Object.freeze":"")+"({"+e.map((e=>"__proto__"===e?"__proto_:r()":S.test(e)?e+":r()":"["+JSON.stringify(e)+"]:r()")).join(",")+"})}")(x);return 0===e.highByte&&(e.read=$(t,e.read)),n()}let r={};for(let t=0,n=e.length;t<n;t++){let n=e[t];"__proto__"===n&&(n="__proto_"),r[n]=x()}return c.freezeData?Object.freeze(r):r}return n.count=0,0===e.highByte?$(t,n):n}const $=(e,n)=>function(){let o=t[l++];if(0===o)return n();let i=e<32?-(e+(o<<5)):e+(o<<5),s=r[i]||T()[i];if(!s)throw new Error("Record id is not defined for "+i);return s.read||(s.read=E(s,e)),s.read()};function T(){let e=W((()=>(t=null,c.getStructures())));return r=c._mergeStructures(e,r)}var k=L,C=L,O=L,I=L;function L(n){let r;if(n<16&&(r=N(n)))return r;if(n>64&&e)return e.decode(t.subarray(l,l+=n));const o=l+n,i=[];for(r="";l<o;){const e=t[l++];if(128&e)if(192==(224&e)){const n=63&t[l++];i.push((31&e)<<6|n)}else if(224==(240&e)){const n=63&t[l++],r=63&t[l++];i.push((31&e)<<12|n<<6|r)}else if(240==(248&e)){let n=(7&e)<<18|(63&t[l++])<<12|(63&t[l++])<<6|63&t[l++];n>65535&&(n-=65536,i.push(n>>>10&1023|55296),n=56320|1023&n),i.push(n)}else i.push(e);else i.push(e);i.length>=4096&&(r+=M.apply(String,i),i.length=0)}return i.length>0&&(r+=M.apply(String,i)),r}function P(e){let t=new Array(e);for(let n=0;n<e;n++)t[n]=x();return c.freezeData?Object.freeze(t):t}function A(e){if(c.mapsAsObjects){let t={};for(let n=0;n<e;n++){let e=_();"__proto__"===e&&(e="__proto_"),t[e]=x()}return t}{let t=new Map;for(let n=0;n<e;n++)t.set(x(),x());return t}}var M=String.fromCharCode;function D(e){let n=l,r=new Array(e);for(let o=0;o<e;o++){const e=t[l++];if((128&e)>0)return void(l=n);r[o]=e}return M.apply(String,r)}function N(e){if(e<4){if(e<2){if(0===e)return"";{let e=t[l++];return(128&e)>1?void(l-=1):M(e)}}{let n=t[l++],r=t[l++];if((128&n)>0||(128&r)>0)return void(l-=2);if(e<3)return M(n,r);let o=t[l++];return(128&o)>0?void(l-=3):M(n,r,o)}}{let n=t[l++],r=t[l++],o=t[l++],i=t[l++];if((128&n)>0||(128&r)>0||(128&o)>0||(128&i)>0)return void(l-=4);if(e<6){if(4===e)return M(n,r,o,i);{let e=t[l++];return(128&e)>0?void(l-=5):M(n,r,o,i,e)}}if(e<8){let s=t[l++],a=t[l++];if((128&s)>0||(128&a)>0)return void(l-=6);if(e<7)return M(n,r,o,i,s,a);let c=t[l++];return(128&c)>0?void(l-=7):M(n,r,o,i,s,a,c)}{let s=t[l++],a=t[l++],c=t[l++],u=t[l++];if((128&s)>0||(128&a)>0||(128&c)>0||(128&u)>0)return void(l-=8);if(e<10){if(8===e)return M(n,r,o,i,s,a,c,u);{let e=t[l++];return(128&e)>0?void(l-=9):M(n,r,o,i,s,a,c,u,e)}}if(e<12){let f=t[l++],d=t[l++];if((128&f)>0||(128&d)>0)return void(l-=10);if(e<11)return M(n,r,o,i,s,a,c,u,f,d);let h=t[l++];return(128&h)>0?void(l-=11):M(n,r,o,i,s,a,c,u,f,d,h)}{let f=t[l++],d=t[l++],h=t[l++],p=t[l++];if((128&f)>0||(128&d)>0||(128&h)>0||(128&p)>0)return void(l-=12);if(e<14){if(12===e)return M(n,r,o,i,s,a,c,u,f,d,h,p);{let e=t[l++];return(128&e)>0?void(l-=13):M(n,r,o,i,s,a,c,u,f,d,h,p,e)}}{let g=t[l++],m=t[l++];if((128&g)>0||(128&m)>0)return void(l-=14);if(e<15)return M(n,r,o,i,s,a,c,u,f,d,h,p,g,m);let y=t[l++];return(128&y)>0?void(l-=15):M(n,r,o,i,s,a,c,u,f,d,h,p,g,m,y)}}}}}function R(){let e,n=t[l++];if(n<192)e=n-160;else switch(n){case 217:e=t[l++];break;case 218:e=a.getUint16(l),l+=2;break;case 219:e=a.getUint32(l),l+=4;break;default:throw new Error("Expected string")}return L(e)}function F(e){return c.copyBuffers?Uint8Array.prototype.slice.call(t,l,l+=e):t.subarray(l,l+=e)}function U(e){let n=t[l++];if(d[n]){let r;return d[n](t.subarray(l,r=l+=e),(e=>{l=e;try{return x()}finally{l=r}}))}throw new Error("Unknown extension type "+n)}var j=new Array(4096);function _(){let e=t[l++];if(!(e>=160&&e<192))return l--,B(x());if(e-=160,f>=l)return o.slice(l-u,(l+=e)-u);if(!(0==f&&n<180))return k(e);let r,i=4095&(e<<5^(e>1?a.getUint16(l):e>0?t[l]:0)),s=j[i],c=l,d=l+e-3,h=0;if(s&&s.bytes==e){for(;c<d;){if(r=a.getUint32(c),r!=s[h++]){c=1879048192;break}c+=4}for(d+=3;c<d;)if(r=t[c++],r!=s[h++]){c=1879048192;break}if(c===d)return l=c,s.string;d-=3,c=l}for(s=[],j[i]=s,s.bytes=e;c<d;)r=a.getUint32(c),s.push(r),c+=4;for(d+=3;c<d;)r=t[c++],s.push(r);let p=e<16?N(e):D(e);return s.string=null!=p?p:k(e)}function B(e){if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e||"bigint"==typeof e)return e.toString();if(null==e)return e+"";throw new Error("Invalid property type for record",typeof e)}const Q=(e,t)=>{let n=x().map(B),o=e;void 0!==t&&(e=e<32?-((t<<5)+e):(t<<5)+e,n.highByte=t);let i=r[e];return i&&(i.isShared||m)&&((r.restoreStructures||(r.restoreStructures=[]))[e]=i),r[e]=n,n.read=E(n,o),n.read()};d[0]=()=>{},d[0].noBuffer=!0,d[66]=e=>{let t=e.length,n=BigInt(128&e[0]?e[0]-256:e[0]);for(let r=1;r<t;r++)n<<=BigInt(8),n+=BigInt(e[r]);return n};let z={Error:Error,TypeError:TypeError,ReferenceError:ReferenceError};d[101]=()=>{let e=x();return(z[e[0]]||Error)(e[1],{cause:e[2]})},d[105]=e=>{if(!1===c.structuredClone)throw new Error("Structured clone extension is disabled");let n=a.getUint32(l-4);s||(s=new Map);let r,o=t[l];r=o>=144&&o<160||220==o||221==o?[]:{};let i={target:r};s.set(n,i);let u=x();return i.used?Object.assign(r,u):(i.target=u,u)},d[112]=e=>{if(!1===c.structuredClone)throw new Error("Structured clone extension is disabled");let t=a.getUint32(l-4),n=s.get(t);return n.used=!0,n.target},d[115]=()=>new Set(x());const H=["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64","BigInt64","BigUint64"].map((e=>e+"Array"));let V="object"==typeof globalThis?globalThis:window;d[116]=e=>{let t=e[0],n=H[t];if(!n){if(16===t){let t=new ArrayBuffer(e.length-1);return new Uint8Array(t).set(e.subarray(1)),t}throw new Error("Could not find typed array for code "+t)}return new V[n](Uint8Array.prototype.slice.call(e,1).buffer)},d[120]=()=>{let e=x();return new RegExp(e[0],e[1])};const q=[];function W(e){let d=n,h=l,p=u,g=f,y=o,b=s,v=i,w=new Uint8Array(t.slice(0,n)),x=r,S=r.slice(0,r.length),E=c,$=m,T=e();return n=d,l=h,u=p,f=g,o=y,s=b,i=v,t=w,m=$,(r=x).splice(0,r.length,...S),c=E,a=new DataView(t.buffer,t.byteOffset,t.byteLength),T}function J(){t=null,s=null,r=null}d[98]=e=>{let t=(e[0]<<24)+(e[1]<<16)+(e[2]<<8)+e[3],n=l;return l+=t-e.length,i=q,(i=[R(),R()]).position0=0,i.position1=0,i.postBundlePosition=l,l=n,x()},d[255]=e=>4==e.length?new Date(1e3*(16777216*e[0]+(e[1]<<16)+(e[2]<<8)+e[3])):8==e.length?new Date(((e[0]<<22)+(e[1]<<14)+(e[2]<<6)+(e[3]>>2))/1e6+1e3*(4294967296*(3&e[3])+16777216*e[4]+(e[5]<<16)+(e[6]<<8)+e[7])):12==e.length?new Date(((e[0]<<24)+(e[1]<<16)+(e[2]<<8)+e[3])/1e6+1e3*((128&e[4]?-281474976710656:0)+1099511627776*e[6]+4294967296*e[7]+16777216*e[8]+(e[9]<<16)+(e[10]<<8)+e[11])):new Date("invalid");const K=new Array(147);for(let e=0;e<256;e++)K[e]=+("1e"+Math.floor(45.15-.30103*e));var G=new b({useRecords:!1});const Z=G.unpack;G.unpackMultiple,G.unpack;let Y,X,ee,te=new Float32Array(1);new Uint8Array(te.buffer,0,4);try{Y=new TextEncoder}catch(e){}const ne="undefined"!=typeof Buffer,re=ne?function(e){return Buffer.allocUnsafeSlow(e)}:Uint8Array,oe=ne?Buffer:Uint8Array,ie=ne?4294967296:2144337920;let se,ae,le,ce,ue=0,fe=null;const de=/[\u0080-\uFFFF]/,he=Symbol("record-id");function pe(e,t,n,r){let o=e.byteLength;if(o+1<256){var{target:i,position:s}=n(4+o);i[s++]=199,i[s++]=o+1}else if(o+1<65536){var{target:i,position:s}=n(5+o);i[s++]=200,i[s++]=o+1>>8,i[s++]=o+1&255}else{var{target:i,position:s,targetView:a}=n(7+o);i[s++]=201,a.setUint32(s,o+1),s+=4}i[s++]=116,i[s++]=t,e.buffer||(e=new Uint8Array(e)),i.set(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),s)}function ge(e,t){let n=e.byteLength;var r,o;if(n<256){var{target:r,position:o}=t(n+2);r[o++]=196,r[o++]=n}else if(n<65536){var{target:r,position:o}=t(n+3);r[o++]=197,r[o++]=n>>8,r[o++]=255&n}else{var{target:r,position:o,targetView:i}=t(n+5);r[o++]=198,i.setUint32(o,n),o+=4}r.set(e,o)}function me(e,t,n,r){let o=e.length;switch(o){case 1:t[n++]=212;break;case 2:t[n++]=213;break;case 4:t[n++]=214;break;case 8:t[n++]=215;break;case 16:t[n++]=216;break;default:o<256?(t[n++]=199,t[n++]=o):o<65536?(t[n++]=200,t[n++]=o>>8,t[n++]=255&o):(t[n++]=201,t[n++]=o>>24,t[n++]=o>>16&255,t[n++]=o>>8&255,t[n++]=255&o)}return t[n++]=r,t.set(e,n),n+=o}function ye(e,t,n){if(fe.length>0){le.setUint32(fe.position+e,ue+n-fe.position-e),fe.stringsPosition=ue-e;let r=fe;fe=null,t(r[0]),t(r[1])}}ee=[Date,Set,Error,RegExp,ArrayBuffer,Object.getPrototypeOf(Uint8Array.prototype).constructor,p],X=[{pack(e,t,n){let r=e.getTime()/1e3;if((this.useTimestamp32||0===e.getMilliseconds())&&r>=0&&r<4294967296){let{target:e,targetView:n,position:o}=t(6);e[o++]=214,e[o++]=255,n.setUint32(o,r)}else if(r>0&&r<4294967296){let{target:n,targetView:o,position:i}=t(10);n[i++]=215,n[i++]=255,o.setUint32(i,4e6*e.getMilliseconds()+(r/1e3/4294967296|0)),o.setUint32(i+4,r)}else if(isNaN(r)){if(this.onInvalidDate)return t(0),n(this.onInvalidDate());let{target:e,targetView:r,position:o}=t(3);e[o++]=212,e[o++]=255,e[o++]=255}else{let{target:n,targetView:o,position:i}=t(15);n[i++]=199,n[i++]=12,n[i++]=255,o.setUint32(i,1e6*e.getMilliseconds()),o.setBigInt64(i+4,BigInt(Math.floor(r)))}}},{pack(e,t,n){if(this.setAsEmptyObject)return t(0),n({});let r=Array.from(e),{target:o,position:i}=t(this.moreTypes?3:0);this.moreTypes&&(o[i++]=212,o[i++]=115,o[i++]=0),n(r)}},{pack(e,t,n){let{target:r,position:o}=t(this.moreTypes?3:0);this.moreTypes&&(r[o++]=212,r[o++]=101,r[o++]=0),n([e.name,e.message,e.cause])}},{pack(e,t,n){let{target:r,position:o}=t(this.moreTypes?3:0);this.moreTypes&&(r[o++]=212,r[o++]=120,r[o++]=0),n([e.source,e.flags])}},{pack(e,t){this.moreTypes?pe(e,16,t):ge(ne?Buffer.from(e):new Uint8Array(e),t)}},{pack(e,t){let n=e.constructor;n!==oe&&this.moreTypes?pe(e,H.indexOf(n.name),t):ge(e,t)}},{pack(e,t){let{target:n,position:r}=t(1);n[r]=193}}];let be=new class extends b{constructor(e){let t,n,r,o;super(e),this.offset=0;let i=oe.prototype.utf8Write?function(e,t){return se.utf8Write(e,t,se.byteLength-t)}:!(!Y||!Y.encodeInto)&&function(e,t){return Y.encodeInto(e,se.subarray(t)).written},s=this;e||(e={});let a=e&&e.sequential,l=e.structures||e.saveStructures,c=e.maxSharedStructures;if(null==c&&(c=l?32:0),c>8160)throw new Error("Maximum maxSharedStructure is 8160");e.structuredClone&&null==e.moreTypes&&(this.moreTypes=!0);let u=e.maxOwnStructures;null==u&&(u=l?32:64),this.structures||0==e.useRecords||(this.structures=[]);let f=c>32||u+c>64,d=c+64,h=c+u+64;if(h>8256)throw new Error("Maximum maxSharedStructure + maxOwnStructure is 8192");let p=[],g=0,m=0;this.pack=this.encode=function(e,i){if(se||(se=new re(8192),le=se.dataView||(se.dataView=new DataView(se.buffer,0,8192)),ue=0),ce=se.length-10,ce-ue<2048?(se=new re(se.length),le=se.dataView||(se.dataView=new DataView(se.buffer,0,se.length)),ce=se.length-10,ue=0):ue=ue+7&2147483640,t=ue,i&xe&&(ue+=255&i),o=s.structuredClone?new Map:null,s.bundleStrings&&"string"!=typeof e?(fe=[],fe.size=1/0):fe=null,r=s.structures,r){r.uninitialized&&(r=s._mergeStructures(s.getStructures()));let e=r.sharedLength||0;if(e>c)throw new Error("Shared structures is larger than maximum shared structures, try increasing maxSharedStructures to "+r.sharedLength);if(!r.transitions){r.transitions=Object.create(null);for(let t=0;t<e;t++){let e=r[t];if(!e)continue;let n,o=r.transitions;for(let t=0,r=e.length;t<r;t++){let r=e[t];n=o[r],n||(n=o[r]=Object.create(null)),o=n}o[he]=t+64}this.lastNamedStructuresLength=e}a||(r.nextId=e+64)}let l;n&&(n=!1);try{s.randomAccessStructure&&e&&e.constructor&&e.constructor===Object?C(e):v(e);let n=fe;if(fe&&ye(t,v,0),o&&o.idsToInsert){let e=o.idsToInsert.sort(((e,t)=>e.offset>t.offset?1:-1)),r=e.length,i=-1;for(;n&&r>0;){let o=e[--r].offset+t;o<n.stringsPosition+t&&-1===i&&(i=0),o>n.position+t?i>=0&&(i+=6):(i>=0&&(le.setUint32(n.position+t,le.getUint32(n.position+t)+i),i=-1),n=n.previous,r++)}i>=0&&n&&le.setUint32(n.position+t,le.getUint32(n.position+t)+i),ue+=6*e.length,ue>ce&&$(ue),s.offset=ue;let a=function(e,t){let n,r=6*t.length,o=e.length-r;for(;n=t.pop();){let t=n.offset,i=n.id;e.copyWithin(t+r,t,o),r-=6;let s=t+r;e[s++]=214,e[s++]=105,e[s++]=i>>24,e[s++]=i>>16&255,e[s++]=i>>8&255,e[s++]=255&i,o=t}return e}(se.subarray(t,ue),e);return o=null,a}return s.offset=ue,i&ve?(se.start=t,se.end=ue,se):se.subarray(t,ue)}catch(e){throw l=e,e}finally{if(r&&(y(),n&&s.saveStructures)){let n=r.sharedLength||0,o=se.subarray(t,ue),a=function(e,t){return e.isCompatible=e=>{let n=!e||(t.lastNamedStructuresLength||0)===e.length;return n||t._mergeStructures(e),n},e}(r,s);if(!l)return!1===s.saveStructures(a,a.isCompatible)?s.pack(e,i):(s.lastNamedStructuresLength=n,se.length>1073741824&&(se=null),o)}se.length>1073741824&&(se=null),i&we&&(ue=t)}};const y=()=>{m<10&&m++;let e=r.sharedLength||0;if(r.length>e&&!a&&(r.length=e),g>1e4)r.transitions=null,m=0,g=0,p.length>0&&(p=[]);else if(p.length>0&&!a){for(let e=0,t=p.length;e<t;e++)p[e][he]=0;p=[]}},b=e=>{var t=e.length;t<16?se[ue++]=144|t:t<65536?(se[ue++]=220,se[ue++]=t>>8,se[ue++]=255&t):(se[ue++]=221,le.setUint32(ue,t),ue+=4);for(let n=0;n<t;n++)v(e[n])},v=e=>{ue>ce&&(se=$(ue));var n,r=typeof e;if("string"===r){let r,o=e.length;if(fe&&o>=4&&o<4096){if((fe.size+=o)>21760){let e,n,r=(fe[0]?3*fe[0].length+fe[1].length:0)+10;ue+r>ce&&(se=$(ue+r)),fe.position?(n=fe,se[ue]=200,ue+=3,se[ue++]=98,e=ue-t,ue+=4,ye(t,v,0),le.setUint16(e+t-3,ue-t-e)):(se[ue++]=214,se[ue++]=98,e=ue-t,ue+=4),fe=["",""],fe.previous=n,fe.size=0,fe.position=e}let n=de.test(e);return fe[n?0:1]+=e,se[ue++]=193,void v(n?-o:o)}r=o<32?1:o<256?2:o<65536?3:5;let s=3*o;if(ue+s>ce&&(se=$(ue+s)),o<64||!i){let t,i,s,a=ue+r;for(t=0;t<o;t++)i=e.charCodeAt(t),i<128?se[a++]=i:i<2048?(se[a++]=i>>6|192,se[a++]=63&i|128):55296==(64512&i)&&56320==(64512&(s=e.charCodeAt(t+1)))?(i=65536+((1023&i)<<10)+(1023&s),t++,se[a++]=i>>18|240,se[a++]=i>>12&63|128,se[a++]=i>>6&63|128,se[a++]=63&i|128):(se[a++]=i>>12|224,se[a++]=i>>6&63|128,se[a++]=63&i|128);n=a-ue-r}else n=i(e,ue+r);n<32?se[ue++]=160|n:n<256?(r<2&&se.copyWithin(ue+2,ue+1,ue+1+n),se[ue++]=217,se[ue++]=n):n<65536?(r<3&&se.copyWithin(ue+3,ue+2,ue+2+n),se[ue++]=218,se[ue++]=n>>8,se[ue++]=255&n):(r<5&&se.copyWithin(ue+5,ue+3,ue+3+n),se[ue++]=219,le.setUint32(ue,n),ue+=4),ue+=n}else if("number"===r)if(e>>>0===e)e<32||e<128&&!1===this.useRecords||e<64&&!this.randomAccessStructure?se[ue++]=e:e<256?(se[ue++]=204,se[ue++]=e):e<65536?(se[ue++]=205,se[ue++]=e>>8,se[ue++]=255&e):(se[ue++]=206,le.setUint32(ue,e),ue+=4);else if((e|0)===e)e>=-32?se[ue++]=256+e:e>=-128?(se[ue++]=208,se[ue++]=e+256):e>=-32768?(se[ue++]=209,le.setInt16(ue,e),ue+=2):(se[ue++]=210,le.setInt32(ue,e),ue+=4);else{let t;if((t=this.useFloat32)>0&&e<4294967296&&e>=-2147483648){let n;if(se[ue++]=202,le.setFloat32(ue,e),t<4||((n=e*K[(127&se[ue])<<1|se[ue+1]>>7])|0)===n)return void(ue+=4);ue--}se[ue++]=203,le.setFloat64(ue,e),ue+=8}else if("object"===r||"function"===r)if(e){if(o){let n=o.get(e);if(n){if(!n.id){let e=o.idsToInsert||(o.idsToInsert=[]);n.id=e.push(n)}return se[ue++]=214,se[ue++]=112,le.setUint32(ue,n.id),void(ue+=4)}o.set(e,{offset:ue-t})}let i=e.constructor;if(i===Object)E(e);else if(i===Array)b(e);else if(i===Map)if(this.mapAsEmptyObject)se[ue++]=128;else{(n=e.size)<16?se[ue++]=128|n:n<65536?(se[ue++]=222,se[ue++]=n>>8,se[ue++]=255&n):(se[ue++]=223,le.setUint32(ue,n),ue+=4);for(let[t,n]of e)v(t),v(n)}else{for(let t=0,n=X.length;t<n;t++){if(e instanceof ee[t]){let n=X[t];if(n.write){n.type&&(se[ue++]=212,se[ue++]=n.type,se[ue++]=0);let t=n.write.call(this,e);return void(t===e?Array.isArray(e)?b(e):E(e):v(t))}let r,o=se,i=le,s=ue;se=null;try{r=n.pack.call(this,e,(e=>(se=o,o=null,ue+=e,ue>ce&&$(ue),{target:se,targetView:le,position:ue-e})),v)}finally{o&&(se=o,le=i,ue=s,ce=se.length-10)}return void(r&&(r.length+ue>ce&&$(r.length+ue),ue=me(r,se,ue,n.type)))}}if(Array.isArray(e))b(e);else{if(e.toJSON){const t=e.toJSON();if(t!==e)return v(t)}if("function"===r)return v(this.writeFunction&&this.writeFunction(e));E(e)}}}else se[ue++]=192;else if("boolean"===r)se[ue++]=e?195:194;else if("bigint"===r){if(e<BigInt(1)<<BigInt(63)&&e>=-(BigInt(1)<<BigInt(63)))se[ue++]=211,le.setBigInt64(ue,e);else if(e<BigInt(1)<<BigInt(64)&&e>0)se[ue++]=207,le.setBigUint64(ue,e);else{if(!this.largeBigIntToFloat){if(this.largeBigIntToString)return v(e.toString());if(this.useBigIntExtension&&e<BigInt(2)**BigInt(1023)&&e>-(BigInt(2)**BigInt(1023))){se[ue++]=199,ue++,se[ue++]=66;let t,n=[];do{let r=e&BigInt(255);t=(r&BigInt(128))===(e<BigInt(0)?BigInt(128):BigInt(0)),n.push(r),e>>=BigInt(8)}while(e!==BigInt(0)&&e!==BigInt(-1)||!t);se[ue-2]=n.length;for(let e=n.length;e>0;)se[ue++]=Number(n[--e]);return}throw new RangeError(e+" was too large to fit in MessagePack 64-bit integer format, use useBigIntExtension, or set largeBigIntToFloat to convert to float-64, or set largeBigIntToString to convert to string")}se[ue++]=203,le.setFloat64(ue,Number(e))}ue+=8}else{if("undefined"!==r)throw new Error("Unknown type: "+r);this.encodeUndefinedAsNil?se[ue++]=192:(se[ue++]=212,se[ue++]=0,se[ue++]=0)}},w=this.variableMapSize||this.coercibleKeyAsNumber||this.skipValues?e=>{let t;if(this.skipValues){t=[];for(let n in e)"function"==typeof e.hasOwnProperty&&!e.hasOwnProperty(n)||this.skipValues.includes(e[n])||t.push(n)}else t=Object.keys(e);let n,r=t.length;if(r<16?se[ue++]=128|r:r<65536?(se[ue++]=222,se[ue++]=r>>8,se[ue++]=255&r):(se[ue++]=223,le.setUint32(ue,r),ue+=4),this.coercibleKeyAsNumber)for(let o=0;o<r;o++){n=t[o];let r=Number(n);v(isNaN(r)?n:r),v(e[n])}else for(let o=0;o<r;o++)v(n=t[o]),v(e[n])}:e=>{se[ue++]=222;let n=ue-t;ue+=2;let r=0;for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(v(t),v(e[t]),r++);if(r>65535)throw new Error('Object is too large to serialize with fast 16-bit map size, use the "variableMapSize" option to serialize this object');se[n+++t]=r>>8,se[n+t]=255&r},x=!1===this.useRecords?w:e.progressiveRecords&&!f?e=>{let n,o,i=r.transitions||(r.transitions=Object.create(null)),s=ue++-t;for(let a in e)if("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(a)){if(n=i[a],n)i=n;else{let l=Object.keys(e),c=i;i=r.transitions;let u=0;for(let e=0,t=l.length;e<t;e++){let t=l[e];n=i[t],n||(n=i[t]=Object.create(null),u++),i=n}s+t+1==ue?(ue--,T(i,l,u)):k(i,l,s,u),o=!0,i=c[a]}v(e[a])}if(!o){let n=i[he];n?se[s+t]=n:k(i,Object.keys(e),s,0)}}:e=>{let t,n=r.transitions||(r.transitions=Object.create(null)),o=0;for(let r in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(r))&&(t=n[r],t||(t=n[r]=Object.create(null),o++),n=t);let i=n[he];i?i>=96&&f?(se[ue++]=96+(31&(i-=96)),se[ue++]=i>>5):se[ue++]=i:T(n,n.__keys__||Object.keys(e),o);for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&v(e[t])},S="function"==typeof this.useRecords&&this.useRecords,E=S?e=>{S(e)?x(e):w(e)}:x,$=e=>{let n;if(e>16777216){if(e-t>ie)throw new Error("Packed buffer would be larger than maximum buffer size");n=Math.min(ie,4096*Math.round(Math.max((e-t)*(e>67108864?1.25:2),4194304)/4096))}else n=1+(Math.max(e-t<<2,se.length-1)>>12)<<12;let r=new re(n);return le=r.dataView||(r.dataView=new DataView(r.buffer,0,n)),e=Math.min(e,se.length),se.copy?se.copy(r,0,t,e):r.set(se.slice(t,e)),ue-=t,t=0,ce=r.length-10,se=r},T=(e,t,o)=>{let i=r.nextId;i||(i=64),i<d&&this.shouldShareStructure&&!this.shouldShareStructure(t)?(i=r.nextOwnId,i<h||(i=d),r.nextOwnId=i+1):(i>=h&&(i=d),r.nextId=i+1);let s=t.highByte=i>=96&&f?i-96>>5:-1;e[he]=i,e.__keys__=t,r[i-64]=t,i<d?(t.isShared=!0,r.sharedLength=i-63,n=!0,s>=0?(se[ue++]=96+(31&i),se[ue++]=s):se[ue++]=i):(s>=0?(se[ue++]=213,se[ue++]=114,se[ue++]=96+(31&i),se[ue++]=s):(se[ue++]=212,se[ue++]=114,se[ue++]=i),o&&(g+=m*o),p.length>=u&&(p.shift()[he]=0),p.push(e),v(t))},k=(e,n,r,o)=>{let i=se,s=ue,a=ce,l=t;se=ae,ue=0,t=0,se||(ae=se=new re(8192)),ce=se.length-10,T(e,n,o),ae=se;let c=ue;if(se=i,ue=s,ce=a,t=l,c>1){let e=ue+c-1;e>ce&&$(e);let n=r+t;se.copyWithin(n+c,n+1,ue),se.set(ae.slice(0,c),n),ue=e}else se[r+t]=ae[0]},C=e=>{let o=undefined(e,se,t,ue,r,$,((e,t,r)=>{if(r)return n=!0;ue=t;let o=se;return v(e),y(),o!==se?{position:ue,targetView:le,target:se}:ue}),this);if(0===o)return E(e);ue=o}}useBuffer(e){se=e,se.dataView||(se.dataView=new DataView(se.buffer,se.byteOffset,se.byteLength)),ue=0}set position(e){ue=e}get position(){return ue}clearSharedData(){this.structures&&(this.structures=[]),this.typedStructs&&(this.typedStructs=[])}}({useRecords:!1});be.pack,be.pack;const ve=512,we=1024,xe=2048;var Se=Uint8Array,Ee=Uint16Array,$e=Int32Array,Te=new Se([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ke=new Se([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ce=new Se([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Oe=function(e,t){for(var n=new Ee(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new $e(n[30]);for(r=1;r<30;++r)for(var i=n[r];i<n[r+1];++i)o[i]=i-n[r]<<5|r;return{b:n,r:o}},Ie=Oe(Te,2),Le=Ie.b,Pe=Ie.r;Le[28]=258,Pe[258]=28;for(var Ae=Oe(ke,0).b,Me=new Ee(32768),De=0;De<32768;++De){var Ne=(43690&De)>>1|(21845&De)<<1;Ne=(61680&(Ne=(52428&Ne)>>2|(13107&Ne)<<2))>>4|(3855&Ne)<<4,Me[De]=((65280&Ne)>>8|(255&Ne)<<8)>>1}var Re=function(e,t,n){for(var r=e.length,o=0,i=new Ee(t);o<r;++o)e[o]&&++i[e[o]-1];var s,a=new Ee(t);for(o=1;o<t;++o)a[o]=a[o-1]+i[o-1]<<1;if(n){s=new Ee(1<<t);var l=15-t;for(o=0;o<r;++o)if(e[o])for(var c=o<<4|e[o],u=t-e[o],f=a[e[o]-1]++<<u,d=f|(1<<u)-1;f<=d;++f)s[Me[f]>>l]=c}else for(s=new Ee(r),o=0;o<r;++o)e[o]&&(s[o]=Me[a[e[o]-1]++]>>15-e[o]);return s},Fe=new Se(288);for(De=0;De<144;++De)Fe[De]=8;for(De=144;De<256;++De)Fe[De]=9;for(De=256;De<280;++De)Fe[De]=7;for(De=280;De<288;++De)Fe[De]=8;var Ue=new Se(32);for(De=0;De<32;++De)Ue[De]=5;var je=Re(Fe,9,1),_e=Re(Ue,5,1),Be=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Qe=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&n},ze=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},He=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Ve=function(e,t,n){var r=new Error(t||He[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,Ve),!n)throw r;return r},qe=function(e,t,n,r){var o=e.length,i=r?r.length:0;if(!o||t.f&&!t.l)return n||new Se(0);var s=!n,a=s||2!=t.i,l=t.i;s&&(n=new Se(3*o));var c=function(e){var t=n.length;if(e>t){var r=new Se(Math.max(2*t,e));r.set(n),n=r}},u=t.f||0,f=t.p||0,d=t.b||0,h=t.l,p=t.d,g=t.m,m=t.n,y=8*o;do{if(!h){u=Qe(e,f,1);var b=Qe(e,f+1,3);if(f+=3,!b){var v=e[(L=4+((f+7)/8|0))-4]|e[L-3]<<8,w=L+v;if(w>o){l&&Ve(0);break}a&&c(d+v),n.set(e.subarray(L,w),d),t.b=d+=v,t.p=f=8*w,t.f=u;continue}if(1==b)h=je,p=_e,g=9,m=5;else if(2==b){var x=Qe(e,f,31)+257,S=Qe(e,f+10,15)+4,E=x+Qe(e,f+5,31)+1;f+=14;for(var $=new Se(E),T=new Se(19),k=0;k<S;++k)T[Ce[k]]=Qe(e,f+3*k,7);f+=3*S;var C=Be(T),O=(1<<C)-1,I=Re(T,C,1);for(k=0;k<E;){var L,P=I[Qe(e,f,O)];if(f+=15&P,(L=P>>4)<16)$[k++]=L;else{var A=0,M=0;for(16==L?(M=3+Qe(e,f,3),f+=2,A=$[k-1]):17==L?(M=3+Qe(e,f,7),f+=3):18==L&&(M=11+Qe(e,f,127),f+=7);M--;)$[k++]=A}}var D=$.subarray(0,x),N=$.subarray(x);g=Be(D),m=Be(N),h=Re(D,g,1),p=Re(N,m,1)}else Ve(1);if(f>y){l&&Ve(0);break}}a&&c(d+131072);for(var R=(1<<g)-1,F=(1<<m)-1,U=f;;U=f){var j=(A=h[ze(e,f)&R])>>4;if((f+=15&A)>y){l&&Ve(0);break}if(A||Ve(2),j<256)n[d++]=j;else{if(256==j){U=f,h=null;break}var _=j-254;if(j>264){var B=Te[k=j-257];_=Qe(e,f,(1<<B)-1)+Le[k],f+=B}var Q=p[ze(e,f)&F],z=Q>>4;Q||Ve(3),f+=15&Q;N=Ae[z];if(z>3){B=ke[z];N+=ze(e,f)&(1<<B)-1,f+=B}if(f>y){l&&Ve(0);break}a&&c(d+131072);var H=d+_;if(d<N){var V=i-N,q=Math.min(N,H);for(V+d<0&&Ve(3);d<q;++d)n[d]=r[V+d]}for(;d<H;++d)n[d]=n[d-N]}}t.l=h,t.p=U,t.b=d,t.f=u,h&&(u=1,t.m=g,t.d=p,t.n=m)}while(!u);return d!=n.length&&s?function(e,t,n){return(null==n||n>e.length)&&(n=e.length),new Se(e.subarray(t,n))}(n,0,d):n.subarray(0,d)},We=new Se(0);function Je(e,t){return qe(e,{i:2},t&&t.out,t&&t.dictionary)}var Ke="undefined"!=typeof TextDecoder&&new TextDecoder;try{Ke.decode(We,{stream:!0})}catch(e){}const Ge="function"==typeof Buffer;"function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder;const Ze=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Ye=(()=>{let e={};return Ze.forEach(((t,n)=>e[t]=n)),e})(),Xe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,et=String.fromCharCode.bind(String),tt="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),nt=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),rt="function"==typeof atob?e=>atob(nt(e)):Ge?e=>Buffer.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!Xe.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=Ye[e.charAt(i++)]<<18|Ye[e.charAt(i++)]<<12|(n=Ye[e.charAt(i++)])<<6|(r=Ye[e.charAt(i++)]),o+=64===n?et(t>>16&255):64===r?et(t>>16&255,t>>8&255):et(t>>16&255,t>>8&255,255&t);return o},ot=Ge?e=>tt(Buffer.from(e,"base64")):e=>tt(rt(e).split("").map((e=>e.charCodeAt(0)))),it=e=>nt(e.replace(/[-_]/g,(e=>"-"==e?"+":"/")));function st(e){if(null==e)return!1;switch(typeof e){case"function":case"object":return"function"==typeof e.subscribe&&"function"==typeof e.set}return!1}function at(e){if(null==e)return!1;switch(typeof e){case"function":case"object":return"function"==typeof e.subscribe&&"function"==typeof e.set&&"function"==typeof e.update}return!1}function lt(e,t,n){let r=!1;return e.subscribe((e=>{r?n(e):(r=!0,t(e))}))}function ct(e){return null!=e&&"object"==typeof e&&Symbol.iterator in e}function ut(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function ft(e,t,n){if("object"!=typeof e)return n;if("string"!=typeof t)return n;const r=t.split(".");for(let t=0;t<r.length;t++){if(void 0===e[r[t]]||null===e[r[t]])return n;e=e[r[t]]}return e}class dt{constructor(){}static#e=["HTMLAnchorElement","HTMLButtonElement","HTMLDetailsElement","HTMLEmbedElement","HTMLIFrameElement","HTMLInputElement","HTMLObjectElement","HTMLSelectElement","HTMLTextAreaElement"];static#t=new Set([Node.ELEMENT_NODE,Node.TEXT_NODE,Node.COMMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE]);static#n=new Set(["MouseEvent","PointerEvent"]);static#r=new Set(["UIEvent","FocusEvent","MouseEvent","WheelEvent","KeyboardEvent","PointerEvent","TouchEvent","InputEvent","CompositionEvent","DragEvent"]);static#o=new Set(["KeyboardEvent","MouseEvent","PointerEvent"]);static#i={throws:!1};static getActiveElement(e,{throws:t=!0}={}){if(this.#t.has(e?.nodeType))return e?.ownerDocument?.activeElement??null;if(this.isUIEvent(e)&&ut(e?.view))return e?.view?.document?.activeElement??null;if(ut(e?.defaultView))return e?.activeElement??null;if(ut(e?.document)&&ut(e?.location))return e?.document?.activeElement??null;if(t)throw new TypeError("'target' must be a DOM Node / Element, Document, UIEvent, or Window.")}static getDocument(e,{throws:t=!0}={}){if(this.#t.has(e?.nodeType))return e?.ownerDocument;if(this.isUIEvent(e)&&ut(e?.view))return e?.view?.document;if(ut(e?.defaultView))return e;if(ut(e?.document)&&ut(e?.location))return e?.document;if(t)throw new TypeError("'target' must be a DOM Node / Element, Document, UIEvent, or Window.")}static getWindow(e,{throws:t=!0}={}){if(this.#t.has(e?.nodeType))return e.ownerDocument?.defaultView??globalThis;if(this.isUIEvent(e)&&ut(e?.view))return e.view??globalThis;if(ut(e?.defaultView))return e.defaultView??globalThis;if(ut(e?.document)&&ut(e?.location))return e;if(t)throw new TypeError("'target' must be a DOM Node / Element, Document, UIEvent, or Window.")}static isDocument(e){return ut(e)&&"[object Document]"===Object.prototype.toString.call(e)}static isMap(e){return ut(e)&&"[object Map]"===Object.prototype.toString.call(e)}static isPromise(e){return ut(e)&&"[object Promise]"===Object.prototype.toString.call(e)}static isRegExp(e){return ut(e)&&"[object RegExp]"===Object.prototype.toString.call(e)}static isSet(e){return ut(e)&&"[object Set]"===Object.prototype.toString.call(e)}static isURL(e){return ut(e)&&"[object URL]"===Object.prototype.toString.call(e)}static isWindow(e){return ut(e)&&"[object Window]"===Object.prototype.toString.call(e)}static isFocusableHTMLElement(e){for(let t=this.#e.length;--t>=0;)if(this.#s(e,Node.ELEMENT_NODE,this.#e[t]))return!0;return!1}static isDocumentFragment(e){return this.#s(e,Node.DOCUMENT_FRAGMENT_NODE,"DocumentFragment")}static isElement(e){return this.#s(e,Node.ELEMENT_NODE,"Element")}static isHTMLAnchorElement(e){return this.#s(e,Node.ELEMENT_NODE,"HTMLAnchorElement")}static isHTMLElement(e){return this.#s(e,Node.ELEMENT_NODE,"HTMLElement")}static isNode(e){if("number"!=typeof e?.nodeType)return!1;if(e instanceof globalThis.Node)return!0;const t=this.getWindow(e,this.#i),n=t?.Node;return n&&e instanceof n}static isShadowRoot(e){return this.#s(e,Node.DOCUMENT_FRAGMENT_NODE,"ShadowRoot")}static isSVGElement(e){return this.#s(e,Node.ELEMENT_NODE,"SVGElement")}static isEvent(e,t){return"string"==typeof e?.type&&"boolean"==typeof e?.defaultPrevented&&"function"==typeof e?.stopPropagation&&(void 0===t||this.isCtorName(e,t))}static isPointerEvent(e){return this.isEvent(e,this.#n)}static isUIEvent(e){return this.isEvent(e,this.#r)}static isUserInputEvent(e){return this.isEvent(e,this.#o)}static isCtorName(e,t){return!!ut(e)&&("string"==typeof t&&e?.constructor?.name===t||!!t?.has(e?.constructor?.name))}static#s(e,t,n){if(!ut(e))return!1;if(e.nodeType!==t)return!1;const r=globalThis[n];if(r&&e instanceof r)return!0;const o=this.#t.has(e.nodeType)?e?.ownerDocument?.defaultView:this.getWindow(e,this.#i),i=o?.[n];return i&&e instanceof i}}class ht{static#a=/(\d+)\s*px/;static pixels(e){if("string"!=typeof e)return;const t=this.#a.test(e),n=parseInt(e);return t&&Number.isFinite(n)?n:void 0}static remPixels(e=1,{targetDocument:t=document}={}){return t?.documentElement?e*parseFloat(globalThis.getComputedStyle(t.documentElement).fontSize):void 0}}class pt{#l=new Map;#c;static#u=Object.freeze({none:0,attribute:1,function:2,resizeObserved:3,setContentBounds:4,setDimension:5,storeObject:6,storesObject:7});constructor(){this.#c=new ResizeObserver((e=>{for(const t of e){const e=this.#l.get(t?.target);if(Array.isArray(e)){const n=t.contentRect.width,r=t.contentRect.height;for(const t of e)pt.#f(t,n,r)}}}))}add(e,t){if(!dt.isHTMLElement(e))throw new TypeError("ResizeObserverManager.add error: 'el' is not a HTMLElement.");if(this.#d(e,t))return;const n=pt.#h(t);if(0===n)throw new Error("ResizeObserverManager.add error: 'target' is not a valid ResizeObserverManager target.");const r=globalThis.getComputedStyle(e),o=ht.pixels(e.style.borderBottom)??ht.pixels(r.borderBottom)??0,i=ht.pixels(e.style.borderLeft)??ht.pixels(r.borderLeft)??0,s=ht.pixels(e.style.borderRight)??ht.pixels(r.borderRight)??0,a=ht.pixels(e.style.borderTop)??ht.pixels(r.borderTop)??0,l=ht.pixels(e.style.paddingBottom)??ht.pixels(r.paddingBottom)??0,c={updateType:n,target:t,contentWidth:0,contentHeight:0,styles:{additionalWidth:i+s+(ht.pixels(e.style.paddingLeft)??ht.pixels(r.paddingLeft)??0)+(ht.pixels(e.style.paddingRight)??ht.pixels(r.paddingRight)??0),additionalHeight:a+o+(ht.pixels(e.style.paddingTop)??ht.pixels(r.paddingTop)??0)+l}};if(this.#l.has(e)){this.#l.get(e).push(c)}else this.#l.set(e,[c]);this.#c.observe(e)}clear(){for(const e of this.#l.keys())this.#c.unobserve(e);this.#l.clear()}remove(e,t=void 0){const n=this.#l.get(e);if(Array.isArray(n)){if(void 0!==t){const e=n.findIndex((e=>e.target===t));e>=0&&n.splice(e,1)}else n.length=0;0===n.length&&(this.#l.delete(e),this.#c.unobserve(e))}}updateCache(e){const t=this.#l.get(e);if(Array.isArray(t)){const n=globalThis.getComputedStyle(e),r=ht.pixels(e.style.borderBottom)??ht.pixels(n.borderBottom)??0,o=ht.pixels(e.style.borderLeft)??ht.pixels(n.borderLeft)??0,i=ht.pixels(e.style.borderRight)??ht.pixels(n.borderRight)??0,s=ht.pixels(e.style.borderTop)??ht.pixels(n.borderTop)??0,a=ht.pixels(e.style.paddingBottom)??ht.pixels(n.paddingBottom)??0,l=o+i+(ht.pixels(e.style.paddingLeft)??ht.pixels(n.paddingLeft)??0)+(ht.pixels(e.style.paddingRight)??ht.pixels(n.paddingRight)??0),c=s+r+(ht.pixels(e.style.paddingTop)??ht.pixels(n.paddingTop)??0)+a;for(const e of t)e.styles.additionalWidth=l,e.styles.additionalHeight=c,pt.#f(e,e.contentWidth,e.contentHeight)}}static#h(e){if("function"==typeof e?.resizeObserved)return this.#u.resizeObserved;if("function"==typeof e?.setDimension)return this.#u.setDimension;if("function"==typeof e?.setContentBounds)return this.#u.setContentBounds;const t=typeof e;if(null!==t&&("object"===t||"function"===t)){if(at(e.resizeObserved))return this.#u.storeObject;const t=e?.stores;if((ut(t)||"function"==typeof t)&&at(t.resizeObserved))return this.#u.storesObject}return null!==t&&"object"===t?this.#u.attribute:"function"===t?this.#u.function:this.#u.none}#d(e,t){if(null==t)return!1;const n=this.#l.get(e);return!!Array.isArray(n)&&n.findIndex((e=>e.target===t))>=0}static#f(e,t,n){const r=e.styles;e.contentWidth=t,e.contentHeight=n;const o=Number.isFinite(t)?t+r.additionalWidth:void 0,i=Number.isFinite(n)?n+r.additionalHeight:void 0,s=e.target;switch(e.updateType){case this.#u.attribute:s.contentWidth=t,s.contentHeight=n,s.offsetWidth=o,s.offsetHeight=i;break;case this.#u.function:s?.(o,i,t,n);break;case this.#u.resizeObserved:s.resizeObserved?.(o,i,t,n);break;case this.#u.setContentBounds:s.setContentBounds?.(t,n);break;case this.#u.setDimension:s.setDimension?.(o,i);break;case this.#u.storeObject:s.resizeObserved.update((e=>(e.contentHeight=n,e.contentWidth=t,e.offsetHeight=i,e.offsetWidth=o,e)));break;case this.#u.storesObject:s.stores.resizeObserved.update((e=>(e.contentHeight=n,e.contentWidth=t,e.offsetHeight=i,e.offsetWidth=o,e)))}}}const gt=new pt;function mt(e,t){return gt.add(e,t),{update:n=>{gt.remove(e,t),t=n,gt.add(e,t)},destroy:()=>{gt.remove(e,t)}}}mt.updateCache=function(e){gt.updateCache(e)};class yt{constructor(){throw new Error("Timing constructor: This is a static class and should not be constructed.")}static debounce(e,t){if("function"!=typeof e)throw new TypeError("'callback' must be a function.");if(!Number.isInteger(t)||t<0)throw new TypeError("'delay' must be a positive integer representing milliseconds.");let n;return function(...r){globalThis.clearTimeout(n),n=globalThis.setTimeout((()=>{e.apply(this,r)}),t)}}static doubleClick({single:e,double:t,delay:n=400}){if(void 0!==e&&"function"!=typeof e)throw new TypeError("'single' must be a function.");if(void 0!==t&&"function"!=typeof t)throw new TypeError("'double' must be a function.");if(!Number.isInteger(n)||n<0)throw new TypeError("'delay' must be a positive integer representing milliseconds.");let r,o=0;return i=>{globalThis.clearTimeout(r),o++,1===o?r=globalThis.setTimeout((()=>{"function"==typeof e&&e(i),o=0}),n):("function"==typeof t&&t(i),o=0)}}}function bt(){}const vt=e=>e;function wt(e,t){for(const n in t)e[n]=t[n];return e}function xt(e){return e()}function St(){return Object.create(null)}function Et(e){e.forEach(xt)}function $t(e){return"function"==typeof e}function Tt(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let kt;function Ct(e,t){return e===t||(kt||(kt=document.createElement("a")),kt.href=t,e===kt.href)}function Ot(e,...t){if(null==e){for(const e of t)e(void 0);return bt}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function It(e){let t;return Ot(e,(e=>t=e))(),t}function Lt(e,t,n){e.$$.on_destroy.push(Ot(t,n))}function Pt(e,t,n,r){if(e){const o=At(e,t,n,r);return e[0](o)}}function At(e,t,n,r){return e[1]&&r?wt(n.ctx.slice(),e[1](r(t))):n.ctx}function Mt(e,t,n,r){if(e[2]&&r){const o=e[2](r(n));if(void 0===t.dirty)return o;if("object"==typeof o){const e=[],n=Math.max(t.dirty.length,o.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|o[r];return e}return t.dirty|o}return t.dirty}function Dt(e,t,n,r,o,i){if(o){const s=At(t,n,r,i);e.p(s,o)}}function Nt(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}function Rt(e){return null==e?"":e}function Ft(e,t,n){return e.set(n),t}function Ut(e){return e&&$t(e.destroy)?e.destroy:bt}const jt="undefined"!=typeof window;let _t=jt?()=>window.performance.now():()=>Date.now(),Bt=jt?e=>requestAnimationFrame(e):bt;const Qt=new Set;function zt(e){Qt.forEach((t=>{t.c(e)||(Qt.delete(t),t.f())})),0!==Qt.size&&Bt(zt)}const Ht="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function Vt(e,t){e.appendChild(t)}function qt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Wt(e){const t=Gt("style");return t.textContent="/* empty */",function(e,t){Vt(e.head||e,t),t.sheet}(qt(e),t),t.sheet}function Jt(e,t,n){e.insertBefore(t,n||null)}function Kt(e){e.parentNode&&e.parentNode.removeChild(e)}function Gt(e){return document.createElement(e)}function Zt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Yt(e){return document.createTextNode(e)}function Xt(){return Yt(" ")}function en(){return Yt("")}function tn(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function nn(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function rn(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function on(e,t){t=""+t,e.data!==t&&(e.data=t)}function sn(e,t){e.value=null==t?"":t}function an(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function ln(e,t,n){e.classList.toggle(t,!!n)}function cn(e,t){return new e(t)}const un=new Map;let fn,dn=0;function hn(e,t,n,r,o,i,s,a=0){const l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*i(e);c+=100*e+`%{${s(r,1-r)}}\n`}const u=c+`100% {${s(n,1-n)}}\n}`,f=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${a}`,d=qt(e),{stylesheet:h,rules:p}=un.get(d)||function(e,t){const n={stylesheet:Wt(t),rules:{}};return un.set(e,n),n}(d,e);p[f]||(p[f]=!0,h.insertRule(`@keyframes ${f} ${u}`,h.cssRules.length));const g=e.style.animation||"";return e.style.animation=`${g?`${g}, `:""}${f} ${r}ms linear ${o}ms 1 both`,dn+=1,f}function pn(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=n.length-r.length;o&&(e.style.animation=r.join(", "),dn-=o,dn||Bt((()=>{dn||(un.forEach((e=>{const{ownerNode:t}=e.stylesheet;t&&Kt(t)})),un.clear())})))}function gn(e){fn=e}function mn(){if(!fn)throw new Error("Function called outside component initialization");return fn}function yn(e){mn().$$.on_mount.push(e)}function bn(e,t){return mn().$$.context.set(e,t),t}function vn(e){return mn().$$.context.get(e)}function wn(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach((e=>e.call(this,t)))}const xn=[],Sn=[];let En=[];const $n=[],Tn=Promise.resolve();let kn=!1;function Cn(){kn||(kn=!0,Tn.then(Mn))}function On(){return Cn(),Tn}function In(e){En.push(e)}const Ln=new Set;let Pn,An=0;function Mn(){if(0!==An)return;const e=fn;do{try{for(;An<xn.length;){const e=xn[An];An++,gn(e),Dn(e.$$)}}catch(e){throw xn.length=0,An=0,e}for(gn(null),xn.length=0,An=0;Sn.length;)Sn.pop()();for(let e=0;e<En.length;e+=1){const t=En[e];Ln.has(t)||(Ln.add(t),t())}En.length=0}while(xn.length);for(;$n.length;)$n.pop()();kn=!1,Ln.clear(),gn(e)}function Dn(e){if(null!==e.fragment){e.update(),Et(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(In)}}function Nn(e,t,n){e.dispatchEvent(function(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}(`${t?"intro":"outro"}${n}`))}const Rn=new Set;let Fn;function Un(){Fn={r:0,c:[],p:Fn}}function jn(){Fn.r||Et(Fn.c),Fn=Fn.p}function _n(e,t){e&&e.i&&(Rn.delete(e),e.i(t))}function Bn(e,t,n,r){if(e&&e.o){if(Rn.has(e))return;Rn.add(e),Fn.c.push((()=>{Rn.delete(e),r&&(n&&e.d(1),r())})),e.o(t)}else r&&r()}const Qn={duration:0};function zn(e,t,n,r){let o,i=t(e,n,{direction:"both"}),s=r?0:1,a=null,l=null,c=null;function u(){c&&pn(e,c)}function f(e,t){const n=e.b-s;return t*=Math.abs(n),{a:s,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function d(t){const{delay:n=0,duration:r=300,easing:d=vt,tick:h=bt,css:p}=i||Qn,g={start:_t()+n,b:t};t||(g.group=Fn,Fn.r+=1),"inert"in e&&(t?void 0!==o&&(e.inert=o):(o=e.inert,e.inert=!0)),a||l?l=g:(p&&(u(),c=hn(e,s,t,r,n,d,p)),t&&h(0,1),a=f(g,r),In((()=>Nn(e,t,"start"))),function(e){let t;0===Qt.size&&Bt(zt),new Promise((n=>{Qt.add(t={c:e,f:n})}))}((t=>{if(l&&t>l.start&&(a=f(l,r),l=null,Nn(e,a.b,"start"),p&&(u(),c=hn(e,s,a.b,a.duration,0,d,i.css))),a)if(t>=a.end)h(s=a.b,1-s),Nn(e,a.b,"end"),l||(a.b?u():--a.group.r||Et(a.group.c)),a=null;else if(t>=a.start){const e=t-a.start;s=a.a+a.d*d(e/a.duration),h(s,1-s)}return!(!a&&!l)})))}return{run(e){$t(i)?(Pn||(Pn=Promise.resolve(),Pn.then((()=>{Pn=null}))),Pn).then((()=>{i=i({direction:e?"in":"out"}),d(e)})):d(e)},end(){u(),a=l=null}}}function Hn(e){return void 0!==e?.length?e:Array.from(e)}function Vn(e,t){e.d(1),t.delete(e.key)}function qn(e,t){Bn(e,1,1,(()=>{t.delete(e.key)}))}function Wn(e,t,n,r,o,i,s,a,l,c,u,f){let d=e.length,h=i.length,p=d;const g={};for(;p--;)g[e[p].key]=p;const m=[],y=new Map,b=new Map,v=[];for(p=h;p--;){const e=f(o,i,p),r=n(e);let a=s.get(r);a?v.push((()=>a.p(e,t))):(a=c(r,e),a.c()),y.set(r,m[p]=a),r in g&&b.set(r,Math.abs(p-g[r]))}const w=new Set,x=new Set;function S(e){_n(e,1),e.m(a,u),s.set(e.key,e),u=e.first,h--}for(;d&&h;){const t=m[h-1],n=e[d-1],r=t.key,o=n.key;t===n?(u=t.first,d--,h--):y.has(o)?!s.has(r)||w.has(r)?S(t):x.has(o)?d--:b.get(r)>b.get(o)?(x.add(r),S(t)):(w.add(o),d--):(l(n,s),d--)}for(;d--;){const t=e[d];y.has(t.key)||l(t,s)}for(;h;)S(m[h-1]);return Et(v),m}function Jn(e,t){const n={},r={},o={$$scope:1};let i=e.length;for(;i--;){const s=e[i],a=t[i];if(a){for(const e in s)e in a||(r[e]=1);for(const e in a)o[e]||(n[e]=a[e],o[e]=1);e[i]=a}else for(const e in s)o[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function Kn(e){return"object"==typeof e&&null!==e?e:{}}function Gn(e){e&&e.c()}function Zn(e,t,n){const{fragment:r,after_update:o}=e.$$;r&&r.m(t,n),In((()=>{const t=e.$$.on_mount.map(xt).filter($t);e.$$.on_destroy?e.$$.on_destroy.push(...t):Et(t),e.$$.on_mount=[]})),o.forEach(In)}function Yn(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];En.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),En=t}(n.after_update),Et(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Xn(e,t,n,r,o,i,s=null,a=[-1]){const l=fn;gn(e);const c=e.$$={fragment:null,ctx:[],props:i,update:bt,not_equal:o,bound:St(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:St(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(c.root);let u=!1;if(c.ctx=n?n(e,t.props||{},((t,n,...r)=>{const i=r.length?r[0]:n;return c.ctx&&o(c.ctx[t],c.ctx[t]=i)&&(!c.skip_bound&&c.bound[t]&&c.bound[t](i),u&&function(e,t){-1===e.$$.dirty[0]&&(xn.push(e),Cn(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),n})):[],c.update(),u=!0,Et(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);c.fragment&&c.fragment.l(e),e.forEach(Kt)}else c.fragment&&c.fragment.c();t.intro&&_n(e.$$.fragment),Zn(e,t.target,t.anchor),Mn()}gn(l)}class er{$$=void 0;$$set=void 0;$destroy(){Yn(this,1),this.$destroy=bt}$on(e,t){if(!$t(t))return bt;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const tr=[];function nr(e,t){return{subscribe:rr(e,t).subscribe}}function rr(e,t=bt){let n;const r=new Set;function o(t){if(Tt(e,t)&&(e=t,n)){const t=!tr.length;for(const t of r)t[1](),tr.push(t,e);if(t){for(let e=0;e<tr.length;e+=2)tr[e][0](tr[e+1]);tr.length=0}}}function i(t){o(t(e))}return{set:o,update:i,subscribe:function(s,a=bt){const l=[s,a];return r.add(l),1===r.size&&(n=t(o,i)||bt),s(e),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function or(e,{store:t,animate:n=!0,clickActive:r=!0,enabled:o=!0}={}){e.dataset.closing="false";const i=e.querySelector("summary");let s,a=null;for(const t of e.children)if("SUMMARY"!==t.tagName){a=t;break}let l,c=e.open;function u(t,r,o){const i=Math.max(0,30*Math.log(Math.abs(r-t)+Number.EPSILON));n?(e.style.overflow="hidden",a&&(a.style.overflow="hidden"),s=e.animate({height:[`${t}px`,`${r}px`]},{duration:i,easing:"ease-out"}),s.onfinish=()=>{e.open=o,e.dataset.closing="false",e.style.overflow=null,a&&(a.style.overflow=null)}):(e.open=o,e.dataset.closing="false",e.style.overflow=null,a&&(a.style.overflow=null))}st(t)||(t=rr(!1)),t&&(l=lt(t,(t=>{o&&"boolean"==typeof t&&(c=t,e.open=c)}),(async e=>{o&&"boolean"==typeof e&&(c=e,await On(),d())})));const f=()=>{};function d(){if(n)if(c){const t=e.offsetHeight;s&&(s.cancel(),s.effect=null,s.onfinish=f),e.open=!0;u(t,e.offsetHeight,!0)}else{const t=e.offsetHeight;s&&(s.cancel(),s.effect=null,s.onfinish=f);const n=i.offsetHeight;e.dataset.closing="true",u(t,n,!1)}else e.open=c}function h(e){r&&o&&(e.preventDefault(),t.set(!c))}return i.addEventListener("click",h),{update(i){"boolean"==typeof i.animate&&(n=i.animate),"boolean"==typeof i.clickActive&&(r=i.clickActive),"boolean"==typeof i.enabled&&(o=i.enabled),st(i.store)&&i.store!==t&&("function"==typeof l&&l(),t=i.store,l=lt(t,(t=>{o&&"boolean"==typeof t&&(c=t,e.open=c)}),(async e=>{o&&"boolean"==typeof e&&(c=e,await On(),d())})))},destroy(){"function"==typeof l&&l(),i.removeEventListener("click",h)}}}function ir({storage:e,serialize:t=JSON.stringify,deserialize:n=JSON.parse}){function r(e,t,n){return{subscribe:o(e,t,n).subscribe}}function o(r,o,i){if(e){const i=e.getItem(r);try{i&&(o=n(i))}catch(e){}e.setItem(r,t(o))}const s=rr(o,i?function(n){return i((function(o){return e&&e.setItem(r,t(o)),n(o)}),(function(e){a(e(It(s)))}))}:void 0);function a(n){e&&e.setItem(r,t(n)),s.set(n)}return{set:a,update:function(e){a(e(It(s)))},subscribe:function(e,t){return s.subscribe(e,t)}}}return{readable:r,writable:o,derived:function(t,o,i,s){const a=!Array.isArray(o),l=a?[o]:o;if(e&&e.getItem(t))try{s=n(e.getItem(t))}catch(e){}return r(t,s,((e,t)=>{let n=!1;const r=[];let o,s=0;const c=()=>{if(s)return;o?.();const n=a?r[0]:r;if(i.length<2)e(i(n));else{const r=i(n,e,t);"function"==typeof r&&(o=r)}},u=l.map(((e,t)=>e.subscribe((e=>{r[t]=e,s&=~(1<<t),n&&c()}),(()=>{s|=1<<t}))));return n=!0,c(),function(){u.forEach((e=>e())),o?.()}}))},storage:e,serialize:t,deserialize:n}}const sr=ir({storage:globalThis?.localStorage}),ar=ir({storage:globalThis?.sessionStorage});class lr{#p;#g=new Map;constructor(e){this.#p=e}#m(e,t=void 0,n){try{const r=this.#p.storage.getItem(e);if(null!==r){t=(n?.deserialize??this.#p.deserialize)(r)}}catch(e){}return(n?.writable??this.#p.writable)(e,t)}#y(e){return this.#g.get(e)?.deserialize??this.#p.deserialize}#b(e){return this.#g.get(e)?.serialize??this.#p.serialize}#v(e,t=void 0,n){const r=this.#g.get(e);if(r)return r.store;const o=this.#m(e,t,n);return this.#g.set(e,{store:o,deserialize:n?.deserialize,serialize:n?.serialize}),o}getItem(e,t){let n=t;const r=this.#p.storage.getItem(e);if(null!==r)try{n=this.#y(e)(r)}catch(e){n=t}else if(void 0!==t)try{const n=this.#b(e)(t);this.#p.storage.setItem(e,n)}catch(e){}return n}getStore(e,t,n){return this.#v(e,t,n)}hasStore(e){return this.#g.has(e)}setItem(e,t){this.#v(e).set(t)}swapItemBoolean(e,t){const n=this.#v(e,t);let r=!1;try{r=!!this.#y(e)(this.#p.storage.getItem(e))}catch(e){}const o="boolean"==typeof r&&!r;return n.set(o),o}*entries(e=void 0){if(void 0!==e&&!dt.isRegExp(e))throw new TypeError("'regex' is not a RegExp");if(this.#g.size)if(e)for(const t of this.#g.keys())e.test(t)&&(yield[t,this.getStore(t)]);else for(const e of this.#g.keys())yield[e,this.getStore(e)]}*keys(e=void 0){if(void 0!==e&&!dt.isRegExp(e))throw new TypeError("'regex' is not a RegExp");if(this.#g.size)if(e)for(const t of this.#g.keys())e.test(t)&&(yield t);else for(const e of this.#g.keys())yield e}*stores(e=void 0){if(void 0!==e&&!dt.isRegExp(e))throw new TypeError("'regex' is not a RegExp");if(this.#g.size)if(e)for(const t of this.#g.keys())e.test(t)&&(yield this.getStore(t));else for(const e of this.#g.keys())yield this.getStore(e)}}class cr extends lr{constructor(){super(sr)}}class ur extends lr{constructor(){super(ar)}}class fr{static#w=[];static#x=new ur;static#S;static get sessionStorage(){return this.#x}static initialize(e){globalThis.requestAnimationFrame((()=>{this.#E(e.storagePrepend),e.settingStores.themeAnimate.subscribe((e=>this.#$(e)))}))}static openOnThisPage({focus:e=!0}={}){const t=globalThis.document.querySelector("details.tsd-page-navigation");if(t){const n=t.querySelector("summary");n&&(this.#x.hasStore(this.#S)&&this.#x.getStore(this.#S).set(!0),e&&setTimeout((()=>n.focus({focusVisible:!0})),0))}}static#E(e){const t=document.querySelectorAll("details.tsd-accordion"),n=new Map;for(const r of t){const t=r.querySelector("summary");let o;if(t&&(o=`${e}-accordion-${t.dataset.key??t.textContent?.trim?.()?.replace(/\s+/g,"-").toLowerCase()}`),o===`${e}-accordion-on-this-page`&&(this.#S=o),"string"==typeof o&&o.length){const e=n.get(o);e?e.add(r):n.set(o,new Set([r]))}}const r=globalThis.location.hash;for(const[e,t]of n){const n=this.#x.getStore(e,!0);if(r)for(const e of t){Array.from(e.querySelectorAll("*")).find((e=>`#${e.id}`===r))&&n.set(!0)}for(const e of t)this.#w.push(or(e,{store:n})),e.addEventListener("toggle",(e=>n.set(e.target.open)))}setTimeout((()=>{for(const e of n.values())for(const t of e){const e=t.querySelector("summary svg");e&&e.classList.add("dmt-summary-svg")}}),500)}static#$(e){for(const t of this.#w)t?.update({animate:e})}}class dr{static#T=!1;static get debug(){return this.#T}static set debug(e){if("boolean"!=typeof e)throw new TypeError("'debug' is not a boolean.");this.#T=e}static get prefersReducedMotion(){return globalThis?.matchMedia("(prefers-reduced-motion: reduce)")?.matches??!1}static applyFocusSource(e){if(!ut(e))return;const t=ut(e?.focusSource)?e.focusSource:e;setTimeout((()=>{const e="boolean"==typeof t.debug?this.debug||t.debug:this.debug;if(ct(t.focusEl)){e&&console.debug("A11yHelper.applyFocusSource debug - Attempting to apply focus target: ",t.focusEl);for(const n of t.focusEl){if(n?.nodeType===Node.ELEMENT_NODE&&n?.isConnected){n?.focus(),e&&console.debug("A11yHelper.applyFocusSource debug - Applied focus to target: ",n);break}if("string"==typeof n){const t=document.querySelector(n);if(t?.nodeType===Node.ELEMENT_NODE&&t?.isConnected){t?.focus(),e&&console.debug("A11yHelper.applyFocusSource debug - Applied focus to target: ",t);break}e&&console.debug("A11yHelper.applyFocusSource debug - Could not query selector: ",n)}}}else e&&console.debug("A11yHelper.applyFocusSource debug - No focus targets defined.")}),0)}static getFirstFocusableElement(e=document,t){const n=this.getFocusableElements(e,t);return n.length>0?n[0]:void 0}static getFocusableElements(e=document,{anchorHref:t=!0,ignoreClasses:n,ignoreElements:r,parentHidden:o=!1,selectors:i}={}){if(e?.nodeType!==Node.ELEMENT_NODE&&e?.nodeType!==Node.DOCUMENT_NODE)throw new TypeError("'element' is not a HTMLElement, SVGElement, or Document instance.");if("boolean"!=typeof t)throw new TypeError("'anchorHref' is not a boolean.");if(void 0!==n&&!ct(n))throw new TypeError("'ignoreClasses' is not an iterable list.");if(void 0!==r&&!dt.isSet(r))throw new TypeError("'ignoreElements' is not a Set.");if(void 0!==i&&"string"!=typeof i)throw new TypeError("'selectors' is not a string.");const s=i??this.#k(t);let a=[...e.querySelectorAll(s)];return a=r&&n?a.filter((e=>{let t=!1;for(const r of n)if(e.classList.contains(r)){t=!0;break}return!(t||r.has(e)||"none"===e.style.display||"hidden"===e.style.visibility||e.hasAttribute("disabled")||e.hasAttribute("inert")||"true"===e.getAttribute("aria-hidden"))})):n?a.filter((e=>{let t=!1;for(const r of n)if(e.classList.contains(r)){t=!0;break}return!t&&"none"!==e.style.display&&"hidden"!==e.style.visibility&&!e.hasAttribute("disabled")&&!e.hasAttribute("inert")&&"true"!==e.getAttribute("aria-hidden")})):r?a.filter((e=>!r.has(e)&&"none"!==e.style.display&&"hidden"!==e.style.visibility&&!e.hasAttribute("disabled")&&!e.hasAttribute("inert")&&"true"!==e.getAttribute("aria-hidden"))):a.filter((e=>"none"!==e.style.display&&"hidden"!==e.style.visibility&&!e.hasAttribute("disabled")&&!e.hasAttribute("inert")&&"true"!==e.getAttribute("aria-hidden"))),o&&(a=a.filter((t=>!this.isParentHidden(t,e)))),a}static#k(e=!0){return`button, [contenteditable=""], [contenteditable="true"], details summary:not([tabindex="-1"]), embed, a${e?"[href]":""}, iframe, object, input:not([type=hidden]), select, textarea, [tabindex]:not([tabindex="-1"])`}static getFocusSource({event:e,x:t,y:n,focusEl:r,debug:o=!1}){if(void 0!==r&&!this.isFocusSource(r))throw new TypeError("A11yHelper.getFocusSource error: 'focusEl' is not a HTMLElement, SVGElement, or string.");if(void 0!==o&&"boolean"!=typeof o)throw new TypeError("A11yHelper.getFocusSource error: 'debug' is not a boolean.");const i="boolean"==typeof o?this.debug||o:this.debug;if(void 0===e){if("number"!=typeof t)throw new TypeError("A11yHelper.getFocusSource error: 'event' not defined and 'x' is not a number.");if("number"!=typeof n)throw new TypeError("A11yHelper.getFocusSource error: 'event' not defined and 'y' is not a number.");const e={debug:o,focusEl:void 0!==r?[r]:void 0,x:t,y:n};return i&&console.debug("A11yHelper.getFocusSource debug: generated 'focusSource' without event: ",e),e}if(void 0!==e&&!dt.isUserInputEvent(e))throw new TypeError("A11yHelper.getFocusSource error: 'event' is not a KeyboardEvent, MouseEvent, or PointerEvent.");if(void 0!==t&&!Number.isInteger(t))throw new TypeError("A11yHelper.getFocusSource error: 'x' is not a number.");if(void 0!==n&&!Number.isInteger(n))throw new TypeError("A11yHelper.getFocusSource error: 'y' is not a number.");let s;if(e&&(dr.isFocusable(e.target)?(s=e.target,i&&console.debug("A11yHelper.getFocusSource debug: 'targetEl' set to event.target: ",s)):dr.isFocusable(e.currentTarget)?(s=e.currentTarget,i&&console.debug("A11yHelper.getFocusSource debug: 'targetEl' set to event.currentTarget: ",s)):i&&(console.debug("A11yHelper.getFocusSource debug: 'event.target' / 'event.currentTarget' are not focusable."),console.debug("A11yHelper.getFocusSource debug: 'event.target': ",e.target),console.debug("A11yHelper.getFocusSource debug: 'event.currentTarget': ",e.currentTarget)),s&&s?.nodeType!==Node.ELEMENT_NODE&&"function"!=typeof s?.focus))throw new TypeError("A11yHelper.getFocusSource error: 'targetEl' is not an HTMLElement or SVGElement.");const a={debug:o};if(dt.isPointerEvent(e))if(2!==e?.button&&"contextmenu"===e.type){const o=(s??e.target).getBoundingClientRect();a.source="keyboard",a.x=t??o.left+o.width/2,a.y=n??o.top+o.height/2,a.focusEl=s?[s]:[],r&&a.focusEl.push(r)}else a.source="pointer",a.x=t??e.pageX,a.y=n??e.pageY,a.focusEl=s?[s]:[],r&&a.focusEl.push(r);else{const o=s??e?.target;if(o){const e=o.getBoundingClientRect();a.source="keyboard",a.x=t??e.left+e.width/2,a.y=n??e.top+e.height/2,a.focusEl=s?[s]:[]}r&&a.focusEl.push(r)}return i&&console.debug("A11yHelper.getFocusSource debug: generated 'focusSource' with event: ",a),a}static getLastFocusableElement(e=document,t){const n=this.getFocusableElements(e,t);return n.length>0?n[n.length-1]:void 0}static isFocusable(e,{anchorHref:t=!0,ignoreClasses:n}={}){if(null==e||e?.hidden||!e?.isConnected||e?.nodeType!==Node.ELEMENT_NODE||"function"!=typeof e?.focus)return!1;if("boolean"!=typeof t)throw new TypeError("'anchorHref' is not a boolean.");if(void 0!==n&&!ct(n))throw new TypeError("'ignoreClasses' is not an iterable list.");const r=e.getAttribute("contenteditable"),o="string"==typeof r&&(""===r||"true"===r),i=globalThis.parseInt(e.getAttribute("tabindex")),s=Number.isInteger(i)&&i>=0;return!!(o||s||dt.isFocusableHTMLElement(e))&&(!(t&&!s&&dt.isHTMLAnchorElement(e)&&"string"!=typeof e.getAttribute("href"))&&("none"!==e.style.display&&"hidden"!==e.style.visibility&&!e.hasAttribute("disabled")&&!e.hasAttribute("inert")&&"true"!==e.getAttribute("aria-hidden")))}static isFocusSource(e){return"string"==typeof e||e?.nodeType===Node.ELEMENT_NODE&&"function"==typeof e?.focus}static isFocusTarget(e){return null!=e&&e?.nodeType===Node.ELEMENT_NODE&&"function"==typeof e?.focus}static isFocusWithin(e){if(!ut(e)||e?.hidden||!e?.isConnected)return!1;let t=dt.getActiveElement(e);if(!t)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}static isParentHidden(e,t){if(!dt.isElement(e))throw new TypeError("'element' is not an Element.");if(t=t??dt.getDocument(e)?.body,!dt.isElement(t))throw new TypeError("'stopElement' must be an Element.");let n=e.parentElement;for(;n&&n!==t;){if(0===n.offsetWidth&&0===n.offsetHeight)return!0;n=n.parentElement}return!1}}async function hr(e=1){if(!Number.isInteger(e)||e<1)throw new TypeError("nextAnimationFrame error: 'cntr' must be a positive integer greater than 0.");let t;for(;--e>=0;)t=await new Promise((e=>requestAnimationFrame(e)));return t}let pr=class{static searchPath(e,t,n){if(!e?.length)return!1;for(const n of e)if(!Array.isArray(n.children)&&n?.path===t)return!0;for(const r of e)if(Array.isArray(r.children)&&this.#C(r,t,n))return!0;return!1}static walk(e,t){for(const n of e)Array.isArray(n.children)&&this.#O(n,void 0,t)}static walkFrom(e,t){this.#O(e,void 0,t)}static#C(e,t,n){if(e.path===t)return!0;if(Array.isArray(e.children))for(const r of e.children){if(this.#C(r,t,n))return n({entry:e}),!0}return!1}static#O(e,t,n){if(Array.isArray(e.children))for(const t of e.children)this.#O(t,e,n);n({entry:e,parentEntry:t})}};class gr{#I;#L=!1;#P;#A;#M;#D;#N;constructor({currentPathURL:e,setCurrentPathURL:t,elementIndex:n,storagePrepend:r,treeName:o}){this.#A=t,this.#I=n,this.#M=r,this.#N=o,this.#P=new ur,this.#R(e),this.#F()}get elementIndex(){return this.#I}get hasData(){return this.#I?.length>0}get hasFolders(){return this.#L}get sessionStorage(){return this.#P}get storeFoldersAllOpen(){return this.#D}ensureCurrentPath(e,{setCurrent:t=!0}={}){const n=pr.searchPath(this.elementIndex,e,(({entry:e})=>{e.storageKey&&this.#P.setItem(e.storageKey,!0)}));return n&&t&&this.#A(e,this.#N),n}setChildFolderState(e,t){pr.walkFrom(e,(({entry:e})=>{e.storageKey&&this.#P.setItem(e.storageKey,t)}))}setFoldersAllOpen(e){for(const t of this.sessionStorage.stores())t.set(e)}swapFoldersAllOpen(){this.setFoldersAllOpen(!It(this.storeFoldersAllOpen))}#F(){this.#D=function(e,t,n){const r=!Array.isArray(e),o=r?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return nr(n,((e,n)=>{let s=!1;const a=[];let l=0,c=bt;const u=()=>{if(l)return;c();const o=t(r?a[0]:a,e,n);i?e(o):c=$t(o)?o:bt},f=o.map(((e,t)=>Ot(e,(e=>{a[t]=e,l&=~(1<<t),s&&u()}),(()=>{l|=1<<t}))));return s=!0,u(),function(){Et(f),c(),s=!1}}))}([...this.sessionStorage.stores()],((e,t)=>t(!!e.reduce(((e,t)=>e&t),!0))))}#U(e){return pr.searchPath(this.elementIndex,e,(({entry:e})=>{e.storageKey&&this.#P.setItem(e.storageKey,!0)}))}#j(){let e=0;pr.walk(this.#I,(({entry:t,parentEntry:n})=>{if(n||e++,!Array.isArray(t?.children))return;const r=n?n.path??n.text:"";t.storageKey=`${this.#M}-${t.path??`${r}-${t.text}`}`,this.#P.getStore(t.storageKey,!1)})),this.#L=e>0}#R(e){this.#j();const t=this.#U(e);if(t)this.#A(e,this.#N);else if(e.includes("#")){const n=e.split("#");if(!t){const e=n[0];e&&this.#U(e)&&this.#A(e,this.#N)}}}}class mr{#_="";#B;#Q;#z;#H;#V;#q;constructor(e,t,n){this.#Q=e,this.#B=t.initialPathURL;const{subscribe:r,update:o}=rr(this.#B);this.#z=Object.freeze({subscribe:r}),this.#H=o;const i=t.storagePrepend,s=this.#A.bind(this);this.#V=new gr({currentPathURL:this.#B,setCurrentPathURL:s,elementIndex:n?.markdown??[],storagePrepend:`${i}-markdown`,treeName:"markdown"}),this.#q=new gr({currentPathURL:this.#B,setCurrentPathURL:s,elementIndex:n?.source??[],storagePrepend:`${i}-source`,treeName:"source"}),this.#W(),globalThis.addEventListener("hashchange",this.#J.bind(this)),this.ensureCurrentPath()}get activeTreeName(){return this.#_}get currentPathURL(){return this.#B}get markdown(){return this.#V}get source(){return this.#q}get storeCurrentPathURL(){return this.#z}ensureCurrentPath({pathURL:e=this.#B,focus:t=!1}={}){let n=!1;n|=this.#V.ensureCurrentPath(e),n|=this.#q.ensureCurrentPath(e),n&&hr().then((()=>{const n=document.querySelector("nav.tsd-navigation")?.querySelector(`a[href*="${e}"]`);n&&(n.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"}),t&&n.focus({focusVisible:!0}))}))}#W(){const e=this;function t(t){t.preventDefault();if(globalThis.location.href.split("#")[0]!==this.href.split("#")[0]||globalThis.location.hash!==this.hash)return void(globalThis.location.href=this.href);const n=this.href.replace(e.#Q.baseURL,"");if(!e.ensureCurrentPath({pathURL:n})&&n.includes("#")){const t=n.split("#");t[0]&&e.ensureCurrentPath({pathURL:t[0]})}}const n=document.querySelectorAll('div.col-content a[href*="#"], details.tsd-page-navigation a[href*="#"]');for(const e of n)e.addEventListener("click",t)}#J(e){const t=e.newURL.replace(this.#Q.baseURL,"");if(!this.ensureCurrentPath({pathURL:t})&&t.includes("#")){const e=t.split("#")[0];e&&this.ensureCurrentPath({pathURL:e})}}#A(e,t){switch(t){case"markdown":case"source":this.#_=t;break;default:this.#_=""}this.#B=e,this.#H((()=>e))}}class yr{#K;constructor(e,t){this.#K=new mr(this,e,t)}get treeState(){return this.#K}}var br,vr={exports:{}};
|
|
7
|
-
/**
|
|
8
|
-
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
|
|
9
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
10
|
-
* @license MIT
|
|
11
|
-
*/var wr,xr=(br||(br=1,wr=vr,function(){var e,t,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,y,b,v,w,x,S,E,$,T,k,C,O,I=function(e){var t=new I.Builder;return t.pipeline.add(I.trimmer,I.stopWordFilter,I.stemmer),t.searchPipeline.add(I.stemmer),e.call(t,t),t.build()};I.version="2.3.9",
|
|
12
|
-
/*!
|
|
13
|
-
* lunr.utils
|
|
14
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
15
|
-
*/
|
|
16
|
-
I.utils={},I.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),I.utils.asString=function(e){return null==e?"":e.toString()},I.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r<n.length;r++){var o=n[r],i=e[o];if(Array.isArray(i))t[o]=i.slice();else{if("string"!=typeof i&&"number"!=typeof i&&"boolean"!=typeof i)throw new TypeError("clone is not deep and does not support nested objects");t[o]=i}}return t},I.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},I.FieldRef.joiner="/",I.FieldRef.fromString=function(e){var t=e.indexOf(I.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),r=e.slice(t+1);return new I.FieldRef(r,n,e)},I.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+I.FieldRef.joiner+this.docRef),this._stringValue},
|
|
17
|
-
/*!
|
|
18
|
-
* lunr.Set
|
|
19
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
20
|
-
*/
|
|
21
|
-
I.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},I.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},I.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},I.Set.prototype.contains=function(e){return!!this.elements[e]},I.Set.prototype.intersect=function(e){var t,n,r,o=[];if(e===I.Set.complete)return this;if(e===I.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),r=Object.keys(t.elements);for(var i=0;i<r.length;i++){var s=r[i];s in n.elements&&o.push(s)}return new I.Set(o)},I.Set.prototype.union=function(e){return e===I.Set.complete?I.Set.complete:e===I.Set.empty?this:new I.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},I.idf=function(e,t){var n=0;for(var r in e)"_index"!=r&&(n+=Object.keys(e[r]).length);var o=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(o))},I.Token=function(e,t){this.str=e||"",this.metadata=t||{}},I.Token.prototype.toString=function(){return this.str},I.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},I.Token.prototype.clone=function(e){return e=e||function(e){return e},new I.Token(e(this.str,this.metadata),this.metadata)},
|
|
22
|
-
/*!
|
|
23
|
-
* lunr.tokenizer
|
|
24
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
25
|
-
*/
|
|
26
|
-
I.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new I.Token(I.utils.asString(e).toLowerCase(),I.utils.clone(t))}));for(var n=e.toString().toLowerCase(),r=n.length,o=[],i=0,s=0;i<=r;i++){var a=i-s;if(n.charAt(i).match(I.tokenizer.separator)||i==r){if(a>0){var l=I.utils.clone(t)||{};l.position=[s,a],l.index=o.length,o.push(new I.Token(n.slice(s,i),l))}s=i+1}}return o},I.tokenizer.separator=/[\s\-]+/,
|
|
27
|
-
/*!
|
|
28
|
-
* lunr.Pipeline
|
|
29
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
30
|
-
*/
|
|
31
|
-
I.Pipeline=function(){this._stack=[]},I.Pipeline.registeredFunctions=Object.create(null),I.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&I.utils.warn("Overwriting existing registered function: "+t),e.label=t,I.Pipeline.registeredFunctions[e.label]=e},I.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||I.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},I.Pipeline.load=function(e){var t=new I.Pipeline;return e.forEach((function(e){var n=I.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},I.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){I.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},I.Pipeline.prototype.after=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},I.Pipeline.prototype.before=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},I.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},I.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var r=this._stack[n],o=[],i=0;i<e.length;i++){var s=r(e[i],i,e);if(null!=s&&""!==s)if(Array.isArray(s))for(var a=0;a<s.length;a++)o.push(s[a]);else o.push(s)}e=o}return e},I.Pipeline.prototype.runString=function(e,t){var n=new I.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},I.Pipeline.prototype.reset=function(){this._stack=[]},I.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return I.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},
|
|
32
|
-
/*!
|
|
33
|
-
* lunr.Vector
|
|
34
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
35
|
-
*/
|
|
36
|
-
I.Vector=function(e){this._magnitude=0,this.elements=e||[]},I.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,r=n-t,o=Math.floor(r/2),i=this.elements[2*o];r>1&&(i<e&&(t=o),i>e&&(n=o),i!=e);)r=n-t,o=t+Math.floor(r/2),i=this.elements[2*o];return i==e||i>e?2*o:i<e?2*(o+1):void 0},I.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},I.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var r=this.positionForIndex(e);this.elements[r]==e?this.elements[r+1]=n(this.elements[r+1],t):this.elements.splice(r,0,e,t)},I.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var r=this.elements[n];e+=r*r}return this._magnitude=Math.sqrt(e)},I.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,r=e.elements,o=n.length,i=r.length,s=0,a=0,l=0,c=0;l<o&&c<i;)(s=n[l])<(a=r[c])?l+=2:s>a?c+=2:s==a&&(t+=n[l+1]*r[c+1],l+=2,c+=2);return t},I.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},I.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},I.Vector.prototype.toJSON=function(){return this.elements},
|
|
37
|
-
/*!
|
|
38
|
-
* lunr.stemmer
|
|
39
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
40
|
-
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
|
|
41
|
-
*/
|
|
42
|
-
I.stemmer=(e={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},t={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},i="^("+(r="[^aeiou][^aeiouy]*")+")?"+(o=(n="[aeiouy]")+"[aeiou]*")+r+"("+o+")?$",s="^("+r+")?"+o+r+o+r,a="^("+r+")?"+n,l=new RegExp("^("+r+")?"+o+r),c=new RegExp(s),u=new RegExp(i),f=new RegExp(a),d=/^(.+?)(ss|i)es$/,h=/^(.+?)([^s])s$/,p=/^(.+?)eed$/,g=/^(.+?)(ed|ing)$/,m=/.$/,y=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),v=new RegExp("^"+r+n+"[^aeiouwxy]$"),w=/^(.+?[^aeiou])y$/,x=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,S=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,E=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,$=/^(.+?)(s|t)(ion)$/,T=/^(.+?)e$/,k=/ll$/,C=new RegExp("^"+r+n+"[^aeiouwxy]$"),O=function(n){var r,o,i,s,a,O,I;if(n.length<3)return n;if("y"==(i=n.substr(0,1))&&(n=i.toUpperCase()+n.substr(1)),a=h,(s=d).test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),a=g,(s=p).test(n)){var L=s.exec(n);(s=l).test(L[1])&&(s=m,n=n.replace(s,""))}else a.test(n)&&(r=(L=a.exec(n))[1],(a=f).test(r)&&(O=b,I=v,(a=y).test(n=r)?n+="e":O.test(n)?(s=m,n=n.replace(s,"")):I.test(n)&&(n+="e")));return(s=w).test(n)&&(n=(r=(L=s.exec(n))[1])+"i"),(s=x).test(n)&&(r=(L=s.exec(n))[1],o=L[2],(s=l).test(r)&&(n=r+e[o])),(s=S).test(n)&&(r=(L=s.exec(n))[1],o=L[2],(s=l).test(r)&&(n=r+t[o])),a=$,(s=E).test(n)?(r=(L=s.exec(n))[1],(s=c).test(r)&&(n=r)):a.test(n)&&(r=(L=a.exec(n))[1]+L[2],(a=c).test(r)&&(n=r)),(s=T).test(n)&&(r=(L=s.exec(n))[1],a=u,O=C,((s=c).test(r)||a.test(r)&&!O.test(r))&&(n=r)),a=c,(s=k).test(n)&&a.test(n)&&(s=m,n=n.replace(s,"")),"y"==i&&(n=i.toLowerCase()+n.substr(1)),n},function(e){return e.update(O)}),I.Pipeline.registerFunction(I.stemmer,"stemmer"),
|
|
43
|
-
/*!
|
|
44
|
-
* lunr.stopWordFilter
|
|
45
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
46
|
-
*/
|
|
47
|
-
I.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},I.stopWordFilter=I.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),I.Pipeline.registerFunction(I.stopWordFilter,"stopWordFilter"),
|
|
48
|
-
/*!
|
|
49
|
-
* lunr.trimmer
|
|
50
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
51
|
-
*/
|
|
52
|
-
I.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},I.Pipeline.registerFunction(I.trimmer,"trimmer"),
|
|
53
|
-
/*!
|
|
54
|
-
* lunr.TokenSet
|
|
55
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
56
|
-
*/
|
|
57
|
-
I.TokenSet=function(){this.final=!1,this.edges={},this.id=I.TokenSet._nextId,I.TokenSet._nextId+=1},I.TokenSet._nextId=1,I.TokenSet.fromArray=function(e){for(var t=new I.TokenSet.Builder,n=0,r=e.length;n<r;n++)t.insert(e[n]);return t.finish(),t.root},I.TokenSet.fromClause=function(e){return"editDistance"in e?I.TokenSet.fromFuzzyString(e.term,e.editDistance):I.TokenSet.fromString(e.term)},I.TokenSet.fromFuzzyString=function(e,t){for(var n=new I.TokenSet,r=[{node:n,editsRemaining:t,str:e}];r.length;){var o=r.pop();if(o.str.length>0){var i,s=o.str.charAt(0);s in o.node.edges?i=o.node.edges[s]:(i=new I.TokenSet,o.node.edges[s]=i),1==o.str.length&&(i.final=!0),r.push({node:i,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var a=o.node.edges["*"];else a=new I.TokenSet,o.node.edges["*"]=a;if(0==o.str.length&&(a.final=!0),r.push({node:a,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var l=o.node.edges["*"];else l=new I.TokenSet,o.node.edges["*"]=l;1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var c,u=o.str.charAt(0),f=o.str.charAt(1);f in o.node.edges?c=o.node.edges[f]:(c=new I.TokenSet,o.node.edges[f]=c),1==o.str.length&&(c.final=!0),r.push({node:c,editsRemaining:o.editsRemaining-1,str:u+o.str.slice(2)})}}}return n},I.TokenSet.fromString=function(e){for(var t=new I.TokenSet,n=t,r=0,o=e.length;r<o;r++){var i=e[r],s=r==o-1;if("*"==i)t.edges[i]=t,t.final=s;else{var a=new I.TokenSet;a.final=s,t.edges[i]=a,t=a}}return n},I.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),r=Object.keys(n.node.edges),o=r.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var i=0;i<o;i++){var s=r[i];t.push({prefix:n.prefix.concat(s),node:n.node.edges[s]})}}return e},I.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,r=0;r<n;r++){var o=t[r];e=e+o+this.edges[o].id}return e},I.TokenSet.prototype.intersect=function(e){for(var t=new I.TokenSet,n=void 0,r=[{qNode:e,output:t,node:this}];r.length;){n=r.pop();for(var o=Object.keys(n.qNode.edges),i=o.length,s=Object.keys(n.node.edges),a=s.length,l=0;l<i;l++)for(var c=o[l],u=0;u<a;u++){var f=s[u];if(f==c||"*"==c){var d=n.node.edges[f],h=n.qNode.edges[c],p=d.final&&h.final,g=void 0;f in n.output.edges?(g=n.output.edges[f]).final=g.final||p:((g=new I.TokenSet).final=p,n.output.edges[f]=g),r.push({qNode:h,output:g,node:d})}}}return t},I.TokenSet.Builder=function(){this.previousWord="",this.root=new I.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},I.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var r=0;r<e.length&&r<this.previousWord.length&&e[r]==this.previousWord[r];r++)n++;for(this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child,r=n;r<e.length;r++){var o=new I.TokenSet,i=e[r];t.edges[i]=o,this.uncheckedNodes.push({parent:t,char:i,child:o}),t=o}t.final=!0,this.previousWord=e},I.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},I.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},
|
|
58
|
-
/*!
|
|
59
|
-
* lunr.Index
|
|
60
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
61
|
-
*/
|
|
62
|
-
I.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},I.Index.prototype.search=function(e){return this.query((function(t){new I.QueryParser(e,t).parse()}))},I.Index.prototype.query=function(e){for(var t=new I.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),i=Object.create(null),s=Object.create(null),a=0;a<this.fields.length;a++)r[this.fields[a]]=new I.Vector;for(e.call(t,t),a=0;a<t.clauses.length;a++){var l=t.clauses[a],c=null,u=I.Set.empty;c=l.usePipeline?this.pipeline.runString(l.term,{fields:l.fields}):[l.term];for(var f=0;f<c.length;f++){var d=c[f];l.term=d;var h=I.TokenSet.fromClause(l),p=this.tokenSet.intersect(h).toArray();if(0===p.length&&l.presence===I.Query.presence.REQUIRED){for(var g=0;g<l.fields.length;g++)i[A=l.fields[g]]=I.Set.empty;break}for(var m=0;m<p.length;m++){var y=p[m],b=this.invertedIndex[y],v=b._index;for(g=0;g<l.fields.length;g++){var w=b[A=l.fields[g]],x=Object.keys(w),S=y+"/"+A,E=new I.Set(x);if(l.presence==I.Query.presence.REQUIRED&&(u=u.union(E),void 0===i[A]&&(i[A]=I.Set.complete)),l.presence!=I.Query.presence.PROHIBITED){if(r[A].upsert(v,l.boost,(function(e,t){return e+t})),!o[S]){for(var $=0;$<x.length;$++){var T,k=x[$],C=new I.FieldRef(k,A),O=w[k];void 0===(T=n[C])?n[C]=new I.MatchData(y,A,O):T.add(y,A,O)}o[S]=!0}}else void 0===s[A]&&(s[A]=I.Set.empty),s[A]=s[A].union(E)}}}if(l.presence===I.Query.presence.REQUIRED)for(g=0;g<l.fields.length;g++)i[A=l.fields[g]]=i[A].intersect(u)}var L=I.Set.complete,P=I.Set.empty;for(a=0;a<this.fields.length;a++){var A;i[A=this.fields[a]]&&(L=L.intersect(i[A])),s[A]&&(P=P.union(s[A]))}var M=Object.keys(n),D=[],N=Object.create(null);if(t.isNegated())for(M=Object.keys(this.fieldVectors),a=0;a<M.length;a++){C=M[a];var R=I.FieldRef.fromString(C);n[C]=new I.MatchData}for(a=0;a<M.length;a++){var F=(R=I.FieldRef.fromString(M[a])).docRef;if(L.contains(F)&&!P.contains(F)){var U,j=this.fieldVectors[R],_=r[R.fieldName].similarity(j);if(void 0!==(U=N[F]))U.score+=_,U.matchData.combine(n[R]);else{var B={ref:F,score:_,matchData:n[R]};N[F]=B,D.push(B)}}}return D.sort((function(e,t){return t.score-e.score}))},I.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:I.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},I.Index.load=function(e){var t={},n={},r=e.fieldVectors,o=Object.create(null),i=e.invertedIndex,s=new I.TokenSet.Builder,a=I.Pipeline.load(e.pipeline);e.version!=I.version&&I.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+I.version+"' does not match serialized index '"+e.version+"'");for(var l=0;l<r.length;l++){var c=(f=r[l])[0],u=f[1];n[c]=new I.Vector(u)}for(l=0;l<i.length;l++){var f,d=(f=i[l])[0],h=f[1];s.insert(d),o[d]=h}return s.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=o,t.tokenSet=s.root,t.pipeline=a,new I.Index(t)},
|
|
63
|
-
/*!
|
|
64
|
-
* lunr.Builder
|
|
65
|
-
* Copyright (C) 2020 Oliver Nightingale
|
|
66
|
-
*/
|
|
67
|
-
I.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=I.tokenizer,this.pipeline=new I.Pipeline,this.searchPipeline=new I.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},I.Builder.prototype.ref=function(e){this._ref=e},I.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},I.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},I.Builder.prototype.k1=function(e){this._k1=e},I.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o<r.length;o++){var i=r[o],s=this._fields[i].extractor,a=s?s(e):e[i],l=this.tokenizer(a,{fields:[i]}),c=this.pipeline.run(l),u=new I.FieldRef(n,i),f=Object.create(null);this.fieldTermFrequencies[u]=f,this.fieldLengths[u]=0,this.fieldLengths[u]+=c.length;for(var d=0;d<c.length;d++){var h=c[d];if(null==f[h]&&(f[h]=0),f[h]+=1,null==this.invertedIndex[h]){var p=Object.create(null);p._index=this.termIndex,this.termIndex+=1;for(var g=0;g<r.length;g++)p[r[g]]=Object.create(null);this.invertedIndex[h]=p}null==this.invertedIndex[h][i][n]&&(this.invertedIndex[h][i][n]=Object.create(null));for(var m=0;m<this.metadataWhitelist.length;m++){var y=this.metadataWhitelist[m],b=h.metadata[y];null==this.invertedIndex[h][i][n][y]&&(this.invertedIndex[h][i][n][y]=[]),this.invertedIndex[h][i][n][y].push(b)}}}},I.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},r={},o=0;o<t;o++){var i=I.FieldRef.fromString(e[o]),s=i.fieldName;r[s]||(r[s]=0),r[s]+=1,n[s]||(n[s]=0),n[s]+=this.fieldLengths[i]}var a=Object.keys(this._fields);for(o=0;o<a.length;o++){var l=a[o];n[l]=n[l]/r[l]}this.averageFieldLength=n},I.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,r=Object.create(null),o=0;o<n;o++){for(var i=I.FieldRef.fromString(t[o]),s=i.fieldName,a=this.fieldLengths[i],l=new I.Vector,c=this.fieldTermFrequencies[i],u=Object.keys(c),f=u.length,d=this._fields[s].boost||1,h=this._documents[i.docRef].boost||1,p=0;p<f;p++){var g,m,y,b=u[p],v=c[b],w=this.invertedIndex[b]._index;void 0===r[b]?(g=I.idf(this.invertedIndex[b],this.documentCount),r[b]=g):g=r[b],m=g*((this._k1+1)*v)/(this._k1*(1-this._b+this._b*(a/this.averageFieldLength[s]))+v),m*=d,m*=h,y=Math.round(1e3*m)/1e3,l.insert(w,y)}e[i]=l}this.fieldVectors=e},I.Builder.prototype.createTokenSet=function(){this.tokenSet=I.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},I.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new I.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},I.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},I.MatchData=function(e,t,n){for(var r=Object.create(null),o=Object.keys(n||{}),i=0;i<o.length;i++){var s=o[i];r[s]=n[s].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=r)},I.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var r=t[n],o=Object.keys(e.metadata[r]);null==this.metadata[r]&&(this.metadata[r]=Object.create(null));for(var i=0;i<o.length;i++){var s=o[i],a=Object.keys(e.metadata[r][s]);null==this.metadata[r][s]&&(this.metadata[r][s]=Object.create(null));for(var l=0;l<a.length;l++){var c=a[l];null==this.metadata[r][s][c]?this.metadata[r][s][c]=e.metadata[r][s][c]:this.metadata[r][s][c]=this.metadata[r][s][c].concat(e.metadata[r][s][c])}}}},I.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o];i in this.metadata[e][t]?this.metadata[e][t][i]=this.metadata[e][t][i].concat(n[i]):this.metadata[e][t][i]=n[i]}else this.metadata[e][t]=n},I.Query=function(e){this.clauses=[],this.allFields=e},I.Query.wildcard=new String("*"),I.Query.wildcard.NONE=0,I.Query.wildcard.LEADING=1,I.Query.wildcard.TRAILING=2,I.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},I.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=I.Query.wildcard.NONE),e.wildcard&I.Query.wildcard.LEADING&&e.term.charAt(0)!=I.Query.wildcard&&(e.term="*"+e.term),e.wildcard&I.Query.wildcard.TRAILING&&e.term.slice(-1)!=I.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=I.Query.presence.OPTIONAL),this.clauses.push(e),this},I.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=I.Query.presence.PROHIBITED)return!1;return!0},I.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,I.utils.clone(t))}),this),this;var n=t||{};return n.term=e.toString(),this.clause(n),this},I.QueryParseError=function(e,t,n){this.name="QueryParseError",this.message=e,this.start=t,this.end=n},I.QueryParseError.prototype=new Error,I.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},I.QueryLexer.prototype.run=function(){for(var e=I.QueryLexer.lexText;e;)e=e(this)},I.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,n=this.pos,r=0;r<this.escapeCharPositions.length;r++)n=this.escapeCharPositions[r],e.push(this.str.slice(t,n)),t=n+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},I.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},I.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},I.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return I.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},I.QueryLexer.prototype.width=function(){return this.pos-this.start},I.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},I.QueryLexer.prototype.backup=function(){this.pos-=1},I.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=I.QueryLexer.EOS&&this.backup()},I.QueryLexer.prototype.more=function(){return this.pos<this.length},I.QueryLexer.EOS="EOS",I.QueryLexer.FIELD="FIELD",I.QueryLexer.TERM="TERM",I.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",I.QueryLexer.BOOST="BOOST",I.QueryLexer.PRESENCE="PRESENCE",I.QueryLexer.lexField=function(e){return e.backup(),e.emit(I.QueryLexer.FIELD),e.ignore(),I.QueryLexer.lexText},I.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(I.QueryLexer.TERM)),e.ignore(),e.more())return I.QueryLexer.lexText},I.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.EDIT_DISTANCE),I.QueryLexer.lexText},I.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.BOOST),I.QueryLexer.lexText},I.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(I.QueryLexer.TERM)},I.QueryLexer.termSeparator=I.tokenizer.separator,I.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==I.QueryLexer.EOS)return I.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return I.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if(t.match(I.QueryLexer.termSeparator))return I.QueryLexer.lexTerm}else e.escapeCharacter()}},I.QueryParser=function(e,t){this.lexer=new I.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},I.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=I.QueryParser.parseClause;e;)e=e(this);return this.query},I.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},I.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},I.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},I.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case I.QueryLexer.PRESENCE:return I.QueryParser.parsePresence;case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new I.QueryParseError(n,t.start,t.end)}},I.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=I.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=I.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new I.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r)throw n="expecting term or field, found nothing",new I.QueryParseError(n,t.start,t.end);switch(r.type){case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:throw n="expecting term or field, found '"+r.type+"'",new I.QueryParseError(n,r.start,r.end)}}},I.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o)throw r="expecting term, found nothing",new I.QueryParseError(r,t.start,t.end);if(o.type===I.QueryLexer.TERM)return I.QueryParser.parseTerm;throw r="expecting term, found '"+o.type+"'",new I.QueryParseError(r,o.start,o.end)}},I.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new I.QueryParseError(r,n.start,n.end)}else e.nextClause()}},I.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:throw r="Unexpected lexeme type '"+o.type+"'",new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},I.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:throw r="Unexpected lexeme type '"+o.type+"'",new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},wr.exports=I}()),vr.exports);function Sr(e,t){if(""===t)return e;const n=e.toLocaleLowerCase(),r=t.toLocaleLowerCase(),o=[];let i=0,s=n.indexOf(r);for(;-1!==s;)o.push($r(e.substring(i,s)),`<b>${$r(e.substring(s,s+r.length))}</b>`),i=s+r.length,s=n.indexOf(r,i);return o.push($r(e.substring(i))),o.join("")}const Er={"&":"&","<":"<",">":">","'":"'",'"':"""};function $r(e){return e.replace(/[&<>"']/g,(e=>Er[e]))}class Tr{static async getDimensions(e,{accessor:t="url",warn:n=!1}={}){const r=[],o=[],i=[],s=ct(e)?e:[e];for(const e of s){let o;"string"==typeof e?o=e:ut(e)&&(o=ft(e,t)),"string"==typeof o?r.push(new Promise(((e,t)=>{const n=new Image;n.src=o,n.onload=()=>e({url:o,width:n.naturalWidth,height:n.naturalHeight}),n.onerror=()=>t({url:o})}))):n&&console.warn("ImageData.getDimensions warning: Failed to locate target URL.")}const a=await Promise.allSettled(r);for(const e of a)switch(e.status){case"fulfilled":o.push(e.value);break;case"rejected":i.push(e.reason)}return{fulfilled:o,rejected:i}}}function kr(e,t){const n={icons:[],totalWidth:0},r=[];r.push(...t?.iconLinks?.user??[]),r.push(...t?.iconLinks?.service??[]);for(const t of r)n.icons.push({iconURL:"string"==typeof t.dmtPath?`${e.dmtURL}${t.dmtPath}`:t.iconURL,title:t.title,url:t.url});const o=rr(n),i=`${e.storagePrepend}-toolbar-iconlinks-width`;if(0===n.icons.length)globalThis.sessionStorage.removeItem(i);else{const t=e.dmtSessionStorage.getItem(i);Number.isFinite(t)&&t>0?n.totalWidth=t:Tr.getDimensions(n.icons,{accessor:"iconURL"}).then((({fulfilled:t,rejected:r})=>{r.length?globalThis.sessionStorage.removeItem(i):(o.update((e=>{for(const n of t){const t=24/n.height*n.width;e.totalWidth+=t+8}return e.totalWidth+=ht.remPixels(.35)*(t.length-1),e})),e.dmtSessionStorage.setItem(i,Math.floor(n.totalWidth)))}))}return o}const Cr="docs-dmt-theme-animate";function Or(e){let t,n,r,o,i,s,a,l,c,u,f;return{c(){t=Gt("label"),n=Gt("input"),r=Xt(),o=Zt("svg"),i=Zt("rect"),s=Zt("path"),a=Xt(),l=Gt("span"),c=Yt(e[1]),rn(n,"type","checkbox"),rn(n,"class","svelte-1y7unmi"),rn(i,"class","tsd-checkbox-background"),rn(i,"width","30"),rn(i,"height","30"),rn(i,"x","1"),rn(i,"y","1"),rn(i,"rx","6"),rn(i,"fill","none"),rn(s,"class","tsd-checkbox-checkmark"),rn(s,"d","M8.35422 16.8214L13.2143 21.75L24.6458 10.25"),rn(s,"stroke","none"),rn(s,"stroke-width","3.5"),rn(s,"stroke-linejoin","round"),rn(s,"fill","none"),rn(o,"width","32"),rn(o,"height","32"),rn(o,"viewBox","0 0 32 32"),rn(o,"aria-hidden","true"),rn(o,"class","svelte-1y7unmi"),rn(t,"class","svelte-1y7unmi")},m(d,h){Jt(d,t,h),Vt(t,n),n.checked=e[2],Vt(t,r),Vt(t,o),Vt(o,i),Vt(o,s),Vt(t,a),Vt(t,l),Vt(l,c),u||(f=tn(n,"change",e[3]),u=!0)},p(e,[t]){4&t&&(n.checked=e[2]),2&t&&on(c,e[1])},i:bt,o:bt,d(e){e&&Kt(t),u=!1,f()}}}function Ir(e,t,n){let r,o=bt,i=()=>(o(),o=Ot(s,(e=>n(2,r=e))),s);e.$$.on_destroy.push((()=>o()));let{store:s}=t;i();let{label:a}=t;return e.$$set=e=>{"store"in e&&i(n(0,s=e.store)),"label"in e&&n(1,a=e.label)},[s,a,r,function(){r=this.checked,s.set(r)}]}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class Lr extends er{constructor(e){super(),Xn(this,e,Ir,Or,Tt,{store:0,label:1})}}function Pr(e){let t,n,r=at(e[0].themeAnimate),o=r&&function(e){let t,n,r;return n=new Lr({props:{store:e[0].themeAnimate,label:"Animation"}}),{c(){t=Gt("section"),Gn(n.$$.fragment),rn(t,"class","svelte-20evnz")},m(e,o){Jt(e,t,o),Zn(n,t,null),r=!0},p:bt,i(e){r||(_n(n.$$.fragment,e),r=!0)},o(e){Bn(n.$$.fragment,e),r=!1},d(e){e&&Kt(t),Yn(n)}}}(e);return{c(){o&&o.c(),t=en()},m(e,r){o&&o.m(e,r),Jt(e,t,r),n=!0},p(e,[t]){r&&o.p(e,t)},i(e){n||(_n(o),n=!0)},o(e){Bn(o),n=!1},d(e){e&&Kt(t),o&&o.d(e)}}}function Ar(e){const{settingStores:t}=vn("#dmtComponentData");return[t]}function Mr(e,t){function n(){if(ut(t))for(const n of Object.keys(t))e.style.setProperty(`${n}`,t[n])}return n(),{update:e=>{t=e,n()}}}class Dr{static isComponent(e){if(null==e||"function"!=typeof e)return!1;const t=e?.prototype?.constructor?.name;return!("string"!=typeof t||!t.startsWith("Proxy<")&&"ProxyComponent"!==t)||("undefined"!=typeof window?"function"==typeof e.prototype.$destroy&&"function"==typeof e.prototype.$on:"function"==typeof e.render)}static isHMRProxy(e){const t=e?.constructor?.name;if("string"==typeof t&&(t.startsWith("Proxy<")||"ProxyComponent"===t))return!0;const n=e?.prototype?.constructor?.name;return"string"==typeof n&&(n.startsWith("Proxy<")||"ProxyComponent"===n)}static async outroAndDestroy(e){return null==e?Promise.resolve():new Promise((t=>{e?.$$?.fragment&&e?.$$?.fragment?.o?(Un(),Bn(e.$$.fragment,0,0,(()=>{e?.$destroy?.(),t()})),jn()):(e?.$destroy?.(),t())}))}}Object.seal(Dr);function Nr(e,t){return e}Object.seal(class{static isConfig(e,{raiseException:t=!1}={}){if(!ut(e)){if(t)throw new TypeError("TJSSvelteConfigUtil.isConfig error: 'config' is not an object.");return!1}if(!Dr.isComponent(e.class)){if(t)throw new TypeError("TJSSvelteConfigUtil.isConfig error: 'config.class' is not a Svelte component constructor.");return!1}return!0}static parseConfig(e,t=void 0){if(!ut(e))throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'config' is not an object:\n${JSON.stringify(e)}.`);if(!Dr.isComponent(e.class))throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'class' is not a Svelte component constructor for config:\n${JSON.stringify(e)}.`);if(void 0!==e.hydrate&&"boolean"!=typeof e.hydrate)throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'hydrate' is not a boolean for config:\n${JSON.stringify(e)}.`);if(void 0!==e.intro&&"boolean"!=typeof e.intro)throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'intro' is not a boolean for config:\n${JSON.stringify(e)}.`);if(void 0!==e.target&&"string"!=typeof e.target&&!dt.isElement(e.target)&&!dt.isShadowRoot(e.target)&&!dt.isDocumentFragment(e.target))throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'target' is not a Element, ShadowRoot, or DocumentFragment for config:\n${JSON.stringify(e)}.`);if(void 0!==e.anchor&&"string"!=typeof e.anchor&&!dt.isElement(e.anchor)&&!dt.isShadowRoot(e.anchor)&&!dt.isDocumentFragment(e.anchor))throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'anchor' is not a string, Element for config:\n${JSON.stringify(e)}.`);if(void 0!==e.context&&"function"!=typeof e.context&&!dt.isMap(e.context)&&!ut(e.context))throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'context' is not a Map, function or object for config:\n${JSON.stringify(e)}.`);if(void 0!==e.selectorTarget&&"string"!=typeof e.selectorTarget)throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'selectorTarget' is not a string for config:\n${JSON.stringify(e)}.`);if(void 0!==e.options&&!ut(e.options))throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'options' is not an object for config:\n${JSON.stringify(e)}.`);if(ut(e.options)){if(void 0!==e.options.injectApp&&"boolean"!=typeof e.options.injectApp)throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'options.injectApp' is not a boolean for config:\n${JSON.stringify(e)}.`);if(void 0!==e.options.injectEventbus&&"boolean"!=typeof e.options.injectEventbus)throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'options.injectEventbus' is not a boolean for config:\n${JSON.stringify(e)}.`);if(void 0!==e.options.selectorElement&&"string"!=typeof e.options.selectorElement)throw new TypeError(`TJSSvelteConfigUtil.parseConfig - 'selectorElement' is not a string for config:\n${JSON.stringify(e)}.`)}const n={...e};delete n.options;let r={};if("function"==typeof n.context){const o=n.context;delete n.context;const i=o.call(t);if(!ut(i))throw new Error(`TJSSvelteConfigUtil.parseConfig - 'context' is a function that did not return an object for config:\n${JSON.stringify(e)}`);r={...i}}else dt.isMap(n.context)?(r=Object.fromEntries(n.context),delete n.context):ut(n.context)&&(r=n.context,delete n.context);if(n.props=this.#G(n.props,t,e),Array.isArray(n.children)){const o=[];for(let r=0;r<n.children.length;r++){const i=n.children[r];if(!Dr.isComponent(i.class))throw new Error(`TJSSvelteConfigUtil.parseConfig - 'class' is not a Svelte component for child[${r}] for config:\n${JSON.stringify(e)}`);i.props=this.#G(i.props,t,e),o.push(i)}o.length>0&&(r.children=o),delete n.children}else if(ut(n.children)){if(!Dr.isComponent(n.children.class))throw new Error(`TJSSvelteConfigUtil.parseConfig - 'class' is not a Svelte component for children object for config:\n${JSON.stringify(e)}`);n.children.props=this.#G(n.children.props,t,e),r.children=[n.children],delete n.children}return dt.isMap(n.context)||(n.context=new Map),n.context.set("#external",r),n}static#G(e,t,n){if("function"==typeof e){const r=e.call(t);if(ut(r))return r;throw new Error(`TJSSvelteConfigUtil.parseConfig - 'props' is a function that did not return an object for config:\n${JSON.stringify(n)}`)}if(ut(e))return e;if(void 0!==e)throw new Error(`TJSSvelteConfigUtil.parseConfig - 'props' is not a function or an object for config:\n${JSON.stringify(n)}`);return{}}});const Rr=e=>({}),Fr=e=>({}),Ur=e=>({}),jr=e=>({});function _r(e){let t;return{c(){t=Gt("div"),rn(t,"class","tjs-folder-focus-indicator svelte-1kxmj7q")},m(e,n){Jt(e,t,n)},d(e){e&&Kt(t)}}}function Br(e){let t,n,r=Nr(e[3])+"";return{c(){t=Gt("div"),n=Yt(r),rn(t,"class","label svelte-1kxmj7q")},m(r,o){Jt(r,t,o),Vt(t,n),e[37](t)},p(e,t){8&t[0]&&r!==(r=Nr(e[3])+"")&&on(n,r)},i:bt,o:bt,d(n){n&&Kt(t),e[37](null)}}}function Qr(e){let t,n,r;const o=[ut(e[6]?.slotLabel?.props)?e[6].slotLabel.props:{}];var i=e[6].slotLabel.class;function s(e,t){let n={};for(let e=0;e<o.length;e+=1)n=wt(n,o[e]);return void 0!==t&&64&t[0]&&(n=wt(n,Jn(o,[Kn(ut(e[6]?.slotLabel?.props)?e[6].slotLabel.props:{})]))),{props:n}}return i&&(t=cn(i,s(e))),{c(){t&&Gn(t.$$.fragment),n=en()},m(e,o){t&&Zn(t,e,o),Jt(e,n,o),r=!0},p(e,r){if(64&r[0]&&i!==(i=e[6].slotLabel.class)){if(t){Un();const e=t;Bn(e.$$.fragment,1,0,(()=>{Yn(e,1)})),jn()}i?(t=cn(i,s(e,r)),Gn(t.$$.fragment),_n(t.$$.fragment,1),Zn(t,n.parentNode,n)):t=null}else if(i){const n=64&r[0]?Jn(o,[Kn(ut(e[6]?.slotLabel?.props)?e[6].slotLabel.props:{})]):{};t.$set(n)}},i(e){r||(t&&_n(t.$$.fragment,e),r=!0)},o(e){t&&Bn(t.$$.fragment,e),r=!1},d(e){e&&Kt(n),t&&Yn(t,e)}}}function zr(e){let t,n,r;const o=[ut(e[6]?.slotSummaryEnd?.props)?e[6].slotSummaryEnd.props:{}];var i=e[6].slotSummaryEnd.class;function s(e,t){let n={};for(let e=0;e<o.length;e+=1)n=wt(n,o[e]);return void 0!==t&&64&t[0]&&(n=wt(n,Jn(o,[Kn(ut(e[6]?.slotSummaryEnd?.props)?e[6].slotSummaryEnd.props:{})]))),{props:n}}return i&&(t=cn(i,s(e))),{c(){t&&Gn(t.$$.fragment),n=en()},m(e,o){t&&Zn(t,e,o),Jt(e,n,o),r=!0},p(e,r){if(64&r[0]&&i!==(i=e[6].slotSummaryEnd.class)){if(t){Un();const e=t;Bn(e.$$.fragment,1,0,(()=>{Yn(e,1)})),jn()}i?(t=cn(i,s(e,r)),Gn(t.$$.fragment),_n(t.$$.fragment,1),Zn(t,n.parentNode,n)):t=null}else if(i){const n=64&r[0]?Jn(o,[Kn(ut(e[6]?.slotSummaryEnd?.props)?e[6].slotSummaryEnd.props:{})]):{};t.$set(n)}},i(e){r||(t&&_n(t.$$.fragment,e),r=!0)},o(e){t&&Bn(t.$$.fragment,e),r=!1},d(e){e&&Kt(n),t&&Yn(t,e)}}}function Hr(e){let t,n,r;const o=[ut(e[6]?.slotDefault?.props)?e[6].slotDefault.props:{}];var i=e[6].slotDefault.class;function s(e,t){let n={};for(let e=0;e<o.length;e+=1)n=wt(n,o[e]);return void 0!==t&&64&t[0]&&(n=wt(n,Jn(o,[Kn(ut(e[6]?.slotDefault?.props)?e[6].slotDefault.props:{})]))),{props:n}}return i&&(t=cn(i,s(e))),{c(){t&&Gn(t.$$.fragment),n=en()},m(e,o){t&&Zn(t,e,o),Jt(e,n,o),r=!0},p(e,r){if(64&r[0]&&i!==(i=e[6].slotDefault.class)){if(t){Un();const e=t;Bn(e.$$.fragment,1,0,(()=>{Yn(e,1)})),jn()}i?(t=cn(i,s(e,r)),Gn(t.$$.fragment),_n(t.$$.fragment,1),Zn(t,n.parentNode,n)):t=null}else if(i){const n=64&r[0]?Jn(o,[Kn(ut(e[6]?.slotDefault?.props)?e[6].slotDefault.props:{})]):{};t.$set(n)}},i(e){r||(t&&_n(t.$$.fragment,e),r=!0)},o(e){t&&Bn(t.$$.fragment,e),r=!1},d(e){e&&Kt(n),t&&Yn(t,e)}}}function Vr(e){let t,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,y=e[9].focusIndicator&&_r();const b=e[28].label,v=Pt(b,e,e[27],jr),w=v||function(e){let t,n,r,o,i;const s=[Qr,Br],a=[];function l(e,n){return 64&n[0]&&(t=null),null==t&&(t=!!Dr.isComponent(e[6]?.slotLabel?.class)),t?0:1}return n=l(e,[-1,-1]),r=a[n]=s[n](e),{c(){r.c(),o=en()},m(e,t){a[n].m(e,t),Jt(e,o,t),i=!0},p(e,t){let i=n;n=l(e,t),n===i?a[n].p(e,t):(Un(),Bn(a[i],1,1,(()=>{a[i]=null})),jn(),r=a[n],r?r.p(e,t):(r=a[n]=s[n](e),r.c()),_n(r,1),r.m(o.parentNode,o))},i(e){i||(_n(r),i=!0)},o(e){Bn(r),i=!1},d(e){e&&Kt(o),a[n].d(e)}}}(e),x=e[28]["summary-end"],S=Pt(x,e,e[27],Fr),E=S||function(e){let t,n,r=Dr.isComponent(e[6]?.slotSummaryEnd?.class),o=r&&zr(e);return{c(){o&&o.c(),t=en()},m(e,r){o&&o.m(e,r),Jt(e,t,r),n=!0},p(e,n){64&n[0]&&(r=Dr.isComponent(e[6]?.slotSummaryEnd?.class)),r?o?(o.p(e,n),64&n[0]&&_n(o,1)):(o=zr(e),o.c(),_n(o,1),o.m(t.parentNode,t)):o&&(Un(),Bn(o,1,1,(()=>{o=null})),jn())},i(e){n||(_n(o),n=!0)},o(e){Bn(o),n=!1},d(e){e&&Kt(t),o&&o.d(e)}}}(e),$=e[28].default,T=Pt($,e,e[27],null),k=T||function(e){let t,n,r=Dr.isComponent(e[6]?.slotDefault?.class),o=r&&Hr(e);return{c(){o&&o.c(),t=en()},m(e,r){o&&o.m(e,r),Jt(e,t,r),n=!0},p(e,n){64&n[0]&&(r=Dr.isComponent(e[6]?.slotDefault?.class)),r?o?(o.p(e,n),64&n[0]&&_n(o,1)):(o=Hr(e),o.c(),_n(o,1),o.m(t.parentNode,t)):o&&(Un(),Bn(o,1,1,(()=>{o=null})),jn())},i(e){n||(_n(o),n=!0)},o(e){Bn(o),n=!1},d(e){e&&Kt(t),o&&o.d(e)}}}(e);return{c(){t=Gt("details"),n=Gt("summary"),r=Zt("svg"),o=Zt("path"),i=Xt(),y&&y.c(),s=Xt(),w&&w.c(),a=Xt(),E&&E.c(),c=Xt(),u=Gt("div"),k&&k.c(),rn(o,"fill","currentColor"),rn(o,"stroke","currentColor"),an(o,"stroke-linejoin","round"),an(o,"stroke-width","3"),rn(o,"d","M5,8L19,8L12,15Z"),rn(r,"viewBox","0 0 24 24"),rn(r,"class","svelte-1kxmj7q"),ln(r,"focus-chevron",e[9].focusChevron),rn(n,"role","button"),rn(n,"tabindex",l=e[1]?0:-1),rn(n,"class","svelte-1kxmj7q"),ln(n,"disabled",!e[1]),ln(n,"default-cursor",e[9].chevronOnly),ln(n,"remove-focus-visible",e[9].focusIndicator||e[9].focusChevron),rn(u,"class","contents svelte-1kxmj7q"),rn(u,"aria-hidden",f=!e[13]),ln(u,"hidden",!e[13]),rn(t,"class","tjs-svg-folder svelte-1kxmj7q"),rn(t,"data-id",e[2]),rn(t,"data-label",e[3]),rn(t,"data-closing","false")},m(l,f){Jt(l,t,f),Vt(t,n),Vt(n,r),Vt(r,o),e[36](r),Vt(n,i),y&&y.m(n,null),Vt(n,s),w&&w.m(n,null),Vt(n,a),E&&E.m(n,null),e[38](n),Vt(t,c),Vt(t,u),k&&k.m(u,null),e[39](t),p=!0,g||(m=[tn(n,"click",e[14]),tn(n,"contextmenu",e[15]),tn(n,"keydown",e[16],!0),tn(n,"keyup",e[17],!0),tn(t,"close",e[18]),tn(t,"open",e[19]),tn(t,"toggle",e[40]),tn(t,"click",e[29]),tn(t,"keydown",e[30]),tn(t,"keyup",e[31]),tn(t,"open",e[32]),tn(t,"close",e[33]),tn(t,"openAny",e[34]),tn(t,"closeAny",e[35]),Ut(d=or.call(null,t,{store:e[4],animate:e[0],clickActive:!1})),Ut(h=Mr.call(null,t,e[5]))],g=!0)},p(e,o){(!p||512&o[0])&&ln(r,"focus-chevron",e[9].focusChevron),e[9].focusIndicator?y||(y=_r(),y.c(),y.m(n,s)):y&&(y.d(1),y=null),v?v.p&&(!p||134217728&o[0])&&Dt(v,b,e,e[27],p?Mt(b,e[27],o,Ur):Nt(e[27]),jr):w&&w.p&&(!p||1096&o[0])&&w.p(e,p?o:[-1,-1]),S?S.p&&(!p||134217728&o[0])&&Dt(S,x,e,e[27],p?Mt(x,e[27],o,Rr):Nt(e[27]),Fr):E&&E.p&&(!p||64&o[0])&&E.p(e,p?o:[-1,-1]),(!p||2&o[0]&&l!==(l=e[1]?0:-1))&&rn(n,"tabindex",l),(!p||2&o[0])&&ln(n,"disabled",!e[1]),(!p||512&o[0])&&ln(n,"default-cursor",e[9].chevronOnly),(!p||512&o[0])&&ln(n,"remove-focus-visible",e[9].focusIndicator||e[9].focusChevron),T?T.p&&(!p||134217728&o[0])&&Dt(T,$,e,e[27],p?Mt($,e[27],o,null):Nt(e[27]),null):k&&k.p&&(!p||64&o[0])&&k.p(e,p?o:[-1,-1]),(!p||8192&o[0]&&f!==(f=!e[13]))&&rn(u,"aria-hidden",f),(!p||8192&o[0])&&ln(u,"hidden",!e[13]),(!p||4&o[0])&&rn(t,"data-id",e[2]),(!p||8&o[0])&&rn(t,"data-label",e[3]),d&&$t(d.update)&&17&o[0]&&d.update.call(null,{store:e[4],animate:e[0],clickActive:!1}),h&&$t(h.update)&&32&o[0]&&h.update.call(null,e[5])},i(e){p||(_n(w,e),_n(E,e),_n(k,e),p=!0)},o(e){Bn(w,e),Bn(E,e),Bn(k,e),p=!1},d(n){n&&Kt(t),e[36](null),y&&y.d(),w&&w.d(n),E&&E.d(n),e[38](null),k&&k.d(n),e[39](null),g=!1,Et(m)}}}function qr(e,t,n){let r,o=bt,i=()=>(o(),o=Ot(g,(e=>n(8,r=e))),g);e.$$.on_destroy.push((()=>o()));let{$$slots:s={},$$scope:a}=t,{folder:l}=t,{animate:c}=t,{enabled:u}=t,{id:f}=t,{label:d}=t,{keyCode:h}=t,{options:p}=t,{store:g}=t;i();let{styles:m}=t,{onClose:y}=t,{onOpen:b}=t,{onContextMenu:v}=t;const w={chevronOnly:!1,focusChevron:!1,focusIndicator:!1};let x,S,E,$,T,k,C=r;var O;function I(e,t=!1){return new CustomEvent(e,{detail:{element:x,folder:l,id:f,label:d,store:g},bubbles:t})}function L(e,t=!1){const n=e.target,o=n===$||$.contains(n);if(n===E||n===S||o){if(!t&&w.chevronOnly&&!o)return e.preventDefault(),void e.stopPropagation();Ft(g,r=!r,r),r&&"function"==typeof b?b({event:e,element:x,folder:l,id:f,label:d,store:g}):r||"function"!=typeof y||y({event:e,element:x,folder:l,id:f,label:d,store:g})}e.preventDefault(),e.stopPropagation()}O=()=>T(),mn().$$.on_destroy.push(O);return e.$$set=e=>{"folder"in e&&n(6,l=e.folder),"animate"in e&&n(0,c=e.animate),"enabled"in e&&n(1,u=e.enabled),"id"in e&&n(2,f=e.id),"label"in e&&n(3,d=e.label),"keyCode"in e&&n(20,h=e.keyCode),"options"in e&&n(21,p=e.options),"store"in e&&i(n(4,g=e.store)),"styles"in e&&n(5,m=e.styles),"onClose"in e&&n(22,y=e.onClose),"onOpen"in e&&n(23,b=e.onOpen),"onContextMenu"in e&&n(24,v=e.onContextMenu),"$$scope"in e&&n(27,a=e.$$scope)},e.$$.update=()=>{65&e.$$.dirty[0]&&n(0,c=ut(l)&&"boolean"==typeof l.animate?l.animate:"boolean"!=typeof c||c),66&e.$$.dirty[0]&&n(1,u=ut(l)&&"boolean"==typeof l.enabled?l.enabled:"boolean"!=typeof u||u),68&e.$$.dirty[0]&&n(2,f=ut(l)&&"string"==typeof l.id?l.id:"string"==typeof f?f:void 0),72&e.$$.dirty[0]&&n(3,d=ut(l)&&"string"==typeof l.label?l.label:"string"==typeof d?d:""),1048640&e.$$.dirty[0]&&n(20,h=ut(l)&&"string"==typeof l.keyCode?l.keyCode:"string"==typeof h?h:"Enter"),2097216&e.$$.dirty[0]&&(n(21,p=ut(l)&&ut(l.options)?l.options:ut(p)?p:{}),"boolean"==typeof p?.chevronOnly&&n(9,w.chevronOnly=p.chevronOnly,w),"boolean"==typeof p?.focusChevron&&n(9,w.focusChevron=p.focusChevron,w),"boolean"==typeof p?.focusIndicator&&n(9,w.focusIndicator=p.focusIndicator,w)),33554640&e.$$.dirty[0]&&(i(n(4,g=ut(l)&&st(l.store)?l.store:st(g)?g:rr(!1))),"function"==typeof T&&T(),n(25,T=function(e,t){let n=!1;return e.subscribe((e=>{n?t(e):n=!0}))}(g,(e=>{x&&(x.dispatchEvent(I(e?"open":"close")),x.dispatchEvent(I(e?"openAny":"closeAny",!0)))})))),96&e.$$.dirty[0]&&n(5,m=ut(l)&&ut(l.styles)?l.styles:ut(m)?m:void 0),4194368&e.$$.dirty[0]&&n(22,y=ut(l)&&"function"==typeof l.onClose?l.onClose:"function"==typeof y?y:void 0),8388672&e.$$.dirty[0]&&n(23,b=ut(l)&&"function"==typeof l.onOpen?l.onOpen:"function"==typeof b?b:void 0),16777280&e.$$.dirty[0]&&n(24,v=ut(l)&&"function"==typeof l.onContextMenu?l.onContextMenu:"function"==typeof v?v:void 0),67109120&e.$$.dirty[0]&&(r?(clearTimeout(k),n(13,C=!0)):n(26,k=setTimeout((()=>n(13,C=!1)),500)))},[c,u,f,d,g,m,l,x,r,w,S,E,$,C,function(e){if(u)return E!==dt.getActiveElement(e)||-1!==e?.pointerId&&6!==e?.mozInputSource?void L(e):(e.preventDefault(),void e.stopPropagation())},function(e){u&&"function"==typeof v&&v({event:e,element:x,folder:l,id:f,label:d,store:g})},function(e){u&&E===dt.getActiveElement(e)&&e.code===h&&(e.preventDefault(),e.stopPropagation())},function(e){u&&E===dt.getActiveElement(e)&&e.code===h&&(L(e,!0),e.preventDefault(),e.stopPropagation())},function(e){e.preventDefault(),e.stopPropagation(),g.set(!1)},function(e){e.preventDefault(),e.stopPropagation(),g.set(!0)},h,p,y,b,v,T,k,a,s,function(t){wn.call(this,e,t)},function(t){wn.call(this,e,t)},function(t){wn.call(this,e,t)},function(t){wn.call(this,e,t)},function(t){wn.call(this,e,t)},function(t){wn.call(this,e,t)},function(t){wn.call(this,e,t)},function(e){Sn[e?"unshift":"push"]((()=>{$=e,n(12,$)}))},function(e){Sn[e?"unshift":"push"]((()=>{S=e,n(10,S)}))},function(e){Sn[e?"unshift":"push"]((()=>{E=e,n(11,E)}))},function(e){Sn[e?"unshift":"push"]((()=>{x=e,n(7,x)}))},()=>n(7,x.open=r,x)]}class Wr extends er{constructor(e){super(),Xn(this,e,qr,Vr,Tt,{folder:6,animate:0,enabled:1,id:2,label:3,keyCode:20,options:21,store:4,styles:5,onClose:22,onOpen:23,onContextMenu:24},null,[-1,-1])}}function Jr(e){let t,n,r=e[0].text+"";return{c(){t=Gt("span"),n=Yt(r),rn(t,"class","svelte-14yttr0"),ln(t,"indent-icon","indent-icon"===e[1]),ln(t,"indent-no-icon","indent-no-icon"===e[1])},m(e,r){Jt(e,t,r),Vt(t,n)},p(e,o){1&o&&r!==(r=e[0].text+"")&&on(n,r),2&o&&ln(t,"indent-icon","indent-icon"===e[1]),2&o&&ln(t,"indent-no-icon","indent-no-icon"===e[1])},d(e){e&&Kt(t)}}}function Kr(e){let t,n,r,o,i,s,a=e[0].text+"",l=e[5]&&function(e){let t,n;return{c(){t=Zt("svg"),n=Zt("use"),rn(n,"href",`#icon-${e[5]}`),rn(t,"class","tsd-kind-icon svelte-14yttr0"),rn(t,"viewBox","0 0 24 24")},m(e,r){Jt(e,t,r),Vt(t,n)},p:bt,d(e){e&&Kt(t)}}}(e);return{c(){t=Gt("a"),l&&l.c(),n=Xt(),r=Gt("span"),o=Yt(a),rn(r,"class","svelte-14yttr0"),rn(t,"href",e[6]),rn(t,"data-storage-key",e[2]),rn(t,"class","svelte-14yttr0"),ln(t,"current",e[3]),ln(t,"indent-icon","indent-icon"===e[1]),ln(t,"indent-no-icon","indent-no-icon"===e[1]),ln(t,"indent-none","indent-none"===e[1])},m(a,c){var u;Jt(a,t,c),l&&l.m(t,null),Vt(t,n),Vt(t,r),Vt(r,o),i||(s=tn(t,"click",nn((u=e[7],function(e){return e.preventDefault(),u.call(this,e)}))),i=!0)},p(e,n){e[5]&&l.p(e,n),1&n&&a!==(a=e[0].text+"")&&on(o,a),4&n&&rn(t,"data-storage-key",e[2]),8&n&&ln(t,"current",e[3]),2&n&&ln(t,"indent-icon","indent-icon"===e[1]),2&n&&ln(t,"indent-no-icon","indent-no-icon"===e[1]),2&n&&ln(t,"indent-none","indent-none"===e[1])},d(e){e&&Kt(t),l&&l.d(),i=!1,s()}}}function Gr(e){let t;let n=function(e){return e[6]?Kr:Jr}(e),r=n(e);return{c(){r.c(),t=en()},m(e,n){r.m(e,n),Jt(e,t,n)},p(e,[t]){r.p(e,t)},i:bt,o:bt,d(e){e&&Kt(t),r.d(e)}}}function Zr(e,t,n){let r,o,{entry:i}=t,{removeIcon:s=!1}=t,{indentIcon:a}=t,{storageKey:l=null}=t;const{basePath:c,navigation:u}=vn("#dmtComponentData"),f=u.treeState.storeCurrentPathURL;Lt(e,f,(e=>n(9,o=e)));const d=!s&&i.kind?i.kind:void 0,h=i.path?`${c}${i.path}`:void 0;return e.$$set=e=>{"entry"in e&&n(0,i=e.entry),"removeIcon"in e&&n(8,s=e.removeIcon),"indentIcon"in e&&n(1,a=e.indentIcon),"storageKey"in e&&n(2,l=e.storageKey)},e.$$.update=()=>{513&e.$$.dirty&&n(3,r=!!i.path&&i.path===o)},[i,a,l,r,f,d,h,function(){globalThis.location.href=h},s,o]}class Yr extends er{constructor(e){super(),Xn(this,e,Zr,Gr,Tt,{entry:0,removeIcon:8,indentIcon:1,storageKey:2})}}function Xr(e,t,n){const r=e.slice();return r[14]=t[n],r}function eo(e){let t,n;return t=new Yr({props:{entry:e[14],indentIcon:e[6],removeIcon:!e[2]&&2===e[14]?.kind}}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.entry=e[14]),1&n&&(r.removeIcon=!e[2]&&2===e[14]?.kind),t.$set(r)},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function to(e){let t,n;return t=new ao({props:{entry:e[14],parentIcon:!e[5]}}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.entry=e[14]),t.$set(r)},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function no(e,t){let n,r,o,i,s,a;const l=[to,eo],c=[];function u(e,t){return 1&t&&(r=null),null==r&&(r=!!Array.isArray(e[14].children)),r?0:1}return o=u(t,-1),i=c[o]=l[o](t),{key:e,first:null,c(){n=en(),i.c(),s=en(),this.first=n},m(e,t){Jt(e,n,t),c[o].m(e,t),Jt(e,s,t),a=!0},p(e,n){let r=o;o=u(t=e,n),o===r?c[o].p(t,n):(Un(),Bn(c[r],1,1,(()=>{c[r]=null})),jn(),i=c[o],i?i.p(t,n):(i=c[o]=l[o](t),i.c()),_n(i,1),i.m(s.parentNode,s))},i(e){a||(_n(i),a=!0)},o(e){Bn(i),a=!1},d(e){e&&(Kt(n),Kt(s)),c[o].d(e)}}}function ro(e){let t,n,r=[],o=new Map,i=Hn(e[0].children);const s=e=>e[14].path;for(let t=0;t<i.length;t+=1){let n=Xr(e,i,t),a=s(n);o.set(a,r[t]=no(a,n))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=en()},m(e,o){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,o);Jt(e,t,o),n=!0},p(e,n){101&n&&(i=Hn(e[0].children),Un(),r=Wn(r,n,s,0,e,i,o,t.parentNode,qn,no,t,Xr),jn())},i(e){if(!n){for(let e=0;e<i.length;e+=1)_n(r[e]);n=!0}},o(e){for(let e=0;e<r.length;e+=1)Bn(r[e]);n=!1},d(e){e&&Kt(t);for(let t=0;t<r.length;t+=1)r[t].d(e)}}}function oo(e){let t,n;return t=new Yr({props:{entry:e[0],removeIcon:e[5],storageKey:e[4],slot:"label"}}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.entry=e[0]),t.$set(r)},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function io(e){let t,n;return t=new Wr({props:{folder:e[7],onClose:e[8],onOpen:e[9],animate:e[1],$$slots:{label:[oo],default:[ro]},$$scope:{ctx:e}}}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},p(e,[n]){const r={};2&n&&(r.animate=e[1]),131073&n&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function so(e,t,n){let r,{entry:o}=t,{parentIcon:i=!1}=t;const{settingStores:s,showModuleIcon:a}=vn("#dmtComponentData"),l=s.themeAnimate;Lt(e,l,(e=>n(1,r=e)));const c=vn("#treeState"),u=o.storageKey,f=u?c.sessionStorage.getStore(u,!1):void 0,d=!a&&(void 0===o.kind||2===o.kind),h=d?"indent-no-icon":"indent-icon",p={store:f,options:{focusChevron:!0},styles:i?{"--tjs-folder-details-margin-left":"3.5px"}:void 0};return e.$$set=e=>{"entry"in e&&n(0,o=e.entry),"parentIcon"in e&&n(10,i=e.parentIcon)},[o,r,a,l,u,d,h,p,function(e){e?.event?.altKey&&c.setChildFolderState(o,!1)},function(e){e?.event?.altKey&&c.setChildFolderState(o,!0)},i]}class ao extends er{constructor(e){super(),Xn(this,e,so,io,Tt,{entry:0,parentIcon:10})}}function lo(e,t,n){const r=e.slice();return r[8]=t[n],r}function co(e){let t,n;return t=new Yr({props:{entry:e[8],indentIcon:e[4],removeIcon:!e[2]&&2===e[8]?.kind}}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.entry=e[8]),1&n&&(r.removeIcon=!e[2]&&2===e[8]?.kind),t.$set(r)},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function uo(e){let t,n;return t=new ao({props:{entry:e[8]}}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.entry=e[8]),t.$set(r)},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function fo(e,t){let n,r,o,i,s,a;const l=[uo,co],c=[];function u(e,t){return 1&t&&(r=null),null==r&&(r=!!Array.isArray(e[8].children)),r?0:1}return o=u(t,-1),i=c[o]=l[o](t),{key:e,first:null,c(){n=en(),i.c(),s=en(),this.first=n},m(e,t){Jt(e,n,t),c[o].m(e,t),Jt(e,s,t),a=!0},p(e,n){let r=o;o=u(t=e,n),o===r?c[o].p(t,n):(Un(),Bn(c[r],1,1,(()=>{c[r]=null})),jn(),i=c[o],i?i.p(t,n):(i=c[o]=l[o](t),i.c()),_n(i,1),i.m(s.parentNode,s))},i(e){a||(_n(i),a=!0)},o(e){Bn(i),a=!1},d(e){e&&(Kt(n),Kt(s)),c[o].d(e)}}}function ho(e){let t,n,r,o,i=[],s=new Map,a=Hn(e[0].elementIndex);const l=e=>e[8].path;for(let t=0;t<a.length;t+=1){let n=lo(e,a,t),r=l(n);s.set(r,i[t]=fo(r,n))}return{c(){t=Gt("div");for(let e=0;e<i.length;e+=1)i[e].c();rn(t,"class","dmt-navigation-tree svelte-gftu0p"),rn(t,"tabindex","-1")},m(s,a){Jt(s,t,a);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);e[6](t),n=!0,r||(o=tn(t,"keydown",po,!0),r=!0)},p(e,[n]){21&n&&(a=Hn(e[0].elementIndex),Un(),i=Wn(i,n,l,0,e,a,s,t,qn,fo,null,lo),jn())},i(e){if(!n){for(let e=0;e<a.length;e+=1)_n(i[e]);n=!0}},o(e){for(let e=0;e<i.length;e+=1)Bn(i[e]);n=!1},d(n){n&&Kt(t);for(let e=0;e<i.length;e+=1)i[e].d();e[6](null),r=!1,o()}}}function po(e){"Space"===e.code&&e.preventDefault()}function go(e,t,n){let r,{treeState:o}=t;bn("#treeState",o);const{navigation:i,showModuleIcon:s}=vn("#dmtComponentData"),{storeCurrentPathURL:a}=i;let l;Lt(e,a,(e=>n(5,r=e)));const c=o.hasFolders?"indent-no-icon":"indent-none";return e.$$set=e=>{"treeState"in e&&n(0,o=e.treeState)},e.$$.update=()=>{34&e.$$.dirty&&r&&hr().then((()=>{const e=l.querySelector(`a[href*="${r}"]`);e&&e.scrollIntoView({block:"center",inline:"center"})}))},[o,l,s,a,c,r,function(e){Sn[e?"unshift":"push"]((()=>{l=e,n(1,l)}))}]}class mo extends er{constructor(e){super(),Xn(this,e,go,ho,Tt,{treeState:0})}}function yo(e){let t,n,r,o;return r=new mo({props:{treeState:e[1].treeState.markdown}}),{c(){t=Gt("hr"),n=Xt(),Gn(r.$$.fragment),rn(t,"class","svelte-wwxcg7")},m(e,i){Jt(e,t,i),Jt(e,n,i),Zn(r,e,i),o=!0},p:bt,i(e){o||(_n(r.$$.fragment,e),o=!0)},o(e){Bn(r.$$.fragment,e),o=!1},d(e){e&&(Kt(t),Kt(n)),Yn(r,e)}}}function bo(e){let t,n,r=e[1].treeState.markdown.hasData&&function(e){let t,n,r;return n=new Wr({props:{folder:e[4],animate:e[0],$$slots:{default:[yo]},$$scope:{ctx:e}}}),{c(){t=Gt("section"),Gn(n.$$.fragment),rn(t,"class","dmt-document-index svelte-wwxcg7")},m(e,o){Jt(e,t,o),Zn(n,t,null),r=!0},p(e,t){const r={};1&t&&(r.animate=e[0]),512&t&&(r.$$scope={dirty:t,ctx:e}),n.$set(r)},i(e){r||(_n(n.$$.fragment,e),r=!0)},o(e){Bn(n.$$.fragment,e),r=!1},d(e){e&&Kt(t),Yn(n)}}}(e);return{c(){r&&r.c(),t=en()},m(e,o){r&&r.m(e,o),Jt(e,t,o),n=!0},p(e,[t]){e[1].treeState.markdown.hasData&&r.p(e,t)},i(e){n||(_n(r),n=!0)},o(e){Bn(r),n=!1},d(e){e&&Kt(t),r&&r.d(e)}}}function vo(e,t,n){let r,o;const{dmtSessionStorage:i,navigation:s,settingStores:a,storagePrepend:l}=vn("#dmtComponentData"),c=a.themeAnimate;Lt(e,c,(e=>n(0,o=e)));const u=i.getStore(`${l}-document-index`,!0);Lt(e,u,(e=>n(5,r=e))),"markdown"===s.treeState.activeTreeName&&Ft(u,r=!0,r);return[o,s,c,u,{store:u,label:"Document Index",options:{focusChevron:!0}}]}class wo extends er{constructor(e){super(),Xn(this,e,vo,bo,Tt,{})}}function xo(e,t,n){const r=e.slice();return r[2]=t[n],r}function So(e,t){let n,r;return{key:e,first:null,c(){n=Gt("a"),r=Gt("span"),r.textContent=`${t[2]}`,rn(n,"href",`${t[0][t[2]]}`),rn(n,"target","_blank"),rn(n,"class","svelte-gzwnip"),this.first=n},m(e,t){Jt(e,n,t),Vt(n,r)},p(e,n){t=e},d(e){e&&Kt(n)}}}function Eo(e){let t,n=e[1]&&function(e){let t,n=[],r=new Map,o=Hn(Object.keys(e[0]));const i=e=>e[0][e[2]];for(let t=0;t<o.length;t+=1){let s=xo(e,o,t),a=i(s);r.set(a,n[t]=So(a,s))}return{c(){t=Gt("section");for(let e=0;e<n.length;e+=1)n[e].c();rn(t,"class","dmt-sidebar-links svelte-gzwnip"),rn(t,"tabindex","-1")},m(e,r){Jt(e,t,r);for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(t,null)},p(e,s){1&s&&(o=Hn(Object.keys(e[0])),n=Wn(n,s,i,0,e,o,r,t,Vn,So,null,xo))},d(e){e&&Kt(t);for(let e=0;e<n.length;e+=1)n[e].d()}}}(e);return{c(){n&&n.c(),t=en()},m(e,r){n&&n.m(e,r),Jt(e,t,r)},p(e,[t]){e[1]&&n.p(e,t)},i:bt,o:bt,d(e){e&&Kt(t),n&&n.d(e)}}}function $o(e){const{sidebarLinks:t}=vn("#dmtComponentData");return[t,Object.keys(t).length>0]}class To extends er{constructor(e){super(),Xn(this,e,$o,Eo,Tt,{})}}function ko(e){const t=e*e;return e<4/11?7.5625*t:e<8/11?9.075*t-9.9*e+3.4:e<.9?4356/361*t-35442/1805*e+16061/1805:10.8*e*e-20.52*e+10.72}function Co(e){const t=e-1;return t*t*t+1}function Oo(e){return e*e*e*e*e}const Io=Object.freeze({__proto__:null,backIn:function(e){const t=1.70158;return e*e*((t+1)*e-t)},backInOut:function(e){const t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},backOut:function(e){const t=1.70158;return--e*e*((t+1)*e+t)+1},bounceIn:function(e){return 1-ko(1-e)},bounceInOut:function(e){return e<.5?.5*(1-ko(1-2*e)):.5*ko(2*e-1)+.5},bounceOut:ko,circIn:function(e){return 1-Math.sqrt(1-e*e)},circInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},circOut:function(e){return Math.sqrt(1- --e*e)},cubicIn:function(e){return e*e*e},cubicInOut:function(e){return e<.5?4*e*e*e:.5*Math.pow(2*e-2,3)+1},cubicOut:Co,elasticIn:function(e){return Math.sin(13*e*Math.PI/2)*Math.pow(2,10*(e-1))},elasticInOut:function(e){return e<.5?.5*Math.sin(13*Math.PI/2*2*e)*Math.pow(2,10*(2*e-1)):.5*Math.sin(-13*Math.PI/2*(2*e-1+1))*Math.pow(2,-10*(2*e-1))+1},elasticOut:function(e){return Math.sin(-13*(e+1)*Math.PI/2)*Math.pow(2,-10*e)+1},expoIn:function(e){return 0===e?e:Math.pow(2,10*(e-1))},expoInOut:function(e){return 0===e||1===e?e:e<.5?.5*Math.pow(2,20*e-10):-.5*Math.pow(2,10-20*e)+1},expoOut:function(e){return 1===e?e:1-Math.pow(2,-10*e)},linear:vt,quadIn:function(e){return e*e},quadInOut:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},quadOut:function(e){return-e*(e-2)},quartIn:function(e){return Math.pow(e,4)},quartInOut:function(e){return e<.5?8*Math.pow(e,4):-8*Math.pow(e-1,4)+1},quartOut:function(e){return Math.pow(e-1,3)*(1-e)+1},quintIn:Oo,quintInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},quintOut:function(e){return--e*e*e*e*e+1},sineIn:function(e){const t=Math.cos(e*Math.PI*.5);return Math.abs(t)<1e-14?1:1-t},sineInOut:function(e){return-.5*(Math.cos(Math.PI*e)-1)},sineOut:function(e){return Math.sin(e*Math.PI/2)}});function Lo(e,t){if("function"==typeof e)return e;const n=Io[e];return n||Io.linear}function Po(e,t){const n=Lo(t.easingFade??t.easing),r=Lo(t.easingSlide??t.easing),o=function(e,{delay:t=0,duration:n=400,easing:r=vt}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*o}}(e),i=function(e,{delay:t=0,duration:n=400,easing:r=Co,axis:o="y"}={}){const i=getComputedStyle(e),s=+i.opacity,a="y"===o?"height":"width",l=parseFloat(i[a]),c="y"===o?["top","bottom"]:["left","right"],u=c.map((e=>`${e[0].toUpperCase()}${e.slice(1)}`)),f=parseFloat(i[`padding${u[0]}`]),d=parseFloat(i[`padding${u[1]}`]),h=parseFloat(i[`margin${u[0]}`]),p=parseFloat(i[`margin${u[1]}`]),g=parseFloat(i[`border${u[0]}Width`]),m=parseFloat(i[`border${u[1]}Width`]);return{delay:t,duration:n,easing:r,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*s};${a}: ${e*l}px;padding-${c[0]}: ${e*f}px;padding-${c[1]}: ${e*d}px;margin-${c[0]}: ${e*h}px;margin-${c[1]}: ${e*p}px;border-${c[0]}-width: ${e*g}px;border-${c[1]}-width: ${e*m}px;`}}(e,{axis:t.axis});return{delay:t.delay??0,duration:t.duration??500,easing:vt,css:e=>{const t=n(e),s=r(e);return`${i.css(s,1-s)}; ${o.css(t,1-t)}`}}}function Ao(e,t,n){const r=e.slice();return r[13]=t[n],r}function Mo(e,t){let n,r,o,i,s,a,l=t[13].key+"";return{key:e,first:null,c(){n=Gt("span"),r=Zt("svg"),o=Zt("use"),i=Xt(),s=Yt(l),a=Xt(),rn(o,"href",`#icon-${t[13].value}`),rn(r,"class","tsd-kind-icon svelte-1uxeem0"),rn(r,"viewBox","0 0 24 24"),rn(n,"class","svelte-1uxeem0"),this.first=n},m(e,t){Jt(e,n,t),Vt(n,r),Vt(r,o),Vt(n,i),Vt(n,s),Vt(n,a)},p(e,n){t=e},d(e){e&&Kt(n)}}}function Do(e){let t,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,y,b,v,w,x,S,E,$,T,k=[],C=new Map,O=Hn(e[7]);const I=e=>e[13].value;for(let t=0;t<O.length;t+=1){let n=Ao(e,O,t),r=I(n);C.set(r,k[t]=Mo(r,n))}let L=e[2]&&function(){let e;return{c(){e=Gt("span"),e.innerHTML='<i class="key svelte-1uxeem0">Alt + D</i>Open / focus "Document Index"',rn(e,"class","svelte-1uxeem0")},m(t,n){Jt(t,e,n)},d(t){t&&Kt(e)}}}(),P=e[3]&&function(){let e;return{c(){e=Gt("span"),e.innerHTML='<i class="key svelte-1uxeem0">Alt + E</i>Source (Nav) open / close all',rn(e,"class","svelte-1uxeem0")},m(t,n){Jt(t,e,n)},d(t){t&&Kt(e)}}}(),A=e[0].modules&&function(e){let t,n,r,o,i;return{c(){t=Gt("span"),n=Gt("i"),n.textContent="Alt + M",r=Yt("Go to "),o=Yt(e[6]),i=Yt(" page"),rn(n,"class","key svelte-1uxeem0"),rn(t,"class","svelte-1uxeem0")},m(e,s){Jt(e,t,s),Vt(t,n),Vt(t,r),Vt(t,o),Vt(t,i)},p:bt,d(e){e&&Kt(t)}}}(e),M=e[0].hierarchy&&function(){let e;return{c(){e=Gt("span"),e.innerHTML='<i class="key svelte-1uxeem0">Alt + Y</i>Go to class hierarchy page',rn(e,"class","svelte-1uxeem0")},m(t,n){Jt(t,e,n)},d(t){t&&Kt(e)}}}(),D=e[1]&&function(){let e;return{c(){e=Gt("span"),e.innerHTML='<i class="key svelte-1uxeem0">Alt</i>Press when opening / closing folders to open / close all child folders.',rn(e,"class","svelte-1uxeem0")},m(t,n){Jt(t,e,n)},d(t){t&&Kt(e)}}}();return{c(){t=Gt("div"),n=Gt("span"),n.textContent="Reflection Icon Reference:",r=Xt(),o=Gt("section");for(let e=0;e<k.length;e+=1)k[e].c();i=Xt(),s=Gt("span"),s.textContent="Keyboard Shortcuts:",a=Xt(),l=Gt("span"),l.innerHTML='<i class="key svelte-1uxeem0">Alt + C</i>Focus main content',c=Xt(),L&&L.c(),u=Xt(),P&&P.c(),f=Xt(),d=Gt("span"),d.innerHTML='<i class="key svelte-1uxeem0">Alt + H</i>Open / close help',h=Xt(),p=Gt("span"),p.innerHTML='<i class="key svelte-1uxeem0">Alt + I</i>Go to home / index page',g=Xt(),m=Gt("span"),m.innerHTML='<i class="key svelte-1uxeem0">Alt + N</i>Source (Nav) focus selected',y=Xt(),A&&A.c(),b=Xt(),v=Gt("span"),v.innerHTML='<i class="key svelte-1uxeem0">Alt + O</i>Open / focus "On This Page"',w=Xt(),x=Gt("span"),x.innerHTML='<i class="key svelte-1uxeem0">Alt + S</i>Activate search',S=Xt(),M&&M.c(),E=Xt(),D&&D.c(),rn(n,"class","title svelte-1uxeem0"),rn(o,"class","reflection-kinds svelte-1uxeem0"),rn(s,"class","title svelte-1uxeem0"),rn(l,"class","svelte-1uxeem0"),rn(d,"class","svelte-1uxeem0"),rn(p,"class","svelte-1uxeem0"),rn(m,"class","svelte-1uxeem0"),rn(v,"class","svelte-1uxeem0"),rn(x,"class","svelte-1uxeem0"),rn(t,"class","svelte-1uxeem0")},m(e,$){Jt(e,t,$),Vt(t,n),Vt(t,r),Vt(t,o);for(let e=0;e<k.length;e+=1)k[e]&&k[e].m(o,null);Vt(t,i),Vt(t,s),Vt(t,a),Vt(t,l),Vt(t,c),L&&L.m(t,null),Vt(t,u),P&&P.m(t,null),Vt(t,f),Vt(t,d),Vt(t,h),Vt(t,p),Vt(t,g),Vt(t,m),Vt(t,y),A&&A.m(t,null),Vt(t,b),Vt(t,v),Vt(t,w),Vt(t,x),Vt(t,S),M&&M.m(t,null),Vt(t,E),D&&D.m(t,null),T=!0},p(e,[t]){128&t&&(O=Hn(e[7]),k=Wn(k,t,I,0,e,O,C,o,Vn,Mo,null,Ao)),e[0].modules&&A.p(e,t)},i(n){T||(n&&In((()=>{T&&($||($=zn(t,e[5],{duration:100},!0)),$.run(1))})),T=!0)},o(n){n&&($||($=zn(t,e[5],{duration:100},!1)),$.run(0)),T=!1},d(e){e&&Kt(t);for(let e=0;e<k.length;e+=1)k[e].d();L&&L.d(),P&&P.d(),A&&A.d(),M&&M.d(),D&&D.d(),e&&$&&$.end()}}}function No(e,t,n){let r;const{moduleIsPackage:o,navigation:i,pageIndex:s,ReflectionKind:a,settingStores:l}=vn("#dmtComponentData"),c=i.treeState.markdown.hasFolders||i.treeState.source.hasFolders,u=i.treeState.markdown.hasFolders,f=i.treeState.source.hasFolders,d=l.themeAnimate;Lt(e,d,(e=>n(8,r=e)));const h=r?Po:()=>{},p=o?"package":"module",g=[];for(const[e,t]of Object.entries(a))"number"==typeof t&&g.push({key:e,value:t});return g.sort(((e,t)=>e.key.localeCompare(t.key))),[s,c,u,f,d,h,p,g]}class Ro extends er{constructor(e){super(),Xn(this,e,No,Do,Tt,{})}}function Fo(e){let t,n;return t=new Ro({}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function Uo(e){let t,n,r,o,i,s,a,l,c,u,f,d,h,p=e[5]>0&&function(e){let t,n,r,o,i,s,a,l,c;return{c(){t=Zt("svg"),n=Zt("symbol"),r=Zt("path"),o=Xt(),i=Gt("button"),i.innerHTML='<svg class="svelte-1e7n8f7"><use xlink:href="#dmt-double-icon-arrow"></use></svg>',s=Xt(),a=Gt("button"),a.innerHTML='<svg class="flipped-vertical svelte-1e7n8f7"><use xlink:href="#dmt-double-icon-arrow"></use></svg>',rn(r,"d","M517.408 993.568l-0.448 0.256c-18.592-0.032-37.152-7.168-51.328-21.344L51.392 558.24c-27.904-27.904-28.32-74.624 0.224-103.2 28.768-28.768 74.784-28.672 103.2-0.224l362.272 362.272L879.36 454.816c27.904-27.904 74.624-28.32 103.2 0.224 28.768 28.768 28.672 74.784 0.224 103.2l-414.24 414.24c-13.92 13.92-32.512 20.992-51.2 21.056z m0-397.408l-0.448 0.256c-18.592-0.032-37.152-7.168-51.328-21.344l-414.24-414.24c-27.904-27.904-28.32-74.624 0.224-103.2 28.768-28.768 74.784-28.672 103.2-0.224L517.088 419.68 879.36 57.408c27.904-27.904 74.624-28.32 103.2 0.224 28.768 28.768 28.672 74.784 0.224 103.2l-414.24 414.24c-13.92 13.92-32.512 20.992-51.2 21.056z"),rn(n,"id","dmt-double-icon-arrow"),rn(n,"viewBox","0 0 1024 1024"),an(t,"display","none"),rn(t,"class","svelte-1e7n8f7"),rn(i,"title","Open All"),rn(i,"class","svelte-1e7n8f7"),rn(a,"title","Close All"),rn(a,"class","svelte-1e7n8f7")},m(u,f){Jt(u,t,f),Vt(t,n),Vt(n,r),Jt(u,o,f),Jt(u,i,f),Jt(u,s,f),Jt(u,a,f),l||(c=[tn(i,"click",e[10]),tn(i,"keydown",jo),tn(i,"pointerdown",nn(e[9])),tn(a,"click",e[11]),tn(a,"keydown",jo),tn(a,"pointerdown",nn(e[8]))],l=!0)},p:bt,d(e){e&&(Kt(t),Kt(o),Kt(i),Kt(s),Kt(a)),l=!1,Et(c)}}}(e),g=e[4].hierarchy&&function(e){let t,n,r;return{c(){t=Gt("button"),t.innerHTML='<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" class="svelte-1e7n8f7"><rect x="13" y="0" width="6" height="6"></rect><line x1="16" y1="6" x2="16" y2="16" stroke-width="2"></line><line x1="3" y1="16" x2="29" y2="16" stroke-width="2"></line><rect x="0" y="26" width="6" height="6"></rect><rect x="13" y="26" width="6" height="6"></rect><rect x="26" y="26" width="6" height="6"></rect><line x1="3" y1="16" x2="3" y2="28" stroke-width="2"></line><line x1="16" y1="16" x2="16" y2="28" stroke-width="2"></line><line x1="29" y1="16" x2="29" y2="28" stroke-width="2"></line></svg>',rn(t,"title","Class Hierarchy"),rn(t,"class","svelte-1e7n8f7")},m(o,i){Jt(o,t,i),n||(r=[tn(t,"click",e[12]),tn(t,"keydown",jo)],n=!0)},p:bt,d(e){e&&Kt(t),n=!1,Et(r)}}}(e),m=e[4].modules&&function(e){let t,n,r,o,i,s,a;return{c(){t=Gt("button"),n=Zt("svg"),r=Zt("rect"),o=Zt("rect"),i=Zt("rect"),rn(r,"x","10"),rn(r,"y","0"),rn(r,"width","12"),rn(r,"height","6"),rn(o,"x","6"),rn(o,"y","13"),rn(o,"width","20"),rn(o,"height","6"),rn(i,"x","0"),rn(i,"y","26"),rn(i,"width","32"),rn(i,"height","6"),rn(n,"width","32"),rn(n,"height","32"),rn(n,"viewBox","0 0 32 32"),rn(n,"xmlns","http://www.w3.org/2000/svg"),rn(n,"class","svelte-1e7n8f7"),rn(t,"title",e[7]),rn(t,"class","svelte-1e7n8f7")},m(l,c){Jt(l,t,c),Vt(t,n),Vt(n,r),Vt(n,o),Vt(n,i),s||(a=[tn(t,"click",e[13]),tn(t,"keydown",jo)],s=!0)},p:bt,d(e){e&&Kt(t),s=!1,Et(a)}}}(e),y=e[0]&&Fo();return{c(){t=Gt("section"),p&&p.c(),n=Xt(),g&&g.c(),r=Xt(),m&&m.c(),o=Xt(),i=Gt("button"),s=Zt("svg"),a=Zt("g"),l=Zt("path"),c=Zt("path"),u=Xt(),y&&y.c(),rn(l,"d","M502.29,788.199h-47c-33.1,0-60,26.9-60,60v64.9c0,33.1,26.9,60,60,60h47c33.101,0,60-26.9,60-60v-64.9 C562.29,815,535.391,788.199,502.29,788.199z"),rn(c,"d","M170.89,285.8l86.7,10.8c27.5,3.4,53.6-12.4,63.5-38.3c12.5-32.7,29.9-58.5,52.2-77.3c31.601-26.6,70.9-40,117.9-40\r\n c48.7,0,87.5,12.8,116.3,38.3c28.8,25.6,43.1,56.2,43.1,92.1c0,25.8-8.1,49.4-24.3,70.8c-10.5,13.6-42.8,42.2-96.7,85.9\r\n c-54,43.7-89.899,83.099-107.899,118.099c-18.4,35.801-24.8,75.5-26.4,115.301c-1.399,34.1,25.8,62.5,60,62.5h49\r\n c31.2,0,57-23.9,59.8-54.9c2-22.299,5.7-39.199,11.301-50.699c9.399-19.701,33.699-45.701,72.699-78.1\r\n C723.59,477.8,772.79,428.4,795.891,392c23-36.3,34.6-74.8,34.6-115.5c0-73.5-31.3-138-94-193.4c-62.6-55.4-147-83.1-253-83.1\r\n c-100.8,0-182.1,27.3-244.1,82c-52.8,46.6-84.9,101.8-96.2,165.5C139.69,266.1,152.39,283.5,170.89,285.8z"),rn(s,"viewBox","0 0 973.1 973.1"),rn(s,"class","svelte-1e7n8f7"),rn(i,"title",e[1]),rn(i,"class","svelte-1e7n8f7"),rn(t,"class","dmt-navigation-bar svelte-1e7n8f7"),rn(t,"tabindex","-1")},m(b,v){Jt(b,t,v),p&&p.m(t,null),Vt(t,n),g&&g.m(t,null),Vt(t,r),m&&m.m(t,null),Vt(t,o),Vt(t,i),Vt(i,s),Vt(s,a),Vt(a,l),Vt(a,c),Vt(t,u),y&&y.m(t,null),f=!0,d||(h=[tn(i,"click",e[14]),tn(i,"keydown",jo)],d=!0)},p(e,[n]){e[5]>0&&p.p(e,n),e[4].hierarchy&&g.p(e,n),e[4].modules&&m.p(e,n),(!f||2&n)&&rn(i,"title",e[1]),e[0]?y?1&n&&_n(y,1):(y=Fo(),y.c(),_n(y,1),y.m(t,null)):y&&(Un(),Bn(y,1,1,(()=>{y=null})),jn())},i(e){f||(_n(y),f=!0)},o(e){Bn(y),f=!1},d(e){e&&Kt(t),p&&p.d(),g&&g.d(),m&&m.d(),y&&y.d(),d=!1,Et(h)}}}function jo(e){"Tab"!==e.code&&e.repeat&&(e.stopPropagation(),e.preventDefault())}function _o(e,t,n){let r,o;const{baseURL:i,moduleIsPackage:s,navigation:a,pageIndex:l,stateStores:c}=vn("#dmtComponentData"),u=a.treeState.source.hasFolders,f=c.helpPanelVisible;Lt(e,f,(e=>n(0,o=e)));const d=s?"Package Index":"Module Index";return e.$$.update=()=>{1&e.$$.dirty&&n(1,r=o?"Close Help":"Open Help")},[o,r,i,a,l,u,f,d,function(t){wn.call(this,e,t)},function(t){wn.call(this,e,t)},()=>a.treeState.source.setFoldersAllOpen(!0),()=>a.treeState.source.setFoldersAllOpen(!1),()=>globalThis.location.href=`${i}${l.hierarchy}`,()=>globalThis.location.href=`${i}${l.modules}`,()=>Ft(f,o=!o,o)]}class Bo extends er{constructor(e){super(),Xn(this,e,_o,Uo,Tt,{})}}function Qo(e){let t,n,r,o,i;return n=new Bo({}),o=new mo({props:{treeState:e[0].treeState.source}}),{c(){t=Gt("section"),Gn(n.$$.fragment),r=Xt(),Gn(o.$$.fragment),rn(t,"class","source-index svelte-13h1skr")},m(e,s){Jt(e,t,s),Zn(n,t,null),Vt(t,r),Zn(o,t,null),i=!0},p:bt,i(e){i||(_n(n.$$.fragment,e),_n(o.$$.fragment,e),i=!0)},o(e){Bn(n.$$.fragment,e),Bn(o.$$.fragment,e),i=!1},d(e){e&&Kt(t),Yn(n),Yn(o)}}}function zo(e){const{navigation:t}=vn("#dmtComponentData");return[t]}class Ho extends er{constructor(e){super(),Xn(this,e,zo,Qo,Tt,{})}}function Vo(e){let t,n,r,o,i,s;return t=new To({}),r=new wo({}),i=new Ho({}),{c(){Gn(t.$$.fragment),n=Xt(),Gn(r.$$.fragment),o=Xt(),Gn(i.$$.fragment)},m(e,a){Zn(t,e,a),Jt(e,n,a),Zn(r,e,a),Jt(e,o,a),Zn(i,e,a),s=!0},p:bt,i(e){s||(_n(t.$$.fragment,e),_n(r.$$.fragment,e),_n(i.$$.fragment,e),s=!0)},o(e){Bn(t.$$.fragment,e),Bn(r.$$.fragment,e),Bn(i.$$.fragment,e),s=!1},d(e){e&&(Kt(n),Kt(o)),Yn(t,e),Yn(r,e),Yn(i,e)}}}function qo(e){let t,n,r;return{c(){t=Gt("button"),t.innerHTML='<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg>',rn(t,"class","svelte-10arjs8")},m(o,i){Jt(o,t,i),n||(r=[tn(t,"click",e[3]),tn(t,"pointerdown",nn(e[2]))],n=!0)},p:bt,i:bt,o:bt,d(e){e&&Kt(t),n=!1,Et(r)}}}function Wo(e,t,n){let r;const{stateStores:o}=vn("#dmtComponentData"),i=o.mainSearchVisible;Lt(e,i,(e=>n(0,r=e)));return[r,i,function(t){wn.call(this,e,t)},()=>Ft(i,r=!r,r)]}class Jo extends er{constructor(e){super(),Xn(this,e,Wo,qo,Tt,{})}}function Ko(e,t,n){const r=e.slice();return r[14]=t[n],r}function Go(e){let t,n,r;return{c(){t=Zt("svg"),n=Zt("use"),rn(n,"href",r=`#icon-${e[14].kind}`),rn(t,"class","tsd-kind-icon"),rn(t,"viewBox","0 0 24 24")},m(e,r){Jt(e,t,r),Vt(t,n)},p(e,t){2&t&&r!==(r=`#icon-${e[14].kind}`)&&rn(n,"href",r)},d(e){e&&Kt(t)}}}function Zo(e,t){let n,r,o,i,s,a,l,c=t[14].name+"",u=t[14].kind&&Go(t);function f(){return t[8](t[14])}return{key:e,first:null,c(){n=Gt("li"),u&&u.c(),r=Xt(),o=Gt("span"),i=Xt(),rn(o,"class","parent"),rn(n,"class",s=Rt(t[14].classes)+" svelte-5rxzhp"),rn(n,"role","menuitem"),ln(n,"selected",t[14].id===t[2]),this.first=n},m(e,t){Jt(e,n,t),u&&u.m(n,null),Vt(n,r),Vt(n,o),o.innerHTML=c,Vt(n,i),a||(l=tn(n,"click",f),a=!0)},p(e,i){(t=e)[14].kind?u?u.p(t,i):(u=Go(t),u.c(),u.m(n,r)):u&&(u.d(1),u=null),2&i&&c!==(c=t[14].name+"")&&(o.innerHTML=c),2&i&&s!==(s=Rt(t[14].classes)+" svelte-5rxzhp")&&rn(n,"class",s),6&i&&ln(n,"selected",t[14].id===t[2])},d(e){e&&Kt(n),u&&u.d(),a=!1,l()}}}function Yo(e){let t,n,r,o=[],i=new Map,s=Hn(e[1]);const a=e=>e[14].id;for(let t=0;t<s.length;t+=1){let n=Ko(e,s,t),r=a(n);i.set(r,o[t]=Zo(r,n))}return{c(){t=Gt("ul");for(let e=0;e<o.length;e+=1)o[e].c();rn(t,"class","svelte-5rxzhp")},m(n,i){Jt(n,t,i);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,null);e[9](t),r=!0},p(e,[n]){134&n&&(s=Hn(e[1]),o=Wn(o,n,a,0,e,s,i,t,Vn,Zo,null,Ko))},i(o){r||(In((()=>{r&&(n||(n=zn(t,e[6],{duration:100},!0)),n.run(1))})),r=!0)},o(o){n||(n=zn(t,e[6],{duration:100},!1)),n.run(0),r=!1},d(r){r&&Kt(t);for(let e=0;e<o.length;e+=1)o[e].d();e[9](null),r&&n&&n.end()}}}function Xo(e,t,n){let r,o,i,{results:s}=t,{resultsEl:a}=t;const{settingStores:l,stateStores:c}=vn("#dmtComponentData"),u=c.mainSearchVisible;Lt(e,u,(e=>n(10,r=e)));const f=l.themeAnimate;Lt(e,f,(e=>n(11,o=e)));const d=vn("#storeCurrentId");Lt(e,d,(e=>n(2,i=e)));const h=o?Po:()=>{};function p(e){Ft(u,r=!1,r),globalThis.location.href=e}return e.$$set=e=>{"results"in e&&n(1,s=e.results),"resultsEl"in e&&n(0,a=e.resultsEl)},[a,s,i,u,f,d,h,p,e=>p(e.href),function(e){Sn[e?"unshift":"push"]((()=>{a=e,n(0,a)}))}]}class ei extends er{constructor(e){super(),Xn(this,e,Xo,Yo,Tt,{results:1,resultsEl:0})}}const{window:ti}=Ht;function ni(e){let t,n,r;function o(t){e[13](t)}let i={results:e[0]};return void 0!==e[3]&&(i.resultsEl=e[3]),t=new ei({props:i}),Sn.push((()=>function(e,t,n){const r=e.$$.props[t];void 0!==r&&(e.$$.bound[r]=n,n(e.$$.ctx[r]))}(t,"resultsEl",o))),{c(){Gn(t.$$.fragment)},m(e,n){Zn(t,e,n),r=!0},p(e,r){const o={};var i;1&r&&(o.results=e[0]),!n&&8&r&&(n=!0,o.resultsEl=e[3],i=()=>n=!1,$n.push(i)),t.$set(o)},i(e){r||(_n(t.$$.fragment,e),r=!0)},o(e){Bn(t.$$.fragment,e),r=!1},d(e){Yn(t,e)}}}function ri(e){let t,n,r,o,i,s,a,l=e[0].length&&ni(e);return{c(){t=Gt("input"),r=Xt(),l&&l.c(),o=en(),rn(t,"type","search"),rn(t,"id","dmt-search-field"),rn(t,"aria-label","Search"),rn(t,"class","svelte-tuln0o"),an(t,"color",e[4]?"red":null),an(t,"border-color",e[4]?"red":null)},m(n,c){Jt(n,t,c),e[11](t),sn(t,e[1]),Jt(n,r,c),l&&l.m(n,c),Jt(n,o,c),i=!0,s||(a=[tn(ti,"pointerdown",e[10]),tn(t,"input",e[12]),tn(t,"keydown",e[9])],s=!0)},p(e,[n]){2&n&&t.value!==e[1]&&sn(t,e[1]),16&n&&an(t,"color",e[4]?"red":null),16&n&&an(t,"border-color",e[4]?"red":null),e[0].length?l?(l.p(e,n),1&n&&_n(l,1)):(l=ni(e),l.c(),_n(l,1),l.m(o.parentNode,o)):l&&(Un(),Bn(l,1,1,(()=>{l=null})),jn())},i(r){i||(r&&In((()=>{i&&(n||(n=zn(t,e[8],{duration:200},!0)),n.run(1))})),_n(l),i=!0)},o(r){r&&(n||(n=zn(t,e[8],{duration:200},!1)),n.run(0)),Bn(l),i=!1},d(i){i&&(Kt(t),Kt(r),Kt(o)),e[11](null),i&&n&&n.end(),l&&l.d(i),s=!1,Et(a)}}}function oi(e,t,n){let r,o,i,s;const a=rr(void 0);bn("#storeCurrentId",a);const{basePath:l,showModuleIcon:c,searchOptions:u,settingStores:f,stateStores:d}=vn("#dmtComponentData"),h=d.mainSearchVisible;Lt(e,h,(e=>n(15,o=e)));const p=f.themeAnimate;Lt(e,p,(e=>n(16,s=e)));const g=u?.fullName??!1,m=u?.limit??10,y=rr("");Lt(e,y,(e=>n(1,i=e)));const b=s?Po:()=>{},v=yt.debounce(((e,t)=>n(0,$=function(e,{basePath:t,showModuleIcon:n=!0,searchFullName:r=!1,searchLimit:o=10}={}){if(!globalThis.dmtSearchMainIndex||!globalThis.dmtSearchMainRows)return[];const i=e.trim();if(0===i.length)return[];const s=globalThis.dmtSearchMainIndex.search(`*${i}*`),a=[];for(let e=0;e<s.length;e++){const t=s[e],n=globalThis.dmtSearchMainRows[Number(t.ref)];let r=1;n.n.toLowerCase().startsWith(i.toLowerCase())&&(r*=1+1/(1+Math.abs(n.n.length-i.length))),t.score*=r}s.sort(((e,t)=>t.score-e.score));for(let e=Math.min(o,s.length),l=0;l<e;l++){const e=s[l],o=Number(e.ref),c=globalThis.dmtSearchMainRows[o];let u=Sr(c.n,i);globalThis?.DEBUG_SEARCH_WEIGHTS&&(u+=` (score: ${e.score.toFixed(2)})`),c.p&&(r||2!==c.pk)&&(u=`<span class="parent">${Sr(c.p,i)}.</span>${u}`);const f=n||2!==c.k?c.k:void 0;a.push({id:o,kind:f,classes:c.c??"",href:`${t}${c.u}`,name:u})}return a}(e,t))),250),w={basePath:l,showModuleIcon:c,searchFullName:g,searchLimit:m};let x,S,E=0,$=[];return yn((()=>x.focus())),e.$$.update=()=>{2&e.$$.dirty&&v(i,{...w}),1&e.$$.dirty&&$?.length&&(E=-1,a.set(void 0)),3&e.$$.dirty&&n(4,r=i.length&&!$?.length)},[$,i,x,S,r,h,p,y,b,function(e){switch(e.code){case"ArrowDown":if(0===$.length)return;E<$.length-1&&(a.set($[++E].id),e.preventDefault());break;case"ArrowUp":if(0===$.length)return;E>0&&(a.set($[--E].id),e.preventDefault());break;case"Enter":E>=0&&(window.location.href=$[E].href),e.preventDefault();break;case"Escape":o&&!i.length&&Ft(h,o=!1,o);break;case"Tab":if(0===$.length)return void e.preventDefault();e.shiftKey?E>0&&a.set($[--E].id):E<$.length-1&&a.set($[++E].id),e.preventDefault()}e.stopPropagation()},function(e){e.target===x||S?.contains?.(e.target)||Ft(h,o=!1,o)},function(e){Sn[e?"unshift":"push"]((()=>{x=e,n(2,x)}))},function(){i=this.value,y.set(i)},function(e){S=e,n(3,S)}]}class ii extends er{constructor(e){super(),Xn(this,e,oi,ri,Tt,{})}}function si(e){let t,n;return t=new ii({}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function ai(e){let t,n,r,o,i=e[0]&&si();return r=new Jo({}),{c(){i&&i.c(),t=Xt(),n=Gt("div"),Gn(r.$$.fragment),rn(n,"class","dmt-widget dmt-toolbar-icon search no-caption svelte-wmon9h")},m(e,s){i&&i.m(e,s),Jt(e,t,s),Jt(e,n,s),Zn(r,n,null),o=!0},p(e,[n]){e[0]?i?1&n&&_n(i,1):(i=si(),i.c(),_n(i,1),i.m(t.parentNode,t)):i&&(Un(),Bn(i,1,1,(()=>{i=null})),jn())},i(e){o||(_n(i),_n(r.$$.fragment,e),o=!0)},o(e){Bn(i),Bn(r.$$.fragment,e),o=!1},d(e){e&&(Kt(t),Kt(n)),i&&i.d(e),Yn(r)}}}function li(e,t,n){let r;const{stateStores:o}=vn("#dmtComponentData"),i=o.mainSearchVisible;return Lt(e,i,(e=>n(0,r=e))),[r,i]}class ci extends er{constructor(e){super(),Xn(this,e,li,ai,Tt,{})}}function ui(e){let t,n,r,o;return{c(){t=Gt("div"),rn(t,"class","tjs-focus-wrap svelte-kjcljd"),rn(t,"tabindex",n=e[0]?0:null)},m(n,i){Jt(n,t,i),e[4](t),r||(o=tn(t,"focus",e[2]),r=!0)},p(e,[r]){1&r&&n!==(n=e[0]?0:null)&&rn(t,"tabindex",n)},i:bt,o:bt,d(n){n&&Kt(t),e[4](null),r=!1,o()}}}function fi(e,t,n){let r,o,{elementRoot:i}=t,{enabled:s=!0}=t;return e.$$set=e=>{"elementRoot"in e&&n(3,i=e.elementRoot),"enabled"in e&&n(0,s=e.enabled)},e.$$.update=()=>{2&e.$$.dirty&&o&&(r=new Set([o]))},[s,o,function(){if(s&&dr.isFocusTarget(i)){const e=dr.getFirstFocusableElement(i,r);dr.isFocusTarget(e)&&e!==o?e.focus():i.focus()}},i,function(e){Sn[e?"unshift":"push"]((()=>{o=e,n(1,o)}))}]}class di extends er{constructor(e){super(),Xn(this,e,fi,ui,Tt,{elementRoot:3,enabled:0})}}function hi(e,t,n){const r=e.slice();return r[15]=t[n],r}function pi(e,t){let n,r,o,i,s,a,l;return{key:e,first:null,c(){n=Gt("a"),r=Gt("img"),s=Xt(),Ct(r.src,o=t[15].iconURL)||rn(r,"src",o),rn(r,"alt",i=t[15].title),rn(r,"class","svelte-1pcybcf"),rn(n,"href",a=t[15].url),rn(n,"target","_blank"),rn(n,"title",l=t[15].title),rn(n,"class","svelte-1pcybcf"),this.first=n},m(e,t){Jt(e,n,t),Vt(n,r),Vt(n,s)},p(e,s){t=e,2&s&&!Ct(r.src,o=t[15].iconURL)&&rn(r,"src",o),2&s&&i!==(i=t[15].title)&&rn(r,"alt",i),2&s&&a!==(a=t[15].url)&&rn(n,"href",a),2&s&&l!==(l=t[15].title)&&rn(n,"title",l)},d(e){e&&Kt(n)}}}function gi(e){let t,n,r,o,i,s,a,l,c=[],u=new Map,f=Hn(e[1].icons);const d=e=>e[15].url;for(let t=0;t<f.length;t+=1){let n=hi(e,f,t),r=d(n);u.set(r,c[t]=pi(r,n))}return o=new di({props:{elementRoot:e[0]}}),{c(){t=Gt("section"),n=Gt("div");for(let e=0;e<c.length;e+=1)c[e].c();r=Xt(),Gn(o.$$.fragment),rn(n,"class","svelte-1pcybcf"),rn(t,"role","menu"),rn(t,"tabindex","-1"),rn(t,"class","svelte-1pcybcf")},m(i,u){Jt(i,t,u),Vt(t,n);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(n,null);Vt(t,r),Zn(o,t,null),e[9](t),s=!0,a||(l=[tn(window,"pointerdown",e[8]),tn(t,"keydown",e[6]),tn(t,"keyup",e[7])],a=!0)},p(e,[t]){2&t&&(f=Hn(e[1].icons),c=Wn(c,t,d,0,e,f,u,n,Vn,pi,null,hi));const r={};1&t&&(r.elementRoot=e[0]),o.$set(r)},i(n){s||(_n(o.$$.fragment,n),In((()=>{s&&(i||(i=zn(t,e[4],{duration:250,easing:Oo},!0)),i.run(1))})),s=!0)},o(n){Bn(o.$$.fragment,n),i||(i=zn(t,e[4],{duration:250,easing:Oo},!1)),i.run(0),s=!1},d(n){n&&Kt(t);for(let e=0;e<c.length;e+=1)c[e].d();Yn(o),e[9](null),n&&i&&i.end(),a=!1,Et(l)}}}function mi(e,t,n){let r,o,i;const{componentStores:s,settingStores:a}=vn("#dmtComponentData"),{toolbarIconLinks:l}=s;Lt(e,l,(e=>n(1,i=e)));const{themeAnimate:c}=a;Lt(e,c,(e=>n(11,o=e)));const u=o?Po:()=>{},f={ignoreClasses:["tjs-focus-wrap"]},d=vn("menuVisible");let h;return Lt(e,d,(e=>n(10,r=e))),yn((()=>h.focus())),[h,i,l,c,u,d,function(e){if("Tab"===e.code)if(e.stopPropagation(),e.shiftKey){const t=dr.getFocusableElements(h,f),n=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0;h!==globalThis.document.activeElement&&n!==globalThis.document.activeElement||(r instanceof HTMLElement&&n!==r&&r.focus(),e.preventDefault())}e.stopPropagation()},function(e){if("Escape"===e.code)Ft(d,r=!1,r),e.preventDefault();e.stopPropagation()},function(e){h?.parentElement?.contains?.(e.target)||Ft(d,r=!1,r)},function(e){Sn[e?"unshift":"push"]((()=>{h=e,n(0,h)}))}]}class yi extends er{constructor(e){super(),Xn(this,e,mi,gi,Tt,{})}}function bi(e){let t,n;return t=new yi({props:{buttonHostEl:e[0]}}),{c(){Gn(t.$$.fragment)},m(e,r){Zn(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.buttonHostEl=e[0]),t.$set(r)},i(e){n||(_n(t.$$.fragment,e),n=!0)},o(e){Bn(t.$$.fragment,e),n=!1},d(e){Yn(t,e)}}}function vi(e){let t,n,r,o,i,s,a=e[1]&&bi(e);return{c(){t=Gt("section"),n=Gt("button"),n.innerHTML='<svg width="16" height="16" viewBox="0 0 16 16" fill="none" class="svelte-1ebh1s9"><circle cx="8" cy="2" r="2"></circle><circle cx="8" cy="8" r="2"></circle><circle cx="8" cy="14" r="2"></circle></svg>',r=Xt(),a&&a.c(),rn(n,"class","svelte-1ebh1s9"),rn(t,"class","svelte-1ebh1s9")},m(l,c){Jt(l,t,c),Vt(t,n),Vt(t,r),a&&a.m(t,null),e[5](t),o=!0,i||(s=[tn(n,"click",e[4]),tn(n,"pointerdown",nn(e[3]))],i=!0)},p(e,[n]){e[1]?a?(a.p(e,n),2&n&&_n(a,1)):(a=bi(e),a.c(),_n(a,1),a.m(t,null)):a&&(Un(),Bn(a,1,1,(()=>{a=null})),jn())},i(e){o||(_n(a),o=!0)},o(e){Bn(a),o=!1},d(n){n&&Kt(t),a&&a.d(),e[5](null),i=!1,Et(s)}}}function wi(e,t,n){let r;const o=rr(!1);let i;Lt(e,o,(e=>n(1,r=e))),bn("menuVisible",o);return[i,r,o,function(t){wn.call(this,e,t)},()=>Ft(o,r=!r,r),function(e){Sn[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}class xi extends er{constructor(e){super(),Xn(this,e,wi,vi,Tt,{})}}function Si(e,t,n){const r=e.slice();return r[3]=t[n],r}function Ei(e,t){let n,r,o,i,s,a,l;return{key:e,first:null,c(){n=Gt("a"),r=Gt("img"),s=Xt(),Ct(r.src,o=t[3].iconURL)||rn(r,"src",o),rn(r,"alt",i=t[3].title),rn(r,"class","svelte-1f93d1m"),rn(n,"href",a=t[3].url),rn(n,"target","_blank"),rn(n,"title",l=t[3].title),rn(n,"class","svelte-1f93d1m"),this.first=n},m(e,t){Jt(e,n,t),Vt(n,r),Vt(n,s)},p(e,s){t=e,1&s&&!Ct(r.src,o=t[3].iconURL)&&rn(r,"src",o),1&s&&i!==(i=t[3].title)&&rn(r,"alt",i),1&s&&a!==(a=t[3].url)&&rn(n,"href",a),1&s&&l!==(l=t[3].title)&&rn(n,"title",l)},d(e){e&&Kt(n)}}}function $i(e){let t,n=[],r=new Map,o=Hn(e[0].icons);const i=e=>e[3].url;for(let t=0;t<o.length;t+=1){let s=Si(e,o,t),a=i(s);r.set(a,n[t]=Ei(a,s))}return{c(){t=Gt("section");for(let e=0;e<n.length;e+=1)n[e].c();rn(t,"class","svelte-1f93d1m")},m(e,r){Jt(e,t,r);for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(t,null)},p(e,[s]){1&s&&(o=Hn(e[0].icons),n=Wn(n,s,i,0,e,o,r,t,Vn,Ei,null,Si))},i:bt,o:bt,d(e){e&&Kt(t);for(let e=0;e<n.length;e+=1)n[e].d()}}}function Ti(e,t,n){let r;const{componentStores:o}=vn("#dmtComponentData"),{toolbarIconLinks:i}=o;return Lt(e,i,(e=>n(0,r=e))),[r,i]}class ki extends er{constructor(e){super(),Xn(this,e,Ti,$i,Tt,{})}}function Ci(e){let t,n,r;var o=e[1];return o&&(t=cn(o,{})),{c(){t&&Gn(t.$$.fragment),n=en()},m(e,o){t&&Zn(t,e,o),Jt(e,n,o),r=!0},p(e,r){if(2&r&&o!==(o=e[1])){if(t){Un();const e=t;Bn(e.$$.fragment,1,0,(()=>{Yn(e,1)})),jn()}o?(t=cn(o,{}),Gn(t.$$.fragment),_n(t.$$.fragment,1),Zn(t,n.parentNode,n)):t=null}},i(e){r||(t&&_n(t.$$.fragment,e),r=!0)},o(e){t&&Bn(t.$$.fragment,e),r=!1},d(e){e&&Kt(n),t&&Yn(t,e)}}}function Oi(e){let t,n,r=e[0].icons.length&&Ci(e);return{c(){r&&r.c(),t=en()},m(e,o){r&&r.m(e,o),Jt(e,t,o),n=!0},p(e,[n]){e[0].icons.length?r?(r.p(e,n),1&n&&_n(r,1)):(r=Ci(e),r.c(),_n(r,1),r.m(t.parentNode,t)):r&&(Un(),Bn(r,1,1,(()=>{r=null})),jn())},i(e){n||(_n(r),n=!0)},o(e){Bn(r),n=!1},d(e){e&&Kt(t),r&&r.d(e)}}}function Ii(e,t,n){let r,o;const{componentStores:i}=vn("#dmtComponentData"),s=vn("toolbarOffsetWidth");Lt(e,s,(e=>n(4,r=e)));const{toolbarIconLinks:a}=i;Lt(e,a,(e=>n(0,o=e)));let l=ki;return e.$$.update=()=>{17&e.$$.dirty&&r>0&&(o.totalWidth>0&&n(1,l=o.totalWidth>r?xi:ki),r<40&&n(1,l=void 0))},[o,l,s,a,r]}class Li extends er{constructor(e){super(),Xn(this,e,Ii,Oi,Tt,{})}}function Pi(e){let t,n,r,o,i,s;return n=new Li({}),{c(){t=Gt("section"),Gn(n.$$.fragment),rn(t,"class","svelte-j9157o")},m(a,l){Jt(a,t,l),Zn(n,t,null),o=!0,i||(s=Ut(r=mt.call(null,t,e[2])),i=!0)},p(e,[t]){r&&$t(r.update)&&1&t&&r.update.call(null,e[2])},i(e){o||(_n(n.$$.fragment,e),o=!0)},o(e){Bn(n.$$.fragment,e),o=!1},d(e){e&&Kt(t),Yn(n),i=!1,s()}}}function Ai(e,t,n){let r;const o=rr(0);Lt(e,o,(e=>n(0,r=e))),bn("toolbarOffsetWidth",o);return[r,o,e=>Ft(o,r=e,r)]}globalThis.dmtInflateAndUnpack=function(e,{inflateOptions:t}={}){return Z(Je(e,t))},globalThis.dmtInflateAndUnpackB64=function(e,{inflateOptions:t}={}){return Z(Je(ot(it(e)),t))};const Mi=new class{#Z;#Y;#X;#ee;#te;#ne;#re={local:new cr,session:new ur};constructor(e){this.#Y="string"==typeof globalThis.dmtComponentDataBCMP?globalThis.dmtInflateAndUnpackB64(globalThis.dmtComponentDataBCMP):{};const t=e.replace(/assets\/dmt\/dmt-components.js/,""),n=e.replace(/dmt-components.js/,""),r=globalThis.location.href.replace(t,""),o=(r.match(/\//)??[]).length,i="../".repeat(o);this.#X={basePath:i,baseURL:t,dmtURL:n,initialPathURL:r},this.#ee=new yr(this,this.#Y.navigationIndex),this.#Z=Object.freeze({toolbarIconLinks:kr(this,this.#Y)});const s="boolean"!=typeof this.#Y?.settingOptions?.animation||this.#Y?.settingOptions?.animation;this.#te=Object.freeze({themeAnimate:s?this.#re.local.getStore(Cr,!dr.prefersReducedMotion):nr(!1)}),this.#ne=Object.freeze({helpPanelVisible:rr(!1),mainSearchVisible:rr(!1),swapHelpPanelVisible:()=>this.#ne.helpPanelVisible.set(!It(this.#ne.helpPanelVisible))})}get basePath(){return this.#X.basePath}get baseURL(){return this.#X.baseURL}get componentStores(){return this.#Z}get dmtLocalStorage(){return this.#re.local}get dmtSessionStorage(){return this.#re.session}get dmtURL(){return this.#X.dmtURL}get initialPathURL(){return this.#X.initialPathURL}get navigation(){return this.#ee}get settingStores(){return this.#te}get stateStores(){return this.#ne}get iconLinks(){return this.#Y.iconLinks}get pageIndex(){return this.#Y.pageIndex??{}}get moduleIsPackage(){return this.#Y.moduleIsPackage??!1}get showModuleIcon(){return this.#Y.showModuleIcon??!0}get searchOptions(){return this.#Y.searchOptions}get ReflectionKind(){return this.#Y.ReflectionKind}get sidebarLinks(){return this.#Y?.sidebarLinks??{}}get storagePrepend(){return this.#Y.storagePrepend??"docs-unnamed"}}(import.meta.url),Di=new Map([["#dmtComponentData",Mi]]),Ni=new class extends er{constructor(e){super(),Xn(this,e,Ar,Pr,Tt,{})}}({target:document.querySelector(".tsd-navigation.settings .tsd-accordion-details"),context:Di}),Ri=document.querySelector("nav#tsd-sidebar-links");Ri&&Ri.remove();const Fi=document.querySelector("nav.tsd-navigation");if(Fi&&Fi.firstChild)for(;Fi.firstChild;)Fi.removeChild(Fi.firstChild);const Ui=new class extends er{constructor(e){super(),Xn(this,e,null,Vo,Tt,{})}}({target:document.querySelector("nav.tsd-navigation"),context:Di}),ji=new class extends er{constructor(e){super(),Xn(this,e,Ai,Pi,Tt,{})}}({target:document.querySelector("#dmt-toolbar"),context:Di});globalThis.dmtComponents={dmtSettings:Ni,navigation:Ui,toolbar:ji},Mi.searchOptions&&(!async function(){const e=import.meta.url.replace(/\/dmt-components.js/,""),t=await fetch(`${e}/dmt-search.cmp`);if(!t.ok)return console.warn("[typedoc-theme-default-modern] Could not load search index."),!1;try{const e=await t.arrayBuffer(),n=globalThis.dmtInflateAndUnpack(new Uint8Array(e));globalThis.dmtSearchMainRows=n.rows,globalThis.dmtSearchMainIndex=xr.Index.load(n.index)}catch(e){return console.warn("[typedoc-theme-default-modern] Could not load search index."),console.error(e),!1}}(),globalThis.dmtComponents.searchMain=new ci({target:document.querySelector("#dmt-search-main"),context:Di})),function(e){const{baseURL:t,dmtSessionStorage:n,pageIndex:r,navigation:o,stateStores:i,storagePrepend:s}=e;globalThis.document.addEventListener("keydown",(e=>{if(e.altKey&&!e.repeat)switch(e.code){case"KeyC":{const t=document.querySelector(".col-content");if(t){const e=dr.getFirstFocusableElement(t);e&&e.focus({focusVisible:!0})}e.preventDefault();break}case"KeyD":{const t=`${s}-document-index`;n.hasStore(t)&&(n.getStore(t).set(!0),setTimeout((()=>{const e=globalThis.document.querySelector("section.dmt-document-index");if(e){const t=e.querySelector("a");t&&t.focus({focusVisible:!0})}}),0)),e.preventDefault();break}case"KeyE":o.treeState.source.swapFoldersAllOpen(),e.preventDefault();break;case"KeyH":i.swapHelpPanelVisible(),e.preventDefault();break;case"KeyI":globalThis.location.href=`${t}index.html`,e.preventDefault();break;case"KeyM":"string"==typeof r.modules&&(globalThis.location.href=`${t}${r.modules}`),e.preventDefault();break;case"KeyN":o.treeState.ensureCurrentPath({focus:!0}),e.preventDefault();break;case"KeyO":fr.openOnThisPage(),e.preventDefault();break;case"KeyS":i.mainSearchVisible.set(!0),e.preventDefault();break;case"KeyY":"string"==typeof r.hierarchy&&(globalThis.location.href=`${t}${r.hierarchy}`),e.preventDefault()}}))}(Mi),function(){const e=globalThis.document.querySelector("section.dmt-navigation-bar"),t=[...globalThis.document.querySelectorAll("div.dmt-navigation-tree")],n=globalThis.document.querySelector("details.tsd-page-navigation .tsd-accordion-details"),r=globalThis.document.querySelector("div.col-sidebar"),o=globalThis.document.querySelector("section.dmt-sidebar-links"),i=globalThis.document.querySelector("div.site-menu"),s=globalThis.document.querySelector("div.container.container-main"),a=globalThis.document.querySelector("div.col-content"),l=new Set([s,e,...t,n,r,o,i,null]);function c(e,t){t=t??e,e.addEventListener("pointerenter",(e=>{e.preventDefault(),e.stopImmediatePropagation();const n=globalThis.document.querySelector(":focus-visible");globalThis.document.activeElement!==t&&l.has(n)&&globalThis.requestAnimationFrame((()=>t.focus({preventScroll:!0})))}))}if(e&&c(e),t.length)for(const e of t)c(e);n&&c(n),r&&c(r),o&&c(o),i&&c(i),a&&c(a,s)}(),fr.initialize(Mi),globalThis.requestAnimationFrame((()=>{const e=document.createElement("style");e.innerHTML="body { visibility: visible; }",document.head.appendChild(e);const t=document.querySelector("body main footer");t&&document.documentElement.style.setProperty("--dmt-footer-height",`${t.offsetHeight}px`)}));
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--dmt-box-shadow-color:#00000080;--dmt-container-border-radius:0.5rem;--dmt-container-box-shadow:0 0 0.15rem var(--dmt-box-shadow-color);--dmt-container-box-shadow-floating:0 0 0.5rem var(--dmt-box-shadow-color);--dmt-container-max-height:calc(100vh - var(--dmt-header-height));--dmt-container-padding:1rem;--dmt-container-padding-member:0.5rem;--dmt-header-height:42px;--dmt-overlay-panel-background:#27292e;--dmt-menu-item-background-hover:var(--color-accent);--dmt-menu-item-background-selected:var(--color-accent);--dmt-nav-folder-contents-border-color:var(--color-active-menu-item);--dmt-page-menu-max-height:calc(100vh - var(--dmt-header-height) - var(--dmt-footer-height, 0px) - 1.5rem);--dmt-focus-visible-color:orange;--dmt-outline-focus-visible:3px solid var(--dmt-focus-visible-color);--tjs-folder-summary-chevron-border-radius:0.25rem;--tjs-default-outline-focus-visible:var(--dmt-outline-focus-visible)}:root[data-theme=dark]{--dmt-box-shadow-color:#0009;--dmt-container-background:#0000001a;--dmt-container-border:2px solid #0003;--dmt-container-floating-border:2px solid #0009;--dmt-container-separator-border:1px solid #000c;--dmt-overlay-panel-background:#27292e}:root[data-theme=light]{--dmt-box-shadow-color:#0000004d;--dmt-container-background:#0000000d;--dmt-container-border:2px solid #0000001a;--dmt-container-floating-border:2px solid #0000004d;--dmt-container-separator-border:1px solid #0006;--dmt-overlay-panel-background:#e6e8eb}@media (prefers-color-scheme:dark){:root{--dmt-box-shadow-color:#0009;--dmt-container-background:#0000001a;--dmt-container-border:2px solid #0003;--dmt-container-floating-border:2px solid #0009;--dmt-container-separator-border:1px solid #000c;--dmt-overlay-panel-background:#27292e}}@media (prefers-color-scheme:light){:root{--dmt-box-shadow-color:#0000004d;--dmt-container-background:#0000000d;--dmt-container-border:2px solid #0000001a;--dmt-container-floating-border:2px solid #0000004d;--dmt-container-separator-border:1px solid #0006;--dmt-overlay-panel-background:#e6e8eb}}#dmt-toolbar{container:dmt-toolbar/inline-size}.col-content{container:col-content/inline-size}.site-menu{container:site-menu/inline-size}body main{box-sizing:border-box;display:flex;flex-direction:column;height:100vh;overflow:hidden;width:100vw}body footer{flex-shrink:0;height:fit-content;width:100%}::-webkit-scrollbar{height:.75rem}.dmt-title-header-flex{align-items:center;display:flex;flex-wrap:nowrap}.dmt-title-header-flex h1{margin-right:auto}a.tsd-anchor-icon:focus-visible>svg{visibility:visible}summary.tsd-accordion-summary:focus-visible{outline:revert}.tsd-panel.tsd-member .tsd-anchor-link .tsd-anchor-icon{margin-right:auto}.col-content:focus-visible,.col-sidebar:focus-visible,.site-menu:focus-visible,details.tsd-page-navigation .tsd-accordion-details:focus-visible,div.container.container-main:focus-visible{outline:#0000}header.tsd-page-toolbar{flex-shrink:0;height:var(--dmt-header-height);left:unset;position:unset;top:unset}.container{max-width:unset}.container.container-main{box-sizing:border-box;flex-grow:1;overflow-x:hidden;width:100%}.col-content{contain:layout style paint;display:flex;flex-direction:column;height:fit-content;max-width:1300px;overflow:hidden;padding-bottom:1rem;padding-top:.75rem}.col-content .tsd-panel,.col-content .tsd-panel-group{margin-bottom:0}.col-content details[open].tsd-hierarchy>.tsd-accordion-summary,.col-content details[open].tsd-index-content>.tsd-accordion-summary{border-bottom:var(--dmt-container-border);padding-bottom:var(--dmt-container-padding)}.col-content details.tsd-panel-group summary{background:linear-gradient(to right,var(--dmt-container-background),var(--color-background));border-bottom:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius) 0 0 var(--dmt-container-border-radius);padding:.25rem}.site-menu{contain:layout style paint;margin-top:0;max-height:unset;padding-left:.1rem;top:0}.site-menu .tsd-accordion-summary{align-items:center;display:flex}.site-menu .tsd-nested-navigation{margin-left:2.5rem}.page-menu{contain:layout style paint;display:flex;flex-direction:column;gap:1rem;max-height:var(--dmt-page-menu-max-height);overflow:revert;padding:.75rem .5rem .5rem;position:sticky;top:0}@media (min-width:770px) and (max-width:1399px){.col-sidebar{max-height:unset;padding-top:0;top:0}}details.tsd-accordion{will-change:height}details.tsd-accordion[open]:not(details[data-closing=true])>summary svg{transform:rotate(0deg)}details.tsd-accordion:not([open])>summary svg{transform:rotate(-90deg)}.dmt-summary-svg{transition:transform .1s}.container-main{background:var(--color-background)}:focus-visible{outline:var(--dmt-outline-focus-visible)}details .tsd-accordion-summary:focus-visible{outline:none}details .tsd-accordion-summary:focus-visible svg{border-radius:.25rem;outline:var(--dmt-outline-focus-visible)}details .tsd-accordion-summary h3,details .tsd-accordion-summary h5{align-items:center;display:flex;gap:.25rem}nav.tsd-navigation{display:flex;flex-direction:column;gap:.75rem}nav.tsd-navigation>section:first-child{margin-top:.75rem}nav.tsd-navigation>section:first-child.source-index{margin-top:0}.tsd-navigation a,.tsd-navigation summary>span,.tsd-page-navigation a{padding:.25rem}a{border-radius:.25rem}@container dmt-toolbar (min-width: 0){.title{font-size:clamp(.75rem,2.5cqi,1rem)}}@container col-content (min-width: 0){.tsd-page-title h1{font-size:clamp(1rem,3.5cqi,2rem)}.tsd-kind-icon~span,h5{font-size:clamp(.8rem,2.5cqi,1rem)}}@container site-menu (min-width: 0){.tsd-navigation span{font-size:clamp(.8rem,5cqi,1rem)}}.tsd-page-toolbar{box-shadow:var(--dmt-header-box-shadow)}.tsd-page-toolbar .tsd-toolbar-contents{padding:0 .25rem 0 1rem}.tsd-page-toolbar .tsd-toolbar-icon{padding:12px}.tsd-page-toolbar .tsd-toolbar-icon.menu{height:30px;margin:6px;padding:6px;width:28px}#dmt-toolbar{align-items:center;display:flex}#dmt-toolbar a.title{height:32px;line-height:32px;padding-right:.5rem}.container{margin:0 auto;padding:0 1rem}.container .tsd-signature{border-radius:.5rem}.container .tsd-signatures .tsd-signature{border-radius:0}.container .tsd-panel-group.tsd-index-group details,.container .tsd-panel-group.tsd-index-group details .tsd-accordion-summary .tsd-index-heading{margin:0}.container .tsd-panel-group.tsd-index-group details .tsd-accordion-details .tsd-index-heading{margin:0 0 15px}.container .tsd-panel-group.tsd-index-group details .tsd-accordion-details section:not(:last-child){margin-bottom:15px}.container .tsd-panel-group.tsd-index-group .tsd-index-list{overflow:auto}.container .tsd-panel-group.tsd-hierarchy .tsd-accordion-summary a,.container .tsd-panel-group.tsd-index-group .tsd-accordion-summary a{width:unset}.container .tsd-panel-group.tsd-hierarchy details,.container .tsd-panel-group.tsd-index-group details{background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow);padding:var(--dmt-container-padding)}.container .tsd-panel-group.tsd-hierarchy .tsd-accordion-details{padding-top:.75rem}.container .tsd-panel-group.tsd-hierarchy .tsd-accordion-details ul.tsd-hierarchy{padding-left:1.25rem}.container section.tsd-index-section .tsd-index-list{padding:var(--dmt-container-padding)}.container section.tsd-index-section .tsd-index-list,.container section.tsd-panel.tsd-member{background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow)}.container section.tsd-panel.tsd-member{margin-bottom:2rem;padding:var(--dmt-container-padding-member)}.container .tsd-returns-title p,.container li.tsd-description,.container ul.tsd-signatures{margin-bottom:0}.container ul.tsd-parameter-list{background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow);padding:var(--dmt-container-padding-member);padding-left:1.5rem}.container ul.tsd-parameter-list h5:first-child,.container ul.tsd-parameter-list h5:last-child{margin-top:0}.container ul.tsd-parameter-list ul.tsd-parameters{background:unset;border:unset;border-radius:unset;box-shadow:unset}.container ul.tsd-parameters{background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow);display:flex;flex-direction:column;gap:1rem;margin-bottom:0;padding:var(--dmt-container-padding-member);padding-left:1.5rem}.container ul.tsd-parameters h5:first-child{margin-top:0}.container ul.tsd-parameters h5:last-child{margin-bottom:0}.container ul.tsd-parameters.no-children{background:unset;border:unset;border-radius:unset;box-shadow:unset;margin:0;padding:0}.container .tsd-breadcrumb li:last-child:after{content:""}@media (min-width:2190px){.page-menu{max-width:350px}.container-main{grid-template-columns:minmax(0,520px) minmax(0,1300px) 1fr;padding-left:calc(50% - 1095px)}}@media (width < 1200px){.tsd-accordion.tsd-page-navigation{display:none}.page-menu{margin-bottom:.75rem;padding-right:1rem;position:static}.site-menu{max-height:unset}}@media (max-width:769px){.from-has-menu .col-sidebar{display:flex;flex-direction:column}.from-has-menu .col-sidebar,.has-menu .col-sidebar{gap:.5rem;padding:0 0 0 1rem}}.page-menu .tsd-navigation.settings{background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow-floating);margin:0;padding:var(--dmt-container-padding)}.page-menu .tsd-navigation.settings .tsd-accordion-summary{width:inherit}.page-menu .tsd-navigation.settings .tsd-filter-visibility h4{padding-top:.25rem}.page-menu .tsd-navigation.settings input[type=checkbox]:focus-visible+svg{outline:var(--dmt-outline-focus-visible)}.page-menu details.tsd-accordion.tsd-page-navigation{background:var(--dmt-container-background);border:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius);box-shadow:var(--dmt-container-box-shadow-floating);overflow:hidden;padding:var(--dmt-container-padding)}.page-menu details.tsd-accordion.tsd-page-navigation .tsd-accordion-details{height:calc(100% - var(--dmt-header-height));overflow-x:hidden;overflow-y:auto}.page-menu details.tsd-accordion.tsd-page-navigation .tsd-accordion-details ul{padding:.25rem 0 .25rem .5rem}.page-menu details[open].tsd-accordion.tsd-page-navigation{padding:var(--dmt-container-padding) 0 var(--dmt-container-padding) var(--dmt-container-padding)}.page-menu details[open].tsd-accordion.tsd-page-navigation::details-content{display:contents}.page-menu details[open].tsd-accordion.tsd-page-navigation>.tsd-accordion-summary{width:calc(100% - 1rem)}.page-menu details[open].tsd-accordion.tsd-page-navigation .tsd-accordion-details{padding-top:.75rem}.page-menu .tsd-navigation.settings details[open]>.tsd-accordion-summary,.page-menu details[open].tsd-page-navigation>.tsd-accordion-summary{border-bottom:var(--dmt-container-border);padding-bottom:var(--dmt-container-padding)}.page-menu .tsd-page-navigation details.tsd-page-navigation-section{margin:0 var(--dmt-container-padding) 0 0}.page-menu .tsd-page-navigation details.tsd-page-navigation-section:not(:last-child){margin-bottom:.5rem}.page-menu .tsd-page-navigation details.tsd-page-navigation-section summary{align-items:center;background:linear-gradient(to right,var(--dmt-container-background),#0000);border-bottom:var(--dmt-container-border);border-radius:var(--dmt-container-border-radius) 0 0 var(--dmt-container-border-radius);display:flex;gap:.25rem}.page-menu .tsd-page-navigation details.tsd-page-navigation-section>div{margin-left:8px;overflow-wrap:anywhere;width:calc(100% + 8px)}
|