diff --git a/js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs b/js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs similarity index 99% rename from js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs rename to js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs index 920d8d81a..7c88c44f3 100644 --- a/js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs +++ b/js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/index-CtVyr4ss.chunk.mjs'),window.OC.filePath('activity', '', 'js/_commonjsHelpers-Cqwegr3R.chunk.mjs'),window.OC.filePath('activity', '', 'js/_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-DO04_iVC.chunk.mjs'),window.OC.filePath('activity', '', 'js/translation-DoG5ZELJ-BlIPWNCX.chunk.mjs'),window.OC.filePath('activity', '', 'js/preload-helper-B9rAsR6N.chunk.mjs')])))=>i.map(i=>d[i]); -(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('@charset "UTF-8";.material-design-icon[data-v-b101d636]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.empty-content[data-v-b101d636]{display:flex;align-items:center;flex-direction:column;justify-content:center;flex-grow:1;padding:var(--default-grid-baseline)}.modal-wrapper .empty-content[data-v-b101d636]{margin-top:5vh;margin-bottom:5vh}.empty-content__icon[data-v-b101d636]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 15px;opacity:.4;background-repeat:no-repeat;background-position:center;background-size:64px}.empty-content__icon[data-v-b101d636] svg{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important}.empty-content__name[data-v-b101d636]{margin-bottom:10px;text-align:center;font-weight:700;font-size:20px;line-height:30px}.empty-content__description[data-v-b101d636]{color:var(--color-text-maxcontrast);text-align:center;text-wrap-style:balance}.empty-content__action[data-v-b101d636]{margin-top:8px}.modal-wrapper .empty-content__action[data-v-b101d636]{margin-top:20px;display:flex}.material-design-icon[data-v-72a1eed6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.avatardiv[data-v-72a1eed6]{position:relative;display:inline-block;width:var(--avatar-size);height:var(--avatar-size)}.avatardiv--unknown[data-v-72a1eed6]{position:relative;background-color:var(--color-main-background);white-space:normal}.avatardiv[data-v-72a1eed6]:not(.avatardiv--unknown){background-color:var(--color-main-background)!important;box-shadow:0 0 5px #0000000d inset}.avatardiv--with-menu[data-v-72a1eed6]{cursor:pointer}.avatardiv--with-menu .action-item[data-v-72a1eed6]{position:absolute;top:0;inset-inline-start:0}.avatardiv--with-menu[data-v-72a1eed6] .action-item__menutoggle{cursor:pointer;opacity:0}.avatardiv--with-menu[data-v-72a1eed6]:focus-within .action-item__menutoggle,.avatardiv--with-menu[data-v-72a1eed6]:hover .action-item__menutoggle,.avatardiv--with-menu.avatardiv--with-menu-loading[data-v-72a1eed6] .action-item__menutoggle{opacity:1}.avatardiv--with-menu:focus-within img[data-v-72a1eed6],.avatardiv--with-menu:hover img[data-v-72a1eed6],.avatardiv--with-menu.avatardiv--with-menu-loading img[data-v-72a1eed6]{opacity:.3}.avatardiv--with-menu[data-v-72a1eed6] .action-item__menutoggle,.avatardiv--with-menu img[data-v-72a1eed6]{transition:opacity var(--animation-quick)}.avatardiv--with-menu[data-v-72a1eed6] .button-vue,.avatardiv--with-menu[data-v-72a1eed6] .button-vue__icon{height:var(--avatar-size);min-height:var(--avatar-size);width:var(--avatar-size)!important;min-width:var(--avatar-size)}.avatardiv--with-menu[data-v-72a1eed6]>.button-vue,.avatardiv--with-menu[data-v-72a1eed6]>.action-item .button-vue{--button-radius: calc(var(--avatar-size) / 2)}.avatardiv .avatardiv__initials-wrapper[data-v-72a1eed6]{display:block;height:var(--avatar-size);width:var(--avatar-size);background-color:var(--color-main-background);border-radius:calc(var(--avatar-size) / 2)}.avatardiv .avatardiv__initials-wrapper .avatardiv__initials[data-v-72a1eed6]{position:absolute;top:0;inset-inline-start:0;display:block;width:100%;text-align:center;font-weight:400}.avatardiv img[data-v-72a1eed6]{width:100%;height:100%;object-fit:cover}.avatardiv .material-design-icon[data-v-72a1eed6]{width:var(--avatar-size);height:var(--avatar-size)}.avatardiv .avatardiv__user-status[data-v-72a1eed6]{--avatar-status-size-orbital: calc(var(--avatar-size) * (1 - 1 / sqrt(2)));--avatar-status-size-min: var(--font-size-small);--avatar-status-size: max(var(--avatar-status-size-orbital), var(--avatar-status-size-min));box-sizing:border-box;position:absolute;inset-inline-end:0;inset-block-end:0;height:var(--avatar-status-size);width:var(--avatar-status-size);line-height:1;font-size:calc(var(--avatar-status-size) / 1.2);background-color:var(--color-main-background);background-repeat:no-repeat;background-size:var(--avatar-status-size);background-position:center;border-radius:50%;display:flex;align-items:center;justify-content:center}.acli:hover .avatardiv .avatardiv__user-status[data-v-72a1eed6]{border-color:var(--color-background-hover);background-color:var(--color-background-hover)}.acli.active .avatardiv .avatardiv__user-status[data-v-72a1eed6]{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}.avatardiv .avatardiv__user-status--icon[data-v-72a1eed6]{border:none;background-color:transparent}.avatardiv .popovermenu-wrapper[data-v-72a1eed6]{position:relative;display:inline-block}.avatar-class-icon[data-v-72a1eed6]{display:block;border-radius:calc(var(--avatar-size) / 2);background-color:var(--color-background-darker);height:100%}.material-design-icon[data-v-45238efd]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.mention-bubble--primary .mention-bubble__content[data-v-45238efd]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.mention-bubble__wrapper[data-v-45238efd]{position:relative;max-width:150px;height:18px;vertical-align:text-bottom;display:inline-flex;align-items:center}.mention-bubble__content[data-v-45238efd]{display:inline-flex;overflow:hidden;align-items:center;max-width:100%;height:20px;-webkit-user-select:none;user-select:none;padding-inline:2px 6px;border-radius:10px;background-color:var(--color-background-dark)}.mention-bubble__icon[data-v-45238efd]{position:relative;width:16px;height:16px;border-radius:8px;background-color:var(--color-background-darker);background-repeat:no-repeat;background-position:center;background-size:12px}.mention-bubble__icon--with-avatar[data-v-45238efd]{color:inherit;background-size:cover}.mention-bubble__title[data-v-45238efd]{overflow:hidden;margin-inline-start:2px;white-space:nowrap;text-overflow:ellipsis}.mention-bubble__title[data-v-45238efd]:before{content:attr(title)}.mention-bubble__select[data-v-45238efd]{position:absolute;z-index:-1;inset-inline-start:-100vw;width:1px;height:1px;overflow:hidden}.material-design-icon[data-v-881a79fb]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-status-icon[data-v-881a79fb]{--user-status-color-online: #2D7B41;--user-status-color-busy: #DB0606;--user-status-color-away: #C88800;--user-status-color-offline: #6B6B6B;display:flex;justify-content:center;align-items:center}.user-status-icon--invisible[data-v-881a79fb]{filter:var(--background-invert-if-dark)}.user-status-icon[data-v-881a79fb] svg{width:100%;height:100%}.material-design-icon[data-v-6c2daf4e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-6c2daf4e]:hover,li.action.active[data-v-6c2daf4e]{border-radius:6px;padding:0}li.action[data-v-6c2daf4e]:hover{background-color:var(--color-background-hover)}.action--disabled[data-v-6c2daf4e]{pointer-events:none;opacity:.5}.action--disabled[data-v-6c2daf4e]:hover,.action--disabled[data-v-6c2daf4e]:focus{cursor:default;opacity:.5}.action--disabled[data-v-6c2daf4e] *{opacity:1!important}.action-button[data-v-6c2daf4e]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-button>span[data-v-6c2daf4e]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-6c2daf4e]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-6c2daf4e] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-6c2daf4e] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-6c2daf4e],.action-button__longtext[data-v-6c2daf4e]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-6c2daf4e]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-6c2daf4e]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-button__description[data-v-6c2daf4e]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-button__menu-icon[data-v-6c2daf4e],.action-button__pressed-icon[data-v-6c2daf4e]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action-button[data-v-6c2daf4e] *{cursor:pointer}.material-design-icon[data-v-32f01b7a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-32f01b7a]:hover,li.action.active[data-v-32f01b7a]{border-radius:6px;padding:0}li.action[data-v-32f01b7a]:hover{background-color:var(--color-background-hover)}.action-link[data-v-32f01b7a]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-link>span[data-v-32f01b7a]{cursor:pointer;white-space:nowrap}.action-link__icon[data-v-32f01b7a]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-link[data-v-32f01b7a] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-link[data-v-32f01b7a] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-link__longtext-wrapper[data-v-32f01b7a],.action-link__longtext[data-v-32f01b7a]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-link__longtext[data-v-32f01b7a]{cursor:pointer;white-space:pre-wrap!important}.action-link__name[data-v-32f01b7a]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-link__description[data-v-32f01b7a]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-link__menu-icon[data-v-32f01b7a]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.material-design-icon[data-v-87267750]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-87267750]:hover,li.action.active[data-v-87267750]{border-radius:6px;padding:0}li.action[data-v-87267750]:hover{background-color:var(--color-background-hover)}.action-router[data-v-87267750]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-router>span[data-v-87267750]{cursor:pointer;white-space:nowrap}.action-router__icon[data-v-87267750]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-router[data-v-87267750] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-router[data-v-87267750] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-router__longtext-wrapper[data-v-87267750],.action-router__longtext[data-v-87267750]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-router__longtext[data-v-87267750]{cursor:pointer;white-space:pre-wrap!important}.action-router__name[data-v-87267750]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-router__description[data-v-87267750]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-router__menu-icon[data-v-87267750]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action--disabled[data-v-87267750]{pointer-events:none;opacity:.5}.action--disabled[data-v-87267750]:hover,.action--disabled[data-v-87267750]:focus{cursor:default;opacity:.5}.action--disabled[data-v-87267750] *{opacity:1!important}.material-design-icon[data-v-fa684b48]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-fa684b48]:hover,li.action.active[data-v-fa684b48]{border-radius:6px;padding:0}li.action[data-v-fa684b48]:hover{background-color:var(--color-background-hover)}.action-text[data-v-fa684b48]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-text>span[data-v-fa684b48]{cursor:pointer;white-space:nowrap}.action-text__icon[data-v-fa684b48]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-text[data-v-fa684b48] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-text[data-v-fa684b48] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-text__longtext-wrapper[data-v-fa684b48],.action-text__longtext[data-v-fa684b48]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-text__longtext[data-v-fa684b48]{cursor:pointer;white-space:pre-wrap!important}.action-text__name[data-v-fa684b48]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-text__description[data-v-fa684b48]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-text__menu-icon[data-v-fa684b48]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action--disabled[data-v-fa684b48]{pointer-events:none;opacity:.5}.action--disabled[data-v-fa684b48]:hover,.action--disabled[data-v-fa684b48]:focus{cursor:default;opacity:.5}.action--disabled[data-v-fa684b48] *{opacity:1!important}.action-text[data-v-fa684b48],.action-text span[data-v-fa684b48]{cursor:default}.material-design-icon[data-v-9cde5a6a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widgets--list[data-v-9cde5a6a]{width:100%;min-height:var(--default-clickable-area)}.material-design-icon[data-v-a47e4ba7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.rich-text--wrapper[data-v-a47e4ba7]{overflow-wrap:break-word;line-height:1.5}.rich-text--wrapper .rich-text--fallback[data-v-a47e4ba7],.rich-text--wrapper .rich-text-component[data-v-a47e4ba7]{display:inline}.rich-text--wrapper .rich-text--external-link[data-v-a47e4ba7]{text-decoration:underline}.rich-text--wrapper .rich-text--external-link[data-v-a47e4ba7]:after{content:" ↗"}.rich-text--wrapper-markdown[data-v-a47e4ba7]{tab-size:4}.rich-text--wrapper-markdown[data-v-a47e4ba7]>:first-child,.rich-text--wrapper-markdown div[data-v-a47e4ba7]>:first-child,.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7]>:first-child{margin-top:0!important}.rich-text--wrapper-markdown[data-v-a47e4ba7]>:last-child,.rich-text--wrapper-markdown[data-v-a47e4ba7]>*:has(+.rich-text--reference-widget),.rich-text--wrapper-markdown div[data-v-a47e4ba7]>:last-child,.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7]>:last-child{margin-block-end:0!important}.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7]{padding-inline-start:13px;border-inline-start:2px solid var(--color-border-dark);color:var(--color-text-maxcontrast)}.rich-text--wrapper-markdown h1[data-v-a47e4ba7],.rich-text--wrapper-markdown h2[data-v-a47e4ba7],.rich-text--wrapper-markdown h3[data-v-a47e4ba7],.rich-text--wrapper-markdown h4[data-v-a47e4ba7],.rich-text--wrapper-markdown h5[data-v-a47e4ba7],.rich-text--wrapper-markdown h6[data-v-a47e4ba7],.rich-text--wrapper-markdown p[data-v-a47e4ba7],.rich-text--wrapper-markdown ul[data-v-a47e4ba7],.rich-text--wrapper-markdown ol[data-v-a47e4ba7],.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7],.rich-text--wrapper-markdown pre[data-v-a47e4ba7]{margin-top:0;margin-block-end:1em}.rich-text--wrapper-markdown h1[data-v-a47e4ba7],.rich-text--wrapper-markdown h2[data-v-a47e4ba7],.rich-text--wrapper-markdown h3[data-v-a47e4ba7],.rich-text--wrapper-markdown h4[data-v-a47e4ba7],.rich-text--wrapper-markdown h5[data-v-a47e4ba7],.rich-text--wrapper-markdown h6[data-v-a47e4ba7]{font-weight:700}.rich-text--wrapper-markdown h4[data-v-a47e4ba7]{font-size:20px}.rich-text--wrapper-markdown h5[data-v-a47e4ba7]{font-size:18px}.rich-text--wrapper-markdown h6[data-v-a47e4ba7]{font-size:15px}.rich-text--wrapper-markdown ul[data-v-a47e4ba7],.rich-text--wrapper-markdown ol[data-v-a47e4ba7]{padding-inline-start:4ch}.rich-text--wrapper-markdown ul[data-v-a47e4ba7]{list-style-type:disc}.rich-text--wrapper-markdown ul.contains-task-list[data-v-a47e4ba7]{list-style-type:none;padding:0}.rich-text--wrapper-markdown li.task-list-item>ul[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>ol[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>li[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>blockquote[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>pre[data-v-a47e4ba7]{margin-inline-start:15px;margin-block-end:0}.rich-text--wrapper-markdown pre[data-v-a47e4ba7]{direction:ltr}.rich-text--wrapper-markdown table[data-v-a47e4ba7]{border-collapse:collapse;border:2px solid var(--color-border-maxcontrast)}.rich-text--wrapper-markdown table th[data-v-a47e4ba7],.rich-text--wrapper-markdown table td[data-v-a47e4ba7]{padding:var(--default-grid-baseline);border:1px solid var(--color-border-maxcontrast)}.rich-text--wrapper-markdown table th[data-v-a47e4ba7]:first-child,.rich-text--wrapper-markdown table td[data-v-a47e4ba7]:first-child{border-inline-start:0}.rich-text--wrapper-markdown table th[data-v-a47e4ba7]:last-child,.rich-text--wrapper-markdown table td[data-v-a47e4ba7]:last-child{border-inline-end:0}.rich-text--wrapper-markdown table tr:first-child th[data-v-a47e4ba7]{border-top:0}.rich-text--wrapper-markdown table tr:last-child td[data-v-a47e4ba7]{border-block-end:0}.rich-text--wrapper-markdown .rich-text__code-block[data-v-a47e4ba7]:has(.hljs){color:var(--hljs-color);background:var(--hljs-background-color)}.rich-text--wrapper-markdown .hljs-doctag[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-keyword[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-meta .hljs-keyword[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-template-tag[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-template-variable[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-type[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-variable.language_[data-v-a47e4ba7]{color:var(--hljs-syntax-keyword-color)}.rich-text--wrapper-markdown .hljs-title[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-title.class_[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-title.class_.inherited__[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-title.function_[data-v-a47e4ba7]{color:var(--hljs-syntax-entity-color)}.rich-text--wrapper-markdown .hljs-attr[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-attribute[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-literal[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-meta[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-number[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-operator[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-variable[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-attr[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-class[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-id[data-v-a47e4ba7]{color:var(--hljs-syntax-constant-color)}.rich-text--wrapper-markdown .hljs-regexp[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-string[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-meta .hljs-string[data-v-a47e4ba7]{color:var(--hljs-syntax-string-color)}.rich-text--wrapper-markdown .hljs-built_in[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-symbol[data-v-a47e4ba7]{color:var(--hljs-syntax-variable-color)}.rich-text--wrapper-markdown .hljs-comment[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-code[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-formula[data-v-a47e4ba7]{color:var(--hljs-syntax-comment-color)}.rich-text--wrapper-markdown .hljs-name[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-quote[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-tag[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-pseudo[data-v-a47e4ba7]{color:var(--hljs-syntax-entity-tag-color)}.rich-text--wrapper-markdown .hljs-subst[data-v-a47e4ba7]{color:var(--hljs-syntax-storage-modifier-import-color)}.rich-text--wrapper-markdown .hljs-section[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-heading-color);font-weight:700}.rich-text--wrapper-markdown .hljs-bullet[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-list-color)}.rich-text--wrapper-markdown .hljs-emphasis[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-italic-color);font-style:italic}.rich-text--wrapper-markdown .hljs-strong[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-bold-color);font-weight:700}.rich-text--wrapper-markdown .hljs-addition[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-inserted-color);background-color:var(--hljs-syntax-markup-inserted-background-color)}.rich-text--wrapper-markdown .hljs-deletion[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-deleted-color);background-color:var(--hljs-syntax-markup-deleted-background-color)}a[data-v-a47e4ba7]:not(.rich-text--component){text-decoration:underline}@media(prefers-color-scheme:light){.rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #24292e);--hljs-background-color: var(--color-background-dark, #ffffff);--hljs-syntax-keyword-color: #d73a49;--hljs-syntax-entity-color: #6f42c1;--hljs-syntax-constant-color: #005cc5;--hljs-syntax-string-color: #032f62;--hljs-syntax-variable-color: #e36209;--hljs-syntax-comment-color: #6a737d;--hljs-syntax-entity-tag-color: #22863a;--hljs-syntax-storage-modifier-import-color: #24292e;--hljs-syntax-markup-heading-color: #005cc5;--hljs-syntax-markup-list-color: #735c0f;--hljs-syntax-markup-italic-color: #24292e;--hljs-syntax-markup-bold-color: #24292e;--hljs-syntax-markup-inserted-color: #22863a;--hljs-syntax-markup-inserted-background-color: #f0fff4;--hljs-syntax-markup-deleted-color: #b31d28;--hljs-syntax-markup-deleted-background-color: #ffeef0}[data-theme-dark] .rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #c9d1d9);--hljs-background-color: var(--color-background-dark, #0d1117);--hljs-syntax-keyword-color: #ff7b72;--hljs-syntax-entity-color: #d2a8ff;--hljs-syntax-constant-color: #79c0ff;--hljs-syntax-string-color: #a5d6ff;--hljs-syntax-variable-color: #ffa657;--hljs-syntax-comment-color: #8b949e;--hljs-syntax-entity-tag-color: #7ee787;--hljs-syntax-storage-modifier-import-color: #c9d1d9;--hljs-syntax-markup-heading-color: #1f6feb;--hljs-syntax-markup-list-color: #f2cc60;--hljs-syntax-markup-italic-color: #c9d1d9;--hljs-syntax-markup-bold-color: #c9d1d9;--hljs-syntax-markup-inserted-color: #aff5b4;--hljs-syntax-markup-inserted-background-color: #033a16;--hljs-syntax-markup-deleted-color: #ffdcd7;--hljs-syntax-markup-deleted-background-color: #67060c}}@media(prefers-color-scheme:dark){.rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #c9d1d9);--hljs-background-color: var(--color-background-dark, #0d1117);--hljs-syntax-keyword-color: #ff7b72;--hljs-syntax-entity-color: #d2a8ff;--hljs-syntax-constant-color: #79c0ff;--hljs-syntax-string-color: #a5d6ff;--hljs-syntax-variable-color: #ffa657;--hljs-syntax-comment-color: #8b949e;--hljs-syntax-entity-tag-color: #7ee787;--hljs-syntax-storage-modifier-import-color: #c9d1d9;--hljs-syntax-markup-heading-color: #1f6feb;--hljs-syntax-markup-list-color: #f2cc60;--hljs-syntax-markup-italic-color: #c9d1d9;--hljs-syntax-markup-bold-color: #c9d1d9;--hljs-syntax-markup-inserted-color: #aff5b4;--hljs-syntax-markup-inserted-background-color: #033a16;--hljs-syntax-markup-deleted-color: #ffdcd7;--hljs-syntax-markup-deleted-background-color: #67060c}[data-theme-light] .rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #24292e);--hljs-background-color: var(--color-background-dark, #ffffff);--hljs-syntax-keyword-color: #d73a49;--hljs-syntax-entity-color: #6f42c1;--hljs-syntax-constant-color: #005cc5;--hljs-syntax-string-color: #032f62;--hljs-syntax-variable-color: #e36209;--hljs-syntax-comment-color: #6a737d;--hljs-syntax-entity-tag-color: #22863a;--hljs-syntax-storage-modifier-import-color: #24292e;--hljs-syntax-markup-heading-color: #005cc5;--hljs-syntax-markup-list-color: #735c0f;--hljs-syntax-markup-italic-color: #24292e;--hljs-syntax-markup-bold-color: #24292e;--hljs-syntax-markup-inserted-color: #22863a;--hljs-syntax-markup-inserted-background-color: #f0fff4;--hljs-syntax-markup-deleted-color: #b31d28;--hljs-syntax-markup-deleted-background-color: #ffeef0}}.rich-text__code-block[data-v-a47e4ba7]{position:relative;padding-inline-end:calc(var(--clickable-area-small) + var(--default-grid-baseline))}.rich-text__code-block pre[data-v-a47e4ba7]{width:100%;overflow-x:auto}.rich-text__code-block .rich-text__code-block-button[data-v-a47e4ba7]{position:absolute;top:var(--default-grid-baseline);inset-inline-end:var(--default-grid-baseline);opacity:0}.rich-text__code-block:hover .rich-text__code-block-button[data-v-a47e4ba7],.rich-text__code-block:focus-within .rich-text__code-block-button[data-v-a47e4ba7],.rich-text__code-block .rich-text__code-block-button[data-v-a47e4ba7]:focus{opacity:1}.material-design-icon[data-v-e408867a],.material-design-icon[data-v-ea81d3af]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.provider-list[data-v-ea81d3af]{width:100%;min-height:400px;padding:0 16px 16px;display:flex;flex-direction:column}.provider-list--select[data-v-ea81d3af]{width:100%}.provider-list--select .provider[data-v-ea81d3af]{display:flex;align-items:center;height:28px;overflow:hidden}.provider-list--select .provider .link-icon[data-v-ea81d3af]{margin-inline-end:8px}.provider-list--select .provider .provider-icon[data-v-ea81d3af]{width:20px;height:20px;object-fit:contain;margin-inline-end:8px;filter:var(--background-invert-if-dark)}.provider-list--select .provider .option-text[data-v-ea81d3af]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-8ce33442]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widget-custom[data-v-8ce33442]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-container);background-color:transparent;display:flex}.widget-custom.full-width[data-v-8ce33442]{width:var(--widget-full-width, 100%)!important;inset-inline-start:calc((var(--widget-full-width, 100%) - 100%) / 2 * -1);position:relative}.widget-access[data-v-8ce33442]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-container);background-color:transparent;display:flex;padding:calc(var(--default-grid-baseline, 4px) * 3)}.widget-default[data-v-8ce33442]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-container);background-color:transparent;display:flex}.widget-default--compact[data-v-8ce33442]{flex-direction:column}.widget-default--compact .widget-default--image[data-v-8ce33442]{width:100%;height:150px}.widget-default--compact .widget-default--details[data-v-8ce33442]{width:100%;padding-top:calc(var(--default-grid-baseline, 4px) * 2);padding-bottom:calc(var(--default-grid-baseline, 4px) * 2)}.widget-default--compact .widget-default--description[data-v-8ce33442]{display:none}.widget-default--image[data-v-8ce33442]{width:40%;background-position:center;background-size:cover;background-repeat:no-repeat}.widget-default--name[data-v-8ce33442]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.widget-default--details[data-v-8ce33442]{padding:calc(var(--default-grid-baseline, 4px) * 3);width:60%}.widget-default--details p[data-v-8ce33442]{margin:0;padding:0}.widget-default--description[data-v-8ce33442]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical}.widget-default--link[data-v-8ce33442]{color:var(--color-text-maxcontrast);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggle-interactive[data-v-8ce33442]{position:relative}.toggle-interactive .toggle-interactive--button[data-v-8ce33442]{position:absolute;bottom:var(--default-grid-baseline);inset-inline-end:var(--default-grid-baseline);z-index:10000}.material-design-icon[data-v-918730b9]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.raw-link[data-v-918730b9]{width:100%;min-height:350px;display:flex;flex-direction:column;overflow-y:auto;padding:0 16px 16px}.raw-link .input-wrapper[data-v-918730b9]{width:100%}.raw-link .reference-widget[data-v-918730b9]{display:flex}.raw-link--empty-content .provider-icon[data-v-918730b9]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.raw-link--input[data-v-918730b9]{width:99%}.material-design-icon[data-v-059edcfb]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.result[data-v-059edcfb]{display:flex;align-items:center;height:var(--default-clickable-area);overflow:hidden}.result--icon-class[data-v-059edcfb],.result--image[data-v-059edcfb]{width:40px;min-width:40px;height:40px;object-fit:contain}.result--icon-class.rounded[data-v-059edcfb],.result--image.rounded[data-v-059edcfb]{border-radius:50%}.result--content[data-v-059edcfb]{display:flex;flex-direction:column;padding-inline-start:10px;overflow:hidden}.result--content--name[data-v-059edcfb],.result--content--subline[data-v-059edcfb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-af9d145f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.smart-picker-search[data-v-af9d145f]{width:100%;display:flex;flex-direction:column;padding:0 16px 16px}.smart-picker-search.with-empty-content[data-v-af9d145f]{min-height:400px}.smart-picker-search .provider-icon[data-v-af9d145f]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.smart-picker-search--select[data-v-af9d145f],.smart-picker-search--select .search-result[data-v-af9d145f]{width:100%}.smart-picker-search--select .group-name-icon[data-v-af9d145f],.smart-picker-search--select .option-simple-icon[data-v-af9d145f]{width:20px;height:20px;margin:0 20px 0 10px}.smart-picker-search--select .custom-option[data-v-af9d145f]{height:var(--default-clickable-area);display:flex;align-items:center;overflow:hidden}.smart-picker-search--select .option-text[data-v-af9d145f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-5e2e9195]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker[data-v-5e2e9195],.reference-picker .custom-element-wrapper[data-v-5e2e9195],.reference-picker .custom-element-wrapper .custom-element[data-v-5e2e9195]{display:flex;overflow-y:auto;width:100%}.material-design-icon[data-v-bf0a25ee]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker-modal[data-v-bf0a25ee] .modal-container{display:flex!important}.reference-picker-modal--content[data-v-bf0a25ee]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}.reference-picker-modal--content .close-button[data-v-bf0a25ee],.reference-picker-modal--content .back-button[data-v-bf0a25ee]{position:absolute;top:4px}.reference-picker-modal--content .back-button[data-v-bf0a25ee]{inset-inline-start:4px}.reference-picker-modal--content .close-button[data-v-bf0a25ee]{inset-inline-end:4px}.reference-picker-modal--content>h2[data-v-bf0a25ee]{display:flex;margin:12px 0 20px}.reference-picker-modal--content>h2 .icon[data-v-bf0a25ee]{margin-inline-end:8px}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}body{--vs-search-input-color: var(--color-main-text);--vs-search-input-bg: var(--color-main-background);--vs-search-input-placeholder-color: var(--color-text-maxcontrast);--vs-font-size: var(--default-font-size);--vs-line-height: var(--default-line-height);--vs-state-disabled-bg: var(--color-background-hover);--vs-state-disabled-color: var(--color-text-maxcontrast);--vs-state-disabled-controls-color: var(--color-text-maxcontrast);--vs-state-disabled-cursor: not-allowed;--vs-disabled-bg: var(--color-background-hover);--vs-disabled-color: var(--color-text-maxcontrast);--vs-disabled-cursor: not-allowed;--vs-border-color: var(--color-border-maxcontrast);--vs-border-width: var(--border-width-input, 2px) !important;--vs-border-style: solid;--vs-border-radius: var(--border-radius-element);--vs-controls-color: var(--color-main-text);--vs-selected-bg: var(--color-background-hover);--vs-selected-color: var(--color-main-text);--vs-selected-border-color: var(--vs-border-color);--vs-selected-border-style: var(--vs-border-style);--vs-selected-border-width: var(--vs-border-width);--vs-dropdown-bg: var(--color-main-background);--vs-dropdown-color: var(--color-main-text);--vs-dropdown-z-index: 9999;--vs-dropdown-box-shadow: 0px 2px 2px 0px var(--color-box-shadow);--vs-dropdown-option-padding: 8px 20px;--vs-dropdown-option--active-bg: var(--color-background-hover);--vs-dropdown-option--active-color: var(--color-main-text);--vs-dropdown-option--kb-focus-box-shadow: inset 0px 0px 0px 2px var(--vs-border-color);--vs-dropdown-option--deselect-bg: var(--color-error);--vs-dropdown-option--deselect-color: #fff;--vs-transition-duration: 0ms;--vs-actions-padding: 0 8px 0 4px}.v-select.select{min-height:calc(var(--default-clickable-area) - 2 * var(--border-width-input));min-width:260px;margin:0 0 var(--default-grid-baseline)}.v-select.select.vs--open{--vs-border-width: var(--border-width-input-focused, 2px)}.v-select.select .select__label{display:block;margin-bottom:2px}.v-select.select .vs__selected{height:calc(var(--default-clickable-area) - 2 * var(--vs-border-width) - var(--default-grid-baseline));margin:calc(var(--default-grid-baseline) / 2);padding-block:0;padding-inline:12px 8px;border-radius:16px!important;background:var(--color-primary-element-light);border:none}.v-select.select.vs--open .vs__selected:first-of-type{margin-inline-start:calc(var(--default-grid-baseline) / 2 - (var(--border-width-input-focused, 2px) - var(--border-width-input, 2px)))!important}.v-select.select .vs__search{text-overflow:ellipsis;color:var(--color-main-text);min-height:unset!important;height:calc(var(--default-clickable-area) - 2 * var(--vs-border-width))!important}.v-select.select .vs__search::placeholder{color:var(--color-text-maxcontrast)}.v-select.select .vs__search,.v-select.select .vs__search:focus{margin:0}.v-select.select .vs__dropdown-toggle{position:relative;max-height:100px;padding:var(--border-width-input);overflow-y:auto}.v-select.select .vs__actions{position:-webkit-sticky;position:sticky;top:0}.v-select.select .vs__clear{margin-inline-end:2px}.v-select.select.vs--open .vs__dropdown-toggle{border-color:var(--color-main-text);border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;border-style:solid;border-width:var(--border-width-input-focused);outline:2px solid var(--color-main-background);padding:0}.v-select.select:not(.vs--disabled,.vs--open) .vs__dropdown-toggle:active,.v-select.select:not(.vs--disabled,.vs--open) .vs__dropdown-toggle:focus-within{outline:2px solid var(--color-main-background);border-color:var(--color-main-text)}.v-select.select.vs--disabled .vs__search,.v-select.select.vs--disabled .vs__selected{color:var(--color-text-maxcontrast)}.v-select.select.vs--disabled .vs__clear,.v-select.select.vs--disabled .vs__deselect{display:none}.v-select.select--no-wrap .vs__selected-options{flex-wrap:nowrap;overflow:auto;min-width:unset}.v-select.select--no-wrap .vs__selected-options .vs__selected{min-width:unset}.v-select.select--drop-up.vs--open .vs__dropdown-toggle{border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);border-top-color:transparent;border-bottom-color:var(--color-main-text)}.v-select.select .vs__selected-options{min-height:calc(var(--default-clickable-area) - 2 * var(--vs-border-width))}.v-select.select .vs__selected-options .vs__selected~.vs__search[readonly]{position:absolute}.v-select.select .vs__selected-options{padding:0 5px}.v-select.select.vs--single.vs--loading .vs__selected,.v-select.select.vs--single.vs--open .vs__selected{max-width:100%;opacity:1;color:var(--color-text-maxcontrast)}.v-select.select.vs--single .vs__selected-options{flex-wrap:nowrap}.v-select.select.vs--single .vs__selected{background:unset!important}.vs__dropdown-toggle{--input-border-box-shadow-light: 0 -1px var(--vs-border-color), 0 0 0 1px color-mix(in srgb, var(--vs-border-color), 65% transparent);--input-border-box-shadow-dark: 0 1px var(--vs-border-color), 0 0 0 1px color-mix(in srgb, var(--vs-border-color), 65% transparent);--input-border-box-shadow: var(--input-border-box-shadow-light);border:none;border-radius:var(--border-radius-element);box-shadow:var(--input-border-box-shadow)}.vs__dropdown-toggle:hover:not([disabled]){box-shadow:0 0 0 1px var(--vs-border-color)}@media(prefers-color-scheme:dark){.vs__dropdown-toggle .vs__dropdown-toggle{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .vs__dropdown-toggle{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .vs__dropdown-toggle{--input-border-box-shadow: var(--input-border-box-shadow-light)}.select--legacy .vs__dropdown-toggle{box-shadow:0 0 0 1px var(--vs-border-color)}.select--legacy .vs__dropdown-toggle:hover:not([disabled]){box-shadow:0 0 0 2px var(--vs-border-color)}.vs__dropdown-menu{border-width:var(--border-width-input-focused)!important;border-color:var(--color-main-text)!important;outline:none!important;box-shadow:-2px 0 0 var(--color-main-background),0 2px 0 var(--color-main-background),2px 0 0 var(--color-main-background),!important;padding:4px!important}.vs__dropdown-menu--floating{width:max-content;position:absolute;top:0;inset-inline-start:0}.vs__dropdown-menu--floating-placement-top{border-radius:var(--vs-border-radius) var(--vs-border-radius) 0 0!important;border-top-style:var(--vs-border-style)!important;border-bottom-style:none!important;box-shadow:0 -2px 0 var(--color-main-background),-2px 0 0 var(--color-main-background),2px 0 0 var(--color-main-background),!important}.vs__dropdown-menu .vs__dropdown-option{border-radius:6px!important}.vs__dropdown-menu .vs__no-options{color:var(--color-text-maxcontrast)!important}.material-design-icon[data-v-a612f185]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.name-parts[data-v-a612f185]{display:flex;max-width:100%;cursor:inherit}.name-parts__first[data-v-a612f185]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-a612f185],.name-parts__last[data-v-a612f185]{white-space:pre;cursor:inherit}.name-parts__first strong[data-v-a612f185],.name-parts__last strong[data-v-a612f185]{font-weight:700}:root{--vs-colors--lightest: rgba(60, 60, 60, .26);--vs-colors--light: rgba(60, 60, 60, .5);--vs-colors--dark: #333;--vs-colors--darkest: rgba(0, 0, 0, .15);--vs-search-input-color: inherit;--vs-search-input-placeholder-color: inherit;--vs-font-size: 1rem;--vs-line-height: 1.4;--vs-state-disabled-bg: rgb(248, 248, 248);--vs-state-disabled-color: var(--vs-colors--light);--vs-state-disabled-controls-color: var(--vs-colors--light);--vs-state-disabled-cursor: not-allowed;--vs-border-color: var(--vs-colors--lightest);--vs-border-width: 1px;--vs-border-style: solid;--vs-border-radius: 4px;--vs-actions-padding: 4px 6px 0 3px;--vs-controls-color: var(--vs-colors--light);--vs-controls-size: 1;--vs-controls--deselect-text-shadow: 0 1px 0 #fff;--vs-selected-bg: #f0f0f0;--vs-selected-color: var(--vs-colors--dark);--vs-selected-border-color: var(--vs-border-color);--vs-selected-border-style: var(--vs-border-style);--vs-selected-border-width: var(--vs-border-width);--vs-dropdown-bg: #fff;--vs-dropdown-color: inherit;--vs-dropdown-z-index: 1000;--vs-dropdown-min-width: 160px;--vs-dropdown-max-height: 350px;--vs-dropdown-box-shadow: 0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg: #000;--vs-dropdown-option-color: var(--vs-dropdown-color);--vs-dropdown-option-padding: 3px 20px;--vs-dropdown-option--active-bg: #5897fb;--vs-dropdown-option--active-color: #fff;--vs-dropdown-option--deselect-bg: #fb5858;--vs-dropdown-option--deselect-color: #fff;--vs-transition-timing-function: cubic-bezier(1, -.115, .975, .855);--vs-transition-duration: .15s}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function: cubic-bezier(1, .5, .8, 1);--vs-transition-duration: .15s}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg: var(--vs-state-disabled-bg);--vs-disabled-color: var(--vs-state-disabled-color);--vs-disabled-cursor: var(--vs-state-disabled-cursor)}.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__clear,.vs--disabled .vs__search,.vs--disabled .vs__selected,.vs--disabled .vs__open-indicator{cursor:var(--vs-disabled-cursor);background-color:var(--vs-disabled-bg)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;padding:0 0 4px;background:none;border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:flex;align-items:center;padding:var(--vs-actions-padding)}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.vs__dropdown-menu{display:block;box-sizing:border-box;position:absolute;top:calc(100% - var(--vs-border-width));left:0;z-index:var(--vs-dropdown-z-index);padding:5px 0;margin:0;width:100%;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);overflow-y:auto;box-shadow:var(--vs-dropdown-box-shadow);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-top-style:none;border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);text-align:left;list-style:none;background:var(--vs-dropdown-bg);color:var(--vs-dropdown-color)}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:var(--vs-dropdown-option-padding);clear:both;color:var(--vs-dropdown-option-color);white-space:nowrap;cursor:pointer}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{display:flex;align-items:center;background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);line-height:var(--vs-line-height);margin:4px 2px 0;padding:0 .25em;z-index:0}.vs__deselect{display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:var(--vs-controls-color);text-shadow:var(--vs-controls--deselect-text-shadow)}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected,.vs--single.vs--loading .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration,.vs__search::-ms-clear{display:none}.vs__search,.vs__search:focus{color:var(--vs-search-input-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:var(--vs-line-height);font-size:var(--vs-font-size);border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0;padding:0 7px;background:none;box-shadow:none;width:0;max-width:100%;flex-grow:1;z-index:1}.vs__search::-moz-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid rgba(100,100,100,.1);border-right:.9em solid rgba(100,100,100,.1);border-bottom:.9em solid rgba(100,100,100,.1);border-left:.9em solid rgba(60,60,60,.45);transform:translateZ(0) scale(var(--vs-controls--spinner-size, var(--vs-controls-size)));-webkit-animation:vSelectSpinner 1.1s infinite linear;animation:vSelectSpinner 1.1s infinite linear;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em;transform:scale(var(--vs-controls--spinner-size, var(--vs-controls-size)))}.vs--loading .vs__spinner{opacity:1}.material-design-icon[data-v-bfba6aa6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}/*!\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */.input-field[data-v-bfba6aa6]{--input-border-color: var(--color-border-maxcontrast);--input-border-radius: var(--border-radius-element);--input-padding-start: var(--border-radius-element);--input-padding-end: var(--border-radius-element);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-bfba6aa6]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-bfba6aa6]{margin-block-start:0}.input-field--leading-icon[data-v-bfba6aa6]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-bfba6aa6]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-bfba6aa6]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-bfba6aa6]{height:var(--default-clickable-area);padding:var(--border-width-input-focused, 2px);position:relative}.input-field__input[data-v-bfba6aa6]{--input-border-box-shadow-light: 0 -1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow-dark: 0 1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow: var(--input-border-box-shadow-light);border:none;border-radius:var(--border-radius-element);box-shadow:var(--input-border-box-shadow)}.input-field__input[data-v-bfba6aa6]:hover:not([disabled]){box-shadow:0 0 0 1px var(--input-border-color)}@media(prefers-color-scheme:dark){.input-field__input .input-field__input[data-v-bfba6aa6]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .input-field__input[data-v-bfba6aa6]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .input-field__input[data-v-bfba6aa6]{--input-border-box-shadow: var(--input-border-box-shadow-light)}.input-field--legacy .input-field__input[data-v-bfba6aa6]{box-shadow:0 0 0 1px var(--input-border-color)}.input-field--legacy .input-field__input[data-v-bfba6aa6]:hover:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color)}.input-field__input[data-v-bfba6aa6]:focus-within:not([disabled]),.input-field__input[data-v-bfba6aa6]:active:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color),0 0 0 4px var(--color-main-background)!important}.input-field__input[data-v-bfba6aa6]{background-color:var(--color-main-background);color:var(--color-main-text);border-radius:var(--input-border-radius);cursor:pointer;-webkit-appearance:textfield!important;-moz-appearance:textfield!important;appearance:textfield!important;font-size:var(--default-font-size);text-overflow:ellipsis;padding-block:0;padding-inline:var(--input-padding-start) var(--input-padding-end);height:100%!important;min-height:unset;width:100%}.input-field__input[data-v-bfba6aa6]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-bfba6aa6]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-bfba6aa6]::-webkit-search-decoration,.input-field__input[data-v-bfba6aa6]::-webkit-search-results-button,.input-field__input[data-v-bfba6aa6]::-webkit-search-results-decoration,.input-field__input[data-v-bfba6aa6]::-ms-clear{display:none}.input-field__input[data-v-bfba6aa6]:active:not([disabled]),.input-field__input[data-v-bfba6aa6]:focus:not([disabled]){--input-border-color: var(--color-main-text)}.input-field__input:focus+.input-field__label[data-v-bfba6aa6],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-bfba6aa6]{color:var(--color-main-text)}.input-field__input[data-v-bfba6aa6]:focus{cursor:text}.input-field__input[data-v-bfba6aa6]:disabled{cursor:default}.input-field__input[data-v-bfba6aa6]:focus-visible{box-shadow:unset!important}.input-field:not(.input-field--label-outside) .input-field__input[data-v-bfba6aa6]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-bfba6aa6]{--input-label-font-size: var(--default-font-size);font-size:var(--input-label-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;inset-block-start:calc((var(--default-clickable-area) - 1lh) / 2);inset-inline:var(--border-width-input-focused, 2px);color:var(--color-text-maxcontrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick),background-color var(--animation-quick) var(--animation-slow)}.input-field__input:focus+.input-field__label[data-v-bfba6aa6],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-bfba6aa6]{--input-label-font-size: 13px;line-height:1.5;inset-block-start:calc(-1.5 * var(--input-label-font-size) / 2);font-weight:500;border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0;background-color:var(--color-main-background);padding-inline:var(--default-grid-baseline);margin-inline:calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick)}.input-field__icon[data-v-bfba6aa6]{position:absolute;height:var(--default-clickable-area);width:var(--default-clickable-area);display:flex;align-items:center;justify-content:center;opacity:.7;inset-block-end:0}.input-field__icon--leading[data-v-bfba6aa6]{inset-inline-start:0px}.input-field__icon--trailing[data-v-bfba6aa6]{inset-inline-end:0px}.input-field__trailing-button[data-v-bfba6aa6]{--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px))}.input-field__trailing-button.button-vue[data-v-bfba6aa6]{position:absolute;top:var(--border-width-input-focused, 2px);inset-inline-end:var(--border-width-input-focused, 2px)}.input-field__trailing-button.button-vue[data-v-bfba6aa6]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-bfba6aa6]{padding-block:4px;padding-inline:var(--border-radius-element);display:flex;align-items:center;color:var(--color-text-maxcontrast);word-break:break-all}.input-field__helper-text-message__icon[data-v-bfba6aa6]{margin-inline-end:8px}.input-field--error .input-field__helper-text-message[data-v-bfba6aa6],.input-field--error .input-field__icon--trailing[data-v-bfba6aa6]{color:var(--color-text-error, var(--color-error))}.input-field--error .input-field__input[data-v-bfba6aa6],.input-field__input[data-v-bfba6aa6]:user-invalid{--input-border-color: var(--color-border-error, var(--color-error)) !important}.input-field--error .input-field__input[data-v-bfba6aa6]:focus-visible,.input-field__input[data-v-bfba6aa6]:user-invalid:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field--success .input-field__input[data-v-bfba6aa6]{--input-border-color: var(--color-border-success, var(--color-success)) !important}.input-field--success .input-field__input[data-v-bfba6aa6]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field--success .input-field__helper-text-message__icon[data-v-bfba6aa6]{color:var(--color-border-success, var(--color-success))}.material-design-icon[data-v-9189d023]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-bubble__wrapper[data-v-9189d023]{display:inline-block;vertical-align:middle;min-width:0;max-width:100%}.user-bubble__content[data-v-9189d023]{display:inline-flex;max-width:100%;background-color:var(--color-background-dark)}.user-bubble__content--primary[data-v-9189d023]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.user-bubble__content[data-v-9189d023]>:last-child{padding-inline-end:8px}.user-bubble__avatar[data-v-9189d023]{align-self:center}.user-bubble__name[data-v-9189d023]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-bubble__name[data-v-9189d023],.user-bubble__secondary[data-v-9189d023]{padding-block:0;padding-inline:4px 0}.rich-text-file .icon-home[data-v-fba0cce2]{display:inline-block;vertical-align:text-top}strong[data-v-3da0c816]{padding:2px 5px;border-radius:3px;background-color:var(--color-background-darker);font-weight:400}.comments-activity[data-v-bbf97b44]{display:flex;flex-wrap:nowrap;align-items:flex-start;width:100%;min-height:32px;padding:8px 0;gap:8px}.comments-activity__icon[data-v-bbf97b44]{flex:0 0 fit-content}.comments-activity__content[data-v-bbf97b44]{flex:1 0;display:flex;flex-direction:column;width:100%}.comments-activity__title[data-v-bbf97b44]{color:var(--color-text-maxcontrast);display:flex;flex-direction:row;justify-content:space-between}.comments-activity__date[data-v-bbf97b44]{color:var(--color-text-maxcontrast)}.activity-entry[data-v-4fe29a40]{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;height:var(--height);min-height:32px;padding:8px 0}.activity-entry__icon[data-v-4fe29a40]{opacity:.5;margin-top:2px}.activity-entry .avatardiv[data-v-4fe29a40]{box-sizing:content-box!important;background-color:unset!important}.activity-entry .avatardiv[data-v-4fe29a40] img{border-radius:0!important}.activity-entry__content[data-v-4fe29a40]{display:flex;flex-basis:min-content;flex-direction:column;flex-grow:1;overflow-wrap:break-word;white-space:pre-wrap;word-break:break-word;overflow:hidden}.activity-entry__content__subject[data-v-4fe29a40]{padding:0 5px}.activity-entry__content__message[data-v-4fe29a40]{color:var(--color-text-lighter)}.activity-entry__content[data-v-4fe29a40] a{font-weight:700}.activity-entry__content[data-v-4fe29a40] a:hover{opacity:.7;text-decoration:underline}.activity-entry__actions[data-v-4fe29a40]{inset-block:-8px}.activity-entry__date[data-v-4fe29a40]{color:var(--color-text-lighter);margin-left:5px;flex-shrink:0}.activity-entry__preview-wrapper[data-v-4fe29a40]{flex:0 0 100%;gap:12px;padding-inline-start:24px;display:flex;flex-wrap:wrap}.activity-entry__preview[data-v-4fe29a40]:hover{opacity:.75}.activity-entry__preview-image[data-v-4fe29a40]{height:50px;width:50px}.activity-entry__preview-image[data-v-4fe29a40]:not(.activity-entry__preview-mimetype){border:2px solid var(--color-border);border-radius:var(--border-radius-large)}.activity-entry__preview-image[data-v-4fe29a40]:not(.activity-entry__preview-mimetype):hover{border-color:var(--color-main-text);outline:2px solid var(--color-main-background)}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})(); -var R_=Object.defineProperty,U_=Object.defineProperties;var V_=Object.getOwnPropertyDescriptors;var Dn=Object.getOwnPropertySymbols;var Yi=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable;var Pa=(u,t,n)=>t in u?R_(u,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[t]=n,j=(u,t)=>{for(var n in t||(t={}))Yi.call(t,n)&&Pa(u,n,t[n]);if(Dn)for(var n of Dn(t))vi.call(t,n)&&Pa(u,n,t[n]);return u},bu=(u,t)=>U_(u,V_(t));var pn=(u,t)=>{var n={};for(var a in u)Yi.call(u,a)&&t.indexOf(a)<0&&(n[a]=u[a]);if(u!=null&&Dn)for(var a of Dn(u))t.indexOf(a)<0&&vi.call(u,a)&&(n[a]=u[a]);return n};var Ee=(u,t,n)=>Pa(u,typeof t!="symbol"?t+"":t,n);import{D as Fn,E as br,F as J_,G as $_,H as dr,C as q_,_ as Me,e as Cn,I as xi,J as G_,l as i0,r as te,K as Z_,a as cu,z as l4,L as K_,M as Q_,g as x0,h as ot,O as X_,P as Tn,b as wr,Q as um,k as em,N as Tr,w as tm,R as nm,S as am,T as rm,U as sm,s as im,V as om,W as lm,X as dm,Y as cm,Z as d4,$ as _m,a0 as mm,a1 as hm,a2 as fm,a3 as Dm,a4 as pm,a5 as ym,y as Em,a6 as gm,f as we}from"./_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs";import{d as Ae,r as cr,i as ht,h as gu,c as G,u as wu,w as be,a3 as Mm,F as c4,G as Am,B as Sr,n as _r,E as Sn,a4 as _4,s as E0,D as Cu,X as Cm,b as w0,a5 as Lm,a6 as Bm,e as I,f as S,M as _u,j as yu,x as H0,t as tu,P as mr,Q as m4,z as Tu,A as Ju,k as au,g as ku,L as We,O as j0,m as ne,q as $u,a7 as h4,l as Ln,a1 as bi,N as ft,U as Nt,K as s0,a8 as wi,_ as xe,$ as je,a9 as km,v as Ti,y as Si,a0 as Fm,S as Hi,J as Ym,W as vm,V as Yn,H as xm}from"./translation-DoG5ZELJ-BlIPWNCX.chunk.mjs";import{g as bm,b as Rt,u as Ia,s as Wa,l as f4}from"./logger-DO04_iVC.chunk.mjs";import{_ as wm}from"./preload-helper-B9rAsR6N.chunk.mjs";import{g as Hr}from"./_commonjsHelpers-Cqwegr3R.chunk.mjs";function ji(u,t){return(u.aliasOf||u)===(t.aliasOf||t)}function Tm(u,t){if(Object.keys(u).length!==Object.keys(t).length)return!1;for(var n in u)if(!Sm(u[n],t[n]))return!1;return!0}function Sm(u,t){return Fn(u)?Oi(u,t):Fn(t)?Oi(t,u):(u&&u.valueOf())===(t&&t.valueOf())}function Oi(u,t){return Fn(t)?u.length===t.length&&u.every((n,a)=>n===t[a]):u.length===1&&u[0]===t}function Pi(u){const t=ht(br),n=ht(J_),a=G(()=>{const _=wu(u.to);return t.resolve(_)}),i=G(()=>{const{matched:_}=a.value,{length:m}=_,D=_[m-1],f=n.matched;if(!D||!f.length)return-1;const y=f.findIndex(ji.bind(null,D));if(y>-1)return y;const p=Ii(_[m-2]);return m>1&&Ii(D)===p&&f[f.length-1].path!==p?f.findIndex(ji.bind(null,_[m-2])):y}),s=G(()=>i.value>-1&&Pm(n.params,a.value.params)),o=G(()=>i.value>-1&&i.value===n.matched.length-1&&Tm(n.params,a.value.params));function c(_={}){if(Om(_)){const m=t[wu(u.replace)?"replace":"push"](wu(u.to)).catch($_);return u.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>m),m}return Promise.resolve()}return{route:a,href:G(()=>a.value.href),isActive:s,isExactActive:o,navigate:c}}function Hm(u){return u.length===1?u[0]:u}const jm=Ae({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Pi,setup(u,{slots:t}){const n=cr(Pi(u)),{options:a}=ht(br),i=G(()=>({[Wi(u.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[Wi(u.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&Hm(t.default(n));return u.custom?s:gu("a",{"aria-current":n.isExactActive?u.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),jr=jm;function Om(u){if(!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)&&!u.defaultPrevented&&!(u.button!==void 0&&u.button!==0)){if(u.currentTarget&&u.currentTarget.getAttribute){const t=u.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return u.preventDefault&&u.preventDefault(),!0}}function Pm(u,t){for(const n in t){const a=t[n],i=u[n];if(typeof a=="string"){if(a!==i)return!1}else if(!Fn(i)||i.length!==a.length||a.some((s,o)=>s.valueOf()!==i[o].valueOf()))return!1}return!0}function Ii(u){return u?u.aliasOf?u.aliasOf.path:u.path:""}const Wi=(u,t,n)=>{var a;return(a=u!=null?u:t)!=null?a:n};function Hn(u,t){return c4()?(Am(u,t),!0):!1}const za=new WeakMap,Im=(...u)=>{var t;const n=u[0],a=(t=Sn())===null||t===void 0?void 0:t.proxy,i=a!=null?a:c4();if(i==null&&!_4())throw new Error("injectLocal must be called in setup");return i&&za.has(i)&&n in za.get(i)?za.get(i)[n]:ht(...u)},D4=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const p4=u=>u!=null,Wm=Object.prototype.toString,zm=u=>Wm.call(u)==="[object Object]",b0=()=>{};function zi(u){return u.endsWith("rem")?Number.parseFloat(u)*16:Number.parseFloat(u)}function ct(u){return Array.isArray(u)?u:[u]}function Nm(u){return Sn()}function Rm(u){if(!D4)return u;let t=0,n,a;const i=()=>{t-=1,a&&t<=0&&(a.stop(),n=void 0,a=void 0)};return((...s)=>(t+=1,a||(a=Mm(!0),n=a.run(()=>u(...s))),Hn(i),n))}function Um(u,t=!0,n){Nm()?Sr(u,n):t?u():_r(u)}function Vm(u,t,n){return be(u,t,bu(j({},n),{immediate:!0}))}const P0=D4?window:void 0;function Iu(u){var t;const n=Cu(u);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function T0(...u){const t=(a,i,s,o)=>(a.addEventListener(i,s,o),()=>a.removeEventListener(i,s,o)),n=G(()=>{const a=ct(Cu(u[0])).filter(i=>i!=null);return a.every(i=>typeof i!="string")?a:void 0});return Vm(()=>{var a,i;return[(a=(i=n.value)===null||i===void 0?void 0:i.map(s=>Iu(s)))!==null&&a!==void 0?a:[P0].filter(s=>s!=null),ct(Cu(n.value?u[1]:u[0])),ct(wu(n.value?u[2]:u[1])),Cu(n.value?u[3]:u[2])]},([a,i,s,o],c,_)=>{if(!(a!=null&&a.length)||!(i!=null&&i.length)||!(s!=null&&s.length))return;const m=zm(o)?j({},o):o,D=a.flatMap(f=>i.flatMap(y=>s.map(p=>t(f,y,p,m))));_(()=>{D.forEach(f=>f())})},{flush:"post"})}function fM(u,t,n={}){const{window:a=P0,ignore:i=[],capture:s=!0,detectIframe:o=!1,controls:c=!1}=n;if(!a)return c?{stop:b0,cancel:b0,trigger:b0}:b0;let _=!0;const m=M=>Cu(i).some(C=>{if(typeof C=="string")return Array.from(a.document.querySelectorAll(C)).some(v=>v===M.target||M.composedPath().includes(v));{const v=Iu(C);return v&&(M.target===v||M.composedPath().includes(v))}});function D(M){const C=Cu(M);return C&&C.$.subTree.shapeFlag===16}function f(M,C){const v=Cu(M),b=v.$.subTree&&v.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(P=>P.el===C.target||C.composedPath().includes(P.el))}const y=M=>{const C=Iu(u);if(M.target!=null&&!(!(C instanceof Element)&&D(u)&&f(u,M))&&!(!C||C===M.target||M.composedPath().includes(C))){if("detail"in M&&M.detail===0&&(_=!m(M)),!_){_=!0;return}t(M)}};let p=!1;const E=[T0(a,"click",M=>{p||(p=!0,setTimeout(()=>{p=!1},0),y(M))},{passive:!0,capture:s}),T0(a,"pointerdown",M=>{const C=Iu(u);_=!m(M)&&!!(C&&!M.composedPath().includes(C))},{passive:!0}),o&&T0(a,"blur",M=>{setTimeout(()=>{var C;const v=Iu(u);((C=a.document.activeElement)===null||C===void 0?void 0:C.tagName)==="IFRAME"&&!(v!=null&&v.contains(a.document.activeElement))&&t(M)},0)},{passive:!0})].filter(Boolean),B=()=>E.forEach(M=>M());return c?{stop:B,cancel:()=>{_=!1},trigger:M=>{_=!0,y(M),_=!1}}:B}function Jm(){const u=E0(!1),t=Sn();return t&&Sr(()=>{u.value=!0},t),u}function jn(u){const t=Jm();return G(()=>(t.value,!!u()))}function $m(u,t,n={}){const f=n,{window:a=P0}=f,i=pn(f,["window"]);let s;const o=jn(()=>a&&"MutationObserver"in a),c=()=>{s&&(s.disconnect(),s=void 0)},_=be(G(()=>{const y=ct(Cu(u)).map(Iu).filter(p4);return new Set(y)}),y=>{c(),o.value&&y.size&&(s=new MutationObserver(t),y.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),m=()=>s==null?void 0:s.takeRecords(),D=()=>{_(),c()};return Hn(D),{isSupported:o,stop:D,takeRecords:m}}const qm=Symbol("vueuse-ssr-width");function Gm(){const u=_4()?Im(qm,null):null;return typeof u=="number"?u:void 0}function Zm(u,t={}){const{window:n=P0,ssrWidth:a=Gm()}=t,i=jn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=E0(typeof a=="number"),o=E0(),c=E0(!1),_=m=>{c.value=m.matches};return Cm(()=>{if(s.value){s.value=!i.value,c.value=Cu(u).split(",").some(m=>{const D=m.includes("not all"),f=m.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=m.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||y);return f&&p&&(p=a>=zi(f[1])),y&&p&&(p=a<=zi(y[1])),D?!p:p});return}i.value&&(o.value=n.matchMedia(Cu(u)),c.value=o.value.matches)}),T0(o,"change",_,{passive:!0}),G(()=>c.value)}function Km(u){return Zm("(prefers-color-scheme: dark)",u)}function Qm(u,t,n={}){const D=n,{window:a=P0}=D,i=pn(D,["window"]);let s;const o=jn(()=>a&&"ResizeObserver"in a),c=()=>{s&&(s.disconnect(),s=void 0)},_=be(G(()=>{const f=Cu(u);return Array.isArray(f)?f.map(y=>Iu(y)):[Iu(f)]}),f=>{if(c(),o.value&&a){s=new ResizeObserver(t);for(const y of f)y&&s.observe(y,i)}},{immediate:!0,flush:"post"}),m=()=>{c(),_()};return Hn(m),{isSupported:o,stop:m}}function Xm(u,t={width:0,height:0},n={}){const{window:a=P0,box:i="content-box"}=n,s=G(()=>{var f;return(f=Iu(u))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),o=E0(t.width),c=E0(t.height),{stop:_}=Qm(u,([f])=>{const y=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(a&&s.value){const p=Iu(u);if(p){const E=p.getBoundingClientRect();o.value=E.width,c.value=E.height}}else if(y){const p=ct(y);o.value=p.reduce((E,{inlineSize:B})=>E+B,0),c.value=p.reduce((E,{blockSize:B})=>E+B,0)}else o.value=f.contentRect.width,c.value=f.contentRect.height},n);Um(()=>{const f=Iu(u);f&&(o.value="offsetWidth"in f?f.offsetWidth:t.width,c.value="offsetHeight"in f?f.offsetHeight:t.height)});const m=be(()=>Iu(u),f=>{o.value=f?t.width:0,c.value=f?t.height:0});function D(){_(),m()}return{width:o,height:c,stop:D}}function u6(u,t,n={}){const{root:a,rootMargin:i="0px",threshold:s=0,window:o=P0,immediate:c=!0}=n,_=jn(()=>o&&"IntersectionObserver"in o),m=G(()=>ct(Cu(u)).map(Iu).filter(p4));let D=b0;const f=E0(c),y=_.value?be(()=>[m.value,Iu(a),f.value],([E,B])=>{if(D(),!f.value||!E.length)return;const M=new IntersectionObserver(t,{root:Iu(B),rootMargin:i,threshold:s});E.forEach(C=>C&&M.observe(C)),D=()=>{M.disconnect(),D=b0}},{immediate:c,flush:"post"}):b0,p=()=>{D(),y(),f.value=!1};return Hn(p),{isSupported:_,isActive:f,pause(){D(),f.value=!1},resume(){f.value=!0},stop:p}}function DM(u,t={}){const{threshold:n=50,onSwipe:a,onSwipeEnd:i,onSwipeStart:s,passive:o=!0}=t,c=cr({x:0,y:0}),_=cr({x:0,y:0}),m=G(()=>c.x-_.x),D=G(()=>c.y-_.y),{max:f,abs:y}=Math,p=G(()=>f(y(m.value),y(D.value))>=n),E=E0(!1),B=G(()=>p.value?y(m.value)>y(D.value)?m.value>0?"left":"right":D.value>0?"up":"down":"none"),M=Y=>[Y.touches[0].clientX,Y.touches[0].clientY],C=(Y,V)=>{c.x=Y,c.y=V},v=(Y,V)=>{_.x=Y,_.y=V},b={passive:o,capture:!o},P=Y=>{E.value&&(i==null||i(Y,B.value)),E.value=!1},q=[T0(u,"touchstart",Y=>{if(Y.touches.length!==1)return;const[V,O]=M(Y);C(V,O),v(V,O),s==null||s(Y)},b),T0(u,"touchmove",Y=>{if(Y.touches.length!==1)return;const[V,O]=M(Y);v(V,O),b.capture&&!b.passive&&Math.abs(m.value)>Math.abs(D.value)&&Y.preventDefault(),!E.value&&p.value&&(E.value=!0),E.value&&(a==null||a(Y))},b),T0(u,["touchend","touchcancel"],P,b)];return{isSwiping:E,direction:B,coordsStart:c,coordsEnd:_,lengthX:m,lengthY:D,stop:()=>q.forEach(Y=>Y())}}var pM="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",yM="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",y4="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",e6="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",EM="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",gM="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",t6="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",MM="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",AM="M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z";const n6=Symbol.for("nc:theme:enforced");function a6(u){const t=G(()=>{var s;return(s=Cu(u))!=null?s:document.body}),n=w0(dr(t.value)),a=Km();function i(){n.value=dr(t.value)}return $m(t,i,{attributes:!0}),be(t,i),be(a,i,{immediate:!0}),Lm(n)}const r6=Rm(()=>a6());function s6(){const u=r6(),t=ht(n6,void 0);return G(()=>t!=null&&t.value?t.value==="dark":u.value)}function i6(u){throw new Error('Could not dynamically require "'+u+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var hr={exports:{}},o6=hr.exports,Ni;function l6(){return Ni||(Ni=1,(function(u,t){(function(n,a){u.exports=a()})(o6,(function(){var n;function a(){return n.apply(null,arguments)}function i(e){n=e}function s(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function o(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function c(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function _(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var r;for(r in e)if(c(e,r))return!1;return!0}function m(e){return e===void 0}function D(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function f(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function y(e,r){var l=[],d,h=e.length;for(d=0;d>>0,d;for(d=0;d0)for(l=0;l=0;return(g?l?"+":"":"-")+Math.pow(10,Math.max(0,h)).toString().substr(1)+d}var ju=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Wu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},xu={};function R(e,r,l,d){var h=d;typeof d=="string"&&(h=function(){return this[d]()}),e&&(xu[e]=h),r&&(xu[r[0]]=function(){return A(h.apply(this,arguments),r[1],r[2])}),l&&(xu[l]=function(){return this.localeData().ordinal(h.apply(this,arguments),e)})}function Fu(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function M0(e){var r=e.match(ju),l,d;for(l=0,d=r.length;l=0&&Wu.test(e);)e=e.replace(Wu,d),Wu.lastIndex=0,l-=1;return e}var l0={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W0(e){var r=this._longDateFormat[e],l=this._longDateFormat[e.toUpperCase()];return r||!l?r:(this._longDateFormat[e]=l.match(ju).map(function(d){return d==="MMMM"||d==="MM"||d==="DD"||d==="dddd"?d.slice(1):d}).join(""),this._longDateFormat[e])}var Vn="Invalid date";function Jn(){return this._invalidDate}var $n="%d",Gt=/\d{1,2}/;function Zt(e){return this._ordinal.replace("%d",e)}var Kt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function qn(e,r,l,d){var h=this._relativeTime[l];return N(h)?h(e,r,l,d):h.replace(/%d/i,e)}function Qt(e,r){var l=this._relativeTime[e>0?"future":"past"];return N(l)?l(r):l.replace(/%s/i,r)}var yt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function zu(e){return typeof e=="string"?yt[e]||yt[e.toLowerCase()]:void 0}function Et(e){var r={},l,d;for(d in e)c(e,d)&&(l=zu(d),l&&(r[l]=e[d]));return r}var Gn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Zn(e){var r=[],l;for(l in e)c(e,l)&&r.push({unit:l,priority:Gn[l]});return r.sort(function(d,h){return d.priority-h.priority}),r}var Xt=/\d/,x=/\d\d/,H=/\d{3}/,K=/\d{4}/,ou=/[+-]?\d{6}/,Z=/\d\d?/,Qu=/\d\d\d\d?/,Re=/\d\d\d\d\d\d?/,Nu=/\d{1,3}/,Ue=/\d{1,4}/,Te=/[+-]?\d{1,6}/,Lu=/\d+/,Le=/[+-]?\d+/,Be=/Z|[+-]\d\d:?\d\d/gi,un=/Z|[+-]\d\d(?::?\d\d)?/gi,xl=/[+-]?\d+(\.\d{1,3})?/,gt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,z0=/^[1-9]\d?/,Kn=/^([1-9]\d|\d)/,en;en={};function z(e,r,l){en[e]=N(r)?r:function(d,h){return d&&l?l:r}}function bl(e,r){return c(en,e)?en[e](r._strict,r._locale):new RegExp(wl(e))}function wl(e){return Ve(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(r,l,d,h,g){return l||d||h||g}))}function Ve(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ru(e){var r=+e,l=0;return r!==0&&isFinite(r)&&(l=re(r)),l}var Qn={};function mu(e,r){var l,d=r,h;for(typeof e=="string"&&(e=[e]),D(r)&&(d=function(g,F){F[r]=ru(g)}),h=e.length,l=0;l68?1900:2e3)};var is=N0("FullYear",!0);function jl(){return tn(this.year())}function N0(e,r){return function(l){return l!=null?(os(this,e,l),a.updateOffset(this,r),this):Ct(this,e)}}function Ct(e,r){if(!e.isValid())return NaN;var l=e._d,d=e._isUTC;switch(r){case"Milliseconds":return d?l.getUTCMilliseconds():l.getMilliseconds();case"Seconds":return d?l.getUTCSeconds():l.getSeconds();case"Minutes":return d?l.getUTCMinutes():l.getMinutes();case"Hours":return d?l.getUTCHours():l.getHours();case"Date":return d?l.getUTCDate():l.getDate();case"Day":return d?l.getUTCDay():l.getDay();case"Month":return d?l.getUTCMonth():l.getMonth();case"FullYear":return d?l.getUTCFullYear():l.getFullYear();default:return NaN}}function os(e,r,l){var d,h,g,F,W;if(!(!e.isValid()||isNaN(l))){switch(d=e._d,h=e._isUTC,r){case"Milliseconds":return void(h?d.setUTCMilliseconds(l):d.setMilliseconds(l));case"Seconds":return void(h?d.setUTCSeconds(l):d.setSeconds(l));case"Minutes":return void(h?d.setUTCMinutes(l):d.setMinutes(l));case"Hours":return void(h?d.setUTCHours(l):d.setHours(l));case"Date":return void(h?d.setUTCDate(l):d.setDate(l));case"FullYear":break;default:return}g=l,F=e.month(),W=e.date(),W=W===29&&F===1&&!tn(g)?28:W,h?d.setUTCFullYear(g,F,W):d.setFullYear(g,F,W)}}function Ol(e){return e=zu(e),N(this[e])?this[e]():this}function Pl(e,r){if(typeof e=="object"){e=Et(e);var l=Zn(e),d,h=l.length;for(d=0;d=0?(W=new Date(e+400,r,l,d,h,g,F),isFinite(W.getFullYear())&&W.setFullYear(e)):W=new Date(e,r,l,d,h,g,F),W}function Lt(e){var r,l;return e<100&&e>=0?(l=Array.prototype.slice.call(arguments),l[0]=e+400,r=new Date(Date.UTC.apply(null,l)),isFinite(r.getUTCFullYear())&&r.setUTCFullYear(e)):r=new Date(Date.UTC.apply(null,arguments)),r}function nn(e,r,l){var d=7+r-l,h=(7+Lt(e,0,d).getUTCDay()-r)%7;return-h+d-1}function hs(e,r,l,d,h){var g=(7+l-d)%7,F=nn(e,d,h),W=1+7*(r-1)+g+F,eu,su;return W<=0?(eu=e-1,su=At(eu)+W):W>At(e)?(eu=e+1,su=W-At(e)):(eu=e,su=W),{year:eu,dayOfYear:su}}function Bt(e,r,l){var d=nn(e.year(),r,l),h=Math.floor((e.dayOfYear()-d-1)/7)+1,g,F;return h<1?(F=e.year()-1,g=h+qe(F,r,l)):h>qe(e.year(),r,l)?(g=h-qe(e.year(),r,l),F=e.year()+1):(F=e.year(),g=h),{week:g,year:F}}function qe(e,r,l){var d=nn(e,r,l),h=nn(e+1,r,l);return(At(e)-d+h)/7}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),z("w",Z,z0),z("ww",Z,x),z("W",Z,z0),z("WW",Z,x),Mt(["w","ww","W","WW"],function(e,r,l,d){r[d.substr(0,1)]=ru(e)});function Kl(e){return Bt(e,this._week.dow,this._week.doy).week}var Ql={dow:0,doy:6};function Xl(){return this._week.dow}function ud(){return this._week.doy}function ed(e){var r=this.localeData().week(this);return e==null?r:this.add((e-r)*7,"d")}function td(e){var r=Bt(this,1,4).week;return e==null?r:this.add((e-r)*7,"d")}R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),z("d",Z),z("e",Z),z("E",Z),z("dd",function(e,r){return r.weekdaysMinRegex(e)}),z("ddd",function(e,r){return r.weekdaysShortRegex(e)}),z("dddd",function(e,r){return r.weekdaysRegex(e)}),Mt(["dd","ddd","dddd"],function(e,r,l,d){var h=l._locale.weekdaysParse(e,d,l._strict);h!=null?r.d=h:M(l).invalidWeekday=e}),Mt(["d","e","E"],function(e,r,l,d){r[d]=ru(e)});function nd(e,r){return typeof e!="string"?e:isNaN(e)?(e=r.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ad(e,r){return typeof e=="string"?r.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ua(e,r){return e.slice(r,7).concat(e.slice(0,r))}var rd="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),fs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),sd="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),id=gt,od=gt,ld=gt;function dd(e,r){var l=s(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(r)?"format":"standalone"];return e===!0?ua(l,this._week.dow):e?l[e.day()]:l}function cd(e){return e===!0?ua(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function _d(e){return e===!0?ua(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function md(e,r,l){var d,h,g,F=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)g=E([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(g,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(g,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(g,"").toLocaleLowerCase();return l?r==="dddd"?(h=Au.call(this._weekdaysParse,F),h!==-1?h:null):r==="ddd"?(h=Au.call(this._shortWeekdaysParse,F),h!==-1?h:null):(h=Au.call(this._minWeekdaysParse,F),h!==-1?h:null):r==="dddd"?(h=Au.call(this._weekdaysParse,F),h!==-1||(h=Au.call(this._shortWeekdaysParse,F),h!==-1)?h:(h=Au.call(this._minWeekdaysParse,F),h!==-1?h:null)):r==="ddd"?(h=Au.call(this._shortWeekdaysParse,F),h!==-1||(h=Au.call(this._weekdaysParse,F),h!==-1)?h:(h=Au.call(this._minWeekdaysParse,F),h!==-1?h:null)):(h=Au.call(this._minWeekdaysParse,F),h!==-1||(h=Au.call(this._weekdaysParse,F),h!==-1)?h:(h=Au.call(this._shortWeekdaysParse,F),h!==-1?h:null))}function hd(e,r,l){var d,h,g;if(this._weekdaysParseExact)return md.call(this,e,r,l);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++)if(h=E([2e3,1]).day(d),l&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(h,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(h,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(h,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[d]||(g="^"+this.weekdays(h,"")+"|^"+this.weekdaysShort(h,"")+"|^"+this.weekdaysMin(h,""),this._weekdaysParse[d]=new RegExp(g.replace(".",""),"i")),l&&r==="dddd"&&this._fullWeekdaysParse[d].test(e)||l&&r==="ddd"&&this._shortWeekdaysParse[d].test(e)||l&&r==="dd"&&this._minWeekdaysParse[d].test(e)||!l&&this._weekdaysParse[d].test(e))return d}function fd(e){if(!this.isValid())return e!=null?this:NaN;var r=Ct(this,"Day");return e!=null?(e=nd(e,this.localeData()),this.add(e-r,"d")):r}function Dd(e){if(!this.isValid())return e!=null?this:NaN;var r=(this.day()+7-this.localeData()._week.dow)%7;return e==null?r:this.add(e-r,"d")}function pd(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var r=ad(e,this.localeData());return this.day(this.day()%7?r:r-7)}else return this.day()||7}function yd(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ea.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=id),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ed(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ea.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=od),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gd(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ea.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ld),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ea(){function e(Ou,t0){return t0.length-Ou.length}var r=[],l=[],d=[],h=[],g,F,W,eu,su;for(g=0;g<7;g++)F=E([2e3,1]).day(g),W=Ve(this.weekdaysMin(F,"")),eu=Ve(this.weekdaysShort(F,"")),su=Ve(this.weekdays(F,"")),r.push(W),l.push(eu),d.push(su),h.push(W),h.push(eu),h.push(su);r.sort(e),l.sort(e),d.sort(e),h.sort(e),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ta(){return this.hours()%12||12}function Md(){return this.hours()||24}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,ta),R("k",["kk",2],0,Md),R("hmm",0,0,function(){return""+ta.apply(this)+A(this.minutes(),2)}),R("hmmss",0,0,function(){return""+ta.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+A(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)});function Ds(e,r){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),r)})}Ds("a",!0),Ds("A",!1);function ps(e,r){return r._meridiemParse}z("a",ps),z("A",ps),z("H",Z,Kn),z("h",Z,z0),z("k",Z,z0),z("HH",Z,x),z("hh",Z,x),z("kk",Z,x),z("hmm",Qu),z("hmmss",Re),z("Hmm",Qu),z("Hmmss",Re),mu(["H","HH"],Yu),mu(["k","kk"],function(e,r,l){var d=ru(e);r[Yu]=d===24?0:d}),mu(["a","A"],function(e,r,l){l._isPm=l._locale.isPM(e),l._meridiem=e}),mu(["h","hh"],function(e,r,l){r[Yu]=ru(e),M(l).bigHour=!0}),mu("hmm",function(e,r,l){var d=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d)),M(l).bigHour=!0}),mu("hmmss",function(e,r,l){var d=e.length-4,h=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d,2)),r[$e]=ru(e.substr(h)),M(l).bigHour=!0}),mu("Hmm",function(e,r,l){var d=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d))}),mu("Hmmss",function(e,r,l){var d=e.length-4,h=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d,2)),r[$e]=ru(e.substr(h))});function Ad(e){return(e+"").toLowerCase().charAt(0)==="p"}var Cd=/[ap]\.?m?\.?/i,Ld=N0("Hours",!0);function Bd(e,r,l){return e>11?l?"pm":"PM":l?"am":"AM"}var ys={calendar:Zu,longDateFormat:l0,invalidDate:Vn,ordinal:$n,dayOfMonthOrdinalParse:Gt,relativeTime:Kt,months:Wl,monthsShort:ls,week:Ql,weekdays:rd,weekdaysMin:sd,weekdaysShort:fs,meridiemParse:Cd},pu={},kt={},Ft;function kd(e,r){var l,d=Math.min(e.length,r.length);for(l=0;l0;){if(h=an(g.slice(0,l).join("-")),h)return h;if(d&&d.length>=l&&kd(g,d)>=l-1)break;l--}r++}return Ft}function Yd(e){return!!(e&&e.match("^[^/\\\\]*$"))}function an(e){var r=null,l;if(pu[e]===void 0&&u&&u.exports&&Yd(e))try{r=Ft._abbr,l=i6,l("./locale/"+e),d0(r)}catch(d){pu[e]=null}return pu[e]}function d0(e,r){var l;return e&&(m(r)?l=Ge(e):l=na(e,r),l?Ft=l:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ft._abbr}function na(e,r){if(r!==null){var l,d=ys;if(r.abbr=e,pu[e]!=null)$("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),d=pu[e]._config;else if(r.parentLocale!=null)if(pu[r.parentLocale]!=null)d=pu[r.parentLocale]._config;else if(l=an(r.parentLocale),l!=null)d=l._config;else return kt[r.parentLocale]||(kt[r.parentLocale]=[]),kt[r.parentLocale].push({name:e,config:r}),null;return pu[e]=new Eu(X(d,r)),kt[e]&&kt[e].forEach(function(h){na(h.name,h.config)}),d0(e),pu[e]}else return delete pu[e],null}function vd(e,r){if(r!=null){var l,d,h=ys;pu[e]!=null&&pu[e].parentLocale!=null?pu[e].set(X(pu[e]._config,r)):(d=an(e),d!=null&&(h=d._config),r=X(h,r),d==null&&(r.abbr=e),l=new Eu(r),l.parentLocale=pu[e],pu[e]=l),d0(e)}else pu[e]!=null&&(pu[e].parentLocale!=null?(pu[e]=pu[e].parentLocale,e===d0()&&d0(e)):pu[e]!=null&&delete pu[e]);return pu[e]}function Ge(e){var r;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ft;if(!s(e)){if(r=an(e),r)return r;e=[e]}return Fd(e)}function xd(){return Mu(pu)}function aa(e){var r,l=e._a;return l&&M(e).overflow===-2&&(r=l[Je]<0||l[Je]>11?Je:l[Se]<1||l[Se]>Xn(l[Su],l[Je])?Se:l[Yu]<0||l[Yu]>24||l[Yu]===24&&(l[ke]!==0||l[$e]!==0||l[A0]!==0)?Yu:l[ke]<0||l[ke]>59?ke:l[$e]<0||l[$e]>59?$e:l[A0]<0||l[A0]>999?A0:-1,M(e)._overflowDayOfYear&&(rSe)&&(r=Se),M(e)._overflowWeeks&&r===-1&&(r=Sl),M(e)._overflowWeekday&&r===-1&&(r=Hl),M(e).overflow=r),e}var bd=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wd=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Td=/Z|[+-]\d\d(?::?\d\d)?/,rn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ra=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Sd=/^\/?Date\((-?\d+)/i,Hd=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,jd={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gs(e){var r,l,d=e._i,h=bd.exec(d)||wd.exec(d),g,F,W,eu,su=rn.length,Ou=ra.length;if(h){for(M(e).iso=!0,r=0,l=su;rAt(F)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),l=Lt(F,0,e._dayOfYear),e._a[Je]=l.getUTCMonth(),e._a[Se]=l.getUTCDate()),r=0;r<3&&e._a[r]==null;++r)e._a[r]=d[r]=h[r];for(;r<7;r++)e._a[r]=d[r]=e._a[r]==null?r===2?1:0:e._a[r];e._a[Yu]===24&&e._a[ke]===0&&e._a[$e]===0&&e._a[A0]===0&&(e._nextDay=!0,e._a[Yu]=0),e._d=(e._useUTC?Lt:Zl).apply(null,d),g=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Yu]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==g&&(M(e).weekdayMismatch=!0)}}function Ud(e){var r,l,d,h,g,F,W,eu,su;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(g=1,F=4,l=R0(r.GG,e._a[Su],Bt(Du(),1,4).year),d=R0(r.W,1),h=R0(r.E,1),(h<1||h>7)&&(eu=!0)):(g=e._locale._week.dow,F=e._locale._week.doy,su=Bt(Du(),g,F),l=R0(r.gg,e._a[Su],su.year),d=R0(r.w,su.week),r.d!=null?(h=r.d,(h<0||h>6)&&(eu=!0)):r.e!=null?(h=r.e+g,(r.e<0||r.e>6)&&(eu=!0)):h=g),d<1||d>qe(l,g,F)?M(e)._overflowWeeks=!0:eu!=null?M(e)._overflowWeekday=!0:(W=hs(l,d,h,g,F),e._a[Su]=W.year,e._dayOfYear=W.dayOfYear)}a.ISO_8601=function(){},a.RFC_2822=function(){};function ia(e){if(e._f===a.ISO_8601){gs(e);return}if(e._f===a.RFC_2822){Ms(e);return}e._a=[],M(e).empty=!0;var r=""+e._i,l,d,h,g,F,W=r.length,eu=0,su,Ou;for(h=Ne(e._f,e._locale).match(ju)||[],Ou=h.length,l=0;l0&&M(e).unusedInput.push(F),r=r.slice(r.indexOf(d)+d.length),eu+=d.length),xu[g]?(d?M(e).empty=!1:M(e).unusedTokens.push(g),Tl(g,d,e)):e._strict&&!d&&M(e).unusedTokens.push(g);M(e).charsLeftOver=W-eu,r.length>0&&M(e).unusedInput.push(r),e._a[Yu]<=12&&M(e).bigHour===!0&&e._a[Yu]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[Yu]=Vd(e._locale,e._a[Yu],e._meridiem),su=M(e).era,su!==null&&(e._a[Su]=e._locale.erasConvertYear(su,e._a[Su])),sa(e),aa(e)}function Vd(e,r,l){var d;return l==null?r:e.meridiemHour!=null?e.meridiemHour(r,l):(e.isPM!=null&&(d=e.isPM(l),d&&r<12&&(r+=12),!d&&r===12&&(r=0)),r)}function Jd(e){var r,l,d,h,g,F,W=!1,eu=e._f.length;if(eu===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(h=0;hthis?this:e:b()});function Ls(e,r){var l,d;if(r.length===1&&s(r[0])&&(r=r[0]),!r.length)return Du();for(l=r[0],d=1;dthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function mc(){if(!m(this._isDSTShifted))return this._isDSTShifted;var e={},r;return Y(e,this),e=As(e),e._a?(r=e._isUTC?E(e._a):Du(e._a),this._isDSTShifted=this.isValid()&&ac(e._a,r.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function hc(){return this.isValid()?!this._isUTC:!1}function fc(){return this.isValid()?this._isUTC:!1}function ks(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Dc=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,pc=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fe(e,r){var l=e,d=null,h,g,F;return on(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:D(e)||!isNaN(+e)?(l={},r?l[r]=+e:l.milliseconds=+e):(d=Dc.exec(e))?(h=d[1]==="-"?-1:1,l={y:0,d:ru(d[Se])*h,h:ru(d[Yu])*h,m:ru(d[ke])*h,s:ru(d[$e])*h,ms:ru(oa(d[A0]*1e3))*h}):(d=pc.exec(e))?(h=d[1]==="-"?-1:1,l={y:C0(d[2],h),M:C0(d[3],h),w:C0(d[4],h),d:C0(d[5],h),h:C0(d[6],h),m:C0(d[7],h),s:C0(d[8],h)}):l==null?l={}:typeof l=="object"&&("from"in l||"to"in l)&&(F=yc(Du(l.from),Du(l.to)),l={},l.ms=F.milliseconds,l.M=F.months),g=new sn(l),on(e)&&c(e,"_locale")&&(g._locale=e._locale),on(e)&&c(e,"_isValid")&&(g._isValid=e._isValid),g}Fe.fn=sn.prototype,Fe.invalid=nc;function C0(e,r){var l=e&&parseFloat(e.replace(",","."));return(isNaN(l)?0:l)*r}function Fs(e,r){var l={};return l.months=r.month()-e.month()+(r.year()-e.year())*12,e.clone().add(l.months,"M").isAfter(r)&&--l.months,l.milliseconds=+r-+e.clone().add(l.months,"M"),l}function yc(e,r){var l;return e.isValid()&&r.isValid()?(r=da(r,e),e.isBefore(r)?l=Fs(e,r):(l=Fs(r,e),l.milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0}}function Ys(e,r){return function(l,d){var h,g;return d!==null&&!isNaN(+d)&&($(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),g=l,l=d,d=g),h=Fe(l,d),vs(this,h,e),this}}function vs(e,r,l,d){var h=r._milliseconds,g=oa(r._days),F=oa(r._months);e.isValid()&&(d=d!=null?d:!0,F&&cs(e,Ct(e,"Month")+F*l),g&&os(e,"Date",Ct(e,"Date")+g*l),h&&e._d.setTime(e._d.valueOf()+h*l),d&&a.updateOffset(e,g||F))}var Ec=Ys(1,"add"),gc=Ys(-1,"subtract");function xs(e){return typeof e=="string"||e instanceof String}function Mc(e){return O(e)||f(e)||xs(e)||D(e)||Cc(e)||Ac(e)||e===null||e===void 0}function Ac(e){var r=o(e)&&!_(e),l=!1,d=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],h,g,F=d.length;for(h=0;hl.valueOf():l.valueOf()9999?Ku(l,r?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):N(Date.prototype.toISOString)?r?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ku(l,"Z")):Ku(l,r?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Oc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",r="",l,d,h,g;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",r="Z"),l="["+e+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",h="-MM-DD[T]HH:mm:ss.SSS",g=r+'[")]',this.format(l+d+h+g)}function Pc(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var r=Ku(this,e);return this.localeData().postformat(r)}function Ic(e,r){return this.isValid()&&(O(e)&&e.isValid()||Du(e).isValid())?Fe({to:this,from:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function Wc(e){return this.from(Du(),e)}function zc(e,r){return this.isValid()&&(O(e)&&e.isValid()||Du(e).isValid())?Fe({from:this,to:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function Nc(e){return this.to(Du(),e)}function bs(e){var r;return e===void 0?this._locale._abbr:(r=Ge(e),r!=null&&(this._locale=r),this)}var ws=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ts(){return this._locale}var dn=1e3,U0=60*dn,cn=60*U0,Ss=(365*400+97)*24*cn;function V0(e,r){return(e%r+r)%r}function Hs(e,r,l){return e<100&&e>=0?new Date(e+400,r,l)-Ss:new Date(e,r,l).valueOf()}function js(e,r,l){return e<100&&e>=0?Date.UTC(e+400,r,l)-Ss:Date.UTC(e,r,l)}function Rc(e){var r,l;if(e=zu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(l=this._isUTC?js:Hs,e){case"year":r=l(this.year(),0,1);break;case"quarter":r=l(this.year(),this.month()-this.month()%3,1);break;case"month":r=l(this.year(),this.month(),1);break;case"week":r=l(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":r=l(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":r=l(this.year(),this.month(),this.date());break;case"hour":r=this._d.valueOf(),r-=V0(r+(this._isUTC?0:this.utcOffset()*U0),cn);break;case"minute":r=this._d.valueOf(),r-=V0(r,U0);break;case"second":r=this._d.valueOf(),r-=V0(r,dn);break}return this._d.setTime(r),a.updateOffset(this,!0),this}function Uc(e){var r,l;if(e=zu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(l=this._isUTC?js:Hs,e){case"year":r=l(this.year()+1,0,1)-1;break;case"quarter":r=l(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":r=l(this.year(),this.month()+1,1)-1;break;case"week":r=l(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":r=l(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":r=l(this.year(),this.month(),this.date()+1)-1;break;case"hour":r=this._d.valueOf(),r+=cn-V0(r+(this._isUTC?0:this.utcOffset()*U0),cn)-1;break;case"minute":r=this._d.valueOf(),r+=U0-V0(r,U0)-1;break;case"second":r=this._d.valueOf(),r+=dn-V0(r,dn)-1;break}return this._d.setTime(r),a.updateOffset(this,!0),this}function Vc(){return this._d.valueOf()-(this._offset||0)*6e4}function Jc(){return Math.floor(this.valueOf()/1e3)}function $c(){return new Date(this.valueOf())}function qc(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Gc(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Zc(){return this.isValid()?this.toISOString():null}function Kc(){return v(this)}function Qc(){return p({},M(this))}function Xc(){return M(this).overflow}function u3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),z("N",_a),z("NN",_a),z("NNN",_a),z("NNNN",c3),z("NNNNN",_3),mu(["N","NN","NNN","NNNN","NNNNN"],function(e,r,l,d){var h=l._locale.erasParse(e,d,l._strict);h?M(l).era=h:M(l).invalidEra=e}),z("y",Lu),z("yy",Lu),z("yyy",Lu),z("yyyy",Lu),z("yo",m3),mu(["y","yy","yyy","yyyy"],Su),mu(["yo"],function(e,r,l,d){var h;l._locale._eraYearOrdinalRegex&&(h=e.match(l._locale._eraYearOrdinalRegex)),l._locale.eraYearOrdinalParse?r[Su]=l._locale.eraYearOrdinalParse(e,h):r[Su]=parseInt(e,10)});function e3(e,r){var l,d,h,g=this._eras||Ge("en")._eras;for(l=0,d=g.length;l=0)return g[d]}function n3(e,r){var l=e.since<=e.until?1:-1;return r===void 0?a(e.since).year():a(e.since).year()+(r-e.offset)*l}function a3(){var e,r,l,d=this.localeData().eras();for(e=0,r=d.length;eg&&(r=g),g3.call(this,e,r,l,d,h))}function g3(e,r,l,d,h){var g=hs(e,r,l,d,h),F=Lt(g.year,0,g.dayOfYear);return this.year(F.getUTCFullYear()),this.month(F.getUTCMonth()),this.date(F.getUTCDate()),this}R("Q",0,"Qo","quarter"),z("Q",Xt),mu("Q",function(e,r){r[Je]=(ru(e)-1)*3});function M3(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}R("D",["DD",2],"Do","date"),z("D",Z,z0),z("DD",Z,x),z("Do",function(e,r){return e?r._dayOfMonthOrdinalParse||r._ordinalParse:r._dayOfMonthOrdinalParseLenient}),mu(["D","DD"],Se),mu("Do",function(e,r){r[Se]=ru(e.match(Z)[0])});var Ps=N0("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),z("DDD",Nu),z("DDDD",H),mu(["DDD","DDDD"],function(e,r,l){l._dayOfYear=ru(e)});function A3(e){var r=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?r:this.add(e-r,"d")}R("m",["mm",2],0,"minute"),z("m",Z,Kn),z("mm",Z,x),mu(["m","mm"],ke);var C3=N0("Minutes",!1);R("s",["ss",2],0,"second"),z("s",Z,Kn),z("ss",Z,x),mu(["s","ss"],$e);var L3=N0("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return this.millisecond()*10}),R(0,["SSSSS",5],0,function(){return this.millisecond()*100}),R(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),R(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),R(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),R(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),z("S",Nu,Xt),z("SS",Nu,x),z("SSS",Nu,H);var c0,Is;for(c0="SSSS";c0.length<=9;c0+="S")z(c0,Lu);function B3(e,r){r[A0]=ru(("0."+e)*1e3)}for(c0="S";c0.length<=9;c0+="S")mu(c0,B3);Is=N0("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");function k3(){return this._isUTC?"UTC":""}function F3(){return this._isUTC?"Coordinated Universal Time":""}var w=V.prototype;w.add=Ec,w.calendar=kc,w.clone=Fc,w.diff=Sc,w.endOf=Uc,w.format=Pc,w.from=Ic,w.fromNow=Wc,w.to=zc,w.toNow=Nc,w.get=Ol,w.invalidAt=Xc,w.isAfter=Yc,w.isBefore=vc,w.isBetween=xc,w.isSame=bc,w.isSameOrAfter=wc,w.isSameOrBefore=Tc,w.isValid=Kc,w.lang=ws,w.locale=bs,w.localeData=Ts,w.max=Kd,w.min=Zd,w.parsingFlags=Qc,w.set=Pl,w.startOf=Rc,w.subtract=gc,w.toArray=qc,w.toObject=Gc,w.toDate=$c,w.toISOString=jc,w.inspect=Oc,typeof Symbol<"u"&&Symbol.for!=null&&(w[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),w.toJSON=Zc,w.toString=Hc,w.unix=Jc,w.valueOf=Vc,w.creationData=u3,w.eraName=a3,w.eraNarrow=r3,w.eraAbbr=s3,w.eraYear=i3,w.year=is,w.isLeapYear=jl,w.weekYear=h3,w.isoWeekYear=f3,w.quarter=w.quarters=M3,w.month=_s,w.daysInMonth=$l,w.week=w.weeks=ed,w.isoWeek=w.isoWeeks=td,w.weeksInYear=y3,w.weeksInWeekYear=E3,w.isoWeeksInYear=D3,w.isoWeeksInISOWeekYear=p3,w.date=Ps,w.day=w.days=fd,w.weekday=Dd,w.isoWeekday=pd,w.dayOfYear=A3,w.hour=w.hours=Ld,w.minute=w.minutes=C3,w.second=w.seconds=L3,w.millisecond=w.milliseconds=Is,w.utcOffset=sc,w.utc=oc,w.local=lc,w.parseZone=dc,w.hasAlignedHourOffset=cc,w.isDST=_c,w.isLocal=hc,w.isUtcOffset=fc,w.isUtc=ks,w.isUTC=ks,w.zoneAbbr=k3,w.zoneName=F3,w.dates=k("dates accessor is deprecated. Use date instead.",Ps),w.months=k("months accessor is deprecated. Use month instead",_s),w.years=k("years accessor is deprecated. Use year instead",is),w.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ic),w.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",mc);function Y3(e){return Du(e*1e3)}function v3(){return Du.apply(null,arguments).parseZone()}function Ws(e){return e}var lu=Eu.prototype;lu.calendar=Ce,lu.longDateFormat=W0,lu.invalidDate=Jn,lu.ordinal=Zt,lu.preparse=Ws,lu.postformat=Ws,lu.relativeTime=qn,lu.pastFuture=Qt,lu.set=U,lu.eras=e3,lu.erasParse=t3,lu.erasConvertYear=n3,lu.erasAbbrRegex=l3,lu.erasNameRegex=o3,lu.erasNarrowRegex=d3,lu.months=Rl,lu.monthsShort=Ul,lu.monthsParse=Jl,lu.monthsRegex=Gl,lu.monthsShortRegex=ql,lu.week=Kl,lu.firstDayOfYear=ud,lu.firstDayOfWeek=Xl,lu.weekdays=dd,lu.weekdaysMin=_d,lu.weekdaysShort=cd,lu.weekdaysParse=hd,lu.weekdaysRegex=yd,lu.weekdaysShortRegex=Ed,lu.weekdaysMinRegex=gd,lu.isPM=Ad,lu.meridiem=Bd;function mn(e,r,l,d){var h=Ge(),g=E().set(d,r);return h[l](g,e)}function zs(e,r,l){if(D(e)&&(r=e,e=void 0),e=e||"",r!=null)return mn(e,r,l,"month");var d,h=[];for(d=0;d<12;d++)h[d]=mn(e,d,l,"month");return h}function ha(e,r,l,d){typeof e=="boolean"?(D(r)&&(l=r,r=void 0),r=r||""):(r=e,l=r,e=!1,D(r)&&(l=r,r=void 0),r=r||"");var h=Ge(),g=e?h._week.dow:0,F,W=[];if(l!=null)return mn(r,(l+g)%7,d,"day");for(F=0;F<7;F++)W[F]=mn(r,(F+g)%7,d,"day");return W}function x3(e,r){return zs(e,r,"months")}function b3(e,r){return zs(e,r,"monthsShort")}function w3(e,r,l){return ha(e,r,l,"weekdays")}function T3(e,r,l){return ha(e,r,l,"weekdaysShort")}function S3(e,r,l){return ha(e,r,l,"weekdaysMin")}d0("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var r=e%10,l=ru(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l}}),a.lang=k("moment.lang is deprecated. Use moment.locale instead.",d0),a.langData=k("moment.langData is deprecated. Use moment.localeData instead.",Ge);var Ze=Math.abs;function H3(){var e=this._data;return this._milliseconds=Ze(this._milliseconds),this._days=Ze(this._days),this._months=Ze(this._months),e.milliseconds=Ze(e.milliseconds),e.seconds=Ze(e.seconds),e.minutes=Ze(e.minutes),e.hours=Ze(e.hours),e.months=Ze(e.months),e.years=Ze(e.years),this}function Ns(e,r,l,d){var h=Fe(r,l);return e._milliseconds+=d*h._milliseconds,e._days+=d*h._days,e._months+=d*h._months,e._bubble()}function j3(e,r){return Ns(this,e,r,1)}function O3(e,r){return Ns(this,e,r,-1)}function Rs(e){return e<0?Math.floor(e):Math.ceil(e)}function P3(){var e=this._milliseconds,r=this._days,l=this._months,d=this._data,h,g,F,W,eu;return e>=0&&r>=0&&l>=0||e<=0&&r<=0&&l<=0||(e+=Rs(fa(l)+r)*864e5,r=0,l=0),d.milliseconds=e%1e3,h=re(e/1e3),d.seconds=h%60,g=re(h/60),d.minutes=g%60,F=re(g/60),d.hours=F%24,r+=re(F/24),eu=re(Us(r)),l+=eu,r-=Rs(fa(eu)),W=re(l/12),l%=12,d.days=r,d.months=l,d.years=W,this}function Us(e){return e*4800/146097}function fa(e){return e*146097/4800}function I3(e){if(!this.isValid())return NaN;var r,l,d=this._milliseconds;if(e=zu(e),e==="month"||e==="quarter"||e==="year")switch(r=this._days+d/864e5,l=this._months+Us(r),e){case"month":return l;case"quarter":return l/3;case"year":return l/12}else switch(r=this._days+Math.round(fa(this._months)),e){case"week":return r/7+d/6048e5;case"day":return r+d/864e5;case"hour":return r*24+d/36e5;case"minute":return r*1440+d/6e4;case"second":return r*86400+d/1e3;case"millisecond":return Math.floor(r*864e5)+d;default:throw new Error("Unknown unit "+e)}}function Ke(e){return function(){return this.as(e)}}var Vs=Ke("ms"),W3=Ke("s"),z3=Ke("m"),N3=Ke("h"),R3=Ke("d"),U3=Ke("w"),V3=Ke("M"),J3=Ke("Q"),$3=Ke("y"),q3=Vs;function G3(){return Fe(this)}function Z3(e){return e=zu(e),this.isValid()?this[e+"s"]():NaN}function L0(e){return function(){return this.isValid()?this._data[e]:NaN}}var K3=L0("milliseconds"),Q3=L0("seconds"),X3=L0("minutes"),u1=L0("hours"),e1=L0("days"),t1=L0("months"),n1=L0("years");function a1(){return re(this.days()/7)}var Qe=Math.round,J0={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function r1(e,r,l,d,h){return h.relativeTime(r||1,!!l,e,d)}function s1(e,r,l,d){var h=Fe(e).abs(),g=Qe(h.as("s")),F=Qe(h.as("m")),W=Qe(h.as("h")),eu=Qe(h.as("d")),su=Qe(h.as("M")),Ou=Qe(h.as("w")),t0=Qe(h.as("y")),D0=g<=l.ss&&["s",g]||g0,D0[4]=d,r1.apply(null,D0)}function i1(e){return e===void 0?Qe:typeof e=="function"?(Qe=e,!0):!1}function o1(e,r){return J0[e]===void 0?!1:r===void 0?J0[e]:(J0[e]=r,e==="s"&&(J0.ss=r-1),!0)}function l1(e,r){if(!this.isValid())return this.localeData().invalidDate();var l=!1,d=J0,h,g;return typeof e=="object"&&(r=e,e=!1),typeof e=="boolean"&&(l=e),typeof r=="object"&&(d=Object.assign({},J0,r),r.s!=null&&r.ss==null&&(d.ss=r.s-1)),h=this.localeData(),g=s1(this,!l,d,h),l&&(g=h.pastFuture(+this,g)),h.postformat(g)}var Da=Math.abs;function $0(e){return(e>0)-(e<0)||+e}function hn(){if(!this.isValid())return this.localeData().invalidDate();var e=Da(this._milliseconds)/1e3,r=Da(this._days),l=Da(this._months),d,h,g,F,W=this.asSeconds(),eu,su,Ou,t0;return W?(d=re(e/60),h=re(d/60),e%=60,d%=60,g=re(l/12),l%=12,F=e?e.toFixed(3).replace(/\.?0+$/,""):"",eu=W<0?"-":"",su=$0(this._months)!==$0(W)?"-":"",Ou=$0(this._days)!==$0(W)?"-":"",t0=$0(this._milliseconds)!==$0(W)?"-":"",eu+"P"+(g?su+g+"Y":"")+(l?su+l+"M":"")+(r?Ou+r+"D":"")+(h||d||e?"T":"")+(h?t0+h+"H":"")+(d?t0+d+"M":"")+(e?t0+F+"S":"")):"P0D"}var iu=sn.prototype;iu.isValid=tc,iu.abs=H3,iu.add=j3,iu.subtract=O3,iu.as=I3,iu.asMilliseconds=Vs,iu.asSeconds=W3,iu.asMinutes=z3,iu.asHours=N3,iu.asDays=R3,iu.asWeeks=U3,iu.asMonths=V3,iu.asQuarters=J3,iu.asYears=$3,iu.valueOf=q3,iu._bubble=P3,iu.clone=G3,iu.get=Z3,iu.milliseconds=K3,iu.seconds=Q3,iu.minutes=X3,iu.hours=u1,iu.days=e1,iu.weeks=a1,iu.months=t1,iu.years=n1,iu.humanize=l1,iu.toISOString=hn,iu.toString=hn,iu.toJSON=hn,iu.locale=bs,iu.localeData=Ts,iu.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hn),iu.lang=ws,R("X",0,0,"unix"),R("x",0,0,"valueOf"),z("x",Le),z("X",xl),mu("X",function(e,r,l){l._d=new Date(parseFloat(e)*1e3)}),mu("x",function(e,r,l){l._d=new Date(ru(e))}),a.version="2.30.1",i(Du),a.fn=w,a.min=Qd,a.max=Xd,a.now=uc,a.utc=E,a.unix=Y3,a.months=x3,a.isDate=f,a.locale=d0,a.invalid=b,a.duration=Fe,a.isMoment=O,a.weekdays=w3,a.parseZone=v3,a.localeData=Ge,a.isDuration=on,a.monthsShort=b3,a.weekdaysMin=S3,a.defineLocale=na,a.updateLocale=vd,a.locales=xd,a.weekdaysShort=T3,a.normalizeUnits=zu,a.relativeTimeRounding=i1,a.relativeTimeThreshold=o1,a.calendarFormat=Bc,a.prototype=w,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,r,l){return e<12?l?"vm":"VM":l?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});var Js=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},d1={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},se=function(e){return function(r,l,d,h){var g=Js(r),F=d1[e][Js(r)];return g===2&&(F=F[l?0:1]),F.replace(/%d/i,r)}},$s=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-dz",{months:$s,monthsShort:$s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:se("s"),ss:se("s"),m:se("m"),mm:se("m"),h:se("h"),hh:se("h"),d:se("d"),dd:se("d"),M:se("M"),MM:se("M"),y:se("y"),yy:se("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}}),a.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});var c1={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},qs=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},_1={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},ie=function(e){return function(r,l,d,h){var g=qs(r),F=_1[e][qs(r)];return g===2&&(F=F[l?0:1]),F.replace(/%d/i,r)}},Gs=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-ly",{months:Gs,monthsShort:Gs,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:ie("s"),ss:ie("s"),m:ie("m"),mm:ie("m"),h:ie("h"),hh:ie("h"),d:ie("d"),dd:ie("d"),M:ie("M"),MM:ie("M"),y:ie("y"),yy:ie("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return c1[r]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),a.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var m1={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},Zs={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(r){return Zs[r]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(r){return Zs[r]}).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return m1[r]}).replace(/,/g,"،")},week:{dow:0,doy:6}});var h1={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},f1={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(r){return f1[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return h1[r]}).replace(/,/g,"،")},week:{dow:0,doy:6}}),a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var D1={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},p1={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Ks=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},y1={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},oe=function(e){return function(r,l,d,h){var g=Ks(r),F=y1[e][Ks(r)];return g===2&&(F=F[l?0:1]),F.replace(/%d/i,r)}},Qs=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar",{months:Qs,monthsShort:Qs,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:oe("s"),ss:oe("s"),m:oe("m"),mm:oe("m"),h:oe("h"),hh:oe("h"),d:oe("d"),dd:oe("d"),M:oe("M"),MM:oe("M"),y:oe("y"),yy:oe("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(r){return p1[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return D1[r]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var pa={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};a.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,r,l){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(e===0)return e+"-ıncı";var r=e%10,l=e%100-r,d=e>=100?100:null;return e+(pa[r]||pa[l]||pa[d])},week:{dow:1,doy:7}});function E1(e,r){var l=e.split("_");return r%10===1&&r%100!==11?l[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?l[1]:l[2]}function B0(e,r,l){var d={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:r?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return l==="m"?r?"хвіліна":"хвіліну":l==="h"?r?"гадзіна":"гадзіну":e+" "+E1(d[l],+e)}a.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:B0,mm:B0,h:B0,hh:B0,d:"дзень",dd:B0,M:"месяц",MM:B0,y:"год",yy:B0},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,r,l){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,r){switch(r){case"M":case"d":case"DDD":case"w":case"W":return(e%10===2||e%10===3)&&e%100!==12&&e%100!==13?e+"-і":e+"-ы";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}}),a.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var r=e%10,l=e%100;return e===0?e+"-ев":l===0?e+"-ен":l>10&&l<20?e+"-ти":r===1?e+"-ви":r===2?e+"-ри":r===7||r===8?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),a.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var g1={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},M1={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(r){return M1[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return g1[r]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="রাত")return e<4?e:e+12;if(r==="ভোর"||r==="সকাল")return e;if(r==="দুপুর")return e>=3?e:e+12;if(r==="বিকাল"||r==="সন্ধ্যা")return e+12},meridiem:function(e,r,l){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});var A1={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},C1={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(r){return C1[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return A1[r]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,r){return e===12&&(e=0),r==="রাত"&&e>=4||r==="দুপুর"&&e<5||r==="বিকাল"?e+12:e},meridiem:function(e,r,l){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});var L1={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},B1={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(r){return B1[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return L1[r]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,r){return e===12&&(e=0),r==="མཚན་མོ"&&e>=4||r==="ཉིན་གུང"&&e<5||r==="དགོང་དག"?e+12:e},meridiem:function(e,r,l){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});function ya(e,r,l){var d={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+F1(d[l],e)}function k1(e){switch(Xs(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function Xs(e){return e>9?Xs(e%10):e}function F1(e,r){return r===2?Y1(e):e}function Y1(e){var r={m:"v",b:"v",d:"z"};return r[e.charAt(0)]===void 0?e:r[e.charAt(0)]+e.substring(1)}var Ea=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],ui=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,v1=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,x1=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,b1=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],w1=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],ei=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];a.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:ei,fullWeekdaysParse:b1,shortWeekdaysParse:w1,minWeekdaysParse:ei,monthsRegex:ui,monthsShortRegex:ui,monthsStrictRegex:v1,monthsShortStrictRegex:x1,monthsParse:Ea,longMonthsParse:Ea,shortMonthsParse:Ea,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:ya,h:"un eur",hh:"%d eur",d:"un devezh",dd:ya,M:"ur miz",MM:ya,y:"ur bloaz",yy:k1},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var r=e===1?"añ":"vet";return e+r},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return e==="g.m."},meridiem:function(e,r,l){return e<12?"a.m.":"g.m."}});function T1(e,r,l,d){if(l==="m")return r?"jedna minuta":d?"jednu minutu":"jedne minute"}function k0(e,r,l){var d=e+" ";switch(l){case"ss":return e===1?d+="sekunda":e===2||e===3||e===4?d+="sekunde":d+="sekundi",d;case"mm":return e===1?d+="minuta":e===2||e===3||e===4?d+="minute":d+="minuta",d;case"h":return"jedan sat";case"hh":return e===1?d+="sat":e===2||e===3||e===4?d+="sata":d+="sati",d;case"dd":return e===1?d+="dan":d+="dana",d;case"MM":return e===1?d+="mjesec":e===2||e===3||e===4?d+="mjeseca":d+="mjeseci",d;case"yy":return e===1?d+="godina":e===2||e===3||e===4?d+="godine":d+="godina",d}}a.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:k0,m:T1,mm:k0,h:k0,hh:k0,d:"dan",dd:k0,M:"mjesec",MM:k0,y:"godinu",yy:k0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,r){var l=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";return(r==="w"||r==="W")&&(l="a"),e+l},week:{dow:1,doy:4}});var S1={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},H1="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),ga=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],ti=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function q0(e){return e>1&&e<5&&~~(e/10)!==1}function le(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"pár sekund":"pár sekundami";case"ss":return r||d?h+(q0(e)?"sekundy":"sekund"):h+"sekundami";case"m":return r?"minuta":d?"minutu":"minutou";case"mm":return r||d?h+(q0(e)?"minuty":"minut"):h+"minutami";case"h":return r?"hodina":d?"hodinu":"hodinou";case"hh":return r||d?h+(q0(e)?"hodiny":"hodin"):h+"hodinami";case"d":return r||d?"den":"dnem";case"dd":return r||d?h+(q0(e)?"dny":"dní"):h+"dny";case"M":return r||d?"měsíc":"měsícem";case"MM":return r||d?h+(q0(e)?"měsíce":"měsíců"):h+"měsíci";case"y":return r||d?"rok":"rokem";case"yy":return r||d?h+(q0(e)?"roky":"let"):h+"lety"}}a.defineLocale("cs",{months:S1,monthsShort:H1,monthsRegex:ti,monthsShortRegex:ti,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:ga,longMonthsParse:ga,shortMonthsParse:ga,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:le,ss:le,m:le,mm:le,h:le,hh:le,d:le,dd:le,M:le,MM:le,y:le,yy:le},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var r=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+r},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),a.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var r=e,l="",d=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return r>20?r===40||r===50||r===60||r===80||r===100?l="fed":l="ain":r>0&&(l=d[r]),e+l},week:{dow:1,doy:4}}),a.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function Xe(e,r,l,d){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return r?h[l][0]:h[l][1]}a.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:Xe,mm:"%d Minuten",h:Xe,hh:"%d Stunden",d:Xe,dd:Xe,w:Xe,ww:"%d Wochen",M:Xe,MM:Xe,y:Xe,yy:Xe},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function u0(e,r,l,d){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return r?h[l][0]:h[l][1]}a.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:u0,mm:"%d Minuten",h:u0,hh:"%d Stunden",d:u0,dd:u0,w:u0,ww:"%d Wochen",M:u0,MM:u0,y:u0,yy:u0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function e0(e,r,l,d){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return r?h[l][0]:h[l][1]}a.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e0,mm:"%d Minuten",h:e0,hh:"%d Stunden",d:e0,dd:e0,w:e0,ww:"%d Wochen",M:e0,MM:e0,y:e0,yy:e0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var ni=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],ai=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];a.defineLocale("dv",{months:ni,monthsShort:ni,weekdays:ai,weekdaysShort:ai,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return e==="މފ"},meridiem:function(e,r,l){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});function j1(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,r){return e?typeof r=="string"&&/D/.test(r.substring(0,r.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,r,l){return e>11?l?"μμ":"ΜΜ":l?"πμ":"ΠΜ"},isPM:function(e){return(e+"").toLowerCase()[0]==="μ"},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return this.day()===6?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,r){var l=this._calendarEl[e],d=r&&r.hours();return j1(l)&&(l=l.apply(r)),l.replace("{}",d%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),a.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:0,doy:4}}),a.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l}}),a.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l}}),a.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:0,doy:6}}),a.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return e.charAt(0).toLowerCase()==="p"},meridiem:function(e,r,l){return e>11?l?"p.t.m.":"P.T.M.":l?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var ri="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),O1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ma=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],si=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?O1[e.month()]:ri[e.month()]:ri},monthsRegex:si,monthsShortRegex:si,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Ma,longMonthsParse:Ma,shortMonthsParse:Ma,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var ii="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),P1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Aa=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],oi=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?P1[e.month()]:ii[e.month()]:ii},monthsRegex:oi,monthsShortRegex:oi,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Aa,longMonthsParse:Aa,shortMonthsParse:Aa,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});var li="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),I1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ca=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],di=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?I1[e.month()]:li[e.month()]:li},monthsRegex:di,monthsShortRegex:di,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Ca,longMonthsParse:Ca,shortMonthsParse:Ca,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});var ci="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),W1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),La=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],_i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?W1[e.month()]:ci[e.month()]:ci},monthsRegex:_i,monthsShortRegex:_i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:La,longMonthsParse:La,shortMonthsParse:La,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});function Ye(e,r,l,d){var h={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return r?h[l][2]?h[l][2]:h[l][1]:d?h[l][0]:h[l][1]}a.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:Ye,ss:Ye,m:Ye,mm:Ye,h:Ye,hh:Ye,d:Ye,dd:"%d päeva",M:Ye,MM:Ye,y:Ye,yy:Ye},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var z1={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},N1={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};a.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,r,l){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(r){return N1[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return z1[r]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});var fn="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),R1=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",fn[7],fn[8],fn[9]];function de(e,r,l,d){var h="";switch(l){case"s":return d?"muutaman sekunnin":"muutama sekunti";case"ss":h=d?"sekunnin":"sekuntia";break;case"m":return d?"minuutin":"minuutti";case"mm":h=d?"minuutin":"minuuttia";break;case"h":return d?"tunnin":"tunti";case"hh":h=d?"tunnin":"tuntia";break;case"d":return d?"päivän":"päivä";case"dd":h=d?"päivän":"päivää";break;case"M":return d?"kuukauden":"kuukausi";case"MM":h=d?"kuukauden":"kuukautta";break;case"y":return d?"vuoden":"vuosi";case"yy":h=d?"vuoden":"vuotta";break}return h=U1(e,d)+" "+h,h}function U1(e,r){return e<10?r?R1[e]:fn[e]:e}a.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:de,ss:de,m:de,mm:de,h:de,hh:de,d:de,dd:de,M:de,MM:de,y:de,yy:de},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),a.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,r){switch(r){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}}}),a.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,r){switch(r){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var V1=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,J1=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,mi=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Ba=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];a.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:mi,monthsShortRegex:mi,monthsStrictRegex:V1,monthsShortStrictRegex:J1,monthsParse:Ba,longMonthsParse:Ba,shortMonthsParse:Ba,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,r){switch(r){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var hi="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),$1="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");a.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?$1[e.month()]:hi[e.month()]:hi},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});var q1=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],G1=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],Z1=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],K1=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],Q1=["Do","Lu","Má","Cé","Dé","A","Sa"];a.defineLocale("ga",{months:q1,monthsShort:G1,monthsParseExact:!0,weekdays:Z1,weekdaysShort:K1,weekdaysMin:Q1,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var r=e===1?"d":e%10===2?"na":"mh";return e+r},week:{dow:1,doy:4}});var X1=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],u_=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],e_=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],t_=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],n_=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];a.defineLocale("gd",{months:X1,monthsShort:u_,monthsParseExact:!0,weekdays:e_,weekdaysShort:t_,weekdaysMin:n_,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var r=e===1?"d":e%10===2?"na":"mh";return e+r},week:{dow:1,doy:4}}),a.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return e.indexOf("un")===0?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});function ce(e,r,l,d){var h={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return d?h[l][0]:h[l][1]}a.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:ce,ss:ce,m:ce,mm:ce,h:ce,hh:ce,d:ce,dd:ce,M:ce,MM:ce,y:ce,yy:ce},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,r){switch(r){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="राती")return e<4?e:e+12;if(r==="सकाळीं")return e;if(r==="दनपारां")return e>12?e:e+12;if(r==="सांजे")return e+12},meridiem:function(e,r,l){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});function _e(e,r,l,d){var h={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return d?h[l][0]:h[l][1]}a.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:_e,ss:_e,m:_e,mm:_e,h:_e,hh:_e,d:_e,dd:_e,M:_e,MM:_e,y:_e,yy:_e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,r){switch(r){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="rati")return e<4?e:e+12;if(r==="sokallim")return e;if(r==="donparam")return e>12?e:e+12;if(r==="sanje")return e+12},meridiem:function(e,r,l){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});var a_={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},r_={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};a.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(r){return r_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return a_[r]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="રાત")return e<4?e:e+12;if(r==="સવાર")return e;if(r==="બપોર")return e>=10?e:e+12;if(r==="સાંજ")return e+12},meridiem:function(e,r,l){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}}),a.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return e===2?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return e===2?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return e===2?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return e===2?"שנתיים":e%10===0&&e!==10?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,r,l){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?l?'לפנה"צ':"לפני הצהריים":e<18?l?'אחה"צ':"אחרי הצהריים":"בערב"}});var s_={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i_={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},fi=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],o_=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];a.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:fi,longMonthsParse:fi,shortMonthsParse:o_,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(r){return i_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return s_[r]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="रात")return e<4?e:e+12;if(r==="सुबह")return e;if(r==="दोपहर")return e>=10?e:e+12;if(r==="शाम")return e+12},meridiem:function(e,r,l){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});function _0(e,r,l){var d=e+" ";switch(l){case"ss":return e===1?d+="sekunda":e===2||e===3||e===4?d+="sekunde":d+="sekundi",d;case"m":return r?"jedna minuta":"jedne minute";case"mm":return e===1?d+="minuta":e===2||e===3||e===4?d+="minute":d+="minuta",d;case"h":return r?"jedan sat":"jednog sata";case"hh":return e===1?d+="sat":e===2||e===3||e===4?d+="sata":d+="sati",d;case"dd":return e===1?d+="dan":d+="dana",d;case"MM":return e===1?d+="mjesec":e===2||e===3||e===4?d+="mjeseca":d+="mjeseci",d;case"yy":return e===1?d+="godina":e===2||e===3||e===4?d+="godine":d+="godina",d}}a.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:_0,m:_0,mm:_0,h:_0,hh:_0,d:"dan",dd:_0,M:"mjesec",MM:_0,y:"godinu",yy:_0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var l_="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function me(e,r,l,d){var h=e;switch(l){case"s":return d||r?"néhány másodperc":"néhány másodperce";case"ss":return h+(d||r)?" másodperc":" másodperce";case"m":return"egy"+(d||r?" perc":" perce");case"mm":return h+(d||r?" perc":" perce");case"h":return"egy"+(d||r?" óra":" órája");case"hh":return h+(d||r?" óra":" órája");case"d":return"egy"+(d||r?" nap":" napja");case"dd":return h+(d||r?" nap":" napja");case"M":return"egy"+(d||r?" hónap":" hónapja");case"MM":return h+(d||r?" hónap":" hónapja");case"y":return"egy"+(d||r?" év":" éve");case"yy":return h+(d||r?" év":" éve")}return""}function Di(e){return(e?"":"[múlt] ")+"["+l_[this.day()]+"] LT[-kor]"}a.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return e.charAt(1).toLowerCase()==="u"},meridiem:function(e,r,l){return e<12?l===!0?"de":"DE":l===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Di.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Di.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:me,ss:me,m:me,mm:me,h:me,hh:me,d:me,dd:me,M:me,MM:me,y:me,yy:me},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,r){switch(r){case"DDD":case"w":case"W":case"DDDo":return e===1?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}}),a.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="pagi")return e;if(r==="siang")return e>=11?e:e+12;if(r==="sore"||r==="malam")return e+12},meridiem:function(e,r,l){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});function G0(e){return e%100===11?!0:e%10!==1}function ve(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return G0(e)?h+(r||d?"sekúndur":"sekúndum"):h+"sekúnda";case"m":return r?"mínúta":"mínútu";case"mm":return G0(e)?h+(r||d?"mínútur":"mínútum"):r?h+"mínúta":h+"mínútu";case"hh":return G0(e)?h+(r||d?"klukkustundir":"klukkustundum"):h+"klukkustund";case"d":return r?"dagur":d?"dag":"degi";case"dd":return G0(e)?r?h+"dagar":h+(d?"daga":"dögum"):r?h+"dagur":h+(d?"dag":"degi");case"M":return r?"mánuður":d?"mánuð":"mánuði";case"MM":return G0(e)?r?h+"mánuðir":h+(d?"mánuði":"mánuðum"):r?h+"mánuður":h+(d?"mánuð":"mánuði");case"y":return r||d?"ár":"ári";case"yy":return G0(e)?h+(r||d?"ár":"árum"):h+(r||d?"ár":"ári")}}a.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:ve,ss:ve,m:ve,mm:ve,h:"klukkustund",hh:ve,d:ve,dd:ve,M:ve,MM:ve,y:ve,yy:ve},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return this.day()===0?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastWeek:function(){return this.day()===0?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,r){return r[1]==="元"?1:parseInt(r[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return e==="午後"},meridiem:function(e,r,l){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,r){switch(r){case"y":return e===1?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),a.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="enjing")return e;if(r==="siyang")return e>=11?e:e+12;if(r==="sonten"||r==="ndalu")return e+12},meridiem:function(e,r,l){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),a.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(r,l,d){return d==="ი"?l+"ში":l+d+"ში"})},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return e===0?e:e===1?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});var ka={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};a.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var r=e%10,l=e>=100?100:null;return e+(ka[e]||ka[r]||ka[l])},week:{dow:1,doy:7}});var d_={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},c_={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};a.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return e==="ល្ងាច"},meridiem:function(e,r,l){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(r){return c_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return d_[r]})},week:{dow:1,doy:4}});var __={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},m_={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};a.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(r){return m_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return __[r]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="ರಾತ್ರಿ")return e<4?e:e+12;if(r==="ಬೆಳಿಗ್ಗೆ")return e;if(r==="ಮಧ್ಯಾಹ್ನ")return e>=10?e:e+12;if(r==="ಸಂಜೆ")return e+12},meridiem:function(e,r,l){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}}),a.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return e==="오후"},meridiem:function(e,r,l){return e<12?"오전":"오후"}});function Ru(e,r,l,d){var h={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return r?h[l][0]:h[l][1]}function h_(e){e=""+e;var r=e.substring(e.length-1),l=e.length>1?e.substring(e.length-2):"";return!(l==12||l==13)&&(r=="2"||r=="3"||l=="50"||r=="70"||r=="80")?"yê":"ê"}a.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,r,l){return e<12?l?"bn":"BN":l?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:Ru,ss:Ru,m:Ru,mm:Ru,h:Ru,hh:Ru,d:Ru,dd:Ru,w:Ru,ww:Ru,M:Ru,MM:Ru,y:Ru,yy:Ru},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,r){var l=r.toLowerCase();return l.includes("w")||l.includes("m")?e+".":e+h_(e)},week:{dow:1,doy:4}});var f_={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},D_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},pi=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];a.defineLocale("ku",{months:pi,monthsShort:pi,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,r,l){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(r){return D_[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return f_[r]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var Fa={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};a.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var r=e%10,l=e>=100?100:null;return e+(Fa[e]||Fa[r]||Fa[l])},week:{dow:1,doy:7}});function vt(e,r,l,d){var h={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return r?h[l][0]:h[l][1]}function p_(e){var r=e.substr(0,e.indexOf(" "));return xt(r)?"a "+e:"an "+e}function y_(e){var r=e.substr(0,e.indexOf(" "));return xt(r)?"viru "+e:"virun "+e}function xt(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var r=e%10,l=e/10;return xt(r===0?l:r)}else if(e<1e4){for(;e>=10;)e=e/10;return xt(e)}else return e=e/1e3,xt(e)}a.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:p_,past:y_,s:"e puer Sekonnen",ss:"%d Sekonnen",m:vt,mm:"%d Minutten",h:vt,hh:"%d Stonnen",d:vt,dd:"%d Deeg",M:vt,MM:"%d Méint",y:vt,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return e==="ຕອນແລງ"},meridiem:function(e,r,l){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});var E_={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function g_(e,r,l,d){return r?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"}function Z0(e,r,l,d){return r?m0(l)[0]:d?m0(l)[1]:m0(l)[2]}function yi(e){return e%10===0||e>10&&e<20}function m0(e){return E_[e].split("_")}function K0(e,r,l,d){var h=e+" ";return e===1?h+Z0(e,r,l[0],d):r?h+(yi(e)?m0(l)[1]:m0(l)[0]):d?h+m0(l)[1]:h+(yi(e)?m0(l)[1]:m0(l)[2])}a.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:g_,ss:K0,m:Z0,mm:K0,h:Z0,hh:K0,d:Z0,dd:K0,M:Z0,MM:K0,y:Z0,yy:K0},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var Ei={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function gi(e,r,l){return l?r%10===1&&r%100!==11?e[2]:e[3]:r%10===1&&r%100!==11?e[0]:e[1]}function Q0(e,r,l){return e+" "+gi(Ei[l],e,r)}function bt(e,r,l){return gi(Ei[l],e,r)}function M_(e,r){return r?"dažas sekundes":"dažām sekundēm"}a.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:M_,ss:Q0,m:bt,mm:Q0,h:bt,hh:Q0,d:bt,dd:Q0,M:bt,MM:Q0,y:bt,yy:Q0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var He={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,r){return e===1?r[0]:e>=2&&e<=4?r[1]:r[2]},translate:function(e,r,l){var d=He.words[l];return l.length===1?r?d[0]:d[1]:e+" "+He.correctGrammaticalCase(e,d)}};a.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:He.translate,m:He.translate,mm:He.translate,h:He.translate,hh:He.translate,d:"dan",dd:He.translate,M:"mjesec",MM:He.translate,y:"godinu",yy:He.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var r=e%10,l=e%100;return e===0?e+"-ев":l===0?e+"-ен":l>10&&l<20?e+"-ти":r===1?e+"-ви":r===2?e+"-ри":r===7||r===8?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),a.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,r){return e===12&&(e=0),r==="രാത്രി"&&e>=4||r==="ഉച്ച കഴിഞ്ഞ്"||r==="വൈകുന്നേരം"?e+12:e},meridiem:function(e,r,l){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});function he(e,r,l,d){switch(l){case"s":return r?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(r?" секунд":" секундын");case"m":case"mm":return e+(r?" минут":" минутын");case"h":case"hh":return e+(r?" цаг":" цагийн");case"d":case"dd":return e+(r?" өдөр":" өдрийн");case"M":case"MM":return e+(r?" сар":" сарын");case"y":case"yy":return e+(r?" жил":" жилийн");default:return e}}a.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return e==="ҮХ"},meridiem:function(e,r,l){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:he,ss:he,m:he,mm:he,h:he,hh:he,d:he,dd:he,M:he,MM:he,y:he,yy:he},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});var A_={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},C_={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function fe(e,r,l,d){var h="";if(r)switch(l){case"s":h="काही सेकंद";break;case"ss":h="%d सेकंद";break;case"m":h="एक मिनिट";break;case"mm":h="%d मिनिटे";break;case"h":h="एक तास";break;case"hh":h="%d तास";break;case"d":h="एक दिवस";break;case"dd":h="%d दिवस";break;case"M":h="एक महिना";break;case"MM":h="%d महिने";break;case"y":h="एक वर्ष";break;case"yy":h="%d वर्षे";break}else switch(l){case"s":h="काही सेकंदां";break;case"ss":h="%d सेकंदां";break;case"m":h="एका मिनिटा";break;case"mm":h="%d मिनिटां";break;case"h":h="एका तासा";break;case"hh":h="%d तासां";break;case"d":h="एका दिवसा";break;case"dd":h="%d दिवसां";break;case"M":h="एका महिन्या";break;case"MM":h="%d महिन्यां";break;case"y":h="एका वर्षा";break;case"yy":h="%d वर्षां";break}return h.replace(/%d/i,e)}a.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:fe,ss:fe,m:fe,mm:fe,h:fe,hh:fe,d:fe,dd:fe,M:fe,MM:fe,y:fe,yy:fe},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(r){return C_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return A_[r]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="पहाटे"||r==="सकाळी")return e;if(r==="दुपारी"||r==="सायंकाळी"||r==="रात्री")return e>=12?e:e+12},meridiem:function(e,r,l){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),a.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="pagi")return e;if(r==="tengahari")return e>=11?e:e+12;if(r==="petang"||r==="malam")return e+12},meridiem:function(e,r,l){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),a.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="pagi")return e;if(r==="tengahari")return e>=11?e:e+12;if(r==="petang"||r==="malam")return e+12},meridiem:function(e,r,l){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),a.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var L_={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},B_={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};a.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(r){return B_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return L_[r]})},week:{dow:1,doy:4}}),a.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var k_={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},F_={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(r){return F_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return k_[r]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="राति")return e<4?e:e+12;if(r==="बिहान")return e;if(r==="दिउँसो")return e>=10?e:e+12;if(r==="साँझ")return e+12},meridiem:function(e,r,l){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});var Mi="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Y_="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Ya=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Ai=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?Y_[e.month()]:Mi[e.month()]:Mi},monthsRegex:Ai,monthsShortRegex:Ai,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Ya,longMonthsParse:Ya,shortMonthsParse:Ya,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});var Ci="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),v_="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),va=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Li=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?v_[e.month()]:Ci[e.month()]:Ci},monthsRegex:Li,monthsShortRegex:Li,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:va,longMonthsParse:va,shortMonthsParse:va,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}}),a.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,r){var l=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";return(r==="w"||r==="W")&&(l="a"),e+l},week:{dow:1,doy:4}});var x_={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},b_={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};a.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(r){return b_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return x_[r]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="ਰਾਤ")return e<4?e:e+12;if(r==="ਸਵੇਰ")return e;if(r==="ਦੁਪਹਿਰ")return e>=10?e:e+12;if(r==="ਸ਼ਾਮ")return e+12},meridiem:function(e,r,l){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});var Bi="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),w_="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),xa=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function X0(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function h0(e,r,l){var d=e+" ";switch(l){case"ss":return d+(X0(e)?"sekundy":"sekund");case"m":return r?"minuta":"minutę";case"mm":return d+(X0(e)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return d+(X0(e)?"godziny":"godzin");case"ww":return d+(X0(e)?"tygodnie":"tygodni");case"MM":return d+(X0(e)?"miesiące":"miesięcy");case"yy":return d+(X0(e)?"lata":"lat")}}a.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?w_[e.month()]:Bi[e.month()]:Bi},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:xa,longMonthsParse:xa,shortMonthsParse:xa,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:h0,m:h0,mm:h0,h:h0,hh:h0,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:h0,M:"miesiąc",MM:h0,y:"rok",yy:h0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"}),a.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});function F0(e,r,l){var d={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},h=" ";return(e%100>=20||e>=100&&e%100===0)&&(h=" de "),e+h+d[l]}a.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:F0,m:"un minut",mm:F0,h:"o oră",hh:F0,d:"o zi",dd:F0,w:"o săptămână",ww:F0,M:"o lună",MM:F0,y:"un an",yy:F0},week:{dow:1,doy:7}});function T_(e,r){var l=e.split("_");return r%10===1&&r%100!==11?l[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?l[1]:l[2]}function f0(e,r,l){var d={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return l==="m"?r?"минута":"минуту":e+" "+T_(d[l],+e)}var ba=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];a.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:ba,longMonthsParse:ba,shortMonthsParse:ba,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}else return this.day()===2?"[Во] dddd, [в] LT":"[В] dddd, [в] LT"},lastWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}else return this.day()===2?"[Во] dddd, [в] LT":"[В] dddd, [в] LT"},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:f0,m:f0,mm:f0,h:"час",hh:f0,d:"день",dd:f0,w:"неделя",ww:f0,M:"месяц",MM:f0,y:"год",yy:f0},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,r,l){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,r){switch(r){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});var ki=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],wa=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];a.defineLocale("sd",{months:ki,monthsShort:ki,weekdays:wa,weekdaysShort:wa,weekdaysMin:wa,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return e==="شام"},meridiem:function(e,r,l){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}}),a.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return e==="ප.ව."||e==="පස් වරු"},meridiem:function(e,r,l){return e>11?l?"ප.ව.":"පස් වරු":l?"පෙ.ව.":"පෙර වරු"}});var S_="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),H_="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function ut(e){return e>1&&e<5}function De(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"pár sekúnd":"pár sekundami";case"ss":return r||d?h+(ut(e)?"sekundy":"sekúnd"):h+"sekundami";case"m":return r?"minúta":d?"minútu":"minútou";case"mm":return r||d?h+(ut(e)?"minúty":"minút"):h+"minútami";case"h":return r?"hodina":d?"hodinu":"hodinou";case"hh":return r||d?h+(ut(e)?"hodiny":"hodín"):h+"hodinami";case"d":return r||d?"deň":"dňom";case"dd":return r||d?h+(ut(e)?"dni":"dní"):h+"dňami";case"M":return r||d?"mesiac":"mesiacom";case"MM":return r||d?h+(ut(e)?"mesiace":"mesiacov"):h+"mesiacmi";case"y":return r||d?"rok":"rokom";case"yy":return r||d?h+(ut(e)?"roky":"rokov"):h+"rokmi"}}a.defineLocale("sk",{months:S_,monthsShort:H_,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:De,ss:De,m:De,mm:De,h:De,hh:De,d:De,dd:De,M:De,MM:De,y:De,yy:De},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function pe(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"nekaj sekund":"nekaj sekundami";case"ss":return e===1?h+=r?"sekundo":"sekundi":e===2?h+=r||d?"sekundi":"sekundah":e<5?h+=r||d?"sekunde":"sekundah":h+="sekund",h;case"m":return r?"ena minuta":"eno minuto";case"mm":return e===1?h+=r?"minuta":"minuto":e===2?h+=r||d?"minuti":"minutama":e<5?h+=r||d?"minute":"minutami":h+=r||d?"minut":"minutami",h;case"h":return r?"ena ura":"eno uro";case"hh":return e===1?h+=r?"ura":"uro":e===2?h+=r||d?"uri":"urama":e<5?h+=r||d?"ure":"urami":h+=r||d?"ur":"urami",h;case"d":return r||d?"en dan":"enim dnem";case"dd":return e===1?h+=r||d?"dan":"dnem":e===2?h+=r||d?"dni":"dnevoma":h+=r||d?"dni":"dnevi",h;case"M":return r||d?"en mesec":"enim mesecem";case"MM":return e===1?h+=r||d?"mesec":"mesecem":e===2?h+=r||d?"meseca":"mesecema":e<5?h+=r||d?"mesece":"meseci":h+=r||d?"mesecev":"meseci",h;case"y":return r||d?"eno leto":"enim letom";case"yy":return e===1?h+=r||d?"leto":"letom":e===2?h+=r||d?"leti":"letoma":e<5?h+=r||d?"leta":"leti":h+=r||d?"let":"leti",h}}a.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:pe,ss:pe,m:pe,mm:pe,h:pe,hh:pe,d:pe,dd:pe,M:pe,MM:pe,y:pe,yy:pe},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return e.charAt(0)==="M"},meridiem:function(e,r,l){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Xu={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,r){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?r[0]:r[1]:r[2]},translate:function(e,r,l,d){var h=Xu.words[l],g;return l.length===1?l==="y"&&r?"једна година":d||r?h[0]:h[1]:(g=Xu.correctGrammaticalCase(e,h),l==="yy"&&r&&g==="годину"?e+" година":e+" "+g)}};a.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:Xu.translate,m:Xu.translate,mm:Xu.translate,h:Xu.translate,hh:Xu.translate,d:Xu.translate,dd:Xu.translate,M:Xu.translate,MM:Xu.translate,y:Xu.translate,yy:Xu.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ue={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,r){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?r[0]:r[1]:r[2]},translate:function(e,r,l,d){var h=ue.words[l],g;return l.length===1?l==="y"&&r?"jedna godina":d||r?h[0]:h[1]:(g=ue.correctGrammaticalCase(e,h),l==="yy"&&r&&g==="godinu"?e+" godina":e+" "+g)}};a.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:ue.translate,m:ue.translate,mm:ue.translate,h:ue.translate,hh:ue.translate,d:ue.translate,dd:ue.translate,M:ue.translate,MM:ue.translate,y:ue.translate,yy:ue.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,r,l){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,r){if(e===12&&(e=0),r==="ekuseni")return e;if(r==="emini")return e>=11?e:e+12;if(r==="entsambama"||r==="ebusuku")return e===0?0:e+12},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),a.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?":e":r===1||r===2?":a":":e";return e+l},week:{dow:1,doy:4}}),a.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var j_={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},O_={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};a.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(r){return O_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return j_[r]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,r,l){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,r){return e===12&&(e=0),r==="யாமம்"?e<2?e:e+12:r==="வைகறை"||r==="காலை"||r==="நண்பகல்"&&e>=10?e:e+12},week:{dow:0,doy:6}}),a.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="రాత్రి")return e<4?e:e+12;if(r==="ఉదయం")return e;if(r==="మధ్యాహ్నం")return e>=10?e:e+12;if(r==="సాయంత్రం")return e+12},meridiem:function(e,r,l){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),a.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}});var Ta={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};a.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="шаб")return e<4?e:e+12;if(r==="субҳ")return e;if(r==="рӯз")return e>=11?e:e+12;if(r==="бегоҳ")return e+12},meridiem:function(e,r,l){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var r=e%10,l=e>=100?100:null;return e+(Ta[e]||Ta[r]||Ta[l])},week:{dow:1,doy:7}}),a.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return e==="หลังเที่ยง"},meridiem:function(e,r,l){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});var Sa={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};a.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'unjy";var l=e%10,d=e%100-l,h=e>=100?100:null;return e+(Sa[l]||Sa[d]||Sa[h])}},week:{dow:1,doy:7}}),a.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});var Ha="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function P_(e){var r=e;return r=e.indexOf("jaj")!==-1?r.slice(0,-3)+"leS":e.indexOf("jar")!==-1?r.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?r.slice(0,-3)+"nem":r+" pIq",r}function I_(e){var r=e;return r=e.indexOf("jaj")!==-1?r.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?r.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?r.slice(0,-3)+"ben":r+" ret",r}function et(e,r,l,d){var h=W_(e);switch(l){case"ss":return h+" lup";case"mm":return h+" tup";case"hh":return h+" rep";case"dd":return h+" jaj";case"MM":return h+" jar";case"yy":return h+" DIS"}}function W_(e){var r=Math.floor(e%1e3/100),l=Math.floor(e%100/10),d=e%10,h="";return r>0&&(h+=Ha[r]+"vatlh"),l>0&&(h+=(h!==""?" ":"")+Ha[l]+"maH"),d>0&&(h+=(h!==""?" ":"")+Ha[d]),h===""?"pagh":h}a.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:P_,past:I_,s:"puS lup",ss:et,m:"wa’ tup",mm:et,h:"wa’ rep",hh:et,d:"wa’ jaj",dd:et,M:"wa’ jar",MM:et,y:"wa’ DIS",yy:et},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var ja={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};a.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,r,l){return e<12?l?"öö":"ÖÖ":l?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return e==="ös"||e==="ÖS"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'ıncı";var l=e%10,d=e%100-l,h=e>=100?100:null;return e+(ja[l]||ja[d]||ja[h])}},week:{dow:1,doy:7}}),a.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return e.toLowerCase()==="d'o"},meridiem:function(e,r,l){return e>11?l?"d'o":"D'O":l?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:ye,ss:ye,m:ye,mm:ye,h:ye,hh:ye,d:ye,dd:ye,M:ye,MM:ye,y:ye,yy:ye},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function ye(e,r,l,d){var h={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",""+e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return d||r?h[l][0]:h[l][1]}a.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),a.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),a.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,r){return e===12&&(e=0),r==="يېرىم كېچە"||r==="سەھەر"||r==="چۈشتىن بۇرۇن"?e:r==="چۈشتىن كېيىن"||r==="كەچ"?e+12:e>=11?e:e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"يېرىم كېچە":d<900?"سەھەر":d<1130?"چۈشتىن بۇرۇن":d<1230?"چۈش":d<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});function z_(e,r){var l=e.split("_");return r%10===1&&r%100!==11?l[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?l[1]:l[2]}function Y0(e,r,l){var d={ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return l==="m"?r?"хвилина":"хвилину":l==="h"?r?"година":"годину":e+" "+z_(d[l],+e)}function N_(e,r){var l={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},d;return e===!0?l.nominative.slice(1,7).concat(l.nominative.slice(0,1)):e?(d=/(\[[ВвУу]\]) ?dddd/.test(r)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(r)?"genitive":"nominative",l[d][e.day()]):l.nominative}function tt(e){return function(){return e+"о"+(this.hours()===11?"б":"")+"] LT"}}a.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:N_,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:tt("[Сьогодні "),nextDay:tt("[Завтра "),lastDay:tt("[Вчора "),nextWeek:tt("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return tt("[Минулої] dddd [").call(this);case 1:case 2:case 4:return tt("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:Y0,m:Y0,mm:Y0,h:"годину",hh:Y0,d:"день",dd:Y0,M:"місяць",MM:Y0,y:"рік",yy:Y0},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,r,l){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,r){switch(r){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});var Fi=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],Oa=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];return a.defineLocale("ur",{months:Fi,monthsShort:Fi,weekdays:Oa,weekdaysShort:Oa,weekdaysMin:Oa,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return e==="شام"},meridiem:function(e,r,l){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}}),a.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),a.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),a.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,r,l){return e<12?l?"sa":"SA":l?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),a.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),a.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){return e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午"?e:r==="下午"||r==="晚上"?e+12:e>=11?e:e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),a.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午")return e;if(r==="中午")return e>=11?e:e+12;if(r==="下午"||r==="晚上")return e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1200?"上午":d===1200?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午")return e;if(r==="中午")return e>=11?e:e+12;if(r==="下午"||r==="晚上")return e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午")return e;if(r==="中午")return e>=11?e:e+12;if(r==="下午"||r==="晚上")return e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.locale("en"),a}))})(hr)),hr.exports}var d6=l6();const y0=Hr(d6),nt=Bm(),Ri={ar:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ثوانٍ"]}}}},ast:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},az:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["saniyə"]}}}},be:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунды"]}}}},br:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["eilennoù"]}}}},ca:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segons"]}}}},cs:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekund(y)"]}}}},cs_CZ:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekund(y)"]}}}},da:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},de:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["Sekunden"]}}}},de_DE:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["Sekunden"]}}}},el:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["δευτερόλεπτα"]}}}},en_GB:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["seconds"]}}}},eo:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundoj"]}}}},es:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},es_AR:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},es_CL:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},es_MX:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},et_EE:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundid"]}}}},eu:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundo"]}}}},fa:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ثانیه"]}}}},fi:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekuntia"]}}}},fi_FI:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekuntia"]}}}},fr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["secondes"]}}}},ga:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["soicindí"]}}}},gl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},he:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["שניות"]}}}},hr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunde"]}}}},hu:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["másodperc"]}}}},hu_HU:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["másodperc"]}}}},id:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["detik"]}}}},is:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekúndur"]}}}},it:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["secondi"]}}}},ja:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒後"]}}}},ja_JP:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}},kab:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["tasinin"]}}}},ko:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["초"]}}}},lo:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ວິນາທີ"]}}}},lt_LT:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sek."]}}}},lv:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundes"]}}}},mk:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунди"]}}}},mn:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунд"]}}}},ms_MY:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["saat"]}}}},my:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["စက္ကန့်"]}}}},nb:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},nb_NO:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},nl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["seconden"]}}}},oc:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segondas"]}}}},pl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundy"]}}}},pt_BR:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},pt_PT:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},ro:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["secunde"]}}}},ru:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунды"]}}}},si:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["තත්පර"]}}}},sk:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekúnd"]}}}},sk_SK:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundy"]}}}},sl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunde"]}}}},sq:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekonda"]}}}},sr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунде"]}}}},sv:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},th_TH:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["วินาที"]}}}},tr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["saniye"]}}}},uk:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунд"]}}}},uz:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ikkinchi"]}}}},vi:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["giây"]}}}},zh_CN:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}},zh_HK:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}},zh_TW:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}}};if(y0.locale(nt),nt==="en"&&y0.updateLocale(y0.locale(),{relativeTime:{s:"seconds"}}),nt in Ri){const u=q_().setLanguage(nt).addTranslation(nt,Ri[nt]).build();y0.updateLocale(y0.locale(),{relativeTime:{s:u.gettext("seconds")}})}function c6(u,t,n){var s;const a="#initial-state-".concat(u,"-").concat(t);if((s=window._nc_initial_state)!=null&&s.has(a))return window._nc_initial_state.get(a);window._nc_initial_state||(window._nc_initial_state=new Map);const i=document.querySelector(a);if(i===null)throw new Error("Could not find initial state ".concat(t," of ").concat(u));try{const o=JSON.parse(atob(i.value));return window._nc_initial_state.set(a,o),o}catch(o){throw console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:u,error:o}),new Error("Could not parse initial state ".concat(t," of ").concat(u),{cause:o})}}function E4(){try{return c6("core","capabilities")}catch(u){return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}}function Ui(u,t,n){var s;const a="#initial-state-".concat(u,"-").concat(t);if((s=window._nc_initial_state)!=null&&s.has(a))return window._nc_initial_state.get(a);window._nc_initial_state||(window._nc_initial_state=new Map);const i=document.querySelector(a);if(i===null){if(n!==void 0)return n;throw new Error("Could not find initial state ".concat(t," of ").concat(u))}try{const o=JSON.parse(atob(i.value));return window._nc_initial_state.set(a,o),o}catch(o){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:u,error:o}),n!==void 0)return n;throw new Error("Could not parse initial state ".concat(t," of ").concat(u),{cause:o})}}const _6=["aria-labelledby"],m6={key:0,class:"empty-content__icon","aria-hidden":"true"},h6=["id"],f6={key:2,class:"empty-content__description"},D6={key:3,class:"empty-content__action"},p6=Ae({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(u){const t=Cn();return(n,a)=>(S(),I("div",{"aria-labelledby":wu(t),class:"empty-content",role:"note"},[n.$slots.icon?(S(),I("div",m6,[yu(n.$slots,"icon",{},void 0,!0)])):_u("",!0),n.name!==""||n.$slots.name?(S(),I("div",{key:1,id:wu(t),class:"empty-content__name"},[yu(n.$slots,"name",{},()=>[H0(tu(n.name),1)],!0)],8,h6)):_u("",!0),n.description!==""||n.$slots.description?(S(),I("p",f6,[yu(n.$slots,"description",{},()=>[H0(tu(n.description),1)],!0)])):_u("",!0),n.$slots.action?(S(),I("div",D6,[yu(n.$slots,"action",{},void 0,!0)])):_u("",!0)],8,_6))}}),CM=Me(p6,[["__scopeId","data-v-b101d636"]]),y6=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const E6=Object.prototype.toString,g6=u=>E6.call(u)==="[object Object]",yn=()=>{};function Na(u){return Array.isArray(u)?u:[u]}function M6(u,t,n){return be(u,t,bu(j({},n),{immediate:!0}))}const g4=y6?window:void 0;function Ot(u){var t;const n=Cu(u);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Ra(...u){const t=(a,i,s,o)=>(a.addEventListener(i,s,o),()=>a.removeEventListener(i,s,o)),n=G(()=>{const a=Na(Cu(u[0])).filter(i=>i!=null);return a.every(i=>typeof i!="string")?a:void 0});return M6(()=>{var a,i;return[(a=(i=n.value)===null||i===void 0?void 0:i.map(s=>Ot(s)))!==null&&a!==void 0?a:[g4].filter(s=>s!=null),Na(Cu(n.value?u[1]:u[0])),Na(wu(n.value?u[2]:u[1])),Cu(n.value?u[3]:u[2])]},([a,i,s,o],c,_)=>{if(!(a!=null&&a.length)||!(i!=null&&i.length)||!(s!=null&&s.length))return;const m=g6(o)?j({},o):o,D=a.flatMap(f=>i.flatMap(y=>s.map(p=>t(f,y,p,m))));_(()=>{D.forEach(f=>f())})},{flush:"post"})}function Vi(u,t,n={}){const{window:a=g4,ignore:i=[],capture:s=!0,detectIframe:o=!1,controls:c=!1}=n;if(!a)return c?{stop:yn,cancel:yn,trigger:yn}:yn;let _=!0;const m=M=>Cu(i).some(C=>{if(typeof C=="string")return Array.from(a.document.querySelectorAll(C)).some(v=>v===M.target||M.composedPath().includes(v));{const v=Ot(C);return v&&(M.target===v||M.composedPath().includes(v))}});function D(M){const C=Cu(M);return C&&C.$.subTree.shapeFlag===16}function f(M,C){const v=Cu(M),b=v.$.subTree&&v.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(P=>P.el===C.target||C.composedPath().includes(P.el))}const y=M=>{const C=Ot(u);if(M.target!=null&&!(!(C instanceof Element)&&D(u)&&f(u,M))&&!(!C||C===M.target||M.composedPath().includes(C))){if("detail"in M&&M.detail===0&&(_=!m(M)),!_){_=!0;return}t(M)}};let p=!1;const E=[Ra(a,"click",M=>{p||(p=!0,setTimeout(()=>{p=!1},0),y(M))},{passive:!0,capture:s}),Ra(a,"pointerdown",M=>{const C=Ot(u);_=!m(M)&&!!(C&&!M.composedPath().includes(C))},{passive:!0}),o&&Ra(a,"blur",M=>{setTimeout(()=>{var C;const v=Ot(u);((C=a.document.activeElement)===null||C===void 0?void 0:C.tagName)==="IFRAME"&&!(v!=null&&v.contains(a.document.activeElement))&&t(M)},0)},{passive:!0})].filter(Boolean),B=()=>E.forEach(M=>M());return c?{stop:B,cancel:()=>{_=!1},trigger:M=>{_=!0,y(M),_=!1}}:B}const Ua=new WeakMap,A6={mounted(u,t){const n=!t.modifiers.bubble;let a;if(typeof t.value=="function")a=Vi(u,t.value,{capture:n});else{const[i,s]=t.value;a=Vi(u,i,Object.assign({capture:n},s))}Ua.set(u,a)},unmounted(u){const t=Ua.get(u);t&&typeof t=="function"?t():t==null||t.stop(),Ua.delete(u)}};function lt(u,t,n){const a={type:String(u)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(a,t),Array.isArray(n)?a.children=n:n!=null&&(a.value=String(n)),a}const Or=(function(u){if(u==null)return k6;if(typeof u=="function")return On(u);if(typeof u=="object")return Array.isArray(u)?C6(u):L6(u);if(typeof u=="string")return B6(u);throw new Error("Expected function, string, or object as test")});function C6(u){const t=[];let n=-1;for(;++n":""))+")"})}return y;function y(){let p=M4,E,B,M;if((!t||s(_,m,D[D.length-1]||void 0))&&(p=v6(n(_,D)),p[0]===fr))return p;if("children"in _&&_.children){const C=_;if(C.children&&p[0]!==Pr)for(B=(a?C.children.length:-1)+o,M=D.concat(C);B>-1&&Bi.type==="text",(i,s,o)=>{let c=C4(i.value);return typeof c=="string"?c=[lt("text",c)]:c=c.map(_=>typeof _=="string"?lt("text",_):lt("link",{url:_.props.href},[lt("text",_.props.href)])).filter(_=>_).flat(),o.children.splice(s,1,...c),[Pr,(s!=null?s:0)+c.length]})}}function C4(u){let t=$i.exec(u);const n=[];let a=0;for(;t!==null;){let s=t[2],o,c=u.substring(a,t.index+t[1].length);s[0]===" "&&(c+=s[0],s=s.substring(1).trim());const _=s[s.length-1];(_==="."||_===","||_===";"||t[0][0]==="("&&_===")")&&(s=s.substring(0,s.length-1),o=_),n.push(c),n.push({component:x6,props:{href:s}}),o&&n.push(o),a=t.index+t[0].length,t=$i.exec(u)}n.push(u.substring(a));const i=n.map(s=>typeof s=="string"?s:s.props.href).join("");return u===i?n:(i0.error("[NcRichText] Failed to reassemble the chunked text: "+u),u)}function Ir(u,t){const n=(D,f)=>D.startsWith(f)?D.slice(f.length):D,a=(D,...f)=>f.reduce((y,p)=>n(y,p),D);if(!u)return null;const i=/^https?:\/\//.test(t),s=/^[a-z][a-z0-9+.-]*:.+/.test(t);if(!i&&s||i&&!t.startsWith(xi())||!i&&!t.startsWith("/"))return null;const o=i?a(t,xi(),"/index.php"):t,c=a(u.options.history.base,G_(),"/index.php"),_=a(o,c)||"/",m=u.resolve(_);return m.matched.length?m.fullPath:null}function w6(u){return window._nc_contacts_menu_hooks?Object.values(window._nc_contacts_menu_hooks).filter(t=>t.enabled(u)):[]}const T6=new Int32Array(4),vu=class vu{constructor(){Ee(this,"_dataLength",0);Ee(this,"_bufferLength",0);Ee(this,"_state",new Int32Array(4));Ee(this,"_buffer",new ArrayBuffer(68));Ee(this,"_buffer8");Ee(this,"_buffer32");this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){const n=vu.hexChars,a=vu.hexOut;let i,s,o,c;for(c=0;c<4;c+=1)for(s=c*8,i=t[c],o=0;o<8;o+=2)a[s+1+o]=n.charAt(i&15),i>>>=4,a[s+0+o]=n.charAt(i&15),i>>>=4;return a.join("")}static _md5cycle(t,n){let a=t[0],i=t[1],s=t[2],o=t[3];a+=(i&s|~i&o)+n[0]-680876936|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[1]-389564586|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[2]+606105819|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[3]-1044525330|0,i=(i<<22|i>>>10)+s|0,a+=(i&s|~i&o)+n[4]-176418897|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[5]+1200080426|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[6]-1473231341|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[7]-45705983|0,i=(i<<22|i>>>10)+s|0,a+=(i&s|~i&o)+n[8]+1770035416|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[9]-1958414417|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[10]-42063|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[11]-1990404162|0,i=(i<<22|i>>>10)+s|0,a+=(i&s|~i&o)+n[12]+1804603682|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[13]-40341101|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[14]-1502002290|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[15]+1236535329|0,i=(i<<22|i>>>10)+s|0,a+=(i&o|s&~o)+n[1]-165796510|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[6]-1069501632|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[11]+643717713|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[0]-373897302|0,i=(i<<20|i>>>12)+s|0,a+=(i&o|s&~o)+n[5]-701558691|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[10]+38016083|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[15]-660478335|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[4]-405537848|0,i=(i<<20|i>>>12)+s|0,a+=(i&o|s&~o)+n[9]+568446438|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[14]-1019803690|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[3]-187363961|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[8]+1163531501|0,i=(i<<20|i>>>12)+s|0,a+=(i&o|s&~o)+n[13]-1444681467|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[2]-51403784|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[7]+1735328473|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[12]-1926607734|0,i=(i<<20|i>>>12)+s|0,a+=(i^s^o)+n[5]-378558|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[8]-2022574463|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[11]+1839030562|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[14]-35309556|0,i=(i<<23|i>>>9)+s|0,a+=(i^s^o)+n[1]-1530992060|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[4]+1272893353|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[7]-155497632|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[10]-1094730640|0,i=(i<<23|i>>>9)+s|0,a+=(i^s^o)+n[13]+681279174|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[0]-358537222|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[3]-722521979|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[6]+76029189|0,i=(i<<23|i>>>9)+s|0,a+=(i^s^o)+n[9]-640364487|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[12]-421815835|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[15]+530742520|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[2]-995338651|0,i=(i<<23|i>>>9)+s|0,a+=(s^(i|~o))+n[0]-198630844|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[7]+1126891415|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[14]-1416354905|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[5]-57434055|0,i=(i<<21|i>>>11)+s|0,a+=(s^(i|~o))+n[12]+1700485571|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[3]-1894986606|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[10]-1051523|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[1]-2054922799|0,i=(i<<21|i>>>11)+s|0,a+=(s^(i|~o))+n[8]+1873313359|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[15]-30611744|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[6]-1560198380|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[13]+1309151649|0,i=(i<<21|i>>>11)+s|0,a+=(s^(i|~o))+n[4]-145523070|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[11]-1120210379|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[2]+718787259|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[9]-343485551|0,i=(i<<21|i>>>11)+s|0,t[0]=a+t[0]|0,t[1]=i+t[1]|0,t[2]=s+t[2]|0,t[3]=o+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(vu.stateIdentity),this}appendStr(t){const n=this._buffer8,a=this._buffer32;let i=this._bufferLength,s,o;for(o=0;o>>6)+192,n[i++]=s&63|128;else if(s<55296||s>56319)n[i++]=(s>>>12)+224,n[i++]=s>>>6&63|128,n[i++]=s&63|128;else{if(s=(s-55296)*1024+(t.charCodeAt(++o)-56320)+65536,s>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[i++]=(s>>>18)+240,n[i++]=s>>>12&63|128,n[i++]=s>>>6&63|128,n[i++]=s&63|128}i>=64&&(this._dataLength+=64,vu._md5cycle(this._state,a),i-=64,a[0]=a[16])}return this._bufferLength=i,this}appendAsciiStr(t){const n=this._buffer8,a=this._buffer32;let i=this._bufferLength,s,o=0;for(;;){for(s=Math.min(t.length-o,64-i);s--;)n[i++]=t.charCodeAt(o++);if(i<64)break;this._dataLength+=64,vu._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}appendByteArray(t){const n=this._buffer8,a=this._buffer32;let i=this._bufferLength,s,o=0;for(;;){for(s=Math.min(t.length-o,64-i);s--;)n[i++]=t[o++];if(i<64)break;this._dataLength+=64,vu._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const n=t.buffer,a=t.state,i=this._state;let s;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=a[0],i[1]=a[1],i[2]=a[2],i[3]=a[3],s=0;s>2)+1;this._dataLength+=n;const o=this._dataLength*8;if(a[n]=128,a[n+1]=a[n+2]=a[n+3]=0,i.set(vu.buffer32Identity.subarray(s),s),n>55&&(vu._md5cycle(this._state,i),i.set(vu.buffer32Identity)),o<=4294967295)i[14]=o;else{const c=o.toString(16).match(/(.*?)(.{0,8})$/);if(c===null)return t?T6:"";const _=parseInt(c[2],16),m=parseInt(c[1],16)||0;i[14]=_,i[15]=m}return vu._md5cycle(this._state,i),t?this._state:vu._hex(this._state)}};Ee(vu,"stateIdentity",new Int32Array([1732584193,-271733879,-1732584194,271733878])),Ee(vu,"buffer32Identity",new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Ee(vu,"hexChars","0123456789abcdef"),Ee(vu,"hexOut",[]),Ee(vu,"onePassHasher",new vu);let vn=vu;if(vn.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");te(Z_);class Pu{constructor(t,n,a,i){this.r=t,this.g=n,this.b=a,this.name=i,this.r=Math.min(t,255),this.g=Math.min(n,255),this.b=Math.min(a,255),this.name=i}get color(){const t=n=>"00".concat(n.toString(16)).slice(-2);return"#".concat(t(this.r)).concat(t(this.g)).concat(t(this.b))}}function S6(u,t,n){return{r:(n.r-t.r)/u,g:(n.g-t.g)/u,b:(n.b-t.b)/u}}function Va(u,t,n){const a=[];a.push(t);const i=S6(u,t,n);for(let s=1;s/g,c=/<\/?([^\s\/>]+)/;function _(E,B,M){E=E||"",B=B||[],M=M||"";let C=D(B,M);return f(E,C)}function m(E,B){E=E||[],B=B||"";let M=D(E,B);return function(C){return f(C||"",M)}}_.init_streaming_mode=m;function D(E,B){return E=y(E),{allowable_tags:E,tag_replacement:B,state:a,tag_buffer:"",depth:0,in_quote_char:""}}function f(E,B){if(typeof E!="string")throw new TypeError("'html' parameter must be a string");let M=B.allowable_tags,C=B.tag_replacement,v=B.state,b=B.tag_buffer,P=B.depth,q=B.in_quote_char,Y="";for(let V=0,O=E.length;V":if(q)break;if(P){P--;break}q="",v=a,b+=">",M.has(p(b))?Y+=b:Y+=C,b="";break;case'"':case"'":Q===q?q="":q=q||Q,b+=Q;break;case"-":b===""?(b.slice(-2)=="--"&&(v=a),b=""):b+=Q)}return B.state=v,B.tag_buffer=b,B.depth=P,B.in_quote_char=q,Y}function y(E){let B=new Set;if(typeof E=="string"){let M;for(;M=o.exec(E);)B.add(M[1])}else!n.nonNative&&typeof E[n.iterator]=="function"?B=new Set(E):typeof E.forEach=="function"&&E.forEach(B.add,B);return B}function p(E){let B=c.exec(E);return B?B[1].toLowerCase():null}u.exports?u.exports=_:t.striptags=_})(O6)})(Dr)),Dr.exports}P6();function I6(u,t){var s;const n=((t==null?void 0:t.size)||64)<=64?64:512,a=t!=null&&t.isGuest?"/guest":"",i=((s=t==null?void 0:t.isDarkTheme)!=null?s:dr(document.body))?"/dark":"";return l4("/avatar".concat(a,"/{user}/{size}").concat(i),{user:u,size:n})}const W6='\n\n \n\n',z6='\n\n \n\n',N6='\n\n \n\n',Xi='\n\n \n\n',R6='\n\n \n\n';te(K_),te(Q_);function L4(u){switch(u){case"away":return cu("away");case"busy":return cu("busy");case"dnd":return cu("do not disturb");case"online":return cu("online");case"invisible":return cu("invisible");case"offline":return cu("offline");default:return u}}const U6=["aria-hidden","aria-label","innerHTML"],V6=Ae({__name:"NcUserStatusIcon",props:mr({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(u){const t=m4(u,"status"),n=u,a=G(()=>t.value&&["invisible","offline"].includes(t.value)),i=G(()=>t.value&&(!n.ariaHidden||n.ariaHidden==="false")?cu("User status: {status}",{status:L4(t.value)}):void 0);be(()=>n.user,async c=>{var _,m,D,f;if(!t.value&&c&&((m=(_=E4())==null?void 0:_.user_status)!=null&&m.enabled))try{const{data:y}=await x0.get(ot("/apps/user_status/api/v1/statuses/{user}",{user:c}));t.value=(f=(D=y.ocs)==null?void 0:D.data)==null?void 0:f.status}catch(y){i0.debug("Error while fetching user status",{error:y})}},{immediate:!0});const s={online:R6,away:W6,busy:z6,dnd:N6,invisible:Xi,offline:Xi},o=G(()=>t.value&&s[t.value]);return(c,_)=>t.value?(S(),I("span",{key:0,class:Tu(["user-status-icon",{"user-status-icon--invisible":a.value}]),"aria-hidden":!i.value||void 0,"aria-label":i.value,role:"img",innerHTML:o.value},null,10,U6)):_u("",!0)}}),J6=Me(V6,[["__scopeId","data-v-881a79fb"]]),$6={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){var u,t,n,a;return((a=(n=(t=(u=this.$slots).default)==null?void 0:t.call(u)[0].children)==null?void 0:n.trim)==null?void 0:a.call(n))||""}}},Pn={mixins:[$6],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null}},inject:{closeMenu:{from:X_}},emits:["click"],created(){"ariaHidden"in this.$attrs},computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch(u){return!1}}},methods:{onClick(u){this.$emit("click",u),this.closeAfterClick&&this.closeMenu(!1)}}},q6={name:"NcActionButton",components:{NcIconSvgWrapper:wr},mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}},props:{disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:u=>["button","checkbox","radio","reset","submit"].includes(u)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},emits:["update:modelValue"],setup(){return{mdiCheck:y4,mdiChevronRight:e6}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const u={};return this.isInSemanticMenu?(u.role="menuitem",this.type==="radio"?(u.role="menuitemradio",u["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(u.role="menuitemcheckbox",u["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(u["aria-pressed"]=this.modelValue?"true":"false"),u}},methods:{handleClick(u){this.onClick(u),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}},G6=["role"],Z6=["aria-label","disabled","title","type"],K6={class:"action-button__longtext-wrapper"},Q6={key:0,class:"action-button__name"},X6=["textContent"],uh={key:2,class:"action-button__text"},eh=["textContent"],th={key:2,class:"action-button__pressed-icon material-design-icon"};function nh(u,t,n,a,i,s){const o=Ju("NcIconSvgWrapper");return S(),I("li",{class:Tu(["action",{"action--disabled":n.disabled}]),role:s.isInSemanticMenu&&"presentation"},[au("button",j0({"aria-label":u.ariaLabel,class:["action-button button-vue",{"action-button--active":s.isChecked,focusable:s.isFocusable}],disabled:n.disabled,title:u.title,type:s.nativeType},s.buttonAttributes,{onClick:t[0]||(t[0]=(...c)=>s.handleClick&&s.handleClick(...c))}),[yu(u.$slots,"icon",{},()=>[au("span",{class:Tu([[u.isIconUrl?"action-button__icon--url":u.icon],"action-button__icon"]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null}),"aria-hidden":"true"},null,6)],!0),au("span",K6,[u.name?(S(),I("strong",Q6,tu(u.name),1)):_u("",!0),u.isLongText?(S(),I("span",{key:1,class:"action-button__longtext",textContent:tu(u.text)},null,8,X6)):(S(),I("span",uh,tu(u.text),1)),n.description?(S(),I("span",{key:3,class:"action-button__description",textContent:tu(n.description)},null,8,eh)):_u("",!0)]),n.isMenu?(S(),ku(o,{key:0,class:"action-button__menu-icon",directional:"",path:a.mdiChevronRight},null,8,["path"])):s.isChecked?(S(),ku(o,{key:1,path:a.mdiCheck,class:"action-button__pressed-icon"},null,8,["path"])):s.isChecked===!1?(S(),I("span",th)):_u("",!0),_u("",!0)],16,Z6)],10,G6)}const ah=Me(q6,[["render",nh],["__scopeId","data-v-6c2daf4e"]]),rh={name:"NcActionLink",mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}},props:{href:{type:String,required:!0,validator:u=>{try{return new URL(u)}catch(t){return u.startsWith("#")||u.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:u=>u&&(!u.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(u)>-1)},title:{type:String,default:null}}},sh=["role"],ih=["download","href","aria-label","target","title","role"],oh={key:0,class:"action-link__longtext-wrapper"},lh={class:"action-link__name"},dh=["textContent"],ch=["textContent"],_h={key:2,class:"action-link__text"};function mh(u,t,n,a,i,s){return S(),I("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[au("a",{download:n.download,href:n.href,"aria-label":u.ariaLabel,target:n.target,title:n.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:s.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...o)=>u.onClick&&u.onClick(...o))},[yu(u.$slots,"icon",{},()=>[au("span",{"aria-hidden":"true",class:Tu(["action-link__icon",[u.isIconUrl?"action-link__icon--url":u.icon]]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null})},null,6)],!0),u.name?(S(),I("span",oh,[au("strong",lh,tu(u.name),1),t[1]||(t[1]=au("br",null,null,-1)),au("span",{class:"action-link__longtext",textContent:tu(u.text)},null,8,dh)])):u.isLongText?(S(),I("span",{key:1,class:"action-link__longtext",textContent:tu(u.text)},null,8,ch)):(S(),I("span",_h,tu(u.text),1)),_u("",!0)],8,ih)],8,sh)}const hh=Me(rh,[["render",mh],["__scopeId","data-v-32f01b7a"]]),fh={name:"NcActionRouter",mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}},props:{to:{type:[String,Object],required:!0}}},Dh=["role"],ph={key:0,class:"action-router__longtext-wrapper"},yh={class:"action-router__name"},Eh=["textContent"],gh=["textContent"],Mh={key:2,class:"action-router__text"};function Ah(u,t,n,a,i,s){const o=Ju("RouterLink");return S(),I("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[ne(o,{"aria-label":u.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:s.isInSemanticMenu&&"menuitem",title:u.title,to:n.to,onClick:u.onClick},{default:$u(()=>[yu(u.$slots,"icon",{},()=>[au("span",{"aria-hidden":"true",class:Tu(["action-router__icon",[u.isIconUrl?"action-router__icon--url":u.icon]]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null})},null,6)],!0),u.name?(S(),I("span",ph,[au("strong",yh,tu(u.name),1),t[0]||(t[0]=au("br",null,null,-1)),au("span",{class:"action-router__longtext",textContent:tu(u.text)},null,8,Eh)])):u.isLongText?(S(),I("span",{key:1,class:"action-router__longtext",textContent:tu(u.text)},null,8,gh)):(S(),I("span",Mh,tu(u.text),1)),_u("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,Dh)}const Ch=Me(fh,[["render",Ah],["__scopeId","data-v-87267750"]]),Lh={name:"NcActionText",mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}}},Bh=["role"],kh={key:0,class:"action-text__longtext-wrapper"},Fh={class:"action-text__name"},Yh=["textContent"],vh=["textContent"],xh={key:2,class:"action-text__text"};function bh(u,t,n,a,i,s){return S(),I("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[au("span",{class:"action-text",onClick:t[0]||(t[0]=(...o)=>u.onClick&&u.onClick(...o))},[yu(u.$slots,"icon",{},()=>[u.icon!==""?(S(),I("span",{key:0,"aria-hidden":"true",class:Tu(["action-text__icon",[u.isIconUrl?"action-text__icon--url":u.icon]]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null})},null,6)):_u("",!0)],!0),u.name?(S(),I("span",kh,[au("strong",Fh,tu(u.name),1),au("span",{class:"action-text__longtext",textContent:tu(u.text)},null,8,Yh)])):u.isLongText?(S(),I("span",{key:1,class:"action-text__longtext",textContent:tu(u.text)},null,8,vh)):(S(),I("span",xh,tu(u.text),1)),_u("",!0)])],8,Bh)}const wh=Me(Lh,[["render",bh],["__scopeId","data-v-fa684b48"]]);te(um);const Th={data(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{async fetchUserStatus(u){var n,a;if(!u)return;const t=E4();if(!(!Object.hasOwn(t,"user_status")||!t.user_status.enabled)&&Rt())try{const{data:i}=await x0.get(ot("apps/user_status/api/v1/statuses/{userId}",{userId:u}));this.setUserStatus(i.ocs.data)}catch(i){if(i.response.status===404&&((a=(n=i.response.data.ocs)==null?void 0:n.data)==null?void 0:a.length)===0)return;i0.error("Failed to fetch user status",{error:i})}},setUserStatus({status:u,message:t,icon:n}){this.userStatus.status=u||"",this.userStatus.message=t||"",this.userStatus.icon=n||"",this.hasStatus=!!u}}},B4=bm("nextcloud").persist().build();function Sh(u){const t=B4.getItem("user-has-avatar."+u);return typeof t=="string"?!!t:null}function uo(u,t){u&&B4.setItem("user-has-avatar."+u,t)}const Hh={name:"NcAvatar",directives:{ClickOutside:A6},components:{IconDotsHorizontal:nm,NcActions:tm,NcButton:Tr,NcIconSvgWrapper:wr,NcLoadingIcon:em,NcUserStatusIcon:J6},mixins:[Th],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},hideStatus:{type:Boolean,default:!1},verboseStatus:{type:Boolean,default:!1},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},noPlaceholder:{type:Boolean,default:!1},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},menuContainer:{type:[Boolean,String,Object,Element],default:"body"}},setup(){return{isDarkTheme:s6()}},data(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuLoading:!1,contactsMenuData:{},contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{avatarAriaLabel(){var u,t;if(this.hasMenu)return this.canDisplayUserStatus||this.showUserStatusIconOnAvatar?cu("Avatar of {displayName}, {status}",{displayName:(u=this.displayName)!=null?u:this.user,status:L4(this.userStatus.status)}):cu("Avatar of {displayName}",{displayName:(t=this.displayName)!=null?t:this.user})},canDisplayUserStatus(){return!this.hideStatus&&this.hasStatus&&["online","away","busy","dnd"].includes(this.userStatus.status)},showUserStatusIconOnAvatar(){return!this.hideStatus&&!this.verboseStatus&&this.hasStatus&&this.userStatus.status!=="dnd"&&this.userStatus.icon},userIdentifier(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined(){return typeof this.user<"u"},isDisplayNameDefined(){return typeof this.displayName<"u"},isUrlDefined(){return typeof this.url<"u"},hasMenu(){var u;return this.disableMenu?!1:this.isMenuLoaded?this.menu.length>0:!(this.user===((u=Rt())==null?void 0:u.uid)||this.userDoesNotExist||this.url)},showInitials(){return!this.noPlaceholder&&this.userDoesNotExist&&!(this.iconClass||this.$slots.icon)},avatarStyle(){return{"--avatar-size":this.size+"px",lineHeight:this.showInitials?this.size+"px":0,fontSize:Math.round(this.size*.45)+"px"}},initialsWrapperStyle(){const{r:u,g:t,b:n}=Ki(this.userIdentifier);return{backgroundColor:"rgba(".concat(u,", ").concat(t,", ").concat(n,", 0.1)")}},initialsStyle(){const{r:u,g:t,b:n}=Ki(this.userIdentifier);return{color:"rgb(".concat(u,", ").concat(t,", ").concat(n,")")}},tooltip(){return this.disableTooltip?null:this.tooltipMessage?this.tooltipMessage:this.displayName},initials(){let u="?";if(this.showInitials){const t=this.userIdentifier.trim();if(t==="")return u;const n=t.match(new RegExp("[\\p{L}\\p{N}\\s]","gu"));if(!n)return u;const a=n.join(""),i=a.lastIndexOf(" ");u=String.fromCodePoint(a.codePointAt(0)),i!==-1&&(u=u.concat(String.fromCodePoint(a.codePointAt(i+1))))}return u.toLocaleUpperCase()},menu(){const u=this.contactsMenuActions.map(n=>{const a=Ir(this.$router,n.hyperlink);return{ncActionComponent:a?Ch:hh,ncActionComponentProps:a?{to:a,icon:n.icon}:{href:n.hyperlink,icon:n.icon},text:n.title}});for(const n of w6(this.contactsMenuData))try{u.push({ncActionComponent:ah,ncActionComponentProps:{onClick:()=>n.callback(this.contactsMenuData)},text:n.displayName(this.contactsMenuData),iconSvg:n.iconSvg(this.contactsMenuData)})}catch(a){i0.error("Failed to render ContactsMenu action ".concat(n.id),{error:a,action:n})}function t(n){const a=document.createTextNode(n),i=document.createElement("p");return i.appendChild(a),i.innerHTML}if(!this.hideStatus&&(this.userStatus.icon||this.userStatus.message)){const n='\n '.concat(t(this.userStatus.icon),"\n ");return[{ncActionComponent:wh,ncActionComponentProps:{},iconSvg:this.userStatus.icon?n:void 0,text:"".concat(this.userStatus.message)}].concat(u)}return u}},watch:{url(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted(){this.loadAvatarUrl(),Wa("settings:avatar:updated",this.loadAvatarUrl),Wa("settings:display-name:updated",this.loadAvatarUrl),!this.hideStatus&&this.user&&!this.isNoUser?(this.preloadedUserStatus?this.setUserStatus(this.preloadedUserStatus):this.fetchUserStatus(this.user),Wa("user_status:status.updated",this.handleUserStatusUpdated)):!this.hideStatus&&this.preloadedUserStatus&&this.setUserStatus(this.preloadedUserStatus)},beforeUnmount(){Ia("settings:avatar:updated",this.loadAvatarUrl),Ia("settings:display-name:updated",this.loadAvatarUrl),Ia("user_status:status.updated",this.handleUserStatusUpdated)},methods:{t:cu,handleUserStatusUpdated(u){this.user===u.userId&&(this.userStatus={status:u.status,icon:u.icon,message:u.message},this.hasStatus=u.status!==null)},async toggleMenu(u){u.type==="keydown"&&u.key!=="Enter"||(this.contactsMenuOpenState||await this.fetchContactsMenu(),this.contactsMenuOpenState=!this.contactsMenuOpenState)},closeMenu(){this.contactsMenuOpenState=!1},async fetchContactsMenu(){this.contactsMenuLoading=!0;try{const u=encodeURIComponent(this.user),{data:t}=await x0.post(l4("contactsmenu/findOne"),"shareType=0&shareWith=".concat(u));this.contactsMenuData=t,this.contactsMenuActions=t.topAction?[t.topAction].concat(t.actions):t.actions}catch(u){this.contactsMenuOpenState=!1}this.contactsMenuLoading=!1,this.isMenuLoaded=!0},loadAvatarUrl(){if(this.isAvatarLoaded=!1,!this.isUrlDefined&&(!this.isUserDefined||this.isNoUser||this.iconClass||this.$slots.icon)){this.isAvatarLoaded=!0,this.userDoesNotExist=!0;return}if(this.isUrlDefined){this.updateImageIfValid(this.url);return}if(this.size<=64){const u=this.avatarUrlGenerator(this.user,64),t=[u+" 1x",this.avatarUrlGenerator(this.user,512)+" 8x"].join(", ");this.updateImageIfValid(u,t)}else{const u=this.avatarUrlGenerator(this.user,512);this.updateImageIfValid(u)}},avatarUrlGenerator(u,t){var a;let n=I6(u,{size:t,isDarkTheme:this.isDarkTheme,isGuest:this.isGuest});return u===((a=Rt())==null?void 0:a.uid)&&typeof oc_userconfig<"u"&&(n+="?v="+window.oc_userconfig.avatar.version),n},updateImageIfValid(u,t=null){const n=Sh(this.user);if(this.isUserDefined&&typeof n=="boolean"){this.isAvatarLoaded=!0,this.avatarUrlLoaded=u,t&&(this.avatarSrcSetLoaded=t),n===!1&&(this.userDoesNotExist=!0);return}const a=new Image;a.onload=()=>{this.avatarUrlLoaded=u,t&&(this.avatarSrcSetLoaded=t),this.isAvatarLoaded=!0,uo(this.user,!0)},a.onerror=i=>{i0.debug("[NcAvatar] Invalid avatar url",{error:i,url:u}),this.avatarUrlLoaded=null,this.avatarSrcSetLoaded=null,this.userDoesNotExist=!0,this.isAvatarLoaded=!1,uo(this.user,!1)},t&&(a.srcset=t),a.src=u}}},jh=["title"],Oh=["src","srcset"],Ph={key:2,class:"avatardiv__user-status avatardiv__user-status--icon"};function Ih(u,t,n,a,i,s){const o=Ju("NcLoadingIcon"),c=Ju("IconDotsHorizontal"),_=Ju("NcButton"),m=Ju("NcIconSvgWrapper"),D=Ju("NcActions"),f=Ju("NcUserStatusIcon"),y=h4("click-outside");return Ln((S(),I("span",{class:Tu(["avatardiv popovermenu-wrapper",{"avatardiv--unknown":i.userDoesNotExist,"avatardiv--with-menu":s.hasMenu,"avatardiv--with-menu-loading":i.contactsMenuLoading}]),style:We(s.avatarStyle),title:s.tooltip},[yu(u.$slots,"icon",{},()=>[n.iconClass?(S(),I("span",{key:0,class:Tu([n.iconClass,"avatar-class-icon"])},null,2)):i.isAvatarLoaded&&!i.userDoesNotExist?(S(),I("img",{key:1,src:i.avatarUrlLoaded,srcset:i.avatarSrcSetLoaded,alt:""},null,8,Oh)):_u("",!0)],!0),s.hasMenu&&s.menu.length===0?(S(),ku(_,{key:0,"aria-label":s.avatarAriaLabel,class:"action-item action-item__menutoggle",variant:"tertiary-no-background",onClick:s.toggleMenu},{icon:$u(()=>[i.contactsMenuLoading?(S(),ku(o,{key:0})):(S(),ku(c,{key:1,size:20}))]),_:1},8,["aria-label","onClick"])):s.hasMenu?(S(),ku(D,{key:1,open:i.contactsMenuOpenState,"onUpdate:open":t[0]||(t[0]=p=>i.contactsMenuOpenState=p),"aria-label":s.avatarAriaLabel,container:n.menuContainer,forceMenu:"",manualOpen:"",variant:"tertiary-no-background",onClick:s.toggleMenu},bi({default:$u(()=>[(S(!0),I(ft,null,Nt(s.menu,(p,E)=>(S(),ku(s0(p.ncActionComponent),j0({key:E},{ref_for:!0},p.ncActionComponentProps),bi({default:$u(()=>[H0(" "+tu(p.text),1)]),_:2},[p.iconSvg?{name:"icon",fn:$u(()=>[ne(m,{svg:p.iconSvg},null,8,["svg"])]),key:"0"}:void 0]),1040))),128))]),_:2},[i.contactsMenuLoading?{name:"icon",fn:$u(()=>[ne(o)]),key:"0"}:void 0]),1032,["open","aria-label","container","onClick"])):_u("",!0),s.showUserStatusIconOnAvatar?(S(),I("span",Ph,tu(u.userStatus.icon),1)):s.canDisplayUserStatus?(S(),ku(f,{key:3,class:"avatardiv__user-status",status:u.userStatus.status,"aria-hidden":String(s.hasMenu)},null,8,["status","aria-hidden"])):_u("",!0),s.showInitials?(S(),I("span",{key:4,style:We(s.initialsWrapperStyle),class:"avatardiv__initials-wrapper"},[au("span",{style:We(s.initialsStyle),class:"avatardiv__initials"},tu(s.initials),5)],4)):_u("",!0)],14,jh)),[[y,s.closeMenu]])}const Wr=Me(Hh,[["render",Ih],["__scopeId","data-v-72a1eed6"]]),Wh=["data-timestamp","title","textContent"],k4=Ae({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(u){const t=u,n=G(()=>({format:t.format})),a=G(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),i=rm(wi(()=>t.timestamp),n),s=am(wi(()=>t.timestamp),a),o=G(()=>t.relativeTime?s.value:i.value);return(c,_)=>(S(),I("span",{class:"nc-datetime",dir:"auto","data-timestamp":c.timestamp,title:wu(i),textContent:tu(o.value)},null,8,Wh))}}),F4=-1,In=0,Pt=1,xn=2,zr=3,Nr=4,Rr=5,Ur=6,Y4=7,v4=8,eo=typeof self=="object"?self:globalThis,zh=(u,t)=>{const n=(i,s)=>(u.set(s,i),i),a=i=>{if(u.has(i))return u.get(i);const[s,o]=t[i];switch(s){case In:case F4:return n(o,i);case Pt:{const c=n([],i);for(const _ of o)c.push(a(_));return c}case xn:{const c=n({},i);for(const[_,m]of o)c[a(_)]=a(m);return c}case zr:return n(new Date(o),i);case Nr:{const{source:c,flags:_}=o;return n(new RegExp(c,_),i)}case Rr:{const c=n(new Map,i);for(const[_,m]of o)c.set(a(_),a(m));return c}case Ur:{const c=n(new Set,i);for(const _ of o)c.add(a(_));return c}case Y4:{const{name:c,message:_}=o;return n(new eo[c](_),i)}case v4:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:c}=new Uint8Array(o);return n(new DataView(c),o)}}return n(new eo[s](o),i)};return a},to=u=>zh(new Map,u)(0),at="",{toString:Nh}={},{keys:Rh}=Object,wt=u=>{const t=typeof u;if(t!=="object"||!u)return[In,t];const n=Nh.call(u).slice(8,-1);switch(n){case"Array":return[Pt,at];case"Object":return[xn,at];case"Date":return[zr,at];case"RegExp":return[Nr,at];case"Map":return[Rr,at];case"Set":return[Ur,at];case"DataView":return[Pt,n]}return n.includes("Array")?[Pt,n]:n.includes("Error")?[Y4,n]:[xn,n]},En=([u,t])=>u===In&&(t==="function"||t==="symbol"),Uh=(u,t,n,a)=>{const i=(o,c)=>{const _=a.push(o)-1;return n.set(c,_),_},s=o=>{if(n.has(o))return n.get(o);let[c,_]=wt(o);switch(c){case In:{let D=o;switch(_){case"bigint":c=v4,D=o.toString();break;case"function":case"symbol":if(u)throw new TypeError("unable to serialize "+_);D=null;break;case"undefined":return i([F4],o)}return i([c,D],o)}case Pt:{if(_){let y=o;return _==="DataView"?y=new Uint8Array(o.buffer):_==="ArrayBuffer"&&(y=new Uint8Array(o)),i([_,[...y]],o)}const D=[],f=i([c,D],o);for(const y of o)D.push(s(y));return f}case xn:{if(_)switch(_){case"BigInt":return i([_,o.toString()],o);case"Boolean":case"Number":case"String":return i([_,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const D=[],f=i([c,D],o);for(const y of Rh(o))(u||!En(wt(o[y])))&&D.push([s(y),s(o[y])]);return f}case zr:return i([c,o.toISOString()],o);case Nr:{const{source:D,flags:f}=o;return i([c,{source:D,flags:f}],o)}case Rr:{const D=[],f=i([c,D],o);for(const[y,p]of o)(u||!(En(wt(y))||En(wt(p))))&&D.push([s(y),s(p)]);return f}case Ur:{const D=[],f=i([c,D],o);for(const y of o)(u||!En(wt(y)))&&D.push(s(y));return f}}const{message:m}=o;return i([c,{name:_,message:m}],o)};return s},no=(u,{json:t,lossy:n}={})=>{const a=[];return Uh(!(t||n),!!t,new Map,a)(u),a},S0=typeof structuredClone=="function"?(u,t)=>t&&("json"in t||"lossy"in t)?to(no(u,t)):structuredClone(u):(u,t)=>to(no(u,t)),x4=(function(u){if(u==null)return $h;if(typeof u=="string")return Jh(u);if(typeof u=="object")return Vh(u);if(typeof u=="function")return Vr(u);throw new Error("Expected function, string, or array as `test`")});function Vh(u){const t=[];let n=-1;for(;++n0&&(s.properties.rel=[...y]),p&&(s.properties.target=p),D){const B=Tt(t.contentProperties,s)||{};s.children.push({type:"element",tagName:"span",properties:S0(B),children:S0(D)})}}}})}}function Tt(u,t){return typeof u=="function"?u(t):u}function a2(u,t){const n={};return(u[u.length-1]===""?[...u,""]:u).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const r2=new RegExp("^[$_\\p{ID_Start}][$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$","u"),s2=new RegExp("^[$_\\p{ID_Start}][-$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$","u"),i2={};function ao(u,t){return(i2.jsx?s2:r2).test(u)}const o2=/[ \t\n\f\r]/g;function l2(u){return typeof u=="object"?u.type==="text"?ro(u.value):!1:ro(u)}function ro(u){return u.replace(o2,"")===""}class It{constructor(t,n,a){this.normal=n,this.property=t,a&&(this.space=a)}}It.prototype.normal={},It.prototype.property={},It.prototype.space=void 0;function b4(u,t){const n={},a={};for(const i of u)Object.assign(n,i.property),Object.assign(a,i.normal);return new It(n,a,t)}function pr(u){return u.toLowerCase()}class Vu{constructor(t,n){this.attribute=n,this.property=t}}Vu.prototype.attribute="",Vu.prototype.booleanish=!1,Vu.prototype.boolean=!1,Vu.prototype.commaOrSpaceSeparated=!1,Vu.prototype.commaSeparated=!1,Vu.prototype.defined=!1,Vu.prototype.mustUseProperty=!1,Vu.prototype.number=!1,Vu.prototype.overloadedBoolean=!1,Vu.prototype.property="",Vu.prototype.spaceSeparated=!1,Vu.prototype.space=void 0;let d2=0;const nu=I0(),Bu=I0(),yr=I0(),T=I0(),hu=I0(),_t=I0(),ee=I0();function I0(){return 2**++d2}const Er=Object.freeze(Object.defineProperty({__proto__:null,boolean:nu,booleanish:Bu,commaOrSpaceSeparated:ee,commaSeparated:_t,number:T,overloadedBoolean:yr,spaceSeparated:hu},Symbol.toStringTag,{value:"Module"})),Ja=Object.keys(Er);class Jr extends Vu{constructor(t,n,a,i){let s=-1;if(super(t,n),so(this,"space",i),typeof a=="number")for(;++s4&&n.slice(0,4)==="data"&&f2.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(io,y2);a="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!io.test(s)){let o=s.replace(h2,p2);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Jr}return new i(a,t)}function p2(u){return"-"+u.toLowerCase()}function y2(u){return u.charAt(1).toUpperCase()}const E2=b4([w4,c2,H4,j4,O4],"html"),$r=b4([w4,_2,H4,j4,O4],"svg");var rt={},$a,oo;function g2(){if(oo)return $a;oo=1;var u=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,_="\n",m="/",D="*",f="",y="comment",p="declaration";$a=function(B,M){if(typeof B!="string")throw new TypeError("First argument must be a string");if(!B)return[];M=M||{};var C=1,v=1;function b(N){var U=N.match(t);U&&(C+=U.length);var X=N.lastIndexOf(_);v=~X?N.length-X:v+N.length}function P(){var N={line:C,column:v};return function(U){return U.position=new q(N),O(),U}}function q(N){this.start=N,this.end={line:C,column:v},this.source=M.source}q.prototype.content=B;function Y(N){var U=new Error(M.source+":"+C+":"+v+": "+N);if(U.reason=N,U.filename=M.source,U.line=C,U.column=v,U.source=B,!M.silent)throw U}function V(N){var U=N.exec(B);if(U){var X=U[0];return b(X),B=B.slice(X.length),U}}function O(){V(n)}function Q(N){var U;for(N=N||[];U=k();)U!==!1&&N.push(U);return N}function k(){var N=P();if(!(m!=B.charAt(0)||D!=B.charAt(1))){for(var U=2;f!=B.charAt(U)&&(D!=B.charAt(U)||m!=B.charAt(U+1));)++U;if(U+=2,f===B.charAt(U-1))return Y("End of comment missing");var X=B.slice(2,U-2);return v+=2,b(X),B=B.slice(U),v+=2,N({type:y,comment:X})}}function J(){var N=P(),U=V(a);if(U){if(k(),!V(i))return Y("property missing ':'");var X=V(s),Eu=N({type:p,property:E(U[0].replace(u,f)),value:X?E(X[0].replace(u,f)):f});return V(o),Eu}}function $(){var N=[];Q(N);for(var U;U=J();)U!==!1&&(N.push(U),Q(N));return N}return O(),$()};function E(B){return B?B.replace(c,f):f}return $a}var lo;function M2(){if(lo)return rt;lo=1;var u=rt&&rt.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(rt,"__esModule",{value:!0}),rt.default=n;var t=u(g2());function n(a,i){var s=null;if(!a||typeof a!="string")return s;var o=(0,t.default)(a),c=typeof i=="function";return o.forEach(function(_){if(_.type==="declaration"){var m=_.property,D=_.value;c?i(m,D,_):D&&(s=s||{},s[m]=D)}}),s}return rt}var St={},co;function A2(){if(co)return St;co=1,Object.defineProperty(St,"__esModule",{value:!0}),St.camelCase=void 0;var u=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(m){return!m||n.test(m)||u.test(m)},o=function(m,D){return D.toUpperCase()},c=function(m,D){return"".concat(D,"-")},_=function(m,D){return D===void 0&&(D={}),s(m)?m:(m=m.toLowerCase(),D.reactCompat?m=m.replace(i,c):m=m.replace(a,c),m.replace(t,o))};return St.camelCase=_,St}var Ht,_o;function C2(){if(_o)return Ht;_o=1;var u=Ht&&Ht.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=u(M2()),n=A2();function a(i,s){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(c,_){c&&_&&(o[(0,n.camelCase)(c,s)]=_)}),o}return a.default=a,Ht=a,Ht}var L2=C2();const B2=Hr(L2),P4=I4("end"),qr=I4("start");function I4(u){return t;function t(n){const a=n&&n.position&&n.position[u]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function k2(u){const t=qr(u),n=P4(u);if(t&&n)return{start:t,end:n}}function Wt(u){return!u||typeof u!="object"?"":"position"in u||"type"in u?mo(u.position):"start"in u||"end"in u?mo(u):"line"in u||"column"in u?gr(u):""}function gr(u){return ho(u&&u.line)+":"+ho(u&&u.column)}function mo(u){return gr(u&&u.start)+"-"+gr(u&&u.end)}function ho(u){return u&&typeof u=="number"?u:1}class Hu extends Error{constructor(t,n,a){super(),typeof n=="string"&&(a=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s=j({},n)),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof a=="string"){const _=a.indexOf(":");_===-1?s.ruleId=a:(s.source=a.slice(0,_),s.ruleId=a.slice(_+1))}if(!s.place&&s.ancestors&&s.ancestors){const _=s.ancestors[s.ancestors.length-1];_&&(s.place=_.position)}const c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=c?c.line:void 0,this.name=Wt(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Hu.prototype.file="",Hu.prototype.name="",Hu.prototype.reason="",Hu.prototype.message="",Hu.prototype.stack="",Hu.prototype.column=void 0,Hu.prototype.line=void 0,Hu.prototype.ancestors=void 0,Hu.prototype.cause=void 0,Hu.prototype.fatal=void 0,Hu.prototype.place=void 0,Hu.prototype.ruleId=void 0,Hu.prototype.source=void 0;const Gr={}.hasOwnProperty,F2=new Map,Y2=/[A-Z]/g,v2=new Set(["table","tbody","thead","tfoot","tr"]),x2=new Set(["td","th"]),W4="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function b2(u,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let a;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=I2(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=P2(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?$r:E2,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=z4(i,u,void 0);return s&&typeof s!="string"?s:i.create(u,i.Fragment,{children:s||void 0},void 0)}function z4(u,t,n){if(t.type==="element")return w2(u,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return T2(u,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return H2(u,t,n);if(t.type==="mdxjsEsm")return S2(u,t);if(t.type==="root")return j2(u,t,n);if(t.type==="text")return O2(u,t)}function w2(u,t,n){const a=u.schema;let i=a;t.tagName.toLowerCase()==="svg"&&a.space==="html"&&(i=$r,u.schema=i),u.ancestors.push(t);const s=R4(u,t.tagName,!1),o=W2(u,t);let c=Kr(u,t);return v2.has(t.tagName)&&(c=c.filter(function(_){return typeof _=="string"?!l2(_):!0})),N4(u,o,s,t),Zr(o,c),u.ancestors.pop(),u.schema=a,u.create(t,s,o,n)}function T2(u,t){if(t.data&&t.data.estree&&u.evaluater){const n=t.data.estree.body[0];return n.type,u.evaluater.evaluateExpression(n.expression)}Ut(u,t.position)}function S2(u,t){if(t.data&&t.data.estree&&u.evaluater)return u.evaluater.evaluateProgram(t.data.estree);Ut(u,t.position)}function H2(u,t,n){const a=u.schema;let i=a;t.name==="svg"&&a.space==="html"&&(i=$r,u.schema=i),u.ancestors.push(t);const s=t.name===null?u.Fragment:R4(u,t.name,!0),o=z2(u,t),c=Kr(u,t);return N4(u,o,s,t),Zr(o,c),u.ancestors.pop(),u.schema=a,u.create(t,s,o,n)}function j2(u,t,n){const a={};return Zr(a,Kr(u,t)),u.create(t,u.Fragment,a,n)}function O2(u,t){return t.value}function N4(u,t,n,a){typeof n!="string"&&n!==u.Fragment&&u.passNode&&(t.node=a)}function Zr(u,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(u.children=n)}}function P2(u,t,n){return a;function a(i,s,o,c){const _=Array.isArray(o.children)?n:t;return c?_(s,o,c):_(s,o)}}function I2(u,t){return n;function n(a,i,s,o){const c=Array.isArray(s.children),_=qr(a);return t(i,s,o,c,{columnNumber:_?_.column-1:void 0,fileName:u,lineNumber:_?_.line:void 0},void 0)}}function W2(u,t){const n={};let a,i;for(i in t.properties)if(i!=="children"&&Gr.call(t.properties,i)){const s=N2(u,i,t.properties[i]);if(s){const[o,c]=s;u.tableCellAlignToStyle&&o==="align"&&typeof c=="string"&&x2.has(t.tagName)?a=c:n[o]=c}}if(a){const s=n.style||(n.style={});s[u.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return n}function z2(u,t){const n={};for(const a of t.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&u.evaluater){const i=a.data.estree.body[0];i.type;const s=i.expression;s.type;const o=s.properties[0];o.type,Object.assign(n,u.evaluater.evaluateExpression(o.argument))}else Ut(u,t.position);else{const i=a.name;let s;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&u.evaluater){const o=a.value.data.estree.body[0];o.type,s=u.evaluater.evaluateExpression(o.expression)}else Ut(u,t.position);else s=a.value===null?!0:a.value;n[i]=s}return n}function Kr(u,t){const n=[];let a=-1;const i=u.passKeys?new Map:F2;for(;++a0?{type:"text",value:P}:void 0),P===!1?f.lastIndex=v+1:(p!==v&&M.push({type:"text",value:_.value.slice(p,v)}),Array.isArray(P)?M.push(...P):P&&M.push(P),p=v+C[0].length,B=!0),!f.global)break;C=f.exec(_.value)}return B?(p<_.value.length&&M.push({type:"text",value:_.value.slice(p)}),D.children.splice(E,1,...M)):M=[_],E+M.length}}function Z2(u){const t=[];if(!Array.isArray(u))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!u[0]||Array.isArray(u[0])?u:[u];let a=-1;for(;++ai?0:i+t:t=t>i?i:t,n=n>0?n:0,a.length<1e4)o=Array.from(a),o.unshift(t,n),u.splice(...o);else for(n&&u.splice(t,n);s0?(ze(u,u.length,0,t),u):t}const po={}.hasOwnProperty;function rf(u){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function mt(u){return u.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ie=g0(/[A-Za-z]/),ae=g0(/[\dA-Za-z]/),lf=g0(/[#-'*+\--9=?A-Z^-~]/);function Mr(u){return u!==null&&(u<32||u===127)}const Ar=g0(/\d/),df=g0(/[\dA-Fa-f]/),cf=g0(/[!-/:-@[-`{-~]/);function uu(u){return u!==null&&u<-2}function qu(u){return u!==null&&(u<0||u===32)}function du(u){return u===-2||u===-1||u===32}const _f=g0(new RegExp("\\p{P}|\\p{S}","u")),mf=g0(/\s/);function g0(u){return t;function t(n){return n!==null&&n>-1&&u.test(String.fromCharCode(n))}}function pt(u){const t=[];let n=-1,a=0,i=0;for(;++n55295&&s<57344){const c=u.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(o=String.fromCharCode(s,c),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(u.slice(a,n),encodeURIComponent(o)),a=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+u.slice(a)}function fu(u,t,n,a){const i=a?a-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(_){return du(_)?(u.enter(n),c(_)):t(_)}function c(_){return du(_)&&s++o))return;const V=t.events.length;let O=V,Q,k;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if(Q){k=t.events[O][1].end;break}Q=!0}for(C(a),Y=V;Yb;){const q=n[P];t.containerState=q[1],q[0].exit.call(t,u)}n.length=b}function v(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function yf(u,t,n){return fu(u,u.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Eo(u){if(u===null||qu(u)||mf(u))return 1;if(_f(u))return 2}function Xr(u,t,n){const a=[];let i=-1;for(;++i1&&u[n][1].end.offset-u[n][1].start.offset>1?2:1;const f=j({},u[a][1].end),y=j({},u[n][1].start);go(f,-_),go(y,_),o={type:_>1?"strongSequence":"emphasisSequence",start:f,end:j({},u[a][1].end)},c={type:_>1?"strongSequence":"emphasisSequence",start:j({},u[n][1].start),end:y},s={type:_>1?"strongText":"emphasisText",start:j({},u[a][1].end),end:j({},u[n][1].start)},i={type:_>1?"strong":"emphasis",start:j({},o.start),end:j({},c.end)},u[a][1].end=j({},o.start),u[n][1].start=j({},c.end),m=[],u[a][1].end.offset-u[a][1].start.offset&&(m=ge(m,[["enter",u[a][1],t],["exit",u[a][1],t]])),m=ge(m,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),m=ge(m,Xr(t.parser.constructs.insideSpan.null,u.slice(a+1,n),t)),m=ge(m,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",i,t]]),u[n][1].end.offset-u[n][1].start.offset?(D=2,m=ge(m,[["enter",u[n][1],t],["exit",u[n][1],t]])):D=0,ze(u,a-1,n-a+3,m),n=a+m.length-D-2;break}}for(n=-1;++n0&&du(Y)?fu(u,v,"linePrefix",s+1)(Y):v(Y)}function v(Y){return Y===null||uu(Y)?u.check(Mo,B,P)(Y):(u.enter("codeFlowValue"),b(Y))}function b(Y){return Y===null||uu(Y)?(u.exit("codeFlowValue"),v(Y)):(u.consume(Y),b)}function P(Y){return u.exit("codeFenced"),t(Y)}function q(Y,V,O){let Q=0;return k;function k(X){return Y.enter("lineEnding"),Y.consume(X),Y.exit("lineEnding"),J}function J(X){return Y.enter("codeFencedFence"),du(X)?fu(Y,$,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):$(X)}function $(X){return X===c?(Y.enter("codeFencedFenceSequence"),N(X)):O(X)}function N(X){return X===c?(Q++,Y.consume(X),N):Q>=o?(Y.exit("codeFencedFenceSequence"),du(X)?fu(Y,U,"whitespace")(X):U(X)):O(X)}function U(X){return X===null||uu(X)?(Y.exit("codeFencedFence"),V(X)):O(X)}}}function xf(u,t,n){const a=this;return i;function i(o){return o===null?n(o):(u.enter("lineEnding"),u.consume(o),u.exit("lineEnding"),s)}function s(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}const qa={name:"codeIndented",tokenize:wf},bf={partial:!0,tokenize:Tf};function wf(u,t,n){const a=this;return i;function i(m){return u.enter("codeIndented"),fu(u,s,"linePrefix",5)(m)}function s(m){const D=a.events[a.events.length-1];return D&&D[1].type==="linePrefix"&&D[2].sliceSerialize(D[1],!0).length>=4?o(m):n(m)}function o(m){return m===null?_(m):uu(m)?u.attempt(bf,o,_)(m):(u.enter("codeFlowValue"),c(m))}function c(m){return m===null||uu(m)?(u.exit("codeFlowValue"),o(m)):(u.consume(m),c)}function _(m){return u.exit("codeIndented"),t(m)}}function Tf(u,t,n){const a=this;return i;function i(o){return a.parser.lazy[a.now().line]?n(o):uu(o)?(u.enter("lineEnding"),u.consume(o),u.exit("lineEnding"),i):fu(u,s,"linePrefix",5)(o)}function s(o){const c=a.events[a.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):uu(o)?i(o):n(o)}}const Sf={name:"codeText",previous:jf,resolve:Hf,tokenize:Of};function Hf(u){let t=u.length-4,n=3,a,i;if((u[n][1].type==="lineEnding"||u[n][1].type==="space")&&(u[t][1].type==="lineEnding"||u[t][1].type==="space")){for(a=n;++a=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(t,n,a){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return a&&jt(this.left,a),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),jt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),jt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(o):u.interrupt(a.parser.constructs.flow,n,t)(o)}}function Z4(u,t,n,a,i,s,o,c,_){const m=_||Number.POSITIVE_INFINITY;let D=0;return f;function f(C){return C===60?(u.enter(a),u.enter(i),u.enter(s),u.consume(C),u.exit(s),y):C===null||C===32||C===41||Mr(C)?n(C):(u.enter(a),u.enter(o),u.enter(c),u.enter("chunkString",{contentType:"string"}),B(C))}function y(C){return C===62?(u.enter(s),u.consume(C),u.exit(s),u.exit(i),u.exit(a),t):(u.enter(c),u.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===62?(u.exit("chunkString"),u.exit(c),y(C)):C===null||C===60||uu(C)?n(C):(u.consume(C),C===92?E:p)}function E(C){return C===60||C===62||C===92?(u.consume(C),p):p(C)}function B(C){return!D&&(C===null||C===41||qu(C))?(u.exit("chunkString"),u.exit(c),u.exit(o),u.exit(a),t(C)):D999||p===null||p===91||p===93&&!_||p===94&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(u.exit(s),u.enter(i),u.consume(p),u.exit(i),u.exit(a),t):uu(p)?(u.enter("lineEnding"),u.consume(p),u.exit("lineEnding"),D):(u.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||uu(p)||c++>999?(u.exit("chunkString"),D(p)):(u.consume(p),_||(_=!du(p)),p===92?y:f)}function y(p){return p===91||p===92||p===93?(u.consume(p),c++,f):f(p)}}function Q4(u,t,n,a,i,s){let o;return c;function c(y){return y===34||y===39||y===40?(u.enter(a),u.enter(i),u.consume(y),u.exit(i),o=y===40?41:y,_):n(y)}function _(y){return y===o?(u.enter(i),u.consume(y),u.exit(i),u.exit(a),t):(u.enter(s),m(y))}function m(y){return y===o?(u.exit(s),_(o)):y===null?n(y):uu(y)?(u.enter("lineEnding"),u.consume(y),u.exit("lineEnding"),fu(u,m,"linePrefix")):(u.enter("chunkString",{contentType:"string"}),D(y))}function D(y){return y===o||y===null||uu(y)?(u.exit("chunkString"),m(y)):(u.consume(y),y===92?f:D)}function f(y){return y===o||y===92?(u.consume(y),D):D(y)}}function zt(u,t){let n;return a;function a(i){return uu(i)?(u.enter("lineEnding"),u.consume(i),u.exit("lineEnding"),n=!0,a):du(i)?fu(u,a,n?"linePrefix":"lineSuffix")(i):t(i)}}const Vf={name:"definition",tokenize:$f},Jf={partial:!0,tokenize:qf};function $f(u,t,n){const a=this;let i;return s;function s(p){return u.enter("definition"),o(p)}function o(p){return K4.call(a,u,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function c(p){return i=mt(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),p===58?(u.enter("definitionMarker"),u.consume(p),u.exit("definitionMarker"),_):n(p)}function _(p){return qu(p)?zt(u,m)(p):m(p)}function m(p){return Z4(u,D,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function D(p){return u.attempt(Jf,f,f)(p)}function f(p){return du(p)?fu(u,y,"whitespace")(p):y(p)}function y(p){return p===null||uu(p)?(u.exit("definition"),a.parser.defined.push(i),t(p)):n(p)}}function qf(u,t,n){return a;function a(c){return qu(c)?zt(u,i)(c):n(c)}function i(c){return Q4(u,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return du(c)?fu(u,o,"whitespace")(c):o(c)}function o(c){return c===null||uu(c)?t(c):n(c)}}const Gf={name:"hardBreakEscape",tokenize:Zf};function Zf(u,t,n){return a;function a(s){return u.enter("hardBreakEscape"),u.consume(s),i}function i(s){return uu(s)?(u.exit("hardBreakEscape"),t(s)):n(s)}}const Kf={name:"headingAtx",resolve:Qf,tokenize:Xf};function Qf(u,t){let n=u.length-2,a=3,i,s;return u[a][1].type==="whitespace"&&(a+=2),n-2>a&&u[n][1].type==="whitespace"&&(n-=2),u[n][1].type==="atxHeadingSequence"&&(a===n-1||n-4>a&&u[n-2][1].type==="whitespace")&&(n-=a+1===n?2:4),n>a&&(i={type:"atxHeadingText",start:u[a][1].start,end:u[n][1].end},s={type:"chunkText",start:u[a][1].start,end:u[n][1].end,contentType:"text"},ze(u,a,n-a+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),u}function Xf(u,t,n){let a=0;return i;function i(D){return u.enter("atxHeading"),s(D)}function s(D){return u.enter("atxHeadingSequence"),o(D)}function o(D){return D===35&&a++<6?(u.consume(D),o):D===null||qu(D)?(u.exit("atxHeadingSequence"),c(D)):n(D)}function c(D){return D===35?(u.enter("atxHeadingSequence"),_(D)):D===null||uu(D)?(u.exit("atxHeading"),t(D)):du(D)?fu(u,c,"whitespace")(D):(u.enter("atxHeadingText"),m(D))}function _(D){return D===35?(u.consume(D),_):(u.exit("atxHeadingSequence"),c(D))}function m(D){return D===null||D===35||qu(D)?(u.exit("atxHeadingText"),c(D)):(u.consume(D),m)}}const uD=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Co=["pre","script","style","textarea"],eD={concrete:!0,name:"htmlFlow",resolveTo:aD,tokenize:rD},tD={partial:!0,tokenize:iD},nD={partial:!0,tokenize:sD};function aD(u){let t=u.length;for(;t--&&!(u[t][0]==="enter"&&u[t][1].type==="htmlFlow"););return t>1&&u[t-2][1].type==="linePrefix"&&(u[t][1].start=u[t-2][1].start,u[t+1][1].start=u[t-2][1].start,u.splice(t-2,2)),u}function rD(u,t,n){const a=this;let i,s,o,c,_;return m;function m(L){return D(L)}function D(L){return u.enter("htmlFlow"),u.enter("htmlFlowData"),u.consume(L),f}function f(L){return L===33?(u.consume(L),y):L===47?(u.consume(L),s=!0,B):L===63?(u.consume(L),i=3,a.interrupt?t:A):Ie(L)?(u.consume(L),o=String.fromCharCode(L),M):n(L)}function y(L){return L===45?(u.consume(L),i=2,p):L===91?(u.consume(L),i=5,c=0,E):Ie(L)?(u.consume(L),i=4,a.interrupt?t:A):n(L)}function p(L){return L===45?(u.consume(L),a.interrupt?t:A):n(L)}function E(L){const xu="CDATA[";return L===xu.charCodeAt(c++)?(u.consume(L),c===xu.length?a.interrupt?t:$:E):n(L)}function B(L){return Ie(L)?(u.consume(L),o=String.fromCharCode(L),M):n(L)}function M(L){if(L===null||L===47||L===62||qu(L)){const xu=L===47,R=o.toLowerCase();return!xu&&!s&&Co.includes(R)?(i=1,a.interrupt?t(L):$(L)):uD.includes(o.toLowerCase())?(i=6,xu?(u.consume(L),C):a.interrupt?t(L):$(L)):(i=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(L):s?v(L):b(L))}return L===45||ae(L)?(u.consume(L),o+=String.fromCharCode(L),M):n(L)}function C(L){return L===62?(u.consume(L),a.interrupt?t:$):n(L)}function v(L){return du(L)?(u.consume(L),v):k(L)}function b(L){return L===47?(u.consume(L),k):L===58||L===95||Ie(L)?(u.consume(L),P):du(L)?(u.consume(L),b):k(L)}function P(L){return L===45||L===46||L===58||L===95||ae(L)?(u.consume(L),P):q(L)}function q(L){return L===61?(u.consume(L),Y):du(L)?(u.consume(L),q):b(L)}function Y(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(u.consume(L),_=L,V):du(L)?(u.consume(L),Y):O(L)}function V(L){return L===_?(u.consume(L),_=null,Q):L===null||uu(L)?n(L):(u.consume(L),V)}function O(L){return L===null||L===34||L===39||L===47||L===60||L===61||L===62||L===96||qu(L)?q(L):(u.consume(L),O)}function Q(L){return L===47||L===62||du(L)?b(L):n(L)}function k(L){return L===62?(u.consume(L),J):n(L)}function J(L){return L===null||uu(L)?$(L):du(L)?(u.consume(L),J):n(L)}function $(L){return L===45&&i===2?(u.consume(L),Eu):L===60&&i===1?(u.consume(L),Mu):L===62&&i===4?(u.consume(L),ju):L===63&&i===3?(u.consume(L),A):L===93&&i===5?(u.consume(L),Ce):uu(L)&&(i===6||i===7)?(u.exit("htmlFlowData"),u.check(tD,Wu,N)(L)):L===null||uu(L)?(u.exit("htmlFlowData"),N(L)):(u.consume(L),$)}function N(L){return u.check(nD,U,Wu)(L)}function U(L){return u.enter("lineEnding"),u.consume(L),u.exit("lineEnding"),X}function X(L){return L===null||uu(L)?N(L):(u.enter("htmlFlowData"),$(L))}function Eu(L){return L===45?(u.consume(L),A):$(L)}function Mu(L){return L===47?(u.consume(L),o="",Zu):$(L)}function Zu(L){if(L===62){const xu=o.toLowerCase();return Co.includes(xu)?(u.consume(L),ju):$(L)}return Ie(L)&&o.length<8?(u.consume(L),o+=String.fromCharCode(L),Zu):$(L)}function Ce(L){return L===93?(u.consume(L),A):$(L)}function A(L){return L===62?(u.consume(L),ju):L===45&&i===2?(u.consume(L),A):$(L)}function ju(L){return L===null||uu(L)?(u.exit("htmlFlowData"),Wu(L)):(u.consume(L),ju)}function Wu(L){return u.exit("htmlFlow"),t(L)}}function sD(u,t,n){const a=this;return i;function i(o){return uu(o)?(u.enter("lineEnding"),u.consume(o),u.exit("lineEnding"),s):n(o)}function s(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function iD(u,t,n){return a;function a(i){return u.enter("lineEnding"),u.consume(i),u.exit("lineEnding"),u.attempt(Wn,t,n)}}const oD={name:"htmlText",tokenize:lD};function lD(u,t,n){const a=this;let i,s,o;return c;function c(A){return u.enter("htmlText"),u.enter("htmlTextData"),u.consume(A),_}function _(A){return A===33?(u.consume(A),m):A===47?(u.consume(A),q):A===63?(u.consume(A),b):Ie(A)?(u.consume(A),O):n(A)}function m(A){return A===45?(u.consume(A),D):A===91?(u.consume(A),s=0,E):Ie(A)?(u.consume(A),v):n(A)}function D(A){return A===45?(u.consume(A),p):n(A)}function f(A){return A===null?n(A):A===45?(u.consume(A),y):uu(A)?(o=f,Mu(A)):(u.consume(A),f)}function y(A){return A===45?(u.consume(A),p):f(A)}function p(A){return A===62?Eu(A):A===45?y(A):f(A)}function E(A){const ju="CDATA[";return A===ju.charCodeAt(s++)?(u.consume(A),s===ju.length?B:E):n(A)}function B(A){return A===null?n(A):A===93?(u.consume(A),M):uu(A)?(o=B,Mu(A)):(u.consume(A),B)}function M(A){return A===93?(u.consume(A),C):B(A)}function C(A){return A===62?Eu(A):A===93?(u.consume(A),C):B(A)}function v(A){return A===null||A===62?Eu(A):uu(A)?(o=v,Mu(A)):(u.consume(A),v)}function b(A){return A===null?n(A):A===63?(u.consume(A),P):uu(A)?(o=b,Mu(A)):(u.consume(A),b)}function P(A){return A===62?Eu(A):b(A)}function q(A){return Ie(A)?(u.consume(A),Y):n(A)}function Y(A){return A===45||ae(A)?(u.consume(A),Y):V(A)}function V(A){return uu(A)?(o=V,Mu(A)):du(A)?(u.consume(A),V):Eu(A)}function O(A){return A===45||ae(A)?(u.consume(A),O):A===47||A===62||qu(A)?Q(A):n(A)}function Q(A){return A===47?(u.consume(A),Eu):A===58||A===95||Ie(A)?(u.consume(A),k):uu(A)?(o=Q,Mu(A)):du(A)?(u.consume(A),Q):Eu(A)}function k(A){return A===45||A===46||A===58||A===95||ae(A)?(u.consume(A),k):J(A)}function J(A){return A===61?(u.consume(A),$):uu(A)?(o=J,Mu(A)):du(A)?(u.consume(A),J):Q(A)}function $(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(u.consume(A),i=A,N):uu(A)?(o=$,Mu(A)):du(A)?(u.consume(A),$):(u.consume(A),U)}function N(A){return A===i?(u.consume(A),i=void 0,X):A===null?n(A):uu(A)?(o=N,Mu(A)):(u.consume(A),N)}function U(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||qu(A)?Q(A):(u.consume(A),U)}function X(A){return A===47||A===62||qu(A)?Q(A):n(A)}function Eu(A){return A===62?(u.consume(A),u.exit("htmlTextData"),u.exit("htmlText"),t):n(A)}function Mu(A){return u.exit("htmlTextData"),u.enter("lineEnding"),u.consume(A),u.exit("lineEnding"),Zu}function Zu(A){return du(A)?fu(u,Ce,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):Ce(A)}function Ce(A){return u.enter("htmlTextData"),o(A)}}const us={name:"labelEnd",resolveAll:mD,resolveTo:hD,tokenize:fD},dD={tokenize:DD},cD={tokenize:pD},_D={tokenize:yD};function mD(u){let t=-1;const n=[];for(;++t=3&&(m===null||uu(m))?(u.exit("thematicBreak"),t(m)):n(m)}function _(m){return m===i?(u.consume(m),a++,_):(u.exit("thematicBreakSequence"),du(m)?fu(u,c,"whitespace")(m):c(m))}}const Uu={continuation:{tokenize:YD},exit:xD,name:"list",tokenize:FD},BD={partial:!0,tokenize:bD},kD={partial:!0,tokenize:vD};function FD(u,t,n){const a=this,i=a.events[a.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return c;function c(p){const E=a.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!a.containerState.marker||p===a.containerState.marker:Ar(p)){if(a.containerState.type||(a.containerState.type=E,u.enter(E,{_container:!0})),E==="listUnordered")return u.enter("listItemPrefix"),p===42||p===45?u.check(Bn,n,m)(p):m(p);if(!a.interrupt||p===49)return u.enter("listItemPrefix"),u.enter("listItemValue"),_(p)}return n(p)}function _(p){return Ar(p)&&++o<10?(u.consume(p),_):(!a.interrupt||o<2)&&(a.containerState.marker?p===a.containerState.marker:p===41||p===46)?(u.exit("listItemValue"),m(p)):n(p)}function m(p){return u.enter("listItemMarker"),u.consume(p),u.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||p,u.check(Wn,a.interrupt?n:D,u.attempt(BD,y,f))}function D(p){return a.containerState.initialBlankLine=!0,s++,y(p)}function f(p){return du(p)?(u.enter("listItemPrefixWhitespace"),u.consume(p),u.exit("listItemPrefixWhitespace"),y):n(p)}function y(p){return a.containerState.size=s+a.sliceSerialize(u.exit("listItemPrefix"),!0).length,t(p)}}function YD(u,t,n){const a=this;return a.containerState._closeFlow=void 0,u.check(Wn,i,s);function i(c){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,fu(u,t,"listItemIndent",a.containerState.size+1)(c)}function s(c){return a.containerState.furtherBlankLines||!du(c)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,o(c)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u.attempt(kD,t,o)(c))}function o(c){return a.containerState._closeFlow=!0,a.interrupt=void 0,fu(u,u.attempt(Uu,t,n),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function vD(u,t,n){const a=this;return fu(u,i,"listItemIndent",a.containerState.size+1);function i(s){const o=a.events[a.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===a.containerState.size?t(s):n(s)}}function xD(u){u.exit(this.containerState.type)}function bD(u,t,n){const a=this;return fu(u,i,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=a.events[a.events.length-1];return!du(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Lo={name:"setextUnderline",resolveTo:wD,tokenize:TD};function wD(u,t){let n=u.length,a,i,s;for(;n--;)if(u[n][0]==="enter"){if(u[n][1].type==="content"){a=n;break}u[n][1].type==="paragraph"&&(i=n)}else u[n][1].type==="content"&&u.splice(n,1),!s&&u[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:j({},u[a][1].start),end:j({},u[u.length-1][1].end)};return u[i][1].type="setextHeadingText",s?(u.splice(i,0,["enter",o,t]),u.splice(s+1,0,["exit",u[a][1],t]),u[a][1].end=j({},u[s][1].end)):u[a][1]=o,u.push(["exit",o,t]),u}function TD(u,t,n){const a=this;let i;return s;function s(m){let D=a.events.length,f;for(;D--;)if(a.events[D][1].type!=="lineEnding"&&a.events[D][1].type!=="linePrefix"&&a.events[D][1].type!=="content"){f=a.events[D][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||f)?(u.enter("setextHeadingLine"),i=m,o(m)):n(m)}function o(m){return u.enter("setextHeadingLineSequence"),c(m)}function c(m){return m===i?(u.consume(m),c):(u.exit("setextHeadingLineSequence"),du(m)?fu(u,_,"lineSuffix")(m):_(m))}function _(m){return m===null||uu(m)?(u.exit("setextHeadingLine"),t(m)):n(m)}}const SD={tokenize:HD};function HD(u){const t=this,n=u.attempt(Wn,a,u.attempt(this.parser.constructs.flowInitial,i,fu(u,u.attempt(this.parser.constructs.flow,i,u.attempt(Wf,i)),"linePrefix")));return n;function a(s){if(s===null){u.consume(s);return}return u.enter("lineEndingBlank"),u.consume(s),u.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){u.consume(s);return}return u.enter("lineEnding"),u.consume(s),u.exit("lineEnding"),t.currentConstruct=void 0,n}}const jD={resolveAll:ul()},OD=X4("string"),PD=X4("text");function X4(u){return{resolveAll:ul(u==="text"?ID:void 0),tokenize:t};function t(n){const a=this,i=this.parser.constructs[u],s=n.attempt(i,o,c);return o;function o(D){return m(D)?s(D):c(D)}function c(D){if(D===null){n.consume(D);return}return n.enter("data"),n.consume(D),_}function _(D){return m(D)?(n.exit("data"),s(D)):(n.consume(D),_)}function m(D){if(D===null)return!0;const f=i[D];let y=-1;if(f)for(;++y-1){const c=o[0];typeof c=="string"?o[0]=c.slice(a):o.shift()}s>0&&o.push(u[i].slice(0,s))}return o}function QD(u,t){let n=-1;const a=[];let i;for(;++n0){const Qu=K.tokenStack[K.tokenStack.length-1];(Qu[1]||ko).call(K,void 0,Qu[0])}for(H.position={start:p0(x.length>0?x[0][1].start:{line:1,column:1,offset:0}),end:p0(x.length>0?x[x.length-2][1].end:{line:1,column:1,offset:0})},Z=-1;++Z0&&(a.className=["language-"+i[0]]);let s={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),u.patch(t,s),s=u.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},u.patch(t,s),s}function _p(u,t){const n={type:"element",tagName:"del",properties:{},children:u.all(t)};return u.patch(t,n),u.applyData(t,n)}function mp(u,t){const n={type:"element",tagName:"em",properties:{},children:u.all(t)};return u.patch(t,n),u.applyData(t,n)}function hp(u,t){const n=typeof u.options.clobberPrefix=="string"?u.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=pt(a.toLowerCase()),s=u.footnoteOrder.indexOf(a);let o,c=u.footnoteCounts.get(a);c===void 0?(c=0,u.footnoteOrder.push(a),o=u.footnoteOrder.length):o=s+1,c+=1,u.footnoteCounts.set(a,c);const _={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};u.patch(t,_);const m={type:"element",tagName:"sup",properties:{},children:[_]};return u.patch(t,m),u.applyData(t,m)}function fp(u,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:u.all(t)};return u.patch(t,n),u.applyData(t,n)}function Dp(u,t){if(u.options.allowDangerousHtml){const n={type:"raw",value:t.value};return u.patch(t,n),u.applyData(t,n)}}function nl(u,t){const n=t.referenceType;let a="]";if(n==="collapsed"?a+="[]":n==="full"&&(a+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+a}];const i=u.all(t),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=a:i.push({type:"text",value:a}),i}function pp(u,t){const n=String(t.identifier).toUpperCase(),a=u.definitionById.get(n);if(!a)return nl(u,t);const i={src:pt(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"img",properties:i,children:[]};return u.patch(t,s),u.applyData(t,s)}function yp(u,t){const n={src:pt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"img",properties:n,children:[]};return u.patch(t,a),u.applyData(t,a)}function Ep(u,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};u.patch(t,n);const a={type:"element",tagName:"code",properties:{},children:[n]};return u.patch(t,a),u.applyData(t,a)}function gp(u,t){const n=String(t.identifier).toUpperCase(),a=u.definitionById.get(n);if(!a)return nl(u,t);const i={href:pt(a.url||"")};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"a",properties:i,children:u.all(t)};return u.patch(t,s),u.applyData(t,s)}function Mp(u,t){const n={href:pt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"a",properties:n,children:u.all(t)};return u.patch(t,a),u.applyData(t,a)}function Ap(u,t,n){const a=u.all(t),i=n?Cp(n):al(t),s={},o=[];if(typeof t.checked=="boolean"){const D=a[0];let f;D&&D.type==="element"&&D.tagName==="p"?f=D:(f={type:"element",tagName:"p",properties:{},children:[]},a.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c1}function Lp(u,t){const n={},a=u.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const o={type:"element",tagName:"tbody",properties:{},children:u.wrap(n,!0)},c=qr(t.children[1]),_=P4(t.children[t.children.length-1]);c&&_&&(o.position={start:c,end:_}),i.push(o)}const s={type:"element",tagName:"table",properties:{},children:u.wrap(i,!0)};return u.patch(t,s),u.applyData(t,s)}function vp(u,t,n){const a=n?n.children:void 0,i=(a?a.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,o=s?s.length:t.children.length;let c=-1;const _=[];for(;++c0,!0),a[0]),i=a.index+a[0].length,a=n.exec(t);return s.push(vo(t.slice(i),i>0,!1)),s.join("")}function vo(u,t,n){let a=0,i=u.length;if(t){let s=u.codePointAt(a);for(;s===Fo||s===Yo;)a++,s=u.codePointAt(a)}if(n){let s=u.codePointAt(i-1);for(;s===Fo||s===Yo;)i--,s=u.codePointAt(i-1)}return i>a?u.slice(a,i):""}function wp(u,t){const n={type:"text",value:bp(String(t.value))};return u.patch(t,n),u.applyData(t,n)}function Tp(u,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return u.patch(t,n),u.applyData(t,n)}const Sp={blockquote:lp,break:dp,code:cp,delete:_p,emphasis:mp,footnoteReference:hp,heading:fp,html:Dp,imageReference:pp,image:yp,inlineCode:Ep,linkReference:gp,link:Mp,listItem:Ap,list:Lp,paragraph:Bp,root:kp,strong:Fp,table:Yp,tableCell:xp,tableRow:vp,text:wp,thematicBreak:Tp,toml:gn,yaml:gn,definition:gn,footnoteDefinition:gn};function gn(){}function Hp(u,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function jp(u,t){return"Back to reference "+(u+1)+(t>1?"-"+t:"")}function Op(u){const t=typeof u.options.clobberPrefix=="string"?u.options.clobberPrefix:"user-content-",n=u.options.footnoteBackContent||Hp,a=u.options.footnoteBackLabel||jp,i=u.options.footnoteLabel||"Footnotes",s=u.options.footnoteLabelTagName||"h2",o=u.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let _=-1;for(;++_0&&E.push({type:"text",value:" "});let v=typeof n=="string"?n:n(_,p);typeof v=="string"&&(v={type:"text",value:v}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+y+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(_,p),className:["data-footnote-backref"]},children:Array.isArray(v)?v:[v]})}const M=D[D.length-1];if(M&&M.type==="element"&&M.tagName==="p"){const v=M.children[M.children.length-1];v&&v.type==="text"?v.value+=" ":M.children.push({type:"text",value:" "}),M.children.push(...E)}else D.push(...E);const C={type:"element",tagName:"li",properties:{id:t+"fn-"+y},children:u.wrap(D,!0)};u.patch(m,C),c.push(C)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:bu(j({},S0(o)),{id:"footnote-label"}),children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:u.wrap(c,!0)},{type:"text",value:"\n"}]}}const Lr={}.hasOwnProperty,Pp={};function Ip(u,t){const n=t||Pp,a=new Map,i=new Map,s=new Map,o=j(j({},Sp),n.handlers),c={all:m,applyData:zp,definitionById:a,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:_,options:n,patch:Wp,wrap:Rp};return o0(u,function(D){if(D.type==="definition"||D.type==="footnoteDefinition"){const f=D.type==="definition"?a:i,y=String(D.identifier).toUpperCase();f.has(y)||f.set(y,D)}}),c;function _(D,f){const y=D.type,p=c.handlers[y];if(Lr.call(c.handlers,y)&&p)return p(c,D,f);if(c.options.passThrough&&c.options.passThrough.includes(y)){if("children"in D){const E=D,{children:B}=E,M=pn(E,["children"]),C=S0(M);return C.children=c.all(D),C}return S0(D)}return(c.options.unknownHandler||Np)(c,D,f)}function m(D){const f=[];if("children"in D){const y=D.children;let p=-1;for(;++p0&&n.push({type:"text",value:"\n"}),n}function xo(u){let t=0,n=u.charCodeAt(t);for(;n===9||n===32;)t++,n=u.charCodeAt(t);return u.slice(t)}function bo(u,t){const n=Ip(u,t),a=n.one(u,void 0),i=Op(n),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return i&&s.children.push({type:"text",value:"\n"},i),s}function Up(u,t){return u&&"run"in u?async function(n,a){const i=bo(n,j({file:a},t));await u.run(i,a)}:function(n,a){return bo(n,j({file:a},u||t))}}function Vp(u){o0(u,function(t,n,a){if(n!==void 0&&a&&t.type==="paragraph"&&t.children.every(function(i){return i.type==="text"&&/^\s*$/.test(i.value)}))return a.children.splice(n,1),n})}function Jp(u={except:["http","https"]}){return function(t){const n=new Map;o0(t,"definition",function(a,i,s){if(n.set(a.identifier,a.url),s&&typeof i=="number"){const o=a.url;if(o&&o.includes(":")&&!u.except.some(c=>o.startsWith("".concat(c,":"))))return s.children.splice(i,1),i}}),o0(t,function(a,i,s){if(s&&typeof i=="number"&&(a.type==="link"||a.type==="linkReference")){const o=a.type==="link"?a.url:n.get(a.identifier);if(o&&o.includes(":")&&!u.except.some(c=>o.startsWith("".concat(c,":"))))return s.children.splice(i,1,...a.children),i}}),Vp(t)}}function wo(u){if(u)throw u}var Za,To;function $p(){if(To)return Za;To=1;var u=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(_){return typeof Array.isArray=="function"?Array.isArray(_):t.call(_)==="[object Array]"},s=function(_){if(!_||t.call(_)!=="[object Object]")return!1;var m=u.call(_,"constructor"),D=_.constructor&&_.constructor.prototype&&u.call(_.constructor.prototype,"isPrototypeOf");if(_.constructor&&!m&&!D)return!1;var f;for(f in _);return typeof f>"u"||u.call(_,f)},o=function(_,m){n&&m.name==="__proto__"?n(_,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):_[m.name]=m.newValue},c=function(_,m){if(m==="__proto__")if(u.call(_,m)){if(a)return a(_,m).value}else return;return _[m]};return Za=function _(){var m,D,f,y,p,E,B=arguments[0],M=1,C=arguments.length,v=!1;for(typeof B=="boolean"&&(v=B,B=arguments[1]||{},M=2),(B==null||typeof B!="object"&&typeof B!="function")&&(B={});Mo.length;let _;c&&o.push(i);try{_=u.apply(this,o)}catch(m){const D=m;if(c&&n)throw D;return i(D)}c||(_&&_.then&&typeof _.then=="function"?_.then(s,i):_ instanceof Error?i(_):s(_))}function i(o,...c){n||(n=!0,t(o,...c))}function s(o){i(null,o)}}const Oe={basename:Kp,dirname:Qp,extname:Xp,join:u9,sep:"/"};function Kp(u,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');$t(u);let n=0,a=-1,i=u.length,s;if(t===void 0||t.length===0||t.length>u.length){for(;i--;)if(u.codePointAt(i)===47){if(s){n=i+1;break}}else a<0&&(s=!0,a=i+1);return a<0?"":u.slice(n,a)}if(t===u)return"";let o=-1,c=t.length-1;for(;i--;)if(u.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),c>-1&&(u.codePointAt(i)===t.codePointAt(c--)?c<0&&(a=i):(c=-1,a=o));return n===a?a=o:a<0&&(a=u.length),u.slice(n,a)}function Qp(u){if($t(u),u.length===0)return".";let t=-1,n=u.length,a;for(;--n;)if(u.codePointAt(n)===47){if(a){t=n;break}}else a||(a=!0);return t<0?u.codePointAt(0)===47?"/":".":t===1&&u.codePointAt(0)===47?"//":u.slice(0,t)}function Xp(u){$t(u);let t=u.length,n=-1,a=0,i=-1,s=0,o;for(;t--;){const c=u.codePointAt(t);if(c===47){if(o){a=t+1;break}continue}n<0&&(o=!0,n=t+1),c===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===a+1?"":u.slice(i,n)}function u9(...u){let t=-1,n;for(;++t0&&u.codePointAt(u.length-1)===47&&(n+="/"),t?"/"+n:n}function t9(u,t){let n="",a=0,i=-1,s=0,o=-1,c,_;for(;++o<=u.length;){if(o2){if(_=n.lastIndexOf("/"),_!==n.length-1){_<0?(n="",a=0):(n=n.slice(0,_),a=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",a=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",a=2)}else n.length>0?n+="/"+u.slice(i+1,o):n=u.slice(i+1,o),a=o-i-1;i=o,s=0}else c===46&&s>-1?s++:s=-1}return n}function $t(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}const n9={cwd:a9};function a9(){return"/"}function kr(u){return!!(u!==null&&typeof u=="object"&&"href"in u&&u.href&&"protocol"in u&&u.protocol&&u.auth===void 0)}function r9(u){if(typeof u=="string")u=new URL(u);else if(!kr(u)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+u+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(u.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return s9(u)}function s9(u){if(u.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const t=u.pathname;let n=-1;for(;++n0){let[p,...E]=D;const B=a[y][1];Br(B)&&Br(p)&&(p=Ka(!0,B,p)),a[y]=[m,p,...E]}}}}const c9=new es().freeze();function er(u,t){if(typeof t!="function")throw new TypeError("Cannot `"+u+"` without `parser`")}function tr(u,t){if(typeof t!="function")throw new TypeError("Cannot `"+u+"` without `compiler`")}function nr(u,t){if(t)throw new Error("Cannot call `"+u+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ho(u){if(!Br(u)||typeof u.type!="string")throw new TypeError("Expected node, got `"+u+"`")}function jo(u,t,n){if(!n)throw new Error("`"+u+"` finished async. Use `"+t+"` instead")}function Mn(u){return _9(u)?u:new i9(u)}function _9(u){return!!(u&&typeof u=="object"&&"message"in u&&"messages"in u)}function m9(u){return typeof u=="string"||h9(u)}function h9(u){return!!(u&&typeof u=="object"&&"byteLength"in u&&"byteOffset"in u)}function f9(u,t,n){var s;const a="#initial-state-".concat(u,"-").concat(t);if((s=window._nc_initial_state)!=null&&s.has(a))return window._nc_initial_state.get(a);window._nc_initial_state||(window._nc_initial_state=new Map);const i=document.querySelector(a);if(i===null)return n;try{const o=JSON.parse(atob(i.value));return window._nc_initial_state.set(a,o),o}catch(o){return console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:u,error:o}),n}}function Oo(){var u,t,n;return(n=(t=f9("files_sharing","sharingToken",null))!=null?t:(u=document.querySelector('input#sharingToken[type="hidden"]'))==null?void 0:u.value)!=null?n:null}var n4,a4;(n4=window._vue_richtext_widgets)!=null||(window._vue_richtext_widgets={}),(a4=window._registerWidget)!=null||(window._registerWidget=(u,t,n,a)=>{D9(u,t,n,a)});function D9(u,t,n=()=>{},a){const i=j({hasInteractiveView:!0,fullWidth:!1},a);if(window._vue_richtext_widgets[u]){i0.error("[ReferencePicker]: Widget for id ".concat(u," already registered"));return}window._vue_richtext_widgets[u]=j({id:u,callback:t,onDestroy:n},i)}function p9(u,t){const{richObjectType:n,richObject:a,accessible:i,interactive:s}=t;if(n!=="open-graph"){if(!window._vue_richtext_widgets[n]){i0.error("Widget for rich object type "+n+" not registered");return}window._vue_richtext_widgets[n].callback(u,{richObjectType:n,richObject:a,accessible:i,interactive:s})}}function y9(u,t){u!=="open-graph"&&window._vue_richtext_widgets[u]&&window._vue_richtext_widgets[u].onDestroy(t)}function E9(u){return!!window._vue_richtext_widgets[u]}function g9(u){var t;return!!((t=window._vue_richtext_widgets[u])!=null&&t.hasInteractiveView)}function M9(u){var t;return!!((t=window._vue_richtext_widgets[u])!=null&&t.fullWidth)}var r4,s4;(r4=window._vue_richtext_custom_picker_elements)!=null||(window._vue_richtext_custom_picker_elements={}),(s4=window._registerCustomPickerElement)!=null||(window._registerCustomPickerElement=A9);function A9(u,t,n=()=>{},a="large"){if(window._vue_richtext_custom_picker_elements[u]){i0.error("Custom reference picker element for id ".concat(u," already registered"));return}window._vue_richtext_custom_picker_elements[u]={id:u,callback:t,onDestroy:n,size:a}}var C9=Object.defineProperty,L9=Object.defineProperties,B9=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,k9=Object.prototype.hasOwnProperty,F9=Object.prototype.propertyIsEnumerable,Io=(u,t,n)=>t in u?C9(u,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[t]=n,st=(u,t)=>{for(var n in t||(t={}))k9.call(t,n)&&Io(u,n,t[n]);if(Po)for(var n of Po(t))F9.call(t,n)&&Io(u,n,t[n]);return u},Wo=(u,t)=>L9(u,B9(t));const Y9={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(u){this.autoscroll&&u&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var u;const t=((u=this.$refs.dropdownMenu)==null?void 0:u.children[this.typeAheadPointer])||!1;if(t){const n=this.getDropdownViewport(),{top:a,bottom:i,height:s}=t.getBoundingClientRect();if(an.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(n.height-s)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},v9={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let u=0;u=0;u--)if(this.selectable(this.filteredOptions[u])){this.typeAheadPointer=u;break}},typeAheadDown(){for(let u=this.typeAheadPointer+1;u{const n=u.__vccOpts||u;for(const[a,i]of t)n[a]=i;return n},b9={},w9={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},T9=au("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),S9=[T9];function H9(u,t){return S(),I("svg",w9,S9)}const j9=ts(b9,[["render",H9]]),O9={},P9={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},I9=au("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),W9=[I9];function z9(u,t){return S(),I("svg",P9,W9)}const N9=ts(O9,[["render",z9]]),zo={Deselect:j9,OpenIndicator:N9},R9={mounted(u,{instance:t}){if(t.appendToBody){const{height:n,top:a,left:i,width:s}=t.$refs.toggle.getBoundingClientRect();let o=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;u.unbindPosition=t.calculatePosition(u,t,{width:s+"px",left:o+i+"px",top:c+a+n+"px"}),document.body.appendChild(u)}},unmounted(u,{instance:t}){t.appendToBody&&(u.unbindPosition&&typeof u.unbindPosition=="function"&&u.unbindPosition(),u.parentNode&&u.parentNode.removeChild(u))}};function U9(u){const t={};return Object.keys(u).sort().forEach(n=>{t[n]=u[n]}),JSON.stringify(t)}let V9=0;function J9(){return++V9}const $9={components:st({},zo),directives:{appendToBody:R9},mixins:[Y9,v9,x9],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:u=>u},selectable:{type:Function,default:u=>!0},getOptionLabel:{type:Function,default(u){return typeof u=="object"?u.hasOwnProperty(this.label)?u[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not exist in options object ').concat(JSON.stringify(u),".\nhttps://vue-select.org/api/props.html#getoptionlabel")):u}},getOptionKey:{type:Function,default(u){if(typeof u!="object")return u;try{return u.hasOwnProperty("id")?u.id:U9(u)}catch(t){return console.warn("[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.\nhttps://vue-select.org/api/props.html#getoptionkey",u,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(u,t,n){return(t||"").toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1}},filter:{type:Function,default(u,t){return u.filter(n=>{let a=this.getOptionLabel(n);return typeof a=="number"&&(a=a.toString()),this.filterBy(n,a,t)})}},createOption:{type:Function,default(u){return typeof this.optionList[0]=="object"?{[this.label]:u}:u}},resetOnOptionsChange:{default:!1,validator:u=>["function","boolean"].includes(typeof u)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:u,multiple:t}){return u&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(u,t)=>u},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(u,t,{width:n,top:a,left:i}){u.style.top=a,u.style.left=i,u.style.width=n}},dropdownShouldOpen:{type:Function,default({noDrop:u,open:t,mutableLoading:n}){return u?!1:t&&!n}},uid:{type:[String,Number],default:()=>J9()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let u=this.modelValue;return this.isTrackingValues&&(u=this.$data._value),u!=null&&u!==""?[].concat(u):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const u={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:st({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:u,listFooter:u,header:Wo(st({},u),{deselect:this.deselect}),footer:Wo(st({},u),{deselect:this.deselect})}},childComponents(){return st(st({},zo),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const u=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return u;const t=this.search.length?this.filter(u,this.search,this):u;if(this.taggable&&this.search.length){const n=this.createOption(this.search);this.optionExists(n)||t.unshift(n)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(u,t){const n=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(u,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&n()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(u){this.isTrackingValues&&this.setInternalValueFromOptions(u)}},multiple(){this.clearSelection()},open(u){this.$emit(u?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(u){Array.isArray(u)?this.$data._value=u.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(u)},select(u){this.$emit("option:selecting",u),this.isOptionSelected(u)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(u):(this.taggable&&!this.optionExists(u)&&(this.$emit("option:created",u),this.pushTag(u)),this.multiple&&(u=this.selectedValue.concat(u)),this.updateValue(u),this.$emit("option:selected",u)),this.onAfterSelect(u)},deselect(u){this.$emit("option:deselecting",u),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,u))),this.$emit("option:deselected",u)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(u){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(u){typeof this.modelValue>"u"&&(this.$data._value=u),u!==null&&(Array.isArray(u)?u=u.map(t=>this.reduce(t)):u=this.reduce(u)),this.$emit("update:modelValue",u)},toggleDropdown(u){const t=u.target!==this.searchEl;t&&u.preventDefault();const n=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||n.filter(Boolean).some(a=>a.contains(u.target)||a===u.target)){u.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(u){return this.selectedValue.some(t=>this.optionComparator(t,u))},isOptionDeselectable(u){return this.isOptionSelected(u)&&this.deselectFromDropdown},optionComparator(u,t){return this.getOptionKey(u)===this.getOptionKey(t)},findOptionFromReducedValue(u){const t=a=>JSON.stringify(this.reduce(a))===JSON.stringify(u),n=[...this.options,...this.pushedTags].filter(t);return n.length===1?n[0]:n.find(a=>this.optionComparator(a,this.$data._value))||u},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let u=null;this.multiple&&(u=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(u)}},optionExists(u){return this.optionList.some(t=>this.optionComparator(t,u))},normalizeOptionForSlot(u){return typeof u=="object"?u:{[this.label]:u}},pushTag(u){this.pushedTags.push(u)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:u,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:u,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(u){const t=i=>(i.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:i=>this.maybeDeleteValue(),9:i=>this.onTab(),27:i=>this.onEscape(),38:i=>(i.preventDefault(),this.typeAheadUp()),40:i=>(i.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(i=>n[i]=t);const a=this.mapKeydown(n,this);if(typeof a[u.keyCode]=="function")return a[u.keyCode](u)}}},q9=["dir"],G9=["id","aria-expanded","aria-owns"],Z9={ref:"selectedOptions",class:"vs__selected-options"},K9=["disabled","title","aria-label","onClick"],Q9={ref:"actions",class:"vs__actions"},X9=["disabled"],uy={class:"vs__spinner"},ey=["id"],ty=["id","aria-selected","onMouseover","onClick"],ny={key:0,class:"vs__no-options"},ay=H0(" Sorry, no matching options. "),ry=["id"];function sy(u,t,n,a,i,s){const o=h4("append-to-body");return S(),I("div",{dir:n.dir,class:Tu(["v-select",s.stateClasses])},[yu(u.$slots,"header",xe(je(s.scope.header))),au("div",{id:"vs".concat(n.uid,"__combobox"),ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":s.dropdownOpen.toString(),"aria-owns":"vs".concat(n.uid,"__listbox"),"aria-label":"Search for option",onMousedown:t[1]||(t[1]=c=>s.toggleDropdown(c))},[au("div",Z9,[(S(!0),I(ft,null,Nt(s.selectedValue,(c,_)=>yu(u.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(c),deselect:s.deselect,multiple:n.multiple,disabled:n.disabled},()=>[(S(),I("span",{key:n.getOptionKey(c),class:"vs__selected"},[yu(u.$slots,"selected-option",xe(je(s.normalizeOptionForSlot(c))),()=>[H0(tu(n.getOptionLabel(c)),1)]),n.multiple?(S(),I("button",{key:0,ref_for:!0,ref:m=>i.deselectButtons[_]=m,disabled:n.disabled,type:"button",class:"vs__deselect",title:"Deselect ".concat(n.getOptionLabel(c)),"aria-label":"Deselect ".concat(n.getOptionLabel(c)),onClick:m=>s.deselect(c)},[(S(),ku(s0(s.childComponents.Deselect)))],8,K9)):_u("",!0)]))])),256)),yu(u.$slots,"search",xe(je(s.scope.search)),()=>[au("input",j0({class:"vs__search"},s.scope.search.attributes,km(s.scope.search.events)),null,16)])],512),au("div",Q9,[Ln(au("button",{ref:"clearButton",disabled:n.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...c)=>s.clearSelection&&s.clearSelection(...c))},[(S(),ku(s0(s.childComponents.Deselect)))],8,X9),[[Ti,s.showClearButton]]),yu(u.$slots,"open-indicator",xe(je(s.scope.openIndicator)),()=>[n.noDrop?_u("",!0):(S(),ku(s0(s.childComponents.OpenIndicator),xe(j0({key:0},s.scope.openIndicator.attributes)),null,16))]),yu(u.$slots,"spinner",xe(je(s.scope.spinner)),()=>[Ln(au("div",uy,"Loading...",512),[[Ti,u.mutableLoading]])])],512)],40,G9),ne(Fm,{name:n.transition},{default:$u(()=>[s.dropdownOpen?Ln((S(),I("ul",{id:"vs".concat(n.uid,"__listbox"),ref:"dropdownMenu",key:"vs".concat(n.uid,"__listbox"),class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=Si((...c)=>s.onMousedown&&s.onMousedown(...c),["prevent"])),onMouseup:t[3]||(t[3]=(...c)=>s.onMouseUp&&s.onMouseUp(...c))},[yu(u.$slots,"list-header",xe(je(s.scope.listHeader))),(S(!0),I(ft,null,Nt(s.filteredOptions,(c,_)=>(S(),I("li",{id:"vs".concat(n.uid,"__option-").concat(_),key:n.getOptionKey(c),role:"option",class:Tu(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(c)&&_===u.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(c),"vs__dropdown-option--highlight":_===u.typeAheadPointer,"vs__dropdown-option--disabled":!n.selectable(c)}]),"aria-selected":_===u.typeAheadPointer?!0:null,onMouseover:m=>n.selectable(c)?u.typeAheadPointer=_:null,onClick:Si(m=>n.selectable(c)?s.select(c):null,["prevent","stop"])},[yu(u.$slots,"option",xe(je(s.normalizeOptionForSlot(c))),()=>[H0(tu(n.getOptionLabel(c)),1)])],42,ty))),128)),s.filteredOptions.length===0?(S(),I("li",ny,[yu(u.$slots,"no-options",xe(je(s.scope.noOptions)),()=>[ay])])):_u("",!0),yu(u.$slots,"list-footer",xe(je(s.scope.listFooter)))],40,ey)),[[o]]):(S(),I("ul",{key:1,id:"vs".concat(n.uid,"__listbox"),role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,ry))]),_:3},8,["name"]),yu(u.$slots,"footer",xe(je(s.scope.footer)))],10,q9)}const No=ts($9,[["render",sy]]);var i4,o4;te(sm),bu(j(j({},No.props),No.mixins.reduce((u,t)=>j(j({},u),t.props),{})),{ariaLabelClearSelected:cu("Clear selected"),ariaLabelListbox:cu("Options")}),te(om,im),te(lm),cu("Any link"),dm("core","filetypes/link.svg"),(i4=window._vue_richtext_reference_providers)!=null||(window._vue_richtext_reference_providers=Ui("core","reference-provider-list",[])),(o4=window._vue_richtext_reference_provider_timestamps)!=null||(window._vue_richtext_reference_provider_timestamps=Ui("core","reference-provider-timestamps",{})),te(d4,cm),te(_m);const iy=["src"],oy={class:"widget-default--details"},ly={class:"widget-default--name"},dy={class:"widget-default--link"},cy=180*1e3,_y=Ae({__name:"NcReferenceWidget",props:{reference:{},interactive:{type:Boolean,default:!0},interactiveOptIn:{type:Boolean,default:!1}},setup(u){const t=u,n=ht(br,null),a=w0(!1),i=Hi("customWidget"),s=Hi("widgetRoot"),{width:o}=Xm(s);u6(s,([O])=>{_r(()=>{a.value=O.isIntersecting})});const c=w0(!1),_=w0(!1);let m=null;const D=G(()=>!t.interactiveOptIn&&t.interactive||c.value),f=G(()=>M9(t.reference.richObjectType)),y=G(()=>E9(t.reference.richObjectType)),p=G(()=>y.value&&g9(t.reference.richObjectType)),E=G(()=>!t.reference.accessible),B=G(()=>[450,550,650,1/0].findIndex(O=>o.value{if(B.value===0)return{display:"none"};const O=B.value;return{lineClamp:O,webkitLineClamp:O}}),C=G(()=>{const O=t.reference.openGraphObject.link;return O?O.startsWith("https://")?O.substring(8):O.startsWith("http://")?O.substring(7):O:""}),v=G(()=>Ir(n,t.reference.openGraphObject.link)),b=G(()=>v.value?jr:"a"),P=G(()=>v.value?{to:v.value}:{href:t.reference.openGraphObject.link,target:"_blank"});be(a,O=>{if(!O){m=setTimeout(()=>{a.value||V()},cy);return}m&&(clearTimeout(m),m=null),_.value||Y()},{immediate:!0}),Ym(()=>{V()});function q(){c.value=!0,Y()}function Y(){if(!i.value||t.reference.richObjectType==="open-graph")return;i.value.innerHTML="";const O=document.createElement("div");O.style.width="100%",i.value.appendChild(O),_r(()=>{p9(O,bu(j({},t.reference),{interactive:D.value})),_.value=!0})}function V(){_.value&&s.value&&(y9(t.reference.richObjectType,s.value),_.value=!1)}return(O,Q)=>(S(),I("div",{ref_key:"widgetRoot",ref:s,class:Tu({"toggle-interactive":p.value&&!D.value})},[O.reference&&y.value?(S(),I("div",{key:0,ref_key:"customWidget",ref:i,class:Tu(["widget-custom",{"full-width":f.value}])},null,2)):!E.value&&O.reference&&O.reference.openGraphObject&&!y.value?(S(),ku(s0(b.value),j0({key:1},P.value,{rel:"noopener noreferrer",class:"widget-default"}),{default:$u(()=>[O.reference.openGraphObject.thumb?(S(),I("img",{key:0,class:"widget-default--image",src:O.reference.openGraphObject.thumb},null,8,iy)):_u("",!0),au("div",oy,[au("p",ly,tu(O.reference.openGraphObject.name),1),au("p",{class:"widget-default--description",style:We(M.value)},tu(O.reference.openGraphObject.description),5),au("p",dy,tu(C.value),1)])]),_:1},16)):_u("",!0),O.interactiveOptIn&&p.value&&!D.value?(S(),ku(Tr,{key:2,class:"toggle-interactive--button",onClick:q},{default:$u(()=>[H0(tu(wu(cu)("Enable interactive view")),1)]),_:1})):_u("",!0)],2))}}),my=Me(_y,[["__scopeId","data-v-8ce33442"]]);te(mm),te(fm,d4,hm),te(pm,Dm),te(ym);const hy=2e3;function fy(u){const t=w0(!1),n=G(()=>t.value?y4:t6),a=G(()=>t.value?cu("Copied"):cu("Copy to clipboard"));async function i(){if(t.value)return;const s=Cu(u);try{await navigator.clipboard.writeText(s)}catch(o){prompt("",s)}t.value=!0,setTimeout(()=>{t.value=!1},hy)}return{isCopied:t,copy:i,icon:n,altText:a}}const Dy={name:"NcReferenceList",components:{NcReferenceWidget:my},props:{text:{type:String,default:""},referenceData:{type:Array,default:null},limit:{type:Number,default:1},displayFallback:{type:Boolean,default:!1},interactive:{type:Boolean,default:!0},interactiveOptIn:{type:Boolean,default:!1}},emits:["loaded"],data(){return{references:null,loading:!0}},computed:{isVisible(){return this.loading||this.displayedReferences.length!==0},values(){return this.referenceData?this.referenceData:this.displayFallback&&!this.loading&&!this.references?[this.fallbackReference]:this.references?Object.values(this.references):[]},firstReference(){var u;return(u=this.values[0])!=null?u:null},displayedReferences(){return this.values.filter(Boolean).slice(0,this.limit)},fallbackReference(){return{accessible:!0,openGraphObject:{id:this.text,link:this.text,name:this.text},richObjectType:"open-graph"}}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){if(this.loading=!0,this.referenceData){this.references=null,this.loading=!1;return}if(!new RegExp(Ji).exec(this.text)){this.references=null,this.loading=!1;return}this.resolve().then(u=>{this.references=u.data.ocs.data.references,this.loading=!1,this.$emit("loaded")}).catch(u=>{i0.error("[NcReferenceList] Failed to extract references",{error:u}),this.loading=!1,this.$emit("loaded")})},resolve(){const u=new RegExp(Ji).exec(this.text.trim()),t=Rt()===null;return this.limit===1&&u?t?x0.get(ot("references/resolvePublic")+"?reference=".concat(encodeURIComponent(u[0]),"&sharingToken=").concat(Oo())):x0.get(ot("references/resolve")+"?reference=".concat(encodeURIComponent(u[0]))):t?x0.post(ot("references/extractPublic"),{text:this.text,resolve:!0,limit:this.limit,sharingToken:Oo()}):x0.post(ot("references/extract"),{text:this.text,resolve:!0,limit:this.limit})}}};function py(u,t,n,a,i,s){const o=Ju("NcReferenceWidget");return s.isVisible?(S(),I("div",{key:0,class:Tu(["widgets--list",{"icon-loading":i.loading}])},[(S(!0),I(ft,null,Nt(s.displayedReferences,c=>{var _;return S(),ku(o,{key:(_=c.openGraphObject)==null?void 0:_.id,reference:c,interactive:n.interactive,interactiveOptIn:n.interactiveOptIn},null,8,["reference","interactive","interactiveOptIn"])}),128))],2)):_u("",!0)}const ar=Me(Dy,[["render",py],["__scopeId","data-v-9cde5a6a"]]);function Ro(u,t){const n=String(u);if(typeof t!="string")throw new TypeError("Expected character");let a=0,i=n.indexOf(t);for(;i!==-1;)a++,i=n.indexOf(t,i+t.length);return a}const Vt=Nn(/[A-Za-z]/),ns=Nn(/[\dA-Za-z]/);function yy(u){return u!==null&&(u<32||u===127)}function dt(u){return u!==null&&u<-2}function Gu(u){return u!==null&&(u<0||u===32)}function a0(u){return u===-2||u===-1||u===32}const zn=Nn(new RegExp("\\p{P}|\\p{S}","u")),O0=Nn(/\s/);function Nn(u){return t;function t(n){return n!==null&&n>-1&&u.test(String.fromCharCode(n))}}function Ey(u){if(typeof u!="string")throw new TypeError("Expected a string");return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Rn=(function(u){if(u==null)return Cy;if(typeof u=="function")return Un(u);if(typeof u=="object")return Array.isArray(u)?gy(u):My(u);if(typeof u=="string")return Ay(u);throw new Error("Expected function, string, or object as test")});function gy(u){const t=[];let n=-1;for(;++n":""))+")"})}return y;function y(){let p=rl,E,B,M;if(s(_,m,D[D.length-1]||void 0)&&(p=Yy(n(_,D)),p[0]===Uo))return p;if("children"in _&&_.children){const C=_;if(C.children&&p[0]!==ky)for(B=-1+o,M=D.concat(C);B>-1&&B0?{type:"text",value:P}:void 0),P===!1?f.lastIndex=v+1:(p!==v&&M.push({type:"text",value:_.value.slice(p,v)}),Array.isArray(P)?M.push(...P):P&&M.push(P),p=v+C[0].length,B=!0),!f.global)break;C=f.exec(_.value)}return B?(p<_.value.length&&M.push({type:"text",value:_.value.slice(p)}),D.children.splice(E,1,...M)):M=[_],E+M.length}}function xy(u){const t=[];if(!Array.isArray(u))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!u[0]||Array.isArray(u[0])?u:[u];let a=-1;for(;++a?\]}]+$/.exec(u);if(!t)return[u,void 0];u=u.slice(0,t.index);let n=t[0],a=n.indexOf(")");const i=Ro(u,"(");let s=Ro(u,")");for(;a!==-1&&i>s;)u+=n.slice(0,a+1),n=n.slice(a+1),a=n.indexOf(")"),s++;return[u,n]}function sl(u,t){const n=u.input.charCodeAt(u.index-1);return(u.index===0||O0(n)||zn(n))&&(!t||n!==47)}function qt(u){return u.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}il.peek=Xy;function Vy(){this.buffer()}function Jy(u){this.enter({type:"footnoteReference",identifier:"",label:""},u)}function $y(){this.buffer()}function qy(u){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},u)}function Gy(u){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qt(this.sliceSerialize(u)).toLowerCase(),n.label=t}function Zy(u){this.exit(u)}function Ky(u){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qt(this.sliceSerialize(u)).toLowerCase(),n.label=t}function Qy(u){this.exit(u)}function Xy(){return"["}function il(u,t,n,a){const i=n.createTracker(a);let s=i.move("[^");const o=n.enter("footnoteReference"),c=n.enter("reference");return s+=i.move(n.safe(n.associationId(u),{after:"]",before:s})),c(),o(),s+=i.move("]"),s}function u5(){return{enter:{gfmFootnoteCallString:Vy,gfmFootnoteCall:Jy,gfmFootnoteDefinitionLabelString:$y,gfmFootnoteDefinition:qy},exit:{gfmFootnoteCallString:Gy,gfmFootnoteCall:Zy,gfmFootnoteDefinitionLabelString:Ky,gfmFootnoteDefinition:Qy}}}function e5(u){let t=!1;return u&&u.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:il},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(a,i,s,o){const c=s.createTracker(o);let _=c.move("[^");const m=s.enter("footnoteDefinition"),D=s.enter("label");return _+=c.move(s.safe(s.associationId(a),{before:_,after:"]"})),D(),_+=c.move("]:"),a.children&&a.children.length>0&&(c.shift(4),_+=c.move((t?"\n":" ")+s.indentLines(s.containerFlow(a,c.current()),t?ol:t5))),m(),_}}function t5(u,t,n){return t===0?u:ol(u,t,n)}function ol(u,t,n){return(n?"":" ")+u}const n5=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];ll.peek=o5;function a5(){return{canContainEols:["delete"],enter:{strikethrough:s5},exit:{strikethrough:i5}}}function r5(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:n5}],handlers:{delete:ll}}}function s5(u){this.enter({type:"delete",children:[]},u)}function i5(u){this.exit(u)}function ll(u,t,n,a){const i=n.createTracker(a),s=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(u,bu(j({},i.current()),{before:o,after:"~"})),o+=i.move("~~"),s(),o}function o5(){return"~"}function l5(u){return u.length}function d5(u,t){const n=t||{},a=(n.align||[]).concat(),i=n.stringLength||l5,s=[],o=[],c=[],_=[];let m=0,D=-1;for(;++Dm&&(m=u[D].length);++C_[C])&&(_[C]=b)}B.push(v)}o[D]=B,c[D]=M}let f=-1;if(typeof a=="object"&&"length"in a)for(;++f_[f]&&(_[f]=v),p[f]=v),y[f]=b}o.splice(1,0,y),c.splice(1,0,p),D=-1;const E=[];for(;++D "),s.shift(2);const o=n.indentLines(n.containerFlow(u,s.current()),m5);return i(),o}function m5(u,t,n){return">"+(n?"":" ")+u}function h5(u,t){return Jo(u,t.inConstruct,!0)&&!Jo(u,t.notInConstruct,!1)}function Jo(u,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let a=-1;for(;++ao&&(o=s):s=1,i=a+t.length,a=n.indexOf(t,i);return o}function D5(u,t){return!!(t.options.fences===!1&&u.value&&!u.lang&&/[^ \r\n]/.test(u.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(u.value))}function p5(u){const t=u.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function y5(u,t,n,a){const i=p5(n),s=u.value||"",o=i==="`"?"GraveAccent":"Tilde";if(D5(u,n)){const f=n.enter("codeIndented"),y=n.indentLines(s,E5);return f(),y}const c=n.createTracker(a),_=i.repeat(Math.max(f5(s,i)+1,3)),m=n.enter("codeFenced");let D=c.move(_);if(u.lang){const f=n.enter("codeFencedLang".concat(o));D+=c.move(n.safe(u.lang,j({before:D,after:" ",encode:["`"]},c.current()))),f()}if(u.lang&&u.meta){const f=n.enter("codeFencedMeta".concat(o));D+=c.move(" "),D+=c.move(n.safe(u.meta,j({before:D,after:"\n",encode:["`"]},c.current()))),f()}return D+=c.move("\n"),s&&(D+=c.move(s+"\n")),D+=c.move(_),m(),D}function E5(u,t,n){return(n?"":" ")+u}function as(u){const t=u.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function g5(u,t,n,a){const i=as(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let c=n.enter("label");const _=n.createTracker(a);let m=_.move("[");return m+=_.move(n.safe(n.associationId(u),j({before:m,after:"]"},_.current()))),m+=_.move("]: "),c(),!u.url||/[\0- \u007F]/.test(u.url)?(c=n.enter("destinationLiteral"),m+=_.move("<"),m+=_.move(n.safe(u.url,j({before:m,after:">"},_.current()))),m+=_.move(">")):(c=n.enter("destinationRaw"),m+=_.move(n.safe(u.url,j({before:m,after:u.title?" ":"\n"},_.current())))),c(),u.title&&(c=n.enter("title".concat(s)),m+=_.move(" "+i),m+=_.move(n.safe(u.title,j({before:m,after:i},_.current()))),m+=_.move(i),c()),o(),m}function M5(u){const t=u.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Jt(u){return"&#x"+u.toString(16).toUpperCase()+";"}function bn(u){if(u===null||Gu(u)||O0(u))return 1;if(zn(u))return 2}function wn(u,t,n){const a=bn(u),i=bn(t);return a===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}dl.peek=A5;function dl(u,t,n,a){const i=M5(n),s=n.enter("emphasis"),o=n.createTracker(a),c=o.move(i);let _=o.move(n.containerPhrasing(u,j({after:i,before:c},o.current())));const m=_.charCodeAt(0),D=wn(a.before.charCodeAt(a.before.length-1),m,i);D.inside&&(_=Jt(m)+_.slice(1));const f=_.charCodeAt(_.length-1),y=wn(a.after.charCodeAt(0),f,i);y.inside&&(_=_.slice(0,-1)+Jt(f));const p=o.move(i);return s(),n.attentionEncodeSurroundingInfo={after:y.outside,before:D.outside},c+_+p}function A5(u,t,n){return n.options.emphasis||"*"}const C5={};function cl(u,t){const n=C5,a=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return _l(u,a,i)}function _l(u,t,n){if(L5(u)){if("value"in u)return u.type==="html"&&!n?"":u.value;if(t&&"alt"in u&&u.alt)return u.alt;if("children"in u)return qo(u.children,t,n)}return Array.isArray(u)?qo(u,t,n):""}function qo(u,t,n){const a=[];let i=-1;for(;++i"},_.current()))),m+=_.move(">")):(c=n.enter("destinationRaw"),m+=_.move(n.safe(u.url,j({before:m,after:u.title?" ":")"},_.current())))),c(),u.title&&(c=n.enter("title".concat(s)),m+=_.move(" "+i),m+=_.move(n.safe(u.title,j({before:m,after:i},_.current()))),m+=_.move(i),c()),m+=_.move(")"),o(),m}function Y5(){return"!"}fl.peek=v5;function fl(u,t,n,a){const i=u.referenceType,s=n.enter("imageReference");let o=n.enter("label");const c=n.createTracker(a);let _=c.move("![");const m=n.safe(u.alt,j({before:_,after:"]"},c.current()));_+=c.move(m+"]["),o();const D=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(u),j({before:_,after:"]"},c.current()));return o(),n.stack=D,s(),i==="full"||!m||m!==f?_+=c.move(f+"]"):i==="shortcut"?_=_.slice(0,-1):_+=c.move("]"),_}function v5(){return"!"}Dl.peek=x5;function Dl(u,t,n){let a=u.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(a);)i+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++s\u007F]/.test(u.url))}yl.peek=b5;function yl(u,t,n,a){const i=as(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(a);let c,_;if(pl(u,n)){const D=n.stack;n.stack=[],c=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(u,j({before:f,after:">"},o.current()))),f+=o.move(">"),c(),n.stack=D,f}c=n.enter("link"),_=n.enter("label");let m=o.move("[");return m+=o.move(n.containerPhrasing(u,j({before:m,after:"]("},o.current()))),m+=o.move("]("),_(),!u.url&&u.title||/[\0- \u007F]/.test(u.url)?(_=n.enter("destinationLiteral"),m+=o.move("<"),m+=o.move(n.safe(u.url,j({before:m,after:">"},o.current()))),m+=o.move(">")):(_=n.enter("destinationRaw"),m+=o.move(n.safe(u.url,j({before:m,after:u.title?" ":")"},o.current())))),_(),u.title&&(_=n.enter("title".concat(s)),m+=o.move(" "+i),m+=o.move(n.safe(u.title,j({before:m,after:i},o.current()))),m+=o.move(i),_()),m+=o.move(")"),c(),m}function b5(u,t,n){return pl(u,n)?"<":"["}El.peek=w5;function El(u,t,n,a){const i=u.referenceType,s=n.enter("linkReference");let o=n.enter("label");const c=n.createTracker(a);let _=c.move("[");const m=n.containerPhrasing(u,j({before:_,after:"]"},c.current()));_+=c.move(m+"]["),o();const D=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(u),j({before:_,after:"]"},c.current()));return o(),n.stack=D,s(),i==="full"||!m||m!==f?_+=c.move(f+"]"):i==="shortcut"?_=_.slice(0,-1):_+=c.move("]"),_}function w5(){return"["}function rs(u){const t=u.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function T5(u){const t=rs(u),n=u.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function S5(u){const t=u.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function gl(u){const t=u.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function H5(u,t,n,a){const i=n.enter("list"),s=n.bulletCurrent;let o=u.ordered?S5(n):rs(n);const c=u.ordered?o==="."?")":".":T5(n);let _=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!u.ordered){const D=u.children?u.children[0]:void 0;if((o==="*"||o==="-")&&D&&(!D.children||!D.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(_=!0),gl(n)===o&&D){let f=-1;for(;++f-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(u))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||u.spread))&&(o=Math.ceil(o/4)*4);const c=n.createTracker(a);c.move(s+" ".repeat(o-s.length)),c.shift(o);const _=n.enter("listItem"),m=n.indentLines(n.containerFlow(u,c.current()),D);return _(),m;function D(f,y,p){return y?(p?"":" ".repeat(o))+f:(p?s:s+" ".repeat(o-s.length))+f}}function P5(u,t,n,a){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(u,a);return s(),i(),o}const I5=Rn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function W5(u,t,n,a){return(u.children.some(function(i){return I5(i)})?n.containerPhrasing:n.containerFlow).call(n,u,a)}function z5(u){const t=u.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Ml.peek=N5;function Ml(u,t,n,a){const i=z5(n),s=n.enter("strong"),o=n.createTracker(a),c=o.move(i+i);let _=o.move(n.containerPhrasing(u,j({after:i,before:c},o.current())));const m=_.charCodeAt(0),D=wn(a.before.charCodeAt(a.before.length-1),m,i);D.inside&&(_=Jt(m)+_.slice(1));const f=_.charCodeAt(_.length-1),y=wn(a.after.charCodeAt(0),f,i);y.inside&&(_=_.slice(0,-1)+Jt(f));const p=o.move(i+i);return s(),n.attentionEncodeSurroundingInfo={after:y.outside,before:D.outside},c+_+p}function N5(u,t,n){return n.options.strong||"*"}function R5(u,t,n,a){return n.safe(u.value,a)}function U5(u){const t=u.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function V5(u,t,n){const a=(gl(n)+(n.options.ruleSpaces?" ":"")).repeat(U5(n));return n.options.ruleSpaces?a.slice(0,-1):a}const Al={blockquote:_5,break:$o,code:y5,definition:g5,emphasis:dl,hardBreak:$o,heading:k5,html:ml,image:hl,imageReference:fl,inlineCode:Dl,link:yl,linkReference:El,list:H5,listItem:O5,paragraph:P5,root:W5,strong:Ml,text:R5,thematicBreak:V5};function J5(){return{enter:{table:$5,tableData:Go,tableHeader:Go,tableRow:G5},exit:{codeText:Z5,table:q5,tableData:or,tableHeader:or,tableRow:or}}}function $5(u){const t=u._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},u),this.data.inTable=!0}function q5(u){this.exit(u),this.data.inTable=void 0}function G5(u){this.enter({type:"tableRow",children:[]},u)}function or(u){this.exit(u)}function Go(u){this.enter({type:"tableCell",children:[]},u)}function Z5(u){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,K5));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(u)}function K5(u,t){return t==="|"?t:u}function Q5(u){const t=u||{},n=t.tableCellPadding,a=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:y,table:o,tableCell:_,tableRow:c}};function o(p,E,B,M){return m(D(p,B,M),p.align)}function c(p,E,B,M){const C=f(p,B,M),v=m([C]);return v.slice(0,v.indexOf("\n"))}function _(p,E,B,M){const C=B.enter("tableCell"),v=B.enter("phrasing"),b=B.containerPhrasing(p,bu(j({},M),{before:s,after:s}));return v(),C(),b}function m(p,E){return d5(p,{align:E,alignDelimiters:a,padding:n,stringLength:i})}function D(p,E,B){const M=p.children;let C=-1;const v=[],b=E.enter("table");for(;++Ci?0:i+t:t=t>i?i:t,n=n>0?n:0,a.length<1e4)o=Array.from(a),o.unshift(t,n),u.splice(...o);else for(n&&u.splice(t,n);s0&&!n&&(u[u.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function EE(u,t,n){const a=[];let i=-1;for(;++i999||f===93&&!o||f===null||f===91||Gu(f))return n(f);if(f===93){u.exit("chunkString");const y=u.exit("gfmFootnoteCallString");return i.includes(qt(a.sliceSerialize(y)))?(u.enter("gfmFootnoteCallLabelMarker"),u.consume(f),u.exit("gfmFootnoteCallLabelMarker"),u.exit("gfmFootnoteCall"),t):n(f)}return Gu(f)||(o=!0),s++,u.consume(f),f===92?D:m}function D(f){return f===91||f===92||f===93?(u.consume(f),s++,m):m(f)}}function FE(u,t,n){const a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s,o=0,c;return _;function _(E){return u.enter("gfmFootnoteDefinition")._container=!0,u.enter("gfmFootnoteDefinitionLabel"),u.enter("gfmFootnoteDefinitionLabelMarker"),u.consume(E),u.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(E){return E===94?(u.enter("gfmFootnoteDefinitionMarker"),u.consume(E),u.exit("gfmFootnoteDefinitionMarker"),u.enter("gfmFootnoteDefinitionLabelString"),u.enter("chunkString").contentType="string",D):n(E)}function D(E){if(o>999||E===93&&!c||E===null||E===91||Gu(E))return n(E);if(E===93){u.exit("chunkString");const B=u.exit("gfmFootnoteDefinitionLabelString");return s=qt(a.sliceSerialize(B)),u.enter("gfmFootnoteDefinitionLabelMarker"),u.consume(E),u.exit("gfmFootnoteDefinitionLabelMarker"),u.exit("gfmFootnoteDefinitionLabel"),y}return Gu(E)||(c=!0),o++,u.consume(E),E===92?f:D}function f(E){return E===91||E===92||E===93?(u.consume(E),o++,D):D(E)}function y(E){return E===58?(u.enter("definitionMarker"),u.consume(E),u.exit("definitionMarker"),i.includes(s)||i.push(s),r0(u,p,"gfmFootnoteDefinitionWhitespace")):n(E)}function p(E){return t(E)}}function YE(u,t,n){return u.check(gE,t,u.attempt(AE,t,n))}function vE(u){u.exit("gfmFootnoteDefinition")}function xE(u,t,n){const a=this;return r0(u,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=a.events[a.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function bE(u){let t=(u||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,o){let c=-1;for(;++c1?c(p):(s.consume(p),D++,y);if(D<2&&!t)return c(p);const B=s.exit("strikethroughSequenceTemporary"),M=bn(p);return B._open=!M||M===2&&!!E,B._close=!E||E===2&&!!M,o(p)}}}class wE{constructor(){this.map=[]}add(t,n,a){TE(this,t,n,a)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const a=[];for(;n>0;)n-=1,a.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];a.push(t.slice()),t.length=0;let i=a.pop();for(;i;){for(const s of i)t.push(s);i=a.pop()}this.map.length=0}}function TE(u,t,n,a){let i=0;if(!(n===0&&a.length===0)){for(;i-1;){const U=a.events[J][1].type;if(U==="lineEnding"||U==="linePrefix")J--;else break}const $=J>-1?a.events[J][1].type:null,N=$==="tableHead"||$==="tableRow"?Y:_;return N===Y&&a.parser.lazy[a.now().line]?n(k):N(k)}function _(k){return u.enter("tableHead"),u.enter("tableRow"),m(k)}function m(k){return k===124||(o=!0,s+=1),D(k)}function D(k){return k===null?n(k):dt(k)?s>1?(s=0,a.interrupt=!0,u.exit("tableRow"),u.enter("lineEnding"),u.consume(k),u.exit("lineEnding"),p):n(k):a0(k)?r0(u,D,"whitespace")(k):(s+=1,o&&(o=!1,i+=1),k===124?(u.enter("tableCellDivider"),u.consume(k),u.exit("tableCellDivider"),o=!0,D):(u.enter("data"),f(k)))}function f(k){return k===null||k===124||Gu(k)?(u.exit("data"),D(k)):(u.consume(k),k===92?y:f)}function y(k){return k===92||k===124?(u.consume(k),f):f(k)}function p(k){return a.interrupt=!1,a.parser.lazy[a.now().line]?n(k):(u.enter("tableDelimiterRow"),o=!1,a0(k)?r0(u,E,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):E(k))}function E(k){return k===45||k===58?M(k):k===124?(o=!0,u.enter("tableCellDivider"),u.consume(k),u.exit("tableCellDivider"),B):q(k)}function B(k){return a0(k)?r0(u,M,"whitespace")(k):M(k)}function M(k){return k===58?(s+=1,o=!0,u.enter("tableDelimiterMarker"),u.consume(k),u.exit("tableDelimiterMarker"),C):k===45?(s+=1,C(k)):k===null||dt(k)?P(k):q(k)}function C(k){return k===45?(u.enter("tableDelimiterFiller"),v(k)):q(k)}function v(k){return k===45?(u.consume(k),v):k===58?(o=!0,u.exit("tableDelimiterFiller"),u.enter("tableDelimiterMarker"),u.consume(k),u.exit("tableDelimiterMarker"),b):(u.exit("tableDelimiterFiller"),b(k))}function b(k){return a0(k)?r0(u,P,"whitespace")(k):P(k)}function P(k){return k===124?E(k):k===null||dt(k)?!o||i!==s?q(k):(u.exit("tableDelimiterRow"),u.exit("tableHead"),t(k)):q(k)}function q(k){return n(k)}function Y(k){return u.enter("tableRow"),V(k)}function V(k){return k===124?(u.enter("tableCellDivider"),u.consume(k),u.exit("tableCellDivider"),V):k===null||dt(k)?(u.exit("tableRow"),t(k)):a0(k)?r0(u,V,"whitespace")(k):(u.enter("data"),O(k))}function O(k){return k===null||k===124||Gu(k)?(u.exit("data"),V(k)):(u.consume(k),k===92?Q:O)}function Q(k){return k===92||k===124?(u.consume(k),O):O(k)}}function OE(u,t){let n=-1,a=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],c=!1,_=0,m,D,f;const y=new wE;for(;++nn[2]+1){const E=n[2]+1,B=n[3]-n[2]-1;u.add(E,B,[])}}u.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},it(t.events,i)),u.add(i,0,[["exit",s,t]]),s=void 0),s}function u4(u,t,n,a,i){const s=[],o=it(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),a.end=Object.assign({},o),s.push(["exit",a,t]),u.add(n+1,0,s)}function it(u,t){const n=u[t],a=n[0]==="enter"?"start":"end";return n[1][a]}const PE={name:"tasklistCheck",tokenize:WE};function IE(){return{text:{91:PE}}}function WE(u,t,n){const a=this;return i;function i(_){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?n(_):(u.enter("taskListCheck"),u.enter("taskListCheckMarker"),u.consume(_),u.exit("taskListCheckMarker"),s)}function s(_){return Gu(_)?(u.enter("taskListCheckValueUnchecked"),u.consume(_),u.exit("taskListCheckValueUnchecked"),o):_===88||_===120?(u.enter("taskListCheckValueChecked"),u.consume(_),u.exit("taskListCheckValueChecked"),o):n(_)}function o(_){return _===93?(u.enter("taskListCheckMarker"),u.consume(_),u.exit("taskListCheckMarker"),u.exit("taskListCheck"),c):n(_)}function c(_){return dt(_)?t(_):a0(_)?u.check({tokenize:zE},t,n)(_):n(_)}}function zE(u,t,n){return r0(u,a,"whitespace");function a(i){return i===null?n(i):t(i)}}function NE(u){return rE([dE(),CE(),bE(u),HE(),IE()])}const RE={};function UE(u){const t=this,n=u||RE,a=t.data(),i=a.micromarkExtensions||(a.micromarkExtensions=[]),s=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);i.push(NE(n)),s.push(nE()),o.push(aE(n))}const VE=Ae({__name:"NcRichTextCopyButton",props:{contentId:{}},setup(u){const{copy:t,icon:n,altText:a}=fy(()=>document.getElementById(u.contentId).textContent);return(i,s)=>(S(),ku(Tr,{variant:"tertiary",size:"small","aria-label":wu(a),title:wu(a),onClick:wu(t)},{icon:$u(()=>[ne(wr,{path:wu(n),inline:""},null,8,["path"])]),_:1},8,["aria-label","title","onClick"]))}});function JE(u){return u.type==="text"}const $E=function(u){o0(u,JE,t);function t(n,a,i){const s=n.value.split(/(\{[a-z\-_.0-9]+\})/ig).map(o=>{const c=o.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!c)return lt("text",o);const[,_]=c;return lt("element",{tagName:"#".concat(_),children:[]})});i.children.splice(a,1,...s)}},qE=()=>$E;function GE(u){return["text","code","inlineCode"].includes(u.type)}const ZE=function(){return function(u){o0(u,GE,(t,n,a)=>(a.children.splice(n,1,bu(j({},t),{value:t.value.replace(/</gmi,"<").replace(/>/gmi,">")})),[Pr,n+1]))}},KE=["http","https","mailto","tel"],Yr=w0(null);async function QE(){const u=await wm(()=>import("./index-CtVyr4ss.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);Yr.value=u.default}const XE={name:"NcRichText",components:{NcReferenceList:ar},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},referenceInteractive:{type:Boolean,default:!0},referenceInteractiveOptIn:{type:Boolean,default:!1},references:{type:Array,default:null},useMarkdown:{type:Boolean,default:!1},useExtendedMarkdown:{type:Boolean,default:!1},interactive:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},emits:["interactTodo"],data(){return{parentId:Cn()}},methods:{renderPlaintext(){const u=this.text.split(/(\{[a-z\-_.0-9]+\})/ig).map(t=>{const n=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!n)return this.prepareTextNode(t);const a=n[1],i=this.arguments[a];if(typeof i=="object"){const{component:s,props:o}=i;return gu(typeof s=="string"?Ju(s):s,bu(j({},o),{class:"rich-text--component"}))}return i?gu("span",{class:"rich-text--fallback"},i):t});return gu("div",{class:"rich-text--wrapper"},[gu("div",{},u.flat()),this.referenceLimit>0?gu("div",{class:"rich-text--reference-widget"},[gu(ar,{text:this.text,referenceData:this.references,interactive:this.referenceInteractive,interactiveOptIn:this.referenceInteractiveOptIn})]):null])},renderMarkdown(){const u=c9().use(op).use(b6,{autolink:this.autolink,useMarkdown:this.useMarkdown,useExtendedMarkdown:this.useExtendedMarkdown}).use(ZE).use(this.useExtendedMarkdown?UE:void 0).use(ef).use(Jp,{except:KE}).use(Up,{handlers:{component(t,n){return t(n,n.component,{value:n.value})}}}).use(this.useExtendedMarkdown?Yr.value:void 0).use(qE).use(n2,{target:"_blank",rel:["noopener noreferrer"]}).use($2,{Fragment:ft,jsx:this.createElement,jsxs:this.createElement,elementAttributeNameCase:"html",prefix:!1}).processSync(this.text.replace(/<[^>]+>/g,t=>t.replace(/")).result;return gu("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[u,this.referenceLimit>0?gu("div",{class:"rich-text--reference-widget"},[gu(ar,{text:this.text,referenceData:this.references,interactive:this.referenceInteractive,interactiveOptIn:this.referenceInteractiveOptIn})]):null])},prepareTextNode(u){return this.autolink&&(u=C4(u)),Array.isArray(u)?u.map(t=>{if(typeof t=="string")return t;const{component:n,props:a}=t,i=n.name==="NcLink"?void 0:"rich-text--component";return gu(n,bu(j({},a),{class:i}))}):u},createElement(u,t,n){var s,o;n&&(t.key=n);const a=(s=t.children)!=null?s:[];if(delete t.children,!String(u).startsWith("#")){["h1","h2","h3","h4","h5","h6"].includes(String(u))&&(u="h".concat(Math.min(+String(u)[1]+3,6)));let c=null;if(this.useExtendedMarkdown){if(String(u)==="code"&&!Yr.value&&((o=t==null?void 0:t.class)!=null&&o.includes("language"))&&QE(),String(u)==="pre"&&a&&String(a.type)==="code"){const _=this.parentId+"-code-block-"+Cn();return gu("p",{class:"rich-text__code-block"},[gu(u,bu(j({},t),{id:_}),a),gu(VE,{class:"rich-text__code-block-button",contentId:_})])}if(String(u)==="li"&&Array.isArray(a)&&a.length!==0&&a[0].type==="input"&&a[0].props.type==="checkbox"){const[_,,...m]=a,D=m.findIndex(E=>["ul","ol","li","blockquote","pre"].includes(E.type));D!==-1&&(c=m[D],m.splice(D));const f=this.parentId+"-markdown-input-"+Cn(),y=j({},_.props);delete y.checked;const p=gu(Em,bu(j({},y),{modelValue:_.props.checked,id:f,disabled:!this.interactive,"onUpdate:modelValue":()=>{this.$emit("interactTodo",f)}}),{default:()=>m});return gu(u,t,[p,c])}}if(String(u)==="a"){const _=Ir(this.$router,t.href);if(_)return delete t.href,delete t.target,gu(jr,bu(j({},t),{to:_}),{default:()=>a})}return gu(u,t,a)}const i=this.arguments[u.slice(1)];return i?i.component?gu(typeof i.component=="string"?Ju(i.component):i.component,bu(j(j({},t),i.props),{class:"rich-text--component"}),{default:()=>a}):gu("span",j({},t),[i]):gu("span",bu(j({},t),{class:"rich-text--fallback"}),["{".concat(u.slice(1),"}")])}},render(){return this.useMarkdown||this.useExtendedMarkdown?this.renderMarkdown():this.renderPlaintext()}},vr=Me(XE,[["__scopeId","data-v-a47e4ba7"]]),ug={};function eg(u,t){return S(),I("div",null,[yu(u.$slots,"trigger")])}const tg=Me(ug,[["render",eg]]),ng={class:"user-bubble__name"},ag={key:0,class:"user-bubble__secondary"},rg=Ae({__name:"NcUserBubble",props:mr({avatarImage:{default:void 0},user:{default:void 0},displayName:{default:void 0},showUserStatus:{type:Boolean},url:{default:void 0},to:{default:void 0},primary:{type:Boolean},size:{default:20},margin:{default:2}},{open:{type:Boolean},openModifiers:{}}),emits:mr(["click"],["update:open"]),setup(u,{emit:t}){const n=m4(u,"open"),a=u,i=t,s=G(()=>{if(!a.avatarImage)return!1;try{return!!new URL(a.avatarImage)}catch(y){return!1}}),o=G(()=>!!a.avatarImage),c=G(()=>({marginInlineStart:"".concat(a.margin,"px")})),_=G(()=>{var y,p;if(!a.url||a.url.trim()==="")return!1;try{return!!new URL(a.url,(p=(y=a.url)==null?void 0:y.startsWith)!=null&&p.call(y,"/")?window.location.href:void 0)}catch(E){return vm("[NcUserBubble] Invalid URL passed",{url:a.url}),!1}}),m=G(()=>_.value?a.url:void 0),D=G(()=>_.value?"a":a.to?jr:"div"),f=G(()=>({height:"".concat(a.size,"px"),lineHeight:"".concat(a.size,"px"),borderRadius:"".concat(a.size/2,"px")}));return be([()=>a.displayName,()=>a.user],()=>{!a.displayName&&a.user}),(y,p)=>(S(),ku(s0(y.$slots.default?gm:tg),{shown:n.value,"onUpdate:shown":p[1]||(p[1]=E=>n.value=E),class:"user-bubble__wrapper",trigger:"hover focus"},{trigger:$u(({attrs:E})=>[(S(),ku(s0(D.value),j0({class:["user-bubble__content",{"user-bubble__content--primary":y.primary}],style:f.value,to:y.to,href:m.value},E,{onClick:p[0]||(p[0]=B=>i("click",B))}),{default:$u(()=>[ne(Wr,{url:o.value&&s.value?y.avatarImage:void 0,iconClass:o.value&&!s.value?y.avatarImage:void 0,user:y.user,displayName:y.displayName,size:y.size-y.margin*2,style:We(c.value),disableTooltip:"",disableMenu:"",hideStatus:!y.showUserStatus,class:"user-bubble__avatar"},null,8,["url","iconClass","user","displayName","size","style","hideStatus"]),au("span",ng,tu(y.displayName||y.user),1),y.$slots.name?(S(),I("span",ag,[yu(y.$slots,"name",{},void 0,!0)])):_u("",!0)]),_:2},1040,["class","style","to","href"]))]),default:$u(()=>[yu(y.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),lr=Me(rg,[["__scopeId","data-v-9189d023"]]),sg={name:"AddressBookRichArgument",props:{name:{type:String,required:!0}}};function ig(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const og=we(sg,[["render",ig]]),lg={name:"CalendarEventRichArgument",props:{name:{type:String,required:!0},title:{type:String,required:!0},link:{type:String,required:!0}}},dg=["href","title"];function cg(u,t,n,a,i,s){return S(),I("a",{href:n.link,title:n.title},[au("strong",null,tu(n.name),1)],8,dg)}const _g=we(lg,[["render",cg]]),mg={name:"CalendarRichArgument",props:{name:{type:String,required:!0}}};function hg(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const fg=we(mg,[["render",hg]]),Dg={name:"EmailRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0}}},pg=["href"];function yg(u,t,n,a,i,s){return S(),I("a",{href:"mailto:".concat(n.id)},tu(n.name),9,pg)}const Eg=we(Dg,[["render",yg]]);function gg(u){return u.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")}function e4(...u){if(arguments.length<1)return"";const t=u.filter(_=>_.length>0);if(t.length<1)return"";const n=t[t.length-1],a=t[0].charAt(0)==="/",i=n.charAt(n.length-1)==="/",s=t.reduce((_,m)=>_.concat(m.split("/")),[]);let o=!a;const c=s.reduce((_,m)=>m===""?_:o?(o=!1,_+m):_+"/"+m,"");return i?c+"/":c}function t4(u,t){const n=(u||"").split("/").filter(i=>i!=="."),a=(t||"").split("/").filter(i=>i!==".");return u=e4.apply(void 0,n),t=e4.apply(void 0,a),u===t}const Mg={name:"FileRichArgument",props:{name:{type:String,required:!0},path:{type:String,required:!0},link:{type:String,required:!0}},computed:{isRoot(){return t4(this.path,"")},parentPathIsRoot(){return t4(this.parentFolder,"/")},parentFolder(){return gg(this.name)}},methods:{t:Yn}},Ag={class:"rich-text-file"},Cg=["href"],Lg=["title","aria-label","href"],Bg=["title"];function kg(u,t,n,a,i,s){return S(),I("span",Ag,[!s.isRoot&&s.parentPathIsRoot?(S(),I("a",{key:0,href:n.link},tu(n.name),9,Cg)):_u("",!0),!s.isRoot&&!s.parentPathIsRoot?(S(),I("a",{key:1,title:s.t("activity","in {path}",{path:s.parentFolder}),"aria-label":s.t("activity","in {path}",{path:s.parentFolder}),href:n.link},tu(n.name),9,Lg)):_u("",!0),s.isRoot?(S(),I("span",{key:2,title:s.t("activity","Home"),"aria-label":"t('activity', 'Home')",class:"icon-home"},null,8,Bg)):_u("",!0)])}const Fg=we(Mg,[["render",kg],["__scopeId","data-v-fba0cce2"]]),Yg={name:"OpenGraphRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0},description:{type:String,required:!0},thumb:{type:String,default:""},link:{type:String,required:!0},website:{type:String,required:!0}},computed:{thumbIsDefined(){return this.thumb!==""}}},vg=["href"],xg=["id"],bg={class:"opengraph-website"};function wg(u,t,n,a,i,s){return S(),I("a",{href:n.link},[au("div",{id:"opengraph-".concat(n.id),class:"opengraph"},[s.thumbIsDefined?(S(),I("div",{key:0,class:"opengraph-thumb",style:We("background-image: url('".concat(n.thumb,"')"))},null,4)):_u("",!0),au("div",{class:Tu(["opengraph-name",{"opengraph-with-thumb":s.thumbIsDefined}])},tu(n.name),3),au("div",{class:Tu(["opengraph-description",{"opengraph-with-thumb":s.thumbIsDefined}])},tu(n.description),3),au("span",bg,tu(n.website),1)],8,xg)],8,vg)}const Tg=we(Yg,[["render",wg]]),Sg={name:"SystemTagRichArgument",props:{name:{type:String,required:!0}}};function Hg(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const jg=we(Sg,[["render",Hg],["__scopeId","data-v-3da0c816"]]),Og={name:"UnknownArgument",props:{name:{type:String,required:!0}}};function Pg(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const Ig=we(Og,[["render",Pg]]),Wg={name:"UnknownLinkArgument",props:{name:{type:String,required:!0},link:{type:String,required:!0}}},zg=["href"];function Ng(u,t,n,a,i,s){return S(),I("a",{href:n.link},tu(n.name),9,zg)}const Rg=we(Wg,[["render",Ng]]);function xr(u){const t={};for(const n in u)t[n]=Ug(u[n]);return t}function Ug(u){switch(u.type){case"file":return{component:Fg,props:u};case"user":return u.server?{component:lr,props:{avatarImage:"icon-user",displayName:u.name,user:u.id,url:u.link}}:{component:lr,props:{displayName:u.name,user:u.id,url:u.link}};case"group":return{component:lr,props:{avatarImage:"icon-group",displayName:u.name,primary:!0}};case"email":return{component:Eg,props:u};case"systemtag":return{component:jg,props:u};case"opengraph":return{component:Tg,props:u};case"calendar":return{component:fg,props:u};case"calendar-event":return{component:_g,props:u};case"addressbook":return{component:og,props:u};default:return u.link?{component:Rg,props:u}:{component:Ig,props:u}}}const Vg={class:"activity-entry comments-activity"},Jg={class:"comments-activity__content"},$g={key:1,class:"comments-activity__title"},qg={class:"hidden-visually"},Gg=Ae({__name:"CommentActivity",props:{activity:{},showPreviews:{type:Boolean}},setup(u){const t=u,n=G(()=>{var _,m,D;return(D=(m=(_=t.activity.subjectRichObjects)==null?void 0:_.author)==null?void 0:m.id)!=null?D:t.activity.user}),a=G(()=>{var _,m,D,f;return t.activity.user===((_=Rt())==null?void 0:_.uid)?Yn("activity","You commented"):(f=(D=(m=t.activity.subjectRichObjects)==null?void 0:m.author)==null?void 0:D.name)!=null?f:t.activity.user}),i=G(()=>t.activity.timestamp),s=G(()=>t.activity.messageRichTemplate||t.activity.message||Yn("activity","Message deleted by author")),o=G(()=>t.activity.subjectRichTemplate||t.activity.subject),c=G(()=>xr(t.activity.subjectRichObjects));return(_,m)=>(S(),I("li",Vg,[ne(wu(Wr),{class:"comments-activity__icon","disable-menu":!1,user:n.value},null,8,["user"]),au("div",Jg,[u.showPreviews?(S(),ku(wu(vr),{key:0,class:"comments-activity__title",text:o.value,arguments:c.value},null,8,["text","arguments"])):(S(),I("div",$g,tu(a.value),1)),ne(wu(vr),{class:"comments-activity__subline",text:s.value,arguments:u.activity.messageRichObjects},null,8,["text","arguments"])]),au("span",qg,tu(u.activity.formattedDate),1),ne(wu(k4),{class:"comments-activity__date","data-testid":"activity-date",timestamp:i.value,"ignore-seconds":!0},null,8,["timestamp"])]))}}),Zg=we(Gg,[["__scopeId","data-v-bbf97b44"]]);var Kg=Object.defineProperty,Qg=(u,t,n)=>t in u?Kg(u,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[t]=n,Xg=(u,t,n)=>Qg(u,t+"",n);class vl{constructor(t){if(Xg(this,"_activity"),typeof t!="object")throw new Error("Received activity data is not an object.");if(typeof t.activity_id!="number")throw new Error("The activity_id argument is not a number");if(typeof t.type!="string"||t.type.trim()==="")throw new Error("The type argument is not a valid string");if(typeof t.subject!="string"||t.subject.trim()==="")throw new Error("The subject argument is not a valid string");if(typeof t.icon!="string"||t.icon.trim()==="")throw new Error("The icon argument is not a valid string");if(typeof t.datetime!="string"||t.datetime.trim()==="")throw new Error("The datetime argument is not a valid string");this._activity=t}get id(){return this._activity.activity_id}get app(){return this._activity.app}get type(){return this._activity.type}get user(){return this._activity.user}get subject(){return this._activity.subject}get subjectRichTemplate(){return this._activity.subject_rich[0]}get subjectRichObjects(){return Array.isArray(this._activity.subject_rich[1])?{}:this._activity.subject_rich[1]}get message(){return this._activity.message}get messageRichTemplate(){return this._activity.message_rich[0]}get messageRichObjects(){return Array.isArray(this._activity.message_rich[1])?this._activity.message_rich[1]:{}}get objectType(){return this._activity.object_type}get objectId(){return this._activity.object_id}get objectName(){return this._activity.object_name}get link(){return this._activity.link}get icon(){return this._activity.icon}get datetime(){return this._activity.datetime}get dateFromNow(){return y0(this._activity.datetime).fromNow()}get formattedDate(){return y0(this._activity.datetime).format("LLL")}get timestamp(){return y0(this._activity.datetime).valueOf()}get previews(){var t;return(t=this._activity.previews)!=null?t:[]}}const uM=Ae({name:"GenericActivity",components:{NcAvatar:Wr,NcDateTime:k4,NcRichText:vr},props:{activity:{type:vl,required:!0},showPreviews:{type:Boolean,default:!1}},computed:{timestamp(){return this.activity.timestamp},messageText(){return this.activity.messageRichTemplate||this.activity.message},messageArguments(){return xr(this.activity.messageRichObjects)},subjectText(){return this.activity.subjectRichTemplate||this.activity.subject},subjectArguments(){return xr(this.activity.subjectRichObjects)},applyMonochromeIconColor(){return this.activity.type!=="file_created"&&this.activity.type!=="file_deleted"&&this.activity.type!=="favorite"&&!this.activity.icon.endsWith("-color.svg")?"monochrome":""}},methods:{t:Yn,handlePreviewClick(u,t){var n,a;if(t.filePath&&((a=(n=window==null?void 0:window.OCA)==null?void 0:n.Viewer)==null?void 0:a.open)!==void 0&&window.OCA.Viewer.mimetypes.includes(t.mimeType))try{window.OCA.Viewer.open({path:t.filePath.replace(/^\/[^/]+\/files/,"")}),u.preventDefault(),u.stopPropagation()}catch(i){f4.debug(i)}}}}),eM={class:"activity-entry"},tM={class:"activity-entry__content"},nM={class:"hidden-visually"},aM={key:0,class:"activity-entry__preview-wrapper"},rM=["src","alt"];function sM(u,t,n,a,i,s){const o=Ju("NcAvatar"),c=Ju("NcRichText"),_=Ju("NcDateTime");return S(),I("li",eM,[ne(o,{class:Tu([u.applyMonochromeIconColor,"activity-entry__icon","activity-icon","avatardiv--unknown"]),"disable-menu":!0,"disable-tooltip":!0,url:u.activity.icon,size:20},null,8,["class","url"]),au("div",tM,[ne(c,{class:"activity-entry__content__subject",text:u.subjectText,arguments:u.subjectArguments},null,8,["text","arguments"]),ne(c,{class:"activity-entry__content__message",text:u.messageText,arguments:u.messageArguments},null,8,["text","arguments"])]),au("span",nM,tu(u.activity.formattedDate),1),ne(_,{class:"activity-entry__date",timestamp:u.timestamp,"ignore-seconds":!0,"data-testid":"activity-date"},null,8,["timestamp"]),u.showPreviews?(S(),I("ul",aM,[(S(!0),I(ft,null,Nt(u.activity.previews,(m,D)=>{var f;return S(),I("li",{key:(f=m.fileId)!=null?f:"preview-".concat(D)},[(S(),ku(s0(m.link?"a":"span"),{class:"activity-entry__preview",href:m.link,onClick:y=>u.handlePreviewClick(y,m)},{default:$u(()=>[au("img",{class:Tu(["activity-entry__preview-image",{"activity-entry__preview-mimetype":m.isMimeTypeIcon}]),src:m.source,alt:m.link?u.t("activity","Open {filename}",{filename:m.filename}):""},null,10,rM)]),_:2},1032,["href","onClick"]))])}),128))])):_u("",!0)])}const iM=we(uM,[["render",sM],["__scopeId","data-v-4fe29a40"]]),oM=Ae({__name:"PluginActivity",props:{activity:{}},emits:["reload"],setup(u,{emit:t}){const n=u,a=t,i=w0();return Sr(()=>{var s;return n.activity.mount(i.value,{context:(s=Sn())==null?void 0:s.proxy,reload:()=>a("reload")})}),xm(()=>n.activity.unmount()),(s,o)=>(S(),I("li",{ref_key:"activityMount",ref:i},null,512))}}),LM=Ae({__name:"ActivityComponent",props:{activity:{},showPreviews:{type:Boolean}},emits:["reload"],setup(u){const t=u,n=G(()=>t),a=G(()=>t.activity instanceof vl?t.activity.type==="comments"?Zg:iM:(f4.warn("Activity is not an instance of ActivityModel",{activity:t.activity}),oM));return(i,s)=>(S(),ku(s0(a.value),j0(n.value,{onReload:s[0]||(s[0]=o=>i.$emit("reload"))}),null,16))}});export{vl as A,CM as N,LM as _,y4 as a,pM as b,y0 as c,AM as d,MM as e,ah as f,E4 as g,EM as h,gM as i,Or as j,x4 as k,Ui as l,yM as m,fM as o,DM as u,o0 as v}; -//# sourceMappingURL=ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs.map +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/index-CooJl9Cq.chunk.mjs'),window.OC.filePath('activity', '', 'js/_commonjsHelpers-Cqwegr3R.chunk.mjs'),window.OC.filePath('activity', '', 'js/_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-DO04_iVC.chunk.mjs'),window.OC.filePath('activity', '', 'js/translation-DoG5ZELJ-BlIPWNCX.chunk.mjs'),window.OC.filePath('activity', '', 'js/preload-helper-B9rAsR6N.chunk.mjs')])))=>i.map(i=>d[i]); +(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('@charset "UTF-8";.material-design-icon[data-v-b101d636]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.empty-content[data-v-b101d636]{display:flex;align-items:center;flex-direction:column;justify-content:center;flex-grow:1;padding:var(--default-grid-baseline)}.modal-wrapper .empty-content[data-v-b101d636]{margin-top:5vh;margin-bottom:5vh}.empty-content__icon[data-v-b101d636]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 15px;opacity:.4;background-repeat:no-repeat;background-position:center;background-size:64px}.empty-content__icon[data-v-b101d636] svg{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important}.empty-content__name[data-v-b101d636]{margin-bottom:10px;text-align:center;font-weight:700;font-size:20px;line-height:30px}.empty-content__description[data-v-b101d636]{color:var(--color-text-maxcontrast);text-align:center;text-wrap-style:balance}.empty-content__action[data-v-b101d636]{margin-top:8px}.modal-wrapper .empty-content__action[data-v-b101d636]{margin-top:20px;display:flex}.material-design-icon[data-v-72a1eed6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.avatardiv[data-v-72a1eed6]{position:relative;display:inline-block;width:var(--avatar-size);height:var(--avatar-size)}.avatardiv--unknown[data-v-72a1eed6]{position:relative;background-color:var(--color-main-background);white-space:normal}.avatardiv[data-v-72a1eed6]:not(.avatardiv--unknown){background-color:var(--color-main-background)!important;box-shadow:0 0 5px #0000000d inset}.avatardiv--with-menu[data-v-72a1eed6]{cursor:pointer}.avatardiv--with-menu .action-item[data-v-72a1eed6]{position:absolute;top:0;inset-inline-start:0}.avatardiv--with-menu[data-v-72a1eed6] .action-item__menutoggle{cursor:pointer;opacity:0}.avatardiv--with-menu[data-v-72a1eed6]:focus-within .action-item__menutoggle,.avatardiv--with-menu[data-v-72a1eed6]:hover .action-item__menutoggle,.avatardiv--with-menu.avatardiv--with-menu-loading[data-v-72a1eed6] .action-item__menutoggle{opacity:1}.avatardiv--with-menu:focus-within img[data-v-72a1eed6],.avatardiv--with-menu:hover img[data-v-72a1eed6],.avatardiv--with-menu.avatardiv--with-menu-loading img[data-v-72a1eed6]{opacity:.3}.avatardiv--with-menu[data-v-72a1eed6] .action-item__menutoggle,.avatardiv--with-menu img[data-v-72a1eed6]{transition:opacity var(--animation-quick)}.avatardiv--with-menu[data-v-72a1eed6] .button-vue,.avatardiv--with-menu[data-v-72a1eed6] .button-vue__icon{height:var(--avatar-size);min-height:var(--avatar-size);width:var(--avatar-size)!important;min-width:var(--avatar-size)}.avatardiv--with-menu[data-v-72a1eed6]>.button-vue,.avatardiv--with-menu[data-v-72a1eed6]>.action-item .button-vue{--button-radius: calc(var(--avatar-size) / 2)}.avatardiv .avatardiv__initials-wrapper[data-v-72a1eed6]{display:block;height:var(--avatar-size);width:var(--avatar-size);background-color:var(--color-main-background);border-radius:calc(var(--avatar-size) / 2)}.avatardiv .avatardiv__initials-wrapper .avatardiv__initials[data-v-72a1eed6]{position:absolute;top:0;inset-inline-start:0;display:block;width:100%;text-align:center;font-weight:400}.avatardiv img[data-v-72a1eed6]{width:100%;height:100%;object-fit:cover}.avatardiv .material-design-icon[data-v-72a1eed6]{width:var(--avatar-size);height:var(--avatar-size)}.avatardiv .avatardiv__user-status[data-v-72a1eed6]{--avatar-status-size-orbital: calc(var(--avatar-size) * (1 - 1 / sqrt(2)));--avatar-status-size-min: var(--font-size-small);--avatar-status-size: max(var(--avatar-status-size-orbital), var(--avatar-status-size-min));box-sizing:border-box;position:absolute;inset-inline-end:0;inset-block-end:0;height:var(--avatar-status-size);width:var(--avatar-status-size);line-height:1;font-size:calc(var(--avatar-status-size) / 1.2);background-color:var(--color-main-background);background-repeat:no-repeat;background-size:var(--avatar-status-size);background-position:center;border-radius:50%;display:flex;align-items:center;justify-content:center}.acli:hover .avatardiv .avatardiv__user-status[data-v-72a1eed6]{border-color:var(--color-background-hover);background-color:var(--color-background-hover)}.acli.active .avatardiv .avatardiv__user-status[data-v-72a1eed6]{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}.avatardiv .avatardiv__user-status--icon[data-v-72a1eed6]{border:none;background-color:transparent}.avatardiv .popovermenu-wrapper[data-v-72a1eed6]{position:relative;display:inline-block}.avatar-class-icon[data-v-72a1eed6]{display:block;border-radius:calc(var(--avatar-size) / 2);background-color:var(--color-background-darker);height:100%}.material-design-icon[data-v-45238efd]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.mention-bubble--primary .mention-bubble__content[data-v-45238efd]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.mention-bubble__wrapper[data-v-45238efd]{position:relative;max-width:150px;height:18px;vertical-align:text-bottom;display:inline-flex;align-items:center}.mention-bubble__content[data-v-45238efd]{display:inline-flex;overflow:hidden;align-items:center;max-width:100%;height:20px;-webkit-user-select:none;user-select:none;padding-inline:2px 6px;border-radius:10px;background-color:var(--color-background-dark)}.mention-bubble__icon[data-v-45238efd]{position:relative;width:16px;height:16px;border-radius:8px;background-color:var(--color-background-darker);background-repeat:no-repeat;background-position:center;background-size:12px}.mention-bubble__icon--with-avatar[data-v-45238efd]{color:inherit;background-size:cover}.mention-bubble__title[data-v-45238efd]{overflow:hidden;margin-inline-start:2px;white-space:nowrap;text-overflow:ellipsis}.mention-bubble__title[data-v-45238efd]:before{content:attr(title)}.mention-bubble__select[data-v-45238efd]{position:absolute;z-index:-1;inset-inline-start:-100vw;width:1px;height:1px;overflow:hidden}.material-design-icon[data-v-881a79fb]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-status-icon[data-v-881a79fb]{--user-status-color-online: #2D7B41;--user-status-color-busy: #DB0606;--user-status-color-away: #C88800;--user-status-color-offline: #6B6B6B;display:flex;justify-content:center;align-items:center}.user-status-icon--invisible[data-v-881a79fb]{filter:var(--background-invert-if-dark)}.user-status-icon[data-v-881a79fb] svg{width:100%;height:100%}.material-design-icon[data-v-6c2daf4e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-6c2daf4e]:hover,li.action.active[data-v-6c2daf4e]{border-radius:6px;padding:0}li.action[data-v-6c2daf4e]:hover{background-color:var(--color-background-hover)}.action--disabled[data-v-6c2daf4e]{pointer-events:none;opacity:.5}.action--disabled[data-v-6c2daf4e]:hover,.action--disabled[data-v-6c2daf4e]:focus{cursor:default;opacity:.5}.action--disabled[data-v-6c2daf4e] *{opacity:1!important}.action-button[data-v-6c2daf4e]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-button>span[data-v-6c2daf4e]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-6c2daf4e]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-6c2daf4e] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-6c2daf4e] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-6c2daf4e],.action-button__longtext[data-v-6c2daf4e]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-6c2daf4e]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-6c2daf4e]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-button__description[data-v-6c2daf4e]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-button__menu-icon[data-v-6c2daf4e],.action-button__pressed-icon[data-v-6c2daf4e]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action-button[data-v-6c2daf4e] *{cursor:pointer}.material-design-icon[data-v-32f01b7a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-32f01b7a]:hover,li.action.active[data-v-32f01b7a]{border-radius:6px;padding:0}li.action[data-v-32f01b7a]:hover{background-color:var(--color-background-hover)}.action-link[data-v-32f01b7a]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-link>span[data-v-32f01b7a]{cursor:pointer;white-space:nowrap}.action-link__icon[data-v-32f01b7a]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-link[data-v-32f01b7a] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-link[data-v-32f01b7a] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-link__longtext-wrapper[data-v-32f01b7a],.action-link__longtext[data-v-32f01b7a]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-link__longtext[data-v-32f01b7a]{cursor:pointer;white-space:pre-wrap!important}.action-link__name[data-v-32f01b7a]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-link__description[data-v-32f01b7a]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-link__menu-icon[data-v-32f01b7a]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.material-design-icon[data-v-87267750]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-87267750]:hover,li.action.active[data-v-87267750]{border-radius:6px;padding:0}li.action[data-v-87267750]:hover{background-color:var(--color-background-hover)}.action-router[data-v-87267750]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-router>span[data-v-87267750]{cursor:pointer;white-space:nowrap}.action-router__icon[data-v-87267750]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-router[data-v-87267750] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-router[data-v-87267750] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-router__longtext-wrapper[data-v-87267750],.action-router__longtext[data-v-87267750]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-router__longtext[data-v-87267750]{cursor:pointer;white-space:pre-wrap!important}.action-router__name[data-v-87267750]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-router__description[data-v-87267750]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-router__menu-icon[data-v-87267750]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action--disabled[data-v-87267750]{pointer-events:none;opacity:.5}.action--disabled[data-v-87267750]:hover,.action--disabled[data-v-87267750]:focus{cursor:default;opacity:.5}.action--disabled[data-v-87267750] *{opacity:1!important}.material-design-icon[data-v-fa684b48]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-fa684b48]:hover,li.action.active[data-v-fa684b48]{border-radius:6px;padding:0}li.action[data-v-fa684b48]:hover{background-color:var(--color-background-hover)}.action-text[data-v-fa684b48]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2);box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:var(--default-clickable-area)}.action-text>span[data-v-fa684b48]{cursor:pointer;white-space:nowrap}.action-text__icon[data-v-fa684b48]{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px;background-repeat:no-repeat}.action-text[data-v-fa684b48] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-text[data-v-fa684b48] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-text__longtext-wrapper[data-v-fa684b48],.action-text__longtext[data-v-fa684b48]{max-width:220px;line-height:1.6em;padding:calc((var(--default-clickable-area) - 1.6em) / 2) 0;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis}.action-text__longtext[data-v-fa684b48]{cursor:pointer;white-space:pre-wrap!important}.action-text__name[data-v-fa684b48]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-text__description[data-v-fa684b48]{display:block;white-space:pre-wrap;font-size:var(--font-size-small);line-height:var(--default-line-height);color:var(--color-text-maxcontrast);cursor:pointer}.action-text__menu-icon[data-v-fa684b48]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action--disabled[data-v-fa684b48]{pointer-events:none;opacity:.5}.action--disabled[data-v-fa684b48]:hover,.action--disabled[data-v-fa684b48]:focus{cursor:default;opacity:.5}.action--disabled[data-v-fa684b48] *{opacity:1!important}.action-text[data-v-fa684b48],.action-text span[data-v-fa684b48]{cursor:default}.material-design-icon[data-v-9cde5a6a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widgets--list[data-v-9cde5a6a]{width:100%;min-height:var(--default-clickable-area)}.material-design-icon[data-v-a47e4ba7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.rich-text--wrapper[data-v-a47e4ba7]{overflow-wrap:break-word;line-height:1.5}.rich-text--wrapper .rich-text--fallback[data-v-a47e4ba7],.rich-text--wrapper .rich-text-component[data-v-a47e4ba7]{display:inline}.rich-text--wrapper .rich-text--external-link[data-v-a47e4ba7]{text-decoration:underline}.rich-text--wrapper .rich-text--external-link[data-v-a47e4ba7]:after{content:" ↗"}.rich-text--wrapper-markdown[data-v-a47e4ba7]{tab-size:4}.rich-text--wrapper-markdown[data-v-a47e4ba7]>:first-child,.rich-text--wrapper-markdown div[data-v-a47e4ba7]>:first-child,.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7]>:first-child{margin-top:0!important}.rich-text--wrapper-markdown[data-v-a47e4ba7]>:last-child,.rich-text--wrapper-markdown[data-v-a47e4ba7]>*:has(+.rich-text--reference-widget),.rich-text--wrapper-markdown div[data-v-a47e4ba7]>:last-child,.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7]>:last-child{margin-block-end:0!important}.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7]{padding-inline-start:13px;border-inline-start:2px solid var(--color-border-dark);color:var(--color-text-maxcontrast)}.rich-text--wrapper-markdown h1[data-v-a47e4ba7],.rich-text--wrapper-markdown h2[data-v-a47e4ba7],.rich-text--wrapper-markdown h3[data-v-a47e4ba7],.rich-text--wrapper-markdown h4[data-v-a47e4ba7],.rich-text--wrapper-markdown h5[data-v-a47e4ba7],.rich-text--wrapper-markdown h6[data-v-a47e4ba7],.rich-text--wrapper-markdown p[data-v-a47e4ba7],.rich-text--wrapper-markdown ul[data-v-a47e4ba7],.rich-text--wrapper-markdown ol[data-v-a47e4ba7],.rich-text--wrapper-markdown blockquote[data-v-a47e4ba7],.rich-text--wrapper-markdown pre[data-v-a47e4ba7]{margin-top:0;margin-block-end:1em}.rich-text--wrapper-markdown h1[data-v-a47e4ba7],.rich-text--wrapper-markdown h2[data-v-a47e4ba7],.rich-text--wrapper-markdown h3[data-v-a47e4ba7],.rich-text--wrapper-markdown h4[data-v-a47e4ba7],.rich-text--wrapper-markdown h5[data-v-a47e4ba7],.rich-text--wrapper-markdown h6[data-v-a47e4ba7]{font-weight:700}.rich-text--wrapper-markdown h4[data-v-a47e4ba7]{font-size:20px}.rich-text--wrapper-markdown h5[data-v-a47e4ba7]{font-size:18px}.rich-text--wrapper-markdown h6[data-v-a47e4ba7]{font-size:15px}.rich-text--wrapper-markdown ul[data-v-a47e4ba7],.rich-text--wrapper-markdown ol[data-v-a47e4ba7]{padding-inline-start:4ch}.rich-text--wrapper-markdown ul[data-v-a47e4ba7]{list-style-type:disc}.rich-text--wrapper-markdown ul.contains-task-list[data-v-a47e4ba7]{list-style-type:none;padding:0}.rich-text--wrapper-markdown li.task-list-item>ul[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>ol[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>li[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>blockquote[data-v-a47e4ba7],.rich-text--wrapper-markdown li.task-list-item>pre[data-v-a47e4ba7]{margin-inline-start:15px;margin-block-end:0}.rich-text--wrapper-markdown pre[data-v-a47e4ba7]{direction:ltr}.rich-text--wrapper-markdown table[data-v-a47e4ba7]{border-collapse:collapse;border:2px solid var(--color-border-maxcontrast)}.rich-text--wrapper-markdown table th[data-v-a47e4ba7],.rich-text--wrapper-markdown table td[data-v-a47e4ba7]{padding:var(--default-grid-baseline);border:1px solid var(--color-border-maxcontrast)}.rich-text--wrapper-markdown table th[data-v-a47e4ba7]:first-child,.rich-text--wrapper-markdown table td[data-v-a47e4ba7]:first-child{border-inline-start:0}.rich-text--wrapper-markdown table th[data-v-a47e4ba7]:last-child,.rich-text--wrapper-markdown table td[data-v-a47e4ba7]:last-child{border-inline-end:0}.rich-text--wrapper-markdown table tr:first-child th[data-v-a47e4ba7]{border-top:0}.rich-text--wrapper-markdown table tr:last-child td[data-v-a47e4ba7]{border-block-end:0}.rich-text--wrapper-markdown .rich-text__code-block[data-v-a47e4ba7]:has(.hljs){color:var(--hljs-color);background:var(--hljs-background-color)}.rich-text--wrapper-markdown .hljs-doctag[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-keyword[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-meta .hljs-keyword[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-template-tag[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-template-variable[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-type[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-variable.language_[data-v-a47e4ba7]{color:var(--hljs-syntax-keyword-color)}.rich-text--wrapper-markdown .hljs-title[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-title.class_[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-title.class_.inherited__[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-title.function_[data-v-a47e4ba7]{color:var(--hljs-syntax-entity-color)}.rich-text--wrapper-markdown .hljs-attr[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-attribute[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-literal[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-meta[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-number[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-operator[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-variable[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-attr[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-class[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-id[data-v-a47e4ba7]{color:var(--hljs-syntax-constant-color)}.rich-text--wrapper-markdown .hljs-regexp[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-string[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-meta .hljs-string[data-v-a47e4ba7]{color:var(--hljs-syntax-string-color)}.rich-text--wrapper-markdown .hljs-built_in[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-symbol[data-v-a47e4ba7]{color:var(--hljs-syntax-variable-color)}.rich-text--wrapper-markdown .hljs-comment[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-code[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-formula[data-v-a47e4ba7]{color:var(--hljs-syntax-comment-color)}.rich-text--wrapper-markdown .hljs-name[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-quote[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-tag[data-v-a47e4ba7],.rich-text--wrapper-markdown .hljs-selector-pseudo[data-v-a47e4ba7]{color:var(--hljs-syntax-entity-tag-color)}.rich-text--wrapper-markdown .hljs-subst[data-v-a47e4ba7]{color:var(--hljs-syntax-storage-modifier-import-color)}.rich-text--wrapper-markdown .hljs-section[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-heading-color);font-weight:700}.rich-text--wrapper-markdown .hljs-bullet[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-list-color)}.rich-text--wrapper-markdown .hljs-emphasis[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-italic-color);font-style:italic}.rich-text--wrapper-markdown .hljs-strong[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-bold-color);font-weight:700}.rich-text--wrapper-markdown .hljs-addition[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-inserted-color);background-color:var(--hljs-syntax-markup-inserted-background-color)}.rich-text--wrapper-markdown .hljs-deletion[data-v-a47e4ba7]{color:var(--hljs-syntax-markup-deleted-color);background-color:var(--hljs-syntax-markup-deleted-background-color)}a[data-v-a47e4ba7]:not(.rich-text--component){text-decoration:underline}@media(prefers-color-scheme:light){.rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #24292e);--hljs-background-color: var(--color-background-dark, #ffffff);--hljs-syntax-keyword-color: #d73a49;--hljs-syntax-entity-color: #6f42c1;--hljs-syntax-constant-color: #005cc5;--hljs-syntax-string-color: #032f62;--hljs-syntax-variable-color: #e36209;--hljs-syntax-comment-color: #6a737d;--hljs-syntax-entity-tag-color: #22863a;--hljs-syntax-storage-modifier-import-color: #24292e;--hljs-syntax-markup-heading-color: #005cc5;--hljs-syntax-markup-list-color: #735c0f;--hljs-syntax-markup-italic-color: #24292e;--hljs-syntax-markup-bold-color: #24292e;--hljs-syntax-markup-inserted-color: #22863a;--hljs-syntax-markup-inserted-background-color: #f0fff4;--hljs-syntax-markup-deleted-color: #b31d28;--hljs-syntax-markup-deleted-background-color: #ffeef0}[data-theme-dark] .rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #c9d1d9);--hljs-background-color: var(--color-background-dark, #0d1117);--hljs-syntax-keyword-color: #ff7b72;--hljs-syntax-entity-color: #d2a8ff;--hljs-syntax-constant-color: #79c0ff;--hljs-syntax-string-color: #a5d6ff;--hljs-syntax-variable-color: #ffa657;--hljs-syntax-comment-color: #8b949e;--hljs-syntax-entity-tag-color: #7ee787;--hljs-syntax-storage-modifier-import-color: #c9d1d9;--hljs-syntax-markup-heading-color: #1f6feb;--hljs-syntax-markup-list-color: #f2cc60;--hljs-syntax-markup-italic-color: #c9d1d9;--hljs-syntax-markup-bold-color: #c9d1d9;--hljs-syntax-markup-inserted-color: #aff5b4;--hljs-syntax-markup-inserted-background-color: #033a16;--hljs-syntax-markup-deleted-color: #ffdcd7;--hljs-syntax-markup-deleted-background-color: #67060c}}@media(prefers-color-scheme:dark){.rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #c9d1d9);--hljs-background-color: var(--color-background-dark, #0d1117);--hljs-syntax-keyword-color: #ff7b72;--hljs-syntax-entity-color: #d2a8ff;--hljs-syntax-constant-color: #79c0ff;--hljs-syntax-string-color: #a5d6ff;--hljs-syntax-variable-color: #ffa657;--hljs-syntax-comment-color: #8b949e;--hljs-syntax-entity-tag-color: #7ee787;--hljs-syntax-storage-modifier-import-color: #c9d1d9;--hljs-syntax-markup-heading-color: #1f6feb;--hljs-syntax-markup-list-color: #f2cc60;--hljs-syntax-markup-italic-color: #c9d1d9;--hljs-syntax-markup-bold-color: #c9d1d9;--hljs-syntax-markup-inserted-color: #aff5b4;--hljs-syntax-markup-inserted-background-color: #033a16;--hljs-syntax-markup-deleted-color: #ffdcd7;--hljs-syntax-markup-deleted-background-color: #67060c}[data-theme-light] .rich-text--wrapper-markdown[data-v-a47e4ba7]{--hljs-color: var(--color-main-text, #24292e);--hljs-background-color: var(--color-background-dark, #ffffff);--hljs-syntax-keyword-color: #d73a49;--hljs-syntax-entity-color: #6f42c1;--hljs-syntax-constant-color: #005cc5;--hljs-syntax-string-color: #032f62;--hljs-syntax-variable-color: #e36209;--hljs-syntax-comment-color: #6a737d;--hljs-syntax-entity-tag-color: #22863a;--hljs-syntax-storage-modifier-import-color: #24292e;--hljs-syntax-markup-heading-color: #005cc5;--hljs-syntax-markup-list-color: #735c0f;--hljs-syntax-markup-italic-color: #24292e;--hljs-syntax-markup-bold-color: #24292e;--hljs-syntax-markup-inserted-color: #22863a;--hljs-syntax-markup-inserted-background-color: #f0fff4;--hljs-syntax-markup-deleted-color: #b31d28;--hljs-syntax-markup-deleted-background-color: #ffeef0}}.rich-text__code-block[data-v-a47e4ba7]{position:relative;padding-inline-end:calc(var(--clickable-area-small) + var(--default-grid-baseline))}.rich-text__code-block pre[data-v-a47e4ba7]{width:100%;overflow-x:auto}.rich-text__code-block .rich-text__code-block-button[data-v-a47e4ba7]{position:absolute;top:var(--default-grid-baseline);inset-inline-end:var(--default-grid-baseline);opacity:0}.rich-text__code-block:hover .rich-text__code-block-button[data-v-a47e4ba7],.rich-text__code-block:focus-within .rich-text__code-block-button[data-v-a47e4ba7],.rich-text__code-block .rich-text__code-block-button[data-v-a47e4ba7]:focus{opacity:1}.material-design-icon[data-v-e408867a],.material-design-icon[data-v-ea81d3af]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.provider-list[data-v-ea81d3af]{width:100%;min-height:400px;padding:0 16px 16px;display:flex;flex-direction:column}.provider-list--select[data-v-ea81d3af]{width:100%}.provider-list--select .provider[data-v-ea81d3af]{display:flex;align-items:center;height:28px;overflow:hidden}.provider-list--select .provider .link-icon[data-v-ea81d3af]{margin-inline-end:8px}.provider-list--select .provider .provider-icon[data-v-ea81d3af]{width:20px;height:20px;object-fit:contain;margin-inline-end:8px;filter:var(--background-invert-if-dark)}.provider-list--select .provider .option-text[data-v-ea81d3af]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-8ce33442]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widget-custom[data-v-8ce33442]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-container);background-color:transparent;display:flex}.widget-custom.full-width[data-v-8ce33442]{width:var(--widget-full-width, 100%)!important;inset-inline-start:calc((var(--widget-full-width, 100%) - 100%) / 2 * -1);position:relative}.widget-access[data-v-8ce33442]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-container);background-color:transparent;display:flex;padding:calc(var(--default-grid-baseline, 4px) * 3)}.widget-default[data-v-8ce33442]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-container);background-color:transparent;display:flex}.widget-default--compact[data-v-8ce33442]{flex-direction:column}.widget-default--compact .widget-default--image[data-v-8ce33442]{width:100%;height:150px}.widget-default--compact .widget-default--details[data-v-8ce33442]{width:100%;padding-top:calc(var(--default-grid-baseline, 4px) * 2);padding-bottom:calc(var(--default-grid-baseline, 4px) * 2)}.widget-default--compact .widget-default--description[data-v-8ce33442]{display:none}.widget-default--image[data-v-8ce33442]{width:40%;background-position:center;background-size:cover;background-repeat:no-repeat}.widget-default--name[data-v-8ce33442]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.widget-default--details[data-v-8ce33442]{padding:calc(var(--default-grid-baseline, 4px) * 3);width:60%}.widget-default--details p[data-v-8ce33442]{margin:0;padding:0}.widget-default--description[data-v-8ce33442]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical}.widget-default--link[data-v-8ce33442]{color:var(--color-text-maxcontrast);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggle-interactive[data-v-8ce33442]{position:relative}.toggle-interactive .toggle-interactive--button[data-v-8ce33442]{position:absolute;bottom:var(--default-grid-baseline);inset-inline-end:var(--default-grid-baseline);z-index:10000}.material-design-icon[data-v-918730b9]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.raw-link[data-v-918730b9]{width:100%;min-height:350px;display:flex;flex-direction:column;overflow-y:auto;padding:0 16px 16px}.raw-link .input-wrapper[data-v-918730b9]{width:100%}.raw-link .reference-widget[data-v-918730b9]{display:flex}.raw-link--empty-content .provider-icon[data-v-918730b9]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.raw-link--input[data-v-918730b9]{width:99%}.material-design-icon[data-v-059edcfb]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.result[data-v-059edcfb]{display:flex;align-items:center;height:var(--default-clickable-area);overflow:hidden}.result--icon-class[data-v-059edcfb],.result--image[data-v-059edcfb]{width:40px;min-width:40px;height:40px;object-fit:contain}.result--icon-class.rounded[data-v-059edcfb],.result--image.rounded[data-v-059edcfb]{border-radius:50%}.result--content[data-v-059edcfb]{display:flex;flex-direction:column;padding-inline-start:10px;overflow:hidden}.result--content--name[data-v-059edcfb],.result--content--subline[data-v-059edcfb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-af9d145f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.smart-picker-search[data-v-af9d145f]{width:100%;display:flex;flex-direction:column;padding:0 16px 16px}.smart-picker-search.with-empty-content[data-v-af9d145f]{min-height:400px}.smart-picker-search .provider-icon[data-v-af9d145f]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.smart-picker-search--select[data-v-af9d145f],.smart-picker-search--select .search-result[data-v-af9d145f]{width:100%}.smart-picker-search--select .group-name-icon[data-v-af9d145f],.smart-picker-search--select .option-simple-icon[data-v-af9d145f]{width:20px;height:20px;margin:0 20px 0 10px}.smart-picker-search--select .custom-option[data-v-af9d145f]{height:var(--default-clickable-area);display:flex;align-items:center;overflow:hidden}.smart-picker-search--select .option-text[data-v-af9d145f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-5e2e9195]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker[data-v-5e2e9195],.reference-picker .custom-element-wrapper[data-v-5e2e9195],.reference-picker .custom-element-wrapper .custom-element[data-v-5e2e9195]{display:flex;overflow-y:auto;width:100%}.material-design-icon[data-v-bf0a25ee]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker-modal[data-v-bf0a25ee] .modal-container{display:flex!important}.reference-picker-modal--content[data-v-bf0a25ee]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}.reference-picker-modal--content .close-button[data-v-bf0a25ee],.reference-picker-modal--content .back-button[data-v-bf0a25ee]{position:absolute;top:4px}.reference-picker-modal--content .back-button[data-v-bf0a25ee]{inset-inline-start:4px}.reference-picker-modal--content .close-button[data-v-bf0a25ee]{inset-inline-end:4px}.reference-picker-modal--content>h2[data-v-bf0a25ee]{display:flex;margin:12px 0 20px}.reference-picker-modal--content>h2 .icon[data-v-bf0a25ee]{margin-inline-end:8px}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}body{--vs-search-input-color: var(--color-main-text);--vs-search-input-bg: var(--color-main-background);--vs-search-input-placeholder-color: var(--color-text-maxcontrast);--vs-font-size: var(--default-font-size);--vs-line-height: var(--default-line-height);--vs-state-disabled-bg: var(--color-background-hover);--vs-state-disabled-color: var(--color-text-maxcontrast);--vs-state-disabled-controls-color: var(--color-text-maxcontrast);--vs-state-disabled-cursor: not-allowed;--vs-disabled-bg: var(--color-background-hover);--vs-disabled-color: var(--color-text-maxcontrast);--vs-disabled-cursor: not-allowed;--vs-border-color: var(--color-border-maxcontrast);--vs-border-width: var(--border-width-input, 2px) !important;--vs-border-style: solid;--vs-border-radius: var(--border-radius-element);--vs-controls-color: var(--color-main-text);--vs-selected-bg: var(--color-background-hover);--vs-selected-color: var(--color-main-text);--vs-selected-border-color: var(--vs-border-color);--vs-selected-border-style: var(--vs-border-style);--vs-selected-border-width: var(--vs-border-width);--vs-dropdown-bg: var(--color-main-background);--vs-dropdown-color: var(--color-main-text);--vs-dropdown-z-index: 9999;--vs-dropdown-box-shadow: 0px 2px 2px 0px var(--color-box-shadow);--vs-dropdown-option-padding: 8px 20px;--vs-dropdown-option--active-bg: var(--color-background-hover);--vs-dropdown-option--active-color: var(--color-main-text);--vs-dropdown-option--kb-focus-box-shadow: inset 0px 0px 0px 2px var(--vs-border-color);--vs-dropdown-option--deselect-bg: var(--color-error);--vs-dropdown-option--deselect-color: #fff;--vs-transition-duration: 0ms;--vs-actions-padding: 0 8px 0 4px}.v-select.select{min-height:calc(var(--default-clickable-area) - 2 * var(--border-width-input));min-width:260px;margin:0 0 var(--default-grid-baseline)}.v-select.select.vs--open{--vs-border-width: var(--border-width-input-focused, 2px)}.v-select.select .select__label{display:block;margin-bottom:2px}.v-select.select .vs__selected{height:calc(var(--default-clickable-area) - 2 * var(--vs-border-width) - var(--default-grid-baseline));margin:calc(var(--default-grid-baseline) / 2);padding-block:0;padding-inline:12px 8px;border-radius:16px!important;background:var(--color-primary-element-light);border:none}.v-select.select.vs--open .vs__selected:first-of-type{margin-inline-start:calc(var(--default-grid-baseline) / 2 - (var(--border-width-input-focused, 2px) - var(--border-width-input, 2px)))!important}.v-select.select .vs__search{text-overflow:ellipsis;color:var(--color-main-text);min-height:unset!important;height:calc(var(--default-clickable-area) - 2 * var(--vs-border-width))!important}.v-select.select .vs__search::placeholder{color:var(--color-text-maxcontrast)}.v-select.select .vs__search,.v-select.select .vs__search:focus{margin:0}.v-select.select .vs__dropdown-toggle{position:relative;max-height:100px;padding:var(--border-width-input);overflow-y:auto}.v-select.select .vs__actions{position:-webkit-sticky;position:sticky;top:0}.v-select.select .vs__clear{margin-inline-end:2px}.v-select.select.vs--open .vs__dropdown-toggle{border-color:var(--color-main-text);border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;border-style:solid;border-width:var(--border-width-input-focused);outline:2px solid var(--color-main-background);padding:0}.v-select.select:not(.vs--disabled,.vs--open) .vs__dropdown-toggle:active,.v-select.select:not(.vs--disabled,.vs--open) .vs__dropdown-toggle:focus-within{outline:2px solid var(--color-main-background);border-color:var(--color-main-text)}.v-select.select.vs--disabled .vs__search,.v-select.select.vs--disabled .vs__selected{color:var(--color-text-maxcontrast)}.v-select.select.vs--disabled .vs__clear,.v-select.select.vs--disabled .vs__deselect{display:none}.v-select.select--no-wrap .vs__selected-options{flex-wrap:nowrap;overflow:auto;min-width:unset}.v-select.select--no-wrap .vs__selected-options .vs__selected{min-width:unset}.v-select.select--drop-up.vs--open .vs__dropdown-toggle{border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);border-top-color:transparent;border-bottom-color:var(--color-main-text)}.v-select.select .vs__selected-options{min-height:calc(var(--default-clickable-area) - 2 * var(--vs-border-width))}.v-select.select .vs__selected-options .vs__selected~.vs__search[readonly]{position:absolute}.v-select.select .vs__selected-options{padding:0 5px}.v-select.select.vs--single.vs--loading .vs__selected,.v-select.select.vs--single.vs--open .vs__selected{max-width:100%;opacity:1;color:var(--color-text-maxcontrast)}.v-select.select.vs--single .vs__selected-options{flex-wrap:nowrap}.v-select.select.vs--single .vs__selected{background:unset!important}.vs__dropdown-toggle{--input-border-box-shadow-light: 0 -1px var(--vs-border-color), 0 0 0 1px color-mix(in srgb, var(--vs-border-color), 65% transparent);--input-border-box-shadow-dark: 0 1px var(--vs-border-color), 0 0 0 1px color-mix(in srgb, var(--vs-border-color), 65% transparent);--input-border-box-shadow: var(--input-border-box-shadow-light);border:none;border-radius:var(--border-radius-element);box-shadow:var(--input-border-box-shadow)}.vs__dropdown-toggle:hover:not([disabled]){box-shadow:0 0 0 1px var(--vs-border-color)}@media(prefers-color-scheme:dark){.vs__dropdown-toggle .vs__dropdown-toggle{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .vs__dropdown-toggle{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .vs__dropdown-toggle{--input-border-box-shadow: var(--input-border-box-shadow-light)}.select--legacy .vs__dropdown-toggle{box-shadow:0 0 0 1px var(--vs-border-color)}.select--legacy .vs__dropdown-toggle:hover:not([disabled]){box-shadow:0 0 0 2px var(--vs-border-color)}.vs__dropdown-menu{border-width:var(--border-width-input-focused)!important;border-color:var(--color-main-text)!important;outline:none!important;box-shadow:-2px 0 0 var(--color-main-background),0 2px 0 var(--color-main-background),2px 0 0 var(--color-main-background),!important;padding:4px!important}.vs__dropdown-menu--floating{width:max-content;position:absolute;top:0;inset-inline-start:0}.vs__dropdown-menu--floating-placement-top{border-radius:var(--vs-border-radius) var(--vs-border-radius) 0 0!important;border-top-style:var(--vs-border-style)!important;border-bottom-style:none!important;box-shadow:0 -2px 0 var(--color-main-background),-2px 0 0 var(--color-main-background),2px 0 0 var(--color-main-background),!important}.vs__dropdown-menu .vs__dropdown-option{border-radius:6px!important}.vs__dropdown-menu .vs__no-options{color:var(--color-text-maxcontrast)!important}.material-design-icon[data-v-a612f185]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.name-parts[data-v-a612f185]{display:flex;max-width:100%;cursor:inherit}.name-parts__first[data-v-a612f185]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-a612f185],.name-parts__last[data-v-a612f185]{white-space:pre;cursor:inherit}.name-parts__first strong[data-v-a612f185],.name-parts__last strong[data-v-a612f185]{font-weight:700}:root{--vs-colors--lightest: rgba(60, 60, 60, .26);--vs-colors--light: rgba(60, 60, 60, .5);--vs-colors--dark: #333;--vs-colors--darkest: rgba(0, 0, 0, .15);--vs-search-input-color: inherit;--vs-search-input-placeholder-color: inherit;--vs-font-size: 1rem;--vs-line-height: 1.4;--vs-state-disabled-bg: rgb(248, 248, 248);--vs-state-disabled-color: var(--vs-colors--light);--vs-state-disabled-controls-color: var(--vs-colors--light);--vs-state-disabled-cursor: not-allowed;--vs-border-color: var(--vs-colors--lightest);--vs-border-width: 1px;--vs-border-style: solid;--vs-border-radius: 4px;--vs-actions-padding: 4px 6px 0 3px;--vs-controls-color: var(--vs-colors--light);--vs-controls-size: 1;--vs-controls--deselect-text-shadow: 0 1px 0 #fff;--vs-selected-bg: #f0f0f0;--vs-selected-color: var(--vs-colors--dark);--vs-selected-border-color: var(--vs-border-color);--vs-selected-border-style: var(--vs-border-style);--vs-selected-border-width: var(--vs-border-width);--vs-dropdown-bg: #fff;--vs-dropdown-color: inherit;--vs-dropdown-z-index: 1000;--vs-dropdown-min-width: 160px;--vs-dropdown-max-height: 350px;--vs-dropdown-box-shadow: 0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg: #000;--vs-dropdown-option-color: var(--vs-dropdown-color);--vs-dropdown-option-padding: 3px 20px;--vs-dropdown-option--active-bg: #5897fb;--vs-dropdown-option--active-color: #fff;--vs-dropdown-option--deselect-bg: #fb5858;--vs-dropdown-option--deselect-color: #fff;--vs-transition-timing-function: cubic-bezier(1, -.115, .975, .855);--vs-transition-duration: .15s}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function: cubic-bezier(1, .5, .8, 1);--vs-transition-duration: .15s}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg: var(--vs-state-disabled-bg);--vs-disabled-color: var(--vs-state-disabled-color);--vs-disabled-cursor: var(--vs-state-disabled-cursor)}.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__clear,.vs--disabled .vs__search,.vs--disabled .vs__selected,.vs--disabled .vs__open-indicator{cursor:var(--vs-disabled-cursor);background-color:var(--vs-disabled-bg)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;padding:0 0 4px;background:none;border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:flex;align-items:center;padding:var(--vs-actions-padding)}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.vs__dropdown-menu{display:block;box-sizing:border-box;position:absolute;top:calc(100% - var(--vs-border-width));left:0;z-index:var(--vs-dropdown-z-index);padding:5px 0;margin:0;width:100%;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);overflow-y:auto;box-shadow:var(--vs-dropdown-box-shadow);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-top-style:none;border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);text-align:left;list-style:none;background:var(--vs-dropdown-bg);color:var(--vs-dropdown-color)}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:var(--vs-dropdown-option-padding);clear:both;color:var(--vs-dropdown-option-color);white-space:nowrap;cursor:pointer}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{display:flex;align-items:center;background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);line-height:var(--vs-line-height);margin:4px 2px 0;padding:0 .25em;z-index:0}.vs__deselect{display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:var(--vs-controls-color);text-shadow:var(--vs-controls--deselect-text-shadow)}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected,.vs--single.vs--loading .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration,.vs__search::-ms-clear{display:none}.vs__search,.vs__search:focus{color:var(--vs-search-input-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:var(--vs-line-height);font-size:var(--vs-font-size);border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0;padding:0 7px;background:none;box-shadow:none;width:0;max-width:100%;flex-grow:1;z-index:1}.vs__search::-moz-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid rgba(100,100,100,.1);border-right:.9em solid rgba(100,100,100,.1);border-bottom:.9em solid rgba(100,100,100,.1);border-left:.9em solid rgba(60,60,60,.45);transform:translateZ(0) scale(var(--vs-controls--spinner-size, var(--vs-controls-size)));-webkit-animation:vSelectSpinner 1.1s infinite linear;animation:vSelectSpinner 1.1s infinite linear;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em;transform:scale(var(--vs-controls--spinner-size, var(--vs-controls-size)))}.vs--loading .vs__spinner{opacity:1}.material-design-icon[data-v-bfba6aa6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}/*!\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */.input-field[data-v-bfba6aa6]{--input-border-color: var(--color-border-maxcontrast);--input-border-radius: var(--border-radius-element);--input-padding-start: var(--border-radius-element);--input-padding-end: var(--border-radius-element);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-bfba6aa6]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-bfba6aa6]{margin-block-start:0}.input-field--leading-icon[data-v-bfba6aa6]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-bfba6aa6]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-bfba6aa6]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-bfba6aa6]{height:var(--default-clickable-area);padding:var(--border-width-input-focused, 2px);position:relative}.input-field__input[data-v-bfba6aa6]{--input-border-box-shadow-light: 0 -1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow-dark: 0 1px var(--input-border-color), 0 0 0 1px color-mix(in srgb, var(--input-border-color), 65% transparent);--input-border-box-shadow: var(--input-border-box-shadow-light);border:none;border-radius:var(--border-radius-element);box-shadow:var(--input-border-box-shadow)}.input-field__input[data-v-bfba6aa6]:hover:not([disabled]){box-shadow:0 0 0 1px var(--input-border-color)}@media(prefers-color-scheme:dark){.input-field__input .input-field__input[data-v-bfba6aa6]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .input-field__input[data-v-bfba6aa6]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .input-field__input[data-v-bfba6aa6]{--input-border-box-shadow: var(--input-border-box-shadow-light)}.input-field--legacy .input-field__input[data-v-bfba6aa6]{box-shadow:0 0 0 1px var(--input-border-color)}.input-field--legacy .input-field__input[data-v-bfba6aa6]:hover:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color)}.input-field__input[data-v-bfba6aa6]:focus-within:not([disabled]),.input-field__input[data-v-bfba6aa6]:active:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color),0 0 0 4px var(--color-main-background)!important}.input-field__input[data-v-bfba6aa6]{background-color:var(--color-main-background);color:var(--color-main-text);border-radius:var(--input-border-radius);cursor:pointer;-webkit-appearance:textfield!important;-moz-appearance:textfield!important;appearance:textfield!important;font-size:var(--default-font-size);text-overflow:ellipsis;padding-block:0;padding-inline:var(--input-padding-start) var(--input-padding-end);height:100%!important;min-height:unset;width:100%}.input-field__input[data-v-bfba6aa6]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-bfba6aa6]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-bfba6aa6]::-webkit-search-decoration,.input-field__input[data-v-bfba6aa6]::-webkit-search-results-button,.input-field__input[data-v-bfba6aa6]::-webkit-search-results-decoration,.input-field__input[data-v-bfba6aa6]::-ms-clear{display:none}.input-field__input[data-v-bfba6aa6]:active:not([disabled]),.input-field__input[data-v-bfba6aa6]:focus:not([disabled]){--input-border-color: var(--color-main-text)}.input-field__input:focus+.input-field__label[data-v-bfba6aa6],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-bfba6aa6]{color:var(--color-main-text)}.input-field__input[data-v-bfba6aa6]:focus{cursor:text}.input-field__input[data-v-bfba6aa6]:disabled{cursor:default}.input-field__input[data-v-bfba6aa6]:focus-visible{box-shadow:unset!important}.input-field:not(.input-field--label-outside) .input-field__input[data-v-bfba6aa6]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-bfba6aa6]{--input-label-font-size: var(--default-font-size);font-size:var(--input-label-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;inset-block-start:calc((var(--default-clickable-area) - 1lh) / 2);inset-inline:var(--border-width-input-focused, 2px);color:var(--color-text-maxcontrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick),background-color var(--animation-quick) var(--animation-slow)}.input-field__input:focus+.input-field__label[data-v-bfba6aa6],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-bfba6aa6]{--input-label-font-size: 13px;line-height:1.5;inset-block-start:calc(-1.5 * var(--input-label-font-size) / 2);font-weight:500;border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0;background-color:var(--color-main-background);padding-inline:var(--default-grid-baseline);margin-inline:calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick)}.input-field__icon[data-v-bfba6aa6]{position:absolute;height:var(--default-clickable-area);width:var(--default-clickable-area);display:flex;align-items:center;justify-content:center;opacity:.7;inset-block-end:0}.input-field__icon--leading[data-v-bfba6aa6]{inset-inline-start:0px}.input-field__icon--trailing[data-v-bfba6aa6]{inset-inline-end:0px}.input-field__trailing-button[data-v-bfba6aa6]{--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px))}.input-field__trailing-button.button-vue[data-v-bfba6aa6]{position:absolute;top:var(--border-width-input-focused, 2px);inset-inline-end:var(--border-width-input-focused, 2px)}.input-field__trailing-button.button-vue[data-v-bfba6aa6]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-bfba6aa6]{padding-block:4px;padding-inline:var(--border-radius-element);display:flex;align-items:center;color:var(--color-text-maxcontrast);word-break:break-all}.input-field__helper-text-message__icon[data-v-bfba6aa6]{margin-inline-end:8px}.input-field--error .input-field__helper-text-message[data-v-bfba6aa6],.input-field--error .input-field__icon--trailing[data-v-bfba6aa6]{color:var(--color-text-error, var(--color-error))}.input-field--error .input-field__input[data-v-bfba6aa6],.input-field__input[data-v-bfba6aa6]:user-invalid{--input-border-color: var(--color-border-error, var(--color-error)) !important}.input-field--error .input-field__input[data-v-bfba6aa6]:focus-visible,.input-field__input[data-v-bfba6aa6]:user-invalid:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field--success .input-field__input[data-v-bfba6aa6]{--input-border-color: var(--color-border-success, var(--color-success)) !important}.input-field--success .input-field__input[data-v-bfba6aa6]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field--success .input-field__helper-text-message__icon[data-v-bfba6aa6]{color:var(--color-border-success, var(--color-success))}.material-design-icon[data-v-9189d023]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-bubble__wrapper[data-v-9189d023]{display:inline-block;vertical-align:middle;min-width:0;max-width:100%}.user-bubble__content[data-v-9189d023]{display:inline-flex;max-width:100%;background-color:var(--color-background-dark)}.user-bubble__content--primary[data-v-9189d023]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.user-bubble__content[data-v-9189d023]>:last-child{padding-inline-end:8px}.user-bubble__avatar[data-v-9189d023]{align-self:center}.user-bubble__name[data-v-9189d023]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-bubble__name[data-v-9189d023],.user-bubble__secondary[data-v-9189d023]{padding-block:0;padding-inline:4px 0}.rich-text-file .icon-home[data-v-0ba38d02]{display:inline-block;vertical-align:text-top}strong[data-v-3da0c816]{padding:2px 5px;border-radius:3px;background-color:var(--color-background-darker);font-weight:400}.comments-activity[data-v-bbf97b44]{display:flex;flex-wrap:nowrap;align-items:flex-start;width:100%;min-height:32px;padding:8px 0;gap:8px}.comments-activity__icon[data-v-bbf97b44]{flex:0 0 fit-content}.comments-activity__content[data-v-bbf97b44]{flex:1 0;display:flex;flex-direction:column;width:100%}.comments-activity__title[data-v-bbf97b44]{color:var(--color-text-maxcontrast);display:flex;flex-direction:row;justify-content:space-between}.comments-activity__date[data-v-bbf97b44]{color:var(--color-text-maxcontrast)}.activity-entry[data-v-4fe29a40]{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;height:var(--height);min-height:32px;padding:8px 0}.activity-entry__icon[data-v-4fe29a40]{opacity:.5;margin-top:2px}.activity-entry .avatardiv[data-v-4fe29a40]{box-sizing:content-box!important;background-color:unset!important}.activity-entry .avatardiv[data-v-4fe29a40] img{border-radius:0!important}.activity-entry__content[data-v-4fe29a40]{display:flex;flex-basis:min-content;flex-direction:column;flex-grow:1;overflow-wrap:break-word;white-space:pre-wrap;word-break:break-word;overflow:hidden}.activity-entry__content__subject[data-v-4fe29a40]{padding:0 5px}.activity-entry__content__message[data-v-4fe29a40]{color:var(--color-text-lighter)}.activity-entry__content[data-v-4fe29a40] a{font-weight:700}.activity-entry__content[data-v-4fe29a40] a:hover{opacity:.7;text-decoration:underline}.activity-entry__actions[data-v-4fe29a40]{inset-block:-8px}.activity-entry__date[data-v-4fe29a40]{color:var(--color-text-lighter);margin-left:5px;flex-shrink:0}.activity-entry__preview-wrapper[data-v-4fe29a40]{flex:0 0 100%;gap:12px;padding-inline-start:24px;display:flex;flex-wrap:wrap}.activity-entry__preview[data-v-4fe29a40]:hover{opacity:.75}.activity-entry__preview-image[data-v-4fe29a40]{height:50px;width:50px}.activity-entry__preview-image[data-v-4fe29a40]:not(.activity-entry__preview-mimetype){border:2px solid var(--color-border);border-radius:var(--border-radius-large)}.activity-entry__preview-image[data-v-4fe29a40]:not(.activity-entry__preview-mimetype):hover{border-color:var(--color-main-text);outline:2px solid var(--color-main-background)}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})(); +var R_=Object.defineProperty,U_=Object.defineProperties;var V_=Object.getOwnPropertyDescriptors;var Dn=Object.getOwnPropertySymbols;var Yi=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable;var Pa=(u,t,n)=>t in u?R_(u,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[t]=n,j=(u,t)=>{for(var n in t||(t={}))Yi.call(t,n)&&Pa(u,n,t[n]);if(Dn)for(var n of Dn(t))vi.call(t,n)&&Pa(u,n,t[n]);return u},bu=(u,t)=>U_(u,V_(t));var pn=(u,t)=>{var n={};for(var a in u)Yi.call(u,a)&&t.indexOf(a)<0&&(n[a]=u[a]);if(u!=null&&Dn)for(var a of Dn(u))t.indexOf(a)<0&&vi.call(u,a)&&(n[a]=u[a]);return n};var Ee=(u,t,n)=>Pa(u,typeof t!="symbol"?t+"":t,n);import{D as Fn,E as br,F as J_,G as $_,H as dr,C as q_,_ as Me,e as Cn,I as xi,J as G_,l as i0,r as te,K as Z_,a as cu,z as l4,L as K_,M as Q_,g as x0,h as ot,O as X_,P as Tn,b as wr,Q as um,k as em,N as Tr,w as tm,R as nm,S as am,T as rm,U as sm,s as im,V as om,W as lm,X as dm,Y as cm,Z as d4,$ as _m,a0 as mm,a1 as hm,a2 as fm,a3 as Dm,a4 as pm,a5 as ym,y as Em,a6 as gm,f as we}from"./_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs";import{d as Ae,r as cr,i as ht,h as gu,c as G,u as wu,w as be,a3 as Mm,F as c4,G as Am,B as Sr,n as _r,E as Sn,a4 as _4,s as E0,D as Cu,X as Cm,b as w0,a5 as Lm,a6 as Bm,e as I,f as S,M as _u,j as yu,x as H0,t as tu,P as mr,Q as m4,z as Tu,A as Ju,k as au,g as ku,L as We,O as j0,m as ne,q as $u,a7 as h4,l as Ln,a1 as bi,N as ft,U as Nt,K as s0,a8 as wi,_ as xe,$ as je,a9 as km,v as Ti,y as Si,a0 as Fm,S as Hi,J as Ym,W as vm,V as Yn,H as xm}from"./translation-DoG5ZELJ-BlIPWNCX.chunk.mjs";import{g as bm,b as Rt,u as Ia,s as Wa,l as f4}from"./logger-DO04_iVC.chunk.mjs";import{_ as wm}from"./preload-helper-B9rAsR6N.chunk.mjs";import{g as Hr}from"./_commonjsHelpers-Cqwegr3R.chunk.mjs";function ji(u,t){return(u.aliasOf||u)===(t.aliasOf||t)}function Tm(u,t){if(Object.keys(u).length!==Object.keys(t).length)return!1;for(var n in u)if(!Sm(u[n],t[n]))return!1;return!0}function Sm(u,t){return Fn(u)?Oi(u,t):Fn(t)?Oi(t,u):(u&&u.valueOf())===(t&&t.valueOf())}function Oi(u,t){return Fn(t)?u.length===t.length&&u.every((n,a)=>n===t[a]):u.length===1&&u[0]===t}function Pi(u){const t=ht(br),n=ht(J_),a=G(()=>{const _=wu(u.to);return t.resolve(_)}),i=G(()=>{const{matched:_}=a.value,{length:m}=_,D=_[m-1],f=n.matched;if(!D||!f.length)return-1;const y=f.findIndex(ji.bind(null,D));if(y>-1)return y;const p=Ii(_[m-2]);return m>1&&Ii(D)===p&&f[f.length-1].path!==p?f.findIndex(ji.bind(null,_[m-2])):y}),s=G(()=>i.value>-1&&Pm(n.params,a.value.params)),o=G(()=>i.value>-1&&i.value===n.matched.length-1&&Tm(n.params,a.value.params));function c(_={}){if(Om(_)){const m=t[wu(u.replace)?"replace":"push"](wu(u.to)).catch($_);return u.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>m),m}return Promise.resolve()}return{route:a,href:G(()=>a.value.href),isActive:s,isExactActive:o,navigate:c}}function Hm(u){return u.length===1?u[0]:u}const jm=Ae({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Pi,setup(u,{slots:t}){const n=cr(Pi(u)),{options:a}=ht(br),i=G(()=>({[Wi(u.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[Wi(u.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&Hm(t.default(n));return u.custom?s:gu("a",{"aria-current":n.isExactActive?u.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),jr=jm;function Om(u){if(!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)&&!u.defaultPrevented&&!(u.button!==void 0&&u.button!==0)){if(u.currentTarget&&u.currentTarget.getAttribute){const t=u.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return u.preventDefault&&u.preventDefault(),!0}}function Pm(u,t){for(const n in t){const a=t[n],i=u[n];if(typeof a=="string"){if(a!==i)return!1}else if(!Fn(i)||i.length!==a.length||a.some((s,o)=>s.valueOf()!==i[o].valueOf()))return!1}return!0}function Ii(u){return u?u.aliasOf?u.aliasOf.path:u.path:""}const Wi=(u,t,n)=>{var a;return(a=u!=null?u:t)!=null?a:n};function Hn(u,t){return c4()?(Am(u,t),!0):!1}const za=new WeakMap,Im=(...u)=>{var t;const n=u[0],a=(t=Sn())===null||t===void 0?void 0:t.proxy,i=a!=null?a:c4();if(i==null&&!_4())throw new Error("injectLocal must be called in setup");return i&&za.has(i)&&n in za.get(i)?za.get(i)[n]:ht(...u)},D4=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const p4=u=>u!=null,Wm=Object.prototype.toString,zm=u=>Wm.call(u)==="[object Object]",b0=()=>{};function zi(u){return u.endsWith("rem")?Number.parseFloat(u)*16:Number.parseFloat(u)}function ct(u){return Array.isArray(u)?u:[u]}function Nm(u){return Sn()}function Rm(u){if(!D4)return u;let t=0,n,a;const i=()=>{t-=1,a&&t<=0&&(a.stop(),n=void 0,a=void 0)};return((...s)=>(t+=1,a||(a=Mm(!0),n=a.run(()=>u(...s))),Hn(i),n))}function Um(u,t=!0,n){Nm()?Sr(u,n):t?u():_r(u)}function Vm(u,t,n){return be(u,t,bu(j({},n),{immediate:!0}))}const P0=D4?window:void 0;function Iu(u){var t;const n=Cu(u);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function T0(...u){const t=(a,i,s,o)=>(a.addEventListener(i,s,o),()=>a.removeEventListener(i,s,o)),n=G(()=>{const a=ct(Cu(u[0])).filter(i=>i!=null);return a.every(i=>typeof i!="string")?a:void 0});return Vm(()=>{var a,i;return[(a=(i=n.value)===null||i===void 0?void 0:i.map(s=>Iu(s)))!==null&&a!==void 0?a:[P0].filter(s=>s!=null),ct(Cu(n.value?u[1]:u[0])),ct(wu(n.value?u[2]:u[1])),Cu(n.value?u[3]:u[2])]},([a,i,s,o],c,_)=>{if(!(a!=null&&a.length)||!(i!=null&&i.length)||!(s!=null&&s.length))return;const m=zm(o)?j({},o):o,D=a.flatMap(f=>i.flatMap(y=>s.map(p=>t(f,y,p,m))));_(()=>{D.forEach(f=>f())})},{flush:"post"})}function fM(u,t,n={}){const{window:a=P0,ignore:i=[],capture:s=!0,detectIframe:o=!1,controls:c=!1}=n;if(!a)return c?{stop:b0,cancel:b0,trigger:b0}:b0;let _=!0;const m=M=>Cu(i).some(C=>{if(typeof C=="string")return Array.from(a.document.querySelectorAll(C)).some(v=>v===M.target||M.composedPath().includes(v));{const v=Iu(C);return v&&(M.target===v||M.composedPath().includes(v))}});function D(M){const C=Cu(M);return C&&C.$.subTree.shapeFlag===16}function f(M,C){const v=Cu(M),b=v.$.subTree&&v.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(P=>P.el===C.target||C.composedPath().includes(P.el))}const y=M=>{const C=Iu(u);if(M.target!=null&&!(!(C instanceof Element)&&D(u)&&f(u,M))&&!(!C||C===M.target||M.composedPath().includes(C))){if("detail"in M&&M.detail===0&&(_=!m(M)),!_){_=!0;return}t(M)}};let p=!1;const E=[T0(a,"click",M=>{p||(p=!0,setTimeout(()=>{p=!1},0),y(M))},{passive:!0,capture:s}),T0(a,"pointerdown",M=>{const C=Iu(u);_=!m(M)&&!!(C&&!M.composedPath().includes(C))},{passive:!0}),o&&T0(a,"blur",M=>{setTimeout(()=>{var C;const v=Iu(u);((C=a.document.activeElement)===null||C===void 0?void 0:C.tagName)==="IFRAME"&&!(v!=null&&v.contains(a.document.activeElement))&&t(M)},0)},{passive:!0})].filter(Boolean),B=()=>E.forEach(M=>M());return c?{stop:B,cancel:()=>{_=!1},trigger:M=>{_=!0,y(M),_=!1}}:B}function Jm(){const u=E0(!1),t=Sn();return t&&Sr(()=>{u.value=!0},t),u}function jn(u){const t=Jm();return G(()=>(t.value,!!u()))}function $m(u,t,n={}){const f=n,{window:a=P0}=f,i=pn(f,["window"]);let s;const o=jn(()=>a&&"MutationObserver"in a),c=()=>{s&&(s.disconnect(),s=void 0)},_=be(G(()=>{const y=ct(Cu(u)).map(Iu).filter(p4);return new Set(y)}),y=>{c(),o.value&&y.size&&(s=new MutationObserver(t),y.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),m=()=>s==null?void 0:s.takeRecords(),D=()=>{_(),c()};return Hn(D),{isSupported:o,stop:D,takeRecords:m}}const qm=Symbol("vueuse-ssr-width");function Gm(){const u=_4()?Im(qm,null):null;return typeof u=="number"?u:void 0}function Zm(u,t={}){const{window:n=P0,ssrWidth:a=Gm()}=t,i=jn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=E0(typeof a=="number"),o=E0(),c=E0(!1),_=m=>{c.value=m.matches};return Cm(()=>{if(s.value){s.value=!i.value,c.value=Cu(u).split(",").some(m=>{const D=m.includes("not all"),f=m.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=m.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||y);return f&&p&&(p=a>=zi(f[1])),y&&p&&(p=a<=zi(y[1])),D?!p:p});return}i.value&&(o.value=n.matchMedia(Cu(u)),c.value=o.value.matches)}),T0(o,"change",_,{passive:!0}),G(()=>c.value)}function Km(u){return Zm("(prefers-color-scheme: dark)",u)}function Qm(u,t,n={}){const D=n,{window:a=P0}=D,i=pn(D,["window"]);let s;const o=jn(()=>a&&"ResizeObserver"in a),c=()=>{s&&(s.disconnect(),s=void 0)},_=be(G(()=>{const f=Cu(u);return Array.isArray(f)?f.map(y=>Iu(y)):[Iu(f)]}),f=>{if(c(),o.value&&a){s=new ResizeObserver(t);for(const y of f)y&&s.observe(y,i)}},{immediate:!0,flush:"post"}),m=()=>{c(),_()};return Hn(m),{isSupported:o,stop:m}}function Xm(u,t={width:0,height:0},n={}){const{window:a=P0,box:i="content-box"}=n,s=G(()=>{var f;return(f=Iu(u))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),o=E0(t.width),c=E0(t.height),{stop:_}=Qm(u,([f])=>{const y=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(a&&s.value){const p=Iu(u);if(p){const E=p.getBoundingClientRect();o.value=E.width,c.value=E.height}}else if(y){const p=ct(y);o.value=p.reduce((E,{inlineSize:B})=>E+B,0),c.value=p.reduce((E,{blockSize:B})=>E+B,0)}else o.value=f.contentRect.width,c.value=f.contentRect.height},n);Um(()=>{const f=Iu(u);f&&(o.value="offsetWidth"in f?f.offsetWidth:t.width,c.value="offsetHeight"in f?f.offsetHeight:t.height)});const m=be(()=>Iu(u),f=>{o.value=f?t.width:0,c.value=f?t.height:0});function D(){_(),m()}return{width:o,height:c,stop:D}}function u6(u,t,n={}){const{root:a,rootMargin:i="0px",threshold:s=0,window:o=P0,immediate:c=!0}=n,_=jn(()=>o&&"IntersectionObserver"in o),m=G(()=>ct(Cu(u)).map(Iu).filter(p4));let D=b0;const f=E0(c),y=_.value?be(()=>[m.value,Iu(a),f.value],([E,B])=>{if(D(),!f.value||!E.length)return;const M=new IntersectionObserver(t,{root:Iu(B),rootMargin:i,threshold:s});E.forEach(C=>C&&M.observe(C)),D=()=>{M.disconnect(),D=b0}},{immediate:c,flush:"post"}):b0,p=()=>{D(),y(),f.value=!1};return Hn(p),{isSupported:_,isActive:f,pause(){D(),f.value=!1},resume(){f.value=!0},stop:p}}function DM(u,t={}){const{threshold:n=50,onSwipe:a,onSwipeEnd:i,onSwipeStart:s,passive:o=!0}=t,c=cr({x:0,y:0}),_=cr({x:0,y:0}),m=G(()=>c.x-_.x),D=G(()=>c.y-_.y),{max:f,abs:y}=Math,p=G(()=>f(y(m.value),y(D.value))>=n),E=E0(!1),B=G(()=>p.value?y(m.value)>y(D.value)?m.value>0?"left":"right":D.value>0?"up":"down":"none"),M=Y=>[Y.touches[0].clientX,Y.touches[0].clientY],C=(Y,V)=>{c.x=Y,c.y=V},v=(Y,V)=>{_.x=Y,_.y=V},b={passive:o,capture:!o},P=Y=>{E.value&&(i==null||i(Y,B.value)),E.value=!1},q=[T0(u,"touchstart",Y=>{if(Y.touches.length!==1)return;const[V,O]=M(Y);C(V,O),v(V,O),s==null||s(Y)},b),T0(u,"touchmove",Y=>{if(Y.touches.length!==1)return;const[V,O]=M(Y);v(V,O),b.capture&&!b.passive&&Math.abs(m.value)>Math.abs(D.value)&&Y.preventDefault(),!E.value&&p.value&&(E.value=!0),E.value&&(a==null||a(Y))},b),T0(u,["touchend","touchcancel"],P,b)];return{isSwiping:E,direction:B,coordsStart:c,coordsEnd:_,lengthX:m,lengthY:D,stop:()=>q.forEach(Y=>Y())}}var pM="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",yM="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",y4="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",e6="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",EM="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",gM="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",t6="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",MM="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",AM="M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z";const n6=Symbol.for("nc:theme:enforced");function a6(u){const t=G(()=>{var s;return(s=Cu(u))!=null?s:document.body}),n=w0(dr(t.value)),a=Km();function i(){n.value=dr(t.value)}return $m(t,i,{attributes:!0}),be(t,i),be(a,i,{immediate:!0}),Lm(n)}const r6=Rm(()=>a6());function s6(){const u=r6(),t=ht(n6,void 0);return G(()=>t!=null&&t.value?t.value==="dark":u.value)}function i6(u){throw new Error('Could not dynamically require "'+u+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var hr={exports:{}},o6=hr.exports,Ni;function l6(){return Ni||(Ni=1,(function(u,t){(function(n,a){u.exports=a()})(o6,(function(){var n;function a(){return n.apply(null,arguments)}function i(e){n=e}function s(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function o(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function c(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function _(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var r;for(r in e)if(c(e,r))return!1;return!0}function m(e){return e===void 0}function D(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function f(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function y(e,r){var l=[],d,h=e.length;for(d=0;d>>0,d;for(d=0;d0)for(l=0;l=0;return(g?l?"+":"":"-")+Math.pow(10,Math.max(0,h)).toString().substr(1)+d}var ju=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Wu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},xu={};function R(e,r,l,d){var h=d;typeof d=="string"&&(h=function(){return this[d]()}),e&&(xu[e]=h),r&&(xu[r[0]]=function(){return A(h.apply(this,arguments),r[1],r[2])}),l&&(xu[l]=function(){return this.localeData().ordinal(h.apply(this,arguments),e)})}function Fu(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function M0(e){var r=e.match(ju),l,d;for(l=0,d=r.length;l=0&&Wu.test(e);)e=e.replace(Wu,d),Wu.lastIndex=0,l-=1;return e}var l0={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W0(e){var r=this._longDateFormat[e],l=this._longDateFormat[e.toUpperCase()];return r||!l?r:(this._longDateFormat[e]=l.match(ju).map(function(d){return d==="MMMM"||d==="MM"||d==="DD"||d==="dddd"?d.slice(1):d}).join(""),this._longDateFormat[e])}var Vn="Invalid date";function Jn(){return this._invalidDate}var $n="%d",Gt=/\d{1,2}/;function Zt(e){return this._ordinal.replace("%d",e)}var Kt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function qn(e,r,l,d){var h=this._relativeTime[l];return N(h)?h(e,r,l,d):h.replace(/%d/i,e)}function Qt(e,r){var l=this._relativeTime[e>0?"future":"past"];return N(l)?l(r):l.replace(/%s/i,r)}var yt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function zu(e){return typeof e=="string"?yt[e]||yt[e.toLowerCase()]:void 0}function Et(e){var r={},l,d;for(d in e)c(e,d)&&(l=zu(d),l&&(r[l]=e[d]));return r}var Gn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Zn(e){var r=[],l;for(l in e)c(e,l)&&r.push({unit:l,priority:Gn[l]});return r.sort(function(d,h){return d.priority-h.priority}),r}var Xt=/\d/,x=/\d\d/,H=/\d{3}/,K=/\d{4}/,ou=/[+-]?\d{6}/,Z=/\d\d?/,Qu=/\d\d\d\d?/,Re=/\d\d\d\d\d\d?/,Nu=/\d{1,3}/,Ue=/\d{1,4}/,Te=/[+-]?\d{1,6}/,Lu=/\d+/,Le=/[+-]?\d+/,Be=/Z|[+-]\d\d:?\d\d/gi,un=/Z|[+-]\d\d(?::?\d\d)?/gi,xl=/[+-]?\d+(\.\d{1,3})?/,gt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,z0=/^[1-9]\d?/,Kn=/^([1-9]\d|\d)/,en;en={};function z(e,r,l){en[e]=N(r)?r:function(d,h){return d&&l?l:r}}function bl(e,r){return c(en,e)?en[e](r._strict,r._locale):new RegExp(wl(e))}function wl(e){return Ve(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(r,l,d,h,g){return l||d||h||g}))}function Ve(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ru(e){var r=+e,l=0;return r!==0&&isFinite(r)&&(l=re(r)),l}var Qn={};function mu(e,r){var l,d=r,h;for(typeof e=="string"&&(e=[e]),D(r)&&(d=function(g,F){F[r]=ru(g)}),h=e.length,l=0;l68?1900:2e3)};var is=N0("FullYear",!0);function jl(){return tn(this.year())}function N0(e,r){return function(l){return l!=null?(os(this,e,l),a.updateOffset(this,r),this):Ct(this,e)}}function Ct(e,r){if(!e.isValid())return NaN;var l=e._d,d=e._isUTC;switch(r){case"Milliseconds":return d?l.getUTCMilliseconds():l.getMilliseconds();case"Seconds":return d?l.getUTCSeconds():l.getSeconds();case"Minutes":return d?l.getUTCMinutes():l.getMinutes();case"Hours":return d?l.getUTCHours():l.getHours();case"Date":return d?l.getUTCDate():l.getDate();case"Day":return d?l.getUTCDay():l.getDay();case"Month":return d?l.getUTCMonth():l.getMonth();case"FullYear":return d?l.getUTCFullYear():l.getFullYear();default:return NaN}}function os(e,r,l){var d,h,g,F,W;if(!(!e.isValid()||isNaN(l))){switch(d=e._d,h=e._isUTC,r){case"Milliseconds":return void(h?d.setUTCMilliseconds(l):d.setMilliseconds(l));case"Seconds":return void(h?d.setUTCSeconds(l):d.setSeconds(l));case"Minutes":return void(h?d.setUTCMinutes(l):d.setMinutes(l));case"Hours":return void(h?d.setUTCHours(l):d.setHours(l));case"Date":return void(h?d.setUTCDate(l):d.setDate(l));case"FullYear":break;default:return}g=l,F=e.month(),W=e.date(),W=W===29&&F===1&&!tn(g)?28:W,h?d.setUTCFullYear(g,F,W):d.setFullYear(g,F,W)}}function Ol(e){return e=zu(e),N(this[e])?this[e]():this}function Pl(e,r){if(typeof e=="object"){e=Et(e);var l=Zn(e),d,h=l.length;for(d=0;d=0?(W=new Date(e+400,r,l,d,h,g,F),isFinite(W.getFullYear())&&W.setFullYear(e)):W=new Date(e,r,l,d,h,g,F),W}function Lt(e){var r,l;return e<100&&e>=0?(l=Array.prototype.slice.call(arguments),l[0]=e+400,r=new Date(Date.UTC.apply(null,l)),isFinite(r.getUTCFullYear())&&r.setUTCFullYear(e)):r=new Date(Date.UTC.apply(null,arguments)),r}function nn(e,r,l){var d=7+r-l,h=(7+Lt(e,0,d).getUTCDay()-r)%7;return-h+d-1}function hs(e,r,l,d,h){var g=(7+l-d)%7,F=nn(e,d,h),W=1+7*(r-1)+g+F,eu,su;return W<=0?(eu=e-1,su=At(eu)+W):W>At(e)?(eu=e+1,su=W-At(e)):(eu=e,su=W),{year:eu,dayOfYear:su}}function Bt(e,r,l){var d=nn(e.year(),r,l),h=Math.floor((e.dayOfYear()-d-1)/7)+1,g,F;return h<1?(F=e.year()-1,g=h+qe(F,r,l)):h>qe(e.year(),r,l)?(g=h-qe(e.year(),r,l),F=e.year()+1):(F=e.year(),g=h),{week:g,year:F}}function qe(e,r,l){var d=nn(e,r,l),h=nn(e+1,r,l);return(At(e)-d+h)/7}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),z("w",Z,z0),z("ww",Z,x),z("W",Z,z0),z("WW",Z,x),Mt(["w","ww","W","WW"],function(e,r,l,d){r[d.substr(0,1)]=ru(e)});function Kl(e){return Bt(e,this._week.dow,this._week.doy).week}var Ql={dow:0,doy:6};function Xl(){return this._week.dow}function ud(){return this._week.doy}function ed(e){var r=this.localeData().week(this);return e==null?r:this.add((e-r)*7,"d")}function td(e){var r=Bt(this,1,4).week;return e==null?r:this.add((e-r)*7,"d")}R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),z("d",Z),z("e",Z),z("E",Z),z("dd",function(e,r){return r.weekdaysMinRegex(e)}),z("ddd",function(e,r){return r.weekdaysShortRegex(e)}),z("dddd",function(e,r){return r.weekdaysRegex(e)}),Mt(["dd","ddd","dddd"],function(e,r,l,d){var h=l._locale.weekdaysParse(e,d,l._strict);h!=null?r.d=h:M(l).invalidWeekday=e}),Mt(["d","e","E"],function(e,r,l,d){r[d]=ru(e)});function nd(e,r){return typeof e!="string"?e:isNaN(e)?(e=r.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ad(e,r){return typeof e=="string"?r.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ua(e,r){return e.slice(r,7).concat(e.slice(0,r))}var rd="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),fs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),sd="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),id=gt,od=gt,ld=gt;function dd(e,r){var l=s(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(r)?"format":"standalone"];return e===!0?ua(l,this._week.dow):e?l[e.day()]:l}function cd(e){return e===!0?ua(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function _d(e){return e===!0?ua(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function md(e,r,l){var d,h,g,F=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)g=E([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(g,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(g,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(g,"").toLocaleLowerCase();return l?r==="dddd"?(h=Au.call(this._weekdaysParse,F),h!==-1?h:null):r==="ddd"?(h=Au.call(this._shortWeekdaysParse,F),h!==-1?h:null):(h=Au.call(this._minWeekdaysParse,F),h!==-1?h:null):r==="dddd"?(h=Au.call(this._weekdaysParse,F),h!==-1||(h=Au.call(this._shortWeekdaysParse,F),h!==-1)?h:(h=Au.call(this._minWeekdaysParse,F),h!==-1?h:null)):r==="ddd"?(h=Au.call(this._shortWeekdaysParse,F),h!==-1||(h=Au.call(this._weekdaysParse,F),h!==-1)?h:(h=Au.call(this._minWeekdaysParse,F),h!==-1?h:null)):(h=Au.call(this._minWeekdaysParse,F),h!==-1||(h=Au.call(this._weekdaysParse,F),h!==-1)?h:(h=Au.call(this._shortWeekdaysParse,F),h!==-1?h:null))}function hd(e,r,l){var d,h,g;if(this._weekdaysParseExact)return md.call(this,e,r,l);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++)if(h=E([2e3,1]).day(d),l&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(h,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(h,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(h,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[d]||(g="^"+this.weekdays(h,"")+"|^"+this.weekdaysShort(h,"")+"|^"+this.weekdaysMin(h,""),this._weekdaysParse[d]=new RegExp(g.replace(".",""),"i")),l&&r==="dddd"&&this._fullWeekdaysParse[d].test(e)||l&&r==="ddd"&&this._shortWeekdaysParse[d].test(e)||l&&r==="dd"&&this._minWeekdaysParse[d].test(e)||!l&&this._weekdaysParse[d].test(e))return d}function fd(e){if(!this.isValid())return e!=null?this:NaN;var r=Ct(this,"Day");return e!=null?(e=nd(e,this.localeData()),this.add(e-r,"d")):r}function Dd(e){if(!this.isValid())return e!=null?this:NaN;var r=(this.day()+7-this.localeData()._week.dow)%7;return e==null?r:this.add(e-r,"d")}function pd(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var r=ad(e,this.localeData());return this.day(this.day()%7?r:r-7)}else return this.day()||7}function yd(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ea.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=id),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ed(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ea.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=od),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gd(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ea.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ld),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ea(){function e(Ou,t0){return t0.length-Ou.length}var r=[],l=[],d=[],h=[],g,F,W,eu,su;for(g=0;g<7;g++)F=E([2e3,1]).day(g),W=Ve(this.weekdaysMin(F,"")),eu=Ve(this.weekdaysShort(F,"")),su=Ve(this.weekdays(F,"")),r.push(W),l.push(eu),d.push(su),h.push(W),h.push(eu),h.push(su);r.sort(e),l.sort(e),d.sort(e),h.sort(e),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ta(){return this.hours()%12||12}function Md(){return this.hours()||24}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,ta),R("k",["kk",2],0,Md),R("hmm",0,0,function(){return""+ta.apply(this)+A(this.minutes(),2)}),R("hmmss",0,0,function(){return""+ta.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+A(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)});function Ds(e,r){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),r)})}Ds("a",!0),Ds("A",!1);function ps(e,r){return r._meridiemParse}z("a",ps),z("A",ps),z("H",Z,Kn),z("h",Z,z0),z("k",Z,z0),z("HH",Z,x),z("hh",Z,x),z("kk",Z,x),z("hmm",Qu),z("hmmss",Re),z("Hmm",Qu),z("Hmmss",Re),mu(["H","HH"],Yu),mu(["k","kk"],function(e,r,l){var d=ru(e);r[Yu]=d===24?0:d}),mu(["a","A"],function(e,r,l){l._isPm=l._locale.isPM(e),l._meridiem=e}),mu(["h","hh"],function(e,r,l){r[Yu]=ru(e),M(l).bigHour=!0}),mu("hmm",function(e,r,l){var d=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d)),M(l).bigHour=!0}),mu("hmmss",function(e,r,l){var d=e.length-4,h=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d,2)),r[$e]=ru(e.substr(h)),M(l).bigHour=!0}),mu("Hmm",function(e,r,l){var d=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d))}),mu("Hmmss",function(e,r,l){var d=e.length-4,h=e.length-2;r[Yu]=ru(e.substr(0,d)),r[ke]=ru(e.substr(d,2)),r[$e]=ru(e.substr(h))});function Ad(e){return(e+"").toLowerCase().charAt(0)==="p"}var Cd=/[ap]\.?m?\.?/i,Ld=N0("Hours",!0);function Bd(e,r,l){return e>11?l?"pm":"PM":l?"am":"AM"}var ys={calendar:Zu,longDateFormat:l0,invalidDate:Vn,ordinal:$n,dayOfMonthOrdinalParse:Gt,relativeTime:Kt,months:Wl,monthsShort:ls,week:Ql,weekdays:rd,weekdaysMin:sd,weekdaysShort:fs,meridiemParse:Cd},pu={},kt={},Ft;function kd(e,r){var l,d=Math.min(e.length,r.length);for(l=0;l0;){if(h=an(g.slice(0,l).join("-")),h)return h;if(d&&d.length>=l&&kd(g,d)>=l-1)break;l--}r++}return Ft}function Yd(e){return!!(e&&e.match("^[^/\\\\]*$"))}function an(e){var r=null,l;if(pu[e]===void 0&&u&&u.exports&&Yd(e))try{r=Ft._abbr,l=i6,l("./locale/"+e),d0(r)}catch(d){pu[e]=null}return pu[e]}function d0(e,r){var l;return e&&(m(r)?l=Ge(e):l=na(e,r),l?Ft=l:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ft._abbr}function na(e,r){if(r!==null){var l,d=ys;if(r.abbr=e,pu[e]!=null)$("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),d=pu[e]._config;else if(r.parentLocale!=null)if(pu[r.parentLocale]!=null)d=pu[r.parentLocale]._config;else if(l=an(r.parentLocale),l!=null)d=l._config;else return kt[r.parentLocale]||(kt[r.parentLocale]=[]),kt[r.parentLocale].push({name:e,config:r}),null;return pu[e]=new Eu(X(d,r)),kt[e]&&kt[e].forEach(function(h){na(h.name,h.config)}),d0(e),pu[e]}else return delete pu[e],null}function vd(e,r){if(r!=null){var l,d,h=ys;pu[e]!=null&&pu[e].parentLocale!=null?pu[e].set(X(pu[e]._config,r)):(d=an(e),d!=null&&(h=d._config),r=X(h,r),d==null&&(r.abbr=e),l=new Eu(r),l.parentLocale=pu[e],pu[e]=l),d0(e)}else pu[e]!=null&&(pu[e].parentLocale!=null?(pu[e]=pu[e].parentLocale,e===d0()&&d0(e)):pu[e]!=null&&delete pu[e]);return pu[e]}function Ge(e){var r;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ft;if(!s(e)){if(r=an(e),r)return r;e=[e]}return Fd(e)}function xd(){return Mu(pu)}function aa(e){var r,l=e._a;return l&&M(e).overflow===-2&&(r=l[Je]<0||l[Je]>11?Je:l[Se]<1||l[Se]>Xn(l[Su],l[Je])?Se:l[Yu]<0||l[Yu]>24||l[Yu]===24&&(l[ke]!==0||l[$e]!==0||l[A0]!==0)?Yu:l[ke]<0||l[ke]>59?ke:l[$e]<0||l[$e]>59?$e:l[A0]<0||l[A0]>999?A0:-1,M(e)._overflowDayOfYear&&(rSe)&&(r=Se),M(e)._overflowWeeks&&r===-1&&(r=Sl),M(e)._overflowWeekday&&r===-1&&(r=Hl),M(e).overflow=r),e}var bd=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wd=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Td=/Z|[+-]\d\d(?::?\d\d)?/,rn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ra=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Sd=/^\/?Date\((-?\d+)/i,Hd=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,jd={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gs(e){var r,l,d=e._i,h=bd.exec(d)||wd.exec(d),g,F,W,eu,su=rn.length,Ou=ra.length;if(h){for(M(e).iso=!0,r=0,l=su;rAt(F)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),l=Lt(F,0,e._dayOfYear),e._a[Je]=l.getUTCMonth(),e._a[Se]=l.getUTCDate()),r=0;r<3&&e._a[r]==null;++r)e._a[r]=d[r]=h[r];for(;r<7;r++)e._a[r]=d[r]=e._a[r]==null?r===2?1:0:e._a[r];e._a[Yu]===24&&e._a[ke]===0&&e._a[$e]===0&&e._a[A0]===0&&(e._nextDay=!0,e._a[Yu]=0),e._d=(e._useUTC?Lt:Zl).apply(null,d),g=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Yu]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==g&&(M(e).weekdayMismatch=!0)}}function Ud(e){var r,l,d,h,g,F,W,eu,su;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(g=1,F=4,l=R0(r.GG,e._a[Su],Bt(Du(),1,4).year),d=R0(r.W,1),h=R0(r.E,1),(h<1||h>7)&&(eu=!0)):(g=e._locale._week.dow,F=e._locale._week.doy,su=Bt(Du(),g,F),l=R0(r.gg,e._a[Su],su.year),d=R0(r.w,su.week),r.d!=null?(h=r.d,(h<0||h>6)&&(eu=!0)):r.e!=null?(h=r.e+g,(r.e<0||r.e>6)&&(eu=!0)):h=g),d<1||d>qe(l,g,F)?M(e)._overflowWeeks=!0:eu!=null?M(e)._overflowWeekday=!0:(W=hs(l,d,h,g,F),e._a[Su]=W.year,e._dayOfYear=W.dayOfYear)}a.ISO_8601=function(){},a.RFC_2822=function(){};function ia(e){if(e._f===a.ISO_8601){gs(e);return}if(e._f===a.RFC_2822){Ms(e);return}e._a=[],M(e).empty=!0;var r=""+e._i,l,d,h,g,F,W=r.length,eu=0,su,Ou;for(h=Ne(e._f,e._locale).match(ju)||[],Ou=h.length,l=0;l0&&M(e).unusedInput.push(F),r=r.slice(r.indexOf(d)+d.length),eu+=d.length),xu[g]?(d?M(e).empty=!1:M(e).unusedTokens.push(g),Tl(g,d,e)):e._strict&&!d&&M(e).unusedTokens.push(g);M(e).charsLeftOver=W-eu,r.length>0&&M(e).unusedInput.push(r),e._a[Yu]<=12&&M(e).bigHour===!0&&e._a[Yu]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[Yu]=Vd(e._locale,e._a[Yu],e._meridiem),su=M(e).era,su!==null&&(e._a[Su]=e._locale.erasConvertYear(su,e._a[Su])),sa(e),aa(e)}function Vd(e,r,l){var d;return l==null?r:e.meridiemHour!=null?e.meridiemHour(r,l):(e.isPM!=null&&(d=e.isPM(l),d&&r<12&&(r+=12),!d&&r===12&&(r=0)),r)}function Jd(e){var r,l,d,h,g,F,W=!1,eu=e._f.length;if(eu===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(h=0;hthis?this:e:b()});function Ls(e,r){var l,d;if(r.length===1&&s(r[0])&&(r=r[0]),!r.length)return Du();for(l=r[0],d=1;dthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function mc(){if(!m(this._isDSTShifted))return this._isDSTShifted;var e={},r;return Y(e,this),e=As(e),e._a?(r=e._isUTC?E(e._a):Du(e._a),this._isDSTShifted=this.isValid()&&ac(e._a,r.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function hc(){return this.isValid()?!this._isUTC:!1}function fc(){return this.isValid()?this._isUTC:!1}function ks(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Dc=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,pc=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fe(e,r){var l=e,d=null,h,g,F;return on(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:D(e)||!isNaN(+e)?(l={},r?l[r]=+e:l.milliseconds=+e):(d=Dc.exec(e))?(h=d[1]==="-"?-1:1,l={y:0,d:ru(d[Se])*h,h:ru(d[Yu])*h,m:ru(d[ke])*h,s:ru(d[$e])*h,ms:ru(oa(d[A0]*1e3))*h}):(d=pc.exec(e))?(h=d[1]==="-"?-1:1,l={y:C0(d[2],h),M:C0(d[3],h),w:C0(d[4],h),d:C0(d[5],h),h:C0(d[6],h),m:C0(d[7],h),s:C0(d[8],h)}):l==null?l={}:typeof l=="object"&&("from"in l||"to"in l)&&(F=yc(Du(l.from),Du(l.to)),l={},l.ms=F.milliseconds,l.M=F.months),g=new sn(l),on(e)&&c(e,"_locale")&&(g._locale=e._locale),on(e)&&c(e,"_isValid")&&(g._isValid=e._isValid),g}Fe.fn=sn.prototype,Fe.invalid=nc;function C0(e,r){var l=e&&parseFloat(e.replace(",","."));return(isNaN(l)?0:l)*r}function Fs(e,r){var l={};return l.months=r.month()-e.month()+(r.year()-e.year())*12,e.clone().add(l.months,"M").isAfter(r)&&--l.months,l.milliseconds=+r-+e.clone().add(l.months,"M"),l}function yc(e,r){var l;return e.isValid()&&r.isValid()?(r=da(r,e),e.isBefore(r)?l=Fs(e,r):(l=Fs(r,e),l.milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0}}function Ys(e,r){return function(l,d){var h,g;return d!==null&&!isNaN(+d)&&($(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),g=l,l=d,d=g),h=Fe(l,d),vs(this,h,e),this}}function vs(e,r,l,d){var h=r._milliseconds,g=oa(r._days),F=oa(r._months);e.isValid()&&(d=d!=null?d:!0,F&&cs(e,Ct(e,"Month")+F*l),g&&os(e,"Date",Ct(e,"Date")+g*l),h&&e._d.setTime(e._d.valueOf()+h*l),d&&a.updateOffset(e,g||F))}var Ec=Ys(1,"add"),gc=Ys(-1,"subtract");function xs(e){return typeof e=="string"||e instanceof String}function Mc(e){return O(e)||f(e)||xs(e)||D(e)||Cc(e)||Ac(e)||e===null||e===void 0}function Ac(e){var r=o(e)&&!_(e),l=!1,d=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],h,g,F=d.length;for(h=0;hl.valueOf():l.valueOf()9999?Ku(l,r?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):N(Date.prototype.toISOString)?r?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ku(l,"Z")):Ku(l,r?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Oc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",r="",l,d,h,g;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",r="Z"),l="["+e+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",h="-MM-DD[T]HH:mm:ss.SSS",g=r+'[")]',this.format(l+d+h+g)}function Pc(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var r=Ku(this,e);return this.localeData().postformat(r)}function Ic(e,r){return this.isValid()&&(O(e)&&e.isValid()||Du(e).isValid())?Fe({to:this,from:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function Wc(e){return this.from(Du(),e)}function zc(e,r){return this.isValid()&&(O(e)&&e.isValid()||Du(e).isValid())?Fe({from:this,to:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function Nc(e){return this.to(Du(),e)}function bs(e){var r;return e===void 0?this._locale._abbr:(r=Ge(e),r!=null&&(this._locale=r),this)}var ws=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ts(){return this._locale}var dn=1e3,U0=60*dn,cn=60*U0,Ss=(365*400+97)*24*cn;function V0(e,r){return(e%r+r)%r}function Hs(e,r,l){return e<100&&e>=0?new Date(e+400,r,l)-Ss:new Date(e,r,l).valueOf()}function js(e,r,l){return e<100&&e>=0?Date.UTC(e+400,r,l)-Ss:Date.UTC(e,r,l)}function Rc(e){var r,l;if(e=zu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(l=this._isUTC?js:Hs,e){case"year":r=l(this.year(),0,1);break;case"quarter":r=l(this.year(),this.month()-this.month()%3,1);break;case"month":r=l(this.year(),this.month(),1);break;case"week":r=l(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":r=l(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":r=l(this.year(),this.month(),this.date());break;case"hour":r=this._d.valueOf(),r-=V0(r+(this._isUTC?0:this.utcOffset()*U0),cn);break;case"minute":r=this._d.valueOf(),r-=V0(r,U0);break;case"second":r=this._d.valueOf(),r-=V0(r,dn);break}return this._d.setTime(r),a.updateOffset(this,!0),this}function Uc(e){var r,l;if(e=zu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(l=this._isUTC?js:Hs,e){case"year":r=l(this.year()+1,0,1)-1;break;case"quarter":r=l(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":r=l(this.year(),this.month()+1,1)-1;break;case"week":r=l(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":r=l(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":r=l(this.year(),this.month(),this.date()+1)-1;break;case"hour":r=this._d.valueOf(),r+=cn-V0(r+(this._isUTC?0:this.utcOffset()*U0),cn)-1;break;case"minute":r=this._d.valueOf(),r+=U0-V0(r,U0)-1;break;case"second":r=this._d.valueOf(),r+=dn-V0(r,dn)-1;break}return this._d.setTime(r),a.updateOffset(this,!0),this}function Vc(){return this._d.valueOf()-(this._offset||0)*6e4}function Jc(){return Math.floor(this.valueOf()/1e3)}function $c(){return new Date(this.valueOf())}function qc(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Gc(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Zc(){return this.isValid()?this.toISOString():null}function Kc(){return v(this)}function Qc(){return p({},M(this))}function Xc(){return M(this).overflow}function u3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),z("N",_a),z("NN",_a),z("NNN",_a),z("NNNN",c3),z("NNNNN",_3),mu(["N","NN","NNN","NNNN","NNNNN"],function(e,r,l,d){var h=l._locale.erasParse(e,d,l._strict);h?M(l).era=h:M(l).invalidEra=e}),z("y",Lu),z("yy",Lu),z("yyy",Lu),z("yyyy",Lu),z("yo",m3),mu(["y","yy","yyy","yyyy"],Su),mu(["yo"],function(e,r,l,d){var h;l._locale._eraYearOrdinalRegex&&(h=e.match(l._locale._eraYearOrdinalRegex)),l._locale.eraYearOrdinalParse?r[Su]=l._locale.eraYearOrdinalParse(e,h):r[Su]=parseInt(e,10)});function e3(e,r){var l,d,h,g=this._eras||Ge("en")._eras;for(l=0,d=g.length;l=0)return g[d]}function n3(e,r){var l=e.since<=e.until?1:-1;return r===void 0?a(e.since).year():a(e.since).year()+(r-e.offset)*l}function a3(){var e,r,l,d=this.localeData().eras();for(e=0,r=d.length;eg&&(r=g),g3.call(this,e,r,l,d,h))}function g3(e,r,l,d,h){var g=hs(e,r,l,d,h),F=Lt(g.year,0,g.dayOfYear);return this.year(F.getUTCFullYear()),this.month(F.getUTCMonth()),this.date(F.getUTCDate()),this}R("Q",0,"Qo","quarter"),z("Q",Xt),mu("Q",function(e,r){r[Je]=(ru(e)-1)*3});function M3(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}R("D",["DD",2],"Do","date"),z("D",Z,z0),z("DD",Z,x),z("Do",function(e,r){return e?r._dayOfMonthOrdinalParse||r._ordinalParse:r._dayOfMonthOrdinalParseLenient}),mu(["D","DD"],Se),mu("Do",function(e,r){r[Se]=ru(e.match(Z)[0])});var Ps=N0("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),z("DDD",Nu),z("DDDD",H),mu(["DDD","DDDD"],function(e,r,l){l._dayOfYear=ru(e)});function A3(e){var r=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?r:this.add(e-r,"d")}R("m",["mm",2],0,"minute"),z("m",Z,Kn),z("mm",Z,x),mu(["m","mm"],ke);var C3=N0("Minutes",!1);R("s",["ss",2],0,"second"),z("s",Z,Kn),z("ss",Z,x),mu(["s","ss"],$e);var L3=N0("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return this.millisecond()*10}),R(0,["SSSSS",5],0,function(){return this.millisecond()*100}),R(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),R(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),R(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),R(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),z("S",Nu,Xt),z("SS",Nu,x),z("SSS",Nu,H);var c0,Is;for(c0="SSSS";c0.length<=9;c0+="S")z(c0,Lu);function B3(e,r){r[A0]=ru(("0."+e)*1e3)}for(c0="S";c0.length<=9;c0+="S")mu(c0,B3);Is=N0("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");function k3(){return this._isUTC?"UTC":""}function F3(){return this._isUTC?"Coordinated Universal Time":""}var w=V.prototype;w.add=Ec,w.calendar=kc,w.clone=Fc,w.diff=Sc,w.endOf=Uc,w.format=Pc,w.from=Ic,w.fromNow=Wc,w.to=zc,w.toNow=Nc,w.get=Ol,w.invalidAt=Xc,w.isAfter=Yc,w.isBefore=vc,w.isBetween=xc,w.isSame=bc,w.isSameOrAfter=wc,w.isSameOrBefore=Tc,w.isValid=Kc,w.lang=ws,w.locale=bs,w.localeData=Ts,w.max=Kd,w.min=Zd,w.parsingFlags=Qc,w.set=Pl,w.startOf=Rc,w.subtract=gc,w.toArray=qc,w.toObject=Gc,w.toDate=$c,w.toISOString=jc,w.inspect=Oc,typeof Symbol<"u"&&Symbol.for!=null&&(w[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),w.toJSON=Zc,w.toString=Hc,w.unix=Jc,w.valueOf=Vc,w.creationData=u3,w.eraName=a3,w.eraNarrow=r3,w.eraAbbr=s3,w.eraYear=i3,w.year=is,w.isLeapYear=jl,w.weekYear=h3,w.isoWeekYear=f3,w.quarter=w.quarters=M3,w.month=_s,w.daysInMonth=$l,w.week=w.weeks=ed,w.isoWeek=w.isoWeeks=td,w.weeksInYear=y3,w.weeksInWeekYear=E3,w.isoWeeksInYear=D3,w.isoWeeksInISOWeekYear=p3,w.date=Ps,w.day=w.days=fd,w.weekday=Dd,w.isoWeekday=pd,w.dayOfYear=A3,w.hour=w.hours=Ld,w.minute=w.minutes=C3,w.second=w.seconds=L3,w.millisecond=w.milliseconds=Is,w.utcOffset=sc,w.utc=oc,w.local=lc,w.parseZone=dc,w.hasAlignedHourOffset=cc,w.isDST=_c,w.isLocal=hc,w.isUtcOffset=fc,w.isUtc=ks,w.isUTC=ks,w.zoneAbbr=k3,w.zoneName=F3,w.dates=k("dates accessor is deprecated. Use date instead.",Ps),w.months=k("months accessor is deprecated. Use month instead",_s),w.years=k("years accessor is deprecated. Use year instead",is),w.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ic),w.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",mc);function Y3(e){return Du(e*1e3)}function v3(){return Du.apply(null,arguments).parseZone()}function Ws(e){return e}var lu=Eu.prototype;lu.calendar=Ce,lu.longDateFormat=W0,lu.invalidDate=Jn,lu.ordinal=Zt,lu.preparse=Ws,lu.postformat=Ws,lu.relativeTime=qn,lu.pastFuture=Qt,lu.set=U,lu.eras=e3,lu.erasParse=t3,lu.erasConvertYear=n3,lu.erasAbbrRegex=l3,lu.erasNameRegex=o3,lu.erasNarrowRegex=d3,lu.months=Rl,lu.monthsShort=Ul,lu.monthsParse=Jl,lu.monthsRegex=Gl,lu.monthsShortRegex=ql,lu.week=Kl,lu.firstDayOfYear=ud,lu.firstDayOfWeek=Xl,lu.weekdays=dd,lu.weekdaysMin=_d,lu.weekdaysShort=cd,lu.weekdaysParse=hd,lu.weekdaysRegex=yd,lu.weekdaysShortRegex=Ed,lu.weekdaysMinRegex=gd,lu.isPM=Ad,lu.meridiem=Bd;function mn(e,r,l,d){var h=Ge(),g=E().set(d,r);return h[l](g,e)}function zs(e,r,l){if(D(e)&&(r=e,e=void 0),e=e||"",r!=null)return mn(e,r,l,"month");var d,h=[];for(d=0;d<12;d++)h[d]=mn(e,d,l,"month");return h}function ha(e,r,l,d){typeof e=="boolean"?(D(r)&&(l=r,r=void 0),r=r||""):(r=e,l=r,e=!1,D(r)&&(l=r,r=void 0),r=r||"");var h=Ge(),g=e?h._week.dow:0,F,W=[];if(l!=null)return mn(r,(l+g)%7,d,"day");for(F=0;F<7;F++)W[F]=mn(r,(F+g)%7,d,"day");return W}function x3(e,r){return zs(e,r,"months")}function b3(e,r){return zs(e,r,"monthsShort")}function w3(e,r,l){return ha(e,r,l,"weekdays")}function T3(e,r,l){return ha(e,r,l,"weekdaysShort")}function S3(e,r,l){return ha(e,r,l,"weekdaysMin")}d0("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var r=e%10,l=ru(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l}}),a.lang=k("moment.lang is deprecated. Use moment.locale instead.",d0),a.langData=k("moment.langData is deprecated. Use moment.localeData instead.",Ge);var Ze=Math.abs;function H3(){var e=this._data;return this._milliseconds=Ze(this._milliseconds),this._days=Ze(this._days),this._months=Ze(this._months),e.milliseconds=Ze(e.milliseconds),e.seconds=Ze(e.seconds),e.minutes=Ze(e.minutes),e.hours=Ze(e.hours),e.months=Ze(e.months),e.years=Ze(e.years),this}function Ns(e,r,l,d){var h=Fe(r,l);return e._milliseconds+=d*h._milliseconds,e._days+=d*h._days,e._months+=d*h._months,e._bubble()}function j3(e,r){return Ns(this,e,r,1)}function O3(e,r){return Ns(this,e,r,-1)}function Rs(e){return e<0?Math.floor(e):Math.ceil(e)}function P3(){var e=this._milliseconds,r=this._days,l=this._months,d=this._data,h,g,F,W,eu;return e>=0&&r>=0&&l>=0||e<=0&&r<=0&&l<=0||(e+=Rs(fa(l)+r)*864e5,r=0,l=0),d.milliseconds=e%1e3,h=re(e/1e3),d.seconds=h%60,g=re(h/60),d.minutes=g%60,F=re(g/60),d.hours=F%24,r+=re(F/24),eu=re(Us(r)),l+=eu,r-=Rs(fa(eu)),W=re(l/12),l%=12,d.days=r,d.months=l,d.years=W,this}function Us(e){return e*4800/146097}function fa(e){return e*146097/4800}function I3(e){if(!this.isValid())return NaN;var r,l,d=this._milliseconds;if(e=zu(e),e==="month"||e==="quarter"||e==="year")switch(r=this._days+d/864e5,l=this._months+Us(r),e){case"month":return l;case"quarter":return l/3;case"year":return l/12}else switch(r=this._days+Math.round(fa(this._months)),e){case"week":return r/7+d/6048e5;case"day":return r+d/864e5;case"hour":return r*24+d/36e5;case"minute":return r*1440+d/6e4;case"second":return r*86400+d/1e3;case"millisecond":return Math.floor(r*864e5)+d;default:throw new Error("Unknown unit "+e)}}function Ke(e){return function(){return this.as(e)}}var Vs=Ke("ms"),W3=Ke("s"),z3=Ke("m"),N3=Ke("h"),R3=Ke("d"),U3=Ke("w"),V3=Ke("M"),J3=Ke("Q"),$3=Ke("y"),q3=Vs;function G3(){return Fe(this)}function Z3(e){return e=zu(e),this.isValid()?this[e+"s"]():NaN}function L0(e){return function(){return this.isValid()?this._data[e]:NaN}}var K3=L0("milliseconds"),Q3=L0("seconds"),X3=L0("minutes"),u1=L0("hours"),e1=L0("days"),t1=L0("months"),n1=L0("years");function a1(){return re(this.days()/7)}var Qe=Math.round,J0={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function r1(e,r,l,d,h){return h.relativeTime(r||1,!!l,e,d)}function s1(e,r,l,d){var h=Fe(e).abs(),g=Qe(h.as("s")),F=Qe(h.as("m")),W=Qe(h.as("h")),eu=Qe(h.as("d")),su=Qe(h.as("M")),Ou=Qe(h.as("w")),t0=Qe(h.as("y")),D0=g<=l.ss&&["s",g]||g0,D0[4]=d,r1.apply(null,D0)}function i1(e){return e===void 0?Qe:typeof e=="function"?(Qe=e,!0):!1}function o1(e,r){return J0[e]===void 0?!1:r===void 0?J0[e]:(J0[e]=r,e==="s"&&(J0.ss=r-1),!0)}function l1(e,r){if(!this.isValid())return this.localeData().invalidDate();var l=!1,d=J0,h,g;return typeof e=="object"&&(r=e,e=!1),typeof e=="boolean"&&(l=e),typeof r=="object"&&(d=Object.assign({},J0,r),r.s!=null&&r.ss==null&&(d.ss=r.s-1)),h=this.localeData(),g=s1(this,!l,d,h),l&&(g=h.pastFuture(+this,g)),h.postformat(g)}var Da=Math.abs;function $0(e){return(e>0)-(e<0)||+e}function hn(){if(!this.isValid())return this.localeData().invalidDate();var e=Da(this._milliseconds)/1e3,r=Da(this._days),l=Da(this._months),d,h,g,F,W=this.asSeconds(),eu,su,Ou,t0;return W?(d=re(e/60),h=re(d/60),e%=60,d%=60,g=re(l/12),l%=12,F=e?e.toFixed(3).replace(/\.?0+$/,""):"",eu=W<0?"-":"",su=$0(this._months)!==$0(W)?"-":"",Ou=$0(this._days)!==$0(W)?"-":"",t0=$0(this._milliseconds)!==$0(W)?"-":"",eu+"P"+(g?su+g+"Y":"")+(l?su+l+"M":"")+(r?Ou+r+"D":"")+(h||d||e?"T":"")+(h?t0+h+"H":"")+(d?t0+d+"M":"")+(e?t0+F+"S":"")):"P0D"}var iu=sn.prototype;iu.isValid=tc,iu.abs=H3,iu.add=j3,iu.subtract=O3,iu.as=I3,iu.asMilliseconds=Vs,iu.asSeconds=W3,iu.asMinutes=z3,iu.asHours=N3,iu.asDays=R3,iu.asWeeks=U3,iu.asMonths=V3,iu.asQuarters=J3,iu.asYears=$3,iu.valueOf=q3,iu._bubble=P3,iu.clone=G3,iu.get=Z3,iu.milliseconds=K3,iu.seconds=Q3,iu.minutes=X3,iu.hours=u1,iu.days=e1,iu.weeks=a1,iu.months=t1,iu.years=n1,iu.humanize=l1,iu.toISOString=hn,iu.toString=hn,iu.toJSON=hn,iu.locale=bs,iu.localeData=Ts,iu.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hn),iu.lang=ws,R("X",0,0,"unix"),R("x",0,0,"valueOf"),z("x",Le),z("X",xl),mu("X",function(e,r,l){l._d=new Date(parseFloat(e)*1e3)}),mu("x",function(e,r,l){l._d=new Date(ru(e))}),a.version="2.30.1",i(Du),a.fn=w,a.min=Qd,a.max=Xd,a.now=uc,a.utc=E,a.unix=Y3,a.months=x3,a.isDate=f,a.locale=d0,a.invalid=b,a.duration=Fe,a.isMoment=O,a.weekdays=w3,a.parseZone=v3,a.localeData=Ge,a.isDuration=on,a.monthsShort=b3,a.weekdaysMin=S3,a.defineLocale=na,a.updateLocale=vd,a.locales=xd,a.weekdaysShort=T3,a.normalizeUnits=zu,a.relativeTimeRounding=i1,a.relativeTimeThreshold=o1,a.calendarFormat=Bc,a.prototype=w,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,r,l){return e<12?l?"vm":"VM":l?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});var Js=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},d1={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},se=function(e){return function(r,l,d,h){var g=Js(r),F=d1[e][Js(r)];return g===2&&(F=F[l?0:1]),F.replace(/%d/i,r)}},$s=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-dz",{months:$s,monthsShort:$s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:se("s"),ss:se("s"),m:se("m"),mm:se("m"),h:se("h"),hh:se("h"),d:se("d"),dd:se("d"),M:se("M"),MM:se("M"),y:se("y"),yy:se("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}}),a.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});var c1={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},qs=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},_1={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},ie=function(e){return function(r,l,d,h){var g=qs(r),F=_1[e][qs(r)];return g===2&&(F=F[l?0:1]),F.replace(/%d/i,r)}},Gs=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-ly",{months:Gs,monthsShort:Gs,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:ie("s"),ss:ie("s"),m:ie("m"),mm:ie("m"),h:ie("h"),hh:ie("h"),d:ie("d"),dd:ie("d"),M:ie("M"),MM:ie("M"),y:ie("y"),yy:ie("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return c1[r]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),a.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var m1={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},Zs={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(r){return Zs[r]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(r){return Zs[r]}).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return m1[r]}).replace(/,/g,"،")},week:{dow:0,doy:6}});var h1={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},f1={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(r){return f1[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return h1[r]}).replace(/,/g,"،")},week:{dow:0,doy:6}}),a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});var D1={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},p1={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Ks=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},y1={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},oe=function(e){return function(r,l,d,h){var g=Ks(r),F=y1[e][Ks(r)];return g===2&&(F=F[l?0:1]),F.replace(/%d/i,r)}},Qs=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar",{months:Qs,monthsShort:Qs,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return e==="م"},meridiem:function(e,r,l){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:oe("s"),ss:oe("s"),m:oe("m"),mm:oe("m"),h:oe("h"),hh:oe("h"),d:oe("d"),dd:oe("d"),M:oe("M"),MM:oe("M"),y:oe("y"),yy:oe("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(r){return p1[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return D1[r]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var pa={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};a.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,r,l){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(e===0)return e+"-ıncı";var r=e%10,l=e%100-r,d=e>=100?100:null;return e+(pa[r]||pa[l]||pa[d])},week:{dow:1,doy:7}});function E1(e,r){var l=e.split("_");return r%10===1&&r%100!==11?l[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?l[1]:l[2]}function B0(e,r,l){var d={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:r?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return l==="m"?r?"хвіліна":"хвіліну":l==="h"?r?"гадзіна":"гадзіну":e+" "+E1(d[l],+e)}a.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:B0,mm:B0,h:B0,hh:B0,d:"дзень",dd:B0,M:"месяц",MM:B0,y:"год",yy:B0},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,r,l){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,r){switch(r){case"M":case"d":case"DDD":case"w":case"W":return(e%10===2||e%10===3)&&e%100!==12&&e%100!==13?e+"-і":e+"-ы";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}}),a.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var r=e%10,l=e%100;return e===0?e+"-ев":l===0?e+"-ен":l>10&&l<20?e+"-ти":r===1?e+"-ви":r===2?e+"-ри":r===7||r===8?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),a.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var g1={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},M1={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(r){return M1[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return g1[r]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="রাত")return e<4?e:e+12;if(r==="ভোর"||r==="সকাল")return e;if(r==="দুপুর")return e>=3?e:e+12;if(r==="বিকাল"||r==="সন্ধ্যা")return e+12},meridiem:function(e,r,l){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});var A1={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},C1={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(r){return C1[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return A1[r]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,r){return e===12&&(e=0),r==="রাত"&&e>=4||r==="দুপুর"&&e<5||r==="বিকাল"?e+12:e},meridiem:function(e,r,l){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});var L1={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},B1={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(r){return B1[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return L1[r]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,r){return e===12&&(e=0),r==="མཚན་མོ"&&e>=4||r==="ཉིན་གུང"&&e<5||r==="དགོང་དག"?e+12:e},meridiem:function(e,r,l){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});function ya(e,r,l){var d={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+F1(d[l],e)}function k1(e){switch(Xs(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function Xs(e){return e>9?Xs(e%10):e}function F1(e,r){return r===2?Y1(e):e}function Y1(e){var r={m:"v",b:"v",d:"z"};return r[e.charAt(0)]===void 0?e:r[e.charAt(0)]+e.substring(1)}var Ea=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],ui=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,v1=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,x1=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,b1=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],w1=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],ei=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];a.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:ei,fullWeekdaysParse:b1,shortWeekdaysParse:w1,minWeekdaysParse:ei,monthsRegex:ui,monthsShortRegex:ui,monthsStrictRegex:v1,monthsShortStrictRegex:x1,monthsParse:Ea,longMonthsParse:Ea,shortMonthsParse:Ea,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:ya,h:"un eur",hh:"%d eur",d:"un devezh",dd:ya,M:"ur miz",MM:ya,y:"ur bloaz",yy:k1},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var r=e===1?"añ":"vet";return e+r},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return e==="g.m."},meridiem:function(e,r,l){return e<12?"a.m.":"g.m."}});function T1(e,r,l,d){if(l==="m")return r?"jedna minuta":d?"jednu minutu":"jedne minute"}function k0(e,r,l){var d=e+" ";switch(l){case"ss":return e===1?d+="sekunda":e===2||e===3||e===4?d+="sekunde":d+="sekundi",d;case"mm":return e===1?d+="minuta":e===2||e===3||e===4?d+="minute":d+="minuta",d;case"h":return"jedan sat";case"hh":return e===1?d+="sat":e===2||e===3||e===4?d+="sata":d+="sati",d;case"dd":return e===1?d+="dan":d+="dana",d;case"MM":return e===1?d+="mjesec":e===2||e===3||e===4?d+="mjeseca":d+="mjeseci",d;case"yy":return e===1?d+="godina":e===2||e===3||e===4?d+="godine":d+="godina",d}}a.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:k0,m:T1,mm:k0,h:k0,hh:k0,d:"dan",dd:k0,M:"mjesec",MM:k0,y:"godinu",yy:k0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,r){var l=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";return(r==="w"||r==="W")&&(l="a"),e+l},week:{dow:1,doy:4}});var S1={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},H1="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),ga=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],ti=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function q0(e){return e>1&&e<5&&~~(e/10)!==1}function le(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"pár sekund":"pár sekundami";case"ss":return r||d?h+(q0(e)?"sekundy":"sekund"):h+"sekundami";case"m":return r?"minuta":d?"minutu":"minutou";case"mm":return r||d?h+(q0(e)?"minuty":"minut"):h+"minutami";case"h":return r?"hodina":d?"hodinu":"hodinou";case"hh":return r||d?h+(q0(e)?"hodiny":"hodin"):h+"hodinami";case"d":return r||d?"den":"dnem";case"dd":return r||d?h+(q0(e)?"dny":"dní"):h+"dny";case"M":return r||d?"měsíc":"měsícem";case"MM":return r||d?h+(q0(e)?"měsíce":"měsíců"):h+"měsíci";case"y":return r||d?"rok":"rokem";case"yy":return r||d?h+(q0(e)?"roky":"let"):h+"lety"}}a.defineLocale("cs",{months:S1,monthsShort:H1,monthsRegex:ti,monthsShortRegex:ti,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:ga,longMonthsParse:ga,shortMonthsParse:ga,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:le,ss:le,m:le,mm:le,h:le,hh:le,d:le,dd:le,M:le,MM:le,y:le,yy:le},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var r=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+r},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),a.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var r=e,l="",d=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return r>20?r===40||r===50||r===60||r===80||r===100?l="fed":l="ain":r>0&&(l=d[r]),e+l},week:{dow:1,doy:4}}),a.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function Xe(e,r,l,d){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return r?h[l][0]:h[l][1]}a.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:Xe,mm:"%d Minuten",h:Xe,hh:"%d Stunden",d:Xe,dd:Xe,w:Xe,ww:"%d Wochen",M:Xe,MM:Xe,y:Xe,yy:Xe},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function u0(e,r,l,d){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return r?h[l][0]:h[l][1]}a.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:u0,mm:"%d Minuten",h:u0,hh:"%d Stunden",d:u0,dd:u0,w:u0,ww:"%d Wochen",M:u0,MM:u0,y:u0,yy:u0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function e0(e,r,l,d){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return r?h[l][0]:h[l][1]}a.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e0,mm:"%d Minuten",h:e0,hh:"%d Stunden",d:e0,dd:e0,w:e0,ww:"%d Wochen",M:e0,MM:e0,y:e0,yy:e0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var ni=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],ai=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];a.defineLocale("dv",{months:ni,monthsShort:ni,weekdays:ai,weekdaysShort:ai,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return e==="މފ"},meridiem:function(e,r,l){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});function j1(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,r){return e?typeof r=="string"&&/D/.test(r.substring(0,r.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,r,l){return e>11?l?"μμ":"ΜΜ":l?"πμ":"ΠΜ"},isPM:function(e){return(e+"").toLowerCase()[0]==="μ"},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return this.day()===6?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,r){var l=this._calendarEl[e],d=r&&r.hours();return j1(l)&&(l=l.apply(r)),l.replace("{}",d%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),a.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:0,doy:4}}),a.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l}}),a.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l}}),a.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:0,doy:6}}),a.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return e.charAt(0).toLowerCase()==="p"},meridiem:function(e,r,l){return e>11?l?"p.t.m.":"P.T.M.":l?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var ri="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),O1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ma=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],si=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?O1[e.month()]:ri[e.month()]:ri},monthsRegex:si,monthsShortRegex:si,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Ma,longMonthsParse:Ma,shortMonthsParse:Ma,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var ii="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),P1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Aa=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],oi=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?P1[e.month()]:ii[e.month()]:ii},monthsRegex:oi,monthsShortRegex:oi,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Aa,longMonthsParse:Aa,shortMonthsParse:Aa,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});var li="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),I1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ca=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],di=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?I1[e.month()]:li[e.month()]:li},monthsRegex:di,monthsShortRegex:di,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Ca,longMonthsParse:Ca,shortMonthsParse:Ca,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});var ci="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),W1="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),La=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],_i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?W1[e.month()]:ci[e.month()]:ci},monthsRegex:_i,monthsShortRegex:_i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:La,longMonthsParse:La,shortMonthsParse:La,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});function Ye(e,r,l,d){var h={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return r?h[l][2]?h[l][2]:h[l][1]:d?h[l][0]:h[l][1]}a.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:Ye,ss:Ye,m:Ye,mm:Ye,h:Ye,hh:Ye,d:Ye,dd:"%d päeva",M:Ye,MM:Ye,y:Ye,yy:Ye},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var z1={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},N1={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};a.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,r,l){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(r){return N1[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return z1[r]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});var fn="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),R1=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",fn[7],fn[8],fn[9]];function de(e,r,l,d){var h="";switch(l){case"s":return d?"muutaman sekunnin":"muutama sekunti";case"ss":h=d?"sekunnin":"sekuntia";break;case"m":return d?"minuutin":"minuutti";case"mm":h=d?"minuutin":"minuuttia";break;case"h":return d?"tunnin":"tunti";case"hh":h=d?"tunnin":"tuntia";break;case"d":return d?"päivän":"päivä";case"dd":h=d?"päivän":"päivää";break;case"M":return d?"kuukauden":"kuukausi";case"MM":h=d?"kuukauden":"kuukautta";break;case"y":return d?"vuoden":"vuosi";case"yy":h=d?"vuoden":"vuotta";break}return h=U1(e,d)+" "+h,h}function U1(e,r){return e<10?r?R1[e]:fn[e]:e}a.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:de,ss:de,m:de,mm:de,h:de,hh:de,d:de,dd:de,M:de,MM:de,y:de,yy:de},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),a.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,r){switch(r){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}}}),a.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,r){switch(r){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var V1=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,J1=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,mi=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Ba=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];a.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:mi,monthsShortRegex:mi,monthsStrictRegex:V1,monthsShortStrictRegex:J1,monthsParse:Ba,longMonthsParse:Ba,shortMonthsParse:Ba,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,r){switch(r){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var hi="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),$1="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");a.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?$1[e.month()]:hi[e.month()]:hi},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});var q1=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],G1=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],Z1=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],K1=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],Q1=["Do","Lu","Má","Cé","Dé","A","Sa"];a.defineLocale("ga",{months:q1,monthsShort:G1,monthsParseExact:!0,weekdays:Z1,weekdaysShort:K1,weekdaysMin:Q1,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var r=e===1?"d":e%10===2?"na":"mh";return e+r},week:{dow:1,doy:4}});var X1=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],u_=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],e_=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],t_=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],n_=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];a.defineLocale("gd",{months:X1,monthsShort:u_,monthsParseExact:!0,weekdays:e_,weekdaysShort:t_,weekdaysMin:n_,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var r=e===1?"d":e%10===2?"na":"mh";return e+r},week:{dow:1,doy:4}}),a.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return e.indexOf("un")===0?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});function ce(e,r,l,d){var h={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return d?h[l][0]:h[l][1]}a.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:ce,ss:ce,m:ce,mm:ce,h:ce,hh:ce,d:ce,dd:ce,M:ce,MM:ce,y:ce,yy:ce},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,r){switch(r){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="राती")return e<4?e:e+12;if(r==="सकाळीं")return e;if(r==="दनपारां")return e>12?e:e+12;if(r==="सांजे")return e+12},meridiem:function(e,r,l){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});function _e(e,r,l,d){var h={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return d?h[l][0]:h[l][1]}a.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:_e,ss:_e,m:_e,mm:_e,h:_e,hh:_e,d:_e,dd:_e,M:_e,MM:_e,y:_e,yy:_e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,r){switch(r){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="rati")return e<4?e:e+12;if(r==="sokallim")return e;if(r==="donparam")return e>12?e:e+12;if(r==="sanje")return e+12},meridiem:function(e,r,l){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});var a_={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},r_={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};a.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(r){return r_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return a_[r]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="રાત")return e<4?e:e+12;if(r==="સવાર")return e;if(r==="બપોર")return e>=10?e:e+12;if(r==="સાંજ")return e+12},meridiem:function(e,r,l){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}}),a.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return e===2?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return e===2?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return e===2?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return e===2?"שנתיים":e%10===0&&e!==10?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,r,l){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?l?'לפנה"צ':"לפני הצהריים":e<18?l?'אחה"צ':"אחרי הצהריים":"בערב"}});var s_={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i_={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},fi=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],o_=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];a.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:fi,longMonthsParse:fi,shortMonthsParse:o_,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(r){return i_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return s_[r]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="रात")return e<4?e:e+12;if(r==="सुबह")return e;if(r==="दोपहर")return e>=10?e:e+12;if(r==="शाम")return e+12},meridiem:function(e,r,l){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});function _0(e,r,l){var d=e+" ";switch(l){case"ss":return e===1?d+="sekunda":e===2||e===3||e===4?d+="sekunde":d+="sekundi",d;case"m":return r?"jedna minuta":"jedne minute";case"mm":return e===1?d+="minuta":e===2||e===3||e===4?d+="minute":d+="minuta",d;case"h":return r?"jedan sat":"jednog sata";case"hh":return e===1?d+="sat":e===2||e===3||e===4?d+="sata":d+="sati",d;case"dd":return e===1?d+="dan":d+="dana",d;case"MM":return e===1?d+="mjesec":e===2||e===3||e===4?d+="mjeseca":d+="mjeseci",d;case"yy":return e===1?d+="godina":e===2||e===3||e===4?d+="godine":d+="godina",d}}a.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:_0,m:_0,mm:_0,h:_0,hh:_0,d:"dan",dd:_0,M:"mjesec",MM:_0,y:"godinu",yy:_0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var l_="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function me(e,r,l,d){var h=e;switch(l){case"s":return d||r?"néhány másodperc":"néhány másodperce";case"ss":return h+(d||r)?" másodperc":" másodperce";case"m":return"egy"+(d||r?" perc":" perce");case"mm":return h+(d||r?" perc":" perce");case"h":return"egy"+(d||r?" óra":" órája");case"hh":return h+(d||r?" óra":" órája");case"d":return"egy"+(d||r?" nap":" napja");case"dd":return h+(d||r?" nap":" napja");case"M":return"egy"+(d||r?" hónap":" hónapja");case"MM":return h+(d||r?" hónap":" hónapja");case"y":return"egy"+(d||r?" év":" éve");case"yy":return h+(d||r?" év":" éve")}return""}function Di(e){return(e?"":"[múlt] ")+"["+l_[this.day()]+"] LT[-kor]"}a.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return e.charAt(1).toLowerCase()==="u"},meridiem:function(e,r,l){return e<12?l===!0?"de":"DE":l===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Di.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Di.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:me,ss:me,m:me,mm:me,h:me,hh:me,d:me,dd:me,M:me,MM:me,y:me,yy:me},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,r){switch(r){case"DDD":case"w":case"W":case"DDDo":return e===1?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}}),a.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="pagi")return e;if(r==="siang")return e>=11?e:e+12;if(r==="sore"||r==="malam")return e+12},meridiem:function(e,r,l){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});function G0(e){return e%100===11?!0:e%10!==1}function ve(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return G0(e)?h+(r||d?"sekúndur":"sekúndum"):h+"sekúnda";case"m":return r?"mínúta":"mínútu";case"mm":return G0(e)?h+(r||d?"mínútur":"mínútum"):r?h+"mínúta":h+"mínútu";case"hh":return G0(e)?h+(r||d?"klukkustundir":"klukkustundum"):h+"klukkustund";case"d":return r?"dagur":d?"dag":"degi";case"dd":return G0(e)?r?h+"dagar":h+(d?"daga":"dögum"):r?h+"dagur":h+(d?"dag":"degi");case"M":return r?"mánuður":d?"mánuð":"mánuði";case"MM":return G0(e)?r?h+"mánuðir":h+(d?"mánuði":"mánuðum"):r?h+"mánuður":h+(d?"mánuð":"mánuði");case"y":return r||d?"ár":"ári";case"yy":return G0(e)?h+(r||d?"ár":"árum"):h+(r||d?"ár":"ári")}}a.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:ve,ss:ve,m:ve,mm:ve,h:"klukkustund",hh:ve,d:ve,dd:ve,M:ve,MM:ve,y:ve,yy:ve},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return this.day()===0?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastWeek:function(){return this.day()===0?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,r){return r[1]==="元"?1:parseInt(r[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return e==="午後"},meridiem:function(e,r,l){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,r){switch(r){case"y":return e===1?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),a.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="enjing")return e;if(r==="siyang")return e>=11?e:e+12;if(r==="sonten"||r==="ndalu")return e+12},meridiem:function(e,r,l){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),a.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(r,l,d){return d==="ი"?l+"ში":l+d+"ში"})},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return e===0?e:e===1?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});var ka={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};a.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var r=e%10,l=e>=100?100:null;return e+(ka[e]||ka[r]||ka[l])},week:{dow:1,doy:7}});var d_={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},c_={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};a.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return e==="ល្ងាច"},meridiem:function(e,r,l){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(r){return c_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return d_[r]})},week:{dow:1,doy:4}});var __={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},m_={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};a.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(r){return m_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return __[r]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="ರಾತ್ರಿ")return e<4?e:e+12;if(r==="ಬೆಳಿಗ್ಗೆ")return e;if(r==="ಮಧ್ಯಾಹ್ನ")return e>=10?e:e+12;if(r==="ಸಂಜೆ")return e+12},meridiem:function(e,r,l){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}}),a.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return e==="오후"},meridiem:function(e,r,l){return e<12?"오전":"오후"}});function Ru(e,r,l,d){var h={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return r?h[l][0]:h[l][1]}function h_(e){e=""+e;var r=e.substring(e.length-1),l=e.length>1?e.substring(e.length-2):"";return!(l==12||l==13)&&(r=="2"||r=="3"||l=="50"||r=="70"||r=="80")?"yê":"ê"}a.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,r,l){return e<12?l?"bn":"BN":l?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:Ru,ss:Ru,m:Ru,mm:Ru,h:Ru,hh:Ru,d:Ru,dd:Ru,w:Ru,ww:Ru,M:Ru,MM:Ru,y:Ru,yy:Ru},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,r){var l=r.toLowerCase();return l.includes("w")||l.includes("m")?e+".":e+h_(e)},week:{dow:1,doy:4}});var f_={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},D_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},pi=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];a.defineLocale("ku",{months:pi,monthsShort:pi,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,r,l){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(r){return D_[r]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(r){return f_[r]}).replace(/,/g,"،")},week:{dow:6,doy:12}});var Fa={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};a.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var r=e%10,l=e>=100?100:null;return e+(Fa[e]||Fa[r]||Fa[l])},week:{dow:1,doy:7}});function vt(e,r,l,d){var h={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return r?h[l][0]:h[l][1]}function p_(e){var r=e.substr(0,e.indexOf(" "));return xt(r)?"a "+e:"an "+e}function y_(e){var r=e.substr(0,e.indexOf(" "));return xt(r)?"viru "+e:"virun "+e}function xt(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var r=e%10,l=e/10;return xt(r===0?l:r)}else if(e<1e4){for(;e>=10;)e=e/10;return xt(e)}else return e=e/1e3,xt(e)}a.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:p_,past:y_,s:"e puer Sekonnen",ss:"%d Sekonnen",m:vt,mm:"%d Minutten",h:vt,hh:"%d Stonnen",d:vt,dd:"%d Deeg",M:vt,MM:"%d Méint",y:vt,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return e==="ຕອນແລງ"},meridiem:function(e,r,l){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});var E_={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function g_(e,r,l,d){return r?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"}function Z0(e,r,l,d){return r?m0(l)[0]:d?m0(l)[1]:m0(l)[2]}function yi(e){return e%10===0||e>10&&e<20}function m0(e){return E_[e].split("_")}function K0(e,r,l,d){var h=e+" ";return e===1?h+Z0(e,r,l[0],d):r?h+(yi(e)?m0(l)[1]:m0(l)[0]):d?h+m0(l)[1]:h+(yi(e)?m0(l)[1]:m0(l)[2])}a.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:g_,ss:K0,m:Z0,mm:K0,h:Z0,hh:K0,d:Z0,dd:K0,M:Z0,MM:K0,y:Z0,yy:K0},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var Ei={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function gi(e,r,l){return l?r%10===1&&r%100!==11?e[2]:e[3]:r%10===1&&r%100!==11?e[0]:e[1]}function Q0(e,r,l){return e+" "+gi(Ei[l],e,r)}function bt(e,r,l){return gi(Ei[l],e,r)}function M_(e,r){return r?"dažas sekundes":"dažām sekundēm"}a.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:M_,ss:Q0,m:bt,mm:Q0,h:bt,hh:Q0,d:bt,dd:Q0,M:bt,MM:Q0,y:bt,yy:Q0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var He={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,r){return e===1?r[0]:e>=2&&e<=4?r[1]:r[2]},translate:function(e,r,l){var d=He.words[l];return l.length===1?r?d[0]:d[1]:e+" "+He.correctGrammaticalCase(e,d)}};a.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:He.translate,m:He.translate,mm:He.translate,h:He.translate,hh:He.translate,d:"dan",dd:He.translate,M:"mjesec",MM:He.translate,y:"godinu",yy:He.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var r=e%10,l=e%100;return e===0?e+"-ев":l===0?e+"-ен":l>10&&l<20?e+"-ти":r===1?e+"-ви":r===2?e+"-ри":r===7||r===8?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),a.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,r){return e===12&&(e=0),r==="രാത്രി"&&e>=4||r==="ഉച്ച കഴിഞ്ഞ്"||r==="വൈകുന്നേരം"?e+12:e},meridiem:function(e,r,l){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});function he(e,r,l,d){switch(l){case"s":return r?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(r?" секунд":" секундын");case"m":case"mm":return e+(r?" минут":" минутын");case"h":case"hh":return e+(r?" цаг":" цагийн");case"d":case"dd":return e+(r?" өдөр":" өдрийн");case"M":case"MM":return e+(r?" сар":" сарын");case"y":case"yy":return e+(r?" жил":" жилийн");default:return e}}a.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return e==="ҮХ"},meridiem:function(e,r,l){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:he,ss:he,m:he,mm:he,h:he,hh:he,d:he,dd:he,M:he,MM:he,y:he,yy:he},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});var A_={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},C_={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function fe(e,r,l,d){var h="";if(r)switch(l){case"s":h="काही सेकंद";break;case"ss":h="%d सेकंद";break;case"m":h="एक मिनिट";break;case"mm":h="%d मिनिटे";break;case"h":h="एक तास";break;case"hh":h="%d तास";break;case"d":h="एक दिवस";break;case"dd":h="%d दिवस";break;case"M":h="एक महिना";break;case"MM":h="%d महिने";break;case"y":h="एक वर्ष";break;case"yy":h="%d वर्षे";break}else switch(l){case"s":h="काही सेकंदां";break;case"ss":h="%d सेकंदां";break;case"m":h="एका मिनिटा";break;case"mm":h="%d मिनिटां";break;case"h":h="एका तासा";break;case"hh":h="%d तासां";break;case"d":h="एका दिवसा";break;case"dd":h="%d दिवसां";break;case"M":h="एका महिन्या";break;case"MM":h="%d महिन्यां";break;case"y":h="एका वर्षा";break;case"yy":h="%d वर्षां";break}return h.replace(/%d/i,e)}a.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:fe,ss:fe,m:fe,mm:fe,h:fe,hh:fe,d:fe,dd:fe,M:fe,MM:fe,y:fe,yy:fe},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(r){return C_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return A_[r]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="पहाटे"||r==="सकाळी")return e;if(r==="दुपारी"||r==="सायंकाळी"||r==="रात्री")return e>=12?e:e+12},meridiem:function(e,r,l){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),a.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="pagi")return e;if(r==="tengahari")return e>=11?e:e+12;if(r==="petang"||r==="malam")return e+12},meridiem:function(e,r,l){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),a.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="pagi")return e;if(r==="tengahari")return e>=11?e:e+12;if(r==="petang"||r==="malam")return e+12},meridiem:function(e,r,l){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),a.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});var L_={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},B_={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};a.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(r){return B_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return L_[r]})},week:{dow:1,doy:4}}),a.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var k_={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},F_={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(r){return F_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return k_[r]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="राति")return e<4?e:e+12;if(r==="बिहान")return e;if(r==="दिउँसो")return e>=10?e:e+12;if(r==="साँझ")return e+12},meridiem:function(e,r,l){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});var Mi="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Y_="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Ya=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Ai=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?Y_[e.month()]:Mi[e.month()]:Mi},monthsRegex:Ai,monthsShortRegex:Ai,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Ya,longMonthsParse:Ya,shortMonthsParse:Ya,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}});var Ci="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),v_="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),va=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Li=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?v_[e.month()]:Ci[e.month()]:Ci},monthsRegex:Li,monthsShortRegex:Li,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:va,longMonthsParse:va,shortMonthsParse:va,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}}),a.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,r){var l=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";return(r==="w"||r==="W")&&(l="a"),e+l},week:{dow:1,doy:4}});var x_={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},b_={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};a.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(r){return b_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return x_[r]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="ਰਾਤ")return e<4?e:e+12;if(r==="ਸਵੇਰ")return e;if(r==="ਦੁਪਹਿਰ")return e>=10?e:e+12;if(r==="ਸ਼ਾਮ")return e+12},meridiem:function(e,r,l){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});var Bi="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),w_="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),xa=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function X0(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function h0(e,r,l){var d=e+" ";switch(l){case"ss":return d+(X0(e)?"sekundy":"sekund");case"m":return r?"minuta":"minutę";case"mm":return d+(X0(e)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return d+(X0(e)?"godziny":"godzin");case"ww":return d+(X0(e)?"tygodnie":"tygodni");case"MM":return d+(X0(e)?"miesiące":"miesięcy");case"yy":return d+(X0(e)?"lata":"lat")}}a.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?w_[e.month()]:Bi[e.month()]:Bi},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:xa,longMonthsParse:xa,shortMonthsParse:xa,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:h0,m:h0,mm:h0,h:h0,hh:h0,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:h0,M:"miesiąc",MM:h0,y:"rok",yy:h0},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"}),a.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});function F0(e,r,l){var d={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},h=" ";return(e%100>=20||e>=100&&e%100===0)&&(h=" de "),e+h+d[l]}a.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:F0,m:"un minut",mm:F0,h:"o oră",hh:F0,d:"o zi",dd:F0,w:"o săptămână",ww:F0,M:"o lună",MM:F0,y:"un an",yy:F0},week:{dow:1,doy:7}});function T_(e,r){var l=e.split("_");return r%10===1&&r%100!==11?l[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?l[1]:l[2]}function f0(e,r,l){var d={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return l==="m"?r?"минута":"минуту":e+" "+T_(d[l],+e)}var ba=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];a.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:ba,longMonthsParse:ba,shortMonthsParse:ba,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}else return this.day()===2?"[Во] dddd, [в] LT":"[В] dddd, [в] LT"},lastWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}else return this.day()===2?"[Во] dddd, [в] LT":"[В] dddd, [в] LT"},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:f0,m:f0,mm:f0,h:"час",hh:f0,d:"день",dd:f0,w:"неделя",ww:f0,M:"месяц",MM:f0,y:"год",yy:f0},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,r,l){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,r){switch(r){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});var ki=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],wa=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];a.defineLocale("sd",{months:ki,monthsShort:ki,weekdays:wa,weekdaysShort:wa,weekdaysMin:wa,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return e==="شام"},meridiem:function(e,r,l){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}}),a.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return e==="ප.ව."||e==="පස් වරු"},meridiem:function(e,r,l){return e>11?l?"ප.ව.":"පස් වරු":l?"පෙ.ව.":"පෙර වරු"}});var S_="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),H_="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function ut(e){return e>1&&e<5}function De(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"pár sekúnd":"pár sekundami";case"ss":return r||d?h+(ut(e)?"sekundy":"sekúnd"):h+"sekundami";case"m":return r?"minúta":d?"minútu":"minútou";case"mm":return r||d?h+(ut(e)?"minúty":"minút"):h+"minútami";case"h":return r?"hodina":d?"hodinu":"hodinou";case"hh":return r||d?h+(ut(e)?"hodiny":"hodín"):h+"hodinami";case"d":return r||d?"deň":"dňom";case"dd":return r||d?h+(ut(e)?"dni":"dní"):h+"dňami";case"M":return r||d?"mesiac":"mesiacom";case"MM":return r||d?h+(ut(e)?"mesiace":"mesiacov"):h+"mesiacmi";case"y":return r||d?"rok":"rokom";case"yy":return r||d?h+(ut(e)?"roky":"rokov"):h+"rokmi"}}a.defineLocale("sk",{months:S_,monthsShort:H_,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:De,ss:De,m:De,mm:De,h:De,hh:De,d:De,dd:De,M:De,MM:De,y:De,yy:De},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function pe(e,r,l,d){var h=e+" ";switch(l){case"s":return r||d?"nekaj sekund":"nekaj sekundami";case"ss":return e===1?h+=r?"sekundo":"sekundi":e===2?h+=r||d?"sekundi":"sekundah":e<5?h+=r||d?"sekunde":"sekundah":h+="sekund",h;case"m":return r?"ena minuta":"eno minuto";case"mm":return e===1?h+=r?"minuta":"minuto":e===2?h+=r||d?"minuti":"minutama":e<5?h+=r||d?"minute":"minutami":h+=r||d?"minut":"minutami",h;case"h":return r?"ena ura":"eno uro";case"hh":return e===1?h+=r?"ura":"uro":e===2?h+=r||d?"uri":"urama":e<5?h+=r||d?"ure":"urami":h+=r||d?"ur":"urami",h;case"d":return r||d?"en dan":"enim dnem";case"dd":return e===1?h+=r||d?"dan":"dnem":e===2?h+=r||d?"dni":"dnevoma":h+=r||d?"dni":"dnevi",h;case"M":return r||d?"en mesec":"enim mesecem";case"MM":return e===1?h+=r||d?"mesec":"mesecem":e===2?h+=r||d?"meseca":"mesecema":e<5?h+=r||d?"mesece":"meseci":h+=r||d?"mesecev":"meseci",h;case"y":return r||d?"eno leto":"enim letom";case"yy":return e===1?h+=r||d?"leto":"letom":e===2?h+=r||d?"leti":"letoma":e<5?h+=r||d?"leta":"leti":h+=r||d?"let":"leti",h}}a.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:pe,ss:pe,m:pe,mm:pe,h:pe,hh:pe,d:pe,dd:pe,M:pe,MM:pe,y:pe,yy:pe},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return e.charAt(0)==="M"},meridiem:function(e,r,l){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Xu={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,r){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?r[0]:r[1]:r[2]},translate:function(e,r,l,d){var h=Xu.words[l],g;return l.length===1?l==="y"&&r?"једна година":d||r?h[0]:h[1]:(g=Xu.correctGrammaticalCase(e,h),l==="yy"&&r&&g==="годину"?e+" година":e+" "+g)}};a.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:Xu.translate,m:Xu.translate,mm:Xu.translate,h:Xu.translate,hh:Xu.translate,d:Xu.translate,dd:Xu.translate,M:Xu.translate,MM:Xu.translate,y:Xu.translate,yy:Xu.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ue={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,r){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?r[0]:r[1]:r[2]},translate:function(e,r,l,d){var h=ue.words[l],g;return l.length===1?l==="y"&&r?"jedna godina":d||r?h[0]:h[1]:(g=ue.correctGrammaticalCase(e,h),l==="yy"&&r&&g==="godinu"?e+" godina":e+" "+g)}};a.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:ue.translate,m:ue.translate,mm:ue.translate,h:ue.translate,hh:ue.translate,d:ue.translate,dd:ue.translate,M:ue.translate,MM:ue.translate,y:ue.translate,yy:ue.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,r,l){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,r){if(e===12&&(e=0),r==="ekuseni")return e;if(r==="emini")return e>=11?e:e+12;if(r==="entsambama"||r==="ebusuku")return e===0?0:e+12},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),a.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?":e":r===1||r===2?":a":":e";return e+l},week:{dow:1,doy:4}}),a.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var j_={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},O_={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};a.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(r){return O_[r]})},postformat:function(e){return e.replace(/\d/g,function(r){return j_[r]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,r,l){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,r){return e===12&&(e=0),r==="யாமம்"?e<2?e:e+12:r==="வைகறை"||r==="காலை"||r==="நண்பகல்"&&e>=10?e:e+12},week:{dow:0,doy:6}}),a.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="రాత్రి")return e<4?e:e+12;if(r==="ఉదయం")return e;if(r==="మధ్యాహ్నం")return e>=10?e:e+12;if(r==="సాయంత్రం")return e+12},meridiem:function(e,r,l){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),a.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}});var Ta={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};a.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="шаб")return e<4?e:e+12;if(r==="субҳ")return e;if(r==="рӯз")return e>=11?e:e+12;if(r==="бегоҳ")return e+12},meridiem:function(e,r,l){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var r=e%10,l=e>=100?100:null;return e+(Ta[e]||Ta[r]||Ta[l])},week:{dow:1,doy:7}}),a.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return e==="หลังเที่ยง"},meridiem:function(e,r,l){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});var Sa={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};a.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'unjy";var l=e%10,d=e%100-l,h=e>=100?100:null;return e+(Sa[l]||Sa[d]||Sa[h])}},week:{dow:1,doy:7}}),a.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});var Ha="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function P_(e){var r=e;return r=e.indexOf("jaj")!==-1?r.slice(0,-3)+"leS":e.indexOf("jar")!==-1?r.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?r.slice(0,-3)+"nem":r+" pIq",r}function I_(e){var r=e;return r=e.indexOf("jaj")!==-1?r.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?r.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?r.slice(0,-3)+"ben":r+" ret",r}function et(e,r,l,d){var h=W_(e);switch(l){case"ss":return h+" lup";case"mm":return h+" tup";case"hh":return h+" rep";case"dd":return h+" jaj";case"MM":return h+" jar";case"yy":return h+" DIS"}}function W_(e){var r=Math.floor(e%1e3/100),l=Math.floor(e%100/10),d=e%10,h="";return r>0&&(h+=Ha[r]+"vatlh"),l>0&&(h+=(h!==""?" ":"")+Ha[l]+"maH"),d>0&&(h+=(h!==""?" ":"")+Ha[d]),h===""?"pagh":h}a.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:P_,past:I_,s:"puS lup",ss:et,m:"wa’ tup",mm:et,h:"wa’ rep",hh:et,d:"wa’ jaj",dd:et,M:"wa’ jar",MM:et,y:"wa’ DIS",yy:et},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var ja={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};a.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,r,l){return e<12?l?"öö":"ÖÖ":l?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return e==="ös"||e==="ÖS"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'ıncı";var l=e%10,d=e%100-l,h=e>=100?100:null;return e+(ja[l]||ja[d]||ja[h])}},week:{dow:1,doy:7}}),a.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return e.toLowerCase()==="d'o"},meridiem:function(e,r,l){return e>11?l?"d'o":"D'O":l?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:ye,ss:ye,m:ye,mm:ye,h:ye,hh:ye,d:ye,dd:ye,M:ye,MM:ye,y:ye,yy:ye},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function ye(e,r,l,d){var h={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",""+e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return d||r?h[l][0]:h[l][1]}a.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),a.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),a.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,r){return e===12&&(e=0),r==="يېرىم كېچە"||r==="سەھەر"||r==="چۈشتىن بۇرۇن"?e:r==="چۈشتىن كېيىن"||r==="كەچ"?e+12:e>=11?e:e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"يېرىم كېچە":d<900?"سەھەر":d<1130?"چۈشتىن بۇرۇن":d<1230?"چۈش":d<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});function z_(e,r){var l=e.split("_");return r%10===1&&r%100!==11?l[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?l[1]:l[2]}function Y0(e,r,l){var d={ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return l==="m"?r?"хвилина":"хвилину":l==="h"?r?"година":"годину":e+" "+z_(d[l],+e)}function N_(e,r){var l={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},d;return e===!0?l.nominative.slice(1,7).concat(l.nominative.slice(0,1)):e?(d=/(\[[ВвУу]\]) ?dddd/.test(r)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(r)?"genitive":"nominative",l[d][e.day()]):l.nominative}function tt(e){return function(){return e+"о"+(this.hours()===11?"б":"")+"] LT"}}a.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:N_,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:tt("[Сьогодні "),nextDay:tt("[Завтра "),lastDay:tt("[Вчора "),nextWeek:tt("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return tt("[Минулої] dddd [").call(this);case 1:case 2:case 4:return tt("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:Y0,m:Y0,mm:Y0,h:"годину",hh:Y0,d:"день",dd:Y0,M:"місяць",MM:Y0,y:"рік",yy:Y0},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,r,l){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,r){switch(r){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});var Fi=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],Oa=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];return a.defineLocale("ur",{months:Fi,monthsShort:Fi,weekdays:Oa,weekdaysShort:Oa,weekdaysMin:Oa,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return e==="شام"},meridiem:function(e,r,l){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}}),a.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),a.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),a.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,r,l){return e<12?l?"sa":"SA":l?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),a.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var r=e%10,l=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+l},week:{dow:1,doy:4}}),a.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),a.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){return e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午"?e:r==="下午"||r==="晚上"?e+12:e>=11?e:e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),a.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午")return e;if(r==="中午")return e>=11?e:e+12;if(r==="下午"||r==="晚上")return e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1200?"上午":d===1200?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午")return e;if(r==="中午")return e>=11?e:e+12;if(r==="下午"||r==="晚上")return e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,r){if(e===12&&(e=0),r==="凌晨"||r==="早上"||r==="上午")return e;if(r==="中午")return e>=11?e:e+12;if(r==="下午"||r==="晚上")return e+12},meridiem:function(e,r,l){var d=e*100+r;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,r){switch(r){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.locale("en"),a}))})(hr)),hr.exports}var d6=l6();const y0=Hr(d6),nt=Bm(),Ri={ar:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ثوانٍ"]}}}},ast:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},az:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["saniyə"]}}}},be:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунды"]}}}},br:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["eilennoù"]}}}},ca:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segons"]}}}},cs:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekund(y)"]}}}},cs_CZ:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekund(y)"]}}}},da:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},de:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["Sekunden"]}}}},de_DE:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["Sekunden"]}}}},el:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["δευτερόλεπτα"]}}}},en_GB:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["seconds"]}}}},eo:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundoj"]}}}},es:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},es_AR:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},es_CL:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},es_MX:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},et_EE:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundid"]}}}},eu:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundo"]}}}},fa:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ثانیه"]}}}},fi:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekuntia"]}}}},fi_FI:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekuntia"]}}}},fr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["secondes"]}}}},ga:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["soicindí"]}}}},gl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},he:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["שניות"]}}}},hr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunde"]}}}},hu:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["másodperc"]}}}},hu_HU:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["másodperc"]}}}},id:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["detik"]}}}},is:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekúndur"]}}}},it:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["secondi"]}}}},ja:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒後"]}}}},ja_JP:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}},kab:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["tasinin"]}}}},ko:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["초"]}}}},lo:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ວິນາທີ"]}}}},lt_LT:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sek."]}}}},lv:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundes"]}}}},mk:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунди"]}}}},mn:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунд"]}}}},ms_MY:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["saat"]}}}},my:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["စက္ကန့်"]}}}},nb:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},nb_NO:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},nl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["seconden"]}}}},oc:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segondas"]}}}},pl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundy"]}}}},pt_BR:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},pt_PT:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["segundos"]}}}},ro:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["secunde"]}}}},ru:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунды"]}}}},si:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["තත්පර"]}}}},sk:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekúnd"]}}}},sk_SK:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekundy"]}}}},sl:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunde"]}}}},sq:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekonda"]}}}},sr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунде"]}}}},sv:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["sekunder"]}}}},th_TH:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["วินาที"]}}}},tr:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["saniye"]}}}},uk:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["секунд"]}}}},uz:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["ikkinchi"]}}}},vi:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["giây"]}}}},zh_CN:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}},zh_HK:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}},zh_TW:{charset:"utf-8",translations:{"":{seconds:{msgid:"seconds",msgstr:["秒"]}}}}};if(y0.locale(nt),nt==="en"&&y0.updateLocale(y0.locale(),{relativeTime:{s:"seconds"}}),nt in Ri){const u=q_().setLanguage(nt).addTranslation(nt,Ri[nt]).build();y0.updateLocale(y0.locale(),{relativeTime:{s:u.gettext("seconds")}})}function c6(u,t,n){var s;const a="#initial-state-".concat(u,"-").concat(t);if((s=window._nc_initial_state)!=null&&s.has(a))return window._nc_initial_state.get(a);window._nc_initial_state||(window._nc_initial_state=new Map);const i=document.querySelector(a);if(i===null)throw new Error("Could not find initial state ".concat(t," of ").concat(u));try{const o=JSON.parse(atob(i.value));return window._nc_initial_state.set(a,o),o}catch(o){throw console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:u,error:o}),new Error("Could not parse initial state ".concat(t," of ").concat(u),{cause:o})}}function E4(){try{return c6("core","capabilities")}catch(u){return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}}function Ui(u,t,n){var s;const a="#initial-state-".concat(u,"-").concat(t);if((s=window._nc_initial_state)!=null&&s.has(a))return window._nc_initial_state.get(a);window._nc_initial_state||(window._nc_initial_state=new Map);const i=document.querySelector(a);if(i===null){if(n!==void 0)return n;throw new Error("Could not find initial state ".concat(t," of ").concat(u))}try{const o=JSON.parse(atob(i.value));return window._nc_initial_state.set(a,o),o}catch(o){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:u,error:o}),n!==void 0)return n;throw new Error("Could not parse initial state ".concat(t," of ").concat(u),{cause:o})}}const _6=["aria-labelledby"],m6={key:0,class:"empty-content__icon","aria-hidden":"true"},h6=["id"],f6={key:2,class:"empty-content__description"},D6={key:3,class:"empty-content__action"},p6=Ae({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(u){const t=Cn();return(n,a)=>(S(),I("div",{"aria-labelledby":wu(t),class:"empty-content",role:"note"},[n.$slots.icon?(S(),I("div",m6,[yu(n.$slots,"icon",{},void 0,!0)])):_u("",!0),n.name!==""||n.$slots.name?(S(),I("div",{key:1,id:wu(t),class:"empty-content__name"},[yu(n.$slots,"name",{},()=>[H0(tu(n.name),1)],!0)],8,h6)):_u("",!0),n.description!==""||n.$slots.description?(S(),I("p",f6,[yu(n.$slots,"description",{},()=>[H0(tu(n.description),1)],!0)])):_u("",!0),n.$slots.action?(S(),I("div",D6,[yu(n.$slots,"action",{},void 0,!0)])):_u("",!0)],8,_6))}}),CM=Me(p6,[["__scopeId","data-v-b101d636"]]),y6=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const E6=Object.prototype.toString,g6=u=>E6.call(u)==="[object Object]",yn=()=>{};function Na(u){return Array.isArray(u)?u:[u]}function M6(u,t,n){return be(u,t,bu(j({},n),{immediate:!0}))}const g4=y6?window:void 0;function Ot(u){var t;const n=Cu(u);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Ra(...u){const t=(a,i,s,o)=>(a.addEventListener(i,s,o),()=>a.removeEventListener(i,s,o)),n=G(()=>{const a=Na(Cu(u[0])).filter(i=>i!=null);return a.every(i=>typeof i!="string")?a:void 0});return M6(()=>{var a,i;return[(a=(i=n.value)===null||i===void 0?void 0:i.map(s=>Ot(s)))!==null&&a!==void 0?a:[g4].filter(s=>s!=null),Na(Cu(n.value?u[1]:u[0])),Na(wu(n.value?u[2]:u[1])),Cu(n.value?u[3]:u[2])]},([a,i,s,o],c,_)=>{if(!(a!=null&&a.length)||!(i!=null&&i.length)||!(s!=null&&s.length))return;const m=g6(o)?j({},o):o,D=a.flatMap(f=>i.flatMap(y=>s.map(p=>t(f,y,p,m))));_(()=>{D.forEach(f=>f())})},{flush:"post"})}function Vi(u,t,n={}){const{window:a=g4,ignore:i=[],capture:s=!0,detectIframe:o=!1,controls:c=!1}=n;if(!a)return c?{stop:yn,cancel:yn,trigger:yn}:yn;let _=!0;const m=M=>Cu(i).some(C=>{if(typeof C=="string")return Array.from(a.document.querySelectorAll(C)).some(v=>v===M.target||M.composedPath().includes(v));{const v=Ot(C);return v&&(M.target===v||M.composedPath().includes(v))}});function D(M){const C=Cu(M);return C&&C.$.subTree.shapeFlag===16}function f(M,C){const v=Cu(M),b=v.$.subTree&&v.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(P=>P.el===C.target||C.composedPath().includes(P.el))}const y=M=>{const C=Ot(u);if(M.target!=null&&!(!(C instanceof Element)&&D(u)&&f(u,M))&&!(!C||C===M.target||M.composedPath().includes(C))){if("detail"in M&&M.detail===0&&(_=!m(M)),!_){_=!0;return}t(M)}};let p=!1;const E=[Ra(a,"click",M=>{p||(p=!0,setTimeout(()=>{p=!1},0),y(M))},{passive:!0,capture:s}),Ra(a,"pointerdown",M=>{const C=Ot(u);_=!m(M)&&!!(C&&!M.composedPath().includes(C))},{passive:!0}),o&&Ra(a,"blur",M=>{setTimeout(()=>{var C;const v=Ot(u);((C=a.document.activeElement)===null||C===void 0?void 0:C.tagName)==="IFRAME"&&!(v!=null&&v.contains(a.document.activeElement))&&t(M)},0)},{passive:!0})].filter(Boolean),B=()=>E.forEach(M=>M());return c?{stop:B,cancel:()=>{_=!1},trigger:M=>{_=!0,y(M),_=!1}}:B}const Ua=new WeakMap,A6={mounted(u,t){const n=!t.modifiers.bubble;let a;if(typeof t.value=="function")a=Vi(u,t.value,{capture:n});else{const[i,s]=t.value;a=Vi(u,i,Object.assign({capture:n},s))}Ua.set(u,a)},unmounted(u){const t=Ua.get(u);t&&typeof t=="function"?t():t==null||t.stop(),Ua.delete(u)}};function lt(u,t,n){const a={type:String(u)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(a,t),Array.isArray(n)?a.children=n:n!=null&&(a.value=String(n)),a}const Or=(function(u){if(u==null)return k6;if(typeof u=="function")return On(u);if(typeof u=="object")return Array.isArray(u)?C6(u):L6(u);if(typeof u=="string")return B6(u);throw new Error("Expected function, string, or object as test")});function C6(u){const t=[];let n=-1;for(;++n":""))+")"})}return y;function y(){let p=M4,E,B,M;if((!t||s(_,m,D[D.length-1]||void 0))&&(p=v6(n(_,D)),p[0]===fr))return p;if("children"in _&&_.children){const C=_;if(C.children&&p[0]!==Pr)for(B=(a?C.children.length:-1)+o,M=D.concat(C);B>-1&&Bi.type==="text",(i,s,o)=>{let c=C4(i.value);return typeof c=="string"?c=[lt("text",c)]:c=c.map(_=>typeof _=="string"?lt("text",_):lt("link",{url:_.props.href},[lt("text",_.props.href)])).filter(_=>_).flat(),o.children.splice(s,1,...c),[Pr,(s!=null?s:0)+c.length]})}}function C4(u){let t=$i.exec(u);const n=[];let a=0;for(;t!==null;){let s=t[2],o,c=u.substring(a,t.index+t[1].length);s[0]===" "&&(c+=s[0],s=s.substring(1).trim());const _=s[s.length-1];(_==="."||_===","||_===";"||t[0][0]==="("&&_===")")&&(s=s.substring(0,s.length-1),o=_),n.push(c),n.push({component:x6,props:{href:s}}),o&&n.push(o),a=t.index+t[0].length,t=$i.exec(u)}n.push(u.substring(a));const i=n.map(s=>typeof s=="string"?s:s.props.href).join("");return u===i?n:(i0.error("[NcRichText] Failed to reassemble the chunked text: "+u),u)}function Ir(u,t){const n=(D,f)=>D.startsWith(f)?D.slice(f.length):D,a=(D,...f)=>f.reduce((y,p)=>n(y,p),D);if(!u)return null;const i=/^https?:\/\//.test(t),s=/^[a-z][a-z0-9+.-]*:.+/.test(t);if(!i&&s||i&&!t.startsWith(xi())||!i&&!t.startsWith("/"))return null;const o=i?a(t,xi(),"/index.php"):t,c=a(u.options.history.base,G_(),"/index.php"),_=a(o,c)||"/",m=u.resolve(_);return m.matched.length?m.fullPath:null}function w6(u){return window._nc_contacts_menu_hooks?Object.values(window._nc_contacts_menu_hooks).filter(t=>t.enabled(u)):[]}const T6=new Int32Array(4),vu=class vu{constructor(){Ee(this,"_dataLength",0);Ee(this,"_bufferLength",0);Ee(this,"_state",new Int32Array(4));Ee(this,"_buffer",new ArrayBuffer(68));Ee(this,"_buffer8");Ee(this,"_buffer32");this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){const n=vu.hexChars,a=vu.hexOut;let i,s,o,c;for(c=0;c<4;c+=1)for(s=c*8,i=t[c],o=0;o<8;o+=2)a[s+1+o]=n.charAt(i&15),i>>>=4,a[s+0+o]=n.charAt(i&15),i>>>=4;return a.join("")}static _md5cycle(t,n){let a=t[0],i=t[1],s=t[2],o=t[3];a+=(i&s|~i&o)+n[0]-680876936|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[1]-389564586|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[2]+606105819|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[3]-1044525330|0,i=(i<<22|i>>>10)+s|0,a+=(i&s|~i&o)+n[4]-176418897|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[5]+1200080426|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[6]-1473231341|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[7]-45705983|0,i=(i<<22|i>>>10)+s|0,a+=(i&s|~i&o)+n[8]+1770035416|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[9]-1958414417|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[10]-42063|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[11]-1990404162|0,i=(i<<22|i>>>10)+s|0,a+=(i&s|~i&o)+n[12]+1804603682|0,a=(a<<7|a>>>25)+i|0,o+=(a&i|~a&s)+n[13]-40341101|0,o=(o<<12|o>>>20)+a|0,s+=(o&a|~o&i)+n[14]-1502002290|0,s=(s<<17|s>>>15)+o|0,i+=(s&o|~s&a)+n[15]+1236535329|0,i=(i<<22|i>>>10)+s|0,a+=(i&o|s&~o)+n[1]-165796510|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[6]-1069501632|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[11]+643717713|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[0]-373897302|0,i=(i<<20|i>>>12)+s|0,a+=(i&o|s&~o)+n[5]-701558691|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[10]+38016083|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[15]-660478335|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[4]-405537848|0,i=(i<<20|i>>>12)+s|0,a+=(i&o|s&~o)+n[9]+568446438|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[14]-1019803690|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[3]-187363961|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[8]+1163531501|0,i=(i<<20|i>>>12)+s|0,a+=(i&o|s&~o)+n[13]-1444681467|0,a=(a<<5|a>>>27)+i|0,o+=(a&s|i&~s)+n[2]-51403784|0,o=(o<<9|o>>>23)+a|0,s+=(o&i|a&~i)+n[7]+1735328473|0,s=(s<<14|s>>>18)+o|0,i+=(s&a|o&~a)+n[12]-1926607734|0,i=(i<<20|i>>>12)+s|0,a+=(i^s^o)+n[5]-378558|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[8]-2022574463|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[11]+1839030562|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[14]-35309556|0,i=(i<<23|i>>>9)+s|0,a+=(i^s^o)+n[1]-1530992060|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[4]+1272893353|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[7]-155497632|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[10]-1094730640|0,i=(i<<23|i>>>9)+s|0,a+=(i^s^o)+n[13]+681279174|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[0]-358537222|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[3]-722521979|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[6]+76029189|0,i=(i<<23|i>>>9)+s|0,a+=(i^s^o)+n[9]-640364487|0,a=(a<<4|a>>>28)+i|0,o+=(a^i^s)+n[12]-421815835|0,o=(o<<11|o>>>21)+a|0,s+=(o^a^i)+n[15]+530742520|0,s=(s<<16|s>>>16)+o|0,i+=(s^o^a)+n[2]-995338651|0,i=(i<<23|i>>>9)+s|0,a+=(s^(i|~o))+n[0]-198630844|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[7]+1126891415|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[14]-1416354905|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[5]-57434055|0,i=(i<<21|i>>>11)+s|0,a+=(s^(i|~o))+n[12]+1700485571|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[3]-1894986606|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[10]-1051523|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[1]-2054922799|0,i=(i<<21|i>>>11)+s|0,a+=(s^(i|~o))+n[8]+1873313359|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[15]-30611744|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[6]-1560198380|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[13]+1309151649|0,i=(i<<21|i>>>11)+s|0,a+=(s^(i|~o))+n[4]-145523070|0,a=(a<<6|a>>>26)+i|0,o+=(i^(a|~s))+n[11]-1120210379|0,o=(o<<10|o>>>22)+a|0,s+=(a^(o|~i))+n[2]+718787259|0,s=(s<<15|s>>>17)+o|0,i+=(o^(s|~a))+n[9]-343485551|0,i=(i<<21|i>>>11)+s|0,t[0]=a+t[0]|0,t[1]=i+t[1]|0,t[2]=s+t[2]|0,t[3]=o+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(vu.stateIdentity),this}appendStr(t){const n=this._buffer8,a=this._buffer32;let i=this._bufferLength,s,o;for(o=0;o>>6)+192,n[i++]=s&63|128;else if(s<55296||s>56319)n[i++]=(s>>>12)+224,n[i++]=s>>>6&63|128,n[i++]=s&63|128;else{if(s=(s-55296)*1024+(t.charCodeAt(++o)-56320)+65536,s>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[i++]=(s>>>18)+240,n[i++]=s>>>12&63|128,n[i++]=s>>>6&63|128,n[i++]=s&63|128}i>=64&&(this._dataLength+=64,vu._md5cycle(this._state,a),i-=64,a[0]=a[16])}return this._bufferLength=i,this}appendAsciiStr(t){const n=this._buffer8,a=this._buffer32;let i=this._bufferLength,s,o=0;for(;;){for(s=Math.min(t.length-o,64-i);s--;)n[i++]=t.charCodeAt(o++);if(i<64)break;this._dataLength+=64,vu._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}appendByteArray(t){const n=this._buffer8,a=this._buffer32;let i=this._bufferLength,s,o=0;for(;;){for(s=Math.min(t.length-o,64-i);s--;)n[i++]=t[o++];if(i<64)break;this._dataLength+=64,vu._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const n=t.buffer,a=t.state,i=this._state;let s;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=a[0],i[1]=a[1],i[2]=a[2],i[3]=a[3],s=0;s>2)+1;this._dataLength+=n;const o=this._dataLength*8;if(a[n]=128,a[n+1]=a[n+2]=a[n+3]=0,i.set(vu.buffer32Identity.subarray(s),s),n>55&&(vu._md5cycle(this._state,i),i.set(vu.buffer32Identity)),o<=4294967295)i[14]=o;else{const c=o.toString(16).match(/(.*?)(.{0,8})$/);if(c===null)return t?T6:"";const _=parseInt(c[2],16),m=parseInt(c[1],16)||0;i[14]=_,i[15]=m}return vu._md5cycle(this._state,i),t?this._state:vu._hex(this._state)}};Ee(vu,"stateIdentity",new Int32Array([1732584193,-271733879,-1732584194,271733878])),Ee(vu,"buffer32Identity",new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Ee(vu,"hexChars","0123456789abcdef"),Ee(vu,"hexOut",[]),Ee(vu,"onePassHasher",new vu);let vn=vu;if(vn.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");te(Z_);class Pu{constructor(t,n,a,i){this.r=t,this.g=n,this.b=a,this.name=i,this.r=Math.min(t,255),this.g=Math.min(n,255),this.b=Math.min(a,255),this.name=i}get color(){const t=n=>"00".concat(n.toString(16)).slice(-2);return"#".concat(t(this.r)).concat(t(this.g)).concat(t(this.b))}}function S6(u,t,n){return{r:(n.r-t.r)/u,g:(n.g-t.g)/u,b:(n.b-t.b)/u}}function Va(u,t,n){const a=[];a.push(t);const i=S6(u,t,n);for(let s=1;s/g,c=/<\/?([^\s\/>]+)/;function _(E,B,M){E=E||"",B=B||[],M=M||"";let C=D(B,M);return f(E,C)}function m(E,B){E=E||[],B=B||"";let M=D(E,B);return function(C){return f(C||"",M)}}_.init_streaming_mode=m;function D(E,B){return E=y(E),{allowable_tags:E,tag_replacement:B,state:a,tag_buffer:"",depth:0,in_quote_char:""}}function f(E,B){if(typeof E!="string")throw new TypeError("'html' parameter must be a string");let M=B.allowable_tags,C=B.tag_replacement,v=B.state,b=B.tag_buffer,P=B.depth,q=B.in_quote_char,Y="";for(let V=0,O=E.length;V":if(q)break;if(P){P--;break}q="",v=a,b+=">",M.has(p(b))?Y+=b:Y+=C,b="";break;case'"':case"'":Q===q?q="":q=q||Q,b+=Q;break;case"-":b===""?(b.slice(-2)=="--"&&(v=a),b=""):b+=Q)}return B.state=v,B.tag_buffer=b,B.depth=P,B.in_quote_char=q,Y}function y(E){let B=new Set;if(typeof E=="string"){let M;for(;M=o.exec(E);)B.add(M[1])}else!n.nonNative&&typeof E[n.iterator]=="function"?B=new Set(E):typeof E.forEach=="function"&&E.forEach(B.add,B);return B}function p(E){let B=c.exec(E);return B?B[1].toLowerCase():null}u.exports?u.exports=_:t.striptags=_})(O6)})(Dr)),Dr.exports}P6();function I6(u,t){var s;const n=((t==null?void 0:t.size)||64)<=64?64:512,a=t!=null&&t.isGuest?"/guest":"",i=((s=t==null?void 0:t.isDarkTheme)!=null?s:dr(document.body))?"/dark":"";return l4("/avatar".concat(a,"/{user}/{size}").concat(i),{user:u,size:n})}const W6='\n\n \n\n',z6='\n\n \n\n',N6='\n\n \n\n',Xi='\n\n \n\n',R6='\n\n \n\n';te(K_),te(Q_);function L4(u){switch(u){case"away":return cu("away");case"busy":return cu("busy");case"dnd":return cu("do not disturb");case"online":return cu("online");case"invisible":return cu("invisible");case"offline":return cu("offline");default:return u}}const U6=["aria-hidden","aria-label","innerHTML"],V6=Ae({__name:"NcUserStatusIcon",props:mr({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(u){const t=m4(u,"status"),n=u,a=G(()=>t.value&&["invisible","offline"].includes(t.value)),i=G(()=>t.value&&(!n.ariaHidden||n.ariaHidden==="false")?cu("User status: {status}",{status:L4(t.value)}):void 0);be(()=>n.user,async c=>{var _,m,D,f;if(!t.value&&c&&((m=(_=E4())==null?void 0:_.user_status)!=null&&m.enabled))try{const{data:y}=await x0.get(ot("/apps/user_status/api/v1/statuses/{user}",{user:c}));t.value=(f=(D=y.ocs)==null?void 0:D.data)==null?void 0:f.status}catch(y){i0.debug("Error while fetching user status",{error:y})}},{immediate:!0});const s={online:R6,away:W6,busy:z6,dnd:N6,invisible:Xi,offline:Xi},o=G(()=>t.value&&s[t.value]);return(c,_)=>t.value?(S(),I("span",{key:0,class:Tu(["user-status-icon",{"user-status-icon--invisible":a.value}]),"aria-hidden":!i.value||void 0,"aria-label":i.value,role:"img",innerHTML:o.value},null,10,U6)):_u("",!0)}}),J6=Me(V6,[["__scopeId","data-v-881a79fb"]]),$6={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){var u,t,n,a;return((a=(n=(t=(u=this.$slots).default)==null?void 0:t.call(u)[0].children)==null?void 0:n.trim)==null?void 0:a.call(n))||""}}},Pn={mixins:[$6],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null}},inject:{closeMenu:{from:X_}},emits:["click"],created(){"ariaHidden"in this.$attrs},computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch(u){return!1}}},methods:{onClick(u){this.$emit("click",u),this.closeAfterClick&&this.closeMenu(!1)}}},q6={name:"NcActionButton",components:{NcIconSvgWrapper:wr},mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}},props:{disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:u=>["button","checkbox","radio","reset","submit"].includes(u)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},emits:["update:modelValue"],setup(){return{mdiCheck:y4,mdiChevronRight:e6}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const u={};return this.isInSemanticMenu?(u.role="menuitem",this.type==="radio"?(u.role="menuitemradio",u["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(u.role="menuitemcheckbox",u["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(u["aria-pressed"]=this.modelValue?"true":"false"),u}},methods:{handleClick(u){this.onClick(u),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}},G6=["role"],Z6=["aria-label","disabled","title","type"],K6={class:"action-button__longtext-wrapper"},Q6={key:0,class:"action-button__name"},X6=["textContent"],uh={key:2,class:"action-button__text"},eh=["textContent"],th={key:2,class:"action-button__pressed-icon material-design-icon"};function nh(u,t,n,a,i,s){const o=Ju("NcIconSvgWrapper");return S(),I("li",{class:Tu(["action",{"action--disabled":n.disabled}]),role:s.isInSemanticMenu&&"presentation"},[au("button",j0({"aria-label":u.ariaLabel,class:["action-button button-vue",{"action-button--active":s.isChecked,focusable:s.isFocusable}],disabled:n.disabled,title:u.title,type:s.nativeType},s.buttonAttributes,{onClick:t[0]||(t[0]=(...c)=>s.handleClick&&s.handleClick(...c))}),[yu(u.$slots,"icon",{},()=>[au("span",{class:Tu([[u.isIconUrl?"action-button__icon--url":u.icon],"action-button__icon"]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null}),"aria-hidden":"true"},null,6)],!0),au("span",K6,[u.name?(S(),I("strong",Q6,tu(u.name),1)):_u("",!0),u.isLongText?(S(),I("span",{key:1,class:"action-button__longtext",textContent:tu(u.text)},null,8,X6)):(S(),I("span",uh,tu(u.text),1)),n.description?(S(),I("span",{key:3,class:"action-button__description",textContent:tu(n.description)},null,8,eh)):_u("",!0)]),n.isMenu?(S(),ku(o,{key:0,class:"action-button__menu-icon",directional:"",path:a.mdiChevronRight},null,8,["path"])):s.isChecked?(S(),ku(o,{key:1,path:a.mdiCheck,class:"action-button__pressed-icon"},null,8,["path"])):s.isChecked===!1?(S(),I("span",th)):_u("",!0),_u("",!0)],16,Z6)],10,G6)}const ah=Me(q6,[["render",nh],["__scopeId","data-v-6c2daf4e"]]),rh={name:"NcActionLink",mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}},props:{href:{type:String,required:!0,validator:u=>{try{return new URL(u)}catch(t){return u.startsWith("#")||u.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:u=>u&&(!u.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(u)>-1)},title:{type:String,default:null}}},sh=["role"],ih=["download","href","aria-label","target","title","role"],oh={key:0,class:"action-link__longtext-wrapper"},lh={class:"action-link__name"},dh=["textContent"],ch=["textContent"],_h={key:2,class:"action-link__text"};function mh(u,t,n,a,i,s){return S(),I("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[au("a",{download:n.download,href:n.href,"aria-label":u.ariaLabel,target:n.target,title:n.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:s.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...o)=>u.onClick&&u.onClick(...o))},[yu(u.$slots,"icon",{},()=>[au("span",{"aria-hidden":"true",class:Tu(["action-link__icon",[u.isIconUrl?"action-link__icon--url":u.icon]]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null})},null,6)],!0),u.name?(S(),I("span",oh,[au("strong",lh,tu(u.name),1),t[1]||(t[1]=au("br",null,null,-1)),au("span",{class:"action-link__longtext",textContent:tu(u.text)},null,8,dh)])):u.isLongText?(S(),I("span",{key:1,class:"action-link__longtext",textContent:tu(u.text)},null,8,ch)):(S(),I("span",_h,tu(u.text),1)),_u("",!0)],8,ih)],8,sh)}const hh=Me(rh,[["render",mh],["__scopeId","data-v-32f01b7a"]]),fh={name:"NcActionRouter",mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}},props:{to:{type:[String,Object],required:!0}}},Dh=["role"],ph={key:0,class:"action-router__longtext-wrapper"},yh={class:"action-router__name"},Eh=["textContent"],gh=["textContent"],Mh={key:2,class:"action-router__text"};function Ah(u,t,n,a,i,s){const o=Ju("RouterLink");return S(),I("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[ne(o,{"aria-label":u.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:s.isInSemanticMenu&&"menuitem",title:u.title,to:n.to,onClick:u.onClick},{default:$u(()=>[yu(u.$slots,"icon",{},()=>[au("span",{"aria-hidden":"true",class:Tu(["action-router__icon",[u.isIconUrl?"action-router__icon--url":u.icon]]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null})},null,6)],!0),u.name?(S(),I("span",ph,[au("strong",yh,tu(u.name),1),t[0]||(t[0]=au("br",null,null,-1)),au("span",{class:"action-router__longtext",textContent:tu(u.text)},null,8,Eh)])):u.isLongText?(S(),I("span",{key:1,class:"action-router__longtext",textContent:tu(u.text)},null,8,gh)):(S(),I("span",Mh,tu(u.text),1)),_u("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,Dh)}const Ch=Me(fh,[["render",Ah],["__scopeId","data-v-87267750"]]),Lh={name:"NcActionText",mixins:[Pn],inject:{isInSemanticMenu:{from:Tn,default:!1}}},Bh=["role"],kh={key:0,class:"action-text__longtext-wrapper"},Fh={class:"action-text__name"},Yh=["textContent"],vh=["textContent"],xh={key:2,class:"action-text__text"};function bh(u,t,n,a,i,s){return S(),I("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[au("span",{class:"action-text",onClick:t[0]||(t[0]=(...o)=>u.onClick&&u.onClick(...o))},[yu(u.$slots,"icon",{},()=>[u.icon!==""?(S(),I("span",{key:0,"aria-hidden":"true",class:Tu(["action-text__icon",[u.isIconUrl?"action-text__icon--url":u.icon]]),style:We({backgroundImage:u.isIconUrl?"url(".concat(u.icon,")"):null})},null,6)):_u("",!0)],!0),u.name?(S(),I("span",kh,[au("strong",Fh,tu(u.name),1),au("span",{class:"action-text__longtext",textContent:tu(u.text)},null,8,Yh)])):u.isLongText?(S(),I("span",{key:1,class:"action-text__longtext",textContent:tu(u.text)},null,8,vh)):(S(),I("span",xh,tu(u.text),1)),_u("",!0)])],8,Bh)}const wh=Me(Lh,[["render",bh],["__scopeId","data-v-fa684b48"]]);te(um);const Th={data(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{async fetchUserStatus(u){var n,a;if(!u)return;const t=E4();if(!(!Object.hasOwn(t,"user_status")||!t.user_status.enabled)&&Rt())try{const{data:i}=await x0.get(ot("apps/user_status/api/v1/statuses/{userId}",{userId:u}));this.setUserStatus(i.ocs.data)}catch(i){if(i.response.status===404&&((a=(n=i.response.data.ocs)==null?void 0:n.data)==null?void 0:a.length)===0)return;i0.error("Failed to fetch user status",{error:i})}},setUserStatus({status:u,message:t,icon:n}){this.userStatus.status=u||"",this.userStatus.message=t||"",this.userStatus.icon=n||"",this.hasStatus=!!u}}},B4=bm("nextcloud").persist().build();function Sh(u){const t=B4.getItem("user-has-avatar."+u);return typeof t=="string"?!!t:null}function uo(u,t){u&&B4.setItem("user-has-avatar."+u,t)}const Hh={name:"NcAvatar",directives:{ClickOutside:A6},components:{IconDotsHorizontal:nm,NcActions:tm,NcButton:Tr,NcIconSvgWrapper:wr,NcLoadingIcon:em,NcUserStatusIcon:J6},mixins:[Th],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},hideStatus:{type:Boolean,default:!1},verboseStatus:{type:Boolean,default:!1},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},noPlaceholder:{type:Boolean,default:!1},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},menuContainer:{type:[Boolean,String,Object,Element],default:"body"}},setup(){return{isDarkTheme:s6()}},data(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuLoading:!1,contactsMenuData:{},contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{avatarAriaLabel(){var u,t;if(this.hasMenu)return this.canDisplayUserStatus||this.showUserStatusIconOnAvatar?cu("Avatar of {displayName}, {status}",{displayName:(u=this.displayName)!=null?u:this.user,status:L4(this.userStatus.status)}):cu("Avatar of {displayName}",{displayName:(t=this.displayName)!=null?t:this.user})},canDisplayUserStatus(){return!this.hideStatus&&this.hasStatus&&["online","away","busy","dnd"].includes(this.userStatus.status)},showUserStatusIconOnAvatar(){return!this.hideStatus&&!this.verboseStatus&&this.hasStatus&&this.userStatus.status!=="dnd"&&this.userStatus.icon},userIdentifier(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined(){return typeof this.user<"u"},isDisplayNameDefined(){return typeof this.displayName<"u"},isUrlDefined(){return typeof this.url<"u"},hasMenu(){var u;return this.disableMenu?!1:this.isMenuLoaded?this.menu.length>0:!(this.user===((u=Rt())==null?void 0:u.uid)||this.userDoesNotExist||this.url)},showInitials(){return!this.noPlaceholder&&this.userDoesNotExist&&!(this.iconClass||this.$slots.icon)},avatarStyle(){return{"--avatar-size":this.size+"px",lineHeight:this.showInitials?this.size+"px":0,fontSize:Math.round(this.size*.45)+"px"}},initialsWrapperStyle(){const{r:u,g:t,b:n}=Ki(this.userIdentifier);return{backgroundColor:"rgba(".concat(u,", ").concat(t,", ").concat(n,", 0.1)")}},initialsStyle(){const{r:u,g:t,b:n}=Ki(this.userIdentifier);return{color:"rgb(".concat(u,", ").concat(t,", ").concat(n,")")}},tooltip(){return this.disableTooltip?null:this.tooltipMessage?this.tooltipMessage:this.displayName},initials(){let u="?";if(this.showInitials){const t=this.userIdentifier.trim();if(t==="")return u;const n=t.match(new RegExp("[\\p{L}\\p{N}\\s]","gu"));if(!n)return u;const a=n.join(""),i=a.lastIndexOf(" ");u=String.fromCodePoint(a.codePointAt(0)),i!==-1&&(u=u.concat(String.fromCodePoint(a.codePointAt(i+1))))}return u.toLocaleUpperCase()},menu(){const u=this.contactsMenuActions.map(n=>{const a=Ir(this.$router,n.hyperlink);return{ncActionComponent:a?Ch:hh,ncActionComponentProps:a?{to:a,icon:n.icon}:{href:n.hyperlink,icon:n.icon},text:n.title}});for(const n of w6(this.contactsMenuData))try{u.push({ncActionComponent:ah,ncActionComponentProps:{onClick:()=>n.callback(this.contactsMenuData)},text:n.displayName(this.contactsMenuData),iconSvg:n.iconSvg(this.contactsMenuData)})}catch(a){i0.error("Failed to render ContactsMenu action ".concat(n.id),{error:a,action:n})}function t(n){const a=document.createTextNode(n),i=document.createElement("p");return i.appendChild(a),i.innerHTML}if(!this.hideStatus&&(this.userStatus.icon||this.userStatus.message)){const n='\n '.concat(t(this.userStatus.icon),"\n ");return[{ncActionComponent:wh,ncActionComponentProps:{},iconSvg:this.userStatus.icon?n:void 0,text:"".concat(this.userStatus.message)}].concat(u)}return u}},watch:{url(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted(){this.loadAvatarUrl(),Wa("settings:avatar:updated",this.loadAvatarUrl),Wa("settings:display-name:updated",this.loadAvatarUrl),!this.hideStatus&&this.user&&!this.isNoUser?(this.preloadedUserStatus?this.setUserStatus(this.preloadedUserStatus):this.fetchUserStatus(this.user),Wa("user_status:status.updated",this.handleUserStatusUpdated)):!this.hideStatus&&this.preloadedUserStatus&&this.setUserStatus(this.preloadedUserStatus)},beforeUnmount(){Ia("settings:avatar:updated",this.loadAvatarUrl),Ia("settings:display-name:updated",this.loadAvatarUrl),Ia("user_status:status.updated",this.handleUserStatusUpdated)},methods:{t:cu,handleUserStatusUpdated(u){this.user===u.userId&&(this.userStatus={status:u.status,icon:u.icon,message:u.message},this.hasStatus=u.status!==null)},async toggleMenu(u){u.type==="keydown"&&u.key!=="Enter"||(this.contactsMenuOpenState||await this.fetchContactsMenu(),this.contactsMenuOpenState=!this.contactsMenuOpenState)},closeMenu(){this.contactsMenuOpenState=!1},async fetchContactsMenu(){this.contactsMenuLoading=!0;try{const u=encodeURIComponent(this.user),{data:t}=await x0.post(l4("contactsmenu/findOne"),"shareType=0&shareWith=".concat(u));this.contactsMenuData=t,this.contactsMenuActions=t.topAction?[t.topAction].concat(t.actions):t.actions}catch(u){this.contactsMenuOpenState=!1}this.contactsMenuLoading=!1,this.isMenuLoaded=!0},loadAvatarUrl(){if(this.isAvatarLoaded=!1,!this.isUrlDefined&&(!this.isUserDefined||this.isNoUser||this.iconClass||this.$slots.icon)){this.isAvatarLoaded=!0,this.userDoesNotExist=!0;return}if(this.isUrlDefined){this.updateImageIfValid(this.url);return}if(this.size<=64){const u=this.avatarUrlGenerator(this.user,64),t=[u+" 1x",this.avatarUrlGenerator(this.user,512)+" 8x"].join(", ");this.updateImageIfValid(u,t)}else{const u=this.avatarUrlGenerator(this.user,512);this.updateImageIfValid(u)}},avatarUrlGenerator(u,t){var a;let n=I6(u,{size:t,isDarkTheme:this.isDarkTheme,isGuest:this.isGuest});return u===((a=Rt())==null?void 0:a.uid)&&typeof oc_userconfig<"u"&&(n+="?v="+window.oc_userconfig.avatar.version),n},updateImageIfValid(u,t=null){const n=Sh(this.user);if(this.isUserDefined&&typeof n=="boolean"){this.isAvatarLoaded=!0,this.avatarUrlLoaded=u,t&&(this.avatarSrcSetLoaded=t),n===!1&&(this.userDoesNotExist=!0);return}const a=new Image;a.onload=()=>{this.avatarUrlLoaded=u,t&&(this.avatarSrcSetLoaded=t),this.isAvatarLoaded=!0,uo(this.user,!0)},a.onerror=i=>{i0.debug("[NcAvatar] Invalid avatar url",{error:i,url:u}),this.avatarUrlLoaded=null,this.avatarSrcSetLoaded=null,this.userDoesNotExist=!0,this.isAvatarLoaded=!1,uo(this.user,!1)},t&&(a.srcset=t),a.src=u}}},jh=["title"],Oh=["src","srcset"],Ph={key:2,class:"avatardiv__user-status avatardiv__user-status--icon"};function Ih(u,t,n,a,i,s){const o=Ju("NcLoadingIcon"),c=Ju("IconDotsHorizontal"),_=Ju("NcButton"),m=Ju("NcIconSvgWrapper"),D=Ju("NcActions"),f=Ju("NcUserStatusIcon"),y=h4("click-outside");return Ln((S(),I("span",{class:Tu(["avatardiv popovermenu-wrapper",{"avatardiv--unknown":i.userDoesNotExist,"avatardiv--with-menu":s.hasMenu,"avatardiv--with-menu-loading":i.contactsMenuLoading}]),style:We(s.avatarStyle),title:s.tooltip},[yu(u.$slots,"icon",{},()=>[n.iconClass?(S(),I("span",{key:0,class:Tu([n.iconClass,"avatar-class-icon"])},null,2)):i.isAvatarLoaded&&!i.userDoesNotExist?(S(),I("img",{key:1,src:i.avatarUrlLoaded,srcset:i.avatarSrcSetLoaded,alt:""},null,8,Oh)):_u("",!0)],!0),s.hasMenu&&s.menu.length===0?(S(),ku(_,{key:0,"aria-label":s.avatarAriaLabel,class:"action-item action-item__menutoggle",variant:"tertiary-no-background",onClick:s.toggleMenu},{icon:$u(()=>[i.contactsMenuLoading?(S(),ku(o,{key:0})):(S(),ku(c,{key:1,size:20}))]),_:1},8,["aria-label","onClick"])):s.hasMenu?(S(),ku(D,{key:1,open:i.contactsMenuOpenState,"onUpdate:open":t[0]||(t[0]=p=>i.contactsMenuOpenState=p),"aria-label":s.avatarAriaLabel,container:n.menuContainer,forceMenu:"",manualOpen:"",variant:"tertiary-no-background",onClick:s.toggleMenu},bi({default:$u(()=>[(S(!0),I(ft,null,Nt(s.menu,(p,E)=>(S(),ku(s0(p.ncActionComponent),j0({key:E},{ref_for:!0},p.ncActionComponentProps),bi({default:$u(()=>[H0(" "+tu(p.text),1)]),_:2},[p.iconSvg?{name:"icon",fn:$u(()=>[ne(m,{svg:p.iconSvg},null,8,["svg"])]),key:"0"}:void 0]),1040))),128))]),_:2},[i.contactsMenuLoading?{name:"icon",fn:$u(()=>[ne(o)]),key:"0"}:void 0]),1032,["open","aria-label","container","onClick"])):_u("",!0),s.showUserStatusIconOnAvatar?(S(),I("span",Ph,tu(u.userStatus.icon),1)):s.canDisplayUserStatus?(S(),ku(f,{key:3,class:"avatardiv__user-status",status:u.userStatus.status,"aria-hidden":String(s.hasMenu)},null,8,["status","aria-hidden"])):_u("",!0),s.showInitials?(S(),I("span",{key:4,style:We(s.initialsWrapperStyle),class:"avatardiv__initials-wrapper"},[au("span",{style:We(s.initialsStyle),class:"avatardiv__initials"},tu(s.initials),5)],4)):_u("",!0)],14,jh)),[[y,s.closeMenu]])}const Wr=Me(Hh,[["render",Ih],["__scopeId","data-v-72a1eed6"]]),Wh=["data-timestamp","title","textContent"],k4=Ae({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(u){const t=u,n=G(()=>({format:t.format})),a=G(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),i=rm(wi(()=>t.timestamp),n),s=am(wi(()=>t.timestamp),a),o=G(()=>t.relativeTime?s.value:i.value);return(c,_)=>(S(),I("span",{class:"nc-datetime",dir:"auto","data-timestamp":c.timestamp,title:wu(i),textContent:tu(o.value)},null,8,Wh))}}),F4=-1,In=0,Pt=1,xn=2,zr=3,Nr=4,Rr=5,Ur=6,Y4=7,v4=8,eo=typeof self=="object"?self:globalThis,zh=(u,t)=>{const n=(i,s)=>(u.set(s,i),i),a=i=>{if(u.has(i))return u.get(i);const[s,o]=t[i];switch(s){case In:case F4:return n(o,i);case Pt:{const c=n([],i);for(const _ of o)c.push(a(_));return c}case xn:{const c=n({},i);for(const[_,m]of o)c[a(_)]=a(m);return c}case zr:return n(new Date(o),i);case Nr:{const{source:c,flags:_}=o;return n(new RegExp(c,_),i)}case Rr:{const c=n(new Map,i);for(const[_,m]of o)c.set(a(_),a(m));return c}case Ur:{const c=n(new Set,i);for(const _ of o)c.add(a(_));return c}case Y4:{const{name:c,message:_}=o;return n(new eo[c](_),i)}case v4:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:c}=new Uint8Array(o);return n(new DataView(c),o)}}return n(new eo[s](o),i)};return a},to=u=>zh(new Map,u)(0),at="",{toString:Nh}={},{keys:Rh}=Object,wt=u=>{const t=typeof u;if(t!=="object"||!u)return[In,t];const n=Nh.call(u).slice(8,-1);switch(n){case"Array":return[Pt,at];case"Object":return[xn,at];case"Date":return[zr,at];case"RegExp":return[Nr,at];case"Map":return[Rr,at];case"Set":return[Ur,at];case"DataView":return[Pt,n]}return n.includes("Array")?[Pt,n]:n.includes("Error")?[Y4,n]:[xn,n]},En=([u,t])=>u===In&&(t==="function"||t==="symbol"),Uh=(u,t,n,a)=>{const i=(o,c)=>{const _=a.push(o)-1;return n.set(c,_),_},s=o=>{if(n.has(o))return n.get(o);let[c,_]=wt(o);switch(c){case In:{let D=o;switch(_){case"bigint":c=v4,D=o.toString();break;case"function":case"symbol":if(u)throw new TypeError("unable to serialize "+_);D=null;break;case"undefined":return i([F4],o)}return i([c,D],o)}case Pt:{if(_){let y=o;return _==="DataView"?y=new Uint8Array(o.buffer):_==="ArrayBuffer"&&(y=new Uint8Array(o)),i([_,[...y]],o)}const D=[],f=i([c,D],o);for(const y of o)D.push(s(y));return f}case xn:{if(_)switch(_){case"BigInt":return i([_,o.toString()],o);case"Boolean":case"Number":case"String":return i([_,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const D=[],f=i([c,D],o);for(const y of Rh(o))(u||!En(wt(o[y])))&&D.push([s(y),s(o[y])]);return f}case zr:return i([c,o.toISOString()],o);case Nr:{const{source:D,flags:f}=o;return i([c,{source:D,flags:f}],o)}case Rr:{const D=[],f=i([c,D],o);for(const[y,p]of o)(u||!(En(wt(y))||En(wt(p))))&&D.push([s(y),s(p)]);return f}case Ur:{const D=[],f=i([c,D],o);for(const y of o)(u||!En(wt(y)))&&D.push(s(y));return f}}const{message:m}=o;return i([c,{name:_,message:m}],o)};return s},no=(u,{json:t,lossy:n}={})=>{const a=[];return Uh(!(t||n),!!t,new Map,a)(u),a},S0=typeof structuredClone=="function"?(u,t)=>t&&("json"in t||"lossy"in t)?to(no(u,t)):structuredClone(u):(u,t)=>to(no(u,t)),x4=(function(u){if(u==null)return $h;if(typeof u=="string")return Jh(u);if(typeof u=="object")return Vh(u);if(typeof u=="function")return Vr(u);throw new Error("Expected function, string, or array as `test`")});function Vh(u){const t=[];let n=-1;for(;++n0&&(s.properties.rel=[...y]),p&&(s.properties.target=p),D){const B=Tt(t.contentProperties,s)||{};s.children.push({type:"element",tagName:"span",properties:S0(B),children:S0(D)})}}}})}}function Tt(u,t){return typeof u=="function"?u(t):u}function a2(u,t){const n={};return(u[u.length-1]===""?[...u,""]:u).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const r2=new RegExp("^[$_\\p{ID_Start}][$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$","u"),s2=new RegExp("^[$_\\p{ID_Start}][-$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$","u"),i2={};function ao(u,t){return(i2.jsx?s2:r2).test(u)}const o2=/[ \t\n\f\r]/g;function l2(u){return typeof u=="object"?u.type==="text"?ro(u.value):!1:ro(u)}function ro(u){return u.replace(o2,"")===""}class It{constructor(t,n,a){this.normal=n,this.property=t,a&&(this.space=a)}}It.prototype.normal={},It.prototype.property={},It.prototype.space=void 0;function b4(u,t){const n={},a={};for(const i of u)Object.assign(n,i.property),Object.assign(a,i.normal);return new It(n,a,t)}function pr(u){return u.toLowerCase()}class Vu{constructor(t,n){this.attribute=n,this.property=t}}Vu.prototype.attribute="",Vu.prototype.booleanish=!1,Vu.prototype.boolean=!1,Vu.prototype.commaOrSpaceSeparated=!1,Vu.prototype.commaSeparated=!1,Vu.prototype.defined=!1,Vu.prototype.mustUseProperty=!1,Vu.prototype.number=!1,Vu.prototype.overloadedBoolean=!1,Vu.prototype.property="",Vu.prototype.spaceSeparated=!1,Vu.prototype.space=void 0;let d2=0;const nu=I0(),Bu=I0(),yr=I0(),T=I0(),hu=I0(),_t=I0(),ee=I0();function I0(){return 2**++d2}const Er=Object.freeze(Object.defineProperty({__proto__:null,boolean:nu,booleanish:Bu,commaOrSpaceSeparated:ee,commaSeparated:_t,number:T,overloadedBoolean:yr,spaceSeparated:hu},Symbol.toStringTag,{value:"Module"})),Ja=Object.keys(Er);class Jr extends Vu{constructor(t,n,a,i){let s=-1;if(super(t,n),so(this,"space",i),typeof a=="number")for(;++s4&&n.slice(0,4)==="data"&&f2.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(io,y2);a="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!io.test(s)){let o=s.replace(h2,p2);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Jr}return new i(a,t)}function p2(u){return"-"+u.toLowerCase()}function y2(u){return u.charAt(1).toUpperCase()}const E2=b4([w4,c2,H4,j4,O4],"html"),$r=b4([w4,_2,H4,j4,O4],"svg");var rt={},$a,oo;function g2(){if(oo)return $a;oo=1;var u=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,_="\n",m="/",D="*",f="",y="comment",p="declaration";$a=function(B,M){if(typeof B!="string")throw new TypeError("First argument must be a string");if(!B)return[];M=M||{};var C=1,v=1;function b(N){var U=N.match(t);U&&(C+=U.length);var X=N.lastIndexOf(_);v=~X?N.length-X:v+N.length}function P(){var N={line:C,column:v};return function(U){return U.position=new q(N),O(),U}}function q(N){this.start=N,this.end={line:C,column:v},this.source=M.source}q.prototype.content=B;function Y(N){var U=new Error(M.source+":"+C+":"+v+": "+N);if(U.reason=N,U.filename=M.source,U.line=C,U.column=v,U.source=B,!M.silent)throw U}function V(N){var U=N.exec(B);if(U){var X=U[0];return b(X),B=B.slice(X.length),U}}function O(){V(n)}function Q(N){var U;for(N=N||[];U=k();)U!==!1&&N.push(U);return N}function k(){var N=P();if(!(m!=B.charAt(0)||D!=B.charAt(1))){for(var U=2;f!=B.charAt(U)&&(D!=B.charAt(U)||m!=B.charAt(U+1));)++U;if(U+=2,f===B.charAt(U-1))return Y("End of comment missing");var X=B.slice(2,U-2);return v+=2,b(X),B=B.slice(U),v+=2,N({type:y,comment:X})}}function J(){var N=P(),U=V(a);if(U){if(k(),!V(i))return Y("property missing ':'");var X=V(s),Eu=N({type:p,property:E(U[0].replace(u,f)),value:X?E(X[0].replace(u,f)):f});return V(o),Eu}}function $(){var N=[];Q(N);for(var U;U=J();)U!==!1&&(N.push(U),Q(N));return N}return O(),$()};function E(B){return B?B.replace(c,f):f}return $a}var lo;function M2(){if(lo)return rt;lo=1;var u=rt&&rt.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(rt,"__esModule",{value:!0}),rt.default=n;var t=u(g2());function n(a,i){var s=null;if(!a||typeof a!="string")return s;var o=(0,t.default)(a),c=typeof i=="function";return o.forEach(function(_){if(_.type==="declaration"){var m=_.property,D=_.value;c?i(m,D,_):D&&(s=s||{},s[m]=D)}}),s}return rt}var St={},co;function A2(){if(co)return St;co=1,Object.defineProperty(St,"__esModule",{value:!0}),St.camelCase=void 0;var u=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(m){return!m||n.test(m)||u.test(m)},o=function(m,D){return D.toUpperCase()},c=function(m,D){return"".concat(D,"-")},_=function(m,D){return D===void 0&&(D={}),s(m)?m:(m=m.toLowerCase(),D.reactCompat?m=m.replace(i,c):m=m.replace(a,c),m.replace(t,o))};return St.camelCase=_,St}var Ht,_o;function C2(){if(_o)return Ht;_o=1;var u=Ht&&Ht.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=u(M2()),n=A2();function a(i,s){var o={};return!i||typeof i!="string"||(0,t.default)(i,function(c,_){c&&_&&(o[(0,n.camelCase)(c,s)]=_)}),o}return a.default=a,Ht=a,Ht}var L2=C2();const B2=Hr(L2),P4=I4("end"),qr=I4("start");function I4(u){return t;function t(n){const a=n&&n.position&&n.position[u]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function k2(u){const t=qr(u),n=P4(u);if(t&&n)return{start:t,end:n}}function Wt(u){return!u||typeof u!="object"?"":"position"in u||"type"in u?mo(u.position):"start"in u||"end"in u?mo(u):"line"in u||"column"in u?gr(u):""}function gr(u){return ho(u&&u.line)+":"+ho(u&&u.column)}function mo(u){return gr(u&&u.start)+"-"+gr(u&&u.end)}function ho(u){return u&&typeof u=="number"?u:1}class Hu extends Error{constructor(t,n,a){super(),typeof n=="string"&&(a=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s=j({},n)),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof a=="string"){const _=a.indexOf(":");_===-1?s.ruleId=a:(s.source=a.slice(0,_),s.ruleId=a.slice(_+1))}if(!s.place&&s.ancestors&&s.ancestors){const _=s.ancestors[s.ancestors.length-1];_&&(s.place=_.position)}const c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=c?c.line:void 0,this.name=Wt(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Hu.prototype.file="",Hu.prototype.name="",Hu.prototype.reason="",Hu.prototype.message="",Hu.prototype.stack="",Hu.prototype.column=void 0,Hu.prototype.line=void 0,Hu.prototype.ancestors=void 0,Hu.prototype.cause=void 0,Hu.prototype.fatal=void 0,Hu.prototype.place=void 0,Hu.prototype.ruleId=void 0,Hu.prototype.source=void 0;const Gr={}.hasOwnProperty,F2=new Map,Y2=/[A-Z]/g,v2=new Set(["table","tbody","thead","tfoot","tr"]),x2=new Set(["td","th"]),W4="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function b2(u,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let a;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=I2(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=P2(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?$r:E2,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=z4(i,u,void 0);return s&&typeof s!="string"?s:i.create(u,i.Fragment,{children:s||void 0},void 0)}function z4(u,t,n){if(t.type==="element")return w2(u,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return T2(u,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return H2(u,t,n);if(t.type==="mdxjsEsm")return S2(u,t);if(t.type==="root")return j2(u,t,n);if(t.type==="text")return O2(u,t)}function w2(u,t,n){const a=u.schema;let i=a;t.tagName.toLowerCase()==="svg"&&a.space==="html"&&(i=$r,u.schema=i),u.ancestors.push(t);const s=R4(u,t.tagName,!1),o=W2(u,t);let c=Kr(u,t);return v2.has(t.tagName)&&(c=c.filter(function(_){return typeof _=="string"?!l2(_):!0})),N4(u,o,s,t),Zr(o,c),u.ancestors.pop(),u.schema=a,u.create(t,s,o,n)}function T2(u,t){if(t.data&&t.data.estree&&u.evaluater){const n=t.data.estree.body[0];return n.type,u.evaluater.evaluateExpression(n.expression)}Ut(u,t.position)}function S2(u,t){if(t.data&&t.data.estree&&u.evaluater)return u.evaluater.evaluateProgram(t.data.estree);Ut(u,t.position)}function H2(u,t,n){const a=u.schema;let i=a;t.name==="svg"&&a.space==="html"&&(i=$r,u.schema=i),u.ancestors.push(t);const s=t.name===null?u.Fragment:R4(u,t.name,!0),o=z2(u,t),c=Kr(u,t);return N4(u,o,s,t),Zr(o,c),u.ancestors.pop(),u.schema=a,u.create(t,s,o,n)}function j2(u,t,n){const a={};return Zr(a,Kr(u,t)),u.create(t,u.Fragment,a,n)}function O2(u,t){return t.value}function N4(u,t,n,a){typeof n!="string"&&n!==u.Fragment&&u.passNode&&(t.node=a)}function Zr(u,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(u.children=n)}}function P2(u,t,n){return a;function a(i,s,o,c){const _=Array.isArray(o.children)?n:t;return c?_(s,o,c):_(s,o)}}function I2(u,t){return n;function n(a,i,s,o){const c=Array.isArray(s.children),_=qr(a);return t(i,s,o,c,{columnNumber:_?_.column-1:void 0,fileName:u,lineNumber:_?_.line:void 0},void 0)}}function W2(u,t){const n={};let a,i;for(i in t.properties)if(i!=="children"&&Gr.call(t.properties,i)){const s=N2(u,i,t.properties[i]);if(s){const[o,c]=s;u.tableCellAlignToStyle&&o==="align"&&typeof c=="string"&&x2.has(t.tagName)?a=c:n[o]=c}}if(a){const s=n.style||(n.style={});s[u.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return n}function z2(u,t){const n={};for(const a of t.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&u.evaluater){const i=a.data.estree.body[0];i.type;const s=i.expression;s.type;const o=s.properties[0];o.type,Object.assign(n,u.evaluater.evaluateExpression(o.argument))}else Ut(u,t.position);else{const i=a.name;let s;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&u.evaluater){const o=a.value.data.estree.body[0];o.type,s=u.evaluater.evaluateExpression(o.expression)}else Ut(u,t.position);else s=a.value===null?!0:a.value;n[i]=s}return n}function Kr(u,t){const n=[];let a=-1;const i=u.passKeys?new Map:F2;for(;++a0?{type:"text",value:P}:void 0),P===!1?f.lastIndex=v+1:(p!==v&&M.push({type:"text",value:_.value.slice(p,v)}),Array.isArray(P)?M.push(...P):P&&M.push(P),p=v+C[0].length,B=!0),!f.global)break;C=f.exec(_.value)}return B?(p<_.value.length&&M.push({type:"text",value:_.value.slice(p)}),D.children.splice(E,1,...M)):M=[_],E+M.length}}function Z2(u){const t=[];if(!Array.isArray(u))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!u[0]||Array.isArray(u[0])?u:[u];let a=-1;for(;++ai?0:i+t:t=t>i?i:t,n=n>0?n:0,a.length<1e4)o=Array.from(a),o.unshift(t,n),u.splice(...o);else for(n&&u.splice(t,n);s0?(ze(u,u.length,0,t),u):t}const po={}.hasOwnProperty;function rf(u){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function mt(u){return u.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ie=g0(/[A-Za-z]/),ae=g0(/[\dA-Za-z]/),lf=g0(/[#-'*+\--9=?A-Z^-~]/);function Mr(u){return u!==null&&(u<32||u===127)}const Ar=g0(/\d/),df=g0(/[\dA-Fa-f]/),cf=g0(/[!-/:-@[-`{-~]/);function uu(u){return u!==null&&u<-2}function qu(u){return u!==null&&(u<0||u===32)}function du(u){return u===-2||u===-1||u===32}const _f=g0(new RegExp("\\p{P}|\\p{S}","u")),mf=g0(/\s/);function g0(u){return t;function t(n){return n!==null&&n>-1&&u.test(String.fromCharCode(n))}}function pt(u){const t=[];let n=-1,a=0,i=0;for(;++n55295&&s<57344){const c=u.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(o=String.fromCharCode(s,c),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(u.slice(a,n),encodeURIComponent(o)),a=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+u.slice(a)}function fu(u,t,n,a){const i=a?a-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(_){return du(_)?(u.enter(n),c(_)):t(_)}function c(_){return du(_)&&s++o))return;const V=t.events.length;let O=V,Q,k;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if(Q){k=t.events[O][1].end;break}Q=!0}for(C(a),Y=V;Yb;){const q=n[P];t.containerState=q[1],q[0].exit.call(t,u)}n.length=b}function v(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function yf(u,t,n){return fu(u,u.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Eo(u){if(u===null||qu(u)||mf(u))return 1;if(_f(u))return 2}function Xr(u,t,n){const a=[];let i=-1;for(;++i1&&u[n][1].end.offset-u[n][1].start.offset>1?2:1;const f=j({},u[a][1].end),y=j({},u[n][1].start);go(f,-_),go(y,_),o={type:_>1?"strongSequence":"emphasisSequence",start:f,end:j({},u[a][1].end)},c={type:_>1?"strongSequence":"emphasisSequence",start:j({},u[n][1].start),end:y},s={type:_>1?"strongText":"emphasisText",start:j({},u[a][1].end),end:j({},u[n][1].start)},i={type:_>1?"strong":"emphasis",start:j({},o.start),end:j({},c.end)},u[a][1].end=j({},o.start),u[n][1].start=j({},c.end),m=[],u[a][1].end.offset-u[a][1].start.offset&&(m=ge(m,[["enter",u[a][1],t],["exit",u[a][1],t]])),m=ge(m,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),m=ge(m,Xr(t.parser.constructs.insideSpan.null,u.slice(a+1,n),t)),m=ge(m,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",i,t]]),u[n][1].end.offset-u[n][1].start.offset?(D=2,m=ge(m,[["enter",u[n][1],t],["exit",u[n][1],t]])):D=0,ze(u,a-1,n-a+3,m),n=a+m.length-D-2;break}}for(n=-1;++n0&&du(Y)?fu(u,v,"linePrefix",s+1)(Y):v(Y)}function v(Y){return Y===null||uu(Y)?u.check(Mo,B,P)(Y):(u.enter("codeFlowValue"),b(Y))}function b(Y){return Y===null||uu(Y)?(u.exit("codeFlowValue"),v(Y)):(u.consume(Y),b)}function P(Y){return u.exit("codeFenced"),t(Y)}function q(Y,V,O){let Q=0;return k;function k(X){return Y.enter("lineEnding"),Y.consume(X),Y.exit("lineEnding"),J}function J(X){return Y.enter("codeFencedFence"),du(X)?fu(Y,$,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):$(X)}function $(X){return X===c?(Y.enter("codeFencedFenceSequence"),N(X)):O(X)}function N(X){return X===c?(Q++,Y.consume(X),N):Q>=o?(Y.exit("codeFencedFenceSequence"),du(X)?fu(Y,U,"whitespace")(X):U(X)):O(X)}function U(X){return X===null||uu(X)?(Y.exit("codeFencedFence"),V(X)):O(X)}}}function xf(u,t,n){const a=this;return i;function i(o){return o===null?n(o):(u.enter("lineEnding"),u.consume(o),u.exit("lineEnding"),s)}function s(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}const qa={name:"codeIndented",tokenize:wf},bf={partial:!0,tokenize:Tf};function wf(u,t,n){const a=this;return i;function i(m){return u.enter("codeIndented"),fu(u,s,"linePrefix",5)(m)}function s(m){const D=a.events[a.events.length-1];return D&&D[1].type==="linePrefix"&&D[2].sliceSerialize(D[1],!0).length>=4?o(m):n(m)}function o(m){return m===null?_(m):uu(m)?u.attempt(bf,o,_)(m):(u.enter("codeFlowValue"),c(m))}function c(m){return m===null||uu(m)?(u.exit("codeFlowValue"),o(m)):(u.consume(m),c)}function _(m){return u.exit("codeIndented"),t(m)}}function Tf(u,t,n){const a=this;return i;function i(o){return a.parser.lazy[a.now().line]?n(o):uu(o)?(u.enter("lineEnding"),u.consume(o),u.exit("lineEnding"),i):fu(u,s,"linePrefix",5)(o)}function s(o){const c=a.events[a.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):uu(o)?i(o):n(o)}}const Sf={name:"codeText",previous:jf,resolve:Hf,tokenize:Of};function Hf(u){let t=u.length-4,n=3,a,i;if((u[n][1].type==="lineEnding"||u[n][1].type==="space")&&(u[t][1].type==="lineEnding"||u[t][1].type==="space")){for(a=n;++a=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(t,n,a){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return a&&jt(this.left,a),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),jt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),jt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(o):u.interrupt(a.parser.constructs.flow,n,t)(o)}}function Z4(u,t,n,a,i,s,o,c,_){const m=_||Number.POSITIVE_INFINITY;let D=0;return f;function f(C){return C===60?(u.enter(a),u.enter(i),u.enter(s),u.consume(C),u.exit(s),y):C===null||C===32||C===41||Mr(C)?n(C):(u.enter(a),u.enter(o),u.enter(c),u.enter("chunkString",{contentType:"string"}),B(C))}function y(C){return C===62?(u.enter(s),u.consume(C),u.exit(s),u.exit(i),u.exit(a),t):(u.enter(c),u.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===62?(u.exit("chunkString"),u.exit(c),y(C)):C===null||C===60||uu(C)?n(C):(u.consume(C),C===92?E:p)}function E(C){return C===60||C===62||C===92?(u.consume(C),p):p(C)}function B(C){return!D&&(C===null||C===41||qu(C))?(u.exit("chunkString"),u.exit(c),u.exit(o),u.exit(a),t(C)):D999||p===null||p===91||p===93&&!_||p===94&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(u.exit(s),u.enter(i),u.consume(p),u.exit(i),u.exit(a),t):uu(p)?(u.enter("lineEnding"),u.consume(p),u.exit("lineEnding"),D):(u.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||uu(p)||c++>999?(u.exit("chunkString"),D(p)):(u.consume(p),_||(_=!du(p)),p===92?y:f)}function y(p){return p===91||p===92||p===93?(u.consume(p),c++,f):f(p)}}function Q4(u,t,n,a,i,s){let o;return c;function c(y){return y===34||y===39||y===40?(u.enter(a),u.enter(i),u.consume(y),u.exit(i),o=y===40?41:y,_):n(y)}function _(y){return y===o?(u.enter(i),u.consume(y),u.exit(i),u.exit(a),t):(u.enter(s),m(y))}function m(y){return y===o?(u.exit(s),_(o)):y===null?n(y):uu(y)?(u.enter("lineEnding"),u.consume(y),u.exit("lineEnding"),fu(u,m,"linePrefix")):(u.enter("chunkString",{contentType:"string"}),D(y))}function D(y){return y===o||y===null||uu(y)?(u.exit("chunkString"),m(y)):(u.consume(y),y===92?f:D)}function f(y){return y===o||y===92?(u.consume(y),D):D(y)}}function zt(u,t){let n;return a;function a(i){return uu(i)?(u.enter("lineEnding"),u.consume(i),u.exit("lineEnding"),n=!0,a):du(i)?fu(u,a,n?"linePrefix":"lineSuffix")(i):t(i)}}const Vf={name:"definition",tokenize:$f},Jf={partial:!0,tokenize:qf};function $f(u,t,n){const a=this;let i;return s;function s(p){return u.enter("definition"),o(p)}function o(p){return K4.call(a,u,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function c(p){return i=mt(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),p===58?(u.enter("definitionMarker"),u.consume(p),u.exit("definitionMarker"),_):n(p)}function _(p){return qu(p)?zt(u,m)(p):m(p)}function m(p){return Z4(u,D,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function D(p){return u.attempt(Jf,f,f)(p)}function f(p){return du(p)?fu(u,y,"whitespace")(p):y(p)}function y(p){return p===null||uu(p)?(u.exit("definition"),a.parser.defined.push(i),t(p)):n(p)}}function qf(u,t,n){return a;function a(c){return qu(c)?zt(u,i)(c):n(c)}function i(c){return Q4(u,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return du(c)?fu(u,o,"whitespace")(c):o(c)}function o(c){return c===null||uu(c)?t(c):n(c)}}const Gf={name:"hardBreakEscape",tokenize:Zf};function Zf(u,t,n){return a;function a(s){return u.enter("hardBreakEscape"),u.consume(s),i}function i(s){return uu(s)?(u.exit("hardBreakEscape"),t(s)):n(s)}}const Kf={name:"headingAtx",resolve:Qf,tokenize:Xf};function Qf(u,t){let n=u.length-2,a=3,i,s;return u[a][1].type==="whitespace"&&(a+=2),n-2>a&&u[n][1].type==="whitespace"&&(n-=2),u[n][1].type==="atxHeadingSequence"&&(a===n-1||n-4>a&&u[n-2][1].type==="whitespace")&&(n-=a+1===n?2:4),n>a&&(i={type:"atxHeadingText",start:u[a][1].start,end:u[n][1].end},s={type:"chunkText",start:u[a][1].start,end:u[n][1].end,contentType:"text"},ze(u,a,n-a+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),u}function Xf(u,t,n){let a=0;return i;function i(D){return u.enter("atxHeading"),s(D)}function s(D){return u.enter("atxHeadingSequence"),o(D)}function o(D){return D===35&&a++<6?(u.consume(D),o):D===null||qu(D)?(u.exit("atxHeadingSequence"),c(D)):n(D)}function c(D){return D===35?(u.enter("atxHeadingSequence"),_(D)):D===null||uu(D)?(u.exit("atxHeading"),t(D)):du(D)?fu(u,c,"whitespace")(D):(u.enter("atxHeadingText"),m(D))}function _(D){return D===35?(u.consume(D),_):(u.exit("atxHeadingSequence"),c(D))}function m(D){return D===null||D===35||qu(D)?(u.exit("atxHeadingText"),c(D)):(u.consume(D),m)}}const uD=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Co=["pre","script","style","textarea"],eD={concrete:!0,name:"htmlFlow",resolveTo:aD,tokenize:rD},tD={partial:!0,tokenize:iD},nD={partial:!0,tokenize:sD};function aD(u){let t=u.length;for(;t--&&!(u[t][0]==="enter"&&u[t][1].type==="htmlFlow"););return t>1&&u[t-2][1].type==="linePrefix"&&(u[t][1].start=u[t-2][1].start,u[t+1][1].start=u[t-2][1].start,u.splice(t-2,2)),u}function rD(u,t,n){const a=this;let i,s,o,c,_;return m;function m(L){return D(L)}function D(L){return u.enter("htmlFlow"),u.enter("htmlFlowData"),u.consume(L),f}function f(L){return L===33?(u.consume(L),y):L===47?(u.consume(L),s=!0,B):L===63?(u.consume(L),i=3,a.interrupt?t:A):Ie(L)?(u.consume(L),o=String.fromCharCode(L),M):n(L)}function y(L){return L===45?(u.consume(L),i=2,p):L===91?(u.consume(L),i=5,c=0,E):Ie(L)?(u.consume(L),i=4,a.interrupt?t:A):n(L)}function p(L){return L===45?(u.consume(L),a.interrupt?t:A):n(L)}function E(L){const xu="CDATA[";return L===xu.charCodeAt(c++)?(u.consume(L),c===xu.length?a.interrupt?t:$:E):n(L)}function B(L){return Ie(L)?(u.consume(L),o=String.fromCharCode(L),M):n(L)}function M(L){if(L===null||L===47||L===62||qu(L)){const xu=L===47,R=o.toLowerCase();return!xu&&!s&&Co.includes(R)?(i=1,a.interrupt?t(L):$(L)):uD.includes(o.toLowerCase())?(i=6,xu?(u.consume(L),C):a.interrupt?t(L):$(L)):(i=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(L):s?v(L):b(L))}return L===45||ae(L)?(u.consume(L),o+=String.fromCharCode(L),M):n(L)}function C(L){return L===62?(u.consume(L),a.interrupt?t:$):n(L)}function v(L){return du(L)?(u.consume(L),v):k(L)}function b(L){return L===47?(u.consume(L),k):L===58||L===95||Ie(L)?(u.consume(L),P):du(L)?(u.consume(L),b):k(L)}function P(L){return L===45||L===46||L===58||L===95||ae(L)?(u.consume(L),P):q(L)}function q(L){return L===61?(u.consume(L),Y):du(L)?(u.consume(L),q):b(L)}function Y(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(u.consume(L),_=L,V):du(L)?(u.consume(L),Y):O(L)}function V(L){return L===_?(u.consume(L),_=null,Q):L===null||uu(L)?n(L):(u.consume(L),V)}function O(L){return L===null||L===34||L===39||L===47||L===60||L===61||L===62||L===96||qu(L)?q(L):(u.consume(L),O)}function Q(L){return L===47||L===62||du(L)?b(L):n(L)}function k(L){return L===62?(u.consume(L),J):n(L)}function J(L){return L===null||uu(L)?$(L):du(L)?(u.consume(L),J):n(L)}function $(L){return L===45&&i===2?(u.consume(L),Eu):L===60&&i===1?(u.consume(L),Mu):L===62&&i===4?(u.consume(L),ju):L===63&&i===3?(u.consume(L),A):L===93&&i===5?(u.consume(L),Ce):uu(L)&&(i===6||i===7)?(u.exit("htmlFlowData"),u.check(tD,Wu,N)(L)):L===null||uu(L)?(u.exit("htmlFlowData"),N(L)):(u.consume(L),$)}function N(L){return u.check(nD,U,Wu)(L)}function U(L){return u.enter("lineEnding"),u.consume(L),u.exit("lineEnding"),X}function X(L){return L===null||uu(L)?N(L):(u.enter("htmlFlowData"),$(L))}function Eu(L){return L===45?(u.consume(L),A):$(L)}function Mu(L){return L===47?(u.consume(L),o="",Zu):$(L)}function Zu(L){if(L===62){const xu=o.toLowerCase();return Co.includes(xu)?(u.consume(L),ju):$(L)}return Ie(L)&&o.length<8?(u.consume(L),o+=String.fromCharCode(L),Zu):$(L)}function Ce(L){return L===93?(u.consume(L),A):$(L)}function A(L){return L===62?(u.consume(L),ju):L===45&&i===2?(u.consume(L),A):$(L)}function ju(L){return L===null||uu(L)?(u.exit("htmlFlowData"),Wu(L)):(u.consume(L),ju)}function Wu(L){return u.exit("htmlFlow"),t(L)}}function sD(u,t,n){const a=this;return i;function i(o){return uu(o)?(u.enter("lineEnding"),u.consume(o),u.exit("lineEnding"),s):n(o)}function s(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function iD(u,t,n){return a;function a(i){return u.enter("lineEnding"),u.consume(i),u.exit("lineEnding"),u.attempt(Wn,t,n)}}const oD={name:"htmlText",tokenize:lD};function lD(u,t,n){const a=this;let i,s,o;return c;function c(A){return u.enter("htmlText"),u.enter("htmlTextData"),u.consume(A),_}function _(A){return A===33?(u.consume(A),m):A===47?(u.consume(A),q):A===63?(u.consume(A),b):Ie(A)?(u.consume(A),O):n(A)}function m(A){return A===45?(u.consume(A),D):A===91?(u.consume(A),s=0,E):Ie(A)?(u.consume(A),v):n(A)}function D(A){return A===45?(u.consume(A),p):n(A)}function f(A){return A===null?n(A):A===45?(u.consume(A),y):uu(A)?(o=f,Mu(A)):(u.consume(A),f)}function y(A){return A===45?(u.consume(A),p):f(A)}function p(A){return A===62?Eu(A):A===45?y(A):f(A)}function E(A){const ju="CDATA[";return A===ju.charCodeAt(s++)?(u.consume(A),s===ju.length?B:E):n(A)}function B(A){return A===null?n(A):A===93?(u.consume(A),M):uu(A)?(o=B,Mu(A)):(u.consume(A),B)}function M(A){return A===93?(u.consume(A),C):B(A)}function C(A){return A===62?Eu(A):A===93?(u.consume(A),C):B(A)}function v(A){return A===null||A===62?Eu(A):uu(A)?(o=v,Mu(A)):(u.consume(A),v)}function b(A){return A===null?n(A):A===63?(u.consume(A),P):uu(A)?(o=b,Mu(A)):(u.consume(A),b)}function P(A){return A===62?Eu(A):b(A)}function q(A){return Ie(A)?(u.consume(A),Y):n(A)}function Y(A){return A===45||ae(A)?(u.consume(A),Y):V(A)}function V(A){return uu(A)?(o=V,Mu(A)):du(A)?(u.consume(A),V):Eu(A)}function O(A){return A===45||ae(A)?(u.consume(A),O):A===47||A===62||qu(A)?Q(A):n(A)}function Q(A){return A===47?(u.consume(A),Eu):A===58||A===95||Ie(A)?(u.consume(A),k):uu(A)?(o=Q,Mu(A)):du(A)?(u.consume(A),Q):Eu(A)}function k(A){return A===45||A===46||A===58||A===95||ae(A)?(u.consume(A),k):J(A)}function J(A){return A===61?(u.consume(A),$):uu(A)?(o=J,Mu(A)):du(A)?(u.consume(A),J):Q(A)}function $(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(u.consume(A),i=A,N):uu(A)?(o=$,Mu(A)):du(A)?(u.consume(A),$):(u.consume(A),U)}function N(A){return A===i?(u.consume(A),i=void 0,X):A===null?n(A):uu(A)?(o=N,Mu(A)):(u.consume(A),N)}function U(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||qu(A)?Q(A):(u.consume(A),U)}function X(A){return A===47||A===62||qu(A)?Q(A):n(A)}function Eu(A){return A===62?(u.consume(A),u.exit("htmlTextData"),u.exit("htmlText"),t):n(A)}function Mu(A){return u.exit("htmlTextData"),u.enter("lineEnding"),u.consume(A),u.exit("lineEnding"),Zu}function Zu(A){return du(A)?fu(u,Ce,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):Ce(A)}function Ce(A){return u.enter("htmlTextData"),o(A)}}const us={name:"labelEnd",resolveAll:mD,resolveTo:hD,tokenize:fD},dD={tokenize:DD},cD={tokenize:pD},_D={tokenize:yD};function mD(u){let t=-1;const n=[];for(;++t=3&&(m===null||uu(m))?(u.exit("thematicBreak"),t(m)):n(m)}function _(m){return m===i?(u.consume(m),a++,_):(u.exit("thematicBreakSequence"),du(m)?fu(u,c,"whitespace")(m):c(m))}}const Uu={continuation:{tokenize:YD},exit:xD,name:"list",tokenize:FD},BD={partial:!0,tokenize:bD},kD={partial:!0,tokenize:vD};function FD(u,t,n){const a=this,i=a.events[a.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return c;function c(p){const E=a.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!a.containerState.marker||p===a.containerState.marker:Ar(p)){if(a.containerState.type||(a.containerState.type=E,u.enter(E,{_container:!0})),E==="listUnordered")return u.enter("listItemPrefix"),p===42||p===45?u.check(Bn,n,m)(p):m(p);if(!a.interrupt||p===49)return u.enter("listItemPrefix"),u.enter("listItemValue"),_(p)}return n(p)}function _(p){return Ar(p)&&++o<10?(u.consume(p),_):(!a.interrupt||o<2)&&(a.containerState.marker?p===a.containerState.marker:p===41||p===46)?(u.exit("listItemValue"),m(p)):n(p)}function m(p){return u.enter("listItemMarker"),u.consume(p),u.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||p,u.check(Wn,a.interrupt?n:D,u.attempt(BD,y,f))}function D(p){return a.containerState.initialBlankLine=!0,s++,y(p)}function f(p){return du(p)?(u.enter("listItemPrefixWhitespace"),u.consume(p),u.exit("listItemPrefixWhitespace"),y):n(p)}function y(p){return a.containerState.size=s+a.sliceSerialize(u.exit("listItemPrefix"),!0).length,t(p)}}function YD(u,t,n){const a=this;return a.containerState._closeFlow=void 0,u.check(Wn,i,s);function i(c){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,fu(u,t,"listItemIndent",a.containerState.size+1)(c)}function s(c){return a.containerState.furtherBlankLines||!du(c)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,o(c)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u.attempt(kD,t,o)(c))}function o(c){return a.containerState._closeFlow=!0,a.interrupt=void 0,fu(u,u.attempt(Uu,t,n),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function vD(u,t,n){const a=this;return fu(u,i,"listItemIndent",a.containerState.size+1);function i(s){const o=a.events[a.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===a.containerState.size?t(s):n(s)}}function xD(u){u.exit(this.containerState.type)}function bD(u,t,n){const a=this;return fu(u,i,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=a.events[a.events.length-1];return!du(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Lo={name:"setextUnderline",resolveTo:wD,tokenize:TD};function wD(u,t){let n=u.length,a,i,s;for(;n--;)if(u[n][0]==="enter"){if(u[n][1].type==="content"){a=n;break}u[n][1].type==="paragraph"&&(i=n)}else u[n][1].type==="content"&&u.splice(n,1),!s&&u[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:j({},u[a][1].start),end:j({},u[u.length-1][1].end)};return u[i][1].type="setextHeadingText",s?(u.splice(i,0,["enter",o,t]),u.splice(s+1,0,["exit",u[a][1],t]),u[a][1].end=j({},u[s][1].end)):u[a][1]=o,u.push(["exit",o,t]),u}function TD(u,t,n){const a=this;let i;return s;function s(m){let D=a.events.length,f;for(;D--;)if(a.events[D][1].type!=="lineEnding"&&a.events[D][1].type!=="linePrefix"&&a.events[D][1].type!=="content"){f=a.events[D][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||f)?(u.enter("setextHeadingLine"),i=m,o(m)):n(m)}function o(m){return u.enter("setextHeadingLineSequence"),c(m)}function c(m){return m===i?(u.consume(m),c):(u.exit("setextHeadingLineSequence"),du(m)?fu(u,_,"lineSuffix")(m):_(m))}function _(m){return m===null||uu(m)?(u.exit("setextHeadingLine"),t(m)):n(m)}}const SD={tokenize:HD};function HD(u){const t=this,n=u.attempt(Wn,a,u.attempt(this.parser.constructs.flowInitial,i,fu(u,u.attempt(this.parser.constructs.flow,i,u.attempt(Wf,i)),"linePrefix")));return n;function a(s){if(s===null){u.consume(s);return}return u.enter("lineEndingBlank"),u.consume(s),u.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){u.consume(s);return}return u.enter("lineEnding"),u.consume(s),u.exit("lineEnding"),t.currentConstruct=void 0,n}}const jD={resolveAll:ul()},OD=X4("string"),PD=X4("text");function X4(u){return{resolveAll:ul(u==="text"?ID:void 0),tokenize:t};function t(n){const a=this,i=this.parser.constructs[u],s=n.attempt(i,o,c);return o;function o(D){return m(D)?s(D):c(D)}function c(D){if(D===null){n.consume(D);return}return n.enter("data"),n.consume(D),_}function _(D){return m(D)?(n.exit("data"),s(D)):(n.consume(D),_)}function m(D){if(D===null)return!0;const f=i[D];let y=-1;if(f)for(;++y-1){const c=o[0];typeof c=="string"?o[0]=c.slice(a):o.shift()}s>0&&o.push(u[i].slice(0,s))}return o}function QD(u,t){let n=-1;const a=[];let i;for(;++n0){const Qu=K.tokenStack[K.tokenStack.length-1];(Qu[1]||ko).call(K,void 0,Qu[0])}for(H.position={start:p0(x.length>0?x[0][1].start:{line:1,column:1,offset:0}),end:p0(x.length>0?x[x.length-2][1].end:{line:1,column:1,offset:0})},Z=-1;++Z0&&(a.className=["language-"+i[0]]);let s={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),u.patch(t,s),s=u.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},u.patch(t,s),s}function _p(u,t){const n={type:"element",tagName:"del",properties:{},children:u.all(t)};return u.patch(t,n),u.applyData(t,n)}function mp(u,t){const n={type:"element",tagName:"em",properties:{},children:u.all(t)};return u.patch(t,n),u.applyData(t,n)}function hp(u,t){const n=typeof u.options.clobberPrefix=="string"?u.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),i=pt(a.toLowerCase()),s=u.footnoteOrder.indexOf(a);let o,c=u.footnoteCounts.get(a);c===void 0?(c=0,u.footnoteOrder.push(a),o=u.footnoteOrder.length):o=s+1,c+=1,u.footnoteCounts.set(a,c);const _={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};u.patch(t,_);const m={type:"element",tagName:"sup",properties:{},children:[_]};return u.patch(t,m),u.applyData(t,m)}function fp(u,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:u.all(t)};return u.patch(t,n),u.applyData(t,n)}function Dp(u,t){if(u.options.allowDangerousHtml){const n={type:"raw",value:t.value};return u.patch(t,n),u.applyData(t,n)}}function nl(u,t){const n=t.referenceType;let a="]";if(n==="collapsed"?a+="[]":n==="full"&&(a+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+a}];const i=u.all(t),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=a:i.push({type:"text",value:a}),i}function pp(u,t){const n=String(t.identifier).toUpperCase(),a=u.definitionById.get(n);if(!a)return nl(u,t);const i={src:pt(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"img",properties:i,children:[]};return u.patch(t,s),u.applyData(t,s)}function yp(u,t){const n={src:pt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"img",properties:n,children:[]};return u.patch(t,a),u.applyData(t,a)}function Ep(u,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};u.patch(t,n);const a={type:"element",tagName:"code",properties:{},children:[n]};return u.patch(t,a),u.applyData(t,a)}function gp(u,t){const n=String(t.identifier).toUpperCase(),a=u.definitionById.get(n);if(!a)return nl(u,t);const i={href:pt(a.url||"")};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"a",properties:i,children:u.all(t)};return u.patch(t,s),u.applyData(t,s)}function Mp(u,t){const n={href:pt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"a",properties:n,children:u.all(t)};return u.patch(t,a),u.applyData(t,a)}function Ap(u,t,n){const a=u.all(t),i=n?Cp(n):al(t),s={},o=[];if(typeof t.checked=="boolean"){const D=a[0];let f;D&&D.type==="element"&&D.tagName==="p"?f=D:(f={type:"element",tagName:"p",properties:{},children:[]},a.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c1}function Lp(u,t){const n={},a=u.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const o={type:"element",tagName:"tbody",properties:{},children:u.wrap(n,!0)},c=qr(t.children[1]),_=P4(t.children[t.children.length-1]);c&&_&&(o.position={start:c,end:_}),i.push(o)}const s={type:"element",tagName:"table",properties:{},children:u.wrap(i,!0)};return u.patch(t,s),u.applyData(t,s)}function vp(u,t,n){const a=n?n.children:void 0,i=(a?a.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,o=s?s.length:t.children.length;let c=-1;const _=[];for(;++c0,!0),a[0]),i=a.index+a[0].length,a=n.exec(t);return s.push(vo(t.slice(i),i>0,!1)),s.join("")}function vo(u,t,n){let a=0,i=u.length;if(t){let s=u.codePointAt(a);for(;s===Fo||s===Yo;)a++,s=u.codePointAt(a)}if(n){let s=u.codePointAt(i-1);for(;s===Fo||s===Yo;)i--,s=u.codePointAt(i-1)}return i>a?u.slice(a,i):""}function wp(u,t){const n={type:"text",value:bp(String(t.value))};return u.patch(t,n),u.applyData(t,n)}function Tp(u,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return u.patch(t,n),u.applyData(t,n)}const Sp={blockquote:lp,break:dp,code:cp,delete:_p,emphasis:mp,footnoteReference:hp,heading:fp,html:Dp,imageReference:pp,image:yp,inlineCode:Ep,linkReference:gp,link:Mp,listItem:Ap,list:Lp,paragraph:Bp,root:kp,strong:Fp,table:Yp,tableCell:xp,tableRow:vp,text:wp,thematicBreak:Tp,toml:gn,yaml:gn,definition:gn,footnoteDefinition:gn};function gn(){}function Hp(u,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function jp(u,t){return"Back to reference "+(u+1)+(t>1?"-"+t:"")}function Op(u){const t=typeof u.options.clobberPrefix=="string"?u.options.clobberPrefix:"user-content-",n=u.options.footnoteBackContent||Hp,a=u.options.footnoteBackLabel||jp,i=u.options.footnoteLabel||"Footnotes",s=u.options.footnoteLabelTagName||"h2",o=u.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let _=-1;for(;++_0&&E.push({type:"text",value:" "});let v=typeof n=="string"?n:n(_,p);typeof v=="string"&&(v={type:"text",value:v}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+y+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(_,p),className:["data-footnote-backref"]},children:Array.isArray(v)?v:[v]})}const M=D[D.length-1];if(M&&M.type==="element"&&M.tagName==="p"){const v=M.children[M.children.length-1];v&&v.type==="text"?v.value+=" ":M.children.push({type:"text",value:" "}),M.children.push(...E)}else D.push(...E);const C={type:"element",tagName:"li",properties:{id:t+"fn-"+y},children:u.wrap(D,!0)};u.patch(m,C),c.push(C)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:bu(j({},S0(o)),{id:"footnote-label"}),children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:u.wrap(c,!0)},{type:"text",value:"\n"}]}}const Lr={}.hasOwnProperty,Pp={};function Ip(u,t){const n=t||Pp,a=new Map,i=new Map,s=new Map,o=j(j({},Sp),n.handlers),c={all:m,applyData:zp,definitionById:a,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:_,options:n,patch:Wp,wrap:Rp};return o0(u,function(D){if(D.type==="definition"||D.type==="footnoteDefinition"){const f=D.type==="definition"?a:i,y=String(D.identifier).toUpperCase();f.has(y)||f.set(y,D)}}),c;function _(D,f){const y=D.type,p=c.handlers[y];if(Lr.call(c.handlers,y)&&p)return p(c,D,f);if(c.options.passThrough&&c.options.passThrough.includes(y)){if("children"in D){const E=D,{children:B}=E,M=pn(E,["children"]),C=S0(M);return C.children=c.all(D),C}return S0(D)}return(c.options.unknownHandler||Np)(c,D,f)}function m(D){const f=[];if("children"in D){const y=D.children;let p=-1;for(;++p0&&n.push({type:"text",value:"\n"}),n}function xo(u){let t=0,n=u.charCodeAt(t);for(;n===9||n===32;)t++,n=u.charCodeAt(t);return u.slice(t)}function bo(u,t){const n=Ip(u,t),a=n.one(u,void 0),i=Op(n),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return i&&s.children.push({type:"text",value:"\n"},i),s}function Up(u,t){return u&&"run"in u?async function(n,a){const i=bo(n,j({file:a},t));await u.run(i,a)}:function(n,a){return bo(n,j({file:a},u||t))}}function Vp(u){o0(u,function(t,n,a){if(n!==void 0&&a&&t.type==="paragraph"&&t.children.every(function(i){return i.type==="text"&&/^\s*$/.test(i.value)}))return a.children.splice(n,1),n})}function Jp(u={except:["http","https"]}){return function(t){const n=new Map;o0(t,"definition",function(a,i,s){if(n.set(a.identifier,a.url),s&&typeof i=="number"){const o=a.url;if(o&&o.includes(":")&&!u.except.some(c=>o.startsWith("".concat(c,":"))))return s.children.splice(i,1),i}}),o0(t,function(a,i,s){if(s&&typeof i=="number"&&(a.type==="link"||a.type==="linkReference")){const o=a.type==="link"?a.url:n.get(a.identifier);if(o&&o.includes(":")&&!u.except.some(c=>o.startsWith("".concat(c,":"))))return s.children.splice(i,1,...a.children),i}}),Vp(t)}}function wo(u){if(u)throw u}var Za,To;function $p(){if(To)return Za;To=1;var u=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(_){return typeof Array.isArray=="function"?Array.isArray(_):t.call(_)==="[object Array]"},s=function(_){if(!_||t.call(_)!=="[object Object]")return!1;var m=u.call(_,"constructor"),D=_.constructor&&_.constructor.prototype&&u.call(_.constructor.prototype,"isPrototypeOf");if(_.constructor&&!m&&!D)return!1;var f;for(f in _);return typeof f>"u"||u.call(_,f)},o=function(_,m){n&&m.name==="__proto__"?n(_,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):_[m.name]=m.newValue},c=function(_,m){if(m==="__proto__")if(u.call(_,m)){if(a)return a(_,m).value}else return;return _[m]};return Za=function _(){var m,D,f,y,p,E,B=arguments[0],M=1,C=arguments.length,v=!1;for(typeof B=="boolean"&&(v=B,B=arguments[1]||{},M=2),(B==null||typeof B!="object"&&typeof B!="function")&&(B={});Mo.length;let _;c&&o.push(i);try{_=u.apply(this,o)}catch(m){const D=m;if(c&&n)throw D;return i(D)}c||(_&&_.then&&typeof _.then=="function"?_.then(s,i):_ instanceof Error?i(_):s(_))}function i(o,...c){n||(n=!0,t(o,...c))}function s(o){i(null,o)}}const Oe={basename:Kp,dirname:Qp,extname:Xp,join:u9,sep:"/"};function Kp(u,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');$t(u);let n=0,a=-1,i=u.length,s;if(t===void 0||t.length===0||t.length>u.length){for(;i--;)if(u.codePointAt(i)===47){if(s){n=i+1;break}}else a<0&&(s=!0,a=i+1);return a<0?"":u.slice(n,a)}if(t===u)return"";let o=-1,c=t.length-1;for(;i--;)if(u.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),c>-1&&(u.codePointAt(i)===t.codePointAt(c--)?c<0&&(a=i):(c=-1,a=o));return n===a?a=o:a<0&&(a=u.length),u.slice(n,a)}function Qp(u){if($t(u),u.length===0)return".";let t=-1,n=u.length,a;for(;--n;)if(u.codePointAt(n)===47){if(a){t=n;break}}else a||(a=!0);return t<0?u.codePointAt(0)===47?"/":".":t===1&&u.codePointAt(0)===47?"//":u.slice(0,t)}function Xp(u){$t(u);let t=u.length,n=-1,a=0,i=-1,s=0,o;for(;t--;){const c=u.codePointAt(t);if(c===47){if(o){a=t+1;break}continue}n<0&&(o=!0,n=t+1),c===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===a+1?"":u.slice(i,n)}function u9(...u){let t=-1,n;for(;++t0&&u.codePointAt(u.length-1)===47&&(n+="/"),t?"/"+n:n}function t9(u,t){let n="",a=0,i=-1,s=0,o=-1,c,_;for(;++o<=u.length;){if(o2){if(_=n.lastIndexOf("/"),_!==n.length-1){_<0?(n="",a=0):(n=n.slice(0,_),a=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",a=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",a=2)}else n.length>0?n+="/"+u.slice(i+1,o):n=u.slice(i+1,o),a=o-i-1;i=o,s=0}else c===46&&s>-1?s++:s=-1}return n}function $t(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}const n9={cwd:a9};function a9(){return"/"}function kr(u){return!!(u!==null&&typeof u=="object"&&"href"in u&&u.href&&"protocol"in u&&u.protocol&&u.auth===void 0)}function r9(u){if(typeof u=="string")u=new URL(u);else if(!kr(u)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+u+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(u.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return s9(u)}function s9(u){if(u.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const t=u.pathname;let n=-1;for(;++n0){let[p,...E]=D;const B=a[y][1];Br(B)&&Br(p)&&(p=Ka(!0,B,p)),a[y]=[m,p,...E]}}}}const c9=new es().freeze();function er(u,t){if(typeof t!="function")throw new TypeError("Cannot `"+u+"` without `parser`")}function tr(u,t){if(typeof t!="function")throw new TypeError("Cannot `"+u+"` without `compiler`")}function nr(u,t){if(t)throw new Error("Cannot call `"+u+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ho(u){if(!Br(u)||typeof u.type!="string")throw new TypeError("Expected node, got `"+u+"`")}function jo(u,t,n){if(!n)throw new Error("`"+u+"` finished async. Use `"+t+"` instead")}function Mn(u){return _9(u)?u:new i9(u)}function _9(u){return!!(u&&typeof u=="object"&&"message"in u&&"messages"in u)}function m9(u){return typeof u=="string"||h9(u)}function h9(u){return!!(u&&typeof u=="object"&&"byteLength"in u&&"byteOffset"in u)}function f9(u,t,n){var s;const a="#initial-state-".concat(u,"-").concat(t);if((s=window._nc_initial_state)!=null&&s.has(a))return window._nc_initial_state.get(a);window._nc_initial_state||(window._nc_initial_state=new Map);const i=document.querySelector(a);if(i===null)return n;try{const o=JSON.parse(atob(i.value));return window._nc_initial_state.set(a,o),o}catch(o){return console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:u,error:o}),n}}function Oo(){var u,t,n;return(n=(t=f9("files_sharing","sharingToken",null))!=null?t:(u=document.querySelector('input#sharingToken[type="hidden"]'))==null?void 0:u.value)!=null?n:null}var n4,a4;(n4=window._vue_richtext_widgets)!=null||(window._vue_richtext_widgets={}),(a4=window._registerWidget)!=null||(window._registerWidget=(u,t,n,a)=>{D9(u,t,n,a)});function D9(u,t,n=()=>{},a){const i=j({hasInteractiveView:!0,fullWidth:!1},a);if(window._vue_richtext_widgets[u]){i0.error("[ReferencePicker]: Widget for id ".concat(u," already registered"));return}window._vue_richtext_widgets[u]=j({id:u,callback:t,onDestroy:n},i)}function p9(u,t){const{richObjectType:n,richObject:a,accessible:i,interactive:s}=t;if(n!=="open-graph"){if(!window._vue_richtext_widgets[n]){i0.error("Widget for rich object type "+n+" not registered");return}window._vue_richtext_widgets[n].callback(u,{richObjectType:n,richObject:a,accessible:i,interactive:s})}}function y9(u,t){u!=="open-graph"&&window._vue_richtext_widgets[u]&&window._vue_richtext_widgets[u].onDestroy(t)}function E9(u){return!!window._vue_richtext_widgets[u]}function g9(u){var t;return!!((t=window._vue_richtext_widgets[u])!=null&&t.hasInteractiveView)}function M9(u){var t;return!!((t=window._vue_richtext_widgets[u])!=null&&t.fullWidth)}var r4,s4;(r4=window._vue_richtext_custom_picker_elements)!=null||(window._vue_richtext_custom_picker_elements={}),(s4=window._registerCustomPickerElement)!=null||(window._registerCustomPickerElement=A9);function A9(u,t,n=()=>{},a="large"){if(window._vue_richtext_custom_picker_elements[u]){i0.error("Custom reference picker element for id ".concat(u," already registered"));return}window._vue_richtext_custom_picker_elements[u]={id:u,callback:t,onDestroy:n,size:a}}var C9=Object.defineProperty,L9=Object.defineProperties,B9=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,k9=Object.prototype.hasOwnProperty,F9=Object.prototype.propertyIsEnumerable,Io=(u,t,n)=>t in u?C9(u,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[t]=n,st=(u,t)=>{for(var n in t||(t={}))k9.call(t,n)&&Io(u,n,t[n]);if(Po)for(var n of Po(t))F9.call(t,n)&&Io(u,n,t[n]);return u},Wo=(u,t)=>L9(u,B9(t));const Y9={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(u){this.autoscroll&&u&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var u;const t=((u=this.$refs.dropdownMenu)==null?void 0:u.children[this.typeAheadPointer])||!1;if(t){const n=this.getDropdownViewport(),{top:a,bottom:i,height:s}=t.getBoundingClientRect();if(an.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(n.height-s)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},v9={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let u=0;u=0;u--)if(this.selectable(this.filteredOptions[u])){this.typeAheadPointer=u;break}},typeAheadDown(){for(let u=this.typeAheadPointer+1;u{const n=u.__vccOpts||u;for(const[a,i]of t)n[a]=i;return n},b9={},w9={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},T9=au("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),S9=[T9];function H9(u,t){return S(),I("svg",w9,S9)}const j9=ts(b9,[["render",H9]]),O9={},P9={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},I9=au("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),W9=[I9];function z9(u,t){return S(),I("svg",P9,W9)}const N9=ts(O9,[["render",z9]]),zo={Deselect:j9,OpenIndicator:N9},R9={mounted(u,{instance:t}){if(t.appendToBody){const{height:n,top:a,left:i,width:s}=t.$refs.toggle.getBoundingClientRect();let o=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;u.unbindPosition=t.calculatePosition(u,t,{width:s+"px",left:o+i+"px",top:c+a+n+"px"}),document.body.appendChild(u)}},unmounted(u,{instance:t}){t.appendToBody&&(u.unbindPosition&&typeof u.unbindPosition=="function"&&u.unbindPosition(),u.parentNode&&u.parentNode.removeChild(u))}};function U9(u){const t={};return Object.keys(u).sort().forEach(n=>{t[n]=u[n]}),JSON.stringify(t)}let V9=0;function J9(){return++V9}const $9={components:st({},zo),directives:{appendToBody:R9},mixins:[Y9,v9,x9],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:u=>u},selectable:{type:Function,default:u=>!0},getOptionLabel:{type:Function,default(u){return typeof u=="object"?u.hasOwnProperty(this.label)?u[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not exist in options object ').concat(JSON.stringify(u),".\nhttps://vue-select.org/api/props.html#getoptionlabel")):u}},getOptionKey:{type:Function,default(u){if(typeof u!="object")return u;try{return u.hasOwnProperty("id")?u.id:U9(u)}catch(t){return console.warn("[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.\nhttps://vue-select.org/api/props.html#getoptionkey",u,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(u,t,n){return(t||"").toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1}},filter:{type:Function,default(u,t){return u.filter(n=>{let a=this.getOptionLabel(n);return typeof a=="number"&&(a=a.toString()),this.filterBy(n,a,t)})}},createOption:{type:Function,default(u){return typeof this.optionList[0]=="object"?{[this.label]:u}:u}},resetOnOptionsChange:{default:!1,validator:u=>["function","boolean"].includes(typeof u)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:u,multiple:t}){return u&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(u,t)=>u},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(u,t,{width:n,top:a,left:i}){u.style.top=a,u.style.left=i,u.style.width=n}},dropdownShouldOpen:{type:Function,default({noDrop:u,open:t,mutableLoading:n}){return u?!1:t&&!n}},uid:{type:[String,Number],default:()=>J9()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let u=this.modelValue;return this.isTrackingValues&&(u=this.$data._value),u!=null&&u!==""?[].concat(u):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const u={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:st({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:u,listFooter:u,header:Wo(st({},u),{deselect:this.deselect}),footer:Wo(st({},u),{deselect:this.deselect})}},childComponents(){return st(st({},zo),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const u=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return u;const t=this.search.length?this.filter(u,this.search,this):u;if(this.taggable&&this.search.length){const n=this.createOption(this.search);this.optionExists(n)||t.unshift(n)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(u,t){const n=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(u,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&n()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(u){this.isTrackingValues&&this.setInternalValueFromOptions(u)}},multiple(){this.clearSelection()},open(u){this.$emit(u?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(u){Array.isArray(u)?this.$data._value=u.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(u)},select(u){this.$emit("option:selecting",u),this.isOptionSelected(u)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(u):(this.taggable&&!this.optionExists(u)&&(this.$emit("option:created",u),this.pushTag(u)),this.multiple&&(u=this.selectedValue.concat(u)),this.updateValue(u),this.$emit("option:selected",u)),this.onAfterSelect(u)},deselect(u){this.$emit("option:deselecting",u),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,u))),this.$emit("option:deselected",u)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(u){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(u){typeof this.modelValue>"u"&&(this.$data._value=u),u!==null&&(Array.isArray(u)?u=u.map(t=>this.reduce(t)):u=this.reduce(u)),this.$emit("update:modelValue",u)},toggleDropdown(u){const t=u.target!==this.searchEl;t&&u.preventDefault();const n=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||n.filter(Boolean).some(a=>a.contains(u.target)||a===u.target)){u.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(u){return this.selectedValue.some(t=>this.optionComparator(t,u))},isOptionDeselectable(u){return this.isOptionSelected(u)&&this.deselectFromDropdown},optionComparator(u,t){return this.getOptionKey(u)===this.getOptionKey(t)},findOptionFromReducedValue(u){const t=a=>JSON.stringify(this.reduce(a))===JSON.stringify(u),n=[...this.options,...this.pushedTags].filter(t);return n.length===1?n[0]:n.find(a=>this.optionComparator(a,this.$data._value))||u},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let u=null;this.multiple&&(u=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(u)}},optionExists(u){return this.optionList.some(t=>this.optionComparator(t,u))},normalizeOptionForSlot(u){return typeof u=="object"?u:{[this.label]:u}},pushTag(u){this.pushedTags.push(u)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:u,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:u,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(u){const t=i=>(i.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:i=>this.maybeDeleteValue(),9:i=>this.onTab(),27:i=>this.onEscape(),38:i=>(i.preventDefault(),this.typeAheadUp()),40:i=>(i.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(i=>n[i]=t);const a=this.mapKeydown(n,this);if(typeof a[u.keyCode]=="function")return a[u.keyCode](u)}}},q9=["dir"],G9=["id","aria-expanded","aria-owns"],Z9={ref:"selectedOptions",class:"vs__selected-options"},K9=["disabled","title","aria-label","onClick"],Q9={ref:"actions",class:"vs__actions"},X9=["disabled"],uy={class:"vs__spinner"},ey=["id"],ty=["id","aria-selected","onMouseover","onClick"],ny={key:0,class:"vs__no-options"},ay=H0(" Sorry, no matching options. "),ry=["id"];function sy(u,t,n,a,i,s){const o=h4("append-to-body");return S(),I("div",{dir:n.dir,class:Tu(["v-select",s.stateClasses])},[yu(u.$slots,"header",xe(je(s.scope.header))),au("div",{id:"vs".concat(n.uid,"__combobox"),ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":s.dropdownOpen.toString(),"aria-owns":"vs".concat(n.uid,"__listbox"),"aria-label":"Search for option",onMousedown:t[1]||(t[1]=c=>s.toggleDropdown(c))},[au("div",Z9,[(S(!0),I(ft,null,Nt(s.selectedValue,(c,_)=>yu(u.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(c),deselect:s.deselect,multiple:n.multiple,disabled:n.disabled},()=>[(S(),I("span",{key:n.getOptionKey(c),class:"vs__selected"},[yu(u.$slots,"selected-option",xe(je(s.normalizeOptionForSlot(c))),()=>[H0(tu(n.getOptionLabel(c)),1)]),n.multiple?(S(),I("button",{key:0,ref_for:!0,ref:m=>i.deselectButtons[_]=m,disabled:n.disabled,type:"button",class:"vs__deselect",title:"Deselect ".concat(n.getOptionLabel(c)),"aria-label":"Deselect ".concat(n.getOptionLabel(c)),onClick:m=>s.deselect(c)},[(S(),ku(s0(s.childComponents.Deselect)))],8,K9)):_u("",!0)]))])),256)),yu(u.$slots,"search",xe(je(s.scope.search)),()=>[au("input",j0({class:"vs__search"},s.scope.search.attributes,km(s.scope.search.events)),null,16)])],512),au("div",Q9,[Ln(au("button",{ref:"clearButton",disabled:n.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...c)=>s.clearSelection&&s.clearSelection(...c))},[(S(),ku(s0(s.childComponents.Deselect)))],8,X9),[[Ti,s.showClearButton]]),yu(u.$slots,"open-indicator",xe(je(s.scope.openIndicator)),()=>[n.noDrop?_u("",!0):(S(),ku(s0(s.childComponents.OpenIndicator),xe(j0({key:0},s.scope.openIndicator.attributes)),null,16))]),yu(u.$slots,"spinner",xe(je(s.scope.spinner)),()=>[Ln(au("div",uy,"Loading...",512),[[Ti,u.mutableLoading]])])],512)],40,G9),ne(Fm,{name:n.transition},{default:$u(()=>[s.dropdownOpen?Ln((S(),I("ul",{id:"vs".concat(n.uid,"__listbox"),ref:"dropdownMenu",key:"vs".concat(n.uid,"__listbox"),class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=Si((...c)=>s.onMousedown&&s.onMousedown(...c),["prevent"])),onMouseup:t[3]||(t[3]=(...c)=>s.onMouseUp&&s.onMouseUp(...c))},[yu(u.$slots,"list-header",xe(je(s.scope.listHeader))),(S(!0),I(ft,null,Nt(s.filteredOptions,(c,_)=>(S(),I("li",{id:"vs".concat(n.uid,"__option-").concat(_),key:n.getOptionKey(c),role:"option",class:Tu(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(c)&&_===u.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(c),"vs__dropdown-option--highlight":_===u.typeAheadPointer,"vs__dropdown-option--disabled":!n.selectable(c)}]),"aria-selected":_===u.typeAheadPointer?!0:null,onMouseover:m=>n.selectable(c)?u.typeAheadPointer=_:null,onClick:Si(m=>n.selectable(c)?s.select(c):null,["prevent","stop"])},[yu(u.$slots,"option",xe(je(s.normalizeOptionForSlot(c))),()=>[H0(tu(n.getOptionLabel(c)),1)])],42,ty))),128)),s.filteredOptions.length===0?(S(),I("li",ny,[yu(u.$slots,"no-options",xe(je(s.scope.noOptions)),()=>[ay])])):_u("",!0),yu(u.$slots,"list-footer",xe(je(s.scope.listFooter)))],40,ey)),[[o]]):(S(),I("ul",{key:1,id:"vs".concat(n.uid,"__listbox"),role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,ry))]),_:3},8,["name"]),yu(u.$slots,"footer",xe(je(s.scope.footer)))],10,q9)}const No=ts($9,[["render",sy]]);var i4,o4;te(sm),bu(j(j({},No.props),No.mixins.reduce((u,t)=>j(j({},u),t.props),{})),{ariaLabelClearSelected:cu("Clear selected"),ariaLabelListbox:cu("Options")}),te(om,im),te(lm),cu("Any link"),dm("core","filetypes/link.svg"),(i4=window._vue_richtext_reference_providers)!=null||(window._vue_richtext_reference_providers=Ui("core","reference-provider-list",[])),(o4=window._vue_richtext_reference_provider_timestamps)!=null||(window._vue_richtext_reference_provider_timestamps=Ui("core","reference-provider-timestamps",{})),te(d4,cm),te(_m);const iy=["src"],oy={class:"widget-default--details"},ly={class:"widget-default--name"},dy={class:"widget-default--link"},cy=180*1e3,_y=Ae({__name:"NcReferenceWidget",props:{reference:{},interactive:{type:Boolean,default:!0},interactiveOptIn:{type:Boolean,default:!1}},setup(u){const t=u,n=ht(br,null),a=w0(!1),i=Hi("customWidget"),s=Hi("widgetRoot"),{width:o}=Xm(s);u6(s,([O])=>{_r(()=>{a.value=O.isIntersecting})});const c=w0(!1),_=w0(!1);let m=null;const D=G(()=>!t.interactiveOptIn&&t.interactive||c.value),f=G(()=>M9(t.reference.richObjectType)),y=G(()=>E9(t.reference.richObjectType)),p=G(()=>y.value&&g9(t.reference.richObjectType)),E=G(()=>!t.reference.accessible),B=G(()=>[450,550,650,1/0].findIndex(O=>o.value{if(B.value===0)return{display:"none"};const O=B.value;return{lineClamp:O,webkitLineClamp:O}}),C=G(()=>{const O=t.reference.openGraphObject.link;return O?O.startsWith("https://")?O.substring(8):O.startsWith("http://")?O.substring(7):O:""}),v=G(()=>Ir(n,t.reference.openGraphObject.link)),b=G(()=>v.value?jr:"a"),P=G(()=>v.value?{to:v.value}:{href:t.reference.openGraphObject.link,target:"_blank"});be(a,O=>{if(!O){m=setTimeout(()=>{a.value||V()},cy);return}m&&(clearTimeout(m),m=null),_.value||Y()},{immediate:!0}),Ym(()=>{V()});function q(){c.value=!0,Y()}function Y(){if(!i.value||t.reference.richObjectType==="open-graph")return;i.value.innerHTML="";const O=document.createElement("div");O.style.width="100%",i.value.appendChild(O),_r(()=>{p9(O,bu(j({},t.reference),{interactive:D.value})),_.value=!0})}function V(){_.value&&s.value&&(y9(t.reference.richObjectType,s.value),_.value=!1)}return(O,Q)=>(S(),I("div",{ref_key:"widgetRoot",ref:s,class:Tu({"toggle-interactive":p.value&&!D.value})},[O.reference&&y.value?(S(),I("div",{key:0,ref_key:"customWidget",ref:i,class:Tu(["widget-custom",{"full-width":f.value}])},null,2)):!E.value&&O.reference&&O.reference.openGraphObject&&!y.value?(S(),ku(s0(b.value),j0({key:1},P.value,{rel:"noopener noreferrer",class:"widget-default"}),{default:$u(()=>[O.reference.openGraphObject.thumb?(S(),I("img",{key:0,class:"widget-default--image",src:O.reference.openGraphObject.thumb},null,8,iy)):_u("",!0),au("div",oy,[au("p",ly,tu(O.reference.openGraphObject.name),1),au("p",{class:"widget-default--description",style:We(M.value)},tu(O.reference.openGraphObject.description),5),au("p",dy,tu(C.value),1)])]),_:1},16)):_u("",!0),O.interactiveOptIn&&p.value&&!D.value?(S(),ku(Tr,{key:2,class:"toggle-interactive--button",onClick:q},{default:$u(()=>[H0(tu(wu(cu)("Enable interactive view")),1)]),_:1})):_u("",!0)],2))}}),my=Me(_y,[["__scopeId","data-v-8ce33442"]]);te(mm),te(fm,d4,hm),te(pm,Dm),te(ym);const hy=2e3;function fy(u){const t=w0(!1),n=G(()=>t.value?y4:t6),a=G(()=>t.value?cu("Copied"):cu("Copy to clipboard"));async function i(){if(t.value)return;const s=Cu(u);try{await navigator.clipboard.writeText(s)}catch(o){prompt("",s)}t.value=!0,setTimeout(()=>{t.value=!1},hy)}return{isCopied:t,copy:i,icon:n,altText:a}}const Dy={name:"NcReferenceList",components:{NcReferenceWidget:my},props:{text:{type:String,default:""},referenceData:{type:Array,default:null},limit:{type:Number,default:1},displayFallback:{type:Boolean,default:!1},interactive:{type:Boolean,default:!0},interactiveOptIn:{type:Boolean,default:!1}},emits:["loaded"],data(){return{references:null,loading:!0}},computed:{isVisible(){return this.loading||this.displayedReferences.length!==0},values(){return this.referenceData?this.referenceData:this.displayFallback&&!this.loading&&!this.references?[this.fallbackReference]:this.references?Object.values(this.references):[]},firstReference(){var u;return(u=this.values[0])!=null?u:null},displayedReferences(){return this.values.filter(Boolean).slice(0,this.limit)},fallbackReference(){return{accessible:!0,openGraphObject:{id:this.text,link:this.text,name:this.text},richObjectType:"open-graph"}}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){if(this.loading=!0,this.referenceData){this.references=null,this.loading=!1;return}if(!new RegExp(Ji).exec(this.text)){this.references=null,this.loading=!1;return}this.resolve().then(u=>{this.references=u.data.ocs.data.references,this.loading=!1,this.$emit("loaded")}).catch(u=>{i0.error("[NcReferenceList] Failed to extract references",{error:u}),this.loading=!1,this.$emit("loaded")})},resolve(){const u=new RegExp(Ji).exec(this.text.trim()),t=Rt()===null;return this.limit===1&&u?t?x0.get(ot("references/resolvePublic")+"?reference=".concat(encodeURIComponent(u[0]),"&sharingToken=").concat(Oo())):x0.get(ot("references/resolve")+"?reference=".concat(encodeURIComponent(u[0]))):t?x0.post(ot("references/extractPublic"),{text:this.text,resolve:!0,limit:this.limit,sharingToken:Oo()}):x0.post(ot("references/extract"),{text:this.text,resolve:!0,limit:this.limit})}}};function py(u,t,n,a,i,s){const o=Ju("NcReferenceWidget");return s.isVisible?(S(),I("div",{key:0,class:Tu(["widgets--list",{"icon-loading":i.loading}])},[(S(!0),I(ft,null,Nt(s.displayedReferences,c=>{var _;return S(),ku(o,{key:(_=c.openGraphObject)==null?void 0:_.id,reference:c,interactive:n.interactive,interactiveOptIn:n.interactiveOptIn},null,8,["reference","interactive","interactiveOptIn"])}),128))],2)):_u("",!0)}const ar=Me(Dy,[["render",py],["__scopeId","data-v-9cde5a6a"]]);function Ro(u,t){const n=String(u);if(typeof t!="string")throw new TypeError("Expected character");let a=0,i=n.indexOf(t);for(;i!==-1;)a++,i=n.indexOf(t,i+t.length);return a}const Vt=Nn(/[A-Za-z]/),ns=Nn(/[\dA-Za-z]/);function yy(u){return u!==null&&(u<32||u===127)}function dt(u){return u!==null&&u<-2}function Gu(u){return u!==null&&(u<0||u===32)}function a0(u){return u===-2||u===-1||u===32}const zn=Nn(new RegExp("\\p{P}|\\p{S}","u")),O0=Nn(/\s/);function Nn(u){return t;function t(n){return n!==null&&n>-1&&u.test(String.fromCharCode(n))}}function Ey(u){if(typeof u!="string")throw new TypeError("Expected a string");return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Rn=(function(u){if(u==null)return Cy;if(typeof u=="function")return Un(u);if(typeof u=="object")return Array.isArray(u)?gy(u):My(u);if(typeof u=="string")return Ay(u);throw new Error("Expected function, string, or object as test")});function gy(u){const t=[];let n=-1;for(;++n":""))+")"})}return y;function y(){let p=rl,E,B,M;if(s(_,m,D[D.length-1]||void 0)&&(p=Yy(n(_,D)),p[0]===Uo))return p;if("children"in _&&_.children){const C=_;if(C.children&&p[0]!==ky)for(B=-1+o,M=D.concat(C);B>-1&&B0?{type:"text",value:P}:void 0),P===!1?f.lastIndex=v+1:(p!==v&&M.push({type:"text",value:_.value.slice(p,v)}),Array.isArray(P)?M.push(...P):P&&M.push(P),p=v+C[0].length,B=!0),!f.global)break;C=f.exec(_.value)}return B?(p<_.value.length&&M.push({type:"text",value:_.value.slice(p)}),D.children.splice(E,1,...M)):M=[_],E+M.length}}function xy(u){const t=[];if(!Array.isArray(u))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!u[0]||Array.isArray(u[0])?u:[u];let a=-1;for(;++a?\]}]+$/.exec(u);if(!t)return[u,void 0];u=u.slice(0,t.index);let n=t[0],a=n.indexOf(")");const i=Ro(u,"(");let s=Ro(u,")");for(;a!==-1&&i>s;)u+=n.slice(0,a+1),n=n.slice(a+1),a=n.indexOf(")"),s++;return[u,n]}function sl(u,t){const n=u.input.charCodeAt(u.index-1);return(u.index===0||O0(n)||zn(n))&&(!t||n!==47)}function qt(u){return u.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}il.peek=Xy;function Vy(){this.buffer()}function Jy(u){this.enter({type:"footnoteReference",identifier:"",label:""},u)}function $y(){this.buffer()}function qy(u){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},u)}function Gy(u){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qt(this.sliceSerialize(u)).toLowerCase(),n.label=t}function Zy(u){this.exit(u)}function Ky(u){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qt(this.sliceSerialize(u)).toLowerCase(),n.label=t}function Qy(u){this.exit(u)}function Xy(){return"["}function il(u,t,n,a){const i=n.createTracker(a);let s=i.move("[^");const o=n.enter("footnoteReference"),c=n.enter("reference");return s+=i.move(n.safe(n.associationId(u),{after:"]",before:s})),c(),o(),s+=i.move("]"),s}function u5(){return{enter:{gfmFootnoteCallString:Vy,gfmFootnoteCall:Jy,gfmFootnoteDefinitionLabelString:$y,gfmFootnoteDefinition:qy},exit:{gfmFootnoteCallString:Gy,gfmFootnoteCall:Zy,gfmFootnoteDefinitionLabelString:Ky,gfmFootnoteDefinition:Qy}}}function e5(u){let t=!1;return u&&u.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:il},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(a,i,s,o){const c=s.createTracker(o);let _=c.move("[^");const m=s.enter("footnoteDefinition"),D=s.enter("label");return _+=c.move(s.safe(s.associationId(a),{before:_,after:"]"})),D(),_+=c.move("]:"),a.children&&a.children.length>0&&(c.shift(4),_+=c.move((t?"\n":" ")+s.indentLines(s.containerFlow(a,c.current()),t?ol:t5))),m(),_}}function t5(u,t,n){return t===0?u:ol(u,t,n)}function ol(u,t,n){return(n?"":" ")+u}const n5=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];ll.peek=o5;function a5(){return{canContainEols:["delete"],enter:{strikethrough:s5},exit:{strikethrough:i5}}}function r5(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:n5}],handlers:{delete:ll}}}function s5(u){this.enter({type:"delete",children:[]},u)}function i5(u){this.exit(u)}function ll(u,t,n,a){const i=n.createTracker(a),s=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(u,bu(j({},i.current()),{before:o,after:"~"})),o+=i.move("~~"),s(),o}function o5(){return"~"}function l5(u){return u.length}function d5(u,t){const n=t||{},a=(n.align||[]).concat(),i=n.stringLength||l5,s=[],o=[],c=[],_=[];let m=0,D=-1;for(;++Dm&&(m=u[D].length);++C_[C])&&(_[C]=b)}B.push(v)}o[D]=B,c[D]=M}let f=-1;if(typeof a=="object"&&"length"in a)for(;++f_[f]&&(_[f]=v),p[f]=v),y[f]=b}o.splice(1,0,y),c.splice(1,0,p),D=-1;const E=[];for(;++D "),s.shift(2);const o=n.indentLines(n.containerFlow(u,s.current()),m5);return i(),o}function m5(u,t,n){return">"+(n?"":" ")+u}function h5(u,t){return Jo(u,t.inConstruct,!0)&&!Jo(u,t.notInConstruct,!1)}function Jo(u,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let a=-1;for(;++ao&&(o=s):s=1,i=a+t.length,a=n.indexOf(t,i);return o}function D5(u,t){return!!(t.options.fences===!1&&u.value&&!u.lang&&/[^ \r\n]/.test(u.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(u.value))}function p5(u){const t=u.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function y5(u,t,n,a){const i=p5(n),s=u.value||"",o=i==="`"?"GraveAccent":"Tilde";if(D5(u,n)){const f=n.enter("codeIndented"),y=n.indentLines(s,E5);return f(),y}const c=n.createTracker(a),_=i.repeat(Math.max(f5(s,i)+1,3)),m=n.enter("codeFenced");let D=c.move(_);if(u.lang){const f=n.enter("codeFencedLang".concat(o));D+=c.move(n.safe(u.lang,j({before:D,after:" ",encode:["`"]},c.current()))),f()}if(u.lang&&u.meta){const f=n.enter("codeFencedMeta".concat(o));D+=c.move(" "),D+=c.move(n.safe(u.meta,j({before:D,after:"\n",encode:["`"]},c.current()))),f()}return D+=c.move("\n"),s&&(D+=c.move(s+"\n")),D+=c.move(_),m(),D}function E5(u,t,n){return(n?"":" ")+u}function as(u){const t=u.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function g5(u,t,n,a){const i=as(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let c=n.enter("label");const _=n.createTracker(a);let m=_.move("[");return m+=_.move(n.safe(n.associationId(u),j({before:m,after:"]"},_.current()))),m+=_.move("]: "),c(),!u.url||/[\0- \u007F]/.test(u.url)?(c=n.enter("destinationLiteral"),m+=_.move("<"),m+=_.move(n.safe(u.url,j({before:m,after:">"},_.current()))),m+=_.move(">")):(c=n.enter("destinationRaw"),m+=_.move(n.safe(u.url,j({before:m,after:u.title?" ":"\n"},_.current())))),c(),u.title&&(c=n.enter("title".concat(s)),m+=_.move(" "+i),m+=_.move(n.safe(u.title,j({before:m,after:i},_.current()))),m+=_.move(i),c()),o(),m}function M5(u){const t=u.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Jt(u){return"&#x"+u.toString(16).toUpperCase()+";"}function bn(u){if(u===null||Gu(u)||O0(u))return 1;if(zn(u))return 2}function wn(u,t,n){const a=bn(u),i=bn(t);return a===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}dl.peek=A5;function dl(u,t,n,a){const i=M5(n),s=n.enter("emphasis"),o=n.createTracker(a),c=o.move(i);let _=o.move(n.containerPhrasing(u,j({after:i,before:c},o.current())));const m=_.charCodeAt(0),D=wn(a.before.charCodeAt(a.before.length-1),m,i);D.inside&&(_=Jt(m)+_.slice(1));const f=_.charCodeAt(_.length-1),y=wn(a.after.charCodeAt(0),f,i);y.inside&&(_=_.slice(0,-1)+Jt(f));const p=o.move(i);return s(),n.attentionEncodeSurroundingInfo={after:y.outside,before:D.outside},c+_+p}function A5(u,t,n){return n.options.emphasis||"*"}const C5={};function cl(u,t){const n=C5,a=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return _l(u,a,i)}function _l(u,t,n){if(L5(u)){if("value"in u)return u.type==="html"&&!n?"":u.value;if(t&&"alt"in u&&u.alt)return u.alt;if("children"in u)return qo(u.children,t,n)}return Array.isArray(u)?qo(u,t,n):""}function qo(u,t,n){const a=[];let i=-1;for(;++i"},_.current()))),m+=_.move(">")):(c=n.enter("destinationRaw"),m+=_.move(n.safe(u.url,j({before:m,after:u.title?" ":")"},_.current())))),c(),u.title&&(c=n.enter("title".concat(s)),m+=_.move(" "+i),m+=_.move(n.safe(u.title,j({before:m,after:i},_.current()))),m+=_.move(i),c()),m+=_.move(")"),o(),m}function Y5(){return"!"}fl.peek=v5;function fl(u,t,n,a){const i=u.referenceType,s=n.enter("imageReference");let o=n.enter("label");const c=n.createTracker(a);let _=c.move("![");const m=n.safe(u.alt,j({before:_,after:"]"},c.current()));_+=c.move(m+"]["),o();const D=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(u),j({before:_,after:"]"},c.current()));return o(),n.stack=D,s(),i==="full"||!m||m!==f?_+=c.move(f+"]"):i==="shortcut"?_=_.slice(0,-1):_+=c.move("]"),_}function v5(){return"!"}Dl.peek=x5;function Dl(u,t,n){let a=u.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(a);)i+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++s\u007F]/.test(u.url))}yl.peek=b5;function yl(u,t,n,a){const i=as(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(a);let c,_;if(pl(u,n)){const D=n.stack;n.stack=[],c=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(u,j({before:f,after:">"},o.current()))),f+=o.move(">"),c(),n.stack=D,f}c=n.enter("link"),_=n.enter("label");let m=o.move("[");return m+=o.move(n.containerPhrasing(u,j({before:m,after:"]("},o.current()))),m+=o.move("]("),_(),!u.url&&u.title||/[\0- \u007F]/.test(u.url)?(_=n.enter("destinationLiteral"),m+=o.move("<"),m+=o.move(n.safe(u.url,j({before:m,after:">"},o.current()))),m+=o.move(">")):(_=n.enter("destinationRaw"),m+=o.move(n.safe(u.url,j({before:m,after:u.title?" ":")"},o.current())))),_(),u.title&&(_=n.enter("title".concat(s)),m+=o.move(" "+i),m+=o.move(n.safe(u.title,j({before:m,after:i},o.current()))),m+=o.move(i),_()),m+=o.move(")"),c(),m}function b5(u,t,n){return pl(u,n)?"<":"["}El.peek=w5;function El(u,t,n,a){const i=u.referenceType,s=n.enter("linkReference");let o=n.enter("label");const c=n.createTracker(a);let _=c.move("[");const m=n.containerPhrasing(u,j({before:_,after:"]"},c.current()));_+=c.move(m+"]["),o();const D=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(u),j({before:_,after:"]"},c.current()));return o(),n.stack=D,s(),i==="full"||!m||m!==f?_+=c.move(f+"]"):i==="shortcut"?_=_.slice(0,-1):_+=c.move("]"),_}function w5(){return"["}function rs(u){const t=u.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function T5(u){const t=rs(u),n=u.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function S5(u){const t=u.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function gl(u){const t=u.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function H5(u,t,n,a){const i=n.enter("list"),s=n.bulletCurrent;let o=u.ordered?S5(n):rs(n);const c=u.ordered?o==="."?")":".":T5(n);let _=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!u.ordered){const D=u.children?u.children[0]:void 0;if((o==="*"||o==="-")&&D&&(!D.children||!D.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(_=!0),gl(n)===o&&D){let f=-1;for(;++f-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(u))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||u.spread))&&(o=Math.ceil(o/4)*4);const c=n.createTracker(a);c.move(s+" ".repeat(o-s.length)),c.shift(o);const _=n.enter("listItem"),m=n.indentLines(n.containerFlow(u,c.current()),D);return _(),m;function D(f,y,p){return y?(p?"":" ".repeat(o))+f:(p?s:s+" ".repeat(o-s.length))+f}}function P5(u,t,n,a){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(u,a);return s(),i(),o}const I5=Rn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function W5(u,t,n,a){return(u.children.some(function(i){return I5(i)})?n.containerPhrasing:n.containerFlow).call(n,u,a)}function z5(u){const t=u.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Ml.peek=N5;function Ml(u,t,n,a){const i=z5(n),s=n.enter("strong"),o=n.createTracker(a),c=o.move(i+i);let _=o.move(n.containerPhrasing(u,j({after:i,before:c},o.current())));const m=_.charCodeAt(0),D=wn(a.before.charCodeAt(a.before.length-1),m,i);D.inside&&(_=Jt(m)+_.slice(1));const f=_.charCodeAt(_.length-1),y=wn(a.after.charCodeAt(0),f,i);y.inside&&(_=_.slice(0,-1)+Jt(f));const p=o.move(i+i);return s(),n.attentionEncodeSurroundingInfo={after:y.outside,before:D.outside},c+_+p}function N5(u,t,n){return n.options.strong||"*"}function R5(u,t,n,a){return n.safe(u.value,a)}function U5(u){const t=u.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function V5(u,t,n){const a=(gl(n)+(n.options.ruleSpaces?" ":"")).repeat(U5(n));return n.options.ruleSpaces?a.slice(0,-1):a}const Al={blockquote:_5,break:$o,code:y5,definition:g5,emphasis:dl,hardBreak:$o,heading:k5,html:ml,image:hl,imageReference:fl,inlineCode:Dl,link:yl,linkReference:El,list:H5,listItem:O5,paragraph:P5,root:W5,strong:Ml,text:R5,thematicBreak:V5};function J5(){return{enter:{table:$5,tableData:Go,tableHeader:Go,tableRow:G5},exit:{codeText:Z5,table:q5,tableData:or,tableHeader:or,tableRow:or}}}function $5(u){const t=u._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},u),this.data.inTable=!0}function q5(u){this.exit(u),this.data.inTable=void 0}function G5(u){this.enter({type:"tableRow",children:[]},u)}function or(u){this.exit(u)}function Go(u){this.enter({type:"tableCell",children:[]},u)}function Z5(u){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,K5));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(u)}function K5(u,t){return t==="|"?t:u}function Q5(u){const t=u||{},n=t.tableCellPadding,a=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:y,table:o,tableCell:_,tableRow:c}};function o(p,E,B,M){return m(D(p,B,M),p.align)}function c(p,E,B,M){const C=f(p,B,M),v=m([C]);return v.slice(0,v.indexOf("\n"))}function _(p,E,B,M){const C=B.enter("tableCell"),v=B.enter("phrasing"),b=B.containerPhrasing(p,bu(j({},M),{before:s,after:s}));return v(),C(),b}function m(p,E){return d5(p,{align:E,alignDelimiters:a,padding:n,stringLength:i})}function D(p,E,B){const M=p.children;let C=-1;const v=[],b=E.enter("table");for(;++Ci?0:i+t:t=t>i?i:t,n=n>0?n:0,a.length<1e4)o=Array.from(a),o.unshift(t,n),u.splice(...o);else for(n&&u.splice(t,n);s0&&!n&&(u[u.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function EE(u,t,n){const a=[];let i=-1;for(;++i999||f===93&&!o||f===null||f===91||Gu(f))return n(f);if(f===93){u.exit("chunkString");const y=u.exit("gfmFootnoteCallString");return i.includes(qt(a.sliceSerialize(y)))?(u.enter("gfmFootnoteCallLabelMarker"),u.consume(f),u.exit("gfmFootnoteCallLabelMarker"),u.exit("gfmFootnoteCall"),t):n(f)}return Gu(f)||(o=!0),s++,u.consume(f),f===92?D:m}function D(f){return f===91||f===92||f===93?(u.consume(f),s++,m):m(f)}}function FE(u,t,n){const a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s,o=0,c;return _;function _(E){return u.enter("gfmFootnoteDefinition")._container=!0,u.enter("gfmFootnoteDefinitionLabel"),u.enter("gfmFootnoteDefinitionLabelMarker"),u.consume(E),u.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(E){return E===94?(u.enter("gfmFootnoteDefinitionMarker"),u.consume(E),u.exit("gfmFootnoteDefinitionMarker"),u.enter("gfmFootnoteDefinitionLabelString"),u.enter("chunkString").contentType="string",D):n(E)}function D(E){if(o>999||E===93&&!c||E===null||E===91||Gu(E))return n(E);if(E===93){u.exit("chunkString");const B=u.exit("gfmFootnoteDefinitionLabelString");return s=qt(a.sliceSerialize(B)),u.enter("gfmFootnoteDefinitionLabelMarker"),u.consume(E),u.exit("gfmFootnoteDefinitionLabelMarker"),u.exit("gfmFootnoteDefinitionLabel"),y}return Gu(E)||(c=!0),o++,u.consume(E),E===92?f:D}function f(E){return E===91||E===92||E===93?(u.consume(E),o++,D):D(E)}function y(E){return E===58?(u.enter("definitionMarker"),u.consume(E),u.exit("definitionMarker"),i.includes(s)||i.push(s),r0(u,p,"gfmFootnoteDefinitionWhitespace")):n(E)}function p(E){return t(E)}}function YE(u,t,n){return u.check(gE,t,u.attempt(AE,t,n))}function vE(u){u.exit("gfmFootnoteDefinition")}function xE(u,t,n){const a=this;return r0(u,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=a.events[a.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function bE(u){let t=(u||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,o){let c=-1;for(;++c1?c(p):(s.consume(p),D++,y);if(D<2&&!t)return c(p);const B=s.exit("strikethroughSequenceTemporary"),M=bn(p);return B._open=!M||M===2&&!!E,B._close=!E||E===2&&!!M,o(p)}}}class wE{constructor(){this.map=[]}add(t,n,a){TE(this,t,n,a)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const a=[];for(;n>0;)n-=1,a.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];a.push(t.slice()),t.length=0;let i=a.pop();for(;i;){for(const s of i)t.push(s);i=a.pop()}this.map.length=0}}function TE(u,t,n,a){let i=0;if(!(n===0&&a.length===0)){for(;i-1;){const U=a.events[J][1].type;if(U==="lineEnding"||U==="linePrefix")J--;else break}const $=J>-1?a.events[J][1].type:null,N=$==="tableHead"||$==="tableRow"?Y:_;return N===Y&&a.parser.lazy[a.now().line]?n(k):N(k)}function _(k){return u.enter("tableHead"),u.enter("tableRow"),m(k)}function m(k){return k===124||(o=!0,s+=1),D(k)}function D(k){return k===null?n(k):dt(k)?s>1?(s=0,a.interrupt=!0,u.exit("tableRow"),u.enter("lineEnding"),u.consume(k),u.exit("lineEnding"),p):n(k):a0(k)?r0(u,D,"whitespace")(k):(s+=1,o&&(o=!1,i+=1),k===124?(u.enter("tableCellDivider"),u.consume(k),u.exit("tableCellDivider"),o=!0,D):(u.enter("data"),f(k)))}function f(k){return k===null||k===124||Gu(k)?(u.exit("data"),D(k)):(u.consume(k),k===92?y:f)}function y(k){return k===92||k===124?(u.consume(k),f):f(k)}function p(k){return a.interrupt=!1,a.parser.lazy[a.now().line]?n(k):(u.enter("tableDelimiterRow"),o=!1,a0(k)?r0(u,E,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):E(k))}function E(k){return k===45||k===58?M(k):k===124?(o=!0,u.enter("tableCellDivider"),u.consume(k),u.exit("tableCellDivider"),B):q(k)}function B(k){return a0(k)?r0(u,M,"whitespace")(k):M(k)}function M(k){return k===58?(s+=1,o=!0,u.enter("tableDelimiterMarker"),u.consume(k),u.exit("tableDelimiterMarker"),C):k===45?(s+=1,C(k)):k===null||dt(k)?P(k):q(k)}function C(k){return k===45?(u.enter("tableDelimiterFiller"),v(k)):q(k)}function v(k){return k===45?(u.consume(k),v):k===58?(o=!0,u.exit("tableDelimiterFiller"),u.enter("tableDelimiterMarker"),u.consume(k),u.exit("tableDelimiterMarker"),b):(u.exit("tableDelimiterFiller"),b(k))}function b(k){return a0(k)?r0(u,P,"whitespace")(k):P(k)}function P(k){return k===124?E(k):k===null||dt(k)?!o||i!==s?q(k):(u.exit("tableDelimiterRow"),u.exit("tableHead"),t(k)):q(k)}function q(k){return n(k)}function Y(k){return u.enter("tableRow"),V(k)}function V(k){return k===124?(u.enter("tableCellDivider"),u.consume(k),u.exit("tableCellDivider"),V):k===null||dt(k)?(u.exit("tableRow"),t(k)):a0(k)?r0(u,V,"whitespace")(k):(u.enter("data"),O(k))}function O(k){return k===null||k===124||Gu(k)?(u.exit("data"),V(k)):(u.consume(k),k===92?Q:O)}function Q(k){return k===92||k===124?(u.consume(k),O):O(k)}}function OE(u,t){let n=-1,a=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],c=!1,_=0,m,D,f;const y=new wE;for(;++nn[2]+1){const E=n[2]+1,B=n[3]-n[2]-1;u.add(E,B,[])}}u.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},it(t.events,i)),u.add(i,0,[["exit",s,t]]),s=void 0),s}function u4(u,t,n,a,i){const s=[],o=it(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),a.end=Object.assign({},o),s.push(["exit",a,t]),u.add(n+1,0,s)}function it(u,t){const n=u[t],a=n[0]==="enter"?"start":"end";return n[1][a]}const PE={name:"tasklistCheck",tokenize:WE};function IE(){return{text:{91:PE}}}function WE(u,t,n){const a=this;return i;function i(_){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?n(_):(u.enter("taskListCheck"),u.enter("taskListCheckMarker"),u.consume(_),u.exit("taskListCheckMarker"),s)}function s(_){return Gu(_)?(u.enter("taskListCheckValueUnchecked"),u.consume(_),u.exit("taskListCheckValueUnchecked"),o):_===88||_===120?(u.enter("taskListCheckValueChecked"),u.consume(_),u.exit("taskListCheckValueChecked"),o):n(_)}function o(_){return _===93?(u.enter("taskListCheckMarker"),u.consume(_),u.exit("taskListCheckMarker"),u.exit("taskListCheck"),c):n(_)}function c(_){return dt(_)?t(_):a0(_)?u.check({tokenize:zE},t,n)(_):n(_)}}function zE(u,t,n){return r0(u,a,"whitespace");function a(i){return i===null?n(i):t(i)}}function NE(u){return rE([dE(),CE(),bE(u),HE(),IE()])}const RE={};function UE(u){const t=this,n=u||RE,a=t.data(),i=a.micromarkExtensions||(a.micromarkExtensions=[]),s=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);i.push(NE(n)),s.push(nE()),o.push(aE(n))}const VE=Ae({__name:"NcRichTextCopyButton",props:{contentId:{}},setup(u){const{copy:t,icon:n,altText:a}=fy(()=>document.getElementById(u.contentId).textContent);return(i,s)=>(S(),ku(Tr,{variant:"tertiary",size:"small","aria-label":wu(a),title:wu(a),onClick:wu(t)},{icon:$u(()=>[ne(wr,{path:wu(n),inline:""},null,8,["path"])]),_:1},8,["aria-label","title","onClick"]))}});function JE(u){return u.type==="text"}const $E=function(u){o0(u,JE,t);function t(n,a,i){const s=n.value.split(/(\{[a-z\-_.0-9]+\})/ig).map(o=>{const c=o.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!c)return lt("text",o);const[,_]=c;return lt("element",{tagName:"#".concat(_),children:[]})});i.children.splice(a,1,...s)}},qE=()=>$E;function GE(u){return["text","code","inlineCode"].includes(u.type)}const ZE=function(){return function(u){o0(u,GE,(t,n,a)=>(a.children.splice(n,1,bu(j({},t),{value:t.value.replace(/</gmi,"<").replace(/>/gmi,">")})),[Pr,n+1]))}},KE=["http","https","mailto","tel"],Yr=w0(null);async function QE(){const u=await wm(()=>import("./index-CooJl9Cq.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);Yr.value=u.default}const XE={name:"NcRichText",components:{NcReferenceList:ar},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},referenceInteractive:{type:Boolean,default:!0},referenceInteractiveOptIn:{type:Boolean,default:!1},references:{type:Array,default:null},useMarkdown:{type:Boolean,default:!1},useExtendedMarkdown:{type:Boolean,default:!1},interactive:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},emits:["interactTodo"],data(){return{parentId:Cn()}},methods:{renderPlaintext(){const u=this.text.split(/(\{[a-z\-_.0-9]+\})/ig).map(t=>{const n=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!n)return this.prepareTextNode(t);const a=n[1],i=this.arguments[a];if(typeof i=="object"){const{component:s,props:o}=i;return gu(typeof s=="string"?Ju(s):s,bu(j({},o),{class:"rich-text--component"}))}return i?gu("span",{class:"rich-text--fallback"},i):t});return gu("div",{class:"rich-text--wrapper"},[gu("div",{},u.flat()),this.referenceLimit>0?gu("div",{class:"rich-text--reference-widget"},[gu(ar,{text:this.text,referenceData:this.references,interactive:this.referenceInteractive,interactiveOptIn:this.referenceInteractiveOptIn})]):null])},renderMarkdown(){const u=c9().use(op).use(b6,{autolink:this.autolink,useMarkdown:this.useMarkdown,useExtendedMarkdown:this.useExtendedMarkdown}).use(ZE).use(this.useExtendedMarkdown?UE:void 0).use(ef).use(Jp,{except:KE}).use(Up,{handlers:{component(t,n){return t(n,n.component,{value:n.value})}}}).use(this.useExtendedMarkdown?Yr.value:void 0).use(qE).use(n2,{target:"_blank",rel:["noopener noreferrer"]}).use($2,{Fragment:ft,jsx:this.createElement,jsxs:this.createElement,elementAttributeNameCase:"html",prefix:!1}).processSync(this.text.replace(/<[^>]+>/g,t=>t.replace(/")).result;return gu("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[u,this.referenceLimit>0?gu("div",{class:"rich-text--reference-widget"},[gu(ar,{text:this.text,referenceData:this.references,interactive:this.referenceInteractive,interactiveOptIn:this.referenceInteractiveOptIn})]):null])},prepareTextNode(u){return this.autolink&&(u=C4(u)),Array.isArray(u)?u.map(t=>{if(typeof t=="string")return t;const{component:n,props:a}=t,i=n.name==="NcLink"?void 0:"rich-text--component";return gu(n,bu(j({},a),{class:i}))}):u},createElement(u,t,n){var s,o;n&&(t.key=n);const a=(s=t.children)!=null?s:[];if(delete t.children,!String(u).startsWith("#")){["h1","h2","h3","h4","h5","h6"].includes(String(u))&&(u="h".concat(Math.min(+String(u)[1]+3,6)));let c=null;if(this.useExtendedMarkdown){if(String(u)==="code"&&!Yr.value&&((o=t==null?void 0:t.class)!=null&&o.includes("language"))&&QE(),String(u)==="pre"&&a&&String(a.type)==="code"){const _=this.parentId+"-code-block-"+Cn();return gu("p",{class:"rich-text__code-block"},[gu(u,bu(j({},t),{id:_}),a),gu(VE,{class:"rich-text__code-block-button",contentId:_})])}if(String(u)==="li"&&Array.isArray(a)&&a.length!==0&&a[0].type==="input"&&a[0].props.type==="checkbox"){const[_,,...m]=a,D=m.findIndex(E=>["ul","ol","li","blockquote","pre"].includes(E.type));D!==-1&&(c=m[D],m.splice(D));const f=this.parentId+"-markdown-input-"+Cn(),y=j({},_.props);delete y.checked;const p=gu(Em,bu(j({},y),{modelValue:_.props.checked,id:f,disabled:!this.interactive,"onUpdate:modelValue":()=>{this.$emit("interactTodo",f)}}),{default:()=>m});return gu(u,t,[p,c])}}if(String(u)==="a"){const _=Ir(this.$router,t.href);if(_)return delete t.href,delete t.target,gu(jr,bu(j({},t),{to:_}),{default:()=>a})}return gu(u,t,a)}const i=this.arguments[u.slice(1)];return i?i.component?gu(typeof i.component=="string"?Ju(i.component):i.component,bu(j(j({},t),i.props),{class:"rich-text--component"}),{default:()=>a}):gu("span",j({},t),[i]):gu("span",bu(j({},t),{class:"rich-text--fallback"}),["{".concat(u.slice(1),"}")])}},render(){return this.useMarkdown||this.useExtendedMarkdown?this.renderMarkdown():this.renderPlaintext()}},vr=Me(XE,[["__scopeId","data-v-a47e4ba7"]]),ug={};function eg(u,t){return S(),I("div",null,[yu(u.$slots,"trigger")])}const tg=Me(ug,[["render",eg]]),ng={class:"user-bubble__name"},ag={key:0,class:"user-bubble__secondary"},rg=Ae({__name:"NcUserBubble",props:mr({avatarImage:{default:void 0},user:{default:void 0},displayName:{default:void 0},showUserStatus:{type:Boolean},url:{default:void 0},to:{default:void 0},primary:{type:Boolean},size:{default:20},margin:{default:2}},{open:{type:Boolean},openModifiers:{}}),emits:mr(["click"],["update:open"]),setup(u,{emit:t}){const n=m4(u,"open"),a=u,i=t,s=G(()=>{if(!a.avatarImage)return!1;try{return!!new URL(a.avatarImage)}catch(y){return!1}}),o=G(()=>!!a.avatarImage),c=G(()=>({marginInlineStart:"".concat(a.margin,"px")})),_=G(()=>{var y,p;if(!a.url||a.url.trim()==="")return!1;try{return!!new URL(a.url,(p=(y=a.url)==null?void 0:y.startsWith)!=null&&p.call(y,"/")?window.location.href:void 0)}catch(E){return vm("[NcUserBubble] Invalid URL passed",{url:a.url}),!1}}),m=G(()=>_.value?a.url:void 0),D=G(()=>_.value?"a":a.to?jr:"div"),f=G(()=>({height:"".concat(a.size,"px"),lineHeight:"".concat(a.size,"px"),borderRadius:"".concat(a.size/2,"px")}));return be([()=>a.displayName,()=>a.user],()=>{!a.displayName&&a.user}),(y,p)=>(S(),ku(s0(y.$slots.default?gm:tg),{shown:n.value,"onUpdate:shown":p[1]||(p[1]=E=>n.value=E),class:"user-bubble__wrapper",trigger:"hover focus"},{trigger:$u(({attrs:E})=>[(S(),ku(s0(D.value),j0({class:["user-bubble__content",{"user-bubble__content--primary":y.primary}],style:f.value,to:y.to,href:m.value},E,{onClick:p[0]||(p[0]=B=>i("click",B))}),{default:$u(()=>[ne(Wr,{url:o.value&&s.value?y.avatarImage:void 0,iconClass:o.value&&!s.value?y.avatarImage:void 0,user:y.user,displayName:y.displayName,size:y.size-y.margin*2,style:We(c.value),disableTooltip:"",disableMenu:"",hideStatus:!y.showUserStatus,class:"user-bubble__avatar"},null,8,["url","iconClass","user","displayName","size","style","hideStatus"]),au("span",ng,tu(y.displayName||y.user),1),y.$slots.name?(S(),I("span",ag,[yu(y.$slots,"name",{},void 0,!0)])):_u("",!0)]),_:2},1040,["class","style","to","href"]))]),default:$u(()=>[yu(y.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),lr=Me(rg,[["__scopeId","data-v-9189d023"]]),sg={name:"AddressBookRichArgument",props:{name:{type:String,required:!0}}};function ig(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const og=we(sg,[["render",ig]]),lg={name:"CalendarEventRichArgument",props:{name:{type:String,required:!0},title:{type:String,required:!0},link:{type:String,required:!0}}},dg=["href","title"];function cg(u,t,n,a,i,s){return S(),I("a",{href:n.link,title:n.title},[au("strong",null,tu(n.name),1)],8,dg)}const _g=we(lg,[["render",cg]]),mg={name:"CalendarRichArgument",props:{name:{type:String,required:!0}}};function hg(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const fg=we(mg,[["render",hg]]),Dg={name:"EmailRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0}}},pg=["href"];function yg(u,t,n,a,i,s){return S(),I("a",{href:"mailto:".concat(n.id)},tu(n.name),9,pg)}const Eg=we(Dg,[["render",yg]]);function gg(u){return u.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")}function e4(...u){if(arguments.length<1)return"";const t=u.filter(_=>_.length>0);if(t.length<1)return"";const n=t[t.length-1],a=t[0].charAt(0)==="/",i=n.charAt(n.length-1)==="/",s=t.reduce((_,m)=>_.concat(m.split("/")),[]);let o=!a;const c=s.reduce((_,m)=>m===""?_:o?(o=!1,_+m):_+"/"+m,"");return i?c+"/":c}function t4(u,t){const n=(u||"").split("/").filter(i=>i!=="."),a=(t||"").split("/").filter(i=>i!==".");return u=e4.apply(void 0,n),t=e4.apply(void 0,a),u===t}const Mg={name:"FileRichArgument",props:{name:{type:String,required:!0},path:{type:String,required:!0},link:{type:String,required:!0}},computed:{isRoot(){return t4(this.path,"")},parentPathIsRoot(){return t4(this.parentFolder,"/")},parentFolder(){return gg(this.path)}},methods:{t:Yn}},Ag={class:"rich-text-file"},Cg=["href"],Lg=["title","aria-label","href"],Bg=["title"];function kg(u,t,n,a,i,s){return S(),I("span",Ag,[!s.isRoot&&s.parentPathIsRoot?(S(),I("a",{key:0,href:n.link},tu(n.name),9,Cg)):_u("",!0),!s.isRoot&&!s.parentPathIsRoot?(S(),I("a",{key:1,title:s.t("activity","in {path}",{path:s.parentFolder}),"aria-label":s.t("activity","in {path}",{path:s.parentFolder}),href:n.link},tu(n.name),9,Lg)):_u("",!0),s.isRoot?(S(),I("span",{key:2,title:s.t("activity","Home"),"aria-label":"t('activity', 'Home')",class:"icon-home"},null,8,Bg)):_u("",!0)])}const Fg=we(Mg,[["render",kg],["__scopeId","data-v-0ba38d02"]]),Yg={name:"OpenGraphRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0},description:{type:String,required:!0},thumb:{type:String,default:""},link:{type:String,required:!0},website:{type:String,required:!0}},computed:{thumbIsDefined(){return this.thumb!==""}}},vg=["href"],xg=["id"],bg={class:"opengraph-website"};function wg(u,t,n,a,i,s){return S(),I("a",{href:n.link},[au("div",{id:"opengraph-".concat(n.id),class:"opengraph"},[s.thumbIsDefined?(S(),I("div",{key:0,class:"opengraph-thumb",style:We("background-image: url('".concat(n.thumb,"')"))},null,4)):_u("",!0),au("div",{class:Tu(["opengraph-name",{"opengraph-with-thumb":s.thumbIsDefined}])},tu(n.name),3),au("div",{class:Tu(["opengraph-description",{"opengraph-with-thumb":s.thumbIsDefined}])},tu(n.description),3),au("span",bg,tu(n.website),1)],8,xg)],8,vg)}const Tg=we(Yg,[["render",wg]]),Sg={name:"SystemTagRichArgument",props:{name:{type:String,required:!0}}};function Hg(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const jg=we(Sg,[["render",Hg],["__scopeId","data-v-3da0c816"]]),Og={name:"UnknownArgument",props:{name:{type:String,required:!0}}};function Pg(u,t,n,a,i,s){return S(),I("strong",null,tu(n.name),1)}const Ig=we(Og,[["render",Pg]]),Wg={name:"UnknownLinkArgument",props:{name:{type:String,required:!0},link:{type:String,required:!0}}},zg=["href"];function Ng(u,t,n,a,i,s){return S(),I("a",{href:n.link},tu(n.name),9,zg)}const Rg=we(Wg,[["render",Ng]]);function xr(u){const t={};for(const n in u)t[n]=Ug(u[n]);return t}function Ug(u){switch(u.type){case"file":return{component:Fg,props:u};case"user":return u.server?{component:lr,props:{avatarImage:"icon-user",displayName:u.name,user:u.id,url:u.link}}:{component:lr,props:{displayName:u.name,user:u.id,url:u.link}};case"group":return{component:lr,props:{avatarImage:"icon-group",displayName:u.name,primary:!0}};case"email":return{component:Eg,props:u};case"systemtag":return{component:jg,props:u};case"opengraph":return{component:Tg,props:u};case"calendar":return{component:fg,props:u};case"calendar-event":return{component:_g,props:u};case"addressbook":return{component:og,props:u};default:return u.link?{component:Rg,props:u}:{component:Ig,props:u}}}const Vg={class:"activity-entry comments-activity"},Jg={class:"comments-activity__content"},$g={key:1,class:"comments-activity__title"},qg={class:"hidden-visually"},Gg=Ae({__name:"CommentActivity",props:{activity:{},showPreviews:{type:Boolean}},setup(u){const t=u,n=G(()=>{var _,m,D;return(D=(m=(_=t.activity.subjectRichObjects)==null?void 0:_.author)==null?void 0:m.id)!=null?D:t.activity.user}),a=G(()=>{var _,m,D,f;return t.activity.user===((_=Rt())==null?void 0:_.uid)?Yn("activity","You commented"):(f=(D=(m=t.activity.subjectRichObjects)==null?void 0:m.author)==null?void 0:D.name)!=null?f:t.activity.user}),i=G(()=>t.activity.timestamp),s=G(()=>t.activity.messageRichTemplate||t.activity.message||Yn("activity","Message deleted by author")),o=G(()=>t.activity.subjectRichTemplate||t.activity.subject),c=G(()=>xr(t.activity.subjectRichObjects));return(_,m)=>(S(),I("li",Vg,[ne(wu(Wr),{class:"comments-activity__icon","disable-menu":!1,user:n.value},null,8,["user"]),au("div",Jg,[u.showPreviews?(S(),ku(wu(vr),{key:0,class:"comments-activity__title",text:o.value,arguments:c.value},null,8,["text","arguments"])):(S(),I("div",$g,tu(a.value),1)),ne(wu(vr),{class:"comments-activity__subline",text:s.value,arguments:u.activity.messageRichObjects},null,8,["text","arguments"])]),au("span",qg,tu(u.activity.formattedDate),1),ne(wu(k4),{class:"comments-activity__date","data-testid":"activity-date",timestamp:i.value,"ignore-seconds":!0},null,8,["timestamp"])]))}}),Zg=we(Gg,[["__scopeId","data-v-bbf97b44"]]);var Kg=Object.defineProperty,Qg=(u,t,n)=>t in u?Kg(u,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[t]=n,Xg=(u,t,n)=>Qg(u,t+"",n);class vl{constructor(t){if(Xg(this,"_activity"),typeof t!="object")throw new Error("Received activity data is not an object.");if(typeof t.activity_id!="number")throw new Error("The activity_id argument is not a number");if(typeof t.type!="string"||t.type.trim()==="")throw new Error("The type argument is not a valid string");if(typeof t.subject!="string"||t.subject.trim()==="")throw new Error("The subject argument is not a valid string");if(typeof t.icon!="string"||t.icon.trim()==="")throw new Error("The icon argument is not a valid string");if(typeof t.datetime!="string"||t.datetime.trim()==="")throw new Error("The datetime argument is not a valid string");this._activity=t}get id(){return this._activity.activity_id}get app(){return this._activity.app}get type(){return this._activity.type}get user(){return this._activity.user}get subject(){return this._activity.subject}get subjectRichTemplate(){return this._activity.subject_rich[0]}get subjectRichObjects(){return Array.isArray(this._activity.subject_rich[1])?{}:this._activity.subject_rich[1]}get message(){return this._activity.message}get messageRichTemplate(){return this._activity.message_rich[0]}get messageRichObjects(){return Array.isArray(this._activity.message_rich[1])?this._activity.message_rich[1]:{}}get objectType(){return this._activity.object_type}get objectId(){return this._activity.object_id}get objectName(){return this._activity.object_name}get link(){return this._activity.link}get icon(){return this._activity.icon}get datetime(){return this._activity.datetime}get dateFromNow(){return y0(this._activity.datetime).fromNow()}get formattedDate(){return y0(this._activity.datetime).format("LLL")}get timestamp(){return y0(this._activity.datetime).valueOf()}get previews(){var t;return(t=this._activity.previews)!=null?t:[]}}const uM=Ae({name:"GenericActivity",components:{NcAvatar:Wr,NcDateTime:k4,NcRichText:vr},props:{activity:{type:vl,required:!0},showPreviews:{type:Boolean,default:!1}},computed:{timestamp(){return this.activity.timestamp},messageText(){return this.activity.messageRichTemplate||this.activity.message},messageArguments(){return xr(this.activity.messageRichObjects)},subjectText(){return this.activity.subjectRichTemplate||this.activity.subject},subjectArguments(){return xr(this.activity.subjectRichObjects)},applyMonochromeIconColor(){return this.activity.type!=="file_created"&&this.activity.type!=="file_deleted"&&this.activity.type!=="favorite"&&!this.activity.icon.endsWith("-color.svg")?"monochrome":""}},methods:{t:Yn,handlePreviewClick(u,t){var n,a;if(t.filePath&&((a=(n=window==null?void 0:window.OCA)==null?void 0:n.Viewer)==null?void 0:a.open)!==void 0&&window.OCA.Viewer.mimetypes.includes(t.mimeType))try{window.OCA.Viewer.open({path:t.filePath.replace(/^\/[^/]+\/files/,"")}),u.preventDefault(),u.stopPropagation()}catch(i){f4.debug(i)}}}}),eM={class:"activity-entry"},tM={class:"activity-entry__content"},nM={class:"hidden-visually"},aM={key:0,class:"activity-entry__preview-wrapper"},rM=["src","alt"];function sM(u,t,n,a,i,s){const o=Ju("NcAvatar"),c=Ju("NcRichText"),_=Ju("NcDateTime");return S(),I("li",eM,[ne(o,{class:Tu([u.applyMonochromeIconColor,"activity-entry__icon","activity-icon","avatardiv--unknown"]),"disable-menu":!0,"disable-tooltip":!0,url:u.activity.icon,size:20},null,8,["class","url"]),au("div",tM,[ne(c,{class:"activity-entry__content__subject",text:u.subjectText,arguments:u.subjectArguments},null,8,["text","arguments"]),ne(c,{class:"activity-entry__content__message",text:u.messageText,arguments:u.messageArguments},null,8,["text","arguments"])]),au("span",nM,tu(u.activity.formattedDate),1),ne(_,{class:"activity-entry__date",timestamp:u.timestamp,"ignore-seconds":!0,"data-testid":"activity-date"},null,8,["timestamp"]),u.showPreviews?(S(),I("ul",aM,[(S(!0),I(ft,null,Nt(u.activity.previews,(m,D)=>{var f;return S(),I("li",{key:(f=m.fileId)!=null?f:"preview-".concat(D)},[(S(),ku(s0(m.link?"a":"span"),{class:"activity-entry__preview",href:m.link,onClick:y=>u.handlePreviewClick(y,m)},{default:$u(()=>[au("img",{class:Tu(["activity-entry__preview-image",{"activity-entry__preview-mimetype":m.isMimeTypeIcon}]),src:m.source,alt:m.link?u.t("activity","Open {filename}",{filename:m.filename}):""},null,10,rM)]),_:2},1032,["href","onClick"]))])}),128))])):_u("",!0)])}const iM=we(uM,[["render",sM],["__scopeId","data-v-4fe29a40"]]),oM=Ae({__name:"PluginActivity",props:{activity:{}},emits:["reload"],setup(u,{emit:t}){const n=u,a=t,i=w0();return Sr(()=>{var s;return n.activity.mount(i.value,{context:(s=Sn())==null?void 0:s.proxy,reload:()=>a("reload")})}),xm(()=>n.activity.unmount()),(s,o)=>(S(),I("li",{ref_key:"activityMount",ref:i},null,512))}}),LM=Ae({__name:"ActivityComponent",props:{activity:{},showPreviews:{type:Boolean}},emits:["reload"],setup(u){const t=u,n=G(()=>t),a=G(()=>t.activity instanceof vl?t.activity.type==="comments"?Zg:iM:(f4.warn("Activity is not an instance of ActivityModel",{activity:t.activity}),oM));return(i,s)=>(S(),ku(s0(a.value),j0(n.value,{onReload:s[0]||(s[0]=o=>i.$emit("reload"))}),null,16))}});export{vl as A,CM as N,LM as _,y4 as a,pM as b,y0 as c,AM as d,MM as e,ah as f,E4 as g,EM as h,gM as i,Or as j,x4 as k,Ui as l,yM as m,fM as o,DM as u,o0 as v}; +//# sourceMappingURL=ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs.map diff --git a/js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs.license b/js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs.license similarity index 100% rename from js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs.license rename to js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs.license diff --git a/js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs.map b/js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs.map similarity index 99% rename from js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs.map rename to js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs.map index 54208499b..bb3136206 100644 --- a/js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs.map +++ b/js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs.map @@ -1 +1 @@ -{"version":3,"mappings":";8vDAmNA,UAA2BA,EAAGC,SAC7B,CAAQD,OAAE,QAAWA,EAAQC,SAAE,EAAWA,IAE3C,aAAsCA,KACjC,QAAO,QAAQ,UAAW,SAAO,IAAM,CAAE,OAAe,aAC5D,IAASC,SAAc,EAACC,IAA+BH,CAAEE,IAAMD,CAAEC,IAAc,WACxE,SAER,iBACQ,OAAAE,CAAQJ,OAAuBA,CAAGC,OAAc,EAAII,WAA2BL,CAAKA,KAAE,WAAgBC,UAAO,OASrH,QAASI,OAAwB,CACzB,gBAAe,WAAa,OAAUL,IAAE,KAAOM,EAAOC,SAAgBN,CAAEM,CAAC,KAAO,SAAW,gBCgqBnG,WACO,MAAAC,KAAgBC,UACMC,CAAgB,KAG9BC,CAAS,IAAM,CACtB,OAAAC,CAAKC,IAAMC,CAAM,EAAE,QAOlB,CAAAN,EAAO,uBAGR,QAAE,aAAkB,MAClB,KAAAO,MACFC,CAAeC,MAAkB,CACjCC,GAAiBC,CAAa,eACf,CAACD,EAAe,SAAe,OACpD,UAA6B,UAAUE,UAAuB,GAAMJ,SACxD,MAAW,KAAAK,CACvB,SAAyBC,EAAgBL,IAAiB,CAAC,IACpD,QAAS,IAAKK,KAA4B,EAAMC,SAAkD,SAAY,cAA2C,MAAUH,KAAkB,KAAK,GAAMH,QAAoB,CAAII,CAAA,CAC/N,MACyB,iBAAsCG,EAAeL,SAAqBM,EAAM,SAAM,IAAO,KACjGd,CAAS,UAAwB,EAAQ,UAAwB,QAAuB,MAAQ,UAAce,MAAuC,YAAc,EAAM,SACtL,gBAAiB,CACrB,QAAY,CAAG,GAClB,WAAuBZ,EAAM,SAAW,gBAAkB,EAAED,OAAc,CAAC,SAAQc,CAAI,MACnF,IAAAb,CAAM,kBAAkB,OAAO,OAAa,MAAe,yBAAyB,gBAAU,CAAS,sBAAoB,KACxHc,CAAA,CAER,UAAO,MAAQ,UAwBT,WACN,CAAAH,EACA,MAAMd,CAAS,IAAMc,UAAY,EAAI,IACrC,UACA,aAAAI,OACA,KACD,CACD,CACA,UAASC,EAAkBC,OAC1B,OAAc,OAAW,GAAIA,CAAO,CAAC,OAEtC,KAAMC,CAAiDC,GAAA,CACtD,YAAM,qBACU,QAChB,KAAO,CACN,UACQ,SAAQ,MACf,WACD,EACA,QAAS,WACT,aAAa,KACb,kBAAkB,IAClB,QAAQ,gBACR,QAAkB,CACjB,MAAM,MACN,YAAS,KAEV,iBAAgB,qBAGjB,QAAe,qBACgBnB,CAAK,IAC3B,WAAYoB,UACJvB,CAAS,QACvBwB,IAAmB,eAAqB,gBAAiB,sBAAwBC,MAAK,OACtFD,KAAmB,sBAA0B,oBAAsB,uBAA0B,CAAC,OAAQ,YACtG,SACK,UACAE,OAAiB,MAAWP,IAAkBQ,CAAM,UAAa,EACvE,SAAa,SAAoBC,KAAE,EAAK,MACvC,aAAqB,iBAAsB,iBAAmB,OAC9D,CAAMH,IAAK,GACX,QAASA,EAAK,SACd,MAAOI,KAAQ,QAInB,CAAC,KAIkBR,IACnB,SAASS,KACR,GAAI,EAAAC,EAAE,UAAWA,CAAE,aAAY,OAAWA,CAAE,aACxC,CAAE,kBACF,EAAAA,OAAE,OAAW,KAAUA,EAAE,SAAW,OACpCA,OAAE,aAAmB,eAAc,YACtC,MAAMC,IAAW,cAAc,aAAa,SAAQ,CAChD,iBAAc,OAAW,CAAG,SAE7B,SAAE,cAAgBD,MAAE,YAAe,CAChC,GACR,CACA,SAASlB,MAAsBoB,CAAO,IACrC,OAAW1C,MAAO0C,CAAO,CAClB,MAAAC,IAAmB3C,CAAG,IACT4C,IAAS,CACxB,eAAsB,QACrB,GAAAD,aAAkC,UAC5B,CAACzC,OAAuB2C,KAAW,WAAsB,YAA0B,CAACzC,MAAaA,GAAM,kBAA4B,SAAmB,SAE3J,QACR,IAKA,YACC,SAAgB0C,OAAO,OAAiB,OAAQ,IAAOA,QAAc,CACtE,IAOA,MAAqB,CAACC,KAAwBC,eAAiBD,eAAgCE,MAAhCF,MAAoEC,CCn8BnI,UAASE,EAAkBC,eACP,OACHA,CAAIC,IACZ,GAED,QA8DR,CAAMC,OAA4C,UAe5CC,CAAc,OAAIC,CAAS,UAEhC,MAAYA,CAAK,CAAC,UAC0C,MAAM,KAAQC,OAAwB,WAAkBA,MAAoB,EAClIC,KAAQC,OAAsDC,WACvD,iBAAgC,CAAM,MAAI,KAAM,qCAAqC,CAClG,OAAIF,QAA+B,MAAczD,YAAiCyD,CAAK,KAAgC,IAAIA,CAAK,EAAEzD,KAC3HgC,CAAO,OAsET4B,QAAW,MAAO,GAAW,SAAe,iBACjC,OAAO,sBAAqC,wBAAsB,kBAEnF,WAA4BC,EAAO,WAIlB,QAAO,MAAU,UAC5BC,EAAYD,QAAiB,SAAc,qBAIpC,QAsNb,OAASE,IAAQC,CAAI,IACpB,WAAU,SAAc,MAAI,OAAO,OAAWA,CAAE,IAAI,CAAK,YAAO,MAAWA,CAAE,CAC9E,CAuBA,aAAiB5D,CAAO,KACvB,IAAO,QAAM,WAA0BA,CAAK,MAoB7C,QAA4BqC,IAC3B,WAYD,YAAgCwB,KAC/B,CAAI,CAACL,SAAU,CAAOK,QACJ,KAEdC,CACJ,MAAMC,IAAU,OACA,CACXD,OAAwB,KACrB,OACNE,MAAQ,MACA,OAET,CACD,OAAQ,QAAIb,CACXc,MACKH,SACgB,CAAI,MACV,SAAUD,CAAW,QAEpCf,gBA+kBF,KAASoB,CAAanB,EAAIoB,QACrBC,OAA4BC,CAAUtB,GAAU,EAC3CoB,MACJG,QA6zBN,QAASC,KAAuBC,CAAIC,WAC5BC,MAAkBC,IAAAC,CAAA,OAExB,gBCxwDF,UAAsBpB,gBAYtB,gBACC,UACA,CAAMqB,QACN,UAA6DA,kBAAM,SAAS,MAAiB,YAK9F,QAASC,OAAoB3B,CAAM,IAClC,MAAkB4B,MAAqBN,OACnC,yBACI,KAAS,oBAAoBO,OAAwB,CAEvDC,IAA6B,SAClC,OAAqBC,MAAc,CAAC,KAAG,OAAQ9C,CAAMA,GAAK,MAC1D,YAAY,KAAOA,CAAM,OAAOA,KAAM,OAAQ,CAAI+C,IAAO,KACzD,OACD,KAAsB,QACrB,CAAIC,MACJ,IAAO,IACLA,CAAyBC,MAA2C,OAAW,MAAQA,UAA2B,CAAS,SAAgC,QAAWC,WAAsB,KAAQF,GAA0B,OAASA,aAAwC,CAAQhD,IAAMA,EAAK,SAC3R8C,UAA0B,CAAQ/B,QAAgB,CAAC,KAC3DoC,CAAQhF,IAAM0E,CAAkB,MAAQ9B,KAAUA,OAClD+B,OAA0B,IAAQ/B,WAErC,MAAmBqC,IAA2BC,CAAW,EAAGC,KAAGC,CAAc,UACXC,OAAY,YAAqEJ,UAAW,kBAA2EK,SAAc,OAAS,WACzOnC,KAAoB,CAAIkB,IAAA,CAAKa,QACjCG,CAAY,YAAgBJ,CAAW,YAAmBK,CAAc,IAAKC,GAAaC,QAA8BC,CAAY,CAAC,KACtJL,CAAU,OACA,WAAgB5C,KACzB,CACH,KAAM,SAAO,cAMJkD,KAAuBC,CAASzB,EAAU,QAClD,CAAM,CAAE,QAAQ0B,CAAWC,MAAe,OAAW,OAAE,MAAU,IAAM,YAAAC,CAAe,MAAO,MAAAC,QAC7F,SAAe,SACd,cACQjF,KACR,WACGA,CAOJ,OAAmB,QACbkF,KACErB,MAAgB,UACtB,eAAwB,MAAU,UAAO,UAAoB,SAAS,iBAAiBsB,CAAQ,MAAG,MAAazB,OAAa,MAAUC,IAAM,WAAc,SAAC,OAE1J,UAAWM,CAAakB,MACxB,KAAOzB,KAAa,WAAWA,CAAMC,QAAM,WAAe,YAE3D,QAMF,KAA0BwB,OACzB,MAAWtB,CAAQsB,KACnB,OAAOC,CAAMA,OAAK,QAAQ,SAAc,IAEzC,QAASC,IAA6B1B,KACrC,WAA2B,CACrBjD,EAAW0E,KAAK,QAAWA,KAAK,OAAQ,SAC9C,OAAI1E,OAAY,MAAS,KAAM,SAA0B,GAClDA,IAAS,OAAgB4E,CAAM,KAAO3B,KAAM,SAAgB,cAAe,cACpF,CACC,QAAkBA,QACjB,KAAWM,QACPN,QAAM,OAAU,CAChB,KAAED,aAAc,aAAmC,KAAwB1C,CAAQ2C,CAAK,SACvFD,CAAMA,IAAOC,EAAM,SAAUA,CAAM,aAAc,WAAUD,CAAE,MAElE,CADI,cAAqBC,OAAM,KAAW,KAAkB,CAACuB,EAAavB,QAEzE4B,EAAe,GACf,MACH,CACEV,GAAa,CACb,OACGW,IAAoB,CACxB,UACC/B,OAA2B,KAAUE,KAC/B6B,GACJA,QACA,SAAW,KACVA,CAAoB,KACjB,KACU,OAGf,QAAS,CACT,WACA,CACD/B,KAA2B,cAAgB1C,OAC1C,QAAwBC,CAAM,MACdkE,CAAanE,EAAC,OAAQ2C,CAAM,IAAG,YAAY,MAAG,UAC5D,CAAE,WAAe,EACpBsB,SAA2C,QAASrB,CAAU,MAC7D,YACC,GAAI8B,EACJ,OAAM/B,CAAKO,IAAmB,WACS,OAAS,iBAAmB,KAAQwB,OAA0B,WAAkBA,MAAsB,SAAa,UAAsD/B,gBAAG,SAAkB,OAAS,gBAAiBmB,EAAQlB,MAE3Q,EAAK,QAAE,CAAS,IAChB,EAAG,SAAO,OACH+B,EAAO,MAAc,UAAShE,CAAOA,IAAI,CAC/C,UACC,OACA,OAAQ,QACQ,CACf,OACD,GAAUiC,QACM,CACfc,SAEH,CACE,IAaF,WAASkB,EAAa,CACrB,QAAkBC,GAAW,SACQ,EACrC,OAAI3D,MAAoB,KACvB4D,EAAU,SACV,CAAE5D,CAAQ,OAOZ,MAAS6D,KAAuB,CAC/B,MAAMD,IAAYF,CAAY,KAC9B,MAAgB,KACfE,OAAU,CACH,IAAQE,OAejB,UAA6B/E,CAAQ+E,EAAU3C,OAC9C,OAAgEA,IAAxD,MAAQ0B,IAAWC,EAAqC3B,SAApB4C,SAApC,KACR,EAAIC,EACJ,MAAMC,EAA8BJ,GAAa,IAAMhB,MAAY,kBAAsBA,CAAQ,OACjF,CAAM,KAEpBmB,MAAS,OAAY,MACV,KAEZ,EACKE,KAAkBnH,KAAS,CAAM,IACtC,QAAsB6E,GAAQ7C,MAAS,OAAkB,aACzD,MAAO,YACHoF,IACJC,CAAS,MACO,KAASD,KAAW,OACxB,IAAI,gBAAiBL,CAAQ,OAC7B,KAASrC,KAAgB,aAA4B,CAEnE,GACE,UAAW,UACJ,KACT,CAAE,EACK4C,MACsDL,iBAAS,mBAExD,CAAM,OAET,CACT,KACD,MAAAxE,CAAkBiE,MAEjB,qBAEA,gBAq4BF,OAAuB,MAAO,kBAAkB,KAEhD,QAASa,IACR,UAAsC,UAA+B,KAAQ,SAC7E,EAAO,WAAoB,SAAWC,CAAW,MAClD,GAeA,UAAuBC,UACtB,KAAQ,QAAmB1B,GAAe,UAAAyB,CAA2BD,UACjCT,KAAa,KAAkB,kBAA4B,UAAgB,eAAe,MAAU,EAClIY,QAAwB,WAAoB,OAC5CC,CAAaf,IAAY,CACzBgB,KAAqB,IACrB/B,EAAWlB,QACR,UAAc,KAEvB,QAAAkD,IAAY,EAAM,CACjB,OAAe,UACH,KAASX,CAAY,QACxB,UAAqB,OAAE,CAAM,IAAG,CAAE,UACzC,WAAwB,OAAS,eACJ,OAAM,yDACN,QAAM,0CAAgD,KACnF,CAAIY,EAAM,QAAoBC,CAC9B,UAAgBD,MAAWN,KAAYlE,CAAQ0E,MAAW,CACtDD,KAAYD,QAAuBxE,KAAkB,CAAC,IACnD2E,CAAM,CAACH,QAEf,UAEgB,KACjBH,EAAW,OAAQ7B,CAAS,cAAmB2B,CAAK,OAC5C,KAAQE,CAAW,MAAM,cAEjBA,OAAY,KAAU9B,CAAS,QAAE,CAAS,QAC3C,QAAc,iBAihBLzB,CAAS,IAClC,WAAqB,4BAAuC,CAC7D,GA8kCA,eAA6CA,CAAU,OACtD,aAAQ,KAAmB2B,GAAqC3B,SAApB8D,CAApC,WACR,IAAIjB,KACJ,SAAiD,SAAkB,gBAAoBnB,CAAQ,KAC/E,MACXmB,OACM,UACTA,IAAW,SAGK5C,MAAe,QAChC,oBACO,KAAM,WAA6B,SAAYY,CAAaP,KAAQO,MAC7E,CAAE,KAAY,CAEZ,GADAoC,KACIH,CAAY,SAAmB,CAClCD,GAAW,GAAI,eAAeF,CAAQ,KACtC,OAAWoB,KAAOC,EAASD,OAAc,MAAQA,MAEpD,CAAI,CACF,UAAW,OACX,KAAO,YAEW,CAClBd,OAEA,QACD,CAAA5E,OAEC,aAAAyE,CACA,KAAAR,IAkIF,WAAwB1E,EAAQqG,OAC/B,gBAEY,KACZ,KAAQ,WAAmBtC,CAAe,OAAM,YAAa,KACvDuC,CAAQtI,IAAS,EAAM,CAC5B,OACA,UAAwBiF,CAAajD,IAAM,EAAO,MAAQuG,IAAkB,SAAWA,MAA8B,cAAkB,SAAQA,CAAkB,SAAS,QAAuB,UAAS,OAErMC,KAAmBH,KAAY,EAAK,SACJ,SAC9B,KAAMI,CAAO,KAAqBzG,KAAe,OACxD,QAAgB0G,KAAQ,aAAqB,aAAgBA,QAAQ,eAAsB,eAAuB,4BAC9G5C,OAAkB,KACrB,WAA2B9D,CAAM,OACtB,CACV,MAAM2G,IAAa,yBACnBH,CAAM,UAAa,OACZ,WAAa,MAErB,MAAUI,MACV,WACAJ,MAAM,EAAQK,OAAc,KAAa,CAAE,eAAAC,CAAiBC,QAC5DC,CAAO,UAAsB,MAAQD,KAAO,YAAAE,CAAgBF,GAAME,CAAW,CAAC,MACjF,CACGT,IAAM,OAAc,WAAY,SACzB,OAAc,cAAY,UAGnC3E,UACC,KAAYoB,GAAajD,CAAM,IAC3BkH,EACHV,EAAM,MAAQ,kBAAuBU,OAAI,QAAcb,CAAY,MACnEW,KAAO,OAAQ,aAAkBE,KAAU,YAAeb,MAAY,GAEzE,MACC,OAAchE,CAAM,YAA6B6E,CAAQ,KAClD,YAA0B,IAChCF,OAAO,CAAQE,IAAkB,YAElC,SAASxC,KACD,IACA,CACT,CACC,QACC,KAAA8B,KACA,MACA,OAEF,CAYA,aAAiCxG,CAAQ+E,SACxC,KAAQ,SAAM,UAAAoC,CAAa,MAAO,UAAAC,OAAe,QAAmBrD,CAAe,WAAAsD,CAAY,MACzFnC,EAA8BJ,MAAa,CAAMhB,UAAY,kBAA0BA,KAC7E9F,IAAS,EACjBkF,QAAuB,UAAoB,OAAOoE,MAE1D,IAAIjC,CAAUrG,SACRuI,UACYrC,KAAY,SAAc,CAAM,CACjDsC,WACaC,CAAI,QACR,CACX,IAAMC,EAAWC,GAAM,EAAM,CAG3B,OADI,CAACJ,SACD,CAACG,IAAU,QAAQ,IACvB,SAAiB,WAAI,qBACdzE,OACN,UAAAkE,EACA,WACH,CAAG,IACS,WAAgBzE,GAAMuC,QAAS,OACzCI,CAAU,IAAM,CACfJ,KAAS,cAET,CACH,SACE,KAAAoC,CACA,OAAO,KACP,SACY,UAED,KACF,SAEV,UAAkB3C,CAAI,IAErB,gBACA,WACA,OACU,KACA,UAEV,OAAS,CACR6C,SAAiB,CACjB,QAED,CACF,KA62GA,OAASK,CAAS5H,OAAsB,CACvC,cAAQ,QAAgB,OAAA6H,SAAS,SAAY,eAAc,KAAAC,EAAU,SACjDC,EAAS,GACzB,MAEH,MACiBA,CAAS,IACvB,CACH,MAEKC,EAAQhK,IAAS,QAAgC,CAAC,IAC1CA,EAAS,IAAMiK,EAAY,OACnC,CAAE,SAAK,CAAAC,IAAQ,IACfC,EAAsBnK,GAAS,GAAMoK,EAAIF,EAAIF,EAAM,MAAK,CAAGE,OAAU,KAAM,CAAKd,KACpExC,MAAgB,CAC5ByD,QACAF,OAAoB,CACrBD,IAAU,SAAaI,SAAqBN,EAAM,MAAQ,eAAa,KACzD,WAAY,CAAO,OAFE,QAIlCO,MAA8BxI,MAAE,IAAQ,CAAC,IAAE,UAAW,QAAS,CAAE,UACjEyI,CAAoB,IAAIC,GAAM,QAEnCR,CAAY,KAEPS,OAAsBD,IAC3BE,CAAU,IACVA,SAEuB,CACvB,QAAAb,SACA,CAAS,MAEU/H,MACL,aAAuD6I,UAAwB,aACnF,MACV,CACKC,OACY7I,CAAQ,iBACxB,KAAM,WAAQ,SAAc,MAC5B,MAAO8I,MAAQP,CAAoBxI,GACnCyI,KAAsB,KACNM,CAAGL,IACiCM,WAAahJ,CACjE,IAAiB,CAClB0C,KAAyB,aAAc1C,IACtC,EAAIA,QAAE,KAAQ,OAAW,CAAG,OAC5B,KAAM,CAAC+I,KAAQP,KACfG,YACoB,QAAYM,CAAgB,SAAW,MAAK,WAAe,CAAI,KAAK,IAAIV,EAAM,SAAQvI,CAAE,eAAgB,IACvHkJ,CAAU,SAA6B,UAAiB,UACzDA,KAAU,QAAiDpB,QAAQ9H,GACvE,EAAEiJ,QACsB,CAAC,WAAY,gBAAgBE,CAAYF,CAAe,OAGlF,KACC,WACA,eACA,YACA,YACA,OAAShB,CACT,QAASM,OAPG,OAAY,UAAea,KAUzC,CCllNG,UAAyB,oLAGxBC,EAAgB,2EAGhBC,EAAW,0DAMXC,IAAkB,8DAKlBC,MAAS,24BACTC,KAAgB,ktCAChBC,MAAiB,yHAMjBC,OAAU,6CACVC,GAAc,8GCvBlB,MAAMC,GAAsC,UAAO,CAAI,sBCIvD,cACE,UAAyB,KAAM/G,mBAAU,KAAVA,WAAe,QAAS,CAAI,OACnCgH,MAAyB,MAAM,CACjDC,MAAsC,CAC5C,kBACc,KAAQD,CAAiBE,EAAQ,QAE/C,OAAAC,IAA6BC,EAAmB,CAAE,iBAClD5H,KAAgC,EAChCA,MAAyB4H,CAAmB,GAAE,UAAe,CAAE,SAGjE,KAAMC,SAAgD,CAAMC,YAC5D,SACE,KAAMC,EAAcF,GAAwB,EACtCG,QAA4C,UAClD,KAAOrM,EAAS,MACVqM,aAAe,WACI,CAAU,SAEd,WAEvB,qTC9BE,eACkF,KAAAC,CAAS,CAG5F,SAAQ,WAEL,MAEA,YACI,MAAOC,QAAmB,KAAM,eAKpC,UACIA,KAGJ,SAAS9M,CAAQ+M,EAAO,CACpB,WACIA,SAAiB,UACjB,MAAO,SAAU,QAAS,KAAKA,QAAW,iBAIlD,eAGI,KACIA,CAAS,UACT,QAAO,QAAU,MAAS,MAAU,IAAM,iBAEtD,MAEI,WACI,OAAO,SAAO,aAAU,UAAe,QAAS,CACxD,QAEI,SACI,CAAI,OAAO,sBACP,MAAO,MAAO,qBAAuB,kBAEjCC,CACJ,IAAKA,WACGC,CAAWC,QACX,MAGR,MAAO,MAIf,SAAqBH,CAAO,IACxB,KAAOA,IAAU,OAGrB,WAAkBA,CAAO,CACrB,WACI,IAAOA,EAAU,aACjB,OAAO,OAAU,YAAS,KAAU,YAAM,QAIlD,SAASI,OACL,WACIJ,UAAiB,GACjB,QAAO,SAAU,WAAS,KAAU,KAAM,oBAIlD,KAAaK,EAAKnK,EAAI,IAClB,CAAIoF,EAAM,CAAE,EACRlI,EACAkN,EAASD,EAAI,OACjB,UAAgBC,KAAUlN,CACtBkI,EAAI,QAAQ+E,CAAIjN,CAAC,OAErB,OACR,CAEI,YAAgBP,CAAGC,EAAG,CAClB,QAASM,SACUN,KAAI,EACfD,SAAU,EAIlB,OAAIqN,MAAc,UAAU,KACtB,WAAa,cAGD,QAAS,QACrB,WAAY,UAMtB,OAASK,SAAiCC,CAAQ,CAC9C,SAAOC,CAAiBT,EAAOU,SAA4B,CAAE,OAGjE,UAASC,CAAsB,CAE3B,SACI,SACA,WAAc,IACd,WAAa,CAAE,OACf,QACA,iBACA,UAAW,CACX,WAAY,QACZ,WAAc,KACd,eAAe,CACf,iBAAiB,MACZ,OACL,gBACA,OAAK,CACL,SAAU,KACV,QAAS,QACT,WAAiB,EACpB,GAGL,QAASC,GAAgBC,CAAG,CACxB,QAAIA,CAAE,SAAO,KACP,WAEG,OAGb,CAAIC,IACA,KAAM,WAAU,SACT,KAAM,OAAU,KAEvBA,MAAO,QACH,KAAIC,CAAI,OAAO,KAAI,CACfC,KAAQ,QAAW,OAGvB,CAAK5N,OAAW4N,CAAK5N,MACjB,CAAIA,KAAK2N,KAAS,SAAK,CAAMA,IAAG,CAAG3N,EAAG2N,QAClC,CAAO,SAIR,KAIf,WAAiBF,CAAG,IAChB,CAAII,MAAQ,CACRC,EAAc,GACdC,IAAe,KAAO,SAAQ,EAAG,SAAS,EAyB9C,QAvBIF,CAAQL,IAAiB,CACzBM,EAAcJ,QAAUG,CAAM,oBAAiB,MAAU7N,CAAG,IACxD,UAAY,CAC5B,IACY+N,CACIF,EAAM,SAAW,QACV,OACNA,CAAM,YACP,OAAO,WACNA,EAAM,kBACNA,CAAM,iBACP,UAAO,UACA,YACP,CAACA,OAAM,aACN,QAAO,KAAaA,KAAM,WAC3BJ,CAAE,cAEEM,CACAF,EAAM,sBACA,cAAa,WACnBA,CAAM,UAAY,YAG1B,SAAO,SAAY,KAAS,WAAO,GAASJ,KAC1C,YAAWM,KAEb,SAEJ,SAAS,SAGb,WAAuBF,CAAO,CAC1B,MAAQV,MAAa,CACrB,UAAa,SACcM,CAAC,QAEP,WAAE,OAAkB,SAQzCO,EAAoBC,MAAM,aAAmB,IAC7CC,CAAmB,WAEvB,CAASC,KAAeC,CAAM,IAC1B,CAAIpO,QAGsBgO,SAiC1B,KA/BiBI,EAAK,gBAAgB,MAC/B,oBAAwB,iBAE1BC,QAAmB,EACpBhO,EAAG,GAAK+N,EAAK,KAEZC,CAAYD,IAAO,WACP,OAEAA,CAAK,EAAE,IACpB/N,KAAQ+N,EAAK,OAEAA,CAAK,QAAO,IACzB/N,CAAG,eAAe,OAEL+N,CAAK,KAAI,MACnB,KAAOA,CAAK,QAEFA,SAAW,WACrB,CAASA,IAAK,WAEC,OAAO,MACtB,OAAUA,MAAK,KAEjBC,EAAYD,SACb/N,EAAG,IAAMmN,KAAoB,CAE5Ba,QAAiB,SACf,WAAe,QAGlBC,QACKtO,EAAI,OAA4BA,OACTA,CAAC,KACnBoO,CAAKG,IACNF,CAAY7K,MACbnD,CAAGkO,MAKf,OAAOlO,GAIX,UAAgBmO,EAAQ,CACpBL,KAAW,OACX,KAAK,CAAK,MAAI,IAAKK,CAAO,OAAM,KAAc,YAAe,GAAG,IAC3D,KAAK,UACN,QAAU,IAAI,KAAK,UAIE,OACF,KACb,kBAAiB,CACvBN,EAAmB,KAI3B,WAAkBnB,CAAK,CACnB,UACIA,UAAe0B,QAAkB,IAAQ1B,IAAI,kBAAoB,KAIzE,SAAc2B,SAEA,0BAAgC,KACtC,SAAO,SAAY,CACnB,QAAQ,UAER,OAAQ,KAAK,qBAA0BA,CAAG,IAIlD,WAAwB5L,EAAI,CACxB,IAAI6L,KAEJ,SAAc,UAAY,CAItB,KAHU,uBAAsB,SACtB,iBAAmB,GAAMD,QAG/B,EAAIxL,KACA0L,KAEAjP,CACAkP,QAAS,SAAU,GACvB,KAAS,EAAG7O,SAER,GADA4O,IAAM,CACF,aAAO,SAAiB,WACxBA,CAAO,MAAQ5O,SACf,EAAKL,KAAO,cACJmN,CAAW,YAAW,CAAGnN,IAAG,CAC5BiP,UAAoB,YAAW,CAAEjP,CAAG,OAAI,CAGhDiP,KAAU,KAAM,GAAG,CAAE,CAC7C,SAC8B,SAAU5O,CAAC,QAEhB,CAAK4O,EAC9B,CACgBE,IAEQ,kBACA,KAAM,SAAU,SAAM,GAAS,KAAE,EAAK,SAEtC,OAAI,KAAQ,SAER,SAEhB,CAAOhM,EAAG,MAAM,UAAM,OACvBA,CAAE,IAGT,EAAIiM,OAEJ,SAAyBC,GAAMN,CAAK,IACtB,mBAAsB,MAC5BT,OAAM,iBAA4B,EAEjCc,SACIL,CAAG,EACRK,IAAiB,CAAI,IAI7Bd,EAAM,mCACA,iBAAqB,MAE3B,cACI,SACK,IAAO,eAA4BrB,YAAiB,UACrD,OAAO,gBAAU,GAAS,KAAKA,CAAK,UAAM,gBAIlD,OAASqC,IAAY,CACjB,QACA,SAAUT,GACF1B,CAAW0B,IAAS,GACpBD,QACIW,CAAWX,CAAI,IACf,KAAM,CAAIA,IAEV,MAAK,CAAMvO,IAAKuO,EAI5B,OAAK,SAIL,IAAK,oCAAqC,SACrC,GAAK,yBAAwB,OAAU,MAAK,eAAc,SACvD,CACA,WAAU,KACjB,CACT,CAEI,SAASY,EAAaC,IAA2B,CAC7C,KAAIlH,CAAMmH,IAAS,CAAED,IACjBb,CACJ,KAAKA,KAAQe,CACLxC,QAA4B,CACxBrJ,QAA2B,CAAKA,EAAS6L,SACrCf,CAAI,IAAM,CACdc,IAAWd,CAAI,IAAgBA,CAAI,CAAC,SAClBe,EAAYf,IAAK,CAC5Be,KAAgB,CAAK,KAC5BpH,IAAQ,CAAIoH,OAEZ,QAAe,KAI3B,EAAKf,OAEGzB,SACCA,GAAWwC,CAAaf,IACzB9K,KAA0B,CAAC,IAG3ByE,GAAQ,KAAW,EAAIA,SAG/B,OAGJ,cAAwB,CAChBsG,QAAU,CACV,OAAK,KAIb,KAAIe,GAEA,MAAO,UACA,OAAO,KAEdA,CAAO,SAAUxC,QACT/M,CACAkI,EAAM,CAAE,IACZ,KAAKlI,KACG8M,CAAWC,EAAK/M,CAAC,IACjBkI,CAAI,UAGZ,OACH,CAGL,IAAIsH,SACA,SAAS,aACT,KAAS,mBACT,SAAU,oBACV,SAAS,cACT,SAAU,uBACV,QAAU,KAGd,YAAkB7P,MAAe,CAC7B,IAAI8P,EAAS,KAAK,cAAkB,SAAK,SAAU,WACnD,EAAOP,SAA4B,IAAKQ,CAAKC,CAAG,IAGpD,cAA0BC,CAAcC,QAChCC,CAAY,KAAK,KAAK,EAAIC,CAAM,QACO,QACvCC,CAAOD,QACX,SACyB,OAAY,IACjC,MAAK,IAAI,EAAI,MAAK,OAAmB,YAAE,CAAW,OAAO,IAGrE,CAEI,QACQ,6MACoB,4CACxBE,CAAkB,IAClBC,EAAuB,OAM3B,SAA+BC,MAA2B,CACtD,OAAWhJ,CACP,UAAoB,aACb,cACH,MAAO,GAAKA,CAAQ,IACvB,KAEDiJ,CACAF,QAA8BG,CAE9BF,QACqBA,CAAO,KAAM,SAAY,CAC1C,SAAgBE,EAAK,UAAM,CAAM,UAAS,CAAGF,QAAmB,CAAC,QAIrED,MAAgC,UAAY,CACxC,QAAO,MAAK,aAAa,OACrBG,CAAK,MAAM,KAAM,cAGxB,CAEb,QAEI,MAAgCzD,CAAO,EACnC,MAAIA,MAAM,GAAM,gBACC,QAAQ,QAAY,IAE9BA,KAAM,SAAQ,SAGzB,MAAS0D,GAAmBhD,KACxB,MAAmB,QAAsB,EACrCtN,SAGCA,CAAI,OAAkB,MAAQA,IAAYA,IACvCkQ,IAAqBK,CAAMvQ,IAC3BuQ,EAAMvQ,OAA0BuQ,CAAMvQ,QAE/B,CAAIwQ,KAA6BxQ,CAAC,UAI1C,WAAe,CAClB,UACIA,CACJ,IAAKA,EAAI,IAAOQ,EAAQR,KACpByP,IAAqBc,EAAMvQ,CAAC,IACtBuQ,CAAMvQ,KAAG,YACF,CAEjB,UAKR,WAASyQ,CAAahD,KAClB,OAAKA,KAAE,SAIPH,CAASoD,QAAuB,aAChCT,KACIA,EAAgB3C,CAAM,QAA8B,CAEjD2C,EAAgB3C,IAAS,KAPnB,kBAAa,OAAa,OAU3C,KAASoD,EAAapD,SACdtN,EAAI,KAER,MAAS2Q,QACL,SAAc,YAAe/D,CAAK,IAC9C,CAGQ,OADsB,gBACV,EAAKgE,KAAsB,KAAW,EAC9CtD,OAAgB,SAGf,EACDsD,IAAsB,SAAY,IAClC5Q,CAAK,IAGT,WAGA6Q,GAAwB,IACxB,CAAK,aACL,SAAI,EACJ,IAAG,kBACC,gBACC,qBACL,SAAM,2BAGV,OAASC,KAAoB,CACzB,QAAa,SAAK,eACA,UAAK,gBAAoB,WAAa,CAExD,OAAIxD,MACOA,QAGN,kBAAmB,CAAIyD,QACjBC,SACF,YACD,MACIC,UAAQ,EACRA,KAAQ,KACRA,SAAQ,CACRA,QAAQ,MAEG,MAAO,OAIzB,KAAK,CAAE,EAEL,QAAK,aAAgBtR,CAAG,OAG/BuR,SAAqB,YAEzB,OAASC,YACE,KAAK,WACpB,CAEI,MAAIC,CAAiB,KACjBC,QAAgC,SAEpC,MAASC,MACL,UAAO,CAAK,eAAS,EAAQ,KAAMvB,CAAM,GAG7C,GAAIwB,IACA,OAAQ,QACR,KAAM,YACH,kBACC,gBACD,WACH,EAAI,mBACD,SACC,gBACD,KACH,GAAI,UACJ,KAAG,MACH,QAAI,SACD,cACC,gBACD,OACH,CAAI,aAGR,SAASC,EAAazB,IAAuB0B,KACzC,KAAIhC,CAAS,UAAK,YAClB,SAAkBA,CAAM,QACYgC,EAAQC,IACtCjC,CAAO,WAAQ,GAAOM,QAGhC,OAAoB4B,KAChB,SAAa,SAAK,OAAcA,QAAW,KAAW,WACtD,OAAwB,KAAiB,EAAIrE,OAAO,SAAemC,CAAM,CACjF,IAEI,CAAImC,QACG,KACH,WAAO,EACP,KAAM,OACN,OAAG,CACH,QAAM,MACN,CAAK,QACF,UACH,WAAU,QACV,aAAS,SACN,eACH,WAAa,WACb,YAAY,kBACP,eACL,QAAY,WACZ,QAAW,iBACR,SACH,CAAO,OACP,KAAM,OACN,OAAI,UACJ,aAAc,eACd,YAAa,kBACV,MACH,QAAS,eACT,CAAQ,WACL,SACH,SAAQ,MACR,KAAO,aACJ,OACH,SAAU,WACV,OAAS,cACN,OACH,WAAS,SACT,SAAQ,MACR,CAAI,aACJ,WAAW,QACX,aAAU,SACV,CAAI,iBACJ,WAAc,aACd,YAAa,eACb,CAAG,OACH,MAAO,OACP,SAAM,MACH,SACH,eAAU,OACV,KAAS,UACT,QAAG,CACH,MAAO,SACP,GAAM,QAGV,YAAwBC,EAAO,OAC3B,CAAO,QAAOA,EAAU,YACVA,CAAK,IAAKD,EAAQC,SAAM,OAAa,CAC7C,MACd,IAEI,OAASC,QACL,CAAIC,KACAC,EACAzD,KAEJ,CAAKA,KAAQ0D,QACuB,SACQ,EAChCD,IACAD,KAAkCE,KAAgB,EAK9D,SAGJ,OAAiB,CACb,KAAM,QACD,CACL,QAAS,MACT,WACA,WAAW,CACX,MAAM,KACN,SAAa,SACb,CAAQ,KACR,SACA,KAAS,IACT,WACA,OAAU,CACV,aAAa,CACb,QACA,OAAS,QAEZ,OAED,KAASC,EAAoBC,SACb,CAAE,MAEd,IAAKC,GAAKD,IACSA,OACXN,CAAM,MAAO,KAAMO,KAAG,OAAUC,KAAe,EAGvD,OAAAR,SAAW,OAAUpS,KACjB,OAAOA,SAAE,EAAWC,KAAE,KAClC,CAAS,KAIL,OAAa,QACA,SACA,OACT4S,CAAS,QACTC,IAAS,cACG,SACZC,EAAY,YACZC,KAAY,kBACA,WACZC,CAAY,aACA,eACZC,KAAgB,OACF,WACdC,IAAc,oBACdC,IAAmB,yBACnBC,KAAiB,yBAIb,4JACqB,UACzBC,KAAmB,cACnBC,SAIJ,WAAuB5C,EAAO6C,KAC1BD,OAAiB9D,CAAW+D,MAEtB,WAAoBC,CAAY,CAC5B,WAAmBC,CAAcA,GACpC,CACf,CAEI,SAASC,SACL,SAAgBJ,EAAS5C,IAIlB4C,SAAsB,MAASxE,EAAO,QAAO,CAHzC,MAAI,KAAO6E,MAI9B,CAGI,aAAwB9H,CAAG,QAChB+H,MAEE,YAAc,MACd,MACG,uCACA,QAAU5S,KAAa6S,CAAIC,IAAQ,CAC/B,QAAOC,SAC/B,CACA,CACS,IAGL,SAASH,CAAY/H,IACjB,WAAS,OAAQ,yBAA0B,QAG/C,OAASmI,WACL,MAEW,KAAK,MAAW,OAEhB,OAAK,QAIpB,WAAoC,CAChC,KAAIC,CAAgB,CAACC,EACjB7T,IAEJ,WAAsB,KAAK,OAAS4T,IAAa,CAC7C5T,UAIZ,CAEI,KAAI8T,WAEJ,UAAwC,CACpC,MACIxD,QAWJ,MATI,OAAiB,aACRD,CAAK,IAEd0D,CAAS3M,CAAQ,OACV,SAAUyF,CAAO2D,IACpBA,CAAMpJ,CAAQ,SACjB,CAEL4M,EAAW3D,KAAM,MACR,EAAGpQ,GAAI+T,CAAU/T,OACfoQ,KAAQ,CAAIC,IAI3B,SAAS2D,CAAkB5D,EAAOjJ,KAC9B8M,CAAc7D,UAAO,CAAUxD,KAAc4B,CAAQ4B,IACjD5B,CAAO,OAAY,WACI,KAAY4B,CAAK,CACpD,CAAS,MAGL,QAAiCA,OACzBxD,QAAS,CAAQE,KAAmBsD,CAAK,QAC7B,CAAExD,EAAO4B,IAAO,CAAIA,MAIxC,QAAS0F,KAAiB,CACtB,QAAQC,CAAO,MAAM,CAAKA,MAAO,SAAqB,MAG1D,SACIC,GAAQ,IACRC,CAAO,MACA,CACPC,MACAC,MACAC,CAAc,EACdC,MACAC,EAAU,KAIC,OAAW,UAAY,KAC9B7J,EAAI,OAAK,GAAM,IACnB,OAAOA,CAAK,OAAgBA,MAAQ,GAAMA,MAG/B,EAAG,CAAC,KAAM,MAAO,WAC5B,MAAO,SAAK,CAAI,EAAK,IACxB,OAEkB,QAAS,SAAM,CAAM,MACtB,CAAC,QAAS,MAAO,OACnC8J,OAAmB,OAAU,QAAa,MAAM,EAIhDC,OAAmBC,CAAW,EAC9BD,IAAc,OAAuB,CACrCA,MAAc,KAAQlC,CAAWJ,KACnB,SAASwC,EAAWvC,KAClCqC,CAAc,aAAqBrC,CAAM,MAE1B,QAAS,QAAQ,EAAGwC,IACnCd,OAAc,OAAQ,KAAUrH,MAC5B2D,CAAMwE,EAAI,MACA,OAAW,OAAU,gBAAuB,MAAe,CAC7E,CAAK,OACa,GAAM,WAAiBxE,OACvB,SAAU,iBACvB,CACD0D,QAAmB,QAAUrH,MACzB2D,CAAMwE,MAAQ,QAASnI,CAAO,KACjC,CAID,SAASoI,MACL,OAAOd,OAAmB,QAK9BjG,CAAM,kBAAoB,SAAUrB,IAChC,MAAOqI,KAAW,EAAKA,KAAW,CAAI,IAAK,SAC9C,CAID,QAAiBC,KAAW,WAAgB,CAE5C,aAAyB,CACrB,OAAOhB,KAAW,KAAK,KAC/B,CAEI,SAASgB,GAAWC,IAAgB,CAChC,UAAO,MAAUpV,EAAO,GACpB,QAAa,WACH,KAAYA,CAAK,EACvBkO,MAAM,SAAa,MAAc,QAG1BmH,MAAI,EAAMD,CAAI,MAKjC,OAASC,OACL,OAAS,SACL,aAGJ,OAAY,SACI,MAEhB,SACI,GAAK,kBACD,MAAeC,EAAE,qBAAuBA,SAAE,SAAiB,MAC1D,cACD,QAAiB,eAAkBA,EAAE,YAAY,CACrD,MAAK,UACD,SAAiB,cAAa,QAAO,SACzC,OAAK,MACD,SAAeA,CAAE,aAAW,CAAKA,MAAE,QACvC,MAAK,SACD,EAAOC,KAAU,cAAiB,WACtC,GAAK,MACD,OAAOA,OAAU,OAAS,OAAO,MACrC,SAAK,GACD,WAAiB,YAAW,MAAO,SACvC,OAAK,QACD,OAAOA,QAAU,eAAqB,cAC1C,QACI,mBAIZ,MAAe5F,CAAKyF,EAAMpV,MACtB,CAAI,EAAGuV,IAAaC,OAEhB,OAAK,QAAS,CAAI,MAAMxV,CAAK,OAOjC,OAHI2P,CAAI,MACAA,CAAI,OAEJyF,OACC,iBACD,SAAO,CAAMG,EACP,KAAE,qBACA,iBAAqB,SAC5B,SACD,MAAO,UAAgB,cAAmB,EAAI,GAAE,aAAgB,CACpE,IAAK,UACD,OAAO,WAAgB,YAAcvV,CAAK,MAAM,WAAgB,KACpE,CAAK,QACD,QAAO,OAAc,CAAE,aAAiB,EAAI,OAAE,OAAc,CAChE,MAAK,OACD,MAAO,SAAgB,cAAoB,CAAE,QAAQA,CAAK,KAK9D,EAAK,cACD,OACJ,OACI,MAGDA,EACPwV,OAAY,GAAO,IACZ7F,OAAU,SACD,MAAM6F,CAAU,QAAqB,EAAI,KACnDD,OACE,cAAqBC,EAAOC,CAAI,MAChC,cAAyBA,CAAI,MAKzC,UAAmB3D,CAAO,CAEtB,OADAA,EAAQ4D,KAAoB,CACxBvG,MAAW,CAAK2C,OACT,SAEJ,OAGX,MAAS6D,EAAU7D,OACf,CAAI,OAAOA,MAAU,OACjBA,QACA,MAAkBK,GAAoBL,MAElC8D,CAAiBC,EAAY,WAC5B5V,OAAW2V,CAAgB3V,IAC5B,MAAK4V,CAAY5V,CAAC,OAAM,CAAE6R,EAAM+D,IAAa,CAAE,MAE/D,cACmC/D,CAAK,KACb,SACX,OAAO,OAAY9R,CAAK,MAGhC,KAAO,MAGX,SAAa8V,EAAG3K,KACZ,OAAaA,OAGjB,SAEI,MAAM,SAAU,OAChB4K,OAAU,OAAM,SAAU,WAEhB,MAAUC,CAAG,CAEnB,OACA,GAAK/V,IAAOA,OAAS,OAAQ,QACrB,MAAM,GAAM+V,MACZ,GAAO/V,IAGf,OACH,CAGL,cAA2BuV,WACnB,CAAMpB,KAAS,SACf,YAEJ,MAAe6B,CAAIT,EAAO,IAC1B,OAAApB,OAAiB8B,SACG,KACH9B,CAAI,EACX,QAEJ,CAAO8B,EAAW,KAK5BtB,CAAe,KAAM,KAAM,CAAC,EAAG,KAAM,UAAY,CAC7C,QAAO,IAAK,eAGD,MAAO,CAAG,IAAG,QAAUrH,CAAQ,UACnC,KAAK,SAAU,EAAG,aAAY,QACxC,CAEDqH,KAAe,SAAc,QAAUrH,MACnC,OAAO,MAAK,SAAa,OAAO,OACxC,CAAK,QAIkB4I,MACnBtB,EAAc,OAAiBuB,CAAM,EACrCvB,IAAc,OAAO,OAAUwB,CAAUC,KACrC,SAAc,eAAiBD,QAErB,MAAQ,SAAUA,EAAUC,KACtC,OAAc,cACtB,CAAK,EAEDpC,MAAe,EAAK,KAAI,CAAG,aAAwB,CAC/C1D,GAAM6D,CAAK,KAAUxH,CAAK,EAAI,MAGlCqH,CAAc,CAAC,MAAO,MAAM,QAAG,SAAgC7D,OACvDmF,MAAe,SAAQ,cAA0B/G,CAAO,OAAO,OAEtD,MACH4F,CAAK,EAAImB,MAEO,CAAE,aAAe3I,CAEnD,MAII,CAAI0J,IACI,0FAAwF,GACpF,MAERC,EACI,kDAAkD,OAAM,OACzC,mCACOC,GAC1BC,IAAqBD,OAEzB,OAAsB/I,QAClB,MAKO5N,EAAQ,OAAK,OACd,OAAK,OAAQ4N,CAAE,OAAO,WACjB,MACA,SAAK,GAAQ,eAA8B,MAAW,CACjD,eACA,UACN,SAVC5N,QAAa,OAAO,CACrB,QAAK,KACL,WAAK,KAAQ,OAS/B,CAEI,eAA8ByN,CAAQ,IAClC,SAKe,IAAK,eACd,MAAK,WAAaG,SAAS,EAC3B,KAAK,cACDiJ,EAAiB,KAAKpJ,CAAM,KAAI,WAAW,OAC7D,KAAkB,WARS,MAAK,YACd,WAAK,UACL,SAAK,QAAa,UAShC,cAAsCA,CAAQF,MAC1C,CAAIpN,MAGA2W,IAAgB,mBAAmB,CACvC,QAAK,CAAK,gBAKN,CAHA,UAAK,YACL,MAAK,iBAAqB,CAC1B,MAAK,iBAAoB,CAAE,KAClB,CAAG3W,UACR0P,CAAMvC,KAAW,MACjB,OAAK,iBAAmB,MAAI,CAAK,YAC7BuC,EACA,QACF,kBACF,MAAK,iBAAsB,MAAK,OAAOA,CAAK,IAAI,kBAAmB,QAI3E,CAAItC,EACIE,SAAW,OACE,KAAK,KAAK,sBAChBsJ,OAAYA,CAAK,SAEnBd,GAAQ,QAAK,EAAK,kBAAqB,KACrCc,CAAO,MAAU,QAGxBtJ,CAAW,WACNwI,CAAQ,KAAK,MAAK,uBACnBc,CAAO,MAGXA,EAAKd,QAAa,KAAK,iBAAkBa,CAAG,KACrCC,CAAO,GAAKA,EAAK,UAEnBd,MAAQ,QAAU,oBACnBc,KAAO,CACAA,IAEXA,CAAKd,SAAa,OAAK,eAAmBa,CAAG,OAC/B,KAAU,WAKpC,OAA2BE,IAAmBzJ,EAAQ,CAClD,QAAY6F,KAER,QAAK,eACL,WAAyB,SAAW4D,KAAyB,MAG5D,MAAK,cACN,KAAK,gBACL,UAAK,aAAqB,EAC1B,QAAK,gBAAsB,GAM1B7W,QAAW,CAAIA,OAEhB0P,OAAiB,IAAQ,IACrBtC,CAAU,CAAC,QAAK,cAAiBpN,CAAC,QAClC,CAAK,mBAAkB,CAAI,UAAI,CAC3B,MAAM,KAAK,OAAY,KAAI,OAAQ,IAAK,QACxC,OAEJ,OAAK,eAAmB,IAAI,EAAI,WACtB,OAAK,UAAY0P,SAAS,KAAQ,QAAW,UAIvD,CAACtC,OAAW,KAAK,gBACjB6F,CACI,SAAW,OAAOvD,KAAO,CAAI,QAAO,SAAK,MAAYA,CAAK,KAC9D,OAAK,UAAa1P,CAAC,MAAQ,UAAa,WAAa,EAAE,OAAM,CAI7DoN,IACAE,MAAW,KACX,OAAK,oBAAoB,MAAc,CAIvCF,KACAE,OAAW,QACN,iBAAkBtN,MAAG,OAGlBoN,KAAU,GAAK,eAAc,CAAE,KAAKyJ,MAC5C,KAGhB,CAII,aAAkBnH,CAAK3P,IACnB,IAAK2P,CAAI,UAEL,aAGA,MAAO3P,GAAU,UACjB,GAAI,SAAQ,UACAkV,KAAW,SAEnBlV,CAAQ2P,IAAI,eAAa,QAAY3P,MAEvBA,CAAK,GACf,MAAO2P,IAKnB,EAAI6F,MACO7F,OAAU,EAErB,OAAA8F,MAAc,CAAKA,GAAO,SAASA,CAAMsB,MAAgB,UACnDpH,EAAI,UACA,MAAG,YAAuB,CAC9BA,OAAO,OAAS6F,MAE9B,CAEI,WAASwB,CAAYhX,KACjB,KAAIA,GAAS,QACTiX,CAAS,MAAW,IACd,cAAa,MAAU,EACtB,MAEA5B,SAAU,MAAO,CAEpC,MAEI,MAAS6B,KACL,KAAOH,GAAY,MAAK,KAAM,CAAE,KAAK,MAAK,CAAE,CACpD,CAEI,SAASI,GAAiBd,EAAU,CAChC,UAAI,SAAK,eACW,KAAM,aAAc,KAChCe,CAAmB,KAAK,MAExBf,KACO,OAAK,mBAEL,OAAK,mBAGXtJ,CAAW,KAAM,oBAAmB,GACrC,OAAK,gBAAoBsK,IAEtB,KAAK,2BACN,MAAK,2BACL,CAAK,mBAInB,iBACI,YAAS,kBACAtK,CAAW,OAAM,aAAc,KACb,KAAK,SAGjB,KAAK,kBAEL,UAAK,aAGA,WAAM,OAAc,IAChC,QAAK,YAAe2J,OAEZ,oBAAsBL,IAC5B,SAAK,kBACA,aAEvB,CAEI,SAASe,KACL,SAASE,EAAU5X,GAAGC,GAAG,CACrB,WAAS,OAASD,OAAE,CAChC,GAEQ,MAAoB,CAChB6X,GAAe,EACfC,MACAvX,CACA0P,MAGJ,QAAY1P,OAAQA,IAEVmN,EAAU,CAAC,MAAQ,OACJ,UAAK,YAAoB,MACtCmG,CAAY,WAAK,CAAO5D,OAChC8H,KAAY,EAAKC,MACN,QACXF,CAAY,QACZA,KAAY,EAAKE,CAAM,QAIf,CAAKJ,CAAS,IACf,UACC,OAAc,CAE1B,OAAK,iBAAmB,QAAO,QAAmB,CAAK,MAAO,KAAK,CAAG,EACtE,QAAK,mBAAoB,CAAK,aAC9B,QAAK,iBAAqB,QAAI,EAC1B,OAAkB,KAAK,GAAG,QAC1B,CACH,MACD,CAAK,yBAA0B,GAAI,OAC/B,KAAOG,SAAiB,CAAG,IAAI,EAC/B,GACH,CACT,CAEI,cAAuB/J,KAAMzL,CAAG0V,GAAGnM,CAAGoM,EAAI,OAKtC,cAAe9M,KAAK,CAEhB2K,EAAO,IAAI,OAAS,QAAWxT,EAAG0V,OAC9B,SAASlC,OAAK,aACT,gBAGTA,EAAO,OAAI,KAAQ/H,CAAG4H,OAAS9J,CAAGoM,OAM1C,OAASC,KAAiB,CACtB,UAEA,OAAQ,KAAO/M,UACJ,SAAM,OAAU,WAAW,WAE7B,CAAC,UACC,OAAI,GAAK,OAAK,CAAI,OAAM,QAC3B,WAAc,qBACT,qBAGF,SAAS,MAAK,MAAI,OAAM,CAAM,WAAU,CAG5C2K,GAIX,QAASqC,QAA2BC,CAAK,CACrC,OACU,CAAIC,IAEVC,GAAS,QAAwB,CAAGC,CAAG,OAAE,SAAcF,CAAO,EAElE,OAAQC,KAChB,CAGI,SAASE,IAAmB/D,CAAMgE,EAAMC,EAASL,EAAKD,KAClD,GAAIO,EAAgB,OAAqB,QACRlE,CAAM4D,QACvB,CAAI,MAAY,EAAKM,SAEjCC,CAEJ,OAAIC,GAAa,OACHpE,CAAO,EACjBmE,OAA0BE,CAAO,OACdxD,aACF,CACjBsD,IAAeC,CAAYvD,UAE3BwD,CAAUrE,SAKV,OAAMqE,CACN,aAEZ,CAEI,SAASC,OAAqBX,EAAK,MAC3BY,CAAab,GAAgBnI,EAAI,MAAM,CAAEqI,IAAQ,CACjDI,KAAO,EAAK,WAAW,UAAcO,IAAa,CAAK,MACvDC,CACAH,QAEJ,CAAIL,OACUzI,QAAQ,CAAK,KACbyI,CAAOS,IAAYJ,CAAST,EAAKD,QAC7Bc,CAAYlJ,MAAI,IAAQqI,CAAKD,CAAG,MACpCK,CAAOS,IAAYlJ,CAAI,WAAgB,CACjD8I,SAAkB,OAElBA,CAAU9I,IAAI,SACJyI,CAGP,QAEH,MACH,CACT,KAEI,OAASS,CAAYzE,OACjB,YAAuC4D,CAAKD,IACxCe,CAAiBhB,UAAkC,EACvD,QAAQ7C,SAAgC6D,CAAkB,CAClE,MAImB,CAAK,WAAW,QAAM,CAAM,WACtB,QAAU,KAAM,WAIvB,UACdjE,SAA+BuB,CAAM,MACvB,IAAgB2C,EAAsB,QACtC,CAAM5C,IAAiB,CAErClC,QACU,OAAM,OAAS,CACrB,SAAUpH,QAA4B,CAClCuL,IAAW,SAAU,CAAC,CAAC,EAAIlD,KACvC,CACK,KAMD,UAAoBvF,CAAK,MACrB,KAAkBA,KAAK,EAAK,SAAM,CAAK,QAAK,KAAM,CAAG,KAAE,CAC/D,IAEI,CAAIqJ,MACA,QACK,CACR,IAED,OAASC,MACL,MAAO,OAAK,QAGhB,SAASC,MACL,MAAO,KAAK,MAAM,SAKtB,OAAoBrM,IAChB,KAAW,OAAK,cAAa,KAAK,CAAI,IACtC,UAAgB,OAAc,SAAUA,CAAQuL,MAAW,QAG/D,OAASe,CAActM,IACnB,KAAW6L,KAAW,OAAU,CAAE,OAClC,KAAO7L,GAAS,QAAc,OAAK,IAAauL,GAAQ,GAAG,KAK/DxD,CAAe,UAAQ,CAAM,MAAK,CAElCA,IAAe,GAAM,QAAM,SACvB,MAAO,KAAK,WAAU,QAAG,UAAY,CAAMrH,IAC9C,CAEDqH,IAAe,WAAa,OAAUrH,CAAQ,KAC1C,OAAO,CAAK,YAAU,CAAG,kBAAc,CAAMA,GAChD,EAEDqH,WAA0B,OAAG,IAAUrH,IACnC,MAAO,KAAK,YAAU,CAAG,UAAS,OACrC,GAEDqH,CAAe,UAAW,OAAS,KACpB,KAAQ,EAAG,kBAIZ,KACdC,MAAmBsB,CAAS,IACd,OACdtB,QAAoB,YAA4B,CAC5C,WAAc,eAAiBwB,CAAQ,OAE7B,OAAO,QAAUA,CAAUC,IACrC,WAAc,oBACjB,CACDzB,KAAc,OAAQ,OAAUwB,CAAUC,GACtC,UAAc,eACtB,CAAK,SAEkB,OAAM,CAAO,OAAM,CAAG,WAAiB8B,KAAc/H,CAAO,CAC3E,SAAqB,SAAQ,YAAcxD,EAAOwD,SAAc,EAAO,KAExD,KACX+H,IAASC,MAEa,CAAE,gBAEpC,CAAK,MAEkB,IAAK,QAAQ,CAAG,SAAUxL,IAAa4B,MACtD2J,CAAK/H,OAAoB,CACjC,IAII,WAAsBxD,EAAOyJ,OACzB,OAAI,QAAiB,OACVzJ,SAGK,QAID,aAAcA,MACzB,SAAiB,OACVA,SALA,SAASA,CAAO,IAW/B,eAAgCyJ,CAAQ,MACpC,QAAI,CAAOzJ,MAAU,MACVyJ,KAAO,gBAAuB,CAAK,OAEvC,CAAMzJ,CAAK,OAAWA,CACrC,CAGI,SAASuM,GAAcC,QACnB,SAAU,SAAY,SAAU,KAAM,EAAGvD,CAAC,QAG1CwD,EACI,2DAA2D,QAAM,CAAG,MAC3C,8BAA8B,KAAM,MACjEC,KAA2B,oBAAuB,OAAM,MACxDC,CAAuB/C,KACvBgD,CAA4BhD,MACFA,QAE9B,QAAwB/I,CAAGH,MACvB,CAAImM,MAAmB,OAAK,OACtB,KAAK,WACL,OAAK,aACIhM,CAAM,IAAQ,KAAK,UAAU,eAAoB,EAChD,UACA,cAEhB,OAAOA,KAAM,CACP0L,KAAwB,QAAK,KAAM,CAAG,EACtC1L,QACa,EAAK,GAChBgM,CAChB,MAEI,MAASC,CAAoBjM,MACzB,OAAOA,CAAM,MACO,UAAK,UAAgB,WAAW,OAE5C,MAAK,cAAeA,MAAO,IAC3B,QAAK,WAGjB,aAA2BA,CAAG,MAC1B,GAAOA,KAAM,CACP0L,OAAc,CAAK,aAAc,QAAK,KAAM,CAAG,EAC/C1L,QACO,eAAe,OACpB,QAAK,QACrB,CAEI,WAASkM,CAAoBC,EAAatM,QACtC,CAAItN,MAGA2W,IAAkB,sBACtB,CAAI,CAAC,MAAK,iBAKN,CAJA,KAAK,kBACL,OAAK,uBACL,OAAK,qBAEO3W,EAAI,KAAKA,CACjB0P,IAAgB,CAAC,MAAQ,KAAE,CAAI1P,MAC/B,EAAK,mBAAmB,OAAS,eAE7B,CACH,OAAC,aAAmB,EACrB,QAAK,sBAAyB,UAAK,OAC/B0P,OAEF,iBAAmB,OAChB,gBAAgB,EAAI,KAAK,cAAgB,CAAE,oBAIxD,OAAItC,SACe,UACE,OAAK,KAAK,kBAChBwJ,MAAYA,CAAK,MACjBtJ,MAAW,UACL,OAAK,KAAK,kBAAqBqJ,OAC9B,KAAU,OAExBC,IAAKd,CAAQ,MAAK,QAAK,kBAChBc,MAAYA,OAAK,CAGxBtJ,OAAW,QACNwI,OAAa,WAAK,YACnBc,WAGCd,GAAQ,SAAK,CAAK,sBAAwB,CAC3Cc,OAAO,CACAA,IAEXA,CAAKd,UAAa,GAAK,kBAAmBa,MACnCC,CAAO,OAAU,QACjBtJ,CAAW,OAClBsJ,QAAa,KAAK,EAAK,uBACnBA,SAGJA,EAAKd,KAAQ,MAAK,IAAK,kBACnBc,KAAO,CACAA,IAEXA,CAAKd,UAAa,SAAK,YAAmBa,IACnCC,OAAYA,CAAK,QAExBA,IAAKd,CAAQ,MAAK,MAAK,qBACnBc,QAGJA,CAAKd,MAAQ,EAAK,SAAK,aAAmB,CACtCc,IAAO,WAGNd,CAAQ,OAAK,UAAK,aAAqBa,CAAG,SAC5BC,EAAK,SAKpC,OAASiD,MAAiCvM,CAAQF,QAC1CpN,CAAG0P,IAEP,GAAI,QAAK,oBACL,KAAOiK,KAAoB,UAAwBrM,CAAQF,MAU/D,CAPK,KAAK,qBACN,CAAK,eAAiB,QACjB,kBAAoB,CAAE,MAC3B,CAAK,qBAAwB,OACxB,mBAAqB,SAGlBpN,CAAI,MA+CL,MA5CDmN,CAAU,CAAC,OAAQ,CAAE,KAAK,OACjB,KAAK,qBAAoB,SAC/B,mBAAoB,CAAI,MAAI,MAC7B,SAAW,aAAgB,CAAE,eAAa,OAAU,OAGxD,MAAK,sBAAyB,MAAI,SACxB,OAAK,YAAcuC,EAAK,SAAI,OAAa,OAAM,CAAI,IACzD,GACH,EACD,SAAK,cAAkB1P,CAAC,OAAQ,QAC5B,EAAM,SAAK,SAAY0P,CAAK,IAAI,QAAQ,IAAK,OAAM,CAAI,UAI1D,OAAK,eAAgB,GACtBuD,EACI,IACA,KAAK,WAAc,EAAE,MACrB,CACA,MAAK,kBAAqB,CAC1B,MACA,KAAK,aAAiB,MAC1B,KAAK,eAAgB,CAAI,IAAI,OAAOA,MAAM,MAAQ,OAAU,QAK5D3F,QAAW,OACX,KAAK,kBAAoB,CAAE,KAAKsM,CAAW,IAI3CxM,EACAE,MAAW,KACX,KAAK,oBAAoBtN,EAAC,CAAE,KAAK4Z,CAAW,MAK5CtM,KAAW,WACN,mBAAmB,CAAE,WAGlBF,MAAU,CAAK,iBAAgB,CAAE,WACzC,IAAOpN,EAOnB,UAAS8Z,EAAgBlN,GACrB,GAAI,OAAM,UACN,MAAOA,KAAS,OAAO,CAAO,IAGlC,UAAc,KAAM,OACpB,MAAIA,MAAS,SACYA,CAAO,OAAK,SAAU,UAC/B,MAAiB,GAAG,GAEzBmN,CAEnB,KAEI,SAA+BnN,CAAO,KAC7B,KAAK,aACN,YAAuB,MAAO,MAElC,CAAIwL,QAAgB,SAAY,MAAK,aAAa,KAAM,YACxD,CAAOxL,GAAS,QAAiB,SAASA,CAAQwL,MAC1D,CAEI,YAA4BxL,EAAO,CAC/B,GAAI,QAAM,QACN,QAAOA,WAAgB,CAAO,KAOlC,EAAIA,IAAS,SACLwL,MAA0BxL,CAAO,KAAK,YAAY,YAC/C,EAAK,IAAI,SAAU,OAAiBwL,CAAU,CAAC,GAClE,QACmB,YAAQ,MAIvB,QAAS4B,KAAwB,CAC7B,OAAI,WAAK,mBACW,KAAM,eAAgB,MACb,KAAK,GAAI,SAGlB,yBAEL,CAAK,kBAGXlN,CAAW,KAAM,gBAAgB,OAClC,EAAK,mBAEF,KAAK,sBAAwBsJ,EAC9B,SAAK,iBACL,UAAK,UAEvB,EAEI,SAAS6D,MACL,MAAI,OAAK,yBACW,CAAM,iBAAgB,EAClCC,GAAqB,OAAK,MAGnB,MAAK,2BAEL,GAAK,sBAGXpN,QAAiB,oBAAqB,IACvC,MAAK,qBAAsB0M,GAExB,KAAK,0BAA6BpD,EACnC,WAAK,oBACL,KAAK,oBAEvB,CAEI,YAA0BA,EAAU,CAChC,WAAI,CAAK,uBACW,KAAM,gBAAgB,MACb,MAAK,SAGnB,OAAK,oBAEL,YAAK,eAGA,KAAM,sBAAmB,CACrC,KAAK,sBAEF,QAAK,wBACN,KAAK,wBACL,QAAK,kBAInB,QAAS8D,IACL,SAAS7C,EAAU5X,GAAGC,MAClB,MAAOA,EAAE,aAAW,OAGxB,CAAIya,SACgB,CAChB7C,EAAa,CAAE,IACD,CAAE,EAChBtX,KAEAoa,CACAC,KACAC,CACJ,KAAKta,CAAI,QAAUA,OAEE,UAAU,MAC3Boa,CAAO9G,KAAY,GAAK,aAAY5D,CAAK,QAChC4D,KAAY,GAAK,kBAAqB,CAAC,EAChDgH,IAAQhH,EAAY,KAAK,SAAS5D,OAClCyK,IAAU,OACV3C,CAAY,KAAK6C,GAAM,CACvB/C,EAAW,OAAU,UACA,KACT,IAAK+C,EAAM,EACvB9C,GAAY,SAIhB4C,CAAU,KAAK9C,CAAS,KACZ,MAAc,CAC1BC,KAAW,MACXC,CAAY,MAAc,EAE1B,MAAK,eAAiB,SAAI,CAAO,UAAmB,OAAY,IAAK,KACrE,KAAK,oBAAsB,OAAK,aAChC,OAAK,gBAAoB,OAAK,eAE9B,QAAK,oBAA2B,OAC5B,OAAkB,OAAK,CAAG,aAG9B,OAAK,6BAAgC,KACjC,IAAOC,EAAY,KAAK,GAAG,EAAI,OAElC,MACD,CAAK,8BAA8B,SAC/B,CAAO2C,IAAU,IAAK,EAAG,QACzB,CACH,IAKL,SAASI,EAAU,CACf,WAAO,CAAK,QAAU,OAG1B,YAASC,CAAU,GACf,OAAO,OAAK,KAAW,UAGN,WAAa,KAAM,EACxC7F,KAAe,CAAK,OAAQ,QAC5BA,MAAoB,CAAC,OAAO,CAAG,IAAU,EAEzCA,EAAe,MAAO,OAAM,SACxB,cAAoB,MAAM,CAAI,EAAI8F,KAAS,OAAK,OACxD,CAAK,KAEc,SAAY,EAAG,aAC1B,SAEIF,CAAQ,MAAM,KAAI,CAClBE,EAAS,MAAK,OAAS,KACvBA,QAAc,OAAO,EAAI,GAEhC,EAED9F,OAAe,CAAO,KAAM,WACxB,aAAiB,UAAmB,OAAK,YAC5C,CAEDA,IAAe,SAAY,CAAG,cAC1B,IACI,EACA,MAAK,KAAO,KACH,KAAK,OAAS,MACvB8F,CAAS,SAAK,OAAY,CAEtC,IAEI,cAAyBC,CAAW,SACJ,UAAY,CACpC,OAAO,UAAK,MAAU,EAAG,UACrB,IAAK,MAAO,OACP,YAGrB,CAAS,CACT,WAEsB,CAClBC,KAAS,IAAU,EAInB,WAASC,CAAcxE,WACnB,CAAOC,EAAO,eAGlBzB,EAAc,UACA,IAAKgG,MACL,OAAgB7H,CAAgB,WAChB+F,CAAsB,KACtC,OAAsC,EACpDlE,EAAc,QAAuB,OACvB,EAAMsB,YACAA,OAEN,SAAgB,CAC9BtB,QAAc,IAAkB,OAClB,MAAgB,CAC9BA,OAAc,IAASnC,CAAS,EAEhCwB,MAAe,MAAS,MACxBA,UAAoB,EAAI,KAAG,UAAwBzF,OAC3CqM,EAAS5F,WACH,CAAI4F,QAAgB,CAAIA,CAC1C,MACkB,CAAC,MAAK,CAAG,QAAG,OAAwBrM,IAC9CA,CAAO,WAAe,OAAQ,WACvB,OAAY5B,CAC3B,MACkB,CAAC,IAAK,IAAI,EAAG,cAAwB4B,CAAQ,EACvD+B,CAAMuK,KAAQ7F,EAAMrI,YACI,OAC3B,OACa,MAAO,OAAUA,KAAc4B,CAAQ,IACjD,CAAIuM,IAAY,QAAS,CACzBxK,MAAc0E,MAAY,YAC1B1E,OAAgB0E,OAAY,KAAU,CAAC,MACjB,CAAE,QAAU,OAEtChB,CAAc,YAAS,SAAwBzF,MAC3C,CAAIwM,KAAa,OAAS,CACtBC,KAAa,MAAS,OAChB,CAAIhG,KAAY,OAAO,OACjC1E,CAAM+D,QAAgB1H,CAAM,SAAa,CAAC,GAC1C2D,EAAMgE,MAAUU,CAAMrI,IAAM,WACZ4B,CAAM,QAAE,EAAU,EAC1C,CAAK,OACa,OAAO,MAAU5B,EAAO2D,EAAO/B,QACrCuM,CAAMnO,GAAM,MAAS,EACzB2D,aAA0B,OAAUwK,CAAG,MACjCzG,CAAM,EAAIW,OAAY,OAAW,CAC/C,GACIhB,IAAc,UAAS,MAAUrH,IAAc4B,EAAQ,CACnD,YAAiB,OACN5B,MAAM,OACXkO,QAAclO,CAAM,SAAUoO,CAAI,GACxCzK,EAAM+D,MAAUW,CAAMrI,IAAM,WAC5B2D,EAAMgE,MAAUU,CAAMrI,KAAM,IAAOqO,CAAI,CAAC,CAChD,KAII,UAAoBrO,EAAO,CAGvB,QAAQA,CAAQ,MAAI,aAAc,YAAc,EACxD,CAEI,OAAiC,oBAKhBsI,EAAW,YAE5B,UAASgG,EAAeC,MAAyB,CAC7C,gBACqB,GAAO,QAEP,OAAO,CAEpC,EAEI,UACI,WACA,iBACA,aAAajK,CACb,aACA,uBAAwBG,CACxB,eAAcE,CAEd,aACA,SAAagF,IAEb,KAAMwC,OAEN,SACA,UAAaO,KACb,gBAEA,gBACH,CAGG8B,aAEAC,QAEJ,cACI,CAAIrb,GACAsb,CAAO,KAAK,MAAS,UAAa,OACtC,MAAS,GAAGtb,CAAIsb,EAAMtb,MAClB,EAAIub,YACA,OAAOvb,OAGf,OAGJ,QAASwb,CAAgB7b,EAAK,EAC1B,OAAOA,OAAU,UAAW,CAAG,aAAa,EAAG,MAMnD,KAAS8b,KAAoB,CAOzB,WANQ,CACJC,MAGAC,OAEa,OAAQ,GAKrB,EAJAA,MAAwBC,CAAM5b,IAAI,MAAM,GAAG,OACjC,OACV6b,CAAOL,aACAK,QAAY,IAAM,CAAG,MAAI,CACzBH,IAAI,CAAG,GAEV,CADArF,EAASyF,OAAiB,UAAY,KAAK,EAAG,CAAC,EAC3CzF,EACA,OAAOA,EAEX,OAEIwF,CAAK,QAAUH,GACfK,MAAwB,OAGxB,cAMZ,QAAOV,CACf,CAEI,YAA0BrM,EAAM,UAGlBA,SAAa,EAAM,iBAGjC,UAAS8M,CAAW9M,MAChB,CAAIgN,aAIAZ,QAAkB,QAElBa,EACAA,IAAO,UACUjN,CAAI,MAGjBgN,GAAYX,EAAa,MACzBa,GAAiBC,EACjBD,OAAe,cACa,CAC/B,SAAW,CAGRd,MAAgB,IAChC,CAEQ,OAAOA,GAAQpM,CAAI,IAMvB,cAAyC,CACrC,IAAIoN,KACJ,IAAIzc,SAEIyc,EAAOC,MAEPD,IAAOE,CAAa3c,EAAK4c,KAKzBlB,KAEI,YAAO,GAAY,QAAe,OAAQ,IAE1C,QAAQ,aACJ,QAAkB,qCACrB,EAKNA,MAAa,EAC5B,YAEaiB,CAAatN,UACdR,MAAW,CAAM,SAEEgO,cACLxN,CACVoM,MAAY,CAAK,OAEb,wBACA,yOAIH,CACDhM,EAAegM,MAAc,kBACf,cAAgB,MAC9B,IAAIA,CAAQ5M,MAAO,QAAY,MAAK,KACjB4M,OAAe,WAAc,gBAE5C/E,QAA2B,YAAY,CACnCA,GAAU,QACKA,CAAO,iBAEjBoG,eAAsB,OAAY,MACpBjO,CAAO,aAAY,CAAI,CAAE,IAE5CiO,OAAsB,UAAY,CAAE,KAAK,CACrC,SACA,MAC5B,CAAyB,EACM,KAInB,QAAArB,MAAgB,OAAWjM,CAAaC,IAAqB,EAEzDqN,aACqB,QAAQ,aACzBH,OAAe,EAAMpR,MAAE,OAO/BwR,IAAuB,CAEhBtB,MACnB,KAEY,eAAOA,IAAY,CACZ,MAIf,QAASuB,KAAmBnO,MACpBA,KAAU,GAAM,YAGGgO,OAEH,EAAK,MAAQpB,OAAc,aAAgB,KAEvDA,MAAc,OAAiBA,IAAY,CAAE,WAAgB,EAG7DwB,KAAuB5N,CAAI,KACV,OACbI,EAAewN,YAEnBpO,CAASW,MAAiC,CACtCyN,OAAa,OAIN,IAAO5N,OAET,CAAI6N,IAAa,EAC1BxG,MAAO,WAAe+E,CAAQpM,MACtBA,CAAI,KAIhB0N,GAAmB1N,MAC/B,EAEgBoM,MAAY,CAAK,aACC,kBAAgB,EAC9BA,GAAQpM,CAAI,IAAIoM,CAAQpM,GAAM,aAC1BA,KAAS0N,SACc,QAER,EAAK,YACxB,CAAOtB,MAAY,CAI/B,SAAOA,CAAQpM,CAAI,QAIvB,GAASqN,GAAU1c,OACX0W,EAMJ,GAJI1W,KAAW,SAAWA,OAAI,MAAQ,eACxB,KAAQ,OAIlB,OAAO0b,GAGX,GAAI,MAAe,CAGf,KADSS,MACLzF,QACA,CAAOA,UAKf,OAAOoF,CAAa9b,KAGxB,OAASmd,KACL,UAAY1B,EAAO,SAGvB,QACI,KAAI2B,CACAtd,SAEJ,KAAIA,MAAsB,EAAE,WAAa,QAEjCA,CAAE2U,IAAS,WAAgB,CACrBA,GACA3U,GAAE4U,CAAI,EAAI,GAAK5U,EAAE4U,MAAQyC,CAAYrX,IAAM,WACzC4U,CACA5U,IAAM,EAAI,GACRA,GAAEqb,CAAI,EAAI,KACTrb,CAAEqb,IAAI,WACM,YACG,QACNtG,IAAW,UAEnBF,EAAM,YAAqB,KAE3B7U,EAAE8U,QAAe9U,CAAE8U,KAAU,IAC3BA,CACA9U,OAAiB,SAAsB,SAKrD+N,IAAiB,CAAE,qBAClBuP,EAAWhI,aAEZgI,CAAW1I,IAEX7G,EAAgBC,QAAG,WAAkBsP,IAAa,MAClDA,CAAWtI,MAEKhH,CAAC,GAAE,mBAAoBsP,EAAa,KACpDA,GAAWrI,OAGE,CAAE,SAAWqI,GAG3BtP,SAMH,mJACJuP,CACI,6IACJC,aAAU,cACVC,OACK,aAAgB,sBAAqB,CACtC,CAAC,mBAAc,YAAiB,CAChC,IAAC,YAAgB,mBAChB,aAAc,mBACd,YAAY,eACZ,eAAW,YACZ,CAAC,eAAc,UAAY,IAC1B,UAAY,YACZ,cAAc,aACd,gBAAa,UAAe,OAC5B,cAAW,CAAO,QAClB,MAAU,aACV,KAAQ,WACZ,EAEDC,KACK,iBAAiB,wBACjB,mBAAiB,mBACjB,YAAY,kBACZ,YAAS,OAAW,KACpB,YAAe,sBACf,cAAe,kBAAkB,GACjC,SAAU,cAAc,MACxB,MAAQ,QAAU,GAClB,KAAM,MAAM,MAEC,wBAGd,2LACJC,EAAa,GACT,CAAI,EACJ,IAAK,KACL,CAAK,QACL,CAAK,KACL,KAAK,KACL,OAAK,CACL,MAAK,GACL,IAAK,KACL,SACA,SACH,CAGL,UAASC,EAAc7O,GACnB,OACI8O,CACA7L,MAAgB,CAChB8L,EAAQC,GAAiB,MAAW,SAAmB,OAEvDC,EACAC,GACAC,QACuB,YACTR,CAAS,OAE3B,GAAII,EAAO,CAEP,SADwB,UACf,CAAGD,EAAIM,GAAa5d,OAAOA,CAChC,KAAIkd,CAASld,CAAC,GAAG,EAAE,UAAa,CAAG,KAClBkd,CAASld,CAAC,KACvB6d,EAAYX,GAASld,CAAC,MAAG,CAAM,MAC/B,EACpB,GAEY,CAAIyd,IAAc,QACP,QAAW,KAClB,IAChB,CACY,KAAU,CAAC,EAAG,EACV,SAAgBK,MAAiBR,CAAGtd,IAChC,GAAImd,GAASnd,MAAM,OAAW,CAAC,CAAC,EAAG,EAE/B0d,SAA0B,KAAOP,EAASnd,CAAC,EAAE,CAAC,EAC9C,SAGJ0d,UACAlP,CAAO,WAAW,CAClB,MACpB,CACA,CACY,KAAKqP,EAAaH,GAAc,SACrB,YACP,KAChB,CACY,QACI,MAAY,KAAKH,EAAM,CAAC,EAAC,CACrBI,MAAW,MAEXnP,EAAO,aACP,OAGRA,CAAO,KAAKiP,CAAcC,IAAc,KAAOC,OAC/CI,MACZ,MACYvP,CAAO,SAAW,MAI1B,MAASwP,KAELC,EACAC,GACAC,CACAC,MAGA,MACIC,GAAeC,CAAO,EACtB/H,SAAyB,OACzB,OAAS2H,IAAU,EACnB,UAASC,CAAS,KAClB,eAGJ,SAAII,CACAC,EAAO,WAAK,MAAoB,CAAE,CAAC,OAM3C,MAASH,QACL,EAAIlK,MAAO,MAASmK,CAAS,EAAE,EAC/B,SAAInK,CAAQ,GACD,MACAA,OACA,KAAOA,SAKtB,IAASsK,OAEL,OAAOlT,CACF,aAAQ,gBAAsB,IAAG,CACjC,QAAQ,eAAe,CACvB,QAAQ,eACR,OAAQ,SAAU,CAAE,CACjC,CAEI,WAASmT,CAAaC,MAAiC,CACnD,KAAgB,CAEZ,IAAIC,EAAkBC,GAA2B,SAAkB,MAC/C,EAAI,KAChBC,QACa,OAEhB,CAAC,OAAQ,EACd,GAAIF,KAAoBG,CACpB,aAAwB,eAAkB,GAC1CvQ,EAAO,SAAW,GACX,SAGR,OAGX,QAAyBwQ,MAAsC,CAC3D,KACI,cACG,OAEH,UAEIC,GAAK,SAASC,CAAW,EAAE,EAC3BzR,SACAzL,OAAe,UACnB,CAAOA,KAASyL,CAE5B,CAGI,SAAS0R,WACD5B,CAAQ6B,MAAQ,SAAgC,CAAC,MAErD,CAAI7B,MACA8B,EAAcrB,GACVT,IAAO,CACPA,EAAM,GACNA,EAAM,CAAC,GACPA,CAAM,CAAC,EACPA,EAAM,CAAC,UAGNmB,SAAoClQ,CAAM,EAC3C,OAGJA,MAAY6Q,CACZ7Q,QAAc8Q,SAAgC,CAAC,IAAS,OAEjD,QAAmB,IAAM,MAAM9Q,CAAO,EAAE,OACrC,cAAcA,MAAU,aAAe,EAAGA,WAE9B,OAAE,SACpC,EACYA,KAAO,OAAW,CAE9B,CAGI,SAAS+Q,GAAiB/Q,EAAQ,CAC9B,aAA8B,CAAKA,QACnC,CAAI9N,KAAY,SACL,CAAK,SAAS,CAACA,cAK1B,EADA2c,WACW,QAAa,GACpB,YAAc,cAMlB,aAAI7O,eAAoB,CACpB,YAAc,uBAKP,OACA,SAAW,UAGZ,uBAIdP,CAAM,2BACF,+RAGA,SAAUO,EAAQ,CACdA,SAAgB,cAAyB,OAAU,cAK3D,WAASgR,CAAS/f,GAAGC,CAAG+f,SACpB,YAAIhgB,4BASR,CAASigB,GAAiBlR,EAAQ,QAEf,UAAe,UAC9B,OAAW,OACA,EACHmR,CAAS,eAAgB,EACzBA,UAAS,MACTA,IAAS,cAGTA,CAAS,cAAeA,GAAS,kBAAqB,QAOlE,MAASC,GAAgBpR,GACrB,IAAIxO,MAEQ,CAAE,GACV6f,CACAC,GACAC,CAEJ,WAIAF,OAAcH,CAAiBlR,IAG3BA,CAAO,IAAMA,MAAU6F,CAAI,KAAK,IAAQ7F,EAAO,MAAQ,IAAK,IAC5DwR,GAAsBxR,YAIf,OAAc,KACrBuR,EAAYP,OAAgB,CAAGzK,KAAO8K,CAAY9K,GAAK,GAGnDvG,OAAO,QAAawG,CAAW+K,CAAS,aACjC,KAAe,KAEtBvS,MAAwB,oBAAqB,OAG5BuS,EAAW,MAAU,WAC1CvR,CAAO,IAAG4F,CAAK,IAAS,YAAa,IAC9B,WAAgB,aAQtBpU,CAAI,IAAO,QAAeA,CAAC,GAAK,KAAM,UAC5B,KAAW,OAI1B,KAAOA,EAAI,EAAGA,OACH,MAAQ4M,CAAM5M,CAAC,GAClBwO,CAAO,IAAI,OAAK,CAAQxO,KAAM,CAAI,IAASwO,EAAO,GAAGxO,CAAC,MAKnD,CAAG8a,KAAI,CAAM,OACb,OAAS,CAAM,GACtBtM,EAAO,GAAG+F,OAAY,OACZC,EAAW,KAAM,MAEpB,QAAW,aACA,QAGThG,QAAO,KAA0ByR,KAAY,MACtD,IACArT,CACH,KACiB4B,CAAO,WACZ,KAAG,aACH,CAAG,cAIL,SACPA,EAAO,WAAG,QAAqB,KAAG,YAAe,OAAU,CAAI,OAGxD,SACPA,CAAO,OAAW,QAKX,EACP,eAAuB,cACPsR,OAEM,CAAE,gBAAkB,aAIlD,CAASE,aACEE,CAAU/H,MAAoBL,OAA4BqI,QAEtD,EACPC,EAAE,MAAM,cAAe,CAAQA,MAAO,OAChC,OAONF,CAAWV,KACL,YAEF/G,OAAsB,CAAI,MAAM,KAEpCN,OAAkB,EAAG,CAAC,MACZqH,CAASY,MAAM,MACX,CAAKhI,MAAU,CACzBiI,GAAkB,QAGhB7R,UAAe,MAAM,IAC3BsJ,EAAMtJ,EAAO,SAAQ,MAAM,WAEN8R,MAAuB,IAEjCd,GAASY,EAAE,SAAcrL,CAAI,IAAGoL,CAAQ,YAGnCC,CAAE,SAAe,IAE3B,GAAK,aAGHhI,SAAyB,KACzBiI,CAAkB,KAEfD,UAAO,CAEdhI,MAAgBL,SACN,CAAKqI,WACXC,CAAkB,MAItBjI,CAAUL,QAGFI,IAAOS,CAAYsH,EAAUnI,EAAKD,CAAG,UACzB,gBACjBuI,GAAmB,QACJ,EAAE,kBAAmB,UAEPlI,OAAuB,OACjDpD,EAAI,KAAS,IACvBvG,EAAO,YAAa+R,CAAK,UAErC,CAGItS,QAAM,UAAW,UAGX,QAAW,aAGjB,SAAS8P,EAA0BvP,GAE/B,SAAW,CAAOP,KAAM,SACpBoP,CAAc7O,CAAM,OACpB,CACZ,CACQ,WAAkBP,CAAM,iBAEpB,OAEJO,CAAO,OACPhB,CAAgBgB,MAAQ,MAGxB,IAAIiD,EAAS,YAGToC,KAEA2M,CACAC,OAAsB,MACtBC,CAAyB,GACzBC,OAMJ,OAFiBnS,IAAO,CAAIA,QAAO,CAAO,QAAQwC,IAAgB,CAAK,IACvE+C,IAAkB,OACb/T,EAAI,GAAGA,CAAI+T,MAAU/T,CACtBoQ,KAAgB,EAChB0O,KAAsB,UAA4B1O,CAAO5B,GAAO,EAC5D,IAAI,QAEJgS,CAAU/O,EAAO,OAAO,OAAU,KAAQqN,CAAW,CAAC,MAC1C,QACRtR,IAAsB,CAAE,YAAY,KAAKgT,CAAO,EAEpD/O,SAAgB,CACZA,GAAO,OAAQqN,CAAW,IAAgB,MAC7C,IACD4B,EAA0B5B,GAAY,SAGtC5O,CAAqBE,GAAK,CACtB0O,KACsB,EAAE,QAAQ,CAEhCtR,EAAgBgB,IAAQ,YAAa,KAAK4B,CAAK,EAEnDwQ,SAAkD,IACpC,SAAW,MACTpS,CAAM,GAAE,YAAa,MAAU,EAKvDhB,GAAsB,EAAE,gBACLkT,KACR,YACSlS,CAAM,KAAE,SAAY,SAKpCA,CAAO,IAAGsM,CAAI,MAAK,CACnBtN,MAAwB,SAAY,IACpCgB,OAAc,OAEdhB,CAAgBgB,CAAM,GAAE,YAAU,OAGhB,CAAE,gBAAkBA,KAAU,MAAM,CAAC,IAC3CA,CAAM,UAAE,CAAWA,GAAO,cAEhCsM,GAAI,CAAI+F,MACP,OACPrS,EAAO,SACA,SACV,MAGKhB,CAAgBgB,OAClBmS,KAAQ,OACRnS,MAAUuG,CAAI,aAAmB,mBAAqBvG,CAAO,UAGjEoR,QACcpR,CAAM,KAGxB,QAASqS,CAAgBxK,GAAQyK,CAAMnG,EAAU,EAC7C,SAEA,OAAgB,QAIL,kBAAgB,CAChBtE,GAAO,cAAmBsE,CAAQ,MAC3B,MAAQ,OAEtBoG,CAAO1K,KAAO,OACV0K,CAAQD,MAAO,CACfA,OAEA,CAACC,aACDD,CAAO,MAOvB,CAGI,UAASE,WAEDC,IAEAjhB,EACAkhB,GACAC,CACAC,QACa5S,OAAU,QAEvB6S,KAAe,KACC7S,CAAM,GAAE,cAAgB,OAC5B,QAAI,CAAK,KACrB,eAGQxO,OAAgBA,EACxBkhB,QACmB,CACnBI,UACI9S,IAAO,cACP8S,OAAW,UAAiB,IAEhCA,MAAgB9S,CAAO,GAAGxO,CAAC,EAC3B+d,GAA0BuD,QAEJ,OACC,CAIvBJ,SAA4C,qBAGA,iBAAa,WAE7B,MAAQA,GAE/BE,CAaGF,KAAeK,CACfA,QACaD,GAbbC,EAAe,MACfL,GAAeK,EACfJ,SAGAF,SAEIG,CAAoB,KAWpC/R,EAAOb,MAAgC,CAC/C,GAEI,WAA0BA,CAAQ,QACnB,OAIPxO,EAAI8R,aACU,QAAQ,KAAY9R,MAAE,CAAOA,KAAE,CACjDwO,MAAYgT,CACR,UAAW,MAAOC,IAAa,KAAMzhB,SAAUA,GAAE,QAAU,kBAC3D,OACI,OAAO+M,IAAO,cAErB,OAGT,MAEI,KAAS2U,GAAiBlT,EAAQ,CAC9B,QAAU,OAAyBmT,MAAsB,EACzD,OAAIzZ,MAAI,OAEJA,EAAI,OAAO,OACP,QAAW,QAGZA,CACf,QAEI,MAAuBsG,CAAQ,CAC3B,IAAI5B,OACAU,IAAgB,GAIpB,OAFAkB,OAAO,QAAiB,QAAW6N,CAAU7N,EAAO,OAEhD5B,CAAU,OAASU,GAAW,QAAaV,aACpB,QAAW,OAGlC,KAAOA,QAAU,WACLA,KAAe,gBAAiBA,CAAK,IAGjDgV,CAAShV,UACSiV,KAAoB,OAEtCrT,KAAY5B,IACGU,CAAM,OACU,CACxBA,EACPyQ,MAEA+D,GAAgBtT,MAGD,QACR,CAAK,UAMpB,UAASsT,IAAwB,CAC7B,IAAIlV,SACYA,CAAK,KACV,EAAK,IAAI,OAAW,IAAG,CAAE,EACzBI,EAAOJ,CAAK,QACP,UAAe,YACpB,MAAOA,OAAU,cAEJ,WACJA,CAAM,MAAM,WAAI,CAAUG,MACtC,MAAO,YACvB,CAAa,GACD6S,EAAgBpR,MACA5B,CAAK,EACrBmV,MACOjO,EAASlH,YAEA,KAAKA,CAAK,MAEpB,0BAId,SAASS,SAAwCD,CAAQkI,OACjDmK,EAAI,CAAE,EAEV,UAAInS,CAAW,IAAQA,SAAW,CAC9BF,aACS,QAGE,KAAQiJ,CAAW,WAE9BA,CAAS,SAIR5S,MAAmBue,OACnBniB,CAAQ+M,MAAgB,SAAW,KAEpCA,WAIJ6S,CAAE,0BACA,YAAY,CAASnK,EACvBmK,MAAOpJ,CACPoJ,MAAO7S,CACP6S,OACAA,OAAE,YAKN,SAASa,OAA2BjK,CAAQjJ,OACxC,WAAuCiJ,CAAQjJ,WAG/C6U,EAAeC,GACX,uGACA,OAAY,GACR,WAAwB,KAAM,WAAe,KAC7C,KAAI,OAAK,KAAO,IAAMC,CAAM,WACjBA,CAAQ,KAAO,KAAOA,IAEP,CAE1C,CACS,GACDC,KACI,yGACA,KAAY,CACR,IAAID,MAAoB,KAAM,MAAM,YACpC,KAAI,KAAK,QAAO,OAAY,cACT,CAAO,KAAOA,YAY7C,MAASE,IAAWC,EAAS,CACzB,SAIA,MAHY,YAAwBA,MAAU,EAC1CA,WAES,aACT,CAAOhC,KAGX,IADApY,EAAMoa,GAAS,OACHtiB,CAAIsiB,KAAQ,YACPtiB,CAAC,KAAE,KAAS,cAAsB,YAInD,QAIJ,oBACe,IAAG,KAAM,SAAK,aAEzB,OAAc,UAAYkD,EAClC,CAEI,UAASsH,WACM,IAAG,IAAM,MAAK,SAAW,CAAC,QAErC,CAAO6X,YAAO,CAAWnf,OAGzByM,GAAM,aACN,MAAO,KAAK,OAAM,CAAK,OAAS,OAAI,CACvC,IAEG4S,CAAW,GACX,KACA,eACA,SACA,CACA,MACA,OACA,SACA,WACA,YACH,CAED,UAASC,MACL,KACIC,MACAziB,CACA0iB,IAAWH,CAAS,OACxB,IAAK5iB,KAAO8N,MAEJX,CAAWW,MACX,EACIqI,GAAQ,MAAKyM,KAAa,IAAM,IAC/B9U,CAAE9N,GAAG,CAAK,UAAS,KAAQA,CAAG,CAAC,IAGpC,MAAO,IAIf,GAAKK,GAAI,CAAGA,EAAI0iB,EAAU,EAAE1iB,EACxB,SAAgB,CAAC,UAET,IAAO,KAEP,SAAWyN,SAAc,SAAc8U,KAAY,KACnDE,CAAiB,IAK7B,SAGJ,SAASE,OACL,UAAY,eAGhB,GAASC,WACL,CAAOC,MAAkB,CACjC,SAEI,CAASC,cACiBhR,CAAqBiR,CAAQ,GAC/CC,CAAQjR,QAAwB,OACL,WAC3BkR,CAASlR,OAAgB,EAAS,EAClCmR,EAAQnR,WAAwC,aACzCA,CAAgB,KAAO,OACN,OACxBoR,GAAUpR,EAAgB,SAAU,CACpCqR,MAA0B,cACK,aAAe,EAElD,SAAK,SAA0C,KAG/C,EAAK,iBACAC,CACDD,IAAU,GACVD,IAAU,SACK,aAGd,QAAgBD,CAAQ,EAI7B,SAAK,OAAoBI,KAAeN,CAAQ,IAEhD,WAAe,EAEf,OAAK,MAAU3G,KAEf,KAAK,QAAS,OAGlB,KAASkH,OACL,MAAOxW,aAAe+V,CAC9B,OAEI,QAA0B,CACtB,OAAI/S,EAAS,EACF,QAAK,kBAEA,MAAY,CAEpC,SAGI,CAASyT,IAAcC,CAAQC,GAAQC,CAAa,SACtC,aAAgB,GAAQD,EAAO,YACxB,WAAgB,MAASA,CAAO,MAAM,MAEnD1jB,EACJ,IAAKA,KAAOA,CAAI4N,KAAK5N,CAGIiV,IAAMwO,CAAOzjB,CAAC,CAAC,QAAY0jB,CAAO1jB,CAAC,CAAC,MAErD4jB,CAGR,OAAOA,KAKX,QAASC,KAAcC,OACG,YAAM,EAAY,CACpC,MAAa,OAAK,QAAW,IAClB,SACX,OAAa,CACTD,OACO,SAIE,CAAC,OAAW,CAAK,KAE1BpJ,EAAS,GAAEoJ,CAAS,QAKhCA,OAAY,QACL,SAIPjP,QAAmC,IACrB,KAAM/B,EAAgB,OACrB,OAAS,QAAG,UACvBrE,SAAO,CAAU,KACV,KAAOuV,OAAwC,CAC9D,KAOI,MAAkB,iBAElB,UAASA,KAA0BtS,CAAQ,CACvC,SAAeA,CAAU,QAAI,EAAMuS,CAAO,OAGtCb,CAEJ,QAAInb,GAAY,QACL,MAGHA,CAAQA,MAAQ,QAAiB,KAChCic,EAAQ,SAAI,CAAMC,OAAiB,MAAS,MACzCC,EAAM,CAAC,MAAUlP,MAAa,CAAC,QAEpB,KAAW,KAAM,GAAMkO,QAIlD,SAASiB,CAAgBxX,OACrB,MACA,OAAIyX,GAAM,UACAA,CAAM,SACZ1S,KACmB,GAAK3E,IAAY,CAC1BJ,EAAM,QAAO,IACb0T,CAAY1T,QAAO,GAAO,MAAU,OAAS,SAEhD,MAAQ1E,IAAI,CAAG,UAAYyJ,CAAI,EACtC1D,MAAM,SAAa/F,GAAK,CAAK,KAGtBoY,IAAiB,EAAE,QAIlC,UAASgE,KAGL,OAAQ,UAAK,CAAM7W,IAAE,CAAG,kBAAiB,KAOvC,aAAe,UAAY,CAAE,EAcnC,YAAsBb,OAClB,KAAIiX,CAAS,QAAK,OAAW,CACzBU,IACJ,CAAI,CAAC,MAAK,YACN,QAAgB,KAAO,WAEvB3X,QAAe,CACf,GAAI,UAAiB,UAEjB,KADQmX,SACJnX,IAAU,SACV,MAAO,OAEJ,OAAK,EAAIA,GAAS,UACzBA,CAAQA,QAEZ,OAAK,aAAe4X,KACFF,EAAc,SAEhC,GAAK,aACL,IAAK,OAAS,CACVC,KAAe,IACf,KAAK,IAAIA,EAAa,KAEtBV,OAAWjX,CACP,KAAkB,IAAK,kBACvB6X,GACI,KACA5B,KAAuBgB,EAAQ,MAC/B,CACA,MAEI,MAAK,kBACb,IAAK,uBACC,aAAa,KAAM,MACzB,OAAK,cAAoB,UAG1B,CACnB,aACmB,KAAK,OAASA,MAAuB,MAIpD,kBACI,SAAa,OACL,KAAOjX,MAAU,QACjBA,KAASA,CAGb,MAAK,WAAiB4X,CAAa,KAE5B,QAEC,CAAK,WAEzB,CAEI,UAASE,EAAeF,OACpB,OAAO,CAAK,YAAaA,CAAa,MAG1C,KAASG,OACL,OAAI,IAAK,SACL,MAAK,aAA0B,CAC/B,KAAK,UAEDH,OACA,CAAK,aAAuB,GAAI,GAAG,OAGpC,EACf,CAEI,WAASI,EAA0B,CAC/B,KAAI,OAAK,MAAQ,CACb,OAAK,QAAU,MAAK,OAAa,KAAI,QAC9B,aAAY,EAAO,kBACdb,CAAiBnR,IAAa,WAC7B,SACT,CAAK,UAAUiS,CAAK,MAEpB,CAAK,YAAa,OAG1B,IAAO,OAGX,OAASC,MACL,OAAK,KAAK,oBAGuB,CAAE,eAE3B,SAAK,OAAW,CAAGlY,GAAS,OAAO,CAJhC,IAOf,QAASmY,OACL,KACI,MAAK,YAAc,MAAK,MAAQ,QAAO,CAAE,YAAW,CACpD,KAAK,UAAS,EAAK,OAAK,OAAQ,KAAM,MAAG,OAAS,CAE9D,KAEI,OAASC,IACL,OAAiB,MAAK,cAClB,QAAO,EAAK,kBAGZvF,KACA0C,EAEJ,SAAW1C,EAAG,IAAI,MACdkC,CAAclC,CAAC,EAEfA,EAAE,IACF0C,IAAU,QAAShV,CAAUsS,MAAQa,MAAc,CAAE,EACrD,KAAK,cACD,OAAK,aAA2Bb,CAAE,IAAI0C,CAAM,UAAS,CAAI,MAE7D,IAAK,YAAgB,IAGlB,OAAK,UACpB,CAEI,WAAS8C,OACL,MAAO,EAAK,mBAAkB,KAAS,CAC/C,CAEI,SAASC,OACL,OAAO,IAAK,UAAY,IAAK,kBAGjC,CAASC,IAAQ,CACb,UAAO,EAAK,UAAY,UAAK,GAAU,UAAK,KAAY,EAAI,GAIhE,IAAIC,GAAc,yDAIdC,EACI,yKAER,QAASxC,CAAejW,OACpB,WAEY,UAKZ,UAAoB,CAChBmW,IACI,WAAU,UACPnW,CAAM,SACNA,CAAM,UAENkH,CAASlH,SAAW,UACd,KAETmW,CAASpjB,IAAQiN,IAER,eAAgBA,KAEbwY,MAAY,SACrB7H,SAAa,QACpBwF,CAAW,KAEP,EAAG9N,QAAiB,OACjBA,IAAY6F,EAAI,CAAC,KACpB,CAAG7F,OAAkB,CAAC,KACtB,CAAGA,IAAMsI,CAAMhJ,EAAM,KACrB,QAAU+Q,CAAS/H,GAAM/I,CAAW,OAAS,CAAIxE,GACpD,EACOuN,SAAiB,CAAK3Q,GAAK,OACrB,MAAM,MAAW,CAC/BmW,GACI,EAAGwC,MAAgB,aACA,KACnB,EAAGA,SAAuB,EAC1B,YAA0B,CAC1B,KAAYhI,IAAO,CAAGvN,CAAI,MACvBuV,CAAShI,IAAO,CAAGvN,WACH,EAAGA,CAAI,KAEvB+S,aAIP,MAAOA,UAAa,IACnB,aAAsB,OAAQA,OAErByC,QACe,KACrBlF,OAAuB,CAC1B,YAGamF,KAAQ,WACtB1C,CAAS,EAAI0C,OAAQ,OAGnB,WAES7Y,CAAK,MAAgBA,CAAO,YAAS,CAChD8Y,IAAI,WAAgB,UAGJ,OAAuB,eACvCA,CAAI,mBAAiB,KAM7B7C,EAAe,SAAc,UACd,QAAUD,OAEzB,WAAuB5S,CAAM,CAIzB,KAAI9H,CAAMyd,YAAO,KAAe,WAAa,GAAG,CAAC,EAEjD,OAAQ,OAAS,KAAQzd,EAAO8H,KAGpC,aAAgD,CAC5C,IAAI9H,EAAM,CAAE,QAEZ,CAAAA,OAAI,IACM,UAAe,SAAWia,aAAoB,KAAM,CAAI,UACzD,CAAO,MAAKja,IAAI,UAAa,UAAa,OACzC,MAGVA,EAAI,gBAAwB,CAAC0d,IAAK,QAAQ,aAAgB,CAAG,KAKjE,QAASJ,YACDtd,KACJ,WAAW,GAAO,KAAY,aAItBkc,MAA2B,IAC1B,aACLlc,CAAM2d,KAAgC1D,CAAK,OAErC0D,CAA0B1D,YAC5B,QAAe,QAAK,QACxBja,GAAI,QAAUA,CAAI,SAGfA,EAZI,CAAE,kBAAiB,KAAW,CAajD,CAGI,SAAS4d,OAA6B,CAClC,OAAO,WAAeC,aAGlB,KAAIA,WAAoB,UAAa,OAG7B,eAEI,uDAEA,kGAGRC,EAAMxiB,GACNA,CAAMuiB,MACGC,CAGbC,EAAMpD,WACM,QAAoB,EACzB,OAIf,aAA0BE,KAAoBmD,CAAc,CACxD,SAA4B,eACjBZ,KAAkB,KAAK,EAC9BrC,GAASqC,EAASvC,QAAS,CAAO,IAE7B,YAKTmD,IAAeA,YAEXjD,MACSvT,CAAK0F,IAAI1F,CAAK,cAEvByW,SACW,OAAQ/Q,OAAS,IAAM,CAAI+Q,EAAOC,KAE7C/C,CACA3T,OAAO,MAAQA,EAAI,GAAG,QAAS,QAE/BwW,IACM,eAAkBC,QAIhC,MAAUL,MAAe,MACrBO,KAAWP,CAAY,IAAI,UAAU,CAEzC,SAASQ,KAAgB,CACrB,OAAO,WAAiB,WAAY1Z,eAAiB,MAIzD,QAAS2Z,CAAc3Z,IACnB,OACIgV,CAAShV,GAAK,CACdI,EAAOJ,KACP0Z,KAAc,CACdxS,WAC2B,EAC3B0S,KAAyB,MACf,OACV5Z,SAEZ,CAEI,WAAS4Z,CAAoB5Z,QACrB6Z,CAAahjB,QAAoBue,CAAcpV,OAChC,CACf8Z,MACI,KACA,WAEA,WACA,YAEA,MACA,OACA,MACA,MACA,KACA,WACA,CACA,OACA,IACA,UACA,WACA,MACA,OACA,gBAEA,kBACA,OACA,IACH,EACD1mB,SAEyB,MAE7B,KAAKA,CAAI,EAAGA,SACR2mB,KAAuB,EACvBC,MAA+B9Z,CAAWF,YAGvC6Z,MAGX,QAASI,YACWhnB,KACZinB,EAAe,SACnB,CAAIC,OAEIna,CAAM,YAAO,IAAUoa,EAAM,WACJ,MAAcpa,CAAK,CAC5D,CAAiB,KAAE,aAGnB,CAEI,eACI,IAAI6Z,KAA2B,MAAoB7Z,CAAK,IACrC,KACF,CACT,UACA,UACA,aACA,WACA,QACA,WACH,CACD5M,KAGJ,KAAS,KAAO0mB,CAAW,UAAa,OACb,IACRE,OAAkCD,CAAQ,MAG7D,IAAOF,EAAcG,CAC7B,OAEI,KAASK,CAAkBC,QACvB,CAAIvV,IAAgB,UAAU,KAAQ,CAAI,QAC1C,CAAOA,EAAO,GACR,WACAA,KACE,YACAA,CAAO,IACL,WACO,CACL,eAEE,cAEE,cACA,QAGpB,QAASwV,IAAWC,CAAMC,GAElB,gBAAU,MAAW,CAChB,gBAGoB,cAAY,CACjCD,EAAO,UAAU,CAAC,KACR,QACHE,IAAe,QAAU,CAAC,CAAC,OACxB,cACH,aAPA,OACG,gBAWRF,MAAqB,CAC3BG,MAAsB5X,CAAK,KAAI,CAAE,SAAQ,YAC1B,aAAe,KAAM4X,GAAG,CAAK,WAC5C9X,MAEKP,EAAWmY,KAAe,CACrBA,GAAc,EAAE,UAAW1X,CAAG,KAChB,GAE5B,iBAAY,KACE,WAAK,UAAa,SAAiB,OAAkBA,CAAG,GAE9E,CAEI,SAAS6X,UACL,KAAO,CAAI/Y,MAAW,CAC9B,GAEI,UAAiB7B,UACT6a,CAAa7F,IAAc,CAAIhV,QACnC,WAAM,CAAK,YAAa6a,CAAW,QAAS,OAGpChS,CAAe5D,MAAU,YAC7BA,KAAU,aACH,MAAK,YAAuB,SAE5B4V,KAAW,WAAY,CAAK,MAAK,OAAG,MAAe,WANnD,YAUNC,UACL,KAAiB9F,CAAShV,CAAK,SAA6B,CAC5D,OAAM,MAAK,QAAO,EAAM6a,KAAW,gBAGP,CAAK,cAC7B5V,QAAU,UACH,KAAK,UAAY4V,EAAW,QAAS,UAEhC,KAAQ,MAAM5V,CAAK,IAAE,SAAY4V,CAAW,WANjD,QAUf,KAASE,EAAUvZ,EAAM/N,SACrB,EAAIunB,OAA6BxZ,OAAuB,CACpDyZ,KAAqB,IAASvH,GAAYjgB,KAC9C,OAAM,OAAK,OAAaunB,EAAU,aAAqB,cAGzCE,EAAe,MAExBA,MAAa,CAAM,eACT,OACL,CAAC,MAAK,SAASF,CAAW/V,CAAK,SACvB,UACR,SAAK,IAAkBA,CAAK,GAC3B,SAAK,MAAiBA,CAAK,KAT3B,CAWnB,OAEI,KAASkW,CAAOnb,MACZ,OAA0BA,CAAK,GAAIA,CAAQ0T,GAAY1T,CAAK,EACxDob,MACJ,MAAM,MAAK,QAAaP,CAAW,YAGnC5V,CAAQ4D,eAAyB,OAC7B5D,OAAU,UACH,UAAK,OAAc4V,QAAW,IAAS,CAE9CO,MAAqB,MAAS,SAErB,OAAQ,cAAe,KAAO,QACxB,KAAK,WAAQ,SAAa,MAAO,IATzC,CAYnB,OAEI,OAAuBpb,CAAOiF,GAC1B,SAAO,OAAK,QAAmB,CAAK,QAAK,KAAQjF,MAGrD,aAA+BiF,MAC3B,IAAO,QAAK,KAAOjF,CAAOiF,WAAe,OAASjF,KAGtD,UAAS+E,EAAK/E,KAAcqb,CAAS,aAGjC,CAAI,IAAC,cACD,gBAGG7D,CAAgBxX,OAAW,CAE9B,MAAM,QACN,OAOJ,aAJasb,EAAK,mBAAmB,aAAe,KAE5CzS,EAAe5D,CAAK,QAGxB,CAAK,OACDpC,MAAmB,OAAc,OACjC,YACC,EACDA,QAAmB,KACnB,WACC,WACQ0Y,GAAU,KAAMD,CAAI,IAC7B,MACJ,KAAK,QACDzY,MAAU,EAAOyY,OACjB,MACJ,OAAK,OACDzY,aAAyB,CACzB,MACJ,SAAK,EACDA,MAAU,aACV,KACJ,EAAK,SACS,MAAOyY,CAAOE,OAAa,EACrC,MACJ,OAAK,MACD3Y,CAAU,KAAOyY,EAAOE,KAAa,OACrC,MACJ,MACI3Y,EAAS,KAAOyY,CAChC,KAEQ,GAAOD,UAGX,aAAmBxoB,CAAGC,MACdD,EAAE,KAAI,aAGN,KAAQ0oB,GAAUzoB,QAGtB,CAAI2oB,MAAoB,QAAW,QAAU,YAAe,KAAK,WAEpD5oB,CAAE,MAAK,OAAO4oB,CAAgB,aAEvCC,CAEJ,UAAQC,CAAS,OACD,MAAO,IAAC,IAAqB,EAAG,cAElC7oB,CAAI6oB,OAAoBC,IAElCA,EAAU/oB,EAAE,aAAY4oB,CAAiB,EAAG,QAAQ,MAE1C3oB,CAAI6oB,KAAWC,CAAUD,QAIbD,OAG9Bra,CAAM,iBAAgB,oBACtBA,OAAM,YAAmB,2BAEzB,QAASwa,QACL,GAAO,UAAK,OAAQ,MAAO,CAAI,QAAE,CAAO,mCAChD,CAEI,cAAiC,CAC7B,GAAI,CAAC,MAAK,SACN,SAAO,IAEX,GAAIC,KAAMC,CAAe,OACX,QAAK,GAAK,EAAG,MAAQ,UACnC,EAAIlb,IAAE,KAAS,MAAO,MAAS,SAEvBA,CACAib,MACM,iCACA,2BACT,CAEDxZ,EAAW,KAAK,eAAU,MAAW,EAEjCwZ,KACO,QAAK,CAAQ,EAAC,gBAEd,KAAI,KAAK,EAAK,SAAO,CAAK,QAAK,WAAc,CAAK,IAAI,CACxD,cACA,YAAajY,MAAgB,MAGnCA,OAEG,8BAAiC,+BAU/C,SAASmY,OACD,CAAC,KAAK,UACN,MAAO,sBAAuB,MAAK,CAAK,UAE5C,CAAIvY,eACO,CACPwY,IAEAC,EACAC,SACC,SAAK,QACN1Y,IAAO,IAAK,UAAW,YAAS,MAAe,uBACxC,KAEF,OAAa,gBACL,SAAU,KAAK,GAAM,QAAW,OAAS,YAC/C,uBACX0Y,UAAgB,CAET,KAAK,OAAOF,KAAgBC,CAAWC,OAGlD,QAAgBC,EAAa,CACpBA,IACDA,gBACM/a,CAAM,iBACNA,KAAM,cAEhB,OAA0B,KAAM+a,GAChC,OAAO,cAAK,KAAa,WAAiB,CAClD,CAEI,UAAS5a,OACL,OACI,YAAK,CAAS,IACZwT,EAASwF,CAAI,QAAU,UAAc9G,CAAY8G,MAAM,MAAS,MAE1C,OAAI,CAAM,KAAMA,QACnC,SAAY,MAAQ,aACV6B,CAAa,IAErB,GAAK,WAAY,IAAC,kBAIjC,KAASC,CAAQD,EAAe,QACrB,SAAK,CAAK3I,KAAe2I,CAAa,CACrD,CAEI,cAAkBA,IACd,QACI,KAAK,MAAS,KACZrH,CAASwF,IAASA,KAAK,WAA0BA,CAAI,QAAE,OAElDvE,CAAe,KAAE,CAAM,QAAUuE,CAAM,KACzC,KAAO,KAAK,OAAQ,IACpB,WAAuB,CAErB,QAAK,QAAY,OAAC,OAAa,CAElD,GAEI,WAAe6B,CAAe,KAC1B,IAAO,QAAQ3I,WAMnB,OAASjK,CAAO1W,KACZ,OAEA,IAAIA,UAAQ,CACD,QAAK,KAAQ,WAEJ0c,CAAU1c,CAAG,OACR,KACjB,KAAK,YAEF,MAIf,MAAWuiB,KACP,kJACA,MAAUviB,EAAK,QACPA,MAAQ,KACD,OAAK,UAAY,CAEjB,SAAK,OAGvB,CAED,SAASuT,WACL,CAAO,eAGX,KAAoB,WACKiW,EACrBC,KAAc,CAAKC,GACnBC,QAA0B,KAAM,YAGpC,SAAeC,KACX,eACR,CAEI,WAASC,CAAiB3e,OAEtB,OAAIA,OAAWA,UAEA,eAAsBye,KAE1B,EAAI,SAAWjU,CAAC,MAAE,IAAS,CAE9C,CAEI,WAASoU,CAAe5e,WAEpB,GAAIA,QAAWA,MAEJ,KAAK,EAAIA,SAAa,EAAIye,OAE1B,CAAK,IAAIze,KAAO,CAEnC,IAEI,MAAS6e,KAAe,CACpB,KAAItC,CAAMuC,IAEV,CADA9X,KAAuBA,CAAK,KACxBA,CAAU,WAAaA,CAAU,iBAAkB,OAAK,aACxD,CAAO,KAKX,UAFc,YAAc4X,KAEpB5X,EAAK,CACT,QAAK,SACkB,GAAK,OAAQ,IAAI,CACpC,aACC,OACDuV,UACS,KAAM,CACX,UAAK,CAAO,IAAI,OAAK,QAExB,CACD,aACC,WACkB,MAAK,MAAQ,UAAY,CAAE,CAAC,QAEnD,MAAK,WAEG,KAAK,GAAM,QACN,KAAO,OACP,OAAS,YAAK,CAAO,CAC7B,QAEL,eACIA,CAAOuC,IACH,GAAK,QACL,SAAK,CAAO,IACZ,KAAK,MAAU,KAAK,YAAY,CAAG,SAEvC,CACJ,MAAK,KACL,KAAK,WACkB,KAAK,MAAQ,KAAK,MAAO,CAAE,KAAK,SACnD,KACJ,MAAK,MACDvC,CAAO,KAAK,QAAG,OACfA,CAAQwC,SACI,wBAAuB,KAAcP,GAC7CD,QAEJ,EACJ,OAAK,MACDhC,EAAO,QAAQ,wBAEf,KACJ,GAAK,SACDA,MAAO,CAAK,GAAG,QAAS,KAChBwC,QAAyB,CACjC,UAGR,eAAQ,KAAY,EACpB3b,SAAM,QAAa,OACZ,IACf,CAEI,SAAS4b,eAGL,KADQpU,EAAe5D,CAAK,QACd,SAAaA,CAAU,eAAiB,CAAC,UAAK,UACxD,EAAO,QAKX,eAFmB,KAAS4X,CAAiBD,UAGpC,OACDpC,MAAmB,KAAK,UAAgB,YAE5C,KAAK,WAGO,OAAK,IAAM,CACX,OAAK,KAAK,CAAM,OAAK,QAAe,KAEpC,IACR,KACJ,OAAK,IACDA,QAAmB,CAAK,cAAa,QAAa,CAAC,IACnD,WACC,MACDA,EACIuC,EACI,KAAK,KAAM,IACX,QAAK,CAAO,MACZ,CAAK,KAAI,KAAK,QAAK,KAC3C,KACgB,KACJ,KAAK,UACDvC,CACIuC,cAEI,KAAK,WACL,EAAK,KAAI,QAAW,cAAe,eAG/C,MAAK,KACL,CAAK,UACMA,CAAY,OAAK,KAAQ,MAAK,KAAO,EAAE,QAAK,eAEvD,MAAK,KACDvC,EAAO,SAAQ,OAAS,QAGpBwC,eACiB,SAAa,CAAK,WAAW,CAAGP,KAC7CD,CACH,GACD,CACJ,OACJ,OAAK,QACM,OAAQ,aACPC,OAAsBjC,CAAMiC,KAAiB,CACrD,UACC,eACM,CAAK,KAAG,MAAS,EACxBjC,QAAwBwC,CAAMxC,IAAmB,EAAI,QAI7D,eAAQ,SAAY,EACpBnZ,KAAM,aAAa,IAAU,EACtB,MAGX,UAAS6b,EAAU,OACf,CAAO,SAAQ,OAAO,KAAM,KAAK,WAAgB,EACzD,CAEI,WAASC,KACL,YAAY,IAAM,MAAK,WAAY,CAAI,KAG3C,MAASC,OACL,KAAO,QAAI,CAAK,KAAK,SAAS","names":["a","b","key","isSameRouteLocationParamsValue","isArray","isEquivalentArray","value","i","router","routerKey","routeLocationKey","computed","to","unref","props","length","routeMatched","matched","currentMatched","currentRoute","isSameRouteRecord","index","getOriginalPath","parentRecordPath","includesParams","route","isSameRouteLocationParams","noop","p","isExactActive","preferSingleVNode","vnodes","RouterLinkImpl","defineComponent","inject","getLinkClass","link","children","slots","h","elClass","guardEvent","e","target","inner","innerValue","outer","outerValue","record","propClass","defaultClass","globalClass","tryOnScopeDispose","fn","failSilently","localProvidedStateMap","injectLocal","args","_getCurrentInstance","owner","instance","getCurrentScope","isClient","val","isObject","pxValue","px","composable","scope","dispose","state","subscribers","tryOnMounted","sync","getLifeCycleTarget","onMounted","nextTick","watchImmediate","cb","options","watch","__spreadProps","__spreadValues","plain","useEventListener","el","event","firstParamTargets","toValue","test","_firstParamTargets$va","_firstParamTargets$va2","unrefElement","toArray","raw_events","raw_options","_","onCleanup","raw_targets","raw_listeners","listener","register","optionsClone","onClickOutside","handler","window$1","defaultWindow","detectIframe","controls","shouldIgnore","target$1","vm","checkMultipleRoots","child","shouldListen","isProcessingClick","_window$document$acti","stop","useMounted","shallowRef","isMounted","useSupported","callback","mutationOptions","observer","isSupported","stopWatch","newTargets","cleanup","takeRecords","useSSRWidth","ssrWidth","query","ssrSupport","mediaQuery","matches","watchEffect","res","maxWidth","minWidth","not","observerOptions","_el","els","initialSize","isSVG","_unrefElement","width","stop1","box","rect","boxSize","formatBoxSize","inlineSize","acc","height","blockSize","ele","rootMargin","threshold","immediate","notNullish","isActive","targets","root","targets$1","root$1","useSwipe","onSwipe","passive","reactive","diffX","coordsStart","abs","isThresholdExceeded","max","direction","diffY","getTouchEventCoords","updateCoordsStart","y","updateCoordsEnd","coordsEnd","onSwipeEnd","stops","x","onSwipeStart","listenerOptions","isSwiping","onTouchEnd","s","mdiArrowRight","mdiCheck","mdiChevronRight","mdiCog","mdiCogOutline","mdiContentCopy","mdiMenu","mdiMenuOpen","INJECTION_KEY_THEME","checkIfDarkTheme","isDarkSystemTheme","element","useMutationObserver","updateIsDarkTheme","useInternalIsDarkTheme","useIsDarkThemeElement","isDarkTheme","enforcedTheme","factory","hookCallback","input","k","hasOwnProp","obj","isDate","arr","arrLen","createUTC","strict","createLocalOrUTC","format","defaultParsingFlags","getParsingFlags","m","some","t","len","flags","parsedParts","isNowValid","momentProperties","hooks","updateInProgress","copyConfig","from","isUndefined","momentPropertiesLen","prop","config","Moment","msg","firstTime","arg","argLen","warn","deprecations","name","set","isFunction","mergeConfigs","parentConfig","extend","childConfig","keys","defaultCalendar","output","mom","now","targetLength","forceSign","absNumber","number","sign","formatFunctions","formatTokenFunctions","padded","token","func","makeFormatFunction","array","removeFormattingTokens","formatMoment","expandFormat","replaceLongDateFormatTokens","localFormattingTokens","defaultLongDateFormat","longDateFormat","formatUpper","formattingTokens","tok","defaultInvalidDate","invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","ordinal","defaultRelativeTime","relativeTime","string","isFuture","diff","aliases","units","normalizeObjectUnits","normalizedInput","normalizedProp","inputObject","getPrioritizedUnits","unitsObj","u","priorities","match4","match6","match3to4","match5to6","match1to4","matchUnsigned","matchOffset","matchShortOffset","matchTimestamp","match1to2HasZero","regexes","regex","localeData","strictRegex","getParseRegexForToken","unescapeFormat","regexEscape","p2","p3","p1","absFloor","coercedNumber","argumentForCoercion","tokens","isNumber","tokenLen","addWeekParseToken","addParseToken","isLeapYear","year","MONTH","DATE","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","addFormatToken","addRegexToken","matchSigned","match1to6","YEAR","daysInYear","toInt","makeGetSet","unit","get","d","isUTC","month","date","normalizeUnits","stringSet","prioritizedLen","prioritized","n","indexOf","o","mod","modMonth","match1to2","match2","isStrict","locale","defaultLocaleMonths","defaultLocaleMonthsShort","matchWord","defaultMonthsRegex","MONTHS_IN_FORMAT","llc","ii","monthName","daysInMonth","getSetMonth","setMonth","getDaysInMonth","monthsShortRegex","computeMonthsParse","defaultMonthsShortRegex","cmpLenRev","longPieces","mixedPieces","shortPieces","shortP","M","ms","createUTCDate","firstWeekOffset","doy","dow","fwdlw","fwd","dayOfYearFromWeeks","week","weekday","localWeekday","resDayOfYear","dayOfYear","resYear","weekOfYear","weekOffset","resWeek","weeksInYear","weekOffsetNext","match1to2NoLeadingZero","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetISOWeek","shiftWeekdays","ws","defaultLocaleWeekdays","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","weekdays","localeWeekdaysShort","handleStrictParse$1","weekdayName","localeWeekdaysParse","getSetDayOfWeek","day","weekdaysRegex","weekdaysShortRegex","computeWeekdaysParse","minPieces","minp","shortp","longp","hFormat","kFormat","zeroFill","lowercase","meridiem","matchMeridiem","kInput","HOUR","pos","pos1","pos2","localeMeridiem","hours","locales","globalLocale","minl","arr1","normalizeLocale","chooseLocale","j","split","names","next","loadLocale","commonPrefix","oldLocale","module","aliasedRequire","require","data","getLocale","defineLocale","values","baseConfig","localeFamilies","getSetGlobalLocale","updateLocale","tmpLocale","Locale","listLocales","overflow","basicIsoRegex","tzRegex","isoDates","isoTimes","obsOffsets","configFromISO","l","match","extendedIsoRegex","dateFormat","timeFormat","tzFormat","isoDatesLen","allowTime","isoTimesLen","configFromStringAndFormat","extractFromRFC2822Strings","monthStr","dayStr","hourStr","minuteStr","untruncateYear","yearStr","secondStr","result","preprocessRFC2822","checkWeekday","weekdayStr","weekdayProvided","defaultLocaleWeekdaysShort","parsedInput","weekdayActual","obsOffset","hm","numOffset","configFromRFC2822","rfc2822","parsedArray","calculateOffset","configFromString","defaults","c","currentDateArray","nowValue","configFromArray","currentDate","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","createDate","weekYear","curWeek","w","weekdayOverflow","createLocal","temp","skipped","stringLength","totalParsedInputLength","era","addTimeToArrayFromToken","meridiemFixWrap","hour","isPm","configFromStringAndArray","bestMoment","currentScore","validFormatFound","bestFormatIsValid","configfLen","tempConfig","scoreToBeat","map","dayOrDate","createFromConfig","prepareConfig","isMoment","checkOverflow","configFromInput","configFromObject","isObjectEmpty","prototypeMin","deprecate","other","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","orderLen","isValid$1","createInvalid$1","createDuration","Duration","duration","years","months","weeks","minutes","seconds","milliseconds","quarters","isDuration","compareArrays","array1","array2","dontConvert","diffs","offset","separator","offsetFromString","matcher","chunk","chunkOffset","parts","cloneWithOffset","model","getDateOffset","localAdjust","keepLocalTime","addSubtract","setOffsetToUTC","setOffsetToLocal","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","absRound","parseIso","momentsDifference","diffRes","ret","inp","base","positiveMomentsDifference","createAdder","period","tmp","dur","updateOffset","days","isAdding","subtract","isString","isMomentInput","isMomentInputObject","objectTest","properties","property","propertyTest","isNumberOrStringArray","dataTypeTest","arrayTest","item","getCalendarFormat","myMoment","calendar$1","time","formats","isCalendarSpec","sod","clone","localInput","isBefore","isBetween","localFrom","localTo","inclusivity","isSame","inputMs","asFloat","that","monthDiff","zoneDelta","wholeMonthDiff","adjust","anchor","anchor2","toString","utc","keepOffset","inspect","prefix","datetime","suffix","inputString","withoutSuffix","fromNow","MS_PER_SECOND","MS_PER_HOUR","MS_PER_MINUTE","MS_PER_400_YEARS","dividend","localStartOfDate","utcStartOfDate","startOf","startOfDate","mod$1","endOf","valueOf","unix","toDate"],"ignoreList":[0,1,2,3,4,5,6,7],"sources":["../node_modules/@nextcloud/vue/node_modules/vue-router/dist/devtools-CVsCuYdF.js","../node_modules/@nextcloud/vue/node_modules/vue-router/dist/vue-router.js","../node_modules/@nextcloud/vue/node_modules/@vueuse/shared/dist/index.js","../node_modules/@nextcloud/vue/node_modules/@vueuse/core/dist/index.js","../node_modules/@nextcloud/vue/dist/chunks/mdi-CpchYUUV.mjs","../node_modules/@nextcloud/vue/dist/chunks/constants-wIEKSp2G.mjs","../node_modules/@nextcloud/vue/dist/composables/useIsDarkTheme/index.mjs","../node_modules/moment/min/moment-with-locales.js"],"sourcesContent":["/*!\n * vue-router v5.0.3\n * (c) 2026 Eduardo San Martin Morote\n * @license MIT\n */\nimport { _ as isRouteComponent, b as isBrowser, c as ErrorTypes, g as isESModule, h as isArray, p as assign, r as matchedRouteKey, u as createRouterError } from \"./useApi-j1E6pMaV.js\";\nimport { getCurrentInstance, inject, onActivated, onDeactivated, onUnmounted, watch } from \"vue\";\nimport { setupDevtoolsPlugin } from \"@vue/devtools-api\";\n\n//#region src/warning.ts\nfunction warn$1(msg) {\n\tconst args = Array.from(arguments).slice(1);\n\tconsole.warn.apply(console, [\"[Vue Router warn]: \" + msg].concat(args));\n}\n\n//#endregion\n//#region src/encoding.ts\n/**\n* Encoding Rules (␣ = Space)\n* - Path: ␣ \" < > # ? { }\n* - Query: ␣ \" < > # & =\n* - Hash: ␣ \" < > `\n*\n* On top of that, the RFC3986 (https://tools.ietf.org/html/rfc3986#section-2.2)\n* defines some extra characters to be encoded. Most browsers do not encode them\n* in encodeURI https://github.com/whatwg/url/issues/369, so it may be safer to\n* also encode `!'()*`. Leaving un-encoded only ASCII alphanumeric(`a-zA-Z0-9`)\n* plus `-._~`. This extra safety should be applied to query by patching the\n* string returned by encodeURIComponent encodeURI also encodes `[\\]^`. `\\`\n* should be encoded to avoid ambiguity. Browsers (IE, FF, C) transform a `\\`\n* into a `/` if directly typed in. The _backtick_ (`````) should also be\n* encoded everywhere because some browsers like FF encode it when directly\n* written while others don't. Safari and IE don't encode ``\"<>{}``` in hash.\n*/\nconst HASH_RE = /#/g;\nconst AMPERSAND_RE = /&/g;\nconst SLASH_RE = /\\//g;\nconst EQUAL_RE = /=/g;\nconst IM_RE = /\\?/g;\nconst PLUS_RE = /\\+/g;\n/**\n* NOTE: It's not clear to me if we should encode the + symbol in queries, it\n* seems to be less flexible than not doing so and I can't find out the legacy\n* systems requiring this for regular requests like text/html. In the standard,\n* the encoding of the plus character is only mentioned for\n* application/x-www-form-urlencoded\n* (https://url.spec.whatwg.org/#urlencoded-parsing) and most browsers seems lo\n* leave the plus character as is in queries. To be more flexible, we allow the\n* plus character on the query, but it can also be manually encoded by the user.\n*\n* Resources:\n* - https://url.spec.whatwg.org/#urlencoded-parsing\n* - https://stackoverflow.com/questions/1634271/url-encoding-the-space-character-or-20\n*/\nconst ENC_BRACKET_OPEN_RE = /%5B/g;\nconst ENC_BRACKET_CLOSE_RE = /%5D/g;\nconst ENC_CARET_RE = /%5E/g;\nconst ENC_BACKTICK_RE = /%60/g;\nconst ENC_CURLY_OPEN_RE = /%7B/g;\nconst ENC_PIPE_RE = /%7C/g;\nconst ENC_CURLY_CLOSE_RE = /%7D/g;\nconst ENC_SPACE_RE = /%20/g;\n/**\n* Encode characters that need to be encoded on the path, search and hash\n* sections of the URL.\n*\n* @internal\n* @param text - string to encode\n* @returns encoded string\n*/\nfunction commonEncode(text) {\n\treturn text == null ? \"\" : encodeURI(\"\" + text).replace(ENC_PIPE_RE, \"|\").replace(ENC_BRACKET_OPEN_RE, \"[\").replace(ENC_BRACKET_CLOSE_RE, \"]\");\n}\n/**\n* Encode characters that need to be encoded on the hash section of the URL.\n*\n* @param text - string to encode\n* @returns encoded string\n*/\nfunction encodeHash(text) {\n\treturn commonEncode(text).replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\n/**\n* Encode characters that need to be encoded query values on the query\n* section of the URL.\n*\n* @param text - string to encode\n* @returns encoded string\n*/\nfunction encodeQueryValue(text) {\n\treturn commonEncode(text).replace(PLUS_RE, \"%2B\").replace(ENC_SPACE_RE, \"+\").replace(HASH_RE, \"%23\").replace(AMPERSAND_RE, \"%26\").replace(ENC_BACKTICK_RE, \"`\").replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\n/**\n* Like `encodeQueryValue` but also encodes the `=` character.\n*\n* @param text - string to encode\n*/\nfunction encodeQueryKey(text) {\n\treturn encodeQueryValue(text).replace(EQUAL_RE, \"%3D\");\n}\n/**\n* Encode characters that need to be encoded on the path section of the URL.\n*\n* @param text - string to encode\n* @returns encoded string\n*/\nfunction encodePath(text) {\n\treturn commonEncode(text).replace(HASH_RE, \"%23\").replace(IM_RE, \"%3F\");\n}\n/**\n* Encode characters that need to be encoded on the path section of the URL as a\n* param. This function encodes everything {@link encodePath} does plus the\n* slash (`/`) character. If `text` is `null` or `undefined`, returns an empty\n* string instead.\n*\n* @param text - string to encode\n* @returns encoded string\n*/\nfunction encodeParam(text) {\n\treturn encodePath(text).replace(SLASH_RE, \"%2F\");\n}\nfunction decode(text) {\n\tif (text == null) return null;\n\ttry {\n\t\treturn decodeURIComponent(\"\" + text);\n\t} catch (err) {\n\t\tprocess.env.NODE_ENV !== \"production\" && warn$1(`Error decoding \"${text}\". Using original value`);\n\t}\n\treturn \"\" + text;\n}\n\n//#endregion\n//#region src/location.ts\nconst TRAILING_SLASH_RE = /\\/$/;\nconst removeTrailingSlash = (path) => path.replace(TRAILING_SLASH_RE, \"\");\n/**\n* Transforms a URI into a normalized history location\n*\n* @param parseQuery\n* @param location - URI to normalize\n* @param currentLocation - current absolute location. Allows resolving relative\n* paths. Must start with `/`. Defaults to `/`\n* @returns a normalized history location\n*/\nfunction parseURL(parseQuery, location, currentLocation = \"/\") {\n\tlet path, query = {}, searchString = \"\", hash = \"\";\n\tconst hashPos = location.indexOf(\"#\");\n\tlet searchPos = location.indexOf(\"?\");\n\tsearchPos = hashPos >= 0 && searchPos > hashPos ? -1 : searchPos;\n\tif (searchPos >= 0) {\n\t\tpath = location.slice(0, searchPos);\n\t\tsearchString = location.slice(searchPos, hashPos > 0 ? hashPos : location.length);\n\t\tquery = parseQuery(searchString.slice(1));\n\t}\n\tif (hashPos >= 0) {\n\t\tpath = path || location.slice(0, hashPos);\n\t\thash = location.slice(hashPos, location.length);\n\t}\n\tpath = resolveRelativePath(path != null ? path : location, currentLocation);\n\treturn {\n\t\tfullPath: path + searchString + hash,\n\t\tpath,\n\t\tquery,\n\t\thash: decode(hash)\n\t};\n}\nfunction NEW_stringifyURL(stringifyQuery, path, query, hash = \"\") {\n\tconst searchText = stringifyQuery(query);\n\treturn path + (searchText && \"?\") + searchText + encodeHash(hash);\n}\n/**\n* Stringifies a URL object\n*\n* @param stringifyQuery\n* @param location\n*/\nfunction stringifyURL(stringifyQuery, location) {\n\tconst query = location.query ? stringifyQuery(location.query) : \"\";\n\treturn location.path + (query && \"?\") + query + (location.hash || \"\");\n}\n/**\n* Strips off the base from the beginning of a location.pathname in a non-case-sensitive way.\n*\n* @param pathname - location.pathname\n* @param base - base to strip off\n*/\nfunction stripBase(pathname, base) {\n\tif (!base || !pathname.toLowerCase().startsWith(base.toLowerCase())) return pathname;\n\treturn pathname.slice(base.length) || \"/\";\n}\n/**\n* Checks if two RouteLocation are equal. This means that both locations are\n* pointing towards the same {@link RouteRecord} and that all `params`, `query`\n* parameters and `hash` are the same\n*\n* @param stringifyQuery - A function that takes a query object of type LocationQueryRaw and returns a string representation of it.\n* @param a - first {@link RouteLocation}\n* @param b - second {@link RouteLocation}\n*/\nfunction isSameRouteLocation(stringifyQuery, a, b) {\n\tconst aLastIndex = a.matched.length - 1;\n\tconst bLastIndex = b.matched.length - 1;\n\treturn aLastIndex > -1 && aLastIndex === bLastIndex && isSameRouteRecord(a.matched[aLastIndex], b.matched[bLastIndex]) && isSameRouteLocationParams(a.params, b.params) && stringifyQuery(a.query) === stringifyQuery(b.query) && a.hash === b.hash;\n}\n/**\n* Check if two `RouteRecords` are equal. Takes into account aliases: they are\n* considered equal to the `RouteRecord` they are aliasing.\n*\n* @param a - first {@link RouteRecord}\n* @param b - second {@link RouteRecord}\n*/\nfunction isSameRouteRecord(a, b) {\n\treturn (a.aliasOf || a) === (b.aliasOf || b);\n}\nfunction isSameRouteLocationParams(a, b) {\n\tif (Object.keys(a).length !== Object.keys(b).length) return false;\n\tfor (var key in a) if (!isSameRouteLocationParamsValue(a[key], b[key])) return false;\n\treturn true;\n}\nfunction isSameRouteLocationParamsValue(a, b) {\n\treturn isArray(a) ? isEquivalentArray(a, b) : isArray(b) ? isEquivalentArray(b, a) : (a && a.valueOf()) === (b && b.valueOf());\n}\n/**\n* Check if two arrays are the same or if an array with one single entry is the\n* same as another primitive value. Used to check query and parameters\n*\n* @param a - array of values\n* @param b - array of values or a single value\n*/\nfunction isEquivalentArray(a, b) {\n\treturn isArray(b) ? a.length === b.length && a.every((value, i) => value === b[i]) : a.length === 1 && a[0] === b;\n}\n/**\n* Resolves a relative path that starts with `.`.\n*\n* @param to - path location we are resolving\n* @param from - currentLocation.path, should start with `/`\n*/\nfunction resolveRelativePath(to, from) {\n\tif (to.startsWith(\"/\")) return to;\n\tif (process.env.NODE_ENV !== \"production\" && !from.startsWith(\"/\")) {\n\t\twarn$1(`Cannot resolve a relative location without an absolute path. Trying to resolve \"${to}\" from \"${from}\". It should look like \"/${from}\".`);\n\t\treturn to;\n\t}\n\tif (!to) return from;\n\tconst fromSegments = from.split(\"/\");\n\tconst toSegments = to.split(\"/\");\n\tconst lastToSegment = toSegments[toSegments.length - 1];\n\tif (lastToSegment === \"..\" || lastToSegment === \".\") toSegments.push(\"\");\n\tlet position = fromSegments.length - 1;\n\tlet toPosition;\n\tlet segment;\n\tfor (toPosition = 0; toPosition < toSegments.length; toPosition++) {\n\t\tsegment = toSegments[toPosition];\n\t\tif (segment === \".\") continue;\n\t\tif (segment === \"..\") {\n\t\t\tif (position > 1) position--;\n\t\t} else break;\n\t}\n\treturn fromSegments.slice(0, position).join(\"/\") + \"/\" + toSegments.slice(toPosition).join(\"/\");\n}\n/**\n* Initial route location where the router is. Can be used in navigation guards\n* to differentiate the initial navigation.\n*\n* @example\n* ```js\n* import { START_LOCATION } from 'vue-router'\n*\n* router.beforeEach((to, from) => {\n* if (from === START_LOCATION) {\n* // initial navigation\n* }\n* })\n* ```\n*/\nconst START_LOCATION_NORMALIZED = {\n\tpath: \"/\",\n\tname: void 0,\n\tparams: {},\n\tquery: {},\n\thash: \"\",\n\tfullPath: \"/\",\n\tmatched: [],\n\tmeta: {},\n\tredirectedFrom: void 0\n};\n\n//#endregion\n//#region src/history/common.ts\nlet NavigationType = /* @__PURE__ */ function(NavigationType) {\n\tNavigationType[\"pop\"] = \"pop\";\n\tNavigationType[\"push\"] = \"push\";\n\treturn NavigationType;\n}({});\nlet NavigationDirection = /* @__PURE__ */ function(NavigationDirection) {\n\tNavigationDirection[\"back\"] = \"back\";\n\tNavigationDirection[\"forward\"] = \"forward\";\n\tNavigationDirection[\"unknown\"] = \"\";\n\treturn NavigationDirection;\n}({});\n/**\n* Starting location for Histories\n*/\nconst START = \"\";\n/**\n* Normalizes a base by removing any trailing slash and reading the base tag if\n* present.\n*\n* @param base - base to normalize\n*/\nfunction normalizeBase(base) {\n\tif (!base) if (isBrowser) {\n\t\tconst baseEl = document.querySelector(\"base\");\n\t\tbase = baseEl && baseEl.getAttribute(\"href\") || \"/\";\n\t\tbase = base.replace(/^\\w+:\\/\\/[^\\/]+/, \"\");\n\t} else base = \"/\";\n\tif (base[0] !== \"/\" && base[0] !== \"#\") base = \"/\" + base;\n\treturn removeTrailingSlash(base);\n}\nconst BEFORE_HASH_RE = /^[^#]+#/;\nfunction createHref(base, location) {\n\treturn base.replace(BEFORE_HASH_RE, \"#\") + location;\n}\n\n//#endregion\n//#region src/scrollBehavior.ts\nfunction getElementPosition(el, offset) {\n\tconst docRect = document.documentElement.getBoundingClientRect();\n\tconst elRect = el.getBoundingClientRect();\n\treturn {\n\t\tbehavior: offset.behavior,\n\t\tleft: elRect.left - docRect.left - (offset.left || 0),\n\t\ttop: elRect.top - docRect.top - (offset.top || 0)\n\t};\n}\nconst computeScrollPosition = () => ({\n\tleft: window.scrollX,\n\ttop: window.scrollY\n});\nfunction scrollToPosition(position) {\n\tlet scrollToOptions;\n\tif (\"el\" in position) {\n\t\tconst positionEl = position.el;\n\t\tconst isIdSelector = typeof positionEl === \"string\" && positionEl.startsWith(\"#\");\n\t\t/**\n\t\t* `id`s can accept pretty much any characters, including CSS combinators\n\t\t* like `>` or `~`. It's still possible to retrieve elements using\n\t\t* `document.getElementById('~')` but it needs to be escaped when using\n\t\t* `document.querySelector('#\\\\~')` for it to be valid. The only\n\t\t* requirements for `id`s are them to be unique on the page and to not be\n\t\t* empty (`id=\"\"`). Because of that, when passing an id selector, it should\n\t\t* be properly escaped for it to work with `querySelector`. We could check\n\t\t* for the id selector to be simple (no CSS combinators `+ >~`) but that\n\t\t* would make things inconsistent since they are valid characters for an\n\t\t* `id` but would need to be escaped when using `querySelector`, breaking\n\t\t* their usage and ending up in no selector returned. Selectors need to be\n\t\t* escaped:\n\t\t*\n\t\t* - `#1-thing` becomes `#\\31 -thing`\n\t\t* - `#with~symbols` becomes `#with\\\\~symbols`\n\t\t*\n\t\t* - More information about the topic can be found at\n\t\t* https://mathiasbynens.be/notes/html5-id-class.\n\t\t* - Practical example: https://mathiasbynens.be/demo/html5-id\n\t\t*/\n\t\tif (process.env.NODE_ENV !== \"production\" && typeof position.el === \"string\") {\n\t\t\tif (!isIdSelector || !document.getElementById(position.el.slice(1))) try {\n\t\t\t\tconst foundEl = document.querySelector(position.el);\n\t\t\t\tif (isIdSelector && foundEl) {\n\t\t\t\t\twarn$1(`The selector \"${position.el}\" should be passed as \"el: document.querySelector('${position.el}')\" because it starts with \"#\".`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\twarn$1(`The selector \"${position.el}\" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tconst el = typeof positionEl === \"string\" ? isIdSelector ? document.getElementById(positionEl.slice(1)) : document.querySelector(positionEl) : positionEl;\n\t\tif (!el) {\n\t\t\tprocess.env.NODE_ENV !== \"production\" && warn$1(`Couldn't find element using selector \"${position.el}\" returned by scrollBehavior.`);\n\t\t\treturn;\n\t\t}\n\t\tscrollToOptions = getElementPosition(el, position);\n\t} else scrollToOptions = position;\n\tif (\"scrollBehavior\" in document.documentElement.style) window.scrollTo(scrollToOptions);\n\telse window.scrollTo(scrollToOptions.left != null ? scrollToOptions.left : window.scrollX, scrollToOptions.top != null ? scrollToOptions.top : window.scrollY);\n}\nfunction getScrollKey(path, delta) {\n\treturn (history.state ? history.state.position - delta : -1) + path;\n}\nconst scrollPositions = /* @__PURE__ */ new Map();\nfunction saveScrollPosition(key, scrollPosition) {\n\tscrollPositions.set(key, scrollPosition);\n}\nfunction getSavedScrollPosition(key) {\n\tconst scroll = scrollPositions.get(key);\n\tscrollPositions.delete(key);\n\treturn scroll;\n}\n/**\n* ScrollBehavior instance used by the router to compute and restore the scroll\n* position when navigating.\n*/\n\n//#endregion\n//#region src/types/typeGuards.ts\nfunction isRouteLocation(route) {\n\treturn typeof route === \"string\" || route && typeof route === \"object\";\n}\nfunction isRouteName(name) {\n\treturn typeof name === \"string\" || typeof name === \"symbol\";\n}\n\n//#endregion\n//#region src/query.ts\n/**\n* Transforms a queryString into a {@link LocationQuery} object. Accept both, a\n* version with the leading `?` and without Should work as URLSearchParams\n\n* @internal\n*\n* @param search - search string to parse\n* @returns a query object\n*/\nfunction parseQuery(search) {\n\tconst query = {};\n\tif (search === \"\" || search === \"?\") return query;\n\tconst searchParams = (search[0] === \"?\" ? search.slice(1) : search).split(\"&\");\n\tfor (let i = 0; i < searchParams.length; ++i) {\n\t\tconst searchParam = searchParams[i].replace(PLUS_RE, \" \");\n\t\tconst eqPos = searchParam.indexOf(\"=\");\n\t\tconst key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));\n\t\tconst value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));\n\t\tif (key in query) {\n\t\t\tlet currentValue = query[key];\n\t\t\tif (!isArray(currentValue)) currentValue = query[key] = [currentValue];\n\t\t\tcurrentValue.push(value);\n\t\t} else query[key] = value;\n\t}\n\treturn query;\n}\n/**\n* Stringifies a {@link LocationQueryRaw} object. Like `URLSearchParams`, it\n* doesn't prepend a `?`\n*\n* @internal\n*\n* @param query - query object to stringify\n* @returns string version of the query without the leading `?`\n*/\nfunction stringifyQuery(query) {\n\tlet search = \"\";\n\tfor (let key in query) {\n\t\tconst value = query[key];\n\t\tkey = encodeQueryKey(key);\n\t\tif (value == null) {\n\t\t\tif (value !== void 0) search += (search.length ? \"&\" : \"\") + key;\n\t\t\tcontinue;\n\t\t}\n\t\t(isArray(value) ? value.map((v) => v && encodeQueryValue(v)) : [value && encodeQueryValue(value)]).forEach((value) => {\n\t\t\tif (value !== void 0) {\n\t\t\t\tsearch += (search.length ? \"&\" : \"\") + key;\n\t\t\t\tif (value != null) search += \"=\" + value;\n\t\t\t}\n\t\t});\n\t}\n\treturn search;\n}\n/**\n* Transforms a {@link LocationQueryRaw} into a {@link LocationQuery} by casting\n* numbers into strings, removing keys with an undefined value and replacing\n* undefined with null in arrays\n*\n* @param query - query object to normalize\n* @returns a normalized query object\n*/\nfunction normalizeQuery(query) {\n\tconst normalizedQuery = {};\n\tfor (const key in query) {\n\t\tconst value = query[key];\n\t\tif (value !== void 0) normalizedQuery[key] = isArray(value) ? value.map((v) => v == null ? null : \"\" + v) : value == null ? value : \"\" + value;\n\t}\n\treturn normalizedQuery;\n}\n\n//#endregion\n//#region src/utils/callbacks.ts\n/**\n* Create a list of callbacks that can be reset. Used to create before and after navigation guards list\n*/\nfunction useCallbacks() {\n\tlet handlers = [];\n\tfunction add(handler) {\n\t\thandlers.push(handler);\n\t\treturn () => {\n\t\t\tconst i = handlers.indexOf(handler);\n\t\t\tif (i > -1) handlers.splice(i, 1);\n\t\t};\n\t}\n\tfunction reset() {\n\t\thandlers = [];\n\t}\n\treturn {\n\t\tadd,\n\t\tlist: () => handlers.slice(),\n\t\treset\n\t};\n}\n\n//#endregion\n//#region src/navigationGuards.ts\nfunction registerGuard(activeRecordRef, name, guard) {\n\tconst record = activeRecordRef.value;\n\tif (!record) {\n\t\tif (process.env.NODE_ENV !== \"production\") warn$1(`No active route record was found when calling \\`${name === \"updateGuards\" ? \"onBeforeRouteUpdate\" : \"onBeforeRouteLeave\"}()\\`. Make sure you call this function inside a component child of . Maybe you called it inside of App.vue?`);\n\t\treturn;\n\t}\n\tlet currentRecord = record;\n\tconst removeFromList = () => {\n\t\tcurrentRecord[name].delete(guard);\n\t};\n\tonUnmounted(removeFromList);\n\tonDeactivated(removeFromList);\n\tonActivated(() => {\n\t\tconst newRecord = activeRecordRef.value;\n\t\tif (process.env.NODE_ENV !== \"production\" && !newRecord) warn$1(\"No active route record was found when reactivating component with navigation guard. This is likely a bug in vue-router. Please report it.\");\n\t\tif (newRecord) currentRecord = newRecord;\n\t\tcurrentRecord[name].add(guard);\n\t});\n\tcurrentRecord[name].add(guard);\n}\n/**\n* Add a navigation guard that triggers whenever the component for the current\n* location is about to be left. Similar to {@link beforeRouteLeave} but can be\n* used in any component. The guard is removed when the component is unmounted.\n*\n* @param leaveGuard - {@link NavigationGuard}\n*/\nfunction onBeforeRouteLeave(leaveGuard) {\n\tif (process.env.NODE_ENV !== \"production\" && !getCurrentInstance()) {\n\t\twarn$1(\"getCurrentInstance() returned null. onBeforeRouteLeave() must be called at the top of a setup function\");\n\t\treturn;\n\t}\n\tregisterGuard(inject(matchedRouteKey, {}), \"leaveGuards\", leaveGuard);\n}\n/**\n* Add a navigation guard that triggers whenever the current location is about\n* to be updated. Similar to {@link beforeRouteUpdate} but can be used in any\n* component. The guard is removed when the component is unmounted.\n*\n* @param updateGuard - {@link NavigationGuard}\n*/\nfunction onBeforeRouteUpdate(updateGuard) {\n\tif (process.env.NODE_ENV !== \"production\" && !getCurrentInstance()) {\n\t\twarn$1(\"getCurrentInstance() returned null. onBeforeRouteUpdate() must be called at the top of a setup function\");\n\t\treturn;\n\t}\n\tregisterGuard(inject(matchedRouteKey, {}), \"updateGuards\", updateGuard);\n}\nfunction guardToPromiseFn(guard, to, from, record, name, runWithContext = (fn) => fn()) {\n\tconst enterCallbackArray = record && (record.enterCallbacks[name] = record.enterCallbacks[name] || []);\n\treturn () => new Promise((resolve, reject) => {\n\t\tconst next = (valid) => {\n\t\t\tif (valid === false) reject(createRouterError(ErrorTypes.NAVIGATION_ABORTED, {\n\t\t\t\tfrom,\n\t\t\t\tto\n\t\t\t}));\n\t\t\telse if (valid instanceof Error) reject(valid);\n\t\t\telse if (isRouteLocation(valid)) reject(createRouterError(ErrorTypes.NAVIGATION_GUARD_REDIRECT, {\n\t\t\t\tfrom: to,\n\t\t\t\tto: valid\n\t\t\t}));\n\t\t\telse {\n\t\t\t\tif (enterCallbackArray && record.enterCallbacks[name] === enterCallbackArray && typeof valid === \"function\") enterCallbackArray.push(valid);\n\t\t\t\tresolve();\n\t\t\t}\n\t\t};\n\t\tconst guardReturn = runWithContext(() => guard.call(record && record.instances[name], to, from, process.env.NODE_ENV !== \"production\" ? withDeprecationWarning(canOnlyBeCalledOnce(next, to, from)) : next));\n\t\tlet guardCall = Promise.resolve(guardReturn);\n\t\tif (guard.length < 3) guardCall = guardCall.then(next);\n\t\tif (process.env.NODE_ENV !== \"production\" && guard.length > 2) {\n\t\t\tconst message = `The \"next\" callback was never called inside of ${guard.name ? \"\\\"\" + guard.name + \"\\\"\" : \"\"}:\\n${guard.toString()}\\n. If you are returning a value instead of calling \"next\", make sure to remove the \"next\" parameter from your function.`;\n\t\t\tif (typeof guardReturn === \"object\" && \"then\" in guardReturn) guardCall = guardCall.then((resolvedValue) => {\n\t\t\t\tif (!next._called) {\n\t\t\t\t\twarn$1(message);\n\t\t\t\t\treturn Promise.reject(/* @__PURE__ */ new Error(\"Invalid navigation guard\"));\n\t\t\t\t}\n\t\t\t\treturn resolvedValue;\n\t\t\t});\n\t\t\telse if (guardReturn !== void 0) {\n\t\t\t\tif (!next._called) {\n\t\t\t\t\twarn$1(message);\n\t\t\t\t\treject(/* @__PURE__ */ new Error(\"Invalid navigation guard\"));\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tguardCall.catch((err) => reject(err));\n\t});\n}\n/**\n* Wraps the next callback to warn when it is used. Dev-only: when __DEV__ is\n* false (production builds), this branch is dead code and is stripped from the\n* bundle.\n*\n* @internal\n*/\nfunction withDeprecationWarning(next) {\n\tlet warned = false;\n\treturn function() {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\twarn$1(\"The `next()` callback in navigation guards is deprecated. Return the value instead of calling `next(value)`.\");\n\t\t}\n\t\treturn next.apply(this, arguments);\n\t};\n}\nfunction canOnlyBeCalledOnce(next, to, from) {\n\tlet called = 0;\n\treturn function() {\n\t\tif (called++ === 1) warn$1(`The \"next\" callback was called more than once in one navigation guard when going from \"${from.fullPath}\" to \"${to.fullPath}\". It should be called exactly one time in each navigation guard. This will fail in production.`);\n\t\tnext._called = true;\n\t\tif (called === 1) next.apply(null, arguments);\n\t};\n}\nfunction extractComponentsGuards(matched, guardType, to, from, runWithContext = (fn) => fn()) {\n\tconst guards = [];\n\tfor (const record of matched) {\n\t\tif (process.env.NODE_ENV !== \"production\" && !record.components && record.children && !record.children.length) warn$1(`Record with path \"${record.path}\" is either missing a \"component(s)\" or \"children\" property.`);\n\t\tfor (const name in record.components) {\n\t\t\tlet rawComponent = record.components[name];\n\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\tif (!rawComponent || typeof rawComponent !== \"object\" && typeof rawComponent !== \"function\") {\n\t\t\t\t\twarn$1(`Component \"${name}\" in record with path \"${record.path}\" is not a valid component. Received \"${String(rawComponent)}\".`);\n\t\t\t\t\tthrow new Error(\"Invalid route component\");\n\t\t\t\t} else if (\"then\" in rawComponent) {\n\t\t\t\t\twarn$1(`Component \"${name}\" in record with path \"${record.path}\" is a Promise instead of a function that returns a Promise. Did you write \"import('./MyPage.vue')\" instead of \"() => import('./MyPage.vue')\" ? This will break in production if not fixed.`);\n\t\t\t\t\tconst promise = rawComponent;\n\t\t\t\t\trawComponent = () => promise;\n\t\t\t\t} else if (rawComponent.__asyncLoader && !rawComponent.__warnedDefineAsync) {\n\t\t\t\t\trawComponent.__warnedDefineAsync = true;\n\t\t\t\t\twarn$1(`Component \"${name}\" in record with path \"${record.path}\" is defined using \"defineAsyncComponent()\". Write \"() => import('./MyPage.vue')\" instead of \"defineAsyncComponent(() => import('./MyPage.vue'))\".`);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (guardType !== \"beforeRouteEnter\" && !record.instances[name]) continue;\n\t\t\tif (isRouteComponent(rawComponent)) {\n\t\t\t\tconst guard = (rawComponent.__vccOpts || rawComponent)[guardType];\n\t\t\t\tguard && guards.push(guardToPromiseFn(guard, to, from, record, name, runWithContext));\n\t\t\t} else {\n\t\t\t\tlet componentPromise = rawComponent();\n\t\t\t\tif (process.env.NODE_ENV !== \"production\" && !(\"catch\" in componentPromise)) {\n\t\t\t\t\twarn$1(`Component \"${name}\" in record with path \"${record.path}\" is a function that does not return a Promise. If you were passing a functional component, make sure to add a \"displayName\" to the component. This will break in production if not fixed.`);\n\t\t\t\t\tcomponentPromise = Promise.resolve(componentPromise);\n\t\t\t\t}\n\t\t\t\tguards.push(() => componentPromise.then((resolved) => {\n\t\t\t\t\tif (!resolved) throw new Error(`Couldn't resolve component \"${name}\" at \"${record.path}\"`);\n\t\t\t\t\tconst resolvedComponent = isESModule(resolved) ? resolved.default : resolved;\n\t\t\t\t\trecord.mods[name] = resolved;\n\t\t\t\t\trecord.components[name] = resolvedComponent;\n\t\t\t\t\tconst guard = (resolvedComponent.__vccOpts || resolvedComponent)[guardType];\n\t\t\t\t\treturn guard && guardToPromiseFn(guard, to, from, record, name, runWithContext)();\n\t\t\t\t}));\n\t\t\t}\n\t\t}\n\t}\n\treturn guards;\n}\n/**\n* Ensures a route is loaded, so it can be passed as o prop to ``.\n*\n* @param route - resolved route to load\n*/\nfunction loadRouteLocation(route) {\n\treturn route.matched.every((record) => record.redirect) ? Promise.reject(/* @__PURE__ */ new Error(\"Cannot load a route that redirects.\")) : Promise.all(route.matched.map((record) => record.components && Promise.all(Object.keys(record.components).reduce((promises, name) => {\n\t\tconst rawComponent = record.components[name];\n\t\tif (typeof rawComponent === \"function\" && !(\"displayName\" in rawComponent)) promises.push(rawComponent().then((resolved) => {\n\t\t\tif (!resolved) return Promise.reject(/* @__PURE__ */ new Error(`Couldn't resolve component \"${name}\" at \"${record.path}\". Ensure you passed a function that returns a promise.`));\n\t\t\tconst resolvedComponent = isESModule(resolved) ? resolved.default : resolved;\n\t\t\trecord.mods[name] = resolved;\n\t\t\trecord.components[name] = resolvedComponent;\n\t\t}));\n\t\treturn promises;\n\t}, [])))).then(() => route);\n}\n/**\n* Split the leaving, updating, and entering records.\n* @internal\n*\n* @param to - Location we are navigating to\n* @param from - Location we are navigating from\n*/\nfunction extractChangingRecords(to, from) {\n\tconst leavingRecords = [];\n\tconst updatingRecords = [];\n\tconst enteringRecords = [];\n\tconst len = Math.max(from.matched.length, to.matched.length);\n\tfor (let i = 0; i < len; i++) {\n\t\tconst recordFrom = from.matched[i];\n\t\tif (recordFrom) if (to.matched.find((record) => isSameRouteRecord(record, recordFrom))) updatingRecords.push(recordFrom);\n\t\telse leavingRecords.push(recordFrom);\n\t\tconst recordTo = to.matched[i];\n\t\tif (recordTo) {\n\t\t\tif (!from.matched.find((record) => isSameRouteRecord(record, recordTo))) enteringRecords.push(recordTo);\n\t\t}\n\t}\n\treturn [\n\t\tleavingRecords,\n\t\tupdatingRecords,\n\t\tenteringRecords\n\t];\n}\n\n//#endregion\n//#region src/devtools.ts\n/**\n* Copies a route location and removes any problematic properties that cannot be shown in devtools (e.g. Vue instances).\n*\n* @param routeLocation - routeLocation to format\n* @param tooltip - optional tooltip\n* @returns a copy of the routeLocation\n*/\nfunction formatRouteLocation(routeLocation, tooltip) {\n\tconst copy = assign({}, routeLocation, { matched: routeLocation.matched.map((matched) => omit(matched, [\n\t\t\"instances\",\n\t\t\"children\",\n\t\t\"aliasOf\"\n\t])) });\n\treturn { _custom: {\n\t\ttype: null,\n\t\treadOnly: true,\n\t\tdisplay: routeLocation.fullPath,\n\t\ttooltip,\n\t\tvalue: copy\n\t} };\n}\nfunction formatDisplay(display) {\n\treturn { _custom: { display } };\n}\nlet routerId = 0;\nfunction addDevtools(app, router, matcher) {\n\tif (router.__hasDevtools) return;\n\trouter.__hasDevtools = true;\n\tconst id = routerId++;\n\tsetupDevtoolsPlugin({\n\t\tid: \"org.vuejs.router\" + (id ? \".\" + id : \"\"),\n\t\tlabel: \"Vue Router\",\n\t\tpackageName: \"vue-router\",\n\t\thomepage: \"https://router.vuejs.org\",\n\t\tlogo: \"https://router.vuejs.org/logo.png\",\n\t\tcomponentStateTypes: [\"Routing\"],\n\t\tapp\n\t}, (api) => {\n\t\tapi.on.inspectComponent((payload) => {\n\t\t\tif (payload.instanceData) payload.instanceData.state.push({\n\t\t\t\ttype: \"Routing\",\n\t\t\t\tkey: \"$route\",\n\t\t\t\teditable: false,\n\t\t\t\tvalue: formatRouteLocation(router.currentRoute.value, \"Current Route\")\n\t\t\t});\n\t\t});\n\t\tapi.on.visitComponentTree(({ treeNode: node, componentInstance }) => {\n\t\t\tif (componentInstance.__vrv_devtools) {\n\t\t\t\tconst info = componentInstance.__vrv_devtools;\n\t\t\t\tnode.tags.push({\n\t\t\t\t\tlabel: (info.name ? `${info.name.toString()}: ` : \"\") + info.path,\n\t\t\t\t\ttextColor: 0,\n\t\t\t\t\ttooltip: \"This component is rendered by <router-view>\",\n\t\t\t\t\tbackgroundColor: PINK_500\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (isArray(componentInstance.__vrl_devtools)) {\n\t\t\t\tcomponentInstance.__devtoolsApi = api;\n\t\t\t\tcomponentInstance.__vrl_devtools.forEach((devtoolsData) => {\n\t\t\t\t\tlet label = devtoolsData.route.path;\n\t\t\t\t\tlet backgroundColor = ORANGE_400;\n\t\t\t\t\tlet tooltip = \"\";\n\t\t\t\t\tlet textColor = 0;\n\t\t\t\t\tif (devtoolsData.error) {\n\t\t\t\t\t\tlabel = devtoolsData.error;\n\t\t\t\t\t\tbackgroundColor = RED_100;\n\t\t\t\t\t\ttextColor = RED_700;\n\t\t\t\t\t} else if (devtoolsData.isExactActive) {\n\t\t\t\t\t\tbackgroundColor = LIME_500;\n\t\t\t\t\t\ttooltip = \"This is exactly active\";\n\t\t\t\t\t} else if (devtoolsData.isActive) {\n\t\t\t\t\t\tbackgroundColor = BLUE_600;\n\t\t\t\t\t\ttooltip = \"This link is active\";\n\t\t\t\t\t}\n\t\t\t\t\tnode.tags.push({\n\t\t\t\t\t\tlabel,\n\t\t\t\t\t\ttextColor,\n\t\t\t\t\t\ttooltip,\n\t\t\t\t\t\tbackgroundColor\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\twatch(router.currentRoute, () => {\n\t\t\trefreshRoutesView();\n\t\t\tapi.notifyComponentUpdate();\n\t\t\tapi.sendInspectorTree(routerInspectorId);\n\t\t\tapi.sendInspectorState(routerInspectorId);\n\t\t});\n\t\tconst navigationsLayerId = \"router:navigations:\" + id;\n\t\tapi.addTimelineLayer({\n\t\t\tid: navigationsLayerId,\n\t\t\tlabel: `Router${id ? \" \" + id : \"\"} Navigations`,\n\t\t\tcolor: 4237508\n\t\t});\n\t\trouter.onError((error, to) => {\n\t\t\tapi.addTimelineEvent({\n\t\t\t\tlayerId: navigationsLayerId,\n\t\t\t\tevent: {\n\t\t\t\t\ttitle: \"Error during Navigation\",\n\t\t\t\t\tsubtitle: to.fullPath,\n\t\t\t\t\tlogType: \"error\",\n\t\t\t\t\ttime: api.now(),\n\t\t\t\t\tdata: { error },\n\t\t\t\t\tgroupId: to.meta.__navigationId\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\tlet navigationId = 0;\n\t\trouter.beforeEach((to, from) => {\n\t\t\tconst data = {\n\t\t\t\tguard: formatDisplay(\"beforeEach\"),\n\t\t\t\tfrom: formatRouteLocation(from, \"Current Location during this navigation\"),\n\t\t\t\tto: formatRouteLocation(to, \"Target location\")\n\t\t\t};\n\t\t\tObject.defineProperty(to.meta, \"__navigationId\", { value: navigationId++ });\n\t\t\tapi.addTimelineEvent({\n\t\t\t\tlayerId: navigationsLayerId,\n\t\t\t\tevent: {\n\t\t\t\t\ttime: api.now(),\n\t\t\t\t\ttitle: \"Start of navigation\",\n\t\t\t\t\tsubtitle: to.fullPath,\n\t\t\t\t\tdata,\n\t\t\t\t\tgroupId: to.meta.__navigationId\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\trouter.afterEach((to, from, failure) => {\n\t\t\tconst data = { guard: formatDisplay(\"afterEach\") };\n\t\t\tif (failure) {\n\t\t\t\tdata.failure = { _custom: {\n\t\t\t\t\ttype: Error,\n\t\t\t\t\treadOnly: true,\n\t\t\t\t\tdisplay: failure ? failure.message : \"\",\n\t\t\t\t\ttooltip: \"Navigation Failure\",\n\t\t\t\t\tvalue: failure\n\t\t\t\t} };\n\t\t\t\tdata.status = formatDisplay(\"❌\");\n\t\t\t} else data.status = formatDisplay(\"✅\");\n\t\t\tdata.from = formatRouteLocation(from, \"Current Location during this navigation\");\n\t\t\tdata.to = formatRouteLocation(to, \"Target location\");\n\t\t\tapi.addTimelineEvent({\n\t\t\t\tlayerId: navigationsLayerId,\n\t\t\t\tevent: {\n\t\t\t\t\ttitle: \"End of navigation\",\n\t\t\t\t\tsubtitle: to.fullPath,\n\t\t\t\t\ttime: api.now(),\n\t\t\t\t\tdata,\n\t\t\t\t\tlogType: failure ? \"warning\" : \"default\",\n\t\t\t\t\tgroupId: to.meta.__navigationId\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\t/**\n\t\t* Inspector of Existing routes\n\t\t*/\n\t\tconst routerInspectorId = \"router-inspector:\" + id;\n\t\tapi.addInspector({\n\t\t\tid: routerInspectorId,\n\t\t\tlabel: \"Routes\" + (id ? \" \" + id : \"\"),\n\t\t\ticon: \"book\",\n\t\t\ttreeFilterPlaceholder: \"Search routes\"\n\t\t});\n\t\tfunction refreshRoutesView() {\n\t\t\tif (!activeRoutesPayload) return;\n\t\t\tconst payload = activeRoutesPayload;\n\t\t\tlet routes = matcher.getRoutes().filter((route) => !route.parent || !route.parent.record.components);\n\t\t\troutes.forEach(resetMatchStateOnRouteRecord);\n\t\t\tif (payload.filter) routes = routes.filter((route) => isRouteMatching(route, payload.filter.toLowerCase()));\n\t\t\troutes.forEach((route) => markRouteRecordActive(route, router.currentRoute.value));\n\t\t\tpayload.rootNodes = routes.map(formatRouteRecordForInspector);\n\t\t}\n\t\tlet activeRoutesPayload;\n\t\tapi.on.getInspectorTree((payload) => {\n\t\t\tactiveRoutesPayload = payload;\n\t\t\tif (payload.app === app && payload.inspectorId === routerInspectorId) refreshRoutesView();\n\t\t});\n\t\t/**\n\t\t* Display information about the currently selected route record\n\t\t*/\n\t\tapi.on.getInspectorState((payload) => {\n\t\t\tif (payload.app === app && payload.inspectorId === routerInspectorId) {\n\t\t\t\tconst route = matcher.getRoutes().find((route) => route.record.__vd_id === payload.nodeId);\n\t\t\t\tif (route) payload.state = { options: formatRouteRecordMatcherForStateInspector(route) };\n\t\t\t}\n\t\t});\n\t\tapi.sendInspectorTree(routerInspectorId);\n\t\tapi.sendInspectorState(routerInspectorId);\n\t});\n}\nfunction modifierForKey(key) {\n\tif (key.optional) return key.repeatable ? \"*\" : \"?\";\n\telse return key.repeatable ? \"+\" : \"\";\n}\nfunction formatRouteRecordMatcherForStateInspector(route) {\n\tconst { record } = route;\n\tconst fields = [{\n\t\teditable: false,\n\t\tkey: \"path\",\n\t\tvalue: record.path\n\t}];\n\tif (record.name != null) fields.push({\n\t\teditable: false,\n\t\tkey: \"name\",\n\t\tvalue: record.name\n\t});\n\tfields.push({\n\t\teditable: false,\n\t\tkey: \"regexp\",\n\t\tvalue: route.re\n\t});\n\tif (route.keys.length) fields.push({\n\t\teditable: false,\n\t\tkey: \"keys\",\n\t\tvalue: { _custom: {\n\t\t\ttype: null,\n\t\t\treadOnly: true,\n\t\t\tdisplay: route.keys.map((key) => `${key.name}${modifierForKey(key)}`).join(\" \"),\n\t\t\ttooltip: \"Param keys\",\n\t\t\tvalue: route.keys\n\t\t} }\n\t});\n\tif (record.redirect != null) fields.push({\n\t\teditable: false,\n\t\tkey: \"redirect\",\n\t\tvalue: record.redirect\n\t});\n\tif (route.alias.length) fields.push({\n\t\teditable: false,\n\t\tkey: \"aliases\",\n\t\tvalue: route.alias.map((alias) => alias.record.path)\n\t});\n\tif (Object.keys(route.record.meta).length) fields.push({\n\t\teditable: false,\n\t\tkey: \"meta\",\n\t\tvalue: route.record.meta\n\t});\n\tfields.push({\n\t\tkey: \"score\",\n\t\teditable: false,\n\t\tvalue: { _custom: {\n\t\t\ttype: null,\n\t\t\treadOnly: true,\n\t\t\tdisplay: route.score.map((score) => score.join(\", \")).join(\" | \"),\n\t\t\ttooltip: \"Score used to sort routes\",\n\t\t\tvalue: route.score\n\t\t} }\n\t});\n\treturn fields;\n}\n/**\n* Extracted from tailwind palette\n*/\nconst PINK_500 = 15485081;\nconst BLUE_600 = 2450411;\nconst LIME_500 = 8702998;\nconst CYAN_400 = 2282478;\nconst ORANGE_400 = 16486972;\nconst DARK = 6710886;\nconst RED_100 = 16704226;\nconst RED_700 = 12131356;\nfunction formatRouteRecordForInspector(route) {\n\tconst tags = [];\n\tconst { record } = route;\n\tif (record.name != null) tags.push({\n\t\tlabel: String(record.name),\n\t\ttextColor: 0,\n\t\tbackgroundColor: CYAN_400\n\t});\n\tif (record.aliasOf) tags.push({\n\t\tlabel: \"alias\",\n\t\ttextColor: 0,\n\t\tbackgroundColor: ORANGE_400\n\t});\n\tif (route.__vd_match) tags.push({\n\t\tlabel: \"matches\",\n\t\ttextColor: 0,\n\t\tbackgroundColor: PINK_500\n\t});\n\tif (route.__vd_exactActive) tags.push({\n\t\tlabel: \"exact\",\n\t\ttextColor: 0,\n\t\tbackgroundColor: LIME_500\n\t});\n\tif (route.__vd_active) tags.push({\n\t\tlabel: \"active\",\n\t\ttextColor: 0,\n\t\tbackgroundColor: BLUE_600\n\t});\n\tif (record.redirect) tags.push({\n\t\tlabel: typeof record.redirect === \"string\" ? `redirect: ${record.redirect}` : \"redirects\",\n\t\ttextColor: 16777215,\n\t\tbackgroundColor: DARK\n\t});\n\tlet id = record.__vd_id;\n\tif (id == null) {\n\t\tid = String(routeRecordId++);\n\t\trecord.__vd_id = id;\n\t}\n\treturn {\n\t\tid,\n\t\tlabel: record.path,\n\t\ttags,\n\t\tchildren: route.children.map(formatRouteRecordForInspector)\n\t};\n}\nlet routeRecordId = 0;\nconst EXTRACT_REGEXP_RE = /^\\/(.*)\\/([a-z]*)$/;\nfunction markRouteRecordActive(route, currentRoute) {\n\tconst isExactActive = currentRoute.matched.length && isSameRouteRecord(currentRoute.matched[currentRoute.matched.length - 1], route.record);\n\troute.__vd_exactActive = route.__vd_active = isExactActive;\n\tif (!isExactActive) route.__vd_active = currentRoute.matched.some((match) => isSameRouteRecord(match, route.record));\n\troute.children.forEach((childRoute) => markRouteRecordActive(childRoute, currentRoute));\n}\nfunction resetMatchStateOnRouteRecord(route) {\n\troute.__vd_match = false;\n\troute.children.forEach(resetMatchStateOnRouteRecord);\n}\nfunction isRouteMatching(route, filter) {\n\tconst found = String(route.re).match(EXTRACT_REGEXP_RE);\n\troute.__vd_match = false;\n\tif (!found || found.length < 3) return false;\n\tif (new RegExp(found[1].replace(/\\$$/, \"\"), found[2]).test(filter)) {\n\t\troute.children.forEach((child) => isRouteMatching(child, filter));\n\t\tif (route.record.path !== \"/\" || filter === \"/\") {\n\t\t\troute.__vd_match = route.re.test(filter);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\tconst path = route.record.path.toLowerCase();\n\tconst decodedPath = decode(path);\n\tif (!filter.startsWith(\"/\") && (decodedPath.includes(filter) || path.includes(filter))) return true;\n\tif (decodedPath.startsWith(filter) || path.startsWith(filter)) return true;\n\tif (route.record.name && String(route.record.name).includes(filter)) return true;\n\treturn route.children.some((child) => isRouteMatching(child, filter));\n}\nfunction omit(obj, keys) {\n\tconst ret = {};\n\tfor (const key in obj) if (!keys.includes(key)) ret[key] = obj[key];\n\treturn ret;\n}\n\n//#endregion\nexport { resolveRelativePath as A, normalizeBase as C, isSameRouteLocationParams as D, isSameRouteLocation as E, encodeParam as F, encodePath as I, warn$1 as L, stripBase as M, decode as N, isSameRouteRecord as O, encodeHash as P, createHref as S, START_LOCATION_NORMALIZED as T, saveScrollPosition as _, loadRouteLocation as a, NavigationType as b, useCallbacks as c, stringifyQuery as d, isRouteLocation as f, getScrollKey as g, getSavedScrollPosition as h, guardToPromiseFn as i, stringifyURL as j, parseURL as k, normalizeQuery as l, computeScrollPosition as m, extractChangingRecords as n, onBeforeRouteLeave as o, isRouteName as p, extractComponentsGuards as r, onBeforeRouteUpdate as s, addDevtools as t, parseQuery as u, scrollToPosition as v, NEW_stringifyURL as w, START as x, NavigationDirection as y };","/*!\n * vue-router v5.0.3\n * (c) 2026 Eduardo San Martin Morote\n * @license MIT\n */\nimport { a as routerKey, b as isBrowser, c as ErrorTypes, d as isNavigationFailure, f as applyToParams, h as isArray, i as routeLocationKey, l as NavigationFailureType, n as useRouter, o as routerViewLocationKey, p as assign, r as matchedRouteKey, s as viewDepthKey, t as useRoute, u as createRouterError, v as mergeOptions, y as noop } from \"./useApi-j1E6pMaV.js\";\nimport { C as normalizeBase, D as isSameRouteLocationParams, E as isSameRouteLocation, F as encodeParam, L as warn$1, M as stripBase, N as decode, O as isSameRouteRecord, P as encodeHash, S as createHref, T as START_LOCATION_NORMALIZED, _ as saveScrollPosition, a as loadRouteLocation, b as NavigationType, c as useCallbacks, d as stringifyQuery, f as isRouteLocation, g as getScrollKey, h as getSavedScrollPosition, i as guardToPromiseFn, j as stringifyURL, k as parseURL, l as normalizeQuery, m as computeScrollPosition, n as extractChangingRecords, o as onBeforeRouteLeave, p as isRouteName, r as extractComponentsGuards, s as onBeforeRouteUpdate, t as addDevtools, u as parseQuery, v as scrollToPosition, x as START, y as NavigationDirection } from \"./devtools-CVsCuYdF.js\";\nimport { computed, defineComponent, getCurrentInstance, h, inject, nextTick, provide, reactive, ref, shallowReactive, shallowRef, unref, watch, watchEffect } from \"vue\";\n\n//#region src/history/html5.ts\nlet createBaseLocation = () => location.protocol + \"//\" + location.host;\n/**\n* Creates a normalized history location from a window.location object\n* @param base - The base path\n* @param location - The window.location object\n*/\nfunction createCurrentLocation(base, location) {\n\tconst { pathname, search, hash } = location;\n\tconst hashPos = base.indexOf(\"#\");\n\tif (hashPos > -1) {\n\t\tlet slicePos = hash.includes(base.slice(hashPos)) ? base.slice(hashPos).length : 1;\n\t\tlet pathFromHash = hash.slice(slicePos);\n\t\tif (pathFromHash[0] !== \"/\") pathFromHash = \"/\" + pathFromHash;\n\t\treturn stripBase(pathFromHash, \"\");\n\t}\n\treturn stripBase(pathname, base) + search + hash;\n}\nfunction useHistoryListeners(base, historyState, currentLocation, replace) {\n\tlet listeners = [];\n\tlet teardowns = [];\n\tlet pauseState = null;\n\tconst popStateHandler = ({ state }) => {\n\t\tconst to = createCurrentLocation(base, location);\n\t\tconst from = currentLocation.value;\n\t\tconst fromState = historyState.value;\n\t\tlet delta = 0;\n\t\tif (state) {\n\t\t\tcurrentLocation.value = to;\n\t\t\thistoryState.value = state;\n\t\t\tif (pauseState && pauseState === from) {\n\t\t\t\tpauseState = null;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tdelta = fromState ? state.position - fromState.position : 0;\n\t\t} else replace(to);\n\t\tlisteners.forEach((listener) => {\n\t\t\tlistener(currentLocation.value, from, {\n\t\t\t\tdelta,\n\t\t\t\ttype: NavigationType.pop,\n\t\t\t\tdirection: delta ? delta > 0 ? NavigationDirection.forward : NavigationDirection.back : NavigationDirection.unknown\n\t\t\t});\n\t\t});\n\t};\n\tfunction pauseListeners() {\n\t\tpauseState = currentLocation.value;\n\t}\n\tfunction listen(callback) {\n\t\tlisteners.push(callback);\n\t\tconst teardown = () => {\n\t\t\tconst index = listeners.indexOf(callback);\n\t\t\tif (index > -1) listeners.splice(index, 1);\n\t\t};\n\t\tteardowns.push(teardown);\n\t\treturn teardown;\n\t}\n\tfunction beforeUnloadListener() {\n\t\tif (document.visibilityState === \"hidden\") {\n\t\t\tconst { history } = window;\n\t\t\tif (!history.state) return;\n\t\t\thistory.replaceState(assign({}, history.state, { scroll: computeScrollPosition() }), \"\");\n\t\t}\n\t}\n\tfunction destroy() {\n\t\tfor (const teardown of teardowns) teardown();\n\t\tteardowns = [];\n\t\twindow.removeEventListener(\"popstate\", popStateHandler);\n\t\twindow.removeEventListener(\"pagehide\", beforeUnloadListener);\n\t\tdocument.removeEventListener(\"visibilitychange\", beforeUnloadListener);\n\t}\n\twindow.addEventListener(\"popstate\", popStateHandler);\n\twindow.addEventListener(\"pagehide\", beforeUnloadListener);\n\tdocument.addEventListener(\"visibilitychange\", beforeUnloadListener);\n\treturn {\n\t\tpauseListeners,\n\t\tlisten,\n\t\tdestroy\n\t};\n}\n/**\n* Creates a state object\n*/\nfunction buildState(back, current, forward, replaced = false, computeScroll = false) {\n\treturn {\n\t\tback,\n\t\tcurrent,\n\t\tforward,\n\t\treplaced,\n\t\tposition: window.history.length,\n\t\tscroll: computeScroll ? computeScrollPosition() : null\n\t};\n}\nfunction useHistoryStateNavigation(base) {\n\tconst { history, location } = window;\n\tconst currentLocation = { value: createCurrentLocation(base, location) };\n\tconst historyState = { value: history.state };\n\tif (!historyState.value) changeLocation(currentLocation.value, {\n\t\tback: null,\n\t\tcurrent: currentLocation.value,\n\t\tforward: null,\n\t\tposition: history.length - 1,\n\t\treplaced: true,\n\t\tscroll: null\n\t}, true);\n\tfunction changeLocation(to, state, replace) {\n\t\t/**\n\t\t* if a base tag is provided, and we are on a normal domain, we have to\n\t\t* respect the provided `base` attribute because pushState() will use it and\n\t\t* potentially erase anything before the `#` like at\n\t\t* https://github.com/vuejs/router/issues/685 where a base of\n\t\t* `/folder/#` but a base of `/` would erase the `/folder/` section. If\n\t\t* there is no host, the `` tag makes no sense and if there isn't a\n\t\t* base tag we can just use everything after the `#`.\n\t\t*/\n\t\tconst hashIndex = base.indexOf(\"#\");\n\t\tconst url = hashIndex > -1 ? (location.host && document.querySelector(\"base\") ? base : base.slice(hashIndex)) + to : createBaseLocation() + base + to;\n\t\ttry {\n\t\t\thistory[replace ? \"replaceState\" : \"pushState\"](state, \"\", url);\n\t\t\thistoryState.value = state;\n\t\t} catch (err) {\n\t\t\tif (process.env.NODE_ENV !== \"production\") warn$1(\"Error with push/replace State\", err);\n\t\t\telse console.error(err);\n\t\t\tlocation[replace ? \"replace\" : \"assign\"](url);\n\t\t}\n\t}\n\tfunction replace(to, data) {\n\t\tchangeLocation(to, assign({}, history.state, buildState(historyState.value.back, to, historyState.value.forward, true), data, { position: historyState.value.position }), true);\n\t\tcurrentLocation.value = to;\n\t}\n\tfunction push(to, data) {\n\t\tconst currentState = assign({}, historyState.value, history.state, {\n\t\t\tforward: to,\n\t\t\tscroll: computeScrollPosition()\n\t\t});\n\t\tif (process.env.NODE_ENV !== \"production\" && !history.state) warn$1(\"history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\\n\\nhistory.replaceState(history.state, '', url)\\n\\nYou can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state\");\n\t\tchangeLocation(currentState.current, currentState, true);\n\t\tchangeLocation(to, assign({}, buildState(currentLocation.value, to, null), { position: currentState.position + 1 }, data), false);\n\t\tcurrentLocation.value = to;\n\t}\n\treturn {\n\t\tlocation: currentLocation,\n\t\tstate: historyState,\n\t\tpush,\n\t\treplace\n\t};\n}\n/**\n* Creates an HTML5 history. Most common history for single page applications.\n*\n* @param base -\n*/\nfunction createWebHistory(base) {\n\tbase = normalizeBase(base);\n\tconst historyNavigation = useHistoryStateNavigation(base);\n\tconst historyListeners = useHistoryListeners(base, historyNavigation.state, historyNavigation.location, historyNavigation.replace);\n\tfunction go(delta, triggerListeners = true) {\n\t\tif (!triggerListeners) historyListeners.pauseListeners();\n\t\thistory.go(delta);\n\t}\n\tconst routerHistory = assign({\n\t\tlocation: \"\",\n\t\tbase,\n\t\tgo,\n\t\tcreateHref: createHref.bind(null, base)\n\t}, historyNavigation, historyListeners);\n\tObject.defineProperty(routerHistory, \"location\", {\n\t\tenumerable: true,\n\t\tget: () => historyNavigation.location.value\n\t});\n\tObject.defineProperty(routerHistory, \"state\", {\n\t\tenumerable: true,\n\t\tget: () => historyNavigation.state.value\n\t});\n\treturn routerHistory;\n}\n\n//#endregion\n//#region src/history/memory.ts\n/**\n* Creates an in-memory based history. The main purpose of this history is to handle SSR. It starts in a special location that is nowhere.\n* It's up to the user to replace that location with the starter location by either calling `router.push` or `router.replace`.\n*\n* @param base - Base applied to all urls, defaults to '/'\n* @returns a history object that can be passed to the router constructor\n*/\nfunction createMemoryHistory(base = \"\") {\n\tlet listeners = [];\n\tlet queue = [[START, {}]];\n\tlet position = 0;\n\tbase = normalizeBase(base);\n\tfunction setLocation(location, state = {}) {\n\t\tposition++;\n\t\tif (position !== queue.length) queue.splice(position);\n\t\tqueue.push([location, state]);\n\t}\n\tfunction triggerListeners(to, from, { direction, delta }) {\n\t\tconst info = {\n\t\t\tdirection,\n\t\t\tdelta,\n\t\t\ttype: NavigationType.pop\n\t\t};\n\t\tfor (const callback of listeners) callback(to, from, info);\n\t}\n\tconst routerHistory = {\n\t\tlocation: START,\n\t\tstate: {},\n\t\tbase,\n\t\tcreateHref: createHref.bind(null, base),\n\t\treplace(to, state) {\n\t\t\tqueue.splice(position--, 1);\n\t\t\tsetLocation(to, state);\n\t\t},\n\t\tpush(to, state) {\n\t\t\tsetLocation(to, state);\n\t\t},\n\t\tlisten(callback) {\n\t\t\tlisteners.push(callback);\n\t\t\treturn () => {\n\t\t\t\tconst index = listeners.indexOf(callback);\n\t\t\t\tif (index > -1) listeners.splice(index, 1);\n\t\t\t};\n\t\t},\n\t\tdestroy() {\n\t\t\tlisteners = [];\n\t\t\tqueue = [[START, {}]];\n\t\t\tposition = 0;\n\t\t},\n\t\tgo(delta, shouldTrigger = true) {\n\t\t\tconst from = this.location;\n\t\t\tconst direction = delta < 0 ? NavigationDirection.back : NavigationDirection.forward;\n\t\t\tposition = Math.max(0, Math.min(position + delta, queue.length - 1));\n\t\t\tif (shouldTrigger) triggerListeners(this.location, from, {\n\t\t\t\tdirection,\n\t\t\t\tdelta\n\t\t\t});\n\t\t}\n\t};\n\tObject.defineProperty(routerHistory, \"location\", {\n\t\tenumerable: true,\n\t\tget: () => queue[position][0]\n\t});\n\tObject.defineProperty(routerHistory, \"state\", {\n\t\tenumerable: true,\n\t\tget: () => queue[position][1]\n\t});\n\treturn routerHistory;\n}\n\n//#endregion\n//#region src/history/hash.ts\n/**\n* Creates a hash history. Useful for web applications with no host (e.g. `file://`) or when configuring a server to\n* handle any URL is not possible.\n*\n* @param base - optional base to provide. Defaults to `location.pathname + location.search` If there is a `` tag\n* in the `head`, its value will be ignored in favor of this parameter **but note it affects all the history.pushState()\n* calls**, meaning that if you use a `` tag, it's `href` value **has to match this parameter** (ignoring anything\n* after the `#`).\n*\n* @example\n* ```js\n* // at https://example.com/folder\n* createWebHashHistory() // gives a url of `https://example.com/folder#`\n* createWebHashHistory('/folder/') // gives a url of `https://example.com/folder/#`\n* // if the `#` is provided in the base, it won't be added by `createWebHashHistory`\n* createWebHashHistory('/folder/#/app/') // gives a url of `https://example.com/folder/#/app/`\n* // you should avoid doing this because it changes the original url and breaks copying urls\n* createWebHashHistory('/other-folder/') // gives a url of `https://example.com/other-folder/#`\n*\n* // at file:///usr/etc/folder/index.html\n* // for locations with no `host`, the base is ignored\n* createWebHashHistory('/iAmIgnored') // gives a url of `file:///usr/etc/folder/index.html#`\n* ```\n*/\nfunction createWebHashHistory(base) {\n\tbase = location.host ? base || location.pathname + location.search : \"\";\n\tif (!base.includes(\"#\")) base += \"#\";\n\tif (process.env.NODE_ENV !== \"production\" && !base.endsWith(\"#/\") && !base.endsWith(\"#\")) warn$1(`A hash base must end with a \"#\":\\n\"${base}\" should be \"${base.replace(/#.*$/, \"#\")}\".`);\n\treturn createWebHistory(base);\n}\n\n//#endregion\n//#region src/matcher/pathTokenizer.ts\nlet TokenType = /* @__PURE__ */ function(TokenType) {\n\tTokenType[TokenType[\"Static\"] = 0] = \"Static\";\n\tTokenType[TokenType[\"Param\"] = 1] = \"Param\";\n\tTokenType[TokenType[\"Group\"] = 2] = \"Group\";\n\treturn TokenType;\n}({});\nvar TokenizerState = /* @__PURE__ */ function(TokenizerState) {\n\tTokenizerState[TokenizerState[\"Static\"] = 0] = \"Static\";\n\tTokenizerState[TokenizerState[\"Param\"] = 1] = \"Param\";\n\tTokenizerState[TokenizerState[\"ParamRegExp\"] = 2] = \"ParamRegExp\";\n\tTokenizerState[TokenizerState[\"ParamRegExpEnd\"] = 3] = \"ParamRegExpEnd\";\n\tTokenizerState[TokenizerState[\"EscapeNext\"] = 4] = \"EscapeNext\";\n\treturn TokenizerState;\n}(TokenizerState || {});\nconst ROOT_TOKEN = {\n\ttype: TokenType.Static,\n\tvalue: \"\"\n};\nconst VALID_PARAM_RE = /[a-zA-Z0-9_]/;\nfunction tokenizePath(path) {\n\tif (!path) return [[]];\n\tif (path === \"/\") return [[ROOT_TOKEN]];\n\tif (!path.startsWith(\"/\")) throw new Error(process.env.NODE_ENV !== \"production\" ? `Route paths should start with a \"/\": \"${path}\" should be \"/${path}\".` : `Invalid path \"${path}\"`);\n\tfunction crash(message) {\n\t\tthrow new Error(`ERR (${state})/\"${buffer}\": ${message}`);\n\t}\n\tlet state = TokenizerState.Static;\n\tlet previousState = state;\n\tconst tokens = [];\n\tlet segment;\n\tfunction finalizeSegment() {\n\t\tif (segment) tokens.push(segment);\n\t\tsegment = [];\n\t}\n\tlet i = 0;\n\tlet char;\n\tlet buffer = \"\";\n\tlet customRe = \"\";\n\tfunction consumeBuffer() {\n\t\tif (!buffer) return;\n\t\tif (state === TokenizerState.Static) segment.push({\n\t\t\ttype: TokenType.Static,\n\t\t\tvalue: buffer\n\t\t});\n\t\telse if (state === TokenizerState.Param || state === TokenizerState.ParamRegExp || state === TokenizerState.ParamRegExpEnd) {\n\t\t\tif (segment.length > 1 && (char === \"*\" || char === \"+\")) crash(`A repeatable param (${buffer}) must be alone in its segment. eg: '/:ids+.`);\n\t\t\tsegment.push({\n\t\t\t\ttype: TokenType.Param,\n\t\t\t\tvalue: buffer,\n\t\t\t\tregexp: customRe,\n\t\t\t\trepeatable: char === \"*\" || char === \"+\",\n\t\t\t\toptional: char === \"*\" || char === \"?\"\n\t\t\t});\n\t\t} else crash(\"Invalid state to consume buffer\");\n\t\tbuffer = \"\";\n\t}\n\tfunction addCharToBuffer() {\n\t\tbuffer += char;\n\t}\n\twhile (i < path.length) {\n\t\tchar = path[i++];\n\t\tif (char === \"\\\\\" && state !== TokenizerState.ParamRegExp) {\n\t\t\tpreviousState = state;\n\t\t\tstate = TokenizerState.EscapeNext;\n\t\t\tcontinue;\n\t\t}\n\t\tswitch (state) {\n\t\t\tcase TokenizerState.Static:\n\t\t\t\tif (char === \"/\") {\n\t\t\t\t\tif (buffer) consumeBuffer();\n\t\t\t\t\tfinalizeSegment();\n\t\t\t\t} else if (char === \":\") {\n\t\t\t\t\tconsumeBuffer();\n\t\t\t\t\tstate = TokenizerState.Param;\n\t\t\t\t} else addCharToBuffer();\n\t\t\t\tbreak;\n\t\t\tcase TokenizerState.EscapeNext:\n\t\t\t\taddCharToBuffer();\n\t\t\t\tstate = previousState;\n\t\t\t\tbreak;\n\t\t\tcase TokenizerState.Param:\n\t\t\t\tif (char === \"(\") state = TokenizerState.ParamRegExp;\n\t\t\t\telse if (VALID_PARAM_RE.test(char)) addCharToBuffer();\n\t\t\t\telse {\n\t\t\t\t\tconsumeBuffer();\n\t\t\t\t\tstate = TokenizerState.Static;\n\t\t\t\t\tif (char !== \"*\" && char !== \"?\" && char !== \"+\") i--;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase TokenizerState.ParamRegExp:\n\t\t\t\tif (char === \")\") if (customRe[customRe.length - 1] == \"\\\\\") customRe = customRe.slice(0, -1) + char;\n\t\t\t\telse state = TokenizerState.ParamRegExpEnd;\n\t\t\t\telse customRe += char;\n\t\t\t\tbreak;\n\t\t\tcase TokenizerState.ParamRegExpEnd:\n\t\t\t\tconsumeBuffer();\n\t\t\t\tstate = TokenizerState.Static;\n\t\t\t\tif (char !== \"*\" && char !== \"?\" && char !== \"+\") i--;\n\t\t\t\tcustomRe = \"\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tcrash(\"Unknown state\");\n\t\t\t\tbreak;\n\t\t}\n\t}\n\tif (state === TokenizerState.ParamRegExp) crash(`Unfinished custom RegExp for param \"${buffer}\"`);\n\tconsumeBuffer();\n\tfinalizeSegment();\n\treturn tokens;\n}\n\n//#endregion\n//#region src/matcher/pathParserRanker.ts\nconst BASE_PARAM_PATTERN = \"[^/]+?\";\nconst BASE_PATH_PARSER_OPTIONS = {\n\tsensitive: false,\n\tstrict: false,\n\tstart: true,\n\tend: true\n};\nvar PathScore = /* @__PURE__ */ function(PathScore) {\n\tPathScore[PathScore[\"_multiplier\"] = 10] = \"_multiplier\";\n\tPathScore[PathScore[\"Root\"] = 90] = \"Root\";\n\tPathScore[PathScore[\"Segment\"] = 40] = \"Segment\";\n\tPathScore[PathScore[\"SubSegment\"] = 30] = \"SubSegment\";\n\tPathScore[PathScore[\"Static\"] = 40] = \"Static\";\n\tPathScore[PathScore[\"Dynamic\"] = 20] = \"Dynamic\";\n\tPathScore[PathScore[\"BonusCustomRegExp\"] = 10] = \"BonusCustomRegExp\";\n\tPathScore[PathScore[\"BonusWildcard\"] = -50] = \"BonusWildcard\";\n\tPathScore[PathScore[\"BonusRepeatable\"] = -20] = \"BonusRepeatable\";\n\tPathScore[PathScore[\"BonusOptional\"] = -8] = \"BonusOptional\";\n\tPathScore[PathScore[\"BonusStrict\"] = .7000000000000001] = \"BonusStrict\";\n\tPathScore[PathScore[\"BonusCaseSensitive\"] = .25] = \"BonusCaseSensitive\";\n\treturn PathScore;\n}(PathScore || {});\nconst REGEX_CHARS_RE = /[.+*?^${}()[\\]/\\\\]/g;\n/**\n* Creates a path parser from an array of Segments (a segment is an array of Tokens)\n*\n* @param segments - array of segments returned by tokenizePath\n* @param extraOptions - optional options for the regexp\n* @returns a PathParser\n*/\nfunction tokensToParser(segments, extraOptions) {\n\tconst options = assign({}, BASE_PATH_PARSER_OPTIONS, extraOptions);\n\tconst score = [];\n\tlet pattern = options.start ? \"^\" : \"\";\n\tconst keys = [];\n\tfor (const segment of segments) {\n\t\tconst segmentScores = segment.length ? [] : [PathScore.Root];\n\t\tif (options.strict && !segment.length) pattern += \"/\";\n\t\tfor (let tokenIndex = 0; tokenIndex < segment.length; tokenIndex++) {\n\t\t\tconst token = segment[tokenIndex];\n\t\t\tlet subSegmentScore = PathScore.Segment + (options.sensitive ? PathScore.BonusCaseSensitive : 0);\n\t\t\tif (token.type === TokenType.Static) {\n\t\t\t\tif (!tokenIndex) pattern += \"/\";\n\t\t\t\tpattern += token.value.replace(REGEX_CHARS_RE, \"\\\\$&\");\n\t\t\t\tsubSegmentScore += PathScore.Static;\n\t\t\t} else if (token.type === TokenType.Param) {\n\t\t\t\tconst { value, repeatable, optional, regexp } = token;\n\t\t\t\tkeys.push({\n\t\t\t\t\tname: value,\n\t\t\t\t\trepeatable,\n\t\t\t\t\toptional\n\t\t\t\t});\n\t\t\t\tconst re = regexp ? regexp : BASE_PARAM_PATTERN;\n\t\t\t\tif (re !== BASE_PARAM_PATTERN) {\n\t\t\t\t\tsubSegmentScore += PathScore.BonusCustomRegExp;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnew RegExp(`(${re})`);\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\tthrow new Error(`Invalid custom RegExp for param \"${value}\" (${re}): ` + err.message);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlet subPattern = repeatable ? `((?:${re})(?:/(?:${re}))*)` : `(${re})`;\n\t\t\t\tif (!tokenIndex) subPattern = optional && segment.length < 2 ? `(?:/${subPattern})` : \"/\" + subPattern;\n\t\t\t\tif (optional) subPattern += \"?\";\n\t\t\t\tpattern += subPattern;\n\t\t\t\tsubSegmentScore += PathScore.Dynamic;\n\t\t\t\tif (optional) subSegmentScore += PathScore.BonusOptional;\n\t\t\t\tif (repeatable) subSegmentScore += PathScore.BonusRepeatable;\n\t\t\t\tif (re === \".*\") subSegmentScore += PathScore.BonusWildcard;\n\t\t\t}\n\t\t\tsegmentScores.push(subSegmentScore);\n\t\t}\n\t\tscore.push(segmentScores);\n\t}\n\tif (options.strict && options.end) {\n\t\tconst i = score.length - 1;\n\t\tscore[i][score[i].length - 1] += PathScore.BonusStrict;\n\t}\n\tif (!options.strict) pattern += \"/?\";\n\tif (options.end) pattern += \"$\";\n\telse if (options.strict && !pattern.endsWith(\"/\")) pattern += \"(?:/|$)\";\n\tconst re = new RegExp(pattern, options.sensitive ? \"\" : \"i\");\n\tfunction parse(path) {\n\t\tconst match = path.match(re);\n\t\tconst params = {};\n\t\tif (!match) return null;\n\t\tfor (let i = 1; i < match.length; i++) {\n\t\t\tconst value = match[i] || \"\";\n\t\t\tconst key = keys[i - 1];\n\t\t\tparams[key.name] = value && key.repeatable ? value.split(\"/\") : value;\n\t\t}\n\t\treturn params;\n\t}\n\tfunction stringify(params) {\n\t\tlet path = \"\";\n\t\tlet avoidDuplicatedSlash = false;\n\t\tfor (const segment of segments) {\n\t\t\tif (!avoidDuplicatedSlash || !path.endsWith(\"/\")) path += \"/\";\n\t\t\tavoidDuplicatedSlash = false;\n\t\t\tfor (const token of segment) if (token.type === TokenType.Static) path += token.value;\n\t\t\telse if (token.type === TokenType.Param) {\n\t\t\t\tconst { value, repeatable, optional } = token;\n\t\t\t\tconst param = value in params ? params[value] : \"\";\n\t\t\t\tif (isArray(param) && !repeatable) throw new Error(`Provided param \"${value}\" is an array but it is not repeatable (* or + modifiers)`);\n\t\t\t\tconst text = isArray(param) ? param.join(\"/\") : param;\n\t\t\t\tif (!text) if (optional) {\n\t\t\t\t\tif (segment.length < 2) if (path.endsWith(\"/\")) path = path.slice(0, -1);\n\t\t\t\t\telse avoidDuplicatedSlash = true;\n\t\t\t\t} else throw new Error(`Missing required param \"${value}\"`);\n\t\t\t\tpath += text;\n\t\t\t}\n\t\t}\n\t\treturn path || \"/\";\n\t}\n\treturn {\n\t\tre,\n\t\tscore,\n\t\tkeys,\n\t\tparse,\n\t\tstringify\n\t};\n}\n/**\n* Compares an array of numbers as used in PathParser.score and returns a\n* number. This function can be used to `sort` an array\n*\n* @param a - first array of numbers\n* @param b - second array of numbers\n* @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b\n* should be sorted first\n*/\nfunction compareScoreArray(a, b) {\n\tlet i = 0;\n\twhile (i < a.length && i < b.length) {\n\t\tconst diff = b[i] - a[i];\n\t\tif (diff) return diff;\n\t\ti++;\n\t}\n\tif (a.length < b.length) return a.length === 1 && a[0] === PathScore.Static + PathScore.Segment ? -1 : 1;\n\telse if (a.length > b.length) return b.length === 1 && b[0] === PathScore.Static + PathScore.Segment ? 1 : -1;\n\treturn 0;\n}\n/**\n* Compare function that can be used with `sort` to sort an array of PathParser\n*\n* @param a - first PathParser\n* @param b - second PathParser\n* @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b\n*/\nfunction comparePathParserScore(a, b) {\n\tlet i = 0;\n\tconst aScore = a.score;\n\tconst bScore = b.score;\n\twhile (i < aScore.length && i < bScore.length) {\n\t\tconst comp = compareScoreArray(aScore[i], bScore[i]);\n\t\tif (comp) return comp;\n\t\ti++;\n\t}\n\tif (Math.abs(bScore.length - aScore.length) === 1) {\n\t\tif (isLastScoreNegative(aScore)) return 1;\n\t\tif (isLastScoreNegative(bScore)) return -1;\n\t}\n\treturn bScore.length - aScore.length;\n}\n/**\n* This allows detecting splats at the end of a path: /home/:id(.*)*\n*\n* @param score - score to check\n* @returns true if the last entry is negative\n*/\nfunction isLastScoreNegative(score) {\n\tconst last = score[score.length - 1];\n\treturn score.length > 0 && last[last.length - 1] < 0;\n}\nconst PATH_PARSER_OPTIONS_DEFAULTS = {\n\tstrict: false,\n\tend: true,\n\tsensitive: false\n};\n\n//#endregion\n//#region src/matcher/pathMatcher.ts\nfunction createRouteRecordMatcher(record, parent, options) {\n\tconst parser = tokensToParser(tokenizePath(record.path), options);\n\tif (process.env.NODE_ENV !== \"production\") {\n\t\tconst existingKeys = /* @__PURE__ */ new Set();\n\t\tfor (const key of parser.keys) {\n\t\t\tif (existingKeys.has(key.name)) warn$1(`Found duplicated params with name \"${key.name}\" for path \"${record.path}\". Only the last one will be available on \"$route.params\".`);\n\t\t\texistingKeys.add(key.name);\n\t\t}\n\t}\n\tconst matcher = assign(parser, {\n\t\trecord,\n\t\tparent,\n\t\tchildren: [],\n\t\talias: []\n\t});\n\tif (parent) {\n\t\tif (!matcher.record.aliasOf === !parent.record.aliasOf) parent.children.push(matcher);\n\t}\n\treturn matcher;\n}\n\n//#endregion\n//#region src/matcher/index.ts\n/**\n* Creates a Router Matcher.\n*\n* @internal\n* @param routes - array of initial routes\n* @param globalOptions - global route options\n*/\nfunction createRouterMatcher(routes, globalOptions) {\n\tconst matchers = [];\n\tconst matcherMap = /* @__PURE__ */ new Map();\n\tglobalOptions = mergeOptions(PATH_PARSER_OPTIONS_DEFAULTS, globalOptions);\n\tfunction getRecordMatcher(name) {\n\t\treturn matcherMap.get(name);\n\t}\n\tfunction addRoute(record, parent, originalRecord) {\n\t\tconst isRootAdd = !originalRecord;\n\t\tconst mainNormalizedRecord = normalizeRouteRecord(record);\n\t\tif (process.env.NODE_ENV !== \"production\") checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent);\n\t\tmainNormalizedRecord.aliasOf = originalRecord && originalRecord.record;\n\t\tconst options = mergeOptions(globalOptions, record);\n\t\tconst normalizedRecords = [mainNormalizedRecord];\n\t\tif (\"alias\" in record) {\n\t\t\tconst aliases = typeof record.alias === \"string\" ? [record.alias] : record.alias;\n\t\t\tfor (const alias of aliases) normalizedRecords.push(normalizeRouteRecord(assign({}, mainNormalizedRecord, {\n\t\t\t\tcomponents: originalRecord ? originalRecord.record.components : mainNormalizedRecord.components,\n\t\t\t\tpath: alias,\n\t\t\t\taliasOf: originalRecord ? originalRecord.record : mainNormalizedRecord\n\t\t\t})));\n\t\t}\n\t\tlet matcher;\n\t\tlet originalMatcher;\n\t\tfor (const normalizedRecord of normalizedRecords) {\n\t\t\tconst { path } = normalizedRecord;\n\t\t\tif (parent && path[0] !== \"/\") {\n\t\t\t\tconst parentPath = parent.record.path;\n\t\t\t\tconst connectingSlash = parentPath[parentPath.length - 1] === \"/\" ? \"\" : \"/\";\n\t\t\t\tnormalizedRecord.path = parent.record.path + (path && connectingSlash + path);\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV !== \"production\" && normalizedRecord.path === \"*\") throw new Error(\"Catch all routes (\\\"*\\\") must now be defined using a param with a custom regexp.\\nSee more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.\");\n\t\t\tmatcher = createRouteRecordMatcher(normalizedRecord, parent, options);\n\t\t\tif (process.env.NODE_ENV !== \"production\" && parent && path[0] === \"/\") checkMissingParamsInAbsolutePath(matcher, parent);\n\t\t\tif (originalRecord) {\n\t\t\t\toriginalRecord.alias.push(matcher);\n\t\t\t\tif (process.env.NODE_ENV !== \"production\") checkSameParams(originalRecord, matcher);\n\t\t\t} else {\n\t\t\t\toriginalMatcher = originalMatcher || matcher;\n\t\t\t\tif (originalMatcher !== matcher) originalMatcher.alias.push(matcher);\n\t\t\t\tif (isRootAdd && record.name && !isAliasRecord(matcher)) {\n\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") checkSameNameAsAncestor(record, parent);\n\t\t\t\t\tremoveRoute(record.name);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isMatchable(matcher)) insertMatcher(matcher);\n\t\t\tif (mainNormalizedRecord.children) {\n\t\t\t\tconst children = mainNormalizedRecord.children;\n\t\t\t\tfor (let i = 0; i < children.length; i++) addRoute(children[i], matcher, originalRecord && originalRecord.children[i]);\n\t\t\t}\n\t\t\toriginalRecord = originalRecord || matcher;\n\t\t}\n\t\treturn originalMatcher ? () => {\n\t\t\tremoveRoute(originalMatcher);\n\t\t} : noop;\n\t}\n\tfunction removeRoute(matcherRef) {\n\t\tif (isRouteName(matcherRef)) {\n\t\t\tconst matcher = matcherMap.get(matcherRef);\n\t\t\tif (matcher) {\n\t\t\t\tmatcherMap.delete(matcherRef);\n\t\t\t\tmatchers.splice(matchers.indexOf(matcher), 1);\n\t\t\t\tmatcher.children.forEach(removeRoute);\n\t\t\t\tmatcher.alias.forEach(removeRoute);\n\t\t\t}\n\t\t} else {\n\t\t\tconst index = matchers.indexOf(matcherRef);\n\t\t\tif (index > -1) {\n\t\t\t\tmatchers.splice(index, 1);\n\t\t\t\tif (matcherRef.record.name) matcherMap.delete(matcherRef.record.name);\n\t\t\t\tmatcherRef.children.forEach(removeRoute);\n\t\t\t\tmatcherRef.alias.forEach(removeRoute);\n\t\t\t}\n\t\t}\n\t}\n\tfunction getRoutes() {\n\t\treturn matchers;\n\t}\n\tfunction insertMatcher(matcher) {\n\t\tconst index = findInsertionIndex(matcher, matchers);\n\t\tmatchers.splice(index, 0, matcher);\n\t\tif (matcher.record.name && !isAliasRecord(matcher)) matcherMap.set(matcher.record.name, matcher);\n\t}\n\tfunction resolve(location, currentLocation) {\n\t\tlet matcher;\n\t\tlet params = {};\n\t\tlet path;\n\t\tlet name;\n\t\tif (\"name\" in location && location.name) {\n\t\t\tmatcher = matcherMap.get(location.name);\n\t\t\tif (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, { location });\n\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\tconst invalidParams = Object.keys(location.params || {}).filter((paramName) => !matcher.keys.find((k) => k.name === paramName));\n\t\t\t\tif (invalidParams.length) warn$1(`Discarded invalid param(s) \"${invalidParams.join(\"\\\", \\\"\")}\" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);\n\t\t\t}\n\t\t\tname = matcher.record.name;\n\t\t\tparams = assign(pickParams(currentLocation.params, matcher.keys.filter((k) => !k.optional).concat(matcher.parent ? matcher.parent.keys.filter((k) => k.optional) : []).map((k) => k.name)), location.params && pickParams(location.params, matcher.keys.map((k) => k.name)));\n\t\t\tpath = matcher.stringify(params);\n\t\t} else if (location.path != null) {\n\t\t\tpath = location.path;\n\t\t\tif (process.env.NODE_ENV !== \"production\" && !path.startsWith(\"/\")) warn$1(`The Matcher cannot resolve relative paths but received \"${path}\". Unless you directly called \\`matcher.resolve(\"${path}\")\\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`);\n\t\t\tmatcher = matchers.find((m) => m.re.test(path));\n\t\t\tif (matcher) {\n\t\t\t\tparams = matcher.parse(path);\n\t\t\t\tname = matcher.record.name;\n\t\t\t}\n\t\t} else {\n\t\t\tmatcher = currentLocation.name ? matcherMap.get(currentLocation.name) : matchers.find((m) => m.re.test(currentLocation.path));\n\t\t\tif (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, {\n\t\t\t\tlocation,\n\t\t\t\tcurrentLocation\n\t\t\t});\n\t\t\tname = matcher.record.name;\n\t\t\tparams = assign({}, currentLocation.params, location.params);\n\t\t\tpath = matcher.stringify(params);\n\t\t}\n\t\tconst matched = [];\n\t\tlet parentMatcher = matcher;\n\t\twhile (parentMatcher) {\n\t\t\tmatched.unshift(parentMatcher.record);\n\t\t\tparentMatcher = parentMatcher.parent;\n\t\t}\n\t\treturn {\n\t\t\tname,\n\t\t\tpath,\n\t\t\tparams,\n\t\t\tmatched,\n\t\t\tmeta: mergeMetaFields(matched)\n\t\t};\n\t}\n\troutes.forEach((route) => addRoute(route));\n\tfunction clearRoutes() {\n\t\tmatchers.length = 0;\n\t\tmatcherMap.clear();\n\t}\n\treturn {\n\t\taddRoute,\n\t\tresolve,\n\t\tremoveRoute,\n\t\tclearRoutes,\n\t\tgetRoutes,\n\t\tgetRecordMatcher\n\t};\n}\n/**\n* Picks an object param to contain only specified keys.\n*\n* @param params - params object to pick from\n* @param keys - keys to pick\n*/\nfunction pickParams(params, keys) {\n\tconst newParams = {};\n\tfor (const key of keys) if (key in params) newParams[key] = params[key];\n\treturn newParams;\n}\n/**\n* Normalizes a RouteRecordRaw. Creates a copy\n*\n* @param record\n* @returns the normalized version\n*/\nfunction normalizeRouteRecord(record) {\n\tconst normalized = {\n\t\tpath: record.path,\n\t\tredirect: record.redirect,\n\t\tname: record.name,\n\t\tmeta: record.meta || {},\n\t\taliasOf: record.aliasOf,\n\t\tbeforeEnter: record.beforeEnter,\n\t\tprops: normalizeRecordProps(record),\n\t\tchildren: record.children || [],\n\t\tinstances: {},\n\t\tleaveGuards: /* @__PURE__ */ new Set(),\n\t\tupdateGuards: /* @__PURE__ */ new Set(),\n\t\tenterCallbacks: {},\n\t\tcomponents: \"components\" in record ? record.components || null : record.component && { default: record.component }\n\t};\n\tObject.defineProperty(normalized, \"mods\", { value: {} });\n\treturn normalized;\n}\n/**\n* Normalize the optional `props` in a record to always be an object similar to\n* components. Also accept a boolean for components.\n* @param record\n*/\nfunction normalizeRecordProps(record) {\n\tconst propsObject = {};\n\tconst props = record.props || false;\n\tif (\"component\" in record) propsObject.default = props;\n\telse for (const name in record.components) propsObject[name] = typeof props === \"object\" ? props[name] : props;\n\treturn propsObject;\n}\n/**\n* Checks if a record or any of its parent is an alias\n* @param record\n*/\nfunction isAliasRecord(record) {\n\twhile (record) {\n\t\tif (record.record.aliasOf) return true;\n\t\trecord = record.parent;\n\t}\n\treturn false;\n}\n/**\n* Merge meta fields of an array of records\n*\n* @param matched - array of matched records\n*/\nfunction mergeMetaFields(matched) {\n\treturn matched.reduce((meta, record) => assign(meta, record.meta), {});\n}\nfunction isSameParam(a, b) {\n\treturn a.name === b.name && a.optional === b.optional && a.repeatable === b.repeatable;\n}\n/**\n* Check if a path and its alias have the same required params\n*\n* @param a - original record\n* @param b - alias record\n*/\nfunction checkSameParams(a, b) {\n\tfor (const key of a.keys) if (!key.optional && !b.keys.find(isSameParam.bind(null, key))) return warn$1(`Alias \"${b.record.path}\" and the original record: \"${a.record.path}\" must have the exact same param named \"${key.name}\"`);\n\tfor (const key of b.keys) if (!key.optional && !a.keys.find(isSameParam.bind(null, key))) return warn$1(`Alias \"${b.record.path}\" and the original record: \"${a.record.path}\" must have the exact same param named \"${key.name}\"`);\n}\n/**\n* A route with a name and a child with an empty path without a name should warn when adding the route\n*\n* @param mainNormalizedRecord - RouteRecordNormalized\n* @param parent - RouteRecordMatcher\n*/\nfunction checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent) {\n\tif (parent && parent.record.name && !mainNormalizedRecord.name && !mainNormalizedRecord.path && mainNormalizedRecord.children.length === 0) warn$1(`The route named \"${String(parent.record.name)}\" has a child without a name, an empty path, and no children. This is probably a mistake: using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to silence the warning.`);\n}\nfunction checkSameNameAsAncestor(record, parent) {\n\tfor (let ancestor = parent; ancestor; ancestor = ancestor.parent) if (ancestor.record.name === record.name) throw new Error(`A route named \"${String(record.name)}\" has been added as a ${parent === ancestor ? \"child\" : \"descendant\"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`);\n}\nfunction checkMissingParamsInAbsolutePath(record, parent) {\n\tfor (const key of parent.keys) if (!record.keys.find(isSameParam.bind(null, key))) return warn$1(`Absolute path \"${record.record.path}\" must have the exact same param named \"${key.name}\" as its parent \"${parent.record.path}\".`);\n}\n/**\n* Performs a binary search to find the correct insertion index for a new matcher.\n*\n* Matchers are primarily sorted by their score. If scores are tied then we also consider parent/child relationships,\n* with descendants coming before ancestors. If there's still a tie, new routes are inserted after existing routes.\n*\n* @param matcher - new matcher to be inserted\n* @param matchers - existing matchers\n*/\nfunction findInsertionIndex(matcher, matchers) {\n\tlet lower = 0;\n\tlet upper = matchers.length;\n\twhile (lower !== upper) {\n\t\tconst mid = lower + upper >> 1;\n\t\tif (comparePathParserScore(matcher, matchers[mid]) < 0) upper = mid;\n\t\telse lower = mid + 1;\n\t}\n\tconst insertionAncestor = getInsertionAncestor(matcher);\n\tif (insertionAncestor) {\n\t\tupper = matchers.lastIndexOf(insertionAncestor, upper - 1);\n\t\tif (process.env.NODE_ENV !== \"production\" && upper < 0) warn$1(`Finding ancestor route \"${insertionAncestor.record.path}\" failed for \"${matcher.record.path}\"`);\n\t}\n\treturn upper;\n}\nfunction getInsertionAncestor(matcher) {\n\tlet ancestor = matcher;\n\twhile (ancestor = ancestor.parent) if (isMatchable(ancestor) && comparePathParserScore(matcher, ancestor) === 0) return ancestor;\n}\n/**\n* Checks if a matcher can be reachable. This means if it's possible to reach it as a route. For example, routes without\n* a component, or name, or redirect, are just used to group other routes.\n* @param matcher\n* @param matcher.record record of the matcher\n* @returns\n*/\nfunction isMatchable({ record }) {\n\treturn !!(record.name || record.components && Object.keys(record.components).length || record.redirect);\n}\n\n//#endregion\n//#region src/RouterLink.ts\n/**\n* Returns the internal behavior of a {@link RouterLink} without the rendering part.\n*\n* @param props - a `to` location and an optional `replace` flag\n*/\nfunction useLink(props) {\n\tconst router = inject(routerKey);\n\tconst currentRoute = inject(routeLocationKey);\n\tlet hasPrevious = false;\n\tlet previousTo = null;\n\tconst route = computed(() => {\n\t\tconst to = unref(props.to);\n\t\tif (process.env.NODE_ENV !== \"production\" && (!hasPrevious || to !== previousTo)) {\n\t\t\tif (!isRouteLocation(to)) if (hasPrevious) warn$1(`Invalid value for prop \"to\" in useLink()\\n- to:`, to, `\\n- previous to:`, previousTo, `\\n- props:`, props);\n\t\t\telse warn$1(`Invalid value for prop \"to\" in useLink()\\n- to:`, to, `\\n- props:`, props);\n\t\t\tpreviousTo = to;\n\t\t\thasPrevious = true;\n\t\t}\n\t\treturn router.resolve(to);\n\t});\n\tconst activeRecordIndex = computed(() => {\n\t\tconst { matched } = route.value;\n\t\tconst { length } = matched;\n\t\tconst routeMatched = matched[length - 1];\n\t\tconst currentMatched = currentRoute.matched;\n\t\tif (!routeMatched || !currentMatched.length) return -1;\n\t\tconst index = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));\n\t\tif (index > -1) return index;\n\t\tconst parentRecordPath = getOriginalPath(matched[length - 2]);\n\t\treturn length > 1 && getOriginalPath(routeMatched) === parentRecordPath && currentMatched[currentMatched.length - 1].path !== parentRecordPath ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2])) : index;\n\t});\n\tconst isActive = computed(() => activeRecordIndex.value > -1 && includesParams(currentRoute.params, route.value.params));\n\tconst isExactActive = computed(() => activeRecordIndex.value > -1 && activeRecordIndex.value === currentRoute.matched.length - 1 && isSameRouteLocationParams(currentRoute.params, route.value.params));\n\tfunction navigate(e = {}) {\n\t\tif (guardEvent(e)) {\n\t\t\tconst p = router[unref(props.replace) ? \"replace\" : \"push\"](unref(props.to)).catch(noop);\n\t\t\tif (props.viewTransition && typeof document !== \"undefined\" && \"startViewTransition\" in document) document.startViewTransition(() => p);\n\t\t\treturn p;\n\t\t}\n\t\treturn Promise.resolve();\n\t}\n\tif ((process.env.NODE_ENV !== \"production\" || __VUE_PROD_DEVTOOLS__) && isBrowser) {\n\t\tconst instance = getCurrentInstance();\n\t\tif (instance) {\n\t\t\tconst linkContextDevtools = {\n\t\t\t\troute: route.value,\n\t\t\t\tisActive: isActive.value,\n\t\t\t\tisExactActive: isExactActive.value,\n\t\t\t\terror: null\n\t\t\t};\n\t\t\tinstance.__vrl_devtools = instance.__vrl_devtools || [];\n\t\t\tinstance.__vrl_devtools.push(linkContextDevtools);\n\t\t\twatchEffect(() => {\n\t\t\t\tlinkContextDevtools.route = route.value;\n\t\t\t\tlinkContextDevtools.isActive = isActive.value;\n\t\t\t\tlinkContextDevtools.isExactActive = isExactActive.value;\n\t\t\t\tlinkContextDevtools.error = isRouteLocation(unref(props.to)) ? null : \"Invalid \\\"to\\\" value\";\n\t\t\t}, { flush: \"post\" });\n\t\t}\n\t}\n\t/**\n\t* NOTE: update {@link _RouterLinkI}'s `$slots` type when updating this\n\t*/\n\treturn {\n\t\troute,\n\t\thref: computed(() => route.value.href),\n\t\tisActive,\n\t\tisExactActive,\n\t\tnavigate\n\t};\n}\nfunction preferSingleVNode(vnodes) {\n\treturn vnodes.length === 1 ? vnodes[0] : vnodes;\n}\nconst RouterLinkImpl = /* @__PURE__ */ defineComponent({\n\tname: \"RouterLink\",\n\tcompatConfig: { MODE: 3 },\n\tprops: {\n\t\tto: {\n\t\t\ttype: [String, Object],\n\t\t\trequired: true\n\t\t},\n\t\treplace: Boolean,\n\t\tactiveClass: String,\n\t\texactActiveClass: String,\n\t\tcustom: Boolean,\n\t\tariaCurrentValue: {\n\t\t\ttype: String,\n\t\t\tdefault: \"page\"\n\t\t},\n\t\tviewTransition: Boolean\n\t},\n\tuseLink,\n\tsetup(props, { slots }) {\n\t\tconst link = reactive(useLink(props));\n\t\tconst { options } = inject(routerKey);\n\t\tconst elClass = computed(() => ({\n\t\t\t[getLinkClass(props.activeClass, options.linkActiveClass, \"router-link-active\")]: link.isActive,\n\t\t\t[getLinkClass(props.exactActiveClass, options.linkExactActiveClass, \"router-link-exact-active\")]: link.isExactActive\n\t\t}));\n\t\treturn () => {\n\t\t\tconst children = slots.default && preferSingleVNode(slots.default(link));\n\t\t\treturn props.custom ? children : h(\"a\", {\n\t\t\t\t\"aria-current\": link.isExactActive ? props.ariaCurrentValue : null,\n\t\t\t\thref: link.href,\n\t\t\t\tonClick: link.navigate,\n\t\t\t\tclass: elClass.value\n\t\t\t}, children);\n\t\t};\n\t}\n});\n/**\n* Component to render a link that triggers a navigation on click.\n*/\nconst RouterLink = RouterLinkImpl;\nfunction guardEvent(e) {\n\tif (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return;\n\tif (e.defaultPrevented) return;\n\tif (e.button !== void 0 && e.button !== 0) return;\n\tif (e.currentTarget && e.currentTarget.getAttribute) {\n\t\tconst target = e.currentTarget.getAttribute(\"target\");\n\t\tif (/\\b_blank\\b/i.test(target)) return;\n\t}\n\tif (e.preventDefault) e.preventDefault();\n\treturn true;\n}\nfunction includesParams(outer, inner) {\n\tfor (const key in inner) {\n\t\tconst innerValue = inner[key];\n\t\tconst outerValue = outer[key];\n\t\tif (typeof innerValue === \"string\") {\n\t\t\tif (innerValue !== outerValue) return false;\n\t\t} else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value.valueOf() !== outerValue[i].valueOf())) return false;\n\t}\n\treturn true;\n}\n/**\n* Get the original path value of a record by following its aliasOf\n* @param record\n*/\nfunction getOriginalPath(record) {\n\treturn record ? record.aliasOf ? record.aliasOf.path : record.path : \"\";\n}\n/**\n* Utility class to get the active class based on defaults.\n* @param propClass\n* @param globalClass\n* @param defaultClass\n*/\nconst getLinkClass = (propClass, globalClass, defaultClass) => propClass != null ? propClass : globalClass != null ? globalClass : defaultClass;\n\n//#endregion\n//#region src/RouterView.ts\nconst RouterViewImpl = /* @__PURE__ */ defineComponent({\n\tname: \"RouterView\",\n\tinheritAttrs: false,\n\tprops: {\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: \"default\"\n\t\t},\n\t\troute: Object\n\t},\n\tcompatConfig: { MODE: 3 },\n\tsetup(props, { attrs, slots }) {\n\t\tprocess.env.NODE_ENV !== \"production\" && warnDeprecatedUsage();\n\t\tconst injectedRoute = inject(routerViewLocationKey);\n\t\tconst routeToDisplay = computed(() => props.route || injectedRoute.value);\n\t\tconst injectedDepth = inject(viewDepthKey, 0);\n\t\tconst depth = computed(() => {\n\t\t\tlet initialDepth = unref(injectedDepth);\n\t\t\tconst { matched } = routeToDisplay.value;\n\t\t\tlet matchedRoute;\n\t\t\twhile ((matchedRoute = matched[initialDepth]) && !matchedRoute.components) initialDepth++;\n\t\t\treturn initialDepth;\n\t\t});\n\t\tconst matchedRouteRef = computed(() => routeToDisplay.value.matched[depth.value]);\n\t\tprovide(viewDepthKey, computed(() => depth.value + 1));\n\t\tprovide(matchedRouteKey, matchedRouteRef);\n\t\tprovide(routerViewLocationKey, routeToDisplay);\n\t\tconst viewRef = ref();\n\t\twatch(() => [\n\t\t\tviewRef.value,\n\t\t\tmatchedRouteRef.value,\n\t\t\tprops.name\n\t\t], ([instance, to, name], [oldInstance, from, oldName]) => {\n\t\t\tif (to) {\n\t\t\t\tto.instances[name] = instance;\n\t\t\t\tif (from && from !== to && instance && instance === oldInstance) {\n\t\t\t\t\tif (!to.leaveGuards.size) to.leaveGuards = from.leaveGuards;\n\t\t\t\t\tif (!to.updateGuards.size) to.updateGuards = from.updateGuards;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (instance && to && (!from || !isSameRouteRecord(to, from) || !oldInstance)) (to.enterCallbacks[name] || []).forEach((callback) => callback(instance));\n\t\t}, { flush: \"post\" });\n\t\treturn () => {\n\t\t\tconst route = routeToDisplay.value;\n\t\t\tconst currentName = props.name;\n\t\t\tconst matchedRoute = matchedRouteRef.value;\n\t\t\tconst ViewComponent = matchedRoute && matchedRoute.components[currentName];\n\t\t\tif (!ViewComponent) return normalizeSlot(slots.default, {\n\t\t\t\tComponent: ViewComponent,\n\t\t\t\troute\n\t\t\t});\n\t\t\tconst routePropsOption = matchedRoute.props[currentName];\n\t\t\tconst routeProps = routePropsOption ? routePropsOption === true ? route.params : typeof routePropsOption === \"function\" ? routePropsOption(route) : routePropsOption : null;\n\t\t\tconst onVnodeUnmounted = (vnode) => {\n\t\t\t\tif (vnode.component.isUnmounted) matchedRoute.instances[currentName] = null;\n\t\t\t};\n\t\t\tconst component = h(ViewComponent, assign({}, routeProps, attrs, {\n\t\t\t\tonVnodeUnmounted,\n\t\t\t\tref: viewRef\n\t\t\t}));\n\t\t\tif ((process.env.NODE_ENV !== \"production\" || __VUE_PROD_DEVTOOLS__) && isBrowser && component.ref) {\n\t\t\t\tconst info = {\n\t\t\t\t\tdepth: depth.value,\n\t\t\t\t\tname: matchedRoute.name,\n\t\t\t\t\tpath: matchedRoute.path,\n\t\t\t\t\tmeta: matchedRoute.meta\n\t\t\t\t};\n\t\t\t\t(isArray(component.ref) ? component.ref.map((r) => r.i) : [component.ref.i]).forEach((instance) => {\n\t\t\t\t\tinstance.__vrv_devtools = info;\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn normalizeSlot(slots.default, {\n\t\t\t\tComponent: component,\n\t\t\t\troute\n\t\t\t}) || component;\n\t\t};\n\t}\n});\nfunction normalizeSlot(slot, data) {\n\tif (!slot) return null;\n\tconst slotContent = slot(data);\n\treturn slotContent.length === 1 ? slotContent[0] : slotContent;\n}\n/**\n* Component to display the current route the user is at.\n*/\nconst RouterView = RouterViewImpl;\nfunction warnDeprecatedUsage() {\n\tconst instance = getCurrentInstance();\n\tconst parentName = instance.parent && instance.parent.type.name;\n\tconst parentSubTreeType = instance.parent && instance.parent.subTree && instance.parent.subTree.type;\n\tif (parentName && (parentName === \"KeepAlive\" || parentName.includes(\"Transition\")) && typeof parentSubTreeType === \"object\" && parentSubTreeType.name === \"RouterView\") {\n\t\tconst comp = parentName === \"KeepAlive\" ? \"keep-alive\" : \"transition\";\n\t\twarn$1(` can no longer be used directly inside or .\nUse slot props instead:\n\n\n <${comp}>\\n \\n \\n`);\n\t}\n}\n\n//#endregion\n//#region src/router.ts\n/**\n* Creates a Router instance that can be used by a Vue app.\n*\n* @param options - {@link RouterOptions}\n*/\nfunction createRouter(options) {\n\tconst matcher = createRouterMatcher(options.routes, options);\n\tconst parseQuery$1 = options.parseQuery || parseQuery;\n\tconst stringifyQuery$1 = options.stringifyQuery || stringifyQuery;\n\tconst routerHistory = options.history;\n\tif (process.env.NODE_ENV !== \"production\" && !routerHistory) throw new Error(\"Provide the \\\"history\\\" option when calling \\\"createRouter()\\\": https://router.vuejs.org/api/interfaces/RouterOptions.html#history\");\n\tconst beforeGuards = useCallbacks();\n\tconst beforeResolveGuards = useCallbacks();\n\tconst afterGuards = useCallbacks();\n\tconst currentRoute = shallowRef(START_LOCATION_NORMALIZED);\n\tlet pendingLocation = START_LOCATION_NORMALIZED;\n\tif (isBrowser && options.scrollBehavior && \"scrollRestoration\" in history) history.scrollRestoration = \"manual\";\n\tconst normalizeParams = applyToParams.bind(null, (paramValue) => \"\" + paramValue);\n\tconst encodeParams = applyToParams.bind(null, encodeParam);\n\tconst decodeParams = applyToParams.bind(null, decode);\n\tfunction addRoute(parentOrRoute, route) {\n\t\tlet parent;\n\t\tlet record;\n\t\tif (isRouteName(parentOrRoute)) {\n\t\t\tparent = matcher.getRecordMatcher(parentOrRoute);\n\t\t\tif (process.env.NODE_ENV !== \"production\" && !parent) warn$1(`Parent route \"${String(parentOrRoute)}\" not found when adding child route`, route);\n\t\t\trecord = route;\n\t\t} else record = parentOrRoute;\n\t\treturn matcher.addRoute(record, parent);\n\t}\n\tfunction removeRoute(name) {\n\t\tconst recordMatcher = matcher.getRecordMatcher(name);\n\t\tif (recordMatcher) matcher.removeRoute(recordMatcher);\n\t\telse if (process.env.NODE_ENV !== \"production\") warn$1(`Cannot remove non-existent route \"${String(name)}\"`);\n\t}\n\tfunction getRoutes() {\n\t\treturn matcher.getRoutes().map((routeMatcher) => routeMatcher.record);\n\t}\n\tfunction hasRoute(name) {\n\t\treturn !!matcher.getRecordMatcher(name);\n\t}\n\tfunction resolve(rawLocation, currentLocation) {\n\t\tcurrentLocation = assign({}, currentLocation || currentRoute.value);\n\t\tif (typeof rawLocation === \"string\") {\n\t\t\tconst locationNormalized = parseURL(parseQuery$1, rawLocation, currentLocation.path);\n\t\t\tconst matchedRoute = matcher.resolve({ path: locationNormalized.path }, currentLocation);\n\t\t\tconst href = routerHistory.createHref(locationNormalized.fullPath);\n\t\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\t\tif (href.startsWith(\"//\")) warn$1(`Location \"${rawLocation}\" resolved to \"${href}\". A resolved location cannot start with multiple slashes.`);\n\t\t\t\telse if (!matchedRoute.matched.length) warn$1(`No match found for location with path \"${rawLocation}\"`);\n\t\t\t}\n\t\t\treturn assign(locationNormalized, matchedRoute, {\n\t\t\t\tparams: decodeParams(matchedRoute.params),\n\t\t\t\thash: decode(locationNormalized.hash),\n\t\t\t\tredirectedFrom: void 0,\n\t\t\t\thref\n\t\t\t});\n\t\t}\n\t\tif (process.env.NODE_ENV !== \"production\" && !isRouteLocation(rawLocation)) {\n\t\t\twarn$1(`router.resolve() was passed an invalid location. This will fail in production.\\n- Location:`, rawLocation);\n\t\t\treturn resolve({});\n\t\t}\n\t\tlet matcherLocation;\n\t\tif (rawLocation.path != null) {\n\t\t\tif (process.env.NODE_ENV !== \"production\" && \"params\" in rawLocation && !(\"name\" in rawLocation) && Object.keys(rawLocation.params).length) warn$1(`Path \"${rawLocation.path}\" was passed with params but they will be ignored. Use a named route alongside params instead.`);\n\t\t\tmatcherLocation = assign({}, rawLocation, { path: parseURL(parseQuery$1, rawLocation.path, currentLocation.path).path });\n\t\t} else {\n\t\t\tconst targetParams = assign({}, rawLocation.params);\n\t\t\tfor (const key in targetParams) if (targetParams[key] == null) delete targetParams[key];\n\t\t\tmatcherLocation = assign({}, rawLocation, { params: encodeParams(targetParams) });\n\t\t\tcurrentLocation.params = encodeParams(currentLocation.params);\n\t\t}\n\t\tconst matchedRoute = matcher.resolve(matcherLocation, currentLocation);\n\t\tconst hash = rawLocation.hash || \"\";\n\t\tif (process.env.NODE_ENV !== \"production\" && hash && !hash.startsWith(\"#\")) warn$1(`A \\`hash\\` should always start with the character \"#\". Replace \"${hash}\" with \"#${hash}\".`);\n\t\tmatchedRoute.params = normalizeParams(decodeParams(matchedRoute.params));\n\t\tconst fullPath = stringifyURL(stringifyQuery$1, assign({}, rawLocation, {\n\t\t\thash: encodeHash(hash),\n\t\t\tpath: matchedRoute.path\n\t\t}));\n\t\tconst href = routerHistory.createHref(fullPath);\n\t\tif (process.env.NODE_ENV !== \"production\") {\n\t\t\tif (href.startsWith(\"//\")) warn$1(`Location \"${rawLocation}\" resolved to \"${href}\". A resolved location cannot start with multiple slashes.`);\n\t\t\telse if (!matchedRoute.matched.length) warn$1(`No match found for location with path \"${rawLocation.path != null ? rawLocation.path : rawLocation}\"`);\n\t\t}\n\t\treturn assign({\n\t\t\tfullPath,\n\t\t\thash,\n\t\t\tquery: stringifyQuery$1 === stringifyQuery ? normalizeQuery(rawLocation.query) : rawLocation.query || {}\n\t\t}, matchedRoute, {\n\t\t\tredirectedFrom: void 0,\n\t\t\thref\n\t\t});\n\t}\n\tfunction locationAsObject(to) {\n\t\treturn typeof to === \"string\" ? parseURL(parseQuery$1, to, currentRoute.value.path) : assign({}, to);\n\t}\n\tfunction checkCanceledNavigation(to, from) {\n\t\tif (pendingLocation !== to) return createRouterError(ErrorTypes.NAVIGATION_CANCELLED, {\n\t\t\tfrom,\n\t\t\tto\n\t\t});\n\t}\n\tfunction push(to) {\n\t\treturn pushWithRedirect(to);\n\t}\n\tfunction replace(to) {\n\t\treturn push(assign(locationAsObject(to), { replace: true }));\n\t}\n\tfunction handleRedirectRecord(to, from) {\n\t\tconst lastMatched = to.matched[to.matched.length - 1];\n\t\tif (lastMatched && lastMatched.redirect) {\n\t\t\tconst { redirect } = lastMatched;\n\t\t\tlet newTargetLocation = typeof redirect === \"function\" ? redirect(to, from) : redirect;\n\t\t\tif (typeof newTargetLocation === \"string\") {\n\t\t\t\tnewTargetLocation = newTargetLocation.includes(\"?\") || newTargetLocation.includes(\"#\") ? newTargetLocation = locationAsObject(newTargetLocation) : { path: newTargetLocation };\n\t\t\t\tnewTargetLocation.params = {};\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV !== \"production\" && newTargetLocation.path == null && !(\"name\" in newTargetLocation)) {\n\t\t\t\twarn$1(`Invalid redirect found:\\n${JSON.stringify(newTargetLocation, null, 2)}\\n when navigating to \"${to.fullPath}\". A redirect must contain a name or path. This will break in production.`);\n\t\t\t\tthrow new Error(\"Invalid redirect\");\n\t\t\t}\n\t\t\treturn assign({\n\t\t\t\tquery: to.query,\n\t\t\t\thash: to.hash,\n\t\t\t\tparams: newTargetLocation.path != null ? {} : to.params\n\t\t\t}, newTargetLocation);\n\t\t}\n\t}\n\tfunction pushWithRedirect(to, redirectedFrom) {\n\t\tconst targetLocation = pendingLocation = resolve(to);\n\t\tconst from = currentRoute.value;\n\t\tconst data = to.state;\n\t\tconst force = to.force;\n\t\tconst replace = to.replace === true;\n\t\tconst shouldRedirect = handleRedirectRecord(targetLocation, from);\n\t\tif (shouldRedirect) return pushWithRedirect(assign(locationAsObject(shouldRedirect), {\n\t\t\tstate: typeof shouldRedirect === \"object\" ? assign({}, data, shouldRedirect.state) : data,\n\t\t\tforce,\n\t\t\treplace\n\t\t}), redirectedFrom || targetLocation);\n\t\tconst toLocation = targetLocation;\n\t\ttoLocation.redirectedFrom = redirectedFrom;\n\t\tlet failure;\n\t\tif (!force && isSameRouteLocation(stringifyQuery$1, from, targetLocation)) {\n\t\t\tfailure = createRouterError(ErrorTypes.NAVIGATION_DUPLICATED, {\n\t\t\t\tto: toLocation,\n\t\t\t\tfrom\n\t\t\t});\n\t\t\thandleScroll(from, from, true, false);\n\t\t}\n\t\treturn (failure ? Promise.resolve(failure) : navigate(toLocation, from)).catch((error) => isNavigationFailure(error) ? isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT) ? error : markAsReady(error) : triggerError(error, toLocation, from)).then((failure) => {\n\t\t\tif (failure) {\n\t\t\t\tif (isNavigationFailure(failure, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) {\n\t\t\t\t\tif (process.env.NODE_ENV !== \"production\" && isSameRouteLocation(stringifyQuery$1, resolve(failure.to), toLocation) && redirectedFrom && (redirectedFrom._count = redirectedFrom._count ? redirectedFrom._count + 1 : 1) > 30) {\n\t\t\t\t\t\twarn$1(`Detected a possibly infinite redirection in a navigation guard when going from \"${from.fullPath}\" to \"${toLocation.fullPath}\". Aborting to avoid a Stack Overflow.\\n Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`);\n\t\t\t\t\t\treturn Promise.reject(/* @__PURE__ */ new Error(\"Infinite redirect in navigation guard\"));\n\t\t\t\t\t}\n\t\t\t\t\treturn pushWithRedirect(assign({ replace }, locationAsObject(failure.to), {\n\t\t\t\t\t\tstate: typeof failure.to === \"object\" ? assign({}, data, failure.to.state) : data,\n\t\t\t\t\t\tforce\n\t\t\t\t\t}), redirectedFrom || toLocation);\n\t\t\t\t}\n\t\t\t} else failure = finalizeNavigation(toLocation, from, true, replace, data);\n\t\t\ttriggerAfterEach(toLocation, from, failure);\n\t\t\treturn failure;\n\t\t});\n\t}\n\t/**\n\t* Helper to reject and skip all navigation guards if a new navigation happened\n\t* @param to\n\t* @param from\n\t*/\n\tfunction checkCanceledNavigationAndReject(to, from) {\n\t\tconst error = checkCanceledNavigation(to, from);\n\t\treturn error ? Promise.reject(error) : Promise.resolve();\n\t}\n\tfunction runWithContext(fn) {\n\t\tconst app = installedApps.values().next().value;\n\t\treturn app && typeof app.runWithContext === \"function\" ? app.runWithContext(fn) : fn();\n\t}\n\tfunction navigate(to, from) {\n\t\tlet guards;\n\t\tconst [leavingRecords, updatingRecords, enteringRecords] = extractChangingRecords(to, from);\n\t\tguards = extractComponentsGuards(leavingRecords.reverse(), \"beforeRouteLeave\", to, from);\n\t\tfor (const record of leavingRecords) record.leaveGuards.forEach((guard) => {\n\t\t\tguards.push(guardToPromiseFn(guard, to, from));\n\t\t});\n\t\tconst canceledNavigationCheck = checkCanceledNavigationAndReject.bind(null, to, from);\n\t\tguards.push(canceledNavigationCheck);\n\t\treturn runGuardQueue(guards).then(() => {\n\t\t\tguards = [];\n\t\t\tfor (const guard of beforeGuards.list()) guards.push(guardToPromiseFn(guard, to, from));\n\t\t\tguards.push(canceledNavigationCheck);\n\t\t\treturn runGuardQueue(guards);\n\t\t}).then(() => {\n\t\t\tguards = extractComponentsGuards(updatingRecords, \"beforeRouteUpdate\", to, from);\n\t\t\tfor (const record of updatingRecords) record.updateGuards.forEach((guard) => {\n\t\t\t\tguards.push(guardToPromiseFn(guard, to, from));\n\t\t\t});\n\t\t\tguards.push(canceledNavigationCheck);\n\t\t\treturn runGuardQueue(guards);\n\t\t}).then(() => {\n\t\t\tguards = [];\n\t\t\tfor (const record of enteringRecords) if (record.beforeEnter) if (isArray(record.beforeEnter)) for (const beforeEnter of record.beforeEnter) guards.push(guardToPromiseFn(beforeEnter, to, from));\n\t\t\telse guards.push(guardToPromiseFn(record.beforeEnter, to, from));\n\t\t\tguards.push(canceledNavigationCheck);\n\t\t\treturn runGuardQueue(guards);\n\t\t}).then(() => {\n\t\t\tto.matched.forEach((record) => record.enterCallbacks = {});\n\t\t\tguards = extractComponentsGuards(enteringRecords, \"beforeRouteEnter\", to, from, runWithContext);\n\t\t\tguards.push(canceledNavigationCheck);\n\t\t\treturn runGuardQueue(guards);\n\t\t}).then(() => {\n\t\t\tguards = [];\n\t\t\tfor (const guard of beforeResolveGuards.list()) guards.push(guardToPromiseFn(guard, to, from));\n\t\t\tguards.push(canceledNavigationCheck);\n\t\t\treturn runGuardQueue(guards);\n\t\t}).catch((err) => isNavigationFailure(err, ErrorTypes.NAVIGATION_CANCELLED) ? err : Promise.reject(err));\n\t}\n\tfunction triggerAfterEach(to, from, failure) {\n\t\tafterGuards.list().forEach((guard) => runWithContext(() => guard(to, from, failure)));\n\t}\n\t/**\n\t* - Cleans up any navigation guards\n\t* - Changes the url if necessary\n\t* - Calls the scrollBehavior\n\t*/\n\tfunction finalizeNavigation(toLocation, from, isPush, replace, data) {\n\t\tconst error = checkCanceledNavigation(toLocation, from);\n\t\tif (error) return error;\n\t\tconst isFirstNavigation = from === START_LOCATION_NORMALIZED;\n\t\tconst state = !isBrowser ? {} : history.state;\n\t\tif (isPush) if (replace || isFirstNavigation) routerHistory.replace(toLocation.fullPath, assign({ scroll: isFirstNavigation && state && state.scroll }, data));\n\t\telse routerHistory.push(toLocation.fullPath, data);\n\t\tcurrentRoute.value = toLocation;\n\t\thandleScroll(toLocation, from, isPush, isFirstNavigation);\n\t\tmarkAsReady();\n\t}\n\tlet removeHistoryListener;\n\tfunction setupListeners() {\n\t\tif (removeHistoryListener) return;\n\t\tremoveHistoryListener = routerHistory.listen((to, _from, info) => {\n\t\t\tif (!router.listening) return;\n\t\t\tconst toLocation = resolve(to);\n\t\t\tconst shouldRedirect = handleRedirectRecord(toLocation, router.currentRoute.value);\n\t\t\tif (shouldRedirect) {\n\t\t\t\tpushWithRedirect(assign(shouldRedirect, {\n\t\t\t\t\treplace: true,\n\t\t\t\t\tforce: true\n\t\t\t\t}), toLocation).catch(noop);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tpendingLocation = toLocation;\n\t\t\tconst from = currentRoute.value;\n\t\t\tif (isBrowser) saveScrollPosition(getScrollKey(from.fullPath, info.delta), computeScrollPosition());\n\t\t\tnavigate(toLocation, from).catch((error) => {\n\t\t\t\tif (isNavigationFailure(error, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_CANCELLED)) return error;\n\t\t\t\tif (isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) {\n\t\t\t\t\tpushWithRedirect(assign(locationAsObject(error.to), { force: true }), toLocation).then((failure) => {\n\t\t\t\t\t\tif (isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED) && !info.delta && info.type === NavigationType.pop) routerHistory.go(-1, false);\n\t\t\t\t\t}).catch(noop);\n\t\t\t\t\treturn Promise.reject();\n\t\t\t\t}\n\t\t\t\tif (info.delta) routerHistory.go(-info.delta, false);\n\t\t\t\treturn triggerError(error, toLocation, from);\n\t\t\t}).then((failure) => {\n\t\t\t\tfailure = failure || finalizeNavigation(toLocation, from, false);\n\t\t\t\tif (failure) {\n\t\t\t\t\tif (info.delta && !isNavigationFailure(failure, ErrorTypes.NAVIGATION_CANCELLED)) routerHistory.go(-info.delta, false);\n\t\t\t\t\telse if (info.type === NavigationType.pop && isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED)) routerHistory.go(-1, false);\n\t\t\t\t}\n\t\t\t\ttriggerAfterEach(toLocation, from, failure);\n\t\t\t}).catch(noop);\n\t\t});\n\t}\n\tlet readyHandlers = useCallbacks();\n\tlet errorListeners = useCallbacks();\n\tlet ready;\n\t/**\n\t* Trigger errorListeners added via onError and throws the error as well\n\t*\n\t* @param error - error to throw\n\t* @param to - location we were navigating to when the error happened\n\t* @param from - location we were navigating from when the error happened\n\t* @returns the error as a rejected promise\n\t*/\n\tfunction triggerError(error, to, from) {\n\t\tmarkAsReady(error);\n\t\tconst list = errorListeners.list();\n\t\tif (list.length) list.forEach((handler) => handler(error, to, from));\n\t\telse {\n\t\t\tif (process.env.NODE_ENV !== \"production\") warn$1(\"uncaught error during route navigation:\");\n\t\t\tconsole.error(error);\n\t\t}\n\t\treturn Promise.reject(error);\n\t}\n\tfunction isReady() {\n\t\tif (ready && currentRoute.value !== START_LOCATION_NORMALIZED) return Promise.resolve();\n\t\treturn new Promise((resolve, reject) => {\n\t\t\treadyHandlers.add([resolve, reject]);\n\t\t});\n\t}\n\tfunction markAsReady(err) {\n\t\tif (!ready) {\n\t\t\tready = !err;\n\t\t\tsetupListeners();\n\t\t\treadyHandlers.list().forEach(([resolve, reject]) => err ? reject(err) : resolve());\n\t\t\treadyHandlers.reset();\n\t\t}\n\t\treturn err;\n\t}\n\tfunction handleScroll(to, from, isPush, isFirstNavigation) {\n\t\tconst { scrollBehavior } = options;\n\t\tif (!isBrowser || !scrollBehavior) return Promise.resolve();\n\t\tconst scrollPosition = !isPush && getSavedScrollPosition(getScrollKey(to.fullPath, 0)) || (isFirstNavigation || !isPush) && history.state && history.state.scroll || null;\n\t\treturn nextTick().then(() => scrollBehavior(to, from, scrollPosition)).then((position) => position && scrollToPosition(position)).catch((err) => triggerError(err, to, from));\n\t}\n\tconst go = (delta) => routerHistory.go(delta);\n\tlet started;\n\tconst installedApps = /* @__PURE__ */ new Set();\n\tconst router = {\n\t\tcurrentRoute,\n\t\tlistening: true,\n\t\taddRoute,\n\t\tremoveRoute,\n\t\tclearRoutes: matcher.clearRoutes,\n\t\thasRoute,\n\t\tgetRoutes,\n\t\tresolve,\n\t\toptions,\n\t\tpush,\n\t\treplace,\n\t\tgo,\n\t\tback: () => go(-1),\n\t\tforward: () => go(1),\n\t\tbeforeEach: beforeGuards.add,\n\t\tbeforeResolve: beforeResolveGuards.add,\n\t\tafterEach: afterGuards.add,\n\t\tonError: errorListeners.add,\n\t\tisReady,\n\t\tinstall(app) {\n\t\t\tapp.component(\"RouterLink\", RouterLink);\n\t\t\tapp.component(\"RouterView\", RouterView);\n\t\t\tapp.config.globalProperties.$router = router;\n\t\t\tObject.defineProperty(app.config.globalProperties, \"$route\", {\n\t\t\t\tenumerable: true,\n\t\t\t\tget: () => unref(currentRoute)\n\t\t\t});\n\t\t\tif (isBrowser && !started && currentRoute.value === START_LOCATION_NORMALIZED) {\n\t\t\t\tstarted = true;\n\t\t\t\tpush(routerHistory.location).catch((err) => {\n\t\t\t\t\tif (process.env.NODE_ENV !== \"production\") warn$1(\"Unexpected error when starting the router:\", err);\n\t\t\t\t});\n\t\t\t}\n\t\t\tconst reactiveRoute = {};\n\t\t\tfor (const key in START_LOCATION_NORMALIZED) Object.defineProperty(reactiveRoute, key, {\n\t\t\t\tget: () => currentRoute.value[key],\n\t\t\t\tenumerable: true\n\t\t\t});\n\t\t\tapp.provide(routerKey, router);\n\t\t\tapp.provide(routeLocationKey, shallowReactive(reactiveRoute));\n\t\t\tapp.provide(routerViewLocationKey, currentRoute);\n\t\t\tconst unmountApp = app.unmount;\n\t\t\tinstalledApps.add(app);\n\t\t\tapp.unmount = function() {\n\t\t\t\tinstalledApps.delete(app);\n\t\t\t\tif (installedApps.size < 1) {\n\t\t\t\t\tpendingLocation = START_LOCATION_NORMALIZED;\n\t\t\t\t\tremoveHistoryListener && removeHistoryListener();\n\t\t\t\t\tremoveHistoryListener = null;\n\t\t\t\t\tcurrentRoute.value = START_LOCATION_NORMALIZED;\n\t\t\t\t\tstarted = false;\n\t\t\t\t\tready = false;\n\t\t\t\t}\n\t\t\t\tunmountApp();\n\t\t\t};\n\t\t\tif ((process.env.NODE_ENV !== \"production\" || __VUE_PROD_DEVTOOLS__) && isBrowser && true) addDevtools(app, router, matcher);\n\t\t}\n\t};\n\tfunction runGuardQueue(guards) {\n\t\treturn guards.reduce((promise, guard) => promise.then(() => runWithContext(guard)), Promise.resolve());\n\t}\n\treturn router;\n}\n\n//#endregion\nexport { NavigationFailureType, RouterLink, RouterView, START_LOCATION_NORMALIZED as START_LOCATION, createMemoryHistory, createRouter, createRouterMatcher, createWebHashHistory, createWebHistory, isNavigationFailure, loadRouteLocation, matchedRouteKey, onBeforeRouteLeave, onBeforeRouteUpdate, parseQuery, routeLocationKey, routerKey, routerViewLocationKey, stringifyQuery, useLink, useRoute, useRouter, viewDepthKey };","import { computed, customRef, effectScope, getCurrentInstance, getCurrentScope, hasInjectionContext, inject, isReactive, isRef, nextTick, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, provide, reactive, readonly, ref, shallowReadonly, shallowRef, toRef as toRef$1, toRefs as toRefs$1, toValue, unref, watch, watchEffect } from \"vue\";\n\n//#region computedEager/index.ts\n/**\n*\n* @deprecated This function will be removed in future version.\n*\n* Note: If you are using Vue 3.4+, you can straight use computed instead.\n* Because in Vue 3.4+, if computed new value does not change,\n* computed, effect, watch, watchEffect, render dependencies will not be triggered.\n* refer: https://github.com/vuejs/core/pull/5912\n*\n* @param fn effect function\n* @param options WatchOptionsBase\n* @returns readonly shallowRef\n*/\nfunction computedEager(fn, options) {\n\tvar _options$flush;\n\tconst result = shallowRef();\n\twatchEffect(() => {\n\t\tresult.value = fn();\n\t}, {\n\t\t...options,\n\t\tflush: (_options$flush = options === null || options === void 0 ? void 0 : options.flush) !== null && _options$flush !== void 0 ? _options$flush : \"sync\"\n\t});\n\treturn readonly(result);\n}\n/** @deprecated use `computedEager` instead */\nconst eagerComputed = computedEager;\n\n//#endregion\n//#region computedWithControl/index.ts\n/**\n* Explicitly define the deps of computed.\n*\n* @param source\n* @param fn\n*/\nfunction computedWithControl(source, fn, options = {}) {\n\tlet v = void 0;\n\tlet track;\n\tlet trigger;\n\tlet dirty = true;\n\tconst update = () => {\n\t\tdirty = true;\n\t\ttrigger();\n\t};\n\twatch(source, update, {\n\t\tflush: \"sync\",\n\t\t...options\n\t});\n\tconst get$1 = typeof fn === \"function\" ? fn : fn.get;\n\tconst set$1 = typeof fn === \"function\" ? void 0 : fn.set;\n\tconst result = customRef((_track, _trigger) => {\n\t\ttrack = _track;\n\t\ttrigger = _trigger;\n\t\treturn {\n\t\t\tget() {\n\t\t\t\tif (dirty) {\n\t\t\t\t\tv = get$1(v);\n\t\t\t\t\tdirty = false;\n\t\t\t\t}\n\t\t\t\ttrack();\n\t\t\t\treturn v;\n\t\t\t},\n\t\t\tset(v$1) {\n\t\t\t\tset$1 === null || set$1 === void 0 || set$1(v$1);\n\t\t\t}\n\t\t};\n\t});\n\tresult.trigger = update;\n\treturn result;\n}\n/** @deprecated use `computedWithControl` instead */\nconst controlledComputed = computedWithControl;\n\n//#endregion\n//#region tryOnScopeDispose/index.ts\n/**\n* Call onScopeDispose() if it's inside an effect scope lifecycle, if not, do nothing\n*\n* @param fn\n*/\nfunction tryOnScopeDispose(fn, failSilently) {\n\tif (getCurrentScope()) {\n\t\tonScopeDispose(fn, failSilently);\n\t\treturn true;\n\t}\n\treturn false;\n}\n\n//#endregion\n//#region createEventHook/index.ts\n/**\n* Utility for creating event hooks\n*\n* @see https://vueuse.org/createEventHook\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createEventHook() {\n\tconst fns = /* @__PURE__ */ new Set();\n\tconst off = (fn) => {\n\t\tfns.delete(fn);\n\t};\n\tconst clear = () => {\n\t\tfns.clear();\n\t};\n\tconst on = (fn) => {\n\t\tfns.add(fn);\n\t\tconst offFn = () => off(fn);\n\t\ttryOnScopeDispose(offFn);\n\t\treturn { off: offFn };\n\t};\n\tconst trigger = (...args) => {\n\t\treturn Promise.all(Array.from(fns).map((fn) => fn(...args)));\n\t};\n\treturn {\n\t\ton,\n\t\toff,\n\t\ttrigger,\n\t\tclear\n\t};\n}\n\n//#endregion\n//#region createGlobalState/index.ts\n/**\n* Keep states in the global scope to be reusable across Vue instances.\n*\n* @see https://vueuse.org/createGlobalState\n* @param stateFactory A factory function to create the state\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createGlobalState(stateFactory) {\n\tlet initialized = false;\n\tlet state;\n\tconst scope = effectScope(true);\n\treturn ((...args) => {\n\t\tif (!initialized) {\n\t\t\tstate = scope.run(() => stateFactory(...args));\n\t\t\tinitialized = true;\n\t\t}\n\t\treturn state;\n\t});\n}\n\n//#endregion\n//#region provideLocal/map.ts\nconst localProvidedStateMap = /* @__PURE__ */ new WeakMap();\n\n//#endregion\n//#region injectLocal/index.ts\n/**\n* On the basis of `inject`, it is allowed to directly call inject to obtain the value after call provide in the same component.\n*\n* @example\n* ```ts\n* injectLocal('MyInjectionKey', 1)\n* const injectedValue = injectLocal('MyInjectionKey') // injectedValue === 1\n* ```\n*\n* @__NO_SIDE_EFFECTS__\n*/\nconst injectLocal = (...args) => {\n\tvar _getCurrentInstance;\n\tconst key = args[0];\n\tconst instance = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.proxy;\n\tconst owner = instance !== null && instance !== void 0 ? instance : getCurrentScope();\n\tif (owner == null && !hasInjectionContext()) throw new Error(\"injectLocal must be called in setup\");\n\tif (owner && localProvidedStateMap.has(owner) && key in localProvidedStateMap.get(owner)) return localProvidedStateMap.get(owner)[key];\n\treturn inject(...args);\n};\n\n//#endregion\n//#region provideLocal/index.ts\n/**\n* On the basis of `provide`, it is allowed to directly call inject to obtain the value after call provide in the same component.\n*\n* @example\n* ```ts\n* provideLocal('MyInjectionKey', 1)\n* const injectedValue = injectLocal('MyInjectionKey') // injectedValue === 1\n* ```\n*/\nfunction provideLocal(key, value) {\n\tvar _getCurrentInstance;\n\tconst instance = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.proxy;\n\tconst owner = instance !== null && instance !== void 0 ? instance : getCurrentScope();\n\tif (owner == null) throw new Error(\"provideLocal must be called in setup\");\n\tif (!localProvidedStateMap.has(owner)) localProvidedStateMap.set(owner, Object.create(null));\n\tconst localProvidedState = localProvidedStateMap.get(owner);\n\tlocalProvidedState[key] = value;\n\treturn provide(key, value);\n}\n\n//#endregion\n//#region createInjectionState/index.ts\n/**\n* Create global state that can be injected into components.\n*\n* @see https://vueuse.org/createInjectionState\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createInjectionState(composable, options) {\n\tconst key = (options === null || options === void 0 ? void 0 : options.injectionKey) || Symbol(composable.name || \"InjectionState\");\n\tconst defaultValue = options === null || options === void 0 ? void 0 : options.defaultValue;\n\tconst useProvidingState = (...args) => {\n\t\tconst state = composable(...args);\n\t\tprovideLocal(key, state);\n\t\treturn state;\n\t};\n\tconst useInjectedState = () => injectLocal(key, defaultValue);\n\treturn [useProvidingState, useInjectedState];\n}\n\n//#endregion\n//#region createRef/index.ts\n/**\n* Returns a `deepRef` or `shallowRef` depending on the `deep` param.\n*\n* @example createRef(1) // ShallowRef\n* @example createRef(1, false) // ShallowRef\n* @example createRef(1, true) // Ref\n* @example createRef(\"string\") // ShallowRef\n* @example createRef<\"A\"|\"B\">(\"A\", true) // Ref<\"A\"|\"B\">\n*\n* @param value\n* @param deep\n* @returns the `deepRef` or `shallowRef`\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createRef(value, deep) {\n\tif (deep === true) return ref(value);\n\telse return shallowRef(value);\n}\n\n//#endregion\n//#region utils/is.ts\nconst isClient = typeof window !== \"undefined\" && typeof document !== \"undefined\";\nconst isWorker = typeof WorkerGlobalScope !== \"undefined\" && globalThis instanceof WorkerGlobalScope;\nconst isDef = (val) => typeof val !== \"undefined\";\nconst notNullish = (val) => val != null;\nconst assert = (condition, ...infos) => {\n\tif (!condition) console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {};\nconst rand = (min, max) => {\n\tmin = Math.ceil(min);\n\tmax = Math.floor(max);\n\treturn Math.floor(Math.random() * (max - min + 1)) + min;\n};\nconst hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);\nconst isIOS = /* @__PURE__ */ getIsIOS();\nfunction getIsIOS() {\n\tvar _window, _window2, _window3;\n\treturn isClient && !!((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.navigator) === null || _window2 === void 0 ? void 0 : _window2.maxTouchPoints) > 2 && /iPad|Macintosh/.test((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.navigator.userAgent));\n}\n\n//#endregion\n//#region toRef/index.ts\nfunction toRef(...args) {\n\tif (args.length !== 1) return toRef$1(...args);\n\tconst r = args[0];\n\treturn typeof r === \"function\" ? readonly(customRef(() => ({\n\t\tget: r,\n\t\tset: noop\n\t}))) : ref(r);\n}\n\n//#endregion\n//#region utils/filters.ts\n/**\n* @internal\n*/\nfunction createFilterWrapper(filter, fn) {\n\tfunction wrapper(...args) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tPromise.resolve(filter(() => fn.apply(this, args), {\n\t\t\t\tfn,\n\t\t\t\tthisArg: this,\n\t\t\t\targs\n\t\t\t})).then(resolve).catch(reject);\n\t\t});\n\t}\n\treturn wrapper;\n}\nconst bypassFilter = (invoke$1) => {\n\treturn invoke$1();\n};\n/**\n* Create an EventFilter that debounce the events\n*/\nfunction debounceFilter(ms, options = {}) {\n\tlet timer;\n\tlet maxTimer;\n\tlet lastRejector = noop;\n\tconst _clearTimeout = (timer$1) => {\n\t\tclearTimeout(timer$1);\n\t\tlastRejector();\n\t\tlastRejector = noop;\n\t};\n\tlet lastInvoker;\n\tconst filter = (invoke$1) => {\n\t\tconst duration = toValue(ms);\n\t\tconst maxDuration = toValue(options.maxWait);\n\t\tif (timer) _clearTimeout(timer);\n\t\tif (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n\t\t\tif (maxTimer) {\n\t\t\t\t_clearTimeout(maxTimer);\n\t\t\t\tmaxTimer = void 0;\n\t\t\t}\n\t\t\treturn Promise.resolve(invoke$1());\n\t\t}\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tlastRejector = options.rejectOnCancel ? reject : resolve;\n\t\t\tlastInvoker = invoke$1;\n\t\t\tif (maxDuration && !maxTimer) maxTimer = setTimeout(() => {\n\t\t\t\tif (timer) _clearTimeout(timer);\n\t\t\t\tmaxTimer = void 0;\n\t\t\t\tresolve(lastInvoker());\n\t\t\t}, maxDuration);\n\t\t\ttimer = setTimeout(() => {\n\t\t\t\tif (maxTimer) _clearTimeout(maxTimer);\n\t\t\t\tmaxTimer = void 0;\n\t\t\t\tresolve(invoke$1());\n\t\t\t}, duration);\n\t\t});\n\t};\n\treturn filter;\n}\nfunction throttleFilter(...args) {\n\tlet lastExec = 0;\n\tlet timer;\n\tlet isLeading = true;\n\tlet lastRejector = noop;\n\tlet lastValue;\n\tlet ms;\n\tlet trailing;\n\tlet leading;\n\tlet rejectOnCancel;\n\tif (!isRef(args[0]) && typeof args[0] === \"object\") ({delay: ms, trailing = true, leading = true, rejectOnCancel = false} = args[0]);\n\telse [ms, trailing = true, leading = true, rejectOnCancel = false] = args;\n\tconst clear = () => {\n\t\tif (timer) {\n\t\t\tclearTimeout(timer);\n\t\t\ttimer = void 0;\n\t\t\tlastRejector();\n\t\t\tlastRejector = noop;\n\t\t}\n\t};\n\tconst filter = (_invoke) => {\n\t\tconst duration = toValue(ms);\n\t\tconst elapsed = Date.now() - lastExec;\n\t\tconst invoke$1 = () => {\n\t\t\treturn lastValue = _invoke();\n\t\t};\n\t\tclear();\n\t\tif (duration <= 0) {\n\t\t\tlastExec = Date.now();\n\t\t\treturn invoke$1();\n\t\t}\n\t\tif (elapsed > duration) {\n\t\t\tlastExec = Date.now();\n\t\t\tif (leading || !isLeading) invoke$1();\n\t\t} else if (trailing) lastValue = new Promise((resolve, reject) => {\n\t\t\tlastRejector = rejectOnCancel ? reject : resolve;\n\t\t\ttimer = setTimeout(() => {\n\t\t\t\tlastExec = Date.now();\n\t\t\t\tisLeading = true;\n\t\t\t\tresolve(invoke$1());\n\t\t\t\tclear();\n\t\t\t}, Math.max(0, duration - elapsed));\n\t\t});\n\t\tif (!leading && !timer) timer = setTimeout(() => isLeading = true, duration);\n\t\tisLeading = false;\n\t\treturn lastValue;\n\t};\n\treturn filter;\n}\n/**\n* EventFilter that gives extra controls to pause and resume the filter\n*\n* @param extendFilter Extra filter to apply when the PausableFilter is active, default to none\n* @param options Options to configure the filter\n*/\nfunction pausableFilter(extendFilter = bypassFilter, options = {}) {\n\tconst { initialState = \"active\" } = options;\n\tconst isActive = toRef(initialState === \"active\");\n\tfunction pause() {\n\t\tisActive.value = false;\n\t}\n\tfunction resume() {\n\t\tisActive.value = true;\n\t}\n\tconst eventFilter = (...args) => {\n\t\tif (isActive.value) extendFilter(...args);\n\t};\n\treturn {\n\t\tisActive: readonly(isActive),\n\t\tpause,\n\t\tresume,\n\t\teventFilter\n\t};\n}\n\n//#endregion\n//#region utils/general.ts\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n\treturn new Promise((resolve, reject) => {\n\t\tif (throwOnTimeout) setTimeout(() => reject(reason), ms);\n\t\telse setTimeout(resolve, ms);\n\t});\n}\nfunction identity(arg) {\n\treturn arg;\n}\n/**\n* Create singleton promise function\n*\n* @example\n* ```\n* const promise = createSingletonPromise(async () => { ... })\n*\n* await promise()\n* await promise() // all of them will be bind to a single promise instance\n* await promise() // and be resolved together\n* ```\n*/\nfunction createSingletonPromise(fn) {\n\tlet _promise;\n\tfunction wrapper() {\n\t\tif (!_promise) _promise = fn();\n\t\treturn _promise;\n\t}\n\twrapper.reset = async () => {\n\t\tconst _prev = _promise;\n\t\t_promise = void 0;\n\t\tif (_prev) await _prev;\n\t};\n\treturn wrapper;\n}\nfunction invoke(fn) {\n\treturn fn();\n}\nfunction containsProp(obj, ...props) {\n\treturn props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n\tvar _target$match;\n\tif (typeof target === \"number\") return target + delta;\n\tconst value = ((_target$match = target.match(/^-?\\d+\\.?\\d*/)) === null || _target$match === void 0 ? void 0 : _target$match[0]) || \"\";\n\tconst unit = target.slice(value.length);\n\tconst result = Number.parseFloat(value) + delta;\n\tif (Number.isNaN(result)) return target;\n\treturn result + unit;\n}\n/**\n* Get a px value for SSR use, do not rely on this method outside of SSR as REM unit is assumed at 16px, which might not be the case on the client\n*/\nfunction pxValue(px) {\n\treturn px.endsWith(\"rem\") ? Number.parseFloat(px) * 16 : Number.parseFloat(px);\n}\n/**\n* Create a new subset object by giving keys\n*/\nfunction objectPick(obj, keys, omitUndefined = false) {\n\treturn keys.reduce((n, k) => {\n\t\tif (k in obj) {\n\t\t\tif (!omitUndefined || obj[k] !== void 0) n[k] = obj[k];\n\t\t}\n\t\treturn n;\n\t}, {});\n}\n/**\n* Create a new subset object by omit giving keys\n*/\nfunction objectOmit(obj, keys, omitUndefined = false) {\n\treturn Object.fromEntries(Object.entries(obj).filter(([key, value]) => {\n\t\treturn (!omitUndefined || value !== void 0) && !keys.includes(key);\n\t}));\n}\nfunction objectEntries(obj) {\n\treturn Object.entries(obj);\n}\nfunction toArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\n\n//#endregion\n//#region utils/port.ts\nfunction cacheStringFunction(fn) {\n\tconst cache = Object.create(null);\n\treturn ((str) => {\n\t\treturn cache[str] || (cache[str] = fn(str));\n\t});\n}\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, \"-$1\").toLowerCase());\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n\treturn str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\n\n//#endregion\n//#region utils/vue.ts\nfunction getLifeCycleTarget(target) {\n\treturn target || getCurrentInstance();\n}\n\n//#endregion\n//#region createSharedComposable/index.ts\n/**\n* Make a composable function usable with multiple Vue instances.\n*\n* @see https://vueuse.org/createSharedComposable\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createSharedComposable(composable) {\n\tif (!isClient) return composable;\n\tlet subscribers = 0;\n\tlet state;\n\tlet scope;\n\tconst dispose = () => {\n\t\tsubscribers -= 1;\n\t\tif (scope && subscribers <= 0) {\n\t\t\tscope.stop();\n\t\t\tstate = void 0;\n\t\t\tscope = void 0;\n\t\t}\n\t};\n\treturn ((...args) => {\n\t\tsubscribers += 1;\n\t\tif (!scope) {\n\t\t\tscope = effectScope(true);\n\t\t\tstate = scope.run(() => composable(...args));\n\t\t}\n\t\ttryOnScopeDispose(dispose);\n\t\treturn state;\n\t});\n}\n\n//#endregion\n//#region extendRef/index.ts\nfunction extendRef(ref$1, extend, { enumerable = false, unwrap = true } = {}) {\n\tfor (const [key, value] of Object.entries(extend)) {\n\t\tif (key === \"value\") continue;\n\t\tif (isRef(value) && unwrap) Object.defineProperty(ref$1, key, {\n\t\t\tget() {\n\t\t\t\treturn value.value;\n\t\t\t},\n\t\t\tset(v) {\n\t\t\t\tvalue.value = v;\n\t\t\t},\n\t\t\tenumerable\n\t\t});\n\t\telse Object.defineProperty(ref$1, key, {\n\t\t\tvalue,\n\t\t\tenumerable\n\t\t});\n\t}\n\treturn ref$1;\n}\n\n//#endregion\n//#region get/index.ts\nfunction get(obj, key) {\n\tif (key == null) return unref(obj);\n\treturn unref(obj)[key];\n}\n\n//#endregion\n//#region isDefined/index.ts\nfunction isDefined(v) {\n\treturn unref(v) != null;\n}\n\n//#endregion\n//#region makeDestructurable/index.ts\n/* @__NO_SIDE_EFFECTS__ */\nfunction makeDestructurable(obj, arr) {\n\tif (typeof Symbol !== \"undefined\") {\n\t\tconst clone = { ...obj };\n\t\tObject.defineProperty(clone, Symbol.iterator, {\n\t\t\tenumerable: false,\n\t\t\tvalue() {\n\t\t\t\tlet index = 0;\n\t\t\t\treturn { next: () => ({\n\t\t\t\t\tvalue: arr[index++],\n\t\t\t\t\tdone: index > arr.length\n\t\t\t\t}) };\n\t\t\t}\n\t\t});\n\t\treturn clone;\n\t} else return Object.assign([...arr], obj);\n}\n\n//#endregion\n//#region reactify/index.ts\n/**\n* Converts plain function into a reactive function.\n* The converted function accepts refs as it's arguments\n* and returns a ComputedRef, with proper typing.\n*\n* @param fn - Source function\n* @param options - Options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction reactify(fn, options) {\n\tconst unrefFn = (options === null || options === void 0 ? void 0 : options.computedGetter) === false ? unref : toValue;\n\treturn function(...args) {\n\t\treturn computed(() => fn.apply(this, args.map((i) => unrefFn(i))));\n\t};\n}\n/** @deprecated use `reactify` instead */\nconst createReactiveFn = reactify;\n\n//#endregion\n//#region reactifyObject/index.ts\n/**\n* Apply `reactify` to an object\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n\tlet keys = [];\n\tlet options;\n\tif (Array.isArray(optionsOrKeys)) keys = optionsOrKeys;\n\telse {\n\t\toptions = optionsOrKeys;\n\t\tconst { includeOwnProperties = true } = optionsOrKeys;\n\t\tkeys.push(...Object.keys(obj));\n\t\tif (includeOwnProperties) keys.push(...Object.getOwnPropertyNames(obj));\n\t}\n\treturn Object.fromEntries(keys.map((key) => {\n\t\tconst value = obj[key];\n\t\treturn [key, typeof value === \"function\" ? reactify(value.bind(obj), options) : value];\n\t}));\n}\n\n//#endregion\n//#region toReactive/index.ts\n/**\n* Converts ref to reactive.\n*\n* @see https://vueuse.org/toReactive\n* @param objectRef A ref of object\n*/\nfunction toReactive(objectRef) {\n\tif (!isRef(objectRef)) return reactive(objectRef);\n\treturn reactive(new Proxy({}, {\n\t\tget(_, p, receiver) {\n\t\t\treturn unref(Reflect.get(objectRef.value, p, receiver));\n\t\t},\n\t\tset(_, p, value) {\n\t\t\tif (isRef(objectRef.value[p]) && !isRef(value)) objectRef.value[p].value = value;\n\t\t\telse objectRef.value[p] = value;\n\t\t\treturn true;\n\t\t},\n\t\tdeleteProperty(_, p) {\n\t\t\treturn Reflect.deleteProperty(objectRef.value, p);\n\t\t},\n\t\thas(_, p) {\n\t\t\treturn Reflect.has(objectRef.value, p);\n\t\t},\n\t\townKeys() {\n\t\t\treturn Object.keys(objectRef.value);\n\t\t},\n\t\tgetOwnPropertyDescriptor() {\n\t\t\treturn {\n\t\t\t\tenumerable: true,\n\t\t\t\tconfigurable: true\n\t\t\t};\n\t\t}\n\t}));\n}\n\n//#endregion\n//#region reactiveComputed/index.ts\n/**\n* Computed reactive object.\n*/\nfunction reactiveComputed(fn) {\n\treturn toReactive(computed(fn));\n}\n\n//#endregion\n//#region reactiveOmit/index.ts\n/**\n* Reactively omit fields from a reactive object\n*\n* @see https://vueuse.org/reactiveOmit\n*/\nfunction reactiveOmit(obj, ...keys) {\n\tconst flatKeys = keys.flat();\n\tconst predicate = flatKeys[0];\n\treturn reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));\n}\n\n//#endregion\n//#region reactivePick/index.ts\n/**\n* Reactively pick fields from a reactive object\n*\n* @see https://vueuse.org/reactivePick\n*/\nfunction reactivePick(obj, ...keys) {\n\tconst flatKeys = keys.flat();\n\tconst predicate = flatKeys[0];\n\treturn reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => predicate(toValue(v), k))) : Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));\n}\n\n//#endregion\n//#region refAutoReset/index.ts\n/**\n* Create a ref which will be reset to the default value after some time.\n*\n* @see https://vueuse.org/refAutoReset\n* @param defaultValue The value which will be set.\n* @param afterMs A zero-or-greater delay in milliseconds.\n*/\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n\treturn customRef((track, trigger) => {\n\t\tlet value = toValue(defaultValue);\n\t\tlet timer;\n\t\tconst resetAfter = () => setTimeout(() => {\n\t\t\tvalue = toValue(defaultValue);\n\t\t\ttrigger();\n\t\t}, toValue(afterMs));\n\t\ttryOnScopeDispose(() => {\n\t\t\tclearTimeout(timer);\n\t\t});\n\t\treturn {\n\t\t\tget() {\n\t\t\t\ttrack();\n\t\t\t\treturn value;\n\t\t\t},\n\t\t\tset(newValue) {\n\t\t\t\tvalue = newValue;\n\t\t\t\ttrigger();\n\t\t\t\tclearTimeout(timer);\n\t\t\t\ttimer = resetAfter();\n\t\t\t}\n\t\t};\n\t});\n}\n/** @deprecated use `refAutoReset` instead */\nconst autoResetRef = refAutoReset;\n\n//#endregion\n//#region useDebounceFn/index.ts\n/**\n* Debounce execution of a function.\n*\n* @see https://vueuse.org/useDebounceFn\n* @param fn A function to be executed after delay milliseconds debounced.\n* @param ms A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n* @param options Options\n*\n* @return A new, debounce, function.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n\treturn createFilterWrapper(debounceFilter(ms, options), fn);\n}\n\n//#endregion\n//#region refDebounced/index.ts\n/**\n* Debounce updates of a ref.\n*\n* @return A new debounced ref.\n*/\nfunction refDebounced(value, ms = 200, options = {}) {\n\tconst debounced = ref(toValue(value));\n\tconst updater = useDebounceFn(() => {\n\t\tdebounced.value = value.value;\n\t}, ms, options);\n\twatch(value, () => updater());\n\treturn shallowReadonly(debounced);\n}\n/** @deprecated use `refDebounced` instead */\nconst debouncedRef = refDebounced;\n/** @deprecated use `refDebounced` instead */\nconst useDebounce = refDebounced;\n\n//#endregion\n//#region refDefault/index.ts\n/**\n* Apply default value to a ref.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction refDefault(source, defaultValue) {\n\treturn computed({\n\t\tget() {\n\t\t\tvar _source$value;\n\t\t\treturn (_source$value = source.value) !== null && _source$value !== void 0 ? _source$value : defaultValue;\n\t\t},\n\t\tset(value) {\n\t\t\tsource.value = value;\n\t\t}\n\t});\n}\n\n//#endregion\n//#region refManualReset/index.ts\n/**\n* Create a ref with manual reset functionality.\n*\n* @see https://vueuse.org/refManualReset\n* @param defaultValue The value which will be set.\n*/\nfunction refManualReset(defaultValue) {\n\tlet value = toValue(defaultValue);\n\tlet trigger;\n\tconst reset = () => {\n\t\tvalue = toValue(defaultValue);\n\t\ttrigger();\n\t};\n\tconst refValue = customRef((track, _trigger) => {\n\t\ttrigger = _trigger;\n\t\treturn {\n\t\t\tget() {\n\t\t\t\ttrack();\n\t\t\t\treturn value;\n\t\t\t},\n\t\t\tset(newValue) {\n\t\t\t\tvalue = newValue;\n\t\t\t\ttrigger();\n\t\t\t}\n\t\t};\n\t});\n\trefValue.reset = reset;\n\treturn refValue;\n}\n\n//#endregion\n//#region useThrottleFn/index.ts\n/**\n* Throttle execution of a function. Especially useful for rate limiting\n* execution of handlers on events like resize and scroll.\n*\n* @param fn A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n* to `callback` when the throttled-function is executed.\n* @param ms A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n* (default value: 200)\n*\n* @param [trailing] if true, call fn again after the time is up (default value: false)\n*\n* @param [leading] if true, call fn on the leading edge of the ms timeout (default value: true)\n*\n* @param [rejectOnCancel] if true, reject the last call if it's been cancel (default value: false)\n*\n* @return A new, throttled, function.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {\n\treturn createFilterWrapper(throttleFilter(ms, trailing, leading, rejectOnCancel), fn);\n}\n\n//#endregion\n//#region refThrottled/index.ts\n/**\n* Throttle execution of a function. Especially useful for rate limiting\n* execution of handlers on events like resize and scroll.\n*\n* @param value Ref value to be watched with throttle effect\n* @param delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n* @param trailing if true, update the value again after the delay time is up\n* @param leading if true, update the value on the leading edge of the ms timeout\n*/\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n\tif (delay <= 0) return value;\n\tconst throttled = ref(toValue(value));\n\tconst updater = useThrottleFn(() => {\n\t\tthrottled.value = value.value;\n\t}, delay, trailing, leading);\n\twatch(value, () => updater());\n\treturn throttled;\n}\n/** @deprecated use `refThrottled` instead */\nconst throttledRef = refThrottled;\n/** @deprecated use `refThrottled` instead */\nconst useThrottle = refThrottled;\n\n//#endregion\n//#region refWithControl/index.ts\n/**\n* Fine-grained controls over ref and its reactivity.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction refWithControl(initial, options = {}) {\n\tlet source = initial;\n\tlet track;\n\tlet trigger;\n\tconst ref$1 = customRef((_track, _trigger) => {\n\t\ttrack = _track;\n\t\ttrigger = _trigger;\n\t\treturn {\n\t\t\tget() {\n\t\t\t\treturn get$1();\n\t\t\t},\n\t\t\tset(v) {\n\t\t\t\tset$1(v);\n\t\t\t}\n\t\t};\n\t});\n\tfunction get$1(tracking = true) {\n\t\tif (tracking) track();\n\t\treturn source;\n\t}\n\tfunction set$1(value, triggering = true) {\n\t\tvar _options$onBeforeChan, _options$onChanged;\n\t\tif (value === source) return;\n\t\tconst old = source;\n\t\tif (((_options$onBeforeChan = options.onBeforeChange) === null || _options$onBeforeChan === void 0 ? void 0 : _options$onBeforeChan.call(options, value, old)) === false) return;\n\t\tsource = value;\n\t\t(_options$onChanged = options.onChanged) === null || _options$onChanged === void 0 || _options$onChanged.call(options, value, old);\n\t\tif (triggering) trigger();\n\t}\n\t/**\n\t* Get the value without tracked in the reactivity system\n\t*/\n\tconst untrackedGet = () => get$1(false);\n\t/**\n\t* Set the value without triggering the reactivity system\n\t*/\n\tconst silentSet = (v) => set$1(v, false);\n\t/**\n\t* Get the value without tracked in the reactivity system.\n\t*\n\t* Alias for `untrackedGet()`\n\t*/\n\tconst peek = () => get$1(false);\n\t/**\n\t* Set the value without triggering the reactivity system\n\t*\n\t* Alias for `silentSet(v)`\n\t*/\n\tconst lay = (v) => set$1(v, false);\n\treturn extendRef(ref$1, {\n\t\tget: get$1,\n\t\tset: set$1,\n\t\tuntrackedGet,\n\t\tsilentSet,\n\t\tpeek,\n\t\tlay\n\t}, { enumerable: true });\n}\n/** @deprecated use `refWithControl` instead */\nconst controlledRef = refWithControl;\n\n//#endregion\n//#region set/index.ts\n/**\n* Shorthand for `ref.value = x`\n*/\nfunction set(...args) {\n\tif (args.length === 2) {\n\t\tconst [ref$1, value] = args;\n\t\tref$1.value = value;\n\t}\n\tif (args.length === 3) {\n\t\tconst [target, key, value] = args;\n\t\ttarget[key] = value;\n\t}\n}\n\n//#endregion\n//#region watchWithFilter/index.ts\nfunction watchWithFilter(source, cb, options = {}) {\n\tconst { eventFilter = bypassFilter,...watchOptions } = options;\n\treturn watch(source, createFilterWrapper(eventFilter, cb), watchOptions);\n}\n\n//#endregion\n//#region watchPausable/index.ts\nfunction watchPausable(source, cb, options = {}) {\n\tconst { eventFilter: filter, initialState = \"active\",...watchOptions } = options;\n\tconst { eventFilter, pause, resume, isActive } = pausableFilter(filter, { initialState });\n\treturn {\n\t\tstop: watchWithFilter(source, cb, {\n\t\t\t...watchOptions,\n\t\t\teventFilter\n\t\t}),\n\t\tpause,\n\t\tresume,\n\t\tisActive\n\t};\n}\n/** @deprecated use `watchPausable` instead */\nconst pausableWatch = watchPausable;\n\n//#endregion\n//#region syncRef/index.ts\n/**\n* Two-way refs synchronization.\n* From the set theory perspective to restrict the option's type\n* Check in the following order:\n* 1. L = R\n* 2. L ∩ R ≠ ∅\n* 3. L ⊆ R\n* 4. L ∩ R = ∅\n*/\nfunction syncRef(left, right, ...[options]) {\n\tconst { flush = \"sync\", deep = false, immediate = true, direction = \"both\", transform = {} } = options || {};\n\tconst watchers = [];\n\tconst transformLTR = \"ltr\" in transform && transform.ltr || ((v) => v);\n\tconst transformRTL = \"rtl\" in transform && transform.rtl || ((v) => v);\n\tif (direction === \"both\" || direction === \"ltr\") watchers.push(pausableWatch(left, (newValue) => {\n\t\twatchers.forEach((w) => w.pause());\n\t\tright.value = transformLTR(newValue);\n\t\twatchers.forEach((w) => w.resume());\n\t}, {\n\t\tflush,\n\t\tdeep,\n\t\timmediate\n\t}));\n\tif (direction === \"both\" || direction === \"rtl\") watchers.push(pausableWatch(right, (newValue) => {\n\t\twatchers.forEach((w) => w.pause());\n\t\tleft.value = transformRTL(newValue);\n\t\twatchers.forEach((w) => w.resume());\n\t}, {\n\t\tflush,\n\t\tdeep,\n\t\timmediate\n\t}));\n\tconst stop = () => {\n\t\twatchers.forEach((w) => w.stop());\n\t};\n\treturn stop;\n}\n\n//#endregion\n//#region syncRefs/index.ts\n/**\n* Keep target ref(s) in sync with the source ref\n*\n* @param source source ref\n* @param targets\n*/\nfunction syncRefs(source, targets, options = {}) {\n\tconst { flush = \"sync\", deep = false, immediate = true } = options;\n\tconst targetsArray = toArray(targets);\n\treturn watch(source, (newValue) => targetsArray.forEach((target) => target.value = newValue), {\n\t\tflush,\n\t\tdeep,\n\t\timmediate\n\t});\n}\n\n//#endregion\n//#region toRefs/index.ts\n/**\n* Extended `toRefs` that also accepts refs of an object.\n*\n* @see https://vueuse.org/toRefs\n* @param objectRef A ref or normal object or array.\n* @param options Options\n*/\nfunction toRefs(objectRef, options = {}) {\n\tif (!isRef(objectRef)) return toRefs$1(objectRef);\n\tconst result = Array.isArray(objectRef.value) ? Array.from({ length: objectRef.value.length }) : {};\n\tfor (const key in objectRef.value) result[key] = customRef(() => ({\n\t\tget() {\n\t\t\treturn objectRef.value[key];\n\t\t},\n\t\tset(v) {\n\t\t\tvar _toValue;\n\t\t\tif ((_toValue = toValue(options.replaceRef)) !== null && _toValue !== void 0 ? _toValue : true) if (Array.isArray(objectRef.value)) {\n\t\t\t\tconst copy = [...objectRef.value];\n\t\t\t\tcopy[key] = v;\n\t\t\t\tobjectRef.value = copy;\n\t\t\t} else {\n\t\t\t\tconst newObject = {\n\t\t\t\t\t...objectRef.value,\n\t\t\t\t\t[key]: v\n\t\t\t\t};\n\t\t\t\tObject.setPrototypeOf(newObject, Object.getPrototypeOf(objectRef.value));\n\t\t\t\tobjectRef.value = newObject;\n\t\t\t}\n\t\t\telse objectRef.value[key] = v;\n\t\t}\n\t}));\n\treturn result;\n}\n\n//#endregion\n//#region tryOnBeforeMount/index.ts\n/**\n* Call onBeforeMount() if it's inside a component lifecycle, if not, just call the function\n*\n* @param fn\n* @param sync if set to false, it will run in the nextTick() of Vue\n* @param target\n*/\nfunction tryOnBeforeMount(fn, sync = true, target) {\n\tif (getLifeCycleTarget(target)) onBeforeMount(fn, target);\n\telse if (sync) fn();\n\telse nextTick(fn);\n}\n\n//#endregion\n//#region tryOnBeforeUnmount/index.ts\n/**\n* Call onBeforeUnmount() if it's inside a component lifecycle, if not, do nothing\n*\n* @param fn\n* @param target\n*/\nfunction tryOnBeforeUnmount(fn, target) {\n\tif (getLifeCycleTarget(target)) onBeforeUnmount(fn, target);\n}\n\n//#endregion\n//#region tryOnMounted/index.ts\n/**\n* Call onMounted() if it's inside a component lifecycle, if not, just call the function\n*\n* @param fn\n* @param sync if set to false, it will run in the nextTick() of Vue\n* @param target\n*/\nfunction tryOnMounted(fn, sync = true, target) {\n\tif (getLifeCycleTarget(target)) onMounted(fn, target);\n\telse if (sync) fn();\n\telse nextTick(fn);\n}\n\n//#endregion\n//#region tryOnUnmounted/index.ts\n/**\n* Call onUnmounted() if it's inside a component lifecycle, if not, do nothing\n*\n* @param fn\n* @param target\n*/\nfunction tryOnUnmounted(fn, target) {\n\tif (getLifeCycleTarget(target)) onUnmounted(fn, target);\n}\n\n//#endregion\n//#region until/index.ts\nfunction createUntil(r, isNot = false) {\n\tfunction toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n\t\tlet stop = null;\n\t\tconst promises = [new Promise((resolve) => {\n\t\t\tstop = watch(r, (v) => {\n\t\t\t\tif (condition(v) !== isNot) {\n\t\t\t\t\tif (stop) stop();\n\t\t\t\t\telse nextTick(() => stop === null || stop === void 0 ? void 0 : stop());\n\t\t\t\t\tresolve(v);\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tflush,\n\t\t\t\tdeep,\n\t\t\t\timmediate: true\n\t\t\t});\n\t\t})];\n\t\tif (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop === null || stop === void 0 ? void 0 : stop()));\n\t\treturn Promise.race(promises);\n\t}\n\tfunction toBe(value, options) {\n\t\tif (!isRef(value)) return toMatch((v) => v === value, options);\n\t\tconst { flush = \"sync\", deep = false, timeout, throwOnTimeout } = options !== null && options !== void 0 ? options : {};\n\t\tlet stop = null;\n\t\tconst promises = [new Promise((resolve) => {\n\t\t\tstop = watch([r, value], ([v1, v2]) => {\n\t\t\t\tif (isNot !== (v1 === v2)) {\n\t\t\t\t\tif (stop) stop();\n\t\t\t\t\telse nextTick(() => stop === null || stop === void 0 ? void 0 : stop());\n\t\t\t\t\tresolve(v1);\n\t\t\t\t}\n\t\t\t}, {\n\t\t\t\tflush,\n\t\t\t\tdeep,\n\t\t\t\timmediate: true\n\t\t\t});\n\t\t})];\n\t\tif (timeout != null) promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {\n\t\t\tstop === null || stop === void 0 || stop();\n\t\t\treturn toValue(r);\n\t\t}));\n\t\treturn Promise.race(promises);\n\t}\n\tfunction toBeTruthy(options) {\n\t\treturn toMatch((v) => Boolean(v), options);\n\t}\n\tfunction toBeNull(options) {\n\t\treturn toBe(null, options);\n\t}\n\tfunction toBeUndefined(options) {\n\t\treturn toBe(void 0, options);\n\t}\n\tfunction toBeNaN(options) {\n\t\treturn toMatch(Number.isNaN, options);\n\t}\n\tfunction toContains(value, options) {\n\t\treturn toMatch((v) => {\n\t\t\tconst array = Array.from(v);\n\t\t\treturn array.includes(value) || array.includes(toValue(value));\n\t\t}, options);\n\t}\n\tfunction changed(options) {\n\t\treturn changedTimes(1, options);\n\t}\n\tfunction changedTimes(n = 1, options) {\n\t\tlet count = -1;\n\t\treturn toMatch(() => {\n\t\t\tcount += 1;\n\t\t\treturn count >= n;\n\t\t}, options);\n\t}\n\tif (Array.isArray(toValue(r))) return {\n\t\ttoMatch,\n\t\ttoContains,\n\t\tchanged,\n\t\tchangedTimes,\n\t\tget not() {\n\t\t\treturn createUntil(r, !isNot);\n\t\t}\n\t};\n\telse return {\n\t\ttoMatch,\n\t\ttoBe,\n\t\ttoBeTruthy,\n\t\ttoBeNull,\n\t\ttoBeNaN,\n\t\ttoBeUndefined,\n\t\tchanged,\n\t\tchangedTimes,\n\t\tget not() {\n\t\t\treturn createUntil(r, !isNot);\n\t\t}\n\t};\n}\nfunction until(r) {\n\treturn createUntil(r);\n}\n\n//#endregion\n//#region useArrayDifference/index.ts\nfunction defaultComparator(value, othVal) {\n\treturn value === othVal;\n}\n/**\n* Reactive get array difference of two array\n* @see https://vueuse.org/useArrayDifference\n* @returns - the difference of two array\n* @param args\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayDifference(...args) {\n\tvar _args$, _args$2;\n\tconst list = args[0];\n\tconst values = args[1];\n\tlet compareFn = (_args$ = args[2]) !== null && _args$ !== void 0 ? _args$ : defaultComparator;\n\tconst { symmetric = false } = (_args$2 = args[3]) !== null && _args$2 !== void 0 ? _args$2 : {};\n\tif (typeof compareFn === \"string\") {\n\t\tconst key = compareFn;\n\t\tcompareFn = (value, othVal) => value[key] === othVal[key];\n\t}\n\tconst diff1 = computed(() => toValue(list).filter((x) => toValue(values).findIndex((y) => compareFn(x, y)) === -1));\n\tif (symmetric) {\n\t\tconst diff2 = computed(() => toValue(values).filter((x) => toValue(list).findIndex((y) => compareFn(x, y)) === -1));\n\t\treturn computed(() => symmetric ? [...toValue(diff1), ...toValue(diff2)] : toValue(diff1));\n\t} else return diff1;\n}\n\n//#endregion\n//#region useArrayEvery/index.ts\n/**\n* Reactive `Array.every`\n*\n* @see https://vueuse.org/useArrayEvery\n* @param list - the array was called upon.\n* @param fn - a function to test each element.\n*\n* @returns **true** if the `fn` function returns a **truthy** value for every element from the array. Otherwise, **false**.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayEvery(list, fn) {\n\treturn computed(() => toValue(list).every((element, index, array) => fn(toValue(element), index, array)));\n}\n\n//#endregion\n//#region useArrayFilter/index.ts\n/**\n* Reactive `Array.filter`\n*\n* @see https://vueuse.org/useArrayFilter\n* @param list - the array was called upon.\n* @param fn - a function that is called for every element of the given `list`. Each time `fn` executes, the returned value is added to the new array.\n*\n* @returns a shallow copy of a portion of the given array, filtered down to just the elements from the given array that pass the test implemented by the provided function. If no elements pass the test, an empty array will be returned.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayFilter(list, fn) {\n\treturn computed(() => toValue(list).map((i) => toValue(i)).filter(fn));\n}\n\n//#endregion\n//#region useArrayFind/index.ts\n/**\n* Reactive `Array.find`\n*\n* @see https://vueuse.org/useArrayFind\n* @param list - the array was called upon.\n* @param fn - a function to test each element.\n*\n* @returns the first element in the array that satisfies the provided testing function. Otherwise, undefined is returned.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayFind(list, fn) {\n\treturn computed(() => toValue(toValue(list).find((element, index, array) => fn(toValue(element), index, array))));\n}\n\n//#endregion\n//#region useArrayFindIndex/index.ts\n/**\n* Reactive `Array.findIndex`\n*\n* @see https://vueuse.org/useArrayFindIndex\n* @param list - the array was called upon.\n* @param fn - a function to test each element.\n*\n* @returns the index of the first element in the array that passes the test. Otherwise, \"-1\".\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayFindIndex(list, fn) {\n\treturn computed(() => toValue(list).findIndex((element, index, array) => fn(toValue(element), index, array)));\n}\n\n//#endregion\n//#region useArrayFindLast/index.ts\nfunction findLast(arr, cb) {\n\tlet index = arr.length;\n\twhile (index-- > 0) if (cb(arr[index], index, arr)) return arr[index];\n}\n/**\n* Reactive `Array.findLast`\n*\n* @see https://vueuse.org/useArrayFindLast\n* @param list - the array was called upon.\n* @param fn - a function to test each element.\n*\n* @returns the last element in the array that satisfies the provided testing function. Otherwise, undefined is returned.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayFindLast(list, fn) {\n\treturn computed(() => toValue(!Array.prototype.findLast ? findLast(toValue(list), (element, index, array) => fn(toValue(element), index, array)) : toValue(list).findLast((element, index, array) => fn(toValue(element), index, array))));\n}\n\n//#endregion\n//#region useArrayIncludes/index.ts\nfunction isArrayIncludesOptions(obj) {\n\treturn isObject(obj) && containsProp(obj, \"formIndex\", \"comparator\");\n}\n/**\n* Reactive `Array.includes`\n*\n* @see https://vueuse.org/useArrayIncludes\n*\n* @returns true if the `value` is found in the array. Otherwise, false.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayIncludes(...args) {\n\tvar _comparator;\n\tconst list = args[0];\n\tconst value = args[1];\n\tlet comparator = args[2];\n\tlet formIndex = 0;\n\tif (isArrayIncludesOptions(comparator)) {\n\t\tvar _comparator$fromIndex;\n\t\tformIndex = (_comparator$fromIndex = comparator.fromIndex) !== null && _comparator$fromIndex !== void 0 ? _comparator$fromIndex : 0;\n\t\tcomparator = comparator.comparator;\n\t}\n\tif (typeof comparator === \"string\") {\n\t\tconst key = comparator;\n\t\tcomparator = (element, value$1) => element[key] === toValue(value$1);\n\t}\n\tcomparator = (_comparator = comparator) !== null && _comparator !== void 0 ? _comparator : ((element, value$1) => element === toValue(value$1));\n\treturn computed(() => toValue(list).slice(formIndex).some((element, index, array) => comparator(toValue(element), toValue(value), index, toValue(array))));\n}\n\n//#endregion\n//#region useArrayJoin/index.ts\n/**\n* Reactive `Array.join`\n*\n* @see https://vueuse.org/useArrayJoin\n* @param list - the array was called upon.\n* @param separator - a string to separate each pair of adjacent elements of the array. If omitted, the array elements are separated with a comma (\",\").\n*\n* @returns a string with all array elements joined. If arr.length is 0, the empty string is returned.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayJoin(list, separator) {\n\treturn computed(() => toValue(list).map((i) => toValue(i)).join(toValue(separator)));\n}\n\n//#endregion\n//#region useArrayMap/index.ts\n/**\n* Reactive `Array.map`\n*\n* @see https://vueuse.org/useArrayMap\n* @param list - the array was called upon.\n* @param fn - a function that is called for every element of the given `list`. Each time `fn` executes, the returned value is added to the new array.\n*\n* @returns a new array with each element being the result of the callback function.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayMap(list, fn) {\n\treturn computed(() => toValue(list).map((i) => toValue(i)).map(fn));\n}\n\n//#endregion\n//#region useArrayReduce/index.ts\n/**\n* Reactive `Array.reduce`\n*\n* @see https://vueuse.org/useArrayReduce\n* @param list - the array was called upon.\n* @param reducer - a \"reducer\" function.\n* @param args\n*\n* @returns the value that results from running the \"reducer\" callback function to completion over the entire array.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayReduce(list, reducer, ...args) {\n\tconst reduceCallback = (sum, value, index) => reducer(toValue(sum), toValue(value), index);\n\treturn computed(() => {\n\t\tconst resolved = toValue(list);\n\t\treturn args.length ? resolved.reduce(reduceCallback, typeof args[0] === \"function\" ? toValue(args[0]()) : toValue(args[0])) : resolved.reduce(reduceCallback);\n\t});\n}\n\n//#endregion\n//#region useArraySome/index.ts\n/**\n* Reactive `Array.some`\n*\n* @see https://vueuse.org/useArraySome\n* @param list - the array was called upon.\n* @param fn - a function to test each element.\n*\n* @returns **true** if the `fn` function returns a **truthy** value for any element from the array. Otherwise, **false**.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArraySome(list, fn) {\n\treturn computed(() => toValue(list).some((element, index, array) => fn(toValue(element), index, array)));\n}\n\n//#endregion\n//#region useArrayUnique/index.ts\nfunction uniq(array) {\n\treturn Array.from(new Set(array));\n}\nfunction uniqueElementsBy(array, fn) {\n\treturn array.reduce((acc, v) => {\n\t\tif (!acc.some((x) => fn(v, x, array))) acc.push(v);\n\t\treturn acc;\n\t}, []);\n}\n/**\n* reactive unique array\n* @see https://vueuse.org/useArrayUnique\n* @param list - the array was called upon.\n* @param compareFn\n* @returns A computed ref that returns a unique array of items.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useArrayUnique(list, compareFn) {\n\treturn computed(() => {\n\t\tconst resolvedList = toValue(list).map((element) => toValue(element));\n\t\treturn compareFn ? uniqueElementsBy(resolvedList, compareFn) : uniq(resolvedList);\n\t});\n}\n\n//#endregion\n//#region useCounter/index.ts\n/**\n* Basic counter with utility functions.\n*\n* @see https://vueuse.org/useCounter\n* @param [initialValue]\n* @param options\n*/\nfunction useCounter(initialValue = 0, options = {}) {\n\tlet _initialValue = unref(initialValue);\n\tconst count = shallowRef(initialValue);\n\tconst { max = Number.POSITIVE_INFINITY, min = Number.NEGATIVE_INFINITY } = options;\n\tconst inc = (delta = 1) => count.value = Math.max(Math.min(max, count.value + delta), min);\n\tconst dec = (delta = 1) => count.value = Math.min(Math.max(min, count.value - delta), max);\n\tconst get$1 = () => count.value;\n\tconst set$1 = (val) => count.value = Math.max(min, Math.min(max, val));\n\tconst reset = (val = _initialValue) => {\n\t\t_initialValue = val;\n\t\treturn set$1(val);\n\t};\n\treturn {\n\t\tcount: shallowReadonly(count),\n\t\tinc,\n\t\tdec,\n\t\tget: get$1,\n\t\tset: set$1,\n\t\treset\n\t};\n}\n\n//#endregion\n//#region useDateFormat/index.ts\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[T\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/i;\nconst REGEX_FORMAT = /[YMDHhms]o|\\[([^\\]]+)\\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;\nfunction defaultMeridiem(hours, minutes, isLowercase, hasPeriod) {\n\tlet m = hours < 12 ? \"AM\" : \"PM\";\n\tif (hasPeriod) m = m.split(\"\").reduce((acc, curr) => acc += `${curr}.`, \"\");\n\treturn isLowercase ? m.toLowerCase() : m;\n}\nfunction formatOrdinal(num) {\n\tconst suffixes = [\n\t\t\"th\",\n\t\t\"st\",\n\t\t\"nd\",\n\t\t\"rd\"\n\t];\n\tconst v = num % 100;\n\treturn num + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);\n}\nfunction formatDate(date, formatStr, options = {}) {\n\tvar _options$customMeridi;\n\tconst years = date.getFullYear();\n\tconst month = date.getMonth();\n\tconst days = date.getDate();\n\tconst hours = date.getHours();\n\tconst minutes = date.getMinutes();\n\tconst seconds = date.getSeconds();\n\tconst milliseconds = date.getMilliseconds();\n\tconst day = date.getDay();\n\tconst meridiem = (_options$customMeridi = options.customMeridiem) !== null && _options$customMeridi !== void 0 ? _options$customMeridi : defaultMeridiem;\n\tconst stripTimeZone = (dateString) => {\n\t\tvar _dateString$split$;\n\t\treturn (_dateString$split$ = dateString.split(\" \")[1]) !== null && _dateString$split$ !== void 0 ? _dateString$split$ : \"\";\n\t};\n\tconst matches = {\n\t\tYo: () => formatOrdinal(years),\n\t\tYY: () => String(years).slice(-2),\n\t\tYYYY: () => years,\n\t\tM: () => month + 1,\n\t\tMo: () => formatOrdinal(month + 1),\n\t\tMM: () => `${month + 1}`.padStart(2, \"0\"),\n\t\tMMM: () => date.toLocaleDateString(toValue(options.locales), { month: \"short\" }),\n\t\tMMMM: () => date.toLocaleDateString(toValue(options.locales), { month: \"long\" }),\n\t\tD: () => String(days),\n\t\tDo: () => formatOrdinal(days),\n\t\tDD: () => `${days}`.padStart(2, \"0\"),\n\t\tH: () => String(hours),\n\t\tHo: () => formatOrdinal(hours),\n\t\tHH: () => `${hours}`.padStart(2, \"0\"),\n\t\th: () => `${hours % 12 || 12}`.padStart(1, \"0\"),\n\t\tho: () => formatOrdinal(hours % 12 || 12),\n\t\thh: () => `${hours % 12 || 12}`.padStart(2, \"0\"),\n\t\tm: () => String(minutes),\n\t\tmo: () => formatOrdinal(minutes),\n\t\tmm: () => `${minutes}`.padStart(2, \"0\"),\n\t\ts: () => String(seconds),\n\t\tso: () => formatOrdinal(seconds),\n\t\tss: () => `${seconds}`.padStart(2, \"0\"),\n\t\tSSS: () => `${milliseconds}`.padStart(3, \"0\"),\n\t\td: () => day,\n\t\tdd: () => date.toLocaleDateString(toValue(options.locales), { weekday: \"narrow\" }),\n\t\tddd: () => date.toLocaleDateString(toValue(options.locales), { weekday: \"short\" }),\n\t\tdddd: () => date.toLocaleDateString(toValue(options.locales), { weekday: \"long\" }),\n\t\tA: () => meridiem(hours, minutes),\n\t\tAA: () => meridiem(hours, minutes, false, true),\n\t\ta: () => meridiem(hours, minutes, true),\n\t\taa: () => meridiem(hours, minutes, true, true),\n\t\tz: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: \"shortOffset\" })),\n\t\tzz: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: \"shortOffset\" })),\n\t\tzzz: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: \"shortOffset\" })),\n\t\tzzzz: () => stripTimeZone(date.toLocaleDateString(toValue(options.locales), { timeZoneName: \"longOffset\" }))\n\t};\n\treturn formatStr.replace(REGEX_FORMAT, (match, $1) => {\n\t\tvar _ref, _matches$match;\n\t\treturn (_ref = $1 !== null && $1 !== void 0 ? $1 : (_matches$match = matches[match]) === null || _matches$match === void 0 ? void 0 : _matches$match.call(matches)) !== null && _ref !== void 0 ? _ref : match;\n\t});\n}\nfunction normalizeDate(date) {\n\tif (date === null) return /* @__PURE__ */ new Date(NaN);\n\tif (date === void 0) return /* @__PURE__ */ new Date();\n\tif (date instanceof Date) return new Date(date);\n\tif (typeof date === \"string\" && !/Z$/i.test(date)) {\n\t\tconst d = date.match(REGEX_PARSE);\n\t\tif (d) {\n\t\t\tconst m = d[2] - 1 || 0;\n\t\t\tconst ms = (d[7] || \"0\").substring(0, 3);\n\t\t\treturn new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n\t\t}\n\t}\n\treturn new Date(date);\n}\n/**\n* Get the formatted date according to the string of tokens passed in.\n*\n* @see https://vueuse.org/useDateFormat\n* @param date - The date to format, can either be a `Date` object, a timestamp, or a string\n* @param formatStr - The combination of tokens to format the date\n* @param options - UseDateFormatOptions\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\", options = {}) {\n\treturn computed(() => formatDate(normalizeDate(toValue(date)), toValue(formatStr), options));\n}\n\n//#endregion\n//#region useIntervalFn/index.ts\n/**\n* Wrapper for `setInterval` with controls\n*\n* @see https://vueuse.org/useIntervalFn\n* @param cb\n* @param interval\n* @param options\n*/\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n\tconst { immediate = true, immediateCallback = false } = options;\n\tlet timer = null;\n\tconst isActive = shallowRef(false);\n\tfunction clean() {\n\t\tif (timer) {\n\t\t\tclearInterval(timer);\n\t\t\ttimer = null;\n\t\t}\n\t}\n\tfunction pause() {\n\t\tisActive.value = false;\n\t\tclean();\n\t}\n\tfunction resume() {\n\t\tconst intervalValue = toValue(interval);\n\t\tif (intervalValue <= 0) return;\n\t\tisActive.value = true;\n\t\tif (immediateCallback) cb();\n\t\tclean();\n\t\tif (isActive.value) timer = setInterval(cb, intervalValue);\n\t}\n\tif (immediate && isClient) resume();\n\tif (isRef(interval) || typeof interval === \"function\") tryOnScopeDispose(watch(interval, () => {\n\t\tif (isActive.value && isClient) resume();\n\t}));\n\ttryOnScopeDispose(pause);\n\treturn {\n\t\tisActive: shallowReadonly(isActive),\n\t\tpause,\n\t\tresume\n\t};\n}\n\n//#endregion\n//#region useInterval/index.ts\nfunction useInterval(interval = 1e3, options = {}) {\n\tconst { controls: exposeControls = false, immediate = true, callback } = options;\n\tconst counter = shallowRef(0);\n\tconst update = () => counter.value += 1;\n\tconst reset = () => {\n\t\tcounter.value = 0;\n\t};\n\tconst controls = useIntervalFn(callback ? () => {\n\t\tupdate();\n\t\tcallback(counter.value);\n\t} : update, interval, { immediate });\n\tif (exposeControls) return {\n\t\tcounter: shallowReadonly(counter),\n\t\treset,\n\t\t...controls\n\t};\n\telse return shallowReadonly(counter);\n}\n\n//#endregion\n//#region useLastChanged/index.ts\nfunction useLastChanged(source, options = {}) {\n\tvar _options$initialValue;\n\tconst ms = shallowRef((_options$initialValue = options.initialValue) !== null && _options$initialValue !== void 0 ? _options$initialValue : null);\n\twatch(source, () => ms.value = timestamp(), options);\n\treturn shallowReadonly(ms);\n}\n\n//#endregion\n//#region useTimeoutFn/index.ts\n/**\n* Wrapper for `setTimeout` with controls.\n*\n* @param cb\n* @param interval\n* @param options\n*/\nfunction useTimeoutFn(cb, interval, options = {}) {\n\tconst { immediate = true, immediateCallback = false } = options;\n\tconst isPending = shallowRef(false);\n\tlet timer;\n\tfunction clear() {\n\t\tif (timer) {\n\t\t\tclearTimeout(timer);\n\t\t\ttimer = void 0;\n\t\t}\n\t}\n\tfunction stop() {\n\t\tisPending.value = false;\n\t\tclear();\n\t}\n\tfunction start(...args) {\n\t\tif (immediateCallback) cb();\n\t\tclear();\n\t\tisPending.value = true;\n\t\ttimer = setTimeout(() => {\n\t\t\tisPending.value = false;\n\t\t\ttimer = void 0;\n\t\t\tcb(...args);\n\t\t}, toValue(interval));\n\t}\n\tif (immediate) {\n\t\tisPending.value = true;\n\t\tif (isClient) start();\n\t}\n\ttryOnScopeDispose(stop);\n\treturn {\n\t\tisPending: shallowReadonly(isPending),\n\t\tstart,\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region useTimeout/index.ts\nfunction useTimeout(interval = 1e3, options = {}) {\n\tconst { controls: exposeControls = false, callback } = options;\n\tconst controls = useTimeoutFn(callback !== null && callback !== void 0 ? callback : noop, interval, options);\n\tconst ready = computed(() => !controls.isPending.value);\n\tif (exposeControls) return {\n\t\tready,\n\t\t...controls\n\t};\n\telse return ready;\n}\n\n//#endregion\n//#region useToNumber/index.ts\n/**\n* Reactively convert a string ref to number.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useToNumber(value, options = {}) {\n\tconst { method = \"parseFloat\", radix, nanToZero } = options;\n\treturn computed(() => {\n\t\tlet resolved = toValue(value);\n\t\tif (typeof method === \"function\") resolved = method(resolved);\n\t\telse if (typeof resolved === \"string\") resolved = Number[method](resolved, radix);\n\t\tif (nanToZero && Number.isNaN(resolved)) resolved = 0;\n\t\treturn resolved;\n\t});\n}\n\n//#endregion\n//#region useToString/index.ts\n/**\n* Reactively convert a ref to string.\n*\n* @see https://vueuse.org/useToString\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useToString(value) {\n\treturn computed(() => `${toValue(value)}`);\n}\n\n//#endregion\n//#region useToggle/index.ts\n/**\n* A boolean ref with a toggler\n*\n* @see https://vueuse.org/useToggle\n* @param [initialValue]\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useToggle(initialValue = false, options = {}) {\n\tconst { truthyValue = true, falsyValue = false } = options;\n\tconst valueIsRef = isRef(initialValue);\n\tconst _value = shallowRef(initialValue);\n\tfunction toggle(value) {\n\t\tif (arguments.length) {\n\t\t\t_value.value = value;\n\t\t\treturn _value.value;\n\t\t} else {\n\t\t\tconst truthy = toValue(truthyValue);\n\t\t\t_value.value = _value.value === truthy ? toValue(falsyValue) : truthy;\n\t\t\treturn _value.value;\n\t\t}\n\t}\n\tif (valueIsRef) return toggle;\n\telse return [_value, toggle];\n}\n\n//#endregion\n//#region watchArray/index.ts\n/**\n* Watch for an array with additions and removals.\n*\n* @see https://vueuse.org/watchArray\n*/\nfunction watchArray(source, cb, options) {\n\tlet oldList = (options === null || options === void 0 ? void 0 : options.immediate) ? [] : [...typeof source === \"function\" ? source() : Array.isArray(source) ? source : toValue(source)];\n\treturn watch(source, (newList, _, onCleanup) => {\n\t\tconst oldListRemains = Array.from({ length: oldList.length });\n\t\tconst added = [];\n\t\tfor (const obj of newList) {\n\t\t\tlet found = false;\n\t\t\tfor (let i = 0; i < oldList.length; i++) if (!oldListRemains[i] && obj === oldList[i]) {\n\t\t\t\toldListRemains[i] = true;\n\t\t\t\tfound = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (!found) added.push(obj);\n\t\t}\n\t\tconst removed = oldList.filter((_$1, i) => !oldListRemains[i]);\n\t\tcb(newList, oldList, added, removed, onCleanup);\n\t\toldList = [...newList];\n\t}, options);\n}\n\n//#endregion\n//#region watchAtMost/index.ts\nfunction watchAtMost(source, cb, options) {\n\tconst { count,...watchOptions } = options;\n\tconst current = shallowRef(0);\n\tconst { stop, resume, pause } = watchWithFilter(source, (...args) => {\n\t\tcurrent.value += 1;\n\t\tif (current.value >= toValue(count)) nextTick(() => stop());\n\t\tcb(...args);\n\t}, watchOptions);\n\treturn {\n\t\tcount: current,\n\t\tstop,\n\t\tresume,\n\t\tpause\n\t};\n}\n\n//#endregion\n//#region watchDebounced/index.ts\nfunction watchDebounced(source, cb, options = {}) {\n\tconst { debounce = 0, maxWait = void 0,...watchOptions } = options;\n\treturn watchWithFilter(source, cb, {\n\t\t...watchOptions,\n\t\teventFilter: debounceFilter(debounce, { maxWait })\n\t});\n}\n/** @deprecated use `watchDebounced` instead */\nconst debouncedWatch = watchDebounced;\n\n//#endregion\n//#region watchDeep/index.ts\n/**\n* Shorthand for watching value with {deep: true}\n*\n* @see https://vueuse.org/watchDeep\n*/\nfunction watchDeep(source, cb, options) {\n\treturn watch(source, cb, {\n\t\t...options,\n\t\tdeep: true\n\t});\n}\n\n//#endregion\n//#region watchIgnorable/index.ts\nfunction watchIgnorable(source, cb, options = {}) {\n\tconst { eventFilter = bypassFilter,...watchOptions } = options;\n\tconst filteredCb = createFilterWrapper(eventFilter, cb);\n\tlet ignoreUpdates;\n\tlet ignorePrevAsyncUpdates;\n\tlet stop;\n\tif (watchOptions.flush === \"sync\") {\n\t\tlet ignore = false;\n\t\tignorePrevAsyncUpdates = () => {};\n\t\tignoreUpdates = (updater) => {\n\t\t\tignore = true;\n\t\t\tupdater();\n\t\t\tignore = false;\n\t\t};\n\t\tstop = watch(source, (...args) => {\n\t\t\tif (!ignore) filteredCb(...args);\n\t\t}, watchOptions);\n\t} else {\n\t\tconst disposables = [];\n\t\tlet ignoreCounter = 0;\n\t\tlet syncCounter = 0;\n\t\tignorePrevAsyncUpdates = () => {\n\t\t\tignoreCounter = syncCounter;\n\t\t};\n\t\tdisposables.push(watch(source, () => {\n\t\t\tsyncCounter++;\n\t\t}, {\n\t\t\t...watchOptions,\n\t\t\tflush: \"sync\"\n\t\t}));\n\t\tignoreUpdates = (updater) => {\n\t\t\tconst syncCounterPrev = syncCounter;\n\t\t\tupdater();\n\t\t\tignoreCounter += syncCounter - syncCounterPrev;\n\t\t};\n\t\tdisposables.push(watch(source, (...args) => {\n\t\t\tconst ignore = ignoreCounter > 0 && ignoreCounter === syncCounter;\n\t\t\tignoreCounter = 0;\n\t\t\tsyncCounter = 0;\n\t\t\tif (ignore) return;\n\t\t\tfilteredCb(...args);\n\t\t}, watchOptions));\n\t\tstop = () => {\n\t\t\tdisposables.forEach((fn) => fn());\n\t\t};\n\t}\n\treturn {\n\t\tstop,\n\t\tignoreUpdates,\n\t\tignorePrevAsyncUpdates\n\t};\n}\n/** @deprecated use `watchIgnorable` instead */\nconst ignorableWatch = watchIgnorable;\n\n//#endregion\n//#region watchImmediate/index.ts\n/**\n* Shorthand for watching value with {immediate: true}\n*\n* @see https://vueuse.org/watchImmediate\n*/\nfunction watchImmediate(source, cb, options) {\n\treturn watch(source, cb, {\n\t\t...options,\n\t\timmediate: true\n\t});\n}\n\n//#endregion\n//#region watchOnce/index.ts\n/**\n* Shorthand for watching value with { once: true }\n*\n* @see https://vueuse.org/watchOnce\n*/\nfunction watchOnce(source, cb, options) {\n\treturn watch(source, cb, {\n\t\t...options,\n\t\tonce: true\n\t});\n}\n\n//#endregion\n//#region watchThrottled/index.ts\nfunction watchThrottled(source, cb, options = {}) {\n\tconst { throttle = 0, trailing = true, leading = true,...watchOptions } = options;\n\treturn watchWithFilter(source, cb, {\n\t\t...watchOptions,\n\t\teventFilter: throttleFilter(throttle, trailing, leading)\n\t});\n}\n/** @deprecated use `watchThrottled` instead */\nconst throttledWatch = watchThrottled;\n\n//#endregion\n//#region watchTriggerable/index.ts\nfunction watchTriggerable(source, cb, options = {}) {\n\tlet cleanupFn;\n\tfunction onEffect() {\n\t\tif (!cleanupFn) return;\n\t\tconst fn = cleanupFn;\n\t\tcleanupFn = void 0;\n\t\tfn();\n\t}\n\t/** Register the function `cleanupFn` */\n\tfunction onCleanup(callback) {\n\t\tcleanupFn = callback;\n\t}\n\tconst _cb = (value, oldValue) => {\n\t\tonEffect();\n\t\treturn cb(value, oldValue, onCleanup);\n\t};\n\tconst res = watchIgnorable(source, _cb, options);\n\tconst { ignoreUpdates } = res;\n\tconst trigger = () => {\n\t\tlet res$1;\n\t\tignoreUpdates(() => {\n\t\t\tres$1 = _cb(getWatchSources(source), getOldValue(source));\n\t\t});\n\t\treturn res$1;\n\t};\n\treturn {\n\t\t...res,\n\t\ttrigger\n\t};\n}\nfunction getWatchSources(sources) {\n\tif (isReactive(sources)) return sources;\n\tif (Array.isArray(sources)) return sources.map((item) => toValue(item));\n\treturn toValue(sources);\n}\nfunction getOldValue(source) {\n\treturn Array.isArray(source) ? source.map(() => void 0) : void 0;\n}\n\n//#endregion\n//#region whenever/index.ts\n/**\n* Shorthand for watching value to be truthy\n*\n* @see https://vueuse.org/whenever\n*/\nfunction whenever(source, cb, options) {\n\tconst stop = watch(source, (v, ov, onInvalidate) => {\n\t\tif (v) {\n\t\t\tif (options === null || options === void 0 ? void 0 : options.once) nextTick(() => stop());\n\t\t\tcb(v, ov, onInvalidate);\n\t\t}\n\t}, {\n\t\t...options,\n\t\tonce: false\n\t});\n\treturn stop;\n}\n\n//#endregion\nexport { assert, autoResetRef, bypassFilter, camelize, clamp, computedEager, computedWithControl, containsProp, controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, createReactiveFn, createRef, createSharedComposable, createSingletonPromise, debounceFilter, debouncedRef, debouncedWatch, eagerComputed, extendRef, formatDate, get, getLifeCycleTarget, hasOwn, hyphenate, identity, ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, pausableFilter, pausableWatch, promiseTimeout, provideLocal, pxValue, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refManualReset, refThrottled, refWithControl, set, syncRef, syncRefs, throttleFilter, throttledRef, throttledWatch, timestamp, toArray, toReactive, toRef, toRefs, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };","import { bypassFilter, camelize, clamp, computedWithControl, containsProp, createEventHook, createFilterWrapper, createRef, createSingletonPromise, debounceFilter, hasOwn, identity, increaseWithUnit, injectLocal, isClient, isDef, isIOS, isObject, isWorker, makeDestructurable, noop, notNullish, objectEntries, objectOmit, objectPick, pausableFilter, pausableWatch, promiseTimeout, provideLocal, pxValue, syncRef, throttleFilter, timestamp, toArray, toRef, toRefs, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useDebounceFn, useIntervalFn, useThrottleFn, useTimeoutFn, watchIgnorable, watchImmediate, watchOnce, watchWithFilter, whenever } from \"@vueuse/shared\";\nimport { Fragment, TransitionGroup, computed, customRef, defineComponent, getCurrentInstance, getCurrentScope, h, hasInjectionContext, inject, isReadonly, isRef, markRaw, nextTick, onBeforeUpdate, onMounted, onUpdated, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRaw, toValue, unref, watch, watchEffect } from \"vue\";\n\nexport * from \"@vueuse/shared\"\n\n//#region computedAsync/index.ts\nfunction computedAsync(evaluationCallback, initialState, optionsOrRef) {\n\tvar _globalThis$reportErr;\n\tlet options;\n\tif (isRef(optionsOrRef)) options = { evaluating: optionsOrRef };\n\telse options = optionsOrRef || {};\n\tconst { lazy = false, flush = \"sync\", evaluating = void 0, shallow = true, onError = (_globalThis$reportErr = globalThis.reportError) !== null && _globalThis$reportErr !== void 0 ? _globalThis$reportErr : noop } = options;\n\tconst started = shallowRef(!lazy);\n\tconst current = shallow ? shallowRef(initialState) : ref(initialState);\n\tlet counter = 0;\n\twatchEffect(async (onInvalidate) => {\n\t\tif (!started.value) return;\n\t\tcounter++;\n\t\tconst counterAtBeginning = counter;\n\t\tlet hasFinished = false;\n\t\tif (evaluating) Promise.resolve().then(() => {\n\t\t\tevaluating.value = true;\n\t\t});\n\t\ttry {\n\t\t\tconst result = await evaluationCallback((cancelCallback) => {\n\t\t\t\tonInvalidate(() => {\n\t\t\t\t\tif (evaluating) evaluating.value = false;\n\t\t\t\t\tif (!hasFinished) cancelCallback();\n\t\t\t\t});\n\t\t\t});\n\t\t\tif (counterAtBeginning === counter) current.value = result;\n\t\t} catch (e) {\n\t\t\tonError(e);\n\t\t} finally {\n\t\t\tif (evaluating && counterAtBeginning === counter) evaluating.value = false;\n\t\t\thasFinished = true;\n\t\t}\n\t}, { flush });\n\tif (lazy) return computed(() => {\n\t\tstarted.value = true;\n\t\treturn current.value;\n\t});\n\telse return current;\n}\n/** @deprecated use `computedAsync` instead */\nconst asyncComputed = computedAsync;\n\n//#endregion\n//#region computedInject/index.ts\nfunction computedInject(key, options, defaultSource, treatDefaultAsFactory) {\n\tlet source = inject(key);\n\tif (defaultSource) source = inject(key, defaultSource);\n\tif (treatDefaultAsFactory) source = inject(key, defaultSource, treatDefaultAsFactory);\n\tif (typeof options === \"function\") return computed((oldValue) => options(source, oldValue));\n\telse return computed({\n\t\tget: (oldValue) => options.get(source, oldValue),\n\t\tset: options.set\n\t});\n}\n\n//#endregion\n//#region createReusableTemplate/index.ts\n/**\n* This function creates `define` and `reuse` components in pair,\n* It also allow to pass a generic to bind with type.\n*\n* @see https://vueuse.org/createReusableTemplate\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createReusableTemplate(options = {}) {\n\tconst { inheritAttrs = true } = options;\n\tconst render = shallowRef();\n\tconst define = defineComponent({ setup(_, { slots }) {\n\t\treturn () => {\n\t\t\trender.value = slots.default;\n\t\t};\n\t} });\n\tconst reuse = defineComponent({\n\t\tinheritAttrs,\n\t\tprops: options.props,\n\t\tsetup(props, { attrs, slots }) {\n\t\t\treturn () => {\n\t\t\t\tvar _render$value;\n\t\t\t\tif (!render.value && true) throw new Error(\"[VueUse] Failed to find the definition of reusable template\");\n\t\t\t\tconst vnode = (_render$value = render.value) === null || _render$value === void 0 ? void 0 : _render$value.call(render, {\n\t\t\t\t\t...options.props == null ? keysToCamelKebabCase(attrs) : props,\n\t\t\t\t\t$slots: slots\n\t\t\t\t});\n\t\t\t\treturn inheritAttrs && (vnode === null || vnode === void 0 ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;\n\t\t\t};\n\t\t}\n\t});\n\treturn makeDestructurable({\n\t\tdefine,\n\t\treuse\n\t}, [define, reuse]);\n}\nfunction keysToCamelKebabCase(obj) {\n\tconst newObj = {};\n\tfor (const key in obj) newObj[camelize(key)] = obj[key];\n\treturn newObj;\n}\n\n//#endregion\n//#region createTemplatePromise/index.ts\n/**\n* Creates a template promise component.\n*\n* @see https://vueuse.org/createTemplatePromise\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createTemplatePromise(options = {}) {\n\tlet index = 0;\n\tconst instances = ref([]);\n\tfunction create(...args) {\n\t\tconst props = shallowReactive({\n\t\t\tkey: index++,\n\t\t\targs,\n\t\t\tpromise: void 0,\n\t\t\tresolve: () => {},\n\t\t\treject: () => {},\n\t\t\tisResolving: false,\n\t\t\toptions\n\t\t});\n\t\tinstances.value.push(props);\n\t\tprops.promise = new Promise((_resolve, _reject) => {\n\t\t\tprops.resolve = (v) => {\n\t\t\t\tprops.isResolving = true;\n\t\t\t\treturn _resolve(v);\n\t\t\t};\n\t\t\tprops.reject = _reject;\n\t\t}).finally(() => {\n\t\t\tprops.promise = void 0;\n\t\t\tconst index$1 = instances.value.indexOf(props);\n\t\t\tif (index$1 !== -1) instances.value.splice(index$1, 1);\n\t\t});\n\t\treturn props.promise;\n\t}\n\tfunction start(...args) {\n\t\tif (options.singleton && instances.value.length > 0) return instances.value[0].promise;\n\t\treturn create(...args);\n\t}\n\tconst component = defineComponent((_, { slots }) => {\n\t\tconst renderList = () => instances.value.map((props) => {\n\t\t\tvar _slots$default;\n\t\t\treturn h(Fragment, { key: props.key }, (_slots$default = slots.default) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots, props));\n\t\t});\n\t\tif (options.transition) return () => h(TransitionGroup, options.transition, renderList);\n\t\treturn renderList;\n\t});\n\tcomponent.start = start;\n\treturn component;\n}\n\n//#endregion\n//#region createUnrefFn/index.ts\n/**\n* Make a plain function accepting ref and raw values as arguments.\n* Returns the same value the unconverted function returns, with proper typing.\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction createUnrefFn(fn) {\n\treturn function(...args) {\n\t\treturn fn.apply(this, args.map((i) => toValue(i)));\n\t};\n}\n\n//#endregion\n//#region _configurable.ts\nconst defaultWindow = isClient ? window : void 0;\nconst defaultDocument = isClient ? window.document : void 0;\nconst defaultNavigator = isClient ? window.navigator : void 0;\nconst defaultLocation = isClient ? window.location : void 0;\n\n//#endregion\n//#region unrefElement/index.ts\n/**\n* Get the dom element of a ref of element or Vue component instance\n*\n* @param elRef\n*/\nfunction unrefElement(elRef) {\n\tvar _$el;\n\tconst plain = toValue(elRef);\n\treturn (_$el = plain === null || plain === void 0 ? void 0 : plain.$el) !== null && _$el !== void 0 ? _$el : plain;\n}\n\n//#endregion\n//#region useEventListener/index.ts\nfunction useEventListener(...args) {\n\tconst register = (el, event, listener, options) => {\n\t\tel.addEventListener(event, listener, options);\n\t\treturn () => el.removeEventListener(event, listener, options);\n\t};\n\tconst firstParamTargets = computed(() => {\n\t\tconst test = toArray(toValue(args[0])).filter((e) => e != null);\n\t\treturn test.every((e) => typeof e !== \"string\") ? test : void 0;\n\t});\n\treturn watchImmediate(() => {\n\t\tvar _firstParamTargets$va, _firstParamTargets$va2;\n\t\treturn [\n\t\t\t(_firstParamTargets$va = (_firstParamTargets$va2 = firstParamTargets.value) === null || _firstParamTargets$va2 === void 0 ? void 0 : _firstParamTargets$va2.map((e) => unrefElement(e))) !== null && _firstParamTargets$va !== void 0 ? _firstParamTargets$va : [defaultWindow].filter((e) => e != null),\n\t\t\ttoArray(toValue(firstParamTargets.value ? args[1] : args[0])),\n\t\t\ttoArray(unref(firstParamTargets.value ? args[2] : args[1])),\n\t\t\ttoValue(firstParamTargets.value ? args[3] : args[2])\n\t\t];\n\t}, ([raw_targets, raw_events, raw_listeners, raw_options], _, onCleanup) => {\n\t\tif (!(raw_targets === null || raw_targets === void 0 ? void 0 : raw_targets.length) || !(raw_events === null || raw_events === void 0 ? void 0 : raw_events.length) || !(raw_listeners === null || raw_listeners === void 0 ? void 0 : raw_listeners.length)) return;\n\t\tconst optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;\n\t\tconst cleanups = raw_targets.flatMap((el) => raw_events.flatMap((event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))));\n\t\tonCleanup(() => {\n\t\t\tcleanups.forEach((fn) => fn());\n\t\t});\n\t}, { flush: \"post\" });\n}\n\n//#endregion\n//#region onClickOutside/index.ts\nlet _iOSWorkaround = false;\nfunction onClickOutside(target, handler, options = {}) {\n\tconst { window: window$1 = defaultWindow, ignore = [], capture = true, detectIframe = false, controls = false } = options;\n\tif (!window$1) return controls ? {\n\t\tstop: noop,\n\t\tcancel: noop,\n\t\ttrigger: noop\n\t} : noop;\n\tif (isIOS && !_iOSWorkaround) {\n\t\t_iOSWorkaround = true;\n\t\tconst listenerOptions = { passive: true };\n\t\tArray.from(window$1.document.body.children).forEach((el) => el.addEventListener(\"click\", noop, listenerOptions));\n\t\twindow$1.document.documentElement.addEventListener(\"click\", noop, listenerOptions);\n\t}\n\tlet shouldListen = true;\n\tconst shouldIgnore = (event) => {\n\t\treturn toValue(ignore).some((target$1) => {\n\t\t\tif (typeof target$1 === \"string\") return Array.from(window$1.document.querySelectorAll(target$1)).some((el) => el === event.target || event.composedPath().includes(el));\n\t\t\telse {\n\t\t\t\tconst el = unrefElement(target$1);\n\t\t\t\treturn el && (event.target === el || event.composedPath().includes(el));\n\t\t\t}\n\t\t});\n\t};\n\t/**\n\t* Determines if the given target has multiple root elements.\n\t* Referenced from: https://github.com/vuejs/test-utils/blob/ccb460be55f9f6be05ab708500a41ec8adf6f4bc/src/vue-wrapper.ts#L21\n\t*/\n\tfunction hasMultipleRoots(target$1) {\n\t\tconst vm = toValue(target$1);\n\t\treturn vm && vm.$.subTree.shapeFlag === 16;\n\t}\n\tfunction checkMultipleRoots(target$1, event) {\n\t\tconst vm = toValue(target$1);\n\t\tconst children = vm.$.subTree && vm.$.subTree.children;\n\t\tif (children == null || !Array.isArray(children)) return false;\n\t\treturn children.some((child) => child.el === event.target || event.composedPath().includes(child.el));\n\t}\n\tconst listener = (event) => {\n\t\tconst el = unrefElement(target);\n\t\tif (event.target == null) return;\n\t\tif (!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event)) return;\n\t\tif (!el || el === event.target || event.composedPath().includes(el)) return;\n\t\tif (\"detail\" in event && event.detail === 0) shouldListen = !shouldIgnore(event);\n\t\tif (!shouldListen) {\n\t\t\tshouldListen = true;\n\t\t\treturn;\n\t\t}\n\t\thandler(event);\n\t};\n\tlet isProcessingClick = false;\n\tconst cleanup = [\n\t\tuseEventListener(window$1, \"click\", (event) => {\n\t\t\tif (!isProcessingClick) {\n\t\t\t\tisProcessingClick = true;\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tisProcessingClick = false;\n\t\t\t\t}, 0);\n\t\t\t\tlistener(event);\n\t\t\t}\n\t\t}, {\n\t\t\tpassive: true,\n\t\t\tcapture\n\t\t}),\n\t\tuseEventListener(window$1, \"pointerdown\", (e) => {\n\t\t\tconst el = unrefElement(target);\n\t\t\tshouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));\n\t\t}, { passive: true }),\n\t\tdetectIframe && useEventListener(window$1, \"blur\", (event) => {\n\t\t\tsetTimeout(() => {\n\t\t\t\tvar _window$document$acti;\n\t\t\t\tconst el = unrefElement(target);\n\t\t\t\tif (((_window$document$acti = window$1.document.activeElement) === null || _window$document$acti === void 0 ? void 0 : _window$document$acti.tagName) === \"IFRAME\" && !(el === null || el === void 0 ? void 0 : el.contains(window$1.document.activeElement))) handler(event);\n\t\t\t}, 0);\n\t\t}, { passive: true })\n\t].filter(Boolean);\n\tconst stop = () => cleanup.forEach((fn) => fn());\n\tif (controls) return {\n\t\tstop,\n\t\tcancel: () => {\n\t\t\tshouldListen = false;\n\t\t},\n\t\ttrigger: (event) => {\n\t\t\tshouldListen = true;\n\t\t\tlistener(event);\n\t\t\tshouldListen = false;\n\t\t}\n\t};\n\treturn stop;\n}\n\n//#endregion\n//#region useMounted/index.ts\n/**\n* Mounted state in ref.\n*\n* @see https://vueuse.org/useMounted\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useMounted() {\n\tconst isMounted = shallowRef(false);\n\tconst instance = getCurrentInstance();\n\tif (instance) onMounted(() => {\n\t\tisMounted.value = true;\n\t}, instance);\n\treturn isMounted;\n}\n\n//#endregion\n//#region useSupported/index.ts\n/* @__NO_SIDE_EFFECTS__ */\nfunction useSupported(callback) {\n\tconst isMounted = useMounted();\n\treturn computed(() => {\n\t\tisMounted.value;\n\t\treturn Boolean(callback());\n\t});\n}\n\n//#endregion\n//#region useMutationObserver/index.ts\n/**\n* Watch for changes being made to the DOM tree.\n*\n* @see https://vueuse.org/useMutationObserver\n* @see https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver MutationObserver MDN\n* @param target\n* @param callback\n* @param options\n*/\nfunction useMutationObserver(target, callback, options = {}) {\n\tconst { window: window$1 = defaultWindow,...mutationOptions } = options;\n\tlet observer;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"MutationObserver\" in window$1);\n\tconst cleanup = () => {\n\t\tif (observer) {\n\t\t\tobserver.disconnect();\n\t\t\tobserver = void 0;\n\t\t}\n\t};\n\tconst stopWatch = watch(computed(() => {\n\t\tconst items = toArray(toValue(target)).map(unrefElement).filter(notNullish);\n\t\treturn new Set(items);\n\t}), (newTargets) => {\n\t\tcleanup();\n\t\tif (isSupported.value && newTargets.size) {\n\t\t\tobserver = new MutationObserver(callback);\n\t\t\tnewTargets.forEach((el) => observer.observe(el, mutationOptions));\n\t\t}\n\t}, {\n\t\timmediate: true,\n\t\tflush: \"post\"\n\t});\n\tconst takeRecords = () => {\n\t\treturn observer === null || observer === void 0 ? void 0 : observer.takeRecords();\n\t};\n\tconst stop = () => {\n\t\tstopWatch();\n\t\tcleanup();\n\t};\n\ttryOnScopeDispose(stop);\n\treturn {\n\t\tisSupported,\n\t\tstop,\n\t\ttakeRecords\n\t};\n}\n\n//#endregion\n//#region onElementRemoval/index.ts\n/**\n* Fires when the element or any element containing it is removed.\n*\n* @param target\n* @param callback\n* @param options\n*/\nfunction onElementRemoval(target, callback, options = {}) {\n\tconst { window: window$1 = defaultWindow, document: document$1 = window$1 === null || window$1 === void 0 ? void 0 : window$1.document, flush = \"sync\" } = options;\n\tif (!window$1 || !document$1) return noop;\n\tlet stopFn;\n\tconst cleanupAndUpdate = (fn) => {\n\t\tstopFn === null || stopFn === void 0 || stopFn();\n\t\tstopFn = fn;\n\t};\n\tconst stopWatch = watchEffect(() => {\n\t\tconst el = unrefElement(target);\n\t\tif (el) {\n\t\t\tconst { stop } = useMutationObserver(document$1, (mutationsList) => {\n\t\t\t\tif (mutationsList.map((mutation) => [...mutation.removedNodes]).flat().some((node) => node === el || node.contains(el))) callback(mutationsList);\n\t\t\t}, {\n\t\t\t\twindow: window$1,\n\t\t\t\tchildList: true,\n\t\t\t\tsubtree: true\n\t\t\t});\n\t\t\tcleanupAndUpdate(stop);\n\t\t}\n\t}, { flush });\n\tconst stopHandle = () => {\n\t\tstopWatch();\n\t\tcleanupAndUpdate();\n\t};\n\ttryOnScopeDispose(stopHandle);\n\treturn stopHandle;\n}\n\n//#endregion\n//#region onKeyStroke/index.ts\nfunction createKeyPredicate(keyFilter) {\n\tif (typeof keyFilter === \"function\") return keyFilter;\n\telse if (typeof keyFilter === \"string\") return (event) => event.key === keyFilter;\n\telse if (Array.isArray(keyFilter)) return (event) => keyFilter.includes(event.key);\n\treturn () => true;\n}\nfunction onKeyStroke(...args) {\n\tlet key;\n\tlet handler;\n\tlet options = {};\n\tif (args.length === 3) {\n\t\tkey = args[0];\n\t\thandler = args[1];\n\t\toptions = args[2];\n\t} else if (args.length === 2) if (typeof args[1] === \"object\") {\n\t\tkey = true;\n\t\thandler = args[0];\n\t\toptions = args[1];\n\t} else {\n\t\tkey = args[0];\n\t\thandler = args[1];\n\t}\n\telse {\n\t\tkey = true;\n\t\thandler = args[0];\n\t}\n\tconst { target = defaultWindow, eventName = \"keydown\", passive = false, dedupe = false } = options;\n\tconst predicate = createKeyPredicate(key);\n\tconst listener = (e) => {\n\t\tif (e.repeat && toValue(dedupe)) return;\n\t\tif (predicate(e)) handler(e);\n\t};\n\treturn useEventListener(target, eventName, listener, passive);\n}\n/**\n* Listen to the keydown event of the given key.\n*\n* @see https://vueuse.org/onKeyStroke\n* @param key\n* @param handler\n* @param options\n*/\nfunction onKeyDown(key, handler, options = {}) {\n\treturn onKeyStroke(key, handler, {\n\t\t...options,\n\t\teventName: \"keydown\"\n\t});\n}\n/**\n* Listen to the keypress event of the given key.\n*\n* @see https://vueuse.org/onKeyStroke\n* @param key\n* @param handler\n* @param options\n*/\nfunction onKeyPressed(key, handler, options = {}) {\n\treturn onKeyStroke(key, handler, {\n\t\t...options,\n\t\teventName: \"keypress\"\n\t});\n}\n/**\n* Listen to the keyup event of the given key.\n*\n* @see https://vueuse.org/onKeyStroke\n* @param key\n* @param handler\n* @param options\n*/\nfunction onKeyUp(key, handler, options = {}) {\n\treturn onKeyStroke(key, handler, {\n\t\t...options,\n\t\teventName: \"keyup\"\n\t});\n}\n\n//#endregion\n//#region onLongPress/index.ts\nconst DEFAULT_DELAY = 500;\nconst DEFAULT_THRESHOLD = 10;\nfunction onLongPress(target, handler, options) {\n\tvar _options$modifiers10, _options$modifiers11;\n\tconst elementRef = computed(() => unrefElement(target));\n\tlet timeout;\n\tlet posStart;\n\tlet startTimestamp;\n\tlet hasLongPressed = false;\n\tfunction clear() {\n\t\tif (timeout) {\n\t\t\tclearTimeout(timeout);\n\t\t\ttimeout = void 0;\n\t\t}\n\t\tposStart = void 0;\n\t\tstartTimestamp = void 0;\n\t\thasLongPressed = false;\n\t}\n\tfunction getDelay(ev) {\n\t\tconst delay = options === null || options === void 0 ? void 0 : options.delay;\n\t\tif (typeof delay === \"function\") return delay(ev);\n\t\treturn delay !== null && delay !== void 0 ? delay : DEFAULT_DELAY;\n\t}\n\tfunction onRelease(ev) {\n\t\tvar _options$modifiers, _options$modifiers2, _options$modifiers3;\n\t\tconst [_startTimestamp, _posStart, _hasLongPressed] = [\n\t\t\tstartTimestamp,\n\t\t\tposStart,\n\t\t\thasLongPressed\n\t\t];\n\t\tclear();\n\t\tif (!(options === null || options === void 0 ? void 0 : options.onMouseUp) || !_posStart || !_startTimestamp) return;\n\t\tif ((options === null || options === void 0 || (_options$modifiers = options.modifiers) === null || _options$modifiers === void 0 ? void 0 : _options$modifiers.self) && ev.target !== elementRef.value) return;\n\t\tif (options === null || options === void 0 || (_options$modifiers2 = options.modifiers) === null || _options$modifiers2 === void 0 ? void 0 : _options$modifiers2.prevent) ev.preventDefault();\n\t\tif (options === null || options === void 0 || (_options$modifiers3 = options.modifiers) === null || _options$modifiers3 === void 0 ? void 0 : _options$modifiers3.stop) ev.stopPropagation();\n\t\tconst dx = ev.x - _posStart.x;\n\t\tconst dy = ev.y - _posStart.y;\n\t\tconst distance = Math.sqrt(dx * dx + dy * dy);\n\t\toptions.onMouseUp(ev.timeStamp - _startTimestamp, distance, _hasLongPressed);\n\t}\n\tfunction onDown(ev) {\n\t\tvar _options$modifiers4, _options$modifiers5, _options$modifiers6;\n\t\tif ((options === null || options === void 0 || (_options$modifiers4 = options.modifiers) === null || _options$modifiers4 === void 0 ? void 0 : _options$modifiers4.self) && ev.target !== elementRef.value) return;\n\t\tclear();\n\t\tif (options === null || options === void 0 || (_options$modifiers5 = options.modifiers) === null || _options$modifiers5 === void 0 ? void 0 : _options$modifiers5.prevent) ev.preventDefault();\n\t\tif (options === null || options === void 0 || (_options$modifiers6 = options.modifiers) === null || _options$modifiers6 === void 0 ? void 0 : _options$modifiers6.stop) ev.stopPropagation();\n\t\tposStart = {\n\t\t\tx: ev.x,\n\t\t\ty: ev.y\n\t\t};\n\t\tstartTimestamp = ev.timeStamp;\n\t\ttimeout = setTimeout(() => {\n\t\t\thasLongPressed = true;\n\t\t\thandler(ev);\n\t\t}, getDelay(ev));\n\t}\n\tfunction onMove(ev) {\n\t\tvar _options$modifiers7, _options$modifiers8, _options$modifiers9, _options$distanceThre;\n\t\tif ((options === null || options === void 0 || (_options$modifiers7 = options.modifiers) === null || _options$modifiers7 === void 0 ? void 0 : _options$modifiers7.self) && ev.target !== elementRef.value) return;\n\t\tif (!posStart || (options === null || options === void 0 ? void 0 : options.distanceThreshold) === false) return;\n\t\tif (options === null || options === void 0 || (_options$modifiers8 = options.modifiers) === null || _options$modifiers8 === void 0 ? void 0 : _options$modifiers8.prevent) ev.preventDefault();\n\t\tif (options === null || options === void 0 || (_options$modifiers9 = options.modifiers) === null || _options$modifiers9 === void 0 ? void 0 : _options$modifiers9.stop) ev.stopPropagation();\n\t\tconst dx = ev.x - posStart.x;\n\t\tconst dy = ev.y - posStart.y;\n\t\tif (Math.sqrt(dx * dx + dy * dy) >= ((_options$distanceThre = options === null || options === void 0 ? void 0 : options.distanceThreshold) !== null && _options$distanceThre !== void 0 ? _options$distanceThre : DEFAULT_THRESHOLD)) clear();\n\t}\n\tconst listenerOptions = {\n\t\tcapture: options === null || options === void 0 || (_options$modifiers10 = options.modifiers) === null || _options$modifiers10 === void 0 ? void 0 : _options$modifiers10.capture,\n\t\tonce: options === null || options === void 0 || (_options$modifiers11 = options.modifiers) === null || _options$modifiers11 === void 0 ? void 0 : _options$modifiers11.once\n\t};\n\tconst cleanup = [\n\t\tuseEventListener(elementRef, \"pointerdown\", onDown, listenerOptions),\n\t\tuseEventListener(elementRef, \"pointermove\", onMove, listenerOptions),\n\t\tuseEventListener(elementRef, [\"pointerup\", \"pointerleave\"], onRelease, listenerOptions)\n\t];\n\tconst stop = () => cleanup.forEach((fn) => fn());\n\treturn stop;\n}\n\n//#endregion\n//#region onStartTyping/index.ts\nfunction isFocusedElementEditable() {\n\tconst { activeElement, body } = document;\n\tif (!activeElement) return false;\n\tif (activeElement === body) return false;\n\tswitch (activeElement.tagName) {\n\t\tcase \"INPUT\":\n\t\tcase \"TEXTAREA\": return true;\n\t}\n\treturn activeElement.hasAttribute(\"contenteditable\");\n}\nfunction isTypedCharValid({ keyCode, metaKey, ctrlKey, altKey }) {\n\tif (metaKey || ctrlKey || altKey) return false;\n\tif (keyCode >= 48 && keyCode <= 57 || keyCode >= 96 && keyCode <= 105) return true;\n\tif (keyCode >= 65 && keyCode <= 90) return true;\n\treturn false;\n}\n/**\n* Fires when users start typing on non-editable elements.\n*\n* @see https://vueuse.org/onStartTyping\n* @param callback\n* @param options\n*/\nfunction onStartTyping(callback, options = {}) {\n\tconst { document: document$1 = defaultDocument } = options;\n\tconst keydown = (event) => {\n\t\tif (!isFocusedElementEditable() && isTypedCharValid(event)) callback(event);\n\t};\n\tif (document$1) useEventListener(document$1, \"keydown\", keydown, { passive: true });\n}\n\n//#endregion\n//#region templateRef/index.ts\n/**\n* @deprecated Use Vue's built-in `useTemplateRef` instead.\n*\n* Shorthand for binding ref to template element.\n*\n* @see https://vueuse.org/templateRef\n* @param key\n* @param initialValue\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction templateRef(key, initialValue = null) {\n\tconst instance = getCurrentInstance();\n\tlet _trigger = () => {};\n\tconst element = customRef((track, trigger) => {\n\t\t_trigger = trigger;\n\t\treturn {\n\t\t\tget() {\n\t\t\t\tvar _instance$proxy$$refs, _instance$proxy;\n\t\t\t\ttrack();\n\t\t\t\treturn (_instance$proxy$$refs = instance === null || instance === void 0 || (_instance$proxy = instance.proxy) === null || _instance$proxy === void 0 ? void 0 : _instance$proxy.$refs[key]) !== null && _instance$proxy$$refs !== void 0 ? _instance$proxy$$refs : initialValue;\n\t\t\t},\n\t\t\tset() {}\n\t\t};\n\t});\n\ttryOnMounted(_trigger);\n\tonUpdated(_trigger);\n\treturn element;\n}\n\n//#endregion\n//#region useActiveElement/index.ts\n/**\n* Reactive `document.activeElement`\n*\n* @see https://vueuse.org/useActiveElement\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useActiveElement(options = {}) {\n\tvar _options$document;\n\tconst { window: window$1 = defaultWindow, deep = true, triggerOnRemoval = false } = options;\n\tconst document$1 = (_options$document = options.document) !== null && _options$document !== void 0 ? _options$document : window$1 === null || window$1 === void 0 ? void 0 : window$1.document;\n\tconst getDeepActiveElement = () => {\n\t\tlet element = document$1 === null || document$1 === void 0 ? void 0 : document$1.activeElement;\n\t\tif (deep) {\n\t\t\tvar _element$shadowRoot;\n\t\t\twhile (element === null || element === void 0 ? void 0 : element.shadowRoot) element = element === null || element === void 0 || (_element$shadowRoot = element.shadowRoot) === null || _element$shadowRoot === void 0 ? void 0 : _element$shadowRoot.activeElement;\n\t\t}\n\t\treturn element;\n\t};\n\tconst activeElement = shallowRef();\n\tconst trigger = () => {\n\t\tactiveElement.value = getDeepActiveElement();\n\t};\n\tif (window$1) {\n\t\tconst listenerOptions = {\n\t\t\tcapture: true,\n\t\t\tpassive: true\n\t\t};\n\t\tuseEventListener(window$1, \"blur\", (event) => {\n\t\t\tif (event.relatedTarget !== null) return;\n\t\t\ttrigger();\n\t\t}, listenerOptions);\n\t\tuseEventListener(window$1, \"focus\", trigger, listenerOptions);\n\t}\n\tif (triggerOnRemoval) onElementRemoval(activeElement, trigger, { document: document$1 });\n\ttrigger();\n\treturn activeElement;\n}\n\n//#endregion\n//#region useRafFn/index.ts\n/**\n* Call function on every `requestAnimationFrame`. With controls of pausing and resuming.\n*\n* @see https://vueuse.org/useRafFn\n* @param fn\n* @param options\n*/\nfunction useRafFn(fn, options = {}) {\n\tconst { immediate = true, fpsLimit = void 0, window: window$1 = defaultWindow, once = false } = options;\n\tconst isActive = shallowRef(false);\n\tconst intervalLimit = computed(() => {\n\t\treturn fpsLimit ? 1e3 / toValue(fpsLimit) : null;\n\t});\n\tlet previousFrameTimestamp = 0;\n\tlet rafId = null;\n\tfunction loop(timestamp$1) {\n\t\tif (!isActive.value || !window$1) return;\n\t\tif (!previousFrameTimestamp) previousFrameTimestamp = timestamp$1;\n\t\tconst delta = timestamp$1 - previousFrameTimestamp;\n\t\tif (intervalLimit.value && delta < intervalLimit.value) {\n\t\t\trafId = window$1.requestAnimationFrame(loop);\n\t\t\treturn;\n\t\t}\n\t\tpreviousFrameTimestamp = timestamp$1;\n\t\tfn({\n\t\t\tdelta,\n\t\t\ttimestamp: timestamp$1\n\t\t});\n\t\tif (once) {\n\t\t\tisActive.value = false;\n\t\t\trafId = null;\n\t\t\treturn;\n\t\t}\n\t\trafId = window$1.requestAnimationFrame(loop);\n\t}\n\tfunction resume() {\n\t\tif (!isActive.value && window$1) {\n\t\t\tisActive.value = true;\n\t\t\tpreviousFrameTimestamp = 0;\n\t\t\trafId = window$1.requestAnimationFrame(loop);\n\t\t}\n\t}\n\tfunction pause() {\n\t\tisActive.value = false;\n\t\tif (rafId != null && window$1) {\n\t\t\twindow$1.cancelAnimationFrame(rafId);\n\t\t\trafId = null;\n\t\t}\n\t}\n\tif (immediate) resume();\n\ttryOnScopeDispose(pause);\n\treturn {\n\t\tisActive: readonly(isActive),\n\t\tpause,\n\t\tresume\n\t};\n}\n\n//#endregion\n//#region useAnimate/index.ts\n/**\n* Reactive Web Animations API\n*\n* @see https://vueuse.org/useAnimate\n* @param target\n* @param keyframes\n* @param options\n*/\nfunction useAnimate(target, keyframes, options) {\n\tlet config;\n\tlet animateOptions;\n\tif (isObject(options)) {\n\t\tconfig = options;\n\t\tanimateOptions = objectOmit(options, [\n\t\t\t\"window\",\n\t\t\t\"immediate\",\n\t\t\t\"commitStyles\",\n\t\t\t\"persist\",\n\t\t\t\"onReady\",\n\t\t\t\"onError\"\n\t\t]);\n\t} else {\n\t\tconfig = { duration: options };\n\t\tanimateOptions = options;\n\t}\n\tconst { window: window$1 = defaultWindow, immediate = true, commitStyles, persist, playbackRate: _playbackRate = 1, onReady, onError = (e) => {\n\t\tconsole.error(e);\n\t} } = config;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && HTMLElement && \"animate\" in HTMLElement.prototype);\n\tconst animate = shallowRef(void 0);\n\tconst store = shallowReactive({\n\t\tstartTime: null,\n\t\tcurrentTime: null,\n\t\ttimeline: null,\n\t\tplaybackRate: _playbackRate,\n\t\tpending: false,\n\t\tplayState: immediate ? \"idle\" : \"paused\",\n\t\treplaceState: \"active\"\n\t});\n\tconst pending = computed(() => store.pending);\n\tconst playState = computed(() => store.playState);\n\tconst replaceState = computed(() => store.replaceState);\n\tconst startTime = computed({\n\t\tget() {\n\t\t\treturn store.startTime;\n\t\t},\n\t\tset(value) {\n\t\t\tstore.startTime = value;\n\t\t\tif (animate.value) animate.value.startTime = value;\n\t\t}\n\t});\n\tconst currentTime = computed({\n\t\tget() {\n\t\t\treturn store.currentTime;\n\t\t},\n\t\tset(value) {\n\t\t\tstore.currentTime = value;\n\t\t\tif (animate.value) {\n\t\t\t\tanimate.value.currentTime = value;\n\t\t\t\tsyncResume();\n\t\t\t}\n\t\t}\n\t});\n\tconst timeline = computed({\n\t\tget() {\n\t\t\treturn store.timeline;\n\t\t},\n\t\tset(value) {\n\t\t\tstore.timeline = value;\n\t\t\tif (animate.value) animate.value.timeline = value;\n\t\t}\n\t});\n\tconst playbackRate = computed({\n\t\tget() {\n\t\t\treturn store.playbackRate;\n\t\t},\n\t\tset(value) {\n\t\t\tstore.playbackRate = value;\n\t\t\tif (animate.value) animate.value.playbackRate = value;\n\t\t}\n\t});\n\tconst play = () => {\n\t\tif (animate.value) try {\n\t\t\tanimate.value.play();\n\t\t\tsyncResume();\n\t\t} catch (e) {\n\t\t\tsyncPause();\n\t\t\tonError(e);\n\t\t}\n\t\telse update();\n\t};\n\tconst pause = () => {\n\t\ttry {\n\t\t\tvar _animate$value;\n\t\t\t(_animate$value = animate.value) === null || _animate$value === void 0 || _animate$value.pause();\n\t\t\tsyncPause();\n\t\t} catch (e) {\n\t\t\tonError(e);\n\t\t}\n\t};\n\tconst reverse = () => {\n\t\tif (!animate.value) update();\n\t\ttry {\n\t\t\tvar _animate$value2;\n\t\t\t(_animate$value2 = animate.value) === null || _animate$value2 === void 0 || _animate$value2.reverse();\n\t\t\tsyncResume();\n\t\t} catch (e) {\n\t\t\tsyncPause();\n\t\t\tonError(e);\n\t\t}\n\t};\n\tconst finish = () => {\n\t\ttry {\n\t\t\tvar _animate$value3;\n\t\t\t(_animate$value3 = animate.value) === null || _animate$value3 === void 0 || _animate$value3.finish();\n\t\t\tsyncPause();\n\t\t} catch (e) {\n\t\t\tonError(e);\n\t\t}\n\t};\n\tconst cancel = () => {\n\t\ttry {\n\t\t\tvar _animate$value4;\n\t\t\t(_animate$value4 = animate.value) === null || _animate$value4 === void 0 || _animate$value4.cancel();\n\t\t\tsyncPause();\n\t\t} catch (e) {\n\t\t\tonError(e);\n\t\t}\n\t};\n\twatch(() => unrefElement(target), (el) => {\n\t\tif (el) update(true);\n\t\telse animate.value = void 0;\n\t});\n\twatch(() => keyframes, (value) => {\n\t\tif (animate.value) {\n\t\t\tupdate();\n\t\t\tconst targetEl = unrefElement(target);\n\t\t\tif (targetEl) animate.value.effect = new KeyframeEffect(targetEl, toValue(value), animateOptions);\n\t\t}\n\t}, { deep: true });\n\ttryOnMounted(() => update(true), false);\n\ttryOnScopeDispose(cancel);\n\tfunction update(init) {\n\t\tconst el = unrefElement(target);\n\t\tif (!isSupported.value || !el) return;\n\t\tif (!animate.value) animate.value = el.animate(toValue(keyframes), animateOptions);\n\t\tif (persist) animate.value.persist();\n\t\tif (_playbackRate !== 1) animate.value.playbackRate = _playbackRate;\n\t\tif (init && !immediate) animate.value.pause();\n\t\telse syncResume();\n\t\tonReady === null || onReady === void 0 || onReady(animate.value);\n\t}\n\tconst listenerOptions = { passive: true };\n\tuseEventListener(animate, [\n\t\t\"cancel\",\n\t\t\"finish\",\n\t\t\"remove\"\n\t], syncPause, listenerOptions);\n\tuseEventListener(animate, \"finish\", () => {\n\t\tvar _animate$value5;\n\t\tif (commitStyles) (_animate$value5 = animate.value) === null || _animate$value5 === void 0 || _animate$value5.commitStyles();\n\t}, listenerOptions);\n\tconst { resume: resumeRef, pause: pauseRef } = useRafFn(() => {\n\t\tif (!animate.value) return;\n\t\tstore.pending = animate.value.pending;\n\t\tstore.playState = animate.value.playState;\n\t\tstore.replaceState = animate.value.replaceState;\n\t\tstore.startTime = animate.value.startTime;\n\t\tstore.currentTime = animate.value.currentTime;\n\t\tstore.timeline = animate.value.timeline;\n\t\tstore.playbackRate = animate.value.playbackRate;\n\t}, { immediate: false });\n\tfunction syncResume() {\n\t\tif (isSupported.value) resumeRef();\n\t}\n\tfunction syncPause() {\n\t\tif (isSupported.value && window$1) window$1.requestAnimationFrame(pauseRef);\n\t}\n\treturn {\n\t\tisSupported,\n\t\tanimate,\n\t\tplay,\n\t\tpause,\n\t\treverse,\n\t\tfinish,\n\t\tcancel,\n\t\tpending,\n\t\tplayState,\n\t\treplaceState,\n\t\tstartTime,\n\t\tcurrentTime,\n\t\ttimeline,\n\t\tplaybackRate\n\t};\n}\n\n//#endregion\n//#region useAsyncQueue/index.ts\n/**\n* Asynchronous queue task controller.\n*\n* @see https://vueuse.org/useAsyncQueue\n* @param tasks\n* @param options\n*/\nfunction useAsyncQueue(tasks, options) {\n\tconst { interrupt = true, onError = noop, onFinished = noop, signal } = options || {};\n\tconst promiseState = {\n\t\taborted: \"aborted\",\n\t\tfulfilled: \"fulfilled\",\n\t\tpending: \"pending\",\n\t\trejected: \"rejected\"\n\t};\n\tconst result = reactive(Array.from(Array.from({ length: tasks.length }), () => ({\n\t\tstate: promiseState.pending,\n\t\tdata: null\n\t})));\n\tconst activeIndex = shallowRef(-1);\n\tif (!tasks || tasks.length === 0) {\n\t\tonFinished();\n\t\treturn {\n\t\t\tactiveIndex,\n\t\t\tresult\n\t\t};\n\t}\n\tfunction updateResult(state, res) {\n\t\tactiveIndex.value++;\n\t\tresult[activeIndex.value].data = res;\n\t\tresult[activeIndex.value].state = state;\n\t}\n\ttasks.reduce((prev, curr) => {\n\t\treturn prev.then((prevRes) => {\n\t\t\tvar _result$activeIndex$v;\n\t\t\tif (signal === null || signal === void 0 ? void 0 : signal.aborted) {\n\t\t\t\tupdateResult(promiseState.aborted, /* @__PURE__ */ new Error(\"aborted\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (((_result$activeIndex$v = result[activeIndex.value]) === null || _result$activeIndex$v === void 0 ? void 0 : _result$activeIndex$v.state) === promiseState.rejected && interrupt) {\n\t\t\t\tonFinished();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst done = curr(prevRes).then((currentRes) => {\n\t\t\t\tupdateResult(promiseState.fulfilled, currentRes);\n\t\t\t\tif (activeIndex.value === tasks.length - 1) onFinished();\n\t\t\t\treturn currentRes;\n\t\t\t});\n\t\t\tif (!signal) return done;\n\t\t\treturn Promise.race([done, whenAborted(signal)]);\n\t\t}).catch((e) => {\n\t\t\tif (signal === null || signal === void 0 ? void 0 : signal.aborted) {\n\t\t\t\tupdateResult(promiseState.aborted, e);\n\t\t\t\treturn e;\n\t\t\t}\n\t\t\tupdateResult(promiseState.rejected, e);\n\t\t\tonError();\n\t\t\tif (activeIndex.value === tasks.length - 1) onFinished();\n\t\t\treturn e;\n\t\t});\n\t}, Promise.resolve());\n\treturn {\n\t\tactiveIndex,\n\t\tresult\n\t};\n}\nfunction whenAborted(signal) {\n\treturn new Promise((resolve, reject) => {\n\t\tconst error = /* @__PURE__ */ new Error(\"aborted\");\n\t\tif (signal.aborted) reject(error);\n\t\telse signal.addEventListener(\"abort\", () => reject(error), { once: true });\n\t});\n}\n\n//#endregion\n//#region useAsyncState/index.ts\n/**\n* Reactive async state. Will not block your setup function and will trigger changes once\n* the promise is ready.\n*\n* @see https://vueuse.org/useAsyncState\n* @param promise The promise / async function to be resolved\n* @param initialState The initial state, used until the first evaluation finishes\n* @param options\n*/\nfunction useAsyncState(promise, initialState, options) {\n\tvar _globalThis$reportErr;\n\tconst { immediate = true, delay = 0, onError = (_globalThis$reportErr = globalThis.reportError) !== null && _globalThis$reportErr !== void 0 ? _globalThis$reportErr : noop, onSuccess = noop, resetOnExecute = true, shallow = true, throwError } = options !== null && options !== void 0 ? options : {};\n\tconst state = shallow ? shallowRef(initialState) : ref(initialState);\n\tconst isReady = shallowRef(false);\n\tconst isLoading = shallowRef(false);\n\tconst error = shallowRef(void 0);\n\tlet executionsCount = 0;\n\tasync function execute(delay$1 = 0, ...args) {\n\t\tconst executionId = executionsCount += 1;\n\t\tif (resetOnExecute) state.value = toValue(initialState);\n\t\terror.value = void 0;\n\t\tisReady.value = false;\n\t\tisLoading.value = true;\n\t\tif (delay$1 > 0) await promiseTimeout(delay$1);\n\t\tconst _promise = typeof promise === \"function\" ? promise(...args) : promise;\n\t\ttry {\n\t\t\tconst data = await _promise;\n\t\t\tif (executionId === executionsCount) {\n\t\t\t\tstate.value = data;\n\t\t\t\tisReady.value = true;\n\t\t\t}\n\t\t\tonSuccess(data);\n\t\t} catch (e) {\n\t\t\tif (executionId === executionsCount) error.value = e;\n\t\t\tonError(e);\n\t\t\tif (throwError) throw e;\n\t\t} finally {\n\t\t\tif (executionId === executionsCount) isLoading.value = false;\n\t\t}\n\t\treturn state.value;\n\t}\n\tif (immediate) execute(delay);\n\tconst shell = {\n\t\tstate,\n\t\tisReady,\n\t\tisLoading,\n\t\terror,\n\t\texecute,\n\t\texecuteImmediate: (...args) => execute(0, ...args)\n\t};\n\tfunction waitUntilIsLoaded() {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tuntil(isLoading).toBe(false).then(() => resolve(shell)).catch(reject);\n\t\t});\n\t}\n\treturn {\n\t\t...shell,\n\t\tthen(onFulfilled, onRejected) {\n\t\t\treturn waitUntilIsLoaded().then(onFulfilled, onRejected);\n\t\t}\n\t};\n}\n\n//#endregion\n//#region useBase64/serialization.ts\nconst defaults = {\n\tarray: (v) => JSON.stringify(v),\n\tobject: (v) => JSON.stringify(v),\n\tset: (v) => JSON.stringify(Array.from(v)),\n\tmap: (v) => JSON.stringify(Object.fromEntries(v)),\n\tnull: () => \"\"\n};\nfunction getDefaultSerialization(target) {\n\tif (!target) return defaults.null;\n\tif (target instanceof Map) return defaults.map;\n\telse if (target instanceof Set) return defaults.set;\n\telse if (Array.isArray(target)) return defaults.array;\n\telse return defaults.object;\n}\n\n//#endregion\n//#region useBase64/index.ts\nfunction useBase64(target, options) {\n\tconst base64 = shallowRef(\"\");\n\tconst promise = shallowRef();\n\tfunction execute() {\n\t\tif (!isClient) return;\n\t\tpromise.value = new Promise((resolve, reject) => {\n\t\t\ttry {\n\t\t\t\tconst _target = toValue(target);\n\t\t\t\tif (_target == null) resolve(\"\");\n\t\t\t\telse if (typeof _target === \"string\") resolve(blobToBase64(new Blob([_target], { type: \"text/plain\" })));\n\t\t\t\telse if (_target instanceof Blob) resolve(blobToBase64(_target));\n\t\t\t\telse if (_target instanceof ArrayBuffer) resolve(window.btoa(String.fromCharCode(...new Uint8Array(_target))));\n\t\t\t\telse if (_target instanceof HTMLCanvasElement) resolve(_target.toDataURL(options === null || options === void 0 ? void 0 : options.type, options === null || options === void 0 ? void 0 : options.quality));\n\t\t\t\telse if (_target instanceof HTMLImageElement) {\n\t\t\t\t\tconst img = _target.cloneNode(false);\n\t\t\t\t\timg.crossOrigin = \"Anonymous\";\n\t\t\t\t\timgLoaded(img).then(() => {\n\t\t\t\t\t\tconst canvas = document.createElement(\"canvas\");\n\t\t\t\t\t\tconst ctx = canvas.getContext(\"2d\");\n\t\t\t\t\t\tcanvas.width = img.width;\n\t\t\t\t\t\tcanvas.height = img.height;\n\t\t\t\t\t\tctx.drawImage(img, 0, 0, canvas.width, canvas.height);\n\t\t\t\t\t\tresolve(canvas.toDataURL(options === null || options === void 0 ? void 0 : options.type, options === null || options === void 0 ? void 0 : options.quality));\n\t\t\t\t\t}).catch(reject);\n\t\t\t\t} else if (typeof _target === \"object\") {\n\t\t\t\t\tconst serialized = ((options === null || options === void 0 ? void 0 : options.serializer) || getDefaultSerialization(_target))(_target);\n\t\t\t\t\treturn resolve(blobToBase64(new Blob([serialized], { type: \"application/json\" })));\n\t\t\t\t} else reject(/* @__PURE__ */ new Error(\"target is unsupported types\"));\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t});\n\t\tpromise.value.then((res) => {\n\t\t\tbase64.value = (options === null || options === void 0 ? void 0 : options.dataUrl) === false ? res.replace(/^data:.*?;base64,/, \"\") : res;\n\t\t});\n\t\treturn promise.value;\n\t}\n\tif (isRef(target) || typeof target === \"function\") watch(target, execute, { immediate: true });\n\telse execute();\n\treturn {\n\t\tbase64,\n\t\tpromise,\n\t\texecute\n\t};\n}\nfunction imgLoaded(img) {\n\treturn new Promise((resolve, reject) => {\n\t\tif (!img.complete) {\n\t\t\timg.onload = () => {\n\t\t\t\tresolve();\n\t\t\t};\n\t\t\timg.onerror = reject;\n\t\t} else resolve();\n\t});\n}\nfunction blobToBase64(blob) {\n\treturn new Promise((resolve, reject) => {\n\t\tconst fr = new FileReader();\n\t\tfr.onload = (e) => {\n\t\t\tresolve(e.target.result);\n\t\t};\n\t\tfr.onerror = reject;\n\t\tfr.readAsDataURL(blob);\n\t});\n}\n\n//#endregion\n//#region useBattery/index.ts\n/**\n* Reactive Battery Status API.\n*\n* @see https://vueuse.org/useBattery\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useBattery(options = {}) {\n\tconst { navigator: navigator$1 = defaultNavigator } = options;\n\tconst events$1 = [\n\t\t\"chargingchange\",\n\t\t\"chargingtimechange\",\n\t\t\"dischargingtimechange\",\n\t\t\"levelchange\"\n\t];\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"getBattery\" in navigator$1 && typeof navigator$1.getBattery === \"function\");\n\tconst charging = shallowRef(false);\n\tconst chargingTime = shallowRef(0);\n\tconst dischargingTime = shallowRef(0);\n\tconst level = shallowRef(1);\n\tlet battery;\n\tfunction updateBatteryInfo() {\n\t\tcharging.value = this.charging;\n\t\tchargingTime.value = this.chargingTime || 0;\n\t\tdischargingTime.value = this.dischargingTime || 0;\n\t\tlevel.value = this.level;\n\t}\n\tif (isSupported.value) navigator$1.getBattery().then((_battery) => {\n\t\tbattery = _battery;\n\t\tupdateBatteryInfo.call(battery);\n\t\tuseEventListener(battery, events$1, updateBatteryInfo, { passive: true });\n\t});\n\treturn {\n\t\tisSupported,\n\t\tcharging,\n\t\tchargingTime,\n\t\tdischargingTime,\n\t\tlevel\n\t};\n}\n\n//#endregion\n//#region useBluetooth/index.ts\n/* @__NO_SIDE_EFFECTS__ */\nfunction useBluetooth(options) {\n\tlet { acceptAllDevices = false } = options || {};\n\tconst { filters = void 0, optionalServices = void 0, navigator: navigator$1 = defaultNavigator } = options || {};\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"bluetooth\" in navigator$1);\n\tconst device = shallowRef();\n\tconst error = shallowRef(null);\n\twatch(device, () => {\n\t\tconnectToBluetoothGATTServer();\n\t});\n\tasync function requestDevice() {\n\t\tif (!isSupported.value) return;\n\t\terror.value = null;\n\t\tif (filters && filters.length > 0) acceptAllDevices = false;\n\t\ttry {\n\t\t\tdevice.value = await (navigator$1 === null || navigator$1 === void 0 ? void 0 : navigator$1.bluetooth.requestDevice({\n\t\t\t\tacceptAllDevices,\n\t\t\t\tfilters,\n\t\t\t\toptionalServices\n\t\t\t}));\n\t\t} catch (err) {\n\t\t\terror.value = err;\n\t\t}\n\t}\n\tconst server = shallowRef();\n\tconst isConnected = shallowRef(false);\n\tfunction reset() {\n\t\tisConnected.value = false;\n\t\tdevice.value = void 0;\n\t\tserver.value = void 0;\n\t}\n\tasync function connectToBluetoothGATTServer() {\n\t\terror.value = null;\n\t\tif (device.value && device.value.gatt) {\n\t\t\tuseEventListener(device, \"gattserverdisconnected\", reset, { passive: true });\n\t\t\ttry {\n\t\t\t\tserver.value = await device.value.gatt.connect();\n\t\t\t\tisConnected.value = server.value.connected;\n\t\t\t} catch (err) {\n\t\t\t\terror.value = err;\n\t\t\t}\n\t\t}\n\t}\n\ttryOnMounted(() => {\n\t\tvar _device$value$gatt;\n\t\tif (device.value) (_device$value$gatt = device.value.gatt) === null || _device$value$gatt === void 0 || _device$value$gatt.connect();\n\t});\n\ttryOnScopeDispose(() => {\n\t\tvar _device$value$gatt2;\n\t\tif (device.value) (_device$value$gatt2 = device.value.gatt) === null || _device$value$gatt2 === void 0 || _device$value$gatt2.disconnect();\n\t});\n\treturn {\n\t\tisSupported,\n\t\tisConnected: readonly(isConnected),\n\t\tdevice,\n\t\trequestDevice,\n\t\tserver,\n\t\terror\n\t};\n}\n\n//#endregion\n//#region useSSRWidth/index.ts\nconst ssrWidthSymbol = Symbol(\"vueuse-ssr-width\");\n/* @__NO_SIDE_EFFECTS__ */\nfunction useSSRWidth() {\n\tconst ssrWidth = hasInjectionContext() ? injectLocal(ssrWidthSymbol, null) : null;\n\treturn typeof ssrWidth === \"number\" ? ssrWidth : void 0;\n}\nfunction provideSSRWidth(width, app) {\n\tif (app !== void 0) app.provide(ssrWidthSymbol, width);\n\telse provideLocal(ssrWidthSymbol, width);\n}\n\n//#endregion\n//#region useMediaQuery/index.ts\n/**\n* Reactive Media Query.\n*\n* @see https://vueuse.org/useMediaQuery\n* @param query\n* @param options\n*/\nfunction useMediaQuery(query, options = {}) {\n\tconst { window: window$1 = defaultWindow, ssrWidth = /* @__PURE__ */ useSSRWidth() } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"matchMedia\" in window$1 && typeof window$1.matchMedia === \"function\");\n\tconst ssrSupport = shallowRef(typeof ssrWidth === \"number\");\n\tconst mediaQuery = shallowRef();\n\tconst matches = shallowRef(false);\n\tconst handler = (event) => {\n\t\tmatches.value = event.matches;\n\t};\n\twatchEffect(() => {\n\t\tif (ssrSupport.value) {\n\t\t\tssrSupport.value = !isSupported.value;\n\t\t\tmatches.value = toValue(query).split(\",\").some((queryString) => {\n\t\t\t\tconst not = queryString.includes(\"not all\");\n\t\t\t\tconst minWidth = queryString.match(/\\(\\s*min-width:\\s*(-?\\d+(?:\\.\\d*)?[a-z]+\\s*)\\)/);\n\t\t\t\tconst maxWidth = queryString.match(/\\(\\s*max-width:\\s*(-?\\d+(?:\\.\\d*)?[a-z]+\\s*)\\)/);\n\t\t\t\tlet res = Boolean(minWidth || maxWidth);\n\t\t\t\tif (minWidth && res) res = ssrWidth >= pxValue(minWidth[1]);\n\t\t\t\tif (maxWidth && res) res = ssrWidth <= pxValue(maxWidth[1]);\n\t\t\t\treturn not ? !res : res;\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tif (!isSupported.value) return;\n\t\tmediaQuery.value = window$1.matchMedia(toValue(query));\n\t\tmatches.value = mediaQuery.value.matches;\n\t});\n\tuseEventListener(mediaQuery, \"change\", handler, { passive: true });\n\treturn computed(() => matches.value);\n}\n\n//#endregion\n//#region useBreakpoints/breakpoints.ts\n/**\n* Breakpoints from Tailwind V2\n*\n* @see https://tailwindcss.com/docs/breakpoints\n*/\nconst breakpointsTailwind = {\n\t\"sm\": 640,\n\t\"md\": 768,\n\t\"lg\": 1024,\n\t\"xl\": 1280,\n\t\"2xl\": 1536\n};\n/**\n* Breakpoints from Bootstrap V5\n*\n* @see https://getbootstrap.com/docs/5.0/layout/breakpoints\n*/\nconst breakpointsBootstrapV5 = {\n\txs: 0,\n\tsm: 576,\n\tmd: 768,\n\tlg: 992,\n\txl: 1200,\n\txxl: 1400\n};\n/**\n* Breakpoints from Vuetify V2\n*\n* @see https://v2.vuetifyjs.com/en/features/breakpoints/\n*/\nconst breakpointsVuetifyV2 = {\n\txs: 0,\n\tsm: 600,\n\tmd: 960,\n\tlg: 1264,\n\txl: 1904\n};\n/**\n* Breakpoints from Vuetify V3\n*\n* @see https://vuetifyjs.com/en/styles/float/#overview\n*/\nconst breakpointsVuetifyV3 = {\n\txs: 0,\n\tsm: 600,\n\tmd: 960,\n\tlg: 1280,\n\txl: 1920,\n\txxl: 2560\n};\n/**\n* Alias to `breakpointsVuetifyV2`\n*\n* @deprecated explictly use `breakpointsVuetifyV2` or `breakpointsVuetifyV3` instead\n*/\nconst breakpointsVuetify = breakpointsVuetifyV2;\n/**\n* Breakpoints from Ant Design\n*\n* @see https://ant.design/components/layout/#breakpoint-width\n*/\nconst breakpointsAntDesign = {\n\txs: 480,\n\tsm: 576,\n\tmd: 768,\n\tlg: 992,\n\txl: 1200,\n\txxl: 1600\n};\n/**\n* Breakpoints from Quasar V2\n*\n* @see https://quasar.dev/style/breakpoints\n*/\nconst breakpointsQuasar = {\n\txs: 0,\n\tsm: 600,\n\tmd: 1024,\n\tlg: 1440,\n\txl: 1920\n};\n/**\n* Sematic Breakpoints\n*/\nconst breakpointsSematic = {\n\tmobileS: 320,\n\tmobileM: 375,\n\tmobileL: 425,\n\ttablet: 768,\n\tlaptop: 1024,\n\tlaptopL: 1440,\n\tdesktop4K: 2560\n};\n/**\n* Breakpoints from Master CSS\n*\n* @see https://docs.master.co/css/breakpoints\n*/\nconst breakpointsMasterCss = {\n\t\"3xs\": 360,\n\t\"2xs\": 480,\n\t\"xs\": 600,\n\t\"sm\": 768,\n\t\"md\": 1024,\n\t\"lg\": 1280,\n\t\"xl\": 1440,\n\t\"2xl\": 1600,\n\t\"3xl\": 1920,\n\t\"4xl\": 2560\n};\n/**\n* Breakpoints from PrimeFlex\n*\n* @see https://primeflex.org/installation\n*/\nconst breakpointsPrimeFlex = {\n\tsm: 576,\n\tmd: 768,\n\tlg: 992,\n\txl: 1200\n};\n/**\n* Breakpoints from ElementUI/ElementPlus\n*\n* @see https://element.eleme.io/#/en-US/component/layout\n* @see https://element-plus.org/en-US/component/layout.html\n*/\nconst breakpointsElement = {\n\txs: 0,\n\tsm: 768,\n\tmd: 992,\n\tlg: 1200,\n\txl: 1920\n};\n\n//#endregion\n//#region useBreakpoints/index.ts\n/**\n* Reactively viewport breakpoints\n*\n* @see https://vueuse.org/useBreakpoints\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useBreakpoints(breakpoints, options = {}) {\n\tfunction getValue$1(k, delta) {\n\t\tlet v = toValue(breakpoints[toValue(k)]);\n\t\tif (delta != null) v = increaseWithUnit(v, delta);\n\t\tif (typeof v === \"number\") v = `${v}px`;\n\t\treturn v;\n\t}\n\tconst { window: window$1 = defaultWindow, strategy = \"min-width\", ssrWidth = /* @__PURE__ */ useSSRWidth() } = options;\n\tconst ssrSupport = typeof ssrWidth === \"number\";\n\tconst mounted = ssrSupport ? shallowRef(false) : { value: true };\n\tif (ssrSupport) tryOnMounted(() => mounted.value = !!window$1);\n\tfunction match(query, size) {\n\t\tif (!mounted.value && ssrSupport) return query === \"min\" ? ssrWidth >= pxValue(size) : ssrWidth <= pxValue(size);\n\t\tif (!window$1) return false;\n\t\treturn window$1.matchMedia(`(${query}-width: ${size})`).matches;\n\t}\n\tconst greaterOrEqual = (k) => {\n\t\treturn useMediaQuery(() => `(min-width: ${getValue$1(k)})`, options);\n\t};\n\tconst smallerOrEqual = (k) => {\n\t\treturn useMediaQuery(() => `(max-width: ${getValue$1(k)})`, options);\n\t};\n\tconst shortcutMethods = Object.keys(breakpoints).reduce((shortcuts, k) => {\n\t\tObject.defineProperty(shortcuts, k, {\n\t\t\tget: () => strategy === \"min-width\" ? greaterOrEqual(k) : smallerOrEqual(k),\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true\n\t\t});\n\t\treturn shortcuts;\n\t}, {});\n\tfunction current() {\n\t\tconst points = Object.keys(breakpoints).map((k) => [\n\t\t\tk,\n\t\t\tshortcutMethods[k],\n\t\t\tpxValue(getValue$1(k))\n\t\t]).sort((a, b) => a[2] - b[2]);\n\t\treturn computed(() => points.filter(([, v]) => v.value).map(([k]) => k));\n\t}\n\treturn Object.assign(shortcutMethods, {\n\t\tgreaterOrEqual,\n\t\tsmallerOrEqual,\n\t\tgreater(k) {\n\t\t\treturn useMediaQuery(() => `(min-width: ${getValue$1(k, .1)})`, options);\n\t\t},\n\t\tsmaller(k) {\n\t\t\treturn useMediaQuery(() => `(max-width: ${getValue$1(k, -.1)})`, options);\n\t\t},\n\t\tbetween(a, b) {\n\t\t\treturn useMediaQuery(() => `(min-width: ${getValue$1(a)}) and (max-width: ${getValue$1(b, -.1)})`, options);\n\t\t},\n\t\tisGreater(k) {\n\t\t\treturn match(\"min\", getValue$1(k, .1));\n\t\t},\n\t\tisGreaterOrEqual(k) {\n\t\t\treturn match(\"min\", getValue$1(k));\n\t\t},\n\t\tisSmaller(k) {\n\t\t\treturn match(\"max\", getValue$1(k, -.1));\n\t\t},\n\t\tisSmallerOrEqual(k) {\n\t\t\treturn match(\"max\", getValue$1(k));\n\t\t},\n\t\tisInBetween(a, b) {\n\t\t\treturn match(\"min\", getValue$1(a)) && match(\"max\", getValue$1(b, -.1));\n\t\t},\n\t\tcurrent,\n\t\tactive() {\n\t\t\tconst bps = current();\n\t\t\treturn computed(() => bps.value.length === 0 ? \"\" : bps.value.at(strategy === \"min-width\" ? -1 : 0));\n\t\t}\n\t});\n}\n\n//#endregion\n//#region useBroadcastChannel/index.ts\n/**\n* Reactive BroadcastChannel\n*\n* @see https://vueuse.org/useBroadcastChannel\n* @see https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel\n* @param options\n*\n*/\nfunction useBroadcastChannel(options) {\n\tconst { name, window: window$1 = defaultWindow } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"BroadcastChannel\" in window$1);\n\tconst isClosed = shallowRef(false);\n\tconst channel = ref();\n\tconst data = ref();\n\tconst error = shallowRef(null);\n\tconst post = (data$1) => {\n\t\tif (channel.value) channel.value.postMessage(data$1);\n\t};\n\tconst close = () => {\n\t\tif (channel.value) channel.value.close();\n\t\tisClosed.value = true;\n\t};\n\tif (isSupported.value) tryOnMounted(() => {\n\t\terror.value = null;\n\t\tchannel.value = new BroadcastChannel(name);\n\t\tconst listenerOptions = { passive: true };\n\t\tuseEventListener(channel, \"message\", (e) => {\n\t\t\tdata.value = e.data;\n\t\t}, listenerOptions);\n\t\tuseEventListener(channel, \"messageerror\", (e) => {\n\t\t\terror.value = e;\n\t\t}, listenerOptions);\n\t\tuseEventListener(channel, \"close\", () => {\n\t\t\tisClosed.value = true;\n\t\t}, listenerOptions);\n\t});\n\ttryOnScopeDispose(() => {\n\t\tclose();\n\t});\n\treturn {\n\t\tisSupported,\n\t\tchannel,\n\t\tdata,\n\t\tpost,\n\t\tclose,\n\t\terror,\n\t\tisClosed\n\t};\n}\n\n//#endregion\n//#region useBrowserLocation/index.ts\nconst WRITABLE_PROPERTIES = [\n\t\"hash\",\n\t\"host\",\n\t\"hostname\",\n\t\"href\",\n\t\"pathname\",\n\t\"port\",\n\t\"protocol\",\n\t\"search\"\n];\n/**\n* Reactive browser location.\n*\n* @see https://vueuse.org/useBrowserLocation\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useBrowserLocation(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst refs = Object.fromEntries(WRITABLE_PROPERTIES.map((key) => [key, ref()]));\n\tfor (const [key, ref$1] of objectEntries(refs)) watch(ref$1, (value) => {\n\t\tif (!(window$1 === null || window$1 === void 0 ? void 0 : window$1.location) || window$1.location[key] === value) return;\n\t\twindow$1.location[key] = value;\n\t});\n\tconst buildState = (trigger) => {\n\t\tvar _window$location;\n\t\tconst { state: state$1, length } = (window$1 === null || window$1 === void 0 ? void 0 : window$1.history) || {};\n\t\tconst { origin } = (window$1 === null || window$1 === void 0 ? void 0 : window$1.location) || {};\n\t\tfor (const key of WRITABLE_PROPERTIES) refs[key].value = window$1 === null || window$1 === void 0 || (_window$location = window$1.location) === null || _window$location === void 0 ? void 0 : _window$location[key];\n\t\treturn reactive({\n\t\t\ttrigger,\n\t\t\tstate: state$1,\n\t\t\tlength,\n\t\t\torigin,\n\t\t\t...refs\n\t\t});\n\t};\n\tconst state = ref(buildState(\"load\"));\n\tif (window$1) {\n\t\tconst listenerOptions = { passive: true };\n\t\tuseEventListener(window$1, \"popstate\", () => state.value = buildState(\"popstate\"), listenerOptions);\n\t\tuseEventListener(window$1, \"hashchange\", () => state.value = buildState(\"hashchange\"), listenerOptions);\n\t}\n\treturn state;\n}\n\n//#endregion\n//#region useCached/index.ts\nfunction useCached(refValue, comparator = (a, b) => a === b, options) {\n\tconst { deepRefs = true,...watchOptions } = options || {};\n\tconst cachedValue = createRef(refValue.value, deepRefs);\n\twatch(() => refValue.value, (value) => {\n\t\tif (!comparator(value, cachedValue.value)) cachedValue.value = value;\n\t}, watchOptions);\n\treturn cachedValue;\n}\n\n//#endregion\n//#region usePermission/index.ts\n/**\n* Reactive Permissions API.\n*\n* @see https://vueuse.org/usePermission\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePermission(permissionDesc, options = {}) {\n\tconst { controls = false, navigator: navigator$1 = defaultNavigator } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"permissions\" in navigator$1);\n\tconst permissionStatus = shallowRef();\n\tconst desc = typeof permissionDesc === \"string\" ? { name: permissionDesc } : permissionDesc;\n\tconst state = shallowRef();\n\tconst update = () => {\n\t\tvar _permissionStatus$val, _permissionStatus$val2;\n\t\tstate.value = (_permissionStatus$val = (_permissionStatus$val2 = permissionStatus.value) === null || _permissionStatus$val2 === void 0 ? void 0 : _permissionStatus$val2.state) !== null && _permissionStatus$val !== void 0 ? _permissionStatus$val : \"prompt\";\n\t};\n\tuseEventListener(permissionStatus, \"change\", update, { passive: true });\n\tconst query = createSingletonPromise(async () => {\n\t\tif (!isSupported.value) return;\n\t\tif (!permissionStatus.value) try {\n\t\t\tpermissionStatus.value = await navigator$1.permissions.query(desc);\n\t\t} catch (_unused) {\n\t\t\tpermissionStatus.value = void 0;\n\t\t} finally {\n\t\t\tupdate();\n\t\t}\n\t\tif (controls) return toRaw(permissionStatus.value);\n\t});\n\tquery();\n\tif (controls) return {\n\t\tstate,\n\t\tisSupported,\n\t\tquery\n\t};\n\telse return state;\n}\n\n//#endregion\n//#region useClipboard/index.ts\nfunction useClipboard(options = {}) {\n\tconst { navigator: navigator$1 = defaultNavigator, read = false, source, copiedDuring = 1500, legacy = false } = options;\n\tconst isClipboardApiSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"clipboard\" in navigator$1);\n\tconst permissionRead = usePermission(\"clipboard-read\");\n\tconst permissionWrite = usePermission(\"clipboard-write\");\n\tconst isSupported = computed(() => isClipboardApiSupported.value || legacy);\n\tconst text = shallowRef(\"\");\n\tconst copied = shallowRef(false);\n\tconst timeout = useTimeoutFn(() => copied.value = false, copiedDuring, { immediate: false });\n\tasync function updateText() {\n\t\tlet useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionRead.value));\n\t\tif (!useLegacy) try {\n\t\t\ttext.value = await navigator$1.clipboard.readText();\n\t\t} catch (_unused) {\n\t\t\tuseLegacy = true;\n\t\t}\n\t\tif (useLegacy) text.value = legacyRead();\n\t}\n\tif (isSupported.value && read) useEventListener([\"copy\", \"cut\"], updateText, { passive: true });\n\tasync function copy(value = toValue(source)) {\n\t\tif (isSupported.value && value != null) {\n\t\t\tlet useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionWrite.value));\n\t\t\tif (!useLegacy) try {\n\t\t\t\tawait navigator$1.clipboard.writeText(value);\n\t\t\t} catch (_unused2) {\n\t\t\t\tuseLegacy = true;\n\t\t\t}\n\t\t\tif (useLegacy) legacyCopy(value);\n\t\t\ttext.value = value;\n\t\t\tcopied.value = true;\n\t\t\ttimeout.start();\n\t\t}\n\t}\n\tfunction legacyCopy(value) {\n\t\tconst ta = document.createElement(\"textarea\");\n\t\tta.value = value;\n\t\tta.style.position = \"absolute\";\n\t\tta.style.opacity = \"0\";\n\t\tta.setAttribute(\"readonly\", \"\");\n\t\tdocument.body.appendChild(ta);\n\t\tta.select();\n\t\tdocument.execCommand(\"copy\");\n\t\tta.remove();\n\t}\n\tfunction legacyRead() {\n\t\tvar _document$getSelectio, _document, _document$getSelectio2;\n\t\treturn (_document$getSelectio = (_document = document) === null || _document === void 0 || (_document$getSelectio2 = _document.getSelection) === null || _document$getSelectio2 === void 0 || (_document$getSelectio2 = _document$getSelectio2.call(_document)) === null || _document$getSelectio2 === void 0 ? void 0 : _document$getSelectio2.toString()) !== null && _document$getSelectio !== void 0 ? _document$getSelectio : \"\";\n\t}\n\tfunction isAllowed(status) {\n\t\treturn status === \"granted\" || status === \"prompt\";\n\t}\n\treturn {\n\t\tisSupported,\n\t\ttext: readonly(text),\n\t\tcopied: readonly(copied),\n\t\tcopy\n\t};\n}\n\n//#endregion\n//#region useClipboardItems/index.ts\nfunction useClipboardItems(options = {}) {\n\tconst { navigator: navigator$1 = defaultNavigator, read = false, source, copiedDuring = 1500 } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"clipboard\" in navigator$1);\n\tconst content = ref([]);\n\tconst copied = shallowRef(false);\n\tconst timeout = useTimeoutFn(() => copied.value = false, copiedDuring, { immediate: false });\n\tfunction updateContent() {\n\t\tif (isSupported.value) navigator$1.clipboard.read().then((items) => {\n\t\t\tcontent.value = items;\n\t\t});\n\t}\n\tif (isSupported.value && read) useEventListener([\"copy\", \"cut\"], updateContent, { passive: true });\n\tasync function copy(value = toValue(source)) {\n\t\tif (isSupported.value && value != null) {\n\t\t\tawait navigator$1.clipboard.write(value);\n\t\t\tcontent.value = value;\n\t\t\tcopied.value = true;\n\t\t\ttimeout.start();\n\t\t}\n\t}\n\treturn {\n\t\tisSupported,\n\t\tcontent: shallowReadonly(content),\n\t\tcopied: readonly(copied),\n\t\tcopy,\n\t\tread: updateContent\n\t};\n}\n\n//#endregion\n//#region useCloned/index.ts\nfunction cloneFnJSON(source) {\n\treturn JSON.parse(JSON.stringify(source));\n}\nfunction useCloned(source, options = {}) {\n\tconst cloned = ref({});\n\tconst isModified = shallowRef(false);\n\tlet _lastSync = false;\n\tconst { manual, clone = cloneFnJSON, deep = true, immediate = true } = options;\n\twatch(cloned, () => {\n\t\tif (_lastSync) {\n\t\t\t_lastSync = false;\n\t\t\treturn;\n\t\t}\n\t\tisModified.value = true;\n\t}, {\n\t\tdeep: true,\n\t\tflush: \"sync\"\n\t});\n\tfunction sync() {\n\t\t_lastSync = true;\n\t\tisModified.value = false;\n\t\tcloned.value = clone(toValue(source));\n\t}\n\tif (!manual && (isRef(source) || typeof source === \"function\")) watch(source, sync, {\n\t\t...options,\n\t\tdeep,\n\t\timmediate\n\t});\n\telse sync();\n\treturn {\n\t\tcloned,\n\t\tisModified,\n\t\tsync\n\t};\n}\n\n//#endregion\n//#region ssr-handlers.ts\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : {};\nconst globalKey = \"__vueuse_ssr_handlers__\";\nconst handlers = /* @__PURE__ */ getHandlers();\nfunction getHandlers() {\n\tif (!(globalKey in _global)) _global[globalKey] = _global[globalKey] || {};\n\treturn _global[globalKey];\n}\nfunction getSSRHandler(key, fallback) {\n\treturn handlers[key] || fallback;\n}\nfunction setSSRHandler(key, fn) {\n\thandlers[key] = fn;\n}\n\n//#endregion\n//#region usePreferredDark/index.ts\n/**\n* Reactive dark theme preference.\n*\n* @see https://vueuse.org/usePreferredDark\n* @param [options]\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePreferredDark(options) {\n\treturn useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n}\n\n//#endregion\n//#region useStorage/guess.ts\nfunction guessSerializerType(rawInit) {\n\treturn rawInit == null ? \"any\" : rawInit instanceof Set ? \"set\" : rawInit instanceof Map ? \"map\" : rawInit instanceof Date ? \"date\" : typeof rawInit === \"boolean\" ? \"boolean\" : typeof rawInit === \"string\" ? \"string\" : typeof rawInit === \"object\" ? \"object\" : !Number.isNaN(rawInit) ? \"number\" : \"any\";\n}\n\n//#endregion\n//#region useStorage/index.ts\nconst StorageSerializers = {\n\tboolean: {\n\t\tread: (v) => v === \"true\",\n\t\twrite: (v) => String(v)\n\t},\n\tobject: {\n\t\tread: (v) => JSON.parse(v),\n\t\twrite: (v) => JSON.stringify(v)\n\t},\n\tnumber: {\n\t\tread: (v) => Number.parseFloat(v),\n\t\twrite: (v) => String(v)\n\t},\n\tany: {\n\t\tread: (v) => v,\n\t\twrite: (v) => String(v)\n\t},\n\tstring: {\n\t\tread: (v) => v,\n\t\twrite: (v) => String(v)\n\t},\n\tmap: {\n\t\tread: (v) => new Map(JSON.parse(v)),\n\t\twrite: (v) => JSON.stringify(Array.from(v.entries()))\n\t},\n\tset: {\n\t\tread: (v) => new Set(JSON.parse(v)),\n\t\twrite: (v) => JSON.stringify(Array.from(v))\n\t},\n\tdate: {\n\t\tread: (v) => new Date(v),\n\t\twrite: (v) => v.toISOString()\n\t}\n};\nconst customStorageEventName = \"vueuse-storage\";\n/**\n* Reactive LocalStorage/SessionStorage.\n*\n* @see https://vueuse.org/useStorage\n*/\nfunction useStorage(key, defaults$1, storage, options = {}) {\n\tvar _options$serializer;\n\tconst { flush = \"pre\", deep = true, listenToStorageChanges = true, writeDefaults = true, mergeDefaults = false, shallow, window: window$1 = defaultWindow, eventFilter, onError = (e) => {\n\t\tconsole.error(e);\n\t}, initOnMounted } = options;\n\tconst data = (shallow ? shallowRef : ref)(typeof defaults$1 === \"function\" ? defaults$1() : defaults$1);\n\tconst keyComputed = computed(() => toValue(key));\n\tif (!storage) try {\n\t\tstorage = getSSRHandler(\"getDefaultStorage\", () => defaultWindow === null || defaultWindow === void 0 ? void 0 : defaultWindow.localStorage)();\n\t} catch (e) {\n\t\tonError(e);\n\t}\n\tif (!storage) return data;\n\tconst rawInit = toValue(defaults$1);\n\tconst type = guessSerializerType(rawInit);\n\tconst serializer = (_options$serializer = options.serializer) !== null && _options$serializer !== void 0 ? _options$serializer : StorageSerializers[type];\n\tconst { pause: pauseWatch, resume: resumeWatch } = pausableWatch(data, (newValue) => write(newValue), {\n\t\tflush,\n\t\tdeep,\n\t\teventFilter\n\t});\n\twatch(keyComputed, () => update(), { flush });\n\tlet firstMounted = false;\n\tconst onStorageEvent = (ev) => {\n\t\tif (initOnMounted && !firstMounted) return;\n\t\tupdate(ev);\n\t};\n\tconst onStorageCustomEvent = (ev) => {\n\t\tif (initOnMounted && !firstMounted) return;\n\t\tupdateFromCustomEvent(ev);\n\t};\n\t/**\n\t* The custom event is needed for same-document syncing when using custom\n\t* storage backends, but it doesn't work across different documents.\n\t*\n\t* TODO: Consider implementing a BroadcastChannel-based solution that fixes this.\n\t*/\n\tif (window$1 && listenToStorageChanges) if (storage instanceof Storage) useEventListener(window$1, \"storage\", onStorageEvent, { passive: true });\n\telse useEventListener(window$1, customStorageEventName, onStorageCustomEvent);\n\tif (initOnMounted) tryOnMounted(() => {\n\t\tfirstMounted = true;\n\t\tupdate();\n\t});\n\telse update();\n\tfunction dispatchWriteEvent(oldValue, newValue) {\n\t\tif (window$1) {\n\t\t\tconst payload = {\n\t\t\t\tkey: keyComputed.value,\n\t\t\t\toldValue,\n\t\t\t\tnewValue,\n\t\t\t\tstorageArea: storage\n\t\t\t};\n\t\t\twindow$1.dispatchEvent(storage instanceof Storage ? new StorageEvent(\"storage\", payload) : new CustomEvent(customStorageEventName, { detail: payload }));\n\t\t}\n\t}\n\tfunction write(v) {\n\t\ttry {\n\t\t\tconst oldValue = storage.getItem(keyComputed.value);\n\t\t\tif (v == null) {\n\t\t\t\tdispatchWriteEvent(oldValue, null);\n\t\t\t\tstorage.removeItem(keyComputed.value);\n\t\t\t} else {\n\t\t\t\tconst serialized = serializer.write(v);\n\t\t\t\tif (oldValue !== serialized) {\n\t\t\t\t\tstorage.setItem(keyComputed.value, serialized);\n\t\t\t\t\tdispatchWriteEvent(oldValue, serialized);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tonError(e);\n\t\t}\n\t}\n\tfunction read(event) {\n\t\tconst rawValue = event ? event.newValue : storage.getItem(keyComputed.value);\n\t\tif (rawValue == null) {\n\t\t\tif (writeDefaults && rawInit != null) storage.setItem(keyComputed.value, serializer.write(rawInit));\n\t\t\treturn rawInit;\n\t\t} else if (!event && mergeDefaults) {\n\t\t\tconst value = serializer.read(rawValue);\n\t\t\tif (typeof mergeDefaults === \"function\") return mergeDefaults(value, rawInit);\n\t\t\telse if (type === \"object\" && !Array.isArray(value)) return {\n\t\t\t\t...rawInit,\n\t\t\t\t...value\n\t\t\t};\n\t\t\treturn value;\n\t\t} else if (typeof rawValue !== \"string\") return rawValue;\n\t\telse return serializer.read(rawValue);\n\t}\n\tfunction update(event) {\n\t\tif (event && event.storageArea !== storage) return;\n\t\tif (event && event.key == null) {\n\t\t\tdata.value = rawInit;\n\t\t\treturn;\n\t\t}\n\t\tif (event && event.key !== keyComputed.value) return;\n\t\tpauseWatch();\n\t\ttry {\n\t\t\tconst serializedData = serializer.write(data.value);\n\t\t\tif (event === void 0 || (event === null || event === void 0 ? void 0 : event.newValue) !== serializedData) data.value = read(event);\n\t\t} catch (e) {\n\t\t\tonError(e);\n\t\t} finally {\n\t\t\tif (event) nextTick(resumeWatch);\n\t\t\telse resumeWatch();\n\t\t}\n\t}\n\tfunction updateFromCustomEvent(event) {\n\t\tupdate(event.detail);\n\t}\n\treturn data;\n}\n\n//#endregion\n//#region useColorMode/index.ts\nconst CSS_DISABLE_TRANS = \"*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}\";\n/**\n* Reactive color mode with auto data persistence.\n*\n* @see https://vueuse.org/useColorMode\n* @param options\n*/\nfunction useColorMode(options = {}) {\n\tconst { selector = \"html\", attribute = \"class\", initialValue = \"auto\", window: window$1 = defaultWindow, storage, storageKey = \"vueuse-color-scheme\", listenToStorageChanges = true, storageRef, emitAuto, disableTransition = true } = options;\n\tconst modes = {\n\t\tauto: \"\",\n\t\tlight: \"light\",\n\t\tdark: \"dark\",\n\t\t...options.modes || {}\n\t};\n\tconst preferredDark = usePreferredDark({ window: window$1 });\n\tconst system = computed(() => preferredDark.value ? \"dark\" : \"light\");\n\tconst store = storageRef || (storageKey == null ? toRef(initialValue) : useStorage(storageKey, initialValue, storage, {\n\t\twindow: window$1,\n\t\tlistenToStorageChanges\n\t}));\n\tconst state = computed(() => store.value === \"auto\" ? system.value : store.value);\n\tconst updateHTMLAttrs = getSSRHandler(\"updateHTMLAttrs\", (selector$1, attribute$1, value) => {\n\t\tconst el = typeof selector$1 === \"string\" ? window$1 === null || window$1 === void 0 ? void 0 : window$1.document.querySelector(selector$1) : unrefElement(selector$1);\n\t\tif (!el) return;\n\t\tconst classesToAdd = /* @__PURE__ */ new Set();\n\t\tconst classesToRemove = /* @__PURE__ */ new Set();\n\t\tlet attributeToChange = null;\n\t\tif (attribute$1 === \"class\") {\n\t\t\tconst current = value.split(/\\s/g);\n\t\t\tObject.values(modes).flatMap((i) => (i || \"\").split(/\\s/g)).filter(Boolean).forEach((v) => {\n\t\t\t\tif (current.includes(v)) classesToAdd.add(v);\n\t\t\t\telse classesToRemove.add(v);\n\t\t\t});\n\t\t} else attributeToChange = {\n\t\t\tkey: attribute$1,\n\t\t\tvalue\n\t\t};\n\t\tif (classesToAdd.size === 0 && classesToRemove.size === 0 && attributeToChange === null) return;\n\t\tlet style;\n\t\tif (disableTransition) {\n\t\t\tstyle = window$1.document.createElement(\"style\");\n\t\t\tstyle.appendChild(document.createTextNode(CSS_DISABLE_TRANS));\n\t\t\twindow$1.document.head.appendChild(style);\n\t\t}\n\t\tfor (const c of classesToAdd) el.classList.add(c);\n\t\tfor (const c of classesToRemove) el.classList.remove(c);\n\t\tif (attributeToChange) el.setAttribute(attributeToChange.key, attributeToChange.value);\n\t\tif (disableTransition) {\n\t\t\twindow$1.getComputedStyle(style).opacity;\n\t\t\tdocument.head.removeChild(style);\n\t\t}\n\t});\n\tfunction defaultOnChanged(mode) {\n\t\tvar _modes$mode;\n\t\tupdateHTMLAttrs(selector, attribute, (_modes$mode = modes[mode]) !== null && _modes$mode !== void 0 ? _modes$mode : mode);\n\t}\n\tfunction onChanged(mode) {\n\t\tif (options.onChanged) options.onChanged(mode, defaultOnChanged);\n\t\telse defaultOnChanged(mode);\n\t}\n\twatch(state, onChanged, {\n\t\tflush: \"post\",\n\t\timmediate: true\n\t});\n\ttryOnMounted(() => onChanged(state.value));\n\tconst auto = computed({\n\t\tget() {\n\t\t\treturn emitAuto ? store.value : state.value;\n\t\t},\n\t\tset(v) {\n\t\t\tstore.value = v;\n\t\t}\n\t});\n\treturn Object.assign(auto, {\n\t\tstore,\n\t\tsystem,\n\t\tstate\n\t});\n}\n\n//#endregion\n//#region useConfirmDialog/index.ts\n/**\n* Hooks for creating confirm dialogs. Useful for modal windows, popups and logins.\n*\n* @see https://vueuse.org/useConfirmDialog/\n* @param revealed `boolean` `ref` that handles a modal window\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useConfirmDialog(revealed = shallowRef(false)) {\n\tconst confirmHook = createEventHook();\n\tconst cancelHook = createEventHook();\n\tconst revealHook = createEventHook();\n\tlet _resolve = noop;\n\tconst reveal = (data) => {\n\t\trevealHook.trigger(data);\n\t\trevealed.value = true;\n\t\treturn new Promise((resolve) => {\n\t\t\t_resolve = resolve;\n\t\t});\n\t};\n\tconst confirm = (data) => {\n\t\trevealed.value = false;\n\t\tconfirmHook.trigger(data);\n\t\t_resolve({\n\t\t\tdata,\n\t\t\tisCanceled: false\n\t\t});\n\t};\n\tconst cancel = (data) => {\n\t\trevealed.value = false;\n\t\tcancelHook.trigger(data);\n\t\t_resolve({\n\t\t\tdata,\n\t\t\tisCanceled: true\n\t\t});\n\t};\n\treturn {\n\t\tisRevealed: computed(() => revealed.value),\n\t\treveal,\n\t\tconfirm,\n\t\tcancel,\n\t\tonReveal: revealHook.on,\n\t\tonConfirm: confirmHook.on,\n\t\tonCancel: cancelHook.on\n\t};\n}\n\n//#endregion\n//#region useCountdown/index.ts\n/**\n* Wrapper for `useIntervalFn` that provides a countdown timer in seconds.\n*\n* @param initialCountdown\n* @param options\n*\n* @see https://vueuse.org/useCountdown\n*/\nfunction useCountdown(initialCountdown, options) {\n\tvar _options$interval, _options$immediate;\n\tconst remaining = shallowRef(toValue(initialCountdown));\n\tconst intervalController = useIntervalFn(() => {\n\t\tvar _options$onTick;\n\t\tconst value = remaining.value - 1;\n\t\tremaining.value = value < 0 ? 0 : value;\n\t\toptions === null || options === void 0 || (_options$onTick = options.onTick) === null || _options$onTick === void 0 || _options$onTick.call(options);\n\t\tif (remaining.value <= 0) {\n\t\t\tvar _options$onComplete;\n\t\t\tintervalController.pause();\n\t\t\toptions === null || options === void 0 || (_options$onComplete = options.onComplete) === null || _options$onComplete === void 0 || _options$onComplete.call(options);\n\t\t}\n\t}, (_options$interval = options === null || options === void 0 ? void 0 : options.interval) !== null && _options$interval !== void 0 ? _options$interval : 1e3, { immediate: (_options$immediate = options === null || options === void 0 ? void 0 : options.immediate) !== null && _options$immediate !== void 0 ? _options$immediate : false });\n\tconst reset = (countdown) => {\n\t\tvar _toValue;\n\t\tremaining.value = (_toValue = toValue(countdown)) !== null && _toValue !== void 0 ? _toValue : toValue(initialCountdown);\n\t};\n\tconst stop = () => {\n\t\tintervalController.pause();\n\t\treset();\n\t};\n\tconst resume = () => {\n\t\tif (!intervalController.isActive.value) {\n\t\t\tif (remaining.value > 0) intervalController.resume();\n\t\t}\n\t};\n\tconst start = (countdown) => {\n\t\treset(countdown);\n\t\tintervalController.resume();\n\t};\n\treturn {\n\t\tremaining,\n\t\treset,\n\t\tstop,\n\t\tstart,\n\t\tpause: intervalController.pause,\n\t\tresume,\n\t\tisActive: intervalController.isActive\n\t};\n}\n\n//#endregion\n//#region useCssVar/index.ts\n/**\n* Manipulate CSS variables.\n*\n* @see https://vueuse.org/useCssVar\n* @param prop\n* @param target\n* @param options\n*/\nfunction useCssVar(prop, target, options = {}) {\n\tconst { window: window$1 = defaultWindow, initialValue, observe = false } = options;\n\tconst variable = shallowRef(initialValue);\n\tconst elRef = computed(() => {\n\t\tvar _window$document;\n\t\treturn unrefElement(target) || (window$1 === null || window$1 === void 0 || (_window$document = window$1.document) === null || _window$document === void 0 ? void 0 : _window$document.documentElement);\n\t});\n\tfunction updateCssVar() {\n\t\tconst key = toValue(prop);\n\t\tconst el = toValue(elRef);\n\t\tif (el && window$1 && key) {\n\t\t\tvar _window$getComputedSt;\n\t\t\tvariable.value = ((_window$getComputedSt = window$1.getComputedStyle(el).getPropertyValue(key)) === null || _window$getComputedSt === void 0 ? void 0 : _window$getComputedSt.trim()) || variable.value || initialValue;\n\t\t}\n\t}\n\tif (observe) useMutationObserver(elRef, updateCssVar, {\n\t\tattributeFilter: [\"style\", \"class\"],\n\t\twindow: window$1\n\t});\n\twatch([elRef, () => toValue(prop)], (_, old) => {\n\t\tif (old[0] && old[1]) old[0].style.removeProperty(old[1]);\n\t\tupdateCssVar();\n\t}, { immediate: true });\n\twatch([variable, elRef], ([val, el]) => {\n\t\tconst raw_prop = toValue(prop);\n\t\tif ((el === null || el === void 0 ? void 0 : el.style) && raw_prop) if (val == null) el.style.removeProperty(raw_prop);\n\t\telse el.style.setProperty(raw_prop, val);\n\t}, { immediate: true });\n\treturn variable;\n}\n\n//#endregion\n//#region useCurrentElement/index.ts\nfunction useCurrentElement(rootComponent) {\n\tconst vm = getCurrentInstance();\n\tconst currentElement = computedWithControl(() => null, () => rootComponent ? unrefElement(rootComponent) : vm.proxy.$el);\n\tonUpdated(currentElement.trigger);\n\tonMounted(currentElement.trigger);\n\treturn currentElement;\n}\n\n//#endregion\n//#region useCycleList/index.ts\n/**\n* Cycle through a list of items\n*\n* @see https://vueuse.org/useCycleList\n*/\nfunction useCycleList(list, options) {\n\tconst state = shallowRef(getInitialValue());\n\tconst listRef = toRef(list);\n\tconst index = computed({\n\t\tget() {\n\t\t\tvar _options$fallbackInde;\n\t\t\tconst targetList = listRef.value;\n\t\t\tlet index$1 = (options === null || options === void 0 ? void 0 : options.getIndexOf) ? options.getIndexOf(state.value, targetList) : targetList.indexOf(state.value);\n\t\t\tif (index$1 < 0) index$1 = (_options$fallbackInde = options === null || options === void 0 ? void 0 : options.fallbackIndex) !== null && _options$fallbackInde !== void 0 ? _options$fallbackInde : 0;\n\t\t\treturn index$1;\n\t\t},\n\t\tset(v) {\n\t\t\tset(v);\n\t\t}\n\t});\n\tfunction set(i) {\n\t\tconst targetList = listRef.value;\n\t\tconst length = targetList.length;\n\t\tconst value = targetList[(i % length + length) % length];\n\t\tstate.value = value;\n\t\treturn value;\n\t}\n\tfunction shift(delta = 1) {\n\t\treturn set(index.value + delta);\n\t}\n\tfunction next(n = 1) {\n\t\treturn shift(n);\n\t}\n\tfunction prev(n = 1) {\n\t\treturn shift(-n);\n\t}\n\tfunction getInitialValue() {\n\t\tvar _toValue, _options$initialValue;\n\t\treturn (_toValue = toValue((_options$initialValue = options === null || options === void 0 ? void 0 : options.initialValue) !== null && _options$initialValue !== void 0 ? _options$initialValue : toValue(list)[0])) !== null && _toValue !== void 0 ? _toValue : void 0;\n\t}\n\twatch(listRef, () => set(index.value));\n\treturn {\n\t\tstate,\n\t\tindex,\n\t\tnext,\n\t\tprev,\n\t\tgo: set\n\t};\n}\n\n//#endregion\n//#region useDark/index.ts\n/**\n* Reactive dark mode with auto data persistence.\n*\n* @see https://vueuse.org/useDark\n* @param options\n*/\nfunction useDark(options = {}) {\n\tconst { valueDark = \"dark\", valueLight = \"\" } = options;\n\tconst mode = useColorMode({\n\t\t...options,\n\t\tonChanged: (mode$1, defaultHandler) => {\n\t\t\tvar _options$onChanged;\n\t\t\tif (options.onChanged) (_options$onChanged = options.onChanged) === null || _options$onChanged === void 0 || _options$onChanged.call(options, mode$1 === \"dark\", defaultHandler, mode$1);\n\t\t\telse defaultHandler(mode$1);\n\t\t},\n\t\tmodes: {\n\t\t\tdark: valueDark,\n\t\t\tlight: valueLight\n\t\t}\n\t});\n\tconst system = computed(() => mode.system.value);\n\treturn computed({\n\t\tget() {\n\t\t\treturn mode.value === \"dark\";\n\t\t},\n\t\tset(v) {\n\t\t\tconst modeVal = v ? \"dark\" : \"light\";\n\t\t\tif (system.value === modeVal) mode.value = \"auto\";\n\t\t\telse mode.value = modeVal;\n\t\t}\n\t});\n}\n\n//#endregion\n//#region useManualRefHistory/index.ts\nfunction fnBypass(v) {\n\treturn v;\n}\nfunction fnSetSource(source, value) {\n\treturn source.value = value;\n}\nfunction defaultDump(clone) {\n\treturn clone ? typeof clone === \"function\" ? clone : cloneFnJSON : fnBypass;\n}\nfunction defaultParse(clone) {\n\treturn clone ? typeof clone === \"function\" ? clone : cloneFnJSON : fnBypass;\n}\n/**\n* Track the change history of a ref, also provides undo and redo functionality.\n*\n* @see https://vueuse.org/useManualRefHistory\n* @param source\n* @param options\n*/\nfunction useManualRefHistory(source, options = {}) {\n\tconst { clone = false, dump = defaultDump(clone), parse = defaultParse(clone), setSource = fnSetSource } = options;\n\tfunction _createHistoryRecord() {\n\t\treturn markRaw({\n\t\t\tsnapshot: dump(source.value),\n\t\t\ttimestamp: timestamp()\n\t\t});\n\t}\n\tconst last = ref(_createHistoryRecord());\n\tconst undoStack = ref([]);\n\tconst redoStack = ref([]);\n\tconst _setSource = (record) => {\n\t\tsetSource(source, parse(record.snapshot));\n\t\tlast.value = record;\n\t};\n\tconst commit = () => {\n\t\tundoStack.value.unshift(last.value);\n\t\tlast.value = _createHistoryRecord();\n\t\tif (options.capacity && undoStack.value.length > options.capacity) undoStack.value.splice(options.capacity, Number.POSITIVE_INFINITY);\n\t\tif (redoStack.value.length) redoStack.value.splice(0, redoStack.value.length);\n\t};\n\tconst clear = () => {\n\t\tundoStack.value.splice(0, undoStack.value.length);\n\t\tredoStack.value.splice(0, redoStack.value.length);\n\t};\n\tconst undo = () => {\n\t\tconst state = undoStack.value.shift();\n\t\tif (state) {\n\t\t\tredoStack.value.unshift(last.value);\n\t\t\t_setSource(state);\n\t\t}\n\t};\n\tconst redo = () => {\n\t\tconst state = redoStack.value.shift();\n\t\tif (state) {\n\t\t\tundoStack.value.unshift(last.value);\n\t\t\t_setSource(state);\n\t\t}\n\t};\n\tconst reset = () => {\n\t\t_setSource(last.value);\n\t};\n\treturn {\n\t\tsource,\n\t\tundoStack,\n\t\tredoStack,\n\t\tlast,\n\t\thistory: computed(() => [last.value, ...undoStack.value]),\n\t\tcanUndo: computed(() => undoStack.value.length > 0),\n\t\tcanRedo: computed(() => redoStack.value.length > 0),\n\t\tclear,\n\t\tcommit,\n\t\treset,\n\t\tundo,\n\t\tredo\n\t};\n}\n\n//#endregion\n//#region useRefHistory/index.ts\n/**\n* Track the change history of a ref, also provides undo and redo functionality.\n*\n* @see https://vueuse.org/useRefHistory\n* @param source\n* @param options\n*/\nfunction useRefHistory(source, options = {}) {\n\tconst { deep = false, flush = \"pre\", eventFilter, shouldCommit = () => true } = options;\n\tconst { eventFilter: composedFilter, pause, resume: resumeTracking, isActive: isTracking } = pausableFilter(eventFilter);\n\tlet lastRawValue = source.value;\n\tconst { ignoreUpdates, ignorePrevAsyncUpdates, stop } = watchIgnorable(source, commit, {\n\t\tdeep,\n\t\tflush,\n\t\teventFilter: composedFilter\n\t});\n\tfunction setSource(source$1, value) {\n\t\tignorePrevAsyncUpdates();\n\t\tignoreUpdates(() => {\n\t\t\tsource$1.value = value;\n\t\t\tlastRawValue = value;\n\t\t});\n\t}\n\tconst manualHistory = useManualRefHistory(source, {\n\t\t...options,\n\t\tclone: options.clone || deep,\n\t\tsetSource\n\t});\n\tconst { clear, commit: manualCommit } = manualHistory;\n\tfunction commit() {\n\t\tignorePrevAsyncUpdates();\n\t\tif (!shouldCommit(lastRawValue, source.value)) return;\n\t\tlastRawValue = source.value;\n\t\tmanualCommit();\n\t}\n\tfunction resume(commitNow) {\n\t\tresumeTracking();\n\t\tif (commitNow) commit();\n\t}\n\tfunction batch(fn) {\n\t\tlet canceled = false;\n\t\tconst cancel = () => canceled = true;\n\t\tignoreUpdates(() => {\n\t\t\tfn(cancel);\n\t\t});\n\t\tif (!canceled) commit();\n\t}\n\tfunction dispose() {\n\t\tstop();\n\t\tclear();\n\t}\n\treturn {\n\t\t...manualHistory,\n\t\tisTracking,\n\t\tpause,\n\t\tresume,\n\t\tcommit,\n\t\tbatch,\n\t\tdispose\n\t};\n}\n\n//#endregion\n//#region useDebouncedRefHistory/index.ts\n/**\n* Shorthand for [useRefHistory](https://vueuse.org/useRefHistory) with debounce filter.\n*\n* @see https://vueuse.org/useDebouncedRefHistory\n* @param source\n* @param options\n*/\nfunction useDebouncedRefHistory(source, options = {}) {\n\tconst filter = options.debounce ? debounceFilter(options.debounce) : void 0;\n\treturn { ...useRefHistory(source, {\n\t\t...options,\n\t\teventFilter: filter\n\t}) };\n}\n\n//#endregion\n//#region useDeviceMotion/index.ts\n/**\n* Reactive DeviceMotionEvent.\n*\n* @see https://vueuse.org/useDeviceMotion\n* @param options\n*/\nfunction useDeviceMotion(options = {}) {\n\tconst { window: window$1 = defaultWindow, requestPermissions = false, eventFilter = bypassFilter } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => typeof DeviceMotionEvent !== \"undefined\");\n\tconst requirePermissions = /* @__PURE__ */ useSupported(() => isSupported.value && \"requestPermission\" in DeviceMotionEvent && typeof DeviceMotionEvent.requestPermission === \"function\");\n\tconst permissionGranted = shallowRef(false);\n\tconst acceleration = ref({\n\t\tx: null,\n\t\ty: null,\n\t\tz: null\n\t});\n\tconst rotationRate = ref({\n\t\talpha: null,\n\t\tbeta: null,\n\t\tgamma: null\n\t});\n\tconst interval = shallowRef(0);\n\tconst accelerationIncludingGravity = ref({\n\t\tx: null,\n\t\ty: null,\n\t\tz: null\n\t});\n\tfunction init() {\n\t\tif (window$1) useEventListener(window$1, \"devicemotion\", createFilterWrapper(eventFilter, (event) => {\n\t\t\tvar _event$acceleration, _event$acceleration2, _event$acceleration3, _event$accelerationIn, _event$accelerationIn2, _event$accelerationIn3, _event$rotationRate, _event$rotationRate2, _event$rotationRate3;\n\t\t\tacceleration.value = {\n\t\t\t\tx: ((_event$acceleration = event.acceleration) === null || _event$acceleration === void 0 ? void 0 : _event$acceleration.x) || null,\n\t\t\t\ty: ((_event$acceleration2 = event.acceleration) === null || _event$acceleration2 === void 0 ? void 0 : _event$acceleration2.y) || null,\n\t\t\t\tz: ((_event$acceleration3 = event.acceleration) === null || _event$acceleration3 === void 0 ? void 0 : _event$acceleration3.z) || null\n\t\t\t};\n\t\t\taccelerationIncludingGravity.value = {\n\t\t\t\tx: ((_event$accelerationIn = event.accelerationIncludingGravity) === null || _event$accelerationIn === void 0 ? void 0 : _event$accelerationIn.x) || null,\n\t\t\t\ty: ((_event$accelerationIn2 = event.accelerationIncludingGravity) === null || _event$accelerationIn2 === void 0 ? void 0 : _event$accelerationIn2.y) || null,\n\t\t\t\tz: ((_event$accelerationIn3 = event.accelerationIncludingGravity) === null || _event$accelerationIn3 === void 0 ? void 0 : _event$accelerationIn3.z) || null\n\t\t\t};\n\t\t\trotationRate.value = {\n\t\t\t\talpha: ((_event$rotationRate = event.rotationRate) === null || _event$rotationRate === void 0 ? void 0 : _event$rotationRate.alpha) || null,\n\t\t\t\tbeta: ((_event$rotationRate2 = event.rotationRate) === null || _event$rotationRate2 === void 0 ? void 0 : _event$rotationRate2.beta) || null,\n\t\t\t\tgamma: ((_event$rotationRate3 = event.rotationRate) === null || _event$rotationRate3 === void 0 ? void 0 : _event$rotationRate3.gamma) || null\n\t\t\t};\n\t\t\tinterval.value = event.interval;\n\t\t}), { passive: true });\n\t}\n\tconst ensurePermissions = async () => {\n\t\tif (!requirePermissions.value) permissionGranted.value = true;\n\t\tif (permissionGranted.value) return;\n\t\tif (requirePermissions.value) {\n\t\t\tconst requestPermission = DeviceMotionEvent.requestPermission;\n\t\t\ttry {\n\t\t\t\tif (await requestPermission() === \"granted\") {\n\t\t\t\t\tpermissionGranted.value = true;\n\t\t\t\t\tinit();\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error(error);\n\t\t\t}\n\t\t}\n\t};\n\tif (isSupported.value) if (requestPermissions && requirePermissions.value) ensurePermissions().then(() => init());\n\telse init();\n\treturn {\n\t\tacceleration,\n\t\taccelerationIncludingGravity,\n\t\trotationRate,\n\t\tinterval,\n\t\tisSupported,\n\t\trequirePermissions,\n\t\tensurePermissions,\n\t\tpermissionGranted\n\t};\n}\n\n//#endregion\n//#region useDeviceOrientation/index.ts\n/**\n* Reactive DeviceOrientationEvent.\n*\n* @see https://vueuse.org/useDeviceOrientation\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useDeviceOrientation(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"DeviceOrientationEvent\" in window$1);\n\tconst isAbsolute = shallowRef(false);\n\tconst alpha = shallowRef(null);\n\tconst beta = shallowRef(null);\n\tconst gamma = shallowRef(null);\n\tif (window$1 && isSupported.value) useEventListener(window$1, \"deviceorientation\", (event) => {\n\t\tisAbsolute.value = event.absolute;\n\t\talpha.value = event.alpha;\n\t\tbeta.value = event.beta;\n\t\tgamma.value = event.gamma;\n\t}, { passive: true });\n\treturn {\n\t\tisSupported,\n\t\tisAbsolute,\n\t\talpha,\n\t\tbeta,\n\t\tgamma\n\t};\n}\n\n//#endregion\n//#region useDevicePixelRatio/index.ts\n/**\n* Reactively track `window.devicePixelRatio`.\n*\n* @see https://vueuse.org/useDevicePixelRatio\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useDevicePixelRatio(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst pixelRatio = shallowRef(1);\n\tconst query = useMediaQuery(() => `(resolution: ${pixelRatio.value}dppx)`, options);\n\tlet stop = noop;\n\tif (window$1) stop = watchImmediate(query, () => pixelRatio.value = window$1.devicePixelRatio);\n\treturn {\n\t\tpixelRatio: readonly(pixelRatio),\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region useDevicesList/index.ts\n/**\n* Reactive `enumerateDevices` listing available input/output devices\n*\n* @see https://vueuse.org/useDevicesList\n* @param options\n*/\nfunction useDevicesList(options = {}) {\n\tconst { navigator: navigator$1 = defaultNavigator, requestPermissions = false, constraints = {\n\t\taudio: true,\n\t\tvideo: true\n\t}, onUpdated: onUpdated$1 } = options;\n\tconst devices = ref([]);\n\tconst videoInputs = computed(() => devices.value.filter((i) => i.kind === \"videoinput\"));\n\tconst audioInputs = computed(() => devices.value.filter((i) => i.kind === \"audioinput\"));\n\tconst audioOutputs = computed(() => devices.value.filter((i) => i.kind === \"audiooutput\"));\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && navigator$1.mediaDevices && navigator$1.mediaDevices.enumerateDevices);\n\tconst permissionGranted = shallowRef(false);\n\tlet stream;\n\tasync function update() {\n\t\tif (!isSupported.value) return;\n\t\tdevices.value = await navigator$1.mediaDevices.enumerateDevices();\n\t\tonUpdated$1 === null || onUpdated$1 === void 0 || onUpdated$1(devices.value);\n\t\tif (stream) {\n\t\t\tstream.getTracks().forEach((t) => t.stop());\n\t\t\tstream = null;\n\t\t}\n\t}\n\tasync function ensurePermissions() {\n\t\tconst deviceName = constraints.video ? \"camera\" : \"microphone\";\n\t\tif (!isSupported.value) return false;\n\t\tif (permissionGranted.value) return true;\n\t\tconst { state, query } = usePermission(deviceName, { controls: true });\n\t\tawait query();\n\t\tif (state.value !== \"granted\") {\n\t\t\tlet granted = true;\n\t\t\ttry {\n\t\t\t\tconst allDevices = await navigator$1.mediaDevices.enumerateDevices();\n\t\t\t\tconst hasCamera = allDevices.some((device) => device.kind === \"videoinput\");\n\t\t\t\tconst hasMicrophone = allDevices.some((device) => device.kind === \"audioinput\" || device.kind === \"audiooutput\");\n\t\t\t\tconstraints.video = hasCamera ? constraints.video : false;\n\t\t\t\tconstraints.audio = hasMicrophone ? constraints.audio : false;\n\t\t\t\tstream = await navigator$1.mediaDevices.getUserMedia(constraints);\n\t\t\t} catch (_unused) {\n\t\t\t\tstream = null;\n\t\t\t\tgranted = false;\n\t\t\t}\n\t\t\tupdate();\n\t\t\tpermissionGranted.value = granted;\n\t\t} else permissionGranted.value = true;\n\t\treturn permissionGranted.value;\n\t}\n\tif (isSupported.value) {\n\t\tif (requestPermissions) ensurePermissions();\n\t\tuseEventListener(navigator$1.mediaDevices, \"devicechange\", update, { passive: true });\n\t\tupdate();\n\t}\n\treturn {\n\t\tdevices,\n\t\tensurePermissions,\n\t\tpermissionGranted,\n\t\tvideoInputs,\n\t\taudioInputs,\n\t\taudioOutputs,\n\t\tisSupported\n\t};\n}\n\n//#endregion\n//#region useDisplayMedia/index.ts\n/**\n* Reactive `mediaDevices.getDisplayMedia` streaming\n*\n* @see https://vueuse.org/useDisplayMedia\n* @param options\n*/\nfunction useDisplayMedia(options = {}) {\n\tvar _options$enabled;\n\tconst enabled = shallowRef((_options$enabled = options.enabled) !== null && _options$enabled !== void 0 ? _options$enabled : false);\n\tconst video = options.video;\n\tconst audio = options.audio;\n\tconst { navigator: navigator$1 = defaultNavigator } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => {\n\t\tvar _navigator$mediaDevic;\n\t\treturn navigator$1 === null || navigator$1 === void 0 || (_navigator$mediaDevic = navigator$1.mediaDevices) === null || _navigator$mediaDevic === void 0 ? void 0 : _navigator$mediaDevic.getDisplayMedia;\n\t});\n\tconst constraint = {\n\t\taudio,\n\t\tvideo\n\t};\n\tconst stream = shallowRef();\n\tasync function _start() {\n\t\tvar _stream$value;\n\t\tif (!isSupported.value || stream.value) return;\n\t\tstream.value = await navigator$1.mediaDevices.getDisplayMedia(constraint);\n\t\t(_stream$value = stream.value) === null || _stream$value === void 0 || _stream$value.getTracks().forEach((t) => useEventListener(t, \"ended\", stop, { passive: true }));\n\t\treturn stream.value;\n\t}\n\tasync function _stop() {\n\t\tvar _stream$value2;\n\t\t(_stream$value2 = stream.value) === null || _stream$value2 === void 0 || _stream$value2.getTracks().forEach((t) => t.stop());\n\t\tstream.value = void 0;\n\t}\n\tfunction stop() {\n\t\t_stop();\n\t\tenabled.value = false;\n\t}\n\tasync function start() {\n\t\tawait _start();\n\t\tif (stream.value) enabled.value = true;\n\t\treturn stream.value;\n\t}\n\twatch(enabled, (v) => {\n\t\tif (v) _start();\n\t\telse _stop();\n\t}, { immediate: true });\n\treturn {\n\t\tisSupported,\n\t\tstream,\n\t\tstart,\n\t\tstop,\n\t\tenabled\n\t};\n}\n\n//#endregion\n//#region useDocumentVisibility/index.ts\n/**\n* Reactively track `document.visibilityState`.\n*\n* @see https://vueuse.org/useDocumentVisibility\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useDocumentVisibility(options = {}) {\n\tconst { document: document$1 = defaultDocument } = options;\n\tif (!document$1) return shallowRef(\"visible\");\n\tconst visibility = shallowRef(document$1.visibilityState);\n\tuseEventListener(document$1, \"visibilitychange\", () => {\n\t\tvisibility.value = document$1.visibilityState;\n\t}, { passive: true });\n\treturn visibility;\n}\n\n//#endregion\n//#region useDraggable/index.ts\n/**\n* Make elements draggable.\n*\n* @see https://vueuse.org/useDraggable\n* @param target\n* @param options\n*/\nfunction useDraggable(target, options = {}) {\n\tvar _toValue;\n\tconst { pointerTypes, preventDefault: preventDefault$1, stopPropagation, exact, onMove, onEnd, onStart, initialValue, axis = \"both\", draggingElement = defaultWindow, containerElement, handle: draggingHandle = target, buttons = [0] } = options;\n\tconst position = ref((_toValue = toValue(initialValue)) !== null && _toValue !== void 0 ? _toValue : {\n\t\tx: 0,\n\t\ty: 0\n\t});\n\tconst pressedDelta = ref();\n\tconst filterEvent = (e) => {\n\t\tif (pointerTypes) return pointerTypes.includes(e.pointerType);\n\t\treturn true;\n\t};\n\tconst handleEvent = (e) => {\n\t\tif (toValue(preventDefault$1)) e.preventDefault();\n\t\tif (toValue(stopPropagation)) e.stopPropagation();\n\t};\n\tconst start = (e) => {\n\t\tvar _container$getBoundin;\n\t\tif (!toValue(buttons).includes(e.button)) return;\n\t\tif (toValue(options.disabled) || !filterEvent(e)) return;\n\t\tif (toValue(exact) && e.target !== toValue(target)) return;\n\t\tconst container = toValue(containerElement);\n\t\tconst containerRect = container === null || container === void 0 || (_container$getBoundin = container.getBoundingClientRect) === null || _container$getBoundin === void 0 ? void 0 : _container$getBoundin.call(container);\n\t\tconst targetRect = toValue(target).getBoundingClientRect();\n\t\tconst pos = {\n\t\t\tx: e.clientX - (container ? targetRect.left - containerRect.left + container.scrollLeft : targetRect.left),\n\t\t\ty: e.clientY - (container ? targetRect.top - containerRect.top + container.scrollTop : targetRect.top)\n\t\t};\n\t\tif ((onStart === null || onStart === void 0 ? void 0 : onStart(pos, e)) === false) return;\n\t\tpressedDelta.value = pos;\n\t\thandleEvent(e);\n\t};\n\tconst move = (e) => {\n\t\tif (toValue(options.disabled) || !filterEvent(e)) return;\n\t\tif (!pressedDelta.value) return;\n\t\tconst container = toValue(containerElement);\n\t\tconst targetRect = toValue(target).getBoundingClientRect();\n\t\tlet { x, y } = position.value;\n\t\tif (axis === \"x\" || axis === \"both\") {\n\t\t\tx = e.clientX - pressedDelta.value.x;\n\t\t\tif (container) x = Math.min(Math.max(0, x), container.scrollWidth - targetRect.width);\n\t\t}\n\t\tif (axis === \"y\" || axis === \"both\") {\n\t\t\ty = e.clientY - pressedDelta.value.y;\n\t\t\tif (container) y = Math.min(Math.max(0, y), container.scrollHeight - targetRect.height);\n\t\t}\n\t\tposition.value = {\n\t\t\tx,\n\t\t\ty\n\t\t};\n\t\tonMove === null || onMove === void 0 || onMove(position.value, e);\n\t\thandleEvent(e);\n\t};\n\tconst end = (e) => {\n\t\tif (toValue(options.disabled) || !filterEvent(e)) return;\n\t\tif (!pressedDelta.value) return;\n\t\tpressedDelta.value = void 0;\n\t\tonEnd === null || onEnd === void 0 || onEnd(position.value, e);\n\t\thandleEvent(e);\n\t};\n\tif (isClient) {\n\t\tconst config = () => {\n\t\t\tvar _options$capture;\n\t\t\treturn {\n\t\t\t\tcapture: (_options$capture = options.capture) !== null && _options$capture !== void 0 ? _options$capture : true,\n\t\t\t\tpassive: !toValue(preventDefault$1)\n\t\t\t};\n\t\t};\n\t\tuseEventListener(draggingHandle, \"pointerdown\", start, config);\n\t\tuseEventListener(draggingElement, \"pointermove\", move, config);\n\t\tuseEventListener(draggingElement, \"pointerup\", end, config);\n\t}\n\treturn {\n\t\t...toRefs(position),\n\t\tposition,\n\t\tisDragging: computed(() => !!pressedDelta.value),\n\t\tstyle: computed(() => `left:${position.value.x}px;top:${position.value.y}px;`)\n\t};\n}\n\n//#endregion\n//#region useDropZone/index.ts\nfunction useDropZone(target, options = {}) {\n\tconst isOverDropZone = shallowRef(false);\n\tconst files = shallowRef(null);\n\tlet counter = 0;\n\tlet isValid = true;\n\tif (isClient) {\n\t\tvar _options$multiple, _options$preventDefau;\n\t\tconst _options = typeof options === \"function\" ? { onDrop: options } : options;\n\t\tconst multiple = (_options$multiple = _options.multiple) !== null && _options$multiple !== void 0 ? _options$multiple : true;\n\t\tconst preventDefaultForUnhandled = (_options$preventDefau = _options.preventDefaultForUnhandled) !== null && _options$preventDefau !== void 0 ? _options$preventDefau : false;\n\t\tconst getFiles = (event) => {\n\t\t\tvar _event$dataTransfer$f, _event$dataTransfer;\n\t\t\tconst list = Array.from((_event$dataTransfer$f = (_event$dataTransfer = event.dataTransfer) === null || _event$dataTransfer === void 0 ? void 0 : _event$dataTransfer.files) !== null && _event$dataTransfer$f !== void 0 ? _event$dataTransfer$f : []);\n\t\t\treturn list.length === 0 ? null : multiple ? list : [list[0]];\n\t\t};\n\t\tconst checkDataTypes = (types) => {\n\t\t\tconst dataTypes = unref(_options.dataTypes);\n\t\t\tif (typeof dataTypes === \"function\") return dataTypes(types);\n\t\t\tif (!(dataTypes === null || dataTypes === void 0 ? void 0 : dataTypes.length)) return true;\n\t\t\tif (types.length === 0) return false;\n\t\t\treturn types.every((type) => dataTypes.some((allowedType) => type.includes(allowedType)));\n\t\t};\n\t\tconst checkValidity = (items) => {\n\t\t\tif (_options.checkValidity) return _options.checkValidity(items);\n\t\t\tconst dataTypesValid = checkDataTypes(Array.from(items !== null && items !== void 0 ? items : []).map((item) => item.type));\n\t\t\tconst multipleFilesValid = multiple || items.length <= 1;\n\t\t\treturn dataTypesValid && multipleFilesValid;\n\t\t};\n\t\tconst isSafari = () => /^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent) && !(\"chrome\" in window);\n\t\tconst handleDragEvent = (event, eventType) => {\n\t\t\tvar _event$dataTransfer2, _ref;\n\t\t\tconst dataTransferItemList = (_event$dataTransfer2 = event.dataTransfer) === null || _event$dataTransfer2 === void 0 ? void 0 : _event$dataTransfer2.items;\n\t\t\tisValid = (_ref = dataTransferItemList && checkValidity(dataTransferItemList)) !== null && _ref !== void 0 ? _ref : false;\n\t\t\tif (preventDefaultForUnhandled) event.preventDefault();\n\t\t\tif (!isSafari() && !isValid) {\n\t\t\t\tif (event.dataTransfer) event.dataTransfer.dropEffect = \"none\";\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tevent.preventDefault();\n\t\t\tif (event.dataTransfer) event.dataTransfer.dropEffect = \"copy\";\n\t\t\tconst currentFiles = getFiles(event);\n\t\t\tswitch (eventType) {\n\t\t\t\tcase \"enter\":\n\t\t\t\t\tvar _options$onEnter;\n\t\t\t\t\tcounter += 1;\n\t\t\t\t\tisOverDropZone.value = true;\n\t\t\t\t\t(_options$onEnter = _options.onEnter) === null || _options$onEnter === void 0 || _options$onEnter.call(_options, null, event);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"over\":\n\t\t\t\t\tvar _options$onOver;\n\t\t\t\t\t(_options$onOver = _options.onOver) === null || _options$onOver === void 0 || _options$onOver.call(_options, null, event);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"leave\":\n\t\t\t\t\tvar _options$onLeave;\n\t\t\t\t\tcounter -= 1;\n\t\t\t\t\tif (counter === 0) isOverDropZone.value = false;\n\t\t\t\t\t(_options$onLeave = _options.onLeave) === null || _options$onLeave === void 0 || _options$onLeave.call(_options, null, event);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"drop\":\n\t\t\t\t\tcounter = 0;\n\t\t\t\t\tisOverDropZone.value = false;\n\t\t\t\t\tif (isValid) {\n\t\t\t\t\t\tvar _options$onDrop;\n\t\t\t\t\t\tfiles.value = currentFiles;\n\t\t\t\t\t\t(_options$onDrop = _options.onDrop) === null || _options$onDrop === void 0 || _options$onDrop.call(_options, currentFiles, event);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t};\n\t\tuseEventListener(target, \"dragenter\", (event) => handleDragEvent(event, \"enter\"));\n\t\tuseEventListener(target, \"dragover\", (event) => handleDragEvent(event, \"over\"));\n\t\tuseEventListener(target, \"dragleave\", (event) => handleDragEvent(event, \"leave\"));\n\t\tuseEventListener(target, \"drop\", (event) => handleDragEvent(event, \"drop\"));\n\t}\n\treturn {\n\t\tfiles,\n\t\tisOverDropZone\n\t};\n}\n\n//#endregion\n//#region useResizeObserver/index.ts\n/**\n* Reports changes to the dimensions of an Element's content or the border-box\n*\n* @see https://vueuse.org/useResizeObserver\n* @param target\n* @param callback\n* @param options\n*/\nfunction useResizeObserver(target, callback, options = {}) {\n\tconst { window: window$1 = defaultWindow,...observerOptions } = options;\n\tlet observer;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"ResizeObserver\" in window$1);\n\tconst cleanup = () => {\n\t\tif (observer) {\n\t\t\tobserver.disconnect();\n\t\t\tobserver = void 0;\n\t\t}\n\t};\n\tconst stopWatch = watch(computed(() => {\n\t\tconst _targets = toValue(target);\n\t\treturn Array.isArray(_targets) ? _targets.map((el) => unrefElement(el)) : [unrefElement(_targets)];\n\t}), (els) => {\n\t\tcleanup();\n\t\tif (isSupported.value && window$1) {\n\t\t\tobserver = new ResizeObserver(callback);\n\t\t\tfor (const _el of els) if (_el) observer.observe(_el, observerOptions);\n\t\t}\n\t}, {\n\t\timmediate: true,\n\t\tflush: \"post\"\n\t});\n\tconst stop = () => {\n\t\tcleanup();\n\t\tstopWatch();\n\t};\n\ttryOnScopeDispose(stop);\n\treturn {\n\t\tisSupported,\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region useElementBounding/index.ts\n/**\n* Reactive bounding box of an HTML element.\n*\n* @see https://vueuse.org/useElementBounding\n* @param target\n*/\nfunction useElementBounding(target, options = {}) {\n\tconst { reset = true, windowResize = true, windowScroll = true, immediate = true, updateTiming = \"sync\" } = options;\n\tconst height = shallowRef(0);\n\tconst bottom = shallowRef(0);\n\tconst left = shallowRef(0);\n\tconst right = shallowRef(0);\n\tconst top = shallowRef(0);\n\tconst width = shallowRef(0);\n\tconst x = shallowRef(0);\n\tconst y = shallowRef(0);\n\tfunction recalculate() {\n\t\tconst el = unrefElement(target);\n\t\tif (!el) {\n\t\t\tif (reset) {\n\t\t\t\theight.value = 0;\n\t\t\t\tbottom.value = 0;\n\t\t\t\tleft.value = 0;\n\t\t\t\tright.value = 0;\n\t\t\t\ttop.value = 0;\n\t\t\t\twidth.value = 0;\n\t\t\t\tx.value = 0;\n\t\t\t\ty.value = 0;\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tconst rect = el.getBoundingClientRect();\n\t\theight.value = rect.height;\n\t\tbottom.value = rect.bottom;\n\t\tleft.value = rect.left;\n\t\tright.value = rect.right;\n\t\ttop.value = rect.top;\n\t\twidth.value = rect.width;\n\t\tx.value = rect.x;\n\t\ty.value = rect.y;\n\t}\n\tfunction update() {\n\t\tif (updateTiming === \"sync\") recalculate();\n\t\telse if (updateTiming === \"next-frame\") requestAnimationFrame(() => recalculate());\n\t}\n\tuseResizeObserver(target, update);\n\twatch(() => unrefElement(target), (ele) => !ele && update());\n\tuseMutationObserver(target, update, { attributeFilter: [\"style\", \"class\"] });\n\tif (windowScroll) useEventListener(\"scroll\", update, {\n\t\tcapture: true,\n\t\tpassive: true\n\t});\n\tif (windowResize) useEventListener(\"resize\", update, { passive: true });\n\ttryOnMounted(() => {\n\t\tif (immediate) update();\n\t});\n\treturn {\n\t\theight,\n\t\tbottom,\n\t\tleft,\n\t\tright,\n\t\ttop,\n\t\twidth,\n\t\tx,\n\t\ty,\n\t\tupdate\n\t};\n}\n\n//#endregion\n//#region useElementByPoint/index.ts\n/**\n* Reactive element by point.\n*\n* @see https://vueuse.org/useElementByPoint\n* @param options - UseElementByPointOptions\n*/\nfunction useElementByPoint(options) {\n\tconst { x, y, document: document$1 = defaultDocument, multiple, interval = \"requestAnimationFrame\", immediate = true } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => {\n\t\tif (toValue(multiple)) return document$1 && \"elementsFromPoint\" in document$1;\n\t\treturn document$1 && \"elementFromPoint\" in document$1;\n\t});\n\tconst element = shallowRef(null);\n\tconst cb = () => {\n\t\tvar _document$elementsFro, _document$elementFrom;\n\t\telement.value = toValue(multiple) ? (_document$elementsFro = document$1 === null || document$1 === void 0 ? void 0 : document$1.elementsFromPoint(toValue(x), toValue(y))) !== null && _document$elementsFro !== void 0 ? _document$elementsFro : [] : (_document$elementFrom = document$1 === null || document$1 === void 0 ? void 0 : document$1.elementFromPoint(toValue(x), toValue(y))) !== null && _document$elementFrom !== void 0 ? _document$elementFrom : null;\n\t};\n\treturn {\n\t\tisSupported,\n\t\telement,\n\t\t...interval === \"requestAnimationFrame\" ? useRafFn(cb, { immediate }) : useIntervalFn(cb, interval, { immediate })\n\t};\n}\n\n//#endregion\n//#region useElementHover/index.ts\nfunction useElementHover(el, options = {}) {\n\tconst { delayEnter = 0, delayLeave = 0, triggerOnRemoval = false, window: window$1 = defaultWindow } = options;\n\tconst isHovered = shallowRef(false);\n\tlet timer;\n\tconst toggle = (entering) => {\n\t\tconst delay = entering ? delayEnter : delayLeave;\n\t\tif (timer) {\n\t\t\tclearTimeout(timer);\n\t\t\ttimer = void 0;\n\t\t}\n\t\tif (delay) timer = setTimeout(() => isHovered.value = entering, delay);\n\t\telse isHovered.value = entering;\n\t};\n\tif (!window$1) return isHovered;\n\tuseEventListener(el, \"mouseenter\", () => toggle(true), { passive: true });\n\tuseEventListener(el, \"mouseleave\", () => toggle(false), { passive: true });\n\tif (triggerOnRemoval) onElementRemoval(computed(() => unrefElement(el)), () => toggle(false));\n\treturn isHovered;\n}\n\n//#endregion\n//#region useElementSize/index.ts\n/**\n* Reactive size of an HTML element.\n*\n* @see https://vueuse.org/useElementSize\n*/\nfunction useElementSize(target, initialSize = {\n\twidth: 0,\n\theight: 0\n}, options = {}) {\n\tconst { window: window$1 = defaultWindow, box = \"content-box\" } = options;\n\tconst isSVG = computed(() => {\n\t\tvar _unrefElement;\n\t\treturn (_unrefElement = unrefElement(target)) === null || _unrefElement === void 0 || (_unrefElement = _unrefElement.namespaceURI) === null || _unrefElement === void 0 ? void 0 : _unrefElement.includes(\"svg\");\n\t});\n\tconst width = shallowRef(initialSize.width);\n\tconst height = shallowRef(initialSize.height);\n\tconst { stop: stop1 } = useResizeObserver(target, ([entry]) => {\n\t\tconst boxSize = box === \"border-box\" ? entry.borderBoxSize : box === \"content-box\" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;\n\t\tif (window$1 && isSVG.value) {\n\t\t\tconst $elem = unrefElement(target);\n\t\t\tif ($elem) {\n\t\t\t\tconst rect = $elem.getBoundingClientRect();\n\t\t\t\twidth.value = rect.width;\n\t\t\t\theight.value = rect.height;\n\t\t\t}\n\t\t} else if (boxSize) {\n\t\t\tconst formatBoxSize = toArray(boxSize);\n\t\t\twidth.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);\n\t\t\theight.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);\n\t\t} else {\n\t\t\twidth.value = entry.contentRect.width;\n\t\t\theight.value = entry.contentRect.height;\n\t\t}\n\t}, options);\n\ttryOnMounted(() => {\n\t\tconst ele = unrefElement(target);\n\t\tif (ele) {\n\t\t\twidth.value = \"offsetWidth\" in ele ? ele.offsetWidth : initialSize.width;\n\t\t\theight.value = \"offsetHeight\" in ele ? ele.offsetHeight : initialSize.height;\n\t\t}\n\t});\n\tconst stop2 = watch(() => unrefElement(target), (ele) => {\n\t\twidth.value = ele ? initialSize.width : 0;\n\t\theight.value = ele ? initialSize.height : 0;\n\t});\n\tfunction stop() {\n\t\tstop1();\n\t\tstop2();\n\t}\n\treturn {\n\t\twidth,\n\t\theight,\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region useIntersectionObserver/index.ts\n/**\n* Detects that a target element's visibility.\n*\n* @see https://vueuse.org/useIntersectionObserver\n* @param target\n* @param callback\n* @param options\n*/\nfunction useIntersectionObserver(target, callback, options = {}) {\n\tconst { root, rootMargin = \"0px\", threshold = 0, window: window$1 = defaultWindow, immediate = true } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"IntersectionObserver\" in window$1);\n\tconst targets = computed(() => {\n\t\treturn toArray(toValue(target)).map(unrefElement).filter(notNullish);\n\t});\n\tlet cleanup = noop;\n\tconst isActive = shallowRef(immediate);\n\tconst stopWatch = isSupported.value ? watch(() => [\n\t\ttargets.value,\n\t\tunrefElement(root),\n\t\tisActive.value\n\t], ([targets$1, root$1]) => {\n\t\tcleanup();\n\t\tif (!isActive.value) return;\n\t\tif (!targets$1.length) return;\n\t\tconst observer = new IntersectionObserver(callback, {\n\t\t\troot: unrefElement(root$1),\n\t\t\trootMargin,\n\t\t\tthreshold\n\t\t});\n\t\ttargets$1.forEach((el) => el && observer.observe(el));\n\t\tcleanup = () => {\n\t\t\tobserver.disconnect();\n\t\t\tcleanup = noop;\n\t\t};\n\t}, {\n\t\timmediate,\n\t\tflush: \"post\"\n\t}) : noop;\n\tconst stop = () => {\n\t\tcleanup();\n\t\tstopWatch();\n\t\tisActive.value = false;\n\t};\n\ttryOnScopeDispose(stop);\n\treturn {\n\t\tisSupported,\n\t\tisActive,\n\t\tpause() {\n\t\t\tcleanup();\n\t\t\tisActive.value = false;\n\t\t},\n\t\tresume() {\n\t\t\tisActive.value = true;\n\t\t},\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region useElementVisibility/index.ts\n/**\n* Tracks the visibility of an element within the viewport.\n*\n* @see https://vueuse.org/useElementVisibility\n*/\nfunction useElementVisibility(element, options = {}) {\n\tconst { window: window$1 = defaultWindow, scrollTarget, threshold = 0, rootMargin, once = false, initialValue = false } = options;\n\tconst elementIsVisible = shallowRef(initialValue);\n\tconst { stop } = useIntersectionObserver(element, (intersectionObserverEntries) => {\n\t\tlet isIntersecting = elementIsVisible.value;\n\t\tlet latestTime = 0;\n\t\tfor (const entry of intersectionObserverEntries) if (entry.time >= latestTime) {\n\t\t\tlatestTime = entry.time;\n\t\t\tisIntersecting = entry.isIntersecting;\n\t\t}\n\t\telementIsVisible.value = isIntersecting;\n\t\tif (once) watchOnce(elementIsVisible, () => {\n\t\t\tstop();\n\t\t});\n\t}, {\n\t\troot: scrollTarget,\n\t\twindow: window$1,\n\t\tthreshold,\n\t\trootMargin: toValue(rootMargin)\n\t});\n\treturn elementIsVisible;\n}\n\n//#endregion\n//#region useEventBus/internal.ts\nconst events = /* @__PURE__ */ new Map();\n\n//#endregion\n//#region useEventBus/index.ts\n/* @__NO_SIDE_EFFECTS__ */\nfunction useEventBus(key) {\n\tconst scope = getCurrentScope();\n\tfunction on(listener) {\n\t\tvar _scope$cleanups;\n\t\tconst listeners = events.get(key) || /* @__PURE__ */ new Set();\n\t\tlisteners.add(listener);\n\t\tevents.set(key, listeners);\n\t\tconst _off = () => off(listener);\n\t\tscope === null || scope === void 0 || (_scope$cleanups = scope.cleanups) === null || _scope$cleanups === void 0 || _scope$cleanups.push(_off);\n\t\treturn _off;\n\t}\n\tfunction once(listener) {\n\t\tfunction _listener(...args) {\n\t\t\toff(_listener);\n\t\t\tlistener(...args);\n\t\t}\n\t\treturn on(_listener);\n\t}\n\tfunction off(listener) {\n\t\tconst listeners = events.get(key);\n\t\tif (!listeners) return;\n\t\tlisteners.delete(listener);\n\t\tif (!listeners.size) reset();\n\t}\n\tfunction reset() {\n\t\tevents.delete(key);\n\t}\n\tfunction emit(event, payload) {\n\t\tvar _events$get;\n\t\t(_events$get = events.get(key)) === null || _events$get === void 0 || _events$get.forEach((v) => v(event, payload));\n\t}\n\treturn {\n\t\ton,\n\t\tonce,\n\t\toff,\n\t\temit,\n\t\treset\n\t};\n}\n\n//#endregion\n//#region useEventSource/index.ts\nfunction resolveNestedOptions$1(options) {\n\tif (options === true) return {};\n\treturn options;\n}\n/**\n* Reactive wrapper for EventSource.\n*\n* @see https://vueuse.org/useEventSource\n* @see https://developer.mozilla.org/en-US/docs/Web/API/EventSource/EventSource EventSource\n* @param url\n* @param events\n* @param options\n*/\nfunction useEventSource(url, events$1 = [], options = {}) {\n\tconst event = shallowRef(null);\n\tconst data = shallowRef(null);\n\tconst status = shallowRef(\"CONNECTING\");\n\tconst eventSource = ref(null);\n\tconst error = shallowRef(null);\n\tconst urlRef = toRef(url);\n\tconst lastEventId = shallowRef(null);\n\tlet explicitlyClosed = false;\n\tlet retried = 0;\n\tconst { withCredentials = false, immediate = true, autoConnect = true, autoReconnect, serializer = { read: (v) => v } } = options;\n\tconst close = () => {\n\t\tif (isClient && eventSource.value) {\n\t\t\teventSource.value.close();\n\t\t\teventSource.value = null;\n\t\t\tstatus.value = \"CLOSED\";\n\t\t\texplicitlyClosed = true;\n\t\t}\n\t};\n\tconst _init = () => {\n\t\tif (explicitlyClosed || typeof urlRef.value === \"undefined\") return;\n\t\tconst es = new EventSource(urlRef.value, { withCredentials });\n\t\tstatus.value = \"CONNECTING\";\n\t\teventSource.value = es;\n\t\tes.onopen = () => {\n\t\t\tstatus.value = \"OPEN\";\n\t\t\terror.value = null;\n\t\t};\n\t\tes.onerror = (e) => {\n\t\t\tstatus.value = \"CLOSED\";\n\t\t\terror.value = e;\n\t\t\tif (es.readyState === 2 && !explicitlyClosed && autoReconnect) {\n\t\t\t\tes.close();\n\t\t\t\tconst { retries = -1, delay = 1e3, onFailed } = resolveNestedOptions$1(autoReconnect);\n\t\t\t\tretried += 1;\n\t\t\t\tif (typeof retries === \"number\" && (retries < 0 || retried < retries)) setTimeout(_init, delay);\n\t\t\t\telse if (typeof retries === \"function\" && retries()) setTimeout(_init, delay);\n\t\t\t\telse onFailed === null || onFailed === void 0 || onFailed();\n\t\t\t}\n\t\t};\n\t\tes.onmessage = (e) => {\n\t\t\tvar _serializer$read;\n\t\t\tevent.value = null;\n\t\t\tdata.value = (_serializer$read = serializer.read(e.data)) !== null && _serializer$read !== void 0 ? _serializer$read : null;\n\t\t\tlastEventId.value = e.lastEventId;\n\t\t};\n\t\tfor (const event_name of events$1) useEventListener(es, event_name, (e) => {\n\t\t\tvar _serializer$read2, _e$lastEventId;\n\t\t\tevent.value = event_name;\n\t\t\tdata.value = (_serializer$read2 = serializer.read(e.data)) !== null && _serializer$read2 !== void 0 ? _serializer$read2 : null;\n\t\t\tlastEventId.value = (_e$lastEventId = e.lastEventId) !== null && _e$lastEventId !== void 0 ? _e$lastEventId : null;\n\t\t}, { passive: true });\n\t};\n\tconst open = () => {\n\t\tif (!isClient) return;\n\t\tclose();\n\t\texplicitlyClosed = false;\n\t\tretried = 0;\n\t\t_init();\n\t};\n\tif (immediate) open();\n\tif (autoConnect) watch(urlRef, open);\n\ttryOnScopeDispose(close);\n\treturn {\n\t\teventSource,\n\t\tevent,\n\t\tdata,\n\t\tstatus,\n\t\terror,\n\t\topen,\n\t\tclose,\n\t\tlastEventId\n\t};\n}\n\n//#endregion\n//#region useEyeDropper/index.ts\n/**\n* Reactive [EyeDropper API](https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper_API)\n*\n* @see https://vueuse.org/useEyeDropper\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useEyeDropper(options = {}) {\n\tconst { initialValue = \"\" } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => typeof window !== \"undefined\" && \"EyeDropper\" in window);\n\tconst sRGBHex = shallowRef(initialValue);\n\tasync function open(openOptions) {\n\t\tif (!isSupported.value) return;\n\t\tconst result = await new window.EyeDropper().open(openOptions);\n\t\tsRGBHex.value = result.sRGBHex;\n\t\treturn result;\n\t}\n\treturn {\n\t\tisSupported,\n\t\tsRGBHex,\n\t\topen\n\t};\n}\n\n//#endregion\n//#region useFavicon/index.ts\nfunction useFavicon(newIcon = null, options = {}) {\n\tconst { baseUrl = \"\", rel = \"icon\", document: document$1 = defaultDocument } = options;\n\tconst favicon = toRef(newIcon);\n\tconst applyIcon = (icon) => {\n\t\tconst elements = document$1 === null || document$1 === void 0 ? void 0 : document$1.head.querySelectorAll(`link[rel*=\"${rel}\"]`);\n\t\tif (!elements || elements.length === 0) {\n\t\t\tconst link = document$1 === null || document$1 === void 0 ? void 0 : document$1.createElement(\"link\");\n\t\t\tif (link) {\n\t\t\t\tlink.rel = rel;\n\t\t\t\tlink.href = `${baseUrl}${icon}`;\n\t\t\t\tlink.type = `image/${icon.split(\".\").pop()}`;\n\t\t\t\tdocument$1 === null || document$1 === void 0 || document$1.head.append(link);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\telements === null || elements === void 0 || elements.forEach((el) => el.href = `${baseUrl}${icon}`);\n\t};\n\twatch(favicon, (i, o) => {\n\t\tif (typeof i === \"string\" && i !== o) applyIcon(i);\n\t}, { immediate: true });\n\treturn favicon;\n}\n\n//#endregion\n//#region useFetch/index.ts\nconst payloadMapping = {\n\tjson: \"application/json\",\n\ttext: \"text/plain\"\n};\n/**\n* !!!IMPORTANT!!!\n*\n* If you update the UseFetchOptions interface, be sure to update this object\n* to include the new options\n*/\nfunction isFetchOptions(obj) {\n\treturn obj && containsProp(obj, \"immediate\", \"refetch\", \"initialData\", \"timeout\", \"beforeFetch\", \"afterFetch\", \"onFetchError\", \"fetch\", \"updateDataOnError\");\n}\nconst reAbsolute = /^(?:[a-z][a-z\\d+\\-.]*:)?\\/\\//i;\nfunction isAbsoluteURL(url) {\n\treturn reAbsolute.test(url);\n}\nfunction headersToObject(headers) {\n\tif (typeof Headers !== \"undefined\" && headers instanceof Headers) return Object.fromEntries(headers.entries());\n\treturn headers;\n}\nfunction combineCallbacks(combination, ...callbacks) {\n\tif (combination === \"overwrite\") return async (ctx) => {\n\t\tlet callback;\n\t\tfor (let i = callbacks.length - 1; i >= 0; i--) if (callbacks[i] != null) {\n\t\t\tcallback = callbacks[i];\n\t\t\tbreak;\n\t\t}\n\t\tif (callback) return {\n\t\t\t...ctx,\n\t\t\t...await callback(ctx)\n\t\t};\n\t\treturn ctx;\n\t};\n\telse return async (ctx) => {\n\t\tfor (const callback of callbacks) if (callback) ctx = {\n\t\t\t...ctx,\n\t\t\t...await callback(ctx)\n\t\t};\n\t\treturn ctx;\n\t};\n}\nfunction createFetch(config = {}) {\n\tconst _combination = config.combination || \"chain\";\n\tconst _options = config.options || {};\n\tconst _fetchOptions = config.fetchOptions || {};\n\tfunction useFactoryFetch(url, ...args) {\n\t\tconst computedUrl = computed(() => {\n\t\t\tconst baseUrl = toValue(config.baseUrl);\n\t\t\tconst targetUrl = toValue(url);\n\t\t\treturn baseUrl && !isAbsoluteURL(targetUrl) ? joinPaths(baseUrl, targetUrl) : targetUrl;\n\t\t});\n\t\tlet options = _options;\n\t\tlet fetchOptions = _fetchOptions;\n\t\tif (args.length > 0) if (isFetchOptions(args[0])) options = {\n\t\t\t...options,\n\t\t\t...args[0],\n\t\t\tbeforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[0].beforeFetch),\n\t\t\tafterFetch: combineCallbacks(_combination, _options.afterFetch, args[0].afterFetch),\n\t\t\tonFetchError: combineCallbacks(_combination, _options.onFetchError, args[0].onFetchError)\n\t\t};\n\t\telse fetchOptions = {\n\t\t\t...fetchOptions,\n\t\t\t...args[0],\n\t\t\theaders: {\n\t\t\t\t...headersToObject(fetchOptions.headers) || {},\n\t\t\t\t...headersToObject(args[0].headers) || {}\n\t\t\t}\n\t\t};\n\t\tif (args.length > 1 && isFetchOptions(args[1])) options = {\n\t\t\t...options,\n\t\t\t...args[1],\n\t\t\tbeforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[1].beforeFetch),\n\t\t\tafterFetch: combineCallbacks(_combination, _options.afterFetch, args[1].afterFetch),\n\t\t\tonFetchError: combineCallbacks(_combination, _options.onFetchError, args[1].onFetchError)\n\t\t};\n\t\treturn useFetch(computedUrl, fetchOptions, options);\n\t}\n\treturn useFactoryFetch;\n}\nfunction useFetch(url, ...args) {\n\tvar _defaultWindow$fetch, _globalThis;\n\tconst supportsAbort = typeof AbortController === \"function\";\n\tlet fetchOptions = {};\n\tlet options = {\n\t\timmediate: true,\n\t\trefetch: false,\n\t\ttimeout: 0,\n\t\tupdateDataOnError: false\n\t};\n\tconst config = {\n\t\tmethod: \"GET\",\n\t\ttype: \"text\",\n\t\tpayload: void 0\n\t};\n\tif (args.length > 0) if (isFetchOptions(args[0])) options = {\n\t\t...options,\n\t\t...args[0]\n\t};\n\telse fetchOptions = args[0];\n\tif (args.length > 1) {\n\t\tif (isFetchOptions(args[1])) options = {\n\t\t\t...options,\n\t\t\t...args[1]\n\t\t};\n\t}\n\tconst { fetch = (_defaultWindow$fetch = defaultWindow === null || defaultWindow === void 0 ? void 0 : defaultWindow.fetch) !== null && _defaultWindow$fetch !== void 0 ? _defaultWindow$fetch : (_globalThis = globalThis) === null || _globalThis === void 0 ? void 0 : _globalThis.fetch, initialData, timeout } = options;\n\tconst responseEvent = createEventHook();\n\tconst errorEvent = createEventHook();\n\tconst finallyEvent = createEventHook();\n\tconst isFinished = shallowRef(false);\n\tconst isFetching = shallowRef(false);\n\tconst aborted = shallowRef(false);\n\tconst statusCode = shallowRef(null);\n\tconst response = shallowRef(null);\n\tconst error = shallowRef(null);\n\tconst data = shallowRef(initialData || null);\n\tconst canAbort = computed(() => supportsAbort && isFetching.value);\n\tlet controller;\n\tlet timer;\n\tconst abort = (reason) => {\n\t\tif (supportsAbort) {\n\t\t\tcontroller === null || controller === void 0 || controller.abort(reason);\n\t\t\tcontroller = new AbortController();\n\t\t\tcontroller.signal.onabort = () => aborted.value = true;\n\t\t\tfetchOptions = {\n\t\t\t\t...fetchOptions,\n\t\t\t\tsignal: controller.signal\n\t\t\t};\n\t\t}\n\t};\n\tconst loading = (isLoading) => {\n\t\tisFetching.value = isLoading;\n\t\tisFinished.value = !isLoading;\n\t};\n\tif (timeout) timer = useTimeoutFn(abort, timeout, { immediate: false });\n\tlet executeCounter = 0;\n\tconst execute = async (throwOnFailed = false) => {\n\t\tvar _context$options;\n\t\tabort();\n\t\tloading(true);\n\t\terror.value = null;\n\t\tstatusCode.value = null;\n\t\taborted.value = false;\n\t\texecuteCounter += 1;\n\t\tconst currentExecuteCounter = executeCounter;\n\t\tconst defaultFetchOptions = {\n\t\t\tmethod: config.method,\n\t\t\theaders: {}\n\t\t};\n\t\tconst payload = toValue(config.payload);\n\t\tif (payload) {\n\t\t\tvar _payloadMapping$confi;\n\t\t\tconst headers = headersToObject(defaultFetchOptions.headers);\n\t\t\tconst proto = Object.getPrototypeOf(payload);\n\t\t\tif (!config.payloadType && payload && (proto === Object.prototype || Array.isArray(proto)) && !(payload instanceof FormData)) config.payloadType = \"json\";\n\t\t\tif (config.payloadType) headers[\"Content-Type\"] = (_payloadMapping$confi = payloadMapping[config.payloadType]) !== null && _payloadMapping$confi !== void 0 ? _payloadMapping$confi : config.payloadType;\n\t\t\tdefaultFetchOptions.body = config.payloadType === \"json\" ? JSON.stringify(payload) : payload;\n\t\t}\n\t\tlet isCanceled = false;\n\t\tconst context = {\n\t\t\turl: toValue(url),\n\t\t\toptions: {\n\t\t\t\t...defaultFetchOptions,\n\t\t\t\t...fetchOptions\n\t\t\t},\n\t\t\tcancel: () => {\n\t\t\t\tisCanceled = true;\n\t\t\t}\n\t\t};\n\t\tif (options.beforeFetch) Object.assign(context, await options.beforeFetch(context));\n\t\tif (isCanceled || !fetch) {\n\t\t\tloading(false);\n\t\t\treturn Promise.resolve(null);\n\t\t}\n\t\tlet responseData = null;\n\t\tif (timer) timer.start();\n\t\treturn fetch(context.url, {\n\t\t\t...defaultFetchOptions,\n\t\t\t...context.options,\n\t\t\theaders: {\n\t\t\t\t...headersToObject(defaultFetchOptions.headers),\n\t\t\t\t...headersToObject((_context$options = context.options) === null || _context$options === void 0 ? void 0 : _context$options.headers)\n\t\t\t}\n\t\t}).then(async (fetchResponse) => {\n\t\t\tresponse.value = fetchResponse;\n\t\t\tstatusCode.value = fetchResponse.status;\n\t\t\tresponseData = await fetchResponse.clone()[config.type]();\n\t\t\tif (!fetchResponse.ok) {\n\t\t\t\tdata.value = initialData || null;\n\t\t\t\tthrow new Error(fetchResponse.statusText);\n\t\t\t}\n\t\t\tif (options.afterFetch) ({data: responseData} = await options.afterFetch({\n\t\t\t\tdata: responseData,\n\t\t\t\tresponse: fetchResponse,\n\t\t\t\tcontext,\n\t\t\t\texecute\n\t\t\t}));\n\t\t\tdata.value = responseData;\n\t\t\tresponseEvent.trigger(fetchResponse);\n\t\t\treturn fetchResponse;\n\t\t}).catch(async (fetchError) => {\n\t\t\tlet errorData = fetchError.message || fetchError.name;\n\t\t\tif (options.onFetchError) ({error: errorData, data: responseData} = await options.onFetchError({\n\t\t\t\tdata: responseData,\n\t\t\t\terror: fetchError,\n\t\t\t\tresponse: response.value,\n\t\t\t\tcontext,\n\t\t\t\texecute\n\t\t\t}));\n\t\t\terror.value = errorData;\n\t\t\tif (options.updateDataOnError) data.value = responseData;\n\t\t\terrorEvent.trigger(fetchError);\n\t\t\tif (throwOnFailed) throw fetchError;\n\t\t\treturn null;\n\t\t}).finally(() => {\n\t\t\tif (currentExecuteCounter === executeCounter) loading(false);\n\t\t\tif (timer) timer.stop();\n\t\t\tfinallyEvent.trigger(null);\n\t\t});\n\t};\n\tconst refetch = toRef(options.refetch);\n\twatch([refetch, toRef(url)], ([refetch$1]) => refetch$1 && execute(), { deep: true });\n\tconst shell = {\n\t\tisFinished: readonly(isFinished),\n\t\tisFetching: readonly(isFetching),\n\t\tstatusCode,\n\t\tresponse,\n\t\terror,\n\t\tdata,\n\t\tcanAbort,\n\t\taborted,\n\t\tabort,\n\t\texecute,\n\t\tonFetchResponse: responseEvent.on,\n\t\tonFetchError: errorEvent.on,\n\t\tonFetchFinally: finallyEvent.on,\n\t\tget: setMethod(\"GET\"),\n\t\tput: setMethod(\"PUT\"),\n\t\tpost: setMethod(\"POST\"),\n\t\tdelete: setMethod(\"DELETE\"),\n\t\tpatch: setMethod(\"PATCH\"),\n\t\thead: setMethod(\"HEAD\"),\n\t\toptions: setMethod(\"OPTIONS\"),\n\t\tjson: setType(\"json\"),\n\t\ttext: setType(\"text\"),\n\t\tblob: setType(\"blob\"),\n\t\tarrayBuffer: setType(\"arrayBuffer\"),\n\t\tformData: setType(\"formData\")\n\t};\n\tfunction setMethod(method) {\n\t\treturn (payload, payloadType) => {\n\t\t\tif (!isFetching.value) {\n\t\t\t\tconfig.method = method;\n\t\t\t\tconfig.payload = payload;\n\t\t\t\tconfig.payloadType = payloadType;\n\t\t\t\tif (isRef(config.payload)) watch([refetch, toRef(config.payload)], ([refetch$1]) => refetch$1 && execute(), { deep: true });\n\t\t\t\treturn {\n\t\t\t\t\t...shell,\n\t\t\t\t\tthen(onFulfilled, onRejected) {\n\t\t\t\t\t\treturn waitUntilFinished().then(onFulfilled, onRejected);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t}\n\tfunction waitUntilFinished() {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tuntil(isFinished).toBe(true).then(() => resolve(shell)).catch(reject);\n\t\t});\n\t}\n\tfunction setType(type) {\n\t\treturn () => {\n\t\t\tif (!isFetching.value) {\n\t\t\t\tconfig.type = type;\n\t\t\t\treturn {\n\t\t\t\t\t...shell,\n\t\t\t\t\tthen(onFulfilled, onRejected) {\n\t\t\t\t\t\treturn waitUntilFinished().then(onFulfilled, onRejected);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t}\n\tif (options.immediate) Promise.resolve().then(() => execute());\n\treturn {\n\t\t...shell,\n\t\tthen(onFulfilled, onRejected) {\n\t\t\treturn waitUntilFinished().then(onFulfilled, onRejected);\n\t\t}\n\t};\n}\nfunction joinPaths(start, end) {\n\tif (!start.endsWith(\"/\") && !end.startsWith(\"/\")) return `${start}/${end}`;\n\tif (start.endsWith(\"/\") && end.startsWith(\"/\")) return `${start.slice(0, -1)}${end}`;\n\treturn `${start}${end}`;\n}\n\n//#endregion\n//#region useFileDialog/index.ts\nconst DEFAULT_OPTIONS = {\n\tmultiple: true,\n\taccept: \"*\",\n\treset: false,\n\tdirectory: false\n};\nfunction prepareInitialFiles(files) {\n\tif (!files) return null;\n\tif (files instanceof FileList) return files;\n\tconst dt = new DataTransfer();\n\tfor (const file of files) dt.items.add(file);\n\treturn dt.files;\n}\n/**\n* Open file dialog with ease.\n*\n* @see https://vueuse.org/useFileDialog\n* @param options\n*/\nfunction useFileDialog(options = {}) {\n\tconst { document: document$1 = defaultDocument } = options;\n\tconst files = ref(prepareInitialFiles(options.initialFiles));\n\tconst { on: onChange, trigger: changeTrigger } = createEventHook();\n\tconst { on: onCancel, trigger: cancelTrigger } = createEventHook();\n\tconst inputRef = computed(() => {\n\t\tvar _unrefElement;\n\t\tconst input = (_unrefElement = unrefElement(options.input)) !== null && _unrefElement !== void 0 ? _unrefElement : document$1 ? document$1.createElement(\"input\") : void 0;\n\t\tif (input) {\n\t\t\tinput.type = \"file\";\n\t\t\tinput.onchange = (event) => {\n\t\t\t\tfiles.value = event.target.files;\n\t\t\t\tchangeTrigger(files.value);\n\t\t\t};\n\t\t\tinput.oncancel = () => {\n\t\t\t\tcancelTrigger();\n\t\t\t};\n\t\t}\n\t\treturn input;\n\t});\n\tconst reset = () => {\n\t\tfiles.value = null;\n\t\tif (inputRef.value && inputRef.value.value) {\n\t\t\tinputRef.value.value = \"\";\n\t\t\tchangeTrigger(null);\n\t\t}\n\t};\n\tconst applyOptions = (options$1) => {\n\t\tconst el = inputRef.value;\n\t\tif (!el) return;\n\t\tel.multiple = toValue(options$1.multiple);\n\t\tel.accept = toValue(options$1.accept);\n\t\tel.webkitdirectory = toValue(options$1.directory);\n\t\tif (hasOwn(options$1, \"capture\")) el.capture = toValue(options$1.capture);\n\t};\n\tconst open = (localOptions) => {\n\t\tconst el = inputRef.value;\n\t\tif (!el) return;\n\t\tconst mergedOptions = {\n\t\t\t...DEFAULT_OPTIONS,\n\t\t\t...options,\n\t\t\t...localOptions\n\t\t};\n\t\tapplyOptions(mergedOptions);\n\t\tif (toValue(mergedOptions.reset)) reset();\n\t\tel.click();\n\t};\n\twatchEffect(() => {\n\t\tapplyOptions(options);\n\t});\n\treturn {\n\t\tfiles: readonly(files),\n\t\topen,\n\t\treset,\n\t\tonCancel,\n\t\tonChange\n\t};\n}\n\n//#endregion\n//#region useFileSystemAccess/index.ts\nfunction useFileSystemAccess(options = {}) {\n\tconst { window: _window = defaultWindow, dataType = \"Text\" } = options;\n\tconst window$1 = _window;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"showSaveFilePicker\" in window$1 && \"showOpenFilePicker\" in window$1);\n\tconst fileHandle = shallowRef();\n\tconst data = shallowRef();\n\tconst file = shallowRef();\n\tconst fileName = computed(() => {\n\t\tvar _file$value$name, _file$value;\n\t\treturn (_file$value$name = (_file$value = file.value) === null || _file$value === void 0 ? void 0 : _file$value.name) !== null && _file$value$name !== void 0 ? _file$value$name : \"\";\n\t});\n\tconst fileMIME = computed(() => {\n\t\tvar _file$value$type, _file$value2;\n\t\treturn (_file$value$type = (_file$value2 = file.value) === null || _file$value2 === void 0 ? void 0 : _file$value2.type) !== null && _file$value$type !== void 0 ? _file$value$type : \"\";\n\t});\n\tconst fileSize = computed(() => {\n\t\tvar _file$value$size, _file$value3;\n\t\treturn (_file$value$size = (_file$value3 = file.value) === null || _file$value3 === void 0 ? void 0 : _file$value3.size) !== null && _file$value$size !== void 0 ? _file$value$size : 0;\n\t});\n\tconst fileLastModified = computed(() => {\n\t\tvar _file$value$lastModif, _file$value4;\n\t\treturn (_file$value$lastModif = (_file$value4 = file.value) === null || _file$value4 === void 0 ? void 0 : _file$value4.lastModified) !== null && _file$value$lastModif !== void 0 ? _file$value$lastModif : 0;\n\t});\n\tasync function open(_options = {}) {\n\t\tif (!isSupported.value) return;\n\t\tconst [handle] = await window$1.showOpenFilePicker({\n\t\t\t...toValue(options),\n\t\t\t..._options\n\t\t});\n\t\tfileHandle.value = handle;\n\t\tawait updateData();\n\t}\n\tasync function create(_options = {}) {\n\t\tif (!isSupported.value) return;\n\t\tfileHandle.value = await window$1.showSaveFilePicker({\n\t\t\t...options,\n\t\t\t..._options\n\t\t});\n\t\tdata.value = void 0;\n\t\tawait updateData();\n\t}\n\tasync function save(_options = {}) {\n\t\tif (!isSupported.value) return;\n\t\tif (!fileHandle.value) return saveAs(_options);\n\t\tif (data.value) {\n\t\t\tconst writableStream = await fileHandle.value.createWritable();\n\t\t\tawait writableStream.write(data.value);\n\t\t\tawait writableStream.close();\n\t\t}\n\t\tawait updateFile();\n\t}\n\tasync function saveAs(_options = {}) {\n\t\tif (!isSupported.value) return;\n\t\tfileHandle.value = await window$1.showSaveFilePicker({\n\t\t\t...options,\n\t\t\t..._options\n\t\t});\n\t\tif (data.value) {\n\t\t\tconst writableStream = await fileHandle.value.createWritable();\n\t\t\tawait writableStream.write(data.value);\n\t\t\tawait writableStream.close();\n\t\t}\n\t\tawait updateFile();\n\t}\n\tasync function updateFile() {\n\t\tvar _fileHandle$value;\n\t\tfile.value = await ((_fileHandle$value = fileHandle.value) === null || _fileHandle$value === void 0 ? void 0 : _fileHandle$value.getFile());\n\t}\n\tasync function updateData() {\n\t\tvar _file$value5, _file$value6;\n\t\tawait updateFile();\n\t\tconst type = toValue(dataType);\n\t\tif (type === \"Text\") data.value = await ((_file$value5 = file.value) === null || _file$value5 === void 0 ? void 0 : _file$value5.text());\n\t\telse if (type === \"ArrayBuffer\") data.value = await ((_file$value6 = file.value) === null || _file$value6 === void 0 ? void 0 : _file$value6.arrayBuffer());\n\t\telse if (type === \"Blob\") data.value = file.value;\n\t}\n\twatch(() => toValue(dataType), updateData);\n\treturn {\n\t\tisSupported,\n\t\tdata,\n\t\tfile,\n\t\tfileName,\n\t\tfileMIME,\n\t\tfileSize,\n\t\tfileLastModified,\n\t\topen,\n\t\tcreate,\n\t\tsave,\n\t\tsaveAs,\n\t\tupdateData\n\t};\n}\n\n//#endregion\n//#region useFocus/index.ts\n/**\n* Track or set the focus state of a DOM element.\n*\n* @see https://vueuse.org/useFocus\n* @param target The target element for the focus and blur events.\n* @param options\n*/\nfunction useFocus(target, options = {}) {\n\tconst { initialValue = false, focusVisible = false, preventScroll = false } = options;\n\tconst innerFocused = shallowRef(false);\n\tconst targetElement = computed(() => unrefElement(target));\n\tconst listenerOptions = { passive: true };\n\tuseEventListener(targetElement, \"focus\", (event) => {\n\t\tvar _matches, _ref;\n\t\tif (!focusVisible || ((_matches = (_ref = event.target).matches) === null || _matches === void 0 ? void 0 : _matches.call(_ref, \":focus-visible\"))) innerFocused.value = true;\n\t}, listenerOptions);\n\tuseEventListener(targetElement, \"blur\", () => innerFocused.value = false, listenerOptions);\n\tconst focused = computed({\n\t\tget: () => innerFocused.value,\n\t\tset(value) {\n\t\t\tvar _targetElement$value, _targetElement$value2;\n\t\t\tif (!value && innerFocused.value) (_targetElement$value = targetElement.value) === null || _targetElement$value === void 0 || _targetElement$value.blur();\n\t\t\telse if (value && !innerFocused.value) (_targetElement$value2 = targetElement.value) === null || _targetElement$value2 === void 0 || _targetElement$value2.focus({ preventScroll });\n\t\t}\n\t});\n\twatch(targetElement, () => {\n\t\tfocused.value = initialValue;\n\t}, {\n\t\timmediate: true,\n\t\tflush: \"post\"\n\t});\n\treturn { focused };\n}\n\n//#endregion\n//#region useFocusWithin/index.ts\nconst EVENT_FOCUS_IN = \"focusin\";\nconst EVENT_FOCUS_OUT = \"focusout\";\nconst PSEUDO_CLASS_FOCUS_WITHIN = \":focus-within\";\n/**\n* Track if focus is contained within the target element\n*\n* @see https://vueuse.org/useFocusWithin\n* @param target The target element to track\n* @param options Focus within options\n*/\nfunction useFocusWithin(target, options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst targetElement = computed(() => unrefElement(target));\n\tconst _focused = shallowRef(false);\n\tconst focused = computed(() => _focused.value);\n\tconst activeElement = useActiveElement(options);\n\tif (!window$1 || !activeElement.value) return { focused };\n\tconst listenerOptions = { passive: true };\n\tuseEventListener(targetElement, EVENT_FOCUS_IN, () => _focused.value = true, listenerOptions);\n\tuseEventListener(targetElement, EVENT_FOCUS_OUT, () => {\n\t\tvar _targetElement$value$, _targetElement$value, _targetElement$value$2;\n\t\treturn _focused.value = (_targetElement$value$ = (_targetElement$value = targetElement.value) === null || _targetElement$value === void 0 || (_targetElement$value$2 = _targetElement$value.matches) === null || _targetElement$value$2 === void 0 ? void 0 : _targetElement$value$2.call(_targetElement$value, PSEUDO_CLASS_FOCUS_WITHIN)) !== null && _targetElement$value$ !== void 0 ? _targetElement$value$ : false;\n\t}, listenerOptions);\n\treturn { focused };\n}\n\n//#endregion\n//#region useFps/index.ts\n/* @__NO_SIDE_EFFECTS__ */\nfunction useFps(options) {\n\tvar _options$every;\n\tconst fps = shallowRef(0);\n\tif (typeof performance === \"undefined\") return fps;\n\tconst every = (_options$every = options === null || options === void 0 ? void 0 : options.every) !== null && _options$every !== void 0 ? _options$every : 10;\n\tlet last = performance.now();\n\tlet ticks = 0;\n\tuseRafFn(() => {\n\t\tticks += 1;\n\t\tif (ticks >= every) {\n\t\t\tconst now = performance.now();\n\t\t\tconst diff = now - last;\n\t\t\tfps.value = Math.round(1e3 / (diff / ticks));\n\t\t\tlast = now;\n\t\t\tticks = 0;\n\t\t}\n\t});\n\treturn fps;\n}\n\n//#endregion\n//#region useFullscreen/index.ts\nconst eventHandlers = [\n\t\"fullscreenchange\",\n\t\"webkitfullscreenchange\",\n\t\"webkitendfullscreen\",\n\t\"mozfullscreenchange\",\n\t\"MSFullscreenChange\"\n];\n/**\n* Reactive Fullscreen API.\n*\n* @see https://vueuse.org/useFullscreen\n* @param target\n* @param options\n*/\nfunction useFullscreen(target, options = {}) {\n\tconst { document: document$1 = defaultDocument, autoExit = false } = options;\n\tconst targetRef = computed(() => {\n\t\tvar _unrefElement;\n\t\treturn (_unrefElement = unrefElement(target)) !== null && _unrefElement !== void 0 ? _unrefElement : document$1 === null || document$1 === void 0 ? void 0 : document$1.documentElement;\n\t});\n\tconst isFullscreen = shallowRef(false);\n\tconst requestMethod = computed(() => {\n\t\treturn [\n\t\t\t\"requestFullscreen\",\n\t\t\t\"webkitRequestFullscreen\",\n\t\t\t\"webkitEnterFullscreen\",\n\t\t\t\"webkitEnterFullScreen\",\n\t\t\t\"webkitRequestFullScreen\",\n\t\t\t\"mozRequestFullScreen\",\n\t\t\t\"msRequestFullscreen\"\n\t\t].find((m) => document$1 && m in document$1 || targetRef.value && m in targetRef.value);\n\t});\n\tconst exitMethod = computed(() => {\n\t\treturn [\n\t\t\t\"exitFullscreen\",\n\t\t\t\"webkitExitFullscreen\",\n\t\t\t\"webkitExitFullScreen\",\n\t\t\t\"webkitCancelFullScreen\",\n\t\t\t\"mozCancelFullScreen\",\n\t\t\t\"msExitFullscreen\"\n\t\t].find((m) => document$1 && m in document$1 || targetRef.value && m in targetRef.value);\n\t});\n\tconst fullscreenEnabled = computed(() => {\n\t\treturn [\n\t\t\t\"fullScreen\",\n\t\t\t\"webkitIsFullScreen\",\n\t\t\t\"webkitDisplayingFullscreen\",\n\t\t\t\"mozFullScreen\",\n\t\t\t\"msFullscreenElement\"\n\t\t].find((m) => document$1 && m in document$1 || targetRef.value && m in targetRef.value);\n\t});\n\tconst fullscreenElementMethod = [\n\t\t\"fullscreenElement\",\n\t\t\"webkitFullscreenElement\",\n\t\t\"mozFullScreenElement\",\n\t\t\"msFullscreenElement\"\n\t].find((m) => document$1 && m in document$1);\n\tconst isSupported = /* @__PURE__ */ useSupported(() => targetRef.value && document$1 && requestMethod.value !== void 0 && exitMethod.value !== void 0 && fullscreenEnabled.value !== void 0);\n\tconst isCurrentElementFullScreen = () => {\n\t\tif (fullscreenElementMethod) return (document$1 === null || document$1 === void 0 ? void 0 : document$1[fullscreenElementMethod]) === targetRef.value;\n\t\treturn false;\n\t};\n\tconst isElementFullScreen = () => {\n\t\tif (fullscreenEnabled.value) if (document$1 && document$1[fullscreenEnabled.value] != null) return document$1[fullscreenEnabled.value];\n\t\telse {\n\t\t\tconst target$1 = targetRef.value;\n\t\t\tif ((target$1 === null || target$1 === void 0 ? void 0 : target$1[fullscreenEnabled.value]) != null) return Boolean(target$1[fullscreenEnabled.value]);\n\t\t}\n\t\treturn false;\n\t};\n\tasync function exit() {\n\t\tif (!isSupported.value || !isFullscreen.value) return;\n\t\tif (exitMethod.value) if ((document$1 === null || document$1 === void 0 ? void 0 : document$1[exitMethod.value]) != null) await document$1[exitMethod.value]();\n\t\telse {\n\t\t\tconst target$1 = targetRef.value;\n\t\t\tif ((target$1 === null || target$1 === void 0 ? void 0 : target$1[exitMethod.value]) != null) await target$1[exitMethod.value]();\n\t\t}\n\t\tisFullscreen.value = false;\n\t}\n\tasync function enter() {\n\t\tif (!isSupported.value || isFullscreen.value) return;\n\t\tif (isElementFullScreen()) await exit();\n\t\tconst target$1 = targetRef.value;\n\t\tif (requestMethod.value && (target$1 === null || target$1 === void 0 ? void 0 : target$1[requestMethod.value]) != null) {\n\t\t\tawait target$1[requestMethod.value]();\n\t\t\tisFullscreen.value = true;\n\t\t}\n\t}\n\tasync function toggle() {\n\t\tawait (isFullscreen.value ? exit() : enter());\n\t}\n\tconst handlerCallback = () => {\n\t\tconst isElementFullScreenValue = isElementFullScreen();\n\t\tif (!isElementFullScreenValue || isElementFullScreenValue && isCurrentElementFullScreen()) isFullscreen.value = isElementFullScreenValue;\n\t};\n\tconst listenerOptions = {\n\t\tcapture: false,\n\t\tpassive: true\n\t};\n\tuseEventListener(document$1, eventHandlers, handlerCallback, listenerOptions);\n\tuseEventListener(() => unrefElement(targetRef), eventHandlers, handlerCallback, listenerOptions);\n\ttryOnMounted(handlerCallback, false);\n\tif (autoExit) tryOnScopeDispose(exit);\n\treturn {\n\t\tisSupported,\n\t\tisFullscreen,\n\t\tenter,\n\t\texit,\n\t\ttoggle\n\t};\n}\n\n//#endregion\n//#region useGamepad/index.ts\n/**\n* Maps a standard standard gamepad to an Xbox 360 Controller.\n*/\nfunction mapGamepadToXbox360Controller(gamepad) {\n\treturn computed(() => {\n\t\tif (gamepad.value) return {\n\t\t\tbuttons: {\n\t\t\t\ta: gamepad.value.buttons[0],\n\t\t\t\tb: gamepad.value.buttons[1],\n\t\t\t\tx: gamepad.value.buttons[2],\n\t\t\t\ty: gamepad.value.buttons[3]\n\t\t\t},\n\t\t\tbumper: {\n\t\t\t\tleft: gamepad.value.buttons[4],\n\t\t\t\tright: gamepad.value.buttons[5]\n\t\t\t},\n\t\t\ttriggers: {\n\t\t\t\tleft: gamepad.value.buttons[6],\n\t\t\t\tright: gamepad.value.buttons[7]\n\t\t\t},\n\t\t\tstick: {\n\t\t\t\tleft: {\n\t\t\t\t\thorizontal: gamepad.value.axes[0],\n\t\t\t\t\tvertical: gamepad.value.axes[1],\n\t\t\t\t\tbutton: gamepad.value.buttons[10]\n\t\t\t\t},\n\t\t\t\tright: {\n\t\t\t\t\thorizontal: gamepad.value.axes[2],\n\t\t\t\t\tvertical: gamepad.value.axes[3],\n\t\t\t\t\tbutton: gamepad.value.buttons[11]\n\t\t\t\t}\n\t\t\t},\n\t\t\tdpad: {\n\t\t\t\tup: gamepad.value.buttons[12],\n\t\t\t\tdown: gamepad.value.buttons[13],\n\t\t\t\tleft: gamepad.value.buttons[14],\n\t\t\t\tright: gamepad.value.buttons[15]\n\t\t\t},\n\t\t\tback: gamepad.value.buttons[8],\n\t\t\tstart: gamepad.value.buttons[9]\n\t\t};\n\t\treturn null;\n\t});\n}\n/* @__NO_SIDE_EFFECTS__ */\nfunction useGamepad(options = {}) {\n\tconst { navigator: navigator$1 = defaultNavigator } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"getGamepads\" in navigator$1);\n\tconst gamepads = ref([]);\n\tconst onConnectedHook = createEventHook();\n\tconst onDisconnectedHook = createEventHook();\n\tconst stateFromGamepad = (gamepad) => {\n\t\tconst hapticActuators = [];\n\t\tconst vibrationActuator = \"vibrationActuator\" in gamepad ? gamepad.vibrationActuator : null;\n\t\tif (vibrationActuator) hapticActuators.push(vibrationActuator);\n\t\tif (gamepad.hapticActuators) hapticActuators.push(...gamepad.hapticActuators);\n\t\treturn {\n\t\t\tid: gamepad.id,\n\t\t\tindex: gamepad.index,\n\t\t\tconnected: gamepad.connected,\n\t\t\tmapping: gamepad.mapping,\n\t\t\ttimestamp: gamepad.timestamp,\n\t\t\tvibrationActuator: gamepad.vibrationActuator,\n\t\t\thapticActuators,\n\t\t\taxes: gamepad.axes.map((axes) => axes),\n\t\t\tbuttons: gamepad.buttons.map((button) => ({\n\t\t\t\tpressed: button.pressed,\n\t\t\t\ttouched: button.touched,\n\t\t\t\tvalue: button.value\n\t\t\t}))\n\t\t};\n\t};\n\tconst updateGamepadState = () => {\n\t\tconst _gamepads = (navigator$1 === null || navigator$1 === void 0 ? void 0 : navigator$1.getGamepads()) || [];\n\t\tfor (const gamepad of _gamepads) if (gamepad && gamepads.value[gamepad.index]) gamepads.value[gamepad.index] = stateFromGamepad(gamepad);\n\t};\n\tconst { isActive, pause, resume } = useRafFn(updateGamepadState);\n\tconst onGamepadConnected = (gamepad) => {\n\t\tif (!gamepads.value.some(({ index }) => index === gamepad.index)) {\n\t\t\tgamepads.value.push(stateFromGamepad(gamepad));\n\t\t\tonConnectedHook.trigger(gamepad.index);\n\t\t}\n\t\tresume();\n\t};\n\tconst onGamepadDisconnected = (gamepad) => {\n\t\tgamepads.value = gamepads.value.filter((x) => x.index !== gamepad.index);\n\t\tonDisconnectedHook.trigger(gamepad.index);\n\t};\n\tconst listenerOptions = { passive: true };\n\tuseEventListener(\"gamepadconnected\", (e) => onGamepadConnected(e.gamepad), listenerOptions);\n\tuseEventListener(\"gamepaddisconnected\", (e) => onGamepadDisconnected(e.gamepad), listenerOptions);\n\ttryOnMounted(() => {\n\t\tconst _gamepads = (navigator$1 === null || navigator$1 === void 0 ? void 0 : navigator$1.getGamepads()) || [];\n\t\tfor (const gamepad of _gamepads) if (gamepad && gamepads.value[gamepad.index]) onGamepadConnected(gamepad);\n\t});\n\tpause();\n\treturn {\n\t\tisSupported,\n\t\tonConnected: onConnectedHook.on,\n\t\tonDisconnected: onDisconnectedHook.on,\n\t\tgamepads,\n\t\tpause,\n\t\tresume,\n\t\tisActive\n\t};\n}\n\n//#endregion\n//#region useGeolocation/index.ts\n/**\n* Reactive Geolocation API.\n*\n* @see https://vueuse.org/useGeolocation\n* @param options\n*/\nfunction useGeolocation(options = {}) {\n\tconst { enableHighAccuracy = true, maximumAge = 3e4, timeout = 27e3, navigator: navigator$1 = defaultNavigator, immediate = true } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"geolocation\" in navigator$1);\n\tconst locatedAt = shallowRef(null);\n\tconst error = shallowRef(null);\n\tconst coords = ref({\n\t\taccuracy: 0,\n\t\tlatitude: Number.POSITIVE_INFINITY,\n\t\tlongitude: Number.POSITIVE_INFINITY,\n\t\taltitude: null,\n\t\taltitudeAccuracy: null,\n\t\theading: null,\n\t\tspeed: null\n\t});\n\tfunction updatePosition(position) {\n\t\tlocatedAt.value = position.timestamp;\n\t\tcoords.value = position.coords;\n\t\terror.value = null;\n\t}\n\tlet watcher;\n\tfunction resume() {\n\t\tif (isSupported.value) watcher = navigator$1.geolocation.watchPosition(updatePosition, (err) => error.value = err, {\n\t\t\tenableHighAccuracy,\n\t\t\tmaximumAge,\n\t\t\ttimeout\n\t\t});\n\t}\n\tif (immediate) resume();\n\tfunction pause() {\n\t\tif (watcher && navigator$1) navigator$1.geolocation.clearWatch(watcher);\n\t}\n\ttryOnScopeDispose(() => {\n\t\tpause();\n\t});\n\treturn {\n\t\tisSupported,\n\t\tcoords,\n\t\tlocatedAt,\n\t\terror,\n\t\tresume,\n\t\tpause\n\t};\n}\n\n//#endregion\n//#region useIdle/index.ts\nconst defaultEvents$1 = [\n\t\"mousemove\",\n\t\"mousedown\",\n\t\"resize\",\n\t\"keydown\",\n\t\"touchstart\",\n\t\"wheel\"\n];\nconst oneMinute = 6e4;\n/**\n* Tracks whether the user is being inactive.\n*\n* @see https://vueuse.org/useIdle\n* @param timeout default to 1 minute\n* @param options IdleOptions\n*/\nfunction useIdle(timeout = oneMinute, options = {}) {\n\tconst { initialState = false, listenForVisibilityChange = true, events: events$1 = defaultEvents$1, window: window$1 = defaultWindow, eventFilter = throttleFilter(50) } = options;\n\tconst idle = shallowRef(initialState);\n\tconst lastActive = shallowRef(timestamp());\n\tconst isPending = shallowRef(false);\n\tlet timer;\n\tconst reset = () => {\n\t\tidle.value = false;\n\t\tclearTimeout(timer);\n\t\ttimer = setTimeout(() => idle.value = true, timeout);\n\t};\n\tconst onEvent = createFilterWrapper(eventFilter, () => {\n\t\tlastActive.value = timestamp();\n\t\treset();\n\t});\n\tif (window$1) {\n\t\tconst document$1 = window$1.document;\n\t\tconst listenerOptions = { passive: true };\n\t\tfor (const event of events$1) useEventListener(window$1, event, () => {\n\t\t\tif (!isPending.value) return;\n\t\t\tonEvent();\n\t\t}, listenerOptions);\n\t\tif (listenForVisibilityChange) useEventListener(document$1, \"visibilitychange\", () => {\n\t\t\tif (document$1.hidden || !isPending.value) return;\n\t\t\tonEvent();\n\t\t}, listenerOptions);\n\t\tstart();\n\t}\n\tfunction start() {\n\t\tif (isPending.value) return;\n\t\tisPending.value = true;\n\t\tif (!initialState) reset();\n\t}\n\tfunction stop() {\n\t\tidle.value = initialState;\n\t\tclearTimeout(timer);\n\t\tisPending.value = false;\n\t}\n\treturn {\n\t\tidle,\n\t\tlastActive,\n\t\treset,\n\t\tstop,\n\t\tstart,\n\t\tisPending: shallowReadonly(isPending)\n\t};\n}\n\n//#endregion\n//#region useImage/index.ts\nasync function loadImage(options) {\n\treturn new Promise((resolve, reject) => {\n\t\tconst img = new Image();\n\t\tconst { src, srcset, sizes, class: clazz, loading, crossorigin, referrerPolicy, width, height, decoding, fetchPriority, ismap, usemap } = options;\n\t\timg.src = src;\n\t\tif (srcset != null) img.srcset = srcset;\n\t\tif (sizes != null) img.sizes = sizes;\n\t\tif (clazz != null) img.className = clazz;\n\t\tif (loading != null) img.loading = loading;\n\t\tif (crossorigin != null) img.crossOrigin = crossorigin;\n\t\tif (referrerPolicy != null) img.referrerPolicy = referrerPolicy;\n\t\tif (width != null) img.width = width;\n\t\tif (height != null) img.height = height;\n\t\tif (decoding != null) img.decoding = decoding;\n\t\tif (fetchPriority != null) img.fetchPriority = fetchPriority;\n\t\tif (ismap != null) img.isMap = ismap;\n\t\tif (usemap != null) img.useMap = usemap;\n\t\timg.onload = () => resolve(img);\n\t\timg.onerror = reject;\n\t});\n}\n/**\n* Reactive load an image in the browser, you can wait the result to display it or show a fallback.\n*\n* @see https://vueuse.org/useImage\n* @param options Image attributes, as used in the tag\n* @param asyncStateOptions\n*/\nfunction useImage(options, asyncStateOptions = {}) {\n\tconst state = useAsyncState(() => loadImage(toValue(options)), void 0, {\n\t\tresetOnExecute: true,\n\t\t...asyncStateOptions\n\t});\n\twatch(() => toValue(options), () => state.execute(asyncStateOptions.delay), { deep: true });\n\treturn state;\n}\n\n//#endregion\n//#region _resolve-element.ts\n/**\n* Resolves an element from a given element, window, or document.\n*\n* @internal\n*/\nfunction resolveElement(el) {\n\tif (typeof Window !== \"undefined\" && el instanceof Window) return el.document.documentElement;\n\tif (typeof Document !== \"undefined\" && el instanceof Document) return el.documentElement;\n\treturn el;\n}\n\n//#endregion\n//#region useScroll/index.ts\n/**\n* We have to check if the scroll amount is close enough to some threshold in order to\n* more accurately calculate arrivedState. This is because scrollTop/scrollLeft are non-rounded\n* numbers, while scrollHeight/scrollWidth and clientHeight/clientWidth are rounded.\n* https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight#determine_if_an_element_has_been_totally_scrolled\n*/\nconst ARRIVED_STATE_THRESHOLD_PIXELS = 1;\n/**\n* Reactive scroll.\n*\n* @see https://vueuse.org/useScroll\n* @param element\n* @param options\n*/\nfunction useScroll(element, options = {}) {\n\tconst { throttle = 0, idle = 200, onStop = noop, onScroll = noop, offset = {\n\t\tleft: 0,\n\t\tright: 0,\n\t\ttop: 0,\n\t\tbottom: 0\n\t}, observe: _observe = { mutation: false }, eventListenerOptions = {\n\t\tcapture: false,\n\t\tpassive: true\n\t}, behavior = \"auto\", window: window$1 = defaultWindow, onError = (e) => {\n\t\tconsole.error(e);\n\t} } = options;\n\tconst observe = typeof _observe === \"boolean\" ? { mutation: _observe } : _observe;\n\tconst internalX = shallowRef(0);\n\tconst internalY = shallowRef(0);\n\tconst x = computed({\n\t\tget() {\n\t\t\treturn internalX.value;\n\t\t},\n\t\tset(x$1) {\n\t\t\tscrollTo(x$1, void 0);\n\t\t}\n\t});\n\tconst y = computed({\n\t\tget() {\n\t\t\treturn internalY.value;\n\t\t},\n\t\tset(y$1) {\n\t\t\tscrollTo(void 0, y$1);\n\t\t}\n\t});\n\tfunction scrollTo(_x, _y) {\n\t\tvar _ref, _toValue, _toValue2, _document;\n\t\tif (!window$1) return;\n\t\tconst _element = toValue(element);\n\t\tif (!_element) return;\n\t\t(_ref = _element instanceof Document ? window$1.document.body : _element) === null || _ref === void 0 || _ref.scrollTo({\n\t\t\ttop: (_toValue = toValue(_y)) !== null && _toValue !== void 0 ? _toValue : y.value,\n\t\t\tleft: (_toValue2 = toValue(_x)) !== null && _toValue2 !== void 0 ? _toValue2 : x.value,\n\t\t\tbehavior: toValue(behavior)\n\t\t});\n\t\tconst scrollContainer = (_element === null || _element === void 0 || (_document = _element.document) === null || _document === void 0 ? void 0 : _document.documentElement) || (_element === null || _element === void 0 ? void 0 : _element.documentElement) || _element;\n\t\tif (x != null) internalX.value = scrollContainer.scrollLeft;\n\t\tif (y != null) internalY.value = scrollContainer.scrollTop;\n\t}\n\tconst isScrolling = shallowRef(false);\n\tconst arrivedState = reactive({\n\t\tleft: true,\n\t\tright: false,\n\t\ttop: true,\n\t\tbottom: false\n\t});\n\tconst directions = reactive({\n\t\tleft: false,\n\t\tright: false,\n\t\ttop: false,\n\t\tbottom: false\n\t});\n\tconst onScrollEnd = (e) => {\n\t\tif (!isScrolling.value) return;\n\t\tisScrolling.value = false;\n\t\tdirections.left = false;\n\t\tdirections.right = false;\n\t\tdirections.top = false;\n\t\tdirections.bottom = false;\n\t\tonStop(e);\n\t};\n\tconst onScrollEndDebounced = useDebounceFn(onScrollEnd, throttle + idle);\n\tconst setArrivedState = (target) => {\n\t\tvar _document2;\n\t\tif (!window$1) return;\n\t\tconst el = (target === null || target === void 0 || (_document2 = target.document) === null || _document2 === void 0 ? void 0 : _document2.documentElement) || (target === null || target === void 0 ? void 0 : target.documentElement) || unrefElement(target);\n\t\tconst { display, flexDirection, direction } = window$1.getComputedStyle(el);\n\t\tconst directionMultipler = direction === \"rtl\" ? -1 : 1;\n\t\tconst scrollLeft = el.scrollLeft;\n\t\tdirections.left = scrollLeft < internalX.value;\n\t\tdirections.right = scrollLeft > internalX.value;\n\t\tconst left = Math.abs(scrollLeft * directionMultipler) <= (offset.left || 0);\n\t\tconst right = Math.abs(scrollLeft * directionMultipler) + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n\t\tif (display === \"flex\" && flexDirection === \"row-reverse\") {\n\t\t\tarrivedState.left = right;\n\t\t\tarrivedState.right = left;\n\t\t} else {\n\t\t\tarrivedState.left = left;\n\t\t\tarrivedState.right = right;\n\t\t}\n\t\tinternalX.value = scrollLeft;\n\t\tlet scrollTop = el.scrollTop;\n\t\tif (target === window$1.document && !scrollTop) scrollTop = window$1.document.body.scrollTop;\n\t\tdirections.top = scrollTop < internalY.value;\n\t\tdirections.bottom = scrollTop > internalY.value;\n\t\tconst top = Math.abs(scrollTop) <= (offset.top || 0);\n\t\tconst bottom = Math.abs(scrollTop) + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n\t\t/**\n\t\t* reverse columns and rows behave exactly the other way around,\n\t\t* bottom is treated as top and top is treated as the negative version of bottom\n\t\t*/\n\t\tif (display === \"flex\" && flexDirection === \"column-reverse\") {\n\t\t\tarrivedState.top = bottom;\n\t\t\tarrivedState.bottom = top;\n\t\t} else {\n\t\t\tarrivedState.top = top;\n\t\t\tarrivedState.bottom = bottom;\n\t\t}\n\t\tinternalY.value = scrollTop;\n\t};\n\tconst onScrollHandler = (e) => {\n\t\tvar _documentElement;\n\t\tif (!window$1) return;\n\t\tsetArrivedState((_documentElement = e.target.documentElement) !== null && _documentElement !== void 0 ? _documentElement : e.target);\n\t\tisScrolling.value = true;\n\t\tonScrollEndDebounced(e);\n\t\tonScroll(e);\n\t};\n\tuseEventListener(element, \"scroll\", throttle ? useThrottleFn(onScrollHandler, throttle, true, false) : onScrollHandler, eventListenerOptions);\n\ttryOnMounted(() => {\n\t\ttry {\n\t\t\tconst _element = toValue(element);\n\t\t\tif (!_element) return;\n\t\t\tsetArrivedState(_element);\n\t\t} catch (e) {\n\t\t\tonError(e);\n\t\t}\n\t});\n\tif ((observe === null || observe === void 0 ? void 0 : observe.mutation) && element != null && element !== window$1 && element !== document) useMutationObserver(element, () => {\n\t\tconst _element = toValue(element);\n\t\tif (!_element) return;\n\t\tsetArrivedState(_element);\n\t}, {\n\t\tattributes: true,\n\t\tchildList: true,\n\t\tsubtree: true\n\t});\n\tuseEventListener(element, \"scrollend\", onScrollEnd, eventListenerOptions);\n\treturn {\n\t\tx,\n\t\ty,\n\t\tisScrolling,\n\t\tarrivedState,\n\t\tdirections,\n\t\tmeasure() {\n\t\t\tconst _element = toValue(element);\n\t\t\tif (window$1 && _element) setArrivedState(_element);\n\t\t}\n\t};\n}\n\n//#endregion\n//#region useInfiniteScroll/index.ts\n/**\n* Reactive infinite scroll.\n*\n* @see https://vueuse.org/useInfiniteScroll\n*/\nfunction useInfiniteScroll(element, onLoadMore, options = {}) {\n\tvar _options$distance;\n\tconst { direction = \"bottom\", interval = 100, canLoadMore = () => true } = options;\n\tconst state = reactive(useScroll(element, {\n\t\t...options,\n\t\toffset: {\n\t\t\t[direction]: (_options$distance = options.distance) !== null && _options$distance !== void 0 ? _options$distance : 0,\n\t\t\t...options.offset\n\t\t}\n\t}));\n\tconst promise = ref();\n\tconst isLoading = computed(() => !!promise.value);\n\tconst observedElement = computed(() => {\n\t\treturn resolveElement(toValue(element));\n\t});\n\tconst isElementVisible = useElementVisibility(observedElement);\n\tconst canLoad = computed(() => {\n\t\tif (!observedElement.value) return false;\n\t\treturn canLoadMore(observedElement.value);\n\t});\n\tfunction checkAndLoad() {\n\t\tstate.measure();\n\t\tif (!observedElement.value || !isElementVisible.value || !canLoad.value) return;\n\t\tconst { scrollHeight, clientHeight, scrollWidth, clientWidth } = observedElement.value;\n\t\tconst isNarrower = direction === \"bottom\" || direction === \"top\" ? scrollHeight <= clientHeight : scrollWidth <= clientWidth;\n\t\tif (state.arrivedState[direction] || isNarrower) {\n\t\t\tif (!promise.value) promise.value = Promise.all([onLoadMore(state), new Promise((resolve) => setTimeout(resolve, interval))]).finally(() => {\n\t\t\t\tpromise.value = null;\n\t\t\t\tnextTick(() => checkAndLoad());\n\t\t\t});\n\t\t}\n\t}\n\ttryOnUnmounted(watch(() => [\n\t\tstate.arrivedState[direction],\n\t\tisElementVisible.value,\n\t\tcanLoad.value\n\t], checkAndLoad, { immediate: true }));\n\treturn {\n\t\tisLoading,\n\t\treset() {\n\t\t\tnextTick(() => checkAndLoad());\n\t\t}\n\t};\n}\n\n//#endregion\n//#region useKeyModifier/index.ts\nconst defaultEvents = [\n\t\"mousedown\",\n\t\"mouseup\",\n\t\"keydown\",\n\t\"keyup\"\n];\n/* @__NO_SIDE_EFFECTS__ */\nfunction useKeyModifier(modifier, options = {}) {\n\tconst { events: events$1 = defaultEvents, document: document$1 = defaultDocument, initial = null } = options;\n\tconst state = shallowRef(initial);\n\tif (document$1) events$1.forEach((listenerEvent) => {\n\t\tuseEventListener(document$1, listenerEvent, (evt) => {\n\t\t\tif (typeof evt.getModifierState === \"function\") state.value = evt.getModifierState(modifier);\n\t\t}, { passive: true });\n\t});\n\treturn state;\n}\n\n//#endregion\n//#region useLocalStorage/index.ts\n/**\n* Reactive LocalStorage.\n*\n* @see https://vueuse.org/useLocalStorage\n* @param key\n* @param initialValue\n* @param options\n*/\nfunction useLocalStorage(key, initialValue, options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\treturn useStorage(key, initialValue, window$1 === null || window$1 === void 0 ? void 0 : window$1.localStorage, options);\n}\n\n//#endregion\n//#region useMagicKeys/aliasMap.ts\nconst DefaultMagicKeysAliasMap = {\n\tctrl: \"control\",\n\tcommand: \"meta\",\n\tcmd: \"meta\",\n\toption: \"alt\",\n\tup: \"arrowup\",\n\tdown: \"arrowdown\",\n\tleft: \"arrowleft\",\n\tright: \"arrowright\"\n};\n\n//#endregion\n//#region useMagicKeys/index.ts\n/**\n* Reactive keys pressed state, with magical keys combination support.\n*\n* @see https://vueuse.org/useMagicKeys\n*/\nfunction useMagicKeys(options = {}) {\n\tconst { reactive: useReactive = false, target = defaultWindow, aliasMap = DefaultMagicKeysAliasMap, passive = true, onEventFired = noop } = options;\n\tconst current = reactive(/* @__PURE__ */ new Set());\n\tconst obj = {\n\t\ttoJSON() {\n\t\t\treturn {};\n\t\t},\n\t\tcurrent\n\t};\n\tconst refs = useReactive ? reactive(obj) : obj;\n\tconst metaDeps = /* @__PURE__ */ new Set();\n\tconst depsMap = new Map([\n\t\t[\"Meta\", metaDeps],\n\t\t[\"Shift\", /* @__PURE__ */ new Set()],\n\t\t[\"Alt\", /* @__PURE__ */ new Set()]\n\t]);\n\tconst usedKeys = /* @__PURE__ */ new Set();\n\tfunction setRefs(key, value) {\n\t\tif (key in refs) if (useReactive) refs[key] = value;\n\t\telse refs[key].value = value;\n\t}\n\tfunction reset() {\n\t\tcurrent.clear();\n\t\tfor (const key of usedKeys) setRefs(key, false);\n\t}\n\tfunction updateDeps(value, e, keys$1) {\n\t\tif (!value || typeof e.getModifierState !== \"function\") return;\n\t\tfor (const [modifier, depsSet] of depsMap) if (e.getModifierState(modifier)) {\n\t\t\tkeys$1.forEach((key) => depsSet.add(key));\n\t\t\tbreak;\n\t\t}\n\t}\n\tfunction clearDeps(value, key) {\n\t\tif (value) return;\n\t\tconst depsMapKey = `${key[0].toUpperCase()}${key.slice(1)}`;\n\t\tconst deps = depsMap.get(depsMapKey);\n\t\tif (![\"shift\", \"alt\"].includes(key) || !deps) return;\n\t\tconst depsArray = Array.from(deps);\n\t\tconst depsIndex = depsArray.indexOf(key);\n\t\tdepsArray.forEach((key$1, index) => {\n\t\t\tif (index >= depsIndex) {\n\t\t\t\tcurrent.delete(key$1);\n\t\t\t\tsetRefs(key$1, false);\n\t\t\t}\n\t\t});\n\t\tdeps.clear();\n\t}\n\tfunction updateRefs(e, value) {\n\t\tvar _e$key, _e$code;\n\t\tconst key = (_e$key = e.key) === null || _e$key === void 0 ? void 0 : _e$key.toLowerCase();\n\t\tconst values = [(_e$code = e.code) === null || _e$code === void 0 ? void 0 : _e$code.toLowerCase(), key].filter(Boolean);\n\t\tif (key === \"\") return;\n\t\tif (key) if (value) current.add(key);\n\t\telse current.delete(key);\n\t\tfor (const key$1 of values) {\n\t\t\tusedKeys.add(key$1);\n\t\t\tsetRefs(key$1, value);\n\t\t}\n\t\tupdateDeps(value, e, [...current, ...values]);\n\t\tclearDeps(value, key);\n\t\tif (key === \"meta\" && !value) {\n\t\t\tmetaDeps.forEach((key$1) => {\n\t\t\t\tcurrent.delete(key$1);\n\t\t\t\tsetRefs(key$1, false);\n\t\t\t});\n\t\t\tmetaDeps.clear();\n\t\t}\n\t}\n\tuseEventListener(target, \"keydown\", (e) => {\n\t\tupdateRefs(e, true);\n\t\treturn onEventFired(e);\n\t}, { passive });\n\tuseEventListener(target, \"keyup\", (e) => {\n\t\tupdateRefs(e, false);\n\t\treturn onEventFired(e);\n\t}, { passive });\n\tuseEventListener(\"blur\", reset, { passive });\n\tuseEventListener(\"focus\", reset, { passive });\n\tconst proxy = new Proxy(refs, { get(target$1, prop, rec) {\n\t\tif (typeof prop !== \"string\") return Reflect.get(target$1, prop, rec);\n\t\tprop = prop.toLowerCase();\n\t\tif (prop in aliasMap) prop = aliasMap[prop];\n\t\tif (!(prop in refs)) if (/[+_-]/.test(prop)) {\n\t\t\tconst keys$1 = prop.split(/[+_-]/g).map((i) => i.trim());\n\t\t\trefs[prop] = computed(() => keys$1.map((key) => toValue(proxy[key])).every(Boolean));\n\t\t} else refs[prop] = shallowRef(false);\n\t\tconst r = Reflect.get(target$1, prop, rec);\n\t\treturn useReactive ? toValue(r) : r;\n\t} });\n\treturn proxy;\n}\n\n//#endregion\n//#region useMediaControls/index.ts\n/**\n* Automatically check if the ref exists and if it does run the cb fn\n*/\nfunction usingElRef(source, cb) {\n\tif (toValue(source)) cb(toValue(source));\n}\n/**\n* Converts a TimeRange object to an array\n*/\nfunction timeRangeToArray(timeRanges) {\n\tlet ranges = [];\n\tfor (let i = 0; i < timeRanges.length; ++i) ranges = [...ranges, [timeRanges.start(i), timeRanges.end(i)]];\n\treturn ranges;\n}\n/**\n* Converts a TextTrackList object to an array of `UseMediaTextTrack`\n*/\nfunction tracksToArray(tracks) {\n\treturn Array.from(tracks).map(({ label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }, id) => ({\n\t\tid,\n\t\tlabel,\n\t\tkind,\n\t\tlanguage,\n\t\tmode,\n\t\tactiveCues,\n\t\tcues,\n\t\tinBandMetadataTrackDispatchType\n\t}));\n}\nconst defaultOptions = {\n\tsrc: \"\",\n\ttracks: []\n};\nfunction useMediaControls(target, options = {}) {\n\ttarget = toRef(target);\n\toptions = {\n\t\t...defaultOptions,\n\t\t...options\n\t};\n\tconst { document: document$1 = defaultDocument } = options;\n\tconst listenerOptions = { passive: true };\n\tconst currentTime = shallowRef(0);\n\tconst duration = shallowRef(0);\n\tconst seeking = shallowRef(false);\n\tconst volume = shallowRef(1);\n\tconst waiting = shallowRef(false);\n\tconst ended = shallowRef(false);\n\tconst playing = shallowRef(false);\n\tconst rate = shallowRef(1);\n\tconst stalled = shallowRef(false);\n\tconst buffered = ref([]);\n\tconst tracks = ref([]);\n\tconst selectedTrack = shallowRef(-1);\n\tconst isPictureInPicture = shallowRef(false);\n\tconst muted = shallowRef(false);\n\tconst supportsPictureInPicture = document$1 && \"pictureInPictureEnabled\" in document$1;\n\tconst sourceErrorEvent = createEventHook();\n\tconst playbackErrorEvent = createEventHook();\n\t/**\n\t* Disables the specified track. If no track is specified then\n\t* all tracks will be disabled\n\t*\n\t* @param track The id of the track to disable\n\t*/\n\tconst disableTrack = (track) => {\n\t\tusingElRef(target, (el) => {\n\t\t\tif (track) {\n\t\t\t\tconst id = typeof track === \"number\" ? track : track.id;\n\t\t\t\tel.textTracks[id].mode = \"disabled\";\n\t\t\t} else for (let i = 0; i < el.textTracks.length; ++i) el.textTracks[i].mode = \"disabled\";\n\t\t\tselectedTrack.value = -1;\n\t\t});\n\t};\n\t/**\n\t* Enables the specified track and disables the\n\t* other tracks unless otherwise specified\n\t*\n\t* @param track The track of the id of the track to enable\n\t* @param disableTracks Disable all other tracks\n\t*/\n\tconst enableTrack = (track, disableTracks = true) => {\n\t\tusingElRef(target, (el) => {\n\t\t\tconst id = typeof track === \"number\" ? track : track.id;\n\t\t\tif (disableTracks) disableTrack();\n\t\t\tel.textTracks[id].mode = \"showing\";\n\t\t\tselectedTrack.value = id;\n\t\t});\n\t};\n\t/**\n\t* Toggle picture in picture mode for the player.\n\t*/\n\tconst togglePictureInPicture = () => {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tusingElRef(target, async (el) => {\n\t\t\t\tif (supportsPictureInPicture) if (!isPictureInPicture.value) el.requestPictureInPicture().then(resolve).catch(reject);\n\t\t\t\telse document$1.exitPictureInPicture().then(resolve).catch(reject);\n\t\t\t});\n\t\t});\n\t};\n\t/**\n\t* This will automatically inject sources to the media element. The sources will be\n\t* appended as children to the media element as `` elements.\n\t*/\n\twatchEffect(() => {\n\t\tif (!document$1) return;\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tconst src = toValue(options.src);\n\t\tlet sources = [];\n\t\tif (!src) return;\n\t\tif (typeof src === \"string\") sources = [{ src }];\n\t\telse if (Array.isArray(src)) sources = src;\n\t\telse if (isObject(src)) sources = [src];\n\t\tel.querySelectorAll(\"source\").forEach((e) => {\n\t\t\te.remove();\n\t\t});\n\t\tsources.forEach(({ src: src$1, type, media }) => {\n\t\t\tconst source = document$1.createElement(\"source\");\n\t\t\tsource.setAttribute(\"src\", src$1);\n\t\t\tsource.setAttribute(\"type\", type || \"\");\n\t\t\tsource.setAttribute(\"media\", media || \"\");\n\t\t\tuseEventListener(source, \"error\", sourceErrorEvent.trigger, listenerOptions);\n\t\t\tel.appendChild(source);\n\t\t});\n\t\tel.load();\n\t});\n\t/**\n\t* Apply composable state to the element, also when element is changed\n\t*/\n\twatch([target, volume], () => {\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tel.volume = volume.value;\n\t});\n\twatch([target, muted], () => {\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tel.muted = muted.value;\n\t});\n\twatch([target, rate], () => {\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tel.playbackRate = rate.value;\n\t});\n\t/**\n\t* Load Tracks\n\t*/\n\twatchEffect(() => {\n\t\tif (!document$1) return;\n\t\tconst textTracks = toValue(options.tracks);\n\t\tconst el = toValue(target);\n\t\tif (!textTracks || !textTracks.length || !el) return;\n\t\t/**\n\t\t* The MediaAPI provides an API for adding text tracks, but they don't currently\n\t\t* have an API for removing text tracks, so instead we will just create and remove\n\t\t* the tracks manually using the HTML api.\n\t\t*/\n\t\tel.querySelectorAll(\"track\").forEach((e) => e.remove());\n\t\ttextTracks.forEach(({ default: isDefault, kind, label, src, srcLang }, i) => {\n\t\t\tconst track = document$1.createElement(\"track\");\n\t\t\ttrack.default = isDefault || false;\n\t\t\ttrack.kind = kind;\n\t\t\ttrack.label = label;\n\t\t\ttrack.src = src;\n\t\t\ttrack.srclang = srcLang;\n\t\t\tif (track.default) selectedTrack.value = i;\n\t\t\tel.appendChild(track);\n\t\t});\n\t});\n\t/**\n\t* This will allow us to update the current time from the timeupdate event\n\t* without setting the medias current position, but if the user changes the\n\t* current time via the ref, then the media will seek.\n\t*\n\t* If we did not use an ignorable watch, then the current time update from\n\t* the timeupdate event would cause the media to stutter.\n\t*/\n\tconst { ignoreUpdates: ignoreCurrentTimeUpdates } = watchIgnorable(currentTime, (time) => {\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tel.currentTime = time;\n\t});\n\t/**\n\t* Using an ignorable watch so we can control the play state using a ref and not\n\t* a function\n\t*/\n\tconst { ignoreUpdates: ignorePlayingUpdates } = watchIgnorable(playing, (isPlaying) => {\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tif (isPlaying) el.play().catch((e) => {\n\t\t\tplaybackErrorEvent.trigger(e);\n\t\t\tthrow e;\n\t\t});\n\t\telse el.pause();\n\t});\n\tuseEventListener(target, \"timeupdate\", () => ignoreCurrentTimeUpdates(() => currentTime.value = toValue(target).currentTime), listenerOptions);\n\tuseEventListener(target, \"durationchange\", () => duration.value = toValue(target).duration, listenerOptions);\n\tuseEventListener(target, \"progress\", () => buffered.value = timeRangeToArray(toValue(target).buffered), listenerOptions);\n\tuseEventListener(target, \"seeking\", () => seeking.value = true, listenerOptions);\n\tuseEventListener(target, \"seeked\", () => seeking.value = false, listenerOptions);\n\tuseEventListener(target, [\"waiting\", \"loadstart\"], () => {\n\t\twaiting.value = true;\n\t\tignorePlayingUpdates(() => playing.value = false);\n\t}, listenerOptions);\n\tuseEventListener(target, \"loadeddata\", () => waiting.value = false, listenerOptions);\n\tuseEventListener(target, \"playing\", () => {\n\t\twaiting.value = false;\n\t\tended.value = false;\n\t\tignorePlayingUpdates(() => playing.value = true);\n\t}, listenerOptions);\n\tuseEventListener(target, \"ratechange\", () => rate.value = toValue(target).playbackRate, listenerOptions);\n\tuseEventListener(target, \"stalled\", () => stalled.value = true, listenerOptions);\n\tuseEventListener(target, \"ended\", () => ended.value = true, listenerOptions);\n\tuseEventListener(target, \"pause\", () => ignorePlayingUpdates(() => playing.value = false), listenerOptions);\n\tuseEventListener(target, \"play\", () => ignorePlayingUpdates(() => playing.value = true), listenerOptions);\n\tuseEventListener(target, \"enterpictureinpicture\", () => isPictureInPicture.value = true, listenerOptions);\n\tuseEventListener(target, \"leavepictureinpicture\", () => isPictureInPicture.value = false, listenerOptions);\n\tuseEventListener(target, \"volumechange\", () => {\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tvolume.value = el.volume;\n\t\tmuted.value = el.muted;\n\t}, listenerOptions);\n\t/**\n\t* The following listeners need to listen to a nested\n\t* object on the target, so we will have to use a nested\n\t* watch and manually remove the listeners\n\t*/\n\tconst listeners = [];\n\tconst stop = watch([target], () => {\n\t\tconst el = toValue(target);\n\t\tif (!el) return;\n\t\tstop();\n\t\tlisteners[0] = useEventListener(el.textTracks, \"addtrack\", () => tracks.value = tracksToArray(el.textTracks), listenerOptions);\n\t\tlisteners[1] = useEventListener(el.textTracks, \"removetrack\", () => tracks.value = tracksToArray(el.textTracks), listenerOptions);\n\t\tlisteners[2] = useEventListener(el.textTracks, \"change\", () => tracks.value = tracksToArray(el.textTracks), listenerOptions);\n\t});\n\ttryOnScopeDispose(() => listeners.forEach((listener) => listener()));\n\treturn {\n\t\tcurrentTime,\n\t\tduration,\n\t\twaiting,\n\t\tseeking,\n\t\tended,\n\t\tstalled,\n\t\tbuffered,\n\t\tplaying,\n\t\trate,\n\t\tvolume,\n\t\tmuted,\n\t\ttracks,\n\t\tselectedTrack,\n\t\tenableTrack,\n\t\tdisableTrack,\n\t\tsupportsPictureInPicture,\n\t\ttogglePictureInPicture,\n\t\tisPictureInPicture,\n\t\tonSourceError: sourceErrorEvent.on,\n\t\tonPlaybackError: playbackErrorEvent.on\n\t};\n}\n\n//#endregion\n//#region useMemoize/index.ts\n/**\n* Reactive function result cache based on arguments\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useMemoize(resolver, options) {\n\tconst initCache = () => {\n\t\tif (options === null || options === void 0 ? void 0 : options.cache) return shallowReactive(options.cache);\n\t\treturn shallowReactive(/* @__PURE__ */ new Map());\n\t};\n\tconst cache = initCache();\n\t/**\n\t* Generate key from args\n\t*/\n\tconst generateKey = (...args) => (options === null || options === void 0 ? void 0 : options.getKey) ? options.getKey(...args) : JSON.stringify(args);\n\t/**\n\t* Load data and save in cache\n\t*/\n\tconst _loadData = (key, ...args) => {\n\t\tcache.set(key, resolver(...args));\n\t\treturn cache.get(key);\n\t};\n\tconst loadData = (...args) => _loadData(generateKey(...args), ...args);\n\t/**\n\t* Delete key from cache\n\t*/\n\tconst deleteData = (...args) => {\n\t\tcache.delete(generateKey(...args));\n\t};\n\t/**\n\t* Clear cached data\n\t*/\n\tconst clearData = () => {\n\t\tcache.clear();\n\t};\n\tconst memoized = (...args) => {\n\t\tconst key = generateKey(...args);\n\t\tif (cache.has(key)) return cache.get(key);\n\t\treturn _loadData(key, ...args);\n\t};\n\tmemoized.load = loadData;\n\tmemoized.delete = deleteData;\n\tmemoized.clear = clearData;\n\tmemoized.generateKey = generateKey;\n\tmemoized.cache = cache;\n\treturn memoized;\n}\n\n//#endregion\n//#region useMemory/index.ts\n/**\n* Reactive Memory Info.\n*\n* @see https://vueuse.org/useMemory\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useMemory(options = {}) {\n\tconst memory = ref();\n\tconst isSupported = /* @__PURE__ */ useSupported(() => typeof performance !== \"undefined\" && \"memory\" in performance);\n\tif (isSupported.value) {\n\t\tconst { interval = 1e3 } = options;\n\t\tuseIntervalFn(() => {\n\t\t\tmemory.value = performance.memory;\n\t\t}, interval, {\n\t\t\timmediate: options.immediate,\n\t\t\timmediateCallback: options.immediateCallback\n\t\t});\n\t}\n\treturn {\n\t\tisSupported,\n\t\tmemory\n\t};\n}\n\n//#endregion\n//#region useMouse/index.ts\nconst UseMouseBuiltinExtractors = {\n\tpage: (event) => [event.pageX, event.pageY],\n\tclient: (event) => [event.clientX, event.clientY],\n\tscreen: (event) => [event.screenX, event.screenY],\n\tmovement: (event) => event instanceof MouseEvent ? [event.movementX, event.movementY] : null\n};\n/**\n* Reactive mouse position.\n*\n* @see https://vueuse.org/useMouse\n* @param options\n*/\nfunction useMouse(options = {}) {\n\tconst { type = \"page\", touch = true, resetOnTouchEnds = false, initialValue = {\n\t\tx: 0,\n\t\ty: 0\n\t}, window: window$1 = defaultWindow, target = window$1, scroll = true, eventFilter } = options;\n\tlet _prevMouseEvent = null;\n\tlet _prevScrollX = 0;\n\tlet _prevScrollY = 0;\n\tconst x = shallowRef(initialValue.x);\n\tconst y = shallowRef(initialValue.y);\n\tconst sourceType = shallowRef(null);\n\tconst extractor = typeof type === \"function\" ? type : UseMouseBuiltinExtractors[type];\n\tconst mouseHandler = (event) => {\n\t\tconst result = extractor(event);\n\t\t_prevMouseEvent = event;\n\t\tif (result) {\n\t\t\t[x.value, y.value] = result;\n\t\t\tsourceType.value = \"mouse\";\n\t\t}\n\t\tif (window$1) {\n\t\t\t_prevScrollX = window$1.scrollX;\n\t\t\t_prevScrollY = window$1.scrollY;\n\t\t}\n\t};\n\tconst touchHandler = (event) => {\n\t\tif (event.touches.length > 0) {\n\t\t\tconst result = extractor(event.touches[0]);\n\t\t\tif (result) {\n\t\t\t\t[x.value, y.value] = result;\n\t\t\t\tsourceType.value = \"touch\";\n\t\t\t}\n\t\t}\n\t};\n\tconst scrollHandler = () => {\n\t\tif (!_prevMouseEvent || !window$1) return;\n\t\tconst pos = extractor(_prevMouseEvent);\n\t\tif (_prevMouseEvent instanceof MouseEvent && pos) {\n\t\t\tx.value = pos[0] + window$1.scrollX - _prevScrollX;\n\t\t\ty.value = pos[1] + window$1.scrollY - _prevScrollY;\n\t\t}\n\t};\n\tconst reset = () => {\n\t\tx.value = initialValue.x;\n\t\ty.value = initialValue.y;\n\t};\n\tconst mouseHandlerWrapper = eventFilter ? (event) => eventFilter(() => mouseHandler(event), {}) : (event) => mouseHandler(event);\n\tconst touchHandlerWrapper = eventFilter ? (event) => eventFilter(() => touchHandler(event), {}) : (event) => touchHandler(event);\n\tconst scrollHandlerWrapper = eventFilter ? () => eventFilter(() => scrollHandler(), {}) : () => scrollHandler();\n\tif (target) {\n\t\tconst listenerOptions = { passive: true };\n\t\tuseEventListener(target, [\"mousemove\", \"dragover\"], mouseHandlerWrapper, listenerOptions);\n\t\tif (touch && type !== \"movement\") {\n\t\t\tuseEventListener(target, [\"touchstart\", \"touchmove\"], touchHandlerWrapper, listenerOptions);\n\t\t\tif (resetOnTouchEnds) useEventListener(target, \"touchend\", reset, listenerOptions);\n\t\t}\n\t\tif (scroll && type === \"page\") useEventListener(window$1, \"scroll\", scrollHandlerWrapper, listenerOptions);\n\t}\n\treturn {\n\t\tx,\n\t\ty,\n\t\tsourceType\n\t};\n}\n\n//#endregion\n//#region useMouseInElement/index.ts\n/**\n* Reactive mouse position related to an element.\n*\n* @see https://vueuse.org/useMouseInElement\n* @param target\n* @param options\n*/\nfunction useMouseInElement(target, options = {}) {\n\tconst { windowResize = true, windowScroll = true, handleOutside = true, window: window$1 = defaultWindow } = options;\n\tconst type = options.type || \"page\";\n\tconst { x, y, sourceType } = useMouse(options);\n\tconst targetRef = shallowRef(target !== null && target !== void 0 ? target : window$1 === null || window$1 === void 0 ? void 0 : window$1.document.body);\n\tconst elementX = shallowRef(0);\n\tconst elementY = shallowRef(0);\n\tconst elementPositionX = shallowRef(0);\n\tconst elementPositionY = shallowRef(0);\n\tconst elementHeight = shallowRef(0);\n\tconst elementWidth = shallowRef(0);\n\tconst isOutside = shallowRef(true);\n\tfunction update() {\n\t\tif (!window$1) return;\n\t\tconst el = unrefElement(targetRef);\n\t\tif (!el || !(el instanceof Element)) return;\n\t\tfor (const rect of el.getClientRects()) {\n\t\t\tconst { left, top, width, height } = rect;\n\t\t\telementPositionX.value = left + (type === \"page\" ? window$1.pageXOffset : 0);\n\t\t\telementPositionY.value = top + (type === \"page\" ? window$1.pageYOffset : 0);\n\t\t\telementHeight.value = height;\n\t\t\telementWidth.value = width;\n\t\t\tconst elX = x.value - elementPositionX.value;\n\t\t\tconst elY = y.value - elementPositionY.value;\n\t\t\tisOutside.value = width === 0 || height === 0 || elX < 0 || elY < 0 || elX > width || elY > height;\n\t\t\tif (handleOutside || !isOutside.value) {\n\t\t\t\telementX.value = elX;\n\t\t\t\telementY.value = elY;\n\t\t\t}\n\t\t\tif (!isOutside.value) break;\n\t\t}\n\t}\n\tconst stopFnList = [];\n\tfunction stop() {\n\t\tstopFnList.forEach((fn) => fn());\n\t\tstopFnList.length = 0;\n\t}\n\ttryOnMounted(() => {\n\t\tupdate();\n\t});\n\tif (window$1) {\n\t\tconst { stop: stopResizeObserver } = useResizeObserver(targetRef, update);\n\t\tconst { stop: stopMutationObserver } = useMutationObserver(targetRef, update, { attributeFilter: [\"style\", \"class\"] });\n\t\tconst stopWatch = watch([\n\t\t\ttargetRef,\n\t\t\tx,\n\t\t\ty\n\t\t], update);\n\t\tstopFnList.push(stopResizeObserver, stopMutationObserver, stopWatch);\n\t\tuseEventListener(document, \"mouseleave\", () => isOutside.value = true, { passive: true });\n\t\tif (windowScroll) stopFnList.push(useEventListener(\"scroll\", update, {\n\t\t\tcapture: true,\n\t\t\tpassive: true\n\t\t}));\n\t\tif (windowResize) stopFnList.push(useEventListener(\"resize\", update, { passive: true }));\n\t}\n\treturn {\n\t\tx,\n\t\ty,\n\t\tsourceType,\n\t\telementX,\n\t\telementY,\n\t\telementPositionX,\n\t\telementPositionY,\n\t\telementHeight,\n\t\telementWidth,\n\t\tisOutside,\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region useMousePressed/index.ts\n/**\n* Reactive mouse pressing state.\n*\n* @see https://vueuse.org/useMousePressed\n* @param options\n*/\nfunction useMousePressed(options = {}) {\n\tconst { touch = true, drag = true, capture = false, initialValue = false, window: window$1 = defaultWindow } = options;\n\tconst pressed = shallowRef(initialValue);\n\tconst sourceType = shallowRef(null);\n\tif (!window$1) return {\n\t\tpressed,\n\t\tsourceType\n\t};\n\tconst onPressed = (srcType) => (event) => {\n\t\tvar _options$onPressed;\n\t\tpressed.value = true;\n\t\tsourceType.value = srcType;\n\t\t(_options$onPressed = options.onPressed) === null || _options$onPressed === void 0 || _options$onPressed.call(options, event);\n\t};\n\tconst onReleased = (event) => {\n\t\tvar _options$onReleased;\n\t\tpressed.value = false;\n\t\tsourceType.value = null;\n\t\t(_options$onReleased = options.onReleased) === null || _options$onReleased === void 0 || _options$onReleased.call(options, event);\n\t};\n\tconst target = computed(() => unrefElement(options.target) || window$1);\n\tconst listenerOptions = {\n\t\tpassive: true,\n\t\tcapture\n\t};\n\tuseEventListener(target, \"mousedown\", onPressed(\"mouse\"), listenerOptions);\n\tuseEventListener(window$1, \"mouseleave\", onReleased, listenerOptions);\n\tuseEventListener(window$1, \"mouseup\", onReleased, listenerOptions);\n\tif (drag) {\n\t\tuseEventListener(target, \"dragstart\", onPressed(\"mouse\"), listenerOptions);\n\t\tuseEventListener(window$1, \"drop\", onReleased, listenerOptions);\n\t\tuseEventListener(window$1, \"dragend\", onReleased, listenerOptions);\n\t}\n\tif (touch) {\n\t\tuseEventListener(target, \"touchstart\", onPressed(\"touch\"), listenerOptions);\n\t\tuseEventListener(window$1, \"touchend\", onReleased, listenerOptions);\n\t\tuseEventListener(window$1, \"touchcancel\", onReleased, listenerOptions);\n\t}\n\treturn {\n\t\tpressed,\n\t\tsourceType\n\t};\n}\n\n//#endregion\n//#region useNavigatorLanguage/index.ts\n/**\n*\n* Reactive useNavigatorLanguage\n*\n* Detects the currently selected user language and returns a reactive language\n* @see https://vueuse.org/useNavigatorLanguage\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useNavigatorLanguage(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst navigator$1 = window$1 === null || window$1 === void 0 ? void 0 : window$1.navigator;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"language\" in navigator$1);\n\tconst language = shallowRef(navigator$1 === null || navigator$1 === void 0 ? void 0 : navigator$1.language);\n\tuseEventListener(window$1, \"languagechange\", () => {\n\t\tif (navigator$1) language.value = navigator$1.language;\n\t}, { passive: true });\n\treturn {\n\t\tisSupported,\n\t\tlanguage\n\t};\n}\n\n//#endregion\n//#region useNetwork/index.ts\n/**\n* Reactive Network status.\n*\n* @see https://vueuse.org/useNetwork\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useNetwork(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst navigator$1 = window$1 === null || window$1 === void 0 ? void 0 : window$1.navigator;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => navigator$1 && \"connection\" in navigator$1);\n\tconst isOnline = shallowRef(true);\n\tconst saveData = shallowRef(false);\n\tconst offlineAt = shallowRef(void 0);\n\tconst onlineAt = shallowRef(void 0);\n\tconst downlink = shallowRef(void 0);\n\tconst downlinkMax = shallowRef(void 0);\n\tconst rtt = shallowRef(void 0);\n\tconst effectiveType = shallowRef(void 0);\n\tconst type = shallowRef(\"unknown\");\n\tconst connection = isSupported.value && navigator$1.connection;\n\tfunction updateNetworkInformation() {\n\t\tif (!navigator$1) return;\n\t\tisOnline.value = navigator$1.onLine;\n\t\tofflineAt.value = isOnline.value ? void 0 : Date.now();\n\t\tonlineAt.value = isOnline.value ? Date.now() : void 0;\n\t\tif (connection) {\n\t\t\tdownlink.value = connection.downlink;\n\t\t\tdownlinkMax.value = connection.downlinkMax;\n\t\t\teffectiveType.value = connection.effectiveType;\n\t\t\trtt.value = connection.rtt;\n\t\t\tsaveData.value = connection.saveData;\n\t\t\ttype.value = connection.type;\n\t\t}\n\t}\n\tconst listenerOptions = { passive: true };\n\tif (window$1) {\n\t\tuseEventListener(window$1, \"offline\", () => {\n\t\t\tisOnline.value = false;\n\t\t\tofflineAt.value = Date.now();\n\t\t}, listenerOptions);\n\t\tuseEventListener(window$1, \"online\", () => {\n\t\t\tisOnline.value = true;\n\t\t\tonlineAt.value = Date.now();\n\t\t}, listenerOptions);\n\t}\n\tif (connection) useEventListener(connection, \"change\", updateNetworkInformation, listenerOptions);\n\tupdateNetworkInformation();\n\treturn {\n\t\tisSupported,\n\t\tisOnline: readonly(isOnline),\n\t\tsaveData: readonly(saveData),\n\t\tofflineAt: readonly(offlineAt),\n\t\tonlineAt: readonly(onlineAt),\n\t\tdownlink: readonly(downlink),\n\t\tdownlinkMax: readonly(downlinkMax),\n\t\teffectiveType: readonly(effectiveType),\n\t\trtt: readonly(rtt),\n\t\ttype: readonly(type)\n\t};\n}\n\n//#endregion\n//#region useNow/index.ts\n/**\n* Reactive current Date instance.\n*\n* @see https://vueuse.org/useNow\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useNow(options = {}) {\n\tconst { controls: exposeControls = false, interval = \"requestAnimationFrame\", immediate = true } = options;\n\tconst now = ref(/* @__PURE__ */ new Date());\n\tconst update = () => now.value = /* @__PURE__ */ new Date();\n\tconst controls = interval === \"requestAnimationFrame\" ? useRafFn(update, { immediate }) : useIntervalFn(update, interval, { immediate });\n\tif (exposeControls) return {\n\t\tnow,\n\t\t...controls\n\t};\n\telse return now;\n}\n\n//#endregion\n//#region useObjectUrl/index.ts\n/**\n* Reactive URL representing an object.\n*\n* @see https://vueuse.org/useObjectUrl\n* @param object\n*/\nfunction useObjectUrl(object) {\n\tconst url = shallowRef();\n\tconst release = () => {\n\t\tif (url.value) URL.revokeObjectURL(url.value);\n\t\turl.value = void 0;\n\t};\n\twatch(() => toValue(object), (newObject) => {\n\t\trelease();\n\t\tif (newObject) url.value = URL.createObjectURL(newObject);\n\t}, { immediate: true });\n\ttryOnScopeDispose(release);\n\treturn readonly(url);\n}\n\n//#endregion\n//#region ../math/useClamp/index.ts\n/**\n* Reactively clamp a value between two other values.\n*\n* @see https://vueuse.org/useClamp\n* @param value number\n* @param min\n* @param max\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useClamp(value, min, max) {\n\tif (typeof value === \"function\" || isReadonly(value)) return computed(() => clamp(toValue(value), toValue(min), toValue(max)));\n\tconst _value = ref(value);\n\treturn computed({\n\t\tget() {\n\t\t\treturn _value.value = clamp(_value.value, toValue(min), toValue(max));\n\t\t},\n\t\tset(value$1) {\n\t\t\t_value.value = clamp(value$1, toValue(min), toValue(max));\n\t\t}\n\t});\n}\n\n//#endregion\n//#region useOffsetPagination/index.ts\nfunction useOffsetPagination(options) {\n\tconst { total = Number.POSITIVE_INFINITY, pageSize = 10, page = 1, onPageChange = noop, onPageSizeChange = noop, onPageCountChange = noop } = options;\n\tconst currentPageSize = useClamp(pageSize, 1, Number.POSITIVE_INFINITY);\n\tconst pageCount = computed(() => Math.max(1, Math.ceil(toValue(total) / toValue(currentPageSize))));\n\tconst currentPage = useClamp(page, 1, pageCount);\n\tconst isFirstPage = computed(() => currentPage.value === 1);\n\tconst isLastPage = computed(() => currentPage.value === pageCount.value);\n\tif (isRef(page)) syncRef(page, currentPage, { direction: isReadonly(page) ? \"ltr\" : \"both\" });\n\tif (isRef(pageSize)) syncRef(pageSize, currentPageSize, { direction: isReadonly(pageSize) ? \"ltr\" : \"both\" });\n\tfunction prev() {\n\t\tcurrentPage.value--;\n\t}\n\tfunction next() {\n\t\tcurrentPage.value++;\n\t}\n\tconst returnValue = {\n\t\tcurrentPage,\n\t\tcurrentPageSize,\n\t\tpageCount,\n\t\tisFirstPage,\n\t\tisLastPage,\n\t\tprev,\n\t\tnext\n\t};\n\twatch(currentPage, () => {\n\t\tonPageChange(reactive(returnValue));\n\t});\n\twatch(currentPageSize, () => {\n\t\tonPageSizeChange(reactive(returnValue));\n\t});\n\twatch(pageCount, () => {\n\t\tonPageCountChange(reactive(returnValue));\n\t});\n\treturn returnValue;\n}\n\n//#endregion\n//#region useOnline/index.ts\n/**\n* Reactive online state.\n*\n* @see https://vueuse.org/useOnline\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useOnline(options = {}) {\n\tconst { isOnline } = useNetwork(options);\n\treturn isOnline;\n}\n\n//#endregion\n//#region usePageLeave/index.ts\n/**\n* Reactive state to show whether mouse leaves the page.\n*\n* @see https://vueuse.org/usePageLeave\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePageLeave(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst isLeft = shallowRef(false);\n\tconst handler = (event) => {\n\t\tif (!window$1) return;\n\t\tevent = event || window$1.event;\n\t\tisLeft.value = !(event.relatedTarget || event.toElement);\n\t};\n\tif (window$1) {\n\t\tconst listenerOptions = { passive: true };\n\t\tuseEventListener(window$1, \"mouseout\", handler, listenerOptions);\n\t\tuseEventListener(window$1.document, \"mouseleave\", handler, listenerOptions);\n\t\tuseEventListener(window$1.document, \"mouseenter\", handler, listenerOptions);\n\t}\n\treturn isLeft;\n}\n\n//#endregion\n//#region useScreenOrientation/index.ts\n/**\n* Reactive screen orientation\n*\n* @see https://vueuse.org/useScreenOrientation\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction useScreenOrientation(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"screen\" in window$1 && \"orientation\" in window$1.screen);\n\tconst screenOrientation = isSupported.value ? window$1.screen.orientation : {};\n\tconst orientation = ref(screenOrientation.type);\n\tconst angle = shallowRef(screenOrientation.angle || 0);\n\tif (isSupported.value) useEventListener(window$1, \"orientationchange\", () => {\n\t\torientation.value = screenOrientation.type;\n\t\tangle.value = screenOrientation.angle;\n\t}, { passive: true });\n\tconst lockOrientation = (type) => {\n\t\tif (isSupported.value && typeof screenOrientation.lock === \"function\") return screenOrientation.lock(type);\n\t\treturn Promise.reject(/* @__PURE__ */ new Error(\"Not supported\"));\n\t};\n\tconst unlockOrientation = () => {\n\t\tif (isSupported.value && typeof screenOrientation.unlock === \"function\") screenOrientation.unlock();\n\t};\n\treturn {\n\t\tisSupported,\n\t\torientation,\n\t\tangle,\n\t\tlockOrientation,\n\t\tunlockOrientation\n\t};\n}\n\n//#endregion\n//#region useParallax/index.ts\n/**\n* Create parallax effect easily. It uses `useDeviceOrientation` and fallback to `useMouse`\n* if orientation is not supported.\n*\n* @param target\n* @param options\n*/\nfunction useParallax(target, options = {}) {\n\tconst { deviceOrientationTiltAdjust = (i) => i, deviceOrientationRollAdjust = (i) => i, mouseTiltAdjust = (i) => i, mouseRollAdjust = (i) => i, window: window$1 = defaultWindow } = options;\n\tconst orientation = reactive(useDeviceOrientation({ window: window$1 }));\n\tconst screenOrientation = reactive(useScreenOrientation({ window: window$1 }));\n\tconst { elementX: x, elementY: y, elementWidth: width, elementHeight: height } = useMouseInElement(target, {\n\t\thandleOutside: false,\n\t\twindow: window$1\n\t});\n\tconst source = computed(() => {\n\t\tif (orientation.isSupported && (orientation.alpha != null && orientation.alpha !== 0 || orientation.gamma != null && orientation.gamma !== 0)) return \"deviceOrientation\";\n\t\treturn \"mouse\";\n\t});\n\treturn {\n\t\troll: computed(() => {\n\t\t\tif (source.value === \"deviceOrientation\") {\n\t\t\t\tlet value;\n\t\t\t\tswitch (screenOrientation.orientation) {\n\t\t\t\t\tcase \"landscape-primary\":\n\t\t\t\t\t\tvalue = orientation.gamma / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"landscape-secondary\":\n\t\t\t\t\t\tvalue = -orientation.gamma / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"portrait-primary\":\n\t\t\t\t\t\tvalue = -orientation.beta / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"portrait-secondary\":\n\t\t\t\t\t\tvalue = orientation.beta / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault: value = -orientation.beta / 90;\n\t\t\t\t}\n\t\t\t\treturn deviceOrientationRollAdjust(value);\n\t\t\t} else return mouseRollAdjust(-(y.value - height.value / 2) / height.value);\n\t\t}),\n\t\ttilt: computed(() => {\n\t\t\tif (source.value === \"deviceOrientation\") {\n\t\t\t\tlet value;\n\t\t\t\tswitch (screenOrientation.orientation) {\n\t\t\t\t\tcase \"landscape-primary\":\n\t\t\t\t\t\tvalue = orientation.beta / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"landscape-secondary\":\n\t\t\t\t\t\tvalue = -orientation.beta / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"portrait-primary\":\n\t\t\t\t\t\tvalue = orientation.gamma / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"portrait-secondary\":\n\t\t\t\t\t\tvalue = -orientation.gamma / 90;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault: value = orientation.gamma / 90;\n\t\t\t\t}\n\t\t\t\treturn deviceOrientationTiltAdjust(value);\n\t\t\t} else return mouseTiltAdjust((x.value - width.value / 2) / width.value);\n\t\t}),\n\t\tsource\n\t};\n}\n\n//#endregion\n//#region useParentElement/index.ts\nfunction useParentElement(element = useCurrentElement()) {\n\tconst parentElement = shallowRef();\n\tconst update = () => {\n\t\tconst el = unrefElement(element);\n\t\tif (el) parentElement.value = el.parentElement;\n\t};\n\ttryOnMounted(update);\n\twatch(() => toValue(element), update);\n\treturn parentElement;\n}\n\n//#endregion\n//#region usePerformanceObserver/index.ts\n/**\n* Observe performance metrics.\n*\n* @see https://vueuse.org/usePerformanceObserver\n* @param options\n*/\nfunction usePerformanceObserver(options, callback) {\n\tconst { window: window$1 = defaultWindow, immediate = true,...performanceOptions } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => window$1 && \"PerformanceObserver\" in window$1);\n\tlet observer;\n\tconst stop = () => {\n\t\tobserver === null || observer === void 0 || observer.disconnect();\n\t};\n\tconst start = () => {\n\t\tif (isSupported.value) {\n\t\t\tstop();\n\t\t\tobserver = new PerformanceObserver(callback);\n\t\t\tobserver.observe(performanceOptions);\n\t\t}\n\t};\n\ttryOnScopeDispose(stop);\n\tif (immediate) start();\n\treturn {\n\t\tisSupported,\n\t\tstart,\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region usePointer/index.ts\nconst defaultState = {\n\tx: 0,\n\ty: 0,\n\tpointerId: 0,\n\tpressure: 0,\n\ttiltX: 0,\n\ttiltY: 0,\n\twidth: 0,\n\theight: 0,\n\ttwist: 0,\n\tpointerType: null\n};\nconst keys = /* @__PURE__ */ Object.keys(defaultState);\n/**\n* Reactive pointer state.\n*\n* @see https://vueuse.org/usePointer\n* @param options\n*/\nfunction usePointer(options = {}) {\n\tconst { target = defaultWindow } = options;\n\tconst isInside = shallowRef(false);\n\tconst state = shallowRef(options.initialValue || {});\n\tObject.assign(state.value, defaultState, state.value);\n\tconst handler = (event) => {\n\t\tisInside.value = true;\n\t\tif (options.pointerTypes && !options.pointerTypes.includes(event.pointerType)) return;\n\t\tstate.value = objectPick(event, keys, false);\n\t};\n\tif (target) {\n\t\tconst listenerOptions = { passive: true };\n\t\tuseEventListener(target, [\n\t\t\t\"pointerdown\",\n\t\t\t\"pointermove\",\n\t\t\t\"pointerup\"\n\t\t], handler, listenerOptions);\n\t\tuseEventListener(target, \"pointerleave\", () => isInside.value = false, listenerOptions);\n\t}\n\treturn {\n\t\t...toRefs(state),\n\t\tisInside\n\t};\n}\n\n//#endregion\n//#region usePointerLock/index.ts\n/**\n* Reactive pointer lock.\n*\n* @see https://vueuse.org/usePointerLock\n* @param target\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePointerLock(target, options = {}) {\n\tconst { document: document$1 = defaultDocument } = options;\n\tconst isSupported = /* @__PURE__ */ useSupported(() => document$1 && \"pointerLockElement\" in document$1);\n\tconst element = shallowRef();\n\tconst triggerElement = shallowRef();\n\tlet targetElement;\n\tif (isSupported.value) {\n\t\tconst listenerOptions = { passive: true };\n\t\tuseEventListener(document$1, \"pointerlockchange\", () => {\n\t\t\tvar _pointerLockElement;\n\t\t\tconst currentElement = (_pointerLockElement = document$1.pointerLockElement) !== null && _pointerLockElement !== void 0 ? _pointerLockElement : element.value;\n\t\t\tif (targetElement && currentElement === targetElement) {\n\t\t\t\telement.value = document$1.pointerLockElement;\n\t\t\t\tif (!element.value) targetElement = triggerElement.value = null;\n\t\t\t}\n\t\t}, listenerOptions);\n\t\tuseEventListener(document$1, \"pointerlockerror\", () => {\n\t\t\tvar _pointerLockElement2;\n\t\t\tconst currentElement = (_pointerLockElement2 = document$1.pointerLockElement) !== null && _pointerLockElement2 !== void 0 ? _pointerLockElement2 : element.value;\n\t\t\tif (targetElement && currentElement === targetElement) {\n\t\t\t\tconst action = document$1.pointerLockElement ? \"release\" : \"acquire\";\n\t\t\t\tthrow new Error(`Failed to ${action} pointer lock.`);\n\t\t\t}\n\t\t}, listenerOptions);\n\t}\n\tasync function lock(e) {\n\t\tvar _unrefElement;\n\t\tif (!isSupported.value) throw new Error(\"Pointer Lock API is not supported by your browser.\");\n\t\ttriggerElement.value = e instanceof Event ? e.currentTarget : null;\n\t\ttargetElement = e instanceof Event ? (_unrefElement = unrefElement(target)) !== null && _unrefElement !== void 0 ? _unrefElement : triggerElement.value : unrefElement(e);\n\t\tif (!targetElement) throw new Error(\"Target element undefined.\");\n\t\ttargetElement.requestPointerLock();\n\t\treturn await until(element).toBe(targetElement);\n\t}\n\tasync function unlock() {\n\t\tif (!element.value) return false;\n\t\tdocument$1.exitPointerLock();\n\t\tawait until(element).toBeNull();\n\t\treturn true;\n\t}\n\treturn {\n\t\tisSupported,\n\t\telement,\n\t\ttriggerElement,\n\t\tlock,\n\t\tunlock\n\t};\n}\n\n//#endregion\n//#region usePointerSwipe/index.ts\n/**\n* Reactive swipe detection based on PointerEvents.\n*\n* @see https://vueuse.org/usePointerSwipe\n* @param target\n* @param options\n*/\nfunction usePointerSwipe(target, options = {}) {\n\tconst targetRef = toRef(target);\n\tconst { threshold = 50, onSwipe, onSwipeEnd, onSwipeStart, disableTextSelect = false } = options;\n\tconst posStart = reactive({\n\t\tx: 0,\n\t\ty: 0\n\t});\n\tconst updatePosStart = (x, y) => {\n\t\tposStart.x = x;\n\t\tposStart.y = y;\n\t};\n\tconst posEnd = reactive({\n\t\tx: 0,\n\t\ty: 0\n\t});\n\tconst updatePosEnd = (x, y) => {\n\t\tposEnd.x = x;\n\t\tposEnd.y = y;\n\t};\n\tconst distanceX = computed(() => posStart.x - posEnd.x);\n\tconst distanceY = computed(() => posStart.y - posEnd.y);\n\tconst { max, abs } = Math;\n\tconst isThresholdExceeded = computed(() => max(abs(distanceX.value), abs(distanceY.value)) >= threshold);\n\tconst isSwiping = shallowRef(false);\n\tconst isPointerDown = shallowRef(false);\n\tconst direction = computed(() => {\n\t\tif (!isThresholdExceeded.value) return \"none\";\n\t\tif (abs(distanceX.value) > abs(distanceY.value)) return distanceX.value > 0 ? \"left\" : \"right\";\n\t\telse return distanceY.value > 0 ? \"up\" : \"down\";\n\t});\n\tconst eventIsAllowed = (e) => {\n\t\tvar _ref, _options$pointerTypes, _options$pointerTypes2;\n\t\tconst isReleasingButton = e.buttons === 0;\n\t\tconst isPrimaryButton = e.buttons === 1;\n\t\treturn (_ref = (_options$pointerTypes = (_options$pointerTypes2 = options.pointerTypes) === null || _options$pointerTypes2 === void 0 ? void 0 : _options$pointerTypes2.includes(e.pointerType)) !== null && _options$pointerTypes !== void 0 ? _options$pointerTypes : isReleasingButton || isPrimaryButton) !== null && _ref !== void 0 ? _ref : true;\n\t};\n\tconst listenerOptions = { passive: true };\n\tconst stops = [\n\t\tuseEventListener(target, \"pointerdown\", (e) => {\n\t\t\tif (!eventIsAllowed(e)) return;\n\t\t\tisPointerDown.value = true;\n\t\t\tconst eventTarget = e.target;\n\t\t\teventTarget === null || eventTarget === void 0 || eventTarget.setPointerCapture(e.pointerId);\n\t\t\tconst { clientX: x, clientY: y } = e;\n\t\t\tupdatePosStart(x, y);\n\t\t\tupdatePosEnd(x, y);\n\t\t\tonSwipeStart === null || onSwipeStart === void 0 || onSwipeStart(e);\n\t\t}, listenerOptions),\n\t\tuseEventListener(target, \"pointermove\", (e) => {\n\t\t\tif (!eventIsAllowed(e)) return;\n\t\t\tif (!isPointerDown.value) return;\n\t\t\tconst { clientX: x, clientY: y } = e;\n\t\t\tupdatePosEnd(x, y);\n\t\t\tif (!isSwiping.value && isThresholdExceeded.value) isSwiping.value = true;\n\t\t\tif (isSwiping.value) onSwipe === null || onSwipe === void 0 || onSwipe(e);\n\t\t}, listenerOptions),\n\t\tuseEventListener(target, \"pointerup\", (e) => {\n\t\t\tif (!eventIsAllowed(e)) return;\n\t\t\tif (isSwiping.value) onSwipeEnd === null || onSwipeEnd === void 0 || onSwipeEnd(e, direction.value);\n\t\t\tisPointerDown.value = false;\n\t\t\tisSwiping.value = false;\n\t\t}, listenerOptions)\n\t];\n\ttryOnMounted(() => {\n\t\tvar _targetRef$value;\n\t\t(_targetRef$value = targetRef.value) === null || _targetRef$value === void 0 || (_targetRef$value = _targetRef$value.style) === null || _targetRef$value === void 0 || _targetRef$value.setProperty(\"touch-action\", \"pan-y\");\n\t\tif (disableTextSelect) {\n\t\t\tvar _targetRef$value2, _targetRef$value3, _targetRef$value4;\n\t\t\t(_targetRef$value2 = targetRef.value) === null || _targetRef$value2 === void 0 || (_targetRef$value2 = _targetRef$value2.style) === null || _targetRef$value2 === void 0 || _targetRef$value2.setProperty(\"-webkit-user-select\", \"none\");\n\t\t\t(_targetRef$value3 = targetRef.value) === null || _targetRef$value3 === void 0 || (_targetRef$value3 = _targetRef$value3.style) === null || _targetRef$value3 === void 0 || _targetRef$value3.setProperty(\"-ms-user-select\", \"none\");\n\t\t\t(_targetRef$value4 = targetRef.value) === null || _targetRef$value4 === void 0 || (_targetRef$value4 = _targetRef$value4.style) === null || _targetRef$value4 === void 0 || _targetRef$value4.setProperty(\"user-select\", \"none\");\n\t\t}\n\t});\n\tconst stop = () => stops.forEach((s) => s());\n\treturn {\n\t\tisSwiping: readonly(isSwiping),\n\t\tdirection: readonly(direction),\n\t\tposStart: readonly(posStart),\n\t\tposEnd: readonly(posEnd),\n\t\tdistanceX,\n\t\tdistanceY,\n\t\tstop\n\t};\n}\n\n//#endregion\n//#region usePreferredColorScheme/index.ts\n/**\n* Reactive prefers-color-scheme media query.\n*\n* @see https://vueuse.org/usePreferredColorScheme\n* @param [options]\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePreferredColorScheme(options) {\n\tconst isLight = useMediaQuery(\"(prefers-color-scheme: light)\", options);\n\tconst isDark = useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n\treturn computed(() => {\n\t\tif (isDark.value) return \"dark\";\n\t\tif (isLight.value) return \"light\";\n\t\treturn \"no-preference\";\n\t});\n}\n\n//#endregion\n//#region usePreferredContrast/index.ts\n/**\n* Reactive prefers-contrast media query.\n*\n* @see https://vueuse.org/usePreferredContrast\n* @param [options]\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePreferredContrast(options) {\n\tconst isMore = useMediaQuery(\"(prefers-contrast: more)\", options);\n\tconst isLess = useMediaQuery(\"(prefers-contrast: less)\", options);\n\tconst isCustom = useMediaQuery(\"(prefers-contrast: custom)\", options);\n\treturn computed(() => {\n\t\tif (isMore.value) return \"more\";\n\t\tif (isLess.value) return \"less\";\n\t\tif (isCustom.value) return \"custom\";\n\t\treturn \"no-preference\";\n\t});\n}\n\n//#endregion\n//#region usePreferredLanguages/index.ts\n/**\n* Reactive Navigator Languages.\n*\n* @see https://vueuse.org/usePreferredLanguages\n* @param options\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePreferredLanguages(options = {}) {\n\tconst { window: window$1 = defaultWindow } = options;\n\tif (!window$1) return shallowRef([\"en\"]);\n\tconst navigator$1 = window$1.navigator;\n\tconst value = shallowRef(navigator$1.languages);\n\tuseEventListener(window$1, \"languagechange\", () => {\n\t\tvalue.value = navigator$1.languages;\n\t}, { passive: true });\n\treturn value;\n}\n\n//#endregion\n//#region usePreferredReducedMotion/index.ts\n/**\n* Reactive prefers-reduced-motion media query.\n*\n* @see https://vueuse.org/usePreferredReducedMotion\n* @param [options]\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePreferredReducedMotion(options) {\n\tconst isReduced = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n\treturn computed(() => {\n\t\tif (isReduced.value) return \"reduce\";\n\t\treturn \"no-preference\";\n\t});\n}\n\n//#endregion\n//#region usePreferredReducedTransparency/index.ts\n/**\n* Reactive prefers-reduced-transparency media query.\n*\n* @see https://vueuse.org/usePreferredReducedTransparency\n* @param [options]\n*\n* @__NO_SIDE_EFFECTS__\n*/\nfunction usePreferredReducedTransparency(options) {\n\tconst isReduced = useMediaQuery(\"(prefers-reduced-transparency: reduce)\", options);\n\treturn computed(() => {\n\t\tif (isReduced.value) return \"reduce\";\n\t\treturn \"no-preference\";\n\t});\n}\n\n//#endregion\n//#region usePrevious/index.ts\nfunction usePrevious(value, initialValue) {\n\tconst previous = shallowRef(initialValue);\n\twatch(toRef(value), (_, oldValue) => {\n\t\tprevious.value = oldValue;\n\t}, { flush: \"sync\" });\n\treturn readonly(previous);\n}\n\n//#endregion\n//#region useScreenSafeArea/index.ts\nconst topVarName = \"--vueuse-safe-area-top\";\nconst rightVarName = \"--vueuse-safe-area-right\";\nconst bottomVarName = \"--vueuse-safe-area-bottom\";\nconst leftVarName = \"--vueuse-safe-area-left\";\n/**\n* Reactive `env(safe-area-inset-*)`\n*\n* @see https://vueuse.org/useScreenSafeArea\n*/\nfunction useScreenSafeArea() {\n\tconst top = shallowRef(\"\");\n\tconst right = shallowRef(\"\");\n\tconst bottom = shallowRef(\"\");\n\tconst left = shallowRef(\"\");\n\tif (isClient) {\n\t\tconst topCssVar = useCssVar(topVarName);\n\t\tconst rightCssVar = useCssVar(rightVarName);\n\t\tconst bottomCssVar = useCssVar(bottomVarName);\n\t\tconst leftCssVar = useCssVar(leftVarName);\n\t\ttopCssVar.value = \"env(safe-area-inset-top, 0px)\";\n\t\trightCssVar.value = \"env(safe-area-inset-right, 0px)\";\n\t\tbottomCssVar.value = \"env(safe-area-inset-bottom, 0px)\";\n\t\tleftCssVar.value = \"env(safe-area-inset-left, 0px)\";\n\t\ttryOnMounted(update);\n\t\tuseEventListener(\"resize\", useDebounceFn(update), { passive: true });\n\t}\n\tfunction update() {\n\t\ttop.value = getValue(topVarName);\n\t\tright.value = getValue(rightVarName);\n\t\tbottom.value = getValue(bottomVarName);\n\t\tleft.value = getValue(leftVarName);\n\t}\n\treturn {\n\t\ttop,\n\t\tright,\n\t\tbottom,\n\t\tleft,\n\t\tupdate\n\t};\n}\nfunction getValue(position) {\n\treturn getComputedStyle(document.documentElement).getPropertyValue(position);\n}\n\n//#endregion\n//#region useScriptTag/index.ts\n/**\n* Async script tag loading.\n*\n* @see https://vueuse.org/useScriptTag\n* @param src\n* @param onLoaded\n* @param options\n*/\nfunction useScriptTag(src, onLoaded = noop, options = {}) {\n\tconst { immediate = true, manual = false, type = \"text/javascript\", async = true, crossOrigin, referrerPolicy, noModule, defer, document: document$1 = defaultDocument, attrs = {}, nonce = void 0 } = options;\n\tconst scriptTag = shallowRef(null);\n\tlet _promise = null;\n\t/**\n\t* Load the script specified via `src`.\n\t*\n\t* @param waitForScriptLoad Whether if the Promise should resolve once the \"load\" event is emitted by the \n","\n\n\n\n\n\n\n"],"names":["props","__props","emit","__emit","attachTarget","ref","onMounted","_a","getCurrentInstance","onBeforeUnmount","_createElementBlock","ActivityTab","defineComponent","ActivityComponent","NcEmptyContent","NcIconSvgWrapper","NcLoadingIcon","ActivitySidebarPlugin","lightningBoltSVG","getSidebarActions","fileInfo","sidebarPlugins","nextTick","activities","otherEntries","getAdditionalEntries","a","b","error","t","logger","data","axios","generateOcsUrl","activity","ActivityModel","filters","getActivityFilters","filter","_normalizeClass","_ctx","_createBlock","_component_NcEmptyContent","_withCtx","_createVNode","_component_NcIconSvgWrapper","_Fragment","_openBlock","_hoisted_1","_renderList","plugin","index","_component_ActivitySidebarPlugin","_cache","_component_NcLoadingIcon","_createElementVNode","_hoisted_2","_component_ActivityComponent"],"mappings":"kuBAcA,MAAMA,EAAQC,EAMRC,EAAOC,EAIPC,EAAeC,EAAoB,EAEzC,OAAAC,EAAU,IAAG,OAAS,OAAAN,EAAA,OAAO,MAAMI,EAAa,MAAyB,CACxE,SAASG,EAAmBC,EAAA,IAAnB,KAAsB,OAAAD,EAAA,MAC/B,SAAUP,EAAM,SAChB,OAAQ,IAAME,EAAK,mBAAmB,CAAA,CACtC,CAAA,CAAC,EACFO,EAAgB,IAAMT,EAAM,OAAO,QAAA,CAAS,cAzB3CU,EAA0B,MAAA,SAAjB,eAAJ,IAAIN,CAAA,gBCkEJO,EAAcC,EAAgB,CACnC,KAAM,cACN,WAAY,CAAA,kBACXC,EACA,eAAAC,EACA,iBAAAC,EACA,cAAAC,EACAC,sBAAAA,CACD,EAEA,OAAQ,CAAC,QAAQ,EAEjB,MAAO,CACC,MAAA,CACN,MAAO,GACP,QAAS,GACT,SAAU,KACV,WAAY,CAAC,EACb,iBAAAC,EACA,eAAgB,CAAA,CACjB,CACD,EAEA,SAAU,CACT,KAAK,eAAiBC,EAAkB,CACzC,EAEA,QAAS,CAMR,MAAM,OAAOC,EAAU,CACtB,KAAK,eAAiB,CAAC,EACvB,MAAMC,EAAiBF,EAAkB,EACrCE,EAAe,OAAS,GAC3BC,EAAS,IAAM,CACd,KAAK,eAAiBD,CAAA,CACtB,EAGF,KAAK,SAAWD,EAChB,KAAK,WAAW,EAChB,MAAM,KAAK,cAAc,CAC1B,EAKA,MAAM,eAAgB,CACjB,GAAA,CACH,KAAK,QAAU,GAEf,MAAMG,EAAa,MAAM,KAAK,kBAAkB,MAAM,KAAK,oBAAoB,EACzEC,EAAe,MAAMC,EAAqB,CAAE,SAAU,KAAK,SAAU,EAC3E,KAAK,WAAa,CAAC,GAAGF,EAAY,GAAGC,CAAY,EAAE,KAAK,CAACE,EAAGC,IAAMA,EAAE,UAAYD,EAAE,SAAS,QACnFE,EAAO,CACV,KAAA,MAAQC,EAAE,WAAY,kCAAkC,EAC7DC,EAAO,MAAM,kCAAmC,CAAE,MAAAF,CAAA,CAAO,CAAA,SAEzD,KAAK,QAAU,EAAA,CAEjB,EAKA,YAAa,CACZ,KAAK,QAAU,GACf,KAAK,MAAQ,GACb,KAAK,WAAa,CAAC,CACpB,EAKA,MAAM,oBAAqB,CACtB,GAAA,CACH,KAAM,CAAE,KAAAG,CAAA,EAAS,MAAMC,EAAM,IAC5BC,EAAe,sCAAsC,EACrD,CACC,OAAQ,CACP,OAAQ,OACR,YAAa,QACb,UAAW,KAAK,SAAS,EAAA,CAC1B,CAEF,EACA,OAAOF,EAAK,IAAI,WACRH,EAAO,CAEf,GAAIA,EAAM,WAAa,QAAaA,EAAM,SAAS,SAAW,IAC7D,MAAO,CAAC,EAEH,MAAAA,CAAA,CAER,EAOA,kBAAkBL,EAA6B,CAC9CA,EAAaA,EAAW,IAAKW,GAAa,IAAIC,EAAcD,CAAQ,CAAC,EAE9DJ,EAAA,MAAM,aAAa,OAAAP,EAAW,OAAM,gBAAA,EAAkB,CAAE,WAAAA,EAAY,SAAU,KAAK,QAAA,CAAU,EAEpG,MAAMa,EAAUC,EAAmB,EACnC,OAAOd,EAAW,OAAQW,GAAa,CAACE,GAAWA,EAAQ,MAAOE,GAAWA,EAAOJ,CAAQ,CAAC,CAAC,CAC/F,EAEAL,EAAAA,CAAA,CAEF,CAAC,WA1KwC,MAAM,8BA0BjC,MAAM,oLArCnBnB,EA8CM,MAAA,CA7CJ,MAAK6B,EAAA,CAAA,CAAA,eAAoBC,EAAO,OAAA,EAC3B,UAAU,CAAA,CAAA,EAAA,CAEMA,EAAS,OAAAA,EAAA,WAAQ,UAAvCC,EAIiBC,EAAA,CAAA,IAAA,EAJkC,KAAMF,EAAA,KAAA,EAAA,CAC7C,KAAIG,EACd,IAA4C,CAA5CC,EAA4CC,EAAzB,CAAA,IAAKL,EAAgB,gBAAA,EAAA,KAAA,EAAA,CAAA,KAAA,CAAA,CAAA,CAAA,yBAG1C9B,EAoCWoC,EAAA,CAAA,IAAA,GAAA,CAlCCN,EAAe,eAAA,OAAM,GAAhCO,EAAA,EAAArC,EAOM,MAPNsC,EAOM,EAAAD,EAAA,EAAA,EANLrC,EAKwCoC,EAAA,KAAAG,EAJfT,EAAc,eAAA,CAA/BU,EAAQC,SADhBV,EAKwCW,EAAA,CAHtC,IAAKD,EACL,OAAAD,EACA,YAAWV,EAAA,SACX,mBAAiBa,eAAEb,EAAa,cAAA,EAAA,EAAA,KAAA,EAAA,CAAA,SAAA,WAAA,CAAA,sBAK5BA,EAAA,SAAAO,IADPN,EAOiBC,EAAA,CAAA,IAAA,EALhB,MAAM,0BACL,KAAMF,EAAC,EAAA,WAAA,oBAAA,CAAA,EAAA,CACG,KAAIG,EACd,IAAiB,CAAjBC,EAAiBU,CAAA,CAAA,CAAA,oBAIPd,EAAW,WAAA,SAAM,OAD7BC,EAOiBC,EAAA,CAAA,IAAA,EALhB,MAAM,0BACL,KAAMF,EAAC,EAAA,WAAA,iBAAA,CAAA,EAAA,CACG,KAAIG,EACd,IAA8B,CAAA,GAAAU,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,CAA9BE,EAA8B,OAAxB,CAAA,MAAM,eAAe,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,KAG7B,EAAA,EAAA,CAAA,MAAA,CAAA,IAAAR,EAAA,EAAArC,EAOK,KAPL8C,EAOK,EAAAT,EAAA,EAAA,EANJrC,EAK6BoC,EAAA,KAAAG,EAJTT,EAAU,WAAtBN,QADRO,EAK6BgB,EAAA,CAH3B,IAAKvB,EAAS,GACd,SAAAA,EACA,gBAAe,GACf,SAAMmB,eAAEb,EAAa,cAAA,EAAA,EAAA,KAAA,EAAA,CAAA,UAAA,CAAA"} \ No newline at end of file +{"version":3,"file":"ActivityTab-DAIpdGUV.chunk.mjs","sources":["../src/components/ActivitySidebarPlugin.vue","../src/views/ActivityTab.vue"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n\n\n"],"names":["props","__props","emit","__emit","attachTarget","ref","onMounted","_a","getCurrentInstance","onBeforeUnmount","_createElementBlock","ActivityTab","defineComponent","ActivityComponent","NcEmptyContent","NcIconSvgWrapper","NcLoadingIcon","ActivitySidebarPlugin","lightningBoltSVG","getSidebarActions","fileInfo","sidebarPlugins","nextTick","activities","otherEntries","getAdditionalEntries","a","b","error","t","logger","data","axios","generateOcsUrl","activity","ActivityModel","filters","getActivityFilters","filter","_normalizeClass","_ctx","_createBlock","_component_NcEmptyContent","_withCtx","_createVNode","_component_NcIconSvgWrapper","_Fragment","_openBlock","_hoisted_1","_renderList","plugin","index","_component_ActivitySidebarPlugin","_cache","_component_NcLoadingIcon","_createElementVNode","_hoisted_2","_component_ActivityComponent"],"mappings":"kuBAcA,MAAMA,EAAQC,EAMRC,EAAOC,EAIPC,EAAeC,EAAoB,EAEzC,OAAAC,EAAU,IAAG,OAAS,OAAAN,EAAA,OAAO,MAAMI,EAAa,MAAyB,CACxE,SAASG,EAAmBC,EAAA,IAAnB,KAAsB,OAAAD,EAAA,MAC/B,SAAUP,EAAM,SAChB,OAAQ,IAAME,EAAK,mBAAmB,CAAA,CACtC,CAAA,CAAC,EACFO,EAAgB,IAAMT,EAAM,OAAO,QAAA,CAAS,cAzB3CU,EAA0B,MAAA,SAAjB,eAAJ,IAAIN,CAAA,gBCkEJO,EAAcC,EAAgB,CACnC,KAAM,cACN,WAAY,CAAA,kBACXC,EACA,eAAAC,EACA,iBAAAC,EACA,cAAAC,EACAC,sBAAAA,CACD,EAEA,OAAQ,CAAC,QAAQ,EAEjB,MAAO,CACC,MAAA,CACN,MAAO,GACP,QAAS,GACT,SAAU,KACV,WAAY,CAAC,EACb,iBAAAC,EACA,eAAgB,CAAA,CACjB,CACD,EAEA,SAAU,CACT,KAAK,eAAiBC,EAAkB,CACzC,EAEA,QAAS,CAMR,MAAM,OAAOC,EAAU,CACtB,KAAK,eAAiB,CAAC,EACvB,MAAMC,EAAiBF,EAAkB,EACrCE,EAAe,OAAS,GAC3BC,EAAS,IAAM,CACd,KAAK,eAAiBD,CAAA,CACtB,EAGF,KAAK,SAAWD,EAChB,KAAK,WAAW,EAChB,MAAM,KAAK,cAAc,CAC1B,EAKA,MAAM,eAAgB,CACjB,GAAA,CACH,KAAK,QAAU,GAEf,MAAMG,EAAa,MAAM,KAAK,kBAAkB,MAAM,KAAK,oBAAoB,EACzEC,EAAe,MAAMC,EAAqB,CAAE,SAAU,KAAK,SAAU,EAC3E,KAAK,WAAa,CAAC,GAAGF,EAAY,GAAGC,CAAY,EAAE,KAAK,CAACE,EAAGC,IAAMA,EAAE,UAAYD,EAAE,SAAS,QACnFE,EAAO,CACV,KAAA,MAAQC,EAAE,WAAY,kCAAkC,EAC7DC,EAAO,MAAM,kCAAmC,CAAE,MAAAF,CAAA,CAAO,CAAA,SAEzD,KAAK,QAAU,EAAA,CAEjB,EAKA,YAAa,CACZ,KAAK,QAAU,GACf,KAAK,MAAQ,GACb,KAAK,WAAa,CAAC,CACpB,EAKA,MAAM,oBAAqB,CACtB,GAAA,CACH,KAAM,CAAE,KAAAG,CAAA,EAAS,MAAMC,EAAM,IAC5BC,EAAe,sCAAsC,EACrD,CACC,OAAQ,CACP,OAAQ,OACR,YAAa,QACb,UAAW,KAAK,SAAS,EAAA,CAC1B,CAEF,EACA,OAAOF,EAAK,IAAI,WACRH,EAAO,CAEf,GAAIA,EAAM,WAAa,QAAaA,EAAM,SAAS,SAAW,IAC7D,MAAO,CAAC,EAEH,MAAAA,CAAA,CAER,EAOA,kBAAkBL,EAA6B,CAC9CA,EAAaA,EAAW,IAAKW,GAAa,IAAIC,EAAcD,CAAQ,CAAC,EAE9DJ,EAAA,MAAM,aAAa,OAAAP,EAAW,OAAM,gBAAA,EAAkB,CAAE,WAAAA,EAAY,SAAU,KAAK,QAAA,CAAU,EAEpG,MAAMa,EAAUC,EAAmB,EACnC,OAAOd,EAAW,OAAQW,GAAa,CAACE,GAAWA,EAAQ,MAAOE,GAAWA,EAAOJ,CAAQ,CAAC,CAAC,CAC/F,EAEAL,EAAAA,CAAA,CAEF,CAAC,WA1KwC,MAAM,8BA0BjC,MAAM,oLArCnBnB,EA8CM,MAAA,CA7CJ,MAAK6B,EAAA,CAAA,CAAA,eAAoBC,EAAO,OAAA,EAC3B,UAAU,CAAA,CAAA,EAAA,CAEMA,EAAS,OAAAA,EAAA,WAAQ,UAAvCC,EAIiBC,EAAA,CAAA,IAAA,EAJkC,KAAMF,EAAA,KAAA,EAAA,CAC7C,KAAIG,EACd,IAA4C,CAA5CC,EAA4CC,EAAzB,CAAA,IAAKL,EAAgB,gBAAA,EAAA,KAAA,EAAA,CAAA,KAAA,CAAA,CAAA,CAAA,yBAG1C9B,EAoCWoC,EAAA,CAAA,IAAA,GAAA,CAlCCN,EAAe,eAAA,OAAM,GAAhCO,EAAA,EAAArC,EAOM,MAPNsC,EAOM,EAAAD,EAAA,EAAA,EANLrC,EAKwCoC,EAAA,KAAAG,EAJfT,EAAc,eAAA,CAA/BU,EAAQC,SADhBV,EAKwCW,EAAA,CAHtC,IAAKD,EACL,OAAAD,EACA,YAAWV,EAAA,SACX,mBAAiBa,eAAEb,EAAa,cAAA,EAAA,EAAA,KAAA,EAAA,CAAA,SAAA,WAAA,CAAA,sBAK5BA,EAAA,SAAAO,IADPN,EAOiBC,EAAA,CAAA,IAAA,EALhB,MAAM,0BACL,KAAMF,EAAC,EAAA,WAAA,oBAAA,CAAA,EAAA,CACG,KAAIG,EACd,IAAiB,CAAjBC,EAAiBU,CAAA,CAAA,CAAA,oBAIPd,EAAW,WAAA,SAAM,OAD7BC,EAOiBC,EAAA,CAAA,IAAA,EALhB,MAAM,0BACL,KAAMF,EAAC,EAAA,WAAA,iBAAA,CAAA,EAAA,CACG,KAAIG,EACd,IAA8B,CAAA,GAAAU,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,CAA9BE,EAA8B,OAAxB,CAAA,MAAM,eAAe,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,KAG7B,EAAA,EAAA,CAAA,MAAA,CAAA,IAAAR,EAAA,EAAArC,EAOK,KAPL8C,EAOK,EAAAT,EAAA,EAAA,EANJrC,EAK6BoC,EAAA,KAAAG,EAJTT,EAAU,WAAtBN,QADRO,EAK6BgB,EAAA,CAH3B,IAAKvB,EAAS,GACd,SAAAA,EACA,gBAAe,GACf,SAAMmB,eAAEb,EAAa,cAAA,EAAA,EAAA,KAAA,EAAA,CAAA,UAAA,CAAA"} \ No newline at end of file diff --git a/js/activity-app.mjs b/js/activity-app.mjs index 2f8ef6d16..1112f95f5 100644 --- a/js/activity-app.mjs +++ b/js/activity-app.mjs @@ -1,3 +1,3 @@ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('#skip-actions.vue-skip-actions:focus-within{top:0!important;inset-inline-start:0!important;width:100vw;height:100vh;padding:var(--body-container-margin)!important;-webkit-backdrop-filter:brightness(50%);backdrop-filter:brightness(50%)}.material-design-icon[data-v-d9b0d7e8]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.vue-skip-actions__container[data-v-d9b0d7e8]{background-color:var(--color-main-background);border-radius:var(--border-radius-element);padding:22px}.vue-skip-actions__headline[data-v-d9b0d7e8]{font-weight:700;font-size:20px;line-height:30px;margin-bottom:12px}.vue-skip-actions__buttons[data-v-d9b0d7e8]{display:flex;flex-wrap:wrap;gap:12px}.vue-skip-actions__buttons[data-v-d9b0d7e8]>*{flex:1 0 fit-content}.vue-skip-actions__image[data-v-d9b0d7e8]{margin-top:12px}.vue-skip-actions__image[data-v-d9b0d7e8]:dir(rtl){transform:rotateY(180deg)}.content[data-v-d9b0d7e8]{display:flex;width:calc(100% - var(--body-container-margin) * 2);border-radius:var(--body-container-radius);height:var(--body-height);overflow:hidden;padding:0}.content[data-v-d9b0d7e8]:not(.with-sidebar--full){position:fixed}.content[data-v-d9b0d7e8],.content[data-v-d9b0d7e8] *{box-sizing:border-box}.material-design-icon[data-v-a28923a1]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-details-toggle[data-v-a28923a1]{position:-webkit-sticky;position:sticky;width:var(--default-clickable-area);height:var(--default-clickable-area);padding:calc((var(--default-clickable-area) - 16px) / 2);cursor:pointer;opacity:.6;transform:rotate(180deg);background-color:var(--color-main-background);z-index:2000;top:var(--app-navigation-padding);inset-inline-start:calc(var(--default-clickable-area) + var(--app-navigation-padding) * 2)}.app-details-toggle--mobile[data-v-a28923a1]{inset-inline-start:var(--app-navigation-padding)}.app-details-toggle[data-v-a28923a1]:active,.app-details-toggle[data-v-a28923a1]:hover,.app-details-toggle[data-v-a28923a1]:focus{opacity:1}.material-design-icon[data-v-563c4ac4]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-content[data-v-563c4ac4]{position:initial;z-index:1000;flex-basis:100vw;height:100%;margin:0!important;background-color:var(--color-main-background);min-width:0}.app-content[data-v-563c4ac4]:not(.app-content--has-list){overflow:auto}.app-content-wrapper[data-v-563c4ac4]{position:relative;width:100%;height:100%}.app-content-wrapper--no-split.app-content-wrapper--show-list[data-v-563c4ac4] .app-content-list{display:flex}.app-content-wrapper--no-split.app-content-wrapper--show-list[data-v-563c4ac4] .app-content-details,.app-content-wrapper--no-split.app-content-wrapper--show-details[data-v-563c4ac4] .app-content-list{display:none}.app-content-wrapper--no-split.app-content-wrapper--show-details[data-v-563c4ac4] .app-content-details{display:block}[data-v-563c4ac4] .splitpanes.default-theme .app-content-list{max-width:none;scrollbar-width:auto}[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__pane{background-color:transparent;transition:none}[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__pane-list{min-width:300px;position:-webkit-sticky;position:sticky}@media only screen and not (min-width:1024px){[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__pane-list{display:none}}[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__pane-details{overflow-y:auto}@media only screen and not (min-width:1024px){[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__pane-details{min-width:100%}}[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__splitter{background-color:var(--color-main-background)}[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__splitter:before,[data-v-563c4ac4] .splitpanes.default-theme .splitpanes__splitter:after{background-color:var(--color-border)}[data-v-563c4ac4] .splitpanes.default-theme.splitpanes--vertical .splitpanes__splitter{border-inline-start:1px solid var(--color-border)}[data-v-563c4ac4] .splitpanes.default-theme.splitpanes--horizontal .splitpanes__splitter{border-top:1px solid var(--color-border)}.app-content-wrapper--show-list[data-v-563c4ac4] .app-content-list{max-width:none}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane,*:has(.splitpanes--dragging){-webkit-user-select:none;user-select:none;pointer-events:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out;will-change:width}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out;will-change:height}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.default-theme.splitpanes .splitpanes__pane{background-color:#f2f2f2}.default-theme.splitpanes .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.default-theme.splitpanes .splitpanes__splitter:before,.default-theme.splitpanes .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.default-theme.splitpanes .splitpanes__splitter:hover:before,.default-theme.splitpanes .splitpanes__splitter:hover:after{background-color:#00000040}.default-theme.splitpanes .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.activity-group__heading[data-v-2cedecff]{line-height:1.5;margin-block:30px 12px}.activity-group__heading[data-v-2cedecff]:first-of-type{margin-block-start:0}.activity-app[data-v-9b1face9]{display:flex;flex-direction:column;overflow:hidden}.activity-app__empty-content[data-v-9b1face9]{height:100%}.activity-app__loading-indicator[data-v-9b1face9]{color:var(--color-text-maxcontrast);justify-self:center;margin-block:30px 6px;text-align:center}.activity-app__container[data-v-9b1face9]{display:flex;flex-direction:column;height:100%;width:min(100%,924px);max-width:924px;margin:0 auto;padding-inline:12px;overflow-y:scroll}.activity-app__heading[data-v-9b1face9]{font-weight:700;font-size:20px;line-height:44px;margin-top:1px;margin-inline:calc(2 * var(--app-navigation-padding, 8px) + 44px) var(--app-navigation-padding, 8px)}.material-design-icon[data-v-5a15295d]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-toggle-wrapper[data-v-5a15295d]{position:absolute;top:var(--app-navigation-padding);inset-inline-end:calc(0px - var(--app-navigation-padding));margin-inline-end:calc(-1 * var(--default-clickable-area))}button.app-navigation-toggle[data-v-5a15295d]{background-color:var(--color-main-background)}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation,.app-content{--app-navigation-padding: calc(var(--default-grid-baseline, 4px) * 2)}.material-design-icon[data-v-d5ce90cd]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation[data-v-d5ce90cd]{--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-text-maxcontrast-default));transition:transform var(--animation-quick),margin var(--animation-quick);width:300px;--app-navigation-max-width: calc(100vw - (var(--app-navigation-padding) + var(--default-clickable-area) + var(--default-grid-baseline)));max-width:var(--app-navigation-max-width);position:relative;top:0;inset-inline-start:0;padding:0;z-index:1800;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-grow:0;flex-shrink:0;background-color:var(--color-main-background-blur, var(--color-main-background));-webkit-backdrop-filter:var(--filter-background-blur, none);backdrop-filter:var(--filter-background-blur, none)}.app-navigation--closed[data-v-d5ce90cd]{margin-inline-start:calc(-1*min(300px,var(--app-navigation-max-width)))}.app-navigation__search[data-v-d5ce90cd]{width:100%}.app-navigation__body[data-v-d5ce90cd]{overflow-y:scroll}.app-navigation__content>ul[data-v-d5ce90cd]{position:relative;width:100%;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.app-navigation .app-navigation__list[data-v-d5ce90cd]{height:100%}.app-navigation__body--no-list[data-v-d5ce90cd]{flex:1 1 auto;overflow:auto;height:100%}.app-navigation__content[data-v-d5ce90cd]{height:100%;display:flex;flex-direction:column}[data-themes*=highcontrast] .app-navigation[data-v-d5ce90cd]{border-inline-end:1px solid var(--color-border)}@media only screen and (max-width:1024px){.app-navigation[data-v-d5ce90cd]{position:absolute;border-inline-end:1px solid var(--color-border)}}@media only screen and (max-width:512px){.app-navigation[data-v-d5ce90cd]{z-index:1400}}.material-design-icon[data-v-d72957ed]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-list[data-v-d72957ed]{position:relative;width:100%;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.material-design-icon[data-v-e6236e50]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-collapse[data-v-e6236e50]{position:relative;inset-inline-end:0}.icon-collapse[data-v-e6236e50]:hover{background-color:var(--color-background-dark)!important}.icon-collapse--active[data-v-e6236e50]:hover{background-color:var(--color-primary-element)!important}.material-design-icon[data-v-f925f8d0]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry[data-v-f925f8d0]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;width:100%;min-height:var(--default-clickable-area);transition:background-color var(--animation-quick) ease-in-out;transition:background-color .2s ease-in-out;border-radius:var(--border-radius-element)}.app-navigation-entry-wrapper[data-v-f925f8d0]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;width:100%}.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened)>ul[data-v-f925f8d0]{display:none}.app-navigation-entry.active[data-v-f925f8d0]{background-color:var(--color-primary-element)!important}.app-navigation-entry.active[data-v-f925f8d0]:hover{background-color:var(--color-primary-element-hover)!important}.app-navigation-entry.active .app-navigation-entry-link[data-v-f925f8d0],.app-navigation-entry.active .app-navigation-entry-button[data-v-f925f8d0]{color:var(--color-primary-element-text)!important}.app-navigation-entry[data-v-f925f8d0]:focus-within,.app-navigation-entry[data-v-f925f8d0]:hover{background-color:var(--color-background-hover)}.app-navigation-entry.active .app-navigation-entry__children[data-v-f925f8d0],.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-f925f8d0],.app-navigation-entry:hover .app-navigation-entry__children[data-v-f925f8d0]{background-color:var(--color-main-background)}.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-f925f8d0],.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-f925f8d0],.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-f925f8d0],.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-f925f8d0],.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-f925f8d0]{display:inline-block}.app-navigation-entry .app-navigation-entry__actions[data-v-f925f8d0]:hover .button-vue{background-color:var(--color-background-dark)!important}.app-navigation-entry.active .app-navigation-entry__actions[data-v-f925f8d0]:hover .button-vue{background-color:var(--color-primary-element)!important}.app-navigation-entry.app-navigation-entry--deleted>ul[data-v-f925f8d0]{display:none}.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-f925f8d0],.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-f925f8d0]{padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2)}.app-navigation-entry .app-navigation-entry-link[data-v-f925f8d0],.app-navigation-entry .app-navigation-entry-button[data-v-f925f8d0]{z-index:100;display:flex;overflow:hidden;flex:1 1 0;min-height:var(--default-clickable-area);padding:0;white-space:nowrap;color:var(--color-main-text);background-repeat:no-repeat;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px 16px;line-height:var(--default-clickable-area)}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-f925f8d0],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-f925f8d0]{display:flex;align-items:center;flex:0 0 var(--default-clickable-area);justify-content:center;width:var(--default-clickable-area);height:var(--default-clickable-area);background-size:16px 16px;background-repeat:no-repeat;background-position:calc((var(--default-clickable-area) - 16px) / 2) center}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-f925f8d0],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-f925f8d0]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-f925f8d0],.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-f925f8d0]{width:calc(100% - var(--default-clickable-area));margin:auto}.app-navigation-entry .app-navigation-entry-link[data-v-f925f8d0]:focus-visible,.app-navigation-entry .app-navigation-entry-button[data-v-f925f8d0]:focus-visible{box-shadow:0 0 0 4px var(--color-main-background);outline:2px solid var(--color-main-text);border-radius:var(--border-radius-element)}.app-navigation-entry__children[data-v-f925f8d0]{--app-navigation-item-child-offset: 10px;position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:100%;gap:var(--default-grid-baseline, 4px);padding-inline-start:var(--app-navigation-item-child-offset)}.app-navigation-entry__children .app-navigation-entry[data-v-f925f8d0]{display:inline-flex;flex-wrap:wrap}.app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children[data-v-f925f8d0]{--app-navigation-item-child-offset: 0}.app-navigation-entry__deleted[data-v-f925f8d0]{display:inline-flex;flex:1 1 0;padding-inline-start:calc(var(--default-clickable-area) - (var(--default-clickable-area) - 16px) / 2)!important}.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-f925f8d0]{position:relative;overflow:hidden;flex:1 1 0;white-space:nowrap;text-overflow:ellipsis;line-height:var(--default-clickable-area)}.app-navigation-entry__utils[data-v-f925f8d0]{display:flex;min-width:var(--default-clickable-area);align-items:center;flex:0 1 auto;justify-content:flex-end}.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-f925f8d0]{display:inline-block}.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-f925f8d0]{margin-inline-end:calc(var(--default-grid-baseline) * 2);display:flex;align-items:center;flex:0 1 auto}.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-f925f8d0]{display:none}.app-navigation-entry--editing .app-navigation-entry-edit[data-v-f925f8d0]{z-index:250;opacity:1}.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-f925f8d0]{z-index:250;transform:translate(0)}.app-navigation-entry--pinned[data-v-f925f8d0]{order:2;margin-top:auto}.app-navigation-entry--pinned~.app-navigation-entry--pinned[data-v-f925f8d0]{margin-top:0}[data-themes*=highcontrast] .app-navigation-entry[data-v-f925f8d0]:active{background-color:var(--color-primary-element-light-hover)!important}.material-design-icon[data-v-dd457d48]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-input-confirm[data-v-dd457d48]{flex:1 0 100%;width:100%}.app-navigation-input-confirm form[data-v-dd457d48]{display:flex}.app-navigation-input-confirm__input[data-v-dd457d48]{height:34px;flex:1 1 100%;font-size:100%!important;margin:5px!important;margin-inline-start:-8px!important;padding:7px!important}.app-navigation-input-confirm__input[data-v-dd457d48]:active,.app-navigation-input-confirm__input[data-v-dd457d48]:focus,.app-navigation-input-confirm__input[data-v-dd457d48]:hover{outline:none;background-color:var(--color-main-background);color:var(--color-main-text);border-color:var(--color-primary-element)}._container_RFk6U{margin-top:auto;padding:var(--default-grid-baseline)}._header_2CtDS{margin-block:0 var(--default-grid-baseline);margin-inline:var(--default-grid-baseline)}._button_tAyis{padding-inline:0 calc((var(--default-clickable-area) - 16px) / 2)!important}._button_tAyis .button-vue__text{font-weight:400}._content_--KYD{display:block;padding:10px;margin-bottom:calc(-1 * var(--default-grid-baseline));max-height:300px;overflow-y:auto}._animationActive_DAG1p{transition-duration:var(--animation-slow);transition-property:max-height,padding;overflow-y:hidden!important}._animationStop_fWYQj{max-height:0!important;padding:0 10px!important}.app-activity .settings-link{max-width:100%}.app-activity .app-navigation-entry.active .navigation-icon{filter:var(--primary-invert-if-dark)}.app-activity .app-navigation-entry:not(.active) .navigation-icon{filter:var(--background-invert-if-dark)}.app-activity .navigation-icon{height:16px;width:16px}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); -var In=Object.defineProperty,On=Object.defineProperties;var Tn=Object.getOwnPropertyDescriptors;var it=Object.getOwnPropertySymbols;var It=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var Rt=(e,n,t)=>n in e?In(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,de=(e,n)=>{for(var t in n||(n={}))It.call(n,t)&&Rt(e,t,n[t]);if(it)for(var t of it(n))Ot.call(n,t)&&Rt(e,t,n[t]);return e},Ve=(e,n)=>On(e,Tn(n));var Tt=(e,n)=>{var t={};for(var i in e)It.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&it)for(var i of it(e))n.indexOf(i)<0&&Ot.call(e,i)&&(t[i]=e[i]);return t};import{r as Me,t as $n,_ as Q,a as le,N as Ee,u as tt,b as Ce,l as Ke,c as Bn,i as Vn,d as ht,e as wt,f as xt,g as un,h as Gn,j as Hn,k as ft,m as Un,n as jn,o as Fn,p as qn,q as Wn,s as Zn,v as Kn,w as Xn,x as Qn,y as Jn,z as pn}from"./_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs";import{s as Ie,d as pe,u as S,a as Yn,i as ae,r as ot,h as Et,c as P,w as ue,b as W,n as we,p as ce,o as ei,e as z,f as C,g as $,j as U,k as M,l as He,t as G,m as B,v as Je,q as R,x as Te,y as be,T as ti,z as Z,A as X,B as $e,C as ni,D as Y,E as _t,F as ii,G as ai,H as dn,I as li,J as St,K as hn,L as oi,M as O,N as Ye,O as Pe,P as Mt,Q as fn,R as ri,S as kt,U as zt,V as q,W as si,X as ci,Y as At,Z as ui,_ as pi,$ as di,a0 as hi,a1 as fi,a2 as vi}from"./translation-DoG5ZELJ-BlIPWNCX.chunk.mjs";import{e as Oe,g as mi,l as vt,s as gi,u as yi}from"./logger-DO04_iVC.chunk.mjs";import{l as mt,s as vn,a as bi}from"./index-BCm0_Wwg.chunk.mjs";import{l as Ci,g as wi,u as xi,m as Ei,a as $t,b as Bt,_ as _i,c as Ze,A as Si,N as Vt,d as ki,e as zi,f as Ai,o as Ni,h as Di,i as Pi}from"./ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs";import"./_commonjsHelpers-Cqwegr3R.chunk.mjs";import"./preload-helper-B9rAsR6N.chunk.mjs";const lt="activity",Mn="5.0.0",Ge=typeof document<"u";function mn(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Li(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&mn(e.default)}const T=Object.assign;function ct(e,n){const t={};for(const i in n){const a=n[i];t[i]=fe(a)?a.map(e):e(a)}return t}const Xe=()=>{},fe=Array.isArray;function Gt(e,n){const t={};for(const i in e)t[i]=i in n?n[i]:e[i];return t}const gn=/#/g,Ri=/&/g,Ii=/\//g,Oi=/=/g,Ti=/\?/g,yn=/\+/g,Mi=/%5B/g,$i=/%5D/g,bn=/%5E/g,Bi=/%60/g,Cn=/%7B/g,Vi=/%7C/g,wn=/%7D/g,Gi=/%20/g;function Nt(e){return e==null?"":encodeURI(""+e).replace(Vi,"|").replace(Mi,"[").replace($i,"]")}function Hi(e){return Nt(e).replace(Cn,"{").replace(wn,"}").replace(bn,"^")}function gt(e){return Nt(e).replace(yn,"%2B").replace(Gi,"+").replace(gn,"%23").replace(Ri,"%26").replace(Bi,"`").replace(Cn,"{").replace(wn,"}").replace(bn,"^")}function Ui(e){return gt(e).replace(Oi,"%3D")}function ji(e){return Nt(e).replace(gn,"%23").replace(Ti,"%3F")}function Fi(e){return ji(e).replace(Ii,"%2F")}function et(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(n){}return""+e}const qi=/\/$/,Wi=e=>e.replace(qi,"");function ut(e,n,t="/"){let i,a={},l="",s="";const f=n.indexOf("#");let r=n.indexOf("?");return r=f>=0&&r>f?-1:r,r>=0&&(i=n.slice(0,r),l=n.slice(r,f>0?f:n.length),a=e(l.slice(1))),f>=0&&(i=i||n.slice(0,f),s=n.slice(f,n.length)),i=Qi(i!=null?i:n,t),{fullPath:i+l+s,path:i,query:a,hash:et(s)}}function Zi(e,n){const t=n.query?e(n.query):"";return n.path+(t&&"?")+t+(n.hash||"")}function Ht(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function Ki(e,n,t){const i=n.matched.length-1,a=t.matched.length-1;return i>-1&&i===a&&Ue(n.matched[i],t.matched[a])&&xn(n.params,t.params)&&e(n.query)===e(t.query)&&n.hash===t.hash}function Ue(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function xn(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var t in e)if(!Xi(e[t],n[t]))return!1;return!0}function Xi(e,n){return fe(e)?Ut(e,n):fe(n)?Ut(n,e):(e==null?void 0:e.valueOf())===(n==null?void 0:n.valueOf())}function Ut(e,n){return fe(n)?e.length===n.length&&e.every((t,i)=>t===n[i]):e.length===1&&e[0]===n}function Qi(e,n){if(e.startsWith("/"))return e;if(!e)return n;const t=n.split("/"),i=e.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let l=t.length-1,s,f;for(s=0;s1&&l--;else break;return t.slice(0,l).join("/")+"/"+i.slice(s).join("/")}const Ne={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let yt=(function(e){return e.pop="pop",e.push="push",e})({}),pt=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Ji(e){if(!e)if(Ge){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wi(e)}const Yi=/^[^#]+#/;function ea(e,n){return e.replace(Yi,"#")+n}function ta(e,n){const t=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:n.behavior,left:i.left-t.left-(n.left||0),top:i.top-t.top-(n.top||0)}}const rt=()=>({left:window.scrollX,top:window.scrollY});function na(e){let n;if("el"in e){const t=e.el,i=typeof t=="string"&&t.startsWith("#"),a=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!a)return;n=ta(a,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.scrollX,n.top!=null?n.top:window.scrollY)}function jt(e,n){return(history.state?history.state.position-n:-1)+e}const bt=new Map;function ia(e,n){bt.set(e,n)}function aa(e){const n=bt.get(e);return bt.delete(e),n}function la(e){return typeof e=="string"||e&&typeof e=="object"}function En(e){return typeof e=="string"||typeof e=="symbol"}let V=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const _n=Symbol("");V.MATCHER_NOT_FOUND+"",V.NAVIGATION_GUARD_REDIRECT+"",V.NAVIGATION_ABORTED+"",V.NAVIGATION_CANCELLED+"",V.NAVIGATION_DUPLICATED+"";function je(e,n){return T(new Error,{type:e,[_n]:!0},n)}function ye(e,n){return e instanceof Error&&_n in e&&(n==null||!!(e.type&n))}function oa(e){const n={};if(e===""||e==="?")return n;const t=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&>(a)):[i&>(i)]).forEach(a=>{a!==void 0&&(n+=(n.length?"&":"")+t,a!=null&&(n+="="+a))})}return n}function ra(e){const n={};for(const t in e){const i=e[t];i!==void 0&&(n[t]=fe(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return n}const sa=Symbol(""),qt=Symbol(""),Dt=Symbol(""),Pt=Symbol(""),Ct=Symbol("");function We(){let e=[];function n(i){return e.push(i),()=>{const a=e.indexOf(i);a>-1&&e.splice(a,1)}}function t(){e=[]}return{add:n,list:()=>e.slice(),reset:t}}function De(e,n,t,i,a,l=s=>s()){const s=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((f,r)=>{const u=m=>{m===!1?r(je(V.NAVIGATION_ABORTED,{from:t,to:n})):m instanceof Error?r(m):la(m)?r(je(V.NAVIGATION_GUARD_REDIRECT,{from:n,to:m})):(s&&i.enterCallbacks[a]===s&&typeof m=="function"&&s.push(m),f())},d=l(()=>e.call(i&&i.instances[a],n,t,u));let c=Promise.resolve(d);e.length<3&&(c=c.then(u)),c.catch(m=>r(m))})}function dt(e,n,t,i,a=l=>l()){const l=[];for(const s of e)for(const f in s.components){let r=s.components[f];if(!(n!=="beforeRouteEnter"&&!s.instances[f]))if(mn(r)){const u=(r.__vccOpts||r)[n];u&&l.push(De(u,t,i,s,f,a))}else{let u=r();l.push(()=>u.then(d=>{if(!d)throw new Error("Couldn't resolve component \"".concat(f,'" at "').concat(s.path,'"'));const c=Li(d)?d.default:d;s.mods[f]=d,s.components[f]=c;const m=(c.__vccOpts||c)[n];return m&&De(m,t,i,s,f,a)()}))}}return l}function ca(e,n){const t=[],i=[],a=[],l=Math.max(n.matched.length,e.matched.length);for(let s=0;sUe(u,f))?i.push(f):t.push(f));const r=e.matched[s];r&&(n.matched.find(u=>Ue(u,r))||a.push(r))}return[t,i,a]}let ua=()=>location.protocol+"//"+location.host;function Sn(e,n){const{pathname:t,search:i,hash:a}=n,l=e.indexOf("#");if(l>-1){let s=a.includes(e.slice(l))?e.slice(l).length:1,f=a.slice(s);return f[0]!=="/"&&(f="/"+f),Ht(f,"")}return Ht(t,e)+i+a}function pa(e,n,t,i){let a=[],l=[],s=null;const f=({state:m})=>{const g=Sn(e,location),_=t.value,b=n.value;let w=0;if(m){if(t.value=g,n.value=m,s&&s===_){s=null;return}w=b?m.position-b.position:0}else i(g);a.forEach(D=>{D(t.value,_,{delta:w,type:yt.pop,direction:w?w>0?pt.forward:pt.back:pt.unknown})})};function r(){s=t.value}function u(m){a.push(m);const g=()=>{const _=a.indexOf(m);_>-1&&a.splice(_,1)};return l.push(g),g}function d(){if(document.visibilityState==="hidden"){const{history:m}=window;if(!m.state)return;m.replaceState(T({},m.state,{scroll:rt()}),"")}}function c(){for(const m of l)m();l=[],window.removeEventListener("popstate",f),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",f),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:r,listen:u,destroy:c}}function Wt(e,n,t,i=!1,a=!1){return{back:e,current:n,forward:t,replaced:i,position:window.history.length,scroll:a?rt():null}}function da(e){const{history:n,location:t}=window,i={value:Sn(e,t)},a={value:n.state};a.value||l(i.value,{back:null,current:i.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function l(r,u,d){const c=e.indexOf("#"),m=c>-1?(t.host&&document.querySelector("base")?e:e.slice(c))+r:ua()+e+r;try{n[d?"replaceState":"pushState"](u,"",m),a.value=u}catch(g){console.error(g),t[d?"replace":"assign"](m)}}function s(r,u){l(r,T({},n.state,Wt(a.value.back,r,a.value.forward,!0),u,{position:a.value.position}),!0),i.value=r}function f(r,u){const d=T({},a.value,n.state,{forward:r,scroll:rt()});l(d.current,d,!0),l(r,T({},Wt(i.value,r,null),{position:d.position+1},u),!1),i.value=r}return{location:i,state:a,push:f,replace:s}}function ha(e){e=Ji(e);const n=da(e),t=pa(e,n.state,n.location,n.replace);function i(l,s=!0){s||t.pauseListeners(),history.go(l)}const a=T({location:"",base:e,go:i,createHref:ea.bind(null,e)},n,t);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>n.state.value}),a}let Re=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var F=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(F||{});const fa={type:Re.Static,value:""},va=/[a-zA-Z0-9_]/;function ma(e){if(!e)return[[]];if(e==="/")return[[fa]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function n(g){throw new Error("ERR (".concat(t,')/"').concat(u,'": ').concat(g))}let t=F.Static,i=t;const a=[];let l;function s(){l&&a.push(l),l=[]}let f=0,r,u="",d="";function c(){u&&(t===F.Static?l.push({type:Re.Static,value:u}):t===F.Param||t===F.ParamRegExp||t===F.ParamRegExpEnd?(l.length>1&&(r==="*"||r==="+")&&n("A repeatable param (".concat(u,") must be alone in its segment. eg: '/:ids+.")),l.push({type:Re.Param,value:u,regexp:d,repeatable:r==="*"||r==="+",optional:r==="*"||r==="?"})):n("Invalid state to consume buffer"),u="")}function m(){u+=r}for(;fn.length?n.length===1&&n[0]===te.Static+te.Segment?1:-1:0}function kn(e,n){let t=0;const i=e.score,a=n.score;for(;t0&&n[n.length-1]<0}const wa={strict:!1,end:!0,sensitive:!1};function xa(e,n,t){const i=ba(ma(e.path),t),a=T(i,{record:e,parent:n,children:[],alias:[]});return n&&!a.record.aliasOf==!n.record.aliasOf&&n.children.push(a),a}function Ea(e,n){const t=[],i=new Map;n=Gt(wa,n);function a(c){return i.get(c)}function l(c,m,g){const _=!g,b=Qt(c);b.aliasOf=g&&g.record;const w=Gt(n,c),D=[b];if("alias"in c){const ee=typeof c.alias=="string"?[c.alias]:c.alias;for(const oe of ee)D.push(Qt(T({},b,{components:g?g.record.components:b.components,path:oe,aliasOf:g?g.record:b})))}let A,L;for(const ee of D){const{path:oe}=ee;if(m&&oe[0]!=="/"){const re=m.record.path,N=re[re.length-1]==="/"?"":"/";ee.path=m.record.path+(oe&&N+oe)}if(A=xa(ee,m,w),g?g.alias.push(A):(L=L||A,L!==A&&L.alias.push(A),_&&c.name&&!Jt(A)&&s(c.name)),zn(A)&&r(A),b.children){const re=b.children;for(let N=0;N{s(L)}:Xe}function s(c){if(En(c)){const m=i.get(c);m&&(i.delete(c),t.splice(t.indexOf(m),1),m.children.forEach(s),m.alias.forEach(s))}else{const m=t.indexOf(c);m>-1&&(t.splice(m,1),c.record.name&&i.delete(c.record.name),c.children.forEach(s),c.alias.forEach(s))}}function f(){return t}function r(c){const m=ka(c,t);t.splice(m,0,c),c.record.name&&!Jt(c)&&i.set(c.record.name,c)}function u(c,m){let g,_={},b,w;if("name"in c&&c.name){if(g=i.get(c.name),!g)throw je(V.MATCHER_NOT_FOUND,{location:c});w=g.record.name,_=T(Xt(m.params,g.keys.filter(L=>!L.optional).concat(g.parent?g.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),c.params&&Xt(c.params,g.keys.map(L=>L.name))),b=g.stringify(_)}else if(c.path!=null)b=c.path,g=t.find(L=>L.re.test(b)),g&&(_=g.parse(b),w=g.record.name);else{if(g=m.name?i.get(m.name):t.find(L=>L.re.test(m.path)),!g)throw je(V.MATCHER_NOT_FOUND,{location:c,currentLocation:m});w=g.record.name,_=T({},m.params,c.params),b=g.stringify(_)}const D=[];let A=g;for(;A;)D.unshift(A.record),A=A.parent;return{name:w,path:b,params:_,matched:D,meta:Sa(D)}}e.forEach(c=>l(c));function d(){t.length=0,i.clear()}return{addRoute:l,resolve:u,removeRoute:s,clearRoutes:d,getRoutes:f,getRecordMatcher:a}}function Xt(e,n){const t={};for(const i of n)i in e&&(t[i]=e[i]);return t}function Qt(e){const n={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_a(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(n,"mods",{value:{}}),n}function _a(e){const n={},t=e.props||!1;if("component"in e)n.default=t;else for(const i in e.components)n[i]=typeof t=="object"?t[i]:t;return n}function Jt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sa(e){return e.reduce((n,t)=>T(n,t.meta),{})}function ka(e,n){let t=0,i=n.length;for(;t!==i;){const l=t+i>>1;kn(e,n[l])<0?i=l:t=l+1}const a=za(e);return a&&(i=n.lastIndexOf(a,i-1)),i}function za(e){let n=e;for(;n=n.parent;)if(zn(n)&&kn(e,n)===0)return n}function zn({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Yt(e){const n=ae(Dt),t=ae(Pt),i=P(()=>{const r=S(e.to);return n.resolve(r)}),a=P(()=>{const{matched:r}=i.value,{length:u}=r,d=r[u-1],c=t.matched;if(!d||!c.length)return-1;const m=c.findIndex(Ue.bind(null,d));if(m>-1)return m;const g=en(r[u-2]);return u>1&&en(d)===g&&c[c.length-1].path!==g?c.findIndex(Ue.bind(null,r[u-2])):m}),l=P(()=>a.value>-1&&La(t.params,i.value.params)),s=P(()=>a.value>-1&&a.value===t.matched.length-1&&xn(t.params,i.value.params));function f(r={}){if(Pa(r)){const u=n[S(e.replace)?"replace":"push"](S(e.to)).catch(Xe);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:i,href:P(()=>i.value.href),isActive:l,isExactActive:s,navigate:f}}function Aa(e){return e.length===1?e[0]:e}const Na=pe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Yt,setup(e,{slots:n}){const t=ot(Yt(e)),{options:i}=ae(Dt),a=P(()=>({[tn(e.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[tn(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const l=n.default&&Aa(n.default(t));return e.custom?l:Et("a",{"aria-current":t.isExactActive?e.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:a.value},l)}}}),Da=Na;function Pa(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function La(e,n){for(const t in n){const i=n[t],a=e[t];if(typeof i=="string"){if(i!==a)return!1}else if(!fe(a)||a.length!==i.length||i.some((l,s)=>l.valueOf()!==a[s].valueOf()))return!1}return!0}function en(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const tn=(e,n,t)=>{var i;return(i=e!=null?e:n)!=null?i:t},Ra=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:t}){const i=ae(Ct),a=P(()=>e.route||i.value),l=ae(qt,0),s=P(()=>{let u=S(l);const{matched:d}=a.value;let c;for(;(c=d[u])&&!c.components;)u++;return u}),f=P(()=>a.value.matched[s.value]);ce(qt,P(()=>s.value+1)),ce(sa,f),ce(Ct,a);const r=W();return ue(()=>[r.value,f.value,e.name],([u,d,c],[m,g,_])=>{d&&(d.instances[c]=u,g&&g!==d&&u&&u===m&&(d.leaveGuards.size||(d.leaveGuards=g.leaveGuards),d.updateGuards.size||(d.updateGuards=g.updateGuards))),u&&d&&(!g||!Ue(d,g)||!m)&&(d.enterCallbacks[c]||[]).forEach(b=>b(u))},{flush:"post"}),()=>{const u=a.value,d=e.name,c=f.value,m=c&&c.components[d];if(!m)return nn(t.default,{Component:m,route:u});const g=c.props[d],_=g?g===!0?u.params:typeof g=="function"?g(u):g:null,b=Et(m,T({},_,n,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(c.instances[d]=null)},ref:r}));return nn(t.default,{Component:b,route:u})||b}}});function nn(e,n){if(!e)return null;const t=e(n);return t.length===1?t[0]:t}const Ia=Ra;function Oa(e){const n=Ea(e.routes,e),t=e.parseQuery||oa,i=e.stringifyQuery||Ft,a=e.history,l=We(),s=We(),f=We(),r=Ie(Ne);let u=Ne;Ge&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ct.bind(null,o=>""+o),c=ct.bind(null,Fi),m=ct.bind(null,et);function g(o,p){let h,v;return En(o)?(h=n.getRecordMatcher(o),v=p):v=o,n.addRoute(v,h)}function _(o){const p=n.getRecordMatcher(o);p&&n.removeRoute(p)}function b(){return n.getRoutes().map(o=>o.record)}function w(o){return!!n.getRecordMatcher(o)}function D(o,p){if(p=T({},p||r.value),typeof o=="string"){const x=ut(t,o,p.path),I=n.resolve({path:x.path},p),Ae=a.createHref(x.fullPath);return T(x,I,{params:m(I.params),hash:et(x.hash),redirectedFrom:void 0,href:Ae})}let h;if(o.path!=null)h=T({},o,{path:ut(t,o.path,p.path).path});else{const x=T({},o.params);for(const I in x)x[I]==null&&delete x[I];h=T({},o,{params:c(x)}),p.params=c(p.params)}const v=n.resolve(h,p),y=o.hash||"";v.params=d(m(v.params));const E=Zi(i,T({},o,{hash:Hi(y),path:v.path})),k=a.createHref(E);return T({fullPath:E,hash:y,query:i===Ft?ra(o.query):o.query||{}},v,{redirectedFrom:void 0,href:k})}function A(o){return typeof o=="string"?ut(t,o,r.value.path):T({},o)}function L(o,p){if(u!==o)return je(V.NAVIGATION_CANCELLED,{from:p,to:o})}function ee(o){return N(o)}function oe(o){return ee(T(A(o),{replace:!0}))}function re(o,p){const h=o.matched[o.matched.length-1];if(h&&h.redirect){const{redirect:v}=h;let y=typeof v=="function"?v(o,p):v;return typeof y=="string"&&(y=y.includes("?")||y.includes("#")?y=A(y):{path:y},y.params={}),T({query:o.query,hash:o.hash,params:y.path!=null?{}:o.params},y)}}function N(o,p){const h=u=D(o),v=r.value,y=o.state,E=o.force,k=o.replace===!0,x=re(h,v);if(x)return N(T(A(x),{state:typeof x=="object"?T({},y,x.state):y,force:E,replace:k}),p||h);const I=h;I.redirectedFrom=p;let Ae;return!E&&Ki(i,v,h)&&(Ae=je(V.NAVIGATION_DUPLICATED,{to:I,from:v}),nt(v,v,!0,!1)),(Ae?Promise.resolve(Ae):ne(I,v)).catch(J=>ye(J)?ye(J,V.NAVIGATION_GUARD_REDIRECT)?J:Le(J):Se(J,I,v)).then(J=>{if(J){if(ye(J,V.NAVIGATION_GUARD_REDIRECT))return N(T({replace:k},A(J.to),{state:typeof J.to=="object"?T({},y,J.to.state):y,force:E}),p||I)}else J=ge(I,v,!0,k,y);return ve(I,v,J),J})}function he(o,p){const h=L(o,p);return h?Promise.reject(h):Promise.resolve()}function j(o){const p=ke.values().next().value;return p&&typeof p.runWithContext=="function"?p.runWithContext(o):o()}function ne(o,p){let h;const[v,y,E]=ca(o,p);h=dt(v.reverse(),"beforeRouteLeave",o,p);for(const x of v)x.leaveGuards.forEach(I=>{h.push(De(I,o,p))});const k=he.bind(null,o,p);return h.push(k),ze(h).then(()=>{h=[];for(const x of l.list())h.push(De(x,o,p));return h.push(k),ze(h)}).then(()=>{h=dt(y,"beforeRouteUpdate",o,p);for(const x of y)x.updateGuards.forEach(I=>{h.push(De(I,o,p))});return h.push(k),ze(h)}).then(()=>{h=[];for(const x of E)if(x.beforeEnter)if(fe(x.beforeEnter))for(const I of x.beforeEnter)h.push(De(I,o,p));else h.push(De(x.beforeEnter,o,p));return h.push(k),ze(h)}).then(()=>(o.matched.forEach(x=>x.enterCallbacks={}),h=dt(E,"beforeRouteEnter",o,p,j),h.push(k),ze(h))).then(()=>{h=[];for(const x of s.list())h.push(De(x,o,p));return h.push(k),ze(h)}).catch(x=>ye(x,V.NAVIGATION_CANCELLED)?x:Promise.reject(x))}function ve(o,p,h){f.list().forEach(v=>j(()=>v(o,p,h)))}function ge(o,p,h,v,y){const E=L(o,p);if(E)return E;const k=p===Ne,x=Ge?history.state:{};h&&(v||k?a.replace(o.fullPath,T({scroll:k&&x&&x.scroll},y)):a.push(o.fullPath,y)),r.value=o,nt(o,p,h,k),Le()}let H;function se(){H||(H=a.listen((o,p,h)=>{if(!K.listening)return;const v=D(o),y=re(v,K.currentRoute.value);if(y){N(T(y,{replace:!0,force:!0}),v).catch(Xe);return}u=v;const E=r.value;Ge&&ia(jt(E.fullPath,h.delta),rt()),ne(v,E).catch(k=>ye(k,V.NAVIGATION_ABORTED|V.NAVIGATION_CANCELLED)?k:ye(k,V.NAVIGATION_GUARD_REDIRECT)?(N(T(A(k.to),{force:!0}),v).then(x=>{ye(x,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&!h.delta&&h.type===yt.pop&&a.go(-1,!1)}).catch(Xe),Promise.reject()):(h.delta&&a.go(-h.delta,!1),Se(k,v,E))).then(k=>{k=k||ge(v,E,!1),k&&(h.delta&&!ye(k,V.NAVIGATION_CANCELLED)?a.go(-h.delta,!1):h.type===yt.pop&&ye(k,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),ve(v,E,k)}).catch(Xe)}))}let _e=We(),me=We(),ie;function Se(o,p,h){Le(o);const v=me.list();return v.length?v.forEach(y=>y(o,p,h)):console.error(o),Promise.reject(o)}function Be(){return ie&&r.value!==Ne?Promise.resolve():new Promise((o,p)=>{_e.add([o,p])})}function Le(o){return ie||(ie=!o,se(),_e.list().forEach(([p,h])=>o?h(o):p()),_e.reset()),o}function nt(o,p,h,v){const{scrollBehavior:y}=e;if(!Ge||!y)return Promise.resolve();const E=!h&&aa(jt(o.fullPath,0))||(v||!h)&&history.state&&history.state.scroll||null;return we().then(()=>y(o,p,E)).then(k=>k&&na(k)).catch(k=>Se(k,o,p))}const Fe=o=>a.go(o);let qe;const ke=new Set,K={currentRoute:r,listening:!0,addRoute:g,removeRoute:_,clearRoutes:n.clearRoutes,hasRoute:w,getRoutes:b,resolve:D,options:e,push:ee,replace:oe,go:Fe,back:()=>Fe(-1),forward:()=>Fe(1),beforeEach:l.add,beforeResolve:s.add,afterEach:f.add,onError:me.add,isReady:Be,install(o){o.component("RouterLink",Da),o.component("RouterView",Ia),o.config.globalProperties.$router=K,Object.defineProperty(o.config.globalProperties,"$route",{enumerable:!0,get:()=>S(r)}),Ge&&!qe&&r.value===Ne&&(qe=!0,ee(a.location).catch(v=>{}));const p={};for(const v in Ne)Object.defineProperty(p,v,{get:()=>r.value[v],enumerable:!0});o.provide(Dt,K),o.provide(Pt,Yn(p)),o.provide(Ct,r);const h=o.unmount;ke.add(o),o.unmount=function(){ke.delete(o),ke.size<1&&(u=Ne,H&&H(),H=null,r.value=Ne,qe=!1,ie=!1),h()}}};function ze(o){return o.reduce((p,h)=>p.then(()=>j(h)),Promise.resolve())}return K}function Ta(e){return ae(Pt)}const An=Symbol.for("NcContent:setHasAppNavigation"),Ma=Symbol.for("NcContent:selector");Me($n);const $a='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',Ba='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',Va={class:"vue-skip-actions__container"},Ga={class:"vue-skip-actions__headline"},Ha={class:"vue-skip-actions__buttons"},Ua=pe({__name:"NcContent",props:{appName:{}},setup(e){const n=e;ce(An,f),ce(Ma,"#content-vue"),ce("appName",P(()=>n.appName));const t=tt(),i=W(!1),a=W(),l=P(()=>a.value==="navigation"?Ba:$a);ei(()=>{const r=document.getElementById("skip-actions");r&&(r.innerHTML="",r.classList.add("vue-skip-actions"))});function s(){Oe("toggle-navigation",{open:!0}),we(()=>{window.location.hash="app-navigation-vue",document.getElementById("app-navigation-vue").focus()})}function f(r){i.value=r,a.value||(a.value="navigation")}return(r,u)=>(C(),z("div",{id:"content-vue",class:Z(["content","app-".concat(r.appName.toLowerCase())])},[(C(),$(ti,{to:"#skip-actions"},[M("div",Va,[M("div",Ga,G(S(le)("Keyboard navigation help")),1),M("div",Ha,[He(B(Ee,{href:"#app-navigation-vue",variant:"tertiary",onClick:be(s,["prevent"]),onFocusin:u[0]||(u[0]=d=>a.value="navigation"),onMouseover:u[1]||(u[1]=d=>a.value="navigation")},{default:R(()=>[Te(G(S(le)("Skip to app navigation")),1)]),_:1},512),[[Je,i.value]]),B(Ee,{href:"#app-content-vue",variant:"tertiary",onFocusin:u[2]||(u[2]=d=>a.value="content"),onMouseover:u[3]||(u[3]=d=>a.value="content")},{default:R(()=>[Te(G(S(le)("Skip to main content")),1)]),_:1})]),He(B(Ce,{class:"vue-skip-actions__image",svg:l.value,size:"auto"},null,8,["svg"]),[[Je,!S(t)]])])])),U(r.$slots,"default",{},void 0,!0)],2))}}),ja=Q(Ua,[["__scopeId","data-v-d9b0d7e8"]]),Fa=pe({__name:"ActivityApp",setup(e){return(n,t)=>{const i=X("router-view");return C(),$(S(ja),{"app-name":"activity"},{default:R(()=>[B(i,{name:"navigation"}),B(i)]),_:1})}}});function Nn(e){return ii()?(ai(e),!0):!1}const qa=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wa=e=>e!=null,Za=Object.prototype.toString,Ka=e=>Za.call(e)==="[object Object]",xe=()=>{};function Dn(e,n){function t(...i){return new Promise((a,l)=>{Promise.resolve(e(()=>n.apply(this,i),{fn:n,thisArg:this,args:i})).then(a).catch(l)})}return t}function Xa(e,n={}){let t,i,a=xe;const l=f=>{clearTimeout(f),a(),a=xe};let s;return f=>{const r=Y(e),u=Y(n.maxWait);return t&&l(t),r<=0||u!==void 0&&u<=0?(i&&(l(i),i=null),Promise.resolve(f())):new Promise((d,c)=>{a=n.rejectOnCancel?c:d,s=f,u&&!i&&(i=setTimeout(()=>{t&&l(t),i=null,d(s())},u)),t=setTimeout(()=>{i&&l(i),i=null,d(f())},r)})}}function Qa(...e){let n=0,t,i=!0,a=xe,l,s,f,r,u;!ni(e[0])&&typeof e[0]=="object"?{delay:s,trailing:f=!0,leading:r=!0,rejectOnCancel:u=!1}=e[0]:[s,f=!0,r=!0,u=!1]=e;const d=()=>{t&&(clearTimeout(t),t=void 0,a(),a=xe)};return c=>{const m=Y(s),g=Date.now()-n,_=()=>l=c();return d(),m<=0?(n=Date.now(),_()):(g>m&&(r||!i)?(n=Date.now(),_()):f&&(l=new Promise((b,w)=>{a=u?w:b,t=setTimeout(()=>{n=Date.now(),i=!0,b(_()),d()},Math.max(0,m-g))})),!r&&!t&&(t=setTimeout(()=>i=!0,m)),i=!1,l)}}function at(e){return Array.isArray(e)?e:[e]}function Pn(e){return _t()}function Ja(e,n=200,t={}){return Dn(Xa(n,t),e)}function Ya(e,n=200,t=!1,i=!0,a=!1){return Dn(Qa(n,t,i,a),e)}function el(e,n=!0,t){Pn()?$e(e,t):n?e():we(e)}function tl(e,n){Pn()&&dn(e,n)}function nl(e,n,t){return ue(e,n,Ve(de({},t),{immediate:!0}))}function il(e,n,t){return ue(e,n,Ve(de({},t),{once:!0}))}const st=qa?window:void 0;function Qe(e){var n;const t=Y(e);return(n=t==null?void 0:t.$el)!=null?n:t}function an(...e){const n=[],t=()=>{n.forEach(f=>f()),n.length=0},i=(f,r,u,d)=>(f.addEventListener(r,u,d),()=>f.removeEventListener(r,u,d)),a=P(()=>{const f=at(Y(e[0])).filter(r=>r!=null);return f.every(r=>typeof r!="string")?f:void 0}),l=nl(()=>{var f,r;return[(r=(f=a.value)==null?void 0:f.map(u=>Qe(u)))!=null?r:[st].filter(u=>u!=null),at(Y(a.value?e[1]:e[0])),at(S(a.value?e[2]:e[1])),Y(a.value?e[3]:e[2])]},([f,r,u,d])=>{if(t(),!(f!=null&&f.length)||!(r!=null&&r.length)||!(u!=null&&u.length))return;const c=Ka(d)?de({},d):d;n.push(...f.flatMap(m=>r.flatMap(g=>u.map(_=>i(m,g,_,c)))))},{flush:"post"}),s=()=>{l(),t()};return Nn(t),s}function al(){const e=Ie(!1),n=_t();return n&&$e(()=>{e.value=!0},n),e}function ll(e){const n=al();return P(()=>(n.value,!!e()))}function ol(e,n,t={}){const{root:i,rootMargin:a="0px",threshold:l=0,window:s=st,immediate:f=!0}=t,r=ll(()=>s&&"IntersectionObserver"in s),u=P(()=>{const _=Y(e);return at(_).map(Qe).filter(Wa)});let d=xe;const c=Ie(f),m=r.value?ue(()=>[u.value,Qe(i),c.value],([_,b])=>{if(d(),!c.value||!_.length)return;const w=new IntersectionObserver(n,{root:Qe(b),rootMargin:a,threshold:l});_.forEach(D=>D&&w.observe(D)),d=()=>{w.disconnect(),d=xe}},{immediate:f,flush:"post"}):xe,g=()=>{d(),m(),c.value=!1};return Nn(g),{isSupported:r,isActive:c,pause(){d(),c.value=!1},resume(){c.value=!0},stop:g}}function rl(e,n={}){const{window:t=st,scrollTarget:i,threshold:a=0,rootMargin:l,once:s=!1}=n,f=Ie(!1),{stop:r}=ol(e,u=>{let d=f.value,c=0;for(const m of u)m.time>=c&&(c=m.time,d=m.isIntersecting);f.value=d,s&&il(f,()=>{r()})},{root:i,window:t,threshold:a,rootMargin:Y(l)});return f}function sl(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const ln=1;function cl(e,n={}){const{throttle:t=0,idle:i=200,onStop:a=xe,onScroll:l=xe,offset:s={left:0,right:0,top:0,bottom:0},eventListenerOptions:f={capture:!1,passive:!0},behavior:r="auto",window:u=st,onError:d=N=>{console.error(N)}}=n,c=Ie(0),m=Ie(0),g=P({get(){return c.value},set(N){b(N,void 0)}}),_=P({get(){return m.value},set(N){b(void 0,N)}});function b(N,he){var j,ne,ve,ge;if(!u)return;const H=Y(e);if(!H)return;(ve=H instanceof Document?u.document.body:H)==null||ve.scrollTo({top:(j=Y(he))!=null?j:_.value,left:(ne=Y(N))!=null?ne:g.value,behavior:Y(r)});const se=((ge=H==null?void 0:H.document)==null?void 0:ge.documentElement)||(H==null?void 0:H.documentElement)||H;g!=null&&(c.value=se.scrollLeft),_!=null&&(m.value=se.scrollTop)}const w=Ie(!1),D=ot({left:!0,right:!1,top:!0,bottom:!1}),A=ot({left:!1,right:!1,top:!1,bottom:!1}),L=N=>{w.value&&(w.value=!1,A.left=!1,A.right=!1,A.top=!1,A.bottom=!1,a(N))},ee=Ja(L,t+i),oe=N=>{var he;if(!u)return;const j=((he=N==null?void 0:N.document)==null?void 0:he.documentElement)||(N==null?void 0:N.documentElement)||Qe(N),{display:ne,flexDirection:ve,direction:ge}=getComputedStyle(j),H=ge==="rtl"?-1:1,se=j.scrollLeft;A.left=sec.value;const _e=Math.abs(se*H)<=(s.left||0),me=Math.abs(se*H)+j.clientWidth>=j.scrollWidth-(s.right||0)-ln;ne==="flex"&&ve==="row-reverse"?(D.left=me,D.right=_e):(D.left=_e,D.right=me),c.value=se;let ie=j.scrollTop;N===u.document&&!ie&&(ie=u.document.body.scrollTop),A.top=iem.value;const Se=Math.abs(ie)<=(s.top||0),Be=Math.abs(ie)+j.clientHeight>=j.scrollHeight-(s.bottom||0)-ln;ne==="flex"&&ve==="column-reverse"?(D.top=Be,D.bottom=Se):(D.top=Se,D.bottom=Be),m.value=ie},re=N=>{var he;if(!u)return;const j=(he=N.target.documentElement)!=null?he:N.target;oe(j),w.value=!0,ee(N),l(N)};return an(e,"scroll",t?Ya(re,t,!0,!1):re,f),el(()=>{try{const N=Y(e);if(!N)return;oe(N)}catch(N){d(N)}}),an(e,"scrollend",L,f),{x:g,y:_,isScrolling:w,arrivedState:D,directions:A,measure(){const N=Y(e);u&&N&&oe(N)}}}function ul(e,n,t={}){var i;const{direction:a="bottom",interval:l=100,canLoadMore:s=()=>!0}=t,f=ot(cl(e,Ve(de({},t),{offset:de({[a]:(i=t.distance)!=null?i:0},t.offset)}))),r=W(),u=P(()=>!!r.value),d=P(()=>sl(Y(e))),c=rl(d);function m(){if(f.measure(),!d.value||!c.value||!s(d.value))return;const{scrollHeight:_,clientHeight:b,scrollWidth:w,clientWidth:D}=d.value,A=a==="bottom"||a==="top"?_<=b:w<=D;(f.arrivedState[a]||A)&&(r.value||(r.value=Promise.all([n(f),new Promise(L=>setTimeout(L,l))]).finally(()=>{r.value=null,we(()=>m())})))}const g=ue(()=>[f.arrivedState[a],c.value],m,{immediate:!0});return tl(g),{isLoading:u,reset(){we(()=>m())}}}const pl={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:n}){const t=n,i=e,a=li(),l=W([]),s=P(()=>l.value.reduce((o,p)=>(o[~~p.id]=p)&&o,{})),f=P(()=>l.value.length),r=W(null),u=W(!1),d=W({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),c=W({splitter:null,timeoutId:null}),m=P(()=>({["splitpanes splitpanes--".concat(i.horizontal?"horizontal":"vertical")]:!0,"splitpanes--dragging":d.value.dragging})),g=()=>{document.addEventListener("mousemove",w,{passive:!1}),document.addEventListener("mouseup",D),"ontouchstart"in window&&(document.addEventListener("touchmove",w,{passive:!1}),document.addEventListener("touchend",D))},_=()=>{document.removeEventListener("mousemove",w,{passive:!1}),document.removeEventListener("mouseup",D),"ontouchstart"in window&&(document.removeEventListener("touchmove",w,{passive:!1}),document.removeEventListener("touchend",D))},b=(o,p)=>{const h=o.target.closest(".splitpanes__splitter");if(h){const{left:v,top:y}=h.getBoundingClientRect(),{clientX:E,clientY:k}="ontouchstart"in window&&o.touches?o.touches[0]:o;d.value.cursorOffset=i.horizontal?k-y:E-v}g(),d.value.mouseDown=!0,d.value.activeSplitter=p},w=o=>{d.value.mouseDown&&(o.preventDefault(),d.value.dragging=!0,requestAnimationFrame(()=>{N(oe(o)),K("resize",{event:o},!0)}))},D=o=>{d.value.dragging&&(window.getSelection().removeAllRanges(),K("resized",{event:o},!0)),d.value.mouseDown=!1,d.value.activeSplitter=null,setTimeout(()=>{d.value.dragging=!1,_()},100)},A=(o,p)=>{"ontouchstart"in window&&(o.preventDefault(),c.value.splitter===p?(clearTimeout(c.value.timeoutId),c.value.timeoutId=null,L(o,p),c.value.splitter=null):(c.value.splitter=p,c.value.timeoutId=setTimeout(()=>c.value.splitter=null,500))),d.value.dragging||K("splitter-click",{event:o,index:p},!0)},L=(o,p)=>{if(K("splitter-dblclick",{event:o,index:p},!0),i.maximizePanes){let h=0;l.value=l.value.map((v,y)=>(v.size=y===p?v.max:v.min,y!==p&&(h+=v.min),v)),l.value[p].size-=h,K("pane-maximize",{event:o,index:p,pane:l.value[p]}),K("resized",{event:o,index:p},!0)}},ee=(o,p)=>{K("pane-click",{event:o,index:s.value[p].index,pane:s.value[p]})},oe=o=>{const p=r.value.getBoundingClientRect(),{clientX:h,clientY:v}="ontouchstart"in window&&o.touches?o.touches[0]:o;return{x:h-(i.horizontal?0:d.value.cursorOffset)-p.left,y:v-(i.horizontal?d.value.cursorOffset:0)-p.top}},re=o=>{o=o[i.horizontal?"y":"x"];const p=r.value[i.horizontal?"clientHeight":"clientWidth"];return i.rtl&&!i.horizontal&&(o=p-o),o*100/p},N=o=>{const p=d.value.activeSplitter;let h={prevPanesSize:j(p),nextPanesSize:ne(p),prevReachedMinPanes:0,nextReachedMinPanes:0};const v=0+(i.pushOtherPanes?0:h.prevPanesSize),y=100-(i.pushOtherPanes?0:h.nextPanesSize),E=Math.max(Math.min(re(o),y),v);let k=[p,p+1],x=l.value[k[0]]||null,I=l.value[k[1]]||null;const Ae=x.max<100&&E>=x.max+h.prevPanesSize,J=I.max<100&&E<=100-(I.max+ne(p+1));if(Ae||J){Ae?(x.size=x.max,I.size=Math.max(100-x.max-h.prevPanesSize-h.nextPanesSize,0)):(x.size=Math.max(100-I.max-h.prevPanesSize-ne(p+1),0),I.size=I.max);return}if(i.pushOtherPanes){const Lt=he(h,E);if(!Lt)return;({sums:h,panesToResize:k}=Lt),x=l.value[k[0]]||null,I=l.value[k[1]]||null}x!==null&&(x.size=Math.min(Math.max(E-h.prevPanesSize-h.prevReachedMinPanes,x.min),x.max)),I!==null&&(I.size=Math.min(Math.max(100-E-h.nextPanesSize-h.nextReachedMinPanes,I.min),I.max))},he=(o,p)=>{const h=d.value.activeSplitter,v=[h,h+1];return p{E>v[0]&&E<=h&&(y.size=y.min,o.prevReachedMinPanes+=y.min)}),o.prevPanesSize=j(v[0]),v[0]===void 0)?(o.prevReachedMinPanes=0,l.value[0].size=l.value[0].min,l.value.forEach((y,E)=>{E>0&&E<=h&&(y.size=y.min,o.prevReachedMinPanes+=y.min)}),l.value[v[1]].size=100-o.prevReachedMinPanes-l.value[0].min-o.prevPanesSize-o.nextPanesSize,null):p>100-o.nextPanesSize-l.value[v[1]].min&&(v[1]=ge(h).index,o.nextReachedMinPanes=0,v[1]>h+1&&l.value.forEach((y,E)=>{E>h&&E{E=h+1&&(y.size=y.min,o.nextReachedMinPanes+=y.min)}),l.value[v[0]].size=100-o.prevPanesSize-ne(v[0]-1),null):{sums:o,panesToResize:v}},j=o=>l.value.reduce((p,h,v)=>p+(vl.value.reduce((p,h,v)=>p+(v>o+1?h.size:0),0),ve=o=>[...l.value].reverse().find(p=>p.indexp.min)||{},ge=o=>l.value.find(p=>p.index>o+1&&p.size>p.min)||{},H=()=>{var o;const p=Array.from(((o=r.value)==null?void 0:o.children)||[]);for(const h of p){const v=h.classList.contains("splitpanes__pane"),y=h.classList.contains("splitpanes__splitter");!v&&!y&&(h.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},se=(o,p,h=!1)=>{const v=o-1,y=document.createElement("div");y.classList.add("splitpanes__splitter"),h||(y.onmousedown=E=>b(E,v),typeof window<"u"&&"ontouchstart"in window&&(y.ontouchstart=E=>b(E,v)),y.onclick=E=>A(E,v+1)),y.ondblclick=E=>L(E,v+1),p.parentNode.insertBefore(y,p)},_e=o=>{o.onmousedown=void 0,o.onclick=void 0,o.ondblclick=void 0,o.remove()},me=()=>{var o;const p=Array.from(((o=r.value)==null?void 0:o.children)||[]);for(const v of p)v.className.includes("splitpanes__splitter")&&_e(v);let h=0;for(const v of p)v.className.includes("splitpanes__pane")&&(!h&&i.firstSplitter?se(h,v,!0):h&&se(h,v),h++)},ie=h=>{var v=h,{uid:o}=v,p=Tt(v,["uid"]);const y=s.value[o];for(const[E,k]of Object.entries(p))y[E]=k},Se=o=>{var p;let h=-1;Array.from(((p=r.value)==null?void 0:p.children)||[]).some(v=>(v.className.includes("splitpanes__pane")&&h++,v.isSameNode(o.el))),l.value.splice(h,0,Ve(de({},o),{index:h})),l.value.forEach((v,y)=>v.index=y),u.value&&we(()=>{me(),Le({addedPane:l.value[h]}),K("pane-add",{pane:l.value[h]})})},Be=o=>{const p=l.value.findIndex(v=>v.id===o);l.value[p].el=null;const h=l.value.splice(p,1)[0];l.value.forEach((v,y)=>v.index=y),we(()=>{me(),K("pane-remove",{pane:h}),Le({removedPane:de({},h)})})},Le=(o={})=>{!o.addedPane&&!o.removedPane?Fe():l.value.some(p=>p.givenSize!==null||p.min||p.max<100)?qe(o):nt(),u.value&&K("resized")},nt=()=>{const o=100/f.value;let p=0;const h=[],v=[];for(const y of l.value)y.size=Math.max(Math.min(o,y.max),y.min),p-=y.size,y.size>=y.max&&h.push(y.id),y.size<=y.min&&v.push(y.id);p>.1&&ke(p,h,v)},Fe=()=>{let o=100;const p=[],h=[];let v=0;for(const E of l.value)o-=E.size,E.givenSize!==null&&v++,E.size>=E.max&&p.push(E.id),E.size<=E.min&&h.push(E.id);let y=100;if(o>.1){for(const E of l.value)E.givenSize===null&&(E.size=Math.max(Math.min(o/(f.value-v),E.max),E.min)),y-=E.size;y>.1&&ke(y,p,h)}},qe=({addedPane:o,removedPane:p}={})=>{var k;let h=100/f.value,v=0;const y=[],E=[];((k=o==null?void 0:o.givenSize)!=null?k:null)!==null&&(h=(100-o.givenSize)/(f.value-1));for(const x of l.value)v-=x.size,x.size>=x.max&&y.push(x.id),x.size<=x.min&&E.push(x.id);if(!(Math.abs(v)<.1)){for(const x of l.value)(o==null?void 0:o.givenSize)!==null&&(o==null?void 0:o.id)===x.id||(x.size=Math.max(Math.min(h,x.max),x.min)),v-=x.size,x.size>=x.max&&y.push(x.id),x.size<=x.min&&E.push(x.id);v>.1&&ke(v,y,E)}},ke=(o,p,h)=>{let v;o>0?v=o/(f.value-p.length):v=o/(f.value-h.length),l.value.forEach((y,E)=>{if(o>0&&!p.includes(y.id)){const k=Math.max(Math.min(y.size+v,y.max),y.min),x=k-y.size;o-=x,y.size=k}else if(!h.includes(y.id)){const k=Math.max(Math.min(y.size+v,y.max),y.min),x=k-y.size;o-=x,y.size=k}}),Math.abs(o)>.1&&we(()=>{u.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},K=(o,p=void 0,h=!1)=>{var y,E;const v=(E=(y=p==null?void 0:p.index)!=null?y:d.value.activeSplitter)!=null?E:null;t(o,Ve(de(de(de({},p),v!==null&&{index:v}),h&&v!==null&&{prevPane:l.value[v-(i.firstSplitter?1:0)],nextPane:l.value[v+(i.firstSplitter?0:1)]}),{panes:l.value.map(k=>({min:k.min,max:k.max,size:k.size}))}))};ue(()=>i.firstSplitter,()=>me()),$e(()=>{H(),me(),Le(),K("ready"),u.value=!0}),St(()=>u.value=!1);const ze=()=>{var o;return Et("div",{ref:r,class:m.value},(o=a.default)==null?void 0:o.call(a))};return ce("panes",l),ce("indexedPanes",s),ce("horizontal",P(()=>i.horizontal)),ce("requestUpdate",ie),ce("onPaneAdd",Se),ce("onPaneRemove",Be),ce("onPaneClick",ee),(o,p)=>(C(),$(hn(ze)))}},dl={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var n;const t=e,i=ae("requestUpdate"),a=ae("onPaneAdd"),l=ae("horizontal"),s=ae("onPaneRemove"),f=ae("onPaneClick"),r=(n=_t())==null?void 0:n.uid,u=ae("indexedPanes"),d=P(()=>u.value[r]),c=W(null),m=P(()=>{const w=isNaN(t.size)||t.size===void 0?0:parseFloat(t.size);return Math.max(Math.min(w,_.value),g.value)}),g=P(()=>{const w=parseFloat(t.minSize);return isNaN(w)?0:w}),_=P(()=>{const w=parseFloat(t.maxSize);return isNaN(w)?100:w}),b=P(()=>{var w;return"".concat(l.value?"height":"width",": ").concat((w=d.value)==null?void 0:w.size,"%")});return ue(()=>m.value,w=>i({uid:r,size:w})),ue(()=>g.value,w=>i({uid:r,min:w})),ue(()=>_.value,w=>i({uid:r,max:w})),$e(()=>{a({id:r,el:c.value,min:g.value,max:_.value,givenSize:t.size===void 0?null:m.value,size:m.value})}),St(()=>s(r)),(w,D)=>(C(),z("div",{ref_key:"paneEl",ref:c,class:"splitpanes__pane",onClick:D[0]||(D[0]=A=>S(f)(A,w._.uid)),style:oi(b.value)},[U(w.$slots,"default")],4))}};function hl(e){let n=!1,t;return(...i)=>(n||(n=!0,t=e(...i)),t)}let Ln="missing-app-name";try{Ln=lt}catch(e){Ke.error("The `@nextcloud/vue` library was used without setting / replacing the `appName`.")}const fl=Ln;let vl="";try{vl=Mn}catch(e){Ke.error("The `@nextcloud/vue` library was used without setting / replacing the `appVersion`.")}function Rn(){return ae("appName",fl)}const ml=hl(()=>{var t,i;const e=Ci("core","apps",[]),n=Rn();return(i=(t=e.find(({id:a})=>a===n))==null?void 0:t.name)!=null?i:n});Me(Bn);const gl=pe({__name:"NcAppContentDetailsToggle",setup(e){const n=tt();ue(n,t),$e(()=>{t(n.value)}),St(()=>{n.value&&t(!1)});function t(i=!0){const a=document.querySelector(".app-navigation .app-navigation-toggle");a&&(a.style.display=i?"none":"",i===!0&&Oe("toggle-navigation",{open:!1}))}return(i,a)=>(C(),$(S(Ee),{"aria-label":S(le)("Go back to the list"),class:Z(["app-details-toggle",{"app-details-toggle--mobile":S(n)}]),title:S(le)("Go back to the list"),variant:"tertiary"},{icon:R(()=>[B(S(Ce),{directional:"",path:S(Ei)},null,8,["path"])]),_:1},8,["aria-label","class","title"]))}}),yl=Q(gl,[["__scopeId","data-v-a28923a1"]]),on=mi("nextcloud").persist().build();var sn,cn;const bl=(cn=(sn=wi().theming)==null?void 0:sn.name)!=null?cn:"Nextcloud",Cl={name:"NcAppContent",components:{NcAppContentDetailsToggle:yl,Pane:dl,Splitpanes:pl},props:{disableSwipe:{type:Boolean,default:!1},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},layout:{type:String,default:"vertical-split",validator(e){return["no-split","vertical-split","horizontal-split"].includes(e)}},pageHeading:{type:String,default:null},pageTitle:{type:String,default:null}},emits:["update:showDetails","resizeList"],setup(){return{appName:Rn(),localizedAppName:ml(),isMobile:tt(),isRtl:Vn}},data(){return{contentHeight:0,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return"pane-list-size-".concat(this.paneConfigKey);try{return"pane-list-size-".concat(this.appName)}catch(e){return Ke.info("[NcAppContent]: falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}},realPageTitle(){const e=new Set;if(this.pageTitle)for(const n of this.pageTitle.split(" - "))e.add(n);else if(this.pageHeading){for(const n of this.pageHeading.split(" - "))e.add(n);e.size>0&&e.add(this.localizedAppName)}else return null;return e.add(bl),[...e.values()].join(" - ")}},watch:{realPageTitle:{immediate:!0,handler(){this.realPageTitle!==null&&(document.title=this.realPageTitle)}},paneConfigKey:{immediate:!0,handler(){this.restorePaneConfig()}}},mounted(){this.disableSwipe||(this.swiping=xi(this.$el,{onSwipeEnd:this.handleSwipe})),this.restorePaneConfig()},methods:{handleSwipe(e,n){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&n==="right"?Oe("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&n==="left"&&Oe("toggle-navigation",{open:!1}))},handlePaneResize(e){const n=parseInt(e.panes[0].size,10);on.setItem(this.paneConfigID,JSON.stringify(n)),this.listPaneSize=n,this.$emit("resizeList",{size:n}),Ke.debug("[NcAppContent] pane config",{listPaneSize:n})},restorePaneConfig(){const e=parseInt(on.getItem(this.paneConfigID),10);if(!isNaN(e)&&e!==this.listPaneSize)return Ke.debug("[NcAppContent] pane config",{listPaneSize:e}),this.listPaneSize=e,e},hideDetails(){this.$emit("update:showDetails",!1)}}},wl={key:0,class:"hidden-visually"},xl={key:1,class:"app-content-wrapper"};function El(e,n,t,i,a,l){const s=X("NcAppContentDetailsToggle"),f=X("Pane"),r=X("Splitpanes");return C(),z("main",{id:"app-content-vue",class:Z(["app-content no-snapper",{"app-content--has-list":!!e.$slots.list}])},[t.pageHeading?(C(),z("h1",wl,G(t.pageHeading),1)):O("",!0),e.$slots.list?(C(),z(Ye,{key:1},[i.isMobile||t.layout==="no-split"?(C(),z("div",{key:0,class:Z(["app-content-wrapper app-content-wrapper--no-split",{"app-content-wrapper--show-details":t.showDetails,"app-content-wrapper--show-list":!t.showDetails,"app-content-wrapper--mobile":i.isMobile}])},[t.showDetails?(C(),$(s,{key:0,onClick:be(l.hideDetails,["stop","prevent"])},null,8,["onClick"])):O("",!0),He(M("div",null,[U(e.$slots,"list",{},void 0,!0)],512),[[Je,!t.showDetails]]),t.showDetails?U(e.$slots,"default",{key:1},void 0,!0):O("",!0)],2)):t.layout==="vertical-split"||t.layout==="horizontal-split"?(C(),z("div",xl,[B(r,{horizontal:t.layout==="horizontal-split",class:Z(["default-theme",{"splitpanes--horizontal":t.layout==="horizontal-split","splitpanes--vertical":t.layout==="vertical-split"}]),rtl:i.isRtl,onResized:l.handlePaneResize},{default:R(()=>[B(f,{class:"splitpanes__pane-list",size:a.listPaneSize||l.paneDefaults.list.size,minSize:l.paneDefaults.list.min,maxSize:l.paneDefaults.list.max},{default:R(()=>[U(e.$slots,"list",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"]),B(f,{class:"splitpanes__pane-details",size:l.detailsPaneSize,minSize:l.paneDefaults.details.min,maxSize:l.paneDefaults.details.max},{default:R(()=>[U(e.$slots,"default",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"])]),_:3},8,["horizontal","class","rtl","onResized"])])):O("",!0)],64)):O("",!0),e.$slots.list?O("",!0):U(e.$slots,"default",{key:2},void 0,!0)],2)}const _l=Q(Cl,[["render",El],["__scopeId","data-v-563c4ac4"]]),Sl={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},kl=["aria-hidden","aria-label"],zl=["fill","width","height"],Al={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,12L19,6.41Z"},Nl={key:0};function Dl(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon close-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Al,[t.title?(C(),z("title",Nl,G(t.title),1)):O("",!0)])],8,zl))],16,kl)}const Pl=Q(Sl,[["render",Dl]]),Ll={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Rl=["aria-hidden","aria-label"],Il=["fill","width","height"],Ol={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Tl={key:0};function Ml(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Ol,[t.title?(C(),z("title",Tl,G(t.title),1)):O("",!0)])],8,Il))],16,Rl)}const $l=Q(Ll,[["render",Ml]]),Bl={class:"input-field__main-wrapper"},Vl=["id","aria-describedby","disabled","placeholder","type","value"],Gl=["for"],Hl={class:"input-field__icon input-field__icon--leading"},Ul={key:2,class:"input-field__icon input-field__icon--trailing"},jl=["id"],Fl=pe({inheritAttrs:!1,__name:"NcInputField",props:Mt({class:{default:""},inputClass:{default:""},id:{default:()=>wt()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:Mt(["trailingButtonClick"],["update:modelValue"]),setup(e,{expose:n,emit:t}){const i=fn(e,"modelValue"),a=e,l=t;n({focus:m,select:g});const s=ri(),f=kt("input"),r=P(()=>a.showTrailingButton||a.success),u=P(()=>{if(a.placeholder)return a.placeholder;if(a.label)return ht?a.label:""}),d=P(()=>a.label||a.labelOutside),c=P(()=>{const b=[];return a.helperText&&b.push("".concat(a.id,"-helper-text")),s["aria-describedby"]&&b.push(String(s["aria-describedby"])),b.join(" ")||void 0});function m(b){f.value.focus(b)}function g(){f.value.select()}function _(b){const w=b.target;i.value=a.type==="number"&&typeof i.value=="number"?parseFloat(w.value):w.value}return(b,w)=>(C(),z("div",{class:Z(["input-field",[{"input-field--disabled":b.disabled,"input-field--error":b.error,"input-field--label-outside":b.labelOutside||!d.value,"input-field--leading-icon":!!b.$slots.icon,"input-field--trailing-icon":r.value,"input-field--pill":b.pill,"input-field--success":b.success,"input-field--legacy":S(ht)},b.$props.class]])},[M("div",Bl,[M("input",Pe(b.$attrs,{id:b.id,ref:"input","aria-describedby":c.value,"aria-live":"polite",class:["input-field__input",b.inputClass],disabled:b.disabled,placeholder:u.value,type:b.type,value:i.value.toString(),onInput:_}),null,16,Vl),!b.labelOutside&&d.value?(C(),z("label",{key:0,class:"input-field__label",for:b.id},G(b.label),9,Gl)):O("",!0),He(M("div",Hl,[U(b.$slots,"icon",{},void 0,!0)],512),[[Je,!!b.$slots.icon]]),b.showTrailingButton?(C(),$(Ee,{key:1,class:"input-field__trailing-button","aria-label":b.trailingButtonLabel,disabled:b.disabled,variant:"tertiary-no-background",onClick:w[0]||(w[0]=D=>l("trailingButtonClick",D))},{icon:R(()=>[U(b.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):b.success||b.error?(C(),z("div",Ul,[b.success?(C(),$(Ce,{key:0,path:S($t)},null,8,["path"])):(C(),$(Ce,{key:1,path:S(Bt)},null,8,["path"]))])):O("",!0)]),b.helperText?(C(),z("p",{key:0,id:"".concat(b.id,"-helper-text"),class:"input-field__helper-text-message"},[b.success?(C(),$(Ce,{key:0,class:"input-field__helper-text-message__icon",path:S($t),inline:""},null,8,["path"])):b.error?(C(),$(Ce,{key:1,class:"input-field__helper-text-message__icon",path:S(Bt),inline:""},null,8,["path"])):O("",!0),Te(" "+G(b.helperText),1)],8,jl)):O("",!0)],2))}}),ql=Q(Fl,[["__scopeId","data-v-bfba6aa6"]]),Wl=["title"],Zl=pe({__name:"ActivityGroup",props:{activities:{}},setup(e){const n=e,t=P(()=>{const a=Ze(),l=Ze().subtract(1,"day"),s=Ze(n.activities[0].datetime);return s.isSame(a,"day")?q("activity","Today"):s.isSame(l,"day")?q("activity","Yesterday"):s.format("LL")}),i=P(()=>{const a=Ze(n.activities[0].datetime).format("LL");return a!==t.value?a:void 0});return(a,l)=>(C(),z(Ye,null,[M("h2",{class:"activity-group__heading",title:i.value},G(t.value),9,Wl),M("ul",null,[(C(!0),z(Ye,null,zt(e.activities,s=>(C(),$(_i,{key:s.id,activity:s,"show-previews":!0},null,8,["activity"]))),128))])],64))}}),Kl=xt(Zl,[["__scopeId","data-v-2cedecff"]]),Xl='',Ql={class:"activity-app__heading"},Jl={key:1,class:"activity-app__loading-indicator"},Yl=pe({__name:"ActivityAppFeed",props:{filter:{default:"all"}},setup(e){const n=mt(lt,"navigationList"),t=Ta(),i=e,a=W(!1),l=W(!0),s=W([]),f=W(),r=W();ul(r,async()=>{l.value&&await c()},{distance:100});const u=P(()=>{const m={};for(const g of s.value){const _=Ze(g.datetime).format("LL");m[_]===void 0?m[_]=[g]:m[_].push(g)}return m}),d=P(()=>n.find(m=>m.id===t.params.filter).name);async function c(){var m,g;if(!a.value)try{const _=(m=f.value)!=null?m:"0";a.value=!0;const b=await un.get(Gn("apps/activity/api/v2/activity/{filter}?format=json&previews=true&since={since}",{filter:i.filter,since:_}));s.value.push(...b.data.ocs.data.map(w=>new Si(w))),f.value=b.headers["x-activity-last-given"],l.value=!0,we(async()=>{r.value&&r.value.clientHeight===r.value.scrollHeight&&await c()})}catch(_){if(Hn.isAxiosError(_)&&((g=_.response)==null?void 0:g.status)===304){l.value=!1;return}vt.error(_),vn(q("activity","Could not load activities"))}finally{a.value=!1}}return $e(()=>{c()}),ue(i,()=>{s.value=[],f.value=void 0,c()}),(m,g)=>(C(),$(S(_l),{class:"activity-app"},{default:R(()=>[M("h1",Ql,G(d.value),1),l.value&&s.value.length===0?(C(),$(S(Vt),{key:0,class:"activity-app__empty-content",name:S(q)("activity","Loading activities"),description:S(q)("activity","This stream will show events like additions, changes & shares")},{icon:R(()=>[B(S(ft),{size:36})]),_:1},8,["name","description"])):s.value.length===0?(C(),$(S(Vt),{key:1,class:"activity-app__empty-content",name:S(q)("activity","No activity yet"),description:S(q)("activity","This stream will show events like additions, changes & shares")},{icon:R(()=>[B(S(Ce),{svg:S(Xl),size:36},null,8,["svg"])]),_:1},8,["name","description"])):O("",!0),M("div",{ref_key:"container",ref:r,class:"activity-app__container"},[(C(!0),z(Ye,null,zt(u.value,(_,b)=>(C(),$(Kl,{key:b,activities:_},null,8,["activities"]))),128)),l.value&&s.value.length>0?(C(),$(S(ft),{key:0,name:S(q)("activity","Loading more activities"),size:64,class:"activity-app__loading-indicator"},null,8,["name"])):!l.value&&s.value.length>0?(C(),z("div",Jl,G(S(q)("activity","No more activities.")),1)):O("",!0)],512)]),_:1}))}}),eo=xt(Yl,[["__scopeId","data-v-9b1face9"]]),to={name:"NcAppNavigationList"},no={class:"app-navigation-list"};function io(e,n,t,i,a,l){return C(),z("ul",no,[U(e.$slots,"default",{},void 0,!0)])}const ao=Q(to,[["render",io],["__scopeId","data-v-d72957ed"]]);Me(Un);const lo={class:"app-navigation-toggle-wrapper"},oo=pe({__name:"NcAppNavigationToggle",props:{open:{type:Boolean,required:!0},openModifiers:{}},emits:["update:open"],setup(e){const n=fn(e,"open"),t=P(()=>n.value?le("Close navigation"):le("Open navigation"));return(i,a)=>(C(),z("div",lo,[B(S(Ee),{class:"app-navigation-toggle","aria-controls":"app-navigation-vue","aria-expanded":n.value?"true":"false","aria-label":t.value,title:t.value,variant:"tertiary",onClick:a[0]||(a[0]=l=>n.value=!n.value)},{icon:R(()=>[B(Ce,{path:n.value?S(ki):S(zi)},null,8,["path"])]),_:1},8,["aria-expanded","aria-label","title"])]))}}),ro=Q(oo,[["__scopeId","data-v-5a15295d"]]),so=["aria-hidden","aria-label","aria-labelledby","inert"],co={class:"app-navigation__search"},uo=pe({__name:"NcAppNavigation",props:{ariaLabel:{},ariaLabelledby:{}},setup(e){const n=e;let t;const i=ae(An,()=>si(),!1),a=kt("appNavigationContainer"),l=tt(),s=W(!l.value);ci(()=>{!n.ariaLabel&&n.ariaLabelledby}),ue(l,()=>{s.value=!l.value}),ue(s,()=>{u()}),$e(()=>{i(!0),gi("toggle-navigation",r),Oe("navigation-toggled",{open:s.value}),t=jn(a.value,{allowOutsideClick:!0,fallbackFocus:a.value,trapStack:Fn(),escapeDeactivates:!1}),u()}),dn(()=>{i(!1),yi("toggle-navigation",r),t.deactivate()});function f(c){if(s.value===c){Oe("navigation-toggled",{open:s.value});return}s.value=c===void 0?!s.value:c;const m=getComputedStyle(document.body),g=parseInt(m.getPropertyValue("--animation-quick"))||100;setTimeout(()=>{Oe("navigation-toggled",{open:s.value})},1.5*g)}function r({open:c}){return f(c)}function u(){l.value&&s.value?t.activate():t.deactivate()}function d(){l.value&&f(!1)}return(c,m)=>(C(),z("div",{ref:"appNavigationContainer",class:Z(["app-navigation",{"app-navigation--closed":!s.value}])},[M("nav",{id:"app-navigation-vue","aria-hidden":s.value?"false":"true","aria-label":c.ariaLabel||void 0,"aria-labelledby":c.ariaLabelledby||void 0,class:"app-navigation__content",inert:!s.value||void 0,onKeydown:At(d,["esc"])},[M("div",co,[U(c.$slots,"search",{},void 0,!0)]),M("div",{class:Z(["app-navigation__body",{"app-navigation__body--no-list":!c.$slots.list}])},[U(c.$slots,"default",{},void 0,!0)],2),c.$slots.list?(C(),$(ao,{key:0,class:"app-navigation__list"},{default:R(()=>[U(c.$slots,"list",{},void 0,!0)]),_:3})):O("",!0),U(c.$slots,"footer",{},void 0,!0)],40,so),B(ro,{open:s.value,"onUpdate:open":f},null,8,["open"])],2))}}),po=Q(uo,[["__scopeId","data-v-d5ce90cd"]]),ho={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fo=["aria-hidden","aria-label"],vo=["fill","width","height"],mo={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},go={key:0};function yo(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",mo,[t.title?(C(),z("title",go,G(t.title),1)):O("",!0)])],8,vo))],16,fo)}const bo=Q(ho,[["render",yo]]),Co={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wo=["aria-hidden","aria-label"],xo=["fill","width","height"],Eo={d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"},_o={key:0};function So(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon arrow-right-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Eo,[t.title?(C(),z("title",_o,G(t.title),1)):O("",!0)])],8,xo))],16,wo)}const ko=Q(Co,[["render",So]]);Me(qn);const zo={name:"NcInputConfirmCancel",components:{IconArrowRight:ko,IconClose:Pl,NcButton:Ee},props:{primary:{default:!1,type:Boolean},placeholder:{default:"",type:String},modelValue:{default:"",type:String}},emits:["cancel","confirm","update:modelValue"],data(){return{labelConfirm:le("Confirm changes"),labelCancel:le("Cancel changes")}},computed:{valueModel:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{confirm(){this.$emit("confirm")},cancel(){this.$emit("cancel")},focusInput(){this.$refs.input.focus()}}},Ao={class:"app-navigation-input-confirm"},No=["placeholder"];function Do(e,n,t,i,a,l){const s=X("IconArrowRight"),f=X("NcButton"),r=X("IconClose");return C(),z("div",Ao,[M("form",{onSubmit:n[1]||(n[1]=be((...u)=>l.confirm&&l.confirm(...u),["prevent"])),onKeydown:n[2]||(n[2]=At(be((...u)=>l.cancel&&l.cancel(...u),["exact","stop","prevent"]),["esc"])),onClick:n[3]||(n[3]=be(()=>{},["stop","prevent"]))},[He(M("input",{ref:"input","onUpdate:modelValue":n[0]||(n[0]=u=>l.valueModel=u),type:"text",class:"app-navigation-input-confirm__input",placeholder:t.placeholder},null,8,No),[[ui,l.valueModel]]),B(f,{"aria-label":a.labelConfirm,type:"submit",variant:"primary",onClick:be(l.confirm,["stop","prevent"])},{icon:R(()=>[B(s,{size:20})]),_:1},8,["aria-label","onClick"]),B(f,{"aria-label":a.labelCancel,type:"reset",variant:t.primary?"primary":"tertiary",onClick:be(l.cancel,["stop","prevent"])},{icon:R(()=>[B(r,{size:20})]),_:1},8,["aria-label","variant","onClick"])],32)])}const Po=Q(zo,[["render",Do],["__scopeId","data-v-dd457d48"]]),Lo=pe({name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(){var e,n;return this.vnodes||((n=(e=this.$slots)==null?void 0:e.default)==null?void 0:n.call(e,{}))}}),Ro={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Io=["aria-hidden","aria-label"],Oo=["fill","width","height"],To={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},Mo={key:0};function $o(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",To,[t.title?(C(),z("title",Mo,G(t.title),1)):O("",!0)])],8,Oo))],16,Io)}const Bo=Q(Ro,[["render",$o]]),Vo={name:"UndoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Go=["aria-hidden","aria-label"],Ho=["fill","width","height"],Uo={d:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"},jo={key:0};function Fo(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon undo-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Uo,[t.title?(C(),z("title",jo,G(t.title),1)):O("",!0)])],8,Ho))],16,Go)}const qo=Q(Vo,[["render",Fo]]);Me(Wn);const Wo={name:"NcAppNavigationIconCollapsible",components:{NcButton:Ee,ChevronDown:$l,ChevronUp:bo},props:{open:{type:Boolean,required:!0},active:{type:Boolean,required:!0}},emits:["click"],computed:{labelButton(){return this.open?le("Collapse menu"):le("Open menu")}},methods:{onClick(e){this.$emit("click",e)}}};function Zo(e,n,t,i,a,l){const s=X("ChevronUp"),f=X("ChevronDown"),r=X("NcButton");return C(),$(r,{class:Z(["icon-collapse",{"icon-collapse--active":t.active,"icon-collapse--open":t.open}]),"aria-label":l.labelButton,variant:t.active?"tertiary-on-primary":"tertiary",onClick:l.onClick},{icon:R(()=>[t.open?(C(),$(s,{key:0,size:20})):(C(),$(f,{key:1,size:20}))]),_:1},8,["class","aria-label","variant","onClick"])}const Ko=Q(Wo,[["render",Zo],["__scopeId","data-v-e6236e50"]]);Me(Kn,Zn);const Xo={name:"NcAppNavigationItem",components:{NcActions:Xn,NcActionButton:Ai,NcAppNavigationIconCollapsible:Ko,NcInputConfirmCancel:Po,NcLoadingIcon:ft,NcVNodes:Lo,Pencil:Bo,Undo:qo},props:{active:{type:Boolean,default:!1},name:{type:String,required:!0},title:{type:String,default:null},id:{type:String,default:()=>wt(),validator:e=>e.trim()!==""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:null},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"},ariaDescription:{type:String,default:null},forceDisplayActions:{type:Boolean,default:!1},inlineActions:{type:Number,default:0}},emits:["update:menuOpen","update:open","update:name","click","undo"],setup(){return{isMobile:tt()}},data(){return{actionsBoundariesElement:void 0,editingValue:"",opened:this.open,editingActive:!1,menuOpenLocalValue:!1,focused:!1}},computed:{isRouterLink(){return this.to&&!this.href},canHaveChildren(){return this.$parent.$options._componentTag!=="AppNavigationItem"},editButtonAriaLabel(){return this.editLabel?this.editLabel:le("Edit item")},undoButtonAriaLabel(){return le("Undo changes")}},watch:{open(e){this.opened=e}},mounted(){this.actionsBoundariesElement=document.querySelector("#content-vue")||void 0},methods:{onMenuToggle(e){this.$emit("update:menuOpen",e),this.menuOpenLocalValue=e},toggleCollapse(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick(e,n,t){this.$emit("click",e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&t&&(n==null||n(e),e.preventDefault())},handleEdit(){this.editingValue=this.name,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick(()=>{this.$refs.editingInput.focusInput()})},cancelEditing(){this.editingActive=!1},handleEditingDone(){this.$emit("update:name",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo(){this.$emit("undo")},handleFocus(){this.focused=!0},handleBlur(){this.focused=!1},handleTab(e){this.$refs.actions&&(this.focused?(e.preventDefault(),this.$refs.actions.$refs.triggerButton.$el.focus(),this.focused=!1):this.$refs.actions.$refs.triggerButton.$el.blur())},isExternal(e){return e&&e.match(/[a-z]+:\/\//i)}}},Qo=["id"],Jo=["aria-current","aria-description","aria-expanded","href","target","title","onClick"],Yo={key:0,class:"editingContainer"},er={key:1,class:"app-navigation-entry__deleted"},tr={class:"app-navigation-entry__deleted-description"},nr={key:0,class:"app-navigation-entry__counter-wrapper"},ir={key:0,class:"app-navigation-entry__children"};function ar(e,n,t,i,a,l){const s=X("NcLoadingIcon"),f=X("NcInputConfirmCancel"),r=X("Pencil"),u=X("NcActionButton"),d=X("Undo"),c=X("NcActions"),m=X("NcAppNavigationIconCollapsible");return C(),z("li",{id:t.id,class:Z([{"app-navigation-entry--opened":a.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--collapsible":t.allowCollapse&&!!e.$slots.default},"app-navigation-entry-wrapper"])},[(C(),$(hn(l.isRouterLink?"router-link":"NcVNodes"),pi(di(de({},l.isRouterLink&&{custom:!0,to:t.to}))),{default:R(({href:g,navigate:_,isActive:b})=>[M("div",{class:Z(["app-navigation-entry",{"app-navigation-entry--editing":a.editingActive,"app-navigation-entry--deleted":t.undo,active:t.to&&b||t.active}])},[t.undo?O("",!0):(C(),z("a",{key:0,class:"app-navigation-entry-link","aria-current":t.active||t.to&&b?"page":void 0,"aria-description":t.ariaDescription,"aria-expanded":e.$slots.default?a.opened.toString():void 0,href:t.href||g||"#",target:l.isExternal(t.href)?"_blank":void 0,title:t.title||t.name,onBlur:n[1]||(n[1]=(...w)=>l.handleBlur&&l.handleBlur(...w)),onClick:w=>l.onClick(w,_,g),onFocus:n[2]||(n[2]=(...w)=>l.handleFocus&&l.handleFocus(...w)),onKeydown:n[3]||(n[3]=At(be((...w)=>l.handleTab&&l.handleTab(...w),["exact"]),["tab"]))},[M("div",{class:Z(["app-navigation-entry-icon",{[t.icon]:t.icon}])},[t.loading?(C(),$(s,{key:0})):U(e.$slots,"icon",{key:1,active:t.active||t.to&&b},void 0,!0)],2),M("span",{class:Z(["app-navigation-entry__name",{"hidden-visually":a.editingActive}])},G(t.name),3),a.editingActive?(C(),z("div",Yo,[B(f,{ref:"editingInput",modelValue:a.editingValue,"onUpdate:modelValue":n[0]||(n[0]=w=>a.editingValue=w),placeholder:t.editPlaceholder!==""?t.editPlaceholder:t.name,primary:t.to&&b||t.active,onCancel:l.cancelEditing,onConfirm:l.handleEditingDone},null,8,["modelValue","placeholder","primary","onCancel","onConfirm"])])):O("",!0)],40,Jo)),t.undo?(C(),z("div",er,[M("div",tr,G(t.name),1)])):O("",!0),(e.$slots.actions||e.$slots.counter||t.editable||t.undo)&&!a.editingActive?(C(),z("div",{key:2,class:Z(["app-navigation-entry__utils",{"app-navigation-entry__utils--display-actions":t.forceDisplayActions||a.menuOpenLocalValue||t.menuOpen}])},[e.$slots.counter?(C(),z("div",nr,[U(e.$slots,"counter",{},void 0,!0)])):O("",!0),e.$slots.actions||t.editable&&!a.editingActive||t.undo?(C(),$(c,{key:1,ref:"actions",class:"app-navigation-entry__actions",container:"#app-navigation-vue",boundariesElement:a.actionsBoundariesElement,inline:t.inlineActions,placement:t.menuPlacement,open:t.menuOpen,forceMenu:t.forceMenu,defaultIcon:t.menuIcon,variant:t.to&&b||t.active?"tertiary-on-primary":"tertiary","onUpdate:open":l.onMenuToggle},{icon:R(()=>[U(e.$slots,"menu-icon",{},void 0,!0)]),default:R(()=>[t.editable&&!a.editingActive?(C(),$(u,{key:0,"aria-label":l.editButtonAriaLabel,onClick:l.handleEdit},{icon:R(()=>[B(r,{size:20})]),default:R(()=>[Te(" "+G(t.editLabel),1)]),_:1},8,["aria-label","onClick"])):O("",!0),t.undo?(C(),$(u,{key:1,"aria-label":l.undoButtonAriaLabel,onClick:l.handleUndo},{icon:R(()=>[B(d,{size:20})]),_:1},8,["aria-label","onClick"])):O("",!0),U(e.$slots,"actions",{},void 0,!0)]),_:2},1032,["boundariesElement","inline","placement","open","forceMenu","defaultIcon","variant","onUpdate:open"])):O("",!0)],2)):O("",!0),t.allowCollapse&&e.$slots.default?(C(),$(m,{key:3,active:t.to&&b||t.active,open:a.opened,onClick:be(l.toggleCollapse,["prevent","stop"])},null,8,["active","open","onClick"])):O("",!0),U(e.$slots,"extra",{},void 0,!0)],2)]),_:3},16)),l.canHaveChildren&&e.$slots.default?(C(),z("ul",ir,[U(e.$slots,"default",{},void 0,!0)])):O("",!0)],10,Qo)}const lr=Q(Xo,[["render",ar],["__scopeId","data-v-f925f8d0"]]);Me(Qn);const or=["id"],rr=pe({__name:"NcAppNavigationSettings",props:{excludeClickOutsideSelectors:{default:()=>[]},name:{default:()=>le("Settings")}},setup(e){const n=wt(),t=W(!1),i=kt("wrapperElement"),a=P(()=>Array.isArray(e.excludeClickOutsideSelectors)?e.excludeClickOutsideSelectors:e.excludeClickOutsideSelectors.split(" "));return Ni(i,()=>{t.value=!1},{ignore:a}),(l,s)=>(C(),z("div",{ref:"wrapperElement",class:Z(l.$style.container)},[M("div",{class:Z(l.$style.header)},[B(Ee,{"aria-controls":S(n),"aria-expanded":t.value?"true":"false",class:Z(l.$style.button),alignment:"start",variant:"tertiary",wide:"",onClick:s[0]||(s[0]=f=>t.value=!t.value)},{icon:R(()=>[B(Ce,{path:S(ht)?S(Di):S(Pi)},null,8,["path"])]),default:R(()=>[Te(" "+G(l.name),1)]),_:1},8,["aria-controls","aria-expanded","class"])],2),B(hi,{enterActiveClass:l.$style.animationActive,leaveActiveClass:l.$style.animationActive,enterFromClass:l.$style.animationStop,leaveToClass:l.$style.animationStop},{default:R(()=>[He(M("div",{id:S(n),class:Z(l.$style.content)},[U(l.$slots,"default")],10,or),[[Je,t.value]])]),_:3},8,["enterActiveClass","leaveActiveClass","enterFromClass","leaveToClass"])],2))}}),sr="_container_RFk6U",cr="_header_2CtDS",ur="_button_tAyis",pr="_content_--KYD",dr="_animationActive_DAG1p",hr="_animationStop_fWYQj",fr={container:sr,header:cr,button:ur,content:pr,animationActive:dr,animationStop:hr},vr={$style:fr},mr=Q(rr,[["__cssModules",vr]]),gr={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yr=["aria-hidden","aria-label"],br=["fill","width","height"],Cr={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},wr={key:0};function xr(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Cr,[t.title?(C(),z("title",wr,G(t.title),1)):O("",!0)])],8,br))],16,yr)}const Er=xt(gr,[["render",xr]]),_r=["src"],Sr=pe({__name:"ActivityAppNavigation",setup(e){const{rssLink:n,personalSettingsLink:t}=mt(lt,"settings"),i=mt(lt,"navigationList"),a=W(n),l=P(()=>!!a.value);async function s(){try{const{data:r}=await un.post(pn("/apps/activity/settings/feed"),{enable:!l.value});a.value=r.data.rsslink}catch(r){vn(q("activity","Could not enable RSS link")),vt.error(r)}}async function f(){try{window.navigator.clipboard.writeText(a.value),bi(q("activity","RSS link copied to clipboard"))}catch(r){vt.debug(r),window.prompt(q("activity","Could not copy the RSS link, please copy manually:"),a.value)}}return(r,u)=>(C(),$(S(po),{"aria-label":S(q)("activity","Activity")},{list:R(()=>[(C(!0),z(Ye,null,zt(S(i),d=>(C(),$(S(lr),{key:d.id,"data-navigation":d.id,to:d.id,name:d.name},fi({_:2},[d.icon?{name:"icon",fn:R(()=>[M("img",{alt:"",src:d.icon,class:"navigation-icon",role:"presentation"},null,8,_r)]),key:"0"}:void 0]),1032,["data-navigation","to","name"]))),128))]),footer:R(()=>[B(S(mr),{name:S(q)("activity","Activity settings")},{default:R(()=>[B(S(Jn),{type:"switch",modelValue:l.value,"onUpdate:modelValue":[u[0]||(u[0]=d=>l.value=d),s]},{default:R(()=>[Te(G(S(q)("activity","Enable RSS feed")),1)]),_:1},8,["modelValue"]),l.value?(C(),$(S(ql),{key:0,modelValue:a.value,"onUpdate:modelValue":u[1]||(u[1]=d=>a.value=d),label:S(q)("activity","RSS feed"),"show-trailing-button":!0,"trailing-button-label":S(q)("activity","Copy RSS feed link"),readonly:"readonly",onTrailingButtonClick:f},{"trailing-button-icon":R(()=>[B(Er,{size:20})]),_:1},8,["modelValue","label","trailing-button-label"])):O("",!0),B(S(Ee),{class:"settings-link",href:S(t),title:S(q)("activity","Personal notification settings"),variant:"tertiary"},{default:R(()=>[Te(G(S(q)("activity","Personal notification settings")),1)]),_:1},8,["href","title"])]),_:1},8,["name"])]),_:1},8,["aria-label"]))}}),kr=[{path:"/",name:"root",redirect:{path:"/all"}},{path:"/:filter?",components:{default:eo,navigation:Sr},props:{default:!0}}],zr=Oa({history:ha(pn("/apps/activity")),linkActiveClass:"active",routes:kr}),rn=vi(Fa);rn.use(zr),rn.mount("#content"); +var In=Object.defineProperty,On=Object.defineProperties;var Tn=Object.getOwnPropertyDescriptors;var it=Object.getOwnPropertySymbols;var It=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var Rt=(e,n,t)=>n in e?In(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,de=(e,n)=>{for(var t in n||(n={}))It.call(n,t)&&Rt(e,t,n[t]);if(it)for(var t of it(n))Ot.call(n,t)&&Rt(e,t,n[t]);return e},Ve=(e,n)=>On(e,Tn(n));var Tt=(e,n)=>{var t={};for(var i in e)It.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&it)for(var i of it(e))n.indexOf(i)<0&&Ot.call(e,i)&&(t[i]=e[i]);return t};import{r as Me,t as $n,_ as Q,a as le,N as Ee,u as tt,b as Ce,l as Ke,c as Bn,i as Vn,d as ht,e as wt,f as xt,g as un,h as Gn,j as Hn,k as ft,m as Un,n as jn,o as Fn,p as qn,q as Wn,s as Zn,v as Kn,w as Xn,x as Qn,y as Jn,z as pn}from"./_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs";import{s as Ie,d as pe,u as S,a as Yn,i as ae,r as ot,h as Et,c as P,w as ue,b as W,n as we,p as ce,o as ei,e as z,f as C,g as $,j as U,k as M,l as He,t as G,m as B,v as Je,q as R,x as Te,y as be,T as ti,z as Z,A as X,B as $e,C as ni,D as Y,E as _t,F as ii,G as ai,H as dn,I as li,J as St,K as hn,L as oi,M as O,N as Ye,O as Pe,P as Mt,Q as fn,R as ri,S as kt,U as zt,V as q,W as si,X as ci,Y as At,Z as ui,_ as pi,$ as di,a0 as hi,a1 as fi,a2 as vi}from"./translation-DoG5ZELJ-BlIPWNCX.chunk.mjs";import{e as Oe,g as mi,l as vt,s as gi,u as yi}from"./logger-DO04_iVC.chunk.mjs";import{l as mt,s as vn,a as bi}from"./index-BCm0_Wwg.chunk.mjs";import{l as Ci,g as wi,u as xi,m as Ei,a as $t,b as Bt,_ as _i,c as Ze,A as Si,N as Vt,d as ki,e as zi,f as Ai,o as Ni,h as Di,i as Pi}from"./ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs";import"./_commonjsHelpers-Cqwegr3R.chunk.mjs";import"./preload-helper-B9rAsR6N.chunk.mjs";const lt="activity",Mn="5.0.0",Ge=typeof document<"u";function mn(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Li(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&mn(e.default)}const T=Object.assign;function ct(e,n){const t={};for(const i in n){const a=n[i];t[i]=fe(a)?a.map(e):e(a)}return t}const Xe=()=>{},fe=Array.isArray;function Gt(e,n){const t={};for(const i in e)t[i]=i in n?n[i]:e[i];return t}const gn=/#/g,Ri=/&/g,Ii=/\//g,Oi=/=/g,Ti=/\?/g,yn=/\+/g,Mi=/%5B/g,$i=/%5D/g,bn=/%5E/g,Bi=/%60/g,Cn=/%7B/g,Vi=/%7C/g,wn=/%7D/g,Gi=/%20/g;function Nt(e){return e==null?"":encodeURI(""+e).replace(Vi,"|").replace(Mi,"[").replace($i,"]")}function Hi(e){return Nt(e).replace(Cn,"{").replace(wn,"}").replace(bn,"^")}function gt(e){return Nt(e).replace(yn,"%2B").replace(Gi,"+").replace(gn,"%23").replace(Ri,"%26").replace(Bi,"`").replace(Cn,"{").replace(wn,"}").replace(bn,"^")}function Ui(e){return gt(e).replace(Oi,"%3D")}function ji(e){return Nt(e).replace(gn,"%23").replace(Ti,"%3F")}function Fi(e){return ji(e).replace(Ii,"%2F")}function et(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(n){}return""+e}const qi=/\/$/,Wi=e=>e.replace(qi,"");function ut(e,n,t="/"){let i,a={},l="",s="";const f=n.indexOf("#");let r=n.indexOf("?");return r=f>=0&&r>f?-1:r,r>=0&&(i=n.slice(0,r),l=n.slice(r,f>0?f:n.length),a=e(l.slice(1))),f>=0&&(i=i||n.slice(0,f),s=n.slice(f,n.length)),i=Qi(i!=null?i:n,t),{fullPath:i+l+s,path:i,query:a,hash:et(s)}}function Zi(e,n){const t=n.query?e(n.query):"";return n.path+(t&&"?")+t+(n.hash||"")}function Ht(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function Ki(e,n,t){const i=n.matched.length-1,a=t.matched.length-1;return i>-1&&i===a&&Ue(n.matched[i],t.matched[a])&&xn(n.params,t.params)&&e(n.query)===e(t.query)&&n.hash===t.hash}function Ue(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function xn(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var t in e)if(!Xi(e[t],n[t]))return!1;return!0}function Xi(e,n){return fe(e)?Ut(e,n):fe(n)?Ut(n,e):(e==null?void 0:e.valueOf())===(n==null?void 0:n.valueOf())}function Ut(e,n){return fe(n)?e.length===n.length&&e.every((t,i)=>t===n[i]):e.length===1&&e[0]===n}function Qi(e,n){if(e.startsWith("/"))return e;if(!e)return n;const t=n.split("/"),i=e.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let l=t.length-1,s,f;for(s=0;s1&&l--;else break;return t.slice(0,l).join("/")+"/"+i.slice(s).join("/")}const Ne={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let yt=(function(e){return e.pop="pop",e.push="push",e})({}),pt=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Ji(e){if(!e)if(Ge){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wi(e)}const Yi=/^[^#]+#/;function ea(e,n){return e.replace(Yi,"#")+n}function ta(e,n){const t=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:n.behavior,left:i.left-t.left-(n.left||0),top:i.top-t.top-(n.top||0)}}const rt=()=>({left:window.scrollX,top:window.scrollY});function na(e){let n;if("el"in e){const t=e.el,i=typeof t=="string"&&t.startsWith("#"),a=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!a)return;n=ta(a,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.scrollX,n.top!=null?n.top:window.scrollY)}function jt(e,n){return(history.state?history.state.position-n:-1)+e}const bt=new Map;function ia(e,n){bt.set(e,n)}function aa(e){const n=bt.get(e);return bt.delete(e),n}function la(e){return typeof e=="string"||e&&typeof e=="object"}function En(e){return typeof e=="string"||typeof e=="symbol"}let V=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const _n=Symbol("");V.MATCHER_NOT_FOUND+"",V.NAVIGATION_GUARD_REDIRECT+"",V.NAVIGATION_ABORTED+"",V.NAVIGATION_CANCELLED+"",V.NAVIGATION_DUPLICATED+"";function je(e,n){return T(new Error,{type:e,[_n]:!0},n)}function ye(e,n){return e instanceof Error&&_n in e&&(n==null||!!(e.type&n))}function oa(e){const n={};if(e===""||e==="?")return n;const t=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&>(a)):[i&>(i)]).forEach(a=>{a!==void 0&&(n+=(n.length?"&":"")+t,a!=null&&(n+="="+a))})}return n}function ra(e){const n={};for(const t in e){const i=e[t];i!==void 0&&(n[t]=fe(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return n}const sa=Symbol(""),qt=Symbol(""),Dt=Symbol(""),Pt=Symbol(""),Ct=Symbol("");function We(){let e=[];function n(i){return e.push(i),()=>{const a=e.indexOf(i);a>-1&&e.splice(a,1)}}function t(){e=[]}return{add:n,list:()=>e.slice(),reset:t}}function De(e,n,t,i,a,l=s=>s()){const s=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((f,r)=>{const u=m=>{m===!1?r(je(V.NAVIGATION_ABORTED,{from:t,to:n})):m instanceof Error?r(m):la(m)?r(je(V.NAVIGATION_GUARD_REDIRECT,{from:n,to:m})):(s&&i.enterCallbacks[a]===s&&typeof m=="function"&&s.push(m),f())},d=l(()=>e.call(i&&i.instances[a],n,t,u));let c=Promise.resolve(d);e.length<3&&(c=c.then(u)),c.catch(m=>r(m))})}function dt(e,n,t,i,a=l=>l()){const l=[];for(const s of e)for(const f in s.components){let r=s.components[f];if(!(n!=="beforeRouteEnter"&&!s.instances[f]))if(mn(r)){const u=(r.__vccOpts||r)[n];u&&l.push(De(u,t,i,s,f,a))}else{let u=r();l.push(()=>u.then(d=>{if(!d)throw new Error("Couldn't resolve component \"".concat(f,'" at "').concat(s.path,'"'));const c=Li(d)?d.default:d;s.mods[f]=d,s.components[f]=c;const m=(c.__vccOpts||c)[n];return m&&De(m,t,i,s,f,a)()}))}}return l}function ca(e,n){const t=[],i=[],a=[],l=Math.max(n.matched.length,e.matched.length);for(let s=0;sUe(u,f))?i.push(f):t.push(f));const r=e.matched[s];r&&(n.matched.find(u=>Ue(u,r))||a.push(r))}return[t,i,a]}let ua=()=>location.protocol+"//"+location.host;function Sn(e,n){const{pathname:t,search:i,hash:a}=n,l=e.indexOf("#");if(l>-1){let s=a.includes(e.slice(l))?e.slice(l).length:1,f=a.slice(s);return f[0]!=="/"&&(f="/"+f),Ht(f,"")}return Ht(t,e)+i+a}function pa(e,n,t,i){let a=[],l=[],s=null;const f=({state:m})=>{const g=Sn(e,location),_=t.value,b=n.value;let w=0;if(m){if(t.value=g,n.value=m,s&&s===_){s=null;return}w=b?m.position-b.position:0}else i(g);a.forEach(D=>{D(t.value,_,{delta:w,type:yt.pop,direction:w?w>0?pt.forward:pt.back:pt.unknown})})};function r(){s=t.value}function u(m){a.push(m);const g=()=>{const _=a.indexOf(m);_>-1&&a.splice(_,1)};return l.push(g),g}function d(){if(document.visibilityState==="hidden"){const{history:m}=window;if(!m.state)return;m.replaceState(T({},m.state,{scroll:rt()}),"")}}function c(){for(const m of l)m();l=[],window.removeEventListener("popstate",f),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",f),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:r,listen:u,destroy:c}}function Wt(e,n,t,i=!1,a=!1){return{back:e,current:n,forward:t,replaced:i,position:window.history.length,scroll:a?rt():null}}function da(e){const{history:n,location:t}=window,i={value:Sn(e,t)},a={value:n.state};a.value||l(i.value,{back:null,current:i.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function l(r,u,d){const c=e.indexOf("#"),m=c>-1?(t.host&&document.querySelector("base")?e:e.slice(c))+r:ua()+e+r;try{n[d?"replaceState":"pushState"](u,"",m),a.value=u}catch(g){console.error(g),t[d?"replace":"assign"](m)}}function s(r,u){l(r,T({},n.state,Wt(a.value.back,r,a.value.forward,!0),u,{position:a.value.position}),!0),i.value=r}function f(r,u){const d=T({},a.value,n.state,{forward:r,scroll:rt()});l(d.current,d,!0),l(r,T({},Wt(i.value,r,null),{position:d.position+1},u),!1),i.value=r}return{location:i,state:a,push:f,replace:s}}function ha(e){e=Ji(e);const n=da(e),t=pa(e,n.state,n.location,n.replace);function i(l,s=!0){s||t.pauseListeners(),history.go(l)}const a=T({location:"",base:e,go:i,createHref:ea.bind(null,e)},n,t);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>n.state.value}),a}let Re=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var F=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(F||{});const fa={type:Re.Static,value:""},va=/[a-zA-Z0-9_]/;function ma(e){if(!e)return[[]];if(e==="/")return[[fa]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function n(g){throw new Error("ERR (".concat(t,')/"').concat(u,'": ').concat(g))}let t=F.Static,i=t;const a=[];let l;function s(){l&&a.push(l),l=[]}let f=0,r,u="",d="";function c(){u&&(t===F.Static?l.push({type:Re.Static,value:u}):t===F.Param||t===F.ParamRegExp||t===F.ParamRegExpEnd?(l.length>1&&(r==="*"||r==="+")&&n("A repeatable param (".concat(u,") must be alone in its segment. eg: '/:ids+.")),l.push({type:Re.Param,value:u,regexp:d,repeatable:r==="*"||r==="+",optional:r==="*"||r==="?"})):n("Invalid state to consume buffer"),u="")}function m(){u+=r}for(;fn.length?n.length===1&&n[0]===te.Static+te.Segment?1:-1:0}function kn(e,n){let t=0;const i=e.score,a=n.score;for(;t0&&n[n.length-1]<0}const wa={strict:!1,end:!0,sensitive:!1};function xa(e,n,t){const i=ba(ma(e.path),t),a=T(i,{record:e,parent:n,children:[],alias:[]});return n&&!a.record.aliasOf==!n.record.aliasOf&&n.children.push(a),a}function Ea(e,n){const t=[],i=new Map;n=Gt(wa,n);function a(c){return i.get(c)}function l(c,m,g){const _=!g,b=Qt(c);b.aliasOf=g&&g.record;const w=Gt(n,c),D=[b];if("alias"in c){const ee=typeof c.alias=="string"?[c.alias]:c.alias;for(const oe of ee)D.push(Qt(T({},b,{components:g?g.record.components:b.components,path:oe,aliasOf:g?g.record:b})))}let A,L;for(const ee of D){const{path:oe}=ee;if(m&&oe[0]!=="/"){const re=m.record.path,N=re[re.length-1]==="/"?"":"/";ee.path=m.record.path+(oe&&N+oe)}if(A=xa(ee,m,w),g?g.alias.push(A):(L=L||A,L!==A&&L.alias.push(A),_&&c.name&&!Jt(A)&&s(c.name)),zn(A)&&r(A),b.children){const re=b.children;for(let N=0;N{s(L)}:Xe}function s(c){if(En(c)){const m=i.get(c);m&&(i.delete(c),t.splice(t.indexOf(m),1),m.children.forEach(s),m.alias.forEach(s))}else{const m=t.indexOf(c);m>-1&&(t.splice(m,1),c.record.name&&i.delete(c.record.name),c.children.forEach(s),c.alias.forEach(s))}}function f(){return t}function r(c){const m=ka(c,t);t.splice(m,0,c),c.record.name&&!Jt(c)&&i.set(c.record.name,c)}function u(c,m){let g,_={},b,w;if("name"in c&&c.name){if(g=i.get(c.name),!g)throw je(V.MATCHER_NOT_FOUND,{location:c});w=g.record.name,_=T(Xt(m.params,g.keys.filter(L=>!L.optional).concat(g.parent?g.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),c.params&&Xt(c.params,g.keys.map(L=>L.name))),b=g.stringify(_)}else if(c.path!=null)b=c.path,g=t.find(L=>L.re.test(b)),g&&(_=g.parse(b),w=g.record.name);else{if(g=m.name?i.get(m.name):t.find(L=>L.re.test(m.path)),!g)throw je(V.MATCHER_NOT_FOUND,{location:c,currentLocation:m});w=g.record.name,_=T({},m.params,c.params),b=g.stringify(_)}const D=[];let A=g;for(;A;)D.unshift(A.record),A=A.parent;return{name:w,path:b,params:_,matched:D,meta:Sa(D)}}e.forEach(c=>l(c));function d(){t.length=0,i.clear()}return{addRoute:l,resolve:u,removeRoute:s,clearRoutes:d,getRoutes:f,getRecordMatcher:a}}function Xt(e,n){const t={};for(const i of n)i in e&&(t[i]=e[i]);return t}function Qt(e){const n={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_a(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(n,"mods",{value:{}}),n}function _a(e){const n={},t=e.props||!1;if("component"in e)n.default=t;else for(const i in e.components)n[i]=typeof t=="object"?t[i]:t;return n}function Jt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sa(e){return e.reduce((n,t)=>T(n,t.meta),{})}function ka(e,n){let t=0,i=n.length;for(;t!==i;){const l=t+i>>1;kn(e,n[l])<0?i=l:t=l+1}const a=za(e);return a&&(i=n.lastIndexOf(a,i-1)),i}function za(e){let n=e;for(;n=n.parent;)if(zn(n)&&kn(e,n)===0)return n}function zn({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Yt(e){const n=ae(Dt),t=ae(Pt),i=P(()=>{const r=S(e.to);return n.resolve(r)}),a=P(()=>{const{matched:r}=i.value,{length:u}=r,d=r[u-1],c=t.matched;if(!d||!c.length)return-1;const m=c.findIndex(Ue.bind(null,d));if(m>-1)return m;const g=en(r[u-2]);return u>1&&en(d)===g&&c[c.length-1].path!==g?c.findIndex(Ue.bind(null,r[u-2])):m}),l=P(()=>a.value>-1&&La(t.params,i.value.params)),s=P(()=>a.value>-1&&a.value===t.matched.length-1&&xn(t.params,i.value.params));function f(r={}){if(Pa(r)){const u=n[S(e.replace)?"replace":"push"](S(e.to)).catch(Xe);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:i,href:P(()=>i.value.href),isActive:l,isExactActive:s,navigate:f}}function Aa(e){return e.length===1?e[0]:e}const Na=pe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Yt,setup(e,{slots:n}){const t=ot(Yt(e)),{options:i}=ae(Dt),a=P(()=>({[tn(e.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[tn(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const l=n.default&&Aa(n.default(t));return e.custom?l:Et("a",{"aria-current":t.isExactActive?e.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:a.value},l)}}}),Da=Na;function Pa(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function La(e,n){for(const t in n){const i=n[t],a=e[t];if(typeof i=="string"){if(i!==a)return!1}else if(!fe(a)||a.length!==i.length||i.some((l,s)=>l.valueOf()!==a[s].valueOf()))return!1}return!0}function en(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const tn=(e,n,t)=>{var i;return(i=e!=null?e:n)!=null?i:t},Ra=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:t}){const i=ae(Ct),a=P(()=>e.route||i.value),l=ae(qt,0),s=P(()=>{let u=S(l);const{matched:d}=a.value;let c;for(;(c=d[u])&&!c.components;)u++;return u}),f=P(()=>a.value.matched[s.value]);ce(qt,P(()=>s.value+1)),ce(sa,f),ce(Ct,a);const r=W();return ue(()=>[r.value,f.value,e.name],([u,d,c],[m,g,_])=>{d&&(d.instances[c]=u,g&&g!==d&&u&&u===m&&(d.leaveGuards.size||(d.leaveGuards=g.leaveGuards),d.updateGuards.size||(d.updateGuards=g.updateGuards))),u&&d&&(!g||!Ue(d,g)||!m)&&(d.enterCallbacks[c]||[]).forEach(b=>b(u))},{flush:"post"}),()=>{const u=a.value,d=e.name,c=f.value,m=c&&c.components[d];if(!m)return nn(t.default,{Component:m,route:u});const g=c.props[d],_=g?g===!0?u.params:typeof g=="function"?g(u):g:null,b=Et(m,T({},_,n,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(c.instances[d]=null)},ref:r}));return nn(t.default,{Component:b,route:u})||b}}});function nn(e,n){if(!e)return null;const t=e(n);return t.length===1?t[0]:t}const Ia=Ra;function Oa(e){const n=Ea(e.routes,e),t=e.parseQuery||oa,i=e.stringifyQuery||Ft,a=e.history,l=We(),s=We(),f=We(),r=Ie(Ne);let u=Ne;Ge&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ct.bind(null,o=>""+o),c=ct.bind(null,Fi),m=ct.bind(null,et);function g(o,p){let h,v;return En(o)?(h=n.getRecordMatcher(o),v=p):v=o,n.addRoute(v,h)}function _(o){const p=n.getRecordMatcher(o);p&&n.removeRoute(p)}function b(){return n.getRoutes().map(o=>o.record)}function w(o){return!!n.getRecordMatcher(o)}function D(o,p){if(p=T({},p||r.value),typeof o=="string"){const x=ut(t,o,p.path),I=n.resolve({path:x.path},p),Ae=a.createHref(x.fullPath);return T(x,I,{params:m(I.params),hash:et(x.hash),redirectedFrom:void 0,href:Ae})}let h;if(o.path!=null)h=T({},o,{path:ut(t,o.path,p.path).path});else{const x=T({},o.params);for(const I in x)x[I]==null&&delete x[I];h=T({},o,{params:c(x)}),p.params=c(p.params)}const v=n.resolve(h,p),y=o.hash||"";v.params=d(m(v.params));const E=Zi(i,T({},o,{hash:Hi(y),path:v.path})),k=a.createHref(E);return T({fullPath:E,hash:y,query:i===Ft?ra(o.query):o.query||{}},v,{redirectedFrom:void 0,href:k})}function A(o){return typeof o=="string"?ut(t,o,r.value.path):T({},o)}function L(o,p){if(u!==o)return je(V.NAVIGATION_CANCELLED,{from:p,to:o})}function ee(o){return N(o)}function oe(o){return ee(T(A(o),{replace:!0}))}function re(o,p){const h=o.matched[o.matched.length-1];if(h&&h.redirect){const{redirect:v}=h;let y=typeof v=="function"?v(o,p):v;return typeof y=="string"&&(y=y.includes("?")||y.includes("#")?y=A(y):{path:y},y.params={}),T({query:o.query,hash:o.hash,params:y.path!=null?{}:o.params},y)}}function N(o,p){const h=u=D(o),v=r.value,y=o.state,E=o.force,k=o.replace===!0,x=re(h,v);if(x)return N(T(A(x),{state:typeof x=="object"?T({},y,x.state):y,force:E,replace:k}),p||h);const I=h;I.redirectedFrom=p;let Ae;return!E&&Ki(i,v,h)&&(Ae=je(V.NAVIGATION_DUPLICATED,{to:I,from:v}),nt(v,v,!0,!1)),(Ae?Promise.resolve(Ae):ne(I,v)).catch(J=>ye(J)?ye(J,V.NAVIGATION_GUARD_REDIRECT)?J:Le(J):Se(J,I,v)).then(J=>{if(J){if(ye(J,V.NAVIGATION_GUARD_REDIRECT))return N(T({replace:k},A(J.to),{state:typeof J.to=="object"?T({},y,J.to.state):y,force:E}),p||I)}else J=ge(I,v,!0,k,y);return ve(I,v,J),J})}function he(o,p){const h=L(o,p);return h?Promise.reject(h):Promise.resolve()}function j(o){const p=ke.values().next().value;return p&&typeof p.runWithContext=="function"?p.runWithContext(o):o()}function ne(o,p){let h;const[v,y,E]=ca(o,p);h=dt(v.reverse(),"beforeRouteLeave",o,p);for(const x of v)x.leaveGuards.forEach(I=>{h.push(De(I,o,p))});const k=he.bind(null,o,p);return h.push(k),ze(h).then(()=>{h=[];for(const x of l.list())h.push(De(x,o,p));return h.push(k),ze(h)}).then(()=>{h=dt(y,"beforeRouteUpdate",o,p);for(const x of y)x.updateGuards.forEach(I=>{h.push(De(I,o,p))});return h.push(k),ze(h)}).then(()=>{h=[];for(const x of E)if(x.beforeEnter)if(fe(x.beforeEnter))for(const I of x.beforeEnter)h.push(De(I,o,p));else h.push(De(x.beforeEnter,o,p));return h.push(k),ze(h)}).then(()=>(o.matched.forEach(x=>x.enterCallbacks={}),h=dt(E,"beforeRouteEnter",o,p,j),h.push(k),ze(h))).then(()=>{h=[];for(const x of s.list())h.push(De(x,o,p));return h.push(k),ze(h)}).catch(x=>ye(x,V.NAVIGATION_CANCELLED)?x:Promise.reject(x))}function ve(o,p,h){f.list().forEach(v=>j(()=>v(o,p,h)))}function ge(o,p,h,v,y){const E=L(o,p);if(E)return E;const k=p===Ne,x=Ge?history.state:{};h&&(v||k?a.replace(o.fullPath,T({scroll:k&&x&&x.scroll},y)):a.push(o.fullPath,y)),r.value=o,nt(o,p,h,k),Le()}let H;function se(){H||(H=a.listen((o,p,h)=>{if(!K.listening)return;const v=D(o),y=re(v,K.currentRoute.value);if(y){N(T(y,{replace:!0,force:!0}),v).catch(Xe);return}u=v;const E=r.value;Ge&&ia(jt(E.fullPath,h.delta),rt()),ne(v,E).catch(k=>ye(k,V.NAVIGATION_ABORTED|V.NAVIGATION_CANCELLED)?k:ye(k,V.NAVIGATION_GUARD_REDIRECT)?(N(T(A(k.to),{force:!0}),v).then(x=>{ye(x,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&!h.delta&&h.type===yt.pop&&a.go(-1,!1)}).catch(Xe),Promise.reject()):(h.delta&&a.go(-h.delta,!1),Se(k,v,E))).then(k=>{k=k||ge(v,E,!1),k&&(h.delta&&!ye(k,V.NAVIGATION_CANCELLED)?a.go(-h.delta,!1):h.type===yt.pop&&ye(k,V.NAVIGATION_ABORTED|V.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),ve(v,E,k)}).catch(Xe)}))}let _e=We(),me=We(),ie;function Se(o,p,h){Le(o);const v=me.list();return v.length?v.forEach(y=>y(o,p,h)):console.error(o),Promise.reject(o)}function Be(){return ie&&r.value!==Ne?Promise.resolve():new Promise((o,p)=>{_e.add([o,p])})}function Le(o){return ie||(ie=!o,se(),_e.list().forEach(([p,h])=>o?h(o):p()),_e.reset()),o}function nt(o,p,h,v){const{scrollBehavior:y}=e;if(!Ge||!y)return Promise.resolve();const E=!h&&aa(jt(o.fullPath,0))||(v||!h)&&history.state&&history.state.scroll||null;return we().then(()=>y(o,p,E)).then(k=>k&&na(k)).catch(k=>Se(k,o,p))}const Fe=o=>a.go(o);let qe;const ke=new Set,K={currentRoute:r,listening:!0,addRoute:g,removeRoute:_,clearRoutes:n.clearRoutes,hasRoute:w,getRoutes:b,resolve:D,options:e,push:ee,replace:oe,go:Fe,back:()=>Fe(-1),forward:()=>Fe(1),beforeEach:l.add,beforeResolve:s.add,afterEach:f.add,onError:me.add,isReady:Be,install(o){o.component("RouterLink",Da),o.component("RouterView",Ia),o.config.globalProperties.$router=K,Object.defineProperty(o.config.globalProperties,"$route",{enumerable:!0,get:()=>S(r)}),Ge&&!qe&&r.value===Ne&&(qe=!0,ee(a.location).catch(v=>{}));const p={};for(const v in Ne)Object.defineProperty(p,v,{get:()=>r.value[v],enumerable:!0});o.provide(Dt,K),o.provide(Pt,Yn(p)),o.provide(Ct,r);const h=o.unmount;ke.add(o),o.unmount=function(){ke.delete(o),ke.size<1&&(u=Ne,H&&H(),H=null,r.value=Ne,qe=!1,ie=!1),h()}}};function ze(o){return o.reduce((p,h)=>p.then(()=>j(h)),Promise.resolve())}return K}function Ta(e){return ae(Pt)}const An=Symbol.for("NcContent:setHasAppNavigation"),Ma=Symbol.for("NcContent:selector");Me($n);const $a='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',Ba='\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',Va={class:"vue-skip-actions__container"},Ga={class:"vue-skip-actions__headline"},Ha={class:"vue-skip-actions__buttons"},Ua=pe({__name:"NcContent",props:{appName:{}},setup(e){const n=e;ce(An,f),ce(Ma,"#content-vue"),ce("appName",P(()=>n.appName));const t=tt(),i=W(!1),a=W(),l=P(()=>a.value==="navigation"?Ba:$a);ei(()=>{const r=document.getElementById("skip-actions");r&&(r.innerHTML="",r.classList.add("vue-skip-actions"))});function s(){Oe("toggle-navigation",{open:!0}),we(()=>{window.location.hash="app-navigation-vue",document.getElementById("app-navigation-vue").focus()})}function f(r){i.value=r,a.value||(a.value="navigation")}return(r,u)=>(C(),z("div",{id:"content-vue",class:Z(["content","app-".concat(r.appName.toLowerCase())])},[(C(),$(ti,{to:"#skip-actions"},[M("div",Va,[M("div",Ga,G(S(le)("Keyboard navigation help")),1),M("div",Ha,[He(B(Ee,{href:"#app-navigation-vue",variant:"tertiary",onClick:be(s,["prevent"]),onFocusin:u[0]||(u[0]=d=>a.value="navigation"),onMouseover:u[1]||(u[1]=d=>a.value="navigation")},{default:R(()=>[Te(G(S(le)("Skip to app navigation")),1)]),_:1},512),[[Je,i.value]]),B(Ee,{href:"#app-content-vue",variant:"tertiary",onFocusin:u[2]||(u[2]=d=>a.value="content"),onMouseover:u[3]||(u[3]=d=>a.value="content")},{default:R(()=>[Te(G(S(le)("Skip to main content")),1)]),_:1})]),He(B(Ce,{class:"vue-skip-actions__image",svg:l.value,size:"auto"},null,8,["svg"]),[[Je,!S(t)]])])])),U(r.$slots,"default",{},void 0,!0)],2))}}),ja=Q(Ua,[["__scopeId","data-v-d9b0d7e8"]]),Fa=pe({__name:"ActivityApp",setup(e){return(n,t)=>{const i=X("router-view");return C(),$(S(ja),{"app-name":"activity"},{default:R(()=>[B(i,{name:"navigation"}),B(i)]),_:1})}}});function Nn(e){return ii()?(ai(e),!0):!1}const qa=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wa=e=>e!=null,Za=Object.prototype.toString,Ka=e=>Za.call(e)==="[object Object]",xe=()=>{};function Dn(e,n){function t(...i){return new Promise((a,l)=>{Promise.resolve(e(()=>n.apply(this,i),{fn:n,thisArg:this,args:i})).then(a).catch(l)})}return t}function Xa(e,n={}){let t,i,a=xe;const l=f=>{clearTimeout(f),a(),a=xe};let s;return f=>{const r=Y(e),u=Y(n.maxWait);return t&&l(t),r<=0||u!==void 0&&u<=0?(i&&(l(i),i=null),Promise.resolve(f())):new Promise((d,c)=>{a=n.rejectOnCancel?c:d,s=f,u&&!i&&(i=setTimeout(()=>{t&&l(t),i=null,d(s())},u)),t=setTimeout(()=>{i&&l(i),i=null,d(f())},r)})}}function Qa(...e){let n=0,t,i=!0,a=xe,l,s,f,r,u;!ni(e[0])&&typeof e[0]=="object"?{delay:s,trailing:f=!0,leading:r=!0,rejectOnCancel:u=!1}=e[0]:[s,f=!0,r=!0,u=!1]=e;const d=()=>{t&&(clearTimeout(t),t=void 0,a(),a=xe)};return c=>{const m=Y(s),g=Date.now()-n,_=()=>l=c();return d(),m<=0?(n=Date.now(),_()):(g>m&&(r||!i)?(n=Date.now(),_()):f&&(l=new Promise((b,w)=>{a=u?w:b,t=setTimeout(()=>{n=Date.now(),i=!0,b(_()),d()},Math.max(0,m-g))})),!r&&!t&&(t=setTimeout(()=>i=!0,m)),i=!1,l)}}function at(e){return Array.isArray(e)?e:[e]}function Pn(e){return _t()}function Ja(e,n=200,t={}){return Dn(Xa(n,t),e)}function Ya(e,n=200,t=!1,i=!0,a=!1){return Dn(Qa(n,t,i,a),e)}function el(e,n=!0,t){Pn()?$e(e,t):n?e():we(e)}function tl(e,n){Pn()&&dn(e,n)}function nl(e,n,t){return ue(e,n,Ve(de({},t),{immediate:!0}))}function il(e,n,t){return ue(e,n,Ve(de({},t),{once:!0}))}const st=qa?window:void 0;function Qe(e){var n;const t=Y(e);return(n=t==null?void 0:t.$el)!=null?n:t}function an(...e){const n=[],t=()=>{n.forEach(f=>f()),n.length=0},i=(f,r,u,d)=>(f.addEventListener(r,u,d),()=>f.removeEventListener(r,u,d)),a=P(()=>{const f=at(Y(e[0])).filter(r=>r!=null);return f.every(r=>typeof r!="string")?f:void 0}),l=nl(()=>{var f,r;return[(r=(f=a.value)==null?void 0:f.map(u=>Qe(u)))!=null?r:[st].filter(u=>u!=null),at(Y(a.value?e[1]:e[0])),at(S(a.value?e[2]:e[1])),Y(a.value?e[3]:e[2])]},([f,r,u,d])=>{if(t(),!(f!=null&&f.length)||!(r!=null&&r.length)||!(u!=null&&u.length))return;const c=Ka(d)?de({},d):d;n.push(...f.flatMap(m=>r.flatMap(g=>u.map(_=>i(m,g,_,c)))))},{flush:"post"}),s=()=>{l(),t()};return Nn(t),s}function al(){const e=Ie(!1),n=_t();return n&&$e(()=>{e.value=!0},n),e}function ll(e){const n=al();return P(()=>(n.value,!!e()))}function ol(e,n,t={}){const{root:i,rootMargin:a="0px",threshold:l=0,window:s=st,immediate:f=!0}=t,r=ll(()=>s&&"IntersectionObserver"in s),u=P(()=>{const _=Y(e);return at(_).map(Qe).filter(Wa)});let d=xe;const c=Ie(f),m=r.value?ue(()=>[u.value,Qe(i),c.value],([_,b])=>{if(d(),!c.value||!_.length)return;const w=new IntersectionObserver(n,{root:Qe(b),rootMargin:a,threshold:l});_.forEach(D=>D&&w.observe(D)),d=()=>{w.disconnect(),d=xe}},{immediate:f,flush:"post"}):xe,g=()=>{d(),m(),c.value=!1};return Nn(g),{isSupported:r,isActive:c,pause(){d(),c.value=!1},resume(){c.value=!0},stop:g}}function rl(e,n={}){const{window:t=st,scrollTarget:i,threshold:a=0,rootMargin:l,once:s=!1}=n,f=Ie(!1),{stop:r}=ol(e,u=>{let d=f.value,c=0;for(const m of u)m.time>=c&&(c=m.time,d=m.isIntersecting);f.value=d,s&&il(f,()=>{r()})},{root:i,window:t,threshold:a,rootMargin:Y(l)});return f}function sl(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const ln=1;function cl(e,n={}){const{throttle:t=0,idle:i=200,onStop:a=xe,onScroll:l=xe,offset:s={left:0,right:0,top:0,bottom:0},eventListenerOptions:f={capture:!1,passive:!0},behavior:r="auto",window:u=st,onError:d=N=>{console.error(N)}}=n,c=Ie(0),m=Ie(0),g=P({get(){return c.value},set(N){b(N,void 0)}}),_=P({get(){return m.value},set(N){b(void 0,N)}});function b(N,he){var j,ne,ve,ge;if(!u)return;const H=Y(e);if(!H)return;(ve=H instanceof Document?u.document.body:H)==null||ve.scrollTo({top:(j=Y(he))!=null?j:_.value,left:(ne=Y(N))!=null?ne:g.value,behavior:Y(r)});const se=((ge=H==null?void 0:H.document)==null?void 0:ge.documentElement)||(H==null?void 0:H.documentElement)||H;g!=null&&(c.value=se.scrollLeft),_!=null&&(m.value=se.scrollTop)}const w=Ie(!1),D=ot({left:!0,right:!1,top:!0,bottom:!1}),A=ot({left:!1,right:!1,top:!1,bottom:!1}),L=N=>{w.value&&(w.value=!1,A.left=!1,A.right=!1,A.top=!1,A.bottom=!1,a(N))},ee=Ja(L,t+i),oe=N=>{var he;if(!u)return;const j=((he=N==null?void 0:N.document)==null?void 0:he.documentElement)||(N==null?void 0:N.documentElement)||Qe(N),{display:ne,flexDirection:ve,direction:ge}=getComputedStyle(j),H=ge==="rtl"?-1:1,se=j.scrollLeft;A.left=sec.value;const _e=Math.abs(se*H)<=(s.left||0),me=Math.abs(se*H)+j.clientWidth>=j.scrollWidth-(s.right||0)-ln;ne==="flex"&&ve==="row-reverse"?(D.left=me,D.right=_e):(D.left=_e,D.right=me),c.value=se;let ie=j.scrollTop;N===u.document&&!ie&&(ie=u.document.body.scrollTop),A.top=iem.value;const Se=Math.abs(ie)<=(s.top||0),Be=Math.abs(ie)+j.clientHeight>=j.scrollHeight-(s.bottom||0)-ln;ne==="flex"&&ve==="column-reverse"?(D.top=Be,D.bottom=Se):(D.top=Se,D.bottom=Be),m.value=ie},re=N=>{var he;if(!u)return;const j=(he=N.target.documentElement)!=null?he:N.target;oe(j),w.value=!0,ee(N),l(N)};return an(e,"scroll",t?Ya(re,t,!0,!1):re,f),el(()=>{try{const N=Y(e);if(!N)return;oe(N)}catch(N){d(N)}}),an(e,"scrollend",L,f),{x:g,y:_,isScrolling:w,arrivedState:D,directions:A,measure(){const N=Y(e);u&&N&&oe(N)}}}function ul(e,n,t={}){var i;const{direction:a="bottom",interval:l=100,canLoadMore:s=()=>!0}=t,f=ot(cl(e,Ve(de({},t),{offset:de({[a]:(i=t.distance)!=null?i:0},t.offset)}))),r=W(),u=P(()=>!!r.value),d=P(()=>sl(Y(e))),c=rl(d);function m(){if(f.measure(),!d.value||!c.value||!s(d.value))return;const{scrollHeight:_,clientHeight:b,scrollWidth:w,clientWidth:D}=d.value,A=a==="bottom"||a==="top"?_<=b:w<=D;(f.arrivedState[a]||A)&&(r.value||(r.value=Promise.all([n(f),new Promise(L=>setTimeout(L,l))]).finally(()=>{r.value=null,we(()=>m())})))}const g=ue(()=>[f.arrivedState[a],c.value],m,{immediate:!0});return tl(g),{isLoading:u,reset(){we(()=>m())}}}const pl={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:n}){const t=n,i=e,a=li(),l=W([]),s=P(()=>l.value.reduce((o,p)=>(o[~~p.id]=p)&&o,{})),f=P(()=>l.value.length),r=W(null),u=W(!1),d=W({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),c=W({splitter:null,timeoutId:null}),m=P(()=>({["splitpanes splitpanes--".concat(i.horizontal?"horizontal":"vertical")]:!0,"splitpanes--dragging":d.value.dragging})),g=()=>{document.addEventListener("mousemove",w,{passive:!1}),document.addEventListener("mouseup",D),"ontouchstart"in window&&(document.addEventListener("touchmove",w,{passive:!1}),document.addEventListener("touchend",D))},_=()=>{document.removeEventListener("mousemove",w,{passive:!1}),document.removeEventListener("mouseup",D),"ontouchstart"in window&&(document.removeEventListener("touchmove",w,{passive:!1}),document.removeEventListener("touchend",D))},b=(o,p)=>{const h=o.target.closest(".splitpanes__splitter");if(h){const{left:v,top:y}=h.getBoundingClientRect(),{clientX:E,clientY:k}="ontouchstart"in window&&o.touches?o.touches[0]:o;d.value.cursorOffset=i.horizontal?k-y:E-v}g(),d.value.mouseDown=!0,d.value.activeSplitter=p},w=o=>{d.value.mouseDown&&(o.preventDefault(),d.value.dragging=!0,requestAnimationFrame(()=>{N(oe(o)),K("resize",{event:o},!0)}))},D=o=>{d.value.dragging&&(window.getSelection().removeAllRanges(),K("resized",{event:o},!0)),d.value.mouseDown=!1,d.value.activeSplitter=null,setTimeout(()=>{d.value.dragging=!1,_()},100)},A=(o,p)=>{"ontouchstart"in window&&(o.preventDefault(),c.value.splitter===p?(clearTimeout(c.value.timeoutId),c.value.timeoutId=null,L(o,p),c.value.splitter=null):(c.value.splitter=p,c.value.timeoutId=setTimeout(()=>c.value.splitter=null,500))),d.value.dragging||K("splitter-click",{event:o,index:p},!0)},L=(o,p)=>{if(K("splitter-dblclick",{event:o,index:p},!0),i.maximizePanes){let h=0;l.value=l.value.map((v,y)=>(v.size=y===p?v.max:v.min,y!==p&&(h+=v.min),v)),l.value[p].size-=h,K("pane-maximize",{event:o,index:p,pane:l.value[p]}),K("resized",{event:o,index:p},!0)}},ee=(o,p)=>{K("pane-click",{event:o,index:s.value[p].index,pane:s.value[p]})},oe=o=>{const p=r.value.getBoundingClientRect(),{clientX:h,clientY:v}="ontouchstart"in window&&o.touches?o.touches[0]:o;return{x:h-(i.horizontal?0:d.value.cursorOffset)-p.left,y:v-(i.horizontal?d.value.cursorOffset:0)-p.top}},re=o=>{o=o[i.horizontal?"y":"x"];const p=r.value[i.horizontal?"clientHeight":"clientWidth"];return i.rtl&&!i.horizontal&&(o=p-o),o*100/p},N=o=>{const p=d.value.activeSplitter;let h={prevPanesSize:j(p),nextPanesSize:ne(p),prevReachedMinPanes:0,nextReachedMinPanes:0};const v=0+(i.pushOtherPanes?0:h.prevPanesSize),y=100-(i.pushOtherPanes?0:h.nextPanesSize),E=Math.max(Math.min(re(o),y),v);let k=[p,p+1],x=l.value[k[0]]||null,I=l.value[k[1]]||null;const Ae=x.max<100&&E>=x.max+h.prevPanesSize,J=I.max<100&&E<=100-(I.max+ne(p+1));if(Ae||J){Ae?(x.size=x.max,I.size=Math.max(100-x.max-h.prevPanesSize-h.nextPanesSize,0)):(x.size=Math.max(100-I.max-h.prevPanesSize-ne(p+1),0),I.size=I.max);return}if(i.pushOtherPanes){const Lt=he(h,E);if(!Lt)return;({sums:h,panesToResize:k}=Lt),x=l.value[k[0]]||null,I=l.value[k[1]]||null}x!==null&&(x.size=Math.min(Math.max(E-h.prevPanesSize-h.prevReachedMinPanes,x.min),x.max)),I!==null&&(I.size=Math.min(Math.max(100-E-h.nextPanesSize-h.nextReachedMinPanes,I.min),I.max))},he=(o,p)=>{const h=d.value.activeSplitter,v=[h,h+1];return p{E>v[0]&&E<=h&&(y.size=y.min,o.prevReachedMinPanes+=y.min)}),o.prevPanesSize=j(v[0]),v[0]===void 0)?(o.prevReachedMinPanes=0,l.value[0].size=l.value[0].min,l.value.forEach((y,E)=>{E>0&&E<=h&&(y.size=y.min,o.prevReachedMinPanes+=y.min)}),l.value[v[1]].size=100-o.prevReachedMinPanes-l.value[0].min-o.prevPanesSize-o.nextPanesSize,null):p>100-o.nextPanesSize-l.value[v[1]].min&&(v[1]=ge(h).index,o.nextReachedMinPanes=0,v[1]>h+1&&l.value.forEach((y,E)=>{E>h&&E{E=h+1&&(y.size=y.min,o.nextReachedMinPanes+=y.min)}),l.value[v[0]].size=100-o.prevPanesSize-ne(v[0]-1),null):{sums:o,panesToResize:v}},j=o=>l.value.reduce((p,h,v)=>p+(vl.value.reduce((p,h,v)=>p+(v>o+1?h.size:0),0),ve=o=>[...l.value].reverse().find(p=>p.indexp.min)||{},ge=o=>l.value.find(p=>p.index>o+1&&p.size>p.min)||{},H=()=>{var o;const p=Array.from(((o=r.value)==null?void 0:o.children)||[]);for(const h of p){const v=h.classList.contains("splitpanes__pane"),y=h.classList.contains("splitpanes__splitter");!v&&!y&&(h.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},se=(o,p,h=!1)=>{const v=o-1,y=document.createElement("div");y.classList.add("splitpanes__splitter"),h||(y.onmousedown=E=>b(E,v),typeof window<"u"&&"ontouchstart"in window&&(y.ontouchstart=E=>b(E,v)),y.onclick=E=>A(E,v+1)),y.ondblclick=E=>L(E,v+1),p.parentNode.insertBefore(y,p)},_e=o=>{o.onmousedown=void 0,o.onclick=void 0,o.ondblclick=void 0,o.remove()},me=()=>{var o;const p=Array.from(((o=r.value)==null?void 0:o.children)||[]);for(const v of p)v.className.includes("splitpanes__splitter")&&_e(v);let h=0;for(const v of p)v.className.includes("splitpanes__pane")&&(!h&&i.firstSplitter?se(h,v,!0):h&&se(h,v),h++)},ie=h=>{var v=h,{uid:o}=v,p=Tt(v,["uid"]);const y=s.value[o];for(const[E,k]of Object.entries(p))y[E]=k},Se=o=>{var p;let h=-1;Array.from(((p=r.value)==null?void 0:p.children)||[]).some(v=>(v.className.includes("splitpanes__pane")&&h++,v.isSameNode(o.el))),l.value.splice(h,0,Ve(de({},o),{index:h})),l.value.forEach((v,y)=>v.index=y),u.value&&we(()=>{me(),Le({addedPane:l.value[h]}),K("pane-add",{pane:l.value[h]})})},Be=o=>{const p=l.value.findIndex(v=>v.id===o);l.value[p].el=null;const h=l.value.splice(p,1)[0];l.value.forEach((v,y)=>v.index=y),we(()=>{me(),K("pane-remove",{pane:h}),Le({removedPane:de({},h)})})},Le=(o={})=>{!o.addedPane&&!o.removedPane?Fe():l.value.some(p=>p.givenSize!==null||p.min||p.max<100)?qe(o):nt(),u.value&&K("resized")},nt=()=>{const o=100/f.value;let p=0;const h=[],v=[];for(const y of l.value)y.size=Math.max(Math.min(o,y.max),y.min),p-=y.size,y.size>=y.max&&h.push(y.id),y.size<=y.min&&v.push(y.id);p>.1&&ke(p,h,v)},Fe=()=>{let o=100;const p=[],h=[];let v=0;for(const E of l.value)o-=E.size,E.givenSize!==null&&v++,E.size>=E.max&&p.push(E.id),E.size<=E.min&&h.push(E.id);let y=100;if(o>.1){for(const E of l.value)E.givenSize===null&&(E.size=Math.max(Math.min(o/(f.value-v),E.max),E.min)),y-=E.size;y>.1&&ke(y,p,h)}},qe=({addedPane:o,removedPane:p}={})=>{var k;let h=100/f.value,v=0;const y=[],E=[];((k=o==null?void 0:o.givenSize)!=null?k:null)!==null&&(h=(100-o.givenSize)/(f.value-1));for(const x of l.value)v-=x.size,x.size>=x.max&&y.push(x.id),x.size<=x.min&&E.push(x.id);if(!(Math.abs(v)<.1)){for(const x of l.value)(o==null?void 0:o.givenSize)!==null&&(o==null?void 0:o.id)===x.id||(x.size=Math.max(Math.min(h,x.max),x.min)),v-=x.size,x.size>=x.max&&y.push(x.id),x.size<=x.min&&E.push(x.id);v>.1&&ke(v,y,E)}},ke=(o,p,h)=>{let v;o>0?v=o/(f.value-p.length):v=o/(f.value-h.length),l.value.forEach((y,E)=>{if(o>0&&!p.includes(y.id)){const k=Math.max(Math.min(y.size+v,y.max),y.min),x=k-y.size;o-=x,y.size=k}else if(!h.includes(y.id)){const k=Math.max(Math.min(y.size+v,y.max),y.min),x=k-y.size;o-=x,y.size=k}}),Math.abs(o)>.1&&we(()=>{u.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},K=(o,p=void 0,h=!1)=>{var y,E;const v=(E=(y=p==null?void 0:p.index)!=null?y:d.value.activeSplitter)!=null?E:null;t(o,Ve(de(de(de({},p),v!==null&&{index:v}),h&&v!==null&&{prevPane:l.value[v-(i.firstSplitter?1:0)],nextPane:l.value[v+(i.firstSplitter?0:1)]}),{panes:l.value.map(k=>({min:k.min,max:k.max,size:k.size}))}))};ue(()=>i.firstSplitter,()=>me()),$e(()=>{H(),me(),Le(),K("ready"),u.value=!0}),St(()=>u.value=!1);const ze=()=>{var o;return Et("div",{ref:r,class:m.value},(o=a.default)==null?void 0:o.call(a))};return ce("panes",l),ce("indexedPanes",s),ce("horizontal",P(()=>i.horizontal)),ce("requestUpdate",ie),ce("onPaneAdd",Se),ce("onPaneRemove",Be),ce("onPaneClick",ee),(o,p)=>(C(),$(hn(ze)))}},dl={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var n;const t=e,i=ae("requestUpdate"),a=ae("onPaneAdd"),l=ae("horizontal"),s=ae("onPaneRemove"),f=ae("onPaneClick"),r=(n=_t())==null?void 0:n.uid,u=ae("indexedPanes"),d=P(()=>u.value[r]),c=W(null),m=P(()=>{const w=isNaN(t.size)||t.size===void 0?0:parseFloat(t.size);return Math.max(Math.min(w,_.value),g.value)}),g=P(()=>{const w=parseFloat(t.minSize);return isNaN(w)?0:w}),_=P(()=>{const w=parseFloat(t.maxSize);return isNaN(w)?100:w}),b=P(()=>{var w;return"".concat(l.value?"height":"width",": ").concat((w=d.value)==null?void 0:w.size,"%")});return ue(()=>m.value,w=>i({uid:r,size:w})),ue(()=>g.value,w=>i({uid:r,min:w})),ue(()=>_.value,w=>i({uid:r,max:w})),$e(()=>{a({id:r,el:c.value,min:g.value,max:_.value,givenSize:t.size===void 0?null:m.value,size:m.value})}),St(()=>s(r)),(w,D)=>(C(),z("div",{ref_key:"paneEl",ref:c,class:"splitpanes__pane",onClick:D[0]||(D[0]=A=>S(f)(A,w._.uid)),style:oi(b.value)},[U(w.$slots,"default")],4))}};function hl(e){let n=!1,t;return(...i)=>(n||(n=!0,t=e(...i)),t)}let Ln="missing-app-name";try{Ln=lt}catch(e){Ke.error("The `@nextcloud/vue` library was used without setting / replacing the `appName`.")}const fl=Ln;let vl="";try{vl=Mn}catch(e){Ke.error("The `@nextcloud/vue` library was used without setting / replacing the `appVersion`.")}function Rn(){return ae("appName",fl)}const ml=hl(()=>{var t,i;const e=Ci("core","apps",[]),n=Rn();return(i=(t=e.find(({id:a})=>a===n))==null?void 0:t.name)!=null?i:n});Me(Bn);const gl=pe({__name:"NcAppContentDetailsToggle",setup(e){const n=tt();ue(n,t),$e(()=>{t(n.value)}),St(()=>{n.value&&t(!1)});function t(i=!0){const a=document.querySelector(".app-navigation .app-navigation-toggle");a&&(a.style.display=i?"none":"",i===!0&&Oe("toggle-navigation",{open:!1}))}return(i,a)=>(C(),$(S(Ee),{"aria-label":S(le)("Go back to the list"),class:Z(["app-details-toggle",{"app-details-toggle--mobile":S(n)}]),title:S(le)("Go back to the list"),variant:"tertiary"},{icon:R(()=>[B(S(Ce),{directional:"",path:S(Ei)},null,8,["path"])]),_:1},8,["aria-label","class","title"]))}}),yl=Q(gl,[["__scopeId","data-v-a28923a1"]]),on=mi("nextcloud").persist().build();var sn,cn;const bl=(cn=(sn=wi().theming)==null?void 0:sn.name)!=null?cn:"Nextcloud",Cl={name:"NcAppContent",components:{NcAppContentDetailsToggle:yl,Pane:dl,Splitpanes:pl},props:{disableSwipe:{type:Boolean,default:!1},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},layout:{type:String,default:"vertical-split",validator(e){return["no-split","vertical-split","horizontal-split"].includes(e)}},pageHeading:{type:String,default:null},pageTitle:{type:String,default:null}},emits:["update:showDetails","resizeList"],setup(){return{appName:Rn(),localizedAppName:ml(),isMobile:tt(),isRtl:Vn}},data(){return{contentHeight:0,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return"pane-list-size-".concat(this.paneConfigKey);try{return"pane-list-size-".concat(this.appName)}catch(e){return Ke.info("[NcAppContent]: falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}},realPageTitle(){const e=new Set;if(this.pageTitle)for(const n of this.pageTitle.split(" - "))e.add(n);else if(this.pageHeading){for(const n of this.pageHeading.split(" - "))e.add(n);e.size>0&&e.add(this.localizedAppName)}else return null;return e.add(bl),[...e.values()].join(" - ")}},watch:{realPageTitle:{immediate:!0,handler(){this.realPageTitle!==null&&(document.title=this.realPageTitle)}},paneConfigKey:{immediate:!0,handler(){this.restorePaneConfig()}}},mounted(){this.disableSwipe||(this.swiping=xi(this.$el,{onSwipeEnd:this.handleSwipe})),this.restorePaneConfig()},methods:{handleSwipe(e,n){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&n==="right"?Oe("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&n==="left"&&Oe("toggle-navigation",{open:!1}))},handlePaneResize(e){const n=parseInt(e.panes[0].size,10);on.setItem(this.paneConfigID,JSON.stringify(n)),this.listPaneSize=n,this.$emit("resizeList",{size:n}),Ke.debug("[NcAppContent] pane config",{listPaneSize:n})},restorePaneConfig(){const e=parseInt(on.getItem(this.paneConfigID),10);if(!isNaN(e)&&e!==this.listPaneSize)return Ke.debug("[NcAppContent] pane config",{listPaneSize:e}),this.listPaneSize=e,e},hideDetails(){this.$emit("update:showDetails",!1)}}},wl={key:0,class:"hidden-visually"},xl={key:1,class:"app-content-wrapper"};function El(e,n,t,i,a,l){const s=X("NcAppContentDetailsToggle"),f=X("Pane"),r=X("Splitpanes");return C(),z("main",{id:"app-content-vue",class:Z(["app-content no-snapper",{"app-content--has-list":!!e.$slots.list}])},[t.pageHeading?(C(),z("h1",wl,G(t.pageHeading),1)):O("",!0),e.$slots.list?(C(),z(Ye,{key:1},[i.isMobile||t.layout==="no-split"?(C(),z("div",{key:0,class:Z(["app-content-wrapper app-content-wrapper--no-split",{"app-content-wrapper--show-details":t.showDetails,"app-content-wrapper--show-list":!t.showDetails,"app-content-wrapper--mobile":i.isMobile}])},[t.showDetails?(C(),$(s,{key:0,onClick:be(l.hideDetails,["stop","prevent"])},null,8,["onClick"])):O("",!0),He(M("div",null,[U(e.$slots,"list",{},void 0,!0)],512),[[Je,!t.showDetails]]),t.showDetails?U(e.$slots,"default",{key:1},void 0,!0):O("",!0)],2)):t.layout==="vertical-split"||t.layout==="horizontal-split"?(C(),z("div",xl,[B(r,{horizontal:t.layout==="horizontal-split",class:Z(["default-theme",{"splitpanes--horizontal":t.layout==="horizontal-split","splitpanes--vertical":t.layout==="vertical-split"}]),rtl:i.isRtl,onResized:l.handlePaneResize},{default:R(()=>[B(f,{class:"splitpanes__pane-list",size:a.listPaneSize||l.paneDefaults.list.size,minSize:l.paneDefaults.list.min,maxSize:l.paneDefaults.list.max},{default:R(()=>[U(e.$slots,"list",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"]),B(f,{class:"splitpanes__pane-details",size:l.detailsPaneSize,minSize:l.paneDefaults.details.min,maxSize:l.paneDefaults.details.max},{default:R(()=>[U(e.$slots,"default",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"])]),_:3},8,["horizontal","class","rtl","onResized"])])):O("",!0)],64)):O("",!0),e.$slots.list?O("",!0):U(e.$slots,"default",{key:2},void 0,!0)],2)}const _l=Q(Cl,[["render",El],["__scopeId","data-v-563c4ac4"]]),Sl={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},kl=["aria-hidden","aria-label"],zl=["fill","width","height"],Al={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,12L19,6.41Z"},Nl={key:0};function Dl(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon close-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Al,[t.title?(C(),z("title",Nl,G(t.title),1)):O("",!0)])],8,zl))],16,kl)}const Pl=Q(Sl,[["render",Dl]]),Ll={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Rl=["aria-hidden","aria-label"],Il=["fill","width","height"],Ol={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Tl={key:0};function Ml(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Ol,[t.title?(C(),z("title",Tl,G(t.title),1)):O("",!0)])],8,Il))],16,Rl)}const $l=Q(Ll,[["render",Ml]]),Bl={class:"input-field__main-wrapper"},Vl=["id","aria-describedby","disabled","placeholder","type","value"],Gl=["for"],Hl={class:"input-field__icon input-field__icon--leading"},Ul={key:2,class:"input-field__icon input-field__icon--trailing"},jl=["id"],Fl=pe({inheritAttrs:!1,__name:"NcInputField",props:Mt({class:{default:""},inputClass:{default:""},id:{default:()=>wt()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:Mt(["trailingButtonClick"],["update:modelValue"]),setup(e,{expose:n,emit:t}){const i=fn(e,"modelValue"),a=e,l=t;n({focus:m,select:g});const s=ri(),f=kt("input"),r=P(()=>a.showTrailingButton||a.success),u=P(()=>{if(a.placeholder)return a.placeholder;if(a.label)return ht?a.label:""}),d=P(()=>a.label||a.labelOutside),c=P(()=>{const b=[];return a.helperText&&b.push("".concat(a.id,"-helper-text")),s["aria-describedby"]&&b.push(String(s["aria-describedby"])),b.join(" ")||void 0});function m(b){f.value.focus(b)}function g(){f.value.select()}function _(b){const w=b.target;i.value=a.type==="number"&&typeof i.value=="number"?parseFloat(w.value):w.value}return(b,w)=>(C(),z("div",{class:Z(["input-field",[{"input-field--disabled":b.disabled,"input-field--error":b.error,"input-field--label-outside":b.labelOutside||!d.value,"input-field--leading-icon":!!b.$slots.icon,"input-field--trailing-icon":r.value,"input-field--pill":b.pill,"input-field--success":b.success,"input-field--legacy":S(ht)},b.$props.class]])},[M("div",Bl,[M("input",Pe(b.$attrs,{id:b.id,ref:"input","aria-describedby":c.value,"aria-live":"polite",class:["input-field__input",b.inputClass],disabled:b.disabled,placeholder:u.value,type:b.type,value:i.value.toString(),onInput:_}),null,16,Vl),!b.labelOutside&&d.value?(C(),z("label",{key:0,class:"input-field__label",for:b.id},G(b.label),9,Gl)):O("",!0),He(M("div",Hl,[U(b.$slots,"icon",{},void 0,!0)],512),[[Je,!!b.$slots.icon]]),b.showTrailingButton?(C(),$(Ee,{key:1,class:"input-field__trailing-button","aria-label":b.trailingButtonLabel,disabled:b.disabled,variant:"tertiary-no-background",onClick:w[0]||(w[0]=D=>l("trailingButtonClick",D))},{icon:R(()=>[U(b.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):b.success||b.error?(C(),z("div",Ul,[b.success?(C(),$(Ce,{key:0,path:S($t)},null,8,["path"])):(C(),$(Ce,{key:1,path:S(Bt)},null,8,["path"]))])):O("",!0)]),b.helperText?(C(),z("p",{key:0,id:"".concat(b.id,"-helper-text"),class:"input-field__helper-text-message"},[b.success?(C(),$(Ce,{key:0,class:"input-field__helper-text-message__icon",path:S($t),inline:""},null,8,["path"])):b.error?(C(),$(Ce,{key:1,class:"input-field__helper-text-message__icon",path:S(Bt),inline:""},null,8,["path"])):O("",!0),Te(" "+G(b.helperText),1)],8,jl)):O("",!0)],2))}}),ql=Q(Fl,[["__scopeId","data-v-bfba6aa6"]]),Wl=["title"],Zl=pe({__name:"ActivityGroup",props:{activities:{}},setup(e){const n=e,t=P(()=>{const a=Ze(),l=Ze().subtract(1,"day"),s=Ze(n.activities[0].datetime);return s.isSame(a,"day")?q("activity","Today"):s.isSame(l,"day")?q("activity","Yesterday"):s.format("LL")}),i=P(()=>{const a=Ze(n.activities[0].datetime).format("LL");return a!==t.value?a:void 0});return(a,l)=>(C(),z(Ye,null,[M("h2",{class:"activity-group__heading",title:i.value},G(t.value),9,Wl),M("ul",null,[(C(!0),z(Ye,null,zt(e.activities,s=>(C(),$(_i,{key:s.id,activity:s,"show-previews":!0},null,8,["activity"]))),128))])],64))}}),Kl=xt(Zl,[["__scopeId","data-v-2cedecff"]]),Xl='',Ql={class:"activity-app__heading"},Jl={key:1,class:"activity-app__loading-indicator"},Yl=pe({__name:"ActivityAppFeed",props:{filter:{default:"all"}},setup(e){const n=mt(lt,"navigationList"),t=Ta(),i=e,a=W(!1),l=W(!0),s=W([]),f=W(),r=W();ul(r,async()=>{l.value&&await c()},{distance:100});const u=P(()=>{const m={};for(const g of s.value){const _=Ze(g.datetime).format("LL");m[_]===void 0?m[_]=[g]:m[_].push(g)}return m}),d=P(()=>n.find(m=>m.id===t.params.filter).name);async function c(){var m,g;if(!a.value)try{const _=(m=f.value)!=null?m:"0";a.value=!0;const b=await un.get(Gn("apps/activity/api/v2/activity/{filter}?format=json&previews=true&since={since}",{filter:i.filter,since:_}));s.value.push(...b.data.ocs.data.map(w=>new Si(w))),f.value=b.headers["x-activity-last-given"],l.value=!0,we(async()=>{r.value&&r.value.clientHeight===r.value.scrollHeight&&await c()})}catch(_){if(Hn.isAxiosError(_)&&((g=_.response)==null?void 0:g.status)===304){l.value=!1;return}vt.error(_),vn(q("activity","Could not load activities"))}finally{a.value=!1}}return $e(()=>{c()}),ue(i,()=>{s.value=[],f.value=void 0,c()}),(m,g)=>(C(),$(S(_l),{class:"activity-app"},{default:R(()=>[M("h1",Ql,G(d.value),1),l.value&&s.value.length===0?(C(),$(S(Vt),{key:0,class:"activity-app__empty-content",name:S(q)("activity","Loading activities"),description:S(q)("activity","This stream will show events like additions, changes & shares")},{icon:R(()=>[B(S(ft),{size:36})]),_:1},8,["name","description"])):s.value.length===0?(C(),$(S(Vt),{key:1,class:"activity-app__empty-content",name:S(q)("activity","No activity yet"),description:S(q)("activity","This stream will show events like additions, changes & shares")},{icon:R(()=>[B(S(Ce),{svg:S(Xl),size:36},null,8,["svg"])]),_:1},8,["name","description"])):O("",!0),M("div",{ref_key:"container",ref:r,class:"activity-app__container"},[(C(!0),z(Ye,null,zt(u.value,(_,b)=>(C(),$(Kl,{key:b,activities:_},null,8,["activities"]))),128)),l.value&&s.value.length>0?(C(),$(S(ft),{key:0,name:S(q)("activity","Loading more activities"),size:64,class:"activity-app__loading-indicator"},null,8,["name"])):!l.value&&s.value.length>0?(C(),z("div",Jl,G(S(q)("activity","No more activities.")),1)):O("",!0)],512)]),_:1}))}}),eo=xt(Yl,[["__scopeId","data-v-9b1face9"]]),to={name:"NcAppNavigationList"},no={class:"app-navigation-list"};function io(e,n,t,i,a,l){return C(),z("ul",no,[U(e.$slots,"default",{},void 0,!0)])}const ao=Q(to,[["render",io],["__scopeId","data-v-d72957ed"]]);Me(Un);const lo={class:"app-navigation-toggle-wrapper"},oo=pe({__name:"NcAppNavigationToggle",props:{open:{type:Boolean,required:!0},openModifiers:{}},emits:["update:open"],setup(e){const n=fn(e,"open"),t=P(()=>n.value?le("Close navigation"):le("Open navigation"));return(i,a)=>(C(),z("div",lo,[B(S(Ee),{class:"app-navigation-toggle","aria-controls":"app-navigation-vue","aria-expanded":n.value?"true":"false","aria-label":t.value,title:t.value,variant:"tertiary",onClick:a[0]||(a[0]=l=>n.value=!n.value)},{icon:R(()=>[B(Ce,{path:n.value?S(ki):S(zi)},null,8,["path"])]),_:1},8,["aria-expanded","aria-label","title"])]))}}),ro=Q(oo,[["__scopeId","data-v-5a15295d"]]),so=["aria-hidden","aria-label","aria-labelledby","inert"],co={class:"app-navigation__search"},uo=pe({__name:"NcAppNavigation",props:{ariaLabel:{},ariaLabelledby:{}},setup(e){const n=e;let t;const i=ae(An,()=>si(),!1),a=kt("appNavigationContainer"),l=tt(),s=W(!l.value);ci(()=>{!n.ariaLabel&&n.ariaLabelledby}),ue(l,()=>{s.value=!l.value}),ue(s,()=>{u()}),$e(()=>{i(!0),gi("toggle-navigation",r),Oe("navigation-toggled",{open:s.value}),t=jn(a.value,{allowOutsideClick:!0,fallbackFocus:a.value,trapStack:Fn(),escapeDeactivates:!1}),u()}),dn(()=>{i(!1),yi("toggle-navigation",r),t.deactivate()});function f(c){if(s.value===c){Oe("navigation-toggled",{open:s.value});return}s.value=c===void 0?!s.value:c;const m=getComputedStyle(document.body),g=parseInt(m.getPropertyValue("--animation-quick"))||100;setTimeout(()=>{Oe("navigation-toggled",{open:s.value})},1.5*g)}function r({open:c}){return f(c)}function u(){l.value&&s.value?t.activate():t.deactivate()}function d(){l.value&&f(!1)}return(c,m)=>(C(),z("div",{ref:"appNavigationContainer",class:Z(["app-navigation",{"app-navigation--closed":!s.value}])},[M("nav",{id:"app-navigation-vue","aria-hidden":s.value?"false":"true","aria-label":c.ariaLabel||void 0,"aria-labelledby":c.ariaLabelledby||void 0,class:"app-navigation__content",inert:!s.value||void 0,onKeydown:At(d,["esc"])},[M("div",co,[U(c.$slots,"search",{},void 0,!0)]),M("div",{class:Z(["app-navigation__body",{"app-navigation__body--no-list":!c.$slots.list}])},[U(c.$slots,"default",{},void 0,!0)],2),c.$slots.list?(C(),$(ao,{key:0,class:"app-navigation__list"},{default:R(()=>[U(c.$slots,"list",{},void 0,!0)]),_:3})):O("",!0),U(c.$slots,"footer",{},void 0,!0)],40,so),B(ro,{open:s.value,"onUpdate:open":f},null,8,["open"])],2))}}),po=Q(uo,[["__scopeId","data-v-d5ce90cd"]]),ho={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fo=["aria-hidden","aria-label"],vo=["fill","width","height"],mo={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},go={key:0};function yo(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",mo,[t.title?(C(),z("title",go,G(t.title),1)):O("",!0)])],8,vo))],16,fo)}const bo=Q(ho,[["render",yo]]),Co={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wo=["aria-hidden","aria-label"],xo=["fill","width","height"],Eo={d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"},_o={key:0};function So(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon arrow-right-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Eo,[t.title?(C(),z("title",_o,G(t.title),1)):O("",!0)])],8,xo))],16,wo)}const ko=Q(Co,[["render",So]]);Me(qn);const zo={name:"NcInputConfirmCancel",components:{IconArrowRight:ko,IconClose:Pl,NcButton:Ee},props:{primary:{default:!1,type:Boolean},placeholder:{default:"",type:String},modelValue:{default:"",type:String}},emits:["cancel","confirm","update:modelValue"],data(){return{labelConfirm:le("Confirm changes"),labelCancel:le("Cancel changes")}},computed:{valueModel:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{confirm(){this.$emit("confirm")},cancel(){this.$emit("cancel")},focusInput(){this.$refs.input.focus()}}},Ao={class:"app-navigation-input-confirm"},No=["placeholder"];function Do(e,n,t,i,a,l){const s=X("IconArrowRight"),f=X("NcButton"),r=X("IconClose");return C(),z("div",Ao,[M("form",{onSubmit:n[1]||(n[1]=be((...u)=>l.confirm&&l.confirm(...u),["prevent"])),onKeydown:n[2]||(n[2]=At(be((...u)=>l.cancel&&l.cancel(...u),["exact","stop","prevent"]),["esc"])),onClick:n[3]||(n[3]=be(()=>{},["stop","prevent"]))},[He(M("input",{ref:"input","onUpdate:modelValue":n[0]||(n[0]=u=>l.valueModel=u),type:"text",class:"app-navigation-input-confirm__input",placeholder:t.placeholder},null,8,No),[[ui,l.valueModel]]),B(f,{"aria-label":a.labelConfirm,type:"submit",variant:"primary",onClick:be(l.confirm,["stop","prevent"])},{icon:R(()=>[B(s,{size:20})]),_:1},8,["aria-label","onClick"]),B(f,{"aria-label":a.labelCancel,type:"reset",variant:t.primary?"primary":"tertiary",onClick:be(l.cancel,["stop","prevent"])},{icon:R(()=>[B(r,{size:20})]),_:1},8,["aria-label","variant","onClick"])],32)])}const Po=Q(zo,[["render",Do],["__scopeId","data-v-dd457d48"]]),Lo=pe({name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(){var e,n;return this.vnodes||((n=(e=this.$slots)==null?void 0:e.default)==null?void 0:n.call(e,{}))}}),Ro={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Io=["aria-hidden","aria-label"],Oo=["fill","width","height"],To={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},Mo={key:0};function $o(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",To,[t.title?(C(),z("title",Mo,G(t.title),1)):O("",!0)])],8,Oo))],16,Io)}const Bo=Q(Ro,[["render",$o]]),Vo={name:"UndoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Go=["aria-hidden","aria-label"],Ho=["fill","width","height"],Uo={d:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"},jo={key:0};function Fo(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon undo-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Uo,[t.title?(C(),z("title",jo,G(t.title),1)):O("",!0)])],8,Ho))],16,Go)}const qo=Q(Vo,[["render",Fo]]);Me(Wn);const Wo={name:"NcAppNavigationIconCollapsible",components:{NcButton:Ee,ChevronDown:$l,ChevronUp:bo},props:{open:{type:Boolean,required:!0},active:{type:Boolean,required:!0}},emits:["click"],computed:{labelButton(){return this.open?le("Collapse menu"):le("Open menu")}},methods:{onClick(e){this.$emit("click",e)}}};function Zo(e,n,t,i,a,l){const s=X("ChevronUp"),f=X("ChevronDown"),r=X("NcButton");return C(),$(r,{class:Z(["icon-collapse",{"icon-collapse--active":t.active,"icon-collapse--open":t.open}]),"aria-label":l.labelButton,variant:t.active?"tertiary-on-primary":"tertiary",onClick:l.onClick},{icon:R(()=>[t.open?(C(),$(s,{key:0,size:20})):(C(),$(f,{key:1,size:20}))]),_:1},8,["class","aria-label","variant","onClick"])}const Ko=Q(Wo,[["render",Zo],["__scopeId","data-v-e6236e50"]]);Me(Kn,Zn);const Xo={name:"NcAppNavigationItem",components:{NcActions:Xn,NcActionButton:Ai,NcAppNavigationIconCollapsible:Ko,NcInputConfirmCancel:Po,NcLoadingIcon:ft,NcVNodes:Lo,Pencil:Bo,Undo:qo},props:{active:{type:Boolean,default:!1},name:{type:String,required:!0},title:{type:String,default:null},id:{type:String,default:()=>wt(),validator:e=>e.trim()!==""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:null},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"},ariaDescription:{type:String,default:null},forceDisplayActions:{type:Boolean,default:!1},inlineActions:{type:Number,default:0}},emits:["update:menuOpen","update:open","update:name","click","undo"],setup(){return{isMobile:tt()}},data(){return{actionsBoundariesElement:void 0,editingValue:"",opened:this.open,editingActive:!1,menuOpenLocalValue:!1,focused:!1}},computed:{isRouterLink(){return this.to&&!this.href},canHaveChildren(){return this.$parent.$options._componentTag!=="AppNavigationItem"},editButtonAriaLabel(){return this.editLabel?this.editLabel:le("Edit item")},undoButtonAriaLabel(){return le("Undo changes")}},watch:{open(e){this.opened=e}},mounted(){this.actionsBoundariesElement=document.querySelector("#content-vue")||void 0},methods:{onMenuToggle(e){this.$emit("update:menuOpen",e),this.menuOpenLocalValue=e},toggleCollapse(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick(e,n,t){this.$emit("click",e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&t&&(n==null||n(e),e.preventDefault())},handleEdit(){this.editingValue=this.name,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick(()=>{this.$refs.editingInput.focusInput()})},cancelEditing(){this.editingActive=!1},handleEditingDone(){this.$emit("update:name",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo(){this.$emit("undo")},handleFocus(){this.focused=!0},handleBlur(){this.focused=!1},handleTab(e){this.$refs.actions&&(this.focused?(e.preventDefault(),this.$refs.actions.$refs.triggerButton.$el.focus(),this.focused=!1):this.$refs.actions.$refs.triggerButton.$el.blur())},isExternal(e){return e&&e.match(/[a-z]+:\/\//i)}}},Qo=["id"],Jo=["aria-current","aria-description","aria-expanded","href","target","title","onClick"],Yo={key:0,class:"editingContainer"},er={key:1,class:"app-navigation-entry__deleted"},tr={class:"app-navigation-entry__deleted-description"},nr={key:0,class:"app-navigation-entry__counter-wrapper"},ir={key:0,class:"app-navigation-entry__children"};function ar(e,n,t,i,a,l){const s=X("NcLoadingIcon"),f=X("NcInputConfirmCancel"),r=X("Pencil"),u=X("NcActionButton"),d=X("Undo"),c=X("NcActions"),m=X("NcAppNavigationIconCollapsible");return C(),z("li",{id:t.id,class:Z([{"app-navigation-entry--opened":a.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--collapsible":t.allowCollapse&&!!e.$slots.default},"app-navigation-entry-wrapper"])},[(C(),$(hn(l.isRouterLink?"router-link":"NcVNodes"),pi(di(de({},l.isRouterLink&&{custom:!0,to:t.to}))),{default:R(({href:g,navigate:_,isActive:b})=>[M("div",{class:Z(["app-navigation-entry",{"app-navigation-entry--editing":a.editingActive,"app-navigation-entry--deleted":t.undo,active:t.to&&b||t.active}])},[t.undo?O("",!0):(C(),z("a",{key:0,class:"app-navigation-entry-link","aria-current":t.active||t.to&&b?"page":void 0,"aria-description":t.ariaDescription,"aria-expanded":e.$slots.default?a.opened.toString():void 0,href:t.href||g||"#",target:l.isExternal(t.href)?"_blank":void 0,title:t.title||t.name,onBlur:n[1]||(n[1]=(...w)=>l.handleBlur&&l.handleBlur(...w)),onClick:w=>l.onClick(w,_,g),onFocus:n[2]||(n[2]=(...w)=>l.handleFocus&&l.handleFocus(...w)),onKeydown:n[3]||(n[3]=At(be((...w)=>l.handleTab&&l.handleTab(...w),["exact"]),["tab"]))},[M("div",{class:Z(["app-navigation-entry-icon",{[t.icon]:t.icon}])},[t.loading?(C(),$(s,{key:0})):U(e.$slots,"icon",{key:1,active:t.active||t.to&&b},void 0,!0)],2),M("span",{class:Z(["app-navigation-entry__name",{"hidden-visually":a.editingActive}])},G(t.name),3),a.editingActive?(C(),z("div",Yo,[B(f,{ref:"editingInput",modelValue:a.editingValue,"onUpdate:modelValue":n[0]||(n[0]=w=>a.editingValue=w),placeholder:t.editPlaceholder!==""?t.editPlaceholder:t.name,primary:t.to&&b||t.active,onCancel:l.cancelEditing,onConfirm:l.handleEditingDone},null,8,["modelValue","placeholder","primary","onCancel","onConfirm"])])):O("",!0)],40,Jo)),t.undo?(C(),z("div",er,[M("div",tr,G(t.name),1)])):O("",!0),(e.$slots.actions||e.$slots.counter||t.editable||t.undo)&&!a.editingActive?(C(),z("div",{key:2,class:Z(["app-navigation-entry__utils",{"app-navigation-entry__utils--display-actions":t.forceDisplayActions||a.menuOpenLocalValue||t.menuOpen}])},[e.$slots.counter?(C(),z("div",nr,[U(e.$slots,"counter",{},void 0,!0)])):O("",!0),e.$slots.actions||t.editable&&!a.editingActive||t.undo?(C(),$(c,{key:1,ref:"actions",class:"app-navigation-entry__actions",container:"#app-navigation-vue",boundariesElement:a.actionsBoundariesElement,inline:t.inlineActions,placement:t.menuPlacement,open:t.menuOpen,forceMenu:t.forceMenu,defaultIcon:t.menuIcon,variant:t.to&&b||t.active?"tertiary-on-primary":"tertiary","onUpdate:open":l.onMenuToggle},{icon:R(()=>[U(e.$slots,"menu-icon",{},void 0,!0)]),default:R(()=>[t.editable&&!a.editingActive?(C(),$(u,{key:0,"aria-label":l.editButtonAriaLabel,onClick:l.handleEdit},{icon:R(()=>[B(r,{size:20})]),default:R(()=>[Te(" "+G(t.editLabel),1)]),_:1},8,["aria-label","onClick"])):O("",!0),t.undo?(C(),$(u,{key:1,"aria-label":l.undoButtonAriaLabel,onClick:l.handleUndo},{icon:R(()=>[B(d,{size:20})]),_:1},8,["aria-label","onClick"])):O("",!0),U(e.$slots,"actions",{},void 0,!0)]),_:2},1032,["boundariesElement","inline","placement","open","forceMenu","defaultIcon","variant","onUpdate:open"])):O("",!0)],2)):O("",!0),t.allowCollapse&&e.$slots.default?(C(),$(m,{key:3,active:t.to&&b||t.active,open:a.opened,onClick:be(l.toggleCollapse,["prevent","stop"])},null,8,["active","open","onClick"])):O("",!0),U(e.$slots,"extra",{},void 0,!0)],2)]),_:3},16)),l.canHaveChildren&&e.$slots.default?(C(),z("ul",ir,[U(e.$slots,"default",{},void 0,!0)])):O("",!0)],10,Qo)}const lr=Q(Xo,[["render",ar],["__scopeId","data-v-f925f8d0"]]);Me(Qn);const or=["id"],rr=pe({__name:"NcAppNavigationSettings",props:{excludeClickOutsideSelectors:{default:()=>[]},name:{default:()=>le("Settings")}},setup(e){const n=wt(),t=W(!1),i=kt("wrapperElement"),a=P(()=>Array.isArray(e.excludeClickOutsideSelectors)?e.excludeClickOutsideSelectors:e.excludeClickOutsideSelectors.split(" "));return Ni(i,()=>{t.value=!1},{ignore:a}),(l,s)=>(C(),z("div",{ref:"wrapperElement",class:Z(l.$style.container)},[M("div",{class:Z(l.$style.header)},[B(Ee,{"aria-controls":S(n),"aria-expanded":t.value?"true":"false",class:Z(l.$style.button),alignment:"start",variant:"tertiary",wide:"",onClick:s[0]||(s[0]=f=>t.value=!t.value)},{icon:R(()=>[B(Ce,{path:S(ht)?S(Di):S(Pi)},null,8,["path"])]),default:R(()=>[Te(" "+G(l.name),1)]),_:1},8,["aria-controls","aria-expanded","class"])],2),B(hi,{enterActiveClass:l.$style.animationActive,leaveActiveClass:l.$style.animationActive,enterFromClass:l.$style.animationStop,leaveToClass:l.$style.animationStop},{default:R(()=>[He(M("div",{id:S(n),class:Z(l.$style.content)},[U(l.$slots,"default")],10,or),[[Je,t.value]])]),_:3},8,["enterActiveClass","leaveActiveClass","enterFromClass","leaveToClass"])],2))}}),sr="_container_RFk6U",cr="_header_2CtDS",ur="_button_tAyis",pr="_content_--KYD",dr="_animationActive_DAG1p",hr="_animationStop_fWYQj",fr={container:sr,header:cr,button:ur,content:pr,animationActive:dr,animationStop:hr},vr={$style:fr},mr=Q(rr,[["__cssModules",vr]]),gr={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yr=["aria-hidden","aria-label"],br=["fill","width","height"],Cr={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},wr={key:0};function xr(e,n,t,i,a,l){return C(),z("span",Pe(e.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=s=>e.$emit("click",s))}),[(C(),z("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[M("path",Cr,[t.title?(C(),z("title",wr,G(t.title),1)):O("",!0)])],8,br))],16,yr)}const Er=xt(gr,[["render",xr]]),_r=["src"],Sr=pe({__name:"ActivityAppNavigation",setup(e){const{rssLink:n,personalSettingsLink:t}=mt(lt,"settings"),i=mt(lt,"navigationList"),a=W(n),l=P(()=>!!a.value);async function s(){try{const{data:r}=await un.post(pn("/apps/activity/settings/feed"),{enable:!l.value});a.value=r.data.rsslink}catch(r){vn(q("activity","Could not enable RSS link")),vt.error(r)}}async function f(){try{window.navigator.clipboard.writeText(a.value),bi(q("activity","RSS link copied to clipboard"))}catch(r){vt.debug(r),window.prompt(q("activity","Could not copy the RSS link, please copy manually:"),a.value)}}return(r,u)=>(C(),$(S(po),{"aria-label":S(q)("activity","Activity")},{list:R(()=>[(C(!0),z(Ye,null,zt(S(i),d=>(C(),$(S(lr),{key:d.id,"data-navigation":d.id,to:d.id,name:d.name},fi({_:2},[d.icon?{name:"icon",fn:R(()=>[M("img",{alt:"",src:d.icon,class:"navigation-icon",role:"presentation"},null,8,_r)]),key:"0"}:void 0]),1032,["data-navigation","to","name"]))),128))]),footer:R(()=>[B(S(mr),{name:S(q)("activity","Activity settings")},{default:R(()=>[B(S(Jn),{type:"switch",modelValue:l.value,"onUpdate:modelValue":[u[0]||(u[0]=d=>l.value=d),s]},{default:R(()=>[Te(G(S(q)("activity","Enable RSS feed")),1)]),_:1},8,["modelValue"]),l.value?(C(),$(S(ql),{key:0,modelValue:a.value,"onUpdate:modelValue":u[1]||(u[1]=d=>a.value=d),label:S(q)("activity","RSS feed"),"show-trailing-button":!0,"trailing-button-label":S(q)("activity","Copy RSS feed link"),readonly:"readonly",onTrailingButtonClick:f},{"trailing-button-icon":R(()=>[B(Er,{size:20})]),_:1},8,["modelValue","label","trailing-button-label"])):O("",!0),B(S(Ee),{class:"settings-link",href:S(t),title:S(q)("activity","Personal notification settings"),variant:"tertiary"},{default:R(()=>[Te(G(S(q)("activity","Personal notification settings")),1)]),_:1},8,["href","title"])]),_:1},8,["name"])]),_:1},8,["aria-label"]))}}),kr=[{path:"/",name:"root",redirect:{path:"/all"}},{path:"/:filter?",components:{default:eo,navigation:Sr},props:{default:!0}}],zr=Oa({history:ha(pn("/apps/activity")),linkActiveClass:"active",routes:kr}),rn=vi(Fa);rn.use(zr),rn.mount("#content"); //# sourceMappingURL=activity-app.mjs.map diff --git a/js/activity-sidebar.mjs b/js/activity-sidebar.mjs index 8dc9b9ff7..e4320c491 100644 --- a/js/activity-sidebar.mjs +++ b/js/activity-sidebar.mjs @@ -1,3 +1,3 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/ActivityTab-BVuoxZAd.chunk.mjs'),window.OC.filePath('activity', '', 'js/_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-DO04_iVC.chunk.mjs'),window.OC.filePath('activity', '', 'js/_commonjsHelpers-Cqwegr3R.chunk.mjs'),window.OC.filePath('activity', '', 'js/translation-DoG5ZELJ-BlIPWNCX.chunk.mjs'),window.OC.filePath('activity', '', 'js/ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs'),window.OC.filePath('activity', '', 'js/preload-helper-B9rAsR6N.chunk.mjs'),window.OC.filePath('activity', '', 'js/api-O75wyCF6.chunk.mjs')])))=>i.map(i=>d[i]); -import{_ as o}from"./preload-helper-B9rAsR6N.chunk.mjs";import{V as r,a2 as s}from"./translation-DoG5ZELJ-BlIPWNCX.chunk.mjs";import"./_commonjsHelpers-Cqwegr3R.chunk.mjs";const d='';let a=null,t=null,e=null;const c=new OCA.Files.Sidebar.Tab({id:"activity",name:r("activity","Activity"),iconSvg:d,async mount(i,n){if(a===null){const{default:u}=await o(async()=>{const{default:l}=await import("./ActivityTab-BVuoxZAd.chunk.mjs");return{default:l}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);a=u}t&&t.unmount(),t=s(a),e=t.mount(i),e.update(n)},update(i){e.update(i)},destroy(){t==null||t.unmount(),t=null}});window.addEventListener("DOMContentLoaded",async function(){if(OCA.Files&&OCA.Files.Sidebar){OCA.Files.Sidebar.registerTab(c);const{default:i}=await o(async()=>{const{default:n}=await import("./ActivityTab-BVuoxZAd.chunk.mjs");return{default:n}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);a=i}});export{d as l}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/ActivityTab-DAIpdGUV.chunk.mjs'),window.OC.filePath('activity', '', 'js/_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-DO04_iVC.chunk.mjs'),window.OC.filePath('activity', '', 'js/_commonjsHelpers-Cqwegr3R.chunk.mjs'),window.OC.filePath('activity', '', 'js/translation-DoG5ZELJ-BlIPWNCX.chunk.mjs'),window.OC.filePath('activity', '', 'js/ActivityComponent.vue_vue_type_script_setup_true_lang-C29E-ns7.chunk.mjs'),window.OC.filePath('activity', '', 'js/preload-helper-B9rAsR6N.chunk.mjs'),window.OC.filePath('activity', '', 'js/api-O75wyCF6.chunk.mjs')])))=>i.map(i=>d[i]); +import{_ as o}from"./preload-helper-B9rAsR6N.chunk.mjs";import{V as r,a2 as s}from"./translation-DoG5ZELJ-BlIPWNCX.chunk.mjs";import"./_commonjsHelpers-Cqwegr3R.chunk.mjs";const d='';let a=null,t=null,e=null;const c=new OCA.Files.Sidebar.Tab({id:"activity",name:r("activity","Activity"),iconSvg:d,async mount(i,n){if(a===null){const{default:u}=await o(async()=>{const{default:l}=await import("./ActivityTab-DAIpdGUV.chunk.mjs");return{default:l}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);a=u}t&&t.unmount(),t=s(a),e=t.mount(i),e.update(n)},update(i){e.update(i)},destroy(){t==null||t.unmount(),t=null}});window.addEventListener("DOMContentLoaded",async function(){if(OCA.Files&&OCA.Files.Sidebar){OCA.Files.Sidebar.registerTab(c);const{default:i}=await o(async()=>{const{default:n}=await import("./ActivityTab-DAIpdGUV.chunk.mjs");return{default:n}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);a=i}});export{d as l}; //# sourceMappingURL=activity-sidebar.mjs.map diff --git a/js/index-CtVyr4ss.chunk.mjs b/js/index-CooJl9Cq.chunk.mjs similarity index 99% rename from js/index-CtVyr4ss.chunk.mjs rename to js/index-CooJl9Cq.chunk.mjs index fd8a15273..ffa5caafc 100644 --- a/js/index-CtVyr4ss.chunk.mjs +++ b/js/index-CooJl9Cq.chunk.mjs @@ -1,2 +1,2 @@ -import{g as Ut}from"./_commonjsHelpers-Cqwegr3R.chunk.mjs";import{j as Pt,k as Ae,v as jt}from"./ActivityComponent.vue_vue_type_script_setup_true_lang-DyokEVKn.chunk.mjs";import"./_plugin-vue_export-helper-Cn6xnXhF.chunk.mjs";import"./logger-DO04_iVC.chunk.mjs";import"./translation-DoG5ZELJ-BlIPWNCX.chunk.mjs";import"./preload-helper-B9rAsR6N.chunk.mjs";const Rn=(function(e,n,a){const i=Pt(a);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof n=="number"){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(n=e.children.indexOf(n),n<0)throw new Error("Expected child node or index");for(;++no&&(o=b):b&&(o!==void 0&&o>-1&&g.push("\n".repeat(o)||" "),o=-1,g.push(b))}return g.join("")}function Gn(e,n,a){return e.type==="element"?Ht(e,n,a):e.type==="text"?a.whitespace==="normal"?Hn(e,a):Zt(e):[]}function Ht(e,n,a){const i=Zn(e,a),r=e.children||[];let d=-1,s=[];if(Kt(e))return s;let l,g;for(pn(e)||Bn(e)&&Rn(n,e,Bn)?g="\n":qt(e)?(l=2,g=2):Kn(e)&&(l=1,g=1);++d]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",u=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],y=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],v=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],h=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],k={type:y,keyword:u,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:v},S={className:"function.dispatch",relevance:0,keywords:{_hint:h},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},C=[S,o,s,a,e.C_BLOCK_COMMENT_MODE,g,l],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:k,contains:C.concat([{begin:/\(/,end:/\)/,keywords:k,contains:C.concat(["self"]),relevance:0}]),relevance:0},B={className:"function",begin:"("+d+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:k,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:k,relevance:0},{begin:p,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,g]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,l,g,s,{begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,l,g,s]}]},s,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:k,illegal:"",keywords:k,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:k},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function Yt(e){const n={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},a=Jt(e),i=a.keywords;return i.type=[...i.type,...n.type],i.literal=[...i.literal,...n.literal],i.built_in=[...i.built_in,...n.built_in],i._hints=n._hints,a.name="Arduino",a.aliases=["ino"],a.supersetOf="cpp",a}function ea(e){const n=e.regex,a={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},d=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,r]};r.contains.push(l);const g={match:/\\"/},o={className:"string",begin:/'/,end:/'/},b={match:/\\'/},p={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],y=e.SHEBANG({binary:"(".concat(u.join("|"),")"),relevance:10}),v={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},h=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],k=["true","false"],S={match:/(\/[a-z._-]+)+/},C=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],R=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],B=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],D=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:h,literal:k,built_in:[...C,...R,"set","shopt",...B,...D]},contains:[y,e.SHEBANG(),v,p,d,s,S,l,g,o,b,a]}}function na(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",d="("+i+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",u={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},y=[o,s,a,e.C_BLOCK_COMMENT_MODE,g,l],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:y.concat([{begin:/\(/,end:/\)/,keywords:u,contains:y.concat(["self"]),relevance:0}]),relevance:0},h={begin:"("+d+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:u,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(b,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,l,g,s,{begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,l,g,s]}]},s,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C",aliases:["h"],keywords:u,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:l,keywords:u}}}function ta(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",d="(?!struct)("+i+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",u=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],y=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],v=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],h=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],k={type:y,keyword:u,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:v},S={className:"function.dispatch",relevance:0,keywords:{_hint:h},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},C=[S,o,s,a,e.C_BLOCK_COMMENT_MODE,g,l],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:k,contains:C.concat([{begin:/\(/,end:/\)/,keywords:k,contains:C.concat(["self"]),relevance:0}]),relevance:0},B={className:"function",begin:"("+d+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:k,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:k,relevance:0},{begin:p,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,g]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,l,g,s,{begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,l,g,s]}]},s,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:k,illegal:"",keywords:k,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:k},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function aa(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],a=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],d=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:r.concat(d),built_in:n,literal:i},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),g={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},b={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},p=e.inherit(b,{illegal:/\n/}),u={className:"subst",begin:/\{/,end:/\}/,keywords:s},y=e.inherit(u,{illegal:/\n/}),v={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,y]},h={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]},k=e.inherit(h,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},y]});u.contains=[h,v,b,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,e.C_BLOCK_COMMENT_MODE],y.contains=[k,v,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const S={variants:[o,h,v,b,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},C={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},R=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",B={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},S,g,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,C,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,C,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+R+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:a.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,C],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[S,g,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},B]}}const ia=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),ra=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],sa=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],oa=[...ra,...sa],la=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ca=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),da=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ga=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function ua(e){const n=e.regex,a=ia(e),i={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r="and or not only",d=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",l=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[a.BLOCK_COMMENT,i,a.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ca.join("|")+")"},{begin:":(:)?("+da.join("|")+")"}]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ga.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[a.BLOCK_COMMENT,a.HEXCOLOR,a.IMPORTANT,a.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...l,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},a.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:d},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:r,attribute:la.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,a.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+oa.join("|")+")\\b"}]}}function ba(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function ma(e){const n={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:n,illegal:"Wn(e,n,a-1))}function ha(e){const n=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",i=a+Wn("(?:<"+a+"~~~(?:\\s*,\\s*"+a+"~~~)*>)?",/~~~/g,2),r={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},d={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},s={className:"params",begin:/\(/,end:/\)/,keywords:r,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:r,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[n.concat(/(?!else)/,a),/\s+/,a,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:r,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:r,relevance:0,contains:[d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,zn,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},zn,d]}}const Fn="[A-Za-z$_][0-9A-Za-z$_]*",_a=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],ya=["true","false","null","undefined","NaN","Infinity"],Xn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Qn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Vn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Ea=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],wa=[].concat(Vn,Xn,Qn);function va(e){const n=e.regex,a=(L,{after:Z})=>{const ae="",end:""},d=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Z)=>{const ae=L[0].length+L.index,ge=L.input[ae];if(ge==="<"||ge===","){Z.ignoreMatch();return}ge===">"&&(a(L,{after:ae})||Z.ignoreMatch());let se;const ie=L.input.substring(ae);if(se=ie.match(/^\s*=/)){Z.ignoreMatch();return}if((se=ie.match(/^\s+extends\s+/))&&se.index===0){Z.ignoreMatch();return}}},l={$pattern:Fn,keyword:_a,literal:ya,built_in:wa,"variable.language":Ea},g="[0-9](_?[0-9])*",o="\\.(".concat(g,")"),b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:"(\\b(".concat(b,")((").concat(o,")|\\.)?|(").concat(o,"))[eE][+-]?(").concat(g,")\\b")},{begin:"\\b(".concat(b,")\\b((").concat(o,")\\b|\\.)?|(").concat(o,")\\b")},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},y={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},S={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},C=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,{match:/\$\d+/},p];u.contains=C.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(C)});const R=[].concat(S,u.contains),B=R.concat([{begin:/(\s*)\(/,end:/\)/,keywords:l,contains:["self"].concat(R)}]),D={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B},V={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,n.concat(i,"(",n.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Xn,...Qn]}},J={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},le={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(L){return n.concat("(?!",L.join("|"),")")}const ce={match:n.concat(/\b/,de([...Vn,"super","import"].map(L=>"".concat(L,"\\s*\\("))),i,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},Y={begin:n.concat(/\./,n.lookahead(n.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},te="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",ye={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(te)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:B,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),J,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,S,{match:/\$\d+/},p,H,{scope:"attr",match:i+n.lookahead(":"),relevance:0},ye,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,e.REGEXP_MODE,{className:"function",begin:te,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:d},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},Y,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},ce,le,V,j,{match:/\$[(.]/}]}}function ka(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],r={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:i},contains:[n,a,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var Oe="[0-9](_*[0-9])*",Ke="\\.(".concat(Oe,")"),Ge="[0-9a-fA-F](_*[0-9a-fA-F])*",Na={className:"number",variants:[{begin:"(\\b(".concat(Oe,")((").concat(Ke,")|\\.)?|(").concat(Ke,"))[eE][+-]?(").concat(Oe,")[fFdD]?\\b")},{begin:"\\b(".concat(Oe,")((").concat(Ke,")[fFdD]?\\b|\\.([fFdD]\\b)?)")},{begin:"(".concat(Ke,")[fFdD]?\\b")},{begin:"\\b(".concat(Oe,")[fFdD]\\b")},{begin:"\\b0[xX]((".concat(Ge,")\\.?|(").concat(Ge,")?\\.(").concat(Ge,"))[pP][+-]?(").concat(Oe,")[fFdD]?\\b")},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:"\\b0[xX](".concat(Ge,")[lL]?\\b")},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function xa(e){const n={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},i={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},s={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,d,r]}]};r.contains.push(s);const l={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(s,{className:"string"}),"self"]}]},o=Na,b=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),p={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},u=p;return u.variants[1].contains=[p],p.variants[1].contains=[u],{name:"Kotlin",aliases:["kt","kts"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,b,a,i,l,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[p,e.C_LINE_COMMENT_MODE,b],relevance:0},e.C_LINE_COMMENT_MODE,b,l,g,s,e.C_NUMBER_MODE]},b]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},l,g]},s,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},o]}}const Sa=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Ma=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Oa=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Aa=[...Ma,...Oa],Ca=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Jn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Yn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Ta=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),Ra=Jn.concat(Yn).sort().reverse();function Ia(e){const n=Sa(e),a=Ra,i="and or not only",r="[\\w-]+",d="("+r+"|@\\{"+r+"\\})",s=[],l=[],g=function(R){return{className:"string",begin:"~?"+R+".*?"+R}},o=function(R,B,D){return{className:R,begin:B,relevance:D}},b={$pattern:/[a-z-]+/,keyword:i,attribute:Ca.join(" ")},p={begin:"\\(",end:"\\)",contains:l,keywords:b,relevance:0};l.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g("'"),g('"'),n.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},n.HEXCOLOR,p,o("variable","@@?"+r,10),o("variable","@\\{"+r+"\\}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},n.IMPORTANT,{beginKeywords:"and not"},n.FUNCTION_DISPATCH);const u=l.concat({begin:/\{/,end:/\}/,contains:s}),y={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(l)},v={begin:d+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ta.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:l}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:l,relevance:0}},k={className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r}],starts:{end:"[;}]",returnEnd:!0,contains:u}},S={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:d,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,y,o("keyword","all\\b"),o("variable","@\\{"+r+"\\}"),{begin:"\\b("+Aa.join("|")+")\\b",className:"selector-tag"},n.CSS_NUMBER_MODE,o("selector-tag",d,0),o("selector-id","#"+d),o("selector-class","\\."+d,0),o("selector-tag","&",0),n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+Jn.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Yn.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:"!important"},n.FUNCTION_DISPATCH]},C={begin:r+":(:)?(".concat(a.join("|"),")"),returnBegin:!0,contains:[S]};return s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,k,C,v,S,y,n.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:s}}function Da(e){const n="\\[=*\\[",a="\\]=*\\]",i={begin:n,end:a,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,a,{contains:[i],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:a,contains:[i],relevance:5}])}}function La(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},d={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,g={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},o={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},b={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},p=e.inherit(o,{contains:[]}),u=e.inherit(b,{contains:[]});o.contains.push(u),b.contains.push(p);let y=[a,g];return[o,b,p,u].forEach(v=>{v.contains=v.contains.concat(y)}),y=y.concat(o,b),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:y},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:y}]}]},a,d,o,b,{className:"quote",begin:"^>\\s+",contains:y,end:"$"},r,i,g,s,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function za(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,i={"variable.language":["this","super"],$pattern:a,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},r={$pattern:a,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:i,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+r.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:r,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Fa(e){const n=e.regex,a=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:a.join(" ")},d={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},s={begin:/->\{/,end:/\}/},l={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},g={scope:"variable",variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[l]},o={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},b=[e.BACKSLASH_ESCAPE,d,g],p=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(h,k,S="\\1")=>{const C=S==="\\1"?S:n.concat(S,k);return n.concat(n.concat("(?:",h,")"),k,/(?:\\.|[^\\\/])*?/,C,/(?:\\.|[^\\\/])*?/,S,i)},y=(h,k,S)=>n.concat(n.concat("(?:",h,")"),k,/(?:\\.|[^\\\/])*?/,S,i),v=[g,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:b,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},o,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",n.either(...p,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:y("(?:m|qr)?",/\//,/\//)},{begin:y("m|qr",n.either(...p,{capture:!0}),/\1/)},{begin:y("m|qr",/\(/,/\)/)},{begin:y("m|qr",/\[/,/\]/)},{begin:y("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,l]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,l,o]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return d.contains=v,s.contains=v,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:v}}function $a(e){const n=e.regex,a=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),d=n.concat(/[A-Z]+/,a),s={scope:"variable",match:"\\$+"+i},l={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},g={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},o=e.inherit(e.APOS_STRING_MODE,{illegal:null}),b=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(g)}),p={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(g),"on:begin":(Y,j)=>{j.data._beginMatch=Y[1]||Y[2]},"on:end":(Y,j)=>{j.data._beginMatch!==Y[1]&&j.ignoreMatch()}},u=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),y="[ \n]",v={scope:"string",variants:[b,o,p,u]},h={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},k=["false","null","true"],S=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],C=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],R={keyword:S,literal:(Y=>{const j=[];return Y.forEach(te=>{j.push(te),te.toLowerCase()===te?j.push(te.toUpperCase()):j.push(te.toLowerCase())}),j})(k),built_in:C},B=Y=>Y.map(j=>j.replace(/\|\d+$/,"")),D={variants:[{match:[/new/,n.concat(y,"+"),n.concat("(?!",B(C).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},V=n.concat(i,"\\b(?!\\()"),H={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),V],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),V],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},J={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},q={relevance:0,begin:/\(/,end:/\)/,keywords:R,contains:[J,s,H,e.C_BLOCK_COMMENT_MODE,v,h,D]},le={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",B(S).join("\\b|"),"|",B(C).join("\\b|"),"\\b)"),i,n.concat(y,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[q]};q.contains.push(le);const de=[J,H,e.C_BLOCK_COMMENT_MODE,v,h,D],ce={begin:n.concat(/#\[\s*\\?/,n.either(r,d)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:k,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:k,keyword:["new","array"]},contains:["self",...de]},...de,{scope:"meta",variants:[{match:r},{match:d}]}]};return{case_insensitive:!1,keywords:R,contains:[ce,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},l,{scope:"variable.language",match:/\$this\b/},s,le,H,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},D,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:R,contains:["self",ce,s,H,e.C_BLOCK_COMMENT_MODE,v,h]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},v,h]}}function Ua(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function Pa(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function ja(e){const n=e.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},s={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},l={begin:/\{\{/,relevance:0},g={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,l,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,l,s]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,l,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,l,s]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},o="[0-9](_?[0-9])*",b="(\\b(".concat(o,"))?\\.(").concat(o,")|\\b(").concat(o,")\\."),p="\\b|".concat(i.join("|")),u={className:"number",relevance:0,variants:[{begin:"(\\b(".concat(o,")|(").concat(b,"))[eE][+-]?(").concat(o,")[jJ]?(?=").concat(p,")")},{begin:"(".concat(b,")[jJ]?")},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=".concat(p,")")},{begin:"\\b0[bB](_?[01])+[lL]?(?=".concat(p,")")},{begin:"\\b0[oO](_?[0-7])+[lL]?(?=".concat(p,")")},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=".concat(p,")")},{begin:"\\b(".concat(o,")[jJ](?=").concat(p,")")}]},y={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},v={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",d,u,g,e.HASH_COMMENT_MODE]}]};return s.contains=[g,u,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[d,u,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},g,y,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[v]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[u,v,g]}]}}function qa(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Ka(e){const n=e.regex,a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,d=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:a},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[d,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[a,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:d},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function Ga(e){const n=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(i,/(::\w+)*/),d={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},g=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],o={className:"subst",begin:/#\{/,end:/\}/,keywords:d},b={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,o]})]}]},p="[1-9](_?[0-9])*|0",u="[0-9](_?[0-9])*",y={className:"number",relevance:0,variants:[{begin:"\\b(".concat(p,")(\\.(").concat(u,"))?([eE][+-]?(").concat(u,")|r)?i?\\b")},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:d}]},h=[b,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:d},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[v]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[b,{begin:a}],relevance:0},y,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:d},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,g),relevance:0}].concat(l,g);o.contains=h,v.contains=h;const k=[{begin:/^\s*=>/,starts:{end:"$",contains:h}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:d,contains:h}}];return g.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:d,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(k).concat(g).concat(h)}}function Ha(e){const n=e.regex,a=/(r#)?/,i=n.concat(a,e.UNDERSCORE_IDENT_RE),r=n.concat(a,e.IDENT_RE),d={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let|for|while|if|else|match\b)/,r,n.lookahead(/\s*\(/))},s="([ui](8|16|32|64|128|size)|f(32|64))?",l=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],g=["true","false","Some","None","Ok","Err"],o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],b=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:b,keyword:l,literal:g,built_in:o},illegal:""},d]}}const Za=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Wa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Xa=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Qa=[...Wa,...Xa],Va=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Ja=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Ya=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ei=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function ni(e){const n=Za(e),a=Ya,i=Ja,r="@[a-z-]+",d="and or not only",s={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Qa.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+i.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[n.CSS_NUMBER_MODE]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ei.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[n.BLOCK_COMMENT,s,n.HEXCOLOR,n.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.IMPORTANT,n.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:r,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:Va.join(" ")},contains:[{begin:r,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.HEXCOLOR,n.CSS_NUMBER_MODE]},n.FUNCTION_DISPATCH]}}function ti(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function ai(e){const n=e.regex,a=e.COMMENT("--","$"),i={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},r={begin:/"/,end:/"/,contains:[{match:/""/}]},d=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],g=["add","asc","collation","desc","final","first","last","view"],o=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],b=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],p=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],u=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],y=b,v=[...o,...g].filter(D=>!b.includes(D)),h={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},k={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},S={match:n.concat(/\b/,n.either(...y),/\s*\(/),relevance:0,keywords:{built_in:y}};function C(D){return n.concat(/\b/,n.either(...D.map(V=>V.replace(/\s+/,"\\s+"))),/\b/)}const R={scope:"keyword",match:C(u),relevance:0};function B(D,{exceptions:V,when:H}={}){const J=H;return V=V||[],D.map(q=>q.match(/\|\d+$/)||V.includes(q)?q:J(q)?"".concat(q,"|0"):q)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:B(v,{when:D=>D.length<3}),literal:d,type:l,built_in:p},contains:[{scope:"type",match:C(s)},R,S,h,i,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,k]}}function et(e){return e?typeof e=="string"?e:e.source:null}function Re(e){return $("(?=",e,")")}function $(...e){return e.map(n=>et(n)).join("")}function ii(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function re(...e){return"("+(ii(e).capture?"":"?:")+e.map(n=>et(n)).join("|")+")"}const fn=e=>$(/\b/,e,/\w$/.test(e)?/\b/:/\B/),ri=["Protocol","Type"].map(fn),$n=["init","self"].map(fn),si=["Any","Self"],un=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Un=["false","nil","true"],oi=["assignment","associativity","higherThan","left","lowerThan","none","right"],li=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Pn=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],nt=re(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),tt=re(nt,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),bn=$(nt,tt,"*"),at=re(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Ze=re(at,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),pe=$(at,Ze,"*"),He=$(/[A-Z]/,Ze,"*"),ci=["attached","autoclosure",$(/convention\(/,re("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",$(/objc\(/,pe,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],di=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function gi(e){const n={match:/\s+/,relevance:0},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),i=[e.C_LINE_COMMENT_MODE,a],r={match:[/\./,re(...ri,...$n)],className:{2:"keyword"}},d={match:$(/\./,re(...un)),relevance:0},s=un.filter(z=>typeof z=="string").concat(["_|0"]),l=un.filter(z=>typeof z!="string").concat(si).map(fn),g={variants:[{className:"keyword",match:re(...l,...$n)}]},o={$pattern:re(/\b\w+/,/#\w+/),keyword:s.concat(li),literal:Un},b=[r,d,g],p={match:$(/\./,re(...Pn)),relevance:0},u={className:"built_in",match:$(/\b/,re(...Pn),/(?=\()/)},y=[p,u],v={match:/->/,relevance:0},h={className:"operator",relevance:0,variants:[{match:bn},{match:"\\.(\\.|".concat(tt,")+")}]},k=[v,h],S="([0-9]_*)+",C="([0-9a-fA-F]_*)+",R={className:"number",relevance:0,variants:[{match:"\\b(".concat(S,")(\\.(").concat(S,"))?([eE][+-]?(").concat(S,"))?\\b")},{match:"\\b0x(".concat(C,")(\\.(").concat(C,"))?([pP][+-]?(").concat(S,"))?\\b")},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},B=(z="")=>({className:"subst",variants:[{match:$(/\\/,z,/[0\\tnr"']/)},{match:$(/\\/,z,/u\{[0-9a-fA-F]{1,8}\}/)}]}),D=(z="")=>({className:"subst",match:$(/\\/,z,/[\t ]*(?:[\r\n]|\r\n)/)}),V=(z="")=>({className:"subst",label:"interpol",begin:$(/\\/,z,/\(/),end:/\)/}),H=(z="")=>({begin:$(z,/"""/),end:$(/"""/,z),contains:[B(z),D(z),V(z)]}),J=(z="")=>({begin:$(z,/"/),end:$(/"/,z),contains:[B(z),V(z)]}),q={className:"string",variants:[H(),H("#"),H("##"),H("###"),J(),J("#"),J("##"),J("###")]},le=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],de={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:le},ce=z=>{const Ne=$(z,/\//),Ee=$(/\//,z);return{begin:Ne,end:Ee,contains:[...le,{scope:"comment",begin:"#(?!.*".concat(Ee,")"),end:/$/}]}},Y={scope:"regexp",variants:[ce("###"),ce("##"),ce("#"),de]},j={match:$(/`/,pe,/`/)},te={className:"variable",match:/\$\d+/},ye={className:"variable",match:"\\$".concat(Ze,"+")},L=[j,te,ye],Z={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:di,contains:[...k,R,q]}]}},ae={scope:"keyword",match:$(/@/,re(...ci),Re(re(/\(/,/\s+/)))},ge={scope:"meta",match:$(/@/,pe)},se=[Z,ae,ge],ie={match:Re(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:$(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Ze,"+")},{className:"type",match:He,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:$(/\s+&\s+/,Re(He)),relevance:0}]},Xe={begin://,keywords:o,contains:[...i,...b,...se,v,ie]};ie.contains.push(Xe);const Qe={match:$(pe,/\s*:/),keywords:"_|0",relevance:0},Ie={begin:/\(/,end:/\)/,relevance:0,keywords:o,contains:["self",Qe,...i,Y,...b,...y,...k,R,q,...L,...se,ie]},Ce={begin://,keywords:"repeat each",contains:[...i,ie]},Ve={begin:re(Re($(pe,/\s*:/)),Re($(pe,/\s+/,pe,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:pe}]},De={begin:/\(/,end:/\)/,keywords:o,contains:[Ve,...i,...b,...k,R,q,...se,ie,Ie],endsParent:!0,illegal:/["']/},ke={match:[/(func|macro)/,/\s+/,re(j.match,pe,bn)],className:{1:"keyword",3:"title.function"},contains:[Ce,De,n],illegal:[/\[/,/%/]},Je={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ce,De,n],illegal:/\[|%/},Ye={match:[/operator/,/\s+/,bn],className:{1:"keyword",3:"title"}},en={begin:[/precedencegroup/,/\s+/,He],className:{1:"keyword",3:"title"},contains:[ie],keywords:[...oi,...Un],end:/}/},nn={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},tn={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},an={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,pe,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:o,contains:[Ce,...b,{begin:/:/,end:/\{/,keywords:o,contains:[{scope:"title.class.inherited",match:He},...b],relevance:0}]};for(const z of q.variants){const Ne=z.contains.find(Le=>Le.label==="interpol");Ne.keywords=o;const Ee=[...b,...y,...k,R,q,...L];Ne.contains=[...Ee,{begin:/\(/,end:/\)/,contains:["self",...Ee]}]}return{name:"Swift",keywords:o,contains:[...i,ke,Je,nn,tn,an,Ye,en,{beginKeywords:"import",end:/$/,contains:[...i],relevance:0},Y,...b,...y,...k,R,q,...L,...se,ie,Ie]}}const We="[A-Za-z$_][0-9A-Za-z$_]*",it=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rt=["true","false","null","undefined","NaN","Infinity"],st=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ot=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],lt=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ct=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],dt=[].concat(lt,st,ot);function ui(e){const n=e.regex,a=(L,{after:Z})=>{const ae="",end:""},d=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Z)=>{const ae=L[0].length+L.index,ge=L.input[ae];if(ge==="<"||ge===","){Z.ignoreMatch();return}ge===">"&&(a(L,{after:ae})||Z.ignoreMatch());let se;const ie=L.input.substring(ae);if(se=ie.match(/^\s*=/)){Z.ignoreMatch();return}if((se=ie.match(/^\s+extends\s+/))&&se.index===0){Z.ignoreMatch();return}}},l={$pattern:We,keyword:it,literal:rt,built_in:dt,"variable.language":ct},g="[0-9](_?[0-9])*",o="\\.(".concat(g,")"),b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:"(\\b(".concat(b,")((").concat(o,")|\\.)?|(").concat(o,"))[eE][+-]?(").concat(g,")\\b")},{begin:"\\b(".concat(b,")\\b((").concat(o,")\\b|\\.)?|(").concat(o,")\\b")},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},y={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},S={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},C=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,{match:/\$\d+/},p];u.contains=C.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(C)});const R=[].concat(S,u.contains),B=R.concat([{begin:/(\s*)\(/,end:/\)/,keywords:l,contains:["self"].concat(R)}]),D={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B},V={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,n.concat(i,"(",n.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...st,...ot]}},J={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},le={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(L){return n.concat("(?!",L.join("|"),")")}const ce={match:n.concat(/\b/,de([...lt,"super","import"].map(L=>"".concat(L,"\\s*\\("))),i,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},Y={begin:n.concat(/\./,n.lookahead(n.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},te="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",ye={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(te)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:B,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),J,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,S,{match:/\$\d+/},p,H,{scope:"attr",match:i+n.lookahead(":"),relevance:0},ye,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,e.REGEXP_MODE,{className:"function",begin:te,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:d},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},Y,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},ce,le,V,j,{match:/\$[(.]/}]}}function bi(e){const n=e.regex,a=ui(e),i=We,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],d={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[a.exports.CLASS_REFERENCE]},l={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},g=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],o={$pattern:We,keyword:it.concat(g),literal:rt,built_in:dt.concat(r),"variable.language":ct},b={className:"meta",begin:"@"+i},p=(h,k,S)=>{const C=h.contains.findIndex(R=>R.label===k);if(C===-1)throw new Error("can not find mode to replace");h.contains.splice(C,1,S)};Object.assign(a.keywords,o),a.exports.PARAMS_CONTAINS.push(b);const u=a.contains.find(h=>h.scope==="attr"),y=Object.assign({},u,{match:n.concat(i,n.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,u,y]),a.contains=a.contains.concat([b,d,s,y]),p(a,"shebang",e.SHEBANG()),p(a,"use_strict",l);const v=a.contains.find(h=>h.label==="func.def");return v.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function mi(e){const n=e.regex,a={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,d=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,g={className:"literal",variants:[{begin:n.concat(/# */,n.either(d,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,s,/ *#/)},{begin:n.concat(/# */,n.either(d,r),/ +/,n.either(s,l),/ *#/)}]},o={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},b={className:"label",begin:/^\w+:/},p=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),u=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[a,i,g,o,b,p,u,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[u]}]}}function pi(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const a=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},d={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},g={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},o={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[a,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},d,s,r,e.QUOTE_STRING_MODE,g,o,l]}}function fi(e){const n=e.regex,a=n.concat(new RegExp("[\\p{L}_]","u"),n.optional(new RegExp("[\\p{L}0-9_.-]*:","u")),new RegExp("[\\p{L}0-9_.-]*","u")),i=new RegExp("[\\p{L}0-9._:-]+","u"),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(d,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),g=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),o={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[d,g,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[d,s,g,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[g]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[o],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[o],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:o}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function hi(e){const n="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},d={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},s={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},l=e.inherit(s,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),g={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},o={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},b={begin:/\{/,end:/\}/,contains:[o],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[o],illegal:"\\n",relevance:0},u=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},g,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,p,d,s],y=[...u];return y.pop(),y.push(l),o.contains=y,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:u}}const _i={arduino:Yt,bash:ea,c:na,cpp:ta,csharp:aa,css:ua,diff:ba,go:ma,graphql:pa,ini:fa,java:ha,javascript:va,json:ka,kotlin:xa,less:Ia,lua:Da,makefile:La,markdown:Ba,objectivec:za,perl:Fa,php:$a,"php-template":Ua,plaintext:Pa,python:ja,"python-repl":qa,r:Ka,ruby:Ga,rust:Ha,scss:ni,shell:ti,sql:ai,swift:gi,typescript:bi,vbnet:mi,wasm:pi,xml:fi,yaml:hi};var mn,jn;function yi(){if(jn)return mn;jn=1;function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(c=>{const _=t[c],A=typeof _;(A==="object"||A==="function")&&!Object.isFrozen(_)&&e(_)}),t}class n{constructor(c){c.data===void 0&&(c.data={}),this.data=c.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function i(t,...c){const _=Object.create(null);for(const A in t)_[A]=t[A];return c.forEach(function(A){for(const K in A)_[K]=A[K]}),_}const r="",d=t=>!!t.scope,s=(t,{prefix:c})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const _=t.split(".");return["".concat(c).concat(_.shift()),..._.map((A,K)=>"".concat(A).concat("_".repeat(K+1)))].join(" ")}return"".concat(c).concat(t)};class l{constructor(c,_){this.buffer="",this.classPrefix=_.classPrefix,c.walk(this)}addText(c){this.buffer+=a(c)}openNode(c){if(!d(c))return;const _=s(c.scope,{prefix:this.classPrefix});this.span(_)}closeNode(c){d(c)&&(this.buffer+=r)}value(){return this.buffer}span(c){this.buffer+='')}}const g=(t={})=>{const c={children:[]};return Object.assign(c,t),c};class o{constructor(){this.rootNode=g(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(c){this.top.children.push(c)}openNode(c){const _=g({scope:c});this.add(_),this.stack.push(_)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(c){return this.constructor._walk(c,this.rootNode)}static _walk(c,_){return typeof _=="string"?c.addText(_):_.children&&(c.openNode(_),_.children.forEach(A=>this._walk(c,A)),c.closeNode(_)),c}static _collapse(c){typeof c!="string"&&c.children&&(c.children.every(_=>typeof _=="string")?c.children=[c.children.join("")]:c.children.forEach(_=>{o._collapse(_)}))}}class b extends o{constructor(c){super(),this.options=c}addText(c){c!==""&&this.add(c)}startScope(c){this.openNode(c)}endScope(){this.closeNode()}__addSublanguage(c,_){const A=c.root;_&&(A.scope="language:".concat(_)),this.add(A)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function p(t){return t?typeof t=="string"?t:t.source:null}function u(t){return h("(?=",t,")")}function y(t){return h("(?:",t,")*")}function v(t){return h("(?:",t,")?")}function h(...t){return t.map(c=>p(c)).join("")}function k(t){const c=t[t.length-1];return typeof c=="object"&&c.constructor===Object?(t.splice(t.length-1,1),c):{}}function S(...t){return"("+(k(t).capture?"":"?:")+t.map(c=>p(c)).join("|")+")"}function C(t){return new RegExp(t.toString()+"|").exec("").length-1}function R(t,c){const _=t&&t.exec(c);return _&&_.index===0}const B=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function D(t,{joinWith:c}){let _=0;return t.map(A=>{_+=1;const K=_;let G=p(A),w="";for(;G.length>0;){const E=B.exec(G);if(!E){w+=G;break}w+=G.substring(0,E.index),G=G.substring(E.index+E[0].length),E[0][0]==="\\"&&E[1]?w+="\\"+String(Number(E[1])+K):(w+=E[0],E[0]==="("&&_++)}return w}).map(A=>"(".concat(A,")")).join(c)}const V=/\b\B/,H="[a-zA-Z]\\w*",J="[a-zA-Z_]\\w*",q="\\b\\d+(\\.\\d+)?",le="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",de="\\b(0b[01]+)",ce="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Y=(t={})=>{const c=/^#![ ]*\//;return t.binary&&(t.begin=h(c,/.*\b/,t.binary,/\b.*/)),i({scope:"meta",begin:c,end:/$/,relevance:0,"on:begin":(_,A)=>{_.index!==0&&A.ignoreMatch()}},t)},j={begin:"\\\\[\\s\\S]",relevance:0},te={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[j]},ye={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[j]},L={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Z=function(t,c,_={}){const A=i({scope:"comment",begin:t,end:c,contains:[]},_);A.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const K=S("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return A.contains.push({begin:h(/[ ]+/,"(",K,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),A},ae=Z("//","$"),ge=Z("/\\*","\\*/"),se=Z("#","$"),ie={scope:"number",begin:q,relevance:0},Xe={scope:"number",begin:le,relevance:0},Qe={scope:"number",begin:de,relevance:0},Ie={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[j,{begin:/\[/,end:/\]/,relevance:0,contains:[j]}]},Ce={scope:"title",begin:H,relevance:0},Ve={scope:"title",begin:J,relevance:0},De={begin:"\\.\\s*"+J,relevance:0};var ke=Object.freeze({__proto__:null,APOS_STRING_MODE:te,BACKSLASH_ESCAPE:j,BINARY_NUMBER_MODE:Qe,BINARY_NUMBER_RE:de,COMMENT:Z,C_BLOCK_COMMENT_MODE:ge,C_LINE_COMMENT_MODE:ae,C_NUMBER_MODE:Xe,C_NUMBER_RE:le,END_SAME_AS_BEGIN:function(t){return Object.assign(t,{"on:begin":(c,_)=>{_.data._beginMatch=c[1]},"on:end":(c,_)=>{_.data._beginMatch!==c[1]&&_.ignoreMatch()}})},HASH_COMMENT_MODE:se,IDENT_RE:H,MATCH_NOTHING_RE:V,METHOD_GUARD:De,NUMBER_MODE:ie,NUMBER_RE:q,PHRASAL_WORDS_MODE:L,QUOTE_STRING_MODE:ye,REGEXP_MODE:Ie,RE_STARTERS_RE:ce,SHEBANG:Y,TITLE_MODE:Ce,UNDERSCORE_IDENT_RE:J,UNDERSCORE_TITLE_MODE:Ve});function Je(t,c){t.input[t.index-1]==="."&&c.ignoreMatch()}function Ye(t,c){t.className!==void 0&&(t.scope=t.className,delete t.className)}function en(t,c){c&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Je,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function nn(t,c){Array.isArray(t.illegal)&&(t.illegal=S(...t.illegal))}function tn(t,c){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function an(t,c){t.relevance===void 0&&(t.relevance=1)}const z=(t,c)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const _=Object.assign({},t);Object.keys(t).forEach(A=>{delete t[A]}),t.keywords=_.keywords,t.begin=h(_.beforeMatch,u(_.begin)),t.starts={relevance:0,contains:[Object.assign(_,{endsParent:!0})]},t.relevance=0,delete _.beforeMatch},Ne=["of","and","for","in","not","or","if","then","parent","list","value"],Ee="keyword";function Le(t,c,_=Ee){const A=Object.create(null);return typeof t=="string"?K(_,t.split(" ")):Array.isArray(t)?K(_,t):Object.keys(t).forEach(function(G){Object.assign(A,Le(t[G],c,G))}),A;function K(G,w){c&&(w=w.map(E=>E.toLowerCase())),w.forEach(function(E){const M=E.split("|");A[M[0]]=[G,gt(M[0],M[1])]})}}function gt(t,c){return c?Number(c):ut(t)?0:1}function ut(t){return Ne.includes(t.toLowerCase())}const hn={},we=t=>{console.error(t)},_n=(t,...c)=>{console.log("WARN: ".concat(t),...c)},xe=(t,c)=>{hn["".concat(t,"/").concat(c)]||(console.log("Deprecated as of ".concat(t,". ").concat(c)),hn["".concat(t,"/").concat(c)]=!0)},Be=new Error;function yn(t,c,{key:_}){let A=0;const K=t[_],G={},w={};for(let E=1;E<=c.length;E++)w[E+A]=K[E],G[E+A]=!0,A+=C(c[E-1]);t[_]=w,t[_]._emit=G,t[_]._multi=!0}function bt(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw we("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Be;if(typeof t.beginScope!="object"||t.beginScope===null)throw we("beginScope must be object"),Be;yn(t,t.begin,{key:"beginScope"}),t.begin=D(t.begin,{joinWith:""})}}function mt(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw we("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Be;if(typeof t.endScope!="object"||t.endScope===null)throw we("endScope must be object"),Be;yn(t,t.end,{key:"endScope"}),t.end=D(t.end,{joinWith:""})}}function pt(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function ft(t){pt(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),bt(t),mt(t)}function ht(t){function c(w,E){return new RegExp(p(w),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(E?"g":""))}class _{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(E,M){M.position=this.position++,this.matchIndexes[this.matchAt]=M,this.regexes.push([M,E]),this.matchAt+=C(E)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const E=this.regexes.map(M=>M[1]);this.matcherRe=c(D(E,{joinWith:"|"}),!0),this.lastIndex=0}exec(E){this.matcherRe.lastIndex=this.lastIndex;const M=this.matcherRe.exec(E);if(!M)return null;const Q=M.findIndex((Te,sn)=>sn>0&&Te!==void 0),W=this.matchIndexes[Q];return M.splice(0,Q),Object.assign(M,W)}}class A{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(E){if(this.multiRegexes[E])return this.multiRegexes[E];const M=new _;return this.rules.slice(E).forEach(([Q,W])=>M.addRule(Q,W)),M.compile(),this.multiRegexes[E]=M,M}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(E,M){this.rules.push([E,M]),M.type==="begin"&&this.count++}exec(E){const M=this.getMatcher(this.regexIndex);M.lastIndex=this.lastIndex;let Q=M.exec(E);if(this.resumingScanAtSamePosition()&&!(Q&&Q.index===this.lastIndex)){const W=this.getMatcher(0);W.lastIndex=this.lastIndex+1,Q=W.exec(E)}return Q&&(this.regexIndex+=Q.position+1,this.regexIndex===this.count&&this.considerAll()),Q}}function K(w){const E=new A;return w.contains.forEach(M=>E.addRule(M.begin,{rule:M,type:"begin"})),w.terminatorEnd&&E.addRule(w.terminatorEnd,{type:"end"}),w.illegal&&E.addRule(w.illegal,{type:"illegal"}),E}function G(w,E){const M=w;if(w.isCompiled)return M;[Ye,tn,ft,z].forEach(W=>W(w,E)),t.compilerExtensions.forEach(W=>W(w,E)),w.__beforeBegin=null,[en,nn,an].forEach(W=>W(w,E)),w.isCompiled=!0;let Q=null;return typeof w.keywords=="object"&&w.keywords.$pattern&&(w.keywords=Object.assign({},w.keywords),Q=w.keywords.$pattern,delete w.keywords.$pattern),Q=Q||/\w+/,w.keywords&&(w.keywords=Le(w.keywords,t.case_insensitive)),M.keywordPatternRe=c(Q,!0),E&&(w.begin||(w.begin=/\B|\b/),M.beginRe=c(M.begin),!w.end&&!w.endsWithParent&&(w.end=/\B|\b/),w.end&&(M.endRe=c(M.end)),M.terminatorEnd=p(M.end)||"",w.endsWithParent&&E.terminatorEnd&&(M.terminatorEnd+=(w.end?"|":"")+E.terminatorEnd)),w.illegal&&(M.illegalRe=c(w.illegal)),w.contains||(w.contains=[]),w.contains=[].concat(...w.contains.map(function(W){return _t(W==="self"?w:W)})),w.contains.forEach(function(W){G(W,M)}),w.starts&&G(w.starts,E),M.matcher=K(M),M}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=i(t.classNameAliases||{}),G(t)}function En(t){return t?t.endsWithParent||En(t.starts):!1}function _t(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(c){return i(t,{variants:null},c)})),t.cachedVariants?t.cachedVariants:En(t)?i(t,{starts:t.starts?i(t.starts):null}):Object.isFrozen(t)?i(t):t}var yt="11.11.1";class Et extends Error{constructor(c,_){super(c),this.name="HTMLInjectionError",this.html=_}}const rn=a,wn=i,vn=Symbol("nomatch"),wt=7,kn=function(t){const c=Object.create(null),_=Object.create(null),A=[];let K=!0;const G="Could not find the language '{}', did you forget to load/include a language module?",w={disableAutodetect:!0,name:"Plain text",contains:[]};let E={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:b};function M(m){return E.noHighlightRe.test(m)}function Q(m){let x=m.className+" ";x+=m.parentNode?m.parentNode.className:"";const I=E.languageDetectRe.exec(x);if(I){const U=he(I[1]);return U||(_n(G.replace("{}",I[1])),_n("Falling back to no-highlight mode for this block.",m)),U?I[1]:"no-highlight"}return x.split(/\s+/).find(U=>M(U)||he(U))}function W(m,x,I){let U="",X="";typeof x=="object"?(U=m,I=x.ignoreIllegals,X=x.language):(xe("10.7.0","highlight(lang, code, ...args) has been deprecated."),xe("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),X=m,U=x),I===void 0&&(I=!0);const ue={code:U,language:X};Fe("before:highlight",ue);const _e=ue.result?ue.result:Te(ue.language,ue.code,I);return _e.code=ue.code,Fe("after:highlight",_e),_e}function Te(m,x,I,U){const X=Object.create(null);function ue(f,N){return f.keywords[N]}function _e(){if(!O.keywords){ee.addText(P);return}let f=0;O.keywordPatternRe.lastIndex=0;let N=O.keywordPatternRe.exec(P),T="";for(;N;){T+=P.substring(f,N.index);const F=me.case_insensitive?N[0].toLowerCase():N[0],ne=ue(O,F);if(ne){const[fe,Ft]=ne;if(ee.addText(T),T="",X[F]=(X[F]||0)+1,X[F]<=wt&&(Pe+=Ft),fe.startsWith("_"))T+=N[0];else{const $t=me.classNameAliases[fe]||fe;be(N[0],$t)}}else T+=N[0];f=O.keywordPatternRe.lastIndex,N=O.keywordPatternRe.exec(P)}T+=P.substring(f),ee.addText(T)}function $e(){if(P==="")return;let f=null;if(typeof O.subLanguage=="string"){if(!c[O.subLanguage]){ee.addText(P);return}f=Te(O.subLanguage,P,!0,Tn[O.subLanguage]),Tn[O.subLanguage]=f._top}else f=on(P,O.subLanguage.length?O.subLanguage:null);O.relevance>0&&(Pe+=f.relevance),ee.__addSublanguage(f._emitter,f.language)}function oe(){O.subLanguage!=null?$e():_e(),P=""}function be(f,N){f!==""&&(ee.startScope(N),ee.addText(f),ee.endScope())}function Mn(f,N){let T=1;const F=N.length-1;for(;T<=F;){if(!f._emit[T]){T++;continue}const ne=me.classNameAliases[f[T]]||f[T],fe=N[T];ne?be(fe,ne):(P=fe,_e(),P=""),T++}}function On(f,N){return f.scope&&typeof f.scope=="string"&&ee.openNode(me.classNameAliases[f.scope]||f.scope),f.beginScope&&(f.beginScope._wrap?(be(P,me.classNameAliases[f.beginScope._wrap]||f.beginScope._wrap),P=""):f.beginScope._multi&&(Mn(f.beginScope,N),P="")),O=Object.create(f,{parent:{value:O}}),O}function An(f,N,T){let F=R(f.endRe,T);if(F){if(f["on:end"]){const ne=new n(f);f["on:end"](N,ne),ne.isMatchIgnored&&(F=!1)}if(F){for(;f.endsParent&&f.parent;)f=f.parent;return f}}if(f.endsWithParent)return An(f.parent,N,T)}function It(f){return O.matcher.regexIndex===0?(P+=f[0],1):(gn=!0,0)}function Dt(f){const N=f[0],T=f.rule,F=new n(T),ne=[T.__beforeBegin,T["on:begin"]];for(const fe of ne)if(fe&&(fe(f,F),F.isMatchIgnored))return It(N);return T.skip?P+=N:(T.excludeBegin&&(P+=N),oe(),!T.returnBegin&&!T.excludeBegin&&(P=N)),On(T,f),T.returnBegin?0:N.length}function Lt(f){const N=f[0],T=x.substring(f.index),F=An(O,f,T);if(!F)return vn;const ne=O;O.endScope&&O.endScope._wrap?(oe(),be(N,O.endScope._wrap)):O.endScope&&O.endScope._multi?(oe(),Mn(O.endScope,f)):ne.skip?P+=N:(ne.returnEnd||ne.excludeEnd||(P+=N),oe(),ne.excludeEnd&&(P=N));do O.scope&&ee.closeNode(),!O.skip&&!O.subLanguage&&(Pe+=O.relevance),O=O.parent;while(O!==F.parent);return F.starts&&On(F.starts,f),ne.returnEnd?0:N.length}function Bt(){const f=[];for(let N=O;N!==me;N=N.parent)N.scope&&f.unshift(N.scope);f.forEach(N=>ee.openNode(N))}let Ue={};function Cn(f,N){const T=N&&N[0];if(P+=f,T==null)return oe(),0;if(Ue.type==="begin"&&N.type==="end"&&Ue.index===N.index&&T===""){if(P+=x.slice(N.index,N.index+1),!K){const F=new Error("0 width match regex (".concat(m,")"));throw F.languageName=m,F.badRule=Ue.rule,F}return 1}if(Ue=N,N.type==="begin")return Dt(N);if(N.type==="illegal"&&!I){const F=new Error('Illegal lexeme "'+T+'" for mode "'+(O.scope||"")+'"');throw F.mode=O,F}else if(N.type==="end"){const F=Lt(N);if(F!==vn)return F}if(N.type==="illegal"&&T==="")return P+="\n",1;if(dn>1e5&&dn>N.index*3)throw new Error("potential infinite loop, way more iterations than matches");return P+=T,T.length}const me=he(m);if(!me)throw we(G.replace("{}",m)),new Error('Unknown language: "'+m+'"');const zt=ht(me);let cn="",O=U||zt;const Tn={},ee=new E.__emitter(E);Bt();let P="",Pe=0,ve=0,dn=0,gn=!1;try{if(me.__emitTokens)me.__emitTokens(x,ee);else{for(O.matcher.considerAll();;){dn++,gn?gn=!1:O.matcher.considerAll(),O.matcher.lastIndex=ve;const f=O.matcher.exec(x);if(!f)break;const N=x.substring(ve,f.index),T=Cn(N,f);ve=f.index+T}Cn(x.substring(ve))}return ee.finalize(),cn=ee.toHTML(),{language:m,value:cn,relevance:Pe,illegal:!1,_emitter:ee,_top:O}}catch(f){if(f.message&&f.message.includes("Illegal"))return{language:m,value:rn(x),illegal:!0,relevance:0,_illegalBy:{message:f.message,index:ve,context:x.slice(ve-100,ve+100),mode:f.mode,resultSoFar:cn},_emitter:ee};if(K)return{language:m,value:rn(x),illegal:!1,relevance:0,errorRaised:f,_emitter:ee,_top:O};throw f}}function sn(m){const x={value:rn(m),illegal:!1,relevance:0,_top:w,_emitter:new E.__emitter(E)};return x._emitter.addText(m),x}function on(m,x){x=x||E.languages||Object.keys(c);const I=sn(m),U=x.filter(he).filter(Sn).map(oe=>Te(oe,m,!1));U.unshift(I);const X=U.sort((oe,be)=>{if(oe.relevance!==be.relevance)return be.relevance-oe.relevance;if(oe.language&&be.language){if(he(oe.language).supersetOf===be.language)return 1;if(he(be.language).supersetOf===oe.language)return-1}return 0}),[ue,_e]=X,$e=ue;return $e.secondBest=_e,$e}function vt(m,x,I){const U=x&&_[x]||I;m.classList.add("hljs"),m.classList.add("language-".concat(U))}function ln(m){let x=null;const I=Q(m);if(M(I))return;if(Fe("before:highlightElement",{el:m,language:I}),m.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",m);return}if(m.children.length>0&&(E.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(m)),E.throwUnescapedHTML))throw new Et("One of your code blocks includes unescaped HTML.",m.innerHTML);x=m;const U=x.textContent,X=I?W(U,{language:I,ignoreIllegals:!0}):on(U);m.innerHTML=X.value,m.dataset.highlighted="yes",vt(m,I,X.language),m.result={language:X.language,re:X.relevance,relevance:X.relevance},X.secondBest&&(m.secondBest={language:X.secondBest.language,relevance:X.secondBest.relevance}),Fe("after:highlightElement",{el:m,result:X,text:U})}function kt(m){E=wn(E,m)}const Nt=()=>{ze(),xe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function xt(){ze(),xe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Nn=!1;function ze(){function m(){ze()}if(document.readyState==="loading"){Nn||window.addEventListener("DOMContentLoaded",m,!1),Nn=!0;return}document.querySelectorAll(E.cssSelector).forEach(ln)}function St(m,x){let I=null;try{I=x(t)}catch(U){if(we("Language definition for '{}' could not be registered.".replace("{}",m)),K)we(U);else throw U;I=w}I.name||(I.name=m),c[m]=I,I.rawDefinition=x.bind(null,t),I.aliases&&xn(I.aliases,{languageName:m})}function Mt(m){delete c[m];for(const x of Object.keys(_))_[x]===m&&delete _[x]}function Ot(){return Object.keys(c)}function he(m){return m=(m||"").toLowerCase(),c[m]||c[_[m]]}function xn(m,{languageName:x}){typeof m=="string"&&(m=[m]),m.forEach(I=>{_[I.toLowerCase()]=x})}function Sn(m){const x=he(m);return x&&!x.disableAutodetect}function At(m){m["before:highlightBlock"]&&!m["before:highlightElement"]&&(m["before:highlightElement"]=x=>{m["before:highlightBlock"](Object.assign({block:x.el},x))}),m["after:highlightBlock"]&&!m["after:highlightElement"]&&(m["after:highlightElement"]=x=>{m["after:highlightBlock"](Object.assign({block:x.el},x))})}function Ct(m){At(m),A.push(m)}function Tt(m){const x=A.indexOf(m);x!==-1&&A.splice(x,1)}function Fe(m,x){const I=m;A.forEach(function(U){U[I]&&U[I](x)})}function Rt(m){return xe("10.7.0","highlightBlock will be removed entirely in v12.0"),xe("10.7.0","Please use highlightElement now."),ln(m)}Object.assign(t,{highlight:W,highlightAuto:on,highlightAll:ze,highlightElement:ln,highlightBlock:Rt,configure:kt,initHighlighting:Nt,initHighlightingOnLoad:xt,registerLanguage:St,unregisterLanguage:Mt,listLanguages:Ot,getLanguage:he,registerAliases:xn,autoDetection:Sn,inherit:wn,addPlugin:Ct,removePlugin:Tt}),t.debugMode=function(){K=!1},t.safeMode=function(){K=!0},t.versionString=yt,t.regex={concat:h,lookahead:u,either:S,optional:v,anyNumberOfTimes:y};for(const m in ke)typeof ke[m]=="object"&&e(ke[m]);return Object.assign(t,ke),t},Se=kn({});return Se.newInstance=()=>kn({}),mn=Se,Se.HighlightJS=Se,Se.default=Se,mn}var Ei=yi();const wi=Ut(Ei),qn={},vi="hljs-";function ki(e){const n=wi.newInstance();return e&&d(e),{highlight:a,highlightAuto:i,listLanguages:r,register:d,registerAlias:s,registered:l};function a(g,o,b){const p=b||qn,u=typeof p.prefix=="string"?p.prefix:vi;if(!n.getLanguage(g))throw new Error("Unknown language: `"+g+"` is not registered");n.configure({__emitter:Ni,classPrefix:u});const y=n.highlight(o,{ignoreIllegals:!0,language:g});if(y.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:y.errorRaised});const v=y._emitter.root,h=v.data;return h.language=y.language,h.relevance=y.relevance,v}function i(g,o){const b=(o||qn).subset||r();let p=-1,u=0,y;for(;++pu&&(u=h.data.relevance,y=h)}return y||{type:"root",children:[],data:{language:void 0,relevance:u}}}function r(){return n.listLanguages()}function d(g,o){if(typeof g=="string")n.registerLanguage(g,o);else{let b;for(b in g)Object.hasOwn(g,b)&&n.registerLanguage(b,g[b])}}function s(g,o){if(typeof g=="string")n.registerAliases(typeof o=="string"?o:[...o],{languageName:g});else{let b;for(b in g)if(Object.hasOwn(g,b)){const p=g[b];n.registerAliases(typeof p=="string"?p:[...p],{languageName:b})}}}function l(g){return!!n.getLanguage(g)}}class Ni{constructor(n){this.options=n,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(n){if(n==="")return;const a=this.stack[this.stack.length-1],i=a.children[a.children.length-1];i&&i.type==="text"?i.value+=n:a.children.push({type:"text",value:n})}startScope(n){this.openNode(String(n))}endScope(){this.closeNode()}__addSublanguage(n,a){const i=this.stack[this.stack.length-1],r=n.root.children;a?i.children.push({type:"element",tagName:"span",properties:{className:[a]},children:r}):i.children.push(...r)}openNode(n){const a=this,i=n.split(".").map(function(s,l){return l?s+"_".repeat(l):a.options.classPrefix+s}),r=this.stack[this.stack.length-1],d={type:"element",tagName:"span",properties:{className:i},children:[]};r.children.push(d),this.stack.push(d)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const xi={};function Ii(e){const n=e||xi,a=n.aliases,i=n.detect||!1,r=n.languages||_i,d=n.plainText,s=n.prefix,l=n.subset;let g="hljs";const o=ki(r);if(a&&o.registerAlias(a),s){const b=s.indexOf("-");g=b===-1?s:s.slice(0,b)}return function(b,p){jt(b,"element",function(u,y,v){if(u.tagName!=="code"||!v||v.type!=="element"||v.tagName!=="pre")return;const h=Si(u);if(h===!1||!h&&!i||h&&d&&d.includes(h))return;Array.isArray(u.properties.className)||(u.properties.className=[]),u.properties.className.includes(g)||u.properties.className.unshift(g);const k=Gt(u,{whitespace:"pre"});let S;try{S=h?o.highlight(h,k,{prefix:s}):o.highlightAuto(k,{prefix:s,subset:l})}catch(C){const R=C;if(h&&/Unknown language/.test(R.message)){p.message("Cannot highlight as `"+h+"`, it’s not registered",{ancestors:[v,u],cause:R,place:u.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw R}!h&&S.data&&S.data.language&&u.properties.className.push("language-"+S.data.language),S.children.length>0&&(u.children=S.children)})}}function Si(e){const n=e.properties.className;let a=-1;if(!Array.isArray(n))return;let i;for(;++ao&&(o=b):b&&(o!==void 0&&o>-1&&g.push("\n".repeat(o)||" "),o=-1,g.push(b))}return g.join("")}function Gn(e,n,a){return e.type==="element"?Ht(e,n,a):e.type==="text"?a.whitespace==="normal"?Hn(e,a):Zt(e):[]}function Ht(e,n,a){const i=Zn(e,a),r=e.children||[];let d=-1,s=[];if(Kt(e))return s;let l,g;for(pn(e)||Bn(e)&&Rn(n,e,Bn)?g="\n":qt(e)?(l=2,g=2):Kn(e)&&(l=1,g=1);++d]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",u=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],y=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],v=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],h=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],k={type:y,keyword:u,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:v},S={className:"function.dispatch",relevance:0,keywords:{_hint:h},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},C=[S,o,s,a,e.C_BLOCK_COMMENT_MODE,g,l],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:k,contains:C.concat([{begin:/\(/,end:/\)/,keywords:k,contains:C.concat(["self"]),relevance:0}]),relevance:0},B={className:"function",begin:"("+d+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:k,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:k,relevance:0},{begin:p,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,g]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,l,g,s,{begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,l,g,s]}]},s,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:k,illegal:"",keywords:k,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:k},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function Yt(e){const n={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},a=Jt(e),i=a.keywords;return i.type=[...i.type,...n.type],i.literal=[...i.literal,...n.literal],i.built_in=[...i.built_in,...n.built_in],i._hints=n._hints,a.name="Arduino",a.aliases=["ino"],a.supersetOf="cpp",a}function ea(e){const n=e.regex,a={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},d=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,r]};r.contains.push(l);const g={match:/\\"/},o={className:"string",begin:/'/,end:/'/},b={match:/\\'/},p={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],y=e.SHEBANG({binary:"(".concat(u.join("|"),")"),relevance:10}),v={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},h=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],k=["true","false"],S={match:/(\/[a-z._-]+)+/},C=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],R=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],B=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],D=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:h,literal:k,built_in:[...C,...R,"set","shopt",...B,...D]},contains:[y,e.SHEBANG(),v,p,d,s,S,l,g,o,b,a]}}function na(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",d="("+i+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",u={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},y=[o,s,a,e.C_BLOCK_COMMENT_MODE,g,l],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:y.concat([{begin:/\(/,end:/\)/,keywords:u,contains:y.concat(["self"]),relevance:0}]),relevance:0},h={begin:"("+d+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:u,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(b,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,l,g,s,{begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,l,g,s]}]},s,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C",aliases:["h"],keywords:u,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:l,keywords:u}}}function ta(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",d="(?!struct)("+i+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",u=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],y=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],v=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],h=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],k={type:y,keyword:u,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:v},S={className:"function.dispatch",relevance:0,keywords:{_hint:h},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},C=[S,o,s,a,e.C_BLOCK_COMMENT_MODE,g,l],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:k,contains:C.concat([{begin:/\(/,end:/\)/,keywords:k,contains:C.concat(["self"]),relevance:0}]),relevance:0},B={className:"function",begin:"("+d+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:k,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:k,relevance:0},{begin:p,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,g]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,l,g,s,{begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,l,g,s]}]},s,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:k,illegal:"",keywords:k,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:k},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function aa(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],a=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],d=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:r.concat(d),built_in:n,literal:i},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),g={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},b={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},p=e.inherit(b,{illegal:/\n/}),u={className:"subst",begin:/\{/,end:/\}/,keywords:s},y=e.inherit(u,{illegal:/\n/}),v={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,y]},h={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]},k=e.inherit(h,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},y]});u.contains=[h,v,b,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,e.C_BLOCK_COMMENT_MODE],y.contains=[k,v,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const S={variants:[o,h,v,b,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},C={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},R=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",B={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},S,g,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,C,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,C,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+R+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:a.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,C],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[S,g,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},B]}}const ia=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),ra=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],sa=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],oa=[...ra,...sa],la=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ca=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),da=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ga=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function ua(e){const n=e.regex,a=ia(e),i={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r="and or not only",d=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",l=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[a.BLOCK_COMMENT,i,a.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ca.join("|")+")"},{begin:":(:)?("+da.join("|")+")"}]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ga.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[a.BLOCK_COMMENT,a.HEXCOLOR,a.IMPORTANT,a.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...l,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},a.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:d},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:r,attribute:la.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,a.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+oa.join("|")+")\\b"}]}}function ba(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function ma(e){const n={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:n,illegal:"Wn(e,n,a-1))}function ha(e){const n=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",i=a+Wn("(?:<"+a+"~~~(?:\\s*,\\s*"+a+"~~~)*>)?",/~~~/g,2),r={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},d={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},s={className:"params",begin:/\(/,end:/\)/,keywords:r,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:r,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[n.concat(/(?!else)/,a),/\s+/,a,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:r,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:r,relevance:0,contains:[d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,zn,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},zn,d]}}const Fn="[A-Za-z$_][0-9A-Za-z$_]*",_a=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],ya=["true","false","null","undefined","NaN","Infinity"],Xn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Qn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Vn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Ea=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],wa=[].concat(Vn,Xn,Qn);function va(e){const n=e.regex,a=(L,{after:Z})=>{const ae="",end:""},d=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Z)=>{const ae=L[0].length+L.index,ge=L.input[ae];if(ge==="<"||ge===","){Z.ignoreMatch();return}ge===">"&&(a(L,{after:ae})||Z.ignoreMatch());let se;const ie=L.input.substring(ae);if(se=ie.match(/^\s*=/)){Z.ignoreMatch();return}if((se=ie.match(/^\s+extends\s+/))&&se.index===0){Z.ignoreMatch();return}}},l={$pattern:Fn,keyword:_a,literal:ya,built_in:wa,"variable.language":Ea},g="[0-9](_?[0-9])*",o="\\.(".concat(g,")"),b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:"(\\b(".concat(b,")((").concat(o,")|\\.)?|(").concat(o,"))[eE][+-]?(").concat(g,")\\b")},{begin:"\\b(".concat(b,")\\b((").concat(o,")\\b|\\.)?|(").concat(o,")\\b")},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},y={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},S={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},C=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,{match:/\$\d+/},p];u.contains=C.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(C)});const R=[].concat(S,u.contains),B=R.concat([{begin:/(\s*)\(/,end:/\)/,keywords:l,contains:["self"].concat(R)}]),D={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B},V={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,n.concat(i,"(",n.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Xn,...Qn]}},J={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},le={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(L){return n.concat("(?!",L.join("|"),")")}const ce={match:n.concat(/\b/,de([...Vn,"super","import"].map(L=>"".concat(L,"\\s*\\("))),i,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},Y={begin:n.concat(/\./,n.lookahead(n.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},te="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",ye={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(te)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:B,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),J,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,S,{match:/\$\d+/},p,H,{scope:"attr",match:i+n.lookahead(":"),relevance:0},ye,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,e.REGEXP_MODE,{className:"function",begin:te,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:d},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},Y,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},ce,le,V,j,{match:/\$[(.]/}]}}function ka(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],r={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:i},contains:[n,a,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var Oe="[0-9](_*[0-9])*",Ke="\\.(".concat(Oe,")"),Ge="[0-9a-fA-F](_*[0-9a-fA-F])*",Na={className:"number",variants:[{begin:"(\\b(".concat(Oe,")((").concat(Ke,")|\\.)?|(").concat(Ke,"))[eE][+-]?(").concat(Oe,")[fFdD]?\\b")},{begin:"\\b(".concat(Oe,")((").concat(Ke,")[fFdD]?\\b|\\.([fFdD]\\b)?)")},{begin:"(".concat(Ke,")[fFdD]?\\b")},{begin:"\\b(".concat(Oe,")[fFdD]\\b")},{begin:"\\b0[xX]((".concat(Ge,")\\.?|(").concat(Ge,")?\\.(").concat(Ge,"))[pP][+-]?(").concat(Oe,")[fFdD]?\\b")},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:"\\b0[xX](".concat(Ge,")[lL]?\\b")},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function xa(e){const n={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},i={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},s={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,d,r]}]};r.contains.push(s);const l={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(s,{className:"string"}),"self"]}]},o=Na,b=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),p={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},u=p;return u.variants[1].contains=[p],p.variants[1].contains=[u],{name:"Kotlin",aliases:["kt","kts"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,b,a,i,l,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[p,e.C_LINE_COMMENT_MODE,b],relevance:0},e.C_LINE_COMMENT_MODE,b,l,g,s,e.C_NUMBER_MODE]},b]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},l,g]},s,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},o]}}const Sa=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Ma=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Oa=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Aa=[...Ma,...Oa],Ca=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Jn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Yn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Ta=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),Ra=Jn.concat(Yn).sort().reverse();function Ia(e){const n=Sa(e),a=Ra,i="and or not only",r="[\\w-]+",d="("+r+"|@\\{"+r+"\\})",s=[],l=[],g=function(R){return{className:"string",begin:"~?"+R+".*?"+R}},o=function(R,B,D){return{className:R,begin:B,relevance:D}},b={$pattern:/[a-z-]+/,keyword:i,attribute:Ca.join(" ")},p={begin:"\\(",end:"\\)",contains:l,keywords:b,relevance:0};l.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g("'"),g('"'),n.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},n.HEXCOLOR,p,o("variable","@@?"+r,10),o("variable","@\\{"+r+"\\}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},n.IMPORTANT,{beginKeywords:"and not"},n.FUNCTION_DISPATCH);const u=l.concat({begin:/\{/,end:/\}/,contains:s}),y={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(l)},v={begin:d+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ta.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:l}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:l,relevance:0}},k={className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r}],starts:{end:"[;}]",returnEnd:!0,contains:u}},S={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:d,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,y,o("keyword","all\\b"),o("variable","@\\{"+r+"\\}"),{begin:"\\b("+Aa.join("|")+")\\b",className:"selector-tag"},n.CSS_NUMBER_MODE,o("selector-tag",d,0),o("selector-id","#"+d),o("selector-class","\\."+d,0),o("selector-tag","&",0),n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+Jn.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Yn.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:"!important"},n.FUNCTION_DISPATCH]},C={begin:r+":(:)?(".concat(a.join("|"),")"),returnBegin:!0,contains:[S]};return s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,k,C,v,S,y,n.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:s}}function Da(e){const n="\\[=*\\[",a="\\]=*\\]",i={begin:n,end:a,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,a,{contains:[i],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:a,contains:[i],relevance:5}])}}function La(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},d={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,g={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},o={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},b={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},p=e.inherit(o,{contains:[]}),u=e.inherit(b,{contains:[]});o.contains.push(u),b.contains.push(p);let y=[a,g];return[o,b,p,u].forEach(v=>{v.contains=v.contains.concat(y)}),y=y.concat(o,b),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:y},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:y}]}]},a,d,o,b,{className:"quote",begin:"^>\\s+",contains:y,end:"$"},r,i,g,s,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function za(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,i={"variable.language":["this","super"],$pattern:a,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},r={$pattern:a,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:i,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+r.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:r,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Fa(e){const n=e.regex,a=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:a.join(" ")},d={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},s={begin:/->\{/,end:/\}/},l={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},g={scope:"variable",variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[l]},o={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},b=[e.BACKSLASH_ESCAPE,d,g],p=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(h,k,S="\\1")=>{const C=S==="\\1"?S:n.concat(S,k);return n.concat(n.concat("(?:",h,")"),k,/(?:\\.|[^\\\/])*?/,C,/(?:\\.|[^\\\/])*?/,S,i)},y=(h,k,S)=>n.concat(n.concat("(?:",h,")"),k,/(?:\\.|[^\\\/])*?/,S,i),v=[g,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:b,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},o,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",n.either(...p,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:y("(?:m|qr)?",/\//,/\//)},{begin:y("m|qr",n.either(...p,{capture:!0}),/\1/)},{begin:y("m|qr",/\(/,/\)/)},{begin:y("m|qr",/\[/,/\]/)},{begin:y("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,l]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,l,o]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return d.contains=v,s.contains=v,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:v}}function $a(e){const n=e.regex,a=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),d=n.concat(/[A-Z]+/,a),s={scope:"variable",match:"\\$+"+i},l={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},g={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},o=e.inherit(e.APOS_STRING_MODE,{illegal:null}),b=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(g)}),p={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(g),"on:begin":(Y,j)=>{j.data._beginMatch=Y[1]||Y[2]},"on:end":(Y,j)=>{j.data._beginMatch!==Y[1]&&j.ignoreMatch()}},u=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),y="[ \n]",v={scope:"string",variants:[b,o,p,u]},h={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},k=["false","null","true"],S=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],C=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],R={keyword:S,literal:(Y=>{const j=[];return Y.forEach(te=>{j.push(te),te.toLowerCase()===te?j.push(te.toUpperCase()):j.push(te.toLowerCase())}),j})(k),built_in:C},B=Y=>Y.map(j=>j.replace(/\|\d+$/,"")),D={variants:[{match:[/new/,n.concat(y,"+"),n.concat("(?!",B(C).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},V=n.concat(i,"\\b(?!\\()"),H={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),V],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),V],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},J={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},q={relevance:0,begin:/\(/,end:/\)/,keywords:R,contains:[J,s,H,e.C_BLOCK_COMMENT_MODE,v,h,D]},le={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",B(S).join("\\b|"),"|",B(C).join("\\b|"),"\\b)"),i,n.concat(y,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[q]};q.contains.push(le);const de=[J,H,e.C_BLOCK_COMMENT_MODE,v,h,D],ce={begin:n.concat(/#\[\s*\\?/,n.either(r,d)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:k,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:k,keyword:["new","array"]},contains:["self",...de]},...de,{scope:"meta",variants:[{match:r},{match:d}]}]};return{case_insensitive:!1,keywords:R,contains:[ce,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},l,{scope:"variable.language",match:/\$this\b/},s,le,H,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},D,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:R,contains:["self",ce,s,H,e.C_BLOCK_COMMENT_MODE,v,h]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},v,h]}}function Ua(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function Pa(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function ja(e){const n=e.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},s={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},l={begin:/\{\{/,relevance:0},g={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,l,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,l,s]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,l,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,l,s]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},o="[0-9](_?[0-9])*",b="(\\b(".concat(o,"))?\\.(").concat(o,")|\\b(").concat(o,")\\."),p="\\b|".concat(i.join("|")),u={className:"number",relevance:0,variants:[{begin:"(\\b(".concat(o,")|(").concat(b,"))[eE][+-]?(").concat(o,")[jJ]?(?=").concat(p,")")},{begin:"(".concat(b,")[jJ]?")},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=".concat(p,")")},{begin:"\\b0[bB](_?[01])+[lL]?(?=".concat(p,")")},{begin:"\\b0[oO](_?[0-7])+[lL]?(?=".concat(p,")")},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=".concat(p,")")},{begin:"\\b(".concat(o,")[jJ](?=").concat(p,")")}]},y={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},v={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",d,u,g,e.HASH_COMMENT_MODE]}]};return s.contains=[g,u,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[d,u,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},g,y,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[v]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[u,v,g]}]}}function qa(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Ka(e){const n=e.regex,a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,d=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:a},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[d,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[a,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:d},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function Ga(e){const n=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(i,/(::\w+)*/),d={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},g=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],o={className:"subst",begin:/#\{/,end:/\}/,keywords:d},b={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,o]})]}]},p="[1-9](_?[0-9])*|0",u="[0-9](_?[0-9])*",y={className:"number",relevance:0,variants:[{begin:"\\b(".concat(p,")(\\.(").concat(u,"))?([eE][+-]?(").concat(u,")|r)?i?\\b")},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:d}]},h=[b,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:d},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[v]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[b,{begin:a}],relevance:0},y,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:d},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,g),relevance:0}].concat(l,g);o.contains=h,v.contains=h;const k=[{begin:/^\s*=>/,starts:{end:"$",contains:h}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:d,contains:h}}];return g.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:d,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(k).concat(g).concat(h)}}function Ha(e){const n=e.regex,a=/(r#)?/,i=n.concat(a,e.UNDERSCORE_IDENT_RE),r=n.concat(a,e.IDENT_RE),d={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let|for|while|if|else|match\b)/,r,n.lookahead(/\s*\(/))},s="([ui](8|16|32|64|128|size)|f(32|64))?",l=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],g=["true","false","Some","None","Ok","Err"],o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],b=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:b,keyword:l,literal:g,built_in:o},illegal:""},d]}}const Za=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Wa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Xa=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Qa=[...Wa,...Xa],Va=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Ja=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Ya=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ei=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function ni(e){const n=Za(e),a=Ya,i=Ja,r="@[a-z-]+",d="and or not only",s={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Qa.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+i.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[n.CSS_NUMBER_MODE]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ei.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[n.BLOCK_COMMENT,s,n.HEXCOLOR,n.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.IMPORTANT,n.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:r,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:Va.join(" ")},contains:[{begin:r,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.HEXCOLOR,n.CSS_NUMBER_MODE]},n.FUNCTION_DISPATCH]}}function ti(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function ai(e){const n=e.regex,a=e.COMMENT("--","$"),i={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},r={begin:/"/,end:/"/,contains:[{match:/""/}]},d=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],g=["add","asc","collation","desc","final","first","last","view"],o=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],b=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],p=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],u=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],y=b,v=[...o,...g].filter(D=>!b.includes(D)),h={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},k={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},S={match:n.concat(/\b/,n.either(...y),/\s*\(/),relevance:0,keywords:{built_in:y}};function C(D){return n.concat(/\b/,n.either(...D.map(V=>V.replace(/\s+/,"\\s+"))),/\b/)}const R={scope:"keyword",match:C(u),relevance:0};function B(D,{exceptions:V,when:H}={}){const J=H;return V=V||[],D.map(q=>q.match(/\|\d+$/)||V.includes(q)?q:J(q)?"".concat(q,"|0"):q)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:B(v,{when:D=>D.length<3}),literal:d,type:l,built_in:p},contains:[{scope:"type",match:C(s)},R,S,h,i,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,k]}}function et(e){return e?typeof e=="string"?e:e.source:null}function Re(e){return $("(?=",e,")")}function $(...e){return e.map(n=>et(n)).join("")}function ii(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function re(...e){return"("+(ii(e).capture?"":"?:")+e.map(n=>et(n)).join("|")+")"}const fn=e=>$(/\b/,e,/\w$/.test(e)?/\b/:/\B/),ri=["Protocol","Type"].map(fn),$n=["init","self"].map(fn),si=["Any","Self"],un=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Un=["false","nil","true"],oi=["assignment","associativity","higherThan","left","lowerThan","none","right"],li=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Pn=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],nt=re(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),tt=re(nt,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),bn=$(nt,tt,"*"),at=re(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Ze=re(at,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),pe=$(at,Ze,"*"),He=$(/[A-Z]/,Ze,"*"),ci=["attached","autoclosure",$(/convention\(/,re("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",$(/objc\(/,pe,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],di=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function gi(e){const n={match:/\s+/,relevance:0},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),i=[e.C_LINE_COMMENT_MODE,a],r={match:[/\./,re(...ri,...$n)],className:{2:"keyword"}},d={match:$(/\./,re(...un)),relevance:0},s=un.filter(z=>typeof z=="string").concat(["_|0"]),l=un.filter(z=>typeof z!="string").concat(si).map(fn),g={variants:[{className:"keyword",match:re(...l,...$n)}]},o={$pattern:re(/\b\w+/,/#\w+/),keyword:s.concat(li),literal:Un},b=[r,d,g],p={match:$(/\./,re(...Pn)),relevance:0},u={className:"built_in",match:$(/\b/,re(...Pn),/(?=\()/)},y=[p,u],v={match:/->/,relevance:0},h={className:"operator",relevance:0,variants:[{match:bn},{match:"\\.(\\.|".concat(tt,")+")}]},k=[v,h],S="([0-9]_*)+",C="([0-9a-fA-F]_*)+",R={className:"number",relevance:0,variants:[{match:"\\b(".concat(S,")(\\.(").concat(S,"))?([eE][+-]?(").concat(S,"))?\\b")},{match:"\\b0x(".concat(C,")(\\.(").concat(C,"))?([pP][+-]?(").concat(S,"))?\\b")},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},B=(z="")=>({className:"subst",variants:[{match:$(/\\/,z,/[0\\tnr"']/)},{match:$(/\\/,z,/u\{[0-9a-fA-F]{1,8}\}/)}]}),D=(z="")=>({className:"subst",match:$(/\\/,z,/[\t ]*(?:[\r\n]|\r\n)/)}),V=(z="")=>({className:"subst",label:"interpol",begin:$(/\\/,z,/\(/),end:/\)/}),H=(z="")=>({begin:$(z,/"""/),end:$(/"""/,z),contains:[B(z),D(z),V(z)]}),J=(z="")=>({begin:$(z,/"/),end:$(/"/,z),contains:[B(z),V(z)]}),q={className:"string",variants:[H(),H("#"),H("##"),H("###"),J(),J("#"),J("##"),J("###")]},le=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],de={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:le},ce=z=>{const Ne=$(z,/\//),Ee=$(/\//,z);return{begin:Ne,end:Ee,contains:[...le,{scope:"comment",begin:"#(?!.*".concat(Ee,")"),end:/$/}]}},Y={scope:"regexp",variants:[ce("###"),ce("##"),ce("#"),de]},j={match:$(/`/,pe,/`/)},te={className:"variable",match:/\$\d+/},ye={className:"variable",match:"\\$".concat(Ze,"+")},L=[j,te,ye],Z={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:di,contains:[...k,R,q]}]}},ae={scope:"keyword",match:$(/@/,re(...ci),Re(re(/\(/,/\s+/)))},ge={scope:"meta",match:$(/@/,pe)},se=[Z,ae,ge],ie={match:Re(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:$(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Ze,"+")},{className:"type",match:He,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:$(/\s+&\s+/,Re(He)),relevance:0}]},Xe={begin://,keywords:o,contains:[...i,...b,...se,v,ie]};ie.contains.push(Xe);const Qe={match:$(pe,/\s*:/),keywords:"_|0",relevance:0},Ie={begin:/\(/,end:/\)/,relevance:0,keywords:o,contains:["self",Qe,...i,Y,...b,...y,...k,R,q,...L,...se,ie]},Ce={begin://,keywords:"repeat each",contains:[...i,ie]},Ve={begin:re(Re($(pe,/\s*:/)),Re($(pe,/\s+/,pe,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:pe}]},De={begin:/\(/,end:/\)/,keywords:o,contains:[Ve,...i,...b,...k,R,q,...se,ie,Ie],endsParent:!0,illegal:/["']/},ke={match:[/(func|macro)/,/\s+/,re(j.match,pe,bn)],className:{1:"keyword",3:"title.function"},contains:[Ce,De,n],illegal:[/\[/,/%/]},Je={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ce,De,n],illegal:/\[|%/},Ye={match:[/operator/,/\s+/,bn],className:{1:"keyword",3:"title"}},en={begin:[/precedencegroup/,/\s+/,He],className:{1:"keyword",3:"title"},contains:[ie],keywords:[...oi,...Un],end:/}/},nn={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},tn={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},an={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,pe,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:o,contains:[Ce,...b,{begin:/:/,end:/\{/,keywords:o,contains:[{scope:"title.class.inherited",match:He},...b],relevance:0}]};for(const z of q.variants){const Ne=z.contains.find(Le=>Le.label==="interpol");Ne.keywords=o;const Ee=[...b,...y,...k,R,q,...L];Ne.contains=[...Ee,{begin:/\(/,end:/\)/,contains:["self",...Ee]}]}return{name:"Swift",keywords:o,contains:[...i,ke,Je,nn,tn,an,Ye,en,{beginKeywords:"import",end:/$/,contains:[...i],relevance:0},Y,...b,...y,...k,R,q,...L,...se,ie,Ie]}}const We="[A-Za-z$_][0-9A-Za-z$_]*",it=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rt=["true","false","null","undefined","NaN","Infinity"],st=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ot=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],lt=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ct=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],dt=[].concat(lt,st,ot);function ui(e){const n=e.regex,a=(L,{after:Z})=>{const ae="",end:""},d=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Z)=>{const ae=L[0].length+L.index,ge=L.input[ae];if(ge==="<"||ge===","){Z.ignoreMatch();return}ge===">"&&(a(L,{after:ae})||Z.ignoreMatch());let se;const ie=L.input.substring(ae);if(se=ie.match(/^\s*=/)){Z.ignoreMatch();return}if((se=ie.match(/^\s+extends\s+/))&&se.index===0){Z.ignoreMatch();return}}},l={$pattern:We,keyword:it,literal:rt,built_in:dt,"variable.language":ct},g="[0-9](_?[0-9])*",o="\\.(".concat(g,")"),b="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:"(\\b(".concat(b,")((").concat(o,")|\\.)?|(").concat(o,"))[eE][+-]?(").concat(g,")\\b")},{begin:"\\b(".concat(b,")\\b((").concat(o,")\\b|\\.)?|(").concat(o,")\\b")},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},y={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},S={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},C=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,{match:/\$\d+/},p];u.contains=C.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(C)});const R=[].concat(S,u.contains),B=R.concat([{begin:/(\s*)\(/,end:/\)/,keywords:l,contains:["self"].concat(R)}]),D={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B},V={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,n.concat(i,"(",n.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...st,...ot]}},J={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},le={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(L){return n.concat("(?!",L.join("|"),")")}const ce={match:n.concat(/\b/,de([...lt,"super","import"].map(L=>"".concat(L,"\\s*\\("))),i,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},Y={begin:n.concat(/\./,n.lookahead(n.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},te="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",ye={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(te)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:B,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),J,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,y,v,h,k,S,{match:/\$\d+/},p,H,{scope:"attr",match:i+n.lookahead(":"),relevance:0},ye,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[S,e.REGEXP_MODE,{className:"function",begin:te,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:B}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:d},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,e.inherit(e.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},Y,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},ce,le,V,j,{match:/\$[(.]/}]}}function bi(e){const n=e.regex,a=ui(e),i=We,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],d={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[a.exports.CLASS_REFERENCE]},l={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},g=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],o={$pattern:We,keyword:it.concat(g),literal:rt,built_in:dt.concat(r),"variable.language":ct},b={className:"meta",begin:"@"+i},p=(h,k,S)=>{const C=h.contains.findIndex(R=>R.label===k);if(C===-1)throw new Error("can not find mode to replace");h.contains.splice(C,1,S)};Object.assign(a.keywords,o),a.exports.PARAMS_CONTAINS.push(b);const u=a.contains.find(h=>h.scope==="attr"),y=Object.assign({},u,{match:n.concat(i,n.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,u,y]),a.contains=a.contains.concat([b,d,s,y]),p(a,"shebang",e.SHEBANG()),p(a,"use_strict",l);const v=a.contains.find(h=>h.label==="func.def");return v.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function mi(e){const n=e.regex,a={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,d=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,g={className:"literal",variants:[{begin:n.concat(/# */,n.either(d,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,s,/ *#/)},{begin:n.concat(/# */,n.either(d,r),/ +/,n.either(s,l),/ *#/)}]},o={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},b={className:"label",begin:/^\w+:/},p=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),u=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[a,i,g,o,b,p,u,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[u]}]}}function pi(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const a=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},d={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},g={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},o={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[a,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},d,s,r,e.QUOTE_STRING_MODE,g,o,l]}}function fi(e){const n=e.regex,a=n.concat(new RegExp("[\\p{L}_]","u"),n.optional(new RegExp("[\\p{L}0-9_.-]*:","u")),new RegExp("[\\p{L}0-9_.-]*","u")),i=new RegExp("[\\p{L}0-9._:-]+","u"),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(d,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),g=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),o={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[d,g,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[d,s,g,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[g]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[o],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[o],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:o}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function hi(e){const n="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},d={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},s={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},l=e.inherit(s,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),g={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},o={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},b={begin:/\{/,end:/\}/,contains:[o],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[o],illegal:"\\n",relevance:0},u=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},g,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},b,p,d,s],y=[...u];return y.pop(),y.push(l),o.contains=y,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:u}}const _i={arduino:Yt,bash:ea,c:na,cpp:ta,csharp:aa,css:ua,diff:ba,go:ma,graphql:pa,ini:fa,java:ha,javascript:va,json:ka,kotlin:xa,less:Ia,lua:Da,makefile:La,markdown:Ba,objectivec:za,perl:Fa,php:$a,"php-template":Ua,plaintext:Pa,python:ja,"python-repl":qa,r:Ka,ruby:Ga,rust:Ha,scss:ni,shell:ti,sql:ai,swift:gi,typescript:bi,vbnet:mi,wasm:pi,xml:fi,yaml:hi};var mn,jn;function yi(){if(jn)return mn;jn=1;function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(c=>{const _=t[c],A=typeof _;(A==="object"||A==="function")&&!Object.isFrozen(_)&&e(_)}),t}class n{constructor(c){c.data===void 0&&(c.data={}),this.data=c.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function i(t,...c){const _=Object.create(null);for(const A in t)_[A]=t[A];return c.forEach(function(A){for(const K in A)_[K]=A[K]}),_}const r="",d=t=>!!t.scope,s=(t,{prefix:c})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const _=t.split(".");return["".concat(c).concat(_.shift()),..._.map((A,K)=>"".concat(A).concat("_".repeat(K+1)))].join(" ")}return"".concat(c).concat(t)};class l{constructor(c,_){this.buffer="",this.classPrefix=_.classPrefix,c.walk(this)}addText(c){this.buffer+=a(c)}openNode(c){if(!d(c))return;const _=s(c.scope,{prefix:this.classPrefix});this.span(_)}closeNode(c){d(c)&&(this.buffer+=r)}value(){return this.buffer}span(c){this.buffer+='')}}const g=(t={})=>{const c={children:[]};return Object.assign(c,t),c};class o{constructor(){this.rootNode=g(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(c){this.top.children.push(c)}openNode(c){const _=g({scope:c});this.add(_),this.stack.push(_)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(c){return this.constructor._walk(c,this.rootNode)}static _walk(c,_){return typeof _=="string"?c.addText(_):_.children&&(c.openNode(_),_.children.forEach(A=>this._walk(c,A)),c.closeNode(_)),c}static _collapse(c){typeof c!="string"&&c.children&&(c.children.every(_=>typeof _=="string")?c.children=[c.children.join("")]:c.children.forEach(_=>{o._collapse(_)}))}}class b extends o{constructor(c){super(),this.options=c}addText(c){c!==""&&this.add(c)}startScope(c){this.openNode(c)}endScope(){this.closeNode()}__addSublanguage(c,_){const A=c.root;_&&(A.scope="language:".concat(_)),this.add(A)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function p(t){return t?typeof t=="string"?t:t.source:null}function u(t){return h("(?=",t,")")}function y(t){return h("(?:",t,")*")}function v(t){return h("(?:",t,")?")}function h(...t){return t.map(c=>p(c)).join("")}function k(t){const c=t[t.length-1];return typeof c=="object"&&c.constructor===Object?(t.splice(t.length-1,1),c):{}}function S(...t){return"("+(k(t).capture?"":"?:")+t.map(c=>p(c)).join("|")+")"}function C(t){return new RegExp(t.toString()+"|").exec("").length-1}function R(t,c){const _=t&&t.exec(c);return _&&_.index===0}const B=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function D(t,{joinWith:c}){let _=0;return t.map(A=>{_+=1;const K=_;let G=p(A),w="";for(;G.length>0;){const E=B.exec(G);if(!E){w+=G;break}w+=G.substring(0,E.index),G=G.substring(E.index+E[0].length),E[0][0]==="\\"&&E[1]?w+="\\"+String(Number(E[1])+K):(w+=E[0],E[0]==="("&&_++)}return w}).map(A=>"(".concat(A,")")).join(c)}const V=/\b\B/,H="[a-zA-Z]\\w*",J="[a-zA-Z_]\\w*",q="\\b\\d+(\\.\\d+)?",le="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",de="\\b(0b[01]+)",ce="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Y=(t={})=>{const c=/^#![ ]*\//;return t.binary&&(t.begin=h(c,/.*\b/,t.binary,/\b.*/)),i({scope:"meta",begin:c,end:/$/,relevance:0,"on:begin":(_,A)=>{_.index!==0&&A.ignoreMatch()}},t)},j={begin:"\\\\[\\s\\S]",relevance:0},te={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[j]},ye={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[j]},L={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Z=function(t,c,_={}){const A=i({scope:"comment",begin:t,end:c,contains:[]},_);A.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const K=S("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return A.contains.push({begin:h(/[ ]+/,"(",K,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),A},ae=Z("//","$"),ge=Z("/\\*","\\*/"),se=Z("#","$"),ie={scope:"number",begin:q,relevance:0},Xe={scope:"number",begin:le,relevance:0},Qe={scope:"number",begin:de,relevance:0},Ie={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[j,{begin:/\[/,end:/\]/,relevance:0,contains:[j]}]},Ce={scope:"title",begin:H,relevance:0},Ve={scope:"title",begin:J,relevance:0},De={begin:"\\.\\s*"+J,relevance:0};var ke=Object.freeze({__proto__:null,APOS_STRING_MODE:te,BACKSLASH_ESCAPE:j,BINARY_NUMBER_MODE:Qe,BINARY_NUMBER_RE:de,COMMENT:Z,C_BLOCK_COMMENT_MODE:ge,C_LINE_COMMENT_MODE:ae,C_NUMBER_MODE:Xe,C_NUMBER_RE:le,END_SAME_AS_BEGIN:function(t){return Object.assign(t,{"on:begin":(c,_)=>{_.data._beginMatch=c[1]},"on:end":(c,_)=>{_.data._beginMatch!==c[1]&&_.ignoreMatch()}})},HASH_COMMENT_MODE:se,IDENT_RE:H,MATCH_NOTHING_RE:V,METHOD_GUARD:De,NUMBER_MODE:ie,NUMBER_RE:q,PHRASAL_WORDS_MODE:L,QUOTE_STRING_MODE:ye,REGEXP_MODE:Ie,RE_STARTERS_RE:ce,SHEBANG:Y,TITLE_MODE:Ce,UNDERSCORE_IDENT_RE:J,UNDERSCORE_TITLE_MODE:Ve});function Je(t,c){t.input[t.index-1]==="."&&c.ignoreMatch()}function Ye(t,c){t.className!==void 0&&(t.scope=t.className,delete t.className)}function en(t,c){c&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Je,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function nn(t,c){Array.isArray(t.illegal)&&(t.illegal=S(...t.illegal))}function tn(t,c){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function an(t,c){t.relevance===void 0&&(t.relevance=1)}const z=(t,c)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const _=Object.assign({},t);Object.keys(t).forEach(A=>{delete t[A]}),t.keywords=_.keywords,t.begin=h(_.beforeMatch,u(_.begin)),t.starts={relevance:0,contains:[Object.assign(_,{endsParent:!0})]},t.relevance=0,delete _.beforeMatch},Ne=["of","and","for","in","not","or","if","then","parent","list","value"],Ee="keyword";function Le(t,c,_=Ee){const A=Object.create(null);return typeof t=="string"?K(_,t.split(" ")):Array.isArray(t)?K(_,t):Object.keys(t).forEach(function(G){Object.assign(A,Le(t[G],c,G))}),A;function K(G,w){c&&(w=w.map(E=>E.toLowerCase())),w.forEach(function(E){const M=E.split("|");A[M[0]]=[G,gt(M[0],M[1])]})}}function gt(t,c){return c?Number(c):ut(t)?0:1}function ut(t){return Ne.includes(t.toLowerCase())}const hn={},we=t=>{console.error(t)},_n=(t,...c)=>{console.log("WARN: ".concat(t),...c)},xe=(t,c)=>{hn["".concat(t,"/").concat(c)]||(console.log("Deprecated as of ".concat(t,". ").concat(c)),hn["".concat(t,"/").concat(c)]=!0)},Be=new Error;function yn(t,c,{key:_}){let A=0;const K=t[_],G={},w={};for(let E=1;E<=c.length;E++)w[E+A]=K[E],G[E+A]=!0,A+=C(c[E-1]);t[_]=w,t[_]._emit=G,t[_]._multi=!0}function bt(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw we("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Be;if(typeof t.beginScope!="object"||t.beginScope===null)throw we("beginScope must be object"),Be;yn(t,t.begin,{key:"beginScope"}),t.begin=D(t.begin,{joinWith:""})}}function mt(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw we("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Be;if(typeof t.endScope!="object"||t.endScope===null)throw we("endScope must be object"),Be;yn(t,t.end,{key:"endScope"}),t.end=D(t.end,{joinWith:""})}}function pt(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function ft(t){pt(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),bt(t),mt(t)}function ht(t){function c(w,E){return new RegExp(p(w),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(E?"g":""))}class _{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(E,M){M.position=this.position++,this.matchIndexes[this.matchAt]=M,this.regexes.push([M,E]),this.matchAt+=C(E)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const E=this.regexes.map(M=>M[1]);this.matcherRe=c(D(E,{joinWith:"|"}),!0),this.lastIndex=0}exec(E){this.matcherRe.lastIndex=this.lastIndex;const M=this.matcherRe.exec(E);if(!M)return null;const Q=M.findIndex((Te,sn)=>sn>0&&Te!==void 0),W=this.matchIndexes[Q];return M.splice(0,Q),Object.assign(M,W)}}class A{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(E){if(this.multiRegexes[E])return this.multiRegexes[E];const M=new _;return this.rules.slice(E).forEach(([Q,W])=>M.addRule(Q,W)),M.compile(),this.multiRegexes[E]=M,M}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(E,M){this.rules.push([E,M]),M.type==="begin"&&this.count++}exec(E){const M=this.getMatcher(this.regexIndex);M.lastIndex=this.lastIndex;let Q=M.exec(E);if(this.resumingScanAtSamePosition()&&!(Q&&Q.index===this.lastIndex)){const W=this.getMatcher(0);W.lastIndex=this.lastIndex+1,Q=W.exec(E)}return Q&&(this.regexIndex+=Q.position+1,this.regexIndex===this.count&&this.considerAll()),Q}}function K(w){const E=new A;return w.contains.forEach(M=>E.addRule(M.begin,{rule:M,type:"begin"})),w.terminatorEnd&&E.addRule(w.terminatorEnd,{type:"end"}),w.illegal&&E.addRule(w.illegal,{type:"illegal"}),E}function G(w,E){const M=w;if(w.isCompiled)return M;[Ye,tn,ft,z].forEach(W=>W(w,E)),t.compilerExtensions.forEach(W=>W(w,E)),w.__beforeBegin=null,[en,nn,an].forEach(W=>W(w,E)),w.isCompiled=!0;let Q=null;return typeof w.keywords=="object"&&w.keywords.$pattern&&(w.keywords=Object.assign({},w.keywords),Q=w.keywords.$pattern,delete w.keywords.$pattern),Q=Q||/\w+/,w.keywords&&(w.keywords=Le(w.keywords,t.case_insensitive)),M.keywordPatternRe=c(Q,!0),E&&(w.begin||(w.begin=/\B|\b/),M.beginRe=c(M.begin),!w.end&&!w.endsWithParent&&(w.end=/\B|\b/),w.end&&(M.endRe=c(M.end)),M.terminatorEnd=p(M.end)||"",w.endsWithParent&&E.terminatorEnd&&(M.terminatorEnd+=(w.end?"|":"")+E.terminatorEnd)),w.illegal&&(M.illegalRe=c(w.illegal)),w.contains||(w.contains=[]),w.contains=[].concat(...w.contains.map(function(W){return _t(W==="self"?w:W)})),w.contains.forEach(function(W){G(W,M)}),w.starts&&G(w.starts,E),M.matcher=K(M),M}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=i(t.classNameAliases||{}),G(t)}function En(t){return t?t.endsWithParent||En(t.starts):!1}function _t(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(c){return i(t,{variants:null},c)})),t.cachedVariants?t.cachedVariants:En(t)?i(t,{starts:t.starts?i(t.starts):null}):Object.isFrozen(t)?i(t):t}var yt="11.11.1";class Et extends Error{constructor(c,_){super(c),this.name="HTMLInjectionError",this.html=_}}const rn=a,wn=i,vn=Symbol("nomatch"),wt=7,kn=function(t){const c=Object.create(null),_=Object.create(null),A=[];let K=!0;const G="Could not find the language '{}', did you forget to load/include a language module?",w={disableAutodetect:!0,name:"Plain text",contains:[]};let E={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:b};function M(m){return E.noHighlightRe.test(m)}function Q(m){let x=m.className+" ";x+=m.parentNode?m.parentNode.className:"";const I=E.languageDetectRe.exec(x);if(I){const U=he(I[1]);return U||(_n(G.replace("{}",I[1])),_n("Falling back to no-highlight mode for this block.",m)),U?I[1]:"no-highlight"}return x.split(/\s+/).find(U=>M(U)||he(U))}function W(m,x,I){let U="",X="";typeof x=="object"?(U=m,I=x.ignoreIllegals,X=x.language):(xe("10.7.0","highlight(lang, code, ...args) has been deprecated."),xe("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),X=m,U=x),I===void 0&&(I=!0);const ue={code:U,language:X};Fe("before:highlight",ue);const _e=ue.result?ue.result:Te(ue.language,ue.code,I);return _e.code=ue.code,Fe("after:highlight",_e),_e}function Te(m,x,I,U){const X=Object.create(null);function ue(f,N){return f.keywords[N]}function _e(){if(!O.keywords){ee.addText(P);return}let f=0;O.keywordPatternRe.lastIndex=0;let N=O.keywordPatternRe.exec(P),T="";for(;N;){T+=P.substring(f,N.index);const F=me.case_insensitive?N[0].toLowerCase():N[0],ne=ue(O,F);if(ne){const[fe,Ft]=ne;if(ee.addText(T),T="",X[F]=(X[F]||0)+1,X[F]<=wt&&(Pe+=Ft),fe.startsWith("_"))T+=N[0];else{const $t=me.classNameAliases[fe]||fe;be(N[0],$t)}}else T+=N[0];f=O.keywordPatternRe.lastIndex,N=O.keywordPatternRe.exec(P)}T+=P.substring(f),ee.addText(T)}function $e(){if(P==="")return;let f=null;if(typeof O.subLanguage=="string"){if(!c[O.subLanguage]){ee.addText(P);return}f=Te(O.subLanguage,P,!0,Tn[O.subLanguage]),Tn[O.subLanguage]=f._top}else f=on(P,O.subLanguage.length?O.subLanguage:null);O.relevance>0&&(Pe+=f.relevance),ee.__addSublanguage(f._emitter,f.language)}function oe(){O.subLanguage!=null?$e():_e(),P=""}function be(f,N){f!==""&&(ee.startScope(N),ee.addText(f),ee.endScope())}function Mn(f,N){let T=1;const F=N.length-1;for(;T<=F;){if(!f._emit[T]){T++;continue}const ne=me.classNameAliases[f[T]]||f[T],fe=N[T];ne?be(fe,ne):(P=fe,_e(),P=""),T++}}function On(f,N){return f.scope&&typeof f.scope=="string"&&ee.openNode(me.classNameAliases[f.scope]||f.scope),f.beginScope&&(f.beginScope._wrap?(be(P,me.classNameAliases[f.beginScope._wrap]||f.beginScope._wrap),P=""):f.beginScope._multi&&(Mn(f.beginScope,N),P="")),O=Object.create(f,{parent:{value:O}}),O}function An(f,N,T){let F=R(f.endRe,T);if(F){if(f["on:end"]){const ne=new n(f);f["on:end"](N,ne),ne.isMatchIgnored&&(F=!1)}if(F){for(;f.endsParent&&f.parent;)f=f.parent;return f}}if(f.endsWithParent)return An(f.parent,N,T)}function It(f){return O.matcher.regexIndex===0?(P+=f[0],1):(gn=!0,0)}function Dt(f){const N=f[0],T=f.rule,F=new n(T),ne=[T.__beforeBegin,T["on:begin"]];for(const fe of ne)if(fe&&(fe(f,F),F.isMatchIgnored))return It(N);return T.skip?P+=N:(T.excludeBegin&&(P+=N),oe(),!T.returnBegin&&!T.excludeBegin&&(P=N)),On(T,f),T.returnBegin?0:N.length}function Lt(f){const N=f[0],T=x.substring(f.index),F=An(O,f,T);if(!F)return vn;const ne=O;O.endScope&&O.endScope._wrap?(oe(),be(N,O.endScope._wrap)):O.endScope&&O.endScope._multi?(oe(),Mn(O.endScope,f)):ne.skip?P+=N:(ne.returnEnd||ne.excludeEnd||(P+=N),oe(),ne.excludeEnd&&(P=N));do O.scope&&ee.closeNode(),!O.skip&&!O.subLanguage&&(Pe+=O.relevance),O=O.parent;while(O!==F.parent);return F.starts&&On(F.starts,f),ne.returnEnd?0:N.length}function Bt(){const f=[];for(let N=O;N!==me;N=N.parent)N.scope&&f.unshift(N.scope);f.forEach(N=>ee.openNode(N))}let Ue={};function Cn(f,N){const T=N&&N[0];if(P+=f,T==null)return oe(),0;if(Ue.type==="begin"&&N.type==="end"&&Ue.index===N.index&&T===""){if(P+=x.slice(N.index,N.index+1),!K){const F=new Error("0 width match regex (".concat(m,")"));throw F.languageName=m,F.badRule=Ue.rule,F}return 1}if(Ue=N,N.type==="begin")return Dt(N);if(N.type==="illegal"&&!I){const F=new Error('Illegal lexeme "'+T+'" for mode "'+(O.scope||"")+'"');throw F.mode=O,F}else if(N.type==="end"){const F=Lt(N);if(F!==vn)return F}if(N.type==="illegal"&&T==="")return P+="\n",1;if(dn>1e5&&dn>N.index*3)throw new Error("potential infinite loop, way more iterations than matches");return P+=T,T.length}const me=he(m);if(!me)throw we(G.replace("{}",m)),new Error('Unknown language: "'+m+'"');const zt=ht(me);let cn="",O=U||zt;const Tn={},ee=new E.__emitter(E);Bt();let P="",Pe=0,ve=0,dn=0,gn=!1;try{if(me.__emitTokens)me.__emitTokens(x,ee);else{for(O.matcher.considerAll();;){dn++,gn?gn=!1:O.matcher.considerAll(),O.matcher.lastIndex=ve;const f=O.matcher.exec(x);if(!f)break;const N=x.substring(ve,f.index),T=Cn(N,f);ve=f.index+T}Cn(x.substring(ve))}return ee.finalize(),cn=ee.toHTML(),{language:m,value:cn,relevance:Pe,illegal:!1,_emitter:ee,_top:O}}catch(f){if(f.message&&f.message.includes("Illegal"))return{language:m,value:rn(x),illegal:!0,relevance:0,_illegalBy:{message:f.message,index:ve,context:x.slice(ve-100,ve+100),mode:f.mode,resultSoFar:cn},_emitter:ee};if(K)return{language:m,value:rn(x),illegal:!1,relevance:0,errorRaised:f,_emitter:ee,_top:O};throw f}}function sn(m){const x={value:rn(m),illegal:!1,relevance:0,_top:w,_emitter:new E.__emitter(E)};return x._emitter.addText(m),x}function on(m,x){x=x||E.languages||Object.keys(c);const I=sn(m),U=x.filter(he).filter(Sn).map(oe=>Te(oe,m,!1));U.unshift(I);const X=U.sort((oe,be)=>{if(oe.relevance!==be.relevance)return be.relevance-oe.relevance;if(oe.language&&be.language){if(he(oe.language).supersetOf===be.language)return 1;if(he(be.language).supersetOf===oe.language)return-1}return 0}),[ue,_e]=X,$e=ue;return $e.secondBest=_e,$e}function vt(m,x,I){const U=x&&_[x]||I;m.classList.add("hljs"),m.classList.add("language-".concat(U))}function ln(m){let x=null;const I=Q(m);if(M(I))return;if(Fe("before:highlightElement",{el:m,language:I}),m.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",m);return}if(m.children.length>0&&(E.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(m)),E.throwUnescapedHTML))throw new Et("One of your code blocks includes unescaped HTML.",m.innerHTML);x=m;const U=x.textContent,X=I?W(U,{language:I,ignoreIllegals:!0}):on(U);m.innerHTML=X.value,m.dataset.highlighted="yes",vt(m,I,X.language),m.result={language:X.language,re:X.relevance,relevance:X.relevance},X.secondBest&&(m.secondBest={language:X.secondBest.language,relevance:X.secondBest.relevance}),Fe("after:highlightElement",{el:m,result:X,text:U})}function kt(m){E=wn(E,m)}const Nt=()=>{ze(),xe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function xt(){ze(),xe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Nn=!1;function ze(){function m(){ze()}if(document.readyState==="loading"){Nn||window.addEventListener("DOMContentLoaded",m,!1),Nn=!0;return}document.querySelectorAll(E.cssSelector).forEach(ln)}function St(m,x){let I=null;try{I=x(t)}catch(U){if(we("Language definition for '{}' could not be registered.".replace("{}",m)),K)we(U);else throw U;I=w}I.name||(I.name=m),c[m]=I,I.rawDefinition=x.bind(null,t),I.aliases&&xn(I.aliases,{languageName:m})}function Mt(m){delete c[m];for(const x of Object.keys(_))_[x]===m&&delete _[x]}function Ot(){return Object.keys(c)}function he(m){return m=(m||"").toLowerCase(),c[m]||c[_[m]]}function xn(m,{languageName:x}){typeof m=="string"&&(m=[m]),m.forEach(I=>{_[I.toLowerCase()]=x})}function Sn(m){const x=he(m);return x&&!x.disableAutodetect}function At(m){m["before:highlightBlock"]&&!m["before:highlightElement"]&&(m["before:highlightElement"]=x=>{m["before:highlightBlock"](Object.assign({block:x.el},x))}),m["after:highlightBlock"]&&!m["after:highlightElement"]&&(m["after:highlightElement"]=x=>{m["after:highlightBlock"](Object.assign({block:x.el},x))})}function Ct(m){At(m),A.push(m)}function Tt(m){const x=A.indexOf(m);x!==-1&&A.splice(x,1)}function Fe(m,x){const I=m;A.forEach(function(U){U[I]&&U[I](x)})}function Rt(m){return xe("10.7.0","highlightBlock will be removed entirely in v12.0"),xe("10.7.0","Please use highlightElement now."),ln(m)}Object.assign(t,{highlight:W,highlightAuto:on,highlightAll:ze,highlightElement:ln,highlightBlock:Rt,configure:kt,initHighlighting:Nt,initHighlightingOnLoad:xt,registerLanguage:St,unregisterLanguage:Mt,listLanguages:Ot,getLanguage:he,registerAliases:xn,autoDetection:Sn,inherit:wn,addPlugin:Ct,removePlugin:Tt}),t.debugMode=function(){K=!1},t.safeMode=function(){K=!0},t.versionString=yt,t.regex={concat:h,lookahead:u,either:S,optional:v,anyNumberOfTimes:y};for(const m in ke)typeof ke[m]=="object"&&e(ke[m]);return Object.assign(t,ke),t},Se=kn({});return Se.newInstance=()=>kn({}),mn=Se,Se.HighlightJS=Se,Se.default=Se,mn}var Ei=yi();const wi=Ut(Ei),qn={},vi="hljs-";function ki(e){const n=wi.newInstance();return e&&d(e),{highlight:a,highlightAuto:i,listLanguages:r,register:d,registerAlias:s,registered:l};function a(g,o,b){const p=b||qn,u=typeof p.prefix=="string"?p.prefix:vi;if(!n.getLanguage(g))throw new Error("Unknown language: `"+g+"` is not registered");n.configure({__emitter:Ni,classPrefix:u});const y=n.highlight(o,{ignoreIllegals:!0,language:g});if(y.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:y.errorRaised});const v=y._emitter.root,h=v.data;return h.language=y.language,h.relevance=y.relevance,v}function i(g,o){const b=(o||qn).subset||r();let p=-1,u=0,y;for(;++pu&&(u=h.data.relevance,y=h)}return y||{type:"root",children:[],data:{language:void 0,relevance:u}}}function r(){return n.listLanguages()}function d(g,o){if(typeof g=="string")n.registerLanguage(g,o);else{let b;for(b in g)Object.hasOwn(g,b)&&n.registerLanguage(b,g[b])}}function s(g,o){if(typeof g=="string")n.registerAliases(typeof o=="string"?o:[...o],{languageName:g});else{let b;for(b in g)if(Object.hasOwn(g,b)){const p=g[b];n.registerAliases(typeof p=="string"?p:[...p],{languageName:b})}}}function l(g){return!!n.getLanguage(g)}}class Ni{constructor(n){this.options=n,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(n){if(n==="")return;const a=this.stack[this.stack.length-1],i=a.children[a.children.length-1];i&&i.type==="text"?i.value+=n:a.children.push({type:"text",value:n})}startScope(n){this.openNode(String(n))}endScope(){this.closeNode()}__addSublanguage(n,a){const i=this.stack[this.stack.length-1],r=n.root.children;a?i.children.push({type:"element",tagName:"span",properties:{className:[a]},children:r}):i.children.push(...r)}openNode(n){const a=this,i=n.split(".").map(function(s,l){return l?s+"_".repeat(l):a.options.classPrefix+s}),r=this.stack[this.stack.length-1],d={type:"element",tagName:"span",properties:{className:i},children:[]};r.children.push(d),this.stack.push(d)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const xi={};function Ii(e){const n=e||xi,a=n.aliases,i=n.detect||!1,r=n.languages||_i,d=n.plainText,s=n.prefix,l=n.subset;let g="hljs";const o=ki(r);if(a&&o.registerAlias(a),s){const b=s.indexOf("-");g=b===-1?s:s.slice(0,b)}return function(b,p){jt(b,"element",function(u,y,v){if(u.tagName!=="code"||!v||v.type!=="element"||v.tagName!=="pre")return;const h=Si(u);if(h===!1||!h&&!i||h&&d&&d.includes(h))return;Array.isArray(u.properties.className)||(u.properties.className=[]),u.properties.className.includes(g)||u.properties.className.unshift(g);const k=Gt(u,{whitespace:"pre"});let S;try{S=h?o.highlight(h,k,{prefix:s}):o.highlightAuto(k,{prefix:s,subset:l})}catch(C){const R=C;if(h&&/Unknown language/.test(R.message)){p.message("Cannot highlight as `"+h+"`, it’s not registered",{ancestors:[v,u],cause:R,place:u.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw R}!h&&S.data&&S.data.language&&u.properties.className.push("language-"+S.data.language),S.children.length>0&&(u.children=S.children)})}}function Si(e){const n=e.properties.className;let a=-1;if(!Array.isArray(n))return;let i;for(;++a | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate extends Value\n * ? Predicate\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends Array\n * ? MatchesOne\n * : MatchesOne\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {(\n * Kind extends {children: Array}\n * ? Child\n * : never\n * )} Child\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Kind\n * All node types.\n */\n\nimport {convert} from 'unist-util-is'\n\n/**\n * Find the first node in `parent` after another `node` or after an index,\n * that passes `test`.\n *\n * @param parent\n * Parent node.\n * @param index\n * Child node or index.\n * @param [test=undefined]\n * Test for child to look for (optional).\n * @returns\n * A child (matching `test`, if given) or `undefined`.\n */\nexport const findAfter =\n // Note: overloads like this are needed to support optional generics.\n /**\n * @type {(\n * ((parent: Kind, index: Child | number, test: Check) => Matches, Check> | undefined) &\n * ((parent: Kind, index: Child | number, test?: null | undefined) => Child | undefined)\n * )}\n */\n (\n /**\n * @param {UnistParent} parent\n * @param {UnistNode | number} index\n * @param {Test} [test]\n * @returns {UnistNode | undefined}\n */\n function (parent, index, test) {\n const is = convert(test)\n\n if (!parent || !parent.type || !parent.children) {\n throw new Error('Expected parent node')\n }\n\n if (typeof index === 'number') {\n if (index < 0 || index === Number.POSITIVE_INFINITY) {\n throw new Error('Expected positive finite number as index')\n }\n } else {\n index = parent.children.indexOf(index)\n\n if (index < 0) {\n throw new Error('Expected child node or index')\n }\n }\n\n while (++index < parent.children.length) {\n if (is(parent.children[index], index, parent)) {\n return parent.children[index]\n }\n }\n\n return undefined\n }\n )\n","/**\n * @typedef {import('hast').Comment} Comment\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').Parents} Parents\n * @typedef {import('hast').Text} Text\n * @typedef {import('hast-util-is-element').TestFunction} TestFunction\n */\n\n/**\n * @typedef {'normal' | 'nowrap' | 'pre' | 'pre-wrap'} Whitespace\n * Valid and useful whitespace values (from CSS).\n *\n * @typedef {0 | 1 | 2} BreakNumber\n * Specific break:\n *\n * * `0` — space\n * * `1` — line ending\n * * `2` — blank line\n *\n * @typedef {'\\n'} BreakForce\n * Forced break.\n *\n * @typedef {boolean} BreakValue\n * Whether there was a break.\n *\n * @typedef {BreakNumber | BreakValue | undefined} BreakBefore\n * Any value for a break before.\n *\n * @typedef {BreakForce | BreakNumber | BreakValue | undefined} BreakAfter\n * Any value for a break after.\n *\n * @typedef CollectionInfo\n * Info on current collection.\n * @property {BreakAfter} breakAfter\n * Whether there was a break after.\n * @property {BreakBefore} breakBefore\n * Whether there was a break before.\n * @property {Whitespace} whitespace\n * Current whitespace setting.\n *\n * @typedef Options\n * Configuration.\n * @property {Whitespace | null | undefined} [whitespace='normal']\n * Initial CSS whitespace setting to use (default: `'normal'`).\n */\n\nimport {findAfter} from 'unist-util-find-after'\nimport {convertElement} from 'hast-util-is-element'\n\nconst searchLineFeeds = /\\n/g\nconst searchTabOrSpaces = /[\\t ]+/g\n\nconst br = convertElement('br')\nconst cell = convertElement(isCell)\nconst p = convertElement('p')\nconst row = convertElement('tr')\n\n// Note that we don’t need to include void elements here as they don’t have text.\n// See: \nconst notRendered = convertElement([\n // List from: \n 'datalist',\n 'head',\n 'noembed',\n 'noframes',\n 'noscript', // Act as if we support scripting.\n 'rp',\n 'script',\n 'style',\n 'template',\n 'title',\n // Hidden attribute.\n hidden,\n // From: \n closedDialog\n])\n\n// See: \nconst blockOrCaption = convertElement([\n 'address', // Flow content\n 'article', // Sections and headings\n 'aside', // Sections and headings\n 'blockquote', // Flow content\n 'body', // Page\n 'caption', // `table-caption`\n 'center', // Flow content (legacy)\n 'dd', // Lists\n 'dialog', // Flow content\n 'dir', // Lists (legacy)\n 'dl', // Lists\n 'dt', // Lists\n 'div', // Flow content\n 'figure', // Flow content\n 'figcaption', // Flow content\n 'footer', // Flow content\n 'form,', // Flow content\n 'h1', // Sections and headings\n 'h2', // Sections and headings\n 'h3', // Sections and headings\n 'h4', // Sections and headings\n 'h5', // Sections and headings\n 'h6', // Sections and headings\n 'header', // Flow content\n 'hgroup', // Sections and headings\n 'hr', // Flow content\n 'html', // Page\n 'legend', // Flow content\n 'li', // Lists (as `display: list-item`)\n 'listing', // Flow content (legacy)\n 'main', // Flow content\n 'menu', // Lists\n 'nav', // Sections and headings\n 'ol', // Lists\n 'p', // Flow content\n 'plaintext', // Flow content (legacy)\n 'pre', // Flow content\n 'section', // Sections and headings\n 'ul', // Lists\n 'xmp' // Flow content (legacy)\n])\n\n/**\n * Get the plain-text value of a node.\n *\n * ###### Algorithm\n *\n * * if `tree` is a comment, returns its `value`\n * * if `tree` is a text, applies normal whitespace collapsing to its\n * `value`, as defined by the CSS Text spec\n * * if `tree` is a root or element, applies an algorithm similar to the\n * `innerText` getter as defined by HTML\n *\n * ###### Notes\n *\n * > 👉 **Note**: the algorithm acts as if `tree` is being rendered, and as if\n * > we’re a CSS-supporting user agent, with scripting enabled.\n *\n * * if `tree` is an element that is not displayed (such as a `head`), we’ll\n * still use the `innerText` algorithm instead of switching to `textContent`\n * * if descendants of `tree` are elements that are not displayed, they are\n * ignored\n * * CSS is not considered, except for the default user agent style sheet\n * * a line feed is collapsed instead of ignored in cases where Fullwidth, Wide,\n * or Halfwidth East Asian Width characters are used, the same goes for a case\n * with Chinese, Japanese, or Yi writing systems\n * * replaced elements (such as `audio`) are treated like non-replaced elements\n *\n * @param {Nodes} tree\n * Tree to turn into text.\n * @param {Readonly | null | undefined} [options]\n * Configuration (optional).\n * @returns {string}\n * Serialized `tree`.\n */\nexport function toText(tree, options) {\n const options_ = options || {}\n const children = 'children' in tree ? tree.children : []\n const block = blockOrCaption(tree)\n const whitespace = inferWhitespace(tree, {\n whitespace: options_.whitespace || 'normal',\n breakBefore: false,\n breakAfter: false\n })\n\n /** @type {Array} */\n const results = []\n\n // Treat `text` and `comment` as having normal white-space.\n // This deviates from the spec as in the DOM the node’s `.data` has to be\n // returned.\n // If you want that behavior use `hast-util-to-string`.\n // All other nodes are later handled as if they are `element`s (so the\n // algorithm also works on a `root`).\n // Nodes without children are treated as a void element, so `doctype` is thus\n // ignored.\n if (tree.type === 'text' || tree.type === 'comment') {\n results.push(\n ...collectText(tree, {\n whitespace,\n breakBefore: true,\n breakAfter: true\n })\n )\n }\n\n // 1. If this element is not being rendered, or if the user agent is a\n // non-CSS user agent, then return the same value as the textContent IDL\n // attribute on this element.\n //\n // Note: we’re not supporting stylesheets so we’re acting as if the node\n // is rendered.\n //\n // If you want that behavior use `hast-util-to-string`.\n // Important: we’ll have to account for this later though.\n\n // 2. Let results be a new empty list.\n let index = -1\n\n // 3. For each child node node of this element:\n while (++index < children.length) {\n // 3.1. Let current be the list resulting in running the inner text\n // collection steps with node.\n // Each item in results will either be a JavaScript string or a\n // positive integer (a required line break count).\n // 3.2. For each item item in current, append item to results.\n results.push(\n ...renderedTextCollection(\n children[index],\n // @ts-expect-error: `tree` is a parent if we’re here.\n tree,\n {\n whitespace,\n breakBefore: index ? undefined : block,\n breakAfter:\n index < children.length - 1 ? br(children[index + 1]) : block\n }\n )\n )\n }\n\n // 4. Remove any items from results that are the empty string.\n // 5. Remove any runs of consecutive required line break count items at the\n // start or end of results.\n // 6. Replace each remaining run of consecutive required line break count\n // items with a string consisting of as many U+000A LINE FEED (LF)\n // characters as the maximum of the values in the required line break\n // count items.\n /** @type {Array} */\n const result = []\n /** @type {number | undefined} */\n let count\n\n index = -1\n\n while (++index < results.length) {\n const value = results[index]\n\n if (typeof value === 'number') {\n if (count !== undefined && value > count) count = value\n } else if (value) {\n if (count !== undefined && count > -1) {\n result.push('\\n'.repeat(count) || ' ')\n }\n\n count = -1\n result.push(value)\n }\n }\n\n // 7. Return the concatenation of the string items in results.\n return result.join('')\n}\n\n/**\n * \n *\n * @param {Nodes} node\n * @param {Parents} parent\n * @param {CollectionInfo} info\n * @returns {Array}\n */\nfunction renderedTextCollection(node, parent, info) {\n if (node.type === 'element') {\n return collectElement(node, parent, info)\n }\n\n if (node.type === 'text') {\n return info.whitespace === 'normal'\n ? collectText(node, info)\n : collectPreText(node)\n }\n\n return []\n}\n\n/**\n * Collect an element.\n *\n * @param {Element} node\n * Element node.\n * @param {Parents} parent\n * @param {CollectionInfo} info\n * Info on current collection.\n * @returns {Array}\n */\nfunction collectElement(node, parent, info) {\n // First we infer the `white-space` property.\n const whitespace = inferWhitespace(node, info)\n const children = node.children || []\n let index = -1\n /** @type {Array} */\n let items = []\n\n // We’re ignoring point 3, and exiting without any content here, because we\n // deviated from the spec in `toText` at step 3.\n if (notRendered(node)) {\n return items\n }\n\n /** @type {BreakNumber | undefined} */\n let prefix\n /** @type {BreakForce | BreakNumber | undefined} */\n let suffix\n // Note: we first detect if there is going to be a break before or after the\n // contents, as that changes the white-space handling.\n\n // 2. If node’s computed value of `visibility` is not `visible`, then return\n // items.\n //\n // Note: Ignored, as everything is visible by default user agent styles.\n\n // 3. If node is not being rendered, then return items. [...]\n //\n // Note: We already did this above.\n\n // See `collectText` for step 4.\n\n // 5. If node is a `
` element, then append a string containing a single\n // U+000A LINE FEED (LF) character to items.\n if (br(node)) {\n suffix = '\\n'\n }\n\n // 7. If node’s computed value of `display` is `table-row`, and node’s CSS\n // box is not the last `table-row` box of the nearest ancestor `table`\n // box, then append a string containing a single U+000A LINE FEED (LF)\n // character to items.\n //\n // See: \n // Note: needs further investigation as this does not account for implicit\n // rows.\n else if (\n row(node) &&\n // @ts-expect-error: something up with types of parents.\n findAfter(parent, node, row)\n ) {\n suffix = '\\n'\n }\n\n // 8. If node is a `

` element, then append 2 (a required line break count)\n // at the beginning and end of items.\n else if (p(node)) {\n prefix = 2\n suffix = 2\n }\n\n // 9. If node’s used value of `display` is block-level or `table-caption`,\n // then append 1 (a required line break count) at the beginning and end of\n // items.\n else if (blockOrCaption(node)) {\n prefix = 1\n suffix = 1\n }\n\n // 1. Let items be the result of running the inner text collection steps with\n // each child node of node in tree order, and then concatenating the\n // results to a single list.\n while (++index < children.length) {\n items = items.concat(\n renderedTextCollection(children[index], node, {\n whitespace,\n breakBefore: index ? undefined : prefix,\n breakAfter:\n index < children.length - 1 ? br(children[index + 1]) : suffix\n })\n )\n }\n\n // 6. If node’s computed value of `display` is `table-cell`, and node’s CSS\n // box is not the last `table-cell` box of its enclosing `table-row` box,\n // then append a string containing a single U+0009 CHARACTER TABULATION\n // (tab) character to items.\n //\n // See: \n if (\n cell(node) &&\n // @ts-expect-error: something up with types of parents.\n findAfter(parent, node, cell)\n ) {\n items.push('\\t')\n }\n\n // Add the pre- and suffix.\n if (prefix) items.unshift(prefix)\n if (suffix) items.push(suffix)\n\n return items\n}\n\n/**\n * 4. If node is a Text node, then for each CSS text box produced by node,\n * in content order, compute the text of the box after application of the\n * CSS `white-space` processing rules and `text-transform` rules, set\n * items to the list of the resulting strings, and return items.\n * The CSS `white-space` processing rules are slightly modified:\n * collapsible spaces at the end of lines are always collapsed, but they\n * are only removed if the line is the last line of the block, or it ends\n * with a br element.\n * Soft hyphens should be preserved.\n *\n * Note: See `collectText` and `collectPreText`.\n * Note: we don’t deal with `text-transform`, no element has that by\n * default.\n *\n * See: \n *\n * @param {Comment | Text} node\n * Text node.\n * @param {CollectionInfo} info\n * Info on current collection.\n * @returns {Array}\n * Result.\n */\nfunction collectText(node, info) {\n const value = String(node.value)\n /** @type {Array} */\n const lines = []\n /** @type {Array} */\n const result = []\n let start = 0\n\n while (start <= value.length) {\n searchLineFeeds.lastIndex = start\n\n const match = searchLineFeeds.exec(value)\n const end = match && 'index' in match ? match.index : value.length\n\n lines.push(\n // Any sequence of collapsible spaces and tabs immediately preceding or\n // following a segment break is removed.\n trimAndCollapseSpacesAndTabs(\n // […] ignoring bidi formatting characters (characters with the\n // Bidi_Control property [UAX9]: ALM, LTR, RTL, LRE-RLO, LRI-PDI) as if\n // they were not there.\n value\n .slice(start, end)\n .replace(/[\\u061C\\u200E\\u200F\\u202A-\\u202E\\u2066-\\u2069]/g, ''),\n start === 0 ? info.breakBefore : true,\n end === value.length ? info.breakAfter : true\n )\n )\n\n start = end + 1\n }\n\n // Collapsible segment breaks are transformed for rendering according to the\n // segment break transformation rules.\n // So here we jump to 4.1.2 of [CSSTEXT]:\n // Any collapsible segment break immediately following another collapsible\n // segment break is removed\n let index = -1\n /** @type {BreakNumber | undefined} */\n let join\n\n while (++index < lines.length) {\n // * If the character immediately before or immediately after the segment\n // break is the zero-width space character (U+200B), then the break is\n // removed, leaving behind the zero-width space.\n if (\n lines[index].charCodeAt(lines[index].length - 1) === 0x20_0b /* ZWSP */ ||\n (index < lines.length - 1 &&\n lines[index + 1].charCodeAt(0) === 0x20_0b) /* ZWSP */\n ) {\n result.push(lines[index])\n join = undefined\n }\n\n // * Otherwise, if the East Asian Width property [UAX11] of both the\n // character before and after the segment break is Fullwidth, Wide, or\n // Halfwidth (not Ambiguous), and neither side is Hangul, then the\n // segment break is removed.\n //\n // Note: ignored.\n // * Otherwise, if the writing system of the segment break is Chinese,\n // Japanese, or Yi, and the character before or after the segment break\n // is punctuation or a symbol (Unicode general category P* or S*) and\n // has an East Asian Width property of Ambiguous, and the character on\n // the other side of the segment break is Fullwidth, Wide, or Halfwidth,\n // and not Hangul, then the segment break is removed.\n //\n // Note: ignored.\n\n // * Otherwise, the segment break is converted to a space (U+0020).\n else if (lines[index]) {\n if (typeof join === 'number') result.push(join)\n result.push(lines[index])\n join = 0\n } else if (index === 0 || index === lines.length - 1) {\n // If this line is empty, and it’s the first or last, add a space.\n // Note that this function is only called in normal whitespace, so we\n // don’t worry about `pre`.\n result.push(0)\n }\n }\n\n return result\n}\n\n/**\n * Collect a text node as “pre” whitespace.\n *\n * @param {Text} node\n * Text node.\n * @returns {Array}\n * Result.\n */\nfunction collectPreText(node) {\n return [String(node.value)]\n}\n\n/**\n * 3. Every collapsible tab is converted to a collapsible space (U+0020).\n * 4. Any collapsible space immediately following another collapsible\n * space—even one outside the boundary of the inline containing that\n * space, provided both spaces are within the same inline formatting\n * context—is collapsed to have zero advance width. (It is invisible,\n * but retains its soft wrap opportunity, if any.)\n *\n * @param {string} value\n * Value to collapse.\n * @param {BreakBefore} breakBefore\n * Whether there was a break before.\n * @param {BreakAfter} breakAfter\n * Whether there was a break after.\n * @returns {string}\n * Result.\n */\nfunction trimAndCollapseSpacesAndTabs(value, breakBefore, breakAfter) {\n /** @type {Array} */\n const result = []\n let start = 0\n /** @type {number | undefined} */\n let end\n\n while (start < value.length) {\n searchTabOrSpaces.lastIndex = start\n const match = searchTabOrSpaces.exec(value)\n end = match ? match.index : value.length\n\n // If we’re not directly after a segment break, but there was white space,\n // add an empty value that will be turned into a space.\n if (!start && !end && match && !breakBefore) {\n result.push('')\n }\n\n if (start !== end) {\n result.push(value.slice(start, end))\n }\n\n start = match ? end + match[0].length : end\n }\n\n // If we reached the end, there was trailing white space, and there’s no\n // segment break after this node, add an empty value that will be turned\n // into a space.\n if (start !== end && !breakAfter) {\n result.push('')\n }\n\n return result.join(' ')\n}\n\n/**\n * Figure out the whitespace of a node.\n *\n * We don’t support void elements here (so `nobr wbr` -> `normal` is ignored).\n *\n * @param {Nodes} node\n * Node (typically `Element`).\n * @param {CollectionInfo} info\n * Info on current collection.\n * @returns {Whitespace}\n * Applied whitespace.\n */\nfunction inferWhitespace(node, info) {\n if (node.type === 'element') {\n const properties = node.properties || {}\n switch (node.tagName) {\n case 'listing':\n case 'plaintext':\n case 'xmp': {\n return 'pre'\n }\n\n case 'nobr': {\n return 'nowrap'\n }\n\n case 'pre': {\n return properties.wrap ? 'pre-wrap' : 'pre'\n }\n\n case 'td':\n case 'th': {\n return properties.noWrap ? 'nowrap' : info.whitespace\n }\n\n case 'textarea': {\n return 'pre-wrap'\n }\n\n default:\n }\n }\n\n return info.whitespace\n}\n\n/**\n * @type {TestFunction}\n * @param {Element} node\n * @returns {node is {properties: {hidden: true}}}\n */\nfunction hidden(node) {\n return Boolean((node.properties || {}).hidden)\n}\n\n/**\n * @type {TestFunction}\n * @param {Element} node\n * @returns {node is {tagName: 'td' | 'th'}}\n */\nfunction isCell(node) {\n return node.tagName === 'td' || node.tagName === 'th'\n}\n\n/**\n * @type {TestFunction}\n */\nfunction closedDialog(node) {\n return node.tagName === 'dialog' && !(node.properties || {}).open\n}\n","/*\nLanguage: C++\nCategory: common, system\nWebsite: https://isocpp.org\n*/\n\n/** @type LanguageFn */\nfunction cPlusPlus(hljs) {\n const regex = hljs.regex;\n // added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does\n // not include such support nor can we be sure all the grammars depending\n // on it would desire this behavior\n const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\\\\n/ } ] });\n const DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)';\n const NAMESPACE_RE = '[a-zA-Z_]\\\\w*::';\n const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';\n const FUNCTION_TYPE_RE = '(?!struct)('\n + DECLTYPE_AUTO_RE + '|'\n + regex.optional(NAMESPACE_RE)\n + '[a-zA-Z_]\\\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)\n + ')';\n\n const CPP_PRIMITIVE_TYPES = {\n className: 'type',\n begin: '\\\\b[a-z\\\\d_]*_t\\\\b'\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n const CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)';\n const STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + '|.)',\n end: '\\'',\n illegal: '.'\n },\n hljs.END_SAME_AS_BEGIN({\n begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,\n end: /\\)([^()\\\\ ]{0,16})\"/\n })\n ]\n };\n\n const NUMBERS = {\n className: 'number',\n variants: [\n // Floating-point literal.\n { begin:\n \"[+-]?(?:\" // Leading sign.\n // Decimal.\n + \"(?:\"\n +\"[0-9](?:'?[0-9])*\\\\.(?:[0-9](?:'?[0-9])*)?\"\n + \"|\\\\.[0-9](?:'?[0-9])*\"\n + \")(?:[Ee][+-]?[0-9](?:'?[0-9])*)?\"\n + \"|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*\"\n // Hexadecimal.\n + \"|0[Xx](?:\"\n +\"[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?\"\n + \"|\\\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*\"\n + \")[Pp][+-]?[0-9](?:'?[0-9])*\"\n + \")(?:\" // Literal suffixes.\n + \"[Ff](?:16|32|64|128)?\"\n + \"|(BF|bf)16\"\n + \"|[Ll]\"\n + \"|\" // Literal suffix is optional.\n + \")\"\n },\n // Integer literal.\n { begin:\n \"[+-]?\\\\b(?:\" // Leading sign.\n + \"0[Bb][01](?:'?[01])*\" // Binary.\n + \"|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*\" // Hexadecimal.\n + \"|0(?:'?[0-7])*\" // Octal or just a lone zero.\n + \"|[1-9](?:'?[0-9])*\" // Decimal.\n + \")(?:\" // Literal suffixes.\n + \"[Uu](?:LL?|ll?)\"\n + \"|[Uu][Zz]?\"\n + \"|(?:LL?|ll?)[Uu]?\"\n + \"|[Zz][Uu]\"\n + \"|\" // Literal suffix is optional.\n + \")\"\n // Note: there are user-defined literal suffixes too, but perhaps having the custom suffix not part of the\n // literal highlight actually makes it stand out more.\n }\n ],\n relevance: 0\n };\n\n const PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: { keyword:\n 'if else elif endif define undef warning error line '\n + 'pragma _Pragma ifdef ifndef include' },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(STRINGS, { className: 'string' }),\n {\n className: 'string',\n begin: /<.*?>/\n },\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n const TITLE_MODE = {\n className: 'title',\n begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n // https://en.cppreference.com/w/cpp/keyword\n const RESERVED_KEYWORDS = [\n 'alignas',\n 'alignof',\n 'and',\n 'and_eq',\n 'asm',\n 'atomic_cancel',\n 'atomic_commit',\n 'atomic_noexcept',\n 'auto',\n 'bitand',\n 'bitor',\n 'break',\n 'case',\n 'catch',\n 'class',\n 'co_await',\n 'co_return',\n 'co_yield',\n 'compl',\n 'concept',\n 'const_cast|10',\n 'consteval',\n 'constexpr',\n 'constinit',\n 'continue',\n 'decltype',\n 'default',\n 'delete',\n 'do',\n 'dynamic_cast|10',\n 'else',\n 'enum',\n 'explicit',\n 'export',\n 'extern',\n 'false',\n 'final',\n 'for',\n 'friend',\n 'goto',\n 'if',\n 'import',\n 'inline',\n 'module',\n 'mutable',\n 'namespace',\n 'new',\n 'noexcept',\n 'not',\n 'not_eq',\n 'nullptr',\n 'operator',\n 'or',\n 'or_eq',\n 'override',\n 'private',\n 'protected',\n 'public',\n 'reflexpr',\n 'register',\n 'reinterpret_cast|10',\n 'requires',\n 'return',\n 'sizeof',\n 'static_assert',\n 'static_cast|10',\n 'struct',\n 'switch',\n 'synchronized',\n 'template',\n 'this',\n 'thread_local',\n 'throw',\n 'transaction_safe',\n 'transaction_safe_dynamic',\n 'true',\n 'try',\n 'typedef',\n 'typeid',\n 'typename',\n 'union',\n 'using',\n 'virtual',\n 'volatile',\n 'while',\n 'xor',\n 'xor_eq'\n ];\n\n // https://en.cppreference.com/w/cpp/keyword\n const RESERVED_TYPES = [\n 'bool',\n 'char',\n 'char16_t',\n 'char32_t',\n 'char8_t',\n 'double',\n 'float',\n 'int',\n 'long',\n 'short',\n 'void',\n 'wchar_t',\n 'unsigned',\n 'signed',\n 'const',\n 'static'\n ];\n\n const TYPE_HINTS = [\n 'any',\n 'auto_ptr',\n 'barrier',\n 'binary_semaphore',\n 'bitset',\n 'complex',\n 'condition_variable',\n 'condition_variable_any',\n 'counting_semaphore',\n 'deque',\n 'false_type',\n 'flat_map',\n 'flat_set',\n 'future',\n 'imaginary',\n 'initializer_list',\n 'istringstream',\n 'jthread',\n 'latch',\n 'lock_guard',\n 'multimap',\n 'multiset',\n 'mutex',\n 'optional',\n 'ostringstream',\n 'packaged_task',\n 'pair',\n 'promise',\n 'priority_queue',\n 'queue',\n 'recursive_mutex',\n 'recursive_timed_mutex',\n 'scoped_lock',\n 'set',\n 'shared_future',\n 'shared_lock',\n 'shared_mutex',\n 'shared_timed_mutex',\n 'shared_ptr',\n 'stack',\n 'string_view',\n 'stringstream',\n 'timed_mutex',\n 'thread',\n 'true_type',\n 'tuple',\n 'unique_lock',\n 'unique_ptr',\n 'unordered_map',\n 'unordered_multimap',\n 'unordered_multiset',\n 'unordered_set',\n 'variant',\n 'vector',\n 'weak_ptr',\n 'wstring',\n 'wstring_view'\n ];\n\n const FUNCTION_HINTS = [\n 'abort',\n 'abs',\n 'acos',\n 'apply',\n 'as_const',\n 'asin',\n 'atan',\n 'atan2',\n 'calloc',\n 'ceil',\n 'cerr',\n 'cin',\n 'clog',\n 'cos',\n 'cosh',\n 'cout',\n 'declval',\n 'endl',\n 'exchange',\n 'exit',\n 'exp',\n 'fabs',\n 'floor',\n 'fmod',\n 'forward',\n 'fprintf',\n 'fputs',\n 'free',\n 'frexp',\n 'fscanf',\n 'future',\n 'invoke',\n 'isalnum',\n 'isalpha',\n 'iscntrl',\n 'isdigit',\n 'isgraph',\n 'islower',\n 'isprint',\n 'ispunct',\n 'isspace',\n 'isupper',\n 'isxdigit',\n 'labs',\n 'launder',\n 'ldexp',\n 'log',\n 'log10',\n 'make_pair',\n 'make_shared',\n 'make_shared_for_overwrite',\n 'make_tuple',\n 'make_unique',\n 'malloc',\n 'memchr',\n 'memcmp',\n 'memcpy',\n 'memset',\n 'modf',\n 'move',\n 'pow',\n 'printf',\n 'putchar',\n 'puts',\n 'realloc',\n 'scanf',\n 'sin',\n 'sinh',\n 'snprintf',\n 'sprintf',\n 'sqrt',\n 'sscanf',\n 'std',\n 'stderr',\n 'stdin',\n 'stdout',\n 'strcat',\n 'strchr',\n 'strcmp',\n 'strcpy',\n 'strcspn',\n 'strlen',\n 'strncat',\n 'strncmp',\n 'strncpy',\n 'strpbrk',\n 'strrchr',\n 'strspn',\n 'strstr',\n 'swap',\n 'tan',\n 'tanh',\n 'terminate',\n 'to_underlying',\n 'tolower',\n 'toupper',\n 'vfprintf',\n 'visit',\n 'vprintf',\n 'vsprintf'\n ];\n\n const LITERALS = [\n 'NULL',\n 'false',\n 'nullopt',\n 'nullptr',\n 'true'\n ];\n\n // https://en.cppreference.com/w/cpp/keyword\n const BUILT_IN = [ '_Pragma' ];\n\n const CPP_KEYWORDS = {\n type: RESERVED_TYPES,\n keyword: RESERVED_KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_IN,\n _type_hints: TYPE_HINTS\n };\n\n const FUNCTION_DISPATCH = {\n className: 'function.dispatch',\n relevance: 0,\n keywords: {\n // Only for relevance, not highlighting.\n _hint: FUNCTION_HINTS },\n begin: regex.concat(\n /\\b/,\n /(?!decltype)/,\n /(?!if)/,\n /(?!for)/,\n /(?!switch)/,\n /(?!while)/,\n hljs.IDENT_RE,\n regex.lookahead(/(<[^<>]+>|)\\s*\\(/))\n };\n\n const EXPRESSION_CONTAINS = [\n FUNCTION_DISPATCH,\n PREPROCESSOR,\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n const EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {\n begin: /=/,\n end: /;/\n },\n {\n begin: /\\(/,\n end: /\\)/\n },\n {\n beginKeywords: 'new throw return else',\n end: /;/\n }\n ],\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([ 'self' ]),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n const FUNCTION_DECLARATION = {\n className: 'function',\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true,\n end: /[{;=]/,\n excludeEnd: true,\n keywords: CPP_KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>.]/,\n contains: [\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: CPP_KEYWORDS,\n relevance: 0\n },\n {\n begin: FUNCTION_TITLE,\n returnBegin: true,\n contains: [ TITLE_MODE ],\n relevance: 0\n },\n // needed because we do not have look-behind on the below rule\n // to prevent it from grabbing the final : in a :: pair\n {\n begin: /::/,\n relevance: 0\n },\n // initializers\n {\n begin: /:/,\n endsWithParent: true,\n contains: [\n STRINGS,\n NUMBERS\n ]\n },\n // allow for multiple declarations, e.g.:\n // extern void f(int), g(char);\n {\n relevance: 0,\n match: /,/\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES\n ]\n }\n ]\n },\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n name: 'C++',\n aliases: [\n 'cc',\n 'c++',\n 'h++',\n 'hpp',\n 'hh',\n 'hxx',\n 'cxx'\n ],\n keywords: CPP_KEYWORDS,\n illegal: ' rooms (9);`\n begin: '\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\\\s*<(?!<)',\n end: '>',\n keywords: CPP_KEYWORDS,\n contains: [\n 'self',\n CPP_PRIMITIVE_TYPES\n ]\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: CPP_KEYWORDS\n },\n {\n match: [\n // extra complexity to deal with `enum class` and `enum struct`\n /\\b(?:enum(?:\\s+(?:class|struct))?|class|struct|union)/,\n /\\s+/,\n /\\w+/\n ],\n className: {\n 1: 'keyword',\n 3: 'title.class'\n }\n }\n ])\n };\n}\n\n/*\nLanguage: Arduino\nAuthor: Stefania Mellai \nDescription: The Arduino® Language is a superset of C++. This rules are designed to highlight the Arduino® source code. For info about language see http://www.arduino.cc.\nWebsite: https://www.arduino.cc\nCategory: system\n*/\n\n\n/** @type LanguageFn */\nfunction arduino(hljs) {\n const ARDUINO_KW = {\n type: [\n \"boolean\",\n \"byte\",\n \"word\",\n \"String\"\n ],\n built_in: [\n \"KeyboardController\",\n \"MouseController\",\n \"SoftwareSerial\",\n \"EthernetServer\",\n \"EthernetClient\",\n \"LiquidCrystal\",\n \"RobotControl\",\n \"GSMVoiceCall\",\n \"EthernetUDP\",\n \"EsploraTFT\",\n \"HttpClient\",\n \"RobotMotor\",\n \"WiFiClient\",\n \"GSMScanner\",\n \"FileSystem\",\n \"Scheduler\",\n \"GSMServer\",\n \"YunClient\",\n \"YunServer\",\n \"IPAddress\",\n \"GSMClient\",\n \"GSMModem\",\n \"Keyboard\",\n \"Ethernet\",\n \"Console\",\n \"GSMBand\",\n \"Esplora\",\n \"Stepper\",\n \"Process\",\n \"WiFiUDP\",\n \"GSM_SMS\",\n \"Mailbox\",\n \"USBHost\",\n \"Firmata\",\n \"PImage\",\n \"Client\",\n \"Server\",\n \"GSMPIN\",\n \"FileIO\",\n \"Bridge\",\n \"Serial\",\n \"EEPROM\",\n \"Stream\",\n \"Mouse\",\n \"Audio\",\n \"Servo\",\n \"File\",\n \"Task\",\n \"GPRS\",\n \"WiFi\",\n \"Wire\",\n \"TFT\",\n \"GSM\",\n \"SPI\",\n \"SD\"\n ],\n _hints: [\n \"setup\",\n \"loop\",\n \"runShellCommandAsynchronously\",\n \"analogWriteResolution\",\n \"retrieveCallingNumber\",\n \"printFirmwareVersion\",\n \"analogReadResolution\",\n \"sendDigitalPortPair\",\n \"noListenOnLocalhost\",\n \"readJoystickButton\",\n \"setFirmwareVersion\",\n \"readJoystickSwitch\",\n \"scrollDisplayRight\",\n \"getVoiceCallStatus\",\n \"scrollDisplayLeft\",\n \"writeMicroseconds\",\n \"delayMicroseconds\",\n \"beginTransmission\",\n \"getSignalStrength\",\n \"runAsynchronously\",\n \"getAsynchronously\",\n \"listenOnLocalhost\",\n \"getCurrentCarrier\",\n \"readAccelerometer\",\n \"messageAvailable\",\n \"sendDigitalPorts\",\n \"lineFollowConfig\",\n \"countryNameWrite\",\n \"runShellCommand\",\n \"readStringUntil\",\n \"rewindDirectory\",\n \"readTemperature\",\n \"setClockDivider\",\n \"readLightSensor\",\n \"endTransmission\",\n \"analogReference\",\n \"detachInterrupt\",\n \"countryNameRead\",\n \"attachInterrupt\",\n \"encryptionType\",\n \"readBytesUntil\",\n \"robotNameWrite\",\n \"readMicrophone\",\n \"robotNameRead\",\n \"cityNameWrite\",\n \"userNameWrite\",\n \"readJoystickY\",\n \"readJoystickX\",\n \"mouseReleased\",\n \"openNextFile\",\n \"scanNetworks\",\n \"noInterrupts\",\n \"digitalWrite\",\n \"beginSpeaker\",\n \"mousePressed\",\n \"isActionDone\",\n \"mouseDragged\",\n \"displayLogos\",\n \"noAutoscroll\",\n \"addParameter\",\n \"remoteNumber\",\n \"getModifiers\",\n \"keyboardRead\",\n \"userNameRead\",\n \"waitContinue\",\n \"processInput\",\n \"parseCommand\",\n \"printVersion\",\n \"readNetworks\",\n \"writeMessage\",\n \"blinkVersion\",\n \"cityNameRead\",\n \"readMessage\",\n \"setDataMode\",\n \"parsePacket\",\n \"isListening\",\n \"setBitOrder\",\n \"beginPacket\",\n \"isDirectory\",\n \"motorsWrite\",\n \"drawCompass\",\n \"digitalRead\",\n \"clearScreen\",\n \"serialEvent\",\n \"rightToLeft\",\n \"setTextSize\",\n \"leftToRight\",\n \"requestFrom\",\n \"keyReleased\",\n \"compassRead\",\n \"analogWrite\",\n \"interrupts\",\n \"WiFiServer\",\n \"disconnect\",\n \"playMelody\",\n \"parseFloat\",\n \"autoscroll\",\n \"getPINUsed\",\n \"setPINUsed\",\n \"setTimeout\",\n \"sendAnalog\",\n \"readSlider\",\n \"analogRead\",\n \"beginWrite\",\n \"createChar\",\n \"motorsStop\",\n \"keyPressed\",\n \"tempoWrite\",\n \"readButton\",\n \"subnetMask\",\n \"debugPrint\",\n \"macAddress\",\n \"writeGreen\",\n \"randomSeed\",\n \"attachGPRS\",\n \"readString\",\n \"sendString\",\n \"remotePort\",\n \"releaseAll\",\n \"mouseMoved\",\n \"background\",\n \"getXChange\",\n \"getYChange\",\n \"answerCall\",\n \"getResult\",\n \"voiceCall\",\n \"endPacket\",\n \"constrain\",\n \"getSocket\",\n \"writeJSON\",\n \"getButton\",\n \"available\",\n \"connected\",\n \"findUntil\",\n \"readBytes\",\n \"exitValue\",\n \"readGreen\",\n \"writeBlue\",\n \"startLoop\",\n \"IPAddress\",\n \"isPressed\",\n \"sendSysex\",\n \"pauseMode\",\n \"gatewayIP\",\n \"setCursor\",\n \"getOemKey\",\n \"tuneWrite\",\n \"noDisplay\",\n \"loadImage\",\n \"switchPIN\",\n \"onRequest\",\n \"onReceive\",\n \"changePIN\",\n \"playFile\",\n \"noBuffer\",\n \"parseInt\",\n \"overflow\",\n \"checkPIN\",\n \"knobRead\",\n \"beginTFT\",\n \"bitClear\",\n \"updateIR\",\n \"bitWrite\",\n \"position\",\n \"writeRGB\",\n \"highByte\",\n \"writeRed\",\n \"setSpeed\",\n \"readBlue\",\n \"noStroke\",\n \"remoteIP\",\n \"transfer\",\n \"shutdown\",\n \"hangCall\",\n \"beginSMS\",\n \"endWrite\",\n \"attached\",\n \"maintain\",\n \"noCursor\",\n \"checkReg\",\n \"checkPUK\",\n \"shiftOut\",\n \"isValid\",\n \"shiftIn\",\n \"pulseIn\",\n \"connect\",\n \"println\",\n \"localIP\",\n \"pinMode\",\n \"getIMEI\",\n \"display\",\n \"noBlink\",\n \"process\",\n \"getBand\",\n \"running\",\n \"beginSD\",\n \"drawBMP\",\n \"lowByte\",\n \"setBand\",\n \"release\",\n \"bitRead\",\n \"prepare\",\n \"pointTo\",\n \"readRed\",\n \"setMode\",\n \"noFill\",\n \"remove\",\n \"listen\",\n \"stroke\",\n \"detach\",\n \"attach\",\n \"noTone\",\n \"exists\",\n \"buffer\",\n \"height\",\n \"bitSet\",\n \"circle\",\n \"config\",\n \"cursor\",\n \"random\",\n \"IRread\",\n \"setDNS\",\n \"endSMS\",\n \"getKey\",\n \"micros\",\n \"millis\",\n \"begin\",\n \"print\",\n \"write\",\n \"ready\",\n \"flush\",\n \"width\",\n \"isPIN\",\n \"blink\",\n \"clear\",\n \"press\",\n \"mkdir\",\n \"rmdir\",\n \"close\",\n \"point\",\n \"yield\",\n \"image\",\n \"BSSID\",\n \"click\",\n \"delay\",\n \"read\",\n \"text\",\n \"move\",\n \"peek\",\n \"beep\",\n \"rect\",\n \"line\",\n \"open\",\n \"seek\",\n \"fill\",\n \"size\",\n \"turn\",\n \"stop\",\n \"home\",\n \"find\",\n \"step\",\n \"tone\",\n \"sqrt\",\n \"RSSI\",\n \"SSID\",\n \"end\",\n \"bit\",\n \"tan\",\n \"cos\",\n \"sin\",\n \"pow\",\n \"map\",\n \"abs\",\n \"max\",\n \"min\",\n \"get\",\n \"run\",\n \"put\"\n ],\n literal: [\n \"DIGITAL_MESSAGE\",\n \"FIRMATA_STRING\",\n \"ANALOG_MESSAGE\",\n \"REPORT_DIGITAL\",\n \"REPORT_ANALOG\",\n \"INPUT_PULLUP\",\n \"SET_PIN_MODE\",\n \"INTERNAL2V56\",\n \"SYSTEM_RESET\",\n \"LED_BUILTIN\",\n \"INTERNAL1V1\",\n \"SYSEX_START\",\n \"INTERNAL\",\n \"EXTERNAL\",\n \"DEFAULT\",\n \"OUTPUT\",\n \"INPUT\",\n \"HIGH\",\n \"LOW\"\n ]\n };\n\n const ARDUINO = cPlusPlus(hljs);\n\n const kws = /** @type {Record} */ (ARDUINO.keywords);\n\n kws.type = [\n ...kws.type,\n ...ARDUINO_KW.type\n ];\n kws.literal = [\n ...kws.literal,\n ...ARDUINO_KW.literal\n ];\n kws.built_in = [\n ...kws.built_in,\n ...ARDUINO_KW.built_in\n ];\n kws._hints = ARDUINO_KW._hints;\n\n ARDUINO.name = 'Arduino';\n ARDUINO.aliases = [ 'ino' ];\n ARDUINO.supersetOf = \"cpp\";\n\n return ARDUINO;\n}\n\nexport { arduino as default };\n","/*\nLanguage: Bash\nAuthor: vah \nContributrors: Benjamin Pannell \nWebsite: https://www.gnu.org/software/bash/\nCategory: common, scripting\n*/\n\n/** @type LanguageFn */\nfunction bash(hljs) {\n const regex = hljs.regex;\n const VAR = {};\n const BRACED_VAR = {\n begin: /\\$\\{/,\n end: /\\}/,\n contains: [\n \"self\",\n {\n begin: /:-/,\n contains: [ VAR ]\n } // default values\n ]\n };\n Object.assign(VAR, {\n className: 'variable',\n variants: [\n { begin: regex.concat(/\\$[\\w\\d#@][\\w\\d_]*/,\n // negative look-ahead tries to avoid matching patterns that are not\n // Perl at all like $ident$, @ident@, etc.\n `(?![\\\\w\\\\d])(?![$])`) },\n BRACED_VAR\n ]\n });\n\n const SUBST = {\n className: 'subst',\n begin: /\\$\\(/,\n end: /\\)/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n };\n const COMMENT = hljs.inherit(\n hljs.COMMENT(),\n {\n match: [\n /(^|\\s)/,\n /#.*$/\n ],\n scope: {\n 2: 'comment'\n }\n }\n );\n const HERE_DOC = {\n begin: /<<-?\\s*(?=\\w+)/,\n starts: { contains: [\n hljs.END_SAME_AS_BEGIN({\n begin: /(\\w+)/,\n end: /(\\w+)/,\n className: 'string'\n })\n ] }\n };\n const QUOTE_STRING = {\n className: 'string',\n begin: /\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR,\n SUBST\n ]\n };\n SUBST.contains.push(QUOTE_STRING);\n const ESCAPED_QUOTE = {\n match: /\\\\\"/\n };\n const APOS_STRING = {\n className: 'string',\n begin: /'/,\n end: /'/\n };\n const ESCAPED_APOS = {\n match: /\\\\'/\n };\n const ARITHMETIC = {\n begin: /\\$?\\(\\(/,\n end: /\\)\\)/,\n contains: [\n {\n begin: /\\d+#[0-9a-f]+/,\n className: \"number\"\n },\n hljs.NUMBER_MODE,\n VAR\n ]\n };\n const SH_LIKE_SHELLS = [\n \"fish\",\n \"bash\",\n \"zsh\",\n \"sh\",\n \"csh\",\n \"ksh\",\n \"tcsh\",\n \"dash\",\n \"scsh\",\n ];\n const KNOWN_SHEBANG = hljs.SHEBANG({\n binary: `(${SH_LIKE_SHELLS.join(\"|\")})`,\n relevance: 10\n });\n const FUNCTION = {\n className: 'function',\n begin: /\\w[\\w\\d_]*\\s*\\(\\s*\\)\\s*\\{/,\n returnBegin: true,\n contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: /\\w[\\w\\d_]*/ }) ],\n relevance: 0\n };\n\n const KEYWORDS = [\n \"if\",\n \"then\",\n \"else\",\n \"elif\",\n \"fi\",\n \"time\",\n \"for\",\n \"while\",\n \"until\",\n \"in\",\n \"do\",\n \"done\",\n \"case\",\n \"esac\",\n \"coproc\",\n \"function\",\n \"select\"\n ];\n\n const LITERALS = [\n \"true\",\n \"false\"\n ];\n\n // to consume paths to prevent keyword matches inside them\n const PATH_MODE = { match: /(\\/[a-z._-]+)+/ };\n\n // http://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html\n const SHELL_BUILT_INS = [\n \"break\",\n \"cd\",\n \"continue\",\n \"eval\",\n \"exec\",\n \"exit\",\n \"export\",\n \"getopts\",\n \"hash\",\n \"pwd\",\n \"readonly\",\n \"return\",\n \"shift\",\n \"test\",\n \"times\",\n \"trap\",\n \"umask\",\n \"unset\"\n ];\n\n const BASH_BUILT_INS = [\n \"alias\",\n \"bind\",\n \"builtin\",\n \"caller\",\n \"command\",\n \"declare\",\n \"echo\",\n \"enable\",\n \"help\",\n \"let\",\n \"local\",\n \"logout\",\n \"mapfile\",\n \"printf\",\n \"read\",\n \"readarray\",\n \"source\",\n \"sudo\",\n \"type\",\n \"typeset\",\n \"ulimit\",\n \"unalias\"\n ];\n\n const ZSH_BUILT_INS = [\n \"autoload\",\n \"bg\",\n \"bindkey\",\n \"bye\",\n \"cap\",\n \"chdir\",\n \"clone\",\n \"comparguments\",\n \"compcall\",\n \"compctl\",\n \"compdescribe\",\n \"compfiles\",\n \"compgroups\",\n \"compquote\",\n \"comptags\",\n \"comptry\",\n \"compvalues\",\n \"dirs\",\n \"disable\",\n \"disown\",\n \"echotc\",\n \"echoti\",\n \"emulate\",\n \"fc\",\n \"fg\",\n \"float\",\n \"functions\",\n \"getcap\",\n \"getln\",\n \"history\",\n \"integer\",\n \"jobs\",\n \"kill\",\n \"limit\",\n \"log\",\n \"noglob\",\n \"popd\",\n \"print\",\n \"pushd\",\n \"pushln\",\n \"rehash\",\n \"sched\",\n \"setcap\",\n \"setopt\",\n \"stat\",\n \"suspend\",\n \"ttyctl\",\n \"unfunction\",\n \"unhash\",\n \"unlimit\",\n \"unsetopt\",\n \"vared\",\n \"wait\",\n \"whence\",\n \"where\",\n \"which\",\n \"zcompile\",\n \"zformat\",\n \"zftp\",\n \"zle\",\n \"zmodload\",\n \"zparseopts\",\n \"zprof\",\n \"zpty\",\n \"zregexparse\",\n \"zsocket\",\n \"zstyle\",\n \"ztcp\"\n ];\n\n const GNU_CORE_UTILS = [\n \"chcon\",\n \"chgrp\",\n \"chown\",\n \"chmod\",\n \"cp\",\n \"dd\",\n \"df\",\n \"dir\",\n \"dircolors\",\n \"ln\",\n \"ls\",\n \"mkdir\",\n \"mkfifo\",\n \"mknod\",\n \"mktemp\",\n \"mv\",\n \"realpath\",\n \"rm\",\n \"rmdir\",\n \"shred\",\n \"sync\",\n \"touch\",\n \"truncate\",\n \"vdir\",\n \"b2sum\",\n \"base32\",\n \"base64\",\n \"cat\",\n \"cksum\",\n \"comm\",\n \"csplit\",\n \"cut\",\n \"expand\",\n \"fmt\",\n \"fold\",\n \"head\",\n \"join\",\n \"md5sum\",\n \"nl\",\n \"numfmt\",\n \"od\",\n \"paste\",\n \"ptx\",\n \"pr\",\n \"sha1sum\",\n \"sha224sum\",\n \"sha256sum\",\n \"sha384sum\",\n \"sha512sum\",\n \"shuf\",\n \"sort\",\n \"split\",\n \"sum\",\n \"tac\",\n \"tail\",\n \"tr\",\n \"tsort\",\n \"unexpand\",\n \"uniq\",\n \"wc\",\n \"arch\",\n \"basename\",\n \"chroot\",\n \"date\",\n \"dirname\",\n \"du\",\n \"echo\",\n \"env\",\n \"expr\",\n \"factor\",\n // \"false\", // keyword literal already\n \"groups\",\n \"hostid\",\n \"id\",\n \"link\",\n \"logname\",\n \"nice\",\n \"nohup\",\n \"nproc\",\n \"pathchk\",\n \"pinky\",\n \"printenv\",\n \"printf\",\n \"pwd\",\n \"readlink\",\n \"runcon\",\n \"seq\",\n \"sleep\",\n \"stat\",\n \"stdbuf\",\n \"stty\",\n \"tee\",\n \"test\",\n \"timeout\",\n // \"true\", // keyword literal already\n \"tty\",\n \"uname\",\n \"unlink\",\n \"uptime\",\n \"users\",\n \"who\",\n \"whoami\",\n \"yes\"\n ];\n\n return {\n name: 'Bash',\n aliases: [\n 'sh',\n 'zsh'\n ],\n keywords: {\n $pattern: /\\b[a-z][a-z0-9._-]+\\b/,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: [\n ...SHELL_BUILT_INS,\n ...BASH_BUILT_INS,\n // Shell modifiers\n \"set\",\n \"shopt\",\n ...ZSH_BUILT_INS,\n ...GNU_CORE_UTILS\n ]\n },\n contains: [\n KNOWN_SHEBANG, // to catch known shells and boost relevancy\n hljs.SHEBANG(), // to catch unknown shells but still highlight the shebang\n FUNCTION,\n ARITHMETIC,\n COMMENT,\n HERE_DOC,\n PATH_MODE,\n QUOTE_STRING,\n ESCAPED_QUOTE,\n APOS_STRING,\n ESCAPED_APOS,\n VAR\n ]\n };\n}\n\nexport { bash as default };\n","/*\nLanguage: C\nCategory: common, system\nWebsite: https://en.wikipedia.org/wiki/C_(programming_language)\n*/\n\n/** @type LanguageFn */\nfunction c(hljs) {\n const regex = hljs.regex;\n // added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does\n // not include such support nor can we be sure all the grammars depending\n // on it would desire this behavior\n const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\\\\n/ } ] });\n const DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)';\n const NAMESPACE_RE = '[a-zA-Z_]\\\\w*::';\n const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';\n const FUNCTION_TYPE_RE = '('\n + DECLTYPE_AUTO_RE + '|'\n + regex.optional(NAMESPACE_RE)\n + '[a-zA-Z_]\\\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)\n + ')';\n\n\n const TYPES = {\n className: 'type',\n variants: [\n { begin: '\\\\b[a-z\\\\d_]*_t\\\\b' },\n { match: /\\batomic_[a-z]{3,6}\\b/ }\n ]\n\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n const CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)';\n const STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + \"|.)\",\n end: '\\'',\n illegal: '.'\n },\n hljs.END_SAME_AS_BEGIN({\n begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,\n end: /\\)([^()\\\\ ]{0,16})\"/\n })\n ]\n };\n\n const NUMBERS = {\n className: 'number',\n variants: [\n { match: /\\b(0b[01']+)/ }, \n { match: /(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/ }, \n { match: /(-?)\\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/ }, \n { match: /(-?)\\b\\d+(?:'\\d+)*(?:\\.\\d*(?:'\\d*)*)?(?:[eE][-+]?\\d+)?/ } \n ],\n relevance: 0\n }; \n \n const PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: { keyword:\n 'if else elif endif define undef warning error line '\n + 'pragma _Pragma ifdef ifndef elifdef elifndef include' },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(STRINGS, { className: 'string' }),\n {\n className: 'string',\n begin: /<.*?>/\n },\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n const TITLE_MODE = {\n className: 'title',\n begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n const C_KEYWORDS = [\n \"asm\",\n \"auto\",\n \"break\",\n \"case\",\n \"continue\",\n \"default\",\n \"do\",\n \"else\",\n \"enum\",\n \"extern\",\n \"for\",\n \"fortran\",\n \"goto\",\n \"if\",\n \"inline\",\n \"register\",\n \"restrict\",\n \"return\",\n \"sizeof\",\n \"typeof\",\n \"typeof_unqual\",\n \"struct\",\n \"switch\",\n \"typedef\",\n \"union\",\n \"volatile\",\n \"while\",\n \"_Alignas\",\n \"_Alignof\",\n \"_Atomic\",\n \"_Generic\",\n \"_Noreturn\",\n \"_Static_assert\",\n \"_Thread_local\",\n // aliases\n \"alignas\",\n \"alignof\",\n \"noreturn\",\n \"static_assert\",\n \"thread_local\",\n // not a C keyword but is, for all intents and purposes, treated exactly like one.\n \"_Pragma\"\n ];\n\n const C_TYPES = [\n \"float\",\n \"double\",\n \"signed\",\n \"unsigned\",\n \"int\",\n \"short\",\n \"long\",\n \"char\",\n \"void\",\n \"_Bool\",\n \"_BitInt\",\n \"_Complex\",\n \"_Imaginary\",\n \"_Decimal32\",\n \"_Decimal64\",\n \"_Decimal96\",\n \"_Decimal128\",\n \"_Decimal64x\",\n \"_Decimal128x\",\n \"_Float16\",\n \"_Float32\",\n \"_Float64\",\n \"_Float128\",\n \"_Float32x\",\n \"_Float64x\",\n \"_Float128x\",\n // modifiers\n \"const\",\n \"static\",\n \"constexpr\",\n // aliases\n \"complex\",\n \"bool\",\n \"imaginary\"\n ];\n\n const KEYWORDS = {\n keyword: C_KEYWORDS,\n type: C_TYPES,\n literal: 'true false NULL',\n // TODO: apply hinting work similar to what was done in cpp.js\n built_in: 'std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream '\n + 'auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set '\n + 'unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos '\n + 'asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp '\n + 'fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper '\n + 'isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow '\n + 'printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp '\n + 'strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan '\n + 'vfprintf vprintf vsprintf endl initializer_list unique_ptr',\n };\n\n const EXPRESSION_CONTAINS = [\n PREPROCESSOR,\n TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n const EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {\n begin: /=/,\n end: /;/\n },\n {\n begin: /\\(/,\n end: /\\)/\n },\n {\n beginKeywords: 'new throw return else',\n end: /;/\n }\n ],\n keywords: KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([ 'self' ]),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n const FUNCTION_DECLARATION = {\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true,\n end: /[{;=]/,\n excludeEnd: true,\n keywords: KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>.]/,\n contains: [\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: KEYWORDS,\n relevance: 0\n },\n {\n begin: FUNCTION_TITLE,\n returnBegin: true,\n contains: [ hljs.inherit(TITLE_MODE, { className: \"title.function\" }) ],\n relevance: 0\n },\n // allow for multiple declarations, e.g.:\n // extern void f(int), g(char);\n {\n relevance: 0,\n match: /,/\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n TYPES\n ]\n }\n ]\n },\n TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n name: \"C\",\n aliases: [ 'h' ],\n keywords: KEYWORDS,\n // Until differentiations are added between `c` and `cpp`, `c` will\n // not be auto-detected to avoid auto-detect conflicts between C and C++\n disableAutodetect: true,\n illegal: '=]/,\n contains: [\n { beginKeywords: \"final class struct\" },\n hljs.TITLE_MODE\n ]\n }\n ]),\n exports: {\n preprocessor: PREPROCESSOR,\n strings: STRINGS,\n keywords: KEYWORDS\n }\n };\n}\n\nexport { c as default };\n","/*\nLanguage: C++\nCategory: common, system\nWebsite: https://isocpp.org\n*/\n\n/** @type LanguageFn */\nfunction cpp(hljs) {\n const regex = hljs.regex;\n // added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does\n // not include such support nor can we be sure all the grammars depending\n // on it would desire this behavior\n const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\\\\n/ } ] });\n const DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)';\n const NAMESPACE_RE = '[a-zA-Z_]\\\\w*::';\n const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';\n const FUNCTION_TYPE_RE = '(?!struct)('\n + DECLTYPE_AUTO_RE + '|'\n + regex.optional(NAMESPACE_RE)\n + '[a-zA-Z_]\\\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)\n + ')';\n\n const CPP_PRIMITIVE_TYPES = {\n className: 'type',\n begin: '\\\\b[a-z\\\\d_]*_t\\\\b'\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n const CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)';\n const STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + '|.)',\n end: '\\'',\n illegal: '.'\n },\n hljs.END_SAME_AS_BEGIN({\n begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,\n end: /\\)([^()\\\\ ]{0,16})\"/\n })\n ]\n };\n\n const NUMBERS = {\n className: 'number',\n variants: [\n // Floating-point literal.\n { begin:\n \"[+-]?(?:\" // Leading sign.\n // Decimal.\n + \"(?:\"\n +\"[0-9](?:'?[0-9])*\\\\.(?:[0-9](?:'?[0-9])*)?\"\n + \"|\\\\.[0-9](?:'?[0-9])*\"\n + \")(?:[Ee][+-]?[0-9](?:'?[0-9])*)?\"\n + \"|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*\"\n // Hexadecimal.\n + \"|0[Xx](?:\"\n +\"[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?\"\n + \"|\\\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*\"\n + \")[Pp][+-]?[0-9](?:'?[0-9])*\"\n + \")(?:\" // Literal suffixes.\n + \"[Ff](?:16|32|64|128)?\"\n + \"|(BF|bf)16\"\n + \"|[Ll]\"\n + \"|\" // Literal suffix is optional.\n + \")\"\n },\n // Integer literal.\n { begin:\n \"[+-]?\\\\b(?:\" // Leading sign.\n + \"0[Bb][01](?:'?[01])*\" // Binary.\n + \"|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*\" // Hexadecimal.\n + \"|0(?:'?[0-7])*\" // Octal or just a lone zero.\n + \"|[1-9](?:'?[0-9])*\" // Decimal.\n + \")(?:\" // Literal suffixes.\n + \"[Uu](?:LL?|ll?)\"\n + \"|[Uu][Zz]?\"\n + \"|(?:LL?|ll?)[Uu]?\"\n + \"|[Zz][Uu]\"\n + \"|\" // Literal suffix is optional.\n + \")\"\n // Note: there are user-defined literal suffixes too, but perhaps having the custom suffix not part of the\n // literal highlight actually makes it stand out more.\n }\n ],\n relevance: 0\n };\n\n const PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: { keyword:\n 'if else elif endif define undef warning error line '\n + 'pragma _Pragma ifdef ifndef include' },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(STRINGS, { className: 'string' }),\n {\n className: 'string',\n begin: /<.*?>/\n },\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n const TITLE_MODE = {\n className: 'title',\n begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n // https://en.cppreference.com/w/cpp/keyword\n const RESERVED_KEYWORDS = [\n 'alignas',\n 'alignof',\n 'and',\n 'and_eq',\n 'asm',\n 'atomic_cancel',\n 'atomic_commit',\n 'atomic_noexcept',\n 'auto',\n 'bitand',\n 'bitor',\n 'break',\n 'case',\n 'catch',\n 'class',\n 'co_await',\n 'co_return',\n 'co_yield',\n 'compl',\n 'concept',\n 'const_cast|10',\n 'consteval',\n 'constexpr',\n 'constinit',\n 'continue',\n 'decltype',\n 'default',\n 'delete',\n 'do',\n 'dynamic_cast|10',\n 'else',\n 'enum',\n 'explicit',\n 'export',\n 'extern',\n 'false',\n 'final',\n 'for',\n 'friend',\n 'goto',\n 'if',\n 'import',\n 'inline',\n 'module',\n 'mutable',\n 'namespace',\n 'new',\n 'noexcept',\n 'not',\n 'not_eq',\n 'nullptr',\n 'operator',\n 'or',\n 'or_eq',\n 'override',\n 'private',\n 'protected',\n 'public',\n 'reflexpr',\n 'register',\n 'reinterpret_cast|10',\n 'requires',\n 'return',\n 'sizeof',\n 'static_assert',\n 'static_cast|10',\n 'struct',\n 'switch',\n 'synchronized',\n 'template',\n 'this',\n 'thread_local',\n 'throw',\n 'transaction_safe',\n 'transaction_safe_dynamic',\n 'true',\n 'try',\n 'typedef',\n 'typeid',\n 'typename',\n 'union',\n 'using',\n 'virtual',\n 'volatile',\n 'while',\n 'xor',\n 'xor_eq'\n ];\n\n // https://en.cppreference.com/w/cpp/keyword\n const RESERVED_TYPES = [\n 'bool',\n 'char',\n 'char16_t',\n 'char32_t',\n 'char8_t',\n 'double',\n 'float',\n 'int',\n 'long',\n 'short',\n 'void',\n 'wchar_t',\n 'unsigned',\n 'signed',\n 'const',\n 'static'\n ];\n\n const TYPE_HINTS = [\n 'any',\n 'auto_ptr',\n 'barrier',\n 'binary_semaphore',\n 'bitset',\n 'complex',\n 'condition_variable',\n 'condition_variable_any',\n 'counting_semaphore',\n 'deque',\n 'false_type',\n 'flat_map',\n 'flat_set',\n 'future',\n 'imaginary',\n 'initializer_list',\n 'istringstream',\n 'jthread',\n 'latch',\n 'lock_guard',\n 'multimap',\n 'multiset',\n 'mutex',\n 'optional',\n 'ostringstream',\n 'packaged_task',\n 'pair',\n 'promise',\n 'priority_queue',\n 'queue',\n 'recursive_mutex',\n 'recursive_timed_mutex',\n 'scoped_lock',\n 'set',\n 'shared_future',\n 'shared_lock',\n 'shared_mutex',\n 'shared_timed_mutex',\n 'shared_ptr',\n 'stack',\n 'string_view',\n 'stringstream',\n 'timed_mutex',\n 'thread',\n 'true_type',\n 'tuple',\n 'unique_lock',\n 'unique_ptr',\n 'unordered_map',\n 'unordered_multimap',\n 'unordered_multiset',\n 'unordered_set',\n 'variant',\n 'vector',\n 'weak_ptr',\n 'wstring',\n 'wstring_view'\n ];\n\n const FUNCTION_HINTS = [\n 'abort',\n 'abs',\n 'acos',\n 'apply',\n 'as_const',\n 'asin',\n 'atan',\n 'atan2',\n 'calloc',\n 'ceil',\n 'cerr',\n 'cin',\n 'clog',\n 'cos',\n 'cosh',\n 'cout',\n 'declval',\n 'endl',\n 'exchange',\n 'exit',\n 'exp',\n 'fabs',\n 'floor',\n 'fmod',\n 'forward',\n 'fprintf',\n 'fputs',\n 'free',\n 'frexp',\n 'fscanf',\n 'future',\n 'invoke',\n 'isalnum',\n 'isalpha',\n 'iscntrl',\n 'isdigit',\n 'isgraph',\n 'islower',\n 'isprint',\n 'ispunct',\n 'isspace',\n 'isupper',\n 'isxdigit',\n 'labs',\n 'launder',\n 'ldexp',\n 'log',\n 'log10',\n 'make_pair',\n 'make_shared',\n 'make_shared_for_overwrite',\n 'make_tuple',\n 'make_unique',\n 'malloc',\n 'memchr',\n 'memcmp',\n 'memcpy',\n 'memset',\n 'modf',\n 'move',\n 'pow',\n 'printf',\n 'putchar',\n 'puts',\n 'realloc',\n 'scanf',\n 'sin',\n 'sinh',\n 'snprintf',\n 'sprintf',\n 'sqrt',\n 'sscanf',\n 'std',\n 'stderr',\n 'stdin',\n 'stdout',\n 'strcat',\n 'strchr',\n 'strcmp',\n 'strcpy',\n 'strcspn',\n 'strlen',\n 'strncat',\n 'strncmp',\n 'strncpy',\n 'strpbrk',\n 'strrchr',\n 'strspn',\n 'strstr',\n 'swap',\n 'tan',\n 'tanh',\n 'terminate',\n 'to_underlying',\n 'tolower',\n 'toupper',\n 'vfprintf',\n 'visit',\n 'vprintf',\n 'vsprintf'\n ];\n\n const LITERALS = [\n 'NULL',\n 'false',\n 'nullopt',\n 'nullptr',\n 'true'\n ];\n\n // https://en.cppreference.com/w/cpp/keyword\n const BUILT_IN = [ '_Pragma' ];\n\n const CPP_KEYWORDS = {\n type: RESERVED_TYPES,\n keyword: RESERVED_KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_IN,\n _type_hints: TYPE_HINTS\n };\n\n const FUNCTION_DISPATCH = {\n className: 'function.dispatch',\n relevance: 0,\n keywords: {\n // Only for relevance, not highlighting.\n _hint: FUNCTION_HINTS },\n begin: regex.concat(\n /\\b/,\n /(?!decltype)/,\n /(?!if)/,\n /(?!for)/,\n /(?!switch)/,\n /(?!while)/,\n hljs.IDENT_RE,\n regex.lookahead(/(<[^<>]+>|)\\s*\\(/))\n };\n\n const EXPRESSION_CONTAINS = [\n FUNCTION_DISPATCH,\n PREPROCESSOR,\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n const EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {\n begin: /=/,\n end: /;/\n },\n {\n begin: /\\(/,\n end: /\\)/\n },\n {\n beginKeywords: 'new throw return else',\n end: /;/\n }\n ],\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([ 'self' ]),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n const FUNCTION_DECLARATION = {\n className: 'function',\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true,\n end: /[{;=]/,\n excludeEnd: true,\n keywords: CPP_KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>.]/,\n contains: [\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: CPP_KEYWORDS,\n relevance: 0\n },\n {\n begin: FUNCTION_TITLE,\n returnBegin: true,\n contains: [ TITLE_MODE ],\n relevance: 0\n },\n // needed because we do not have look-behind on the below rule\n // to prevent it from grabbing the final : in a :: pair\n {\n begin: /::/,\n relevance: 0\n },\n // initializers\n {\n begin: /:/,\n endsWithParent: true,\n contains: [\n STRINGS,\n NUMBERS\n ]\n },\n // allow for multiple declarations, e.g.:\n // extern void f(int), g(char);\n {\n relevance: 0,\n match: /,/\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES\n ]\n }\n ]\n },\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n name: 'C++',\n aliases: [\n 'cc',\n 'c++',\n 'h++',\n 'hpp',\n 'hh',\n 'hxx',\n 'cxx'\n ],\n keywords: CPP_KEYWORDS,\n illegal: ' rooms (9);`\n begin: '\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\\\s*<(?!<)',\n end: '>',\n keywords: CPP_KEYWORDS,\n contains: [\n 'self',\n CPP_PRIMITIVE_TYPES\n ]\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: CPP_KEYWORDS\n },\n {\n match: [\n // extra complexity to deal with `enum class` and `enum struct`\n /\\b(?:enum(?:\\s+(?:class|struct))?|class|struct|union)/,\n /\\s+/,\n /\\w+/\n ],\n className: {\n 1: 'keyword',\n 3: 'title.class'\n }\n }\n ])\n };\n}\n\nexport { cpp as default };\n","/*\nLanguage: C#\nAuthor: Jason Diamond \nContributor: Nicolas LLOBERA , Pieter Vantorre , David Pine \nWebsite: https://docs.microsoft.com/dotnet/csharp/\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction csharp(hljs) {\n const BUILT_IN_KEYWORDS = [\n 'bool',\n 'byte',\n 'char',\n 'decimal',\n 'delegate',\n 'double',\n 'dynamic',\n 'enum',\n 'float',\n 'int',\n 'long',\n 'nint',\n 'nuint',\n 'object',\n 'sbyte',\n 'short',\n 'string',\n 'ulong',\n 'uint',\n 'ushort'\n ];\n const FUNCTION_MODIFIERS = [\n 'public',\n 'private',\n 'protected',\n 'static',\n 'internal',\n 'protected',\n 'abstract',\n 'async',\n 'extern',\n 'override',\n 'unsafe',\n 'virtual',\n 'new',\n 'sealed',\n 'partial'\n ];\n const LITERAL_KEYWORDS = [\n 'default',\n 'false',\n 'null',\n 'true'\n ];\n const NORMAL_KEYWORDS = [\n 'abstract',\n 'as',\n 'base',\n 'break',\n 'case',\n 'catch',\n 'class',\n 'const',\n 'continue',\n 'do',\n 'else',\n 'event',\n 'explicit',\n 'extern',\n 'finally',\n 'fixed',\n 'for',\n 'foreach',\n 'goto',\n 'if',\n 'implicit',\n 'in',\n 'interface',\n 'internal',\n 'is',\n 'lock',\n 'namespace',\n 'new',\n 'operator',\n 'out',\n 'override',\n 'params',\n 'private',\n 'protected',\n 'public',\n 'readonly',\n 'record',\n 'ref',\n 'return',\n 'scoped',\n 'sealed',\n 'sizeof',\n 'stackalloc',\n 'static',\n 'struct',\n 'switch',\n 'this',\n 'throw',\n 'try',\n 'typeof',\n 'unchecked',\n 'unsafe',\n 'using',\n 'virtual',\n 'void',\n 'volatile',\n 'while'\n ];\n const CONTEXTUAL_KEYWORDS = [\n 'add',\n 'alias',\n 'and',\n 'ascending',\n 'args',\n 'async',\n 'await',\n 'by',\n 'descending',\n 'dynamic',\n 'equals',\n 'file',\n 'from',\n 'get',\n 'global',\n 'group',\n 'init',\n 'into',\n 'join',\n 'let',\n 'nameof',\n 'not',\n 'notnull',\n 'on',\n 'or',\n 'orderby',\n 'partial',\n 'record',\n 'remove',\n 'required',\n 'scoped',\n 'select',\n 'set',\n 'unmanaged',\n 'value|0',\n 'var',\n 'when',\n 'where',\n 'with',\n 'yield'\n ];\n\n const KEYWORDS = {\n keyword: NORMAL_KEYWORDS.concat(CONTEXTUAL_KEYWORDS),\n built_in: BUILT_IN_KEYWORDS,\n literal: LITERAL_KEYWORDS\n };\n const TITLE_MODE = hljs.inherit(hljs.TITLE_MODE, { begin: '[a-zA-Z](\\\\.?\\\\w)*' });\n const NUMBERS = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0b[01\\']+)' },\n { begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)(u|U|l|L|ul|UL|f|F|b|B)' },\n { begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)' }\n ],\n relevance: 0\n };\n const RAW_STRING = {\n className: 'string',\n begin: /\"\"\"(\"*)(?!\")(.|\\n)*?\"\"\"\\1/,\n relevance: 1\n };\n const VERBATIM_STRING = {\n className: 'string',\n begin: '@\"',\n end: '\"',\n contains: [ { begin: '\"\"' } ]\n };\n const VERBATIM_STRING_NO_LF = hljs.inherit(VERBATIM_STRING, { illegal: /\\n/ });\n const SUBST = {\n className: 'subst',\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS\n };\n const SUBST_NO_LF = hljs.inherit(SUBST, { illegal: /\\n/ });\n const INTERPOLATED_STRING = {\n className: 'string',\n begin: /\\$\"/,\n end: '\"',\n illegal: /\\n/,\n contains: [\n { begin: /\\{\\{/ },\n { begin: /\\}\\}/ },\n hljs.BACKSLASH_ESCAPE,\n SUBST_NO_LF\n ]\n };\n const INTERPOLATED_VERBATIM_STRING = {\n className: 'string',\n begin: /\\$@\"/,\n end: '\"',\n contains: [\n { begin: /\\{\\{/ },\n { begin: /\\}\\}/ },\n { begin: '\"\"' },\n SUBST\n ]\n };\n const INTERPOLATED_VERBATIM_STRING_NO_LF = hljs.inherit(INTERPOLATED_VERBATIM_STRING, {\n illegal: /\\n/,\n contains: [\n { begin: /\\{\\{/ },\n { begin: /\\}\\}/ },\n { begin: '\"\"' },\n SUBST_NO_LF\n ]\n });\n SUBST.contains = [\n INTERPOLATED_VERBATIM_STRING,\n INTERPOLATED_STRING,\n VERBATIM_STRING,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMBERS,\n hljs.C_BLOCK_COMMENT_MODE\n ];\n SUBST_NO_LF.contains = [\n INTERPOLATED_VERBATIM_STRING_NO_LF,\n INTERPOLATED_STRING,\n VERBATIM_STRING_NO_LF,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMBERS,\n hljs.inherit(hljs.C_BLOCK_COMMENT_MODE, { illegal: /\\n/ })\n ];\n const STRING = { variants: [\n RAW_STRING,\n INTERPOLATED_VERBATIM_STRING,\n INTERPOLATED_STRING,\n VERBATIM_STRING,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ] };\n\n const GENERIC_MODIFIER = {\n begin: \"<\",\n end: \">\",\n contains: [\n { beginKeywords: \"in out\" },\n TITLE_MODE\n ]\n };\n const TYPE_IDENT_RE = hljs.IDENT_RE + '(<' + hljs.IDENT_RE + '(\\\\s*,\\\\s*' + hljs.IDENT_RE + ')*>)?(\\\\[\\\\])?';\n const AT_IDENTIFIER = {\n // prevents expressions like `@class` from incorrect flagging\n // `class` as a keyword\n begin: \"@\" + hljs.IDENT_RE,\n relevance: 0\n };\n\n return {\n name: 'C#',\n aliases: [\n 'cs',\n 'c#'\n ],\n keywords: KEYWORDS,\n illegal: /::/,\n contains: [\n hljs.COMMENT(\n '///',\n '$',\n {\n returnBegin: true,\n contains: [\n {\n className: 'doctag',\n variants: [\n {\n begin: '///',\n relevance: 0\n },\n { begin: '' },\n {\n begin: ''\n }\n ]\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'meta',\n begin: '#',\n end: '$',\n keywords: { keyword: 'if else elif endif define undef warning error line region endregion pragma checksum' }\n },\n STRING,\n NUMBERS,\n {\n beginKeywords: 'class interface',\n relevance: 0,\n end: /[{;=]/,\n illegal: /[^\\s:,]/,\n contains: [\n { beginKeywords: \"where class\" },\n TITLE_MODE,\n GENERIC_MODIFIER,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n beginKeywords: 'namespace',\n relevance: 0,\n end: /[{;=]/,\n illegal: /[^\\s:]/,\n contains: [\n TITLE_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n beginKeywords: 'record',\n relevance: 0,\n end: /[{;=]/,\n illegal: /[^\\s:]/,\n contains: [\n TITLE_MODE,\n GENERIC_MODIFIER,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n // [Attributes(\"\")]\n className: 'meta',\n begin: '^\\\\s*\\\\[(?=[\\\\w])',\n excludeBegin: true,\n end: '\\\\]',\n excludeEnd: true,\n contains: [\n {\n className: 'string',\n begin: /\"/,\n end: /\"/\n }\n ]\n },\n {\n // Expression keywords prevent 'keyword Name(...)' from being\n // recognized as a function definition\n beginKeywords: 'new return throw await else',\n relevance: 0\n },\n {\n className: 'function',\n begin: '(' + TYPE_IDENT_RE + '\\\\s+)+' + hljs.IDENT_RE + '\\\\s*(<[^=]+>\\\\s*)?\\\\(',\n returnBegin: true,\n end: /\\s*[{;=]/,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n // prevents these from being highlighted `title`\n {\n beginKeywords: FUNCTION_MODIFIERS.join(\" \"),\n relevance: 0\n },\n {\n begin: hljs.IDENT_RE + '\\\\s*(<[^=]+>\\\\s*)?\\\\(',\n returnBegin: true,\n contains: [\n hljs.TITLE_MODE,\n GENERIC_MODIFIER\n ],\n relevance: 0\n },\n { match: /\\(\\)/ },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n STRING,\n NUMBERS,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n AT_IDENTIFIER\n ]\n };\n}\n\nexport { csharp as default };\n","const MODES = (hljs) => {\n return {\n IMPORTANT: {\n scope: 'meta',\n begin: '!important'\n },\n BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,\n HEXCOLOR: {\n scope: 'number',\n begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/\n },\n FUNCTION_DISPATCH: {\n className: \"built_in\",\n begin: /[\\w-]+(?=\\()/\n },\n ATTRIBUTE_SELECTOR_MODE: {\n scope: 'selector-attr',\n begin: /\\[/,\n end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n },\n CSS_NUMBER_MODE: {\n scope: 'number',\n begin: hljs.NUMBER_RE + '(' +\n '%|em|ex|ch|rem' +\n '|vw|vh|vmin|vmax' +\n '|cm|mm|in|pt|pc|px' +\n '|deg|grad|rad|turn' +\n '|s|ms' +\n '|Hz|kHz' +\n '|dpi|dpcm|dppx' +\n ')?',\n relevance: 0\n },\n CSS_VARIABLE: {\n className: \"attr\",\n begin: /--[A-Za-z_][A-Za-z0-9_-]*/\n }\n };\n};\n\nconst HTML_TAGS = [\n 'a',\n 'abbr',\n 'address',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'blockquote',\n 'body',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'header',\n 'hgroup',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'label',\n 'legend',\n 'li',\n 'main',\n 'mark',\n 'menu',\n 'nav',\n 'object',\n 'ol',\n 'optgroup',\n 'option',\n 'p',\n 'picture',\n 'q',\n 'quote',\n 'samp',\n 'section',\n 'select',\n 'source',\n 'span',\n 'strong',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'tr',\n 'ul',\n 'var',\n 'video'\n];\n\nconst SVG_TAGS = [\n 'defs',\n 'g',\n 'marker',\n 'mask',\n 'pattern',\n 'svg',\n 'switch',\n 'symbol',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feFlood',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMorphology',\n 'feOffset',\n 'feSpecularLighting',\n 'feTile',\n 'feTurbulence',\n 'linearGradient',\n 'radialGradient',\n 'stop',\n 'circle',\n 'ellipse',\n 'image',\n 'line',\n 'path',\n 'polygon',\n 'polyline',\n 'rect',\n 'text',\n 'use',\n 'textPath',\n 'tspan',\n 'foreignObject',\n 'clipPath'\n];\n\nconst TAGS = [\n ...HTML_TAGS,\n ...SVG_TAGS,\n];\n\n// Sorting, then reversing makes sure longer attributes/elements like\n// `font-weight` are matched fully instead of getting false positives on say `font`\n\nconst MEDIA_FEATURES = [\n 'any-hover',\n 'any-pointer',\n 'aspect-ratio',\n 'color',\n 'color-gamut',\n 'color-index',\n 'device-aspect-ratio',\n 'device-height',\n 'device-width',\n 'display-mode',\n 'forced-colors',\n 'grid',\n 'height',\n 'hover',\n 'inverted-colors',\n 'monochrome',\n 'orientation',\n 'overflow-block',\n 'overflow-inline',\n 'pointer',\n 'prefers-color-scheme',\n 'prefers-contrast',\n 'prefers-reduced-motion',\n 'prefers-reduced-transparency',\n 'resolution',\n 'scan',\n 'scripting',\n 'update',\n 'width',\n // TODO: find a better solution?\n 'min-width',\n 'max-width',\n 'min-height',\n 'max-height'\n].sort().reverse();\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes\nconst PSEUDO_CLASSES = [\n 'active',\n 'any-link',\n 'blank',\n 'checked',\n 'current',\n 'default',\n 'defined',\n 'dir', // dir()\n 'disabled',\n 'drop',\n 'empty',\n 'enabled',\n 'first',\n 'first-child',\n 'first-of-type',\n 'fullscreen',\n 'future',\n 'focus',\n 'focus-visible',\n 'focus-within',\n 'has', // has()\n 'host', // host or host()\n 'host-context', // host-context()\n 'hover',\n 'indeterminate',\n 'in-range',\n 'invalid',\n 'is', // is()\n 'lang', // lang()\n 'last-child',\n 'last-of-type',\n 'left',\n 'link',\n 'local-link',\n 'not', // not()\n 'nth-child', // nth-child()\n 'nth-col', // nth-col()\n 'nth-last-child', // nth-last-child()\n 'nth-last-col', // nth-last-col()\n 'nth-last-of-type', //nth-last-of-type()\n 'nth-of-type', //nth-of-type()\n 'only-child',\n 'only-of-type',\n 'optional',\n 'out-of-range',\n 'past',\n 'placeholder-shown',\n 'read-only',\n 'read-write',\n 'required',\n 'right',\n 'root',\n 'scope',\n 'target',\n 'target-within',\n 'user-invalid',\n 'valid',\n 'visited',\n 'where' // where()\n].sort().reverse();\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements\nconst PSEUDO_ELEMENTS = [\n 'after',\n 'backdrop',\n 'before',\n 'cue',\n 'cue-region',\n 'first-letter',\n 'first-line',\n 'grammar-error',\n 'marker',\n 'part',\n 'placeholder',\n 'selection',\n 'slotted',\n 'spelling-error'\n].sort().reverse();\n\nconst ATTRIBUTES = [\n 'accent-color',\n 'align-content',\n 'align-items',\n 'align-self',\n 'alignment-baseline',\n 'all',\n 'anchor-name',\n 'animation',\n 'animation-composition',\n 'animation-delay',\n 'animation-direction',\n 'animation-duration',\n 'animation-fill-mode',\n 'animation-iteration-count',\n 'animation-name',\n 'animation-play-state',\n 'animation-range',\n 'animation-range-end',\n 'animation-range-start',\n 'animation-timeline',\n 'animation-timing-function',\n 'appearance',\n 'aspect-ratio',\n 'backdrop-filter',\n 'backface-visibility',\n 'background',\n 'background-attachment',\n 'background-blend-mode',\n 'background-clip',\n 'background-color',\n 'background-image',\n 'background-origin',\n 'background-position',\n 'background-position-x',\n 'background-position-y',\n 'background-repeat',\n 'background-size',\n 'baseline-shift',\n 'block-size',\n 'border',\n 'border-block',\n 'border-block-color',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-style',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-style',\n 'border-block-start-width',\n 'border-block-style',\n 'border-block-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-style',\n 'border-bottom-width',\n 'border-collapse',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image',\n 'border-image-outset',\n 'border-image-repeat',\n 'border-image-slice',\n 'border-image-source',\n 'border-image-width',\n 'border-inline',\n 'border-inline-color',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-style',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-style',\n 'border-inline-start-width',\n 'border-inline-style',\n 'border-inline-width',\n 'border-left',\n 'border-left-color',\n 'border-left-style',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-style',\n 'border-right-width',\n 'border-spacing',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-style',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-style',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-align',\n 'box-decoration-break',\n 'box-direction',\n 'box-flex',\n 'box-flex-group',\n 'box-lines',\n 'box-ordinal-group',\n 'box-orient',\n 'box-pack',\n 'box-shadow',\n 'box-sizing',\n 'break-after',\n 'break-before',\n 'break-inside',\n 'caption-side',\n 'caret-color',\n 'clear',\n 'clip',\n 'clip-path',\n 'clip-rule',\n 'color',\n 'color-interpolation',\n 'color-interpolation-filters',\n 'color-profile',\n 'color-rendering',\n 'color-scheme',\n 'column-count',\n 'column-fill',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-style',\n 'column-rule-width',\n 'column-span',\n 'column-width',\n 'columns',\n 'contain',\n 'contain-intrinsic-block-size',\n 'contain-intrinsic-height',\n 'contain-intrinsic-inline-size',\n 'contain-intrinsic-size',\n 'contain-intrinsic-width',\n 'container',\n 'container-name',\n 'container-type',\n 'content',\n 'content-visibility',\n 'counter-increment',\n 'counter-reset',\n 'counter-set',\n 'cue',\n 'cue-after',\n 'cue-before',\n 'cursor',\n 'cx',\n 'cy',\n 'direction',\n 'display',\n 'dominant-baseline',\n 'empty-cells',\n 'enable-background',\n 'field-sizing',\n 'fill',\n 'fill-opacity',\n 'fill-rule',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-direction',\n 'flex-flow',\n 'flex-grow',\n 'flex-shrink',\n 'flex-wrap',\n 'float',\n 'flood-color',\n 'flood-opacity',\n 'flow',\n 'font',\n 'font-display',\n 'font-family',\n 'font-feature-settings',\n 'font-kerning',\n 'font-language-override',\n 'font-optical-sizing',\n 'font-palette',\n 'font-size',\n 'font-size-adjust',\n 'font-smooth',\n 'font-smoothing',\n 'font-stretch',\n 'font-style',\n 'font-synthesis',\n 'font-synthesis-position',\n 'font-synthesis-small-caps',\n 'font-synthesis-style',\n 'font-synthesis-weight',\n 'font-variant',\n 'font-variant-alternates',\n 'font-variant-caps',\n 'font-variant-east-asian',\n 'font-variant-emoji',\n 'font-variant-ligatures',\n 'font-variant-numeric',\n 'font-variant-position',\n 'font-variation-settings',\n 'font-weight',\n 'forced-color-adjust',\n 'gap',\n 'glyph-orientation-horizontal',\n 'glyph-orientation-vertical',\n 'grid',\n 'grid-area',\n 'grid-auto-columns',\n 'grid-auto-flow',\n 'grid-auto-rows',\n 'grid-column',\n 'grid-column-end',\n 'grid-column-start',\n 'grid-gap',\n 'grid-row',\n 'grid-row-end',\n 'grid-row-start',\n 'grid-template',\n 'grid-template-areas',\n 'grid-template-columns',\n 'grid-template-rows',\n 'hanging-punctuation',\n 'height',\n 'hyphenate-character',\n 'hyphenate-limit-chars',\n 'hyphens',\n 'icon',\n 'image-orientation',\n 'image-rendering',\n 'image-resolution',\n 'ime-mode',\n 'initial-letter',\n 'initial-letter-align',\n 'inline-size',\n 'inset',\n 'inset-area',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'isolation',\n 'justify-content',\n 'justify-items',\n 'justify-self',\n 'kerning',\n 'left',\n 'letter-spacing',\n 'lighting-color',\n 'line-break',\n 'line-height',\n 'line-height-step',\n 'list-style',\n 'list-style-image',\n 'list-style-position',\n 'list-style-type',\n 'margin',\n 'margin-block',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'margin-trim',\n 'marker',\n 'marker-end',\n 'marker-mid',\n 'marker-start',\n 'marks',\n 'mask',\n 'mask-border',\n 'mask-border-mode',\n 'mask-border-outset',\n 'mask-border-repeat',\n 'mask-border-slice',\n 'mask-border-source',\n 'mask-border-width',\n 'mask-clip',\n 'mask-composite',\n 'mask-image',\n 'mask-mode',\n 'mask-origin',\n 'mask-position',\n 'mask-repeat',\n 'mask-size',\n 'mask-type',\n 'masonry-auto-flow',\n 'math-depth',\n 'math-shift',\n 'math-style',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'mix-blend-mode',\n 'nav-down',\n 'nav-index',\n 'nav-left',\n 'nav-right',\n 'nav-up',\n 'none',\n 'normal',\n 'object-fit',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'orphans',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-style',\n 'outline-width',\n 'overflow',\n 'overflow-anchor',\n 'overflow-block',\n 'overflow-clip-margin',\n 'overflow-inline',\n 'overflow-wrap',\n 'overflow-x',\n 'overflow-y',\n 'overlay',\n 'overscroll-behavior',\n 'overscroll-behavior-block',\n 'overscroll-behavior-inline',\n 'overscroll-behavior-x',\n 'overscroll-behavior-y',\n 'padding',\n 'padding-block',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'page',\n 'page-break-after',\n 'page-break-before',\n 'page-break-inside',\n 'paint-order',\n 'pause',\n 'pause-after',\n 'pause-before',\n 'perspective',\n 'perspective-origin',\n 'place-content',\n 'place-items',\n 'place-self',\n 'pointer-events',\n 'position',\n 'position-anchor',\n 'position-visibility',\n 'print-color-adjust',\n 'quotes',\n 'r',\n 'resize',\n 'rest',\n 'rest-after',\n 'rest-before',\n 'right',\n 'rotate',\n 'row-gap',\n 'ruby-align',\n 'ruby-position',\n 'scale',\n 'scroll-behavior',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-align',\n 'scroll-snap-stop',\n 'scroll-snap-type',\n 'scroll-timeline',\n 'scroll-timeline-axis',\n 'scroll-timeline-name',\n 'scrollbar-color',\n 'scrollbar-gutter',\n 'scrollbar-width',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'shape-rendering',\n 'speak',\n 'speak-as',\n 'src', // @font-face\n 'stop-color',\n 'stop-opacity',\n 'stroke',\n 'stroke-dasharray',\n 'stroke-dashoffset',\n 'stroke-linecap',\n 'stroke-linejoin',\n 'stroke-miterlimit',\n 'stroke-opacity',\n 'stroke-width',\n 'tab-size',\n 'table-layout',\n 'text-align',\n 'text-align-all',\n 'text-align-last',\n 'text-anchor',\n 'text-combine-upright',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-line',\n 'text-decoration-skip',\n 'text-decoration-skip-ink',\n 'text-decoration-style',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-emphasis-position',\n 'text-emphasis-style',\n 'text-indent',\n 'text-justify',\n 'text-orientation',\n 'text-overflow',\n 'text-rendering',\n 'text-shadow',\n 'text-size-adjust',\n 'text-transform',\n 'text-underline-offset',\n 'text-underline-position',\n 'text-wrap',\n 'text-wrap-mode',\n 'text-wrap-style',\n 'timeline-scope',\n 'top',\n 'touch-action',\n 'transform',\n 'transform-box',\n 'transform-origin',\n 'transform-style',\n 'transition',\n 'transition-behavior',\n 'transition-delay',\n 'transition-duration',\n 'transition-property',\n 'transition-timing-function',\n 'translate',\n 'unicode-bidi',\n 'user-modify',\n 'user-select',\n 'vector-effect',\n 'vertical-align',\n 'view-timeline',\n 'view-timeline-axis',\n 'view-timeline-inset',\n 'view-timeline-name',\n 'view-transition-name',\n 'visibility',\n 'voice-balance',\n 'voice-duration',\n 'voice-family',\n 'voice-pitch',\n 'voice-range',\n 'voice-rate',\n 'voice-stress',\n 'voice-volume',\n 'white-space',\n 'white-space-collapse',\n 'widows',\n 'width',\n 'will-change',\n 'word-break',\n 'word-spacing',\n 'word-wrap',\n 'writing-mode',\n 'x',\n 'y',\n 'z-index',\n 'zoom'\n].sort().reverse();\n\n/*\nLanguage: CSS\nCategory: common, css, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/CSS\n*/\n\n\n/** @type LanguageFn */\nfunction css(hljs) {\n const regex = hljs.regex;\n const modes = MODES(hljs);\n const VENDOR_PREFIX = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ };\n const AT_MODIFIERS = \"and or not only\";\n const AT_PROPERTY_RE = /@-?\\w[\\w]*(-\\w+)*/; // @-webkit-keyframes\n const IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n const STRINGS = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ];\n\n return {\n name: 'CSS',\n case_insensitive: true,\n illegal: /[=|'\\$]/,\n keywords: { keyframePosition: \"from to\" },\n classNameAliases: {\n // for visual continuity with `tag {}` and because we\n // don't have a great class for this?\n keyframePosition: \"selector-tag\" },\n contains: [\n modes.BLOCK_COMMENT,\n VENDOR_PREFIX,\n // to recognize keyframe 40% etc which are outside the scope of our\n // attribute value mode\n modes.CSS_NUMBER_MODE,\n {\n className: 'selector-id',\n begin: /#[A-Za-z0-9_-]+/,\n relevance: 0\n },\n {\n className: 'selector-class',\n begin: '\\\\.' + IDENT_RE,\n relevance: 0\n },\n modes.ATTRIBUTE_SELECTOR_MODE,\n {\n className: 'selector-pseudo',\n variants: [\n { begin: ':(' + PSEUDO_CLASSES.join('|') + ')' },\n { begin: ':(:)?(' + PSEUDO_ELEMENTS.join('|') + ')' }\n ]\n },\n // we may actually need this (12/2020)\n // { // pseudo-selector params\n // begin: /\\(/,\n // end: /\\)/,\n // contains: [ hljs.CSS_NUMBER_MODE ]\n // },\n modes.CSS_VARIABLE,\n {\n className: 'attribute',\n begin: '\\\\b(' + ATTRIBUTES.join('|') + ')\\\\b'\n },\n // attribute values\n {\n begin: /:/,\n end: /[;}{]/,\n contains: [\n modes.BLOCK_COMMENT,\n modes.HEXCOLOR,\n modes.IMPORTANT,\n modes.CSS_NUMBER_MODE,\n ...STRINGS,\n // needed to highlight these as strings and to avoid issues with\n // illegal characters that might be inside urls that would tigger the\n // languages illegal stack\n {\n begin: /(url|data-uri)\\(/,\n end: /\\)/,\n relevance: 0, // from keywords\n keywords: { built_in: \"url data-uri\" },\n contains: [\n ...STRINGS,\n {\n className: \"string\",\n // any character other than `)` as in `url()` will be the start\n // of a string, which ends with `)` (from the parent mode)\n begin: /[^)]/,\n endsWithParent: true,\n excludeEnd: true\n }\n ]\n },\n modes.FUNCTION_DISPATCH\n ]\n },\n {\n begin: regex.lookahead(/@/),\n end: '[{;]',\n relevance: 0,\n illegal: /:/, // break on Less variables @var: ...\n contains: [\n {\n className: 'keyword',\n begin: AT_PROPERTY_RE\n },\n {\n begin: /\\s/,\n endsWithParent: true,\n excludeEnd: true,\n relevance: 0,\n keywords: {\n $pattern: /[a-z-]+/,\n keyword: AT_MODIFIERS,\n attribute: MEDIA_FEATURES.join(\" \")\n },\n contains: [\n {\n begin: /[a-z-]+(?=:)/,\n className: \"attribute\"\n },\n ...STRINGS,\n modes.CSS_NUMBER_MODE\n ]\n }\n ]\n },\n {\n className: 'selector-tag',\n begin: '\\\\b(' + TAGS.join('|') + ')\\\\b'\n }\n ]\n };\n}\n\nexport { css as default };\n","/*\nLanguage: Diff\nDescription: Unified and context diff\nAuthor: Vasily Polovnyov \nWebsite: https://www.gnu.org/software/diffutils/\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction diff(hljs) {\n const regex = hljs.regex;\n return {\n name: 'Diff',\n aliases: [ 'patch' ],\n contains: [\n {\n className: 'meta',\n relevance: 10,\n match: regex.either(\n /^@@ +-\\d+,\\d+ +\\+\\d+,\\d+ +@@/,\n /^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$/,\n /^--- +\\d+,\\d+ +----$/\n )\n },\n {\n className: 'comment',\n variants: [\n {\n begin: regex.either(\n /Index: /,\n /^index/,\n /={3,}/,\n /^-{3}/,\n /^\\*{3} /,\n /^\\+{3}/,\n /^diff --git/\n ),\n end: /$/\n },\n { match: /^\\*{15}$/ }\n ]\n },\n {\n className: 'addition',\n begin: /^\\+/,\n end: /$/\n },\n {\n className: 'deletion',\n begin: /^-/,\n end: /$/\n },\n {\n className: 'addition',\n begin: /^!/,\n end: /$/\n }\n ]\n };\n}\n\nexport { diff as default };\n","/*\nLanguage: Go\nAuthor: Stephan Kountso aka StepLg \nContributors: Evgeny Stepanischev \nDescription: Google go language (golang). For info about language\nWebsite: http://golang.org/\nCategory: common, system\n*/\n\nfunction go(hljs) {\n const LITERALS = [\n \"true\",\n \"false\",\n \"iota\",\n \"nil\"\n ];\n const BUILT_INS = [\n \"append\",\n \"cap\",\n \"close\",\n \"complex\",\n \"copy\",\n \"imag\",\n \"len\",\n \"make\",\n \"new\",\n \"panic\",\n \"print\",\n \"println\",\n \"real\",\n \"recover\",\n \"delete\"\n ];\n const TYPES = [\n \"bool\",\n \"byte\",\n \"complex64\",\n \"complex128\",\n \"error\",\n \"float32\",\n \"float64\",\n \"int8\",\n \"int16\",\n \"int32\",\n \"int64\",\n \"string\",\n \"uint8\",\n \"uint16\",\n \"uint32\",\n \"uint64\",\n \"int\",\n \"uint\",\n \"uintptr\",\n \"rune\"\n ];\n const KWS = [\n \"break\",\n \"case\",\n \"chan\",\n \"const\",\n \"continue\",\n \"default\",\n \"defer\",\n \"else\",\n \"fallthrough\",\n \"for\",\n \"func\",\n \"go\",\n \"goto\",\n \"if\",\n \"import\",\n \"interface\",\n \"map\",\n \"package\",\n \"range\",\n \"return\",\n \"select\",\n \"struct\",\n \"switch\",\n \"type\",\n \"var\",\n ];\n const KEYWORDS = {\n keyword: KWS,\n type: TYPES,\n literal: LITERALS,\n built_in: BUILT_INS\n };\n return {\n name: 'Go',\n aliases: [ 'golang' ],\n keywords: KEYWORDS,\n illegal: '\nCategory: common, config\nWebsite: https://github.com/toml-lang/toml\n*/\n\nfunction ini(hljs) {\n const regex = hljs.regex;\n const NUMBERS = {\n className: 'number',\n relevance: 0,\n variants: [\n { begin: /([+-]+)?[\\d]+_[\\d_]+/ },\n { begin: hljs.NUMBER_RE }\n ]\n };\n const COMMENTS = hljs.COMMENT();\n COMMENTS.variants = [\n {\n begin: /;/,\n end: /$/\n },\n {\n begin: /#/,\n end: /$/\n }\n ];\n const VARIABLES = {\n className: 'variable',\n variants: [\n { begin: /\\$[\\w\\d\"][\\w\\d_]*/ },\n { begin: /\\$\\{(.*?)\\}/ }\n ]\n };\n const LITERALS = {\n className: 'literal',\n begin: /\\bon|off|true|false|yes|no\\b/\n };\n const STRINGS = {\n className: \"string\",\n contains: [ hljs.BACKSLASH_ESCAPE ],\n variants: [\n {\n begin: \"'''\",\n end: \"'''\",\n relevance: 10\n },\n {\n begin: '\"\"\"',\n end: '\"\"\"',\n relevance: 10\n },\n {\n begin: '\"',\n end: '\"'\n },\n {\n begin: \"'\",\n end: \"'\"\n }\n ]\n };\n const ARRAY = {\n begin: /\\[/,\n end: /\\]/,\n contains: [\n COMMENTS,\n LITERALS,\n VARIABLES,\n STRINGS,\n NUMBERS,\n 'self'\n ],\n relevance: 0\n };\n\n const BARE_KEY = /[A-Za-z0-9_-]+/;\n const QUOTED_KEY_DOUBLE_QUOTE = /\"(\\\\\"|[^\"])*\"/;\n const QUOTED_KEY_SINGLE_QUOTE = /'[^']*'/;\n const ANY_KEY = regex.either(\n BARE_KEY, QUOTED_KEY_DOUBLE_QUOTE, QUOTED_KEY_SINGLE_QUOTE\n );\n const DOTTED_KEY = regex.concat(\n ANY_KEY, '(\\\\s*\\\\.\\\\s*', ANY_KEY, ')*',\n regex.lookahead(/\\s*=\\s*[^#\\s]/)\n );\n\n return {\n name: 'TOML, also INI',\n aliases: [ 'toml' ],\n case_insensitive: true,\n illegal: /\\S/,\n contains: [\n COMMENTS,\n {\n className: 'section',\n begin: /\\[+/,\n end: /\\]+/\n },\n {\n begin: DOTTED_KEY,\n className: 'attr',\n starts: {\n end: /$/,\n contains: [\n COMMENTS,\n ARRAY,\n LITERALS,\n VARIABLES,\n STRINGS,\n NUMBERS\n ]\n }\n }\n ]\n };\n}\n\nexport { ini as default };\n","// https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.10\nvar decimalDigits = '[0-9](_*[0-9])*';\nvar frac = `\\\\.(${decimalDigits})`;\nvar hexDigits = '[0-9a-fA-F](_*[0-9a-fA-F])*';\nvar NUMERIC = {\n className: 'number',\n variants: [\n // DecimalFloatingPointLiteral\n // including ExponentPart\n { begin: `(\\\\b(${decimalDigits})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n // excluding ExponentPart\n { begin: `\\\\b(${decimalDigits})((${frac})[fFdD]?\\\\b|\\\\.([fFdD]\\\\b)?)` },\n { begin: `(${frac})[fFdD]?\\\\b` },\n { begin: `\\\\b(${decimalDigits})[fFdD]\\\\b` },\n\n // HexadecimalFloatingPointLiteral\n { begin: `\\\\b0[xX]((${hexDigits})\\\\.?|(${hexDigits})?\\\\.(${hexDigits}))` +\n `[pP][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n\n // DecimalIntegerLiteral\n { begin: '\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\b' },\n\n // HexIntegerLiteral\n { begin: `\\\\b0[xX](${hexDigits})[lL]?\\\\b` },\n\n // OctalIntegerLiteral\n { begin: '\\\\b0(_*[0-7])*[lL]?\\\\b' },\n\n // BinaryIntegerLiteral\n { begin: '\\\\b0[bB][01](_*[01])*[lL]?\\\\b' },\n ],\n relevance: 0\n};\n\n/*\nLanguage: Java\nAuthor: Vsevolod Solovyov \nCategory: common, enterprise\nWebsite: https://www.java.com/\n*/\n\n\n/**\n * Allows recursive regex expressions to a given depth\n *\n * ie: recurRegex(\"(abc~~~)\", /~~~/g, 2) becomes:\n * (abc(abc(abc)))\n *\n * @param {string} re\n * @param {RegExp} substitution (should be a g mode regex)\n * @param {number} depth\n * @returns {string}``\n */\nfunction recurRegex(re, substitution, depth) {\n if (depth === -1) return \"\";\n\n return re.replace(substitution, _ => {\n return recurRegex(re, substitution, depth - 1);\n });\n}\n\n/** @type LanguageFn */\nfunction java(hljs) {\n const regex = hljs.regex;\n const JAVA_IDENT_RE = '[\\u00C0-\\u02B8a-zA-Z_$][\\u00C0-\\u02B8a-zA-Z_$0-9]*';\n const GENERIC_IDENT_RE = JAVA_IDENT_RE\n + recurRegex('(?:<' + JAVA_IDENT_RE + '~~~(?:\\\\s*,\\\\s*' + JAVA_IDENT_RE + '~~~)*>)?', /~~~/g, 2);\n const MAIN_KEYWORDS = [\n 'synchronized',\n 'abstract',\n 'private',\n 'var',\n 'static',\n 'if',\n 'const ',\n 'for',\n 'while',\n 'strictfp',\n 'finally',\n 'protected',\n 'import',\n 'native',\n 'final',\n 'void',\n 'enum',\n 'else',\n 'break',\n 'transient',\n 'catch',\n 'instanceof',\n 'volatile',\n 'case',\n 'assert',\n 'package',\n 'default',\n 'public',\n 'try',\n 'switch',\n 'continue',\n 'throws',\n 'protected',\n 'public',\n 'private',\n 'module',\n 'requires',\n 'exports',\n 'do',\n 'sealed',\n 'yield',\n 'permits',\n 'goto',\n 'when'\n ];\n\n const BUILT_INS = [\n 'super',\n 'this'\n ];\n\n const LITERALS = [\n 'false',\n 'true',\n 'null'\n ];\n\n const TYPES = [\n 'char',\n 'boolean',\n 'long',\n 'float',\n 'int',\n 'byte',\n 'short',\n 'double'\n ];\n\n const KEYWORDS = {\n keyword: MAIN_KEYWORDS,\n literal: LITERALS,\n type: TYPES,\n built_in: BUILT_INS\n };\n\n const ANNOTATION = {\n className: 'meta',\n begin: '@' + JAVA_IDENT_RE,\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [ \"self\" ] // allow nested () inside our annotation\n }\n ]\n };\n const PARAMS = {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [ hljs.C_BLOCK_COMMENT_MODE ],\n endsParent: true\n };\n\n return {\n name: 'Java',\n aliases: [ 'jsp' ],\n keywords: KEYWORDS,\n illegal: /<\\/|#/,\n contains: [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n // eat up @'s in emails to prevent them to be recognized as doctags\n begin: /\\w+@/,\n relevance: 0\n },\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n }\n ]\n }\n ),\n // relevance boost\n {\n begin: /import java\\.[a-z]+\\./,\n keywords: \"import\",\n relevance: 2\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n begin: /\"\"\"/,\n end: /\"\"\"/,\n className: \"string\",\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n match: [\n /\\b(?:class|interface|enum|extends|implements|new)/,\n /\\s+/,\n JAVA_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n {\n // Exceptions for hyphenated keywords\n match: /non-sealed/,\n scope: \"keyword\"\n },\n {\n begin: [\n regex.concat(/(?!else)/, JAVA_IDENT_RE),\n /\\s+/,\n JAVA_IDENT_RE,\n /\\s+/,\n /=(?!=)/\n ],\n className: {\n 1: \"type\",\n 3: \"variable\",\n 5: \"operator\"\n }\n },\n {\n begin: [\n /record/,\n /\\s+/,\n JAVA_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n },\n contains: [\n PARAMS,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n // Expression keywords prevent 'keyword Name(...)' from being\n // recognized as a function definition\n beginKeywords: 'new throw return else',\n relevance: 0\n },\n {\n begin: [\n '(?:' + GENERIC_IDENT_RE + '\\\\s+)',\n hljs.UNDERSCORE_IDENT_RE,\n /\\s*(?=\\()/\n ],\n className: { 2: \"title.function\" },\n keywords: KEYWORDS,\n contains: [\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n ANNOTATION,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMERIC,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n NUMERIC,\n ANNOTATION\n ]\n };\n}\n\nexport { java as default };\n","const IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\nconst KEYWORDS = [\n \"as\", // for exports\n \"in\",\n \"of\",\n \"if\",\n \"for\",\n \"while\",\n \"finally\",\n \"var\",\n \"new\",\n \"function\",\n \"do\",\n \"return\",\n \"void\",\n \"else\",\n \"break\",\n \"catch\",\n \"instanceof\",\n \"with\",\n \"throw\",\n \"case\",\n \"default\",\n \"try\",\n \"switch\",\n \"continue\",\n \"typeof\",\n \"delete\",\n \"let\",\n \"yield\",\n \"const\",\n \"class\",\n // JS handles these with a special rule\n // \"get\",\n // \"set\",\n \"debugger\",\n \"async\",\n \"await\",\n \"static\",\n \"import\",\n \"from\",\n \"export\",\n \"extends\",\n // It's reached stage 3, which is \"recommended for implementation\":\n \"using\"\n];\nconst LITERALS = [\n \"true\",\n \"false\",\n \"null\",\n \"undefined\",\n \"NaN\",\n \"Infinity\"\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects\nconst TYPES = [\n // Fundamental objects\n \"Object\",\n \"Function\",\n \"Boolean\",\n \"Symbol\",\n // numbers and dates\n \"Math\",\n \"Date\",\n \"Number\",\n \"BigInt\",\n // text\n \"String\",\n \"RegExp\",\n // Indexed collections\n \"Array\",\n \"Float32Array\",\n \"Float64Array\",\n \"Int8Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"Int16Array\",\n \"Int32Array\",\n \"Uint16Array\",\n \"Uint32Array\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n // Keyed collections\n \"Set\",\n \"Map\",\n \"WeakSet\",\n \"WeakMap\",\n // Structured data\n \"ArrayBuffer\",\n \"SharedArrayBuffer\",\n \"Atomics\",\n \"DataView\",\n \"JSON\",\n // Control abstraction objects\n \"Promise\",\n \"Generator\",\n \"GeneratorFunction\",\n \"AsyncFunction\",\n // Reflection\n \"Reflect\",\n \"Proxy\",\n // Internationalization\n \"Intl\",\n // WebAssembly\n \"WebAssembly\"\n];\n\nconst ERROR_TYPES = [\n \"Error\",\n \"EvalError\",\n \"InternalError\",\n \"RangeError\",\n \"ReferenceError\",\n \"SyntaxError\",\n \"TypeError\",\n \"URIError\"\n];\n\nconst BUILT_IN_GLOBALS = [\n \"setInterval\",\n \"setTimeout\",\n \"clearInterval\",\n \"clearTimeout\",\n\n \"require\",\n \"exports\",\n\n \"eval\",\n \"isFinite\",\n \"isNaN\",\n \"parseFloat\",\n \"parseInt\",\n \"decodeURI\",\n \"decodeURIComponent\",\n \"encodeURI\",\n \"encodeURIComponent\",\n \"escape\",\n \"unescape\"\n];\n\nconst BUILT_IN_VARIABLES = [\n \"arguments\",\n \"this\",\n \"super\",\n \"console\",\n \"window\",\n \"document\",\n \"localStorage\",\n \"sessionStorage\",\n \"module\",\n \"global\" // Node.js\n];\n\nconst BUILT_INS = [].concat(\n BUILT_IN_GLOBALS,\n TYPES,\n ERROR_TYPES\n);\n\n/*\nLanguage: JavaScript\nDescription: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.\nCategory: common, scripting, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/JavaScript\n*/\n\n\n/** @type LanguageFn */\nfunction javascript(hljs) {\n const regex = hljs.regex;\n /**\n * Takes a string like \" {\n const tag = \"',\n end: ''\n };\n // to avoid some special cases inside isTrulyOpeningTag\n const XML_SELF_CLOSING = /<[A-Za-z0-9\\\\._:-]+\\s*\\/>/;\n const XML_TAG = {\n begin: /<[A-Za-z0-9\\\\._:-]+/,\n end: /\\/[A-Za-z0-9\\\\._:-]+>|\\/>/,\n /**\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\n isTrulyOpeningTag: (match, response) => {\n const afterMatchIndex = match[0].length + match.index;\n const nextChar = match.input[afterMatchIndex];\n if (\n // HTML should not include another raw `<` inside a tag\n // nested type?\n // `>`, etc.\n nextChar === \"<\" ||\n // the , gives away that this is not HTML\n // ``\n nextChar === \",\"\n ) {\n response.ignoreMatch();\n return;\n }\n\n // ``\n // Quite possibly a tag, lets look for a matching closing tag...\n if (nextChar === \">\") {\n // if we cannot find a matching closing tag, then we\n // will ignore it\n if (!hasClosingTag(match, { after: afterMatchIndex })) {\n response.ignoreMatch();\n }\n }\n\n // `` (self-closing)\n // handled by simpleSelfClosing rule\n\n let m;\n const afterMatch = match.input.substring(afterMatchIndex);\n\n // some more template typing stuff\n // (key?: string) => Modify<\n if ((m = afterMatch.match(/^\\s*=/))) {\n response.ignoreMatch();\n return;\n }\n\n // ``\n // technically this could be HTML, but it smells like a type\n // NOTE: This is ugh, but added specifically for https://github.com/highlightjs/highlight.js/issues/3276\n if ((m = afterMatch.match(/^\\s+extends\\s+/))) {\n if (m.index === 0) {\n response.ignoreMatch();\n // eslint-disable-next-line no-useless-return\n return;\n }\n }\n }\n };\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_INS,\n \"variable.language\": BUILT_IN_VARIABLES\n };\n\n // https://tc39.es/ecma262/#sec-literals-numeric-literals\n const decimalDigits = '[0-9](_?[0-9])*';\n const frac = `\\\\.(${decimalDigits})`;\n // DecimalIntegerLiteral, including Annex B NonOctalDecimalIntegerLiteral\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;\n const NUMBER = {\n className: 'number',\n variants: [\n // DecimalLiteral\n { begin: `(\\\\b(${decimalInteger})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})\\\\b` },\n { begin: `\\\\b(${decimalInteger})\\\\b((${frac})\\\\b|\\\\.)?|(${frac})\\\\b` },\n\n // DecimalBigIntegerLiteral\n { begin: `\\\\b(0|[1-9](_?[0-9])*)n\\\\b` },\n\n // NonDecimalIntegerLiteral\n { begin: \"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\b\" },\n { begin: \"\\\\b0[bB][0-1](_?[0-1])*n?\\\\b\" },\n { begin: \"\\\\b0[oO][0-7](_?[0-7])*n?\\\\b\" },\n\n // LegacyOctalIntegerLiteral (does not include underscore separators)\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n { begin: \"\\\\b0[0-7]+n?\\\\b\" },\n ],\n relevance: 0\n };\n\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS$1,\n contains: [] // defined later\n };\n const HTML_TEMPLATE = {\n begin: '\\.?html`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'xml'\n }\n };\n const CSS_TEMPLATE = {\n begin: '\\.?css`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'css'\n }\n };\n const GRAPHQL_TEMPLATE = {\n begin: '\\.?gql`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'graphql'\n }\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n const JSDOC_COMMENT = hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n begin: '(?=@[A-Za-z]+)',\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n },\n {\n className: 'type',\n begin: '\\\\{',\n end: '\\\\}',\n excludeEnd: true,\n excludeBegin: true,\n relevance: 0\n },\n {\n className: 'variable',\n begin: IDENT_RE$1 + '(?=\\\\s*(-)|$)',\n endsParent: true,\n relevance: 0\n },\n // eat spaces (not newlines) so we can find\n // types or variables\n {\n begin: /(?=[^\\n])\\s/,\n relevance: 0\n }\n ]\n }\n ]\n }\n );\n const COMMENT = {\n className: \"comment\",\n variants: [\n JSDOC_COMMENT,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]\n };\n const SUBST_INTERNALS = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n GRAPHQL_TEMPLATE,\n TEMPLATE_STRING,\n // Skip numbers when they are part of a variable name\n { match: /\\$\\d+/ },\n NUMBER,\n // This is intentional:\n // See https://github.com/highlightjs/highlight.js/issues/3288\n // hljs.REGEXP_MODE\n ];\n SUBST.contains = SUBST_INTERNALS\n .concat({\n // we need to pair up {} inside our subst to prevent\n // it from ending too early by matching another }\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS$1,\n contains: [\n \"self\"\n ].concat(SUBST_INTERNALS)\n });\n const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);\n const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([\n // eat recursive parens in sub expressions\n {\n begin: /(\\s*)\\(/,\n end: /\\)/,\n keywords: KEYWORDS$1,\n contains: [\"self\"].concat(SUBST_AND_COMMENTS)\n }\n ]);\n const PARAMS = {\n className: 'params',\n // convert this to negative lookbehind in v12\n begin: /(\\s*)\\(/, // to match the parms with\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n };\n\n // ES6 classes\n const CLASS_OR_EXTENDS = {\n variants: [\n // class Car extends vehicle\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1,\n /\\s+/,\n /extends/,\n /\\s+/,\n regex.concat(IDENT_RE$1, \"(\", regex.concat(/\\./, IDENT_RE$1), \")*\")\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 5: \"keyword\",\n 7: \"title.class.inherited\"\n }\n },\n // class Car\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n\n ]\n };\n\n const CLASS_REFERENCE = {\n relevance: 0,\n match:\n regex.either(\n // Hard coded exceptions\n /\\bJSON/,\n // Float32Array, OutT\n /\\b[A-Z][a-z]+([A-Z][a-z]*|\\d)*/,\n // CSSFactory, CSSFactoryT\n /\\b[A-Z]{2,}([A-Z][a-z]+|\\d)+([A-Z][a-z]*)*/,\n // FPs, FPsT\n /\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\d)*([A-Z][a-z]*)*/,\n // P\n // single letters are not highlighted\n // BLAH\n // this will be flagged as a UPPER_CASE_CONSTANT instead\n ),\n className: \"title.class\",\n keywords: {\n _: [\n // se we still get relevance credit for JS library classes\n ...TYPES,\n ...ERROR_TYPES\n ]\n }\n };\n\n const USE_STRICT = {\n label: \"use_strict\",\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use (strict|asm)['\"]/\n };\n\n const FUNCTION_DEFINITION = {\n variants: [\n {\n match: [\n /function/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\s*\\()/\n ]\n },\n // anonymous function\n {\n match: [\n /function/,\n /\\s*(?=\\()/\n ]\n }\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n label: \"func.def\",\n contains: [ PARAMS ],\n illegal: /%/\n };\n\n const UPPER_CASE_CONSTANT = {\n relevance: 0,\n match: /\\b[A-Z][A-Z_0-9]+\\b/,\n className: \"variable.constant\"\n };\n\n function noneOf(list) {\n return regex.concat(\"(?!\", list.join(\"|\"), \")\");\n }\n\n const FUNCTION_CALL = {\n match: regex.concat(\n /\\b/,\n noneOf([\n ...BUILT_IN_GLOBALS,\n \"super\",\n \"import\"\n ].map(x => `${x}\\\\s*\\\\(`)),\n IDENT_RE$1, regex.lookahead(/\\s*\\(/)),\n className: \"title.function\",\n relevance: 0\n };\n\n const PROPERTY_ACCESS = {\n begin: regex.concat(/\\./, regex.lookahead(\n regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)\n )),\n end: IDENT_RE$1,\n excludeBegin: true,\n keywords: \"prototype\",\n className: \"property\",\n relevance: 0\n };\n\n const GETTER_OR_SETTER = {\n match: [\n /get|set/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\()/\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n { // eat to avoid empty params\n begin: /\\(\\)/\n },\n PARAMS\n ]\n };\n\n const FUNC_LEAD_IN_RE = '(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)|' + hljs.UNDERSCORE_IDENT_RE + ')\\\\s*=>';\n\n const FUNCTION_VARIABLE = {\n match: [\n /const|var|let/, /\\s+/,\n IDENT_RE$1, /\\s*/,\n /=\\s*/,\n /(async\\s*)?/, // async is optional\n regex.lookahead(FUNC_LEAD_IN_RE)\n ],\n keywords: \"async\",\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n PARAMS\n ]\n };\n\n return {\n name: 'JavaScript',\n aliases: ['js', 'jsx', 'mjs', 'cjs'],\n keywords: KEYWORDS$1,\n // this will be extended by TypeScript\n exports: { PARAMS_CONTAINS, CLASS_REFERENCE },\n illegal: /#(?![$_A-z])/,\n contains: [\n hljs.SHEBANG({\n label: \"shebang\",\n binary: \"node\",\n relevance: 5\n }),\n USE_STRICT,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n GRAPHQL_TEMPLATE,\n TEMPLATE_STRING,\n COMMENT,\n // Skip numbers when they are part of a variable name\n { match: /\\$\\d+/ },\n NUMBER,\n CLASS_REFERENCE,\n {\n scope: 'attr',\n match: IDENT_RE$1 + regex.lookahead(':'),\n relevance: 0\n },\n FUNCTION_VARIABLE,\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n relevance: 0,\n contains: [\n COMMENT,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n // we have to count the parens to make sure we actually have the\n // correct bounding ( ) before the =>. There could be any number of\n // sub-expressions inside also surrounded by parens.\n begin: FUNC_LEAD_IN_RE,\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n },\n {\n className: null,\n begin: /\\(\\s*\\)/,\n skip: true\n },\n {\n begin: /(\\s*)\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n },\n { // could be a comma delimited list of params to a function call\n begin: /,/,\n relevance: 0\n },\n {\n match: /\\s+/,\n relevance: 0\n },\n { // JSX\n variants: [\n { begin: FRAGMENT.begin, end: FRAGMENT.end },\n { match: XML_SELF_CLOSING },\n {\n begin: XML_TAG.begin,\n // we carefully check the opening tag to see if it truly\n // is a tag and not a false positive\n 'on:begin': XML_TAG.isTrulyOpeningTag,\n end: XML_TAG.end\n }\n ],\n subLanguage: 'xml',\n contains: [\n {\n begin: XML_TAG.begin,\n end: XML_TAG.end,\n skip: true,\n contains: ['self']\n }\n ]\n }\n ],\n },\n FUNCTION_DEFINITION,\n {\n // prevent this from getting swallowed up by function\n // since they appear \"function like\"\n beginKeywords: \"while if switch catch for\"\n },\n {\n // we have to count the parens to make sure we actually have the correct\n // bounding ( ). There could be any number of sub-expressions inside\n // also surrounded by parens.\n begin: '\\\\b(?!function)' + hljs.UNDERSCORE_IDENT_RE +\n '\\\\(' + // first parens\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)\\\\s*\\\\{', // end parens\n returnBegin:true,\n label: \"func.def\",\n contains: [\n PARAMS,\n hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: \"title.function\" })\n ]\n },\n // catch ... so it won't trigger the property rule below\n {\n match: /\\.\\.\\./,\n relevance: 0\n },\n PROPERTY_ACCESS,\n // hack: prevents detection of keywords in some circumstances\n // .keyword()\n // $keyword = x\n {\n match: '\\\\$' + IDENT_RE$1,\n relevance: 0\n },\n {\n match: [ /\\bconstructor(?=\\s*\\()/ ],\n className: { 1: \"title.function\" },\n contains: [ PARAMS ]\n },\n FUNCTION_CALL,\n UPPER_CASE_CONSTANT,\n CLASS_OR_EXTENDS,\n GETTER_OR_SETTER,\n {\n match: /\\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`\n }\n ]\n };\n}\n\nexport { javascript as default };\n","/*\nLanguage: JSON\nDescription: JSON (JavaScript Object Notation) is a lightweight data-interchange format.\nAuthor: Ivan Sagalaev \nWebsite: http://www.json.org\nCategory: common, protocols, web\n*/\n\nfunction json(hljs) {\n const ATTRIBUTE = {\n className: 'attr',\n begin: /\"(\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/,\n relevance: 1.01\n };\n const PUNCTUATION = {\n match: /[{}[\\],:]/,\n className: \"punctuation\",\n relevance: 0\n };\n const LITERALS = [\n \"true\",\n \"false\",\n \"null\"\n ];\n // NOTE: normally we would rely on `keywords` for this but using a mode here allows us\n // - to use the very tight `illegal: \\S` rule later to flag any other character\n // - as illegal indicating that despite looking like JSON we do not truly have\n // - JSON and thus improve false-positively greatly since JSON will try and claim\n // - all sorts of JSON looking stuff\n const LITERALS_MODE = {\n scope: \"literal\",\n beginKeywords: LITERALS.join(\" \"),\n };\n\n return {\n name: 'JSON',\n aliases: ['jsonc'],\n keywords:{\n literal: LITERALS,\n },\n contains: [\n ATTRIBUTE,\n PUNCTUATION,\n hljs.QUOTE_STRING_MODE,\n LITERALS_MODE,\n hljs.C_NUMBER_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ],\n illegal: '\\\\S'\n };\n}\n\nexport { json as default };\n","// https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.10\nvar decimalDigits = '[0-9](_*[0-9])*';\nvar frac = `\\\\.(${decimalDigits})`;\nvar hexDigits = '[0-9a-fA-F](_*[0-9a-fA-F])*';\nvar NUMERIC = {\n className: 'number',\n variants: [\n // DecimalFloatingPointLiteral\n // including ExponentPart\n { begin: `(\\\\b(${decimalDigits})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n // excluding ExponentPart\n { begin: `\\\\b(${decimalDigits})((${frac})[fFdD]?\\\\b|\\\\.([fFdD]\\\\b)?)` },\n { begin: `(${frac})[fFdD]?\\\\b` },\n { begin: `\\\\b(${decimalDigits})[fFdD]\\\\b` },\n\n // HexadecimalFloatingPointLiteral\n { begin: `\\\\b0[xX]((${hexDigits})\\\\.?|(${hexDigits})?\\\\.(${hexDigits}))` +\n `[pP][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n\n // DecimalIntegerLiteral\n { begin: '\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\b' },\n\n // HexIntegerLiteral\n { begin: `\\\\b0[xX](${hexDigits})[lL]?\\\\b` },\n\n // OctalIntegerLiteral\n { begin: '\\\\b0(_*[0-7])*[lL]?\\\\b' },\n\n // BinaryIntegerLiteral\n { begin: '\\\\b0[bB][01](_*[01])*[lL]?\\\\b' },\n ],\n relevance: 0\n};\n\n/*\n Language: Kotlin\n Description: Kotlin is an OSS statically typed programming language that targets the JVM, Android, JavaScript and Native.\n Author: Sergey Mashkov \n Website: https://kotlinlang.org\n Category: common\n */\n\n\nfunction kotlin(hljs) {\n const KEYWORDS = {\n keyword:\n 'abstract as val var vararg get set class object open private protected public noinline '\n + 'crossinline dynamic final enum if else do while for when throw try catch finally '\n + 'import package is in fun override companion reified inline lateinit init '\n + 'interface annotation data sealed internal infix operator out by constructor super '\n + 'tailrec where const inner suspend typealias external expect actual',\n built_in:\n 'Byte Short Char Int Long Boolean Float Double Void Unit Nothing',\n literal:\n 'true false null'\n };\n const KEYWORDS_WITH_LABEL = {\n className: 'keyword',\n begin: /\\b(break|continue|return|this)\\b/,\n starts: { contains: [\n {\n className: 'symbol',\n begin: /@\\w+/\n }\n ] }\n };\n const LABEL = {\n className: 'symbol',\n begin: hljs.UNDERSCORE_IDENT_RE + '@'\n };\n\n // for string templates\n const SUBST = {\n className: 'subst',\n begin: /\\$\\{/,\n end: /\\}/,\n contains: [ hljs.C_NUMBER_MODE ]\n };\n const VARIABLE = {\n className: 'variable',\n begin: '\\\\$' + hljs.UNDERSCORE_IDENT_RE\n };\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"\"\"',\n end: '\"\"\"(?=[^\"])',\n contains: [\n VARIABLE,\n SUBST\n ]\n },\n // Can't use built-in modes easily, as we want to use STRING in the meta\n // context as 'meta-string' and there's no syntax to remove explicitly set\n // classNames in built-in modes.\n {\n begin: '\\'',\n end: '\\'',\n illegal: /\\n/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '\"',\n end: '\"',\n illegal: /\\n/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VARIABLE,\n SUBST\n ]\n }\n ]\n };\n SUBST.contains.push(STRING);\n\n const ANNOTATION_USE_SITE = {\n className: 'meta',\n begin: '@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\\\s*:(?:\\\\s*' + hljs.UNDERSCORE_IDENT_RE + ')?'\n };\n const ANNOTATION = {\n className: 'meta',\n begin: '@' + hljs.UNDERSCORE_IDENT_RE,\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [\n hljs.inherit(STRING, { className: 'string' }),\n \"self\"\n ]\n }\n ]\n };\n\n // https://kotlinlang.org/docs/reference/whatsnew11.html#underscores-in-numeric-literals\n // According to the doc above, the number mode of kotlin is the same as java 8,\n // so the code below is copied from java.js\n const KOTLIN_NUMBER_MODE = NUMERIC;\n const KOTLIN_NESTED_COMMENT = hljs.COMMENT(\n '/\\\\*', '\\\\*/',\n { contains: [ hljs.C_BLOCK_COMMENT_MODE ] }\n );\n const KOTLIN_PAREN_TYPE = { variants: [\n {\n className: 'type',\n begin: hljs.UNDERSCORE_IDENT_RE\n },\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [] // defined later\n }\n ] };\n const KOTLIN_PAREN_TYPE2 = KOTLIN_PAREN_TYPE;\n KOTLIN_PAREN_TYPE2.variants[1].contains = [ KOTLIN_PAREN_TYPE ];\n KOTLIN_PAREN_TYPE.variants[1].contains = [ KOTLIN_PAREN_TYPE2 ];\n\n return {\n name: 'Kotlin',\n aliases: [\n 'kt',\n 'kts'\n ],\n keywords: KEYWORDS,\n contains: [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n KEYWORDS_WITH_LABEL,\n LABEL,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n {\n className: 'function',\n beginKeywords: 'fun',\n end: '[(]|$',\n returnBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n relevance: 5,\n contains: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE + '\\\\s*\\\\(',\n returnBegin: true,\n relevance: 0,\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n {\n className: 'type',\n begin: //,\n keywords: 'reified',\n relevance: 0\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n endsParent: true,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n {\n begin: /:/,\n end: /[=,\\/]/,\n endsWithParent: true,\n contains: [\n KOTLIN_PAREN_TYPE,\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT\n ],\n relevance: 0\n },\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n STRING,\n hljs.C_NUMBER_MODE\n ]\n },\n KOTLIN_NESTED_COMMENT\n ]\n },\n {\n begin: [\n /class|interface|trait/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n beginScope: {\n 3: \"title.class\"\n },\n keywords: 'class interface trait',\n end: /[:\\{(]|$/,\n excludeEnd: true,\n illegal: 'extends implements',\n contains: [\n { beginKeywords: 'public protected internal private constructor' },\n hljs.UNDERSCORE_TITLE_MODE,\n {\n className: 'type',\n begin: //,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n },\n {\n className: 'type',\n begin: /[,:]\\s*/,\n end: /[<\\(,){\\s]|$/,\n excludeBegin: true,\n returnEnd: true\n },\n ANNOTATION_USE_SITE,\n ANNOTATION\n ]\n },\n STRING,\n {\n className: 'meta',\n begin: \"^#!/usr/bin/env\",\n end: '$',\n illegal: '\\n'\n },\n KOTLIN_NUMBER_MODE\n ]\n };\n}\n\nexport { kotlin as default };\n","const MODES = (hljs) => {\n return {\n IMPORTANT: {\n scope: 'meta',\n begin: '!important'\n },\n BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,\n HEXCOLOR: {\n scope: 'number',\n begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/\n },\n FUNCTION_DISPATCH: {\n className: \"built_in\",\n begin: /[\\w-]+(?=\\()/\n },\n ATTRIBUTE_SELECTOR_MODE: {\n scope: 'selector-attr',\n begin: /\\[/,\n end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n },\n CSS_NUMBER_MODE: {\n scope: 'number',\n begin: hljs.NUMBER_RE + '(' +\n '%|em|ex|ch|rem' +\n '|vw|vh|vmin|vmax' +\n '|cm|mm|in|pt|pc|px' +\n '|deg|grad|rad|turn' +\n '|s|ms' +\n '|Hz|kHz' +\n '|dpi|dpcm|dppx' +\n ')?',\n relevance: 0\n },\n CSS_VARIABLE: {\n className: \"attr\",\n begin: /--[A-Za-z_][A-Za-z0-9_-]*/\n }\n };\n};\n\nconst HTML_TAGS = [\n 'a',\n 'abbr',\n 'address',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'blockquote',\n 'body',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'header',\n 'hgroup',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'label',\n 'legend',\n 'li',\n 'main',\n 'mark',\n 'menu',\n 'nav',\n 'object',\n 'ol',\n 'optgroup',\n 'option',\n 'p',\n 'picture',\n 'q',\n 'quote',\n 'samp',\n 'section',\n 'select',\n 'source',\n 'span',\n 'strong',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'tr',\n 'ul',\n 'var',\n 'video'\n];\n\nconst SVG_TAGS = [\n 'defs',\n 'g',\n 'marker',\n 'mask',\n 'pattern',\n 'svg',\n 'switch',\n 'symbol',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feFlood',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMorphology',\n 'feOffset',\n 'feSpecularLighting',\n 'feTile',\n 'feTurbulence',\n 'linearGradient',\n 'radialGradient',\n 'stop',\n 'circle',\n 'ellipse',\n 'image',\n 'line',\n 'path',\n 'polygon',\n 'polyline',\n 'rect',\n 'text',\n 'use',\n 'textPath',\n 'tspan',\n 'foreignObject',\n 'clipPath'\n];\n\nconst TAGS = [\n ...HTML_TAGS,\n ...SVG_TAGS,\n];\n\n// Sorting, then reversing makes sure longer attributes/elements like\n// `font-weight` are matched fully instead of getting false positives on say `font`\n\nconst MEDIA_FEATURES = [\n 'any-hover',\n 'any-pointer',\n 'aspect-ratio',\n 'color',\n 'color-gamut',\n 'color-index',\n 'device-aspect-ratio',\n 'device-height',\n 'device-width',\n 'display-mode',\n 'forced-colors',\n 'grid',\n 'height',\n 'hover',\n 'inverted-colors',\n 'monochrome',\n 'orientation',\n 'overflow-block',\n 'overflow-inline',\n 'pointer',\n 'prefers-color-scheme',\n 'prefers-contrast',\n 'prefers-reduced-motion',\n 'prefers-reduced-transparency',\n 'resolution',\n 'scan',\n 'scripting',\n 'update',\n 'width',\n // TODO: find a better solution?\n 'min-width',\n 'max-width',\n 'min-height',\n 'max-height'\n].sort().reverse();\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes\nconst PSEUDO_CLASSES = [\n 'active',\n 'any-link',\n 'blank',\n 'checked',\n 'current',\n 'default',\n 'defined',\n 'dir', // dir()\n 'disabled',\n 'drop',\n 'empty',\n 'enabled',\n 'first',\n 'first-child',\n 'first-of-type',\n 'fullscreen',\n 'future',\n 'focus',\n 'focus-visible',\n 'focus-within',\n 'has', // has()\n 'host', // host or host()\n 'host-context', // host-context()\n 'hover',\n 'indeterminate',\n 'in-range',\n 'invalid',\n 'is', // is()\n 'lang', // lang()\n 'last-child',\n 'last-of-type',\n 'left',\n 'link',\n 'local-link',\n 'not', // not()\n 'nth-child', // nth-child()\n 'nth-col', // nth-col()\n 'nth-last-child', // nth-last-child()\n 'nth-last-col', // nth-last-col()\n 'nth-last-of-type', //nth-last-of-type()\n 'nth-of-type', //nth-of-type()\n 'only-child',\n 'only-of-type',\n 'optional',\n 'out-of-range',\n 'past',\n 'placeholder-shown',\n 'read-only',\n 'read-write',\n 'required',\n 'right',\n 'root',\n 'scope',\n 'target',\n 'target-within',\n 'user-invalid',\n 'valid',\n 'visited',\n 'where' // where()\n].sort().reverse();\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements\nconst PSEUDO_ELEMENTS = [\n 'after',\n 'backdrop',\n 'before',\n 'cue',\n 'cue-region',\n 'first-letter',\n 'first-line',\n 'grammar-error',\n 'marker',\n 'part',\n 'placeholder',\n 'selection',\n 'slotted',\n 'spelling-error'\n].sort().reverse();\n\nconst ATTRIBUTES = [\n 'accent-color',\n 'align-content',\n 'align-items',\n 'align-self',\n 'alignment-baseline',\n 'all',\n 'anchor-name',\n 'animation',\n 'animation-composition',\n 'animation-delay',\n 'animation-direction',\n 'animation-duration',\n 'animation-fill-mode',\n 'animation-iteration-count',\n 'animation-name',\n 'animation-play-state',\n 'animation-range',\n 'animation-range-end',\n 'animation-range-start',\n 'animation-timeline',\n 'animation-timing-function',\n 'appearance',\n 'aspect-ratio',\n 'backdrop-filter',\n 'backface-visibility',\n 'background',\n 'background-attachment',\n 'background-blend-mode',\n 'background-clip',\n 'background-color',\n 'background-image',\n 'background-origin',\n 'background-position',\n 'background-position-x',\n 'background-position-y',\n 'background-repeat',\n 'background-size',\n 'baseline-shift',\n 'block-size',\n 'border',\n 'border-block',\n 'border-block-color',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-style',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-style',\n 'border-block-start-width',\n 'border-block-style',\n 'border-block-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-style',\n 'border-bottom-width',\n 'border-collapse',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image',\n 'border-image-outset',\n 'border-image-repeat',\n 'border-image-slice',\n 'border-image-source',\n 'border-image-width',\n 'border-inline',\n 'border-inline-color',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-style',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-style',\n 'border-inline-start-width',\n 'border-inline-style',\n 'border-inline-width',\n 'border-left',\n 'border-left-color',\n 'border-left-style',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-style',\n 'border-right-width',\n 'border-spacing',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-style',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-style',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-align',\n 'box-decoration-break',\n 'box-direction',\n 'box-flex',\n 'box-flex-group',\n 'box-lines',\n 'box-ordinal-group',\n 'box-orient',\n 'box-pack',\n 'box-shadow',\n 'box-sizing',\n 'break-after',\n 'break-before',\n 'break-inside',\n 'caption-side',\n 'caret-color',\n 'clear',\n 'clip',\n 'clip-path',\n 'clip-rule',\n 'color',\n 'color-interpolation',\n 'color-interpolation-filters',\n 'color-profile',\n 'color-rendering',\n 'color-scheme',\n 'column-count',\n 'column-fill',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-style',\n 'column-rule-width',\n 'column-span',\n 'column-width',\n 'columns',\n 'contain',\n 'contain-intrinsic-block-size',\n 'contain-intrinsic-height',\n 'contain-intrinsic-inline-size',\n 'contain-intrinsic-size',\n 'contain-intrinsic-width',\n 'container',\n 'container-name',\n 'container-type',\n 'content',\n 'content-visibility',\n 'counter-increment',\n 'counter-reset',\n 'counter-set',\n 'cue',\n 'cue-after',\n 'cue-before',\n 'cursor',\n 'cx',\n 'cy',\n 'direction',\n 'display',\n 'dominant-baseline',\n 'empty-cells',\n 'enable-background',\n 'field-sizing',\n 'fill',\n 'fill-opacity',\n 'fill-rule',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-direction',\n 'flex-flow',\n 'flex-grow',\n 'flex-shrink',\n 'flex-wrap',\n 'float',\n 'flood-color',\n 'flood-opacity',\n 'flow',\n 'font',\n 'font-display',\n 'font-family',\n 'font-feature-settings',\n 'font-kerning',\n 'font-language-override',\n 'font-optical-sizing',\n 'font-palette',\n 'font-size',\n 'font-size-adjust',\n 'font-smooth',\n 'font-smoothing',\n 'font-stretch',\n 'font-style',\n 'font-synthesis',\n 'font-synthesis-position',\n 'font-synthesis-small-caps',\n 'font-synthesis-style',\n 'font-synthesis-weight',\n 'font-variant',\n 'font-variant-alternates',\n 'font-variant-caps',\n 'font-variant-east-asian',\n 'font-variant-emoji',\n 'font-variant-ligatures',\n 'font-variant-numeric',\n 'font-variant-position',\n 'font-variation-settings',\n 'font-weight',\n 'forced-color-adjust',\n 'gap',\n 'glyph-orientation-horizontal',\n 'glyph-orientation-vertical',\n 'grid',\n 'grid-area',\n 'grid-auto-columns',\n 'grid-auto-flow',\n 'grid-auto-rows',\n 'grid-column',\n 'grid-column-end',\n 'grid-column-start',\n 'grid-gap',\n 'grid-row',\n 'grid-row-end',\n 'grid-row-start',\n 'grid-template',\n 'grid-template-areas',\n 'grid-template-columns',\n 'grid-template-rows',\n 'hanging-punctuation',\n 'height',\n 'hyphenate-character',\n 'hyphenate-limit-chars',\n 'hyphens',\n 'icon',\n 'image-orientation',\n 'image-rendering',\n 'image-resolution',\n 'ime-mode',\n 'initial-letter',\n 'initial-letter-align',\n 'inline-size',\n 'inset',\n 'inset-area',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'isolation',\n 'justify-content',\n 'justify-items',\n 'justify-self',\n 'kerning',\n 'left',\n 'letter-spacing',\n 'lighting-color',\n 'line-break',\n 'line-height',\n 'line-height-step',\n 'list-style',\n 'list-style-image',\n 'list-style-position',\n 'list-style-type',\n 'margin',\n 'margin-block',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'margin-trim',\n 'marker',\n 'marker-end',\n 'marker-mid',\n 'marker-start',\n 'marks',\n 'mask',\n 'mask-border',\n 'mask-border-mode',\n 'mask-border-outset',\n 'mask-border-repeat',\n 'mask-border-slice',\n 'mask-border-source',\n 'mask-border-width',\n 'mask-clip',\n 'mask-composite',\n 'mask-image',\n 'mask-mode',\n 'mask-origin',\n 'mask-position',\n 'mask-repeat',\n 'mask-size',\n 'mask-type',\n 'masonry-auto-flow',\n 'math-depth',\n 'math-shift',\n 'math-style',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'mix-blend-mode',\n 'nav-down',\n 'nav-index',\n 'nav-left',\n 'nav-right',\n 'nav-up',\n 'none',\n 'normal',\n 'object-fit',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'orphans',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-style',\n 'outline-width',\n 'overflow',\n 'overflow-anchor',\n 'overflow-block',\n 'overflow-clip-margin',\n 'overflow-inline',\n 'overflow-wrap',\n 'overflow-x',\n 'overflow-y',\n 'overlay',\n 'overscroll-behavior',\n 'overscroll-behavior-block',\n 'overscroll-behavior-inline',\n 'overscroll-behavior-x',\n 'overscroll-behavior-y',\n 'padding',\n 'padding-block',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'page',\n 'page-break-after',\n 'page-break-before',\n 'page-break-inside',\n 'paint-order',\n 'pause',\n 'pause-after',\n 'pause-before',\n 'perspective',\n 'perspective-origin',\n 'place-content',\n 'place-items',\n 'place-self',\n 'pointer-events',\n 'position',\n 'position-anchor',\n 'position-visibility',\n 'print-color-adjust',\n 'quotes',\n 'r',\n 'resize',\n 'rest',\n 'rest-after',\n 'rest-before',\n 'right',\n 'rotate',\n 'row-gap',\n 'ruby-align',\n 'ruby-position',\n 'scale',\n 'scroll-behavior',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-align',\n 'scroll-snap-stop',\n 'scroll-snap-type',\n 'scroll-timeline',\n 'scroll-timeline-axis',\n 'scroll-timeline-name',\n 'scrollbar-color',\n 'scrollbar-gutter',\n 'scrollbar-width',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'shape-rendering',\n 'speak',\n 'speak-as',\n 'src', // @font-face\n 'stop-color',\n 'stop-opacity',\n 'stroke',\n 'stroke-dasharray',\n 'stroke-dashoffset',\n 'stroke-linecap',\n 'stroke-linejoin',\n 'stroke-miterlimit',\n 'stroke-opacity',\n 'stroke-width',\n 'tab-size',\n 'table-layout',\n 'text-align',\n 'text-align-all',\n 'text-align-last',\n 'text-anchor',\n 'text-combine-upright',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-line',\n 'text-decoration-skip',\n 'text-decoration-skip-ink',\n 'text-decoration-style',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-emphasis-position',\n 'text-emphasis-style',\n 'text-indent',\n 'text-justify',\n 'text-orientation',\n 'text-overflow',\n 'text-rendering',\n 'text-shadow',\n 'text-size-adjust',\n 'text-transform',\n 'text-underline-offset',\n 'text-underline-position',\n 'text-wrap',\n 'text-wrap-mode',\n 'text-wrap-style',\n 'timeline-scope',\n 'top',\n 'touch-action',\n 'transform',\n 'transform-box',\n 'transform-origin',\n 'transform-style',\n 'transition',\n 'transition-behavior',\n 'transition-delay',\n 'transition-duration',\n 'transition-property',\n 'transition-timing-function',\n 'translate',\n 'unicode-bidi',\n 'user-modify',\n 'user-select',\n 'vector-effect',\n 'vertical-align',\n 'view-timeline',\n 'view-timeline-axis',\n 'view-timeline-inset',\n 'view-timeline-name',\n 'view-transition-name',\n 'visibility',\n 'voice-balance',\n 'voice-duration',\n 'voice-family',\n 'voice-pitch',\n 'voice-range',\n 'voice-rate',\n 'voice-stress',\n 'voice-volume',\n 'white-space',\n 'white-space-collapse',\n 'widows',\n 'width',\n 'will-change',\n 'word-break',\n 'word-spacing',\n 'word-wrap',\n 'writing-mode',\n 'x',\n 'y',\n 'z-index',\n 'zoom'\n].sort().reverse();\n\n// some grammars use them all as a single group\nconst PSEUDO_SELECTORS = PSEUDO_CLASSES.concat(PSEUDO_ELEMENTS).sort().reverse();\n\n/*\nLanguage: Less\nDescription: It's CSS, with just a little more.\nAuthor: Max Mikhailov \nWebsite: http://lesscss.org\nCategory: common, css, web\n*/\n\n\n/** @type LanguageFn */\nfunction less(hljs) {\n const modes = MODES(hljs);\n const PSEUDO_SELECTORS$1 = PSEUDO_SELECTORS;\n\n const AT_MODIFIERS = \"and or not only\";\n const IDENT_RE = '[\\\\w-]+'; // yes, Less identifiers may begin with a digit\n const INTERP_IDENT_RE = '(' + IDENT_RE + '|@\\\\{' + IDENT_RE + '\\\\})';\n\n /* Generic Modes */\n\n const RULES = []; const VALUE_MODES = []; // forward def. for recursive modes\n\n const STRING_MODE = function(c) {\n return {\n // Less strings are not multiline (also include '~' for more consistent coloring of \"escaped\" strings)\n className: 'string',\n begin: '~?' + c + '.*?' + c\n };\n };\n\n const IDENT_MODE = function(name, begin, relevance) {\n return {\n className: name,\n begin: begin,\n relevance: relevance\n };\n };\n\n const AT_KEYWORDS = {\n $pattern: /[a-z-]+/,\n keyword: AT_MODIFIERS,\n attribute: MEDIA_FEATURES.join(\" \")\n };\n\n const PARENS_MODE = {\n // used only to properly balance nested parens inside mixin call, def. arg list\n begin: '\\\\(',\n end: '\\\\)',\n contains: VALUE_MODES,\n keywords: AT_KEYWORDS,\n relevance: 0\n };\n\n // generic Less highlighter (used almost everywhere except selectors):\n VALUE_MODES.push(\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING_MODE(\"'\"),\n STRING_MODE('\"'),\n modes.CSS_NUMBER_MODE, // fixme: it does not include dot for numbers like .5em :(\n {\n begin: '(url|data-uri)\\\\(',\n starts: {\n className: 'string',\n end: '[\\\\)\\\\n]',\n excludeEnd: true\n }\n },\n modes.HEXCOLOR,\n PARENS_MODE,\n IDENT_MODE('variable', '@@?' + IDENT_RE, 10),\n IDENT_MODE('variable', '@\\\\{' + IDENT_RE + '\\\\}'),\n IDENT_MODE('built_in', '~?`[^`]*?`'), // inline javascript (or whatever host language) *multiline* string\n { // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):\n className: 'attribute',\n begin: IDENT_RE + '\\\\s*:',\n end: ':',\n returnBegin: true,\n excludeEnd: true\n },\n modes.IMPORTANT,\n { beginKeywords: 'and not' },\n modes.FUNCTION_DISPATCH\n );\n\n const VALUE_WITH_RULESETS = VALUE_MODES.concat({\n begin: /\\{/,\n end: /\\}/,\n contains: RULES\n });\n\n const MIXIN_GUARD_MODE = {\n beginKeywords: 'when',\n endsWithParent: true,\n contains: [ { beginKeywords: 'and not' } ].concat(VALUE_MODES) // using this form to override VALUE’s 'function' match\n };\n\n /* Rule-Level Modes */\n\n const RULE_MODE = {\n begin: INTERP_IDENT_RE + '\\\\s*:',\n returnBegin: true,\n end: /[;}]/,\n relevance: 0,\n contains: [\n { begin: /-(webkit|moz|ms|o)-/ },\n modes.CSS_VARIABLE,\n {\n className: 'attribute',\n begin: '\\\\b(' + ATTRIBUTES.join('|') + ')\\\\b',\n end: /(?=:)/,\n starts: {\n endsWithParent: true,\n illegal: '[<=$]',\n relevance: 0,\n contains: VALUE_MODES\n }\n }\n ]\n };\n\n const AT_RULE_MODE = {\n className: 'keyword',\n begin: '@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\\\b',\n starts: {\n end: '[;{}]',\n keywords: AT_KEYWORDS,\n returnEnd: true,\n contains: VALUE_MODES,\n relevance: 0\n }\n };\n\n // variable definitions and calls\n const VAR_RULE_MODE = {\n className: 'variable',\n variants: [\n // using more strict pattern for higher relevance to increase chances of Less detection.\n // this is *the only* Less specific statement used in most of the sources, so...\n // (we’ll still often loose to the css-parser unless there's '//' comment,\n // simply because 1 variable just can't beat 99 properties :)\n {\n begin: '@' + IDENT_RE + '\\\\s*:',\n relevance: 15\n },\n { begin: '@' + IDENT_RE }\n ],\n starts: {\n end: '[;}]',\n returnEnd: true,\n contains: VALUE_WITH_RULESETS\n }\n };\n\n const SELECTOR_MODE = {\n // first parse unambiguous selectors (i.e. those not starting with tag)\n // then fall into the scary lookahead-discriminator variant.\n // this mode also handles mixin definitions and calls\n variants: [\n {\n begin: '[\\\\.#:&\\\\[>]',\n end: '[;{}]' // mixin calls end with ';'\n },\n {\n begin: INTERP_IDENT_RE,\n end: /\\{/\n }\n ],\n returnBegin: true,\n returnEnd: true,\n illegal: '[<=\\'$\"]',\n relevance: 0,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n MIXIN_GUARD_MODE,\n IDENT_MODE('keyword', 'all\\\\b'),\n IDENT_MODE('variable', '@\\\\{' + IDENT_RE + '\\\\}'), // otherwise it’s identified as tag\n \n {\n begin: '\\\\b(' + TAGS.join('|') + ')\\\\b',\n className: 'selector-tag'\n },\n modes.CSS_NUMBER_MODE,\n IDENT_MODE('selector-tag', INTERP_IDENT_RE, 0),\n IDENT_MODE('selector-id', '#' + INTERP_IDENT_RE),\n IDENT_MODE('selector-class', '\\\\.' + INTERP_IDENT_RE, 0),\n IDENT_MODE('selector-tag', '&', 0),\n modes.ATTRIBUTE_SELECTOR_MODE,\n {\n className: 'selector-pseudo',\n begin: ':(' + PSEUDO_CLASSES.join('|') + ')'\n },\n {\n className: 'selector-pseudo',\n begin: ':(:)?(' + PSEUDO_ELEMENTS.join('|') + ')'\n },\n {\n begin: /\\(/,\n end: /\\)/,\n relevance: 0,\n contains: VALUE_WITH_RULESETS\n }, // argument list of parametric mixins\n { begin: '!important' }, // eat !important after mixin call or it will be colored as tag\n modes.FUNCTION_DISPATCH\n ]\n };\n\n const PSEUDO_SELECTOR_MODE = {\n begin: IDENT_RE + ':(:)?' + `(${PSEUDO_SELECTORS$1.join('|')})`,\n returnBegin: true,\n contains: [ SELECTOR_MODE ]\n };\n\n RULES.push(\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n AT_RULE_MODE,\n VAR_RULE_MODE,\n PSEUDO_SELECTOR_MODE,\n RULE_MODE,\n SELECTOR_MODE,\n MIXIN_GUARD_MODE,\n modes.FUNCTION_DISPATCH\n );\n\n return {\n name: 'Less',\n case_insensitive: true,\n illegal: '[=>\\'/<($\"]',\n contains: RULES\n };\n}\n\nexport { less as default };\n","/*\nLanguage: Lua\nDescription: Lua is a powerful, efficient, lightweight, embeddable scripting language.\nAuthor: Andrew Fedorov \nCategory: common, gaming, scripting\nWebsite: https://www.lua.org\n*/\n\nfunction lua(hljs) {\n const OPENING_LONG_BRACKET = '\\\\[=*\\\\[';\n const CLOSING_LONG_BRACKET = '\\\\]=*\\\\]';\n const LONG_BRACKETS = {\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ 'self' ]\n };\n const COMMENTS = [\n hljs.COMMENT('--(?!' + OPENING_LONG_BRACKET + ')', '$'),\n hljs.COMMENT(\n '--' + OPENING_LONG_BRACKET,\n CLOSING_LONG_BRACKET,\n {\n contains: [ LONG_BRACKETS ],\n relevance: 10\n }\n )\n ];\n return {\n name: 'Lua',\n aliases: ['pluto'],\n keywords: {\n $pattern: hljs.UNDERSCORE_IDENT_RE,\n literal: \"true false nil\",\n keyword: \"and break do else elseif end for goto if in local not or repeat return then until while\",\n built_in:\n // Metatags and globals:\n '_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len '\n + '__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert '\n // Standard methods and properties:\n + 'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring '\n + 'module next pairs pcall print rawequal rawget rawset require select setfenv '\n + 'setmetatable tonumber tostring type unpack xpcall arg self '\n // Library methods and properties (one line per library):\n + 'coroutine resume yield status wrap create running debug getupvalue '\n + 'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv '\n + 'io lines write close flush open output type read stderr stdin input stdout popen tmpfile '\n + 'math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan '\n + 'os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall '\n + 'string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower '\n + 'table setn insert getn foreachi maxn foreach concat sort remove'\n },\n contains: COMMENTS.concat([\n {\n className: 'function',\n beginKeywords: 'function',\n end: '\\\\)',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, { begin: '([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*' }),\n {\n className: 'params',\n begin: '\\\\(',\n endsWithParent: true,\n contains: COMMENTS\n }\n ].concat(COMMENTS)\n },\n hljs.C_NUMBER_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n className: 'string',\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ LONG_BRACKETS ],\n relevance: 5\n }\n ])\n };\n}\n\nexport { lua as default };\n","/*\nLanguage: Makefile\nAuthor: Ivan Sagalaev \nContributors: Joël Porquet \nWebsite: https://www.gnu.org/software/make/manual/html_node/Introduction.html\nCategory: common, build-system\n*/\n\nfunction makefile(hljs) {\n /* Variables: simple (eg $(var)) and special (eg $@) */\n const VARIABLE = {\n className: 'variable',\n variants: [\n {\n begin: '\\\\$\\\\(' + hljs.UNDERSCORE_IDENT_RE + '\\\\)',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n { begin: /\\$[@%\nWebsite: https://daringfireball.net/projects/markdown/\nCategory: common, markup\n*/\n\nfunction markdown(hljs) {\n const regex = hljs.regex;\n const INLINE_HTML = {\n begin: /<\\/?[A-Za-z_]/,\n end: '>',\n subLanguage: 'xml',\n relevance: 0\n };\n const HORIZONTAL_RULE = {\n begin: '^[-\\\\*]{3,}',\n end: '$'\n };\n const CODE = {\n className: 'code',\n variants: [\n // TODO: fix to allow these to work with sublanguage also\n { begin: '(`{3,})[^`](.|\\\\n)*?\\\\1`*[ ]*' },\n { begin: '(~{3,})[^~](.|\\\\n)*?\\\\1~*[ ]*' },\n // needed to allow markdown as a sublanguage to work\n {\n begin: '```',\n end: '```+[ ]*$'\n },\n {\n begin: '~~~',\n end: '~~~+[ ]*$'\n },\n { begin: '`.+?`' },\n {\n begin: '(?=^( {4}|\\\\t))',\n // use contains to gobble up multiple lines to allow the block to be whatever size\n // but only have a single open/close tag vs one per line\n contains: [\n {\n begin: '^( {4}|\\\\t)',\n end: '(\\\\n)$'\n }\n ],\n relevance: 0\n }\n ]\n };\n const LIST = {\n className: 'bullet',\n begin: '^[ \\t]*([*+-]|(\\\\d+\\\\.))(?=\\\\s+)',\n end: '\\\\s+',\n excludeEnd: true\n };\n const LINK_REFERENCE = {\n begin: /^\\[[^\\n]+\\]:/,\n returnBegin: true,\n contains: [\n {\n className: 'symbol',\n begin: /\\[/,\n end: /\\]/,\n excludeBegin: true,\n excludeEnd: true\n },\n {\n className: 'link',\n begin: /:\\s*/,\n end: /$/,\n excludeBegin: true\n }\n ]\n };\n const URL_SCHEME = /[A-Za-z][A-Za-z0-9+.-]*/;\n const LINK = {\n variants: [\n // too much like nested array access in so many languages\n // to have any real relevance\n {\n begin: /\\[.+?\\]\\[.*?\\]/,\n relevance: 0\n },\n // popular internet URLs\n {\n begin: /\\[.+?\\]\\(((data|javascript|mailto):|(?:http|ftp)s?:\\/\\/).*?\\)/,\n relevance: 2\n },\n {\n begin: regex.concat(/\\[.+?\\]\\(/, URL_SCHEME, /:\\/\\/.*?\\)/),\n relevance: 2\n },\n // relative urls\n {\n begin: /\\[.+?\\]\\([./?&#].*?\\)/,\n relevance: 1\n },\n // whatever else, lower relevance (might not be a link at all)\n {\n begin: /\\[.*?\\]\\(.*?\\)/,\n relevance: 0\n }\n ],\n returnBegin: true,\n contains: [\n {\n // empty strings for alt or link text\n match: /\\[(?=\\])/ },\n {\n className: 'string',\n relevance: 0,\n begin: '\\\\[',\n end: '\\\\]',\n excludeBegin: true,\n returnEnd: true\n },\n {\n className: 'link',\n relevance: 0,\n begin: '\\\\]\\\\(',\n end: '\\\\)',\n excludeBegin: true,\n excludeEnd: true\n },\n {\n className: 'symbol',\n relevance: 0,\n begin: '\\\\]\\\\[',\n end: '\\\\]',\n excludeBegin: true,\n excludeEnd: true\n }\n ]\n };\n const BOLD = {\n className: 'strong',\n contains: [], // defined later\n variants: [\n {\n begin: /_{2}(?!\\s)/,\n end: /_{2}/\n },\n {\n begin: /\\*{2}(?!\\s)/,\n end: /\\*{2}/\n }\n ]\n };\n const ITALIC = {\n className: 'emphasis',\n contains: [], // defined later\n variants: [\n {\n begin: /\\*(?![*\\s])/,\n end: /\\*/\n },\n {\n begin: /_(?![_\\s])/,\n end: /_/,\n relevance: 0\n }\n ]\n };\n\n // 3 level deep nesting is not allowed because it would create confusion\n // in cases like `***testing***` because where we don't know if the last\n // `***` is starting a new bold/italic or finishing the last one\n const BOLD_WITHOUT_ITALIC = hljs.inherit(BOLD, { contains: [] });\n const ITALIC_WITHOUT_BOLD = hljs.inherit(ITALIC, { contains: [] });\n BOLD.contains.push(ITALIC_WITHOUT_BOLD);\n ITALIC.contains.push(BOLD_WITHOUT_ITALIC);\n\n let CONTAINABLE = [\n INLINE_HTML,\n LINK\n ];\n\n [\n BOLD,\n ITALIC,\n BOLD_WITHOUT_ITALIC,\n ITALIC_WITHOUT_BOLD\n ].forEach(m => {\n m.contains = m.contains.concat(CONTAINABLE);\n });\n\n CONTAINABLE = CONTAINABLE.concat(BOLD, ITALIC);\n\n const HEADER = {\n className: 'section',\n variants: [\n {\n begin: '^#{1,6}',\n end: '$',\n contains: CONTAINABLE\n },\n {\n begin: '(?=^.+?\\\\n[=-]{2,}$)',\n contains: [\n { begin: '^[=-]*$' },\n {\n begin: '^',\n end: \"\\\\n\",\n contains: CONTAINABLE\n }\n ]\n }\n ]\n };\n\n const BLOCKQUOTE = {\n className: 'quote',\n begin: '^>\\\\s+',\n contains: CONTAINABLE,\n end: '$'\n };\n\n const ENTITY = {\n //https://spec.commonmark.org/0.31.2/#entity-references\n scope: 'literal',\n match: /&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/\n };\n\n return {\n name: 'Markdown',\n aliases: [\n 'md',\n 'mkdown',\n 'mkd'\n ],\n contains: [\n HEADER,\n INLINE_HTML,\n LIST,\n BOLD,\n ITALIC,\n BLOCKQUOTE,\n CODE,\n HORIZONTAL_RULE,\n LINK,\n LINK_REFERENCE,\n ENTITY\n ]\n };\n}\n\nexport { markdown as default };\n","/*\nLanguage: Objective-C\nAuthor: Valerii Hiora \nContributors: Angel G. Olloqui , Matt Diephouse , Andrew Farmer , Minh Nguyễn \nWebsite: https://developer.apple.com/documentation/objectivec\nCategory: common\n*/\n\nfunction objectivec(hljs) {\n const API_CLASS = {\n className: 'built_in',\n begin: '\\\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\\\w+'\n };\n const IDENTIFIER_RE = /[a-zA-Z@][a-zA-Z0-9_]*/;\n const TYPES = [\n \"int\",\n \"float\",\n \"char\",\n \"unsigned\",\n \"signed\",\n \"short\",\n \"long\",\n \"double\",\n \"wchar_t\",\n \"unichar\",\n \"void\",\n \"bool\",\n \"BOOL\",\n \"id|0\",\n \"_Bool\"\n ];\n const KWS = [\n \"while\",\n \"export\",\n \"sizeof\",\n \"typedef\",\n \"const\",\n \"struct\",\n \"for\",\n \"union\",\n \"volatile\",\n \"static\",\n \"mutable\",\n \"if\",\n \"do\",\n \"return\",\n \"goto\",\n \"enum\",\n \"else\",\n \"break\",\n \"extern\",\n \"asm\",\n \"case\",\n \"default\",\n \"register\",\n \"explicit\",\n \"typename\",\n \"switch\",\n \"continue\",\n \"inline\",\n \"readonly\",\n \"assign\",\n \"readwrite\",\n \"self\",\n \"@synchronized\",\n \"id\",\n \"typeof\",\n \"nonatomic\",\n \"IBOutlet\",\n \"IBAction\",\n \"strong\",\n \"weak\",\n \"copy\",\n \"in\",\n \"out\",\n \"inout\",\n \"bycopy\",\n \"byref\",\n \"oneway\",\n \"__strong\",\n \"__weak\",\n \"__block\",\n \"__autoreleasing\",\n \"@private\",\n \"@protected\",\n \"@public\",\n \"@try\",\n \"@property\",\n \"@end\",\n \"@throw\",\n \"@catch\",\n \"@finally\",\n \"@autoreleasepool\",\n \"@synthesize\",\n \"@dynamic\",\n \"@selector\",\n \"@optional\",\n \"@required\",\n \"@encode\",\n \"@package\",\n \"@import\",\n \"@defs\",\n \"@compatibility_alias\",\n \"__bridge\",\n \"__bridge_transfer\",\n \"__bridge_retained\",\n \"__bridge_retain\",\n \"__covariant\",\n \"__contravariant\",\n \"__kindof\",\n \"_Nonnull\",\n \"_Nullable\",\n \"_Null_unspecified\",\n \"__FUNCTION__\",\n \"__PRETTY_FUNCTION__\",\n \"__attribute__\",\n \"getter\",\n \"setter\",\n \"retain\",\n \"unsafe_unretained\",\n \"nonnull\",\n \"nullable\",\n \"null_unspecified\",\n \"null_resettable\",\n \"class\",\n \"instancetype\",\n \"NS_DESIGNATED_INITIALIZER\",\n \"NS_UNAVAILABLE\",\n \"NS_REQUIRES_SUPER\",\n \"NS_RETURNS_INNER_POINTER\",\n \"NS_INLINE\",\n \"NS_AVAILABLE\",\n \"NS_DEPRECATED\",\n \"NS_ENUM\",\n \"NS_OPTIONS\",\n \"NS_SWIFT_UNAVAILABLE\",\n \"NS_ASSUME_NONNULL_BEGIN\",\n \"NS_ASSUME_NONNULL_END\",\n \"NS_REFINED_FOR_SWIFT\",\n \"NS_SWIFT_NAME\",\n \"NS_SWIFT_NOTHROW\",\n \"NS_DURING\",\n \"NS_HANDLER\",\n \"NS_ENDHANDLER\",\n \"NS_VALUERETURN\",\n \"NS_VOIDRETURN\"\n ];\n const LITERALS = [\n \"false\",\n \"true\",\n \"FALSE\",\n \"TRUE\",\n \"nil\",\n \"YES\",\n \"NO\",\n \"NULL\"\n ];\n const BUILT_INS = [\n \"dispatch_once_t\",\n \"dispatch_queue_t\",\n \"dispatch_sync\",\n \"dispatch_async\",\n \"dispatch_once\"\n ];\n const KEYWORDS = {\n \"variable.language\": [\n \"this\",\n \"super\"\n ],\n $pattern: IDENTIFIER_RE,\n keyword: KWS,\n literal: LITERALS,\n built_in: BUILT_INS,\n type: TYPES\n };\n const CLASS_KEYWORDS = {\n $pattern: IDENTIFIER_RE,\n keyword: [\n \"@interface\",\n \"@class\",\n \"@protocol\",\n \"@implementation\"\n ]\n };\n return {\n name: 'Objective-C',\n aliases: [\n 'mm',\n 'objc',\n 'obj-c',\n 'obj-c++',\n 'objective-c++'\n ],\n keywords: KEYWORDS,\n illegal: '/,\n end: /$/,\n illegal: '\\\\n'\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n className: 'class',\n begin: '(' + CLASS_KEYWORDS.keyword.join('|') + ')\\\\b',\n end: /(\\{|$)/,\n excludeEnd: true,\n keywords: CLASS_KEYWORDS,\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n {\n begin: '\\\\.' + hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n }\n ]\n };\n}\n\nexport { objectivec as default };\n","/*\nLanguage: Perl\nAuthor: Peter Leonov \nWebsite: https://www.perl.org\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction perl(hljs) {\n const regex = hljs.regex;\n const KEYWORDS = [\n 'abs',\n 'accept',\n 'alarm',\n 'and',\n 'atan2',\n 'bind',\n 'binmode',\n 'bless',\n 'break',\n 'caller',\n 'chdir',\n 'chmod',\n 'chomp',\n 'chop',\n 'chown',\n 'chr',\n 'chroot',\n 'class',\n 'close',\n 'closedir',\n 'connect',\n 'continue',\n 'cos',\n 'crypt',\n 'dbmclose',\n 'dbmopen',\n 'defined',\n 'delete',\n 'die',\n 'do',\n 'dump',\n 'each',\n 'else',\n 'elsif',\n 'endgrent',\n 'endhostent',\n 'endnetent',\n 'endprotoent',\n 'endpwent',\n 'endservent',\n 'eof',\n 'eval',\n 'exec',\n 'exists',\n 'exit',\n 'exp',\n 'fcntl',\n 'field',\n 'fileno',\n 'flock',\n 'for',\n 'foreach',\n 'fork',\n 'format',\n 'formline',\n 'getc',\n 'getgrent',\n 'getgrgid',\n 'getgrnam',\n 'gethostbyaddr',\n 'gethostbyname',\n 'gethostent',\n 'getlogin',\n 'getnetbyaddr',\n 'getnetbyname',\n 'getnetent',\n 'getpeername',\n 'getpgrp',\n 'getpriority',\n 'getprotobyname',\n 'getprotobynumber',\n 'getprotoent',\n 'getpwent',\n 'getpwnam',\n 'getpwuid',\n 'getservbyname',\n 'getservbyport',\n 'getservent',\n 'getsockname',\n 'getsockopt',\n 'given',\n 'glob',\n 'gmtime',\n 'goto',\n 'grep',\n 'gt',\n 'hex',\n 'if',\n 'index',\n 'int',\n 'ioctl',\n 'join',\n 'keys',\n 'kill',\n 'last',\n 'lc',\n 'lcfirst',\n 'length',\n 'link',\n 'listen',\n 'local',\n 'localtime',\n 'log',\n 'lstat',\n 'lt',\n 'ma',\n 'map',\n 'method',\n 'mkdir',\n 'msgctl',\n 'msgget',\n 'msgrcv',\n 'msgsnd',\n 'my',\n 'ne',\n 'next',\n 'no',\n 'not',\n 'oct',\n 'open',\n 'opendir',\n 'or',\n 'ord',\n 'our',\n 'pack',\n 'package',\n 'pipe',\n 'pop',\n 'pos',\n 'print',\n 'printf',\n 'prototype',\n 'push',\n 'q|0',\n 'qq',\n 'quotemeta',\n 'qw',\n 'qx',\n 'rand',\n 'read',\n 'readdir',\n 'readline',\n 'readlink',\n 'readpipe',\n 'recv',\n 'redo',\n 'ref',\n 'rename',\n 'require',\n 'reset',\n 'return',\n 'reverse',\n 'rewinddir',\n 'rindex',\n 'rmdir',\n 'say',\n 'scalar',\n 'seek',\n 'seekdir',\n 'select',\n 'semctl',\n 'semget',\n 'semop',\n 'send',\n 'setgrent',\n 'sethostent',\n 'setnetent',\n 'setpgrp',\n 'setpriority',\n 'setprotoent',\n 'setpwent',\n 'setservent',\n 'setsockopt',\n 'shift',\n 'shmctl',\n 'shmget',\n 'shmread',\n 'shmwrite',\n 'shutdown',\n 'sin',\n 'sleep',\n 'socket',\n 'socketpair',\n 'sort',\n 'splice',\n 'split',\n 'sprintf',\n 'sqrt',\n 'srand',\n 'stat',\n 'state',\n 'study',\n 'sub',\n 'substr',\n 'symlink',\n 'syscall',\n 'sysopen',\n 'sysread',\n 'sysseek',\n 'system',\n 'syswrite',\n 'tell',\n 'telldir',\n 'tie',\n 'tied',\n 'time',\n 'times',\n 'tr',\n 'truncate',\n 'uc',\n 'ucfirst',\n 'umask',\n 'undef',\n 'unless',\n 'unlink',\n 'unpack',\n 'unshift',\n 'untie',\n 'until',\n 'use',\n 'utime',\n 'values',\n 'vec',\n 'wait',\n 'waitpid',\n 'wantarray',\n 'warn',\n 'when',\n 'while',\n 'write',\n 'x|0',\n 'xor',\n 'y|0'\n ];\n\n // https://perldoc.perl.org/perlre#Modifiers\n const REGEX_MODIFIERS = /[dualxmsipngr]{0,12}/; // aa and xx are valid, making max length 12\n const PERL_KEYWORDS = {\n $pattern: /[\\w.]+/,\n keyword: KEYWORDS.join(\" \")\n };\n const SUBST = {\n className: 'subst',\n begin: '[$@]\\\\{',\n end: '\\\\}',\n keywords: PERL_KEYWORDS\n };\n const METHOD = {\n begin: /->\\{/,\n end: /\\}/\n // contains defined later\n };\n const ATTR = {\n scope: 'attr',\n match: /\\s+:\\s*\\w+(\\s*\\(.*?\\))?/,\n };\n const VAR = {\n scope: 'variable',\n variants: [\n { begin: /\\$\\d/ },\n { begin: regex.concat(\n /[$%@](?!\")(\\^\\w\\b|#\\w+(::\\w+)*|\\{\\w+\\}|\\w+(::\\w*)*)/,\n // negative look-ahead tries to avoid matching patterns that are not\n // Perl at all like $ident$, @ident@, etc.\n `(?![A-Za-z])(?![@$%])`\n )\n },\n {\n // Only $= is a special Perl variable and one can't declare @= or %=.\n begin: /[$%@](?!\")[^\\s\\w{=]|\\$=/,\n relevance: 0\n }\n ],\n contains: [ ATTR ],\n };\n const NUMBER = {\n className: 'number',\n variants: [\n // decimal numbers:\n // include the case where a number starts with a dot (eg. .9), and\n // the leading 0? avoids mixing the first and second match on 0.x cases\n { match: /0?\\.[0-9][0-9_]+\\b/ },\n // include the special versioned number (eg. v5.38)\n { match: /\\bv?(0|[1-9][0-9_]*(\\.[0-9_]+)?|[1-9][0-9_]*)\\b/ },\n // non-decimal numbers:\n { match: /\\b0[0-7][0-7_]*\\b/ },\n { match: /\\b0x[0-9a-fA-F][0-9a-fA-F_]*\\b/ },\n { match: /\\b0b[0-1][0-1_]*\\b/ },\n ],\n relevance: 0\n };\n const STRING_CONTAINS = [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n VAR\n ];\n const REGEX_DELIMS = [\n /!/,\n /\\//,\n /\\|/,\n /\\?/,\n /'/,\n /\"/, // valid but infrequent and weird\n /#/ // valid but infrequent and weird\n ];\n /**\n * @param {string|RegExp} prefix\n * @param {string|RegExp} open\n * @param {string|RegExp} close\n */\n const PAIRED_DOUBLE_RE = (prefix, open, close = '\\\\1') => {\n const middle = (close === '\\\\1')\n ? close\n : regex.concat(close, open);\n return regex.concat(\n regex.concat(\"(?:\", prefix, \")\"),\n open,\n /(?:\\\\.|[^\\\\\\/])*?/,\n middle,\n /(?:\\\\.|[^\\\\\\/])*?/,\n close,\n REGEX_MODIFIERS\n );\n };\n /**\n * @param {string|RegExp} prefix\n * @param {string|RegExp} open\n * @param {string|RegExp} close\n */\n const PAIRED_RE = (prefix, open, close) => {\n return regex.concat(\n regex.concat(\"(?:\", prefix, \")\"),\n open,\n /(?:\\\\.|[^\\\\\\/])*?/,\n close,\n REGEX_MODIFIERS\n );\n };\n const PERL_DEFAULT_CONTAINS = [\n VAR,\n hljs.HASH_COMMENT_MODE,\n hljs.COMMENT(\n /^=\\w/,\n /=cut/,\n { endsWithParent: true }\n ),\n METHOD,\n {\n className: 'string',\n contains: STRING_CONTAINS,\n variants: [\n {\n begin: 'q[qwxr]?\\\\s*\\\\(',\n end: '\\\\)',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\[',\n end: '\\\\]',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\{',\n end: '\\\\}',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\|',\n end: '\\\\|',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*<',\n end: '>',\n relevance: 5\n },\n {\n begin: 'qw\\\\s+q',\n end: 'q',\n relevance: 5\n },\n {\n begin: '\\'',\n end: '\\'',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '\"',\n end: '\"'\n },\n {\n begin: '`',\n end: '`',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: /\\{\\w+\\}/,\n relevance: 0\n },\n {\n begin: '-?\\\\w+\\\\s*=>',\n relevance: 0\n }\n ]\n },\n NUMBER,\n { // regexp container\n begin: '(\\\\/\\\\/|' + hljs.RE_STARTERS_RE + '|\\\\b(split|return|print|reverse|grep)\\\\b)\\\\s*',\n keywords: 'split return print reverse grep',\n relevance: 0,\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'regexp',\n variants: [\n // allow matching common delimiters\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", regex.either(...REGEX_DELIMS, { capture: true })) },\n // and then paired delmis\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", \"\\\\(\", \"\\\\)\") },\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", \"\\\\[\", \"\\\\]\") },\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", \"\\\\{\", \"\\\\}\") }\n ],\n relevance: 2\n },\n {\n className: 'regexp',\n variants: [\n {\n // could be a comment in many languages so do not count\n // as relevant\n begin: /(m|qr)\\/\\//,\n relevance: 0\n },\n // prefix is optional with /regex/\n { begin: PAIRED_RE(\"(?:m|qr)?\", /\\//, /\\//) },\n // allow matching common delimiters\n { begin: PAIRED_RE(\"m|qr\", regex.either(...REGEX_DELIMS, { capture: true }), /\\1/) },\n // allow common paired delmins\n { begin: PAIRED_RE(\"m|qr\", /\\(/, /\\)/) },\n { begin: PAIRED_RE(\"m|qr\", /\\[/, /\\]/) },\n { begin: PAIRED_RE(\"m|qr\", /\\{/, /\\}/) }\n ]\n }\n ]\n },\n {\n className: 'function',\n beginKeywords: 'sub method',\n end: '(\\\\s*\\\\(.*?\\\\))?[;{]',\n excludeEnd: true,\n relevance: 5,\n contains: [ hljs.TITLE_MODE, ATTR ]\n },\n {\n className: 'class',\n beginKeywords: 'class',\n end: '[;{]',\n excludeEnd: true,\n relevance: 5,\n contains: [ hljs.TITLE_MODE, ATTR, NUMBER ]\n },\n {\n begin: '-\\\\w\\\\b',\n relevance: 0\n },\n {\n begin: \"^__DATA__$\",\n end: \"^__END__$\",\n subLanguage: 'mojolicious',\n contains: [\n {\n begin: \"^@@.*\",\n end: \"$\",\n className: \"comment\"\n }\n ]\n }\n ];\n SUBST.contains = PERL_DEFAULT_CONTAINS;\n METHOD.contains = PERL_DEFAULT_CONTAINS;\n\n return {\n name: 'Perl',\n aliases: [\n 'pl',\n 'pm'\n ],\n keywords: PERL_KEYWORDS,\n contains: PERL_DEFAULT_CONTAINS\n };\n}\n\nexport { perl as default };\n","/*\nLanguage: PHP\nAuthor: Victor Karamzin \nContributors: Evgeny Stepanischev , Ivan Sagalaev \nWebsite: https://www.php.net\nCategory: common\n*/\n\n/**\n * @param {HLJSApi} hljs\n * @returns {LanguageDetail}\n * */\nfunction php(hljs) {\n const regex = hljs.regex;\n // negative look-ahead tries to avoid matching patterns that are not\n // Perl at all like $ident$, @ident@, etc.\n const NOT_PERL_ETC = /(?![A-Za-z0-9])(?![$])/;\n const IDENT_RE = regex.concat(\n /[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/,\n NOT_PERL_ETC);\n // Will not detect camelCase classes\n const PASCAL_CASE_CLASS_NAME_RE = regex.concat(\n /(\\\\?[A-Z][a-z0-9_\\x7f-\\xff]+|\\\\?[A-Z]+(?=[A-Z][a-z0-9_\\x7f-\\xff])){1,}/,\n NOT_PERL_ETC);\n const UPCASE_NAME_RE = regex.concat(\n /[A-Z]+/,\n NOT_PERL_ETC);\n const VARIABLE = {\n scope: 'variable',\n match: '\\\\$+' + IDENT_RE,\n };\n const PREPROCESSOR = {\n scope: \"meta\",\n variants: [\n { begin: /<\\?php/, relevance: 10 }, // boost for obvious PHP\n { begin: /<\\?=/ },\n // less relevant per PSR-1 which says not to use short-tags\n { begin: /<\\?/, relevance: 0.1 },\n { begin: /\\?>/ } // end php tag\n ]\n };\n const SUBST = {\n scope: 'subst',\n variants: [\n { begin: /\\$\\w+/ },\n {\n begin: /\\{\\$/,\n end: /\\}/\n }\n ]\n };\n const SINGLE_QUOTED = hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null, });\n const DOUBLE_QUOTED = hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null,\n contains: hljs.QUOTE_STRING_MODE.contains.concat(SUBST),\n });\n\n const HEREDOC = {\n begin: /<<<[ \\t]*(?:(\\w+)|\"(\\w+)\")\\n/,\n end: /[ \\t]*(\\w+)\\b/,\n contains: hljs.QUOTE_STRING_MODE.contains.concat(SUBST),\n 'on:begin': (m, resp) => { resp.data._beginMatch = m[1] || m[2]; },\n 'on:end': (m, resp) => { if (resp.data._beginMatch !== m[1]) resp.ignoreMatch(); },\n };\n\n const NOWDOC = hljs.END_SAME_AS_BEGIN({\n begin: /<<<[ \\t]*'(\\w+)'\\n/,\n end: /[ \\t]*(\\w+)\\b/,\n });\n // list of valid whitespaces because non-breaking space might be part of a IDENT_RE\n const WHITESPACE = '[ \\t\\n]';\n const STRING = {\n scope: 'string',\n variants: [\n DOUBLE_QUOTED,\n SINGLE_QUOTED,\n HEREDOC,\n NOWDOC\n ]\n };\n const NUMBER = {\n scope: 'number',\n variants: [\n { begin: `\\\\b0[bB][01]+(?:_[01]+)*\\\\b` }, // Binary w/ underscore support\n { begin: `\\\\b0[oO][0-7]+(?:_[0-7]+)*\\\\b` }, // Octals w/ underscore support\n { begin: `\\\\b0[xX][\\\\da-fA-F]+(?:_[\\\\da-fA-F]+)*\\\\b` }, // Hex w/ underscore support\n // Decimals w/ underscore support, with optional fragments and scientific exponent (e) suffix.\n { begin: `(?:\\\\b\\\\d+(?:_\\\\d+)*(\\\\.(?:\\\\d+(?:_\\\\d+)*))?|\\\\B\\\\.\\\\d+)(?:[eE][+-]?\\\\d+)?` }\n ],\n relevance: 0\n };\n const LITERALS = [\n \"false\",\n \"null\",\n \"true\"\n ];\n const KWS = [\n // Magic constants:\n // \n \"__CLASS__\",\n \"__DIR__\",\n \"__FILE__\",\n \"__FUNCTION__\",\n \"__COMPILER_HALT_OFFSET__\",\n \"__LINE__\",\n \"__METHOD__\",\n \"__NAMESPACE__\",\n \"__TRAIT__\",\n // Function that look like language construct or language construct that look like function:\n // List of keywords that may not require parenthesis\n \"die\",\n \"echo\",\n \"exit\",\n \"include\",\n \"include_once\",\n \"print\",\n \"require\",\n \"require_once\",\n // These are not language construct (function) but operate on the currently-executing function and can access the current symbol table\n // 'compact extract func_get_arg func_get_args func_num_args get_called_class get_parent_class ' +\n // Other keywords:\n // \n // \n \"array\",\n \"abstract\",\n \"and\",\n \"as\",\n \"binary\",\n \"bool\",\n \"boolean\",\n \"break\",\n \"callable\",\n \"case\",\n \"catch\",\n \"class\",\n \"clone\",\n \"const\",\n \"continue\",\n \"declare\",\n \"default\",\n \"do\",\n \"double\",\n \"else\",\n \"elseif\",\n \"empty\",\n \"enddeclare\",\n \"endfor\",\n \"endforeach\",\n \"endif\",\n \"endswitch\",\n \"endwhile\",\n \"enum\",\n \"eval\",\n \"extends\",\n \"final\",\n \"finally\",\n \"float\",\n \"for\",\n \"foreach\",\n \"from\",\n \"global\",\n \"goto\",\n \"if\",\n \"implements\",\n \"instanceof\",\n \"insteadof\",\n \"int\",\n \"integer\",\n \"interface\",\n \"isset\",\n \"iterable\",\n \"list\",\n \"match|0\",\n \"mixed\",\n \"new\",\n \"never\",\n \"object\",\n \"or\",\n \"private\",\n \"protected\",\n \"public\",\n \"readonly\",\n \"real\",\n \"return\",\n \"string\",\n \"switch\",\n \"throw\",\n \"trait\",\n \"try\",\n \"unset\",\n \"use\",\n \"var\",\n \"void\",\n \"while\",\n \"xor\",\n \"yield\"\n ];\n\n const BUILT_INS = [\n // Standard PHP library:\n // \n \"Error|0\",\n \"AppendIterator\",\n \"ArgumentCountError\",\n \"ArithmeticError\",\n \"ArrayIterator\",\n \"ArrayObject\",\n \"AssertionError\",\n \"BadFunctionCallException\",\n \"BadMethodCallException\",\n \"CachingIterator\",\n \"CallbackFilterIterator\",\n \"CompileError\",\n \"Countable\",\n \"DirectoryIterator\",\n \"DivisionByZeroError\",\n \"DomainException\",\n \"EmptyIterator\",\n \"ErrorException\",\n \"Exception\",\n \"FilesystemIterator\",\n \"FilterIterator\",\n \"GlobIterator\",\n \"InfiniteIterator\",\n \"InvalidArgumentException\",\n \"IteratorIterator\",\n \"LengthException\",\n \"LimitIterator\",\n \"LogicException\",\n \"MultipleIterator\",\n \"NoRewindIterator\",\n \"OutOfBoundsException\",\n \"OutOfRangeException\",\n \"OuterIterator\",\n \"OverflowException\",\n \"ParentIterator\",\n \"ParseError\",\n \"RangeException\",\n \"RecursiveArrayIterator\",\n \"RecursiveCachingIterator\",\n \"RecursiveCallbackFilterIterator\",\n \"RecursiveDirectoryIterator\",\n \"RecursiveFilterIterator\",\n \"RecursiveIterator\",\n \"RecursiveIteratorIterator\",\n \"RecursiveRegexIterator\",\n \"RecursiveTreeIterator\",\n \"RegexIterator\",\n \"RuntimeException\",\n \"SeekableIterator\",\n \"SplDoublyLinkedList\",\n \"SplFileInfo\",\n \"SplFileObject\",\n \"SplFixedArray\",\n \"SplHeap\",\n \"SplMaxHeap\",\n \"SplMinHeap\",\n \"SplObjectStorage\",\n \"SplObserver\",\n \"SplPriorityQueue\",\n \"SplQueue\",\n \"SplStack\",\n \"SplSubject\",\n \"SplTempFileObject\",\n \"TypeError\",\n \"UnderflowException\",\n \"UnexpectedValueException\",\n \"UnhandledMatchError\",\n // Reserved interfaces:\n // \n \"ArrayAccess\",\n \"BackedEnum\",\n \"Closure\",\n \"Fiber\",\n \"Generator\",\n \"Iterator\",\n \"IteratorAggregate\",\n \"Serializable\",\n \"Stringable\",\n \"Throwable\",\n \"Traversable\",\n \"UnitEnum\",\n \"WeakReference\",\n \"WeakMap\",\n // Reserved classes:\n // \n \"Directory\",\n \"__PHP_Incomplete_Class\",\n \"parent\",\n \"php_user_filter\",\n \"self\",\n \"static\",\n \"stdClass\"\n ];\n\n /** Dual-case keywords\n *\n * [\"then\",\"FILE\"] =>\n * [\"then\", \"THEN\", \"FILE\", \"file\"]\n *\n * @param {string[]} items */\n const dualCase = (items) => {\n /** @type string[] */\n const result = [];\n items.forEach(item => {\n result.push(item);\n if (item.toLowerCase() === item) {\n result.push(item.toUpperCase());\n } else {\n result.push(item.toLowerCase());\n }\n });\n return result;\n };\n\n const KEYWORDS = {\n keyword: KWS,\n literal: dualCase(LITERALS),\n built_in: BUILT_INS,\n };\n\n /**\n * @param {string[]} items */\n const normalizeKeywords = (items) => {\n return items.map(item => {\n return item.replace(/\\|\\d+$/, \"\");\n });\n };\n\n const CONSTRUCTOR_CALL = { variants: [\n {\n match: [\n /new/,\n regex.concat(WHITESPACE, \"+\"),\n // to prevent built ins from being confused as the class constructor call\n regex.concat(\"(?!\", normalizeKeywords(BUILT_INS).join(\"\\\\b|\"), \"\\\\b)\"),\n PASCAL_CASE_CLASS_NAME_RE,\n ],\n scope: {\n 1: \"keyword\",\n 4: \"title.class\",\n },\n }\n ] };\n\n const CONSTANT_REFERENCE = regex.concat(IDENT_RE, \"\\\\b(?!\\\\()\");\n\n const LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON = { variants: [\n {\n match: [\n regex.concat(\n /::/,\n regex.lookahead(/(?!class\\b)/)\n ),\n CONSTANT_REFERENCE,\n ],\n scope: { 2: \"variable.constant\", },\n },\n {\n match: [\n /::/,\n /class/,\n ],\n scope: { 2: \"variable.language\", },\n },\n {\n match: [\n PASCAL_CASE_CLASS_NAME_RE,\n regex.concat(\n /::/,\n regex.lookahead(/(?!class\\b)/)\n ),\n CONSTANT_REFERENCE,\n ],\n scope: {\n 1: \"title.class\",\n 3: \"variable.constant\",\n },\n },\n {\n match: [\n PASCAL_CASE_CLASS_NAME_RE,\n regex.concat(\n \"::\",\n regex.lookahead(/(?!class\\b)/)\n ),\n ],\n scope: { 1: \"title.class\", },\n },\n {\n match: [\n PASCAL_CASE_CLASS_NAME_RE,\n /::/,\n /class/,\n ],\n scope: {\n 1: \"title.class\",\n 3: \"variable.language\",\n },\n }\n ] };\n\n const NAMED_ARGUMENT = {\n scope: 'attr',\n match: regex.concat(IDENT_RE, regex.lookahead(':'), regex.lookahead(/(?!::)/)),\n };\n const PARAMS_MODE = {\n relevance: 0,\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n NAMED_ARGUMENT,\n VARIABLE,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER,\n CONSTRUCTOR_CALL,\n ],\n };\n const FUNCTION_INVOKE = {\n relevance: 0,\n match: [\n /\\b/,\n // to prevent keywords from being confused as the function title\n regex.concat(\"(?!fn\\\\b|function\\\\b|\", normalizeKeywords(KWS).join(\"\\\\b|\"), \"|\", normalizeKeywords(BUILT_INS).join(\"\\\\b|\"), \"\\\\b)\"),\n IDENT_RE,\n regex.concat(WHITESPACE, \"*\"),\n regex.lookahead(/(?=\\()/)\n ],\n scope: { 3: \"title.function.invoke\", },\n contains: [ PARAMS_MODE ]\n };\n PARAMS_MODE.contains.push(FUNCTION_INVOKE);\n\n const ATTRIBUTE_CONTAINS = [\n NAMED_ARGUMENT,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER,\n CONSTRUCTOR_CALL,\n ];\n\n const ATTRIBUTES = {\n begin: regex.concat(/#\\[\\s*\\\\?/,\n regex.either(\n PASCAL_CASE_CLASS_NAME_RE,\n UPCASE_NAME_RE\n )\n ),\n beginScope: \"meta\",\n end: /]/,\n endScope: \"meta\",\n keywords: {\n literal: LITERALS,\n keyword: [\n 'new',\n 'array',\n ]\n },\n contains: [\n {\n begin: /\\[/,\n end: /]/,\n keywords: {\n literal: LITERALS,\n keyword: [\n 'new',\n 'array',\n ]\n },\n contains: [\n 'self',\n ...ATTRIBUTE_CONTAINS,\n ]\n },\n ...ATTRIBUTE_CONTAINS,\n {\n scope: 'meta',\n variants: [\n { match: PASCAL_CASE_CLASS_NAME_RE },\n { match: UPCASE_NAME_RE }\n ]\n }\n ]\n };\n\n return {\n case_insensitive: false,\n keywords: KEYWORDS,\n contains: [\n ATTRIBUTES,\n hljs.HASH_COMMENT_MODE,\n hljs.COMMENT('//', '$'),\n hljs.COMMENT(\n '/\\\\*',\n '\\\\*/',\n { contains: [\n {\n scope: 'doctag',\n match: '@[A-Za-z]+'\n }\n ] }\n ),\n {\n match: /__halt_compiler\\(\\);/,\n keywords: '__halt_compiler',\n starts: {\n scope: \"comment\",\n end: hljs.MATCH_NOTHING_RE,\n contains: [\n {\n match: /\\?>/,\n scope: \"meta\",\n endsParent: true\n }\n ]\n }\n },\n PREPROCESSOR,\n {\n scope: 'variable.language',\n match: /\\$this\\b/\n },\n VARIABLE,\n FUNCTION_INVOKE,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n {\n match: [\n /const/,\n /\\s/,\n IDENT_RE,\n ],\n scope: {\n 1: \"keyword\",\n 3: \"variable.constant\",\n },\n },\n CONSTRUCTOR_CALL,\n {\n scope: 'function',\n relevance: 0,\n beginKeywords: 'fn function',\n end: /[;{]/,\n excludeEnd: true,\n illegal: '[$%\\\\[]',\n contains: [\n { beginKeywords: 'use', },\n hljs.UNDERSCORE_TITLE_MODE,\n {\n begin: '=>', // No markup, just a relevance booster\n endsParent: true\n },\n {\n scope: 'params',\n begin: '\\\\(',\n end: '\\\\)',\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n 'self',\n ATTRIBUTES,\n VARIABLE,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER\n ]\n },\n ]\n },\n {\n scope: 'class',\n variants: [\n {\n beginKeywords: \"enum\",\n illegal: /[($\"]/\n },\n {\n beginKeywords: \"class interface trait\",\n illegal: /[:($\"]/\n }\n ],\n relevance: 0,\n end: /\\{/,\n excludeEnd: true,\n contains: [\n { beginKeywords: 'extends implements' },\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n // both use and namespace still use \"old style\" rules (vs multi-match)\n // because the namespace name can include `\\` and we still want each\n // element to be treated as its own *individual* title\n {\n beginKeywords: 'namespace',\n relevance: 0,\n end: ';',\n illegal: /[.']/,\n contains: [ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, { scope: \"title.class\" }) ]\n },\n {\n beginKeywords: 'use',\n relevance: 0,\n end: ';',\n contains: [\n // TODO: title.function vs title.class\n {\n match: /\\b(as|const|function)\\b/,\n scope: \"keyword\"\n },\n // TODO: could be title.class or title.function\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n STRING,\n NUMBER,\n ]\n };\n}\n\nexport { php as default };\n","/*\nLanguage: PHP Template\nRequires: xml.js, php.js\nAuthor: Josh Goebel \nWebsite: https://www.php.net\nCategory: common\n*/\n\nfunction phpTemplate(hljs) {\n return {\n name: \"PHP template\",\n subLanguage: 'xml',\n contains: [\n {\n begin: /<\\?(php|=)?/,\n end: /\\?>/,\n subLanguage: 'php',\n contains: [\n // We don't want the php closing tag ?> to close the PHP block when\n // inside any of the following blocks:\n {\n begin: '/\\\\*',\n end: '\\\\*/',\n skip: true\n },\n {\n begin: 'b\"',\n end: '\"',\n skip: true\n },\n {\n begin: 'b\\'',\n end: '\\'',\n skip: true\n },\n hljs.inherit(hljs.APOS_STRING_MODE, {\n illegal: null,\n className: null,\n contains: null,\n skip: true\n }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null,\n className: null,\n contains: null,\n skip: true\n })\n ]\n }\n ]\n };\n}\n\nexport { phpTemplate as default };\n","/*\nLanguage: Plain text\nAuthor: Egor Rogov (e.rogov@postgrespro.ru)\nDescription: Plain text without any highlighting.\nCategory: common\n*/\n\nfunction plaintext(hljs) {\n return {\n name: 'Plain text',\n aliases: [\n 'text',\n 'txt'\n ],\n disableAutodetect: true\n };\n}\n\nexport { plaintext as default };\n","/*\nLanguage: Python\nDescription: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.\nWebsite: https://www.python.org\nCategory: common\n*/\n\nfunction python(hljs) {\n const regex = hljs.regex;\n const IDENT_RE = /[\\p{XID_Start}_]\\p{XID_Continue}*/u;\n const RESERVED_WORDS = [\n 'and',\n 'as',\n 'assert',\n 'async',\n 'await',\n 'break',\n 'case',\n 'class',\n 'continue',\n 'def',\n 'del',\n 'elif',\n 'else',\n 'except',\n 'finally',\n 'for',\n 'from',\n 'global',\n 'if',\n 'import',\n 'in',\n 'is',\n 'lambda',\n 'match',\n 'nonlocal|10',\n 'not',\n 'or',\n 'pass',\n 'raise',\n 'return',\n 'try',\n 'while',\n 'with',\n 'yield'\n ];\n\n const BUILT_INS = [\n '__import__',\n 'abs',\n 'all',\n 'any',\n 'ascii',\n 'bin',\n 'bool',\n 'breakpoint',\n 'bytearray',\n 'bytes',\n 'callable',\n 'chr',\n 'classmethod',\n 'compile',\n 'complex',\n 'delattr',\n 'dict',\n 'dir',\n 'divmod',\n 'enumerate',\n 'eval',\n 'exec',\n 'filter',\n 'float',\n 'format',\n 'frozenset',\n 'getattr',\n 'globals',\n 'hasattr',\n 'hash',\n 'help',\n 'hex',\n 'id',\n 'input',\n 'int',\n 'isinstance',\n 'issubclass',\n 'iter',\n 'len',\n 'list',\n 'locals',\n 'map',\n 'max',\n 'memoryview',\n 'min',\n 'next',\n 'object',\n 'oct',\n 'open',\n 'ord',\n 'pow',\n 'print',\n 'property',\n 'range',\n 'repr',\n 'reversed',\n 'round',\n 'set',\n 'setattr',\n 'slice',\n 'sorted',\n 'staticmethod',\n 'str',\n 'sum',\n 'super',\n 'tuple',\n 'type',\n 'vars',\n 'zip'\n ];\n\n const LITERALS = [\n '__debug__',\n 'Ellipsis',\n 'False',\n 'None',\n 'NotImplemented',\n 'True'\n ];\n\n // https://docs.python.org/3/library/typing.html\n // TODO: Could these be supplemented by a CamelCase matcher in certain\n // contexts, leaving these remaining only for relevance hinting?\n const TYPES = [\n \"Any\",\n \"Callable\",\n \"Coroutine\",\n \"Dict\",\n \"List\",\n \"Literal\",\n \"Generic\",\n \"Optional\",\n \"Sequence\",\n \"Set\",\n \"Tuple\",\n \"Type\",\n \"Union\"\n ];\n\n const KEYWORDS = {\n $pattern: /[A-Za-z]\\w+|__\\w+__/,\n keyword: RESERVED_WORDS,\n built_in: BUILT_INS,\n literal: LITERALS,\n type: TYPES\n };\n\n const PROMPT = {\n className: 'meta',\n begin: /^(>>>|\\.\\.\\.) /\n };\n\n const SUBST = {\n className: 'subst',\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS,\n illegal: /#/\n };\n\n const LITERAL_BRACKET = {\n begin: /\\{\\{/,\n relevance: 0\n };\n\n const STRING = {\n className: 'string',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n variants: [\n {\n begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,\n end: /'''/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT\n ],\n relevance: 10\n },\n {\n begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?\"\"\"/,\n end: /\"\"\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT\n ],\n relevance: 10\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])'''/,\n end: /'''/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])\"\"\"/,\n end: /\"\"\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n {\n begin: /([uU]|[rR])'/,\n end: /'/,\n relevance: 10\n },\n {\n begin: /([uU]|[rR])\"/,\n end: /\"/,\n relevance: 10\n },\n {\n begin: /([bB]|[bB][rR]|[rR][bB])'/,\n end: /'/\n },\n {\n begin: /([bB]|[bB][rR]|[rR][bB])\"/,\n end: /\"/\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])'/,\n end: /'/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n };\n\n // https://docs.python.org/3.9/reference/lexical_analysis.html#numeric-literals\n const digitpart = '[0-9](_?[0-9])*';\n const pointfloat = `(\\\\b(${digitpart}))?\\\\.(${digitpart})|\\\\b(${digitpart})\\\\.`;\n // Whitespace after a number (or any lexical token) is needed only if its absence\n // would change the tokenization\n // https://docs.python.org/3.9/reference/lexical_analysis.html#whitespace-between-tokens\n // We deviate slightly, requiring a word boundary or a keyword\n // to avoid accidentally recognizing *prefixes* (e.g., `0` in `0x41` or `08` or `0__1`)\n const lookahead = `\\\\b|${RESERVED_WORDS.join('|')}`;\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n // exponentfloat, pointfloat\n // https://docs.python.org/3.9/reference/lexical_analysis.html#floating-point-literals\n // optionally imaginary\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n // Note: no leading \\b because floats can start with a decimal point\n // and we don't want to mishandle e.g. `fn(.5)`,\n // no trailing \\b for pointfloat because it can end with a decimal point\n // and we don't want to mishandle e.g. `0..hex()`; this should be safe\n // because both MUST contain a decimal point and so cannot be confused with\n // the interior part of an identifier\n {\n begin: `(\\\\b(${digitpart})|(${pointfloat}))[eE][+-]?(${digitpart})[jJ]?(?=${lookahead})`\n },\n {\n begin: `(${pointfloat})[jJ]?`\n },\n\n // decinteger, bininteger, octinteger, hexinteger\n // https://docs.python.org/3.9/reference/lexical_analysis.html#integer-literals\n // optionally \"long\" in Python 2\n // https://docs.python.org/2.7/reference/lexical_analysis.html#integer-and-long-integer-literals\n // decinteger is optionally imaginary\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n {\n begin: `\\\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${lookahead})`\n },\n {\n begin: `\\\\b0[bB](_?[01])+[lL]?(?=${lookahead})`\n },\n {\n begin: `\\\\b0[oO](_?[0-7])+[lL]?(?=${lookahead})`\n },\n {\n begin: `\\\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${lookahead})`\n },\n\n // imagnumber (digitpart-based)\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n {\n begin: `\\\\b(${digitpart})[jJ](?=${lookahead})`\n }\n ]\n };\n const COMMENT_TYPE = {\n className: \"comment\",\n begin: regex.lookahead(/# type:/),\n end: /$/,\n keywords: KEYWORDS,\n contains: [\n { // prevent keywords from coloring `type`\n begin: /# type:/\n },\n // comment within a datatype comment includes no keywords\n {\n begin: /#/,\n end: /\\b\\B/,\n endsWithParent: true\n }\n ]\n };\n const PARAMS = {\n className: 'params',\n variants: [\n // Exclude params in functions without params\n {\n className: \"\",\n begin: /\\(\\s*\\)/,\n skip: true\n },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n 'self',\n PROMPT,\n NUMBER,\n STRING,\n hljs.HASH_COMMENT_MODE\n ]\n }\n ]\n };\n SUBST.contains = [\n STRING,\n NUMBER,\n PROMPT\n ];\n\n return {\n name: 'Python',\n aliases: [\n 'py',\n 'gyp',\n 'ipython'\n ],\n unicodeRegex: true,\n keywords: KEYWORDS,\n illegal: /(<\\/|\\?)|=>/,\n contains: [\n PROMPT,\n NUMBER,\n {\n // very common convention\n scope: 'variable.language',\n match: /\\bself\\b/\n },\n {\n // eat \"if\" prior to string so that it won't accidentally be\n // labeled as an f-string\n beginKeywords: \"if\",\n relevance: 0\n },\n { match: /\\bor\\b/, scope: \"keyword\" },\n STRING,\n COMMENT_TYPE,\n hljs.HASH_COMMENT_MODE,\n {\n match: [\n /\\bdef/, /\\s+/,\n IDENT_RE,\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [ PARAMS ]\n },\n {\n variants: [\n {\n match: [\n /\\bclass/, /\\s+/,\n IDENT_RE, /\\s*/,\n /\\(\\s*/, IDENT_RE,/\\s*\\)/\n ],\n },\n {\n match: [\n /\\bclass/, /\\s+/,\n IDENT_RE\n ],\n }\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 6: \"title.class.inherited\",\n }\n },\n {\n className: 'meta',\n begin: /^[\\t ]*@/,\n end: /(?=#)|$/,\n contains: [\n NUMBER,\n PARAMS,\n STRING\n ]\n }\n ]\n };\n}\n\nexport { python as default };\n","/*\nLanguage: Python REPL\nRequires: python.js\nAuthor: Josh Goebel \nCategory: common\n*/\n\nfunction pythonRepl(hljs) {\n return {\n aliases: [ 'pycon' ],\n contains: [\n {\n className: 'meta.prompt',\n starts: {\n // a space separates the REPL prefix from the actual code\n // this is purely for cleaner HTML output\n end: / |$/,\n starts: {\n end: '$',\n subLanguage: 'python'\n }\n },\n variants: [\n { begin: /^>>>(?=[ ]|$)/ },\n { begin: /^\\.\\.\\.(?=[ ]|$)/ }\n ]\n }\n ]\n };\n}\n\nexport { pythonRepl as default };\n","/*\nLanguage: R\nDescription: R is a free software environment for statistical computing and graphics.\nAuthor: Joe Cheng \nContributors: Konrad Rudolph \nWebsite: https://www.r-project.org\nCategory: common,scientific\n*/\n\n/** @type LanguageFn */\nfunction r(hljs) {\n const regex = hljs.regex;\n // Identifiers in R cannot start with `_`, but they can start with `.` if it\n // is not immediately followed by a digit.\n // R also supports quoted identifiers, which are near-arbitrary sequences\n // delimited by backticks (`…`), which may contain escape sequences. These are\n // handled in a separate mode. See `test/markup/r/names.txt` for examples.\n // FIXME: Support Unicode identifiers.\n const IDENT_RE = /(?:(?:[a-zA-Z]|\\.[._a-zA-Z])[._a-zA-Z0-9]*)|\\.(?!\\d)/;\n const NUMBER_TYPES_RE = regex.either(\n // Special case: only hexadecimal binary powers can contain fractions\n /0[xX][0-9a-fA-F]+\\.[0-9a-fA-F]*[pP][+-]?\\d+i?/,\n // Hexadecimal numbers without fraction and optional binary power\n /0[xX][0-9a-fA-F]+(?:[pP][+-]?\\d+)?[Li]?/,\n // Decimal numbers\n /(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?[Li]?/\n );\n const OPERATORS_RE = /[=!<>:]=|\\|\\||&&|:::?|<-|<<-|->>|->|\\|>|[-+*\\/?!$&|:<=>@^~]|\\*\\*/;\n const PUNCTUATION_RE = regex.either(\n /[()]/,\n /[{}]/,\n /\\[\\[/,\n /[[\\]]/,\n /\\\\/,\n /,/\n );\n\n return {\n name: 'R',\n\n keywords: {\n $pattern: IDENT_RE,\n keyword:\n 'function if in break next repeat else for while',\n literal:\n 'NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 '\n + 'NA_character_|10 NA_complex_|10',\n built_in:\n // Builtin constants\n 'LETTERS letters month.abb month.name pi T F '\n // Primitive functions\n // These are all the functions in `base` that are implemented as a\n // `.Primitive`, minus those functions that are also keywords.\n + 'abs acos acosh all any anyNA Arg as.call as.character '\n + 'as.complex as.double as.environment as.integer as.logical '\n + 'as.null.default as.numeric as.raw asin asinh atan atanh attr '\n + 'attributes baseenv browser c call ceiling class Conj cos cosh '\n + 'cospi cummax cummin cumprod cumsum digamma dim dimnames '\n + 'emptyenv exp expression floor forceAndCall gamma gc.time '\n + 'globalenv Im interactive invisible is.array is.atomic is.call '\n + 'is.character is.complex is.double is.environment is.expression '\n + 'is.finite is.function is.infinite is.integer is.language '\n + 'is.list is.logical is.matrix is.na is.name is.nan is.null '\n + 'is.numeric is.object is.pairlist is.raw is.recursive is.single '\n + 'is.symbol lazyLoadDBfetch length lgamma list log max min '\n + 'missing Mod names nargs nzchar oldClass on.exit pos.to.env '\n + 'proc.time prod quote range Re rep retracemem return round '\n + 'seq_along seq_len seq.int sign signif sin sinh sinpi sqrt '\n + 'standardGeneric substitute sum switch tan tanh tanpi tracemem '\n + 'trigamma trunc unclass untracemem UseMethod xtfrm',\n },\n\n contains: [\n // Roxygen comments\n hljs.COMMENT(\n /#'/,\n /$/,\n { contains: [\n {\n // Handle `@examples` separately to cause all subsequent code\n // until the next `@`-tag on its own line to be kept as-is,\n // preventing highlighting. This code is example R code, so nested\n // doctags shouldn’t be treated as such. See\n // `test/markup/r/roxygen.txt` for an example.\n scope: 'doctag',\n match: /@examples/,\n starts: {\n end: regex.lookahead(regex.either(\n // end if another doc comment\n /\\n^#'\\s*(?=@[a-zA-Z]+)/,\n // or a line with no comment\n /\\n^(?!#')/\n )),\n endsParent: true\n }\n },\n {\n // Handle `@param` to highlight the parameter name following\n // after.\n scope: 'doctag',\n begin: '@param',\n end: /$/,\n contains: [\n {\n scope: 'variable',\n variants: [\n { match: IDENT_RE },\n { match: /`(?:\\\\.|[^`\\\\])+`/ }\n ],\n endsParent: true\n }\n ]\n },\n {\n scope: 'doctag',\n match: /@[a-zA-Z]+/\n },\n {\n scope: 'keyword',\n match: /\\\\[a-zA-Z]+/\n }\n ] }\n ),\n\n hljs.HASH_COMMENT_MODE,\n\n {\n scope: 'string',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n variants: [\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]\"(-*)\\(/,\n end: /\\)(-*)\"/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]\"(-*)\\{/,\n end: /\\}(-*)\"/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]\"(-*)\\[/,\n end: /\\](-*)\"/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]'(-*)\\(/,\n end: /\\)(-*)'/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]'(-*)\\{/,\n end: /\\}(-*)'/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]'(-*)\\[/,\n end: /\\](-*)'/\n }),\n {\n begin: '\"',\n end: '\"',\n relevance: 0\n },\n {\n begin: \"'\",\n end: \"'\",\n relevance: 0\n }\n ],\n },\n\n // Matching numbers immediately following punctuation and operators is\n // tricky since we need to look at the character ahead of a number to\n // ensure the number is not part of an identifier, and we cannot use\n // negative look-behind assertions. So instead we explicitly handle all\n // possible combinations of (operator|punctuation), number.\n // TODO: replace with negative look-behind when available\n // { begin: /(?\nContributors: Peter Leonov , Vasily Polovnyov , Loren Segal , Pascal Hurni , Cedric Sohrauer \nCategory: common, scripting\n*/\n\nfunction ruby(hljs) {\n const regex = hljs.regex;\n const RUBY_METHOD_RE = '([a-zA-Z_]\\\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~`|]|\\\\[\\\\]=?)';\n // TODO: move concepts like CAMEL_CASE into `modes.js`\n const CLASS_NAME_RE = regex.either(\n /\\b([A-Z]+[a-z0-9]+)+/,\n // ends in caps\n /\\b([A-Z]+[a-z0-9]+)+[A-Z]+/,\n )\n ;\n const CLASS_NAME_WITH_NAMESPACE_RE = regex.concat(CLASS_NAME_RE, /(::\\w+)*/);\n // very popular ruby built-ins that one might even assume\n // are actual keywords (despite that not being the case)\n const PSEUDO_KWS = [\n \"include\",\n \"extend\",\n \"prepend\",\n \"public\",\n \"private\",\n \"protected\",\n \"raise\",\n \"throw\"\n ];\n const RUBY_KEYWORDS = {\n \"variable.constant\": [\n \"__FILE__\",\n \"__LINE__\",\n \"__ENCODING__\"\n ],\n \"variable.language\": [\n \"self\",\n \"super\",\n ],\n keyword: [\n \"alias\",\n \"and\",\n \"begin\",\n \"BEGIN\",\n \"break\",\n \"case\",\n \"class\",\n \"defined\",\n \"do\",\n \"else\",\n \"elsif\",\n \"end\",\n \"END\",\n \"ensure\",\n \"for\",\n \"if\",\n \"in\",\n \"module\",\n \"next\",\n \"not\",\n \"or\",\n \"redo\",\n \"require\",\n \"rescue\",\n \"retry\",\n \"return\",\n \"then\",\n \"undef\",\n \"unless\",\n \"until\",\n \"when\",\n \"while\",\n \"yield\",\n ...PSEUDO_KWS\n ],\n built_in: [\n \"proc\",\n \"lambda\",\n \"attr_accessor\",\n \"attr_reader\",\n \"attr_writer\",\n \"define_method\",\n \"private_constant\",\n \"module_function\"\n ],\n literal: [\n \"true\",\n \"false\",\n \"nil\"\n ]\n };\n const YARDOCTAG = {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n };\n const IRB_OBJECT = {\n begin: '#<',\n end: '>'\n };\n const COMMENT_MODES = [\n hljs.COMMENT(\n '#',\n '$',\n { contains: [ YARDOCTAG ] }\n ),\n hljs.COMMENT(\n '^=begin',\n '^=end',\n {\n contains: [ YARDOCTAG ],\n relevance: 10\n }\n ),\n hljs.COMMENT('^__END__', hljs.MATCH_NOTHING_RE)\n ];\n const SUBST = {\n className: 'subst',\n begin: /#\\{/,\n end: /\\}/,\n keywords: RUBY_KEYWORDS\n };\n const STRING = {\n className: 'string',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n {\n begin: /`/,\n end: /`/\n },\n {\n begin: /%[qQwWx]?\\(/,\n end: /\\)/\n },\n {\n begin: /%[qQwWx]?\\[/,\n end: /\\]/\n },\n {\n begin: /%[qQwWx]?\\{/,\n end: /\\}/\n },\n {\n begin: /%[qQwWx]?/\n },\n {\n begin: /%[qQwWx]?\\//,\n end: /\\//\n },\n {\n begin: /%[qQwWx]?%/,\n end: /%/\n },\n {\n begin: /%[qQwWx]?-/,\n end: /-/\n },\n {\n begin: /%[qQwWx]?\\|/,\n end: /\\|/\n },\n // in the following expressions, \\B in the beginning suppresses recognition of ?-sequences\n // where ? is the last character of a preceding identifier, as in: `func?4`\n { begin: /\\B\\?(\\\\\\d{1,3})/ },\n { begin: /\\B\\?(\\\\x[A-Fa-f0-9]{1,2})/ },\n { begin: /\\B\\?(\\\\u\\{?[A-Fa-f0-9]{1,6}\\}?)/ },\n { begin: /\\B\\?(\\\\M-\\\\C-|\\\\M-\\\\c|\\\\c\\\\M-|\\\\M-|\\\\C-\\\\M-)[\\x20-\\x7e]/ },\n { begin: /\\B\\?\\\\(c|C-)[\\x20-\\x7e]/ },\n { begin: /\\B\\?\\\\?\\S/ },\n // heredocs\n {\n // this guard makes sure that we have an entire heredoc and not a false\n // positive (auto-detect, etc.)\n begin: regex.concat(\n /<<[-~]?'?/,\n regex.lookahead(/(\\w+)(?=\\W)[^\\n]*\\n(?:[^\\n]*\\n)*?\\s*\\1\\b/)\n ),\n contains: [\n hljs.END_SAME_AS_BEGIN({\n begin: /(\\w+)/,\n end: /(\\w+)/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n })\n ]\n }\n ]\n };\n\n // Ruby syntax is underdocumented, but this grammar seems to be accurate\n // as of version 2.7.2 (confirmed with (irb and `Ripper.sexp(...)`)\n // https://docs.ruby-lang.org/en/2.7.0/doc/syntax/literals_rdoc.html#label-Numbers\n const decimal = '[1-9](_?[0-9])*|0';\n const digits = '[0-9](_?[0-9])*';\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n // decimal integer/float, optionally exponential or rational, optionally imaginary\n { begin: `\\\\b(${decimal})(\\\\.(${digits}))?([eE][+-]?(${digits})|r)?i?\\\\b` },\n\n // explicit decimal/binary/octal/hexadecimal integer,\n // optionally rational and/or imaginary\n { begin: \"\\\\b0[dD][0-9](_?[0-9])*r?i?\\\\b\" },\n { begin: \"\\\\b0[bB][0-1](_?[0-1])*r?i?\\\\b\" },\n { begin: \"\\\\b0[oO][0-7](_?[0-7])*r?i?\\\\b\" },\n { begin: \"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\\\b\" },\n\n // 0-prefixed implicit octal integer, optionally rational and/or imaginary\n { begin: \"\\\\b0(_?[0-7])+r?i?\\\\b\" }\n ]\n };\n\n const PARAMS = {\n variants: [\n {\n match: /\\(\\)/,\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /(?=\\))/,\n excludeBegin: true,\n endsParent: true,\n keywords: RUBY_KEYWORDS,\n }\n ]\n };\n\n const INCLUDE_EXTEND = {\n match: [\n /(include|extend)\\s+/,\n CLASS_NAME_WITH_NAMESPACE_RE\n ],\n scope: {\n 2: \"title.class\"\n },\n keywords: RUBY_KEYWORDS\n };\n\n const CLASS_DEFINITION = {\n variants: [\n {\n match: [\n /class\\s+/,\n CLASS_NAME_WITH_NAMESPACE_RE,\n /\\s+<\\s+/,\n CLASS_NAME_WITH_NAMESPACE_RE\n ]\n },\n {\n match: [\n /\\b(class|module)\\s+/,\n CLASS_NAME_WITH_NAMESPACE_RE\n ]\n }\n ],\n scope: {\n 2: \"title.class\",\n 4: \"title.class.inherited\"\n },\n keywords: RUBY_KEYWORDS\n };\n\n const UPPER_CASE_CONSTANT = {\n relevance: 0,\n match: /\\b[A-Z][A-Z_0-9]+\\b/,\n className: \"variable.constant\"\n };\n\n const METHOD_DEFINITION = {\n match: [\n /def/, /\\s+/,\n RUBY_METHOD_RE\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n PARAMS\n ]\n };\n\n const OBJECT_CREATION = {\n relevance: 0,\n match: [\n CLASS_NAME_WITH_NAMESPACE_RE,\n /\\.new[. (]/\n ],\n scope: {\n 1: \"title.class\"\n }\n };\n\n // CamelCase\n const CLASS_REFERENCE = {\n relevance: 0,\n match: CLASS_NAME_RE,\n scope: \"title.class\"\n };\n\n const RUBY_DEFAULT_CONTAINS = [\n STRING,\n CLASS_DEFINITION,\n INCLUDE_EXTEND,\n OBJECT_CREATION,\n UPPER_CASE_CONSTANT,\n CLASS_REFERENCE,\n METHOD_DEFINITION,\n {\n // swallow namespace qualifiers before symbols\n begin: hljs.IDENT_RE + '::' },\n {\n className: 'symbol',\n begin: hljs.UNDERSCORE_IDENT_RE + '(!|\\\\?)?:',\n relevance: 0\n },\n {\n className: 'symbol',\n begin: ':(?!\\\\s)',\n contains: [\n STRING,\n { begin: RUBY_METHOD_RE }\n ],\n relevance: 0\n },\n NUMBER,\n {\n // negative-look forward attempts to prevent false matches like:\n // @ident@ or $ident$ that might indicate this is not ruby at all\n className: \"variable\",\n begin: '(\\\\$\\\\W)|((\\\\$|@@?)(\\\\w+))(?=[^@$?])' + `(?![A-Za-z])(?![@$?'])`\n },\n {\n className: 'params',\n begin: /\\|(?!=)/,\n end: /\\|/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0, // this could be a lot of things (in other languages) other than params\n keywords: RUBY_KEYWORDS\n },\n { // regexp container\n begin: '(' + hljs.RE_STARTERS_RE + '|unless)\\\\s*',\n keywords: 'unless',\n contains: [\n {\n className: 'regexp',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n illegal: /\\n/,\n variants: [\n {\n begin: '/',\n end: '/[a-z]*'\n },\n {\n begin: /%r\\{/,\n end: /\\}[a-z]*/\n },\n {\n begin: '%r\\\\(',\n end: '\\\\)[a-z]*'\n },\n {\n begin: '%r!',\n end: '![a-z]*'\n },\n {\n begin: '%r\\\\[',\n end: '\\\\][a-z]*'\n }\n ]\n }\n ].concat(IRB_OBJECT, COMMENT_MODES),\n relevance: 0\n }\n ].concat(IRB_OBJECT, COMMENT_MODES);\n\n SUBST.contains = RUBY_DEFAULT_CONTAINS;\n PARAMS.contains = RUBY_DEFAULT_CONTAINS;\n\n // >>\n // ?>\n const SIMPLE_PROMPT = \"[>?]>\";\n // irb(main):001:0>\n const DEFAULT_PROMPT = \"[\\\\w#]+\\\\(\\\\w+\\\\):\\\\d+:\\\\d+[>*]\";\n const RVM_PROMPT = \"(\\\\w+-)?\\\\d+\\\\.\\\\d+\\\\.\\\\d+(p\\\\d+)?[^\\\\d][^>]+>\";\n\n const IRB_DEFAULT = [\n {\n begin: /^\\s*=>/,\n starts: {\n end: '$',\n contains: RUBY_DEFAULT_CONTAINS\n }\n },\n {\n className: 'meta.prompt',\n begin: '^(' + SIMPLE_PROMPT + \"|\" + DEFAULT_PROMPT + '|' + RVM_PROMPT + ')(?=[ ])',\n starts: {\n end: '$',\n keywords: RUBY_KEYWORDS,\n contains: RUBY_DEFAULT_CONTAINS\n }\n }\n ];\n\n COMMENT_MODES.unshift(IRB_OBJECT);\n\n return {\n name: 'Ruby',\n aliases: [\n 'rb',\n 'gemspec',\n 'podspec',\n 'thor',\n 'irb'\n ],\n keywords: RUBY_KEYWORDS,\n illegal: /\\/\\*/,\n contains: [ hljs.SHEBANG({ binary: \"ruby\" }) ]\n .concat(IRB_DEFAULT)\n .concat(COMMENT_MODES)\n .concat(RUBY_DEFAULT_CONTAINS)\n };\n}\n\nexport { ruby as default };\n","/*\nLanguage: Rust\nAuthor: Andrey Vlasovskikh \nContributors: Roman Shmatov , Kasper Andersen \nWebsite: https://www.rust-lang.org\nCategory: common, system\n*/\n\n/** @type LanguageFn */\n\nfunction rust(hljs) {\n const regex = hljs.regex;\n // ============================================\n // Added to support the r# keyword, which is a raw identifier in Rust.\n const RAW_IDENTIFIER = /(r#)?/;\n const UNDERSCORE_IDENT_RE = regex.concat(RAW_IDENTIFIER, hljs.UNDERSCORE_IDENT_RE);\n const IDENT_RE = regex.concat(RAW_IDENTIFIER, hljs.IDENT_RE);\n // ============================================\n const FUNCTION_INVOKE = {\n className: \"title.function.invoke\",\n relevance: 0,\n begin: regex.concat(\n /\\b/,\n /(?!let|for|while|if|else|match\\b)/,\n IDENT_RE,\n regex.lookahead(/\\s*\\(/))\n };\n const NUMBER_SUFFIX = '([ui](8|16|32|64|128|size)|f(32|64))\\?';\n const KEYWORDS = [\n \"abstract\",\n \"as\",\n \"async\",\n \"await\",\n \"become\",\n \"box\",\n \"break\",\n \"const\",\n \"continue\",\n \"crate\",\n \"do\",\n \"dyn\",\n \"else\",\n \"enum\",\n \"extern\",\n \"false\",\n \"final\",\n \"fn\",\n \"for\",\n \"if\",\n \"impl\",\n \"in\",\n \"let\",\n \"loop\",\n \"macro\",\n \"match\",\n \"mod\",\n \"move\",\n \"mut\",\n \"override\",\n \"priv\",\n \"pub\",\n \"ref\",\n \"return\",\n \"self\",\n \"Self\",\n \"static\",\n \"struct\",\n \"super\",\n \"trait\",\n \"true\",\n \"try\",\n \"type\",\n \"typeof\",\n \"union\",\n \"unsafe\",\n \"unsized\",\n \"use\",\n \"virtual\",\n \"where\",\n \"while\",\n \"yield\"\n ];\n const LITERALS = [\n \"true\",\n \"false\",\n \"Some\",\n \"None\",\n \"Ok\",\n \"Err\"\n ];\n const BUILTINS = [\n // functions\n 'drop ',\n // traits\n \"Copy\",\n \"Send\",\n \"Sized\",\n \"Sync\",\n \"Drop\",\n \"Fn\",\n \"FnMut\",\n \"FnOnce\",\n \"ToOwned\",\n \"Clone\",\n \"Debug\",\n \"PartialEq\",\n \"PartialOrd\",\n \"Eq\",\n \"Ord\",\n \"AsRef\",\n \"AsMut\",\n \"Into\",\n \"From\",\n \"Default\",\n \"Iterator\",\n \"Extend\",\n \"IntoIterator\",\n \"DoubleEndedIterator\",\n \"ExactSizeIterator\",\n \"SliceConcatExt\",\n \"ToString\",\n // macros\n \"assert!\",\n \"assert_eq!\",\n \"bitflags!\",\n \"bytes!\",\n \"cfg!\",\n \"col!\",\n \"concat!\",\n \"concat_idents!\",\n \"debug_assert!\",\n \"debug_assert_eq!\",\n \"env!\",\n \"eprintln!\",\n \"panic!\",\n \"file!\",\n \"format!\",\n \"format_args!\",\n \"include_bytes!\",\n \"include_str!\",\n \"line!\",\n \"local_data_key!\",\n \"module_path!\",\n \"option_env!\",\n \"print!\",\n \"println!\",\n \"select!\",\n \"stringify!\",\n \"try!\",\n \"unimplemented!\",\n \"unreachable!\",\n \"vec!\",\n \"write!\",\n \"writeln!\",\n \"macro_rules!\",\n \"assert_ne!\",\n \"debug_assert_ne!\"\n ];\n const TYPES = [\n \"i8\",\n \"i16\",\n \"i32\",\n \"i64\",\n \"i128\",\n \"isize\",\n \"u8\",\n \"u16\",\n \"u32\",\n \"u64\",\n \"u128\",\n \"usize\",\n \"f32\",\n \"f64\",\n \"str\",\n \"char\",\n \"bool\",\n \"Box\",\n \"Option\",\n \"Result\",\n \"String\",\n \"Vec\"\n ];\n return {\n name: 'Rust',\n aliases: [ 'rs' ],\n keywords: {\n $pattern: hljs.IDENT_RE + '!?',\n type: TYPES,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: BUILTINS\n },\n illegal: ''\n },\n FUNCTION_INVOKE\n ]\n };\n}\n\nexport { rust as default };\n","const MODES = (hljs) => {\n return {\n IMPORTANT: {\n scope: 'meta',\n begin: '!important'\n },\n BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,\n HEXCOLOR: {\n scope: 'number',\n begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/\n },\n FUNCTION_DISPATCH: {\n className: \"built_in\",\n begin: /[\\w-]+(?=\\()/\n },\n ATTRIBUTE_SELECTOR_MODE: {\n scope: 'selector-attr',\n begin: /\\[/,\n end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n },\n CSS_NUMBER_MODE: {\n scope: 'number',\n begin: hljs.NUMBER_RE + '(' +\n '%|em|ex|ch|rem' +\n '|vw|vh|vmin|vmax' +\n '|cm|mm|in|pt|pc|px' +\n '|deg|grad|rad|turn' +\n '|s|ms' +\n '|Hz|kHz' +\n '|dpi|dpcm|dppx' +\n ')?',\n relevance: 0\n },\n CSS_VARIABLE: {\n className: \"attr\",\n begin: /--[A-Za-z_][A-Za-z0-9_-]*/\n }\n };\n};\n\nconst HTML_TAGS = [\n 'a',\n 'abbr',\n 'address',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'blockquote',\n 'body',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'header',\n 'hgroup',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'label',\n 'legend',\n 'li',\n 'main',\n 'mark',\n 'menu',\n 'nav',\n 'object',\n 'ol',\n 'optgroup',\n 'option',\n 'p',\n 'picture',\n 'q',\n 'quote',\n 'samp',\n 'section',\n 'select',\n 'source',\n 'span',\n 'strong',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'tr',\n 'ul',\n 'var',\n 'video'\n];\n\nconst SVG_TAGS = [\n 'defs',\n 'g',\n 'marker',\n 'mask',\n 'pattern',\n 'svg',\n 'switch',\n 'symbol',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feFlood',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMorphology',\n 'feOffset',\n 'feSpecularLighting',\n 'feTile',\n 'feTurbulence',\n 'linearGradient',\n 'radialGradient',\n 'stop',\n 'circle',\n 'ellipse',\n 'image',\n 'line',\n 'path',\n 'polygon',\n 'polyline',\n 'rect',\n 'text',\n 'use',\n 'textPath',\n 'tspan',\n 'foreignObject',\n 'clipPath'\n];\n\nconst TAGS = [\n ...HTML_TAGS,\n ...SVG_TAGS,\n];\n\n// Sorting, then reversing makes sure longer attributes/elements like\n// `font-weight` are matched fully instead of getting false positives on say `font`\n\nconst MEDIA_FEATURES = [\n 'any-hover',\n 'any-pointer',\n 'aspect-ratio',\n 'color',\n 'color-gamut',\n 'color-index',\n 'device-aspect-ratio',\n 'device-height',\n 'device-width',\n 'display-mode',\n 'forced-colors',\n 'grid',\n 'height',\n 'hover',\n 'inverted-colors',\n 'monochrome',\n 'orientation',\n 'overflow-block',\n 'overflow-inline',\n 'pointer',\n 'prefers-color-scheme',\n 'prefers-contrast',\n 'prefers-reduced-motion',\n 'prefers-reduced-transparency',\n 'resolution',\n 'scan',\n 'scripting',\n 'update',\n 'width',\n // TODO: find a better solution?\n 'min-width',\n 'max-width',\n 'min-height',\n 'max-height'\n].sort().reverse();\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes\nconst PSEUDO_CLASSES = [\n 'active',\n 'any-link',\n 'blank',\n 'checked',\n 'current',\n 'default',\n 'defined',\n 'dir', // dir()\n 'disabled',\n 'drop',\n 'empty',\n 'enabled',\n 'first',\n 'first-child',\n 'first-of-type',\n 'fullscreen',\n 'future',\n 'focus',\n 'focus-visible',\n 'focus-within',\n 'has', // has()\n 'host', // host or host()\n 'host-context', // host-context()\n 'hover',\n 'indeterminate',\n 'in-range',\n 'invalid',\n 'is', // is()\n 'lang', // lang()\n 'last-child',\n 'last-of-type',\n 'left',\n 'link',\n 'local-link',\n 'not', // not()\n 'nth-child', // nth-child()\n 'nth-col', // nth-col()\n 'nth-last-child', // nth-last-child()\n 'nth-last-col', // nth-last-col()\n 'nth-last-of-type', //nth-last-of-type()\n 'nth-of-type', //nth-of-type()\n 'only-child',\n 'only-of-type',\n 'optional',\n 'out-of-range',\n 'past',\n 'placeholder-shown',\n 'read-only',\n 'read-write',\n 'required',\n 'right',\n 'root',\n 'scope',\n 'target',\n 'target-within',\n 'user-invalid',\n 'valid',\n 'visited',\n 'where' // where()\n].sort().reverse();\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements\nconst PSEUDO_ELEMENTS = [\n 'after',\n 'backdrop',\n 'before',\n 'cue',\n 'cue-region',\n 'first-letter',\n 'first-line',\n 'grammar-error',\n 'marker',\n 'part',\n 'placeholder',\n 'selection',\n 'slotted',\n 'spelling-error'\n].sort().reverse();\n\nconst ATTRIBUTES = [\n 'accent-color',\n 'align-content',\n 'align-items',\n 'align-self',\n 'alignment-baseline',\n 'all',\n 'anchor-name',\n 'animation',\n 'animation-composition',\n 'animation-delay',\n 'animation-direction',\n 'animation-duration',\n 'animation-fill-mode',\n 'animation-iteration-count',\n 'animation-name',\n 'animation-play-state',\n 'animation-range',\n 'animation-range-end',\n 'animation-range-start',\n 'animation-timeline',\n 'animation-timing-function',\n 'appearance',\n 'aspect-ratio',\n 'backdrop-filter',\n 'backface-visibility',\n 'background',\n 'background-attachment',\n 'background-blend-mode',\n 'background-clip',\n 'background-color',\n 'background-image',\n 'background-origin',\n 'background-position',\n 'background-position-x',\n 'background-position-y',\n 'background-repeat',\n 'background-size',\n 'baseline-shift',\n 'block-size',\n 'border',\n 'border-block',\n 'border-block-color',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-style',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-style',\n 'border-block-start-width',\n 'border-block-style',\n 'border-block-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-style',\n 'border-bottom-width',\n 'border-collapse',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image',\n 'border-image-outset',\n 'border-image-repeat',\n 'border-image-slice',\n 'border-image-source',\n 'border-image-width',\n 'border-inline',\n 'border-inline-color',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-style',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-style',\n 'border-inline-start-width',\n 'border-inline-style',\n 'border-inline-width',\n 'border-left',\n 'border-left-color',\n 'border-left-style',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-style',\n 'border-right-width',\n 'border-spacing',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-style',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-style',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-align',\n 'box-decoration-break',\n 'box-direction',\n 'box-flex',\n 'box-flex-group',\n 'box-lines',\n 'box-ordinal-group',\n 'box-orient',\n 'box-pack',\n 'box-shadow',\n 'box-sizing',\n 'break-after',\n 'break-before',\n 'break-inside',\n 'caption-side',\n 'caret-color',\n 'clear',\n 'clip',\n 'clip-path',\n 'clip-rule',\n 'color',\n 'color-interpolation',\n 'color-interpolation-filters',\n 'color-profile',\n 'color-rendering',\n 'color-scheme',\n 'column-count',\n 'column-fill',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-style',\n 'column-rule-width',\n 'column-span',\n 'column-width',\n 'columns',\n 'contain',\n 'contain-intrinsic-block-size',\n 'contain-intrinsic-height',\n 'contain-intrinsic-inline-size',\n 'contain-intrinsic-size',\n 'contain-intrinsic-width',\n 'container',\n 'container-name',\n 'container-type',\n 'content',\n 'content-visibility',\n 'counter-increment',\n 'counter-reset',\n 'counter-set',\n 'cue',\n 'cue-after',\n 'cue-before',\n 'cursor',\n 'cx',\n 'cy',\n 'direction',\n 'display',\n 'dominant-baseline',\n 'empty-cells',\n 'enable-background',\n 'field-sizing',\n 'fill',\n 'fill-opacity',\n 'fill-rule',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-direction',\n 'flex-flow',\n 'flex-grow',\n 'flex-shrink',\n 'flex-wrap',\n 'float',\n 'flood-color',\n 'flood-opacity',\n 'flow',\n 'font',\n 'font-display',\n 'font-family',\n 'font-feature-settings',\n 'font-kerning',\n 'font-language-override',\n 'font-optical-sizing',\n 'font-palette',\n 'font-size',\n 'font-size-adjust',\n 'font-smooth',\n 'font-smoothing',\n 'font-stretch',\n 'font-style',\n 'font-synthesis',\n 'font-synthesis-position',\n 'font-synthesis-small-caps',\n 'font-synthesis-style',\n 'font-synthesis-weight',\n 'font-variant',\n 'font-variant-alternates',\n 'font-variant-caps',\n 'font-variant-east-asian',\n 'font-variant-emoji',\n 'font-variant-ligatures',\n 'font-variant-numeric',\n 'font-variant-position',\n 'font-variation-settings',\n 'font-weight',\n 'forced-color-adjust',\n 'gap',\n 'glyph-orientation-horizontal',\n 'glyph-orientation-vertical',\n 'grid',\n 'grid-area',\n 'grid-auto-columns',\n 'grid-auto-flow',\n 'grid-auto-rows',\n 'grid-column',\n 'grid-column-end',\n 'grid-column-start',\n 'grid-gap',\n 'grid-row',\n 'grid-row-end',\n 'grid-row-start',\n 'grid-template',\n 'grid-template-areas',\n 'grid-template-columns',\n 'grid-template-rows',\n 'hanging-punctuation',\n 'height',\n 'hyphenate-character',\n 'hyphenate-limit-chars',\n 'hyphens',\n 'icon',\n 'image-orientation',\n 'image-rendering',\n 'image-resolution',\n 'ime-mode',\n 'initial-letter',\n 'initial-letter-align',\n 'inline-size',\n 'inset',\n 'inset-area',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'isolation',\n 'justify-content',\n 'justify-items',\n 'justify-self',\n 'kerning',\n 'left',\n 'letter-spacing',\n 'lighting-color',\n 'line-break',\n 'line-height',\n 'line-height-step',\n 'list-style',\n 'list-style-image',\n 'list-style-position',\n 'list-style-type',\n 'margin',\n 'margin-block',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'margin-trim',\n 'marker',\n 'marker-end',\n 'marker-mid',\n 'marker-start',\n 'marks',\n 'mask',\n 'mask-border',\n 'mask-border-mode',\n 'mask-border-outset',\n 'mask-border-repeat',\n 'mask-border-slice',\n 'mask-border-source',\n 'mask-border-width',\n 'mask-clip',\n 'mask-composite',\n 'mask-image',\n 'mask-mode',\n 'mask-origin',\n 'mask-position',\n 'mask-repeat',\n 'mask-size',\n 'mask-type',\n 'masonry-auto-flow',\n 'math-depth',\n 'math-shift',\n 'math-style',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'mix-blend-mode',\n 'nav-down',\n 'nav-index',\n 'nav-left',\n 'nav-right',\n 'nav-up',\n 'none',\n 'normal',\n 'object-fit',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'orphans',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-style',\n 'outline-width',\n 'overflow',\n 'overflow-anchor',\n 'overflow-block',\n 'overflow-clip-margin',\n 'overflow-inline',\n 'overflow-wrap',\n 'overflow-x',\n 'overflow-y',\n 'overlay',\n 'overscroll-behavior',\n 'overscroll-behavior-block',\n 'overscroll-behavior-inline',\n 'overscroll-behavior-x',\n 'overscroll-behavior-y',\n 'padding',\n 'padding-block',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'page',\n 'page-break-after',\n 'page-break-before',\n 'page-break-inside',\n 'paint-order',\n 'pause',\n 'pause-after',\n 'pause-before',\n 'perspective',\n 'perspective-origin',\n 'place-content',\n 'place-items',\n 'place-self',\n 'pointer-events',\n 'position',\n 'position-anchor',\n 'position-visibility',\n 'print-color-adjust',\n 'quotes',\n 'r',\n 'resize',\n 'rest',\n 'rest-after',\n 'rest-before',\n 'right',\n 'rotate',\n 'row-gap',\n 'ruby-align',\n 'ruby-position',\n 'scale',\n 'scroll-behavior',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-align',\n 'scroll-snap-stop',\n 'scroll-snap-type',\n 'scroll-timeline',\n 'scroll-timeline-axis',\n 'scroll-timeline-name',\n 'scrollbar-color',\n 'scrollbar-gutter',\n 'scrollbar-width',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'shape-rendering',\n 'speak',\n 'speak-as',\n 'src', // @font-face\n 'stop-color',\n 'stop-opacity',\n 'stroke',\n 'stroke-dasharray',\n 'stroke-dashoffset',\n 'stroke-linecap',\n 'stroke-linejoin',\n 'stroke-miterlimit',\n 'stroke-opacity',\n 'stroke-width',\n 'tab-size',\n 'table-layout',\n 'text-align',\n 'text-align-all',\n 'text-align-last',\n 'text-anchor',\n 'text-combine-upright',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-line',\n 'text-decoration-skip',\n 'text-decoration-skip-ink',\n 'text-decoration-style',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-emphasis-position',\n 'text-emphasis-style',\n 'text-indent',\n 'text-justify',\n 'text-orientation',\n 'text-overflow',\n 'text-rendering',\n 'text-shadow',\n 'text-size-adjust',\n 'text-transform',\n 'text-underline-offset',\n 'text-underline-position',\n 'text-wrap',\n 'text-wrap-mode',\n 'text-wrap-style',\n 'timeline-scope',\n 'top',\n 'touch-action',\n 'transform',\n 'transform-box',\n 'transform-origin',\n 'transform-style',\n 'transition',\n 'transition-behavior',\n 'transition-delay',\n 'transition-duration',\n 'transition-property',\n 'transition-timing-function',\n 'translate',\n 'unicode-bidi',\n 'user-modify',\n 'user-select',\n 'vector-effect',\n 'vertical-align',\n 'view-timeline',\n 'view-timeline-axis',\n 'view-timeline-inset',\n 'view-timeline-name',\n 'view-transition-name',\n 'visibility',\n 'voice-balance',\n 'voice-duration',\n 'voice-family',\n 'voice-pitch',\n 'voice-range',\n 'voice-rate',\n 'voice-stress',\n 'voice-volume',\n 'white-space',\n 'white-space-collapse',\n 'widows',\n 'width',\n 'will-change',\n 'word-break',\n 'word-spacing',\n 'word-wrap',\n 'writing-mode',\n 'x',\n 'y',\n 'z-index',\n 'zoom'\n].sort().reverse();\n\n/*\nLanguage: SCSS\nDescription: Scss is an extension of the syntax of CSS.\nAuthor: Kurt Emch \nWebsite: https://sass-lang.com\nCategory: common, css, web\n*/\n\n\n/** @type LanguageFn */\nfunction scss(hljs) {\n const modes = MODES(hljs);\n const PSEUDO_ELEMENTS$1 = PSEUDO_ELEMENTS;\n const PSEUDO_CLASSES$1 = PSEUDO_CLASSES;\n\n const AT_IDENTIFIER = '@[a-z-]+'; // @font-face\n const AT_MODIFIERS = \"and or not only\";\n const IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n const VARIABLE = {\n className: 'variable',\n begin: '(\\\\$' + IDENT_RE + ')\\\\b',\n relevance: 0\n };\n\n return {\n name: 'SCSS',\n case_insensitive: true,\n illegal: '[=/|\\']',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n // to recognize keyframe 40% etc which are outside the scope of our\n // attribute value mode\n modes.CSS_NUMBER_MODE,\n {\n className: 'selector-id',\n begin: '#[A-Za-z0-9_-]+',\n relevance: 0\n },\n {\n className: 'selector-class',\n begin: '\\\\.[A-Za-z0-9_-]+',\n relevance: 0\n },\n modes.ATTRIBUTE_SELECTOR_MODE,\n {\n className: 'selector-tag',\n begin: '\\\\b(' + TAGS.join('|') + ')\\\\b',\n // was there, before, but why?\n relevance: 0\n },\n {\n className: 'selector-pseudo',\n begin: ':(' + PSEUDO_CLASSES$1.join('|') + ')'\n },\n {\n className: 'selector-pseudo',\n begin: ':(:)?(' + PSEUDO_ELEMENTS$1.join('|') + ')'\n },\n VARIABLE,\n { // pseudo-selector params\n begin: /\\(/,\n end: /\\)/,\n contains: [ modes.CSS_NUMBER_MODE ]\n },\n modes.CSS_VARIABLE,\n {\n className: 'attribute',\n begin: '\\\\b(' + ATTRIBUTES.join('|') + ')\\\\b'\n },\n { begin: '\\\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\\\b' },\n {\n begin: /:/,\n end: /[;}{]/,\n relevance: 0,\n contains: [\n modes.BLOCK_COMMENT,\n VARIABLE,\n modes.HEXCOLOR,\n modes.CSS_NUMBER_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n modes.IMPORTANT,\n modes.FUNCTION_DISPATCH\n ]\n },\n // matching these here allows us to treat them more like regular CSS\n // rules so everything between the {} gets regular rule highlighting,\n // which is what we want for page and font-face\n {\n begin: '@(page|font-face)',\n keywords: {\n $pattern: AT_IDENTIFIER,\n keyword: '@page @font-face'\n }\n },\n {\n begin: '@',\n end: '[{;]',\n returnBegin: true,\n keywords: {\n $pattern: /[a-z-]+/,\n keyword: AT_MODIFIERS,\n attribute: MEDIA_FEATURES.join(\" \")\n },\n contains: [\n {\n begin: AT_IDENTIFIER,\n className: \"keyword\"\n },\n {\n begin: /[a-z-]+(?=:)/,\n className: \"attribute\"\n },\n VARIABLE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n modes.HEXCOLOR,\n modes.CSS_NUMBER_MODE\n ]\n },\n modes.FUNCTION_DISPATCH\n ]\n };\n}\n\nexport { scss as default };\n","/*\nLanguage: Shell Session\nRequires: bash.js\nAuthor: TSUYUSATO Kitsune \nCategory: common\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction shell(hljs) {\n return {\n name: 'Shell Session',\n aliases: [\n 'console',\n 'shellsession'\n ],\n contains: [\n {\n className: 'meta.prompt',\n // We cannot add \\s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.\n // For instance, in the following example, it would match \"echo /path/to/home >\" as a prompt:\n // echo /path/to/home > t.exe\n begin: /^\\s{0,3}[/~\\w\\d[\\]()@-]*[>%$#][ ]?/,\n starts: {\n end: /[^\\\\](?=\\s*$)/,\n subLanguage: 'bash'\n }\n }\n ]\n };\n}\n\nexport { shell as default };\n","/*\n Language: SQL\n Website: https://en.wikipedia.org/wiki/SQL\n Category: common, database\n */\n\n/*\n\nGoals:\n\nSQL is intended to highlight basic/common SQL keywords and expressions\n\n- If pretty much every single SQL server includes supports, then it's a canidate.\n- It is NOT intended to include tons of vendor specific keywords (Oracle, MySQL,\n PostgreSQL) although the list of data types is purposely a bit more expansive.\n- For more specific SQL grammars please see:\n - PostgreSQL and PL/pgSQL - core\n - T-SQL - https://github.com/highlightjs/highlightjs-tsql\n - sql_more (core)\n\n */\n\nfunction sql(hljs) {\n const regex = hljs.regex;\n const COMMENT_MODE = hljs.COMMENT('--', '$');\n const STRING = {\n scope: 'string',\n variants: [\n {\n begin: /'/,\n end: /'/,\n contains: [ { match: /''/ } ]\n }\n ]\n };\n const QUOTED_IDENTIFIER = {\n begin: /\"/,\n end: /\"/,\n contains: [ { match: /\"\"/ } ]\n };\n\n const LITERALS = [\n \"true\",\n \"false\",\n // Not sure it's correct to call NULL literal, and clauses like IS [NOT] NULL look strange that way.\n // \"null\",\n \"unknown\"\n ];\n\n const MULTI_WORD_TYPES = [\n \"double precision\",\n \"large object\",\n \"with timezone\",\n \"without timezone\"\n ];\n\n const TYPES = [\n 'bigint',\n 'binary',\n 'blob',\n 'boolean',\n 'char',\n 'character',\n 'clob',\n 'date',\n 'dec',\n 'decfloat',\n 'decimal',\n 'float',\n 'int',\n 'integer',\n 'interval',\n 'nchar',\n 'nclob',\n 'national',\n 'numeric',\n 'real',\n 'row',\n 'smallint',\n 'time',\n 'timestamp',\n 'varchar',\n 'varying', // modifier (character varying)\n 'varbinary'\n ];\n\n const NON_RESERVED_WORDS = [\n \"add\",\n \"asc\",\n \"collation\",\n \"desc\",\n \"final\",\n \"first\",\n \"last\",\n \"view\"\n ];\n\n // https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#reserved-word\n const RESERVED_WORDS = [\n \"abs\",\n \"acos\",\n \"all\",\n \"allocate\",\n \"alter\",\n \"and\",\n \"any\",\n \"are\",\n \"array\",\n \"array_agg\",\n \"array_max_cardinality\",\n \"as\",\n \"asensitive\",\n \"asin\",\n \"asymmetric\",\n \"at\",\n \"atan\",\n \"atomic\",\n \"authorization\",\n \"avg\",\n \"begin\",\n \"begin_frame\",\n \"begin_partition\",\n \"between\",\n \"bigint\",\n \"binary\",\n \"blob\",\n \"boolean\",\n \"both\",\n \"by\",\n \"call\",\n \"called\",\n \"cardinality\",\n \"cascaded\",\n \"case\",\n \"cast\",\n \"ceil\",\n \"ceiling\",\n \"char\",\n \"char_length\",\n \"character\",\n \"character_length\",\n \"check\",\n \"classifier\",\n \"clob\",\n \"close\",\n \"coalesce\",\n \"collate\",\n \"collect\",\n \"column\",\n \"commit\",\n \"condition\",\n \"connect\",\n \"constraint\",\n \"contains\",\n \"convert\",\n \"copy\",\n \"corr\",\n \"corresponding\",\n \"cos\",\n \"cosh\",\n \"count\",\n \"covar_pop\",\n \"covar_samp\",\n \"create\",\n \"cross\",\n \"cube\",\n \"cume_dist\",\n \"current\",\n \"current_catalog\",\n \"current_date\",\n \"current_default_transform_group\",\n \"current_path\",\n \"current_role\",\n \"current_row\",\n \"current_schema\",\n \"current_time\",\n \"current_timestamp\",\n \"current_path\",\n \"current_role\",\n \"current_transform_group_for_type\",\n \"current_user\",\n \"cursor\",\n \"cycle\",\n \"date\",\n \"day\",\n \"deallocate\",\n \"dec\",\n \"decimal\",\n \"decfloat\",\n \"declare\",\n \"default\",\n \"define\",\n \"delete\",\n \"dense_rank\",\n \"deref\",\n \"describe\",\n \"deterministic\",\n \"disconnect\",\n \"distinct\",\n \"double\",\n \"drop\",\n \"dynamic\",\n \"each\",\n \"element\",\n \"else\",\n \"empty\",\n \"end\",\n \"end_frame\",\n \"end_partition\",\n \"end-exec\",\n \"equals\",\n \"escape\",\n \"every\",\n \"except\",\n \"exec\",\n \"execute\",\n \"exists\",\n \"exp\",\n \"external\",\n \"extract\",\n \"false\",\n \"fetch\",\n \"filter\",\n \"first_value\",\n \"float\",\n \"floor\",\n \"for\",\n \"foreign\",\n \"frame_row\",\n \"free\",\n \"from\",\n \"full\",\n \"function\",\n \"fusion\",\n \"get\",\n \"global\",\n \"grant\",\n \"group\",\n \"grouping\",\n \"groups\",\n \"having\",\n \"hold\",\n \"hour\",\n \"identity\",\n \"in\",\n \"indicator\",\n \"initial\",\n \"inner\",\n \"inout\",\n \"insensitive\",\n \"insert\",\n \"int\",\n \"integer\",\n \"intersect\",\n \"intersection\",\n \"interval\",\n \"into\",\n \"is\",\n \"join\",\n \"json_array\",\n \"json_arrayagg\",\n \"json_exists\",\n \"json_object\",\n \"json_objectagg\",\n \"json_query\",\n \"json_table\",\n \"json_table_primitive\",\n \"json_value\",\n \"lag\",\n \"language\",\n \"large\",\n \"last_value\",\n \"lateral\",\n \"lead\",\n \"leading\",\n \"left\",\n \"like\",\n \"like_regex\",\n \"listagg\",\n \"ln\",\n \"local\",\n \"localtime\",\n \"localtimestamp\",\n \"log\",\n \"log10\",\n \"lower\",\n \"match\",\n \"match_number\",\n \"match_recognize\",\n \"matches\",\n \"max\",\n \"member\",\n \"merge\",\n \"method\",\n \"min\",\n \"minute\",\n \"mod\",\n \"modifies\",\n \"module\",\n \"month\",\n \"multiset\",\n \"national\",\n \"natural\",\n \"nchar\",\n \"nclob\",\n \"new\",\n \"no\",\n \"none\",\n \"normalize\",\n \"not\",\n \"nth_value\",\n \"ntile\",\n \"null\",\n \"nullif\",\n \"numeric\",\n \"octet_length\",\n \"occurrences_regex\",\n \"of\",\n \"offset\",\n \"old\",\n \"omit\",\n \"on\",\n \"one\",\n \"only\",\n \"open\",\n \"or\",\n \"order\",\n \"out\",\n \"outer\",\n \"over\",\n \"overlaps\",\n \"overlay\",\n \"parameter\",\n \"partition\",\n \"pattern\",\n \"per\",\n \"percent\",\n \"percent_rank\",\n \"percentile_cont\",\n \"percentile_disc\",\n \"period\",\n \"portion\",\n \"position\",\n \"position_regex\",\n \"power\",\n \"precedes\",\n \"precision\",\n \"prepare\",\n \"primary\",\n \"procedure\",\n \"ptf\",\n \"range\",\n \"rank\",\n \"reads\",\n \"real\",\n \"recursive\",\n \"ref\",\n \"references\",\n \"referencing\",\n \"regr_avgx\",\n \"regr_avgy\",\n \"regr_count\",\n \"regr_intercept\",\n \"regr_r2\",\n \"regr_slope\",\n \"regr_sxx\",\n \"regr_sxy\",\n \"regr_syy\",\n \"release\",\n \"result\",\n \"return\",\n \"returns\",\n \"revoke\",\n \"right\",\n \"rollback\",\n \"rollup\",\n \"row\",\n \"row_number\",\n \"rows\",\n \"running\",\n \"savepoint\",\n \"scope\",\n \"scroll\",\n \"search\",\n \"second\",\n \"seek\",\n \"select\",\n \"sensitive\",\n \"session_user\",\n \"set\",\n \"show\",\n \"similar\",\n \"sin\",\n \"sinh\",\n \"skip\",\n \"smallint\",\n \"some\",\n \"specific\",\n \"specifictype\",\n \"sql\",\n \"sqlexception\",\n \"sqlstate\",\n \"sqlwarning\",\n \"sqrt\",\n \"start\",\n \"static\",\n \"stddev_pop\",\n \"stddev_samp\",\n \"submultiset\",\n \"subset\",\n \"substring\",\n \"substring_regex\",\n \"succeeds\",\n \"sum\",\n \"symmetric\",\n \"system\",\n \"system_time\",\n \"system_user\",\n \"table\",\n \"tablesample\",\n \"tan\",\n \"tanh\",\n \"then\",\n \"time\",\n \"timestamp\",\n \"timezone_hour\",\n \"timezone_minute\",\n \"to\",\n \"trailing\",\n \"translate\",\n \"translate_regex\",\n \"translation\",\n \"treat\",\n \"trigger\",\n \"trim\",\n \"trim_array\",\n \"true\",\n \"truncate\",\n \"uescape\",\n \"union\",\n \"unique\",\n \"unknown\",\n \"unnest\",\n \"update\",\n \"upper\",\n \"user\",\n \"using\",\n \"value\",\n \"values\",\n \"value_of\",\n \"var_pop\",\n \"var_samp\",\n \"varbinary\",\n \"varchar\",\n \"varying\",\n \"versioning\",\n \"when\",\n \"whenever\",\n \"where\",\n \"width_bucket\",\n \"window\",\n \"with\",\n \"within\",\n \"without\",\n \"year\",\n ];\n\n // these are reserved words we have identified to be functions\n // and should only be highlighted in a dispatch-like context\n // ie, array_agg(...), etc.\n const RESERVED_FUNCTIONS = [\n \"abs\",\n \"acos\",\n \"array_agg\",\n \"asin\",\n \"atan\",\n \"avg\",\n \"cast\",\n \"ceil\",\n \"ceiling\",\n \"coalesce\",\n \"corr\",\n \"cos\",\n \"cosh\",\n \"count\",\n \"covar_pop\",\n \"covar_samp\",\n \"cume_dist\",\n \"dense_rank\",\n \"deref\",\n \"element\",\n \"exp\",\n \"extract\",\n \"first_value\",\n \"floor\",\n \"json_array\",\n \"json_arrayagg\",\n \"json_exists\",\n \"json_object\",\n \"json_objectagg\",\n \"json_query\",\n \"json_table\",\n \"json_table_primitive\",\n \"json_value\",\n \"lag\",\n \"last_value\",\n \"lead\",\n \"listagg\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"max\",\n \"min\",\n \"mod\",\n \"nth_value\",\n \"ntile\",\n \"nullif\",\n \"percent_rank\",\n \"percentile_cont\",\n \"percentile_disc\",\n \"position\",\n \"position_regex\",\n \"power\",\n \"rank\",\n \"regr_avgx\",\n \"regr_avgy\",\n \"regr_count\",\n \"regr_intercept\",\n \"regr_r2\",\n \"regr_slope\",\n \"regr_sxx\",\n \"regr_sxy\",\n \"regr_syy\",\n \"row_number\",\n \"sin\",\n \"sinh\",\n \"sqrt\",\n \"stddev_pop\",\n \"stddev_samp\",\n \"substring\",\n \"substring_regex\",\n \"sum\",\n \"tan\",\n \"tanh\",\n \"translate\",\n \"translate_regex\",\n \"treat\",\n \"trim\",\n \"trim_array\",\n \"unnest\",\n \"upper\",\n \"value_of\",\n \"var_pop\",\n \"var_samp\",\n \"width_bucket\",\n ];\n\n // these functions can\n const POSSIBLE_WITHOUT_PARENS = [\n \"current_catalog\",\n \"current_date\",\n \"current_default_transform_group\",\n \"current_path\",\n \"current_role\",\n \"current_schema\",\n \"current_transform_group_for_type\",\n \"current_user\",\n \"session_user\",\n \"system_time\",\n \"system_user\",\n \"current_time\",\n \"localtime\",\n \"current_timestamp\",\n \"localtimestamp\"\n ];\n\n // those exist to boost relevance making these very\n // \"SQL like\" keyword combos worth +1 extra relevance\n const COMBOS = [\n \"create table\",\n \"insert into\",\n \"primary key\",\n \"foreign key\",\n \"not null\",\n \"alter table\",\n \"add constraint\",\n \"grouping sets\",\n \"on overflow\",\n \"character set\",\n \"respect nulls\",\n \"ignore nulls\",\n \"nulls first\",\n \"nulls last\",\n \"depth first\",\n \"breadth first\"\n ];\n\n const FUNCTIONS = RESERVED_FUNCTIONS;\n\n const KEYWORDS = [\n ...RESERVED_WORDS,\n ...NON_RESERVED_WORDS\n ].filter((keyword) => {\n return !RESERVED_FUNCTIONS.includes(keyword);\n });\n\n const VARIABLE = {\n scope: \"variable\",\n match: /@[a-z0-9][a-z0-9_]*/,\n };\n\n const OPERATOR = {\n scope: \"operator\",\n match: /[-+*/=%^~]|&&?|\\|\\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,\n relevance: 0,\n };\n\n const FUNCTION_CALL = {\n match: regex.concat(/\\b/, regex.either(...FUNCTIONS), /\\s*\\(/),\n relevance: 0,\n keywords: { built_in: FUNCTIONS }\n };\n\n // turns a multi-word keyword combo into a regex that doesn't\n // care about extra whitespace etc.\n // input: \"START QUERY\"\n // output: /\\bSTART\\s+QUERY\\b/\n function kws_to_regex(list) {\n return regex.concat(\n /\\b/,\n regex.either(...list.map((kw) => {\n return kw.replace(/\\s+/, \"\\\\s+\")\n })),\n /\\b/\n )\n }\n\n const MULTI_WORD_KEYWORDS = {\n scope: \"keyword\",\n match: kws_to_regex(COMBOS),\n relevance: 0,\n };\n\n // keywords with less than 3 letters are reduced in relevancy\n function reduceRelevancy(list, {\n exceptions, when\n } = {}) {\n const qualifyFn = when;\n exceptions = exceptions || [];\n return list.map((item) => {\n if (item.match(/\\|\\d+$/) || exceptions.includes(item)) {\n return item;\n } else if (qualifyFn(item)) {\n return `${item}|0`;\n } else {\n return item;\n }\n });\n }\n\n return {\n name: 'SQL',\n case_insensitive: true,\n // does not include {} or HTML tags ` x.length < 3 }),\n literal: LITERALS,\n type: TYPES,\n built_in: POSSIBLE_WITHOUT_PARENS\n },\n contains: [\n {\n scope: \"type\",\n match: kws_to_regex(MULTI_WORD_TYPES)\n },\n MULTI_WORD_KEYWORDS,\n FUNCTION_CALL,\n VARIABLE,\n STRING,\n QUOTED_IDENTIFIER,\n hljs.C_NUMBER_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n COMMENT_MODE,\n OPERATOR\n ]\n };\n}\n\nexport { sql as default };\n","/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction lookahead(re) {\n return concat('(?=', re, ')');\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/**\n * @param { Array } args\n * @returns {object}\n */\nfunction stripOptionsFromArgs(args) {\n const opts = args[args.length - 1];\n\n if (typeof opts === 'object' && opts.constructor === Object) {\n args.splice(args.length - 1, 1);\n return opts;\n } else {\n return {};\n }\n}\n\n/** @typedef { {capture?: boolean} } RegexEitherOptions */\n\n/**\n * Any of the passed expresssions may match\n *\n * Creates a huge this | this | that | that match\n * @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args\n * @returns {string}\n */\nfunction either(...args) {\n /** @type { object & {capture?: boolean} } */\n const opts = stripOptionsFromArgs(args);\n const joined = '('\n + (opts.capture ? \"\" : \"?:\")\n + args.map((x) => source(x)).join(\"|\") + \")\";\n return joined;\n}\n\nconst keywordWrapper = keyword => concat(\n /\\b/,\n keyword,\n /\\w$/.test(keyword) ? /\\b/ : /\\B/\n);\n\n// Keywords that require a leading dot.\nconst dotKeywords = [\n 'Protocol', // contextual\n 'Type' // contextual\n].map(keywordWrapper);\n\n// Keywords that may have a leading dot.\nconst optionalDotKeywords = [\n 'init',\n 'self'\n].map(keywordWrapper);\n\n// should register as keyword, not type\nconst keywordTypes = [\n 'Any',\n 'Self'\n];\n\n// Regular keywords and literals.\nconst keywords = [\n // strings below will be fed into the regular `keywords` engine while regex\n // will result in additional modes being created to scan for those keywords to\n // avoid conflicts with other rules\n 'actor',\n 'any', // contextual\n 'associatedtype',\n 'async',\n 'await',\n /as\\?/, // operator\n /as!/, // operator\n 'as', // operator\n 'borrowing', // contextual\n 'break',\n 'case',\n 'catch',\n 'class',\n 'consume', // contextual\n 'consuming', // contextual\n 'continue',\n 'convenience', // contextual\n 'copy', // contextual\n 'default',\n 'defer',\n 'deinit',\n 'didSet', // contextual\n 'distributed',\n 'do',\n 'dynamic', // contextual\n 'each',\n 'else',\n 'enum',\n 'extension',\n 'fallthrough',\n /fileprivate\\(set\\)/,\n 'fileprivate',\n 'final', // contextual\n 'for',\n 'func',\n 'get', // contextual\n 'guard',\n 'if',\n 'import',\n 'indirect', // contextual\n 'infix', // contextual\n /init\\?/,\n /init!/,\n 'inout',\n /internal\\(set\\)/,\n 'internal',\n 'in',\n 'is', // operator\n 'isolated', // contextual\n 'nonisolated', // contextual\n 'lazy', // contextual\n 'let',\n 'macro',\n 'mutating', // contextual\n 'nonmutating', // contextual\n /open\\(set\\)/, // contextual\n 'open', // contextual\n 'operator',\n 'optional', // contextual\n 'override', // contextual\n 'package',\n 'postfix', // contextual\n 'precedencegroup',\n 'prefix', // contextual\n /private\\(set\\)/,\n 'private',\n 'protocol',\n /public\\(set\\)/,\n 'public',\n 'repeat',\n 'required', // contextual\n 'rethrows',\n 'return',\n 'set', // contextual\n 'some', // contextual\n 'static',\n 'struct',\n 'subscript',\n 'super',\n 'switch',\n 'throws',\n 'throw',\n /try\\?/, // operator\n /try!/, // operator\n 'try', // operator\n 'typealias',\n /unowned\\(safe\\)/, // contextual\n /unowned\\(unsafe\\)/, // contextual\n 'unowned', // contextual\n 'var',\n 'weak', // contextual\n 'where',\n 'while',\n 'willSet' // contextual\n];\n\n// NOTE: Contextual keywords are reserved only in specific contexts.\n// Ideally, these should be matched using modes to avoid false positives.\n\n// Literals.\nconst literals = [\n 'false',\n 'nil',\n 'true'\n];\n\n// Keywords used in precedence groups.\nconst precedencegroupKeywords = [\n 'assignment',\n 'associativity',\n 'higherThan',\n 'left',\n 'lowerThan',\n 'none',\n 'right'\n];\n\n// Keywords that start with a number sign (#).\n// #(un)available is handled separately.\nconst numberSignKeywords = [\n '#colorLiteral',\n '#column',\n '#dsohandle',\n '#else',\n '#elseif',\n '#endif',\n '#error',\n '#file',\n '#fileID',\n '#fileLiteral',\n '#filePath',\n '#function',\n '#if',\n '#imageLiteral',\n '#keyPath',\n '#line',\n '#selector',\n '#sourceLocation',\n '#warning'\n];\n\n// Global functions in the Standard Library.\nconst builtIns = [\n 'abs',\n 'all',\n 'any',\n 'assert',\n 'assertionFailure',\n 'debugPrint',\n 'dump',\n 'fatalError',\n 'getVaList',\n 'isKnownUniquelyReferenced',\n 'max',\n 'min',\n 'numericCast',\n 'pointwiseMax',\n 'pointwiseMin',\n 'precondition',\n 'preconditionFailure',\n 'print',\n 'readLine',\n 'repeatElement',\n 'sequence',\n 'stride',\n 'swap',\n 'swift_unboxFromSwiftValueWithType',\n 'transcode',\n 'type',\n 'unsafeBitCast',\n 'unsafeDowncast',\n 'withExtendedLifetime',\n 'withUnsafeMutablePointer',\n 'withUnsafePointer',\n 'withVaList',\n 'withoutActuallyEscaping',\n 'zip'\n];\n\n// Valid first characters for operators.\nconst operatorHead = either(\n /[/=\\-+!*%<>&|^~?]/,\n /[\\u00A1-\\u00A7]/,\n /[\\u00A9\\u00AB]/,\n /[\\u00AC\\u00AE]/,\n /[\\u00B0\\u00B1]/,\n /[\\u00B6\\u00BB\\u00BF\\u00D7\\u00F7]/,\n /[\\u2016-\\u2017]/,\n /[\\u2020-\\u2027]/,\n /[\\u2030-\\u203E]/,\n /[\\u2041-\\u2053]/,\n /[\\u2055-\\u205E]/,\n /[\\u2190-\\u23FF]/,\n /[\\u2500-\\u2775]/,\n /[\\u2794-\\u2BFF]/,\n /[\\u2E00-\\u2E7F]/,\n /[\\u3001-\\u3003]/,\n /[\\u3008-\\u3020]/,\n /[\\u3030]/\n);\n\n// Valid characters for operators.\nconst operatorCharacter = either(\n operatorHead,\n /[\\u0300-\\u036F]/,\n /[\\u1DC0-\\u1DFF]/,\n /[\\u20D0-\\u20FF]/,\n /[\\uFE00-\\uFE0F]/,\n /[\\uFE20-\\uFE2F]/\n // TODO: The following characters are also allowed, but the regex isn't supported yet.\n // /[\\u{E0100}-\\u{E01EF}]/u\n);\n\n// Valid operator.\nconst operator = concat(operatorHead, operatorCharacter, '*');\n\n// Valid first characters for identifiers.\nconst identifierHead = either(\n /[a-zA-Z_]/,\n /[\\u00A8\\u00AA\\u00AD\\u00AF\\u00B2-\\u00B5\\u00B7-\\u00BA]/,\n /[\\u00BC-\\u00BE\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u00FF]/,\n /[\\u0100-\\u02FF\\u0370-\\u167F\\u1681-\\u180D\\u180F-\\u1DBF]/,\n /[\\u1E00-\\u1FFF]/,\n /[\\u200B-\\u200D\\u202A-\\u202E\\u203F-\\u2040\\u2054\\u2060-\\u206F]/,\n /[\\u2070-\\u20CF\\u2100-\\u218F\\u2460-\\u24FF\\u2776-\\u2793]/,\n /[\\u2C00-\\u2DFF\\u2E80-\\u2FFF]/,\n /[\\u3004-\\u3007\\u3021-\\u302F\\u3031-\\u303F\\u3040-\\uD7FF]/,\n /[\\uF900-\\uFD3D\\uFD40-\\uFDCF\\uFDF0-\\uFE1F\\uFE30-\\uFE44]/,\n /[\\uFE47-\\uFEFE\\uFF00-\\uFFFD]/ // Should be /[\\uFE47-\\uFFFD]/, but we have to exclude FEFF.\n // The following characters are also allowed, but the regexes aren't supported yet.\n // /[\\u{10000}-\\u{1FFFD}\\u{20000-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}]/u,\n // /[\\u{50000}-\\u{5FFFD}\\u{60000-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}]/u,\n // /[\\u{90000}-\\u{9FFFD}\\u{A0000-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}]/u,\n // /[\\u{D0000}-\\u{DFFFD}\\u{E0000-\\u{EFFFD}]/u\n);\n\n// Valid characters for identifiers.\nconst identifierCharacter = either(\n identifierHead,\n /\\d/,\n /[\\u0300-\\u036F\\u1DC0-\\u1DFF\\u20D0-\\u20FF\\uFE20-\\uFE2F]/\n);\n\n// Valid identifier.\nconst identifier = concat(identifierHead, identifierCharacter, '*');\n\n// Valid type identifier.\nconst typeIdentifier = concat(/[A-Z]/, identifierCharacter, '*');\n\n// Built-in attributes, which are highlighted as keywords.\n// @available is handled separately.\n// https://docs.swift.org/swift-book/documentation/the-swift-programming-language/attributes\nconst keywordAttributes = [\n 'attached',\n 'autoclosure',\n concat(/convention\\(/, either('swift', 'block', 'c'), /\\)/),\n 'discardableResult',\n 'dynamicCallable',\n 'dynamicMemberLookup',\n 'escaping',\n 'freestanding',\n 'frozen',\n 'GKInspectable',\n 'IBAction',\n 'IBDesignable',\n 'IBInspectable',\n 'IBOutlet',\n 'IBSegueAction',\n 'inlinable',\n 'main',\n 'nonobjc',\n 'NSApplicationMain',\n 'NSCopying',\n 'NSManaged',\n concat(/objc\\(/, identifier, /\\)/),\n 'objc',\n 'objcMembers',\n 'propertyWrapper',\n 'requires_stored_property_inits',\n 'resultBuilder',\n 'Sendable',\n 'testable',\n 'UIApplicationMain',\n 'unchecked',\n 'unknown',\n 'usableFromInline',\n 'warn_unqualified_access'\n];\n\n// Contextual keywords used in @available and #(un)available.\nconst availabilityKeywords = [\n 'iOS',\n 'iOSApplicationExtension',\n 'macOS',\n 'macOSApplicationExtension',\n 'macCatalyst',\n 'macCatalystApplicationExtension',\n 'watchOS',\n 'watchOSApplicationExtension',\n 'tvOS',\n 'tvOSApplicationExtension',\n 'swift'\n];\n\n/*\nLanguage: Swift\nDescription: Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.\nAuthor: Steven Van Impe \nContributors: Chris Eidhof , Nate Cook , Alexander Lichter , Richard Gibson \nWebsite: https://swift.org\nCategory: common, system\n*/\n\n\n/** @type LanguageFn */\nfunction swift(hljs) {\n const WHITESPACE = {\n match: /\\s+/,\n relevance: 0\n };\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411\n const BLOCK_COMMENT = hljs.COMMENT(\n '/\\\\*',\n '\\\\*/',\n { contains: [ 'self' ] }\n );\n const COMMENTS = [\n hljs.C_LINE_COMMENT_MODE,\n BLOCK_COMMENT\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID413\n // https://docs.swift.org/swift-book/ReferenceManual/zzSummaryOfTheGrammar.html\n const DOT_KEYWORD = {\n match: [\n /\\./,\n either(...dotKeywords, ...optionalDotKeywords)\n ],\n className: { 2: \"keyword\" }\n };\n const KEYWORD_GUARD = {\n // Consume .keyword to prevent highlighting properties and methods as keywords.\n match: concat(/\\./, either(...keywords)),\n relevance: 0\n };\n const PLAIN_KEYWORDS = keywords\n .filter(kw => typeof kw === 'string')\n .concat([ \"_|0\" ]); // seems common, so 0 relevance\n const REGEX_KEYWORDS = keywords\n .filter(kw => typeof kw !== 'string') // find regex\n .concat(keywordTypes)\n .map(keywordWrapper);\n const KEYWORD = { variants: [\n {\n className: 'keyword',\n match: either(...REGEX_KEYWORDS, ...optionalDotKeywords)\n }\n ] };\n // find all the regular keywords\n const KEYWORDS = {\n $pattern: either(\n /\\b\\w+/, // regular keywords\n /#\\w+/ // number keywords\n ),\n keyword: PLAIN_KEYWORDS\n .concat(numberSignKeywords),\n literal: literals\n };\n const KEYWORD_MODES = [\n DOT_KEYWORD,\n KEYWORD_GUARD,\n KEYWORD\n ];\n\n // https://github.com/apple/swift/tree/main/stdlib/public/core\n const BUILT_IN_GUARD = {\n // Consume .built_in to prevent highlighting properties and methods.\n match: concat(/\\./, either(...builtIns)),\n relevance: 0\n };\n const BUILT_IN = {\n className: 'built_in',\n match: concat(/\\b/, either(...builtIns), /(?=\\()/)\n };\n const BUILT_INS = [\n BUILT_IN_GUARD,\n BUILT_IN\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID418\n const OPERATOR_GUARD = {\n // Prevent -> from being highlighting as an operator.\n match: /->/,\n relevance: 0\n };\n const OPERATOR = {\n className: 'operator',\n relevance: 0,\n variants: [\n { match: operator },\n {\n // dot-operator: only operators that start with a dot are allowed to use dots as\n // characters (..., ...<, .*, etc). So there rule here is: a dot followed by one or more\n // characters that may also include dots.\n match: `\\\\.(\\\\.|${operatorCharacter})+` }\n ]\n };\n const OPERATORS = [\n OPERATOR_GUARD,\n OPERATOR\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#grammar_numeric-literal\n // TODO: Update for leading `-` after lookbehind is supported everywhere\n const decimalDigits = '([0-9]_*)+';\n const hexDigits = '([0-9a-fA-F]_*)+';\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n // decimal floating-point-literal (subsumes decimal-literal)\n { match: `\\\\b(${decimalDigits})(\\\\.(${decimalDigits}))?` + `([eE][+-]?(${decimalDigits}))?\\\\b` },\n // hexadecimal floating-point-literal (subsumes hexadecimal-literal)\n { match: `\\\\b0x(${hexDigits})(\\\\.(${hexDigits}))?` + `([pP][+-]?(${decimalDigits}))?\\\\b` },\n // octal-literal\n { match: /\\b0o([0-7]_*)+\\b/ },\n // binary-literal\n { match: /\\b0b([01]_*)+\\b/ }\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#grammar_string-literal\n const ESCAPED_CHARACTER = (rawDelimiter = \"\") => ({\n className: 'subst',\n variants: [\n { match: concat(/\\\\/, rawDelimiter, /[0\\\\tnr\"']/) },\n { match: concat(/\\\\/, rawDelimiter, /u\\{[0-9a-fA-F]{1,8}\\}/) }\n ]\n });\n const ESCAPED_NEWLINE = (rawDelimiter = \"\") => ({\n className: 'subst',\n match: concat(/\\\\/, rawDelimiter, /[\\t ]*(?:[\\r\\n]|\\r\\n)/)\n });\n const INTERPOLATION = (rawDelimiter = \"\") => ({\n className: 'subst',\n label: \"interpol\",\n begin: concat(/\\\\/, rawDelimiter, /\\(/),\n end: /\\)/\n });\n const MULTILINE_STRING = (rawDelimiter = \"\") => ({\n begin: concat(rawDelimiter, /\"\"\"/),\n end: concat(/\"\"\"/, rawDelimiter),\n contains: [\n ESCAPED_CHARACTER(rawDelimiter),\n ESCAPED_NEWLINE(rawDelimiter),\n INTERPOLATION(rawDelimiter)\n ]\n });\n const SINGLE_LINE_STRING = (rawDelimiter = \"\") => ({\n begin: concat(rawDelimiter, /\"/),\n end: concat(/\"/, rawDelimiter),\n contains: [\n ESCAPED_CHARACTER(rawDelimiter),\n INTERPOLATION(rawDelimiter)\n ]\n });\n const STRING = {\n className: 'string',\n variants: [\n MULTILINE_STRING(),\n MULTILINE_STRING(\"#\"),\n MULTILINE_STRING(\"##\"),\n MULTILINE_STRING(\"###\"),\n SINGLE_LINE_STRING(),\n SINGLE_LINE_STRING(\"#\"),\n SINGLE_LINE_STRING(\"##\"),\n SINGLE_LINE_STRING(\"###\")\n ]\n };\n\n const REGEXP_CONTENTS = [\n hljs.BACKSLASH_ESCAPE,\n {\n begin: /\\[/,\n end: /\\]/,\n relevance: 0,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n }\n ];\n\n const BARE_REGEXP_LITERAL = {\n begin: /\\/[^\\s](?=[^/\\n]*\\/)/,\n end: /\\//,\n contains: REGEXP_CONTENTS\n };\n\n const EXTENDED_REGEXP_LITERAL = (rawDelimiter) => {\n const begin = concat(rawDelimiter, /\\//);\n const end = concat(/\\//, rawDelimiter);\n return {\n begin,\n end,\n contains: [\n ...REGEXP_CONTENTS,\n {\n scope: \"comment\",\n begin: `#(?!.*${end})`,\n end: /$/,\n },\n ],\n };\n };\n\n // https://docs.swift.org/swift-book/documentation/the-swift-programming-language/lexicalstructure/#Regular-Expression-Literals\n const REGEXP = {\n scope: \"regexp\",\n variants: [\n EXTENDED_REGEXP_LITERAL('###'),\n EXTENDED_REGEXP_LITERAL('##'),\n EXTENDED_REGEXP_LITERAL('#'),\n BARE_REGEXP_LITERAL\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID412\n const QUOTED_IDENTIFIER = { match: concat(/`/, identifier, /`/) };\n const IMPLICIT_PARAMETER = {\n className: 'variable',\n match: /\\$\\d+/\n };\n const PROPERTY_WRAPPER_PROJECTION = {\n className: 'variable',\n match: `\\\\$${identifierCharacter}+`\n };\n const IDENTIFIERS = [\n QUOTED_IDENTIFIER,\n IMPLICIT_PARAMETER,\n PROPERTY_WRAPPER_PROJECTION\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/Attributes.html\n const AVAILABLE_ATTRIBUTE = {\n match: /(@|#(un)?)available/,\n scope: 'keyword',\n starts: { contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: availabilityKeywords,\n contains: [\n ...OPERATORS,\n NUMBER,\n STRING\n ]\n }\n ] }\n };\n\n const KEYWORD_ATTRIBUTE = {\n scope: 'keyword',\n match: concat(/@/, either(...keywordAttributes), lookahead(either(/\\(/, /\\s+/))),\n };\n\n const USER_DEFINED_ATTRIBUTE = {\n scope: 'meta',\n match: concat(/@/, identifier)\n };\n\n const ATTRIBUTES = [\n AVAILABLE_ATTRIBUTE,\n KEYWORD_ATTRIBUTE,\n USER_DEFINED_ATTRIBUTE\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/Types.html\n const TYPE = {\n match: lookahead(/\\b[A-Z]/),\n relevance: 0,\n contains: [\n { // Common Apple frameworks, for relevance boost\n className: 'type',\n match: concat(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, identifierCharacter, '+')\n },\n { // Type identifier\n className: 'type',\n match: typeIdentifier,\n relevance: 0\n },\n { // Optional type\n match: /[?!]+/,\n relevance: 0\n },\n { // Variadic parameter\n match: /\\.\\.\\./,\n relevance: 0\n },\n { // Protocol composition\n match: concat(/\\s+&\\s+/, lookahead(typeIdentifier)),\n relevance: 0\n }\n ]\n };\n const GENERIC_ARGUMENTS = {\n begin: //,\n keywords: KEYWORDS,\n contains: [\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...ATTRIBUTES,\n OPERATOR_GUARD,\n TYPE\n ]\n };\n TYPE.contains.push(GENERIC_ARGUMENTS);\n\n // https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#ID552\n // Prevents element names from being highlighted as keywords.\n const TUPLE_ELEMENT_NAME = {\n match: concat(identifier, /\\s*:/),\n keywords: \"_|0\",\n relevance: 0\n };\n // Matches tuples as well as the parameter list of a function type.\n const TUPLE = {\n begin: /\\(/,\n end: /\\)/,\n relevance: 0,\n keywords: KEYWORDS,\n contains: [\n 'self',\n TUPLE_ELEMENT_NAME,\n ...COMMENTS,\n REGEXP,\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS,\n ...ATTRIBUTES,\n TYPE\n ]\n };\n\n const GENERIC_PARAMETERS = {\n begin: //,\n keywords: 'repeat each',\n contains: [\n ...COMMENTS,\n TYPE\n ]\n };\n const FUNCTION_PARAMETER_NAME = {\n begin: either(\n lookahead(concat(identifier, /\\s*:/)),\n lookahead(concat(identifier, /\\s+/, identifier, /\\s*:/))\n ),\n end: /:/,\n relevance: 0,\n contains: [\n {\n className: 'keyword',\n match: /\\b_\\b/\n },\n {\n className: 'params',\n match: identifier\n }\n ]\n };\n const FUNCTION_PARAMETERS = {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n FUNCTION_PARAMETER_NAME,\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...ATTRIBUTES,\n TYPE,\n TUPLE\n ],\n endsParent: true,\n illegal: /[\"']/\n };\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID362\n // https://docs.swift.org/swift-book/documentation/the-swift-programming-language/declarations/#Macro-Declaration\n const FUNCTION_OR_MACRO = {\n match: [\n /(func|macro)/,\n /\\s+/,\n either(QUOTED_IDENTIFIER.match, identifier, operator)\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n GENERIC_PARAMETERS,\n FUNCTION_PARAMETERS,\n WHITESPACE\n ],\n illegal: [\n /\\[/,\n /%/\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID375\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID379\n const INIT_SUBSCRIPT = {\n match: [\n /\\b(?:subscript|init[?!]?)/,\n /\\s*(?=[<(])/,\n ],\n className: { 1: \"keyword\" },\n contains: [\n GENERIC_PARAMETERS,\n FUNCTION_PARAMETERS,\n WHITESPACE\n ],\n illegal: /\\[|%/\n };\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID380\n const OPERATOR_DECLARATION = {\n match: [\n /operator/,\n /\\s+/,\n operator\n ],\n className: {\n 1: \"keyword\",\n 3: \"title\"\n }\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID550\n const PRECEDENCEGROUP = {\n begin: [\n /precedencegroup/,\n /\\s+/,\n typeIdentifier\n ],\n className: {\n 1: \"keyword\",\n 3: \"title\"\n },\n contains: [ TYPE ],\n keywords: [\n ...precedencegroupKeywords,\n ...literals\n ],\n end: /}/\n };\n\n const CLASS_FUNC_DECLARATION = {\n match: [\n /class\\b/, \n /\\s+/,\n /func\\b/,\n /\\s+/,\n /\\b[A-Za-z_][A-Za-z0-9_]*\\b/ \n ],\n scope: {\n 1: \"keyword\",\n 3: \"keyword\",\n 5: \"title.function\"\n }\n };\n\n const CLASS_VAR_DECLARATION = {\n match: [\n /class\\b/,\n /\\s+/, \n /var\\b/, \n ],\n scope: {\n 1: \"keyword\",\n 3: \"keyword\"\n }\n };\n\n const TYPE_DECLARATION = {\n begin: [\n /(struct|protocol|class|extension|enum|actor)/,\n /\\s+/,\n identifier,\n /\\s*/,\n ],\n beginScope: {\n 1: \"keyword\",\n 3: \"title.class\"\n },\n keywords: KEYWORDS,\n contains: [\n GENERIC_PARAMETERS,\n ...KEYWORD_MODES,\n {\n begin: /:/,\n end: /\\{/,\n keywords: KEYWORDS,\n contains: [\n {\n scope: \"title.class.inherited\",\n match: typeIdentifier,\n },\n ...KEYWORD_MODES,\n ],\n relevance: 0,\n },\n ]\n };\n\n // Add supported submodes to string interpolation.\n for (const variant of STRING.variants) {\n const interpolation = variant.contains.find(mode => mode.label === \"interpol\");\n // TODO: Interpolation can contain any expression, so there's room for improvement here.\n interpolation.keywords = KEYWORDS;\n const submodes = [\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS\n ];\n interpolation.contains = [\n ...submodes,\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [\n 'self',\n ...submodes\n ]\n }\n ];\n }\n\n return {\n name: 'Swift',\n keywords: KEYWORDS,\n contains: [\n ...COMMENTS,\n FUNCTION_OR_MACRO,\n INIT_SUBSCRIPT,\n CLASS_FUNC_DECLARATION,\n CLASS_VAR_DECLARATION,\n TYPE_DECLARATION,\n OPERATOR_DECLARATION,\n PRECEDENCEGROUP,\n {\n beginKeywords: 'import',\n end: /$/,\n contains: [ ...COMMENTS ],\n relevance: 0\n },\n REGEXP,\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS,\n ...ATTRIBUTES,\n TYPE,\n TUPLE\n ]\n };\n}\n\nexport { swift as default };\n","const IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\nconst KEYWORDS = [\n \"as\", // for exports\n \"in\",\n \"of\",\n \"if\",\n \"for\",\n \"while\",\n \"finally\",\n \"var\",\n \"new\",\n \"function\",\n \"do\",\n \"return\",\n \"void\",\n \"else\",\n \"break\",\n \"catch\",\n \"instanceof\",\n \"with\",\n \"throw\",\n \"case\",\n \"default\",\n \"try\",\n \"switch\",\n \"continue\",\n \"typeof\",\n \"delete\",\n \"let\",\n \"yield\",\n \"const\",\n \"class\",\n // JS handles these with a special rule\n // \"get\",\n // \"set\",\n \"debugger\",\n \"async\",\n \"await\",\n \"static\",\n \"import\",\n \"from\",\n \"export\",\n \"extends\",\n // It's reached stage 3, which is \"recommended for implementation\":\n \"using\"\n];\nconst LITERALS = [\n \"true\",\n \"false\",\n \"null\",\n \"undefined\",\n \"NaN\",\n \"Infinity\"\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects\nconst TYPES = [\n // Fundamental objects\n \"Object\",\n \"Function\",\n \"Boolean\",\n \"Symbol\",\n // numbers and dates\n \"Math\",\n \"Date\",\n \"Number\",\n \"BigInt\",\n // text\n \"String\",\n \"RegExp\",\n // Indexed collections\n \"Array\",\n \"Float32Array\",\n \"Float64Array\",\n \"Int8Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"Int16Array\",\n \"Int32Array\",\n \"Uint16Array\",\n \"Uint32Array\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n // Keyed collections\n \"Set\",\n \"Map\",\n \"WeakSet\",\n \"WeakMap\",\n // Structured data\n \"ArrayBuffer\",\n \"SharedArrayBuffer\",\n \"Atomics\",\n \"DataView\",\n \"JSON\",\n // Control abstraction objects\n \"Promise\",\n \"Generator\",\n \"GeneratorFunction\",\n \"AsyncFunction\",\n // Reflection\n \"Reflect\",\n \"Proxy\",\n // Internationalization\n \"Intl\",\n // WebAssembly\n \"WebAssembly\"\n];\n\nconst ERROR_TYPES = [\n \"Error\",\n \"EvalError\",\n \"InternalError\",\n \"RangeError\",\n \"ReferenceError\",\n \"SyntaxError\",\n \"TypeError\",\n \"URIError\"\n];\n\nconst BUILT_IN_GLOBALS = [\n \"setInterval\",\n \"setTimeout\",\n \"clearInterval\",\n \"clearTimeout\",\n\n \"require\",\n \"exports\",\n\n \"eval\",\n \"isFinite\",\n \"isNaN\",\n \"parseFloat\",\n \"parseInt\",\n \"decodeURI\",\n \"decodeURIComponent\",\n \"encodeURI\",\n \"encodeURIComponent\",\n \"escape\",\n \"unescape\"\n];\n\nconst BUILT_IN_VARIABLES = [\n \"arguments\",\n \"this\",\n \"super\",\n \"console\",\n \"window\",\n \"document\",\n \"localStorage\",\n \"sessionStorage\",\n \"module\",\n \"global\" // Node.js\n];\n\nconst BUILT_INS = [].concat(\n BUILT_IN_GLOBALS,\n TYPES,\n ERROR_TYPES\n);\n\n/*\nLanguage: JavaScript\nDescription: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.\nCategory: common, scripting, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/JavaScript\n*/\n\n\n/** @type LanguageFn */\nfunction javascript(hljs) {\n const regex = hljs.regex;\n /**\n * Takes a string like \" {\n const tag = \"',\n end: ''\n };\n // to avoid some special cases inside isTrulyOpeningTag\n const XML_SELF_CLOSING = /<[A-Za-z0-9\\\\._:-]+\\s*\\/>/;\n const XML_TAG = {\n begin: /<[A-Za-z0-9\\\\._:-]+/,\n end: /\\/[A-Za-z0-9\\\\._:-]+>|\\/>/,\n /**\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\n isTrulyOpeningTag: (match, response) => {\n const afterMatchIndex = match[0].length + match.index;\n const nextChar = match.input[afterMatchIndex];\n if (\n // HTML should not include another raw `<` inside a tag\n // nested type?\n // `>`, etc.\n nextChar === \"<\" ||\n // the , gives away that this is not HTML\n // ``\n nextChar === \",\"\n ) {\n response.ignoreMatch();\n return;\n }\n\n // ``\n // Quite possibly a tag, lets look for a matching closing tag...\n if (nextChar === \">\") {\n // if we cannot find a matching closing tag, then we\n // will ignore it\n if (!hasClosingTag(match, { after: afterMatchIndex })) {\n response.ignoreMatch();\n }\n }\n\n // `` (self-closing)\n // handled by simpleSelfClosing rule\n\n let m;\n const afterMatch = match.input.substring(afterMatchIndex);\n\n // some more template typing stuff\n // (key?: string) => Modify<\n if ((m = afterMatch.match(/^\\s*=/))) {\n response.ignoreMatch();\n return;\n }\n\n // ``\n // technically this could be HTML, but it smells like a type\n // NOTE: This is ugh, but added specifically for https://github.com/highlightjs/highlight.js/issues/3276\n if ((m = afterMatch.match(/^\\s+extends\\s+/))) {\n if (m.index === 0) {\n response.ignoreMatch();\n // eslint-disable-next-line no-useless-return\n return;\n }\n }\n }\n };\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_INS,\n \"variable.language\": BUILT_IN_VARIABLES\n };\n\n // https://tc39.es/ecma262/#sec-literals-numeric-literals\n const decimalDigits = '[0-9](_?[0-9])*';\n const frac = `\\\\.(${decimalDigits})`;\n // DecimalIntegerLiteral, including Annex B NonOctalDecimalIntegerLiteral\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;\n const NUMBER = {\n className: 'number',\n variants: [\n // DecimalLiteral\n { begin: `(\\\\b(${decimalInteger})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})\\\\b` },\n { begin: `\\\\b(${decimalInteger})\\\\b((${frac})\\\\b|\\\\.)?|(${frac})\\\\b` },\n\n // DecimalBigIntegerLiteral\n { begin: `\\\\b(0|[1-9](_?[0-9])*)n\\\\b` },\n\n // NonDecimalIntegerLiteral\n { begin: \"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\b\" },\n { begin: \"\\\\b0[bB][0-1](_?[0-1])*n?\\\\b\" },\n { begin: \"\\\\b0[oO][0-7](_?[0-7])*n?\\\\b\" },\n\n // LegacyOctalIntegerLiteral (does not include underscore separators)\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n { begin: \"\\\\b0[0-7]+n?\\\\b\" },\n ],\n relevance: 0\n };\n\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS$1,\n contains: [] // defined later\n };\n const HTML_TEMPLATE = {\n begin: '\\.?html`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'xml'\n }\n };\n const CSS_TEMPLATE = {\n begin: '\\.?css`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'css'\n }\n };\n const GRAPHQL_TEMPLATE = {\n begin: '\\.?gql`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'graphql'\n }\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n const JSDOC_COMMENT = hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n begin: '(?=@[A-Za-z]+)',\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n },\n {\n className: 'type',\n begin: '\\\\{',\n end: '\\\\}',\n excludeEnd: true,\n excludeBegin: true,\n relevance: 0\n },\n {\n className: 'variable',\n begin: IDENT_RE$1 + '(?=\\\\s*(-)|$)',\n endsParent: true,\n relevance: 0\n },\n // eat spaces (not newlines) so we can find\n // types or variables\n {\n begin: /(?=[^\\n])\\s/,\n relevance: 0\n }\n ]\n }\n ]\n }\n );\n const COMMENT = {\n className: \"comment\",\n variants: [\n JSDOC_COMMENT,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]\n };\n const SUBST_INTERNALS = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n GRAPHQL_TEMPLATE,\n TEMPLATE_STRING,\n // Skip numbers when they are part of a variable name\n { match: /\\$\\d+/ },\n NUMBER,\n // This is intentional:\n // See https://github.com/highlightjs/highlight.js/issues/3288\n // hljs.REGEXP_MODE\n ];\n SUBST.contains = SUBST_INTERNALS\n .concat({\n // we need to pair up {} inside our subst to prevent\n // it from ending too early by matching another }\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS$1,\n contains: [\n \"self\"\n ].concat(SUBST_INTERNALS)\n });\n const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);\n const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([\n // eat recursive parens in sub expressions\n {\n begin: /(\\s*)\\(/,\n end: /\\)/,\n keywords: KEYWORDS$1,\n contains: [\"self\"].concat(SUBST_AND_COMMENTS)\n }\n ]);\n const PARAMS = {\n className: 'params',\n // convert this to negative lookbehind in v12\n begin: /(\\s*)\\(/, // to match the parms with\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n };\n\n // ES6 classes\n const CLASS_OR_EXTENDS = {\n variants: [\n // class Car extends vehicle\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1,\n /\\s+/,\n /extends/,\n /\\s+/,\n regex.concat(IDENT_RE$1, \"(\", regex.concat(/\\./, IDENT_RE$1), \")*\")\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 5: \"keyword\",\n 7: \"title.class.inherited\"\n }\n },\n // class Car\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n\n ]\n };\n\n const CLASS_REFERENCE = {\n relevance: 0,\n match:\n regex.either(\n // Hard coded exceptions\n /\\bJSON/,\n // Float32Array, OutT\n /\\b[A-Z][a-z]+([A-Z][a-z]*|\\d)*/,\n // CSSFactory, CSSFactoryT\n /\\b[A-Z]{2,}([A-Z][a-z]+|\\d)+([A-Z][a-z]*)*/,\n // FPs, FPsT\n /\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\d)*([A-Z][a-z]*)*/,\n // P\n // single letters are not highlighted\n // BLAH\n // this will be flagged as a UPPER_CASE_CONSTANT instead\n ),\n className: \"title.class\",\n keywords: {\n _: [\n // se we still get relevance credit for JS library classes\n ...TYPES,\n ...ERROR_TYPES\n ]\n }\n };\n\n const USE_STRICT = {\n label: \"use_strict\",\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use (strict|asm)['\"]/\n };\n\n const FUNCTION_DEFINITION = {\n variants: [\n {\n match: [\n /function/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\s*\\()/\n ]\n },\n // anonymous function\n {\n match: [\n /function/,\n /\\s*(?=\\()/\n ]\n }\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n label: \"func.def\",\n contains: [ PARAMS ],\n illegal: /%/\n };\n\n const UPPER_CASE_CONSTANT = {\n relevance: 0,\n match: /\\b[A-Z][A-Z_0-9]+\\b/,\n className: \"variable.constant\"\n };\n\n function noneOf(list) {\n return regex.concat(\"(?!\", list.join(\"|\"), \")\");\n }\n\n const FUNCTION_CALL = {\n match: regex.concat(\n /\\b/,\n noneOf([\n ...BUILT_IN_GLOBALS,\n \"super\",\n \"import\"\n ].map(x => `${x}\\\\s*\\\\(`)),\n IDENT_RE$1, regex.lookahead(/\\s*\\(/)),\n className: \"title.function\",\n relevance: 0\n };\n\n const PROPERTY_ACCESS = {\n begin: regex.concat(/\\./, regex.lookahead(\n regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)\n )),\n end: IDENT_RE$1,\n excludeBegin: true,\n keywords: \"prototype\",\n className: \"property\",\n relevance: 0\n };\n\n const GETTER_OR_SETTER = {\n match: [\n /get|set/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\()/\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n { // eat to avoid empty params\n begin: /\\(\\)/\n },\n PARAMS\n ]\n };\n\n const FUNC_LEAD_IN_RE = '(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)|' + hljs.UNDERSCORE_IDENT_RE + ')\\\\s*=>';\n\n const FUNCTION_VARIABLE = {\n match: [\n /const|var|let/, /\\s+/,\n IDENT_RE$1, /\\s*/,\n /=\\s*/,\n /(async\\s*)?/, // async is optional\n regex.lookahead(FUNC_LEAD_IN_RE)\n ],\n keywords: \"async\",\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n PARAMS\n ]\n };\n\n return {\n name: 'JavaScript',\n aliases: ['js', 'jsx', 'mjs', 'cjs'],\n keywords: KEYWORDS$1,\n // this will be extended by TypeScript\n exports: { PARAMS_CONTAINS, CLASS_REFERENCE },\n illegal: /#(?![$_A-z])/,\n contains: [\n hljs.SHEBANG({\n label: \"shebang\",\n binary: \"node\",\n relevance: 5\n }),\n USE_STRICT,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n GRAPHQL_TEMPLATE,\n TEMPLATE_STRING,\n COMMENT,\n // Skip numbers when they are part of a variable name\n { match: /\\$\\d+/ },\n NUMBER,\n CLASS_REFERENCE,\n {\n scope: 'attr',\n match: IDENT_RE$1 + regex.lookahead(':'),\n relevance: 0\n },\n FUNCTION_VARIABLE,\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n relevance: 0,\n contains: [\n COMMENT,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n // we have to count the parens to make sure we actually have the\n // correct bounding ( ) before the =>. There could be any number of\n // sub-expressions inside also surrounded by parens.\n begin: FUNC_LEAD_IN_RE,\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n },\n {\n className: null,\n begin: /\\(\\s*\\)/,\n skip: true\n },\n {\n begin: /(\\s*)\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n },\n { // could be a comma delimited list of params to a function call\n begin: /,/,\n relevance: 0\n },\n {\n match: /\\s+/,\n relevance: 0\n },\n { // JSX\n variants: [\n { begin: FRAGMENT.begin, end: FRAGMENT.end },\n { match: XML_SELF_CLOSING },\n {\n begin: XML_TAG.begin,\n // we carefully check the opening tag to see if it truly\n // is a tag and not a false positive\n 'on:begin': XML_TAG.isTrulyOpeningTag,\n end: XML_TAG.end\n }\n ],\n subLanguage: 'xml',\n contains: [\n {\n begin: XML_TAG.begin,\n end: XML_TAG.end,\n skip: true,\n contains: ['self']\n }\n ]\n }\n ],\n },\n FUNCTION_DEFINITION,\n {\n // prevent this from getting swallowed up by function\n // since they appear \"function like\"\n beginKeywords: \"while if switch catch for\"\n },\n {\n // we have to count the parens to make sure we actually have the correct\n // bounding ( ). There could be any number of sub-expressions inside\n // also surrounded by parens.\n begin: '\\\\b(?!function)' + hljs.UNDERSCORE_IDENT_RE +\n '\\\\(' + // first parens\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)\\\\s*\\\\{', // end parens\n returnBegin:true,\n label: \"func.def\",\n contains: [\n PARAMS,\n hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: \"title.function\" })\n ]\n },\n // catch ... so it won't trigger the property rule below\n {\n match: /\\.\\.\\./,\n relevance: 0\n },\n PROPERTY_ACCESS,\n // hack: prevents detection of keywords in some circumstances\n // .keyword()\n // $keyword = x\n {\n match: '\\\\$' + IDENT_RE$1,\n relevance: 0\n },\n {\n match: [ /\\bconstructor(?=\\s*\\()/ ],\n className: { 1: \"title.function\" },\n contains: [ PARAMS ]\n },\n FUNCTION_CALL,\n UPPER_CASE_CONSTANT,\n CLASS_OR_EXTENDS,\n GETTER_OR_SETTER,\n {\n match: /\\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`\n }\n ]\n };\n}\n\n/*\nLanguage: TypeScript\nAuthor: Panu Horsmalahti \nContributors: Ike Ku \nDescription: TypeScript is a strict superset of JavaScript\nWebsite: https://www.typescriptlang.org\nCategory: common, scripting\n*/\n\n\n/** @type LanguageFn */\nfunction typescript(hljs) {\n const regex = hljs.regex;\n const tsLanguage = javascript(hljs);\n\n const IDENT_RE$1 = IDENT_RE;\n const TYPES = [\n \"any\",\n \"void\",\n \"number\",\n \"boolean\",\n \"string\",\n \"object\",\n \"never\",\n \"symbol\",\n \"bigint\",\n \"unknown\"\n ];\n const NAMESPACE = {\n begin: [\n /namespace/,\n /\\s+/,\n hljs.IDENT_RE\n ],\n beginScope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n };\n const INTERFACE = {\n beginKeywords: 'interface',\n end: /\\{/,\n excludeEnd: true,\n keywords: {\n keyword: 'interface extends',\n built_in: TYPES\n },\n contains: [ tsLanguage.exports.CLASS_REFERENCE ]\n };\n const USE_STRICT = {\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use strict['\"]/\n };\n const TS_SPECIFIC_KEYWORDS = [\n \"type\",\n // \"namespace\",\n \"interface\",\n \"public\",\n \"private\",\n \"protected\",\n \"implements\",\n \"declare\",\n \"abstract\",\n \"readonly\",\n \"enum\",\n \"override\",\n \"satisfies\"\n ];\n /*\n namespace is a TS keyword but it's fine to use it as a variable name too.\n const message = 'foo';\n const namespace = 'bar';\n */\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),\n literal: LITERALS,\n built_in: BUILT_INS.concat(TYPES),\n \"variable.language\": BUILT_IN_VARIABLES\n };\n\n const DECORATOR = {\n className: 'meta',\n begin: '@' + IDENT_RE$1,\n };\n\n const swapMode = (mode, label, replacement) => {\n const indx = mode.contains.findIndex(m => m.label === label);\n if (indx === -1) { throw new Error(\"can not find mode to replace\"); }\n\n mode.contains.splice(indx, 1, replacement);\n };\n\n\n // this should update anywhere keywords is used since\n // it will be the same actual JS object\n Object.assign(tsLanguage.keywords, KEYWORDS$1);\n\n tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR);\n\n // highlight the function params\n const ATTRIBUTE_HIGHLIGHT = tsLanguage.contains.find(c => c.scope === \"attr\");\n\n // take default attr rule and extend it to support optionals\n const OPTIONAL_KEY_OR_ARGUMENT = Object.assign({},\n ATTRIBUTE_HIGHLIGHT,\n { match: regex.concat(IDENT_RE$1, regex.lookahead(/\\s*\\?:/)) }\n );\n tsLanguage.exports.PARAMS_CONTAINS.push([\n tsLanguage.exports.CLASS_REFERENCE, // class reference for highlighting the params types\n ATTRIBUTE_HIGHLIGHT, // highlight the params key\n OPTIONAL_KEY_OR_ARGUMENT, // Added for optional property assignment highlighting\n ]);\n\n // Add the optional property assignment highlighting for objects or classes\n tsLanguage.contains = tsLanguage.contains.concat([\n DECORATOR,\n NAMESPACE,\n INTERFACE,\n OPTIONAL_KEY_OR_ARGUMENT, // Added for optional property assignment highlighting\n ]);\n\n // TS gets a simpler shebang rule than JS\n swapMode(tsLanguage, \"shebang\", hljs.SHEBANG());\n // JS use strict rule purposely excludes `asm` which makes no sense\n swapMode(tsLanguage, \"use_strict\", USE_STRICT);\n\n const functionDeclaration = tsLanguage.contains.find(m => m.label === \"func.def\");\n functionDeclaration.relevance = 0; // () => {} is more typical in TypeScript\n\n Object.assign(tsLanguage, {\n name: 'TypeScript',\n aliases: [\n 'ts',\n 'tsx',\n 'mts',\n 'cts'\n ]\n });\n\n return tsLanguage;\n}\n\nexport { typescript as default };\n","/*\nLanguage: Visual Basic .NET\nDescription: Visual Basic .NET (VB.NET) is a multi-paradigm, object-oriented programming language, implemented on the .NET Framework.\nAuthors: Poren Chiang , Jan Pilzer\nWebsite: https://docs.microsoft.com/dotnet/visual-basic/getting-started\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction vbnet(hljs) {\n const regex = hljs.regex;\n /**\n * Character Literal\n * Either a single character (\"a\"C) or an escaped double quote (\"\"\"\"C).\n */\n const CHARACTER = {\n className: 'string',\n begin: /\"(\"\"|[^/n])\"C\\b/\n };\n\n const STRING = {\n className: 'string',\n begin: /\"/,\n end: /\"/,\n illegal: /\\n/,\n contains: [\n {\n // double quote escape\n begin: /\"\"/ }\n ]\n };\n\n /** Date Literals consist of a date, a time, or both separated by whitespace, surrounded by # */\n const MM_DD_YYYY = /\\d{1,2}\\/\\d{1,2}\\/\\d{4}/;\n const YYYY_MM_DD = /\\d{4}-\\d{1,2}-\\d{1,2}/;\n const TIME_12H = /(\\d|1[012])(:\\d+){0,2} *(AM|PM)/;\n const TIME_24H = /\\d{1,2}(:\\d{1,2}){1,2}/;\n const DATE = {\n className: 'literal',\n variants: [\n {\n // #YYYY-MM-DD# (ISO-Date) or #M/D/YYYY# (US-Date)\n begin: regex.concat(/# */, regex.either(YYYY_MM_DD, MM_DD_YYYY), / *#/) },\n {\n // #H:mm[:ss]# (24h Time)\n begin: regex.concat(/# */, TIME_24H, / *#/) },\n {\n // #h[:mm[:ss]] A# (12h Time)\n begin: regex.concat(/# */, TIME_12H, / *#/) },\n {\n // date plus time\n begin: regex.concat(\n /# */,\n regex.either(YYYY_MM_DD, MM_DD_YYYY),\n / +/,\n regex.either(TIME_12H, TIME_24H),\n / *#/\n ) }\n ]\n };\n\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n {\n // Float\n begin: /\\b\\d[\\d_]*((\\.[\\d_]+(E[+-]?[\\d_]+)?)|(E[+-]?[\\d_]+))[RFD@!#]?/ },\n {\n // Integer (base 10)\n begin: /\\b\\d[\\d_]*((U?[SIL])|[%&])?/ },\n {\n // Integer (base 16)\n begin: /&H[\\dA-F_]+((U?[SIL])|[%&])?/ },\n {\n // Integer (base 8)\n begin: /&O[0-7_]+((U?[SIL])|[%&])?/ },\n {\n // Integer (base 2)\n begin: /&B[01_]+((U?[SIL])|[%&])?/ }\n ]\n };\n\n const LABEL = {\n className: 'label',\n begin: /^\\w+:/\n };\n\n const DOC_COMMENT = hljs.COMMENT(/'''/, /$/, { contains: [\n {\n className: 'doctag',\n begin: /<\\/?/,\n end: />/\n }\n ] });\n\n const COMMENT = hljs.COMMENT(null, /$/, { variants: [\n { begin: /'/ },\n {\n // TODO: Use multi-class for leading spaces\n begin: /([\\t ]|^)REM(?=\\s)/ }\n ] });\n\n const DIRECTIVES = {\n className: 'meta',\n // TODO: Use multi-class for indentation once available\n begin: /[\\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\\b/,\n end: /$/,\n keywords: { keyword:\n 'const disable else elseif enable end externalsource if region then' },\n contains: [ COMMENT ]\n };\n\n return {\n name: 'Visual Basic .NET',\n aliases: [ 'vb' ],\n case_insensitive: true,\n classNameAliases: { label: 'symbol' },\n keywords: {\n keyword:\n 'addhandler alias aggregate ansi as async assembly auto binary by byref byval ' /* a-b */\n + 'call case catch class compare const continue custom declare default delegate dim distinct do ' /* c-d */\n + 'each equals else elseif end enum erase error event exit explicit finally for friend from function ' /* e-f */\n + 'get global goto group handles if implements imports in inherits interface into iterator ' /* g-i */\n + 'join key let lib loop me mid module mustinherit mustoverride mybase myclass ' /* j-m */\n + 'namespace narrowing new next notinheritable notoverridable ' /* n */\n + 'of off on operator option optional order overloads overridable overrides ' /* o */\n + 'paramarray partial preserve private property protected public ' /* p */\n + 'raiseevent readonly redim removehandler resume return ' /* r */\n + 'select set shadows shared skip static step stop structure strict sub synclock ' /* s */\n + 'take text then throw to try unicode until using when where while widening with withevents writeonly yield' /* t-y */,\n built_in:\n // Operators https://docs.microsoft.com/dotnet/visual-basic/language-reference/operators\n 'addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor '\n // Type Conversion Functions https://docs.microsoft.com/dotnet/visual-basic/language-reference/functions/type-conversion-functions\n + 'cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort',\n type:\n // Data types https://docs.microsoft.com/dotnet/visual-basic/language-reference/data-types\n 'boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort',\n literal: 'true false nothing'\n },\n illegal:\n '//|\\\\{|\\\\}|endif|gosub|variant|wend|^\\\\$ ' /* reserved deprecated keywords */,\n contains: [\n CHARACTER,\n STRING,\n DATE,\n NUMBER,\n LABEL,\n DOC_COMMENT,\n COMMENT,\n DIRECTIVES\n ]\n };\n}\n\nexport { vbnet as default };\n","/*\nLanguage: WebAssembly\nWebsite: https://webassembly.org\nDescription: Wasm is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications.\nCategory: web, common\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction wasm(hljs) {\n hljs.regex;\n const BLOCK_COMMENT = hljs.COMMENT(/\\(;/, /;\\)/);\n BLOCK_COMMENT.contains.push(\"self\");\n const LINE_COMMENT = hljs.COMMENT(/;;/, /$/);\n\n const KWS = [\n \"anyfunc\",\n \"block\",\n \"br\",\n \"br_if\",\n \"br_table\",\n \"call\",\n \"call_indirect\",\n \"data\",\n \"drop\",\n \"elem\",\n \"else\",\n \"end\",\n \"export\",\n \"func\",\n \"global.get\",\n \"global.set\",\n \"local.get\",\n \"local.set\",\n \"local.tee\",\n \"get_global\",\n \"get_local\",\n \"global\",\n \"if\",\n \"import\",\n \"local\",\n \"loop\",\n \"memory\",\n \"memory.grow\",\n \"memory.size\",\n \"module\",\n \"mut\",\n \"nop\",\n \"offset\",\n \"param\",\n \"result\",\n \"return\",\n \"select\",\n \"set_global\",\n \"set_local\",\n \"start\",\n \"table\",\n \"tee_local\",\n \"then\",\n \"type\",\n \"unreachable\"\n ];\n\n const FUNCTION_REFERENCE = {\n begin: [\n /(?:func|call|call_indirect)/,\n /\\s+/,\n /\\$[^\\s)]+/\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n }\n };\n\n const ARGUMENT = {\n className: \"variable\",\n begin: /\\$[\\w_]+/\n };\n\n const PARENS = {\n match: /(\\((?!;)|\\))+/,\n className: \"punctuation\",\n relevance: 0\n };\n\n const NUMBER = {\n className: \"number\",\n relevance: 0,\n // borrowed from Prism, TODO: split out into variants\n match: /[+-]?\\b(?:\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:[eE][+-]?\\d(?:_?\\d)*)?|0x[\\da-fA-F](?:_?[\\da-fA-F])*(?:\\.[\\da-fA-F](?:_?[\\da-fA-D])*)?(?:[pP][+-]?\\d(?:_?\\d)*)?)\\b|\\binf\\b|\\bnan(?::0x[\\da-fA-F](?:_?[\\da-fA-D])*)?\\b/\n };\n\n const TYPE = {\n // look-ahead prevents us from gobbling up opcodes\n match: /(i32|i64|f32|f64)(?!\\.)/,\n className: \"type\"\n };\n\n const MATH_OPERATIONS = {\n className: \"keyword\",\n // borrowed from Prism, TODO: split out into variants\n match: /\\b(f32|f64|i32|i64)(?:\\.(?:abs|add|and|ceil|clz|const|convert_[su]\\/i(?:32|64)|copysign|ctz|demote\\/f64|div(?:_[su])?|eqz?|extend_[su]\\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\\/f32|reinterpret\\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\\/f(?:32|64))?|wrap\\/i64|xor))\\b/\n };\n\n const OFFSET_ALIGN = {\n match: [\n /(?:offset|align)/,\n /\\s*/,\n /=/\n ],\n className: {\n 1: \"keyword\",\n 3: \"operator\"\n }\n };\n\n return {\n name: 'WebAssembly',\n keywords: {\n $pattern: /[\\w.]+/,\n keyword: KWS\n },\n contains: [\n LINE_COMMENT,\n BLOCK_COMMENT,\n OFFSET_ALIGN,\n ARGUMENT,\n PARENS,\n FUNCTION_REFERENCE,\n hljs.QUOTE_STRING_MODE,\n TYPE,\n MATH_OPERATIONS,\n NUMBER\n ]\n };\n}\n\nexport { wasm as default };\n","/*\nLanguage: HTML, XML\nWebsite: https://www.w3.org/XML/\nCategory: common, web\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction xml(hljs) {\n const regex = hljs.regex;\n // XML names can have the following additional letters: https://www.w3.org/TR/xml/#NT-NameChar\n // OTHER_NAME_CHARS = /[:\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]/;\n // Element names start with NAME_START_CHAR followed by optional other Unicode letters, ASCII digits, hyphens, underscores, and periods\n // const TAG_NAME_RE = regex.concat(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/, regex.optional(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*:/), /[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*/);;\n // const XML_IDENT_RE = /[A-Z_a-z:\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]+/;\n // const TAG_NAME_RE = regex.concat(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/, regex.optional(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*:/), /[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*/);\n // however, to cater for performance and more Unicode support rely simply on the Unicode letter class\n const TAG_NAME_RE = regex.concat(/[\\p{L}_]/u, regex.optional(/[\\p{L}0-9_.-]*:/u), /[\\p{L}0-9_.-]*/u);\n const XML_IDENT_RE = /[\\p{L}0-9._:-]+/u;\n const XML_ENTITIES = {\n className: 'symbol',\n begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/\n };\n const XML_META_KEYWORDS = {\n begin: /\\s/,\n contains: [\n {\n className: 'keyword',\n begin: /#?[a-z_][a-z1-9_-]+/,\n illegal: /\\n/\n }\n ]\n };\n const XML_META_PAR_KEYWORDS = hljs.inherit(XML_META_KEYWORDS, {\n begin: /\\(/,\n end: /\\)/\n });\n const APOS_META_STRING_MODE = hljs.inherit(hljs.APOS_STRING_MODE, { className: 'string' });\n const QUOTE_META_STRING_MODE = hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'string' });\n const TAG_INTERNALS = {\n endsWithParent: true,\n illegal: /`]+/ }\n ]\n }\n ]\n }\n ]\n };\n return {\n name: 'HTML, XML',\n aliases: [\n 'html',\n 'xhtml',\n 'rss',\n 'atom',\n 'xjb',\n 'xsd',\n 'xsl',\n 'plist',\n 'wsf',\n 'svg'\n ],\n case_insensitive: true,\n unicodeRegex: true,\n contains: [\n {\n className: 'meta',\n begin: //,\n relevance: 10,\n contains: [\n XML_META_KEYWORDS,\n QUOTE_META_STRING_MODE,\n APOS_META_STRING_MODE,\n XML_META_PAR_KEYWORDS,\n {\n begin: /\\[/,\n end: /\\]/,\n contains: [\n {\n className: 'meta',\n begin: //,\n contains: [\n XML_META_KEYWORDS,\n XML_META_PAR_KEYWORDS,\n QUOTE_META_STRING_MODE,\n APOS_META_STRING_MODE\n ]\n }\n ]\n }\n ]\n },\n hljs.COMMENT(\n //,\n { relevance: 10 }\n ),\n {\n begin: //,\n relevance: 10\n },\n XML_ENTITIES,\n // xml processing instructions\n {\n className: 'meta',\n end: /\\?>/,\n variants: [\n {\n begin: /<\\?xml/,\n relevance: 10,\n contains: [\n QUOTE_META_STRING_MODE\n ]\n },\n {\n begin: /<\\?[a-z][a-z0-9]+/,\n }\n ]\n\n },\n {\n className: 'tag',\n /*\n The lookahead pattern (?=...) ensures that 'begin' only matches\n ')/,\n end: />/,\n keywords: { name: 'style' },\n contains: [ TAG_INTERNALS ],\n starts: {\n end: /<\\/style>/,\n returnEnd: true,\n subLanguage: [\n 'css',\n 'xml'\n ]\n }\n },\n {\n className: 'tag',\n // See the comment in the