From abc358cd0e70778db6e1dcfbcba6f37dbd7539a9 Mon Sep 17 00:00:00 2001 From: hyrious Date: Fri, 5 Jan 2024 01:51:16 +0000 Subject: [PATCH] deploy: 56312a602e50b2788af1e5ae78dc83f71637b53e --- main.css | 2 +- main.css.map | 4 ++-- main.js | 12 ++++++------ main.js.map | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/main.css b/main.css index 4cd25fe..fba9c91 100644 --- a/main.css +++ b/main.css @@ -1,2 +1,2 @@ -*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"\200b";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:middle}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}.i-mdi-file-plus-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2M23 18h-3v-3h-2v3h-3v2h3v3h2v-3h3z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant-closed-plus{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13 19.3v-6.7l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm8 4.2v3h3v2h-3v3h-2v-3h-3v-2h3v-3z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-logos-vitejs{width:1em;height:1em;display:inline-block;vertical-align:middle;background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 257' width='1em' height='1em' %3E%3Cdefs%3E%3ClinearGradient id='logosVitejs0' x1='-.828%25' x2='57.636%25' y1='7.652%25' y2='78.411%25'%3E%3Cstop offset='0%25' stop-color='%2341D1FF'/%3E%3Cstop offset='100%25' stop-color='%23BD34FE'/%3E%3C/linearGradient%3E%3ClinearGradient id='logosVitejs1' x1='43.376%25' x2='50.316%25' y1='2.242%25' y2='89.03%25'%3E%3Cstop offset='0%25' stop-color='%23FFEA83'/%3E%3Cstop offset='8.333%25' stop-color='%23FFDD35'/%3E%3Cstop offset='100%25' stop-color='%23FFA800'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23logosVitejs0)' d='M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62'/%3E%3Cpath fill='url(%23logosVitejs1)' d='M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent}.i-mdi-magnify{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-checkbox-marked-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 19H5V5h10V3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8h-2m-11.09-.92L6.5 11.5L11 16L21 6l-1.41-1.42L11 13.17z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-checkbox-blank-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 2v14H5V5z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-close{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-loading{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-github{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-share-variant{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7c0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3a3 3 0 0 0-3-3a3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3a3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66c0 1.61 1.31 2.91 2.92 2.91c1.61 0 2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-moon-waxing-crescent{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2a9.91 9.91 0 0 0-3 .46a10 10 0 0 1 0 19.08A10 10 0 1 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-white-balance-sunny{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-download{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 20h14v-2H5m14-9h-4V3H9v6H5l7 7z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-magnify-expand{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16h-.58l-.81-.81A7.07 7.07 0 0 0 18 11c0-3.87-3.13-7-7-7c-1.5 0-3 .5-4.21 1.4c-3.09 2.32-3.72 6.71-1.4 9.8c2.32 3.09 6.71 3.72 9.8 1.4l.81.81V18l5 5l2-2zm-7 0c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5M3 6L1 8V1h7L6 3H3zm18-5v7l-2-2V3h-3l-2-2zM6 19l2 2H1v-7l2 2v3z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant-closed-check{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2c-.2 0-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2v-6.7l6-3.4V13c.7 0 1.4.1 2 .3V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2m0 2.2l6 3.3l-2 1.1l-5.9-3.4zM8.1 6.3L14 9.8l-2 1.1l-6-3.4zM5 9.2l6 3.4v6.7l-6-3.4zm16.3 6.6l-3.6 3.6l-1.6-1.6L15 19l2.8 3l4.8-4.8z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-eye-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 10.96a.985.985 0 0 1-.37-1.37L3.13 7c.11-.2.28-.34.47-.42l7.83-4.4c.16-.12.36-.18.57-.18c.21 0 .41.06.57.18l7.9 4.44c.19.1.35.26.44.46l1.45 2.52c.28.48.11 1.09-.36 1.36l-1 .58v4.96c0 .38-.21.71-.53.88l-7.9 4.44c-.16.12-.36.18-.57.18c-.21 0-.41-.06-.57-.18l-7.9-4.44A.991.991 0 0 1 3 16.5v-5.54c-.3.17-.68.18-1 0m10-6.81v6.7l5.96-3.35zM5 15.91l6 3.38v-6.71L5 9.21zm14 0v-3.22l-5 2.9c-.33.18-.7.17-1 .01v3.69zm-5.15-2.55l6.28-3.63l-.58-1.01l-6.28 3.63z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant-closed-remove{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m13 12.6l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm4.9 4.7l2.1 2.1l2.1-2.1l1.4 1.4l-2.1 2.1l2.1 2.1l-1.4 1.4l-2.1-2.1l-2.1 2.1l-1.4-1.4l2.1-2.1l-2.1-2.1z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-plus{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-file-remove-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2m8.73-.88L20.41 19l2.13-2.12l-1.42-1.41L19 17.59l-2.12-2.12l-1.41 1.41L17.59 19l-2.12 2.12l1.41 1.42L19 20.41l2.12 2.13z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-bash{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 9h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H15v2h-1.9l-.2 2H15v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H5v-2h1.9l.2-2H5zm4.1 2l-.2 2h2l.2-2M19 6h-2v8h2m0 2h-2v2h2Z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-code-json{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 3h2v2H5v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2 2 0 0 0-2-2H0v-2h1a2 2 0 0 0 2-2V5a2 2 0 0 1 2-2m14 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2a2 2 0 0 1-2-2V5h-2V3zm-7 12a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m8 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-reload{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 12a9 9 0 0 0 9 9c2.39 0 4.68-.94 6.4-2.6l-1.5-1.5A6.706 6.706 0 0 1 11 19c-6.24 0-9.36-7.54-4.95-11.95C10.46 2.64 18 5.77 18 12h-3l4 4h.1l3.9-4h-3a9 9 0 0 0-18 0'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}:where(:root){tab-size:2}html{--code-font: 13px/18px "Noto Sans Mono", monospace;--active: #ffcf00;--error: #e24834;--pre: rgba(127, 127, 127, .1);--border: rgba(127, 127, 127, .5)}html:not([data-theme=dark]){--bg: #fff;--fg-on: #000;--fg: #555;--pre-dim: #777;--pre-val: #870}html[data-theme=dark]{color-scheme:dark;--bg: #191919;--fg-on: #ddd;--fg: #aaa;--pre-dim: #999;--pre-val: #cb8}@media (prefers-color-scheme: dark){html:not([data-theme=light]){color-scheme:dark;--bg: #191919;--fg-on: #ddd;--fg: #aaa;--pre-dim: #999;--pre-val: #cb8}}body{font:16px/20px sans-serif;background:var(--bg);color:var(--fg)}html,body,#app{height:100%}a{color:inherit}.hljs-comment,.hljs-keyword,.hljs-literal{color:var(--pre-dim)}.hljs-regexp,.hljs-string,.hljs-number,.hljs-tag{color:var(--pre-val)}.color-bold{font-weight:700;color:var(--fg-on)}.bg-red{background:#e24834}.color-red{color:#e24834}.bg-yellow{background:#f2d42d}.color-yellow{color:#f2d42d}.color-green{color:#58a549}.color-black{color:#000}.color-white{color:#fff}.color-dim{color:#777}.color-magenta{color:#8e69c9}header.svelte-17997zj.svelte-17997zj{display:flex;padding:25px 50px 0;gap:5px}header.svelte-17997zj h1.svelte-17997zj{margin:0;display:inline-flex;font-size:16px;padding-left:25px;background:url("./favicon.svg") no-repeat 0 center/20px}header.svelte-17997zj h1 a.svelte-17997zj{text-decoration:none}header.svelte-17997zj h1 a.svelte-17997zj:hover{color:var(--fg-on);text-decoration:underline}header.svelte-17997zj nav.svelte-17997zj{flex-grow:1;display:inline-flex}header.svelte-17997zj nav label.svelte-17997zj{position:relative;text-align:center}header.svelte-17997zj nav label:hover span.svelte-17997zj{color:var(--fg-on)}header.svelte-17997zj nav label:has(:checked) span.svelte-17997zj{color:var(--fg-on);font-weight:700;border-bottom:2px solid var(--active)}header.svelte-17997zj nav label input.svelte-17997zj{appearance:none;position:absolute;inset:0;cursor:pointer}header.svelte-17997zj nav sup.svelte-17997zj{position:relative;top:-4px;vertical-align:top;font-size:.7em}header.svelte-17997zj nav sup a.svelte-17997zj{text-decoration:none}header.svelte-17997zj nav sup a.svelte-17997zj:hover{color:var(--fg-on);text-decoration:underline}header.svelte-17997zj select.svelte-17997zj{appearance:none;background:none;border:none;padding:0 5px;color:inherit;font:14px/20px Noto Sans Mono,monospace;cursor:pointer}header.svelte-17997zj select.svelte-17997zj:hover{color:var(--fg-on)}header.svelte-17997zj select option.svelte-17997zj{background:var(--bg);color:var(--fg)}.buttons.svelte-17997zj.svelte-17997zj{display:inline-flex;gap:5px}.btn.svelte-17997zj.svelte-17997zj{appearance:none;background:none;border:none;padding:0 5px;display:inline-flex;color:inherit;font-size:20px;cursor:pointer}.btn.svelte-17997zj.svelte-17997zj:hover{color:var(--fg-on)}@media (max-width: 800px){header.svelte-17997zj.svelte-17997zj{padding:25px 25px 0}header.svelte-17997zj h1.svelte-17997zj,header.svelte-17997zj nav sup.svelte-17997zj,header.svelte-17997zj select.svelte-17997zj{display:none}header.svelte-17997zj nav label.svelte-17997zj:first-child{text-align:left}}@media (max-width: 300px){.buttons.svelte-17997zj>.svelte-17997zj:not([data-share]){display:none}}section.svelte-rvhy5u.svelte-rvhy5u{display:flex;position:relative;height:fit-content}.divider.svelte-rvhy5u.svelte-rvhy5u{position:absolute;width:25px;height:max(100dvh - 150px,100%);cursor:col-resize;z-index:10;touch-action:none}.divider.svelte-rvhy5u.svelte-rvhy5u:after{content:"";position:absolute;inset-inline-start:11.5px;inline-size:2px;block-size:100%;background:var(--active)}.mask.svelte-rvhy5u.svelte-rvhy5u{position:absolute;inset:0}@media (max-width: 800px){section.svelte-rvhy5u.svelte-rvhy5u{display:block}section.svelte-rvhy5u div.svelte-rvhy5u:not(.divider){width:auto!important}.divider.svelte-rvhy5u.svelte-rvhy5u{position:static;width:auto;height:auto;pointer-events:none;border-bottom:2px solid var(--active)}.divider.svelte-rvhy5u.svelte-rvhy5u:after{content:none}}[data-label].svelte-1t1btx.svelte-1t1btx{position:relative}[data-label].svelte-1t1btx.svelte-1t1btx:after{content:attr(data-label);position:absolute;right:8px;top:5px;font:var(--code-font);opacity:.5;font-weight:700;color:var(--fg);pointer-events:none}[data-label].svelte-1t1btx.svelte-1t1btx:has(header):after{top:29px}article.svelte-1t1btx.svelte-1t1btx{display:flex;flex-direction:column;color:var(--fg)}article.svelte-1t1btx.svelte-1t1btx:not(:last-child){margin-bottom:10px}header.svelte-1t1btx.svelte-1t1btx{display:flex;align-items:center;margin-bottom:4px}header.svelte-1t1btx input.svelte-1t1btx{flex:1;width:100%;appearance:none;background:transparent;border:none;padding:0 1px;font:var(--code-font);color:inherit}header.svelte-1t1btx input[readonly].svelte-1t1btx{color:var(--fg-on);font-weight:700}header.svelte-1t1btx input.svelte-1t1btx:focus{outline:none}header.entry.svelte-1t1btx input.svelte-1t1btx,header.entry.svelte-1t1btx button.entry.svelte-1t1btx{color:#58a549}header.entry.svelte-1t1btx input.svelte-1t1btx{font-weight:700}header.svelte-1t1btx button.svelte-1t1btx{appearance:none;display:inline-flex;background:transparent;border:none;padding:0;cursor:pointer;color:inherit;font-size:20px;transition:opacity .2s}button.entry.svelte-1t1btx.svelte-1t1btx{position:absolute;right:100%;z-index:10;opacity:0}.svelte-1t1btx:where(header:hover) button.entry.svelte-1t1btx{opacity:.5}header.svelte-1t1btx:focus-within button.entry.svelte-1t1btx,header.entry.svelte-1t1btx button.entry.svelte-1t1btx,button.entry.svelte-1t1btx.svelte-1t1btx:hover{opacity:1}button.remove.svelte-1t1btx.svelte-1t1btx{color:#e24834;opacity:.5}button.remove.svelte-1t1btx.svelte-1t1btx:hover{opacity:1}span.size.svelte-1t1btx.svelte-1t1btx{font:14px/20px sans-serif;font-variant-numeric:tabular-nums;opacity:.5}pre.svelte-1t1btx.svelte-1t1btx{margin:0;padding:9px;border-radius:4px;min-height:34px;font:var(--code-font);background:var(--pre);white-space:pre-wrap;cursor:text}@media (max-width: 800px){pre.svelte-1t1btx.svelte-1t1btx{white-space:pre}}textarea.svelte-1t1btx.svelte-1t1btx{appearance:none;resize:none;width:100%;font:var(--code-font);color:inherit;background:var(--pre);border:1px solid var(--border);border-radius:4px;outline:none;padding:8px}textarea.svelte-1t1btx.svelte-1t1btx:focus{color:var(--fg-on);border-color:var(--fg)}article.svelte-2um5t9.svelte-2um5t9{display:flex;flex-direction:column;color:var(--fg)}article.svelte-2um5t9.svelte-2um5t9:focus-within{border-color:var(--fg)}div.svelte-2um5t9.svelte-2um5t9{display:flex;border-radius:4px;background:var(--pre);position:relative}textarea.svelte-2um5t9.svelte-2um5t9{appearance:none;resize:none;width:100%;font:var(--code-font);color:inherit;border:1px solid var(--border);border-radius:4px;background:none;outline:none;padding:8px}textarea.svelte-2um5t9.svelte-2um5t9:focus{color:var(--fg-on);border-color:var(--fg)}aside.svelte-2um5t9.svelte-2um5t9{position:absolute;width:400px;display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}aside.svelte-2um5t9 span.hint.svelte-2um5t9{opacity:.5;font:var(--code-font)}aside.svelte-2um5t9 span.info.svelte-2um5t9{margin-top:4px;padding:5px 8px;background:var(--bg);border:1px solid var(--border);border-radius:4px;box-shadow:0 1px 5px 1px #0000001a;color:var(--fg-on);font:14px/20px sans-serif;z-index:10;pointer-events:all}footer.svelte-2um5t9.svelte-2um5t9{display:flex;justify-content:flex-end;margin-top:4px}button.svelte-2um5t9.svelte-2um5t9{appearance:none;display:inline-flex;background:transparent;border:none;padding:0;margin-left:5px;cursor:pointer;color:inherit;font-size:20px;opacity:.5;transition:opacity .2s}button.svelte-2um5t9.svelte-2um5t9:hover{opacity:1}button.svelte-2um5t9 span.svelte-2um5t9{padding-left:5px;font:14px/20px sans-serif;white-space:nowrap}div.svelte-8svfb8{display:flex;flex-direction:column}button.svelte-83gze3.svelte-83gze3{appearance:none;display:inline-flex;background:transparent;border:none;padding:0;margin-left:5px;cursor:pointer;color:inherit;font-size:20px;opacity:.5;transition:opacity .2s}button.svelte-83gze3 span.svelte-83gze3{font:14px/20px sans-serif;white-space:nowrap}button.svelte-83gze3.svelte-83gze3:hover{opacity:1}button.remove.svelte-83gze3.svelte-83gze3{color:#e24834}dialog.svelte-83gze3.svelte-83gze3{position:absolute;top:20px;inset-inline:0;max-width:400px;z-index:10;background:var(--bg);color:var(--fg);border:1px solid var(--border);border-radius:4px;padding:10px;box-shadow:0 1px 5px 1px #0000001a}dialog.svelte-83gze3 h3.svelte-83gze3{margin:0 0 5px;font:14px/20px sans-serif;font-weight:700}dialog.svelte-83gze3 h3 button.svelte-83gze3{position:absolute;top:8px;right:8px}dialog.svelte-83gze3 ul.svelte-83gze3{margin:0;padding:0;display:flex;flex-direction:column}dialog.svelte-83gze3 ul li.svelte-83gze3{display:flex;align-items:center;margin-bottom:5px;font:14px/20px sans-serif;list-style-type:none}dialog.svelte-83gze3 ul li button.svelte-83gze3{margin-left:0;margin-right:5px}dialog.svelte-83gze3 ul li span.svelte-83gze3{width:100%}dialog.svelte-83gze3 article.svelte-83gze3{display:flex;margin-bottom:5px}dialog.svelte-83gze3 article select.svelte-83gze3{width:100%;font:14px/20px sans-serif}dialog.svelte-83gze3 footer.svelte-83gze3{display:flex;justify-content:flex-end}.npm-package.svelte-83gze3.svelte-83gze3{display:flex;align-items:center;font:14px/20px sans-serif;margin-bottom:10px;padding:0 1px;position:relative}.not-installed.svelte-83gze3.svelte-83gze3{transform:translate(20px);opacity:.5}.npm-package.svelte-83gze3>i.svelte-83gze3{position:absolute;right:100%;font-size:20px}.npm-package__name.svelte-83gze3.svelte-83gze3{text-decoration:none}.npm-package__name.svelte-83gze3.svelte-83gze3:hover{text-decoration:underline}.npm-package__version.svelte-83gze3.svelte-83gze3{flex-grow:1;opacity:.5;font-variant-numeric:tabular-nums}.npm-package__version.svelte-83gze3.svelte-83gze3:before{content:"@"}.i-mdi-package-variant-closed-check.svelte-83gze3.svelte-83gze3{cursor:help}button.svelte-1oui2el.svelte-1oui2el{position:relative;display:inline-flex;align-items:center;appearance:none;background:none;height:20px;border:none;padding:0 1px;font:var(--code-font);color:var(--fg);opacity:.5;transition:opacity .2s;cursor:pointer}span.sans-serif.svelte-1oui2el.svelte-1oui2el{font:14px/20px sans-serif;font-variant-numeric:tabular-nums}button.svelte-1oui2el.svelte-1oui2el:not(:last-child){margin-bottom:10px}button.not-installed.svelte-1oui2el.svelte-1oui2el{transform:translate(20px)}button.svelte-1oui2el.svelte-1oui2el:hover{opacity:1}button.svelte-1oui2el i.svelte-1oui2el{font-size:20px}button.svelte-1oui2el span.svelte-1oui2el{white-space:nowrap}footer.svelte-1oui2el.svelte-1oui2el{display:flex;flex-direction:column}footer.svelte-1oui2el button i.svelte-1oui2el{position:absolute;right:100%}pre.svelte-1i4kd1x{margin:0 0 10px;font:var(--code-font);white-space:pre-wrap}p.svelte-1i4kd1x{margin:0 0 10px;opacity:.5}.features.svelte-1xv65jf.svelte-1xv65jf{display:flex;justify-content:flex-end;margin:-6px 0 6px}.i-logos-vitejs.svelte-1xv65jf.svelte-1xv65jf{background-size:75% 75%;background-position:center}button.svelte-1xv65jf.svelte-1xv65jf{appearance:none;display:inline-flex;background:none;margin-left:5px;border:none;padding:0;color:inherit;font-size:20px;opacity:.5;transition:opacity .2s;cursor:pointer}button.svelte-1xv65jf.svelte-1xv65jf:hover{opacity:1}button.svelte-1xv65jf.svelte-1xv65jf:disabled{opacity:.5;cursor:not-allowed}button.detecting.svelte-1xv65jf.svelte-1xv65jf{cursor:wait}button.svelte-1xv65jf span.svelte-1xv65jf{font:14px/20px sans-serif}div.svelte-1lkddes.svelte-1lkddes{display:flex;margin:-6px 0 6px}button.svelte-1lkddes.svelte-1lkddes{margin-left:auto;appearance:none;background:none;border:none;padding:0;outline:0;color:inherit;opacity:.5;font-size:20px;transition:opacity .2s;cursor:pointer}button.svelte-1lkddes.svelte-1lkddes:hover{opacity:1}button.svelte-1lkddes span.svelte-1lkddes{font:14px/20px sans-serif}.download.svelte-wtmoi9.svelte-wtmoi9{display:flex;justify-content:flex-end;margin:-6px 0 6px}button.svelte-wtmoi9.svelte-wtmoi9{margin-left:5px;appearance:none;background:none;border:none;padding:0;outline:0;color:inherit;opacity:.5;font-size:20px;transition:opacity .2s;cursor:pointer}button.svelte-wtmoi9.svelte-wtmoi9:hover{opacity:1}button.svelte-wtmoi9 span.svelte-wtmoi9{font:14px/20px sans-serif}pre.svelte-178fr2s{margin:0 0 10px;font:var(--code-font);white-space:pre-wrap}p.svelte-178fr2s{margin:0;opacity:.5}footer.svelte-fryahy{position:fixed;inset-inline:0;inset-block-end:0;padding:10px 50px 25px;display:flex;align-items:center;gap:10px;font:14px/20px sans-serif;font-variant-numeric:tabular-nums;background:var(--bg);z-index:20}.i-mdi-loading.svelte-fryahy{font-size:20px;animation:svelte-fryahy-rotate .4s linear infinite}@keyframes svelte-fryahy-rotate{to{transform:rotate(360deg)}}@media (max-width: 800px){footer.svelte-fryahy{padding:10px 25px 25px}}main.svelte-17kgds3{padding:25px 50px 70px}section[slot=left].svelte-17kgds3{padding-right:12.5px}section[slot=right].svelte-17kgds3{padding-left:12.5px}@media (max-width: 800px){main.svelte-17kgds3{padding:25px 25px 70px}section[slot=left].svelte-17kgds3{padding-right:0;padding-bottom:12.5px}section[slot=right].svelte-17kgds3{padding-left:0;padding-top:12.5px}} +*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"\200b";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:middle}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}.i-mdi-file-plus-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2M23 18h-3v-3h-2v3h-3v2h3v3h2v-3h3z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant-closed-plus{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13 19.3v-6.7l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm8 4.2v3h3v2h-3v3h-2v-3h-3v-2h3v-3z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-checkbox-marked-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 19H5V5h10V3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8h-2m-11.09-.92L6.5 11.5L11 16L21 6l-1.41-1.42L11 13.17z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-checkbox-blank-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 2v14H5V5z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-close{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-logos-vitejs{width:1em;height:1em;display:inline-block;vertical-align:middle;background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 257' width='1em' height='1em' %3E%3Cdefs%3E%3ClinearGradient id='logosVitejs0' x1='-.828%25' x2='57.636%25' y1='7.652%25' y2='78.411%25'%3E%3Cstop offset='0%25' stop-color='%2341D1FF'/%3E%3Cstop offset='100%25' stop-color='%23BD34FE'/%3E%3C/linearGradient%3E%3ClinearGradient id='logosVitejs1' x1='43.376%25' x2='50.316%25' y1='2.242%25' y2='89.03%25'%3E%3Cstop offset='0%25' stop-color='%23FFEA83'/%3E%3Cstop offset='8.333%25' stop-color='%23FFDD35'/%3E%3Cstop offset='100%25' stop-color='%23FFA800'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23logosVitejs0)' d='M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62'/%3E%3Cpath fill='url(%23logosVitejs1)' d='M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent}.i-mdi-magnify{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-loading{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-github{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-share-variant{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7c0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3a3 3 0 0 0-3-3a3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3a3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66c0 1.61 1.31 2.91 2.92 2.91c1.61 0 2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-moon-waxing-crescent{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2a9.91 9.91 0 0 0-3 .46a10 10 0 0 1 0 19.08A10 10 0 1 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-white-balance-sunny{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-download{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 20h14v-2H5m14-9h-4V3H9v6H5l7 7z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-magnify-expand{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16h-.58l-.81-.81A7.07 7.07 0 0 0 18 11c0-3.87-3.13-7-7-7c-1.5 0-3 .5-4.21 1.4c-3.09 2.32-3.72 6.71-1.4 9.8c2.32 3.09 6.71 3.72 9.8 1.4l.81.81V18l5 5l2-2zm-7 0c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5M3 6L1 8V1h7L6 3H3zm18-5v7l-2-2V3h-3l-2-2zM6 19l2 2H1v-7l2 2v3z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant-closed-check{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2c-.2 0-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2v-6.7l6-3.4V13c.7 0 1.4.1 2 .3V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2m0 2.2l6 3.3l-2 1.1l-5.9-3.4zM8.1 6.3L14 9.8l-2 1.1l-6-3.4zM5 9.2l6 3.4v6.7l-6-3.4zm16.3 6.6l-3.6 3.6l-1.6-1.6L15 19l2.8 3l4.8-4.8z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-eye-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 10.96a.985.985 0 0 1-.37-1.37L3.13 7c.11-.2.28-.34.47-.42l7.83-4.4c.16-.12.36-.18.57-.18c.21 0 .41.06.57.18l7.9 4.44c.19.1.35.26.44.46l1.45 2.52c.28.48.11 1.09-.36 1.36l-1 .58v4.96c0 .38-.21.71-.53.88l-7.9 4.44c-.16.12-.36.18-.57.18c-.21 0-.41-.06-.57-.18l-7.9-4.44A.991.991 0 0 1 3 16.5v-5.54c-.3.17-.68.18-1 0m10-6.81v6.7l5.96-3.35zM5 15.91l6 3.38v-6.71L5 9.21zm14 0v-3.22l-5 2.9c-.33.18-.7.17-1 .01v3.69zm-5.15-2.55l6.28-3.63l-.58-1.01l-6.28 3.63z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-package-variant-closed-remove{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m13 12.6l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm4.9 4.7l2.1 2.1l2.1-2.1l1.4 1.4l-2.1 2.1l2.1 2.1l-1.4 1.4l-2.1-2.1l-2.1 2.1l-1.4-1.4l2.1-2.1l-2.1-2.1z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-plus{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-file-remove-outline{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2m8.73-.88L20.41 19l2.13-2.12l-1.42-1.41L19 17.59l-2.12-2.12l-1.41 1.41L17.59 19l-2.12 2.12l1.41 1.42L19 20.41l2.12 2.13z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-bash{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 9h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H15v2h-1.9l-.2 2H15v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H5v-2h1.9l.2-2H5zm4.1 2l-.2 2h2l.2-2M19 6h-2v8h2m0 2h-2v2h2Z'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-code-json{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 3h2v2H5v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2 2 0 0 0-2-2H0v-2h1a2 2 0 0 0 2-2V5a2 2 0 0 1 2-2m14 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2a2 2 0 0 1-2-2V5h-2V3zm-7 12a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m8 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.i-mdi-reload{width:1em;height:1em;display:inline-block;vertical-align:middle;--icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 12a9 9 0 0 0 9 9c2.39 0 4.68-.94 6.4-2.6l-1.5-1.5A6.706 6.706 0 0 1 11 19c-6.24 0-9.36-7.54-4.95-11.95C10.46 2.64 18 5.77 18 12h-3l4 4h.1l3.9-4h-3a9 9 0 0 0-18 0'/%3E%3C/svg%3E");-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}:where(:root){tab-size:2}html{--code-font: 13px/18px "Noto Sans Mono", monospace;--active: #ffcf00;--error: #e24834;--pre: rgba(127, 127, 127, .1);--border: rgba(127, 127, 127, .5)}html:not([data-theme=dark]){--bg: #fff;--fg-on: #000;--fg: #555;--pre-dim: #777;--pre-val: #870}html[data-theme=dark]{color-scheme:dark;--bg: #191919;--fg-on: #ddd;--fg: #aaa;--pre-dim: #999;--pre-val: #cb8}@media (prefers-color-scheme: dark){html:not([data-theme=light]){color-scheme:dark;--bg: #191919;--fg-on: #ddd;--fg: #aaa;--pre-dim: #999;--pre-val: #cb8}}body{font:16px/20px sans-serif;background:var(--bg);color:var(--fg)}html,body,#app{height:100%}a{color:inherit}.hljs-comment,.hljs-keyword,.hljs-literal{color:var(--pre-dim)}.hljs-regexp,.hljs-string,.hljs-number,.hljs-tag{color:var(--pre-val)}.color-bold{font-weight:700;color:var(--fg-on)}.bg-red{background:#e24834}.color-red{color:#e24834}.bg-yellow{background:#f2d42d}.color-yellow{color:#f2d42d}.color-green{color:#58a549}.color-black{color:#000}.color-white{color:#fff}.color-dim{color:#777}.color-magenta{color:#8e69c9}header.svelte-17997zj.svelte-17997zj{display:flex;padding:25px 50px 0;gap:5px}header.svelte-17997zj h1.svelte-17997zj{margin:0;display:inline-flex;font-size:16px;padding-left:25px;background:url("./favicon.svg") no-repeat 0 center/20px}header.svelte-17997zj h1 a.svelte-17997zj{text-decoration:none}header.svelte-17997zj h1 a.svelte-17997zj:hover{color:var(--fg-on);text-decoration:underline}header.svelte-17997zj nav.svelte-17997zj{flex-grow:1;display:inline-flex}header.svelte-17997zj nav label.svelte-17997zj{position:relative;text-align:center}header.svelte-17997zj nav label:hover span.svelte-17997zj{color:var(--fg-on)}header.svelte-17997zj nav label:has(:checked) span.svelte-17997zj{color:var(--fg-on);font-weight:700;border-bottom:2px solid var(--active)}header.svelte-17997zj nav label input.svelte-17997zj{appearance:none;position:absolute;inset:0;cursor:pointer}header.svelte-17997zj nav sup.svelte-17997zj{position:relative;top:-4px;vertical-align:top;font-size:.7em}header.svelte-17997zj nav sup a.svelte-17997zj{text-decoration:none}header.svelte-17997zj nav sup a.svelte-17997zj:hover{color:var(--fg-on);text-decoration:underline}header.svelte-17997zj select.svelte-17997zj{appearance:none;background:none;border:none;padding:0 5px;color:inherit;font:14px/20px Noto Sans Mono,monospace;cursor:pointer}header.svelte-17997zj select.svelte-17997zj:hover{color:var(--fg-on)}header.svelte-17997zj select option.svelte-17997zj{background:var(--bg);color:var(--fg)}.buttons.svelte-17997zj.svelte-17997zj{display:inline-flex;gap:5px}.btn.svelte-17997zj.svelte-17997zj{appearance:none;background:none;border:none;padding:0 5px;display:inline-flex;color:inherit;font-size:20px;cursor:pointer}.btn.svelte-17997zj.svelte-17997zj:hover{color:var(--fg-on)}@media (max-width: 800px){header.svelte-17997zj.svelte-17997zj{padding:25px 25px 0}header.svelte-17997zj h1.svelte-17997zj,header.svelte-17997zj nav sup.svelte-17997zj,header.svelte-17997zj select.svelte-17997zj{display:none}header.svelte-17997zj nav label.svelte-17997zj:first-child{text-align:left}}@media (max-width: 300px){.buttons.svelte-17997zj>.svelte-17997zj:not([data-share]){display:none}}section.svelte-rvhy5u.svelte-rvhy5u{display:flex;position:relative;height:fit-content}.divider.svelte-rvhy5u.svelte-rvhy5u{position:absolute;width:25px;height:max(100dvh - 150px,100%);cursor:col-resize;z-index:10;touch-action:none}.divider.svelte-rvhy5u.svelte-rvhy5u:after{content:"";position:absolute;inset-inline-start:11.5px;inline-size:2px;block-size:100%;background:var(--active)}.mask.svelte-rvhy5u.svelte-rvhy5u{position:absolute;inset:0}@media (max-width: 800px){section.svelte-rvhy5u.svelte-rvhy5u{display:block}section.svelte-rvhy5u div.svelte-rvhy5u:not(.divider){width:auto!important}.divider.svelte-rvhy5u.svelte-rvhy5u{position:static;width:auto;height:auto;pointer-events:none;border-bottom:2px solid var(--active)}.divider.svelte-rvhy5u.svelte-rvhy5u:after{content:none}}[data-label].svelte-1t1btx.svelte-1t1btx{position:relative}[data-label].svelte-1t1btx.svelte-1t1btx:after{content:attr(data-label);position:absolute;right:8px;top:5px;font:var(--code-font);opacity:.5;font-weight:700;color:var(--fg);pointer-events:none}[data-label].svelte-1t1btx.svelte-1t1btx:has(header):after{top:29px}article.svelte-1t1btx.svelte-1t1btx{display:flex;flex-direction:column;color:var(--fg)}article.svelte-1t1btx.svelte-1t1btx:not(:last-child){margin-bottom:10px}header.svelte-1t1btx.svelte-1t1btx{display:flex;align-items:center;margin-bottom:4px}header.svelte-1t1btx input.svelte-1t1btx{flex:1;width:100%;appearance:none;background:transparent;border:none;padding:0 1px;font:var(--code-font);color:inherit}header.svelte-1t1btx input[readonly].svelte-1t1btx{color:var(--fg-on);font-weight:700}header.svelte-1t1btx input.svelte-1t1btx:focus{outline:none}header.entry.svelte-1t1btx input.svelte-1t1btx,header.entry.svelte-1t1btx button.entry.svelte-1t1btx{color:#58a549}header.entry.svelte-1t1btx input.svelte-1t1btx{font-weight:700}header.svelte-1t1btx button.svelte-1t1btx{appearance:none;display:inline-flex;background:transparent;border:none;padding:0;cursor:pointer;color:inherit;font-size:20px;transition:opacity .2s}button.entry.svelte-1t1btx.svelte-1t1btx{position:absolute;right:100%;z-index:10;opacity:0}.svelte-1t1btx:where(header:hover) button.entry.svelte-1t1btx{opacity:.5}header.svelte-1t1btx:focus-within button.entry.svelte-1t1btx,header.entry.svelte-1t1btx button.entry.svelte-1t1btx,button.entry.svelte-1t1btx.svelte-1t1btx:hover{opacity:1}button.remove.svelte-1t1btx.svelte-1t1btx{color:#e24834;opacity:.5}button.remove.svelte-1t1btx.svelte-1t1btx:hover{opacity:1}span.size.svelte-1t1btx.svelte-1t1btx{font:14px/20px sans-serif;font-variant-numeric:tabular-nums;opacity:.5}pre.svelte-1t1btx.svelte-1t1btx{margin:0;padding:9px;border-radius:4px;min-height:34px;font:var(--code-font);background:var(--pre);white-space:pre-wrap;cursor:text}@media (max-width: 800px){pre.svelte-1t1btx.svelte-1t1btx{white-space:pre}}textarea.svelte-1t1btx.svelte-1t1btx{appearance:none;resize:none;width:100%;font:var(--code-font);color:inherit;background:var(--pre);border:1px solid var(--border);border-radius:4px;outline:none;padding:8px}textarea.svelte-1t1btx.svelte-1t1btx:focus{color:var(--fg-on);border-color:var(--fg)}article.svelte-2um5t9.svelte-2um5t9{display:flex;flex-direction:column;color:var(--fg)}article.svelte-2um5t9.svelte-2um5t9:focus-within{border-color:var(--fg)}div.svelte-2um5t9.svelte-2um5t9{display:flex;border-radius:4px;background:var(--pre);position:relative}textarea.svelte-2um5t9.svelte-2um5t9{appearance:none;resize:none;width:100%;font:var(--code-font);color:inherit;border:1px solid var(--border);border-radius:4px;background:none;outline:none;padding:8px}textarea.svelte-2um5t9.svelte-2um5t9:focus{color:var(--fg-on);border-color:var(--fg)}aside.svelte-2um5t9.svelte-2um5t9{position:absolute;width:400px;display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}aside.svelte-2um5t9 span.hint.svelte-2um5t9{opacity:.5;font:var(--code-font)}aside.svelte-2um5t9 span.info.svelte-2um5t9{margin-top:4px;padding:5px 8px;background:var(--bg);border:1px solid var(--border);border-radius:4px;box-shadow:0 1px 5px 1px #0000001a;color:var(--fg-on);font:14px/20px sans-serif;z-index:10;pointer-events:all}footer.svelte-2um5t9.svelte-2um5t9{display:flex;justify-content:flex-end;margin-top:4px}button.svelte-2um5t9.svelte-2um5t9{appearance:none;display:inline-flex;background:transparent;border:none;padding:0;margin-left:5px;cursor:pointer;color:inherit;font-size:20px;opacity:.5;transition:opacity .2s}button.svelte-2um5t9.svelte-2um5t9:hover{opacity:1}button.svelte-2um5t9 span.svelte-2um5t9{padding-left:5px;font:14px/20px sans-serif;white-space:nowrap}div.svelte-8svfb8{display:flex;flex-direction:column}button.svelte-83gze3.svelte-83gze3{appearance:none;display:inline-flex;background:transparent;border:none;padding:0;margin-left:5px;cursor:pointer;color:inherit;font-size:20px;opacity:.5;transition:opacity .2s}button.svelte-83gze3 span.svelte-83gze3{font:14px/20px sans-serif;white-space:nowrap}button.svelte-83gze3.svelte-83gze3:hover{opacity:1}button.remove.svelte-83gze3.svelte-83gze3{color:#e24834}dialog.svelte-83gze3.svelte-83gze3{position:absolute;top:20px;inset-inline:0;max-width:400px;z-index:10;background:var(--bg);color:var(--fg);border:1px solid var(--border);border-radius:4px;padding:10px;box-shadow:0 1px 5px 1px #0000001a}dialog.svelte-83gze3 h3.svelte-83gze3{margin:0 0 5px;font:14px/20px sans-serif;font-weight:700}dialog.svelte-83gze3 h3 button.svelte-83gze3{position:absolute;top:8px;right:8px}dialog.svelte-83gze3 ul.svelte-83gze3{margin:0;padding:0;display:flex;flex-direction:column}dialog.svelte-83gze3 ul li.svelte-83gze3{display:flex;align-items:center;margin-bottom:5px;font:14px/20px sans-serif;list-style-type:none}dialog.svelte-83gze3 ul li button.svelte-83gze3{margin-left:0;margin-right:5px}dialog.svelte-83gze3 ul li span.svelte-83gze3{width:100%}dialog.svelte-83gze3 article.svelte-83gze3{display:flex;margin-bottom:5px}dialog.svelte-83gze3 article select.svelte-83gze3{width:100%;font:14px/20px sans-serif}dialog.svelte-83gze3 footer.svelte-83gze3{display:flex;justify-content:flex-end}.npm-package.svelte-83gze3.svelte-83gze3{display:flex;align-items:center;font:14px/20px sans-serif;margin-bottom:10px;padding:0 1px;position:relative}.not-installed.svelte-83gze3.svelte-83gze3{transform:translate(20px);opacity:.5}.npm-package.svelte-83gze3>i.svelte-83gze3{position:absolute;right:100%;font-size:20px}.npm-package__name.svelte-83gze3.svelte-83gze3{text-decoration:none}.npm-package__name.svelte-83gze3.svelte-83gze3:hover{text-decoration:underline}.npm-package__version.svelte-83gze3.svelte-83gze3{flex-grow:1;opacity:.5;font-variant-numeric:tabular-nums}.npm-package__version.svelte-83gze3.svelte-83gze3:before{content:"@"}.i-mdi-package-variant-closed-check.svelte-83gze3.svelte-83gze3{cursor:help}button.svelte-1oui2el.svelte-1oui2el{position:relative;display:inline-flex;align-items:center;appearance:none;background:none;height:20px;border:none;padding:0 1px;font:var(--code-font);color:var(--fg);opacity:.5;transition:opacity .2s;cursor:pointer}span.sans-serif.svelte-1oui2el.svelte-1oui2el{font:14px/20px sans-serif;font-variant-numeric:tabular-nums}button.svelte-1oui2el.svelte-1oui2el:not(:last-child){margin-bottom:10px}button.not-installed.svelte-1oui2el.svelte-1oui2el{transform:translate(20px)}button.svelte-1oui2el.svelte-1oui2el:hover{opacity:1}button.svelte-1oui2el i.svelte-1oui2el{font-size:20px}button.svelte-1oui2el span.svelte-1oui2el{white-space:nowrap}footer.svelte-1oui2el.svelte-1oui2el{display:flex;flex-direction:column}footer.svelte-1oui2el button i.svelte-1oui2el{position:absolute;right:100%}pre.svelte-1i4kd1x{margin:0 0 10px;font:var(--code-font);white-space:pre-wrap}p.svelte-1i4kd1x{margin:0 0 10px;opacity:.5}.features.svelte-1xv65jf.svelte-1xv65jf{display:flex;justify-content:flex-end;margin:-6px 0 6px}.i-logos-vitejs.svelte-1xv65jf.svelte-1xv65jf{background-size:75% 75%;background-position:center}button.svelte-1xv65jf.svelte-1xv65jf{appearance:none;display:inline-flex;background:none;margin-left:5px;border:none;padding:0;color:inherit;font-size:20px;opacity:.5;transition:opacity .2s;cursor:pointer}button.svelte-1xv65jf.svelte-1xv65jf:hover{opacity:1}button.svelte-1xv65jf.svelte-1xv65jf:disabled{opacity:.5;cursor:not-allowed}button.detecting.svelte-1xv65jf.svelte-1xv65jf{cursor:wait}button.svelte-1xv65jf span.svelte-1xv65jf{font:14px/20px sans-serif}div.svelte-1lkddes.svelte-1lkddes{display:flex;margin:-6px 0 6px}button.svelte-1lkddes.svelte-1lkddes{margin-left:auto;appearance:none;background:none;border:none;padding:0;outline:0;color:inherit;opacity:.5;font-size:20px;transition:opacity .2s;cursor:pointer}button.svelte-1lkddes.svelte-1lkddes:hover{opacity:1}button.svelte-1lkddes span.svelte-1lkddes{font:14px/20px sans-serif}.download.svelte-wtmoi9.svelte-wtmoi9{display:flex;justify-content:flex-end;margin:-6px 0 6px}button.svelte-wtmoi9.svelte-wtmoi9{margin-left:5px;appearance:none;background:none;border:none;padding:0;outline:0;color:inherit;opacity:.5;font-size:20px;transition:opacity .2s;cursor:pointer}button.svelte-wtmoi9.svelte-wtmoi9:hover{opacity:1}button.svelte-wtmoi9 span.svelte-wtmoi9{font:14px/20px sans-serif}pre.svelte-178fr2s{margin:0 0 10px;font:var(--code-font);white-space:pre-wrap}p.svelte-178fr2s{margin:0;opacity:.5}footer.svelte-fryahy{position:fixed;inset-inline:0;inset-block-end:0;padding:10px 50px 25px;display:flex;align-items:center;gap:10px;font:14px/20px sans-serif;font-variant-numeric:tabular-nums;background:var(--bg);z-index:20}.i-mdi-loading.svelte-fryahy{font-size:20px;animation:svelte-fryahy-rotate .4s linear infinite}@keyframes svelte-fryahy-rotate{to{transform:rotate(360deg)}}@media (max-width: 800px){footer.svelte-fryahy{padding:10px 25px 25px}}main.svelte-17kgds3{padding:25px 50px 70px}section[slot=left].svelte-17kgds3{padding-right:12.5px}section[slot=right].svelte-17kgds3{padding-left:12.5px}@media (max-width: 800px){main.svelte-17kgds3{padding:25px 25px 70px}section[slot=left].svelte-17kgds3{padding-right:0;padding-bottom:12.5px}section[slot=right].svelte-17kgds3{padding-left:0;padding-top:12.5px}} /*# sourceMappingURL=main.css.map */ diff --git a/main.css.map b/main.css.map index 159053a..5ac1085 100644 --- a/main.css.map +++ b/main.css.map @@ -1,8 +1,8 @@ { "version": 3, "sources": ["../node_modules/.pnpm/sanitize.css@13.0.0/node_modules/sanitize.css/sanitize.css", "icons:index.css", "../src/style.css"], - "sourcesContent": ["/* Document\n * ========================================================================== */\n\n/**\n * 1. Add border box sizing in all browsers (opinionated).\n * 2. Backgrounds do not repeat by default (opinionated).\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n background-repeat: no-repeat; /* 2 */\n}\n\n/**\n * 1. Add text decoration inheritance in all browsers (opinionated).\n * 2. Add vertical alignment inheritance in all browsers (opinionated).\n */\n\n::before,\n::after {\n text-decoration: inherit; /* 1 */\n vertical-align: inherit; /* 2 */\n}\n\n/**\n * 1. Use the default cursor in all browsers (opinionated).\n * 2. Change the line height in all browsers (opinionated).\n * 3. Breaks words to prevent overflow in all browsers (opinionated).\n * 4. Use a 4-space tab width in all browsers (opinionated).\n * 5. Remove the grey highlight on links in iOS (opinionated).\n * 6. Prevent adjustments of font size after orientation changes in iOS.\n */\n\n:where(:root) {\n cursor: default; /* 1 */\n line-height: 1.5; /* 2 */\n overflow-wrap: break-word; /* 3 */\n -moz-tab-size: 4; /* 4 */\n tab-size: 4; /* 4 */\n -webkit-tap-highlight-color: transparent; /* 5 */\n -webkit-text-size-adjust: 100%; /* 6 */\n}\n\n/* Sections\n * ========================================================================== */\n\n/**\n * Remove the margin in all browsers (opinionated).\n */\n\n:where(body) {\n margin: 0;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Edge, Firefox, and Safari.\n */\n\n:where(h1) {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n * ========================================================================== */\n\n/**\n * Remove the margin on nested lists in Chrome, Edge, and Safari.\n */\n\n:where(dl, ol, ul) :where(dl, ol, ul) {\n margin: 0;\n}\n\n/**\n * 1. Correct the inheritance of border color in Firefox.\n * 2. Add the correct box sizing in Firefox.\n */\n\n:where(hr) {\n color: inherit; /* 1 */\n height: 0; /* 2 */\n}\n\n/**\n * Remove the list style on navigation lists in all browsers (opinionated).\n */\n\n:where(nav) :where(ol, ul) {\n list-style-type: none;\n padding: 0;\n}\n\n/**\n * Prevent VoiceOver from ignoring list semantics in Safari (opinionated).\n */\n\n:where(nav li)::before {\n content: \"\\200B\";\n float: left;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n * 3. Prevent overflow of the container in all browsers (opinionated).\n */\n\n:where(pre) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n overflow: auto; /* 3 */\n}\n\n/* Text-level semantics\n * ========================================================================== */\n\n/**\n * Add the correct text decoration in Safari.\n */\n\n:where(abbr[title]) {\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\n:where(b, strong) {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\n:where(code, kbd, samp) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\n:where(small) {\n font-size: 80%;\n}\n\n/* Embedded content\n * ========================================================================== */\n\n/*\n * Change the alignment on media elements in all browsers (opinionated).\n */\n\n:where(audio, canvas, iframe, img, svg, video) {\n vertical-align: middle;\n}\n\n/**\n * Remove the border on iframes in all browsers (opinionated).\n */\n\n:where(iframe) {\n border-style: none;\n}\n\n/**\n * Change the fill color to match the text color in all browsers (opinionated).\n */\n\n:where(svg:not([fill])) {\n fill: currentColor;\n}\n\n/* Tabular data\n * ========================================================================== */\n\n/**\n * 1. Collapse border spacing in all browsers (opinionated).\n * 2. Correct table border color inheritance in all Chrome, Edge, and Safari.\n * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.\n */\n\n:where(table) {\n border-collapse: collapse; /* 1 */\n border-color: inherit; /* 2 */\n text-indent: 0; /* 3 */\n}\n\n/* Forms\n * ========================================================================== */\n\n/**\n * Remove the margin on controls in Safari.\n */\n\n:where(button, input, select) {\n margin: 0;\n}\n\n/**\n * Correct the inability to style buttons in iOS and Safari.\n */\n\n:where(button, [type=\"button\" i], [type=\"reset\" i], [type=\"submit\" i]) {\n -webkit-appearance: button;\n}\n\n/**\n * Change the inconsistent appearance in all browsers (opinionated).\n */\n\n:where(fieldset) {\n border: 1px solid #a0a0a0;\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Edge, and Firefox.\n */\n\n:where(progress) {\n vertical-align: baseline;\n}\n\n/**\n * 1. Remove the margin in Firefox and Safari.\n * 3. Change the resize direction in all browsers (opinionated).\n */\n\n:where(textarea) {\n margin: 0; /* 1 */\n resize: vertical; /* 3 */\n}\n\n/**\n * 1. Correct the odd appearance in Chrome, Edge, and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n:where([type=\"search\" i]) {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Safari.\n */\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * Correct the text style of placeholders in Chrome, Edge, and Safari.\n */\n\n::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n\n/**\n * Remove the inner padding in Chrome, Edge, and Safari on macOS.\n */\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style upload buttons in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n * ========================================================================== */\n\n/*\n * Add the correct styles in Safari.\n */\n\n:where(dialog) {\n background-color: white;\n border: solid;\n color: black;\n height: -moz-fit-content;\n height: fit-content;\n left: 0;\n margin: auto;\n padding: 1em;\n position: absolute;\n right: 0;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n:where(dialog:not([open])) {\n display: none;\n}\n\n/*\n * Add the correct display in Safari.\n */\n\n:where(details > summary:first-of-type) {\n display: list-item;\n}\n\n/* Accessibility\n * ========================================================================== */\n\n/**\n * Change the cursor on busy elements in all browsers (opinionated).\n */\n\n:where([aria-busy=\"true\" i]) {\n cursor: progress;\n}\n\n/*\n * Change the cursor on control elements in all browsers (opinionated).\n */\n\n:where([aria-controls]) {\n cursor: pointer;\n}\n\n/*\n * Change the cursor on disabled, not-editable, or otherwise\n * inoperable elements in all browsers (opinionated).\n */\n\n:where([aria-disabled=\"true\" i], [disabled]) {\n cursor: not-allowed;\n}\n\n/*\n * Change the display on visually hidden accessible elements\n * in all browsers (opinionated).\n */\n\n:where([aria-hidden=\"false\" i][hidden]) {\n display: initial;\n}\n\n:where([aria-hidden=\"false\" i][hidden]:not(:focus)) {\n clip: rect(0, 0, 0, 0);\n position: absolute;\n}\n", ".i-mdi-file-plus-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2M23 18h-3v-3h-2v3h-3v2h3v3h2v-3h3z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant-closed-plus {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13 19.3v-6.7l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm8 4.2v3h3v2h-3v3h-2v-3h-3v-2h3v-3z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-logos-vitejs {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n background: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 257' width='1em' height='1em' %3E%3Cdefs%3E%3ClinearGradient id='logosVitejs0' x1='-.828%25' x2='57.636%25' y1='7.652%25' y2='78.411%25'%3E%3Cstop offset='0%25' stop-color='%2341D1FF'/%3E%3Cstop offset='100%25' stop-color='%23BD34FE'/%3E%3C/linearGradient%3E%3ClinearGradient id='logosVitejs1' x1='43.376%25' x2='50.316%25' y1='2.242%25' y2='89.03%25'%3E%3Cstop offset='0%25' stop-color='%23FFEA83'/%3E%3Cstop offset='8.333%25' stop-color='%23FFDD35'/%3E%3Cstop offset='100%25' stop-color='%23FFA800'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23logosVitejs0)' d='M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62'/%3E%3Cpath fill='url(%23logosVitejs1)' d='M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113'/%3E%3C/svg%3E\") no-repeat;\n background-size: 100% 100%;\n background-color: transparent;\n}\n.i-mdi-magnify {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-checkbox-marked-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 19H5V5h10V3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8h-2m-11.09-.92L6.5 11.5L11 16L21 6l-1.41-1.42L11 13.17z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-checkbox-blank-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 2v14H5V5z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-close {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-loading {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-github {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-share-variant {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7c0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3a3 3 0 0 0-3-3a3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3a3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66c0 1.61 1.31 2.91 2.92 2.91c1.61 0 2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-moon-waxing-crescent {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2a9.91 9.91 0 0 0-3 .46a10 10 0 0 1 0 19.08A10 10 0 1 0 12 2'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-white-balance-sunny {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-download {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 20h14v-2H5m14-9h-4V3H9v6H5l7 7z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-magnify-expand {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16h-.58l-.81-.81A7.07 7.07 0 0 0 18 11c0-3.87-3.13-7-7-7c-1.5 0-3 .5-4.21 1.4c-3.09 2.32-3.72 6.71-1.4 9.8c2.32 3.09 6.71 3.72 9.8 1.4l.81.81V18l5 5l2-2zm-7 0c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5M3 6L1 8V1h7L6 3H3zm18-5v7l-2-2V3h-3l-2-2zM6 19l2 2H1v-7l2 2v3z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant-closed-check {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2c-.2 0-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2v-6.7l6-3.4V13c.7 0 1.4.1 2 .3V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2m0 2.2l6 3.3l-2 1.1l-5.9-3.4zM8.1 6.3L14 9.8l-2 1.1l-6-3.4zM5 9.2l6 3.4v6.7l-6-3.4zm16.3 6.6l-3.6 3.6l-1.6-1.6L15 19l2.8 3l4.8-4.8z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-eye-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 10.96a.985.985 0 0 1-.37-1.37L3.13 7c.11-.2.28-.34.47-.42l7.83-4.4c.16-.12.36-.18.57-.18c.21 0 .41.06.57.18l7.9 4.44c.19.1.35.26.44.46l1.45 2.52c.28.48.11 1.09-.36 1.36l-1 .58v4.96c0 .38-.21.71-.53.88l-7.9 4.44c-.16.12-.36.18-.57.18c-.21 0-.41-.06-.57-.18l-7.9-4.44A.991.991 0 0 1 3 16.5v-5.54c-.3.17-.68.18-1 0m10-6.81v6.7l5.96-3.35zM5 15.91l6 3.38v-6.71L5 9.21zm14 0v-3.22l-5 2.9c-.33.18-.7.17-1 .01v3.69zm-5.15-2.55l6.28-3.63l-.58-1.01l-6.28 3.63z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant-closed-remove {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m13 12.6l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm4.9 4.7l2.1 2.1l2.1-2.1l1.4 1.4l-2.1 2.1l2.1 2.1l-1.4 1.4l-2.1-2.1l-2.1 2.1l-1.4-1.4l2.1-2.1l-2.1-2.1z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-plus {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-file-remove-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2m8.73-.88L20.41 19l2.13-2.12l-1.42-1.41L19 17.59l-2.12-2.12l-1.41 1.41L17.59 19l-2.12 2.12l1.41 1.42L19 20.41l2.12 2.13z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-bash {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 9h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H15v2h-1.9l-.2 2H15v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H5v-2h1.9l.2-2H5zm4.1 2l-.2 2h2l.2-2M19 6h-2v8h2m0 2h-2v2h2Z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-code-json {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 3h2v2H5v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2 2 0 0 0-2-2H0v-2h1a2 2 0 0 0 2-2V5a2 2 0 0 1 2-2m14 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2a2 2 0 0 1-2-2V5h-2V3zm-7 12a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m8 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-reload {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 12a9 9 0 0 0 9 9c2.39 0 4.68-.94 6.4-2.6l-1.5-1.5A6.706 6.706 0 0 1 11 19c-6.24 0-9.36-7.54-4.95-11.95C10.46 2.64 18 5.77 18 12h-3l4 4h.1l3.9-4h-3a9 9 0 0 0-18 0'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n", "@import 'sanitize.css';\n@import 'icons.css';\n\n:where(:root) {\n tab-size: 2;\n}\n\nhtml {\n --code-font: 13px/18px 'Noto Sans Mono', monospace;\n --active: #ffcf00;\n --error: #e24834;\n --pre: rgba(127, 127, 127, 0.1);\n --border: rgba(127, 127, 127, 0.5);\n}\n\nhtml:not([data-theme='dark']) {\n --bg: #fff;\n --fg-on: #000;\n --fg: #555;\n --pre-dim: #777;\n --pre-val: #870;\n}\n\nhtml[data-theme='dark'] {\n color-scheme: dark;\n --bg: #191919;\n --fg-on: #ddd;\n --fg: #aaa;\n --pre-dim: #999;\n --pre-val: #cb8;\n}\n\n@media (prefers-color-scheme: dark) {\n html:not([data-theme='light']) {\n color-scheme: dark;\n --bg: #191919;\n --fg-on: #ddd;\n --fg: #aaa;\n --pre-dim: #999;\n --pre-val: #cb8;\n }\n}\n\nbody {\n font: 16px/20px sans-serif;\n background: var(--bg);\n color: var(--fg);\n}\n\nhtml,\nbody,\n#app {\n height: 100%;\n}\n\na {\n color: inherit;\n}\n\n.hljs-comment,\n.hljs-keyword,\n.hljs-literal {\n color: var(--pre-dim);\n}\n\n.hljs-regexp,\n.hljs-string,\n.hljs-number,\n.hljs-tag {\n color: var(--pre-val);\n}\n\n.color-bold {\n font-weight: bold;\n color: var(--fg-on);\n}\n.bg-red {\n background: #e24834;\n}\n.color-red {\n color: #e24834;\n}\n.bg-yellow {\n background: #f2d42d;\n}\n.color-yellow {\n color: #f2d42d;\n}\n.color-green {\n color: #58a549;\n}\n.color-black {\n color: #000;\n}\n.color-white {\n color: #fff;\n}\n.color-dim {\n color: #777;\n}\n.color-magenta {\n color: #8e69c9;\n}\n"], - "mappings": "AAQA,EACA,QACA,OACE,WAAY,WACZ,kBAAmB,SACrB,CAOA,QACA,OACE,gBAAiB,QACjB,eAAgB,OAClB,CAWA,OAAO,OACL,OAAQ,QACR,YAAa,IACb,cAAe,WACf,cAAe,EACf,SAAU,EACV,4BAA6B,YAC7B,yBAA0B,IAC5B,CASA,OAAO,MApDP,OAqDU,CACV,CAOA,OAAO,IACL,UAAW,IA9Db,OA+DU,MAAO,CACjB,CASA,OAAO,GAAI,GAAI,IAAI,OAAO,GAAI,GAAI,IAzElC,OA0EU,CACV,CAOA,OAAO,IACL,MAAO,QACP,OAAQ,CACV,CAMA,OAAO,KAAK,OAAO,GAAI,IACrB,gBAAiB,KA5FnB,QA6FW,CACX,CAMA,OAAO,IAAI,GAAG,QACZ,QAAS,QACT,MAAO,IACT,CAQA,OAAO,KACL,YAAa,SAAS,CAAE,UACxB,UAAW,IACX,SAAU,IACZ,CASA,OAAO,IAAI,CAAC,QACV,gBAAiB,UACjB,gBAAiB,UAAU,MAC7B,CAMA,OAAO,EAAG,QACR,YAAa,MACf,CAOA,OAAO,KAAM,IAAK,MAChB,YAAa,SAAS,CAAE,UACxB,UAAW,GACb,CAMA,OAAO,OACL,UAAW,GACb,CASA,OAAO,MAAO,OAAQ,OAAQ,IAAK,IAAK,OACtC,eAAgB,MAClB,CAMA,OAAO,QACL,aAAc,IAChB,CAMA,OAAO,GAAG,KAAK,CAAC,QACd,KAAM,YACR,CAWA,OAAO,OACL,gBAAiB,SACjB,aAAc,QACd,YAAa,CACf,CASA,OAAO,OAAQ,MAAO,QA5MtB,OA6MU,CACV,CAMA,OAAO,OAAQ,CAAC,eAAkB,CAAC,cAAiB,CAAC,gBACnD,mBAAoB,MACtB,CAMA,OAAO,UACL,OAAQ,IAAI,MAAM,OACpB,CAMA,OAAO,UACL,eAAgB,QAClB,CAOA,OAAO,UA7OP,OA8OU,EACR,OAAQ,QACV,CAOA,OAAO,CAAC,gBACN,mBAAoB,UACpB,eAAgB,IAClB,CAMA,4BACA,4BACE,OAAQ,IACV,CAMA,4BACE,MAAO,QACP,QAAS,GACX,CAMA,4BACE,mBAAoB,IACtB,CAOA,6BACE,mBAAoB,OACpB,KAAM,OACR,CASA,OAAO,QACL,iBAAkB,KAClB,OAAQ,MACR,MAAO,KACP,OAAQ,iBACR,OAAQ,YACR,KAAM,EA7SR,OA8SU,KA9SV,QA+SW,IACT,SAAU,SACV,MAAO,EACP,MAAO,iBACP,MAAO,WACT,CAEA,OAAO,MAAM,KAAK,CAAC,QACjB,QAAS,IACX,CAMA,OAAO,OAAQ,CAAE,OAAO,gBACtB,QAAS,SACX,CASA,OAAO,CAAC,mBACN,OAAQ,QACV,CAMA,OAAO,CAAC,gBACN,OAAQ,OACV,CAOA,OAAO,CAAC,sBAAyB,CAAC,WAChC,OAAQ,WACV,CAOA,OAAO,CAAC,oBAAsB,CAAC,SAC7B,QAAS,OACX,CAEA,OAAO,CAAC,oBAAsB,CAAC,OAAO,KAAK,SACzC,KAAM,KAAK,CAAC,CAAE,CAAC,CAAE,CAAC,CAAE,GACpB,SAAU,QACZ,CC1WA,CAAC,wBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,4UACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,kCACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,8dACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,eACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,WAAY,i2CAAi2C,UAC72C,gBAAiB,KAAK,KACtB,iBAAkB,WACpB,CACA,CAAC,cACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+XACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,8BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,uSACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,6BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+PACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,YACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,6QACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,cACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,gNACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,aACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,4tBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,oBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,qhBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,2BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,wOACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,0BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,obACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,eACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,0MACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,qBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,8bACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,mCACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+eACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,kBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,2XACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,sBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,6mBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,oCACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,6hBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,WACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,yMACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,0BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,kaACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,WACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,2UACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,gBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+kBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,aACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,4UACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CCnSA,OAAO,OACL,SAAU,CACZ,CAEA,KACE,aAAa,IAAI,CAAC,KAAK,gBAAgB,EAAE,UACzC,UAAU,QACV,SAAS,QACT,OAAO,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAC3B,UAAU,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAChC,CAEA,IAAI,KAAK,CAAC,kBACR,MAAM,KACN,SAAS,KACT,MAAM,KACN,WAAW,KACX,WAAW,IACb,CAEA,IAAI,CAAC,iBACH,aAAc,KACd,MAAM,QACN,SAAS,KACT,MAAM,KACN,WAAW,KACX,WAAW,IACb,CAEA,OAAO,CAAC,oBAAoB,EAAE,MAC5B,IAAI,KAAK,CAAC,mBACR,aAAc,KACd,MAAM,QACN,SAAS,KACT,MAAM,KACN,WAAW,KACX,WAAW,IACb,CACF,CAEA,KACE,KAAM,IAAI,CAAC,KAAK,WAChB,WAAY,IAAI,MAChB,MAAO,IAAI,KACb,CAEA,KACA,KACA,CAAC,IACC,OAAQ,IACV,CAEA,EACE,MAAO,OACT,CAEA,CAAC,aACD,CAAC,aACD,CAAC,aACC,MAAO,IAAI,UACb,CAEA,CAAC,YACD,CAAC,YACD,CAAC,YACD,CAAC,SACC,MAAO,IAAI,UACb,CAEA,CAAC,WACC,YAAa,IACb,MAAO,IAAI,QACb,CACA,CAAC,OACC,WAAY,OACd,CACA,CAAC,UACC,MAAO,OACT,CACA,CAAC,UACC,WAAY,OACd,CACA,CAAC,aACC,MAAO,OACT,CACA,CAAC,YACC,MAAO,OACT,CACA,CAAC,YACC,MAAO,IACT,CACA,CAAC,YACC,MAAO,IACT,CACA,CAAC,UACC,MAAO,IACT,CACA,CAAC,cACC,MAAO,OACT", + "sourcesContent": ["/* Document\n * ========================================================================== */\n\n/**\n * 1. Add border box sizing in all browsers (opinionated).\n * 2. Backgrounds do not repeat by default (opinionated).\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n background-repeat: no-repeat; /* 2 */\n}\n\n/**\n * 1. Add text decoration inheritance in all browsers (opinionated).\n * 2. Add vertical alignment inheritance in all browsers (opinionated).\n */\n\n::before,\n::after {\n text-decoration: inherit; /* 1 */\n vertical-align: inherit; /* 2 */\n}\n\n/**\n * 1. Use the default cursor in all browsers (opinionated).\n * 2. Change the line height in all browsers (opinionated).\n * 3. Breaks words to prevent overflow in all browsers (opinionated).\n * 4. Use a 4-space tab width in all browsers (opinionated).\n * 5. Remove the grey highlight on links in iOS (opinionated).\n * 6. Prevent adjustments of font size after orientation changes in iOS.\n */\n\n:where(:root) {\n cursor: default; /* 1 */\n line-height: 1.5; /* 2 */\n overflow-wrap: break-word; /* 3 */\n -moz-tab-size: 4; /* 4 */\n tab-size: 4; /* 4 */\n -webkit-tap-highlight-color: transparent; /* 5 */\n -webkit-text-size-adjust: 100%; /* 6 */\n}\n\n/* Sections\n * ========================================================================== */\n\n/**\n * Remove the margin in all browsers (opinionated).\n */\n\n:where(body) {\n margin: 0;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Edge, Firefox, and Safari.\n */\n\n:where(h1) {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n * ========================================================================== */\n\n/**\n * Remove the margin on nested lists in Chrome, Edge, and Safari.\n */\n\n:where(dl, ol, ul) :where(dl, ol, ul) {\n margin: 0;\n}\n\n/**\n * 1. Correct the inheritance of border color in Firefox.\n * 2. Add the correct box sizing in Firefox.\n */\n\n:where(hr) {\n color: inherit; /* 1 */\n height: 0; /* 2 */\n}\n\n/**\n * Remove the list style on navigation lists in all browsers (opinionated).\n */\n\n:where(nav) :where(ol, ul) {\n list-style-type: none;\n padding: 0;\n}\n\n/**\n * Prevent VoiceOver from ignoring list semantics in Safari (opinionated).\n */\n\n:where(nav li)::before {\n content: \"\\200B\";\n float: left;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n * 3. Prevent overflow of the container in all browsers (opinionated).\n */\n\n:where(pre) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n overflow: auto; /* 3 */\n}\n\n/* Text-level semantics\n * ========================================================================== */\n\n/**\n * Add the correct text decoration in Safari.\n */\n\n:where(abbr[title]) {\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\n:where(b, strong) {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\n:where(code, kbd, samp) {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\n:where(small) {\n font-size: 80%;\n}\n\n/* Embedded content\n * ========================================================================== */\n\n/*\n * Change the alignment on media elements in all browsers (opinionated).\n */\n\n:where(audio, canvas, iframe, img, svg, video) {\n vertical-align: middle;\n}\n\n/**\n * Remove the border on iframes in all browsers (opinionated).\n */\n\n:where(iframe) {\n border-style: none;\n}\n\n/**\n * Change the fill color to match the text color in all browsers (opinionated).\n */\n\n:where(svg:not([fill])) {\n fill: currentColor;\n}\n\n/* Tabular data\n * ========================================================================== */\n\n/**\n * 1. Collapse border spacing in all browsers (opinionated).\n * 2. Correct table border color inheritance in all Chrome, Edge, and Safari.\n * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.\n */\n\n:where(table) {\n border-collapse: collapse; /* 1 */\n border-color: inherit; /* 2 */\n text-indent: 0; /* 3 */\n}\n\n/* Forms\n * ========================================================================== */\n\n/**\n * Remove the margin on controls in Safari.\n */\n\n:where(button, input, select) {\n margin: 0;\n}\n\n/**\n * Correct the inability to style buttons in iOS and Safari.\n */\n\n:where(button, [type=\"button\" i], [type=\"reset\" i], [type=\"submit\" i]) {\n -webkit-appearance: button;\n}\n\n/**\n * Change the inconsistent appearance in all browsers (opinionated).\n */\n\n:where(fieldset) {\n border: 1px solid #a0a0a0;\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Edge, and Firefox.\n */\n\n:where(progress) {\n vertical-align: baseline;\n}\n\n/**\n * 1. Remove the margin in Firefox and Safari.\n * 3. Change the resize direction in all browsers (opinionated).\n */\n\n:where(textarea) {\n margin: 0; /* 1 */\n resize: vertical; /* 3 */\n}\n\n/**\n * 1. Correct the odd appearance in Chrome, Edge, and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n:where([type=\"search\" i]) {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Safari.\n */\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * Correct the text style of placeholders in Chrome, Edge, and Safari.\n */\n\n::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n\n/**\n * Remove the inner padding in Chrome, Edge, and Safari on macOS.\n */\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style upload buttons in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n * ========================================================================== */\n\n/*\n * Add the correct styles in Safari.\n */\n\n:where(dialog) {\n background-color: white;\n border: solid;\n color: black;\n height: -moz-fit-content;\n height: fit-content;\n left: 0;\n margin: auto;\n padding: 1em;\n position: absolute;\n right: 0;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n:where(dialog:not([open])) {\n display: none;\n}\n\n/*\n * Add the correct display in Safari.\n */\n\n:where(details > summary:first-of-type) {\n display: list-item;\n}\n\n/* Accessibility\n * ========================================================================== */\n\n/**\n * Change the cursor on busy elements in all browsers (opinionated).\n */\n\n:where([aria-busy=\"true\" i]) {\n cursor: progress;\n}\n\n/*\n * Change the cursor on control elements in all browsers (opinionated).\n */\n\n:where([aria-controls]) {\n cursor: pointer;\n}\n\n/*\n * Change the cursor on disabled, not-editable, or otherwise\n * inoperable elements in all browsers (opinionated).\n */\n\n:where([aria-disabled=\"true\" i], [disabled]) {\n cursor: not-allowed;\n}\n\n/*\n * Change the display on visually hidden accessible elements\n * in all browsers (opinionated).\n */\n\n:where([aria-hidden=\"false\" i][hidden]) {\n display: initial;\n}\n\n:where([aria-hidden=\"false\" i][hidden]:not(:focus)) {\n clip: rect(0, 0, 0, 0);\n position: absolute;\n}\n", ".i-mdi-file-plus-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2M23 18h-3v-3h-2v3h-3v2h3v3h2v-3h3z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant-closed-plus {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13 19.3v-6.7l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm8 4.2v3h3v2h-3v3h-2v-3h-3v-2h3v-3z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-checkbox-marked-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 19H5V5h10V3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8h-2m-11.09-.92L6.5 11.5L11 16L21 6l-1.41-1.42L11 13.17z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-checkbox-blank-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 3H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 2v14H5V5z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-close {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-logos-vitejs {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n background: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 257' width='1em' height='1em' %3E%3Cdefs%3E%3ClinearGradient id='logosVitejs0' x1='-.828%25' x2='57.636%25' y1='7.652%25' y2='78.411%25'%3E%3Cstop offset='0%25' stop-color='%2341D1FF'/%3E%3Cstop offset='100%25' stop-color='%23BD34FE'/%3E%3C/linearGradient%3E%3ClinearGradient id='logosVitejs1' x1='43.376%25' x2='50.316%25' y1='2.242%25' y2='89.03%25'%3E%3Cstop offset='0%25' stop-color='%23FFEA83'/%3E%3Cstop offset='8.333%25' stop-color='%23FFDD35'/%3E%3Cstop offset='100%25' stop-color='%23FFA800'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23logosVitejs0)' d='M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62'/%3E%3Cpath fill='url(%23logosVitejs1)' d='M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113'/%3E%3C/svg%3E\") no-repeat;\n background-size: 100% 100%;\n background-color: transparent;\n}\n.i-mdi-magnify {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-loading {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-github {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-share-variant {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7c0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3a3 3 0 0 0-3-3a3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3a3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66c0 1.61 1.31 2.91 2.92 2.91c1.61 0 2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-moon-waxing-crescent {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2a9.91 9.91 0 0 0-3 .46a10 10 0 0 1 0 19.08A10 10 0 1 0 12 2'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-white-balance-sunny {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-download {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 20h14v-2H5m14-9h-4V3H9v6H5l7 7z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-magnify-expand {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M18 16h-.58l-.81-.81A7.07 7.07 0 0 0 18 11c0-3.87-3.13-7-7-7c-1.5 0-3 .5-4.21 1.4c-3.09 2.32-3.72 6.71-1.4 9.8c2.32 3.09 6.71 3.72 9.8 1.4l.81.81V18l5 5l2-2zm-7 0c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5M3 6L1 8V1h7L6 3H3zm18-5v7l-2-2V3h-3l-2-2zM6 19l2 2H1v-7l2 2v3z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant-closed-check {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 2c-.2 0-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2v-6.7l6-3.4V13c.7 0 1.4.1 2 .3V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2m0 2.2l6 3.3l-2 1.1l-5.9-3.4zM8.1 6.3L14 9.8l-2 1.1l-6-3.4zM5 9.2l6 3.4v6.7l-6-3.4zm16.3 6.6l-3.6 3.6l-1.6-1.6L15 19l2.8 3l4.8-4.8z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-eye-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 10.96a.985.985 0 0 1-.37-1.37L3.13 7c.11-.2.28-.34.47-.42l7.83-4.4c.16-.12.36-.18.57-.18c.21 0 .41.06.57.18l7.9 4.44c.19.1.35.26.44.46l1.45 2.52c.28.48.11 1.09-.36 1.36l-1 .58v4.96c0 .38-.21.71-.53.88l-7.9 4.44c-.16.12-.36.18-.57.18c-.21 0-.41-.06-.57-.18l-7.9-4.44A.991.991 0 0 1 3 16.5v-5.54c-.3.17-.68.18-1 0m10-6.81v6.7l5.96-3.35zM5 15.91l6 3.38v-6.71L5 9.21zm14 0v-3.22l-5 2.9c-.33.18-.7.17-1 .01v3.69zm-5.15-2.55l6.28-3.63l-.58-1.01l-6.28 3.63z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-package-variant-closed-remove {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='m13 12.6l6-3.4V13c.7 0 1.4.1 2 .4V7.5c0-.4-.2-.7-.5-.9l-7.9-4.4c-.2-.1-.4-.2-.6-.2s-.4.1-.6.2L3.5 6.6c-.3.2-.5.5-.5.9v9c0 .4.2.7.5.9l7.9 4.4c.2.1.4.2.6.2s.4-.1.6-.2l.9-.5c-.3-.6-.4-1.3-.5-2M12 4.2l6 3.3l-2 1.1l-5.9-3.4zm-1 15.1l-6-3.4V9.2l6 3.4zm1-8.5L6 7.5l2-1.2l6 3.5zm4.9 4.7l2.1 2.1l2.1-2.1l1.4 1.4l-2.1 2.1l2.1 2.1l-1.4 1.4l-2.1-2.1l-2.1 2.1l-1.4-1.4l2.1-2.1l-2.1-2.1z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-plus {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-file-remove-outline {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M13.81 22H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h8l6 6v5.09c-.33-.05-.66-.09-1-.09s-.67.04-1 .09V9h-5V4H6v16h7.09c.12.72.37 1.39.72 2m8.73-.88L20.41 19l2.13-2.12l-1.42-1.41L19 17.59l-2.12-2.12l-1.41 1.41L17.59 19l-2.12 2.12l1.41 1.42L19 20.41l2.12 2.13z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-bash {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 9h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H15v2h-1.9l-.2 2H15v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H5v-2h1.9l.2-2H5zm4.1 2l-.2 2h2l.2-2M19 6h-2v8h2m0 2h-2v2h2Z'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-code-json {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M5 3h2v2H5v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2 2 0 0 0-2-2H0v-2h1a2 2 0 0 0 2-2V5a2 2 0 0 1 2-2m14 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2a2 2 0 0 1-2-2V5h-2V3zm-7 12a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m8 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n.i-mdi-reload {\n width: 1em;\n height: 1em;\n display: inline-block;\n vertical-align: middle;\n --icon: url(\"data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath fill='currentColor' d='M2 12a9 9 0 0 0 9 9c2.39 0 4.68-.94 6.4-2.6l-1.5-1.5A6.706 6.706 0 0 1 11 19c-6.24 0-9.36-7.54-4.95-11.95C10.46 2.64 18 5.77 18 12h-3l4 4h.1l3.9-4h-3a9 9 0 0 0-18 0'/%3E%3C/svg%3E\");\n -webkit-mask: var(--icon) no-repeat;\n mask: var(--icon) no-repeat;\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n background-color: currentColor;\n color: inherit;\n}\n", "@import 'sanitize.css';\n@import 'icons.css';\n\n:where(:root) {\n tab-size: 2;\n}\n\nhtml {\n --code-font: 13px/18px 'Noto Sans Mono', monospace;\n --active: #ffcf00;\n --error: #e24834;\n --pre: rgba(127, 127, 127, 0.1);\n --border: rgba(127, 127, 127, 0.5);\n}\n\nhtml:not([data-theme='dark']) {\n --bg: #fff;\n --fg-on: #000;\n --fg: #555;\n --pre-dim: #777;\n --pre-val: #870;\n}\n\nhtml[data-theme='dark'] {\n color-scheme: dark;\n --bg: #191919;\n --fg-on: #ddd;\n --fg: #aaa;\n --pre-dim: #999;\n --pre-val: #cb8;\n}\n\n@media (prefers-color-scheme: dark) {\n html:not([data-theme='light']) {\n color-scheme: dark;\n --bg: #191919;\n --fg-on: #ddd;\n --fg: #aaa;\n --pre-dim: #999;\n --pre-val: #cb8;\n }\n}\n\nbody {\n font: 16px/20px sans-serif;\n background: var(--bg);\n color: var(--fg);\n}\n\nhtml,\nbody,\n#app {\n height: 100%;\n}\n\na {\n color: inherit;\n}\n\n.hljs-comment,\n.hljs-keyword,\n.hljs-literal {\n color: var(--pre-dim);\n}\n\n.hljs-regexp,\n.hljs-string,\n.hljs-number,\n.hljs-tag {\n color: var(--pre-val);\n}\n\n.color-bold {\n font-weight: bold;\n color: var(--fg-on);\n}\n.bg-red {\n background: #e24834;\n}\n.color-red {\n color: #e24834;\n}\n.bg-yellow {\n background: #f2d42d;\n}\n.color-yellow {\n color: #f2d42d;\n}\n.color-green {\n color: #58a549;\n}\n.color-black {\n color: #000;\n}\n.color-white {\n color: #fff;\n}\n.color-dim {\n color: #777;\n}\n.color-magenta {\n color: #8e69c9;\n}\n"], + "mappings": "AAQA,EACA,QACA,OACE,WAAY,WACZ,kBAAmB,SACrB,CAOA,QACA,OACE,gBAAiB,QACjB,eAAgB,OAClB,CAWA,OAAO,OACL,OAAQ,QACR,YAAa,IACb,cAAe,WACf,cAAe,EACf,SAAU,EACV,4BAA6B,YAC7B,yBAA0B,IAC5B,CASA,OAAO,MApDP,OAqDU,CACV,CAOA,OAAO,IACL,UAAW,IA9Db,OA+DU,MAAO,CACjB,CASA,OAAO,GAAI,GAAI,IAAI,OAAO,GAAI,GAAI,IAzElC,OA0EU,CACV,CAOA,OAAO,IACL,MAAO,QACP,OAAQ,CACV,CAMA,OAAO,KAAK,OAAO,GAAI,IACrB,gBAAiB,KA5FnB,QA6FW,CACX,CAMA,OAAO,IAAI,GAAG,QACZ,QAAS,QACT,MAAO,IACT,CAQA,OAAO,KACL,YAAa,SAAS,CAAE,UACxB,UAAW,IACX,SAAU,IACZ,CASA,OAAO,IAAI,CAAC,QACV,gBAAiB,UACjB,gBAAiB,UAAU,MAC7B,CAMA,OAAO,EAAG,QACR,YAAa,MACf,CAOA,OAAO,KAAM,IAAK,MAChB,YAAa,SAAS,CAAE,UACxB,UAAW,GACb,CAMA,OAAO,OACL,UAAW,GACb,CASA,OAAO,MAAO,OAAQ,OAAQ,IAAK,IAAK,OACtC,eAAgB,MAClB,CAMA,OAAO,QACL,aAAc,IAChB,CAMA,OAAO,GAAG,KAAK,CAAC,QACd,KAAM,YACR,CAWA,OAAO,OACL,gBAAiB,SACjB,aAAc,QACd,YAAa,CACf,CASA,OAAO,OAAQ,MAAO,QA5MtB,OA6MU,CACV,CAMA,OAAO,OAAQ,CAAC,eAAkB,CAAC,cAAiB,CAAC,gBACnD,mBAAoB,MACtB,CAMA,OAAO,UACL,OAAQ,IAAI,MAAM,OACpB,CAMA,OAAO,UACL,eAAgB,QAClB,CAOA,OAAO,UA7OP,OA8OU,EACR,OAAQ,QACV,CAOA,OAAO,CAAC,gBACN,mBAAoB,UACpB,eAAgB,IAClB,CAMA,4BACA,4BACE,OAAQ,IACV,CAMA,4BACE,MAAO,QACP,QAAS,GACX,CAMA,4BACE,mBAAoB,IACtB,CAOA,6BACE,mBAAoB,OACpB,KAAM,OACR,CASA,OAAO,QACL,iBAAkB,KAClB,OAAQ,MACR,MAAO,KACP,OAAQ,iBACR,OAAQ,YACR,KAAM,EA7SR,OA8SU,KA9SV,QA+SW,IACT,SAAU,SACV,MAAO,EACP,MAAO,iBACP,MAAO,WACT,CAEA,OAAO,MAAM,KAAK,CAAC,QACjB,QAAS,IACX,CAMA,OAAO,OAAQ,CAAE,OAAO,gBACtB,QAAS,SACX,CASA,OAAO,CAAC,mBACN,OAAQ,QACV,CAMA,OAAO,CAAC,gBACN,OAAQ,OACV,CAOA,OAAO,CAAC,sBAAyB,CAAC,WAChC,OAAQ,WACV,CAOA,OAAO,CAAC,oBAAsB,CAAC,SAC7B,QAAS,OACX,CAEA,OAAO,CAAC,oBAAsB,CAAC,OAAO,KAAK,SACzC,KAAM,KAAK,CAAC,CAAE,CAAC,CAAE,CAAC,CAAE,GACpB,SAAU,QACZ,CC1WA,CAAC,wBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,4UACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,kCACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,8dACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,8BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,uSACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,6BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+PACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,YACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,6QACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,eACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,WAAY,i2CAAi2C,UAC72C,gBAAiB,KAAK,KACtB,iBAAkB,WACpB,CACA,CAAC,cACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+XACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,cACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,gNACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,aACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,4tBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,oBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,qhBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,2BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,wOACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,0BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,obACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,eACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,0MACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,qBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,8bACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,mCACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+eACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,kBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,2XACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,sBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,6mBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,oCACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,6hBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,WACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,yMACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,0BACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,kaACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,WACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,2UACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,gBACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,+kBACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CACA,CAAC,aACC,MAAO,IACP,OAAQ,IACR,QAAS,aACT,eAAgB,OAChB,QAAQ,4UACR,aAAc,IAAI,QAAQ,UAC1B,KAAM,IAAI,QAAQ,UAClB,kBAAmB,KAAK,KACxB,UAAW,KAAK,KAChB,iBAAkB,aAClB,MAAO,OACT,CCnSA,OAAO,OACL,SAAU,CACZ,CAEA,KACE,aAAa,IAAI,CAAC,KAAK,gBAAgB,EAAE,UACzC,UAAU,QACV,SAAS,QACT,OAAO,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAC3B,UAAU,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAChC,CAEA,IAAI,KAAK,CAAC,kBACR,MAAM,KACN,SAAS,KACT,MAAM,KACN,WAAW,KACX,WAAW,IACb,CAEA,IAAI,CAAC,iBACH,aAAc,KACd,MAAM,QACN,SAAS,KACT,MAAM,KACN,WAAW,KACX,WAAW,IACb,CAEA,OAAO,CAAC,oBAAoB,EAAE,MAC5B,IAAI,KAAK,CAAC,mBACR,aAAc,KACd,MAAM,QACN,SAAS,KACT,MAAM,KACN,WAAW,KACX,WAAW,IACb,CACF,CAEA,KACE,KAAM,IAAI,CAAC,KAAK,WAChB,WAAY,IAAI,MAChB,MAAO,IAAI,KACb,CAEA,KACA,KACA,CAAC,IACC,OAAQ,IACV,CAEA,EACE,MAAO,OACT,CAEA,CAAC,aACD,CAAC,aACD,CAAC,aACC,MAAO,IAAI,UACb,CAEA,CAAC,YACD,CAAC,YACD,CAAC,YACD,CAAC,SACC,MAAO,IAAI,UACb,CAEA,CAAC,WACC,YAAa,IACb,MAAO,IAAI,QACb,CACA,CAAC,OACC,WAAY,OACd,CACA,CAAC,UACC,MAAO,OACT,CACA,CAAC,UACC,WAAY,OACd,CACA,CAAC,aACC,MAAO,OACT,CACA,CAAC,YACC,MAAO,OACT,CACA,CAAC,YACC,MAAO,IACT,CACA,CAAC,YACC,MAAO,IACT,CACA,CAAC,UACC,MAAO,IACT,CACA,CAAC,cACC,MAAO,OACT", "names": [], "x_google_ignoreList": [0] } diff --git a/main.js b/main.js index 2e544e2..3f74b81 100644 --- a/main.js +++ b/main.js @@ -1,16 +1,16 @@ -navigator.serviceWorker?.register("sw.js").then(t=>console.log("registered sw.js in scope:",t.scope)).catch(t=>console.log("failed to register sw.js:",t));function be(){if(!(this instanceof be))return new be;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var vt=window.document.documentElement,_i=vt.matches||vt.webkitMatchesSelector||vt.mozMatchesSelector||vt.oMatchesSelector||vt.msMatchesSelector;be.prototype.matchesSelector=function(t,e){return _i.call(t,e)};be.prototype.querySelectorAll=function(t,e){return e.querySelectorAll(t)};be.prototype.indexes=[];var gi=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;be.prototype.indexes.push({name:"ID",selector:function(e){var n;if(n=e.match(gi))return n[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var bi=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;be.prototype.indexes.push({name:"CLASS",selector:function(e){var n;if(n=e.match(bi))return n[0].slice(1)},element:function(e){var n=e.className;if(n){if(typeof n=="string")return n.split(/\s/);if(typeof n=="object"&&"baseVal"in n)return n.baseVal.split(/\s/)}}});var vi=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;be.prototype.indexes.push({name:"TAG",selector:function(e){var n;if(n=e.match(vi))return n[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}});be.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}};var fn;typeof window.Map=="function"?fn=window.Map:fn=function(){function t(){this.map={}}return t.prototype.get=function(e){return this.map[e+" "]},t.prototype.set=function(e,n){this.map[e+" "]=n},t}();var pr=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function dr(t,e){t=t.slice(0).concat(t.default);var n=t.length,r,o,i,s,c=e,a,l,u=[];do if(pr.exec(""),(i=pr.exec(c))&&(c=i[3],i[2]||!c)){for(r=0;r"u"?"undefined":Ci(e))==="object"?(n=e,n.selector=t):n=t;var r=this,o={id:Li++,selector:n.selector,initialize:n.initialize,add:n.add,remove:n.remove,subscribe:n.subscribe,elements:[],elementConstructor:n.hasOwnProperty("constructor")?n.constructor:this.ownerDocument.defaultView.Element,abort:function(){r._abortObserving(o)}};return this.selectorSet.add(o.selector,o),this.observers[o.id]=o,this._scheduleAddRootNodes(),o};xt.prototype._abortObserving=function(t){for(var e=t.elements,n=0;n0){let s=r.lastIndexOf(` +navigator.serviceWorker?.register("sw.js").then(t=>console.log("registered sw.js in scope:",t.scope)).catch(t=>console.log("failed to register sw.js:",t));function be(){if(!(this instanceof be))return new be;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var vt=window.document.documentElement,_i=vt.matches||vt.webkitMatchesSelector||vt.mozMatchesSelector||vt.oMatchesSelector||vt.msMatchesSelector;be.prototype.matchesSelector=function(t,e){return _i.call(t,e)};be.prototype.querySelectorAll=function(t,e){return e.querySelectorAll(t)};be.prototype.indexes=[];var gi=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;be.prototype.indexes.push({name:"ID",selector:function(e){var n;if(n=e.match(gi))return n[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var bi=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;be.prototype.indexes.push({name:"CLASS",selector:function(e){var n;if(n=e.match(bi))return n[0].slice(1)},element:function(e){var n=e.className;if(n){if(typeof n=="string")return n.split(/\s/);if(typeof n=="object"&&"baseVal"in n)return n.baseVal.split(/\s/)}}});var vi=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;be.prototype.indexes.push({name:"TAG",selector:function(e){var n;if(n=e.match(vi))return n[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}});be.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}};var fn;typeof window.Map=="function"?fn=window.Map:fn=function(){function t(){this.map={}}return t.prototype.get=function(e){return this.map[e+" "]},t.prototype.set=function(e,n){this.map[e+" "]=n},t}();var pr=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function dr(t,e){t=t.slice(0).concat(t.default);var n=t.length,r,o,i,s,c=e,a,l,u=[];do if(pr.exec(""),(i=pr.exec(c))&&(c=i[3],i[2]||!c)){for(r=0;r"u"?"undefined":Li(e))==="object"?(n=e,n.selector=t):n=t;var r=this,o={id:Ci++,selector:n.selector,initialize:n.initialize,add:n.add,remove:n.remove,subscribe:n.subscribe,elements:[],elementConstructor:n.hasOwnProperty("constructor")?n.constructor:this.ownerDocument.defaultView.Element,abort:function(){r._abortObserving(o)}};return this.selectorSet.add(o.selector,o),this.observers[o.id]=o,this._scheduleAddRootNodes(),o};xt.prototype._abortObserving=function(t){for(var e=t.elements,n=0;n0){let s=r.lastIndexOf(` `,e-1)+1,c=t.value.slice(s,n-1),a=c.replaceAll(/^|\n/g,"$& "),l=a.length-c.length;t.setSelectionRange(s,n-1),Ke(t,a),t.setSelectionRange(e+1,n+l)}else Ke(t," ")}function qi(t,e){let n=t.lastIndexOf(` `,e-1)+1;return t.charAt(n)!==" "?e:n+1}function Wi(t){let{selectionStart:e,selectionEnd:n,value:r}=t,o=r.lastIndexOf(` -`,e-1)+1,i=qi(r,n),s=t.value.slice(o,i),c=s.replaceAll(/(^|\n)(\t| {1,2})/g,"$1"),a=s.length-c.length;t.setSelectionRange(o,i),Ke(t,c);let l=/\t| {1,2}/.exec(r.slice(o,e)),u=l?l[0].length:0,d=e-u;t.setSelectionRange(e-u,Math.max(d,n-a))}function kr(t){if(t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey)return;let e=t.target;t.key==="Tab"?(t.shiftKey?Wi(e):Ji(e),t.preventDefault(),t.stopImmediatePropagation()):t.key==="Escape"&&!t.shiftKey&&(e.blur(),t.preventDefault(),t.stopImmediatePropagation())}function B(){}var st=t=>t;function Er(t,e){for(let n in e)t[n]=e[n];return t}function $r(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function bn(t){return t()}function Wt(){return Object.create(null)}function se(t){t.forEach(bn)}function Ee(t){return typeof t=="function"}function ne(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Sr(t){return Object.keys(t).length===0}function vn(t,...e){if(t==null){for(let r of e)r(void 0);return B}let n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function yn(t){let e;return vn(t,n=>e=n)(),e}function V(t,e,n){t.$$.on_destroy.push(vn(e,n))}function wt(t,e,n,r){if(t){let o=jr(t,e,n,r);return t[0](o)}}function jr(t,e,n,r){return t[1]&&r?Er(n.ctx.slice(),t[1](r(e))):n.ctx}function kt(t,e,n,r){if(t[2]&&r){let o=t[2](r(n));if(e.dirty===void 0)return o;if(typeof o=="object"){let i=[],s=Math.max(e.dirty.length,o.length);for(let c=0;c32){let e=[],n=t.ctx.length/32;for(let r=0;rwindow.performance.now():()=>Date.now(),St=Tr?t=>requestAnimationFrame(t):B;var lt=new Set;function Ir(t){lt.forEach(e=>{e.c(t)||(lt.delete(e),e.f())}),lt.size!==0&&St(Ir)}function wn(t){let e;return lt.size===0&&St(Ir),{promise:new Promise(n=>{lt.add(e={c:t,f:n})}),abort(){lt.delete(e)}}}var jt=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;var Vt=class t{_listeners="WeakMap"in jt?new WeakMap:void 0;_observer=void 0;options;constructor(e){this.options=e}observe(e,n){return this._listeners.set(e,n),this._getObserver().observe(e,this.options),()=>{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){return this._observer??(this._observer=new ResizeObserver(e=>{for(let n of e)t.entries.set(n.target,n),this._listeners.get(n.target)?.(n)}))}};Vt.entries="WeakMap"in jt?new WeakMap:void 0;var Ht=!1;function Cr(){Ht=!0}function Lr(){Ht=!1}function Hi(t,e,n,r){for(;t>1);n(o)<=r?t=o+1:e=o}return t}function Xi(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){let a=[];for(let l=0;l0&&e[n[o]].claim_order<=l?o+1:Hi(1,o,h=>e[n[h]].claim_order,l))-1;r[a]=n[u]+1;let d=u+1;n[d]=a,o=Math.max(d,o)}let i=[],s=[],c=e.length-1;for(let a=n[o]+1;a!=0;a=r[a-1]){for(i.push(e[a-1]);c>=a;c--)s.push(e[c]);c--}for(;c>=0;c--)s.push(e[c]);i.reverse(),s.sort((a,l)=>a.claim_order-l.claim_order);for(let a=0,l=0;a=i[l].claim_order;)l++;let u=lt.removeEventListener(e,n,r)}function _(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function re(t){return t.dataset.svelteH}function Fr(t){let e;return{p(...n){e=n,e.forEach(r=>t.push(r))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function I(t){return Array.from(t.childNodes)}function Rr(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Nr(t,e,n,r,o=!1){Rr(t);let i=(()=>{for(let s=t.claim_info.last_index;s=0;s--){let c=t[s];if(e(c)){let a=n(c);return a===void 0?t.splice(s,1):t[s]=a,o?a===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,c}}return r()})();return i.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,i}function Zi(t,e,n,r){return Nr(t,o=>o.nodeName===e,o=>{let i=[];for(let s=0;so.removeAttribute(s))},()=>r(e))}function $(t,e,n){return Zi(t,e,n,E)}function K(t,e){return Nr(t,n=>n.nodeType===3,n=>{let r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>H(e),!0)}function F(t){return K(t," ")}function Or(t,e,n){for(let r=n;r{e[n.slot||"default"]=!0}),e}var Zt=new Map,Gt=0;function Gi(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function Qi(t,e){let n={stylesheet:Ar(e),rules:{}};return Zt.set(t,n),n}function $n(t,e,n,r,o,i,s,c=0){let a=16.666/r,l=`{ +`,e-1)+1,i=qi(r,n),s=t.value.slice(o,i),c=s.replaceAll(/(^|\n)(\t| {1,2})/g,"$1"),a=s.length-c.length;t.setSelectionRange(o,i),Ke(t,c);let l=/\t| {1,2}/.exec(r.slice(o,e)),u=l?l[0].length:0,d=e-u;t.setSelectionRange(e-u,Math.max(d,n-a))}function kr(t){if(t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey)return;let e=t.target;t.key==="Tab"?(t.shiftKey?Wi(e):Ji(e),t.preventDefault(),t.stopImmediatePropagation()):t.key==="Escape"&&!t.shiftKey&&(e.blur(),t.preventDefault(),t.stopImmediatePropagation())}function B(){}var st=t=>t;function Er(t,e){for(let n in e)t[n]=e[n];return t}function $r(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function bn(t){return t()}function Wt(){return Object.create(null)}function se(t){t.forEach(bn)}function Ee(t){return typeof t=="function"}function ne(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Sr(t){return Object.keys(t).length===0}function vn(t,...e){if(t==null){for(let r of e)r(void 0);return B}let n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function yn(t){let e;return vn(t,n=>e=n)(),e}function V(t,e,n){t.$$.on_destroy.push(vn(e,n))}function wt(t,e,n,r){if(t){let o=jr(t,e,n,r);return t[0](o)}}function jr(t,e,n,r){return t[1]&&r?Er(n.ctx.slice(),t[1](r(e))):n.ctx}function kt(t,e,n,r){if(t[2]&&r){let o=t[2](r(n));if(e.dirty===void 0)return o;if(typeof o=="object"){let i=[],s=Math.max(e.dirty.length,o.length);for(let c=0;c32){let e=[],n=t.ctx.length/32;for(let r=0;rwindow.performance.now():()=>Date.now(),St=Tr?t=>requestAnimationFrame(t):B;var lt=new Set;function Ir(t){lt.forEach(e=>{e.c(t)||(lt.delete(e),e.f())}),lt.size!==0&&St(Ir)}function wn(t){let e;return lt.size===0&&St(Ir),{promise:new Promise(n=>{lt.add(e={c:t,f:n})}),abort(){lt.delete(e)}}}var jt=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;var Vt=class t{_listeners="WeakMap"in jt?new WeakMap:void 0;_observer=void 0;options;constructor(e){this.options=e}observe(e,n){return this._listeners.set(e,n),this._getObserver().observe(e,this.options),()=>{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){return this._observer??(this._observer=new ResizeObserver(e=>{for(let n of e)t.entries.set(n.target,n),this._listeners.get(n.target)?.(n)}))}};Vt.entries="WeakMap"in jt?new WeakMap:void 0;var Ht=!1;function Lr(){Ht=!0}function Cr(){Ht=!1}function Hi(t,e,n,r){for(;t>1);n(o)<=r?t=o+1:e=o}return t}function Xi(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){let a=[];for(let l=0;l0&&e[n[o]].claim_order<=l?o+1:Hi(1,o,h=>e[n[h]].claim_order,l))-1;r[a]=n[u]+1;let d=u+1;n[d]=a,o=Math.max(d,o)}let i=[],s=[],c=e.length-1;for(let a=n[o]+1;a!=0;a=r[a-1]){for(i.push(e[a-1]);c>=a;c--)s.push(e[c]);c--}for(;c>=0;c--)s.push(e[c]);i.reverse(),s.sort((a,l)=>a.claim_order-l.claim_order);for(let a=0,l=0;a=i[l].claim_order;)l++;let u=lt.removeEventListener(e,n,r)}function _(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function re(t){return t.dataset.svelteH}function Fr(t){let e;return{p(...n){e=n,e.forEach(r=>t.push(r))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function I(t){return Array.from(t.childNodes)}function Rr(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Nr(t,e,n,r,o=!1){Rr(t);let i=(()=>{for(let s=t.claim_info.last_index;s=0;s--){let c=t[s];if(e(c)){let a=n(c);return a===void 0?t.splice(s,1):t[s]=a,o?a===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,c}}return r()})();return i.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,i}function Zi(t,e,n,r){return Nr(t,o=>o.nodeName===e,o=>{let i=[];for(let s=0;so.removeAttribute(s))},()=>r(e))}function $(t,e,n){return Zi(t,e,n,E)}function K(t,e){return Nr(t,n=>n.nodeType===3,n=>{let r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>H(e),!0)}function F(t){return K(t," ")}function Or(t,e,n){for(let r=n;r{e[n.slot||"default"]=!0}),e}var Zt=new Map,Gt=0;function Gi(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function Qi(t,e){let n={stylesheet:Ar(e),rules:{}};return Zt.set(t,n),n}function $n(t,e,n,r,o,i,s,c=0){let a=16.666/r,l=`{ `;for(let b=0;b<=1;b+=a){let k=e+(n-e)*i(b);l+=b*100+`%{${s(k,1-k)}} `}let u=l+`100% {${s(n,1-n)}} -}`,d=`__svelte_${Gi(u)}_${c}`,h=En(t),{stylesheet:f,rules:p}=Zt.get(h)||Qi(h,t);p[d]||(p[d]=!0,f.insertRule(`@keyframes ${d} ${u}`,f.cssRules.length));let m=t.style.animation||"";return t.style.animation=`${m?`${m}, `:""}${d} ${r}ms linear ${o}ms 1 both`,Gt+=1,d}function Qt(t,e){let n=(t.style.animation||"").split(", "),r=n.filter(e?i=>i.indexOf(e)<0:i=>i.indexOf("__svelte")===-1),o=n.length-r.length;o&&(t.style.animation=r.join(", "),Gt-=o,Gt||es())}function es(){St(()=>{Gt||(Zt.forEach(t=>{let{ownerNode:e}=t.stylesheet;e&&g(e)}),Zt.clear())})}var De;function je(t){De=t}function en(){if(!De)throw new Error("Function called outside component initialization");return De}function Qe(t){en().$$.on_mount.push(t)}function et(){let t=en();return(e,n,{cancelable:r=!1}={})=>{let o=t.$$.callbacks[e];if(o){let i=zt(e,n,{cancelable:r});return o.slice().forEach(s=>{s.call(t,i)}),!i.defaultPrevented}return!0}}function Br(t,e){let n=t.$$.callbacks[e.type];n&&n.slice().forEach(r=>r.call(this,e))}var tt=[];var Le=[],ut=[],jn=[],Ur=Promise.resolve(),zn=!1;function Tn(){zn||(zn=!0,Ur.then(Tt))}function ft(){return Tn(),Ur}function Me(t){ut.push(t)}function Je(t){jn.push(t)}var Sn=new Set,ct=0;function Tt(){if(ct!==0)return;let t=De;do{try{for(;ctt.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),ut=e}var It;function ns(){return It||(It=Promise.resolve(),It.then(()=>{It=null})),It}function Jr(t,e,n){t.dispatchEvent(zt(`${e?"intro":"outro"}${n}`))}var tn=new Set,nt;function fe(){nt={r:0,c:[],p:nt}}function pe(){nt.r||se(nt.c),nt=nt.p}function O(t,e){t&&t.i&&(tn.delete(t),t.i(e))}function R(t,e,n,r){if(t&&t.o){if(tn.has(t))return;tn.add(t),nt.c.push(()=>{tn.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}var rs={duration:0};function qr(t,e,n){let r={direction:"in"},o=e(t,n,r),i=!1,s,c,a=0;function l(){s&&Qt(t,s)}function u(){let{delay:h=0,duration:f=300,easing:p=st,tick:m=B,css:b}=o||rs;b&&(s=$n(t,0,1,f,h,p,b,a++)),m(0,1);let k=xn()+h,v=k+f;c&&c.abort(),i=!0,Me(()=>Jr(t,!0,"start")),c=wn(w=>{if(i){if(w>=v)return m(1,0),Jr(t,!0,"end"),l(),i=!1;if(w>=k){let S=p((w-k)/f);m(S,1-S)}}return i})}let d=!1;return{start(){d||(d=!0,Qt(t),Ee(o)?(o=o(r),ns().then(u)):u())},invalidate(){d=!1},end(){i&&(l(),i=!1)}}}function Ot(t,e){let n=e.token={};function r(o,i,s,c){if(e.token!==n)return;e.resolved=c;let a=e.ctx;s!==void 0&&(a=a.slice(),a[s]=c);let l=o&&(e.current=o)(a),u=!1;e.block&&(e.blocks?e.blocks.forEach((d,h)=>{h!==i&&d&&(fe(),R(d,1,1,()=>{e.blocks[h]===d&&(e.blocks[h]=null)}),pe())}):e.block.d(1),l.c(),O(l,1),l.m(e.mount(),e.anchor),u=!0),e.block=l,e.blocks&&(e.blocks[i]=l),u&&Tt()}if($r(t)){let o=en();if(t.then(i=>{je(o),r(e.then,1,e.value,i),je(null)},i=>{if(je(o),r(e.catch,2,e.error,i),je(null),!e.hasCatch)throw i}),e.current!==e.pending)return r(e.pending,0),!0}else{if(e.current!==e.then)return r(e.then,1,e.value,t),!0;e.resolved=t}}function In(t,e,n){let r=e.slice(),{resolved:o}=t;t.current===t.then&&(r[t.value]=o),t.current===t.catch&&(r[t.error]=o),t.block.p(r,n)}function de(t){return t?.length!==void 0?t:Array.from(t)}function On(t,e){t.d(1),e.delete(t.key)}function Wr(t,e){R(t,1,1,()=>{e.delete(t.key)})}function Ct(t,e,n,r,o,i,s,c,a,l,u,d){let h=t.length,f=i.length,p=h,m={};for(;p--;)m[t[p].key]=p;let b=[],k=new Map,v=new Map,w=[];for(p=f;p--;){let M=d(o,i,p),q=n(M),N=s.get(q);N?r&&w.push(()=>N.p(M,e)):(N=l(q,M),N.c()),k.set(q,b[p]=N),q in m&&v.set(q,Math.abs(p-m[q]))}let S=new Set,x=new Set;function C(M){O(M,1),M.m(c,u),s.set(M.key,M),u=M.first,f--}for(;h&&f;){let M=b[f-1],q=t[h-1],N=M.key,ce=q.key;M===q?(u=M.first,h--,f--):k.has(ce)?!s.has(N)||S.has(N)?C(M):x.has(ce)?h--:v.get(N)>v.get(ce)?(x.add(N),C(M)):(S.add(ce),h--):(a(q,s),h--)}for(;h--;){let M=t[h];k.has(M.key)||a(M,s)}for(;f;)C(b[f-1]);return se(w),b}var os=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],is=new Set([...os]);function qe(t,e,n){let r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function oe(t){t&&t.c()}function ie(t,e){t&&t.l(e)}function ee(t,e,n){let{fragment:r,after_update:o}=t.$$;r&&r.m(e,n),Me(()=>{let i=t.$$.on_mount.map(bn).filter(Ee);t.$$.on_destroy?t.$$.on_destroy.push(...i):se(i),t.$$.on_mount=[]}),o.forEach(Me)}function te(t,e){let n=t.$$;n.fragment!==null&&(Dr(n.after_update),se(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ls(t,e){t.$$.dirty[0]===-1&&(tt.push(t),Tn(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{let p=f.length?f[0]:h;return l.ctx&&o(l.ctx[d],l.ctx[d]=p)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](p),u&&ls(t,d)),h}):[],l.update(),u=!0,se(l.before_update),l.fragment=r?r(l.ctx):!1,e.target){if(e.hydrate){Cr();let d=I(e.target);l.fragment&&l.fragment.l(d),d.forEach(g)}else l.fragment&&l.fragment.c();e.intro&&O(t.$$.fragment),ee(t,e.target,e.anchor),Lr(),Tt()}je(a)}var as;typeof HTMLElement=="function"&&(as=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){let r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){let r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let i;return{c:function(){i=E("slot"),o!=="default"&&_(i,"name",o)},m:function(a,l){Xt(a,i,l)},d:function(a){a&&g(i)}}}};if(await Promise.resolve(),!this.$$cn)return;let e={},n=Pr(this);for(let o of this.$$s)o in n&&(e[o]=[t(o)]);for(let o of this.attributes){let i=this.$$g_p(o.name);i in this.$$d||(this.$$d[i]=Cn(i,o.value,this.$$p_d,"toProp"))}for(let o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});let r=()=>{this.$$r=!0;for(let o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){let i=Cn(o,this.$$d[o],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,i)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(let o in this.$$l)for(let i of this.$$l[o]){let s=this.$$c.$on(o,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Cn(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Cn(t,e,n,r){let o=n[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}var Q=class{$$=void 0;$$set=void 0;$destroy(){te(this,1),this.$destroy=B}$on(e,n){if(!Ee(n))return B;let r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{let o=r.indexOf(n);o!==-1&&r.splice(o,1)}}$set(e){this.$$set&&!Sr(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};var Vr="4";function Hr(t){return Array.from(document.querySelectorAll(t))}function ze(t){t.stopPropagation(),t.cancelable&&t.preventDefault()}function nn(t){ft().then(()=>{for(let e of Hr(t))e.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0}))})}function Xr(t){ft().then(()=>{let e=Hr(t),n=e[e.length-1];n&&(n.focus&&n.focus(),n.select&&n.select())})}var $e=typeof window<"u";function cs(...t){return{unsubscribe(){for(let e of t)e.unsubscribe()}}}var rn=!1,Kr=()=>{rn=!0},Ln=()=>{rn=!1};function us(t){let e=t;return e.addEventListener("compositionstart",Kr),e.addEventListener("compositionstart",Ln),{unsubscribe(){e.removeEventListener("compositionstart",Kr),e.removeEventListener("compositionstart",Ln),Ln()}}}function Mn(t){return function(n){let r=n;return r.addEventListener("keydown",t),{unsubscribe(){r.removeEventListener("keydown",t)}}}}var fs=Mn(t=>{if(rn)return;let e=t.target;if(t.key==="Enter"){let n=t.metaKey||t.ctrlKey,r=t.shiftKey;if(!n&&!r)return;ze(t);let o=e.value,i=e.selectionStart;if(o===""||i===0)return;let s=o.slice(0,i).split(` +}`,d=`__svelte_${Gi(u)}_${c}`,h=En(t),{stylesheet:f,rules:p}=Zt.get(h)||Qi(h,t);p[d]||(p[d]=!0,f.insertRule(`@keyframes ${d} ${u}`,f.cssRules.length));let m=t.style.animation||"";return t.style.animation=`${m?`${m}, `:""}${d} ${r}ms linear ${o}ms 1 both`,Gt+=1,d}function Qt(t,e){let n=(t.style.animation||"").split(", "),r=n.filter(e?i=>i.indexOf(e)<0:i=>i.indexOf("__svelte")===-1),o=n.length-r.length;o&&(t.style.animation=r.join(", "),Gt-=o,Gt||es())}function es(){St(()=>{Gt||(Zt.forEach(t=>{let{ownerNode:e}=t.stylesheet;e&&g(e)}),Zt.clear())})}var De;function je(t){De=t}function en(){if(!De)throw new Error("Function called outside component initialization");return De}function Qe(t){en().$$.on_mount.push(t)}function et(){let t=en();return(e,n,{cancelable:r=!1}={})=>{let o=t.$$.callbacks[e];if(o){let i=zt(e,n,{cancelable:r});return o.slice().forEach(s=>{s.call(t,i)}),!i.defaultPrevented}return!0}}function Br(t,e){let n=t.$$.callbacks[e.type];n&&n.slice().forEach(r=>r.call(this,e))}var tt=[];var Ce=[],ut=[],jn=[],Ur=Promise.resolve(),zn=!1;function Tn(){zn||(zn=!0,Ur.then(Tt))}function ft(){return Tn(),Ur}function Me(t){ut.push(t)}function Je(t){jn.push(t)}var Sn=new Set,ct=0;function Tt(){if(ct!==0)return;let t=De;do{try{for(;ctt.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),ut=e}var It;function ns(){return It||(It=Promise.resolve(),It.then(()=>{It=null})),It}function Jr(t,e,n){t.dispatchEvent(zt(`${e?"intro":"outro"}${n}`))}var tn=new Set,nt;function fe(){nt={r:0,c:[],p:nt}}function pe(){nt.r||se(nt.c),nt=nt.p}function O(t,e){t&&t.i&&(tn.delete(t),t.i(e))}function R(t,e,n,r){if(t&&t.o){if(tn.has(t))return;tn.add(t),nt.c.push(()=>{tn.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}var rs={duration:0};function qr(t,e,n){let r={direction:"in"},o=e(t,n,r),i=!1,s,c,a=0;function l(){s&&Qt(t,s)}function u(){let{delay:h=0,duration:f=300,easing:p=st,tick:m=B,css:b}=o||rs;b&&(s=$n(t,0,1,f,h,p,b,a++)),m(0,1);let k=xn()+h,v=k+f;c&&c.abort(),i=!0,Me(()=>Jr(t,!0,"start")),c=wn(w=>{if(i){if(w>=v)return m(1,0),Jr(t,!0,"end"),l(),i=!1;if(w>=k){let S=p((w-k)/f);m(S,1-S)}}return i})}let d=!1;return{start(){d||(d=!0,Qt(t),Ee(o)?(o=o(r),ns().then(u)):u())},invalidate(){d=!1},end(){i&&(l(),i=!1)}}}function Ot(t,e){let n=e.token={};function r(o,i,s,c){if(e.token!==n)return;e.resolved=c;let a=e.ctx;s!==void 0&&(a=a.slice(),a[s]=c);let l=o&&(e.current=o)(a),u=!1;e.block&&(e.blocks?e.blocks.forEach((d,h)=>{h!==i&&d&&(fe(),R(d,1,1,()=>{e.blocks[h]===d&&(e.blocks[h]=null)}),pe())}):e.block.d(1),l.c(),O(l,1),l.m(e.mount(),e.anchor),u=!0),e.block=l,e.blocks&&(e.blocks[i]=l),u&&Tt()}if($r(t)){let o=en();if(t.then(i=>{je(o),r(e.then,1,e.value,i),je(null)},i=>{if(je(o),r(e.catch,2,e.error,i),je(null),!e.hasCatch)throw i}),e.current!==e.pending)return r(e.pending,0),!0}else{if(e.current!==e.then)return r(e.then,1,e.value,t),!0;e.resolved=t}}function In(t,e,n){let r=e.slice(),{resolved:o}=t;t.current===t.then&&(r[t.value]=o),t.current===t.catch&&(r[t.error]=o),t.block.p(r,n)}function de(t){return t?.length!==void 0?t:Array.from(t)}function On(t,e){t.d(1),e.delete(t.key)}function Wr(t,e){R(t,1,1,()=>{e.delete(t.key)})}function Lt(t,e,n,r,o,i,s,c,a,l,u,d){let h=t.length,f=i.length,p=h,m={};for(;p--;)m[t[p].key]=p;let b=[],k=new Map,v=new Map,w=[];for(p=f;p--;){let M=d(o,i,p),q=n(M),N=s.get(q);N?r&&w.push(()=>N.p(M,e)):(N=l(q,M),N.c()),k.set(q,b[p]=N),q in m&&v.set(q,Math.abs(p-m[q]))}let S=new Set,x=new Set;function L(M){O(M,1),M.m(c,u),s.set(M.key,M),u=M.first,f--}for(;h&&f;){let M=b[f-1],q=t[h-1],N=M.key,ce=q.key;M===q?(u=M.first,h--,f--):k.has(ce)?!s.has(N)||S.has(N)?L(M):x.has(ce)?h--:v.get(N)>v.get(ce)?(x.add(N),L(M)):(S.add(ce),h--):(a(q,s),h--)}for(;h--;){let M=t[h];k.has(M.key)||a(M,s)}for(;f;)L(b[f-1]);return se(w),b}var os=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],is=new Set([...os]);function qe(t,e,n){let r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function oe(t){t&&t.c()}function ie(t,e){t&&t.l(e)}function ee(t,e,n){let{fragment:r,after_update:o}=t.$$;r&&r.m(e,n),Me(()=>{let i=t.$$.on_mount.map(bn).filter(Ee);t.$$.on_destroy?t.$$.on_destroy.push(...i):se(i),t.$$.on_mount=[]}),o.forEach(Me)}function te(t,e){let n=t.$$;n.fragment!==null&&(Dr(n.after_update),se(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ls(t,e){t.$$.dirty[0]===-1&&(tt.push(t),Tn(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{let p=f.length?f[0]:h;return l.ctx&&o(l.ctx[d],l.ctx[d]=p)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](p),u&&ls(t,d)),h}):[],l.update(),u=!0,se(l.before_update),l.fragment=r?r(l.ctx):!1,e.target){if(e.hydrate){Lr();let d=I(e.target);l.fragment&&l.fragment.l(d),d.forEach(g)}else l.fragment&&l.fragment.c();e.intro&&O(t.$$.fragment),ee(t,e.target,e.anchor),Cr(),Tt()}je(a)}var as;typeof HTMLElement=="function"&&(as=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){let r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){let r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let i;return{c:function(){i=E("slot"),o!=="default"&&_(i,"name",o)},m:function(a,l){Xt(a,i,l)},d:function(a){a&&g(i)}}}};if(await Promise.resolve(),!this.$$cn)return;let e={},n=Pr(this);for(let o of this.$$s)o in n&&(e[o]=[t(o)]);for(let o of this.attributes){let i=this.$$g_p(o.name);i in this.$$d||(this.$$d[i]=Ln(i,o.value,this.$$p_d,"toProp"))}for(let o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});let r=()=>{this.$$r=!0;for(let o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){let i=Ln(o,this.$$d[o],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,i)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(let o in this.$$l)for(let i of this.$$l[o]){let s=this.$$c.$on(o,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ln(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Ln(t,e,n,r){let o=n[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}var Q=class{$$=void 0;$$set=void 0;$destroy(){te(this,1),this.$destroy=B}$on(e,n){if(!Ee(n))return B;let r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{let o=r.indexOf(n);o!==-1&&r.splice(o,1)}}$set(e){this.$$set&&!Sr(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};var Vr="4";function Hr(t){return Array.from(document.querySelectorAll(t))}function ze(t){t.stopPropagation(),t.cancelable&&t.preventDefault()}function nn(t){ft().then(()=>{for(let e of Hr(t))e.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0}))})}function Xr(t){ft().then(()=>{let e=Hr(t),n=e[e.length-1];n&&(n.focus&&n.focus(),n.select&&n.select())})}var $e=typeof window<"u";function cs(...t){return{unsubscribe(){for(let e of t)e.unsubscribe()}}}var rn=!1,Kr=()=>{rn=!0},Cn=()=>{rn=!1};function us(t){let e=t;return e.addEventListener("compositionstart",Kr),e.addEventListener("compositionstart",Cn),{unsubscribe(){e.removeEventListener("compositionstart",Kr),e.removeEventListener("compositionstart",Cn),Cn()}}}function Mn(t){return function(n){let r=n;return r.addEventListener("keydown",t),{unsubscribe(){r.removeEventListener("keydown",t)}}}}var fs=Mn(t=>{if(rn)return;let e=t.target;if(t.key==="Enter"){let n=t.metaKey||t.ctrlKey,r=t.shiftKey;if(!n&&!r)return;ze(t);let o=e.value,i=e.selectionStart;if(o===""||i===0)return;let s=o.slice(0,i).split(` `),a=s[s.length-1]?.match(/^(\s*)/);if(!a)return;let l=a[1]||"";if(r&&!n)Ye(e,` `+l);else if(n&&!r){let u=Math.max(e.selectionStart,e.selectionEnd);u=o.indexOf(` `,u),u===-1&&(u=o.length),e.selectionStart=e.selectionEnd=u,Ye(e,` `+l)}else if(n&&r){let u=Math.min(e.selectionStart,e.selectionEnd);u=o.lastIndexOf(` `,u),u===-1&&(u=0),e.selectionStart=e.selectionEnd=u,Ye(e,l+` -`),e.selectionStart=e.selectionEnd=u}return}if(t.key==="Escape"){e.selectionDirection==="backward"?e.selectionEnd=e.selectionStart:e.selectionStart=e.selectionEnd;return}if(t.key==="Tab"&&!t.metaKey&&!t.ctrlKey&&!t.shiftKey&&!t.altKey){ze(t),Ye(e," ");return}}),ps=Mn(kr),Yr=["`","'",'"',"[","(","{","*","_","~","\u201C","\u2018"],ds=["`","'",'"',"]",")","}","*","_","~","\u201D","\u2019"],Zr=new Set(["`","'",'"']),hs=Mn(t=>{if(rn)return;let e=t.target,n=t.key;if(!Yr.includes(n))return;let[r,o]=[e.selectionStart,e.selectionEnd];if(r===o||Zr.has(n)&&o-r===1&&Zr.has(e.value.at(r)))return;ze(t);let i=ds[Yr.indexOf(n)];wr(e,n,i)}),ms=function(e){let n=e;function r(){n.style.height="0",n.style.height=Math.max(n.scrollHeight+2,36)+"px"}return n.value&&r(),n.addEventListener("input",r),{unsubscribe(){n.removeEventListener("keydown",r)}}};xr("textarea.editor",{constructor:HTMLTextAreaElement,subscribe:t=>cs(ms(t),us(t),fs(t),ps(t),hs(t))});typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Vr);var pt=[];function Te(t,e=B){let n,r=new Set;function o(c){if(ne(t,c)&&(t=c,n)){let a=!pt.length;for(let l of r)l[1](),pt.push(l,t);if(a){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:o,update:i,subscribe:s}}function dt(){}function Gr(t){return new Promise(e=>setTimeout(e,t))}var _s=class{constructor(t){this.subs=new Map}emit(t,e){let n=this.subs.get(t);n&&n.forEach(r=>r(e))}on(t,e){let n=this.subs.get(t);return n||(n=new Set,this.subs.set(t,n)),n.add(e),()=>this.off(t,e)}off(t,e){let n=this.subs.get(t);if(n){let r=n.delete(e);return n.size===0&&this.subs.delete(t),r}return!1}clear(t){if(t){let e=this.subs.get(t);e&&(e.clear(),this.subs.delete(t))}else this.subs.clear()}};function Qr(t){return new _s(t)}function eo(t,e,n){return tn?n:t}var Ae=Qr();function to(t,e={}){try{return JSON.parse(t)}catch{return e}}function Lt(){let t=new URLSearchParams($e?location.search:""),e=Object.create(null),n=t.get("version");n&&/^\d[.\d]+$/.test(n)&&(e.version=n);let r=t.get("shareable");if(r){let l=to(decodeURIComponent(atob(r)));l.code&&(e.t=l.code),l.config&&(e.o=JSON.stringify(l.config,null,2)),l.modules&&(e.b=l.modules.map(u=>({entry:u.isEntry,path:u.name,content:u.code})))}if(t.get("mode")==="build"){let l=t.get("modules");l&&(e.b=to(l,[]).map(u=>({entry:!!u[2],path:u[0],content:u[1]})))}else{let l=t.get("input");l&&(e.t=l)}let o=t.get("o")||t.get("options")||t.get("buildOptions");if(o&&(e.o=o),t.get("mode")==="build"&&e.o)try{let l=JSON.parse(e.o);l.outdir="/",l.packages="external",l.allowOverwrite=!0,e.o=JSON.stringify(l,null,2)}catch{}(t.has("d")||t.has("debug"))&&(e.d=!0);let i=t.get("t");i&&(e.t=i);let s=t.getAll("b");if(s.length>0){e.b=[];for(let l of s){let[u,d,h]=l.split("\0");e.b.push({entry:u==="e",path:d,content:h})}}let c=t.getAll("i");c.length>0&&(e.i=c);let a=$e?location.hash.slice(1):"";if(a){let l=atob(a).split("\0");if(l[0]==="t"&&l.length===4&&(e.version=l[1],e.o=l[2],e.t=l[3]),l[0]==="b"&&l.length%3===0){e.version=l[1],e.o=l[2],e.b=[];for(let u=3;ur.json());if(n&&n.length)return n}catch(e){console.error(e)}try{let e=`https://registry.npmjs.org/${t}`,{versions:n}=await fetch(e).then(r=>r.json());if(n)return Object.keys(n).reverse()}catch(e){console.error(e)}throw new Error(`Failed to fetch versions for ${t}`)}var ht=Te("dark");if($e&&window.matchMedia){let t=matchMedia("(prefers-color-scheme: dark)"),e=()=>ht.set(t.matches?"dark":"light");t.addEventListener("change",e),e(),ht.subscribe(n=>{document.documentElement.dataset.theme=n})}var We=Lt(),Fe=Te(We.version||"latest"),on=Te([]);$e&&ro("esbuild-wasm").then(t=>{let e=t.indexOf("0.9.0");e>=0&&(t=t.slice(0,e+1)),on.set(t),yn(Fe)==="latest"&&Fe.set(t[0])},()=>{me.set("Failed to fetch versions.")});var Ie=Te(We.b?"build":"transform"),Ve=Te(We.t||"let a = 1"),Oe=Te(We.b||[{entry:!0,path:"entry.js",content:""}]),Ce=Te(We.o||""),Be=Te([]),sn=Te(0,t=>{let e=1;Ae.on("ready",()=>t(e++))}),xe=Te(null),me=Te("Loading esbuild\u2026",t=>Ae.on("status",t));$e&&xe.subscribe(t=>{t&&(t.B?me.set(`Finished in ${t.B.toFixed(2)}ms`):me.set(""))});var An=Te(We.d);$e&&Object.assign(window,{stores:{theme:ht,version:Fe,versions:on,mode:Ie,input:Ve,files:Oe,options:Ce,installed:Be,output:xe,status:me,debug:An}});function oo(t,e,n){let r=t.slice();return r[12]=e[n],r}function gs(t){let e,n;return{c(){e=E("option"),n=H(t[0]),this.h()},l(r){e=$(r,"OPTION",{class:!0});var o=I(e);n=K(o,t[0]),o.forEach(g),this.h()},h(){e.__value=t[0],_e(e,e.__value),e.disabled=!0,e.selected=!0,_(e,"class","svelte-17997zj")},m(r,o){T(r,e,o),y(e,n)},p(r,o){o&1&&G(n,r[0]),o&9&&(e.__value=r[0],_e(e,e.__value))},d(r){r&&g(e)}}}function bs(t){let e,n=de(t[3]),r=[];for(let o=0;ot[9].call(x)),_(q,"class","btn svelte-17997zj"),_(q,"href","https://github.com/hyrious/esbuild-repl"),_(q,"target","_blank"),_(q,"title","hyrious/esbuild-repl"),_(U,"data-share",""),_(U,"class","btn svelte-17997zj"),_(U,"title","share (press shift for rollup, alt/option for esbuild.try)"),_(P,"class",W=t[1]==="dark"?"i-mdi-moon-waxing-crescent":"i-mdi-white-balance-sunny"),_(z,"class","btn svelte-17997zj"),_(z,"title",D="theme: "+t[1]),_(M,"class","buttons svelte-17997zj"),_(e,"class","svelte-17997zj"),J.p(c,f)},m(ue,he){T(ue,e,he),y(e,n),y(e,o),y(e,i),y(i,s),y(s,c),c.checked=c.__value===t[2],y(s,a),y(s,l),y(i,d),y(i,h),y(h,f),f.checked=f.__value===t[2],y(h,p),y(h,m),y(i,k),y(i,v),y(e,S),y(e,x),ye.m(x,null),at(x,t[0],!0),y(e,C),y(e,M),y(M,q),y(M,ce),y(M,U),y(M,j),y(M,z),y(z,P),X||(ge=[Y(c,"change",t[6]),Y(f,"change",t[8]),Y(x,"change",t[9]),Y(U,"click",t[5]),Y(z,"click",t[4])],X=!0)},p(ue,[he]){he&4&&(c.checked=c.__value===ue[2]),he&4&&(f.checked=f.__value===ue[2]),Re===(Re=ae(ue,he))&&ye?ye.p(ue,he):(ye.d(1),ye=Re(ue),ye&&(ye.c(),ye.m(x,null))),he&9&&at(x,ue[0]),he&2&&W!==(W=ue[1]==="dark"?"i-mdi-moon-waxing-crescent":"i-mdi-white-balance-sunny")&&_(P,"class",W),he&2&&D!==(D="theme: "+ue[1])&&_(z,"title",D)},i:B,o:B,d(ue){ue&&g(e),ye.d(),J.r(),X=!1,se(ge)}}}function ys(t,e,n){let r,o,i,s;V(t,Fe,m=>n(0,r=m)),V(t,ht,m=>n(1,o=m)),V(t,Ie,m=>n(2,i=m)),V(t,on,m=>n(3,s=m));function c(){ve(ht,o=o==="dark"?"light":"dark",o)}async function a(m){try{let b=m.shiftKey?l():m.altKey?u():location.href;await navigator.clipboard.writeText(b),alert("Shareable URL has been copied to clipboard.")}catch(b){console.error(b),alert(b+"")}}function l(){let m=Lt(),b=null;if(m.t&&(b=[{name:"main.js",code:m.t,isEntry:!0}]),m.b&&(b=m.b.map(({entry:k,path:v,content:w})=>({name:v,code:w,isEntry:k}))),b)return`https://rollupjs.org/repl/?shareable=${btoa(encodeURIComponent(JSON.stringify({example:null,modules:b,options:{output:{format:"es"},treeshake:!0}})))}`;throw new Error("no code to share")}function u(){let m=Lt(),b=null;if(m.t&&(b=["t",r,m.o||"",m.t]),m.b){b=["b",r,m.o||""];for(let{entry:k,path:v,content:w}of m.b)b.push(k?"e":"",v,w)}if(b)return`https://esbuild.github.io/try/#${btoa(b.join("\0")).replace(/=+$/,"")}`;throw new Error("no code to share")}Qe(()=>Fe.subscribe(m=>{m!=="latest"&&Ae.emit("reload",m)}));let d=[[]];function h(){i=this.__value,Ie.set(i)}function f(){i=this.__value,Ie.set(i)}function p(){r=Yt(this),Fe.set(r)}return[r,o,i,s,c,a,h,d,f,p]}var Fn=class extends Q{constructor(e){super(),le(this,e,ys,vs,ne,{})}},so=Fn;var xs=t=>({}),lo=t=>({}),ws=t=>({}),ao=t=>({});function ks(t){let e,n,r,o,i,s=`calc(${t[1]}% - 12.5px)`,c,a,l,u,d,h,f,p,m,b,k=t[7].left,v=wt(k,t,t[6],ao),w=t[7].right,S=wt(w,t,t[6],lo);return{c(){e=E("section"),n=E("div"),v&&v.c(),r=A(),o=E("div"),c=A(),a=E("div"),S&&S.c(),d=A(),h=E("div"),this.h()},l(x){e=$(x,"SECTION",{style:!0,class:!0});var C=I(e);n=$(C,"DIV",{class:!0});var M=I(n);v&&v.l(M),M.forEach(g),r=F(C),o=$(C,"DIV",{class:!0}),I(o).forEach(g),c=F(C),a=$(C,"DIV",{class:!0});var q=I(a);S&&S.l(q),q.forEach(g),C.forEach(g),d=F(x),h=$(x,"DIV",{class:!0,style:!0}),I(h).forEach(g),this.h()},h(){_(n,"class","left svelte-rvhy5u"),we(n,"width",t[1]+"%"),_(o,"class","divider svelte-rvhy5u"),we(o,"left",s),_(a,"class","right svelte-rvhy5u"),we(a,"width",100-t[1]+"%"),_(e,"style",l=t[0]?"":"display: none"),_(e,"class","svelte-rvhy5u"),_(h,"class","mask svelte-rvhy5u"),_(h,"style",f=t[2]?"":"display: none")},m(x,C){T(x,e,C),y(e,n),v&&v.m(n,null),y(e,r),y(e,o),y(e,c),y(e,a),S&&S.m(a,null),T(x,d,C),T(x,h,C),p=!0,m||(b=[Ze(i=t[4].call(null,o,t[5])),Ze(u=t[3].call(null,e))],m=!0)},p(x,[C]){v&&v.p&&(!p||C&64)&&Et(v,k,x,x[6],p?kt(k,x[6],C,ws):$t(x[6]),ao),C&2&&we(n,"width",x[1]+"%"),C&2&&s!==(s=`calc(${x[1]}% - 12.5px)`)&&we(o,"left",s),S&&S.p&&(!p||C&64)&&Et(S,w,x,x[6],p?kt(w,x[6],C,xs):$t(x[6]),lo),C&2&&we(a,"width",100-x[1]+"%"),(!p||C&1&&l!==(l=x[0]?"":"display: none"))&&_(e,"style",l),(!p||C&4&&f!==(f=x[2]?"":"display: none"))&&_(h,"style",f)},i(x){p||(O(v,x),O(S,x),p=!0)},o(x){R(v,x),R(S,x),p=!1},d(x){x&&(g(e),g(d),g(h)),v&&v.d(x),S&&S.d(x),m=!1,se(b)}}}function Es(t,e,n){let{$$slots:r={},$$scope:o}=e,{show:i=!0}=e,s=50,c=!1,a=0,l=0,u=0,d=function(m){let b=()=>{let v=m.getBoundingClientRect(),w=parseInt(getComputedStyle(m).paddingLeft)||0;a=v.left+w,l=v.width-w*2},k=new ResizeObserver(b);return k.observe(m),b(),{destroy(){k.disconnect()}}},h=function(m,b){let k=v=>{if(!v.isPrimary)return;ze(v),m.setPointerCapture(v.pointerId),n(2,c=!0);let w=v.currentTarget.getBoundingClientRect();u=v.clientX-w.left-w.width/2;let S=()=>{n(2,c=!1),m.releasePointerCapture(v.pointerId),window.removeEventListener("pointermove",b,!1),window.removeEventListener("pointerup",S,!1),window.removeEventListener("pointercancel",S,!1)};window.addEventListener("pointermove",b,!1),window.addEventListener("pointerup",S,!1),window.addEventListener("pointercancel",S,!1)};return m.addEventListener("pointerdown",k),{destroy(){m.removeEventListener("pointerdown",k)}}};function f(p){let m=p.clientX-a-u;n(1,s=eo(100*m/l,0,100))}return t.$$set=p=>{"show"in p&&n(0,i=p.show),"$$scope"in p&&n(6,o=p.$$scope)},[i,s,c,d,h,f,o,r]}var Rn=class extends Q{constructor(e){super(),le(this,e,Es,ks,ne,{show:0})}},co=Rn;function ln(t){let e=`\x1B[31m\u2718 \x1B[41;31m[\x1B[41;97mERROR\x1B[41;31m]\x1B[0m \x1B[1m${t&&t.message||t}\x1B[0m`,n=t&&t.A,r=t&&t.ee;if(n&&(e+=uo(n)),r)for(let o of r)e+=` +`),e.selectionStart=e.selectionEnd=u}return}if(t.key==="Escape"){e.selectionDirection==="backward"?e.selectionEnd=e.selectionStart:e.selectionStart=e.selectionEnd;return}if(t.key==="Tab"&&!t.metaKey&&!t.ctrlKey&&!t.shiftKey&&!t.altKey){ze(t),Ye(e," ");return}}),ps=Mn(kr),Yr=["`","'",'"',"[","(","{","*","_","~","\u201C","\u2018"],ds=["`","'",'"',"]",")","}","*","_","~","\u201D","\u2019"],Zr=new Set(["`","'",'"']),hs=Mn(t=>{if(rn)return;let e=t.target,n=t.key;if(!Yr.includes(n))return;let[r,o]=[e.selectionStart,e.selectionEnd];if(r===o||Zr.has(n)&&o-r===1&&Zr.has(e.value.at(r)))return;ze(t);let i=ds[Yr.indexOf(n)];wr(e,n,i)}),ms=function(e){let n=e;function r(){n.style.height="0",n.style.height=Math.max(n.scrollHeight+2,36)+"px"}return n.value&&r(),n.addEventListener("input",r),{unsubscribe(){n.removeEventListener("keydown",r)}}};xr("textarea.editor",{constructor:HTMLTextAreaElement,subscribe:t=>cs(ms(t),us(t),fs(t),ps(t),hs(t))});typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Vr);var pt=[];function Te(t,e=B){let n,r=new Set;function o(c){if(ne(t,c)&&(t=c,n)){let a=!pt.length;for(let l of r)l[1](),pt.push(l,t);if(a){for(let l=0;l{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:o,update:i,subscribe:s}}function dt(){}function Gr(t){return new Promise(e=>setTimeout(e,t))}var _s=class{constructor(t){this.subs=new Map}emit(t,e){let n=this.subs.get(t);n&&n.forEach(r=>r(e))}on(t,e){let n=this.subs.get(t);return n||(n=new Set,this.subs.set(t,n)),n.add(e),()=>this.off(t,e)}off(t,e){let n=this.subs.get(t);if(n){let r=n.delete(e);return n.size===0&&this.subs.delete(t),r}return!1}clear(t){if(t){let e=this.subs.get(t);e&&(e.clear(),this.subs.delete(t))}else this.subs.clear()}};function Qr(t){return new _s(t)}function eo(t,e,n){return tn?n:t}var Ae=Qr();function to(t,e={}){try{return JSON.parse(t)}catch{return e}}function Ct(){let t=new URLSearchParams($e?location.search:""),e=Object.create(null),n=t.get("version");n&&/^\d[.\d]+$/.test(n)&&(e.version=n);let r=t.get("shareable");if(r){let l=to(decodeURIComponent(atob(r)));l.code&&(e.t=l.code),l.config&&(e.o=JSON.stringify(l.config,null,2)),l.modules&&(e.b=l.modules.map(u=>({entry:u.isEntry,path:u.name,content:u.code})))}if(t.get("mode")==="build"){let l=t.get("modules");l&&(e.b=to(l,[]).map(u=>({entry:!!u[2],path:u[0],content:u[1]})))}else{let l=t.get("input");l&&(e.t=l)}let o=t.get("o")||t.get("options")||t.get("buildOptions");if(o&&(e.o=o),t.get("mode")==="build"&&e.o)try{let l=JSON.parse(e.o);l.outdir="/",l.packages="external",l.allowOverwrite=!0,e.o=JSON.stringify(l,null,2)}catch{}(t.has("d")||t.has("debug"))&&(e.d=!0);let i=t.get("t");i&&(e.t=i);let s=t.getAll("b");if(s.length>0){e.b=[];for(let l of s){let[u,d,h]=l.split("\0");e.b.push({entry:u==="e",path:d,content:h})}}let c=t.getAll("i");c.length>0&&(e.i=c);let a=$e?location.hash.slice(1):"";if(a){let l=atob(a).split("\0");if(l[0]==="t"&&l.length===4&&(e.version=l[1],e.o=l[2],e.t=l[3]),l[0]==="b"&&l.length%3===0){e.version=l[1],e.o=l[2],e.b=[];for(let u=3;ur.json());if(n&&n.length)return n}catch(e){console.error(e)}try{let e=`https://registry.npmjs.org/${t}`,{versions:n}=await fetch(e).then(r=>r.json());if(n)return Object.keys(n).reverse()}catch(e){console.error(e)}throw new Error(`Failed to fetch versions for ${t}`)}var ht=Te("dark");if($e&&window.matchMedia){let t=matchMedia("(prefers-color-scheme: dark)"),e=()=>ht.set(t.matches?"dark":"light");t.addEventListener("change",e),e(),ht.subscribe(n=>{document.documentElement.dataset.theme=n})}var We=Ct(),Fe=Te(We.version||"latest"),on=Te([]);$e&&ro("esbuild-wasm").then(t=>{let e=t.indexOf("0.9.0");e>=0&&(t=t.slice(0,e+1)),on.set(t),yn(Fe)==="latest"&&Fe.set(t[0])},()=>{me.set("Failed to fetch versions.")});var Ie=Te(We.b?"build":"transform"),Ve=Te(We.t||"let a = 1"),Oe=Te(We.b||[{entry:!0,path:"entry.js",content:""}]),Le=Te(We.o||""),Be=Te([]),sn=Te(0,t=>{let e=1;Ae.on("ready",()=>t(e++))}),xe=Te(null),me=Te("Loading esbuild\u2026",t=>Ae.on("status",t));$e&&xe.subscribe(t=>{t&&(t.B?me.set(`Finished in ${t.B.toFixed(2)}ms`):me.set(""))});var An=Te(We.d);$e&&Object.assign(window,{stores:{theme:ht,version:Fe,versions:on,mode:Ie,input:Ve,files:Oe,options:Le,installed:Be,output:xe,status:me,debug:An}});function oo(t,e,n){let r=t.slice();return r[12]=e[n],r}function gs(t){let e,n;return{c(){e=E("option"),n=H(t[0]),this.h()},l(r){e=$(r,"OPTION",{class:!0});var o=I(e);n=K(o,t[0]),o.forEach(g),this.h()},h(){e.__value=t[0],_e(e,e.__value),e.disabled=!0,e.selected=!0,_(e,"class","svelte-17997zj")},m(r,o){T(r,e,o),y(e,n)},p(r,o){o&1&&G(n,r[0]),o&9&&(e.__value=r[0],_e(e,e.__value))},d(r){r&&g(e)}}}function bs(t){let e,n=de(t[3]),r=[];for(let o=0;ot[9].call(x)),_(q,"class","btn svelte-17997zj"),_(q,"href","https://github.com/hyrious/esbuild-repl"),_(q,"target","_blank"),_(q,"title","hyrious/esbuild-repl"),_(U,"data-share",""),_(U,"class","btn svelte-17997zj"),_(U,"title","share (press shift for rollup, alt/option for esbuild.try)"),_(P,"class",W=t[1]==="dark"?"i-mdi-moon-waxing-crescent":"i-mdi-white-balance-sunny"),_(z,"class","btn svelte-17997zj"),_(z,"title",D="theme: "+t[1]),_(M,"class","buttons svelte-17997zj"),_(e,"class","svelte-17997zj"),J.p(c,f)},m(ue,he){T(ue,e,he),y(e,n),y(e,o),y(e,i),y(i,s),y(s,c),c.checked=c.__value===t[2],y(s,a),y(s,l),y(i,d),y(i,h),y(h,f),f.checked=f.__value===t[2],y(h,p),y(h,m),y(i,k),y(i,v),y(e,S),y(e,x),ye.m(x,null),at(x,t[0],!0),y(e,L),y(e,M),y(M,q),y(M,ce),y(M,U),y(M,j),y(M,z),y(z,P),X||(ge=[Y(c,"change",t[6]),Y(f,"change",t[8]),Y(x,"change",t[9]),Y(U,"click",t[5]),Y(z,"click",t[4])],X=!0)},p(ue,[he]){he&4&&(c.checked=c.__value===ue[2]),he&4&&(f.checked=f.__value===ue[2]),Re===(Re=ae(ue,he))&&ye?ye.p(ue,he):(ye.d(1),ye=Re(ue),ye&&(ye.c(),ye.m(x,null))),he&9&&at(x,ue[0]),he&2&&W!==(W=ue[1]==="dark"?"i-mdi-moon-waxing-crescent":"i-mdi-white-balance-sunny")&&_(P,"class",W),he&2&&D!==(D="theme: "+ue[1])&&_(z,"title",D)},i:B,o:B,d(ue){ue&&g(e),ye.d(),J.r(),X=!1,se(ge)}}}function ys(t,e,n){let r,o,i,s;V(t,Fe,m=>n(0,r=m)),V(t,ht,m=>n(1,o=m)),V(t,Ie,m=>n(2,i=m)),V(t,on,m=>n(3,s=m));function c(){ve(ht,o=o==="dark"?"light":"dark",o)}async function a(m){try{let b=m.shiftKey?l():m.altKey?u():location.href;await navigator.clipboard.writeText(b),alert("Shareable URL has been copied to clipboard.")}catch(b){console.error(b),alert(b+"")}}function l(){let m=Ct(),b=null;if(m.t&&(b=[{name:"main.js",code:m.t,isEntry:!0}]),m.b&&(b=m.b.map(({entry:k,path:v,content:w})=>({name:v,code:w,isEntry:k}))),b)return`https://rollupjs.org/repl/?shareable=${btoa(encodeURIComponent(JSON.stringify({example:null,modules:b,options:{output:{format:"es"},treeshake:!0}})))}`;throw new Error("no code to share")}function u(){let m=Ct(),b=null;if(m.t&&(b=["t",r,m.o||"",m.t]),m.b){b=["b",r,m.o||""];for(let{entry:k,path:v,content:w}of m.b)b.push(k?"e":"",v,w)}if(b)return`https://esbuild.github.io/try/#${btoa(b.join("\0")).replace(/=+$/,"")}`;throw new Error("no code to share")}Qe(()=>Fe.subscribe(m=>{m!=="latest"&&Ae.emit("reload",m)}));let d=[[]];function h(){i=this.__value,Ie.set(i)}function f(){i=this.__value,Ie.set(i)}function p(){r=Yt(this),Fe.set(r)}return[r,o,i,s,c,a,h,d,f,p]}var Fn=class extends Q{constructor(e){super(),le(this,e,ys,vs,ne,{})}},so=Fn;var xs=t=>({}),lo=t=>({}),ws=t=>({}),ao=t=>({});function ks(t){let e,n,r,o,i,s=`calc(${t[1]}% - 12.5px)`,c,a,l,u,d,h,f,p,m,b,k=t[7].left,v=wt(k,t,t[6],ao),w=t[7].right,S=wt(w,t,t[6],lo);return{c(){e=E("section"),n=E("div"),v&&v.c(),r=A(),o=E("div"),c=A(),a=E("div"),S&&S.c(),d=A(),h=E("div"),this.h()},l(x){e=$(x,"SECTION",{style:!0,class:!0});var L=I(e);n=$(L,"DIV",{class:!0});var M=I(n);v&&v.l(M),M.forEach(g),r=F(L),o=$(L,"DIV",{class:!0}),I(o).forEach(g),c=F(L),a=$(L,"DIV",{class:!0});var q=I(a);S&&S.l(q),q.forEach(g),L.forEach(g),d=F(x),h=$(x,"DIV",{class:!0,style:!0}),I(h).forEach(g),this.h()},h(){_(n,"class","left svelte-rvhy5u"),we(n,"width",t[1]+"%"),_(o,"class","divider svelte-rvhy5u"),we(o,"left",s),_(a,"class","right svelte-rvhy5u"),we(a,"width",100-t[1]+"%"),_(e,"style",l=t[0]?"":"display: none"),_(e,"class","svelte-rvhy5u"),_(h,"class","mask svelte-rvhy5u"),_(h,"style",f=t[2]?"":"display: none")},m(x,L){T(x,e,L),y(e,n),v&&v.m(n,null),y(e,r),y(e,o),y(e,c),y(e,a),S&&S.m(a,null),T(x,d,L),T(x,h,L),p=!0,m||(b=[Ze(i=t[4].call(null,o,t[5])),Ze(u=t[3].call(null,e))],m=!0)},p(x,[L]){v&&v.p&&(!p||L&64)&&Et(v,k,x,x[6],p?kt(k,x[6],L,ws):$t(x[6]),ao),L&2&&we(n,"width",x[1]+"%"),L&2&&s!==(s=`calc(${x[1]}% - 12.5px)`)&&we(o,"left",s),S&&S.p&&(!p||L&64)&&Et(S,w,x,x[6],p?kt(w,x[6],L,xs):$t(x[6]),lo),L&2&&we(a,"width",100-x[1]+"%"),(!p||L&1&&l!==(l=x[0]?"":"display: none"))&&_(e,"style",l),(!p||L&4&&f!==(f=x[2]?"":"display: none"))&&_(h,"style",f)},i(x){p||(O(v,x),O(S,x),p=!0)},o(x){R(v,x),R(S,x),p=!1},d(x){x&&(g(e),g(d),g(h)),v&&v.d(x),S&&S.d(x),m=!1,se(b)}}}function Es(t,e,n){let{$$slots:r={},$$scope:o}=e,{show:i=!0}=e,s=50,c=!1,a=0,l=0,u=0,d=function(m){let b=()=>{let v=m.getBoundingClientRect(),w=parseInt(getComputedStyle(m).paddingLeft)||0;a=v.left+w,l=v.width-w*2},k=new ResizeObserver(b);return k.observe(m),b(),{destroy(){k.disconnect()}}},h=function(m,b){let k=v=>{if(!v.isPrimary)return;ze(v),m.setPointerCapture(v.pointerId),n(2,c=!0);let w=v.currentTarget.getBoundingClientRect();u=v.clientX-w.left-w.width/2;let S=()=>{n(2,c=!1),m.releasePointerCapture(v.pointerId),window.removeEventListener("pointermove",b,!1),window.removeEventListener("pointerup",S,!1),window.removeEventListener("pointercancel",S,!1)};window.addEventListener("pointermove",b,!1),window.addEventListener("pointerup",S,!1),window.addEventListener("pointercancel",S,!1)};return m.addEventListener("pointerdown",k),{destroy(){m.removeEventListener("pointerdown",k)}}};function f(p){let m=p.clientX-a-u;n(1,s=eo(100*m/l,0,100))}return t.$$set=p=>{"show"in p&&n(0,i=p.show),"$$scope"in p&&n(6,o=p.$$scope)},[i,s,c,d,h,f,o,r]}var Rn=class extends Q{constructor(e){super(),le(this,e,Es,ks,ne,{show:0})}},co=Rn;function ln(t){let e=`\x1B[31m\u2718 \x1B[41;31m[\x1B[41;97mERROR\x1B[41;31m]\x1B[0m \x1B[1m${t&&t.message||t}\x1B[0m`,n=t&&t.A,r=t&&t.ee;if(n&&(e+=uo(n)),r)for(let o of r)e+=` ${o._}`,o.A&&(e+=uo(o.A));return e}function uo({V:t,g:e,w:n,F:r,H:o,te:i}){let s=r<2?"^":"~".repeat(r),c=` ${t}:${e}:${n}: @@ -37,9 +37,9 @@ navigator.serviceWorker?.register("sw.js").then(t=>console.log("registered sw.js `+s:a?", ":s,l+=e(u,s,!1),a||(l+=`, `);return l!=="["&&!a&&(l+=r),l+"]"}let c="{";for(let a in n){let l=n[a];c+=c==="{"?o?` `+s:" ":o?s:", ",c+=`${/^[A-Za-z$_][A-Za-z0-9$_]*$/.test(a)?a:e(a,"")}: ${e(l,s)}`,o&&(c+=`, -`)}return c!=="{"&&(c+=o?r:" "),c+"}"};return e(t,"")}var js=null,_t=null,Ue=null,Pn=async()=>null;Ae.on("reload",t=>Pn(t));var an=new Promise((t,e)=>{Pn=n=>{let r=go(n);return r.then(t,e),Pn=o=>(an.then(i=>i.terminate()),an=go(o),an),r}}),mo=(t,e)=>(Ae.emit("status",`Fetching ${t}`),fetch(t,e));async function _o(t){let e=new AbortController,n=setTimeout(()=>e.abort("Timeout"),5e3);try{let r=await mo(`https://cdn.jsdelivr.net/npm/${t}`);if(r.ok)return clearTimeout(n),r}catch(r){console.error(r)}return mo(`https://unpkg.com/${t}`)}async function go(t){let e;Ae.emit("status",`Loading esbuild ${t}\u2026`);try{_t&&_t.D(),Ue&&Ue.D(),_t=null,Ue=null;let[n,r,o]=t.split(".").map(f=>+f),i=n===0&&(r<8||r===8&&o<33)?"":".min",[s,c,a]=await Promise.all([js||=fetch("worker.js").then(f=>f.text()),_o(`esbuild-wasm@${t}/lib/browser${i}.js`).then(f=>f.text()),_o(`esbuild-wasm@${t}/esbuild.wasm`).then(f=>f.arrayBuffer())]);zs(c,a.slice(0));let l=s.lastIndexOf("//# sourceMappingURL="),u=l>=0?s.slice(0,l):s,d=[c,u],h=URL.createObjectURL(new Blob(d,{type:"application/javascript"}));return await new Promise((f,p)=>{let m=new Worker(h);m.onmessage=b=>{m.onmessage=null,b.data.K==="success"?(f(m),Ae.emit("status","Loaded esbuild "+t),Ae.emit("ready")):(p(new Error("Failed to create worker")),e=b.data.ne),URL.revokeObjectURL(h)},m.postMessage([t,a],[a])})}catch(n){throw Ae.emit("status",e||n+""),n}}var mt=null;function zs(t,e){let n=URL.createObjectURL(new Blob([t],{type:"application/javascript"}));mt&&mt.remove(),mt=document.createElement("script"),mt.onload=async()=>{let r=window.esbuild,o={wasmURL:URL.createObjectURL(new Blob([e],{type:"application/wasm"}))};r.startService?await r.startService(o):await r.initialize(o),console.log("loaded esbuild @",r.version,r)},mt.src=n,document.head.appendChild(mt)}function gt(t){function e(n,r){_t?(Ue&&Ue.D(),Ue=r):(_t=r,n.onmessage=o=>{n.onmessage=null,r.re(o.data),_t=null,Ue&&(e(n,Ue),Ue=null)},n.postMessage(r.oe))}return new Promise((n,r)=>{an.then(o=>e(o,{oe:t,re:n,D:()=>r(new Error("Task aborted"))}),r)})}var Ts=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Is=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Os=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Cs=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bo=(t,e,n)=>{let r=t;return typeof e=="string"||Array.isArray(e)?r=t.toLocaleString(e,n):(e===!0||n!==void 0)&&(r=t.toLocaleString(void 0,n)),r};function cn(t,e){if(!Number.isFinite(t))throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);e={bits:!1,binary:!1,space:!0,...e};let n=e.bits?e.binary?Cs:Os:e.binary?Is:Ts,r=e.space?" ":"";if(e.signed&&t===0)return` 0${r}${n[0]}`;let o=t<0,i=o?"-":e.signed?"+":"";o&&(t=-t);let s;if(e.minimumFractionDigits!==void 0&&(s={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(s={maximumFractionDigits:e.maximumFractionDigits,...s}),t<1){let u=bo(t,e.locale,s);return i+u+r+n[0]}let c=Math.min(Math.floor(e.binary?Math.log(t)/Math.log(1024):Math.log10(t)/3),n.length-1);t/=(e.binary?1024:1e3)**c,s||(t=t.toPrecision(3));let a=bo(Number(t),e.locale,s),l=n[c];return i+a+r+l}var Un=$e?new Worker("hljs.js"):null,Dn=new Map;Un?.addEventListener("message",t=>{let{id:e,value:n}=t.data,r=Dn.get(e);r&&(r(n),Dn.delete(e))});var Bn=1;function Ls(t,e){if(!Un)return new Promise(dt);let n,r=new Promise(o=>n=o);return Dn.set(Bn,n),Un.postMessage({id:Bn,code:t,lang:e}),Bn++,r}var Jn=class{constructor(e,n){this.node=e;this.token=n}cancelled=!1;replaceInnerHTML=e=>{clearTimeout(this.token),this.cancelled||(this.node.innerHTML=e)};cancel(){clearTimeout(this.token),this.cancelled=!0}},Ms=1e5,vo=function(e,n){let r=null,o=({code:c,loader:a})=>{if(r&&(r.cancel(),r=null),c&&c.length>Ms){e.innerText=c;return}c?(r=new Jn(e,setTimeout(()=>{e.innerText=c},50)),Ls(c,a).then(r.replaceInnerHTML)):e.innerText=""},i=c=>{ze(c);let a=document.createRange();a.selectNodeContents(e);let l=window.getSelection();l&&(l.removeAllRanges(),l.addRange(a))},s=()=>{e.removeEventListener("dblclick",i),r&&(r.cancel(),r=null)};return e.addEventListener("dblclick",i),o(n),{update:o,destroy:s}};var As=t=>({}),yo=t=>({});function xo(t){let e,n=t[13].header,r=wt(n,t,t[12],yo),o=r||Ns(t);return{c(){o&&o.c()},l(i){o&&o.l(i)},m(i,s){o&&o.m(i,s),e=!0},p(i,s){r?r.p&&(!e||s&4096)&&Et(r,n,i,i[12],e?kt(n,i[12],s,As):$t(i[12]),yo):o&&o.p&&(!e||s&325)&&o.p(i,e?s:-1)},i(i){e||(O(o,i),e=!0)},o(i){R(o,i),e=!1},d(i){o&&o.d(i)}}}function Fs(t){let e,n,r,o,i,s,c,a,l,u,d,h;return{c(){e=E("button"),n=E("i"),i=A(),s=E("input"),c=A(),a=E("button"),l=E("i"),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0});var p=I(e);n=$(p,"I",{class:!0}),I(n).forEach(g),p.forEach(g),i=F(f),s=$(f,"INPUT",{placeholder:!0,spellcheck:!0,class:!0}),c=F(f),a=$(f,"BUTTON",{class:!0,title:!0});var m=I(a);l=$(m,"I",{class:!0}),I(l).forEach(g),m.forEach(g),this.h()},h(){_(n,"class",r=t[2]?"i-mdi-checkbox-marked-outline":"i-mdi-checkbox-blank-outline"),_(e,"class","entry svelte-1t1btx"),_(e,"title",o="entry: "+(t[2]?"yes":"no")),_(s,"placeholder",""),_(s,"spellcheck","false"),_(s,"class","svelte-1t1btx"),_(l,"class","i-mdi-close"),_(a,"class","remove svelte-1t1btx"),_(a,"title",u="remove "+(t[0]||"it"))},m(f,p){T(f,e,p),y(e,n),T(f,i,p),T(f,s,p),_e(s,t[0]),T(f,c,p),T(f,a,p),y(a,l),d||(h=[Y(e,"click",t[14]),Y(s,"input",t[15]),Y(a,"click",t[16])],d=!0)},p(f,p){p&4&&r!==(r=f[2]?"i-mdi-checkbox-marked-outline":"i-mdi-checkbox-blank-outline")&&_(n,"class",r),p&4&&o!==(o="entry: "+(f[2]?"yes":"no"))&&_(e,"title",o),p&1&&s.value!==f[0]&&_e(s,f[0]),p&1&&u!==(u="remove "+(f[0]||"it"))&&_(a,"title",u)},d(f){f&&(g(e),g(i),g(s),g(c),g(a)),d=!1,se(h)}}}function Rs(t){let e,n,r,o=t[6]&&wo(t);return{c(){e=E("input"),n=A(),o&&o.c(),r=Z(),this.h()},l(i){e=$(i,"INPUT",{placeholder:!0,spellcheck:!0,class:!0}),n=F(i),o&&o.l(i),r=Z(),this.h()},h(){_(e,"placeholder",""),_(e,"spellcheck","false"),e.value=t[0],e.readOnly=!0,_(e,"class","svelte-1t1btx")},m(i,s){T(i,e,s),T(i,n,s),o&&o.m(i,s),T(i,r,s)},p(i,s){s&1&&e.value!==i[0]&&(e.value=i[0]),i[6]?o?o.p(i,s):(o=wo(i),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(i){i&&(g(e),g(n),g(r)),o&&o.d(i)}}}function wo(t){let e,n=cn(t[6],{binary:!0})+"",r;return{c(){e=E("span"),r=H(n),this.h()},l(o){e=$(o,"SPAN",{class:!0});var i=I(e);r=K(i,n),i.forEach(g),this.h()},h(){_(e,"class","size svelte-1t1btx")},m(o,i){T(o,e,i),y(e,r)},p(o,i){i&64&&n!==(n=cn(o[6],{binary:!0})+"")&&G(r,n)},d(o){o&&g(e)}}}function Ns(t){let e;function n(i,s){return i[8]?Rs:Fs}let r=n(t,-1),o=r(t);return{c(){e=E("header"),o.c(),this.h()},l(i){e=$(i,"HEADER",{class:!0});var s=I(e);o.l(s),s.forEach(g),this.h()},h(){_(e,"class","svelte-1t1btx"),Pe(e,"entry",t[2])},m(i,s){T(i,e,s),o.m(e,null)},p(i,s){r===(r=n(i,s))&&o?o.p(i,s):(o.d(1),o=r(i),o&&(o.c(),o.m(e,null))),s&4&&Pe(e,"entry",i[2])},d(i){i&&g(e),o.d()}}}function Ps(t){let e,n,r;return{c(){e=E("textarea"),this.h()},l(o){e=$(o,"TEXTAREA",{class:!0,rows:!0,spellcheck:!0,placeholder:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","editor svelte-1t1btx"),_(e,"rows",t[4]),_(e,"spellcheck","false"),_(e,"placeholder",t[7])},m(o,i){T(o,e,i),_e(e,t[1]),n||(r=Y(e,"input",t[17]),n=!0)},p(o,i){i&16&&_(e,"rows",o[4]),i&128&&_(e,"placeholder",o[7]),i&2&&_e(e,o[1])},d(o){o&&g(e),n=!1,r()}}}function Bs(t){let e;function n(i,s){return i[9]==="raw"?Js:i[9]==="comment"?Ds:Us}let r=n(t,-1),o=r(t);return{c(){o.c(),e=Z()},l(i){o.l(i),e=Z()},m(i,s){o.m(i,s),T(i,e,s)},p(i,s){r===(r=n(i,s))&&o?o.p(i,s):(o.d(1),o=r(i),o&&(o.c(),o.m(e.parentNode,e)))},d(i){i&&g(e),o.d(i)}}}function Us(t){let e,n,r,o;return{c(){e=E("pre"),this.h()},l(i){e=$(i,"PRE",{class:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","svelte-1t1btx")},m(i,s){T(i,e,s),r||(o=Ze(n=vo.call(null,e,{code:t[1],loader:t[9]||ko(t[0])})),r=!0)},p(i,s){n&&Ee(n.update)&&s&515&&n.update.call(null,{code:i[1],loader:i[9]||ko(i[0])})},d(i){i&&g(e),r=!1,o()}}}function Ds(t){let e,n;return{c(){e=E("pre"),n=H(t[1]),this.h()},l(r){e=$(r,"PRE",{class:!0});var o=I(e);n=K(o,t[1]),o.forEach(g),this.h()},h(){_(e,"class","hljs-comment svelte-1t1btx")},m(r,o){T(r,e,o),y(e,n)},p(r,o){o&2&&G(n,r[1])},d(r){r&&g(e)}}}function Js(t){let e,n;return{c(){e=E("pre"),n=H(t[1]),this.h()},l(r){e=$(r,"PRE",{class:!0});var o=I(e);n=K(o,t[1]),o.forEach(g),this.h()},h(){_(e,"class","svelte-1t1btx")},m(r,o){T(r,e,o),y(e,n)},p(r,o){o&2&&G(n,r[1])},d(r){r&&g(e)}}}function qs(t){let e,n,r,o=(t[3]||t[11].header)&&xo(t);function i(a,l){return a[8]?Bs:Ps}let s=i(t,-1),c=s(t);return{c(){e=E("article"),o&&o.c(),n=A(),c.c(),this.h()},l(a){e=$(a,"ARTICLE",{"data-label":!0,class:!0});var l=I(e);o&&o.l(l),n=F(l),c.l(l),l.forEach(g),this.h()},h(){_(e,"data-label",t[5]),_(e,"class","svelte-1t1btx")},m(a,l){T(a,e,l),o&&o.m(e,null),y(e,n),c.m(e,null),r=!0},p(a,[l]){a[3]||a[11].header?o?(o.p(a,l),l&2056&&O(o,1)):(o=xo(a),o.c(),O(o,1),o.m(e,n)):o&&(fe(),R(o,1,1,()=>{o=null}),pe()),s===(s=i(a,l))&&c?c.p(a,l):(c.d(1),c=s(a),c&&(c.c(),c.m(e,null))),(!r||l&32)&&_(e,"data-label",a[5])},i(a){r||(O(o),r=!0)},o(a){R(o),r=!1},d(a){a&&g(e),o&&o.d(),c.d()}}}function ko(t){return t.endsWith(".css")?"css":t.endsWith(".map")||t.endsWith(".json")?"json":"js"}function Ws(t,e,n){let{$$slots:r={},$$scope:o}=e,i=zr(r),{header:s=!1}=e,{rows:c=1}=e,{name:a=""}=e,{label:l=""}=e,{content:u=""}=e,{size:d=0}=e,{placeholder:h=""}=e,{entry:f=!1}=e,{readonly:p=!1}=e,{lang:m=""}=e,b=et(),k=()=>n(2,f=!f);function v(){a=this.value,n(0,a)}let w=()=>b("remove");function S(){u=this.value,n(1,u)}return t.$$set=x=>{"header"in x&&n(3,s=x.header),"rows"in x&&n(4,c=x.rows),"name"in x&&n(0,a=x.name),"label"in x&&n(5,l=x.label),"content"in x&&n(1,u=x.content),"size"in x&&n(6,d=x.size),"placeholder"in x&&n(7,h=x.placeholder),"entry"in x&&n(2,f=x.entry),"readonly"in x&&n(8,p=x.readonly),"lang"in x&&n(9,m=x.lang),"$$scope"in x&&n(12,o=x.$$scope)},[a,u,f,s,c,l,d,h,p,m,b,i,o,r,k,v,w,S]}var qn=class extends Q{constructor(e){super(),le(this,e,Ws,qs,ne,{header:3,rows:4,name:0,label:5,content:1,size:6,placeholder:7,entry:2,readonly:8,lang:9})}},ke=qn;var Vs=[["--bundle","Bundle all dependencies into the output files"],["--define:K=V","Substitute K with V while parsing"],["--external:M","Exclude module M from the bundle (can use * wildcards)"],["--format=...","Output format (iife | cjs | esm, no default when not bundling, otherwise default is iife when platform is browser and cjs when platform is node)"],["--loader:X=L","Use loader L to load file extension X, where L is one of: base64 | binary | copy | css | dataurl | empty | file | global-css | js | json | jsx | local-css | text | ts | tsx"],["--minify","Minify the output (sets all --minify-* flags)"],["--outdir=...","The output directory (for multiple entry points)"],["--outfile=...","The output file (for one entry point)"],["--packages=...",'Set to "external" to avoid bundling any package'],["--platform=...","Platform target (browser | node | neutral, default browser)"],["--sourcemap","Emit a source map"],["--splitting","Enable code splitting (currently only for esm)"],["--target=...","Environment target (e.g. es2017, chrome58, firefox57, safari11, edge16, node10, ie9, opera45, default esnext)"],["--allow-overwrite","Allow output files to overwrite input files"],["--asset-names=...",'Path template to use for "file" loader files (default "[name]-[hash]")'],["--banner:T=...","Text to be prepended to each output file of type T where T is one of: css | js"],["--charset=utf8","Do not escape UTF-8 code points"],["--chunk-names=...",'Path template to use for code splitting chunks (default "[name]-[hash]")'],["--color=...","Force use of color terminal escapes (true | false)"],["--drop:...","Remove certain constructs (console | debugger)"],["--drop-labels=...","Remove labeled statements with these label names"],["--entry-names=...",'Path template to use for entry point output paths (default "[dir]/[name]", can also use "[hash]")'],["--footer:T=...","Text to be appended to each output file of type T where T is one of: css | js"],["--global-name=...","The name of the global for the IIFE format"],["--ignore-annotations","Enable this to work with packages that have incorrect tree-shaking annotations"],["--inject:F","Import the file F into all input files and automatically replace matching globals with imports"],["--jsx-dev","Use React's automatic runtime in development mode"],["--jsx-factory=...","What to use for JSX instead of React.createElement"],["--jsx-fragment=...","What to use for JSX instead of React.Fragment"],["--jsx-import-source=...",'Override the package name for the automatic runtime (default "react")'],["--jsx-side-effects","Do not remove unused JSX expressions"],["--jsx=...",`Set to "automatic" to use React's automatic runtime or to "preserve" to disable transforming JSX to JS`],["--keep-names",'Preserve "name" on functions and classes'],["--legal-comments=...","Where to place legal comments (none | inline | eof | linked | external, default eof when bundling and inline otherwise)"],["--line-limit=...","Lines longer than this will be wrap onto a new line"],["--log-level=...","Disable logging (verbose | debug | info | warning | error | silent, default info)"],["--log-limit=...","Maximum message count or 0 to disable (default 6)"],["--log-override:X=Y","Use log level Y for log messages with identifier X"],["--main-fields=...",'Override the main file order in package.json (default "browser,module,main" when platform is browser and "main,module" when platform is node)'],["--mangle-cache=...",'Save "mangle props" decisions to a JSON file'],["--mangle-props=...","Rename all properties matching a regular expression"],["--mangle-quoted=...","Enable renaming of quoted properties (true | false)"],["--metafile=...","Write metadata about the build to a JSON file (see also: https://esbuild.github.io/analyze/)"],["--minify-whitespace","Remove whitespace in output files"],["--minify-identifiers","Shorten identifiers in output files"],["--minify-syntax","Use equivalent but shorter syntax in output files"],["--out-extension:.js=.mjs",'Use a custom output extension instead of ".js"'],["--outbase=...","The base path used to determine entry point output paths (for multiple entry points)"],["--public-path=...",'Set the base URL for the "file" loader'],["--pure:N","Mark the name N as a pure function for tree shaking"],["--reserve-props=...","Do not mangle these properties"],["--resolve-extensions=...",'A comma-separated list of implicit extensions (default ".tsx,.ts,.jsx,.js,.css,.json")'],["--source-root=...",'Sets the "sourceRoot" field in generated source maps'],["--sourcefile=...","Set the source file for the source map (for stdin)"],["--sourcemap=external","Do not link to the source map with a comment"],["--sourcemap=inline","Emit the source map with an inline data URL"],["--sources-content=false",'Omit "sourcesContent" in generated source maps'],["--supported:F=...","Consider syntax F to be supported (true | false)"],["--tree-shaking=...","Force tree shaking on or off (false | true)"],["--tsconfig=...","Use this tsconfig.json file instead of other ones"]],Hs=["--bundle","--external","--outdir","--outfile","--packages","--splitting","--allow-overwrite","--asset-names","--chunk-names","--entry-names","--inject","--main-fields","--metafile","--out-extension","--outbase","--public-path","--resolve-extensions","--tsconfig"];function Eo(t,e){let n=[];for(let[r,o]of Vs)if(r.startsWith(t)){if(e){if(Hs.some(i=>r.startsWith(i)))continue;r.startsWith("--loader")?(r="--loader=L",o=o.replace("file extension X","file")):(r.startsWith("--banner")||r.startsWith("--footer"))&&(r=r.slice(0,r.indexOf(":T"))+"=...",o=o.slice(0,o.indexOf(" of type T")))}n.push([r,o])}return n}function $o(t){let e,n,r=t[6]+1+"",o,i,s=t[7].length+"",c,a,l;return{c(){e=E("span"),n=H("["),o=H(r),i=H("/"),c=H(s),a=H("] "),l=H(t[5]),this.h()},l(u){e=$(u,"SPAN",{class:!0});var d=I(e);n=K(d,"["),o=K(d,r),i=K(d,"/"),c=K(d,s),a=K(d,"] "),l=K(d,t[5]),d.forEach(g),this.h()},h(){_(e,"class","info svelte-2um5t9")},m(u,d){T(u,e,d),y(e,n),y(e,o),y(e,i),y(e,c),y(e,a),y(e,l)},p(u,d){d&64&&r!==(r=u[6]+1+"")&&G(o,r),d&128&&s!==(s=u[7].length+"")&&G(c,s),d&32&&G(l,u[5])},d(u){u&&g(e)}}}function Xs(t){let e,n,r,o,i,s,c=`${t[2]}px`,a=`${t[3]}px`,l,u,d,h,f,p,m,b,k,v,w,S,x=t[8]?"CLI":"JS",C,M,q,N,ce=' Reset options',U,L,j=t[5]&&$o(t);return{c(){e=E("article"),n=E("div"),r=E("aside"),o=E("span"),i=H(t[4]),s=A(),j&&j.c(),l=A(),u=E("textarea"),f=A(),p=E("footer"),m=E("button"),b=E("i"),v=A(),w=E("span"),S=H("Switch to "),C=H(x),M=H(" syntax"),q=A(),N=E("button"),N.innerHTML=ce,this.h()},l(z){e=$(z,"ARTICLE",{class:!0});var P=I(e);n=$(P,"DIV",{class:!0});var W=I(n);r=$(W,"ASIDE",{class:!0});var D=I(r);o=$(D,"SPAN",{class:!0});var J=I(o);i=K(J,t[4]),J.forEach(g),s=F(D),j&&j.l(D),D.forEach(g),l=F(W),u=$(W,"TEXTAREA",{"data-options":!0,class:!0,rows:!0,spellcheck:!0,placeholder:!0}),I(u).forEach(g),W.forEach(g),f=F(P),p=$(P,"FOOTER",{class:!0});var X=I(p);m=$(X,"BUTTON",{class:!0});var ge=I(m);b=$(ge,"I",{class:!0}),I(b).forEach(g),v=F(ge),w=$(ge,"SPAN",{class:!0});var ae=I(w);S=K(ae,"Switch to "),C=K(ae,x),M=K(ae," syntax"),ae.forEach(g),ge.forEach(g),q=F(X),N=$(X,"BUTTON",{class:!0,"data-svelte-h":!0}),re(N)!=="svelte-17u77gh"&&(N.innerHTML=ce),X.forEach(g),P.forEach(g),this.h()},h(){_(o,"class","hint svelte-2um5t9"),_(r,"class","svelte-2um5t9"),we(r,"left",c),we(r,"top",a),_(u,"data-options",""),_(u,"class","editor svelte-2um5t9"),_(u,"rows",d=1),_(u,"spellcheck","false"),_(u,"placeholder",h="e.g. --minify or { minify: true }"),_(n,"class","svelte-2um5t9"),_(b,"class",k=t[8]?"i-mdi-bash":"i-mdi-code-json"),_(w,"class","svelte-2um5t9"),_(m,"class","format svelte-2um5t9"),_(N,"class","reload svelte-2um5t9"),_(p,"class","svelte-2um5t9"),_(e,"class","svelte-2um5t9")},m(z,P){T(z,e,P),y(e,n),y(n,r),y(r,o),y(o,i),y(r,s),j&&j.m(r,null),y(n,l),y(n,u),t[13](u),_e(u,t[0]),y(e,f),y(e,p),y(p,m),y(m,b),y(m,v),y(m,w),y(w,S),y(w,C),y(w,M),y(p,q),y(p,N),U||(L=[Y(u,"input",t[14]),Y(u,"input",t[11]),Y(u,"keydown",t[12],!0),Y(m,"click",t[10]),Y(N,"click",t[15])],U=!0)},p(z,[P]){P&16&&G(i,z[4]),z[5]?j?j.p(z,P):(j=$o(z),j.c(),j.m(r,null)):j&&(j.d(1),j=null),P&4&&c!==(c=`${z[2]}px`)&&we(r,"left",c),P&8&&a!==(a=`${z[3]}px`)&&we(r,"top",a),P&1&&_e(u,z[0]),P&256&&k!==(k=z[8]?"i-mdi-bash":"i-mdi-code-json")&&_(b,"class",k),P&256&&x!==(x=z[8]?"CLI":"JS")&&G(C,x)},i:B,o:B,d(z){z&&g(e),j&&j.d(),t[13](null),U=!1,se(L)}}}function Ks(t,e,n){let r,o;V(t,Ie,U=>n(20,o=U));let{content:i=""}=e,s=et(),c;function a(){let U=He(i,o==="transform"?"transform":"build");r?gn(c,po(U)):gn(c,ho(U))}let l=0,u=0,d="",h="",f=0,p=[],m="",b=null,k=null;function v(U,L,j){b||(b=document.createElement("pre"),b.style.position="absolute",b.style.top="0",b.style.left="0",b.style.visibility="hidden",b.style.border="1px solid",b.style.padding="8px",b.style.font="var(--code-font)",b.style.whiteSpace="pre-wrap",b.style.pointerEvents="none"),k||(k=document.createElement("span")),b.innerText="",document.body.append(b),b.style.width=U.clientWidth+"px",b.append(L,k,j);let z=b.getBoundingClientRect(),P=k.getBoundingClientRect();n(2,l=P.x-z.x),n(3,u=P.y-z.y),b.remove()}function w(){let[U,L]=p[f];n(4,d=U.slice(m.length)),n(5,h=d?L:"")}let S=null;function x(U){if(r||(S||=matchMedia("(max-width: 800px)"),S.matches))return M();let L=U.target,[j,z]=[L.selectionStart,L.selectionEnd];if(j!==z)return M();let P=L.value,W=P.slice(0,j),D=P.slice(j),J=W.lastIndexOf("--");if(J<0)return M();let X=W.slice(J);if(!/^[-\w]+$/.test(X))return M();m=X,n(7,p=Eo(X,o==="transform")),p.length?(n(6,f=0),v(L,W,D),w()):M()}function C(U){if(d){if(U.key==="ArrowRight"||U.key==="Tab"&&!U.shiftKey||U.key==="Enter"&&!U.ctrlKey&&!U.shiftKey){ze(U);let L=d.match(/^[-\w]*(?:[:=][a-z]*)?/),j=L?L[0]:"";j&&Ye(U.target,j),M();return}if(U.key==="ArrowUp"&&p.length){ze(U),n(6,f=(f+p.length-1)%p.length),w();return}if(U.key==="ArrowDown"&&p.length){ze(U),n(6,f=(f+1)%p.length),w();return}U.key==="Escape"&&M()}U.key===" "&&U.ctrlKey&&(ze(U),x(U))}function M(){n(4,d=""),n(5,h="")}function q(U){Le[U?"unshift":"push"](()=>{c=U,n(1,c)})}function N(){i=this.value,n(0,i)}let ce=()=>s("reload");return t.$$set=U=>{"content"in U&&n(0,i=U.content)},t.$$.update=()=>{t.$$.dirty&1&&n(8,r=/^{|^\/[*/]/.test(i.trimStart()))},[i,c,l,u,d,h,f,p,r,s,a,x,C,q,N,ce]}var Wn=class extends Q{constructor(e){super(),le(this,e,Ks,Xs,ne,{content:0})}},un=Wn;function Ys(t){let e,n,r,o,i,s,c,a;function l(f){t[7](f)}let u={label:"INPUT",rows:2,placeholder:"(enter your code here)"};t[2]!==void 0&&(u.content=t[2]),n=new ke({props:u}),Le.push(()=>qe(n,"content",l));function d(f){t[8](f)}let h={};return t[1]!==void 0&&(h.content=t[1]),i=new un({props:h}),Le.push(()=>qe(i,"content",d)),i.$on("reload",t[3]),{c(){e=E("div"),oe(n.$$.fragment),o=A(),oe(i.$$.fragment),this.h()},l(f){e=$(f,"DIV",{"data-transform":!0,style:!0,class:!0});var p=I(e);ie(n.$$.fragment,p),o=F(p),ie(i.$$.fragment,p),p.forEach(g),this.h()},h(){_(e,"data-transform",""),_(e,"style",c=t[0]?"":"display: none"),_(e,"class","svelte-8svfb8")},m(f,p){T(f,e,p),ee(n,e,null),y(e,o),ee(i,e,null),a=!0},p(f,[p]){let m={};!r&&p&4&&(r=!0,m.content=f[2],Je(()=>r=!1)),n.$set(m);let b={};!s&&p&2&&(s=!0,b.content=f[1],Je(()=>s=!1)),i.$set(b),(!a||p&1&&c!==(c=f[0]?"":"display: none"))&&_(e,"style",c)},i(f){a||(O(n.$$.fragment,f),O(i.$$.fragment,f),a=!0)},o(f){R(n.$$.fragment,f),R(i.$$.fragment,f),a=!1},d(f){f&&g(e),te(n),te(i)}}}function Zs(t,e,n){let r,o,i,s,c;V(t,xe,f=>n(9,r=f)),V(t,Ce,f=>n(4,o=f)),V(t,Ve,f=>n(2,i=f)),V(t,sn,f=>n(5,s=f)),V(t,Ie,f=>n(6,c=f));let{show:a=!0}=e,l=c==="transform"?o:"";function u(){n(1,l=""),nn("[data-options]")}function d(f){i=f,Ve.set(i)}function h(f){l=f,n(1,l)}return t.$$set=f=>{"show"in f&&n(0,a=f.show)},t.$$.update=()=>{if(t.$$.dirty&118&&c==="transform"&&(ve(Ce,o=l,o),s))try{gt({U:"transform",J:i,L:He(o,"transform")}).then(xe.set,dt)}catch(f){ve(xe,r={$:ln(f)},r)}},[a,l,i,u,o,s,c,d,h]}var Hn=class extends Q{constructor(e){super(),le(this,e,Zs,Ys,ne,{show:0})}},So=Hn;function Mt(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function Kn(t,e){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);let r=Mt(n);return(o,i)=>r.then(s=>i(s.transaction(e,o).objectStore(e)))}var Xn;function Yn(){return Xn||(Xn=Kn("keyval-store","keyval")),Xn}function jo(t,e=Yn()){return e("readonly",n=>Mt(n.get(t)))}function zo(t,e,n=Yn()){return n("readwrite",r=>(r.put(e,t),Mt(r.transaction)))}function Gs(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},Mt(t.transaction)}function To(t=Yn()){return t("readonly",e=>{if(e.getAllKeys)return Mt(e.getAllKeys());let n=[];return Gs(e,r=>n.push(r.key)).then(()=>n)})}var At=$e?Kn("npm","packages"):void 0;function Zn(t,e){return jo(`${t}@${e}`,At)}function Gn(t,e,n){return zo(`${t}@${e}`,n,At)}$e&&Object.assign(window,{NPM_PACKAGES:At,idb:{get:Zn,set:Gn,NPM_PACKAGES:At},cached:()=>To(At)});function el(t){return new Uint8Array(t)}async function tl(t){try{let e=await fetch(`https://cdn.jsdelivr.net/npm/${t}`);if(e.ok)return e}catch{}return fetch(`https://unpkg.com/${t}`)}async function nl(t,e){let n=await tl(t);if(n.ok){let r=await n.text();return new Promise((o,i)=>{let s=URL.createObjectURL(new Blob([r],{type:"text/javascript"})),c=document.createElement("script"),a=()=>{URL.revokeObjectURL(s),c.remove()};c.onload=()=>{a(),e in window?o(window[e]):i(new Error(`importScript(): not found ${e} from global`))},c.onerror=()=>{a(),i(new Error(`importScript(): failed to load ${e}`))},c.src=s,document.head.appendChild(c)})}else throw new Error(await n.text())}async function rl(t){if(typeof DecompressionStream<"u"){let e=new DecompressionStream("gzip"),n=e.writable.getWriter();return n.write(t),n.close(),new Response(e.readable).arrayBuffer().then(el)}else return(await nl("pako@2.1.0/dist/pako_inflate.min.js","pako")).inflate(t)}var ol=new TextDecoder;function rt(t,e,n){let r=new Uint8Array(t.buffer,e,n),o=r.indexOf(0);return ol.decode(r.subarray(0,o===-1?n:o))}function Io(t,e,n){let r=/^(\d+) ([^=]+)=(.*)$/gm,o=rt(t,e,n),i={path:void 0,size:void 0};for(let s;s=r.exec(o);){let[,c,a,l]=s;a==="path"&&(i.path=l),a==="size"&&(i.size=Number.parseInt(l))}return i}var il=t=>t.replace(/\\+/g,"/").replace(/^\.\/|^\./,"");async function Oo(t){let e=[];t[0]===31&&t[1]===139&&(t=await rl(t));let n=t.byteLength,r=new DataView(t.buffer),o,i;for(let s=0;s+40&&(c=h+"/"+c)}s+=512,u==="0"||u===""?a=rt(r,s,l):u==="g"?o=Io(r,s,l):u==="x"&&(i=Io(r,s,l)),s+=Math.ceil(l/512)*512,!(u==="g"||u==="x")&&(o&&(o.path&&(c=o.path),o.size&&(l=o.size)),i&&(i.path&&(c=i.path),i.size&&(l=i.size),i=void 0),(u==="0"||u==="")&&(c=il(c),c=c.replace(/^[^/]+\/?/,""),c=c.replace(/^\.\//,""),e.push({path:c,content:a})))}return e}function Co(t,e,n){let r=t.slice();return r[17]=e[n],r}function Lo(t,e,n){let r=t.slice();return r[17]=e[n].path,r}function sl(t){let e;return{c(){e=E("i"),this.h()},l(n){e=$(n,"I",{class:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","i-mdi-package-variant-closed-plus svelte-83gze3")},m(n,r){T(n,e,r)},p:B,d(n){n&&g(e)}}}function ll(t){let e,n;return{c(){e=E("i"),this.h()},l(r){e=$(r,"I",{class:!0,title:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","i-mdi-package-variant-closed-check svelte-83gze3"),_(e,"title",n=t[2]?t[2]+" files":"")},m(r,o){T(r,e,o)},p(r,o){o&4&&n!==(n=r[2]?r[2]+" files":"")&&_(e,"title",n)},d(r){r&&g(e)}}}function Mo(t){let e,n='',r,o,i='',s,c,a,l,u,d,h;return{c(){e=E("button"),e.innerHTML=n,r=A(),o=E("button"),o.innerHTML=i,s=A(),c=E("button"),a=E("i"),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),re(e)!=="svelte-eimil1"&&(e.innerHTML=n),r=F(f),o=$(f,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),re(o)!=="svelte-15997bi"&&(o.innerHTML=i),s=F(f),c=$(f,"BUTTON",{class:!0,title:!0});var p=I(c);a=$(p,"I",{class:!0}),I(a).forEach(g),p.forEach(g),this.h()},h(){_(e,"class","view svelte-83gze3"),_(e,"title","view package content"),_(o,"class","open svelte-83gze3"),_(o,"title","explode this package"),_(a,"class","i-mdi-package-variant-closed-remove"),_(c,"class","remove svelte-83gze3"),_(c,"title",l="uninstall "+t[0]),c.disabled=u=!t[2]},m(f,p){T(f,e,p),T(f,r,p),T(f,o,p),T(f,s,p),T(f,c,p),y(c,a),d||(h=[Y(e,"click",t[7]),Y(o,"click",t[9]),Y(c,"click",t[8])],d=!0)},p(f,p){p&1&&l!==(l="uninstall "+f[0])&&_(c,"title",l),p&4&&u!==(u=!f[2])&&(c.disabled=u)},d(f){f&&(g(e),g(r),g(o),g(s),g(c)),d=!1,se(h)}}}function Ao(t){let e,n,r,o="Select files to extract:",i,s,c='',a,l,u,d=[],h=new Map,f,p,m=' Add into list',b,k,v=[],w=new Map,S,x,C,M='Extract',q,N,ce='Cancel',U,L,j=de(t[3].files),z=D=>D[17];for(let D=0;DD[17];for(let D=0;Dt[15].call(u)),_(p,"class","svelte-83gze3"),_(l,"class","svelte-83gze3"),_(k,"class","svelte-83gze3"),_(C,"class","svelte-83gze3"),_(N,"class","svelte-83gze3"),_(x,"class","svelte-83gze3"),e.open=!0,_(e,"class","svelte-83gze3")},m(D,J){T(D,e,J),y(e,n),y(n,r),y(n,i),y(n,s),y(e,a),y(e,l),y(l,u);for(let X=0;X=0?ll:sl}let h=d(t,-1),f=h(t),p=t[6]>=0&&Mo(t),m=t[3]&&Ao(t);return{c(){e=E("div"),f.c(),n=A(),r=E("a"),o=H(t[0]),s=A(),c=E("span"),a=H(t[1]),l=A(),p&&p.c(),u=A(),m&&m.c(),this.h()},l(b){e=$(b,"DIV",{class:!0});var k=I(e);f.l(k),n=F(k),r=$(k,"A",{class:!0,href:!0,target:!0,rel:!0});var v=I(r);o=K(v,t[0]),v.forEach(g),s=F(k),c=$(k,"SPAN",{class:!0});var w=I(c);a=K(w,t[1]),w.forEach(g),l=F(k),p&&p.l(k),u=F(k),m&&m.l(k),k.forEach(g),this.h()},h(){_(r,"class","npm-package__name svelte-83gze3"),_(r,"href",i="https://www.npmjs.com/package/"+t[0]),_(r,"target","_blank"),_(r,"rel","noreferrer"),_(c,"class","npm-package__version svelte-83gze3"),_(e,"class","npm-package svelte-83gze3"),Pe(e,"not-installed",t[6]<0)},m(b,k){T(b,e,k),f.m(e,null),y(e,n),y(e,r),y(r,o),y(e,s),y(e,c),y(c,a),y(e,l),p&&p.m(e,null),y(e,u),m&&m.m(e,null)},p(b,[k]){h===(h=d(b,k))&&f?f.p(b,k):(f.d(1),f=h(b),f&&(f.c(),f.m(e,n))),k&1&&G(o,b[0]),k&1&&i!==(i="https://www.npmjs.com/package/"+b[0])&&_(r,"href",i),k&2&&G(a,b[1]),b[6]>=0?p?p.p(b,k):(p=Mo(b),p.c(),p.m(e,u)):p&&(p.d(1),p=null),b[3]?m?m.p(b,k):(m=Ao(b),m.c(),m.m(e,null)):m&&(m.d(1),m=null),k&64&&Pe(e,"not-installed",b[6]<0)},i:B,o:B,d(b){b&&g(e),f.d(),p&&p.d(),m&&m.d()}}}function cl(t,e,n){let r,o,i;V(t,Oe,S=>n(16,o=S)),V(t,Be,S=>n(14,i=S));let{name:s=""}=e,{version:c=""}=e,{size:a=0}=e;function l(){let S=`https://hyrious.me/npm-browser/?q=${s}@${c}`;window.open(S,"_blank")}function u(){r>=0&&(i.splice(r,1),Be.set(i))}let d=null,h=[],f="";function p(){a&&(n(3,d=i[r]),n(5,f="package.json"),n(4,h=[]))}function m(){n(3,d=null),n(5,f=""),n(4,h=[])}function b(){f&&!h.includes(f)&&(h.push(f),n(4,h))}function k(S){let C=S.currentTarget.dataset?.path;if(C){let M=h.indexOf(C);M>=0&&(h.splice(M,1),n(4,h))}}function v(){if(d==null)return;if(h.length===0)return m();let S=new Set(h);for(let{path:x,content:C}of d.files)S.has(x)&&o.push({entry:!1,path:`node_modules/${d.name}/${x}`,content:C});u(),Oe.set(o),m()}function w(){f=Yt(this),n(5,f),n(3,d)}return t.$$set=S=>{"name"in S&&n(0,s=S.name),"version"in S&&n(1,c=S.version),"size"in S&&n(2,a=S.size)},t.$$.update=()=>{t.$$.dirty&16385&&n(6,r=i.findIndex(S=>S.name===s))},[s,c,a,d,h,f,r,l,u,p,m,b,k,v,i,w]}var Qn=class extends Q{constructor(e){super(),le(this,e,cl,al,ne,{name:0,version:1,size:2})}},No=Qn;var{Map:ul}=jt;function Po(t,e,n){let r=t.slice();r[25]=e[n].name,r[26]=e[n].version,r[27]=e[n].files;let o=r[4][r[25]]||[];return r[28]=o,r}function Bo(t,e,n){let r=t.slice();return r[25]=e[n][0],r[31]=e[n][1],r}function Uo(t,e,n){let r=t.slice();return r[34]=e[n].entry,r[35]=e[n].path,r[36]=e[n].content,r[37]=e,r[38]=n,r}function Do(t){let e,n,r,o,i;function s(d){t[15](d,t[34],t[37],t[38])}function c(d){t[16](d,t[35],t[37],t[38])}function a(d){t[17](d,t[36],t[37],t[38])}function l(){return t[18](t[38])}let u={header:!0,rows:2,label:"INPUT",placeholder:"(enter your code here)"};return t[34]!==void 0&&(u.entry=t[34]),t[35]!==void 0&&(u.name=t[35]),t[36]!==void 0&&(u.content=t[36]),e=new ke({props:u}),Le.push(()=>qe(e,"entry",s)),Le.push(()=>qe(e,"name",c)),Le.push(()=>qe(e,"content",a)),e.$on("remove",l),{c(){oe(e.$$.fragment)},l(d){ie(e.$$.fragment,d)},m(d,h){ee(e,d,h),i=!0},p(d,h){t=d;let f={};!n&&h[0]&8&&(n=!0,f.entry=t[34],Je(()=>n=!1)),!r&&h[0]&8&&(r=!0,f.name=t[35],Je(()=>r=!1)),!o&&h[0]&8&&(o=!0,f.content=t[36],Je(()=>o=!1)),e.$set(f)},i(d){i||(O(e.$$.fragment,d),i=!0)},o(d){R(e.$$.fragment,d),i=!1},d(d){te(e,d)}}}function Jo(t){let e,n,r,o,i=t[25]+"",s,c,a=t[31]+"",l,u,d,h;return{c(){e=E("button"),n=E("i"),r=A(),o=E("span"),s=H(i),c=H("@"),l=H(a),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0});var p=I(e);n=$(p,"I",{class:!0}),I(n).forEach(g),r=F(p),o=$(p,"SPAN",{class:!0});var m=I(o);s=K(m,i),c=K(m,"@"),l=K(m,a),m.forEach(g),p.forEach(g),this.h()},h(){_(n,"class","i-mdi-package-variant-closed-plus svelte-1oui2el"),_(o,"class","sans-serif svelte-1oui2el"),_(e,"class","not-installed svelte-1oui2el"),_(e,"title",u="npm install "+t[25]+"@"+t[31])},m(f,p){T(f,e,p),y(e,n),y(e,r),y(e,o),y(o,s),y(o,c),y(o,l),d||(h=Y(e,"click",function(){Ee(t[9].bind(null,`${t[25]}@${t[31]}`))&&t[9].bind(null,`${t[25]}@${t[31]}`).apply(this,arguments)}),d=!0)},p(f,p){t=f,p[0]&20&&i!==(i=t[25]+"")&&G(s,i),p[0]&20&&a!==(a=t[31]+"")&&G(l,a),p[0]&20&&u!==(u="npm install "+t[25]+"@"+t[31])&&_(e,"title",u)},d(f){f&&g(e),d=!1,h()}}}function qo(t){let e=!t[2].some(r),n;function r(...i){return t[13](t[25],...i)}let o=e&&Jo(t);return{c(){o&&o.c(),n=Z()},l(i){o&&o.l(i),n=Z()},m(i,s){o&&o.m(i,s),T(i,n,s)},p(i,s){t=i,s[0]&20&&(e=!t[2].some(r)),e?o?o.p(t,s):(o=Jo(t),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(i){i&&g(n),o&&o.d(i)}}}function Wo(t,e){let n,r,o,i,s;r=new No({props:{name:e[25],version:e[26],size:e[27].length}});let c=de(e[28]),a=[];for(let l=0;lqe(n,"content",C)),n.$on("reload",t[6]);let q=de(t[3]),N=[];for(let j=0;jR(N[j],1,1,()=>{N[j]=null}),U=de(t[2]),L=j=>j[25];for(let j=0;jr=!1)),n.$set(P),z[0]&264){q=de(j[3]);let W;for(W=0;Wn(19,r=L)),V(t,Be,L=>n(2,o=L)),V(t,Oe,L=>n(3,i=L)),V(t,xe,L=>n(20,s=L)),V(t,Ce,L=>n(10,c=L)),V(t,sn,L=>n(11,a=L)),V(t,Ie,L=>n(12,l=L));let{show:u=!0}=e,d=Object.create(null),h=l==="build"?c:"";function f(){n(1,h=pl),nn("[data-options]")}let p="entry.js";function m(){i.push({path:p,content:"",entry:p==="entry.js"}),Oe.set(i),Xr('[data-label="INPUT"] input')}function b(L){i.splice(L,1),Oe.set(i)}async function k(L){if(typeof L!="string"&&(L=prompt("Enter package name:"),!L))return;let j=L.indexOf("@",1),z=j===-1?L:L.slice(0,j);if(!z||o.some(ae=>ae.name===z))return;ve(me,r=`Installing ${z} \u2026`,r);let P=j===-1?"latest":L.slice(j+1),W=await w(z,P),D,J=`https://registry.npmjs.org/${z}/-/${z.split("/").pop()}-${W}.tgz`;try{ve(me,r=`Installing ${z}@${W} \u2026`,r);let ae=await Zn(z,W);ae?D=ae.buffer:(D=await fetch(J).then(Re=>Re.arrayBuffer()),await Gn(z,W,new Uint8Array(D)))}catch(ae){if(ae.name==="AbortError")return;throw ve(me,r=ae+"",r),ae}ve(me,r=`Extracting ${z}@${W} \u2026`,r);let X=await Oo(new Uint8Array(D)),ge=X.find(ae=>ae.path==="package.json");if(ge)try{v(z,ge.content)}catch{}o.some(ae=>ae.name===z)||(o.push({name:z,version:W,files:X}),Be.set(o)),ve(me,r=`Extracted ${X.length} files.`,r)}function v(L,j){let z=JSON.parse(j);if(z.dependencies){let P=n(4,d[L]=[],d);for(let W of Object.keys(z.dependencies))P.push([W,z.dependencies[W]]);n(4,d)}}async function w(L,j){return dl.test(j)||(j=await x(`https://unpkg.com/${L}@${j}/package.json`),j=j.slice(18+L.length+1),j=j.slice(0,j.indexOf("/"))),j}let S=new Map;async function x(L){if(S.has(L))return S.get(L);let j=fetch(L).then(async z=>{if(z.ok)return z.url;throw new Error(await z.text())}).catch(z=>{throw S.delete(L),z});return S.set(L,j),j}Qe(()=>{for(let L of We.i||[])k(L).catch(console.error)});let C=(L,j)=>j.name===L;function M(L){h=L,n(1,h)}function q(L,j,z,P){z[P].entry=L,Oe.set(i)}function N(L,j,z,P){z[P].path=L,Oe.set(i)}function ce(L,j,z,P){z[P].content=L,Oe.set(i)}let U=L=>b(L);return t.$$set=L=>{"show"in L&&n(0,u=L.show)},t.$$.update=()=>{if(t.$$.dirty[0]&7182&&l==="build"&&(ve(Ce,c=h,c),a))try{let L=He(c,"build"),j=Array.isArray(L.entryPoints)?L.entryPoints:L.entryPoints=[],z=Object.create(null),P=new Set,W;for(let{entry:D,path:J,content:X}of i){if(P.has(J))throw new Error("Duplicate input file: "+(J?JSON.stringify(J):""));P.add(J),J?(z[J]=X,D&&j.push(J)):(W=L.stdin&&typeof L.stdin=="object"?L.stdin:L.stdin={},W.contents=X,"resolveDir"in W||(W.resolveDir="/"))}for(let D of o){let J=`node_modules/${D.name}/`;for(let{path:X,content:ge}of D.files){let ae=J+X;if(P.has(ae))throw new Error("Duplicate input file: "+JSON.stringify(ae));z[ae]=ge}}gt({U:"build",J:z,L}).then(xe.set,dt)}catch(L){ve(xe,s={$:ln(L)},s)}if(t.$$.dirty[0]&8&&i){let L=new Set;for(let{path:j}of i)L.add(j);if(!L.has("entry.js"))n(5,p="entry.js");else for(let j=1;j<100;j++){let z=`file${j===1?"":j}.js`;if(!L.has(z)){n(5,p=z);break}}}},[u,h,o,i,d,p,f,m,b,k,c,a,l,C,M,q,N,ce,U]}var er=class extends Q{constructor(e){super(),le(this,e,hl,fl,ne,{show:0},null,[-1,-1])}},Vo=er;var tr=class{T="";z=[];X=!1;Y=!1;ie(e){return e.replace(/&/g,"&").replace(//g,">")}_(e){this.T+=this.ie(e)}G(){let e;for(;e=this.z.pop();)this.T+=e}se(){this.X||(this.X=!0,this.T+="",this.z.push(""))}ce(){this.Y||(this.Y=!0,this.T+="",this.z.push(""))}le(){return this.z[this.z.length-1]}k(e){let n;for(;(n=this.le())==="";)this.z.pop(),this.T+=n;this.T+=``,this.z.push("")}ae(){return this.G(),this.T}};function bt(t){t=t.trimEnd();let e=0,n=new tr;for(let r of t.matchAll(/\033\[([^m]*)m/g)){let o=r[1];switch(n._(t.slice(e,r.index)),e=r.index+r[0].length,o){case"0":n.G();break;case"1":n.se();break;case"31":n.k("color-red");break;case"32":n.k("color-green");break;case"33":n.k("color-yellow");break;case"34":n.k("color-blue");break;case"35":n.k("color-magenta");break;case"37":n.k("color-dim");break;case"41;31":n.k("bg-red color-red");break;case"41;97":n.k("bg-red color-white");break;case"43;33":n.k("bg-yellow color-yellow");break;case"43;30":n.k("bg-yellow color-black");break}}return e{s[u]=null}),pe(),n=s[e],n?n.p(a,l):(n=s[e]=i[e](a),n.c()),O(n,1),n.m(r.parentNode,r))},i(a){o||(O(n),o=!0)},o(a){R(n),o=!1},d(a){a&&g(r),s[e].d(a)}}}function gl(t){let e,n="(loading rollup\u2026)";return{c(){e=E("p"),e.textContent=n,this.h()},l(r){e=$(r,"P",{class:!0,"data-svelte-h":!0}),re(e)!=="svelte-1r50pli"&&(e.textContent=n),this.h()},h(){_(e,"class","svelte-1i4kd1x")},m(r,o){T(r,e,o)},p:B,i:B,o:B,d(r){r&&g(e)}}}function bl(t){let e,n,r,o={ctx:t,current:null,token:null,hasCatch:!1,pending:xl,then:yl,catch:vl,value:5,blocks:[,,,]};return Ot(n=t[2](t[4]),o),{c(){e=Z(),o.block.c()},l(i){e=Z(),o.block.l(i)},m(i,s){T(i,e,s),o.block.m(i,o.anchor=s),o.mount=()=>e.parentNode,o.anchor=e,r=!0},p(i,s){t=i,o.ctx=t,s&1&&n!==(n=t[2](t[4]))&&Ot(n,o)||In(o,t,s)},i(i){r||(O(o.block),r=!0)},o(i){for(let s=0;s<3;s+=1){let c=o.blocks[s];R(c)}r=!1},d(i){i&&g(e),o.block.d(i),o.token=null,o=null}}}function vl(t){return{c:B,l:B,m:B,p:B,i:B,o:B,d:B}}function yl(t){let e,n,r,o=t[1]&&Ho(t);return n=new ke({props:{label:"ROLLUP "+t[4].VERSION+" | VITE",readonly:!0,content:t[5],lang:"js"}}),{c(){o&&o.c(),e=A(),oe(n.$$.fragment)},l(i){o&&o.l(i),e=F(i),ie(n.$$.fragment,i)},m(i,s){o&&o.m(i,s),T(i,e,s),ee(n,i,s),r=!0},p(i,s){i[1]?o?o.p(i,s):(o=Ho(i),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null);let c={};s&1&&(c.label="ROLLUP "+i[4].VERSION+" | VITE"),s&1&&(c.content=i[5]),n.$set(c)},i(i){r||(O(n.$$.fragment,i),r=!0)},o(i){R(n.$$.fragment,i),r=!1},d(i){i&&g(e),o&&o.d(i),te(n,i)}}}function Ho(t){let e,n,r=bt(t[1])+"";return{c(){e=E("pre"),n=new Ne(!1),this.h()},l(o){e=$(o,"PRE",{class:!0});var i=I(e);n=Kt(i,!1),i.forEach(g),this.h()},h(){n.a=null,_(e,"class","svelte-1i4kd1x")},m(o,i){T(o,e,i),n.m(r,e)},p(o,i){i&2&&r!==(r=bt(o[1])+"")&&n.p(r)},d(o){o&&g(e)}}}function xl(t){let e,n,r=t[4].VERSION+"",o,i;return{c(){e=E("p"),n=H("(rollup "),o=H(r),i=H(" is bundling\u2026)"),this.h()},l(s){e=$(s,"P",{class:!0});var c=I(e);n=K(c,"(rollup "),o=K(c,r),i=K(c," is bundling\u2026)"),c.forEach(g),this.h()},h(){_(e,"class","svelte-1i4kd1x")},m(s,c){T(s,e,c),y(e,n),y(e,o),y(e,i)},p(s,c){c&1&&r!==(r=s[4].VERSION+"")&&G(o,r)},i:B,o:B,d(s){s&&g(e)}}}function wl(t){let e,n="(loading rollup\u2026)";return{c(){e=E("p"),e.textContent=n,this.h()},l(r){e=$(r,"P",{class:!0,"data-svelte-h":!0}),re(e)!=="svelte-1r50pli"&&(e.textContent=n),this.h()},h(){_(e,"class","svelte-1i4kd1x")},m(r,o){T(r,e,o)},p:B,i:B,o:B,d(r){r&&g(e)}}}function kl(t){let e,n,r,o={ctx:t,current:null,token:null,hasCatch:!0,pending:wl,then:_l,catch:ml,value:4,error:6,blocks:[,,,]};return Ot(n=t[0],o),{c(){e=Z(),o.block.c()},l(i){e=Z(),o.block.l(i)},m(i,s){T(i,e,s),o.block.m(i,o.anchor=s),o.mount=()=>e.parentNode,o.anchor=e,r=!0},p(i,[s]){t=i,o.ctx=t,s&1&&n!==(n=t[0])&&Ot(n,o)||In(o,t,s)},i(i){r||(O(o.block),r=!0)},o(i){for(let s=0;s<3;s+=1){let c=o.blocks[s];R(c)}r=!1},d(i){i&&g(e),o.block.d(i),o.token=null,o=null}}}function El(t,e,n){let r;V(t,xe,c=>n(3,r=c));let o,i="";Qe(()=>{window.rollup?n(0,o=Promise.resolve(window.rollup)):n(0,o=new Promise(async(c,a)=>{let l=await fetch("https://unpkg.com/@rollup/browser").then(d=>d.url),u=document.createElement("script");u.src=l,u.onload=()=>c(window.rollup),u.onerror=()=>a(new Error(`Could not load Rollup from ${u.src}`)),document.head.appendChild(u)}))});async function s(c){let a=r?.S,l=window.esbuild;if(!a||!l)return"// not ready";let u={name:"stdin",resolveId(k){return k=="main.js"?k:{id:k,external:!0}},load(k){return a}},d=[],h=k=>{d.push(k),console.warn(k.toString())},p=await(await c.rollup({input:"main.js",plugins:[u],onwarn:h})).generate({format:"es"});n(1,i=(await l.formatMessages(d.map(k=>({text:k.message})),{kind:"warning",color:!0})).join(""));let m=p.output[0].code;console.log(`===== STAGE 1 ===== (rollup.rollup) +`)}return c!=="{"&&(c+=o?r:" "),c+"}"};return e(t,"")}var js=null,_t=null,Ue=null,Pn=async()=>null;Ae.on("reload",t=>Pn(t));var an=new Promise((t,e)=>{Pn=n=>{let r=go(n);return r.then(t,e),Pn=o=>(an.then(i=>i.terminate()),an=go(o),an),r}}),mo=(t,e)=>(Ae.emit("status",`Fetching ${t}`),fetch(t,e));async function _o(t){let e=new AbortController,n=setTimeout(()=>e.abort("Timeout"),5e3);try{let r=await mo(`https://cdn.jsdelivr.net/npm/${t}`);if(r.ok)return clearTimeout(n),r}catch(r){console.error(r)}return mo(`https://unpkg.com/${t}`)}async function go(t){let e;Ae.emit("status",`Loading esbuild ${t}\u2026`);try{_t&&_t.D(),Ue&&Ue.D(),_t=null,Ue=null;let[n,r,o]=t.split(".").map(f=>+f),i=n===0&&(r<8||r===8&&o<33)?"":".min",[s,c,a]=await Promise.all([js||=fetch("worker.js").then(f=>f.text()),_o(`esbuild-wasm@${t}/lib/browser${i}.js`).then(f=>f.text()),_o(`esbuild-wasm@${t}/esbuild.wasm`).then(f=>f.arrayBuffer())]);zs(c,a.slice(0));let l=s.lastIndexOf("//# sourceMappingURL="),u=l>=0?s.slice(0,l):s,d=[c,u],h=URL.createObjectURL(new Blob(d,{type:"application/javascript"}));return await new Promise((f,p)=>{let m=new Worker(h);m.onmessage=b=>{m.onmessage=null,b.data.K==="success"?(f(m),Ae.emit("status","Loaded esbuild "+t),Ae.emit("ready")):(p(new Error("Failed to create worker")),e=b.data.ne),URL.revokeObjectURL(h)},m.postMessage([t,a],[a])})}catch(n){throw Ae.emit("status",e||n+""),n}}var mt=null;function zs(t,e){let n=URL.createObjectURL(new Blob([t],{type:"application/javascript"}));mt&&mt.remove(),mt=document.createElement("script"),mt.onload=async()=>{let r=window.esbuild,o={wasmURL:URL.createObjectURL(new Blob([e],{type:"application/wasm"}))};r.startService?await r.startService(o):await r.initialize(o),console.log("loaded esbuild @",r.version,r)},mt.src=n,document.head.appendChild(mt)}function gt(t){function e(n,r){_t?(Ue&&Ue.D(),Ue=r):(_t=r,n.onmessage=o=>{n.onmessage=null,r.re(o.data),_t=null,Ue&&(e(n,Ue),Ue=null)},n.postMessage(r.oe))}return new Promise((n,r)=>{an.then(o=>e(o,{oe:t,re:n,D:()=>r(new Error("Task aborted"))}),r)})}var Ts=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Is=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Os=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Ls=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bo=(t,e,n)=>{let r=t;return typeof e=="string"||Array.isArray(e)?r=t.toLocaleString(e,n):(e===!0||n!==void 0)&&(r=t.toLocaleString(void 0,n)),r};function cn(t,e){if(!Number.isFinite(t))throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);e={bits:!1,binary:!1,space:!0,...e};let n=e.bits?e.binary?Ls:Os:e.binary?Is:Ts,r=e.space?" ":"";if(e.signed&&t===0)return` 0${r}${n[0]}`;let o=t<0,i=o?"-":e.signed?"+":"";o&&(t=-t);let s;if(e.minimumFractionDigits!==void 0&&(s={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(s={maximumFractionDigits:e.maximumFractionDigits,...s}),t<1){let u=bo(t,e.locale,s);return i+u+r+n[0]}let c=Math.min(Math.floor(e.binary?Math.log(t)/Math.log(1024):Math.log10(t)/3),n.length-1);t/=(e.binary?1024:1e3)**c,s||(t=t.toPrecision(3));let a=bo(Number(t),e.locale,s),l=n[c];return i+a+r+l}var Un=$e?new Worker("hljs.js"):null,Dn=new Map;Un?.addEventListener("message",t=>{let{id:e,value:n}=t.data,r=Dn.get(e);r&&(r(n),Dn.delete(e))});var Bn=1;function Cs(t,e){if(!Un)return new Promise(dt);let n,r=new Promise(o=>n=o);return Dn.set(Bn,n),Un.postMessage({id:Bn,code:t,lang:e}),Bn++,r}var Jn=class{constructor(e,n){this.node=e;this.token=n}cancelled=!1;replaceInnerHTML=e=>{clearTimeout(this.token),this.cancelled||(this.node.innerHTML=e)};cancel(){clearTimeout(this.token),this.cancelled=!0}},Ms=1e5,vo=function(e,n){let r=null,o=({code:c,loader:a})=>{if(r&&(r.cancel(),r=null),c&&c.length>Ms){e.innerText=c;return}c?(r=new Jn(e,setTimeout(()=>{e.innerText=c},50)),Cs(c,a).then(r.replaceInnerHTML)):e.innerText=""},i=c=>{ze(c);let a=document.createRange();a.selectNodeContents(e);let l=window.getSelection();l&&(l.removeAllRanges(),l.addRange(a))},s=()=>{e.removeEventListener("dblclick",i),r&&(r.cancel(),r=null)};return e.addEventListener("dblclick",i),o(n),{update:o,destroy:s}};var As=t=>({}),yo=t=>({});function xo(t){let e,n=t[13].header,r=wt(n,t,t[12],yo),o=r||Ns(t);return{c(){o&&o.c()},l(i){o&&o.l(i)},m(i,s){o&&o.m(i,s),e=!0},p(i,s){r?r.p&&(!e||s&4096)&&Et(r,n,i,i[12],e?kt(n,i[12],s,As):$t(i[12]),yo):o&&o.p&&(!e||s&325)&&o.p(i,e?s:-1)},i(i){e||(O(o,i),e=!0)},o(i){R(o,i),e=!1},d(i){o&&o.d(i)}}}function Fs(t){let e,n,r,o,i,s,c,a,l,u,d,h;return{c(){e=E("button"),n=E("i"),i=A(),s=E("input"),c=A(),a=E("button"),l=E("i"),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0});var p=I(e);n=$(p,"I",{class:!0}),I(n).forEach(g),p.forEach(g),i=F(f),s=$(f,"INPUT",{placeholder:!0,spellcheck:!0,class:!0}),c=F(f),a=$(f,"BUTTON",{class:!0,title:!0});var m=I(a);l=$(m,"I",{class:!0}),I(l).forEach(g),m.forEach(g),this.h()},h(){_(n,"class",r=t[2]?"i-mdi-checkbox-marked-outline":"i-mdi-checkbox-blank-outline"),_(e,"class","entry svelte-1t1btx"),_(e,"title",o="entry: "+(t[2]?"yes":"no")),_(s,"placeholder",""),_(s,"spellcheck","false"),_(s,"class","svelte-1t1btx"),_(l,"class","i-mdi-close"),_(a,"class","remove svelte-1t1btx"),_(a,"title",u="remove "+(t[0]||"it"))},m(f,p){T(f,e,p),y(e,n),T(f,i,p),T(f,s,p),_e(s,t[0]),T(f,c,p),T(f,a,p),y(a,l),d||(h=[Y(e,"click",t[14]),Y(s,"input",t[15]),Y(a,"click",t[16])],d=!0)},p(f,p){p&4&&r!==(r=f[2]?"i-mdi-checkbox-marked-outline":"i-mdi-checkbox-blank-outline")&&_(n,"class",r),p&4&&o!==(o="entry: "+(f[2]?"yes":"no"))&&_(e,"title",o),p&1&&s.value!==f[0]&&_e(s,f[0]),p&1&&u!==(u="remove "+(f[0]||"it"))&&_(a,"title",u)},d(f){f&&(g(e),g(i),g(s),g(c),g(a)),d=!1,se(h)}}}function Rs(t){let e,n,r,o=t[6]&&wo(t);return{c(){e=E("input"),n=A(),o&&o.c(),r=Z(),this.h()},l(i){e=$(i,"INPUT",{placeholder:!0,spellcheck:!0,class:!0}),n=F(i),o&&o.l(i),r=Z(),this.h()},h(){_(e,"placeholder",""),_(e,"spellcheck","false"),e.value=t[0],e.readOnly=!0,_(e,"class","svelte-1t1btx")},m(i,s){T(i,e,s),T(i,n,s),o&&o.m(i,s),T(i,r,s)},p(i,s){s&1&&e.value!==i[0]&&(e.value=i[0]),i[6]?o?o.p(i,s):(o=wo(i),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(i){i&&(g(e),g(n),g(r)),o&&o.d(i)}}}function wo(t){let e,n=cn(t[6],{binary:!0})+"",r;return{c(){e=E("span"),r=H(n),this.h()},l(o){e=$(o,"SPAN",{class:!0});var i=I(e);r=K(i,n),i.forEach(g),this.h()},h(){_(e,"class","size svelte-1t1btx")},m(o,i){T(o,e,i),y(e,r)},p(o,i){i&64&&n!==(n=cn(o[6],{binary:!0})+"")&&G(r,n)},d(o){o&&g(e)}}}function Ns(t){let e;function n(i,s){return i[8]?Rs:Fs}let r=n(t,-1),o=r(t);return{c(){e=E("header"),o.c(),this.h()},l(i){e=$(i,"HEADER",{class:!0});var s=I(e);o.l(s),s.forEach(g),this.h()},h(){_(e,"class","svelte-1t1btx"),Pe(e,"entry",t[2])},m(i,s){T(i,e,s),o.m(e,null)},p(i,s){r===(r=n(i,s))&&o?o.p(i,s):(o.d(1),o=r(i),o&&(o.c(),o.m(e,null))),s&4&&Pe(e,"entry",i[2])},d(i){i&&g(e),o.d()}}}function Ps(t){let e,n,r;return{c(){e=E("textarea"),this.h()},l(o){e=$(o,"TEXTAREA",{class:!0,rows:!0,spellcheck:!0,placeholder:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","editor svelte-1t1btx"),_(e,"rows",t[4]),_(e,"spellcheck","false"),_(e,"placeholder",t[7])},m(o,i){T(o,e,i),_e(e,t[1]),n||(r=Y(e,"input",t[17]),n=!0)},p(o,i){i&16&&_(e,"rows",o[4]),i&128&&_(e,"placeholder",o[7]),i&2&&_e(e,o[1])},d(o){o&&g(e),n=!1,r()}}}function Bs(t){let e;function n(i,s){return i[9]==="raw"?Js:i[9]==="comment"?Ds:Us}let r=n(t,-1),o=r(t);return{c(){o.c(),e=Z()},l(i){o.l(i),e=Z()},m(i,s){o.m(i,s),T(i,e,s)},p(i,s){r===(r=n(i,s))&&o?o.p(i,s):(o.d(1),o=r(i),o&&(o.c(),o.m(e.parentNode,e)))},d(i){i&&g(e),o.d(i)}}}function Us(t){let e,n,r,o;return{c(){e=E("pre"),this.h()},l(i){e=$(i,"PRE",{class:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","svelte-1t1btx")},m(i,s){T(i,e,s),r||(o=Ze(n=vo.call(null,e,{code:t[1],loader:t[9]||ko(t[0])})),r=!0)},p(i,s){n&&Ee(n.update)&&s&515&&n.update.call(null,{code:i[1],loader:i[9]||ko(i[0])})},d(i){i&&g(e),r=!1,o()}}}function Ds(t){let e,n;return{c(){e=E("pre"),n=H(t[1]),this.h()},l(r){e=$(r,"PRE",{class:!0});var o=I(e);n=K(o,t[1]),o.forEach(g),this.h()},h(){_(e,"class","hljs-comment svelte-1t1btx")},m(r,o){T(r,e,o),y(e,n)},p(r,o){o&2&&G(n,r[1])},d(r){r&&g(e)}}}function Js(t){let e,n;return{c(){e=E("pre"),n=H(t[1]),this.h()},l(r){e=$(r,"PRE",{class:!0});var o=I(e);n=K(o,t[1]),o.forEach(g),this.h()},h(){_(e,"class","svelte-1t1btx")},m(r,o){T(r,e,o),y(e,n)},p(r,o){o&2&&G(n,r[1])},d(r){r&&g(e)}}}function qs(t){let e,n,r,o=(t[3]||t[11].header)&&xo(t);function i(a,l){return a[8]?Bs:Ps}let s=i(t,-1),c=s(t);return{c(){e=E("article"),o&&o.c(),n=A(),c.c(),this.h()},l(a){e=$(a,"ARTICLE",{"data-label":!0,class:!0});var l=I(e);o&&o.l(l),n=F(l),c.l(l),l.forEach(g),this.h()},h(){_(e,"data-label",t[5]),_(e,"class","svelte-1t1btx")},m(a,l){T(a,e,l),o&&o.m(e,null),y(e,n),c.m(e,null),r=!0},p(a,[l]){a[3]||a[11].header?o?(o.p(a,l),l&2056&&O(o,1)):(o=xo(a),o.c(),O(o,1),o.m(e,n)):o&&(fe(),R(o,1,1,()=>{o=null}),pe()),s===(s=i(a,l))&&c?c.p(a,l):(c.d(1),c=s(a),c&&(c.c(),c.m(e,null))),(!r||l&32)&&_(e,"data-label",a[5])},i(a){r||(O(o),r=!0)},o(a){R(o),r=!1},d(a){a&&g(e),o&&o.d(),c.d()}}}function ko(t){return t.endsWith(".css")?"css":t.endsWith(".map")||t.endsWith(".json")?"json":"js"}function Ws(t,e,n){let{$$slots:r={},$$scope:o}=e,i=zr(r),{header:s=!1}=e,{rows:c=1}=e,{name:a=""}=e,{label:l=""}=e,{content:u=""}=e,{size:d=0}=e,{placeholder:h=""}=e,{entry:f=!1}=e,{readonly:p=!1}=e,{lang:m=""}=e,b=et(),k=()=>n(2,f=!f);function v(){a=this.value,n(0,a)}let w=()=>b("remove");function S(){u=this.value,n(1,u)}return t.$$set=x=>{"header"in x&&n(3,s=x.header),"rows"in x&&n(4,c=x.rows),"name"in x&&n(0,a=x.name),"label"in x&&n(5,l=x.label),"content"in x&&n(1,u=x.content),"size"in x&&n(6,d=x.size),"placeholder"in x&&n(7,h=x.placeholder),"entry"in x&&n(2,f=x.entry),"readonly"in x&&n(8,p=x.readonly),"lang"in x&&n(9,m=x.lang),"$$scope"in x&&n(12,o=x.$$scope)},[a,u,f,s,c,l,d,h,p,m,b,i,o,r,k,v,w,S]}var qn=class extends Q{constructor(e){super(),le(this,e,Ws,qs,ne,{header:3,rows:4,name:0,label:5,content:1,size:6,placeholder:7,entry:2,readonly:8,lang:9})}},ke=qn;var Vs=[["--bundle","Bundle all dependencies into the output files"],["--define:K=V","Substitute K with V while parsing"],["--external:M","Exclude module M from the bundle (can use * wildcards)"],["--format=...","Output format (iife | cjs | esm, no default when not bundling, otherwise default is iife when platform is browser and cjs when platform is node)"],["--loader:X=L","Use loader L to load file extension X, where L is one of: base64 | binary | copy | css | dataurl | empty | file | global-css | js | json | jsx | local-css | text | ts | tsx"],["--minify","Minify the output (sets all --minify-* flags)"],["--outdir=...","The output directory (for multiple entry points)"],["--outfile=...","The output file (for one entry point)"],["--packages=...",'Set to "external" to avoid bundling any package'],["--platform=...","Platform target (browser | node | neutral, default browser)"],["--sourcemap","Emit a source map"],["--splitting","Enable code splitting (currently only for esm)"],["--target=...","Environment target (e.g. es2017, chrome58, firefox57, safari11, edge16, node10, ie9, opera45, default esnext)"],["--allow-overwrite","Allow output files to overwrite input files"],["--asset-names=...",'Path template to use for "file" loader files (default "[name]-[hash]")'],["--banner:T=...","Text to be prepended to each output file of type T where T is one of: css | js"],["--charset=utf8","Do not escape UTF-8 code points"],["--chunk-names=...",'Path template to use for code splitting chunks (default "[name]-[hash]")'],["--color=...","Force use of color terminal escapes (true | false)"],["--drop:...","Remove certain constructs (console | debugger)"],["--drop-labels=...","Remove labeled statements with these label names"],["--entry-names=...",'Path template to use for entry point output paths (default "[dir]/[name]", can also use "[hash]")'],["--footer:T=...","Text to be appended to each output file of type T where T is one of: css | js"],["--global-name=...","The name of the global for the IIFE format"],["--ignore-annotations","Enable this to work with packages that have incorrect tree-shaking annotations"],["--inject:F","Import the file F into all input files and automatically replace matching globals with imports"],["--jsx-dev","Use React's automatic runtime in development mode"],["--jsx-factory=...","What to use for JSX instead of React.createElement"],["--jsx-fragment=...","What to use for JSX instead of React.Fragment"],["--jsx-import-source=...",'Override the package name for the automatic runtime (default "react")'],["--jsx-side-effects","Do not remove unused JSX expressions"],["--jsx=...",`Set to "automatic" to use React's automatic runtime or to "preserve" to disable transforming JSX to JS`],["--keep-names",'Preserve "name" on functions and classes'],["--legal-comments=...","Where to place legal comments (none | inline | eof | linked | external, default eof when bundling and inline otherwise)"],["--line-limit=...","Lines longer than this will be wrap onto a new line"],["--log-level=...","Disable logging (verbose | debug | info | warning | error | silent, default info)"],["--log-limit=...","Maximum message count or 0 to disable (default 6)"],["--log-override:X=Y","Use log level Y for log messages with identifier X"],["--main-fields=...",'Override the main file order in package.json (default "browser,module,main" when platform is browser and "main,module" when platform is node)'],["--mangle-cache=...",'Save "mangle props" decisions to a JSON file'],["--mangle-props=...","Rename all properties matching a regular expression"],["--mangle-quoted=...","Enable renaming of quoted properties (true | false)"],["--metafile=...","Write metadata about the build to a JSON file (see also: https://esbuild.github.io/analyze/)"],["--minify-whitespace","Remove whitespace in output files"],["--minify-identifiers","Shorten identifiers in output files"],["--minify-syntax","Use equivalent but shorter syntax in output files"],["--out-extension:.js=.mjs",'Use a custom output extension instead of ".js"'],["--outbase=...","The base path used to determine entry point output paths (for multiple entry points)"],["--public-path=...",'Set the base URL for the "file" loader'],["--pure:N","Mark the name N as a pure function for tree shaking"],["--reserve-props=...","Do not mangle these properties"],["--resolve-extensions=...",'A comma-separated list of implicit extensions (default ".tsx,.ts,.jsx,.js,.css,.json")'],["--source-root=...",'Sets the "sourceRoot" field in generated source maps'],["--sourcefile=...","Set the source file for the source map (for stdin)"],["--sourcemap=external","Do not link to the source map with a comment"],["--sourcemap=inline","Emit the source map with an inline data URL"],["--sources-content=false",'Omit "sourcesContent" in generated source maps'],["--supported:F=...","Consider syntax F to be supported (true | false)"],["--tree-shaking=...","Force tree shaking on or off (false | true)"],["--tsconfig=...","Use this tsconfig.json file instead of other ones"]],Hs=["--bundle","--external","--outdir","--outfile","--packages","--splitting","--allow-overwrite","--asset-names","--chunk-names","--entry-names","--inject","--main-fields","--metafile","--out-extension","--outbase","--public-path","--resolve-extensions","--tsconfig"];function Eo(t,e){let n=[];for(let[r,o]of Vs)if(r.startsWith(t)){if(e){if(Hs.some(i=>r.startsWith(i)))continue;r.startsWith("--loader")?(r="--loader=L",o=o.replace("file extension X","file")):(r.startsWith("--banner")||r.startsWith("--footer"))&&(r=r.slice(0,r.indexOf(":T"))+"=...",o=o.slice(0,o.indexOf(" of type T")))}n.push([r,o])}return n}function $o(t){let e,n,r=t[6]+1+"",o,i,s=t[7].length+"",c,a,l;return{c(){e=E("span"),n=H("["),o=H(r),i=H("/"),c=H(s),a=H("] "),l=H(t[5]),this.h()},l(u){e=$(u,"SPAN",{class:!0});var d=I(e);n=K(d,"["),o=K(d,r),i=K(d,"/"),c=K(d,s),a=K(d,"] "),l=K(d,t[5]),d.forEach(g),this.h()},h(){_(e,"class","info svelte-2um5t9")},m(u,d){T(u,e,d),y(e,n),y(e,o),y(e,i),y(e,c),y(e,a),y(e,l)},p(u,d){d&64&&r!==(r=u[6]+1+"")&&G(o,r),d&128&&s!==(s=u[7].length+"")&&G(c,s),d&32&&G(l,u[5])},d(u){u&&g(e)}}}function Xs(t){let e,n,r,o,i,s,c=`${t[2]}px`,a=`${t[3]}px`,l,u,d,h,f,p,m,b,k,v,w,S,x=t[8]?"CLI":"JS",L,M,q,N,ce=' Reset options',U,C,j=t[5]&&$o(t);return{c(){e=E("article"),n=E("div"),r=E("aside"),o=E("span"),i=H(t[4]),s=A(),j&&j.c(),l=A(),u=E("textarea"),f=A(),p=E("footer"),m=E("button"),b=E("i"),v=A(),w=E("span"),S=H("Switch to "),L=H(x),M=H(" syntax"),q=A(),N=E("button"),N.innerHTML=ce,this.h()},l(z){e=$(z,"ARTICLE",{class:!0});var P=I(e);n=$(P,"DIV",{class:!0});var W=I(n);r=$(W,"ASIDE",{class:!0});var D=I(r);o=$(D,"SPAN",{class:!0});var J=I(o);i=K(J,t[4]),J.forEach(g),s=F(D),j&&j.l(D),D.forEach(g),l=F(W),u=$(W,"TEXTAREA",{"data-options":!0,class:!0,rows:!0,spellcheck:!0,placeholder:!0}),I(u).forEach(g),W.forEach(g),f=F(P),p=$(P,"FOOTER",{class:!0});var X=I(p);m=$(X,"BUTTON",{class:!0});var ge=I(m);b=$(ge,"I",{class:!0}),I(b).forEach(g),v=F(ge),w=$(ge,"SPAN",{class:!0});var ae=I(w);S=K(ae,"Switch to "),L=K(ae,x),M=K(ae," syntax"),ae.forEach(g),ge.forEach(g),q=F(X),N=$(X,"BUTTON",{class:!0,"data-svelte-h":!0}),re(N)!=="svelte-17u77gh"&&(N.innerHTML=ce),X.forEach(g),P.forEach(g),this.h()},h(){_(o,"class","hint svelte-2um5t9"),_(r,"class","svelte-2um5t9"),we(r,"left",c),we(r,"top",a),_(u,"data-options",""),_(u,"class","editor svelte-2um5t9"),_(u,"rows",d=1),_(u,"spellcheck","false"),_(u,"placeholder",h="e.g. --minify or { minify: true }"),_(n,"class","svelte-2um5t9"),_(b,"class",k=t[8]?"i-mdi-bash":"i-mdi-code-json"),_(w,"class","svelte-2um5t9"),_(m,"class","format svelte-2um5t9"),_(N,"class","reload svelte-2um5t9"),_(p,"class","svelte-2um5t9"),_(e,"class","svelte-2um5t9")},m(z,P){T(z,e,P),y(e,n),y(n,r),y(r,o),y(o,i),y(r,s),j&&j.m(r,null),y(n,l),y(n,u),t[13](u),_e(u,t[0]),y(e,f),y(e,p),y(p,m),y(m,b),y(m,v),y(m,w),y(w,S),y(w,L),y(w,M),y(p,q),y(p,N),U||(C=[Y(u,"input",t[14]),Y(u,"input",t[11]),Y(u,"keydown",t[12],!0),Y(m,"click",t[10]),Y(N,"click",t[15])],U=!0)},p(z,[P]){P&16&&G(i,z[4]),z[5]?j?j.p(z,P):(j=$o(z),j.c(),j.m(r,null)):j&&(j.d(1),j=null),P&4&&c!==(c=`${z[2]}px`)&&we(r,"left",c),P&8&&a!==(a=`${z[3]}px`)&&we(r,"top",a),P&1&&_e(u,z[0]),P&256&&k!==(k=z[8]?"i-mdi-bash":"i-mdi-code-json")&&_(b,"class",k),P&256&&x!==(x=z[8]?"CLI":"JS")&&G(L,x)},i:B,o:B,d(z){z&&g(e),j&&j.d(),t[13](null),U=!1,se(C)}}}function Ks(t,e,n){let r,o;V(t,Ie,U=>n(20,o=U));let{content:i=""}=e,s=et(),c;function a(){let U=He(i,o==="transform"?"transform":"build");r?gn(c,po(U)):gn(c,ho(U))}let l=0,u=0,d="",h="",f=0,p=[],m="",b=null,k=null;function v(U,C,j){b||(b=document.createElement("pre"),b.style.position="absolute",b.style.top="0",b.style.left="0",b.style.visibility="hidden",b.style.border="1px solid",b.style.padding="8px",b.style.font="var(--code-font)",b.style.whiteSpace="pre-wrap",b.style.pointerEvents="none"),k||(k=document.createElement("span")),b.innerText="",document.body.append(b),b.style.width=U.clientWidth+"px",b.append(C,k,j);let z=b.getBoundingClientRect(),P=k.getBoundingClientRect();n(2,l=P.x-z.x),n(3,u=P.y-z.y),b.remove()}function w(){let[U,C]=p[f];n(4,d=U.slice(m.length)),n(5,h=d?C:"")}let S=null;function x(U){if(r||(S||=matchMedia("(max-width: 800px)"),S.matches))return M();let C=U.target,[j,z]=[C.selectionStart,C.selectionEnd];if(j!==z)return M();let P=C.value,W=P.slice(0,j),D=P.slice(j),J=W.lastIndexOf("--");if(J<0)return M();let X=W.slice(J);if(!/^[-\w]+$/.test(X))return M();m=X,n(7,p=Eo(X,o==="transform")),p.length?(n(6,f=0),v(C,W,D),w()):M()}function L(U){if(d){if(U.key==="ArrowRight"||U.key==="Tab"&&!U.shiftKey||U.key==="Enter"&&!U.ctrlKey&&!U.shiftKey){ze(U);let C=d.match(/^[-\w]*(?:[:=][a-z]*)?/),j=C?C[0]:"";j&&Ye(U.target,j),M();return}if(U.key==="ArrowUp"&&p.length){ze(U),n(6,f=(f+p.length-1)%p.length),w();return}if(U.key==="ArrowDown"&&p.length){ze(U),n(6,f=(f+1)%p.length),w();return}U.key==="Escape"&&M()}U.key===" "&&U.ctrlKey&&(ze(U),x(U))}function M(){n(4,d=""),n(5,h="")}function q(U){Ce[U?"unshift":"push"](()=>{c=U,n(1,c)})}function N(){i=this.value,n(0,i)}let ce=()=>s("reload");return t.$$set=U=>{"content"in U&&n(0,i=U.content)},t.$$.update=()=>{t.$$.dirty&1&&n(8,r=/^{|^\/[*/]/.test(i.trimStart()))},[i,c,l,u,d,h,f,p,r,s,a,x,L,q,N,ce]}var Wn=class extends Q{constructor(e){super(),le(this,e,Ks,Xs,ne,{content:0})}},un=Wn;function Ys(t){let e,n,r,o,i,s,c,a;function l(f){t[7](f)}let u={label:"INPUT",rows:2,placeholder:"(enter your code here)"};t[2]!==void 0&&(u.content=t[2]),n=new ke({props:u}),Ce.push(()=>qe(n,"content",l));function d(f){t[8](f)}let h={};return t[1]!==void 0&&(h.content=t[1]),i=new un({props:h}),Ce.push(()=>qe(i,"content",d)),i.$on("reload",t[3]),{c(){e=E("div"),oe(n.$$.fragment),o=A(),oe(i.$$.fragment),this.h()},l(f){e=$(f,"DIV",{"data-transform":!0,style:!0,class:!0});var p=I(e);ie(n.$$.fragment,p),o=F(p),ie(i.$$.fragment,p),p.forEach(g),this.h()},h(){_(e,"data-transform",""),_(e,"style",c=t[0]?"":"display: none"),_(e,"class","svelte-8svfb8")},m(f,p){T(f,e,p),ee(n,e,null),y(e,o),ee(i,e,null),a=!0},p(f,[p]){let m={};!r&&p&4&&(r=!0,m.content=f[2],Je(()=>r=!1)),n.$set(m);let b={};!s&&p&2&&(s=!0,b.content=f[1],Je(()=>s=!1)),i.$set(b),(!a||p&1&&c!==(c=f[0]?"":"display: none"))&&_(e,"style",c)},i(f){a||(O(n.$$.fragment,f),O(i.$$.fragment,f),a=!0)},o(f){R(n.$$.fragment,f),R(i.$$.fragment,f),a=!1},d(f){f&&g(e),te(n),te(i)}}}function Zs(t,e,n){let r,o,i,s,c;V(t,xe,f=>n(9,r=f)),V(t,Le,f=>n(4,o=f)),V(t,Ve,f=>n(2,i=f)),V(t,sn,f=>n(5,s=f)),V(t,Ie,f=>n(6,c=f));let{show:a=!0}=e,l=c==="transform"?o:"";function u(){n(1,l=""),nn("[data-options]")}function d(f){i=f,Ve.set(i)}function h(f){l=f,n(1,l)}return t.$$set=f=>{"show"in f&&n(0,a=f.show)},t.$$.update=()=>{if(t.$$.dirty&118&&c==="transform"&&(ve(Le,o=l,o),s))try{gt({U:"transform",J:i,L:He(o,"transform")}).then(xe.set,dt)}catch(f){ve(xe,r={$:ln(f)},r)}},[a,l,i,u,o,s,c,d,h]}var Hn=class extends Q{constructor(e){super(),le(this,e,Zs,Ys,ne,{show:0})}},So=Hn;function Mt(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function Kn(t,e){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);let r=Mt(n);return(o,i)=>r.then(s=>i(s.transaction(e,o).objectStore(e)))}var Xn;function Yn(){return Xn||(Xn=Kn("keyval-store","keyval")),Xn}function jo(t,e=Yn()){return e("readonly",n=>Mt(n.get(t)))}function zo(t,e,n=Yn()){return n("readwrite",r=>(r.put(e,t),Mt(r.transaction)))}function Gs(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},Mt(t.transaction)}function To(t=Yn()){return t("readonly",e=>{if(e.getAllKeys)return Mt(e.getAllKeys());let n=[];return Gs(e,r=>n.push(r.key)).then(()=>n)})}var At=$e?Kn("npm","packages"):void 0;function Zn(t,e){return jo(`${t}@${e}`,At)}function Gn(t,e,n){return zo(`${t}@${e}`,n,At)}$e&&Object.assign(window,{NPM_PACKAGES:At,idb:{get:Zn,set:Gn,NPM_PACKAGES:At},cached:()=>To(At)});function el(t){return new Uint8Array(t)}async function tl(t){try{let e=await fetch(`https://cdn.jsdelivr.net/npm/${t}`);if(e.ok)return e}catch{}return fetch(`https://unpkg.com/${t}`)}async function nl(t,e){let n=await tl(t);if(n.ok){let r=await n.text();return new Promise((o,i)=>{let s=URL.createObjectURL(new Blob([r],{type:"text/javascript"})),c=document.createElement("script"),a=()=>{URL.revokeObjectURL(s),c.remove()};c.onload=()=>{a(),e in window?o(window[e]):i(new Error(`importScript(): not found ${e} from global`))},c.onerror=()=>{a(),i(new Error(`importScript(): failed to load ${e}`))},c.src=s,document.head.appendChild(c)})}else throw new Error(await n.text())}async function rl(t){if(typeof DecompressionStream<"u"){let e=new DecompressionStream("gzip"),n=e.writable.getWriter();return n.write(t),n.close(),new Response(e.readable).arrayBuffer().then(el)}else return(await nl("pako@2.1.0/dist/pako_inflate.min.js","pako")).inflate(t)}var ol=new TextDecoder;function rt(t,e,n){let r=new Uint8Array(t.buffer,e,n),o=r.indexOf(0);return ol.decode(r.subarray(0,o===-1?n:o))}function Io(t,e,n){let r=/^(\d+) ([^=]+)=(.*)$/gm,o=rt(t,e,n),i={path:void 0,size:void 0};for(let s;s=r.exec(o);){let[,c,a,l]=s;a==="path"&&(i.path=l),a==="size"&&(i.size=Number.parseInt(l))}return i}var il=t=>t.replace(/\\+/g,"/").replace(/^\.\/|^\./,"");async function Oo(t){let e=[];t[0]===31&&t[1]===139&&(t=await rl(t));let n=t.byteLength,r=new DataView(t.buffer),o,i;for(let s=0;s+40&&(c=h+"/"+c)}s+=512,u==="0"||u===""?a=rt(r,s,l):u==="g"?o=Io(r,s,l):u==="x"&&(i=Io(r,s,l)),s+=Math.ceil(l/512)*512,!(u==="g"||u==="x")&&(o&&(o.path&&(c=o.path),o.size&&(l=o.size)),i&&(i.path&&(c=i.path),i.size&&(l=i.size),i=void 0),(u==="0"||u==="")&&(c=il(c),c=c.replace(/^[^/]+\/?/,""),c=c.replace(/^\.\//,""),e.push({path:c,content:a})))}return e}function Lo(t,e,n){let r=t.slice();return r[17]=e[n],r}function Co(t,e,n){let r=t.slice();return r[17]=e[n].path,r}function sl(t){let e;return{c(){e=E("i"),this.h()},l(n){e=$(n,"I",{class:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","i-mdi-package-variant-closed-plus svelte-83gze3")},m(n,r){T(n,e,r)},p:B,d(n){n&&g(e)}}}function ll(t){let e,n;return{c(){e=E("i"),this.h()},l(r){e=$(r,"I",{class:!0,title:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","i-mdi-package-variant-closed-check svelte-83gze3"),_(e,"title",n=t[2]?t[2]+" files":"")},m(r,o){T(r,e,o)},p(r,o){o&4&&n!==(n=r[2]?r[2]+" files":"")&&_(e,"title",n)},d(r){r&&g(e)}}}function Mo(t){let e,n='',r,o,i='',s,c,a,l,u,d,h;return{c(){e=E("button"),e.innerHTML=n,r=A(),o=E("button"),o.innerHTML=i,s=A(),c=E("button"),a=E("i"),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),re(e)!=="svelte-eimil1"&&(e.innerHTML=n),r=F(f),o=$(f,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),re(o)!=="svelte-15997bi"&&(o.innerHTML=i),s=F(f),c=$(f,"BUTTON",{class:!0,title:!0});var p=I(c);a=$(p,"I",{class:!0}),I(a).forEach(g),p.forEach(g),this.h()},h(){_(e,"class","view svelte-83gze3"),_(e,"title","view package content"),_(o,"class","open svelte-83gze3"),_(o,"title","explode this package"),_(a,"class","i-mdi-package-variant-closed-remove"),_(c,"class","remove svelte-83gze3"),_(c,"title",l="uninstall "+t[0]),c.disabled=u=!t[2]},m(f,p){T(f,e,p),T(f,r,p),T(f,o,p),T(f,s,p),T(f,c,p),y(c,a),d||(h=[Y(e,"click",t[7]),Y(o,"click",t[9]),Y(c,"click",t[8])],d=!0)},p(f,p){p&1&&l!==(l="uninstall "+f[0])&&_(c,"title",l),p&4&&u!==(u=!f[2])&&(c.disabled=u)},d(f){f&&(g(e),g(r),g(o),g(s),g(c)),d=!1,se(h)}}}function Ao(t){let e,n,r,o="Select files to extract:",i,s,c='',a,l,u,d=[],h=new Map,f,p,m=' Add into list',b,k,v=[],w=new Map,S,x,L,M='Extract',q,N,ce='Cancel',U,C,j=de(t[3].files),z=D=>D[17];for(let D=0;DD[17];for(let D=0;Dt[15].call(u)),_(p,"class","svelte-83gze3"),_(l,"class","svelte-83gze3"),_(k,"class","svelte-83gze3"),_(L,"class","svelte-83gze3"),_(N,"class","svelte-83gze3"),_(x,"class","svelte-83gze3"),e.open=!0,_(e,"class","svelte-83gze3")},m(D,J){T(D,e,J),y(e,n),y(n,r),y(n,i),y(n,s),y(e,a),y(e,l),y(l,u);for(let X=0;X=0?ll:sl}let h=d(t,-1),f=h(t),p=t[6]>=0&&Mo(t),m=t[3]&&Ao(t);return{c(){e=E("div"),f.c(),n=A(),r=E("a"),o=H(t[0]),s=A(),c=E("span"),a=H(t[1]),l=A(),p&&p.c(),u=A(),m&&m.c(),this.h()},l(b){e=$(b,"DIV",{class:!0});var k=I(e);f.l(k),n=F(k),r=$(k,"A",{class:!0,href:!0,target:!0,rel:!0});var v=I(r);o=K(v,t[0]),v.forEach(g),s=F(k),c=$(k,"SPAN",{class:!0});var w=I(c);a=K(w,t[1]),w.forEach(g),l=F(k),p&&p.l(k),u=F(k),m&&m.l(k),k.forEach(g),this.h()},h(){_(r,"class","npm-package__name svelte-83gze3"),_(r,"href",i="https://www.npmjs.com/package/"+t[0]),_(r,"target","_blank"),_(r,"rel","noreferrer"),_(c,"class","npm-package__version svelte-83gze3"),_(e,"class","npm-package svelte-83gze3"),Pe(e,"not-installed",t[6]<0)},m(b,k){T(b,e,k),f.m(e,null),y(e,n),y(e,r),y(r,o),y(e,s),y(e,c),y(c,a),y(e,l),p&&p.m(e,null),y(e,u),m&&m.m(e,null)},p(b,[k]){h===(h=d(b,k))&&f?f.p(b,k):(f.d(1),f=h(b),f&&(f.c(),f.m(e,n))),k&1&&G(o,b[0]),k&1&&i!==(i="https://www.npmjs.com/package/"+b[0])&&_(r,"href",i),k&2&&G(a,b[1]),b[6]>=0?p?p.p(b,k):(p=Mo(b),p.c(),p.m(e,u)):p&&(p.d(1),p=null),b[3]?m?m.p(b,k):(m=Ao(b),m.c(),m.m(e,null)):m&&(m.d(1),m=null),k&64&&Pe(e,"not-installed",b[6]<0)},i:B,o:B,d(b){b&&g(e),f.d(),p&&p.d(),m&&m.d()}}}function cl(t,e,n){let r,o,i;V(t,Oe,S=>n(16,o=S)),V(t,Be,S=>n(14,i=S));let{name:s=""}=e,{version:c=""}=e,{size:a=0}=e;function l(){let S=`https://hyrious.me/npm-browser/?q=${s}@${c}`;window.open(S,"_blank")}function u(){r>=0&&(i.splice(r,1),Be.set(i))}let d=null,h=[],f="";function p(){a&&(n(3,d=i[r]),n(5,f="package.json"),n(4,h=[]))}function m(){n(3,d=null),n(5,f=""),n(4,h=[])}function b(){f&&!h.includes(f)&&(h.push(f),n(4,h))}function k(S){let L=S.currentTarget.dataset?.path;if(L){let M=h.indexOf(L);M>=0&&(h.splice(M,1),n(4,h))}}function v(){if(d==null)return;if(h.length===0)return m();let S=new Set(h);for(let{path:x,content:L}of d.files)S.has(x)&&o.push({entry:!1,path:`node_modules/${d.name}/${x}`,content:L});u(),Oe.set(o),m()}function w(){f=Yt(this),n(5,f),n(3,d)}return t.$$set=S=>{"name"in S&&n(0,s=S.name),"version"in S&&n(1,c=S.version),"size"in S&&n(2,a=S.size)},t.$$.update=()=>{t.$$.dirty&16385&&n(6,r=i.findIndex(S=>S.name===s))},[s,c,a,d,h,f,r,l,u,p,m,b,k,v,i,w]}var Qn=class extends Q{constructor(e){super(),le(this,e,cl,al,ne,{name:0,version:1,size:2})}},No=Qn;var{Map:ul}=jt;function Po(t,e,n){let r=t.slice();r[25]=e[n].name,r[26]=e[n].version,r[27]=e[n].files;let o=r[4][r[25]]||[];return r[28]=o,r}function Bo(t,e,n){let r=t.slice();return r[25]=e[n][0],r[31]=e[n][1],r}function Uo(t,e,n){let r=t.slice();return r[34]=e[n].entry,r[35]=e[n].path,r[36]=e[n].content,r[37]=e,r[38]=n,r}function Do(t){let e,n,r,o,i;function s(d){t[15](d,t[34],t[37],t[38])}function c(d){t[16](d,t[35],t[37],t[38])}function a(d){t[17](d,t[36],t[37],t[38])}function l(){return t[18](t[38])}let u={header:!0,rows:2,label:"INPUT",placeholder:"(enter your code here)"};return t[34]!==void 0&&(u.entry=t[34]),t[35]!==void 0&&(u.name=t[35]),t[36]!==void 0&&(u.content=t[36]),e=new ke({props:u}),Ce.push(()=>qe(e,"entry",s)),Ce.push(()=>qe(e,"name",c)),Ce.push(()=>qe(e,"content",a)),e.$on("remove",l),{c(){oe(e.$$.fragment)},l(d){ie(e.$$.fragment,d)},m(d,h){ee(e,d,h),i=!0},p(d,h){t=d;let f={};!n&&h[0]&8&&(n=!0,f.entry=t[34],Je(()=>n=!1)),!r&&h[0]&8&&(r=!0,f.name=t[35],Je(()=>r=!1)),!o&&h[0]&8&&(o=!0,f.content=t[36],Je(()=>o=!1)),e.$set(f)},i(d){i||(O(e.$$.fragment,d),i=!0)},o(d){R(e.$$.fragment,d),i=!1},d(d){te(e,d)}}}function Jo(t){let e,n,r,o,i=t[25]+"",s,c,a=t[31]+"",l,u,d,h;return{c(){e=E("button"),n=E("i"),r=A(),o=E("span"),s=H(i),c=H("@"),l=H(a),this.h()},l(f){e=$(f,"BUTTON",{class:!0,title:!0});var p=I(e);n=$(p,"I",{class:!0}),I(n).forEach(g),r=F(p),o=$(p,"SPAN",{class:!0});var m=I(o);s=K(m,i),c=K(m,"@"),l=K(m,a),m.forEach(g),p.forEach(g),this.h()},h(){_(n,"class","i-mdi-package-variant-closed-plus svelte-1oui2el"),_(o,"class","sans-serif svelte-1oui2el"),_(e,"class","not-installed svelte-1oui2el"),_(e,"title",u="npm install "+t[25]+"@"+t[31])},m(f,p){T(f,e,p),y(e,n),y(e,r),y(e,o),y(o,s),y(o,c),y(o,l),d||(h=Y(e,"click",function(){Ee(t[9].bind(null,`${t[25]}@${t[31]}`))&&t[9].bind(null,`${t[25]}@${t[31]}`).apply(this,arguments)}),d=!0)},p(f,p){t=f,p[0]&20&&i!==(i=t[25]+"")&&G(s,i),p[0]&20&&a!==(a=t[31]+"")&&G(l,a),p[0]&20&&u!==(u="npm install "+t[25]+"@"+t[31])&&_(e,"title",u)},d(f){f&&g(e),d=!1,h()}}}function qo(t){let e=!t[2].some(r),n;function r(...i){return t[13](t[25],...i)}let o=e&&Jo(t);return{c(){o&&o.c(),n=Z()},l(i){o&&o.l(i),n=Z()},m(i,s){o&&o.m(i,s),T(i,n,s)},p(i,s){t=i,s[0]&20&&(e=!t[2].some(r)),e?o?o.p(t,s):(o=Jo(t),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(i){i&&g(n),o&&o.d(i)}}}function Wo(t,e){let n,r,o,i,s;r=new No({props:{name:e[25],version:e[26],size:e[27].length}});let c=de(e[28]),a=[];for(let l=0;lqe(n,"content",L)),n.$on("reload",t[6]);let q=de(t[3]),N=[];for(let j=0;jR(N[j],1,1,()=>{N[j]=null}),U=de(t[2]),C=j=>j[25];for(let j=0;jr=!1)),n.$set(P),z[0]&264){q=de(j[3]);let W;for(W=0;Wn(19,r=C)),V(t,Be,C=>n(2,o=C)),V(t,Oe,C=>n(3,i=C)),V(t,xe,C=>n(20,s=C)),V(t,Le,C=>n(10,c=C)),V(t,sn,C=>n(11,a=C)),V(t,Ie,C=>n(12,l=C));let{show:u=!0}=e,d=Object.create(null),h=l==="build"?c:"";function f(){n(1,h=pl),nn("[data-options]")}let p="entry.js";function m(){i.push({path:p,content:"",entry:p==="entry.js"}),Oe.set(i),Xr('[data-label="INPUT"] input')}function b(C){i.splice(C,1),Oe.set(i)}async function k(C){if(typeof C!="string"&&(C=prompt("Enter package name:"),!C))return;let j=C.indexOf("@",1),z=j===-1?C:C.slice(0,j);if(!z||o.some(ae=>ae.name===z))return;ve(me,r=`Installing ${z} \u2026`,r);let P=j===-1?"latest":C.slice(j+1),W=await w(z,P),D,J=`https://registry.npmjs.org/${z}/-/${z.split("/").pop()}-${W}.tgz`;try{ve(me,r=`Installing ${z}@${W} \u2026`,r);let ae=await Zn(z,W);ae?D=ae.buffer:(D=await fetch(J).then(Re=>Re.arrayBuffer()),await Gn(z,W,new Uint8Array(D)))}catch(ae){if(ae.name==="AbortError")return;throw ve(me,r=ae+"",r),ae}ve(me,r=`Extracting ${z}@${W} \u2026`,r);let X=await Oo(new Uint8Array(D)),ge=X.find(ae=>ae.path==="package.json");if(ge)try{v(z,ge.content)}catch{}o.some(ae=>ae.name===z)||(o.push({name:z,version:W,files:X}),Be.set(o)),ve(me,r=`Extracted ${X.length} files.`,r)}function v(C,j){let z=JSON.parse(j);if(z.dependencies){let P=n(4,d[C]=[],d);for(let W of Object.keys(z.dependencies))P.push([W,z.dependencies[W]]);n(4,d)}}async function w(C,j){return dl.test(j)||(j=await x(`https://unpkg.com/${C}@${j}/package.json`),j=j.slice(18+C.length+1),j=j.slice(0,j.indexOf("/"))),j}let S=new Map;async function x(C){if(S.has(C))return S.get(C);let j=fetch(C).then(async z=>{if(z.ok)return z.url;throw new Error(await z.text())}).catch(z=>{throw S.delete(C),z});return S.set(C,j),j}Qe(()=>{for(let C of We.i||[])k(C).catch(console.error)});let L=(C,j)=>j.name===C;function M(C){h=C,n(1,h)}function q(C,j,z,P){z[P].entry=C,Oe.set(i)}function N(C,j,z,P){z[P].path=C,Oe.set(i)}function ce(C,j,z,P){z[P].content=C,Oe.set(i)}let U=C=>b(C);return t.$$set=C=>{"show"in C&&n(0,u=C.show)},t.$$.update=()=>{if(t.$$.dirty[0]&7182&&l==="build"&&(ve(Le,c=h,c),a))try{let C=He(c,"build"),j=Array.isArray(C.entryPoints)?C.entryPoints:C.entryPoints=[],z=Object.create(null),P=new Set,W;for(let{entry:D,path:J,content:X}of i){if(P.has(J))throw new Error("Duplicate input file: "+(J?JSON.stringify(J):""));P.add(J),J?(z[J]=X,D&&j.push(J)):(W=C.stdin&&typeof C.stdin=="object"?C.stdin:C.stdin={},W.contents=X,"resolveDir"in W||(W.resolveDir="/"))}for(let D of o){let J=`node_modules/${D.name}/`;for(let{path:X,content:ge}of D.files){let ae=J+X;if(P.has(ae))throw new Error("Duplicate input file: "+JSON.stringify(ae));z[ae]=ge}}gt({U:"build",J:z,L:C}).then(xe.set,dt)}catch(C){ve(xe,s={$:ln(C)},s)}if(t.$$.dirty[0]&8&&i){let C=new Set;for(let{path:j}of i)C.add(j);if(!C.has("entry.js"))n(5,p="entry.js");else for(let j=1;j<100;j++){let z=`file${j===1?"":j}.js`;if(!C.has(z)){n(5,p=z);break}}}},[u,h,o,i,d,p,f,m,b,k,c,a,l,L,M,q,N,ce,U]}var er=class extends Q{constructor(e){super(),le(this,e,hl,fl,ne,{show:0},null,[-1,-1])}},Vo=er;var tr=class{T="";z=[];X=!1;Y=!1;ie(e){return e.replace(/&/g,"&").replace(//g,">")}_(e){this.T+=this.ie(e)}G(){let e;for(;e=this.z.pop();)this.T+=e}se(){this.X||(this.X=!0,this.T+="",this.z.push(""))}ce(){this.Y||(this.Y=!0,this.T+="",this.z.push(""))}le(){return this.z[this.z.length-1]}k(e){let n;for(;(n=this.le())==="";)this.z.pop(),this.T+=n;this.T+=``,this.z.push("")}ae(){return this.G(),this.T}};function bt(t){t=t.trimEnd();let e=0,n=new tr;for(let r of t.matchAll(/\033\[([^m]*)m/g)){let o=r[1];switch(n._(t.slice(e,r.index)),e=r.index+r[0].length,o){case"0":n.G();break;case"1":n.se();break;case"31":n.k("color-red");break;case"32":n.k("color-green");break;case"33":n.k("color-yellow");break;case"34":n.k("color-blue");break;case"35":n.k("color-magenta");break;case"37":n.k("color-dim");break;case"41;31":n.k("bg-red color-red");break;case"41;97":n.k("bg-red color-white");break;case"43;33":n.k("bg-yellow color-yellow");break;case"43;30":n.k("bg-yellow color-black");break}}return e{s[u]=null}),pe(),n=s[e],n?n.p(a,l):(n=s[e]=i[e](a),n.c()),O(n,1),n.m(r.parentNode,r))},i(a){o||(O(n),o=!0)},o(a){R(n),o=!1},d(a){a&&g(r),s[e].d(a)}}}function gl(t){let e,n="(loading rollup\u2026)";return{c(){e=E("p"),e.textContent=n,this.h()},l(r){e=$(r,"P",{class:!0,"data-svelte-h":!0}),re(e)!=="svelte-1r50pli"&&(e.textContent=n),this.h()},h(){_(e,"class","svelte-1i4kd1x")},m(r,o){T(r,e,o)},p:B,i:B,o:B,d(r){r&&g(e)}}}function bl(t){let e,n,r,o={ctx:t,current:null,token:null,hasCatch:!1,pending:xl,then:yl,catch:vl,value:5,blocks:[,,,]};return Ot(n=t[2](t[4]),o),{c(){e=Z(),o.block.c()},l(i){e=Z(),o.block.l(i)},m(i,s){T(i,e,s),o.block.m(i,o.anchor=s),o.mount=()=>e.parentNode,o.anchor=e,r=!0},p(i,s){t=i,o.ctx=t,s&1&&n!==(n=t[2](t[4]))&&Ot(n,o)||In(o,t,s)},i(i){r||(O(o.block),r=!0)},o(i){for(let s=0;s<3;s+=1){let c=o.blocks[s];R(c)}r=!1},d(i){i&&g(e),o.block.d(i),o.token=null,o=null}}}function vl(t){return{c:B,l:B,m:B,p:B,i:B,o:B,d:B}}function yl(t){let e,n,r,o=t[1]&&Ho(t);return n=new ke({props:{label:"ROLLUP "+t[4].VERSION+" | VITE",readonly:!0,content:t[5],lang:"js"}}),{c(){o&&o.c(),e=A(),oe(n.$$.fragment)},l(i){o&&o.l(i),e=F(i),ie(n.$$.fragment,i)},m(i,s){o&&o.m(i,s),T(i,e,s),ee(n,i,s),r=!0},p(i,s){i[1]?o?o.p(i,s):(o=Ho(i),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null);let c={};s&1&&(c.label="ROLLUP "+i[4].VERSION+" | VITE"),s&1&&(c.content=i[5]),n.$set(c)},i(i){r||(O(n.$$.fragment,i),r=!0)},o(i){R(n.$$.fragment,i),r=!1},d(i){i&&g(e),o&&o.d(i),te(n,i)}}}function Ho(t){let e,n,r=bt(t[1])+"";return{c(){e=E("pre"),n=new Ne(!1),this.h()},l(o){e=$(o,"PRE",{class:!0});var i=I(e);n=Kt(i,!1),i.forEach(g),this.h()},h(){n.a=null,_(e,"class","svelte-1i4kd1x")},m(o,i){T(o,e,i),n.m(r,e)},p(o,i){i&2&&r!==(r=bt(o[1])+"")&&n.p(r)},d(o){o&&g(e)}}}function xl(t){let e,n,r=t[4].VERSION+"",o,i;return{c(){e=E("p"),n=H("(rollup "),o=H(r),i=H(" is bundling\u2026)"),this.h()},l(s){e=$(s,"P",{class:!0});var c=I(e);n=K(c,"(rollup "),o=K(c,r),i=K(c," is bundling\u2026)"),c.forEach(g),this.h()},h(){_(e,"class","svelte-1i4kd1x")},m(s,c){T(s,e,c),y(e,n),y(e,o),y(e,i)},p(s,c){c&1&&r!==(r=s[4].VERSION+"")&&G(o,r)},i:B,o:B,d(s){s&&g(e)}}}function wl(t){let e,n="(loading rollup\u2026)";return{c(){e=E("p"),e.textContent=n,this.h()},l(r){e=$(r,"P",{class:!0,"data-svelte-h":!0}),re(e)!=="svelte-1r50pli"&&(e.textContent=n),this.h()},h(){_(e,"class","svelte-1i4kd1x")},m(r,o){T(r,e,o)},p:B,i:B,o:B,d(r){r&&g(e)}}}function kl(t){let e,n,r,o={ctx:t,current:null,token:null,hasCatch:!0,pending:wl,then:_l,catch:ml,value:4,error:6,blocks:[,,,]};return Ot(n=t[0],o),{c(){e=Z(),o.block.c()},l(i){e=Z(),o.block.l(i)},m(i,s){T(i,e,s),o.block.m(i,o.anchor=s),o.mount=()=>e.parentNode,o.anchor=e,r=!0},p(i,[s]){t=i,o.ctx=t,s&1&&n!==(n=t[0])&&Ot(n,o)||In(o,t,s)},i(i){r||(O(o.block),r=!0)},o(i){for(let s=0;s<3;s+=1){let c=o.blocks[s];R(c)}r=!1},d(i){i&&g(e),o.block.d(i),o.token=null,o=null}}}function El(t,e,n){let r;V(t,xe,c=>n(3,r=c));let o,i="";Qe(()=>{window.rollup?n(0,o=Promise.resolve(window.rollup)):n(0,o=new Promise(async(c,a)=>{let l=AbortSignal.timeout(5e3),u=()=>a(new Error("Timeout"));l.addEventListener("abort",u);let d=await Promise.race([fetch("https://unpkg.com/@rollup/browser",{signal:l}).then(f=>f.url),fetch("https://cdn.jsdelivr.net/npm/@rollup/browser/package.json",{signal:l}).then(f=>f.json())]);l.removeEventListener("abort",u),typeof d=="object"&&(d=`https://cdn.jsdelivr.net/npm/@rollup/browser@${d.version}/${d.main}`);let h=document.createElement("script");h.src=d,h.onload=()=>c(window.rollup),h.onerror=()=>a(new Error(`Could not load Rollup from ${h.src}`)),document.head.appendChild(h)}))});async function s(c){let a=r?.S,l=window.esbuild;if(!a||!l)return"// not ready";let u={name:"stdin",resolveId(k){return k=="main.js"?k:{id:k,external:!0}},load(k){return a}},d=[],h=k=>{d.push(k),console.warn(k.toString())},p=await(await c.rollup({input:"main.js",plugins:[u],onwarn:h})).generate({format:"es"});n(1,i=(await l.formatMessages(d.map(k=>({text:k.message})),{kind:"warning",color:!0})).join(""));let m=p.output[0].code;console.log(`===== STAGE 1 ===== (rollup.rollup) `+m);let{code:b}=await l.transform(m,{minifySyntax:!0});return console.log(`===== STAGE 2 ===== (esbuild.minify) `+b),b}return[o,i,s]}var nr=class extends Q{constructor(e){super(),le(this,e,El,kl,ne,{})}},Xo=nr;function Ko(t){let e,n;return e=new ke({props:{label:"FEATURES",readonly:!0,content:t[0].join(` `),lang:"raw"}}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},p(r,o){let i={};o&1&&(i.content=r[0].join(` -`)),e.$set(i)},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function Yo(t){let e,n;return e=new Xo({}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function $l(t){let e,n,r=' Simulate Vite output',o,i,s,c,a,l=t[1]==="detecting"?"Detecting":"Detect",u,d,h,f,p,m,b,k,v,w,S=t[1]==="detected"&&Ko(t),x=t[2]&&Yo(t);return{c(){e=E("div"),n=E("button"),n.innerHTML=r,o=A(),i=E("button"),s=E("i"),c=A(),a=E("span"),u=H(l),d=H(" features"),p=A(),S&&S.c(),m=A(),x&&x.c(),b=Z(),this.h()},l(C){e=$(C,"DIV",{class:!0,style:!0});var M=I(e);n=$(M,"BUTTON",{title:!0,class:!0,"data-svelte-h":!0}),re(n)!=="svelte-1nrct1v"&&(n.innerHTML=r),o=F(M),i=$(M,"BUTTON",{title:!0,class:!0});var q=I(i);s=$(q,"I",{class:!0}),I(s).forEach(g),c=F(q),a=$(q,"SPAN",{class:!0});var N=I(a);u=K(N,l),d=K(N," features"),N.forEach(g),q.forEach(g),M.forEach(g),p=F(C),S&&S.l(C),m=F(C),x&&x.l(C),b=Z(),this.h()},h(){_(n,"title","esbuild#3125"),_(n,"class","svelte-1xv65jf"),_(s,"class","i-mdi-magnify"),_(a,"class","svelte-1xv65jf"),_(i,"title","--supported:?"),i.disabled=h=t[1]!=="idle",_(i,"class","svelte-1xv65jf"),Pe(i,"detecting",t[1]==="detecting"),_(e,"class","features svelte-1xv65jf"),_(e,"style",f=!t[3]||t[1]==="detected"?"display: none":"")},m(C,M){T(C,e,M),y(e,n),y(e,o),y(e,i),y(i,s),y(i,c),y(i,a),y(a,u),y(a,d),T(C,p,M),S&&S.m(C,M),T(C,m,M),x&&x.m(C,M),T(C,b,M),k=!0,v||(w=[Y(n,"click",t[7]),Y(i,"click",t[4])],v=!0)},p(C,[M]){(!k||M&2)&&l!==(l=C[1]==="detecting"?"Detecting":"Detect")&&G(u,l),(!k||M&2&&h!==(h=C[1]!=="idle"))&&(i.disabled=h),(!k||M&2)&&Pe(i,"detecting",C[1]==="detecting"),(!k||M&10&&f!==(f=!C[3]||C[1]==="detected"?"display: none":""))&&_(e,"style",f),C[1]==="detected"?S?(S.p(C,M),M&2&&O(S,1)):(S=Ko(C),S.c(),O(S,1),S.m(m.parentNode,m)):S&&(fe(),R(S,1,1,()=>{S=null}),pe()),C[2]?x?M&4&&O(x,1):(x=Yo(C),x.c(),O(x,1),x.m(b.parentNode,b)):x&&(fe(),R(x,1,1,()=>{x=null}),pe())},i(C){k||(O(S),O(x),k=!0)},o(C){R(S),R(x),k=!1},d(C){C&&(g(e),g(p),g(m),g(b)),S&&S.d(C),x&&x.d(C),v=!1,se(w)}}}function Sl(t,e,n){let r,o,i,s,c;V(t,me,v=>n(9,r=v)),V(t,Ve,v=>n(10,o=v)),V(t,Ce,v=>n(11,i=v)),V(t,Fe,v=>n(5,s=v)),V(t,xe,v=>n(6,c=v));let a=[],l="idle",u=!1,d=!1,h=["arbitrary-module-namespace-names","array-spread","arrow","async-await","async-generator","bigint","class","class-field","class-private-accessor","class-private-brand-check","class-private-field","class-private-method","class-private-static-accessor","class-private-static-field","class-private-static-method","class-static-blocks","class-static-field","const-and-let","decorators","default-argument","destructuring","dynamic-import","exponent-operator","export-star-as","for-await","for-of","function-name-configurable","function-or-class-property-access","generator","hashbang","import-assertions","import-attributes","import-meta","inline-script","logical-assignment","nested-rest-binding","new-target","node-colon-prefix-import","node-colon-prefix-require","nullish-coalescing","object-accessors","object-extensions","object-rest-spread","optional-catch-binding","optional-chain","regexp-dot-all-flag","regexp-lookbehind-assertions","regexp-match-indices","regexp-named-capture-groups","regexp-set-notation","regexp-sticky-and-unicode-flags","regexp-unicode-property-escapes","rest-argument","template-literal","top-level-await","typeof-exotic-object-is-object","unicode-escapes","using"],f=["color-functions","gradient-double-position","gradient-interpolation","gradient-midpoints","hwb","hex-rgba","inline-style","inset-property","is-pseudo-class","modern-rgb-hsl","nesting","rebecca-purple"];class p{cancelled=!1;resolve;reject;constructor(w,S,x,C){this._run(w,S,x,C)}async _run(w,S,x,C){await ft();let M=[],q;try{await w.transform(S,x).then(N=>q=N.code)}catch(N){!this.cancelled&&this.reject&&this.reject(N);return}if(!this.cancelled){for(let N of C){x.supported={[N]:!1};try{await w.transform(S,x).then(ce=>{ce.code!==q&&M.push(N)})}catch(ce){ce.message.includes("is not a valid feature")||M.push(N)}if(this.cancelled)return}this.resolve&&this.resolve(M)}}cancel(){this.cancelled=!0}then(w){this.resolve=w}catch(w){this.reject=w}}let m=null;function b(){let v=window.esbuild;if(!v)throw new Error("esbuild has not been initialized");let w=He(i,"transform"),x=(w.loader&&w.loader==="css"?"css":"js")==="js"?h:f;w.supported={},w.target="esnext",n(1,l="detecting"),m&&m.cancel(),m=new p(v,o,w,x),m.then(C=>{n(0,a=C),n(1,l="detected")}),m.catch(C=>{ve(me,r=C+"",r),n(1,l="idle"),n(0,a=[])})}let k=()=>n(2,u=!u);return t.$$.update=()=>{if(t.$$.dirty&64&&c&&(n(2,u=!1),n(1,l="idle"),n(0,a=[])),t.$$.dirty&32&&s!=="latest"){let[v,w,S]=s.split(".").map(x=>+x);n(3,d=v>0||w>14||w===14&&S>=46)}},[a,l,u,d,b,s,c,k]}var rr=class extends Q{constructor(e){super(),le(this,e,Sl,$l,ne,{})}},Zo=rr;function jl(t){let e,n,r,o,i,s,c,a;return{c(){e=E("div"),n=E("button"),r=E("i"),o=A(),i=E("span"),s=H(t[1]),this.h()},l(l){e=$(l,"DIV",{class:!0});var u=I(e);n=$(u,"BUTTON",{title:!0,class:!0});var d=I(n);r=$(d,"I",{class:!0}),I(r).forEach(g),o=F(d),i=$(d,"SPAN",{class:!0});var h=I(i);s=K(h,t[1]),h.forEach(g),d.forEach(g),u.forEach(g),this.h()},h(){_(r,"class","i-mdi-eye-outline"),_(i,"class","svelte-1lkddes"),_(n,"title",t[0]),_(n,"class","svelte-1lkddes"),_(e,"class","svelte-1lkddes")},m(l,u){T(l,e,u),y(e,n),y(n,r),y(n,o),y(n,i),y(i,s),c||(a=Y(n,"click",t[2]),c=!0)},p(l,[u]){u&2&&G(s,l[1]),u&1&&_(n,"title",l[0])},i:B,o:B,d(l){l&&g(e),c=!1,a()}}}function zl(t,e,n){let{title:r}=e,{content:o}=e;function i(s){Br.call(this,t,s)}return t.$$set=s=>{"title"in s&&n(0,r=s.title),"content"in s&&n(1,o=s.content)},[r,o,i]}var or=class extends Q{constructor(e){super(),le(this,e,zl,jl,ne,{title:0,content:1})}},ir=or;function Tl(t){let e,n,r=' Download',o,i,s=' Analyze this metafile',c,a;return{c(){e=E("div"),n=E("button"),n.innerHTML=r,o=A(),i=E("button"),i.innerHTML=s,this.h()},l(l){e=$(l,"DIV",{class:!0});var u=I(e);n=$(u,"BUTTON",{class:!0,"data-svelte-h":!0}),re(n)!=="svelte-14rm600"&&(n.innerHTML=r),o=F(u),i=$(u,"BUTTON",{class:!0,"data-svelte-h":!0}),re(i)!=="svelte-7kkfu3"&&(i.innerHTML=s),u.forEach(g),this.h()},h(){_(n,"class","svelte-wtmoi9"),_(i,"class","svelte-wtmoi9"),_(e,"class","download svelte-wtmoi9")},m(l,u){T(l,e,u),y(e,n),y(e,o),y(e,i),c||(a=[Y(n,"click",t[1]),Y(i,"click",t[2])],c=!0)},p:B,i:B,o:B,d(l){l&&g(e),c=!1,se(a)}}}function Il(t){let e=et();return[e,()=>e("download"),()=>e("analyze")]}var sr=class extends Q{constructor(e){super(),le(this,e,Il,Tl,ne,{})}},Go=sr;function Qo(t,e,n){let r=t.slice();r[13]=e[n].path,r[14]=e[n].contents;let o=r[13].replace(/^\//,"");r[15]=o;let i=r[1].decode(r[14]);return r[16]=i,r}function Ol(t){let e,n="(no output)";return{c(){e=E("p"),e.textContent=n,this.h()},l(r){e=$(r,"P",{class:!0,"data-svelte-h":!0}),re(e)!=="svelte-1erfmpj"&&(e.textContent=n),this.h()},h(){_(e,"class","svelte-178fr2s")},m(r,o){T(r,e,o)},p:B,i:B,o:B,d(r){r&&g(e)}}}function Cl(t){let e,n,r=Array.isArray(t[0].I),o,i,s,c=t[0].O&&Object.keys(t[0].O).length,a,l,u,d=t[0].$&&ei(t),h=typeof t[0].S=="string"&&ti(t),f=r&&ri(t),p=t[0].R&&si(t),m=t[0].C&&li(t),b=c&&ai(t),k=t[0].j&&ci(t);return{c(){d&&d.c(),e=A(),h&&h.c(),n=A(),f&&f.c(),o=A(),p&&p.c(),i=A(),m&&m.c(),s=A(),b&&b.c(),a=A(),k&&k.c(),l=Z()},l(v){d&&d.l(v),e=F(v),h&&h.l(v),n=F(v),f&&f.l(v),o=F(v),p&&p.l(v),i=F(v),m&&m.l(v),s=F(v),b&&b.l(v),a=F(v),k&&k.l(v),l=Z()},m(v,w){d&&d.m(v,w),T(v,e,w),h&&h.m(v,w),T(v,n,w),f&&f.m(v,w),T(v,o,w),p&&p.m(v,w),T(v,i,w),m&&m.m(v,w),T(v,s,w),b&&b.m(v,w),T(v,a,w),k&&k.m(v,w),T(v,l,w),u=!0},p(v,w){v[0].$?d?d.p(v,w):(d=ei(v),d.c(),d.m(e.parentNode,e)):d&&(d.d(1),d=null),typeof v[0].S=="string"?h?(h.p(v,w),w&1&&O(h,1)):(h=ti(v),h.c(),O(h,1),h.m(n.parentNode,n)):h&&(fe(),R(h,1,1,()=>{h=null}),pe()),w&1&&(r=Array.isArray(v[0].I)),r?f?(f.p(v,w),w&1&&O(f,1)):(f=ri(v),f.c(),O(f,1),f.m(o.parentNode,o)):f&&(fe(),R(f,1,1,()=>{f=null}),pe()),v[0].R?p?(p.p(v,w),w&1&&O(p,1)):(p=si(v),p.c(),O(p,1),p.m(i.parentNode,i)):p&&(fe(),R(p,1,1,()=>{p=null}),pe()),v[0].C?m?(m.p(v,w),w&1&&O(m,1)):(m=li(v),m.c(),O(m,1),m.m(s.parentNode,s)):m&&(fe(),R(m,1,1,()=>{m=null}),pe()),w&1&&(c=v[0].O&&Object.keys(v[0].O).length),c?b?(b.p(v,w),w&1&&O(b,1)):(b=ai(v),b.c(),O(b,1),b.m(a.parentNode,a)):b&&(fe(),R(b,1,1,()=>{b=null}),pe()),v[0].j?k?(k.p(v,w),w&1&&O(k,1)):(k=ci(v),k.c(),O(k,1),k.m(l.parentNode,l)):k&&(fe(),R(k,1,1,()=>{k=null}),pe())},i(v){u||(O(h),O(f),O(p),O(m),O(b),O(k),u=!0)},o(v){R(h),R(f),R(p),R(m),R(b),R(k),u=!1},d(v){v&&(g(e),g(n),g(o),g(i),g(s),g(a),g(l)),d&&d.d(v),h&&h.d(v),f&&f.d(v),p&&p.d(v),m&&m.d(v),b&&b.d(v),k&&k.d(v)}}}function ei(t){let e,n,r=bt(t[0].$)+"";return{c(){e=E("pre"),n=new Ne(!1),this.h()},l(o){e=$(o,"PRE",{class:!0});var i=I(e);n=Kt(i,!1),i.forEach(g),this.h()},h(){n.a=null,_(e,"class","svelte-178fr2s")},m(o,i){T(o,e,i),n.m(r,e)},p(o,i){i&1&&r!==(r=bt(o[0].$)+"")&&n.p(r)},d(o){o&&g(e)}}}function ti(t){let e,n,r,o;e=new ke({props:{label:"OUTPUT",readonly:!0,content:t[0].S,lang:t[2]()}});let i=t[0].S&&ni(t);return{c(){oe(e.$$.fragment),n=A(),i&&i.c(),r=Z()},l(s){ie(e.$$.fragment,s),n=F(s),i&&i.l(s),r=Z()},m(s,c){ee(e,s,c),T(s,n,c),i&&i.m(s,c),T(s,r,c),o=!0},p(s,c){let a={};c&1&&(a.content=s[0].S),e.$set(a),s[0].S?i?c&1&&O(i,1):(i=ni(s),i.c(),O(i,1),i.m(r.parentNode,r)):i&&(fe(),R(i,1,1,()=>{i=null}),pe())},i(s){o||(O(e.$$.fragment,s),O(i),o=!0)},o(s){R(e.$$.fragment,s),R(i),o=!1},d(s){s&&(g(n),g(r)),te(e,s),i&&i.d(s)}}}function ni(t){let e,n;return e=new Zo({}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function ri(t){let e,n,r,o,i=[Ml,Ll],s=[];function c(a,l){return a[0].I.length===0?0:1}return e=c(t,-1),n=s[e]=i[e](t),{c(){n.c(),r=Z()},l(a){n.l(a),r=Z()},m(a,l){s[e].m(a,l),T(a,r,l),o=!0},p(a,l){let u=e;e=c(a,l),e===u?s[e].p(a,l):(fe(),R(s[u],1,1,()=>{s[u]=null}),pe(),n=s[e],n?n.p(a,l):(n=s[e]=i[e](a),n.c()),O(n,1),n.m(r.parentNode,r))},i(a){o||(O(n),o=!0)},o(a){R(n),o=!1},d(a){a&&g(r),s[e].d(a)}}}function Ll(t){let e,n,r=de(ui(t[0].I)),o=[];for(let s=0;sR(o[s],1,1,()=>{o[s]=null});return{c(){for(let s=0;s{s=null}),pe())},i(c){i||(O(e.$$.fragment,c),O(s),i=!0)},o(c){R(e.$$.fragment,c),R(s),i=!1},d(c){c&&(g(n),g(o)),te(e,c),s&&s.d(c)}}}function si(t){let e,n;return e=new ke({props:{label:"LEGAL COMMENTS",readonly:!0,content:t[0].R,lang:"comment"}}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},p(r,o){let i={};o&1&&(i.content=r[0].R),e.$set(i)},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function li(t){let e,n,r,o;return e=new ke({props:{label:"SOURCE MAP",readonly:!0,content:t[0].C,lang:"json"}}),r=new ir({props:{title:"evanw/source-map-visualization",content:"Visualize this source map"}}),r.$on("click",t[3]),{c(){oe(e.$$.fragment),n=A(),oe(r.$$.fragment)},l(i){ie(e.$$.fragment,i),n=F(i),ie(r.$$.fragment,i)},m(i,s){ee(e,i,s),T(i,n,s),ee(r,i,s),o=!0},p(i,s){let c={};s&1&&(c.content=i[0].C),e.$set(c)},i(i){o||(O(e.$$.fragment,i),O(r.$$.fragment,i),o=!0)},o(i){R(e.$$.fragment,i),R(r.$$.fragment,i),o=!1},d(i){i&&g(n),te(e,i),te(r,i)}}}function ai(t){let e,n;return e=new ke({props:{label:"MANGLE CACHE",readonly:!0,content:Ft(t[0].O),lang:"json"}}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},p(r,o){let i={};o&1&&(i.content=Ft(r[0].O)),e.$set(i)},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function ci(t){let e,n,r,o;return e=new ke({props:{label:"METAFILE",readonly:!0,content:Ft(t[0].j),lang:"json"}}),r=new Go({}),r.$on("download",t[5]),r.$on("analyze",t[6]),{c(){oe(e.$$.fragment),n=A(),oe(r.$$.fragment)},l(i){ie(e.$$.fragment,i),n=F(i),ie(r.$$.fragment,i)},m(i,s){ee(e,i,s),T(i,n,s),ee(r,i,s),o=!0},p(i,s){let c={};s&1&&(c.content=Ft(i[0].j)),e.$set(c)},i(i){o||(O(e.$$.fragment,i),O(r.$$.fragment,i),o=!0)},o(i){R(e.$$.fragment,i),R(r.$$.fragment,i),o=!1},d(i){i&&g(n),te(e,i),te(r,i)}}}function Al(t){let e,n,r,o,i=[Cl,Ol],s=[];function c(a,l){return a[0]?0:1}return e=c(t,-1),n=s[e]=i[e](t),{c(){n.c(),r=Z()},l(a){n.l(a),r=Z()},m(a,l){s[e].m(a,l),T(a,r,l),o=!0},p(a,[l]){let u=e;e=c(a,l),e===u?s[e].p(a,l):(fe(),R(s[u],1,1,()=>{s[u]=null}),pe(),n=s[e],n?n.p(a,l):(n=s[e]=i[e](a),n.c()),O(n,1),n.m(r.parentNode,r))},i(a){o||(O(n),o=!0)},o(a){R(n),o=!1},d(a){a&&g(r),s[e].d(a)}}}function Ft(t){return JSON.stringify(t,null,2)}function ui(t){return t.sort((e,n)=>+(e.path>n.path)-+(e.pathn(0,r=b)),V(t,me,b=>n(10,o=b)),V(t,Ce,b=>n(11,i=b));let s=new TextDecoder;function c(){return i.includes("--loader=css")||/loader["']?\:\s*["']css/.test(i)?"css":"js"}let a=new URL("https://evanw.github.io/source-map-visualization");function l(b,k){let v=b.length+"\0"+b+k.length+"\0"+k;a.hash=btoa(v).replace(/=+$/,""),window.open(a,"_blank")}function u(){l(r?.S||"",r?.C||"")}function d(b,k){if(r?.I&&b.endsWith(".map")){let v=b.slice(0,-4),w=r.I.find(S=>S.path===v);w&&l(s.decode(w.contents),k)}}async function h(){if(r?.j){let b=new Blob([Ft(r.j)],{type:"application/json"}),k="metafile.json";if(window.showSaveFilePicker)try{let S=await window.showSaveFilePicker({suggestedName:k}),x=await S.createWritable();await x.write(b),await x.close(),ve(me,o=`File ${S.name} saved.`,o);return}catch(S){if(S.name==="AbortError")return;console.error(S)}let v=URL.createObjectURL(b),w=document.createElement("a");w.href=v,w.download="metafile.json",w.style.display="none",document.body.append(w),w.click(),await Gr(1e3),URL.revokeObjectURL(v),w.remove()}}let f=new URL("https://esbuild.github.io/analyze/");function p(){r?.j&&(f.hash=btoa(JSON.stringify(r.j)).replace(/=+$/,""),window.open(f,"_blank"))}return[r,s,c,u,d,h,p,(b,k)=>d(b,k)]}var lr=class extends Q{constructor(e){super(),le(this,e,Fl,Al,ne,{})}},fi=lr;function pi(t,{delay:e=0,duration:n=400,easing:r=st}={}){let o=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:r,css:i=>`opacity: ${i*o}`}}function di(t){let e,n;return{c(){e=E("i"),this.h()},l(r){e=$(r,"I",{class:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","i-mdi-loading svelte-fryahy")},m(r,o){T(r,e,o)},i(r){r&&(n||Me(()=>{n=qr(e,pi,{}),n.start()}))},o:B,d(r){r&&g(e)}}}function Rl(t){let e,n,r,o,i,s,c,a=t[1]&&di(t);return{c(){e=E("footer"),a&&a.c(),n=A(),r=E("span"),o=H(t[0]),this.h()},l(l){e=$(l,"FOOTER",{class:!0});var u=I(e);a&&a.l(u),n=F(u),r=$(u,"SPAN",{});var d=I(r);o=K(d,t[0]),d.forEach(g),u.forEach(g),this.h()},h(){_(e,"class","svelte-fryahy")},m(l,u){T(l,e,u),a&&a.m(e,null),y(e,n),y(e,r),y(r,o),s||(c=Ze(i=Nl.call(null,r,t[1])),s=!0)},p(l,[u]){l[1]?a?u&2&&O(a,1):(a=di(l),a.c(),O(a,1),a.m(e,n)):a&&(a.d(1),a=null),u&1&&G(o,l[0]),i&&Ee(i.update)&&u&2&&i.update.call(null,l[1])},i(l){O(a)},o:B,d(l){l&&g(e),a&&a.d(),s=!1,c()}}}function Nl(t,e){return{update(n){if(e!==n){let r=t.animate([{marginLeft:e?"20px":"-20px"},{marginLeft:"initial"}],{duration:400,easing:"ease-out"});r.finished.then(r.cancel.bind(r)),r.playbackRate=1.000001,e=n}}}}function Pl(t,e,n){let r,o;return V(t,me,i=>n(0,o=i)),t.$$.update=()=>{t.$$.dirty&1&&n(1,r=o.includes("ing"))},[o,r]}var ar=class extends Q{constructor(e){super(),le(this,e,Pl,Rl,ne,{})}},hi=ar;function Bl(t){let e,n,r,o,i;return n=new So({props:{show:t[0]==="transform"}}),o=new Vo({props:{show:t[0]==="build"}}),{c(){e=E("section"),oe(n.$$.fragment),r=A(),oe(o.$$.fragment),this.h()},l(s){e=$(s,"SECTION",{slot:!0,class:!0});var c=I(e);ie(n.$$.fragment,c),r=F(c),ie(o.$$.fragment,c),c.forEach(g),this.h()},h(){_(e,"slot","left"),_(e,"class","svelte-17kgds3")},m(s,c){T(s,e,c),ee(n,e,null),y(e,r),ee(o,e,null),i=!0},p(s,c){let a={};c&1&&(a.show=s[0]==="transform"),n.$set(a);let l={};c&1&&(l.show=s[0]==="build"),o.$set(l)},i(s){i||(O(n.$$.fragment,s),O(o.$$.fragment,s),i=!0)},o(s){R(n.$$.fragment,s),R(o.$$.fragment,s),i=!1},d(s){s&&g(e),te(n),te(o)}}}function Ul(t){let e,n,r;return n=new fi({}),{c(){e=E("section"),oe(n.$$.fragment),this.h()},l(o){e=$(o,"SECTION",{slot:!0,class:!0});var i=I(e);ie(n.$$.fragment,i),i.forEach(g),this.h()},h(){_(e,"slot","right"),_(e,"class","svelte-17kgds3")},m(o,i){T(o,e,i),ee(n,e,null),r=!0},p:B,i(o){r||(O(n.$$.fragment,o),r=!0)},o(o){R(n.$$.fragment,o),r=!1},d(o){o&&g(e),te(n)}}}function Dl(t){let e,n,r,o,i,s,c;return e=new so({}),o=new co({props:{$$slots:{right:[Ul],left:[Bl]},$$scope:{ctx:t}}}),s=new hi({}),{c(){oe(e.$$.fragment),n=A(),r=E("main"),oe(o.$$.fragment),i=A(),oe(s.$$.fragment),this.h()},l(a){ie(e.$$.fragment,a),n=F(a),r=$(a,"MAIN",{"data-mode":!0,class:!0});var l=I(r);ie(o.$$.fragment,l),l.forEach(g),i=F(a),ie(s.$$.fragment,a),this.h()},h(){_(r,"data-mode",t[0]),_(r,"class","svelte-17kgds3")},m(a,l){ee(e,a,l),T(a,n,l),T(a,r,l),ee(o,r,null),T(a,i,l),ee(s,a,l),c=!0},p(a,[l]){let u={};l&129&&(u.$$scope={dirty:l,ctx:a}),o.$set(u),(!c||l&1)&&_(r,"data-mode",a[0])},i(a){c||(O(e.$$.fragment,a),O(o.$$.fragment,a),O(s.$$.fragment,a),c=!0)},o(a){R(e.$$.fragment,a),R(o.$$.fragment,a),R(s.$$.fragment,a),c=!1},d(a){a&&(g(n),g(r),g(i)),te(e,a),te(o),te(s,a)}}}function Jl(t,e,n){let r,o,i,s,c,a,l;return V(t,Be,u=>n(1,r=u)),V(t,An,u=>n(2,o=u)),V(t,Ce,u=>n(3,i=u)),V(t,Oe,u=>n(4,s=u)),V(t,Ve,u=>n(5,c=u)),V(t,Fe,u=>n(6,a=u)),V(t,Ie,u=>n(0,l=u)),t.$$.update=()=>{t.$$.dirty&127&&no(l,{version:a,t:c,b:s,o:i,d:o,i:r.map(u=>`${u.name}@${u.version}`)})},[l,r,o,i,s,c,a]}var cr=class extends Q{constructor(e){super(),le(this,e,Jl,Dl,ne,{})}},mi=cr;Object.assign(window,{app:new mi({target:document.getElementById("app"),hydrate:!0}),sendIPC:gt}); +`)),e.$set(i)},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function Yo(t){let e,n;return e=new Xo({}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function $l(t){let e,n,r=' Simulate Vite output',o,i,s,c,a,l=t[1]==="detecting"?"Detecting":"Detect",u,d,h,f,p,m,b,k,v,w,S=t[1]==="detected"&&Ko(t),x=t[2]&&Yo(t);return{c(){e=E("div"),n=E("button"),n.innerHTML=r,o=A(),i=E("button"),s=E("i"),c=A(),a=E("span"),u=H(l),d=H(" features"),p=A(),S&&S.c(),m=A(),x&&x.c(),b=Z(),this.h()},l(L){e=$(L,"DIV",{class:!0,style:!0});var M=I(e);n=$(M,"BUTTON",{title:!0,class:!0,"data-svelte-h":!0}),re(n)!=="svelte-1nrct1v"&&(n.innerHTML=r),o=F(M),i=$(M,"BUTTON",{title:!0,class:!0});var q=I(i);s=$(q,"I",{class:!0}),I(s).forEach(g),c=F(q),a=$(q,"SPAN",{class:!0});var N=I(a);u=K(N,l),d=K(N," features"),N.forEach(g),q.forEach(g),M.forEach(g),p=F(L),S&&S.l(L),m=F(L),x&&x.l(L),b=Z(),this.h()},h(){_(n,"title","esbuild#3125"),_(n,"class","svelte-1xv65jf"),_(s,"class","i-mdi-magnify"),_(a,"class","svelte-1xv65jf"),_(i,"title","--supported:?"),i.disabled=h=t[1]!=="idle",_(i,"class","svelte-1xv65jf"),Pe(i,"detecting",t[1]==="detecting"),_(e,"class","features svelte-1xv65jf"),_(e,"style",f=!t[3]||t[1]==="detected"?"display: none":"")},m(L,M){T(L,e,M),y(e,n),y(e,o),y(e,i),y(i,s),y(i,c),y(i,a),y(a,u),y(a,d),T(L,p,M),S&&S.m(L,M),T(L,m,M),x&&x.m(L,M),T(L,b,M),k=!0,v||(w=[Y(n,"click",t[7]),Y(i,"click",t[4])],v=!0)},p(L,[M]){(!k||M&2)&&l!==(l=L[1]==="detecting"?"Detecting":"Detect")&&G(u,l),(!k||M&2&&h!==(h=L[1]!=="idle"))&&(i.disabled=h),(!k||M&2)&&Pe(i,"detecting",L[1]==="detecting"),(!k||M&10&&f!==(f=!L[3]||L[1]==="detected"?"display: none":""))&&_(e,"style",f),L[1]==="detected"?S?(S.p(L,M),M&2&&O(S,1)):(S=Ko(L),S.c(),O(S,1),S.m(m.parentNode,m)):S&&(fe(),R(S,1,1,()=>{S=null}),pe()),L[2]?x?M&4&&O(x,1):(x=Yo(L),x.c(),O(x,1),x.m(b.parentNode,b)):x&&(fe(),R(x,1,1,()=>{x=null}),pe())},i(L){k||(O(S),O(x),k=!0)},o(L){R(S),R(x),k=!1},d(L){L&&(g(e),g(p),g(m),g(b)),S&&S.d(L),x&&x.d(L),v=!1,se(w)}}}function Sl(t,e,n){let r,o,i,s,c;V(t,me,v=>n(9,r=v)),V(t,Ve,v=>n(10,o=v)),V(t,Le,v=>n(11,i=v)),V(t,Fe,v=>n(5,s=v)),V(t,xe,v=>n(6,c=v));let a=[],l="idle",u=!1,d=!1,h=["arbitrary-module-namespace-names","array-spread","arrow","async-await","async-generator","bigint","class","class-field","class-private-accessor","class-private-brand-check","class-private-field","class-private-method","class-private-static-accessor","class-private-static-field","class-private-static-method","class-static-blocks","class-static-field","const-and-let","decorators","default-argument","destructuring","dynamic-import","exponent-operator","export-star-as","for-await","for-of","function-name-configurable","function-or-class-property-access","generator","hashbang","import-assertions","import-attributes","import-meta","inline-script","logical-assignment","nested-rest-binding","new-target","node-colon-prefix-import","node-colon-prefix-require","nullish-coalescing","object-accessors","object-extensions","object-rest-spread","optional-catch-binding","optional-chain","regexp-dot-all-flag","regexp-lookbehind-assertions","regexp-match-indices","regexp-named-capture-groups","regexp-set-notation","regexp-sticky-and-unicode-flags","regexp-unicode-property-escapes","rest-argument","template-literal","top-level-await","typeof-exotic-object-is-object","unicode-escapes","using"],f=["color-functions","gradient-double-position","gradient-interpolation","gradient-midpoints","hwb","hex-rgba","inline-style","inset-property","is-pseudo-class","modern-rgb-hsl","nesting","rebecca-purple"];class p{cancelled=!1;resolve;reject;constructor(w,S,x,L){this._run(w,S,x,L)}async _run(w,S,x,L){await ft();let M=[],q;try{await w.transform(S,x).then(N=>q=N.code)}catch(N){!this.cancelled&&this.reject&&this.reject(N);return}if(!this.cancelled){for(let N of L){x.supported={[N]:!1};try{await w.transform(S,x).then(ce=>{ce.code!==q&&M.push(N)})}catch(ce){ce.message.includes("is not a valid feature")||M.push(N)}if(this.cancelled)return}this.resolve&&this.resolve(M)}}cancel(){this.cancelled=!0}then(w){this.resolve=w}catch(w){this.reject=w}}let m=null;function b(){let v=window.esbuild;if(!v)throw new Error("esbuild has not been initialized");let w=He(i,"transform"),x=(w.loader&&w.loader==="css"?"css":"js")==="js"?h:f;w.supported={},w.target="esnext",n(1,l="detecting"),m&&m.cancel(),m=new p(v,o,w,x),m.then(L=>{n(0,a=L),n(1,l="detected")}),m.catch(L=>{ve(me,r=L+"",r),n(1,l="idle"),n(0,a=[])})}let k=()=>n(2,u=!u);return t.$$.update=()=>{if(t.$$.dirty&64&&c&&(n(2,u=!1),n(1,l="idle"),n(0,a=[])),t.$$.dirty&32&&s!=="latest"){let[v,w,S]=s.split(".").map(x=>+x);n(3,d=v>0||w>14||w===14&&S>=46)}},[a,l,u,d,b,s,c,k]}var rr=class extends Q{constructor(e){super(),le(this,e,Sl,$l,ne,{})}},Zo=rr;function jl(t){let e,n,r,o,i,s,c,a;return{c(){e=E("div"),n=E("button"),r=E("i"),o=A(),i=E("span"),s=H(t[1]),this.h()},l(l){e=$(l,"DIV",{class:!0});var u=I(e);n=$(u,"BUTTON",{title:!0,class:!0});var d=I(n);r=$(d,"I",{class:!0}),I(r).forEach(g),o=F(d),i=$(d,"SPAN",{class:!0});var h=I(i);s=K(h,t[1]),h.forEach(g),d.forEach(g),u.forEach(g),this.h()},h(){_(r,"class","i-mdi-eye-outline"),_(i,"class","svelte-1lkddes"),_(n,"title",t[0]),_(n,"class","svelte-1lkddes"),_(e,"class","svelte-1lkddes")},m(l,u){T(l,e,u),y(e,n),y(n,r),y(n,o),y(n,i),y(i,s),c||(a=Y(n,"click",t[2]),c=!0)},p(l,[u]){u&2&&G(s,l[1]),u&1&&_(n,"title",l[0])},i:B,o:B,d(l){l&&g(e),c=!1,a()}}}function zl(t,e,n){let{title:r}=e,{content:o}=e;function i(s){Br.call(this,t,s)}return t.$$set=s=>{"title"in s&&n(0,r=s.title),"content"in s&&n(1,o=s.content)},[r,o,i]}var or=class extends Q{constructor(e){super(),le(this,e,zl,jl,ne,{title:0,content:1})}},ir=or;function Tl(t){let e,n,r=' Download',o,i,s=' Analyze this metafile',c,a;return{c(){e=E("div"),n=E("button"),n.innerHTML=r,o=A(),i=E("button"),i.innerHTML=s,this.h()},l(l){e=$(l,"DIV",{class:!0});var u=I(e);n=$(u,"BUTTON",{class:!0,"data-svelte-h":!0}),re(n)!=="svelte-14rm600"&&(n.innerHTML=r),o=F(u),i=$(u,"BUTTON",{class:!0,"data-svelte-h":!0}),re(i)!=="svelte-7kkfu3"&&(i.innerHTML=s),u.forEach(g),this.h()},h(){_(n,"class","svelte-wtmoi9"),_(i,"class","svelte-wtmoi9"),_(e,"class","download svelte-wtmoi9")},m(l,u){T(l,e,u),y(e,n),y(e,o),y(e,i),c||(a=[Y(n,"click",t[1]),Y(i,"click",t[2])],c=!0)},p:B,i:B,o:B,d(l){l&&g(e),c=!1,se(a)}}}function Il(t){let e=et();return[e,()=>e("download"),()=>e("analyze")]}var sr=class extends Q{constructor(e){super(),le(this,e,Il,Tl,ne,{})}},Go=sr;function Qo(t,e,n){let r=t.slice();r[13]=e[n].path,r[14]=e[n].contents;let o=r[13].replace(/^\//,"");r[15]=o;let i=r[1].decode(r[14]);return r[16]=i,r}function Ol(t){let e,n="(no output)";return{c(){e=E("p"),e.textContent=n,this.h()},l(r){e=$(r,"P",{class:!0,"data-svelte-h":!0}),re(e)!=="svelte-1erfmpj"&&(e.textContent=n),this.h()},h(){_(e,"class","svelte-178fr2s")},m(r,o){T(r,e,o)},p:B,i:B,o:B,d(r){r&&g(e)}}}function Ll(t){let e,n,r=Array.isArray(t[0].I),o,i,s,c=t[0].O&&Object.keys(t[0].O).length,a,l,u,d=t[0].$&&ei(t),h=typeof t[0].S=="string"&&ti(t),f=r&&ri(t),p=t[0].R&&si(t),m=t[0].C&&li(t),b=c&&ai(t),k=t[0].j&&ci(t);return{c(){d&&d.c(),e=A(),h&&h.c(),n=A(),f&&f.c(),o=A(),p&&p.c(),i=A(),m&&m.c(),s=A(),b&&b.c(),a=A(),k&&k.c(),l=Z()},l(v){d&&d.l(v),e=F(v),h&&h.l(v),n=F(v),f&&f.l(v),o=F(v),p&&p.l(v),i=F(v),m&&m.l(v),s=F(v),b&&b.l(v),a=F(v),k&&k.l(v),l=Z()},m(v,w){d&&d.m(v,w),T(v,e,w),h&&h.m(v,w),T(v,n,w),f&&f.m(v,w),T(v,o,w),p&&p.m(v,w),T(v,i,w),m&&m.m(v,w),T(v,s,w),b&&b.m(v,w),T(v,a,w),k&&k.m(v,w),T(v,l,w),u=!0},p(v,w){v[0].$?d?d.p(v,w):(d=ei(v),d.c(),d.m(e.parentNode,e)):d&&(d.d(1),d=null),typeof v[0].S=="string"?h?(h.p(v,w),w&1&&O(h,1)):(h=ti(v),h.c(),O(h,1),h.m(n.parentNode,n)):h&&(fe(),R(h,1,1,()=>{h=null}),pe()),w&1&&(r=Array.isArray(v[0].I)),r?f?(f.p(v,w),w&1&&O(f,1)):(f=ri(v),f.c(),O(f,1),f.m(o.parentNode,o)):f&&(fe(),R(f,1,1,()=>{f=null}),pe()),v[0].R?p?(p.p(v,w),w&1&&O(p,1)):(p=si(v),p.c(),O(p,1),p.m(i.parentNode,i)):p&&(fe(),R(p,1,1,()=>{p=null}),pe()),v[0].C?m?(m.p(v,w),w&1&&O(m,1)):(m=li(v),m.c(),O(m,1),m.m(s.parentNode,s)):m&&(fe(),R(m,1,1,()=>{m=null}),pe()),w&1&&(c=v[0].O&&Object.keys(v[0].O).length),c?b?(b.p(v,w),w&1&&O(b,1)):(b=ai(v),b.c(),O(b,1),b.m(a.parentNode,a)):b&&(fe(),R(b,1,1,()=>{b=null}),pe()),v[0].j?k?(k.p(v,w),w&1&&O(k,1)):(k=ci(v),k.c(),O(k,1),k.m(l.parentNode,l)):k&&(fe(),R(k,1,1,()=>{k=null}),pe())},i(v){u||(O(h),O(f),O(p),O(m),O(b),O(k),u=!0)},o(v){R(h),R(f),R(p),R(m),R(b),R(k),u=!1},d(v){v&&(g(e),g(n),g(o),g(i),g(s),g(a),g(l)),d&&d.d(v),h&&h.d(v),f&&f.d(v),p&&p.d(v),m&&m.d(v),b&&b.d(v),k&&k.d(v)}}}function ei(t){let e,n,r=bt(t[0].$)+"";return{c(){e=E("pre"),n=new Ne(!1),this.h()},l(o){e=$(o,"PRE",{class:!0});var i=I(e);n=Kt(i,!1),i.forEach(g),this.h()},h(){n.a=null,_(e,"class","svelte-178fr2s")},m(o,i){T(o,e,i),n.m(r,e)},p(o,i){i&1&&r!==(r=bt(o[0].$)+"")&&n.p(r)},d(o){o&&g(e)}}}function ti(t){let e,n,r,o;e=new ke({props:{label:"OUTPUT",readonly:!0,content:t[0].S,lang:t[2]()}});let i=t[0].S&&ni(t);return{c(){oe(e.$$.fragment),n=A(),i&&i.c(),r=Z()},l(s){ie(e.$$.fragment,s),n=F(s),i&&i.l(s),r=Z()},m(s,c){ee(e,s,c),T(s,n,c),i&&i.m(s,c),T(s,r,c),o=!0},p(s,c){let a={};c&1&&(a.content=s[0].S),e.$set(a),s[0].S?i?c&1&&O(i,1):(i=ni(s),i.c(),O(i,1),i.m(r.parentNode,r)):i&&(fe(),R(i,1,1,()=>{i=null}),pe())},i(s){o||(O(e.$$.fragment,s),O(i),o=!0)},o(s){R(e.$$.fragment,s),R(i),o=!1},d(s){s&&(g(n),g(r)),te(e,s),i&&i.d(s)}}}function ni(t){let e,n;return e=new Zo({}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function ri(t){let e,n,r,o,i=[Ml,Cl],s=[];function c(a,l){return a[0].I.length===0?0:1}return e=c(t,-1),n=s[e]=i[e](t),{c(){n.c(),r=Z()},l(a){n.l(a),r=Z()},m(a,l){s[e].m(a,l),T(a,r,l),o=!0},p(a,l){let u=e;e=c(a,l),e===u?s[e].p(a,l):(fe(),R(s[u],1,1,()=>{s[u]=null}),pe(),n=s[e],n?n.p(a,l):(n=s[e]=i[e](a),n.c()),O(n,1),n.m(r.parentNode,r))},i(a){o||(O(n),o=!0)},o(a){R(n),o=!1},d(a){a&&g(r),s[e].d(a)}}}function Cl(t){let e,n,r=de(ui(t[0].I)),o=[];for(let s=0;sR(o[s],1,1,()=>{o[s]=null});return{c(){for(let s=0;s{s=null}),pe())},i(c){i||(O(e.$$.fragment,c),O(s),i=!0)},o(c){R(e.$$.fragment,c),R(s),i=!1},d(c){c&&(g(n),g(o)),te(e,c),s&&s.d(c)}}}function si(t){let e,n;return e=new ke({props:{label:"LEGAL COMMENTS",readonly:!0,content:t[0].R,lang:"comment"}}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},p(r,o){let i={};o&1&&(i.content=r[0].R),e.$set(i)},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function li(t){let e,n,r,o;return e=new ke({props:{label:"SOURCE MAP",readonly:!0,content:t[0].C,lang:"json"}}),r=new ir({props:{title:"evanw/source-map-visualization",content:"Visualize this source map"}}),r.$on("click",t[3]),{c(){oe(e.$$.fragment),n=A(),oe(r.$$.fragment)},l(i){ie(e.$$.fragment,i),n=F(i),ie(r.$$.fragment,i)},m(i,s){ee(e,i,s),T(i,n,s),ee(r,i,s),o=!0},p(i,s){let c={};s&1&&(c.content=i[0].C),e.$set(c)},i(i){o||(O(e.$$.fragment,i),O(r.$$.fragment,i),o=!0)},o(i){R(e.$$.fragment,i),R(r.$$.fragment,i),o=!1},d(i){i&&g(n),te(e,i),te(r,i)}}}function ai(t){let e,n;return e=new ke({props:{label:"MANGLE CACHE",readonly:!0,content:Ft(t[0].O),lang:"json"}}),{c(){oe(e.$$.fragment)},l(r){ie(e.$$.fragment,r)},m(r,o){ee(e,r,o),n=!0},p(r,o){let i={};o&1&&(i.content=Ft(r[0].O)),e.$set(i)},i(r){n||(O(e.$$.fragment,r),n=!0)},o(r){R(e.$$.fragment,r),n=!1},d(r){te(e,r)}}}function ci(t){let e,n,r,o;return e=new ke({props:{label:"METAFILE",readonly:!0,content:Ft(t[0].j),lang:"json"}}),r=new Go({}),r.$on("download",t[5]),r.$on("analyze",t[6]),{c(){oe(e.$$.fragment),n=A(),oe(r.$$.fragment)},l(i){ie(e.$$.fragment,i),n=F(i),ie(r.$$.fragment,i)},m(i,s){ee(e,i,s),T(i,n,s),ee(r,i,s),o=!0},p(i,s){let c={};s&1&&(c.content=Ft(i[0].j)),e.$set(c)},i(i){o||(O(e.$$.fragment,i),O(r.$$.fragment,i),o=!0)},o(i){R(e.$$.fragment,i),R(r.$$.fragment,i),o=!1},d(i){i&&g(n),te(e,i),te(r,i)}}}function Al(t){let e,n,r,o,i=[Ll,Ol],s=[];function c(a,l){return a[0]?0:1}return e=c(t,-1),n=s[e]=i[e](t),{c(){n.c(),r=Z()},l(a){n.l(a),r=Z()},m(a,l){s[e].m(a,l),T(a,r,l),o=!0},p(a,[l]){let u=e;e=c(a,l),e===u?s[e].p(a,l):(fe(),R(s[u],1,1,()=>{s[u]=null}),pe(),n=s[e],n?n.p(a,l):(n=s[e]=i[e](a),n.c()),O(n,1),n.m(r.parentNode,r))},i(a){o||(O(n),o=!0)},o(a){R(n),o=!1},d(a){a&&g(r),s[e].d(a)}}}function Ft(t){return JSON.stringify(t,null,2)}function ui(t){return t.sort((e,n)=>+(e.path>n.path)-+(e.pathn(0,r=b)),V(t,me,b=>n(10,o=b)),V(t,Le,b=>n(11,i=b));let s=new TextDecoder;function c(){return i.includes("--loader=css")||/loader["']?\:\s*["']css/.test(i)?"css":"js"}let a=new URL("https://evanw.github.io/source-map-visualization");function l(b,k){let v=b.length+"\0"+b+k.length+"\0"+k;a.hash=btoa(v).replace(/=+$/,""),window.open(a,"_blank")}function u(){l(r?.S||"",r?.C||"")}function d(b,k){if(r?.I&&b.endsWith(".map")){let v=b.slice(0,-4),w=r.I.find(S=>S.path===v);w&&l(s.decode(w.contents),k)}}async function h(){if(r?.j){let b=new Blob([Ft(r.j)],{type:"application/json"}),k="metafile.json";if(window.showSaveFilePicker)try{let S=await window.showSaveFilePicker({suggestedName:k}),x=await S.createWritable();await x.write(b),await x.close(),ve(me,o=`File ${S.name} saved.`,o);return}catch(S){if(S.name==="AbortError")return;console.error(S)}let v=URL.createObjectURL(b),w=document.createElement("a");w.href=v,w.download="metafile.json",w.style.display="none",document.body.append(w),w.click(),await Gr(1e3),URL.revokeObjectURL(v),w.remove()}}let f=new URL("https://esbuild.github.io/analyze/");function p(){r?.j&&(f.hash=btoa(JSON.stringify(r.j)).replace(/=+$/,""),window.open(f,"_blank"))}return[r,s,c,u,d,h,p,(b,k)=>d(b,k)]}var lr=class extends Q{constructor(e){super(),le(this,e,Fl,Al,ne,{})}},fi=lr;function pi(t,{delay:e=0,duration:n=400,easing:r=st}={}){let o=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:r,css:i=>`opacity: ${i*o}`}}function di(t){let e,n;return{c(){e=E("i"),this.h()},l(r){e=$(r,"I",{class:!0}),I(e).forEach(g),this.h()},h(){_(e,"class","i-mdi-loading svelte-fryahy")},m(r,o){T(r,e,o)},i(r){r&&(n||Me(()=>{n=qr(e,pi,{}),n.start()}))},o:B,d(r){r&&g(e)}}}function Rl(t){let e,n,r,o,i,s,c,a=t[1]&&di(t);return{c(){e=E("footer"),a&&a.c(),n=A(),r=E("span"),o=H(t[0]),this.h()},l(l){e=$(l,"FOOTER",{class:!0});var u=I(e);a&&a.l(u),n=F(u),r=$(u,"SPAN",{});var d=I(r);o=K(d,t[0]),d.forEach(g),u.forEach(g),this.h()},h(){_(e,"class","svelte-fryahy")},m(l,u){T(l,e,u),a&&a.m(e,null),y(e,n),y(e,r),y(r,o),s||(c=Ze(i=Nl.call(null,r,t[1])),s=!0)},p(l,[u]){l[1]?a?u&2&&O(a,1):(a=di(l),a.c(),O(a,1),a.m(e,n)):a&&(a.d(1),a=null),u&1&&G(o,l[0]),i&&Ee(i.update)&&u&2&&i.update.call(null,l[1])},i(l){O(a)},o:B,d(l){l&&g(e),a&&a.d(),s=!1,c()}}}function Nl(t,e){return{update(n){if(e!==n){let r=t.animate([{marginLeft:e?"20px":"-20px"},{marginLeft:"initial"}],{duration:400,easing:"ease-out"});r.finished.then(r.cancel.bind(r)),r.playbackRate=1.000001,e=n}}}}function Pl(t,e,n){let r,o;return V(t,me,i=>n(0,o=i)),t.$$.update=()=>{t.$$.dirty&1&&n(1,r=o.includes("ing"))},[o,r]}var ar=class extends Q{constructor(e){super(),le(this,e,Pl,Rl,ne,{})}},hi=ar;function Bl(t){let e,n,r,o,i;return n=new So({props:{show:t[0]==="transform"}}),o=new Vo({props:{show:t[0]==="build"}}),{c(){e=E("section"),oe(n.$$.fragment),r=A(),oe(o.$$.fragment),this.h()},l(s){e=$(s,"SECTION",{slot:!0,class:!0});var c=I(e);ie(n.$$.fragment,c),r=F(c),ie(o.$$.fragment,c),c.forEach(g),this.h()},h(){_(e,"slot","left"),_(e,"class","svelte-17kgds3")},m(s,c){T(s,e,c),ee(n,e,null),y(e,r),ee(o,e,null),i=!0},p(s,c){let a={};c&1&&(a.show=s[0]==="transform"),n.$set(a);let l={};c&1&&(l.show=s[0]==="build"),o.$set(l)},i(s){i||(O(n.$$.fragment,s),O(o.$$.fragment,s),i=!0)},o(s){R(n.$$.fragment,s),R(o.$$.fragment,s),i=!1},d(s){s&&g(e),te(n),te(o)}}}function Ul(t){let e,n,r;return n=new fi({}),{c(){e=E("section"),oe(n.$$.fragment),this.h()},l(o){e=$(o,"SECTION",{slot:!0,class:!0});var i=I(e);ie(n.$$.fragment,i),i.forEach(g),this.h()},h(){_(e,"slot","right"),_(e,"class","svelte-17kgds3")},m(o,i){T(o,e,i),ee(n,e,null),r=!0},p:B,i(o){r||(O(n.$$.fragment,o),r=!0)},o(o){R(n.$$.fragment,o),r=!1},d(o){o&&g(e),te(n)}}}function Dl(t){let e,n,r,o,i,s,c;return e=new so({}),o=new co({props:{$$slots:{right:[Ul],left:[Bl]},$$scope:{ctx:t}}}),s=new hi({}),{c(){oe(e.$$.fragment),n=A(),r=E("main"),oe(o.$$.fragment),i=A(),oe(s.$$.fragment),this.h()},l(a){ie(e.$$.fragment,a),n=F(a),r=$(a,"MAIN",{"data-mode":!0,class:!0});var l=I(r);ie(o.$$.fragment,l),l.forEach(g),i=F(a),ie(s.$$.fragment,a),this.h()},h(){_(r,"data-mode",t[0]),_(r,"class","svelte-17kgds3")},m(a,l){ee(e,a,l),T(a,n,l),T(a,r,l),ee(o,r,null),T(a,i,l),ee(s,a,l),c=!0},p(a,[l]){let u={};l&129&&(u.$$scope={dirty:l,ctx:a}),o.$set(u),(!c||l&1)&&_(r,"data-mode",a[0])},i(a){c||(O(e.$$.fragment,a),O(o.$$.fragment,a),O(s.$$.fragment,a),c=!0)},o(a){R(e.$$.fragment,a),R(o.$$.fragment,a),R(s.$$.fragment,a),c=!1},d(a){a&&(g(n),g(r),g(i)),te(e,a),te(o),te(s,a)}}}function Jl(t,e,n){let r,o,i,s,c,a,l;return V(t,Be,u=>n(1,r=u)),V(t,An,u=>n(2,o=u)),V(t,Le,u=>n(3,i=u)),V(t,Oe,u=>n(4,s=u)),V(t,Ve,u=>n(5,c=u)),V(t,Fe,u=>n(6,a=u)),V(t,Ie,u=>n(0,l=u)),t.$$.update=()=>{t.$$.dirty&127&&no(l,{version:a,t:c,b:s,o:i,d:o,i:r.map(u=>`${u.name}@${u.version}`)})},[l,r,o,i,s,c,a]}var cr=class extends Q{constructor(e){super(),le(this,e,Jl,Dl,ne,{})}},mi=cr;Object.assign(window,{app:new mi({target:document.getElementById("app"),hydrate:!0}),sendIPC:gt}); //# sourceMappingURL=main.js.map diff --git a/main.js.map b/main.js.map index b6bac61..2e52d06 100644 --- a/main.js.map +++ b/main.js.map @@ -1,8 +1,8 @@ { "version": 3, "sources": ["../src/behaviors/service-worker.ts", "../node_modules/.pnpm/selector-set@1.1.5/node_modules/selector-set/selector-set.next.js", "../node_modules/.pnpm/selector-observer@2.1.6/node_modules/selector-observer/dist/index.esm.js", "../node_modules/.pnpm/text-field-edit@4.0.0/node_modules/text-field-edit/index.js", "../node_modules/.pnpm/indent-textarea@4.0.0/node_modules/indent-textarea/index.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/utils.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/environment.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/loop.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/globals.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/ResizeObserverSingleton.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/dom.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/style_manager.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/lifecycle.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/scheduler.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/transitions.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/await_block.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/each.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/shared/boolean_attributes.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/Component.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/shared/version.js", "../src/helpers/dom.ts", "../src/behaviors/editor.ts", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/internal/disclose-version/index.js", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/store/index.js", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/misc.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/array.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/dom.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/emitter.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/math.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/mutex.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/promise.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/reactive.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/side-effect.ts", "../node_modules/.pnpm/@hyrious+utils@0.0.6/node_modules/@hyrious/utils/src/string.ts", "../src/global.ts", "../src/behaviors/query.ts", "../src/helpers/versions.ts", "../src/stores.ts", "../src/components/Header.svelte", "../src/components/SplitPane.svelte", "../src/helpers/options.ts", "../src/ipc.ts", "../node_modules/.pnpm/pretty-bytes@6.1.1/node_modules/pretty-bytes/index.js", "../src/helpers/hljs.ts", "../src/components/Editor.svelte", "../src/helpers/completion.ts", "../src/components/Options.svelte", "../src/components/Transform.svelte", "../node_modules/.pnpm/idb-keyval@6.2.1/node_modules/idb-keyval/dist/index.js", "../src/helpers/idb.ts", "../src/helpers/tarball.ts", "../src/components/NpmPackage.svelte", "../src/components/Build.svelte", "../src/helpers/ansi.ts", "../src/components/Rollup.svelte", "../src/components/Features.svelte", "../src/components/Visualize.svelte", "../src/components/Metafile.svelte", "../src/components/Output.svelte", "../node_modules/.pnpm/svelte@4.2.8/node_modules/svelte/src/runtime/transition/index.js", "../src/components/Footer.svelte", "../src/App.svelte", "../src/main.ts"], - "sourcesContent": ["if (import.meta.env.DEV) {\n navigator.serviceWorker?.getRegistrations().then((rs) => rs.forEach((r) => r.unregister()))\n} else {\n navigator.serviceWorker\n ?.register('sw.js')\n .then((e) => console.log('registered sw.js in scope:', e.scope))\n .catch((e) => console.log('failed to register sw.js:', e))\n}\n", "// Public: Create a new SelectorSet.\nexport default function SelectorSet() {\n // Construct new SelectorSet if called as a function.\n if (!(this instanceof SelectorSet)) {\n return new SelectorSet();\n }\n\n // Public: Number of selectors added to the set\n this.size = 0;\n\n // Internal: Incrementing ID counter\n this.uid = 0;\n\n // Internal: Array of String selectors in the set\n this.selectors = [];\n\n // Internal: Map of selector ids to objects\n this.selectorObjects = {};\n\n // Internal: All Object index String names mapping to Index objects.\n this.indexes = Object.create(this.indexes);\n\n // Internal: Used Object index String names mapping to Index objects.\n this.activeIndexes = [];\n}\n\n// Detect prefixed Element#matches function.\nvar docElem = window.document.documentElement;\nvar matches =\n docElem.matches ||\n docElem.webkitMatchesSelector ||\n docElem.mozMatchesSelector ||\n docElem.oMatchesSelector ||\n docElem.msMatchesSelector;\n\n// Public: Check if element matches selector.\n//\n// Maybe overridden with custom Element.matches function.\n//\n// el - An Element\n// selector - String CSS selector\n//\n// Returns true or false.\nSelectorSet.prototype.matchesSelector = function(el, selector) {\n return matches.call(el, selector);\n};\n\n// Public: Find all elements in the context that match the selector.\n//\n// Maybe overridden with custom querySelectorAll function.\n//\n// selectors - String CSS selectors.\n// context - Element context\n//\n// Returns non-live list of Elements.\nSelectorSet.prototype.querySelectorAll = function(selectors, context) {\n return context.querySelectorAll(selectors);\n};\n\n// Public: Array of indexes.\n//\n// name - Unique String name\n// selector - Function that takes a String selector and returns a String key\n// or undefined if it can't be used by the index.\n// element - Function that takes an Element and returns an Array of String\n// keys that point to indexed values.\n//\nSelectorSet.prototype.indexes = [];\n\n// Index by element id\nvar idRe = /^#((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)/g;\nSelectorSet.prototype.indexes.push({\n name: 'ID',\n selector: function matchIdSelector(sel) {\n var m;\n if ((m = sel.match(idRe))) {\n return m[0].slice(1);\n }\n },\n element: function getElementId(el) {\n if (el.id) {\n return [el.id];\n }\n }\n});\n\n// Index by all of its class names\nvar classRe = /^\\.((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)/g;\nSelectorSet.prototype.indexes.push({\n name: 'CLASS',\n selector: function matchClassSelector(sel) {\n var m;\n if ((m = sel.match(classRe))) {\n return m[0].slice(1);\n }\n },\n element: function getElementClassNames(el) {\n var className = el.className;\n if (className) {\n if (typeof className === 'string') {\n return className.split(/\\s/);\n } else if (typeof className === 'object' && 'baseVal' in className) {\n // className is a SVGAnimatedString\n // global SVGAnimatedString is not an exposed global in Opera 12\n return className.baseVal.split(/\\s/);\n }\n }\n }\n});\n\n// Index by tag/node name: `DIV`, `FORM`, `A`\nvar tagRe = /^((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)/g;\nSelectorSet.prototype.indexes.push({\n name: 'TAG',\n selector: function matchTagSelector(sel) {\n var m;\n if ((m = sel.match(tagRe))) {\n return m[0].toUpperCase();\n }\n },\n element: function getElementTagName(el) {\n return [el.nodeName.toUpperCase()];\n }\n});\n\n// Default index just contains a single array of elements.\nSelectorSet.prototype.indexes['default'] = {\n name: 'UNIVERSAL',\n selector: function() {\n return true;\n },\n element: function() {\n return [true];\n }\n};\n\n// Use ES Maps when supported\nvar Map;\nif (typeof window.Map === 'function') {\n Map = window.Map;\n} else {\n Map = (function() {\n function Map() {\n this.map = {};\n }\n Map.prototype.get = function(key) {\n return this.map[key + ' '];\n };\n Map.prototype.set = function(key, value) {\n this.map[key + ' '] = value;\n };\n return Map;\n })();\n}\n\n// Regexps adopted from Sizzle\n// https://github.com/jquery/sizzle/blob/1.7/sizzle.js\n//\nvar chunker = /((?:\\((?:\\([^()]+\\)|[^()]+)+\\)|\\[(?:\\[[^\\[\\]]*\\]|['\"][^'\"]*['\"]|[^\\[\\]'\"]+)+\\]|\\\\.|[^ >+~,(\\[\\\\]+)+|[>+~])(\\s*,\\s*)?((?:.|\\r|\\n)*)/g;\n\n// Internal: Get indexes for selector.\n//\n// selector - String CSS selector\n//\n// Returns Array of {index, key}.\nfunction parseSelectorIndexes(allIndexes, selector) {\n allIndexes = allIndexes.slice(0).concat(allIndexes['default']);\n\n var allIndexesLen = allIndexes.length,\n i,\n j,\n m,\n dup,\n rest = selector,\n key,\n index,\n indexes = [];\n\n do {\n chunker.exec('');\n if ((m = chunker.exec(rest))) {\n rest = m[3];\n if (m[2] || !rest) {\n for (i = 0; i < allIndexesLen; i++) {\n index = allIndexes[i];\n if ((key = index.selector(m[1]))) {\n j = indexes.length;\n dup = false;\n while (j--) {\n if (indexes[j].index === index && indexes[j].key === key) {\n dup = true;\n break;\n }\n }\n if (!dup) {\n indexes.push({ index: index, key: key });\n }\n break;\n }\n }\n }\n }\n } while (m);\n\n return indexes;\n}\n\n// Internal: Find first item in Array that is a prototype of `proto`.\n//\n// ary - Array of objects\n// proto - Prototype of expected item in `ary`\n//\n// Returns object from `ary` if found. Otherwise returns undefined.\nfunction findByPrototype(ary, proto) {\n var i, len, item;\n for (i = 0, len = ary.length; i < len; i++) {\n item = ary[i];\n if (proto.isPrototypeOf(item)) {\n return item;\n }\n }\n}\n\n// Public: Log when added selector falls under the default index.\n//\n// This API should not be considered stable. May change between\n// minor versions.\n//\n// obj - {selector, data} Object\n//\n// SelectorSet.prototype.logDefaultIndexUsed = function(obj) {\n// console.warn(obj.selector, \"could not be indexed\");\n// };\n//\n// Returns nothing.\nSelectorSet.prototype.logDefaultIndexUsed = function() {};\n\n// Public: Add selector to set.\n//\n// selector - String CSS selector\n// data - Optional data Object (default: undefined)\n//\n// Returns nothing.\nSelectorSet.prototype.add = function(selector, data) {\n var obj,\n i,\n indexProto,\n key,\n index,\n objs,\n selectorIndexes,\n selectorIndex,\n indexes = this.activeIndexes,\n selectors = this.selectors,\n selectorObjects = this.selectorObjects;\n\n if (typeof selector !== 'string') {\n return;\n }\n\n obj = {\n id: this.uid++,\n selector: selector,\n data: data\n };\n selectorObjects[obj.id] = obj;\n\n selectorIndexes = parseSelectorIndexes(this.indexes, selector);\n for (i = 0; i < selectorIndexes.length; i++) {\n selectorIndex = selectorIndexes[i];\n key = selectorIndex.key;\n indexProto = selectorIndex.index;\n\n index = findByPrototype(indexes, indexProto);\n if (!index) {\n index = Object.create(indexProto);\n index.map = new Map();\n indexes.push(index);\n }\n\n if (indexProto === this.indexes['default']) {\n this.logDefaultIndexUsed(obj);\n }\n objs = index.map.get(key);\n if (!objs) {\n objs = [];\n index.map.set(key, objs);\n }\n objs.push(obj);\n }\n\n this.size++;\n selectors.push(selector);\n};\n\n// Public: Remove selector from set.\n//\n// selector - String CSS selector\n// data - Optional data Object (default: undefined)\n//\n// Returns nothing.\nSelectorSet.prototype.remove = function(selector, data) {\n if (typeof selector !== 'string') {\n return;\n }\n\n var selectorIndexes,\n selectorIndex,\n i,\n j,\n k,\n selIndex,\n objs,\n obj,\n indexes = this.activeIndexes,\n selectors = (this.selectors = []),\n selectorObjects = this.selectorObjects,\n removedIds = {},\n removeAll = arguments.length === 1;\n\n selectorIndexes = parseSelectorIndexes(this.indexes, selector);\n for (i = 0; i < selectorIndexes.length; i++) {\n selectorIndex = selectorIndexes[i];\n\n j = indexes.length;\n while (j--) {\n selIndex = indexes[j];\n if (selectorIndex.index.isPrototypeOf(selIndex)) {\n objs = selIndex.map.get(selectorIndex.key);\n if (objs) {\n k = objs.length;\n while (k--) {\n obj = objs[k];\n if (obj.selector === selector && (removeAll || obj.data === data)) {\n objs.splice(k, 1);\n removedIds[obj.id] = true;\n }\n }\n }\n break;\n }\n }\n }\n\n for (i in removedIds) {\n delete selectorObjects[i];\n this.size--;\n }\n\n for (i in selectorObjects) {\n selectors.push(selectorObjects[i].selector);\n }\n};\n\n// Sort by id property handler.\n//\n// a - Selector obj.\n// b - Selector obj.\n//\n// Returns Number.\nfunction sortById(a, b) {\n return a.id - b.id;\n}\n\n// Public: Find all matching decendants of the context element.\n//\n// context - An Element\n//\n// Returns Array of {selector, data, elements} matches.\nSelectorSet.prototype.queryAll = function(context) {\n if (!this.selectors.length) {\n return [];\n }\n\n var matches = {},\n results = [];\n var els = this.querySelectorAll(this.selectors.join(', '), context);\n\n var i, j, len, len2, el, m, match, obj;\n for (i = 0, len = els.length; i < len; i++) {\n el = els[i];\n m = this.matches(el);\n for (j = 0, len2 = m.length; j < len2; j++) {\n obj = m[j];\n if (!matches[obj.id]) {\n match = {\n id: obj.id,\n selector: obj.selector,\n data: obj.data,\n elements: []\n };\n matches[obj.id] = match;\n results.push(match);\n } else {\n match = matches[obj.id];\n }\n match.elements.push(el);\n }\n }\n\n return results.sort(sortById);\n};\n\n// Public: Match element against all selectors in set.\n//\n// el - An Element\n//\n// Returns Array of {selector, data} matches.\nSelectorSet.prototype.matches = function(el) {\n if (!el) {\n return [];\n }\n\n var i, j, k, len, len2, len3, index, keys, objs, obj, id;\n var indexes = this.activeIndexes,\n matchedIds = {},\n matches = [];\n\n for (i = 0, len = indexes.length; i < len; i++) {\n index = indexes[i];\n keys = index.element(el);\n if (keys) {\n for (j = 0, len2 = keys.length; j < len2; j++) {\n if ((objs = index.map.get(keys[j]))) {\n for (k = 0, len3 = objs.length; k < len3; k++) {\n obj = objs[k];\n id = obj.id;\n if (!matchedIds[id] && this.matchesSelector(el, obj.selector)) {\n matchedIds[id] = true;\n matches.push(obj);\n }\n }\n }\n }\n }\n }\n\n return matches.sort(sortById);\n};\n", "import SelectorSet from 'selector-set';\n\nvar el = null;\nvar observer = null;\nvar queue = [];\n\nfunction scheduleBatch(document, callback) {\n var calls = [];\n\n function processBatchQueue() {\n var callsCopy = calls;\n calls = [];\n callback(callsCopy);\n }\n\n function scheduleBatchQueue() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n calls.push(args);\n if (calls.length === 1) scheduleMacroTask(document, processBatchQueue);\n }\n\n return scheduleBatchQueue;\n}\n\nfunction scheduleMacroTask(document, callback) {\n if (!observer) {\n observer = new MutationObserver(handleMutations);\n }\n\n if (!el) {\n el = document.createElement('div');\n observer.observe(el, { attributes: true });\n }\n\n queue.push(callback);\n el.setAttribute('data-twiddle', '' + Date.now());\n}\n\nfunction handleMutations() {\n var callbacks = queue;\n queue = [];\n for (var i = 0; i < callbacks.length; i++) {\n try {\n callbacks[i]();\n } catch (error) {\n setTimeout(function () {\n throw error;\n }, 0);\n }\n }\n}\n\n// selector-observer processes dom mutations in two phases. This module applies\n// the Change set from the first phase and invokes the any registered hooks.\n\nvar initMap = new WeakMap();\nvar initializerMap = new WeakMap();\nvar subscriptionMap = new WeakMap();\nvar addMap = new WeakMap();\n\nfunction applyChanges(selectorObserver, changes) {\n for (var i = 0; i < changes.length; i++) {\n var change = changes[i];\n var type = change[0];\n var el = change[1];\n var observer = change[2];\n if (type === ADD) {\n runInit(observer, el);\n runAdd(observer, el);\n } else if (type === REMOVE) {\n runRemove(observer, el);\n } else if (type === REMOVE_ALL) {\n runRemoveAll(selectorObserver.observers, el);\n }\n }\n}\n\n// Run observer node \"initialize\" callback once.\n// Call when observer selector matches node.\n//\n// observer - An observer Object.\n// el - An Element\n//\n// Returns nothing.\nfunction runInit(observer, el) {\n if (!(el instanceof observer.elementConstructor)) {\n return;\n }\n\n var initIds = initMap.get(el);\n if (!initIds) {\n initIds = [];\n initMap.set(el, initIds);\n }\n\n if (initIds.indexOf(observer.id) === -1) {\n var initializer = void 0;\n if (observer.initialize) {\n initializer = observer.initialize.call(undefined, el);\n }\n if (initializer) {\n var initializers = initializerMap.get(el);\n if (!initializers) {\n initializers = {};\n initializerMap.set(el, initializers);\n }\n initializers['' + observer.id] = initializer;\n }\n initIds.push(observer.id);\n }\n}\n\n// Run observer node \"add\" callback.\n// Call when observer selector matches node.\n//\n// observer - An observer Object.\n// el - An Element\n//\n// Returns nothing.\nfunction runAdd(observer, el) {\n if (!(el instanceof observer.elementConstructor)) {\n return;\n }\n\n var addIds = addMap.get(el);\n if (!addIds) {\n addIds = [];\n addMap.set(el, addIds);\n }\n\n if (addIds.indexOf(observer.id) === -1) {\n observer.elements.push(el);\n\n var initializers = initializerMap.get(el);\n var initializer = initializers ? initializers['' + observer.id] : null;\n if (initializer && initializer.add) {\n initializer.add.call(undefined, el);\n }\n\n if (observer.subscribe) {\n var subscription = observer.subscribe.call(undefined, el);\n if (subscription) {\n var subscriptions = subscriptionMap.get(el);\n if (!subscriptions) {\n subscriptions = {};\n subscriptionMap.set(el, subscriptions);\n }\n subscriptions['' + observer.id] = subscription;\n }\n }\n\n if (observer.add) {\n observer.add.call(undefined, el);\n }\n\n addIds.push(observer.id);\n }\n}\n\n// Runs all observer element \"remove\" callbacks.\n// Call when element is completely removed from the DOM.\n//\n// observer - An observer Object.\n// el - An Element\n//\n// Returns nothing.\nfunction runRemove(observer, el) {\n if (!(el instanceof observer.elementConstructor)) {\n return;\n }\n\n var addIds = addMap.get(el);\n if (!addIds) {\n return;\n }\n\n var index = observer.elements.indexOf(el);\n if (index !== -1) {\n observer.elements.splice(index, 1);\n }\n\n index = addIds.indexOf(observer.id);\n if (index !== -1) {\n var initializers = initializerMap.get(el);\n var initializer = initializers ? initializers['' + observer.id] : null;\n if (initializer) {\n if (initializer.remove) {\n initializer.remove.call(undefined, el);\n }\n }\n\n if (observer.subscribe) {\n var subscriptions = subscriptionMap.get(el);\n var subscription = subscriptions ? subscriptions['' + observer.id] : null;\n if (subscription && subscription.unsubscribe) {\n subscription.unsubscribe();\n }\n }\n\n if (observer.remove) {\n observer.remove.call(undefined, el);\n }\n\n addIds.splice(index, 1);\n }\n\n if (addIds.length === 0) {\n addMap.delete(el);\n }\n}\n\n// Runs all observer element \"remove\" callbacks.\n// Call when element is completely removed from the DOM.\n//\n// observes - Array of observers\n// el - An Element\n//\n// Returns nothing.\nfunction runRemoveAll(observers, el) {\n var addIds = addMap.get(el);\n if (!addIds) {\n return;\n }\n\n var ids = addIds.slice(0);\n for (var i = 0; i < ids.length; i++) {\n var observer = observers[ids[i]];\n if (!observer) {\n continue;\n }\n\n var index = observer.elements.indexOf(el);\n if (index !== -1) {\n observer.elements.splice(index, 1);\n }\n\n var initializers = initializerMap.get(el);\n var initializer = initializers ? initializers['' + observer.id] : null;\n if (initializer && initializer.remove) {\n initializer.remove.call(undefined, el);\n }\n\n var subscriptions = subscriptionMap.get(el);\n var subscription = subscriptions ? subscriptions['' + observer.id] : null;\n if (subscription && subscription.unsubscribe) {\n subscription.unsubscribe();\n }\n\n if (observer.remove) {\n observer.remove.call(undefined, el);\n }\n }\n addMap.delete(el);\n}\n\nvar innerHTMLReplacementIsBuggy = null;\n\n// In IE 9/10/11 replacing child via innerHTML will orphan all of the child\n// elements. This prevents walking the descendants of removedNodes.\n// https://connect.microsoft.com/IE/feedback/details/797844/ie9-10-11-dom-child-kill-bug\nfunction detectInnerHTMLReplacementBuggy(document) {\n if (innerHTMLReplacementIsBuggy === null) {\n var a = document.createElement('div');\n var b = document.createElement('div');\n var c = document.createElement('div');\n a.appendChild(b);\n b.appendChild(c);\n a.innerHTML = '';\n innerHTMLReplacementIsBuggy = c.parentNode !== b;\n }\n return innerHTMLReplacementIsBuggy;\n}\n\nfunction supportsSelectorMatching(node) {\n return 'matches' in node || 'webkitMatchesSelector' in node || 'mozMatchesSelector' in node || 'oMatchesSelector' in node || 'msMatchesSelector' in node;\n}\n\n// selector-observer processes dom mutations in two phases. This module\n// processes DOM mutations, revalidates selectors against the target element and\n// enqueues a Change for an observers hooks to be ran.\n\n// A set of Changes is structured as an Array of tuples:\n//\n// [ADD, element, observer]: Indicates that an observer starting matching\n// the element.\nvar ADD = 1;\n\n// [REMOVE, element, observer]: Indicates that an observer stopped matching\n// the element.\nvar REMOVE = 2;\n\n// [REMOVE_ALL, element]: Indicates that an element was removed from the\n// document and all related observers stopped matching the element.\nvar REMOVE_ALL = 3;\n\n// A handler for processing MutationObserver mutations.\n//\n// selectorObserver - The SelectorObserver\n// changes - Array of changes to append to\n// mutations - An array of MutationEvents\n//\n// Return nothing.\nfunction handleMutations$1(selectorObserver, changes, mutations) {\n for (var i = 0; i < mutations.length; i++) {\n var mutation = mutations[i];\n if (mutation.type === 'childList') {\n addNodes(selectorObserver, changes, mutation.addedNodes);\n removeNodes(selectorObserver, changes, mutation.removedNodes);\n } else if (mutation.type === 'attributes') {\n revalidateObservers(selectorObserver, changes, mutation.target);\n }\n }\n if (detectInnerHTMLReplacementBuggy(selectorObserver.ownerDocument)) {\n revalidateOrphanedElements(selectorObserver, changes);\n }\n}\n\n// Run observer node \"add\" callback once on the any matching\n// node and its subtree.\n//\n// selectorObserver - The SelectorObserver\n// changes - Array of changes to append to\n// nodes - A NodeList of Nodes\n//\n// Returns nothing.\nfunction addNodes(selectorObserver, changes, nodes) {\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n\n if (supportsSelectorMatching(node)) {\n var matches = selectorObserver.selectorSet.matches(node);\n for (var j = 0; j < matches.length; j++) {\n var data = matches[j].data;\n\n changes.push([ADD, node, data]);\n }\n }\n\n if ('querySelectorAll' in node) {\n var matches2 = selectorObserver.selectorSet.queryAll(node);\n for (var _j = 0; _j < matches2.length; _j++) {\n var _matches2$_j = matches2[_j],\n _data = _matches2$_j.data,\n elements = _matches2$_j.elements;\n\n for (var k = 0; k < elements.length; k++) {\n changes.push([ADD, elements[k], _data]);\n }\n }\n }\n }\n}\n\n// Run all observer node \"remove\" callbacks on the node\n// and its entire subtree.\n//\n// selectorObserver - The SelectorObserver\n// changes - Array of changes to append to\n// nodes - A NodeList of Nodes\n//\n// Returns nothing.\nfunction removeNodes(selectorObserver, changes, nodes) {\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n if ('querySelectorAll' in node) {\n changes.push([REMOVE_ALL, node]);\n var descendants = node.querySelectorAll('*');\n for (var j = 0; j < descendants.length; j++) {\n changes.push([REMOVE_ALL, descendants[j]]);\n }\n }\n }\n}\n\n// Recheck all \"add\" observers to see if the selector still matches.\n// If not, run the \"remove\" callback.\n//\n// selectorObserver - The SelectorObserver\n// changes - Array of changes to append to\n// node - A Node\n//\n// Returns nothing.\nfunction revalidateObservers(selectorObserver, changes, node) {\n if (supportsSelectorMatching(node)) {\n var matches = selectorObserver.selectorSet.matches(node);\n for (var i = 0; i < matches.length; i++) {\n var data = matches[i].data;\n\n changes.push([ADD, node, data]);\n }\n }\n\n if ('querySelectorAll' in node) {\n var ids = addMap.get(node);\n if (ids) {\n for (var _i = 0; _i < ids.length; _i++) {\n var observer = selectorObserver.observers[ids[_i]];\n if (observer) {\n if (!selectorObserver.selectorSet.matchesSelector(node, observer.selector)) {\n changes.push([REMOVE, node, observer]);\n }\n }\n }\n }\n }\n}\n\n// Recheck all \"add\" observers to see if the selector still matches.\n// If not, run the \"remove\" callback. Runs on node and all its descendants.\n//\n// selectorObserver - The SelectorObserver\n// changes - Array of changes to append to\n// node - The root Node\n//\n// Returns nothing.\nfunction revalidateDescendantObservers(selectorObserver, changes, node) {\n if ('querySelectorAll' in node) {\n revalidateObservers(selectorObserver, changes, node);\n var descendants = node.querySelectorAll('*');\n for (var i = 0; i < descendants.length; i++) {\n revalidateObservers(selectorObserver, changes, descendants[i]);\n }\n }\n}\n\n// Recheck input after \"change\" event and possible related form elements.\n//\n// selectorObserver - The SelectorObserver\n// changes - Array of changes to append to\n// input - The HTMLInputElement\n//\n// Returns nothing.\nfunction revalidateInputObservers(selectorObserver, changes, inputs) {\n for (var i = 0; i < inputs.length; i++) {\n var input = inputs[i];\n var els = input.form ? input.form.elements : selectorObserver.rootNode.querySelectorAll('input');\n for (var j = 0; j < els.length; j++) {\n revalidateObservers(selectorObserver, changes, els[j]);\n }\n }\n}\n\n// Check all observed elements to see if they are still in the DOM.\n// Only intended to run on IE where innerHTML replacement is buggy.\n//\n// selectorObserver - The SelectorObserver\n// changes - Array of changes to append to\n//\n// Returns nothing.\nfunction revalidateOrphanedElements(selectorObserver, changes) {\n for (var i = 0; i < selectorObserver.observers.length; i++) {\n var observer = selectorObserver.observers[i];\n if (observer) {\n var elements = observer.elements;\n\n for (var j = 0; j < elements.length; j++) {\n var el = elements[j];\n if (!el.parentNode) {\n changes.push([REMOVE_ALL, el]);\n }\n }\n }\n }\n}\n\nfunction whenReady(document, callback) {\n var readyState = document.readyState;\n if (readyState === 'interactive' || readyState === 'complete') {\n scheduleMacroTask(document, callback);\n } else {\n document.addEventListener('DOMContentLoaded', scheduleMacroTask(document, callback));\n }\n}\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\n// Observer uid counter\nvar uid = 0;\n\nfunction SelectorObserver(rootNode) {\n this.rootNode = rootNode.nodeType === 9 ? rootNode.documentElement : rootNode;\n this.ownerDocument = rootNode.nodeType === 9 ? rootNode : rootNode.ownerDocument;\n\n // Map of observer id to object\n this.observers = [];\n\n // Index of selectors to observer objects\n this.selectorSet = new SelectorSet();\n\n // Process all mutations from root element\n this.mutationObserver = new MutationObserver(handleRootMutations.bind(this, this));\n\n this._scheduleAddRootNodes = scheduleBatch(this.ownerDocument, addRootNodes.bind(this, this));\n\n this._handleThrottledChangedTargets = scheduleBatch(this.ownerDocument, handleChangedTargets.bind(this, this));\n this.rootNode.addEventListener('change', handleChangeEvents.bind(this, this), false);\n\n whenReady(this.ownerDocument, onReady.bind(this, this));\n}\n\nSelectorObserver.prototype.disconnect = function () {\n this.mutationObserver.disconnect();\n};\n\n// Register a new observer.\n//\n// selector - String CSS selector.\n// handlers - Initialize Function or Object with keys:\n// initialize - Function to invoke once when Node is first matched\n// add - Function to invoke when Node matches selector\n// remove - Function to invoke when Node no longer matches selector\n// subscribe - Function to invoke when Node matches selector and returns Subscription.\n//\n// Returns Observer object.\nSelectorObserver.prototype.observe = function (a, b) {\n var handlers = void 0;\n\n if (typeof b === 'function') {\n handlers = {\n selector: a,\n initialize: b\n };\n } else if ((typeof b === 'undefined' ? 'undefined' : _typeof(b)) === 'object') {\n handlers = b;\n handlers.selector = a;\n } else {\n handlers = a;\n }\n\n var self = this;\n\n var observer = {\n id: uid++,\n selector: handlers.selector,\n initialize: handlers.initialize,\n add: handlers.add,\n remove: handlers.remove,\n subscribe: handlers.subscribe,\n elements: [],\n elementConstructor: handlers.hasOwnProperty('constructor') ? handlers.constructor : this.ownerDocument.defaultView.Element,\n abort: function abort() {\n self._abortObserving(observer);\n }\n };\n this.selectorSet.add(observer.selector, observer);\n this.observers[observer.id] = observer;\n this._scheduleAddRootNodes();\n\n return observer;\n};\n\n// Removes observer and calls any remaining remove hooks.\n//\n// observer - Observer object\n//\n// Returns nothing.\nSelectorObserver.prototype._abortObserving = function (observer) {\n var elements = observer.elements;\n for (var i = 0; i < elements.length; i++) {\n runRemove(observer, elements[i]);\n }\n this.selectorSet.remove(observer.selector, observer);\n delete this.observers[observer.id];\n};\n\n// Internal: For hacking in dirty changes that aren't getting picked up\nSelectorObserver.prototype.triggerObservers = function (container) {\n var changes = [];\n revalidateDescendantObservers(this, changes, container);\n applyChanges(this, changes);\n};\n\nfunction onReady(selectorObserver) {\n selectorObserver.mutationObserver.observe(selectorObserver.rootNode, {\n childList: true,\n attributes: true,\n subtree: true\n });\n selectorObserver._scheduleAddRootNodes();\n}\n\nfunction addRootNodes(selectorObserver) {\n var changes = [];\n addNodes(selectorObserver, changes, [selectorObserver.rootNode]);\n applyChanges(selectorObserver, changes);\n}\n\nfunction handleRootMutations(selectorObserver, mutations) {\n var changes = [];\n handleMutations$1(selectorObserver, changes, mutations);\n applyChanges(selectorObserver, changes);\n}\n\nfunction handleChangeEvents(selectorObserver, event) {\n selectorObserver._handleThrottledChangedTargets(event.target);\n}\n\nfunction handleChangedTargets(selectorObserver, inputs) {\n var changes = [];\n revalidateInputObservers(selectorObserver, changes, inputs);\n applyChanges(selectorObserver, changes);\n}\n\n// observe\n//\n// Observe provides a declarative hook thats informed when an element becomes\n// matched by a selector, and then when it stops matching the selector.\n//\n// Examples\n//\n// observe('.js-foo', (el) => {\n// console.log(el, 'was added to the DOM')\n// })\n//\n// observe('.js-bar', {\n// add(el) { console.log('js-bar was added to', el) },\n// remove(el) { console.log 'js-bar was removed from', el) }\n// })\n//\n\nvar documentObserver = void 0;\n\nfunction getDocumentObserver() {\n if (!documentObserver) {\n documentObserver = new SelectorObserver(window.document);\n }\n return documentObserver;\n}\n\nfunction observe() {\n var _getDocumentObserver;\n\n return (_getDocumentObserver = getDocumentObserver()).observe.apply(_getDocumentObserver, arguments);\n}\n\nfunction triggerObservers() {\n var _getDocumentObserver2;\n\n return (_getDocumentObserver2 = getDocumentObserver()).triggerObservers.apply(_getDocumentObserver2, arguments);\n}\n\nexport default SelectorObserver;\nexport { getDocumentObserver, observe, triggerObservers };\n", "/** Inserts `text` at the cursor\u2019s position, replacing any selection, with **undo** support and by firing the `input` event. */\nexport function insertTextIntoField(field, text) {\n const document = field.ownerDocument;\n const initialFocus = document.activeElement;\n if (initialFocus !== field) {\n field.focus();\n }\n if (text === '') {\n // https://github.com/fregante/text-field-edit/issues/16\n document.execCommand('delete');\n }\n else {\n document.execCommand('insertText', false, text);\n }\n if (initialFocus === document.body) {\n field.blur();\n }\n else if (initialFocus instanceof HTMLElement && initialFocus !== field) {\n initialFocus.focus();\n }\n}\n/** Replaces the entire content, equivalent to `field.value = text` but with **undo** support and by firing the `input` event. */\nexport function setFieldText(field, text) {\n field.select();\n insertTextIntoField(field, text);\n}\n/** Get the selected text in a field or an empty string if nothing is selected. */\nexport function getFieldSelection(field) {\n return field.value.slice(field.selectionStart, field.selectionEnd);\n}\n/** Adds the `wrappingText` before and after field\u2019s selection (or cursor). If `endWrappingText` is provided, it will be used instead of `wrappingText` at on the right. */\nexport function wrapFieldSelection(field, wrap, wrapEnd) {\n const { selectionStart, selectionEnd } = field;\n const selection = getFieldSelection(field);\n insertTextIntoField(field, wrap + selection + (wrapEnd ?? wrap));\n // Restore the selection around the previously-selected text\n field.selectionStart = selectionStart + wrap.length;\n field.selectionEnd = selectionEnd + wrap.length;\n}\n/** Finds and replaces strings and regex in the field\u2019s value, like `field.value = field.value.replace()` but better */\nexport function replaceFieldText(field, searchValue, replacer, cursor = 'select') {\n /** Keeps track of how much each match offset should be adjusted */\n let drift = 0;\n field.value.replace(searchValue, (...args) => {\n // Select current match to replace it later\n const matchStart = drift + args.at(-2);\n const matchLength = args[0].length;\n field.selectionStart = matchStart;\n field.selectionEnd = matchStart + matchLength;\n const replacement = typeof replacer === 'string' ? replacer : replacer(...args);\n insertTextIntoField(field, replacement);\n if (cursor === 'select') {\n // Select replacement. Without this, the cursor would be after the replacement\n field.selectionStart = matchStart;\n }\n drift += replacement.length - matchLength;\n return replacement;\n });\n}\n/** @deprecated Import `insertTextIntoField` instead */\nexport const insert = insertTextIntoField;\n/** @deprecated Import `setFieldText` instead */\nexport const set = setFieldText;\n/** @deprecated Import `replaceFieldText` instead */\nexport const replace = replaceFieldText;\n/** @deprecated Import `wrapFieldSelection` instead */\nexport const wrapSelection = wrapFieldSelection;\n/** @deprecated Import `getFieldSelection` instead */\nexport const getSelection = getFieldSelection;\n// Note: Don't reuse deprecated constant from above\nconst textFieldEdit = {\n insert: insertTextIntoField,\n set: setFieldText,\n replace: replaceFieldText,\n wrapSelection: wrapFieldSelection,\n getSelection: getFieldSelection,\n};\nexport default textFieldEdit;\n", "import { insertTextIntoField } from 'text-field-edit';\n/*\n\n# Global notes\n\nIndent and unindent affect characters outside the selection, so the selection has to be expanded (`newSelection`) before applying the replacement regex.\n\nThe unindent selection expansion logic is a bit convoluted and I wish a genius would rewrite it more efficiently.\n\n*/\nexport function indentSelection(element) {\n const { selectionStart, selectionEnd, value } = element;\n const selectedText = value.slice(selectionStart, selectionEnd);\n // The first line should be indented, even if it starts with `\\n`\n // The last line should only be indented if includes any character after `\\n`\n const lineBreakCount = /\\n/g.exec(selectedText)?.length;\n if (lineBreakCount > 0) {\n // Select full first line to replace everything at once\n const firstLineStart = value.lastIndexOf('\\n', selectionStart - 1) + 1;\n const newSelection = element.value.slice(firstLineStart, selectionEnd - 1);\n const indentedText = newSelection.replaceAll(/^|\\n/g, // Match all line starts\n '$&\\t');\n const replacementsCount = indentedText.length - newSelection.length;\n // Replace newSelection with indentedText\n element.setSelectionRange(firstLineStart, selectionEnd - 1);\n insertTextIntoField(element, indentedText);\n // Restore selection position, including the indentation\n element.setSelectionRange(selectionStart + 1, selectionEnd + replacementsCount);\n }\n else {\n insertTextIntoField(element, '\\t');\n }\n}\nfunction findLineEnd(value, currentEnd) {\n // Go to the beginning of the last line\n const lastLineStart = value.lastIndexOf('\\n', currentEnd - 1) + 1;\n // There's nothing to unindent after the last cursor, so leave it as is\n if (value.charAt(lastLineStart) !== '\\t') {\n return currentEnd;\n }\n return lastLineStart + 1; // Include the first character, which will be a tab\n}\n// The first line should always be unindented\n// The last line should only be unindented if the selection includes any characters after `\\n`\nexport function unindentSelection(element) {\n const { selectionStart, selectionEnd, value } = element;\n // Select the whole first line because it might contain \\t\n const firstLineStart = value.lastIndexOf('\\n', selectionStart - 1) + 1;\n const minimumSelectionEnd = findLineEnd(value, selectionEnd);\n const newSelection = element.value.slice(firstLineStart, minimumSelectionEnd);\n const indentedText = newSelection.replaceAll(/(^|\\n)(\\t| {1,2})/g, '$1');\n const replacementsCount = newSelection.length - indentedText.length;\n // Replace newSelection with indentedText\n element.setSelectionRange(firstLineStart, minimumSelectionEnd);\n insertTextIntoField(element, indentedText);\n // Restore selection position, including the indentation\n const firstLineIndentation = /\\t| {1,2}/.exec(value.slice(firstLineStart, selectionStart));\n const difference = firstLineIndentation\n ? firstLineIndentation[0].length\n : 0;\n const newSelectionStart = selectionStart - difference;\n element.setSelectionRange(selectionStart - difference, Math.max(newSelectionStart, selectionEnd - replacementsCount));\n}\nexport function tabToIndentListener(event) {\n if (event.defaultPrevented\n || event.metaKey\n || event.altKey\n || event.ctrlKey) {\n return;\n }\n const textarea = event.target;\n if (event.key === 'Tab') {\n if (event.shiftKey) {\n unindentSelection(textarea);\n }\n else {\n indentSelection(textarea);\n }\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n else if (event.key === 'Escape'\n && !event.shiftKey) {\n textarea.blur();\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n}\nexport function enableTabToIndent(elements, signal) {\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n else if (elements instanceof HTMLTextAreaElement) {\n elements = [elements];\n }\n for (const element of elements) {\n element.addEventListener('keydown', tabToIndentListener, { signal });\n }\n}\n/** @deprecated Renamed to indentSelection */\nexport const indent = indentSelection;\n/** @deprecated Renamed to unindentSelection */\nexport const unindent = unindentSelection;\n/** @deprecated Renamed to tabToIndentListener */\nexport const eventHandler = tabToIndentListener;\n/** @deprecated Renamed to enableTabToIndent */\nexport const watch = enableTabToIndent;\n", "/** @returns {void} */\nexport function noop() {}\n\nexport const identity = (x) => x;\n\n/**\n * @template T\n * @template S\n * @param {T} tar\n * @param {S} src\n * @returns {T & S}\n */\nexport function assign(tar, src) {\n\t// @ts-ignore\n\tfor (const k in src) tar[k] = src[k];\n\treturn /** @type {T & S} */ (tar);\n}\n\n// Adapted from https://github.com/then/is-promise/blob/master/index.js\n// Distributed under MIT License https://github.com/then/is-promise/blob/master/LICENSE\n/**\n * @param {any} value\n * @returns {value is PromiseLike}\n */\nexport function is_promise(value) {\n\treturn (\n\t\t!!value &&\n\t\t(typeof value === 'object' || typeof value === 'function') &&\n\t\ttypeof (/** @type {any} */ (value).then) === 'function'\n\t);\n}\n\n/** @returns {void} */\nexport function add_location(element, file, line, column, char) {\n\telement.__svelte_meta = {\n\t\tloc: { file, line, column, char }\n\t};\n}\n\nexport function run(fn) {\n\treturn fn();\n}\n\nexport function blank_object() {\n\treturn Object.create(null);\n}\n\n/**\n * @param {Function[]} fns\n * @returns {void}\n */\nexport function run_all(fns) {\n\tfns.forEach(run);\n}\n\n/**\n * @param {any} thing\n * @returns {thing is Function}\n */\nexport function is_function(thing) {\n\treturn typeof thing === 'function';\n}\n\n/** @returns {boolean} */\nexport function safe_not_equal(a, b) {\n\treturn a != a ? b == b : a !== b || (a && typeof a === 'object') || typeof a === 'function';\n}\n\nlet src_url_equal_anchor;\n\n/**\n * @param {string} element_src\n * @param {string} url\n * @returns {boolean}\n */\nexport function src_url_equal(element_src, url) {\n\tif (element_src === url) return true;\n\tif (!src_url_equal_anchor) {\n\t\tsrc_url_equal_anchor = document.createElement('a');\n\t}\n\t// This is actually faster than doing URL(..).href\n\tsrc_url_equal_anchor.href = url;\n\treturn element_src === src_url_equal_anchor.href;\n}\n\n/** @param {string} srcset */\nfunction split_srcset(srcset) {\n\treturn srcset.split(',').map((src) => src.trim().split(' ').filter(Boolean));\n}\n\n/**\n * @param {HTMLSourceElement | HTMLImageElement} element_srcset\n * @param {string | undefined | null} srcset\n * @returns {boolean}\n */\nexport function srcset_url_equal(element_srcset, srcset) {\n\tconst element_urls = split_srcset(element_srcset.srcset);\n\tconst urls = split_srcset(srcset || '');\n\n\treturn (\n\t\turls.length === element_urls.length &&\n\t\turls.every(\n\t\t\t([url, width], i) =>\n\t\t\t\twidth === element_urls[i][1] &&\n\t\t\t\t// We need to test both ways because Vite will create an a full URL with\n\t\t\t\t// `new URL(asset, import.meta.url).href` for the client when `base: './'`, and the\n\t\t\t\t// relative URLs inside srcset are not automatically resolved to absolute URLs by\n\t\t\t\t// browsers (in contrast to img.src). This means both SSR and DOM code could\n\t\t\t\t// contain relative or absolute URLs.\n\t\t\t\t(src_url_equal(element_urls[i][0], url) || src_url_equal(url, element_urls[i][0]))\n\t\t)\n\t);\n}\n\n/** @returns {boolean} */\nexport function not_equal(a, b) {\n\treturn a != a ? b == b : a !== b;\n}\n\n/** @returns {boolean} */\nexport function is_empty(obj) {\n\treturn Object.keys(obj).length === 0;\n}\n\n/** @returns {void} */\nexport function validate_store(store, name) {\n\tif (store != null && typeof store.subscribe !== 'function') {\n\t\tthrow new Error(`'${name}' is not a store with a 'subscribe' method`);\n\t}\n}\n\nexport function subscribe(store, ...callbacks) {\n\tif (store == null) {\n\t\tfor (const callback of callbacks) {\n\t\t\tcallback(undefined);\n\t\t}\n\t\treturn noop;\n\t}\n\tconst unsub = store.subscribe(...callbacks);\n\treturn unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\n\n/**\n * Get the current value from a store by subscribing and immediately unsubscribing.\n *\n * https://svelte.dev/docs/svelte-store#get\n * @template T\n * @param {import('../store/public.js').Readable} store\n * @returns {T}\n */\nexport function get_store_value(store) {\n\tlet value;\n\tsubscribe(store, (_) => (value = _))();\n\treturn value;\n}\n\n/** @returns {void} */\nexport function component_subscribe(component, store, callback) {\n\tcomponent.$$.on_destroy.push(subscribe(store, callback));\n}\n\nexport function create_slot(definition, ctx, $$scope, fn) {\n\tif (definition) {\n\t\tconst slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n\t\treturn definition[0](slot_ctx);\n\t}\n}\n\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n\treturn definition[1] && fn ? assign($$scope.ctx.slice(), definition[1](fn(ctx))) : $$scope.ctx;\n}\n\nexport function get_slot_changes(definition, $$scope, dirty, fn) {\n\tif (definition[2] && fn) {\n\t\tconst lets = definition[2](fn(dirty));\n\t\tif ($$scope.dirty === undefined) {\n\t\t\treturn lets;\n\t\t}\n\t\tif (typeof lets === 'object') {\n\t\t\tconst merged = [];\n\t\t\tconst len = Math.max($$scope.dirty.length, lets.length);\n\t\t\tfor (let i = 0; i < len; i += 1) {\n\t\t\t\tmerged[i] = $$scope.dirty[i] | lets[i];\n\t\t\t}\n\t\t\treturn merged;\n\t\t}\n\t\treturn $$scope.dirty | lets;\n\t}\n\treturn $$scope.dirty;\n}\n\n/** @returns {void} */\nexport function update_slot_base(\n\tslot,\n\tslot_definition,\n\tctx,\n\t$$scope,\n\tslot_changes,\n\tget_slot_context_fn\n) {\n\tif (slot_changes) {\n\t\tconst slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n\t\tslot.p(slot_context, slot_changes);\n\t}\n}\n\n/** @returns {void} */\nexport function update_slot(\n\tslot,\n\tslot_definition,\n\tctx,\n\t$$scope,\n\tdirty,\n\tget_slot_changes_fn,\n\tget_slot_context_fn\n) {\n\tconst slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n\tupdate_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\n\n/** @returns {any[] | -1} */\nexport function get_all_dirty_from_scope($$scope) {\n\tif ($$scope.ctx.length > 32) {\n\t\tconst dirty = [];\n\t\tconst length = $$scope.ctx.length / 32;\n\t\tfor (let i = 0; i < length; i++) {\n\t\t\tdirty[i] = -1;\n\t\t}\n\t\treturn dirty;\n\t}\n\treturn -1;\n}\n\n/** @returns {{}} */\nexport function exclude_internal_props(props) {\n\tconst result = {};\n\tfor (const k in props) if (k[0] !== '$') result[k] = props[k];\n\treturn result;\n}\n\n/** @returns {{}} */\nexport function compute_rest_props(props, keys) {\n\tconst rest = {};\n\tkeys = new Set(keys);\n\tfor (const k in props) if (!keys.has(k) && k[0] !== '$') rest[k] = props[k];\n\treturn rest;\n}\n\n/** @returns {{}} */\nexport function compute_slots(slots) {\n\tconst result = {};\n\tfor (const key in slots) {\n\t\tresult[key] = true;\n\t}\n\treturn result;\n}\n\n/** @returns {(this: any, ...args: any[]) => void} */\nexport function once(fn) {\n\tlet ran = false;\n\treturn function (...args) {\n\t\tif (ran) return;\n\t\tran = true;\n\t\tfn.call(this, ...args);\n\t};\n}\n\nexport function null_to_empty(value) {\n\treturn value == null ? '' : value;\n}\n\nexport function set_store_value(store, ret, value) {\n\tstore.set(value);\n\treturn ret;\n}\n\nexport const has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\n\nexport function action_destroyer(action_result) {\n\treturn action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\n/** @param {number | string} value\n * @returns {[number, string]}\n */\nexport function split_css_unit(value) {\n\tconst split = typeof value === 'string' && value.match(/^\\s*(-?[\\d.]+)([^\\s]*)\\s*$/);\n\treturn split ? [parseFloat(split[1]), split[2] || 'px'] : [/** @type {number} */ (value), 'px'];\n}\n\nexport const contenteditable_truthy_values = ['', true, 1, 'true', 'contenteditable'];\n", "import { noop } from './utils.js';\n\nexport const is_client = typeof window !== 'undefined';\n\n/** @type {() => number} */\nexport let now = is_client ? () => window.performance.now() : () => Date.now();\n\nexport let raf = is_client ? (cb) => requestAnimationFrame(cb) : noop;\n\n// used internally for testing\n/** @returns {void} */\nexport function set_now(fn) {\n\tnow = fn;\n}\n\n/** @returns {void} */\nexport function set_raf(fn) {\n\traf = fn;\n}\n", "import { raf } from './environment.js';\n\nconst tasks = new Set();\n\n/**\n * @param {number} now\n * @returns {void}\n */\nfunction run_tasks(now) {\n\ttasks.forEach((task) => {\n\t\tif (!task.c(now)) {\n\t\t\ttasks.delete(task);\n\t\t\ttask.f();\n\t\t}\n\t});\n\tif (tasks.size !== 0) raf(run_tasks);\n}\n\n/**\n * For testing purposes only!\n * @returns {void}\n */\nexport function clear_loops() {\n\ttasks.clear();\n}\n\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n * @param {import('./private.js').TaskCallback} callback\n * @returns {import('./private.js').Task}\n */\nexport function loop(callback) {\n\t/** @type {import('./private.js').TaskEntry} */\n\tlet task;\n\tif (tasks.size === 0) raf(run_tasks);\n\treturn {\n\t\tpromise: new Promise((fulfill) => {\n\t\t\ttasks.add((task = { c: callback, f: fulfill }));\n\t\t}),\n\t\tabort() {\n\t\t\ttasks.delete(task);\n\t\t}\n\t};\n}\n", "/** @type {typeof globalThis} */\nexport const globals =\n\ttypeof window !== 'undefined'\n\t\t? window\n\t\t: typeof globalThis !== 'undefined'\n\t\t? globalThis\n\t\t: // @ts-ignore Node typings have this\n\t\t global;\n", "import { globals } from './globals.js';\n\n/**\n * Resize observer singleton.\n * One listener per element only!\n * https://groups.google.com/a/chromium.org/g/blink-dev/c/z6ienONUb5A/m/F5-VcUZtBAAJ\n */\nexport class ResizeObserverSingleton {\n\t/**\n\t * @private\n\t * @readonly\n\t * @type {WeakMap}\n\t */\n\t_listeners = 'WeakMap' in globals ? new WeakMap() : undefined;\n\n\t/**\n\t * @private\n\t * @type {ResizeObserver}\n\t */\n\t_observer = undefined;\n\n\t/** @type {ResizeObserverOptions} */\n\toptions;\n\n\t/** @param {ResizeObserverOptions} options */\n\tconstructor(options) {\n\t\tthis.options = options;\n\t}\n\n\t/**\n\t * @param {Element} element\n\t * @param {import('./private.js').Listener} listener\n\t * @returns {() => void}\n\t */\n\tobserve(element, listener) {\n\t\tthis._listeners.set(element, listener);\n\t\tthis._getObserver().observe(element, this.options);\n\t\treturn () => {\n\t\t\tthis._listeners.delete(element);\n\t\t\tthis._observer.unobserve(element); // this line can probably be removed\n\t\t};\n\t}\n\n\t/**\n\t * @private\n\t */\n\t_getObserver() {\n\t\treturn (\n\t\t\tthis._observer ??\n\t\t\t(this._observer = new ResizeObserver((entries) => {\n\t\t\t\tfor (const entry of entries) {\n\t\t\t\t\tResizeObserverSingleton.entries.set(entry.target, entry);\n\t\t\t\t\tthis._listeners.get(entry.target)?.(entry);\n\t\t\t\t}\n\t\t\t}))\n\t\t);\n\t}\n}\n\n// Needs to be written like this to pass the tree-shake-test\nResizeObserverSingleton.entries = 'WeakMap' in globals ? new WeakMap() : undefined;\n", "import { contenteditable_truthy_values, has_prop } from './utils.js';\n\nimport { ResizeObserverSingleton } from './ResizeObserverSingleton.js';\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\n\n/**\n * @returns {void}\n */\nexport function start_hydrating() {\n\tis_hydrating = true;\n}\n\n/**\n * @returns {void}\n */\nexport function end_hydrating() {\n\tis_hydrating = false;\n}\n\n/**\n * @param {number} low\n * @param {number} high\n * @param {(index: number) => number} key\n * @param {number} value\n * @returns {number}\n */\nfunction upper_bound(low, high, key, value) {\n\t// Return first index of value larger than input value in the range [low, high)\n\twhile (low < high) {\n\t\tconst mid = low + ((high - low) >> 1);\n\t\tif (key(mid) <= value) {\n\t\t\tlow = mid + 1;\n\t\t} else {\n\t\t\thigh = mid;\n\t\t}\n\t}\n\treturn low;\n}\n\n/**\n * @param {NodeEx} target\n * @returns {void}\n */\nfunction init_hydrate(target) {\n\tif (target.hydrate_init) return;\n\ttarget.hydrate_init = true;\n\t// We know that all children have claim_order values since the unclaimed have been detached if target is not \n\n\tlet children = /** @type {ArrayLike} */ (target.childNodes);\n\t// If target is , there may be children without claim_order\n\tif (target.nodeName === 'HEAD') {\n\t\tconst my_children = [];\n\t\tfor (let i = 0; i < children.length; i++) {\n\t\t\tconst node = children[i];\n\t\t\tif (node.claim_order !== undefined) {\n\t\t\t\tmy_children.push(node);\n\t\t\t}\n\t\t}\n\t\tchildren = my_children;\n\t}\n\t/*\n\t * Reorder claimed children optimally.\n\t * We can reorder claimed children optimally by finding the longest subsequence of\n\t * nodes that are already claimed in order and only moving the rest. The longest\n\t * subsequence of nodes that are claimed in order can be found by\n\t * computing the longest increasing subsequence of .claim_order values.\n\t *\n\t * This algorithm is optimal in generating the least amount of reorder operations\n\t * possible.\n\t *\n\t * Proof:\n\t * We know that, given a set of reordering operations, the nodes that do not move\n\t * always form an increasing subsequence, since they do not move among each other\n\t * meaning that they must be already ordered among each other. Thus, the maximal\n\t * set of nodes that do not move form a longest increasing subsequence.\n\t */\n\t// Compute longest increasing subsequence\n\t// m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n\tconst m = new Int32Array(children.length + 1);\n\t// Predecessor indices + 1\n\tconst p = new Int32Array(children.length);\n\tm[0] = -1;\n\tlet longest = 0;\n\tfor (let i = 0; i < children.length; i++) {\n\t\tconst current = children[i].claim_order;\n\t\t// Find the largest subsequence length such that it ends in a value less than our current value\n\t\t// upper_bound returns first greater value, so we subtract one\n\t\t// with fast path for when we are on the current longest subsequence\n\t\tconst seq_len =\n\t\t\t(longest > 0 && children[m[longest]].claim_order <= current\n\t\t\t\t? longest + 1\n\t\t\t\t: upper_bound(1, longest, (idx) => children[m[idx]].claim_order, current)) - 1;\n\t\tp[i] = m[seq_len] + 1;\n\t\tconst new_len = seq_len + 1;\n\t\t// We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n\t\tm[new_len] = i;\n\t\tlongest = Math.max(new_len, longest);\n\t}\n\t// The longest increasing subsequence of nodes (initially reversed)\n\n\t/**\n\t * @type {NodeEx2[]}\n\t */\n\tconst lis = [];\n\t// The rest of the nodes, nodes that will be moved\n\n\t/**\n\t * @type {NodeEx2[]}\n\t */\n\tconst to_move = [];\n\tlet last = children.length - 1;\n\tfor (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n\t\tlis.push(children[cur - 1]);\n\t\tfor (; last >= cur; last--) {\n\t\t\tto_move.push(children[last]);\n\t\t}\n\t\tlast--;\n\t}\n\tfor (; last >= 0; last--) {\n\t\tto_move.push(children[last]);\n\t}\n\tlis.reverse();\n\t// We sort the nodes being moved to guarantee that their insertion order matches the claim order\n\tto_move.sort((a, b) => a.claim_order - b.claim_order);\n\t// Finally, we move the nodes\n\tfor (let i = 0, j = 0; i < to_move.length; i++) {\n\t\twhile (j < lis.length && to_move[i].claim_order >= lis[j].claim_order) {\n\t\t\tj++;\n\t\t}\n\t\tconst anchor = j < lis.length ? lis[j] : null;\n\t\ttarget.insertBefore(to_move[i], anchor);\n\t}\n}\n\n/**\n * @param {Node} target\n * @param {Node} node\n * @returns {void}\n */\nexport function append(target, node) {\n\ttarget.appendChild(node);\n}\n\n/**\n * @param {Node} target\n * @param {string} style_sheet_id\n * @param {string} styles\n * @returns {void}\n */\nexport function append_styles(target, style_sheet_id, styles) {\n\tconst append_styles_to = get_root_for_style(target);\n\tif (!append_styles_to.getElementById(style_sheet_id)) {\n\t\tconst style = element('style');\n\t\tstyle.id = style_sheet_id;\n\t\tstyle.textContent = styles;\n\t\tappend_stylesheet(append_styles_to, style);\n\t}\n}\n\n/**\n * @param {Node} node\n * @returns {ShadowRoot | Document}\n */\nexport function get_root_for_style(node) {\n\tif (!node) return document;\n\tconst root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n\tif (root && /** @type {ShadowRoot} */ (root).host) {\n\t\treturn /** @type {ShadowRoot} */ (root);\n\t}\n\treturn node.ownerDocument;\n}\n\n/**\n * @param {Node} node\n * @returns {CSSStyleSheet}\n */\nexport function append_empty_stylesheet(node) {\n\tconst style_element = element('style');\n\t// For transitions to work without 'style-src: unsafe-inline' Content Security Policy,\n\t// these empty tags need to be allowed with a hash as a workaround until we move to the Web Animations API.\n\t// Using the hash for the empty string (for an empty tag) works in all browsers except Safari.\n\t// So as a workaround for the workaround, when we append empty style tags we set their content to /* empty */.\n\t// The hash 'sha256-9OlNO0DNEeaVzHL4RZwCLsBHA8WBQ8toBp/4F5XV2nc=' will then work even in Safari.\n\tstyle_element.textContent = '/* empty */';\n\tappend_stylesheet(get_root_for_style(node), style_element);\n\treturn style_element.sheet;\n}\n\n/**\n * @param {ShadowRoot | Document} node\n * @param {HTMLStyleElement} style\n * @returns {CSSStyleSheet}\n */\nfunction append_stylesheet(node, style) {\n\tappend(/** @type {Document} */ (node).head || node, style);\n\treturn style.sheet;\n}\n\n/**\n * @param {NodeEx} target\n * @param {NodeEx} node\n * @returns {void}\n */\nexport function append_hydration(target, node) {\n\tif (is_hydrating) {\n\t\tinit_hydrate(target);\n\t\tif (\n\t\t\ttarget.actual_end_child === undefined ||\n\t\t\t(target.actual_end_child !== null && target.actual_end_child.parentNode !== target)\n\t\t) {\n\t\t\ttarget.actual_end_child = target.firstChild;\n\t\t}\n\t\t// Skip nodes of undefined ordering\n\t\twhile (target.actual_end_child !== null && target.actual_end_child.claim_order === undefined) {\n\t\t\ttarget.actual_end_child = target.actual_end_child.nextSibling;\n\t\t}\n\t\tif (node !== target.actual_end_child) {\n\t\t\t// We only insert if the ordering of this node should be modified or the parent node is not target\n\t\t\tif (node.claim_order !== undefined || node.parentNode !== target) {\n\t\t\t\ttarget.insertBefore(node, target.actual_end_child);\n\t\t\t}\n\t\t} else {\n\t\t\ttarget.actual_end_child = node.nextSibling;\n\t\t}\n\t} else if (node.parentNode !== target || node.nextSibling !== null) {\n\t\ttarget.appendChild(node);\n\t}\n}\n\n/**\n * @param {Node} target\n * @param {Node} node\n * @param {Node} [anchor]\n * @returns {void}\n */\nexport function insert(target, node, anchor) {\n\ttarget.insertBefore(node, anchor || null);\n}\n\n/**\n * @param {NodeEx} target\n * @param {NodeEx} node\n * @param {NodeEx} [anchor]\n * @returns {void}\n */\nexport function insert_hydration(target, node, anchor) {\n\tif (is_hydrating && !anchor) {\n\t\tappend_hydration(target, node);\n\t} else if (node.parentNode !== target || node.nextSibling != anchor) {\n\t\ttarget.insertBefore(node, anchor || null);\n\t}\n}\n\n/**\n * @param {Node} node\n * @returns {void}\n */\nexport function detach(node) {\n\tif (node.parentNode) {\n\t\tnode.parentNode.removeChild(node);\n\t}\n}\n\n/**\n * @returns {void} */\nexport function destroy_each(iterations, detaching) {\n\tfor (let i = 0; i < iterations.length; i += 1) {\n\t\tif (iterations[i]) iterations[i].d(detaching);\n\t}\n}\n\n/**\n * @template {keyof HTMLElementTagNameMap} K\n * @param {K} name\n * @returns {HTMLElementTagNameMap[K]}\n */\nexport function element(name) {\n\treturn document.createElement(name);\n}\n\n/**\n * @template {keyof HTMLElementTagNameMap} K\n * @param {K} name\n * @param {string} is\n * @returns {HTMLElementTagNameMap[K]}\n */\nexport function element_is(name, is) {\n\treturn document.createElement(name, { is });\n}\n\n/**\n * @template T\n * @template {keyof T} K\n * @param {T} obj\n * @param {K[]} exclude\n * @returns {Pick>}\n */\nexport function object_without_properties(obj, exclude) {\n\tconst target = /** @type {Pick>} */ ({});\n\tfor (const k in obj) {\n\t\tif (\n\t\t\thas_prop(obj, k) &&\n\t\t\t// @ts-ignore\n\t\t\texclude.indexOf(k) === -1\n\t\t) {\n\t\t\t// @ts-ignore\n\t\t\ttarget[k] = obj[k];\n\t\t}\n\t}\n\treturn target;\n}\n\n/**\n * @template {keyof SVGElementTagNameMap} K\n * @param {K} name\n * @returns {SVGElement}\n */\nexport function svg_element(name) {\n\treturn document.createElementNS('http://www.w3.org/2000/svg', name);\n}\n\n/**\n * @param {string} data\n * @returns {Text}\n */\nexport function text(data) {\n\treturn document.createTextNode(data);\n}\n\n/**\n * @returns {Text} */\nexport function space() {\n\treturn text(' ');\n}\n\n/**\n * @returns {Text} */\nexport function empty() {\n\treturn text('');\n}\n\n/**\n * @param {string} content\n * @returns {Comment}\n */\nexport function comment(content) {\n\treturn document.createComment(content);\n}\n\n/**\n * @param {EventTarget} node\n * @param {string} event\n * @param {EventListenerOrEventListenerObject} handler\n * @param {boolean | AddEventListenerOptions | EventListenerOptions} [options]\n * @returns {() => void}\n */\nexport function listen(node, event, handler, options) {\n\tnode.addEventListener(event, handler, options);\n\treturn () => node.removeEventListener(event, handler, options);\n}\n\n/**\n * @returns {(event: any) => any} */\nexport function prevent_default(fn) {\n\treturn function (event) {\n\t\tevent.preventDefault();\n\t\t// @ts-ignore\n\t\treturn fn.call(this, event);\n\t};\n}\n\n/**\n * @returns {(event: any) => any} */\nexport function stop_propagation(fn) {\n\treturn function (event) {\n\t\tevent.stopPropagation();\n\t\t// @ts-ignore\n\t\treturn fn.call(this, event);\n\t};\n}\n\n/**\n * @returns {(event: any) => any} */\nexport function stop_immediate_propagation(fn) {\n\treturn function (event) {\n\t\tevent.stopImmediatePropagation();\n\t\t// @ts-ignore\n\t\treturn fn.call(this, event);\n\t};\n}\n\n/**\n * @returns {(event: any) => void} */\nexport function self(fn) {\n\treturn function (event) {\n\t\t// @ts-ignore\n\t\tif (event.target === this) fn.call(this, event);\n\t};\n}\n\n/**\n * @returns {(event: any) => void} */\nexport function trusted(fn) {\n\treturn function (event) {\n\t\t// @ts-ignore\n\t\tif (event.isTrusted) fn.call(this, event);\n\t};\n}\n\n/**\n * @param {Element} node\n * @param {string} attribute\n * @param {string} [value]\n * @returns {void}\n */\nexport function attr(node, attribute, value) {\n\tif (value == null) node.removeAttribute(attribute);\n\telse if (node.getAttribute(attribute) !== value) node.setAttribute(attribute, value);\n}\n/**\n * List of attributes that should always be set through the attr method,\n * because updating them through the property setter doesn't work reliably.\n * In the example of `width`/`height`, the problem is that the setter only\n * accepts numeric values, but the attribute can also be set to a string like `50%`.\n * If this list becomes too big, rethink this approach.\n */\nconst always_set_through_set_attribute = ['width', 'height'];\n\n/**\n * @param {Element & ElementCSSInlineStyle} node\n * @param {{ [x: string]: string }} attributes\n * @returns {void}\n */\nexport function set_attributes(node, attributes) {\n\t// @ts-ignore\n\tconst descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n\tfor (const key in attributes) {\n\t\tif (attributes[key] == null) {\n\t\t\tnode.removeAttribute(key);\n\t\t} else if (key === 'style') {\n\t\t\tnode.style.cssText = attributes[key];\n\t\t} else if (key === '__value') {\n\t\t\t/** @type {any} */ (node).value = node[key] = attributes[key];\n\t\t} else if (\n\t\t\tdescriptors[key] &&\n\t\t\tdescriptors[key].set &&\n\t\t\talways_set_through_set_attribute.indexOf(key) === -1\n\t\t) {\n\t\t\tnode[key] = attributes[key];\n\t\t} else {\n\t\t\tattr(node, key, attributes[key]);\n\t\t}\n\t}\n}\n\n/**\n * @param {Element & ElementCSSInlineStyle} node\n * @param {{ [x: string]: string }} attributes\n * @returns {void}\n */\nexport function set_svg_attributes(node, attributes) {\n\tfor (const key in attributes) {\n\t\tattr(node, key, attributes[key]);\n\t}\n}\n\n/**\n * @param {Record} data_map\n * @returns {void}\n */\nexport function set_custom_element_data_map(node, data_map) {\n\tObject.keys(data_map).forEach((key) => {\n\t\tset_custom_element_data(node, key, data_map[key]);\n\t});\n}\n\n/**\n * @returns {void} */\nexport function set_custom_element_data(node, prop, value) {\n\tconst lower = prop.toLowerCase(); // for backwards compatibility with existing behavior we do lowercase first\n\tif (lower in node) {\n\t\tnode[lower] = typeof node[lower] === 'boolean' && value === '' ? true : value;\n\t} else if (prop in node) {\n\t\tnode[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n\t} else {\n\t\tattr(node, prop, value);\n\t}\n}\n\n/**\n * @param {string} tag\n */\nexport function set_dynamic_element_data(tag) {\n\treturn /-/.test(tag) ? set_custom_element_data_map : set_attributes;\n}\n\n/**\n * @returns {void}\n */\nexport function xlink_attr(node, attribute, value) {\n\tnode.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\n\n/**\n * @param {HTMLElement} node\n * @returns {string}\n */\nexport function get_svelte_dataset(node) {\n\treturn node.dataset.svelteH;\n}\n\n/**\n * @returns {unknown[]} */\nexport function get_binding_group_value(group, __value, checked) {\n\tconst value = new Set();\n\tfor (let i = 0; i < group.length; i += 1) {\n\t\tif (group[i].checked) value.add(group[i].__value);\n\t}\n\tif (!checked) {\n\t\tvalue.delete(__value);\n\t}\n\treturn Array.from(value);\n}\n\n/**\n * @param {HTMLInputElement[]} group\n * @returns {{ p(...inputs: HTMLInputElement[]): void; r(): void; }}\n */\nexport function init_binding_group(group) {\n\t/**\n\t * @type {HTMLInputElement[]} */\n\tlet _inputs;\n\treturn {\n\t\t/* push */ p(...inputs) {\n\t\t\t_inputs = inputs;\n\t\t\t_inputs.forEach((input) => group.push(input));\n\t\t},\n\t\t/* remove */ r() {\n\t\t\t_inputs.forEach((input) => group.splice(group.indexOf(input), 1));\n\t\t}\n\t};\n}\n\n/**\n * @param {number[]} indexes\n * @returns {{ u(new_indexes: number[]): void; p(...inputs: HTMLInputElement[]): void; r: () => void; }}\n */\nexport function init_binding_group_dynamic(group, indexes) {\n\t/**\n\t * @type {HTMLInputElement[]} */\n\tlet _group = get_binding_group(group);\n\n\t/**\n\t * @type {HTMLInputElement[]} */\n\tlet _inputs;\n\n\tfunction get_binding_group(group) {\n\t\tfor (let i = 0; i < indexes.length; i++) {\n\t\t\tgroup = group[indexes[i]] = group[indexes[i]] || [];\n\t\t}\n\t\treturn group;\n\t}\n\n\t/**\n\t * @returns {void} */\n\tfunction push() {\n\t\t_inputs.forEach((input) => _group.push(input));\n\t}\n\n\t/**\n\t * @returns {void} */\n\tfunction remove() {\n\t\t_inputs.forEach((input) => _group.splice(_group.indexOf(input), 1));\n\t}\n\treturn {\n\t\t/* update */ u(new_indexes) {\n\t\t\tindexes = new_indexes;\n\t\t\tconst new_group = get_binding_group(group);\n\t\t\tif (new_group !== _group) {\n\t\t\t\tremove();\n\t\t\t\t_group = new_group;\n\t\t\t\tpush();\n\t\t\t}\n\t\t},\n\t\t/* push */ p(...inputs) {\n\t\t\t_inputs = inputs;\n\t\t\tpush();\n\t\t},\n\t\t/* remove */ r: remove\n\t};\n}\n\n/** @returns {number} */\nexport function to_number(value) {\n\treturn value === '' ? null : +value;\n}\n\n/** @returns {any[]} */\nexport function time_ranges_to_array(ranges) {\n\tconst array = [];\n\tfor (let i = 0; i < ranges.length; i += 1) {\n\t\tarray.push({ start: ranges.start(i), end: ranges.end(i) });\n\t}\n\treturn array;\n}\n\n/**\n * @param {Element} element\n * @returns {ChildNode[]}\n */\nexport function children(element) {\n\treturn Array.from(element.childNodes);\n}\n\n/**\n * @param {ChildNodeArray} nodes\n * @returns {void}\n */\nfunction init_claim_info(nodes) {\n\tif (nodes.claim_info === undefined) {\n\t\tnodes.claim_info = { last_index: 0, total_claimed: 0 };\n\t}\n}\n\n/**\n * @template {ChildNodeEx} R\n * @param {ChildNodeArray} nodes\n * @param {(node: ChildNodeEx) => node is R} predicate\n * @param {(node: ChildNodeEx) => ChildNodeEx | undefined} process_node\n * @param {() => R} create_node\n * @param {boolean} dont_update_last_index\n * @returns {R}\n */\nfunction claim_node(nodes, predicate, process_node, create_node, dont_update_last_index = false) {\n\t// Try to find nodes in an order such that we lengthen the longest increasing subsequence\n\tinit_claim_info(nodes);\n\tconst result_node = (() => {\n\t\t// We first try to find an element after the previous one\n\t\tfor (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n\t\t\tconst node = nodes[i];\n\t\t\tif (predicate(node)) {\n\t\t\t\tconst replacement = process_node(node);\n\t\t\t\tif (replacement === undefined) {\n\t\t\t\t\tnodes.splice(i, 1);\n\t\t\t\t} else {\n\t\t\t\t\tnodes[i] = replacement;\n\t\t\t\t}\n\t\t\t\tif (!dont_update_last_index) {\n\t\t\t\t\tnodes.claim_info.last_index = i;\n\t\t\t\t}\n\t\t\t\treturn node;\n\t\t\t}\n\t\t}\n\t\t// Otherwise, we try to find one before\n\t\t// We iterate in reverse so that we don't go too far back\n\t\tfor (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n\t\t\tconst node = nodes[i];\n\t\t\tif (predicate(node)) {\n\t\t\t\tconst replacement = process_node(node);\n\t\t\t\tif (replacement === undefined) {\n\t\t\t\t\tnodes.splice(i, 1);\n\t\t\t\t} else {\n\t\t\t\t\tnodes[i] = replacement;\n\t\t\t\t}\n\t\t\t\tif (!dont_update_last_index) {\n\t\t\t\t\tnodes.claim_info.last_index = i;\n\t\t\t\t} else if (replacement === undefined) {\n\t\t\t\t\t// Since we spliced before the last_index, we decrease it\n\t\t\t\t\tnodes.claim_info.last_index--;\n\t\t\t\t}\n\t\t\t\treturn node;\n\t\t\t}\n\t\t}\n\t\t// If we can't find any matching node, we create a new one\n\t\treturn create_node();\n\t})();\n\tresult_node.claim_order = nodes.claim_info.total_claimed;\n\tnodes.claim_info.total_claimed += 1;\n\treturn result_node;\n}\n\n/**\n * @param {ChildNodeArray} nodes\n * @param {string} name\n * @param {{ [key: string]: boolean }} attributes\n * @param {(name: string) => Element | SVGElement} create_element\n * @returns {Element | SVGElement}\n */\nfunction claim_element_base(nodes, name, attributes, create_element) {\n\treturn claim_node(\n\t\tnodes,\n\t\t/** @returns {node is Element | SVGElement} */\n\t\t(node) => node.nodeName === name,\n\t\t/** @param {Element} node */\n\t\t(node) => {\n\t\t\tconst remove = [];\n\t\t\tfor (let j = 0; j < node.attributes.length; j++) {\n\t\t\t\tconst attribute = node.attributes[j];\n\t\t\t\tif (!attributes[attribute.name]) {\n\t\t\t\t\tremove.push(attribute.name);\n\t\t\t\t}\n\t\t\t}\n\t\t\tremove.forEach((v) => node.removeAttribute(v));\n\t\t\treturn undefined;\n\t\t},\n\t\t() => create_element(name)\n\t);\n}\n\n/**\n * @param {ChildNodeArray} nodes\n * @param {string} name\n * @param {{ [key: string]: boolean }} attributes\n * @returns {Element | SVGElement}\n */\nexport function claim_element(nodes, name, attributes) {\n\treturn claim_element_base(nodes, name, attributes, element);\n}\n\n/**\n * @param {ChildNodeArray} nodes\n * @param {string} name\n * @param {{ [key: string]: boolean }} attributes\n * @returns {Element | SVGElement}\n */\nexport function claim_svg_element(nodes, name, attributes) {\n\treturn claim_element_base(nodes, name, attributes, svg_element);\n}\n\n/**\n * @param {ChildNodeArray} nodes\n * @returns {Text}\n */\nexport function claim_text(nodes, data) {\n\treturn claim_node(\n\t\tnodes,\n\t\t/** @returns {node is Text} */\n\t\t(node) => node.nodeType === 3,\n\t\t/** @param {Text} node */\n\t\t(node) => {\n\t\t\tconst data_str = '' + data;\n\t\t\tif (node.data.startsWith(data_str)) {\n\t\t\t\tif (node.data.length !== data_str.length) {\n\t\t\t\t\treturn node.splitText(data_str.length);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tnode.data = data_str;\n\t\t\t}\n\t\t},\n\t\t() => text(data),\n\t\ttrue // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n\t);\n}\n\n/**\n * @returns {Text} */\nexport function claim_space(nodes) {\n\treturn claim_text(nodes, ' ');\n}\n\n/**\n * @param {ChildNodeArray} nodes\n * @returns {Comment}\n */\nexport function claim_comment(nodes, data) {\n\treturn claim_node(\n\t\tnodes,\n\t\t/** @returns {node is Comment} */\n\t\t(node) => node.nodeType === 8,\n\t\t/** @param {Comment} node */\n\t\t(node) => {\n\t\t\tnode.data = '' + data;\n\t\t\treturn undefined;\n\t\t},\n\t\t() => comment(data),\n\t\ttrue\n\t);\n}\n\nfunction get_comment_idx(nodes, text, start) {\n\tfor (let i = start; i < nodes.length; i += 1) {\n\t\tconst node = nodes[i];\n\t\tif (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n}\n\n/**\n * @param {boolean} is_svg\n * @returns {HtmlTagHydration}\n */\nexport function claim_html_tag(nodes, is_svg) {\n\t// find html opening tag\n\tconst start_index = get_comment_idx(nodes, 'HTML_TAG_START', 0);\n\tconst end_index = get_comment_idx(nodes, 'HTML_TAG_END', start_index + 1);\n\tif (start_index === -1 || end_index === -1) {\n\t\treturn new HtmlTagHydration(is_svg);\n\t}\n\n\tinit_claim_info(nodes);\n\tconst html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n\tdetach(html_tag_nodes[0]);\n\tdetach(html_tag_nodes[html_tag_nodes.length - 1]);\n\tconst claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n\tif (claimed_nodes.length === 0) {\n\t\treturn new HtmlTagHydration(is_svg);\n\t}\n\tfor (const n of claimed_nodes) {\n\t\tn.claim_order = nodes.claim_info.total_claimed;\n\t\tnodes.claim_info.total_claimed += 1;\n\t}\n\treturn new HtmlTagHydration(is_svg, claimed_nodes);\n}\n\n/**\n * @param {Text} text\n * @param {unknown} data\n * @returns {void}\n */\nexport function set_data(text, data) {\n\tdata = '' + data;\n\tif (text.data === data) return;\n\ttext.data = /** @type {string} */ (data);\n}\n\n/**\n * @param {Text} text\n * @param {unknown} data\n * @returns {void}\n */\nexport function set_data_contenteditable(text, data) {\n\tdata = '' + data;\n\tif (text.wholeText === data) return;\n\ttext.data = /** @type {string} */ (data);\n}\n\n/**\n * @param {Text} text\n * @param {unknown} data\n * @param {string} attr_value\n * @returns {void}\n */\nexport function set_data_maybe_contenteditable(text, data, attr_value) {\n\tif (~contenteditable_truthy_values.indexOf(attr_value)) {\n\t\tset_data_contenteditable(text, data);\n\t} else {\n\t\tset_data(text, data);\n\t}\n}\n\n/**\n * @returns {void} */\nexport function set_input_value(input, value) {\n\tinput.value = value == null ? '' : value;\n}\n\n/**\n * @returns {void} */\nexport function set_input_type(input, type) {\n\ttry {\n\t\tinput.type = type;\n\t} catch (e) {\n\t\t// do nothing\n\t}\n}\n\n/**\n * @returns {void} */\nexport function set_style(node, key, value, important) {\n\tif (value == null) {\n\t\tnode.style.removeProperty(key);\n\t} else {\n\t\tnode.style.setProperty(key, value, important ? 'important' : '');\n\t}\n}\n\n/**\n * @returns {void} */\nexport function select_option(select, value, mounting) {\n\tfor (let i = 0; i < select.options.length; i += 1) {\n\t\tconst option = select.options[i];\n\t\tif (option.__value === value) {\n\t\t\toption.selected = true;\n\t\t\treturn;\n\t\t}\n\t}\n\tif (!mounting || value !== undefined) {\n\t\tselect.selectedIndex = -1; // no option should be selected\n\t}\n}\n\n/**\n * @returns {void} */\nexport function select_options(select, value) {\n\tfor (let i = 0; i < select.options.length; i += 1) {\n\t\tconst option = select.options[i];\n\t\toption.selected = ~value.indexOf(option.__value);\n\t}\n}\n\nexport function select_value(select) {\n\tconst selected_option = select.querySelector(':checked');\n\treturn selected_option && selected_option.__value;\n}\n\nexport function select_multiple_value(select) {\n\treturn [].map.call(select.querySelectorAll(':checked'), (option) => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\n\n/**\n * @type {boolean} */\nlet crossorigin;\n\n/**\n * @returns {boolean} */\nexport function is_crossorigin() {\n\tif (crossorigin === undefined) {\n\t\tcrossorigin = false;\n\t\ttry {\n\t\t\tif (typeof window !== 'undefined' && window.parent) {\n\t\t\t\tvoid window.parent.document;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tcrossorigin = true;\n\t\t}\n\t}\n\treturn crossorigin;\n}\n\n/**\n * @param {HTMLElement} node\n * @param {() => void} fn\n * @returns {() => void}\n */\nexport function add_iframe_resize_listener(node, fn) {\n\tconst computed_style = getComputedStyle(node);\n\tif (computed_style.position === 'static') {\n\t\tnode.style.position = 'relative';\n\t}\n\tconst iframe = element('iframe');\n\tiframe.setAttribute(\n\t\t'style',\n\t\t'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n\t\t\t'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;'\n\t);\n\tiframe.setAttribute('aria-hidden', 'true');\n\tiframe.tabIndex = -1;\n\tconst crossorigin = is_crossorigin();\n\n\t/**\n\t * @type {() => void}\n\t */\n\tlet unsubscribe;\n\tif (crossorigin) {\n\t\tiframe.src = \"data:text/html,\";\n\t\tunsubscribe = listen(\n\t\t\twindow,\n\t\t\t'message',\n\t\t\t/** @param {MessageEvent} event */ (event) => {\n\t\t\t\tif (event.source === iframe.contentWindow) fn();\n\t\t\t}\n\t\t);\n\t} else {\n\t\tiframe.src = 'about:blank';\n\t\tiframe.onload = () => {\n\t\t\tunsubscribe = listen(iframe.contentWindow, 'resize', fn);\n\t\t\t// make sure an initial resize event is fired _after_ the iframe is loaded (which is asynchronous)\n\t\t\t// see https://github.com/sveltejs/svelte/issues/4233\n\t\t\tfn();\n\t\t};\n\t}\n\tappend(node, iframe);\n\treturn () => {\n\t\tif (crossorigin) {\n\t\t\tunsubscribe();\n\t\t} else if (unsubscribe && iframe.contentWindow) {\n\t\t\tunsubscribe();\n\t\t}\n\t\tdetach(iframe);\n\t};\n}\nexport const resize_observer_content_box = /* @__PURE__ */ new ResizeObserverSingleton({\n\tbox: 'content-box'\n});\nexport const resize_observer_border_box = /* @__PURE__ */ new ResizeObserverSingleton({\n\tbox: 'border-box'\n});\nexport const resize_observer_device_pixel_content_box = /* @__PURE__ */ new ResizeObserverSingleton(\n\t{ box: 'device-pixel-content-box' }\n);\nexport { ResizeObserverSingleton };\n\n/**\n * @returns {void} */\nexport function toggle_class(element, name, toggle) {\n\t// The `!!` is required because an `undefined` flag means flipping the current state.\n\telement.classList.toggle(name, !!toggle);\n}\n\n/**\n * @template T\n * @param {string} type\n * @param {T} [detail]\n * @param {{ bubbles?: boolean, cancelable?: boolean }} [options]\n * @returns {CustomEvent}\n */\nexport function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n\treturn new CustomEvent(type, { detail, bubbles, cancelable });\n}\n\n/**\n * @param {string} selector\n * @param {HTMLElement} parent\n * @returns {ChildNodeArray}\n */\nexport function query_selector_all(selector, parent = document.body) {\n\treturn Array.from(parent.querySelectorAll(selector));\n}\n\n/**\n * @param {string} nodeId\n * @param {HTMLElement} head\n * @returns {any[]}\n */\nexport function head_selector(nodeId, head) {\n\tconst result = [];\n\tlet started = 0;\n\tfor (const node of head.childNodes) {\n\t\tif (node.nodeType === 8 /* comment node */) {\n\t\t\tconst comment = node.textContent.trim();\n\t\t\tif (comment === `HEAD_${nodeId}_END`) {\n\t\t\t\tstarted -= 1;\n\t\t\t\tresult.push(node);\n\t\t\t} else if (comment === `HEAD_${nodeId}_START`) {\n\t\t\t\tstarted += 1;\n\t\t\t\tresult.push(node);\n\t\t\t}\n\t\t} else if (started > 0) {\n\t\t\tresult.push(node);\n\t\t}\n\t}\n\treturn result;\n}\n/** */\nexport class HtmlTag {\n\t/**\n\t * @private\n\t * @default false\n\t */\n\tis_svg = false;\n\t/** parent for creating node */\n\te = undefined;\n\t/** html tag nodes */\n\tn = undefined;\n\t/** target */\n\tt = undefined;\n\t/** anchor */\n\ta = undefined;\n\tconstructor(is_svg = false) {\n\t\tthis.is_svg = is_svg;\n\t\tthis.e = this.n = null;\n\t}\n\n\t/**\n\t * @param {string} html\n\t * @returns {void}\n\t */\n\tc(html) {\n\t\tthis.h(html);\n\t}\n\n\t/**\n\t * @param {string} html\n\t * @param {HTMLElement | SVGElement} target\n\t * @param {HTMLElement | SVGElement} anchor\n\t * @returns {void}\n\t */\n\tm(html, target, anchor = null) {\n\t\tif (!this.e) {\n\t\t\tif (this.is_svg)\n\t\t\t\tthis.e = svg_element(/** @type {keyof SVGElementTagNameMap} */ (target.nodeName));\n\t\t\t/** #7364 target for