diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 42caa821..d5ca164c 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 container: - image: mcr.microsoft.com/playwright:v1.52.0-jammy + image: mcr.microsoft.com/playwright:v1.53.1-jammy env: MPKIT_EMAIL: ${{ secrets.MPKIT_EMAIL }} MPKIT_TOKEN: ${{ secrets.MPKIT_TOKEN }} diff --git a/gui/next/build/_app/immutable/assets/0.x3vwhaW_.css b/gui/next/build/_app/immutable/assets/0.QmKtTD0U.css similarity index 58% rename from gui/next/build/_app/immutable/assets/0.x3vwhaW_.css rename to gui/next/build/_app/immutable/assets/0.QmKtTD0U.css index aac126c4..d55538a8 100644 --- a/gui/next/build/_app/immutable/assets/0.x3vwhaW_.css +++ b/gui/next/build/_app/immutable/assets/0.QmKtTD0U.css @@ -1 +1 @@ -*:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)){all:unset;display:revert}*,*:before,*:after{box-sizing:border-box}a,button{cursor:revert}ol,ul,menu{list-style:none}img{max-width:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}input[type=radio]{all:revert}textarea{white-space:revert}meter{-webkit-appearance:revert;-moz-appearance:revert;appearance:revert}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable=false])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable=true]){-webkit-user-drag:element}html{font-family:sans-serif}:root,::backdrop{--color-light-rgb-text: 74, 74, 74;--color-light-rgb-text-secondary: 146, 146, 146;--color-light-rgb-text-inverted: 255, 255, 255;--color-light-rgb-interaction: 25, 79, 144;--color-light-rgb-interaction-hover: 58, 141, 222;--color-light-rgb-interaction-active: 50, 130, 210;--color-light-rgb-frame: 221, 221, 221;--color-light-rgb-page: 255, 255, 255;--color-light-rgb-background: 245, 246, 252;--color-light-rgb-middleground: 235, 236, 242;--color-light-rgb-context: 53, 55, 57;--color-light-rgb-confirmation: 30, 142, 73;--color-light-rgb-danger: 199, 46, 46;--color-light-rgb-highlight: 250, 240, 211;--color-light-context-input-background: 87, 90, 92;--color-light-context-button-background: 28, 29, 30;--color-light-context-button-background-hover: 36, 42, 49;--color-light-context-button-text: 255, 255, 255;--color-dark-rgb-text: 208, 212, 218;--color-dark-rgb-text-secondary: 114, 148, 152;--colot-light-rgb-text-inverted: 0, 0, 0;--color-dark-rgb-interaction: 100, 180, 200;--color-dark-rgb-interaction-hover: 130, 210, 230;--color-dark-rgb-interaction-active: 115, 195, 215;--color-dark-rgb-frame: 47, 61, 76;--color-dark-rgb-page: 29, 40, 51;--color-dark-rgb-background: 19, 32, 45;--color-dark-rgb-middleground: 15, 25, 35;--color-dark-rgb-context: 21, 29, 38;--color-dark-rgb-confirmation: 30, 142, 73;--color-dark-rgb-danger: 221, 89, 89;--color-dark-rgb-highlight: 106, 62, 10;--color-dark-context-input-background: 87, 90, 92;--color-dark-context-button-background: 41, 48, 57;--color-dark-context-button-background-hover: 61, 68, 78;--color-dark-context-button-text: 255, 255, 255}:root,::backdrop{--color-rgb-text: var(--color-light-rgb-text);--color-rgb-text-secondary: var(--color-light-rgb-text-secondary);--color-rgb-text-inverted: var(--color-light-rgb-text-inverted);--color-rgb-interaction: var(--color-light-rgb-interaction);--color-rgb-interaction-hover: var(--color-light-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-light-rgb-interaction-active);--color-rgb-frame: var(--color-light-rgb-frame);--color-rgb-page: var(--color-light-rgb-page);--color-rgb-background: var(--color-light-rgb-background);--color-rgb-middleground: var(--color-light-rgb-middleground);--color-rgb-context: var(--color-light-rgb-context);--color-rgb-confirmation: var(--color-light-rgb-confirmation);--color-rgb-danger: var(--color-light-rgb-danger);--color-rgb-highlight: var(--color-light-rgb-highlight);--color-rgb-context-input-background: var(--color-light-context-input-background);--color-rgb-context-button-background: var(--color-light-context-button-background);--color-rgb-context-button-background-hover: var(--color-light-context-button-background-hover);--color-rgb-context-button-text: var(--color-light-context-button-text)}@media (prefers-color-scheme: dark){:root,::backdrop{--color-rgb-text: var(--color-dark-rgb-text);--color-rgb-text-secondary: var(--color-dark-rgb-text-secondary);--color-rgb-text-inverted: var(--color-dark-rgb-text-inverted);--color-rgb-interaction: var(--color-dark-rgb-interaction);--color-rgb-interaction-hover: var(--color-dark-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-dark-rgb-interaction-active);--color-rgb-frame: var(--color-dark-rgb-frame);--color-rgb-page: var(--color-dark-rgb-page);--color-rgb-background: var(--color-dark-rgb-background);--color-rgb-middleground: var(--color-dark-rgb-middleground);--color-rgb-context: var(--color-dark-rgb-context);--color-rgb-confirmation: var(--color-dark-rgb-confirmation);--color-rgb-danger: var(--color-dark-rgb-danger);--color-rgb-highlight: var(--color-dark-rgb-highlight);--color-rgb-context-input-background: var(--color-dark-context-input-background);--color-rgb-context-button-background: var(--color-dark-context-button-background);--color-rgb-context-button-background-hover: var(--color-dark-context-button-background-hover);--color-rgb-context-button-text: var(--color-dark-context-button-text)}}:root{--color-text: rgb(var(--color-rgb-text));--color-text-secondary: rgb(var(--color-rgb-text-secondary));--color-text-inverted: rgb(var(--color-rgb-text-inverted));--color-interaction: rgb(var(--color-rgb-interaction));--color-interaction-hover: rgb(var(--color-rgb-interaction-hover));--color-interaction-active: rgb(var(--color-rgb-interaction-active));--color-frame: rgb(var(--color-rgb-frame));--color-page: rgb(var(--color-rgb-page));--color-background: rgb(var(--color-rgb-background));--color-middleground: rgb(var(--color-rgb-middleground));--color-context: rgb(var(--color-rgb-context));--color-confirmation: rgb(var(--color-rgb-confirmation));--color-danger: rgb(var(--color-rgb-danger));--color-highlight: rgb(var(--color-rgb-highlight));--color-context-input-background: rgb(var(--color-rgb-context-input-background));--color-context-button-background: rgb(var(--color-rgb-context-button-background));--color-context-button-background-hover: rgb(var(--color-rgb-context-button-background-hover));--color-context-button-text: rgb(var(--color-rgb-context-button-text))}:root{--space-page: 2rem;--space-navigation: 1rem;--space-table: 1rem}:root{--font-normal: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:root{--easing-rapid: cubic-bezier(.075, .82, .165, 1)}body{height:100vh;display:grid;grid-template-rows:min-content 1fr;background-color:var(--color-page);text-rendering:optimizeLegibility;font-family:var(--font-normal);color:var(--color-text)}.content-context{background-color:var(--color-context);color:var(--color-text-inverted)}a{transition-property:color,background-color;transition-duration:.1s;transition-timing-function:ease-in-out}kbd{padding:.4em .2em;border-radius:.2em;background-color:var(--color-middleground);text-transform:uppercase;line-height:.6em;font-family:monospace}.definitions{display:grid;grid-template-columns:auto auto}.definitions dt,.definitions dd{padding-block:.7rem;display:flex;align-items:center}.definitions dt:not(:last-of-type),.definitions dd:not(:last-of-type){border-block-end:1px solid var(--color-background)}.definitions dt{padding-inline-end:1em;white-space:nowrap;color:var(--color-text-secondary)}.definitions dd{min-width:0;display:flex;justify-content:end;word-wrap:break-word;text-wrap:balance}.definitions dd>*{width:100%;display:block;word-wrap:break-word;text-align:end}.button{padding:.7rem 1rem;display:inline-flex;align-items:center;gap:.6em;border-radius:.5rem;background-color:var(--color-middleground);leading-trim:both;line-height:1em;color:var(--color-text);transition:all .1s linear}button:not(:disabled):not(.disabled){cursor:pointer}.button:not(.disabled):not(:disabled):hover{background-color:rgba(var(--color-rgb-interaction-hover),.2)}.button:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}.button.active{background-color:rgba(var(--color-rgb-interaction-hover),.1)}.content-context .button{background-color:var(--color-context-button-background);color:var(--color-context-button-text)}.content-context .button:hover{background-color:var(--color-context-button-background-hover)}.content-context .button:hover svg{color:currentColor}.button svg{width:18px;height:18px;margin-block:-.04rem;pointer-events:none}.button:not(:disabled):hover svg{color:var(--color-interaction)}.button:has(svg){padding-block:.64rem}.button:disabled svg{color:var(--color-text-secondary)}.button .label,button .label{position:absolute;left:-100vw}.combo{display:flex;gap:1px}.combo .button:first-of-type{border-radius:.5rem 0 0 .5rem}.combo .button:last-of-type{border-radius:0 .5rem .5rem 0}.button.compact{padding:.4rem}.button.danger{color:var(--color-danger)}.button.confirmation{background-color:rgba(var(--color-rgb-confirmation),.2);color:var(--color-confirmation)}.button.confirmation:hover{color:var(--color-confirmation)}.button.confirmation:hover svg{color:inherit}input[type=text],input[type=number],input[type=date],select,textarea{padding:.5rem 1rem;border-radius:.5rem;background-color:var(--color-middleground);transition-property:background-color,box-shadow,color;transition-duration:.1s;transition-timing-function:linear}.content-context select,.content-context input{background-color:var(--color-context-input-background)}textarea{padding:1rem}.content-context textarea{background-color:var(--color-context-input-background)}select{padding-inline-end:2.1em;background-image:url('data:image/svg+xml,');background-repeat:no-repeat;background-position:right .7em center;background-size:.7em}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}input::placeholder,textarea::placeholder{color:var(--color-text-secondary)}.content-context input:disabled,.content-context select:disabled,.content-context textarea:disabled{color:rgba(var(--color-rgb-context-button-text),.6)}input[type=checkbox]{all:revert}header.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{max-width:100vw;padding-block:var(--space-navigation);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--color-frame);background-color:var(--color-page)}.wrapper.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;width:100%;padding-inline:var(--space-page);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-navigation) var(--space-page)}.logo.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;min-height:2.5625rem;display:flex;align-items:center;gap:1rem}.logo.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{position:absolute;left:-100vw}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc{width:100%;min-width:2rem;max-width:3.125rem;transition:scale .2s var(--easing-rapid)}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.logotype:hover) .sign.svelte-uthxgc.svelte-uthxgc{scale:1.1}.logo.svelte-uthxgc h1.svelte-uthxgc.svelte-uthxgc{min-width:2rem;display:flex;flex-direction:column}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc{width:100%;max-width:120px;fill:var(--color-text);transition:fill .2s var(--easing-rapid)}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.sign:hover) .logotype.svelte-uthxgc.svelte-uthxgc{fill:color-mix(in srgb,var(--color-text),var(--color-text-secondary) 40%)}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc{max-width:260px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;color:var(--color-text-secondary);transition:font-size .2s ease-in-out}.logo.svelte-uthxgc .instance.offline.svelte-uthxgc.svelte-uthxgc{font-size:0;color:transparent}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc:hover{color:var(--color-interaction-hover)}ul.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{display:flex;gap:1rem}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.8rem;display:flex;flex-direction:column;gap:.5rem;justify-items:center;align-items:center;position:relative;border-radius:1rem;background-color:var(--color-background);text-transform:uppercase;font-size:.9rem;color:var(--color-text-secondary);transition-property:background-color,border-radius;transition-duration:.1s,.2s;transition-timing-function:linear,cubic-bezier(.175,.885,.32,1.275)}@media (max-width: 525px){li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.5rem}}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc:hover{border-radius:1.2rem;background-color:var(--color-middleground)}li.svelte-uthxgc a.active.svelte-uthxgc.svelte-uthxgc{background-color:var(--color-middleground);color:var(--color-text)}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{margin-block-start:.4rem;padding:.2rem .5rem;position:absolute;top:105%;right:0;left:auto;bottom:auto;opacity:0;border-radius:.2rem;background-color:var(--color-text);white-space:nowrap;font-weight:500;color:var(--color-page);transition:opacity .1s ease-in-out}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc:before{width:10px;height:6px;position:absolute;top:-6px;right:1.25rem;background-color:var(--color-text);clip-path:polygon(50% 0%,100% 100%,0% 100%);content:""}nav.svelte-uthxgc a.svelte-uthxgc:hover .label.svelte-uthxgc{opacity:1}.connectionIndicator.svelte-1cyr69k{display:flex;align-items:center;gap:1em}.connectionIndicator.svelte-1cyr69k:after{width:.8rem;height:.8rem;margin-inline-end:-.5em;display:block;position:relative;top:1px;border-radius:100%;background-color:var(--color-text-inverted);animation:svelte-1cyr69k-blink .7s ease-in-out;animation-iteration-count:infinite;content:""}@keyframes svelte-1cyr69k-blink{0%{opacity:.2}70%{opacity:1}}.container.svelte-fq192n{padding:1rem;display:flex;flex-direction:column;align-items:flex-start;position:fixed;top:100%;translate:0 var(--height);transition:translate .2s cubic-bezier(.175,.885,.32,1.275)}.notification.svelte-fq192n{margin-block-start:.5rem;padding:.7rem 2rem .8rem 1.5rem;display:flex;gap:1em;align-items:center;position:relative;border-radius:1rem;color:var(--color-text-inverted)}.success.svelte-fq192n{background-color:var(--color-confirmation)}.error.svelte-fq192n{background-color:var(--color-danger)}.info.svelte-fq192n{background-color:var(--color-context)}.disabled.svelte-fq192n{display:none}.notification.svelte-fq192n small{margin-block-start:.25em;display:block;font-size:.85em}.notification.svelte-fq192n code{padding-inline:.2em;border-radius:4px;background-color:var(--color-context);font-family:monospace;font-size:1.2em}button.svelte-fq192n{padding:.6em;margin:-.6em -1.5em -.6em 0;cursor:pointer;line-height:0}button.svelte-fq192n:hover{color:var(--color-highlight)} +*:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)){all:unset;display:revert}*,*:before,*:after{box-sizing:border-box}a,button{cursor:revert}ol,ul,menu{list-style:none}img{max-width:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}input[type=radio]{all:revert}textarea{white-space:revert}meter{-webkit-appearance:revert;-moz-appearance:revert;appearance:revert}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable=false])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable=true]){-webkit-user-drag:element}html{font-family:sans-serif}:root,::backdrop{--color-light-rgb-text: 74, 74, 74;--color-light-rgb-text-secondary: 146, 146, 146;--color-light-rgb-text-inverted: 255, 255, 255;--color-light-rgb-interaction: 25, 79, 144;--color-light-rgb-interaction-hover: 58, 141, 222;--color-light-rgb-interaction-active: 50, 130, 210;--color-light-rgb-frame: 221, 221, 221;--color-light-rgb-page: 255, 255, 255;--color-light-rgb-background: 245, 246, 252;--color-light-rgb-middleground: 235, 236, 242;--color-light-rgb-context: 53, 55, 57;--color-light-rgb-confirmation: 30, 142, 73;--color-light-rgb-danger: 199, 46, 46;--color-light-rgb-highlight: 250, 240, 211;--color-light-context-input-background: 87, 90, 92;--color-light-context-button-background: 28, 29, 30;--color-light-context-button-background-hover: 36, 42, 49;--color-light-context-button-text: 255, 255, 255;--color-dark-rgb-text: 208, 212, 218;--color-dark-rgb-text-secondary: 114, 148, 152;--colot-light-rgb-text-inverted: 0, 0, 0;--color-dark-rgb-interaction: 100, 180, 200;--color-dark-rgb-interaction-hover: 130, 210, 230;--color-dark-rgb-interaction-active: 115, 195, 215;--color-dark-rgb-frame: 47, 61, 76;--color-dark-rgb-page: 29, 40, 51;--color-dark-rgb-background: 19, 32, 45;--color-dark-rgb-middleground: 15, 25, 35;--color-dark-rgb-context: 21, 29, 38;--color-dark-rgb-confirmation: 30, 142, 73;--color-dark-rgb-danger: 221, 89, 89;--color-dark-rgb-highlight: 106, 62, 10;--color-dark-context-input-background: 87, 90, 92;--color-dark-context-button-background: 41, 48, 57;--color-dark-context-button-background-hover: 61, 68, 78;--color-dark-context-button-text: 255, 255, 255}:root,::backdrop{--color-rgb-text: var(--color-light-rgb-text);--color-rgb-text-secondary: var(--color-light-rgb-text-secondary);--color-rgb-text-inverted: var(--color-light-rgb-text-inverted);--color-rgb-interaction: var(--color-light-rgb-interaction);--color-rgb-interaction-hover: var(--color-light-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-light-rgb-interaction-active);--color-rgb-frame: var(--color-light-rgb-frame);--color-rgb-page: var(--color-light-rgb-page);--color-rgb-background: var(--color-light-rgb-background);--color-rgb-middleground: var(--color-light-rgb-middleground);--color-rgb-context: var(--color-light-rgb-context);--color-rgb-confirmation: var(--color-light-rgb-confirmation);--color-rgb-danger: var(--color-light-rgb-danger);--color-rgb-highlight: var(--color-light-rgb-highlight);--color-rgb-context-input-background: var(--color-light-context-input-background);--color-rgb-context-button-background: var(--color-light-context-button-background);--color-rgb-context-button-background-hover: var(--color-light-context-button-background-hover);--color-rgb-context-button-text: var(--color-light-context-button-text)}@media (prefers-color-scheme: dark){:root,::backdrop{--color-rgb-text: var(--color-dark-rgb-text);--color-rgb-text-secondary: var(--color-dark-rgb-text-secondary);--color-rgb-text-inverted: var(--color-dark-rgb-text-inverted);--color-rgb-interaction: var(--color-dark-rgb-interaction);--color-rgb-interaction-hover: var(--color-dark-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-dark-rgb-interaction-active);--color-rgb-frame: var(--color-dark-rgb-frame);--color-rgb-page: var(--color-dark-rgb-page);--color-rgb-background: var(--color-dark-rgb-background);--color-rgb-middleground: var(--color-dark-rgb-middleground);--color-rgb-context: var(--color-dark-rgb-context);--color-rgb-confirmation: var(--color-dark-rgb-confirmation);--color-rgb-danger: var(--color-dark-rgb-danger);--color-rgb-highlight: var(--color-dark-rgb-highlight);--color-rgb-context-input-background: var(--color-dark-context-input-background);--color-rgb-context-button-background: var(--color-dark-context-button-background);--color-rgb-context-button-background-hover: var(--color-dark-context-button-background-hover);--color-rgb-context-button-text: var(--color-dark-context-button-text)}}:root{--color-text: rgb(var(--color-rgb-text));--color-text-secondary: rgb(var(--color-rgb-text-secondary));--color-text-inverted: rgb(var(--color-rgb-text-inverted));--color-interaction: rgb(var(--color-rgb-interaction));--color-interaction-hover: rgb(var(--color-rgb-interaction-hover));--color-interaction-active: rgb(var(--color-rgb-interaction-active));--color-frame: rgb(var(--color-rgb-frame));--color-page: rgb(var(--color-rgb-page));--color-background: rgb(var(--color-rgb-background));--color-middleground: rgb(var(--color-rgb-middleground));--color-context: rgb(var(--color-rgb-context));--color-confirmation: rgb(var(--color-rgb-confirmation));--color-danger: rgb(var(--color-rgb-danger));--color-highlight: rgb(var(--color-rgb-highlight));--color-context-input-background: rgb(var(--color-rgb-context-input-background));--color-context-button-background: rgb(var(--color-rgb-context-button-background));--color-context-button-background-hover: rgb(var(--color-rgb-context-button-background-hover));--color-context-button-text: rgb(var(--color-rgb-context-button-text))}:root{--space-page: 2rem;--space-navigation: 1rem;--space-table: 1rem}:root{--font-normal: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:root{--easing-rapid: cubic-bezier(.075, .82, .165, 1)}body{height:100vh;display:grid;grid-template-rows:min-content 1fr;background-color:var(--color-page);text-rendering:optimizeLegibility;font-family:var(--font-normal);color:var(--color-text)}.content-context{background-color:var(--color-context);color:var(--color-text-inverted)}a{transition-property:color,background-color;transition-duration:.1s;transition-timing-function:ease-in-out}kbd{padding:.4em .2em;border-radius:.2em;background-color:var(--color-middleground);text-transform:uppercase;line-height:.6em;font-family:monospace}.definitions{display:grid;grid-template-columns:auto auto}.definitions dt,.definitions dd{padding-block:.7rem;display:flex;align-items:center}.definitions dt:not(:last-of-type),.definitions dd:not(:last-of-type){border-block-end:1px solid var(--color-background)}.definitions dt{padding-inline-end:1em;white-space:nowrap;color:var(--color-text-secondary)}.definitions dd{min-width:0;display:flex;justify-content:end;word-wrap:break-word;text-wrap:balance}.definitions dd>*{width:100%;display:block;word-wrap:break-word;text-align:end}.button{padding:.7rem 1rem;display:inline-flex;align-items:center;gap:.6em;border-radius:.5rem;background-color:var(--color-middleground);leading-trim:both;line-height:1em;color:var(--color-text);transition:all .1s linear}button:not(:disabled):not(.disabled){cursor:pointer}.button:not(.disabled):not(:disabled):hover{background-color:rgba(var(--color-rgb-interaction-hover),.2)}.button:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}.button.active{background-color:rgba(var(--color-rgb-interaction-hover),.1)}.content-context .button{background-color:var(--color-context-button-background);color:var(--color-context-button-text)}.content-context .button:hover{background-color:var(--color-context-button-background-hover)}.content-context .button:hover svg{color:currentColor}.button svg{width:18px;height:18px;margin-block:-.04rem;pointer-events:none}.button:not(:disabled):hover svg{color:var(--color-interaction)}.button:has(svg){padding-block:.64rem}.button:disabled svg{color:var(--color-text-secondary)}.button .label,button .label{position:absolute;left:-100vw}.combo{display:flex;gap:1px}.combo .button:first-of-type{border-radius:.5rem 0 0 .5rem}.combo .button:last-of-type{border-radius:0 .5rem .5rem 0}.button.compact{padding:.4rem}.button.danger{color:var(--color-danger)}.button.confirmation{background-color:rgba(var(--color-rgb-confirmation),.2);color:var(--color-confirmation)}.button.confirmation:hover{color:var(--color-confirmation)}.button.confirmation:hover svg{color:inherit}input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],select,textarea{padding:.5rem 1rem;border-radius:.5rem;background-color:var(--color-middleground);transition-property:background-color,box-shadow,color;transition-duration:.1s;transition-timing-function:linear}.content-context select,.content-context input{background-color:var(--color-context-input-background)}textarea{padding:1rem}.content-context textarea{background-color:var(--color-context-input-background)}select{padding-inline-end:2.1em;background-image:url('data:image/svg+xml,');background-repeat:no-repeat;background-position:right .7em center;background-size:.7em}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}input::placeholder,textarea::placeholder{color:var(--color-text-secondary)}.content-context input:disabled,.content-context select:disabled,.content-context textarea:disabled{color:rgba(var(--color-rgb-context-button-text),.6)}input[type=checkbox]{all:revert}header.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{max-width:100vw;padding-block:var(--space-navigation);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--color-frame);background-color:var(--color-page)}.wrapper.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;width:100%;padding-inline:var(--space-page);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-navigation) var(--space-page)}.logo.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;min-height:2.5625rem;display:flex;align-items:center;gap:1rem}.logo.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{position:absolute;left:-100vw}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc{width:100%;min-width:2rem;max-width:3.125rem;transition:scale .2s var(--easing-rapid)}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.logotype:hover) .sign.svelte-uthxgc.svelte-uthxgc{scale:1.1}.logo.svelte-uthxgc h1.svelte-uthxgc.svelte-uthxgc{min-width:2rem;display:flex;flex-direction:column}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc{width:100%;max-width:120px;fill:var(--color-text);transition:fill .2s var(--easing-rapid)}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.sign:hover) .logotype.svelte-uthxgc.svelte-uthxgc{fill:color-mix(in srgb,var(--color-text),var(--color-text-secondary) 40%)}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc{max-width:260px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;color:var(--color-text-secondary);transition:font-size .2s ease-in-out}.logo.svelte-uthxgc .instance.offline.svelte-uthxgc.svelte-uthxgc{font-size:0;color:transparent}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc:hover{color:var(--color-interaction-hover)}ul.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{display:flex;gap:1rem}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.8rem;display:flex;flex-direction:column;gap:.5rem;justify-items:center;align-items:center;position:relative;border-radius:1rem;background-color:var(--color-background);text-transform:uppercase;font-size:.9rem;color:var(--color-text-secondary);transition-property:background-color,border-radius;transition-duration:.1s,.2s;transition-timing-function:linear,cubic-bezier(.175,.885,.32,1.275)}@media (max-width: 525px){li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.5rem}}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc:hover{border-radius:1.2rem;background-color:var(--color-middleground)}li.svelte-uthxgc a.active.svelte-uthxgc.svelte-uthxgc{background-color:var(--color-middleground);color:var(--color-text)}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{margin-block-start:.4rem;padding:.2rem .5rem;position:absolute;top:105%;right:0;left:auto;bottom:auto;opacity:0;border-radius:.2rem;background-color:var(--color-text);white-space:nowrap;font-weight:500;color:var(--color-page);transition:opacity .1s ease-in-out}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc:before{width:10px;height:6px;position:absolute;top:-6px;right:1.25rem;background-color:var(--color-text);clip-path:polygon(50% 0%,100% 100%,0% 100%);content:""}nav.svelte-uthxgc a.svelte-uthxgc:hover .label.svelte-uthxgc{opacity:1}.connectionIndicator.svelte-1cyr69k{display:flex;align-items:center;gap:1em}.connectionIndicator.svelte-1cyr69k:after{width:.8rem;height:.8rem;margin-inline-end:-.5em;display:block;position:relative;top:1px;border-radius:100%;background-color:var(--color-text-inverted);animation:svelte-1cyr69k-blink .7s ease-in-out;animation-iteration-count:infinite;content:""}@keyframes svelte-1cyr69k-blink{0%{opacity:.2}70%{opacity:1}}.container.svelte-fq192n{padding:1rem;display:flex;flex-direction:column;align-items:flex-start;position:fixed;top:100%;translate:0 var(--height);transition:translate .2s cubic-bezier(.175,.885,.32,1.275)}.notification.svelte-fq192n{margin-block-start:.5rem;padding:.7rem 2rem .8rem 1.5rem;display:flex;gap:1em;align-items:center;position:relative;border-radius:1rem;color:var(--color-text-inverted)}.success.svelte-fq192n{background-color:var(--color-confirmation)}.error.svelte-fq192n{background-color:var(--color-danger)}.info.svelte-fq192n{background-color:var(--color-context)}.disabled.svelte-fq192n{display:none}.notification.svelte-fq192n small{margin-block-start:.25em;display:block;font-size:.85em}.notification.svelte-fq192n code{padding-inline:.2em;border-radius:4px;background-color:var(--color-context);font-family:monospace;font-size:1.2em}button.svelte-fq192n{padding:.6em;margin:-.6em -1.5em -.6em 0;cursor:pointer;line-height:0}button.svelte-fq192n:hover{color:var(--color-highlight)} diff --git a/gui/next/build/_app/immutable/assets/8.CufhmNsu.css b/gui/next/build/_app/immutable/assets/8.CufhmNsu.css new file mode 100644 index 00000000..a49f6700 --- /dev/null +++ b/gui/next/build/_app/immutable/assets/8.CufhmNsu.css @@ -0,0 +1 @@ +i.svelte-ooaugn{color:var(--color-danger)}menu.svelte-8i1sxu.svelte-8i1sxu{position:absolute;left:0;top:100%;z-index:20;overflow:hidden;border-radius:0 1rem 1rem;white-space:nowrap}menu.svelte-8i1sxu button{width:100%;padding:.5rem 1rem;display:flex;align-items:center;gap:.5em;line-height:0}menu.svelte-8i1sxu button:hover{background-color:var(--color-context-button-background-hover)}menu.svelte-8i1sxu li.svelte-8i1sxu:last-child button{padding-block-end:.6rem}dialog.svelte-26svji.svelte-26svji{height:100vh;overflow:hidden;display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;z-index:100}dialog.svelte-26svji.svelte-26svji::backdrop{background-color:rgba(var(--color-rgb-background),.6)}.content.svelte-26svji.svelte-26svji{width:clamp(300px,800px,80vw);max-height:94vh;overflow:auto;border-radius:1rem}form.svelte-26svji.svelte-26svji{display:flex;flex-direction:column;gap:1rem;padding:2rem}fieldset.svelte-26svji.svelte-26svji{display:grid;grid-template-columns:1fr 2fr;gap:1rem}fieldset.svelte-26svji+fieldset.svelte-26svji{margin-block-start:2rem}label.svelte-26svji.svelte-26svji{word-break:break-all}input.svelte-26svji.svelte-26svji,textarea.svelte-26svji.svelte-26svji{width:100%;min-height:53px}[role=alert].svelte-26svji.svelte-26svji:not(:empty){margin-block-start:.5em;padding:.5em 1em .6em;position:relative;border-radius:1rem;background-color:var(--color-danger)}[role=alert].svelte-26svji.svelte-26svji:not(:empty):before{width:1em;height:.5em;position:absolute;top:-6px;right:1rem;clip-path:polygon(50% 0%,0% 100%,100% 100%);background-color:var(--color-danger);content:""}.footer.svelte-26svji.svelte-26svji{padding:1.5rem 0;position:sticky;bottom:0;gap:1rem;background-color:var(--color-context)}.error.svelte-26svji li.svelte-26svji{margin-block-end:1rem;padding:1rem;border-radius:1rem;background-color:var(--color-danger);color:var(--color-text-inverted)}.actions.svelte-26svji.svelte-26svji{display:flex;align-items:center;justify-content:space-between}.type.svelte-26svji.svelte-26svji{margin-block-start:.2rem;opacity:.5;font-size:.9em}.page.svelte-1g093it.svelte-1g093it{max-width:100vw;height:100%;overflow:hidden;display:grid;grid-template-columns:1fr min-content;position:relative}.container.svelte-1g093it.svelte-1g093it{min-height:0;max-width:100vw;overflow-y:auto;display:grid;grid-template-rows:min-content 1fr}.filters.svelte-1g093it.svelte-1g093it{padding:var(--space-navigation);background-color:var(--color-background);border-block-end:1px solid var(--color-frame)}.filters.svelte-1g093it .label.svelte-1g093it{position:absolute;left:-100vw}.filters.svelte-1g093it form.svelte-1g093it{display:flex;gap:var(--space-navigation);align-items:center}.filters.svelte-1g093it input.svelte-1g093it:focus,.filters.svelte-1g093it select.svelte-1g093it:focus{position:relative;z-index:1}.filters.svelte-1g093it #filters_attribute.svelte-1g093it{margin-inline-end:1px;border-start-end-radius:0;border-end-end-radius:0}.filters.svelte-1g093it .search.svelte-1g093it{display:flex;align-items:center}.filters.svelte-1g093it .search input.svelte-1g093it{padding-inline-end:1.8rem;border-radius:0}.filters.svelte-1g093it .clear.svelte-1g093it{margin-inline-start:-.9rem;position:relative;inset-inline-start:-.4rem;z-index:1}.filters.svelte-1g093it .search .button[type=submit].svelte-1g093it{margin-inline-start:1px;padding-block:.63rem;padding-inline:.7em .8em;border-start-start-radius:0;border-end-start-radius:0}.pagination.svelte-1g093it.svelte-1g093it{padding:1rem;display:flex;align-items:center;gap:.5em;position:fixed;bottom:0;width:100%;justify-content:space-between;border-block-start:1px solid var(--color-frame);background-color:rgba(var(--color-rgb-background),.8);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}table.svelte-1g093it.svelte-1g093it{min-width:100%;margin-bottom:70px;line-height:1.27em}thead.svelte-1g093it.svelte-1g093it{background-color:var(--color-background)}th.svelte-1g093it.svelte-1g093it,td.svelte-1g093it.svelte-1g093it{border-block-end:1px solid var(--color-frame)}th.svelte-1g093it.svelte-1g093it,td.svelte-1g093it>a.svelte-1g093it,td.svelte-1g093it>span.svelte-1g093it{padding:var(--space-table) calc(var(--space-navigation) * 1.5)}th.svelte-1g093it.svelte-1g093it:first-child,td.svelte-1g093it:first-child>a.svelte-1g093it,td.svelte-1g093it:first-child>span.svelte-1g093it{padding-inline-start:var(--space-navigation)}th.svelte-1g093it.svelte-1g093it:last-child,td.svelte-1g093it:last-child>a.svelte-1g093it,td.svelte-1g093it:last-child>span.svelte-1g093it{padding-inline-end:var(--space-navigation)}td.svelte-1g093it>a.svelte-1g093it,td.svelte-1g093it>span.svelte-1g093it{display:block}tr.svelte-1g093it:last-child td.svelte-1g093it{border:0}tr.svelte-1g093it.svelte-1g093it{position:relative}tr.svelte-1g093it.svelte-1g093it:after{position:absolute;inset:calc(var(--space-table) / 3);z-index:-1;border-radius:calc(1rem - var(--space-table) / 1.5);background:transparent;content:"";transition:background-color .1s linear}tr.svelte-1g093it.svelte-1g093it:hover:after{background-color:var(--color-background)}tr.active.svelte-1g093it.svelte-1g093it:after{background-color:var(--color-middleground)}@supports (font: -apple-system-body) and (-webkit-appearance: none){tr.svelte-1g093it.svelte-1g093it:after{display:none}}.table-id.svelte-1g093it.svelte-1g093it{font-variant-numeric:tabular-nums;width:150px}.menu.svelte-1g093it.svelte-1g093it{position:relative;width:30px}tr.svelte-1g093it .inner-menu.svelte-1g093it{background-color:transparent;opacity:0;transition:opacity .1s linear}tr.svelte-1g093it:hover .inner-menu.svelte-1g093it{opacity:.5}.menu.svelte-1g093it:hover .inner-menu.svelte-1g093it,.context.svelte-1g093it .menu .inner-menu.svelte-1g093it{opacity:1}.menu.svelte-1g093it button.active.svelte-1g093it{border-end-start-radius:0;border-end-end-radius:0} diff --git a/gui/next/build/_app/immutable/assets/8.DAfI7j3B.css b/gui/next/build/_app/immutable/assets/8.DAfI7j3B.css deleted file mode 100644 index 25415759..00000000 --- a/gui/next/build/_app/immutable/assets/8.DAfI7j3B.css +++ /dev/null @@ -1 +0,0 @@ -.page.svelte-1kz5jrb.svelte-1kz5jrb{max-width:100vw;height:100%;overflow:hidden;display:grid;grid-template-columns:1fr min-content;position:relative}.container.svelte-1kz5jrb.svelte-1kz5jrb{min-height:0;max-width:100vw;display:grid;grid-template-rows:min-content 1fr}.filters.svelte-1kz5jrb.svelte-1kz5jrb{padding:var(--space-navigation);background-color:var(--color-background);border-block-end:1px solid var(--color-frame)}.filters.svelte-1kz5jrb .label.svelte-1kz5jrb{position:absolute;left:-100vw}.filters.svelte-1kz5jrb form.svelte-1kz5jrb{display:flex;gap:var(--space-navigation);align-items:center}.filters.svelte-1kz5jrb input.svelte-1kz5jrb:focus,.filters.svelte-1kz5jrb select.svelte-1kz5jrb:focus{position:relative;z-index:1}.filters.svelte-1kz5jrb #filters_attribute.svelte-1kz5jrb{margin-inline-end:1px;border-start-end-radius:0;border-end-end-radius:0}.filters.svelte-1kz5jrb .search.svelte-1kz5jrb{display:flex;align-items:center}.filters.svelte-1kz5jrb .search input.svelte-1kz5jrb{padding-inline-end:1.8rem;border-radius:0}.filters.svelte-1kz5jrb .clear.svelte-1kz5jrb{margin-inline-start:-.9rem;position:relative;inset-inline-start:-.4rem;z-index:1}.filters.svelte-1kz5jrb .search .button[type=submit].svelte-1kz5jrb{margin-inline-start:1px;padding-block:.63rem;padding-inline:.7em .8em;border-start-start-radius:0;border-end-start-radius:0}.pagination.svelte-1kz5jrb.svelte-1kz5jrb{padding:1rem;display:flex;align-items:center;gap:.5em;border-block-start:1px solid var(--color-frame);background-color:rgba(var(--color-rgb-background),.8);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}table.svelte-1kz5jrb.svelte-1kz5jrb{min-width:100%;line-height:1.27em}thead.svelte-1kz5jrb.svelte-1kz5jrb{background-color:var(--color-background)}th.svelte-1kz5jrb.svelte-1kz5jrb,td.svelte-1kz5jrb.svelte-1kz5jrb{border-block-end:1px solid var(--color-frame)}th.svelte-1kz5jrb.svelte-1kz5jrb,td.svelte-1kz5jrb>a.svelte-1kz5jrb{padding:var(--space-table) calc(var(--space-navigation) * 1.5)}th.svelte-1kz5jrb.svelte-1kz5jrb:first-child,td.svelte-1kz5jrb:first-child>a.svelte-1kz5jrb{padding-inline-start:var(--space-navigation)}th.svelte-1kz5jrb.svelte-1kz5jrb:last-child,td.svelte-1kz5jrb:last-child>a.svelte-1kz5jrb{padding-inline-end:var(--space-navigation)}td.svelte-1kz5jrb>a.svelte-1kz5jrb{display:block}tr.svelte-1kz5jrb:last-child td.svelte-1kz5jrb{border:0}tr.svelte-1kz5jrb.svelte-1kz5jrb{position:relative}tr.svelte-1kz5jrb.svelte-1kz5jrb:after{position:absolute;inset:calc(var(--space-table) / 3);z-index:-1;border-radius:calc(1rem - var(--space-table) / 1.5);background:transparent;content:"";transition:background-color .1s linear}tr.svelte-1kz5jrb.svelte-1kz5jrb:hover:after{background-color:var(--color-background)}tr.active.svelte-1kz5jrb.svelte-1kz5jrb:after{background-color:var(--color-middleground)}@supports (font: -apple-system-body) and (-webkit-appearance: none){tr.svelte-1kz5jrb.svelte-1kz5jrb:after{display:none}}.table-id.svelte-1kz5jrb.svelte-1kz5jrb{width:1%;text-align:end;font-variant-numeric:tabular-nums} diff --git a/gui/next/build/_app/immutable/assets/Aside.DQ_vjQJ1.css b/gui/next/build/_app/immutable/assets/Aside.DQ_vjQJ1.css deleted file mode 100644 index de7dd0bc..00000000 --- a/gui/next/build/_app/immutable/assets/Aside.DQ_vjQJ1.css +++ /dev/null @@ -1 +0,0 @@ -aside.svelte-1qb9e88{width:var(--width, 30vw);min-width:300px;max-width:90vw;position:relative;overflow:hidden;display:flex;border-inline-start:1px solid var(--color-frame)}@media (max-width: 750px){aside.svelte-1qb9e88{width:90vw;min-width:0;max-width:90vw;position:absolute;inset-inline-end:0;inset-block:0;background-color:var(--color-page)}}.container.svelte-1qb9e88{width:var(--width, 30vw);min-width:300px;max-width:90vw;padding:1rem;flex-shrink:0;overflow:auto}@media (max-width: 750px){.container.svelte-1qb9e88{width:90vw;min-width:0;max-width:90vw}}aside.svelte-1qb9e88 nav:first-child{margin-block-start:-1rem;margin-block-end:2rem;margin-inline:-1rem}header.svelte-1qb9e88{display:flex;justify-content:space-between;gap:2rem}h2.svelte-1qb9e88{margin-block-end:.2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;font-size:1.2rem}.close.svelte-1qb9e88:hover{color:var(--color-interaction-hover)}.label.svelte-1qb9e88{position:absolute;left:-100vw}.resizer.svelte-1qb9e88{width:8px;position:absolute;inset:0 auto 0 0;cursor:ew-resize;opacity:0;background-color:var(--color-frame);transition:opacity .2s linear}.resizer.svelte-1qb9e88:hover,.resizer.active.svelte-1qb9e88{background-color:var(--color-frame);opacity:1}@media (max-width: 750px){.resizer.svelte-1qb9e88{display:none}} diff --git a/gui/next/build/_app/immutable/assets/Aside.HqXgbmTR.css b/gui/next/build/_app/immutable/assets/Aside.HqXgbmTR.css new file mode 100644 index 00000000..b9ac00c9 --- /dev/null +++ b/gui/next/build/_app/immutable/assets/Aside.HqXgbmTR.css @@ -0,0 +1 @@ +aside.svelte-1lvj124{width:var(--width, 30vw);min-width:300px;max-width:90vw;position:relative;overflow:hidden;display:flex;background-color:var(--color-page);border-inline-start:1px solid var(--color-frame)}@media (max-width: 750px){aside.svelte-1lvj124{width:90vw;min-width:0;max-width:90vw;position:absolute;inset-inline-end:0;inset-block:0;background-color:var(--color-page)}}.container.svelte-1lvj124{width:var(--width, 30vw);min-width:300px;max-width:90vw;padding:1rem;flex-shrink:0;overflow:auto}@media (max-width: 750px){.container.svelte-1lvj124{width:90vw;min-width:0;max-width:90vw}}aside.svelte-1lvj124 nav:first-child{margin-block-start:-1rem;margin-block-end:2rem;margin-inline:-1rem}header.svelte-1lvj124{display:flex;justify-content:space-between;gap:2rem}h2.svelte-1lvj124{margin-block-end:.2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;font-size:1.2rem}.close.svelte-1lvj124:hover{color:var(--color-interaction-hover)}.label.svelte-1lvj124{position:absolute;left:-100vw}.resizer.svelte-1lvj124{width:8px;position:absolute;inset:0 auto 0 0;cursor:ew-resize;opacity:0;background-color:var(--color-frame);transition:opacity .2s linear}.resizer.svelte-1lvj124:hover,.resizer.active.svelte-1lvj124{background-color:var(--color-frame);opacity:1}@media (max-width: 750px){.resizer.svelte-1lvj124{display:none}} diff --git a/gui/next/build/_app/immutable/assets/_layout.CwHmqWmZ.css b/gui/next/build/_app/immutable/assets/_layout.CwHmqWmZ.css new file mode 100644 index 00000000..14be56e6 --- /dev/null +++ b/gui/next/build/_app/immutable/assets/_layout.CwHmqWmZ.css @@ -0,0 +1 @@ +i.svelte-ooaugn{color:var(--color-danger)}menu.svelte-8i1sxu.svelte-8i1sxu{position:absolute;left:0;top:100%;z-index:20;overflow:hidden;border-radius:0 1rem 1rem;white-space:nowrap}menu.svelte-8i1sxu button{width:100%;padding:.5rem 1rem;display:flex;align-items:center;gap:.5em;line-height:0}menu.svelte-8i1sxu button:hover{background-color:var(--color-context-button-background-hover)}menu.svelte-8i1sxu li.svelte-8i1sxu:last-child button{padding-block-end:.6rem}dialog.svelte-26svji.svelte-26svji{height:100vh;overflow:hidden;display:flex;align-items:center;justify-content:center;position:absolute;inset:0;z-index:100}dialog.svelte-26svji.svelte-26svji::backdrop{background-color:rgba(var(--color-rgb-background),.6)}.content.svelte-26svji.svelte-26svji{width:clamp(300px,800px,80vw);max-height:94vh;overflow:auto;border-radius:1rem}form.svelte-26svji.svelte-26svji{display:flex;flex-direction:column;gap:1rem;padding:2rem}fieldset.svelte-26svji.svelte-26svji{display:grid;grid-template-columns:1fr 2fr;gap:1rem}fieldset.svelte-26svji+fieldset.svelte-26svji{margin-block-start:2rem}label.svelte-26svji.svelte-26svji{word-break:break-all}input.svelte-26svji.svelte-26svji,textarea.svelte-26svji.svelte-26svji{width:100%;min-height:53px}[role=alert].svelte-26svji.svelte-26svji:not(:empty){margin-block-start:.5em;padding:.5em 1em .6em;position:relative;border-radius:1rem;background-color:var(--color-danger)}[role=alert].svelte-26svji.svelte-26svji:not(:empty):before{width:1em;height:.5em;position:absolute;top:-6px;right:1rem;clip-path:polygon(50% 0%,0% 100%,100% 100%);background-color:var(--color-danger);content:""}.footer.svelte-26svji.svelte-26svji{padding:1.5rem 0;position:sticky;bottom:0;gap:1rem;background-color:var(--color-context)}.error.svelte-26svji li.svelte-26svji{margin-block-end:1rem;padding:1rem;border-radius:1rem;background-color:var(--color-danger);color:var(--color-text-inverted)}.actions.svelte-26svji.svelte-26svji{display:flex;align-items:center;justify-content:space-between}.type.svelte-26svji.svelte-26svji{margin-block-start:.2rem;opacity:.5;font-size:.9em}.page.svelte-1g093it.svelte-1g093it{max-width:100vw;height:100%;overflow:hidden;display:grid;grid-template-columns:1fr min-content;position:relative}.container.svelte-1g093it.svelte-1g093it{min-height:0;max-width:100vw;overflow-y:auto;display:grid;grid-template-rows:min-content 1fr}.filters.svelte-1g093it.svelte-1g093it{padding:var(--space-navigation);background-color:var(--color-background);border-block-end:1px solid var(--color-frame)}.filters.svelte-1g093it .label.svelte-1g093it{position:absolute;left:-100vw}.filters.svelte-1g093it form.svelte-1g093it{display:flex;gap:var(--space-navigation);align-items:center}.filters.svelte-1g093it input.svelte-1g093it:focus,.filters.svelte-1g093it select.svelte-1g093it:focus{position:relative;z-index:1}.filters.svelte-1g093it #filters_attribute.svelte-1g093it{margin-inline-end:1px;border-start-end-radius:0;border-end-end-radius:0}.filters.svelte-1g093it .search.svelte-1g093it{display:flex;align-items:center}.filters.svelte-1g093it .search input.svelte-1g093it{padding-inline-end:1.8rem;border-radius:0}.filters.svelte-1g093it .clear.svelte-1g093it{margin-inline-start:-.9rem;position:relative;inset-inline-start:-.4rem;z-index:1}.filters.svelte-1g093it .search .button[type=submit].svelte-1g093it{margin-inline-start:1px;padding-block:.63rem;padding-inline:.7em .8em;border-start-start-radius:0;border-end-start-radius:0}.pagination.svelte-1g093it.svelte-1g093it{padding:1rem;display:flex;align-items:center;gap:.5em;position:fixed;bottom:0;width:100%;justify-content:space-between;border-block-start:1px solid var(--color-frame);background-color:rgba(var(--color-rgb-background),.8);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}table.svelte-1g093it.svelte-1g093it{min-width:100%;margin-bottom:70px;line-height:1.27em}thead.svelte-1g093it.svelte-1g093it{background-color:var(--color-background)}th.svelte-1g093it.svelte-1g093it,td.svelte-1g093it.svelte-1g093it{border-block-end:1px solid var(--color-frame)}th.svelte-1g093it.svelte-1g093it,td.svelte-1g093it>a.svelte-1g093it,td.svelte-1g093it>span.svelte-1g093it{padding:var(--space-table) calc(var(--space-navigation) * 1.5)}th.svelte-1g093it.svelte-1g093it:first-child,td.svelte-1g093it:first-child>a.svelte-1g093it,td.svelte-1g093it:first-child>span.svelte-1g093it{padding-inline-start:var(--space-navigation)}th.svelte-1g093it.svelte-1g093it:last-child,td.svelte-1g093it:last-child>a.svelte-1g093it,td.svelte-1g093it:last-child>span.svelte-1g093it{padding-inline-end:var(--space-navigation)}td.svelte-1g093it>a.svelte-1g093it,td.svelte-1g093it>span.svelte-1g093it{display:block}tr.svelte-1g093it:last-child td.svelte-1g093it{border:0}tr.svelte-1g093it.svelte-1g093it{position:relative}tr.svelte-1g093it.svelte-1g093it:after{position:absolute;inset:calc(var(--space-table) / 3);z-index:-1;border-radius:calc(1rem - var(--space-table) / 1.5);background:transparent;content:"";transition:background-color .1s linear}tr.svelte-1g093it.svelte-1g093it:hover:after{background-color:var(--color-background)}tr.active.svelte-1g093it.svelte-1g093it:after{background-color:var(--color-middleground)}@supports (font: -apple-system-body) and (-webkit-appearance: none){tr.svelte-1g093it.svelte-1g093it:after{display:none}}.table-id.svelte-1g093it.svelte-1g093it{font-variant-numeric:tabular-nums;width:150px}.menu.svelte-1g093it.svelte-1g093it{position:relative;width:30px}tr.svelte-1g093it .inner-menu.svelte-1g093it{background-color:transparent;opacity:0;transition:opacity .1s linear}tr.svelte-1g093it:hover .inner-menu.svelte-1g093it{opacity:.5}.menu.svelte-1g093it:hover .inner-menu.svelte-1g093it,.context.svelte-1g093it .menu .inner-menu.svelte-1g093it{opacity:1}.menu.svelte-1g093it button.active.svelte-1g093it{border-end-start-radius:0;border-end-end-radius:0} diff --git a/gui/next/build/_app/immutable/assets/_layout.DAfI7j3B.css b/gui/next/build/_app/immutable/assets/_layout.DAfI7j3B.css deleted file mode 100644 index 25415759..00000000 --- a/gui/next/build/_app/immutable/assets/_layout.DAfI7j3B.css +++ /dev/null @@ -1 +0,0 @@ -.page.svelte-1kz5jrb.svelte-1kz5jrb{max-width:100vw;height:100%;overflow:hidden;display:grid;grid-template-columns:1fr min-content;position:relative}.container.svelte-1kz5jrb.svelte-1kz5jrb{min-height:0;max-width:100vw;display:grid;grid-template-rows:min-content 1fr}.filters.svelte-1kz5jrb.svelte-1kz5jrb{padding:var(--space-navigation);background-color:var(--color-background);border-block-end:1px solid var(--color-frame)}.filters.svelte-1kz5jrb .label.svelte-1kz5jrb{position:absolute;left:-100vw}.filters.svelte-1kz5jrb form.svelte-1kz5jrb{display:flex;gap:var(--space-navigation);align-items:center}.filters.svelte-1kz5jrb input.svelte-1kz5jrb:focus,.filters.svelte-1kz5jrb select.svelte-1kz5jrb:focus{position:relative;z-index:1}.filters.svelte-1kz5jrb #filters_attribute.svelte-1kz5jrb{margin-inline-end:1px;border-start-end-radius:0;border-end-end-radius:0}.filters.svelte-1kz5jrb .search.svelte-1kz5jrb{display:flex;align-items:center}.filters.svelte-1kz5jrb .search input.svelte-1kz5jrb{padding-inline-end:1.8rem;border-radius:0}.filters.svelte-1kz5jrb .clear.svelte-1kz5jrb{margin-inline-start:-.9rem;position:relative;inset-inline-start:-.4rem;z-index:1}.filters.svelte-1kz5jrb .search .button[type=submit].svelte-1kz5jrb{margin-inline-start:1px;padding-block:.63rem;padding-inline:.7em .8em;border-start-start-radius:0;border-end-start-radius:0}.pagination.svelte-1kz5jrb.svelte-1kz5jrb{padding:1rem;display:flex;align-items:center;gap:.5em;border-block-start:1px solid var(--color-frame);background-color:rgba(var(--color-rgb-background),.8);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}table.svelte-1kz5jrb.svelte-1kz5jrb{min-width:100%;line-height:1.27em}thead.svelte-1kz5jrb.svelte-1kz5jrb{background-color:var(--color-background)}th.svelte-1kz5jrb.svelte-1kz5jrb,td.svelte-1kz5jrb.svelte-1kz5jrb{border-block-end:1px solid var(--color-frame)}th.svelte-1kz5jrb.svelte-1kz5jrb,td.svelte-1kz5jrb>a.svelte-1kz5jrb{padding:var(--space-table) calc(var(--space-navigation) * 1.5)}th.svelte-1kz5jrb.svelte-1kz5jrb:first-child,td.svelte-1kz5jrb:first-child>a.svelte-1kz5jrb{padding-inline-start:var(--space-navigation)}th.svelte-1kz5jrb.svelte-1kz5jrb:last-child,td.svelte-1kz5jrb:last-child>a.svelte-1kz5jrb{padding-inline-end:var(--space-navigation)}td.svelte-1kz5jrb>a.svelte-1kz5jrb{display:block}tr.svelte-1kz5jrb:last-child td.svelte-1kz5jrb{border:0}tr.svelte-1kz5jrb.svelte-1kz5jrb{position:relative}tr.svelte-1kz5jrb.svelte-1kz5jrb:after{position:absolute;inset:calc(var(--space-table) / 3);z-index:-1;border-radius:calc(1rem - var(--space-table) / 1.5);background:transparent;content:"";transition:background-color .1s linear}tr.svelte-1kz5jrb.svelte-1kz5jrb:hover:after{background-color:var(--color-background)}tr.active.svelte-1kz5jrb.svelte-1kz5jrb:after{background-color:var(--color-middleground)}@supports (font: -apple-system-body) and (-webkit-appearance: none){tr.svelte-1kz5jrb.svelte-1kz5jrb:after{display:none}}.table-id.svelte-1kz5jrb.svelte-1kz5jrb{width:1%;text-align:end;font-variant-numeric:tabular-nums} diff --git a/gui/next/build/_app/immutable/assets/_layout._I1RehB4.css b/gui/next/build/_app/immutable/assets/_layout.DszZgnxd.css similarity index 58% rename from gui/next/build/_app/immutable/assets/_layout._I1RehB4.css rename to gui/next/build/_app/immutable/assets/_layout.DszZgnxd.css index 72222376..317dd754 100644 --- a/gui/next/build/_app/immutable/assets/_layout._I1RehB4.css +++ b/gui/next/build/_app/immutable/assets/_layout.DszZgnxd.css @@ -1 +1 @@ -*:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)){all:unset;display:revert}*,*:before,*:after{box-sizing:border-box}a,button{cursor:revert}ol,ul,menu{list-style:none}img{max-width:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}input[type=radio]{all:revert}textarea{white-space:revert}meter{-webkit-appearance:revert;appearance:revert}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable=false])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable=true]){-webkit-user-drag:element}html{font-family:sans-serif}:root,::backdrop{--color-light-rgb-text: 74, 74, 74;--color-light-rgb-text-secondary: 146, 146, 146;--color-light-rgb-text-inverted: 255, 255, 255;--color-light-rgb-interaction: 25, 79, 144;--color-light-rgb-interaction-hover: 58, 141, 222;--color-light-rgb-interaction-active: 50, 130, 210;--color-light-rgb-frame: 221, 221, 221;--color-light-rgb-page: 255, 255, 255;--color-light-rgb-background: 245, 246, 252;--color-light-rgb-middleground: 235, 236, 242;--color-light-rgb-context: 53, 55, 57;--color-light-rgb-confirmation: 30, 142, 73;--color-light-rgb-danger: 199, 46, 46;--color-light-rgb-highlight: 250, 240, 211;--color-light-context-input-background: 87, 90, 92;--color-light-context-button-background: 28, 29, 30;--color-light-context-button-background-hover: 36, 42, 49;--color-light-context-button-text: 255, 255, 255;--color-dark-rgb-text: 208, 212, 218;--color-dark-rgb-text-secondary: 114, 148, 152;--colot-light-rgb-text-inverted: 0, 0, 0;--color-dark-rgb-interaction: 100, 180, 200;--color-dark-rgb-interaction-hover: 130, 210, 230;--color-dark-rgb-interaction-active: 115, 195, 215;--color-dark-rgb-frame: 47, 61, 76;--color-dark-rgb-page: 29, 40, 51;--color-dark-rgb-background: 19, 32, 45;--color-dark-rgb-middleground: 15, 25, 35;--color-dark-rgb-context: 21, 29, 38;--color-dark-rgb-confirmation: 30, 142, 73;--color-dark-rgb-danger: 221, 89, 89;--color-dark-rgb-highlight: 106, 62, 10;--color-dark-context-input-background: 87, 90, 92;--color-dark-context-button-background: 41, 48, 57;--color-dark-context-button-background-hover: 61, 68, 78;--color-dark-context-button-text: 255, 255, 255}:root,::backdrop{--color-rgb-text: var(--color-light-rgb-text);--color-rgb-text-secondary: var(--color-light-rgb-text-secondary);--color-rgb-text-inverted: var(--color-light-rgb-text-inverted);--color-rgb-interaction: var(--color-light-rgb-interaction);--color-rgb-interaction-hover: var(--color-light-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-light-rgb-interaction-active);--color-rgb-frame: var(--color-light-rgb-frame);--color-rgb-page: var(--color-light-rgb-page);--color-rgb-background: var(--color-light-rgb-background);--color-rgb-middleground: var(--color-light-rgb-middleground);--color-rgb-context: var(--color-light-rgb-context);--color-rgb-confirmation: var(--color-light-rgb-confirmation);--color-rgb-danger: var(--color-light-rgb-danger);--color-rgb-highlight: var(--color-light-rgb-highlight);--color-rgb-context-input-background: var(--color-light-context-input-background);--color-rgb-context-button-background: var(--color-light-context-button-background);--color-rgb-context-button-background-hover: var(--color-light-context-button-background-hover);--color-rgb-context-button-text: var(--color-light-context-button-text)}@media (prefers-color-scheme: dark){:root,::backdrop{--color-rgb-text: var(--color-dark-rgb-text);--color-rgb-text-secondary: var(--color-dark-rgb-text-secondary);--color-rgb-text-inverted: var(--color-dark-rgb-text-inverted);--color-rgb-interaction: var(--color-dark-rgb-interaction);--color-rgb-interaction-hover: var(--color-dark-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-dark-rgb-interaction-active);--color-rgb-frame: var(--color-dark-rgb-frame);--color-rgb-page: var(--color-dark-rgb-page);--color-rgb-background: var(--color-dark-rgb-background);--color-rgb-middleground: var(--color-dark-rgb-middleground);--color-rgb-context: var(--color-dark-rgb-context);--color-rgb-confirmation: var(--color-dark-rgb-confirmation);--color-rgb-danger: var(--color-dark-rgb-danger);--color-rgb-highlight: var(--color-dark-rgb-highlight);--color-rgb-context-input-background: var(--color-dark-context-input-background);--color-rgb-context-button-background: var(--color-dark-context-button-background);--color-rgb-context-button-background-hover: var(--color-dark-context-button-background-hover);--color-rgb-context-button-text: var(--color-dark-context-button-text)}}:root{--color-text: rgb(var(--color-rgb-text));--color-text-secondary: rgb(var(--color-rgb-text-secondary));--color-text-inverted: rgb(var(--color-rgb-text-inverted));--color-interaction: rgb(var(--color-rgb-interaction));--color-interaction-hover: rgb(var(--color-rgb-interaction-hover));--color-interaction-active: rgb(var(--color-rgb-interaction-active));--color-frame: rgb(var(--color-rgb-frame));--color-page: rgb(var(--color-rgb-page));--color-background: rgb(var(--color-rgb-background));--color-middleground: rgb(var(--color-rgb-middleground));--color-context: rgb(var(--color-rgb-context));--color-confirmation: rgb(var(--color-rgb-confirmation));--color-danger: rgb(var(--color-rgb-danger));--color-highlight: rgb(var(--color-rgb-highlight));--color-context-input-background: rgb(var(--color-rgb-context-input-background));--color-context-button-background: rgb(var(--color-rgb-context-button-background));--color-context-button-background-hover: rgb(var(--color-rgb-context-button-background-hover));--color-context-button-text: rgb(var(--color-rgb-context-button-text))}:root{--space-page: 2rem;--space-navigation: 1rem;--space-table: 1rem}:root{--font-normal: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:root{--easing-rapid: cubic-bezier(.075, .82, .165, 1)}body{height:100vh;display:grid;grid-template-rows:min-content 1fr;background-color:var(--color-page);text-rendering:optimizeLegibility;font-family:var(--font-normal);color:var(--color-text)}.content-context{background-color:var(--color-context);color:var(--color-text-inverted)}a{transition-property:color,background-color;transition-duration:.1s;transition-timing-function:ease-in-out}kbd{padding:.4em .2em;border-radius:.2em;background-color:var(--color-middleground);text-transform:uppercase;line-height:.6em;font-family:monospace}.definitions{display:grid;grid-template-columns:auto auto}.definitions dt,.definitions dd{padding-block:.7rem;display:flex;align-items:center}.definitions dt:not(:last-of-type),.definitions dd:not(:last-of-type){border-block-end:1px solid var(--color-background)}.definitions dt{padding-inline-end:1em;white-space:nowrap;color:var(--color-text-secondary)}.definitions dd{min-width:0;display:flex;justify-content:end;word-wrap:break-word;text-wrap:balance}.definitions dd>*{width:100%;display:block;word-wrap:break-word;text-align:end}.button{padding:.7rem 1rem;display:inline-flex;align-items:center;gap:.6em;border-radius:.5rem;background-color:var(--color-middleground);leading-trim:both;line-height:1em;color:var(--color-text);transition:all .1s linear}button:not(:disabled):not(.disabled){cursor:pointer}.button:not(.disabled):not(:disabled):hover{background-color:rgba(var(--color-rgb-interaction-hover),.2)}.button:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}.button.active{background-color:rgba(var(--color-rgb-interaction-hover),.1)}.content-context .button{background-color:var(--color-context-button-background);color:var(--color-context-button-text)}.content-context .button:hover{background-color:var(--color-context-button-background-hover)}.content-context .button:hover svg{color:currentColor}.button svg{width:18px;height:18px;margin-block:-.04rem;pointer-events:none}.button:not(:disabled):hover svg{color:var(--color-interaction)}.button:has(svg){padding-block:.64rem}.button:disabled svg{color:var(--color-text-secondary)}.button .label,button .label{position:absolute;left:-100vw}.combo{display:flex;gap:1px}.combo .button:first-of-type{border-radius:.5rem 0 0 .5rem}.combo .button:last-of-type{border-radius:0 .5rem .5rem 0}.button.compact{padding:.4rem}.button.danger{color:var(--color-danger)}.button.confirmation{background-color:rgba(var(--color-rgb-confirmation),.2);color:var(--color-confirmation)}.button.confirmation:hover{color:var(--color-confirmation)}.button.confirmation:hover svg{color:inherit}input[type=text],input[type=number],input[type=date],select,textarea{padding:.5rem 1rem;border-radius:.5rem;background-color:var(--color-middleground);transition-property:background-color,box-shadow,color;transition-duration:.1s;transition-timing-function:linear}.content-context select,.content-context input{background-color:var(--color-context-input-background)}textarea{padding:1rem}.content-context textarea{background-color:var(--color-context-input-background)}select{padding-inline-end:2.1em;background-image:url('data:image/svg+xml,');background-repeat:no-repeat;background-position:right .7em center;background-size:.7em}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}input::placeholder,textarea::placeholder{color:var(--color-text-secondary)}.content-context input:disabled,.content-context select:disabled,.content-context textarea:disabled{color:rgba(var(--color-rgb-context-button-text),.6)}input[type=checkbox]{all:revert}header.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{max-width:100vw;padding-block:var(--space-navigation);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--color-frame);background-color:var(--color-page)}.wrapper.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;width:100%;padding-inline:var(--space-page);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-navigation) var(--space-page)}.logo.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;min-height:2.5625rem;display:flex;align-items:center;gap:1rem}.logo.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{position:absolute;left:-100vw}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc{width:100%;min-width:2rem;max-width:3.125rem;transition:scale .2s var(--easing-rapid)}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.logotype:hover) .sign.svelte-uthxgc.svelte-uthxgc{scale:1.1}.logo.svelte-uthxgc h1.svelte-uthxgc.svelte-uthxgc{min-width:2rem;display:flex;flex-direction:column}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc{width:100%;max-width:120px;fill:var(--color-text);transition:fill .2s var(--easing-rapid)}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.sign:hover) .logotype.svelte-uthxgc.svelte-uthxgc{fill:color-mix(in srgb,var(--color-text),var(--color-text-secondary) 40%)}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc{max-width:260px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;color:var(--color-text-secondary);transition:font-size .2s ease-in-out}.logo.svelte-uthxgc .instance.offline.svelte-uthxgc.svelte-uthxgc{font-size:0;color:transparent}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc:hover{color:var(--color-interaction-hover)}ul.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{display:flex;gap:1rem}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.8rem;display:flex;flex-direction:column;gap:.5rem;justify-items:center;align-items:center;position:relative;border-radius:1rem;background-color:var(--color-background);text-transform:uppercase;font-size:.9rem;color:var(--color-text-secondary);transition-property:background-color,border-radius;transition-duration:.1s,.2s;transition-timing-function:linear,cubic-bezier(.175,.885,.32,1.275)}@media (max-width: 525px){li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.5rem}}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc:hover{border-radius:1.2rem;background-color:var(--color-middleground)}li.svelte-uthxgc a.active.svelte-uthxgc.svelte-uthxgc{background-color:var(--color-middleground);color:var(--color-text)}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{margin-block-start:.4rem;padding:.2rem .5rem;position:absolute;inset:105% 0 auto auto;opacity:0;border-radius:.2rem;background-color:var(--color-text);white-space:nowrap;font-weight:500;color:var(--color-page);transition:opacity .1s ease-in-out}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc:before{width:10px;height:6px;position:absolute;top:-6px;right:1.25rem;background-color:var(--color-text);clip-path:polygon(50% 0%,100% 100%,0% 100%);content:""}nav.svelte-uthxgc a.svelte-uthxgc:hover .label.svelte-uthxgc{opacity:1}.connectionIndicator.svelte-1cyr69k{display:flex;align-items:center;gap:1em}.connectionIndicator.svelte-1cyr69k:after{width:.8rem;height:.8rem;margin-inline-end:-.5em;display:block;position:relative;top:1px;border-radius:100%;background-color:var(--color-text-inverted);animation:svelte-1cyr69k-blink .7s ease-in-out;animation-iteration-count:infinite;content:""}@keyframes svelte-1cyr69k-blink{0%{opacity:.2}70%{opacity:1}}.container.svelte-fq192n{padding:1rem;display:flex;flex-direction:column;align-items:flex-start;position:fixed;top:100%;translate:0 var(--height);transition:translate .2s cubic-bezier(.175,.885,.32,1.275)}.notification.svelte-fq192n{margin-block-start:.5rem;padding:.7rem 2rem .8rem 1.5rem;display:flex;gap:1em;align-items:center;position:relative;border-radius:1rem;color:var(--color-text-inverted)}.success.svelte-fq192n{background-color:var(--color-confirmation)}.error.svelte-fq192n{background-color:var(--color-danger)}.info.svelte-fq192n{background-color:var(--color-context)}.disabled.svelte-fq192n{display:none}.notification.svelte-fq192n small{margin-block-start:.25em;display:block;font-size:.85em}.notification.svelte-fq192n code{padding-inline:.2em;border-radius:4px;background-color:var(--color-context);font-family:monospace;font-size:1.2em}button.svelte-fq192n{padding:.6em;margin:-.6em -1.5em -.6em 0;cursor:pointer;line-height:0}button.svelte-fq192n:hover{color:var(--color-highlight)} +*:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)){all:unset;display:revert}*,*:before,*:after{box-sizing:border-box}a,button{cursor:revert}ol,ul,menu{list-style:none}img{max-width:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}input[type=radio]{all:revert}textarea{white-space:revert}meter{-webkit-appearance:revert;appearance:revert}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable=false])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable=true]){-webkit-user-drag:element}html{font-family:sans-serif}:root,::backdrop{--color-light-rgb-text: 74, 74, 74;--color-light-rgb-text-secondary: 146, 146, 146;--color-light-rgb-text-inverted: 255, 255, 255;--color-light-rgb-interaction: 25, 79, 144;--color-light-rgb-interaction-hover: 58, 141, 222;--color-light-rgb-interaction-active: 50, 130, 210;--color-light-rgb-frame: 221, 221, 221;--color-light-rgb-page: 255, 255, 255;--color-light-rgb-background: 245, 246, 252;--color-light-rgb-middleground: 235, 236, 242;--color-light-rgb-context: 53, 55, 57;--color-light-rgb-confirmation: 30, 142, 73;--color-light-rgb-danger: 199, 46, 46;--color-light-rgb-highlight: 250, 240, 211;--color-light-context-input-background: 87, 90, 92;--color-light-context-button-background: 28, 29, 30;--color-light-context-button-background-hover: 36, 42, 49;--color-light-context-button-text: 255, 255, 255;--color-dark-rgb-text: 208, 212, 218;--color-dark-rgb-text-secondary: 114, 148, 152;--colot-light-rgb-text-inverted: 0, 0, 0;--color-dark-rgb-interaction: 100, 180, 200;--color-dark-rgb-interaction-hover: 130, 210, 230;--color-dark-rgb-interaction-active: 115, 195, 215;--color-dark-rgb-frame: 47, 61, 76;--color-dark-rgb-page: 29, 40, 51;--color-dark-rgb-background: 19, 32, 45;--color-dark-rgb-middleground: 15, 25, 35;--color-dark-rgb-context: 21, 29, 38;--color-dark-rgb-confirmation: 30, 142, 73;--color-dark-rgb-danger: 221, 89, 89;--color-dark-rgb-highlight: 106, 62, 10;--color-dark-context-input-background: 87, 90, 92;--color-dark-context-button-background: 41, 48, 57;--color-dark-context-button-background-hover: 61, 68, 78;--color-dark-context-button-text: 255, 255, 255}:root,::backdrop{--color-rgb-text: var(--color-light-rgb-text);--color-rgb-text-secondary: var(--color-light-rgb-text-secondary);--color-rgb-text-inverted: var(--color-light-rgb-text-inverted);--color-rgb-interaction: var(--color-light-rgb-interaction);--color-rgb-interaction-hover: var(--color-light-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-light-rgb-interaction-active);--color-rgb-frame: var(--color-light-rgb-frame);--color-rgb-page: var(--color-light-rgb-page);--color-rgb-background: var(--color-light-rgb-background);--color-rgb-middleground: var(--color-light-rgb-middleground);--color-rgb-context: var(--color-light-rgb-context);--color-rgb-confirmation: var(--color-light-rgb-confirmation);--color-rgb-danger: var(--color-light-rgb-danger);--color-rgb-highlight: var(--color-light-rgb-highlight);--color-rgb-context-input-background: var(--color-light-context-input-background);--color-rgb-context-button-background: var(--color-light-context-button-background);--color-rgb-context-button-background-hover: var(--color-light-context-button-background-hover);--color-rgb-context-button-text: var(--color-light-context-button-text)}@media (prefers-color-scheme: dark){:root,::backdrop{--color-rgb-text: var(--color-dark-rgb-text);--color-rgb-text-secondary: var(--color-dark-rgb-text-secondary);--color-rgb-text-inverted: var(--color-dark-rgb-text-inverted);--color-rgb-interaction: var(--color-dark-rgb-interaction);--color-rgb-interaction-hover: var(--color-dark-rgb-interaction-hover);--color-rgb-interaction-active: var(--color-dark-rgb-interaction-active);--color-rgb-frame: var(--color-dark-rgb-frame);--color-rgb-page: var(--color-dark-rgb-page);--color-rgb-background: var(--color-dark-rgb-background);--color-rgb-middleground: var(--color-dark-rgb-middleground);--color-rgb-context: var(--color-dark-rgb-context);--color-rgb-confirmation: var(--color-dark-rgb-confirmation);--color-rgb-danger: var(--color-dark-rgb-danger);--color-rgb-highlight: var(--color-dark-rgb-highlight);--color-rgb-context-input-background: var(--color-dark-context-input-background);--color-rgb-context-button-background: var(--color-dark-context-button-background);--color-rgb-context-button-background-hover: var(--color-dark-context-button-background-hover);--color-rgb-context-button-text: var(--color-dark-context-button-text)}}:root{--color-text: rgb(var(--color-rgb-text));--color-text-secondary: rgb(var(--color-rgb-text-secondary));--color-text-inverted: rgb(var(--color-rgb-text-inverted));--color-interaction: rgb(var(--color-rgb-interaction));--color-interaction-hover: rgb(var(--color-rgb-interaction-hover));--color-interaction-active: rgb(var(--color-rgb-interaction-active));--color-frame: rgb(var(--color-rgb-frame));--color-page: rgb(var(--color-rgb-page));--color-background: rgb(var(--color-rgb-background));--color-middleground: rgb(var(--color-rgb-middleground));--color-context: rgb(var(--color-rgb-context));--color-confirmation: rgb(var(--color-rgb-confirmation));--color-danger: rgb(var(--color-rgb-danger));--color-highlight: rgb(var(--color-rgb-highlight));--color-context-input-background: rgb(var(--color-rgb-context-input-background));--color-context-button-background: rgb(var(--color-rgb-context-button-background));--color-context-button-background-hover: rgb(var(--color-rgb-context-button-background-hover));--color-context-button-text: rgb(var(--color-rgb-context-button-text))}:root{--space-page: 2rem;--space-navigation: 1rem;--space-table: 1rem}:root{--font-normal: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:root{--easing-rapid: cubic-bezier(.075, .82, .165, 1)}body{height:100vh;display:grid;grid-template-rows:min-content 1fr;background-color:var(--color-page);text-rendering:optimizeLegibility;font-family:var(--font-normal);color:var(--color-text)}.content-context{background-color:var(--color-context);color:var(--color-text-inverted)}a{transition-property:color,background-color;transition-duration:.1s;transition-timing-function:ease-in-out}kbd{padding:.4em .2em;border-radius:.2em;background-color:var(--color-middleground);text-transform:uppercase;line-height:.6em;font-family:monospace}.definitions{display:grid;grid-template-columns:auto auto}.definitions dt,.definitions dd{padding-block:.7rem;display:flex;align-items:center}.definitions dt:not(:last-of-type),.definitions dd:not(:last-of-type){border-block-end:1px solid var(--color-background)}.definitions dt{padding-inline-end:1em;white-space:nowrap;color:var(--color-text-secondary)}.definitions dd{min-width:0;display:flex;justify-content:end;word-wrap:break-word;text-wrap:balance}.definitions dd>*{width:100%;display:block;word-wrap:break-word;text-align:end}.button{padding:.7rem 1rem;display:inline-flex;align-items:center;gap:.6em;border-radius:.5rem;background-color:var(--color-middleground);leading-trim:both;line-height:1em;color:var(--color-text);transition:all .1s linear}button:not(:disabled):not(.disabled){cursor:pointer}.button:not(.disabled):not(:disabled):hover{background-color:rgba(var(--color-rgb-interaction-hover),.2)}.button:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}.button.active{background-color:rgba(var(--color-rgb-interaction-hover),.1)}.content-context .button{background-color:var(--color-context-button-background);color:var(--color-context-button-text)}.content-context .button:hover{background-color:var(--color-context-button-background-hover)}.content-context .button:hover svg{color:currentColor}.button svg{width:18px;height:18px;margin-block:-.04rem;pointer-events:none}.button:not(:disabled):hover svg{color:var(--color-interaction)}.button:has(svg){padding-block:.64rem}.button:disabled svg{color:var(--color-text-secondary)}.button .label,button .label{position:absolute;left:-100vw}.combo{display:flex;gap:1px}.combo .button:first-of-type{border-radius:.5rem 0 0 .5rem}.combo .button:last-of-type{border-radius:0 .5rem .5rem 0}.button.compact{padding:.4rem}.button.danger{color:var(--color-danger)}.button.confirmation{background-color:rgba(var(--color-rgb-confirmation),.2);color:var(--color-confirmation)}.button.confirmation:hover{color:var(--color-confirmation)}.button.confirmation:hover svg{color:inherit}input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],select,textarea{padding:.5rem 1rem;border-radius:.5rem;background-color:var(--color-middleground);transition-property:background-color,box-shadow,color;transition-duration:.1s;transition-timing-function:linear}.content-context select,.content-context input{background-color:var(--color-context-input-background)}textarea{padding:1rem}.content-context textarea{background-color:var(--color-context-input-background)}select{padding-inline-end:2.1em;background-image:url('data:image/svg+xml,');background-repeat:no-repeat;background-position:right .7em center;background-size:.7em}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 1px 2px var(--color-interaction-hover)}input::placeholder,textarea::placeholder{color:var(--color-text-secondary)}.content-context input:disabled,.content-context select:disabled,.content-context textarea:disabled{color:rgba(var(--color-rgb-context-button-text),.6)}input[type=checkbox]{all:revert}header.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{max-width:100vw;padding-block:var(--space-navigation);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--color-frame);background-color:var(--color-page)}.wrapper.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;width:100%;padding-inline:var(--space-page);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-navigation) var(--space-page)}.logo.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{min-width:0;min-height:2.5625rem;display:flex;align-items:center;gap:1rem}.logo.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{position:absolute;left:-100vw}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc{width:100%;min-width:2rem;max-width:3.125rem;transition:scale .2s var(--easing-rapid)}.logo.svelte-uthxgc .sign.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.logotype:hover) .sign.svelte-uthxgc.svelte-uthxgc{scale:1.1}.logo.svelte-uthxgc h1.svelte-uthxgc.svelte-uthxgc{min-width:2rem;display:flex;flex-direction:column}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc{width:100%;max-width:120px;fill:var(--color-text);transition:fill .2s var(--easing-rapid)}.logo.svelte-uthxgc .logotype.svelte-uthxgc.svelte-uthxgc:hover,.logo.svelte-uthxgc:has(.sign:hover) .logotype.svelte-uthxgc.svelte-uthxgc{fill:color-mix(in srgb,var(--color-text),var(--color-text-secondary) 40%)}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc{max-width:260px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;color:var(--color-text-secondary);transition:font-size .2s ease-in-out}.logo.svelte-uthxgc .instance.offline.svelte-uthxgc.svelte-uthxgc{font-size:0;color:transparent}.logo.svelte-uthxgc .instance.svelte-uthxgc.svelte-uthxgc:hover{color:var(--color-interaction-hover)}ul.svelte-uthxgc.svelte-uthxgc.svelte-uthxgc{display:flex;gap:1rem}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.8rem;display:flex;flex-direction:column;gap:.5rem;justify-items:center;align-items:center;position:relative;border-radius:1rem;background-color:var(--color-background);text-transform:uppercase;font-size:.9rem;color:var(--color-text-secondary);transition-property:background-color,border-radius;transition-duration:.1s,.2s;transition-timing-function:linear,cubic-bezier(.175,.885,.32,1.275)}@media (max-width: 525px){li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc{padding:.5rem}}li.svelte-uthxgc a.svelte-uthxgc.svelte-uthxgc:hover{border-radius:1.2rem;background-color:var(--color-middleground)}li.svelte-uthxgc a.active.svelte-uthxgc.svelte-uthxgc{background-color:var(--color-middleground);color:var(--color-text)}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc{margin-block-start:.4rem;padding:.2rem .5rem;position:absolute;inset:105% 0 auto auto;opacity:0;border-radius:.2rem;background-color:var(--color-text);white-space:nowrap;font-weight:500;color:var(--color-page);transition:opacity .1s ease-in-out}nav.svelte-uthxgc .label.svelte-uthxgc.svelte-uthxgc:before{width:10px;height:6px;position:absolute;top:-6px;right:1.25rem;background-color:var(--color-text);clip-path:polygon(50% 0%,100% 100%,0% 100%);content:""}nav.svelte-uthxgc a.svelte-uthxgc:hover .label.svelte-uthxgc{opacity:1}.connectionIndicator.svelte-1cyr69k{display:flex;align-items:center;gap:1em}.connectionIndicator.svelte-1cyr69k:after{width:.8rem;height:.8rem;margin-inline-end:-.5em;display:block;position:relative;top:1px;border-radius:100%;background-color:var(--color-text-inverted);animation:svelte-1cyr69k-blink .7s ease-in-out;animation-iteration-count:infinite;content:""}@keyframes svelte-1cyr69k-blink{0%{opacity:.2}70%{opacity:1}}.container.svelte-fq192n{padding:1rem;display:flex;flex-direction:column;align-items:flex-start;position:fixed;top:100%;translate:0 var(--height);transition:translate .2s cubic-bezier(.175,.885,.32,1.275)}.notification.svelte-fq192n{margin-block-start:.5rem;padding:.7rem 2rem .8rem 1.5rem;display:flex;gap:1em;align-items:center;position:relative;border-radius:1rem;color:var(--color-text-inverted)}.success.svelte-fq192n{background-color:var(--color-confirmation)}.error.svelte-fq192n{background-color:var(--color-danger)}.info.svelte-fq192n{background-color:var(--color-context)}.disabled.svelte-fq192n{display:none}.notification.svelte-fq192n small{margin-block-start:.25em;display:block;font-size:.85em}.notification.svelte-fq192n code{padding-inline:.2em;border-radius:4px;background-color:var(--color-context);font-family:monospace;font-size:1.2em}button.svelte-fq192n{padding:.6em;margin:-.6em -1.5em -.6em 0;cursor:pointer;line-height:0}button.svelte-fq192n:hover{color:var(--color-highlight)} diff --git a/gui/next/build/_app/immutable/chunks/Aside.CzwHeuWZ.js b/gui/next/build/_app/immutable/chunks/Aside.CzwHeuWZ.js new file mode 100644 index 00000000..f6cb3b44 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/Aside.CzwHeuWZ.js @@ -0,0 +1 @@ +import{s as Y,M as N,l as Z,e as E,a as S,c as z,b as A,A as B,g as H,f as p,y as _,G as q,i as y,h as g,C as D,u as x,m as ee,o as te,r as se,k as le,N as ae,O as ie,E as O}from"./scheduler.CKQ5dLhN.js";import{S as ne,i as re,c as G,d as M,m as V,t as w,g as X,a as W,e as F,h as T,f as J}from"./index.CGVWAVV-.js";import{g as oe}from"./globals.D0QH3NT1.js";import{q as fe}from"./index.iVSWiVfi.js";import{s as L}from"./state.nqMW8J5l.js";import{I as K}from"./Icon.CkKwi_WD.js";const{window:Q}=oe;function $(o){let e,t,l,a=o[1]&&P(o),s=o[0]&&R(o);return{c(){e=E("header"),a&&a.c(),t=S(),s&&s.c(),this.h()},l(i){e=z(i,"HEADER",{class:!0});var n=A(e);a&&a.l(n),t=H(n),s&&s.l(n),n.forEach(p),this.h()},h(){_(e,"class","svelte-1lvj124")},m(i,n){y(i,e,n),a&&a.m(e,null),g(e,t),s&&s.m(e,null),l=!0},p(i,n){i[1]?a?a.p(i,n):(a=P(i),a.c(),a.m(e,t)):a&&(a.d(1),a=null),i[0]?s?(s.p(i,n),n&1&&w(s,1)):(s=R(i),s.c(),w(s,1),s.m(e,null)):s&&(X(),W(s,1,1,()=>{s=null}),F())},i(i){l||(w(s),l=!0)},o(i){W(s),l=!1},d(i){i&&p(e),a&&a.d(),s&&s.d()}}}function P(o){let e,t;return{c(){e=E("h2"),t=new ae(!1),this.h()},l(l){e=z(l,"H2",{class:!0});var a=A(e);t=ie(a,!1),a.forEach(p),this.h()},h(){t.a=null,_(e,"class","svelte-1lvj124")},m(l,a){y(l,e,a),t.m(o[1],e)},p(l,a){a&2&&t.p(l[1])},d(l){l&&p(e)}}}function R(o){let e,t,l="Close details",a,s,i;return s=new K({props:{icon:"x"}}),{c(){e=E("a"),t=E("span"),t.textContent=l,a=S(),G(s.$$.fragment),this.h()},l(n){e=z(n,"A",{href:!0,class:!0});var f=A(e);t=z(f,"SPAN",{class:!0,"data-svelte-h":!0}),B(t)!=="svelte-1gxyewl"&&(t.textContent=l),a=H(f),M(s.$$.fragment,f),f.forEach(p),this.h()},h(){_(t,"class","label svelte-1lvj124"),_(e,"href",o[0]),_(e,"class","close svelte-1lvj124")},m(n,f){y(n,e,f),g(e,t),g(e,a),V(s,e,null),i=!0},p(n,f){(!i||f&1)&&_(e,"href",n[0])},i(n){i||(w(s.$$.fragment,n),i=!0)},o(n){W(s.$$.fragment,n),i=!1},d(n){n&&p(e),J(s)}}}function ue(o){let e,t,l,a="Drag to resize panel",s,i,n,f,b,k,v,h,C,I;N(o[10]),i=new K({props:{icon:"resizeHorizontal",size:"7"}});let u=(o[1]||o[0])&&$(o);const c=o[9].default,d=Z(c,o,o[8],null);return{c(){e=E("aside"),t=E("button"),l=E("span"),l.textContent=a,s=S(),G(i.$$.fragment),n=S(),f=E("div"),u&&u.c(),b=S(),d&&d.c(),this.h()},l(r){e=z(r,"ASIDE",{style:!0,class:!0});var m=A(e);t=z(m,"BUTTON",{class:!0});var j=A(t);l=z(j,"SPAN",{class:!0,"data-svelte-h":!0}),B(l)!=="svelte-ruxerc"&&(l.textContent=a),s=H(j),M(i.$$.fragment,j),j.forEach(p),n=H(m),f=z(m,"DIV",{class:!0});var U=A(f);u&&u.l(U),b=H(U),d&&d.l(U),U.forEach(p),m.forEach(p),this.h()},h(){_(l,"class","label svelte-1lvj124"),_(t,"class","resizer svelte-1lvj124"),q(t,"active",o[3]),_(f,"class","container svelte-1lvj124"),_(e,"style",k=o[4].asideWidth?`--width: ${o[4].asideWidth}`:""),_(e,"class","svelte-1lvj124")},m(r,m){y(r,e,m),g(e,t),g(t,l),g(t,s),V(i,t,null),g(e,n),g(e,f),u&&u.m(f,null),g(f,b),d&&d.m(f,null),h=!0,C||(I=[D(Q,"resize",o[10]),D(t,"mousedown",o[6]),D(t,"click",o[7])],C=!0)},p(r,[m]){(!h||m&8)&&q(t,"active",r[3]),r[1]||r[0]?u?(u.p(r,m),m&3&&w(u,1)):(u=$(r),u.c(),w(u,1),u.m(f,b)):u&&(X(),W(u,1,1,()=>{u=null}),F()),d&&d.p&&(!h||m&256)&&x(d,c,r,r[8],h?te(c,r[8],m,null):ee(r[8]),null),(!h||m&16&&k!==(k=r[4].asideWidth?`--width: ${r[4].asideWidth}`:""))&&_(e,"style",k)},i(r){h||(w(i.$$.fragment,r),w(u),w(d,r),r&&N(()=>{h&&(v||(v=T(e,o[5],{},!0)),v.run(1))}),h=!0)},o(r){W(i.$$.fragment,r),W(u),W(d,r),r&&(v||(v=T(e,o[5],{},!1)),v.run(0)),h=!1},d(r){r&&p(e),J(i),u&&u.d(),d&&d.d(r),r&&v&&v.end(),C=!1,se(I)}}}function ce(o,e,t){let l;le(o,L,c=>t(4,l=c));let{$$slots:a={},$$scope:s}=e,{closeUrl:i}=e,{title:n=""}=e,f,b=!1;const k=function(c,{delay:d=0,duration:r=300}){return{delay:d,duration:r,css:m=>{const j=fe(m);return`min-width: 0; width: calc(${l.asideWidth||"30vw"} * ${j});`}}},v=()=>{window.addEventListener("mousemove",C,!1),window.addEventListener("mouseup",h,!1),t(3,b=!0)},h=()=>{window.removeEventListener("mousemove",C,!1),window.removeEventListener("mouseup",h,!1),t(3,b=!1),localStorage.asideWidth=l.asideWidth},C=c=>{O(L,l.asideWidth=f-c.clientX-6+"px",l)},I=c=>{c.detail===2&&(O(L,l.asideWidth=!1,l),localStorage.removeItem("asideWidth"))};function u(){t(2,f=Q.outerWidth)}return o.$$set=c=>{"closeUrl"in c&&t(0,i=c.closeUrl),"title"in c&&t(1,n=c.title),"$$scope"in c&&t(8,s=c.$$scope)},[i,n,f,b,l,k,v,I,s,a,u]}class ge extends ne{constructor(e){super(),re(this,e,ce,ue,Y,{closeUrl:0,title:1})}}export{ge as A}; diff --git a/gui/next/build/_app/immutable/chunks/Aside.FJrLQRZc.js b/gui/next/build/_app/immutable/chunks/Aside.FJrLQRZc.js deleted file mode 100644 index ac04716a..00000000 --- a/gui/next/build/_app/immutable/chunks/Aside.FJrLQRZc.js +++ /dev/null @@ -1 +0,0 @@ -import{s as Y,I as N,l as Z,e as E,a as S,c as z,b as A,A as G,g as I,f as v,y as _,G as P,i as y,h as g,C as D,u as x,m as ee,o as te,r as se,k as le,P as ae,Q as ie,E as T}from"./scheduler.ts1nwYMk.js";import{S as ne,i as re,c as Q,d as V,m as X,t as b,g as j,a as W,e as F,h as $,f as J}from"./index.MbwxngTa.js";import{g as oe}from"./globals.D0QH3NT1.js";import{q as fe}from"./index.iVSWiVfi.js";import{s as L}from"./state.HIdUDD3F.js";import{I as K}from"./Icon.Dn_EaQMz.js";const{window:M}=oe;function O(o){let e,t,l,a=o[1]&&R(o),s=o[0]&&B(o);return{c(){e=E("header"),a&&a.c(),t=S(),s&&s.c(),this.h()},l(i){e=z(i,"HEADER",{class:!0});var n=A(e);a&&a.l(n),t=I(n),s&&s.l(n),n.forEach(v),this.h()},h(){_(e,"class","svelte-1qb9e88")},m(i,n){y(i,e,n),a&&a.m(e,null),g(e,t),s&&s.m(e,null),l=!0},p(i,n){i[1]?a?a.p(i,n):(a=R(i),a.c(),a.m(e,t)):a&&(a.d(1),a=null),i[0]?s?(s.p(i,n),n&1&&b(s,1)):(s=B(i),s.c(),b(s,1),s.m(e,null)):s&&(j(),W(s,1,1,()=>{s=null}),F())},i(i){l||(b(s),l=!0)},o(i){W(s),l=!1},d(i){i&&v(e),a&&a.d(),s&&s.d()}}}function R(o){let e,t;return{c(){e=E("h2"),t=new ae(!1),this.h()},l(l){e=z(l,"H2",{class:!0});var a=A(e);t=ie(a,!1),a.forEach(v),this.h()},h(){t.a=null,_(e,"class","svelte-1qb9e88")},m(l,a){y(l,e,a),t.m(o[1],e)},p(l,a){a&2&&t.p(l[1])},d(l){l&&v(e)}}}function B(o){let e,t,l="Close details",a,s,i;return s=new K({props:{icon:"x"}}),{c(){e=E("a"),t=E("span"),t.textContent=l,a=S(),Q(s.$$.fragment),this.h()},l(n){e=z(n,"A",{href:!0,class:!0});var f=A(e);t=z(f,"SPAN",{class:!0,"data-svelte-h":!0}),G(t)!=="svelte-1gxyewl"&&(t.textContent=l),a=I(f),V(s.$$.fragment,f),f.forEach(v),this.h()},h(){_(t,"class","label svelte-1qb9e88"),_(e,"href",o[0]),_(e,"class","close svelte-1qb9e88")},m(n,f){y(n,e,f),g(e,t),g(e,a),X(s,e,null),i=!0},p(n,f){(!i||f&1)&&_(e,"href",n[0])},i(n){i||(b(s.$$.fragment,n),i=!0)},o(n){W(s.$$.fragment,n),i=!1},d(n){n&&v(e),J(s)}}}function ue(o){let e,t,l,a="Drag to resize panel",s,i,n,f,w,q,p,h,k,H;N(o[10]),i=new K({props:{icon:"resizeHorizontal",size:"7"}});let u=(o[1]||o[0])&&O(o);const c=o[9].default,d=Z(c,o,o[8],null);return{c(){e=E("aside"),t=E("button"),l=E("span"),l.textContent=a,s=S(),Q(i.$$.fragment),n=S(),f=E("div"),u&&u.c(),w=S(),d&&d.c(),this.h()},l(r){e=z(r,"ASIDE",{style:!0,class:!0});var m=A(e);t=z(m,"BUTTON",{class:!0});var C=A(t);l=z(C,"SPAN",{class:!0,"data-svelte-h":!0}),G(l)!=="svelte-ruxerc"&&(l.textContent=a),s=I(C),V(i.$$.fragment,C),C.forEach(v),n=I(m),f=z(m,"DIV",{class:!0});var U=A(f);u&&u.l(U),w=I(U),d&&d.l(U),U.forEach(v),m.forEach(v),this.h()},h(){_(l,"class","label svelte-1qb9e88"),_(t,"class","resizer svelte-1qb9e88"),P(t,"active",o[3]),_(f,"class","container svelte-1qb9e88"),_(e,"style",q=o[4].asideWidth?`--width: ${o[4].asideWidth}`:""),_(e,"class","svelte-1qb9e88")},m(r,m){y(r,e,m),g(e,t),g(t,l),g(t,s),X(i,t,null),g(e,n),g(e,f),u&&u.m(f,null),g(f,w),d&&d.m(f,null),h=!0,k||(H=[D(M,"resize",o[10]),D(t,"mousedown",o[6]),D(t,"click",o[7])],k=!0)},p(r,[m]){(!h||m&8)&&P(t,"active",r[3]),r[1]||r[0]?u?(u.p(r,m),m&3&&b(u,1)):(u=O(r),u.c(),b(u,1),u.m(f,w)):u&&(j(),W(u,1,1,()=>{u=null}),F()),d&&d.p&&(!h||m&256)&&x(d,c,r,r[8],h?te(c,r[8],m,null):ee(r[8]),null),(!h||m&16&&q!==(q=r[4].asideWidth?`--width: ${r[4].asideWidth}`:""))&&_(e,"style",q)},i(r){h||(b(i.$$.fragment,r),b(u),b(d,r),r&&N(()=>{h&&(p||(p=$(e,o[5],{},!0)),p.run(1))}),h=!0)},o(r){W(i.$$.fragment,r),W(u),W(d,r),r&&(p||(p=$(e,o[5],{},!1)),p.run(0)),h=!1},d(r){r&&v(e),J(i),u&&u.d(),d&&d.d(r),r&&p&&p.end(),k=!1,se(H)}}}function ce(o,e,t){let l;le(o,L,c=>t(4,l=c));let{$$slots:a={},$$scope:s}=e,{closeUrl:i}=e,{title:n=""}=e,f,w=!1;const q=function(c,{delay:d=0,duration:r=300}){return{delay:d,duration:r,css:m=>{const C=fe(m);return`min-width: 0; width: calc(${l.asideWidth||"30vw"} * ${C});`}}},p=()=>{window.addEventListener("mousemove",k,!1),window.addEventListener("mouseup",h,!1),t(3,w=!0)},h=()=>{window.removeEventListener("mousemove",k,!1),window.removeEventListener("mouseup",h,!1),t(3,w=!1),localStorage.asideWidth=l.asideWidth},k=c=>{T(L,l.asideWidth=f-c.clientX-6+"px",l)},H=c=>{c.detail===2&&(T(L,l.asideWidth=!1,l),localStorage.removeItem("asideWidth"))};function u(){t(2,f=M.outerWidth)}return o.$$set=c=>{"closeUrl"in c&&t(0,i=c.closeUrl),"title"in c&&t(1,n=c.title),"$$scope"in c&&t(8,s=c.$$scope)},[i,n,f,w,l,q,p,H,s,a,u]}class ge extends ne{constructor(e){super(),re(this,e,ce,ue,Y,{closeUrl:0,title:1})}}export{ge as A}; diff --git a/gui/next/build/_app/immutable/chunks/Icon.Dn_EaQMz.js b/gui/next/build/_app/immutable/chunks/Icon.CkKwi_WD.js similarity index 99% rename from gui/next/build/_app/immutable/chunks/Icon.Dn_EaQMz.js rename to gui/next/build/_app/immutable/chunks/Icon.CkKwi_WD.js index 45aa4b36..b7e5e34e 100644 --- a/gui/next/build/_app/immutable/chunks/Icon.Dn_EaQMz.js +++ b/gui/next/build/_app/immutable/chunks/Icon.CkKwi_WD.js @@ -1 +1 @@ -import{s as V,v as M,i as o,n as i,f as m,w as t,x as H,b as n,y as v,h as L}from"./scheduler.ts1nwYMk.js";import{S as C,i as f}from"./index.MbwxngTa.js";function r(s){let h,c;return{c(){h=t("svg"),c=t("path"),this.h()},l(a){h=H(a,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var l=n(h);c=H(l,"path",{d:!0}),n(c).forEach(m),l.forEach(m),this.h()},h(){v(c,"d",s[2]),v(h,"width",s[1]),v(h,"height",s[1]),v(h,"viewBox","0 0 24 24"),v(h,"fill","currentColor"),v(h,"xmlns","http://www.w3.org/2000/svg")},m(a,l){o(a,h,l),L(h,c)},p(a,l){l&4&&v(c,"d",a[2]),l&2&&v(h,"width",a[1]),l&2&&v(h,"height",a[1])},d(a){a&&m(h)}}}function d(s){let h,c=s[0]&&r(s);return{c(){c&&c.c(),h=M()},l(a){c&&c.l(a),h=M()},m(a,l){c&&c.m(a,l),o(a,h,l)},p(a,[l]){a[0]?c?c.p(a,l):(c=r(a),c.c(),c.m(h.parentNode,h)):c&&(c.d(1),c=null)},i,o:i,d(a){a&&m(h),c&&c.d(a)}}}function A(s,h,c){let a,{icon:l=!1}=h,{size:e=24}=h;const Z={database:"M12 24c-6.841 0-12-2.257-12-5.25V5.251C0 2.258 5.159.001 12 .001s12 2.257 12 5.25V18.75C24 21.743 18.841 24 12 24zM1.5 18.75c0 1.533 3.739 3.75 10.5 3.75s10.5-2.217 10.5-3.75v-4.137c-2.053 1.622-6.023 2.637-10.5 2.637s-8.446-1.016-10.5-2.637v4.137zm0-6.75c0 1.533 3.739 3.75 10.5 3.75S22.5 13.533 22.5 12V7.863C20.446 9.485 16.477 10.5 12 10.5S3.554 9.485 1.5 7.863V12zM12 1.501c-6.761 0-10.5 2.217-10.5 3.75s3.739 3.75 10.5 3.75 10.5-2.217 10.5-3.75-3.739-3.75-10.5-3.75z",users:"M4.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5C3.67 4.5 3 5.17 3 6s.67 1.5 1.5 1.5S6 6.83 6 6s-.67-1.5-1.5-1.5ZM3 22.5c-.38 0-.7-.28-.74-.66l-.67-5.34H.75c-.41 0-.75-.34-.75-.75V13.5C0 11.02 2.02 9 4.5 9c.41 0 .75.34.75.75s-.34.75-.75.75c-1.65 0-3 1.35-3 3V15h.75c.38 0 .7.28.74.66L3.66 21H6c.41 0 .75.34.75.75s-.34.75-.75.75H3ZM19.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5S21 6.83 21 6s-.67-1.5-1.5-1.5Zm-1.5 18c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h2.34l.67-5.34c.05-.38.37-.66.74-.66h.75v-1.5c0-1.65-1.35-3-3-3-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.48 0 4.5 2.02 4.5 4.5v2.25c0 .41-.34.75-.75.75h-.84l-.67 5.34c-.05.38-.37.66-.74.66h-3Zm-6-15c-2.07 0-3.75-1.68-3.75-3.75S9.93 0 12 0s3.75 1.68 3.75 3.75S14.07 7.5 12 7.5Zm0-6c-1.24 0-2.25 1.01-2.25 2.25S10.76 6 12 6s2.25-1.01 2.25-2.25S13.24 1.5 12 1.5ZM9.75 24a.75.75 0 0 1-.75-.67l-.68-6.83H6.75c-.41 0-.75-.34-.75-.75V13.5c0-3.31 2.69-6 6-6s6 2.69 6 6v2.25c0 .41-.34.75-.75.75h-1.57L15 23.33a.75.75 0 0 1-.75.67h-4.5Zm3.82-1.5.68-6.82c.04-.38.36-.68.75-.68h1.5v-1.5c0-2.48-2.02-4.5-4.5-4.5s-4.5 2.02-4.5 4.5V15H9c.39 0 .71.29.75.68l.68 6.82h3.14Z",log:"m5.25,24c-1.24,0-2.25-1.01-2.25-2.25v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,.41.34.75.75.75h13.5c.41,0,.75-.34.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,1.24-1.01,2.25-2.25,2.25H5.25Zm15-10.5c-.41,0-.75-.34-.75-.75v-7.5c0-.41-.34-.75-.75-.75h-2.25v1.5c0,.83-.67,1.5-1.5,1.5h-6c-.83,0-1.5-.67-1.5-1.5v-1.5h-2.25c-.41,0-.75.34-.75.75v7.5c0,.41-.34.75-.75.75s-.75-.34-.75-.75v-7.5c0-1.24,1.01-2.25,2.25-2.25h2.25c0-.83.67-1.5,1.5-1.5h.31c.52-.92,1.5-1.5,2.56-1.5.04,0,.08,0,.12,0,.04,0,.09,0,.13,0,1.07,0,2.05.58,2.56,1.5h.31c.83,0,1.5.67,1.5,1.5h2.25c1.24,0,2.25,1.01,2.25,2.25v7.5c0,.41-.34.75-.75.75Zm-11.25-7.5h6v-3h-.8c-.32,0-.61-.21-.71-.51-.19-.59-.74-.99-1.37-.99-.03,0-.05,0-.08,0,0,0-.04,0-.04,0-.01,0-.09,0-.11,0-.62,0-1.18.4-1.37.99-.1.31-.39.52-.71.52h-.8v3Zm3.04,13.63c-.17,0-.34-.04-.49-.11-.27-.13-.47-.36-.57-.65l-2.08-5.73-1.37,2.73c-.19.38-.58.62-1.01.62H.75c-.41,0-.75-.34-.75-.75s.34-.75.75-.75h5.54l1.65-3.31c.13-.27.37-.47.65-.56.12-.04.24-.06.36-.06.17,0,.35.04.5.12.26.13.46.35.56.62l2.07,5.69,1.93-4.33c.18-.41.59-.67,1.03-.67.16,0,.31.03.46.1.24.11.43.29.55.52l.94,1.88h6.28c.41,0,.75.34.75.75s-.34.75-.75.75h-6.51c-.43,0-.81-.24-1.01-.62l-.69-1.37-1.98,4.45c-.12.28-.36.51-.67.61-.12.04-.24.06-.36.06Z",logFresh:"M5.25 24C4.01 24 3 22.99 3 21.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0 .41.34.75.75.75h13.5c.41 0 .75-.34.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0 1.24-1.01 2.25-2.25 2.25H5.25Zm15-10.5c-.41 0-.75-.34-.75-.75v-7.5c0-.41-.34-.75-.75-.75H16.5V6c0 .83-.67 1.5-1.5 1.5H9c-.83 0-1.5-.67-1.5-1.5V4.5H5.25c-.41 0-.75.34-.75.75v7.5c0 .41-.34.75-.75.75S3 13.16 3 12.75v-7.5C3 4.01 4.01 3 5.25 3H7.5c0-.83.67-1.5 1.5-1.5h.31C9.83.58 10.81 0 11.88 0h.25c1.06 0 2.04.58 2.56 1.5H15c.83 0 1.5.67 1.5 1.5h2.25C19.99 3 21 4.01 21 5.25v7.5c0 .41-.34.75-.75.75ZM9 6h6V3h-.8c-.32 0-.61-.21-.71-.51-.19-.59-.74-.99-1.37-.99H11.89c-.62 0-1.18.4-1.37.99a.75.75 0 0 1-.71.52h-.8v3ZM7.14 20.55c-.1 0-.19-.02-.28-.06-.19-.08-.33-.22-.41-.4s-.08-.39 0-.57c.37-.9.8-1.72 1.27-2.42-.78-1.12-1.09-2.25-.92-3.27.19-1.07.9-1.99 2.06-2.65 1.41-.74 2.99-1.12 4.58-1.12s3.04.36 4.39 1.03c.2.1.35.28.4.51s0 .45-.14.63c-.41.52-.69 1.48-1 2.49-.68 2.26-1.61 5.36-4.93 5.66-.1 0-.2.01-.29.01-1.55 0-2.64-1.12-3.23-1.94-.29.5-.56 1.05-.81 1.65-.12.28-.39.47-.7.47Zm2.43-3.43c.26.44 1.11 1.76 2.3 1.76h.15c2.31-.21 2.95-2.34 3.62-4.6.24-.79.46-1.53.76-2.17-.95-.36-1.95-.55-2.98-.55-1.34 0-2.68.33-3.86.94-.75.43-1.19.96-1.3 1.59-.09.52.06 1.12.42 1.76 1.48-1.59 2.82-1.8 2.97-1.82h.09c.38 0 .7.28.75.66.05.41-.24.78-.65.84s-.55.09-1.29.65c-.34.26-.68.58-1 .95Z",backgroundJob:"M23.6 7.3v.3c0 .1-.1.2-.2.3l-3 3c-.2.1-.4.1-.6.1-.2 0-.4-.1-.5-.2-.1-.1-.2-.3-.2-.5s.1-.4.2-.5L21 8H1.2c-.4 0-.8-.4-.8-.8s.3-.9.8-.9H21l-1.7-1.5c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3 3c.1.1.1.2.2.2.1.1.1.2.1.3zM4 10.4c-.4 0-.7.3-.7.7-.1 1.1 0 2.2.3 3.3 0 .4.3.6.7.6h.2c.4-.1.6-.5.5-.9-.2-.9-.3-1.9-.2-2.8 0-.5-.3-.8-.8-.9.1 0 0 0 0 0zm2.6 5.3c-.3 0-.6.2-.7.6-.1.4.2.8.6.9.8.2 1.6.3 2.4.3h.9c.4 0 .7-.4.7-.8s-.4-.7-.7-.7H9c-.7 0-1.4-.1-2.1-.2-.2-.1-.2-.1-.3-.1zm9.8-2.7c-.2 0-.4.1-.5.2-.1.1-.2.3-.2.5s.1.4.2.5l1.7 1.7h-3.4c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h3.4l-1.7 1.7c-.1.1-.2.3-.2.5s.1.4.2.5c.1.1.3.2.5.2s.4-.1.5-.2l3-3c.1-.1.1-.2.2-.2v-.6c0-.1-.1-.2-.2-.3l-3-3c-.2-.1-.3-.1-.5-.1z",constant:"M3 24C1.76 24 .75 22.99.75 21.75V2.25C.75 1.01 1.76 0 3 0h15.05c.59 0 1.15.23 1.57.64l2.95 2.88c.43.42.68 1.01.68 1.61v16.62c0 1.24-1.01 2.25-2.25 2.25H3ZM3 1.5c-.41 0-.75.34-.75.75v19.5c0 .41.34.75.75.75h18c.41 0 .75-.34.75-.75V5.14c0-.2-.08-.4-.23-.54l-2.95-2.88a.734.734 0 0 0-.52-.21H3Zm6.65 16.56c-1.12 0-2.06-.87-2.15-1.99v-1.31c0-.16-.11-.33-.27-.41l-1.61-.92c-.23-.13-.38-.38-.38-.65s.14-.52.38-.65l1.58-.91c.18-.1.29-.26.29-.45V9.48a2.173 2.173 0 0 1 2.15-1.99h.85a.749.749 0 1 1 0 1.5h-.85a.65.65 0 0 0-.65.58v1.21c-.02.74-.43 1.4-1.07 1.74l-.43.25.45.26c.62.33 1.02.98 1.04 1.7v1.23c.04.33.32.58.66.58h.84c.41 0 .75.34.75.75s-.34.75-.75.75h-.85Zm4.69 0h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H14.34c.34 0 .62-.25.66-.58v-1.21c.02-.74.43-1.4 1.07-1.74l.43-.25-.45-.26c-.62-.33-1.02-.98-1.04-1.71V9.58a.658.658 0 0 0-.65-.58h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h.85c1.12 0 2.06.87 2.15 1.99v1.31c0 .16.11.33.27.41l1.6.92c.23.13.38.38.38.65s-.14.52-.38.65l-1.58.91c-.18.1-.29.26-.29.45v1.29a2.165 2.165 0 0 1-2.15 1.99Z",graphql:"M21 14.9V9.1c.9-.2 1.6-1.1 1.6-2.1 0-1.2-1-2.1-2.1-2.1-.6 0-1.2.3-1.5.7l-5-2.9c.1-.2.1-.4.1-.6C14.1 1 13.2 0 12 0S9.9 1 9.9 2.1c0 .2 0 .4.1.6L5 5.6c-.4-.4-.9-.7-1.5-.7-1.2 0-2.1 1-2.1 2.1 0 1 .7 1.8 1.6 2.1v5.7c-.9.2-1.6 1.1-1.6 2.1 0 1.2 1 2.1 2.1 2.1.6 0 1.2-.3 1.5-.7l5 2.9c-.1.2-.1.4-.1.6 0 1.2 1 2.1 2.1 2.1s2.1-1 2.1-2.1c0-.2 0-.4-.1-.6l5-2.9c.4.4.9.7 1.5.7 1.2 0 2.1-1 2.1-2.1.1-1-.6-1.8-1.6-2zm-17 0V9.1C4.9 8.9 5.6 8 5.6 7c0-.2 0-.4-.1-.6l5-2.9.1.1L4 14.9zm9.5 5.5c-.4-.4-.9-.7-1.5-.7s-1.2.3-1.5.7l-5-2.9v-.1h12.9v.1l-4.9 2.9zm5-4h-13c-.1-.4-.3-.8-.6-1l6.5-11.2c.2.1.4.1.6.1s.4 0 .6-.1l6.5 11.2c-.3.3-.5.6-.6 1zm1.5-1.5L13.5 3.7l.1-.1 5 2.9c-.1.2-.1.4-.1.6 0 1 .7 1.8 1.6 2.1v5.7z",liquid:"M12 24c-2.3 0-4.4-.9-6.1-2.5-1.7-1.6-2.6-3.8-2.6-6.1v-.3C3.3 8.6 9.7 0 12 0c2.3 0 8.7 8.6 8.7 15.1.1 4.8-3.8 8.8-8.6 8.9H12zm0-22.3C10.5 3 4.8 10 4.8 15.1v.2c.1 3.4 3.8 7.1 7.2 7.1h.1c3.4-.1 7.2-3.9 7.1-7.3C19.2 10 13.5 3 12 1.7zm-1 18.2c-2.1 0-3.8-1.7-3.8-3.8 0-.7.3-1.2.9-1.2s.7.7.7 1.4 1.1 1.8 1.8 1.8 1.1.4 1.1.8c.1.7 0 1-.7 1z",arrowRight:"M12.75 23.25a.752.752 0 0 1-.53-1.281l9.22-9.22H.75a.749.749 0 1 1 0-1.499h20.689l-9.22-9.22A.746.746 0 0 1 12.22.97c.141-.142.33-.22.53-.22s.389.078.53.22l10.5 10.5a.74.74 0 0 1 .163.245l.01.026a.73.73 0 0 1 0 .517l-.006.016a.755.755 0 0 1-.168.257L13.28 23.03a.743.743 0 0 1-.53.22z",arrowLeft:"M11.25 23.25a.743.743 0 0 1-.53-.22L.22 12.53a.74.74 0 0 1-.163-.245l-.01-.026a.75.75 0 0 1 .009-.541.74.74 0 0 1 .166-.249L10.72.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53l-9.22 9.22h20.69a.75.75 0 0 1 0 1.5H2.561l9.22 9.22a.75.75 0 0 1-.531 1.28z",arrowDown:"M12 18.999c-.4 0-.776-.156-1.059-.438L.22 7.841A.745.745 0 0 1 0 7.31c0-.2.078-.389.22-.53a.744.744 0 0 1 1.06 0L12 17.499 22.72 6.78a.744.744 0 0 1 1.06 0 .744.744 0 0 1 0 1.06L13.06 18.56a1.487 1.487 0 0 1-1.06.439z",arrowTripleUp:"M19 10.3c-.4 0-.8-.1-1.1-.3l-6.1-3.9L5.7 10c-.3.2-.7.3-1.1.3-.4 0-.7 0-1-.2-.5-.3-.8-.7-.8-1.3V6.4c0-.8.4-1.4 1.1-1.8L10.7.3c.3-.2.7-.3 1.1-.3s.7.1 1.1.3l6.9 4.4c.6.3 1 1 1 1.7v2.4c0 .5-.3 1-.8 1.3-.3.2-.6.2-1 .2ZM4.3 8.8h.6l6.5-4.2c.1 0 .3-.1.4-.1s.3 0 .4.1l6.5 4.2h.6V6.5c0-.2-.1-.4-.3-.5l-7-4.4h-.6L4.6 6c-.2.1-.3.3-.4.5v2.3Zm14.7 10c-.4 0-.8-.1-1.1-.3l-6.1-3.9-6.1 3.9c-.3.2-.7.3-1.1.3s-.7 0-1-.2c-.5-.3-.8-.7-.8-1.3v-1.8c0-.8.4-1.4 1.1-1.8l6.8-4.3c.3-.2.7-.3 1.1-.3s.7.1 1.1.3l6.9 4.4c.6.3 1 1 1 1.7v1.8c0 .5-.3 1-.8 1.2-.3.2-.6.3-1 .3Zm-7.2-5.9c.1 0 .3 0 .4.1l6.5 4.2h.6v-1.7c0-.2-.1-.4-.3-.5l-6.9-4.4h-.6L4.7 15c-.2.1-.3.3-.4.5v1.7h.6l6.5-4.2c.1 0 .3-.1.4-.1ZM4.2 24c-.2 0-.5-.1-.6-.3-.1-.2-.2-.4-.1-.6s.1-.4.3-.5l7.5-5.2c.1 0 .3-.1.4-.1s.3 0 .4.1l7.5 5.2c.2.1.3.3.3.5s0 .4-.1.6c-.1.2-.4.3-.6.3s-.3 0-.4-.1L11.7 19l-7.1 4.9c-.1 0-.3.1-.4.1Z",search:"M23.245 23.996a.743.743 0 0 1-.53-.22L16.2 17.26a9.824 9.824 0 0 1-2.553 1.579 9.766 9.766 0 0 1-7.51.069 9.745 9.745 0 0 1-5.359-5.262c-1.025-2.412-1.05-5.08-.069-7.51S3.558 1.802 5.97.777a9.744 9.744 0 0 1 7.51-.069 9.745 9.745 0 0 1 5.359 5.262 9.748 9.748 0 0 1 .069 7.51 9.807 9.807 0 0 1-1.649 2.718l6.517 6.518a.75.75 0 0 1-.531 1.28zM9.807 1.49a8.259 8.259 0 0 0-3.25.667 8.26 8.26 0 0 0-4.458 4.54 8.26 8.26 0 0 0 .058 6.362 8.26 8.26 0 0 0 4.54 4.458 8.259 8.259 0 0 0 6.362-.059 8.285 8.285 0 0 0 2.594-1.736.365.365 0 0 1 .077-.076 8.245 8.245 0 0 0 1.786-2.728 8.255 8.255 0 0 0-.059-6.362 8.257 8.257 0 0 0-4.54-4.458 8.28 8.28 0 0 0-3.11-.608z",x:"M19.5 20.25a.743.743 0 0 1-.53-.22L12 13.061l-6.97 6.97a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061L10.94 12 3.97 5.03c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22L12 10.94l6.97-6.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53L13.061 12l6.97 6.97a.75.75 0 0 1-.531 1.28z",plus:"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z",minus:"M.8 12.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h22.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8z",check:"M6.347 24.003a2.95 2.95 0 0 1-2.36-1.187L.15 17.7a.748.748 0 0 1 .6-1.2c.235 0 .459.112.6.3l3.839 5.118a1.442 1.442 0 0 0 1.42.562c.381-.068.712-.281.933-.599L22.636.32a.748.748 0 1 1 1.228.86L8.772 22.739a2.93 2.93 0 0 1-1.9 1.217c-.173.031-.35.047-.525.047z",list:"M8.25 4.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 13.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 22.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM1.5 5.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3zM1.5 14.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-4.5 1.5-4.5 1.5zm0-1.5h3v-3h-3v3zM1.5 23.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3z",tiles:"M2.25 10.497A2.252 2.252 0 0 1 0 8.247v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM2.25 23.997A2.252 2.252 0 0 1 0 21.747v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 10.497a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6A2.252 2.252 0 0 1 24 2.247v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 23.997a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6z",pencil:"M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275-1.129 4.406zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344l4.077 4.07zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762l4.071 4.07z",expand:"M23.25 7.498a.75.75 0 0 1-.75-.75V2.559l-3.97 3.97a.746.746 0 0 1-1.06-.001c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l3.97-3.97h-4.19a.75.75 0 0 1 0-1.5h6a.735.735 0 0 1 .293.06.75.75 0 0 1 .4.404l.01.026c.03.082.047.17.047.26v6a.75.75 0 0 1-.75.75zM.75 23.998a.755.755 0 0 1-.26-.047l-.022-.008A.754.754 0 0 1 0 23.248v-6a.75.75 0 0 1 1.5 0v4.189l3.97-3.97a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3.97 3.97h4.19a.75.75 0 0 1 0 1.5h-6zM.75 7.498a.75.75 0 0 1-.75-.75v-6A.74.74 0 0 1 .048.487L.055.466a.754.754 0 0 1 .41-.411L.49.045a.737.737 0 0 1 .26-.047h6a.75.75 0 0 1 0 1.5H2.561l3.97 3.97c.142.141.22.33.22.53s-.078.389-.22.53a.747.747 0 0 1-1.061 0L1.5 2.559v4.189a.75.75 0 0 1-.75.75zM17.25 23.998a.75.75 0 0 1 0-1.5h4.189l-3.97-3.97a.752.752 0 0 1 .53-1.281c.2 0 .389.078.53.22l3.97 3.97v-4.189a.75.75 0 0 1 1.501 0v6a.767.767 0 0 1-.046.258l-.006.017a.763.763 0 0 1-.412.419l-.026.01a.73.73 0 0 1-.259.047H17.25zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",collapse:"M17.25 7.498a.735.735 0 0 1-.261-.048l-.032-.012a.75.75 0 0 1-.4-.404l-.01-.026a.739.739 0 0 1-.047-.26v-6a.75.75 0 0 1 1.5 0v4.189l4.72-4.72a.744.744 0 0 1 1.06 0 .747.747 0 0 1 0 1.061l-4.72 4.72h4.189a.75.75 0 0 1 0 1.5H17.25zM6.75 23.998a.75.75 0 0 1-.75-.75v-4.189l-4.72 4.72a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061l4.72-4.72H.75a.75.75 0 0 1 0-1.5h6c.088 0 .175.016.26.047l.022.008a.756.756 0 0 1 .468.695v6a.75.75 0 0 1-.75.75zM23.25 23.998a.743.743 0 0 1-.53-.22L18 19.059v4.189a.75.75 0 0 1-1.5 0v-6c0-.087.016-.174.046-.258l.006-.017a.763.763 0 0 1 .412-.419l.026-.01a.733.733 0 0 1 .259-.047h6a.75.75 0 0 1 0 1.5H19.06l4.72 4.72a.752.752 0 0 1-.53 1.281zM.75 7.498a.75.75 0 0 1 0-1.5h4.189l-4.72-4.72A.746.746 0 0 1 .22.218c.141-.142.33-.22.53-.22s.389.078.53.22L6 4.938V.748a.75.75 0 0 1 1.5 0v6a.735.735 0 0 1-.048.261l-.007.021a.76.76 0 0 1-.695.468h-6zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",eye:"M11.8 19.5c-4.3 0-8.6-3-11.2-5.9-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.4c4.3 0 8.6 3 11.2 5.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9h-.4zM11.9 6C8 6 4.1 8.8 1.7 11.4c-.3.3-.3.9 0 1.2C4.1 15.2 8 18 11.9 18h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2C19.9 8.8 16 6 12.1 6h-.2zm.1 10.5c-1.2 0-2.3-.5-3.2-1.3s-1.3-2-1.3-3.2c0-2.5 2-4.5 4.5-4.5 1.2 0 2.3.5 3.2 1.3.8.9 1.3 2 1.3 3.2 0 1.2-.5 2.3-1.3 3.2-.9.8-2 1.3-3.2 1.3zM12 9c-1.7 0-3 1.3-3 3 0 .8.3 1.6.9 2.1.6.6 1.3.9 2.1.9s1.6-.3 2.1-.9.9-1.3.9-2.1-.3-1.6-.9-2.1c-.5-.6-1.3-.9-2.1-.9z",eyeStriked:"M2.8 21.8c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6 0-.2.1-.4.2-.5L21 2.5c.1-.1.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-18.8 18c0 .2-.2.3-.4.3zm9.2-1.6h-.1c-1 0-2.1-.2-3.1-.5-.4-.1-.6-.5-.5-.9.1-.3.4-.5.7-.5h.2c.9.3 1.8.4 2.7.4h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2-.9-1-1.9-1.9-3-2.7-.1 0-.2-.2-.2-.4s0-.4.1-.6c.1-.2.4-.3.6-.3.2 0 .3.1.4.1 1.2.8 2.2 1.8 3.2 2.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9H12zM3.8 17c-.2 0-.3-.1-.5-.2-1-.7-1.9-1.6-2.7-2.5-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.2c.8 0 1.7.1 2.5.3.4.1.6.5.5.9.1.4-.2.6-.6.6h-.2c-.7-.2-1.4-.3-2.1-.3h-.2C8 6.8 4.1 9.5 1.7 12.1c-.3.3-.3.9 0 1.2.8.8 1.6 1.6 2.5 2.3.2.1.3.3.3.5s0 .4-.2.6c-.1.2-.3.3-.5.3zm4.4-3.5c-.4 0-.8-.3-.8-.8 0-1.2.5-2.3 1.3-3.2s2-1.3 3.2-1.3c.2 0 .4.2.4.4v.8c0 .1 0 .2-.1.3s-.1.1-.2.1c-.8 0-1.6.3-2.1.9-.6.5-.9 1.2-.9 2.1 0 .2-.1.4-.2.5-.2.1-.4.2-.6.2zm3.8 3.7c-.2 0-.4-.2-.4-.4V16c0-.1 0-.2.1-.3.1-.1.2-.1.3-.1.8 0 1.6-.3 2.1-.9.6-.6.9-1.3.9-2.1 0-.4.3-.8.8-.8s.8.3.8.8c0 1.2-.5 2.3-1.3 3.2-1 1-2.1 1.4-3.3 1.4z",book:"M12 23.999a.755.755 0 0 1-.548-.238c-.017-.017-2.491-2.398-10.212-2.494A1.26 1.26 0 0 1 0 20.025V4.249c0-.334.137-.659.375-.892.242-.232.557-.358.89-.358 5.718.073 8.778 1.302 10.258 2.199a6.773 6.773 0 0 1 1.572-2.664A8.513 8.513 0 0 1 17.071.055a1.346 1.346 0 0 1 1.1.153c.353.218.57.6.579 1.02v2.053A31.709 31.709 0 0 1 22.727 3 1.259 1.259 0 0 1 24 4.245v15.772a1.265 1.265 0 0 1-1.243 1.25c-7.724.096-10.193 2.478-10.217 2.502l-.031.03a.742.742 0 0 1-.509.2zM1.5 19.771c5.263.097 8.233 1.194 9.75 2.037V6.826c-.72-.546-3.417-2.201-9.75-2.323v15.268zm17.25-2.926a.751.751 0 0 1-.598.734 7.44 7.44 0 0 0-3.967 2.238 5.3 5.3 0 0 0-1.15 1.838c1.58-.81 4.502-1.794 9.464-1.885V4.502a30.64 30.64 0 0 0-3.75.292v12.051zm-6 2.334c.11-.135.225-.266.345-.39a8.92 8.92 0 0 1 4.155-2.533V1.569a7.055 7.055 0 0 0-3.057 1.986 5.343 5.343 0 0 0-1.443 2.997v12.627z",serverSettings:"M5.3 4.1c.6 0 1.1.5 1.1 1.1s-.5 1.2-1.1 1.2-1.2-.5-1.2-1.1.5-1.2 1.2-1.2zm0 9c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1-1.1-.5-1.1-1.1.4-1.1 1.1-1.1zm0 6.4c-2.9 0-5.2-2.4-5.2-5.2 0-1.9 1-3.6 2.5-4.5C1 8.8 0 7.1 0 5.3 0 2.4 2.4 0 5.3 0h12c1.4 0 2.7.5 3.7 1.5s1.5 2.3 1.5 3.7c0 1.3-.5 2.5-1.3 3.5-.1.2-.3.3-.6.3-.2 0-.4-.1-.5-.2-.2-.1-.2-.3-.3-.5s.1-.4.2-.5c.7-.8 1-1.6 1-2.6s-.4-1.9-1.1-2.7c-.7-.7-1.6-1.1-2.7-1.1h-12c-2.1 0-3.8 1.7-3.8 3.8S3.2 9 5.3 9h7.4c.4 0 .8.3.8.8s-.3.8-.8.8H5.3c-2.1 0-3.8 1.7-3.8 3.8S3.2 18 5.3 18h3c.4 0 .7.3.7.8s-.3.8-.8.8l-2.9-.1zM10.5 6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6.7c.4 0 .8.3.8.8s-.3.8-.7.8h-6.8zm6.8 12.8c-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2 2.2 1 2.2 2.2-1 2.2-2.2 2.2zm0-3c-.4 0-.8.3-.8.7s.3.8.8.8.8-.3.8-.8-.4-.7-.8-.7zm0 8.2c-.2 0-.4 0-.6-.1-.7-.2-1.2-.7-1.4-1.4l-.4-1.4c0-.1-.1-.2-.2-.2h-.1l-1.5.3c-.2 0-.3.1-.5.1-.4 0-.8-.1-1.1-.3-.5-.3-.8-.8-.9-1.3-.2-.7 0-1.4.5-1.9l1-1.1c.1-.1.1-.2 0-.3l-1-1.1c-.4-.4-.6-.9-.6-1.5s.3-1.1.7-1.5c.4-.4.9-.6 1.4-.6.2 0 .3 0 .5.1l1.5.3h.1c.1 0 .2-.1.2-.2l.4-1.5c.2-.5.5-1 1-1.2.3-.2.6-.2 1-.2.2 0 .4 0 .6.1.7.2 1.2.7 1.4 1.4l.4 1.4c0 .1.1.2.2.2h.1l1.5-.3c.2 0 .3-.1.5-.1.4 0 .8.1 1.1.3.5.3.8.8.9 1.3.2.7 0 1.4-.5 1.9l-1 1.1c-.1.1-.1.2 0 .3l1 1.1c.4.4.6.9.6 1.5s-.3 1.1-.7 1.5c-.4.4-.9.6-1.4.6-.2 0-.3 0-.5-.1l-1.5-.3h-.1c-.1 0-.2.1-.2.2l-.4 1.4c-.2.5-.5 1-1 1.2-.4.2-.7.3-1 .3zm-2.7-4.6c.8 0 1.4.5 1.7 1.2l.4 1.5c.1.2.2.3.4.4h.2c.1 0 .2 0 .3-.1l.3-.3.4-1.5c.2-.7.9-1.2 1.7-1.2h.4l1.5.3h.1c.1 0 .3-.1.4-.2.1-.1.2-.3.2-.4 0-.2-.1-.3-.2-.4l-1-1.1c-.6-.7-.6-1.7 0-2.4l1-1.1c.1-.1.2-.3.1-.5-.1-.3-.3-.5-.6-.5h-.1l-1.5.3h-.4c-.8 0-1.4-.5-1.7-1.2l-.4-1.5c-.1-.2-.2-.3-.4-.4h-.2c-.1 0-.2 0-.3.1l-.3.3-.4 1.5c-.2.7-.9 1.2-1.7 1.2h-.4l-1.5-.3h-.1c-.1 0-.3.1-.4.2-.1.1-.2.3-.2.4 0 .2.1.3.2.4l1 1.1c.6.7.6 1.7 0 2.4l-1 1.1c-.1.2-.1.4-.1.6 0 .2.1.3.3.4.1.1.2.1.3.1h.1l1.5-.3c.1-.1.3-.1.4-.1z",controlls:"M6 22c-1.4 0-2.6-.9-2.9-2.2H.7c-.4 0-.7-.4-.7-.8s.3-.8.8-.8h2.3C3.4 16.9 4.6 16 6 16s2.6.9 2.9 2.2h14.3c.4 0 .8.3.8.8s-.3.8-.8.8H8.9C8.6 21.1 7.4 22 6 22Zm0-4.5c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5-.7-1.5-1.5-1.5v-.4.4ZM21 15c-1.4 0-2.6-.9-2.9-2.2H.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h17.3C18.4 9.9 19.6 9 21 9s3 1.3 3 3-1.3 3-3 3Zm0-4.5c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5-.7-1.5-1.5-1.5ZM8.3 8c-1.4 0-2.6-.9-2.9-2.2H.8C.4 5.8 0 5.5 0 5s.3-.8.8-.8h4.7C5.8 2.9 7 2 8.4 2s2.6.9 2.9 2.2h12c.4 0 .8.3.8.8s-.3.8-.8.8h-12C11 7.1 9.8 8 8.4 8Zm0-4.5c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5S9.8 5.8 9.8 5s-.7-1.5-1.5-1.5v-.4.4Z",pin:"M.75 23.999a.743.743 0 0 1-.53-.22c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l7.474-7.474-3.575-3.575a2.248 2.248 0 0 1-.588-2.16c.151-.582.52-1.07 1.039-1.374a8.266 8.266 0 0 1 5.564-1.002l3.877-6.094c.089-.139.192-.268.308-.383.424-.425.989-.659 1.59-.659s1.166.234 1.591.659L23.343 6.5a2.236 2.236 0 0 1 .605 2.079 2.238 2.238 0 0 1-.988 1.41l-6.092 3.877a8.257 8.257 0 0 1-1 5.562 2.234 2.234 0 0 1-1.942 1.114 2.239 2.239 0 0 1-1.593-.661l-3.576-3.577L1.28 23.78a.746.746 0 0 1-.53.219zM8.72 8.513c-1.186 0-2.36.318-3.394.919a.746.746 0 0 0-.148 1.175l8.214 8.214c.142.142.331.22.532.22a.743.743 0 0 0 .646-.369 6.737 6.737 0 0 0 .728-4.985.75.75 0 0 1 .326-.808l6.529-4.155a.748.748 0 0 0 .128-1.163L16.44 1.718a.745.745 0 0 0-.531-.22.743.743 0 0 0-.633.348l-4.155 6.53a.746.746 0 0 1-.808.326 6.809 6.809 0 0 0-1.593-.189z",pinFilled:"M.8 24c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6s.1-.4.2-.5l7.5-7.5-3.6-3.6c-.1-.1-.3-.3-.4-.5-.3-.5-.4-1.1-.2-1.7.2-.6.5-1.1 1-1.4 1.3-.6 2.8-1 4.2-1 .5 0 .9 0 1.4.1L14 1c.1-.1.2-.3.3-.4.4-.4 1-.7 1.6-.7s1.2.2 1.6.7l5.8 5.8c.1.1.2.2.3.4.4.6.5 1.2.3 1.8-.1.6-.5 1.1-1 1.4l-6.1 3.9c.3 1.9 0 3.9-1 5.6-.1.2-.2.3-.4.5-.4.4-1 .7-1.6.7-.6 0-1.2-.2-1.6-.7l-3.6-3.6-7.5 7.5s-.2.1-.3.1z",trash:"M6.6 23.2c-1.2 0-2.1-.9-2.2-2.1L3.1 5.2H1.5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6V3c0-1.2 1-2.2 2.2-2.2h4.5c1.2 0 2.2 1 2.2 2.2v.8h6c.4 0 .8.3.8.8s-.3.8-.8.8h-1.6l-1.3 15.9c-.1 1.2-1.1 2.1-2.2 2.1H6.6zm-.7-2.1c0 .4.4.7.7.7h10.7c.4 0 .7-.3.7-.7l1.3-15.8H4.6l1.3 15.8zM15 3.8V3c0-.4-.3-.8-.8-.8H9.8c-.5 0-.8.4-.8.8v.8h6zM9.8 18c-.5 0-.8-.3-.8-.8V9.8c0-.5.3-.8.8-.8s.8.3.8.8v7.5c-.1.4-.4.7-.8.7zm4.4 0c-.4 0-.8-.3-.8-.8V9.8c0-.4.3-.8.8-.8s.8.3.8.8v7.5c0 .4-.3.7-.8.7z",navigationMenuVertical:"M11.987 24.003c-1.861 0-3.375-1.514-3.375-3.375s1.514-3.375 3.375-3.375 3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 6.753c-1.861 0-3.375-1.514-3.375-3.375S10.126.003 11.987.003s3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 15.378a3.379 3.379 0 0 1-3.375-3.375c0-1.861 1.514-3.375 3.375-3.375s3.375 1.514 3.375 3.375a3.379 3.379 0 0 1-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875z",copy:"M4.5 24a2.252 2.252 0 0 1-2.25-2.25V8.25A2.252 2.252 0 0 1 4.5 6h2.25V2.25A2.252 2.252 0 0 1 9 0h7.629c.601 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v10.63A2.252 2.252 0 0 1 19.5 18h-2.25v3.75A2.252 2.252 0 0 1 15 24H4.5zm0-16.5a.75.75 0 0 0-.75.75v13.5c0 .414.336.75.75.75H15a.75.75 0 0 0 .75-.75V11.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H4.5zm15 9a.75.75 0 0 0 .75-.75V5.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H9a.75.75 0 0 0-.75.75V6h3.879c.6 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v5.38h2.25z",refresh:"M12.723 22.497c-1.385 0-2.737-.271-4.019-.804a.747.747 0 0 1-.404-.98.748.748 0 0 1 .98-.405 8.924 8.924 0 0 0 3.445.689 8.935 8.935 0 0 0 6.204-2.489 8.91 8.91 0 0 0 2.762-6.283 8.911 8.911 0 0 0-2.482-6.399 8.892 8.892 0 0 0-6.483-2.765 8.921 8.921 0 0 0-6.199 2.485 8.937 8.937 0 0 0-2.746 5.833c-.14 2 .375 3.948 1.462 5.589v-2.72a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-.75.75h-.238a.364.364 0 0 1-.096 0H1.493a.75.75 0 0 1 0-1.5h2.636a10.467 10.467 0 0 1-1.822-6.964l.007-.076.019-.197.006-.045A10.54 10.54 0 0 1 5.497 4.42a10.465 10.465 0 0 1 7.264-2.913c1.385 0 2.738.269 4.019.8a.74.74 0 0 1 .26.18 10.382 10.382 0 0 1 3.253 2.301c3.991 4.171 3.844 10.812-.327 14.803a10.43 10.43 0 0 1-7.241 2.905h-.002z",resizeHorizontal:"M5.2 2.3c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3z",info:"M14.6 23.5c-2.4 0-4.3-1.9-4.3-4.3v-8.5H8.2c-.6 0-1.1-.5-1.1-1.1s.5-1.1 1.1-1.1h1.6c1.5 0 2.7 1.2 2.7 2.7v8c0 1.2.9 2.1 2.1 2.1h1.6c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1h-1.6zm-4-19.2c-1 0-1.9-.9-1.9-1.9S9.6.5 10.6.5s1.9.9 1.9 1.9-.9 1.9-1.9 1.9z",sortAZ:"M8.8 0h-7C.8 0 0 .8 0 1.8v9h1.5v-4H9v3.9h1.5v-9C10.5.8 9.7 0 8.8 0zM1.5 5.4V1.8c0-.1.1-.2.2-.2h7c.2-.1.3 0 .3.2v3.6H1.5zm8.8 17.1V24H1.6c-.4 0-.9-.1-1.1-.4-.3-.3-.5-1 0-1.6l7.2-7.3H0v-1.5h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6l-7.2 7.3h8zm8.4-1.3h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z",sortZA:"M8.8 13.2h-7C.8 13.2 0 14 0 15v9h1.5v-3.9H9V24h1.5v-9c0-1-.8-1.8-1.7-1.8zm-7.3 5.4V15c0-.1.1-.2.2-.2h7c.2 0 .3.1.3.2v3.6H1.5zm8.8-9.4v1.5H1.6c-.4 0-.9-.1-1.1-.4-.3-.2-.5-.9 0-1.5l7.2-7.3H0V0h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6L2.4 9.2h7.9zm8.4 12h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z",leaf:"M10.257 21.851a8.3 8.3 0 0 1-6.984-3.84l-2.027 1.73a.748.748 0 0 1-1.058-.083.743.743 0 0 1-.177-.546.744.744 0 0 1 .261-.511l2.296-1.959a8.204 8.204 0 0 1-.593-3.072c0-7.309 5.71-7.938 10.748-8.492 3.287-.362 6.685-.736 8.995-2.653.236-.177.495-.265.763-.265.18 0 .354.039.517.117.366.152.647.512.719.931 1.135 6.649-1.167 11.055-3.298 13.581-2.636 3.122-6.53 5.062-10.162 5.062zm-5.831-4.824a6.777 6.777 0 0 0 5.831 3.324c3.203 0 6.657-1.736 9.016-4.532 1.882-2.23 3.908-6.098 3.031-11.947-2.593 1.944-6.059 2.326-9.416 2.696-5.259.579-9.412 1.036-9.412 7.001 0 .694.105 1.375.312 2.031l.386-.329a25.67 25.67 0 0 1 8.897-4.439.752.752 0 0 1 .85 1.094.747.747 0 0 1-.453.352 24.122 24.122 0 0 0-8.35 4.157l-.692.592z",recycle:"M5.6 24c-1.1 0-2-.8-2.2-1.9L0 2.6v-.4C0 1 1 0 2.2 0h19.5c.7 0 1.3.3 1.7.8.5.5.7 1.2.6 1.9l-3.4 19.5c-.2 1.1-1.1 1.9-2.2 1.9L5.6 24zM2.2 1.5c-.4 0-.8.3-.8.7v.1l3.4 19.5c.1.4.4.6.7.6h12.7c.4 0 .7-.3.7-.6l3.4-19.5c0-.2 0-.4-.2-.6-.1-.2-.4-.3-.6-.3l-19.3.1zm10.3 17.3c-.7 0-1.4-.1-2.1-.3-1.4-.5-2.6-1.4-3.3-2.7v1.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8v-3.8c0-.4.3-.8.8-.8H10c.4 0 .8.3.8.8s-.3.8-.8.8H8.1c.5 1.3 1.6 2.3 2.9 2.7.5.2 1 .3 1.6.3.7 0 1.4-.2 2.1-.5 1.2-.6 2-1.6 2.4-2.8.1-.3.4-.5.7-.5h.2c.2.1.3.2.4.4s.1.4 0 .6c-.5 1.6-1.7 2.9-3.2 3.6-.8.4-1.7.7-2.7.7zm2.1-7.5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h2.1c-.5-1.3-1.6-2.3-2.9-2.7-.5-.2-1-.3-1.6-.3-.7 0-1.4.2-2.1.5-1.1.6-2 1.6-2.4 2.8-.1.3-.4.5-.7.5h-.2c-.4-.1-.6-.6-.5-1C6.8 7.9 8 6.6 9.5 5.9c.9-.4 1.8-.6 2.8-.6.7 0 1.4.1 2.1.3 1.4.5 2.6 1.4 3.3 2.7V6.8c-.1-.5.3-.8.7-.8s.8.3.8.8v3.8c0 .4-.3.8-.8.8h-3.8v-.1z",recycleRefresh:"M2.3 15H2c-.1 0-.2-.1-.2-.2L.3 13.3c-.3-.3-.3-.8 0-1.1.1-.1.3-.2.5-.2s.4.1.5.2l.2.2V12c0-2.3.8-4.6 2.2-6.5 2-2.6 5-4 8.3-4 2.4 0 4.6.8 6.4 2.2.2.1.3.3.3.5s0 .4-.2.6c-.1.2-.3.3-.5.3s-.3-.1-.5-.2C15.9 3.7 14 3 12 3 9.2 3 6.6 4.3 4.9 6.5 3.7 8.1 3 10 3 12v.4l.2-.2c.2-.1.4-.2.6-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-1.5 1.5c-.1.1-.2.1-.2.2-.2.1-.3.1-.3.1zm9.7 7.5c-2.4 0-4.6-.8-6.4-2.2-.3-.3-.4-.7-.1-1.1.1-.2.4-.3.6-.3.2 0 .3.1.5.2C8.1 20.4 10 21 12 21c2.8 0 5.4-1.3 7.1-3.5C20.3 16 21 14 21 12v-.4l-.2.2c-.1.1-.3.2-.5.2s-.4-.1-.5-.2c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5l1.5-1.5c.1-.1.2-.1.2-.2h.6c.1 0 .2.1.2.2l1.5 1.5c.1.1.2.3.2.5s-.1.4-.2.5-.3.2-.5.2-.4-.1-.5-.2l-.2-.2v.4c0 2.3-.8 4.6-2.2 6.5-2.1 2.5-5.1 4-8.4 4zM9.5 18c-.4 0-.8-.4-.7-.8 0-.5 0-.9.1-1.3-1.2-.7-2-1.5-2.3-2.5-.3-1-.1-2.2.7-3.3 1.9-2.6 4.8-4.1 8-4.1.2 0 .4.1.6.3 0 .2.1.4.1.6-.1.7 0 1.6.2 2.7.4 2.3.9 5.5-1.9 7.3-.5.3-1.1.5-1.7.5-.9 0-1.7-.3-2.3-.6v.6c-.1.3-.4.6-.8.6zm1-2.9c.3.2 1.2.7 2.1.7.3 0 .7-.1.9-.2 2-1.2 1.6-3.4 1.2-5.7-.1-.8-.3-1.6-.3-2.3-2.3.2-4.5 1.4-5.9 3.4-.5.7-.7 1.3-.5 2 .1.5.6 1 1.2 1.4.6-2.1 1.7-2.9 1.9-3 .1-.1.3-.1.4-.1.3 0 .5.1.6.3.2.3.1.8-.2 1 0 0-.9.7-1.4 2.5z",merge:"M20.62 0a3.382 3.382 0 0 0-2.39 5.77l-5.49 5.49v-4.6c1.5-.34 2.62-1.68 2.62-3.28 0-1.86-1.51-3.38-3.38-3.38S8.6 1.51 8.6 3.38c0 1.6 1.12 2.94 2.62 3.28v4.45L5.79 5.68c.57-.6.93-1.41.93-2.31 0-1.86-1.51-3.38-3.38-3.38S0 1.51 0 3.38s1.51 3.38 3.38 3.38c.41 0 .81-.09 1.17-.22l6.7 6.7v8.21l-1.72-1.72a.75.75 0 1 0-1.06 1.06l3 3c.07.07.15.13.25.17h.02c.09.03.17.05.26.05s.17-.02.26-.05c0 0 .02 0 .03-.01.09-.04.18-.09.25-.16l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72v-8.06l6.82-6.82c.34.11.69.19 1.06.19 1.86 0 3.38-1.51 3.38-3.38S22.51 0 20.64 0ZM1.5 3.38c0-1.03.84-1.88 1.88-1.88s1.88.84 1.88 1.88-.84 1.88-1.88 1.88S1.5 4.42 1.5 3.38Zm8.62 0c0-1.03.84-1.88 1.88-1.88s1.88.84 1.88 1.88-.84 1.88-1.88 1.88-1.88-.84-1.88-1.88Zm10.5 1.87c-1.03 0-1.88-.84-1.88-1.88s.84-1.88 1.88-1.88 1.88.84 1.88 1.88-.84 1.88-1.88 1.88Z",disable:"M12 24a11.922 11.922 0 0 1-8.43-3.468.343.343 0 0 1-.099-.099A11.924 11.924 0 0 1 0 12C0 5.383 5.383 0 12 0a11.92 11.92 0 0 1 8.43 3.468.397.397 0 0 1 .099.099A11.92 11.92 0 0 1 24 12c0 6.617-5.383 12-12 12zm-6.87-4.069A10.448 10.448 0 0 0 12 22.5c5.79 0 10.5-4.71 10.5-10.5 0-2.534-.909-4.958-2.569-6.87L5.13 19.931zM12 1.5C6.21 1.5 1.5 6.21 1.5 12c0 2.534.91 4.958 2.569 6.87L18.87 4.069A10.453 10.453 0 0 0 12 1.5z",globeMessage:"M23.25 24c-.05 0-.11 0-.16-.02l-5.74-1.24c-.76.38-1.58.68-2.42.89-.03 0-.05.02-.08.02-.93.23-1.89.34-2.84.34s-1.84-.11-2.77-.33c-.09 0-.18-.03-.27-.07a12.05 12.05 0 0 1-7.6-6.01C-.12 14.77-.42 11.52.53 8.46s3.03-5.58 5.86-7.07C7.24.94 8.15.59 9.09.36c.01 0 .03 0 .06-.01.91-.23 1.86-.35 2.82-.35s1.88.11 2.8.33c.07 0 .14.02.21.05 3.28.84 6.06 3.04 7.63 6.02.74 1.4 1.2 2.99 1.34 4.59.03.08.05.17.05.26 0 .05 0 .1-.02.15.01.22.02.41.02.6 0 1.91-.47 3.83-1.36 5.55-.01.03-.03.07-.05.1-.22.41-.45.79-.7 1.16l2.04 4.11c.13.26.1.57-.08.79-.15.19-.36.29-.59.29ZM9.74 22.25c.75.17 1.51.25 2.27.25s1.49-.08 2.22-.24c.67-1.06 1.22-2.52 1.61-4.26H8.12c.39 1.73.95 3.18 1.61 4.25Zm7.51-1.05c.05 0 .11 0 .16.02l4.48.97-1.55-3.12c-.13-.25-.1-.56.07-.78.07-.09.14-.19.21-.29h-3.21c-.28 1.34-.66 2.54-1.12 3.59.21-.09.41-.19.61-.3a.73.73 0 0 1 .35-.09ZM3.38 18c1.09 1.56 2.59 2.8 4.33 3.58-.46-1.04-.83-2.24-1.11-3.58H3.39Zm18.1-1.5c.67-1.41 1.02-2.96 1.02-4.5S18 12 18 12c0 1.55-.11 3.06-.33 4.5h3.81Zm-5.34 0c.23-1.45.35-2.96.35-4.5h-9c0 1.54.12 3.05.35 4.5h8.3Zm-9.82 0C6.1 15.06 6 13.55 6 12H1.49c0 1.55.35 3.09 1.02 4.5h3.81Zm16.06-5.99c-.17-1.2-.54-2.34-1.1-3.4-.2-.38-.42-.75-.67-1.1H17.4c.3 1.4.49 2.91.56 4.5h4.42Zm-5.93 0c-.08-1.57-.29-3.11-.6-4.5H8.13c-.32 1.39-.52 2.93-.6 4.5h8.92Zm-10.42 0c.07-1.59.26-3.1.56-4.5H3.37c-.62.89-1.09 1.86-1.41 2.9-.16.52-.28 1.06-.36 1.6h4.43Zm13.31-6c-.89-.87-1.92-1.57-3.06-2.08.28.63.53 1.33.74 2.08h2.31Zm-3.89 0c-.34-1.09-.74-2.01-1.2-2.75a10.5 10.5 0 0 0-4.5-.01c-.46.74-.87 1.66-1.21 2.76h6.91Zm-8.49 0c.22-.75.47-1.45.75-2.09-.21.09-.42.19-.62.3-.91.48-1.73 1.08-2.45 1.79h2.32Z"};return s.$$set=z=>{"icon"in z&&c(0,l=z.icon),"size"in z&&c(1,e=z.size)},s.$$.update=()=>{s.$$.dirty&1&&c(2,a=Z[l]),s.$$.dirty&5&&(a||console.warn(`There is no icon named %c${l} %cavailable. Not rendering anything.`,"font-weight: bold","font-weight: normal"))},[l,e,a]}class u extends C{constructor(h){super(),f(this,h,A,d,V,{icon:0,size:1})}}export{u as I}; +import{s as V,v as M,i as o,n as i,f as m,w as t,x as H,b as n,y as v,h as L}from"./scheduler.CKQ5dLhN.js";import{S as C,i as f}from"./index.CGVWAVV-.js";function r(s){let h,c;return{c(){h=t("svg"),c=t("path"),this.h()},l(a){h=H(a,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var l=n(h);c=H(l,"path",{d:!0}),n(c).forEach(m),l.forEach(m),this.h()},h(){v(c,"d",s[2]),v(h,"width",s[1]),v(h,"height",s[1]),v(h,"viewBox","0 0 24 24"),v(h,"fill","currentColor"),v(h,"xmlns","http://www.w3.org/2000/svg")},m(a,l){o(a,h,l),L(h,c)},p(a,l){l&4&&v(c,"d",a[2]),l&2&&v(h,"width",a[1]),l&2&&v(h,"height",a[1])},d(a){a&&m(h)}}}function d(s){let h,c=s[0]&&r(s);return{c(){c&&c.c(),h=M()},l(a){c&&c.l(a),h=M()},m(a,l){c&&c.m(a,l),o(a,h,l)},p(a,[l]){a[0]?c?c.p(a,l):(c=r(a),c.c(),c.m(h.parentNode,h)):c&&(c.d(1),c=null)},i,o:i,d(a){a&&m(h),c&&c.d(a)}}}function A(s,h,c){let a,{icon:l=!1}=h,{size:e=24}=h;const Z={database:"M12 24c-6.841 0-12-2.257-12-5.25V5.251C0 2.258 5.159.001 12 .001s12 2.257 12 5.25V18.75C24 21.743 18.841 24 12 24zM1.5 18.75c0 1.533 3.739 3.75 10.5 3.75s10.5-2.217 10.5-3.75v-4.137c-2.053 1.622-6.023 2.637-10.5 2.637s-8.446-1.016-10.5-2.637v4.137zm0-6.75c0 1.533 3.739 3.75 10.5 3.75S22.5 13.533 22.5 12V7.863C20.446 9.485 16.477 10.5 12 10.5S3.554 9.485 1.5 7.863V12zM12 1.501c-6.761 0-10.5 2.217-10.5 3.75s3.739 3.75 10.5 3.75 10.5-2.217 10.5-3.75-3.739-3.75-10.5-3.75z",users:"M4.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5C3.67 4.5 3 5.17 3 6s.67 1.5 1.5 1.5S6 6.83 6 6s-.67-1.5-1.5-1.5ZM3 22.5c-.38 0-.7-.28-.74-.66l-.67-5.34H.75c-.41 0-.75-.34-.75-.75V13.5C0 11.02 2.02 9 4.5 9c.41 0 .75.34.75.75s-.34.75-.75.75c-1.65 0-3 1.35-3 3V15h.75c.38 0 .7.28.74.66L3.66 21H6c.41 0 .75.34.75.75s-.34.75-.75.75H3ZM19.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5S21 6.83 21 6s-.67-1.5-1.5-1.5Zm-1.5 18c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h2.34l.67-5.34c.05-.38.37-.66.74-.66h.75v-1.5c0-1.65-1.35-3-3-3-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.48 0 4.5 2.02 4.5 4.5v2.25c0 .41-.34.75-.75.75h-.84l-.67 5.34c-.05.38-.37.66-.74.66h-3Zm-6-15c-2.07 0-3.75-1.68-3.75-3.75S9.93 0 12 0s3.75 1.68 3.75 3.75S14.07 7.5 12 7.5Zm0-6c-1.24 0-2.25 1.01-2.25 2.25S10.76 6 12 6s2.25-1.01 2.25-2.25S13.24 1.5 12 1.5ZM9.75 24a.75.75 0 0 1-.75-.67l-.68-6.83H6.75c-.41 0-.75-.34-.75-.75V13.5c0-3.31 2.69-6 6-6s6 2.69 6 6v2.25c0 .41-.34.75-.75.75h-1.57L15 23.33a.75.75 0 0 1-.75.67h-4.5Zm3.82-1.5.68-6.82c.04-.38.36-.68.75-.68h1.5v-1.5c0-2.48-2.02-4.5-4.5-4.5s-4.5 2.02-4.5 4.5V15H9c.39 0 .71.29.75.68l.68 6.82h3.14Z",log:"m5.25,24c-1.24,0-2.25-1.01-2.25-2.25v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,.41.34.75.75.75h13.5c.41,0,.75-.34.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,1.24-1.01,2.25-2.25,2.25H5.25Zm15-10.5c-.41,0-.75-.34-.75-.75v-7.5c0-.41-.34-.75-.75-.75h-2.25v1.5c0,.83-.67,1.5-1.5,1.5h-6c-.83,0-1.5-.67-1.5-1.5v-1.5h-2.25c-.41,0-.75.34-.75.75v7.5c0,.41-.34.75-.75.75s-.75-.34-.75-.75v-7.5c0-1.24,1.01-2.25,2.25-2.25h2.25c0-.83.67-1.5,1.5-1.5h.31c.52-.92,1.5-1.5,2.56-1.5.04,0,.08,0,.12,0,.04,0,.09,0,.13,0,1.07,0,2.05.58,2.56,1.5h.31c.83,0,1.5.67,1.5,1.5h2.25c1.24,0,2.25,1.01,2.25,2.25v7.5c0,.41-.34.75-.75.75Zm-11.25-7.5h6v-3h-.8c-.32,0-.61-.21-.71-.51-.19-.59-.74-.99-1.37-.99-.03,0-.05,0-.08,0,0,0-.04,0-.04,0-.01,0-.09,0-.11,0-.62,0-1.18.4-1.37.99-.1.31-.39.52-.71.52h-.8v3Zm3.04,13.63c-.17,0-.34-.04-.49-.11-.27-.13-.47-.36-.57-.65l-2.08-5.73-1.37,2.73c-.19.38-.58.62-1.01.62H.75c-.41,0-.75-.34-.75-.75s.34-.75.75-.75h5.54l1.65-3.31c.13-.27.37-.47.65-.56.12-.04.24-.06.36-.06.17,0,.35.04.5.12.26.13.46.35.56.62l2.07,5.69,1.93-4.33c.18-.41.59-.67,1.03-.67.16,0,.31.03.46.1.24.11.43.29.55.52l.94,1.88h6.28c.41,0,.75.34.75.75s-.34.75-.75.75h-6.51c-.43,0-.81-.24-1.01-.62l-.69-1.37-1.98,4.45c-.12.28-.36.51-.67.61-.12.04-.24.06-.36.06Z",logFresh:"M5.25 24C4.01 24 3 22.99 3 21.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0 .41.34.75.75.75h13.5c.41 0 .75-.34.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0 1.24-1.01 2.25-2.25 2.25H5.25Zm15-10.5c-.41 0-.75-.34-.75-.75v-7.5c0-.41-.34-.75-.75-.75H16.5V6c0 .83-.67 1.5-1.5 1.5H9c-.83 0-1.5-.67-1.5-1.5V4.5H5.25c-.41 0-.75.34-.75.75v7.5c0 .41-.34.75-.75.75S3 13.16 3 12.75v-7.5C3 4.01 4.01 3 5.25 3H7.5c0-.83.67-1.5 1.5-1.5h.31C9.83.58 10.81 0 11.88 0h.25c1.06 0 2.04.58 2.56 1.5H15c.83 0 1.5.67 1.5 1.5h2.25C19.99 3 21 4.01 21 5.25v7.5c0 .41-.34.75-.75.75ZM9 6h6V3h-.8c-.32 0-.61-.21-.71-.51-.19-.59-.74-.99-1.37-.99H11.89c-.62 0-1.18.4-1.37.99a.75.75 0 0 1-.71.52h-.8v3ZM7.14 20.55c-.1 0-.19-.02-.28-.06-.19-.08-.33-.22-.41-.4s-.08-.39 0-.57c.37-.9.8-1.72 1.27-2.42-.78-1.12-1.09-2.25-.92-3.27.19-1.07.9-1.99 2.06-2.65 1.41-.74 2.99-1.12 4.58-1.12s3.04.36 4.39 1.03c.2.1.35.28.4.51s0 .45-.14.63c-.41.52-.69 1.48-1 2.49-.68 2.26-1.61 5.36-4.93 5.66-.1 0-.2.01-.29.01-1.55 0-2.64-1.12-3.23-1.94-.29.5-.56 1.05-.81 1.65-.12.28-.39.47-.7.47Zm2.43-3.43c.26.44 1.11 1.76 2.3 1.76h.15c2.31-.21 2.95-2.34 3.62-4.6.24-.79.46-1.53.76-2.17-.95-.36-1.95-.55-2.98-.55-1.34 0-2.68.33-3.86.94-.75.43-1.19.96-1.3 1.59-.09.52.06 1.12.42 1.76 1.48-1.59 2.82-1.8 2.97-1.82h.09c.38 0 .7.28.75.66.05.41-.24.78-.65.84s-.55.09-1.29.65c-.34.26-.68.58-1 .95Z",backgroundJob:"M23.6 7.3v.3c0 .1-.1.2-.2.3l-3 3c-.2.1-.4.1-.6.1-.2 0-.4-.1-.5-.2-.1-.1-.2-.3-.2-.5s.1-.4.2-.5L21 8H1.2c-.4 0-.8-.4-.8-.8s.3-.9.8-.9H21l-1.7-1.5c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3 3c.1.1.1.2.2.2.1.1.1.2.1.3zM4 10.4c-.4 0-.7.3-.7.7-.1 1.1 0 2.2.3 3.3 0 .4.3.6.7.6h.2c.4-.1.6-.5.5-.9-.2-.9-.3-1.9-.2-2.8 0-.5-.3-.8-.8-.9.1 0 0 0 0 0zm2.6 5.3c-.3 0-.6.2-.7.6-.1.4.2.8.6.9.8.2 1.6.3 2.4.3h.9c.4 0 .7-.4.7-.8s-.4-.7-.7-.7H9c-.7 0-1.4-.1-2.1-.2-.2-.1-.2-.1-.3-.1zm9.8-2.7c-.2 0-.4.1-.5.2-.1.1-.2.3-.2.5s.1.4.2.5l1.7 1.7h-3.4c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h3.4l-1.7 1.7c-.1.1-.2.3-.2.5s.1.4.2.5c.1.1.3.2.5.2s.4-.1.5-.2l3-3c.1-.1.1-.2.2-.2v-.6c0-.1-.1-.2-.2-.3l-3-3c-.2-.1-.3-.1-.5-.1z",constant:"M3 24C1.76 24 .75 22.99.75 21.75V2.25C.75 1.01 1.76 0 3 0h15.05c.59 0 1.15.23 1.57.64l2.95 2.88c.43.42.68 1.01.68 1.61v16.62c0 1.24-1.01 2.25-2.25 2.25H3ZM3 1.5c-.41 0-.75.34-.75.75v19.5c0 .41.34.75.75.75h18c.41 0 .75-.34.75-.75V5.14c0-.2-.08-.4-.23-.54l-2.95-2.88a.734.734 0 0 0-.52-.21H3Zm6.65 16.56c-1.12 0-2.06-.87-2.15-1.99v-1.31c0-.16-.11-.33-.27-.41l-1.61-.92c-.23-.13-.38-.38-.38-.65s.14-.52.38-.65l1.58-.91c.18-.1.29-.26.29-.45V9.48a2.173 2.173 0 0 1 2.15-1.99h.85a.749.749 0 1 1 0 1.5h-.85a.65.65 0 0 0-.65.58v1.21c-.02.74-.43 1.4-1.07 1.74l-.43.25.45.26c.62.33 1.02.98 1.04 1.7v1.23c.04.33.32.58.66.58h.84c.41 0 .75.34.75.75s-.34.75-.75.75h-.85Zm4.69 0h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H14.34c.34 0 .62-.25.66-.58v-1.21c.02-.74.43-1.4 1.07-1.74l.43-.25-.45-.26c-.62-.33-1.02-.98-1.04-1.71V9.58a.658.658 0 0 0-.65-.58h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h.85c1.12 0 2.06.87 2.15 1.99v1.31c0 .16.11.33.27.41l1.6.92c.23.13.38.38.38.65s-.14.52-.38.65l-1.58.91c-.18.1-.29.26-.29.45v1.29a2.165 2.165 0 0 1-2.15 1.99Z",graphql:"M21 14.9V9.1c.9-.2 1.6-1.1 1.6-2.1 0-1.2-1-2.1-2.1-2.1-.6 0-1.2.3-1.5.7l-5-2.9c.1-.2.1-.4.1-.6C14.1 1 13.2 0 12 0S9.9 1 9.9 2.1c0 .2 0 .4.1.6L5 5.6c-.4-.4-.9-.7-1.5-.7-1.2 0-2.1 1-2.1 2.1 0 1 .7 1.8 1.6 2.1v5.7c-.9.2-1.6 1.1-1.6 2.1 0 1.2 1 2.1 2.1 2.1.6 0 1.2-.3 1.5-.7l5 2.9c-.1.2-.1.4-.1.6 0 1.2 1 2.1 2.1 2.1s2.1-1 2.1-2.1c0-.2 0-.4-.1-.6l5-2.9c.4.4.9.7 1.5.7 1.2 0 2.1-1 2.1-2.1.1-1-.6-1.8-1.6-2zm-17 0V9.1C4.9 8.9 5.6 8 5.6 7c0-.2 0-.4-.1-.6l5-2.9.1.1L4 14.9zm9.5 5.5c-.4-.4-.9-.7-1.5-.7s-1.2.3-1.5.7l-5-2.9v-.1h12.9v.1l-4.9 2.9zm5-4h-13c-.1-.4-.3-.8-.6-1l6.5-11.2c.2.1.4.1.6.1s.4 0 .6-.1l6.5 11.2c-.3.3-.5.6-.6 1zm1.5-1.5L13.5 3.7l.1-.1 5 2.9c-.1.2-.1.4-.1.6 0 1 .7 1.8 1.6 2.1v5.7z",liquid:"M12 24c-2.3 0-4.4-.9-6.1-2.5-1.7-1.6-2.6-3.8-2.6-6.1v-.3C3.3 8.6 9.7 0 12 0c2.3 0 8.7 8.6 8.7 15.1.1 4.8-3.8 8.8-8.6 8.9H12zm0-22.3C10.5 3 4.8 10 4.8 15.1v.2c.1 3.4 3.8 7.1 7.2 7.1h.1c3.4-.1 7.2-3.9 7.1-7.3C19.2 10 13.5 3 12 1.7zm-1 18.2c-2.1 0-3.8-1.7-3.8-3.8 0-.7.3-1.2.9-1.2s.7.7.7 1.4 1.1 1.8 1.8 1.8 1.1.4 1.1.8c.1.7 0 1-.7 1z",arrowRight:"M12.75 23.25a.752.752 0 0 1-.53-1.281l9.22-9.22H.75a.749.749 0 1 1 0-1.499h20.689l-9.22-9.22A.746.746 0 0 1 12.22.97c.141-.142.33-.22.53-.22s.389.078.53.22l10.5 10.5a.74.74 0 0 1 .163.245l.01.026a.73.73 0 0 1 0 .517l-.006.016a.755.755 0 0 1-.168.257L13.28 23.03a.743.743 0 0 1-.53.22z",arrowLeft:"M11.25 23.25a.743.743 0 0 1-.53-.22L.22 12.53a.74.74 0 0 1-.163-.245l-.01-.026a.75.75 0 0 1 .009-.541.74.74 0 0 1 .166-.249L10.72.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53l-9.22 9.22h20.69a.75.75 0 0 1 0 1.5H2.561l9.22 9.22a.75.75 0 0 1-.531 1.28z",arrowDown:"M12 18.999c-.4 0-.776-.156-1.059-.438L.22 7.841A.745.745 0 0 1 0 7.31c0-.2.078-.389.22-.53a.744.744 0 0 1 1.06 0L12 17.499 22.72 6.78a.744.744 0 0 1 1.06 0 .744.744 0 0 1 0 1.06L13.06 18.56a1.487 1.487 0 0 1-1.06.439z",arrowTripleUp:"M19 10.3c-.4 0-.8-.1-1.1-.3l-6.1-3.9L5.7 10c-.3.2-.7.3-1.1.3-.4 0-.7 0-1-.2-.5-.3-.8-.7-.8-1.3V6.4c0-.8.4-1.4 1.1-1.8L10.7.3c.3-.2.7-.3 1.1-.3s.7.1 1.1.3l6.9 4.4c.6.3 1 1 1 1.7v2.4c0 .5-.3 1-.8 1.3-.3.2-.6.2-1 .2ZM4.3 8.8h.6l6.5-4.2c.1 0 .3-.1.4-.1s.3 0 .4.1l6.5 4.2h.6V6.5c0-.2-.1-.4-.3-.5l-7-4.4h-.6L4.6 6c-.2.1-.3.3-.4.5v2.3Zm14.7 10c-.4 0-.8-.1-1.1-.3l-6.1-3.9-6.1 3.9c-.3.2-.7.3-1.1.3s-.7 0-1-.2c-.5-.3-.8-.7-.8-1.3v-1.8c0-.8.4-1.4 1.1-1.8l6.8-4.3c.3-.2.7-.3 1.1-.3s.7.1 1.1.3l6.9 4.4c.6.3 1 1 1 1.7v1.8c0 .5-.3 1-.8 1.2-.3.2-.6.3-1 .3Zm-7.2-5.9c.1 0 .3 0 .4.1l6.5 4.2h.6v-1.7c0-.2-.1-.4-.3-.5l-6.9-4.4h-.6L4.7 15c-.2.1-.3.3-.4.5v1.7h.6l6.5-4.2c.1 0 .3-.1.4-.1ZM4.2 24c-.2 0-.5-.1-.6-.3-.1-.2-.2-.4-.1-.6s.1-.4.3-.5l7.5-5.2c.1 0 .3-.1.4-.1s.3 0 .4.1l7.5 5.2c.2.1.3.3.3.5s0 .4-.1.6c-.1.2-.4.3-.6.3s-.3 0-.4-.1L11.7 19l-7.1 4.9c-.1 0-.3.1-.4.1Z",search:"M23.245 23.996a.743.743 0 0 1-.53-.22L16.2 17.26a9.824 9.824 0 0 1-2.553 1.579 9.766 9.766 0 0 1-7.51.069 9.745 9.745 0 0 1-5.359-5.262c-1.025-2.412-1.05-5.08-.069-7.51S3.558 1.802 5.97.777a9.744 9.744 0 0 1 7.51-.069 9.745 9.745 0 0 1 5.359 5.262 9.748 9.748 0 0 1 .069 7.51 9.807 9.807 0 0 1-1.649 2.718l6.517 6.518a.75.75 0 0 1-.531 1.28zM9.807 1.49a8.259 8.259 0 0 0-3.25.667 8.26 8.26 0 0 0-4.458 4.54 8.26 8.26 0 0 0 .058 6.362 8.26 8.26 0 0 0 4.54 4.458 8.259 8.259 0 0 0 6.362-.059 8.285 8.285 0 0 0 2.594-1.736.365.365 0 0 1 .077-.076 8.245 8.245 0 0 0 1.786-2.728 8.255 8.255 0 0 0-.059-6.362 8.257 8.257 0 0 0-4.54-4.458 8.28 8.28 0 0 0-3.11-.608z",x:"M19.5 20.25a.743.743 0 0 1-.53-.22L12 13.061l-6.97 6.97a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061L10.94 12 3.97 5.03c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22L12 10.94l6.97-6.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53L13.061 12l6.97 6.97a.75.75 0 0 1-.531 1.28z",plus:"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z",minus:"M.8 12.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h22.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8z",check:"M6.347 24.003a2.95 2.95 0 0 1-2.36-1.187L.15 17.7a.748.748 0 0 1 .6-1.2c.235 0 .459.112.6.3l3.839 5.118a1.442 1.442 0 0 0 1.42.562c.381-.068.712-.281.933-.599L22.636.32a.748.748 0 1 1 1.228.86L8.772 22.739a2.93 2.93 0 0 1-1.9 1.217c-.173.031-.35.047-.525.047z",list:"M8.25 4.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 13.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 22.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM1.5 5.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3zM1.5 14.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-4.5 1.5-4.5 1.5zm0-1.5h3v-3h-3v3zM1.5 23.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3z",tiles:"M2.25 10.497A2.252 2.252 0 0 1 0 8.247v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM2.25 23.997A2.252 2.252 0 0 1 0 21.747v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 10.497a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6A2.252 2.252 0 0 1 24 2.247v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 23.997a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6z",pencil:"M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275-1.129 4.406zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344l4.077 4.07zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762l4.071 4.07z",expand:"M23.25 7.498a.75.75 0 0 1-.75-.75V2.559l-3.97 3.97a.746.746 0 0 1-1.06-.001c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l3.97-3.97h-4.19a.75.75 0 0 1 0-1.5h6a.735.735 0 0 1 .293.06.75.75 0 0 1 .4.404l.01.026c.03.082.047.17.047.26v6a.75.75 0 0 1-.75.75zM.75 23.998a.755.755 0 0 1-.26-.047l-.022-.008A.754.754 0 0 1 0 23.248v-6a.75.75 0 0 1 1.5 0v4.189l3.97-3.97a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3.97 3.97h4.19a.75.75 0 0 1 0 1.5h-6zM.75 7.498a.75.75 0 0 1-.75-.75v-6A.74.74 0 0 1 .048.487L.055.466a.754.754 0 0 1 .41-.411L.49.045a.737.737 0 0 1 .26-.047h6a.75.75 0 0 1 0 1.5H2.561l3.97 3.97c.142.141.22.33.22.53s-.078.389-.22.53a.747.747 0 0 1-1.061 0L1.5 2.559v4.189a.75.75 0 0 1-.75.75zM17.25 23.998a.75.75 0 0 1 0-1.5h4.189l-3.97-3.97a.752.752 0 0 1 .53-1.281c.2 0 .389.078.53.22l3.97 3.97v-4.189a.75.75 0 0 1 1.501 0v6a.767.767 0 0 1-.046.258l-.006.017a.763.763 0 0 1-.412.419l-.026.01a.73.73 0 0 1-.259.047H17.25zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",collapse:"M17.25 7.498a.735.735 0 0 1-.261-.048l-.032-.012a.75.75 0 0 1-.4-.404l-.01-.026a.739.739 0 0 1-.047-.26v-6a.75.75 0 0 1 1.5 0v4.189l4.72-4.72a.744.744 0 0 1 1.06 0 .747.747 0 0 1 0 1.061l-4.72 4.72h4.189a.75.75 0 0 1 0 1.5H17.25zM6.75 23.998a.75.75 0 0 1-.75-.75v-4.189l-4.72 4.72a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061l4.72-4.72H.75a.75.75 0 0 1 0-1.5h6c.088 0 .175.016.26.047l.022.008a.756.756 0 0 1 .468.695v6a.75.75 0 0 1-.75.75zM23.25 23.998a.743.743 0 0 1-.53-.22L18 19.059v4.189a.75.75 0 0 1-1.5 0v-6c0-.087.016-.174.046-.258l.006-.017a.763.763 0 0 1 .412-.419l.026-.01a.733.733 0 0 1 .259-.047h6a.75.75 0 0 1 0 1.5H19.06l4.72 4.72a.752.752 0 0 1-.53 1.281zM.75 7.498a.75.75 0 0 1 0-1.5h4.189l-4.72-4.72A.746.746 0 0 1 .22.218c.141-.142.33-.22.53-.22s.389.078.53.22L6 4.938V.748a.75.75 0 0 1 1.5 0v6a.735.735 0 0 1-.048.261l-.007.021a.76.76 0 0 1-.695.468h-6zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",eye:"M11.8 19.5c-4.3 0-8.6-3-11.2-5.9-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.4c4.3 0 8.6 3 11.2 5.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9h-.4zM11.9 6C8 6 4.1 8.8 1.7 11.4c-.3.3-.3.9 0 1.2C4.1 15.2 8 18 11.9 18h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2C19.9 8.8 16 6 12.1 6h-.2zm.1 10.5c-1.2 0-2.3-.5-3.2-1.3s-1.3-2-1.3-3.2c0-2.5 2-4.5 4.5-4.5 1.2 0 2.3.5 3.2 1.3.8.9 1.3 2 1.3 3.2 0 1.2-.5 2.3-1.3 3.2-.9.8-2 1.3-3.2 1.3zM12 9c-1.7 0-3 1.3-3 3 0 .8.3 1.6.9 2.1.6.6 1.3.9 2.1.9s1.6-.3 2.1-.9.9-1.3.9-2.1-.3-1.6-.9-2.1c-.5-.6-1.3-.9-2.1-.9z",eyeStriked:"M2.8 21.8c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6 0-.2.1-.4.2-.5L21 2.5c.1-.1.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-18.8 18c0 .2-.2.3-.4.3zm9.2-1.6h-.1c-1 0-2.1-.2-3.1-.5-.4-.1-.6-.5-.5-.9.1-.3.4-.5.7-.5h.2c.9.3 1.8.4 2.7.4h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2-.9-1-1.9-1.9-3-2.7-.1 0-.2-.2-.2-.4s0-.4.1-.6c.1-.2.4-.3.6-.3.2 0 .3.1.4.1 1.2.8 2.2 1.8 3.2 2.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9H12zM3.8 17c-.2 0-.3-.1-.5-.2-1-.7-1.9-1.6-2.7-2.5-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.2c.8 0 1.7.1 2.5.3.4.1.6.5.5.9.1.4-.2.6-.6.6h-.2c-.7-.2-1.4-.3-2.1-.3h-.2C8 6.8 4.1 9.5 1.7 12.1c-.3.3-.3.9 0 1.2.8.8 1.6 1.6 2.5 2.3.2.1.3.3.3.5s0 .4-.2.6c-.1.2-.3.3-.5.3zm4.4-3.5c-.4 0-.8-.3-.8-.8 0-1.2.5-2.3 1.3-3.2s2-1.3 3.2-1.3c.2 0 .4.2.4.4v.8c0 .1 0 .2-.1.3s-.1.1-.2.1c-.8 0-1.6.3-2.1.9-.6.5-.9 1.2-.9 2.1 0 .2-.1.4-.2.5-.2.1-.4.2-.6.2zm3.8 3.7c-.2 0-.4-.2-.4-.4V16c0-.1 0-.2.1-.3.1-.1.2-.1.3-.1.8 0 1.6-.3 2.1-.9.6-.6.9-1.3.9-2.1 0-.4.3-.8.8-.8s.8.3.8.8c0 1.2-.5 2.3-1.3 3.2-1 1-2.1 1.4-3.3 1.4z",book:"M12 23.999a.755.755 0 0 1-.548-.238c-.017-.017-2.491-2.398-10.212-2.494A1.26 1.26 0 0 1 0 20.025V4.249c0-.334.137-.659.375-.892.242-.232.557-.358.89-.358 5.718.073 8.778 1.302 10.258 2.199a6.773 6.773 0 0 1 1.572-2.664A8.513 8.513 0 0 1 17.071.055a1.346 1.346 0 0 1 1.1.153c.353.218.57.6.579 1.02v2.053A31.709 31.709 0 0 1 22.727 3 1.259 1.259 0 0 1 24 4.245v15.772a1.265 1.265 0 0 1-1.243 1.25c-7.724.096-10.193 2.478-10.217 2.502l-.031.03a.742.742 0 0 1-.509.2zM1.5 19.771c5.263.097 8.233 1.194 9.75 2.037V6.826c-.72-.546-3.417-2.201-9.75-2.323v15.268zm17.25-2.926a.751.751 0 0 1-.598.734 7.44 7.44 0 0 0-3.967 2.238 5.3 5.3 0 0 0-1.15 1.838c1.58-.81 4.502-1.794 9.464-1.885V4.502a30.64 30.64 0 0 0-3.75.292v12.051zm-6 2.334c.11-.135.225-.266.345-.39a8.92 8.92 0 0 1 4.155-2.533V1.569a7.055 7.055 0 0 0-3.057 1.986 5.343 5.343 0 0 0-1.443 2.997v12.627z",serverSettings:"M5.3 4.1c.6 0 1.1.5 1.1 1.1s-.5 1.2-1.1 1.2-1.2-.5-1.2-1.1.5-1.2 1.2-1.2zm0 9c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1-1.1-.5-1.1-1.1.4-1.1 1.1-1.1zm0 6.4c-2.9 0-5.2-2.4-5.2-5.2 0-1.9 1-3.6 2.5-4.5C1 8.8 0 7.1 0 5.3 0 2.4 2.4 0 5.3 0h12c1.4 0 2.7.5 3.7 1.5s1.5 2.3 1.5 3.7c0 1.3-.5 2.5-1.3 3.5-.1.2-.3.3-.6.3-.2 0-.4-.1-.5-.2-.2-.1-.2-.3-.3-.5s.1-.4.2-.5c.7-.8 1-1.6 1-2.6s-.4-1.9-1.1-2.7c-.7-.7-1.6-1.1-2.7-1.1h-12c-2.1 0-3.8 1.7-3.8 3.8S3.2 9 5.3 9h7.4c.4 0 .8.3.8.8s-.3.8-.8.8H5.3c-2.1 0-3.8 1.7-3.8 3.8S3.2 18 5.3 18h3c.4 0 .7.3.7.8s-.3.8-.8.8l-2.9-.1zM10.5 6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6.7c.4 0 .8.3.8.8s-.3.8-.7.8h-6.8zm6.8 12.8c-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2 2.2 1 2.2 2.2-1 2.2-2.2 2.2zm0-3c-.4 0-.8.3-.8.7s.3.8.8.8.8-.3.8-.8-.4-.7-.8-.7zm0 8.2c-.2 0-.4 0-.6-.1-.7-.2-1.2-.7-1.4-1.4l-.4-1.4c0-.1-.1-.2-.2-.2h-.1l-1.5.3c-.2 0-.3.1-.5.1-.4 0-.8-.1-1.1-.3-.5-.3-.8-.8-.9-1.3-.2-.7 0-1.4.5-1.9l1-1.1c.1-.1.1-.2 0-.3l-1-1.1c-.4-.4-.6-.9-.6-1.5s.3-1.1.7-1.5c.4-.4.9-.6 1.4-.6.2 0 .3 0 .5.1l1.5.3h.1c.1 0 .2-.1.2-.2l.4-1.5c.2-.5.5-1 1-1.2.3-.2.6-.2 1-.2.2 0 .4 0 .6.1.7.2 1.2.7 1.4 1.4l.4 1.4c0 .1.1.2.2.2h.1l1.5-.3c.2 0 .3-.1.5-.1.4 0 .8.1 1.1.3.5.3.8.8.9 1.3.2.7 0 1.4-.5 1.9l-1 1.1c-.1.1-.1.2 0 .3l1 1.1c.4.4.6.9.6 1.5s-.3 1.1-.7 1.5c-.4.4-.9.6-1.4.6-.2 0-.3 0-.5-.1l-1.5-.3h-.1c-.1 0-.2.1-.2.2l-.4 1.4c-.2.5-.5 1-1 1.2-.4.2-.7.3-1 .3zm-2.7-4.6c.8 0 1.4.5 1.7 1.2l.4 1.5c.1.2.2.3.4.4h.2c.1 0 .2 0 .3-.1l.3-.3.4-1.5c.2-.7.9-1.2 1.7-1.2h.4l1.5.3h.1c.1 0 .3-.1.4-.2.1-.1.2-.3.2-.4 0-.2-.1-.3-.2-.4l-1-1.1c-.6-.7-.6-1.7 0-2.4l1-1.1c.1-.1.2-.3.1-.5-.1-.3-.3-.5-.6-.5h-.1l-1.5.3h-.4c-.8 0-1.4-.5-1.7-1.2l-.4-1.5c-.1-.2-.2-.3-.4-.4h-.2c-.1 0-.2 0-.3.1l-.3.3-.4 1.5c-.2.7-.9 1.2-1.7 1.2h-.4l-1.5-.3h-.1c-.1 0-.3.1-.4.2-.1.1-.2.3-.2.4 0 .2.1.3.2.4l1 1.1c.6.7.6 1.7 0 2.4l-1 1.1c-.1.2-.1.4-.1.6 0 .2.1.3.3.4.1.1.2.1.3.1h.1l1.5-.3c.1-.1.3-.1.4-.1z",controlls:"M6 22c-1.4 0-2.6-.9-2.9-2.2H.7c-.4 0-.7-.4-.7-.8s.3-.8.8-.8h2.3C3.4 16.9 4.6 16 6 16s2.6.9 2.9 2.2h14.3c.4 0 .8.3.8.8s-.3.8-.8.8H8.9C8.6 21.1 7.4 22 6 22Zm0-4.5c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5-.7-1.5-1.5-1.5v-.4.4ZM21 15c-1.4 0-2.6-.9-2.9-2.2H.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h17.3C18.4 9.9 19.6 9 21 9s3 1.3 3 3-1.3 3-3 3Zm0-4.5c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5 1.5-.7 1.5-1.5-.7-1.5-1.5-1.5ZM8.3 8c-1.4 0-2.6-.9-2.9-2.2H.8C.4 5.8 0 5.5 0 5s.3-.8.8-.8h4.7C5.8 2.9 7 2 8.4 2s2.6.9 2.9 2.2h12c.4 0 .8.3.8.8s-.3.8-.8.8h-12C11 7.1 9.8 8 8.4 8Zm0-4.5c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5S9.8 5.8 9.8 5s-.7-1.5-1.5-1.5v-.4.4Z",pin:"M.75 23.999a.743.743 0 0 1-.53-.22c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l7.474-7.474-3.575-3.575a2.248 2.248 0 0 1-.588-2.16c.151-.582.52-1.07 1.039-1.374a8.266 8.266 0 0 1 5.564-1.002l3.877-6.094c.089-.139.192-.268.308-.383.424-.425.989-.659 1.59-.659s1.166.234 1.591.659L23.343 6.5a2.236 2.236 0 0 1 .605 2.079 2.238 2.238 0 0 1-.988 1.41l-6.092 3.877a8.257 8.257 0 0 1-1 5.562 2.234 2.234 0 0 1-1.942 1.114 2.239 2.239 0 0 1-1.593-.661l-3.576-3.577L1.28 23.78a.746.746 0 0 1-.53.219zM8.72 8.513c-1.186 0-2.36.318-3.394.919a.746.746 0 0 0-.148 1.175l8.214 8.214c.142.142.331.22.532.22a.743.743 0 0 0 .646-.369 6.737 6.737 0 0 0 .728-4.985.75.75 0 0 1 .326-.808l6.529-4.155a.748.748 0 0 0 .128-1.163L16.44 1.718a.745.745 0 0 0-.531-.22.743.743 0 0 0-.633.348l-4.155 6.53a.746.746 0 0 1-.808.326 6.809 6.809 0 0 0-1.593-.189z",pinFilled:"M.8 24c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6s.1-.4.2-.5l7.5-7.5-3.6-3.6c-.1-.1-.3-.3-.4-.5-.3-.5-.4-1.1-.2-1.7.2-.6.5-1.1 1-1.4 1.3-.6 2.8-1 4.2-1 .5 0 .9 0 1.4.1L14 1c.1-.1.2-.3.3-.4.4-.4 1-.7 1.6-.7s1.2.2 1.6.7l5.8 5.8c.1.1.2.2.3.4.4.6.5 1.2.3 1.8-.1.6-.5 1.1-1 1.4l-6.1 3.9c.3 1.9 0 3.9-1 5.6-.1.2-.2.3-.4.5-.4.4-1 .7-1.6.7-.6 0-1.2-.2-1.6-.7l-3.6-3.6-7.5 7.5s-.2.1-.3.1z",trash:"M6.6 23.2c-1.2 0-2.1-.9-2.2-2.1L3.1 5.2H1.5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6V3c0-1.2 1-2.2 2.2-2.2h4.5c1.2 0 2.2 1 2.2 2.2v.8h6c.4 0 .8.3.8.8s-.3.8-.8.8h-1.6l-1.3 15.9c-.1 1.2-1.1 2.1-2.2 2.1H6.6zm-.7-2.1c0 .4.4.7.7.7h10.7c.4 0 .7-.3.7-.7l1.3-15.8H4.6l1.3 15.8zM15 3.8V3c0-.4-.3-.8-.8-.8H9.8c-.5 0-.8.4-.8.8v.8h6zM9.8 18c-.5 0-.8-.3-.8-.8V9.8c0-.5.3-.8.8-.8s.8.3.8.8v7.5c-.1.4-.4.7-.8.7zm4.4 0c-.4 0-.8-.3-.8-.8V9.8c0-.4.3-.8.8-.8s.8.3.8.8v7.5c0 .4-.3.7-.8.7z",navigationMenuVertical:"M11.987 24.003c-1.861 0-3.375-1.514-3.375-3.375s1.514-3.375 3.375-3.375 3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 6.753c-1.861 0-3.375-1.514-3.375-3.375S10.126.003 11.987.003s3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 15.378a3.379 3.379 0 0 1-3.375-3.375c0-1.861 1.514-3.375 3.375-3.375s3.375 1.514 3.375 3.375a3.379 3.379 0 0 1-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875z",copy:"M4.5 24a2.252 2.252 0 0 1-2.25-2.25V8.25A2.252 2.252 0 0 1 4.5 6h2.25V2.25A2.252 2.252 0 0 1 9 0h7.629c.601 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v10.63A2.252 2.252 0 0 1 19.5 18h-2.25v3.75A2.252 2.252 0 0 1 15 24H4.5zm0-16.5a.75.75 0 0 0-.75.75v13.5c0 .414.336.75.75.75H15a.75.75 0 0 0 .75-.75V11.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H4.5zm15 9a.75.75 0 0 0 .75-.75V5.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H9a.75.75 0 0 0-.75.75V6h3.879c.6 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v5.38h2.25z",refresh:"M12.723 22.497c-1.385 0-2.737-.271-4.019-.804a.747.747 0 0 1-.404-.98.748.748 0 0 1 .98-.405 8.924 8.924 0 0 0 3.445.689 8.935 8.935 0 0 0 6.204-2.489 8.91 8.91 0 0 0 2.762-6.283 8.911 8.911 0 0 0-2.482-6.399 8.892 8.892 0 0 0-6.483-2.765 8.921 8.921 0 0 0-6.199 2.485 8.937 8.937 0 0 0-2.746 5.833c-.14 2 .375 3.948 1.462 5.589v-2.72a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-.75.75h-.238a.364.364 0 0 1-.096 0H1.493a.75.75 0 0 1 0-1.5h2.636a10.467 10.467 0 0 1-1.822-6.964l.007-.076.019-.197.006-.045A10.54 10.54 0 0 1 5.497 4.42a10.465 10.465 0 0 1 7.264-2.913c1.385 0 2.738.269 4.019.8a.74.74 0 0 1 .26.18 10.382 10.382 0 0 1 3.253 2.301c3.991 4.171 3.844 10.812-.327 14.803a10.43 10.43 0 0 1-7.241 2.905h-.002z",resizeHorizontal:"M5.2 2.3c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3z",info:"M14.6 23.5c-2.4 0-4.3-1.9-4.3-4.3v-8.5H8.2c-.6 0-1.1-.5-1.1-1.1s.5-1.1 1.1-1.1h1.6c1.5 0 2.7 1.2 2.7 2.7v8c0 1.2.9 2.1 2.1 2.1h1.6c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1h-1.6zm-4-19.2c-1 0-1.9-.9-1.9-1.9S9.6.5 10.6.5s1.9.9 1.9 1.9-.9 1.9-1.9 1.9z",sortAZ:"M8.8 0h-7C.8 0 0 .8 0 1.8v9h1.5v-4H9v3.9h1.5v-9C10.5.8 9.7 0 8.8 0zM1.5 5.4V1.8c0-.1.1-.2.2-.2h7c.2-.1.3 0 .3.2v3.6H1.5zm8.8 17.1V24H1.6c-.4 0-.9-.1-1.1-.4-.3-.3-.5-1 0-1.6l7.2-7.3H0v-1.5h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6l-7.2 7.3h8zm8.4-1.3h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z",sortZA:"M8.8 13.2h-7C.8 13.2 0 14 0 15v9h1.5v-3.9H9V24h1.5v-9c0-1-.8-1.8-1.7-1.8zm-7.3 5.4V15c0-.1.1-.2.2-.2h7c.2 0 .3.1.3.2v3.6H1.5zm8.8-9.4v1.5H1.6c-.4 0-.9-.1-1.1-.4-.3-.2-.5-.9 0-1.5l7.2-7.3H0V0h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6L2.4 9.2h7.9zm8.4 12h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z",leaf:"M10.257 21.851a8.3 8.3 0 0 1-6.984-3.84l-2.027 1.73a.748.748 0 0 1-1.058-.083.743.743 0 0 1-.177-.546.744.744 0 0 1 .261-.511l2.296-1.959a8.204 8.204 0 0 1-.593-3.072c0-7.309 5.71-7.938 10.748-8.492 3.287-.362 6.685-.736 8.995-2.653.236-.177.495-.265.763-.265.18 0 .354.039.517.117.366.152.647.512.719.931 1.135 6.649-1.167 11.055-3.298 13.581-2.636 3.122-6.53 5.062-10.162 5.062zm-5.831-4.824a6.777 6.777 0 0 0 5.831 3.324c3.203 0 6.657-1.736 9.016-4.532 1.882-2.23 3.908-6.098 3.031-11.947-2.593 1.944-6.059 2.326-9.416 2.696-5.259.579-9.412 1.036-9.412 7.001 0 .694.105 1.375.312 2.031l.386-.329a25.67 25.67 0 0 1 8.897-4.439.752.752 0 0 1 .85 1.094.747.747 0 0 1-.453.352 24.122 24.122 0 0 0-8.35 4.157l-.692.592z",recycle:"M5.6 24c-1.1 0-2-.8-2.2-1.9L0 2.6v-.4C0 1 1 0 2.2 0h19.5c.7 0 1.3.3 1.7.8.5.5.7 1.2.6 1.9l-3.4 19.5c-.2 1.1-1.1 1.9-2.2 1.9L5.6 24zM2.2 1.5c-.4 0-.8.3-.8.7v.1l3.4 19.5c.1.4.4.6.7.6h12.7c.4 0 .7-.3.7-.6l3.4-19.5c0-.2 0-.4-.2-.6-.1-.2-.4-.3-.6-.3l-19.3.1zm10.3 17.3c-.7 0-1.4-.1-2.1-.3-1.4-.5-2.6-1.4-3.3-2.7v1.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8v-3.8c0-.4.3-.8.8-.8H10c.4 0 .8.3.8.8s-.3.8-.8.8H8.1c.5 1.3 1.6 2.3 2.9 2.7.5.2 1 .3 1.6.3.7 0 1.4-.2 2.1-.5 1.2-.6 2-1.6 2.4-2.8.1-.3.4-.5.7-.5h.2c.2.1.3.2.4.4s.1.4 0 .6c-.5 1.6-1.7 2.9-3.2 3.6-.8.4-1.7.7-2.7.7zm2.1-7.5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h2.1c-.5-1.3-1.6-2.3-2.9-2.7-.5-.2-1-.3-1.6-.3-.7 0-1.4.2-2.1.5-1.1.6-2 1.6-2.4 2.8-.1.3-.4.5-.7.5h-.2c-.4-.1-.6-.6-.5-1C6.8 7.9 8 6.6 9.5 5.9c.9-.4 1.8-.6 2.8-.6.7 0 1.4.1 2.1.3 1.4.5 2.6 1.4 3.3 2.7V6.8c-.1-.5.3-.8.7-.8s.8.3.8.8v3.8c0 .4-.3.8-.8.8h-3.8v-.1z",recycleRefresh:"M2.3 15H2c-.1 0-.2-.1-.2-.2L.3 13.3c-.3-.3-.3-.8 0-1.1.1-.1.3-.2.5-.2s.4.1.5.2l.2.2V12c0-2.3.8-4.6 2.2-6.5 2-2.6 5-4 8.3-4 2.4 0 4.6.8 6.4 2.2.2.1.3.3.3.5s0 .4-.2.6c-.1.2-.3.3-.5.3s-.3-.1-.5-.2C15.9 3.7 14 3 12 3 9.2 3 6.6 4.3 4.9 6.5 3.7 8.1 3 10 3 12v.4l.2-.2c.2-.1.4-.2.6-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-1.5 1.5c-.1.1-.2.1-.2.2-.2.1-.3.1-.3.1zm9.7 7.5c-2.4 0-4.6-.8-6.4-2.2-.3-.3-.4-.7-.1-1.1.1-.2.4-.3.6-.3.2 0 .3.1.5.2C8.1 20.4 10 21 12 21c2.8 0 5.4-1.3 7.1-3.5C20.3 16 21 14 21 12v-.4l-.2.2c-.1.1-.3.2-.5.2s-.4-.1-.5-.2c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5l1.5-1.5c.1-.1.2-.1.2-.2h.6c.1 0 .2.1.2.2l1.5 1.5c.1.1.2.3.2.5s-.1.4-.2.5-.3.2-.5.2-.4-.1-.5-.2l-.2-.2v.4c0 2.3-.8 4.6-2.2 6.5-2.1 2.5-5.1 4-8.4 4zM9.5 18c-.4 0-.8-.4-.7-.8 0-.5 0-.9.1-1.3-1.2-.7-2-1.5-2.3-2.5-.3-1-.1-2.2.7-3.3 1.9-2.6 4.8-4.1 8-4.1.2 0 .4.1.6.3 0 .2.1.4.1.6-.1.7 0 1.6.2 2.7.4 2.3.9 5.5-1.9 7.3-.5.3-1.1.5-1.7.5-.9 0-1.7-.3-2.3-.6v.6c-.1.3-.4.6-.8.6zm1-2.9c.3.2 1.2.7 2.1.7.3 0 .7-.1.9-.2 2-1.2 1.6-3.4 1.2-5.7-.1-.8-.3-1.6-.3-2.3-2.3.2-4.5 1.4-5.9 3.4-.5.7-.7 1.3-.5 2 .1.5.6 1 1.2 1.4.6-2.1 1.7-2.9 1.9-3 .1-.1.3-.1.4-.1.3 0 .5.1.6.3.2.3.1.8-.2 1 0 0-.9.7-1.4 2.5z",merge:"M20.62 0a3.382 3.382 0 0 0-2.39 5.77l-5.49 5.49v-4.6c1.5-.34 2.62-1.68 2.62-3.28 0-1.86-1.51-3.38-3.38-3.38S8.6 1.51 8.6 3.38c0 1.6 1.12 2.94 2.62 3.28v4.45L5.79 5.68c.57-.6.93-1.41.93-2.31 0-1.86-1.51-3.38-3.38-3.38S0 1.51 0 3.38s1.51 3.38 3.38 3.38c.41 0 .81-.09 1.17-.22l6.7 6.7v8.21l-1.72-1.72a.75.75 0 1 0-1.06 1.06l3 3c.07.07.15.13.25.17h.02c.09.03.17.05.26.05s.17-.02.26-.05c0 0 .02 0 .03-.01.09-.04.18-.09.25-.16l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72v-8.06l6.82-6.82c.34.11.69.19 1.06.19 1.86 0 3.38-1.51 3.38-3.38S22.51 0 20.64 0ZM1.5 3.38c0-1.03.84-1.88 1.88-1.88s1.88.84 1.88 1.88-.84 1.88-1.88 1.88S1.5 4.42 1.5 3.38Zm8.62 0c0-1.03.84-1.88 1.88-1.88s1.88.84 1.88 1.88-.84 1.88-1.88 1.88-1.88-.84-1.88-1.88Zm10.5 1.87c-1.03 0-1.88-.84-1.88-1.88s.84-1.88 1.88-1.88 1.88.84 1.88 1.88-.84 1.88-1.88 1.88Z",disable:"M12 24a11.922 11.922 0 0 1-8.43-3.468.343.343 0 0 1-.099-.099A11.924 11.924 0 0 1 0 12C0 5.383 5.383 0 12 0a11.92 11.92 0 0 1 8.43 3.468.397.397 0 0 1 .099.099A11.92 11.92 0 0 1 24 12c0 6.617-5.383 12-12 12zm-6.87-4.069A10.448 10.448 0 0 0 12 22.5c5.79 0 10.5-4.71 10.5-10.5 0-2.534-.909-4.958-2.569-6.87L5.13 19.931zM12 1.5C6.21 1.5 1.5 6.21 1.5 12c0 2.534.91 4.958 2.569 6.87L18.87 4.069A10.453 10.453 0 0 0 12 1.5z",globeMessage:"M23.25 24c-.05 0-.11 0-.16-.02l-5.74-1.24c-.76.38-1.58.68-2.42.89-.03 0-.05.02-.08.02-.93.23-1.89.34-2.84.34s-1.84-.11-2.77-.33c-.09 0-.18-.03-.27-.07a12.05 12.05 0 0 1-7.6-6.01C-.12 14.77-.42 11.52.53 8.46s3.03-5.58 5.86-7.07C7.24.94 8.15.59 9.09.36c.01 0 .03 0 .06-.01.91-.23 1.86-.35 2.82-.35s1.88.11 2.8.33c.07 0 .14.02.21.05 3.28.84 6.06 3.04 7.63 6.02.74 1.4 1.2 2.99 1.34 4.59.03.08.05.17.05.26 0 .05 0 .1-.02.15.01.22.02.41.02.6 0 1.91-.47 3.83-1.36 5.55-.01.03-.03.07-.05.1-.22.41-.45.79-.7 1.16l2.04 4.11c.13.26.1.57-.08.79-.15.19-.36.29-.59.29ZM9.74 22.25c.75.17 1.51.25 2.27.25s1.49-.08 2.22-.24c.67-1.06 1.22-2.52 1.61-4.26H8.12c.39 1.73.95 3.18 1.61 4.25Zm7.51-1.05c.05 0 .11 0 .16.02l4.48.97-1.55-3.12c-.13-.25-.1-.56.07-.78.07-.09.14-.19.21-.29h-3.21c-.28 1.34-.66 2.54-1.12 3.59.21-.09.41-.19.61-.3a.73.73 0 0 1 .35-.09ZM3.38 18c1.09 1.56 2.59 2.8 4.33 3.58-.46-1.04-.83-2.24-1.11-3.58H3.39Zm18.1-1.5c.67-1.41 1.02-2.96 1.02-4.5S18 12 18 12c0 1.55-.11 3.06-.33 4.5h3.81Zm-5.34 0c.23-1.45.35-2.96.35-4.5h-9c0 1.54.12 3.05.35 4.5h8.3Zm-9.82 0C6.1 15.06 6 13.55 6 12H1.49c0 1.55.35 3.09 1.02 4.5h3.81Zm16.06-5.99c-.17-1.2-.54-2.34-1.1-3.4-.2-.38-.42-.75-.67-1.1H17.4c.3 1.4.49 2.91.56 4.5h4.42Zm-5.93 0c-.08-1.57-.29-3.11-.6-4.5H8.13c-.32 1.39-.52 2.93-.6 4.5h8.92Zm-10.42 0c.07-1.59.26-3.1.56-4.5H3.37c-.62.89-1.09 1.86-1.41 2.9-.16.52-.28 1.06-.36 1.6h4.43Zm13.31-6c-.89-.87-1.92-1.57-3.06-2.08.28.63.53 1.33.74 2.08h2.31Zm-3.89 0c-.34-1.09-.74-2.01-1.2-2.75a10.5 10.5 0 0 0-4.5-.01c-.46.74-.87 1.66-1.21 2.76h6.91Zm-8.49 0c.22-.75.47-1.45.75-2.09-.21.09-.42.19-.62.3-.91.48-1.73 1.08-2.45 1.79h2.32Z"};return s.$$set=z=>{"icon"in z&&c(0,l=z.icon),"size"in z&&c(1,e=z.size)},s.$$.update=()=>{s.$$.dirty&1&&c(2,a=Z[l]),s.$$.dirty&5&&(a||console.warn(`There is no icon named %c${l} %cavailable. Not rendering anything.`,"font-weight: bold","font-weight: normal"))},[l,e,a]}class u extends C{constructor(h){super(),f(this,h,A,d,V,{icon:0,size:1})}}export{u as I}; diff --git a/gui/next/build/_app/immutable/chunks/JSONTree.DHR6A5Hv.js b/gui/next/build/_app/immutable/chunks/JSONTree.B6rnjEUC.js similarity index 90% rename from gui/next/build/_app/immutable/chunks/JSONTree.DHR6A5Hv.js rename to gui/next/build/_app/immutable/chunks/JSONTree.B6rnjEUC.js index 70b31476..ee1894a5 100644 --- a/gui/next/build/_app/immutable/chunks/JSONTree.DHR6A5Hv.js +++ b/gui/next/build/_app/immutable/chunks/JSONTree.B6rnjEUC.js @@ -1,2 +1,2 @@ -import{ai as et,aj as tt,s as L,v as T,i as d,n as K,f as c,k as x,e as y,t as k,c as w,b as N,d as b,y as v,G as Z,h as g,C as ne,ak as Ve,E as ee,l as H,u as Q,m as X,o as Y,W as nt,a as z,g as D,al as ze,F as _e,A as re,j as O,ah as pe,Z as me,am as he,L as V}from"./scheduler.ts1nwYMk.js";import{S as F,i as J,t as m,a as $,c as j,d as P,m as E,g as U,e as q,f as A}from"./index.MbwxngTa.js";import{e as te}from"./each.CLm8ZDgo.js";import{w as ue,r as st}from"./index._Ft_Y0uu.js";function $e(l,t){const s={},e={},n={$$scope:1};let r=l.length;for(;r--;){const a=l[r],i=t[r];if(i){for(const o in a)o in i||(e[o]=1);for(const o in i)n[o]||(s[o]=i[o],n[o]=1);l[r]=i}else for(const o in a)n[o]=1}for(const a in e)a in s||(s[a]=void 0);return s}function de(l){return typeof l=="object"&&l!==null?l:{}}const ge={};function R(l,t){const s=et(ge),e=typeof l=="function"?l(s):l,n={...s,...e};return t!=null&&t.expandable&&(n.isParentExpanded=n.expanded),tt(ge,n),s}function ve(l){let t,s,e="▶",n,r,a;return{c(){t=y("span"),s=y("span"),n=k(e),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=w(o,"SPAN",{class:!0});var f=N(s);n=b(f,e),f.forEach(c),o.forEach(c),this.h()},h(){v(s,"class","arrow svelte-1qd6nto"),Z(s,"expanded",l[2]),v(t,"class","container svelte-1qd6nto")},m(i,o){d(i,t,o),g(t,s),g(s,n),r||(a=ne(t,"click",l[4]),r=!0)},p(i,o){o&4&&Z(s,"expanded",i[2])},d(i){i&&c(t),r=!1,a()}}}function rt(l){let t,s=l[1]&&ve(l);return{c(){s&&s.c(),t=T()},l(e){s&&s.l(e),t=T()},m(e,n){s&&s.m(e,n),d(e,t,n)},p(e,[n]){e[1]?s?s.p(e,n):(s=ve(e),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:K,o:K,d(e){e&&c(t),s&&s.d(e)}}}function lt(l,t,s){let e,n,r=K,a=()=>(r(),r=Ve(f,_=>s(2,n=_)),f);l.$$.on_destroy.push(()=>r());const{expanded:i,expandable:o}=R();x(l,o,_=>s(1,e=_));let{expanded:f=i}=t;a();const u=_=>{_.stopPropagation(),ee(f,n=!n,n)};return l.$$set=_=>{"expanded"in _&&a(s(0,f=_.expanded))},[f,e,n,o,u]}class De extends F{constructor(t){super(),J(this,t,lt,rt,L,{expanded:0})}}function at(l){let t;const s=l[1].default,e=H(s,l,l[0],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,[r]){e&&e.p&&(!t||r&1)&&Q(e,s,n,n[0],t?Y(s,n[0],r,null):X(n[0]),null)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function ot(l,t,s){let{$$slots:e={},$$scope:n}=t;return R({displayMode:"summary"}),l.$$set=r=>{"$$scope"in r&&s(0,n=r.$$scope)},[n,e]}class it extends F{constructor(t){super(),J(this,t,ot,at,L,{})}}function ft(l){let t;const s=l[3].default,e=H(s,l,l[2],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,[r]){e&&e.p&&(!t||r&4)&&Q(e,s,n,n[2],t?Y(s,n[2],r,null):X(n[2]),null)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function ut(l,t,s){let{$$slots:e={},$$scope:n}=t,{expanded:r}=t,{key:a}=t;const i=ue(!1);return R(({keyPath:o,level:f})=>(a!=="[[Entries]]"&&(o=[...o,a],f=f+1),{keyPath:o,level:f,expanded:r,expandable:i})),l.$$set=o=>{"expanded"in o&&s(0,r=o.expanded),"key"in o&&s(1,a=o.key),"$$scope"in o&&s(2,n=o.$$scope)},[r,a,n,e]}class We extends F{constructor(t){super(),J(this,t,ut,ft,L,{expanded:0,key:1})}}function ke(l,t,s){const e=l.slice();return e[19]=t[s],e[21]=s,e}const ct=l=>({key:l&1}),be=l=>({key:l[19],index:l[21]}),_t=l=>({key:l&1}),ye=l=>({key:l[19],index:l[21]}),pt=l=>({}),we=l=>({root:l[6]}),mt=l=>({}),Se=l=>({});function ht(l){let t,s,e,n,r,a,i,o,f=l[6]&&dt(l);e=new it({props:{$$slots:{default:[gt]},$$scope:{ctx:l}}});let u=l[4]&&Ne(l);return{c(){t=y("span"),f&&f.c(),s=z(),j(e.$$.fragment),n=z(),u&&u.c(),r=T(),this.h()},l(_){t=w(_,"SPAN",{class:!0});var p=N(t);f&&f.l(p),s=D(p),P(e.$$.fragment,p),p.forEach(c),n=D(_),u&&u.l(_),r=T(),this.h()},h(){v(t,"class","root svelte-19drypg")},m(_,p){d(_,t,p),f&&f.m(t,null),g(t,s),E(e,t,null),d(_,n,p),u&&u.m(_,p),d(_,r,p),a=!0,i||(o=ne(t,"click",l[9]),i=!0)},p(_,p){_[6]&&f.p(_,p);const h={};p&8192&&(h.$$scope={dirty:p,ctx:_}),e.$set(h),_[4]?u?(u.p(_,p),p&16&&m(u,1)):(u=Ne(_),u.c(),m(u,1),u.m(r.parentNode,r)):u&&(U(),$(u,1,1,()=>{u=null}),q())},i(_){a||(m(f),m(e.$$.fragment,_),m(u),a=!0)},o(_){$(f),$(e.$$.fragment,_),$(u),a=!1},d(_){_&&(c(t),c(n),c(r)),f&&f.d(),A(e),u&&u.d(_),i=!1,o()}}}function $t(l){let t;const s=l[11].summary,e=H(s,l,l[13],Se);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,r){e&&e.p&&(!t||r&8192)&&Q(e,s,n,n[13],t?Y(s,n[13],r,mt):X(n[13]),Se)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function dt(l){let t,s;return t=new De({props:{expanded:l[7]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p:K,i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function gt(l){let t;const s=l[11].preview,e=H(s,l,l[13],we);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,r){e&&e.p&&(!t||r&8192)&&Q(e,s,n,n[13],t?Y(s,n[13],r,pt):X(n[13]),we)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function Ne(l){let t,s,e,n,r=te(l[0]),a=[];for(let o=0;o$(a[o],1,1,()=>{a[o]=null});return{c(){t=y("ul");for(let o=0;o{};function yt(l,t,s){let e,n,r,{$$slots:a={},$$scope:i}=t,{keys:o}=t,{shouldShowColon:f=void 0}=t,{expandKey:u=I=>I}=t,{defaultExpanded:_=!1}=t;const{isParentExpanded:p,displayMode:h,root:S,expanded:C,expandable:G,keyPath:Ze,level:He,shouldExpandNode:Qe}=R({root:!1},{expandable:!0});if(x(l,C,I=>s(4,n=I)),x(l,G,I=>s(14,r=I)),ee(G,r=!0,r),h!=="summary"){if(!_){const I=Qe({keyPath:Ze,level:He});I!==void 0&&(_=I)}nt(()=>p.subscribe(I=>{I?C.set(_):C.set(!1)}))}function Xe(){ee(C,n=!n,n)}const Ye=I=>e[I].update(xe=>!xe);return l.$$set=I=>{"keys"in I&&s(0,o=I.keys),"shouldShowColon"in I&&s(1,f=I.shouldShowColon),"expandKey"in I&&s(2,u=I.expandKey),"defaultExpanded"in I&&s(10,_=I.defaultExpanded),"$$scope"in I&&s(13,i=I.$$scope)},l.$$.update=()=>{l.$$.dirty&1&&s(3,e=o.map(()=>ue(!1)))},[o,f,u,e,n,h,S,C,G,Xe,_,a,Ye,i]}class B extends F{constructor(t){super(),J(this,t,yt,kt,L,{keys:0,shouldShowColon:1,expandKey:2,defaultExpanded:10})}}function Ae(l,t,s){const e=l.slice();return e[9]=t[s],e[11]=s,e}const wt=l=>({item:l&1}),Pe=l=>({item:l[9],index:l[11]});function Oe(l){let t,s,e,n,r,a=l[3]&&Te(l),i=te(l[0]),o=[];for(let p=0;p$(o[p],1,1,()=>{o[p]=null});let u=l[1]&&Le(),_=l[4]&&Fe(l);return{c(){a&&a.c(),t=z();for(let p=0;p{e=null}),q())},i(n){s||(m(e),s=!0)},o(n){$(e),s=!1},d(n){n&&c(t),e&&e.d(n)}}}function Nt(l,t,s){let{$$slots:e={},$$scope:n}=t,{list:r}=t,{hasMore:a}=t,{label:i=void 0}=t,{prefix:o=void 0}=t,{postfix:f=void 0}=t,{root:u=!1}=t;const{showPreview:_}=R();return l.$$set=p=>{"list"in p&&s(0,r=p.list),"hasMore"in p&&s(1,a=p.hasMore),"label"in p&&s(2,i=p.label),"prefix"in p&&s(3,o=p.prefix),"postfix"in p&&s(4,f=p.postfix),"root"in p&&s(5,u=p.root),"$$scope"in p&&s(7,n=p.$$scope)},[r,a,i,o,f,u,_,n,e]}class se extends F{constructor(t){super(),J(this,t,Nt,St,L,{list:0,hasMore:1,label:2,prefix:3,postfix:4,root:5})}}function jt(l){let t,s=(l[1]??"{…}")+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","label")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&2&&s!==(s=(n[1]??"{…}")+"")&&O(e,s)},d(n){n&&c(t)}}}function Et(l){let t,s=l[6]+"",e,n,r=": ",a,i,o;return i=new M({props:{value:l[0][l[6]]}}),{c(){t=y("span"),e=k(s),n=y("span"),a=k(r),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=b(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=b(_,r),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&64)&&s!==(s=f[6]+"")&&O(e,s);const _={};u&65&&(_.value=f[0][f[6]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){$(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function At(l){let t,s;return t=new se({props:{list:l[3],hasMore:l[3].length({6:e}),({item:e})=>e?64:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&8&&(r.list=e[3]),n&12&&(r.hasMore=e[3].length({4:e}),({key:e})=>e?16:0],item_key:[Pt,({key:e})=>({4:e}),({key:e})=>e?16:0],preview:[At,({root:e})=>({5:e}),({root:e})=>e?32:0],summary:[jt]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&4&&(r.keys=e[2]),n&191&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Ct(l,t,s){let e,n,{value:r}=t,{summary:a}=t;return l.$$set=i=>{"value"in i&&s(0,r=i.value),"summary"in i&&s(1,a=i.summary)},l.$$.update=()=>{l.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(r)),l.$$.dirty&4&&s(3,n=e.slice(0,5))},[r,a,e,n]}class ce extends F{constructor(t){super(),J(this,t,Ct,Tt,L,{value:0,summary:1})}}function Mt(l){let t,s,e=l[0].length+"",n,r;return{c(){t=y("span"),s=k("Array("),n=k(e),r=k(")"),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=b(i,"Array("),n=b(i,e),r=b(i,")"),i.forEach(c),this.h()},h(){v(t,"class","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,r)},p(a,i){i&1&&e!==(e=a[0].length+"")&&O(n,e)},d(a){a&&c(t)}}}function It(l){let t,s;return t=new M({props:{value:l[5]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&32&&(r.value=e[5]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Lt(l){let t,s;return t=new se({props:{list:l[1],hasMore:l[1].length({5:e}),({item:e})=>e?32:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&2&&(r.list=e[1]),n&3&&(r.hasMore=e[1].length({3:e}),({key:e})=>e?8:0],item_key:[Ft,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[Lt,({root:e})=>({4:e}),({root:e})=>e?16:0],summary:[Mt]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&4&&(r.keys=e[2]),n&91&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Bt(l,t,s){let e,n,{value:r}=t;return l.$$set=a=>{"value"in a&&s(0,r=a.value)},l.$$.update=()=>{l.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(r)),l.$$.dirty&1&&s(1,n=r.slice(0,5))},[r,n,e]}class Ut extends F{constructor(t){super(),J(this,t,Bt,Kt,L,{value:0})}}function qt(l){let t,s,e,n=l[3].length+"",r,a;return{c(){t=y("span"),s=k(l[1]),e=k("("),r=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=b(o,l[1]),e=b(o,"("),r=b(o,n),a=b(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,r),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&8&&n!==(n=i[3].length+"")&&O(r,n)},d(i){i&&c(t)}}}function Rt(l){let t,s;return t=new M({props:{value:l[9]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&512&&(r.value=e[9]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Gt(l){let t,s;return t=new se({props:{list:l[4],hasMore:l[4].length({9:e}),({item:e})=>e?512:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&16&&(r.list=e[4]),n&20&&(r.hasMore=e[4].length({7:e}),({key:e})=>e?128:0],item_key:[Wt,({key:e})=>({7:e}),({key:e})=>e?128:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&8&&(r.keys=e[3]),n&1156&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Wt(l){let t,s=l[7]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&128&&s!==(s=n[7]+"")&&O(e,s)},d(n){n&&c(t)}}}function Zt(l){let t,s;return t=new M({props:{value:l[2][l[7]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&132&&(r.value=e[2][e[7]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Ht(l){let t,s,e,n;const r=[Dt,zt],a=[];function i(o,f){return o[6]===le?0:1}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Qt(l){let t,s;return t=new B({props:{keys:[le,"size"],shouldShowColon:l[5],$$slots:{item_value:[Ht,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Vt,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Gt,({root:e})=>({8:e}),({root:e})=>e?256:0],summary:[qt]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&1375&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const le="[[Entries]]";function Xt(l,t,s){let e,{value:n}=t,{nodeType:r}=t,a=[],i=[];const o=f=>f!==le;return l.$$set=f=>{"value"in f&&s(0,n=f.value),"nodeType"in f&&s(1,r=f.nodeType)},l.$$.update=()=>{if(l.$$.dirty&1){let f=[],u=[],_=0;for(const p of n)f.push(_++),u.push(p);s(3,a=f),s(2,i=u)}l.$$.dirty&4&&s(4,e=i.slice(0,5))},[n,r,i,a,e,o]}class Yt extends F{constructor(t){super(),J(this,t,Xt,Qt,L,{value:0,nodeType:1})}}function xt(l){let t,s,e=l[2].length+"",n,r;return{c(){t=y("span"),s=k("Map("),n=k(e),r=k(")"),this.h()},l(a){t=w(a,"SPAN",{color:!0});var i=N(t);s=b(i,"Map("),n=b(i,e),r=b(i,")"),i.forEach(c),this.h()},h(){v(t,"color","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,r)},p(a,i){i&4&&e!==(e=a[2].length+"")&&O(n,e)},d(a){a&&c(t)}}}function en(l){let t,s,e=" => ",n,r,a;return t=new M({props:{value:l[11]}}),r=new M({props:{value:l[0].get(l[11])}}),{c(){j(t.$$.fragment),s=y("span"),n=k(e),j(r.$$.fragment),this.h()},l(i){P(t.$$.fragment,i),s=w(i,"SPAN",{class:!0});var o=N(s);n=b(o,e),o.forEach(c),P(r.$$.fragment,i),this.h()},h(){v(s,"class","operator")},m(i,o){E(t,i,o),d(i,s,o),g(s,n),E(r,i,o),a=!0},p(i,o){const f={};o&2048&&(f.value=i[11]),t.$set(f);const u={};o&2049&&(u.value=i[0].get(i[11])),r.$set(u)},i(i){a||(m(t.$$.fragment,i),m(r.$$.fragment,i),a=!0)},o(i){$(t.$$.fragment,i),$(r.$$.fragment,i),a=!1},d(i){i&&c(s),A(t,i),A(r,i)}}}function tn(l){let t,s;return t=new se({props:{list:l[4],hasMore:l[4].length({11:e}),({item:e})=>e?2048:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&16&&(r.list=e[4]),n&17&&(r.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[ln,({key:e})=>({8:e}),({key:e})=>e?256:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&2&&(r.keys=e[1]),n&4&&(r.expandKey=e[5]),n&4364&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function ln(l){let t,s=l[8]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&256&&s!==(s=n[8]+"")&&O(e,s)},d(n){n&&c(t)}}}function an(l){let t,s="{ ",e,n,r,a=" => ",i,o,f,u=" }",_,p;return n=new M({props:{value:l[2][l[8]]}}),o=new M({props:{value:l[3][l[8]]}}),{c(){t=y("span"),e=k(s),j(n.$$.fragment),r=y("span"),i=k(a),j(o.$$.fragment),f=y("span"),_=k(u),this.h()},l(h){t=w(h,"SPAN",{class:!0});var S=N(t);e=b(S,s),S.forEach(c),P(n.$$.fragment,h),r=w(h,"SPAN",{class:!0});var C=N(r);i=b(C,a),C.forEach(c),P(o.$$.fragment,h),f=w(h,"SPAN",{class:!0});var G=N(f);_=b(G,u),G.forEach(c),this.h()},h(){v(t,"class","operator"),v(r,"class","operator"),v(f,"class","operator")},m(h,S){d(h,t,S),g(t,e),E(n,h,S),d(h,r,S),g(r,i),E(o,h,S),d(h,f,S),g(f,_),p=!0},p(h,S){const C={};S&260&&(C.value=h[2][h[8]]),n.$set(C);const G={};S&264&&(G.value=h[3][h[8]]),o.$set(G)},i(h){p||(m(n.$$.fragment,h),m(o.$$.fragment,h),p=!0)},o(h){$(n.$$.fragment,h),$(o.$$.fragment,h),p=!1},d(h){h&&(c(t),c(r),c(f)),A(n,h),A(o,h)}}}function on(l){let t,s=l[9]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&512&&s!==(s=n[9]+"")&&O(e,s)},d(n){n&&c(t)}}}function fn(l){let t,s;return t=new M({props:{value:l[9]==="key"?l[2][l[8]]:l[3][l[8]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&780&&(r.value=e[9]==="key"?e[2][e[8]]:e[3][e[8]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function un(l){let t,s;return t=new B({props:{keys:["key","value"],$$slots:{item_value:[fn,({key:e})=>({9:e}),({key:e})=>e?512:0],item_key:[on,({key:e})=>({9:e}),({key:e})=>e?512:0],preview:[an]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&4876&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function cn(l){let t,s,e,n;const r=[rn,sn],a=[];function i(o,f){return o[7]===ae?0:1}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function _n(l){let t,s;return t=new B({props:{keys:[ae,"size"],shouldShowColon:l[6],$$slots:{item_value:[cn,({key:e})=>({7:e}),({key:e})=>e?128:0],item_key:[nn,({key:e})=>({7:e}),({key:e})=>e?128:0],preview:[tn,({root:e})=>({10:e}),({root:e})=>e?1024:0],summary:[xt]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&5279&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const ae="[[Entries]]";function pn(l,t,s){let e,{value:n}=t;R();let r=[],a=[],i=[];const o=u=>a[u],f=u=>u!==ae;return l.$$set=u=>{"value"in u&&s(0,n=u.value)},l.$$.update=()=>{if(l.$$.dirty&1){let u=[],_=[],p=[],h=0;for(const S of n)u.push(h++),_.push(S[0]),p.push(S[1]);s(1,r=u),s(2,a=_),s(3,i=p)}l.$$.dirty&1&&s(4,e=Array.from(n.keys()).slice(0,5))},[n,r,a,i,e,o,f]}class mn extends F{constructor(t){super(),J(this,t,pn,_n,L,{value:0})}}function hn(l){let t,s,e;return{c(){t=y("span"),s=k(l[0]),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);s=b(r,l[0]),r.forEach(c),this.h()},h(){v(t,"class",e=pe(l[1])+" svelte-l95iub")},m(n,r){d(n,t,r),g(t,s)},p(n,[r]){r&1&&O(s,n[0]),r&2&&e!==(e=pe(n[1])+" svelte-l95iub")&&v(t,"class",e)},i:K,o:K,d(n){n&&c(t)}}}function $n(l,t,s){let{value:e,nodeType:n}=t;return l.$$set=r=>{"value"in r&&s(0,e=r.value),"nodeType"in r&&s(1,n=r.nodeType)},[e,n]}class W extends F{constructor(t){super(),J(this,t,$n,hn,L,{value:0,nodeType:1})}}function Je(l,t,s){const e=l.slice();e[6]=t[s],e[9]=s;const n=e[9]$(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a0)},m(o,f){d(o,t,f),E(s,t,null),g(t,e),g(e,r),d(o,a,f),i=!0},p(o,f){const u={};f&1&&(u.value=o[6]+(o[7]?"\\n":"")),s.$set(u),(!i||f&1)&&n!==(n=o[7]?" +":"")&&O(r,n)},i(o){i||(m(s.$$.fragment,o),i=!0)},o(o){$(s.$$.fragment,o),i=!1},d(o){o&&(c(t),c(a)),A(s)}}}function vn(l){let t,s,e,n,r,a;const i=[gn,dn],o=[];function f(u,_){return u[1]?0:1}return s=f(l),e=o[s]=i[s](l),{c(){t=y("span"),e.c()},l(u){t=w(u,"SPAN",{});var _=N(t);e.l(_),_.forEach(c)},m(u,_){d(u,t,_),o[s].m(t,null),n=!0,r||(a=ne(t,"click",l[4]),r=!0)},p(u,[_]){let p=s;s=f(u),s===p?o[s].p(u,_):(U(),$(o[p],1,1,()=>{o[p]=null}),q(),e=o[s],e?e.p(u,_):(e=o[s]=i[s](u),e.c()),m(e,1),e.m(t,null))},i(u){n||(m(e),n=!0)},o(u){$(e),n=!1},d(u){u&&c(t),o[s].d(),r=!1,a()}}}function kn(l,t,s){let e,n,{stack:r}=t;const{expanded:a,expandable:i}=R();x(l,a,f=>s(1,n=f)),x(l,i,f=>s(5,e=f)),ee(i,e=!0,e);const o=()=>ee(a,n=!n,n);return l.$$set=f=>{"stack"in f&&s(0,r=f.stack)},[r,n,a,i,o]}class bn extends F{constructor(t){super(),J(this,t,kn,vn,L,{stack:0})}}function yn(l){let t,s,e=String(l[0].message)+"",n;return{c(){t=y("span"),s=k("Error: "),n=k(e),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);s=b(a,"Error: "),n=b(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(r,a){d(r,t,a),g(t,s),g(t,n)},p(r,a){a&1&&e!==(e=String(r[0].message)+"")&&O(n,e)},d(r){r&&c(t)}}}function wn(l){let t,s,e=String(l[0].message)+"",n;return{c(){t=y("span"),s=k("Error: "),n=k(e),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);s=b(a,"Error: "),n=b(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(r,a){d(r,t,a),g(t,s),g(t,n)},p(r,a){a&1&&e!==(e=String(r[0].message)+"")&&O(n,e)},d(r){r&&c(t)}}}function Sn(l){let t,s=l[2]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&4&&s!==(s=n[2]+"")&&O(e,s)},d(n){n&&c(t)}}}function Nn(l){let t,s;return t=new M({props:{value:l[0][l[2]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&5&&(r.value=e[0][e[2]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function jn(l){let t,s;return t=new bn({props:{stack:l[1]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&2&&(r.stack=e[1]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function En(l){let t,s,e,n;const r=[jn,Nn],a=[];function i(o,f){return o[2]==="stack"?0:1}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function An(l){let t,s;return t=new B({props:{keys:["message","stack"],$$slots:{item_value:[En,({key:e})=>({2:e}),({key:e})=>e?4:0],item_key:[Sn,({key:e})=>({2:e}),({key:e})=>e?4:0],preview:[wn],summary:[yn]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&15&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Pn(l,t,s){let e,{value:n}=t;return l.$$set=r=>{"value"in r&&s(0,n=r.value)},l.$$.update=()=>{l.$$.dirty&1&&s(1,e=n.stack.split(` -`))},[n,e]}class On extends F{constructor(t){super(),J(this,t,Pn,An,L,{value:0})}}function Tn(l,t){const s=Object.prototype.toString.call(l).slice(8,-1);return s==="Object"?!t&&typeof l[Symbol.iterator]=="function"?"Iterable":l.constructor.name:s}function Cn(l){let t,s,e,n;return{c(){t=y("span"),s=k('"'),e=k(l[0]),n=k('"'),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);s=b(a,'"'),e=b(a,l[0]),n=b(a,'"'),a.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(r,a){d(r,t,a),g(t,s),g(t,e),g(t,n)},p(r,a){a&1&&O(e,r[0])},d(r){r&&c(t)}}}function Mn(l){let t,s,e=l[0].slice(0,30)+(l[0].length>30?"…":""),n,r;return{c(){t=y("span"),s=k('"'),n=k(e),r=k('"'),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=b(i,'"'),n=b(i,e),r=b(i,'"'),i.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,r)},p(a,i){i&1&&e!==(e=a[0].slice(0,30)+(a[0].length>30?"…":""))&&O(n,e)},d(a){a&&c(t)}}}function In(l){let t;function s(r,a){return r[1]==="summary"?Mn:Cn}let n=s(l)(l);return{c(){n.c(),t=T()},l(r){n.l(r),t=T()},m(r,a){n.m(r,a),d(r,t,a)},p(r,[a]){n.p(r,a)},i:K,o:K,d(r){r&&c(t),n.d(r)}}}function Ln(l,t,s){let e,{value:n}=t;const r={"\n":"\\n"," ":"\\t","\r":"\\r"},{displayMode:a}=R();return l.$$set=i=>{"value"in i&&s(2,n=i.value)},l.$$.update=()=>{l.$$.dirty&4&&s(0,e=n.replace(/[\n\t\r]/g,i=>r[i]))},[e,a,n]}class Fn extends F{constructor(t){super(),J(this,t,Ln,In,L,{value:2})}}function Jn(l){let t,s="ƒ";return{c(){t=y("span"),t.textContent=s,this.h()},l(e){t=w(e,"SPAN",{class:!0,"data-svelte-h":!0}),re(t)!=="svelte-migemc"&&(t.textContent=s),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n)},p:K,d(e){e&&c(t)}}}function Be(l){let t,s=qe(l[2])+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","fn i svelte-1eamqdt")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&4&&s!==(s=qe(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Ue(l){let t,s=Re(l[2])+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&4&&s!==(s=Re(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Kn(l){let t,s,e=!l[2].isArrow&&Be(l),n=!l[2].isClass&&Ue(l);return{c(){e&&e.c(),t=T(),n&&n.c(),s=T()},l(r){e&&e.l(r),t=T(),n&&n.l(r),s=T()},m(r,a){e&&e.m(r,a),d(r,t,a),n&&n.m(r,a),d(r,s,a)},p(r,a){r[2].isArrow?e&&(e.d(1),e=null):e?e.p(r,a):(e=Be(r),e.c(),e.m(t.parentNode,t)),r[2].isClass?n&&(n.d(1),n=null):n?n.p(r,a):(n=Ue(r),n.c(),n.m(s.parentNode,s))},d(r){r&&(c(t),c(s)),e&&e.d(r),n&&n.d(r)}}}function Bn(l){let t,s=l[6]+"",e,n;return{c(){t=y("span"),e=k(s),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);e=b(a,s),a.forEach(c),this.h()},h(){v(t,"class",n=l[6]===oe||l[6]===ie?"internal":"property")},m(r,a){d(r,t,a),g(t,e)},p(r,a){a&64&&s!==(s=r[6]+"")&&O(e,s),a&64&&n!==(n=r[6]===oe||r[6]===ie?"internal":"property")&&v(t,"class",n)},d(r){r&&c(t)}}}function Un(l){let t,s;return t=new M({props:{value:l[3](l[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&64&&(r.value=e[3](e[6])),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function qn(l){let t,s;return t=new ce({props:{value:l[3](l[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&64&&(r.value=e[3](e[6])),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Rn(l){let t,s;return{c(){t=y("span"),s=k(l[0]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=b(n,l[0]),n.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&1&&O(s,e[0])},i:K,o:K,d(e){e&&c(t)}}}function Gn(l){let t,s,e,n;const r=[Rn,qn,Un],a=[];function i(o,f){return o[6]===oe?0:o[6]==="prototype"?1:2}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Vn(l){let t,s;return t=new B({props:{keys:l[1],$$slots:{item_value:[Gn,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Bn,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Kn],summary:[Jn]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&2&&(r.keys=e[1]),n&197&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const oe="[[Function]]",ie="[[Prototype]]";function zn(l){const t=l.match(/^(?:(async)\s+)?(?:function)?(\*)?\s*([^(]+)?(\([^)]*\))\s*(=>)?/),s=t==null?void 0:t[1],e=t==null?void 0:t[2],n=t==null?void 0:t[3],r=t==null?void 0:t[4],a=t==null?void 0:t[5],i=l.match(/^class\s+([^\s]+)/),o=i==null?void 0:i[1];return{args:r,isAsync:s,isGenerator:e,fnName:n,isArrow:a,isClass:o}}function qe({isGenerator:l,isAsync:t,isClass:s}){return s?`class ${s}`:(t?"async ":"")+"ƒ"+(l?"*":"")}function Re({isAsync:l,isArrow:t,fnName:s,args:e}){return(t&&l?"async":"")+" "+(s??"")+e+(t?" => …":"")}function Dn(l){try{return l.toString()}catch{switch(l.constructor.name){case"AsyncFunction":return"async function () {}";case"AsyncGeneratorFunction":return"async function * () {}";case"GeneratorFunction:":return"function * () {}";default:return"function () {}"}}}function Wn(l,t,s){let e,n,r,{value:a}=t;function i(f){return f===ie?a.__proto__:a[f]}function o(f){return f===oe?!0:i(f)}return l.$$set=f=>{"value"in f&&s(4,a=f.value)},l.$$.update=()=>{l.$$.dirty&16&&s(0,e=Dn(a)),l.$$.dirty&1&&s(2,n=zn(e))},s(1,r=["length","name","prototype",oe,ie].filter(o)),[e,r,n,i,a]}class Zn extends F{constructor(t){super(),J(this,t,Wn,Vn,L,{value:4})}}function Hn(l){let t,s=l[3]?"writable(":"readable(",e,n,r=")",a,i;return n=new M({props:{value:l[2]}}),{c(){t=y("span"),e=k(s),j(n.$$.fragment),a=k(r),this.h()},l(o){t=w(o,"SPAN",{class:!0});var f=N(t);e=b(f,s),P(n.$$.fragment,f),a=b(f,r),f.forEach(c),this.h()},h(){v(t,"class","label")},m(o,f){d(o,t,f),g(t,e),E(n,t,null),g(t,a),i=!0},p(o,f){(!i||f&8)&&s!==(s=o[3]?"writable(":"readable(")&&O(e,s);const u={};f&4&&(u.value=o[2]),n.$set(u)},i(o){i||(m(n.$$.fragment,o),i=!0)},o(o){$(n.$$.fragment,o),i=!1},d(o){o&&c(t),A(n)}}}function Qn(l){let t,s=l[10]+"",e,n,r=": ",a,i,o;return i=new M({props:{value:l[0][l[10]]}}),{c(){t=y("span"),e=k(s),n=y("span"),a=k(r),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=b(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=b(_,r),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&1024)&&s!==(s=f[10]+"")&&O(e,s);const _={};u&1025&&(_.value=f[0][f[10]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){$(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function Xn(l){let t,s;return t=new se({props:{list:l[4],hasMore:l[4].length({10:e}),({item:e})=>e?1024:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&16&&(r.list=e[4]),n&18&&(r.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[Yn,({key:e})=>({8:e}),({key:e})=>e?256:0],preview:[Xn,({root:e})=>({9:e}),({root:e})=>e?512:0],summary:[Hn]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&32&&(r.keys=e[5]),n&2847&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const fe="$value";function ts(l,t,s){let e,n,r,a,i,o,f=K,u=()=>(f(),f=Ve(_,h=>s(7,o=h)),_);l.$$.on_destroy.push(()=>f());let{value:_}=t;u();function p(h){return h===fe?a:_[h]}return l.$$set=h=>{"value"in h&&u(s(0,_=h.value))},l.$$.update=()=>{l.$$.dirty&1&&s(1,e=Object.getOwnPropertyNames(_)),l.$$.dirty&2&&s(5,n=[fe,...e]),l.$$.dirty&2&&s(4,r=e.slice(0,5)),l.$$.dirty&128&&s(2,a=o),l.$$.dirty&1&&s(3,i=typeof _.set=="function")},[_,e,a,i,r,n,p,o]}class ns extends F{constructor(t){super(),J(this,t,ts,es,L,{value:0})}}function ss(l){let t,s,e,n=l[0].length+"",r,a;return{c(){t=y("span"),s=k(l[1]),e=k("("),r=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=b(o,l[1]),e=b(o,"("),r=b(o,n),a=b(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,r),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&1&&n!==(n=i[0].length+"")&&O(r,n)},d(i){i&&c(t)}}}function rs(l){let t,s;return t=new M({props:{value:l[8]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&256&&(r.value=e[8]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function ls(l){let t,s;return t=new se({props:{list:l[2],hasMore:l[2].length({8:e}),({item:e})=>e?256:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&4&&(r.list=e[2]),n&5&&(r.hasMore=e[2].length({6:e}),({key:e})=>e?64:0],item_key:[as,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[ls,({root:e})=>({7:e}),({root:e})=>e?128:0],summary:[ss]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&8&&(r.keys=e[3]),n&711&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const Ge="Symbol(Symbol.toStringTag)";function fs(l,t,s){let e,n,{value:r}=t,{nodeType:a}=t;const i=["buffer","byteLength","byteOffset","length",Ge];function o(f){return f===Ge?r[Symbol.toStringTag]:r[f]}return l.$$set=f=>{"value"in f&&s(0,r=f.value),"nodeType"in f&&s(1,a=f.nodeType)},l.$$.update=()=>{l.$$.dirty&1&&s(3,e=[...Object.getOwnPropertyNames(r),...i]),l.$$.dirty&1&&s(2,n=r.slice(0,5))},[r,a,n,e,i,o]}class us extends F{constructor(t){super(),J(this,t,fs,is,L,{value:0,nodeType:1})}}function cs(l){let t,s;return{c(){t=y("span"),s=k(l[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=b(n,l[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function _s(l){let t,s;return{c(){t=y("span"),s=k(l[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=b(n,l[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function ps(l){let t,s=String(l[3])+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","internal")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&8&&s!==(s=String(n[3])+"")&&O(e,s)},d(n){n&&c(t)}}}function ms(l){let t,s;return t=new M({props:{value:l[0][l[3]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&9&&(r.value=e[0][e[3]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function hs(l){let t,s;return t=new B({props:{keys:l[2],$$slots:{item_value:[ms,({key:e})=>({3:e}),({key:e})=>e?8:0],item_key:[ps,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[_s],summary:[cs]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&27&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function $s(l,t,s){let e,{value:n}=t;const r=["lastIndex","dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"];return l.$$set=a=>{"value"in a&&s(0,n=a.value)},l.$$.update=()=>{l.$$.dirty&1&&s(1,e=n.toString())},[n,e,r]}class ds extends F{constructor(t){super(),J(this,t,$s,hs,L,{value:0})}}function gs(l){let t,s,e;const n=[{value:l[0]},l[1]];var r=l[2];function a(i,o){let f={};for(let u=0;u{A(f,1)}),q()}r?(t=me(r,a(i,o)),j(t.$$.fragment),m(t.$$.fragment,1),E(t,s.parentNode,s)):t=null}else if(r){const f=o&3?$e(n,[o&1&&{value:i[0]},o&2&&de(i[1])]):{};t.$set(f)}},i(i){e||(t&&m(t.$$.fragment,i),e=!0)},o(i){t&&$(t.$$.fragment,i),e=!1},d(i){i&&c(s),t&&A(t,i)}}}function vs(l,t,s){let e,n,r,{value:a}=t;const i=ue();x(l,i,u=>s(4,r=u));const{shouldTreatIterableAsObject:o}=R();function f(u,_){switch(u){case"Object":return typeof _.subscribe=="function"?[ns]:[ce];case"Error":return[On];case"Array":return[Ut];case"Map":return[mn];case"Iterable":case"Set":return[Yt,{nodeType:u}];case"Number":return[W,{nodeType:u}];case"String":return[Fn];case"Boolean":return[W,{nodeType:u,value:_?"true":"false"}];case"Date":return[W,{nodeType:u,value:_.toISOString()}];case"Null":return[W,{nodeType:u,value:"null"}];case"Undefined":return[W,{nodeType:u,value:"undefined"}];case"Function":case"AsyncFunction":case"AsyncGeneratorFunction":case"GeneratorFunction":return[Zn];case"Symbol":return[W,{nodeType:u,value:_.toString()}];case"BigInt":return[W,{nodeType:u,value:String(_)+"n"}];case"ArrayBuffer":return[W,{nodeType:u,value:`ArrayBuffer(${_.byteLength})`}];case"BigInt64Array":case"BigUint64Array":case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint8ClampedArray":case"Uint16Array":case"Uint32Array":return[us,{nodeType:u}];case"RegExp":return[ds];default:return[ce,{summary:u}]}}return l.$$set=u=>{"value"in u&&s(0,a=u.value)},l.$$.update=()=>{l.$$.dirty&1&&ee(i,r=Tn(a,o),r),l.$$.dirty&17&&s(2,[e,n]=f(r,a),e,(s(1,n),s(4,r),s(0,a)))},[a,n,e,i,r]}class M extends F{constructor(t){super(),J(this,t,vs,gs,L,{value:0})}}function ks({defaultExpandedPaths:l,defaultExpandedLevel:t}){const s=l.map(n=>n.split("."));function e(n){e:for(const r of s){if(n.length>r.length)continue;const a=Math.min(n.length,r.length);for(let i=0;ie(u),level:0,keyPath:[],showPreview:r,shouldTreatIterableAsObject:a}),l.$$set=u=>{"value"in u&&s(0,n=u.value),"shouldShowPreview"in u&&s(2,r=u.shouldShowPreview),"shouldTreatIterableAsObject"in u&&s(3,a=u.shouldTreatIterableAsObject),"defaultExpandedPaths"in u&&s(4,i=u.defaultExpandedPaths),"defaultExpandedLevel"in u&&s(5,o=u.defaultExpandedLevel)},l.$$.update=()=>{l.$$.dirty&48&&(e=ks({defaultExpandedPaths:i,defaultExpandedLevel:o}))},[n,f,r,a,i,o]}class Ss extends F{constructor(t){super(),J(this,t,ws,ys,L,{value:0,shouldShowPreview:2,shouldTreatIterableAsObject:3,defaultExpandedPaths:4,defaultExpandedLevel:5})}}function Ns(l){let t,s,e,n;return s=new Ss({props:{value:l[0],defaultExpandedLevel:l[2]}}),{c(){t=y("div"),e=y("div"),j(s.$$.fragment),this.h()},l(r){t=w(r,"DIV",{class:!0});var a=N(t);e=w(a,"DIV",{style:!0});var i=N(e);P(s.$$.fragment,i),a.forEach(c),this.h()},h(){V(e,"display","contents"),V(e,"--json-tree-font-size","16px"),V(e,"--json-tree-li-line-height","1.7"),V(e,"--json-tree-font-family","monospace"),V(e,"--json-tree-string-color","var(--color-text)"),V(e,"--json-tree-label-color","var(--color-interaction)"),V(e,"--json-tree-property-color","var(--color-interaction)"),V(e,"--json-tree-number-color","var(--color-text-secondary)"),V(e,"--json-tree-boolean-color","var(--color-text-secondary)"),v(t,"class","svelte-1ajfzk1"),Z(t,"showFullLines",l[1])},m(r,a){d(r,t,a),g(t,e),E(s,e,null),n=!0},p(r,[a]){const i={};a&1&&(i.value=r[0]),a&4&&(i.defaultExpandedLevel=r[2]),s.$set(i),(!n||a&2)&&Z(t,"showFullLines",r[1])},i(r){n||(m(s.$$.fragment,r),n=!0)},o(r){$(s.$$.fragment,r),n=!1},d(r){r&&c(t),A(s)}}}function js(l,t,s){let{value:e}=t,{showFullLines:n=!1}=t,{expandedLines:r=2}=t;return l.$$set=a=>{"value"in a&&s(0,e=a.value),"showFullLines"in a&&s(1,n=a.showFullLines),"expandedLines"in a&&s(2,r=a.expandedLines)},[e,n,r]}class Ts extends F{constructor(t){super(),J(this,t,js,Ns,L,{value:0,showFullLines:1,expandedLines:2})}}export{Ts as J}; +import{ai as et,aj as tt,s as L,v as T,i as d,n as K,f as c,k as x,e as y,t as k,c as w,b as N,d as b,y as v,G as X,h as g,C as ne,ak as Ve,E as ee,l as H,u as Q,m as Y,o as Z,U as nt,a as z,g as D,al as ze,F as _e,A as re,j as O,ah as pe,X as me,am as he,I as V}from"./scheduler.CKQ5dLhN.js";import{S as F,i as J,t as m,a as $,c as j,d as P,m as E,g as U,e as q,f as A}from"./index.CGVWAVV-.js";import{e as te}from"./each.BWzj3zy9.js";import{w as ue,r as st}from"./index.BVJghJ2L.js";function $e(l,t){const s={},e={},n={$$scope:1};let r=l.length;for(;r--;){const a=l[r],i=t[r];if(i){for(const o in a)o in i||(e[o]=1);for(const o in i)n[o]||(s[o]=i[o],n[o]=1);l[r]=i}else for(const o in a)n[o]=1}for(const a in e)a in s||(s[a]=void 0);return s}function de(l){return typeof l=="object"&&l!==null?l:{}}const ge={};function R(l,t){const s=et(ge),e=typeof l=="function"?l(s):l,n={...s,...e};return t!=null&&t.expandable&&(n.isParentExpanded=n.expanded),tt(ge,n),s}function ve(l){let t,s,e="▶",n,r,a;return{c(){t=y("span"),s=y("span"),n=k(e),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=w(o,"SPAN",{class:!0});var f=N(s);n=b(f,e),f.forEach(c),o.forEach(c),this.h()},h(){v(s,"class","arrow svelte-1qd6nto"),X(s,"expanded",l[2]),v(t,"class","container svelte-1qd6nto")},m(i,o){d(i,t,o),g(t,s),g(s,n),r||(a=ne(t,"click",l[4]),r=!0)},p(i,o){o&4&&X(s,"expanded",i[2])},d(i){i&&c(t),r=!1,a()}}}function rt(l){let t,s=l[1]&&ve(l);return{c(){s&&s.c(),t=T()},l(e){s&&s.l(e),t=T()},m(e,n){s&&s.m(e,n),d(e,t,n)},p(e,[n]){e[1]?s?s.p(e,n):(s=ve(e),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:K,o:K,d(e){e&&c(t),s&&s.d(e)}}}function lt(l,t,s){let e,n,r=K,a=()=>(r(),r=Ve(f,_=>s(2,n=_)),f);l.$$.on_destroy.push(()=>r());const{expanded:i,expandable:o}=R();x(l,o,_=>s(1,e=_));let{expanded:f=i}=t;a();const u=_=>{_.stopPropagation(),ee(f,n=!n,n)};return l.$$set=_=>{"expanded"in _&&a(s(0,f=_.expanded))},[f,e,n,o,u]}class De extends F{constructor(t){super(),J(this,t,lt,rt,L,{expanded:0})}}function at(l){let t;const s=l[1].default,e=H(s,l,l[0],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,[r]){e&&e.p&&(!t||r&1)&&Q(e,s,n,n[0],t?Z(s,n[0],r,null):Y(n[0]),null)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function ot(l,t,s){let{$$slots:e={},$$scope:n}=t;return R({displayMode:"summary"}),l.$$set=r=>{"$$scope"in r&&s(0,n=r.$$scope)},[n,e]}class it extends F{constructor(t){super(),J(this,t,ot,at,L,{})}}function ft(l){let t;const s=l[3].default,e=H(s,l,l[2],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,[r]){e&&e.p&&(!t||r&4)&&Q(e,s,n,n[2],t?Z(s,n[2],r,null):Y(n[2]),null)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function ut(l,t,s){let{$$slots:e={},$$scope:n}=t,{expanded:r}=t,{key:a}=t;const i=ue(!1);return R(({keyPath:o,level:f})=>(a!=="[[Entries]]"&&(o=[...o,a],f=f+1),{keyPath:o,level:f,expanded:r,expandable:i})),l.$$set=o=>{"expanded"in o&&s(0,r=o.expanded),"key"in o&&s(1,a=o.key),"$$scope"in o&&s(2,n=o.$$scope)},[r,a,n,e]}class We extends F{constructor(t){super(),J(this,t,ut,ft,L,{expanded:0,key:1})}}function ke(l,t,s){const e=l.slice();return e[19]=t[s],e[21]=s,e}const ct=l=>({key:l&1}),be=l=>({key:l[19],index:l[21]}),_t=l=>({key:l&1}),ye=l=>({key:l[19],index:l[21]}),pt=l=>({}),we=l=>({root:l[6]}),mt=l=>({}),Se=l=>({});function ht(l){let t,s,e,n,r,a,i,o,f=l[6]&&dt(l);e=new it({props:{$$slots:{default:[gt]},$$scope:{ctx:l}}});let u=l[4]&&Ne(l);return{c(){t=y("span"),f&&f.c(),s=z(),j(e.$$.fragment),n=z(),u&&u.c(),r=T(),this.h()},l(_){t=w(_,"SPAN",{class:!0});var p=N(t);f&&f.l(p),s=D(p),P(e.$$.fragment,p),p.forEach(c),n=D(_),u&&u.l(_),r=T(),this.h()},h(){v(t,"class","root svelte-19drypg")},m(_,p){d(_,t,p),f&&f.m(t,null),g(t,s),E(e,t,null),d(_,n,p),u&&u.m(_,p),d(_,r,p),a=!0,i||(o=ne(t,"click",l[9]),i=!0)},p(_,p){_[6]&&f.p(_,p);const h={};p&8192&&(h.$$scope={dirty:p,ctx:_}),e.$set(h),_[4]?u?(u.p(_,p),p&16&&m(u,1)):(u=Ne(_),u.c(),m(u,1),u.m(r.parentNode,r)):u&&(U(),$(u,1,1,()=>{u=null}),q())},i(_){a||(m(f),m(e.$$.fragment,_),m(u),a=!0)},o(_){$(f),$(e.$$.fragment,_),$(u),a=!1},d(_){_&&(c(t),c(n),c(r)),f&&f.d(),A(e),u&&u.d(_),i=!1,o()}}}function $t(l){let t;const s=l[11].summary,e=H(s,l,l[13],Se);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,r){e&&e.p&&(!t||r&8192)&&Q(e,s,n,n[13],t?Z(s,n[13],r,mt):Y(n[13]),Se)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function dt(l){let t,s;return t=new De({props:{expanded:l[7]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p:K,i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function gt(l){let t;const s=l[11].preview,e=H(s,l,l[13],we);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,r){e&&e.m(n,r),t=!0},p(n,r){e&&e.p&&(!t||r&8192)&&Q(e,s,n,n[13],t?Z(s,n[13],r,pt):Y(n[13]),we)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function Ne(l){let t,s,e,n,r=te(l[0]),a=[];for(let o=0;o$(a[o],1,1,()=>{a[o]=null});return{c(){t=y("ul");for(let o=0;o{};function yt(l,t,s){let e,n,r,{$$slots:a={},$$scope:i}=t,{keys:o}=t,{shouldShowColon:f=void 0}=t,{expandKey:u=M=>M}=t,{defaultExpanded:_=!1}=t;const{isParentExpanded:p,displayMode:h,root:S,expanded:C,expandable:G,keyPath:Xe,level:He,shouldExpandNode:Qe}=R({root:!1},{expandable:!0});if(x(l,C,M=>s(4,n=M)),x(l,G,M=>s(14,r=M)),ee(G,r=!0,r),h!=="summary"){if(!_){const M=Qe({keyPath:Xe,level:He});M!==void 0&&(_=M)}nt(()=>p.subscribe(M=>{M?C.set(_):C.set(!1)}))}function Ye(){ee(C,n=!n,n)}const Ze=M=>e[M].update(xe=>!xe);return l.$$set=M=>{"keys"in M&&s(0,o=M.keys),"shouldShowColon"in M&&s(1,f=M.shouldShowColon),"expandKey"in M&&s(2,u=M.expandKey),"defaultExpanded"in M&&s(10,_=M.defaultExpanded),"$$scope"in M&&s(13,i=M.$$scope)},l.$$.update=()=>{l.$$.dirty&1&&s(3,e=o.map(()=>ue(!1)))},[o,f,u,e,n,h,S,C,G,Ye,_,a,Ze,i]}class B extends F{constructor(t){super(),J(this,t,yt,kt,L,{keys:0,shouldShowColon:1,expandKey:2,defaultExpanded:10})}}function Ae(l,t,s){const e=l.slice();return e[9]=t[s],e[11]=s,e}const wt=l=>({item:l&1}),Pe=l=>({item:l[9],index:l[11]});function Oe(l){let t,s,e,n,r,a=l[3]&&Te(l),i=te(l[0]),o=[];for(let p=0;p$(o[p],1,1,()=>{o[p]=null});let u=l[1]&&Le(),_=l[4]&&Fe(l);return{c(){a&&a.c(),t=z();for(let p=0;p{e=null}),q())},i(n){s||(m(e),s=!0)},o(n){$(e),s=!1},d(n){n&&c(t),e&&e.d(n)}}}function Nt(l,t,s){let{$$slots:e={},$$scope:n}=t,{list:r}=t,{hasMore:a}=t,{label:i=void 0}=t,{prefix:o=void 0}=t,{postfix:f=void 0}=t,{root:u=!1}=t;const{showPreview:_}=R();return l.$$set=p=>{"list"in p&&s(0,r=p.list),"hasMore"in p&&s(1,a=p.hasMore),"label"in p&&s(2,i=p.label),"prefix"in p&&s(3,o=p.prefix),"postfix"in p&&s(4,f=p.postfix),"root"in p&&s(5,u=p.root),"$$scope"in p&&s(7,n=p.$$scope)},[r,a,i,o,f,u,_,n,e]}class se extends F{constructor(t){super(),J(this,t,Nt,St,L,{list:0,hasMore:1,label:2,prefix:3,postfix:4,root:5})}}function jt(l){let t,s=(l[1]??"{…}")+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","label")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&2&&s!==(s=(n[1]??"{…}")+"")&&O(e,s)},d(n){n&&c(t)}}}function Et(l){let t,s=l[6]+"",e,n,r=": ",a,i,o;return i=new I({props:{value:l[0][l[6]]}}),{c(){t=y("span"),e=k(s),n=y("span"),a=k(r),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=b(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=b(_,r),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&64)&&s!==(s=f[6]+"")&&O(e,s);const _={};u&65&&(_.value=f[0][f[6]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){$(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function At(l){let t,s;return t=new se({props:{list:l[3],hasMore:l[3].length({6:e}),({item:e})=>e?64:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&8&&(r.list=e[3]),n&12&&(r.hasMore=e[3].length({4:e}),({key:e})=>e?16:0],item_key:[Pt,({key:e})=>({4:e}),({key:e})=>e?16:0],preview:[At,({root:e})=>({5:e}),({root:e})=>e?32:0],summary:[jt]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&4&&(r.keys=e[2]),n&191&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Ct(l,t,s){let e,n,{value:r}=t,{summary:a}=t;return l.$$set=i=>{"value"in i&&s(0,r=i.value),"summary"in i&&s(1,a=i.summary)},l.$$.update=()=>{l.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(r)),l.$$.dirty&4&&s(3,n=e.slice(0,5))},[r,a,e,n]}class ce extends F{constructor(t){super(),J(this,t,Ct,Tt,L,{value:0,summary:1})}}function It(l){let t,s,e=l[0].length+"",n,r;return{c(){t=y("span"),s=k("Array("),n=k(e),r=k(")"),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=b(i,"Array("),n=b(i,e),r=b(i,")"),i.forEach(c),this.h()},h(){v(t,"class","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,r)},p(a,i){i&1&&e!==(e=a[0].length+"")&&O(n,e)},d(a){a&&c(t)}}}function Mt(l){let t,s;return t=new I({props:{value:l[5]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&32&&(r.value=e[5]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Lt(l){let t,s;return t=new se({props:{list:l[1],hasMore:l[1].length({5:e}),({item:e})=>e?32:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&2&&(r.list=e[1]),n&3&&(r.hasMore=e[1].length({3:e}),({key:e})=>e?8:0],item_key:[Ft,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[Lt,({root:e})=>({4:e}),({root:e})=>e?16:0],summary:[It]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&4&&(r.keys=e[2]),n&91&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Bt(l,t,s){let e,n,{value:r}=t;return l.$$set=a=>{"value"in a&&s(0,r=a.value)},l.$$.update=()=>{l.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(r)),l.$$.dirty&1&&s(1,n=r.slice(0,5))},[r,n,e]}class Ut extends F{constructor(t){super(),J(this,t,Bt,Kt,L,{value:0})}}function qt(l){let t,s,e,n=l[3].length+"",r,a;return{c(){t=y("span"),s=k(l[1]),e=k("("),r=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=b(o,l[1]),e=b(o,"("),r=b(o,n),a=b(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,r),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&8&&n!==(n=i[3].length+"")&&O(r,n)},d(i){i&&c(t)}}}function Rt(l){let t,s;return t=new I({props:{value:l[9]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&512&&(r.value=e[9]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Gt(l){let t,s;return t=new se({props:{list:l[4],hasMore:l[4].length({9:e}),({item:e})=>e?512:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&16&&(r.list=e[4]),n&20&&(r.hasMore=e[4].length({7:e}),({key:e})=>e?128:0],item_key:[Wt,({key:e})=>({7:e}),({key:e})=>e?128:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&8&&(r.keys=e[3]),n&1156&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Wt(l){let t,s=l[7]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&128&&s!==(s=n[7]+"")&&O(e,s)},d(n){n&&c(t)}}}function Xt(l){let t,s;return t=new I({props:{value:l[2][l[7]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&132&&(r.value=e[2][e[7]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Ht(l){let t,s,e,n;const r=[Dt,zt],a=[];function i(o,f){return o[6]===le?0:1}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Qt(l){let t,s;return t=new B({props:{keys:[le,"size"],shouldShowColon:l[5],$$slots:{item_value:[Ht,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Vt,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Gt,({root:e})=>({8:e}),({root:e})=>e?256:0],summary:[qt]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&1375&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const le="[[Entries]]";function Yt(l,t,s){let e,{value:n}=t,{nodeType:r}=t,a=[],i=[];const o=f=>f!==le;return l.$$set=f=>{"value"in f&&s(0,n=f.value),"nodeType"in f&&s(1,r=f.nodeType)},l.$$.update=()=>{if(l.$$.dirty&1){let f=[],u=[],_=0;for(const p of n)f.push(_++),u.push(p);s(3,a=f),s(2,i=u)}l.$$.dirty&4&&s(4,e=i.slice(0,5))},[n,r,i,a,e,o]}class Zt extends F{constructor(t){super(),J(this,t,Yt,Qt,L,{value:0,nodeType:1})}}function xt(l){let t,s,e=l[2].length+"",n,r;return{c(){t=y("span"),s=k("Map("),n=k(e),r=k(")"),this.h()},l(a){t=w(a,"SPAN",{color:!0});var i=N(t);s=b(i,"Map("),n=b(i,e),r=b(i,")"),i.forEach(c),this.h()},h(){v(t,"color","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,r)},p(a,i){i&4&&e!==(e=a[2].length+"")&&O(n,e)},d(a){a&&c(t)}}}function en(l){let t,s,e=" => ",n,r,a;return t=new I({props:{value:l[11]}}),r=new I({props:{value:l[0].get(l[11])}}),{c(){j(t.$$.fragment),s=y("span"),n=k(e),j(r.$$.fragment),this.h()},l(i){P(t.$$.fragment,i),s=w(i,"SPAN",{class:!0});var o=N(s);n=b(o,e),o.forEach(c),P(r.$$.fragment,i),this.h()},h(){v(s,"class","operator")},m(i,o){E(t,i,o),d(i,s,o),g(s,n),E(r,i,o),a=!0},p(i,o){const f={};o&2048&&(f.value=i[11]),t.$set(f);const u={};o&2049&&(u.value=i[0].get(i[11])),r.$set(u)},i(i){a||(m(t.$$.fragment,i),m(r.$$.fragment,i),a=!0)},o(i){$(t.$$.fragment,i),$(r.$$.fragment,i),a=!1},d(i){i&&c(s),A(t,i),A(r,i)}}}function tn(l){let t,s;return t=new se({props:{list:l[4],hasMore:l[4].length({11:e}),({item:e})=>e?2048:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&16&&(r.list=e[4]),n&17&&(r.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[ln,({key:e})=>({8:e}),({key:e})=>e?256:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&2&&(r.keys=e[1]),n&4&&(r.expandKey=e[5]),n&4364&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function ln(l){let t,s=l[8]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&256&&s!==(s=n[8]+"")&&O(e,s)},d(n){n&&c(t)}}}function an(l){let t,s="{ ",e,n,r,a=" => ",i,o,f,u=" }",_,p;return n=new I({props:{value:l[2][l[8]]}}),o=new I({props:{value:l[3][l[8]]}}),{c(){t=y("span"),e=k(s),j(n.$$.fragment),r=y("span"),i=k(a),j(o.$$.fragment),f=y("span"),_=k(u),this.h()},l(h){t=w(h,"SPAN",{class:!0});var S=N(t);e=b(S,s),S.forEach(c),P(n.$$.fragment,h),r=w(h,"SPAN",{class:!0});var C=N(r);i=b(C,a),C.forEach(c),P(o.$$.fragment,h),f=w(h,"SPAN",{class:!0});var G=N(f);_=b(G,u),G.forEach(c),this.h()},h(){v(t,"class","operator"),v(r,"class","operator"),v(f,"class","operator")},m(h,S){d(h,t,S),g(t,e),E(n,h,S),d(h,r,S),g(r,i),E(o,h,S),d(h,f,S),g(f,_),p=!0},p(h,S){const C={};S&260&&(C.value=h[2][h[8]]),n.$set(C);const G={};S&264&&(G.value=h[3][h[8]]),o.$set(G)},i(h){p||(m(n.$$.fragment,h),m(o.$$.fragment,h),p=!0)},o(h){$(n.$$.fragment,h),$(o.$$.fragment,h),p=!1},d(h){h&&(c(t),c(r),c(f)),A(n,h),A(o,h)}}}function on(l){let t,s=l[9]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&512&&s!==(s=n[9]+"")&&O(e,s)},d(n){n&&c(t)}}}function fn(l){let t,s;return t=new I({props:{value:l[9]==="key"?l[2][l[8]]:l[3][l[8]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&780&&(r.value=e[9]==="key"?e[2][e[8]]:e[3][e[8]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function un(l){let t,s;return t=new B({props:{keys:["key","value"],$$slots:{item_value:[fn,({key:e})=>({9:e}),({key:e})=>e?512:0],item_key:[on,({key:e})=>({9:e}),({key:e})=>e?512:0],preview:[an]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&4876&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function cn(l){let t,s,e,n;const r=[rn,sn],a=[];function i(o,f){return o[7]===ae?0:1}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function _n(l){let t,s;return t=new B({props:{keys:[ae,"size"],shouldShowColon:l[6],$$slots:{item_value:[cn,({key:e})=>({7:e}),({key:e})=>e?128:0],item_key:[nn,({key:e})=>({7:e}),({key:e})=>e?128:0],preview:[tn,({root:e})=>({10:e}),({root:e})=>e?1024:0],summary:[xt]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&5279&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const ae="[[Entries]]";function pn(l,t,s){let e,{value:n}=t;R();let r=[],a=[],i=[];const o=u=>a[u],f=u=>u!==ae;return l.$$set=u=>{"value"in u&&s(0,n=u.value)},l.$$.update=()=>{if(l.$$.dirty&1){let u=[],_=[],p=[],h=0;for(const S of n)u.push(h++),_.push(S[0]),p.push(S[1]);s(1,r=u),s(2,a=_),s(3,i=p)}l.$$.dirty&1&&s(4,e=Array.from(n.keys()).slice(0,5))},[n,r,a,i,e,o,f]}class mn extends F{constructor(t){super(),J(this,t,pn,_n,L,{value:0})}}function hn(l){let t,s,e;return{c(){t=y("span"),s=k(l[0]),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);s=b(r,l[0]),r.forEach(c),this.h()},h(){v(t,"class",e=pe(l[1])+" svelte-l95iub")},m(n,r){d(n,t,r),g(t,s)},p(n,[r]){r&1&&O(s,n[0]),r&2&&e!==(e=pe(n[1])+" svelte-l95iub")&&v(t,"class",e)},i:K,o:K,d(n){n&&c(t)}}}function $n(l,t,s){let{value:e,nodeType:n}=t;return l.$$set=r=>{"value"in r&&s(0,e=r.value),"nodeType"in r&&s(1,n=r.nodeType)},[e,n]}class W extends F{constructor(t){super(),J(this,t,$n,hn,L,{value:0,nodeType:1})}}function Je(l,t,s){const e=l.slice();e[6]=t[s],e[9]=s;const n=e[9]$(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a0)},m(o,f){d(o,t,f),E(s,t,null),g(t,e),g(e,r),d(o,a,f),i=!0},p(o,f){const u={};f&1&&(u.value=o[6]+(o[7]?"\\n":"")),s.$set(u),(!i||f&1)&&n!==(n=o[7]?" +":"")&&O(r,n)},i(o){i||(m(s.$$.fragment,o),i=!0)},o(o){$(s.$$.fragment,o),i=!1},d(o){o&&(c(t),c(a)),A(s)}}}function vn(l){let t,s,e,n,r,a;const i=[gn,dn],o=[];function f(u,_){return u[1]?0:1}return s=f(l),e=o[s]=i[s](l),{c(){t=y("span"),e.c()},l(u){t=w(u,"SPAN",{});var _=N(t);e.l(_),_.forEach(c)},m(u,_){d(u,t,_),o[s].m(t,null),n=!0,r||(a=ne(t,"click",l[4]),r=!0)},p(u,[_]){let p=s;s=f(u),s===p?o[s].p(u,_):(U(),$(o[p],1,1,()=>{o[p]=null}),q(),e=o[s],e?e.p(u,_):(e=o[s]=i[s](u),e.c()),m(e,1),e.m(t,null))},i(u){n||(m(e),n=!0)},o(u){$(e),n=!1},d(u){u&&c(t),o[s].d(),r=!1,a()}}}function kn(l,t,s){let e,n,{stack:r}=t;const{expanded:a,expandable:i}=R();x(l,a,f=>s(1,n=f)),x(l,i,f=>s(5,e=f)),ee(i,e=!0,e);const o=()=>ee(a,n=!n,n);return l.$$set=f=>{"stack"in f&&s(0,r=f.stack)},[r,n,a,i,o]}class bn extends F{constructor(t){super(),J(this,t,kn,vn,L,{stack:0})}}function yn(l){let t,s,e=String(l[0].message)+"",n;return{c(){t=y("span"),s=k("Error: "),n=k(e),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);s=b(a,"Error: "),n=b(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(r,a){d(r,t,a),g(t,s),g(t,n)},p(r,a){a&1&&e!==(e=String(r[0].message)+"")&&O(n,e)},d(r){r&&c(t)}}}function wn(l){let t,s,e=String(l[0].message)+"",n;return{c(){t=y("span"),s=k("Error: "),n=k(e),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);s=b(a,"Error: "),n=b(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(r,a){d(r,t,a),g(t,s),g(t,n)},p(r,a){a&1&&e!==(e=String(r[0].message)+"")&&O(n,e)},d(r){r&&c(t)}}}function Sn(l){let t,s=l[2]+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","property")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&4&&s!==(s=n[2]+"")&&O(e,s)},d(n){n&&c(t)}}}function Nn(l){let t,s;return t=new I({props:{value:l[0][l[2]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&5&&(r.value=e[0][e[2]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function jn(l){let t,s;return t=new bn({props:{stack:l[1]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&2&&(r.stack=e[1]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function En(l){let t,s,e,n;const r=[jn,Nn],a=[];function i(o,f){return o[2]==="stack"?0:1}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function An(l){let t,s;return t=new B({props:{keys:["message","stack"],$$slots:{item_value:[En,({key:e})=>({2:e}),({key:e})=>e?4:0],item_key:[Sn,({key:e})=>({2:e}),({key:e})=>e?4:0],preview:[wn],summary:[yn]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&15&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Pn(l,t,s){let e,{value:n}=t;return l.$$set=r=>{"value"in r&&s(0,n=r.value)},l.$$.update=()=>{l.$$.dirty&1&&s(1,e=n.stack.split(` +`))},[n,e]}class On extends F{constructor(t){super(),J(this,t,Pn,An,L,{value:0})}}function Tn(l,t){const s=Object.prototype.toString.call(l).slice(8,-1);return s==="Object"?!t&&typeof l[Symbol.iterator]=="function"?"Iterable":l.constructor.name:s}function Cn(l){let t,s,e,n;return{c(){t=y("span"),s=k('"'),e=k(l[0]),n=k('"'),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);s=b(a,'"'),e=b(a,l[0]),n=b(a,'"'),a.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(r,a){d(r,t,a),g(t,s),g(t,e),g(t,n)},p(r,a){a&1&&O(e,r[0])},d(r){r&&c(t)}}}function In(l){let t,s,e=l[0].slice(0,30)+(l[0].length>30?"…":""),n,r;return{c(){t=y("span"),s=k('"'),n=k(e),r=k('"'),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=b(i,'"'),n=b(i,e),r=b(i,'"'),i.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,r)},p(a,i){i&1&&e!==(e=a[0].slice(0,30)+(a[0].length>30?"…":""))&&O(n,e)},d(a){a&&c(t)}}}function Mn(l){let t;function s(r,a){return r[1]==="summary"?In:Cn}let n=s(l)(l);return{c(){n.c(),t=T()},l(r){n.l(r),t=T()},m(r,a){n.m(r,a),d(r,t,a)},p(r,[a]){n.p(r,a)},i:K,o:K,d(r){r&&c(t),n.d(r)}}}function Ln(l,t,s){let e,{value:n}=t;const r={"\n":"\\n"," ":"\\t","\r":"\\r"},{displayMode:a}=R();return l.$$set=i=>{"value"in i&&s(2,n=i.value)},l.$$.update=()=>{l.$$.dirty&4&&s(0,e=n.replace(/[\n\t\r]/g,i=>r[i]))},[e,a,n]}class Fn extends F{constructor(t){super(),J(this,t,Ln,Mn,L,{value:2})}}function Jn(l){let t,s="ƒ";return{c(){t=y("span"),t.textContent=s,this.h()},l(e){t=w(e,"SPAN",{class:!0,"data-svelte-h":!0}),re(t)!=="svelte-migemc"&&(t.textContent=s),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n)},p:K,d(e){e&&c(t)}}}function Be(l){let t,s=qe(l[2])+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","fn i svelte-1eamqdt")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&4&&s!==(s=qe(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Ue(l){let t,s=Re(l[2])+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&4&&s!==(s=Re(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Kn(l){let t,s,e=!l[2].isArrow&&Be(l),n=!l[2].isClass&&Ue(l);return{c(){e&&e.c(),t=T(),n&&n.c(),s=T()},l(r){e&&e.l(r),t=T(),n&&n.l(r),s=T()},m(r,a){e&&e.m(r,a),d(r,t,a),n&&n.m(r,a),d(r,s,a)},p(r,a){r[2].isArrow?e&&(e.d(1),e=null):e?e.p(r,a):(e=Be(r),e.c(),e.m(t.parentNode,t)),r[2].isClass?n&&(n.d(1),n=null):n?n.p(r,a):(n=Ue(r),n.c(),n.m(s.parentNode,s))},d(r){r&&(c(t),c(s)),e&&e.d(r),n&&n.d(r)}}}function Bn(l){let t,s=l[6]+"",e,n;return{c(){t=y("span"),e=k(s),this.h()},l(r){t=w(r,"SPAN",{class:!0});var a=N(t);e=b(a,s),a.forEach(c),this.h()},h(){v(t,"class",n=l[6]===oe||l[6]===ie?"internal":"property")},m(r,a){d(r,t,a),g(t,e)},p(r,a){a&64&&s!==(s=r[6]+"")&&O(e,s),a&64&&n!==(n=r[6]===oe||r[6]===ie?"internal":"property")&&v(t,"class",n)},d(r){r&&c(t)}}}function Un(l){let t,s;return t=new I({props:{value:l[3](l[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&64&&(r.value=e[3](e[6])),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function qn(l){let t,s;return t=new ce({props:{value:l[3](l[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&64&&(r.value=e[3](e[6])),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Rn(l){let t,s;return{c(){t=y("span"),s=k(l[0]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=b(n,l[0]),n.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&1&&O(s,e[0])},i:K,o:K,d(e){e&&c(t)}}}function Gn(l){let t,s,e,n;const r=[Rn,qn,Un],a=[];function i(o,f){return o[6]===oe?0:o[6]==="prototype"?1:2}return t=i(l),s=a[t]=r[t](l),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(U(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=r[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Vn(l){let t,s;return t=new B({props:{keys:l[1],$$slots:{item_value:[Gn,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Bn,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Kn],summary:[Jn]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&2&&(r.keys=e[1]),n&197&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const oe="[[Function]]",ie="[[Prototype]]";function zn(l){const t=l.match(/^(?:(async)\s+)?(?:function)?(\*)?\s*([^(]+)?(\([^)]*\))\s*(=>)?/),s=t==null?void 0:t[1],e=t==null?void 0:t[2],n=t==null?void 0:t[3],r=t==null?void 0:t[4],a=t==null?void 0:t[5],i=l.match(/^class\s+([^\s]+)/),o=i==null?void 0:i[1];return{args:r,isAsync:s,isGenerator:e,fnName:n,isArrow:a,isClass:o}}function qe({isGenerator:l,isAsync:t,isClass:s}){return s?`class ${s}`:(t?"async ":"")+"ƒ"+(l?"*":"")}function Re({isAsync:l,isArrow:t,fnName:s,args:e}){return(t&&l?"async":"")+" "+(s??"")+e+(t?" => …":"")}function Dn(l){try{return l.toString()}catch{switch(l.constructor.name){case"AsyncFunction":return"async function () {}";case"AsyncGeneratorFunction":return"async function * () {}";case"GeneratorFunction:":return"function * () {}";default:return"function () {}"}}}function Wn(l,t,s){let e,n,r,{value:a}=t;function i(f){return f===ie?a.__proto__:a[f]}function o(f){return f===oe?!0:i(f)}return l.$$set=f=>{"value"in f&&s(4,a=f.value)},l.$$.update=()=>{l.$$.dirty&16&&s(0,e=Dn(a)),l.$$.dirty&1&&s(2,n=zn(e))},s(1,r=["length","name","prototype",oe,ie].filter(o)),[e,r,n,i,a]}class Xn extends F{constructor(t){super(),J(this,t,Wn,Vn,L,{value:4})}}function Hn(l){let t,s=l[3]?"writable(":"readable(",e,n,r=")",a,i;return n=new I({props:{value:l[2]}}),{c(){t=y("span"),e=k(s),j(n.$$.fragment),a=k(r),this.h()},l(o){t=w(o,"SPAN",{class:!0});var f=N(t);e=b(f,s),P(n.$$.fragment,f),a=b(f,r),f.forEach(c),this.h()},h(){v(t,"class","label")},m(o,f){d(o,t,f),g(t,e),E(n,t,null),g(t,a),i=!0},p(o,f){(!i||f&8)&&s!==(s=o[3]?"writable(":"readable(")&&O(e,s);const u={};f&4&&(u.value=o[2]),n.$set(u)},i(o){i||(m(n.$$.fragment,o),i=!0)},o(o){$(n.$$.fragment,o),i=!1},d(o){o&&c(t),A(n)}}}function Qn(l){let t,s=l[10]+"",e,n,r=": ",a,i,o;return i=new I({props:{value:l[0][l[10]]}}),{c(){t=y("span"),e=k(s),n=y("span"),a=k(r),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=b(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=b(_,r),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&1024)&&s!==(s=f[10]+"")&&O(e,s);const _={};u&1025&&(_.value=f[0][f[10]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){$(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function Yn(l){let t,s;return t=new se({props:{list:l[4],hasMore:l[4].length({10:e}),({item:e})=>e?1024:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&16&&(r.list=e[4]),n&18&&(r.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[Zn,({key:e})=>({8:e}),({key:e})=>e?256:0],preview:[Yn,({root:e})=>({9:e}),({root:e})=>e?512:0],summary:[Hn]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&32&&(r.keys=e[5]),n&2847&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const fe="$value";function ts(l,t,s){let e,n,r,a,i,o,f=K,u=()=>(f(),f=Ve(_,h=>s(7,o=h)),_);l.$$.on_destroy.push(()=>f());let{value:_}=t;u();function p(h){return h===fe?a:_[h]}return l.$$set=h=>{"value"in h&&u(s(0,_=h.value))},l.$$.update=()=>{l.$$.dirty&1&&s(1,e=Object.getOwnPropertyNames(_)),l.$$.dirty&2&&s(5,n=[fe,...e]),l.$$.dirty&2&&s(4,r=e.slice(0,5)),l.$$.dirty&128&&s(2,a=o),l.$$.dirty&1&&s(3,i=typeof _.set=="function")},[_,e,a,i,r,n,p,o]}class ns extends F{constructor(t){super(),J(this,t,ts,es,L,{value:0})}}function ss(l){let t,s,e,n=l[0].length+"",r,a;return{c(){t=y("span"),s=k(l[1]),e=k("("),r=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=b(o,l[1]),e=b(o,"("),r=b(o,n),a=b(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,r),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&1&&n!==(n=i[0].length+"")&&O(r,n)},d(i){i&&c(t)}}}function rs(l){let t,s;return t=new I({props:{value:l[8]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&256&&(r.value=e[8]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function ls(l){let t,s;return t=new se({props:{list:l[2],hasMore:l[2].length({8:e}),({item:e})=>e?256:0]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&4&&(r.list=e[2]),n&5&&(r.hasMore=e[2].length({6:e}),({key:e})=>e?64:0],item_key:[as,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[ls,({root:e})=>({7:e}),({root:e})=>e?128:0],summary:[ss]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&8&&(r.keys=e[3]),n&711&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const Ge="Symbol(Symbol.toStringTag)";function fs(l,t,s){let e,n,{value:r}=t,{nodeType:a}=t;const i=["buffer","byteLength","byteOffset","length",Ge];function o(f){return f===Ge?r[Symbol.toStringTag]:r[f]}return l.$$set=f=>{"value"in f&&s(0,r=f.value),"nodeType"in f&&s(1,a=f.nodeType)},l.$$.update=()=>{l.$$.dirty&1&&s(3,e=[...Object.getOwnPropertyNames(r),...i]),l.$$.dirty&1&&s(2,n=r.slice(0,5))},[r,a,n,e,i,o]}class us extends F{constructor(t){super(),J(this,t,fs,is,L,{value:0,nodeType:1})}}function cs(l){let t,s;return{c(){t=y("span"),s=k(l[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=b(n,l[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function _s(l){let t,s;return{c(){t=y("span"),s=k(l[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=b(n,l[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function ps(l){let t,s=String(l[3])+"",e;return{c(){t=y("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var r=N(t);e=b(r,s),r.forEach(c),this.h()},h(){v(t,"class","internal")},m(n,r){d(n,t,r),g(t,e)},p(n,r){r&8&&s!==(s=String(n[3])+"")&&O(e,s)},d(n){n&&c(t)}}}function ms(l){let t,s;return t=new I({props:{value:l[0][l[3]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const r={};n&9&&(r.value=e[0][e[3]]),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function hs(l){let t,s;return t=new B({props:{keys:l[2],$$slots:{item_value:[ms,({key:e})=>({3:e}),({key:e})=>e?8:0],item_key:[ps,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[_s],summary:[cs]},$$scope:{ctx:l}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const r={};n&27&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function $s(l,t,s){let e,{value:n}=t;const r=["lastIndex","dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"];return l.$$set=a=>{"value"in a&&s(0,n=a.value)},l.$$.update=()=>{l.$$.dirty&1&&s(1,e=n.toString())},[n,e,r]}class ds extends F{constructor(t){super(),J(this,t,$s,hs,L,{value:0})}}function gs(l){let t,s,e;const n=[{value:l[0]},l[1]];var r=l[2];function a(i,o){let f={};for(let u=0;u{A(f,1)}),q()}r?(t=me(r,a(i,o)),j(t.$$.fragment),m(t.$$.fragment,1),E(t,s.parentNode,s)):t=null}else if(r){const f=o&3?$e(n,[o&1&&{value:i[0]},o&2&&de(i[1])]):{};t.$set(f)}},i(i){e||(t&&m(t.$$.fragment,i),e=!0)},o(i){t&&$(t.$$.fragment,i),e=!1},d(i){i&&c(s),t&&A(t,i)}}}function vs(l,t,s){let e,n,r,{value:a}=t;const i=ue();x(l,i,u=>s(4,r=u));const{shouldTreatIterableAsObject:o}=R();function f(u,_){switch(u){case"Object":return typeof _.subscribe=="function"?[ns]:[ce];case"Error":return[On];case"Array":return[Ut];case"Map":return[mn];case"Iterable":case"Set":return[Zt,{nodeType:u}];case"Number":return[W,{nodeType:u}];case"String":return[Fn];case"Boolean":return[W,{nodeType:u,value:_?"true":"false"}];case"Date":return[W,{nodeType:u,value:_.toISOString()}];case"Null":return[W,{nodeType:u,value:"null"}];case"Undefined":return[W,{nodeType:u,value:"undefined"}];case"Function":case"AsyncFunction":case"AsyncGeneratorFunction":case"GeneratorFunction":return[Xn];case"Symbol":return[W,{nodeType:u,value:_.toString()}];case"BigInt":return[W,{nodeType:u,value:String(_)+"n"}];case"ArrayBuffer":return[W,{nodeType:u,value:`ArrayBuffer(${_.byteLength})`}];case"BigInt64Array":case"BigUint64Array":case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint8ClampedArray":case"Uint16Array":case"Uint32Array":return[us,{nodeType:u}];case"RegExp":return[ds];default:return[ce,{summary:u}]}}return l.$$set=u=>{"value"in u&&s(0,a=u.value)},l.$$.update=()=>{l.$$.dirty&1&&ee(i,r=Tn(a,o),r),l.$$.dirty&17&&s(2,[e,n]=f(r,a),e,(s(1,n),s(4,r),s(0,a)))},[a,n,e,i,r]}class I extends F{constructor(t){super(),J(this,t,vs,gs,L,{value:0})}}function ks({defaultExpandedPaths:l,defaultExpandedLevel:t}){const s=l.map(n=>n.split("."));function e(n){e:for(const r of s){if(n.length>r.length)continue;const a=Math.min(n.length,r.length);for(let i=0;ie(u),level:0,keyPath:[],showPreview:r,shouldTreatIterableAsObject:a}),l.$$set=u=>{"value"in u&&s(0,n=u.value),"shouldShowPreview"in u&&s(2,r=u.shouldShowPreview),"shouldTreatIterableAsObject"in u&&s(3,a=u.shouldTreatIterableAsObject),"defaultExpandedPaths"in u&&s(4,i=u.defaultExpandedPaths),"defaultExpandedLevel"in u&&s(5,o=u.defaultExpandedLevel)},l.$$.update=()=>{l.$$.dirty&48&&(e=ks({defaultExpandedPaths:i,defaultExpandedLevel:o}))},[n,f,r,a,i,o]}class Ss extends F{constructor(t){super(),J(this,t,ws,ys,L,{value:0,shouldShowPreview:2,shouldTreatIterableAsObject:3,defaultExpandedPaths:4,defaultExpandedLevel:5})}}function Ns(l){let t,s,e,n;return s=new Ss({props:{value:l[0],defaultExpandedLevel:l[2]}}),{c(){t=y("div"),e=y("div"),j(s.$$.fragment),this.h()},l(r){t=w(r,"DIV",{class:!0});var a=N(t);e=w(a,"DIV",{style:!0});var i=N(e);P(s.$$.fragment,i),a.forEach(c),this.h()},h(){V(e,"display","contents"),V(e,"--json-tree-font-size","16px"),V(e,"--json-tree-li-line-height","1.7"),V(e,"--json-tree-font-family","monospace"),V(e,"--json-tree-string-color","var(--color-text)"),V(e,"--json-tree-label-color","var(--color-interaction)"),V(e,"--json-tree-property-color","var(--color-interaction)"),V(e,"--json-tree-number-color","var(--color-text-secondary)"),V(e,"--json-tree-boolean-color","var(--color-text-secondary)"),v(t,"class","svelte-1ajfzk1"),X(t,"showFullLines",l[1])},m(r,a){d(r,t,a),g(t,e),E(s,e,null),n=!0},p(r,[a]){const i={};a&1&&(i.value=r[0]),a&4&&(i.defaultExpandedLevel=r[2]),s.$set(i),(!n||a&2)&&X(t,"showFullLines",r[1])},i(r){n||(m(s.$$.fragment,r),n=!0)},o(r){$(s.$$.fragment,r),n=!1},d(r){r&&c(t),A(s)}}}function js(l,t,s){let{value:e}=t,{showFullLines:n=!1}=t,{expandedLines:r=2}=t;return l.$$set=a=>{"value"in a&&s(0,e=a.value),"showFullLines"in a&&s(1,n=a.showFullLines),"expandedLines"in a&&s(2,r=a.expandedLines)},[e,n,r]}class Ts extends F{constructor(t){super(),J(this,t,js,Ns,L,{value:0,showFullLines:1,expandedLines:2})}}export{Ts as J}; diff --git a/gui/next/build/_app/immutable/chunks/Number.B4JDnNHn.js b/gui/next/build/_app/immutable/chunks/Number.B4JDnNHn.js new file mode 100644 index 00000000..4406d0f8 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/Number.B4JDnNHn.js @@ -0,0 +1 @@ +import{s as x,e as E,t as z,a as O,c as S,b as A,d as H,f as D,g as R,y as u,I as J,i as $,h,B as K,C as B,J as j,j as V,K as Z,r as ee,L as ae,H as y,z as ne}from"./scheduler.CKQ5dLhN.js";import{S as te,i as se,c as F,d as G,m as M,t as Q,a as W,f as X}from"./index.CGVWAVV-.js";import{I as Y}from"./Icon.CkKwi_WD.js";function ie(n){let l,t,b,d,w,c,g,f,L,s,I,r,_,T,N,m,k,p,o,P,C;return c=new Y({props:{icon:n[6]==="navigation"?"arrowLeft":"minus"}}),m=new Y({props:{icon:n[6]==="navigation"?"arrowRight":"minus"}}),{c(){l=E("div"),t=E("button"),b=E("span"),d=z(n[7]),w=O(),F(c.$$.fragment),L=O(),s=E("input"),I=O(),r=E("button"),_=E("span"),T=z(n[8]),N=O(),F(m.$$.fragment),this.h()},l(e){l=S(e,"DIV",{class:!0});var i=A(l);t=S(i,"BUTTON",{form:!0,class:!0,"aria-hidden":!0,"data-action":!0});var a=A(t);b=S(a,"SPAN",{class:!0});var U=A(b);d=H(U,n[7]),U.forEach(D),w=R(a),G(c.$$.fragment,a),a.forEach(D),L=R(i),s=S(i,"INPUT",{form:!0,type:!0,name:!0,id:!0,min:!0,max:!0,step:!0,style:!0,class:!0}),I=R(i),r=S(i,"BUTTON",{form:!0,class:!0,"aria-hidden":!0,"data-action":!0});var v=A(r);_=S(v,"SPAN",{class:!0});var q=A(_);T=H(q,n[8]),q.forEach(D),N=R(v),G(m.$$.fragment,v),v.forEach(D),i.forEach(D),this.h()},h(){var e;u(b,"class","label"),u(t,"form",n[1]),u(t,"class","button svelte-142ypws"),t.disabled=g=n[0]<=n[3],u(t,"aria-hidden",f=n[0]<=n[3]),u(t,"data-action","numberDecrease"),u(s,"form",n[1]),u(s,"type","number"),u(s,"name",n[2]),u(s,"id",n[2]),u(s,"min",n[3]),u(s,"max",n[4]),u(s,"step",n[5]),s.autofocus=n[9],J(s,"--max",(((e=n[4])==null?void 0:e.toString().length)||1)+"ch"),u(s,"class","svelte-142ypws"),u(_,"class","label"),u(r,"form",n[1]),u(r,"class","button svelte-142ypws"),r.disabled=k=n[0]>=n[4],u(r,"aria-hidden",p=n[0]>=n[4]),u(r,"data-action","numberIncrease"),u(l,"class","number svelte-142ypws")},m(e,i){$(e,l,i),h(l,t),h(t,b),h(b,d),h(t,w),M(c,t,null),h(l,L),h(l,s),K(s,n[0]),h(l,I),h(l,r),h(r,_),h(_,T),h(r,N),M(m,r,null),n[17](r),o=!0,n[9]&&s.focus(),P||(C=[B(t,"click",j(n[12])),B(s,"input",n[13]),B(s,"input",j(n[14])),B(s,"focusin",n[15]),B(s,"focusout",n[16]),B(r,"click",j(n[18]))],P=!0)},p(e,[i]){var v;(!o||i&128)&&V(d,e[7]);const a={};i&64&&(a.icon=e[6]==="navigation"?"arrowLeft":"minus"),c.$set(a),(!o||i&2)&&u(t,"form",e[1]),(!o||i&9&&g!==(g=e[0]<=e[3]))&&(t.disabled=g),(!o||i&9&&f!==(f=e[0]<=e[3]))&&u(t,"aria-hidden",f),(!o||i&2)&&u(s,"form",e[1]),(!o||i&4)&&u(s,"name",e[2]),(!o||i&4)&&u(s,"id",e[2]),(!o||i&8)&&u(s,"min",e[3]),(!o||i&16)&&u(s,"max",e[4]),(!o||i&32)&&u(s,"step",e[5]),(!o||i&512)&&(s.autofocus=e[9]),(!o||i&16)&&J(s,"--max",(((v=e[4])==null?void 0:v.toString().length)||1)+"ch"),i&1&&Z(s.value)!==e[0]&&K(s,e[0]),(!o||i&256)&&V(T,e[8]);const U={};i&64&&(U.icon=e[6]==="navigation"?"arrowRight":"minus"),m.$set(U),(!o||i&2)&&u(r,"form",e[1]),(!o||i&17&&k!==(k=e[0]>=e[4]))&&(r.disabled=k),(!o||i&17&&p!==(p=e[0]>=e[4]))&&u(r,"aria-hidden",p)},i(e){o||(Q(c.$$.fragment,e),Q(m.$$.fragment,e),o=!0)},o(e){W(c.$$.fragment,e),W(m.$$.fragment,e),o=!1},d(e){e&&D(l),X(c),X(m),n[17](null),P=!1,ee(C)}}}function ue(n,l,t){let{form:b}=l,{name:d}=l,{min:w=1}=l,{max:c}=l,{step:g=1}=l,{value:f=""}=l,{style:L}=l,{decreaseLabel:s=`Decrease ${d} value`}=l,{increaseLabel:I=`Increase ${d} value`}=l,r=!1,_;const T=ae();let N;function m(a){clearTimeout(N),N=setTimeout(()=>{a.submitter=_,T("input",a)},150)}const k=async a=>{t(0,f=parseInt(f)-1),await y(),m(a)};function p(){f=Z(this.value),t(0,f)}const o=a=>m(a),P=()=>t(9,r=!0),C=()=>t(9,r=!1);function e(a){ne[a?"unshift":"push"](()=>{_=a,t(10,_)})}const i=async a=>{t(0,f=parseInt(f)+1),await y(),m(a)};return n.$$set=a=>{"form"in a&&t(1,b=a.form),"name"in a&&t(2,d=a.name),"min"in a&&t(3,w=a.min),"max"in a&&t(4,c=a.max),"step"in a&&t(5,g=a.step),"value"in a&&t(0,f=a.value),"style"in a&&t(6,L=a.style),"decreaseLabel"in a&&t(7,s=a.decreaseLabel),"increaseLabel"in a&&t(8,I=a.increaseLabel)},[f,b,d,w,c,g,L,s,I,r,_,m,k,p,o,P,C,e,i]}class fe extends te{constructor(l){super(),se(this,l,ue,ie,x,{form:1,name:2,min:3,max:4,step:5,value:0,style:6,decreaseLabel:7,increaseLabel:8})}}export{fe as N}; diff --git a/gui/next/build/_app/immutable/chunks/Number.CAl2R2zF.js b/gui/next/build/_app/immutable/chunks/Number.CAl2R2zF.js deleted file mode 100644 index 381df770..00000000 --- a/gui/next/build/_app/immutable/chunks/Number.CAl2R2zF.js +++ /dev/null @@ -1 +0,0 @@ -import{s as x,e as E,t as z,a as C,c as S,b as U,d as H,f as D,g as R,y as u,L as M,i as $,h,B as V,C as B,M as j,j as y,N as Z,r as ee,O as ae,H as F,z as ne}from"./scheduler.ts1nwYMk.js";import{S as te,i as se,c as G,d as J,m as K,t as Q,a as W,f as X}from"./index.MbwxngTa.js";import{I as Y}from"./Icon.Dn_EaQMz.js";function ie(n){let l,t,b,d,w,c,g,f,L,s,I,r,_,N,T,m,k,p,o,O,A;return c=new Y({props:{icon:n[6]==="navigation"?"arrowLeft":"minus"}}),m=new Y({props:{icon:n[6]==="navigation"?"arrowRight":"minus"}}),{c(){l=E("div"),t=E("button"),b=E("span"),d=z(n[7]),w=C(),G(c.$$.fragment),L=C(),s=E("input"),I=C(),r=E("button"),_=E("span"),N=z(n[8]),T=C(),G(m.$$.fragment),this.h()},l(e){l=S(e,"DIV",{class:!0});var i=U(l);t=S(i,"BUTTON",{form:!0,class:!0,"aria-hidden":!0,"data-action":!0});var a=U(t);b=S(a,"SPAN",{class:!0});var P=U(b);d=H(P,n[7]),P.forEach(D),w=R(a),J(c.$$.fragment,a),a.forEach(D),L=R(i),s=S(i,"INPUT",{form:!0,type:!0,name:!0,id:!0,min:!0,max:!0,step:!0,style:!0,class:!0}),I=R(i),r=S(i,"BUTTON",{form:!0,class:!0,"aria-hidden":!0,"data-action":!0});var v=U(r);_=S(v,"SPAN",{class:!0});var q=U(_);N=H(q,n[8]),q.forEach(D),T=R(v),J(m.$$.fragment,v),v.forEach(D),i.forEach(D),this.h()},h(){var e;u(b,"class","label"),u(t,"form",n[1]),u(t,"class","button svelte-142ypws"),t.disabled=g=n[0]<=n[3],u(t,"aria-hidden",f=n[0]<=n[3]),u(t,"data-action","numberDecrease"),u(s,"form",n[1]),u(s,"type","number"),u(s,"name",n[2]),u(s,"id",n[2]),u(s,"min",n[3]),u(s,"max",n[4]),u(s,"step",n[5]),s.autofocus=n[9],M(s,"--max",(((e=n[4])==null?void 0:e.toString().length)||1)+"ch"),u(s,"class","svelte-142ypws"),u(_,"class","label"),u(r,"form",n[1]),u(r,"class","button svelte-142ypws"),r.disabled=k=n[0]>=n[4],u(r,"aria-hidden",p=n[0]>=n[4]),u(r,"data-action","numberIncrease"),u(l,"class","number svelte-142ypws")},m(e,i){$(e,l,i),h(l,t),h(t,b),h(b,d),h(t,w),K(c,t,null),h(l,L),h(l,s),V(s,n[0]),h(l,I),h(l,r),h(r,_),h(_,N),h(r,T),K(m,r,null),n[17](r),o=!0,n[9]&&s.focus(),O||(A=[B(t,"click",j(n[12])),B(s,"input",n[13]),B(s,"input",j(n[14])),B(s,"focusin",n[15]),B(s,"focusout",n[16]),B(r,"click",j(n[18]))],O=!0)},p(e,[i]){var v;(!o||i&128)&&y(d,e[7]);const a={};i&64&&(a.icon=e[6]==="navigation"?"arrowLeft":"minus"),c.$set(a),(!o||i&2)&&u(t,"form",e[1]),(!o||i&9&&g!==(g=e[0]<=e[3]))&&(t.disabled=g),(!o||i&9&&f!==(f=e[0]<=e[3]))&&u(t,"aria-hidden",f),(!o||i&2)&&u(s,"form",e[1]),(!o||i&4)&&u(s,"name",e[2]),(!o||i&4)&&u(s,"id",e[2]),(!o||i&8)&&u(s,"min",e[3]),(!o||i&16)&&u(s,"max",e[4]),(!o||i&32)&&u(s,"step",e[5]),(!o||i&512)&&(s.autofocus=e[9]),(!o||i&16)&&M(s,"--max",(((v=e[4])==null?void 0:v.toString().length)||1)+"ch"),i&1&&Z(s.value)!==e[0]&&V(s,e[0]),(!o||i&256)&&y(N,e[8]);const P={};i&64&&(P.icon=e[6]==="navigation"?"arrowRight":"minus"),m.$set(P),(!o||i&2)&&u(r,"form",e[1]),(!o||i&17&&k!==(k=e[0]>=e[4]))&&(r.disabled=k),(!o||i&17&&p!==(p=e[0]>=e[4]))&&u(r,"aria-hidden",p)},i(e){o||(Q(c.$$.fragment,e),Q(m.$$.fragment,e),o=!0)},o(e){W(c.$$.fragment,e),W(m.$$.fragment,e),o=!1},d(e){e&&D(l),X(c),X(m),n[17](null),O=!1,ee(A)}}}function ue(n,l,t){let{form:b}=l,{name:d}=l,{min:w=1}=l,{max:c}=l,{step:g=1}=l,{value:f=""}=l,{style:L}=l,{decreaseLabel:s=`Decrease ${d} value`}=l,{increaseLabel:I=`Increase ${d} value`}=l,r=!1,_;const N=ae();let T;function m(a){clearTimeout(T),T=setTimeout(()=>{a.submitter=_,N("input",a)},150)}const k=async a=>{t(0,f=parseInt(f)-1),await F(),m(a)};function p(){f=Z(this.value),t(0,f)}const o=a=>m(a),O=()=>t(9,r=!0),A=()=>t(9,r=!1);function e(a){ne[a?"unshift":"push"](()=>{_=a,t(10,_)})}const i=async a=>{t(0,f=parseInt(f)+1),await F(),m(a)};return n.$$set=a=>{"form"in a&&t(1,b=a.form),"name"in a&&t(2,d=a.name),"min"in a&&t(3,w=a.min),"max"in a&&t(4,c=a.max),"step"in a&&t(5,g=a.step),"value"in a&&t(0,f=a.value),"style"in a&&t(6,L=a.style),"decreaseLabel"in a&&t(7,s=a.decreaseLabel),"increaseLabel"in a&&t(8,I=a.increaseLabel)},[f,b,d,w,c,g,L,s,I,r,_,m,k,p,o,O,A,e,i]}class fe extends te{constructor(l){super(),se(this,l,ue,ie,x,{form:1,name:2,min:3,max:4,step:5,value:0,style:6,decreaseLabel:7,increaseLabel:8})}}export{fe as N}; diff --git a/gui/next/build/_app/immutable/chunks/Toggle.CWtzvS12.js b/gui/next/build/_app/immutable/chunks/Toggle.CtBEfrzX.js similarity index 72% rename from gui/next/build/_app/immutable/chunks/Toggle.CWtzvS12.js rename to gui/next/build/_app/immutable/chunks/Toggle.CtBEfrzX.js index 2904e677..06644183 100644 --- a/gui/next/build/_app/immutable/chunks/Toggle.CWtzvS12.js +++ b/gui/next/build/_app/immutable/chunks/Toggle.CtBEfrzX.js @@ -1 +1 @@ -import{s as X,e as E,c as j,b as T,f as m,y as f,G as J,i as g,V as Y,t as G,a as I,d as O,g as S,h as q,C as D,j as z,r as Q,n as K,I as Z}from"./scheduler.ts1nwYMk.js";import{S as $,i as x,g as R,a as P,e as W,t as A,c as ee,d as le,m as ae,j as ue,f as te}from"./index.MbwxngTa.js";import{f as ne}from"./index.CqFcJeJT.js";import{I as ie}from"./Icon.Dn_EaQMz.js";const he=(l,e)=>{const a=n=>{n.composedPath().includes(l)||e(n)};return document.addEventListener("mousedown",a),{destroy(){document.removeEventListener("mousedown",a)}}};function se(l){let e,a=l[2][0].label+"",n,s,o,r,_,v,h,p,t,w,L,i=l[0]===l[2][0].value&&M();return{c(){e=E("label"),n=G(a),s=I(),i&&i.c(),r=I(),_=E("input"),this.h()},l(c){e=j(c,"LABEL",{for:!0,class:!0});var b=T(e);n=O(b,a),s=S(b),i&&i.l(b),b.forEach(m),r=S(c),_=j(c,"INPUT",{type:!0,name:!0,id:!0,class:!0}),this.h()},h(){f(e,"for",o="toggle-"+l[1]+"-"+l[2][0].value),f(e,"class","svelte-1j5d7bb"),f(_,"type","checkbox"),f(_,"name",l[1]),_.value=v=l[2][0].value,f(_,"id",h="toggle-"+l[1]+"-"+l[2][0].value),_.checked=p=l[0]===l[2][0].value,f(_,"class","svelte-1j5d7bb")},m(c,b){g(c,e,b),q(e,n),q(e,s),i&&i.m(e,null),g(c,r,b),g(c,_,b),t=!0,w||(L=[D(_,"keydown",l[6]),D(_,"change",l[7]),D(_,"change",l[3])],w=!0)},p(c,b){(!t||b&4)&&a!==(a=c[2][0].label+"")&&z(n,a),c[0]===c[2][0].value?i?b&5&&A(i,1):(i=M(),i.c(),A(i,1),i.m(e,null)):i&&(R(),P(i,1,1,()=>{i=null}),W()),(!t||b&6&&o!==(o="toggle-"+c[1]+"-"+c[2][0].value))&&f(e,"for",o),(!t||b&2)&&f(_,"name",c[1]),(!t||b&4&&v!==(v=c[2][0].value))&&(_.value=v),(!t||b&6&&h!==(h="toggle-"+c[1]+"-"+c[2][0].value))&&f(_,"id",h),(!t||b&5&&p!==(p=c[0]===c[2][0].value))&&(_.checked=p)},i(c){t||(A(i),t=!0)},o(c){P(i),t=!1},d(c){c&&(m(e),m(r),m(_)),i&&i.d(),w=!1,Q(L)}}}function oe(l){let e,a,n,s,o,r,_=l[2][0].label+"",v,h,p,t,w,L,i,c,b,C,N,k,B=l[2][1].label+"",U,V,y,F;return{c(){e=E("input"),o=I(),r=E("label"),v=G(_),p=I(),t=E("label"),L=I(),i=E("input"),N=I(),k=E("label"),U=G(B),this.h()},l(u){e=j(u,"INPUT",{type:!0,name:!0,id:!0,class:!0}),o=S(u),r=j(u,"LABEL",{for:!0,class:!0});var d=T(r);v=O(d,_),d.forEach(m),p=S(u),t=j(u,"LABEL",{for:!0,class:!0}),T(t).forEach(m),L=S(u),i=j(u,"INPUT",{type:!0,name:!0,id:!0,class:!0}),N=S(u),k=j(u,"LABEL",{for:!0,class:!0});var H=T(k);U=O(H,B),H.forEach(m),this.h()},h(){f(e,"type","radio"),f(e,"name",l[1]),e.value=a=l[2][0].value,e.checked=n=l[0]===l[2][0].value,f(e,"id",s="toggle-"+l[1]+"-"+l[2][0].value),f(e,"class","svelte-1j5d7bb"),f(r,"for",h="toggle-"+l[1]+"-"+l[2][0].value),f(r,"class","svelte-1j5d7bb"),f(t,"for",w="toggle-"+l[1]+"-"+(l[0]===l[2][0].value?l[2][1].value:l[2][0].value)),f(t,"class","switcher svelte-1j5d7bb"),f(i,"type","radio"),f(i,"name",l[1]),i.value=c=l[2][1].value,i.checked=b=l[0]===l[2][1].value,f(i,"id",C="toggle-"+l[1]+"-"+l[2][1].value),f(i,"class","svelte-1j5d7bb"),f(k,"for",V="toggle-"+l[1]+"-"+l[2][1].value),f(k,"class","svelte-1j5d7bb")},m(u,d){g(u,e,d),g(u,o,d),g(u,r,d),q(r,v),g(u,p,d),g(u,t,d),g(u,L,d),g(u,i,d),g(u,N,d),g(u,k,d),q(k,U),y||(F=[D(e,"keydown",l[4]),D(i,"keydown",l[5])],y=!0)},p(u,d){d&2&&f(e,"name",u[1]),d&4&&a!==(a=u[2][0].value)&&(e.value=a),d&5&&n!==(n=u[0]===u[2][0].value)&&(e.checked=n),d&6&&s!==(s="toggle-"+u[1]+"-"+u[2][0].value)&&f(e,"id",s),d&4&&_!==(_=u[2][0].label+"")&&z(v,_),d&6&&h!==(h="toggle-"+u[1]+"-"+u[2][0].value)&&f(r,"for",h),d&7&&w!==(w="toggle-"+u[1]+"-"+(u[0]===u[2][0].value?u[2][1].value:u[2][0].value))&&f(t,"for",w),d&2&&f(i,"name",u[1]),d&4&&c!==(c=u[2][1].value)&&(i.value=c),d&5&&b!==(b=u[0]===u[2][1].value)&&(i.checked=b),d&6&&C!==(C="toggle-"+u[1]+"-"+u[2][1].value)&&f(i,"id",C),d&4&&B!==(B=u[2][1].label+"")&&z(U,B),d&6&&V!==(V="toggle-"+u[1]+"-"+u[2][1].value)&&f(k,"for",V)},i:K,o:K,d(u){u&&(m(e),m(o),m(r),m(p),m(t),m(L),m(i),m(N),m(k)),y=!1,Q(F)}}}function M(l){let e,a,n,s;return a=new ie({props:{icon:"check"}}),{c(){e=E("i"),ee(a.$$.fragment),this.h()},l(o){e=j(o,"I",{class:!0});var r=T(e);le(a.$$.fragment,r),r.forEach(m),this.h()},h(){f(e,"class","svelte-1j5d7bb")},m(o,r){g(o,e,r),ae(a,e,null),s=!0},i(o){s||(A(a.$$.fragment,o),o&&(n||Z(()=>{n=ue(e,ne,{delay:50,duration:50}),n.start()})),s=!0)},o(o){P(a.$$.fragment,o),s=!1},d(o){o&&m(e),te(a)}}}function fe(l){let e,a,n,s;const o=[oe,se],r=[];function _(v,h){return v[2].length===2?0:v[2].length===1?1:-1}return~(a=_(l))&&(n=r[a]=o[a](l)),{c(){e=E("div"),n&&n.c(),this.h()},l(v){e=j(v,"DIV",{class:!0});var h=T(e);n&&n.l(h),h.forEach(m),this.h()},h(){f(e,"class","toggle svelte-1j5d7bb"),J(e,"single",l[2].length===1)},m(v,h){g(v,e,h),~a&&r[a].m(e,null),s=!0},p(v,[h]){let p=a;a=_(v),a===p?~a&&r[a].p(v,h):(n&&(R(),P(r[p],1,1,()=>{r[p]=null}),W()),~a?(n=r[a],n?n.p(v,h):(n=r[a]=o[a](v),n.c()),A(n,1),n.m(e,null)):n=null),(!s||h&4)&&J(e,"single",v[2].length===1)},i(v){s||(A(n),s=!0)},o(v){P(n),s=!1},d(v){v&&m(e),~a&&r[a].d()}}}function re(l,e,a){let{name:n}=e,{options:s=[]}=e,{checked:o=s.length>1?s[0].value.toString():""}=e;function r(t){Y.call(this,l,t)}const _=t=>{t.code==="Space"&&(t.preventDefault(),a(0,o=o===s[0].value?s[1].value:s[0].value))},v=t=>{t.code==="Space"&&(t.preventDefault(),a(0,o=o===s[0].value?s[1].value:s[0].value))},h=t=>{t.code==="Space"&&(t.preventDefault(),a(0,o=o===s[0].value?"":s[0].value))},p=t=>a(0,o=t.target.checked?s[0].value:"");return l.$$set=t=>{"name"in t&&a(1,n=t.name),"options"in t&&a(2,s=t.options),"checked"in t&&a(0,o=t.checked)},[o,n,s,r,_,v,h,p]}class be extends ${constructor(e){super(),x(this,e,re,fe,X,{name:1,options:2,checked:0})}}export{be as T,he as c}; +import{s as X,e as E,c as j,b as T,f as m,y as f,G as H,i as g,T as Y,t as M,a as I,d as O,g as S,h as y,C as D,j as V,r as Q,n as J,M as Z}from"./scheduler.CKQ5dLhN.js";import{S as $,i as x,g as R,a as P,e as W,t as A,c as ee,d as le,m as ae,j as ue,f as te}from"./index.CGVWAVV-.js";import{f as ne}from"./index.WWWgbq8H.js";import{I as ie}from"./Icon.CkKwi_WD.js";const he=(l,e)=>{const a=n=>{n.composedPath().includes(l)||e(n)};return document.addEventListener("mousedown",a),{destroy(){document.removeEventListener("mousedown",a)}}};function se(l){let e,a=l[2][0].label+"",n,s,o,r,_,v,h,p,t,w,L,i=l[0]===l[2][0].value&&K();return{c(){e=E("label"),n=M(a),s=I(),i&&i.c(),r=I(),_=E("input"),this.h()},l(c){e=j(c,"LABEL",{for:!0,class:!0});var b=T(e);n=O(b,a),s=S(b),i&&i.l(b),b.forEach(m),r=S(c),_=j(c,"INPUT",{type:!0,name:!0,id:!0,class:!0}),this.h()},h(){f(e,"for",o="toggle-"+l[1]+"-"+l[2][0].value),f(e,"class","svelte-1j5d7bb"),f(_,"type","checkbox"),f(_,"name",l[1]),_.value=v=l[2][0].value,f(_,"id",h="toggle-"+l[1]+"-"+l[2][0].value),_.checked=p=l[0]===l[2][0].value,f(_,"class","svelte-1j5d7bb")},m(c,b){g(c,e,b),y(e,n),y(e,s),i&&i.m(e,null),g(c,r,b),g(c,_,b),t=!0,w||(L=[D(_,"keydown",l[6]),D(_,"change",l[7]),D(_,"change",l[3])],w=!0)},p(c,b){(!t||b&4)&&a!==(a=c[2][0].label+"")&&V(n,a),c[0]===c[2][0].value?i?b&5&&A(i,1):(i=K(),i.c(),A(i,1),i.m(e,null)):i&&(R(),P(i,1,1,()=>{i=null}),W()),(!t||b&6&&o!==(o="toggle-"+c[1]+"-"+c[2][0].value))&&f(e,"for",o),(!t||b&2)&&f(_,"name",c[1]),(!t||b&4&&v!==(v=c[2][0].value))&&(_.value=v),(!t||b&6&&h!==(h="toggle-"+c[1]+"-"+c[2][0].value))&&f(_,"id",h),(!t||b&5&&p!==(p=c[0]===c[2][0].value))&&(_.checked=p)},i(c){t||(A(i),t=!0)},o(c){P(i),t=!1},d(c){c&&(m(e),m(r),m(_)),i&&i.d(),w=!1,Q(L)}}}function oe(l){let e,a,n,s,o,r,_=l[2][0].label+"",v,h,p,t,w,L,i,c,b,C,N,k,B=l[2][1].label+"",U,q,G,z;return{c(){e=E("input"),o=I(),r=E("label"),v=M(_),p=I(),t=E("label"),L=I(),i=E("input"),N=I(),k=E("label"),U=M(B),this.h()},l(u){e=j(u,"INPUT",{type:!0,name:!0,id:!0,class:!0}),o=S(u),r=j(u,"LABEL",{for:!0,class:!0});var d=T(r);v=O(d,_),d.forEach(m),p=S(u),t=j(u,"LABEL",{for:!0,class:!0}),T(t).forEach(m),L=S(u),i=j(u,"INPUT",{type:!0,name:!0,id:!0,class:!0}),N=S(u),k=j(u,"LABEL",{for:!0,class:!0});var F=T(k);U=O(F,B),F.forEach(m),this.h()},h(){f(e,"type","radio"),f(e,"name",l[1]),e.value=a=l[2][0].value,e.checked=n=l[0]===l[2][0].value,f(e,"id",s="toggle-"+l[1]+"-"+l[2][0].value),f(e,"class","svelte-1j5d7bb"),f(r,"for",h="toggle-"+l[1]+"-"+l[2][0].value),f(r,"class","svelte-1j5d7bb"),f(t,"for",w="toggle-"+l[1]+"-"+(l[0]===l[2][0].value?l[2][1].value:l[2][0].value)),f(t,"class","switcher svelte-1j5d7bb"),f(i,"type","radio"),f(i,"name",l[1]),i.value=c=l[2][1].value,i.checked=b=l[0]===l[2][1].value,f(i,"id",C="toggle-"+l[1]+"-"+l[2][1].value),f(i,"class","svelte-1j5d7bb"),f(k,"for",q="toggle-"+l[1]+"-"+l[2][1].value),f(k,"class","svelte-1j5d7bb")},m(u,d){g(u,e,d),g(u,o,d),g(u,r,d),y(r,v),g(u,p,d),g(u,t,d),g(u,L,d),g(u,i,d),g(u,N,d),g(u,k,d),y(k,U),G||(z=[D(e,"keydown",l[4]),D(i,"keydown",l[5])],G=!0)},p(u,d){d&2&&f(e,"name",u[1]),d&4&&a!==(a=u[2][0].value)&&(e.value=a),d&5&&n!==(n=u[0]===u[2][0].value)&&(e.checked=n),d&6&&s!==(s="toggle-"+u[1]+"-"+u[2][0].value)&&f(e,"id",s),d&4&&_!==(_=u[2][0].label+"")&&V(v,_),d&6&&h!==(h="toggle-"+u[1]+"-"+u[2][0].value)&&f(r,"for",h),d&7&&w!==(w="toggle-"+u[1]+"-"+(u[0]===u[2][0].value?u[2][1].value:u[2][0].value))&&f(t,"for",w),d&2&&f(i,"name",u[1]),d&4&&c!==(c=u[2][1].value)&&(i.value=c),d&5&&b!==(b=u[0]===u[2][1].value)&&(i.checked=b),d&6&&C!==(C="toggle-"+u[1]+"-"+u[2][1].value)&&f(i,"id",C),d&4&&B!==(B=u[2][1].label+"")&&V(U,B),d&6&&q!==(q="toggle-"+u[1]+"-"+u[2][1].value)&&f(k,"for",q)},i:J,o:J,d(u){u&&(m(e),m(o),m(r),m(p),m(t),m(L),m(i),m(N),m(k)),G=!1,Q(z)}}}function K(l){let e,a,n,s;return a=new ie({props:{icon:"check"}}),{c(){e=E("i"),ee(a.$$.fragment),this.h()},l(o){e=j(o,"I",{class:!0});var r=T(e);le(a.$$.fragment,r),r.forEach(m),this.h()},h(){f(e,"class","svelte-1j5d7bb")},m(o,r){g(o,e,r),ae(a,e,null),s=!0},i(o){s||(A(a.$$.fragment,o),o&&(n||Z(()=>{n=ue(e,ne,{delay:50,duration:50}),n.start()})),s=!0)},o(o){P(a.$$.fragment,o),s=!1},d(o){o&&m(e),te(a)}}}function fe(l){let e,a,n,s;const o=[oe,se],r=[];function _(v,h){return v[2].length===2?0:v[2].length===1?1:-1}return~(a=_(l))&&(n=r[a]=o[a](l)),{c(){e=E("div"),n&&n.c(),this.h()},l(v){e=j(v,"DIV",{class:!0});var h=T(e);n&&n.l(h),h.forEach(m),this.h()},h(){f(e,"class","toggle svelte-1j5d7bb"),H(e,"single",l[2].length===1)},m(v,h){g(v,e,h),~a&&r[a].m(e,null),s=!0},p(v,[h]){let p=a;a=_(v),a===p?~a&&r[a].p(v,h):(n&&(R(),P(r[p],1,1,()=>{r[p]=null}),W()),~a?(n=r[a],n?n.p(v,h):(n=r[a]=o[a](v),n.c()),A(n,1),n.m(e,null)):n=null),(!s||h&4)&&H(e,"single",v[2].length===1)},i(v){s||(A(n),s=!0)},o(v){P(n),s=!1},d(v){v&&m(e),~a&&r[a].d()}}}function re(l,e,a){let{name:n}=e,{options:s=[]}=e,{checked:o=s.length>1?s[0].value.toString():""}=e;function r(t){Y.call(this,l,t)}const _=t=>{t.code==="Space"&&(t.preventDefault(),a(0,o=o===s[0].value?s[1].value:s[0].value))},v=t=>{t.code==="Space"&&(t.preventDefault(),a(0,o=o===s[0].value?s[1].value:s[0].value))},h=t=>{t.code==="Space"&&(t.preventDefault(),a(0,o=o===s[0].value?"":s[0].value))},p=t=>a(0,o=t.target.checked?s[0].value:"");return l.$$set=t=>{"name"in t&&a(1,n=t.name),"options"in t&&a(2,s=t.options),"checked"in t&&a(0,o=t.checked)},[o,n,s,r,_,v,h,p]}class be extends ${constructor(e){super(),x(this,e,re,fe,X,{name:1,options:2,checked:0})}}export{be as T,he as c}; diff --git a/gui/next/build/_app/immutable/chunks/buildMutationIngredients.BkeFH9yg.js b/gui/next/build/_app/immutable/chunks/buildMutationIngredients.BkeFH9yg.js new file mode 100644 index 00000000..9283bc28 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/buildMutationIngredients.BkeFH9yg.js @@ -0,0 +1 @@ +const p={array:"value_array",boolean:"value_boolean",date:"value",datetime:"value",float:"value_float",integer:"value_int",string:"value",text:"value",upload:"value",json:"value_json"},c={string:"String",integer:"Int",float:"Float",boolean:"Boolean",array:"[String!]",json:"JSONPayload",range:"RangeFilter"},g=l=>{const s=l.entries();let n="",o={},i="",t={};function f(e,r){return r===""?null:e==="integer"?parseInt(r):e==="float"?parseFloat(r):e==="boolean"?r==="true":e==="array"||e==="json"?JSON.parse(r):r}for(const[e,r]of s)if(e.indexOf("[")>=0){let a=e.slice(0,e.indexOf("[")),u=e.slice(e.indexOf("[")+1,e.indexOf("]"));(t[a]??(t[a]={}))[u]=r}for(const e in t)n+=`, $${e}: ${c[t[e].type]||"String"}`,o[e]=f(t[e].type,t[e].value),i+=`{ name: "${e}", ${p[t[e].type]}: $${e} }`;return n.length&&(n=n.slice(2),n=`(${n})`),{variablesDefinition:n,variables:o,properties:i}};export{g as b,c}; diff --git a/gui/next/build/_app/immutable/chunks/each.CLm8ZDgo.js b/gui/next/build/_app/immutable/chunks/each.BWzj3zy9.js similarity index 85% rename from gui/next/build/_app/immutable/chunks/each.CLm8ZDgo.js rename to gui/next/build/_app/immutable/chunks/each.BWzj3zy9.js index 89608741..79eb2d95 100644 --- a/gui/next/build/_app/immutable/chunks/each.CLm8ZDgo.js +++ b/gui/next/build/_app/immutable/chunks/each.BWzj3zy9.js @@ -1 +1 @@ -import{a as z,t as B}from"./index.MbwxngTa.js";import{r as C}from"./scheduler.ts1nwYMk.js";function G(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function H(n,o){z(n,1,1,()=>{o.delete(n.key)})}function I(n,o,x,D,A,g,f,j,p,k,w,q){let i=n.length,d=g.length,c=i;const a={};for(;c--;)a[n[c].key]=c;const h=[],u=new Map,m=new Map,M=[];for(c=d;c--;){const e=q(A,g,c),s=x(e);let t=f.get(s);t?M.push(()=>t.p(e,o)):(t=k(s,e),t.c()),u.set(s,h[c]=t),s in a&&m.set(s,Math.abs(c-a[s]))}const v=new Set,S=new Set;function y(e){B(e,1),e.m(j,w),f.set(e.key,e),w=e.first,d--}for(;i&&d;){const e=h[d-1],s=n[i-1],t=e.key,l=s.key;e===s?(w=e.first,i--,d--):u.has(l)?!f.has(t)||v.has(t)?y(e):S.has(l)?i--:m.get(t)>m.get(l)?(S.add(t),y(e)):(v.add(l),i--):(p(s,f),i--)}for(;i--;){const e=n[i];u.has(e.key)||p(e,f)}for(;d;)y(h[d-1]);return C(M),h}export{G as e,H as o,I as u}; +import{a as z,t as B}from"./index.CGVWAVV-.js";import{r as C}from"./scheduler.CKQ5dLhN.js";function G(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function H(n,o){z(n,1,1,()=>{o.delete(n.key)})}function I(n,o,x,D,A,g,f,j,p,k,w,q){let i=n.length,d=g.length,c=i;const a={};for(;c--;)a[n[c].key]=c;const h=[],u=new Map,m=new Map,M=[];for(c=d;c--;){const e=q(A,g,c),s=x(e);let t=f.get(s);t?M.push(()=>t.p(e,o)):(t=k(s,e),t.c()),u.set(s,h[c]=t),s in a&&m.set(s,Math.abs(c-a[s]))}const v=new Set,S=new Set;function y(e){B(e,1),e.m(j,w),f.set(e.key,e),w=e.first,d--}for(;i&&d;){const e=h[d-1],s=n[i-1],t=e.key,l=s.key;e===s?(w=e.first,i--,d--):u.has(l)?!f.has(t)||v.has(t)?y(e):S.has(l)?i--:m.get(t)>m.get(l)?(S.add(t),y(e)):(v.add(l),i--):(p(s,f),i--)}for(;i--;){const e=n[i];u.has(e.key)||p(e,f)}for(;d;)y(h[d-1]);return C(M),h}export{G as e,H as o,I as u}; diff --git a/gui/next/build/_app/immutable/chunks/entry.COceLI_i.js b/gui/next/build/_app/immutable/chunks/entry.COceLI_i.js new file mode 100644 index 00000000..ede038a1 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/entry.COceLI_i.js @@ -0,0 +1,3 @@ +import{H as ut,U as dt}from"./scheduler.CKQ5dLhN.js";import{w as pe}from"./index.BVJghJ2L.js";new URL("sveltekit-internal://");function ht(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function pt(e){return e.split("%25").map(decodeURI).join("%25")}function gt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const mt=["href","pathname","search","toString","toJSON"];function yt(e,n,t){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(t(s),a[o](s));n();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of mt)Object.defineProperty(r,a,{get(){return n(),e[a]},enumerable:!0,configurable:!0});return r}const _t="/__data.json",wt=".html__data.json";function vt(e){return e.endsWith(".html")?e.replace(/\.html$/,wt):e.replace(/\/$/,"")+_t}function bt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let r=t.length;for(;r;)n=n*33^t.charCodeAt(--r)}else if(ArrayBuffer.isView(t)){const r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let a=r.length;for(;a;)n=n*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function At(e){const n=atob(e),t=new Uint8Array(n.length);for(let r=0;r((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&B.delete(ge(e)),Ve(e,n));const B=new Map;function kt(e,n){const t=ge(e,n),r=document.querySelector(t);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&B.set(t,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=At(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,n)}function Et(e,n,t){if(B.size>0){const r=ge(e,t),a=B.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return n.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const d=St.exec(c),[,h,y,u,g]=d;return n.push({name:u,matcher:g,optional:!!h,rest:!!y,chained:y?f===1&&i[0]==="":!1}),y?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function It(e){return!/^\([^)]+\)$/.test(e)}function Ut(e){return e.slice(1).split("/").filter(It)}function Tt(e,n,t){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;sd).join("/"),i=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){r[c.name]=f;const d=n[s+1],h=a[s+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Lt({nodes:e,server_loads:n,dictionary:t,matchers:r}){const a=new Set(n);return Object.entries(t).map(([s,[c,f,d]])=>{const{pattern:h,params:y}=Rt(s),u={id:s,exec:g=>{const l=h.exec(g);if(l)return Tt(l,y,r)},errors:[1,...d||[]].map(g=>e[g]),layouts:[0,...f||[]].map(i),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function Be(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Te(e,n,t=JSON.stringify){const r=t(n);try{sessionStorage[e]=r}catch{}}var $e;const T=(($e=globalThis.__sveltekit_177hw6r)==null?void 0:$e.base)??"";var Fe;const xt=((Fe=globalThis.__sveltekit_177hw6r)==null?void 0:Fe.assets)??T,Pt="1750758919196",Ge="sveltekit:snapshot",Me="sveltekit:scroll",qe="sveltekit:states",Nt="sveltekit:pageurl",j="sveltekit:history",M="sveltekit:navigation",Y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function He(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function me(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...Y,"":Y.hover};function Ke(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function We(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ke(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!t||!!r||ne(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:a,target:r,download:o}}function J(e){let n=null,t=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=O(s,"preload-code")),a===null&&(a=O(s,"preload-data")),n===null&&(n=O(s,"keepfocus")),t===null&&(t=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Ke(s);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[r??"off"],preload_data:Le[a??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(i)}}function xe(e){const n=pe(e);let t=!0;function r(){t=!0,n.update(i=>i)}function a(i){t=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||t&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}function Ct(){const{set:e,subscribe:n}=pe(!1);let t;async function r(){clearTimeout(t);try{const a=await fetch(`${xt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Pt;return i&&(e(!0),clearTimeout(t)),i}catch{return!1}}return{subscribe:n,check:r}}function ne(e,n){return e.origin!==K||!e.pathname.startsWith(n)}function Pe(e){const n=jt(e),t=new ArrayBuffer(n.length),r=new DataView(t);for(let a=0;a>16),n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255),t=r=0);return r===12?(t>>=4,n+=String.fromCharCode(t)):r===18&&(t>>=2,n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255)),n}const Dt=-1,$t=-2,Ft=-3,Vt=-4,Bt=-5,Gt=-6;function Mt(e,n){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,r=Array(t.length);function a(o,i=!1){if(o===Dt)return;if(o===Ft)return NaN;if(o===Vt)return 1/0;if(o===Bt)return-1/0;if(o===Gt)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=t[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],f=n==null?void 0:n[c];if(f)return r[o]=f(a(s[1]));switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const d=new Set;r[o]=d;for(let u=1;un!=null)}class re{constructor(n,t){this.status=n,typeof t=="string"?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Je{constructor(n,t){this.status=n,this.location=t}}class ye extends Error{constructor(n,t,r){super(r),this.status=n,this.text=t}}const Kt="x-sveltekit-invalidated",Wt="x-sveltekit-trailing-slash";function z(e){return e instanceof re||e instanceof ye?e.status:500}function Yt(e){return e instanceof ye?e.text:"Internal Error"}const C=Be(Me)??{},q=Be(Ge)??{},x={url:xe({}),page:xe({}),navigating:pe(null),updated:Ct()};function _e(e){C[e]=me()}function Jt(e,n){let t=e+1;for(;C[t];)delete C[t],t+=1;for(t=n+1;q[t];)delete q[t],t+=1}function $(e){return location.href=e.href,new Promise(()=>{})}async function ze(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}function Ne(){}let ae,de,X,L,he,F;const Xe=[],Z=[];let R=null;const we=[],Ze=[];let N=[],_={branch:[],error:null,url:null},ve=!1,Q=!1,Ce=!0,H=!1,V=!1,Qe=!1,be=!1,Ae,E,U,I,ee;const G=new Set;async function cn(e,n,t){var a,o;document.URL!==location.href&&(location.href=location.href),F=e,ae=Lt(e),L=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),E=(a=history.state)==null?void 0:a[j],U=(o=history.state)==null?void 0:o[M],E||(E=U=Date.now(),history.replaceState({...history.state,[j]:E,[M]:U},""));const r=C[E];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),t?await rn(he,t):tn(location.href,{replaceState:!0}),nn()}function zt(){Xe.length=0,be=!1}function et(e){Z.some(n=>n==null?void 0:n.snapshot)&&(q[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function tt(e){var n;(n=q[e])==null||n.forEach((t,r)=>{var a,o;(o=(a=Z[r])==null?void 0:a.snapshot)==null||o.restore(t)})}function Oe(){_e(E),Te(Me,C),et(U),Te(Ge,q)}async function nt(e,n,t,r){return W({type:"goto",url:He(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:r,accept:()=>{n.invalidateAll&&(be=!0)}})}async function Xt(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:at({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=ae.find(t=>t.exec(ot(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function rt(e,n,t){var o;_=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),I=e.props.page,Ae=new F.root({target:n,props:{...e.props,stores:x,components:Z},hydrate:t,sync:!1}),tt(U);const a={from:null,to:{params:_.params,route:{id:((o=_.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};N.forEach(i=>i(a)),Q=!0}function te({url:e,params:n,branch:t,status:r,error:a,route:o,form:i}){let s="never";if(T&&(e.pathname===T||e.pathname===T+"/"))s="always";else for(const u of t)(u==null?void 0:u.slash)!==void 0&&(s=u.slash);e.pathname=ht(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:a,route:o},props:{constructors:Ht(t).map(u=>u.node.component),page:I}};i!==void 0&&(c.props.form=i);let f={},d=!I,h=0;for(let u=0;u(s&&(c.route=!0),l[m])}),params:new Proxy(r,{get:(l,m)=>(s&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:yt(t,()=>{s&&(c.url=!0)},l=>{s&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...m}):b=l;const S=new URL(b,t);return s&&u(S.href),S.origin===t.origin&&(b=S.href.slice(t.origin.length)),Q?Et(b,S.href,m):kt(b,m)},setHeaders:()=>{},depends:u,parent(){return s&&(c.parent=!0),n()},untrack(l){s=!1;try{return l()}finally{s=!0}}};i=await f.universal.load.call(null,g)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((y=f.universal)==null?void 0:y.trailingSlash)??(o==null?void 0:o.slash)}}function je(e,n,t,r,a,o){if(be)return!0;if(!a)return!1;if(a.parent&&e||a.route&&n||a.url&&t)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(o[i]!==_.params[i])return!0;for(const i of a.dependencies)if(Xe.some(s=>s(new URL(i))))return!0;return!1}function Ee(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Zt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const r of t){const a=e.searchParams.getAll(r),o=n.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&t.delete(r)}return t}function De({error:e,url:n,route:t,params:r}){return{type:"loaded",state:{error:e,url:n,route:t,params:r,branch:[]},props:{page:I,constructors:[]}}}async function at({id:e,invalidating:n,url:t,params:r,route:a,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=a,f=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let d=null;const h=_.url?e!==_.url.pathname+_.url.search:!1,y=_.route?a.id!==_.route.id:!1,u=Zt(_.url,t);let g=!1;const l=f.map((p,v)=>{var P;const A=_.branch[v],k=!!(p!=null&&p[0])&&((A==null?void 0:A.loader)!==p[1]||je(g,y,h,u,(P=A.server)==null?void 0:P.uses,r));return k&&(g=!0),k});if(l.some(Boolean)){try{d=await ct(t,l)}catch(p){const v=await D(p,{url:t,params:r,route:{id:e}});return G.has(o)?De({error:v,url:t,params:r,route:a}):oe({status:z(p),error:v,url:t,route:a})}if(d.type==="redirect")return d}const m=d==null?void 0:d.nodes;let b=!1;const S=f.map(async(p,v)=>{var se;if(!p)return;const A=_.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(A==null?void 0:A.loader)&&!je(b,y,h,u,(se=A.universal)==null?void 0:se.uses,r))return A;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return ke({loader:p[1],url:t,params:r,route:a,parent:async()=>{var Ue;const Ie={};for(let ie=0;ie{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:Ee(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:t,params:a,branch:[s,c],status:e,error:n,route:null})}function Se(e,n){if(!e||ne(e,T))return;let t;try{t=F.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=ot(t);for(const a of ae){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:n,route:a,params:gt(o),url:e}}}function ot(e){return pt(e.slice(T.length)||"/")}function st({url:e,type:n,intent:t,delta:r}){let a=!1;const o=ft(_,t,e,n);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||we.forEach(s=>s(i)),a?null:o}async function W({type:e,url:n,popped:t,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:f=Ne,block:d=Ne}){const h=Se(n,!1),y=st({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!y){d();return}const u=E,g=U;f(),H=!0,Q&&x.navigating.set(y.navigation),ee=c;let l=h&&await at(h);if(!l){if(ne(n,T))return await $(n);l=await it(n,{id:null},await D(new ye(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return y.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(s>=20)l=await oe({status:500,error:await D(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return nt(new URL(l.location,n).href,{},s+1,c),!1;else l.props.page.status>=400&&await x.updated.check()&&(await ze(),await $(n));if(zt(),_e(u),et(g),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),i=t?t.state:i,!t){const w=o?0:1,p={[j]:E+=w,[M]:U+=w,[qe]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Jt(E,U)}if(R=null,l.props.page.state=i,Q){_=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(Ze.map(p=>p(y.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){N=N.filter(v=>!w.includes(v))};w.push(p),N.push(...w)}Ae.$set(l.props),Qe=!0}else rt(l,he,!1);const{activeElement:m}=document;await ut();const b=t?t.scroll:a?me():null;if(Ce){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==m&&document.activeElement!==document.body;!r&&!S&&an(),Ce=!0,l.props.page&&(I=l.props.page),H=!1,e==="popstate"&&tt(U),y.fulfil(void 0),N.forEach(w=>w(y.navigation)),x.navigating.set(null)}async function it(e,n,t,r){return e.origin===K&&e.pathname===location.pathname&&!ve?await oe({status:r,error:t,url:e,route:n}):await $(e)}function en(){let e;L.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function n(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",n),L.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(fe(i.target.href),t.unobserve(i.target))},{threshold:0});function r(o,i){const s=We(o,L);if(!s)return;const{url:c,external:f,download:d}=ue(s,T);if(f||d)return;const h=J(s),y=c&&_.url.pathname+_.url.search===c.pathname+c.search;if(!h.reload&&!y)if(i<=h.preload_data){const u=Se(c,!1);u&&Xt(u)}else i<=h.preload_code&&fe(c.pathname)}function a(){t.disconnect();for(const o of L.querySelectorAll("a")){const{url:i,external:s,download:c}=ue(o,T);if(s||c)continue;const f=J(o);f.reload||(f.preload_code===Y.viewport&&t.observe(o),f.preload_code===Y.eager&&fe(i.pathname))}}N.push(a),a()}function D(e,n){if(e instanceof re)return e.body;const t=z(e),r=Yt(e);return F.hooks.handleError({error:e,event:n,status:t,message:r})??{message:r}}function Re(e,n){dt(()=>(e.push(n),()=>{const t=e.indexOf(n);e.splice(t,1)}))}function ln(e){Re(N,e)}function fn(e){Re(we,e)}function un(e){Re(Ze,e)}function tn(e,n={}){return e=He(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):nt(e,n,0)}function nn(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Oe(),!H){const a=ft(_,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};we.forEach(i=>i(o))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Oe()}),(n=navigator.connection)!=null&&n.saveData||en(),L.addEventListener("click",async t=>{var y;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=We(t.composedPath()[0],L);if(!r)return;const{url:a,external:o,target:i,download:s}=ue(r,T);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=J(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;if(o||c.reload){st({url:a,type:"link"})?H=!0:t.preventDefault();return}const[d,h]=a.href.split("#");if(h!==void 0&&d===ce(location)){const[,u]=_.url.href.split("#");if(u===h){t.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(y=r.ownerDocument.getElementById(decodeURIComponent(h)))==null||y.scrollIntoView();return}if(V=!0,_e(E),e(a),!c.replace_state)return;V=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),W({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(ne(s,T))return;const c=t.target,f=J(c);if(f.reload)return;t.preventDefault(),t.stopPropagation();const d=new FormData(c),h=a==null?void 0:a.getAttribute("name");h&&d.append(h,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(d).toString(),W({type:"form",url:s,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??s.href===location.href})}),addEventListener("popstate",async t=>{var r;if((r=t.state)!=null&&r[j]){const a=t.state[j];if(ee={},a===E)return;const o=C[a],i=t.state[qe]??{},s=new URL(t.state[Nt]??location.href),c=t.state[M],f=ce(location)===ce(_.url);if(c===U&&(Qe||f)){e(s),C[E]=me(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},Ae.$set({page:I})),E=a;return}const h=a-E;await W({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{E=a,U=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!V){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[j]:++E,[M]:U},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&x.navigating.set(null)});function e(t){_.url=t,x.page.set({...I,url:t}),x.page.notify()}}async function rn(e,{status:n=200,error:t,node_ids:r,params:a,route:o,data:i,form:s}){ve=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Se(c,!1)||{});let f;try{const d=r.map(async(u,g)=>{const l=i[g];return l!=null&&l.uses&&(l.uses=lt(l.uses)),ke({loader:F.nodes[u],url:c,params:a,route:o,parent:async()=>{const m={};for(let b=0;bu===o.id);if(y){const u=y.layouts;for(let g=0;go?"1":"0").join(""));const r=await Ve(t.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new re(r.status,o)}return new Promise(async o=>{var h;const i=new Map,s=r.body.getReader(),c=new TextDecoder;function f(y){return Mt(y,{Promise:u=>new Promise((g,l)=>{i.set(u,{fulfil:g,reject:l})})})}let d="";for(;;){const{done:y,value:u}=await s.read();if(y&&!d)break;for(d+=!u&&d?` +`:c.decode(u,{stream:!0});;){const g=d.indexOf(` +`);if(g===-1)break;const l=JSON.parse(d.slice(0,g));if(d=d.slice(g+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=lt(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:S}=l,w=i.get(m);i.delete(m),S?w.reject(f(S)):w.fulfil(f(b))}}}})}function lt(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function an(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):n.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=d,o=h});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:r,complete:i},fulfil:a,reject:o}}export{ln as a,fn as b,cn as c,tn as g,un as o,x as s}; diff --git a/gui/next/build/_app/immutable/chunks/entry.DYTJR7db.js b/gui/next/build/_app/immutable/chunks/entry.DYTJR7db.js deleted file mode 100644 index 704dfd78..00000000 --- a/gui/next/build/_app/immutable/chunks/entry.DYTJR7db.js +++ /dev/null @@ -1,3 +0,0 @@ -import{H as ut,W as dt}from"./scheduler.ts1nwYMk.js";import{w as pe}from"./index._Ft_Y0uu.js";new URL("sveltekit-internal://");function ht(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function pt(e){return e.split("%25").map(decodeURI).join("%25")}function gt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const mt=["href","pathname","search","toString","toJSON"];function yt(e,n,t){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(t(s),a[o](s));n();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of mt)Object.defineProperty(r,a,{get(){return n(),e[a]},enumerable:!0,configurable:!0});return r}const _t="/__data.json",wt=".html__data.json";function vt(e){return e.endsWith(".html")?e.replace(/\.html$/,wt):e.replace(/\/$/,"")+_t}function bt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let r=t.length;for(;r;)n=n*33^t.charCodeAt(--r)}else if(ArrayBuffer.isView(t)){const r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let a=r.length;for(;a;)n=n*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function At(e){const n=atob(e),t=new Uint8Array(n.length);for(let r=0;r((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&q.delete(ge(e)),Ve(e,n));const q=new Map;function kt(e,n){const t=ge(e,n),r=document.querySelector(t);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&q.set(t,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=At(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,n)}function Et(e,n,t){if(q.size>0){const r=ge(e,t),a=q.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return n.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const d=St.exec(c),[,h,y,u,g]=d;return n.push({name:u,matcher:g,optional:!!h,rest:!!y,chained:y?f===1&&i[0]==="":!1}),y?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function It(e){return!/^\([^)]+\)$/.test(e)}function Tt(e){return e.slice(1).split("/").filter(It)}function Ut(e,n,t){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;sd).join("/"),i=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){r[c.name]=f;const d=n[s+1],h=a[s+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Lt({nodes:e,server_loads:n,dictionary:t,matchers:r}){const a=new Set(n);return Object.entries(t).map(([s,[c,f,d]])=>{const{pattern:h,params:y}=Rt(s),u={id:s,exec:g=>{const l=h.exec(g);if(l)return Ut(l,y,r)},errors:[1,...d||[]].map(g=>e[g]),layouts:[0,...f||[]].map(i),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function qe(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ue(e,n,t=JSON.stringify){const r=t(n);try{sessionStorage[e]=r}catch{}}var $e;const U=(($e=globalThis.__sveltekit_qq5gvr)==null?void 0:$e.base)??"";var Fe;const xt=((Fe=globalThis.__sveltekit_qq5gvr)==null?void 0:Fe.assets)??U,Pt="1730289986210",Be="sveltekit:snapshot",Ge="sveltekit:scroll",Me="sveltekit:states",Nt="sveltekit:pageurl",j="sveltekit:history",G="sveltekit:navigation",Y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function He(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function me(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...Y,"":Y.hover};function Ke(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function We(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ke(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!t||!!r||ne(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:a,target:r,download:o}}function J(e){let n=null,t=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=O(s,"preload-code")),a===null&&(a=O(s,"preload-data")),n===null&&(n=O(s,"keepfocus")),t===null&&(t=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Ke(s);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[r??"off"],preload_data:Le[a??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(i)}}function xe(e){const n=pe(e);let t=!0;function r(){t=!0,n.update(i=>i)}function a(i){t=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||t&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}function Ct(){const{set:e,subscribe:n}=pe(!1);let t;async function r(){clearTimeout(t);try{const a=await fetch(`${xt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Pt;return i&&(e(!0),clearTimeout(t)),i}catch{return!1}}return{subscribe:n,check:r}}function ne(e,n){return e.origin!==K||!e.pathname.startsWith(n)}function Pe(e){const n=jt(e),t=new ArrayBuffer(n.length),r=new DataView(t);for(let a=0;a>16),n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255),t=r=0);return r===12?(t>>=4,n+=String.fromCharCode(t)):r===18&&(t>>=2,n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255)),n}const Dt=-1,$t=-2,Ft=-3,Vt=-4,qt=-5,Bt=-6;function Gt(e,n){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,r=Array(t.length);function a(o,i=!1){if(o===Dt)return;if(o===Ft)return NaN;if(o===Vt)return 1/0;if(o===qt)return-1/0;if(o===Bt)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=t[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],f=n==null?void 0:n[c];if(f)return r[o]=f(a(s[1]));switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const d=new Set;r[o]=d;for(let u=1;un!=null)}class re{constructor(n,t){this.status=n,typeof t=="string"?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Je{constructor(n,t){this.status=n,this.location=t}}class ye extends Error{constructor(n,t,r){super(r),this.status=n,this.text=t}}const Kt="x-sveltekit-invalidated",Wt="x-sveltekit-trailing-slash";function z(e){return e instanceof re||e instanceof ye?e.status:500}function Yt(e){return e instanceof ye?e.text:"Internal Error"}const C=qe(Ge)??{},M=qe(Be)??{},x={url:xe({}),page:xe({}),navigating:pe(null),updated:Ct()};function _e(e){C[e]=me()}function Jt(e,n){let t=e+1;for(;C[t];)delete C[t],t+=1;for(t=n+1;M[t];)delete M[t],t+=1}function $(e){return location.href=e.href,new Promise(()=>{})}async function ze(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function Ne(){}let ae,de,X,L,he,F;const Xe=[],Z=[];let R=null;const we=[],Ze=[];let N=[],_={branch:[],error:null,url:null},ve=!1,Q=!1,Ce=!0,H=!1,V=!1,Qe=!1,be=!1,Ae,E,T,I,ee;const B=new Set;async function cn(e,n,t){var a,o;document.URL!==location.href&&(location.href=location.href),F=e,ae=Lt(e),L=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),E=(a=history.state)==null?void 0:a[j],T=(o=history.state)==null?void 0:o[G],E||(E=T=Date.now(),history.replaceState({...history.state,[j]:E,[G]:T},""));const r=C[E];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),t?await rn(he,t):tn(location.href,{replaceState:!0}),nn()}function zt(){Xe.length=0,be=!1}function et(e){Z.some(n=>n==null?void 0:n.snapshot)&&(M[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function tt(e){var n;(n=M[e])==null||n.forEach((t,r)=>{var a,o;(o=(a=Z[r])==null?void 0:a.snapshot)==null||o.restore(t)})}function Oe(){_e(E),Ue(Ge,C),et(T),Ue(Be,M)}async function nt(e,n,t,r){return W({type:"goto",url:He(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:r,accept:()=>{n.invalidateAll&&(be=!0)}})}async function Xt(e){if(e.id!==(R==null?void 0:R.id)){const n={};B.add(n),R={id:e.id,token:n,promise:at({...e,preload:n}).then(t=>(B.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=ae.find(t=>t.exec(ot(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function rt(e,n,t){var o;_=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),I=e.props.page,Ae=new F.root({target:n,props:{...e.props,stores:x,components:Z},hydrate:t,sync:!1}),tt(T);const a={from:null,to:{params:_.params,route:{id:((o=_.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};N.forEach(i=>i(a)),Q=!0}function te({url:e,params:n,branch:t,status:r,error:a,route:o,form:i}){let s="never";if(U&&(e.pathname===U||e.pathname===U+"/"))s="always";else for(const u of t)(u==null?void 0:u.slash)!==void 0&&(s=u.slash);e.pathname=ht(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:a,route:o},props:{constructors:Ht(t).map(u=>u.node.component),page:I}};i!==void 0&&(c.props.form=i);let f={},d=!I,h=0;for(let u=0;u(s&&(c.route=!0),l[m])}),params:new Proxy(r,{get:(l,m)=>(s&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:yt(t,()=>{s&&(c.url=!0)},l=>{s&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...m}):b=l;const S=new URL(b,t);return s&&u(S.href),S.origin===t.origin&&(b=S.href.slice(t.origin.length)),Q?Et(b,S.href,m):kt(b,m)},setHeaders:()=>{},depends:u,parent(){return s&&(c.parent=!0),n()},untrack(l){s=!1;try{return l()}finally{s=!0}}};i=await f.universal.load.call(null,g)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((y=f.universal)==null?void 0:y.trailingSlash)??(o==null?void 0:o.slash)}}function je(e,n,t,r,a,o){if(be)return!0;if(!a)return!1;if(a.parent&&e||a.route&&n||a.url&&t)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(o[i]!==_.params[i])return!0;for(const i of a.dependencies)if(Xe.some(s=>s(new URL(i))))return!0;return!1}function Ee(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Zt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const r of t){const a=e.searchParams.getAll(r),o=n.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&t.delete(r)}return t}function De({error:e,url:n,route:t,params:r}){return{type:"loaded",state:{error:e,url:n,route:t,params:r,branch:[]},props:{page:I,constructors:[]}}}async function at({id:e,invalidating:n,url:t,params:r,route:a,preload:o}){if((R==null?void 0:R.id)===e)return B.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=a,f=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let d=null;const h=_.url?e!==_.url.pathname+_.url.search:!1,y=_.route?a.id!==_.route.id:!1,u=Zt(_.url,t);let g=!1;const l=f.map((p,v)=>{var P;const A=_.branch[v],k=!!(p!=null&&p[0])&&((A==null?void 0:A.loader)!==p[1]||je(g,y,h,u,(P=A.server)==null?void 0:P.uses,r));return k&&(g=!0),k});if(l.some(Boolean)){try{d=await ct(t,l)}catch(p){const v=await D(p,{url:t,params:r,route:{id:e}});return B.has(o)?De({error:v,url:t,params:r,route:a}):oe({status:z(p),error:v,url:t,route:a})}if(d.type==="redirect")return d}const m=d==null?void 0:d.nodes;let b=!1;const S=f.map(async(p,v)=>{var se;if(!p)return;const A=_.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(A==null?void 0:A.loader)&&!je(b,y,h,u,(se=A.universal)==null?void 0:se.uses,r))return A;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return ke({loader:p[1],url:t,params:r,route:a,parent:async()=>{var Te;const Ie={};for(let ie=0;ie{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:Ee(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:t,params:a,branch:[s,c],status:e,error:n,route:null})}function Se(e,n){if(!e||ne(e,U))return;let t;try{t=F.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=ot(t);for(const a of ae){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:n,route:a,params:gt(o),url:e}}}function ot(e){return pt(e.slice(U.length)||"/")}function st({url:e,type:n,intent:t,delta:r}){let a=!1;const o=ft(_,t,e,n);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||we.forEach(s=>s(i)),a?null:o}async function W({type:e,url:n,popped:t,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:f=Ne,block:d=Ne}){const h=Se(n,!1),y=st({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!y){d();return}const u=E,g=T;f(),H=!0,Q&&x.navigating.set(y.navigation),ee=c;let l=h&&await at(h);if(!l){if(ne(n,U))return await $(n);l=await it(n,{id:null},await D(new ye(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return y.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(s>=20)l=await oe({status:500,error:await D(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return nt(new URL(l.location,n).href,{},s+1,c),!1;else l.props.page.status>=400&&await x.updated.check()&&(await ze(),await $(n));if(zt(),_e(u),et(g),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),i=t?t.state:i,!t){const w=o?0:1,p={[j]:E+=w,[G]:T+=w,[Me]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Jt(E,T)}if(R=null,l.props.page.state=i,Q){_=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(Ze.map(p=>p(y.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){N=N.filter(v=>!w.includes(v))};w.push(p),N.push(...w)}Ae.$set(l.props),Qe=!0}else rt(l,he,!1);const{activeElement:m}=document;await ut();const b=t?t.scroll:a?me():null;if(Ce){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==m&&document.activeElement!==document.body;!r&&!S&&an(),Ce=!0,l.props.page&&(I=l.props.page),H=!1,e==="popstate"&&tt(T),y.fulfil(void 0),N.forEach(w=>w(y.navigation)),x.navigating.set(null)}async function it(e,n,t,r){return e.origin===K&&e.pathname===location.pathname&&!ve?await oe({status:r,error:t,url:e,route:n}):await $(e)}function en(){let e;L.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function n(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",n),L.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(fe(i.target.href),t.unobserve(i.target))},{threshold:0});function r(o,i){const s=We(o,L);if(!s)return;const{url:c,external:f,download:d}=ue(s,U);if(f||d)return;const h=J(s),y=c&&_.url.pathname+_.url.search===c.pathname+c.search;if(!h.reload&&!y)if(i<=h.preload_data){const u=Se(c,!1);u&&Xt(u)}else i<=h.preload_code&&fe(c.pathname)}function a(){t.disconnect();for(const o of L.querySelectorAll("a")){const{url:i,external:s,download:c}=ue(o,U);if(s||c)continue;const f=J(o);f.reload||(f.preload_code===Y.viewport&&t.observe(o),f.preload_code===Y.eager&&fe(i.pathname))}}N.push(a),a()}function D(e,n){if(e instanceof re)return e.body;const t=z(e),r=Yt(e);return F.hooks.handleError({error:e,event:n,status:t,message:r})??{message:r}}function Re(e,n){dt(()=>(e.push(n),()=>{const t=e.indexOf(n);e.splice(t,1)}))}function ln(e){Re(N,e)}function fn(e){Re(we,e)}function un(e){Re(Ze,e)}function tn(e,n={}){return e=He(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):nt(e,n,0)}function nn(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Oe(),!H){const a=ft(_,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};we.forEach(i=>i(o))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Oe()}),(n=navigator.connection)!=null&&n.saveData||en(),L.addEventListener("click",async t=>{var y;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=We(t.composedPath()[0],L);if(!r)return;const{url:a,external:o,target:i,download:s}=ue(r,U);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=J(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;if(o||c.reload){st({url:a,type:"link"})?H=!0:t.preventDefault();return}const[d,h]=a.href.split("#");if(h!==void 0&&d===ce(location)){const[,u]=_.url.href.split("#");if(u===h){t.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(y=r.ownerDocument.getElementById(decodeURIComponent(h)))==null||y.scrollIntoView();return}if(V=!0,_e(E),e(a),!c.replace_state)return;V=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),W({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(ne(s,U))return;const c=t.target,f=J(c);if(f.reload)return;t.preventDefault(),t.stopPropagation();const d=new FormData(c),h=a==null?void 0:a.getAttribute("name");h&&d.append(h,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(d).toString(),W({type:"form",url:s,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??s.href===location.href})}),addEventListener("popstate",async t=>{var r;if((r=t.state)!=null&&r[j]){const a=t.state[j];if(ee={},a===E)return;const o=C[a],i=t.state[Me]??{},s=new URL(t.state[Nt]??location.href),c=t.state[G],f=ce(location)===ce(_.url);if(c===T&&(Qe||f)){e(s),C[E]=me(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},Ae.$set({page:I})),E=a;return}const h=a-E;await W({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{E=a,T=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!V){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[j]:++E,[G]:T},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&x.navigating.set(null)});function e(t){_.url=t,x.page.set({...I,url:t}),x.page.notify()}}async function rn(e,{status:n=200,error:t,node_ids:r,params:a,route:o,data:i,form:s}){ve=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Se(c,!1)||{});let f;try{const d=r.map(async(u,g)=>{const l=i[g];return l!=null&&l.uses&&(l.uses=lt(l.uses)),ke({loader:F.nodes[u],url:c,params:a,route:o,parent:async()=>{const m={};for(let b=0;bu===o.id);if(y){const u=y.layouts;for(let g=0;go?"1":"0").join(""));const r=await Ve(t.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new re(r.status,o)}return new Promise(async o=>{var h;const i=new Map,s=r.body.getReader(),c=new TextDecoder;function f(y){return Gt(y,{Promise:u=>new Promise((g,l)=>{i.set(u,{fulfil:g,reject:l})})})}let d="";for(;;){const{done:y,value:u}=await s.read();if(y&&!d)break;for(d+=!u&&d?` -`:c.decode(u,{stream:!0});;){const g=d.indexOf(` -`);if(g===-1)break;const l=JSON.parse(d.slice(0,g));if(d=d.slice(g+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=lt(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:S}=l,w=i.get(m);i.delete(m),S?w.reject(f(S)):w.fulfil(f(b))}}}})}function lt(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function an(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):n.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=d,o=h});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:r,complete:i},fulfil:a,reject:o}}export{ln as a,fn as b,cn as c,tn as g,un as o,x as s}; diff --git a/gui/next/build/_app/immutable/chunks/index._Ft_Y0uu.js b/gui/next/build/_app/immutable/chunks/index.BVJghJ2L.js similarity index 87% rename from gui/next/build/_app/immutable/chunks/index._Ft_Y0uu.js rename to gui/next/build/_app/immutable/chunks/index.BVJghJ2L.js index 79f24784..7e8ed418 100644 --- a/gui/next/build/_app/immutable/chunks/index._Ft_Y0uu.js +++ b/gui/next/build/_app/immutable/chunks/index.BVJghJ2L.js @@ -1 +1 @@ -import{n as b,s as l}from"./scheduler.ts1nwYMk.js";const n=[];function h(e,o){return{subscribe:p(e,o).subscribe}}function p(e,o=b){let r;const i=new Set;function u(t){if(l(e,t)&&(e=t,r)){const c=!n.length;for(const s of i)s[1](),n.push(s,e);if(c){for(let s=0;s{i.delete(s),i.size===0&&r&&(r(),r=null)}}return{set:u,update:f,subscribe:a}}export{h as r,p as w}; +import{n as b,s as l}from"./scheduler.CKQ5dLhN.js";const n=[];function h(e,o){return{subscribe:p(e,o).subscribe}}function p(e,o=b){let r;const i=new Set;function u(t){if(l(e,t)&&(e=t,r)){const c=!n.length;for(const s of i)s[1](),n.push(s,e);if(c){for(let s=0;s{i.delete(s),i.size===0&&r&&(r(),r=null)}}return{set:u,update:f,subscribe:a}}export{h as r,p as w}; diff --git a/gui/next/build/_app/immutable/chunks/index.CGVWAVV-.js b/gui/next/build/_app/immutable/chunks/index.CGVWAVV-.js new file mode 100644 index 00000000..1274273e --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/index.CGVWAVV-.js @@ -0,0 +1,4 @@ +var K=Object.defineProperty;var Q=(t,e,n)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var z=(t,e,n)=>Q(t,typeof e!="symbol"?e+"":e,n);import{n as v,a4 as T,f as D,a5 as W,r as M,Z as k,M as j,a6 as X,q as F,a7 as q,b as Y,S as tt,a8 as et,a9 as nt,aa as it,R as B,ab as st,ac as rt,ad as at,ae as ot,af as ft}from"./scheduler.CKQ5dLhN.js";const L=typeof window<"u";let U=L?()=>window.performance.now():()=>Date.now(),N=L?t=>requestAnimationFrame(t):v;const x=new Set;function V(t){x.forEach(e=>{e.c(t)||(x.delete(e),e.f())}),x.size!==0&&N(V)}function Z(t){let e;return x.size===0&&N(V),{promise:new Promise(n=>{x.add(e={c:t,f:n})}),abort(){x.delete(e)}}}const C=new Map;let P=0;function ut(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function lt(t,e){const n={stylesheet:W(e),rules:{}};return C.set(t,n),n}function A(t,e,n,i,l,o,u,s=0){const c=16.666/i;let r=`{ +`;for(let _=0;_<=1;_+=c){const g=e+(n-e)*o(_);r+=_*100+`%{${u(g,1-g)}} +`}const $=r+`100% {${u(n,1-n)}} +}`,f=`__svelte_${ut($)}_${s}`,m=T(t),{stylesheet:h,rules:a}=C.get(m)||lt(m,t);a[f]||(a[f]=!0,h.insertRule(`@keyframes ${f} ${$}`,h.cssRules.length));const d=t.style.animation||"";return t.style.animation=`${d?`${d}, `:""}${f} ${i}ms linear ${l}ms 1 both`,P+=1,f}function I(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),l=n.length-i.length;l&&(t.style.animation=i.join(", "),P-=l,P||ct())}function ct(){N(()=>{P||(C.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&D(e)}),C.clear())})}let S;function G(){return S||(S=Promise.resolve(),S.then(()=>{S=null})),S}function E(t,e,n){t.dispatchEvent(X(`${e?"intro":"outro"}${n}`))}const R=new Set;let p;function yt(){p={r:0,c:[],p}}function wt(){p.r||M(p.c),p=p.p}function dt(t,e){t&&t.i&&(R.delete(t),t.i(e))}function xt(t,e,n,i){if(t&&t.o){if(R.has(t))return;R.add(t),p.c.push(()=>{R.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const H={duration:0};function vt(t,e,n){const i={direction:"in"};let l=e(t,n,i),o=!1,u,s,c=0;function r(){u&&I(t,u)}function $(){const{delay:m=0,duration:h=300,easing:a=F,tick:d=v,css:_}=l||H;_&&(u=A(t,0,1,h,m,a,_,c++)),d(0,1);const g=U()+m,b=g+h;s&&s.abort(),o=!0,j(()=>E(t,!0,"start")),s=Z(y=>{if(o){if(y>=b)return d(1,0),E(t,!0,"end"),r(),o=!1;if(y>=g){const w=a((y-g)/h);d(w,1-w)}}return o})}let f=!1;return{start(){f||(f=!0,I(t),k(l)?(l=l(i),G().then($)):$())},invalidate(){f=!1},end(){o&&(r(),o=!1)}}}function bt(t,e,n,i){let o=e(t,n,{direction:"both"}),u=i?0:1,s=null,c=null,r=null,$;function f(){r&&I(t,r)}function m(a,d){const _=a.b-u;return d*=Math.abs(_),{a:u,b:a.b,d:_,duration:d,start:a.start,end:a.start+d,group:a.group}}function h(a){const{delay:d=0,duration:_=300,easing:g=F,tick:b=v,css:y}=o||H,w={start:U()+d,b:a};a||(w.group=p,p.r+=1),"inert"in t&&(a?$!==void 0&&(t.inert=$):($=t.inert,t.inert=!0)),s||c?c=w:(y&&(f(),r=A(t,u,a,_,d,g,y)),a&&b(0,1),s=m(w,_),j(()=>E(t,a,"start")),Z(O=>{if(c&&O>c.start&&(s=m(c,_),c=null,E(t,s.b,"start"),y&&(f(),r=A(t,u,s.b,s.duration,0,g,o.css))),s){if(O>=s.end)b(u=s.b,1-u),E(t,s.b,"end"),c||(s.b?f():--s.group.r||M(s.group.c)),s=null;else if(O>=s.start){const J=O-s.start;u=s.a+s.d*g(J/s.duration),b(u,1-u)}}return!!(s||c)}))}return{run(a){k(o)?G().then(()=>{o=o({direction:a?"in":"out"}),h(a)}):h(a)},end(){f(),s=c=null}}}function St(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function Et(t){t&&t.c()}function Mt(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:i,after_update:l}=t.$$;i&&i.m(e,n),j(()=>{const o=t.$$.on_mount.map(st).filter(k);t.$$.on_destroy?t.$$.on_destroy.push(...o):M(o),t.$$.on_mount=[]}),l.forEach(j)}function $t(t,e){const n=t.$$;n.fragment!==null&&(nt(n.after_update),M(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(rt.push(t),at(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const a=h.length?h[0]:m;return r.ctx&&l(r.ctx[f],r.ctx[f]=a)&&(!r.skip_bound&&r.bound[f]&&r.bound[f](a),$&&ht(t,f)),m}):[],r.update(),$=!0,M(r.before_update),r.fragment=i?i(r.ctx):!1,e.target){if(e.hydrate){ot();const f=Y(e.target);r.fragment&&r.fragment.l(f),f.forEach(D)}else r.fragment&&r.fragment.c();e.intro&&dt(t.$$.fragment),_t(t,e.target,e.anchor),ft(),tt()}B(c)}class Rt{constructor(){z(this,"$$");z(this,"$$set")}$destroy(){$t(this,1),this.$destroy=v}$on(e,n){if(!k(n))return v;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const l=i.indexOf(n);l!==-1&&i.splice(l,1)}}$set(e){this.$$set&&!et(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);export{Rt as S,xt as a,St as b,Et as c,Mt as d,wt as e,$t as f,yt as g,bt as h,Ot as i,vt as j,_t as m,dt as t}; diff --git a/gui/next/build/_app/immutable/chunks/index.MbwxngTa.js b/gui/next/build/_app/immutable/chunks/index.MbwxngTa.js deleted file mode 100644 index 1350c026..00000000 --- a/gui/next/build/_app/immutable/chunks/index.MbwxngTa.js +++ /dev/null @@ -1,4 +0,0 @@ -var K=Object.defineProperty;var Q=(t,e,n)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var k=(t,e,n)=>Q(t,typeof e!="symbol"?e+"":e,n);import{n as v,a4 as W,f as B,a5 as X,r as O,$ as R,I,a6 as Y,q as D,a7 as U,b as Z,U as tt,a8 as et,a9 as nt,aa as it,T as q,ab as st,ac as rt,ad as at,ae as ot,af as ft}from"./scheduler.ts1nwYMk.js";const F=typeof window<"u";let L=F?()=>window.performance.now():()=>Date.now(),N=F?t=>requestAnimationFrame(t):v;const x=new Set;function T(t){x.forEach(e=>{e.c(t)||(x.delete(e),e.f())}),x.size!==0&&N(T)}function V(t){let e;return x.size===0&&N(T),{promise:new Promise(n=>{x.add(e={c:t,f:n})}),abort(){x.delete(e)}}}const M=new Map;let P=0;function ut(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function lt(t,e){const n={stylesheet:X(e),rules:{}};return M.set(t,n),n}function z(t,e,n,i,l,o,u,s=0){const c=16.666/i;let r=`{ -`;for(let _=0;_<=1;_+=c){const g=e+(n-e)*o(_);r+=_*100+`%{${u(g,1-g)}} -`}const $=r+`100% {${u(n,1-n)}} -}`,f=`__svelte_${ut($)}_${s}`,m=W(t),{stylesheet:h,rules:a}=M.get(m)||lt(m,t);a[f]||(a[f]=!0,h.insertRule(`@keyframes ${f} ${$}`,h.cssRules.length));const d=t.style.animation||"";return t.style.animation=`${d?`${d}, `:""}${f} ${i}ms linear ${l}ms 1 both`,P+=1,f}function A(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),l=n.length-i.length;l&&(t.style.animation=i.join(", "),P-=l,P||ct())}function ct(){N(()=>{P||(M.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&B(e)}),M.clear())})}let E;function G(){return E||(E=Promise.resolve(),E.then(()=>{E=null})),E}function S(t,e,n){t.dispatchEvent(Y(`${e?"intro":"outro"}${n}`))}const C=new Set;let p;function yt(){p={r:0,c:[],p}}function wt(){p.r||O(p.c),p=p.p}function dt(t,e){t&&t.i&&(C.delete(t),t.i(e))}function xt(t,e,n,i){if(t&&t.o){if(C.has(t))return;C.add(t),p.c.push(()=>{C.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const H={duration:0};function vt(t,e,n){const i={direction:"in"};let l=e(t,n,i),o=!1,u,s,c=0;function r(){u&&A(t,u)}function $(){const{delay:m=0,duration:h=300,easing:a=D,tick:d=v,css:_}=l||H;_&&(u=z(t,0,1,h,m,a,_,c++)),d(0,1);const g=L()+m,b=g+h;s&&s.abort(),o=!0,I(()=>S(t,!0,"start")),s=V(y=>{if(o){if(y>=b)return d(1,0),S(t,!0,"end"),r(),o=!1;if(y>=g){const w=a((y-g)/h);d(w,1-w)}}return o})}let f=!1;return{start(){f||(f=!0,A(t),R(l)?(l=l(i),G().then($)):$())},invalidate(){f=!1},end(){o&&(r(),o=!1)}}}function bt(t,e,n,i){let o=e(t,n,{direction:"both"}),u=i?0:1,s=null,c=null,r=null,$;function f(){r&&A(t,r)}function m(a,d){const _=a.b-u;return d*=Math.abs(_),{a:u,b:a.b,d:_,duration:d,start:a.start,end:a.start+d,group:a.group}}function h(a){const{delay:d=0,duration:_=300,easing:g=D,tick:b=v,css:y}=o||H,w={start:L()+d,b:a};a||(w.group=p,p.r+=1),"inert"in t&&(a?$!==void 0&&(t.inert=$):($=t.inert,t.inert=!0)),s||c?c=w:(y&&(f(),r=z(t,u,a,_,d,g,y)),a&&b(0,1),s=m(w,_),I(()=>S(t,a,"start")),V(j=>{if(c&&j>c.start&&(s=m(c,_),c=null,S(t,s.b,"start"),y&&(f(),r=z(t,u,s.b,s.duration,0,g,o.css))),s){if(j>=s.end)b(u=s.b,1-u),S(t,s.b,"end"),c||(s.b?f():--s.group.r||O(s.group.c)),s=null;else if(j>=s.start){const J=j-s.start;u=s.a+s.d*g(J/s.duration),b(u,1-u)}}return!!(s||c)}))}return{run(a){R(o)?G().then(()=>{o=o({direction:a?"in":"out"}),h(a)}):h(a)},end(){f(),s=c=null}}}function Et(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function St(t){t&&t.c()}function Ot(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:i,after_update:l}=t.$$;i&&i.m(e,n),I(()=>{const o=t.$$.on_mount.map(st).filter(R);t.$$.on_destroy?t.$$.on_destroy.push(...o):O(o),t.$$.on_mount=[]}),l.forEach(I)}function $t(t,e){const n=t.$$;n.fragment!==null&&(nt(n.after_update),O(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(rt.push(t),at(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const a=h.length?h[0]:m;return r.ctx&&l(r.ctx[f],r.ctx[f]=a)&&(!r.skip_bound&&r.bound[f]&&r.bound[f](a),$&&ht(t,f)),m}):[],r.update(),$=!0,O(r.before_update),r.fragment=i?i(r.ctx):!1,e.target){if(e.hydrate){ot();const f=Z(e.target);r.fragment&&r.fragment.l(f),f.forEach(B)}else r.fragment&&r.fragment.c();e.intro&&dt(t.$$.fragment),_t(t,e.target,e.anchor),ft(),tt()}q(c)}class Ct{constructor(){k(this,"$$");k(this,"$$set")}$destroy(){$t(this,1),this.$destroy=v}$on(e,n){if(!R(n))return v;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const l=i.indexOf(n);l!==-1&&i.splice(l,1)}}$set(e){this.$$set&&!et(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);export{Ct as S,xt as a,Et as b,St as c,Ot as d,wt as e,$t as f,yt as g,bt as h,jt as i,vt as j,_t as m,dt as t}; diff --git a/gui/next/build/_app/immutable/chunks/index.CqFcJeJT.js b/gui/next/build/_app/immutable/chunks/index.WWWgbq8H.js similarity index 69% rename from gui/next/build/_app/immutable/chunks/index.CqFcJeJT.js rename to gui/next/build/_app/immutable/chunks/index.WWWgbq8H.js index 7601a72c..fdb8eb5e 100644 --- a/gui/next/build/_app/immutable/chunks/index.CqFcJeJT.js +++ b/gui/next/build/_app/immutable/chunks/index.WWWgbq8H.js @@ -1 +1 @@ -import{q as n}from"./scheduler.ts1nwYMk.js";function r(t,{delay:o=0,duration:e=400,easing:i=n}={}){const a=+getComputedStyle(t).opacity;return{delay:o,duration:e,easing:i,css:c=>`opacity: ${c*a}`}}export{r as f}; +import{q as n}from"./scheduler.CKQ5dLhN.js";function r(t,{delay:o=0,duration:e=400,easing:i=n}={}){const a=+getComputedStyle(t).opacity;return{delay:o,duration:e,easing:i,css:c=>`opacity: ${c*a}`}}export{r as f}; diff --git a/gui/next/build/_app/immutable/chunks/parseValue.BxCUwhRQ.js b/gui/next/build/_app/immutable/chunks/parseValue.BxCUwhRQ.js new file mode 100644 index 00000000..4cff1efd --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/parseValue.BxCUwhRQ.js @@ -0,0 +1 @@ +import{t as n}from"./tryParseJSON.x4PJc0Qf.js";const s=(r,t)=>{let e={value:r,type:t};return r==null?(e.value=null,e.type="null",{...e}):(t==="boolean"&&(r===!0?e.value="true":e.value="false"),typeof r=="object"?(e.value=r,e.type="json",{...e}):n(r)?(e.value=n(r),e.type="jsonEscaped",{...e}):{...e,original:{value:r,type:t}})};export{s as p}; diff --git a/gui/next/build/_app/immutable/chunks/scheduler.ts1nwYMk.js b/gui/next/build/_app/immutable/chunks/scheduler.CKQ5dLhN.js similarity index 96% rename from gui/next/build/_app/immutable/chunks/scheduler.ts1nwYMk.js rename to gui/next/build/_app/immutable/chunks/scheduler.CKQ5dLhN.js index 97b568c6..0b01eda2 100644 --- a/gui/next/build/_app/immutable/chunks/scheduler.ts1nwYMk.js +++ b/gui/next/build/_app/immutable/chunks/scheduler.CKQ5dLhN.js @@ -1 +1 @@ -var W=Object.defineProperty;var I=(t,e,n)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>I(t,typeof e!="symbol"?e+"":e,n);function M(){}const ut=t=>t;function G(t,e){for(const n in e)t[n]=e[n];return t}function ft(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function U(t){return t()}function dt(){return Object.create(null)}function F(t){t.forEach(U)}function J(t){return typeof t=="function"}function _t(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function ht(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function mt(t){return Object.keys(t).length===0}function K(t,...e){if(t==null){for(const i of e)i(void 0);return M}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function pt(t,e,n){t.$$.on_destroy.push(K(e,n))}function yt(t,e,n,i){if(t){const s=j(t,e,n,i);return t[0](s)}}function j(t,e,n,i){return t[1]&&i?G(n.ctx.slice(),t[1](i(e))):n.ctx}function bt(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const o=[],r=Math.max(e.dirty.length,s.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function V(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:Q(1,s,R=>e[n[R]].claim_order,a))-1;i[c]=n[u]+1;const C=u+1;n[C]=c,s=Math.max(C,s)}const o=[],r=[];let l=e.length-1;for(let c=n[s]+1;c!=0;c=i[c-1]){for(o.push(e[c-1]);l>=c;l--)r.push(e[l]);l--}for(;l>=0;l--)r.push(e[l]);o.reverse(),r.sort((c,a)=>c.claim_order-a.claim_order);for(let c=0,a=0;c=o[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function Dt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ht(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Mt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function jt(t){return t.dataset.svelteH}function Lt(t,e,n){const i=new Set;for(let s=0;st.push(i))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function qt(t){return t===""?null:+t}function zt(t){return Array.from(t.childNodes)}function q(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function z(t,e,n,i,s=!1){q(t);const o=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const l=t[r];if(e(l)){const c=n(l);return c===void 0?t.splice(r,1):t[r]=c,s?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,l}}return i()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function B(t,e,n,i){return z(t,s=>s.nodeName===e,s=>{const o=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function Bt(t,e,n){return B(t,e,n,w)}function Ot(t,e,n){return B(t,e,n,P)}function et(t,e){return z(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function Rt(t){return et(t," ")}function D(t,e,n){for(let i=n;i{r.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{o=S(i.contentWindow,"resize",e),e()}),L(t,i),()=>{(s||o&&i.contentWindow)&&o(),b(i)}}function Qt(t,e,n){t.classList.toggle(e,!!n)}function it(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function Vt(t,e){const n=[];let i=0;for(const s of e.childNodes)if(s.nodeType===8){const o=s.textContent.trim();o===`HEAD_${t}_END`?(i-=1,n.push(s)):o===`HEAD_${t}_START`&&(i+=1,n.push(s))}else i>0&&n.push(s);return n}class st{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=P(n.nodeName):this.e=w(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n{const s=t.$$.callbacks[e];if(s){const o=it(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,o)}),!o.defaultPrevented}return!0}}function ne(t,e){return d().$$.context.set(t,e),e}function ie(t){return d().$$.context.get(t)}function se(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],H=[];let h=[];const T=[],O=Promise.resolve();let A=!1;function rt(){A||(A=!0,O.then(ct))}function re(){return rt(),O}function ot(t){h.push(t)}function oe(t){T.push(t)}const N=new Set;let _=0;function ct(){if(_!==0)return;const t=g;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),h=e}export{J as $,jt as A,Gt as B,S as C,oe as D,Et as E,kt as F,Qt as G,re as H,ot as I,Ft as J,Jt as K,Ut as L,Dt as M,qt as N,ee as O,E as P,Wt as Q,ft as R,d as S,v as T,ct as U,se as V,Zt as W,Yt as X,$t as Y,Xt as Z,vt as _,Ct as a,Pt as a0,Lt as a1,ht as a2,te as a3,X as a4,At as a5,it as a6,dt as a7,mt as a8,ce as a9,g as aa,U as ab,m as ac,rt as ad,Nt as ae,Tt as af,Kt as ag,wt as ah,ie as ai,ne as aj,K as ak,Ht as al,G as am,zt as b,Bt as c,et as d,w as e,b as f,Rt as g,Z as h,tt as i,It as j,pt as k,yt as l,xt as m,M as n,bt as o,Vt as p,ut as q,F as r,_t as s,k as t,gt as u,St as v,P as w,Ot as x,Mt as y,H as z}; +var W=Object.defineProperty;var I=(t,e,n)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>I(t,typeof e!="symbol"?e+"":e,n);function M(){}const ut=t=>t;function G(t,e){for(const n in e)t[n]=e[n];return t}function ft(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function U(t){return t()}function dt(){return Object.create(null)}function F(t){t.forEach(U)}function J(t){return typeof t=="function"}function _t(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function ht(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function mt(t){return Object.keys(t).length===0}function K(t,...e){if(t==null){for(const i of e)i(void 0);return M}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function pt(t,e,n){t.$$.on_destroy.push(K(e,n))}function yt(t,e,n,i){if(t){const s=j(t,e,n,i);return t[0](s)}}function j(t,e,n,i){return t[1]&&i?G(n.ctx.slice(),t[1](i(e))):n.ctx}function bt(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const o=[],r=Math.max(e.dirty.length,s.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function V(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:Q(1,s,R=>e[n[R]].claim_order,a))-1;i[c]=n[u]+1;const C=u+1;n[C]=c,s=Math.max(C,s)}const o=[],r=[];let l=e.length-1;for(let c=n[s]+1;c!=0;c=i[c-1]){for(o.push(e[c-1]);l>=c;l--)r.push(e[l]);l--}for(;l>=0;l--)r.push(e[l]);o.reverse(),r.sort((c,a)=>c.claim_order-a.claim_order);for(let c=0,a=0;c=o[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function Dt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ht(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Mt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function jt(t){return t.dataset.svelteH}function Lt(t,e,n){const i=new Set;for(let s=0;st.push(i))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function qt(t){return t===""?null:+t}function zt(t){return Array.from(t.childNodes)}function q(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function z(t,e,n,i,s=!1){q(t);const o=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const l=t[r];if(e(l)){const c=n(l);return c===void 0?t.splice(r,1):t[r]=c,s?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,l}}return i()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function B(t,e,n,i){return z(t,s=>s.nodeName===e,s=>{const o=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function Bt(t,e,n){return B(t,e,n,w)}function Ot(t,e,n){return B(t,e,n,P)}function et(t,e){return z(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function Rt(t){return et(t," ")}function D(t,e,n){for(let i=n;i{r.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{o=S(i.contentWindow,"resize",e),e()}),L(t,i),()=>{(s||o&&i.contentWindow)&&o(),b(i)}}function Qt(t,e,n){t.classList.toggle(e,!!n)}function it(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function Vt(t,e){const n=[];let i=0;for(const s of e.childNodes)if(s.nodeType===8){const o=s.textContent.trim();o===`HEAD_${t}_END`?(i-=1,n.push(s)):o===`HEAD_${t}_START`&&(i+=1,n.push(s))}else i>0&&n.push(s);return n}class st{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=P(n.nodeName):this.e=w(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n{const s=t.$$.callbacks[e];if(s){const o=it(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,o)}),!o.defaultPrevented}return!0}}function ne(t,e){return d().$$.context.set(t,e),e}function ie(t){return d().$$.context.get(t)}function se(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],H=[];let h=[];const T=[],O=Promise.resolve();let A=!1;function rt(){A||(A=!0,O.then(ct))}function re(){return rt(),O}function ot(t){h.push(t)}function oe(t){T.push(t)}const N=new Set;let _=0;function ct(){if(_!==0)return;const t=g;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),h=e}export{Lt as $,jt as A,Gt as B,S as C,oe as D,Et as E,kt as F,Qt as G,re as H,Ut as I,Dt as J,qt as K,ee as L,ot as M,E as N,Wt as O,ft as P,d as Q,v as R,ct as S,se as T,Zt as U,Yt as V,$t as W,Xt as X,vt as Y,J as Z,Pt as _,Ct as a,ht as a0,Ft as a1,te as a2,Jt as a3,X as a4,At as a5,it as a6,dt as a7,mt as a8,ce as a9,g as aa,U as ab,m as ac,rt as ad,Nt as ae,Tt as af,Kt as ag,wt as ah,ie as ai,ne as aj,K as ak,Ht as al,G as am,zt as b,Bt as c,et as d,w as e,b as f,Rt as g,Z as h,tt as i,It as j,pt as k,yt as l,xt as m,M as n,bt as o,Vt as p,ut as q,F as r,_t as s,k as t,gt as u,St as v,P as w,Ot as x,Mt as y,H as z}; diff --git a/gui/next/build/_app/immutable/chunks/state.HIdUDD3F.js b/gui/next/build/_app/immutable/chunks/state.HIdUDD3F.js deleted file mode 100644 index 8d20149f..00000000 --- a/gui/next/build/_app/immutable/chunks/state.HIdUDD3F.js +++ /dev/null @@ -1 +0,0 @@ -import{w as g}from"./index._Ft_Y0uu.js";const p=b();function b(){const r=localStorage.view?JSON.parse(localStorage.view):null,e={};e.header=localStorage.header?JSON.parse(localStorage.header):["database","users","logs"],e.online=void 0,e.logs={},e.logsv2={},e.logv2={},e.networks={},e.network={},e.tables=[],e.table={},e.view={database:r!=null&&r.database?r.database:"table",tableStyle:r!=null&&r.tableStyle?r.tableStyle:"collapsed"},e.records={},e.record=null,e.highlighted={record:null,constant:null},e.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}],deleted:"false"},e.sort={by:"created_at",order:"DESC"},e.notifications=[],e.asideWidth=localStorage.asideWidth?localStorage.asideWidth:!1;const{subscribe:s,set:d,update:i}=g(e),c=(a,t)=>{i(o=>(o[a]=t,o))},u=()=>{i(a=>(a.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}],deleted:"false"},a.sort={by:"created_at",order:"DESC"},a))};let n;const l=(a,t)=>{i(o=>(o.highlighted[a]=t,o)),clearTimeout(n),n=setTimeout(()=>{l("record",null),l("constant",null)},7e3)};return{subscribe:s,set:d,data:c,clearFilters:u,highlight:l,notification:{create:(a,t)=>{i(o=>(o.notifications.push({id:Date.now(),type:a,message:t}),o))},remove:a=>{i(t=>(t.notifications=t.notifications.filter(o=>o.id!==a),t))}},setView:a=>{i(t=>(t.view={...t.view,...a},localStorage.view=JSON.stringify(t.view),t))}}}export{p as s}; diff --git a/gui/next/build/_app/immutable/chunks/state.nqMW8J5l.js b/gui/next/build/_app/immutable/chunks/state.nqMW8J5l.js new file mode 100644 index 00000000..54b818ff --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/state.nqMW8J5l.js @@ -0,0 +1 @@ +import{w as g}from"./index.BVJghJ2L.js";const p=b();function b(){const o=localStorage.view?JSON.parse(localStorage.view):null,e={};e.header=localStorage.header?JSON.parse(localStorage.header):["database","users","logs"],e.online=void 0,e.logs={},e.logsv2={},e.logv2={},e.networks={},e.network={},e.tables=[],e.table={},e.view={database:o!=null&&o.database?o.database:"table",tableStyle:o!=null&&o.tableStyle?o.tableStyle:"collapsed"},e.records={},e.record=null,e.highlighted={record:null,constant:null},e.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}],deleted:"false"},e.sort={by:"created_at",order:"DESC"},e.notifications=[],e.asideWidth=localStorage.asideWidth?localStorage.asideWidth:!1,e.users=[];const{subscribe:s,set:d,update:i}=g(e),c=(a,t)=>{i(r=>(r[a]=t,r))},u=()=>{i(a=>(a.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}],deleted:"false"},a.sort={by:"created_at",order:"DESC"},a))};let n;const l=(a,t)=>{i(r=>(r.highlighted[a]=t,r)),clearTimeout(n),n=setTimeout(()=>{l("record",null),l("constant",null)},7e3)};return{subscribe:s,set:d,data:c,clearFilters:u,highlight:l,notification:{create:(a,t)=>{i(r=>(r.notifications.push({id:Date.now(),type:a,message:t}),r))},remove:a=>{i(t=>(t.notifications=t.notifications.filter(r=>r.id!==a),t))}},setView:a=>{i(t=>(t.view={...t.view,...a},localStorage.view=JSON.stringify(t.view),t))}}}export{p as s}; diff --git a/gui/next/build/_app/immutable/chunks/stores.D3n-8z5b.js b/gui/next/build/_app/immutable/chunks/stores.BLuxmlax.js similarity index 72% rename from gui/next/build/_app/immutable/chunks/stores.D3n-8z5b.js rename to gui/next/build/_app/immutable/chunks/stores.BLuxmlax.js index f7119fb8..b1ffecb9 100644 --- a/gui/next/build/_app/immutable/chunks/stores.D3n-8z5b.js +++ b/gui/next/build/_app/immutable/chunks/stores.BLuxmlax.js @@ -1 +1 @@ -import{s as e}from"./entry.DYTJR7db.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{s as e}from"./entry.COceLI_i.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/gui/next/build/_app/immutable/chunks/user.CRviTK4n.js b/gui/next/build/_app/immutable/chunks/user.CRviTK4n.js new file mode 100644 index 00000000..f0f6c33e --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/user.CRviTK4n.js @@ -0,0 +1,57 @@ +import{g as n}from"./graphql.BD1m7lx9.js";import{b as s}from"./buildMutationIngredients.BkeFH9yg.js";const p={get:async(e={})=>{let r="",a="";e.value&&(e.attribute==="email"?r+=`${e.attribute}: { contains: "${e.value}" }`:r+=`${e.attribute}: { value: "${e.value}" }`,(e==null?void 0:e.attribute)==="id"&&(e!=null&&e.value)&&(a=` + deleted_at + created_at + external_id + jwt_token + temporary_token + name + first_name + middle_name + last_name + slug + language + `));const t=` + query { + users( + page: ${(e==null?void 0:e.page)??1} + per_page: 50 + sort: { id: { order: DESC } } + filter: { + ${r} + } + ) { + current_page + total_pages + results { + id + email + ${a} + properties + } + } + }`;return n({query:t}).then(u=>u.users)},delete:async e=>{const r=` + mutation { + user_delete(id: ${e}){ id } + } + `;return n({query:r})},create:async(e,r,a)=>{const t=s(a),u=` + mutation${t.variablesDefinition} { + user: user_create(user: { email: "${e}", password: "${r}", properties: [${t.properties}] }) { + id + } + } + `;return n({query:u,variables:t.variables})},edit:async(e,r,a)=>{const t=s(a),u=` + mutation${t.variablesDefinition} { + user_update(user: { email: "${r}", properties: [${t.properties}] }, id: ${e}) { + id + } + } + `;return n({query:u,variables:t.variables})},getCustomProperties:async()=>n({query:` + query { + admin_user_schema { + properties { + attribute_type + name + } + } + } + `}).then(r=>r.admin_user_schema.properties)};export{p as u}; diff --git a/gui/next/build/_app/immutable/chunks/user.DoFwVcfx.js b/gui/next/build/_app/immutable/chunks/user.DoFwVcfx.js deleted file mode 100644 index 8c36ddd5..00000000 --- a/gui/next/build/_app/immutable/chunks/user.DoFwVcfx.js +++ /dev/null @@ -1,32 +0,0 @@ -import{g as o}from"./graphql.BD1m7lx9.js";const p={get:async(a={})=>{let e="",t="";a.value&&(a.attribute==="email"?e+=`${a.attribute}: { contains: "${a.value}" }`:e+=`${a.attribute}: { value: "${a.value}" }`,(a==null?void 0:a.attribute)==="id"&&(a!=null&&a.value)&&(t=` - deleted_at - created_at - external_id - jwt_token - temporary_token - name - first_name - middle_name - last_name - slug - language - properties - `));const u=` - query { - users( - page: ${(a==null?void 0:a.page)??1} - per_page: 50 - sort: { id: { order: ASC } } - filter: { - ${e} - } - ) { - current_page - total_pages - results { - id - email - ${t} - } - } - }`;return o({query:u}).then(n=>n.users)}};export{p as u}; diff --git a/gui/next/build/_app/immutable/entry/app.29ZgMR6r.js b/gui/next/build/_app/immutable/entry/app.29ZgMR6r.js new file mode 100644 index 00000000..8110af9b --- /dev/null +++ b/gui/next/build/_app/immutable/entry/app.29ZgMR6r.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DvMuco06.js","../chunks/scheduler.CKQ5dLhN.js","../chunks/index.CGVWAVV-.js","../chunks/stores.BLuxmlax.js","../chunks/entry.COceLI_i.js","../chunks/index.BVJghJ2L.js","../chunks/table.Cmn0kCDk.js","../chunks/graphql.BD1m7lx9.js","../chunks/state.nqMW8J5l.js","../chunks/Icon.CkKwi_WD.js","../chunks/each.BWzj3zy9.js","../chunks/index.WWWgbq8H.js","../assets/0.QmKtTD0U.css","../nodes/1.B1ovvcWz.js","../nodes/2.CeKUIDP3.js","../chunks/backgroundJob.cWe0itmY.js","../chunks/Number.B4JDnNHn.js","../assets/Number.AfD80Zdm.css","../assets/2.Cpa7KQFv.css","../nodes/3.DPd-OXBN.js","../nodes/4.DzlISiii.js","../assets/4.B9XykGLe.css","../nodes/5.DPd-OXBN.js","../nodes/6.BbecMI95.js","../chunks/globals.D0QH3NT1.js","../chunks/logsv2.twsCDidx.js","../assets/6.Dkbf0VAa.css","../nodes/7.DIZjSVTI.js","../chunks/network.hGAcGvnf.js","../chunks/Toggle.CtBEfrzX.js","../assets/Toggle.o--CU0Za.css","../assets/7.DGvLR7j3.css","../nodes/8.DaJnnOWR.js","../chunks/index.iVSWiVfi.js","../chunks/user.CRviTK4n.js","../chunks/buildMutationIngredients.BkeFH9yg.js","../chunks/parseValue.BxCUwhRQ.js","../chunks/tryParseJSON.x4PJc0Qf.js","../assets/8.CufhmNsu.css","../nodes/9.C0seAjWB.js","../assets/9.DZfDyU61.css","../nodes/10.BOVZRVUg.js","../nodes/11.DGqxXEVk.js","../chunks/Aside.CzwHeuWZ.js","../assets/Aside.HqXgbmTR.css","../chunks/JSONTree.B6rnjEUC.js","../assets/JSONTree.Do8jmj2M.css","../assets/11.O9jYhcLF.css","../nodes/12.DEQesRsU.js","../assets/12.PIDpwlWF.css","../nodes/13.BeNxU1VC.js","../nodes/14.DYE1QyX1.js","../assets/14.EFLSpW2v.css","../nodes/15.BII74jAo.js","../assets/15.DRRvXzxG.css","../nodes/16.BOVZRVUg.js","../nodes/17.CkW4N9sZ.js","../assets/17.DZjOGisr.css","../nodes/18.BOVZRVUg.js","../nodes/19.8Kp_zJo7.js","../assets/19.CBlI4doA.css","../nodes/20.CuxZsU7V.js","../nodes/21.CCu7Jrf_.js","../assets/21.BIXMQND7.css"])))=>i.map(i=>d[i]); +import{s as B,a as j,v as p,g as J,i as w,f as g,W,U as z,e as H,c as X,b as F,y,I as R,t as G,d as K,j as Q,z as T,X as b,H as Y}from"../chunks/scheduler.CKQ5dLhN.js";import{S as Z,i as M,a as d,e as I,t as h,g as D,c as v,d as V,m as k,f as P}from"../chunks/index.CGVWAVV-.js";const x="modulepreload",ee=function(_,e){return new URL(_,e).href},S={},u=function(e,i,s){let r=Promise.resolve();if(i&&i.length>0){const t=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),o=(n==null?void 0:n.nonce)||(n==null?void 0:n.getAttribute("nonce"));r=Promise.allSettled(i.map(l=>{if(l=ee(l,s),l in S)return;S[l]=!0;const a=l.endsWith(".css"),m=a?'[rel="stylesheet"]':"";if(!!s)for(let A=t.length-1;A>=0;A--){const O=t[A];if(O.href===l&&(!a||O.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${m}`))return;const E=document.createElement("link");if(E.rel=a?"stylesheet":x,a||(E.as="script"),E.crossOrigin="",E.href=l,o&&E.setAttribute("nonce",o),document.head.appendChild(E),a)return new Promise((A,O)=>{E.addEventListener("load",A),E.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${l}`)))})}))}function c(t){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=t,window.dispatchEvent(n),!n.defaultPrevented)throw t}return r.then(t=>{for(const n of t||[])n.status==="rejected"&&c(n.reason);return e().catch(c)})},ce={};function te(_){let e,i,s;var r=_[1][0];function c(t,n){return{props:{data:t[3],form:t[2]}}}return r&&(e=b(r,c(_)),_[15](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][0])){if(e){D();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),I()}r?(e=b(r,c(t)),t[15](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&8&&(o.data=t[3]),n&4&&(o.form=t[2]),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[15](null),e&&P(e,t)}}}function ie(_){let e,i,s;var r=_[1][0];function c(t,n){return{props:{data:t[3],$$slots:{default:[se]},$$scope:{ctx:t}}}}return r&&(e=b(r,c(_)),_[14](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][0])){if(e){D();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),I()}r?(e=b(r,c(t)),t[14](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&8&&(o.data=t[3]),n&65591&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[14](null),e&&P(e,t)}}}function ne(_){let e,i,s;var r=_[1][1];function c(t,n){return{props:{data:t[4],form:t[2]}}}return r&&(e=b(r,c(_)),_[13](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][1])){if(e){D();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),I()}r?(e=b(r,c(t)),t[13](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&16&&(o.data=t[4]),n&4&&(o.form=t[2]),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[13](null),e&&P(e,t)}}}function re(_){let e,i,s;var r=_[1][1];function c(t,n){return{props:{data:t[4],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return r&&(e=b(r,c(_)),_[12](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][1])){if(e){D();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),I()}r?(e=b(r,c(t)),t[12](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&16&&(o.data=t[4]),n&65575&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[12](null),e&&P(e,t)}}}function oe(_){let e,i,s;var r=_[1][2];function c(t,n){return{props:{data:t[5],form:t[2]}}}return r&&(e=b(r,c(_)),_[11](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][2])){if(e){D();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),I()}r?(e=b(r,c(t)),t[11](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&32&&(o.data=t[5]),n&4&&(o.form=t[2]),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[11](null),e&&P(e,t)}}}function se(_){let e,i,s,r;const c=[re,ne],t=[];function n(o,l){return o[1][2]?0:1}return e=n(_),i=t[e]=c[e](_),{c(){i.c(),s=p()},l(o){i.l(o),s=p()},m(o,l){t[e].m(o,l),w(o,s,l),r=!0},p(o,l){let a=e;e=n(o),e===a?t[e].p(o,l):(D(),d(t[a],1,1,()=>{t[a]=null}),I(),i=t[e],i?i.p(o,l):(i=t[e]=c[e](o),i.c()),h(i,1),i.m(s.parentNode,s))},i(o){r||(h(i),r=!0)},o(o){d(i),r=!1},d(o){o&&g(s),t[e].d(o)}}}function $(_){let e,i=_[7]&&N(_);return{c(){e=H("div"),i&&i.c(),this.h()},l(s){e=X(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=F(e);i&&i.l(r),r.forEach(g),this.h()},h(){y(e,"id","svelte-announcer"),y(e,"aria-live","assertive"),y(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(s,r){w(s,e,r),i&&i.m(e,null)},p(s,r){s[7]?i?i.p(s,r):(i=N(s),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(s){s&&g(e),i&&i.d()}}}function N(_){let e;return{c(){e=G(_[8])},l(i){e=K(i,_[8])},m(i,s){w(i,e,s)},p(i,s){s&256&&Q(e,i[8])},d(i){i&&g(e)}}}function _e(_){let e,i,s,r,c;const t=[ie,te],n=[];function o(a,m){return a[1][1]?0:1}e=o(_),i=n[e]=t[e](_);let l=_[6]&&$(_);return{c(){i.c(),s=j(),l&&l.c(),r=p()},l(a){i.l(a),s=J(a),l&&l.l(a),r=p()},m(a,m){n[e].m(a,m),w(a,s,m),l&&l.m(a,m),w(a,r,m),c=!0},p(a,[m]){let L=e;e=o(a),e===L?n[e].p(a,m):(D(),d(n[L],1,1,()=>{n[L]=null}),I(),i=n[e],i?i.p(a,m):(i=n[e]=t[e](a),i.c()),h(i,1),i.m(s.parentNode,s)),a[6]?l?l.p(a,m):(l=$(a),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},i(a){c||(h(i),c=!0)},o(a){d(i),c=!1},d(a){a&&(g(s),g(r)),n[e].d(a),l&&l.d(a)}}}function ae(_,e,i){let{stores:s}=e,{page:r}=e,{constructors:c}=e,{components:t=[]}=e,{form:n}=e,{data_0:o=null}=e,{data_1:l=null}=e,{data_2:a=null}=e;W(s.page.notify);let m=!1,L=!1,E=null;z(()=>{const f=s.page.subscribe(()=>{m&&(i(7,L=!0),Y().then(()=>{i(8,E=document.title||"untitled page")}))});return i(6,m=!0),f});function A(f){T[f?"unshift":"push"](()=>{t[2]=f,i(0,t)})}function O(f){T[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function C(f){T[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function U(f){T[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}function q(f){T[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}return _.$$set=f=>{"stores"in f&&i(9,s=f.stores),"page"in f&&i(10,r=f.page),"constructors"in f&&i(1,c=f.constructors),"components"in f&&i(0,t=f.components),"form"in f&&i(2,n=f.form),"data_0"in f&&i(3,o=f.data_0),"data_1"in f&&i(4,l=f.data_1),"data_2"in f&&i(5,a=f.data_2)},_.$$.update=()=>{_.$$.dirty&1536&&s.page.set(r)},[t,c,n,o,l,a,m,L,E,s,r,A,O,C,U,q]}class ue extends Z{constructor(e){super(),M(this,e,ae,_e,B,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>u(()=>import("../nodes/0.DvMuco06.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),()=>u(()=>import("../nodes/1.B1ovvcWz.js"),__vite__mapDeps([13,1,2,3,4,5]),import.meta.url),()=>u(()=>import("../nodes/2.CeKUIDP3.js"),__vite__mapDeps([14,1,2,10,4,5,3,15,7,8,9,16,17,18]),import.meta.url),()=>u(()=>import("../nodes/3.DPd-OXBN.js"),__vite__mapDeps([19,1,2]),import.meta.url),()=>u(()=>import("../nodes/4.DzlISiii.js"),__vite__mapDeps([20,1,2,10,11,3,4,5,8,6,7,9,21]),import.meta.url),()=>u(()=>import("../nodes/5.DPd-OXBN.js"),__vite__mapDeps([22,1,2]),import.meta.url),()=>u(()=>import("../nodes/6.BbecMI95.js"),__vite__mapDeps([23,1,2,24,10,4,5,3,25,8,9,16,17,26]),import.meta.url),()=>u(()=>import("../nodes/7.DIZjSVTI.js"),__vite__mapDeps([27,1,2,10,4,5,3,28,8,29,11,9,30,24,31]),import.meta.url),()=>u(()=>import("../nodes/8.DaJnnOWR.js"),__vite__mapDeps([32,1,2,24,10,4,5,8,33,3,34,7,35,29,11,9,30,36,37,16,17,38]),import.meta.url),()=>u(()=>import("../nodes/9.C0seAjWB.js"),__vite__mapDeps([39,1,2,11,8,5,6,7,9,40]),import.meta.url),()=>u(()=>import("../nodes/10.BOVZRVUg.js"),__vite__mapDeps([41,1,2]),import.meta.url),()=>u(()=>import("../nodes/11.DGqxXEVk.js"),__vite__mapDeps([42,1,2,3,4,5,15,7,43,24,33,8,9,44,45,10,46,47]),import.meta.url),()=>u(()=>import("../nodes/12.DEQesRsU.js"),__vite__mapDeps([48,1,2,10,11,7,8,5,9,49]),import.meta.url),()=>u(()=>import("../nodes/13.BeNxU1VC.js"),__vite__mapDeps([50,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/14.DYE1QyX1.js"),__vite__mapDeps([51,1,2,24,3,4,5,8,7,35,9,10,36,37,29,11,30,45,46,33,16,17,52]),import.meta.url),()=>u(()=>import("../nodes/15.BII74jAo.js"),__vite__mapDeps([53,1,2,24,10,11,8,5,37,45,46,9,43,33,44,54]),import.meta.url),()=>u(()=>import("../nodes/16.BOVZRVUg.js"),__vite__mapDeps([55,1,2]),import.meta.url),()=>u(()=>import("../nodes/17.CkW4N9sZ.js"),__vite__mapDeps([56,1,2,3,4,5,25,8,37,43,24,33,9,44,45,10,46,57]),import.meta.url),()=>u(()=>import("../nodes/18.BOVZRVUg.js"),__vite__mapDeps([58,1,2]),import.meta.url),()=>u(()=>import("../nodes/19.8Kp_zJo7.js"),__vite__mapDeps([59,1,2,3,4,5,28,8,43,24,33,9,44,60]),import.meta.url),()=>u(()=>import("../nodes/20.CuxZsU7V.js"),__vite__mapDeps([61,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/21.CCu7Jrf_.js"),__vite__mapDeps([62,1,2,10,3,4,5,34,7,35,8,37,43,24,33,9,44,45,46,63]),import.meta.url)],pe=[],de={"/":[9],"/backgroundJobs":[10,[2]],"/backgroundJobs/[type]/[id]":[11,[2]],"/constants":[12,[3]],"/database":[13,[4]],"/database/table/[id]":[14,[4]],"/logsv2":[16,[6]],"/logsv2/[id]":[17,[6]],"/logs":[15,[5]],"/network":[18,[7]],"/network/[id]":[19,[7]],"/users":[20,[8]],"/users/[id]":[21,[8]]},he={handleError:({error:_})=>{console.error(_)},reroute:()=>{}};export{de as dictionary,he as hooks,ce as matchers,me as nodes,ue as root,pe as server_loads}; diff --git a/gui/next/build/_app/immutable/entry/app.BicbsDjJ.js b/gui/next/build/_app/immutable/entry/app.BicbsDjJ.js deleted file mode 100644 index 2fb91724..00000000 --- a/gui/next/build/_app/immutable/entry/app.BicbsDjJ.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.ChlVxG4J.js","../chunks/scheduler.ts1nwYMk.js","../chunks/index.MbwxngTa.js","../chunks/stores.D3n-8z5b.js","../chunks/entry.DYTJR7db.js","../chunks/index._Ft_Y0uu.js","../chunks/table.Cmn0kCDk.js","../chunks/graphql.BD1m7lx9.js","../chunks/state.HIdUDD3F.js","../chunks/Icon.Dn_EaQMz.js","../chunks/each.CLm8ZDgo.js","../chunks/index.CqFcJeJT.js","../assets/0.x3vwhaW_.css","../nodes/1.B0aapXaN.js","../nodes/2.CTxrVJ4D.js","../chunks/backgroundJob.cWe0itmY.js","../chunks/Number.CAl2R2zF.js","../assets/Number.AfD80Zdm.css","../assets/2.Cpa7KQFv.css","../nodes/3.DyenRAs8.js","../nodes/4.5JY42VyP.js","../assets/4.B9XykGLe.css","../nodes/5.DyenRAs8.js","../nodes/6.DJhvQLND.js","../chunks/globals.D0QH3NT1.js","../chunks/logsv2.twsCDidx.js","../assets/6.Dkbf0VAa.css","../nodes/7.ClLBq3fR.js","../chunks/network.hGAcGvnf.js","../chunks/Toggle.CWtzvS12.js","../assets/Toggle.o--CU0Za.css","../assets/7.DGvLR7j3.css","../nodes/8.CrMYtLGM.js","../chunks/index.iVSWiVfi.js","../chunks/user.DoFwVcfx.js","../assets/8.DAfI7j3B.css","../nodes/9.PAOdTmqJ.js","../assets/9.DZfDyU61.css","../nodes/10.B4CVDEiO.js","../nodes/11.CZeveHaM.js","../chunks/Aside.FJrLQRZc.js","../assets/Aside.DQ_vjQJ1.css","../chunks/JSONTree.DHR6A5Hv.js","../assets/JSONTree.Do8jmj2M.css","../assets/11.O9jYhcLF.css","../nodes/12.HivH1Y6E.js","../assets/12.PIDpwlWF.css","../nodes/13.r_3bELzf.js","../nodes/14.BgWr4nmh.js","../chunks/tryParseJSON.x4PJc0Qf.js","../assets/14.EFLSpW2v.css","../nodes/15.uXMwD0hE.js","../assets/15.DRRvXzxG.css","../nodes/16.B4CVDEiO.js","../nodes/17.CoMZbpsD.js","../assets/17.DZjOGisr.css","../nodes/18.B4CVDEiO.js","../nodes/19.C0hiqF8w.js","../assets/19.CBlI4doA.css","../nodes/20.CzdMIE4e.js","../nodes/21.uJufYIoT.js","../assets/21.BIXMQND7.css"])))=>i.map(i=>d[i]); -import{s as U,a as j,v as p,g as J,i as w,f as g,Y as W,W as z,e as H,c as Y,b as Z,y,L as R,t as F,d as G,j as K,z as T,Z as b,H as Q}from"../chunks/scheduler.ts1nwYMk.js";import{S as X,i as M,a as d,e as D,t as h,g as I,c as v,d as V,m as k,f as P}from"../chunks/index.MbwxngTa.js";const x="modulepreload",ee=function(_,e){return new URL(_,e).href},S={},u=function(e,i,s){let r=Promise.resolve();if(i&&i.length>0){const t=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),o=(n==null?void 0:n.nonce)||(n==null?void 0:n.getAttribute("nonce"));r=Promise.allSettled(i.map(l=>{if(l=ee(l,s),l in S)return;S[l]=!0;const a=l.endsWith(".css"),m=a?'[rel="stylesheet"]':"";if(!!s)for(let A=t.length-1;A>=0;A--){const O=t[A];if(O.href===l&&(!a||O.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${m}`))return;const E=document.createElement("link");if(E.rel=a?"stylesheet":x,a||(E.as="script"),E.crossOrigin="",E.href=l,o&&E.setAttribute("nonce",o),document.head.appendChild(E),a)return new Promise((A,O)=>{E.addEventListener("load",A),E.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${l}`)))})}))}function c(t){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=t,window.dispatchEvent(n),!n.defaultPrevented)throw t}return r.then(t=>{for(const n of t||[])n.status==="rejected"&&c(n.reason);return e().catch(c)})},ce={};function te(_){let e,i,s;var r=_[1][0];function c(t,n){return{props:{data:t[3],form:t[2]}}}return r&&(e=b(r,c(_)),_[15](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][0])){if(e){I();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),D()}r?(e=b(r,c(t)),t[15](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&8&&(o.data=t[3]),n&4&&(o.form=t[2]),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[15](null),e&&P(e,t)}}}function ie(_){let e,i,s;var r=_[1][0];function c(t,n){return{props:{data:t[3],$$slots:{default:[se]},$$scope:{ctx:t}}}}return r&&(e=b(r,c(_)),_[14](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][0])){if(e){I();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),D()}r?(e=b(r,c(t)),t[14](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&8&&(o.data=t[3]),n&65591&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[14](null),e&&P(e,t)}}}function ne(_){let e,i,s;var r=_[1][1];function c(t,n){return{props:{data:t[4],form:t[2]}}}return r&&(e=b(r,c(_)),_[13](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][1])){if(e){I();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),D()}r?(e=b(r,c(t)),t[13](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&16&&(o.data=t[4]),n&4&&(o.form=t[2]),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[13](null),e&&P(e,t)}}}function re(_){let e,i,s;var r=_[1][1];function c(t,n){return{props:{data:t[4],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return r&&(e=b(r,c(_)),_[12](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][1])){if(e){I();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),D()}r?(e=b(r,c(t)),t[12](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&16&&(o.data=t[4]),n&65575&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[12](null),e&&P(e,t)}}}function oe(_){let e,i,s;var r=_[1][2];function c(t,n){return{props:{data:t[5],form:t[2]}}}return r&&(e=b(r,c(_)),_[11](e)),{c(){e&&v(e.$$.fragment),i=p()},l(t){e&&V(e.$$.fragment,t),i=p()},m(t,n){e&&k(e,t,n),w(t,i,n),s=!0},p(t,n){if(n&2&&r!==(r=t[1][2])){if(e){I();const o=e;d(o.$$.fragment,1,0,()=>{P(o,1)}),D()}r?(e=b(r,c(t)),t[11](e),v(e.$$.fragment),h(e.$$.fragment,1),k(e,i.parentNode,i)):e=null}else if(r){const o={};n&32&&(o.data=t[5]),n&4&&(o.form=t[2]),e.$set(o)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(i),_[11](null),e&&P(e,t)}}}function se(_){let e,i,s,r;const c=[re,ne],t=[];function n(o,l){return o[1][2]?0:1}return e=n(_),i=t[e]=c[e](_),{c(){i.c(),s=p()},l(o){i.l(o),s=p()},m(o,l){t[e].m(o,l),w(o,s,l),r=!0},p(o,l){let a=e;e=n(o),e===a?t[e].p(o,l):(I(),d(t[a],1,1,()=>{t[a]=null}),D(),i=t[e],i?i.p(o,l):(i=t[e]=c[e](o),i.c()),h(i,1),i.m(s.parentNode,s))},i(o){r||(h(i),r=!0)},o(o){d(i),r=!1},d(o){o&&g(s),t[e].d(o)}}}function $(_){let e,i=_[7]&&N(_);return{c(){e=H("div"),i&&i.c(),this.h()},l(s){e=Y(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=Z(e);i&&i.l(r),r.forEach(g),this.h()},h(){y(e,"id","svelte-announcer"),y(e,"aria-live","assertive"),y(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(s,r){w(s,e,r),i&&i.m(e,null)},p(s,r){s[7]?i?i.p(s,r):(i=N(s),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(s){s&&g(e),i&&i.d()}}}function N(_){let e;return{c(){e=F(_[8])},l(i){e=G(i,_[8])},m(i,s){w(i,e,s)},p(i,s){s&256&&K(e,i[8])},d(i){i&&g(e)}}}function _e(_){let e,i,s,r,c;const t=[ie,te],n=[];function o(a,m){return a[1][1]?0:1}e=o(_),i=n[e]=t[e](_);let l=_[6]&&$(_);return{c(){i.c(),s=j(),l&&l.c(),r=p()},l(a){i.l(a),s=J(a),l&&l.l(a),r=p()},m(a,m){n[e].m(a,m),w(a,s,m),l&&l.m(a,m),w(a,r,m),c=!0},p(a,[m]){let L=e;e=o(a),e===L?n[e].p(a,m):(I(),d(n[L],1,1,()=>{n[L]=null}),D(),i=n[e],i?i.p(a,m):(i=n[e]=t[e](a),i.c()),h(i,1),i.m(s.parentNode,s)),a[6]?l?l.p(a,m):(l=$(a),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},i(a){c||(h(i),c=!0)},o(a){d(i),c=!1},d(a){a&&(g(s),g(r)),n[e].d(a),l&&l.d(a)}}}function ae(_,e,i){let{stores:s}=e,{page:r}=e,{constructors:c}=e,{components:t=[]}=e,{form:n}=e,{data_0:o=null}=e,{data_1:l=null}=e,{data_2:a=null}=e;W(s.page.notify);let m=!1,L=!1,E=null;z(()=>{const f=s.page.subscribe(()=>{m&&(i(7,L=!0),Q().then(()=>{i(8,E=document.title||"untitled page")}))});return i(6,m=!0),f});function A(f){T[f?"unshift":"push"](()=>{t[2]=f,i(0,t)})}function O(f){T[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function C(f){T[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function q(f){T[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}function B(f){T[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}return _.$$set=f=>{"stores"in f&&i(9,s=f.stores),"page"in f&&i(10,r=f.page),"constructors"in f&&i(1,c=f.constructors),"components"in f&&i(0,t=f.components),"form"in f&&i(2,n=f.form),"data_0"in f&&i(3,o=f.data_0),"data_1"in f&&i(4,l=f.data_1),"data_2"in f&&i(5,a=f.data_2)},_.$$.update=()=>{_.$$.dirty&1536&&s.page.set(r)},[t,c,n,o,l,a,m,L,E,s,r,A,O,C,q,B]}class ue extends X{constructor(e){super(),M(this,e,ae,_e,U,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>u(()=>import("../nodes/0.ChlVxG4J.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),()=>u(()=>import("../nodes/1.B0aapXaN.js"),__vite__mapDeps([13,1,2,3,4,5]),import.meta.url),()=>u(()=>import("../nodes/2.CTxrVJ4D.js"),__vite__mapDeps([14,1,2,10,4,5,3,15,7,8,9,16,17,18]),import.meta.url),()=>u(()=>import("../nodes/3.DyenRAs8.js"),__vite__mapDeps([19,1,2]),import.meta.url),()=>u(()=>import("../nodes/4.5JY42VyP.js"),__vite__mapDeps([20,1,2,10,11,3,4,5,8,6,7,9,21]),import.meta.url),()=>u(()=>import("../nodes/5.DyenRAs8.js"),__vite__mapDeps([22,1,2]),import.meta.url),()=>u(()=>import("../nodes/6.DJhvQLND.js"),__vite__mapDeps([23,1,2,24,10,4,5,3,25,8,9,16,17,26]),import.meta.url),()=>u(()=>import("../nodes/7.ClLBq3fR.js"),__vite__mapDeps([27,1,2,10,4,5,3,28,8,29,11,9,30,24,31]),import.meta.url),()=>u(()=>import("../nodes/8.CrMYtLGM.js"),__vite__mapDeps([32,1,2,24,10,4,5,8,33,3,34,7,9,16,17,35]),import.meta.url),()=>u(()=>import("../nodes/9.PAOdTmqJ.js"),__vite__mapDeps([36,1,2,11,8,5,6,7,9,37]),import.meta.url),()=>u(()=>import("../nodes/10.B4CVDEiO.js"),__vite__mapDeps([38,1,2]),import.meta.url),()=>u(()=>import("../nodes/11.CZeveHaM.js"),__vite__mapDeps([39,1,2,3,4,5,15,7,40,24,33,8,9,41,42,10,43,44]),import.meta.url),()=>u(()=>import("../nodes/12.HivH1Y6E.js"),__vite__mapDeps([45,1,2,10,11,7,8,5,9,46]),import.meta.url),()=>u(()=>import("../nodes/13.r_3bELzf.js"),__vite__mapDeps([47,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/14.BgWr4nmh.js"),__vite__mapDeps([48,1,2,24,3,4,5,8,7,9,10,49,29,11,30,42,43,33,16,17,50]),import.meta.url),()=>u(()=>import("../nodes/15.uXMwD0hE.js"),__vite__mapDeps([51,1,2,24,10,11,8,5,49,42,43,9,40,33,41,52]),import.meta.url),()=>u(()=>import("../nodes/16.B4CVDEiO.js"),__vite__mapDeps([53,1,2]),import.meta.url),()=>u(()=>import("../nodes/17.CoMZbpsD.js"),__vite__mapDeps([54,1,2,3,4,5,25,8,49,40,24,33,9,41,42,10,43,55]),import.meta.url),()=>u(()=>import("../nodes/18.B4CVDEiO.js"),__vite__mapDeps([56,1,2]),import.meta.url),()=>u(()=>import("../nodes/19.C0hiqF8w.js"),__vite__mapDeps([57,1,2,3,4,5,28,8,40,24,33,9,41,58]),import.meta.url),()=>u(()=>import("../nodes/20.CzdMIE4e.js"),__vite__mapDeps([59,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/21.uJufYIoT.js"),__vite__mapDeps([60,1,2,10,3,4,5,34,7,8,49,40,24,33,9,41,42,43,61]),import.meta.url)],pe=[],de={"/":[9],"/backgroundJobs":[10,[2]],"/backgroundJobs/[type]/[id]":[11,[2]],"/constants":[12,[3]],"/database":[13,[4]],"/database/table/[id]":[14,[4]],"/logsv2":[16,[6]],"/logsv2/[id]":[17,[6]],"/logs":[15,[5]],"/network":[18,[7]],"/network/[id]":[19,[7]],"/users":[20,[8]],"/users/[id]":[21,[8]]},he={handleError:({error:_})=>{console.error(_)},reroute:()=>{}};export{de as dictionary,he as hooks,ce as matchers,me as nodes,ue as root,pe as server_loads}; diff --git a/gui/next/build/_app/immutable/entry/start.ChmWk0DI.js b/gui/next/build/_app/immutable/entry/start.ChmWk0DI.js new file mode 100644 index 00000000..fce319bb --- /dev/null +++ b/gui/next/build/_app/immutable/entry/start.ChmWk0DI.js @@ -0,0 +1 @@ +import{c as a}from"../chunks/entry.COceLI_i.js";export{a as start}; diff --git a/gui/next/build/_app/immutable/entry/start.eXT6gVDC.js b/gui/next/build/_app/immutable/entry/start.eXT6gVDC.js deleted file mode 100644 index c01a8b6d..00000000 --- a/gui/next/build/_app/immutable/entry/start.eXT6gVDC.js +++ /dev/null @@ -1 +0,0 @@ -import{c as a}from"../chunks/entry.DYTJR7db.js";export{a as start}; diff --git a/gui/next/build/_app/immutable/nodes/0.ChlVxG4J.js b/gui/next/build/_app/immutable/nodes/0.DvMuco06.js similarity index 68% rename from gui/next/build/_app/immutable/nodes/0.ChlVxG4J.js rename to gui/next/build/_app/immutable/nodes/0.DvMuco06.js index b16981e7..0ac166fa 100644 --- a/gui/next/build/_app/immutable/nodes/0.ChlVxG4J.js +++ b/gui/next/build/_app/immutable/nodes/0.DvMuco06.js @@ -1 +1 @@ -import{s as pe,e as g,a as C,c as $,b as z,A as O,g as M,f as d,y as u,G as L,i as T,h as p,k as fe,C as Me,r as Ge,n as Q,E as Ee,t as Ve,d as Ae,j as Qe,v as qe,W as Ye,L as Ne,I as Ie,ag as Xe,Y as Ze,P as et,Q as tt,l as st,u as lt,m as at,o as nt}from"../chunks/scheduler.ts1nwYMk.js";import{S as de,i as me,t as _,g as K,a as w,e as j,c as U,d as y,m as D,f as J,h as he}from"../chunks/index.MbwxngTa.js";import{p as it}from"../chunks/stores.D3n-8z5b.js";import{t as rt}from"../chunks/table.Cmn0kCDk.js";import{s as G}from"../chunks/state.HIdUDD3F.js";import{I as F}from"../chunks/Icon.Dn_EaQMz.js";import{e as Pe,u as ot,o as ct}from"../chunks/each.CLm8ZDgo.js";import{f as ue}from"../chunks/index.CqFcJeJT.js";function Le(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function Ce(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function ft(o){var n;let t,e=((n=o[0].online)==null?void 0:n.MPKIT_URL.replace("https://",""))+"",l,i;return{c(){t=g("a"),l=Ve(e),this.h()},l(c){t=$(c,"A",{href:!0});var a=z(t);l=Ae(a,e),a.forEach(d),this.h()},h(){var c;u(t,"href",i=(c=o[0].online)==null?void 0:c.MPKIT_URL)},m(c,a){T(c,t,a),p(t,l)},p(c,a){var s,r;a&1&&e!==(e=((s=c[0].online)==null?void 0:s.MPKIT_URL.replace("https://",""))+"")&&Qe(l,e),a&1&&i!==(i=(r=c[0].online)==null?void 0:r.MPKIT_URL)&&u(t,"href",i)},d(c){c&&d(t)}}}function ht(o){let t;return{c(){t=Ve("disconnected")},l(e){t=Ae(e,"disconnected")},m(e,l){T(e,t,l)},p:Q,d(e){e&&d(t)}}}function ut(o){let t;return{c(){t=Ve("connecting…")},l(e){t=Ae(e,"connecting…")},m(e,l){T(e,t,l)},p:Q,d(e){e&&d(t)}}}function Te(o){let t,e,l,i,n,c="Database",a,s,r;return l=new F({props:{icon:"database"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(f){t=$(f,"LI",{class:!0});var E=z(t);e=$(E,"A",{href:!0,class:!0});var b=z(e);y(l.$$.fragment,b),i=M(b),n=$(b,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-xe6gx4"&&(n.textContent=c),b.forEach(d),E.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/database"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/database")),u(t,"class","svelte-uthxgc")},m(f,E){T(f,t,E),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0,s||(r=[Me(e,"focus",o[2],{once:!0}),Me(e,"mouseover",o[2],{once:!0})],s=!0)},p(f,E){(!a||E&2)&&L(e,"active",f[1].url.pathname.startsWith("/database"))},i(f){a||(_(l.$$.fragment,f),a=!0)},o(f){w(l.$$.fragment,f),a=!1},d(f){f&&d(t),J(l),s=!1,Ge(r)}}}function We(o){let t,e,l,i,n,c="Users",a;return l=new F({props:{icon:"users"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-o38ms3"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/users"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/users")),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/users"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function Ue(o){let t,e,l,i,n,c="Logs",a;return l=new F({props:{icon:"log"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-17j55om"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname==="/logs"),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname==="/logs")},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function ye(o){let t,e,l,i,n,c="Logs v2",a;return l=new F({props:{icon:"logFresh"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-taaagi"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logsv2"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/logsv2")),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/logsv2"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function De(o){let t,e,l,i,n,c="Network Logs",a;return l=new F({props:{icon:"globeMessage"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-1d3zf0k"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/network"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/network")),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/network"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function Je(o){let t,e,l,i,n,c="Background Jobs",a;return l=new F({props:{icon:"backgroundJob"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-fuvc8n"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/backgroundJobs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/backgroundJobs")),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/backgroundJobs"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function Oe(o){let t,e,l,i,n,c="Constants",a;return l=new F({props:{icon:"constant"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-s4kqu"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/constants"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/constants")),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/constants"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function Re(o){let t,e,l,i,n,c="Liquid Evaluator",a;return l=new F({props:{icon:"liquid"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-1k272bg"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/liquid"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p:Q,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function Be(o){let t,e,l,i,n,c="GraphiQL",a;return l=new F({props:{icon:"graphql"}}),{c(){t=g("li"),e=g("a"),U(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-pzl6ct"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/graphql"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){T(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p:Q,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),J(l)}}}function pt(o){let t,e,l,i,n='',c,a,s,r=' platformOS development tools',f,E,b,m,h,B=o[0].header.includes("database"),X,ve=o[0].header.includes("users"),Z,_e=o[0].header.includes("logs"),ee,ge=o[0].header.includes("logsv2"),te,$e=o[0].header.includes("network"),se,be=o[0].header.includes("backgroundJobs"),le,ke=o[0].header.includes("constants"),ae,we=o[0].header.includes("liquid"),ne,ze=o[0].header.includes("graphiql"),Y;function xe(v,k){return v[0].online===void 0?ut:v[0].online===!1?ht:ft}let ie=xe(o),R=ie(o),I=B&&Te(o),V=ve&&We(o),A=_e&&Ue(o),x=ge&&ye(o),H=$e&&De(o),S=be&&Je(o),q=ke&&Oe(o),N=we&&Re(Ce(o)),P=ze&&Be(Le(o));return{c(){t=g("header"),e=g("div"),l=g("div"),i=g("a"),i.innerHTML=n,c=C(),a=g("h1"),s=g("a"),s.innerHTML=r,f=C(),E=g("span"),R.c(),b=C(),m=g("nav"),h=g("ul"),I&&I.c(),X=C(),V&&V.c(),Z=C(),A&&A.c(),ee=C(),x&&x.c(),te=C(),H&&H.c(),se=C(),S&&S.c(),le=C(),q&&q.c(),ae=C(),N&&N.c(),ne=C(),P&&P.c(),this.h()},l(v){t=$(v,"HEADER",{class:!0});var k=z(t);e=$(k,"DIV",{class:!0});var re=z(e);l=$(re,"DIV",{class:!0});var oe=z(l);i=$(oe,"A",{href:!0,"data-svelte-h":!0}),O(i)!=="svelte-1nhlu7c"&&(i.innerHTML=n),c=M(oe),a=$(oe,"H1",{class:!0});var ce=z(a);s=$(ce,"A",{href:!0,class:!0,"data-svelte-h":!0}),O(s)!=="svelte-z2lbz1"&&(s.innerHTML=r),f=M(ce),E=$(ce,"SPAN",{class:!0});var He=z(E);R.l(He),He.forEach(d),ce.forEach(d),oe.forEach(d),b=M(re),m=$(re,"NAV",{class:!0});var Se=z(m);h=$(Se,"UL",{class:!0});var W=z(h);I&&I.l(W),X=M(W),V&&V.l(W),Z=M(W),A&&A.l(W),ee=M(W),x&&x.l(W),te=M(W),H&&H.l(W),se=M(W),S&&S.l(W),le=M(W),q&&q.l(W),ae=M(W),N&&N.l(W),ne=M(W),P&&P.l(W),W.forEach(d),Se.forEach(d),re.forEach(d),k.forEach(d),this.h()},h(){u(i,"href","/"),u(s,"href","/"),u(s,"class","svelte-uthxgc"),u(E,"class","instance svelte-uthxgc"),L(E,"offline",!o[0].online),u(a,"class","svelte-uthxgc"),u(l,"class","logo svelte-uthxgc"),u(h,"class","svelte-uthxgc"),u(m,"class","svelte-uthxgc"),u(e,"class","wrapper svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(v,k){T(v,t,k),p(t,e),p(e,l),p(l,i),p(l,c),p(l,a),p(a,s),p(a,f),p(a,E),R.m(E,null),p(e,b),p(e,m),p(m,h),I&&I.m(h,null),p(h,X),V&&V.m(h,null),p(h,Z),A&&A.m(h,null),p(h,ee),x&&x.m(h,null),p(h,te),H&&H.m(h,null),p(h,se),S&&S.m(h,null),p(h,le),q&&q.m(h,null),p(h,ae),N&&N.m(h,null),p(h,ne),P&&P.m(h,null),Y=!0},p(v,[k]){ie===(ie=xe(v))&&R?R.p(v,k):(R.d(1),R=ie(v),R&&(R.c(),R.m(E,null))),(!Y||k&1)&&L(E,"offline",!v[0].online),k&1&&(B=v[0].header.includes("database")),B?I?(I.p(v,k),k&1&&_(I,1)):(I=Te(v),I.c(),_(I,1),I.m(h,X)):I&&(K(),w(I,1,1,()=>{I=null}),j()),k&1&&(ve=v[0].header.includes("users")),ve?V?(V.p(v,k),k&1&&_(V,1)):(V=We(v),V.c(),_(V,1),V.m(h,Z)):V&&(K(),w(V,1,1,()=>{V=null}),j()),k&1&&(_e=v[0].header.includes("logs")),_e?A?(A.p(v,k),k&1&&_(A,1)):(A=Ue(v),A.c(),_(A,1),A.m(h,ee)):A&&(K(),w(A,1,1,()=>{A=null}),j()),k&1&&(ge=v[0].header.includes("logsv2")),ge?x?(x.p(v,k),k&1&&_(x,1)):(x=ye(v),x.c(),_(x,1),x.m(h,te)):x&&(K(),w(x,1,1,()=>{x=null}),j()),k&1&&($e=v[0].header.includes("network")),$e?H?(H.p(v,k),k&1&&_(H,1)):(H=De(v),H.c(),_(H,1),H.m(h,se)):H&&(K(),w(H,1,1,()=>{H=null}),j()),k&1&&(be=v[0].header.includes("backgroundJobs")),be?S?(S.p(v,k),k&1&&_(S,1)):(S=Je(v),S.c(),_(S,1),S.m(h,le)):S&&(K(),w(S,1,1,()=>{S=null}),j()),k&1&&(ke=v[0].header.includes("constants")),ke?q?(q.p(v,k),k&1&&_(q,1)):(q=Oe(v),q.c(),_(q,1),q.m(h,ae)):q&&(K(),w(q,1,1,()=>{q=null}),j()),k&1&&(we=v[0].header.includes("liquid")),we?N?(N.p(Ce(v),k),k&1&&_(N,1)):(N=Re(Ce(v)),N.c(),_(N,1),N.m(h,ne)):N&&(K(),w(N,1,1,()=>{N=null}),j()),k&1&&(ze=v[0].header.includes("graphiql")),ze?P?(P.p(Le(v),k),k&1&&_(P,1)):(P=Be(Le(v)),P.c(),_(P,1),P.m(h,null)):P&&(K(),w(P,1,1,()=>{P=null}),j())},i(v){Y||(_(I),_(V),_(A),_(x),_(H),_(S),_(q),_(N),_(P),Y=!0)},o(v){w(I),w(V),w(A),w(x),w(H),w(S),w(q),w(N),w(P),Y=!1},d(v){v&&d(t),R.d(),I&&I.d(),V&&V.d(),A&&A.d(),x&&x.d(),H&&H.d(),S&&S.d(),q&&q.d(),N&&N.d(),P&&P.d()}}}function dt(o,t,e){let l,i;return fe(o,G,c=>e(0,l=c)),fe(o,it,c=>e(1,i=c)),[l,i,async()=>{l.tables.length||Ee(G,l.tables=await rt.get(),l)}]}class mt extends de{constructor(t){super(),me(this,t,dt,pt,pe,{})}}function Ke(o){let t,e="Disconnected from the instance";return{c(){t=g("div"),t.textContent=e,this.h()},l(l){t=$(l,"DIV",{class:!0,"data-svelte-h":!0}),O(t)!=="svelte-1k8ucix"&&(t.textContent=e),this.h()},h(){u(t,"class","connectionIndicator svelte-1cyr69k"),L(t,"offline",o[0].online===!1)},m(l,i){T(l,t,i)},p(l,i){i&1&&L(t,"offline",l[0].online===!1)},d(l){l&&d(t)}}}function vt(o){let t,e=o[0].online===!1&&Ke(o);return{c(){e&&e.c(),t=qe()},l(l){e&&e.l(l),t=qe()},m(l,i){e&&e.m(l,i),T(l,t,i)},p(l,[i]){l[0].online===!1?e?e.p(l,i):(e=Ke(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},i:Q,o:Q,d(l){l&&d(t),e&&e.d(l)}}}let _t=7e3;function gt(o,t,e){let l;fe(o,G,c=>e(0,l=c));let i;Ye(async()=>(n(),i=setInterval(n,_t),()=>clearInterval(i)));const n=async()=>{if(document.visibilityState!=="hidden"){const c=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";fetch(`${c}/info`).then(a=>a.json()).then(a=>{a&&Ee(G,l.online=a,l)}).catch(a=>{Ee(G,l.online=!1,l)})}};return[l]}class $t extends de{constructor(t){super(),me(this,t,gt,vt,pe,{})}}function je(o,t,e){const l=o.slice();return l[4]=t[e],l}function Fe(o,t){let e,l,i=t[4].message+"",n,c,a,s,r,f,E;a=new F({props:{icon:"x",size:"10"}});function b(){return t[2](t[4])}return{key:o,first:null,c(){e=g("div"),l=new et(!1),n=C(),c=g("button"),U(a.$$.fragment),this.h()},l(m){e=$(m,"DIV",{class:!0});var h=z(e);l=tt(h,!1),n=M(h),c=$(h,"BUTTON",{class:!0});var B=z(c);y(a.$$.fragment,B),B.forEach(d),h.forEach(d),this.h()},h(){l.a=n,u(c,"class","svelte-fq192n"),u(e,"class","notification svelte-fq192n"),L(e,"success",t[4].type==="success"),L(e,"error",t[4].type==="error"),L(e,"info",t[4].type==="info"),this.first=e},m(m,h){T(m,e,h),l.m(i,e),p(e,n),p(e,c),D(a,c,null),r=!0,f||(E=Me(c,"click",b),f=!0)},p(m,h){t=m,(!r||h&2)&&i!==(i=t[4].message+"")&&l.p(i),(!r||h&2)&&L(e,"success",t[4].type==="success"),(!r||h&2)&&L(e,"error",t[4].type==="error"),(!r||h&2)&&L(e,"info",t[4].type==="info")},i(m){r||(_(a.$$.fragment,m),m&&Ie(()=>{r&&(s||(s=he(e,ue,{duration:100},!0)),s.run(1))}),r=!0)},o(m){w(a.$$.fragment,m),m&&(s||(s=he(e,ue,{duration:100},!1)),s.run(0)),r=!1},d(m){m&&d(e),J(a),m&&s&&s.end(),f=!1,E()}}}function bt(o){let t,e=[],l=new Map,i,n,c,a,s,r,f=Pe(o[1].notifications);const E=b=>b[4].id;for(let b=0;bo[3].call(t))},m(b,m){T(b,t,m);for(let h=0;h{r&&(a||(a=he(n,ue,{duration:100},!0)),a.run(1))}),r=!0}},o(b){for(let m=0;me(1,l=a));let i=0;Ze(()=>{l.notifications.forEach(a=>{a.timeout||(a.type==="success"||a.type==="info")&&(a.timeout=setTimeout(()=>G.notification.remove(a.id),7e3))})});const n=a=>G.notification.remove(a.id);function c(){i=this.clientHeight,e(0,i)}return[i,l,n,c]}class wt extends de{constructor(t){super(),me(this,t,kt,bt,pe,{})}}function zt(o){let t,e,l,i,n;t=new mt({});const c=o[1].default,a=st(c,o,o[0],null);return i=new wt({}),{c(){U(t.$$.fragment),e=C(),a&&a.c(),l=C(),U(i.$$.fragment)},l(s){y(t.$$.fragment,s),e=M(s),a&&a.l(s),l=M(s),y(i.$$.fragment,s)},m(s,r){D(t,s,r),T(s,e,r),a&&a.m(s,r),T(s,l,r),D(i,s,r),n=!0},p(s,[r]){a&&a.p&&(!n||r&1)&<(a,c,s,s[0],n?nt(c,s[0],r,null):at(s[0]),null)},i(s){n||(_(t.$$.fragment,s),_(a,s),_(i.$$.fragment,s),n=!0)},o(s){w(t.$$.fragment,s),w(a,s),w(i.$$.fragment,s),n=!1},d(s){s&&(d(e),d(l)),J(t,s),a&&a.d(s),J(i,s)}}}function Lt(o,t,e){let{$$slots:l={},$$scope:i}=t;return o.$$set=n=>{"$$scope"in n&&e(0,i=n.$$scope)},[i,l]}class St extends de{constructor(t){super(),me(this,t,Lt,zt,pe,{})}}export{St as component}; +import{s as pe,e as g,a as C,c as $,b as z,A as J,g as M,f as d,y as u,G as L,i as P,h as p,k as fe,C as Me,r as Ge,n as Q,E as Ee,t as Ve,d as Ae,j as Qe,v as Se,U as Xe,I as qe,M as Ie,ag as Ye,W as Ze,N as et,O as tt,l as st,u as lt,m as at,o as nt}from"../chunks/scheduler.CKQ5dLhN.js";import{S as de,i as me,t as _,g as K,a as w,e as j,c as W,d as y,m as D,f as O,h as he}from"../chunks/index.CGVWAVV-.js";import{p as it}from"../chunks/stores.BLuxmlax.js";import{t as rt}from"../chunks/table.Cmn0kCDk.js";import{s as G}from"../chunks/state.nqMW8J5l.js";import{I as F}from"../chunks/Icon.CkKwi_WD.js";import{e as Te,u as ot,o as ct}from"../chunks/each.BWzj3zy9.js";import{f as ue}from"../chunks/index.WWWgbq8H.js";function Le(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function Ce(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function ft(o){var n;let t,e=((n=o[0].online)==null?void 0:n.MPKIT_URL.replace("https://",""))+"",l,i;return{c(){t=g("a"),l=Ve(e),this.h()},l(c){t=$(c,"A",{href:!0});var a=z(t);l=Ae(a,e),a.forEach(d),this.h()},h(){var c;u(t,"href",i=(c=o[0].online)==null?void 0:c.MPKIT_URL)},m(c,a){P(c,t,a),p(t,l)},p(c,a){var s,r;a&1&&e!==(e=((s=c[0].online)==null?void 0:s.MPKIT_URL.replace("https://",""))+"")&&Qe(l,e),a&1&&i!==(i=(r=c[0].online)==null?void 0:r.MPKIT_URL)&&u(t,"href",i)},d(c){c&&d(t)}}}function ht(o){let t;return{c(){t=Ve("disconnected")},l(e){t=Ae(e,"disconnected")},m(e,l){P(e,t,l)},p:Q,d(e){e&&d(t)}}}function ut(o){let t;return{c(){t=Ve("connecting…")},l(e){t=Ae(e,"connecting…")},m(e,l){P(e,t,l)},p:Q,d(e){e&&d(t)}}}function Pe(o){let t,e,l,i,n,c="Database",a,s,r;return l=new F({props:{icon:"database"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(f){t=$(f,"LI",{class:!0});var E=z(t);e=$(E,"A",{href:!0,class:!0});var b=z(e);y(l.$$.fragment,b),i=M(b),n=$(b,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-xe6gx4"&&(n.textContent=c),b.forEach(d),E.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/database"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/database")),u(t,"class","svelte-uthxgc")},m(f,E){P(f,t,E),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0,s||(r=[Me(e,"focus",o[2],{once:!0}),Me(e,"mouseover",o[2],{once:!0})],s=!0)},p(f,E){(!a||E&2)&&L(e,"active",f[1].url.pathname.startsWith("/database"))},i(f){a||(_(l.$$.fragment,f),a=!0)},o(f){w(l.$$.fragment,f),a=!1},d(f){f&&d(t),O(l),s=!1,Ge(r)}}}function Ue(o){let t,e,l,i,n,c="Users",a;return l=new F({props:{icon:"users"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-o38ms3"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/users"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/users")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/users"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function We(o){let t,e,l,i,n,c="Logs",a;return l=new F({props:{icon:"log"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-17j55om"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname==="/logs"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname==="/logs")},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function ye(o){let t,e,l,i,n,c="Logs v2",a;return l=new F({props:{icon:"logFresh"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-taaagi"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logsv2"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/logsv2")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/logsv2"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function De(o){let t,e,l,i,n,c="Network Logs",a;return l=new F({props:{icon:"globeMessage"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-1d3zf0k"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/network"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/network")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/network"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function Oe(o){let t,e,l,i,n,c="Background Jobs",a;return l=new F({props:{icon:"backgroundJob"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-fuvc8n"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/backgroundJobs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/backgroundJobs")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/backgroundJobs"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function Je(o){let t,e,l,i,n,c="Constants",a;return l=new F({props:{icon:"constant"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-s4kqu"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/constants"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/constants")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/constants"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function Re(o){let t,e,l,i,n,c="Liquid Evaluator",a;return l=new F({props:{icon:"liquid"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-1k272bg"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/liquid"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p:Q,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function Be(o){let t,e,l,i,n,c="GraphiQL",a;return l=new F({props:{icon:"graphql"}}),{c(){t=g("li"),e=g("a"),W(l.$$.fragment),i=C(),n=g("span"),n.textContent=c,this.h()},l(s){t=$(s,"LI",{class:!0});var r=z(t);e=$(r,"A",{href:!0,class:!0});var f=z(e);y(l.$$.fragment,f),i=M(f),n=$(f,"SPAN",{class:!0,"data-svelte-h":!0}),J(n)!=="svelte-pzl6ct"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/graphql"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),D(l,e,null),p(e,i),p(e,n),a=!0},p:Q,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),O(l)}}}function pt(o){let t,e,l,i,n='',c,a,s,r=' platformOS development tools',f,E,b,m,h,B=o[0].header.includes("database"),Y,ve=o[0].header.includes("users"),Z,_e=o[0].header.includes("logs"),ee,ge=o[0].header.includes("logsv2"),te,$e=o[0].header.includes("network"),se,be=o[0].header.includes("backgroundJobs"),le,ke=o[0].header.includes("constants"),ae,we=o[0].header.includes("liquid"),ne,ze=o[0].header.includes("graphiql"),X;function xe(v,k){return v[0].online===void 0?ut:v[0].online===!1?ht:ft}let ie=xe(o),R=ie(o),I=B&&Pe(o),V=ve&&Ue(o),A=_e&&We(o),x=ge&&ye(o),H=$e&&De(o),N=be&&Oe(o),S=ke&&Je(o),q=we&&Re(Ce(o)),T=ze&&Be(Le(o));return{c(){t=g("header"),e=g("div"),l=g("div"),i=g("a"),i.innerHTML=n,c=C(),a=g("h1"),s=g("a"),s.innerHTML=r,f=C(),E=g("span"),R.c(),b=C(),m=g("nav"),h=g("ul"),I&&I.c(),Y=C(),V&&V.c(),Z=C(),A&&A.c(),ee=C(),x&&x.c(),te=C(),H&&H.c(),se=C(),N&&N.c(),le=C(),S&&S.c(),ae=C(),q&&q.c(),ne=C(),T&&T.c(),this.h()},l(v){t=$(v,"HEADER",{class:!0});var k=z(t);e=$(k,"DIV",{class:!0});var re=z(e);l=$(re,"DIV",{class:!0});var oe=z(l);i=$(oe,"A",{href:!0,"data-svelte-h":!0}),J(i)!=="svelte-1nhlu7c"&&(i.innerHTML=n),c=M(oe),a=$(oe,"H1",{class:!0});var ce=z(a);s=$(ce,"A",{href:!0,class:!0,"data-svelte-h":!0}),J(s)!=="svelte-z2lbz1"&&(s.innerHTML=r),f=M(ce),E=$(ce,"SPAN",{class:!0});var He=z(E);R.l(He),He.forEach(d),ce.forEach(d),oe.forEach(d),b=M(re),m=$(re,"NAV",{class:!0});var Ne=z(m);h=$(Ne,"UL",{class:!0});var U=z(h);I&&I.l(U),Y=M(U),V&&V.l(U),Z=M(U),A&&A.l(U),ee=M(U),x&&x.l(U),te=M(U),H&&H.l(U),se=M(U),N&&N.l(U),le=M(U),S&&S.l(U),ae=M(U),q&&q.l(U),ne=M(U),T&&T.l(U),U.forEach(d),Ne.forEach(d),re.forEach(d),k.forEach(d),this.h()},h(){u(i,"href","/"),u(s,"href","/"),u(s,"class","svelte-uthxgc"),u(E,"class","instance svelte-uthxgc"),L(E,"offline",!o[0].online),u(a,"class","svelte-uthxgc"),u(l,"class","logo svelte-uthxgc"),u(h,"class","svelte-uthxgc"),u(m,"class","svelte-uthxgc"),u(e,"class","wrapper svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(v,k){P(v,t,k),p(t,e),p(e,l),p(l,i),p(l,c),p(l,a),p(a,s),p(a,f),p(a,E),R.m(E,null),p(e,b),p(e,m),p(m,h),I&&I.m(h,null),p(h,Y),V&&V.m(h,null),p(h,Z),A&&A.m(h,null),p(h,ee),x&&x.m(h,null),p(h,te),H&&H.m(h,null),p(h,se),N&&N.m(h,null),p(h,le),S&&S.m(h,null),p(h,ae),q&&q.m(h,null),p(h,ne),T&&T.m(h,null),X=!0},p(v,[k]){ie===(ie=xe(v))&&R?R.p(v,k):(R.d(1),R=ie(v),R&&(R.c(),R.m(E,null))),(!X||k&1)&&L(E,"offline",!v[0].online),k&1&&(B=v[0].header.includes("database")),B?I?(I.p(v,k),k&1&&_(I,1)):(I=Pe(v),I.c(),_(I,1),I.m(h,Y)):I&&(K(),w(I,1,1,()=>{I=null}),j()),k&1&&(ve=v[0].header.includes("users")),ve?V?(V.p(v,k),k&1&&_(V,1)):(V=Ue(v),V.c(),_(V,1),V.m(h,Z)):V&&(K(),w(V,1,1,()=>{V=null}),j()),k&1&&(_e=v[0].header.includes("logs")),_e?A?(A.p(v,k),k&1&&_(A,1)):(A=We(v),A.c(),_(A,1),A.m(h,ee)):A&&(K(),w(A,1,1,()=>{A=null}),j()),k&1&&(ge=v[0].header.includes("logsv2")),ge?x?(x.p(v,k),k&1&&_(x,1)):(x=ye(v),x.c(),_(x,1),x.m(h,te)):x&&(K(),w(x,1,1,()=>{x=null}),j()),k&1&&($e=v[0].header.includes("network")),$e?H?(H.p(v,k),k&1&&_(H,1)):(H=De(v),H.c(),_(H,1),H.m(h,se)):H&&(K(),w(H,1,1,()=>{H=null}),j()),k&1&&(be=v[0].header.includes("backgroundJobs")),be?N?(N.p(v,k),k&1&&_(N,1)):(N=Oe(v),N.c(),_(N,1),N.m(h,le)):N&&(K(),w(N,1,1,()=>{N=null}),j()),k&1&&(ke=v[0].header.includes("constants")),ke?S?(S.p(v,k),k&1&&_(S,1)):(S=Je(v),S.c(),_(S,1),S.m(h,ae)):S&&(K(),w(S,1,1,()=>{S=null}),j()),k&1&&(we=v[0].header.includes("liquid")),we?q?(q.p(Ce(v),k),k&1&&_(q,1)):(q=Re(Ce(v)),q.c(),_(q,1),q.m(h,ne)):q&&(K(),w(q,1,1,()=>{q=null}),j()),k&1&&(ze=v[0].header.includes("graphiql")),ze?T?(T.p(Le(v),k),k&1&&_(T,1)):(T=Be(Le(v)),T.c(),_(T,1),T.m(h,null)):T&&(K(),w(T,1,1,()=>{T=null}),j())},i(v){X||(_(I),_(V),_(A),_(x),_(H),_(N),_(S),_(q),_(T),X=!0)},o(v){w(I),w(V),w(A),w(x),w(H),w(N),w(S),w(q),w(T),X=!1},d(v){v&&d(t),R.d(),I&&I.d(),V&&V.d(),A&&A.d(),x&&x.d(),H&&H.d(),N&&N.d(),S&&S.d(),q&&q.d(),T&&T.d()}}}function dt(o,t,e){let l,i;return fe(o,G,c=>e(0,l=c)),fe(o,it,c=>e(1,i=c)),[l,i,async()=>{l.tables.length||Ee(G,l.tables=await rt.get(),l)}]}class mt extends de{constructor(t){super(),me(this,t,dt,pt,pe,{})}}function Ke(o){let t,e="Disconnected from the instance";return{c(){t=g("div"),t.textContent=e,this.h()},l(l){t=$(l,"DIV",{class:!0,"data-svelte-h":!0}),J(t)!=="svelte-1k8ucix"&&(t.textContent=e),this.h()},h(){u(t,"class","connectionIndicator svelte-1cyr69k"),L(t,"offline",o[0].online===!1)},m(l,i){P(l,t,i)},p(l,i){i&1&&L(t,"offline",l[0].online===!1)},d(l){l&&d(t)}}}function vt(o){let t,e=o[0].online===!1&&Ke(o);return{c(){e&&e.c(),t=Se()},l(l){e&&e.l(l),t=Se()},m(l,i){e&&e.m(l,i),P(l,t,i)},p(l,[i]){l[0].online===!1?e?e.p(l,i):(e=Ke(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},i:Q,o:Q,d(l){l&&d(t),e&&e.d(l)}}}let _t=7e3;function gt(o,t,e){let l;fe(o,G,c=>e(0,l=c));let i;Xe(async()=>(n(),i=setInterval(n,_t),()=>clearInterval(i)));const n=async()=>{if(document.visibilityState!=="hidden"){const c=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";fetch(`${c}/info`).then(a=>a.json()).then(a=>{a&&Ee(G,l.online=a,l)}).catch(a=>{Ee(G,l.online=!1,l)})}};return[l]}class $t extends de{constructor(t){super(),me(this,t,gt,vt,pe,{})}}function je(o,t,e){const l=o.slice();return l[4]=t[e],l}function Fe(o,t){let e,l,i=t[4].message+"",n,c,a,s,r,f,E;a=new F({props:{icon:"x",size:"10"}});function b(){return t[2](t[4])}return{key:o,first:null,c(){e=g("div"),l=new et(!1),n=C(),c=g("button"),W(a.$$.fragment),this.h()},l(m){e=$(m,"DIV",{class:!0});var h=z(e);l=tt(h,!1),n=M(h),c=$(h,"BUTTON",{class:!0});var B=z(c);y(a.$$.fragment,B),B.forEach(d),h.forEach(d),this.h()},h(){l.a=n,u(c,"class","svelte-fq192n"),u(e,"class","notification svelte-fq192n"),L(e,"success",t[4].type==="success"),L(e,"error",t[4].type==="error"),L(e,"info",t[4].type==="info"),this.first=e},m(m,h){P(m,e,h),l.m(i,e),p(e,n),p(e,c),D(a,c,null),r=!0,f||(E=Me(c,"click",b),f=!0)},p(m,h){t=m,(!r||h&2)&&i!==(i=t[4].message+"")&&l.p(i),(!r||h&2)&&L(e,"success",t[4].type==="success"),(!r||h&2)&&L(e,"error",t[4].type==="error"),(!r||h&2)&&L(e,"info",t[4].type==="info")},i(m){r||(_(a.$$.fragment,m),m&&Ie(()=>{r&&(s||(s=he(e,ue,{duration:100},!0)),s.run(1))}),r=!0)},o(m){w(a.$$.fragment,m),m&&(s||(s=he(e,ue,{duration:100},!1)),s.run(0)),r=!1},d(m){m&&d(e),O(a),m&&s&&s.end(),f=!1,E()}}}function bt(o){let t,e=[],l=new Map,i,n,c,a,s,r,f=Te(o[1].notifications);const E=b=>b[4].id;for(let b=0;bo[3].call(t))},m(b,m){P(b,t,m);for(let h=0;h{r&&(a||(a=he(n,ue,{duration:100},!0)),a.run(1))}),r=!0}},o(b){for(let m=0;me(1,l=a));let i=0;Ze(()=>{l.notifications.forEach(a=>{a.timeout||(a.type==="success"||a.type==="info")&&(a.timeout=setTimeout(()=>G.notification.remove(a.id),7e3))})});const n=a=>G.notification.remove(a.id);function c(){i=this.clientHeight,e(0,i)}return[i,l,n,c]}class wt extends de{constructor(t){super(),me(this,t,kt,bt,pe,{})}}function zt(o){let t,e,l,i,n;t=new mt({});const c=o[1].default,a=st(c,o,o[0],null);return i=new wt({}),{c(){W(t.$$.fragment),e=C(),a&&a.c(),l=C(),W(i.$$.fragment)},l(s){y(t.$$.fragment,s),e=M(s),a&&a.l(s),l=M(s),y(i.$$.fragment,s)},m(s,r){D(t,s,r),P(s,e,r),a&&a.m(s,r),P(s,l,r),D(i,s,r),n=!0},p(s,[r]){a&&a.p&&(!n||r&1)&<(a,c,s,s[0],n?nt(c,s[0],r,null):at(s[0]),null)},i(s){n||(_(t.$$.fragment,s),_(a,s),_(i.$$.fragment,s),n=!0)},o(s){w(t.$$.fragment,s),w(a,s),w(i.$$.fragment,s),n=!1},d(s){s&&(d(e),d(l)),O(t,s),a&&a.d(s),O(i,s)}}}function Lt(o,t,e){let{$$slots:l={},$$scope:i}=t;return o.$$set=n=>{"$$scope"in n&&e(0,i=n.$$scope)},[i,l]}class Nt extends de{constructor(t){super(),me(this,t,Lt,zt,pe,{})}}export{Nt as component}; diff --git a/gui/next/build/_app/immutable/nodes/1.B0aapXaN.js b/gui/next/build/_app/immutable/nodes/1.B1ovvcWz.js similarity index 77% rename from gui/next/build/_app/immutable/nodes/1.B0aapXaN.js rename to gui/next/build/_app/immutable/nodes/1.B1ovvcWz.js index 2beee44f..5f4b060b 100644 --- a/gui/next/build/_app/immutable/nodes/1.B0aapXaN.js +++ b/gui/next/build/_app/immutable/nodes/1.B1ovvcWz.js @@ -1 +1 @@ -import{s as x,e as u,t as h,a as S,c as d,b as v,d as g,f as m,g as j,i as _,h as b,j as E,n as $,k}from"../chunks/scheduler.ts1nwYMk.js";import{S as q,i as y}from"../chunks/index.MbwxngTa.js";import{p as C}from"../chunks/stores.D3n-8z5b.js";function H(i){var f;let a,s=i[0].status+"",r,o,n,p=((f=i[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(s),o=S(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var t=v(a);r=g(t,s),t.forEach(m),o=j(e),n=d(e,"P",{});var l=v(n);c=g(l,p),l.forEach(m)},m(e,t){_(e,a,t),b(a,r),_(e,o,t),_(e,n,t),b(n,c)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&E(r,s),t&1&&p!==(p=((l=e[0].error)==null?void 0:l.message)+"")&&E(c,p)},i:$,o:$,d(e){e&&(m(a),m(o),m(n))}}}function P(i,a,s){let r;return k(i,C,o=>s(0,r=o)),[r]}class B extends q{constructor(a){super(),y(this,a,P,H,x,{})}}export{B as component}; +import{s as x,e as u,t as h,a as S,c as d,b as v,d as g,f as m,g as j,i as _,h as b,j as E,n as $,k}from"../chunks/scheduler.CKQ5dLhN.js";import{S as q,i as y}from"../chunks/index.CGVWAVV-.js";import{p as C}from"../chunks/stores.BLuxmlax.js";function H(i){var f;let a,s=i[0].status+"",r,o,n,p=((f=i[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(s),o=S(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var t=v(a);r=g(t,s),t.forEach(m),o=j(e),n=d(e,"P",{});var l=v(n);c=g(l,p),l.forEach(m)},m(e,t){_(e,a,t),b(a,r),_(e,o,t),_(e,n,t),b(n,c)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&E(r,s),t&1&&p!==(p=((l=e[0].error)==null?void 0:l.message)+"")&&E(c,p)},i:$,o:$,d(e){e&&(m(a),m(o),m(n))}}}function P(i,a,s){let r;return k(i,C,o=>s(0,r=o)),[r]}class B extends q{constructor(a){super(),y(this,a,P,H,x,{})}}export{B as component}; diff --git a/gui/next/build/_app/immutable/nodes/10.B4CVDEiO.js b/gui/next/build/_app/immutable/nodes/10.B4CVDEiO.js deleted file mode 100644 index c15ac2ea..00000000 --- a/gui/next/build/_app/immutable/nodes/10.B4CVDEiO.js +++ /dev/null @@ -1 +0,0 @@ -import{s}from"../chunks/scheduler.ts1nwYMk.js";import{S as t,i as e}from"../chunks/index.MbwxngTa.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/10.BOVZRVUg.js b/gui/next/build/_app/immutable/nodes/10.BOVZRVUg.js new file mode 100644 index 00000000..42ac7c16 --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/10.BOVZRVUg.js @@ -0,0 +1 @@ +import{s}from"../chunks/scheduler.CKQ5dLhN.js";import{S as t,i as e}from"../chunks/index.CGVWAVV-.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/11.CZeveHaM.js b/gui/next/build/_app/immutable/nodes/11.DGqxXEVk.js similarity index 89% rename from gui/next/build/_app/immutable/nodes/11.CZeveHaM.js rename to gui/next/build/_app/immutable/nodes/11.DGqxXEVk.js index 79ad0e0c..e204a029 100644 --- a/gui/next/build/_app/immutable/nodes/11.CZeveHaM.js +++ b/gui/next/build/_app/immutable/nodes/11.DGqxXEVk.js @@ -1 +1 @@ -import{s as se,l as ie,e as b,c as g,b as L,f as d,y as k,i as m,h as _,u as re,m as oe,o as ce,Y as fe,H as ue,z as de,a as w,p as _e,A as I,g as D,a2 as me,k as pe,v as N,t as P,d as A,n as V,j as y}from"../chunks/scheduler.ts1nwYMk.js";import{S as ae,i as ne,t as j,a as H,c as z,d as B,m as F,f as Y,g as R,e as M}from"../chunks/index.MbwxngTa.js";import{p as he}from"../chunks/stores.D3n-8z5b.js";import{b as ve}from"../chunks/backgroundJob.cWe0itmY.js";import{A as be}from"../chunks/Aside.FJrLQRZc.js";import{J as ge}from"../chunks/JSONTree.DHR6A5Hv.js";function qe(f){let e,a,o,i,r,s;const l=f[3].default,t=ie(l,f,f[2],null);return{c(){e=b("template"),a=b("pre"),o=b("code"),t&&t.c(),this.h()},l(n){e=g(n,"TEMPLATE",{});var c=L(e.content);a=g(c,"PRE",{class:!0});var p=L(a);o=g(p,"CODE",{class:!0});var h=L(o);t&&t.l(h),h.forEach(d),p.forEach(d),c.forEach(d),this.h()},h(){k(o,"class",i="language-"+f[0]),k(a,"class",r="line-numbers language-"+f[0])},m(n,c){m(n,e,c),_(e.content,a),_(a,o),t&&t.m(o,null),f[4](e),s=!0},p(n,[c]){t&&t.p&&(!s||c&4)&&re(t,l,n,n[2],s?ce(l,n[2],c,null):oe(n[2]),null),(!s||c&1&&i!==(i="language-"+n[0]))&&k(o,"class",i),(!s||c&1&&r!==(r="line-numbers language-"+n[0]))&&k(a,"class",r)},i(n){s||(j(t,n),s=!0)},o(n){H(t,n),s=!1},d(n){n&&d(e),t&&t.d(n),f[4](null)}}}function ke(f,e,a){let{$$slots:o={},$$scope:i}=e,{language:r}=e,s;fe(async()=>{var n;await ue(),(n=document.querySelector("#code"))==null||n.remove();const t=s.content.cloneNode(!0);t.firstChild.id="code",s.after(t),Prism.highlightAll()});function l(t){de[t?"unshift":"push"](()=>{s=t,a(1,s)})}return f.$$set=t=>{"language"in t&&a(0,r=t.language),"$$scope"in t&&a(2,i=t.$$scope)},[r,s,i,o,l]}class Ce extends ae{constructor(e){super(),ne(this,e,ke,qe,se,{language:0})}}function $e(f){let e,a,o,i,r,s,l,t,n=f[1].source_name&&Q(f),c=f[1].id&&W(f),p=f[1].error_message&&x(f),h=f[1].liquid_body&&ee(f),$=f[1].partial_name&&te(f),q=f[1].arguments&&le(f);return{c(){e=b("dl"),n&&n.c(),a=N(),c&&c.c(),o=w(),p&&p.c(),i=w(),h&&h.c(),r=w(),$&&$.c(),s=w(),q&&q.c(),l=N(),this.h()},l(u){e=g(u,"DL",{class:!0});var v=L(e);n&&n.l(v),a=N(),c&&c.l(v),v.forEach(d),o=D(u),p&&p.l(u),i=D(u),h&&h.l(u),r=D(u),$&&$.l(u),s=D(u),q&&q.l(u),l=N(),this.h()},h(){k(e,"class","info svelte-7qclwq")},m(u,v){m(u,e,v),n&&n.m(e,null),_(e,a),c&&c.m(e,null),m(u,o,v),p&&p.m(u,v),m(u,i,v),h&&h.m(u,v),m(u,r,v),$&&$.m(u,v),m(u,s,v),q&&q.m(u,v),m(u,l,v),t=!0},p(u,v){u[1].source_name?n?n.p(u,v):(n=Q(u),n.c(),n.m(e,a)):n&&(n.d(1),n=null),u[1].id?c?c.p(u,v):(c=W(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),u[1].error_message?p?p.p(u,v):(p=x(u),p.c(),p.m(i.parentNode,i)):p&&(p.d(1),p=null),u[1].liquid_body?h?(h.p(u,v),v&2&&j(h,1)):(h=ee(u),h.c(),j(h,1),h.m(r.parentNode,r)):h&&(R(),H(h,1,1,()=>{h=null}),M()),u[1].partial_name?$?$.p(u,v):($=te(u),$.c(),$.m(s.parentNode,s)):$&&($.d(1),$=null),u[1].arguments?q?(q.p(u,v),v&2&&j(q,1)):(q=le(u),q.c(),j(q,1),q.m(l.parentNode,l)):q&&(R(),H(q,1,1,()=>{q=null}),M())},i(u){t||(j(h),j(q),t=!0)},o(u){H(h),H(q),t=!1},d(u){u&&(d(e),d(o),d(i),d(r),d(s),d(l)),n&&n.d(),c&&c.d(),p&&p.d(u),h&&h.d(u),$&&$.d(u),q&&q.d(u)}}}function we(f){let e;return{c(){e=P("There is no such background job")},l(a){e=A(a,"There is no such background job")},m(a,o){m(a,e,o)},p:V,i:V,o:V,d(a){a&&d(e)}}}function Q(f){let e,a,o="ID:",i,r,s=f[1].id+"",l,t;return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),t=w(),this.h()},l(n){e=g(n,"DIV",{class:!0});var c=L(e);a=g(c,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-179gw2t"&&(a.textContent=o),i=D(c),r=g(c,"DD",{});var p=L(r);l=A(p,s),p.forEach(d),t=D(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=n[1].id+"")&&y(l,s)},d(n){n&&d(e)}}}function W(f){let e,a,o="Created at:",i,r,s=new Date(f[1].created_at).toLocaleString()+"",l,t,n,c,p="Run at:",h,$,q=new Date(f[1].run_at).toLocaleString()+"",u,v,J,O,S=f[1].dead_at&&X(f),T=f[1].arguments.url&&Z(f);return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),t=w(),n=b("div"),c=b("dt"),c.textContent=p,h=w(),$=b("dd"),u=P(q),v=w(),S&&S.c(),J=N(),T&&T.c(),O=N(),this.h()},l(C){e=g(C,"DIV",{class:!0});var E=L(e);a=g(E,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-psrdxl"&&(a.textContent=o),i=D(E),r=g(E,"DD",{});var G=L(r);l=A(G,s),G.forEach(d),t=D(E),E.forEach(d),n=g(C,"DIV",{class:!0});var U=L(n);c=g(U,"DT",{class:!0,"data-svelte-h":!0}),I(c)!=="svelte-u0lbhu"&&(c.textContent=p),h=D(U),$=g(U,"DD",{});var K=L($);u=A(K,q),K.forEach(d),v=D(U),U.forEach(d),S&&S.l(C),J=N(),T&&T.l(C),O=N(),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq"),k(c,"class","svelte-7qclwq"),k(n,"class","svelte-7qclwq")},m(C,E){m(C,e,E),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t),m(C,n,E),_(n,c),_(n,h),_(n,$),_($,u),_(n,v),S&&S.m(C,E),m(C,J,E),T&&T.m(C,E),m(C,O,E)},p(C,E){E&2&&s!==(s=new Date(C[1].created_at).toLocaleString()+"")&&y(l,s),E&2&&q!==(q=new Date(C[1].run_at).toLocaleString()+"")&&y(u,q),C[1].dead_at?S?S.p(C,E):(S=X(C),S.c(),S.m(J.parentNode,J)):S&&(S.d(1),S=null),C[1].arguments.url?T?T.p(C,E):(T=Z(C),T.c(),T.m(O.parentNode,O)):T&&(T.d(1),T=null)},d(C){C&&(d(e),d(n),d(J),d(O)),S&&S.d(C),T&&T.d(C)}}}function X(f){let e,a,o="Dead at:",i,r,s=new Date(f[1].dead_at).toLocaleString()+"",l,t;return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),t=w(),this.h()},l(n){e=g(n,"DIV",{class:!0});var c=L(e);a=g(c,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-1gjx1j5"&&(a.textContent=o),i=D(c),r=g(c,"DD",{class:!0});var p=L(r);l=A(p,s),p.forEach(d),t=D(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(r,"class","error svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=new Date(n[1].dead_at).toLocaleString()+"")&&y(l,s)},d(n){n&&d(e)}}}function Z(f){let e,a,o="URL:",i,r,s=(f[1].arguments.context.location.href||"/")+"",l;return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),this.h()},l(t){e=g(t,"DIV",{class:!0});var n=L(e);a=g(n,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-vrqyfv"&&(a.textContent=o),i=D(n),r=g(n,"DD",{});var c=L(r);l=A(c,s),c.forEach(d),n.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(t,n){m(t,e,n),_(e,a),_(e,i),_(e,r),_(r,l)},p(t,n){n&2&&s!==(s=(t[1].arguments.context.location.href||"/")+"")&&y(l,s)},d(t){t&&d(e)}}}function x(f){let e,a="Error message",o,i,r=f[1].error_message+"",s;return{c(){e=b("h2"),e.textContent=a,o=w(),i=b("code"),s=P(r),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-46lcxd"&&(e.textContent=a),o=D(l),i=g(l,"CODE",{class:!0});var t=L(i);s=A(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].error_message+"")&&y(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function ee(f){let e,a="Background job code:",o,i,r;return i=new Ce({props:{language:"liquid",$$slots:{default:[De]},$$scope:{ctx:f}}}),{c(){e=b("h2"),e.textContent=a,o=w(),z(i.$$.fragment),this.h()},l(s){e=g(s,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-dymu4w"&&(e.textContent=a),o=D(s),B(i.$$.fragment,s),this.h()},h(){k(e,"class","svelte-7qclwq")},m(s,l){m(s,e,l),m(s,o,l),F(i,s,l),r=!0},p(s,l){const t={};l&10&&(t.$$scope={dirty:l,ctx:s}),i.$set(t)},i(s){r||(j(i.$$.fragment,s),r=!0)},o(s){H(i.$$.fragment,s),r=!1},d(s){s&&(d(e),d(o)),Y(i,s)}}}function De(f){let e=f[1].liquid_body+"",a;return{c(){a=P(e)},l(o){a=A(o,e)},m(o,i){m(o,a,i)},p(o,i){i&2&&e!==(e=o[1].liquid_body+"")&&y(a,e)},d(o){o&&d(a)}}}function te(f){let e,a="Background function name:",o,i,r=f[1].partial_name+"",s;return{c(){e=b("h2"),e.textContent=a,o=w(),i=b("code"),s=P(r),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-1qty0jf"&&(e.textContent=a),o=D(l),i=g(l,"CODE",{class:!0});var t=L(i);s=A(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].partial_name+"")&&y(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function le(f){let e,a="Arguments",o,i,r,s;return r=new ge({props:{value:f[1].arguments,expandedLines:1,showFullLines:!0}}),{c(){e=b("h2"),e.textContent=a,o=w(),i=b("code"),z(r.$$.fragment),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-h49jwy"&&(e.textContent=a),o=D(l),i=g(l,"CODE",{class:!0});var t=L(i);B(r.$$.fragment,t),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),F(r,i,null),s=!0},p(l,t){const n={};t&2&&(n.value=l[1].arguments),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){H(r.$$.fragment,l),s=!1},d(l){l&&(d(e),d(o),d(i)),Y(r)}}}function Ee(f){let e,a,o,i;const r=[we,$e],s=[];function l(t,n){return t[1]===null?0:1}return e=l(f),a=s[e]=r[e](f),{c(){a.c(),o=N()},l(t){a.l(t),o=N()},m(t,n){s[e].m(t,n),m(t,o,n),i=!0},p(t,n){let c=e;e=l(t),e===c?s[e].p(t,n):(R(),H(s[c],1,1,()=>{s[c]=null}),M(),a=s[e],a?a.p(t,n):(a=s[e]=r[e](t),a.c()),j(a,1),a.m(o.parentNode,o))},i(t){i||(j(a),i=!0)},o(t){H(a),i=!1},d(t){t&&d(o),s[e].d(t)}}}function Le(f){let e,a="",o,i,r,s;return r=new be({props:{title:f[1].source_name||f[1].id||"Loading…",closeUrl:"/backgroundJobs?"+f[0].url.searchParams.toString(),$$slots:{default:[Ee]},$$scope:{ctx:f}}}),{c(){e=b("script"),e.innerHTML=a,i=w(),z(r.$$.fragment),this.h()},l(l){const t=_e("svelte-1pgpgj4",document.head);e=g(t,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),I(e)!=="svelte-6mxszl"&&(e.innerHTML=a),t.forEach(d),i=D(l),B(r.$$.fragment,l),this.h()},h(){me(e.src,o="/prism.js")||k(e,"src",o),k(e,"data-manual","")},m(l,t){_(document.head,e),m(l,i,t),F(r,l,t),s=!0},p(l,[t]){const n={};t&2&&(n.title=l[1].source_name||l[1].id||"Loading…"),t&1&&(n.closeUrl="/backgroundJobs?"+l[0].url.searchParams.toString()),t&10&&(n.$$scope={dirty:t,ctx:l}),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){H(r.$$.fragment,l),s=!1},d(l){l&&d(i),d(e),Y(r,l)}}}function Se(f,e,a){let o;pe(f,he,s=>a(0,o=s));let i={};const r=async()=>{await ve.get({id:o.params.id,type:o.params.type.toUpperCase()}).then(s=>{s.results.length?a(1,i=s.results[0]):a(1,i=null)})};return f.$$.update=()=>{f.$$.dirty&1&&o.params.id&&r(o.params.id)},[o,i]}class Ae extends ae{constructor(e){super(),ne(this,e,Se,Le,se,{})}}export{Ae as component}; +import{s as se,l as ie,e as b,c as g,b as L,f as d,y as k,i as m,h as _,u as re,m as oe,o as ce,W as fe,H as ue,z as de,a as w,p as _e,A as I,g as D,a0 as me,k as pe,v as N,t as P,d as A,n as V,j as y}from"../chunks/scheduler.CKQ5dLhN.js";import{S as ae,i as ne,t as j,a as H,c as z,d as B,m as F,f as W,g as R,e as M}from"../chunks/index.CGVWAVV-.js";import{p as he}from"../chunks/stores.BLuxmlax.js";import{b as ve}from"../chunks/backgroundJob.cWe0itmY.js";import{A as be}from"../chunks/Aside.CzwHeuWZ.js";import{J as ge}from"../chunks/JSONTree.B6rnjEUC.js";function qe(f){let e,a,o,i,r,s;const l=f[3].default,t=ie(l,f,f[2],null);return{c(){e=b("template"),a=b("pre"),o=b("code"),t&&t.c(),this.h()},l(n){e=g(n,"TEMPLATE",{});var c=L(e.content);a=g(c,"PRE",{class:!0});var p=L(a);o=g(p,"CODE",{class:!0});var h=L(o);t&&t.l(h),h.forEach(d),p.forEach(d),c.forEach(d),this.h()},h(){k(o,"class",i="language-"+f[0]),k(a,"class",r="line-numbers language-"+f[0])},m(n,c){m(n,e,c),_(e.content,a),_(a,o),t&&t.m(o,null),f[4](e),s=!0},p(n,[c]){t&&t.p&&(!s||c&4)&&re(t,l,n,n[2],s?ce(l,n[2],c,null):oe(n[2]),null),(!s||c&1&&i!==(i="language-"+n[0]))&&k(o,"class",i),(!s||c&1&&r!==(r="line-numbers language-"+n[0]))&&k(a,"class",r)},i(n){s||(j(t,n),s=!0)},o(n){H(t,n),s=!1},d(n){n&&d(e),t&&t.d(n),f[4](null)}}}function ke(f,e,a){let{$$slots:o={},$$scope:i}=e,{language:r}=e,s;fe(async()=>{var n;await ue(),(n=document.querySelector("#code"))==null||n.remove();const t=s.content.cloneNode(!0);t.firstChild.id="code",s.after(t),Prism.highlightAll()});function l(t){de[t?"unshift":"push"](()=>{s=t,a(1,s)})}return f.$$set=t=>{"language"in t&&a(0,r=t.language),"$$scope"in t&&a(2,i=t.$$scope)},[r,s,i,o,l]}class Ce extends ae{constructor(e){super(),ne(this,e,ke,qe,se,{language:0})}}function $e(f){let e,a,o,i,r,s,l,t,n=f[1].source_name&&Q(f),c=f[1].id&&X(f),p=f[1].error_message&&x(f),h=f[1].liquid_body&&ee(f),$=f[1].partial_name&&te(f),q=f[1].arguments&&le(f);return{c(){e=b("dl"),n&&n.c(),a=N(),c&&c.c(),o=w(),p&&p.c(),i=w(),h&&h.c(),r=w(),$&&$.c(),s=w(),q&&q.c(),l=N(),this.h()},l(u){e=g(u,"DL",{class:!0});var v=L(e);n&&n.l(v),a=N(),c&&c.l(v),v.forEach(d),o=D(u),p&&p.l(u),i=D(u),h&&h.l(u),r=D(u),$&&$.l(u),s=D(u),q&&q.l(u),l=N(),this.h()},h(){k(e,"class","info svelte-7qclwq")},m(u,v){m(u,e,v),n&&n.m(e,null),_(e,a),c&&c.m(e,null),m(u,o,v),p&&p.m(u,v),m(u,i,v),h&&h.m(u,v),m(u,r,v),$&&$.m(u,v),m(u,s,v),q&&q.m(u,v),m(u,l,v),t=!0},p(u,v){u[1].source_name?n?n.p(u,v):(n=Q(u),n.c(),n.m(e,a)):n&&(n.d(1),n=null),u[1].id?c?c.p(u,v):(c=X(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),u[1].error_message?p?p.p(u,v):(p=x(u),p.c(),p.m(i.parentNode,i)):p&&(p.d(1),p=null),u[1].liquid_body?h?(h.p(u,v),v&2&&j(h,1)):(h=ee(u),h.c(),j(h,1),h.m(r.parentNode,r)):h&&(R(),H(h,1,1,()=>{h=null}),M()),u[1].partial_name?$?$.p(u,v):($=te(u),$.c(),$.m(s.parentNode,s)):$&&($.d(1),$=null),u[1].arguments?q?(q.p(u,v),v&2&&j(q,1)):(q=le(u),q.c(),j(q,1),q.m(l.parentNode,l)):q&&(R(),H(q,1,1,()=>{q=null}),M())},i(u){t||(j(h),j(q),t=!0)},o(u){H(h),H(q),t=!1},d(u){u&&(d(e),d(o),d(i),d(r),d(s),d(l)),n&&n.d(),c&&c.d(),p&&p.d(u),h&&h.d(u),$&&$.d(u),q&&q.d(u)}}}function we(f){let e;return{c(){e=P("There is no such background job")},l(a){e=A(a,"There is no such background job")},m(a,o){m(a,e,o)},p:V,i:V,o:V,d(a){a&&d(e)}}}function Q(f){let e,a,o="ID:",i,r,s=f[1].id+"",l,t;return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),t=w(),this.h()},l(n){e=g(n,"DIV",{class:!0});var c=L(e);a=g(c,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-179gw2t"&&(a.textContent=o),i=D(c),r=g(c,"DD",{});var p=L(r);l=A(p,s),p.forEach(d),t=D(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=n[1].id+"")&&y(l,s)},d(n){n&&d(e)}}}function X(f){let e,a,o="Created at:",i,r,s=new Date(f[1].created_at).toLocaleString()+"",l,t,n,c,p="Run at:",h,$,q=new Date(f[1].run_at).toLocaleString()+"",u,v,J,O,S=f[1].dead_at&&Y(f),T=f[1].arguments.url&&Z(f);return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),t=w(),n=b("div"),c=b("dt"),c.textContent=p,h=w(),$=b("dd"),u=P(q),v=w(),S&&S.c(),J=N(),T&&T.c(),O=N(),this.h()},l(C){e=g(C,"DIV",{class:!0});var E=L(e);a=g(E,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-psrdxl"&&(a.textContent=o),i=D(E),r=g(E,"DD",{});var G=L(r);l=A(G,s),G.forEach(d),t=D(E),E.forEach(d),n=g(C,"DIV",{class:!0});var U=L(n);c=g(U,"DT",{class:!0,"data-svelte-h":!0}),I(c)!=="svelte-u0lbhu"&&(c.textContent=p),h=D(U),$=g(U,"DD",{});var K=L($);u=A(K,q),K.forEach(d),v=D(U),U.forEach(d),S&&S.l(C),J=N(),T&&T.l(C),O=N(),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq"),k(c,"class","svelte-7qclwq"),k(n,"class","svelte-7qclwq")},m(C,E){m(C,e,E),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t),m(C,n,E),_(n,c),_(n,h),_(n,$),_($,u),_(n,v),S&&S.m(C,E),m(C,J,E),T&&T.m(C,E),m(C,O,E)},p(C,E){E&2&&s!==(s=new Date(C[1].created_at).toLocaleString()+"")&&y(l,s),E&2&&q!==(q=new Date(C[1].run_at).toLocaleString()+"")&&y(u,q),C[1].dead_at?S?S.p(C,E):(S=Y(C),S.c(),S.m(J.parentNode,J)):S&&(S.d(1),S=null),C[1].arguments.url?T?T.p(C,E):(T=Z(C),T.c(),T.m(O.parentNode,O)):T&&(T.d(1),T=null)},d(C){C&&(d(e),d(n),d(J),d(O)),S&&S.d(C),T&&T.d(C)}}}function Y(f){let e,a,o="Dead at:",i,r,s=new Date(f[1].dead_at).toLocaleString()+"",l,t;return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),t=w(),this.h()},l(n){e=g(n,"DIV",{class:!0});var c=L(e);a=g(c,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-1gjx1j5"&&(a.textContent=o),i=D(c),r=g(c,"DD",{class:!0});var p=L(r);l=A(p,s),p.forEach(d),t=D(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(r,"class","error svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=new Date(n[1].dead_at).toLocaleString()+"")&&y(l,s)},d(n){n&&d(e)}}}function Z(f){let e,a,o="URL:",i,r,s=(f[1].arguments.context.location.href||"/")+"",l;return{c(){e=b("div"),a=b("dt"),a.textContent=o,i=w(),r=b("dd"),l=P(s),this.h()},l(t){e=g(t,"DIV",{class:!0});var n=L(e);a=g(n,"DT",{class:!0,"data-svelte-h":!0}),I(a)!=="svelte-vrqyfv"&&(a.textContent=o),i=D(n),r=g(n,"DD",{});var c=L(r);l=A(c,s),c.forEach(d),n.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(t,n){m(t,e,n),_(e,a),_(e,i),_(e,r),_(r,l)},p(t,n){n&2&&s!==(s=(t[1].arguments.context.location.href||"/")+"")&&y(l,s)},d(t){t&&d(e)}}}function x(f){let e,a="Error message",o,i,r=f[1].error_message+"",s;return{c(){e=b("h2"),e.textContent=a,o=w(),i=b("code"),s=P(r),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-46lcxd"&&(e.textContent=a),o=D(l),i=g(l,"CODE",{class:!0});var t=L(i);s=A(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].error_message+"")&&y(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function ee(f){let e,a="Background job code:",o,i,r;return i=new Ce({props:{language:"liquid",$$slots:{default:[De]},$$scope:{ctx:f}}}),{c(){e=b("h2"),e.textContent=a,o=w(),z(i.$$.fragment),this.h()},l(s){e=g(s,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-dymu4w"&&(e.textContent=a),o=D(s),B(i.$$.fragment,s),this.h()},h(){k(e,"class","svelte-7qclwq")},m(s,l){m(s,e,l),m(s,o,l),F(i,s,l),r=!0},p(s,l){const t={};l&10&&(t.$$scope={dirty:l,ctx:s}),i.$set(t)},i(s){r||(j(i.$$.fragment,s),r=!0)},o(s){H(i.$$.fragment,s),r=!1},d(s){s&&(d(e),d(o)),W(i,s)}}}function De(f){let e=f[1].liquid_body+"",a;return{c(){a=P(e)},l(o){a=A(o,e)},m(o,i){m(o,a,i)},p(o,i){i&2&&e!==(e=o[1].liquid_body+"")&&y(a,e)},d(o){o&&d(a)}}}function te(f){let e,a="Background function name:",o,i,r=f[1].partial_name+"",s;return{c(){e=b("h2"),e.textContent=a,o=w(),i=b("code"),s=P(r),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-1qty0jf"&&(e.textContent=a),o=D(l),i=g(l,"CODE",{class:!0});var t=L(i);s=A(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].partial_name+"")&&y(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function le(f){let e,a="Arguments",o,i,r,s;return r=new ge({props:{value:f[1].arguments,expandedLines:1,showFullLines:!0}}),{c(){e=b("h2"),e.textContent=a,o=w(),i=b("code"),z(r.$$.fragment),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),I(e)!=="svelte-h49jwy"&&(e.textContent=a),o=D(l),i=g(l,"CODE",{class:!0});var t=L(i);B(r.$$.fragment,t),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),F(r,i,null),s=!0},p(l,t){const n={};t&2&&(n.value=l[1].arguments),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){H(r.$$.fragment,l),s=!1},d(l){l&&(d(e),d(o),d(i)),W(r)}}}function Ee(f){let e,a,o,i;const r=[we,$e],s=[];function l(t,n){return t[1]===null?0:1}return e=l(f),a=s[e]=r[e](f),{c(){a.c(),o=N()},l(t){a.l(t),o=N()},m(t,n){s[e].m(t,n),m(t,o,n),i=!0},p(t,n){let c=e;e=l(t),e===c?s[e].p(t,n):(R(),H(s[c],1,1,()=>{s[c]=null}),M(),a=s[e],a?a.p(t,n):(a=s[e]=r[e](t),a.c()),j(a,1),a.m(o.parentNode,o))},i(t){i||(j(a),i=!0)},o(t){H(a),i=!1},d(t){t&&d(o),s[e].d(t)}}}function Le(f){let e,a="",o,i,r,s;return r=new be({props:{title:f[1].source_name||f[1].id||"Loading…",closeUrl:"/backgroundJobs?"+f[0].url.searchParams.toString(),$$slots:{default:[Ee]},$$scope:{ctx:f}}}),{c(){e=b("script"),e.innerHTML=a,i=w(),z(r.$$.fragment),this.h()},l(l){const t=_e("svelte-1pgpgj4",document.head);e=g(t,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),I(e)!=="svelte-6mxszl"&&(e.innerHTML=a),t.forEach(d),i=D(l),B(r.$$.fragment,l),this.h()},h(){me(e.src,o="/prism.js")||k(e,"src",o),k(e,"data-manual","")},m(l,t){_(document.head,e),m(l,i,t),F(r,l,t),s=!0},p(l,[t]){const n={};t&2&&(n.title=l[1].source_name||l[1].id||"Loading…"),t&1&&(n.closeUrl="/backgroundJobs?"+l[0].url.searchParams.toString()),t&10&&(n.$$scope={dirty:t,ctx:l}),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){H(r.$$.fragment,l),s=!1},d(l){l&&d(i),d(e),W(r,l)}}}function Se(f,e,a){let o;pe(f,he,s=>a(0,o=s));let i={};const r=async()=>{await ve.get({id:o.params.id,type:o.params.type.toUpperCase()}).then(s=>{s.results.length?a(1,i=s.results[0]):a(1,i=null)})};return f.$$.update=()=>{f.$$.dirty&1&&o.params.id&&r(o.params.id)},[o,i]}class Ae extends ae{constructor(e){super(),ne(this,e,Se,Le,se,{})}}export{Ae as component}; diff --git a/gui/next/build/_app/immutable/nodes/12.HivH1Y6E.js b/gui/next/build/_app/immutable/nodes/12.DEQesRsU.js similarity index 70% rename from gui/next/build/_app/immutable/nodes/12.HivH1Y6E.js rename to gui/next/build/_app/immutable/nodes/12.DEQesRsU.js index 7d22553b..67cae88c 100644 --- a/gui/next/build/_app/immutable/nodes/12.HivH1Y6E.js +++ b/gui/next/build/_app/immutable/nodes/12.DEQesRsU.js @@ -1,4 +1,4 @@ -import{s as Ue,a as F,e as m,t as be,p as De,f as N,g as I,c as _,b as O,A as se,d as ge,y as l,i as ce,h as n,B as Ce,C as te,M as Ee,F as Pe,r as Se,k as Ae,n as Be,G as Q,j as Te,I as Re}from"../chunks/scheduler.ts1nwYMk.js";import{S as qe,i as He,c as de,d as me,m as _e,t as j,a as X,e as Le,f as he,j as Ve,g as Ne}from"../chunks/index.MbwxngTa.js";import{e as ke}from"../chunks/each.CLm8ZDgo.js";import{f as je}from"../chunks/index.CqFcJeJT.js";import{g as ve}from"../chunks/graphql.BD1m7lx9.js";import{s as K}from"../chunks/state.HIdUDD3F.js";import{I as pe}from"../chunks/Icon.Dn_EaQMz.js";const ne={get:()=>ve({query:` +import{s as Ue,a as F,e as m,t as be,p as De,f as N,g as S,c as _,b as O,A as se,d as ge,y as l,i as ce,h as n,B as Ce,C as te,J as Ee,F as Pe,r as Ie,k as Ae,n as Be,G as Q,j as Te,M as Re}from"../chunks/scheduler.CKQ5dLhN.js";import{S as qe,i as He,c as de,d as me,m as _e,t as j,a as X,e as Le,f as he,j as Ve,g as Ne}from"../chunks/index.CGVWAVV-.js";import{e as ke}from"../chunks/each.BWzj3zy9.js";import{f as je}from"../chunks/index.WWWgbq8H.js";import{g as ve}from"../chunks/graphql.BD1m7lx9.js";import{s as K}from"../chunks/state.nqMW8J5l.js";import{I as pe}from"../chunks/Icon.CkKwi_WD.js";const ne={get:()=>ve({query:` query { constants( per_page: 100 @@ -21,6 +21,6 @@ import{s as Ue,a as F,e as m,t as be,p as De,f as N,g as I,c as _,b as O,A as se name } } - `;return ve({query:t})}};function ye(e,t,a){const o=e.slice();return o[13]=t[a],o[14]=t,o[15]=a,o}function Fe(e){let t,a,o="Clear filter",E,i,h,y,B;return i=new pe({props:{icon:"x",size:"12"}}),{c(){t=m("button"),a=m("span"),a.textContent=o,E=F(),de(i.$$.fragment),this.h()},l(f){t=_(f,"BUTTON",{class:!0});var k=O(t);a=_(k,"SPAN",{class:!0,"data-svelte-h":!0}),se(a)!=="svelte-1bu6mgu"&&(a.textContent=o),E=I(k),me(i.$$.fragment,k),k.forEach(N),this.h()},h(){l(a,"class","label svelte-9flr1b"),l(t,"class","clearFilter svelte-9flr1b")},m(f,k){ce(f,t,k),n(t,a),n(t,E),_e(i,t,null),h=!0,y||(B=te(t,"click",e[8]),y=!0)},p:Be,i(f){h||(j(i.$$.fragment,f),h=!0)},o(f){X(i.$$.fragment,f),h=!1},d(f){f&&N(t),he(i),y=!1,B()}}}function Ie(e){let t,a,o,E,i,h,y,B="Delete constant",f,k,z,C,T,U=e[13].name+"",G,r,c,v,W,q,R,g,Y,D,V,Z,M,d,P=e[13].exposed?"Hide value":"Show value",u,ae,H,s,$,p,L="Save",A,le,b,x,re;k=new pe({props:{icon:"x",size:"14"}});function oe(){return e[10](e[13],e[14],e[15])}H=new pe({props:{icon:e[13].exposed?"eyeStriked":"eye"}});function Oe(){return e[11](e[13],e[14],e[15])}function Me(...S){return e[12](e[15],...S)}return{c(){t=m("li"),a=m("form"),o=m("input"),i=F(),h=m("button"),y=m("span"),y.textContent=B,f=F(),de(k.$$.fragment),z=F(),C=m("form"),T=m("label"),G=be(U),c=F(),v=m("input"),q=F(),R=m("fieldset"),g=m("input"),Z=F(),M=m("button"),d=m("span"),u=be(P),ae=F(),de(H.$$.fragment),$=F(),p=m("button"),p.textContent=L,A=F(),this.h()},l(S){t=_(S,"LI",{class:!0});var w=O(t);a=_(w,"FORM",{class:!0});var ee=O(a);o=_(ee,"INPUT",{type:!0,name:!0,class:!0}),i=I(ee),h=_(ee,"BUTTON",{type:!0,title:!0,class:!0});var ie=O(h);y=_(ie,"SPAN",{class:!0,"data-svelte-h":!0}),se(y)!=="svelte-1p7u8ms"&&(y.textContent=B),f=I(ie),me(k.$$.fragment,ie),ie.forEach(N),ee.forEach(N),z=I(w),C=_(w,"FORM",{class:!0});var J=O(C);T=_(J,"LABEL",{for:!0,class:!0});var $e=O(T);G=ge($e,U),$e.forEach(N),c=I(J),v=_(J,"INPUT",{type:!0,name:!0,class:!0}),q=I(J),R=_(J,"FIELDSET",{class:!0});var ue=O(R);g=_(ue,"INPUT",{name:!0,id:!0,class:!0}),Z=I(ue),M=_(ue,"BUTTON",{type:!0,class:!0,title:!0});var fe=O(M);d=_(fe,"SPAN",{class:!0});var we=O(d);u=ge(we,P),we.forEach(N),ae=I(fe),me(H.$$.fragment,fe),fe.forEach(N),ue.forEach(N),$=I(J),p=_(J,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),se(p)!=="svelte-1g3xn8h"&&(p.textContent=L),J.forEach(N),A=I(w),w.forEach(N),this.h()},h(){l(o,"type","hidden"),l(o,"name","name"),o.value=E=e[13].name,l(o,"class","svelte-9flr1b"),l(y,"class","label svelte-9flr1b"),l(h,"type","submit"),l(h,"title","Delete constant"),l(h,"class","svelte-9flr1b"),l(a,"class","delete svelte-9flr1b"),l(T,"for",r=e[13].name),l(T,"class","svelte-9flr1b"),l(v,"type","hidden"),l(v,"name","name"),v.value=W=e[13].name,l(v,"class","svelte-9flr1b"),g.disabled=Y=!e[13].exposed,l(g,"name","value"),g.value=D=e[13].value,l(g,"id",V=e[13].name),l(g,"class","svelte-9flr1b"),Q(g,"exposed",e[13].exposed),l(d,"class","label svelte-9flr1b"),l(M,"type","button"),l(M,"class","toggleExposition svelte-9flr1b"),l(M,"title",s=e[13].exposed?"Hide value":"Show value"),l(R,"class","svelte-9flr1b"),l(p,"type","submit"),l(p,"class","button svelte-9flr1b"),Q(p,"needed",e[1][e[15]].changed),l(C,"class","edit svelte-9flr1b"),l(t,"class","svelte-9flr1b"),Q(t,"hidden",e[0]&&e[3](e[13])),Q(t,"highlighted",e[2].highlighted.constant===e[13].name)},m(S,w){ce(S,t,w),n(t,a),n(a,o),n(a,i),n(a,h),n(h,y),n(h,f),_e(k,h,null),n(t,z),n(t,C),n(C,T),n(T,G),n(C,c),n(C,v),n(C,q),n(C,R),n(R,g),n(R,Z),n(R,M),n(M,d),n(d,u),n(M,ae),_e(H,M,null),n(C,$),n(C,p),n(t,A),b=!0,x||(re=[te(a,"submit",Ee(e[9])),te(g,"input",oe),te(M,"click",Oe),te(C,"submit",Ee(Me))],x=!0)},p(S,w){e=S,(!b||w&2&&E!==(E=e[13].name))&&(o.value=E),(!b||w&2)&&U!==(U=e[13].name+"")&&Te(G,U),(!b||w&2&&r!==(r=e[13].name))&&l(T,"for",r),(!b||w&2&&W!==(W=e[13].name))&&(v.value=W),(!b||w&2&&Y!==(Y=!e[13].exposed))&&(g.disabled=Y),(!b||w&2&&D!==(D=e[13].value)&&g.value!==D)&&(g.value=D),(!b||w&2&&V!==(V=e[13].name))&&l(g,"id",V),(!b||w&2)&&Q(g,"exposed",e[13].exposed),(!b||w&2)&&P!==(P=e[13].exposed?"Hide value":"Show value")&&Te(u,P);const ee={};w&2&&(ee.icon=e[13].exposed?"eyeStriked":"eye"),H.$set(ee),(!b||w&2&&s!==(s=e[13].exposed?"Hide value":"Show value"))&&l(M,"title",s),(!b||w&2)&&Q(p,"needed",e[1][e[15]].changed),(!b||w&11)&&Q(t,"hidden",e[0]&&e[3](e[13])),(!b||w&6)&&Q(t,"highlighted",e[2].highlighted.constant===e[13].name)},i(S){b||(j(k.$$.fragment,S),j(H.$$.fragment,S),S&&(le||Re(()=>{le=Ve(t,je,{duration:100,delay:10*e[15]}),le.start()})),b=!0)},o(S){X(k.$$.fragment,S),X(H.$$.fragment,S),b=!1},d(S){S&&N(t),he(k),he(H),x=!1,Se(re)}}}function Ke(e){var H;let t,a,o,E,i,h,y="Find:",B,f,k,z,C,T,U,G=' ',r,c,v=' ',W,q,R,g,Y,D,V,Z,M;document.title=t="Constants"+((H=e[2].online)!=null&&H.MPKIT_URL?": "+e[2].online.MPKIT_URL.replace("https://",""):"");let d=e[0]&&Fe(e);g=new pe({props:{icon:"arrowRight"}});let P=ke(e[1]),u=[];for(let s=0;sX(u[s],1,1,()=>{u[s]=null});return{c(){a=F(),o=m("div"),E=m("nav"),i=m("form"),h=m("label"),h.textContent=y,B=F(),f=m("input"),k=F(),d&&d.c(),z=F(),C=m("section"),T=m("form"),U=m("fieldset"),U.innerHTML=G,r=F(),c=m("fieldset"),c.innerHTML=v,W=F(),q=m("button"),R=be(`Add\r - `),de(g.$$.fragment),Y=F(),D=m("ul");for(let s=0;s{d=null}),Le()),$&63){P=ke(s[1]);let L;for(L=0;La(2,o=r));let E="",i=[];(async()=>await ne.get())().then(r=>{a(1,i=r)});const h=r=>r.name.toLowerCase().indexOf(E.toLowerCase())===-1&&r.value.toLowerCase().indexOf(E.toLowerCase())===-1,y=async(r,c)=>{r.preventDefault();const v=await ne.edit(new FormData(r.target));v.errors?K.notification.create("error",`Failed to update ${v.constant_set.name} constant`):(a(1,i[c].changed=!1,i),K.highlight("constant",v.constant_set.name),K.notification.create("success",`Constant ${v.constant_set.name} updated`))},B=async r=>{if(r.preventDefault(),confirm("Are you sure you want to delete this constant?")){const c=await ne.delete(new FormData(r.target));c.errors?K.notification.create("success",`Failed to delete ${c.constant_unset.name} constant`):(K.notification.create("success",`Constant ${c.constant_unset.name} deleted`),await ne.get().then(v=>{a(1,i=v)}))}},f=async r=>{r.preventDefault();const c=await ne.edit(new FormData(r.target));c.errors?K.notification.create("error",`Failed to create ${c.constant_set.name} constant`):(r.target.reset(),K.notification.create("success",`Constant ${c.constant_set.name} created`),await ne.get().then(v=>{a(1,i=v),K.highlight("constant",c.constant_set.name)}))};function k(){E=this.value,a(0,E)}return[E,i,o,h,y,B,f,k,()=>a(0,E=""),r=>B(r),(r,c,v)=>a(1,c[v].changed=!0,i),(r,c,v)=>a(1,c[v].exposed=!r.exposed,i),(r,c)=>y(c,r)]}class xe extends qe{constructor(t){super(),He(this,t,ze,Ke,Ue,{})}}export{xe as component}; + `;return ve({query:t})}};function ye(e,t,a){const o=e.slice();return o[13]=t[a],o[14]=t,o[15]=a,o}function Fe(e){let t,a,o="Clear filter",E,i,h,y,B;return i=new pe({props:{icon:"x",size:"12"}}),{c(){t=m("button"),a=m("span"),a.textContent=o,E=F(),de(i.$$.fragment),this.h()},l(f){t=_(f,"BUTTON",{class:!0});var k=O(t);a=_(k,"SPAN",{class:!0,"data-svelte-h":!0}),se(a)!=="svelte-1bu6mgu"&&(a.textContent=o),E=S(k),me(i.$$.fragment,k),k.forEach(N),this.h()},h(){l(a,"class","label svelte-9flr1b"),l(t,"class","clearFilter svelte-9flr1b")},m(f,k){ce(f,t,k),n(t,a),n(t,E),_e(i,t,null),h=!0,y||(B=te(t,"click",e[8]),y=!0)},p:Be,i(f){h||(j(i.$$.fragment,f),h=!0)},o(f){X(i.$$.fragment,f),h=!1},d(f){f&&N(t),he(i),y=!1,B()}}}function Se(e){let t,a,o,E,i,h,y,B="Delete constant",f,k,z,C,T,U=e[13].name+"",G,r,c,v,J,q,R,g,W,D,V,Z,M,d,P=e[13].exposed?"Hide value":"Show value",u,ae,H,s,$,p,L="Save",A,le,b,x,re;k=new pe({props:{icon:"x",size:"14"}});function oe(){return e[10](e[13],e[14],e[15])}H=new pe({props:{icon:e[13].exposed?"eyeStriked":"eye"}});function Oe(){return e[11](e[13],e[14],e[15])}function Me(...I){return e[12](e[15],...I)}return{c(){t=m("li"),a=m("form"),o=m("input"),i=F(),h=m("button"),y=m("span"),y.textContent=B,f=F(),de(k.$$.fragment),z=F(),C=m("form"),T=m("label"),G=be(U),c=F(),v=m("input"),q=F(),R=m("fieldset"),g=m("input"),Z=F(),M=m("button"),d=m("span"),u=be(P),ae=F(),de(H.$$.fragment),$=F(),p=m("button"),p.textContent=L,A=F(),this.h()},l(I){t=_(I,"LI",{class:!0});var w=O(t);a=_(w,"FORM",{class:!0});var ee=O(a);o=_(ee,"INPUT",{type:!0,name:!0,class:!0}),i=S(ee),h=_(ee,"BUTTON",{type:!0,title:!0,class:!0});var ie=O(h);y=_(ie,"SPAN",{class:!0,"data-svelte-h":!0}),se(y)!=="svelte-1p7u8ms"&&(y.textContent=B),f=S(ie),me(k.$$.fragment,ie),ie.forEach(N),ee.forEach(N),z=S(w),C=_(w,"FORM",{class:!0});var Y=O(C);T=_(Y,"LABEL",{for:!0,class:!0});var $e=O(T);G=ge($e,U),$e.forEach(N),c=S(Y),v=_(Y,"INPUT",{type:!0,name:!0,class:!0}),q=S(Y),R=_(Y,"FIELDSET",{class:!0});var ue=O(R);g=_(ue,"INPUT",{name:!0,id:!0,class:!0}),Z=S(ue),M=_(ue,"BUTTON",{type:!0,class:!0,title:!0});var fe=O(M);d=_(fe,"SPAN",{class:!0});var we=O(d);u=ge(we,P),we.forEach(N),ae=S(fe),me(H.$$.fragment,fe),fe.forEach(N),ue.forEach(N),$=S(Y),p=_(Y,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),se(p)!=="svelte-1g3xn8h"&&(p.textContent=L),Y.forEach(N),A=S(w),w.forEach(N),this.h()},h(){l(o,"type","hidden"),l(o,"name","name"),o.value=E=e[13].name,l(o,"class","svelte-9flr1b"),l(y,"class","label svelte-9flr1b"),l(h,"type","submit"),l(h,"title","Delete constant"),l(h,"class","svelte-9flr1b"),l(a,"class","delete svelte-9flr1b"),l(T,"for",r=e[13].name),l(T,"class","svelte-9flr1b"),l(v,"type","hidden"),l(v,"name","name"),v.value=J=e[13].name,l(v,"class","svelte-9flr1b"),g.disabled=W=!e[13].exposed,l(g,"name","value"),g.value=D=e[13].value,l(g,"id",V=e[13].name),l(g,"class","svelte-9flr1b"),Q(g,"exposed",e[13].exposed),l(d,"class","label svelte-9flr1b"),l(M,"type","button"),l(M,"class","toggleExposition svelte-9flr1b"),l(M,"title",s=e[13].exposed?"Hide value":"Show value"),l(R,"class","svelte-9flr1b"),l(p,"type","submit"),l(p,"class","button svelte-9flr1b"),Q(p,"needed",e[1][e[15]].changed),l(C,"class","edit svelte-9flr1b"),l(t,"class","svelte-9flr1b"),Q(t,"hidden",e[0]&&e[3](e[13])),Q(t,"highlighted",e[2].highlighted.constant===e[13].name)},m(I,w){ce(I,t,w),n(t,a),n(a,o),n(a,i),n(a,h),n(h,y),n(h,f),_e(k,h,null),n(t,z),n(t,C),n(C,T),n(T,G),n(C,c),n(C,v),n(C,q),n(C,R),n(R,g),n(R,Z),n(R,M),n(M,d),n(d,u),n(M,ae),_e(H,M,null),n(C,$),n(C,p),n(t,A),b=!0,x||(re=[te(a,"submit",Ee(e[9])),te(g,"input",oe),te(M,"click",Oe),te(C,"submit",Ee(Me))],x=!0)},p(I,w){e=I,(!b||w&2&&E!==(E=e[13].name))&&(o.value=E),(!b||w&2)&&U!==(U=e[13].name+"")&&Te(G,U),(!b||w&2&&r!==(r=e[13].name))&&l(T,"for",r),(!b||w&2&&J!==(J=e[13].name))&&(v.value=J),(!b||w&2&&W!==(W=!e[13].exposed))&&(g.disabled=W),(!b||w&2&&D!==(D=e[13].value)&&g.value!==D)&&(g.value=D),(!b||w&2&&V!==(V=e[13].name))&&l(g,"id",V),(!b||w&2)&&Q(g,"exposed",e[13].exposed),(!b||w&2)&&P!==(P=e[13].exposed?"Hide value":"Show value")&&Te(u,P);const ee={};w&2&&(ee.icon=e[13].exposed?"eyeStriked":"eye"),H.$set(ee),(!b||w&2&&s!==(s=e[13].exposed?"Hide value":"Show value"))&&l(M,"title",s),(!b||w&2)&&Q(p,"needed",e[1][e[15]].changed),(!b||w&11)&&Q(t,"hidden",e[0]&&e[3](e[13])),(!b||w&6)&&Q(t,"highlighted",e[2].highlighted.constant===e[13].name)},i(I){b||(j(k.$$.fragment,I),j(H.$$.fragment,I),I&&(le||Re(()=>{le=Ve(t,je,{duration:100,delay:10*e[15]}),le.start()})),b=!0)},o(I){X(k.$$.fragment,I),X(H.$$.fragment,I),b=!1},d(I){I&&N(t),he(k),he(H),x=!1,Ie(re)}}}function Ke(e){var H;let t,a,o,E,i,h,y="Find:",B,f,k,z,C,T,U,G=' ',r,c,v=' ',J,q,R,g,W,D,V,Z,M;document.title=t="Constants"+((H=e[2].online)!=null&&H.MPKIT_URL?": "+e[2].online.MPKIT_URL.replace("https://",""):"");let d=e[0]&&Fe(e);g=new pe({props:{icon:"arrowRight"}});let P=ke(e[1]),u=[];for(let s=0;sX(u[s],1,1,()=>{u[s]=null});return{c(){a=F(),o=m("div"),E=m("nav"),i=m("form"),h=m("label"),h.textContent=y,B=F(),f=m("input"),k=F(),d&&d.c(),z=F(),C=m("section"),T=m("form"),U=m("fieldset"),U.innerHTML=G,r=F(),c=m("fieldset"),c.innerHTML=v,J=F(),q=m("button"),R=be(`Add\r + `),de(g.$$.fragment),W=F(),D=m("ul");for(let s=0;s{d=null}),Le()),$&63){P=ke(s[1]);let L;for(L=0;La(2,o=r));let E="",i=[];(async()=>await ne.get())().then(r=>{a(1,i=r)});const h=r=>r.name.toLowerCase().indexOf(E.toLowerCase())===-1&&r.value.toLowerCase().indexOf(E.toLowerCase())===-1,y=async(r,c)=>{r.preventDefault();const v=await ne.edit(new FormData(r.target));v.errors?K.notification.create("error",`Failed to update ${v.constant_set.name} constant`):(a(1,i[c].changed=!1,i),K.highlight("constant",v.constant_set.name),K.notification.create("success",`Constant ${v.constant_set.name} updated`))},B=async r=>{if(r.preventDefault(),confirm("Are you sure you want to delete this constant?")){const c=await ne.delete(new FormData(r.target));c.errors?K.notification.create("success",`Failed to delete ${c.constant_unset.name} constant`):(K.notification.create("success",`Constant ${c.constant_unset.name} deleted`),await ne.get().then(v=>{a(1,i=v)}))}},f=async r=>{r.preventDefault();const c=await ne.edit(new FormData(r.target));c.errors?K.notification.create("error",`Failed to create ${c.constant_set.name} constant`):(r.target.reset(),K.notification.create("success",`Constant ${c.constant_set.name} created`),await ne.get().then(v=>{a(1,i=v),K.highlight("constant",c.constant_set.name)}))};function k(){E=this.value,a(0,E)}return[E,i,o,h,y,B,f,k,()=>a(0,E=""),r=>B(r),(r,c,v)=>a(1,c[v].changed=!0,i),(r,c,v)=>a(1,c[v].exposed=!r.exposed,i),(r,c)=>y(c,r)]}class xe extends qe{constructor(t){super(),He(this,t,ze,Ke,Ue,{})}}export{xe as component}; diff --git a/gui/next/build/_app/immutable/nodes/13.r_3bELzf.js b/gui/next/build/_app/immutable/nodes/13.BeNxU1VC.js similarity index 81% rename from gui/next/build/_app/immutable/nodes/13.r_3bELzf.js rename to gui/next/build/_app/immutable/nodes/13.BeNxU1VC.js index 24735260..5536cb0c 100644 --- a/gui/next/build/_app/immutable/nodes/13.r_3bELzf.js +++ b/gui/next/build/_app/immutable/nodes/13.BeNxU1VC.js @@ -1 +1 @@ -import{s as i,n as o,p as l,f as c,k as p}from"../chunks/scheduler.ts1nwYMk.js";import{S as m,i as d}from"../chunks/index.MbwxngTa.js";import{s as u}from"../chunks/state.HIdUDD3F.js";function _(n){var s;let e;return document.title=e="Database"+((s=n[0].online)!=null&&s.MPKIT_URL?": "+n[0].online.MPKIT_URL.replace("https://",""):""),{c:o,l(t){l("svelte-1bpefxl",document.head).forEach(c)},m:o,p(t,[a]){var r;a&1&&e!==(e="Database"+((r=t[0].online)!=null&&r.MPKIT_URL?": "+t[0].online.MPKIT_URL.replace("https://",""):""))&&(document.title=e)},i:o,o,d:o}}function f(n,e,s){let t;return p(n,u,a=>s(0,t=a)),[t]}class I extends m{constructor(e){super(),d(this,e,f,_,i,{})}}export{I as component}; +import{s as i,n as o,p as l,f as c,k as p}from"../chunks/scheduler.CKQ5dLhN.js";import{S as m,i as d}from"../chunks/index.CGVWAVV-.js";import{s as u}from"../chunks/state.nqMW8J5l.js";function _(n){var s;let e;return document.title=e="Database"+((s=n[0].online)!=null&&s.MPKIT_URL?": "+n[0].online.MPKIT_URL.replace("https://",""):""),{c:o,l(t){l("svelte-1bpefxl",document.head).forEach(c)},m:o,p(t,[a]){var r;a&1&&e!==(e="Database"+((r=t[0].online)!=null&&r.MPKIT_URL?": "+t[0].online.MPKIT_URL.replace("https://",""):""))&&(document.title=e)},i:o,o,d:o}}function f(n,e,s){let t;return p(n,u,a=>s(0,t=a)),[t]}class I extends m{constructor(e){super(),d(this,e,f,_,i,{})}}export{I as component}; diff --git a/gui/next/build/_app/immutable/nodes/14.BgWr4nmh.js b/gui/next/build/_app/immutable/nodes/14.BgWr4nmh.js deleted file mode 100644 index 49a89d29..00000000 --- a/gui/next/build/_app/immutable/nodes/14.BgWr4nmh.js +++ /dev/null @@ -1,72 +0,0 @@ -import{s as Ze,e as g,c as $,b as I,f as h,i as A,C as le,M as _t,k as Pe,v as Ae,F as Ye,a as L,A as ne,g as F,y as _,B as re,I as dt,h as c,J as Xe,r as st,E as Fe,K as gt,z as rt,t as W,d as K,j as _e,n as Re,O as Ct,_ as ml,ah as jt,G as ke,W as yl,H as wl,a0 as kl,p as El,D as Tl,$ as Cl}from"../chunks/scheduler.ts1nwYMk.js";import{S as Ge,i as Qe,t as D,g as ge,a as j,e as $e,c as se,d as ie,m as oe,f as ue,h as Rt,b as Nl}from"../chunks/index.MbwxngTa.js";import{g as Sl}from"../chunks/globals.D0QH3NT1.js";import{p as yt}from"../chunks/stores.D3n-8z5b.js";import{s as H}from"../chunks/state.HIdUDD3F.js";import{g as ut}from"../chunks/graphql.BD1m7lx9.js";import{I as Se}from"../chunks/Icon.Dn_EaQMz.js";import{e as Ee,u as Ol,o as Il}from"../chunks/each.CLm8ZDgo.js";import{t as Tt}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{c as Dl,T as Ll}from"../chunks/Toggle.CWtzvS12.js";import{J as Fl}from"../chunks/JSONTree.DHR6A5Hv.js";import{q as Pl}from"../chunks/index.iVSWiVfi.js";import{N as Al}from"../chunks/Number.CAl2R2zF.js";const jl={array:"value_array",boolean:"value_boolean",date:"value",datetime:"value",float:"value_float",integer:"value_int",string:"value",text:"value",upload:"value",json:"value_json"},bl={string:"String",integer:"Int",float:"Float",boolean:"Boolean",array:"[String!]",json:"JSONPayload",range:"RangeFilter"},Rl=(r=[])=>{let e="",l={},t="";const n={string:["array_contains","not_array_contains","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with","value"],int:["value_int","not_value_int"],float:["not_value_float","value_float"],bool:["exists","not_value_boolean","value_boolean"],range:["range"],array:["value_array","not_value_array","value_in","not_value_in","array_overlaps","not_array_overlaps"]};for(const a of r){if(!a.minFilterValue&&!a.maxFilterValue&&!a.value)break;let s="",i="";n.int.includes(a.operation)?(s="integer",i=parseInt(a.value)):n.float.includes(a.operation)?(s="float",i=parseFloat(a.value)):n.bool.includes(a.operation)?(s="boolean",i=a.value==="true"):n.range.includes(a.operation)?(s="range",i={},i[a.minFilter]=a.minFilterValue,i[a.maxFilter]=a.maxFilterValue):n.array.includes(a.operation)?(s="array",i=JSON.parse(a.value)):(s="string",i=a.value),a.name!=="id"&&(e+=`, $${a.name}: ${bl[s]||"String"}`,l[a.name]=i,t+=`{ - name: "${a.name}", - ${a.operation}: $${a.name} - }`)}return e.length&&(e=e.slice(2),e=`(${e})`),t=` - properties: [${t}] - `,{variablesDefinition:e,variables:l,propertiesFilter:t}},Ut=r=>{const e=r.entries();let l="",t={},n="",a={};function s(i,o){return o===""?null:i==="integer"?parseInt(o):i==="float"?parseFloat(o):i==="boolean"?o==="true":i==="array"||i==="json"?JSON.parse(o):o}for(const[i,o]of e)if(i.indexOf("[")>=0){let u=i.slice(0,i.indexOf("[")),d=i.slice(i.indexOf("[")+1,i.indexOf("]"));(a[u]??(a[u]={}))[d]=o}for(const i in a)l+=`, $${i}: ${bl[a[i].type]||"String"}`,t[i]=s(a[i].type,a[i].value),n+=`{ name: "${i}", ${jl[a[i].type]}: $${i} }`;return l.length&&(l=l.slice(2),l=`(${l})`),{variablesDefinition:l,variables:t,properties:n}},Ne={get:r=>{var d,f,v;const l={...{deleted:!1,filters:{page:1}},...r},t=l.table?`table_id: { value: ${l.table} }`:"",n=(f=(d=l.filters)==null?void 0:d.attributes)==null?void 0:f.findIndex(b=>b.name==="id");let a="";n>=0&&l.filters.attributes[n].value&&(a=`id: { ${l.filters.attributes[n].operation}: ${l.filters.attributes[n].value} }`);let s="";l.sort?l.sort.by==="id"||l.sort.by==="created_at"||l.sort.by==="updated_at"?s=`${l.sort.by}: { order: ${l.sort.order} }`:s=`properties: { name: "${l.sort.by}", order: ${l.sort.order} }`:s="created_at: { order: DESC }";const i=l.deleted==="true"?"deleted_at: { exists: true }":"",o=Rl((v=l.filters)==null?void 0:v.attributes),u=` - query${o.variablesDefinition} { - records( - page: ${l.filters.page} - per_page: 20, - sort: { ${s} }, - filter: { - ${t} - ${a} - ${i} - ${o.propertiesFilter} - } - ) { - current_page - total_pages - results { - id - created_at - updated_at - deleted_at - properties - } - } - }`;return ut({query:u,variables:o.variables}).then(b=>{H.data("records",b.records)})},create:r=>{const l=Object.fromEntries(r.properties.entries()).tableName,t=Ut(r.properties),n=` - mutation${t.variablesDefinition} { - record_create(record: { - table: "${l}", - properties: [${t.properties}] - }) { - id - } - }`;return ut({query:n,variables:t.variables})},edit:r=>{let e=Object.fromEntries(r.properties.entries());const l=e.tableName,t=e.recordId,n=Ut(r.properties),a=` - mutation${n.variablesDefinition} { - record_update( - id: ${t}, - record: { - table: "${l}" - properties: [${n.properties}] - } - ) { - id - } - }`;return ut({query:a,variables:n.variables})},delete:r=>{let e=Object.fromEntries(r.properties.entries());const l=e.tableName,t=e.recordId,n=` - mutation { - record_delete(table: "${l}", id: ${t}) { - id - } - }`;return ut({query:n})},restore:r=>{let e=Object.fromEntries(r.properties.entries());const l=e.tableName,n=` - mutation { - record_update( - id: ${e.recordId}, - record: { - table: "${l}", - deleted_at: null - } - ) { - id - } - }`;return ut({query:n})}};function Vt(r,e,l){const t=r.slice();return t[10]=e[l],t[11]=e,t[12]=l,t}function Bt(r,e,l){const t=r.slice();return t[13]=e[l],t}function zt(r,e,l){const t=r.slice();return t[16]=e[l],t}function Mt(r){let e,l,t=Ee(r[1].filters.attributes),n=[];for(let s=0;sj(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s{S[O]=null}),$e(),v=S[f],v?v.p(r,y):(v=S[f]=q[f](r),v.c()),D(v,1),v.m(e,b))},i(N){C||(D(v),C=!0)},o(N){j(v),C=!1},d(N){N&&h(e),Ye(p,N),S[f].d(),E=!1,st(m)}}}function ql(r){var s;let e,l,t,n,a=((s=r[1].table)==null?void 0:s.properties)&&Mt(r);return{c(){e=g("form"),a&&a.c()},l(i){e=$(i,"FORM",{});var o=I(e);a&&a.l(o),o.forEach(h)},m(i,o){A(i,e,o),a&&a.m(e,null),r[9](e),l=!0,t||(n=le(e,"submit",_t(r[3])),t=!0)},p(i,[o]){var u;(u=i[1].table)!=null&&u.properties?a?(a.p(i,o),o&2&&D(a,1)):(a=Mt(i),a.c(),D(a,1),a.m(e,null)):a&&(ge(),j(a,1,1,()=>{a=null}),$e())},i(i){l||(D(a),l=!0)},o(i){j(a),l=!1},d(i){i&&h(e),a&&a.d(),r[9](null),t=!1,n()}}}function Hl(r,e,l){let t;Pe(r,H,b=>l(1,t=b));let n;const a={id:["value"],string:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"],text:["value","exists","not_value"],array:["array_contains","value_array","value_in","exists","array_overlaps","not_array_contains","not_array_overlaps","not_value_array","not_value_in"],boolean:["value_boolean","exists","not_value_boolean"],integer:["value_int","exists","not_value_int","range"],float:["value_float","exists","not_value_float","range"],upload:["value","exists","not_value"],datetime:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"],date:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"]},s=()=>{Fe(H,t.filters={page:1,attributes:[Object.fromEntries(new FormData(n).entries())],deleted:t.filters.deleted},t),Ne.get({table:t.table.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})};function i(b,C){b[C].name=gt(this),H.set(t)}const o=(b,C,E)=>{var m;Fe(H,C[E].attribute_type=((m=t.table.properties.find(k=>k.name===b.name))==null?void 0:m.attribute_type)||"id",t)};function u(b,C){b[C].attribute_type=this.value,H.set(t)}function d(b,C){b[C].operation=gt(this),H.set(t)}function f(b,C){b[C].value=this.value,H.set(t)}function v(b){rt[b?"unshift":"push"](()=>{n=b,l(0,n)})}return[n,t,a,s,i,o,u,d,f,v]}class Jl extends Ge{constructor(e){super(),Qe(this,e,Hl,ql,Ze,{})}}function Wt(r,e,l){const t=r.slice();return t[8]=e[l],t}function Kt(r){let e,l,t="created at",n,a="updated at",s,i="id",o,u,d,f="DESC [Z→A]",v,b="ASC [A→Z]",C,E,m,k,p,w,T,B=Ee(r[1].table.properties),q=[];for(let y=0;yr[3].call(e)),d.__value="DESC",re(d,d.__value),v.__value="ASC",re(v,v.__value),_(u,"name","order"),_(u,"id","sort_order"),_(u,"class","svelte-yzlk61"),r[1].sort.order===void 0&&dt(()=>r[5].call(u)),_(E,"for","sort_order"),_(E,"class","button svelte-yzlk61")},m(y,O){A(y,e,O),c(e,l),c(e,n),c(e,s);for(let P=0;P{V[P]=null}),$e(),k=V[m],k||(k=V[m]=S[m](y),k.c()),D(k,1),k.m(E,null))},i(y){p||(D(k),p=!0)},o(y){j(k),p=!1},d(y){y&&(h(e),h(o),h(u),h(C),h(E)),Ye(q,y),V[m].d(),w=!1,st(T)}}}function Xt(r){let e,l=r[8].name+"",t,n,a;return{c(){e=g("option"),t=W(l),n=L(),this.h()},l(s){e=$(s,"OPTION",{});var i=I(e);t=K(i,l),n=F(i),i.forEach(h),this.h()},h(){e.__value=a=r[8].name,re(e,e.__value)},m(s,i){A(s,e,i),c(e,t),c(e,n)},p(s,i){i&2&&l!==(l=s[8].name+"")&&_e(t,l),i&2&&a!==(a=s[8].name)&&(e.__value=a,re(e,e.__value))},d(s){s&&h(e)}}}function Wl(r){let e,l;return e=new Se({props:{icon:"sortAZ"}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function Kl(r){let e,l;return e=new Se({props:{icon:"sortZA"}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function Xl(r){var s;let e,l,t,n,a=((s=r[1].table)==null?void 0:s.properties)&&Kt(r);return{c(){e=g("form"),a&&a.c(),this.h()},l(i){e=$(i,"FORM",{class:!0});var o=I(e);a&&a.l(o),o.forEach(h),this.h()},h(){_(e,"class","svelte-yzlk61")},m(i,o){A(i,e,o),a&&a.m(e,null),r[7](e),l=!0,t||(n=le(e,"submit",_t(r[2])),t=!0)},p(i,[o]){var u;(u=i[1].table)!=null&&u.properties?a?(a.p(i,o),o&2&&D(a,1)):(a=Kt(i),a.c(),D(a,1),a.m(e,null)):a&&(ge(),j(a,1,1,()=>{a=null}),$e())},i(i){l||(D(a),l=!0)},o(i){j(a),l=!1},d(i){i&&h(e),a&&a.d(),r[7](null),t=!1,n()}}}function Yl(r,e,l){let t;Pe(r,H,f=>l(1,t=f));let n;const a=()=>{Fe(H,t.filters.page=1,t),Ne.get({table:t.table.id,filters:t.filters,sort:Object.fromEntries(new FormData(n).entries()),deleted:t.filters.deleted})};function s(){t.sort.by=gt(this),H.set(t)}const i=()=>n.requestSubmit();function o(){t.sort.order=gt(this),H.set(t)}const u=()=>n.requestSubmit();function d(f){rt[f?"unshift":"push"](()=>{n=f,l(0,n)})}return[n,t,a,s,i,o,u,d]}class Zl extends Ge{constructor(e){super(),Qe(this,e,Yl,Xl,Ze,{})}}const gl=(r,e)=>{let l={value:r,type:e};return r==null?(l.value=null,l.type="null",{...l}):(e==="boolean"&&(r===!0?l.value="true":l.value="false"),typeof r=="object"?(l.value=r,l.type="json",{...l}):Tt(r)?(l.value=Tt(r),l.type="jsonEscaped",{...l}):{...l,original:{value:r,type:e}})};function Gl(r){let e,l,t,n,a,s,i,o,u,d,f,v,b;return u=new Se({props:{icon:"x",size:"22"}}),{c(){e=g("form"),l=g("input"),n=L(),a=g("input"),s=L(),i=g("button"),o=g("i"),se(u.$$.fragment),d=W(`\r - Delete record`),this.h()},l(C){e=$(C,"FORM",{});var E=I(e);l=$(E,"INPUT",{type:!0,name:!0}),n=F(E),a=$(E,"INPUT",{type:!0,name:!0}),s=F(E),i=$(E,"BUTTON",{class:!0});var m=I(i);o=$(m,"I",{class:!0});var k=I(o);ie(u.$$.fragment,k),k.forEach(h),d=K(m,`\r - Delete record`),m.forEach(h),E.forEach(h),this.h()},h(){_(l,"type","hidden"),_(l,"name","tableName"),l.value=t=r[0].name,_(a,"type","hidden"),_(a,"name","recordId"),a.value=r[1],_(o,"class","svelte-ooaugn"),_(i,"class","danger")},m(C,E){A(C,e,E),c(e,l),c(e,n),c(e,a),c(e,s),c(e,i),c(i,o),oe(u,o,null),c(i,d),r[4](e),f=!0,v||(b=le(e,"submit",r[3]),v=!0)},p(C,[E]){(!f||E&1&&t!==(t=C[0].name))&&(l.value=t),(!f||E&2)&&(a.value=C[1])},i(C){f||(D(u.$$.fragment,C),f=!0)},o(C){j(u.$$.fragment,C),f=!1},d(C){C&&h(e),ue(u),r[4](null),v=!1,b()}}}function Ql(r,e,l){let t,n;Pe(r,H,f=>l(5,t=f)),Pe(r,yt,f=>l(6,n=f));let{table:a}=e,{id:s}=e,i,o=Ct();const u=async f=>{if(f.preventDefault(),confirm("Are you sure you want to delete this record?")){o("success");const v=await Ne.delete({table:a.name,properties:new FormData(i)});v.errors?H.notification.create("error",`Record ${v.record_delete.id} could not be deleted`):(Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.notification.create("success",`Record ${v.record_delete.id} deleted`))}};function d(f){rt[f?"unshift":"push"](()=>{i=f,l(2,i)})}return r.$$set=f=>{"table"in f&&l(0,a=f.table),"id"in f&&l(1,s=f.id)},[a,s,i,u,d]}class xl extends Ge{constructor(e){super(),Qe(this,e,Ql,Gl,Ze,{table:0,id:1})}}function er(r){let e,l,t,n,a,s,i,o,u,d,f,v,b;return u=new Se({props:{icon:"recycleRefresh"}}),{c(){e=g("form"),l=g("input"),n=L(),a=g("input"),s=L(),i=g("button"),o=g("i"),se(u.$$.fragment),d=W(`\r - Restore record`),this.h()},l(C){e=$(C,"FORM",{});var E=I(e);l=$(E,"INPUT",{type:!0,name:!0}),n=F(E),a=$(E,"INPUT",{type:!0,name:!0}),s=F(E),i=$(E,"BUTTON",{});var m=I(i);o=$(m,"I",{});var k=I(o);ie(u.$$.fragment,k),k.forEach(h),d=K(m,`\r - Restore record`),m.forEach(h),E.forEach(h),this.h()},h(){_(l,"type","hidden"),_(l,"name","tableName"),l.value=t=r[0].name,_(a,"type","hidden"),_(a,"name","recordId"),a.value=r[1]},m(C,E){A(C,e,E),c(e,l),c(e,n),c(e,a),c(e,s),c(e,i),c(i,o),oe(u,o,null),c(i,d),r[4](e),f=!0,v||(b=le(e,"submit",r[3]),v=!0)},p(C,[E]){(!f||E&1&&t!==(t=C[0].name))&&(l.value=t),(!f||E&2)&&(a.value=C[1])},i(C){f||(D(u.$$.fragment,C),f=!0)},o(C){j(u.$$.fragment,C),f=!1},d(C){C&&h(e),ue(u),r[4](null),v=!1,b()}}}function tr(r,e,l){let t,n;Pe(r,H,f=>l(5,t=f)),Pe(r,yt,f=>l(6,n=f));let{table:a}=e,{id:s}=e,i,o=Ct();const u=async f=>{f.preventDefault(),o("success");const v=await Ne.restore({table:a.name,properties:new FormData(i)});v.errors?H.notification.create("error",`Record ${v.record_update.id} could not be restored`):(Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.notification.create("success",`Record ${v.record_update.id} restored`))};function d(f){rt[f?"unshift":"push"](()=>{i=f,l(2,i)})}return r.$$set=f=>{"table"in f&&l(0,a=f.table),"id"in f&&l(1,s=f.id)},[a,s,i,u,d]}class lr extends Ge{constructor(e){super(),Qe(this,e,tr,er,Ze,{table:0,id:1})}}function rr(r){let e,l;return e=new xl({props:{table:r[1].table,id:r[0].id}}),e.$on("success",r[6]),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.table=t[1].table),n&1&&(a.id=t[0].id),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function nr(r){let e,l;return e=new lr({props:{table:r[1].table,id:r[0].id}}),e.$on("success",r[5]),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.table=t[1].table),n&1&&(a.id=t[0].id),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function ar(r){let e,l,t,n,a,s,i,o,u,d,f,v,b;a=new Se({props:{icon:"copy",size:"22"}});const C=[nr,rr],E=[];function m(k,p){return k[1].filters.deleted==="true"?0:1}return u=m(r),d=E[u]=C[u](r),{c(){e=g("menu"),l=g("ul"),t=g("li"),n=g("button"),se(a.$$.fragment),s=W(`\r - Copy record`),i=L(),o=g("li"),d.c(),this.h()},l(k){e=$(k,"MENU",{class:!0});var p=I(e);l=$(p,"UL",{});var w=I(l);t=$(w,"LI",{class:!0});var T=I(t);n=$(T,"BUTTON",{type:!0});var B=I(n);ie(a.$$.fragment,B),s=K(B,`\r - Copy record`),B.forEach(h),T.forEach(h),i=F(w),o=$(w,"LI",{class:!0});var q=I(o);d.l(q),q.forEach(h),w.forEach(h),p.forEach(h),this.h()},h(){_(n,"type","button"),_(t,"class","svelte-1tht2a1"),_(o,"class","svelte-1tht2a1"),_(e,"class","content-context svelte-1tht2a1")},m(k,p){A(k,e,p),c(e,l),c(l,t),c(t,n),oe(a,n,null),c(n,s),c(l,i),c(l,o),E[u].m(o,null),f=!0,v||(b=[le(window,"keyup",r[3]),le(n,"click",r[4]),ml(Dl.call(null,e,r[7]))],v=!0)},p(k,[p]){let w=u;u=m(k),u===w?E[u].p(k,p):(ge(),j(E[w],1,1,()=>{E[w]=null}),$e(),d=E[u],d?d.p(k,p):(d=E[u]=C[u](k),d.c()),D(d,1),d.m(o,null))},i(k){f||(D(a.$$.fragment,k),D(d),f=!0)},o(k){j(a.$$.fragment,k),j(d),f=!1},d(k){k&&h(e),ue(a),E[u].d(),v=!1,st(b)}}}function sr(r,e,l){let t;Pe(r,H,f=>l(1,t=f));let{record:n}=e;const a=Ct(),s=f=>{f.key==="Escape"&&a("close")},i=()=>{a("close"),Fe(H,t.record={...n},t),Fe(H,t.record.id=null,t)},o=()=>a("close"),u=()=>a("close"),d=()=>a("close");return r.$$set=f=>{"record"in f&&l(0,n=f.record)},[n,t,a,s,i,o,u,d]}class ir extends Ge{constructor(e){super(),Qe(this,e,sr,ar,Ze,{record:0})}}function Yt(r,e,l){const t=r.slice();return t[5]=e[l],t}function Zt(r,e,l){const t=r.slice();t[8]=e[l];const n=gl(t[5].properties[t[8].name],t[8].attribute_type);return t[9]=n,t}function Gt(r,e,l){const t=r.slice();return t[8]=e[l],t}function Qt(r){var B,q;let e,l,t,n,a="id",s,i,o,u="created at",d,f,v="updated at",b,C,E,m,k=Ee(r[1].table.properties),p=[];for(let S=0;S{T=null}),$e()),(!m||V&2&&E!==(E=jt(S[1].view.tableStyle)+" svelte-1bwwtph"))&&_(e,"class",E)},i(S){m||(D(T),m=!0)},o(S){j(T),m=!1},d(S){S&&h(e),Ye(p,S),w&&w.d(),T&&T.d()}}}function xt(r){let e,l=r[8].name+"",t,n,a,s,i=r[8].attribute_type+"",o,u;return{c(){e=g("th"),t=W(l),n=L(),a=g("small"),s=W("("),o=W(i),u=W(")"),this.h()},l(d){e=$(d,"TH",{class:!0});var f=I(e);t=K(f,l),n=F(f),a=$(f,"SMALL",{class:!0});var v=I(a);s=K(v,"("),o=K(v,i),u=K(v,")"),v.forEach(h),f.forEach(h),this.h()},h(){_(a,"class","type svelte-1bwwtph"),_(e,"class","svelte-1bwwtph")},m(d,f){A(d,e,f),c(e,t),c(e,n),c(e,a),c(a,s),c(a,o),c(a,u)},p(d,f){f&2&&l!==(l=d[8].name+"")&&_e(t,l),f&2&&i!==(i=d[8].attribute_type+"")&&_e(o,i)},d(d){d&&h(e)}}}function el(r){let e,l="deleted at";return{c(){e=g("th"),e.textContent=l,this.h()},l(t){e=$(t,"TH",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-1jwm27o"&&(e.textContent=l),this.h()},h(){_(e,"class","svelte-1bwwtph")},m(t,n){A(t,e,n)},d(t){t&&h(e)}}}function tl(r){var i;let e=[],l=new Map,t,n,a=Ee((i=r[1].records)==null?void 0:i.results);const s=o=>o[5].id;for(let o=0;o{s[d]=null}),$e(),l=s[e],l?l.p(o,u):(l=s[e]=a[e](o),l.c()),D(l,1),l.m(t.parentNode,t))},i(o){n||(D(l),n=!0)},o(o){j(l),n=!1},d(o){o&&h(t),s[e].d(o)}}}function or(r){let e=r[9].value+"",l;return{c(){l=W(e)},l(t){l=K(t,e)},m(t,n){A(t,l,n)},p(t,n){n&2&&e!==(e=t[9].value+"")&&_e(l,e)},i:Re,o:Re,d(t){t&&h(l)}}}function ur(r){let e,l,t,n;const a=[cr,fr],s=[];function i(o,u){return o[1].view.tableStyle==="expanded"?0:1}return e=i(r),l=s[e]=a[e](r),{c(){l.c(),t=Ae()},l(o){l.l(o),t=Ae()},m(o,u){s[e].m(o,u),A(o,t,u),n=!0},p(o,u){let d=e;e=i(o),e===d?s[e].p(o,u):(ge(),j(s[d],1,1,()=>{s[d]=null}),$e(),l=s[e],l?l.p(o,u):(l=s[e]=a[e](o),l.c()),D(l,1),l.m(t.parentNode,t))},i(o){n||(D(l),n=!0)},o(o){j(l),n=!1},d(o){o&&h(t),s[e].d(o)}}}function fr(r){let e=JSON.stringify(r[9].value)+"",l;return{c(){l=W(e)},l(t){l=K(t,e)},m(t,n){A(t,l,n)},p(t,n){n&2&&e!==(e=JSON.stringify(t[9].value)+"")&&_e(l,e)},i:Re,o:Re,d(t){t&&h(l)}}}function cr(r){let e,l;return e=new Fl({props:{value:r[9].value}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.value=t[9].value),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function nl(r){let e,l,t=r[9].value!==void 0&&rl(r);return{c(){e=g("td"),t&&t.c(),this.h()},l(n){e=$(n,"TD",{class:!0});var a=I(e);t&&t.l(a),a.forEach(h),this.h()},h(){_(e,"class","svelte-1bwwtph"),ke(e,"value-null",r[9].type==="null")},m(n,a){A(n,e,a),t&&t.m(e,null),l=!0},p(n,a){n[9].value!==void 0?t?(t.p(n,a),a&2&&D(t,1)):(t=rl(n),t.c(),D(t,1),t.m(e,null)):t&&(ge(),j(t,1,1,()=>{t=null}),$e()),(!l||a&2)&&ke(e,"value-null",n[9].type==="null")},i(n){l||(D(t),l=!0)},o(n){j(t),l=!1},d(n){n&&h(e),t&&t.d()}}}function al(r){var o,u;let e,l=new Date((o=r[5])==null?void 0:o.deleted_at).toLocaleDateString(void 0,{})+"",t,n,a,s=new Date((u=r[5])==null?void 0:u.deleted_at).toLocaleTimeString(void 0,{})+"",i;return{c(){e=g("td"),t=W(l),n=L(),a=g("span"),i=W(s),this.h()},l(d){e=$(d,"TD",{class:!0});var f=I(e);t=K(f,l),n=F(f),a=$(f,"SPAN",{class:!0});var v=I(a);i=K(v,s),v.forEach(h),f.forEach(h),this.h()},h(){_(a,"class","svelte-1bwwtph"),_(e,"class","date svelte-1bwwtph")},m(d,f){A(d,e,f),c(e,t),c(e,n),c(e,a),c(a,i)},p(d,f){var v,b;f&2&&l!==(l=new Date((v=d[5])==null?void 0:v.deleted_at).toLocaleDateString(void 0,{})+"")&&_e(t,l),f&2&&s!==(s=new Date((b=d[5])==null?void 0:b.deleted_at).toLocaleTimeString(void 0,{})+"")&&_e(i,s)},d(d){d&&h(e)}}}function sl(r,e){var nt,we,Be,at;let l,t,n,a,s,i,o="More options",u,d,f,v,b,C="Edit record",E,m,k,p,w=e[5].id+"",T,B,q,S,V=new Date((nt=e[5])==null?void 0:nt.created_at).toLocaleDateString(void 0,{})+"",N,y,O,P=new Date((we=e[5])==null?void 0:we.created_at).toLocaleTimeString(void 0,{})+"",M,Z,G,R=new Date((Be=e[5])==null?void 0:Be.updated_at).toLocaleDateString(void 0,{})+"",Y,z,ae,Ce=new Date((at=e[5])==null?void 0:at.updated_at).toLocaleTimeString(void 0,{})+"",ve,ee,Oe,fe,ye,Ue;d=new Se({props:{icon:"navigationMenuVertical",size:"16"}});function it(){return e[2](e[5])}m=new Se({props:{icon:"pencil",size:"16"}});function Ve(){return e[3](e[5])}let ce=e[0].id===e[5].id&&ll(e),De=Ee(e[1].table.properties),Q=[];for(let X=0;Xj(Q[X],1,1,()=>{Q[X]=null});let pe=e[1].filters.deleted==="true"&&al(e);return{key:r,first:null,c(){l=g("tr"),t=g("td"),n=g("div"),a=g("div"),s=g("button"),i=g("span"),i.textContent=o,u=L(),se(d.$$.fragment),f=L(),v=g("button"),b=g("span"),b.textContent=C,E=L(),se(m.$$.fragment),k=L(),ce&&ce.c(),p=L(),T=W(w),B=L();for(let X=0;X{ce=null}),$e()),(!fe||J&2)&&w!==(w=e[5].id+"")&&_e(T,w),J&2){De=Ee(e[1].table.properties);let de;for(de=0;de{t=null}),$e())},i(a){l||(D(t),l=!0)},o(a){j(t),l=!1},d(a){a&&h(e),t&&t.d(a)}}}function _r(r,e,l){let t;Pe(r,H,o=>l(1,t=o));let n={id:null};return[n,t,o=>l(0,n.id=o.id,n),o=>{Fe(H,t.record=o,t)},()=>l(0,n.id=null,n)]}class pr extends Ge{constructor(e){super(),Qe(this,e,_r,dr,Ze,{})}}var ct=new Map;function hr(r){var e=ct.get(r);e&&e.destroy()}function vr(r){var e=ct.get(r);e&&e.update()}var ft=null;typeof window>"u"?((ft=function(r){return r}).destroy=function(r){return r},ft.update=function(r){return r}):((ft=function(r,e){return r&&Array.prototype.forEach.call(r.length?r:[r],function(l){return function(t){if(t&&t.nodeName&&t.nodeName==="TEXTAREA"&&!ct.has(t)){var n,a=null,s=window.getComputedStyle(t),i=(n=t.value,function(){u({testForHeightReduction:n===""||!t.value.startsWith(n),restoreTextAlign:null}),n=t.value}),o=(function(f){t.removeEventListener("autosize:destroy",o),t.removeEventListener("autosize:update",d),t.removeEventListener("input",i),window.removeEventListener("resize",d),Object.keys(f).forEach(function(v){return t.style[v]=f[v]}),ct.delete(t)}).bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",o),t.addEventListener("autosize:update",d),t.addEventListener("input",i),window.addEventListener("resize",d),t.style.overflowX="hidden",t.style.wordWrap="break-word",ct.set(t,{destroy:o,update:d}),d()}function u(f){var v,b,C=f.restoreTextAlign,E=C===void 0?null:C,m=f.testForHeightReduction,k=m===void 0||m,p=s.overflowY;if(t.scrollHeight!==0&&(s.resize==="vertical"?t.style.resize="none":s.resize==="both"&&(t.style.resize="horizontal"),k&&(v=function(T){for(var B=[];T&&T.parentNode&&T.parentNode instanceof Element;)T.parentNode.scrollTop&&B.push([T.parentNode,T.parentNode.scrollTop]),T=T.parentNode;return function(){return B.forEach(function(q){var S=q[0],V=q[1];S.style.scrollBehavior="auto",S.scrollTop=V,S.style.scrollBehavior=null})}}(t),t.style.height=""),b=s.boxSizing==="content-box"?t.scrollHeight-(parseFloat(s.paddingTop)+parseFloat(s.paddingBottom)):t.scrollHeight+parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth),s.maxHeight!=="none"&&b>parseFloat(s.maxHeight)?(s.overflowY==="hidden"&&(t.style.overflow="scroll"),b=parseFloat(s.maxHeight)):s.overflowY!=="hidden"&&(t.style.overflow="hidden"),t.style.height=b+"px",E&&(t.style.textAlign=E),v&&v(),a!==b&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),a=b),p!==s.overflow&&!E)){var w=s.textAlign;s.overflow==="hidden"&&(t.style.textAlign=w==="start"?"end":"start"),u({restoreTextAlign:w,testForHeightReduction:!0})}}function d(){u({testForHeightReduction:!0,restoreTextAlign:null})}}(l)}),r}).destroy=function(r){return r&&Array.prototype.forEach.call(r.length?r:[r],hr),r},ft.update=function(r){return r&&Array.prototype.forEach.call(r.length?r:[r],vr),r});var $t=ft;const Nt=r=>($t(r),{destroy(){$t.destroy(r)}});Nt.update=$t.update;Nt.destroy=$t.destroy;function il(r,e,l){const t=r.slice();return t[13]=e[l],t}function ol(r,e,l){const t=r.slice();t[16]=e[l];const n=t[1].properties?gl(t[1].properties[t[16].name],t[16].attribute_type):{type:t[16].attribute_type,value:""};return t[17]=n,t}function ul(r){let e,l;return{c(){e=g("input"),this.h()},l(t){e=$(t,"INPUT",{type:!0,name:!0}),this.h()},h(){_(e,"type","hidden"),_(e,"name","recordId"),e.value=l=r[1].id},m(t,n){A(t,e,n)},p(t,n){n&2&&l!==(l=t[1].id)&&(e.value=l)},d(t){t&&h(e)}}}function mr(r){let e=r[16].attribute_type+"",l,t,n,a,s;return{c(){l=W(e),t=L(),n=g("input"),this.h()},l(i){l=K(i,e),t=F(i),n=$(i,"INPUT",{type:!0,name:!0}),this.h()},h(){_(n,"type","hidden"),_(n,"name",a=r[16].name+"[type]"),n.value=s=r[16].attribute_type},m(i,o){A(i,l,o),A(i,t,o),A(i,n,o)},p(i,o){o&1&&e!==(e=i[16].attribute_type+"")&&_e(l,e),o&1&&a!==(a=i[16].name+"[type]")&&_(n,"name",a),o&1&&s!==(s=i[16].attribute_type)&&(n.value=s)},i:Re,o:Re,d(i){i&&(h(l),h(t),h(n))}}}function br(r){let e,l;return e=new Ll({props:{name:r[16].name+"[type]",options:[{value:"string",label:"string"},{value:"json",label:"json"}],checked:r[17].type==="json"?"json":"string"}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&1&&(a.name=t[16].name+"[type]"),n&3&&(a.checked=t[17].type==="json"?"json":"string"),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function fl(r){let e;return{c(){e=W("(non editable)")},l(l){e=K(l,"(non editable)")},m(l,t){A(l,e,t)},d(l){l&&h(e)}}}function gr(r){let e,l,t,n,a,s,i;return{c(){e=g("textarea"),this.h()},l(o){e=$(o,"TEXTAREA",{rows:!0,name:!0,id:!0,class:!0}),I(e).forEach(h),this.h()},h(){_(e,"rows","1"),_(e,"name",l=r[16].name+"[value]"),_(e,"id",t="edit_"+r[16].name),e.disabled=n=r[16].attribute_type==="upload",e.value=a=r[17].type==="json"||r[17].type==="jsonEscaped"&&!pl?JSON.stringify(r[17].value,void 0,2):r[17].value,_(e,"class","svelte-1udbufw")},m(o,u){A(o,e,u),s||(i=ml(Nt.call(null,e)),s=!0)},p(o,u){u&1&&l!==(l=o[16].name+"[value]")&&_(e,"name",l),u&1&&t!==(t="edit_"+o[16].name)&&_(e,"id",t),u&1&&n!==(n=o[16].attribute_type==="upload")&&(e.disabled=n),u&3&&a!==(a=o[17].type==="json"||o[17].type==="jsonEscaped"&&!pl?JSON.stringify(o[17].value,void 0,2):o[17].value)&&(e.value=a)},d(o){o&&h(e),s=!1,i()}}}function $r(r){let e,l,t,n,a,s,i,o,u,d;return{c(){e=g("select"),l=g("option"),t=g("option"),n=W("true"),s=g("option"),i=W("false"),this.h()},l(f){e=$(f,"SELECT",{name:!0,id:!0,class:!0});var v=I(e);l=$(v,"OPTION",{class:!0}),I(l).forEach(h),t=$(v,"OPTION",{});var b=I(t);n=K(b,"true"),b.forEach(h),s=$(v,"OPTION",{});var C=I(s);i=K(C,"false"),C.forEach(h),v.forEach(h),this.h()},h(){l.__value="",re(l,l.__value),_(l,"class","value-null"),t.__value="true",re(t,t.__value),t.selected=a=r[17].value==="true",s.__value="false",re(s,s.__value),s.selected=o=r[17].value==="false",_(e,"name",u=r[16].name+"[value]"),_(e,"id",d="edit_"+r[16].name),_(e,"class","svelte-1udbufw")},m(f,v){A(f,e,v),c(e,l),c(e,t),c(t,n),c(e,s),c(s,i)},p(f,v){v&3&&a!==(a=f[17].value==="true")&&(t.selected=a),v&3&&o!==(o=f[17].value==="false")&&(s.selected=o),v&1&&u!==(u=f[16].name+"[value]")&&_(e,"name",u),v&1&&d!==(d="edit_"+f[16].name)&&_(e,"id",d)},d(f){f&&h(e)}}}function cl(r){let e=r[5][r[16].name].message+"",l;return{c(){l=W(e)},l(t){l=K(t,e)},m(t,n){A(t,l,n)},p(t,n){n&33&&e!==(e=t[5][t[16].name].message+"")&&_e(l,e)},d(t){t&&h(l)}}}function dl(r){let e,l,t,n=r[16].name+"",a,s,i,o,u,d,f,v,b,C,E,m,k;const p=[br,mr],w=[];function T(y,O){return y[16].attribute_type==="string"?0:1}u=T(r),d=w[u]=p[u](r);let B=r[16].attribute_type==="upload"&&fl();function q(y,O){return y[16].attribute_type==="boolean"?$r:gr}let S=q(r),V=S(r),N=r[5][r[16].name]&&cl(r);return{c(){e=g("fieldset"),l=g("dir"),t=g("label"),a=W(n),s=g("br"),i=L(),o=g("div"),d.c(),f=L(),B&&B.c(),b=L(),C=g("div"),V.c(),E=L(),m=g("div"),N&&N.c(),this.h()},l(y){e=$(y,"FIELDSET",{class:!0});var O=I(e);l=$(O,"DIR",{});var P=I(l);t=$(P,"LABEL",{for:!0,class:!0});var M=I(t);a=K(M,n),s=$(M,"BR",{}),i=F(M),o=$(M,"DIV",{class:!0});var Z=I(o);d.l(Z),f=F(Z),B&&B.l(Z),Z.forEach(h),M.forEach(h),P.forEach(h),b=F(O),C=$(O,"DIV",{});var G=I(C);V.l(G),E=F(G),m=$(G,"DIV",{role:!0,class:!0});var R=I(m);N&&N.l(R),R.forEach(h),G.forEach(h),O.forEach(h),this.h()},h(){_(o,"class","type svelte-1udbufw"),_(t,"for",v="edit_"+r[16].name),_(t,"class","svelte-1udbufw"),_(m,"role","alert"),_(m,"class","svelte-1udbufw"),_(e,"class","svelte-1udbufw")},m(y,O){A(y,e,O),c(e,l),c(l,t),c(t,a),c(t,s),c(t,i),c(t,o),w[u].m(o,null),c(o,f),B&&B.m(o,null),c(e,b),c(e,C),V.m(C,null),c(C,E),c(C,m),N&&N.m(m,null),k=!0},p(y,O){(!k||O&1)&&n!==(n=y[16].name+"")&&_e(a,n);let P=u;u=T(y),u===P?w[u].p(y,O):(ge(),j(w[P],1,1,()=>{w[P]=null}),$e(),d=w[u],d?d.p(y,O):(d=w[u]=p[u](y),d.c()),D(d,1),d.m(o,f)),y[16].attribute_type==="upload"?B||(B=fl(),B.c(),B.m(o,null)):B&&(B.d(1),B=null),(!k||O&1&&v!==(v="edit_"+y[16].name))&&_(t,"for",v),S===(S=q(y))&&V?V.p(y,O):(V.d(1),V=S(y),V&&(V.c(),V.m(C,E))),y[5][y[16].name]?N?N.p(y,O):(N=cl(y),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},i(y){k||(D(d),k=!0)},o(y){j(d),k=!1},d(y){y&&h(e),w[u].d(),B&&B.d(),V.d(),N&&N.d()}}}function _l(r){let e,l=JSON.stringify(r[4])+"",t,n;return{c(){e=g("li"),t=W(l),n=L(),this.h()},l(a){e=$(a,"LI",{class:!0});var s=I(e);t=K(s,l),n=F(s),s.forEach(h),this.h()},h(){_(e,"class","svelte-1udbufw")},m(a,s){A(a,e,s),c(e,t),c(e,n)},p(a,s){s&16&&l!==(l=JSON.stringify(a[4])+"")&&_e(t,l)},d(a){a&&h(e)}}}function yr(r){let e;return{c(){e=W("Create record")},l(l){e=K(l,"Create record")},m(l,t){A(l,e,t)},d(l){l&&h(e)}}}function wr(r){let e;return{c(){e=W("Edit record")},l(l){e=K(l,"Edit record")},m(l,t){A(l,e,t)},d(l){l&&h(e)}}}function kr(r){let e,l,t,n,a,s,i,o,u,d,f,v,b,C="Cancel",E,m,k,p,w,T,B,q,S=r[1].id&&ul(r),V=Ee(r[0]),N=[];for(let R=0;Rj(N[R],1,1,()=>{N[R]=null});let O=Ee(r[4]),P=[];for(let R=0;R{T&&(w||(w=Rt(e,r[7],{},!0)),w.run(1))}),T=!0}},o(R){N=N.filter(Boolean);for(let Y=0;Yl(6,t=m)),Pe(r,yt,m=>l(12,n=m));let{properties:a}=e,{editing:s}=e,i,o,u=[],d={};const f=function(m,{delay:k=0,duration:p=150}){return{delay:k,duration:p,css:w=>{const T=Pl(w);return`opacity: ${T}; transform: scale(${T});`}}};yl(()=>{setTimeout(()=>{i.showModal()},10)}),document.addEventListener("keydown",m=>{m.key==="Escape"&&(m.preventDefault(),Fe(H,t.record=null,t))},{once:!0});const v=async m=>{m.preventDefault();const k=new FormData(o);l(5,d={});for(const p of k.entries())if(p[0].endsWith("[type]")&&(p[1]==="json"||p[1]==="array")){const w=p[0].replace("[type]",""),T=k.get(w+"[value]");T!==""&&!Tt(T)&&l(5,d[w]={property:w,message:`Not a valid ${p[1]}`},d)}if(Object.keys(d).length)await wl(),document.querySelector('[role="alert"]:not(:empty)').scrollIntoView({behavior:"smooth",block:"center"});else if(t.record.id){const p=await Ne.edit({table:t.table.name,id:t.record.id,properties:k});p.errors?l(4,u=p.errors):(Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.highlight("record",p.record_update.id),H.notification.create("success",`Record ${p.record_update.id} updated`),Fe(H,t.record=null,t))}else{const p=await Ne.create({table:t.table.name,properties:k});p.errors?l(4,u=p.errors):(H.clearFilters(),Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.highlight("record",p.record_create.id),H.notification.create("success",`Record ${p.record_create.id} created`),Fe(H,t.record=null,t))}},b=()=>Fe(H,t.record=null,t);function C(m){rt[m?"unshift":"push"](()=>{o=m,l(3,o)})}function E(m){rt[m?"unshift":"push"](()=>{i=m,l(2,i)})}return r.$$set=m=>{"properties"in m&&l(0,a=m.properties),"editing"in m&&l(1,s=m.editing)},[a,s,i,o,u,d,t,f,v,b,C,E]}class Tr extends Ge{constructor(e){super(),Qe(this,e,Er,kr,Ze,{properties:0,editing:1})}}const{document:Et}=Sl;function Cr(r){let e;return{c(){e=W("Work in progress :)")},l(l){e=K(l,"Work in progress :)")},m(l,t){A(l,e,t)},i:Re,o:Re,d(l){l&&h(e)}}}function Nr(r){let e,l;return e=new pr({}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function hl(r){let e,l,t,n,a,s,i;const o=[Or,Sr],u=[];function d(f,v){return f[0].view.tableStyle==="collapsed"?0:1}return l=d(r),t=u[l]=o[l](r),{c(){e=g("button"),t.c(),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0});var v=I(e);t.l(v),v.forEach(h),this.h()},h(){_(e,"class","button"),_(e,"title",n=r[0].view.tableStyle==="expanded"?"Collapse values":"Expand values")},m(f,v){A(f,e,v),u[l].m(e,null),a=!0,s||(i=le(e,"click",_t(function(){Cl(r[0].view.tableStyle==="collapsed"?H.setView({tableStyle:"expanded"}):H.setView({tableStyle:"collapsed"}))&&(r[0].view.tableStyle==="collapsed"?H.setView({tableStyle:"expanded"}):H.setView({tableStyle:"collapsed"})).apply(this,arguments)})),s=!0)},p(f,v){r=f;let b=l;l=d(r),l!==b&&(ge(),j(u[b],1,1,()=>{u[b]=null}),$e(),t=u[l],t||(t=u[l]=o[l](r),t.c()),D(t,1),t.m(e,null)),(!a||v&1&&n!==(n=r[0].view.tableStyle==="expanded"?"Collapse values":"Expand values"))&&_(e,"title",n)},i(f){a||(D(t),a=!0)},o(f){j(t),a=!1},d(f){f&&h(e),u[l].d(),s=!1,i()}}}function Sr(r){let e,l="Collapse values",t,n,a;return n=new Se({props:{icon:"collapse"}}),{c(){e=g("span"),e.textContent=l,t=L(),se(n.$$.fragment),this.h()},l(s){e=$(s,"SPAN",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-jserey"&&(e.textContent=l),t=F(s),ie(n.$$.fragment,s),this.h()},h(){_(e,"class","label")},m(s,i){A(s,e,i),A(s,t,i),oe(n,s,i),a=!0},i(s){a||(D(n.$$.fragment,s),a=!0)},o(s){j(n.$$.fragment,s),a=!1},d(s){s&&(h(e),h(t)),ue(n,s)}}}function Or(r){let e,l="Expand values",t,n,a;return n=new Se({props:{icon:"expand"}}),{c(){e=g("span"),e.textContent=l,t=L(),se(n.$$.fragment),this.h()},l(s){e=$(s,"SPAN",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-1tvmrgx"&&(e.textContent=l),t=F(s),ie(n.$$.fragment,s),this.h()},h(){_(e,"class","label")},m(s,i){A(s,e,i),A(s,t,i),oe(n,s,i),a=!0},i(s){a||(D(n.$$.fragment,s),a=!0)},o(s){j(n.$$.fragment,s),a=!1},d(s){s&&(h(e),h(t)),ue(n,s)}}}function vl(r){let e,l;return e=new Tr({props:{properties:r[0].table.properties,editing:r[0].record}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&1&&(a.properties=t[0].table.properties),n&1&&(a.editing=t[0].record),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function Ir(r){var Lt,Ft,Pt,At;let e,l,t,n,a,s,i,o,u,d,f="Refresh current view",v,b,C,E,m,k,p,w,T,B="Page:",q,S,V,N,y=(((Lt=r[0].records)==null?void 0:Lt.total_pages)||1)+"",O,P,M,Z,G,R,Y,z="Create new record",ae,Ce,ve,ee,Oe,fe,ye,Ue,it,Ve,ce,De=r[0].filters.deleted==="false"?"ing":"",Q,ot,pe,nt,we,Be,at,X,J,Te=r[0].filters.deleted==="true"?"ing":"",Ie,je,Le,de,te,xe,qe,He,he,wt,kt,St;Et.title=e=(((Ft=r[0].table)==null?void 0:Ft.name)||"Loading…")+((Pt=r[0].online)!=null&&Pt.MPKIT_URL?": "+r[0].online.MPKIT_URL.replace("https://",""):""),a=new Jl({}),i=new Zl({}),b=new Se({props:{icon:"refresh"}});const Ot=[Nr,Cr],et=[];function It(U,x){return U[0].view.database!=="tiles"?0:1}E=It(r),m=et[E]=Ot[E](r);function $l(U){r[5](U)}let Dt={name:"page",min:1,max:(At=r[0].records)==null?void 0:At.total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};r[0].filters.page!==void 0&&(Dt.value=r[0].filters.page),S=new Al({props:Dt}),rt.push(()=>Nl(S,"value",$l)),S.$on("input",r[6]),G=new Se({props:{icon:"plus"}});let me=r[0].view.database!=="tiles"&&hl(r);Ue=new Se({props:{icon:"leaf"}}),Be=new Se({props:{icon:"recycle"}});let be=r[0].record!==null&&vl(r);return wt=kl(r[9][0]),{c(){l=L(),t=g("section"),n=g("nav"),se(a.$$.fragment),s=L(),se(i.$$.fragment),o=L(),u=g("button"),d=g("span"),d.textContent=f,v=L(),se(b.$$.fragment),C=L(),m.c(),k=L(),p=g("nav"),w=g("div"),T=g("label"),T.textContent=B,q=L(),se(S.$$.fragment),N=W(`\r - of `),O=W(y),P=L(),M=g("div"),Z=g("button"),se(G.$$.fragment),R=L(),Y=g("span"),Y.textContent=z,ae=L(),me&&me.c(),Ce=L(),ve=g("div"),ee=g("input"),fe=L(),ye=g("label"),se(Ue.$$.fragment),it=L(),Ve=g("span"),ce=W("Show"),Q=W(De),ot=W(" current database state"),nt=L(),we=g("label"),se(Be.$$.fragment),at=L(),X=g("span"),J=W("Show"),Ie=W(Te),je=W(" deleted records"),de=L(),te=g("input"),qe=L(),be&&be.c(),He=Ae(),this.h()},l(U){El("svelte-1ke6alb",Et.head).forEach(h),l=F(U),t=$(U,"SECTION",{class:!0});var ze=I(t);n=$(ze,"NAV",{class:!0});var Me=I(n);ie(a.$$.fragment,Me),s=F(Me),ie(i.$$.fragment,Me),o=F(Me),u=$(Me,"BUTTON",{class:!0,title:!0});var tt=I(u);d=$(tt,"SPAN",{class:!0,"data-svelte-h":!0}),ne(d)!=="svelte-iqo23s"&&(d.textContent=f),v=F(tt),ie(b.$$.fragment,tt),tt.forEach(h),Me.forEach(h),C=F(ze),m.l(ze),k=F(ze),p=$(ze,"NAV",{class:!0});var lt=I(p);w=$(lt,"DIV",{});var Je=I(w);T=$(Je,"LABEL",{for:!0,"data-svelte-h":!0}),ne(T)!=="svelte-1r8oyu6"&&(T.textContent=B),q=F(Je),ie(S.$$.fragment,Je),N=K(Je,`\r - of `),O=K(Je,y),Je.forEach(h),P=F(lt),M=$(lt,"DIV",{id:!0,class:!0});var We=I(M);Z=$(We,"BUTTON",{class:!0,title:!0});var pt=I(Z);ie(G.$$.fragment,pt),R=F(pt),Y=$(pt,"SPAN",{class:!0,"data-svelte-h":!0}),ne(Y)!=="svelte-19x6y3e"&&(Y.textContent=z),pt.forEach(h),ae=F(We),me&&me.l(We),Ce=F(We),ve=$(We,"DIV",{class:!0});var Ke=I(ve);ee=$(Ke,"INPUT",{type:!0,name:!0,id:!0,class:!0}),fe=F(Ke),ye=$(Ke,"LABEL",{for:!0,class:!0,title:!0});var ht=I(ye);ie(Ue.$$.fragment,ht),it=F(ht),Ve=$(ht,"SPAN",{class:!0});var vt=I(Ve);ce=K(vt,"Show"),Q=K(vt,De),ot=K(vt," current database state"),vt.forEach(h),ht.forEach(h),nt=F(Ke),we=$(Ke,"LABEL",{for:!0,class:!0,title:!0});var mt=I(we);ie(Be.$$.fragment,mt),at=F(mt),X=$(mt,"SPAN",{class:!0});var bt=I(X);J=K(bt,"Show"),Ie=K(bt,Te),je=K(bt," deleted records"),bt.forEach(h),mt.forEach(h),de=F(Ke),te=$(Ke,"INPUT",{type:!0,name:!0,id:!0,class:!0}),Ke.forEach(h),We.forEach(h),lt.forEach(h),ze.forEach(h),qe=F(U),be&&be.l(U),He=Ae(),this.h()},h(){_(d,"class","label"),_(u,"class","button svelte-afbo94"),_(u,"title","Refresh current view (R)"),ke(u,"refreshing",r[2]),_(n,"class","svelte-afbo94"),_(T,"for","page"),_(Y,"class","label"),_(Z,"class","button"),_(Z,"title","Create new record"),_(ee,"type","radio"),_(ee,"name","deleted"),_(ee,"id","deletedTrue"),ee.__value="false",re(ee,ee.__value),ee.disabled=Oe=r[0].filters.deleted==="false",_(ee,"class","svelte-afbo94"),_(Ve,"class","label"),_(ye,"for","deletedTrue"),_(ye,"class","button"),_(ye,"title",pe="Show"+(r[0].filters.deleted==="false"?"ing":"")+" current database state"),ke(ye,"active",r[0].filters.deleted==="false"),ke(ye,"disabled",r[0].filters.deleted==="false"),_(X,"class","label"),_(we,"for","deletedFalse"),_(we,"class","button"),_(we,"title",Le="Show"+(r[0].filters.deleted==="true"?"ing":"")+" deleted records"),ke(we,"active",r[0].filters.deleted==="true"),ke(we,"disabled",r[0].filters.deleted==="true"),_(te,"type","radio"),_(te,"name","deleted"),_(te,"id","deletedFalse"),te.__value="true",re(te,te.__value),te.disabled=xe=r[0].filters.deleted==="true",_(te,"class","svelte-afbo94"),_(ve,"class","combo svelte-afbo94"),_(M,"id","viewOptions"),_(M,"class","svelte-afbo94"),_(p,"class","pagination svelte-afbo94"),_(t,"class","svelte-afbo94"),wt.p(ee,te)},m(U,x){A(U,l,x),A(U,t,x),c(t,n),oe(a,n,null),c(n,s),oe(i,n,null),c(n,o),c(n,u),c(u,d),c(u,v),oe(b,u,null),c(t,C),et[E].m(t,null),c(t,k),c(t,p),c(p,w),c(w,T),c(w,q),oe(S,w,null),c(w,N),c(w,O),c(p,P),c(p,M),c(M,Z),oe(G,Z,null),c(Z,R),c(Z,Y),c(M,ae),me&&me.m(M,null),c(M,Ce),c(M,ve),c(ve,ee),ee.checked=ee.__value===r[0].filters.deleted,c(ve,fe),c(ve,ye),oe(Ue,ye,null),c(ye,it),c(ye,Ve),c(Ve,ce),c(Ve,Q),c(Ve,ot),c(ve,nt),c(ve,we),oe(Be,we,null),c(we,at),c(we,X),c(X,J),c(X,Ie),c(X,je),c(ve,de),c(ve,te),te.checked=te.__value===r[0].filters.deleted,A(U,qe,x),be&&be.m(U,x),A(U,He,x),he=!0,kt||(St=[le(window,"keypress",r[4]),le(u,"click",r[3]),le(Z,"click",_t(r[7])),le(ee,"change",r[8]),le(ee,"change",r[10]),le(te,"change",r[11]),le(te,"change",r[12])],kt=!0)},p(U,[x]){var tt,lt,Je,We;(!he||x&1)&&e!==(e=(((tt=U[0].table)==null?void 0:tt.name)||"Loading…")+((lt=U[0].online)!=null&<.MPKIT_URL?": "+U[0].online.MPKIT_URL.replace("https://",""):""))&&(Et.title=e),(!he||x&4)&&ke(u,"refreshing",U[2]);let ze=E;E=It(U),E!==ze&&(ge(),j(et[ze],1,1,()=>{et[ze]=null}),$e(),m=et[E],m||(m=et[E]=Ot[E](U),m.c()),D(m,1),m.m(t,k));const Me={};x&1&&(Me.max=(Je=U[0].records)==null?void 0:Je.total_pages),!V&&x&1&&(V=!0,Me.value=U[0].filters.page,Tl(()=>V=!1)),S.$set(Me),(!he||x&1)&&y!==(y=(((We=U[0].records)==null?void 0:We.total_pages)||1)+"")&&_e(O,y),U[0].view.database!=="tiles"?me?(me.p(U,x),x&1&&D(me,1)):(me=hl(U),me.c(),D(me,1),me.m(M,Ce)):me&&(ge(),j(me,1,1,()=>{me=null}),$e()),(!he||x&1&&Oe!==(Oe=U[0].filters.deleted==="false"))&&(ee.disabled=Oe),x&1&&(ee.checked=ee.__value===U[0].filters.deleted),(!he||x&1)&&De!==(De=U[0].filters.deleted==="false"?"ing":"")&&_e(Q,De),(!he||x&1&&pe!==(pe="Show"+(U[0].filters.deleted==="false"?"ing":"")+" current database state"))&&_(ye,"title",pe),(!he||x&1)&&ke(ye,"active",U[0].filters.deleted==="false"),(!he||x&1)&&ke(ye,"disabled",U[0].filters.deleted==="false"),(!he||x&1)&&Te!==(Te=U[0].filters.deleted==="true"?"ing":"")&&_e(Ie,Te),(!he||x&1&&Le!==(Le="Show"+(U[0].filters.deleted==="true"?"ing":"")+" deleted records"))&&_(we,"title",Le),(!he||x&1)&&ke(we,"active",U[0].filters.deleted==="true"),(!he||x&1)&&ke(we,"disabled",U[0].filters.deleted==="true"),(!he||x&1&&xe!==(xe=U[0].filters.deleted==="true"))&&(te.disabled=xe),x&1&&(te.checked=te.__value===U[0].filters.deleted),U[0].record!==null?be?(be.p(U,x),x&1&&D(be,1)):(be=vl(U),be.c(),D(be,1),be.m(He.parentNode,He)):be&&(ge(),j(be,1,1,()=>{be=null}),$e())},i(U){he||(D(a.$$.fragment,U),D(i.$$.fragment,U),D(b.$$.fragment,U),D(m),D(S.$$.fragment,U),D(G.$$.fragment,U),D(me),D(Ue.$$.fragment,U),D(Be.$$.fragment,U),D(be),he=!0)},o(U){j(a.$$.fragment,U),j(i.$$.fragment,U),j(b.$$.fragment,U),j(m),j(S.$$.fragment,U),j(G.$$.fragment,U),j(me),j(Ue.$$.fragment,U),j(Be.$$.fragment,U),j(be),he=!1},d(U){U&&(h(l),h(t),h(qe),h(He)),ue(a),ue(i),ue(b),et[E].d(),ue(S),ue(G),me&&me.d(),ue(Ue),ue(Be),be&&be.d(U),wt.r(),kt=!1,st(St)}}}function Dr(r,e,l){let t,n;Pe(r,H,m=>l(0,t=m)),Pe(r,yt,m=>l(1,n=m));let a=!1;const s=()=>{l(2,a=!0),Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}).then(()=>l(2,a=!1))},i=m=>{document.activeElement===document.body&&!m.target.matches("input, textarea")&&m.key==="r"&&s()},o=[[]];function u(m){r.$$.not_equal(t.filters.page,m)&&(t.filters.page=m,H.set(t))}const d=()=>{Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})},f=()=>Fe(H,t.record={},t);function v(){t.filters.deleted=this.__value,H.set(t)}const b=()=>{Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})};function C(){t.filters.deleted=this.__value,H.set(t)}const E=()=>{Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})};return r.$$.update=()=>{r.$$.dirty&3&&Fe(H,t.table=t.tables.filter(m=>m.id===n.params.id)[0],t),r.$$.dirty&2&&n.params.id&&Ne.get({table:n.params.id})&&H.clearFilters()},[t,n,a,s,i,u,d,f,v,o,b,C,E]}class Jr extends Ge{constructor(e){super(),Qe(this,e,Dr,Ir,Ze,{})}}export{Jr as component}; diff --git a/gui/next/build/_app/immutable/nodes/14.DYE1QyX1.js b/gui/next/build/_app/immutable/nodes/14.DYE1QyX1.js new file mode 100644 index 00000000..a95aa61f --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/14.DYE1QyX1.js @@ -0,0 +1,72 @@ +import{s as Ke,e as g,c as $,b as I,f as h,i as A,C as le,J as _t,k as Pe,v as Ae,F as Ze,a as L,A as ne,g as F,y as _,B as re,M as dt,h as c,a1 as Xe,r as st,E as Fe,a3 as gt,z as rt,t as W,d as Y,j as _e,n as Ue,L as Tt,Y as ml,ah as At,G as ke,U as gl,H as $l,_ as wl,p as yl,D as kl,Z as El}from"../chunks/scheduler.CKQ5dLhN.js";import{S as Ge,i as Qe,t as D,g as ge,a as R,e as $e,c as se,d as ie,m as oe,f as ue,h as Rt,b as Tl}from"../chunks/index.CGVWAVV-.js";import{g as Cl}from"../chunks/globals.D0QH3NT1.js";import{p as wt}from"../chunks/stores.BLuxmlax.js";import{s as H}from"../chunks/state.nqMW8J5l.js";import{g as ut}from"../chunks/graphql.BD1m7lx9.js";import{b as Ut,c as Nl}from"../chunks/buildMutationIngredients.BkeFH9yg.js";import{I as Se}from"../chunks/Icon.CkKwi_WD.js";import{e as Ee,u as Sl,o as Ol}from"../chunks/each.BWzj3zy9.js";import{p as vl}from"../chunks/parseValue.BxCUwhRQ.js";import{c as Il,T as Dl}from"../chunks/Toggle.CtBEfrzX.js";import{J as Ll}from"../chunks/JSONTree.B6rnjEUC.js";import{q as Fl}from"../chunks/index.iVSWiVfi.js";import{t as Pl}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{N as Al}from"../chunks/Number.B4JDnNHn.js";const Rl=(r=[])=>{let e="",l={},t="";const n={string:["array_contains","not_array_contains","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with","value"],int:["value_int","not_value_int"],float:["not_value_float","value_float"],bool:["exists","not_value_boolean","value_boolean"],range:["range"],array:["value_array","not_value_array","value_in","not_value_in","array_overlaps","not_array_overlaps"]};for(const a of r){if(!a.minFilterValue&&!a.maxFilterValue&&!a.value)break;let s="",o="";n.int.includes(a.operation)?(s="integer",o=parseInt(a.value)):n.float.includes(a.operation)?(s="float",o=parseFloat(a.value)):n.bool.includes(a.operation)?(s="boolean",o=a.value==="true"):n.range.includes(a.operation)?(s="range",o={},o[a.minFilter]=a.minFilterValue,o[a.maxFilter]=a.maxFilterValue):n.array.includes(a.operation)?(s="array",o=JSON.parse(a.value)):(s="string",o=a.value),a.name!=="id"&&(e+=`, $${a.name}: ${Nl[s]||"String"}`,l[a.name]=o,t+=`{ + name: "${a.name}", + ${a.operation}: $${a.name} + }`)}return e.length&&(e=e.slice(2),e=`(${e})`),t=` + properties: [${t}] + `,{variablesDefinition:e,variables:l,propertiesFilter:t}},Ne={get:r=>{var d,f,m;const l={...{deleted:!1,filters:{page:1}},...r},t=l.table?`table_id: { value: ${l.table} }`:"",n=(f=(d=l.filters)==null?void 0:d.attributes)==null?void 0:f.findIndex(b=>b.name==="id");let a="";n>=0&&l.filters.attributes[n].value&&(a=`id: { ${l.filters.attributes[n].operation}: ${l.filters.attributes[n].value} }`);let s="";l.sort?l.sort.by==="id"||l.sort.by==="created_at"||l.sort.by==="updated_at"?s=`${l.sort.by}: { order: ${l.sort.order} }`:s=`properties: { name: "${l.sort.by}", order: ${l.sort.order} }`:s="created_at: { order: DESC }";const o=l.deleted==="true"?"deleted_at: { exists: true }":"",i=Rl((m=l.filters)==null?void 0:m.attributes),u=` + query${i.variablesDefinition} { + records( + page: ${l.filters.page} + per_page: 20, + sort: { ${s} }, + filter: { + ${t} + ${a} + ${o} + ${i.propertiesFilter} + } + ) { + current_page + total_pages + results { + id + created_at + updated_at + deleted_at + properties + } + } + }`;return ut({query:u,variables:i.variables}).then(b=>{H.data("records",b.records)})},create:r=>{const l=Object.fromEntries(r.properties.entries()).tableName,t=Ut(r.properties),n=` + mutation${t.variablesDefinition} { + record_create(record: { + table: "${l}", + properties: [${t.properties}] + }) { + id + } + }`;return ut({query:n,variables:t.variables})},edit:r=>{let e=Object.fromEntries(r.properties.entries());const l=e.tableName,t=e.recordId,n=Ut(r.properties),a=` + mutation${n.variablesDefinition} { + record_update( + id: ${t}, + record: { + table: "${l}" + properties: [${n.properties}] + } + ) { + id + } + }`;return ut({query:a,variables:n.variables})},delete:r=>{let e=Object.fromEntries(r.properties.entries());const l=e.tableName,t=e.recordId,n=` + mutation { + record_delete(table: "${l}", id: ${t}) { + id + } + }`;return ut({query:n})},restore:r=>{let e=Object.fromEntries(r.properties.entries());const l=e.tableName,n=` + mutation { + record_update( + id: ${e.recordId}, + record: { + table: "${l}", + deleted_at: null + } + ) { + id + } + }`;return ut({query:n})}};function jt(r,e,l){const t=r.slice();return t[10]=e[l],t[11]=e,t[12]=l,t}function Vt(r,e,l){const t=r.slice();return t[13]=e[l],t}function Bt(r,e,l){const t=r.slice();return t[16]=e[l],t}function zt(r){let e,l,t=Ee(r[1].filters.attributes),n=[];for(let s=0;sR(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s{S[O]=null}),$e(),m=S[f],m?m.p(r,w):(m=S[f]=q[f](r),m.c()),D(m,1),m.m(e,b))},i(N){C||(D(m),C=!0)},o(N){R(m),C=!1},d(N){N&&h(e),Ze(p,N),S[f].d(),E=!1,st(v)}}}function Ml(r){var s;let e,l,t,n,a=((s=r[1].table)==null?void 0:s.properties)&&zt(r);return{c(){e=g("form"),a&&a.c()},l(o){e=$(o,"FORM",{});var i=I(e);a&&a.l(i),i.forEach(h)},m(o,i){A(o,e,i),a&&a.m(e,null),r[9](e),l=!0,t||(n=le(e,"submit",_t(r[3])),t=!0)},p(o,[i]){var u;(u=o[1].table)!=null&&u.properties?a?(a.p(o,i),i&2&&D(a,1)):(a=zt(o),a.c(),D(a,1),a.m(e,null)):a&&(ge(),R(a,1,1,()=>{a=null}),$e())},i(o){l||(D(a),l=!0)},o(o){R(a),l=!1},d(o){o&&h(e),a&&a.d(),r[9](null),t=!1,n()}}}function ql(r,e,l){let t;Pe(r,H,b=>l(1,t=b));let n;const a={id:["value"],string:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"],text:["value","exists","not_value"],array:["array_contains","value_array","value_in","exists","array_overlaps","not_array_contains","not_array_overlaps","not_value_array","not_value_in"],boolean:["value_boolean","exists","not_value_boolean"],integer:["value_int","exists","not_value_int","range"],float:["value_float","exists","not_value_float","range"],upload:["value","exists","not_value"],datetime:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"],date:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"]},s=()=>{Fe(H,t.filters={page:1,attributes:[Object.fromEntries(new FormData(n).entries())],deleted:t.filters.deleted},t),Ne.get({table:t.table.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})};function o(b,C){b[C].name=gt(this),H.set(t)}const i=(b,C,E)=>{var v;Fe(H,C[E].attribute_type=((v=t.table.properties.find(k=>k.name===b.name))==null?void 0:v.attribute_type)||"id",t)};function u(b,C){b[C].attribute_type=this.value,H.set(t)}function d(b,C){b[C].operation=gt(this),H.set(t)}function f(b,C){b[C].value=this.value,H.set(t)}function m(b){rt[b?"unshift":"push"](()=>{n=b,l(0,n)})}return[n,t,a,s,o,i,u,d,f,m]}class Hl extends Ge{constructor(e){super(),Qe(this,e,ql,Ml,Ke,{})}}function Jt(r,e,l){const t=r.slice();return t[8]=e[l],t}function Wt(r){let e,l,t="created at",n,a="updated at",s,o="id",i,u,d,f="DESC [Z→A]",m,b="ASC [A→Z]",C,E,v,k,p,y,T,B=Ee(r[1].table.properties),q=[];for(let w=0;wr[3].call(e)),d.__value="DESC",re(d,d.__value),m.__value="ASC",re(m,m.__value),_(u,"name","order"),_(u,"id","sort_order"),_(u,"class","svelte-yzlk61"),r[1].sort.order===void 0&&dt(()=>r[5].call(u)),_(E,"for","sort_order"),_(E,"class","button svelte-yzlk61")},m(w,O){A(w,e,O),c(e,l),c(e,n),c(e,s);for(let P=0;P{V[P]=null}),$e(),k=V[v],k||(k=V[v]=S[v](w),k.c()),D(k,1),k.m(E,null))},i(w){p||(D(k),p=!0)},o(w){R(k),p=!1},d(w){w&&(h(e),h(i),h(u),h(C),h(E)),Ze(q,w),V[v].d(),y=!1,st(T)}}}function Yt(r){let e,l=r[8].name+"",t,n,a;return{c(){e=g("option"),t=W(l),n=L(),this.h()},l(s){e=$(s,"OPTION",{});var o=I(e);t=Y(o,l),n=F(o),o.forEach(h),this.h()},h(){e.__value=a=r[8].name,re(e,e.__value)},m(s,o){A(s,e,o),c(e,t),c(e,n)},p(s,o){o&2&&l!==(l=s[8].name+"")&&_e(t,l),o&2&&a!==(a=s[8].name)&&(e.__value=a,re(e,e.__value))},d(s){s&&h(e)}}}function Jl(r){let e,l;return e=new Se({props:{icon:"sortAZ"}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function Wl(r){let e,l;return e=new Se({props:{icon:"sortZA"}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function Yl(r){var s;let e,l,t,n,a=((s=r[1].table)==null?void 0:s.properties)&&Wt(r);return{c(){e=g("form"),a&&a.c(),this.h()},l(o){e=$(o,"FORM",{class:!0});var i=I(e);a&&a.l(i),i.forEach(h),this.h()},h(){_(e,"class","svelte-yzlk61")},m(o,i){A(o,e,i),a&&a.m(e,null),r[7](e),l=!0,t||(n=le(e,"submit",_t(r[2])),t=!0)},p(o,[i]){var u;(u=o[1].table)!=null&&u.properties?a?(a.p(o,i),i&2&&D(a,1)):(a=Wt(o),a.c(),D(a,1),a.m(e,null)):a&&(ge(),R(a,1,1,()=>{a=null}),$e())},i(o){l||(D(a),l=!0)},o(o){R(a),l=!1},d(o){o&&h(e),a&&a.d(),r[7](null),t=!1,n()}}}function Xl(r,e,l){let t;Pe(r,H,f=>l(1,t=f));let n;const a=()=>{Fe(H,t.filters.page=1,t),Ne.get({table:t.table.id,filters:t.filters,sort:Object.fromEntries(new FormData(n).entries()),deleted:t.filters.deleted})};function s(){t.sort.by=gt(this),H.set(t)}const o=()=>n.requestSubmit();function i(){t.sort.order=gt(this),H.set(t)}const u=()=>n.requestSubmit();function d(f){rt[f?"unshift":"push"](()=>{n=f,l(0,n)})}return[n,t,a,s,o,i,u,d]}class Zl extends Ge{constructor(e){super(),Qe(this,e,Xl,Yl,Ke,{})}}function Kl(r){let e,l,t,n,a,s,o,i,u,d,f,m,b;return u=new Se({props:{icon:"x",size:"22"}}),{c(){e=g("form"),l=g("input"),n=L(),a=g("input"),s=L(),o=g("button"),i=g("i"),se(u.$$.fragment),d=W(`\r + Delete record`),this.h()},l(C){e=$(C,"FORM",{});var E=I(e);l=$(E,"INPUT",{type:!0,name:!0}),n=F(E),a=$(E,"INPUT",{type:!0,name:!0}),s=F(E),o=$(E,"BUTTON",{class:!0});var v=I(o);i=$(v,"I",{class:!0});var k=I(i);ie(u.$$.fragment,k),k.forEach(h),d=Y(v,`\r + Delete record`),v.forEach(h),E.forEach(h),this.h()},h(){_(l,"type","hidden"),_(l,"name","tableName"),l.value=t=r[0].name,_(a,"type","hidden"),_(a,"name","recordId"),a.value=r[1],_(i,"class","svelte-ooaugn"),_(o,"class","danger")},m(C,E){A(C,e,E),c(e,l),c(e,n),c(e,a),c(e,s),c(e,o),c(o,i),oe(u,i,null),c(o,d),r[4](e),f=!0,m||(b=le(e,"submit",r[3]),m=!0)},p(C,[E]){(!f||E&1&&t!==(t=C[0].name))&&(l.value=t),(!f||E&2)&&(a.value=C[1])},i(C){f||(D(u.$$.fragment,C),f=!0)},o(C){R(u.$$.fragment,C),f=!1},d(C){C&&h(e),ue(u),r[4](null),m=!1,b()}}}function Gl(r,e,l){let t,n;Pe(r,H,f=>l(5,t=f)),Pe(r,wt,f=>l(6,n=f));let{table:a}=e,{id:s}=e,o,i=Tt();const u=async f=>{if(f.preventDefault(),confirm("Are you sure you want to delete this record?")){i("success");const m=await Ne.delete({table:a.name,properties:new FormData(o)});m.errors?H.notification.create("error",`Record ${m.record_delete.id} could not be deleted`):(Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.notification.create("success",`Record ${m.record_delete.id} deleted`))}};function d(f){rt[f?"unshift":"push"](()=>{o=f,l(2,o)})}return r.$$set=f=>{"table"in f&&l(0,a=f.table),"id"in f&&l(1,s=f.id)},[a,s,o,u,d]}class Ql extends Ge{constructor(e){super(),Qe(this,e,Gl,Kl,Ke,{table:0,id:1})}}function xl(r){let e,l,t,n,a,s,o,i,u,d,f,m,b;return u=new Se({props:{icon:"recycleRefresh"}}),{c(){e=g("form"),l=g("input"),n=L(),a=g("input"),s=L(),o=g("button"),i=g("i"),se(u.$$.fragment),d=W(`\r + Restore record`),this.h()},l(C){e=$(C,"FORM",{});var E=I(e);l=$(E,"INPUT",{type:!0,name:!0}),n=F(E),a=$(E,"INPUT",{type:!0,name:!0}),s=F(E),o=$(E,"BUTTON",{});var v=I(o);i=$(v,"I",{});var k=I(i);ie(u.$$.fragment,k),k.forEach(h),d=Y(v,`\r + Restore record`),v.forEach(h),E.forEach(h),this.h()},h(){_(l,"type","hidden"),_(l,"name","tableName"),l.value=t=r[0].name,_(a,"type","hidden"),_(a,"name","recordId"),a.value=r[1]},m(C,E){A(C,e,E),c(e,l),c(e,n),c(e,a),c(e,s),c(e,o),c(o,i),oe(u,i,null),c(o,d),r[4](e),f=!0,m||(b=le(e,"submit",r[3]),m=!0)},p(C,[E]){(!f||E&1&&t!==(t=C[0].name))&&(l.value=t),(!f||E&2)&&(a.value=C[1])},i(C){f||(D(u.$$.fragment,C),f=!0)},o(C){R(u.$$.fragment,C),f=!1},d(C){C&&h(e),ue(u),r[4](null),m=!1,b()}}}function er(r,e,l){let t,n;Pe(r,H,f=>l(5,t=f)),Pe(r,wt,f=>l(6,n=f));let{table:a}=e,{id:s}=e,o,i=Tt();const u=async f=>{f.preventDefault(),i("success");const m=await Ne.restore({table:a.name,properties:new FormData(o)});m.errors?H.notification.create("error",`Record ${m.record_update.id} could not be restored`):(Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.notification.create("success",`Record ${m.record_update.id} restored`))};function d(f){rt[f?"unshift":"push"](()=>{o=f,l(2,o)})}return r.$$set=f=>{"table"in f&&l(0,a=f.table),"id"in f&&l(1,s=f.id)},[a,s,o,u,d]}class tr extends Ge{constructor(e){super(),Qe(this,e,er,xl,Ke,{table:0,id:1})}}function lr(r){let e,l;return e=new Ql({props:{table:r[1].table,id:r[0].id}}),e.$on("success",r[6]),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.table=t[1].table),n&1&&(a.id=t[0].id),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function rr(r){let e,l;return e=new tr({props:{table:r[1].table,id:r[0].id}}),e.$on("success",r[5]),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.table=t[1].table),n&1&&(a.id=t[0].id),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function nr(r){let e,l,t,n,a,s,o,i,u,d,f,m,b;a=new Se({props:{icon:"copy",size:"22"}});const C=[rr,lr],E=[];function v(k,p){return k[1].filters.deleted==="true"?0:1}return u=v(r),d=E[u]=C[u](r),{c(){e=g("menu"),l=g("ul"),t=g("li"),n=g("button"),se(a.$$.fragment),s=W(`\r + Copy record`),o=L(),i=g("li"),d.c(),this.h()},l(k){e=$(k,"MENU",{class:!0});var p=I(e);l=$(p,"UL",{});var y=I(l);t=$(y,"LI",{class:!0});var T=I(t);n=$(T,"BUTTON",{type:!0});var B=I(n);ie(a.$$.fragment,B),s=Y(B,`\r + Copy record`),B.forEach(h),T.forEach(h),o=F(y),i=$(y,"LI",{class:!0});var q=I(i);d.l(q),q.forEach(h),y.forEach(h),p.forEach(h),this.h()},h(){_(n,"type","button"),_(t,"class","svelte-1tht2a1"),_(i,"class","svelte-1tht2a1"),_(e,"class","content-context svelte-1tht2a1")},m(k,p){A(k,e,p),c(e,l),c(l,t),c(t,n),oe(a,n,null),c(n,s),c(l,o),c(l,i),E[u].m(i,null),f=!0,m||(b=[le(window,"keyup",r[3]),le(n,"click",r[4]),ml(Il.call(null,e,r[7]))],m=!0)},p(k,[p]){let y=u;u=v(k),u===y?E[u].p(k,p):(ge(),R(E[y],1,1,()=>{E[y]=null}),$e(),d=E[u],d?d.p(k,p):(d=E[u]=C[u](k),d.c()),D(d,1),d.m(i,null))},i(k){f||(D(a.$$.fragment,k),D(d),f=!0)},o(k){R(a.$$.fragment,k),R(d),f=!1},d(k){k&&h(e),ue(a),E[u].d(),m=!1,st(b)}}}function ar(r,e,l){let t;Pe(r,H,f=>l(1,t=f));let{record:n}=e;const a=Tt(),s=f=>{f.key==="Escape"&&a("close")},o=()=>{a("close"),Fe(H,t.record={...n},t),Fe(H,t.record.id=null,t)},i=()=>a("close"),u=()=>a("close"),d=()=>a("close");return r.$$set=f=>{"record"in f&&l(0,n=f.record)},[n,t,a,s,o,i,u,d]}class sr extends Ge{constructor(e){super(),Qe(this,e,ar,nr,Ke,{record:0})}}function Xt(r,e,l){const t=r.slice();return t[5]=e[l],t}function Zt(r,e,l){const t=r.slice();t[8]=e[l];const n=vl(t[5].properties[t[8].name],t[8].attribute_type);return t[9]=n,t}function Kt(r,e,l){const t=r.slice();return t[8]=e[l],t}function Gt(r){var B,q;let e,l,t,n,a="id",s,o,i,u="created at",d,f,m="updated at",b,C,E,v,k=Ee(r[1].table.properties),p=[];for(let S=0;S{T=null}),$e()),(!v||V&2&&E!==(E=At(S[1].view.tableStyle)+" svelte-1bwwtph"))&&_(e,"class",E)},i(S){v||(D(T),v=!0)},o(S){R(T),v=!1},d(S){S&&h(e),Ze(p,S),y&&y.d(),T&&T.d()}}}function Qt(r){let e,l=r[8].name+"",t,n,a,s,o=r[8].attribute_type+"",i,u;return{c(){e=g("th"),t=W(l),n=L(),a=g("small"),s=W("("),i=W(o),u=W(")"),this.h()},l(d){e=$(d,"TH",{class:!0});var f=I(e);t=Y(f,l),n=F(f),a=$(f,"SMALL",{class:!0});var m=I(a);s=Y(m,"("),i=Y(m,o),u=Y(m,")"),m.forEach(h),f.forEach(h),this.h()},h(){_(a,"class","type svelte-1bwwtph"),_(e,"class","svelte-1bwwtph")},m(d,f){A(d,e,f),c(e,t),c(e,n),c(e,a),c(a,s),c(a,i),c(a,u)},p(d,f){f&2&&l!==(l=d[8].name+"")&&_e(t,l),f&2&&o!==(o=d[8].attribute_type+"")&&_e(i,o)},d(d){d&&h(e)}}}function xt(r){let e,l="deleted at";return{c(){e=g("th"),e.textContent=l,this.h()},l(t){e=$(t,"TH",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-1jwm27o"&&(e.textContent=l),this.h()},h(){_(e,"class","svelte-1bwwtph")},m(t,n){A(t,e,n)},d(t){t&&h(e)}}}function el(r){var o;let e=[],l=new Map,t,n,a=Ee((o=r[1].records)==null?void 0:o.results);const s=i=>i[5].id;for(let i=0;i{s[d]=null}),$e(),l=s[e],l?l.p(i,u):(l=s[e]=a[e](i),l.c()),D(l,1),l.m(t.parentNode,t))},i(i){n||(D(l),n=!0)},o(i){R(l),n=!1},d(i){i&&h(t),s[e].d(i)}}}function ir(r){let e=r[9].value+"",l;return{c(){l=W(e)},l(t){l=Y(t,e)},m(t,n){A(t,l,n)},p(t,n){n&2&&e!==(e=t[9].value+"")&&_e(l,e)},i:Ue,o:Ue,d(t){t&&h(l)}}}function or(r){let e,l,t,n;const a=[fr,ur],s=[];function o(i,u){return i[1].view.tableStyle==="expanded"?0:1}return e=o(r),l=s[e]=a[e](r),{c(){l.c(),t=Ae()},l(i){l.l(i),t=Ae()},m(i,u){s[e].m(i,u),A(i,t,u),n=!0},p(i,u){let d=e;e=o(i),e===d?s[e].p(i,u):(ge(),R(s[d],1,1,()=>{s[d]=null}),$e(),l=s[e],l?l.p(i,u):(l=s[e]=a[e](i),l.c()),D(l,1),l.m(t.parentNode,t))},i(i){n||(D(l),n=!0)},o(i){R(l),n=!1},d(i){i&&h(t),s[e].d(i)}}}function ur(r){let e=JSON.stringify(r[9].value)+"",l;return{c(){l=W(e)},l(t){l=Y(t,e)},m(t,n){A(t,l,n)},p(t,n){n&2&&e!==(e=JSON.stringify(t[9].value)+"")&&_e(l,e)},i:Ue,o:Ue,d(t){t&&h(l)}}}function fr(r){let e,l;return e=new Ll({props:{value:r[9].value}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.value=t[9].value),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function rl(r){let e,l,t=r[9].value!==void 0&&ll(r);return{c(){e=g("td"),t&&t.c(),this.h()},l(n){e=$(n,"TD",{class:!0});var a=I(e);t&&t.l(a),a.forEach(h),this.h()},h(){_(e,"class","svelte-1bwwtph"),ke(e,"value-null",r[9].type==="null")},m(n,a){A(n,e,a),t&&t.m(e,null),l=!0},p(n,a){n[9].value!==void 0?t?(t.p(n,a),a&2&&D(t,1)):(t=ll(n),t.c(),D(t,1),t.m(e,null)):t&&(ge(),R(t,1,1,()=>{t=null}),$e()),(!l||a&2)&&ke(e,"value-null",n[9].type==="null")},i(n){l||(D(t),l=!0)},o(n){R(t),l=!1},d(n){n&&h(e),t&&t.d()}}}function nl(r){var i,u;let e,l=new Date((i=r[5])==null?void 0:i.deleted_at).toLocaleDateString(void 0,{})+"",t,n,a,s=new Date((u=r[5])==null?void 0:u.deleted_at).toLocaleTimeString(void 0,{})+"",o;return{c(){e=g("td"),t=W(l),n=L(),a=g("span"),o=W(s),this.h()},l(d){e=$(d,"TD",{class:!0});var f=I(e);t=Y(f,l),n=F(f),a=$(f,"SPAN",{class:!0});var m=I(a);o=Y(m,s),m.forEach(h),f.forEach(h),this.h()},h(){_(a,"class","svelte-1bwwtph"),_(e,"class","date svelte-1bwwtph")},m(d,f){A(d,e,f),c(e,t),c(e,n),c(e,a),c(a,o)},p(d,f){var m,b;f&2&&l!==(l=new Date((m=d[5])==null?void 0:m.deleted_at).toLocaleDateString(void 0,{})+"")&&_e(t,l),f&2&&s!==(s=new Date((b=d[5])==null?void 0:b.deleted_at).toLocaleTimeString(void 0,{})+"")&&_e(o,s)},d(d){d&&h(e)}}}function al(r,e){var nt,ye,Be,at;let l,t,n,a,s,o,i="More options",u,d,f,m,b,C="Edit record",E,v,k,p,y=e[5].id+"",T,B,q,S,V=new Date((nt=e[5])==null?void 0:nt.created_at).toLocaleDateString(void 0,{})+"",N,w,O,P=new Date((ye=e[5])==null?void 0:ye.created_at).toLocaleTimeString(void 0,{})+"",M,K,G,U=new Date((Be=e[5])==null?void 0:Be.updated_at).toLocaleDateString(void 0,{})+"",Z,z,ae,Ce=new Date((at=e[5])==null?void 0:at.updated_at).toLocaleTimeString(void 0,{})+"",me,ee,Oe,fe,we,je;d=new Se({props:{icon:"navigationMenuVertical",size:"16"}});function it(){return e[2](e[5])}v=new Se({props:{icon:"pencil",size:"16"}});function Ve(){return e[3](e[5])}let ce=e[0].id===e[5].id&&tl(e),De=Ee(e[1].table.properties),Q=[];for(let X=0;XR(Q[X],1,1,()=>{Q[X]=null});let pe=e[1].filters.deleted==="true"&&nl(e);return{key:r,first:null,c(){l=g("tr"),t=g("td"),n=g("div"),a=g("div"),s=g("button"),o=g("span"),o.textContent=i,u=L(),se(d.$$.fragment),f=L(),m=g("button"),b=g("span"),b.textContent=C,E=L(),se(v.$$.fragment),k=L(),ce&&ce.c(),p=L(),T=W(y),B=L();for(let X=0;X{ce=null}),$e()),(!fe||J&2)&&y!==(y=e[5].id+"")&&_e(T,y),J&2){De=Ee(e[1].table.properties);let de;for(de=0;de{t=null}),$e())},i(a){l||(D(t),l=!0)},o(a){R(t),l=!1},d(a){a&&h(e),t&&t.d(a)}}}function dr(r,e,l){let t;Pe(r,H,i=>l(1,t=i));let n={id:null};return[n,t,i=>l(0,n.id=i.id,n),i=>{Fe(H,t.record=i,t)},()=>l(0,n.id=null,n)]}class _r extends Ge{constructor(e){super(),Qe(this,e,dr,cr,Ke,{})}}var ct=new Map;function pr(r){var e=ct.get(r);e&&e.destroy()}function hr(r){var e=ct.get(r);e&&e.update()}var ft=null;typeof window>"u"?((ft=function(r){return r}).destroy=function(r){return r},ft.update=function(r){return r}):((ft=function(r,e){return r&&Array.prototype.forEach.call(r.length?r:[r],function(l){return function(t){if(t&&t.nodeName&&t.nodeName==="TEXTAREA"&&!ct.has(t)){var n,a=null,s=window.getComputedStyle(t),o=(n=t.value,function(){u({testForHeightReduction:n===""||!t.value.startsWith(n),restoreTextAlign:null}),n=t.value}),i=(function(f){t.removeEventListener("autosize:destroy",i),t.removeEventListener("autosize:update",d),t.removeEventListener("input",o),window.removeEventListener("resize",d),Object.keys(f).forEach(function(m){return t.style[m]=f[m]}),ct.delete(t)}).bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",i),t.addEventListener("autosize:update",d),t.addEventListener("input",o),window.addEventListener("resize",d),t.style.overflowX="hidden",t.style.wordWrap="break-word",ct.set(t,{destroy:i,update:d}),d()}function u(f){var m,b,C=f.restoreTextAlign,E=C===void 0?null:C,v=f.testForHeightReduction,k=v===void 0||v,p=s.overflowY;if(t.scrollHeight!==0&&(s.resize==="vertical"?t.style.resize="none":s.resize==="both"&&(t.style.resize="horizontal"),k&&(m=function(T){for(var B=[];T&&T.parentNode&&T.parentNode instanceof Element;)T.parentNode.scrollTop&&B.push([T.parentNode,T.parentNode.scrollTop]),T=T.parentNode;return function(){return B.forEach(function(q){var S=q[0],V=q[1];S.style.scrollBehavior="auto",S.scrollTop=V,S.style.scrollBehavior=null})}}(t),t.style.height=""),b=s.boxSizing==="content-box"?t.scrollHeight-(parseFloat(s.paddingTop)+parseFloat(s.paddingBottom)):t.scrollHeight+parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth),s.maxHeight!=="none"&&b>parseFloat(s.maxHeight)?(s.overflowY==="hidden"&&(t.style.overflow="scroll"),b=parseFloat(s.maxHeight)):s.overflowY!=="hidden"&&(t.style.overflow="hidden"),t.style.height=b+"px",E&&(t.style.textAlign=E),m&&m(),a!==b&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),a=b),p!==s.overflow&&!E)){var y=s.textAlign;s.overflow==="hidden"&&(t.style.textAlign=y==="start"?"end":"start"),u({restoreTextAlign:y,testForHeightReduction:!0})}}function d(){u({testForHeightReduction:!0,restoreTextAlign:null})}}(l)}),r}).destroy=function(r){return r&&Array.prototype.forEach.call(r.length?r:[r],pr),r},ft.update=function(r){return r&&Array.prototype.forEach.call(r.length?r:[r],hr),r});var $t=ft;const Ct=r=>($t(r),{destroy(){$t.destroy(r)}});Ct.update=$t.update;Ct.destroy=$t.destroy;function sl(r,e,l){const t=r.slice();return t[13]=e[l],t}function il(r,e,l){const t=r.slice();t[16]=e[l];const n=t[1].properties?vl(t[1].properties[t[16].name],t[16].attribute_type):{type:t[16].attribute_type,value:""};return t[17]=n,t}function ol(r){let e,l;return{c(){e=g("input"),this.h()},l(t){e=$(t,"INPUT",{type:!0,name:!0}),this.h()},h(){_(e,"type","hidden"),_(e,"name","recordId"),e.value=l=r[1].id},m(t,n){A(t,e,n)},p(t,n){n&2&&l!==(l=t[1].id)&&(e.value=l)},d(t){t&&h(e)}}}function mr(r){let e=r[16].attribute_type+"",l,t,n,a,s;return{c(){l=W(e),t=L(),n=g("input"),this.h()},l(o){l=Y(o,e),t=F(o),n=$(o,"INPUT",{type:!0,name:!0}),this.h()},h(){_(n,"type","hidden"),_(n,"name",a=r[16].name+"[type]"),n.value=s=r[16].attribute_type},m(o,i){A(o,l,i),A(o,t,i),A(o,n,i)},p(o,i){i&1&&e!==(e=o[16].attribute_type+"")&&_e(l,e),i&1&&a!==(a=o[16].name+"[type]")&&_(n,"name",a),i&1&&s!==(s=o[16].attribute_type)&&(n.value=s)},i:Ue,o:Ue,d(o){o&&(h(l),h(t),h(n))}}}function vr(r){let e,l;return e=new Dl({props:{name:r[16].name+"[type]",options:[{value:"string",label:"string"},{value:"json",label:"json"}],checked:r[17].type==="json"?"json":"string"}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&1&&(a.name=t[16].name+"[type]"),n&3&&(a.checked=t[17].type==="json"?"json":"string"),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function ul(r){let e;return{c(){e=W("(non editable)")},l(l){e=Y(l,"(non editable)")},m(l,t){A(l,e,t)},d(l){l&&h(e)}}}function br(r){let e,l,t,n,a,s,o;return{c(){e=g("textarea"),this.h()},l(i){e=$(i,"TEXTAREA",{rows:!0,name:!0,id:!0,class:!0}),I(e).forEach(h),this.h()},h(){_(e,"rows","1"),_(e,"name",l=r[16].name+"[value]"),_(e,"id",t="edit_"+r[16].name),e.disabled=n=r[16].attribute_type==="upload",e.value=a=r[17].type==="json"||r[17].type==="jsonEscaped"&&!_l?JSON.stringify(r[17].value,void 0,2):r[17].value,_(e,"class","svelte-1udbufw")},m(i,u){A(i,e,u),s||(o=ml(Ct.call(null,e)),s=!0)},p(i,u){u&1&&l!==(l=i[16].name+"[value]")&&_(e,"name",l),u&1&&t!==(t="edit_"+i[16].name)&&_(e,"id",t),u&1&&n!==(n=i[16].attribute_type==="upload")&&(e.disabled=n),u&3&&a!==(a=i[17].type==="json"||i[17].type==="jsonEscaped"&&!_l?JSON.stringify(i[17].value,void 0,2):i[17].value)&&(e.value=a)},d(i){i&&h(e),s=!1,o()}}}function gr(r){let e,l,t,n,a,s,o,i,u,d;return{c(){e=g("select"),l=g("option"),t=g("option"),n=W("true"),s=g("option"),o=W("false"),this.h()},l(f){e=$(f,"SELECT",{name:!0,id:!0,class:!0});var m=I(e);l=$(m,"OPTION",{class:!0}),I(l).forEach(h),t=$(m,"OPTION",{});var b=I(t);n=Y(b,"true"),b.forEach(h),s=$(m,"OPTION",{});var C=I(s);o=Y(C,"false"),C.forEach(h),m.forEach(h),this.h()},h(){l.__value="",re(l,l.__value),_(l,"class","value-null"),t.__value="true",re(t,t.__value),t.selected=a=r[17].value==="true",s.__value="false",re(s,s.__value),s.selected=i=r[17].value==="false",_(e,"name",u=r[16].name+"[value]"),_(e,"id",d="edit_"+r[16].name),_(e,"class","svelte-1udbufw")},m(f,m){A(f,e,m),c(e,l),c(e,t),c(t,n),c(e,s),c(s,o)},p(f,m){m&3&&a!==(a=f[17].value==="true")&&(t.selected=a),m&3&&i!==(i=f[17].value==="false")&&(s.selected=i),m&1&&u!==(u=f[16].name+"[value]")&&_(e,"name",u),m&1&&d!==(d="edit_"+f[16].name)&&_(e,"id",d)},d(f){f&&h(e)}}}function fl(r){let e=r[5][r[16].name].message+"",l;return{c(){l=W(e)},l(t){l=Y(t,e)},m(t,n){A(t,l,n)},p(t,n){n&33&&e!==(e=t[5][t[16].name].message+"")&&_e(l,e)},d(t){t&&h(l)}}}function cl(r){let e,l,t,n=r[16].name+"",a,s,o,i,u,d,f,m,b,C,E,v,k;const p=[vr,mr],y=[];function T(w,O){return w[16].attribute_type==="string"?0:1}u=T(r),d=y[u]=p[u](r);let B=r[16].attribute_type==="upload"&&ul();function q(w,O){return w[16].attribute_type==="boolean"?gr:br}let S=q(r),V=S(r),N=r[5][r[16].name]&&fl(r);return{c(){e=g("fieldset"),l=g("dir"),t=g("label"),a=W(n),s=g("br"),o=L(),i=g("div"),d.c(),f=L(),B&&B.c(),b=L(),C=g("div"),V.c(),E=L(),v=g("div"),N&&N.c(),this.h()},l(w){e=$(w,"FIELDSET",{class:!0});var O=I(e);l=$(O,"DIR",{});var P=I(l);t=$(P,"LABEL",{for:!0,class:!0});var M=I(t);a=Y(M,n),s=$(M,"BR",{}),o=F(M),i=$(M,"DIV",{class:!0});var K=I(i);d.l(K),f=F(K),B&&B.l(K),K.forEach(h),M.forEach(h),P.forEach(h),b=F(O),C=$(O,"DIV",{});var G=I(C);V.l(G),E=F(G),v=$(G,"DIV",{role:!0,class:!0});var U=I(v);N&&N.l(U),U.forEach(h),G.forEach(h),O.forEach(h),this.h()},h(){_(i,"class","type svelte-1udbufw"),_(t,"for",m="edit_"+r[16].name),_(t,"class","svelte-1udbufw"),_(v,"role","alert"),_(v,"class","svelte-1udbufw"),_(e,"class","svelte-1udbufw")},m(w,O){A(w,e,O),c(e,l),c(l,t),c(t,a),c(t,s),c(t,o),c(t,i),y[u].m(i,null),c(i,f),B&&B.m(i,null),c(e,b),c(e,C),V.m(C,null),c(C,E),c(C,v),N&&N.m(v,null),k=!0},p(w,O){(!k||O&1)&&n!==(n=w[16].name+"")&&_e(a,n);let P=u;u=T(w),u===P?y[u].p(w,O):(ge(),R(y[P],1,1,()=>{y[P]=null}),$e(),d=y[u],d?d.p(w,O):(d=y[u]=p[u](w),d.c()),D(d,1),d.m(i,f)),w[16].attribute_type==="upload"?B||(B=ul(),B.c(),B.m(i,null)):B&&(B.d(1),B=null),(!k||O&1&&m!==(m="edit_"+w[16].name))&&_(t,"for",m),S===(S=q(w))&&V?V.p(w,O):(V.d(1),V=S(w),V&&(V.c(),V.m(C,E))),w[5][w[16].name]?N?N.p(w,O):(N=fl(w),N.c(),N.m(v,null)):N&&(N.d(1),N=null)},i(w){k||(D(d),k=!0)},o(w){R(d),k=!1},d(w){w&&h(e),y[u].d(),B&&B.d(),V.d(),N&&N.d()}}}function dl(r){let e,l=JSON.stringify(r[13])+"",t,n;return{c(){e=g("li"),t=W(l),n=L(),this.h()},l(a){e=$(a,"LI",{class:!0});var s=I(e);t=Y(s,l),n=F(s),s.forEach(h),this.h()},h(){_(e,"class","svelte-1udbufw")},m(a,s){A(a,e,s),c(e,t),c(e,n)},p(a,s){s&16&&l!==(l=JSON.stringify(a[13])+"")&&_e(t,l)},d(a){a&&h(e)}}}function $r(r){let e;return{c(){e=W("Create record")},l(l){e=Y(l,"Create record")},m(l,t){A(l,e,t)},d(l){l&&h(e)}}}function wr(r){let e;return{c(){e=W("Edit record")},l(l){e=Y(l,"Edit record")},m(l,t){A(l,e,t)},d(l){l&&h(e)}}}function yr(r){let e,l,t,n,a,s,o,i,u,d,f,m,b,C="Cancel",E,v,k,p,y,T,B,q,S=r[1].id&&ol(r),V=Ee(r[0]),N=[];for(let U=0;UR(N[U],1,1,()=>{N[U]=null});let O=Ee(r[4]),P=[];for(let U=0;U{T&&(y||(y=Rt(e,r[7],{},!0)),y.run(1))}),T=!0}},o(U){N=N.filter(Boolean);for(let Z=0;Zl(6,t=v)),Pe(r,wt,v=>l(12,n=v));let{properties:a}=e,{editing:s}=e,o,i,u=[],d={};const f=function(v,{delay:k=0,duration:p=150}){return{delay:k,duration:p,css:y=>{const T=Fl(y);return`opacity: ${T}; transform: scale(${T});`}}};gl(()=>{setTimeout(()=>{o.showModal()},10)}),document.addEventListener("keydown",v=>{v.key==="Escape"&&(v.preventDefault(),Fe(H,t.record=null,t))},{once:!0});const m=async v=>{v.preventDefault();const k=new FormData(i);l(5,d={});for(const p of k.entries())if(p[0].endsWith("[type]")&&(p[1]==="json"||p[1]==="array")){const y=p[0].replace("[type]",""),T=k.get(y+"[value]");T!==""&&!Pl(T)&&l(5,d[y]={property:y,message:`Not a valid ${p[1]}`},d)}if(Object.keys(d).length)await $l(),document.querySelector('[role="alert"]:not(:empty)').scrollIntoView({behavior:"smooth",block:"center"});else if(t.record.id){const p=await Ne.edit({table:t.table.name,id:t.record.id,properties:k});p.errors?l(4,u=p.errors):(Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.highlight("record",p.record_update.id),H.notification.create("success",`Record ${p.record_update.id} updated`),Fe(H,t.record=null,t))}else{const p=await Ne.create({table:t.table.name,properties:k});p.errors?l(4,u=p.errors):(H.clearFilters(),Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}),H.highlight("record",p.record_create.id),H.notification.create("success",`Record ${p.record_create.id} created`),Fe(H,t.record=null,t))}},b=()=>Fe(H,t.record=null,t);function C(v){rt[v?"unshift":"push"](()=>{i=v,l(3,i)})}function E(v){rt[v?"unshift":"push"](()=>{o=v,l(2,o)})}return r.$$set=v=>{"properties"in v&&l(0,a=v.properties),"editing"in v&&l(1,s=v.editing)},[a,s,o,i,u,d,t,f,m,b,C,E]}class Er extends Ge{constructor(e){super(),Qe(this,e,kr,yr,Ke,{properties:0,editing:1})}}const{document:Et}=Cl;function Tr(r){let e;return{c(){e=W("Work in progress :)")},l(l){e=Y(l,"Work in progress :)")},m(l,t){A(l,e,t)},i:Ue,o:Ue,d(l){l&&h(e)}}}function Cr(r){let e,l;return e=new _r({}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function pl(r){let e,l,t,n,a,s,o;const i=[Sr,Nr],u=[];function d(f,m){return f[0].view.tableStyle==="collapsed"?0:1}return l=d(r),t=u[l]=i[l](r),{c(){e=g("button"),t.c(),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0});var m=I(e);t.l(m),m.forEach(h),this.h()},h(){_(e,"class","button"),_(e,"title",n=r[0].view.tableStyle==="expanded"?"Collapse values":"Expand values")},m(f,m){A(f,e,m),u[l].m(e,null),a=!0,s||(o=le(e,"click",_t(function(){El(r[0].view.tableStyle==="collapsed"?H.setView({tableStyle:"expanded"}):H.setView({tableStyle:"collapsed"}))&&(r[0].view.tableStyle==="collapsed"?H.setView({tableStyle:"expanded"}):H.setView({tableStyle:"collapsed"})).apply(this,arguments)})),s=!0)},p(f,m){r=f;let b=l;l=d(r),l!==b&&(ge(),R(u[b],1,1,()=>{u[b]=null}),$e(),t=u[l],t||(t=u[l]=i[l](r),t.c()),D(t,1),t.m(e,null)),(!a||m&1&&n!==(n=r[0].view.tableStyle==="expanded"?"Collapse values":"Expand values"))&&_(e,"title",n)},i(f){a||(D(t),a=!0)},o(f){R(t),a=!1},d(f){f&&h(e),u[l].d(),s=!1,o()}}}function Nr(r){let e,l="Collapse values",t,n,a;return n=new Se({props:{icon:"collapse"}}),{c(){e=g("span"),e.textContent=l,t=L(),se(n.$$.fragment),this.h()},l(s){e=$(s,"SPAN",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-jserey"&&(e.textContent=l),t=F(s),ie(n.$$.fragment,s),this.h()},h(){_(e,"class","label")},m(s,o){A(s,e,o),A(s,t,o),oe(n,s,o),a=!0},i(s){a||(D(n.$$.fragment,s),a=!0)},o(s){R(n.$$.fragment,s),a=!1},d(s){s&&(h(e),h(t)),ue(n,s)}}}function Sr(r){let e,l="Expand values",t,n,a;return n=new Se({props:{icon:"expand"}}),{c(){e=g("span"),e.textContent=l,t=L(),se(n.$$.fragment),this.h()},l(s){e=$(s,"SPAN",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-1tvmrgx"&&(e.textContent=l),t=F(s),ie(n.$$.fragment,s),this.h()},h(){_(e,"class","label")},m(s,o){A(s,e,o),A(s,t,o),oe(n,s,o),a=!0},i(s){a||(D(n.$$.fragment,s),a=!0)},o(s){R(n.$$.fragment,s),a=!1},d(s){s&&(h(e),h(t)),ue(n,s)}}}function hl(r){let e,l;return e=new Er({props:{properties:r[0].table.properties,editing:r[0].record}}),{c(){se(e.$$.fragment)},l(t){ie(e.$$.fragment,t)},m(t,n){oe(e,t,n),l=!0},p(t,n){const a={};n&1&&(a.properties=t[0].table.properties),n&1&&(a.editing=t[0].record),e.$set(a)},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){R(e.$$.fragment,t),l=!1},d(t){ue(e,t)}}}function Or(r){var Dt,Lt,Ft,Pt;let e,l,t,n,a,s,o,i,u,d,f="Refresh current view",m,b,C,E,v,k,p,y,T,B="Page:",q,S,V,N,w=(((Dt=r[0].records)==null?void 0:Dt.total_pages)||1)+"",O,P,M,K,G,U,Z,z="Create new record",ae,Ce,me,ee,Oe,fe,we,je,it,Ve,ce,De=r[0].filters.deleted==="false"?"ing":"",Q,ot,pe,nt,ye,Be,at,X,J,Te=r[0].filters.deleted==="true"?"ing":"",Ie,Re,Le,de,te,xe,qe,He,he,yt,kt,Nt;Et.title=e=(((Lt=r[0].table)==null?void 0:Lt.name)||"Loading…")+((Ft=r[0].online)!=null&&Ft.MPKIT_URL?": "+r[0].online.MPKIT_URL.replace("https://",""):""),a=new Hl({}),o=new Zl({}),b=new Se({props:{icon:"refresh"}});const St=[Cr,Tr],et=[];function Ot(j,x){return j[0].view.database!=="tiles"?0:1}E=Ot(r),v=et[E]=St[E](r);function bl(j){r[5](j)}let It={name:"page",min:1,max:(Pt=r[0].records)==null?void 0:Pt.total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};r[0].filters.page!==void 0&&(It.value=r[0].filters.page),S=new Al({props:It}),rt.push(()=>Tl(S,"value",bl)),S.$on("input",r[6]),G=new Se({props:{icon:"plus"}});let ve=r[0].view.database!=="tiles"&&pl(r);je=new Se({props:{icon:"leaf"}}),Be=new Se({props:{icon:"recycle"}});let be=r[0].record!==null&&hl(r);return yt=wl(r[9][0]),{c(){l=L(),t=g("section"),n=g("nav"),se(a.$$.fragment),s=L(),se(o.$$.fragment),i=L(),u=g("button"),d=g("span"),d.textContent=f,m=L(),se(b.$$.fragment),C=L(),v.c(),k=L(),p=g("nav"),y=g("div"),T=g("label"),T.textContent=B,q=L(),se(S.$$.fragment),N=W(`\r + of `),O=W(w),P=L(),M=g("div"),K=g("button"),se(G.$$.fragment),U=L(),Z=g("span"),Z.textContent=z,ae=L(),ve&&ve.c(),Ce=L(),me=g("div"),ee=g("input"),fe=L(),we=g("label"),se(je.$$.fragment),it=L(),Ve=g("span"),ce=W("Show"),Q=W(De),ot=W(" current database state"),nt=L(),ye=g("label"),se(Be.$$.fragment),at=L(),X=g("span"),J=W("Show"),Ie=W(Te),Re=W(" deleted records"),de=L(),te=g("input"),qe=L(),be&&be.c(),He=Ae(),this.h()},l(j){yl("svelte-1ke6alb",Et.head).forEach(h),l=F(j),t=$(j,"SECTION",{class:!0});var ze=I(t);n=$(ze,"NAV",{class:!0});var Me=I(n);ie(a.$$.fragment,Me),s=F(Me),ie(o.$$.fragment,Me),i=F(Me),u=$(Me,"BUTTON",{class:!0,title:!0});var tt=I(u);d=$(tt,"SPAN",{class:!0,"data-svelte-h":!0}),ne(d)!=="svelte-iqo23s"&&(d.textContent=f),m=F(tt),ie(b.$$.fragment,tt),tt.forEach(h),Me.forEach(h),C=F(ze),v.l(ze),k=F(ze),p=$(ze,"NAV",{class:!0});var lt=I(p);y=$(lt,"DIV",{});var Je=I(y);T=$(Je,"LABEL",{for:!0,"data-svelte-h":!0}),ne(T)!=="svelte-1r8oyu6"&&(T.textContent=B),q=F(Je),ie(S.$$.fragment,Je),N=Y(Je,`\r + of `),O=Y(Je,w),Je.forEach(h),P=F(lt),M=$(lt,"DIV",{id:!0,class:!0});var We=I(M);K=$(We,"BUTTON",{class:!0,title:!0});var pt=I(K);ie(G.$$.fragment,pt),U=F(pt),Z=$(pt,"SPAN",{class:!0,"data-svelte-h":!0}),ne(Z)!=="svelte-19x6y3e"&&(Z.textContent=z),pt.forEach(h),ae=F(We),ve&&ve.l(We),Ce=F(We),me=$(We,"DIV",{class:!0});var Ye=I(me);ee=$(Ye,"INPUT",{type:!0,name:!0,id:!0,class:!0}),fe=F(Ye),we=$(Ye,"LABEL",{for:!0,class:!0,title:!0});var ht=I(we);ie(je.$$.fragment,ht),it=F(ht),Ve=$(ht,"SPAN",{class:!0});var mt=I(Ve);ce=Y(mt,"Show"),Q=Y(mt,De),ot=Y(mt," current database state"),mt.forEach(h),ht.forEach(h),nt=F(Ye),ye=$(Ye,"LABEL",{for:!0,class:!0,title:!0});var vt=I(ye);ie(Be.$$.fragment,vt),at=F(vt),X=$(vt,"SPAN",{class:!0});var bt=I(X);J=Y(bt,"Show"),Ie=Y(bt,Te),Re=Y(bt," deleted records"),bt.forEach(h),vt.forEach(h),de=F(Ye),te=$(Ye,"INPUT",{type:!0,name:!0,id:!0,class:!0}),Ye.forEach(h),We.forEach(h),lt.forEach(h),ze.forEach(h),qe=F(j),be&&be.l(j),He=Ae(),this.h()},h(){_(d,"class","label"),_(u,"class","button svelte-afbo94"),_(u,"title","Refresh current view (R)"),ke(u,"refreshing",r[2]),_(n,"class","svelte-afbo94"),_(T,"for","page"),_(Z,"class","label"),_(K,"class","button"),_(K,"title","Create new record"),_(ee,"type","radio"),_(ee,"name","deleted"),_(ee,"id","deletedTrue"),ee.__value="false",re(ee,ee.__value),ee.disabled=Oe=r[0].filters.deleted==="false",_(ee,"class","svelte-afbo94"),_(Ve,"class","label"),_(we,"for","deletedTrue"),_(we,"class","button"),_(we,"title",pe="Show"+(r[0].filters.deleted==="false"?"ing":"")+" current database state"),ke(we,"active",r[0].filters.deleted==="false"),ke(we,"disabled",r[0].filters.deleted==="false"),_(X,"class","label"),_(ye,"for","deletedFalse"),_(ye,"class","button"),_(ye,"title",Le="Show"+(r[0].filters.deleted==="true"?"ing":"")+" deleted records"),ke(ye,"active",r[0].filters.deleted==="true"),ke(ye,"disabled",r[0].filters.deleted==="true"),_(te,"type","radio"),_(te,"name","deleted"),_(te,"id","deletedFalse"),te.__value="true",re(te,te.__value),te.disabled=xe=r[0].filters.deleted==="true",_(te,"class","svelte-afbo94"),_(me,"class","combo svelte-afbo94"),_(M,"id","viewOptions"),_(M,"class","svelte-afbo94"),_(p,"class","pagination svelte-afbo94"),_(t,"class","svelte-afbo94"),yt.p(ee,te)},m(j,x){A(j,l,x),A(j,t,x),c(t,n),oe(a,n,null),c(n,s),oe(o,n,null),c(n,i),c(n,u),c(u,d),c(u,m),oe(b,u,null),c(t,C),et[E].m(t,null),c(t,k),c(t,p),c(p,y),c(y,T),c(y,q),oe(S,y,null),c(y,N),c(y,O),c(p,P),c(p,M),c(M,K),oe(G,K,null),c(K,U),c(K,Z),c(M,ae),ve&&ve.m(M,null),c(M,Ce),c(M,me),c(me,ee),ee.checked=ee.__value===r[0].filters.deleted,c(me,fe),c(me,we),oe(je,we,null),c(we,it),c(we,Ve),c(Ve,ce),c(Ve,Q),c(Ve,ot),c(me,nt),c(me,ye),oe(Be,ye,null),c(ye,at),c(ye,X),c(X,J),c(X,Ie),c(X,Re),c(me,de),c(me,te),te.checked=te.__value===r[0].filters.deleted,A(j,qe,x),be&&be.m(j,x),A(j,He,x),he=!0,kt||(Nt=[le(window,"keypress",r[4]),le(u,"click",r[3]),le(K,"click",_t(r[7])),le(ee,"change",r[8]),le(ee,"change",r[10]),le(te,"change",r[11]),le(te,"change",r[12])],kt=!0)},p(j,[x]){var tt,lt,Je,We;(!he||x&1)&&e!==(e=(((tt=j[0].table)==null?void 0:tt.name)||"Loading…")+((lt=j[0].online)!=null&<.MPKIT_URL?": "+j[0].online.MPKIT_URL.replace("https://",""):""))&&(Et.title=e),(!he||x&4)&&ke(u,"refreshing",j[2]);let ze=E;E=Ot(j),E!==ze&&(ge(),R(et[ze],1,1,()=>{et[ze]=null}),$e(),v=et[E],v||(v=et[E]=St[E](j),v.c()),D(v,1),v.m(t,k));const Me={};x&1&&(Me.max=(Je=j[0].records)==null?void 0:Je.total_pages),!V&&x&1&&(V=!0,Me.value=j[0].filters.page,kl(()=>V=!1)),S.$set(Me),(!he||x&1)&&w!==(w=(((We=j[0].records)==null?void 0:We.total_pages)||1)+"")&&_e(O,w),j[0].view.database!=="tiles"?ve?(ve.p(j,x),x&1&&D(ve,1)):(ve=pl(j),ve.c(),D(ve,1),ve.m(M,Ce)):ve&&(ge(),R(ve,1,1,()=>{ve=null}),$e()),(!he||x&1&&Oe!==(Oe=j[0].filters.deleted==="false"))&&(ee.disabled=Oe),x&1&&(ee.checked=ee.__value===j[0].filters.deleted),(!he||x&1)&&De!==(De=j[0].filters.deleted==="false"?"ing":"")&&_e(Q,De),(!he||x&1&&pe!==(pe="Show"+(j[0].filters.deleted==="false"?"ing":"")+" current database state"))&&_(we,"title",pe),(!he||x&1)&&ke(we,"active",j[0].filters.deleted==="false"),(!he||x&1)&&ke(we,"disabled",j[0].filters.deleted==="false"),(!he||x&1)&&Te!==(Te=j[0].filters.deleted==="true"?"ing":"")&&_e(Ie,Te),(!he||x&1&&Le!==(Le="Show"+(j[0].filters.deleted==="true"?"ing":"")+" deleted records"))&&_(ye,"title",Le),(!he||x&1)&&ke(ye,"active",j[0].filters.deleted==="true"),(!he||x&1)&&ke(ye,"disabled",j[0].filters.deleted==="true"),(!he||x&1&&xe!==(xe=j[0].filters.deleted==="true"))&&(te.disabled=xe),x&1&&(te.checked=te.__value===j[0].filters.deleted),j[0].record!==null?be?(be.p(j,x),x&1&&D(be,1)):(be=hl(j),be.c(),D(be,1),be.m(He.parentNode,He)):be&&(ge(),R(be,1,1,()=>{be=null}),$e())},i(j){he||(D(a.$$.fragment,j),D(o.$$.fragment,j),D(b.$$.fragment,j),D(v),D(S.$$.fragment,j),D(G.$$.fragment,j),D(ve),D(je.$$.fragment,j),D(Be.$$.fragment,j),D(be),he=!0)},o(j){R(a.$$.fragment,j),R(o.$$.fragment,j),R(b.$$.fragment,j),R(v),R(S.$$.fragment,j),R(G.$$.fragment,j),R(ve),R(je.$$.fragment,j),R(Be.$$.fragment,j),R(be),he=!1},d(j){j&&(h(l),h(t),h(qe),h(He)),ue(a),ue(o),ue(b),et[E].d(),ue(S),ue(G),ve&&ve.d(),ue(je),ue(Be),be&&be.d(j),yt.r(),kt=!1,st(Nt)}}}function Ir(r,e,l){let t,n;Pe(r,H,v=>l(0,t=v)),Pe(r,wt,v=>l(1,n=v));let a=!1;const s=()=>{l(2,a=!0),Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted}).then(()=>l(2,a=!1))},o=v=>{document.activeElement===document.body&&!v.target.matches("input, textarea")&&v.key==="r"&&s()},i=[[]];function u(v){r.$$.not_equal(t.filters.page,v)&&(t.filters.page=v,H.set(t))}const d=()=>{Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})},f=()=>Fe(H,t.record={},t);function m(){t.filters.deleted=this.__value,H.set(t)}const b=()=>{Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})};function C(){t.filters.deleted=this.__value,H.set(t)}const E=()=>{Ne.get({table:n.params.id,filters:t.filters,sort:t.sort,deleted:t.filters.deleted})};return r.$$.update=()=>{r.$$.dirty&3&&Fe(H,t.table=t.tables.filter(v=>v.id===n.params.id)[0],t),r.$$.dirty&2&&n.params.id&&Ne.get({table:n.params.id})&&H.clearFilters()},[t,n,a,s,o,u,d,f,m,i,b,C,E]}class Wr extends Ge{constructor(e){super(),Qe(this,e,Ir,Or,Ke,{})}}export{Wr as component}; diff --git a/gui/next/build/_app/immutable/nodes/15.uXMwD0hE.js b/gui/next/build/_app/immutable/nodes/15.BII74jAo.js similarity index 62% rename from gui/next/build/_app/immutable/nodes/15.uXMwD0hE.js rename to gui/next/build/_app/immutable/nodes/15.BII74jAo.js index acf7d6e6..03602916 100644 --- a/gui/next/build/_app/immutable/nodes/15.uXMwD0hE.js +++ b/gui/next/build/_app/immutable/nodes/15.BII74jAo.js @@ -1 +1 @@ -import{s as Ze,a as L,e as p,p as xe,f as _,g as C,c as g,b as $,A as ne,y as d,i as A,h as u,B as Ne,C as le,r as Ke,k as et,W as tt,X as lt,Y as st,n as ve,F as Ge,t as G,d as W,G as ae,M as nt,j as Y,I as at,E as ge,H as ot,z as rt,v as Ee}from"../chunks/scheduler.ts1nwYMk.js";import{S as it,i as ft,c as ie,d as fe,m as ue,t as E,a as B,e as oe,f as ce,g as re,j as ut}from"../chunks/index.MbwxngTa.js";import{g as ct}from"../chunks/globals.D0QH3NT1.js";import{e as Le}from"../chunks/each.CLm8ZDgo.js";import{f as dt}from"../chunks/index.CqFcJeJT.js";import{s as pe}from"../chunks/state.HIdUDD3F.js";import{t as We}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{J as Xe}from"../chunks/JSONTree.DHR6A5Hv.js";import{I as ke}from"../chunks/Icon.Dn_EaQMz.js";import{A as _t}from"../chunks/Aside.FJrLQRZc.js";const ht={get:async n=>{const t=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}/api/logs`:"http://localhost:3333/api/logs",a=n.last??null;return fetch(`${t}?lastId=`+a).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>(e.logs.forEach(l=>{l.downloaded_at=Date.now()}),e)).catch(e=>({error:e}))}},{document:Ce}=ct;function Pe(n,t,a){const e=n.slice();e[23]=t[a],e[25]=t,e[26]=a;const l=e[23].message.length<262144&&We(e[23].message);return e[24]=l,e}function Ue(n,t,a){const e=n.slice();e[23]=t[a],e[27]=t,e[28]=a;const l=e[23].message.length<262144&&We(e[23].message);return e[24]=l,e}function Oe(n){let t,a,e="Clear filter",l,o,s,r,i;return o=new ke({props:{icon:"x",size:"12"}}),{c(){t=p("button"),a=p("span"),a.textContent=e,l=L(),ie(o.$$.fragment),this.h()},l(f){t=g(f,"BUTTON",{class:!0});var h=$(t);a=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),ne(a)!=="svelte-1bu6mgu"&&(a.textContent=e),l=C(h),fe(o.$$.fragment,h),h.forEach(_),this.h()},h(){d(a,"class","label svelte-8fkf35"),d(t,"class","clearFilter svelte-8fkf35")},m(f,h){A(f,t,h),u(t,a),u(t,l),ue(o,t,null),s=!0,r||(i=le(t,"click",n[9]),r=!0)},p:ve,i(f){s||(E(o.$$.fragment,f),s=!0)},o(f){B(o.$$.fragment,f),s=!1},d(f){f&&_(t),ce(o),r=!1,i()}}}function Be(n){let t,a,e=Le(n[4].logs.logs),l=[];for(let s=0;sB(l[s],1,1,()=>{l[s]=null});return{c(){t=p("table");for(let s=0;see&&Ae(n);return{c(){a=G(t),e=L(),o&&o.c(),l=Ee()},l(s){a=W(s,t),e=C(s),o&&o.l(s),l=Ee()},m(s,r){A(s,a,r),A(s,e,r),o&&o.m(s,r),A(s,l,r)},p(s,r){r&16&&t!==(t=s[23].message.substr(0,ee)+"")&&Y(a,t),s[23].message.length>ee?o?o.p(s,r):(o=Ae(s),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},d(s){s&&(_(a),_(e),_(l)),o&&o.d(s)}}}function vt(n){let t=n[23].message+"",a;return{c(){a=G(t)},l(e){a=W(e,t)},m(e,l){A(e,a,l)},p(e,l){l&16&&t!==(t=e[23].message+"")&&Y(a,t)},d(e){e&&_(a)}}}function Ae(n){let t,a,e=n[23].message.length-ee+"",l,o,s,r;function i(){return n[11](n[23],n[27],n[28])}return{c(){t=p("div"),a=p("button"),l=G(e),o=G(" more characters"),this.h()},l(f){t=g(f,"DIV",{class:!0});var h=$(t);a=g(h,"BUTTON",{type:!0,class:!0});var v=$(a);l=W(v,e),o=W(v," more characters"),v.forEach(_),h.forEach(_),this.h()},h(){d(a,"type","button"),d(a,"class","svelte-8fkf35"),d(t,"class","longStringInfo svelte-8fkf35")},m(f,h){A(f,t,h),u(t,a),u(a,l),u(a,o),s||(r=le(a,"click",i),s=!0)},p(f,h){n=f,h&16&&e!==(e=n[23].message.length-ee+"")&&Y(l,e)},d(f){f&&_(t),s=!1,r()}}}function Me(n){let t,a,e,l=n[23].data.url+"",o,s,r=n[23].data.user&&Ve(n);return{c(){t=p("ul"),a=p("li"),e=G("Page: "),o=G(l),s=L(),r&&r.c(),this.h()},l(i){t=g(i,"UL",{class:!0});var f=$(t);a=g(f,"LI",{});var h=$(a);e=W(h,"Page: "),o=W(h,l),h.forEach(_),s=C(f),r&&r.l(f),f.forEach(_),this.h()},h(){d(t,"class","info svelte-8fkf35")},m(i,f){A(i,t,f),u(t,a),u(a,e),u(a,o),u(t,s),r&&r.m(t,null)},p(i,f){f&16&&l!==(l=i[23].data.url+"")&&Y(o,l),i[23].data.user?r?r.p(i,f):(r=Ve(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&_(t),r&&r.d()}}}function Ve(n){let t,a,e,l=n[23].data.user.id+"",o,s;return{c(){t=p("li"),a=G("User ID: "),e=p("a"),o=G(l),this.h()},l(r){t=g(r,"LI",{});var i=$(t);a=W(i,"User ID: "),e=g(i,"A",{href:!0,class:!0});var f=$(e);o=W(f,l),f.forEach(_),i.forEach(_),this.h()},h(){d(e,"href",s="/users/"+n[23].data.user.id),d(e,"class","svelte-8fkf35")},m(r,i){A(r,t,i),u(t,a),u(t,e),u(e,o)},p(r,i){i&16&&l!==(l=r[23].data.user.id+"")&&Y(o,l),i&16&&s!==(s="/users/"+r[23].data.user.id)&&d(e,"href",s)},d(r){r&&_(t)}}}function Fe(n){var Se;let t,a,e,l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"",o,s,r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"",i,f,h,v,V=n[23].error_type+"",z,J,M,F,T,j,q,D,R,y,K,te="Copy message",Q,c,I,m,w,P="Pin this log",b,S,k,U,N,Z,de;const se=[pt,mt],x=[];function _e(H,O){return H[24]?0:1}F=_e(n),T=x[F]=se[F](n);let X=((Se=n[23].data)==null?void 0:Se.url)&&Me(n);c=new ke({props:{icon:"copy"}});function Ye(...H){return n[12](n[23],...H)}S=new ke({props:{icon:"pin"}});function Qe(){return n[13](n[23])}function Ie(...H){return n[14](n[23],...H)}return{c(){t=p("tr"),a=p("td"),e=p("time"),o=G(l),s=L(),i=G(r),h=L(),v=p("td"),z=G(V),J=L(),M=p("td"),T.c(),j=L(),X&&X.c(),q=L(),D=p("td"),R=p("div"),y=p("button"),K=p("span"),K.textContent=te,Q=L(),ie(c.$$.fragment),I=L(),m=p("button"),w=p("span"),w.textContent=P,b=L(),ie(S.$$.fragment),k=L(),this.h()},l(H){t=g(H,"TR",{class:!0});var O=$(t);a=g(O,"TD",{class:!0});var me=$(a);e=g(me,"TIME",{datetime:!0,class:!0});var he=$(e);o=W(he,l),s=C(he),i=W(he,r),he.forEach(_),me.forEach(_),h=C(O),v=g(O,"TD",{class:!0});var De=$(v);z=W(De,V),De.forEach(_),J=C(O),M=g(O,"TD",{class:!0});var be=$(M);T.l(be),j=C(be),X&&X.l(be),be.forEach(_),q=C(O),D=g(O,"TD",{class:!0});var ye=$(D);R=g(ye,"DIV",{class:!0});var $e=$(R);y=g($e,"BUTTON",{type:!0,class:!0,title:!0});var we=$(y);K=g(we,"SPAN",{class:!0,"data-svelte-h":!0}),ne(K)!=="svelte-1qjln59"&&(K.textContent=te),Q=C(we),fe(c.$$.fragment,we),we.forEach(_),I=C($e),m=g($e,"BUTTON",{type:!0,class:!0,title:!0});var Te=$(m);w=g(Te,"SPAN",{class:!0,"data-svelte-h":!0}),ne(w)!=="svelte-yzd8i4"&&(w.textContent=P),b=C(Te),fe(S.$$.fragment,Te),Te.forEach(_),$e.forEach(_),ye.forEach(_),k=C(O),O.forEach(_),this.h()},h(){d(e,"datetime",f=n[23].created_at),d(e,"class","svelte-8fkf35"),d(a,"class","date svelte-8fkf35"),d(v,"class","logType svelte-8fkf35"),d(M,"class","message svelte-8fkf35"),d(K,"class","label"),d(y,"type","button"),d(y,"class","button svelte-8fkf35"),d(y,"title","Copy message"),d(w,"class","label"),d(m,"type","button"),d(m,"class","button svelte-8fkf35"),d(m,"title","Pin this log"),ae(m,"active",n[2].find(Ie)),d(R,"class","svelte-8fkf35"),d(D,"class","actions svelte-8fkf35"),d(t,"class","svelte-8fkf35"),ae(t,"hidden",n[1]&&n[5](n[23])||n[23].hidden),ae(t,"error",n[23].error_type.match(/error/i)),ae(t,"fresh",n[23].downloaded_at>n[4].logs.downloaded_at[0])},m(H,O){A(H,t,O),u(t,a),u(a,e),u(e,o),u(e,s),u(e,i),u(t,h),u(t,v),u(v,z),u(t,J),u(t,M),x[F].m(M,null),u(M,j),X&&X.m(M,null),u(t,q),u(t,D),u(D,R),u(R,y),u(y,K),u(y,Q),ue(c,y,null),u(R,I),u(R,m),u(m,w),u(m,b),ue(S,m,null),u(t,k),N=!0,Z||(de=[le(y,"click",Ye),le(m,"click",nt(Qe))],Z=!0)},p(H,O){var he;n=H,(!N||O&16)&&l!==(l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"")&&Y(o,l),(!N||O&16)&&r!==(r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"")&&Y(i,r),(!N||O&16&&f!==(f=n[23].created_at))&&d(e,"datetime",f),(!N||O&16)&&V!==(V=n[23].error_type+"")&&Y(z,V);let me=F;F=_e(n),F===me?x[F].p(n,O):(re(),B(x[me],1,1,()=>{x[me]=null}),oe(),T=x[F],T?T.p(n,O):(T=x[F]=se[F](n),T.c()),E(T,1),T.m(M,j)),(he=n[23].data)!=null&&he.url?X?X.p(n,O):(X=Me(n),X.c(),X.m(M,null)):X&&(X.d(1),X=null),(!N||O&20)&&ae(m,"active",n[2].find(Ie)),(!N||O&50)&&ae(t,"hidden",n[1]&&n[5](n[23])||n[23].hidden),(!N||O&16)&&ae(t,"error",n[23].error_type.match(/error/i)),(!N||O&16)&&ae(t,"fresh",n[23].downloaded_at>n[4].logs.downloaded_at[0])},i(H){N||(E(T),E(c.$$.fragment,H),E(S.$$.fragment,H),H&&(U||at(()=>{U=ut(t,dt,{duration:200}),U.start()})),N=!0)},o(H){B(T),B(c.$$.fragment,H),B(S.$$.fragment,H),N=!1},d(H){H&&_(t),x[F].d(),X&&X.d(),ce(c),ce(S),Z=!1,Ke(de)}}}function je(n){let t,a="No newer logs to show
Checking every 3 seconds";return{c(){t=p("footer"),t.innerHTML=a,this.h()},l(e){t=g(e,"FOOTER",{class:!0,"data-svelte-h":!0}),ne(t)!=="svelte-akhvzo"&&(t.innerHTML=a),this.h()},h(){d(t,"class","svelte-8fkf35")},m(e,l){A(e,t,l)},d(e){e&&_(t)}}}function Re(n){let t,a;return t=new _t({props:{$$slots:{default:[Tt]},$$scope:{ctx:n}}}),{c(){ie(t.$$.fragment)},l(e){fe(t.$$.fragment,e)},m(e,l){ue(t,e,l),a=!0},p(e,l){const o={};l&536870916&&(o.$$scope={dirty:l,ctx:e}),t.$set(o)},i(e){a||(E(t.$$.fragment,e),a=!0)},o(e){B(t.$$.fragment,e),a=!1},d(e){ce(t,e)}}}function qe(n){let t,a,e=Le(n[2]),l=[];for(let s=0;sB(l[s],1,1,()=>{l[s]=null});return{c(){t=p("ul");for(let s=0;see&&He(n);return{c(){a=G(t),e=L(),o&&o.c(),l=Ee()},l(s){a=W(s,t),e=C(s),o&&o.l(s),l=Ee()},m(s,r){A(s,a,r),A(s,e,r),o&&o.m(s,r),A(s,l,r)},p(s,r){r&4&&t!==(t=s[23].message.substr(0,ee)+"")&&Y(a,t),s[23].message.length>ee?o?o.p(s,r):(o=He(s),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},d(s){s&&(_(a),_(e),_(l)),o&&o.d(s)}}}function wt(n){let t=n[23].message+"",a;return{c(){a=G(t)},l(e){a=W(e,t)},m(e,l){A(e,a,l)},p(e,l){l&4&&t!==(t=e[23].message+"")&&Y(a,t)},d(e){e&&_(a)}}}function He(n){let t,a=n[23].message.length-ee+"",e,l,o,s;function r(){return n[17](n[23],n[25],n[26])}return{c(){t=p("button"),e=G(a),l=G(" more characters"),this.h()},l(i){t=g(i,"BUTTON",{type:!0,class:!0});var f=$(t);e=W(f,a),l=W(f," more characters"),f.forEach(_),this.h()},h(){d(t,"type","button"),d(t,"class","svelte-8fkf35")},m(i,f){A(i,t,f),u(t,e),u(t,l),o||(s=le(t,"click",r),o=!0)},p(i,f){n=i,f&4&&a!==(a=n[23].message.length-ee+"")&&Y(e,a)},d(i){i&&_(t),o=!1,s()}}}function Je(n){var P;let t,a,e,l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"",o,s,r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"",i,f,h,v,V,z="Remove log from pinned panel",J,M,F,T,j,q,D,R,y,K,te;M=new ke({props:{icon:"trash",size:"18"}});function Q(){return n[16](n[23])}let c=((P=n[23].data)==null?void 0:P.url)&&ze(n);const I=[bt,kt],m=[];function w(b,S){return b[24]?0:1}return q=w(n),D=m[q]=I[q](n),{c(){t=p("li"),a=p("div"),e=p("time"),o=G(l),s=L(),i=G(r),h=L(),v=p("button"),V=p("span"),V.textContent=z,J=L(),ie(M.$$.fragment),F=L(),c&&c.c(),T=L(),j=p("div"),D.c(),R=L(),this.h()},l(b){t=g(b,"LI",{class:!0});var S=$(t);a=g(S,"DIV",{class:!0});var k=$(a);e=g(k,"TIME",{class:!0,datetime:!0});var U=$(e);o=W(U,l),s=C(U),i=W(U,r),U.forEach(_),h=C(k),v=g(k,"BUTTON",{type:!0,title:!0,class:!0});var N=$(v);V=g(N,"SPAN",{class:!0,"data-svelte-h":!0}),ne(V)!=="svelte-flzfhp"&&(V.textContent=z),J=C(N),fe(M.$$.fragment,N),N.forEach(_),k.forEach(_),F=C(S),c&&c.l(S),T=C(S),j=g(S,"DIV",{class:!0});var Z=$(j);D.l(Z),Z.forEach(_),R=C(S),S.forEach(_),this.h()},h(){d(e,"class","date svelte-8fkf35"),d(e,"datetime",f=n[23].created_at),d(V,"class","label"),d(v,"type","button"),d(v,"title","Remove log from pinned panel"),d(v,"class","svelte-8fkf35"),d(a,"class","info svelte-8fkf35"),d(j,"class","message svelte-8fkf35"),d(t,"class","svelte-8fkf35")},m(b,S){A(b,t,S),u(t,a),u(a,e),u(e,o),u(e,s),u(e,i),u(a,h),u(a,v),u(v,V),u(v,J),ue(M,v,null),u(t,F),c&&c.m(t,null),u(t,T),u(t,j),m[q].m(j,null),u(t,R),y=!0,K||(te=le(v,"click",Q),K=!0)},p(b,S){var U;n=b,(!y||S&4)&&l!==(l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"")&&Y(o,l),(!y||S&4)&&r!==(r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"")&&Y(i,r),(!y||S&4&&f!==(f=n[23].created_at))&&d(e,"datetime",f),(U=n[23].data)!=null&&U.url?c?c.p(n,S):(c=ze(n),c.c(),c.m(t,T)):c&&(c.d(1),c=null);let k=q;q=w(n),q===k?m[q].p(n,S):(re(),B(m[k],1,1,()=>{m[k]=null}),oe(),D=m[q],D?D.p(n,S):(D=m[q]=I[q](n),D.c()),E(D,1),D.m(j,null))},i(b){y||(E(M.$$.fragment,b),E(D),y=!0)},o(b){B(M.$$.fragment,b),B(D),y=!1},d(b){b&&_(t),ce(M),c&&c.d(),m[q].d(),K=!1,te()}}}function Tt(n){let t,a,e,l="Clear pinned logs",o,s,r,i,f=n[2]&&qe(n);return{c(){t=p("div"),a=p("nav"),e=p("button"),e.textContent=l,o=L(),f&&f.c(),this.h()},l(h){t=g(h,"DIV",{class:!0});var v=$(t);a=g(v,"NAV",{class:!0});var V=$(a);e=g(V,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-eeid91"&&(e.textContent=l),V.forEach(_),o=C(v),f&&f.l(v),v.forEach(_),this.h()},h(){d(e,"type","button"),d(e,"class","button svelte-8fkf35"),d(a,"class","asideNav svelte-8fkf35"),d(t,"class","pins svelte-8fkf35")},m(h,v){A(h,t,v),u(t,a),u(a,e),u(t,o),f&&f.m(t,null),s=!0,r||(i=le(e,"click",n[15]),r=!0)},p(h,v){h[2]?f?(f.p(h,v),v&4&&E(f,1)):(f=qe(h),f.c(),E(f,1),f.m(t,null)):f&&(re(),B(f,1,1,()=>{f=null}),oe())},i(h){s||(E(f),s=!0)},o(h){B(f),s=!1},d(h){h&&_(t),f&&f.d(),r=!1,i()}}}function Et(n){var S;let t,a,e,l,o,s,r,i="Filter:",f,h,v,V,z,J,M="Clear screen",F,T,j,q="Toggle pinned logs panel",D,R,y,K,te,Q,c,I;Ce.title=t="Logs"+((S=n[4].online)!=null&&S.MPKIT_URL?": "+n[4].online.MPKIT_URL.replace("https://",""):"");let m=n[1]&&Oe(n);R=new ke({props:{icon:"pin"}});let w=n[4].logs.logs&&Be(n),P=!n[1]&&je(),b=n[3]&&Re(n);return{c(){a=L(),e=p("div"),l=p("section"),o=p("nav"),s=p("form"),r=p("label"),r.textContent=i,f=L(),h=p("input"),v=L(),m&&m.c(),V=L(),z=p("div"),J=p("button"),J.textContent=M,F=L(),T=p("button"),j=p("span"),j.textContent=q,D=L(),ie(R.$$.fragment),y=L(),w&&w.c(),K=L(),P&&P.c(),te=L(),b&&b.c(),this.h()},l(k){xe("svelte-dfdkqr",Ce.head).forEach(_),a=C(k),e=g(k,"DIV",{class:!0});var N=$(e);l=g(N,"SECTION",{class:!0});var Z=$(l);o=g(Z,"NAV",{class:!0});var de=$(o);s=g(de,"FORM",{});var se=$(s);r=g(se,"LABEL",{for:!0,"data-svelte-h":!0}),ne(r)!=="svelte-kf6j7o"&&(r.textContent=i),f=C(se),h=g(se,"INPUT",{type:!0,id:!0,class:!0}),v=C(se),m&&m.l(se),se.forEach(_),V=C(de),z=g(de,"DIV",{class:!0});var x=$(z);J=g(x,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),ne(J)!=="svelte-1hlqgjb"&&(J.textContent=M),F=C(x),T=g(x,"BUTTON",{type:!0,title:!0,class:!0});var _e=$(T);j=g(_e,"SPAN",{class:!0,"data-svelte-h":!0}),ne(j)!=="svelte-1o6petk"&&(j.textContent=q),D=C(_e),fe(R.$$.fragment,_e),_e.forEach(_),x.forEach(_),de.forEach(_),y=C(Z),w&&w.l(Z),K=C(Z),P&&P.l(Z),Z.forEach(_),te=C(N),b&&b.l(N),N.forEach(_),this.h()},h(){d(r,"for","filter"),d(h,"type","text"),d(h,"id","filter"),d(h,"class","svelte-8fkf35"),d(J,"type","button"),d(J,"class","button"),d(j,"class","label"),d(T,"type","button"),d(T,"title","Toggle pinned logs panel"),d(T,"class","button"),d(z,"class","svelte-8fkf35"),d(o,"class","svelte-8fkf35"),d(l,"class","logs svelte-8fkf35"),d(e,"class","container svelte-8fkf35")},m(k,U){A(k,a,U),A(k,e,U),u(e,l),u(l,o),u(o,s),u(s,r),u(s,f),u(s,h),Ne(h,n[1]),u(s,v),m&&m.m(s,null),u(o,V),u(o,z),u(z,J),u(z,F),u(z,T),u(T,j),u(T,D),ue(R,T,null),u(l,y),w&&w.m(l,null),u(l,K),P&&P.m(l,null),u(e,te),b&&b.m(e,null),n[18](e),Q=!0,c||(I=[le(h,"input",n[8]),le(J,"click",n[10]),le(T,"click",n[7])],c=!0)},p(k,[U]){var N;(!Q||U&16)&&t!==(t="Logs"+((N=k[4].online)!=null&&N.MPKIT_URL?": "+k[4].online.MPKIT_URL.replace("https://",""):""))&&(Ce.title=t),U&2&&h.value!==k[1]&&Ne(h,k[1]),k[1]?m?(m.p(k,U),U&2&&E(m,1)):(m=Oe(k),m.c(),E(m,1),m.m(s,null)):m&&(re(),B(m,1,1,()=>{m=null}),oe()),k[4].logs.logs?w?(w.p(k,U),U&16&&E(w,1)):(w=Be(k),w.c(),E(w,1),w.m(l,K)):w&&(re(),B(w,1,1,()=>{w=null}),oe()),k[1]?P&&(P.d(1),P=null):P||(P=je(),P.c(),P.m(l,null)),k[3]?b?(b.p(k,U),U&8&&E(b,1)):(b=Re(k),b.c(),E(b,1),b.m(e,null)):b&&(re(),B(b,1,1,()=>{b=null}),oe())},i(k){Q||(E(m),E(R.$$.fragment,k),E(w),E(b),Q=!0)},o(k){B(m),B(R.$$.fragment,k),B(w),B(b),Q=!1},d(k){k&&(_(a),_(e)),m&&m.d(),ce(R),w&&w.d(),P&&P.d(),b&&b.d(),n[18](null),c=!1,Ke(I)}}}let ee=262144;function Lt(n,t,a){let e;et(n,pe,c=>a(4,e=c));let l,o="",s=[],r,i;tt(()=>(f(),V(),i=setInterval(()=>{document.visibilityState!=="hidden"&&f()},3e3),()=>clearInterval(i)));const f=async()=>{var m,w,P;const c=((w=(m=e.logs.logs)==null?void 0:m.at(-1))==null?void 0:w.id)??null,I=await ht.get({last:c});c?(P=I.logs)!=null&&P.length&&(ge(pe,e.logs.logs=[...e.logs.logs,...I.logs],e),e.logs.downloaded_at.push(Date.now()),e.logs.downloaded_at.length>2&&e.logs.downloaded_at.splice(0,1)):e.logs.logs||(ge(pe,e.logs=I,e),e.logs.downloaded_at||ge(pe,e.logs.downloaded_at=[Date.now()],e))},h=c=>c.hidden===!0||c.error_type.toLowerCase().indexOf(o)===-1&&c.message.toLowerCase().indexOf(o)===-1;let v=!1;lt(()=>{{const c=document.querySelector(".logs");c&&Math.abs(c.scrollHeight-c.scrollTop-c.clientHeight)<10&&(v=!1)}}),st(async()=>{var c;v||(await ot(),document.querySelector("footer").scrollIntoView(),(c=e.logs.logs)!=null&&c.length&&(v=!0))});const V=()=>{a(3,r=localStorage.pinnedPanel==="true"),a(2,s=localStorage.pinnedLogs?JSON.parse(localStorage.pinnedLogs):[])},z=c=>{s.find(I=>I.id===c.id)?a(2,s=s.filter(I=>I.id!==c.id)):a(2,s=[...s,c]),localStorage.pinnedLogs=JSON.stringify(s)},J=()=>{r?(a(3,r=!1),localStorage.pinnedPanel=!1):(a(3,r=!0),localStorage.pinnedPanel=!0)};function M(){o=this.value,a(1,o)}const F=()=>a(1,o=""),T=()=>e.logs.logs.forEach((c,I)=>ge(pe,e.logs.logs[I].hidden=!0,e)),j=(c,I,m)=>ge(pe,I[m].showFull=!0,e),q=(c,I)=>navigator.clipboard.writeText(c.message).then(()=>{I.target.classList.add("confirmation"),setTimeout(()=>I.target.classList.remove("confirmation"),1e3)}),D=c=>z(c),R=(c,I)=>I.id===c.id,y=()=>{localStorage.pinnedLogs=[],a(2,s=[])},K=c=>z(c),te=(c,I,m)=>a(2,I[m].showFull=!0,s);function Q(c){rt[c?"unshift":"push"](()=>{l=c,a(0,l)})}return[l,o,s,r,e,h,z,J,M,F,T,j,q,D,R,y,K,te,Q]}class At extends it{constructor(t){super(),ft(this,t,Lt,Et,Ze,{})}}export{At as component}; +import{s as Ze,a as L,e as p,p as xe,f as _,g as C,c as g,b as $,A as ne,y as d,i as V,h as u,B as Ne,C as le,r as Ke,k as et,U as tt,V as lt,W as st,n as ve,F as Ge,t as G,d as W,G as ae,J as nt,j as X,M as at,E as ge,H as ot,z as rt,v as Ee}from"../chunks/scheduler.CKQ5dLhN.js";import{S as it,i as ft,c as ie,d as fe,m as ue,t as E,a as B,e as oe,f as ce,g as re,j as ut}from"../chunks/index.CGVWAVV-.js";import{g as ct}from"../chunks/globals.D0QH3NT1.js";import{e as Le}from"../chunks/each.BWzj3zy9.js";import{f as dt}from"../chunks/index.WWWgbq8H.js";import{s as pe}from"../chunks/state.nqMW8J5l.js";import{t as We}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{J as Qe}from"../chunks/JSONTree.B6rnjEUC.js";import{I as ke}from"../chunks/Icon.CkKwi_WD.js";import{A as _t}from"../chunks/Aside.CzwHeuWZ.js";const ht={get:async n=>{const t=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}/api/logs`:"http://localhost:3333/api/logs",a=n.last??null;return fetch(`${t}?lastId=`+a).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>(e.logs.forEach(l=>{l.downloaded_at=Date.now()}),e)).catch(e=>({error:e}))}},{document:Ce}=ct;function Pe(n,t,a){const e=n.slice();e[23]=t[a],e[25]=t,e[26]=a;const l=e[23].message.length<262144&&We(e[23].message);return e[24]=l,e}function Ue(n,t,a){const e=n.slice();e[23]=t[a],e[27]=t,e[28]=a;const l=e[23].message.length<262144&&We(e[23].message);return e[24]=l,e}function Oe(n){let t,a,e="Clear filter",l,o,s,r,i;return o=new ke({props:{icon:"x",size:"12"}}),{c(){t=p("button"),a=p("span"),a.textContent=e,l=L(),ie(o.$$.fragment),this.h()},l(f){t=g(f,"BUTTON",{class:!0});var h=$(t);a=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),ne(a)!=="svelte-1bu6mgu"&&(a.textContent=e),l=C(h),fe(o.$$.fragment,h),h.forEach(_),this.h()},h(){d(a,"class","label svelte-8fkf35"),d(t,"class","clearFilter svelte-8fkf35")},m(f,h){V(f,t,h),u(t,a),u(t,l),ue(o,t,null),s=!0,r||(i=le(t,"click",n[9]),r=!0)},p:ve,i(f){s||(E(o.$$.fragment,f),s=!0)},o(f){B(o.$$.fragment,f),s=!1},d(f){f&&_(t),ce(o),r=!1,i()}}}function Be(n){let t,a,e=Le(n[4].logs.logs),l=[];for(let s=0;sB(l[s],1,1,()=>{l[s]=null});return{c(){t=p("table");for(let s=0;see&&Ve(n);return{c(){a=G(t),e=L(),o&&o.c(),l=Ee()},l(s){a=W(s,t),e=C(s),o&&o.l(s),l=Ee()},m(s,r){V(s,a,r),V(s,e,r),o&&o.m(s,r),V(s,l,r)},p(s,r){r&16&&t!==(t=s[23].message.substr(0,ee)+"")&&X(a,t),s[23].message.length>ee?o?o.p(s,r):(o=Ve(s),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},d(s){s&&(_(a),_(e),_(l)),o&&o.d(s)}}}function vt(n){let t=n[23].message+"",a;return{c(){a=G(t)},l(e){a=W(e,t)},m(e,l){V(e,a,l)},p(e,l){l&16&&t!==(t=e[23].message+"")&&X(a,t)},d(e){e&&_(a)}}}function Ve(n){let t,a,e=n[23].message.length-ee+"",l,o,s,r;function i(){return n[11](n[23],n[27],n[28])}return{c(){t=p("div"),a=p("button"),l=G(e),o=G(" more characters"),this.h()},l(f){t=g(f,"DIV",{class:!0});var h=$(t);a=g(h,"BUTTON",{type:!0,class:!0});var v=$(a);l=W(v,e),o=W(v," more characters"),v.forEach(_),h.forEach(_),this.h()},h(){d(a,"type","button"),d(a,"class","svelte-8fkf35"),d(t,"class","longStringInfo svelte-8fkf35")},m(f,h){V(f,t,h),u(t,a),u(a,l),u(a,o),s||(r=le(a,"click",i),s=!0)},p(f,h){n=f,h&16&&e!==(e=n[23].message.length-ee+"")&&X(l,e)},d(f){f&&_(t),s=!1,r()}}}function Ae(n){let t,a,e,l=n[23].data.url+"",o,s,r=n[23].data.user&&Me(n);return{c(){t=p("ul"),a=p("li"),e=G("Page: "),o=G(l),s=L(),r&&r.c(),this.h()},l(i){t=g(i,"UL",{class:!0});var f=$(t);a=g(f,"LI",{});var h=$(a);e=W(h,"Page: "),o=W(h,l),h.forEach(_),s=C(f),r&&r.l(f),f.forEach(_),this.h()},h(){d(t,"class","info svelte-8fkf35")},m(i,f){V(i,t,f),u(t,a),u(a,e),u(a,o),u(t,s),r&&r.m(t,null)},p(i,f){f&16&&l!==(l=i[23].data.url+"")&&X(o,l),i[23].data.user?r?r.p(i,f):(r=Me(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&_(t),r&&r.d()}}}function Me(n){let t,a,e,l=n[23].data.user.id+"",o,s;return{c(){t=p("li"),a=G("User ID: "),e=p("a"),o=G(l),this.h()},l(r){t=g(r,"LI",{});var i=$(t);a=W(i,"User ID: "),e=g(i,"A",{href:!0,class:!0});var f=$(e);o=W(f,l),f.forEach(_),i.forEach(_),this.h()},h(){d(e,"href",s="/users/"+n[23].data.user.id),d(e,"class","svelte-8fkf35")},m(r,i){V(r,t,i),u(t,a),u(t,e),u(e,o)},p(r,i){i&16&&l!==(l=r[23].data.user.id+"")&&X(o,l),i&16&&s!==(s="/users/"+r[23].data.user.id)&&d(e,"href",s)},d(r){r&&_(t)}}}function Fe(n){var Se;let t,a,e,l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"",o,s,r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"",i,f,h,v,M=n[23].error_type+"",z,H,A,F,T,j,q,D,R,y,K,te="Copy message",Y,c,I,m,w,P="Pin this log",b,S,k,U,N,Z,de;const se=[pt,mt],x=[];function _e(J,O){return J[24]?0:1}F=_e(n),T=x[F]=se[F](n);let Q=((Se=n[23].data)==null?void 0:Se.url)&&Ae(n);c=new ke({props:{icon:"copy"}});function Xe(...J){return n[12](n[23],...J)}S=new ke({props:{icon:"pin"}});function Ye(){return n[13](n[23])}function Ie(...J){return n[14](n[23],...J)}return{c(){t=p("tr"),a=p("td"),e=p("time"),o=G(l),s=L(),i=G(r),h=L(),v=p("td"),z=G(M),H=L(),A=p("td"),T.c(),j=L(),Q&&Q.c(),q=L(),D=p("td"),R=p("div"),y=p("button"),K=p("span"),K.textContent=te,Y=L(),ie(c.$$.fragment),I=L(),m=p("button"),w=p("span"),w.textContent=P,b=L(),ie(S.$$.fragment),k=L(),this.h()},l(J){t=g(J,"TR",{class:!0});var O=$(t);a=g(O,"TD",{class:!0});var me=$(a);e=g(me,"TIME",{datetime:!0,class:!0});var he=$(e);o=W(he,l),s=C(he),i=W(he,r),he.forEach(_),me.forEach(_),h=C(O),v=g(O,"TD",{class:!0});var De=$(v);z=W(De,M),De.forEach(_),H=C(O),A=g(O,"TD",{class:!0});var be=$(A);T.l(be),j=C(be),Q&&Q.l(be),be.forEach(_),q=C(O),D=g(O,"TD",{class:!0});var ye=$(D);R=g(ye,"DIV",{class:!0});var $e=$(R);y=g($e,"BUTTON",{type:!0,class:!0,title:!0});var we=$(y);K=g(we,"SPAN",{class:!0,"data-svelte-h":!0}),ne(K)!=="svelte-1qjln59"&&(K.textContent=te),Y=C(we),fe(c.$$.fragment,we),we.forEach(_),I=C($e),m=g($e,"BUTTON",{type:!0,class:!0,title:!0});var Te=$(m);w=g(Te,"SPAN",{class:!0,"data-svelte-h":!0}),ne(w)!=="svelte-yzd8i4"&&(w.textContent=P),b=C(Te),fe(S.$$.fragment,Te),Te.forEach(_),$e.forEach(_),ye.forEach(_),k=C(O),O.forEach(_),this.h()},h(){d(e,"datetime",f=n[23].created_at),d(e,"class","svelte-8fkf35"),d(a,"class","date svelte-8fkf35"),d(v,"class","logType svelte-8fkf35"),d(A,"class","message svelte-8fkf35"),d(K,"class","label"),d(y,"type","button"),d(y,"class","button svelte-8fkf35"),d(y,"title","Copy message"),d(w,"class","label"),d(m,"type","button"),d(m,"class","button svelte-8fkf35"),d(m,"title","Pin this log"),ae(m,"active",n[2].find(Ie)),d(R,"class","svelte-8fkf35"),d(D,"class","actions svelte-8fkf35"),d(t,"class","svelte-8fkf35"),ae(t,"hidden",n[1]&&n[5](n[23])||n[23].hidden),ae(t,"error",n[23].error_type.match(/error/i)),ae(t,"fresh",n[23].downloaded_at>n[4].logs.downloaded_at[0])},m(J,O){V(J,t,O),u(t,a),u(a,e),u(e,o),u(e,s),u(e,i),u(t,h),u(t,v),u(v,z),u(t,H),u(t,A),x[F].m(A,null),u(A,j),Q&&Q.m(A,null),u(t,q),u(t,D),u(D,R),u(R,y),u(y,K),u(y,Y),ue(c,y,null),u(R,I),u(R,m),u(m,w),u(m,b),ue(S,m,null),u(t,k),N=!0,Z||(de=[le(y,"click",Xe),le(m,"click",nt(Ye))],Z=!0)},p(J,O){var he;n=J,(!N||O&16)&&l!==(l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"")&&X(o,l),(!N||O&16)&&r!==(r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"")&&X(i,r),(!N||O&16&&f!==(f=n[23].created_at))&&d(e,"datetime",f),(!N||O&16)&&M!==(M=n[23].error_type+"")&&X(z,M);let me=F;F=_e(n),F===me?x[F].p(n,O):(re(),B(x[me],1,1,()=>{x[me]=null}),oe(),T=x[F],T?T.p(n,O):(T=x[F]=se[F](n),T.c()),E(T,1),T.m(A,j)),(he=n[23].data)!=null&&he.url?Q?Q.p(n,O):(Q=Ae(n),Q.c(),Q.m(A,null)):Q&&(Q.d(1),Q=null),(!N||O&20)&&ae(m,"active",n[2].find(Ie)),(!N||O&50)&&ae(t,"hidden",n[1]&&n[5](n[23])||n[23].hidden),(!N||O&16)&&ae(t,"error",n[23].error_type.match(/error/i)),(!N||O&16)&&ae(t,"fresh",n[23].downloaded_at>n[4].logs.downloaded_at[0])},i(J){N||(E(T),E(c.$$.fragment,J),E(S.$$.fragment,J),J&&(U||at(()=>{U=ut(t,dt,{duration:200}),U.start()})),N=!0)},o(J){B(T),B(c.$$.fragment,J),B(S.$$.fragment,J),N=!1},d(J){J&&_(t),x[F].d(),Q&&Q.d(),ce(c),ce(S),Z=!1,Ke(de)}}}function je(n){let t,a="No newer logs to show
Checking every 3 seconds";return{c(){t=p("footer"),t.innerHTML=a,this.h()},l(e){t=g(e,"FOOTER",{class:!0,"data-svelte-h":!0}),ne(t)!=="svelte-akhvzo"&&(t.innerHTML=a),this.h()},h(){d(t,"class","svelte-8fkf35")},m(e,l){V(e,t,l)},d(e){e&&_(t)}}}function Re(n){let t,a;return t=new _t({props:{$$slots:{default:[Tt]},$$scope:{ctx:n}}}),{c(){ie(t.$$.fragment)},l(e){fe(t.$$.fragment,e)},m(e,l){ue(t,e,l),a=!0},p(e,l){const o={};l&536870916&&(o.$$scope={dirty:l,ctx:e}),t.$set(o)},i(e){a||(E(t.$$.fragment,e),a=!0)},o(e){B(t.$$.fragment,e),a=!1},d(e){ce(t,e)}}}function qe(n){let t,a,e=Le(n[2]),l=[];for(let s=0;sB(l[s],1,1,()=>{l[s]=null});return{c(){t=p("ul");for(let s=0;see&&Je(n);return{c(){a=G(t),e=L(),o&&o.c(),l=Ee()},l(s){a=W(s,t),e=C(s),o&&o.l(s),l=Ee()},m(s,r){V(s,a,r),V(s,e,r),o&&o.m(s,r),V(s,l,r)},p(s,r){r&4&&t!==(t=s[23].message.substr(0,ee)+"")&&X(a,t),s[23].message.length>ee?o?o.p(s,r):(o=Je(s),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},d(s){s&&(_(a),_(e),_(l)),o&&o.d(s)}}}function wt(n){let t=n[23].message+"",a;return{c(){a=G(t)},l(e){a=W(e,t)},m(e,l){V(e,a,l)},p(e,l){l&4&&t!==(t=e[23].message+"")&&X(a,t)},d(e){e&&_(a)}}}function Je(n){let t,a=n[23].message.length-ee+"",e,l,o,s;function r(){return n[17](n[23],n[25],n[26])}return{c(){t=p("button"),e=G(a),l=G(" more characters"),this.h()},l(i){t=g(i,"BUTTON",{type:!0,class:!0});var f=$(t);e=W(f,a),l=W(f," more characters"),f.forEach(_),this.h()},h(){d(t,"type","button"),d(t,"class","svelte-8fkf35")},m(i,f){V(i,t,f),u(t,e),u(t,l),o||(s=le(t,"click",r),o=!0)},p(i,f){n=i,f&4&&a!==(a=n[23].message.length-ee+"")&&X(e,a)},d(i){i&&_(t),o=!1,s()}}}function He(n){var P;let t,a,e,l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"",o,s,r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"",i,f,h,v,M,z="Remove log from pinned panel",H,A,F,T,j,q,D,R,y,K,te;A=new ke({props:{icon:"trash",size:"18"}});function Y(){return n[16](n[23])}let c=((P=n[23].data)==null?void 0:P.url)&&ze(n);const I=[bt,kt],m=[];function w(b,S){return b[24]?0:1}return q=w(n),D=m[q]=I[q](n),{c(){t=p("li"),a=p("div"),e=p("time"),o=G(l),s=L(),i=G(r),h=L(),v=p("button"),M=p("span"),M.textContent=z,H=L(),ie(A.$$.fragment),F=L(),c&&c.c(),T=L(),j=p("div"),D.c(),R=L(),this.h()},l(b){t=g(b,"LI",{class:!0});var S=$(t);a=g(S,"DIV",{class:!0});var k=$(a);e=g(k,"TIME",{class:!0,datetime:!0});var U=$(e);o=W(U,l),s=C(U),i=W(U,r),U.forEach(_),h=C(k),v=g(k,"BUTTON",{type:!0,title:!0,class:!0});var N=$(v);M=g(N,"SPAN",{class:!0,"data-svelte-h":!0}),ne(M)!=="svelte-flzfhp"&&(M.textContent=z),H=C(N),fe(A.$$.fragment,N),N.forEach(_),k.forEach(_),F=C(S),c&&c.l(S),T=C(S),j=g(S,"DIV",{class:!0});var Z=$(j);D.l(Z),Z.forEach(_),R=C(S),S.forEach(_),this.h()},h(){d(e,"class","date svelte-8fkf35"),d(e,"datetime",f=n[23].created_at),d(M,"class","label"),d(v,"type","button"),d(v,"title","Remove log from pinned panel"),d(v,"class","svelte-8fkf35"),d(a,"class","info svelte-8fkf35"),d(j,"class","message svelte-8fkf35"),d(t,"class","svelte-8fkf35")},m(b,S){V(b,t,S),u(t,a),u(a,e),u(e,o),u(e,s),u(e,i),u(a,h),u(a,v),u(v,M),u(v,H),ue(A,v,null),u(t,F),c&&c.m(t,null),u(t,T),u(t,j),m[q].m(j,null),u(t,R),y=!0,K||(te=le(v,"click",Y),K=!0)},p(b,S){var U;n=b,(!y||S&4)&&l!==(l=new Date(n[23].created_at).toLocaleDateString(void 0,{})+"")&&X(o,l),(!y||S&4)&&r!==(r=new Date(n[23].created_at).toLocaleTimeString(void 0,{})+"")&&X(i,r),(!y||S&4&&f!==(f=n[23].created_at))&&d(e,"datetime",f),(U=n[23].data)!=null&&U.url?c?c.p(n,S):(c=ze(n),c.c(),c.m(t,T)):c&&(c.d(1),c=null);let k=q;q=w(n),q===k?m[q].p(n,S):(re(),B(m[k],1,1,()=>{m[k]=null}),oe(),D=m[q],D?D.p(n,S):(D=m[q]=I[q](n),D.c()),E(D,1),D.m(j,null))},i(b){y||(E(A.$$.fragment,b),E(D),y=!0)},o(b){B(A.$$.fragment,b),B(D),y=!1},d(b){b&&_(t),ce(A),c&&c.d(),m[q].d(),K=!1,te()}}}function Tt(n){let t,a,e,l="Clear pinned logs",o,s,r,i,f=n[2]&&qe(n);return{c(){t=p("div"),a=p("nav"),e=p("button"),e.textContent=l,o=L(),f&&f.c(),this.h()},l(h){t=g(h,"DIV",{class:!0});var v=$(t);a=g(v,"NAV",{class:!0});var M=$(a);e=g(M,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-eeid91"&&(e.textContent=l),M.forEach(_),o=C(v),f&&f.l(v),v.forEach(_),this.h()},h(){d(e,"type","button"),d(e,"class","button svelte-8fkf35"),d(a,"class","asideNav svelte-8fkf35"),d(t,"class","pins svelte-8fkf35")},m(h,v){V(h,t,v),u(t,a),u(a,e),u(t,o),f&&f.m(t,null),s=!0,r||(i=le(e,"click",n[15]),r=!0)},p(h,v){h[2]?f?(f.p(h,v),v&4&&E(f,1)):(f=qe(h),f.c(),E(f,1),f.m(t,null)):f&&(re(),B(f,1,1,()=>{f=null}),oe())},i(h){s||(E(f),s=!0)},o(h){B(f),s=!1},d(h){h&&_(t),f&&f.d(),r=!1,i()}}}function Et(n){var S;let t,a,e,l,o,s,r,i="Filter:",f,h,v,M,z,H,A="Clear screen",F,T,j,q="Toggle pinned logs panel",D,R,y,K,te,Y,c,I;Ce.title=t="Logs"+((S=n[4].online)!=null&&S.MPKIT_URL?": "+n[4].online.MPKIT_URL.replace("https://",""):"");let m=n[1]&&Oe(n);R=new ke({props:{icon:"pin"}});let w=n[4].logs.logs&&Be(n),P=!n[1]&&je(),b=n[3]&&Re(n);return{c(){a=L(),e=p("div"),l=p("section"),o=p("nav"),s=p("form"),r=p("label"),r.textContent=i,f=L(),h=p("input"),v=L(),m&&m.c(),M=L(),z=p("div"),H=p("button"),H.textContent=A,F=L(),T=p("button"),j=p("span"),j.textContent=q,D=L(),ie(R.$$.fragment),y=L(),w&&w.c(),K=L(),P&&P.c(),te=L(),b&&b.c(),this.h()},l(k){xe("svelte-dfdkqr",Ce.head).forEach(_),a=C(k),e=g(k,"DIV",{class:!0});var N=$(e);l=g(N,"SECTION",{class:!0});var Z=$(l);o=g(Z,"NAV",{class:!0});var de=$(o);s=g(de,"FORM",{});var se=$(s);r=g(se,"LABEL",{for:!0,"data-svelte-h":!0}),ne(r)!=="svelte-kf6j7o"&&(r.textContent=i),f=C(se),h=g(se,"INPUT",{type:!0,id:!0,class:!0}),v=C(se),m&&m.l(se),se.forEach(_),M=C(de),z=g(de,"DIV",{class:!0});var x=$(z);H=g(x,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),ne(H)!=="svelte-1hlqgjb"&&(H.textContent=A),F=C(x),T=g(x,"BUTTON",{type:!0,title:!0,class:!0});var _e=$(T);j=g(_e,"SPAN",{class:!0,"data-svelte-h":!0}),ne(j)!=="svelte-1o6petk"&&(j.textContent=q),D=C(_e),fe(R.$$.fragment,_e),_e.forEach(_),x.forEach(_),de.forEach(_),y=C(Z),w&&w.l(Z),K=C(Z),P&&P.l(Z),Z.forEach(_),te=C(N),b&&b.l(N),N.forEach(_),this.h()},h(){d(r,"for","filter"),d(h,"type","text"),d(h,"id","filter"),d(h,"class","svelte-8fkf35"),d(H,"type","button"),d(H,"class","button"),d(j,"class","label"),d(T,"type","button"),d(T,"title","Toggle pinned logs panel"),d(T,"class","button"),d(z,"class","svelte-8fkf35"),d(o,"class","svelte-8fkf35"),d(l,"class","logs svelte-8fkf35"),d(e,"class","container svelte-8fkf35")},m(k,U){V(k,a,U),V(k,e,U),u(e,l),u(l,o),u(o,s),u(s,r),u(s,f),u(s,h),Ne(h,n[1]),u(s,v),m&&m.m(s,null),u(o,M),u(o,z),u(z,H),u(z,F),u(z,T),u(T,j),u(T,D),ue(R,T,null),u(l,y),w&&w.m(l,null),u(l,K),P&&P.m(l,null),u(e,te),b&&b.m(e,null),n[18](e),Y=!0,c||(I=[le(h,"input",n[8]),le(H,"click",n[10]),le(T,"click",n[7])],c=!0)},p(k,[U]){var N;(!Y||U&16)&&t!==(t="Logs"+((N=k[4].online)!=null&&N.MPKIT_URL?": "+k[4].online.MPKIT_URL.replace("https://",""):""))&&(Ce.title=t),U&2&&h.value!==k[1]&&Ne(h,k[1]),k[1]?m?(m.p(k,U),U&2&&E(m,1)):(m=Oe(k),m.c(),E(m,1),m.m(s,null)):m&&(re(),B(m,1,1,()=>{m=null}),oe()),k[4].logs.logs?w?(w.p(k,U),U&16&&E(w,1)):(w=Be(k),w.c(),E(w,1),w.m(l,K)):w&&(re(),B(w,1,1,()=>{w=null}),oe()),k[1]?P&&(P.d(1),P=null):P||(P=je(),P.c(),P.m(l,null)),k[3]?b?(b.p(k,U),U&8&&E(b,1)):(b=Re(k),b.c(),E(b,1),b.m(e,null)):b&&(re(),B(b,1,1,()=>{b=null}),oe())},i(k){Y||(E(m),E(R.$$.fragment,k),E(w),E(b),Y=!0)},o(k){B(m),B(R.$$.fragment,k),B(w),B(b),Y=!1},d(k){k&&(_(a),_(e)),m&&m.d(),ce(R),w&&w.d(),P&&P.d(),b&&b.d(),n[18](null),c=!1,Ke(I)}}}let ee=262144;function Lt(n,t,a){let e;et(n,pe,c=>a(4,e=c));let l,o="",s=[],r,i;tt(()=>(f(),M(),i=setInterval(()=>{document.visibilityState!=="hidden"&&f()},3e3),()=>clearInterval(i)));const f=async()=>{var m,w,P;const c=((w=(m=e.logs.logs)==null?void 0:m.at(-1))==null?void 0:w.id)??null,I=await ht.get({last:c});c?(P=I.logs)!=null&&P.length&&(ge(pe,e.logs.logs=[...e.logs.logs,...I.logs],e),e.logs.downloaded_at.push(Date.now()),e.logs.downloaded_at.length>2&&e.logs.downloaded_at.splice(0,1)):e.logs.logs||(ge(pe,e.logs=I,e),e.logs.downloaded_at||ge(pe,e.logs.downloaded_at=[Date.now()],e))},h=c=>c.hidden===!0||c.error_type.toLowerCase().indexOf(o)===-1&&c.message.toLowerCase().indexOf(o)===-1;let v=!1;lt(()=>{{const c=document.querySelector(".logs");c&&Math.abs(c.scrollHeight-c.scrollTop-c.clientHeight)<10&&(v=!1)}}),st(async()=>{var c;v||(await ot(),document.querySelector("footer").scrollIntoView(),(c=e.logs.logs)!=null&&c.length&&(v=!0))});const M=()=>{a(3,r=localStorage.pinnedPanel==="true"),a(2,s=localStorage.pinnedLogs?JSON.parse(localStorage.pinnedLogs):[])},z=c=>{s.find(I=>I.id===c.id)?a(2,s=s.filter(I=>I.id!==c.id)):a(2,s=[...s,c]),localStorage.pinnedLogs=JSON.stringify(s)},H=()=>{r?(a(3,r=!1),localStorage.pinnedPanel=!1):(a(3,r=!0),localStorage.pinnedPanel=!0)};function A(){o=this.value,a(1,o)}const F=()=>a(1,o=""),T=()=>e.logs.logs.forEach((c,I)=>ge(pe,e.logs.logs[I].hidden=!0,e)),j=(c,I,m)=>ge(pe,I[m].showFull=!0,e),q=(c,I)=>navigator.clipboard.writeText(c.message).then(()=>{I.target.classList.add("confirmation"),setTimeout(()=>I.target.classList.remove("confirmation"),1e3)}),D=c=>z(c),R=(c,I)=>I.id===c.id,y=()=>{localStorage.pinnedLogs=[],a(2,s=[])},K=c=>z(c),te=(c,I,m)=>a(2,I[m].showFull=!0,s);function Y(c){rt[c?"unshift":"push"](()=>{l=c,a(0,l)})}return[l,o,s,r,e,h,z,H,A,F,T,j,q,D,R,y,K,te,Y]}class Vt extends it{constructor(t){super(),ft(this,t,Lt,Et,Ze,{})}}export{Vt as component}; diff --git a/gui/next/build/_app/immutable/nodes/16.B4CVDEiO.js b/gui/next/build/_app/immutable/nodes/16.B4CVDEiO.js deleted file mode 100644 index c15ac2ea..00000000 --- a/gui/next/build/_app/immutable/nodes/16.B4CVDEiO.js +++ /dev/null @@ -1 +0,0 @@ -import{s}from"../chunks/scheduler.ts1nwYMk.js";import{S as t,i as e}from"../chunks/index.MbwxngTa.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/16.BOVZRVUg.js b/gui/next/build/_app/immutable/nodes/16.BOVZRVUg.js new file mode 100644 index 00000000..42ac7c16 --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/16.BOVZRVUg.js @@ -0,0 +1 @@ +import{s}from"../chunks/scheduler.CKQ5dLhN.js";import{S as t,i as e}from"../chunks/index.CGVWAVV-.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/17.CoMZbpsD.js b/gui/next/build/_app/immutable/nodes/17.CkW4N9sZ.js similarity index 92% rename from gui/next/build/_app/immutable/nodes/17.CoMZbpsD.js rename to gui/next/build/_app/immutable/nodes/17.CkW4N9sZ.js index da66b1de..cc8327a7 100644 --- a/gui/next/build/_app/immutable/nodes/17.CoMZbpsD.js +++ b/gui/next/build/_app/immutable/nodes/17.CkW4N9sZ.js @@ -1 +1 @@ -import{s as ae,e as v,a as V,c as b,b as L,g as K,A as U,f as g,y as h,G as A,i as T,h as k,C as ne,p as ie,a2 as ce,k as Z,t as O,v as x,d as F,j as H,n as ee,E as te}from"../chunks/scheduler.ts1nwYMk.js";import{S as oe,i as re,c as I,d as N,m as q,t as $,a as C,f as z,g as B,e as G}from"../chunks/index.MbwxngTa.js";import{p as fe}from"../chunks/stores.D3n-8z5b.js";import{l as ue}from"../chunks/logsv2.twsCDidx.js";import{s as J}from"../chunks/state.HIdUDD3F.js";import{t as me}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{A as pe}from"../chunks/Aside.FJrLQRZc.js";import{J as _e}from"../chunks/JSONTree.DHR6A5Hv.js";import{I as de}from"../chunks/Icon.Dn_EaQMz.js";function ge(r){let e,t,s,l,n="Copy",o,c,a,f;return t=new de({props:{icon:r[0]?"check":r[2]?"x":"copy",size:"16"}}),{c(){e=v("button"),I(t.$$.fragment),s=V(),l=v("span"),l.textContent=n,this.h()},l(i){e=b(i,"BUTTON",{title:!0,class:!0,"aria-disabled":!0});var _=L(e);N(t.$$.fragment,_),s=K(_),l=b(_,"SPAN",{class:!0,"data-svelte-h":!0}),U(l)!=="svelte-uxc2fm"&&(l.textContent=n),_.forEach(g),this.h()},h(){h(l,"class","label"),h(e,"title","Copy message to clipboard"),h(e,"class","button compact svelte-kur7tm"),h(e,"aria-disabled",o=r[1]||r[0]||r[2]),A(e,"progressing",r[1])},m(i,_){T(i,e,_),q(t,e,null),k(e,s),k(e,l),c=!0,a||(f=ne(e,"click",r[3]),a=!0)},p(i,[_]){const w={};_&5&&(w.icon=i[0]?"check":i[2]?"x":"copy"),t.$set(w),(!c||_&7&&o!==(o=i[1]||i[0]||i[2]))&&h(e,"aria-disabled",o),(!c||_&2)&&A(e,"progressing",i[1])},i(i){c||($(t.$$.fragment,i),c=!0)},o(i){C(t.$$.fragment,i),c=!1},d(i){i&&g(e),z(t),a=!1,f()}}}function he(r,e,t){let{text:s}=e,l=!1,n=!1,o=!1;const c=()=>{t(1,n=!0),navigator.clipboard.writeText(s.toString()).then(()=>{setTimeout(()=>{t(0,l=!0)},150),setTimeout(()=>{t(1,n=!1)},300),setTimeout(()=>{t(1,n=!0)},2300),setTimeout(()=>{t(0,l=!1)},2450),setTimeout(()=>{t(1,n=!1)},2600)}).catch(a=>{t(1,n=!1),t(2,o=!0),console.error(a)})};return r.$$set=a=>{"text"in a&&t(4,s=a.text)},[l,n,o,c,s]}class ve extends oe{constructor(e){super(),re(this,e,he,ge,ae,{text:4})}}function M(r){const e=r.slice(),t=me(e[1].logv2.message);return e[3]=t,e}function se(r){let e,t="Message:",s,l,n;return l=new ve({props:{text:r[1].logv2.message}}),{c(){e=v("dt"),e.textContent=t,s=v("dd"),I(l.$$.fragment),this.h()},l(o){e=b(o,"DT",{"data-svelte-h":!0}),U(e)!=="svelte-j9d3r1"&&(e.textContent=t),s=b(o,"DD",{class:!0});var c=L(s);N(l.$$.fragment,c),c.forEach(g),this.h()},h(){h(s,"class","svelte-2gl9bd")},m(o,c){T(o,e,c),T(o,s,c),q(l,s,null),n=!0},p(o,c){const a={};c&2&&(a.text=o[1].logv2.message),l.$set(a)},i(o){n||($(l.$$.fragment,o),n=!0)},o(o){C(l.$$.fragment,o),n=!1},d(o){o&&(g(e),g(s)),z(l)}}}function le(r){let e,t,s,l;const n=[$e,be],o=[];function c(a,f){return a[3]?0:1}return t=c(r),s=o[t]=n[t](r),{c(){e=v("div"),s.c(),this.h()},l(a){e=b(a,"DIV",{class:!0});var f=L(e);s.l(f),f.forEach(g),this.h()},h(){h(e,"class","code svelte-2gl9bd"),A(e,"json",r[3])},m(a,f){T(a,e,f),o[t].m(e,null),l=!0},p(a,f){let i=t;t=c(a),t===i?o[t].p(a,f):(B(),C(o[i],1,1,()=>{o[i]=null}),G(),s=o[t],s?s.p(a,f):(s=o[t]=n[t](a),s.c()),$(s,1),s.m(e,null)),(!l||f&2)&&A(e,"json",a[3])},i(a){l||($(s),l=!0)},o(a){C(s),l=!1},d(a){a&&g(e),o[t].d()}}}function be(r){let e=r[1].logv2.message+"",t;return{c(){t=O(e)},l(s){t=F(s,e)},m(s,l){T(s,t,l)},p(s,l){l&2&&e!==(e=s[1].logv2.message+"")&&H(t,e)},i:ee,o:ee,d(s){s&&g(t)}}}function $e(r){let e,t;return e=new _e({props:{value:r[3],showFullLines:!0}}),{c(){I(e.$$.fragment)},l(s){N(e.$$.fragment,s)},m(s,l){q(e,s,l),t=!0},p(s,l){const n={};l&2&&(n.value=s[3]),e.$set(n)},i(s){t||($(e.$$.fragment,s),t=!0)},o(s){C(e.$$.fragment,s),t=!1},d(s){z(e,s)}}}function ke(r){var Q,W,X;let e,t,s="Time:",l,n=new Date(((Q=r[1].logv2)==null?void 0:Q.options_at)/1e3).toLocaleString()+"",o,c,a="URL:",f,i,_=new URL("https://"+((W=r[1].logv2)==null?void 0:W.options_data_url)).pathname+new URL("https://"+((X=r[1].logv2)==null?void 0:X.options_data_url)).search+"",w,P,R,S,D,m=r[1].logv2.message&&se(r),p=r[1].logv2.message&&le(M(r));return{c(){e=v("dl"),t=v("dt"),t.textContent=s,l=v("dd"),o=O(n),c=v("dt"),c.textContent=a,f=v("dd"),i=v("a"),w=O(_),m&&m.c(),R=V(),p&&p.c(),S=x(),this.h()},l(u){e=b(u,"DL",{class:!0});var d=L(e);t=b(d,"DT",{"data-svelte-h":!0}),U(t)!=="svelte-toke4h"&&(t.textContent=s),l=b(d,"DD",{class:!0});var y=L(l);o=F(y,n),y.forEach(g),c=b(d,"DT",{"data-svelte-h":!0}),U(c)!=="svelte-vrqyfv"&&(c.textContent=a),f=b(d,"DD",{class:!0});var E=L(f);i=b(E,"A",{href:!0,class:!0});var j=L(i);w=F(j,_),j.forEach(g),E.forEach(g),m&&m.l(d),d.forEach(g),R=K(u),p&&p.l(u),S=x(),this.h()},h(){var u;h(l,"class","svelte-2gl9bd"),h(i,"href",P="https://"+((u=r[1].logv2)==null?void 0:u.options_data_url)),h(i,"class","svelte-2gl9bd"),h(f,"class","svelte-2gl9bd"),h(e,"class","svelte-2gl9bd")},m(u,d){T(u,e,d),k(e,t),k(e,l),k(l,o),k(e,c),k(e,f),k(f,i),k(i,w),m&&m.m(e,null),T(u,R,d),p&&p.m(u,d),T(u,S,d),D=!0},p(u,d){var y,E,j,Y;(!D||d&2)&&n!==(n=new Date(((y=u[1].logv2)==null?void 0:y.options_at)/1e3).toLocaleString()+"")&&H(o,n),(!D||d&2)&&_!==(_=new URL("https://"+((E=u[1].logv2)==null?void 0:E.options_data_url)).pathname+new URL("https://"+((j=u[1].logv2)==null?void 0:j.options_data_url)).search+"")&&H(w,_),(!D||d&2&&P!==(P="https://"+((Y=u[1].logv2)==null?void 0:Y.options_data_url)))&&h(i,"href",P),u[1].logv2.message?m?(m.p(u,d),d&2&&$(m,1)):(m=se(u),m.c(),$(m,1),m.m(e,null)):m&&(B(),C(m,1,1,()=>{m=null}),G()),u[1].logv2.message?p?(p.p(M(u),d),d&2&&$(p,1)):(p=le(M(u)),p.c(),$(p,1),p.m(S.parentNode,S)):p&&(B(),C(p,1,1,()=>{p=null}),G())},i(u){D||($(m),$(p),D=!0)},o(u){C(m),C(p),D=!1},d(u){u&&(g(e),g(R),g(S)),m&&m.d(),p&&p.d(u)}}}function Ce(r){var c;let e,t="",s,l,n,o;return n=new pe({props:{title:((c=r[1].logv2)==null?void 0:c.type)??"Loading…",closeUrl:"/logsv2?"+r[0].url.searchParams.toString(),$$slots:{default:[ke]},$$scope:{ctx:r}}}),{c(){e=v("script"),e.innerHTML=t,l=V(),I(n.$$.fragment),this.h()},l(a){const f=ie("svelte-1pgpgj4",document.head);e=b(f,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),U(e)!=="svelte-6mxszl"&&(e.innerHTML=t),f.forEach(g),l=K(a),N(n.$$.fragment,a),this.h()},h(){ce(e.src,s="/prism.js")||h(e,"src",s),h(e,"data-manual","")},m(a,f){k(document.head,e),T(a,l,f),q(n,a,f),o=!0},p(a,[f]){var _;const i={};f&2&&(i.title=((_=a[1].logv2)==null?void 0:_.type)??"Loading…"),f&1&&(i.closeUrl="/logsv2?"+a[0].url.searchParams.toString()),f&18&&(i.$$scope={dirty:f,ctx:a}),n.$set(i)},i(a){o||($(n.$$.fragment,a),o=!0)},o(a){C(n.$$.fragment,a),o=!1},d(a){a&&g(l),g(e),z(n,a)}}}function Te(r,e,t){let s,l;Z(r,fe,o=>t(0,s=o)),Z(r,J,o=>t(1,l=o));const n=async()=>{var c;const o=(c=l.logsv2.hits)==null?void 0:c.find(a=>a._timestamp==s.params.id);if(o)te(J,l.logv2=o,l);else{const a={size:1,sql:`select * from logs where _timestamp = ${s.params.id}`};await ue.get(a).then(f=>{te(J,l.logv2=f.hits[0],l)})}};return r.$$.update=()=>{r.$$.dirty&1&&s.params.id&&n()},[s,l]}class Re extends oe{constructor(e){super(),re(this,e,Te,Ce,ae,{})}}export{Re as component}; +import{s as ae,e as v,a as V,c as b,b as L,g as K,A as U,f as g,y as h,G as A,i as T,h as k,C as ne,p as ie,a0 as ce,k as Z,t as O,v as x,d as F,j as H,n as ee,E as te}from"../chunks/scheduler.CKQ5dLhN.js";import{S as oe,i as re,c as I,d as N,m as q,t as $,a as C,f as z,g as B,e as G}from"../chunks/index.CGVWAVV-.js";import{p as fe}from"../chunks/stores.BLuxmlax.js";import{l as ue}from"../chunks/logsv2.twsCDidx.js";import{s as J}from"../chunks/state.nqMW8J5l.js";import{t as me}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{A as pe}from"../chunks/Aside.CzwHeuWZ.js";import{J as _e}from"../chunks/JSONTree.B6rnjEUC.js";import{I as de}from"../chunks/Icon.CkKwi_WD.js";function ge(r){let e,t,s,l,n="Copy",o,c,a,f;return t=new de({props:{icon:r[0]?"check":r[2]?"x":"copy",size:"16"}}),{c(){e=v("button"),I(t.$$.fragment),s=V(),l=v("span"),l.textContent=n,this.h()},l(i){e=b(i,"BUTTON",{title:!0,class:!0,"aria-disabled":!0});var _=L(e);N(t.$$.fragment,_),s=K(_),l=b(_,"SPAN",{class:!0,"data-svelte-h":!0}),U(l)!=="svelte-uxc2fm"&&(l.textContent=n),_.forEach(g),this.h()},h(){h(l,"class","label"),h(e,"title","Copy message to clipboard"),h(e,"class","button compact svelte-kur7tm"),h(e,"aria-disabled",o=r[1]||r[0]||r[2]),A(e,"progressing",r[1])},m(i,_){T(i,e,_),q(t,e,null),k(e,s),k(e,l),c=!0,a||(f=ne(e,"click",r[3]),a=!0)},p(i,[_]){const w={};_&5&&(w.icon=i[0]?"check":i[2]?"x":"copy"),t.$set(w),(!c||_&7&&o!==(o=i[1]||i[0]||i[2]))&&h(e,"aria-disabled",o),(!c||_&2)&&A(e,"progressing",i[1])},i(i){c||($(t.$$.fragment,i),c=!0)},o(i){C(t.$$.fragment,i),c=!1},d(i){i&&g(e),z(t),a=!1,f()}}}function he(r,e,t){let{text:s}=e,l=!1,n=!1,o=!1;const c=()=>{t(1,n=!0),navigator.clipboard.writeText(s.toString()).then(()=>{setTimeout(()=>{t(0,l=!0)},150),setTimeout(()=>{t(1,n=!1)},300),setTimeout(()=>{t(1,n=!0)},2300),setTimeout(()=>{t(0,l=!1)},2450),setTimeout(()=>{t(1,n=!1)},2600)}).catch(a=>{t(1,n=!1),t(2,o=!0),console.error(a)})};return r.$$set=a=>{"text"in a&&t(4,s=a.text)},[l,n,o,c,s]}class ve extends oe{constructor(e){super(),re(this,e,he,ge,ae,{text:4})}}function M(r){const e=r.slice(),t=me(e[1].logv2.message);return e[3]=t,e}function se(r){let e,t="Message:",s,l,n;return l=new ve({props:{text:r[1].logv2.message}}),{c(){e=v("dt"),e.textContent=t,s=v("dd"),I(l.$$.fragment),this.h()},l(o){e=b(o,"DT",{"data-svelte-h":!0}),U(e)!=="svelte-j9d3r1"&&(e.textContent=t),s=b(o,"DD",{class:!0});var c=L(s);N(l.$$.fragment,c),c.forEach(g),this.h()},h(){h(s,"class","svelte-2gl9bd")},m(o,c){T(o,e,c),T(o,s,c),q(l,s,null),n=!0},p(o,c){const a={};c&2&&(a.text=o[1].logv2.message),l.$set(a)},i(o){n||($(l.$$.fragment,o),n=!0)},o(o){C(l.$$.fragment,o),n=!1},d(o){o&&(g(e),g(s)),z(l)}}}function le(r){let e,t,s,l;const n=[$e,be],o=[];function c(a,f){return a[3]?0:1}return t=c(r),s=o[t]=n[t](r),{c(){e=v("div"),s.c(),this.h()},l(a){e=b(a,"DIV",{class:!0});var f=L(e);s.l(f),f.forEach(g),this.h()},h(){h(e,"class","code svelte-2gl9bd"),A(e,"json",r[3])},m(a,f){T(a,e,f),o[t].m(e,null),l=!0},p(a,f){let i=t;t=c(a),t===i?o[t].p(a,f):(B(),C(o[i],1,1,()=>{o[i]=null}),G(),s=o[t],s?s.p(a,f):(s=o[t]=n[t](a),s.c()),$(s,1),s.m(e,null)),(!l||f&2)&&A(e,"json",a[3])},i(a){l||($(s),l=!0)},o(a){C(s),l=!1},d(a){a&&g(e),o[t].d()}}}function be(r){let e=r[1].logv2.message+"",t;return{c(){t=O(e)},l(s){t=F(s,e)},m(s,l){T(s,t,l)},p(s,l){l&2&&e!==(e=s[1].logv2.message+"")&&H(t,e)},i:ee,o:ee,d(s){s&&g(t)}}}function $e(r){let e,t;return e=new _e({props:{value:r[3],showFullLines:!0}}),{c(){I(e.$$.fragment)},l(s){N(e.$$.fragment,s)},m(s,l){q(e,s,l),t=!0},p(s,l){const n={};l&2&&(n.value=s[3]),e.$set(n)},i(s){t||($(e.$$.fragment,s),t=!0)},o(s){C(e.$$.fragment,s),t=!1},d(s){z(e,s)}}}function ke(r){var Q,W,X;let e,t,s="Time:",l,n=new Date(((Q=r[1].logv2)==null?void 0:Q.options_at)/1e3).toLocaleString()+"",o,c,a="URL:",f,i,_=new URL("https://"+((W=r[1].logv2)==null?void 0:W.options_data_url)).pathname+new URL("https://"+((X=r[1].logv2)==null?void 0:X.options_data_url)).search+"",w,P,R,S,D,m=r[1].logv2.message&&se(r),p=r[1].logv2.message&&le(M(r));return{c(){e=v("dl"),t=v("dt"),t.textContent=s,l=v("dd"),o=O(n),c=v("dt"),c.textContent=a,f=v("dd"),i=v("a"),w=O(_),m&&m.c(),R=V(),p&&p.c(),S=x(),this.h()},l(u){e=b(u,"DL",{class:!0});var d=L(e);t=b(d,"DT",{"data-svelte-h":!0}),U(t)!=="svelte-toke4h"&&(t.textContent=s),l=b(d,"DD",{class:!0});var y=L(l);o=F(y,n),y.forEach(g),c=b(d,"DT",{"data-svelte-h":!0}),U(c)!=="svelte-vrqyfv"&&(c.textContent=a),f=b(d,"DD",{class:!0});var E=L(f);i=b(E,"A",{href:!0,class:!0});var j=L(i);w=F(j,_),j.forEach(g),E.forEach(g),m&&m.l(d),d.forEach(g),R=K(u),p&&p.l(u),S=x(),this.h()},h(){var u;h(l,"class","svelte-2gl9bd"),h(i,"href",P="https://"+((u=r[1].logv2)==null?void 0:u.options_data_url)),h(i,"class","svelte-2gl9bd"),h(f,"class","svelte-2gl9bd"),h(e,"class","svelte-2gl9bd")},m(u,d){T(u,e,d),k(e,t),k(e,l),k(l,o),k(e,c),k(e,f),k(f,i),k(i,w),m&&m.m(e,null),T(u,R,d),p&&p.m(u,d),T(u,S,d),D=!0},p(u,d){var y,E,j,Y;(!D||d&2)&&n!==(n=new Date(((y=u[1].logv2)==null?void 0:y.options_at)/1e3).toLocaleString()+"")&&H(o,n),(!D||d&2)&&_!==(_=new URL("https://"+((E=u[1].logv2)==null?void 0:E.options_data_url)).pathname+new URL("https://"+((j=u[1].logv2)==null?void 0:j.options_data_url)).search+"")&&H(w,_),(!D||d&2&&P!==(P="https://"+((Y=u[1].logv2)==null?void 0:Y.options_data_url)))&&h(i,"href",P),u[1].logv2.message?m?(m.p(u,d),d&2&&$(m,1)):(m=se(u),m.c(),$(m,1),m.m(e,null)):m&&(B(),C(m,1,1,()=>{m=null}),G()),u[1].logv2.message?p?(p.p(M(u),d),d&2&&$(p,1)):(p=le(M(u)),p.c(),$(p,1),p.m(S.parentNode,S)):p&&(B(),C(p,1,1,()=>{p=null}),G())},i(u){D||($(m),$(p),D=!0)},o(u){C(m),C(p),D=!1},d(u){u&&(g(e),g(R),g(S)),m&&m.d(),p&&p.d(u)}}}function Ce(r){var c;let e,t="",s,l,n,o;return n=new pe({props:{title:((c=r[1].logv2)==null?void 0:c.type)??"Loading…",closeUrl:"/logsv2?"+r[0].url.searchParams.toString(),$$slots:{default:[ke]},$$scope:{ctx:r}}}),{c(){e=v("script"),e.innerHTML=t,l=V(),I(n.$$.fragment),this.h()},l(a){const f=ie("svelte-1pgpgj4",document.head);e=b(f,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),U(e)!=="svelte-6mxszl"&&(e.innerHTML=t),f.forEach(g),l=K(a),N(n.$$.fragment,a),this.h()},h(){ce(e.src,s="/prism.js")||h(e,"src",s),h(e,"data-manual","")},m(a,f){k(document.head,e),T(a,l,f),q(n,a,f),o=!0},p(a,[f]){var _;const i={};f&2&&(i.title=((_=a[1].logv2)==null?void 0:_.type)??"Loading…"),f&1&&(i.closeUrl="/logsv2?"+a[0].url.searchParams.toString()),f&18&&(i.$$scope={dirty:f,ctx:a}),n.$set(i)},i(a){o||($(n.$$.fragment,a),o=!0)},o(a){C(n.$$.fragment,a),o=!1},d(a){a&&g(l),g(e),z(n,a)}}}function Te(r,e,t){let s,l;Z(r,fe,o=>t(0,s=o)),Z(r,J,o=>t(1,l=o));const n=async()=>{var c;const o=(c=l.logsv2.hits)==null?void 0:c.find(a=>a._timestamp==s.params.id);if(o)te(J,l.logv2=o,l);else{const a={size:1,sql:`select * from logs where _timestamp = ${s.params.id}`};await ue.get(a).then(f=>{te(J,l.logv2=f.hits[0],l)})}};return r.$$.update=()=>{r.$$.dirty&1&&s.params.id&&n()},[s,l]}class Re extends oe{constructor(e){super(),re(this,e,Te,Ce,ae,{})}}export{Re as component}; diff --git a/gui/next/build/_app/immutable/nodes/18.B4CVDEiO.js b/gui/next/build/_app/immutable/nodes/18.B4CVDEiO.js deleted file mode 100644 index c15ac2ea..00000000 --- a/gui/next/build/_app/immutable/nodes/18.B4CVDEiO.js +++ /dev/null @@ -1 +0,0 @@ -import{s}from"../chunks/scheduler.ts1nwYMk.js";import{S as t,i as e}from"../chunks/index.MbwxngTa.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/18.BOVZRVUg.js b/gui/next/build/_app/immutable/nodes/18.BOVZRVUg.js new file mode 100644 index 00000000..42ac7c16 --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/18.BOVZRVUg.js @@ -0,0 +1 @@ +import{s}from"../chunks/scheduler.CKQ5dLhN.js";import{S as t,i as e}from"../chunks/index.CGVWAVV-.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/19.C0hiqF8w.js b/gui/next/build/_app/immutable/nodes/19.8Kp_zJo7.js similarity index 95% rename from gui/next/build/_app/immutable/nodes/19.C0hiqF8w.js rename to gui/next/build/_app/immutable/nodes/19.8Kp_zJo7.js index f09e74d3..7ec9fd01 100644 --- a/gui/next/build/_app/immutable/nodes/19.C0hiqF8w.js +++ b/gui/next/build/_app/immutable/nodes/19.8Kp_zJo7.js @@ -1 +1 @@ -import{s as De,k as ve,v as ke,i as qe,f as p,e as d,t as m,a as ye,c as i,b as w,A as C,d as h,g as Re,y as c,G as x,h as n,j as k,E as ge}from"../chunks/scheduler.ts1nwYMk.js";import{S as Te,i as $e,c as Pe,d as Se,m as Ee,t as Fe,a as Ne,f as Ae}from"../chunks/index.MbwxngTa.js";import{p as Le}from"../chunks/stores.D3n-8z5b.js";import{n as Ie}from"../chunks/network.hGAcGvnf.js";import{s as ne}from"../chunks/state.HIdUDD3F.js";import{A as Ue}from"../chunks/Aside.FJrLQRZc.js";const be={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Switch Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};function Ce(a){let e,o,t="Time",r,u=new Date(a[1].network._timestamp/1e3).toLocaleString()+"",f,v,y="Request path",g,b,L=a[1].network.http_request_path+"",B,O,R,re="Request method",T,I=a[1].network.http_request_method+"",V,$,le="Status",_,U=a[1].network.lb_status_code+"",K,ee,M=be[a[1].network.lb_status_code]+"",J,P,de="Client IP",S,j=a[1].network.client+"",Q,E,ie="Client user agent",F,z=a[1].network.user_agent+"",W,N,ue="Processing time",q,G=parseFloat(a[1].network.request_processing_time)+parseFloat(a[1].network.target_processing_time)+"",X,te,A,_e="Response size",D,H=parseInt(a[1].network.sent_bytes)+"",Y,se;return{c(){e=d("dl"),o=d("dt"),o.textContent=t,r=d("dd"),f=m(u),v=d("dt"),v.textContent=y,g=d("dd"),b=d("a"),B=m(L),R=d("dt"),R.textContent=re,T=d("dd"),V=m(I),$=d("dt"),$.textContent=le,_=d("dd"),K=m(U),ee=ye(),J=m(M),P=d("dt"),P.textContent=de,S=d("dd"),Q=m(j),E=d("dt"),E.textContent=ie,F=d("dd"),W=m(z),N=d("dt"),N.textContent=ue,q=d("dd"),X=m(G),te=m("s"),A=d("dt"),A.textContent=_e,D=d("dd"),Y=m(H),se=m(" bytes"),this.h()},l(l){e=i(l,"DL",{class:!0});var s=w(e);o=i(s,"DT",{"data-svelte-h":!0}),C(o)!=="svelte-k4tc9n"&&(o.textContent=t),r=i(s,"DD",{class:!0});var ce=w(r);f=h(ce,u),ce.forEach(p),v=i(s,"DT",{"data-svelte-h":!0}),C(v)!=="svelte-1j5pznm"&&(v.textContent=y),g=i(s,"DD",{class:!0});var pe=w(g);b=i(pe,"A",{href:!0,class:!0});var fe=w(b);B=h(fe,L),fe.forEach(p),pe.forEach(p),R=i(s,"DT",{"data-svelte-h":!0}),C(R)!=="svelte-1wn7isk"&&(R.textContent=re),T=i(s,"DD",{class:!0});var me=w(T);V=h(me,I),me.forEach(p),$=i(s,"DT",{"data-svelte-h":!0}),C($)!=="svelte-1e9eis"&&($.textContent=le),_=i(s,"DD",{class:!0});var Z=w(_);K=h(Z,U),ee=Re(Z),J=h(Z,M),Z.forEach(p),P=i(s,"DT",{"data-svelte-h":!0}),C(P)!=="svelte-1rrvc96"&&(P.textContent=de),S=i(s,"DD",{class:!0});var he=w(S);Q=h(he,j),he.forEach(p),E=i(s,"DT",{"data-svelte-h":!0}),C(E)!=="svelte-on2p8j"&&(E.textContent=ie),F=i(s,"DD",{class:!0});var we=w(F);W=h(we,z),we.forEach(p),N=i(s,"DT",{"data-svelte-h":!0}),C(N)!=="svelte-1wlbq2"&&(N.textContent=ue),q=i(s,"DD",{class:!0});var oe=w(q);X=h(oe,G),te=h(oe,"s"),oe.forEach(p),A=i(s,"DT",{"data-svelte-h":!0}),C(A)!=="svelte-jqr426"&&(A.textContent=_e),D=i(s,"DD",{class:!0});var ae=w(D);Y=h(ae,H),se=h(ae," bytes"),ae.forEach(p),s.forEach(p),this.h()},h(){c(r,"class","svelte-ebu0yn"),c(b,"href",O=a[1].network.http_request_url),c(b,"class","svelte-ebu0yn"),c(g,"class","svelte-ebu0yn"),c(T,"class","svelte-ebu0yn"),c(_,"class","svelte-ebu0yn"),x(_,"success",a[1].network.lb_status_code>=200&&a[1].network.lb_status_code<300),x(_,"error",a[1].network.http_request_protocol.lb_status_code>=400&&a[1].network.http_request_protocol.lb_status_code<600),c(S,"class","svelte-ebu0yn"),c(F,"class","svelte-ebu0yn"),c(q,"class","svelte-ebu0yn"),c(D,"class","svelte-ebu0yn"),c(e,"class","definitions svelte-ebu0yn")},m(l,s){qe(l,e,s),n(e,o),n(e,r),n(r,f),n(e,v),n(e,g),n(g,b),n(b,B),n(e,R),n(e,T),n(T,V),n(e,$),n(e,_),n(_,K),n(_,ee),n(_,J),n(e,P),n(e,S),n(S,Q),n(e,E),n(e,F),n(F,W),n(e,N),n(e,q),n(q,X),n(q,te),n(e,A),n(e,D),n(D,Y),n(D,se)},p(l,s){s&2&&u!==(u=new Date(l[1].network._timestamp/1e3).toLocaleString()+"")&&k(f,u),s&2&&L!==(L=l[1].network.http_request_path+"")&&k(B,L),s&2&&O!==(O=l[1].network.http_request_url)&&c(b,"href",O),s&2&&I!==(I=l[1].network.http_request_method+"")&&k(V,I),s&2&&U!==(U=l[1].network.lb_status_code+"")&&k(K,U),s&2&&M!==(M=be[l[1].network.lb_status_code]+"")&&k(J,M),s&2&&x(_,"success",l[1].network.lb_status_code>=200&&l[1].network.lb_status_code<300),s&2&&x(_,"error",l[1].network.http_request_protocol.lb_status_code>=400&&l[1].network.http_request_protocol.lb_status_code<600),s&2&&j!==(j=l[1].network.client+"")&&k(Q,j),s&2&&z!==(z=l[1].network.user_agent+"")&&k(W,z),s&2&&G!==(G=parseFloat(l[1].network.request_processing_time)+parseFloat(l[1].network.target_processing_time)+"")&&k(X,G),s&2&&H!==(H=parseInt(l[1].network.sent_bytes)+"")&&k(Y,H)},d(l){l&&p(e)}}}function Me(a){let e,o=a[1].network._timestamp&&Ce(a);return{c(){o&&o.c(),e=ke()},l(t){o&&o.l(t),e=ke()},m(t,r){o&&o.m(t,r),qe(t,e,r)},p(t,r){t[1].network._timestamp?o?o.p(t,r):(o=Ce(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},d(t){t&&p(e),o&&o.d(t)}}}function je(a){let e,o;return e=new Ue({props:{title:a[1].network.lb_status_code?`${a[1].network.http_request_method} ${a[1].network.http_request_path}`:"Loading…",closeUrl:"/network?"+a[0].url.searchParams.toString(),$$slots:{default:[Me]},$$scope:{ctx:a}}}),{c(){Pe(e.$$.fragment)},l(t){Se(e.$$.fragment,t)},m(t,r){Ee(e,t,r),o=!0},p(t,[r]){const u={};r&2&&(u.title=t[1].network.lb_status_code?`${t[1].network.http_request_method} ${t[1].network.http_request_path}`:"Loading…"),r&1&&(u.closeUrl="/network?"+t[0].url.searchParams.toString()),r&10&&(u.$$scope={dirty:r,ctx:t}),e.$set(u)},i(t){o||(Fe(e.$$.fragment,t),o=!0)},o(t){Ne(e.$$.fragment,t),o=!1},d(t){Ae(e,t)}}}function ze(a,e,o){let t,r;ve(a,Le,f=>o(0,t=f)),ve(a,ne,f=>o(1,r=f));const u=async()=>{var v;const f=(v=r.networks.hits)==null?void 0:v.find(y=>y._timestamp==t.params.id);if(f)ge(ne,r.network=f,r);else{const y={size:1,sql:`select * from requests where _timestamp = ${t.params.id}`};await Ie.get(y).then(g=>{ge(ne,r.network=g.hits[0],r)})}};return a.$$.update=()=>{a.$$.dirty&1&&t.params.id&&u()},[t,r]}class Je extends Te{constructor(e){super(),$e(this,e,ze,je,De,{})}}export{Je as component}; +import{s as De,k as ve,v as ke,i as qe,f as p,e as d,t as m,a as ye,c as i,b as w,A as C,d as h,g as Re,y as c,G as x,h as n,j as k,E as ge}from"../chunks/scheduler.CKQ5dLhN.js";import{S as Te,i as $e,c as Pe,d as Se,m as Ee,t as Fe,a as Ne,f as Ae}from"../chunks/index.CGVWAVV-.js";import{p as Le}from"../chunks/stores.BLuxmlax.js";import{n as Ie}from"../chunks/network.hGAcGvnf.js";import{s as ne}from"../chunks/state.nqMW8J5l.js";import{A as Ue}from"../chunks/Aside.CzwHeuWZ.js";const be={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Switch Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};function Ce(a){let e,o,t="Time",r,u=new Date(a[1].network._timestamp/1e3).toLocaleString()+"",f,v,y="Request path",g,b,L=a[1].network.http_request_path+"",B,O,R,re="Request method",T,I=a[1].network.http_request_method+"",V,$,le="Status",_,U=a[1].network.lb_status_code+"",K,ee,M=be[a[1].network.lb_status_code]+"",J,P,de="Client IP",S,j=a[1].network.client+"",Q,E,ie="Client user agent",F,z=a[1].network.user_agent+"",W,N,ue="Processing time",q,G=parseFloat(a[1].network.request_processing_time)+parseFloat(a[1].network.target_processing_time)+"",X,te,A,_e="Response size",D,H=parseInt(a[1].network.sent_bytes)+"",Y,se;return{c(){e=d("dl"),o=d("dt"),o.textContent=t,r=d("dd"),f=m(u),v=d("dt"),v.textContent=y,g=d("dd"),b=d("a"),B=m(L),R=d("dt"),R.textContent=re,T=d("dd"),V=m(I),$=d("dt"),$.textContent=le,_=d("dd"),K=m(U),ee=ye(),J=m(M),P=d("dt"),P.textContent=de,S=d("dd"),Q=m(j),E=d("dt"),E.textContent=ie,F=d("dd"),W=m(z),N=d("dt"),N.textContent=ue,q=d("dd"),X=m(G),te=m("s"),A=d("dt"),A.textContent=_e,D=d("dd"),Y=m(H),se=m(" bytes"),this.h()},l(l){e=i(l,"DL",{class:!0});var s=w(e);o=i(s,"DT",{"data-svelte-h":!0}),C(o)!=="svelte-k4tc9n"&&(o.textContent=t),r=i(s,"DD",{class:!0});var ce=w(r);f=h(ce,u),ce.forEach(p),v=i(s,"DT",{"data-svelte-h":!0}),C(v)!=="svelte-1j5pznm"&&(v.textContent=y),g=i(s,"DD",{class:!0});var pe=w(g);b=i(pe,"A",{href:!0,class:!0});var fe=w(b);B=h(fe,L),fe.forEach(p),pe.forEach(p),R=i(s,"DT",{"data-svelte-h":!0}),C(R)!=="svelte-1wn7isk"&&(R.textContent=re),T=i(s,"DD",{class:!0});var me=w(T);V=h(me,I),me.forEach(p),$=i(s,"DT",{"data-svelte-h":!0}),C($)!=="svelte-1e9eis"&&($.textContent=le),_=i(s,"DD",{class:!0});var Z=w(_);K=h(Z,U),ee=Re(Z),J=h(Z,M),Z.forEach(p),P=i(s,"DT",{"data-svelte-h":!0}),C(P)!=="svelte-1rrvc96"&&(P.textContent=de),S=i(s,"DD",{class:!0});var he=w(S);Q=h(he,j),he.forEach(p),E=i(s,"DT",{"data-svelte-h":!0}),C(E)!=="svelte-on2p8j"&&(E.textContent=ie),F=i(s,"DD",{class:!0});var we=w(F);W=h(we,z),we.forEach(p),N=i(s,"DT",{"data-svelte-h":!0}),C(N)!=="svelte-1wlbq2"&&(N.textContent=ue),q=i(s,"DD",{class:!0});var oe=w(q);X=h(oe,G),te=h(oe,"s"),oe.forEach(p),A=i(s,"DT",{"data-svelte-h":!0}),C(A)!=="svelte-jqr426"&&(A.textContent=_e),D=i(s,"DD",{class:!0});var ae=w(D);Y=h(ae,H),se=h(ae," bytes"),ae.forEach(p),s.forEach(p),this.h()},h(){c(r,"class","svelte-ebu0yn"),c(b,"href",O=a[1].network.http_request_url),c(b,"class","svelte-ebu0yn"),c(g,"class","svelte-ebu0yn"),c(T,"class","svelte-ebu0yn"),c(_,"class","svelte-ebu0yn"),x(_,"success",a[1].network.lb_status_code>=200&&a[1].network.lb_status_code<300),x(_,"error",a[1].network.http_request_protocol.lb_status_code>=400&&a[1].network.http_request_protocol.lb_status_code<600),c(S,"class","svelte-ebu0yn"),c(F,"class","svelte-ebu0yn"),c(q,"class","svelte-ebu0yn"),c(D,"class","svelte-ebu0yn"),c(e,"class","definitions svelte-ebu0yn")},m(l,s){qe(l,e,s),n(e,o),n(e,r),n(r,f),n(e,v),n(e,g),n(g,b),n(b,B),n(e,R),n(e,T),n(T,V),n(e,$),n(e,_),n(_,K),n(_,ee),n(_,J),n(e,P),n(e,S),n(S,Q),n(e,E),n(e,F),n(F,W),n(e,N),n(e,q),n(q,X),n(q,te),n(e,A),n(e,D),n(D,Y),n(D,se)},p(l,s){s&2&&u!==(u=new Date(l[1].network._timestamp/1e3).toLocaleString()+"")&&k(f,u),s&2&&L!==(L=l[1].network.http_request_path+"")&&k(B,L),s&2&&O!==(O=l[1].network.http_request_url)&&c(b,"href",O),s&2&&I!==(I=l[1].network.http_request_method+"")&&k(V,I),s&2&&U!==(U=l[1].network.lb_status_code+"")&&k(K,U),s&2&&M!==(M=be[l[1].network.lb_status_code]+"")&&k(J,M),s&2&&x(_,"success",l[1].network.lb_status_code>=200&&l[1].network.lb_status_code<300),s&2&&x(_,"error",l[1].network.http_request_protocol.lb_status_code>=400&&l[1].network.http_request_protocol.lb_status_code<600),s&2&&j!==(j=l[1].network.client+"")&&k(Q,j),s&2&&z!==(z=l[1].network.user_agent+"")&&k(W,z),s&2&&G!==(G=parseFloat(l[1].network.request_processing_time)+parseFloat(l[1].network.target_processing_time)+"")&&k(X,G),s&2&&H!==(H=parseInt(l[1].network.sent_bytes)+"")&&k(Y,H)},d(l){l&&p(e)}}}function Me(a){let e,o=a[1].network._timestamp&&Ce(a);return{c(){o&&o.c(),e=ke()},l(t){o&&o.l(t),e=ke()},m(t,r){o&&o.m(t,r),qe(t,e,r)},p(t,r){t[1].network._timestamp?o?o.p(t,r):(o=Ce(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},d(t){t&&p(e),o&&o.d(t)}}}function je(a){let e,o;return e=new Ue({props:{title:a[1].network.lb_status_code?`${a[1].network.http_request_method} ${a[1].network.http_request_path}`:"Loading…",closeUrl:"/network?"+a[0].url.searchParams.toString(),$$slots:{default:[Me]},$$scope:{ctx:a}}}),{c(){Pe(e.$$.fragment)},l(t){Se(e.$$.fragment,t)},m(t,r){Ee(e,t,r),o=!0},p(t,[r]){const u={};r&2&&(u.title=t[1].network.lb_status_code?`${t[1].network.http_request_method} ${t[1].network.http_request_path}`:"Loading…"),r&1&&(u.closeUrl="/network?"+t[0].url.searchParams.toString()),r&10&&(u.$$scope={dirty:r,ctx:t}),e.$set(u)},i(t){o||(Fe(e.$$.fragment,t),o=!0)},o(t){Ne(e.$$.fragment,t),o=!1},d(t){Ae(e,t)}}}function ze(a,e,o){let t,r;ve(a,Le,f=>o(0,t=f)),ve(a,ne,f=>o(1,r=f));const u=async()=>{var v;const f=(v=r.networks.hits)==null?void 0:v.find(y=>y._timestamp==t.params.id);if(f)ge(ne,r.network=f,r);else{const y={size:1,sql:`select * from requests where _timestamp = ${t.params.id}`};await Ie.get(y).then(g=>{ge(ne,r.network=g.hits[0],r)})}};return a.$$.update=()=>{a.$$.dirty&1&&t.params.id&&u()},[t,r]}class Je extends Te{constructor(e){super(),$e(this,e,ze,je,De,{})}}export{Je as component}; diff --git a/gui/next/build/_app/immutable/nodes/2.CTxrVJ4D.js b/gui/next/build/_app/immutable/nodes/2.CTxrVJ4D.js deleted file mode 100644 index 8729d69c..00000000 --- a/gui/next/build/_app/immutable/nodes/2.CTxrVJ4D.js +++ /dev/null @@ -1,7 +0,0 @@ -import{s as Ae,e as d,a as L,t as Q,c as f,b as y,g as N,d as W,f as u,y as c,i as X,h as l,C as me,O as Xe,z as Le,$ as He,l as nt,p as at,A as ne,B as Pe,I as st,J as Je,D as lt,j as De,u as rt,m as ot,o as it,F as ut,r as Ye,k as Ve,a3 as dt,G as ze,K as ft}from"../chunks/scheduler.ts1nwYMk.js";import{S as Ue,i as je,c as pe,d as he,m as ge,t as F,a as V,f as ve,b as ct,e as Ze,g as xe}from"../chunks/index.MbwxngTa.js";import{e as Ke}from"../chunks/each.CLm8ZDgo.js";import"../chunks/entry.DYTJR7db.js";import{p as _t}from"../chunks/stores.D3n-8z5b.js";import{b as Oe}from"../chunks/backgroundJob.cWe0itmY.js";import{s as Ce}from"../chunks/state.HIdUDD3F.js";import{I as Se}from"../chunks/Icon.Dn_EaQMz.js";import{N as mt}from"../chunks/Number.CAl2R2zF.js";const be=e=>{const t=e instanceof Date?e:new Date(e),n=new Intl.RelativeTimeFormat("en"),a={years:3600*24*365,months:3600*24*30,weeks:3600*24*7,days:3600*24,hours:3600,minutes:60,seconds:1},s=(t.getTime()-Date.now())/1e3;for(let i in a)if(a[i]{o.preventDefault();const p=await Oe.retry({properties:new FormData(s)});p.errors?Ce.notification.create("error",`Background job ${p.admin_background_job_retry.id} could not be run again`):(i("itemsChanged"),Ce.notification.create("success",`Background job ${p.admin_background_job_retry.id} planned to run again`))};function v(o){Le[o?"unshift":"push"](()=>{s=o,n(1,s)})}return e.$$set=o=>{"id"in o&&n(0,a=o.id)},[a,s,_,v]}class gt extends Ue{constructor(t){super(),je(this,t,ht,pt,Ae,{id:0})}}function vt(e){let t,n,a,s,i,_,v,o,p,h;return _=new Se({props:{icon:"x",size:"22"}}),{c(){t=d("form"),n=d("input"),a=L(),s=d("button"),i=d("i"),pe(_.$$.fragment),v=Q(`\r - Delete background job`),this.h()},l(r){t=f(r,"FORM",{});var b=y(t);n=f(b,"INPUT",{type:!0,name:!0}),a=N(b),s=f(b,"BUTTON",{class:!0});var P=y(s);i=f(P,"I",{class:!0});var k=y(i);he(_.$$.fragment,k),k.forEach(u),v=W(P,`\r - Delete background job`),P.forEach(u),b.forEach(u),this.h()},h(){c(n,"type","hidden"),c(n,"name","id"),n.value=e[0],c(i,"class","svelte-ooaugn"),c(s,"class","danger")},m(r,b){X(r,t,b),l(t,n),l(t,a),l(t,s),l(s,i),ge(_,i,null),l(s,v),e[3](t),o=!0,p||(h=me(t,"submit",e[2]),p=!0)},p(r,[b]){(!o||b&1)&&(n.value=r[0])},i(r){o||(F(_.$$.fragment,r),o=!0)},o(r){V(_.$$.fragment,r),o=!1},d(r){r&&u(t),ve(_),e[3](null),p=!1,h()}}}function bt(e,t,n){let{id:a}=t,s;const i=Xe(),_=async o=>{if(o.preventDefault(),confirm("Are you sure you want to delete this background job?")){const p=await Oe.delete({properties:new FormData(s)});p.errors?Ce.notification.create("error",`Background job ${p.admin_background_job_delete.id} could not be deleted`):(i("itemsChanged"),Ce.notification.create("success",`Background job ${p.admin_background_job_delete.id} deleted`))}};function v(o){Le[o?"unshift":"push"](()=>{s=o,n(1,s)})}return e.$$set=o=>{"id"in o&&n(0,a=o.id)},[a,s,_,v]}class Et extends Ue{constructor(t){super(),je(this,t,bt,vt,Ae,{id:0})}}function Ge(e,t,n){const a=e.slice();return a[16]=t[n],a}function yt(e){let t;return{c(){t=Q("Runs")},l(n){t=W(n,"Runs")},m(n,a){X(n,t,a)},d(n){n&&u(t)}}}function $t(e){let t;return{c(){t=Q("Failed")},l(n){t=W(n,"Failed")},m(n,a){X(n,t,a)},d(n){n&&u(t)}}}function Qe(e){let t,n,a;return n=new gt({props:{id:e[16].id}}),n.$on("itemsChanged",e[6]),{c(){t=d("li"),pe(n.$$.fragment),this.h()},l(s){t=f(s,"LI",{class:!0});var i=y(t);he(n.$$.fragment,i),i.forEach(u),this.h()},h(){c(t,"class","svelte-1m1ug4d")},m(s,i){X(s,t,i),ge(n,t,null),a=!0},p(s,i){const _={};i&2&&(_.id=s[16].id),n.$set(_)},i(s){a||(F(n.$$.fragment,s),a=!0)},o(s){V(n.$$.fragment,s),a=!1},d(s){s&&u(t),ve(n)}}}function kt(e){let t=(e[16].run_at_parsed||be(new Date(e[16].run_at)))+"",n;return{c(){n=Q(t)},l(a){n=W(a,t)},m(a,s){X(a,n,s)},p(a,s){s&2&&t!==(t=(a[16].run_at_parsed||be(new Date(a[16].run_at)))+"")&&De(n,t)},d(a){a&&u(n)}}}function Dt(e){let t=(e[16].dead_at_parsed||be(new Date(e[16].dead_at))||"")+"",n;return{c(){n=Q(t)},l(a){n=W(a,t)},m(a,s){X(a,n,s)},p(a,s){s&2&&t!==(t=(a[16].dead_at_parsed||be(new Date(a[16].dead_at))||"")+"")&&De(n,t)},d(a){a&&u(n)}}}function We(e){let t,n,a,s,i,_="More options",v,o,p,h,r,b,P,k,te,w,z=(e[16].source_name||e[16].id)+"",E,j,K,R,O=e[16].queue+"",ae,se,A,ie,q,J,ue;o=new Se({props:{icon:"navigationMenuVertical",size:"16"}});function Ee(){return e[11](e[16])}let g=e[16].dead_at&&Qe(e);k=new Et({props:{id:e[16].id}}),k.$on("itemsChanged",e[6]);function G($,C){return $[0].type==="DEAD"?Dt:kt}let le=G(e),U=le(e);return{c(){t=d("tr"),n=d("td"),a=d("div"),s=d("button"),i=d("span"),i.textContent=_,v=L(),pe(o.$$.fragment),p=L(),h=d("menu"),r=d("ul"),g&&g.c(),b=L(),P=d("li"),pe(k.$$.fragment),te=L(),w=d("a"),E=Q(z),K=L(),R=d("td"),ae=Q(O),se=L(),A=d("td"),U.c(),ie=L(),this.h()},l($){t=f($,"TR",{class:!0});var C=y(t);n=f(C,"TD",{class:!0});var Y=y(n);a=f(Y,"DIV",{class:!0});var H=y(a);s=f(H,"BUTTON",{class:!0});var Z=y(s);i=f(Z,"SPAN",{class:!0,"data-svelte-h":!0}),ne(i)!=="svelte-1agpmtc"&&(i.textContent=_),v=N(Z),he(o.$$.fragment,Z),Z.forEach(u),p=N(H),h=f(H,"MENU",{class:!0});var de=y(h);r=f(de,"UL",{});var S=y(r);g&&g.l(S),b=N(S),P=f(S,"LI",{class:!0});var fe=y(P);he(k.$$.fragment,fe),fe.forEach(u),S.forEach(u),de.forEach(u),te=N(H),w=f(H,"A",{href:!0,class:!0});var ye=y(w);E=W(ye,z),ye.forEach(u),H.forEach(u),Y.forEach(u),K=N(C),R=f(C,"TD",{class:!0});var $e=y(R);ae=W($e,O),$e.forEach(u),se=N(C),A=f(C,"TD",{class:!0});var re=y(A);U.l(re),re.forEach(u),ie=N(C),C.forEach(u),this.h()},h(){c(i,"class","label"),c(s,"class","button compact more svelte-1m1ug4d"),c(P,"class","svelte-1m1ug4d"),c(h,"class","content-context svelte-1m1ug4d"),ze(h,"active",e[2].id===e[16].id),c(w,"href",j="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[16].id+"?"+e[4].url.searchParams.toString()),c(w,"class","svelte-1m1ug4d"),c(a,"class","svelte-1m1ug4d"),c(n,"class","id svelte-1m1ug4d"),c(R,"class","svelte-1m1ug4d"),c(A,"class","svelte-1m1ug4d"),c(t,"class","svelte-1m1ug4d")},m($,C){X($,t,C),l(t,n),l(n,a),l(a,s),l(s,i),l(s,v),ge(o,s,null),l(a,p),l(a,h),l(h,r),g&&g.m(r,null),l(r,b),l(r,P),ge(k,P,null),l(a,te),l(a,w),l(w,E),l(t,K),l(t,R),l(R,ae),l(t,se),l(t,A),U.m(A,null),l(t,ie),q=!0,J||(ue=[me(s,"click",Ee),me(n,"mouseleave",e[12])],J=!0)},p($,C){e=$,e[16].dead_at?g?(g.p(e,C),C&2&&F(g,1)):(g=Qe(e),g.c(),F(g,1),g.m(r,b)):g&&(xe(),V(g,1,1,()=>{g=null}),Ze());const Y={};C&2&&(Y.id=e[16].id),k.$set(Y),(!q||C&6)&&ze(h,"active",e[2].id===e[16].id),(!q||C&2)&&z!==(z=(e[16].source_name||e[16].id)+"")&&De(E,z),(!q||C&19&&j!==(j="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[16].id+"?"+e[4].url.searchParams.toString()))&&c(w,"href",j),(!q||C&2)&&O!==(O=e[16].queue+"")&&De(ae,O),le===(le=G(e))&&U?U.p(e,C):(U.d(1),U=le(e),U&&(U.c(),U.m(A,null)))},i($){q||(F(o.$$.fragment,$),F(g),F(k.$$.fragment,$),q=!0)},o($){V(o.$$.fragment,$),V(g),V(k.$$.fragment,$),q=!1},d($){$&&u(t),ve(o),g&&g.d(),ve(k),U.d(),J=!1,Ye(ue)}}}function Ct(e){var Be;let t,n,a,s,i,_,v,o,p="Type:",h,r,b,P="Scheduled",k,te="Failed",w,z="Running",E,j,K,R,O,ae="Name / id",se,A,ie="Priority",q,J,ue,Ee,g,G,le="Page:",U,$,C,Y,H=(e[1].total_pages||1)+"",Z,de,S,fe,ye;document.title=t="Jobs"+((Be=e[5].online)!=null&&Be.MPKIT_URL?": "+e[5].online.MPKIT_URL.replace("https://",""):"");function $e(m,T){return m[0].type==="DEAD"?$t:yt}let re=$e(e),x=re(e),oe=Ke(e[1].results),D=[];for(let m=0;mV(D[m],1,1,()=>{D[m]=null});function tt(m){e[13](m)}let Me={form:"filters",name:"page",min:1,max:e[1].total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};e[0].page!==void 0&&(Me.value=e[0].page),$=new mt({props:Me}),Le.push(()=>ct($,"value",tt)),$.$on("input",function(){He(e[3].requestSubmit())&&e[3].requestSubmit().apply(this,arguments)});const Ne=e[8].default,M=nt(Ne,e,e[7],null);return{c(){n=L(),a=d("div"),s=d("div"),i=d("nav"),_=d("form"),v=d("fieldset"),o=d("label"),o.textContent=p,h=L(),r=d("select"),b=d("option"),b.textContent=P,k=d("option"),k.textContent=te,w=d("option"),w.textContent=z,E=L(),j=d("table"),K=d("thead"),R=d("tr"),O=d("th"),O.textContent=ae,se=L(),A=d("th"),A.textContent=ie,q=L(),J=d("th"),x.c(),ue=L();for(let m=0;me[9].call(r)),c(v,"class","svelte-1m1ug4d"),c(_,"id","filters"),c(_,"class","svelte-1m1ug4d"),c(i,"class","filters svelte-1m1ug4d"),c(O,"class","id svelte-1m1ug4d"),c(A,"class","svelte-1m1ug4d"),c(J,"class","svelte-1m1ug4d"),c(K,"class","svelte-1m1ug4d"),c(j,"class","svelte-1m1ug4d"),c(G,"for","page"),c(g,"class","pagination svelte-1m1ug4d"),c(s,"class","svelte-1m1ug4d"),c(a,"class","container svelte-1m1ug4d")},m(m,T){X(m,n,T),X(m,a,T),l(a,s),l(s,i),l(i,_),l(_,v),l(v,o),l(v,h),l(v,r),l(r,b),l(r,k),l(r,w),Je(r,e[0].type,!0),e[10](_),l(s,E),l(s,j),l(j,K),l(K,R),l(R,O),l(R,se),l(R,A),l(R,q),l(R,J),x.m(J,null),l(j,ue);for(let B=0;BC=!1)),$.$set(B),(!S||T&2)&&H!==(H=(e[1].total_pages||1)+"")&&De(Z,H),M&&M.p&&(!S||T&128)&&rt(M,Ne,e,e[7],S?it(Ne,e[7],T,null):ot(e[7]),null)},i(m){if(!S){for(let T=0;Tn(4,a=E)),Ve(e,Ce,E=>n(5,s=E));let{$$slots:i={},$$scope:_}=t,v={results:[]},o={id:null},p={page:1,type:"SCHEDULED",...Object.fromEntries(a.url.searchParams)},h,r;const b=async()=>{clearInterval(r),n(1,v=await Oe.get(p)),r=setInterval(()=>{v.results.forEach(E=>{p.type==="DEAD"?E.dead_at_parsed=be(new Date(E.dead_at)):E.run_at_parsed=be(new Date(E.run_at))})},1e3)};dt(()=>{clearInterval(r)});function P(){p.type=ft(this),n(0,p)}function k(E){Le[E?"unshift":"push"](()=>{h=E,n(3,h)})}const te=E=>n(2,o.id=E.id,o),w=()=>n(2,o.id=null,o);function z(E){e.$$.not_equal(p.page,E)&&(p.page=E,n(0,p))}return e.$$set=E=>{"$$scope"in E&&n(7,_=E.$$scope)},e.$$.update=()=>{e.$$.dirty&1&&p&&b()},[p,v,o,h,a,s,b,_,i,P,k,te,w,z]}class Ot extends Ue{constructor(t){super(),je(this,t,Tt,Ct,Ae,{})}}export{Ot as component}; diff --git a/gui/next/build/_app/immutable/nodes/2.CeKUIDP3.js b/gui/next/build/_app/immutable/nodes/2.CeKUIDP3.js new file mode 100644 index 00000000..88665cf1 --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/2.CeKUIDP3.js @@ -0,0 +1,7 @@ +import{s as Ae,e as d,a as L,t as Z,c as f,b as y,g as N,d as Q,f as u,y as c,i as W,h as l,C as me,L as We,z as Le,Z as He,l as at,p as nt,A as ae,B as Pe,M as st,a1 as Ve,D as lt,j as De,u as rt,m as ot,o as it,F as ut,r as Xe,k as ze,a2 as dt,G as Je,a3 as ft}from"../chunks/scheduler.CKQ5dLhN.js";import{S as Ue,i as je,c as pe,d as he,m as ge,t as F,a as z,f as ve,b as ct,e as Ye,g as xe}from"../chunks/index.CGVWAVV-.js";import{e as Ke}from"../chunks/each.BWzj3zy9.js";import"../chunks/entry.COceLI_i.js";import{p as _t}from"../chunks/stores.BLuxmlax.js";import{b as Me}from"../chunks/backgroundJob.cWe0itmY.js";import{s as Ce}from"../chunks/state.nqMW8J5l.js";import{I as Se}from"../chunks/Icon.CkKwi_WD.js";import{N as mt}from"../chunks/Number.B4JDnNHn.js";const be=e=>{const t=e instanceof Date?e:new Date(e),a=new Intl.RelativeTimeFormat("en"),n={years:3600*24*365,months:3600*24*30,weeks:3600*24*7,days:3600*24,hours:3600,minutes:60,seconds:1},s=(t.getTime()-Date.now())/1e3;for(let i in n)if(n[i]{o.preventDefault();const p=await Me.retry({properties:new FormData(s)});p.errors?Ce.notification.create("error",`Background job ${p.admin_background_job_retry.id} could not be run again`):(i("itemsChanged"),Ce.notification.create("success",`Background job ${p.admin_background_job_retry.id} planned to run again`))};function v(o){Le[o?"unshift":"push"](()=>{s=o,a(1,s)})}return e.$$set=o=>{"id"in o&&a(0,n=o.id)},[n,s,_,v]}class gt extends Ue{constructor(t){super(),je(this,t,ht,pt,Ae,{id:0})}}function vt(e){let t,a,n,s,i,_,v,o,p,h;return _=new Se({props:{icon:"x",size:"22"}}),{c(){t=d("form"),a=d("input"),n=L(),s=d("button"),i=d("i"),pe(_.$$.fragment),v=Z(`\r + Delete background job`),this.h()},l(r){t=f(r,"FORM",{});var b=y(t);a=f(b,"INPUT",{type:!0,name:!0}),n=N(b),s=f(b,"BUTTON",{class:!0});var P=y(s);i=f(P,"I",{class:!0});var k=y(i);he(_.$$.fragment,k),k.forEach(u),v=Q(P,`\r + Delete background job`),P.forEach(u),b.forEach(u),this.h()},h(){c(a,"type","hidden"),c(a,"name","id"),a.value=e[0],c(i,"class","svelte-ooaugn"),c(s,"class","danger")},m(r,b){W(r,t,b),l(t,a),l(t,n),l(t,s),l(s,i),ge(_,i,null),l(s,v),e[3](t),o=!0,p||(h=me(t,"submit",e[2]),p=!0)},p(r,[b]){(!o||b&1)&&(a.value=r[0])},i(r){o||(F(_.$$.fragment,r),o=!0)},o(r){z(_.$$.fragment,r),o=!1},d(r){r&&u(t),ve(_),e[3](null),p=!1,h()}}}function bt(e,t,a){let{id:n}=t,s;const i=We(),_=async o=>{if(o.preventDefault(),confirm("Are you sure you want to delete this background job?")){const p=await Me.delete({properties:new FormData(s)});p.errors?Ce.notification.create("error",`Background job ${p.admin_background_job_delete.id} could not be deleted`):(i("itemsChanged"),Ce.notification.create("success",`Background job ${p.admin_background_job_delete.id} deleted`))}};function v(o){Le[o?"unshift":"push"](()=>{s=o,a(1,s)})}return e.$$set=o=>{"id"in o&&a(0,n=o.id)},[n,s,_,v]}class Et extends Ue{constructor(t){super(),je(this,t,bt,vt,Ae,{id:0})}}function Ge(e,t,a){const n=e.slice();return n[16]=t[a],n}function yt(e){let t;return{c(){t=Z("Runs")},l(a){t=Q(a,"Runs")},m(a,n){W(a,t,n)},d(a){a&&u(t)}}}function $t(e){let t;return{c(){t=Z("Failed")},l(a){t=Q(a,"Failed")},m(a,n){W(a,t,n)},d(a){a&&u(t)}}}function Ze(e){let t,a,n;return a=new gt({props:{id:e[16].id}}),a.$on("itemsChanged",e[6]),{c(){t=d("li"),pe(a.$$.fragment),this.h()},l(s){t=f(s,"LI",{class:!0});var i=y(t);he(a.$$.fragment,i),i.forEach(u),this.h()},h(){c(t,"class","svelte-1m1ug4d")},m(s,i){W(s,t,i),ge(a,t,null),n=!0},p(s,i){const _={};i&2&&(_.id=s[16].id),a.$set(_)},i(s){n||(F(a.$$.fragment,s),n=!0)},o(s){z(a.$$.fragment,s),n=!1},d(s){s&&u(t),ve(a)}}}function kt(e){let t=(e[16].run_at_parsed||be(new Date(e[16].run_at)))+"",a;return{c(){a=Z(t)},l(n){a=Q(n,t)},m(n,s){W(n,a,s)},p(n,s){s&2&&t!==(t=(n[16].run_at_parsed||be(new Date(n[16].run_at)))+"")&&De(a,t)},d(n){n&&u(a)}}}function Dt(e){let t=(e[16].dead_at_parsed||be(new Date(e[16].dead_at))||"")+"",a;return{c(){a=Z(t)},l(n){a=Q(n,t)},m(n,s){W(n,a,s)},p(n,s){s&2&&t!==(t=(n[16].dead_at_parsed||be(new Date(n[16].dead_at))||"")+"")&&De(a,t)},d(n){n&&u(a)}}}function Qe(e){let t,a,n,s,i,_="More options",v,o,p,h,r,b,P,k,te,w,J=(e[16].source_name||e[16].id)+"",E,j,K,R,M=e[16].queue+"",ne,se,A,ie,q,V,ue;o=new Se({props:{icon:"navigationMenuVertical",size:"16"}});function Ee(){return e[11](e[16])}let g=e[16].dead_at&&Ze(e);k=new Et({props:{id:e[16].id}}),k.$on("itemsChanged",e[6]);function G($,C){return $[0].type==="DEAD"?Dt:kt}let le=G(e),U=le(e);return{c(){t=d("tr"),a=d("td"),n=d("div"),s=d("button"),i=d("span"),i.textContent=_,v=L(),pe(o.$$.fragment),p=L(),h=d("menu"),r=d("ul"),g&&g.c(),b=L(),P=d("li"),pe(k.$$.fragment),te=L(),w=d("a"),E=Z(J),K=L(),R=d("td"),ne=Z(M),se=L(),A=d("td"),U.c(),ie=L(),this.h()},l($){t=f($,"TR",{class:!0});var C=y(t);a=f(C,"TD",{class:!0});var X=y(a);n=f(X,"DIV",{class:!0});var H=y(n);s=f(H,"BUTTON",{class:!0});var Y=y(s);i=f(Y,"SPAN",{class:!0,"data-svelte-h":!0}),ae(i)!=="svelte-1agpmtc"&&(i.textContent=_),v=N(Y),he(o.$$.fragment,Y),Y.forEach(u),p=N(H),h=f(H,"MENU",{class:!0});var de=y(h);r=f(de,"UL",{});var S=y(r);g&&g.l(S),b=N(S),P=f(S,"LI",{class:!0});var fe=y(P);he(k.$$.fragment,fe),fe.forEach(u),S.forEach(u),de.forEach(u),te=N(H),w=f(H,"A",{href:!0,class:!0});var ye=y(w);E=Q(ye,J),ye.forEach(u),H.forEach(u),X.forEach(u),K=N(C),R=f(C,"TD",{class:!0});var $e=y(R);ne=Q($e,M),$e.forEach(u),se=N(C),A=f(C,"TD",{class:!0});var re=y(A);U.l(re),re.forEach(u),ie=N(C),C.forEach(u),this.h()},h(){c(i,"class","label"),c(s,"class","button compact more svelte-1m1ug4d"),c(P,"class","svelte-1m1ug4d"),c(h,"class","content-context svelte-1m1ug4d"),Je(h,"active",e[2].id===e[16].id),c(w,"href",j="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[16].id+"?"+e[4].url.searchParams.toString()),c(w,"class","svelte-1m1ug4d"),c(n,"class","svelte-1m1ug4d"),c(a,"class","id svelte-1m1ug4d"),c(R,"class","svelte-1m1ug4d"),c(A,"class","svelte-1m1ug4d"),c(t,"class","svelte-1m1ug4d")},m($,C){W($,t,C),l(t,a),l(a,n),l(n,s),l(s,i),l(s,v),ge(o,s,null),l(n,p),l(n,h),l(h,r),g&&g.m(r,null),l(r,b),l(r,P),ge(k,P,null),l(n,te),l(n,w),l(w,E),l(t,K),l(t,R),l(R,ne),l(t,se),l(t,A),U.m(A,null),l(t,ie),q=!0,V||(ue=[me(s,"click",Ee),me(a,"mouseleave",e[12])],V=!0)},p($,C){e=$,e[16].dead_at?g?(g.p(e,C),C&2&&F(g,1)):(g=Ze(e),g.c(),F(g,1),g.m(r,b)):g&&(xe(),z(g,1,1,()=>{g=null}),Ye());const X={};C&2&&(X.id=e[16].id),k.$set(X),(!q||C&6)&&Je(h,"active",e[2].id===e[16].id),(!q||C&2)&&J!==(J=(e[16].source_name||e[16].id)+"")&&De(E,J),(!q||C&19&&j!==(j="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[16].id+"?"+e[4].url.searchParams.toString()))&&c(w,"href",j),(!q||C&2)&&M!==(M=e[16].queue+"")&&De(ne,M),le===(le=G(e))&&U?U.p(e,C):(U.d(1),U=le(e),U&&(U.c(),U.m(A,null)))},i($){q||(F(o.$$.fragment,$),F(g),F(k.$$.fragment,$),q=!0)},o($){z(o.$$.fragment,$),z(g),z(k.$$.fragment,$),q=!1},d($){$&&u(t),ve(o),g&&g.d(),ve(k),U.d(),V=!1,Xe(ue)}}}function Ct(e){var Be;let t,a,n,s,i,_,v,o,p="Type:",h,r,b,P="Scheduled",k,te="Failed",w,J="Running",E,j,K,R,M,ne="Name / id",se,A,ie="Priority",q,V,ue,Ee,g,G,le="Page:",U,$,C,X,H=(e[1].total_pages||1)+"",Y,de,S,fe,ye;document.title=t="Jobs"+((Be=e[5].online)!=null&&Be.MPKIT_URL?": "+e[5].online.MPKIT_URL.replace("https://",""):"");function $e(m,T){return m[0].type==="DEAD"?$t:yt}let re=$e(e),x=re(e),oe=Ke(e[1].results),D=[];for(let m=0;mz(D[m],1,1,()=>{D[m]=null});function tt(m){e[13](m)}let Oe={form:"filters",name:"page",min:1,max:e[1].total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};e[0].page!==void 0&&(Oe.value=e[0].page),$=new mt({props:Oe}),Le.push(()=>ct($,"value",tt)),$.$on("input",function(){He(e[3].requestSubmit())&&e[3].requestSubmit().apply(this,arguments)});const Ne=e[8].default,O=at(Ne,e,e[7],null);return{c(){a=L(),n=d("div"),s=d("div"),i=d("nav"),_=d("form"),v=d("fieldset"),o=d("label"),o.textContent=p,h=L(),r=d("select"),b=d("option"),b.textContent=P,k=d("option"),k.textContent=te,w=d("option"),w.textContent=J,E=L(),j=d("table"),K=d("thead"),R=d("tr"),M=d("th"),M.textContent=ne,se=L(),A=d("th"),A.textContent=ie,q=L(),V=d("th"),x.c(),ue=L();for(let m=0;me[9].call(r)),c(v,"class","svelte-1m1ug4d"),c(_,"id","filters"),c(_,"class","svelte-1m1ug4d"),c(i,"class","filters svelte-1m1ug4d"),c(M,"class","id svelte-1m1ug4d"),c(A,"class","svelte-1m1ug4d"),c(V,"class","svelte-1m1ug4d"),c(K,"class","svelte-1m1ug4d"),c(j,"class","svelte-1m1ug4d"),c(G,"for","page"),c(g,"class","pagination svelte-1m1ug4d"),c(s,"class","svelte-1m1ug4d"),c(n,"class","container svelte-1m1ug4d")},m(m,T){W(m,a,T),W(m,n,T),l(n,s),l(s,i),l(i,_),l(_,v),l(v,o),l(v,h),l(v,r),l(r,b),l(r,k),l(r,w),Ve(r,e[0].type,!0),e[10](_),l(s,E),l(s,j),l(j,K),l(K,R),l(R,M),l(R,se),l(R,A),l(R,q),l(R,V),x.m(V,null),l(j,ue);for(let B=0;BC=!1)),$.$set(B),(!S||T&2)&&H!==(H=(e[1].total_pages||1)+"")&&De(Y,H),O&&O.p&&(!S||T&128)&&rt(O,Ne,e,e[7],S?it(Ne,e[7],T,null):ot(e[7]),null)},i(m){if(!S){for(let T=0;Ta(4,n=E)),ze(e,Ce,E=>a(5,s=E));let{$$slots:i={},$$scope:_}=t,v={results:[]},o={id:null},p={page:1,type:"SCHEDULED",...Object.fromEntries(n.url.searchParams)},h,r;const b=async()=>{clearInterval(r),a(1,v=await Me.get(p)),r=setInterval(()=>{v.results.forEach(E=>{p.type==="DEAD"?E.dead_at_parsed=be(new Date(E.dead_at)):E.run_at_parsed=be(new Date(E.run_at))})},1e3)};dt(()=>{clearInterval(r)});function P(){p.type=ft(this),a(0,p)}function k(E){Le[E?"unshift":"push"](()=>{h=E,a(3,h)})}const te=E=>a(2,o.id=E.id,o),w=()=>a(2,o.id=null,o);function J(E){e.$$.not_equal(p.page,E)&&(p.page=E,a(0,p))}return e.$$set=E=>{"$$scope"in E&&a(7,_=E.$$scope)},e.$$.update=()=>{e.$$.dirty&1&&p&&b()},[p,v,o,h,n,s,b,_,i,P,k,te,w,J]}class Mt extends Ue{constructor(t){super(),je(this,t,Tt,Ct,Ae,{})}}export{Mt as component}; diff --git a/gui/next/build/_app/immutable/nodes/20.CzdMIE4e.js b/gui/next/build/_app/immutable/nodes/20.CuxZsU7V.js similarity index 81% rename from gui/next/build/_app/immutable/nodes/20.CzdMIE4e.js rename to gui/next/build/_app/immutable/nodes/20.CuxZsU7V.js index 2272f196..493d6e48 100644 --- a/gui/next/build/_app/immutable/nodes/20.CzdMIE4e.js +++ b/gui/next/build/_app/immutable/nodes/20.CuxZsU7V.js @@ -1 +1 @@ -import{s as i,n as o,p as c,f as l,k as p}from"../chunks/scheduler.ts1nwYMk.js";import{S as m,i as d}from"../chunks/index.MbwxngTa.js";import{s as u}from"../chunks/state.HIdUDD3F.js";function _(n){var s;let e;return document.title=e="Users"+((s=n[0].online)!=null&&s.MPKIT_URL?": "+n[0].online.MPKIT_URL.replace("https://",""):""),{c:o,l(t){c("svelte-mcmxo",document.head).forEach(l)},m:o,p(t,[a]){var r;a&1&&e!==(e="Users"+((r=t[0].online)!=null&&r.MPKIT_URL?": "+t[0].online.MPKIT_URL.replace("https://",""):""))&&(document.title=e)},i:o,o,d:o}}function f(n,e,s){let t;return p(n,u,a=>s(0,t=a)),[t]}class I extends m{constructor(e){super(),d(this,e,f,_,i,{})}}export{I as component}; +import{s as i,n as o,p as c,f as l,k as p}from"../chunks/scheduler.CKQ5dLhN.js";import{S as m,i as d}from"../chunks/index.CGVWAVV-.js";import{s as u}from"../chunks/state.nqMW8J5l.js";function _(n){var s;let e;return document.title=e="Users"+((s=n[0].online)!=null&&s.MPKIT_URL?": "+n[0].online.MPKIT_URL.replace("https://",""):""),{c:o,l(t){c("svelte-mcmxo",document.head).forEach(l)},m:o,p(t,[a]){var r;a&1&&e!==(e="Users"+((r=t[0].online)!=null&&r.MPKIT_URL?": "+t[0].online.MPKIT_URL.replace("https://",""):""))&&(document.title=e)},i:o,o,d:o}}function f(n,e,s){let t;return p(n,u,a=>s(0,t=a)),[t]}class I extends m{constructor(e){super(),d(this,e,f,_,i,{})}}export{I as component}; diff --git a/gui/next/build/_app/immutable/nodes/21.uJufYIoT.js b/gui/next/build/_app/immutable/nodes/21.CCu7Jrf_.js similarity index 93% rename from gui/next/build/_app/immutable/nodes/21.uJufYIoT.js rename to gui/next/build/_app/immutable/nodes/21.CCu7Jrf_.js index 214a1c8e..4fc13242 100644 --- a/gui/next/build/_app/immutable/nodes/21.uJufYIoT.js +++ b/gui/next/build/_app/immutable/nodes/21.CCu7Jrf_.js @@ -1 +1 @@ -import{s as Be,a as G,p as We,f as u,g as H,i as c,k as Te,e as h,t as J,v as F,c as v,b as M,d as K,y as R,h as k,j as O,A as z,F as Ge,n as Le}from"../chunks/scheduler.ts1nwYMk.js";import{S as He,i as Qe,c as Ne,d as qe,m as ze,t as N,a as q,f as Ve,g as le,e as ie}from"../chunks/index.MbwxngTa.js";import{e as we}from"../chunks/each.CLm8ZDgo.js";import{p as Xe}from"../chunks/stores.D3n-8z5b.js";import{u as Ye}from"../chunks/user.DoFwVcfx.js";import{s as Ze}from"../chunks/state.HIdUDD3F.js";import{t as ye}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{A as xe}from"../chunks/Aside.FJrLQRZc.js";import{J as et}from"../chunks/JSONTree.DHR6A5Hv.js";function Se(o,t,f){const l=o.slice();return l[4]=t[f][0],l[5]=t[f][1],l}function Ie(o){var i;let t,f=((i=o[1])==null?void 0:i.id)+"",l;return{c(){t=J("ID: "),l=J(f)},l(s){t=K(s,"ID: "),l=K(s,f)},m(s,a){c(s,t,a),c(s,l,a)},p(s,a){var e;a&2&&f!==(f=((e=s[1])==null?void 0:e.id)+"")&&O(l,f)},d(s){s&&(u(t),u(l))}}}function je(o){var a;let t,f="External ID:",l,i=((a=o[1])==null?void 0:a.external_id)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i),this.h()},l(e){t=v(e,"DT",{class:!0,"data-svelte-h":!0}),z(t)!=="svelte-1xroeo8"&&(t.textContent=f),l=v(e,"DD",{class:!0});var n=M(l);s=K(n,i),n.forEach(u),this.h()},h(){R(t,"class","svelte-uhfiox"),R(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.external_id)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Pe(o){var a;let t,f="JWT:",l,i=((a=o[1])==null?void 0:a.jwt_token)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i),this.h()},l(e){t=v(e,"DT",{class:!0,"data-svelte-h":!0}),z(t)!=="svelte-l7ssfz"&&(t.textContent=f),l=v(e,"DD",{class:!0});var n=M(l);s=K(n,i),n.forEach(u),this.h()},h(){R(t,"class","svelte-uhfiox"),R(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.jwt_token)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Ue(o){var a;let t,f="First name:",l,i=((a=o[1])==null?void 0:a.name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-8iyt8l"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Me(o){var a;let t,f="First name:",l,i=((a=o[1])==null?void 0:a.first_name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-8iyt8l"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.first_name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Fe(o){var a;let t,f="Middle name:",l,i=((a=o[1])==null?void 0:a.middle_name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-1eitmmc"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.middle_name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Je(o){var a;let t,f="Last name:",l,i=((a=o[1])==null?void 0:a.last_name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-1sn8cp"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.last_name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Ke(o){var a;let t,f="Slug:",l,i=((a=o[1])==null?void 0:a.slug)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-q9mm1z"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.slug)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Oe(o){var a;let t,f="Language:",l,i=((a=o[1])==null?void 0:a.language)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-14i3pp2"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.language)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Re(o){let t,f,l=we(Object.entries(o[1].properties)),i=[];for(let a=0;aq(i[a],1,1,()=>{i[a]=null});return{c(){t=h("dl");for(let a=0;a{g[_]=null}),ie(),e=g[a],e?e.p(p,b):(e=g[a]=C[a](p),e.c()),N(e,1),e.m(i,n))},i(p){r||(N(e),r=!0)},o(p){q(e),r=!1},d(p){p&&(u(t),u(i)),g[a].d()}}}function it(o){var ne,ae,fe,se,oe,re,de,ue,_e,ce,me,pe;let t,f,l,i,s=new Date((ne=o[1])==null?void 0:ne.created_at).toLocaleDateString(void 0,{})+"",a,e,n=new Date((ae=o[1])==null?void 0:ae.created_at).toLocaleTimeString(void 0,{})+"",r,C,g,$,p,b,_,Y,Z,y,x,ee,te,Q,V,E=((fe=o[1])==null?void 0:fe.id)&&Ie(o),T=((se=o[1])==null?void 0:se.external_id)&&je(o),L=((oe=o[1])==null?void 0:oe.jwt_token)&&Pe(o),w=((re=o[1])==null?void 0:re.name)&&Ue(o),S=((de=o[1])==null?void 0:de.first_name)&&Me(o),I=((ue=o[1])==null?void 0:ue.middle_name)&&Fe(o),j=((_e=o[1])==null?void 0:_e.last_name)&&Je(o),P=((ce=o[1])==null?void 0:ce.slug)&&Ke(o),U=((me=o[1])==null?void 0:me.language)&&Oe(o),D=((pe=o[1])==null?void 0:pe.properties)&&Re(o);return{c(){t=h("div"),f=h("div"),E&&E.c(),l=G(),i=h("time"),a=J(s),e=G(),r=J(n),g=G(),$=h("dl"),T&&T.c(),p=F(),L&&L.c(),b=G(),_=h("dl"),w&&w.c(),Y=F(),S&&S.c(),Z=F(),I&&I.c(),y=F(),j&&j.c(),x=F(),P&&P.c(),ee=F(),U&&U.c(),te=G(),D&&D.c(),Q=F(),this.h()},l(d){t=v(d,"DIV",{});var m=M(t);f=v(m,"DIV",{class:!0});var B=M(f);E&&E.l(B),l=H(B),i=v(B,"TIME",{datetime:!0,class:!0});var W=M(i);a=K(W,s),e=H(W),r=K(W,n),W.forEach(u),B.forEach(u),m.forEach(u),g=H(d),$=v(d,"DL",{class:!0});var X=M($);T&&T.l(X),p=F(),L&&L.l(X),X.forEach(u),b=H(d),_=v(d,"DL",{class:!0});var A=M(_);w&&w.l(A),Y=F(),S&&S.l(A),Z=F(),I&&I.l(A),y=F(),j&&j.l(A),x=F(),P&&P.l(A),ee=F(),U&&U.l(A),A.forEach(u),te=H(d),D&&D.l(d),Q=F(),this.h()},h(){var d;R(i,"datetime",C=(d=o[1])==null?void 0:d.created_at),R(i,"class","svelte-uhfiox"),R(f,"class","info svelte-uhfiox"),R($,"class","tech svelte-uhfiox"),R(_,"class","personal definitions svelte-uhfiox")},m(d,m){c(d,t,m),k(t,f),E&&E.m(f,null),k(f,l),k(f,i),k(i,a),k(i,e),k(i,r),c(d,g,m),c(d,$,m),T&&T.m($,null),k($,p),L&&L.m($,null),c(d,b,m),c(d,_,m),w&&w.m(_,null),k(_,Y),S&&S.m(_,null),k(_,Z),I&&I.m(_,null),k(_,y),j&&j.m(_,null),k(_,x),P&&P.m(_,null),k(_,ee),U&&U.m(_,null),c(d,te,m),D&&D.m(d,m),c(d,Q,m),V=!0},p(d,m){var B,W,X,A,he,ve,ke,be,De,ge,Ce,$e,Ee;(B=d[1])!=null&&B.id?E?E.p(d,m):(E=Ie(d),E.c(),E.m(f,l)):E&&(E.d(1),E=null),(!V||m&2)&&s!==(s=new Date((W=d[1])==null?void 0:W.created_at).toLocaleDateString(void 0,{})+"")&&O(a,s),(!V||m&2)&&n!==(n=new Date((X=d[1])==null?void 0:X.created_at).toLocaleTimeString(void 0,{})+"")&&O(r,n),(!V||m&2&&C!==(C=(A=d[1])==null?void 0:A.created_at))&&R(i,"datetime",C),(he=d[1])!=null&&he.external_id?T?T.p(d,m):(T=je(d),T.c(),T.m($,p)):T&&(T.d(1),T=null),(ve=d[1])!=null&&ve.jwt_token?L?L.p(d,m):(L=Pe(d),L.c(),L.m($,null)):L&&(L.d(1),L=null),(ke=d[1])!=null&&ke.name?w?w.p(d,m):(w=Ue(d),w.c(),w.m(_,Y)):w&&(w.d(1),w=null),(be=d[1])!=null&&be.first_name?S?S.p(d,m):(S=Me(d),S.c(),S.m(_,Z)):S&&(S.d(1),S=null),(De=d[1])!=null&&De.middle_name?I?I.p(d,m):(I=Fe(d),I.c(),I.m(_,y)):I&&(I.d(1),I=null),(ge=d[1])!=null&&ge.last_name?j?j.p(d,m):(j=Je(d),j.c(),j.m(_,x)):j&&(j.d(1),j=null),(Ce=d[1])!=null&&Ce.slug?P?P.p(d,m):(P=Ke(d),P.c(),P.m(_,ee)):P&&(P.d(1),P=null),($e=d[1])!=null&&$e.language?U?U.p(d,m):(U=Oe(d),U.c(),U.m(_,null)):U&&(U.d(1),U=null),(Ee=d[1])!=null&&Ee.properties?D?(D.p(d,m),m&2&&N(D,1)):(D=Re(d),D.c(),N(D,1),D.m(Q.parentNode,Q)):D&&(le(),q(D,1,1,()=>{D=null}),ie())},i(d){V||(N(D),V=!0)},o(d){q(D),V=!1},d(d){d&&(u(t),u(g),u($),u(b),u(_),u(te),u(Q)),E&&E.d(),T&&T.d(),L&&L.d(),w&&w.d(),S&&S.d(),I&&I.d(),j&&j.d(),P&&P.d(),U&&U.d(),D&&D.d(d)}}}function nt(o){var s,a,e,n;let t,f,l,i;return document.title=t=(((s=o[1])==null?void 0:s.email)??"Users")+((a=o[2].online)!=null&&a.MPKIT_URL?": "+o[2].online.MPKIT_URL.replace("https://",""):""),l=new xe({props:{title:((e=o[1])==null?void 0:e.email)??((n=o[1])==null?void 0:n.id)??"Loading…",closeUrl:"/users?"+o[0].url.searchParams.toString(),$$slots:{default:[it]},$$scope:{ctx:o}}}),{c(){f=G(),Ne(l.$$.fragment)},l(r){We("svelte-n9gl86",document.head).forEach(u),f=H(r),qe(l.$$.fragment,r)},m(r,C){c(r,f,C),ze(l,r,C),i=!0},p(r,[C]){var $,p,b,_;(!i||C&6)&&t!==(t=((($=r[1])==null?void 0:$.email)??"Users")+((p=r[2].online)!=null&&p.MPKIT_URL?": "+r[2].online.MPKIT_URL.replace("https://",""):""))&&(document.title=t);const g={};C&2&&(g.title=((b=r[1])==null?void 0:b.email)??((_=r[1])==null?void 0:_.id)??"Loading…"),C&1&&(g.closeUrl="/users?"+r[0].url.searchParams.toString()),C&258&&(g.$$scope={dirty:C,ctx:r}),l.$set(g)},i(r){i||(N(l.$$.fragment,r),i=!0)},o(r){q(l.$$.fragment,r),i=!1},d(r){r&&u(f),Ve(l,r)}}}function at(o,t,f){let l,i;Te(o,Xe,e=>f(0,l=e)),Te(o,Ze,e=>f(2,i=e));let s;const a=async()=>{const e={attribute:"id",value:l.params.id};await Ye.get(e).then(n=>{f(1,s=n.results[0]),console.log(s)})};return o.$$.update=()=>{o.$$.dirty&1&&l.params.id&&a()},[l,s,i]}class pt extends He{constructor(t){super(),Qe(this,t,at,nt,Be,{})}}export{pt as component}; +import{s as Be,a as G,p as We,f as u,g as H,i as c,k as Te,e as h,t as J,v as F,c as v,b as M,d as K,y as R,h as k,j as O,A as z,F as Ge,n as Le}from"../chunks/scheduler.CKQ5dLhN.js";import{S as He,i as Qe,c as Ne,d as qe,m as ze,t as N,a as q,f as Ve,g as le,e as ie}from"../chunks/index.CGVWAVV-.js";import{e as we}from"../chunks/each.BWzj3zy9.js";import{p as Xe}from"../chunks/stores.BLuxmlax.js";import{u as Ye}from"../chunks/user.CRviTK4n.js";import{s as Ze}from"../chunks/state.nqMW8J5l.js";import{t as ye}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{A as xe}from"../chunks/Aside.CzwHeuWZ.js";import{J as et}from"../chunks/JSONTree.B6rnjEUC.js";function Se(o,t,f){const l=o.slice();return l[4]=t[f][0],l[5]=t[f][1],l}function Ie(o){var i;let t,f=((i=o[1])==null?void 0:i.id)+"",l;return{c(){t=J("ID: "),l=J(f)},l(s){t=K(s,"ID: "),l=K(s,f)},m(s,a){c(s,t,a),c(s,l,a)},p(s,a){var e;a&2&&f!==(f=((e=s[1])==null?void 0:e.id)+"")&&O(l,f)},d(s){s&&(u(t),u(l))}}}function je(o){var a;let t,f="External ID:",l,i=((a=o[1])==null?void 0:a.external_id)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i),this.h()},l(e){t=v(e,"DT",{class:!0,"data-svelte-h":!0}),z(t)!=="svelte-1xroeo8"&&(t.textContent=f),l=v(e,"DD",{class:!0});var n=M(l);s=K(n,i),n.forEach(u),this.h()},h(){R(t,"class","svelte-uhfiox"),R(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.external_id)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Pe(o){var a;let t,f="JWT:",l,i=((a=o[1])==null?void 0:a.jwt_token)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i),this.h()},l(e){t=v(e,"DT",{class:!0,"data-svelte-h":!0}),z(t)!=="svelte-l7ssfz"&&(t.textContent=f),l=v(e,"DD",{class:!0});var n=M(l);s=K(n,i),n.forEach(u),this.h()},h(){R(t,"class","svelte-uhfiox"),R(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.jwt_token)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Ue(o){var a;let t,f="First name:",l,i=((a=o[1])==null?void 0:a.name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-8iyt8l"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Me(o){var a;let t,f="First name:",l,i=((a=o[1])==null?void 0:a.first_name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-8iyt8l"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.first_name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Fe(o){var a;let t,f="Middle name:",l,i=((a=o[1])==null?void 0:a.middle_name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-1eitmmc"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.middle_name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Je(o){var a;let t,f="Last name:",l,i=((a=o[1])==null?void 0:a.last_name)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-1sn8cp"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.last_name)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Ke(o){var a;let t,f="Slug:",l,i=((a=o[1])==null?void 0:a.slug)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-q9mm1z"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.slug)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Oe(o){var a;let t,f="Language:",l,i=((a=o[1])==null?void 0:a.language)+"",s;return{c(){t=h("dt"),t.textContent=f,l=h("dd"),s=J(i)},l(e){t=v(e,"DT",{"data-svelte-h":!0}),z(t)!=="svelte-14i3pp2"&&(t.textContent=f),l=v(e,"DD",{});var n=M(l);s=K(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,s)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.language)+"")&&O(s,i)},d(e){e&&(u(t),u(l))}}}function Re(o){let t,f,l=we(Object.entries(o[1].properties)),i=[];for(let a=0;aq(i[a],1,1,()=>{i[a]=null});return{c(){t=h("dl");for(let a=0;a{g[_]=null}),ie(),e=g[a],e?e.p(p,b):(e=g[a]=C[a](p),e.c()),N(e,1),e.m(i,n))},i(p){r||(N(e),r=!0)},o(p){q(e),r=!1},d(p){p&&(u(t),u(i)),g[a].d()}}}function it(o){var ne,ae,fe,se,oe,re,de,ue,_e,ce,me,pe;let t,f,l,i,s=new Date((ne=o[1])==null?void 0:ne.created_at).toLocaleDateString(void 0,{})+"",a,e,n=new Date((ae=o[1])==null?void 0:ae.created_at).toLocaleTimeString(void 0,{})+"",r,C,g,$,p,b,_,Y,Z,y,x,ee,te,Q,V,E=((fe=o[1])==null?void 0:fe.id)&&Ie(o),T=((se=o[1])==null?void 0:se.external_id)&&je(o),L=((oe=o[1])==null?void 0:oe.jwt_token)&&Pe(o),w=((re=o[1])==null?void 0:re.name)&&Ue(o),S=((de=o[1])==null?void 0:de.first_name)&&Me(o),I=((ue=o[1])==null?void 0:ue.middle_name)&&Fe(o),j=((_e=o[1])==null?void 0:_e.last_name)&&Je(o),P=((ce=o[1])==null?void 0:ce.slug)&&Ke(o),U=((me=o[1])==null?void 0:me.language)&&Oe(o),D=((pe=o[1])==null?void 0:pe.properties)&&Re(o);return{c(){t=h("div"),f=h("div"),E&&E.c(),l=G(),i=h("time"),a=J(s),e=G(),r=J(n),g=G(),$=h("dl"),T&&T.c(),p=F(),L&&L.c(),b=G(),_=h("dl"),w&&w.c(),Y=F(),S&&S.c(),Z=F(),I&&I.c(),y=F(),j&&j.c(),x=F(),P&&P.c(),ee=F(),U&&U.c(),te=G(),D&&D.c(),Q=F(),this.h()},l(d){t=v(d,"DIV",{});var m=M(t);f=v(m,"DIV",{class:!0});var B=M(f);E&&E.l(B),l=H(B),i=v(B,"TIME",{datetime:!0,class:!0});var W=M(i);a=K(W,s),e=H(W),r=K(W,n),W.forEach(u),B.forEach(u),m.forEach(u),g=H(d),$=v(d,"DL",{class:!0});var X=M($);T&&T.l(X),p=F(),L&&L.l(X),X.forEach(u),b=H(d),_=v(d,"DL",{class:!0});var A=M(_);w&&w.l(A),Y=F(),S&&S.l(A),Z=F(),I&&I.l(A),y=F(),j&&j.l(A),x=F(),P&&P.l(A),ee=F(),U&&U.l(A),A.forEach(u),te=H(d),D&&D.l(d),Q=F(),this.h()},h(){var d;R(i,"datetime",C=(d=o[1])==null?void 0:d.created_at),R(i,"class","svelte-uhfiox"),R(f,"class","info svelte-uhfiox"),R($,"class","tech svelte-uhfiox"),R(_,"class","personal definitions svelte-uhfiox")},m(d,m){c(d,t,m),k(t,f),E&&E.m(f,null),k(f,l),k(f,i),k(i,a),k(i,e),k(i,r),c(d,g,m),c(d,$,m),T&&T.m($,null),k($,p),L&&L.m($,null),c(d,b,m),c(d,_,m),w&&w.m(_,null),k(_,Y),S&&S.m(_,null),k(_,Z),I&&I.m(_,null),k(_,y),j&&j.m(_,null),k(_,x),P&&P.m(_,null),k(_,ee),U&&U.m(_,null),c(d,te,m),D&&D.m(d,m),c(d,Q,m),V=!0},p(d,m){var B,W,X,A,he,ve,ke,be,De,ge,Ce,$e,Ee;(B=d[1])!=null&&B.id?E?E.p(d,m):(E=Ie(d),E.c(),E.m(f,l)):E&&(E.d(1),E=null),(!V||m&2)&&s!==(s=new Date((W=d[1])==null?void 0:W.created_at).toLocaleDateString(void 0,{})+"")&&O(a,s),(!V||m&2)&&n!==(n=new Date((X=d[1])==null?void 0:X.created_at).toLocaleTimeString(void 0,{})+"")&&O(r,n),(!V||m&2&&C!==(C=(A=d[1])==null?void 0:A.created_at))&&R(i,"datetime",C),(he=d[1])!=null&&he.external_id?T?T.p(d,m):(T=je(d),T.c(),T.m($,p)):T&&(T.d(1),T=null),(ve=d[1])!=null&&ve.jwt_token?L?L.p(d,m):(L=Pe(d),L.c(),L.m($,null)):L&&(L.d(1),L=null),(ke=d[1])!=null&&ke.name?w?w.p(d,m):(w=Ue(d),w.c(),w.m(_,Y)):w&&(w.d(1),w=null),(be=d[1])!=null&&be.first_name?S?S.p(d,m):(S=Me(d),S.c(),S.m(_,Z)):S&&(S.d(1),S=null),(De=d[1])!=null&&De.middle_name?I?I.p(d,m):(I=Fe(d),I.c(),I.m(_,y)):I&&(I.d(1),I=null),(ge=d[1])!=null&&ge.last_name?j?j.p(d,m):(j=Je(d),j.c(),j.m(_,x)):j&&(j.d(1),j=null),(Ce=d[1])!=null&&Ce.slug?P?P.p(d,m):(P=Ke(d),P.c(),P.m(_,ee)):P&&(P.d(1),P=null),($e=d[1])!=null&&$e.language?U?U.p(d,m):(U=Oe(d),U.c(),U.m(_,null)):U&&(U.d(1),U=null),(Ee=d[1])!=null&&Ee.properties?D?(D.p(d,m),m&2&&N(D,1)):(D=Re(d),D.c(),N(D,1),D.m(Q.parentNode,Q)):D&&(le(),q(D,1,1,()=>{D=null}),ie())},i(d){V||(N(D),V=!0)},o(d){q(D),V=!1},d(d){d&&(u(t),u(g),u($),u(b),u(_),u(te),u(Q)),E&&E.d(),T&&T.d(),L&&L.d(),w&&w.d(),S&&S.d(),I&&I.d(),j&&j.d(),P&&P.d(),U&&U.d(),D&&D.d(d)}}}function nt(o){var s,a,e,n;let t,f,l,i;return document.title=t=(((s=o[1])==null?void 0:s.email)??"Users")+((a=o[2].online)!=null&&a.MPKIT_URL?": "+o[2].online.MPKIT_URL.replace("https://",""):""),l=new xe({props:{title:((e=o[1])==null?void 0:e.email)??((n=o[1])==null?void 0:n.id)??"Loading…",closeUrl:"/users?"+o[0].url.searchParams.toString(),$$slots:{default:[it]},$$scope:{ctx:o}}}),{c(){f=G(),Ne(l.$$.fragment)},l(r){We("svelte-n9gl86",document.head).forEach(u),f=H(r),qe(l.$$.fragment,r)},m(r,C){c(r,f,C),ze(l,r,C),i=!0},p(r,[C]){var $,p,b,_;(!i||C&6)&&t!==(t=((($=r[1])==null?void 0:$.email)??"Users")+((p=r[2].online)!=null&&p.MPKIT_URL?": "+r[2].online.MPKIT_URL.replace("https://",""):""))&&(document.title=t);const g={};C&2&&(g.title=((b=r[1])==null?void 0:b.email)??((_=r[1])==null?void 0:_.id)??"Loading…"),C&1&&(g.closeUrl="/users?"+r[0].url.searchParams.toString()),C&258&&(g.$$scope={dirty:C,ctx:r}),l.$set(g)},i(r){i||(N(l.$$.fragment,r),i=!0)},o(r){q(l.$$.fragment,r),i=!1},d(r){r&&u(f),Ve(l,r)}}}function at(o,t,f){let l,i;Te(o,Xe,e=>f(0,l=e)),Te(o,Ze,e=>f(2,i=e));let s;const a=async()=>{const e={attribute:"id",value:l.params.id};await Ye.get(e).then(n=>{f(1,s=n.results[0])})};return o.$$.update=()=>{o.$$.dirty&1&&l.params.id&&a()},[l,s,i]}class pt extends He{constructor(t){super(),Qe(this,t,at,nt,Be,{})}}export{pt as component}; diff --git a/gui/next/build/_app/immutable/nodes/3.DyenRAs8.js b/gui/next/build/_app/immutable/nodes/3.DPd-OXBN.js similarity index 78% rename from gui/next/build/_app/immutable/nodes/3.DyenRAs8.js rename to gui/next/build/_app/immutable/nodes/3.DPd-OXBN.js index 626b0fab..dbbe0098 100644 --- a/gui/next/build/_app/immutable/nodes/3.DyenRAs8.js +++ b/gui/next/build/_app/immutable/nodes/3.DPd-OXBN.js @@ -1 +1 @@ -import{s as l,l as i,u as r,m as u,o as f}from"../chunks/scheduler.ts1nwYMk.js";import{S as _,i as c,t as m,a as p}from"../chunks/index.MbwxngTa.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(m(e,t),s=!0)},o(t){p(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; +import{s as l,l as i,u as r,m as u,o as f}from"../chunks/scheduler.CKQ5dLhN.js";import{S as _,i as c,t as m,a as p}from"../chunks/index.CGVWAVV-.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(m(e,t),s=!0)},o(t){p(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; diff --git a/gui/next/build/_app/immutable/nodes/4.5JY42VyP.js b/gui/next/build/_app/immutable/nodes/4.5JY42VyP.js deleted file mode 100644 index f5f11546..00000000 --- a/gui/next/build/_app/immutable/nodes/4.5JY42VyP.js +++ /dev/null @@ -1 +0,0 @@ -import{s as le,e as v,a as N,c as k,b as I,g as K,A as F,f as g,y as b,i as j,h as p,B as X,C as U,F as ie,r as ce,k as Y,E as fe,O as ue,W as ae,t as de,d as he,G as O,j as _e,I as me,n as G,z as Z,l as pe,u as be,m as ge,o as ve}from"../chunks/scheduler.ts1nwYMk.js";import{S as ne,i as re,g as ke,a as V,e as Ee,t as C,j as ye,c as M,d as R,m as W,f as J}from"../chunks/index.MbwxngTa.js";import{e as x}from"../chunks/each.CLm8ZDgo.js";import{f as Se}from"../chunks/index.CqFcJeJT.js";import{p as Ie}from"../chunks/stores.D3n-8z5b.js";import{s as ee}from"../chunks/state.HIdUDD3F.js";import{t as we}from"../chunks/table.Cmn0kCDk.js";import{I as oe}from"../chunks/Icon.Dn_EaQMz.js";function te(i,e,t){const r=i.slice();return r[15]=e[t],r[17]=t,r}function Ce(i){let e,t,r;return t=new oe({props:{icon:"search",size:"18"}}),{c(){e=v("i"),M(t.$$.fragment),this.h()},l(o){e=k(o,"I",{class:!0});var l=I(e);R(t.$$.fragment,l),l.forEach(g),this.h()},h(){b(e,"class","svelte-117f3bg")},m(o,l){j(o,e,l),W(t,e,null),r=!0},p:G,i(o){r||(C(t.$$.fragment,o),r=!0)},o(o){V(t.$$.fragment,o),r=!1},d(o){o&&g(e),J(t)}}}function De(i){let e,t,r="Reset filter",o,l,d,s,a;return l=new oe({props:{icon:"x",size:"18"}}),{c(){e=v("button"),t=v("span"),t.textContent=r,o=N(),M(l.$$.fragment),this.h()},l(n){e=k(n,"BUTTON",{class:!0});var m=I(e);t=k(m,"SPAN",{class:!0,"data-svelte-h":!0}),F(t)!=="svelte-8g7ehw"&&(t.textContent=r),o=K(m),R(l.$$.fragment,m),m.forEach(g),this.h()},h(){b(t,"class","label"),b(e,"class","svelte-117f3bg")},m(n,m){j(n,e,m),p(e,t),p(e,o),W(l,e,null),d=!0,s||(a=U(e,"click",i[8]),s=!0)},p:G,i(n){d||(C(l.$$.fragment,n),d=!0)},o(n){V(l.$$.fragment,n),d=!1},d(n){n&&g(e),J(l),s=!1,a()}}}function se(i){let e,t,r=i[15].name+"",o,l,d,s;return{c(){e=v("li"),t=v("a"),o=de(r),d=N(),this.h()},l(a){e=k(a,"LI",{});var n=I(e);t=k(n,"A",{href:!0,class:!0});var m=I(t);o=he(m,r),m.forEach(g),d=K(n),n.forEach(g),this.h()},h(){b(t,"href",l="/database/table/"+i[15].id),b(t,"class","svelte-117f3bg"),O(t,"active",i[15].id===i[4].params.id)},m(a,n){j(a,e,n),p(e,t),p(t,o),p(e,d)},p(a,n){n&1&&r!==(r=a[15].name+"")&&_e(o,r),n&1&&l!==(l="/database/table/"+a[15].id)&&b(t,"href",l),n&17&&O(t,"active",a[15].id===a[4].params.id)},i(a){a&&(s||me(()=>{s=ye(e,Se,{duration:100,delay:7*i[17]}),s.start()}))},o:G,d(a){a&&g(e)}}}function $e(i){let e,t,r,o,l,d,s,a,n,m="Ctrl",y,z="K",L,D,$,A,T,c;const B=[De,Ce],S=[];function H(f,_){return f[3]?0:1}o=H(i),l=S[o]=B[o](i);let w=x(i[0]),h=[];for(let f=0;f{S[E]=null}),Ee(),l=S[o],l?l.p(f,_):(l=S[o]=B[o](f),l.c()),C(l,1),l.m(r,d)),_&8&&s.value!==f[3]&&X(s,f[3]),_&17){w=x(f[0]);let u;for(u=0;ut(4,r=c)),Y(i,ee,c=>t(13,o=c));let l=o.tables,d=l,s,a,n;(async()=>await we.get())().then(c=>{l=c,t(0,d=c),fe(ee,o.tables=c,o)});const m=ue();ae(async()=>{a.focus(),document.addEventListener("keydown",c=>{c.ctrlKey&&c.key==="k"&&(c.preventDefault(),m("sidebarNeeded"),a.focus(),a.select())}),r.data.table&&s.querySelector(`[href$="${r.data.table.id}"]`).scrollIntoView({behavior:"smooth",block:"center"})});const y=()=>{n?t(0,d=l.filter(c=>c.name.includes(n))):t(0,d=l)},z=c=>{c.key==="Escape"&&(t(3,n=""),y()),c.key==="Enter"&&s.querySelector("li:first-child a").click()},L=c=>{var B,S,H,w,h,f,_,E,u,q;c.key==="ArrowDown"&&s.contains(document.activeElement)&&(c.preventDefault(),document.activeElement.matches("input")?(B=s.querySelector("a"))==null||B.focus():(h=(w=(H=(S=document.activeElement)==null?void 0:S.parentElement)==null?void 0:H.nextElementSibling)==null?void 0:w.querySelector("a"))==null||h.focus()),c.key==="ArrowUp"&&s.contains(document.activeElement)&&(c.preventDefault(),(f=document.activeElement)!=null&&f.matches("li:first-child a")?a.focus():(q=(u=(E=(_=document.activeElement)==null?void 0:_.parentElement)==null?void 0:E.previousElementSibling)==null?void 0:u.querySelector("a"))==null||q.focus()),c.key==="Escape"&&s.contains(document.activeElement)&&(a.focus(),t(3,n=""),y())},D=()=>{t(3,n=null),y()};function $(c){Z[c?"unshift":"push"](()=>{a=c,t(2,a)})}function A(){n=this.value,t(3,n)}function T(c){Z[c?"unshift":"push"](()=>{s=c,t(1,s)})}return[d,s,a,n,r,y,z,L,D,$,A,T]}class Ae extends ne{constructor(e){super(),re(this,e,qe,$e,le,{})}}function Ne(i){let e,t,r,o,l;r=new Ae({}),r.$on("sidebarNeeded",i[3]);const d=i[2].default,s=pe(d,i,i[1],null);return{c(){e=v("div"),t=v("div"),M(r.$$.fragment),o=N(),s&&s.c(),this.h()},l(a){e=k(a,"DIV",{class:!0});var n=I(e);t=k(n,"DIV",{class:!0});var m=I(t);R(r.$$.fragment,m),m.forEach(g),o=K(n),s&&s.l(n),n.forEach(g),this.h()},h(){b(t,"class","tables-container svelte-s8xmdg"),b(e,"class","container svelte-s8xmdg"),O(e,"tablesHidden",i[0])},m(a,n){j(a,e,n),p(e,t),W(r,t,null),p(e,o),s&&s.m(e,null),l=!0},p(a,[n]){s&&s.p&&(!l||n&2)&&be(s,d,a,a[1],l?ve(d,a[1],n,null):ge(a[1]),null),(!l||n&1)&&O(e,"tablesHidden",a[0])},i(a){l||(C(r.$$.fragment,a),C(s,a),l=!0)},o(a){V(r.$$.fragment,a),V(s,a),l=!1},d(a){a&&g(e),J(r),s&&s.d(a)}}}function Ke(i,e,t){let{$$slots:r={},$$scope:o}=e,l=!1;ae(()=>{document.addEventListener("keydown",s=>{!s.target.matches("input, textarea")&&s.key==="b"&&(t(0,l=!l),localStorage.tablesHidden=l)})});const d=()=>t(0,l=!1);return i.$$set=s=>{"$$scope"in s&&t(1,o=s.$$scope)},[l,o,r,d]}class Oe extends ne{constructor(e){super(),re(this,e,Ke,Ne,le,{})}}export{Oe as component}; diff --git a/gui/next/build/_app/immutable/nodes/4.DzlISiii.js b/gui/next/build/_app/immutable/nodes/4.DzlISiii.js new file mode 100644 index 00000000..35802bfa --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/4.DzlISiii.js @@ -0,0 +1 @@ +import{s as le,e as v,a as N,c as k,b as w,g as K,A as F,f as g,y as b,i as j,h as p,B as X,C as H,F as ie,r as ce,k as Y,E as fe,L as ue,U as ae,t as de,d as he,G as M,j as _e,M as me,n as G,z as Z,l as pe,u as be,m as ge,o as ve}from"../chunks/scheduler.CKQ5dLhN.js";import{S as ne,i as re,g as ke,a as L,e as Ee,t as C,j as ye,c as O,d as R,m as J,f as Q}from"../chunks/index.CGVWAVV-.js";import{e as x}from"../chunks/each.BWzj3zy9.js";import{f as Se}from"../chunks/index.WWWgbq8H.js";import{p as we}from"../chunks/stores.BLuxmlax.js";import{s as ee}from"../chunks/state.nqMW8J5l.js";import{t as Ie}from"../chunks/table.Cmn0kCDk.js";import{I as oe}from"../chunks/Icon.CkKwi_WD.js";function te(i,e,t){const r=i.slice();return r[15]=e[t],r[17]=t,r}function Ce(i){let e,t,r;return t=new oe({props:{icon:"search",size:"18"}}),{c(){e=v("i"),O(t.$$.fragment),this.h()},l(o){e=k(o,"I",{class:!0});var l=w(e);R(t.$$.fragment,l),l.forEach(g),this.h()},h(){b(e,"class","svelte-117f3bg")},m(o,l){j(o,e,l),J(t,e,null),r=!0},p:G,i(o){r||(C(t.$$.fragment,o),r=!0)},o(o){L(t.$$.fragment,o),r=!1},d(o){o&&g(e),Q(t)}}}function De(i){let e,t,r="Reset filter",o,l,d,s,a;return l=new oe({props:{icon:"x",size:"18"}}),{c(){e=v("button"),t=v("span"),t.textContent=r,o=N(),O(l.$$.fragment),this.h()},l(n){e=k(n,"BUTTON",{class:!0});var m=w(e);t=k(m,"SPAN",{class:!0,"data-svelte-h":!0}),F(t)!=="svelte-8g7ehw"&&(t.textContent=r),o=K(m),R(l.$$.fragment,m),m.forEach(g),this.h()},h(){b(t,"class","label"),b(e,"class","svelte-117f3bg")},m(n,m){j(n,e,m),p(e,t),p(e,o),J(l,e,null),d=!0,s||(a=H(e,"click",i[8]),s=!0)},p:G,i(n){d||(C(l.$$.fragment,n),d=!0)},o(n){L(l.$$.fragment,n),d=!1},d(n){n&&g(e),Q(l),s=!1,a()}}}function se(i){let e,t,r=i[15].name+"",o,l,d,s;return{c(){e=v("li"),t=v("a"),o=de(r),d=N(),this.h()},l(a){e=k(a,"LI",{});var n=w(e);t=k(n,"A",{href:!0,class:!0});var m=w(t);o=he(m,r),m.forEach(g),d=K(n),n.forEach(g),this.h()},h(){b(t,"href",l="/database/table/"+i[15].id),b(t,"class","svelte-117f3bg"),M(t,"active",i[15].id===i[4].params.id)},m(a,n){j(a,e,n),p(e,t),p(t,o),p(e,d)},p(a,n){n&1&&r!==(r=a[15].name+"")&&_e(o,r),n&1&&l!==(l="/database/table/"+a[15].id)&&b(t,"href",l),n&17&&M(t,"active",a[15].id===a[4].params.id)},i(a){a&&(s||me(()=>{s=ye(e,Se,{duration:100,delay:7*i[17]}),s.start()}))},o:G,d(a){a&&g(e)}}}function $e(i){let e,t,r,o,l,d,s,a,n,m="Ctrl",y,z="K",V,D,$,A,T,c;const U=[De,Ce],S=[];function B(f,_){return f[3]?0:1}o=B(i),l=S[o]=U[o](i);let I=x(i[0]),h=[];for(let f=0;f{S[E]=null}),Ee(),l=S[o],l?l.p(f,_):(l=S[o]=U[o](f),l.c()),C(l,1),l.m(r,d)),_&8&&s.value!==f[3]&&X(s,f[3]),_&17){I=x(f[0]);let u;for(u=0;ut(4,r=c)),Y(i,ee,c=>t(13,o=c));let l=o.tables,d=l,s,a,n;(async()=>await Ie.get())().then(c=>{l=c,t(0,d=c),fe(ee,o.tables=c,o)});const m=ue();ae(async()=>{a.focus(),document.addEventListener("keydown",c=>{c.ctrlKey&&c.key==="k"&&(c.preventDefault(),m("sidebarNeeded"),a.focus(),a.select())}),r.data.table&&s.querySelector(`[href$="${r.data.table.id}"]`).scrollIntoView({behavior:"smooth",block:"center"})});const y=()=>{n?t(0,d=l.filter(c=>c.name.includes(n))):t(0,d=l)},z=c=>{c.key==="Escape"&&(t(3,n=""),y()),c.key==="Enter"&&s.querySelector("li:first-child a").click()},V=c=>{var U,S,B,I,h,f,_,E,u,q;c.key==="ArrowDown"&&s.contains(document.activeElement)&&(c.preventDefault(),document.activeElement.matches("input")?(U=s.querySelector("a"))==null||U.focus():(h=(I=(B=(S=document.activeElement)==null?void 0:S.parentElement)==null?void 0:B.nextElementSibling)==null?void 0:I.querySelector("a"))==null||h.focus()),c.key==="ArrowUp"&&s.contains(document.activeElement)&&(c.preventDefault(),(f=document.activeElement)!=null&&f.matches("li:first-child a")?a.focus():(q=(u=(E=(_=document.activeElement)==null?void 0:_.parentElement)==null?void 0:E.previousElementSibling)==null?void 0:u.querySelector("a"))==null||q.focus()),c.key==="Escape"&&s.contains(document.activeElement)&&(a.focus(),t(3,n=""),y())},D=()=>{t(3,n=null),y()};function $(c){Z[c?"unshift":"push"](()=>{a=c,t(2,a)})}function A(){n=this.value,t(3,n)}function T(c){Z[c?"unshift":"push"](()=>{s=c,t(1,s)})}return[d,s,a,n,r,y,z,V,D,$,A,T]}class Ae extends ne{constructor(e){super(),re(this,e,qe,$e,le,{})}}function Ne(i){let e,t,r,o,l;r=new Ae({}),r.$on("sidebarNeeded",i[3]);const d=i[2].default,s=pe(d,i,i[1],null);return{c(){e=v("div"),t=v("div"),O(r.$$.fragment),o=N(),s&&s.c(),this.h()},l(a){e=k(a,"DIV",{class:!0});var n=w(e);t=k(n,"DIV",{class:!0});var m=w(t);R(r.$$.fragment,m),m.forEach(g),o=K(n),s&&s.l(n),n.forEach(g),this.h()},h(){b(t,"class","tables-container svelte-s8xmdg"),b(e,"class","container svelte-s8xmdg"),M(e,"tablesHidden",i[0])},m(a,n){j(a,e,n),p(e,t),J(r,t,null),p(e,o),s&&s.m(e,null),l=!0},p(a,[n]){s&&s.p&&(!l||n&2)&&be(s,d,a,a[1],l?ve(d,a[1],n,null):ge(a[1]),null),(!l||n&1)&&M(e,"tablesHidden",a[0])},i(a){l||(C(r.$$.fragment,a),C(s,a),l=!0)},o(a){L(r.$$.fragment,a),L(s,a),l=!1},d(a){a&&g(e),Q(r),s&&s.d(a)}}}function Ke(i,e,t){let{$$slots:r={},$$scope:o}=e,l=!1;ae(()=>{document.addEventListener("keydown",s=>{!s.target.matches("input, textarea")&&s.key==="b"&&(t(0,l=!l),localStorage.tablesHidden=l)})});const d=()=>t(0,l=!1);return i.$$set=s=>{"$$scope"in s&&t(1,o=s.$$scope)},[l,o,r,d]}class Me extends ne{constructor(e){super(),re(this,e,Ke,Ne,le,{})}}export{Me as component}; diff --git a/gui/next/build/_app/immutable/nodes/5.DyenRAs8.js b/gui/next/build/_app/immutable/nodes/5.DPd-OXBN.js similarity index 78% rename from gui/next/build/_app/immutable/nodes/5.DyenRAs8.js rename to gui/next/build/_app/immutable/nodes/5.DPd-OXBN.js index 626b0fab..dbbe0098 100644 --- a/gui/next/build/_app/immutable/nodes/5.DyenRAs8.js +++ b/gui/next/build/_app/immutable/nodes/5.DPd-OXBN.js @@ -1 +1 @@ -import{s as l,l as i,u as r,m as u,o as f}from"../chunks/scheduler.ts1nwYMk.js";import{S as _,i as c,t as m,a as p}from"../chunks/index.MbwxngTa.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(m(e,t),s=!0)},o(t){p(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; +import{s as l,l as i,u as r,m as u,o as f}from"../chunks/scheduler.CKQ5dLhN.js";import{S as _,i as c,t as m,a as p}from"../chunks/index.CGVWAVV-.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(m(e,t),s=!0)},o(t){p(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; diff --git a/gui/next/build/_app/immutable/nodes/6.DJhvQLND.js b/gui/next/build/_app/immutable/nodes/6.BbecMI95.js similarity index 93% rename from gui/next/build/_app/immutable/nodes/6.DJhvQLND.js rename to gui/next/build/_app/immutable/nodes/6.BbecMI95.js index 50c1c029..406c3bce 100644 --- a/gui/next/build/_app/immutable/nodes/6.DJhvQLND.js +++ b/gui/next/build/_app/immutable/nodes/6.BbecMI95.js @@ -1,3 +1,3 @@ -import{s as ze,z as Fe,a as A,e as _,t as se,p as He,f as p,g as C,c,b as E,A as ie,d as ae,y as a,i as _e,h as n,B as me,C as ue,D as Ke,j as fe,r as Ve,k as we,E as je,F as Ge,G as Z,l as Ye,u as Je,m as Qe,o as We,H as Xe}from"../chunks/scheduler.ts1nwYMk.js";import{S as Ze,i as xe,b as et,c as de,d as be,m as Ee,t as j,a as x,e as tt,f as Te,g as st}from"../chunks/index.MbwxngTa.js";import{g as at}from"../chunks/globals.D0QH3NT1.js";import{e as ye}from"../chunks/each.CLm8ZDgo.js";import{g as lt}from"../chunks/entry.DYTJR7db.js";import{p as rt}from"../chunks/stores.D3n-8z5b.js";import{l as nt}from"../chunks/logsv2.twsCDidx.js";import{s as Me}from"../chunks/state.HIdUDD3F.js";import{I as Ne}from"../chunks/Icon.Dn_EaQMz.js";import{N as ot}from"../chunks/Number.CAl2R2zF.js";const{document:Se}=at;function Oe(t,l,i){const e=t.slice();return e[16]=l[i],e}function Re(t){let l,i=ye(t[3].logsv2.hits),e=[];for(let s=0;set(U,"value",qe)),U.$on("input",t[14]);let b=t[0].params.id&&Be(t);return{c(){i=A(),e=_("div"),s=_("section"),f=_("nav"),r=_("form"),g=_("label"),g.textContent=w,k=A(),v=_("input"),T=A(),S=_("fieldset"),y=_("label"),de(L.$$.fragment),D=A(),d=_("input"),N=A(),P=_("button"),m=_("span"),m.textContent=B,h=A(),de(u.$$.fragment),G=A(),F=_("article"),M=_("table"),O=_("thead"),O.innerHTML=ee,Y=A(),I&&I.c(),J=A(),R=_("nav"),K=_("label"),K.textContent=Le,ce=A(),de(U.$$.fragment),he=se(`\r +import{s as ze,z as Fe,a as A,e as _,t as se,p as He,f as p,g as C,c,b as E,A as ie,d as ae,y as a,i as _e,h as n,B as me,C as ue,D as Ke,j as fe,r as Ve,k as we,E as je,F as Ge,G as Z,l as Ye,u as Je,m as Qe,o as We,H as Xe}from"../chunks/scheduler.CKQ5dLhN.js";import{S as Ze,i as xe,b as et,c as de,d as be,m as Ee,t as j,a as x,e as tt,f as Te,g as st}from"../chunks/index.CGVWAVV-.js";import{g as at}from"../chunks/globals.D0QH3NT1.js";import{e as ye}from"../chunks/each.BWzj3zy9.js";import{g as lt}from"../chunks/entry.COceLI_i.js";import{p as rt}from"../chunks/stores.BLuxmlax.js";import{l as nt}from"../chunks/logsv2.twsCDidx.js";import{s as Me}from"../chunks/state.nqMW8J5l.js";import{I as Ne}from"../chunks/Icon.CkKwi_WD.js";import{N as ot}from"../chunks/Number.B4JDnNHn.js";const{document:Se}=at;function Oe(t,l,i){const e=t.slice();return e[16]=l[i],e}function Re(t){let l,i=ye(t[3].logsv2.hits),e=[];for(let s=0;set(U,"value",qe)),U.$on("input",t[14]);let b=t[0].params.id&&Be(t);return{c(){i=A(),e=_("div"),s=_("section"),f=_("nav"),r=_("form"),g=_("label"),g.textContent=w,k=A(),v=_("input"),T=A(),S=_("fieldset"),y=_("label"),de(L.$$.fragment),D=A(),d=_("input"),N=A(),P=_("button"),m=_("span"),m.textContent=B,h=A(),de(u.$$.fragment),G=A(),F=_("article"),M=_("table"),O=_("thead"),O.innerHTML=ee,Y=A(),I&&I.c(),J=A(),R=_("nav"),K=_("label"),K.textContent=Le,ce=A(),de(U.$$.fragment),he=se(`\r of `),z=_("span"),le=se(te),ge=A(),b&&b.c(),this.h()},l(o){He("svelte-dfdkqr",Se.head).forEach(p),i=C(o),e=c(o,"DIV",{class:!0});var H=E(e);s=c(H,"SECTION",{class:!0});var q=E(s);f=c(q,"NAV",{class:!0});var De=E(f);r=c(De,"FORM",{action:!0,id:!0,class:!0});var Q=E(r);g=c(Q,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ie(g)!=="svelte-125i4ut"&&(g.textContent=w),k=C(Q),v=c(Q,"INPUT",{type:!0,name:!0,id:!0,min:!0,max:!0,class:!0}),T=C(Q),S=c(Q,"FIELDSET",{class:!0});var W=E(S);y=c(W,"LABEL",{for:!0,class:!0});var $e=E(y);be(L.$$.fragment,$e),$e.forEach(p),D=C(W),d=c(W,"INPUT",{type:!0,name:!0,id:!0,placeholder:!0,class:!0}),N=C(W),P=c(W,"BUTTON",{type:!0,class:!0});var ne=E(P);m=c(ne,"SPAN",{class:!0,"data-svelte-h":!0}),ie(m)!=="svelte-y4mewk"&&(m.textContent=B),h=C(ne),be(u.$$.fragment,ne),ne.forEach(p),W.forEach(p),Q.forEach(p),De.forEach(p),G=C(q),F=c(q,"ARTICLE",{class:!0});var Ae=E(F);M=c(Ae,"TABLE",{class:!0});var oe=E(M);O=c(oe,"THEAD",{class:!0,"data-svelte-h":!0}),ie(O)!=="svelte-uyatsk"&&(O.innerHTML=ee),Y=C(oe),I&&I.l(oe),oe.forEach(p),Ae.forEach(p),J=C(q),R=c(q,"NAV",{class:!0});var X=E(R);K=c(X,"LABEL",{for:!0,"data-svelte-h":!0}),ie(K)!=="svelte-1xadase"&&(K.textContent=Le),ce=C(X),be(U.$$.fragment,X),he=ae(X,`\r of `),z=c(X,"SPAN",{class:!0,title:!0});var Ce=E(z);le=ae(Ce,te),Ce.forEach(p),X.forEach(p),q.forEach(p),ge=C(H),b&&b.l(H),H.forEach(p),this.h()},h(){a(g,"for","start_time"),a(g,"class","label svelte-1mrr17l"),a(v,"type","date"),a(v,"name","start_time"),a(v,"id","start_time"),a(v,"min",t[5].toISOString().split("T")[0]),a(v,"max",t[4].toISOString().split("T")[0]),a(v,"class","svelte-1mrr17l"),a(y,"for","filter_message"),a(y,"class","svelte-1mrr17l"),a(d,"type","text"),a(d,"name","message"),a(d,"id","filter_message"),a(d,"placeholder","Find logs"),a(d,"class","svelte-1mrr17l"),a(m,"class","label svelte-1mrr17l"),a(P,"type","submit"),a(P,"class","button svelte-1mrr17l"),a(S,"class","search svelte-1mrr17l"),a(r,"action",""),a(r,"id","filters"),a(r,"class","svelte-1mrr17l"),a(f,"class","filters svelte-1mrr17l"),a(O,"class","svelte-1mrr17l"),a(M,"class","svelte-1mrr17l"),a(F,"class","content svelte-1mrr17l"),a(K,"for","page"),a(z,"class","info svelte-1mrr17l"),a(z,"title",re=t[3].logsv2.total+" logs total"),a(R,"class","pagination svelte-1mrr17l"),a(s,"class","container svelte-1mrr17l"),a(e,"class","page svelte-1mrr17l")},m(o,$){_e(o,i,$),_e(o,e,$),n(e,s),n(s,f),n(f,r),n(r,g),n(r,k),n(r,v),me(v,t[2].start_time),n(r,T),n(r,S),n(S,y),Ee(L,y,null),n(S,D),n(S,d),me(d,t[2].message),n(S,N),n(S,P),n(P,m),n(P,h),Ee(u,P,null),t[11](r),n(s,G),n(s,F),n(F,M),n(M,O),n(M,Y),I&&I.m(M,null),n(s,J),n(s,R),n(R,K),n(R,ce),Ee(U,R,null),n(R,he),n(R,z),n(z,le),n(e,ge),b&&b.m(e,null),V=!0,ve||(Pe=[ue(v,"input",t[8]),ue(v,"input",t[9]),ue(d,"input",t[10]),ue(r,"submit",t[12])],ve=!0)},p(o,[$]){var q;(!V||$&8)&&l!==(l="Logs"+((q=o[3].online)!=null&&q.MPKIT_URL?": "+o[3].online.MPKIT_URL.replace("https://",""):""))&&(Se.title=l),$&4&&me(v,o[2].start_time),$&4&&d.value!==o[2].message&&me(d,o[2].message),o[3].logsv2.hits?I?I.p(o,$):(I=Re(o),I.c(),I.m(M,null)):I&&(I.d(1),I=null);const H={};$&8&&(H.max=Math.ceil(o[3].logsv2.total/o[3].logsv2.size)||20),!pe&&$&4&&(pe=!0,H.value=o[2].page,Ke(()=>pe=!1)),U.$set(H),(!V||$&8)&&te!==(te=(Math.ceil(o[3].logsv2.total/o[3].logsv2.size)||1)+"")&&fe(le,te),(!V||$&8&&re!==(re=o[3].logsv2.total+" logs total"))&&a(z,"title",re),o[0].params.id?b?(b.p(o,$),$&1&&j(b,1)):(b=Be(o),b.c(),j(b,1),b.m(e,null)):b&&(st(),x(b,1,1,()=>{b=null}),tt())},i(o){V||(j(L.$$.fragment,o),j(u.$$.fragment,o),j(U.$$.fragment,o),j(b),V=!0)},o(o){x(L.$$.fragment,o),x(u.$$.fragment,o),x(U.$$.fragment,o),x(b),V=!1},d(o){o&&(p(i),p(e)),Te(L),Te(u),t[11](null),I&&I.d(),Te(U),b&&b.d(),ve=!1,Ve(Pe)}}}function mt(t,l,i){let e,s;we(t,Me,m=>i(3,e=m)),we(t,rt,m=>i(0,s=m));let{$$slots:f={},$$scope:r}=l,g;const w=new Date,k=1e3*60*60*24,v=new Date(w-k*3);let T={page:1,start_time:w.toISOString().split("T")[0],...Object.fromEntries(s.url.searchParams)};function S(){T.start_time=this.value,i(2,T)}const y=()=>g.requestSubmit();function L(){T.message=this.value,i(2,T)}function D(m){Fe[m?"unshift":"push"](()=>{g=m,i(1,g)})}const d=async m=>{var B;((B=m.submitter)==null?void 0:B.dataset.action)!=="numberIncrease"&&(m.preventDefault(),i(2,T.page=1,T),await Xe(),lt(document.location.pathname+"?"+new URLSearchParams(new FormData(m.target)).toString()))};function N(m){t.$$.not_equal(T.page,m)&&(T.page=m,i(2,T))}const P=m=>{g.requestSubmit(m.detail.submitter)};return t.$$set=m=>{"$$scope"in m&&i(6,r=m.$$scope)},t.$$.update=()=>{t.$$.dirty&1&&nt.get(Object.fromEntries(s.url.searchParams)).then(m=>je(Me,e.logsv2=m,e))},[s,g,T,e,w,v,r,f,S,y,L,D,d,N,P]}class Et extends Ze{constructor(l){super(),xe(this,l,mt,it,ze,{})}}export{Et as component}; diff --git a/gui/next/build/_app/immutable/nodes/7.ClLBq3fR.js b/gui/next/build/_app/immutable/nodes/7.ClLBq3fR.js deleted file mode 100644 index b5d2e65b..00000000 --- a/gui/next/build/_app/immutable/nodes/7.ClLBq3fR.js +++ /dev/null @@ -1 +0,0 @@ -import{s as Rl,e as f,a as O,c as h,b as g,g as L,A as ie,f as _,y as o,i as U,h as n,C as Ee,M as Ul,F as Wt,r as Qt,O as Vl,t as M,d as y,j as Y,z as Ce,p as jl,G as be,B as oe,_ as Zl,$ as kl,k as wl,W as Kl,n as zl,a0 as Jl,l as Gl,u as Yl,m as Wl,o as Ql,H as Tl,a1 as Xl,E as Nl}from"../chunks/scheduler.ts1nwYMk.js";import{S as Hl,i as Bl,c as Ie,d as Oe,m as Le,t as V,g as Nt,e as Ct,a as K,f as qe}from"../chunks/index.MbwxngTa.js";import{e as We}from"../chunks/each.CLm8ZDgo.js";import{o as xl,b as es,a as ts}from"../chunks/entry.DYTJR7db.js";import{p as ls}from"../chunks/stores.D3n-8z5b.js";import{n as ss}from"../chunks/network.hGAcGvnf.js";import{s as Yt}from"../chunks/state.HIdUDD3F.js";import{T as as,c as rs}from"../chunks/Toggle.CWtzvS12.js";import{I as Qe}from"../chunks/Icon.Dn_EaQMz.js";import{g as ns}from"../chunks/globals.D0QH3NT1.js";const{window:os}=ns;function Cl(t,l,s){const e=t.slice();return e[9]=l[s],e[11]=s,e}function Il(t){let l,s,e=t[9].name+"",a,i,r,u,E,P,p,k,c,b,C,T,w=t[9].name+"",d,N,v,m,D,S,j,ue;return m=new Qe({props:{icon:"x"}}),{c(){l=f("li"),s=f("a"),a=M(e),r=O(),u=f("form"),E=f("input"),P=O(),p=f("input"),c=O(),b=f("button"),C=f("span"),T=M("Delete '"),d=M(w),N=M("' preset"),v=O(),Ie(m.$$.fragment),D=O(),this.h()},l(A){l=h(A,"LI",{class:!0});var R=g(l);s=h(R,"A",{href:!0,class:!0});var W=g(s);a=y(W,e),W.forEach(_),r=L(R),u=h(R,"FORM",{class:!0});var x=g(u);E=h(x,"INPUT",{type:!0,name:!0}),P=L(x),p=h(x,"INPUT",{type:!0,name:!0}),c=L(x),b=h(x,"BUTTON",{type:!0,class:!0});var G=g(b);C=h(G,"SPAN",{class:!0});var Q=g(C);T=y(Q,"Delete '"),d=y(Q,w),N=y(Q,"' preset"),Q.forEach(_),v=L(G),Oe(m.$$.fragment,G),G.forEach(_),x.forEach(_),D=L(R),R.forEach(_),this.h()},h(){o(s,"href",i="/network?"+t[9].url),o(s,"class","svelte-778p5v"),o(E,"type","hidden"),o(E,"name","id"),E.value=t[11],o(p,"type","hidden"),o(p,"name","name"),p.value=k=t[9].name,o(C,"class","label"),o(b,"type","submit"),o(b,"class","svelte-778p5v"),o(u,"class","svelte-778p5v"),o(l,"class","svelte-778p5v")},m(A,R){U(A,l,R),n(l,s),n(s,a),n(l,r),n(l,u),n(u,E),n(u,P),n(u,p),n(u,c),n(u,b),n(b,C),n(C,T),n(C,d),n(C,N),n(b,v),Le(m,b,null),n(l,D),S=!0,j||(ue=Ee(u,"submit",Ul(t[5])),j=!0)},p(A,R){(!S||R&4)&&e!==(e=A[9].name+"")&&Y(a,e),(!S||R&4&&i!==(i="/network?"+A[9].url))&&o(s,"href",i),(!S||R&4&&k!==(k=A[9].name))&&(p.value=k),(!S||R&4)&&w!==(w=A[9].name+"")&&Y(d,w)},i(A){S||(V(m.$$.fragment,A),S=!0)},o(A){K(m.$$.fragment,A),S=!1},d(A){A&&_(l),qe(m),j=!1,ue()}}}function Ol(t){let l,s="You can save your current filters selection to get back to them quickly in the future.";return{c(){l=f("div"),l.textContent=s,this.h()},l(e){l=h(e,"DIV",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-14bf7on"&&(l.textContent=s),this.h()},h(){o(l,"class","message svelte-778p5v")},m(e,a){U(e,l,a)},d(e){e&&_(l)}}}function is(t){let l,s,e,a,i,r,u="Save currently selected filters as new preset",E,P,p,k,c,b,C,T;P=new Qe({props:{icon:"plus"}});let w=We(t[2]),d=[];for(let m=0;mK(d[m],1,1,()=>{d[m]=null});let v=!t[2].length&&Ol();return{c(){l=f("div"),s=f("form"),e=f("input"),a=O(),i=f("button"),r=f("span"),r.textContent=u,E=O(),Ie(P.$$.fragment),p=O(),k=f("ul");for(let m=0;m{r("close")});function E(c){let b=new URLSearchParams(document.location.search);b.delete("start_time"),s(2,i=[...i,{url:b.toString(),name:a.value}]),localStorage.posNetworkLogsPresets=JSON.stringify(i),s(1,a.value="",a)}function P(c){const b=new FormData(c.target),C=b.get("id"),T=b.get("name");window.confirm(`Are you sure that you want to delete '${T}' preset?`)&&(i.splice(C,1),s(2,i),localStorage.posNetworkLogsPresets=JSON.stringify(i))}function p(c){Ce[c?"unshift":"push"](()=>{a=c,s(1,a)})}function k(c){Ce[c?"unshift":"push"](()=>{e=c,s(0,e)})}return[e,a,i,u,E,P,p,k]}class _s extends Hl{constructor(l){super(),Bl(this,l,us,is,Rl,{})}}function Ll(t,l,s){const e=t.slice();return e[33]=l[s],e}function ql(t,l,s){const e=t.slice();return e[36]=l[s],e}function Dl(t){let l,s;return l=new _s({}),l.$on("close",t[13]),{c(){Ie(l.$$.fragment)},l(e){Oe(l.$$.fragment,e)},m(e,a){Le(l,e,a),s=!0},p:zl,i(e){s||(V(l.$$.fragment,e),s=!0)},o(e){K(l.$$.fragment,e),s=!1},d(e){qe(l,e)}}}function cs(t){let l,s;return l=new Qe({props:{icon:"sortAZ"}}),{c(){Ie(l.$$.fragment)},l(e){Oe(l.$$.fragment,e)},m(e,a){Le(l,e,a),s=!0},i(e){s||(V(l.$$.fragment,e),s=!0)},o(e){K(l.$$.fragment,e),s=!1},d(e){qe(l,e)}}}function fs(t){let l,s;return l=new Qe({props:{icon:"sortZA"}}),{c(){Ie(l.$$.fragment)},l(e){Oe(l.$$.fragment,e)},m(e,a){Le(l,e,a),s=!0},i(e){s||(V(l.$$.fragment,e),s=!0)},o(e){K(l.$$.fragment,e),s=!1},d(e){qe(l,e)}}}function Al(t){let l,s=We(t[10].networks.aggs.filters),e=[];for(let a=0;a=200&&t[33].lb_status_code<300),be(u,"info",t[33].lb_status_code>=300&&t[33].lb_status_code<400),be(u,"error",t[33].lb_status_code>=400&&t[33].lb_status_code<600)},m(c,b){U(c,l,b),n(l,s),n(s,a),U(c,r,b),U(c,u,b),n(u,E),n(E,p)},p(c,b){b[0]&1024&&e!==(e=new Date(c[33]._timestamp/1e3).toLocaleString()+"")&&Y(a,e),b[0]&1536&&i!==(i="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(s,"href",i),b[0]&1024&&P!==(P=c[33].lb_status_code+"")&&Y(p,P),b[0]&1536&&k!==(k="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(E,"href",k),b[0]&1024&&be(u,"success",c[33].lb_status_code>=200&&c[33].lb_status_code<300),b[0]&1024&&be(u,"info",c[33].lb_status_code>=300&&c[33].lb_status_code<400),b[0]&1024&&be(u,"error",c[33].lb_status_code>=400&&c[33].lb_status_code<600)},d(c){c&&(_(l),_(r),_(u))}}}function gs(t){let l,s,e=t[33].count+"",a;return{c(){l=f("td"),s=f("div"),a=M(e),this.h()},l(i){l=h(i,"TD",{class:!0});var r=g(l);s=h(r,"DIV",{class:!0});var u=g(s);a=y(u,e),u.forEach(_),r.forEach(_),this.h()},h(){o(s,"class","svelte-lmet59"),o(l,"class","count svelte-lmet59")},m(i,r){U(i,l,r),n(l,s),n(s,a)},p(i,r){r[0]&1024&&e!==(e=i[33].count+"")&&Y(a,e)},d(i){i&&_(l)}}}function ps(t){let l,s,e=t[33].http_request_method+"",a,i,r=t[33].http_request_path+"",u;return{c(){l=f("div"),s=f("span"),a=M(e),i=O(),u=M(r),this.h()},l(E){l=h(E,"DIV",{class:!0});var P=g(l);s=h(P,"SPAN",{class:!0});var p=g(s);a=y(p,e),p.forEach(_),i=L(P),u=y(P,r),P.forEach(_),this.h()},h(){o(s,"class","method svelte-lmet59"),o(l,"class","svelte-lmet59")},m(E,P){U(E,l,P),n(l,s),n(s,a),n(l,i),n(l,u)},p(E,P){P[0]&1024&&e!==(e=E[33].http_request_method+"")&&Y(a,e),P[0]&1024&&r!==(r=E[33].http_request_path+"")&&Y(u,r)},d(E){E&&_(l)}}}function vs(t){let l,s,e,a=t[33].http_request_method+"",i,r,u=t[33].http_request_path+"",E,P;return{c(){l=f("a"),s=f("div"),e=f("span"),i=M(a),r=O(),E=M(u),this.h()},l(p){l=h(p,"A",{href:!0,class:!0});var k=g(l);s=h(k,"DIV",{class:!0});var c=g(s);e=h(c,"SPAN",{class:!0});var b=g(e);i=y(b,a),b.forEach(_),r=L(c),E=y(c,u),c.forEach(_),k.forEach(_),this.h()},h(){o(e,"class","method svelte-lmet59"),o(s,"class","svelte-lmet59"),o(l,"href",P="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(p,k){U(p,l,k),n(l,s),n(s,e),n(e,i),n(s,r),n(s,E)},p(p,k){k[0]&1024&&a!==(a=p[33].http_request_method+"")&&Y(i,a),k[0]&1024&&u!==(u=p[33].http_request_path+"")&&Y(E,u),k[0]&1536&&P!==(P="/network/"+p[33]._timestamp+"?"+p[9].url.searchParams.toString())&&o(l,"href",P)},d(p){p&&_(l)}}}function bs(t){let l,s=Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=f("div"),e=M(s),a=M("s"),this.h()},l(r){l=h(r,"DIV",{title:!0,class:!0});var u=g(l);e=y(u,s),a=y(u,"s"),u.forEach(_),this.h()},h(){o(l,"title",i="Median: "+Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(t[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(t[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(t[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s"),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&Y(e,s),u[0]&1024&&i!==(i="Median: "+Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(r[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(r[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(r[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s")&&o(l,"title",i)},d(r){r&&_(l)}}}function Es(t){let l,s=Math.round((parseFloat(t[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=f("a"),e=M(s),a=M("s"),this.h()},l(r){l=h(r,"A",{href:!0,class:!0});var u=g(l);e=y(u,s),a=y(u,"s"),u.forEach(_),this.h()},h(){o(l,"href",i="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&Y(e,s),u[0]&1536&&i!==(i="/network/"+r[33]._timestamp+"?"+r[9].url.searchParams.toString())&&o(l,"href",i)},d(r){r&&_(l)}}}function $l(t){let l,s,e,a,i,r,u,E,P;function p(v,m){return m[0]&512&&(s=null),s==null&&(s=!!v[9].url.searchParams.get("aggregate")),s?gs:ds}let k=p(t,[-1,-1]),c=k(t);function b(v,m){return m[0]&512&&(i=null),i==null&&(i=!v[9].url.searchParams.get("aggregate")),i?vs:ps}let C=b(t,[-1,-1]),T=C(t);function w(v,m){return m[0]&512&&(E=null),E==null&&(E=!v[9].url.searchParams.get("aggregate")),E?Es:bs}let d=w(t,[-1,-1]),N=d(t);return{c(){l=f("tr"),c.c(),e=O(),a=f("td"),T.c(),r=O(),u=f("td"),N.c(),P=O(),this.h()},l(v){l=h(v,"TR",{class:!0});var m=g(l);c.l(m),e=L(m),a=h(m,"TD",{class:!0});var D=g(a);T.l(D),D.forEach(_),r=L(m),u=h(m,"TD",{class:!0});var S=g(u);N.l(S),S.forEach(_),P=L(m),m.forEach(_),this.h()},h(){o(a,"class","request svelte-lmet59"),o(u,"class","duration svelte-lmet59"),o(l,"class","svelte-lmet59"),be(l,"active",t[33]._timestamp&&t[9].params.id==t[33]._timestamp)},m(v,m){U(v,l,m),c.m(l,null),n(l,e),n(l,a),T.m(a,null),n(l,r),n(l,u),N.m(u,null),n(l,P)},p(v,m){k===(k=p(v,m))&&c?c.p(v,m):(c.d(1),c=k(v),c&&(c.c(),c.m(l,e))),C===(C=b(v,m))&&T?T.p(v,m):(T.d(1),T=C(v),T&&(T.c(),T.m(a,null))),d===(d=w(v,m))&&N?N.p(v,m):(N.d(1),N=d(v),N&&(N.c(),N.m(u,null))),m[0]&1536&&be(l,"active",v[33]._timestamp&&v[9].params.id==v[33]._timestamp)},d(v){v&&_(l),c.d(),T.d(),N.d()}}}function Fl(t){let l;const s=t[15].default,e=Gl(s,t,t[14],null);return{c(){e&&e.c()},l(a){e&&e.l(a)},m(a,i){e&&e.m(a,i),l=!0},p(a,i){e&&e.p&&(!l||i[0]&16384)&&Yl(e,s,a,a[14],l?Ql(s,a[14],i,null):Wl(a[14]),null)},i(a){l||(V(e,a),l=!0)},o(a){K(e,a),l=!1},d(a){e&&e.d(a)}}}function Ps(t){var rl,nl,ol,il,ul;let l,s,e,a,i,r,u="Filters",E,P,p,k,c="Choose filters preset",b,C,T,w,d,N="Reset",v,m,D,S,j,ue,A,R,W,x,G,Q,lt='',Xe,ee,Z,X,Ve,I,je,te,It,st,at,le,Ot,rt,nt,se,Lt,ot,it,ae,qt,ut,_t,re,Dt,ct,ft,At,_e,me,Mt,ht,de,yt,mt,$t,we,dt,ce,fe,Ft,De,Ae,Xt='',Rt,ne,gt,Ut,ge,Me,xt="Status Code",Ht,pe,Bt,Vt,Ze,Ke,Pe,ze,he,pt,vt,Te,xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"",bt,jt,et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"",Et,Zt,ye,el="Processing Time",Kt,zt,$,Jt,tl;document.title=l="Logs"+((rl=t[10].online)!=null&&rl.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""),C=new Qe({props:{icon:"controlls"}}),m=new Qe({props:{icon:"disable"}});let H=t[7]&&Dl(t);W=new as({props:{name:"aggregate",options:[{value:"http_request_path",label:"Aggregate requests"}],checked:t[9].url.searchParams.get("aggregate")}}),W.$on("change",t[19]);const ll=[fs,cs],$e=[];function sl(F,q){return q[0]&512&&(dt=null),dt==null&&(dt=F[9].url.searchParams.get("order")==="DESC"||!F[9].url.searchParams.get("order")),dt?0:1}ce=sl(t,[-1,-1]),fe=$e[ce]=ll[ce](t);let z=((ol=(nl=t[10].networks)==null?void 0:nl.aggs)==null?void 0:ol.filters)&&Al(t);function al(F,q){return q[0]&512&&(pt=null),pt==null&&(pt=!!F[9].url.searchParams.get("aggregate")),pt?ms:hs}let Pt=al(t,[-1,-1]),Se=Pt(t),J=((ul=(il=t[10].networks)==null?void 0:il.aggs)==null?void 0:ul.results)&&yl(t),B=t[9].params.id&&Fl(t);return{c(){s=O(),e=f("div"),a=f("nav"),i=f("header"),r=f("h2"),r.textContent=u,E=O(),P=f("nav"),p=f("button"),k=f("span"),k.textContent=c,b=O(),Ie(C.$$.fragment),T=O(),w=f("a"),d=f("span"),d.textContent=N,v=O(),Ie(m.$$.fragment),D=O(),S=f("dialog"),H&&H.c(),ue=O(),A=f("form"),R=f("fieldset"),Ie(W.$$.fragment),x=O(),G=f("fieldset"),Q=f("h3"),Q.innerHTML=lt,Xe=O(),ee=f("div"),Z=f("select"),X=f("option"),Ve=M("Count"),te=f("option"),It=M("Request path"),le=f("option"),Ot=M("Processing time"),se=f("option"),Lt=M("Time"),ae=f("option"),qt=M("Request path"),re=f("option"),Dt=M("Processing Time"),At=O(),_e=f("select"),me=f("option"),Mt=M("DESC [Z→A]"),de=f("option"),yt=M("ASC [A→Z]"),$t=O(),we=f("label"),fe.c(),Ft=O(),De=f("fieldset"),Ae=f("h3"),Ae.innerHTML=Xt,Rt=O(),ne=f("input"),Ut=O(),ge=f("fieldset"),Me=f("h3"),Me.textContent=xt,Ht=O(),pe=f("input"),Bt=O(),z&&z.c(),Vt=O(),Ze=f("section"),Ke=f("article"),Pe=f("table"),ze=f("thead"),he=f("tr"),Se.c(),vt=O(),Te=f("th"),bt=M(xe),jt=M("Request"),Et=M(et),Zt=O(),ye=f("th"),ye.textContent=el,Kt=O(),J&&J.c(),zt=O(),B&&B.c(),this.h()},l(F){jl("svelte-dfdkqr",document.head).forEach(_),s=L(F),e=h(F,"DIV",{class:!0});var ke=g(e);a=h(ke,"NAV",{class:!0});var ve=g(a);i=h(ve,"HEADER",{class:!0});var Fe=g(i);r=h(Fe,"H2",{class:!0,"data-svelte-h":!0}),ie(r)!=="svelte-1ydm89n"&&(r.textContent=u),E=L(Fe),P=h(Fe,"NAV",{class:!0});var Re=g(P);p=h(Re,"BUTTON",{type:!0,title:!0,class:!0});var Ue=g(p);k=h(Ue,"SPAN",{class:!0,"data-svelte-h":!0}),ie(k)!=="svelte-p09m9k"&&(k.textContent=c),b=L(Ue),Oe(C.$$.fragment,Ue),Ue.forEach(_),T=L(Re),w=h(Re,"A",{href:!0,title:!0,class:!0});var He=g(w);d=h(He,"SPAN",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-1c96jh2"&&(d.textContent=N),v=L(He),Oe(m.$$.fragment,He),He.forEach(_),Re.forEach(_),Fe.forEach(_),D=L(ve),S=h(ve,"DIALOG",{class:!0});var tt=g(S);H&&H.l(tt),tt.forEach(_),ue=L(ve),A=h(ve,"FORM",{action:!0,id:!0,class:!0});var Ne=g(A);R=h(Ne,"FIELDSET",{class:!0});var _l=g(R);Oe(W.$$.fragment,_l),_l.forEach(_),x=L(Ne),G=h(Ne,"FIELDSET",{class:!0});var St=g(G);Q=h(St,"H3",{class:!0,"data-svelte-h":!0}),ie(Q)!=="svelte-e2rbyt"&&(Q.innerHTML=lt),Xe=L(St),ee=h(St,"DIV",{class:!0});var Je=g(ee);Z=h(Je,"SELECT",{name:!0,id:!0,class:!0});var Be=g(Z);X=h(Be,"OPTION",{});var cl=g(X);Ve=y(cl,"Count"),cl.forEach(_),te=h(Be,"OPTION",{});var fl=g(te);It=y(fl,"Request path"),fl.forEach(_),le=h(Be,"OPTION",{});var hl=g(le);Ot=y(hl,"Processing time"),hl.forEach(_),se=h(Be,"OPTION",{});var ml=g(se);Lt=y(ml,"Time"),ml.forEach(_),ae=h(Be,"OPTION",{});var dl=g(ae);qt=y(dl,"Request path"),dl.forEach(_),re=h(Be,"OPTION",{});var gl=g(re);Dt=y(gl,"Processing Time"),gl.forEach(_),Be.forEach(_),At=L(Je),_e=h(Je,"SELECT",{name:!0,id:!0,class:!0});var Gt=g(_e);me=h(Gt,"OPTION",{});var pl=g(me);Mt=y(pl,"DESC [Z→A]"),pl.forEach(_),de=h(Gt,"OPTION",{});var vl=g(de);yt=y(vl,"ASC [A→Z]"),vl.forEach(_),Gt.forEach(_),$t=L(Je),we=h(Je,"LABEL",{for:!0,class:!0});var bl=g(we);fe.l(bl),bl.forEach(_),Je.forEach(_),St.forEach(_),Ft=L(Ne),De=h(Ne,"FIELDSET",{});var kt=g(De);Ae=h(kt,"H3",{class:!0,"data-svelte-h":!0}),ie(Ae)!=="svelte-kjwpiv"&&(Ae.innerHTML=Xt),Rt=L(kt),ne=h(kt,"INPUT",{type:!0,name:!0,id:!0,min:!0,max:!0,class:!0}),kt.forEach(_),Ut=L(Ne),ge=h(Ne,"FIELDSET",{});var Ge=g(ge);Me=h(Ge,"H3",{class:!0,"data-svelte-h":!0}),ie(Me)!=="svelte-tzgpg7"&&(Me.textContent=xt),Ht=L(Ge),pe=h(Ge,"INPUT",{type:!0,name:!0,class:!0}),Bt=L(Ge),z&&z.l(Ge),Ge.forEach(_),Ne.forEach(_),ve.forEach(_),Vt=L(ke),Ze=h(ke,"SECTION",{class:!0});var El=g(Ze);Ke=h(El,"ARTICLE",{class:!0});var Pl=g(Ke);Pe=h(Pl,"TABLE",{class:!0});var wt=g(Pe);ze=h(wt,"THEAD",{class:!0});var Sl=g(ze);he=h(Sl,"TR",{class:!0});var Ye=g(he);Se.l(Ye),vt=L(Ye),Te=h(Ye,"TH",{class:!0});var Tt=g(Te);bt=y(Tt,xe),jt=y(Tt,"Request"),Et=y(Tt,et),Tt.forEach(_),Zt=L(Ye),ye=h(Ye,"TH",{class:!0,"data-svelte-h":!0}),ie(ye)!=="svelte-1h8jpo9"&&(ye.textContent=el),Ye.forEach(_),Sl.forEach(_),Kt=L(wt),J&&J.l(wt),wt.forEach(_),Pl.forEach(_),El.forEach(_),zt=L(ke),B&&B.l(ke),ke.forEach(_),this.h()},h(){o(r,"class","svelte-lmet59"),o(k,"class","label svelte-lmet59"),o(p,"type","button"),o(p,"title","Saved filters presets"),o(p,"class","svelte-lmet59"),be(p,"active",t[7]),o(d,"class","label svelte-lmet59"),o(w,"href","/network"),o(w,"title","Reset filters"),o(w,"class","reset svelte-lmet59"),o(P,"class","svelte-lmet59"),o(i,"class","svelte-lmet59"),o(S,"class","presets content-context svelte-lmet59"),o(R,"class","toggle svelte-lmet59"),o(Q,"class","svelte-lmet59"),X.selected=I=t[9].url.searchParams.get("order_by")==="count",X.__value="count",oe(X,X.__value),X.hidden=je=!t[9].url.searchParams.get("aggregate")&&!t[4],te.selected=st=t[9].url.searchParams.get("order_by")==="http_request_path",te.__value="http_request_path",oe(te,te.__value),te.hidden=at=!t[9].url.searchParams.get("aggregate")&&!t[4],le.selected=rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time",le.__value="median_target_processing_time",oe(le,le.__value),le.hidden=nt=!t[9].url.searchParams.get("aggregate")&&!t[4],se.selected=ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate"),se.__value="_timestamp",oe(se,se.__value),se.hidden=it=t[9].url.searchParams.get("aggregate")||t[4],ae.selected=ut=t[9].url.searchParams.get("order_by")==="http_request_path",ae.__value="http_request_path",oe(ae,ae.__value),ae.hidden=_t=t[9].url.searchParams.get("aggregate")||t[4],re.selected=ct=t[9].url.searchParams.get("order_by")==="target_processing_time",re.__value="target_processing_time",oe(re,re.__value),re.hidden=ft=t[9].url.searchParams.get("aggregate")||t[4],o(Z,"name","order_by"),o(Z,"id","order_by"),o(Z,"class","svelte-lmet59"),me.__value="DESC",oe(me,me.__value),me.selected=ht=t[9].url.searchParams.get("order")==="DESC",de.__value="ASC",oe(de,de.__value),de.selected=mt=t[9].url.searchParams.get("order")==="ASC",o(_e,"name","order"),o(_e,"id","order"),o(_e,"class","svelte-lmet59"),o(we,"for","order"),o(we,"class","button svelte-lmet59"),o(ee,"class","svelte-lmet59"),o(G,"class","sort svelte-lmet59"),o(Ae,"class","svelte-lmet59"),o(ne,"type","date"),o(ne,"name","start_time"),o(ne,"id","start_time"),o(ne,"min",t[12].toISOString().split("T")[0]),o(ne,"max",t[11].toISOString().split("T")[0]),ne.value=gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0],o(ne,"class","svelte-lmet59"),o(Me,"class","svelte-lmet59"),o(pe,"type","text"),o(pe,"name","lb_status_codes"),o(pe,"class","svelte-lmet59"),o(A,"action",""),o(A,"id","filters"),o(A,"class","svelte-lmet59"),o(a,"class","filters svelte-lmet59"),o(Te,"class","svelte-lmet59"),o(ye,"class","duration svelte-lmet59"),o(he,"class","svelte-lmet59"),o(ze,"class","svelte-lmet59"),o(Pe,"class","svelte-lmet59"),o(Ke,"class","content svelte-lmet59"),o(Ze,"class","container svelte-lmet59"),o(e,"class","page svelte-lmet59")},m(F,q){U(F,s,q),U(F,e,q),n(e,a),n(a,i),n(i,r),n(i,E),n(i,P),n(P,p),n(p,k),n(p,b),Le(C,p,null),t[16](p),n(P,T),n(P,w),n(w,d),n(w,v),Le(m,w,null),n(a,D),n(a,S),H&&H.m(S,null),t[18](S),n(a,ue),n(a,A),n(A,R),Le(W,R,null),n(A,x),n(A,G),n(G,Q),n(G,Xe),n(G,ee),n(ee,Z),n(Z,X),n(X,Ve),n(Z,te),n(te,It),n(Z,le),n(le,Ot),n(Z,se),n(se,Lt),n(Z,ae),n(ae,qt),n(Z,re),n(re,Dt),t[20](Z),n(ee,At),n(ee,_e),n(_e,me),n(me,Mt),n(_e,de),n(de,yt),t[22](_e),n(ee,$t),n(ee,we),$e[ce].m(we,null),n(A,Ft),n(A,De),n(De,Ae),n(De,Rt),n(De,ne),n(A,Ut),n(A,ge),n(ge,Me),n(ge,Ht),n(ge,pe),oe(pe,t[5]),n(ge,Bt),z&&z.m(ge,null),t[28](A),n(e,Vt),n(e,Ze),n(Ze,Ke),n(Ke,Pe),n(Pe,ze),n(ze,he),Se.m(he,null),n(he,vt),n(he,Te),n(Te,bt),n(Te,jt),n(Te,Et),n(he,Zt),n(he,ye),n(Pe,Kt),J&&J.m(Pe,null),n(e,zt),B&&B.m(e,null),t[29](e),$=!0,Jt||(tl=[Ee(p,"click",t[13]),Zl(j=rs.call(null,S,t[17])),Ee(Z,"change",t[21]),Ee(_e,"change",t[23]),Ee(ne,"input",function(){kl(t[1].requestSubmit())&&t[1].requestSubmit().apply(this,arguments)}),Ee(pe,"input",t[24])],Jt=!0)},p(F,q){var Fe,Re,Ue,He,tt;t=F,(!$||q[0]&1024)&&l!==(l="Logs"+((Fe=t[10].online)!=null&&Fe.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""))&&(document.title=l),(!$||q[0]&128)&&be(p,"active",t[7]),t[7]?H?(H.p(t,q),q[0]&128&&V(H,1)):(H=Dl(t),H.c(),V(H,1),H.m(S,null)):H&&(Nt(),K(H,1,1,()=>{H=null}),Ct()),j&&kl(j.update)&&q[0]&384&&j.update.call(null,t[17]);const ke={};q[0]&512&&(ke.checked=t[9].url.searchParams.get("aggregate")),W.$set(ke),(!$||q[0]&512&&I!==(I=t[9].url.searchParams.get("order_by")==="count"))&&(X.selected=I),(!$||q[0]&528&&je!==(je=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(X.hidden=je),(!$||q[0]&512&&st!==(st=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(te.selected=st),(!$||q[0]&528&&at!==(at=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(te.hidden=at),(!$||q[0]&512&&rt!==(rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time"))&&(le.selected=rt),(!$||q[0]&528&&nt!==(nt=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(le.hidden=nt),(!$||q[0]&512&&ot!==(ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate")))&&(se.selected=ot),(!$||q[0]&528&&it!==(it=t[9].url.searchParams.get("aggregate")||t[4]))&&(se.hidden=it),(!$||q[0]&512&&ut!==(ut=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(ae.selected=ut),(!$||q[0]&528&&_t!==(_t=t[9].url.searchParams.get("aggregate")||t[4]))&&(ae.hidden=_t),(!$||q[0]&512&&ct!==(ct=t[9].url.searchParams.get("order_by")==="target_processing_time"))&&(re.selected=ct),(!$||q[0]&528&&ft!==(ft=t[9].url.searchParams.get("aggregate")||t[4]))&&(re.hidden=ft),(!$||q[0]&512&&ht!==(ht=t[9].url.searchParams.get("order")==="DESC"))&&(me.selected=ht),(!$||q[0]&512&&mt!==(mt=t[9].url.searchParams.get("order")==="ASC"))&&(de.selected=mt);let ve=ce;ce=sl(t,q),ce!==ve&&(Nt(),K($e[ve],1,1,()=>{$e[ve]=null}),Ct(),fe=$e[ce],fe||(fe=$e[ce]=ll[ce](t),fe.c()),V(fe,1),fe.m(we,null)),(!$||q[0]&512&>!==(gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0]))&&(ne.value=gt),q[0]&32&&pe.value!==t[5]&&oe(pe,t[5]),(Ue=(Re=t[10].networks)==null?void 0:Re.aggs)!=null&&Ue.filters?z?z.p(t,q):(z=Al(t),z.c(),z.m(ge,null)):z&&(z.d(1),z=null),Pt!==(Pt=al(t,q))&&(Se.d(1),Se=Pt(t),Se&&(Se.c(),Se.m(he,vt))),(!$||q[0]&512)&&xe!==(xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"")&&Y(bt,xe),(!$||q[0]&512)&&et!==(et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"")&&Y(Et,et),(tt=(He=t[10].networks)==null?void 0:He.aggs)!=null&&tt.results?J?J.p(t,q):(J=yl(t),J.c(),J.m(Pe,null)):J&&(J.d(1),J=null),t[9].params.id?B?(B.p(t,q),q[0]&512&&V(B,1)):(B=Fl(t),B.c(),V(B,1),B.m(e,null)):B&&(Nt(),K(B,1,1,()=>{B=null}),Ct())},i(F){$||(V(C.$$.fragment,F),V(m.$$.fragment,F),V(H),V(W.$$.fragment,F),V(fe),V(B),$=!0)},o(F){K(C.$$.fragment,F),K(m.$$.fragment,F),K(H),K(W.$$.fragment,F),K(fe),K(B),$=!1},d(F){F&&(_(s),_(e)),qe(C),t[16](null),qe(m),H&&H.d(),t[18](null),qe(W),t[20](null),t[22](null),$e[ce].d(),z&&z.d(),t[28](null),Se.d(),J&&J.d(),B&&B.d(),t[29](null),Jt=!1,Qt(tl)}}}function Ss(t,l,s){var Ve;let e,a;wl(t,ls,I=>s(9,e=I)),wl(t,Yt,I=>s(10,a=I));let{$$slots:i={},$$scope:r}=l,u,E;const P=new Date,p=1e3*60*60*24,k=new Date(P-p*3);let c,b,C=!!e.url.searchParams.get("aggregated"),T=((Ve=e.url.searchParams.get("lb_status_codes"))==null?void 0:Ve.split(","))||[],w=!1,d=!1,N;function v(I){a.networks.aggs&&Nl(Yt,a.networks.aggs.results=[],a),ss.get(I).then(je=>{Nl(Yt,a.networks=je,a)})}Kl(()=>{v(Object.fromEntries(e.url.searchParams))});let m=e.url.searchParams.toString();es(()=>{m=e.url.searchParams.toString()}),ts(()=>{var I;m!==e.url.searchParams.toString()&&(v(Object.fromEntries(e.url.searchParams)),m=e.url.searchParams.toString(),s(5,T=((I=e.url.searchParams.get("lb_status_codes"))==null?void 0:I.split(","))||[]))});function D(I){w.open?(w.close(),s(7,d=!1)):(w.show(),s(7,d=!0))}const S=[[]];function j(I){Ce[I?"unshift":"push"](()=>{N=I,s(8,N)})}const ue=I=>d&&I.target!==N&&D();function A(I){Ce[I?"unshift":"push"](()=>{w=I,s(6,w)})}const R=async I=>{s(4,C=!!I.target.checked),await Tl(),s(2,c.value=I.target.checked?"count":"_timestamp",c),console.log(c.value),s(3,b.value="DESC",b),await Tl(),E.requestSubmit()};function W(I){Ce[I?"unshift":"push"](()=>{c=I,s(2,c)})}const x=()=>E.requestSubmit();function G(I){Ce[I?"unshift":"push"](()=>{b=I,s(3,b)})}const Q=()=>E.requestSubmit();function lt(){T=this.value,s(5,T)}function Xe(){T=Xl(S[0],this.__value,this.checked),s(5,T)}const ee=()=>{E.requestSubmit()};function Z(I){Ce[I?"unshift":"push"](()=>{E=I,s(1,E)})}function X(I){Ce[I?"unshift":"push"](()=>{u=I,s(0,u)})}return t.$$set=I=>{"$$scope"in I&&s(14,r=I.$$scope)},[u,E,c,b,C,T,w,d,N,e,a,P,k,D,r,i,j,ue,A,R,W,x,G,Q,lt,Xe,S,ee,Z,X]}class As extends Hl{constructor(l){super(),Bl(this,l,Ss,Ps,Rl,{},null,[-1,-1])}}export{As as component}; diff --git a/gui/next/build/_app/immutable/nodes/7.DIZjSVTI.js b/gui/next/build/_app/immutable/nodes/7.DIZjSVTI.js new file mode 100644 index 00000000..ee59090e --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/7.DIZjSVTI.js @@ -0,0 +1 @@ +import{s as Rl,e as f,a as O,c as h,b as g,g as L,A as ie,f as _,y as o,i as U,h as n,C as Ee,J as Ul,F as Qt,r as Wt,L as Vl,t as M,d as y,j as G,z as Ce,p as jl,G as be,B as oe,Y as Zl,Z as kl,k as wl,U as Kl,n as Jl,_ as zl,l as Yl,u as Gl,m as Ql,o as Wl,H as Tl,$ as Xl,E as Nl}from"../chunks/scheduler.CKQ5dLhN.js";import{S as Hl,i as Bl,c as Ie,d as Oe,m as Le,t as V,g as Nt,e as Ct,a as K,f as qe}from"../chunks/index.CGVWAVV-.js";import{e as Qe}from"../chunks/each.BWzj3zy9.js";import{o as xl,b as es,a as ts}from"../chunks/entry.COceLI_i.js";import{p as ls}from"../chunks/stores.BLuxmlax.js";import{n as ss}from"../chunks/network.hGAcGvnf.js";import{s as Gt}from"../chunks/state.nqMW8J5l.js";import{T as as,c as rs}from"../chunks/Toggle.CtBEfrzX.js";import{I as We}from"../chunks/Icon.CkKwi_WD.js";import{g as ns}from"../chunks/globals.D0QH3NT1.js";const{window:os}=ns;function Cl(t,l,s){const e=t.slice();return e[9]=l[s],e[11]=s,e}function Il(t){let l,s,e=t[9].name+"",a,i,r,u,E,P,p,k,c,b,C,T,w=t[9].name+"",d,N,v,m,D,S,j,ue;return m=new We({props:{icon:"x"}}),{c(){l=f("li"),s=f("a"),a=M(e),r=O(),u=f("form"),E=f("input"),P=O(),p=f("input"),c=O(),b=f("button"),C=f("span"),T=M("Delete '"),d=M(w),N=M("' preset"),v=O(),Ie(m.$$.fragment),D=O(),this.h()},l(A){l=h(A,"LI",{class:!0});var R=g(l);s=h(R,"A",{href:!0,class:!0});var Q=g(s);a=y(Q,e),Q.forEach(_),r=L(R),u=h(R,"FORM",{class:!0});var x=g(u);E=h(x,"INPUT",{type:!0,name:!0}),P=L(x),p=h(x,"INPUT",{type:!0,name:!0}),c=L(x),b=h(x,"BUTTON",{type:!0,class:!0});var Y=g(b);C=h(Y,"SPAN",{class:!0});var W=g(C);T=y(W,"Delete '"),d=y(W,w),N=y(W,"' preset"),W.forEach(_),v=L(Y),Oe(m.$$.fragment,Y),Y.forEach(_),x.forEach(_),D=L(R),R.forEach(_),this.h()},h(){o(s,"href",i="/network?"+t[9].url),o(s,"class","svelte-778p5v"),o(E,"type","hidden"),o(E,"name","id"),E.value=t[11],o(p,"type","hidden"),o(p,"name","name"),p.value=k=t[9].name,o(C,"class","label"),o(b,"type","submit"),o(b,"class","svelte-778p5v"),o(u,"class","svelte-778p5v"),o(l,"class","svelte-778p5v")},m(A,R){U(A,l,R),n(l,s),n(s,a),n(l,r),n(l,u),n(u,E),n(u,P),n(u,p),n(u,c),n(u,b),n(b,C),n(C,T),n(C,d),n(C,N),n(b,v),Le(m,b,null),n(l,D),S=!0,j||(ue=Ee(u,"submit",Ul(t[5])),j=!0)},p(A,R){(!S||R&4)&&e!==(e=A[9].name+"")&&G(a,e),(!S||R&4&&i!==(i="/network?"+A[9].url))&&o(s,"href",i),(!S||R&4&&k!==(k=A[9].name))&&(p.value=k),(!S||R&4)&&w!==(w=A[9].name+"")&&G(d,w)},i(A){S||(V(m.$$.fragment,A),S=!0)},o(A){K(m.$$.fragment,A),S=!1},d(A){A&&_(l),qe(m),j=!1,ue()}}}function Ol(t){let l,s="You can save your current filters selection to get back to them quickly in the future.";return{c(){l=f("div"),l.textContent=s,this.h()},l(e){l=h(e,"DIV",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-14bf7on"&&(l.textContent=s),this.h()},h(){o(l,"class","message svelte-778p5v")},m(e,a){U(e,l,a)},d(e){e&&_(l)}}}function is(t){let l,s,e,a,i,r,u="Save currently selected filters as new preset",E,P,p,k,c,b,C,T;P=new We({props:{icon:"plus"}});let w=Qe(t[2]),d=[];for(let m=0;mK(d[m],1,1,()=>{d[m]=null});let v=!t[2].length&&Ol();return{c(){l=f("div"),s=f("form"),e=f("input"),a=O(),i=f("button"),r=f("span"),r.textContent=u,E=O(),Ie(P.$$.fragment),p=O(),k=f("ul");for(let m=0;m{r("close")});function E(c){let b=new URLSearchParams(document.location.search);b.delete("start_time"),s(2,i=[...i,{url:b.toString(),name:a.value}]),localStorage.posNetworkLogsPresets=JSON.stringify(i),s(1,a.value="",a)}function P(c){const b=new FormData(c.target),C=b.get("id"),T=b.get("name");window.confirm(`Are you sure that you want to delete '${T}' preset?`)&&(i.splice(C,1),s(2,i),localStorage.posNetworkLogsPresets=JSON.stringify(i))}function p(c){Ce[c?"unshift":"push"](()=>{a=c,s(1,a)})}function k(c){Ce[c?"unshift":"push"](()=>{e=c,s(0,e)})}return[e,a,i,u,E,P,p,k]}class _s extends Hl{constructor(l){super(),Bl(this,l,us,is,Rl,{})}}function Ll(t,l,s){const e=t.slice();return e[33]=l[s],e}function ql(t,l,s){const e=t.slice();return e[36]=l[s],e}function Dl(t){let l,s;return l=new _s({}),l.$on("close",t[13]),{c(){Ie(l.$$.fragment)},l(e){Oe(l.$$.fragment,e)},m(e,a){Le(l,e,a),s=!0},p:Jl,i(e){s||(V(l.$$.fragment,e),s=!0)},o(e){K(l.$$.fragment,e),s=!1},d(e){qe(l,e)}}}function cs(t){let l,s;return l=new We({props:{icon:"sortAZ"}}),{c(){Ie(l.$$.fragment)},l(e){Oe(l.$$.fragment,e)},m(e,a){Le(l,e,a),s=!0},i(e){s||(V(l.$$.fragment,e),s=!0)},o(e){K(l.$$.fragment,e),s=!1},d(e){qe(l,e)}}}function fs(t){let l,s;return l=new We({props:{icon:"sortZA"}}),{c(){Ie(l.$$.fragment)},l(e){Oe(l.$$.fragment,e)},m(e,a){Le(l,e,a),s=!0},i(e){s||(V(l.$$.fragment,e),s=!0)},o(e){K(l.$$.fragment,e),s=!1},d(e){qe(l,e)}}}function Al(t){let l,s=Qe(t[10].networks.aggs.filters),e=[];for(let a=0;a=200&&t[33].lb_status_code<300),be(u,"info",t[33].lb_status_code>=300&&t[33].lb_status_code<400),be(u,"error",t[33].lb_status_code>=400&&t[33].lb_status_code<600)},m(c,b){U(c,l,b),n(l,s),n(s,a),U(c,r,b),U(c,u,b),n(u,E),n(E,p)},p(c,b){b[0]&1024&&e!==(e=new Date(c[33]._timestamp/1e3).toLocaleString()+"")&&G(a,e),b[0]&1536&&i!==(i="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(s,"href",i),b[0]&1024&&P!==(P=c[33].lb_status_code+"")&&G(p,P),b[0]&1536&&k!==(k="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(E,"href",k),b[0]&1024&&be(u,"success",c[33].lb_status_code>=200&&c[33].lb_status_code<300),b[0]&1024&&be(u,"info",c[33].lb_status_code>=300&&c[33].lb_status_code<400),b[0]&1024&&be(u,"error",c[33].lb_status_code>=400&&c[33].lb_status_code<600)},d(c){c&&(_(l),_(r),_(u))}}}function gs(t){let l,s,e=t[33].count+"",a;return{c(){l=f("td"),s=f("div"),a=M(e),this.h()},l(i){l=h(i,"TD",{class:!0});var r=g(l);s=h(r,"DIV",{class:!0});var u=g(s);a=y(u,e),u.forEach(_),r.forEach(_),this.h()},h(){o(s,"class","svelte-lmet59"),o(l,"class","count svelte-lmet59")},m(i,r){U(i,l,r),n(l,s),n(s,a)},p(i,r){r[0]&1024&&e!==(e=i[33].count+"")&&G(a,e)},d(i){i&&_(l)}}}function ps(t){let l,s,e=t[33].http_request_method+"",a,i,r=t[33].http_request_path+"",u;return{c(){l=f("div"),s=f("span"),a=M(e),i=O(),u=M(r),this.h()},l(E){l=h(E,"DIV",{class:!0});var P=g(l);s=h(P,"SPAN",{class:!0});var p=g(s);a=y(p,e),p.forEach(_),i=L(P),u=y(P,r),P.forEach(_),this.h()},h(){o(s,"class","method svelte-lmet59"),o(l,"class","svelte-lmet59")},m(E,P){U(E,l,P),n(l,s),n(s,a),n(l,i),n(l,u)},p(E,P){P[0]&1024&&e!==(e=E[33].http_request_method+"")&&G(a,e),P[0]&1024&&r!==(r=E[33].http_request_path+"")&&G(u,r)},d(E){E&&_(l)}}}function vs(t){let l,s,e,a=t[33].http_request_method+"",i,r,u=t[33].http_request_path+"",E,P;return{c(){l=f("a"),s=f("div"),e=f("span"),i=M(a),r=O(),E=M(u),this.h()},l(p){l=h(p,"A",{href:!0,class:!0});var k=g(l);s=h(k,"DIV",{class:!0});var c=g(s);e=h(c,"SPAN",{class:!0});var b=g(e);i=y(b,a),b.forEach(_),r=L(c),E=y(c,u),c.forEach(_),k.forEach(_),this.h()},h(){o(e,"class","method svelte-lmet59"),o(s,"class","svelte-lmet59"),o(l,"href",P="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(p,k){U(p,l,k),n(l,s),n(s,e),n(e,i),n(s,r),n(s,E)},p(p,k){k[0]&1024&&a!==(a=p[33].http_request_method+"")&&G(i,a),k[0]&1024&&u!==(u=p[33].http_request_path+"")&&G(E,u),k[0]&1536&&P!==(P="/network/"+p[33]._timestamp+"?"+p[9].url.searchParams.toString())&&o(l,"href",P)},d(p){p&&_(l)}}}function bs(t){let l,s=Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=f("div"),e=M(s),a=M("s"),this.h()},l(r){l=h(r,"DIV",{title:!0,class:!0});var u=g(l);e=y(u,s),a=y(u,"s"),u.forEach(_),this.h()},h(){o(l,"title",i="Median: "+Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(t[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(t[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(t[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s"),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&G(e,s),u[0]&1024&&i!==(i="Median: "+Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(r[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(r[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(r[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s")&&o(l,"title",i)},d(r){r&&_(l)}}}function Es(t){let l,s=Math.round((parseFloat(t[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=f("a"),e=M(s),a=M("s"),this.h()},l(r){l=h(r,"A",{href:!0,class:!0});var u=g(l);e=y(u,s),a=y(u,"s"),u.forEach(_),this.h()},h(){o(l,"href",i="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&G(e,s),u[0]&1536&&i!==(i="/network/"+r[33]._timestamp+"?"+r[9].url.searchParams.toString())&&o(l,"href",i)},d(r){r&&_(l)}}}function $l(t){let l,s,e,a,i,r,u,E,P;function p(v,m){return m[0]&512&&(s=null),s==null&&(s=!!v[9].url.searchParams.get("aggregate")),s?gs:ds}let k=p(t,[-1,-1]),c=k(t);function b(v,m){return m[0]&512&&(i=null),i==null&&(i=!v[9].url.searchParams.get("aggregate")),i?vs:ps}let C=b(t,[-1,-1]),T=C(t);function w(v,m){return m[0]&512&&(E=null),E==null&&(E=!v[9].url.searchParams.get("aggregate")),E?Es:bs}let d=w(t,[-1,-1]),N=d(t);return{c(){l=f("tr"),c.c(),e=O(),a=f("td"),T.c(),r=O(),u=f("td"),N.c(),P=O(),this.h()},l(v){l=h(v,"TR",{class:!0});var m=g(l);c.l(m),e=L(m),a=h(m,"TD",{class:!0});var D=g(a);T.l(D),D.forEach(_),r=L(m),u=h(m,"TD",{class:!0});var S=g(u);N.l(S),S.forEach(_),P=L(m),m.forEach(_),this.h()},h(){o(a,"class","request svelte-lmet59"),o(u,"class","duration svelte-lmet59"),o(l,"class","svelte-lmet59"),be(l,"active",t[33]._timestamp&&t[9].params.id==t[33]._timestamp)},m(v,m){U(v,l,m),c.m(l,null),n(l,e),n(l,a),T.m(a,null),n(l,r),n(l,u),N.m(u,null),n(l,P)},p(v,m){k===(k=p(v,m))&&c?c.p(v,m):(c.d(1),c=k(v),c&&(c.c(),c.m(l,e))),C===(C=b(v,m))&&T?T.p(v,m):(T.d(1),T=C(v),T&&(T.c(),T.m(a,null))),d===(d=w(v,m))&&N?N.p(v,m):(N.d(1),N=d(v),N&&(N.c(),N.m(u,null))),m[0]&1536&&be(l,"active",v[33]._timestamp&&v[9].params.id==v[33]._timestamp)},d(v){v&&_(l),c.d(),T.d(),N.d()}}}function Fl(t){let l;const s=t[15].default,e=Yl(s,t,t[14],null);return{c(){e&&e.c()},l(a){e&&e.l(a)},m(a,i){e&&e.m(a,i),l=!0},p(a,i){e&&e.p&&(!l||i[0]&16384)&&Gl(e,s,a,a[14],l?Wl(s,a[14],i,null):Ql(a[14]),null)},i(a){l||(V(e,a),l=!0)},o(a){K(e,a),l=!1},d(a){e&&e.d(a)}}}function Ps(t){var rl,nl,ol,il,ul;let l,s,e,a,i,r,u="Filters",E,P,p,k,c="Choose filters preset",b,C,T,w,d,N="Reset",v,m,D,S,j,ue,A,R,Q,x,Y,W,lt='',Xe,ee,Z,X,Ve,I,je,te,It,st,at,le,Ot,rt,nt,se,Lt,ot,it,ae,qt,ut,_t,re,Dt,ct,ft,At,_e,me,Mt,ht,de,yt,mt,$t,we,dt,ce,fe,Ft,De,Ae,Xt='',Rt,ne,gt,Ut,ge,Me,xt="Status Code",Ht,pe,Bt,Vt,Ze,Ke,Pe,Je,he,pt,vt,Te,xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"",bt,jt,et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"",Et,Zt,ye,el="Processing Time",Kt,Jt,$,zt,tl;document.title=l="Logs"+((rl=t[10].online)!=null&&rl.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""),C=new We({props:{icon:"controlls"}}),m=new We({props:{icon:"disable"}});let H=t[7]&&Dl(t);Q=new as({props:{name:"aggregate",options:[{value:"http_request_path",label:"Aggregate requests"}],checked:t[9].url.searchParams.get("aggregate")}}),Q.$on("change",t[19]);const ll=[fs,cs],$e=[];function sl(F,q){return q[0]&512&&(dt=null),dt==null&&(dt=F[9].url.searchParams.get("order")==="DESC"||!F[9].url.searchParams.get("order")),dt?0:1}ce=sl(t,[-1,-1]),fe=$e[ce]=ll[ce](t);let J=((ol=(nl=t[10].networks)==null?void 0:nl.aggs)==null?void 0:ol.filters)&&Al(t);function al(F,q){return q[0]&512&&(pt=null),pt==null&&(pt=!!F[9].url.searchParams.get("aggregate")),pt?ms:hs}let Pt=al(t,[-1,-1]),Se=Pt(t),z=((ul=(il=t[10].networks)==null?void 0:il.aggs)==null?void 0:ul.results)&&yl(t),B=t[9].params.id&&Fl(t);return{c(){s=O(),e=f("div"),a=f("nav"),i=f("header"),r=f("h2"),r.textContent=u,E=O(),P=f("nav"),p=f("button"),k=f("span"),k.textContent=c,b=O(),Ie(C.$$.fragment),T=O(),w=f("a"),d=f("span"),d.textContent=N,v=O(),Ie(m.$$.fragment),D=O(),S=f("dialog"),H&&H.c(),ue=O(),A=f("form"),R=f("fieldset"),Ie(Q.$$.fragment),x=O(),Y=f("fieldset"),W=f("h3"),W.innerHTML=lt,Xe=O(),ee=f("div"),Z=f("select"),X=f("option"),Ve=M("Count"),te=f("option"),It=M("Request path"),le=f("option"),Ot=M("Processing time"),se=f("option"),Lt=M("Time"),ae=f("option"),qt=M("Request path"),re=f("option"),Dt=M("Processing Time"),At=O(),_e=f("select"),me=f("option"),Mt=M("DESC [Z→A]"),de=f("option"),yt=M("ASC [A→Z]"),$t=O(),we=f("label"),fe.c(),Ft=O(),De=f("fieldset"),Ae=f("h3"),Ae.innerHTML=Xt,Rt=O(),ne=f("input"),Ut=O(),ge=f("fieldset"),Me=f("h3"),Me.textContent=xt,Ht=O(),pe=f("input"),Bt=O(),J&&J.c(),Vt=O(),Ze=f("section"),Ke=f("article"),Pe=f("table"),Je=f("thead"),he=f("tr"),Se.c(),vt=O(),Te=f("th"),bt=M(xe),jt=M("Request"),Et=M(et),Zt=O(),ye=f("th"),ye.textContent=el,Kt=O(),z&&z.c(),Jt=O(),B&&B.c(),this.h()},l(F){jl("svelte-dfdkqr",document.head).forEach(_),s=L(F),e=h(F,"DIV",{class:!0});var ke=g(e);a=h(ke,"NAV",{class:!0});var ve=g(a);i=h(ve,"HEADER",{class:!0});var Fe=g(i);r=h(Fe,"H2",{class:!0,"data-svelte-h":!0}),ie(r)!=="svelte-1ydm89n"&&(r.textContent=u),E=L(Fe),P=h(Fe,"NAV",{class:!0});var Re=g(P);p=h(Re,"BUTTON",{type:!0,title:!0,class:!0});var Ue=g(p);k=h(Ue,"SPAN",{class:!0,"data-svelte-h":!0}),ie(k)!=="svelte-p09m9k"&&(k.textContent=c),b=L(Ue),Oe(C.$$.fragment,Ue),Ue.forEach(_),T=L(Re),w=h(Re,"A",{href:!0,title:!0,class:!0});var He=g(w);d=h(He,"SPAN",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-1c96jh2"&&(d.textContent=N),v=L(He),Oe(m.$$.fragment,He),He.forEach(_),Re.forEach(_),Fe.forEach(_),D=L(ve),S=h(ve,"DIALOG",{class:!0});var tt=g(S);H&&H.l(tt),tt.forEach(_),ue=L(ve),A=h(ve,"FORM",{action:!0,id:!0,class:!0});var Ne=g(A);R=h(Ne,"FIELDSET",{class:!0});var _l=g(R);Oe(Q.$$.fragment,_l),_l.forEach(_),x=L(Ne),Y=h(Ne,"FIELDSET",{class:!0});var St=g(Y);W=h(St,"H3",{class:!0,"data-svelte-h":!0}),ie(W)!=="svelte-e2rbyt"&&(W.innerHTML=lt),Xe=L(St),ee=h(St,"DIV",{class:!0});var ze=g(ee);Z=h(ze,"SELECT",{name:!0,id:!0,class:!0});var Be=g(Z);X=h(Be,"OPTION",{});var cl=g(X);Ve=y(cl,"Count"),cl.forEach(_),te=h(Be,"OPTION",{});var fl=g(te);It=y(fl,"Request path"),fl.forEach(_),le=h(Be,"OPTION",{});var hl=g(le);Ot=y(hl,"Processing time"),hl.forEach(_),se=h(Be,"OPTION",{});var ml=g(se);Lt=y(ml,"Time"),ml.forEach(_),ae=h(Be,"OPTION",{});var dl=g(ae);qt=y(dl,"Request path"),dl.forEach(_),re=h(Be,"OPTION",{});var gl=g(re);Dt=y(gl,"Processing Time"),gl.forEach(_),Be.forEach(_),At=L(ze),_e=h(ze,"SELECT",{name:!0,id:!0,class:!0});var Yt=g(_e);me=h(Yt,"OPTION",{});var pl=g(me);Mt=y(pl,"DESC [Z→A]"),pl.forEach(_),de=h(Yt,"OPTION",{});var vl=g(de);yt=y(vl,"ASC [A→Z]"),vl.forEach(_),Yt.forEach(_),$t=L(ze),we=h(ze,"LABEL",{for:!0,class:!0});var bl=g(we);fe.l(bl),bl.forEach(_),ze.forEach(_),St.forEach(_),Ft=L(Ne),De=h(Ne,"FIELDSET",{});var kt=g(De);Ae=h(kt,"H3",{class:!0,"data-svelte-h":!0}),ie(Ae)!=="svelte-kjwpiv"&&(Ae.innerHTML=Xt),Rt=L(kt),ne=h(kt,"INPUT",{type:!0,name:!0,id:!0,min:!0,max:!0,class:!0}),kt.forEach(_),Ut=L(Ne),ge=h(Ne,"FIELDSET",{});var Ye=g(ge);Me=h(Ye,"H3",{class:!0,"data-svelte-h":!0}),ie(Me)!=="svelte-tzgpg7"&&(Me.textContent=xt),Ht=L(Ye),pe=h(Ye,"INPUT",{type:!0,name:!0,class:!0}),Bt=L(Ye),J&&J.l(Ye),Ye.forEach(_),Ne.forEach(_),ve.forEach(_),Vt=L(ke),Ze=h(ke,"SECTION",{class:!0});var El=g(Ze);Ke=h(El,"ARTICLE",{class:!0});var Pl=g(Ke);Pe=h(Pl,"TABLE",{class:!0});var wt=g(Pe);Je=h(wt,"THEAD",{class:!0});var Sl=g(Je);he=h(Sl,"TR",{class:!0});var Ge=g(he);Se.l(Ge),vt=L(Ge),Te=h(Ge,"TH",{class:!0});var Tt=g(Te);bt=y(Tt,xe),jt=y(Tt,"Request"),Et=y(Tt,et),Tt.forEach(_),Zt=L(Ge),ye=h(Ge,"TH",{class:!0,"data-svelte-h":!0}),ie(ye)!=="svelte-1h8jpo9"&&(ye.textContent=el),Ge.forEach(_),Sl.forEach(_),Kt=L(wt),z&&z.l(wt),wt.forEach(_),Pl.forEach(_),El.forEach(_),Jt=L(ke),B&&B.l(ke),ke.forEach(_),this.h()},h(){o(r,"class","svelte-lmet59"),o(k,"class","label svelte-lmet59"),o(p,"type","button"),o(p,"title","Saved filters presets"),o(p,"class","svelte-lmet59"),be(p,"active",t[7]),o(d,"class","label svelte-lmet59"),o(w,"href","/network"),o(w,"title","Reset filters"),o(w,"class","reset svelte-lmet59"),o(P,"class","svelte-lmet59"),o(i,"class","svelte-lmet59"),o(S,"class","presets content-context svelte-lmet59"),o(R,"class","toggle svelte-lmet59"),o(W,"class","svelte-lmet59"),X.selected=I=t[9].url.searchParams.get("order_by")==="count",X.__value="count",oe(X,X.__value),X.hidden=je=!t[9].url.searchParams.get("aggregate")&&!t[4],te.selected=st=t[9].url.searchParams.get("order_by")==="http_request_path",te.__value="http_request_path",oe(te,te.__value),te.hidden=at=!t[9].url.searchParams.get("aggregate")&&!t[4],le.selected=rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time",le.__value="median_target_processing_time",oe(le,le.__value),le.hidden=nt=!t[9].url.searchParams.get("aggregate")&&!t[4],se.selected=ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate"),se.__value="_timestamp",oe(se,se.__value),se.hidden=it=t[9].url.searchParams.get("aggregate")||t[4],ae.selected=ut=t[9].url.searchParams.get("order_by")==="http_request_path",ae.__value="http_request_path",oe(ae,ae.__value),ae.hidden=_t=t[9].url.searchParams.get("aggregate")||t[4],re.selected=ct=t[9].url.searchParams.get("order_by")==="target_processing_time",re.__value="target_processing_time",oe(re,re.__value),re.hidden=ft=t[9].url.searchParams.get("aggregate")||t[4],o(Z,"name","order_by"),o(Z,"id","order_by"),o(Z,"class","svelte-lmet59"),me.__value="DESC",oe(me,me.__value),me.selected=ht=t[9].url.searchParams.get("order")==="DESC",de.__value="ASC",oe(de,de.__value),de.selected=mt=t[9].url.searchParams.get("order")==="ASC",o(_e,"name","order"),o(_e,"id","order"),o(_e,"class","svelte-lmet59"),o(we,"for","order"),o(we,"class","button svelte-lmet59"),o(ee,"class","svelte-lmet59"),o(Y,"class","sort svelte-lmet59"),o(Ae,"class","svelte-lmet59"),o(ne,"type","date"),o(ne,"name","start_time"),o(ne,"id","start_time"),o(ne,"min",t[12].toISOString().split("T")[0]),o(ne,"max",t[11].toISOString().split("T")[0]),ne.value=gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0],o(ne,"class","svelte-lmet59"),o(Me,"class","svelte-lmet59"),o(pe,"type","text"),o(pe,"name","lb_status_codes"),o(pe,"class","svelte-lmet59"),o(A,"action",""),o(A,"id","filters"),o(A,"class","svelte-lmet59"),o(a,"class","filters svelte-lmet59"),o(Te,"class","svelte-lmet59"),o(ye,"class","duration svelte-lmet59"),o(he,"class","svelte-lmet59"),o(Je,"class","svelte-lmet59"),o(Pe,"class","svelte-lmet59"),o(Ke,"class","content svelte-lmet59"),o(Ze,"class","container svelte-lmet59"),o(e,"class","page svelte-lmet59")},m(F,q){U(F,s,q),U(F,e,q),n(e,a),n(a,i),n(i,r),n(i,E),n(i,P),n(P,p),n(p,k),n(p,b),Le(C,p,null),t[16](p),n(P,T),n(P,w),n(w,d),n(w,v),Le(m,w,null),n(a,D),n(a,S),H&&H.m(S,null),t[18](S),n(a,ue),n(a,A),n(A,R),Le(Q,R,null),n(A,x),n(A,Y),n(Y,W),n(Y,Xe),n(Y,ee),n(ee,Z),n(Z,X),n(X,Ve),n(Z,te),n(te,It),n(Z,le),n(le,Ot),n(Z,se),n(se,Lt),n(Z,ae),n(ae,qt),n(Z,re),n(re,Dt),t[20](Z),n(ee,At),n(ee,_e),n(_e,me),n(me,Mt),n(_e,de),n(de,yt),t[22](_e),n(ee,$t),n(ee,we),$e[ce].m(we,null),n(A,Ft),n(A,De),n(De,Ae),n(De,Rt),n(De,ne),n(A,Ut),n(A,ge),n(ge,Me),n(ge,Ht),n(ge,pe),oe(pe,t[5]),n(ge,Bt),J&&J.m(ge,null),t[28](A),n(e,Vt),n(e,Ze),n(Ze,Ke),n(Ke,Pe),n(Pe,Je),n(Je,he),Se.m(he,null),n(he,vt),n(he,Te),n(Te,bt),n(Te,jt),n(Te,Et),n(he,Zt),n(he,ye),n(Pe,Kt),z&&z.m(Pe,null),n(e,Jt),B&&B.m(e,null),t[29](e),$=!0,zt||(tl=[Ee(p,"click",t[13]),Zl(j=rs.call(null,S,t[17])),Ee(Z,"change",t[21]),Ee(_e,"change",t[23]),Ee(ne,"input",function(){kl(t[1].requestSubmit())&&t[1].requestSubmit().apply(this,arguments)}),Ee(pe,"input",t[24])],zt=!0)},p(F,q){var Fe,Re,Ue,He,tt;t=F,(!$||q[0]&1024)&&l!==(l="Logs"+((Fe=t[10].online)!=null&&Fe.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""))&&(document.title=l),(!$||q[0]&128)&&be(p,"active",t[7]),t[7]?H?(H.p(t,q),q[0]&128&&V(H,1)):(H=Dl(t),H.c(),V(H,1),H.m(S,null)):H&&(Nt(),K(H,1,1,()=>{H=null}),Ct()),j&&kl(j.update)&&q[0]&384&&j.update.call(null,t[17]);const ke={};q[0]&512&&(ke.checked=t[9].url.searchParams.get("aggregate")),Q.$set(ke),(!$||q[0]&512&&I!==(I=t[9].url.searchParams.get("order_by")==="count"))&&(X.selected=I),(!$||q[0]&528&&je!==(je=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(X.hidden=je),(!$||q[0]&512&&st!==(st=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(te.selected=st),(!$||q[0]&528&&at!==(at=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(te.hidden=at),(!$||q[0]&512&&rt!==(rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time"))&&(le.selected=rt),(!$||q[0]&528&&nt!==(nt=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(le.hidden=nt),(!$||q[0]&512&&ot!==(ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate")))&&(se.selected=ot),(!$||q[0]&528&&it!==(it=t[9].url.searchParams.get("aggregate")||t[4]))&&(se.hidden=it),(!$||q[0]&512&&ut!==(ut=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(ae.selected=ut),(!$||q[0]&528&&_t!==(_t=t[9].url.searchParams.get("aggregate")||t[4]))&&(ae.hidden=_t),(!$||q[0]&512&&ct!==(ct=t[9].url.searchParams.get("order_by")==="target_processing_time"))&&(re.selected=ct),(!$||q[0]&528&&ft!==(ft=t[9].url.searchParams.get("aggregate")||t[4]))&&(re.hidden=ft),(!$||q[0]&512&&ht!==(ht=t[9].url.searchParams.get("order")==="DESC"))&&(me.selected=ht),(!$||q[0]&512&&mt!==(mt=t[9].url.searchParams.get("order")==="ASC"))&&(de.selected=mt);let ve=ce;ce=sl(t,q),ce!==ve&&(Nt(),K($e[ve],1,1,()=>{$e[ve]=null}),Ct(),fe=$e[ce],fe||(fe=$e[ce]=ll[ce](t),fe.c()),V(fe,1),fe.m(we,null)),(!$||q[0]&512&>!==(gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0]))&&(ne.value=gt),q[0]&32&&pe.value!==t[5]&&oe(pe,t[5]),(Ue=(Re=t[10].networks)==null?void 0:Re.aggs)!=null&&Ue.filters?J?J.p(t,q):(J=Al(t),J.c(),J.m(ge,null)):J&&(J.d(1),J=null),Pt!==(Pt=al(t,q))&&(Se.d(1),Se=Pt(t),Se&&(Se.c(),Se.m(he,vt))),(!$||q[0]&512)&&xe!==(xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"")&&G(bt,xe),(!$||q[0]&512)&&et!==(et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"")&&G(Et,et),(tt=(He=t[10].networks)==null?void 0:He.aggs)!=null&&tt.results?z?z.p(t,q):(z=yl(t),z.c(),z.m(Pe,null)):z&&(z.d(1),z=null),t[9].params.id?B?(B.p(t,q),q[0]&512&&V(B,1)):(B=Fl(t),B.c(),V(B,1),B.m(e,null)):B&&(Nt(),K(B,1,1,()=>{B=null}),Ct())},i(F){$||(V(C.$$.fragment,F),V(m.$$.fragment,F),V(H),V(Q.$$.fragment,F),V(fe),V(B),$=!0)},o(F){K(C.$$.fragment,F),K(m.$$.fragment,F),K(H),K(Q.$$.fragment,F),K(fe),K(B),$=!1},d(F){F&&(_(s),_(e)),qe(C),t[16](null),qe(m),H&&H.d(),t[18](null),qe(Q),t[20](null),t[22](null),$e[ce].d(),J&&J.d(),t[28](null),Se.d(),z&&z.d(),B&&B.d(),t[29](null),zt=!1,Wt(tl)}}}function Ss(t,l,s){var Ve;let e,a;wl(t,ls,I=>s(9,e=I)),wl(t,Gt,I=>s(10,a=I));let{$$slots:i={},$$scope:r}=l,u,E;const P=new Date,p=1e3*60*60*24,k=new Date(P-p*3);let c,b,C=!!e.url.searchParams.get("aggregated"),T=((Ve=e.url.searchParams.get("lb_status_codes"))==null?void 0:Ve.split(","))||[],w=!1,d=!1,N;function v(I){a.networks.aggs&&Nl(Gt,a.networks.aggs.results=[],a),ss.get(I).then(je=>{Nl(Gt,a.networks=je,a)})}Kl(()=>{v(Object.fromEntries(e.url.searchParams))});let m=e.url.searchParams.toString();es(()=>{m=e.url.searchParams.toString()}),ts(()=>{var I;m!==e.url.searchParams.toString()&&(v(Object.fromEntries(e.url.searchParams)),m=e.url.searchParams.toString(),s(5,T=((I=e.url.searchParams.get("lb_status_codes"))==null?void 0:I.split(","))||[]))});function D(I){w.open?(w.close(),s(7,d=!1)):(w.show(),s(7,d=!0))}const S=[[]];function j(I){Ce[I?"unshift":"push"](()=>{N=I,s(8,N)})}const ue=I=>d&&I.target!==N&&D();function A(I){Ce[I?"unshift":"push"](()=>{w=I,s(6,w)})}const R=async I=>{s(4,C=!!I.target.checked),await Tl(),s(2,c.value=I.target.checked?"count":"_timestamp",c),console.log(c.value),s(3,b.value="DESC",b),await Tl(),E.requestSubmit()};function Q(I){Ce[I?"unshift":"push"](()=>{c=I,s(2,c)})}const x=()=>E.requestSubmit();function Y(I){Ce[I?"unshift":"push"](()=>{b=I,s(3,b)})}const W=()=>E.requestSubmit();function lt(){T=this.value,s(5,T)}function Xe(){T=Xl(S[0],this.__value,this.checked),s(5,T)}const ee=()=>{E.requestSubmit()};function Z(I){Ce[I?"unshift":"push"](()=>{E=I,s(1,E)})}function X(I){Ce[I?"unshift":"push"](()=>{u=I,s(0,u)})}return t.$$set=I=>{"$$scope"in I&&s(14,r=I.$$scope)},[u,E,c,b,C,T,w,d,N,e,a,P,k,D,r,i,j,ue,A,R,Q,x,Y,W,lt,Xe,S,ee,Z,X]}class As extends Hl{constructor(l){super(),Bl(this,l,Ss,Ps,Rl,{},null,[-1,-1])}}export{As as component}; diff --git a/gui/next/build/_app/immutable/nodes/8.CrMYtLGM.js b/gui/next/build/_app/immutable/nodes/8.CrMYtLGM.js deleted file mode 100644 index 19f19aa2..00000000 --- a/gui/next/build/_app/immutable/nodes/8.CrMYtLGM.js +++ /dev/null @@ -1,3 +0,0 @@ -import{s as Ge,z as Ke,a as I,e as h,t as ne,p as Je,f as b,g as S,c as d,b as j,A as G,d as oe,y as u,B as re,I as He,i as x,h as o,J as Ae,C as Z,D as Ye,j as ve,r as Qe,k as Ne,n as We,F as Xe,G as Oe,l as Ze,u as xe,m as et,o as tt,K as at,H as st}from"../chunks/scheduler.ts1nwYMk.js";import{S as lt,i as rt,b as nt,c as ge,d as ke,m as Ee,t as D,a as H,e as De,f as je,h as Ue,g as we}from"../chunks/index.MbwxngTa.js";import{g as ot}from"../chunks/globals.D0QH3NT1.js";import{e as Re}from"../chunks/each.CLm8ZDgo.js";import{g as it}from"../chunks/entry.DYTJR7db.js";import{s as ut}from"../chunks/state.HIdUDD3F.js";import{q as ft}from"../chunks/index.iVSWiVfi.js";import{p as ct}from"../chunks/stores.D3n-8z5b.js";import{u as _t}from"../chunks/user.DoFwVcfx.js";import{I as Ve}from"../chunks/Icon.Dn_EaQMz.js";import{N as mt}from"../chunks/Number.CAl2R2zF.js";const{document:be}=ot;function ye(a,s,r){const e=a.slice();return e[17]=s[r],e}function Be(a){let s,r,e="Clear filters",t,i,l,m,C,k;return i=new Ve({props:{icon:"x",size:"14"}}),{c(){s=h("button"),r=h("span"),r.textContent=e,t=I(),ge(i.$$.fragment),this.h()},l(n){s=d(n,"BUTTON",{type:!0,class:!0});var _=j(s);r=d(_,"SPAN",{class:!0,"data-svelte-h":!0}),G(r)!=="svelte-ki22n5"&&(r.textContent=e),t=S(_),ke(i.$$.fragment,_),_.forEach(b),this.h()},h(){u(r,"class","label svelte-1kz5jrb"),u(s,"type","button"),u(s,"class","clear svelte-1kz5jrb")},m(n,_){x(n,s,_),o(s,r),o(s,t),Ee(i,s,null),m=!0,C||(k=Z(s,"click",a[12]),C=!0)},p:We,i(n){m||(D(i.$$.fragment,n),n&&He(()=>{m&&(l||(l=Ue(s,a[6],{},!0)),l.run(1))}),m=!0)},o(n){H(i.$$.fragment,n),n&&(l||(l=Ue(s,a[6],{},!1)),l.run(0)),m=!1},d(n){n&&b(s),je(i),n&&l&&l.end(),C=!1,k()}}}function Me(a){let s,r=Re(a[2]),e=[];for(let t=0;tnt(O,"value",$e)),O.$on("input",a[16]);let g=a[0].params.id&&Fe(a);return{c(){r=I(),e=h("div"),t=h("section"),i=h("nav"),l=h("form"),m=h("label"),m.textContent=C,k=I(),n=h("fieldset"),_=h("select"),z=h("option"),z.textContent=y,p=h("option"),p.textContent=E,B=I(),T=h("input"),M=I(),v&&v.c(),U=I(),c=h("button"),A=h("span"),A.textContent=ee,W=I(),ge(q.$$.fragment),ie=I(),J=h("article"),w=h("table"),V=h("thead"),V.innerHTML=Ce,ue=I(),P&&P.c(),fe=I(),N=h("nav"),$=h("label"),$.textContent=ze,ce=I(),ge(O.$$.fragment),me=ne(`\r - of `),te=ne(X),pe=I(),g&&g.c(),this.h()},l(f){Je("svelte-mcmxo",be.head).forEach(b),r=S(f),e=d(f,"DIV",{class:!0});var F=j(e);t=d(F,"SECTION",{class:!0});var R=j(t);i=d(R,"NAV",{class:!0});var Ie=j(i);l=d(Ie,"FORM",{action:!0,id:!0,class:!0});var ae=j(l);m=d(ae,"LABEL",{for:!0,"data-svelte-h":!0}),G(m)!=="svelte-rbwhex"&&(m.textContent=C),k=S(ae),n=d(ae,"FIELDSET",{class:!0});var K=j(n);_=d(K,"SELECT",{id:!0,name:!0,class:!0});var de=j(_);z=d(de,"OPTION",{"data-svelte-h":!0}),G(z)!=="svelte-51kto6"&&(z.textContent=y),p=d(de,"OPTION",{"data-svelte-h":!0}),G(p)!=="svelte-ns3pfu"&&(p.textContent=E),de.forEach(b),B=S(K),T=d(K,"INPUT",{type:!0,name:!0,class:!0}),M=S(K),v&&v.l(K),U=S(K),c=d(K,"BUTTON",{type:!0,class:!0});var se=j(c);A=d(se,"SPAN",{class:!0,"data-svelte-h":!0}),G(A)!=="svelte-ctu7wl"&&(A.textContent=ee),W=S(se),ke(q.$$.fragment,se),se.forEach(b),K.forEach(b),ae.forEach(b),Ie.forEach(b),ie=S(R),J=d(R,"ARTICLE",{class:!0});var Se=j(J);w=d(Se,"TABLE",{class:!0});var le=j(w);V=d(le,"THEAD",{class:!0,"data-svelte-h":!0}),G(V)!=="svelte-ge4529"&&(V.innerHTML=Ce),ue=S(le),P&&P.l(le),le.forEach(b),Se.forEach(b),fe=S(R),N=d(R,"NAV",{class:!0});var Q=j(N);$=d(Q,"LABEL",{for:!0,"data-svelte-h":!0}),G($)!=="svelte-1yefxsu"&&($.textContent=ze),ce=S(Q),ke(O.$$.fragment,Q),me=oe(Q,`\r - of `),te=oe(Q,X),Q.forEach(b),R.forEach(b),pe=S(F),g&&g.l(F),F.forEach(b),this.h()},h(){u(m,"for","filters_attribute"),z.__value="email",re(z,z.__value),p.__value="id",re(p,p.__value),u(_,"id","filters_attribute"),u(_,"name","attribute"),u(_,"class","svelte-1kz5jrb"),a[3].attribute===void 0&&He(()=>a[9].call(_)),u(T,"type","text"),u(T,"name","value"),u(T,"class","svelte-1kz5jrb"),u(A,"class","label svelte-1kz5jrb"),u(c,"type","submit"),u(c,"class","button svelte-1kz5jrb"),u(n,"class","search svelte-1kz5jrb"),u(l,"action",""),u(l,"id","filters"),u(l,"class","svelte-1kz5jrb"),u(i,"class","filters svelte-1kz5jrb"),u(V,"class","svelte-1kz5jrb"),u(w,"class","svelte-1kz5jrb"),u(J,"class","contetnt"),u($,"for","page"),u(N,"class","pagination svelte-1kz5jrb"),u(t,"class","container svelte-1kz5jrb"),u(e,"class","page svelte-1kz5jrb")},m(f,L){x(f,r,L),x(f,e,L),o(e,t),o(t,i),o(i,l),o(l,m),o(l,k),o(l,n),o(n,_),o(_,z),o(_,p),Ae(_,a[3].attribute,!0),o(n,B),o(n,T),re(T,a[3].value),o(n,M),v&&v.m(n,null),o(n,U),o(n,c),o(c,A),o(c,W),Ee(q,c,null),a[13](l),o(t,ie),o(t,J),o(J,w),o(w,V),o(w,ue),P&&P.m(w,null),o(t,fe),o(t,N),o(N,$),o(N,ce),Ee(O,N,null),o(N,me),o(N,te),o(e,pe),g&&g.m(e,null),Y=!0,he||(Pe=[Z(_,"change",a[9]),Z(_,"change",a[10]),Z(T,"input",a[11]),Z(l,"submit",a[14])],he=!0)},p(f,[L]){var R;(!Y||L&16)&&s!==(s="Users"+((R=f[4].online)!=null&&R.MPKIT_URL?": "+f[4].online.MPKIT_URL.replace("https://",""):""))&&(be.title=s),L&8&&Ae(_,f[3].attribute),L&8&&T.value!==f[3].value&&re(T,f[3].value),f[3].value?v?(v.p(f,L),L&8&&D(v,1)):(v=Be(f),v.c(),D(v,1),v.m(n,U)):v&&(we(),H(v,1,1,()=>{v=null}),De()),f[2]?P?P.p(f,L):(P=Me(f),P.c(),P.m(w,null)):P&&(P.d(1),P=null);const F={};L&8&&(F.max=f[3].totalPages),!_e&&L&8&&(_e=!0,F.value=f[3].page,Ye(()=>_e=!1)),O.$set(F),(!Y||L&8)&&X!==(X=f[3].totalPages+"")&&ve(te,X),f[0].params.id?g?(g.p(f,L),L&1&&D(g,1)):(g=Fe(f),g.c(),D(g,1),g.m(e,null)):g&&(we(),H(g,1,1,()=>{g=null}),De())},i(f){Y||(D(v),D(q.$$.fragment,f),D(O.$$.fragment,f),D(g),Y=!0)},o(f){H(v),H(q.$$.fragment,f),H(O.$$.fragment,f),H(g),Y=!1},d(f){f&&(b(r),b(e)),v&&v.d(),je(q),a[13](null),P&&P.d(),je(O),g&&g.d(),he=!1,Qe(Pe)}}}function ht(a,s,r){let e,t;Ne(a,ct,c=>r(0,e=c)),Ne(a,ut,c=>r(4,t=c));let{$$slots:i={},$$scope:l}=s,m,C=[],k={page:1,attribute:"email",value:""},n={page:1,totalPages:1,attribute:"email",value:"",...Object.fromEntries(e.url.searchParams)};const _=function(c,{delay:A=0,duration:ee=150}){return{delay:A,duration:ee,css:W=>`scale: ${ft(W)};`}};function z(){n.attribute=at(this),r(3,n),r(0,e)}const y=()=>r(3,n.value="",n);function p(){n.value=this.value,r(3,n),r(0,e)}const E=()=>{r(3,n={...k}),m.requestSubmit()};function B(c){Ke[c?"unshift":"push"](()=>{m=c,r(1,m)})}const T=async c=>{var A;((A=c.submitter)==null?void 0:A.dataset.action)!=="numberIncrease"&&(c.preventDefault(),r(3,n.page=1,n),await st(),it(document.location.pathname+"?"+new URLSearchParams(new FormData(c.target)).toString()))};function M(c){a.$$.not_equal(n.page,c)&&(n.page=c,r(3,n),r(0,e))}const U=c=>{m.requestSubmit(c.detail.submitter)};return a.$$set=c=>{"$$scope"in c&&r(7,l=c.$$scope)},a.$$.update=()=>{a.$$.dirty&1&&_t.get(Object.fromEntries(e.url.searchParams)).then(c=>{r(2,C=c.results),r(3,n.totalPages=c.total_pages,n)})},[e,m,C,n,t,k,_,l,i,z,y,p,E,B,T,M,U]}class Lt extends lt{constructor(s){super(),rt(this,s,ht,pt,Ge,{})}}export{Lt as component}; diff --git a/gui/next/build/_app/immutable/nodes/8.DaJnnOWR.js b/gui/next/build/_app/immutable/nodes/8.DaJnnOWR.js new file mode 100644 index 00000000..95ac2dd4 --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/8.DaJnnOWR.js @@ -0,0 +1,7 @@ +import{s as He,e as p,a as A,t as fe,c as v,b,g as M,f as _,d as ce,y as u,i as ee,h as o,C as _e,L as xe,z as Ue,Y as Ct,r as Je,A as ue,J as kt,M as et,F as Xe,k as Qe,U as Pt,E as we,j as De,n as Ze,B as Ie,p as wt,a1 as rt,D as It,G as Oe,l as Dt,u as jt,m as Nt,o as Lt,H as it,a3 as Ot}from"../chunks/scheduler.CKQ5dLhN.js";import{S as ze,i as Ke,c as me,d as pe,m as ve,t as O,a as H,f as he,g as ye,e as Ce,h as qe,b as St}from"../chunks/index.CGVWAVV-.js";import{g as Ut}from"../chunks/globals.D0QH3NT1.js";import{e as Se}from"../chunks/each.BWzj3zy9.js";import{g as At}from"../chunks/entry.COceLI_i.js";import{s as re}from"../chunks/state.nqMW8J5l.js";import{q as Tt}from"../chunks/index.iVSWiVfi.js";import{p as Mt}from"../chunks/stores.BLuxmlax.js";import{u as Ae}from"../chunks/user.CRviTK4n.js";import{c as Rt,T as Bt}from"../chunks/Toggle.CtBEfrzX.js";import{I as je}from"../chunks/Icon.CkKwi_WD.js";import{p as Vt}from"../chunks/parseValue.BxCUwhRQ.js";import{t as Ft}from"../chunks/tryParseJSON.x4PJc0Qf.js";import{N as qt}from"../chunks/Number.B4JDnNHn.js";function Ht(l){let e,a,t,s,r,n,f,i,h,m;return n=new je({props:{icon:"x",size:"22"}}),{c(){e=p("form"),a=p("input"),t=A(),s=p("button"),r=p("i"),me(n.$$.fragment),f=fe(`\r + Delete user`),this.h()},l(c){e=v(c,"FORM",{});var E=b(e);a=v(E,"INPUT",{type:!0,name:!0}),t=M(E),s=v(E,"BUTTON",{class:!0});var T=b(s);r=v(T,"I",{class:!0});var y=b(r);pe(n.$$.fragment,y),y.forEach(_),f=ce(T,`\r + Delete user`),T.forEach(_),E.forEach(_),this.h()},h(){u(a,"type","hidden"),u(a,"name","id"),a.value=l[0],u(r,"class","svelte-ooaugn"),u(s,"class","danger")},m(c,E){ee(c,e,E),o(e,a),o(e,t),o(e,s),o(s,r),ve(n,r,null),o(s,f),l[3](e),i=!0,h||(m=_e(e,"submit",l[2]),h=!0)},p(c,[E]){(!i||E&1)&&(a.value=c[0])},i(c){i||(O(n.$$.fragment,c),i=!0)},o(c){H(n.$$.fragment,c),i=!1},d(c){c&&_(e),he(n),l[3](null),h=!1,m()}}}function Jt(l,e,a){let{id:t}=e,s,r=xe();const n=async i=>{if(i.preventDefault(),confirm("Are you sure you want to delete this user?")){r("close");const m=new FormData(s).get("id");(await Ae.delete(m)).errors?re.notification.create("error",`Record ${m} could not be deleted`):(re.notification.create("success",`Record ${m} deleted`),r("success"))}};function f(i){Ue[i?"unshift":"push"](()=>{s=i,a(1,s)})}return l.$$set=i=>{"id"in i&&a(0,t=i.id)},[t,s,n,f]}class zt extends ze{constructor(e){super(),Ke(this,e,Jt,Ht,He,{id:0})}}function Kt(l){let e,a,t,s,r,n,f;return s=new zt({props:{id:l[0].id}}),s.$on("success",l[3]),s.$on("close",l[4]),{c(){e=p("menu"),a=p("ul"),t=p("li"),me(s.$$.fragment),this.h()},l(i){e=v(i,"MENU",{class:!0});var h=b(e);a=v(h,"UL",{});var m=b(a);t=v(m,"LI",{class:!0});var c=b(t);pe(s.$$.fragment,c),c.forEach(_),m.forEach(_),h.forEach(_),this.h()},h(){u(t,"class","svelte-8i1sxu"),u(e,"class","content-context svelte-8i1sxu")},m(i,h){ee(i,e,h),o(e,a),o(a,t),ve(s,t,null),r=!0,n||(f=[_e(window,"keyup",l[2]),Ct(Rt.call(null,e,l[5]))],n=!0)},p(i,[h]){const m={};h&1&&(m.id=i[0].id),s.$set(m)},i(i){r||(O(s.$$.fragment,i),r=!0)},o(i){H(s.$$.fragment,i),r=!1},d(i){i&&_(e),he(s),n=!1,Je(f)}}}function Gt(l,e,a){let{record:t}=e;const s=xe(),r=h=>{h.key==="Escape"&&s("close")},n=()=>s("reload"),f=()=>s("close"),i=()=>s("close");return l.$$set=h=>{"record"in h&&a(0,t=h.record)},[t,s,r,n,f,i]}class Yt extends ze{constructor(e){super(),Ke(this,e,Gt,Kt,He,{record:0})}}function ot(l,e,a){const t=l.slice();return t[13]=e[a],t}function ut(l,e,a){const t=l.slice();t[16]=e[a];const s=t[1]!==null?Vt(t[1].properties[t[16].name],t[16].attribute_type):{type:t[16].attribute_type,value:""};return t[17]=s,t}function ft(l){let e,a=`
`;return{c(){e=p("fieldset"),e.innerHTML=a,this.h()},l(t){e=v(t,"FIELDSET",{class:!0,"data-svelte-h":!0}),ue(e)!=="svelte-1u8xex3"&&(e.innerHTML=a),this.h()},h(){u(e,"class","svelte-26svji")},m(t,s){ee(t,e,s)},d(t){t&&_(e)}}}function Wt(l){let e=l[16].attribute_type+"",a,t,s,r,n;return{c(){a=fe(e),t=A(),s=p("input"),this.h()},l(f){a=ce(f,e),t=M(f),s=v(f,"INPUT",{type:!0,name:!0,class:!0}),this.h()},h(){u(s,"type","hidden"),u(s,"name",r=l[16].name+"[type]"),s.value=n=l[16].attribute_type,u(s,"class","svelte-26svji")},m(f,i){ee(f,a,i),ee(f,t,i),ee(f,s,i)},p(f,i){i&1&&e!==(e=f[16].attribute_type+"")&&De(a,e),i&1&&r!==(r=f[16].name+"[type]")&&u(s,"name",r),i&1&&n!==(n=f[16].attribute_type)&&(s.value=n)},i:Ze,o:Ze,d(f){f&&(_(a),_(t),_(s))}}}function Xt(l){let e,a;return e=new Bt({props:{name:l[16].name+"[type]",options:[{value:"string",label:"string"},{value:"json",label:"json"}],checked:l[17].type==="json"?"json":"string"}}),{c(){me(e.$$.fragment)},l(t){pe(e.$$.fragment,t)},m(t,s){ve(e,t,s),a=!0},p(t,s){const r={};s&1&&(r.name=t[16].name+"[type]"),s&3&&(r.checked=t[17].type==="json"?"json":"string"),e.$set(r)},i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){H(e.$$.fragment,t),a=!1},d(t){he(e,t)}}}function Qt(l){let e,a,t,s;return{c(){e=p("textarea"),this.h()},l(r){e=v(r,"TEXTAREA",{rows:!0,name:!0,id:!0,class:!0}),b(e).forEach(_),this.h()},h(){u(e,"rows","1"),u(e,"name",a=l[16].name+"[value]"),u(e,"id",t="edit_"+l[16].name),e.value=s=l[17].type==="json"||l[17].type==="jsonEscaped"&&!mt?JSON.stringify(l[17].value,void 0,2):l[17].value,u(e,"class","svelte-26svji")},m(r,n){ee(r,e,n)},p(r,n){n&1&&a!==(a=r[16].name+"[value]")&&u(e,"name",a),n&1&&t!==(t="edit_"+r[16].name)&&u(e,"id",t),n&3&&s!==(s=r[17].type==="json"||r[17].type==="jsonEscaped"&&!mt?JSON.stringify(r[17].value,void 0,2):r[17].value)&&(e.value=s)},d(r){r&&_(e)}}}function Zt(l){let e,a,t,s,r,n,f,i,h,m;return{c(){e=p("select"),a=p("option"),t=p("option"),s=fe("true"),n=p("option"),f=fe("false"),this.h()},l(c){e=v(c,"SELECT",{name:!0,id:!0});var E=b(e);a=v(E,"OPTION",{class:!0}),b(a).forEach(_),t=v(E,"OPTION",{});var T=b(t);s=ce(T,"true"),T.forEach(_),n=v(E,"OPTION",{});var y=b(n);f=ce(y,"false"),y.forEach(_),E.forEach(_),this.h()},h(){a.__value="",Ie(a,a.__value),u(a,"class","value-null"),t.__value="true",Ie(t,t.__value),t.selected=r=l[17].value==="true",n.__value="false",Ie(n,n.__value),n.selected=i=l[17].value==="false",u(e,"name",h=l[16].name+"[value]"),u(e,"id",m="edit_"+l[16].name)},m(c,E){ee(c,e,E),o(e,a),o(e,t),o(t,s),o(e,n),o(n,f)},p(c,E){E&3&&r!==(r=c[17].value==="true")&&(t.selected=r),E&3&&i!==(i=c[17].value==="false")&&(n.selected=i),E&1&&h!==(h=c[16].name+"[value]")&&u(e,"name",h),E&1&&m!==(m="edit_"+c[16].name)&&u(e,"id",m)},d(c){c&&_(e)}}}function ct(l){let e=l[5][l[16].name].message+"",a;return{c(){a=fe(e)},l(t){a=ce(t,e)},m(t,s){ee(t,a,s)},p(t,s){s&33&&e!==(e=t[5][t[16].name].message+"")&&De(a,e)},d(t){t&&_(a)}}}function dt(l){let e,a,t,s=l[16].name+"",r,n,f,i,h,m,c,E,T,y,F,P;const k=[Xt,Wt],C=[];function J($,V){return $[16].attribute_type==="string"?0:1}h=J(l),m=C[h]=k[h](l);function S($,V){return $[16].attribute_type==="boolean"?Zt:Qt}let R=S(l),z=R(l),U=l[5][l[16].name]&&ct(l);return{c(){e=p("fieldset"),a=p("dir"),t=p("label"),r=fe(s),n=p("br"),f=A(),i=p("div"),m.c(),E=A(),T=p("div"),z.c(),y=A(),F=p("div"),U&&U.c(),this.h()},l($){e=v($,"FIELDSET",{class:!0});var V=b(e);a=v(V,"DIR",{});var K=b(a);t=v(K,"LABEL",{for:!0,class:!0});var q=b(t);r=ce(q,s),n=v(q,"BR",{}),f=M(q),i=v(q,"DIV",{class:!0});var B=b(i);m.l(B),B.forEach(_),q.forEach(_),K.forEach(_),E=M(V),T=v(V,"DIV",{});var Y=b(T);z.l(Y),y=M(Y),F=v(Y,"DIV",{role:!0,class:!0});var I=b(F);U&&U.l(I),I.forEach(_),Y.forEach(_),V.forEach(_),this.h()},h(){u(i,"class","type svelte-26svji"),u(t,"for",c="edit_"+l[16].name),u(t,"class","svelte-26svji"),u(F,"role","alert"),u(F,"class","svelte-26svji"),u(e,"class","svelte-26svji")},m($,V){ee($,e,V),o(e,a),o(a,t),o(t,r),o(t,n),o(t,f),o(t,i),C[h].m(i,null),o(e,E),o(e,T),z.m(T,null),o(T,y),o(T,F),U&&U.m(F,null),P=!0},p($,V){(!P||V&1)&&s!==(s=$[16].name+"")&&De(r,s);let K=h;h=J($),h===K?C[h].p($,V):(ye(),H(C[K],1,1,()=>{C[K]=null}),Ce(),m=C[h],m?m.p($,V):(m=C[h]=k[h]($),m.c()),O(m,1),m.m(i,null)),(!P||V&1&&c!==(c="edit_"+$[16].name))&&u(t,"for",c),R===(R=S($))&&z?z.p($,V):(z.d(1),z=R($),z&&(z.c(),z.m(T,y))),$[5][$[16].name]?U?U.p($,V):(U=ct($),U.c(),U.m(F,null)):U&&(U.d(1),U=null)},i($){P||(O(m),P=!0)},o($){H(m),P=!1},d($){$&&_(e),C[h].d(),z.d(),U&&U.d()}}}function _t(l){let e,a=(l[13].message??JSON.stringify(l[13]))+"",t,s;return{c(){e=p("li"),t=fe(a),s=A(),this.h()},l(r){e=v(r,"LI",{class:!0});var n=b(e);t=ce(n,a),s=M(n),n.forEach(_),this.h()},h(){u(e,"class","svelte-26svji")},m(r,n){ee(r,e,n),o(e,t),o(e,s)},p(r,n){n&16&&a!==(a=(r[13].message??JSON.stringify(r[13]))+"")&&De(t,a)},d(r){r&&_(e)}}}function xt(l){let e;return{c(){e=fe("Edit user")},l(a){e=ce(a,"Edit user")},m(a,t){ee(a,e,t)},d(a){a&&_(e)}}}function el(l){let e;return{c(){e=fe("Create user")},l(a){e=ce(a,"Create user")},m(a,t){ee(a,e,t)},d(a){a&&_(e)}}}function tl(l){let e,a,t,s,r,n=``,f,i,h,m,c,E,T,y,F,P,k,C,J="Cancel",S,R,z,U,$,V,K,q,B=l[1]===null&&ft(),Y=Se(l[0]),I=[];for(let d=0;dH(I[d],1,1,()=>{I[d]=null});let L=Se(l[4]),j=[];for(let d=0;d{V&&($||($=qe(e,l[7],{},!0)),$.run(1))}),V=!0}},o(d){I=I.filter(Boolean);for(let N=0;Na(6,t=P));let s,r,n=[],f={},{userProperties:i}=e,{userToEdit:h}=e;const m=xe(),c=function(P,{delay:k=0,duration:C=150}){return{delay:k,duration:C,css:J=>{const S=Tt(J);return`opacity: ${S}; transform: scale(${S});`}}};Pt(()=>{setTimeout(()=>{s.showModal()},10)}),document.addEventListener("keydown",P=>{P.key==="Escape"&&(P.preventDefault(),we(re,t.user=void 0,t))},{once:!0});const E=async P=>{P.preventDefault();const k=new FormData(r);a(5,f={});for(const C of k.entries())if(C[0].endsWith("[type]")&&(C[1]==="json"||C[1]==="array")){const J=C[0].replace("[type]",""),S=k.get(J+"[value]");S!==""&&!Ft(S)&&a(5,f[J]={property:J,message:`Not a valid ${C[1]}`},f)}if(Object.keys(f).length)await tick(),document.querySelector('[role="alert"]:not(:empty)').scrollIntoView({behavior:"smooth",block:"center"});else if(h===null){const C=k.get("email"),J=k.get("password");k.delete("email"),k.delete("password");const S=await Ae.create(C,J,k);S.errors?a(4,n=S.errors):(we(re,t.user=void 0,t),re.notification.create("success",`User ${S.user.id} created`),m("success"))}else{const C=k.get("email");k.delete("email");const J=await Ae.edit(h.id,C,k);J.errors?a(4,n=J.errors):(we(re,t.user=void 0,t),re.notification.create("success",`User ${J.user_update.id} edited`),m("success"))}},T=()=>we(re,t.user=void 0,t);function y(P){Ue[P?"unshift":"push"](()=>{r=P,a(3,r)})}function F(P){Ue[P?"unshift":"push"](()=>{s=P,a(2,s)})}return l.$$set=P=>{"userProperties"in P&&a(0,i=P.userProperties),"userToEdit"in P&&a(1,h=P.userToEdit)},[i,h,s,r,n,f,t,c,E,T,y,F]}class sl extends ze{constructor(e){super(),Ke(this,e,ll,tl,He,{userProperties:0,userToEdit:1})}}const{document:We}=Ut;function pt(l,e,a){const t=l.slice();return t[28]=e[a],t}function vt(l){let e,a,t="Clear filters",s,r,n,f,i,h;return r=new je({props:{icon:"x",size:"14"}}),{c(){e=p("button"),a=p("span"),a.textContent=t,s=A(),me(r.$$.fragment),this.h()},l(m){e=v(m,"BUTTON",{type:!0,class:!0});var c=b(e);a=v(c,"SPAN",{class:!0,"data-svelte-h":!0}),ue(a)!=="svelte-ki22n5"&&(a.textContent=t),s=M(c),pe(r.$$.fragment,c),c.forEach(_),this.h()},h(){u(a,"class","label svelte-1g093it"),u(e,"type","button"),u(e,"class","clear svelte-1g093it")},m(m,c){ee(m,e,c),o(e,a),o(e,s),ve(r,e,null),f=!0,i||(h=_e(e,"click",l[10]),i=!0)},p:Ze,i(m){f||(O(r.$$.fragment,m),m&&et(()=>{f&&(n||(n=qe(e,l[8],{},!0)),n.run(1))}),f=!0)},o(m){H(r.$$.fragment,m),m&&(n||(n=qe(e,l[8],{},!1)),n.run(0)),f=!1},d(m){m&&_(e),he(r),m&&n&&n.end(),i=!1,h()}}}function ht(l){let e,a,t=Se(l[1]),s=[];for(let n=0;nH(s[n],1,1,()=>{s[n]=null});return{c(){e=p("tbody");for(let n=0;n{d=null}),Ce()),(!L||g&2)&&z!==(z=l[28].id+"")&&De(U,z),(!L||g&34&&$!==($="/users/"+l[28].id+"?"+l[5].url.searchParams.toString()))&&u(R,"href",$),(!L||g&2)&&B!==(B=l[28].email+"")&&De(Y,B),(!L||g&34&&I!==(I="/users/"+l[28].id+"?"+l[5].url.searchParams.toString()))&&u(q,"href",I),(!L||g&34)&&Oe(e,"active",l[5].params.id==l[28].id),(!L||g&18)&&Oe(e,"context",l[4].id===l[28].id)},i(N){L||(O(c.$$.fragment,N),O(k.$$.fragment,N),O(d),L=!0)},o(N){H(c.$$.fragment,N),H(k.$$.fragment,N),H(d),L=!1},d(N){N&&_(e),he(c),he(k),d&&d.d(),j=!1,Je(se)}}}function Et(l){let e;const a=l[13].default,t=Dt(a,l,l[12],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&4096)&&jt(t,a,s,s[12],e?Lt(a,s[12],r,null):Nt(s[12]),null)},i(s){e||(O(t,s),e=!0)},o(s){H(t,s),e=!1},d(s){t&&t.d(s)}}}function $t(l){let e,a;return e=new sl({props:{userProperties:l[2],userToEdit:l[6].user}}),e.$on("success",l[26]),{c(){me(e.$$.fragment)},l(t){pe(e.$$.fragment,t)},m(t,s){ve(e,t,s),a=!0},p(t,s){const r={};s&4&&(r.userProperties=t[2]),s&64&&(r.userToEdit=t[6].user),e.$set(r)},i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){H(e.$$.fragment,t),a=!1},d(t){he(e,t)}}}function al(l){var st;let e,a,t,s,r,n,f,i="Filter by",h,m,c,E,T="email",y,F="id",P,k,C,J,S,R,z="Apply filter",U,$,V,K,q,B,Y=' ID Email',I,w,L,j,se,ge="Page:",ae,d,N,g,G=l[3].totalPages+"",de,Ee,W,ne,ie,le,oe="Create a new user",Ne,Pe,$e,Ge,tt;We.title=e="Users"+((st=l[6].online)!=null&&st.MPKIT_URL?": "+l[6].online.MPKIT_URL.replace("https://",""):"");let X=l[3].value&&vt(l);$=new je({props:{icon:"arrowRight"}});let Q=l[1]&&ht(l);function yt(D){l[23](D)}let lt={form:"filters",name:"page",min:1,max:l[3].totalPages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};l[3].page!==void 0&&(lt.value=l[3].page),d=new qt({props:lt}),Ue.push(()=>St(d,"value",yt)),d.$on("input",l[24]),ne=new je({props:{icon:"plus"}});let Z=l[5].params.id&&Et(l),x=l[6].user!==void 0&&$t(l);return{c(){a=A(),t=p("div"),s=p("section"),r=p("nav"),n=p("form"),f=p("label"),f.textContent=i,h=A(),m=p("fieldset"),c=p("select"),E=p("option"),E.textContent=T,y=p("option"),y.textContent=F,P=A(),k=p("input"),C=A(),X&&X.c(),J=A(),S=p("button"),R=p("span"),R.textContent=z,U=A(),me($.$$.fragment),V=A(),K=p("article"),q=p("table"),B=p("thead"),B.innerHTML=Y,I=A(),Q&&Q.c(),w=A(),L=p("nav"),j=p("div"),se=p("label"),se.textContent=ge,ae=A(),me(d.$$.fragment),g=fe(`\r + of `),de=fe(G),Ee=A(),W=p("button"),me(ne.$$.fragment),ie=A(),le=p("span"),le.textContent=oe,Ne=A(),Z&&Z.c(),Pe=A(),x&&x.c(),this.h()},l(D){wt("svelte-mcmxo",We.head).forEach(_),a=M(D),t=v(D,"DIV",{class:!0});var be=b(t);s=v(be,"SECTION",{class:!0});var ke=b(s);r=v(ke,"NAV",{class:!0});var at=b(r);n=v(at,"FORM",{action:!0,id:!0,class:!0});var Me=b(n);f=v(Me,"LABEL",{for:!0,"data-svelte-h":!0}),ue(f)!=="svelte-rbwhex"&&(f.textContent=i),h=M(Me),m=v(Me,"FIELDSET",{class:!0});var Te=b(m);c=v(Te,"SELECT",{id:!0,name:!0,class:!0});var Ye=b(c);E=v(Ye,"OPTION",{"data-svelte-h":!0}),ue(E)!=="svelte-51kto6"&&(E.textContent=T),y=v(Ye,"OPTION",{"data-svelte-h":!0}),ue(y)!=="svelte-ns3pfu"&&(y.textContent=F),Ye.forEach(_),P=M(Te),k=v(Te,"INPUT",{type:!0,name:!0,class:!0}),C=M(Te),X&&X.l(Te),J=M(Te),S=v(Te,"BUTTON",{type:!0,class:!0});var Re=b(S);R=v(Re,"SPAN",{class:!0,"data-svelte-h":!0}),ue(R)!=="svelte-ctu7wl"&&(R.textContent=z),U=M(Re),pe($.$$.fragment,Re),Re.forEach(_),Te.forEach(_),Me.forEach(_),at.forEach(_),V=M(ke),K=v(ke,"ARTICLE",{class:!0});var nt=b(K);q=v(nt,"TABLE",{class:!0});var Be=b(q);B=v(Be,"THEAD",{class:!0,"data-svelte-h":!0}),ue(B)!=="svelte-17vx132"&&(B.innerHTML=Y),I=M(Be),Q&&Q.l(Be),Be.forEach(_),nt.forEach(_),w=M(ke),L=v(ke,"NAV",{class:!0});var Ve=b(L);j=v(Ve,"DIV",{});var Le=b(j);se=v(Le,"LABEL",{for:!0,"data-svelte-h":!0}),ue(se)!=="svelte-1r8oyu6"&&(se.textContent=ge),ae=M(Le),pe(d.$$.fragment,Le),g=ce(Le,`\r + of `),de=ce(Le,G),Le.forEach(_),Ee=M(Ve),W=v(Ve,"BUTTON",{class:!0,title:!0});var Fe=b(W);pe(ne.$$.fragment,Fe),ie=M(Fe),le=v(Fe,"SPAN",{class:!0,"data-svelte-h":!0}),ue(le)!=="svelte-vjukmr"&&(le.textContent=oe),Fe.forEach(_),Ve.forEach(_),ke.forEach(_),Ne=M(be),Z&&Z.l(be),Pe=M(be),x&&x.l(be),be.forEach(_),this.h()},h(){u(f,"for","filters_attribute"),E.__value="email",Ie(E,E.__value),y.__value="id",Ie(y,y.__value),u(c,"id","filters_attribute"),u(c,"name","attribute"),u(c,"class","svelte-1g093it"),l[3].attribute===void 0&&et(()=>l[14].call(c)),u(k,"type","text"),u(k,"name","value"),u(k,"class","svelte-1g093it"),u(R,"class","label svelte-1g093it"),u(S,"type","submit"),u(S,"class","button svelte-1g093it"),u(m,"class","search svelte-1g093it"),u(n,"action",""),u(n,"id","filters"),u(n,"class","svelte-1g093it"),u(r,"class","filters svelte-1g093it"),u(B,"class","svelte-1g093it"),u(q,"class","svelte-1g093it"),u(K,"class","contetnt"),u(se,"for","page"),u(le,"class","label"),u(W,"class","button"),u(W,"title","Create user"),u(L,"class","pagination svelte-1g093it"),u(s,"class","container svelte-1g093it"),u(t,"class","page svelte-1g093it")},m(D,te){ee(D,a,te),ee(D,t,te),o(t,s),o(s,r),o(r,n),o(n,f),o(n,h),o(n,m),o(m,c),o(c,E),o(c,y),rt(c,l[3].attribute,!0),o(m,P),o(m,k),Ie(k,l[3].value),o(m,C),X&&X.m(m,null),o(m,J),o(m,S),o(S,R),o(S,U),ve($,S,null),l[17](n),o(s,V),o(s,K),o(K,q),o(q,B),o(q,I),Q&&Q.m(q,null),o(s,w),o(s,L),o(L,j),o(j,se),o(j,ae),ve(d,j,null),o(j,g),o(j,de),o(L,Ee),o(L,W),ve(ne,W,null),o(W,ie),o(W,le),o(t,Ne),Z&&Z.m(t,null),o(t,Pe),x&&x.m(t,null),$e=!0,Ge||(tt=[_e(c,"change",l[14]),_e(c,"change",l[15]),_e(k,"input",l[16]),_e(n,"submit",l[18]),_e(W,"click",kt(l[25]))],Ge=!0)},p(D,[te]){var ke;(!$e||te&64)&&e!==(e="Users"+((ke=D[6].online)!=null&&ke.MPKIT_URL?": "+D[6].online.MPKIT_URL.replace("https://",""):""))&&(We.title=e),te&8&&rt(c,D[3].attribute),te&8&&k.value!==D[3].value&&Ie(k,D[3].value),D[3].value?X?(X.p(D,te),te&8&&O(X,1)):(X=vt(D),X.c(),O(X,1),X.m(m,J)):X&&(ye(),H(X,1,1,()=>{X=null}),Ce()),D[1]?Q?(Q.p(D,te),te&2&&O(Q,1)):(Q=ht(D),Q.c(),O(Q,1),Q.m(q,null)):Q&&(ye(),H(Q,1,1,()=>{Q=null}),Ce());const be={};te&8&&(be.max=D[3].totalPages),!N&&te&8&&(N=!0,be.value=D[3].page,It(()=>N=!1)),d.$set(be),(!$e||te&8)&&G!==(G=D[3].totalPages+"")&&De(de,G),D[5].params.id?Z?(Z.p(D,te),te&32&&O(Z,1)):(Z=Et(D),Z.c(),O(Z,1),Z.m(t,Pe)):Z&&(ye(),H(Z,1,1,()=>{Z=null}),Ce()),D[6].user!==void 0?x?(x.p(D,te),te&64&&O(x,1)):(x=$t(D),x.c(),O(x,1),x.m(t,null)):x&&(ye(),H(x,1,1,()=>{x=null}),Ce())},i(D){$e||(O(X),O($.$$.fragment,D),O(Q),O(d.$$.fragment,D),O(ne.$$.fragment,D),O(Z),O(x),$e=!0)},o(D){H(X),H($.$$.fragment,D),H(Q),H(d.$$.fragment,D),H(ne.$$.fragment,D),H(Z),H(x),$e=!1},d(D){D&&(_(a),_(t)),X&&X.d(),he($),l[17](null),Q&&Q.d(),he(d),he(ne),Z&&Z.d(),x&&x.d(),Ge=!1,Je(tt)}}}function nl(l,e,a){let t,s;Qe(l,Mt,w=>a(5,t=w)),Qe(l,re,w=>a(6,s=w));let{$$slots:r={},$$scope:n}=e,f,i=[],h=null,m={page:1,attribute:"email",value:""},c={page:1,totalPages:1,attribute:"email",value:"",...Object.fromEntries(t.url.searchParams)};we(re,s.user=void 0,s);let E={id:null};const T=function(){const w=Object.fromEntries(t.url.searchParams);Ae.get(w).then(L=>{a(1,i=L.results),a(3,c.totalPages=L.total_pages,c)})},y=function(w,{delay:L=0,duration:j=150}){return{delay:L,duration:j,css:se=>`scale: ${Tt(se)};`}},F=function(w=null){h===null?Ae.getCustomProperties().then(L=>{a(2,h=L),we(re,s.user=w,s)}).catch(()=>{re.notification.create("error","Could not load table properties. Please try again later.")}):we(re,s.user=w,s)},P=async function(){a(3,c=structuredClone(m)),await it(),f.requestSubmit()},k=async function(w){w.preventDefault();const L=t.url.searchParams,j=new URLSearchParams(new FormData(w.target));L.get("value")!==j.get("value")&&(j.set("page",1),a(3,c.page=1,c)),await At(document.location.pathname+"?"+j.toString()),await it(),await T()};function C(){c.attribute=Ot(this),a(3,c)}const J=()=>a(3,c.value="",c);function S(){c.value=this.value,a(3,c)}function R(w){Ue[w?"unshift":"push"](()=>{f=w,a(0,f)})}const z=w=>k(w),U=w=>a(4,E.id=w.id,E),$=w=>{F(w)},V=()=>T(),K=()=>a(4,E.id=null,E);function q(w){l.$$.not_equal(c.page,w)&&(c.page=w,a(3,c))}const B=w=>{f.requestSubmit(w.detail.submitter)},Y=()=>F(),I=()=>T();return l.$$set=w=>{"$$scope"in w&&a(12,n=w.$$scope)},T(),[f,i,h,c,E,t,s,T,y,F,P,k,n,r,C,J,S,R,z,U,$,V,K,q,B,Y,I]}class El extends ze{constructor(e){super(),Ke(this,e,nl,al,He,{})}}export{El as component}; diff --git a/gui/next/build/_app/immutable/nodes/9.PAOdTmqJ.js b/gui/next/build/_app/immutable/nodes/9.C0seAjWB.js similarity index 80% rename from gui/next/build/_app/immutable/nodes/9.PAOdTmqJ.js rename to gui/next/build/_app/immutable/nodes/9.C0seAjWB.js index 29385908..b26a8db0 100644 --- a/gui/next/build/_app/immutable/nodes/9.PAOdTmqJ.js +++ b/gui/next/build/_app/immutable/nodes/9.C0seAjWB.js @@ -1,6 +1,6 @@ -import{R as co,S as uo,T as Bl,U as fo,s as ho,a as i,e as l,t as I,p as vo,f as a,g as c,c as n,b as o,A as w,d as N,y as t,G as A,L as so,i as ks,h as e,C as q,j as be,r as po,k as mo,E as ca,n as z,v as lo,I as _o}from"../chunks/scheduler.ts1nwYMk.js";import{g as ro,a as m,e as io,t as p,S as go,i as $o,c as $,d as b,m as k,f as L,h as no}from"../chunks/index.MbwxngTa.js";import{f as ao}from"../chunks/index.CqFcJeJT.js";import{s as Ss}from"../chunks/state.HIdUDD3F.js";import{t as bo}from"../chunks/table.Cmn0kCDk.js";import{I as E}from"../chunks/Icon.Dn_EaQMz.js";function ko(s,u){const U=u.token={};function d(f,_,v,C){if(u.token!==U)return;u.resolved=C;let D=u.ctx;v!==void 0&&(D=D.slice(),D[v]=C);const M=f&&(u.current=f)(D);let P=!1;u.block&&(u.blocks?u.blocks.forEach((S,ke)=>{ke!==_&&S&&(ro(),m(S,1,1,()=>{u.blocks[ke]===S&&(u.blocks[ke]=null)}),io())}):u.block.d(1),M.c(),p(M,1),M.m(u.mount(),u.anchor),P=!0),u.block=M,u.blocks&&(u.blocks[_]=M),P&&fo()}if(co(s)){const f=uo();if(s.then(_=>{Bl(f),d(u.then,1,u.value,_),Bl(null)},_=>{if(Bl(f),d(u.catch,2,u.error,_),Bl(null),!u.hasCatch)throw _}),u.current!==u.pending)return d(u.pending,0),!0}else{if(u.current!==u.then)return d(u.then,1,u.value,s),!0;u.resolved=s}}function Lo(s,u,U){const d=u.slice(),{resolved:f}=s;s.current===s.then&&(d[s.value]=f),s.current===s.catch&&(d[s.error]=f),s.block.p(d,U)}function Eo(s){return{c:z,l:z,m:z,p:z,i:z,o:z,d:z}}function Uo(s){let u,U,d=s[23].version!==s[1].online.version&&oo(s);return{c(){d&&d.c(),u=lo()},l(f){d&&d.l(f),u=lo()},m(f,_){d&&d.m(f,_),ks(f,u,_),U=!0},p(f,_){f[23].version!==f[1].online.version?d?(d.p(f,_),_&2&&p(d,1)):(d=oo(f),d.c(),p(d,1),d.m(u.parentNode,u)):d&&(ro(),m(d,1,1,()=>{d=null}),io())},i(f){U||(p(d),U=!0)},o(f){m(d),U=!1},d(f){f&&a(u),d&&d.d(f)}}}function oo(s){let u,U,d,f,_="Update available",v,C,D,M;return U=new E({props:{icon:"arrowTripleUp"}}),{c(){u=l("button"),$(U.$$.fragment),d=i(),f=l("span"),f.textContent=_,this.h()},l(P){u=n(P,"BUTTON",{title:!0,class:!0});var S=o(u);b(U.$$.fragment,S),d=c(S),f=n(S,"SPAN",{"data-svelte-h":!0}),w(f)!=="svelte-16bfzxk"&&(f.textContent=_),S.forEach(a),this.h()},h(){t(u,"title","Update to pos-cli version "+s[23].version),t(u,"class","update svelte-50so3t")},m(P,S){ks(P,u,S),k(U,u,null),e(u,d),e(u,f),C=!0,D||(M=q(u,"click",s[6]),D=!0)},p:z,i(P){C||(p(U.$$.fragment,P),P&&_o(()=>{C&&(v||(v=no(u,ao,{},!0)),v.run(1))}),C=!0)},o(P){m(U.$$.fragment,P),P&&(v||(v=no(u,ao,{},!1)),v.run(0)),C=!1},d(P){P&&a(u),L(U),P&&v&&v.end(),D=!1,M()}}}function wo(s){return{c:z,l:z,m:z,p:z,i:z,o:z,d:z}}function Co(s){var Da;let u,U,d,f,_,v,C,D,M,P,S="Database",ke,Le,Hl='
  • Inspect tables and records
  • Create, edit or delete records
  • Filter and find any record
  • ',As,ie,Ke,j,Ee,Ms,Ue,Ol="Show more information about Database tool",Bs,We,O,T,we,Xe,Ls=s[1].header.includes("database")?"Unpin Database from":"Pin Database to",Hs,Jl,Os,Fl,J,ce,Rt,Ye,Ql,Ze,ua="Users",Gl,ye,da='
  • Inspect registered users and their personal data
  • ',Vl,Ce,jt,te,xe,Rl,et,fa="Show more information about Users tool",jl,Kt,K,Pe,Kl,tt,Es=s[1].header.includes("users")?"Unpin Users from":"Pin Users to",Js,Wl,Fs,Xl,F,ue,Wt,st,Yl,lt,ha="Logs",Zl,nt,va='
  • View system logs
  • Inspect logs you've outputted yourself
  • Debug Liquid or GraphQL errors
  • ',yl,Te,Xt,se,at,xl,ot,pa="Show more information about Logs tool",en,Yt,W,Ie,tn,rt,Us=s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to",Qs,sn,Gs,ln,Q,de,Zt,it,nn,ct,ma="Background Jobs",an,ut,_a='
  • List scheduled background jobs
  • Debug background jobs that failed to run
  • ',on,Ne,yt,le,dt,rn,ft,ga="Show more information about Background Jobs tool",cn,xt,X,qe,un,ht,ws=s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to",Vs,dn,Rs,fn,G,fe,es,vt,hn,pt,$a="Constants",vn,mt,ba='
  • Check all constants in one place
  • Create new constants
  • Edit or delete existing ones
  • ',pn,De,ts,ne,_t,mn,gt,ka="Show more information about Constants tool",_n,ss,Y,ze,gn,$t,Cs=s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to",js,$n,Ks,bn,ae,V,he,bt,kt,kn,Lt,La="Liquid Evaluator",Ln,Et,Ea='
  • Run Liquid code against your instance
  • Test Liquid logic
  • Quickly prototype your ideas
  • ',En,Se,ls,oe,Ut,Un,wt,Ua="Show more information about Liquid Evaluator",wn,ns,Z,Ae,Cn,Ct,Ps=s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to",Ws,Pn,Xs,Tn,R,ve,Pt,Tt,In,It,wa="GraphiQL",Nn,Nt,Ca='
  • Run GraphQL against your instance
  • Explore documentation
  • Quickly prototype your queries and mutations
  • ',qn,Me,as,re,qt,Dn,Dt,Pa="Show more information about GraphiQL",zn,os,y,Be,Sn,zt,Ts=s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to",Ys,An,Zs,Mn,He,Oe,Je,x,Fe,Bn,St,Is=s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to",ys,Hn,xs,On,pe,rs,At,Jn,is,Ta="Logs v2",Fn,Qe,ee,Ge,Qn,Mt,Ns=s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to",el,Gn,tl,Vn,me,cs,Bt,Rn,us,Ia="Network Logs",jn,Ht,Na=`Early access - New tools in testable versions`,sl,_e,ds,Kn,Ve,fs,Re,Ot,Wn,Xn,hs,je,Jt,Yn,g,Zn,qa;document.title=u="platformOS"+((Da=s[1].online)!=null&&Da.MPKIT_URL?": "+s[1].online.MPKIT_URL.replace("https://",""):""),D=new E({props:{icon:"database",size:"48"}}),Ee=new E({props:{icon:"info",size:"14"}}),T=new E({props:{icon:s[1].header.includes("database")?"pinFilled":"pin",size:"14"}}),Ye=new E({props:{icon:"users",size:"48"}}),xe=new E({props:{icon:"info",size:"14"}}),Pe=new E({props:{icon:s[1].header.includes("users")?"pinFilled":"pin",size:"14"}}),st=new E({props:{icon:"log",size:"48"}}),at=new E({props:{icon:"info",size:"14"}}),Ie=new E({props:{icon:s[1].header.includes("logs")?"pinFilled":"pin",size:"14"}}),it=new E({props:{icon:"backgroundJob",size:"48"}}),dt=new E({props:{icon:"info",size:"14"}}),qe=new E({props:{icon:s[1].header.includes("backgroundJobs")?"pinFilled":"pin",size:"14"}}),vt=new E({props:{icon:"constant",size:"48"}}),_t=new E({props:{icon:"info",size:"14"}}),ze=new E({props:{icon:s[1].header.includes("constants")?"pinFilled":"pin",size:"14"}}),kt=new E({props:{icon:"liquid",size:"48"}}),Ut=new E({props:{icon:"info",size:"14"}}),Ae=new E({props:{icon:s[1].header.includes("liquid")?"pinFilled":"pin",size:"14"}}),Tt=new E({props:{icon:"graphql",size:"48"}}),qt=new E({props:{icon:"info",size:"14"}}),Be=new E({props:{icon:s[1].header.includes("graphiql")?"pinFilled":"pin",size:"14"}}),Fe=new E({props:{icon:s[1].header.includes("logsv2")?"pinFilled":"pin",size:"12"}}),At=new E({props:{icon:"logFresh",size:"24"}}),Ge=new E({props:{icon:s[1].header.includes("network")?"pinFilled":"pin",size:"12"}}),Bt=new E({props:{icon:"globeMessage",size:"24"}});let B={ctx:s,current:null,token:null,hasCatch:!1,pending:wo,then:Uo,catch:Eo,value:23,blocks:[,,,]};return ko(s[5](),B),Ot=new E({props:{icon:"book"}}),Jt=new E({props:{icon:"serverSettings"}}),{c(){U=i(),d=l("nav"),f=l("ul"),_=l("li"),v=l("a"),C=l("div"),$(D.$$.fragment),M=i(),P=l("h2"),P.textContent=S,ke=i(),Le=l("ul"),Le.innerHTML=Hl,As=i(),ie=l("ul"),Ke=l("li"),j=l("button"),$(Ee.$$.fragment),Ms=i(),Ue=l("span"),Ue.textContent=Ol,Bs=i(),We=l("li"),O=l("button"),$(T.$$.fragment),we=i(),Xe=l("span"),Hs=I(Ls),Jl=I(" header menu"),Fl=i(),J=l("li"),ce=l("a"),Rt=l("div"),$(Ye.$$.fragment),Ql=i(),Ze=l("h2"),Ze.textContent=ua,Gl=i(),ye=l("ul"),ye.innerHTML=da,Vl=i(),Ce=l("ul"),jt=l("li"),te=l("button"),$(xe.$$.fragment),Rl=i(),et=l("span"),et.textContent=fa,jl=i(),Kt=l("li"),K=l("button"),$(Pe.$$.fragment),Kl=i(),tt=l("span"),Js=I(Es),Wl=I(" header menu"),Xl=i(),F=l("li"),ue=l("a"),Wt=l("div"),$(st.$$.fragment),Yl=i(),lt=l("h2"),lt.textContent=ha,Zl=i(),nt=l("ul"),nt.innerHTML=va,yl=i(),Te=l("ul"),Xt=l("li"),se=l("button"),$(at.$$.fragment),xl=i(),ot=l("span"),ot.textContent=pa,en=i(),Yt=l("li"),W=l("button"),$(Ie.$$.fragment),tn=i(),rt=l("span"),Qs=I(Us),sn=I(" header menu"),ln=i(),Q=l("li"),de=l("a"),Zt=l("div"),$(it.$$.fragment),nn=i(),ct=l("h2"),ct.textContent=ma,an=i(),ut=l("ul"),ut.innerHTML=_a,on=i(),Ne=l("ul"),yt=l("li"),le=l("button"),$(dt.$$.fragment),rn=i(),ft=l("span"),ft.textContent=ga,cn=i(),xt=l("li"),X=l("button"),$(qe.$$.fragment),un=i(),ht=l("span"),Vs=I(ws),dn=I(" header menu"),fn=i(),G=l("li"),fe=l("a"),es=l("div"),$(vt.$$.fragment),hn=i(),pt=l("h2"),pt.textContent=$a,vn=i(),mt=l("ul"),mt.innerHTML=ba,pn=i(),De=l("ul"),ts=l("li"),ne=l("button"),$(_t.$$.fragment),mn=i(),gt=l("span"),gt.textContent=ka,_n=i(),ss=l("li"),Y=l("button"),$(ze.$$.fragment),gn=i(),$t=l("span"),js=I(Cs),$n=I(" header menu"),bn=i(),ae=l("ul"),V=l("li"),he=l("a"),bt=l("div"),$(kt.$$.fragment),kn=i(),Lt=l("h2"),Lt.textContent=La,Ln=i(),Et=l("ul"),Et.innerHTML=Ea,En=i(),Se=l("ul"),ls=l("li"),oe=l("button"),$(Ut.$$.fragment),Un=i(),wt=l("span"),wt.textContent=Ua,wn=i(),ns=l("li"),Z=l("button"),$(Ae.$$.fragment),Cn=i(),Ct=l("span"),Ws=I(Ps),Pn=I(" header menu"),Tn=i(),R=l("li"),ve=l("a"),Pt=l("div"),$(Tt.$$.fragment),In=i(),It=l("h2"),It.textContent=wa,Nn=i(),Nt=l("ul"),Nt.innerHTML=Ca,qn=i(),Me=l("ul"),as=l("li"),re=l("button"),$(qt.$$.fragment),Dn=i(),Dt=l("span"),Dt.textContent=Pa,zn=i(),os=l("li"),y=l("button"),$(Be.$$.fragment),Sn=i(),zt=l("span"),Ys=I(Ts),An=I(" header menu"),Mn=i(),He=l("li"),Oe=l("ul"),Je=l("li"),x=l("button"),$(Fe.$$.fragment),Bn=i(),St=l("span"),ys=I(Is),Hn=I(" header menu"),On=i(),pe=l("a"),rs=l("i"),$(At.$$.fragment),Jn=i(),is=l("h3"),is.textContent=Ta,Fn=i(),Qe=l("li"),ee=l("button"),$(Ge.$$.fragment),Qn=i(),Mt=l("span"),el=I(Ns),Gn=I(" header menu"),Vn=i(),me=l("a"),cs=l("i"),$(Bt.$$.fragment),Rn=i(),us=l("h3"),us.textContent=Ia,jn=i(),Ht=l("h2"),Ht.innerHTML=Na,sl=i(),_e=l("footer"),ds=l("div"),B.block.c(),Kn=i(),Ve=l("ul"),fs=l("li"),Re=l("a"),$(Ot.$$.fragment),Wn=I(`\r +import{P as co,Q as uo,R as Bl,S as fo,s as ho,a as i,e as l,t as I,p as vo,f as a,g as c,c as n,b as o,A as U,d as N,y as t,G as A,I as so,i as ks,h as e,C as q,j as be,r as po,k as mo,E as ca,n as z,v as lo,M as _o}from"../chunks/scheduler.CKQ5dLhN.js";import{g as ro,a as m,e as io,t as p,S as go,i as $o,c as $,d as b,m as k,f as L,h as no}from"../chunks/index.CGVWAVV-.js";import{f as ao}from"../chunks/index.WWWgbq8H.js";import{s as Ss}from"../chunks/state.nqMW8J5l.js";import{t as bo}from"../chunks/table.Cmn0kCDk.js";import{I as E}from"../chunks/Icon.CkKwi_WD.js";function ko(s,u){const w=u.token={};function d(f,_,v,C){if(u.token!==w)return;u.resolved=C;let D=u.ctx;v!==void 0&&(D=D.slice(),D[v]=C);const M=f&&(u.current=f)(D);let P=!1;u.block&&(u.blocks?u.blocks.forEach((S,ke)=>{ke!==_&&S&&(ro(),m(S,1,1,()=>{u.blocks[ke]===S&&(u.blocks[ke]=null)}),io())}):u.block.d(1),M.c(),p(M,1),M.m(u.mount(),u.anchor),P=!0),u.block=M,u.blocks&&(u.blocks[_]=M),P&&fo()}if(co(s)){const f=uo();if(s.then(_=>{Bl(f),d(u.then,1,u.value,_),Bl(null)},_=>{if(Bl(f),d(u.catch,2,u.error,_),Bl(null),!u.hasCatch)throw _}),u.current!==u.pending)return d(u.pending,0),!0}else{if(u.current!==u.then)return d(u.then,1,u.value,s),!0;u.resolved=s}}function Lo(s,u,w){const d=u.slice(),{resolved:f}=s;s.current===s.then&&(d[s.value]=f),s.current===s.catch&&(d[s.error]=f),s.block.p(d,w)}function Eo(s){return{c:z,l:z,m:z,p:z,i:z,o:z,d:z}}function wo(s){let u,w,d=s[23].version!==s[1].online.version&&oo(s);return{c(){d&&d.c(),u=lo()},l(f){d&&d.l(f),u=lo()},m(f,_){d&&d.m(f,_),ks(f,u,_),w=!0},p(f,_){f[23].version!==f[1].online.version?d?(d.p(f,_),_&2&&p(d,1)):(d=oo(f),d.c(),p(d,1),d.m(u.parentNode,u)):d&&(ro(),m(d,1,1,()=>{d=null}),io())},i(f){w||(p(d),w=!0)},o(f){m(d),w=!1},d(f){f&&a(u),d&&d.d(f)}}}function oo(s){let u,w,d,f,_="Update available",v,C,D,M;return w=new E({props:{icon:"arrowTripleUp"}}),{c(){u=l("button"),$(w.$$.fragment),d=i(),f=l("span"),f.textContent=_,this.h()},l(P){u=n(P,"BUTTON",{title:!0,class:!0});var S=o(u);b(w.$$.fragment,S),d=c(S),f=n(S,"SPAN",{"data-svelte-h":!0}),U(f)!=="svelte-16bfzxk"&&(f.textContent=_),S.forEach(a),this.h()},h(){t(u,"title","Update to pos-cli version "+s[23].version),t(u,"class","update svelte-50so3t")},m(P,S){ks(P,u,S),k(w,u,null),e(u,d),e(u,f),C=!0,D||(M=q(u,"click",s[6]),D=!0)},p:z,i(P){C||(p(w.$$.fragment,P),P&&_o(()=>{C&&(v||(v=no(u,ao,{},!0)),v.run(1))}),C=!0)},o(P){m(w.$$.fragment,P),P&&(v||(v=no(u,ao,{},!1)),v.run(0)),C=!1},d(P){P&&a(u),L(w),P&&v&&v.end(),D=!1,M()}}}function Uo(s){return{c:z,l:z,m:z,p:z,i:z,o:z,d:z}}function Co(s){var Da;let u,w,d,f,_,v,C,D,M,P,S="Database",ke,Le,Hl='
  • Inspect tables and records
  • Create, edit or delete records
  • Filter and find any record
  • ',As,ie,Ke,j,Ee,Ms,we,Ol="Show more information about Database tool",Bs,We,O,T,Ue,Xe,Ls=s[1].header.includes("database")?"Unpin Database from":"Pin Database to",Hs,Jl,Os,Fl,J,ce,Rt,Ye,Ql,Ze,ua="Users",Gl,ye,da='
  • Inspect registered users and their personal data
  • ',Vl,Ce,jt,te,xe,Rl,et,fa="Show more information about Users tool",jl,Kt,K,Pe,Kl,tt,Es=s[1].header.includes("users")?"Unpin Users from":"Pin Users to",Js,Wl,Fs,Xl,F,ue,Wt,st,Yl,lt,ha="Logs",Zl,nt,va='
  • View system logs
  • Inspect logs you've outputted yourself
  • Debug Liquid or GraphQL errors
  • ',yl,Te,Xt,se,at,xl,ot,pa="Show more information about Logs tool",en,Yt,W,Ie,tn,rt,ws=s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to",Qs,sn,Gs,ln,Q,de,Zt,it,nn,ct,ma="Background Jobs",an,ut,_a='
  • List scheduled background jobs
  • Debug background jobs that failed to run
  • ',on,Ne,yt,le,dt,rn,ft,ga="Show more information about Background Jobs tool",cn,xt,X,qe,un,ht,Us=s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to",Vs,dn,Rs,fn,G,fe,es,vt,hn,pt,$a="Constants",vn,mt,ba='
  • Check all constants in one place
  • Create new constants
  • Edit or delete existing ones
  • ',pn,De,ts,ne,_t,mn,gt,ka="Show more information about Constants tool",_n,ss,Y,ze,gn,$t,Cs=s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to",js,$n,Ks,bn,ae,V,he,bt,kt,kn,Lt,La="Liquid Evaluator",Ln,Et,Ea='
  • Run Liquid code against your instance
  • Test Liquid logic
  • Quickly prototype your ideas
  • ',En,Se,ls,oe,wt,wn,Ut,wa="Show more information about Liquid Evaluator",Un,ns,Z,Ae,Cn,Ct,Ps=s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to",Ws,Pn,Xs,Tn,R,ve,Pt,Tt,In,It,Ua="GraphiQL",Nn,Nt,Ca='
  • Run GraphQL against your instance
  • Explore documentation
  • Quickly prototype your queries and mutations
  • ',qn,Me,as,re,qt,Dn,Dt,Pa="Show more information about GraphiQL",zn,os,y,Be,Sn,zt,Ts=s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to",Ys,An,Zs,Mn,He,Oe,Je,x,Fe,Bn,St,Is=s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to",ys,Hn,xs,On,pe,rs,At,Jn,is,Ta="Logs v2",Fn,Qe,ee,Ge,Qn,Mt,Ns=s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to",el,Gn,tl,Vn,me,cs,Bt,Rn,us,Ia="Network Logs",jn,Ht,Na=`Early access + New tools in testable versions`,sl,_e,ds,Kn,Ve,fs,Re,Ot,Wn,Xn,hs,je,Jt,Yn,g,Zn,qa;document.title=u="platformOS"+((Da=s[1].online)!=null&&Da.MPKIT_URL?": "+s[1].online.MPKIT_URL.replace("https://",""):""),D=new E({props:{icon:"database",size:"48"}}),Ee=new E({props:{icon:"info",size:"14"}}),T=new E({props:{icon:s[1].header.includes("database")?"pinFilled":"pin",size:"14"}}),Ye=new E({props:{icon:"users",size:"48"}}),xe=new E({props:{icon:"info",size:"14"}}),Pe=new E({props:{icon:s[1].header.includes("users")?"pinFilled":"pin",size:"14"}}),st=new E({props:{icon:"log",size:"48"}}),at=new E({props:{icon:"info",size:"14"}}),Ie=new E({props:{icon:s[1].header.includes("logs")?"pinFilled":"pin",size:"14"}}),it=new E({props:{icon:"backgroundJob",size:"48"}}),dt=new E({props:{icon:"info",size:"14"}}),qe=new E({props:{icon:s[1].header.includes("backgroundJobs")?"pinFilled":"pin",size:"14"}}),vt=new E({props:{icon:"constant",size:"48"}}),_t=new E({props:{icon:"info",size:"14"}}),ze=new E({props:{icon:s[1].header.includes("constants")?"pinFilled":"pin",size:"14"}}),kt=new E({props:{icon:"liquid",size:"48"}}),wt=new E({props:{icon:"info",size:"14"}}),Ae=new E({props:{icon:s[1].header.includes("liquid")?"pinFilled":"pin",size:"14"}}),Tt=new E({props:{icon:"graphql",size:"48"}}),qt=new E({props:{icon:"info",size:"14"}}),Be=new E({props:{icon:s[1].header.includes("graphiql")?"pinFilled":"pin",size:"14"}}),Fe=new E({props:{icon:s[1].header.includes("logsv2")?"pinFilled":"pin",size:"12"}}),At=new E({props:{icon:"logFresh",size:"24"}}),Ge=new E({props:{icon:s[1].header.includes("network")?"pinFilled":"pin",size:"12"}}),Bt=new E({props:{icon:"globeMessage",size:"24"}});let B={ctx:s,current:null,token:null,hasCatch:!1,pending:Uo,then:wo,catch:Eo,value:23,blocks:[,,,]};return ko(s[5](),B),Ot=new E({props:{icon:"book"}}),Jt=new E({props:{icon:"serverSettings"}}),{c(){w=i(),d=l("nav"),f=l("ul"),_=l("li"),v=l("a"),C=l("div"),$(D.$$.fragment),M=i(),P=l("h2"),P.textContent=S,ke=i(),Le=l("ul"),Le.innerHTML=Hl,As=i(),ie=l("ul"),Ke=l("li"),j=l("button"),$(Ee.$$.fragment),Ms=i(),we=l("span"),we.textContent=Ol,Bs=i(),We=l("li"),O=l("button"),$(T.$$.fragment),Ue=i(),Xe=l("span"),Hs=I(Ls),Jl=I(" header menu"),Fl=i(),J=l("li"),ce=l("a"),Rt=l("div"),$(Ye.$$.fragment),Ql=i(),Ze=l("h2"),Ze.textContent=ua,Gl=i(),ye=l("ul"),ye.innerHTML=da,Vl=i(),Ce=l("ul"),jt=l("li"),te=l("button"),$(xe.$$.fragment),Rl=i(),et=l("span"),et.textContent=fa,jl=i(),Kt=l("li"),K=l("button"),$(Pe.$$.fragment),Kl=i(),tt=l("span"),Js=I(Es),Wl=I(" header menu"),Xl=i(),F=l("li"),ue=l("a"),Wt=l("div"),$(st.$$.fragment),Yl=i(),lt=l("h2"),lt.textContent=ha,Zl=i(),nt=l("ul"),nt.innerHTML=va,yl=i(),Te=l("ul"),Xt=l("li"),se=l("button"),$(at.$$.fragment),xl=i(),ot=l("span"),ot.textContent=pa,en=i(),Yt=l("li"),W=l("button"),$(Ie.$$.fragment),tn=i(),rt=l("span"),Qs=I(ws),sn=I(" header menu"),ln=i(),Q=l("li"),de=l("a"),Zt=l("div"),$(it.$$.fragment),nn=i(),ct=l("h2"),ct.textContent=ma,an=i(),ut=l("ul"),ut.innerHTML=_a,on=i(),Ne=l("ul"),yt=l("li"),le=l("button"),$(dt.$$.fragment),rn=i(),ft=l("span"),ft.textContent=ga,cn=i(),xt=l("li"),X=l("button"),$(qe.$$.fragment),un=i(),ht=l("span"),Vs=I(Us),dn=I(" header menu"),fn=i(),G=l("li"),fe=l("a"),es=l("div"),$(vt.$$.fragment),hn=i(),pt=l("h2"),pt.textContent=$a,vn=i(),mt=l("ul"),mt.innerHTML=ba,pn=i(),De=l("ul"),ts=l("li"),ne=l("button"),$(_t.$$.fragment),mn=i(),gt=l("span"),gt.textContent=ka,_n=i(),ss=l("li"),Y=l("button"),$(ze.$$.fragment),gn=i(),$t=l("span"),js=I(Cs),$n=I(" header menu"),bn=i(),ae=l("ul"),V=l("li"),he=l("a"),bt=l("div"),$(kt.$$.fragment),kn=i(),Lt=l("h2"),Lt.textContent=La,Ln=i(),Et=l("ul"),Et.innerHTML=Ea,En=i(),Se=l("ul"),ls=l("li"),oe=l("button"),$(wt.$$.fragment),wn=i(),Ut=l("span"),Ut.textContent=wa,Un=i(),ns=l("li"),Z=l("button"),$(Ae.$$.fragment),Cn=i(),Ct=l("span"),Ws=I(Ps),Pn=I(" header menu"),Tn=i(),R=l("li"),ve=l("a"),Pt=l("div"),$(Tt.$$.fragment),In=i(),It=l("h2"),It.textContent=Ua,Nn=i(),Nt=l("ul"),Nt.innerHTML=Ca,qn=i(),Me=l("ul"),as=l("li"),re=l("button"),$(qt.$$.fragment),Dn=i(),Dt=l("span"),Dt.textContent=Pa,zn=i(),os=l("li"),y=l("button"),$(Be.$$.fragment),Sn=i(),zt=l("span"),Ys=I(Ts),An=I(" header menu"),Mn=i(),He=l("li"),Oe=l("ul"),Je=l("li"),x=l("button"),$(Fe.$$.fragment),Bn=i(),St=l("span"),ys=I(Is),Hn=I(" header menu"),On=i(),pe=l("a"),rs=l("i"),$(At.$$.fragment),Jn=i(),is=l("h3"),is.textContent=Ta,Fn=i(),Qe=l("li"),ee=l("button"),$(Ge.$$.fragment),Qn=i(),Mt=l("span"),el=I(Ns),Gn=I(" header menu"),Vn=i(),me=l("a"),cs=l("i"),$(Bt.$$.fragment),Rn=i(),us=l("h3"),us.textContent=Ia,jn=i(),Ht=l("h2"),Ht.innerHTML=Na,sl=i(),_e=l("footer"),ds=l("div"),B.block.c(),Kn=i(),Ve=l("ul"),fs=l("li"),Re=l("a"),$(Ot.$$.fragment),Wn=I(`\r Documentation`),Xn=i(),hs=l("li"),je=l("a"),$(Jt.$$.fragment),Yn=I(`\r - Partner Portal`),this.h()},l(r){vo("svelte-zlk2mt",document.head).forEach(a),U=c(r),d=n(r,"NAV",{class:!0});var ge=o(d);f=n(ge,"UL",{class:!0});var H=o(f);_=n(H,"LI",{class:!0});var $e=o(_);v=n($e,"A",{href:!0,class:!0});var Ft=o(v);C=n(Ft,"DIV",{class:!0});var qs=o(C);b(D.$$.fragment,qs),qs.forEach(a),M=c(Ft),P=n(Ft,"H2",{class:!0,"data-svelte-h":!0}),w(P)!=="svelte-1a38a01"&&(P.textContent=S),Ft.forEach(a),ke=c($e),Le=n($e,"UL",{class:!0,"data-svelte-h":!0}),w(Le)!=="svelte-1tj1zl5"&&(Le.innerHTML=Hl),As=c($e),ie=n($e,"UL",{class:!0});var Qt=o(ie);Ke=n(Qt,"LI",{class:!0});var Ds=o(Ke);j=n(Ds,"BUTTON",{title:!0,class:!0});var Gt=o(j);b(Ee.$$.fragment,Gt),Ms=c(Gt),Ue=n(Gt,"SPAN",{class:!0,"data-svelte-h":!0}),w(Ue)!=="svelte-vg36pf"&&(Ue.textContent=Ol),Gt.forEach(a),Ds.forEach(a),Bs=c(Qt),We=n(Qt,"LI",{class:!0});var zs=o(We);O=n(zs,"BUTTON",{title:!0,class:!0});var Vt=o(O);b(T.$$.fragment,Vt),we=c(Vt),Xe=n(Vt,"SPAN",{class:!0});var yn=o(Xe);Hs=N(yn,Ls),Jl=N(yn," header menu"),yn.forEach(a),Vt.forEach(a),zs.forEach(a),Qt.forEach(a),$e.forEach(a),Fl=c(H),J=n(H,"LI",{class:!0});var vs=o(J);ce=n(vs,"A",{href:!0,class:!0});var ll=o(ce);Rt=n(ll,"DIV",{class:!0});var za=o(Rt);b(Ye.$$.fragment,za),za.forEach(a),Ql=c(ll),Ze=n(ll,"H2",{class:!0,"data-svelte-h":!0}),w(Ze)!=="svelte-bvmn5u"&&(Ze.textContent=ua),ll.forEach(a),Gl=c(vs),ye=n(vs,"UL",{class:!0,"data-svelte-h":!0}),w(ye)!=="svelte-ml78fh"&&(ye.innerHTML=da),Vl=c(vs),Ce=n(vs,"UL",{class:!0});var nl=o(Ce);jt=n(nl,"LI",{class:!0});var Sa=o(jt);te=n(Sa,"BUTTON",{title:!0,class:!0});var al=o(te);b(xe.$$.fragment,al),Rl=c(al),et=n(al,"SPAN",{class:!0,"data-svelte-h":!0}),w(et)!=="svelte-10o6fc2"&&(et.textContent=fa),al.forEach(a),Sa.forEach(a),jl=c(nl),Kt=n(nl,"LI",{class:!0});var Aa=o(Kt);K=n(Aa,"BUTTON",{title:!0,class:!0});var ol=o(K);b(Pe.$$.fragment,ol),Kl=c(ol),tt=n(ol,"SPAN",{class:!0});var xn=o(tt);Js=N(xn,Es),Wl=N(xn," header menu"),xn.forEach(a),ol.forEach(a),Aa.forEach(a),nl.forEach(a),vs.forEach(a),Xl=c(H),F=n(H,"LI",{class:!0});var ps=o(F);ue=n(ps,"A",{href:!0,class:!0});var rl=o(ue);Wt=n(rl,"DIV",{class:!0});var Ma=o(Wt);b(st.$$.fragment,Ma),Ma.forEach(a),Yl=c(rl),lt=n(rl,"H2",{class:!0,"data-svelte-h":!0}),w(lt)!=="svelte-1ef7qq7"&&(lt.textContent=ha),rl.forEach(a),Zl=c(ps),nt=n(ps,"UL",{class:!0,"data-svelte-h":!0}),w(nt)!=="svelte-16nvdoq"&&(nt.innerHTML=va),yl=c(ps),Te=n(ps,"UL",{class:!0});var il=o(Te);Xt=n(il,"LI",{class:!0});var Ba=o(Xt);se=n(Ba,"BUTTON",{title:!0,class:!0});var cl=o(se);b(at.$$.fragment,cl),xl=c(cl),ot=n(cl,"SPAN",{class:!0,"data-svelte-h":!0}),w(ot)!=="svelte-7a5jqd"&&(ot.textContent=pa),cl.forEach(a),Ba.forEach(a),en=c(il),Yt=n(il,"LI",{class:!0});var Ha=o(Yt);W=n(Ha,"BUTTON",{title:!0,class:!0});var ul=o(W);b(Ie.$$.fragment,ul),tn=c(ul),rt=n(ul,"SPAN",{class:!0});var ea=o(rt);Qs=N(ea,Us),sn=N(ea," header menu"),ea.forEach(a),ul.forEach(a),Ha.forEach(a),il.forEach(a),ps.forEach(a),ln=c(H),Q=n(H,"LI",{class:!0});var ms=o(Q);de=n(ms,"A",{href:!0,class:!0});var dl=o(de);Zt=n(dl,"DIV",{class:!0});var Oa=o(Zt);b(it.$$.fragment,Oa),Oa.forEach(a),nn=c(dl),ct=n(dl,"H2",{class:!0,"data-svelte-h":!0}),w(ct)!=="svelte-1bxtcha"&&(ct.textContent=ma),dl.forEach(a),an=c(ms),ut=n(ms,"UL",{class:!0,"data-svelte-h":!0}),w(ut)!=="svelte-198kha5"&&(ut.innerHTML=_a),on=c(ms),Ne=n(ms,"UL",{class:!0});var fl=o(Ne);yt=n(fl,"LI",{class:!0});var Ja=o(yt);le=n(Ja,"BUTTON",{title:!0,class:!0});var hl=o(le);b(dt.$$.fragment,hl),rn=c(hl),ft=n(hl,"SPAN",{class:!0,"data-svelte-h":!0}),w(ft)!=="svelte-12zm1eu"&&(ft.textContent=ga),hl.forEach(a),Ja.forEach(a),cn=c(fl),xt=n(fl,"LI",{class:!0});var Fa=o(xt);X=n(Fa,"BUTTON",{title:!0,class:!0});var vl=o(X);b(qe.$$.fragment,vl),un=c(vl),ht=n(vl,"SPAN",{class:!0});var ta=o(ht);Vs=N(ta,ws),dn=N(ta," header menu"),ta.forEach(a),vl.forEach(a),Fa.forEach(a),fl.forEach(a),ms.forEach(a),fn=c(H),G=n(H,"LI",{class:!0});var _s=o(G);fe=n(_s,"A",{href:!0,class:!0});var pl=o(fe);es=n(pl,"DIV",{class:!0});var Qa=o(es);b(vt.$$.fragment,Qa),Qa.forEach(a),hn=c(pl),pt=n(pl,"H2",{class:!0,"data-svelte-h":!0}),w(pt)!=="svelte-187k1uv"&&(pt.textContent=$a),pl.forEach(a),vn=c(_s),mt=n(_s,"UL",{class:!0,"data-svelte-h":!0}),w(mt)!=="svelte-1hxwc9f"&&(mt.innerHTML=ba),pn=c(_s),De=n(_s,"UL",{class:!0});var ml=o(De);ts=n(ml,"LI",{class:!0});var Ga=o(ts);ne=n(Ga,"BUTTON",{title:!0,class:!0});var _l=o(ne);b(_t.$$.fragment,_l),mn=c(_l),gt=n(_l,"SPAN",{class:!0,"data-svelte-h":!0}),w(gt)!=="svelte-96zp3x"&&(gt.textContent=ka),_l.forEach(a),Ga.forEach(a),_n=c(ml),ss=n(ml,"LI",{class:!0});var Va=o(ss);Y=n(Va,"BUTTON",{title:!0,class:!0});var gl=o(Y);b(ze.$$.fragment,gl),gn=c(gl),$t=n(gl,"SPAN",{class:!0});var sa=o($t);js=N(sa,Cs),$n=N(sa," header menu"),sa.forEach(a),gl.forEach(a),Va.forEach(a),ml.forEach(a),_s.forEach(a),H.forEach(a),bn=c(ge),ae=n(ge,"UL",{class:!0});var gs=o(ae);V=n(gs,"LI",{class:!0});var $s=o(V);he=n($s,"A",{href:!0,class:!0});var $l=o(he);bt=n($l,"DIV",{class:!0,style:!0});var Ra=o(bt);b(kt.$$.fragment,Ra),Ra.forEach(a),kn=c($l),Lt=n($l,"H2",{class:!0,"data-svelte-h":!0}),w(Lt)!=="svelte-1945w61"&&(Lt.textContent=La),$l.forEach(a),Ln=c($s),Et=n($s,"UL",{class:!0,"data-svelte-h":!0}),w(Et)!=="svelte-1k625ps"&&(Et.innerHTML=Ea),En=c($s),Se=n($s,"UL",{class:!0});var bl=o(Se);ls=n(bl,"LI",{class:!0});var ja=o(ls);oe=n(ja,"BUTTON",{title:!0,class:!0});var kl=o(oe);b(Ut.$$.fragment,kl),Un=c(kl),wt=n(kl,"SPAN",{class:!0,"data-svelte-h":!0}),w(wt)!=="svelte-zgpe6t"&&(wt.textContent=Ua),kl.forEach(a),ja.forEach(a),wn=c(bl),ns=n(bl,"LI",{class:!0});var Ka=o(ns);Z=n(Ka,"BUTTON",{title:!0,class:!0});var Ll=o(Z);b(Ae.$$.fragment,Ll),Cn=c(Ll),Ct=n(Ll,"SPAN",{class:!0});var la=o(Ct);Ws=N(la,Ps),Pn=N(la," header menu"),la.forEach(a),Ll.forEach(a),Ka.forEach(a),bl.forEach(a),$s.forEach(a),Tn=c(gs),R=n(gs,"LI",{class:!0});var bs=o(R);ve=n(bs,"A",{href:!0,class:!0});var El=o(ve);Pt=n(El,"DIV",{class:!0,style:!0});var Wa=o(Pt);b(Tt.$$.fragment,Wa),Wa.forEach(a),In=c(El),It=n(El,"H2",{class:!0,"data-svelte-h":!0}),w(It)!=="svelte-v0z4e8"&&(It.textContent=wa),El.forEach(a),Nn=c(bs),Nt=n(bs,"UL",{class:!0,"data-svelte-h":!0}),w(Nt)!=="svelte-17bqupm"&&(Nt.innerHTML=Ca),qn=c(bs),Me=n(bs,"UL",{class:!0});var Ul=o(Me);as=n(Ul,"LI",{class:!0});var Xa=o(as);re=n(Xa,"BUTTON",{title:!0,class:!0});var wl=o(re);b(qt.$$.fragment,wl),Dn=c(wl),Dt=n(wl,"SPAN",{class:!0,"data-svelte-h":!0}),w(Dt)!=="svelte-1mz1lxe"&&(Dt.textContent=Pa),wl.forEach(a),Xa.forEach(a),zn=c(Ul),os=n(Ul,"LI",{class:!0});var Ya=o(os);y=n(Ya,"BUTTON",{title:!0,class:!0});var Cl=o(y);b(Be.$$.fragment,Cl),Sn=c(Cl),zt=n(Cl,"SPAN",{class:!0});var na=o(zt);Ys=N(na,Ts),An=N(na," header menu"),na.forEach(a),Cl.forEach(a),Ya.forEach(a),Ul.forEach(a),bs.forEach(a),Mn=c(gs),He=n(gs,"LI",{class:!0});var Pl=o(He);Oe=n(Pl,"UL",{class:!0});var Tl=o(Oe);Je=n(Tl,"LI",{class:!0});var Il=o(Je);x=n(Il,"BUTTON",{title:!0,class:!0});var Nl=o(x);b(Fe.$$.fragment,Nl),Bn=c(Nl),St=n(Nl,"SPAN",{class:!0});var aa=o(St);ys=N(aa,Is),Hn=N(aa," header menu"),aa.forEach(a),Nl.forEach(a),On=c(Il),pe=n(Il,"A",{href:!0,class:!0});var ql=o(pe);rs=n(ql,"I",{class:!0});var Za=o(rs);b(At.$$.fragment,Za),Za.forEach(a),Jn=c(ql),is=n(ql,"H3",{"data-svelte-h":!0}),w(is)!=="svelte-12gavf5"&&(is.textContent=Ta),ql.forEach(a),Il.forEach(a),Fn=c(Tl),Qe=n(Tl,"LI",{class:!0});var Dl=o(Qe);ee=n(Dl,"BUTTON",{title:!0,class:!0});var zl=o(ee);b(Ge.$$.fragment,zl),Qn=c(zl),Mt=n(zl,"SPAN",{class:!0});var oa=o(Mt);el=N(oa,Ns),Gn=N(oa," header menu"),oa.forEach(a),zl.forEach(a),Vn=c(Dl),me=n(Dl,"A",{href:!0,class:!0});var Sl=o(me);cs=n(Sl,"I",{class:!0});var ya=o(cs);b(Bt.$$.fragment,ya),ya.forEach(a),Rn=c(Sl),us=n(Sl,"H3",{"data-svelte-h":!0}),w(us)!=="svelte-16npeyx"&&(us.textContent=Ia),Sl.forEach(a),Dl.forEach(a),Tl.forEach(a),jn=c(Pl),Ht=n(Pl,"H2",{class:!0,"data-svelte-h":!0}),w(Ht)!=="svelte-bhbezd"&&(Ht.innerHTML=Na),Pl.forEach(a),gs.forEach(a),ge.forEach(a),sl=c(r),_e=n(r,"FOOTER",{class:!0});var Al=o(_e);ds=n(Al,"DIV",{});var xa=o(ds);B.block.l(xa),xa.forEach(a),Kn=c(Al),Ve=n(Al,"UL",{class:!0});var Ml=o(Ve);fs=n(Ml,"LI",{class:!0});var eo=o(fs);Re=n(eo,"A",{href:!0,class:!0});var ra=o(Re);b(Ot.$$.fragment,ra),Wn=N(ra,`\r + Partner Portal`),this.h()},l(r){vo("svelte-zlk2mt",document.head).forEach(a),w=c(r),d=n(r,"NAV",{class:!0});var ge=o(d);f=n(ge,"UL",{class:!0});var H=o(f);_=n(H,"LI",{class:!0});var $e=o(_);v=n($e,"A",{href:!0,class:!0});var Ft=o(v);C=n(Ft,"DIV",{class:!0});var qs=o(C);b(D.$$.fragment,qs),qs.forEach(a),M=c(Ft),P=n(Ft,"H2",{class:!0,"data-svelte-h":!0}),U(P)!=="svelte-1a38a01"&&(P.textContent=S),Ft.forEach(a),ke=c($e),Le=n($e,"UL",{class:!0,"data-svelte-h":!0}),U(Le)!=="svelte-1tj1zl5"&&(Le.innerHTML=Hl),As=c($e),ie=n($e,"UL",{class:!0});var Qt=o(ie);Ke=n(Qt,"LI",{class:!0});var Ds=o(Ke);j=n(Ds,"BUTTON",{title:!0,class:!0});var Gt=o(j);b(Ee.$$.fragment,Gt),Ms=c(Gt),we=n(Gt,"SPAN",{class:!0,"data-svelte-h":!0}),U(we)!=="svelte-vg36pf"&&(we.textContent=Ol),Gt.forEach(a),Ds.forEach(a),Bs=c(Qt),We=n(Qt,"LI",{class:!0});var zs=o(We);O=n(zs,"BUTTON",{title:!0,class:!0});var Vt=o(O);b(T.$$.fragment,Vt),Ue=c(Vt),Xe=n(Vt,"SPAN",{class:!0});var yn=o(Xe);Hs=N(yn,Ls),Jl=N(yn," header menu"),yn.forEach(a),Vt.forEach(a),zs.forEach(a),Qt.forEach(a),$e.forEach(a),Fl=c(H),J=n(H,"LI",{class:!0});var vs=o(J);ce=n(vs,"A",{href:!0,class:!0});var ll=o(ce);Rt=n(ll,"DIV",{class:!0});var za=o(Rt);b(Ye.$$.fragment,za),za.forEach(a),Ql=c(ll),Ze=n(ll,"H2",{class:!0,"data-svelte-h":!0}),U(Ze)!=="svelte-bvmn5u"&&(Ze.textContent=ua),ll.forEach(a),Gl=c(vs),ye=n(vs,"UL",{class:!0,"data-svelte-h":!0}),U(ye)!=="svelte-ml78fh"&&(ye.innerHTML=da),Vl=c(vs),Ce=n(vs,"UL",{class:!0});var nl=o(Ce);jt=n(nl,"LI",{class:!0});var Sa=o(jt);te=n(Sa,"BUTTON",{title:!0,class:!0});var al=o(te);b(xe.$$.fragment,al),Rl=c(al),et=n(al,"SPAN",{class:!0,"data-svelte-h":!0}),U(et)!=="svelte-10o6fc2"&&(et.textContent=fa),al.forEach(a),Sa.forEach(a),jl=c(nl),Kt=n(nl,"LI",{class:!0});var Aa=o(Kt);K=n(Aa,"BUTTON",{title:!0,class:!0});var ol=o(K);b(Pe.$$.fragment,ol),Kl=c(ol),tt=n(ol,"SPAN",{class:!0});var xn=o(tt);Js=N(xn,Es),Wl=N(xn," header menu"),xn.forEach(a),ol.forEach(a),Aa.forEach(a),nl.forEach(a),vs.forEach(a),Xl=c(H),F=n(H,"LI",{class:!0});var ps=o(F);ue=n(ps,"A",{href:!0,class:!0});var rl=o(ue);Wt=n(rl,"DIV",{class:!0});var Ma=o(Wt);b(st.$$.fragment,Ma),Ma.forEach(a),Yl=c(rl),lt=n(rl,"H2",{class:!0,"data-svelte-h":!0}),U(lt)!=="svelte-1ef7qq7"&&(lt.textContent=ha),rl.forEach(a),Zl=c(ps),nt=n(ps,"UL",{class:!0,"data-svelte-h":!0}),U(nt)!=="svelte-16nvdoq"&&(nt.innerHTML=va),yl=c(ps),Te=n(ps,"UL",{class:!0});var il=o(Te);Xt=n(il,"LI",{class:!0});var Ba=o(Xt);se=n(Ba,"BUTTON",{title:!0,class:!0});var cl=o(se);b(at.$$.fragment,cl),xl=c(cl),ot=n(cl,"SPAN",{class:!0,"data-svelte-h":!0}),U(ot)!=="svelte-7a5jqd"&&(ot.textContent=pa),cl.forEach(a),Ba.forEach(a),en=c(il),Yt=n(il,"LI",{class:!0});var Ha=o(Yt);W=n(Ha,"BUTTON",{title:!0,class:!0});var ul=o(W);b(Ie.$$.fragment,ul),tn=c(ul),rt=n(ul,"SPAN",{class:!0});var ea=o(rt);Qs=N(ea,ws),sn=N(ea," header menu"),ea.forEach(a),ul.forEach(a),Ha.forEach(a),il.forEach(a),ps.forEach(a),ln=c(H),Q=n(H,"LI",{class:!0});var ms=o(Q);de=n(ms,"A",{href:!0,class:!0});var dl=o(de);Zt=n(dl,"DIV",{class:!0});var Oa=o(Zt);b(it.$$.fragment,Oa),Oa.forEach(a),nn=c(dl),ct=n(dl,"H2",{class:!0,"data-svelte-h":!0}),U(ct)!=="svelte-1bxtcha"&&(ct.textContent=ma),dl.forEach(a),an=c(ms),ut=n(ms,"UL",{class:!0,"data-svelte-h":!0}),U(ut)!=="svelte-198kha5"&&(ut.innerHTML=_a),on=c(ms),Ne=n(ms,"UL",{class:!0});var fl=o(Ne);yt=n(fl,"LI",{class:!0});var Ja=o(yt);le=n(Ja,"BUTTON",{title:!0,class:!0});var hl=o(le);b(dt.$$.fragment,hl),rn=c(hl),ft=n(hl,"SPAN",{class:!0,"data-svelte-h":!0}),U(ft)!=="svelte-12zm1eu"&&(ft.textContent=ga),hl.forEach(a),Ja.forEach(a),cn=c(fl),xt=n(fl,"LI",{class:!0});var Fa=o(xt);X=n(Fa,"BUTTON",{title:!0,class:!0});var vl=o(X);b(qe.$$.fragment,vl),un=c(vl),ht=n(vl,"SPAN",{class:!0});var ta=o(ht);Vs=N(ta,Us),dn=N(ta," header menu"),ta.forEach(a),vl.forEach(a),Fa.forEach(a),fl.forEach(a),ms.forEach(a),fn=c(H),G=n(H,"LI",{class:!0});var _s=o(G);fe=n(_s,"A",{href:!0,class:!0});var pl=o(fe);es=n(pl,"DIV",{class:!0});var Qa=o(es);b(vt.$$.fragment,Qa),Qa.forEach(a),hn=c(pl),pt=n(pl,"H2",{class:!0,"data-svelte-h":!0}),U(pt)!=="svelte-187k1uv"&&(pt.textContent=$a),pl.forEach(a),vn=c(_s),mt=n(_s,"UL",{class:!0,"data-svelte-h":!0}),U(mt)!=="svelte-1hxwc9f"&&(mt.innerHTML=ba),pn=c(_s),De=n(_s,"UL",{class:!0});var ml=o(De);ts=n(ml,"LI",{class:!0});var Ga=o(ts);ne=n(Ga,"BUTTON",{title:!0,class:!0});var _l=o(ne);b(_t.$$.fragment,_l),mn=c(_l),gt=n(_l,"SPAN",{class:!0,"data-svelte-h":!0}),U(gt)!=="svelte-96zp3x"&&(gt.textContent=ka),_l.forEach(a),Ga.forEach(a),_n=c(ml),ss=n(ml,"LI",{class:!0});var Va=o(ss);Y=n(Va,"BUTTON",{title:!0,class:!0});var gl=o(Y);b(ze.$$.fragment,gl),gn=c(gl),$t=n(gl,"SPAN",{class:!0});var sa=o($t);js=N(sa,Cs),$n=N(sa," header menu"),sa.forEach(a),gl.forEach(a),Va.forEach(a),ml.forEach(a),_s.forEach(a),H.forEach(a),bn=c(ge),ae=n(ge,"UL",{class:!0});var gs=o(ae);V=n(gs,"LI",{class:!0});var $s=o(V);he=n($s,"A",{href:!0,class:!0});var $l=o(he);bt=n($l,"DIV",{class:!0,style:!0});var Ra=o(bt);b(kt.$$.fragment,Ra),Ra.forEach(a),kn=c($l),Lt=n($l,"H2",{class:!0,"data-svelte-h":!0}),U(Lt)!=="svelte-1945w61"&&(Lt.textContent=La),$l.forEach(a),Ln=c($s),Et=n($s,"UL",{class:!0,"data-svelte-h":!0}),U(Et)!=="svelte-1k625ps"&&(Et.innerHTML=Ea),En=c($s),Se=n($s,"UL",{class:!0});var bl=o(Se);ls=n(bl,"LI",{class:!0});var ja=o(ls);oe=n(ja,"BUTTON",{title:!0,class:!0});var kl=o(oe);b(wt.$$.fragment,kl),wn=c(kl),Ut=n(kl,"SPAN",{class:!0,"data-svelte-h":!0}),U(Ut)!=="svelte-zgpe6t"&&(Ut.textContent=wa),kl.forEach(a),ja.forEach(a),Un=c(bl),ns=n(bl,"LI",{class:!0});var Ka=o(ns);Z=n(Ka,"BUTTON",{title:!0,class:!0});var Ll=o(Z);b(Ae.$$.fragment,Ll),Cn=c(Ll),Ct=n(Ll,"SPAN",{class:!0});var la=o(Ct);Ws=N(la,Ps),Pn=N(la," header menu"),la.forEach(a),Ll.forEach(a),Ka.forEach(a),bl.forEach(a),$s.forEach(a),Tn=c(gs),R=n(gs,"LI",{class:!0});var bs=o(R);ve=n(bs,"A",{href:!0,class:!0});var El=o(ve);Pt=n(El,"DIV",{class:!0,style:!0});var Wa=o(Pt);b(Tt.$$.fragment,Wa),Wa.forEach(a),In=c(El),It=n(El,"H2",{class:!0,"data-svelte-h":!0}),U(It)!=="svelte-v0z4e8"&&(It.textContent=Ua),El.forEach(a),Nn=c(bs),Nt=n(bs,"UL",{class:!0,"data-svelte-h":!0}),U(Nt)!=="svelte-17bqupm"&&(Nt.innerHTML=Ca),qn=c(bs),Me=n(bs,"UL",{class:!0});var wl=o(Me);as=n(wl,"LI",{class:!0});var Xa=o(as);re=n(Xa,"BUTTON",{title:!0,class:!0});var Ul=o(re);b(qt.$$.fragment,Ul),Dn=c(Ul),Dt=n(Ul,"SPAN",{class:!0,"data-svelte-h":!0}),U(Dt)!=="svelte-1mz1lxe"&&(Dt.textContent=Pa),Ul.forEach(a),Xa.forEach(a),zn=c(wl),os=n(wl,"LI",{class:!0});var Ya=o(os);y=n(Ya,"BUTTON",{title:!0,class:!0});var Cl=o(y);b(Be.$$.fragment,Cl),Sn=c(Cl),zt=n(Cl,"SPAN",{class:!0});var na=o(zt);Ys=N(na,Ts),An=N(na," header menu"),na.forEach(a),Cl.forEach(a),Ya.forEach(a),wl.forEach(a),bs.forEach(a),Mn=c(gs),He=n(gs,"LI",{class:!0});var Pl=o(He);Oe=n(Pl,"UL",{class:!0});var Tl=o(Oe);Je=n(Tl,"LI",{class:!0});var Il=o(Je);x=n(Il,"BUTTON",{title:!0,class:!0});var Nl=o(x);b(Fe.$$.fragment,Nl),Bn=c(Nl),St=n(Nl,"SPAN",{class:!0});var aa=o(St);ys=N(aa,Is),Hn=N(aa," header menu"),aa.forEach(a),Nl.forEach(a),On=c(Il),pe=n(Il,"A",{href:!0,class:!0});var ql=o(pe);rs=n(ql,"I",{class:!0});var Za=o(rs);b(At.$$.fragment,Za),Za.forEach(a),Jn=c(ql),is=n(ql,"H3",{"data-svelte-h":!0}),U(is)!=="svelte-12gavf5"&&(is.textContent=Ta),ql.forEach(a),Il.forEach(a),Fn=c(Tl),Qe=n(Tl,"LI",{class:!0});var Dl=o(Qe);ee=n(Dl,"BUTTON",{title:!0,class:!0});var zl=o(ee);b(Ge.$$.fragment,zl),Qn=c(zl),Mt=n(zl,"SPAN",{class:!0});var oa=o(Mt);el=N(oa,Ns),Gn=N(oa," header menu"),oa.forEach(a),zl.forEach(a),Vn=c(Dl),me=n(Dl,"A",{href:!0,class:!0});var Sl=o(me);cs=n(Sl,"I",{class:!0});var ya=o(cs);b(Bt.$$.fragment,ya),ya.forEach(a),Rn=c(Sl),us=n(Sl,"H3",{"data-svelte-h":!0}),U(us)!=="svelte-16npeyx"&&(us.textContent=Ia),Sl.forEach(a),Dl.forEach(a),Tl.forEach(a),jn=c(Pl),Ht=n(Pl,"H2",{class:!0,"data-svelte-h":!0}),U(Ht)!=="svelte-bhbezd"&&(Ht.innerHTML=Na),Pl.forEach(a),gs.forEach(a),ge.forEach(a),sl=c(r),_e=n(r,"FOOTER",{class:!0});var Al=o(_e);ds=n(Al,"DIV",{});var xa=o(ds);B.block.l(xa),xa.forEach(a),Kn=c(Al),Ve=n(Al,"UL",{class:!0});var Ml=o(Ve);fs=n(Ml,"LI",{class:!0});var eo=o(fs);Re=n(eo,"A",{href:!0,class:!0});var ra=o(Re);b(Ot.$$.fragment,ra),Wn=N(ra,`\r Documentation`),ra.forEach(a),eo.forEach(a),Xn=c(Ml),hs=n(Ml,"LI",{class:!0});var to=o(hs);je=n(to,"A",{href:!0,class:!0});var ia=o(je);b(Jt.$$.fragment,ia),Yn=N(ia,`\r - Partner Portal`),ia.forEach(a),to.forEach(a),Ml.forEach(a),Al.forEach(a),this.h()},h(){t(C,"class","icon svelte-50so3t"),t(P,"class","svelte-50so3t"),t(v,"href","/database"),t(v,"class","svelte-50so3t"),t(Le,"class","description svelte-50so3t"),t(Ue,"class","label"),t(j,"title","More information"),t(j,"class","svelte-50so3t"),t(Ke,"class","svelte-50so3t"),t(Xe,"class","label"),t(O,"title",Os=(s[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"),t(O,"class","svelte-50so3t"),t(We,"class","svelte-50so3t"),t(ie,"class","actions svelte-50so3t"),t(_,"class","application svelte-50so3t"),A(_,"showDescription",s[0].includes("database")),t(Rt,"class","icon svelte-50so3t"),t(Ze,"class","svelte-50so3t"),t(ce,"href","/users"),t(ce,"class","svelte-50so3t"),t(ye,"class","description svelte-50so3t"),t(et,"class","label"),t(te,"title","More information"),t(te,"class","svelte-50so3t"),t(jt,"class","svelte-50so3t"),t(tt,"class","label"),t(K,"title",Fs=(s[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"),t(K,"class","svelte-50so3t"),t(Kt,"class","svelte-50so3t"),t(Ce,"class","actions svelte-50so3t"),t(J,"class","application svelte-50so3t"),A(J,"showDescription",s[0].includes("users")),t(Wt,"class","icon svelte-50so3t"),t(lt,"class","svelte-50so3t"),t(ue,"href","/logs"),t(ue,"class","svelte-50so3t"),t(nt,"class","description svelte-50so3t"),t(ot,"class","label"),t(se,"title","More information"),t(se,"class","svelte-50so3t"),t(Xt,"class","svelte-50so3t"),t(rt,"class","label"),t(W,"title",Gs=(s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"),t(W,"class","svelte-50so3t"),t(Yt,"class","svelte-50so3t"),t(Te,"class","actions svelte-50so3t"),t(F,"class","application svelte-50so3t"),A(F,"showDescription",s[0].includes("logs")),t(Zt,"class","icon svelte-50so3t"),t(ct,"class","svelte-50so3t"),t(de,"href","/backgroundJobs"),t(de,"class","svelte-50so3t"),t(ut,"class","description svelte-50so3t"),t(ft,"class","label"),t(le,"title","More information"),t(le,"class","svelte-50so3t"),t(yt,"class","svelte-50so3t"),t(ht,"class","label"),t(X,"title",Rs=(s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"),t(X,"class","svelte-50so3t"),t(xt,"class","svelte-50so3t"),t(Ne,"class","actions svelte-50so3t"),t(Q,"class","application svelte-50so3t"),A(Q,"showDescription",s[0].includes("backgroundJobs")),t(es,"class","icon svelte-50so3t"),t(pt,"class","svelte-50so3t"),t(fe,"href","/constants"),t(fe,"class","svelte-50so3t"),t(mt,"class","description svelte-50so3t"),t(gt,"class","label"),t(ne,"title","More information"),t(ne,"class","svelte-50so3t"),t(ts,"class","svelte-50so3t"),t($t,"class","label"),t(Y,"title",Ks=(s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"),t(Y,"class","svelte-50so3t"),t(ss,"class","svelte-50so3t"),t(De,"class","actions svelte-50so3t"),t(G,"class","application svelte-50so3t"),A(G,"showDescription",s[0].includes("constants")),t(f,"class","applications svelte-50so3t"),t(bt,"class","icon svelte-50so3t"),so(bt,"color","#aeb0b3"),t(Lt,"class","svelte-50so3t"),t(he,"href",(typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333")+"/gui/liquid"),t(he,"class","svelte-50so3t"),t(Et,"class","description svelte-50so3t"),t(wt,"class","label"),t(oe,"title","More information"),t(oe,"class","svelte-50so3t"),t(ls,"class","svelte-50so3t"),t(Ct,"class","label"),t(Z,"title",Xs=(s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"),t(Z,"class","svelte-50so3t"),t(ns,"class","svelte-50so3t"),t(Se,"class","actions svelte-50so3t"),t(V,"class","application svelte-50so3t"),A(V,"showDescription",s[0].includes("liquid")),t(Pt,"class","icon svelte-50so3t"),so(Pt,"color","#f30e9c"),t(It,"class","svelte-50so3t"),t(ve,"href",(typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333")+"/gui/graphql"),t(ve,"class","svelte-50so3t"),t(Nt,"class","description svelte-50so3t"),t(Dt,"class","label"),t(re,"title","More information"),t(re,"class","svelte-50so3t"),t(as,"class","svelte-50so3t"),t(zt,"class","label"),t(y,"title",Zs=(s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"),t(y,"class","svelte-50so3t"),t(os,"class","svelte-50so3t"),t(Me,"class","actions svelte-50so3t"),t(R,"class","application svelte-50so3t"),A(R,"showDescription",s[0].includes("graphiql")),t(St,"class","label"),t(x,"title",xs=(s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")+" header menu"),t(x,"class","svelte-50so3t"),t(rs,"class","svelte-50so3t"),t(pe,"href","/logsv2"),t(pe,"class","svelte-50so3t"),t(Je,"class","svelte-50so3t"),t(Mt,"class","label"),t(ee,"title",tl=(s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")+" header menu"),t(ee,"class","svelte-50so3t"),t(cs,"class","svelte-50so3t"),t(me,"href","/network"),t(me,"class","svelte-50so3t"),t(Qe,"class","svelte-50so3t"),t(Oe,"class","svelte-50so3t"),t(Ht,"class","svelte-50so3t"),t(He,"class","early svelte-50so3t"),t(ae,"class","applications svelte-50so3t"),t(d,"class","svelte-50so3t"),t(Re,"href","https://documentation.platformos.com"),t(Re,"class","button svelte-50so3t"),t(fs,"class","svelte-50so3t"),t(je,"href","https://partners.platformos.com"),t(je,"class","button svelte-50so3t"),t(hs,"class","svelte-50so3t"),t(Ve,"class","svelte-50so3t"),t(_e,"class","svelte-50so3t")},m(r,h){ks(r,U,h),ks(r,d,h),e(d,f),e(f,_),e(_,v),e(v,C),k(D,C,null),e(v,M),e(v,P),e(_,ke),e(_,Le),e(_,As),e(_,ie),e(ie,Ke),e(Ke,j),k(Ee,j,null),e(j,Ms),e(j,Ue),e(ie,Bs),e(ie,We),e(We,O),k(T,O,null),e(O,we),e(O,Xe),e(Xe,Hs),e(Xe,Jl),e(f,Fl),e(f,J),e(J,ce),e(ce,Rt),k(Ye,Rt,null),e(ce,Ql),e(ce,Ze),e(J,Gl),e(J,ye),e(J,Vl),e(J,Ce),e(Ce,jt),e(jt,te),k(xe,te,null),e(te,Rl),e(te,et),e(Ce,jl),e(Ce,Kt),e(Kt,K),k(Pe,K,null),e(K,Kl),e(K,tt),e(tt,Js),e(tt,Wl),e(f,Xl),e(f,F),e(F,ue),e(ue,Wt),k(st,Wt,null),e(ue,Yl),e(ue,lt),e(F,Zl),e(F,nt),e(F,yl),e(F,Te),e(Te,Xt),e(Xt,se),k(at,se,null),e(se,xl),e(se,ot),e(Te,en),e(Te,Yt),e(Yt,W),k(Ie,W,null),e(W,tn),e(W,rt),e(rt,Qs),e(rt,sn),e(f,ln),e(f,Q),e(Q,de),e(de,Zt),k(it,Zt,null),e(de,nn),e(de,ct),e(Q,an),e(Q,ut),e(Q,on),e(Q,Ne),e(Ne,yt),e(yt,le),k(dt,le,null),e(le,rn),e(le,ft),e(Ne,cn),e(Ne,xt),e(xt,X),k(qe,X,null),e(X,un),e(X,ht),e(ht,Vs),e(ht,dn),e(f,fn),e(f,G),e(G,fe),e(fe,es),k(vt,es,null),e(fe,hn),e(fe,pt),e(G,vn),e(G,mt),e(G,pn),e(G,De),e(De,ts),e(ts,ne),k(_t,ne,null),e(ne,mn),e(ne,gt),e(De,_n),e(De,ss),e(ss,Y),k(ze,Y,null),e(Y,gn),e(Y,$t),e($t,js),e($t,$n),e(d,bn),e(d,ae),e(ae,V),e(V,he),e(he,bt),k(kt,bt,null),e(he,kn),e(he,Lt),e(V,Ln),e(V,Et),e(V,En),e(V,Se),e(Se,ls),e(ls,oe),k(Ut,oe,null),e(oe,Un),e(oe,wt),e(Se,wn),e(Se,ns),e(ns,Z),k(Ae,Z,null),e(Z,Cn),e(Z,Ct),e(Ct,Ws),e(Ct,Pn),e(ae,Tn),e(ae,R),e(R,ve),e(ve,Pt),k(Tt,Pt,null),e(ve,In),e(ve,It),e(R,Nn),e(R,Nt),e(R,qn),e(R,Me),e(Me,as),e(as,re),k(qt,re,null),e(re,Dn),e(re,Dt),e(Me,zn),e(Me,os),e(os,y),k(Be,y,null),e(y,Sn),e(y,zt),e(zt,Ys),e(zt,An),e(ae,Mn),e(ae,He),e(He,Oe),e(Oe,Je),e(Je,x),k(Fe,x,null),e(x,Bn),e(x,St),e(St,ys),e(St,Hn),e(Je,On),e(Je,pe),e(pe,rs),k(At,rs,null),e(pe,Jn),e(pe,is),e(Oe,Fn),e(Oe,Qe),e(Qe,ee),k(Ge,ee,null),e(ee,Qn),e(ee,Mt),e(Mt,el),e(Mt,Gn),e(Qe,Vn),e(Qe,me),e(me,cs),k(Bt,cs,null),e(me,Rn),e(me,us),e(He,jn),e(He,Ht),ks(r,sl,h),ks(r,_e,h),e(_e,ds),B.block.m(ds,B.anchor=null),B.mount=()=>ds,B.anchor=null,e(_e,Kn),e(_e,Ve),e(Ve,fs),e(fs,Re),k(Ot,Re,null),e(Re,Wn),e(Ve,Xn),e(Ve,hs),e(hs,je),k(Jt,je,null),e(je,Yn),g=!0,Zn||(qa=[q(v,"focus",s[2],{once:!0}),q(v,"mouseover",s[2],{once:!0}),q(j,"click",s[7]),q(O,"click",s[8]),q(te,"click",s[9]),q(K,"click",s[10]),q(se,"click",s[11]),q(W,"click",s[12]),q(le,"click",s[13]),q(X,"click",s[14]),q(ne,"click",s[15]),q(Y,"click",s[16]),q(oe,"click",s[17]),q(Z,"click",s[18]),q(re,"click",s[19]),q(y,"click",s[20]),q(x,"click",s[21]),q(ee,"click",s[22])],Zn=!0)},p(r,[h]){var Vt;s=r,(!g||h&2)&&u!==(u="platformOS"+((Vt=s[1].online)!=null&&Vt.MPKIT_URL?": "+s[1].online.MPKIT_URL.replace("https://",""):""))&&(document.title=u);const ge={};h&2&&(ge.icon=s[1].header.includes("database")?"pinFilled":"pin"),T.$set(ge),(!g||h&2)&&Ls!==(Ls=s[1].header.includes("database")?"Unpin Database from":"Pin Database to")&&be(Hs,Ls),(!g||h&2&&Os!==(Os=(s[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"))&&t(O,"title",Os),(!g||h&1)&&A(_,"showDescription",s[0].includes("database"));const H={};h&2&&(H.icon=s[1].header.includes("users")?"pinFilled":"pin"),Pe.$set(H),(!g||h&2)&&Es!==(Es=s[1].header.includes("users")?"Unpin Users from":"Pin Users to")&&be(Js,Es),(!g||h&2&&Fs!==(Fs=(s[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"))&&t(K,"title",Fs),(!g||h&1)&&A(J,"showDescription",s[0].includes("users"));const $e={};h&2&&($e.icon=s[1].header.includes("logs")?"pinFilled":"pin"),Ie.$set($e),(!g||h&2)&&Us!==(Us=s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")&&be(Qs,Us),(!g||h&2&&Gs!==(Gs=(s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"))&&t(W,"title",Gs),(!g||h&1)&&A(F,"showDescription",s[0].includes("logs"));const Ft={};h&2&&(Ft.icon=s[1].header.includes("backgroundJobs")?"pinFilled":"pin"),qe.$set(Ft),(!g||h&2)&&ws!==(ws=s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")&&be(Vs,ws),(!g||h&2&&Rs!==(Rs=(s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"))&&t(X,"title",Rs),(!g||h&1)&&A(Q,"showDescription",s[0].includes("backgroundJobs"));const qs={};h&2&&(qs.icon=s[1].header.includes("constants")?"pinFilled":"pin"),ze.$set(qs),(!g||h&2)&&Cs!==(Cs=s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")&&be(js,Cs),(!g||h&2&&Ks!==(Ks=(s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"))&&t(Y,"title",Ks),(!g||h&1)&&A(G,"showDescription",s[0].includes("constants"));const Qt={};h&2&&(Qt.icon=s[1].header.includes("liquid")?"pinFilled":"pin"),Ae.$set(Qt),(!g||h&2)&&Ps!==(Ps=s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")&&be(Ws,Ps),(!g||h&2&&Xs!==(Xs=(s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"))&&t(Z,"title",Xs),(!g||h&1)&&A(V,"showDescription",s[0].includes("liquid"));const Ds={};h&2&&(Ds.icon=s[1].header.includes("graphiql")?"pinFilled":"pin"),Be.$set(Ds),(!g||h&2)&&Ts!==(Ts=s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")&&be(Ys,Ts),(!g||h&2&&Zs!==(Zs=(s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"))&&t(y,"title",Zs),(!g||h&1)&&A(R,"showDescription",s[0].includes("graphiql"));const Gt={};h&2&&(Gt.icon=s[1].header.includes("logsv2")?"pinFilled":"pin"),Fe.$set(Gt),(!g||h&2)&&Is!==(Is=s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")&&be(ys,Is),(!g||h&2&&xs!==(xs=(s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")+" header menu"))&&t(x,"title",xs);const zs={};h&2&&(zs.icon=s[1].header.includes("network")?"pinFilled":"pin"),Ge.$set(zs),(!g||h&2)&&Ns!==(Ns=s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")&&be(el,Ns),(!g||h&2&&tl!==(tl=(s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")+" header menu"))&&t(ee,"title",tl),Lo(B,s,h)},i(r){g||(p(D.$$.fragment,r),p(Ee.$$.fragment,r),p(T.$$.fragment,r),p(Ye.$$.fragment,r),p(xe.$$.fragment,r),p(Pe.$$.fragment,r),p(st.$$.fragment,r),p(at.$$.fragment,r),p(Ie.$$.fragment,r),p(it.$$.fragment,r),p(dt.$$.fragment,r),p(qe.$$.fragment,r),p(vt.$$.fragment,r),p(_t.$$.fragment,r),p(ze.$$.fragment,r),p(kt.$$.fragment,r),p(Ut.$$.fragment,r),p(Ae.$$.fragment,r),p(Tt.$$.fragment,r),p(qt.$$.fragment,r),p(Be.$$.fragment,r),p(Fe.$$.fragment,r),p(At.$$.fragment,r),p(Ge.$$.fragment,r),p(Bt.$$.fragment,r),p(B.block),p(Ot.$$.fragment,r),p(Jt.$$.fragment,r),g=!0)},o(r){m(D.$$.fragment,r),m(Ee.$$.fragment,r),m(T.$$.fragment,r),m(Ye.$$.fragment,r),m(xe.$$.fragment,r),m(Pe.$$.fragment,r),m(st.$$.fragment,r),m(at.$$.fragment,r),m(Ie.$$.fragment,r),m(it.$$.fragment,r),m(dt.$$.fragment,r),m(qe.$$.fragment,r),m(vt.$$.fragment,r),m(_t.$$.fragment,r),m(ze.$$.fragment,r),m(kt.$$.fragment,r),m(Ut.$$.fragment,r),m(Ae.$$.fragment,r),m(Tt.$$.fragment,r),m(qt.$$.fragment,r),m(Be.$$.fragment,r),m(Fe.$$.fragment,r),m(At.$$.fragment,r),m(Ge.$$.fragment,r),m(Bt.$$.fragment,r);for(let h=0;h<3;h+=1){const ge=B.blocks[h];m(ge)}m(Ot.$$.fragment,r),m(Jt.$$.fragment,r),g=!1},d(r){r&&(a(U),a(d),a(sl),a(_e)),L(D),L(Ee),L(T),L(Ye),L(xe),L(Pe),L(st),L(at),L(Ie),L(it),L(dt),L(qe),L(vt),L(_t),L(ze),L(kt),L(Ut),L(Ae),L(Tt),L(qt),L(Be),L(Fe),L(At),L(Ge),L(Bt),B.block.d(),B.token=null,B=null,L(Ot),L(Jt),Zn=!1,po(qa)}}}function Po(s,u,U){let d;mo(s,Ss,T=>U(1,d=T));let f=[];const _=async()=>{d.tables.length||ca(Ss,d.tables=await bo.get(),d)},v=T=>{d.header.indexOf(T)>-1?ca(Ss,d.header=d.header.filter(we=>we!==T),d):ca(Ss,d.header=[...d.header,T],d),localStorage.header=JSON.stringify(d.header)},C=T=>{f.indexOf(T)>-1?U(0,f=f.filter(we=>we!==T)):U(0,f=[...f,T])};return[f,d,_,v,C,async()=>await(await fetch("https://registry.npmjs.org/@platformos/pos-cli/latest")).json(),()=>{navigator.clipboard.writeText("npm i -g @platformos/pos-cli@latest").then(()=>{Ss.notification.create("info","
    Update command copied to clipboard Run npm i -g @platformos/pos-cli@latest in the terminal
    ")}).catch(T=>{copying=!1,error=!0,console.error(T)})},()=>C("database"),()=>v("database"),()=>C("users"),()=>v("users"),()=>C("logs"),()=>v("logs"),()=>C("backgroundJobs"),()=>v("backgroundJobs"),()=>C("constants"),()=>v("constants"),()=>C("liquid"),()=>v("liquid"),()=>C("graphiql"),()=>v("graphiql"),()=>v("logsv2"),()=>v("network")]}class So extends go{constructor(u){super(),$o(this,u,Po,Co,ho,{})}}export{So as component}; + Partner Portal`),ia.forEach(a),to.forEach(a),Ml.forEach(a),Al.forEach(a),this.h()},h(){t(C,"class","icon svelte-50so3t"),t(P,"class","svelte-50so3t"),t(v,"href","/database"),t(v,"class","svelte-50so3t"),t(Le,"class","description svelte-50so3t"),t(we,"class","label"),t(j,"title","More information"),t(j,"class","svelte-50so3t"),t(Ke,"class","svelte-50so3t"),t(Xe,"class","label"),t(O,"title",Os=(s[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"),t(O,"class","svelte-50so3t"),t(We,"class","svelte-50so3t"),t(ie,"class","actions svelte-50so3t"),t(_,"class","application svelte-50so3t"),A(_,"showDescription",s[0].includes("database")),t(Rt,"class","icon svelte-50so3t"),t(Ze,"class","svelte-50so3t"),t(ce,"href","/users"),t(ce,"class","svelte-50so3t"),t(ye,"class","description svelte-50so3t"),t(et,"class","label"),t(te,"title","More information"),t(te,"class","svelte-50so3t"),t(jt,"class","svelte-50so3t"),t(tt,"class","label"),t(K,"title",Fs=(s[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"),t(K,"class","svelte-50so3t"),t(Kt,"class","svelte-50so3t"),t(Ce,"class","actions svelte-50so3t"),t(J,"class","application svelte-50so3t"),A(J,"showDescription",s[0].includes("users")),t(Wt,"class","icon svelte-50so3t"),t(lt,"class","svelte-50so3t"),t(ue,"href","/logs"),t(ue,"class","svelte-50so3t"),t(nt,"class","description svelte-50so3t"),t(ot,"class","label"),t(se,"title","More information"),t(se,"class","svelte-50so3t"),t(Xt,"class","svelte-50so3t"),t(rt,"class","label"),t(W,"title",Gs=(s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"),t(W,"class","svelte-50so3t"),t(Yt,"class","svelte-50so3t"),t(Te,"class","actions svelte-50so3t"),t(F,"class","application svelte-50so3t"),A(F,"showDescription",s[0].includes("logs")),t(Zt,"class","icon svelte-50so3t"),t(ct,"class","svelte-50so3t"),t(de,"href","/backgroundJobs"),t(de,"class","svelte-50so3t"),t(ut,"class","description svelte-50so3t"),t(ft,"class","label"),t(le,"title","More information"),t(le,"class","svelte-50so3t"),t(yt,"class","svelte-50so3t"),t(ht,"class","label"),t(X,"title",Rs=(s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"),t(X,"class","svelte-50so3t"),t(xt,"class","svelte-50so3t"),t(Ne,"class","actions svelte-50so3t"),t(Q,"class","application svelte-50so3t"),A(Q,"showDescription",s[0].includes("backgroundJobs")),t(es,"class","icon svelte-50so3t"),t(pt,"class","svelte-50so3t"),t(fe,"href","/constants"),t(fe,"class","svelte-50so3t"),t(mt,"class","description svelte-50so3t"),t(gt,"class","label"),t(ne,"title","More information"),t(ne,"class","svelte-50so3t"),t(ts,"class","svelte-50so3t"),t($t,"class","label"),t(Y,"title",Ks=(s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"),t(Y,"class","svelte-50so3t"),t(ss,"class","svelte-50so3t"),t(De,"class","actions svelte-50so3t"),t(G,"class","application svelte-50so3t"),A(G,"showDescription",s[0].includes("constants")),t(f,"class","applications svelte-50so3t"),t(bt,"class","icon svelte-50so3t"),so(bt,"color","#aeb0b3"),t(Lt,"class","svelte-50so3t"),t(he,"href",(typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333")+"/gui/liquid"),t(he,"class","svelte-50so3t"),t(Et,"class","description svelte-50so3t"),t(Ut,"class","label"),t(oe,"title","More information"),t(oe,"class","svelte-50so3t"),t(ls,"class","svelte-50so3t"),t(Ct,"class","label"),t(Z,"title",Xs=(s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"),t(Z,"class","svelte-50so3t"),t(ns,"class","svelte-50so3t"),t(Se,"class","actions svelte-50so3t"),t(V,"class","application svelte-50so3t"),A(V,"showDescription",s[0].includes("liquid")),t(Pt,"class","icon svelte-50so3t"),so(Pt,"color","#f30e9c"),t(It,"class","svelte-50so3t"),t(ve,"href",(typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333")+"/gui/graphql"),t(ve,"class","svelte-50so3t"),t(Nt,"class","description svelte-50so3t"),t(Dt,"class","label"),t(re,"title","More information"),t(re,"class","svelte-50so3t"),t(as,"class","svelte-50so3t"),t(zt,"class","label"),t(y,"title",Zs=(s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"),t(y,"class","svelte-50so3t"),t(os,"class","svelte-50so3t"),t(Me,"class","actions svelte-50so3t"),t(R,"class","application svelte-50so3t"),A(R,"showDescription",s[0].includes("graphiql")),t(St,"class","label"),t(x,"title",xs=(s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")+" header menu"),t(x,"class","svelte-50so3t"),t(rs,"class","svelte-50so3t"),t(pe,"href","/logsv2"),t(pe,"class","svelte-50so3t"),t(Je,"class","svelte-50so3t"),t(Mt,"class","label"),t(ee,"title",tl=(s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")+" header menu"),t(ee,"class","svelte-50so3t"),t(cs,"class","svelte-50so3t"),t(me,"href","/network"),t(me,"class","svelte-50so3t"),t(Qe,"class","svelte-50so3t"),t(Oe,"class","svelte-50so3t"),t(Ht,"class","svelte-50so3t"),t(He,"class","early svelte-50so3t"),t(ae,"class","applications svelte-50so3t"),t(d,"class","svelte-50so3t"),t(Re,"href","https://documentation.platformos.com"),t(Re,"class","button svelte-50so3t"),t(fs,"class","svelte-50so3t"),t(je,"href","https://partners.platformos.com"),t(je,"class","button svelte-50so3t"),t(hs,"class","svelte-50so3t"),t(Ve,"class","svelte-50so3t"),t(_e,"class","svelte-50so3t")},m(r,h){ks(r,w,h),ks(r,d,h),e(d,f),e(f,_),e(_,v),e(v,C),k(D,C,null),e(v,M),e(v,P),e(_,ke),e(_,Le),e(_,As),e(_,ie),e(ie,Ke),e(Ke,j),k(Ee,j,null),e(j,Ms),e(j,we),e(ie,Bs),e(ie,We),e(We,O),k(T,O,null),e(O,Ue),e(O,Xe),e(Xe,Hs),e(Xe,Jl),e(f,Fl),e(f,J),e(J,ce),e(ce,Rt),k(Ye,Rt,null),e(ce,Ql),e(ce,Ze),e(J,Gl),e(J,ye),e(J,Vl),e(J,Ce),e(Ce,jt),e(jt,te),k(xe,te,null),e(te,Rl),e(te,et),e(Ce,jl),e(Ce,Kt),e(Kt,K),k(Pe,K,null),e(K,Kl),e(K,tt),e(tt,Js),e(tt,Wl),e(f,Xl),e(f,F),e(F,ue),e(ue,Wt),k(st,Wt,null),e(ue,Yl),e(ue,lt),e(F,Zl),e(F,nt),e(F,yl),e(F,Te),e(Te,Xt),e(Xt,se),k(at,se,null),e(se,xl),e(se,ot),e(Te,en),e(Te,Yt),e(Yt,W),k(Ie,W,null),e(W,tn),e(W,rt),e(rt,Qs),e(rt,sn),e(f,ln),e(f,Q),e(Q,de),e(de,Zt),k(it,Zt,null),e(de,nn),e(de,ct),e(Q,an),e(Q,ut),e(Q,on),e(Q,Ne),e(Ne,yt),e(yt,le),k(dt,le,null),e(le,rn),e(le,ft),e(Ne,cn),e(Ne,xt),e(xt,X),k(qe,X,null),e(X,un),e(X,ht),e(ht,Vs),e(ht,dn),e(f,fn),e(f,G),e(G,fe),e(fe,es),k(vt,es,null),e(fe,hn),e(fe,pt),e(G,vn),e(G,mt),e(G,pn),e(G,De),e(De,ts),e(ts,ne),k(_t,ne,null),e(ne,mn),e(ne,gt),e(De,_n),e(De,ss),e(ss,Y),k(ze,Y,null),e(Y,gn),e(Y,$t),e($t,js),e($t,$n),e(d,bn),e(d,ae),e(ae,V),e(V,he),e(he,bt),k(kt,bt,null),e(he,kn),e(he,Lt),e(V,Ln),e(V,Et),e(V,En),e(V,Se),e(Se,ls),e(ls,oe),k(wt,oe,null),e(oe,wn),e(oe,Ut),e(Se,Un),e(Se,ns),e(ns,Z),k(Ae,Z,null),e(Z,Cn),e(Z,Ct),e(Ct,Ws),e(Ct,Pn),e(ae,Tn),e(ae,R),e(R,ve),e(ve,Pt),k(Tt,Pt,null),e(ve,In),e(ve,It),e(R,Nn),e(R,Nt),e(R,qn),e(R,Me),e(Me,as),e(as,re),k(qt,re,null),e(re,Dn),e(re,Dt),e(Me,zn),e(Me,os),e(os,y),k(Be,y,null),e(y,Sn),e(y,zt),e(zt,Ys),e(zt,An),e(ae,Mn),e(ae,He),e(He,Oe),e(Oe,Je),e(Je,x),k(Fe,x,null),e(x,Bn),e(x,St),e(St,ys),e(St,Hn),e(Je,On),e(Je,pe),e(pe,rs),k(At,rs,null),e(pe,Jn),e(pe,is),e(Oe,Fn),e(Oe,Qe),e(Qe,ee),k(Ge,ee,null),e(ee,Qn),e(ee,Mt),e(Mt,el),e(Mt,Gn),e(Qe,Vn),e(Qe,me),e(me,cs),k(Bt,cs,null),e(me,Rn),e(me,us),e(He,jn),e(He,Ht),ks(r,sl,h),ks(r,_e,h),e(_e,ds),B.block.m(ds,B.anchor=null),B.mount=()=>ds,B.anchor=null,e(_e,Kn),e(_e,Ve),e(Ve,fs),e(fs,Re),k(Ot,Re,null),e(Re,Wn),e(Ve,Xn),e(Ve,hs),e(hs,je),k(Jt,je,null),e(je,Yn),g=!0,Zn||(qa=[q(v,"focus",s[2],{once:!0}),q(v,"mouseover",s[2],{once:!0}),q(j,"click",s[7]),q(O,"click",s[8]),q(te,"click",s[9]),q(K,"click",s[10]),q(se,"click",s[11]),q(W,"click",s[12]),q(le,"click",s[13]),q(X,"click",s[14]),q(ne,"click",s[15]),q(Y,"click",s[16]),q(oe,"click",s[17]),q(Z,"click",s[18]),q(re,"click",s[19]),q(y,"click",s[20]),q(x,"click",s[21]),q(ee,"click",s[22])],Zn=!0)},p(r,[h]){var Vt;s=r,(!g||h&2)&&u!==(u="platformOS"+((Vt=s[1].online)!=null&&Vt.MPKIT_URL?": "+s[1].online.MPKIT_URL.replace("https://",""):""))&&(document.title=u);const ge={};h&2&&(ge.icon=s[1].header.includes("database")?"pinFilled":"pin"),T.$set(ge),(!g||h&2)&&Ls!==(Ls=s[1].header.includes("database")?"Unpin Database from":"Pin Database to")&&be(Hs,Ls),(!g||h&2&&Os!==(Os=(s[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"))&&t(O,"title",Os),(!g||h&1)&&A(_,"showDescription",s[0].includes("database"));const H={};h&2&&(H.icon=s[1].header.includes("users")?"pinFilled":"pin"),Pe.$set(H),(!g||h&2)&&Es!==(Es=s[1].header.includes("users")?"Unpin Users from":"Pin Users to")&&be(Js,Es),(!g||h&2&&Fs!==(Fs=(s[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"))&&t(K,"title",Fs),(!g||h&1)&&A(J,"showDescription",s[0].includes("users"));const $e={};h&2&&($e.icon=s[1].header.includes("logs")?"pinFilled":"pin"),Ie.$set($e),(!g||h&2)&&ws!==(ws=s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")&&be(Qs,ws),(!g||h&2&&Gs!==(Gs=(s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"))&&t(W,"title",Gs),(!g||h&1)&&A(F,"showDescription",s[0].includes("logs"));const Ft={};h&2&&(Ft.icon=s[1].header.includes("backgroundJobs")?"pinFilled":"pin"),qe.$set(Ft),(!g||h&2)&&Us!==(Us=s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")&&be(Vs,Us),(!g||h&2&&Rs!==(Rs=(s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"))&&t(X,"title",Rs),(!g||h&1)&&A(Q,"showDescription",s[0].includes("backgroundJobs"));const qs={};h&2&&(qs.icon=s[1].header.includes("constants")?"pinFilled":"pin"),ze.$set(qs),(!g||h&2)&&Cs!==(Cs=s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")&&be(js,Cs),(!g||h&2&&Ks!==(Ks=(s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"))&&t(Y,"title",Ks),(!g||h&1)&&A(G,"showDescription",s[0].includes("constants"));const Qt={};h&2&&(Qt.icon=s[1].header.includes("liquid")?"pinFilled":"pin"),Ae.$set(Qt),(!g||h&2)&&Ps!==(Ps=s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")&&be(Ws,Ps),(!g||h&2&&Xs!==(Xs=(s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"))&&t(Z,"title",Xs),(!g||h&1)&&A(V,"showDescription",s[0].includes("liquid"));const Ds={};h&2&&(Ds.icon=s[1].header.includes("graphiql")?"pinFilled":"pin"),Be.$set(Ds),(!g||h&2)&&Ts!==(Ts=s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")&&be(Ys,Ts),(!g||h&2&&Zs!==(Zs=(s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"))&&t(y,"title",Zs),(!g||h&1)&&A(R,"showDescription",s[0].includes("graphiql"));const Gt={};h&2&&(Gt.icon=s[1].header.includes("logsv2")?"pinFilled":"pin"),Fe.$set(Gt),(!g||h&2)&&Is!==(Is=s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")&&be(ys,Is),(!g||h&2&&xs!==(xs=(s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")+" header menu"))&&t(x,"title",xs);const zs={};h&2&&(zs.icon=s[1].header.includes("network")?"pinFilled":"pin"),Ge.$set(zs),(!g||h&2)&&Ns!==(Ns=s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")&&be(el,Ns),(!g||h&2&&tl!==(tl=(s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")+" header menu"))&&t(ee,"title",tl),Lo(B,s,h)},i(r){g||(p(D.$$.fragment,r),p(Ee.$$.fragment,r),p(T.$$.fragment,r),p(Ye.$$.fragment,r),p(xe.$$.fragment,r),p(Pe.$$.fragment,r),p(st.$$.fragment,r),p(at.$$.fragment,r),p(Ie.$$.fragment,r),p(it.$$.fragment,r),p(dt.$$.fragment,r),p(qe.$$.fragment,r),p(vt.$$.fragment,r),p(_t.$$.fragment,r),p(ze.$$.fragment,r),p(kt.$$.fragment,r),p(wt.$$.fragment,r),p(Ae.$$.fragment,r),p(Tt.$$.fragment,r),p(qt.$$.fragment,r),p(Be.$$.fragment,r),p(Fe.$$.fragment,r),p(At.$$.fragment,r),p(Ge.$$.fragment,r),p(Bt.$$.fragment,r),p(B.block),p(Ot.$$.fragment,r),p(Jt.$$.fragment,r),g=!0)},o(r){m(D.$$.fragment,r),m(Ee.$$.fragment,r),m(T.$$.fragment,r),m(Ye.$$.fragment,r),m(xe.$$.fragment,r),m(Pe.$$.fragment,r),m(st.$$.fragment,r),m(at.$$.fragment,r),m(Ie.$$.fragment,r),m(it.$$.fragment,r),m(dt.$$.fragment,r),m(qe.$$.fragment,r),m(vt.$$.fragment,r),m(_t.$$.fragment,r),m(ze.$$.fragment,r),m(kt.$$.fragment,r),m(wt.$$.fragment,r),m(Ae.$$.fragment,r),m(Tt.$$.fragment,r),m(qt.$$.fragment,r),m(Be.$$.fragment,r),m(Fe.$$.fragment,r),m(At.$$.fragment,r),m(Ge.$$.fragment,r),m(Bt.$$.fragment,r);for(let h=0;h<3;h+=1){const ge=B.blocks[h];m(ge)}m(Ot.$$.fragment,r),m(Jt.$$.fragment,r),g=!1},d(r){r&&(a(w),a(d),a(sl),a(_e)),L(D),L(Ee),L(T),L(Ye),L(xe),L(Pe),L(st),L(at),L(Ie),L(it),L(dt),L(qe),L(vt),L(_t),L(ze),L(kt),L(wt),L(Ae),L(Tt),L(qt),L(Be),L(Fe),L(At),L(Ge),L(Bt),B.block.d(),B.token=null,B=null,L(Ot),L(Jt),Zn=!1,po(qa)}}}function Po(s,u,w){let d;mo(s,Ss,T=>w(1,d=T));let f=[];const _=async()=>{d.tables.length||ca(Ss,d.tables=await bo.get(),d)},v=T=>{d.header.indexOf(T)>-1?ca(Ss,d.header=d.header.filter(Ue=>Ue!==T),d):ca(Ss,d.header=[...d.header,T],d),localStorage.header=JSON.stringify(d.header)},C=T=>{f.indexOf(T)>-1?w(0,f=f.filter(Ue=>Ue!==T)):w(0,f=[...f,T])};return[f,d,_,v,C,async()=>await(await fetch("https://registry.npmjs.org/@platformos/pos-cli/latest")).json(),()=>{navigator.clipboard.writeText("npm i -g @platformos/pos-cli@latest").then(()=>{Ss.notification.create("info","
    Update command copied to clipboard Run npm i -g @platformos/pos-cli@latest in the terminal
    ")}).catch(T=>{copying=!1,error=!0,console.error(T)})},()=>C("database"),()=>v("database"),()=>C("users"),()=>v("users"),()=>C("logs"),()=>v("logs"),()=>C("backgroundJobs"),()=>v("backgroundJobs"),()=>C("constants"),()=>v("constants"),()=>C("liquid"),()=>v("liquid"),()=>C("graphiql"),()=>v("graphiql"),()=>v("logsv2"),()=>v("network")]}class So extends go{constructor(u){super(),$o(this,u,Po,Co,ho,{})}}export{So as component}; diff --git a/gui/next/build/_app/version.json b/gui/next/build/_app/version.json index 51ac729f..4b974e5e 100644 --- a/gui/next/build/_app/version.json +++ b/gui/next/build/_app/version.json @@ -1 +1 @@ -{"version":"1730289986210"} \ No newline at end of file +{"version":"1750758919196"} \ No newline at end of file diff --git a/gui/next/build/index.html b/gui/next/build/index.html index 9b43b8b5..ff6ec740 100644 --- a/gui/next/build/index.html +++ b/gui/next/build/index.html @@ -5,26 +5,26 @@ - - - - - - + + + + + +
    + + + + + + + + + + + dispatch('close')}> +
      +
    • + dispatch('reload')} on:close={() => dispatch('close')} /> +
    • +
    +
    diff --git a/gui/next/src/lib/users/Create.svelte b/gui/next/src/lib/users/Create.svelte new file mode 100644 index 00000000..bf70b8f9 --- /dev/null +++ b/gui/next/src/lib/users/Create.svelte @@ -0,0 +1,354 @@ + + + + + + + + + + + + +
    + +
    +
    + + + +
    + +
    +
    + {#if userToEdit === null} +
    + + + +
    + +
    +
    + {/if} + {#each userProperties as property} + {@const value = userToEdit !== null ? parseValue(userToEdit.properties[property.name], property.attribute_type) : {type: property.attribute_type, value: ''}} +
    + + + +
    + {#if property.attribute_type === 'boolean'} + + {:else} + + {/if} +
    + {#if validation[property.name]} + {validation[property.name].message} + {/if} +
    +
    +
    + {/each} + +
    +
    + +
    diff --git a/gui/next/src/lib/users/Delete.svelte b/gui/next/src/lib/users/Delete.svelte new file mode 100644 index 00000000..7de6cfc0 --- /dev/null +++ b/gui/next/src/lib/users/Delete.svelte @@ -0,0 +1,59 @@ + + + + + + + + + + +
    + + +
    diff --git a/gui/next/src/routes/users/+layout.svelte b/gui/next/src/routes/users/+layout.svelte index 67824f99..5f91907d 100644 --- a/gui/next/src/routes/users/+layout.svelte +++ b/gui/next/src/routes/users/+layout.svelte @@ -3,12 +3,14 @@ // imports // ------------------------------------------------------------------------ -import { tick } from 'svelte'; import { goto } from '$app/navigation'; import { state } from '$lib/state.js'; import { quintOut } from 'svelte/easing'; import { page } from '$app/stores'; import { user } from '$lib/api/user.js'; +import ContextMenu from '$lib/users/ContextMenu.svelte'; +import CreateUser from '$lib/users/Create.svelte'; +import { tick } from 'svelte'; import Icon from '$lib/ui/Icon.svelte'; import Number from '$lib/ui/forms/Number.svelte'; @@ -20,6 +22,8 @@ import Number from '$lib/ui/forms/Number.svelte'; let form; // list of users (array) let items = []; +// list of custom user schema properties (array) or null +let userProperties = null; // default filters (object) let defaultFilters = { page: 1, @@ -35,16 +39,25 @@ let filters = { ...Object.fromEntries($page.url.searchParams) }; +$state.user = undefined; +let contextMenu = { + // item id for which the context menu is opened for + id: null +}; // purpose: load data each time query params change // ------------------------------------------------------------------------ -$: user.get(Object.fromEntries($page.url.searchParams)).then(data => { - items = data.results; - filters.totalPages = data.total_pages; -}); +$: reloadUsers(); +const reloadUsers = function() { + const params = Object.fromEntries($page.url.searchParams); + user.get(params).then(data => { + items = data.results; + filters.totalPages = data.total_pages; + }); +} // transition: zooms from nothing to full size // options: delay (int), duration (int) @@ -63,6 +76,38 @@ const appear = function(node, { } }; +const showCreateUserPopup = function(userToEdit = null) { + if (userProperties === null) { + user.getCustomProperties().then(properties => { + userProperties = properties; + $state.user = userToEdit; + }).catch(() => { + state.notification.create('error', 'Could not load table properties. Please try again later.'); + }); + } + else { + $state.user = userToEdit; + } +} + +const clearFilters = async function() { + filters = structuredClone(defaultFilters); + await tick(); + form.requestSubmit(); +} + +const submitForm = async function(event) { + event.preventDefault(); + const currentUrlParams = $page.url.searchParams; + const params = new URLSearchParams(new FormData(event.target)); + if (currentUrlParams.get('value') !== params.get('value')) { + params.set('page', 1); + filters.page = 1; + } + await goto(document.location.pathname + '?' + params.toString()); + await tick(); + await reloadUsers(); +} @@ -82,17 +127,11 @@ const appear = function(node, { .container { min-height: 0; max-width: 100vw; + overflow-y: auto; display: grid; grid-template-rows: min-content 1fr; } - .content { - height: 100%; - min-height: 0; - overflow: auto; - } - - /* filters */ .filters { padding: var(--space-navigation); @@ -155,6 +194,10 @@ const appear = function(node, { display: flex; align-items: center; gap: .5em; + position: fixed; + bottom: 0; + width: 100%; + justify-content: space-between; border-block-start: 1px solid var(--color-frame); background-color: rgba(var(--color-rgb-background), .8); @@ -162,15 +205,10 @@ const appear = function(node, { -webkit-backdrop-filter: blur(17px); } - .pagination .info { - cursor: help; - } - - /* content table */ table { min-width: 100%; - + margin-bottom: 70px; line-height: 1.27em; } @@ -184,21 +222,21 @@ const appear = function(node, { } th, - td > a { + td > a, td > span { padding: var(--space-table) calc(var(--space-navigation) * 1.5); } th:first-child, - td:first-child > a { + td:first-child > a, td:first-child > span { padding-inline-start: var(--space-navigation); } th:last-child, - td:last-child > a { + td:last-child > a, td:last-child > span { padding-inline-end: var(--space-navigation); } - td > a { + td > a, td > span { display: block; } @@ -206,10 +244,6 @@ const appear = function(node, { border: 0; } - .highlight td { - background-color: var(--color-highlight); - } - tr { position: relative; } @@ -243,12 +277,33 @@ const appear = function(node, { } .table-id { - width: 1%; - - text-align: end; font-variant-numeric: tabular-nums; + width: 150px; + } + + .menu { + position: relative; + width: 30px; + } + + tr .inner-menu { + background-color: transparent; + opacity: 0; + transition: opacity .1s linear; + } + + tr:hover .inner-menu { + opacity: .5; + } + + .menu:hover .inner-menu, .context .menu .inner-menu { + opacity: 1; + } + + .menu button.active { + border-end-start-radius: 0; + border-end-end-radius: 0; } - @@ -267,10 +322,7 @@ const appear = function(node, { action="" bind:this={form} id="filters" - on:submit={ - // reset page number when changing filters except when directly changing a page - async event => { if(event.submitter?.dataset.action !== 'numberIncrease'){ event.preventDefault(); filters.page = 1; await tick(); goto(document.location.pathname + '?' + (new URLSearchParams(new FormData(event.target)).toString())); } } - } + on:submit={event => submitForm(event, false)} >