From abe261475f03148ef69f142004f0a18827c1f725 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 24 May 2026 04:24:57 +0000 Subject: [PATCH] fix(deps): Fix npm audit Signed-off-by: GitHub --- css/password_policy-settings.css | 2 +- css/settings-BO3NAL_s.chunk.css | 1 - css/settings-C1bZls6f.chunk.css | 4 + js/password_policy-settings.mjs | 18 +- js/password_policy-settings.mjs.license | 31 +- js/password_policy-settings.mjs.map | 2 +- js/password_policy-settings.mjs.map.license | 31 +- package-lock.json | 940 ++++++++++++-------- 8 files changed, 623 insertions(+), 406 deletions(-) delete mode 100644 css/settings-BO3NAL_s.chunk.css create mode 100644 css/settings-C1bZls6f.chunk.css diff --git a/css/password_policy-settings.css b/css/password_policy-settings.css index 6e5b30ed..340d48ee 100644 --- a/css/password_policy-settings.css +++ b/css/password_policy-settings.css @@ -1,2 +1,2 @@ /* extracted by css-entry-points-plugin */ -@import './settings-BO3NAL_s.chunk.css'; \ No newline at end of file +@import './settings-C1bZls6f.chunk.css'; \ No newline at end of file diff --git a/css/settings-BO3NAL_s.chunk.css b/css/settings-BO3NAL_s.chunk.css deleted file mode 100644 index c64cf457..00000000 --- a/css/settings-BO3NAL_s.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.material-design-icon[data-v-5e563b2b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.settings-section[data-v-5e563b2b]{display:block;margin-bottom:auto;padding:30px}.settings-section[data-v-5e563b2b]:not(:last-child){border-bottom:1px solid var(--color-border)}.settings-section--limit-width>*[data-v-5e563b2b]{max-width:900px}.settings-section__name[data-v-5e563b2b]{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;max-width:900px;margin-top:0}.settings-section__info[data-v-5e563b2b]{display:flex;align-items:center;justify-content:center;width:var(--default-clickable-area);height:var(--default-clickable-area);margin:calc((var(--default-clickable-area) - 16px) / 2 * -1);margin-inline-start:0;color:var(--color-text-maxcontrast)}.settings-section__info[data-v-5e563b2b]:hover,.settings-section__info[data-v-5e563b2b]:focus,.settings-section__info[data-v-5e563b2b]:active{color:var(--color-main-text)}.settings-section__desc[data-v-5e563b2b]{margin-top:-.2em;margin-bottom:1em;color:var(--color-text-maxcontrast);max-width:900px}.material-design-icon[data-v-9624cf58]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-9624cf58]{--button-size: var(--default-clickable-area);--button-inner-size: calc(var(--button-size) - 4px);--button-radius: var(--border-radius-element, calc(var(--button-size) / 2));--button-padding-default: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));--button-padding: var(--default-grid-baseline) var(--button-padding-default);color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light);border:1px solid var(--color-primary-element-light-hover);border-bottom-width:2px;border-radius:var(--button-radius);box-sizing:border-box;position:relative;width:fit-content;overflow:hidden;padding-block:1px 0;padding-inline:var(--button-padding);min-height:var(--button-size);min-width:var(--button-size);display:flex;align-items:center;justify-content:center;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;cursor:pointer;font-size:var(--default-font-size);font-weight:700}.button-vue--size-small[data-v-9624cf58]{--button-size: var(--clickable-area-small, 24px);--button-radius: var(--border-radius)}.button-vue--size-large[data-v-9624cf58]{--button-size: var(--clickable-area-large, 48px)}.button-vue[data-v-9624cf58],.button-vue[data-v-9624cf58] *{cursor:pointer}.button-vue[data-v-9624cf58]:focus{outline:none}.button-vue[data-v-9624cf58]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue[data-v-9624cf58]:disabled *{cursor:default}.button-vue[data-v-9624cf58]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-9624cf58]:active{background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-9624cf58]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-9624cf58]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-9624cf58]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-9624cf58]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-9624cf58]{--button-padding: var(--button-padding-default) var(--default-grid-baseline)}.button-vue__icon[data-v-9624cf58]{--default-clickable-area: var(--button-inner-size);height:var(--button-inner-size);width:var(--button-inner-size);min-height:var(--button-inner-size);min-width:var(--button-inner-size);display:flex;justify-content:center;align-items:center}.button-vue--size-small .button-vue__icon[data-v-9624cf58]>*{max-height:16px;max-width:16px}.button-vue--size-small .button-vue__icon[data-v-9624cf58] svg{height:16px;width:16px}.button-vue__text[data-v-9624cf58]{font-weight:700;margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-9624cf58]{--button-padding: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));line-height:1;width:var(--button-size)!important}.button-vue--text-only[data-v-9624cf58]{--button-padding: var(--button-padding-default)}.button-vue--text-only .button-vue__text[data-v-9624cf58]{margin-inline:4px}.button-vue--wide[data-v-9624cf58]{width:100%}.button-vue[data-v-9624cf58]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-9624cf58]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius-element, var(--border-radius));background-color:transparent}.button-vue--vue-primary[data-v-9624cf58]{background-color:var(--color-primary-element);border-color:var(--color-primary-element-hover);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-9624cf58]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-9624cf58]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-9624cf58]{background-color:var(--color-primary-element-light);border-color:var(--color-primary-element-light-hover);color:var(--color-primary-element-light-text)}.button-vue--vue-secondary[data-v-9624cf58]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--tertiary[data-v-9624cf58],.button-vue--vue-tertiary[data-v-9624cf58]{background-color:transparent;border-color:transparent;color:var(--color-main-text)}.button-vue--tertiary[data-v-9624cf58]:hover:not(:disabled),.button-vue--vue-tertiary[data-v-9624cf58]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--vue-tertiary-no-background[data-v-9624cf58]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-9624cf58]{color:var(--color-primary-element-text)}.button-vue--vue-tertiary-on-primary[data-v-9624cf58]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-9624cf58]{background-color:var(--color-success);border-color:var(--color-success-hover);color:var(--color-success-text)}.button-vue--vue-success[data-v-9624cf58]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-9624cf58]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-9624cf58]{background-color:var(--color-warning);border-color:var(--color-warning-hover);color:var(--color-warning-text)}.button-vue--vue-warning[data-v-9624cf58]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-9624cf58]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-9624cf58]{background-color:var(--color-error);border-color:var(--color-error-hover);color:var(--color-error-text)}.button-vue--vue-error[data-v-9624cf58]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-9624cf58]:active{background-color:var(--color-error)}.button-vue--legacy[data-v-9624cf58]{--button-inner-size: var(--button-size);border:none}.button-vue--legacy.button-vue--vue-error[data-v-9624cf58],.button-vue--legacy.button-vue--vue-success[data-v-9624cf58],.button-vue--legacy.button-vue--vue-warning[data-v-9624cf58]{color:#fff}.material-design-icon[data-v-3714b019]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-content[data-v-3714b019]{display:flex;align-items:center;flex-direction:row;gap:var(--default-grid-baseline);-webkit-user-select:none;user-select:none;min-height:var(--default-clickable-area);border-radius:var(--checkbox-radio-switch--border-radius);padding:var(--default-grid-baseline) calc((var(--default-clickable-area) - var(--icon-height)) / 2);width:100%;max-width:fit-content}.checkbox-content__text[data-v-3714b019]{flex:1 0}.checkbox-content__text[data-v-3714b019]:empty{display:none}.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3714b019],.checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3714b019],.checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3714b019]{margin-block:calc((var(--default-clickable-area) - 2 * var(--default-grid-baseline) - var(--icon-height)) / 2) auto}.checkbox-content__icon>*[data-v-3714b019]{width:var(--icon-size);height:var(--icon-height);color:var(--color-primary-element)}.checkbox-content--button-variant .checkbox-content__icon:not(.checkbox-content__icon--checked)>*[data-v-3714b019]{color:var(--color-primary-element)}.checkbox-content--button-variant .checkbox-content__icon--checked>*[data-v-3714b019]{color:var(--color-primary-element-text)}.checkbox-content--has-text[data-v-3714b019]{padding-right:calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-content[data-v-3714b019],.checkbox-content *[data-v-3714b019]{cursor:pointer;flex-shrink:0}.material-design-icon[data-v-2c897dd5]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-radio-switch[data-v-2c897dd5]{display:flex;align-items:center;color:var(--color-main-text);background-color:transparent;box-sizing:border-box;font-size:var(--default-font-size);line-height:var(--default-line-height);padding:0;position:relative;--checkbox-radio-switch--border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));--checkbox-radio-switch--border-radius-outer: calc(var(--checkbox-radio-switch--border-radius) + 2px)}.checkbox-radio-switch *[data-v-2c897dd5]{box-sizing:border-box}.checkbox-radio-switch__input[data-v-2c897dd5]{position:absolute;z-index:-1;opacity:0!important;width:var(--icon-size);height:var(--icon-size);margin:4px calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-radio-switch__input:focus-visible+.checkbox-radio-switch__content[data-v-2c897dd5],.checkbox-radio-switch__input[data-v-2c897dd5]:focus-visible{outline:2px solid var(--color-main-text);border-color:var(--color-main-background);outline-offset:-2px}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-2c897dd5]{opacity:.5}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-2c897dd5] .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-2c897dd5],.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-2c897dd5] *:not(a){cursor:default!important}.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-2c897dd5],.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-2c897dd5]:hover{background-color:var(--color-background-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-2c897dd5],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-2c897dd5]:hover{background-color:var(--color-primary-element-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-2c897dd5],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-2c897dd5]:hover{background-color:var(--color-primary-element-light-hover)}.checkbox-radio-switch-switch[data-v-2c897dd5]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-text-maxcontrast)}.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-2c897dd5] .checkbox-radio-switch__icon>*{color:var(--color-primary-element-light)}.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-2c897dd5]{background-color:var(--color-main-background);border:2px solid var(--color-border-maxcontrast);overflow:hidden}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-2c897dd5]{font-weight:700}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-2c897dd5]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.checkbox-radio-switch--button-variant[data-v-2c897dd5] .checkbox-radio-switch__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.checkbox-radio-switch--button-variant[data-v-2c897dd5]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--button-variant[data-v-2c897dd5] .checkbox-radio-switch__icon:empty{display:none}.checkbox-radio-switch--button-variant[data-v-2c897dd5]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped),.checkbox-radio-switch--button-variant .checkbox-radio-switch__content[data-v-2c897dd5]{border-radius:var(--checkbox-radio-switch--border-radius)}.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-2c897dd5]{flex-basis:100%;max-width:unset}.checkbox-radio-switch--button-variant-v-grouped[data-v-2c897dd5]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-2c897dd5]:last-of-type{border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-2c897dd5]:not(:last-of-type){border-bottom:0!important}.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-2c897dd5]{margin-bottom:2px}.checkbox-radio-switch--button-variant-v-grouped[data-v-2c897dd5]:not(:first-of-type){border-top:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-2c897dd5]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-2c897dd5]:last-of-type{border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-2c897dd5]:not(:last-of-type){border-inline-end:0!important}.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-2c897dd5]{margin-inline-end:2px}.checkbox-radio-switch--button-variant-h-grouped[data-v-2c897dd5]:not(:first-of-type){border-inline-start:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-2c897dd5] .checkbox-radio-switch__text{text-align:center;display:flex;align-items:center}.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-2c897dd5]{flex-direction:column;justify-content:center;width:100%;margin:0;gap:0}.material-design-icon[data-v-d5de7f82]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.loading-icon[data-v-d5de7f82]{overflow:hidden}.loading-icon svg[data-v-d5de7f82]{animation:rotate var(--animation-duration, .8s) linear infinite}.material-design-icon[data-v-d3e09474]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.input-field[data-v-d3e09474]{--input-border-radius: var(--border-radius-element, var(--border-radius-large));--input-padding-start: var(--border-radius-large);--input-padding-end: var(--border-radius-large);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-d3e09474]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-d3e09474]{margin-block-start:0}.input-field--leading-icon[data-v-d3e09474]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-d3e09474]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-d3e09474]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-d3e09474]{height:var(--default-clickable-area);position:relative}.input-field__input[data-v-d3e09474]{--input-border-width-offset: calc(var(--border-width-input-focused, 2px) - var(--border-width-input, 2px));background-color:var(--color-main-background);color:var(--color-main-text);border:var(--border-width-input, 2px) solid var(--color-border-maxcontrast);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;height:calc(var(--default-clickable-area) - 2 * var(--input-border-width-offset))!important;width:100%;padding-inline:calc(var(--input-padding-start) + var(--input-border-width-offset)) calc(var(--input-padding-end) + var(--input-border-width-offset));padding-block:var(--input-border-width-offset)}.input-field__input[data-v-d3e09474]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-d3e09474]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-d3e09474]::-webkit-search-decoration,.input-field__input[data-v-d3e09474]::-webkit-search-results-button,.input-field__input[data-v-d3e09474]::-webkit-search-results-decoration,.input-field__input[data-v-d3e09474]::-ms-clear{display:none}.input-field__input[data-v-d3e09474]:active:not([disabled]),.input-field__input[data-v-d3e09474]:hover:not([disabled]),.input-field__input[data-v-d3e09474]:focus:not([disabled]){border-color:var(--color-main-text);border-width:var(--border-width-input-focused, 2px);box-shadow:0 0 0 2px var(--color-main-background)!important;--input-border-width-offset: 0px}.input-field__input:focus+.input-field__label[data-v-d3e09474],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-d3e09474]{color:var(--color-main-text)}.input-field__input[data-v-d3e09474]:focus{cursor:text}.input-field__input[data-v-d3e09474]:disabled{cursor:default}.input-field__input[data-v-d3e09474]:focus-visible{box-shadow:unset!important}.input-field__input--success[data-v-d3e09474]{border-color:var(--color-success)!important}.input-field__input--success[data-v-d3e09474]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__input--error[data-v-d3e09474],.input-field__input[data-v-d3e09474]:user-invalid{border-color:var(--color-error)!important}.input-field__input--error[data-v-d3e09474]:focus-visible,.input-field__input[data-v-d3e09474]: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:not(.input-field--label-outside) .input-field__input[data-v-d3e09474]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-d3e09474]{--input-label-font-size: var(--default-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;font-size:var(--input-label-font-size);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-d3e09474],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-d3e09474]{--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-d3e09474]{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-d3e09474]{inset-inline-start:0px}.input-field__icon--trailing[data-v-d3e09474]{inset-inline-end:0px}.input-field__trailing-button[data-v-d3e09474]{--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-d3e09474]{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-d3e09474]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-d3e09474]{padding-block:4px;padding-inline:var(--border-radius-large);display:flex;align-items:center;color:var(--color-text-maxcontrast)}.input-field__helper-text-message__icon[data-v-d3e09474]{margin-inline-end:8px}.input-field__helper-text-message--error[data-v-d3e09474]{color:var(--color-text-error, var(--color-error))}.input-field__helper-text-message--success .input-field__helper-text-message__icon[data-v-d3e09474]{color:var(--color-border-success, var(--color-success))}._heading_nsb3k_2{font-size:18px;margin-top:0}._headingWrapper_nsb3k_7{display:flex;justify-content:space-between}._hint_nsb3k_12{color:var(--color-text-maxcontrast);margin-inline-start:12px}._inputField_nsb3k_17{max-width:350px}.material-design-icon[data-v-7df28e9e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.notecard[data-v-7df28e9e]{--note-card-icon-size: 20px;--note-card-padding: calc(2 * var(--default-grid-baseline));color:var(--color-main-text)!important;background-color:var(--note-background)!important;border-inline-start:var(--default-grid-baseline) solid var(--note-theme);border-radius:var(--border-radius);margin:1rem 0;padding:var(--note-card-padding);display:flex;flex-direction:row;gap:var(--note-card-padding)}.notecard__heading[data-v-7df28e9e]{font-size:var(--note-card-icon-size);font-weight:600}.notecard__icon--heading[data-v-7df28e9e]{font-size:var(--note-card-icon-size);margin-block:calc((1lh - 1em)/2) auto}.notecard--success[data-v-7df28e9e]{--note-background: rgba(var(--color-success-rgb), .1);--note-theme: var(--color-success)}.notecard--info[data-v-7df28e9e]{--note-background: rgba(var(--color-info-rgb), .1);--note-theme: var(--color-info)}.notecard--error[data-v-7df28e9e]{--note-background: rgba(var(--color-error-rgb), .1);--note-theme: var(--color-error)}.notecard--warning[data-v-7df28e9e]{--note-background: rgba(var(--color-warning-rgb), .1);--note-theme: var(--color-warning)}._form_5u8co_2{display:flex;flex-direction:column;gap:calc(2 * var(--default-grid-baseline))}._heading_5u8co_8{font-size:18px;margin-top:0}._inputField_5u8co_13{max-width:600px}.material-design-icon[data-v-bc42d907]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-bc42d907]{display:flex;align-items:center;gap:calc((var(--default-clickable-area) - 16px) / 2 / 2)}.action-item[data-v-bc42d907]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-bc42d907]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-bc42d907]{--open-background-color: var(--color-primary-element-light-hover)}.action-item.action-item--error[data-v-bc42d907]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-bc42d907]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-bc42d907]{--open-background-color: var(--color-success-hover)}.action-item.action-item--tertiary-no-background[data-v-bc42d907]{--open-background-color: transparent}.action-item.action-item--open .action-item__menutoggle[data-v-bc42d907]{background-color:var(--open-background-color)}.action-item__menutoggle__icon[data-v-bc42d907]{width:20px;height:20px;object-fit:contain}.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__wrapper{border-radius:var(--border-radius-large)}.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__wrapper .v-popper__inner{border-radius:var(--border-radius-large);padding:4px;max-height:calc(100vh - var(--header-height));overflow:auto}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper--theme-dropdown.v-popper__popper{z-index:100000;top:0;left:0;display:block!important}.v-popper--theme-dropdown.v-popper__popper .v-popper__wrapper{box-shadow:0 1px 10px var(--color-box-shadow);border-radius:var(--border-radius-large)}.v-popper--theme-dropdown.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius-large);overflow:hidden;background:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;border-style:solid;border-color:transparent;border-width:10px}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-9px;border-bottom-width:0;border-top-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-9px;border-top-width:0;border-bottom-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{left:-9px;border-left-width:0;border-right-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-9px;border-right-width:0;border-left-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}.material-design-icon[data-v-102cfc0a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-102cfc0a]:hover,li.action.active[data-v-102cfc0a]{border-radius:6px;padding:0}li.action[data-v-102cfc0a]:hover{background-color:var(--color-background-hover)}.action--disabled[data-v-102cfc0a]{pointer-events:none;opacity:.5}.action--disabled[data-v-102cfc0a]:hover,.action--disabled[data-v-102cfc0a]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-102cfc0a]{opacity:1!important}.action-button[data-v-102cfc0a]{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-102cfc0a]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-102cfc0a]{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-102cfc0a] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-102cfc0a] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-102cfc0a],.action-button__longtext[data-v-102cfc0a]{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-102cfc0a]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-102cfc0a]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-button__description[data-v-102cfc0a]{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-102cfc0a],.action-button__pressed-icon[data-v-102cfc0a]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action-button *[data-v-102cfc0a]{cursor:pointer}.material-design-icon[data-v-a4f5b92e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-vue[data-v-a4f5b92e]{--icon-size: var(--adec40c8);display:flex;justify-content:center;align-items:center;min-width:var(--default-clickable-area);min-height:var(--default-clickable-area);opacity:1}.icon-vue--inline[data-v-a4f5b92e]{display:inline-flex;min-width:fit-content;min-height:fit-content;vertical-align:text-bottom}.icon-vue span[data-v-a4f5b92e]{line-height:0}.icon-vue[data-v-a4f5b92e] svg{fill:currentColor;width:var(--icon-size, 20px);height:var(--icon-size, 20px);max-width:var(--icon-size, 20px);max-height:var(--icon-size, 20px)}.icon-vue--directional[data-v-a4f5b92e] svg:dir(rtl){transform:scaleX(-1)}._container_10xyb_2{display:flex;align-items:center;justify-content:center}._policyWrapper_18ut1_2{display:flex;flex-wrap:wrap;gap:8px}._policyWrapper_18ut1_2>*{min-width:446px;max-width:446px;padding:8px;border:1px solid var(--color-border);border-radius:var(--border-radius-container)} diff --git a/css/settings-C1bZls6f.chunk.css b/css/settings-C1bZls6f.chunk.css new file mode 100644 index 00000000..0c367556 --- /dev/null +++ b/css/settings-C1bZls6f.chunk.css @@ -0,0 +1,4 @@ +.material-design-icon[data-v-56b92b56]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.settings-section[data-v-56b92b56]{display:block;margin-bottom:auto;padding:30px}.settings-section[data-v-56b92b56]:not(:last-child){border-bottom:1px solid var(--color-border)}.settings-section--limit-width>*[data-v-56b92b56]{max-width:900px}.settings-section__name[data-v-56b92b56]{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;max-width:900px;margin-top:0}.settings-section__info[data-v-56b92b56]{display:flex;align-items:center;justify-content:center;width:var(--default-clickable-area);height:var(--default-clickable-area);margin:calc((var(--default-clickable-area) - 16px) / 2 * -1);margin-inline-start:0;color:var(--color-text-maxcontrast)}.settings-section__info[data-v-56b92b56]:hover,.settings-section__info[data-v-56b92b56]:focus,.settings-section__info[data-v-56b92b56]:active{color:var(--color-main-text)}.settings-section__desc[data-v-56b92b56]{margin-top:-.2em;margin-bottom:1em;color:var(--color-text-maxcontrast);max-width:900px}.material-design-icon[data-v-c3872a2f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-c3872a2f]{--button-size: var(--default-clickable-area);--button-inner-size: calc(var(--button-size) - 4px);--button-radius: var(--border-radius-element, calc(var(--button-size) / 2));--button-padding-default: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));--button-padding: var(--default-grid-baseline) var(--button-padding-default);color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light);border:1px solid var(--color-primary-element-light-hover);border-bottom-width:2px;border-radius:var(--button-radius);box-sizing:border-box;position:relative;width:fit-content;overflow:hidden;padding-block:1px 0;padding-inline:var(--button-padding);min-height:var(--button-size);min-width:var(--button-size);display:flex;align-items:center;justify-content:center;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;cursor:pointer;font-size:var(--default-font-size);font-weight:700}.button-vue--size-small[data-v-c3872a2f]{--button-size: var(--clickable-area-small, 24px);--button-radius: var(--border-radius)}.button-vue--size-large[data-v-c3872a2f]{--button-size: var(--clickable-area-large, 48px)}.button-vue[data-v-c3872a2f],.button-vue[data-v-c3872a2f] *{cursor:pointer}.button-vue[data-v-c3872a2f]:focus{outline:none}.button-vue[data-v-c3872a2f]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue[data-v-c3872a2f]:disabled *{cursor:default}.button-vue[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-c3872a2f]:active:not(:disabled){background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-c3872a2f]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-c3872a2f]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-c3872a2f]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-c3872a2f]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-c3872a2f]{--button-padding: var(--button-padding-default) var(--default-grid-baseline)}.button-vue__icon[data-v-c3872a2f]{--default-clickable-area: var(--button-inner-size);height:var(--button-inner-size);width:var(--button-inner-size);min-height:var(--button-inner-size);min-width:var(--button-inner-size);display:flex;justify-content:center;align-items:center}.button-vue--size-small .button-vue__icon[data-v-c3872a2f]>*{max-height:16px;max-width:16px}.button-vue--size-small .button-vue__icon[data-v-c3872a2f] svg{height:16px;width:16px}.button-vue__text[data-v-c3872a2f]{font-weight:700;margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-c3872a2f]{--button-padding: clamp(var(--default-grid-baseline), var(--button-radius), calc(var(--default-grid-baseline) * 4));line-height:1;width:var(--button-size)!important}.button-vue--text-only[data-v-c3872a2f]{--button-padding: var(--button-padding-default)}.button-vue--text-only .button-vue__text[data-v-c3872a2f]{margin-inline:4px}.button-vue--wide[data-v-c3872a2f]{width:100%}.button-vue[data-v-c3872a2f]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-c3872a2f]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius-element, var(--border-radius));background-color:transparent}.button-vue--vue-primary[data-v-c3872a2f]{background-color:var(--color-primary-element);border-color:var(--color-primary-element-hover);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-c3872a2f]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-c3872a2f]{background-color:var(--color-primary-element-light);border-color:var(--color-primary-element-light-hover);color:var(--color-primary-element-light-text)}.button-vue--vue-secondary[data-v-c3872a2f]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--tertiary[data-v-c3872a2f],.button-vue--vue-tertiary[data-v-c3872a2f]{background-color:transparent;border-color:transparent;color:var(--color-main-text)}.button-vue--tertiary[data-v-c3872a2f]:hover:not(:disabled),.button-vue--vue-tertiary[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--tertiary[data-v-c3872a2f]:not(.button-vue--legacy34):hover:not(:disabled){background-color:color-mix(in srgb,var(--color-primary-element) 8%,transparent)}.button-vue--vue-tertiary-no-background[data-v-c3872a2f]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-c3872a2f]{color:var(--color-primary-element-text)}.button-vue--vue-tertiary-on-primary[data-v-c3872a2f]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-c3872a2f]{background-color:var(--color-success);border-color:var(--color-success-hover);color:var(--color-success-text)}.button-vue--vue-success[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-c3872a2f]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-c3872a2f]{background-color:var(--color-warning);border-color:var(--color-warning-hover);color:var(--color-warning-text)}.button-vue--vue-warning[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-c3872a2f]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-c3872a2f]{background-color:var(--color-error);border-color:var(--color-error-hover);color:var(--color-error-text)}.button-vue--vue-error[data-v-c3872a2f]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-c3872a2f]:active{background-color:var(--color-error)}.button-vue--legacy[data-v-c3872a2f]{--button-inner-size: var(--button-size);border:none;padding-block:0}.button-vue--legacy.button-vue--vue-error[data-v-c3872a2f],.button-vue--legacy.button-vue--vue-success[data-v-c3872a2f],.button-vue--legacy.button-vue--vue-warning[data-v-c3872a2f]{color:#fff}.material-design-icon[data-v-3fb1ae25]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-content[data-v-3fb1ae25]{display:flex;align-items:center;flex-direction:row;gap:var(--default-grid-baseline);-webkit-user-select:none;user-select:none;min-height:var(--default-clickable-area);border-radius:var(--checkbox-radio-switch--border-radius);padding:var(--default-grid-baseline) calc((var(--default-clickable-area) - var(--icon-height)) / 2);width:100%;max-width:fit-content}.checkbox-content__wrapper[data-v-3fb1ae25]{flex:1 0}.checkbox-content__text[data-v-3fb1ae25]:empty{display:none}.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3fb1ae25],.checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3fb1ae25],.checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-3fb1ae25]{margin-block:calc((var(--default-clickable-area) - 2 * var(--default-grid-baseline) - var(--icon-height)) / 2) auto;line-height:0}.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-3fb1ae25],.checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-3fb1ae25],.checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-3fb1ae25]{display:flex;align-items:center;margin-block-end:0;align-self:start}.checkbox-content__icon>*[data-v-3fb1ae25]{width:var(--icon-size);height:var(--icon-height);color:var(--color-primary-element)}.checkbox-content__description[data-v-3fb1ae25]{display:block;color:var(--color-text-maxcontrast)}.checkbox-content--button-variant .checkbox-content__icon:not(.checkbox-content__icon--checked)>*[data-v-3fb1ae25]{color:var(--color-primary-element)}.checkbox-content--button-variant .checkbox-content__icon--checked>*[data-v-3fb1ae25]{color:var(--color-primary-element-text)}.checkbox-content--has-text[data-v-3fb1ae25]{padding-right:calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-content[data-v-3fb1ae25],.checkbox-content *[data-v-3fb1ae25]{cursor:pointer;flex-shrink:0}.material-design-icon[data-v-f21394d2]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.checkbox-radio-switch[data-v-f21394d2]{--icon-size: var(--356a9460);--icon-height: var(--ab21a194);display:flex;align-items:center;color:var(--color-main-text);background-color:transparent;box-sizing:border-box;font-size:var(--default-font-size);line-height:var(--default-line-height);padding:0;position:relative}.checkbox-radio-switch *[data-v-f21394d2]{box-sizing:border-box}.checkbox-radio-switch__input[data-v-f21394d2]{position:absolute;z-index:-1;opacity:0!important;width:var(--icon-size);height:var(--icon-size);margin:4px calc((var(--default-clickable-area) - 16px) / 2)}.checkbox-radio-switch__input:focus-visible+.checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch__input[data-v-f21394d2]:focus-visible{outline:2px solid var(--color-main-text);border-color:var(--color-main-background);outline-offset:-2px}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-f21394d2]{opacity:.5}.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-f21394d2] .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-f21394d2],.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-f21394d2] *:not(a){cursor:default!important}.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch:not(.checkbox-radio-switch--disabled,.checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-f21394d2]:hover{background-color:var(--color-background-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-f21394d2]:hover{background-color:var(--color-primary-element-hover)}.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-f21394d2],.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-f21394d2]:hover{background-color:var(--color-primary-element-light-hover)}.checkbox-radio-switch-switch[data-v-f21394d2]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-text-maxcontrast)}.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-f21394d2] .checkbox-radio-switch__icon>*{color:var(--color-primary-element-light)}.checkbox-radio-switch[data-v-f21394d2]{--checkbox-radio-switch--border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));--checkbox-radio-switch--border-radius-outer: calc(var(--checkbox-radio-switch--border-radius) + 2px)}.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-f21394d2]{background-color:var(--color-main-background);border:2px solid var(--color-border-maxcontrast);overflow:hidden}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-f21394d2]{font-weight:700}.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-f21394d2]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.checkbox-radio-switch--button-variant[data-v-f21394d2] .checkbox-radio-switch__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.checkbox-radio-switch--button-variant[data-v-f21394d2]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon>*{color:var(--color-main-text)}.checkbox-radio-switch--button-variant[data-v-f21394d2] .checkbox-radio-switch__icon:empty{display:none}.checkbox-radio-switch--button-variant[data-v-f21394d2]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped),.checkbox-radio-switch--button-variant .checkbox-radio-switch__content[data-v-f21394d2]{border-radius:var(--checkbox-radio-switch--border-radius)}.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-f21394d2]{flex-basis:100%;max-width:unset}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:last-of-type{border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:not(:last-of-type){border-bottom:0!important}.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-f21394d2]{margin-bottom:2px}.checkbox-radio-switch--button-variant-v-grouped[data-v-f21394d2]:not(:first-of-type){border-top:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:first-of-type{border-start-start-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-start-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:last-of-type{border-start-end-radius:var(--checkbox-radio-switch--border-radius-outer);border-end-end-radius:var(--checkbox-radio-switch--border-radius-outer)}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:not(:last-of-type){border-inline-end:0!important}.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-f21394d2]{margin-inline-end:2px}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2]:not(:first-of-type){border-inline-start:0!important}.checkbox-radio-switch--button-variant-h-grouped[data-v-f21394d2] .checkbox-radio-switch__text{text-align:center;display:flex;align-items:center}.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-f21394d2]{flex-direction:column;justify-content:center;width:100%;margin:0;gap:0}._material-design-icon_YB2B5{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}._iconToggleSwitch_ZSKWf{color:var(--2d1b8583);transition:color var(--animation-quick) ease}._iconToggleSwitch_ZSKWf svg{height:auto!important}._iconToggleSwitch_ZSKWf circle{cx:var(--78386a55);transition:cx var(--animation-quick) ease}.material-design-icon[data-v-4625d649]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-vue[data-v-4625d649]{--icon-size: var(--dad67fa8);display:flex;justify-content:center;align-items:center;min-width:var(--default-clickable-area);min-height:var(--default-clickable-area);opacity:1}.icon-vue--inline[data-v-4625d649]{display:inline-flex;min-width:fit-content;min-height:fit-content;vertical-align:text-bottom}.icon-vue span[data-v-4625d649]{line-height:0}.icon-vue[data-v-4625d649] svg{fill:currentColor;width:var(--icon-size, 20px);height:var(--icon-size, 20px);max-width:var(--icon-size, 20px);max-height:var(--icon-size, 20px)}.icon-vue--directional[data-v-4625d649] svg:dir(rtl){transform:scaleX(-1)}.material-design-icon[data-v-94ff8098]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.loading-icon[data-v-94ff8098]{overflow:hidden}.loading-icon svg[data-v-94ff8098]{animation:rotate var(--animation-duration, .8s) linear infinite}.material-design-icon[data-v-2bc46a58]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}/*! + * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */.input-field[data-v-2bc46a58]{--input-border-color: var(--color-border-maxcontrast);--input-border-radius: var(--border-radius-element);--input-padding-start: var(--border-radius-large);--input-padding-end: var(--border-radius-large);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-2bc46a58]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-2bc46a58]{margin-block-start:0}.input-field--leading-icon[data-v-2bc46a58]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-2bc46a58]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-2bc46a58]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-2bc46a58]{height:var(--default-clickable-area);padding:var(--border-width-input-focused, 2px);position:relative}.input-field__input[data-v-2bc46a58]{--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-2bc46a58]: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-2bc46a58]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .input-field__input[data-v-2bc46a58]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .input-field__input[data-v-2bc46a58]{--input-border-box-shadow: var(--input-border-box-shadow-light)}.input-field--legacy .input-field__input[data-v-2bc46a58]{box-shadow:0 0 0 1px var(--input-border-color)}.input-field--legacy .input-field__input[data-v-2bc46a58]:hover:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color)}.input-field__input[data-v-2bc46a58]:focus-within:not([disabled]),.input-field__input[data-v-2bc46a58]: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-2bc46a58]{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-2bc46a58]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-2bc46a58]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-2bc46a58]::-webkit-search-decoration,.input-field__input[data-v-2bc46a58]::-webkit-search-results-button,.input-field__input[data-v-2bc46a58]::-webkit-search-results-decoration,.input-field__input[data-v-2bc46a58]::-ms-clear{display:none}.input-field__input[data-v-2bc46a58]:active:not([disabled]),.input-field__input[data-v-2bc46a58]:focus:not([disabled]){--input-border-color: var(--color-main-text)}.input-field__input:focus+.input-field__label[data-v-2bc46a58],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-2bc46a58]{color:var(--color-main-text)}.input-field__input[data-v-2bc46a58]:focus{cursor:text}.input-field__input[data-v-2bc46a58]:disabled{cursor:default}.input-field__input[data-v-2bc46a58]:focus-visible{box-shadow:unset!important}.input-field__input--success[data-v-2bc46a58]{border-color:var(--color-border-success, var(--color-success))!important}.input-field__input--success[data-v-2bc46a58]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__input--error[data-v-2bc46a58],.input-field__input[data-v-2bc46a58]:user-invalid{border-color:var(--color-border-error, var(--color-error))!important}.input-field__input--error[data-v-2bc46a58]:focus-visible,.input-field__input[data-v-2bc46a58]: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:not(.input-field--label-outside) .input-field__input[data-v-2bc46a58]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-2bc46a58]{--input-label-font-size: var(--default-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;font-size:var(--input-label-font-size);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-2bc46a58],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-2bc46a58]{--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-2bc46a58]{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-2bc46a58]{inset-inline-start:0px}.input-field__icon--trailing[data-v-2bc46a58]{inset-inline-end:0px}.input-field__trailing-button[data-v-2bc46a58]{--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-2bc46a58]{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-2bc46a58]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-2bc46a58]{padding-block:4px;padding-inline:var(--border-radius-large);display:flex;align-items:center;color:var(--color-text-maxcontrast);overflow-wrap:anywhere}.input-field__helper-text-message__icon[data-v-2bc46a58]{margin-inline-end:8px}.input-field__helper-text-message--error[data-v-2bc46a58]{color:var(--color-text-error, var(--color-error))}.input-field--error .input-field__input[data-v-2bc46a58],.input-field__input[data-v-2bc46a58]:user-invalid{--input-border-color: var(--color-border-error, var(--color-error)) !important}.input-field--error .input-field__input[data-v-2bc46a58]:focus-visible,.input-field__input[data-v-2bc46a58]: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-2bc46a58]{--input-border-color: var(--color-border-success, var(--color-success)) !important}.input-field--success .input-field__input[data-v-2bc46a58]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}._heading_nsb3k_2{font-size:18px;margin-top:0}._headingWrapper_nsb3k_7{display:flex;justify-content:space-between}._hint_nsb3k_12{color:var(--color-text-maxcontrast);margin-inline-start:12px}._inputField_nsb3k_17{max-width:350px}.material-design-icon[data-v-f656e861]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.notecard[data-v-f656e861]{--note-card-icon-size: 20px;--note-card-padding: calc(2 * var(--default-grid-baseline));color:var(--color-main-text)!important;background-color:var(--note-background)!important;border-inline-start:var(--default-grid-baseline) solid var(--note-theme);border-radius:var(--border-radius);margin:1rem 0;padding:var(--note-card-padding);display:flex;flex-direction:row;gap:var(--note-card-padding)}.notecard__heading[data-v-f656e861]{font-size:var(--note-card-icon-size);font-weight:600}.notecard__icon--heading[data-v-f656e861]{font-size:var(--note-card-icon-size);margin-block:calc((1lh - 1em)/2) auto}.notecard--success[data-v-f656e861]{--note-background: var(--color-success);--note-theme: var(--color-success-text, var(--color-success))}.notecard--info[data-v-f656e861]{--note-background: var(--color-info);--note-theme: var(--color-info-text, var(--color-info))}.notecard--error[data-v-f656e861]{--note-background: var(--color-error);--note-theme: var(--color-error-text, var(--color-error))}.notecard--warning[data-v-f656e861]{--note-background: var(--color-warning);--note-theme: var(--color-warning-text, var(--color-warning))}.notecard--legacy.notecard--error[data-v-f656e861]{--note-background: rgba(var(--color-error-rgb), .1)}.notecard--legacy.notecard--info[data-v-f656e861]{--note-background: rgba(var(--color-info-rgb), .1)}.notecard--legacy.notecard--success[data-v-f656e861]{--note-background: rgba(var(--color-success-rgb), .1)}.notecard--legacy.notecard--warning[data-v-f656e861]{--note-background: rgba(var(--color-warning-rgb), .1)}._form_5u8co_2{display:flex;flex-direction:column;gap:calc(2 * var(--default-grid-baseline))}._heading_5u8co_8{font-size:18px;margin-top:0}._inputField_5u8co_13{max-width:600px}.material-design-icon[data-v-38a26e61]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-38a26e61]{display:flex;align-items:center;gap:calc((var(--default-clickable-area) - 16px) / 2 / 2)}.action-item[data-v-38a26e61]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-38a26e61]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-38a26e61]{--open-background-color: var(--color-primary-element-light-hover)}.action-item.action-item--error[data-v-38a26e61]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-38a26e61]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-38a26e61]{--open-background-color: var(--color-success-hover)}.action-item.action-item--tertiary-no-background[data-v-38a26e61]{--open-background-color: transparent}.action-item.action-item--open .action-item__menutoggle[data-v-38a26e61]{background-color:var(--open-background-color)}.action-item__menutoggle__icon[data-v-38a26e61]{width:20px;height:20px;object-fit:contain}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.v-popper--theme-nc-popover-8.v-popper__popper.action-item__popper .v-popper__wrapper{border-radius:var(--border-radius-large)}.v-popper--theme-nc-popover-8.v-popper__popper.action-item__popper .v-popper__wrapper .v-popper__inner{border-radius:var(--border-radius-large);padding:4px;max-height:calc(100vh - var(--header-height));overflow:auto}._material-design-icon_WzKjA{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}._ncPopover_k--Q7.v-popper--theme-nc-popover-8 .resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}._ncPopover_k--Q7.v-popper--theme-nc-popover-8 .resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper{z-index:100000;top:0;left:0;display:block!important}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__wrapper{box-shadow:0 1px 10px var(--color-box-shadow);border-radius:var(--border-radius-large)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius-large);overflow:hidden;background:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;border-style:solid;border-color:transparent;border-width:10px}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-9px;border-bottom-width:0;border-top-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-9px;border-top-width:0;border-bottom-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{left:-9px;border-left-width:0;border-right-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-9px;border-right-width:0;border-left-color:var(--color-main-background)}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}._ncPopover_k--Q7.v-popper--theme-nc-popover-8.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}.material-design-icon[data-v-ab2ff78b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-ab2ff78b]:hover,li.action.active[data-v-ab2ff78b]{border-radius:6px;padding:0}li.action[data-v-ab2ff78b]:hover{background-color:var(--color-background-hover)}.action--disabled[data-v-ab2ff78b]{pointer-events:none;opacity:.5}.action--disabled[data-v-ab2ff78b]:hover,.action--disabled[data-v-ab2ff78b]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-ab2ff78b]{opacity:1!important}.action-button[data-v-ab2ff78b]{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-ab2ff78b]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-ab2ff78b]{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-ab2ff78b] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-ab2ff78b] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-ab2ff78b],.action-button__longtext[data-v-ab2ff78b]{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-ab2ff78b]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-ab2ff78b]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:block}.action-button__description[data-v-ab2ff78b]{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-ab2ff78b],.action-button__pressed-icon[data-v-ab2ff78b]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action-button *[data-v-ab2ff78b]{cursor:pointer}._container_10xyb_2{display:flex;align-items:center;justify-content:center}._policyWrapper_18ut1_2{display:flex;flex-wrap:wrap;gap:8px}._policyWrapper_18ut1_2>*{min-width:446px;max-width:446px;padding:8px;border:1px solid var(--color-border);border-radius:var(--border-radius-container)} diff --git a/js/password_policy-settings.mjs b/js/password_policy-settings.mjs index 8622d0ab..af5523fe 100644 --- a/js/password_policy-settings.mjs +++ b/js/password_policy-settings.mjs @@ -1,3 +1,17 @@ -const Wt=globalThis||void 0||self;var Lc={},ge=Object.freeze({}),z=Array.isArray;function I(e){return e==null}function h(e){return e!=null}function te(e){return e===!0}function Fc(e){return e===!1}function Nn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function q(e){return typeof e=="function"}function ce(e){return e!==null&&typeof e=="object"}var Xi=Object.prototype.toString;function $e(e){return Xi.call(e)==="[object Object]"}function zc(e){return Xi.call(e)==="[object RegExp]"}function Vs(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function vi(e){return h(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Bc(e){return e==null?"":Array.isArray(e)||$e(e)&&e.toString===Xi?JSON.stringify(e,Hc,2):String(e)}function Hc(e,t){return t&&t.__v_isRef?t.value:t}function xn(e){var t=parseFloat(e);return isNaN(t)?e:t}function De(e,t){for(var n=Object.create(null),o=e.split(","),i=0;i-1)return e.splice(o,1)}}var Vc=Object.prototype.hasOwnProperty;function pe(e,t){return Vc.call(e,t)}function kt(e){var t=Object.create(null);return function(n){var o=t[n];return o||(t[n]=e(n))}}var Uc=/-(\w)/g,bt=kt(function(e){return e.replace(Uc,function(t,n){return n?n.toUpperCase():""})}),Wc=kt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Gc=/\B([A-Z])/g,On=kt(function(e){return e.replace(Gc,"-$1").toLowerCase()});function qc(e,t){function n(o){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,o):e.call(t)}return n._length=e.length,n}function Kc(e,t){return e.bind(t)}var Us=Function.prototype.bind?Kc:qc;function gi(e,t){t=t||0;for(var n=e.length-t,o=new Array(n);n--;)o[n]=e[n+t];return o}function Z(e,t){for(var n in t)e[n]=t[n];return e}function Ws(e){for(var t={},n=0;n0,Zs=Ae&&Ae.indexOf("edge/")>0;Ae&&Ae.indexOf("android")>0;var Qc=Ae&&/iphone|ipad|ipod|ios/.test(Ae),Zr=Ae&&Ae.match(/firefox\/(\d+)/),yi={}.watch,Xs=!1;if(ye)try{var Xr={};Object.defineProperty(Xr,"passive",{get:function(){Xs=!0}}),window.addEventListener("test-passive",null,Xr)}catch{}var Vn,st=function(){return Vn===void 0&&(!ye&&typeof Wt<"u"?Vn=Wt.process&&Lc.VUE_ENV==="server":Vn=!1),Vn},uo=ye&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Vt(e){return typeof e=="function"&&/native code/.test(e.toString())}var Pn=typeof Symbol<"u"&&Vt(Symbol)&&typeof Reflect<"u"&&Vt(Reflect.ownKeys),Sn;typeof Set<"u"&&Vt(Set)?Sn=Set:Sn=(function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e})();var be=null;function Ji(){return be&&{proxy:be}}function ot(e){e===void 0&&(e=null),e||be&&be._scope.off(),be=e,e&&e._scope.on()}var xe=(function(){function e(t,n,o,i,r,a,s,l){this.tag=t,this.data=n,this.children=o,this.text=i,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e})(),Gt=function(e){e===void 0&&(e="");var t=new xe;return t.text=e,t.isComment=!0,t};function zt(e){return new xe(void 0,void 0,void 0,String(e))}function bi(e){var t=new xe(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var eu=0,to=[],tu=function(){for(var e=0;e0&&(i=rl(i,"".concat(t||"","_").concat(o)),sn(i[0])&&sn(a)&&(n[r]=zt(a.text+i[0].text),i.shift()),n.push.apply(n,i)):Nn(i)?sn(a)?n[r]=zt(a.text+i):i!==""&&n.push(zt(i)):sn(i)&&sn(a)?n[r]=zt(a.text+i.text):(te(e._isVList)&&h(i.tag)&&I(i.key)&&h(t)&&(i.key="__vlist".concat(t,"_").concat(o,"__")),n.push(i)));return n}function gu(e,t){var n=null,o,i,r,a;if(z(e)||typeof e=="string")for(n=new Array(e.length),o=0,i=e.length;o0,a=t?!!t.$stable:!r,s=t&&t.$key;if(!t)i={};else{if(t._normalized)return t._normalized;if(a&&o&&o!==ge&&s===o.$key&&!r&&!o.$hasNormal)return o;i={};for(var l in t)t[l]&&l[0]!=="$"&&(i[l]=Tu(e,n,l,t[l]))}for(var c in n)c in i||(i[c]=Eu(n,c));return t&&Object.isExtensible(t)&&(t._normalized=i),_e(i,"$stable",a),_e(i,"$key",s),_e(i,"$hasNormal",r),i}function Tu(e,t,n,o){var i=function(){var r=be;ot(e);var a=arguments.length?o.apply(null,arguments):o({});a=a&&typeof a=="object"&&!z(a)?[a]:or(a);var s=a&&a[0];return ot(r),a&&(!s||a.length===1&&s.isComment&&!An(s))?void 0:a};return o.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function Eu(e,t){return function(){return e[t]}}function Nu(e){var t=e.$options,n=t.setup;if(n){var o=e._setupContext=Ou(e);ot(e),Qt();var i=Ge(n,null,[e._props||nl({}),o],e,"setup");if(en(),ot(),q(i))t.render=i;else if(ce(i))if(e._setupState=i,i.__sfc){var r=e._setupProxy={};for(var a in i)a!=="__sfc"&&wi(r,i,a)}else for(var a in i)Ys(a)||wi(e,i,a)}}function Ou(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};_e(t,"_v_attr_proxy",!0),fo(t,e.$attrs,ge,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};fo(t,e.$listeners,ge,e,"$listeners")}return e._listenersProxy},get slots(){return Du(e)},emit:Us(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return wi(e,t,n)})}}}function fo(e,t,n,o,i){var r=!1;for(var a in t)a in e?t[a]!==n[a]&&(r=!0):(r=!0,Pu(e,a,o,i));for(var a in e)a in t||(r=!0,delete e[a]);return r}function Pu(e,t,n,o){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[o][t]}})}function Du(e){return e._slotsProxy||cl(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function cl(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Iu(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=ir(t._renderChildren,o),e.$scopedSlots=n?_n(e.$parent,n.data.scopedSlots,e.$slots):ge,e._c=function(r,a,s,l){return ho(e,r,a,s,l,!1)},e.$createElement=function(r,a,s,l){return ho(e,r,a,s,l,!0)};var i=n&&n.data;rt(e,"$attrs",i&&i.attrs||ge,null,!0),rt(e,"$listeners",t._parentListeners||ge,null,!0)}var io=null;function Ru(e){ll(e.prototype),e.prototype.$nextTick=function(t){return Do(t,this)},e.prototype._render=function(){var t=this,n=t.$options,o=n.render,i=n._parentVnode;i&&t._isMounted&&(t.$scopedSlots=_n(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&cl(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var r=be,a=io,s;try{ot(t),io=t,s=o.call(t._renderProxy,t.$createElement)}catch(l){Ct(l,t,"render"),s=t._vnode}finally{io=a,ot(r)}return z(s)&&s.length===1&&(s=s[0]),s instanceof xe||(s=Gt()),s.parent=i,s}}function Jo(e,t){return(e.__esModule||Pn&&e[Symbol.toStringTag]==="Module")&&(e=e.default),ce(e)?t.extend(e):e}function Mu(e,t,n,o,i){var r=Gt();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:o,tag:i},r}function Lu(e,t){if(te(e.error)&&h(e.errorComp))return e.errorComp;if(h(e.resolved))return e.resolved;var n=io;if(n&&h(e.owners)&&e.owners.indexOf(n)===-1&&e.owners.push(n),te(e.loading)&&h(e.loadingComp))return e.loadingComp;if(n&&!h(e.owners)){var o=e.owners=[n],i=!0,r=null,a=null;n.$on("hook:destroyed",function(){return at(o,n)});var s=function(m){for(var v=0,y=o.length;v1?gi(i):i;for(var r=gi(arguments,1),a='event handler for "'.concat(n,'"'),s=0,l=i.length;sdocument.createEvent("Event").timeStamp&&(ki=function(){return Qo.now()})}var id=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function rd(){yl=ki(),sr=!0;var e,t;for(He.sort(id),Bt=0;BtBt&&He[n].id>e.id;)n--;He.splice(n+1,0,e)}Ai||(Ai=!0,Do(rd))}}function cd(e){var t=e.$options.provide;if(t){var n=q(t)?t.call(e):t;if(!ce(n))return;for(var o=hu(e),i=Pn?Reflect.ownKeys(n):Object.keys(n),r=0;r-1){if(r&&!pe(i,"default"))a=!1;else if(a===""||a===On(e)){var l=_a(String,i.type);(l<0||s-1)return this;var o=gi(arguments,1);return o.unshift(this),q(t.install)?t.install.apply(t,o):q(t)&&t.apply(null,o),n.push(t),this}}function zd(e){e.mixin=function(t){return this.options=$t(this.options,t),this}}function Bd(e){e.cid=0;var t=1;e.extend=function(n){n=n||{};var o=this,i=o.cid,r=n._Ctor||(n._Ctor={});if(r[i])return r[i];var a=vo(n)||vo(o.options),s=function(l){this._init(l)};return s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.cid=t++,s.options=$t(o.options,n),s.super=o,s.options.props&&Hd(s),s.options.computed&&jd(s),s.extend=o.extend,s.mixin=o.mixin,s.use=o.use,No.forEach(function(l){s[l]=o[l]}),a&&(s.options.components[a]=s),s.superOptions=o.options,s.extendOptions=n,s.sealedOptions=Z({},s.options),r[i]=s,s}}function Hd(e){var t=e.options.props;for(var n in t)dr(e.prototype,"_props",n)}function jd(e){var t=e.options.computed;for(var n in t)Cl(e.prototype,n,t[n])}function Vd(e){No.forEach(function(t){e[t]=function(n,o){return o?(t==="component"&&$e(o)&&(o.name=o.name||n,o=this.options._base.extend(o)),t==="directive"&&q(o)&&(o={bind:o,update:o}),this.options[t+"s"][n]=o,o):this.options[t+"s"][n]}})}function wa(e){return e&&(vo(e.Ctor.options)||e.tag)}function Gn(e,t){return z(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:zc(e)?e.test(t):!1}function Ca(e,t){var n=e.cache,o=e.keys,i=e._vnode,r=e.$vnode;for(var a in n){var s=n[a];if(s){var l=s.name;l&&!t(l)&&Oi(n,a,o,i)}}r.componentOptions.children=void 0}function Oi(e,t,n,o){var i=e[t];i&&(!o||i.tag!==o.tag)&&i.componentInstance.$destroy(),e[t]=null,at(n,t)}var $a=[String,RegExp,Array],Ud={name:"keep-alive",abstract:!0,props:{include:$a,exclude:$a,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,o=e.vnodeToCache,i=e.keyToCache;if(o){var r=o.tag,a=o.componentInstance,s=o.componentOptions;t[i]={name:wa(s),tag:r,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&Oi(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Oi(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Ca(e,function(n){return Gn(t,n)})}),this.$watch("exclude",function(t){Ca(e,function(n){return!Gn(t,n)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=ul(e),n=t&&t.componentOptions;if(n){var o=wa(n),i=this,r=i.include,a=i.exclude;if(r&&(!o||!Gn(r,o))||a&&o&&Gn(a,o))return t;var s=this,l=s.cache,c=s.keys,p=t.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[p]?(t.componentInstance=l[p].componentInstance,at(c,p),c.push(p)):(this.vnodeToCache=t,this.keyToCache=p),t.data.keepAlive=!0}return t||e&&e[0]}},Wd={KeepAlive:Ud};function Gd(e){var t={};t.get=function(){return Se},Object.defineProperty(e,"config",t),e.util={warn:vd,extend:Z,mergeOptions:$t,defineReactive:rt},e.set=er,e.delete=el,e.nextTick=Do,e.observable=function(n){return We(n),n},e.options=Object.create(null),No.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,Z(e.options.components,Wd),Fd(e),zd(e),Bd(e),Vd(e)}Gd(V),Object.defineProperty(V.prototype,"$isServer",{get:st}),Object.defineProperty(V.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(V,"FunctionalRenderContext",{value:lr}),V.version=Gu;var qd=De("style,class"),Kd=De("input,textarea,option,select,progress"),Yd=function(e,t,n){return n==="value"&&Kd(e)&&t!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},$l=De("contenteditable,draggable,spellcheck"),Zd=De("events,caret,typing,plaintext-only"),Xd=function(e,t){return _o(t)||t==="false"?"false":e==="contenteditable"&&Zd(t)?t:"true"},Jd=De("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Pi="http://www.w3.org/1999/xlink",fr=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},xl=function(e){return fr(e)?e.slice(6,e.length):""},_o=function(e){return e==null||e===!1};function Qd(e){for(var t=e.data,n=e,o=e;h(o.componentInstance);)o=o.componentInstance._vnode,o&&o.data&&(t=xa(o.data,t));for(;h(n=n.parent);)n&&n.data&&(t=xa(t,n.data));return ep(t.staticClass,t.class)}function xa(e,t){return{staticClass:hr(e.staticClass,t.staticClass),class:h(e.class)?[e.class,t.class]:t.class}}function ep(e,t){return h(e)||h(t)?hr(e,mr(t)):""}function hr(e,t){return e?t?e+" "+t:e:t||""}function mr(e){return Array.isArray(e)?tp(e):ce(e)?np(e):typeof e=="string"?e:""}function tp(e){for(var t="",n,o=0,i=e.length;o-1?qn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:qn[e]=/HTMLUnknownElement/.test(t.toString())}var Di=De("text,number,password,search,email,tel,url");function sp(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function lp(e,t){var n=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function cp(e,t){return document.createElementNS(op[e],t)}function up(e){return document.createTextNode(e)}function dp(e){return document.createComment(e)}function pp(e,t,n){e.insertBefore(t,n)}function fp(e,t){e.removeChild(t)}function hp(e,t){e.appendChild(t)}function mp(e){return e.parentNode}function vp(e){return e.nextSibling}function gp(e){return e.tagName}function _p(e,t){e.textContent=t}function yp(e,t){e.setAttribute(t,"")}var bp=Object.freeze({__proto__:null,createElement:lp,createElementNS:cp,createTextNode:up,createComment:dp,insertBefore:pp,removeChild:fp,appendChild:hp,parentNode:mp,nextSibling:vp,tagName:gp,setTextContent:_p,setStyleScope:yp}),wp={create:function(e,t){Ht(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ht(e,!0),Ht(t))},destroy:function(e){Ht(e,!0)}};function Ht(e,t){var n=e.data.ref;if(h(n)){var o=e.context,i=e.componentInstance||e.elm,r=t?null:i,a=t?void 0:i;if(q(n)){Ge(n,o,[r],o,"template ref function");return}var s=e.data.refInFor,l=typeof n=="string"||typeof n=="number",c=fe(n),p=o.$refs;if(l||c){if(s){var m=l?p[n]:n.value;t?z(m)&&at(m,i):z(m)?m.includes(i)||m.push(i):l?(p[n]=[i],Sa(o,n,p[n])):n.value=[i]}else if(l){if(t&&p[n]!==i)return;p[n]=a,Sa(o,n,r)}else if(c){if(t&&n.value!==i)return;n.value=r}}}}function Sa(e,t,n){var o=e._setupState;o&&pe(o,t)&&(fe(o[t])?o[t].value=n:o[t]=n)}var nt=new xe("",{},[]),ln=["create","activate","update","remove","destroy"];function ht(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&h(e.data)===h(t.data)&&Cp(e,t)||te(e.isAsyncPlaceholder)&&I(t.asyncFactory.error))}function Cp(e,t){if(e.tag!=="input")return!0;var n,o=h(n=e.data)&&h(n=n.attrs)&&n.type,i=h(n=t.data)&&h(n=n.attrs)&&n.type;return o===i||Di(o)&&Di(i)}function $p(e,t,n){var o,i,r={};for(o=t;o<=n;++o)i=e[o].key,h(i)&&(r[i]=o);return r}function xp(e){var t,n,o={},i=e.modules,r=e.nodeOps;for(t=0;tD?(Te=I(g[U+1])?null:g[U+1].elm,C(d,Te,g,E,U,w)):E>U&&M(f,N,D)}function X(d,f,g,w){for(var k=g;k-1?Ea(e,t,n):Jd(t)?_o(n)?e.removeAttribute(t):(n=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,n)):$l(t)?e.setAttribute(t,Xd(t,n)):fr(t)?_o(n)?e.removeAttributeNS(Pi,xl(t)):e.setAttributeNS(Pi,t,n):Ea(e,t,n)}function Ea(e,t,n){if(_o(n))e.removeAttribute(t);else{if(Xt&&!Jt&&e.tagName==="TEXTAREA"&&t==="placeholder"&&n!==""&&!e.__ieph){var o=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",o)};e.addEventListener("input",o),e.__ieph=!0}e.setAttribute(t,n)}}var Np={create:ka,update:ka};function Na(e,t){var n=t.elm,o=t.data,i=e.data;if(!(I(o.staticClass)&&I(o.class)&&(I(i)||I(i.staticClass)&&I(i.class)))){var r=Qd(t),a=n._transitionClasses;h(a)&&(r=hr(r,mr(a))),r!==n._prevClass&&(n.setAttribute("class",r),n._prevClass=r)}}var Op={create:Na,update:Na},ti="__r",ni="__c";function Pp(e){if(h(e[ti])){var t=Xt?"change":"input";e[t]=[].concat(e[ti],e[t]||[]),delete e[ti]}h(e[ni])&&(e.change=[].concat(e[ni],e.change||[]),delete e[ni])}var En;function Dp(e,t,n){var o=En;return function i(){var r=t.apply(null,arguments);r!==null&&Al(e,i,n,o)}}var Ip=$i&&!(Zr&&Number(Zr[1])<=53);function Rp(e,t,n,o){if(Ip){var i=yl,r=t;t=r._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=i||a.timeStamp<=0||a.target.ownerDocument!==document)return r.apply(this,arguments)}}En.addEventListener(e,t,Xs?{capture:n,passive:o}:n)}function Al(e,t,n,o){(o||En).removeEventListener(e,t._wrapper||t,n)}function oi(e,t){if(!(I(e.data.on)&&I(t.data.on))){var n=t.data.on||{},o=e.data.on||{};En=t.elm||e.elm,Pp(n),il(n,o,Rp,Al,Dp,t.context),En=void 0}}var Mp={create:oi,update:oi,destroy:function(e){return oi(e,nt)}},Kn;function Oa(e,t){if(!(I(e.data.domProps)&&I(t.data.domProps))){var n,o,i=t.elm,r=e.data.domProps||{},a=t.data.domProps||{};(h(a.__ob__)||te(a._v_attr_proxy))&&(a=t.data.domProps=Z({},a));for(n in r)n in a||(i[n]="");for(n in a){if(o=a[n],n==="textContent"||n==="innerHTML"){if(t.children&&(t.children.length=0),o===r[n])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(n==="value"&&i.tagName!=="PROGRESS"){i._value=o;var s=I(o)?"":String(o);Lp(i,s)&&(i.value=s)}else if(n==="innerHTML"&&vr(i.tagName)&&I(i.innerHTML)){Kn=Kn||document.createElement("div"),Kn.innerHTML="".concat(o,"");for(var l=Kn.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(o!==r[n])try{i[n]=o}catch{}}}}function Lp(e,t){return!e.composing&&(e.tagName==="OPTION"||Fp(e,t)||zp(e,t))}function Fp(e,t){var n=!0;try{n=document.activeElement!==e}catch{}return n&&e.value!==t}function zp(e,t){var n=e.value,o=e._vModifiers;if(h(o)){if(o.number)return xn(n)!==xn(t);if(o.trim)return n.trim()!==t.trim()}return n!==t}var Bp={create:Oa,update:Oa},Hp=kt(function(e){var t={},n=/;(?![^(]*\))/g,o=/:(.+)/;return e.split(n).forEach(function(i){if(i){var r=i.split(o);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function ii(e){var t=kl(e.style);return e.staticStyle?Z(e.staticStyle,t):t}function kl(e){return Array.isArray(e)?Ws(e):typeof e=="string"?Hp(e):e}function jp(e,t){for(var n={},o,i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(o=ii(i.data))&&Z(n,o);(o=ii(e.data))&&Z(n,o);for(var r=e;r=r.parent;)r.data&&(o=ii(r.data))&&Z(n,o);return n}var Vp=/^--/,Pa=/\s*!important$/,Da=function(e,t,n){if(Vp.test(t))e.style.setProperty(t,n);else if(Pa.test(n))e.style.setProperty(On(t),n.replace(Pa,""),"important");else{var o=Up(t);if(Array.isArray(n))for(var i=0,r=n.length;i-1?t.split(Tl).forEach(function(o){return e.classList.add(o)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Nl(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Tl).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),o=" "+t+" ";n.indexOf(o)>=0;)n=n.replace(o," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Ol(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&Z(t,Ma(e.name||"v")),Z(t,e),t}else if(typeof e=="string")return Ma(e)}}var Ma=kt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Pl=ye&&!Jt,Lt="transition",ri="animation",ao="transition",yo="transitionend",Ii="animation",Dl="animationend";Pl&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(ao="WebkitTransition",yo="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Ii="WebkitAnimation",Dl="webkitAnimationEnd"));var La=ye?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Il(e){La(function(){La(e)})}function yt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),El(e,t))}function je(e,t){e._transitionClasses&&at(e._transitionClasses,t),Nl(e,t)}function Rl(e,t,n){var o=Ml(e,t),i=o.type,r=o.timeout,a=o.propCount;if(!i)return n();var s=i===Lt?yo:Dl,l=0,c=function(){e.removeEventListener(s,p),n()},p=function(m){m.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(c=Lt,p=r,m=i.length):t===ri?l>0&&(c=ri,p=l,m=s.length):(p=Math.max(r,l),c=p>0?r>l?Lt:ri:null,m=c?c===Lt?i.length:s.length:0);var v=c===Lt&&Gp.test(n[ao+"Property"]);return{type:c,timeout:p,propCount:m,hasTransform:v}}function Fa(e,t){for(;e.length1}function Ba(e,t){t.data.show!==!0&&Ri(t)}var qp=ye?{create:Ba,activate:Ba,remove:function(e,t){e.data.show!==!0?Ll(e,t):t()}}:{},Kp=[Np,Op,Mp,Bp,Wp,qp],Yp=Kp.concat(Ep),Zp=xp({nodeOps:bp,modules:Yp});Jt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&_r(e,"input")});var zl={inserted:function(e,t,n,o){n.tag==="select"?(o.elm&&!o.elm._vOptions?tt(n,"postpatch",function(){zl.componentUpdated(e,t,n)}):Ha(e,t,n.context),e._vOptions=[].map.call(e.options,bo)):(n.tag==="textarea"||Di(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Xp),e.addEventListener("compositionend",Ua),e.addEventListener("change",Ua),Jt&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if(n.tag==="select"){Ha(e,t,n.context);var o=e._vOptions,i=e._vOptions=[].map.call(e.options,bo);if(i.some(function(a,s){return!wt(a,o[s])})){var r=e.multiple?t.value.some(function(a){return Va(a,i)}):t.value!==t.oldValue&&Va(t.value,i);r&&_r(e,"change")}}}};function Ha(e,t,n){ja(e,t),(Xt||Zs)&&setTimeout(function(){ja(e,t)},0)}function ja(e,t,n){var o=t.value,i=e.multiple;if(!(i&&!Array.isArray(o))){for(var r,a,s=0,l=e.options.length;s-1,a.selected!==r&&(a.selected=r);else if(wt(bo(a),o)){e.selectedIndex!==s&&(e.selectedIndex=s);return}i||(e.selectedIndex=-1)}}function Va(e,t){return t.every(function(n){return!wt(n,e)})}function bo(e){return"_value"in e?e._value:e.value}function Xp(e){e.target.composing=!0}function Ua(e){e.target.composing&&(e.target.composing=!1,_r(e.target,"input"))}function _r(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Mi(e){return e.componentInstance&&(!e.data||!e.data.transition)?Mi(e.componentInstance._vnode):e}var Jp={bind:function(e,t,n){var o=t.value;n=Mi(n);var i=n.data&&n.data.transition,r=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;o&&i?(n.data.show=!0,Ri(n,function(){e.style.display=r})):e.style.display=o?r:"none"},update:function(e,t,n){var o=t.value,i=t.oldValue;if(!o!=!i){n=Mi(n);var r=n.data&&n.data.transition;r?(n.data.show=!0,o?Ri(n,function(){e.style.display=e.__vOriginalDisplay}):Ll(n,function(){e.style.display="none"})):e.style.display=o?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,o,i){i||(e.style.display=e.__vOriginalDisplay)}},Qp={model:zl,show:Jp},Bl={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Li(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Li(ul(t.children)):e}function Hl(e){var t={},n=e.$options;for(var o in n.propsData)t[o]=e[o];var i=n._parentListeners;for(var o in i)t[bt(o)]=i[o];return t}function Wa(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function ef(e){for(;e=e.parent;)if(e.data.transition)return!0}function tf(e,t){return t.key===e.key&&t.tag===e.tag}var nf=function(e){return e.tag||An(e)},of=function(e){return e.name==="show"},rf={name:"transition",props:Bl,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(nf),!!n.length)){var o=this.mode,i=n[0];if(ef(this.$vnode))return i;var r=Li(i);if(!r)return i;if(this._leaving)return Wa(e,i);var a="__transition-".concat(this._uid,"-");r.key=r.key==null?r.isComment?a+"comment":a+r.tag:Nn(r.key)?String(r.key).indexOf(a)===0?r.key:a+r.key:r.key;var s=(r.data||(r.data={})).transition=Hl(this),l=this._vnode,c=Li(l);if(r.data.directives&&r.data.directives.some(of)&&(r.data.show=!0),c&&c.data&&!tf(r,c)&&!An(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var p=c.data.transition=Z({},s);if(o==="out-in")return this._leaving=!0,tt(p,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Wa(e,i);if(o==="in-out"){if(An(r))return l;var m,v=function(){m()};tt(s,"afterEnter",v),tt(s,"enterCancelled",v),tt(p,"delayLeave",function(y){m=y})}}return i}}},jl=Z({tag:String,moveClass:String},Bl);delete jl.mode;var af={props:jl,beforeMount:function(){var e=this,t=this._update;this._update=function(n,o){var i=vl(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,o)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],a=Hl(this),s=0;s2?n-2:0),i=2;i1?t-1:0),o=1;o1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:so;Ga&&Ga(e,null);let o=t.length;for(;o--;){let i=t[o];if(typeof i=="string"){const r=n(i);r!==i&&(ff(t)||(t[o]=r),i=r)}e[i]=!0}return e}function wf(e){for(let t=0;t/gm),Af=ke(/\$\{[\w\W]*/gm),kf=ke(/^data-[\-\w.\u00B7-\uFFFF]+$/),Tf=ke(/^aria-[\-\w]+$/),Ul=ke(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ef=ke(/^(?:\w+script|data):/i),Nf=ke(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wl=ke(/^html$/i),Of=ke(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ja=Object.freeze({__proto__:null,ARIA_ATTR:Tf,ATTR_WHITESPACE:Nf,CUSTOM_ELEMENT:Of,DATA_ATTR:kf,DOCTYPE_NAME:Wl,ERB_EXPR:Sf,IS_ALLOWED_URI:Ul,IS_SCRIPT_OR_DATA:Ef,MUSTACHE_EXPR:xf,TMPLIT_EXPR:Af});const hn={element:1,text:3,progressingInstruction:7,comment:8,document:9},Pf=function(){return typeof window>"u"?null:window},Df=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(r){return r},createScriptURL(r){return r}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Qa=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Gl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pf();const t=u=>Gl(u);if(t.version="3.4.0",t.removed=[],!e||!e.document||e.document.nodeType!==hn.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const o=n,i=o.currentScript,{DocumentFragment:r,HTMLTemplateElement:a,Node:s,Element:l,NodeFilter:c,NamedNodeMap:p=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:m,DOMParser:v,trustedTypes:y}=e,S=l.prototype,O=fn(S,"cloneNode"),x=fn(S,"remove"),P=fn(S,"nextSibling"),C=fn(S,"childNodes"),R=fn(S,"parentNode");if(typeof a=="function"){const u=n.createElement("template");u.content&&u.content.ownerDocument&&(n=u.content.ownerDocument)}let M,Y="";const{implementation:ne,createNodeIterator:X,createDocumentFragment:W,getElementsByTagName:Q}=n,{importNode:b}=o;let _=Qa();t.isSupported=typeof Vl=="function"&&typeof R=="function"&&ne&&ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:d,ERB_EXPR:f,TMPLIT_EXPR:g,DATA_ATTR:w,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:E,CUSTOM_ELEMENT:D}=Ja;let{IS_ALLOWED_URI:L}=Ja,T=null;const U=B({},[...Ka,...li,...ci,...ui,...Ya]);let F=null;const oe=B({},[...Za,...di,...Xa,...Zn]);let j=Object.seal(gn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),we=null,Ce=null;const Te=Object.seal(gn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Nt=!0,Ho=!0,Or=!1,Pr=!0,ut=!1,nn=!0,dt=!1,jo=!1,Vo=!1,Ot=!1,Mn=!1,Ln=!1,Dr=!0,Ir=!1;const Ec="user-content-";let Uo=!0,on=!1,Pt={},Ie=null;const Wo=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Rr=null;const Mr=B({},["audio","video","img","source","image","track"]);let Go=null;const Lr=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Fn="http://www.w3.org/1998/Math/MathML",zn="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml";let Dt=Re,qo=!1,Ko=null;const Nc=B({},[Fn,zn,Re],ai);let Bn=B({},["mi","mo","mn","ms","mtext"]),Hn=B({},["annotation-xml"]);const Oc=B({},["title","style","font","a","script"]);let rn=null;const Pc=["application/xhtml+xml","text/html"],Dc="text/html";let ie=null,It=null;const Ic=n.createElement("form"),Fr=function(u){return u instanceof RegExp||u instanceof Function},Yo=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(It&&It===u)){if((!u||typeof u!="object")&&(u={}),u=Me(u),rn=Pc.indexOf(u.PARSER_MEDIA_TYPE)===-1?Dc:u.PARSER_MEDIA_TYPE,ie=rn==="application/xhtml+xml"?ai:so,T=Ne(u,"ALLOWED_TAGS")?B({},u.ALLOWED_TAGS,ie):U,F=Ne(u,"ALLOWED_ATTR")?B({},u.ALLOWED_ATTR,ie):oe,Ko=Ne(u,"ALLOWED_NAMESPACES")?B({},u.ALLOWED_NAMESPACES,ai):Nc,Go=Ne(u,"ADD_URI_SAFE_ATTR")?B(Me(Lr),u.ADD_URI_SAFE_ATTR,ie):Lr,Rr=Ne(u,"ADD_DATA_URI_TAGS")?B(Me(Mr),u.ADD_DATA_URI_TAGS,ie):Mr,Ie=Ne(u,"FORBID_CONTENTS")?B({},u.FORBID_CONTENTS,ie):Wo,we=Ne(u,"FORBID_TAGS")?B({},u.FORBID_TAGS,ie):Me({}),Ce=Ne(u,"FORBID_ATTR")?B({},u.FORBID_ATTR,ie):Me({}),Pt=Ne(u,"USE_PROFILES")?u.USE_PROFILES:!1,Nt=u.ALLOW_ARIA_ATTR!==!1,Ho=u.ALLOW_DATA_ATTR!==!1,Or=u.ALLOW_UNKNOWN_PROTOCOLS||!1,Pr=u.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ut=u.SAFE_FOR_TEMPLATES||!1,nn=u.SAFE_FOR_XML!==!1,dt=u.WHOLE_DOCUMENT||!1,Ot=u.RETURN_DOM||!1,Mn=u.RETURN_DOM_FRAGMENT||!1,Ln=u.RETURN_TRUSTED_TYPE||!1,Vo=u.FORCE_BODY||!1,Dr=u.SANITIZE_DOM!==!1,Ir=u.SANITIZE_NAMED_PROPS||!1,Uo=u.KEEP_CONTENT!==!1,on=u.IN_PLACE||!1,L=u.ALLOWED_URI_REGEXP||Ul,Dt=u.NAMESPACE||Re,Bn=u.MATHML_TEXT_INTEGRATION_POINTS||Bn,Hn=u.HTML_INTEGRATION_POINTS||Hn,j=u.CUSTOM_ELEMENT_HANDLING||gn(null),u.CUSTOM_ELEMENT_HANDLING&&Fr(u.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=u.CUSTOM_ELEMENT_HANDLING.tagNameCheck),u.CUSTOM_ELEMENT_HANDLING&&Fr(u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),u.CUSTOM_ELEMENT_HANDLING&&typeof u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ut&&(Ho=!1),Mn&&(Ot=!0),Pt&&(T=B({},Ya),F=gn(null),Pt.html===!0&&(B(T,Ka),B(F,Za)),Pt.svg===!0&&(B(T,li),B(F,di),B(F,Zn)),Pt.svgFilters===!0&&(B(T,ci),B(F,di),B(F,Zn)),Pt.mathMl===!0&&(B(T,ui),B(F,Xa),B(F,Zn))),Te.tagCheck=null,Te.attributeCheck=null,u.ADD_TAGS&&(typeof u.ADD_TAGS=="function"?Te.tagCheck=u.ADD_TAGS:(T===U&&(T=Me(T)),B(T,u.ADD_TAGS,ie))),u.ADD_ATTR&&(typeof u.ADD_ATTR=="function"?Te.attributeCheck=u.ADD_ATTR:(F===oe&&(F=Me(F)),B(F,u.ADD_ATTR,ie))),u.ADD_URI_SAFE_ATTR&&B(Go,u.ADD_URI_SAFE_ATTR,ie),u.FORBID_CONTENTS&&(Ie===Wo&&(Ie=Me(Ie)),B(Ie,u.FORBID_CONTENTS,ie)),u.ADD_FORBID_CONTENTS&&(Ie===Wo&&(Ie=Me(Ie)),B(Ie,u.ADD_FORBID_CONTENTS,ie)),Uo&&(T["#text"]=!0),dt&&B(T,["html","head","body"]),T.table&&(B(T,["tbody"]),delete we.tbody),u.TRUSTED_TYPES_POLICY){if(typeof u.TRUSTED_TYPES_POLICY.createHTML!="function")throw pn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof u.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw pn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');M=u.TRUSTED_TYPES_POLICY,Y=M.createHTML("")}else M===void 0&&(M=Df(y,i)),M!==null&&typeof Y=="string"&&(Y=M.createHTML(""));he&&he(u),It=u}},zr=B({},[...li,...ci,...Cf]),Br=B({},[...ui,...$f]),Rc=function(u){let A=R(u);(!A||!A.tagName)&&(A={namespaceURI:Dt,tagName:"template"});const $=so(u.tagName),G=so(A.tagName);return Ko[u.namespaceURI]?u.namespaceURI===zn?A.namespaceURI===Re?$==="svg":A.namespaceURI===Fn?$==="svg"&&(G==="annotation-xml"||Bn[G]):!!zr[$]:u.namespaceURI===Fn?A.namespaceURI===Re?$==="math":A.namespaceURI===zn?$==="math"&&Hn[G]:!!Br[$]:u.namespaceURI===Re?A.namespaceURI===zn&&!Hn[G]||A.namespaceURI===Fn&&!Bn[G]?!1:!Br[$]&&(Oc[$]||!zr[$]):!!(rn==="application/xhtml+xml"&&Ko[u.namespaceURI]):!1},pt=function(u){dn(t.removed,{element:u});try{R(u).removeChild(u)}catch{x(u)}},ft=function(u,A){try{dn(t.removed,{attribute:A.getAttributeNode(u),from:A})}catch{dn(t.removed,{attribute:null,from:A})}if(A.removeAttribute(u),u==="is")if(Ot||Mn)try{pt(A)}catch{}else try{A.setAttribute(u,"")}catch{}},Hr=function(u){let A=null,$=null;if(Vo)u=""+u;else{const ee=si(u,/^[\r\n\t ]+/);$=ee&&ee[0]}rn==="application/xhtml+xml"&&Dt===Re&&(u=''+u+"");const G=M?M.createHTML(u):u;if(Dt===Re)try{A=new v().parseFromString(G,rn)}catch{}if(!A||!A.documentElement){A=ne.createDocument(Dt,"template",null);try{A.documentElement.innerHTML=qo?Y:G}catch{}}const re=A.body||A.documentElement;return u&&$&&re.insertBefore(n.createTextNode($),re.childNodes[0]||null),Dt===Re?Q.call(A,dt?"html":"body")[0]:dt?A.documentElement:re},jr=function(u){return X.call(u.ownerDocument||u,u,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Zo=function(u){return u instanceof m&&(typeof u.nodeName!="string"||typeof u.textContent!="string"||typeof u.removeChild!="function"||!(u.attributes instanceof p)||typeof u.removeAttribute!="function"||typeof u.setAttribute!="function"||typeof u.namespaceURI!="string"||typeof u.insertBefore!="function"||typeof u.hasChildNodes!="function")},Xo=function(u){return typeof s=="function"&&u instanceof s};function ze(u,A,$){un(u,G=>{G.call(t,A,$,It)})}const Vr=function(u){let A=null;if(ze(_.beforeSanitizeElements,u,null),Zo(u))return pt(u),!0;const $=ie(u.nodeName);if(ze(_.uponSanitizeElement,u,{tagName:$,allowedTags:T}),nn&&u.hasChildNodes()&&!Xo(u.firstElementChild)&&de(/<[/\w!]/g,u.innerHTML)&&de(/<[/\w!]/g,u.textContent)||nn&&u.namespaceURI===Re&&$==="style"&&Xo(u.firstElementChild)||u.nodeType===hn.progressingInstruction||nn&&u.nodeType===hn.comment&&de(/<[/\w]/g,u.data))return pt(u),!0;if(we[$]||!(Te.tagCheck instanceof Function&&Te.tagCheck($))&&!T[$]){if(!we[$]&&Wr($)&&(j.tagNameCheck instanceof RegExp&&de(j.tagNameCheck,$)||j.tagNameCheck instanceof Function&&j.tagNameCheck($)))return!1;if(Uo&&!Ie[$]){const G=R(u)||u.parentNode,re=C(u)||u.childNodes;if(re&&G){const ee=re.length;for(let Be=ee-1;Be>=0;--Be){const Ee=O(re[Be],!0);Ee.__removalCount=(u.__removalCount||0)+1,G.insertBefore(Ee,P(u))}}}return pt(u),!0}return u instanceof l&&!Rc(u)||($==="noscript"||$==="noembed"||$==="noframes")&&de(/<\/no(script|embed|frames)/i,u.innerHTML)?(pt(u),!0):(ut&&u.nodeType===hn.text&&(A=u.textContent,un([d,f,g],G=>{A=Rt(A,G," ")}),u.textContent!==A&&(dn(t.removed,{element:u.cloneNode()}),u.textContent=A)),ze(_.afterSanitizeElements,u,null),!1)},Ur=function(u,A,$){if(Ce[A]||Dr&&(A==="id"||A==="name")&&($ in n||$ in Ic))return!1;if(!(Ho&&!Ce[A]&&de(w,A))&&!(Nt&&de(k,A))&&!(Te.attributeCheck instanceof Function&&Te.attributeCheck(A,u))){if(!F[A]||Ce[A]){if(!(Wr(u)&&(j.tagNameCheck instanceof RegExp&&de(j.tagNameCheck,u)||j.tagNameCheck instanceof Function&&j.tagNameCheck(u))&&(j.attributeNameCheck instanceof RegExp&&de(j.attributeNameCheck,A)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(A,u))||A==="is"&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&de(j.tagNameCheck,$)||j.tagNameCheck instanceof Function&&j.tagNameCheck($))))return!1}else if(!Go[A]&&!de(L,Rt($,E,""))&&!((A==="src"||A==="xlink:href"||A==="href")&&u!=="script"&&_f($,"data:")===0&&Rr[u])&&!(Or&&!de(N,Rt($,E,"")))&&$)return!1}return!0},Wr=function(u){return u!=="annotation-xml"&&si(u,D)},Gr=function(u){ze(_.beforeSanitizeAttributes,u,null);const{attributes:A}=u;if(!A||Zo(u))return;const $={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let G=A.length;for(;G--;){const re=A[G],{name:ee,namespaceURI:Be,value:Ee}=re,ue=ie(ee),an=Ee;let ae=ee==="value"?an:yf(an);if($.attrName=ue,$.attrValue=ae,$.keepAttr=!0,$.forceKeepAttr=void 0,ze(_.uponSanitizeAttribute,u,$),ae=$.attrValue,Ir&&(ue==="id"||ue==="name")&&(ft(ee,u),ae=Ec+ae),nn&&de(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,ae)){ft(ee,u);continue}if(ue==="attributename"&&si(ae,"href")){ft(ee,u);continue}if($.forceKeepAttr)continue;if(!$.keepAttr){ft(ee,u);continue}if(!Pr&&de(/\/>/i,ae)){ft(ee,u);continue}ut&&un([d,f,g],Mc=>{ae=Rt(ae,Mc," ")});const Kr=ie(u.nodeName);if(!Ur(Kr,ue,ae)){ft(ee,u);continue}if(M&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!Be)switch(y.getAttributeType(Kr,ue)){case"TrustedHTML":{ae=M.createHTML(ae);break}case"TrustedScriptURL":{ae=M.createScriptURL(ae);break}}if(ae!==an)try{Be?u.setAttributeNS(Be,ee,ae):u.setAttribute(ee,ae),Zo(u)?pt(u):qa(t.removed)}catch{ft(ee,u)}}ze(_.afterSanitizeAttributes,u,null)},qr=function(u){let A=null;const $=jr(u);for(ze(_.beforeSanitizeShadowDOM,u,null);A=$.nextNode();)ze(_.uponSanitizeShadowNode,A,null),Vr(A),Gr(A),A.content instanceof r&&qr(A.content);ze(_.afterSanitizeShadowDOM,u,null)};return t.sanitize=function(u){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=null,G=null,re=null,ee=null;if(qo=!u,qo&&(u=""),typeof u!="string"&&!Xo(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw pn("dirty is not a string, aborting")}else throw pn("toString is not a function");if(!t.isSupported)return u;if(jo||Yo(A),t.removed=[],typeof u=="string"&&(on=!1),on){if(u.nodeName){const ue=ie(u.nodeName);if(!T[ue]||we[ue])throw pn("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof s)$=Hr(""),G=$.ownerDocument.importNode(u,!0),G.nodeType===hn.element&&G.nodeName==="BODY"||G.nodeName==="HTML"?$=G:$.appendChild(G);else{if(!Ot&&!ut&&!dt&&u.indexOf("<")===-1)return M&&Ln?M.createHTML(u):u;if($=Hr(u),!$)return Ot?null:Ln?Y:""}$&&Vo&&pt($.firstChild);const Be=jr(on?u:$);for(;re=Be.nextNode();)Vr(re),Gr(re),re.content instanceof r&&qr(re.content);if(on)return u;if(Ot){if(ut){$.normalize();let ue=$.innerHTML;un([d,f,g],an=>{ue=Rt(ue,an," ")}),$.innerHTML=ue}if(Mn)for(ee=W.call($.ownerDocument);$.firstChild;)ee.appendChild($.firstChild);else ee=$;return(F.shadowroot||F.shadowrootmode)&&(ee=b.call(o,ee,!0)),ee}let Ee=dt?$.outerHTML:$.innerHTML;return dt&&T["!doctype"]&&$.ownerDocument&&$.ownerDocument.doctype&&$.ownerDocument.doctype.name&&de(Wl,$.ownerDocument.doctype.name)&&(Ee=" -`+Ee),ut&&un([d,f,g],ue=>{Ee=Rt(Ee,ue," ")}),M&&Ln?M.createHTML(Ee):Ee},t.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Yo(u),jo=!0},t.clearConfig=function(){It=null,jo=!1},t.isValidAttribute=function(u,A,$){It||Yo({});const G=ie(u),re=ie(A);return Ur(G,re,$)},t.addHook=function(u,A){typeof A=="function"&&dn(_[u],A)},t.removeHook=function(u,A){if(A!==void 0){const $=vf(_[u],A);return $===-1?void 0:gf(_[u],$,1)[0]}return qa(_[u])},t.removeHooks=function(u){_[u]=[]},t.removeAllHooks=function(){_=Qa()},t}var ql=Gl();function If(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pi,es;function Rf(){if(es)return pi;es=1;var e=/["'&<>]/;pi=t;function t(n){var o=""+n,i=e.exec(o);if(!i)return o;var r,a="",s=0,l=0;for(s=i.index;st)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function Fe(e,t,n,o,i){const r=typeof n=="object"?n:void 0,a=typeof o=="number"?o:typeof n=="number"?n:void 0,s={escape:!0,sanitize:!0,...typeof i=="object"?i:typeof o=="object"?o:{}},l=S=>S,c=(s.sanitize?ql.sanitize:l)||l,p=s.escape?ts:l,m=S=>typeof S=="string"||typeof S=="number",v=(S,O,x)=>S.replace(/%n/g,""+x).replace(/{([^{}]*)}/g,(P,C)=>{if(O===void 0||!(C in O))return p(P);const R=O[C];return m(R)?p(`${R}`):typeof R=="object"&&m(R.value)?(R.escape!==!1?ts:l)(`${R.value}`):p(P)});let y=(i?.bundle??Kl(e)).translations[t]||t;return y=Array.isArray(y)?y[0]:y,c(typeof r=="object"||a!==void 0?v(y,r,a):y)}function Lf(e,t,n,o,i,r){const a="_"+t+"_::_"+n+"_",s=r?.bundle??Kl(e),l=s.translations[a];if(typeof l<"u"){const c=l;if(Array.isArray(c)){const p=s.pluralFunction(o);return Fe(e,c[p],i,o,r)}}return o===1?Fe(e,t,i,o,r):Fe(e,n,i,o,r)}function Ff(e,t=yr()){switch(t==="pt-BR"&&(t="xbr"),t.length>3&&(t=t.substring(0,t.lastIndexOf("-"))),t){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return e===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return e===0||e===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return e===1?0:e>=2&&e<=4?1:2;case"ga":return e===1?0:e===2?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mk":return e%10===1?0:1;case"mt":return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"lv":return e===0?0:e%10===1&&e%100!==11?1:2;case"pl":return e===1?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2;case"cy":return e===1?0:e===2?1:e===8||e===11?2:3;case"ro":return e===1?0:e===0||e%100>0&&e%100<20?1:2;case"ar":return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5;default:return 0}}const Yl={account:Fe("password_policy","Account password policies"),sharing:Fe("password_policy","Share password policies")},zf={enforceHaveIBeenPwned:!1,enforceNonCommonPassword:!0,enforceNumericCharacters:!1,enforceSpecialCharacters:!1,enforceUpperLowerCase:!1,minLength:10};function Bf(e,t,n){const o=document.querySelector(`#initial-state-${e}-${t}`);if(o===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${t} of ${e}`)}try{return JSON.parse(atob(o.value))}catch{throw new Error(`Could not parse initial state ${t} of ${e}`)}}class Hf{bundle;constructor(t){this.bundle={pluralFunction:t,translations:{}}}addTranslations(t){const n=Object.values(t.translations[""]??{}).map(({msgid:o,msgid_plural:i,msgstr:r})=>i!==void 0?[`_${o}_::_${i}_`,r]:[o,r[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(n)}}gettext(t,n={}){return Fe("",t,n,void 0,{bundle:this.bundle})}ngettext(t,n,o,i={}){return Lf("",t,n,o,i,{bundle:this.bundle})}}class jf{debug=!1;language="en";translations={};setLanguage(t){return this.language=t,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage(yr().replace("-","_"))}addTranslation(t,n){return this.translations[t]=n,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);const t=new Hf(n=>Ff(n,this.language));return this.language in this.translations&&t.addTranslations(this.translations[this.language]),t}}function Vf(){return new jf}const br=Vf().detectLanguage().build(),Uf=(...e)=>br.ngettext(...e),wr=(...e)=>br.gettext(...e);function Cr(...e){for(const t of e)if(!t.registered){for(const{l:n,t:o}of t){if(n!==yr()||!o)continue;const i=Object.fromEntries(Object.entries(o).map(([r,a])=>[r,{msgid:r,msgid_plural:a.p,msgstr:a.v}]));br.addTranslations({translations:{"":i}})}t.registered=!0}}const Wf=[{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de-DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en-GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{l:"et-EE",t:{Actions:{v:["Tegevus"]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:["کنش‌ها"]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"is",t:{Actions:{v:["Aðgerðir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja-JP",t:{Actions:{v:["操作"]}}},{l:"ko",t:{Actions:{v:["동작"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"pt-BR",t:{Actions:{v:["Ações"]}}},{l:"pt-PT",t:{Actions:{v:["Ações"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}}],Gf=[{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs-CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"da",t:{"External documentation for {name}":{v:["Ekstern dokumentation for {name}"]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de-DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:["Εξωτερική τεκμηρίωση για {name}"]}}},{l:"en-GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-AR",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-MX",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"et-EE",t:{"External documentation for {name}":{v:["Väline dokumentatsioon {nimi}"]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:["اسناد بیرونی برای {name}"]}}},{l:"fi",t:{"External documentation for {name}":{v:["Ulkoinen dokumentaatio {name}lle"]}}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"ga",t:{"External documentation for {name}":{v:["Doiciméadúchán seachtrach le haghaidh {name}"]}}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hu",t:{}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ja-JP",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ko",t:{"External documentation for {name}":{v:["{name}의 외부 문서"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{}},{l:"my",t:{}},{l:"nb",t:{"External documentation for {name}":{v:["Ekstern dokumentasjon for {name}"]}}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"oc",t:{}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"pt-BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt-PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sk",t:{"External documentation for {name}":{v:["Externá dokumentácia pre {name}"]}}},{l:"sl",t:{}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"uz",t:{"External documentation for {name}":{v:["{name}uchun tashqi hujjatlar"]}}},{l:"zh-CN",t:{"External documentation for {name}":{v:["{name} 的外部文档"]}}},{l:"zh-HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh-TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}}];function K(e,t,n,o,i,r,a,s){var l=typeof e=="function"?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l._scopeId="data-v-"+r),{exports:e,options:l}}Cr(Gf);const qf={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Kf=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Yf=[],Zf=K(qf,Kf,Yf,!1,null,null);const Xf=Zf.exports,[ns]=Bf("core","config",{version:"30.0"}).version.split(".",2)??[],Jf=ns&&Number.parseInt(ns)<30,Qf={name:"NcSettingsSection",components:{HelpCircle:Xf},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:wr("External documentation for {name}",{name:this.name})}},computed:{forceLimitWidth(){return this.limitWidth||!Jf},hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var eh=function(){var e=this,t=e._self._c;return t("div",{staticClass:"settings-section",class:{"settings-section--limit-width":e.forceLimitWidth}},[t("h2",{staticClass:"settings-section__name"},[e._v(" "+e._s(e.name)+" "),e.hasDocUrl?t("a",{staticClass:"settings-section__info",attrs:{href:e.docUrl,title:e.docNameTranslated,"aria-label":e.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[t("HelpCircle",{attrs:{size:20}})],1):e._e()]),e.hasDescription?t("p",{staticClass:"settings-section__desc"},[e._v(" "+e._s(e.description)+" ")]):e._e(),e._t("default")],2)},th=[],nh=K(Qf,eh,th,!1,null,"5e563b2b");const oh=nh.exports,ih=window.OC?.config?.version?.split(".")[0]||"32",Zl=Number.parseInt(ih)<32,rh={name:"NcButton",inject:{getNcPopoverTriggerAttrs:{from:"NcPopover:trigger:attrs",default:()=>()=>({})}},props:{alignment:{type:String,default:"center",validator:e=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(e)},disabled:{type:Boolean,default:!1},size:{type:String,default:"normal",validator(e){return["small","normal","large"].includes(e)}},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)||["submit","reset","button"].includes(e)},default:"secondary"},nativeType:{type:String,validator(e){return["submit","reset","button"].indexOf(e)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},target:{type:String,default:"_self"},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null},variant:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)},default:"secondary"}},emits:["update:pressed","click"],computed:{realVariant(){return this.pressed?"primary":this.pressed===!1&&(this.type==="primary"||this.variant==="primary")?"secondary":this.type!=="secondary"&&["primary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.type:this.variant},realType(){return typeof this.pressed=="boolean"?"button":this.nativeType!=="button"?this.nativeType:["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.nativeType:this.type},isTertiary(){return this.realVariant.startsWith("tertiary")},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")},ncPopoverTriggerAttrs(){return this.getNcPopoverTriggerAttrs()}},render(e){const t=!!this.$slots.default,n=this.$slots?.icon;!t&&!this.ariaLabel&&console.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:this.$slots.default?.[0]?.text,ariaLabel:this.ariaLabel},this);const o=this.to||this.href,i=!o&&typeof this.pressed=="boolean",r=({href:a,navigate:s,isActive:l,isExactActive:c}={})=>e(o?"a":"button",{class:["button-vue",`button-vue--size-${this.size}`,{"button-vue--icon-only":n&&!t,"button-vue--text-only":t&&!n,"button-vue--icon-and-text":n&&t,[`button-vue--vue-${this.realVariant}`]:this.realVariant,"button-vue--legacy":Zl,"button-vue--tertiary":this.isTertiary,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:l,"router-link-exact-active":c}],attrs:{"aria-label":this.ariaLabel,"aria-pressed":i?this.pressed.toString():void 0,disabled:this.disabled,type:o?null:this.realType,role:o?"button":null,href:this.to?a:this.href||null,target:o?this.target||"_self":null,rel:o?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.ncPopoverTriggerAttrs,...this.$attrs},on:{...this.$listeners,click:p=>{i&&this.$emit("update:pressed",!this.pressed),this.$emit("click",p),s?.(p)}}},[e("span",{class:"button-vue__wrapper"},[n?e("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,t?e("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?e("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:r}}):r()}},ah=null,sh=null;var lh=K(rh,ah,sh,!1,null,"9624cf58");const $r=lh.exports,xr=e=>Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,5),ch={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(e){return["auto","light","dark"].includes(e)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const e=["#777","#CCC"];return this.appearance==="light"?e:this.appearance==="dark"?e.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var uh=function(){var e=this,t=e._self._c;return t("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":e.name,role:"img"}},[t("svg",{attrs:{width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{fill:e.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),t("path",{attrs:{fill:e.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[e.name?t("title",[e._v(e._s(e.name))]):e._e()])])])},dh=[],ph=K(ch,uh,dh,!1,null,"d5de7f82");const fh=ph.exports;function Xl(e,t,n=!1){const o=Ji().proxy;return n&&o.$props[e]===void 0&&o.$props.modelValue===void 0&&V.util.warn(`Missing required prop: "modelValue" or old "${e}"`),ve({get(){return o.$props[e]!==void 0?o.$props[e]:o.$props.modelValue},set(i){o.$emit("update:modelValue",i),o.$emit("update:model-value",i),o.$emit(t,i)}})}Cr();const hh={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var mh=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},vh=[],gh=K(hh,mh,vh,!1,null,null);const _h=gh.exports,yh={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var bh=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},wh=[],Ch=K(yh,bh,wh,!1,null,null);const $h=Ch.exports,xh={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Sh=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Ah=[],kh=K(xh,Sh,Ah,!1,null,null);const Th=kh.exports,Eh={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Nh=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Oh=[],Ph=K(Eh,Nh,Oh,!1,null,null);const Dh=Ph.exports,Ih={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Rh=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Mh=[],Lh=K(Ih,Rh,Mh,!1,null,null);const Fh=Lh.exports,zh={name:"ToggleSwitchOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Bh=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon toggle-switch-off-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M7,15A3,3 0 0,1 4,12A3,3 0 0,1 7,9A3,3 0 0,1 10,12A3,3 0 0,1 7,15Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Hh=[],jh=K(zh,Bh,Hh,!1,null,null);const Vh=jh.exports,Uh={name:"ToggleSwitchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Wh=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon toggle-switch-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Gh=[],qh=K(Uh,Wh,Gh,!1,null,null);const Kh=qh.exports,Ft="checkbox",jt="radio",Je="switch",yn="button",Yh={name:"NcCheckboxContent",components:{NcLoadingIcon:fh},props:{iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:e=>[Ft,jt,Je,yn].includes(e)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:Number,default:24}},computed:{isButtonType(){return this.type===yn},checkboxRadioIconElement(){return this.type===jt?this.isChecked?Dh:Fh:this.type===Je?this.isChecked?Kh:Vh:this.indeterminate?$h:this.isChecked?Th:_h}}};var Zh=function(){var e=this,t=e._self._c;return t("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+e.type]:!0,"checkbox-content--button-variant":e.buttonVariant,"checkbox-content--has-text":!!e.$slots.default}},[t("span",{class:{"checkbox-content__icon":!0,"checkbox-content__icon--checked":e.isChecked,[e.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[e._t("icon",function(){return[e.loading?t("NcLoadingIcon"):e.buttonVariant?e._e():t(e.checkboxRadioIconElement,{tag:"component",attrs:{size:e.size}})]},{checked:e.isChecked,loading:e.loading})],2),e.$slots.default?t("span",{class:["checkbox-content__text",e.textClass]},[e._t("default")],2):e._e()])},Xh=[],Jh=K(Yh,Zh,Xh,!1,null,"3714b019");const Qh=Jh.exports,em={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:Qh},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{id:{type:String,default:()=>"checkbox-radio-switch-"+xr(),validator:e=>e.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:e=>[Ft,jt,Je,yn].includes(e)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:e=>["no","vertical","horizontal"].includes(e)},checked:{type:[Boolean,Array,String],default:void 0},modelValue:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null}},emits:["update:checked","update:modelValue","update:model-value"],setup(){return{model:Xl("checked","update:checked")}},computed:{dataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([e])=>e.startsWith("data-")))},nonDataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([e])=>!e.startsWith("data-")))},isButtonType(){return this.type===yn},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},size(){return this.type===Je?36:24},cssVars(){return{"--icon-size":this.size+"px","--icon-height":(this.type===Je?16:this.size)+"px"}},inputType(){return[Ft,jt,yn].includes(this.type)?this.type:Ft},isChecked(){return this.value!==null?Array.isArray(this.model)?[...this.model].indexOf(this.value)>-1:this.model===this.value:this.model===!0},hasIndeterminate(){return[Ft,jt].includes(this.inputType)}},mounted(){if(this.name&&this.type===Ft&&!Array.isArray(this.model))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.type===Je)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.model!="boolean"&&this.type===Je)throw new Error("Switches can only be used with boolean as checked prop.")},methods:{t:wr,n:Uf,onToggle(e){if(this.disabled||e.target.tagName.toLowerCase()==="a")return;if(this.type===jt){this.model=this.value;return}if(this.type===Je){this.model=!this.isChecked;return}if(typeof this.model=="boolean"){this.model=!this.model;return}const t=this.getInputsSet().filter(n=>n.checked).map(n=>n.value);t.includes(this.value)?this.model=t.filter(n=>n!==this.value):this.model=[...t,this.value]},getInputsSet(){return[...document.getElementsByName(this.name)]}}};var tm=function(){var e=this,t=e._self._c;return t(e.computedWrapperElement,e._g(e._b({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+e.type]:e.type,"checkbox-radio-switch--checked":e.isChecked,"checkbox-radio-switch--disabled":e.disabled,"checkbox-radio-switch--indeterminate":e.hasIndeterminate?e.indeterminate:!1,"checkbox-radio-switch--button-variant":e.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":e.buttonVariant&&e.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":e.buttonVariant&&e.buttonVariantGrouped==="horizontal","button-vue":e.isButtonType},style:e.cssVars,attrs:{id:e.wrapperId,"aria-label":e.isButtonType&&e.ariaLabel?e.ariaLabel:void 0,type:e.isButtonType?"button":null}},"component",e.isButtonType?e.$attrs:e.dataAttrs,!1),e.isButtonType?e.listeners:null),[e.isButtonType?e._e():t("input",e._g(e._b({staticClass:"checkbox-radio-switch__input",attrs:{id:e.id,"aria-labelledby":!e.isButtonType&&!e.ariaLabel?`${e.id}-label`:null,"aria-label":e.ariaLabel||void 0,disabled:e.disabled,type:e.inputType,required:e.required,name:e.name},domProps:{value:e.value,checked:e.isChecked,indeterminate:e.hasIndeterminate?e.indeterminate:null}},"input",e.nonDataAttrs,!1),e.listeners)),t("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:e.isButtonType?void 0:`${e.id}-label`,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:e.type,indeterminate:e.hasIndeterminate?e.indeterminate:!1,"button-variant":e.buttonVariant,"is-checked":e.isChecked,loading:e.loading,size:e.size},nativeOn:{click:function(n){return e.onToggle.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon")]},proxy:!0}],null,!0)},[e._t("default")],2)],1)},nm=[],om=K(em,tm,nm,!1,null,"2c897dd5");const im=om.exports,rm={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var am=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"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"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},sm=[],lm=K(rm,am,sm,!1,null,null);const cm=lm.exports,um={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var dm=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},pm=[],fm=K(um,dm,pm,!1,null,null);const hm=fm.exports,mm={name:"NcInputField",components:{NcButton:$r,AlertCircle:cm,Check:hm},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},type:{type:String,default:"text",validator:e=>["text","password","email","tel","url","search","number"].includes(e)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","update:modelValue","update:model-value","trailing-button-click"],setup(){return{model:Xl("value","update:value",!0)}},computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+xr()},hasTrailingIcon(){return this.success},hasPlaceholder(){return this.placeholder!==""&&this.placeholder!==void 0},computedPlaceholder(){if(this.hasPlaceholder)return this.placeholder;if(Zl)return this.label},isValidLabel(){const e=this.label||this.labelOutside;return e||console.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),e},ariaDescribedby(){const e=[];return this.helperText.length>0&&e.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&e.push(this.$attrs["aria-describedby"]),e.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(e){const t=this.type==="number"&&typeof this.model=="number"?parseFloat(e.target.value,10):e.target.value;this.model=t},handleTrailingButtonClick(e){this.$emit("trailing-button-click",e)}}};var vm=function(){var e=this,t=e._self._c;return t("div",{staticClass:"input-field",class:{"input-field--disabled":e.disabled,"input-field--label-outside":e.labelOutside||!e.isValidLabel,"input-field--leading-icon":!!e.$scopedSlots.icon||!!e.$scopedSlots.default||!!e.$slots.default,"input-field--trailing-icon":e.showTrailingButton||e.hasTrailingIcon,"input-field--pill":e.pill}},[t("div",{staticClass:"input-field__main-wrapper"},[t("input",e._g(e._b({ref:"input",staticClass:"input-field__input",class:[e.inputClass,{"input-field__input--success":e.success,"input-field__input--error":e.error}],attrs:{id:e.computedId,type:e.type,disabled:e.disabled,placeholder:e.computedPlaceholder,"aria-describedby":e.ariaDescribedby,"aria-live":"polite"},domProps:{value:e.model?.toString()},on:{input:e.handleInput}},"input",e.$attrs,!1),e.$listeners)),!e.labelOutside&&e.isValidLabel?t("label",{staticClass:"input-field__label",attrs:{for:e.computedId}},[e._v(" "+e._s(e.label)+" ")]):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:!!e.$scopedSlots.icon||!!e.$scopedSlots.default||!!e.$slots.default,expression:"!!$scopedSlots.icon || !!$scopedSlots.default || !!$slots.default"}],staticClass:"input-field__icon input-field__icon--leading"},[e._t("icon",function(){return[e._t("default")]})],2),e.showTrailingButton?t("NcButton",{staticClass:"input-field__trailing-button",attrs:{"aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background"},on:{click:e.handleTrailingButtonClick},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("trailing-button-icon")]},proxy:!0}],null,!0)}):e.success||e.error?t("div",{staticClass:"input-field__icon input-field__icon--trailing"},[e.success?t("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):e.error?t("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):e._e()],1):e._e()],1),e.helperText.length>0?t("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":e.error,"input-field__helper-text-message--success":e.success},attrs:{id:`${e.inputName}-helper-text`}},[e.success?t("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e.error?t("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e._e(),e._v(" "+e._s(e.helperText)+" ")],1):e._e()])},gm=[],_m=K(mm,vm,gm,!1,null,"d3e09474");const Jl=_m.exports;function Et(e,t,n,o,i,r,a,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0);var c;if(i&&(c=i),c)if(l.functional){l._injectStyles=c;var p=l.render;l.render=function(v,y){return c.call(y),p(v,y)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,c):[c]}return{exports:e,options:l}}const ym={name:"TrashCanIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var bm=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon trash-can-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},wm=[],Cm=Et(ym,bm,wm,!1,null);const $m=Cm.exports,xm={__name:"PasswordPolicy",props:{modelValue:null,heading:null,canRemove:{type:Boolean}},emits:["update:modelValue","remove"],setup(e,{emit:t}){const n=e,o=ve({get:()=>n.modelValue.minLength,set:c=>t("update:modelValue",{...n.modelValue,minLength:Number.isNaN(c)?0:c})}),i=ve({get:()=>n.modelValue.enforceHaveIBeenPwned,set:c=>t("update:modelValue",{...n.modelValue,enforceHaveIBeenPwned:c})}),r=ve({get:()=>n.modelValue.enforceNonCommonPassword,set:c=>t("update:modelValue",{...n.modelValue,enforceNonCommonPassword:c})}),a=ve({get:()=>n.modelValue.enforceNumericCharacters,set:c=>t("update:modelValue",{...n.modelValue,enforceNumericCharacters:c})}),s=ve({get:()=>n.modelValue.enforceSpecialCharacters,set:c=>t("update:modelValue",{...n.modelValue,enforceSpecialCharacters:c})}),l=ve({get:()=>n.modelValue.enforceUpperLowerCase,set:c=>t("update:modelValue",{...n.modelValue,enforceUpperLowerCase:c})});return{__sfc:!0,props:n,emit:t,minLength:o,enforceHaveIBeenPwned:i,enforceNonCommonPassword:r,enforceNumericCharacters:a,enforceSpecialCharacters:s,enforceUpperLowerCase:l,t:Fe,NcButton:$r,NcCheckboxRadioSwitch:im,NcInputField:Jl,IconTrashbin:$m}}},Sm="_heading_nsb3k_2",Am="_headingWrapper_nsb3k_7",km="_hint_nsb3k_12",Tm="_inputField_nsb3k_17",Em={heading:Sm,headingWrapper:Am,hint:km,inputField:Tm};var Nm=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("form",{on:{submit:function(o){o.preventDefault()}}},[t("div",{class:e.$style.headingWrapper},[t("h3",{class:e.$style.heading},[e._v(" "+e._s(e.heading)+" ")]),e.canRemove?t(n.NcButton,{attrs:{"aria-label":n.t("password_policy","Remove policy"),title:n.t("password_policy","Remove policy"),type:"tertiary"},on:{click:function(o){return e.$emit("remove")}},scopedSlots:e._u([{key:"icon",fn:function(){return[t(n.IconTrashbin,{attrs:{size:20}})]},proxy:!0}],null,!1,3422420218)}):e._e()],1),t(n.NcInputField,{class:e.$style.inputField,attrs:{label:n.t("password_policy","Minimum password length"),type:"number",min:"0"},model:{value:n.minLength,callback:function(o){n.minLength=o},expression:"minLength"}}),t(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNonCommonPassword,type:"switch"},on:{"update:checked":function(o){n.enforceNonCommonPassword=o}}},[e._v(" "+e._s(n.t("password_policy","Forbid common passwords"))+" ")]),t(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceUpperLowerCase,type:"switch"},on:{"update:checked":function(o){n.enforceUpperLowerCase=o}}},[e._v(" "+e._s(n.t("password_policy","Enforce upper and lower case characters"))+" ")]),t(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNumericCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceNumericCharacters=o}}},[e._v(" "+e._s(n.t("password_policy","Enforce numeric characters"))+" ")]),t(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceSpecialCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceSpecialCharacters=o}}},[e._v(" "+e._s(n.t("password_policy","Enforce special characters"))+" ")]),t(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":function(o){n.enforceHaveIBeenPwned=o}}},[e._v(" "+e._s(n.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),t("p",{class:e.$style.hint},[e._v(" "+e._s(n.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)},Om=[];const os={$style:Em};function Pm(e){for(var t in os)this[t]=os[t]}var Dm=Et(xm,Nm,Om,!1,Pm);const Im=Dm.exports;function is(e,t,n){const o=`#initial-state-${e}-${t}`;if(window._nc_initial_state?.has(o))return window._nc_initial_state.get(o);window._nc_initial_state||(window._nc_initial_state=new Map);const i=document.querySelector(o);if(i===null)throw new Error(`Could not find initial state ${t} of ${e}`);try{const r=JSON.parse(atob(i.value));return window._nc_initial_state.set(o,r),r}catch(r){throw console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:e,error:r}),new Error(`Could not parse initial state ${t} of ${e}`,{cause:r})}}const Rm={name:"CheckboxMarkedCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Mm=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon checkbox-marked-circle-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Lm=[],Fm=K(Rm,Mm,Lm,!1,null,null);const zm=Fm.exports,Bm={name:"AlertDecagramIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Hm=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon alert-decagram-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M13,17H11V15H13V17M13,13H11V7H13V13Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},jm=[],Vm=K(Bm,Hm,jm,!1,null,null);const Um=Vm.exports,Wm={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Gm=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon alert-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},qm=[],Km=K(Wm,Gm,qm,!1,null,null);const rs=Km.exports,Ym={name:"InformationIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Zm=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon information-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Xm=[],Jm=K(Ym,Zm,Xm,!1,null,null);const Qm=Jm.exports,ev={name:"NcNoteCard",props:{type:{type:String,default:"warning",validator:e=>["success","info","warning","error"].includes(e)},showAlert:{type:Boolean,default:!1},heading:{type:String,default:""},text:{type:String,default:""}},computed:{shouldShowAlert(){return this.showAlert||this.type==="error"},icon(){switch(this.type){case"error":return Um;case"success":return zm;case"info":return Qm;case"warning":return rs;default:return rs}},color(){switch(this.type){case"error":return"var(--color-error)";case"success":return"var(--color-success)";case"info":return"var(--color-info)";case"warning":return"var(--color-warning)";default:return"var(--color-warning)"}}}};var tv=function(){var e=this,t=e._self._c;return t("div",{staticClass:"notecard",class:`notecard--${e.type}`,attrs:{role:e.shouldShowAlert?"alert":"note"}},[e._t("icon",function(){return[t(e.icon,{tag:"component",staticClass:"notecard__icon",class:{"notecard__icon--heading":e.heading},attrs:{"fill-color":e.color,size:20}})]}),t("div",[e.heading?t("p",{staticClass:"notecard__heading"},[e._v(" "+e._s(e.heading)+" ")]):e._e(),e._t("default",function(){return[t("p",{staticClass:"notecard__text"},[e._v(" "+e._s(e.text)+" ")])]})],2)],2)},nv=[],ov=K(ev,tv,nv,!1,null,"7df28e9e");const iv=ov.exports,rv={__name:"ComplianceConfig",setup(e){const t=le(is("password_policy","loginConfig")),n=le(is("password_policy","loginConfig"));Tt(t,o,{deep:!0});function o(){for(const[i,r]of Object.entries(t.value)){let a=Math.max(r||0,0);a=Number.isNaN(a)?0:a,console.debug(a,r,n.value[i]),n.value[i]!==a&&(window.OCP.AppConfig.setValue("password_policy",i,JSON.stringify(a)),n.value[i]=a),t.value[i]!==a&&(t.value[i]=a)}}return{__sfc:!0,config:t,oldConfig:n,saveComplianceConfig:o,t:Fe,NcInputField:Jl,NcNoteCard:iv}}},av="_form_5u8co_2",sv="_heading_5u8co_8",lv="_inputField_5u8co_13",cv={form:av,heading:sv,inputField:lv};var uv=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("form",{class:e.$style.form,on:{submit:function(o){o.preventDefault()}}},[t("h3",{class:e.$style.heading},[e._v(" "+e._s(n.t("password_policy","Login policies"))+" ")]),t("div",{class:e.$style.inputField},[t(n.NcInputField,{attrs:{label:n.t("password_policy","Password history size"),"helper-text":n.t("password_policy","Number of passwords to keep (securely hashed) to prevent users from reusing previously used passwords."),min:"0",type:"number"},model:{value:n.config.historySize,callback:function(o){e.$set(n.config,"historySize",o)},expression:"config.historySize"}})],1),t("div",{class:e.$style.inputField},[t(n.NcInputField,{attrs:{label:n.t("password_policy","Maximum login attempts"),min:"0",type:"number","helper-text":n.t("password_policy","Number of login attempts before the user account will be disabled until manual action is taken. (0 for no limit)")},model:{value:n.config.maximumLoginAttempts,callback:function(o){e.$set(n.config,"maximumLoginAttempts",o)},expression:"config.maximumLoginAttempts"}}),t(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.maximumLoginAttempts>0,expression:"config.maximumLoginAttempts > 0"}],attrs:{heading:n.t("password_policy","Maximum login attempts"),text:n.t("password_policy","Please note, this option is meant to protect attacked accounts. Disabled accounts have to be re-enabled manually by administration. Attackers that try to guess passwords of accounts will have their IP address blocked by the bruteforce protection independent from this setting."),type:"info"}})],1),t("div",{class:e.$style.inputField},[t(n.NcInputField,{attrs:{label:n.t("password_policy","Number of days until user password expires"),min:"0",type:"number"},model:{value:n.config.expiration,callback:function(o){e.$set(n.config,"expiration",o)},expression:"config.expiration"}}),t(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.expiration>0,expression:"config.expiration > 0"}],attrs:{heading:n.t("password_policy","Password expiration"),text:n.t("password_policy","Warning: enabling password expiration is nowadays considered a security risk by several security agencies."),type:"warning"}})],1)])},dv=[];const as={$style:cv};function pv(e){for(var t in as)this[t]=as[t]}var fv=Et(rv,uv,dv,!1,pv);const hv=fv.exports;function Ye(e){return e.split("-")[0]}function Ut(e){return e.split("-")[1]}function In(e){return["top","bottom"].includes(Ye(e))?"x":"y"}function Sr(e){return e==="y"?"height":"width"}function ss(e){let{reference:t,floating:n,placement:o}=e;const i=t.x+t.width/2-n.width/2,r=t.y+t.height/2-n.height/2;let a;switch(Ye(o)){case"top":a={x:i,y:t.y-n.height};break;case"bottom":a={x:i,y:t.y+t.height};break;case"right":a={x:t.x+t.width,y:r};break;case"left":a={x:t.x-n.width,y:r};break;default:a={x:t.x,y:t.y}}const s=In(o),l=Sr(s);switch(Ut(o)){case"start":a[s]=a[s]-(t[l]/2-n[l]/2);break;case"end":a[s]=a[s]+(t[l]/2-n[l]/2);break}return a}const mv=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:a}=n;let s=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:c}=ss({...s,placement:o}),p=o,m={};for(let v=0;v({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=e??{},{x:i,y:r,placement:a,rects:s,platform:l}=t;if(n==null)return{};const c=Ql(o),p={x:i,y:r},m=Ye(a),v=In(m),y=Sr(v),S=await l.getDimensions({element:n}),O=v==="y"?"top":"left",x=v==="y"?"bottom":"right",P=s.reference[y]+s.reference[v]-p[v]-s.floating[y],C=p[v]-s.reference[v],R=await l.getOffsetParent({element:n}),M=R?v==="y"?R.clientHeight||0:R.clientWidth||0:0,Y=P/2-C/2,ne=c[O],X=M-S[y]-c[x],W=M/2-S[y]/2+Y,Q=Hi(ne,W,X);return{data:{[v]:Q,centerOffset:W-Q}}}}),yv={left:"right",right:"left",bottom:"top",top:"bottom"};function wo(e){return e.replace(/left|right|bottom|top/g,t=>yv[t])}function ec(e,t){const n=Ut(e)==="start",o=In(e),i=Sr(o);let r=o==="x"?n?"right":"left":n?"bottom":"top";return t.reference[i]>t.floating[i]&&(r=wo(r)),{main:r,cross:wo(r)}}const bv={start:"end",end:"start"};function ji(e){return e.replace(/start|end/g,t=>bv[t])}const wv=["top","right","bottom","left"],Cv=wv.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function $v(e,t,n){return(e?[...n.filter(o=>Ut(o)===e),...n.filter(o=>Ut(o)!==e)]:n.filter(o=>Ye(o)===o)).filter(o=>e?Ut(o)===e||(t?ji(o)!==o:!1):!0)}const xv=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i,r,a,s;const{x:l,y:c,rects:p,middlewareData:m,placement:v}=t,{alignment:y=null,allowedPlacements:S=Cv,autoAlignment:O=!0,...x}=e;if((n=m.autoPlacement)!=null&&n.skip)return{};const P=$v(y,O,S),C=await Io(t,x),R=(o=(i=m.autoPlacement)==null?void 0:i.index)!=null?o:0,M=P[R],{main:Y,cross:ne}=ec(M,p);if(v!==M)return{x:l,y:c,reset:{placement:P[0]}};const X=[C[Ye(M)],C[Y],C[ne]],W=[...(r=(a=m.autoPlacement)==null?void 0:a.overflows)!=null?r:[],{placement:M,overflows:X}],Q=P[R+1];if(Q)return{data:{index:R+1,overflows:W},reset:{placement:Q}};const b=W.slice().sort((d,f)=>d.overflows[0]-f.overflows[0]),_=(s=b.find(d=>{let{overflows:f}=d;return f.every(g=>g<=0)}))==null?void 0:s.placement;return{data:{skip:!0},reset:{placement:_??b[0].placement}}}}};function Sv(e){const t=wo(e);return[ji(e),t,ji(t)]}const Av=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:r,rects:a,initialPlacement:s}=t;if((n=r.flip)!=null&&n.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",flipAlignment:v=!0,...y}=e,S=Ye(i),O=p||(S===s||!v?[wo(s)]:Sv(s)),x=[s,...O],P=await Io(t,y),C=[];let R=((o=r.flip)==null?void 0:o.overflows)||[];if(l&&C.push(P[S]),c){const{main:X,cross:W}=ec(i,a);C.push(P[X],P[W])}if(R=[...R,{placement:i,overflows:C}],!C.every(X=>X<=0)){var M,Y;const X=((M=(Y=r.flip)==null?void 0:Y.index)!=null?M:0)+1,W=x[X];if(W)return{data:{index:X,overflows:R},reset:{placement:W}};let Q="bottom";switch(m){case"bestFit":{var ne;const b=(ne=R.slice().sort((_,d)=>_.overflows.filter(f=>f>0).reduce((f,g)=>f+g,0)-d.overflows.filter(f=>f>0).reduce((f,g)=>f+g,0))[0])==null?void 0:ne.placement;b&&(Q=b);break}case"initialPlacement":Q=s;break}return{data:{skip:!0},reset:{placement:Q}}}return{}}}};function kv(e){let{placement:t,rects:n,value:o}=e;const i=Ye(t),r=["left","top"].includes(i)?-1:1,a=typeof o=="function"?o({...n,placement:t}):o,{mainAxis:s,crossAxis:l}=typeof a=="number"?{mainAxis:a,crossAxis:0}:{mainAxis:0,crossAxis:0,...a};return In(i)==="x"?{x:l,y:s*r}:{x:s*r,y:l}}const Tv=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:o,placement:i,rects:r}=t,a=kv({placement:i,rects:r,value:e});return{x:n+a.x,y:o+a.y,data:a}}}};function Ev(e){return e==="x"?"y":"x"}const Nv=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:s={fn:x=>{let{x:P,y:C}=x;return{x:P,y:C}}},...l}=e,c={x:n,y:o},p=await Io(t,l),m=In(Ye(i)),v=Ev(m);let y=c[m],S=c[v];if(r){const x=m==="y"?"top":"left",P=m==="y"?"bottom":"right",C=y+p[x],R=y-p[P];y=Hi(C,y,R)}if(a){const x=v==="y"?"top":"left",P=v==="y"?"bottom":"right",C=S+p[x],R=S-p[P];S=Hi(C,S,R)}const O=s.fn({...t,[m]:y,[v]:S});return{...O,data:{x:O.x-n,y:O.y-o}}}}},Ov=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:o,rects:i,middlewareData:r}=t,{apply:a,...s}=e;if((n=r.size)!=null&&n.skip)return{};const l=await Io(t,s),c=Ye(o),p=Ut(o)==="end";let m,v;c==="top"||c==="bottom"?(m=c,v=p?"left":"right"):(v=c,m=p?"top":"bottom");const y=vt(l.left,0),S=vt(l.right,0),O=vt(l.top,0),x=vt(l.bottom,0),P={height:i.floating.height-(["left","right"].includes(o)?2*(O!==0||x!==0?O+x:vt(l.top,l.bottom)):l[m]),width:i.floating.width-(["top","bottom"].includes(o)?2*(y!==0||S!==0?y+S:vt(l.left,l.right)):l[v])};return a?.({...P,...i}),{data:{skip:!0},reset:{rects:!0}}}}};function Ar(e){return e?.toString()==="[object Window]"}function lt(e){if(e==null)return window;if(!Ar(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ro(e){return lt(e).getComputedStyle(e)}function qe(e){return Ar(e)?"":e?(e.nodeName||"").toLowerCase():""}function Ke(e){return e instanceof lt(e).HTMLElement}function Co(e){return e instanceof lt(e).Element}function Pv(e){return e instanceof lt(e).Node}function tc(e){const t=lt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Mo(e){const{overflow:t,overflowX:n,overflowY:o}=Ro(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Dv(e){return["table","td","th"].includes(qe(e))}function nc(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=Ro(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}const ls=Math.min,bn=Math.max,$o=Math.round;function Kt(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let o=1,i=1;return t&&Ke(e)&&(o=e.offsetWidth>0&&$o(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&$o(n.height)/e.offsetHeight||1),{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function ct(e){return((Pv(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lo(e){return Ar(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function oc(e){return Kt(ct(e)).left+Lo(e).scrollLeft}function Iv(e){const t=Kt(e);return $o(t.width)!==e.offsetWidth||$o(t.height)!==e.offsetHeight}function Rv(e,t,n){const o=Ke(t),i=ct(t),r=Kt(e,o&&Iv(t));let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(o||!o&&n!=="fixed")if((qe(t)!=="body"||Mo(i))&&(a=Lo(t)),Ke(t)){const l=Kt(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=oc(i));return{x:r.left+a.scrollLeft-s.x,y:r.top+a.scrollTop-s.y,width:r.width,height:r.height}}function Fo(e){return qe(e)==="html"?e:e.assignedSlot||e.parentNode||(tc(e)?e.host:null)||ct(e)}function cs(e){return!Ke(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function Mv(e){let t=Fo(e);for(;Ke(t)&&!["html","body"].includes(qe(t));){if(nc(t))return t;t=t.parentNode}return null}function Vi(e){const t=lt(e);let n=cs(e);for(;n&&Dv(n)&&getComputedStyle(n).position==="static";)n=cs(n);return n&&(qe(n)==="html"||qe(n)==="body"&&getComputedStyle(n).position==="static"&&!nc(n))?t:n||Mv(e)||t}function us(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Lv(e){let{rect:t,offsetParent:n,strategy:o}=e;const i=Ke(n),r=ct(n);if(n===r)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&o!=="fixed")&&((qe(n)!=="body"||Mo(r))&&(a=Lo(n)),Ke(n))){const l=Kt(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function Fv(e){const t=lt(e),n=ct(e),o=t.visualViewport;let i=n.clientWidth,r=n.clientHeight,a=0,s=0;return o&&(i=o.width,r=o.height,Math.abs(t.innerWidth/o.scale-o.width)<.01&&(a=o.offsetLeft,s=o.offsetTop)),{width:i,height:r,x:a,y:s}}function zv(e){var t;const n=ct(e),o=Lo(e),i=(t=e.ownerDocument)==null?void 0:t.body,r=bn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=bn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let s=-o.scrollLeft+oc(e);const l=-o.scrollTop;return Ro(i||n).direction==="rtl"&&(s+=bn(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:a,x:s,y:l}}function ic(e){return["html","body","#document"].includes(qe(e))?e.ownerDocument.body:Ke(e)&&Mo(e)?e:ic(Fo(e))}function xo(e,t){var n;t===void 0&&(t=[]);const o=ic(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),r=lt(o),a=i?[r].concat(r.visualViewport||[],Mo(o)?o:[]):o,s=t.concat(a);return i?s:s.concat(xo(Fo(a)))}function Bv(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&tc(n)){let o=t;do{if(o&&e===o)return!0;o=o.parentNode||o.host}while(o)}return!1}function Hv(e){const t=Kt(e),n=t.top+e.clientTop,o=t.left+e.clientLeft;return{top:n,left:o,x:o,y:n,right:o+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function ds(e,t){return t==="viewport"?Bi(Fv(e)):Co(t)?Hv(t):Bi(zv(ct(e)))}function jv(e){const t=xo(Fo(e)),n=["absolute","fixed"].includes(Ro(e).position)&&Ke(e)?Vi(e):e;return Co(n)?t.filter(o=>Co(o)&&Bv(o,n)&&qe(o)!=="body"):[]}function Vv(e){let{element:t,boundary:n,rootBoundary:o}=e;const i=[...n==="clippingParents"?jv(t):[].concat(n),o],r=i[0],a=i.reduce((s,l)=>{const c=ds(t,l);return s.top=bn(c.top,s.top),s.right=ls(c.right,s.right),s.bottom=ls(c.bottom,s.bottom),s.left=bn(c.left,s.left),s},ds(t,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}const Uv={getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:Rv(t,Vi(n),o),floating:{...us(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>Lv(e),getOffsetParent:e=>{let{element:t}=e;return Vi(t)},isElement:e=>Co(e),getDocumentElement:e=>{let{element:t}=e;return ct(t)},getClippingClientRect:e=>Vv(e),getDimensions:e=>{let{element:t}=e;return us(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},Wv=(e,t,n)=>mv(e,t,{platform:Uv,...n});var Gv=Object.defineProperty,qv=Object.defineProperties,Kv=Object.getOwnPropertyDescriptors,So=Object.getOwnPropertySymbols,rc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,ps=(e,t,n)=>t in e?Gv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,et=(e,t)=>{for(var n in t||(t={}))rc.call(t,n)&&ps(e,n,t[n]);if(So)for(var n of So(t))ac.call(t,n)&&ps(e,n,t[n]);return e},zo=(e,t)=>qv(e,Kv(t)),Yv=(e,t)=>{var n={};for(var o in e)rc.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&So)for(var o of So(e))t.indexOf(o)<0&&ac.call(e,o)&&(n[o]=e[o]);return n};function sc(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?sc(e[n],t[n]):e[n]=t[n])}const Ve={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Yt(e,t){let n=Ve.themes[e]||{},o;do o=n[t],typeof o>"u"?n.$extend?n=Ve.themes[n.$extend]||{}:(n=null,o=Ve[t]):n=null;while(n);return o}function Zv(e){const t=[e];let n=Ve.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Ve.themes[n.$extend]||{}):n=null;while(n);return t.map(o=>`v-popper--theme-${o}`)}function fs(e){const t=[e];let n=Ve.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Ve.themes[n.$extend]||{}):n=null;while(n);return t}let xt=!1;if(typeof window<"u"){xt=!1;try{const e=Object.defineProperty({},"passive",{get(){xt=!0}});window.addEventListener("test",null,e)}catch{}}let lc=!1;typeof window<"u"&&typeof navigator<"u"&&(lc=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const cc=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),hs={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},ms={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function vs(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function fi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Oe=[];let mt=null;const gs={};function _s(e){let t=gs[e];return t||(t=gs[e]=[]),t}let Ui=function(){};typeof window<"u"&&(Ui=window.Element);function H(e){return function(){const t=this.$props;return Yt(t.theme,e)}}const hi="__floating-vue__popper";var uc=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:H("disabled")},positioningDisabled:{type:Boolean,default:H("positioningDisabled")},placement:{type:String,default:H("placement"),validator:e=>cc.includes(e)},delay:{type:[String,Number,Object],default:H("delay")},distance:{type:[Number,String],default:H("distance")},skidding:{type:[Number,String],default:H("skidding")},triggers:{type:Array,default:H("triggers")},showTriggers:{type:[Array,Function],default:H("showTriggers")},hideTriggers:{type:[Array,Function],default:H("hideTriggers")},popperTriggers:{type:Array,default:H("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:H("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:H("popperHideTriggers")},container:{type:[String,Object,Ui,Boolean],default:H("container")},boundary:{type:[String,Ui],default:H("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:H("strategy")},autoHide:{type:[Boolean,Function],default:H("autoHide")},handleResize:{type:Boolean,default:H("handleResize")},instantMove:{type:Boolean,default:H("instantMove")},eagerMount:{type:Boolean,default:H("eagerMount")},popperClass:{type:[String,Array,Object],default:H("popperClass")},computeTransformOrigin:{type:Boolean,default:H("computeTransformOrigin")},autoMinSize:{type:Boolean,default:H("autoMinSize")},autoSize:{type:[Boolean,String],default:H("autoSize")},autoMaxSize:{type:Boolean,default:H("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:H("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:H("preventOverflow")},overflowPadding:{type:[Number,String],default:H("overflowPadding")},arrowPadding:{type:[Number,String],default:H("arrowPadding")},arrowOverflow:{type:Boolean,default:H("arrowOverflow")},flip:{type:Boolean,default:H("flip")},shift:{type:Boolean,default:H("shift")},shiftCrossAxis:{type:Boolean,default:H("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:H("noAutoFocus")}},provide(){return{[hi]:{parentPopper:this}}},inject:{[hi]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:zo(et({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var e;return(e=this[hi])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:et(et({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var o,i;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1,skipAiming:n=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!n&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(Tv({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(xv({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(Nv({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(Av({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(_v({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:r,middlewareData:a})=>{let s;const{centerOffset:l}=a.arrow;return i.startsWith("top")||i.startsWith("bottom")?s=Math.abs(l)>r.reference.width/2:s=Math.abs(l)>r.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:a,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let c,p;return a.startsWith("top")||a.startsWith("bottom")?c=r.reference.width:p=r.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=p!=null?`${p}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(Ov({boundary:this.boundary,padding:this.overflowPadding,apply:({width:i,height:r})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const o=await Wv(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:et(et({},o.middlewareData.arrow),o.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),mt&&this.instantMove&&mt.instantMove&&mt!==this.parentPopper){mt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(mt=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await fi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...xo(this.$_referenceNode),...xo(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),i=t.x+t.width/2-(o.left+n.offsetLeft),r=t.y+t.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${i}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,vs(Oe,this),Oe.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of fs(this.theme)){const o=_s(n);vs(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}mt===this&&(mt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=Yt(this.theme,"disposeTimeout");t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await fi(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,hs,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],hs,this.popperTriggers,this.popperShowTriggers,e);const t=n=>o=>{o.usedByTooltip||this.hide({event:o,skipAiming:n})};this.$_registerTriggerListeners(this.$_targetNodes,ms,this.triggers,this.hideTriggers,t(!1)),this.$_registerTriggerListeners([this.$_popperNode],ms,this.popperTriggers,this.popperHideTriggers,t(!0))},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(o=>o.addEventListener(t,n,xt?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,o,i){let r=n;o!=null&&(r=typeof o=="function"?o(r):o),r.forEach(a=>{const s=t[a];s&&this.$_registerEventListeners(e,s,i)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:i,handler:r}=n;!e||e===i?o.forEach(a=>a.removeEventListener(i,r)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];o==null?t.removeAttribute(n):t.setAttribute(n,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$el.getBoundingClientRect();if(wn>=e.left&&wn<=e.right&&Cn>=e.top&&Cn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=wn-Ze,o=Cn-Xe,i=t.left+t.width/2-Ze+(t.top+t.height/2)-Xe+t.width+t.height,r=Ze+n*i,a=Xe+o*i;return Xn(Ze,Xe,r,a,t.left,t.top,t.left,t.bottom)||Xn(Ze,Xe,r,a,t.left,t.top,t.right,t.top)||Xn(Ze,Xe,r,a,t.right,t.top,t.right,t.bottom)||Xn(Ze,Xe,r,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(lc?(document.addEventListener("touchstart",ys,xt?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Jv,xt?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",ys,!0),window.addEventListener("click",Xv,!0)),window.addEventListener("resize",tg));function ys(e){for(let t=0;t=0;o--){const i=Oe[o];try{const r=i.$_containsGlobalTarget=Qv(i,e);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!n[i.randomId]&&bs(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let s=i.parentPopper;for(;s;)n[s.randomId]=!0,s=s.parentPopper;return}let a=i.parentPopper;for(;a&&bs(a,a.$_containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Qv(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function bs(e,t,n){return n.closeAllPopover||n.closePopover&&t||eg(e,n)&&!t}function eg(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function tg(e){for(let t=0;t{Ze=wn,Xe=Cn,wn=e.clientX,Cn=e.clientY},xt?{passive:!0}:void 0);function Xn(e,t,n,o,i,r,a,s){const l=((a-i)*(t-r)-(s-r)*(e-i))/((s-r)*(n-e)-(a-i)*(o-t)),c=((n-e)*(t-r)-(o-t)*(e-i))/((s-r)*(n-e)-(a-i)*(o-t));return l>=0&&l<=1&&c>=0&&c<=1}function ng(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}var lo;function Wi(){Wi.init||(Wi.init=!0,lo=ng()!==-1)}var og={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;Wi(),this.$nextTick(function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()});var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",lo&&this.$el.appendChild(t),t.data="about:blank",lo||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!lo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function ig(e,t,n,o,i,r,a,s,l,c){var p=typeof n=="function"?n.options:n;return e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0),p._scopeId=o,n}var rg=og,pc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},ag=[];pc._withStripped=!0;var sg=void 0,lg="data-v-8859cc6c",Gi=ig({render:pc,staticRenderFns:ag},sg,rg,lg);function cg(e){e.component("resize-observer",Gi),e.component("ResizeObserver",Gi)}var ug={version:"1.0.1",install:cg},Jn=null;typeof window<"u"?Jn=window.Vue:typeof Wt<"u"&&(Jn=Wt.Vue),Jn&&Jn.use(ug);var fc={computed:{themeClass(){return Zv(this.theme)}}},dg={name:"VPopperContent",components:{ResizeObserver:Gi},mixins:[fc],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}},pg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"popover",staticClass:"v-popper__popper",class:[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}],style:e.result?{position:e.result.strategy,transform:"translate3d("+Math.round(e.result.x)+"px,"+Math.round(e.result.y)+"px,0)"}:void 0,attrs:{id:e.popperId,"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0},on:{keyup:function(o){if(!o.type.indexOf("key")&&e._k(o.keyCode,"esc",27,o.key,["Esc","Escape"]))return null;e.autoHide&&e.$emit("hide")}}},[n("div",{staticClass:"v-popper__backdrop",on:{click:function(o){e.autoHide&&e.$emit("hide")}}}),n("div",{staticClass:"v-popper__wrapper",style:e.result?{transformOrigin:e.result.transformOrigin}:void 0},[n("div",{ref:"inner",staticClass:"v-popper__inner"},[e.mounted?[n("div",[e._t("default")],2),e.handleResize?n("ResizeObserver",{on:{notify:function(o){return e.$emit("resize",o)}}}):e._e()]:e._e()],2),n("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0},[n("div",{staticClass:"v-popper__arrow-outer"}),n("div",{staticClass:"v-popper__arrow-inner"})])])])},fg=[];function tn(e,t,n,o,i,r,a,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0);var c;if(i&&(c=i),c)if(l.functional){l._injectStyles=c;var p=l.render;l.render=function(v,y){return c.call(y),p(v,y)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,c):[c]}return{exports:e,options:l}}const ws={};var hg=tn(dg,pg,fg,!1,mg);function mg(e){for(let t in ws)this[t]=ws[t]}var hc=(function(){return hg.exports})(),kr={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},vg={name:"VPopperWrapper",components:{Popper:uc(),PopperContent:hc},mixins:[kr,fc],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(e=>e!==this.$refs.popperContent.$el)}}},gg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"target-nodes":e.getTargetNodes,"reference-node":function(){return e.$refs.reference},"popper-node":function(){return e.$refs.popperContent.$el}},scopedSlots:e._u([{key:"default",fn:function(o){var i=o.popperId,r=o.isShown,a=o.shouldMountContent,s=o.skipTransition,l=o.autoHide,c=o.show,p=o.hide,m=o.handleResize,v=o.onResize,y=o.classes,S=o.result;return[n("div",{ref:"reference",staticClass:"v-popper",class:[e.themeClass,{"v-popper--shown":r}]},[e._t("default",null,{shown:r,show:c,hide:p}),n("PopperContent",{ref:"popperContent",attrs:{"popper-id":i,theme:e.theme,shown:r,mounted:a,"skip-transition":s,"auto-hide":l,"handle-resize":m,classes:y,result:S},on:{hide:p,resize:v}},[e._t("popper",null,{shown:r,hide:p})],2)],2)]}}],null,!0)},"Popper",e.$attrs,!1),e.$listeners))},_g=[];const Cs={};var yg=tn(vg,gg,_g,!1,bg);function bg(e){for(let t in Cs)this[t]=Cs[t]}var Tr=(function(){return yg.exports})(),wg=zo(et({},Tr),{name:"VDropdown",vPopperTheme:"dropdown"});let Cg,$g;const $s={};var xg=tn(wg,Cg,$g,!1,Sg);function Sg(e){for(let t in $s)this[t]=$s[t]}var qi=(function(){return xg.exports})(),Ag=zo(et({},Tr),{name:"VMenu",vPopperTheme:"menu"});let kg,Tg;const xs={};var Eg=tn(Ag,kg,Tg,!1,Ng);function Ng(e){for(let t in xs)this[t]=xs[t]}var Ss=(function(){return Eg.exports})(),Og=zo(et({},Tr),{name:"VTooltip",vPopperTheme:"tooltip"});let Pg,Dg;const As={};var Ig=tn(Og,Pg,Dg,!1,Rg);function Rg(e){for(let t in As)this[t]=As[t]}var ks=(function(){return Ig.exports})(),Mg={name:"VTooltipDirective",components:{Popper:uc(),PopperContent:hc},mixins:[kr],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return Yt(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return Yt(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(e){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(t,o)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},Lg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"popper-node":function(){return e.$refs.popperContent.$el}},on:{"apply-show":e.onShow,"apply-hide":e.onHide},scopedSlots:e._u([{key:"default",fn:function(o){var i=o.popperId,r=o.isShown,a=o.shouldMountContent,s=o.skipTransition,l=o.autoHide,c=o.hide,p=o.handleResize,m=o.onResize,v=o.classes,y=o.result;return[n("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":e.loading},attrs:{"popper-id":i,theme:e.theme,shown:r,mounted:a,"skip-transition":s,"auto-hide":l,"handle-resize":p,classes:v,result:y},on:{hide:c,resize:m}},[e.html?n("div",{domProps:{innerHTML:e._s(e.finalContent)}}):n("div",{domProps:{textContent:e._s(e.finalContent)}})])]}}])},"Popper",e.$attrs,!1),e.$listeners))},Fg=[];const Ts={};var zg=tn(Mg,Lg,Fg,!1,Bg);function Bg(e){for(let t in Ts)this[t]=Ts[t]}var Hg=(function(){return zg.exports})();const mc="v-popper--has-tooltip";function jg(e,t){let n=e.placement;if(!n&&t)for(const o of cc)t[o]&&(n=o);return n||(n=Yt(e.theme||"tooltip","placement")),n}function vc(e,t,n){let o;const i=typeof t;return i==="string"?o={content:t}:t&&i==="object"?o=t:o={content:!1},o.placement=jg(o,n),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}function Vg(e,t,n){const o=vc(e,t,n),i=e.$_popper=new V({mixins:[kr],data(){return{options:o}},render(a){const s=this.options,{theme:l,html:c,content:p,loadingContent:m}=s,v=Yv(s,["theme","html","content","loadingContent"]);return a(Hg,{props:{theme:l,html:c,content:p,loadingContent:m},attrs:v,ref:"popper"})},devtools:{hide:!0}}),r=document.createElement("div");return document.body.appendChild(r),i.$mount(r),e.classList&&e.classList.add(mc),i}function gc(e){e.$_popper&&(e.$_popper.$destroy(),delete e.$_popper,delete e.$_popperOldShown),e.classList&&e.classList.remove(mc)}function Es(e,{value:t,oldValue:n,modifiers:o}){const i=vc(e,t,o);if(!i.content||Yt(i.theme||"tooltip","disabled"))gc(e);else{let r;e.$_popper?(r=e.$_popper,r.options=i):r=Vg(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}var Ug={bind:Es,update:Es,unbind(e){gc(e)}};function Ns(e){e.addEventListener("click",_c),e.addEventListener("touchstart",yc,xt?{passive:!0}:!1)}function Os(e){e.removeEventListener("click",_c),e.removeEventListener("touchstart",yc),e.removeEventListener("touchend",bc),e.removeEventListener("touchcancel",wc)}function _c(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function yc(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",bc),t.addEventListener("touchcancel",wc)}}function bc(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function wc(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var Wg={bind(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Ns(e)},update(e,{value:t,oldValue:n,modifiers:o}){e.$_closePopoverModifiers=o,t!==n&&(typeof t>"u"||t?Ns(e):Os(e))},unbind(e){Os(e)}};const Gg=qi;function qg(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,sc(Ve,t),e.directive("tooltip",Ug),e.directive("close-popper",Wg),e.component("v-tooltip",ks),e.component("VTooltip",ks),e.component("v-dropdown",qi),e.component("VDropdown",qi),e.component("v-menu",Ss),e.component("VMenu",Ss))}const Kg={version:"1.0.0-beta.19",install:qg,options:Ve};let Qn=null;typeof window<"u"?Qn=window.Vue:typeof Wt<"u"&&(Qn=Wt.Vue),Qn&&Qn.use(Kg);var Cc=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ao=Cc.join(","),$c=typeof Element>"u",St=$c?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ko=!$c&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},To=function e(t,n){var o;n===void 0&&(n=!0);var i=t==null||(o=t.getAttribute)===null||o===void 0?void 0:o.call(t,"inert"),r=i===""||i==="true",a=r||n&&t&&e(t.parentNode);return a},Yg=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},xc=function(e,t,n){if(To(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(Ao));return t&&St.call(e,Ao)&&o.unshift(e),o=o.filter(n),o},Sc=function e(t,n,o){for(var i=[],r=Array.from(t);r.length;){var a=r.shift();if(!To(a,!1))if(a.tagName==="SLOT"){var s=a.assignedElements(),l=s.length?s:a.children,c=e(l,!0,o);o.flatten?i.push.apply(i,c):i.push({scopeParent:a,candidates:c})}else{var p=St.call(a,Ao);p&&o.filter(a)&&(n||!t.includes(a))&&i.push(a);var m=a.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(a),v=!To(m,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(a));if(m&&v){var y=e(m===!0?a.children:m.children,!0,o);o.flatten?i.push.apply(i,y):i.push({scopeParent:a,candidates:y})}else r.unshift.apply(r,a.children)}}return i},Ac=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},gt=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Yg(e))&&!Ac(e)?0:e.tabIndex},Zg=function(e,t){var n=gt(e);return n<0&&t&&!Ac(e)?0:n},Xg=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},kc=function(e){return e.tagName==="INPUT"},Jg=function(e){return kc(e)&&e.type==="hidden"},Qg=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},e_=function(e,t){for(var n=0;nsummary:first-of-type"),r=i?e.parentElement:e;if(St.call(r,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof o=="function"){for(var a=e;e;){var s=e.parentElement,l=ko(e);if(s&&!s.shadowRoot&&o(s)===!0)return Ps(e);e.assignedSlot?e=e.assignedSlot:!s&&l!==e.ownerDocument?e=l.host:e=s}e=a}if(i_(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Ps(e);return!1},a_=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n=0)},l_=function e(t){var n=[],o=[];return t.forEach(function(i,r){var a=!!i.scopeParent,s=a?i.scopeParent:i,l=Zg(s,a),c=a?e(i.candidates):s;l===0?a?n.push.apply(n,c):n.push(s):o.push({documentOrder:r,tabIndex:l,item:i,isScope:a,content:c})}),o.sort(Xg).reduce(function(i,r){return r.isScope?i.push.apply(i,r.content):i.push(r.content),i},[]).concat(n)},c_=function(e,t){t=t||{};var n;return t.getShadowRoot?n=Sc([e],t.includeContainer,{filter:Ki.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:s_}):n=xc(e,t.includeContainer,Ki.bind(null,t)),l_(n)},u_=function(e,t){t=t||{};var n;return t.getShadowRoot?n=Sc([e],t.includeContainer,{filter:Eo.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=xc(e,t.includeContainer,Eo.bind(null,t)),n},Mt=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return St.call(e,Ao)===!1?!1:Ki(t,e)},d_=Cc.concat("iframe").join(","),mi=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return St.call(e,d_)===!1?!1:Eo(t,e)};function Ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function Is(e){for(var t=1;t0){var n=e[e.length-1];n!==t&&n.pause()}var o=e.indexOf(t);o===-1||e.splice(o,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},m_=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},v_=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},$n=function(e){return e?.key==="Tab"||e?.keyCode===9},g_=function(e){return $n(e)&&!e.shiftKey},__=function(e){return $n(e)&&e.shiftKey},Ms=function(e){return setTimeout(e,0)},Ls=function(e,t){var n=-1;return e.every(function(o,i){return t(o)?(n=i,!1):!0}),n},mn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1?d-1:0),g=1;g=0)b=n.activeElement;else{var _=r.tabbableGroups[0],d=_&&_.firstTabbableNode;b=d||c("fallbackFocus")}if(!b)throw new Error("Your focus-trap needs to have at least one focusable element");return b},m=function(){if(r.containerGroups=r.containers.map(function(b){var _=c_(b,i.tabbableOptions),d=u_(b,i.tabbableOptions),f=_.length>0?_[0]:void 0,g=_.length>0?_[_.length-1]:void 0,w=d.find(function(E){return Mt(E)}),k=d.slice().reverse().find(function(E){return Mt(E)}),N=!!_.find(function(E){return gt(E)>0});return{container:b,tabbableNodes:_,focusableNodes:d,posTabIndexesFound:N,firstTabbableNode:f,lastTabbableNode:g,firstDomTabbableNode:w,lastDomTabbableNode:k,nextTabbableNode:function(E){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,L=_.indexOf(E);return L<0?D?d.slice(d.indexOf(E)+1).find(function(T){return Mt(T)}):d.slice(0,d.indexOf(E)).reverse().find(function(T){return Mt(T)}):_[L+(D?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(b){return b.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(b){return b.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},v=function b(_){var d=_.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?b(d.shadowRoot):d},y=function b(_){if(_!==!1&&_!==v(document)){if(!_||!_.focus){b(p());return}_.focus({preventScroll:!!i.preventScroll}),r.mostRecentlyFocusedNode=_,m_(_)&&_.select()}},S=function(b){var _=c("setReturnFocus",b);return _||(_===!1?!1:b)},O=function(b){var _=b.target,d=b.event,f=b.isBackward,g=f===void 0?!1:f;_=_||eo(d),m();var w=null;if(r.tabbableGroups.length>0){var k=l(_,d),N=k>=0?r.containerGroups[k]:void 0;if(k<0)g?w=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:w=r.tabbableGroups[0].firstTabbableNode;else if(g){var E=Ls(r.tabbableGroups,function(oe){var j=oe.firstTabbableNode;return _===j});if(E<0&&(N.container===_||mi(_,i.tabbableOptions)&&!Mt(_,i.tabbableOptions)&&!N.nextTabbableNode(_,!1))&&(E=k),E>=0){var D=E===0?r.tabbableGroups.length-1:E-1,L=r.tabbableGroups[D];w=gt(_)>=0?L.lastTabbableNode:L.lastDomTabbableNode}else $n(d)||(w=N.nextTabbableNode(_,!1))}else{var T=Ls(r.tabbableGroups,function(oe){var j=oe.lastTabbableNode;return _===j});if(T<0&&(N.container===_||mi(_,i.tabbableOptions)&&!Mt(_,i.tabbableOptions)&&!N.nextTabbableNode(_))&&(T=k),T>=0){var U=T===r.tabbableGroups.length-1?0:T+1,F=r.tabbableGroups[U];w=gt(_)>=0?F.firstTabbableNode:F.firstDomTabbableNode}else $n(d)||(w=N.nextTabbableNode(_))}}else w=c("fallbackFocus");return w},x=function(b){var _=eo(b);if(!(l(_,b)>=0)){if(mn(i.clickOutsideDeactivates,b)){a.deactivate({returnFocus:i.returnFocusOnDeactivate});return}mn(i.allowOutsideClick,b)||b.preventDefault()}},P=function(b){var _=eo(b),d=l(_,b)>=0;if(d||_ instanceof Document)d&&(r.mostRecentlyFocusedNode=_);else{b.stopImmediatePropagation();var f,g=!0;if(r.mostRecentlyFocusedNode)if(gt(r.mostRecentlyFocusedNode)>0){var w=l(r.mostRecentlyFocusedNode),k=r.containerGroups[w].tabbableNodes;if(k.length>0){var N=k.findIndex(function(E){return E===r.mostRecentlyFocusedNode});N>=0&&(i.isKeyForward(r.recentNavEvent)?N+1=0&&(f=k[N-1],g=!1))}}else r.containerGroups.some(function(E){return E.tabbableNodes.some(function(D){return gt(D)>0})})||(g=!1);else g=!1;g&&(f=O({target:r.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(r.recentNavEvent)})),y(f||r.mostRecentlyFocusedNode||p())}r.recentNavEvent=void 0},C=function(b){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=b;var d=O({event:b,isBackward:_});d&&($n(b)&&b.preventDefault(),y(d))},R=function(b){if(v_(b)&&mn(i.escapeDeactivates,b)!==!1){b.preventDefault(),a.deactivate();return}(i.isKeyForward(b)||i.isKeyBackward(b))&&C(b,i.isKeyBackward(b))},M=function(b){var _=eo(b);l(_,b)>=0||mn(i.clickOutsideDeactivates,b)||mn(i.allowOutsideClick,b)||(b.preventDefault(),b.stopImmediatePropagation())},Y=function(){if(r.active)return Rs.activateTrap(o,a),r.delayInitialFocusTimer=i.delayInitialFocus?Ms(function(){y(p())}):y(p()),n.addEventListener("focusin",P,!0),n.addEventListener("mousedown",x,{capture:!0,passive:!1}),n.addEventListener("touchstart",x,{capture:!0,passive:!1}),n.addEventListener("click",M,{capture:!0,passive:!1}),n.addEventListener("keydown",R,{capture:!0,passive:!1}),a},ne=function(){if(r.active)return n.removeEventListener("focusin",P,!0),n.removeEventListener("mousedown",x,!0),n.removeEventListener("touchstart",x,!0),n.removeEventListener("click",M,!0),n.removeEventListener("keydown",R,!0),a},X=function(b){var _=b.some(function(d){var f=Array.from(d.removedNodes);return f.some(function(g){return g===r.mostRecentlyFocusedNode})});_&&y(p())},W=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(X):void 0,Q=function(){W&&(W.disconnect(),r.active&&!r.paused&&r.containers.map(function(b){W.observe(b,{subtree:!0,childList:!0})}))};return a={get active(){return r.active},get paused(){return r.paused},activate:function(b){if(r.active)return this;var _=s(b,"onActivate"),d=s(b,"onPostActivate"),f=s(b,"checkCanFocusTrap");f||m(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=n.activeElement,_?.();var g=function(){f&&m(),Y(),Q(),d?.()};return f?(f(r.containers.concat()).then(g,g),this):(g(),this)},deactivate:function(b){if(!r.active)return this;var _=Is({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},b);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,ne(),r.active=!1,r.paused=!1,Q(),Rs.deactivateTrap(o,a);var d=s(_,"onDeactivate"),f=s(_,"onPostDeactivate"),g=s(_,"checkCanReturnFocus"),w=s(_,"returnFocus","returnFocusOnDeactivate");d?.();var k=function(){Ms(function(){w&&y(S(r.nodeFocusedBeforeActivation)),f?.()})};return w&&g?(g(S(r.nodeFocusedBeforeActivation)).then(k,k),this):(k(),this)},pause:function(b){if(r.paused||!r.active)return this;var _=s(b,"onPause"),d=s(b,"onPostPause");return r.paused=!0,_?.(),ne(),Q(),d?.(),this},unpause:function(b){if(!r.paused||!r.active)return this;var _=s(b,"onUnpause"),d=s(b,"onPostUnpause");return r.paused=!1,_?.(),m(),Y(),Q(),d?.(),this},updateContainerElements:function(b){var _=[].concat(b).filter(Boolean);return r.containers=_.map(function(d){return typeof d=="string"?n.querySelector(d):d}),r.active&&m(),Q(),this}},a.updateContainerElements(e),a};function Yi(){return window._nc_focus_trap??=[],window._nc_focus_trap}function w_(){let e=[];return{pause(){e=[...Yi()];for(const t of e)t.pause()},unpause(){if(e.length===Yi().length)for(const t of e)t.unpause();e=[]}}}const C_={name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){return this.$scopedSlots.default?.({attrs:this.triggerAttrs})}},$_=null,x_=null;var S_=K(C_,$_,x_,!1,null,null);const A_=S_.exports,k_={name:"NcPopover",components:{Dropdown:Gg,NcPopoverTriggerProvider:A_},inheritAttrs:!1,props:{shown:{type:Boolean,default:!1},popupRole:{type:String,default:void 0,validator:e=>["menu","listbox","tree","grid","dialog","true"].includes(e)},popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},noFocusTrap:{type:Boolean,default:!1},setReturnFocus:{default:void 0,type:[HTMLElement,SVGElement,String,Boolean,Function]}},emits:["after-show","after-hide","update:shown"],data(){return{internalShown:this.shown}},watch:{shown(e){this.internalShown=e},internalShown(e){this.$emit("update:shown",e)}},mounted(){this.checkTriggerA11y()},beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){window.OC?.debug&&(this.getPopoverTriggerContainerElement().querySelector("[aria-expanded]")||V.util.warn("It looks like you are using a custom button as a or other popover #trigger. If you are not using as a trigger, you need to bind attrs from the #trigger slot props to your custom button. See docs for an example."))},removeFloatingVueAriaDescribedBy(){const e=this.getPopoverTriggerContainerElement().querySelectorAll("[data-popper-shown]");for(const t of e)t.removeAttribute("aria-describedby")},getPopoverContentElement(){return this.$refs.popover?.$refs.popperContent?.$el},getPopoverTriggerContainerElement(){return this.$refs.popover.$refs.reference},async useFocusTrap(){if(await this.$nextTick(),this.noFocusTrap||!this.focusTrap)return;const e=this.getPopoverContentElement();e.tabIndex=-1,e&&(this.$focusTrap=b_(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:Yi(),fallBackFocus:e}),this.$focusTrap.activate())},clearFocusTrap(e={}){try{this.$focusTrap?.deactivate(e),this.$focusTrap=null}catch(t){console.warn(t)}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){e.type==="keydown"&&e.key==="Escape"&&e.stopPropagation()},async afterShow(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-show")},{once:!0,passive:!0}),this.removeFloatingVueAriaDescribedBy(),await this.$nextTick(),await this.useFocusTrap(),this.addEscapeStopPropagation()},afterHide(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-hide")},{once:!0,passive:!0}),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var T_=function(){var e=this,t=e._self._c;return t("Dropdown",e._g(e._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":e.popoverBaseClass,shown:e.internalShown},on:{"update:shown":function(n){e.internalShown=n},"apply-show":e.afterShow,"apply-hide":e.afterHide},scopedSlots:e._u([{key:"popper",fn:function(n){return[e._t("default",null,null,n)]}}],null,!0)},"Dropdown",e.$attrs,!1),e.$listeners),[t("NcPopoverTriggerProvider",{attrs:{shown:e.internalShown,"popup-role":e.popupRole},scopedSlots:e._u([{key:"default",fn:function(n){return[e._t("trigger",null,null,n)]}}],null,!0)})],1)},E_=[],N_=K(k_,T_,E_,!1,null,null);const O_=N_.exports;V.util.warn;function Bo(e){return ol()?(fu(e),!0):!1}function At(e){return typeof e=="function"?e():au(e)}const P_=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const D_=e=>e!=null,I_=Object.prototype.toString,R_=e=>I_.call(e)==="[object Object]",M_=()=>{};function L_(e){return Ji()}function Tc(e,t=!0,n){L_()?hl(e,n):t?e():Do(e)}V.util.warn;function Zt(e){var t;const n=At(e);return(t=n?.$el)!=null?t:n}const Rn=P_?window:void 0;function Zi(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=Rn):[t,n,o,i]=e,!t)return M_;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(p=>p()),r.length=0},s=(p,m,v,y)=>(p.addEventListener(m,v,y),()=>p.removeEventListener(m,v,y)),l=Tt(()=>[Zt(t),At(i)],([p,m])=>{if(a(),!p)return;const v=R_(m)?{...m}:m;r.push(...n.flatMap(y=>o.map(S=>s(p,y,S,v))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Bo(c),c}function F_(){const e=le(!1);return Ji()&&hl(()=>{e.value=!0},void 0),e}function Er(e){const t=F_();return ve(()=>(t.value,!!e()))}function z_(e,t,n={}){const{window:o=Rn,...i}=n;let r;const a=Er(()=>o&&"MutationObserver"in o),s=()=>{r&&(r.disconnect(),r=void 0)},l=ve(()=>{const v=At(e),y=(Array.isArray(v)?v:[v]).map(Zt).filter(D_);return new Set(y)}),c=Tt(()=>l.value,v=>{s(),a.value&&v.size&&(r=new MutationObserver(t),v.forEach(y=>r.observe(y,i)))},{immediate:!0,flush:"post"}),p=()=>r?.takeRecords(),m=()=>{c(),s()};return Bo(m),{isSupported:a,stop:m,takeRecords:p}}function B_(e,t={}){const{window:n=Rn}=t,o=Er(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const r=le(!1),a=c=>{r.value=c.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},l=cu(()=>{o.value&&(s(),i=n.matchMedia(At(e)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),r.value=i.matches)});return Bo(()=>{l(),s(),i=void 0}),r}function H_(e,t,n={}){const{window:o=Rn,...i}=n;let r;const a=Er(()=>o&&"ResizeObserver"in o),s=()=>{r&&(r.disconnect(),r=void 0)},l=ve(()=>{const m=At(e);return Array.isArray(m)?m.map(v=>Zt(v)):[Zt(m)]}),c=Tt(l,m=>{if(s(),a.value&&o){r=new ResizeObserver(t);for(const v of m)v&&r.observe(v,i)}},{immediate:!0,flush:"post"}),p=()=>{s(),c()};return Bo(p),{isSupported:a,stop:p}}function Fs(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:i=!0,immediate:r=!0,updateTiming:a="sync"}=t,s=le(0),l=le(0),c=le(0),p=le(0),m=le(0),v=le(0),y=le(0),S=le(0);function O(){const P=Zt(e);if(!P){n&&(s.value=0,l.value=0,c.value=0,p.value=0,m.value=0,v.value=0,y.value=0,S.value=0);return}const C=P.getBoundingClientRect();s.value=C.height,l.value=C.bottom,c.value=C.left,p.value=C.right,m.value=C.top,v.value=C.width,y.value=C.x,S.value=C.y}function x(){a==="sync"?O():a==="next-frame"&&requestAnimationFrame(()=>O())}return H_(e,x),Tt(()=>Zt(e),P=>!P&&x()),z_(e,x,{attributeFilter:["style","class"]}),i&&Zi("scroll",x,{capture:!0,passive:!0}),o&&Zi("resize",x,{passive:!0}),Tc(()=>{r&&x()}),{height:s,bottom:l,left:c,right:p,top:m,width:v,x:y,y:S,update:x}}function j_(e={}){const{window:t=Rn,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:r=!0,type:a="inner"}=e,s=le(n),l=le(o),c=()=>{t&&(a==="outer"?(s.value=t.outerWidth,l.value=t.outerHeight):r?(s.value=t.innerWidth,l.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Tc(c),Zi("resize",c,{passive:!0}),i){const p=B_("(orientation: portrait)");Tt(p,()=>c())}return{width:s,height:l}}function V_(e,t={}){const n=w_();Tt(e,()=>{At(t.disabled)||(At(e)?n.pause():n.unpause())}),Wu(()=>{n.unpause()})}const U_={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var W_=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},G_=[],q_=K(U_,W_,G_,!1,null,null);const K_=q_.exports;Cr(Wf);const Y_=".focusable",Z_={name:"NcActions",components:{NcButton:$r,NcPopover:O_},provide(){return{"NcActions:isSemanticMenu":ve(()=>this.actionsMenuSemanticType==="menu")}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},forceSemanticType:{type:String,default:null,validator(e){return["dialog","menu","expanded","tooltip"].includes(e)}},primary:{type:Boolean,default:!1},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:wr("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("#content-vue")??document.querySelector("body")},container:{type:[String,Object,Element,Boolean],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0},variant:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)},default:null}},emits:["click","blur","focus","close","closed","open","opened","update:open"],setup(e){const t=`menu-${xr()}`,n=`trigger-${t}`,o=le(),{top:i,bottom:r}=Fs(o),{top:a,bottom:s}=Fs(su(e,"boundariesElement")),{height:l}=j_(),c=ve(()=>Math.max(Math.min(i.value-84,i.value-a.value),Math.min(l.value-r.value-34,s.value-r.value)));return{triggerButton:o,maxMenuHeight:c,randomId:t,triggerRandomId:n}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown"}},computed:{triggerButtonVariant(){return(this.type??this.variant)||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId,id:this.randomId,role:"menu"}},expanded:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{id:this.randomId,role:"dialog","aria-labelledby":this.triggerRandomId,"aria-modal":"true"},popoverUlA11yAttrs:{}},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId}}}[this.actionsMenuSemanticType]}},watch:{open(e){e!==this.opened&&(this.opened=e)},opened(){this.opened?document.body.addEventListener("keydown",this.handleEscapePressed):document.body.removeEventListener("keydown",this.handleEscapePressed)}},created(){V_(()=>this.opened,{disabled:()=>this.config.withFocusTrap})},methods:{getActionName(e){return e?.componentOptions?.Ctor?.extendOptions?.name??e?.componentOptions?.tag},isValidSingleAction(e){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(e))},isIconUrl(e){try{return!!new URL(e,e.startsWith("/")?window.location.origin:void 0)}catch{return!1}},openMenu(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(e=!0){this.opened&&(await this.$nextTick(),this.opened=!1,this.$refs.popover?.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,e&&this.$refs.triggerButton?.$el.focus())},onClosed(){this.$emit("closed")},onOpened(){this.$nextTick(()=>{this.focusFirstAction(null),this.resizePopover(),this.$emit("opened")})},resizePopover(){const e=this.$refs.menu.closest(".v-popper__inner");if(this.$refs.menu.clientHeight>this.maxMenuHeight){let t=0,n=0;for(const o of this.$refs.menuList.children){if(t+o.clientHeight/2>this.maxMenuHeight){e.style.height=`${t-n/2}px`;break}n=o.clientHeight,t+=n}}else e.style.height="fit-content"},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(Y_)},onKeydown(e){if(e.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}e.preventDefault();const t=this.getFocusableMenuItemElements(),n=[...t].indexOf(document.activeElement);if(n===-1)return;const o=e.shiftKey?n-1:n+1;(o<0||o===t.length)&&this.closeMenu(!0),this.focusIndex=o,this.focusAction();return}this.config.withArrowNavigation&&(e.key==="ArrowUp"&&this.focusPreviousAction(e),e.key==="ArrowDown"&&this.focusNextAction(e),e.key==="PageUp"&&this.focusFirstAction(e),e.key==="PageDown"&&this.focusLastAction(e)),this.handleEscapePressed(e)},onTriggerKeydown(e){e.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},handleEscapePressed(e){e.key==="Escape"&&(this.closeMenu(),e.preventDefault())},removeCurrentActive(){const e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){const e=this.getFocusableMenuItemElements()[this.focusIndex];if(e){this.removeCurrentActive();const t=e.closest("li.action");e.focus(),t&&t.classList.add("active")}},focusPreviousAction(e){this.opened&&(this.focusIndex===0?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){const t=this.getFocusableMenuItemElements().length-1;this.focusIndex===t?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);const t=[...this.getFocusableMenuItemElements()].findIndex(n=>n.getAttribute("aria-checked")==="true"&&n.getAttribute("role")==="menuitemradio");this.focusIndex=t>-1?t:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(e){this.$emit("click",e)}},render(e){const t=(this.$slots.default||[]).filter(s=>this.getActionName(s));if(t.length===0)return;let n=t.filter(this.isValidSingleAction);this.forceMenu&&n.length>0&&this.inline>0&&(V.util.warn("Specifying forceMenu will ignore any inline actions rendering."),n=[]);const o=n.slice(0,this.inline),i=t.filter(s=>!o.includes(s));if(this.forceSemanticType)this.actionsMenuSemanticType=this.forceSemanticType;else{const s=["NcActionInput","NcActionTextEditable"],l=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],c=["NcActionLink","NcActionRouter"],p=i.some(y=>s.includes(this.getActionName(y))),m=i.some(y=>l.includes(this.getActionName(y))),v=i.some(y=>c.includes(this.getActionName(y)));p?this.actionsMenuSemanticType="dialog":m?this.actionsMenuSemanticType="menu":v?this.actionsMenuSemanticType="expanded":t.filter(y=>this.getActionName(y).startsWith("NcAction")).length===t.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown"}const r=s=>{const l=s?.componentOptions?.propsData?.icon,c=s?.data?.scopedSlots?.icon()?.[0]??(this.isIconUrl(l)?e("img",{class:"action-item__menutoggle__icon",attrs:{src:l,alt:""}}):e("span",{class:["icon",l]})),p=s?.data?.attrs||{},m=s?.componentOptions?.listeners?.click,v=s?.componentOptions?.children?.[0]?.text?.trim?.(),y=s?.componentOptions?.propsData?.ariaLabel||v,S=this.forceName?v:"";let O=s?.componentOptions?.propsData?.title;this.forceName||O||(O=v);const x={...s?.componentOptions?.propsData??{}},P=["submit","reset"].includes(x.type)?x.modelValue:"button";return delete x.modelValue,delete x.type,e("NcButton",{class:["action-item action-item--single",s?.data?.staticClass,s?.data?.class],attrs:{...p,"aria-label":y,title:O},ref:s?.data?.ref,props:{...x,disabled:this.disabled||s?.componentOptions?.propsData?.disabled,pressed:s?.componentOptions?.propsData?.modelValue,type:P,variant:(this.type??this.variant)||(S?"secondary":"tertiary")},on:{focus:this.onFocus,blur:this.onBlur,"update:pressed":s?.componentOptions?.listeners?.["update:modelValue"]??(()=>{}),...!!m&&{click:C=>{m&&m(C)}}}},[e("template",{slot:"icon"},[c]),S])},a=s=>{const l=this.$slots.icon?.[0]||(this.defaultIcon?e("span",{class:["icon",this.defaultIcon]}):e(K_,{props:{size:20}}));return e("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,setReturnFocus:this.config.withFocusTrap?this.$refs.triggerButton?.$el:null,focusTrap:this.config.withFocusTrap},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"after-show":this.onOpened,hide:this.closeMenu,"after-hide":this.onClosed}},[e("NcButton",{class:"action-item__menutoggle",props:{variant:this.triggerButtonVariant,disabled:this.disabled},slot:"trigger",ref:"triggerButton",attrs:{id:this.triggerRandomId,"aria-label":this.menuName?null:this.ariaLabel,...this.config.triggerA11yAttr},on:{focus:this.onFocus,blur:this.onBlur,click:this.onClick,keydown:this.onTriggerKeydown}},[e("template",{slot:"icon"},[l]),this.menuName]),e("div",{class:{open:this.opened},attrs:{tabindex:"-1",...this.config.popoverContainerA11yAttrs},on:{keydown:this.onKeydown},ref:"menu"},[e("ul",{attrs:{tabindex:"-1",...this.config.popoverUlA11yAttrs},ref:"menuList"},[s])])])};return t.length===1&&n.length===1&&!this.forceMenu?r(t[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.resizePopover(),(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction())}),o.length>0&&this.inline>0?e("div",{class:["action-items",`action-item--${this.triggerButtonVariant}`]},[...o.map(r),i.length>0?e("div",{class:["action-item",{"action-item--open":this.opened}]},[a(i)]):null]):e("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerButtonVariant}`,{"action-item--open":this.opened}]},[a(t)]))}},X_=null,J_=null;var Q_=K(Z_,X_,J_,!1,null,"bc42d907");const ey=Q_.exports;var ty="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",ny="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";const oy={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}},iy=function(e,t){let n=e.$parent;for(;n;){if(n.$options.name===t)return n;n=n.$parent}},ry={mixins:[oy],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch{return!1}}},methods:{onClick(e){if(this.$emit("click",e),this.closeAfterClick){const t=iy(this,"NcActions");t&&t.closeMenu&&t.closeMenu(!1)}}}},Nr={name:"NcIconSvgWrapper",props:{directional:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},size:{type:[Number,String],default:20,validator:e=>typeof e=="number"||e==="auto"}},computed:{iconSize(){return typeof this.size=="number"?`${this.size}px`:this.size},cleanSvg(){if(!this.svg||this.path)return;const e=ql.sanitize(this.svg),t=new DOMParser().parseFromString(e,"image/svg+xml");return t.querySelector("parsererror")?(V.util.warn("SVG is not valid"),""):(t.documentElement.id&&t.documentElement.removeAttribute("id"),t.documentElement.outerHTML)}}},zs=()=>{Vu((e,t)=>({adec40c8:e.iconSize}))},Bs=Nr.setup;Nr.setup=Bs?(e,t)=>(zs(),Bs(e,t)):zs;const ay=Nr;var sy=function(){var e=this,t=e._self._c;return t("span",{staticClass:"icon-vue",class:{"icon-vue--directional":e.directional,"icon-vue--inline":e.inline},attrs:{"aria-hidden":e.name?void 0:"true","aria-label":e.name||void 0,role:"img"}},[e.cleanSvg?t("span",{domProps:{innerHTML:e._s(e.cleanSvg)}}):t("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:e.path}})])])},ly=[],cy=K(ay,sy,ly,!1,null,"a4f5b92e");const uy=cy.exports,dy={name:"NcActionButton",components:{NcIconSvgWrapper:uy},mixins:[ry],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:e=>["button","checkbox","radio","reset","submit"].includes(e)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},setup(){return{mdiCheck:ty,mdiChevronRight:ny}},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 e={};return this.isInSemanticMenu?(e.role="menuitem",this.type==="radio"?(e.role="menuitemradio",e["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(e.role="menuitemcheckbox",e["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(e["aria-pressed"]=this.modelValue?"true":"false"),e}},methods:{handleClick(e){this.onClick(e),(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))}}};var py=function(){var e=this,t=e._self._c;return t("li",{staticClass:"action",class:{"action--disabled":e.disabled},attrs:{role:e.isInSemanticMenu&&"presentation"}},[t("button",e._b({class:["action-button button-vue",{"action-button--active":e.isChecked,focusable:e.isFocusable}],attrs:{"aria-label":e.ariaLabel,disabled:e.disabled,title:e.title,type:e.nativeType},on:{click:e.handleClick}},"button",e.buttonAttributes,!1),[e._t("icon",function(){return[t("span",{staticClass:"action-button__icon",class:[e.isIconUrl?"action-button__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?`url(${e.icon})`:null},attrs:{"aria-hidden":"true"}})]}),t("span",{staticClass:"action-button__longtext-wrapper"},[e.name?t("strong",{staticClass:"action-button__name"},[e._v(" "+e._s(e.name)+" ")]):e._e(),e.isLongText?t("span",{staticClass:"action-button__longtext",domProps:{textContent:e._s(e.text)}}):t("span",{staticClass:"action-button__text"},[e._v(" "+e._s(e.text)+" ")]),e.description?t("span",{staticClass:"action-button__description",domProps:{textContent:e._s(e.description)}}):e._e()]),e.isMenu?t("NcIconSvgWrapper",{staticClass:"action-button__menu-icon",attrs:{directional:"",path:e.mdiChevronRight}}):e.isChecked?t("NcIconSvgWrapper",{staticClass:"action-button__pressed-icon",attrs:{path:e.mdiCheck}}):e.isChecked===!1?t("span",{staticClass:"action-button__pressed-icon material-design-icon"}):e._e(),e._e()],2)])},fy=[],hy=K(dy,py,fy,!1,null,"102cfc0a");const my=hy.exports,vy={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var gy=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon plus-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},_y=[],yy=Et(vy,gy,_y,!1,null);const by=yy.exports,wy={name:"ShieldCheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Cy=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon shield-check-icon",attrs:{"aria-hidden":e.title?null:"true","aria-label":e.title,role:"img"},on:{click:function(n){return e.$emit("click",n)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},$y=[],xy=Et(wy,Cy,$y,!1,null);const Sy=xy.exports,Ay={__name:"AddPolicyButton",props:{policies:null},emits:["add-policy"],setup(e){const t=e,n=["account","sharing"],o=ve(()=>n.filter(i=>!(i in t.policies)));return{__sfc:!0,props:t,allPasswordContexts:n,unusedPasswordContexts:o,t:Fe,PolicyHeadings:Yl,NcActions:ey,NcActionButton:my,IconPlus:by,IconShieldCheck:Sy}}},ky="_container_10xyb_2",Ty={container:ky};var Ey=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{class:e.$style.container},[t(n.NcActions,{attrs:{"menu-name":n.t("password_policy","Add policy set"),"force-menu":""},scopedSlots:e._u([{key:"icon",fn:function(){return[t(n.IconPlus,{attrs:{size:20}})]},proxy:!0}])},e._l(n.unusedPasswordContexts,function(o){return t(n.NcActionButton,{key:o,attrs:{"close-after-click":""},on:{click:function(i){return e.$emit("add-policy",o)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t(n.IconShieldCheck,{attrs:{size:20}})]},proxy:!0}],null,!0)},[e._v(" "+e._s(n.PolicyHeadings[o])+" ")])}),1)],1)},Ny=[];const Hs={$style:Ty};function Oy(e){for(var t in Hs)this[t]=Hs[t]}var Py=Et(Ay,Ey,Ny,!1,Oy);const Dy=Py.exports,Iy={__name:"AdminSettings",setup(e){const t=le(pf().password_policy.policies),n=ve(()=>Object.keys(t.value));function o(a,s){console.debug(`Update password policy ${a}`,s);for(const[l,c]of Object.entries(s))if(c!==t.value[a]?.[l]){const p=typeof c=="boolean"?c?"1":"0":String(c);window.OCP.AppConfig.setValue("password_policy",a==="account"?l:`${l}_${a}`,p)}V.set(t.value,a,s)}function i(a){if(a in t.value){console.warn(`Password context "${a}" already registered`);return}const s=[...Object.keys(t.value),a];window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(s)),V.set(t.value,a,{...zf})}function r(a){console.debug(`Remove password policy ${a}`);const s=Object.keys(t.value).filter(l=>l!==a);window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(s)),V.delete(t.value,a)}return{__sfc:!0,policies:t,configuredPolicies:n,onUpdatePolicy:o,onAddPolicy:i,onRemovePolicy:r,t:Fe,PolicyHeadings:Yl,NcSettingsSection:oh,PasswordPolicy:Im,ComplianceConfig:hv,AddPolicyButton:Dy}}},Ry="_policyWrapper_18ut1_2",My={policyWrapper:Ry};var Ly=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.NcSettingsSection,{attrs:{name:n.t("password_policy","Password policy")}},[t(n.ComplianceConfig),t("div",{class:e.$style.policyWrapper},[e._l(n.configuredPolicies,function(o){return t(n.PasswordPolicy,{key:o,attrs:{"can-remove":o!=="account",heading:n.configuredPolicies.length===1?n.t("password_policy","General password policies"):n.PolicyHeadings[o],"model-value":n.policies[o]},on:{"update:modelValue":function(i){return n.onUpdatePolicy(o,i)},remove:function(i){return n.onRemovePolicy(o)}}})}),n.configuredPolicies.lengthe(Hy)}); +const sn=globalThis||void 0||self;var Vu={},Et=Object.freeze({}),F=Array.isArray;function P(t){return t==null}function g(t){return t!=null}function et(t){return t===!0}function Uu(t){return t===!1}function jn(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function K(t){return typeof t=="function"}function ht(t){return t!==null&&typeof t=="object"}var Ci=Object.prototype.toString;function Tt(t){return Ci.call(t)==="[object Object]"}function Gu(t){return Ci.call(t)==="[object RegExp]"}function Ml(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Br(t){return g(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Wu(t){return t==null?"":Array.isArray(t)||Tt(t)&&t.toString===Ci?JSON.stringify(t,qu,2):String(t)}function qu(t,e){return e&&e.__v_isRef?e.value:e}function Ln(t){var e=parseFloat(t);return isNaN(e)?t:e}function Lt(t,e){for(var n=Object.create(null),o=t.split(","),r=0;r-1)return t.splice(o,1)}}var Xu=Object.prototype.hasOwnProperty;function gt(t,e){return Xu.call(t,e)}function Fe(t){var e=Object.create(null);return function(n){var o=e[n];return o||(e[n]=t(n))}}var Yu=/-(\w)/g,Ie=Fe(function(t){return t.replace(Yu,function(e,n){return n?n.toUpperCase():""})}),Zu=Fe(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Ju=/\B([A-Z])/g,Hn=Fe(function(t){return t.replace(Ju,"-$1").toLowerCase()});function Qu(t,e){function n(o){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,o):t.call(e)}return n._length=t.length,n}function td(t,e){return t.bind(e)}var Fl=Function.prototype.bind?td:Qu;function zr(t,e){e=e||0;for(var n=t.length-e,o=new Array(n);n--;)o[n]=t[n+e];return o}function X(t,e){for(var n in e)t[n]=e[n];return t}function Bl(t){for(var e={},n=0;n0,Ul=Nt&&Nt.indexOf("edge/")>0;Nt&&Nt.indexOf("android")>0;var id=Nt&&/iphone|ipad|ipod|ios/.test(Nt),Sa=Nt&&Nt.match(/firefox\/(\d+)/),Hr={}.watch,Gl=!1;if(Ct)try{var Aa={};Object.defineProperty(Aa,"passive",{get:function(){Gl=!0}}),window.addEventListener("test-passive",null,Aa)}catch{}var to,ge=function(){return to===void 0&&(!Ct&&typeof sn<"u"?to=sn.process&&Vu.VUE_ENV==="server":to=!1),to},Eo=Ct&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function on(t){return typeof t=="function"&&/native code/.test(t.toString())}var Vn=typeof Symbol<"u"&&on(Symbol)&&typeof Reflect<"u"&&on(Reflect.ownKeys),Dn;typeof Set<"u"&&on(Set)?Dn=Set:Dn=(function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t})();var _t=null;function ad(){return _t&&{proxy:_t}}function fe(t){t===void 0&&(t=null),t||_t&&_t._scope.off(),_t=t,t&&t._scope.on()}var xt=(function(){function t(e,n,o,r,i,a,l,s){this.tag=e,this.data=n,this.children=o,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=l,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t})(),ln=function(t){t===void 0&&(t="");var e=new xt;return e.text=t,e.isComment=!0,e};function tn(t){return new xt(void 0,void 0,void 0,String(t))}function Vr(t){var e=new xt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var sd=0,ho=[],ld=function(){for(var t=0;t1)return n&&K(e)?e.call(o):e}}var Pa=Fe(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var n=t.charAt(0)==="~";t=n?t.slice(1):t;var o=t.charAt(0)==="!";return t=o?t.slice(1):t,{name:t,once:n,capture:o,passive:e}});function Wr(t,e){function n(){var o=n.fns;if(F(o))for(var r=o.slice(),i=0;i0&&(r=nc(r,"".concat(e||"","_").concat(o)),bn(r[0])&&bn(a)&&(n[i]=tn(a.text+r[0].text),r.shift()),n.push.apply(n,r)):jn(r)?bn(a)?n[i]=tn(a.text+r):r!==""&&n.push(tn(r)):bn(r)&&bn(a)?n[i]=tn(a.text+r.text):(et(t._isVList)&&g(r.tag)&&P(r.key)&&g(e)&&(r.key="__vlist".concat(e,"_").concat(o,"__")),n.push(r)));return n}function $d(t,e){var n=null,o,r,i,a;if(F(t)||typeof t=="string")for(n=new Array(t.length),o=0,r=t.length;o0,a=e?!!e.$stable:!i,l=e&&e.$key;if(!e)r={};else{if(e._normalized)return e._normalized;if(a&&o&&o!==Et&&l===o.$key&&!i&&!o.$hasNormal)return o;r={};for(var s in e)e[s]&&s[0]!=="$"&&(r[s]=Pd(t,n,s,e[s]))}for(var c in n)c in r||(r[c]=Rd(n,c));return e&&Object.isExtensible(e)&&(e._normalized=r),At(r,"$stable",a),At(r,"$key",l),At(r,"$hasNormal",i),r}function Pd(t,e,n,o){var r=function(){var i=_t;fe(t);var a=arguments.length?o.apply(null,arguments):o({});a=a&&typeof a=="object"&&!F(a)?[a]:Ti(a);var l=a&&a[0];return fe(i),a&&(!l||a.length===1&&l.isComment&&!Mn(l))?void 0:a};return o.proxy&&Object.defineProperty(e,n,{get:r,enumerable:!0,configurable:!0}),r}function Rd(t,e){return function(){return t[e]}}function Ld(t){var e=t.$options,n=e.setup;if(n){var o=t._setupContext=Dd(t);fe(t),hn();var r=te(n,null,[t._props||Yl({}),o],t,"setup");if(mn(),fe(),K(r))e.render=r;else if(ht(r))if(t._setupState=r,r.__sfc){var i=t._setupProxy={};for(var a in r)a!=="__sfc"&&Gr(i,r,a)}else for(var a in r)Vl(a)||Gr(t,r,a)}}function Dd(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};At(e,"_v_attr_proxy",!0),So(e,t.$attrs,Et,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};So(e,t.$listeners,Et,t,"$listeners")}return t._listenersProxy},get slots(){return Fd(t)},emit:Fl(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return Gr(t,e,n)})}}}function So(t,e,n,o,r){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Md(t,a,o,r));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Md(t,e,n,o){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[o][e]}})}function Fd(t){return t._slotsProxy||ac(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function ac(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Bd(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=xi(e._renderChildren,o),t.$scopedSlots=n?xn(t.$parent,n.data.scopedSlots,t.$slots):Et,t._c=function(i,a,l,s){return Ao(t,i,a,l,s,!1)},t.$createElement=function(i,a,l,s){return Ao(t,i,a,l,s,!0)};var r=n&&n.data;me(t,"$attrs",r&&r.attrs||Et,null,!0),me(t,"$listeners",e._parentListeners||Et,null,!0)}var go=null;function zd(t){ic(t.prototype),t.prototype.$nextTick=function(e){return ki(e,this)},t.prototype._render=function(){var e=this,n=e.$options,o=n.render,r=n._parentVnode;r&&e._isMounted&&(e.$scopedSlots=xn(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&ac(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var i=_t,a=go,l;try{fe(e),go=e,l=o.call(e._renderProxy,e.$createElement)}catch(s){Re(s,e,"render"),l=e._vnode}finally{go=a,fe(i)}return F(l)&&l.length===1&&(l=l[0]),l instanceof xt||(l=ln()),l.parent=r,l}}function fr(t,e){return(t.__esModule||Vn&&t[Symbol.toStringTag]==="Module")&&(t=t.default),ht(t)?e.extend(t):t}function jd(t,e,n,o,r){var i=ln();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:o,tag:r},i}function Hd(t,e){if(et(t.error)&&g(t.errorComp))return t.errorComp;if(g(t.resolved))return t.resolved;var n=go;if(n&&g(t.owners)&&t.owners.indexOf(n)===-1&&t.owners.push(n),et(t.loading)&&g(t.loadingComp))return t.loadingComp;if(n&&!g(t.owners)){var o=t.owners=[n],r=!0,i=null,a=null;n.$on("hook:destroyed",function(){return ve(o,n)});var l=function(m){for(var v=0,_=o.length;v<_;v++)o[v].$forceUpdate();m&&(o.length=0,i!==null&&(clearTimeout(i),i=null),a!==null&&(clearTimeout(a),a=null))},s=$o(function(m){t.resolved=fr(m,e),r?o.length=0:l(!0)}),c=$o(function(m){g(t.errorComp)&&(t.error=!0,l(!0))}),u=t(s,c);return ht(u)&&(Br(u)?P(t.resolved)&&u.then(s,c):Br(u.component)&&(u.component.then(s,c),g(u.error)&&(t.errorComp=fr(u.error,e)),g(u.loading)&&(t.loadingComp=fr(u.loading,e),u.delay===0?t.loading=!0:i=setTimeout(function(){i=null,P(t.resolved)&&P(t.error)&&(t.loading=!0,l(!1))},u.delay||200)),g(u.timeout)&&(a=setTimeout(function(){a=null,P(t.resolved)&&c(null)},u.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}function sc(t){if(F(t))for(var e=0;e1?zr(r):r;for(var i=zr(arguments,1),a='event handler for "'.concat(n,'"'),l=0,s=r.length;ldocument.createEvent("Event").timeStamp&&(Zr=function(){return hr.now()})}var cp=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function up(){mc=Zr(),Pi=!0;var t,e;for(Xt.sort(cp),en=0;enen&&Xt[n].id>t.id;)n--;Xt.splice(n+1,0,t)}Yr||(Yr=!0,ki(up))}}function hp(t){var e=t.$options.provide;if(e){var n=K(e)?e.call(t):e;if(!ht(n))return;for(var o=yd(t),r=Vn?Reflect.ownKeys(n):Object.keys(n),i=0;i-1){if(i&&!gt(r,"default"))a=!1;else if(a===""||a===Hn(t)){var s=qa(String,r.type);(s<0||l-1)return this;var o=zr(arguments,1);return o.unshift(this),K(e.install)?e.install.apply(e,o):K(e)&&e.apply(null,o),n.push(e),this}}function Up(t){t.mixin=function(e){return this.options=Le(this.options,e),this}}function Gp(t){t.cid=0;var e=1;t.extend=function(n){n=n||{};var o=this,r=o.cid,i=n._Ctor||(n._Ctor={});if(i[r])return i[r];var a=xo(n)||xo(o.options),l=function(s){this._init(s)};return l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.cid=e++,l.options=Le(o.options,n),l.super=o,l.options.props&&Wp(l),l.options.computed&&qp(l),l.extend=o.extend,l.mixin=o.mixin,l.use=o.use,Go.forEach(function(s){l[s]=o[s]}),a&&(l.options.components[a]=l),l.superOptions=o.options,l.extendOptions=n,l.sealedOptions=X({},l.options),i[r]=l,l}}function Wp(t){var e=t.options.props;for(var n in e)Mi(t.prototype,"_props",n)}function qp(t){var e=t.options.computed;for(var n in e)_c(t.prototype,n,e[n])}function Kp(t){Go.forEach(function(e){t[e]=function(n,o){return o?(e==="component"&&Tt(o)&&(o.name=o.name||n,o=this.options._base.extend(o)),e==="directive"&&K(o)&&(o={bind:o,update:o}),this.options[e+"s"][n]=o,o):this.options[e+"s"][n]}})}function Ya(t){return t&&(xo(t.Ctor.options)||t.tag)}function oo(t,e){return F(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:Gu(t)?t.test(e):!1}function Za(t,e){var n=t.cache,o=t.keys,r=t._vnode,i=t.$vnode;for(var a in n){var l=n[a];if(l){var s=l.name;s&&!e(s)&&ei(n,a,o,r)}}i.componentOptions.children=void 0}function ei(t,e,n,o){var r=t[e];r&&(!o||r.tag!==o.tag)&&r.componentInstance.$destroy(),t[e]=null,ve(n,e)}var Ja=[String,RegExp,Array],Xp={name:"keep-alive",abstract:!0,props:{include:Ja,exclude:Ja,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,o=t.vnodeToCache,r=t.keyToCache;if(o){var i=o.tag,a=o.componentInstance,l=o.componentOptions;e[r]={name:Ya(l),tag:i,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&ei(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ei(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){Za(t,function(n){return oo(e,n)})}),this.$watch("exclude",function(e){Za(t,function(n){return!oo(e,n)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=sc(t),n=e&&e.componentOptions;if(n){var o=Ya(n),r=this,i=r.include,a=r.exclude;if(i&&(!o||!oo(i,o))||a&&o&&oo(a,o))return e;var l=this,s=l.cache,c=l.keys,u=e.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;s[u]?(e.componentInstance=s[u].componentInstance,ve(c,u),c.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},Yp={KeepAlive:Xp};function Zp(t){var e={};e.get=function(){return kt},Object.defineProperty(t,"config",e),t.util={warn:wp,extend:X,mergeOptions:Le,defineReactive:me},t.set=Ai,t.delete=Kl,t.nextTick=ki,t.observable=function(n){return Qt(n),n},t.options=Object.create(null),Go.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,X(t.options.components,Yp),Vp(t),Up(t),Gp(t),Kp(t)}Zp(U),Object.defineProperty(U.prototype,"$isServer",{get:ge}),Object.defineProperty(U.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(U,"FunctionalRenderContext",{value:Ri}),U.version=Zd;var Jp=Lt("style,class"),Qp=Lt("input,textarea,option,select,progress"),tf=function(t,e,n){return n==="value"&&Qp(t)&&e!=="button"||n==="selected"&&t==="option"||n==="checked"&&t==="input"||n==="muted"&&t==="video"},yc=Lt("contenteditable,draggable,spellcheck"),ef=Lt("events,caret,typing,plaintext-only"),nf=function(t,e){return No(e)||e==="false"?"false":t==="contenteditable"&&ef(e)?e:"true"},of=Lt("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ni="http://www.w3.org/1999/xlink",Bi=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},bc=function(t){return Bi(t)?t.slice(6,t.length):""},No=function(t){return t==null||t===!1};function rf(t){for(var e=t.data,n=t,o=t;g(o.componentInstance);)o=o.componentInstance._vnode,o&&o.data&&(e=Qa(o.data,e));for(;g(n=n.parent);)n&&n.data&&(e=Qa(e,n.data));return af(e.staticClass,e.class)}function Qa(t,e){return{staticClass:zi(t.staticClass,e.staticClass),class:g(t.class)?[t.class,e.class]:e.class}}function af(t,e){return g(t)||g(e)?zi(t,ji(e)):""}function zi(t,e){return t?e?t+" "+e:t:e||""}function ji(t){return Array.isArray(t)?sf(t):ht(t)?lf(t):typeof t=="string"?t:""}function sf(t){for(var e="",n,o=0,r=t.length;o-1?ro[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ro[t]=/HTMLUnknownElement/.test(e.toString())}var oi=Lt("text,number,password,search,email,tel,url");function ff(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function hf(t,e){var n=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function mf(t,e){return document.createElementNS(cf[t],e)}function vf(t){return document.createTextNode(t)}function gf(t){return document.createComment(t)}function _f(t,e,n){t.insertBefore(e,n)}function yf(t,e){t.removeChild(e)}function bf(t,e){t.appendChild(e)}function wf(t){return t.parentNode}function $f(t){return t.nextSibling}function Ef(t){return t.tagName}function Cf(t,e){t.textContent=e}function Sf(t,e){t.setAttribute(e,"")}var Af=Object.freeze({__proto__:null,createElement:hf,createElementNS:mf,createTextNode:vf,createComment:gf,insertBefore:_f,removeChild:yf,appendChild:bf,parentNode:wf,nextSibling:$f,tagName:Ef,setTextContent:Cf,setStyleScope:Sf}),Tf={create:function(t,e){nn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(nn(t,!0),nn(e))},destroy:function(t){nn(t,!0)}};function nn(t,e){var n=t.data.ref;if(g(n)){var o=t.context,r=t.componentInstance||t.elm,i=e?null:r,a=e?void 0:r;if(K(n)){te(n,o,[i],o,"template ref function");return}var l=t.data.refInFor,s=typeof n=="string"||typeof n=="number",c=St(n),u=o.$refs;if(s||c){if(l){var m=s?u[n]:n.value;e?F(m)&&ve(m,r):F(m)?m.includes(r)||m.push(r):s?(u[n]=[r],ts(o,n,u[n])):n.value=[r]}else if(s){if(e&&u[n]!==r)return;u[n]=a,ts(o,n,i)}else if(c){if(e&&n.value!==r)return;n.value=i}}}}function ts(t,e,n){var o=t._setupState;o&>(o,e)&&(St(o[e])?o[e].value=n:o[e]=n)}var pe=new xt("",{},[]),wn=["create","activate","update","remove","destroy"];function Ee(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&g(t.data)===g(e.data)&&xf(t,e)||et(t.isAsyncPlaceholder)&&P(e.asyncFactory.error))}function xf(t,e){if(t.tag!=="input")return!0;var n,o=g(n=t.data)&&g(n=n.attrs)&&n.type,r=g(n=e.data)&&g(n=n.attrs)&&n.type;return o===r||oi(o)&&oi(r)}function kf(t,e,n){var o,r,i={};for(o=e;o<=n;++o)r=t[o].key,g(r)&&(i[r]=o);return i}function Nf(t){var e,n,o={},r=t.modules,i=t.nodeOps;for(e=0;ex?(Z=P(h[z+1])?null:h[z+1].elm,A(d,Z,h,C,z,b)):C>z&&M(f,T,x)}function G(d,f,h,b){for(var $=h;$-1?rs(t,e,n):of(e)?No(n)?t.removeAttribute(e):(n=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,n)):yc(e)?t.setAttribute(e,nf(e,n)):Bi(e)?No(n)?t.removeAttributeNS(ni,bc(e)):t.setAttributeNS(ni,e,n):rs(t,e,n)}function rs(t,e,n){if(No(n))t.removeAttribute(e);else{if(pn&&!fn&&t.tagName==="TEXTAREA"&&e==="placeholder"&&n!==""&&!t.__ieph){var o=function(r){r.stopImmediatePropagation(),t.removeEventListener("input",o)};t.addEventListener("input",o),t.__ieph=!0}t.setAttribute(e,n)}}var Df={create:ns,update:ns};function is(t,e){var n=e.elm,o=e.data,r=t.data;if(!(P(o.staticClass)&&P(o.class)&&(P(r)||P(r.staticClass)&&P(r.class)))){var i=rf(e),a=n._transitionClasses;g(a)&&(i=zi(i,ji(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var Mf={create:is,update:is},vr="__r",gr="__c";function Ff(t){if(g(t[vr])){var e=pn?"change":"input";t[e]=[].concat(t[vr],t[e]||[]),delete t[vr]}g(t[gr])&&(t.change=[].concat(t[gr],t.change||[]),delete t[gr])}var zn;function Bf(t,e,n){var o=zn;return function r(){var i=e.apply(null,arguments);i!==null&&$c(t,r,n,o)}}var zf=qr&&!(Sa&&Number(Sa[1])<=53);function jf(t,e,n,o){if(zf){var r=mc,i=e;e=i._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=r||a.timeStamp<=0||a.target.ownerDocument!==document)return i.apply(this,arguments)}}zn.addEventListener(t,e,Gl?{capture:n,passive:o}:n)}function $c(t,e,n,o){(o||zn).removeEventListener(t,e._wrapper||e,n)}function _r(t,e){if(!(P(t.data.on)&&P(e.data.on))){var n=e.data.on||{},o=t.data.on||{};zn=e.elm||t.elm,Ff(n),ec(n,o,jf,$c,Bf,e.context),zn=void 0}}var Hf={create:_r,update:_r,destroy:function(t){return _r(t,pe)}},io;function as(t,e){if(!(P(t.data.domProps)&&P(e.data.domProps))){var n,o,r=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};(g(a.__ob__)||et(a._v_attr_proxy))&&(a=e.data.domProps=X({},a));for(n in i)n in a||(r[n]="");for(n in a){if(o=a[n],n==="textContent"||n==="innerHTML"){if(e.children&&(e.children.length=0),o===i[n])continue;r.childNodes.length===1&&r.removeChild(r.childNodes[0])}if(n==="value"&&r.tagName!=="PROGRESS"){r._value=o;var l=P(o)?"":String(o);Vf(r,l)&&(r.value=l)}else if(n==="innerHTML"&&Hi(r.tagName)&&P(r.innerHTML)){io=io||document.createElement("div"),io.innerHTML="".concat(o,"");for(var s=io.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}else if(o!==i[n])try{r[n]=o}catch{}}}}function Vf(t,e){return!t.composing&&(t.tagName==="OPTION"||Uf(t,e)||Gf(t,e))}function Uf(t,e){var n=!0;try{n=document.activeElement!==t}catch{}return n&&t.value!==e}function Gf(t,e){var n=t.value,o=t._vModifiers;if(g(o)){if(o.number)return Ln(n)!==Ln(e);if(o.trim)return n.trim()!==e.trim()}return n!==e}var Wf={create:as,update:as},qf=Fe(function(t){var e={},n=/;(?![^(]*\))/g,o=/:(.+)/;return t.split(n).forEach(function(r){if(r){var i=r.split(o);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function yr(t){var e=Ec(t.style);return t.staticStyle?X(t.staticStyle,e):e}function Ec(t){return Array.isArray(t)?Bl(t):typeof t=="string"?qf(t):t}function Kf(t,e){for(var n={},o,r=t;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(o=yr(r.data))&&X(n,o);(o=yr(t.data))&&X(n,o);for(var i=t;i=i.parent;)i.data&&(o=yr(i.data))&&X(n,o);return n}var Xf=/^--/,ss=/\s*!important$/,ls=function(t,e,n){if(Xf.test(e))t.style.setProperty(e,n);else if(ss.test(n))t.style.setProperty(Hn(e),n.replace(ss,""),"important");else{var o=Yf(e);if(Array.isArray(n))for(var r=0,i=n.length;r-1?e.split(Cc).forEach(function(o){return t.classList.add(o)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ac(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(Cc).forEach(function(r){return t.classList.remove(r)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),o=" "+e+" ";n.indexOf(o)>=0;)n=n.replace(o," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Tc(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&X(e,ds(t.name||"v")),X(e,t),e}else if(typeof t=="string")return ds(t)}}var ds=Fe(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),xc=Ct&&!fn,Ze="transition",br="animation",yo="transition",Oo="transitionend",ri="animation",kc="animationend";xc&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(yo="WebkitTransition",Oo="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ri="WebkitAnimation",kc="webkitAnimationEnd"));var ps=Ct?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Nc(t){ps(function(){ps(t)})}function Oe(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Sc(t,e))}function Yt(t,e){t._transitionClasses&&ve(t._transitionClasses,e),Ac(t,e)}function Oc(t,e,n){var o=Ic(t,e),r=o.type,i=o.timeout,a=o.propCount;if(!r)return n();var l=r===Ze?Oo:kc,s=0,c=function(){t.removeEventListener(l,u),n()},u=function(m){m.target===t&&++s>=a&&c()};setTimeout(function(){s0&&(c=Ze,u=i,m=r.length):e===br?s>0&&(c=br,u=s,m=l.length):(u=Math.max(i,s),c=u>0?i>s?Ze:br:null,m=c?c===Ze?r.length:l.length:0);var v=c===Ze&&Jf.test(n[yo+"Property"]);return{type:c,timeout:u,propCount:m,hasTransform:v}}function fs(t,e){for(;t.length1}function ms(t,e){e.data.show!==!0&&ii(e)}var Qf=Ct?{create:ms,activate:ms,remove:function(t,e){t.data.show!==!0?Pc(t,e):e()}}:{},th=[Df,Mf,Hf,Wf,Zf,Qf],eh=th.concat(Lf),nh=Nf({nodeOps:Af,modules:eh});fn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ui(t,"input")});var Lc={inserted:function(t,e,n,o){n.tag==="select"?(o.elm&&!o.elm._vOptions?de(n,"postpatch",function(){Lc.componentUpdated(t,e,n)}):vs(t,e,n.context),t._vOptions=[].map.call(t.options,Io)):(n.tag==="textarea"||oi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",oh),t.addEventListener("compositionend",ys),t.addEventListener("change",ys),fn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if(n.tag==="select"){vs(t,e,n.context);var o=t._vOptions,r=t._vOptions=[].map.call(t.options,Io);if(r.some(function(a,l){return!Pe(a,o[l])})){var i=t.multiple?e.value.some(function(a){return _s(a,r)}):e.value!==e.oldValue&&_s(e.value,r);i&&Ui(t,"change")}}}};function vs(t,e,n){gs(t,e),(pn||Ul)&&setTimeout(function(){gs(t,e)},0)}function gs(t,e,n){var o=e.value,r=t.multiple;if(!(r&&!Array.isArray(o))){for(var i,a,l=0,s=t.options.length;l-1,a.selected!==i&&(a.selected=i);else if(Pe(Io(a),o)){t.selectedIndex!==l&&(t.selectedIndex=l);return}r||(t.selectedIndex=-1)}}function _s(t,e){return e.every(function(n){return!Pe(n,t)})}function Io(t){return"_value"in t?t._value:t.value}function oh(t){t.target.composing=!0}function ys(t){t.target.composing&&(t.target.composing=!1,Ui(t.target,"input"))}function Ui(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ai(t){return t.componentInstance&&(!t.data||!t.data.transition)?ai(t.componentInstance._vnode):t}var rh={bind:function(t,e,n){var o=e.value;n=ai(n);var r=n.data&&n.data.transition,i=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;o&&r?(n.data.show=!0,ii(n,function(){t.style.display=i})):t.style.display=o?i:"none"},update:function(t,e,n){var o=e.value,r=e.oldValue;if(!o!=!r){n=ai(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,o?ii(n,function(){t.style.display=t.__vOriginalDisplay}):Pc(n,function(){t.style.display="none"})):t.style.display=o?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}},ih={model:Lc,show:rh},Dc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function si(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?si(sc(e.children)):t}function Mc(t){var e={},n=t.$options;for(var o in n.propsData)e[o]=t[o];var r=n._parentListeners;for(var o in r)e[Ie(o)]=r[o];return e}function bs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ah(t){for(;t=t.parent;)if(t.data.transition)return!0}function sh(t,e){return e.key===t.key&&e.tag===t.tag}var lh=function(t){return t.tag||Mn(t)},ch=function(t){return t.name==="show"},uh={name:"transition",props:Dc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(lh),!!n.length)){var o=this.mode,r=n[0];if(ah(this.$vnode))return r;var i=si(r);if(!i)return r;if(this._leaving)return bs(t,r);var a="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?a+"comment":a+i.tag:jn(i.key)?String(i.key).indexOf(a)===0?i.key:a+i.key:i.key;var l=(i.data||(i.data={})).transition=Mc(this),s=this._vnode,c=si(s);if(i.data.directives&&i.data.directives.some(ch)&&(i.data.show=!0),c&&c.data&&!sh(i,c)&&!Mn(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var u=c.data.transition=X({},l);if(o==="out-in")return this._leaving=!0,de(u,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),bs(t,r);if(o==="in-out"){if(Mn(i))return s;var m,v=function(){m()};de(l,"afterEnter",v),de(l,"enterCancelled",v),de(u,"delayLeave",function(_){m=_})}}return r}}},Fc=X({tag:String,moveClass:String},Dc);delete Fc.mode;var dh={props:Fc,beforeMount:function(){var t=this,e=this._update;this._update=function(n,o){var r=pc(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,o)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],i=this.children=[],a=Mc(this),l=0;lt.length)&&(e=t.length);for(var n=0,o=Array(e);n2?n-2:0),r=2;r1?e-1:0),o=1;o"u"?null:st(BigInt.prototype.toString),Ts=typeof Symbol>"u"?null:st(Symbol.prototype.toString),nt=st(Object.prototype.hasOwnProperty),En=st(Object.prototype.toString),ft=st(RegExp.prototype.test),so=Nh(TypeError);function st(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:Tn;if($s&&$s(t,null),!vt(e))return t;let o=e.length;for(;o--;){let r=e[o];if(typeof r=="string"){const i=n(r);i!==r&&($h(e)||(e[o]=i),r=i)}t[r]=!0}return t}function Oh(t){for(let e=0;e/g),Fh=Ot(/\${[\w\W]*/g),Bh=Ot(/^data-[\-\w.\u00B7-\uFFFF]+$/),zh=Ot(/^aria-[\-\w]+$/),Is=Ot(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),jh=Ot(/^(?:\w+script|data):/i),Hh=Ot(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Vh=Ot(/^html$/i),Uh=Ot(/^[a-z][.\w]*(-[.\w]+)+$/i),Ke={element:1,text:3,progressingInstruction:7,comment:8,document:9},Gh=function(){return typeof window>"u"?null:window},Wh=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Ps=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function jc(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gh();const e=p=>jc(p);if(e.version="3.4.5",e.removed=[],!t||!t.document||t.document.nodeType!==Ke.document||!t.Element)return e.isSupported=!1,e;let n=t.document;const o=n,r=o.currentScript,i=t.DocumentFragment,a=t.HTMLTemplateElement,l=t.Node,s=t.Element,c=t.NodeFilter,u=t.NamedNodeMap,m=u===void 0?t.NamedNodeMap||t.MozNamedAttrMap:u,v=t.HTMLFormElement,_=t.DOMParser,k=t.trustedTypes,y=s.prototype,S=Se(y,"cloneNode"),O=Se(y,"remove"),A=Se(y,"nextSibling"),R=Se(y,"childNodes"),M=Se(y,"parentNode"),Q=l&&l.prototype?Se(l.prototype,"nodeType"):null;if(typeof a=="function"){const p=n.createElement("template");p.content&&p.content.ownerDocument&&(n=p.content.ownerDocument)}let H,G="";const W=n,ot=W.implementation,pt=W.createNodeIterator,ct=W.createDocumentFragment,d=W.getElementsByTagName,f=o.importNode;let h=Ps();e.isSupported=typeof Bc=="function"&&typeof M=="function"&&ot&&ot.createHTMLDocument!==void 0;const b=Dh,$=Mh,T=Fh,C=Bh,x=zh,N=jh,I=Hh,z=Uh;let B=Is,j=null;const ut=D({},[...xs,...$r,...Er,...Cr,...ks]);let q=null;const mt=D({},[...Ns,...Sr,...Os,...lo]);let Z=Object.seal(Je(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ut=null,Wn=null;const re=Object.seal(Je(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ra=!0,tr=!0,ia=!1,aa=!0,ie=!1,gn=!0,be=!1,er=!1,nr=!1,ze=!1,qn=!1,Kn=!1,sa=!0,la=!1;const ca="user-content-";let or=!0,_n=!1,je={},Dt=null;const rr=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ua=null;const da=D({},["audio","video","img","source","image","track"]);let ir=null;const pa=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xn="http://www.w3.org/1998/Math/MathML",Yn="http://www.w3.org/2000/svg",Mt="http://www.w3.org/1999/xhtml";let He=Mt,ar=!1,sr=null;const Lu=D({},[Xn,Yn,Mt],wr);let lr=D({},["mi","mo","mn","ms","mtext"]),cr=D({},["annotation-xml"]);const Du=D({},["title","style","font","a","script"]);let yn=null;const Mu=["application/xhtml+xml","text/html"],Fu="text/html";let lt=null,Ve=null;const Bu=n.createElement("form"),fa=function(p){return p instanceof RegExp||p instanceof Function},ur=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ve&&Ve===p)return;(!p||typeof p!="object")&&(p={}),p=bt(p),yn=Mu.indexOf(p.PARSER_MEDIA_TYPE)===-1?Fu:p.PARSER_MEDIA_TYPE,lt=yn==="application/xhtml+xml"?wr:Tn,j=nt(p,"ALLOWED_TAGS")&&vt(p.ALLOWED_TAGS)?D({},p.ALLOWED_TAGS,lt):ut,q=nt(p,"ALLOWED_ATTR")&&vt(p.ALLOWED_ATTR)?D({},p.ALLOWED_ATTR,lt):mt,sr=nt(p,"ALLOWED_NAMESPACES")&&vt(p.ALLOWED_NAMESPACES)?D({},p.ALLOWED_NAMESPACES,wr):Lu,ir=nt(p,"ADD_URI_SAFE_ATTR")&&vt(p.ADD_URI_SAFE_ATTR)?D(bt(pa),p.ADD_URI_SAFE_ATTR,lt):pa,ua=nt(p,"ADD_DATA_URI_TAGS")&&vt(p.ADD_DATA_URI_TAGS)?D(bt(da),p.ADD_DATA_URI_TAGS,lt):da,Dt=nt(p,"FORBID_CONTENTS")&&vt(p.FORBID_CONTENTS)?D({},p.FORBID_CONTENTS,lt):rr,Ut=nt(p,"FORBID_TAGS")&&vt(p.FORBID_TAGS)?D({},p.FORBID_TAGS,lt):bt({}),Wn=nt(p,"FORBID_ATTR")&&vt(p.FORBID_ATTR)?D({},p.FORBID_ATTR,lt):bt({}),je=nt(p,"USE_PROFILES")?p.USE_PROFILES&&typeof p.USE_PROFILES=="object"?bt(p.USE_PROFILES):p.USE_PROFILES:!1,ra=p.ALLOW_ARIA_ATTR!==!1,tr=p.ALLOW_DATA_ATTR!==!1,ia=p.ALLOW_UNKNOWN_PROTOCOLS||!1,aa=p.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ie=p.SAFE_FOR_TEMPLATES||!1,gn=p.SAFE_FOR_XML!==!1,be=p.WHOLE_DOCUMENT||!1,ze=p.RETURN_DOM||!1,qn=p.RETURN_DOM_FRAGMENT||!1,Kn=p.RETURN_TRUSTED_TYPE||!1,nr=p.FORCE_BODY||!1,sa=p.SANITIZE_DOM!==!1,la=p.SANITIZE_NAMED_PROPS||!1,or=p.KEEP_CONTENT!==!1,_n=p.IN_PLACE||!1,B=Ph(p.ALLOWED_URI_REGEXP)?p.ALLOWED_URI_REGEXP:Is,He=typeof p.NAMESPACE=="string"?p.NAMESPACE:Mt,lr=nt(p,"MATHML_TEXT_INTEGRATION_POINTS")&&p.MATHML_TEXT_INTEGRATION_POINTS&&typeof p.MATHML_TEXT_INTEGRATION_POINTS=="object"?bt(p.MATHML_TEXT_INTEGRATION_POINTS):D({},["mi","mo","mn","ms","mtext"]),cr=nt(p,"HTML_INTEGRATION_POINTS")&&p.HTML_INTEGRATION_POINTS&&typeof p.HTML_INTEGRATION_POINTS=="object"?bt(p.HTML_INTEGRATION_POINTS):D({},["annotation-xml"]);const w=nt(p,"CUSTOM_ELEMENT_HANDLING")&&p.CUSTOM_ELEMENT_HANDLING&&typeof p.CUSTOM_ELEMENT_HANDLING=="object"?bt(p.CUSTOM_ELEMENT_HANDLING):Je(null);if(Z=Je(null),nt(w,"tagNameCheck")&&fa(w.tagNameCheck)&&(Z.tagNameCheck=w.tagNameCheck),nt(w,"attributeNameCheck")&&fa(w.attributeNameCheck)&&(Z.attributeNameCheck=w.attributeNameCheck),nt(w,"allowCustomizedBuiltInElements")&&typeof w.allowCustomizedBuiltInElements=="boolean"&&(Z.allowCustomizedBuiltInElements=w.allowCustomizedBuiltInElements),ie&&(tr=!1),qn&&(ze=!0),je&&(j=D({},ks),q=Je(null),je.html===!0&&(D(j,xs),D(q,Ns)),je.svg===!0&&(D(j,$r),D(q,Sr),D(q,lo)),je.svgFilters===!0&&(D(j,Er),D(q,Sr),D(q,lo)),je.mathMl===!0&&(D(j,Cr),D(q,Os),D(q,lo))),re.tagCheck=null,re.attributeCheck=null,nt(p,"ADD_TAGS")&&(typeof p.ADD_TAGS=="function"?re.tagCheck=p.ADD_TAGS:vt(p.ADD_TAGS)&&(j===ut&&(j=bt(j)),D(j,p.ADD_TAGS,lt))),nt(p,"ADD_ATTR")&&(typeof p.ADD_ATTR=="function"?re.attributeCheck=p.ADD_ATTR:vt(p.ADD_ATTR)&&(q===mt&&(q=bt(q)),D(q,p.ADD_ATTR,lt))),nt(p,"ADD_URI_SAFE_ATTR")&&vt(p.ADD_URI_SAFE_ATTR)&&D(ir,p.ADD_URI_SAFE_ATTR,lt),nt(p,"FORBID_CONTENTS")&&vt(p.FORBID_CONTENTS)&&(Dt===rr&&(Dt=bt(Dt)),D(Dt,p.FORBID_CONTENTS,lt)),nt(p,"ADD_FORBID_CONTENTS")&&vt(p.ADD_FORBID_CONTENTS)&&(Dt===rr&&(Dt=bt(Dt)),D(Dt,p.ADD_FORBID_CONTENTS,lt)),or&&(j["#text"]=!0),be&&D(j,["html","head","body"]),j.table&&(D(j,["tbody"]),delete Ut.tbody),p.TRUSTED_TYPES_POLICY){if(typeof p.TRUSTED_TYPES_POLICY.createHTML!="function")throw so('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof p.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw so('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');H=p.TRUSTED_TYPES_POLICY,G=H.createHTML("")}else H===void 0&&(H=Wh(k,r)),H!==null&&typeof G=="string"&&(G=H.createHTML(""));yt&&yt(p),Ve=p},ha=D({},[...$r,...Er,...Rh]),ma=D({},[...Cr,...Lh]),zu=function(p){let w=M(p);(!w||!w.tagName)&&(w={namespaceURI:He,tagName:"template"});const E=Tn(p.tagName),L=Tn(w.tagName);return sr[p.namespaceURI]?p.namespaceURI===Yn?w.namespaceURI===Mt?E==="svg":w.namespaceURI===Xn?E==="svg"&&(L==="annotation-xml"||lr[L]):!!ha[E]:p.namespaceURI===Xn?w.namespaceURI===Mt?E==="math":w.namespaceURI===Yn?E==="math"&&cr[L]:!!ma[E]:p.namespaceURI===Mt?w.namespaceURI===Yn&&!cr[L]||w.namespaceURI===Xn&&!lr[L]?!1:!ma[E]&&(Du[E]||!ha[E]):!!(yn==="application/xhtml+xml"&&sr[p.namespaceURI]):!1},we=function(p){We(e.removed,{element:p});try{M(p).removeChild(p)}catch{O(p)}},$e=function(p,w){try{We(e.removed,{attribute:w.getAttributeNode(p),from:w})}catch{We(e.removed,{attribute:null,from:w})}if(w.removeAttribute(p),p==="is")if(ze||qn)try{we(w)}catch{}else try{w.setAttribute(p,"")}catch{}},va=function(p){let w=null,E=null;if(nr)p=""+p;else{const tt=Cs(p,/^[\r\n\t ]+/);E=tt&&tt[0]}yn==="application/xhtml+xml"&&He===Mt&&(p=''+p+"");const L=H?H.createHTML(p):p;if(He===Mt)try{w=new _().parseFromString(L,yn)}catch{}if(!w||!w.documentElement){w=ot.createDocument(He,"template",null);try{w.documentElement.innerHTML=ar?G:L}catch{}}const rt=w.body||w.documentElement;return p&&E&&rt.insertBefore(n.createTextNode(E),rt.childNodes[0]||null),He===Mt?d.call(w,be?"html":"body")[0]:be?w.documentElement:rt},ga=function(p){return pt.call(p.ownerDocument||p,p,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},_a=function(p){p.normalize();const w=pt.call(p.ownerDocument||p,p,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let E=w.nextNode();for(;E;){let L=E.data;Ge([b,$,T],rt=>{L=qe(L,rt," ")}),E.data=L,E=w.nextNode()}},dr=function(p){return p instanceof v&&(typeof p.nodeName!="string"||typeof p.textContent!="string"||typeof p.removeChild!="function"||!(p.attributes instanceof m)||typeof p.removeAttribute!="function"||typeof p.setAttribute!="function"||typeof p.namespaceURI!="string"||typeof p.insertBefore!="function"||typeof p.hasChildNodes!="function")},Zn=function(p){if(!Q||typeof p!="object"||p===null)return!1;try{return typeof Q(p)=="number"}catch{return!1}};function Gt(p,w,E){Ge(p,L=>{L.call(e,w,E,Ve)})}const ya=function(p){let w=null;if(Gt(h.beforeSanitizeElements,p,null),dr(p))return we(p),!0;const E=lt(p.nodeName);if(Gt(h.uponSanitizeElement,p,{tagName:E,allowedTags:j}),gn&&p.hasChildNodes()&&!Zn(p.firstElementChild)&&ft(/<[/\w!]/g,p.innerHTML)&&ft(/<[/\w!]/g,p.textContent)||gn&&p.namespaceURI===Mt&&E==="style"&&Zn(p.firstElementChild)||p.nodeType===Ke.progressingInstruction||gn&&p.nodeType===Ke.comment&&ft(/<[/\w]/g,p.data))return we(p),!0;if(Ut[E]||!(re.tagCheck instanceof Function&&re.tagCheck(E))&&!j[E]){if(!Ut[E]&&wa(E)&&(Z.tagNameCheck instanceof RegExp&&ft(Z.tagNameCheck,E)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(E)))return!1;if(or&&!Dt[E]){const L=M(p)||p.parentNode,rt=R(p)||p.childNodes;if(rt&&L){const tt=rt.length;for(let Wt=tt-1;Wt>=0;--Wt){const Ft=S(rt[Wt],!0);L.insertBefore(Ft,A(p))}}}return we(p),!0}return p instanceof s&&!zu(p)||(E==="noscript"||E==="noembed"||E==="noframes")&&ft(/<\/no(script|embed|frames)/i,p.innerHTML)?(we(p),!0):(ie&&p.nodeType===Ke.text&&(w=p.textContent,Ge([b,$,T],L=>{w=qe(w,L," ")}),p.textContent!==w&&(We(e.removed,{element:p.cloneNode()}),p.textContent=w)),Gt(h.afterSanitizeElements,p,null),!1)},ba=function(p,w,E){if(Wn[w]||sa&&(w==="id"||w==="name")&&(E in n||E in Bu))return!1;const L=q[w]||re.attributeCheck instanceof Function&&re.attributeCheck(w,p);if(!(tr&&!Wn[w]&&ft(C,w))&&!(ra&&ft(x,w))){if(!L||Wn[w]){if(!(wa(p)&&(Z.tagNameCheck instanceof RegExp&&ft(Z.tagNameCheck,p)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(p))&&(Z.attributeNameCheck instanceof RegExp&&ft(Z.attributeNameCheck,w)||Z.attributeNameCheck instanceof Function&&Z.attributeNameCheck(w,p))||w==="is"&&Z.allowCustomizedBuiltInElements&&(Z.tagNameCheck instanceof RegExp&&ft(Z.tagNameCheck,E)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(E))))return!1}else if(!ir[w]&&!ft(B,qe(E,I,""))&&!((w==="src"||w==="xlink:href"||w==="href")&&p!=="script"&&Ss(E,"data:")===0&&ua[p])&&!(ia&&!ft(N,qe(E,I,"")))&&E)return!1}return!0},ju=D({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),wa=function(p){return!ju[Tn(p)]&&ft(z,p)},$a=function(p){Gt(h.beforeSanitizeAttributes,p,null);const w=p.attributes;if(!w||dr(p))return;const E={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:q,forceKeepAttr:void 0};let L=w.length;for(;L--;){const rt=w[L],tt=rt.name,Wt=rt.namespaceURI,Ft=rt.value,It=lt(tt),Ue=Ft;let dt=tt==="value"?Ue:Th(Ue);if(E.attrName=It,E.attrValue=dt,E.keepAttr=!0,E.forceKeepAttr=void 0,Gt(h.uponSanitizeAttribute,p,E),dt=E.attrValue,la&&(It==="id"||It==="name")&&Ss(dt,ca)!==0&&($e(tt,p),dt=ca+dt),gn&&ft(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,dt)){$e(tt,p);continue}if(It==="attributename"&&Cs(dt,"href")){$e(tt,p);continue}if(E.forceKeepAttr)continue;if(!E.keepAttr){$e(tt,p);continue}if(!aa&&ft(/\/>/i,dt)){$e(tt,p);continue}ie&&Ge([b,$,T],Hu=>{dt=qe(dt,Hu," ")});const Ea=lt(p.nodeName);if(!ba(Ea,It,dt)){$e(tt,p);continue}if(H&&typeof k=="object"&&typeof k.getAttributeType=="function"&&!Wt)switch(k.getAttributeType(Ea,It)){case"TrustedHTML":{dt=H.createHTML(dt);break}case"TrustedScriptURL":{dt=H.createScriptURL(dt);break}}if(dt!==Ue)try{Wt?p.setAttributeNS(Wt,tt,dt):p.setAttribute(tt,dt),dr(p)?we(p):Es(e.removed)}catch{$e(tt,p)}}Gt(h.afterSanitizeAttributes,p,null)},pr=function(p){let w=null;const E=ga(p);for(Gt(h.beforeSanitizeShadowDOM,p,null);w=E.nextNode();)Gt(h.uponSanitizeShadowNode,w,null),ya(w),$a(w),w.content instanceof i&&pr(w.content);Gt(h.afterSanitizeShadowDOM,p,null)},Jn=function(p){if(p.nodeType===Ke.element&&p.shadowRoot instanceof i){const L=p.shadowRoot;Jn(L),pr(L)}const w=p.childNodes;if(!w)return;const E=[];Ge(w,L=>{We(E,L)});for(const L of E)Jn(L)};return e.sanitize=function(p){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=null,L=null,rt=null,tt=null;if(ar=!p,ar&&(p=""),typeof p!="string"&&!Zn(p)&&(p=Ih(p),typeof p!="string"))throw so("dirty is not a string, aborting");if(!e.isSupported)return p;if(er||ur(w),e.removed=[],typeof p=="string"&&(_n=!1),_n){const It=p.nodeName;if(typeof It=="string"){const Ue=lt(It);if(!j[Ue]||Ut[Ue])throw so("root node is forbidden and cannot be sanitized in-place")}Jn(p)}else if(Zn(p))E=va(""),L=E.ownerDocument.importNode(p,!0),L.nodeType===Ke.element&&L.nodeName==="BODY"||L.nodeName==="HTML"?E=L:E.appendChild(L),Jn(L);else{if(!ze&&!ie&&!be&&p.indexOf("<")===-1)return H&&Kn?H.createHTML(p):p;if(E=va(p),!E)return ze?null:Kn?G:""}E&&nr&&we(E.firstChild);const Wt=ga(_n?p:E);for(;rt=Wt.nextNode();)ya(rt),$a(rt),rt.content instanceof i&&pr(rt.content);if(_n)return ie&&_a(p),p;if(ze){if(ie&&_a(E),qn)for(tt=ct.call(E.ownerDocument);E.firstChild;)tt.appendChild(E.firstChild);else tt=E;return(q.shadowroot||q.shadowrootmode)&&(tt=f.call(o,tt,!0)),tt}let Ft=be?E.outerHTML:E.innerHTML;return be&&j["!doctype"]&&E.ownerDocument&&E.ownerDocument.doctype&&E.ownerDocument.doctype.name&&ft(Vh,E.ownerDocument.doctype.name)&&(Ft=" +`+Ft),ie&&Ge([b,$,T],It=>{Ft=qe(Ft,It," ")}),H&&Kn?H.createHTML(Ft):Ft},e.setConfig=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ur(p),er=!0},e.clearConfig=function(){Ve=null,er=!1},e.isValidAttribute=function(p,w,E){Ve||ur({});const L=lt(p),rt=lt(w);return ba(L,rt,E)},e.addHook=function(p,w){typeof w=="function"&&We(h[p],w)},e.removeHook=function(p,w){if(w!==void 0){const E=Sh(h[p],w);return E===-1?void 0:Ah(h[p],E,1)[0]}return Es(h[p])},e.removeHooks=function(p){h[p]=[]},e.removeAllHooks=function(){h=Ps()},e}var Hc=jc();function Gi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ar,Rs;function qh(){if(Rs)return Ar;Rs=1;var t=/["'&<>]/;Ar=e;function e(n){var o=""+n,r=t.exec(o);if(!r)return o;var i,a="",l=0,s=0;for(l=r.index;le)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function Ht(t,e,n,o,r){const i=typeof n=="object"?n:void 0,a=typeof o=="number"?o:typeof n=="number"?n:void 0,l={escape:!0,sanitize:!0,...typeof r=="object"?r:typeof o=="object"?o:{}},s=k=>k,c=(l.sanitize?Hc.sanitize:s)||s,u=l.escape?Ls:s,m=k=>typeof k=="string"||typeof k=="number",v=(k,y,S)=>k.replace(/%n/g,""+S).replace(/{([^{}]*)}/g,(O,A)=>{if(y===void 0||!(A in y))return u(O);const R=y[A];return m(R)?u(`${R}`):typeof R=="object"&&m(R.value)?(R.escape!==!1?Ls:s)(`${R.value}`):u(O)});let _=(r?.bundle??Vc(t)).translations[e]||e;return _=Array.isArray(_)?_[0]:_,c(typeof i=="object"||a!==void 0?v(_,i,a):_)}function Xh(t,e,n,o,r,i){const a="_"+e+"_::_"+n+"_",l=i?.bundle??Vc(t),s=l.translations[a];if(typeof s<"u"){const c=s;if(Array.isArray(c)){const u=l.pluralFunction(o);return Ht(t,c[u],r,o,i)}}return o===1?Ht(t,e,r,o,i):Ht(t,n,r,o,i)}function Yh(t,e=Wi()){switch(e==="pt-BR"&&(e="xbr"),e.length>3&&(e=e.substring(0,e.lastIndexOf("-"))),e){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return t===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return t===0||t===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"ga":return t===1?0:t===2?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mk":return t%10===1?0:1;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"lv":return t===0?0:t%10===1&&t%100!==11?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<12||t%100>14)?1:2;case"cy":return t===1?0:t===2?1:t===8||t===11?2:3;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11&&t%100<=99?4:5;default:return 0}}const Uc={account:Ht("password_policy","Account password policies"),sharing:Ht("password_policy","Share password policies")},Zh={enforceHaveIBeenPwned:!1,enforceNonCommonPassword:!0,enforceNumericCharacters:!1,enforceSpecialCharacters:!1,enforceUpperLowerCase:!1,minLength:10};function Jh(t,e,n){const o=document.querySelector(`#initial-state-${t}-${e}`);if(o===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${e} of ${t}`)}try{return JSON.parse(atob(o.value))}catch{throw new Error(`Could not parse initial state ${e} of ${t}`)}}function Y(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),i&&(s._scopeId="data-v-"+i);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var u=s.render;s.render=function(v,_){return c.call(_),u(v,_)}}else{var m=s.beforeCreate;s.beforeCreate=m?[].concat(m,c):[c]}return{exports:t,options:s}}class Qh{bundle;constructor(e){this.bundle={pluralFunction:e,translations:{}}}addTranslations(e){const n=Object.values(e.translations[""]??{}).map(({msgid:o,msgid_plural:r,msgstr:i})=>r!==void 0?[`_${o}_::_${r}_`,i]:[o,i[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(n)}}gettext(e,n={}){return Ht("",e,n,void 0,{bundle:this.bundle})}ngettext(e,n,o,r={}){return Xh("",e,n,o,r,{bundle:this.bundle})}}class tm{debug=!1;language="en";translations={};setLanguage(e){return this.language=e,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage(Wi().replace("-","_"))}addTranslation(e,n){return this.translations[e]=n,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);const e=new Qh(n=>Yh(n,this.language));return this.language in this.translations&&e.addTranslations(this.translations[this.language]),e}}function em(){return new tm}const qi=em().detectLanguage().build(),nm=(...t)=>qi.ngettext(...t),Ki=(...t)=>qi.gettext(...t);function Xi(...t){for(const e of t)if(!e.registered){for(const{l:n,t:o}of e){if(n!==Wi()||!o)continue;const r=Object.fromEntries(Object.entries(o).map(([i,a])=>[i,{msgid:i,msgid_plural:a.p,msgstr:a.v}]));qi.addTranslations({translations:{"":r}})}e.registered=!0}}const om=[{l:"af",t:{}},{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"az",t:{}},{l:"be",t:{}},{l:"bg",t:{}},{l:"bn-BD",t:{}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"bs",t:{}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{l:"cy-GB",t:{}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de-DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en-GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es-419",t:{}},{l:"es-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-CL",t:{}},{l:"es-CO",t:{}},{l:"es-CR",t:{}},{l:"es-DO",t:{}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-GT",t:{}},{l:"es-HN",t:{}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{l:"es-NI",t:{}},{l:"es-PA",t:{}},{l:"es-PE",t:{}},{l:"es-PR",t:{}},{l:"es-PY",t:{}},{l:"es-SV",t:{}},{l:"es-UY",t:{}},{l:"et-EE",t:{Actions:{v:["Tegevus"]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:["کنش‌ها"]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fo",t:{}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gd",t:{}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hi-IN",t:{}},{l:"hr",t:{}},{l:"hsb",t:{}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"hy",t:{}},{l:"ia",t:{}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"is",t:{Actions:{v:["Aðgerðir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja-JP",t:{Actions:{v:["操作"]}}},{l:"ka",t:{}},{l:"ka-GE",t:{}},{l:"kab",t:{}},{l:"kk",t:{}},{l:"kn",t:{}},{l:"ko",t:{Actions:{v:["동작"]}}},{l:"la",t:{}},{l:"lb",t:{}},{l:"lo",t:{Actions:{v:["ການກະທຳ"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"mn",t:{}},{l:"mr",t:{}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"ne",t:{}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"nn-NO",t:{}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"ps",t:{}},{l:"pt-BR",t:{Actions:{v:["Ações"]}}},{l:"pt-PT",t:{Actions:{v:["Ações"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sc",t:{}},{l:"si",t:{}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sq",t:{}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sr-Latn",t:{}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"sw",t:{}},{l:"ta",t:{}},{l:"tk",t:{}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"ug",t:{}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"ur-PK",t:{}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}},{l:"zu-ZA",t:{}}],rm=[{l:"af",t:{}},{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"az",t:{}},{l:"be",t:{}},{l:"bg",t:{}},{l:"bn-BD",t:{}},{l:"br",t:{}},{l:"bs",t:{}},{l:"ca",t:{}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs-CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cy-GB",t:{}},{l:"da",t:{"External documentation for {name}":{v:["Ekstern dokumentation for {name}"]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de-DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:["Εξωτερική τεκμηρίωση για {name}"]}}},{l:"en-GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-419",t:{}},{l:"es-AR",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-CL",t:{}},{l:"es-CO",t:{}},{l:"es-CR",t:{}},{l:"es-DO",t:{}},{l:"es-EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-GT",t:{}},{l:"es-HN",t:{}},{l:"es-MX",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es-NI",t:{}},{l:"es-PA",t:{}},{l:"es-PE",t:{}},{l:"es-PR",t:{}},{l:"es-PY",t:{}},{l:"es-SV",t:{}},{l:"es-UY",t:{}},{l:"et-EE",t:{"External documentation for {name}":{v:["Väline dokumentatsioon {nimi}"]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:["اسناد بیرونی برای {name}"]}}},{l:"fi",t:{"External documentation for {name}":{v:["Ulkoinen dokumentaatio {name}lle"]}}},{l:"fo",t:{}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"ga",t:{"External documentation for {name}":{v:["Doiciméadúchán seachtrach le haghaidh {name}"]}}},{l:"gd",t:{}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hi-IN",t:{}},{l:"hr",t:{}},{l:"hsb",t:{}},{l:"hu",t:{}},{l:"hy",t:{}},{l:"ia",t:{}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ja-JP",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ka",t:{}},{l:"ka-GE",t:{}},{l:"kab",t:{}},{l:"kk",t:{}},{l:"kn",t:{}},{l:"ko",t:{"External documentation for {name}":{v:["{name}의 외부 문서"]}}},{l:"la",t:{}},{l:"lb",t:{}},{l:"lo",t:{}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{}},{l:"mn",t:{}},{l:"mr",t:{}},{l:"my",t:{}},{l:"nb",t:{"External documentation for {name}":{v:["Ekstern dokumentasjon for {name}"]}}},{l:"ne",t:{}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"nn-NO",t:{}},{l:"oc",t:{}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"ps",t:{}},{l:"pt-BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt-PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sc",t:{}},{l:"si",t:{}},{l:"sk",t:{"External documentation for {name}":{v:["Externá dokumentácia pre {name}"]}}},{l:"sl",t:{}},{l:"sq",t:{}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sr-Latn",t:{}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"sw",t:{}},{l:"ta",t:{}},{l:"tk",t:{}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"ug",t:{}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"ur-PK",t:{}},{l:"uz",t:{"External documentation for {name}":{v:["{name}uchun tashqi hujjatlar"]}}},{l:"zh-CN",t:{"External documentation for {name}":{v:["{name} 的外部文档"]}}},{l:"zh-HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh-TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zu-ZA",t:{}}],im={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var am=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},sm=[],lm=Y(im,am,sm,!1,null,null);const cm=lm.exports;Xi(rm);const[Ds]=Jh("core","config",{version:"30.0"}).version.split(".",2)??[],um=Ds&&Number.parseInt(Ds)<30,dm={name:"NcSettingsSection",components:{HelpCircle:cm},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:Ki("External documentation for {name}",{name:this.name})}},computed:{forceLimitWidth(){return this.limitWidth||!um},hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var pm=function(){var t=this,e=t._self._c;return e("div",{staticClass:"settings-section",class:{"settings-section--limit-width":t.forceLimitWidth}},[e("h2",{staticClass:"settings-section__name"},[t._v(" "+t._s(t.name)+" "),t.hasDocUrl?e("a",{staticClass:"settings-section__info",attrs:{href:t.docUrl,title:t.docNameTranslated,"aria-label":t.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[e("HelpCircle",{attrs:{size:20}})],1):t._e()]),t.hasDescription?e("p",{staticClass:"settings-section__desc"},[t._v(" "+t._s(t.description)+" ")]):t._e(),t._t("default")],2)},fm=[],hm=Y(dm,pm,fm,!1,null,"56b92b56");const mm=hm.exports,vm=window.OC?.config?.version?.split(".")[0]||"34",Gc=Number.parseInt(vm),Po=Gc<32,gm=Gc<34;function _m(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Wc={exports:{}},it=Wc.exports={},zt,jt;function di(){throw new Error("setTimeout has not been defined")}function pi(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?zt=setTimeout:zt=di}catch{zt=di}try{typeof clearTimeout=="function"?jt=clearTimeout:jt=pi}catch{jt=pi}})();function qc(t){if(zt===setTimeout)return setTimeout(t,0);if((zt===di||!zt)&&setTimeout)return zt=setTimeout,setTimeout(t,0);try{return zt(t,0)}catch{try{return zt.call(null,t,0)}catch{return zt.call(this,t,0)}}}function ym(t){if(jt===clearTimeout)return clearTimeout(t);if((jt===pi||!jt)&&clearTimeout)return jt=clearTimeout,clearTimeout(t);try{return jt(t)}catch{try{return jt.call(null,t)}catch{return jt.call(this,t)}}}var Zt=[],rn=!1,ke,bo=-1;function bm(){!rn||!ke||(rn=!1,ke.length?Zt=ke.concat(Zt):bo=-1,Zt.length&&Kc())}function Kc(){if(!rn){var t=qc(bm);rn=!0;for(var e=Zt.length;e;){for(ke=Zt,Zt=[];++bo1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},Tr}var xr,Fs;function Zc(){if(Fs)return xr;Fs=1;const t="2.0.0",e=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,o=16,r=e-6;return xr={MAX_LENGTH:e,MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:r,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},xr}var kr={exports:{}},Bs;function Em(){return Bs||(Bs=1,(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:r}=Zc(),i=Yc();e=t.exports={};const a=e.re=[],l=e.safeRe=[],s=e.src=[],c=e.safeSrc=[],u=e.t={};let m=0;const v="[a-zA-Z0-9-]",_=[["\\s",1],["\\d",r],[v,o]],k=S=>{for(const[O,A]of _)S=S.split(`${O}*`).join(`${O}{0,${A}}`).split(`${O}+`).join(`${O}{1,${A}}`);return S},y=(S,O,A)=>{const R=k(O),M=m++;i(S,M,O),u[S]=M,s[M]=O,c[M]=R,a[M]=new RegExp(O,A?"g":void 0),l[M]=new RegExp(R,A?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${v}*`),y("MAINVERSION",`(${s[u.NUMERICIDENTIFIER]})\\.(${s[u.NUMERICIDENTIFIER]})\\.(${s[u.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${s[u.NUMERICIDENTIFIERLOOSE]})\\.(${s[u.NUMERICIDENTIFIERLOOSE]})\\.(${s[u.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${s[u.NONNUMERICIDENTIFIER]}|${s[u.NUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${s[u.NONNUMERICIDENTIFIER]}|${s[u.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASE",`(?:-(${s[u.PRERELEASEIDENTIFIER]}(?:\\.${s[u.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${s[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[u.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${v}+`),y("BUILD",`(?:\\+(${s[u.BUILDIDENTIFIER]}(?:\\.${s[u.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${s[u.MAINVERSION]}${s[u.PRERELEASE]}?${s[u.BUILD]}?`),y("FULL",`^${s[u.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${s[u.MAINVERSIONLOOSE]}${s[u.PRERELEASELOOSE]}?${s[u.BUILD]}?`),y("LOOSE",`^${s[u.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${s[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${s[u.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${s[u.XRANGEIDENTIFIER]})(?:\\.(${s[u.XRANGEIDENTIFIER]})(?:\\.(${s[u.XRANGEIDENTIFIER]})(?:${s[u.PRERELEASE]})?${s[u.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${s[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[u.XRANGEIDENTIFIERLOOSE]})(?:${s[u.PRERELEASELOOSE]})?${s[u.BUILD]}?)?)?`),y("XRANGE",`^${s[u.GTLT]}\\s*${s[u.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${s[u.GTLT]}\\s*${s[u.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),y("COERCE",`${s[u.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",s[u.COERCEPLAIN]+`(?:${s[u.PRERELEASE]})?(?:${s[u.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",s[u.COERCE],!0),y("COERCERTLFULL",s[u.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${s[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",y("TILDE",`^${s[u.LONETILDE]}${s[u.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${s[u.LONETILDE]}${s[u.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${s[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",y("CARET",`^${s[u.LONECARET]}${s[u.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${s[u.LONECARET]}${s[u.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${s[u.GTLT]}\\s*(${s[u.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${s[u.GTLT]}\\s*(${s[u.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${s[u.GTLT]}\\s*(${s[u.LOOSEPLAIN]}|${s[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${s[u.XRANGEPLAIN]})\\s+-\\s+(${s[u.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${s[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[u.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(kr,kr.exports)),kr.exports}var Nr,zs;function Cm(){if(zs)return Nr;zs=1;const t=Object.freeze({loose:!0}),e=Object.freeze({});return Nr=n=>n?typeof n!="object"?t:n:e,Nr}var Or,js;function Sm(){if(js)return Or;js=1;const t=/^[0-9]+$/,e=(n,o)=>{if(typeof n=="number"&&typeof o=="number")return n===o?0:ne(o,n)},Or}var Ir,Hs;function Jc(){if(Hs)return Ir;Hs=1;const t=Yc(),{MAX_LENGTH:e,MAX_SAFE_INTEGER:n}=Zc(),{safeRe:o,t:r}=Em(),i=Cm(),{compareIdentifiers:a}=Sm();class l{constructor(c,u){if(u=i(u),c instanceof l){if(c.loose===!!u.loose&&c.includePrerelease===!!u.includePrerelease)return c;c=c.version}else if(typeof c!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof c}".`);if(c.length>e)throw new TypeError(`version is longer than ${e} characters`);t("SemVer",c,u),this.options=u,this.loose=!!u.loose,this.includePrerelease=!!u.includePrerelease;const m=c.trim().match(u.loose?o[r.LOOSE]:o[r.FULL]);if(!m)throw new TypeError(`Invalid Version: ${c}`);if(this.raw=c,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(v=>{if(/^[0-9]+$/.test(v)){const _=+v;if(_>=0&&_c.major?1:this.minorc.minor?1:this.patchc.patch?1:0}comparePre(c){if(c instanceof l||(c=new l(c,this.options)),this.prerelease.length&&!c.prerelease.length)return-1;if(!this.prerelease.length&&c.prerelease.length)return 1;if(!this.prerelease.length&&!c.prerelease.length)return 0;let u=0;do{const m=this.prerelease[u],v=c.prerelease[u];if(t("prerelease compare",u,m,v),m===void 0&&v===void 0)return 0;if(v===void 0)return 1;if(m===void 0)return-1;if(m!==v)return a(m,v)}while(++u)}compareBuild(c){c instanceof l||(c=new l(c,this.options));let u=0;do{const m=this.build[u],v=c.build[u];if(t("build compare",u,m,v),m===void 0&&v===void 0)return 0;if(v===void 0)return 1;if(m===void 0)return-1;if(m!==v)return a(m,v)}while(++u)}inc(c,u,m){if(c.startsWith("pre")){if(!u&&m===!1)throw new Error("invalid increment argument: identifier is empty");if(u){const v=`-${u}`.match(this.options.loose?o[r.PRERELEASELOOSE]:o[r.PRERELEASE]);if(!v||v[1]!==u)throw new Error(`invalid identifier: ${u}`)}}switch(c){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",u,m);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",u,m);break;case"prepatch":this.prerelease.length=0,this.inc("patch",u,m),this.inc("pre",u,m);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",u,m),this.inc("pre",u,m);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const v=Number(m)?1:0;if(this.prerelease.length===0)this.prerelease=[v];else{let _=this.prerelease.length;for(;--_>=0;)typeof this.prerelease[_]=="number"&&(this.prerelease[_]++,_=-2);if(_===-1){if(u===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(v)}}if(u){let _=[u,v];m===!1&&(_=[u]),a(this.prerelease[0],u)===0?isNaN(this.prerelease[1])&&(this.prerelease=_):this.prerelease=_}break}default:throw new Error(`invalid increment argument: ${c}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Ir=l,Ir}var Pr,Vs;function Am(){if(Vs)return Pr;Vs=1;const t=Jc();return Pr=(e,n)=>new t(e,n).major,Pr}var Tm=Am();const Us=Gi(Tm);var Rr,Gs;function xm(){if(Gs)return Rr;Gs=1;const t=Jc();return Rr=(e,n,o=!1)=>{if(e instanceof t)return e;try{return new t(e,n)}catch(r){if(!o)return null;throw r}},Rr}var Lr,Ws;function km(){if(Ws)return Lr;Ws=1;const t=xm();return Lr=(e,n)=>{const o=t(e,n);return o?o.version:null},Lr}var Nm=km();const Om=Gi(Nm);class Im{bus;constructor(e){typeof e.getVersion!="function"||!Om(e.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):Us(e.getVersion())!==Us(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()),this.bus=e}getVersion(){return"3.3.3"}subscribe(e,n){this.bus.subscribe(e,n)}unsubscribe(e,n){this.bus.unsubscribe(e,n)}emit(e,...n){this.bus.emit(e,...n)}}class Pm{handlers=new Map;getVersion(){return"3.3.3"}subscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).concat(n))}unsubscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).filter(o=>o!==n))}emit(e,...n){(this.handlers.get(e)||[]).forEach(o=>{try{o(n[0])}catch(r){console.error("could not invoke event listener",r)}})}}let Cn=null;function Qc(){return Cn!==null?Cn:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?Cn=new Im(window._nc_event_bus):Cn=window._nc_event_bus=new Pm,Cn)}function Rm(t,e){Qc().subscribe(t,e)}function Lm(t,...e){Qc().emit(t,...e)}class Ro{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(e,n,o){this.scope=`${o?Ro.GLOBAL_SCOPE_PERSISTENT:Ro.GLOBAL_SCOPE_VOLATILE}_${btoa(e)}_`,this.wrapped=n}scopeKey(e){return`${this.scope}${e}`}setItem(e,n){this.wrapped.setItem(this.scopeKey(e),n)}getItem(e){return this.wrapped.getItem(this.scopeKey(e))}removeItem(e){this.wrapped.removeItem(this.scopeKey(e))}clear(){Object.keys(this.wrapped).filter(e=>e.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class Dm{appId;persisted=!1;clearedOnLogout=!1;constructor(e){this.appId=e}persist(e=!0){return this.persisted=e,this}clearOnLogout(e=!0){return this.clearedOnLogout=e,this}build(){return new Ro(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function Mm(t){return new Dm(t)}Bm();function Fm(t){if(!t||typeof t!="string")throw new Error("Invalid CSRF token given",{cause:{token:t}});globalThis._nc_auth_requestToken!==t&&(globalThis._nc_auth_requestToken=t,globalThis.document&&(document.head.dataset.requesttoken=t),Lm("csrf-token-update",{token:t,_internal:!0}))}function Bm(){Rm("csrf-token-update",({token:t,_internal:e})=>{e||Fm(t)})}Mm("public").persist().build();let Xe;function qs(t,e){return t?t.getAttribute(e):null}function zm(){if(Xe!==void 0)return Xe;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const e=qs(t,"data-user");return e===null?(Xe=null,Xe):(Xe={uid:e,displayName:qs(t,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Xe)}var at=(t=>(t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t))(at||{});class jm{context;constructor(e){this.context=e||{}}formatMessage(e,n,o){let r="["+at[n].toUpperCase()+"] ";return o&&o.app&&(r+=o.app+": "),typeof e=="string"?r+e:(r+=`Unexpected ${e.name}`,e.message&&(r+=` "${e.message}"`),n===at.Debug&&e.stack&&(r+=` + +Stack trace: +${e.stack}`),r)}log(e,n,o){if(!(typeof this.context?.level=="number"&&e{document.readyState==="complete"||document.readyState==="interactive"?(e.context.level=window._oc_config?.loglevel??at.Warn,window._oc_debug&&(e.context.level=at.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function Um(){return new Vm(Hm)}const Yi=Um().detectUser().setApp("@nextcloud/vue").build(),Gm=Symbol.for("NcFormBox:context");function Wm(){return tc(Gm,{isInFormBox:!1,formBoxItemClass:void 0})}const qm={name:"NcButton",inject:{getNcPopoverTriggerAttrs:{from:"NcPopover:trigger:attrs",default:()=>()=>({})}},props:{alignment:{type:String,default:"center",validator:t=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(t)},disabled:{type:Boolean,default:!1},size:{type:String,default:"normal",validator(t){return["small","normal","large"].includes(t)}},type:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)||["submit","reset","button"].includes(t)},default:"secondary"},nativeType:{type:String,validator(t){return["submit","reset","button"].indexOf(t)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},target:{type:String,default:"_self"},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null},variant:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:"secondary"}},emits:["update:pressed","click"],setup(){const{formBoxItemClass:t}=Wm();return{formBoxItemClass:t}},computed:{realVariant(){return this.pressed?"primary":this.pressed===!1&&(this.type==="primary"||this.variant==="primary")?"secondary":this.type!=="secondary"&&["primary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.type:this.variant},realType(){return typeof this.pressed=="boolean"?"button":this.nativeType!=="button"?this.nativeType:["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(this.type)?this.nativeType:this.type},isTertiary(){return this.realVariant.startsWith("tertiary")},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")},ncPopoverTriggerAttrs(){return this.getNcPopoverTriggerAttrs()}},render(t){const e=!!this.$slots.default,n=this.$slots?.icon;!e&&!this.ariaLabel&&Yi.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:this.$slots.default?.[0]?.text,ariaLabel:this.ariaLabel,instance:this});const o=this.to||this.href,r=!o&&typeof this.pressed=="boolean",i=({href:a,navigate:l,isActive:s,isExactActive:c}={})=>t(o?"a":"button",{class:["button-vue",`button-vue--size-${this.size}`,{"button-vue--icon-only":n&&!e,"button-vue--text-only":e&&!n,"button-vue--icon-and-text":n&&e,[`button-vue--vue-${this.realVariant}`]:this.realVariant,"button-vue--legacy":Po,"button-vue--legacy34":gm,"button-vue--tertiary":this.isTertiary,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:s,"router-link-exact-active":c},this.formBoxItemClass],attrs:{"aria-label":this.ariaLabel,"aria-pressed":r?this.pressed.toString():void 0,disabled:this.disabled,type:o?null:this.realType,role:o?"button":null,href:this.to?a:this.href||null,target:o?this.target||"_self":null,rel:o?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.ncPopoverTriggerAttrs,...this.$attrs},on:{...this.$listeners,click:u=>{r&&this.$emit("update:pressed",!this.pressed),this.$emit("click",u),l?.(u)}}},[t("span",{class:"button-vue__wrapper"},[n?t("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,e?t("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?t("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:i}}):i()}},Km=null,Xm=null;var Ym=Y(qm,Km,Xm,!1,null,"c3872a2f");const Zi=Ym.exports,Ji={name:"NcIconSvgWrapper",props:{directional:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},size:{type:[Number,String],default:20,validator:t=>typeof t=="number"||t==="auto"}},computed:{iconSize(){return typeof this.size=="number"?`${this.size}px`:this.size},cleanSvg(){if(!this.svg||this.path)return;const t=Hc.sanitize(this.svg),e=new DOMParser().parseFromString(t,"image/svg+xml");return e.querySelector("parsererror")?(U.util.warn("SVG is not valid"),""):(e.documentElement.id&&e.documentElement.removeAttribute("id"),e.documentElement.outerHTML)}}},Ks=()=>{Ni((t,e)=>({dad67fa8:t.iconSize}))},Xs=Ji.setup;Ji.setup=Xs?(t,e)=>(Ks(),Xs(t,e)):Ks;const Zm=Ji;var Jm=function(){var t=this,e=t._self._c;return e("span",{staticClass:"icon-vue",class:{"icon-vue--directional":t.directional,"icon-vue--inline":t.inline},attrs:{"aria-hidden":t.name?void 0:"true","aria-label":t.name||void 0,role:"img"}},[t.cleanSvg?e("span",{domProps:{innerHTML:t._s(t.cleanSvg)}}):e("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:t.path}})])])},Qm=[],tv=Y(Zm,Jm,Qm,!1,null,"4625d649");const tu=tv.exports,ev=` + + +`,nv={__name:"NcIconToggleSwitch",props:{checked:{type:Boolean},size:{default:34},inline:{type:Boolean,default:!1}},setup(t){const e=t;Ni((r,i)=>({"2d1b8583":i.color,"78386a55":i.cx}));const n=$t(()=>e.checked?"var(--color-primary-element)":"var(--color-text-maxcontrast)"),o=$t(()=>e.checked?"calc(17 / 24 * 100%)":"calc(7 / 24 * 100%)");return{__sfc:!0,svg:ev,props:e,color:n,cx:o,NcIconSvgWrapper:tu}}},ov="_iconToggleSwitch_ZSKWf",rv={"material-design-icon":"_material-design-icon_YB2B5",iconToggleSwitch:ov};var iv=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e(n.NcIconSvgWrapper,{class:t.$style.iconToggleSwitch,attrs:{svg:n.svg,size:t.size,inline:t.inline}})},av=[];const Ys={$style:rv};function sv(t){for(var e in Ys)this[e]=Ys[e]}var lv=Y(nv,iv,av,!1,sv,null);const cv=lv.exports,uv={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(t){return["auto","light","dark"].includes(t)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const t=["#777","#CCC"];return this.appearance==="light"?t:this.appearance==="dark"?t.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var dv=function(){var t=this,e=t._self._c;return e("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":t.name,role:"img"}},[e("svg",{attrs:{width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:t.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),e("path",{attrs:{fill:t.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[t.name?e("title",[t._v(t._s(t.name))]):t._e()])])])},pv=[],fv=Y(uv,dv,pv,!1,null,"94ff8098");const hv=fv.exports;function eu(t,e,n=!1){const o=ad().proxy;return n&&o.$props[t]===void 0&&o.$props.modelValue===void 0&&U.util.warn(`Missing required prop: "modelValue" or old "${t}"`),$t({get(){return o.$props[t]!==void 0?o.$props[t]:o.$props.modelValue},set(r){o.$emit("update:modelValue",r),o.$emit("update:model-value",r),o.$emit(e,r)}})}function kn(t){return Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,5)}const mv=Symbol.for("insideRadioGroup");function vv(){return tc(mv,void 0)}const gv={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var _v=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},yv=[],bv=Y(gv,_v,yv,!1,null,null);const wv=bv.exports,$v={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Ev=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Cv=[],Sv=Y($v,Ev,Cv,!1,null,null);const Av=Sv.exports,Tv={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var xv=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},kv=[],Nv=Y(Tv,xv,kv,!1,null,null);const Ov=Nv.exports,Iv={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Pv=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Rv=[],Lv=Y(Iv,Pv,Rv,!1,null,null);const Dv=Lv.exports,Mv={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Fv=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Bv=[],zv=Y(Mv,Fv,Bv,!1,null,null);const jv=zv.exports,Qe="checkbox",Te="radio",le="switch",Nn="button",Hv={name:"NcCheckboxContent",components:{NcLoadingIcon:hv,NcIconToggleSwitch:cv},props:{iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:t=>[Qe,Te,le,Nn].includes(t)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},iconSize:{type:Number,default:24},labelId:{type:String,required:!0},descriptionId:{type:String,required:!0}},computed:{isButtonType(){return this.type===Nn},isSwitchType(){return this.type===le},checkboxRadioIconElement(){return this.type===Te?this.isChecked?jv:Dv:this.indeterminate?Ov:this.isChecked?Av:wv}}};var Vv=function(){var t=this,e=t._self._c;return e("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+t.type]:!0,"checkbox-content--button-variant":t.buttonVariant,"checkbox-content--has-text":!!t.$slots.default}},[e("span",{staticClass:"checkbox-content__icon",class:{"checkbox-content__icon--checked":t.isChecked,[t.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[t._t("icon",function(){return[t.loading?e("NcLoadingIcon"):t.isSwitchType?e("NcIconToggleSwitch",{attrs:{checked:t.isChecked,size:t.iconSize,inline:""}}):t.buttonVariant?t._e():e(t.checkboxRadioIconElement,{tag:"component",attrs:{size:t.iconSize}})]},{checked:t.isChecked,loading:t.loading})],2),t.$slots.default||t.$slots.description?e("span",{staticClass:"checkbox-content__wrapper"},[t.$slots.default?e("span",{staticClass:"checkbox-content__text",class:t.textClass,attrs:{id:t.labelId}},[t._t("default")],2):t._e(),!t.isButtonType&&t.$slots.description?e("span",{staticClass:"checkbox-content__description",attrs:{id:t.descriptionId}},[t._t("description")],2):t._e()]):t._e()])},Uv=[],Gv=Y(Hv,Vv,Uv,!1,null,"3fb1ae25");const Wv=Gv.exports;Xi();const Qi={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:Wv},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{id:{type:String,default:()=>"checkbox-radio-switch-"+kn(),validator:t=>t.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:t=>[Qe,Te,le,Nn].includes(t)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:t=>["no","vertical","horizontal"].includes(t)},checked:{type:[Boolean,Array,String],default:void 0},modelValue:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null},description:{type:String,default:null}},emits:["update:checked","update:modelValue","update:model-value"],setup(t){const e=vv(),n=$t(()=>e?.value?Te:t.type);Xd(()=>e?.value.register(!1));const o=eu("checked","update:checked"),r=$t({get(){return e?.value?e.value.modelValue:o.value},set(i){e?.value?e.value.onUpdate(i):o.value=i}});return{internalType:n,internalModelValue:r,labelId:kn(),descriptionId:kn()}},computed:{dataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([t])=>t.startsWith("data-")))},nonDataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([t])=>!t.startsWith("data-")))},isButtonType(){return this.internalType===Nn},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},iconSize(){return this.internalType===le?36:24},cssIconSize(){return this.iconSize+"px"},cssIconHeight(){return this.internalType===le?"16px":this.cssIconSize},inputType(){return[Qe,Te,Nn].includes(this.internalType)?this.internalType:Qe},isChecked(){return this.value!==null?Array.isArray(this.internalModelValue)?[...this.internalModelValue].indexOf(this.value)>-1:this.internalModelValue===this.value:this.internalModelValue===!0},hasIndeterminate(){return[Qe,Te].includes(this.inputType)}},mounted(){if(this.name&&this.internalType===Qe&&!Array.isArray(this.internalModelValue))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.internalType===le)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.internalModelValue!="boolean"&&this.internalType===le)throw new Error("Switches can only be used with boolean as modelValue prop.")},methods:{t:Ki,n:nm,onToggle(t){if(!(this.disabled||t.target.tagName.toLowerCase()==="a")){if(this.internalType===Te){this.internalModelValue=this.value;return}if(this.internalType===le){this.internalModelValue=!this.isChecked;return}if(typeof this.internalModelValue=="boolean"){this.internalModelValue=!this.internalModelValue;return}this.isChecked?this.internalModelValue=this.internalModelValue.filter(e=>e!==this.value):this.internalModelValue=[...this.internalModelValue,this.value]}}}},Zs=()=>{Ni((t,e)=>({"356a9460":t.cssIconSize,ab21a194:t.cssIconHeight}))},Js=Qi.setup;Qi.setup=Js?(t,e)=>(Zs(),Js(t,e)):Zs;const qv=Qi;var Kv=function(){var t=this,e=t._self._c;return e(t.computedWrapperElement,t._g(t._b({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+t.internalType]:t.internalType,"checkbox-radio-switch--checked":t.isChecked,"checkbox-radio-switch--disabled":t.disabled,"checkbox-radio-switch--indeterminate":t.hasIndeterminate?t.indeterminate:!1,"checkbox-radio-switch--button-variant":t.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":t.buttonVariant&&t.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":t.buttonVariant&&t.buttonVariantGrouped==="horizontal","button-vue":t.isButtonType},attrs:{id:t.wrapperId,"aria-label":t.isButtonType&&t.ariaLabel?t.ariaLabel:void 0,type:t.isButtonType?"button":null}},"component",t.isButtonType?t.$attrs:t.dataAttrs,!1),t.isButtonType?t.listeners:null),[t.isButtonType?t._e():e("input",t._g(t._b({staticClass:"checkbox-radio-switch__input",attrs:{id:t.id,"aria-labelledby":!t.isButtonType&&!t.ariaLabel?t.labelId:null,"aria-describedby":!t.isButtonType&&(t.description||t.$slots.description)?t.descriptionId:t.nonDataAttrs["aria-describedby"],"aria-label":t.ariaLabel||void 0,disabled:t.disabled,type:t.inputType,required:t.required,name:t.name},domProps:{value:t.value,checked:t.isChecked,indeterminate:t.hasIndeterminate?t.indeterminate:null}},"input",t.nonDataAttrs,!1),t.listeners)),e("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:t.isButtonType?void 0:`${t.id}-label`,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:t.internalType,indeterminate:t.hasIndeterminate?t.indeterminate:!1,"button-variant":t.buttonVariant,"is-checked":t.isChecked,loading:t.loading,"label-id":t.labelId,"description-id":t.descriptionId,"icon-size":t.iconSize},nativeOn:{click:function(n){return t.onToggle.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0},t.$slots.description||t.description?{key:"description",fn:function(){return[t._t("description",function(){return[t._v(" "+t._s(t.description)+" ")]})]},proxy:!0}:null],null,!0)},[t._t("default")],2)],1)},Xv=[],Yv=Y(qv,Kv,Xv,!1,null,"f21394d2");const Zv=Yv.exports,Jv={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Qv=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"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"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},tg=[],eg=Y(Jv,Qv,tg,!1,null,null);const ng=eg.exports,og={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var rg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},ig=[],ag=Y(og,rg,ig,!1,null,null);const sg=ag.exports,lg={name:"NcInputField",components:{NcButton:Zi,AlertCircle:ng,Check:sg},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},type:{type:String,default:"text",validator:t=>["text","password","email","tel","url","search","number"].includes(t)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","update:modelValue","update:model-value","trailing-button-click"],setup(){const t=eu("value","update:value",!0);return{isLegacy32:Po,model:t}},computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+kn()},hasTrailingIcon(){return this.success},computedPlaceholder(){if(this.placeholder)return this.placeholder;if(this.label)return Po?this.label:""},isValidLabel(){const t=this.label||this.labelOutside;return t||Yi.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),t},ariaDescribedby(){const t=[];return this.helperText.length>0&&t.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&t.push(this.$attrs["aria-describedby"]),t.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(t){const e=this.type==="number"&&typeof this.model=="number"?parseFloat(t.target.value,10):t.target.value;this.model=e},handleTrailingButtonClick(t){this.$emit("trailing-button-click",t)}}};var cg=function(){var t=this,e=t._self._c;return e("div",{staticClass:"input-field",class:{"input-field--disabled":t.disabled,"input-field--error":t.error,"input-field--label-outside":t.labelOutside||!t.isValidLabel,"input-field--leading-icon":!!t.$scopedSlots.icon||!!t.$scopedSlots.default||!!t.$slots.default,"input-field--success":t.success,"input-field--trailing-icon":t.showTrailingButton||t.hasTrailingIcon,"input-field--pill":t.pill,"input-field--legacy":t.isLegacy32}},[e("div",{staticClass:"input-field__main-wrapper"},[e("input",t._g(t._b({ref:"input",staticClass:"input-field__input",class:[t.inputClass,{"input-field__input--success":t.success,"input-field__input--error":t.error}],attrs:{id:t.computedId,type:t.type,disabled:t.disabled,placeholder:t.computedPlaceholder,"aria-describedby":t.ariaDescribedby,"aria-live":"polite"},domProps:{value:t.model?.toString()},on:{input:t.handleInput}},"input",t.$attrs,!1),t.$listeners)),!t.labelOutside&&t.isValidLabel?e("label",{staticClass:"input-field__label",attrs:{for:t.computedId}},[t._v(" "+t._s(t.label)+" ")]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:!!t.$scopedSlots.icon||!!t.$scopedSlots.default||!!t.$slots.default,expression:"!!$scopedSlots.icon || !!$scopedSlots.default || !!$slots.default"}],staticClass:"input-field__icon input-field__icon--leading"},[t._t("icon",function(){return[t._t("default")]})],2),t.showTrailingButton?e("NcButton",{staticClass:"input-field__trailing-button",attrs:{"aria-label":t.trailingButtonLabel,disabled:t.disabled,variant:"tertiary-no-background"},on:{click:t.handleTrailingButtonClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("trailing-button-icon")]},proxy:!0}],null,!0)}):t.success||t.error?e("div",{staticClass:"input-field__icon input-field__icon--trailing"},[t.success?e("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):t.error?e("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):t._e()],1):t._e()],1),t.helperText.length>0?e("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":t.error,"input-field__helper-text-message--success":t.success},attrs:{id:`${t.inputName}-helper-text`}},[t.success?e("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t.error?e("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):t._e(),t._v(" "+t._s(t.helperText)+" ")],1):t._e()])},ug=[],dg=Y(lg,cg,ug,!1,null,"2bc46a58");const nu=dg.exports;function Be(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var u=s.render;s.render=function(v,_){return c.call(_),u(v,_)}}else{var m=s.beforeCreate;s.beforeCreate=m?[].concat(m,c):[c]}return{exports:t,options:s}}const pg={name:"TrashCanIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var fg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon trash-can-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},hg=[],mg=Be(pg,fg,hg,!1,null);const vg=mg.exports,gg={__name:"PasswordPolicy",props:{modelValue:null,heading:null,canRemove:{type:Boolean}},emits:["update:modelValue","remove"],setup(t,{emit:e}){const n=t,o=$t({get:()=>n.modelValue.minLength,set:c=>e("update:modelValue",{...n.modelValue,minLength:Number.isNaN(c)?0:c})}),r=$t({get:()=>n.modelValue.enforceHaveIBeenPwned,set:c=>e("update:modelValue",{...n.modelValue,enforceHaveIBeenPwned:c})}),i=$t({get:()=>n.modelValue.enforceNonCommonPassword,set:c=>e("update:modelValue",{...n.modelValue,enforceNonCommonPassword:c})}),a=$t({get:()=>n.modelValue.enforceNumericCharacters,set:c=>e("update:modelValue",{...n.modelValue,enforceNumericCharacters:c})}),l=$t({get:()=>n.modelValue.enforceSpecialCharacters,set:c=>e("update:modelValue",{...n.modelValue,enforceSpecialCharacters:c})}),s=$t({get:()=>n.modelValue.enforceUpperLowerCase,set:c=>e("update:modelValue",{...n.modelValue,enforceUpperLowerCase:c})});return{__sfc:!0,props:n,emit:e,minLength:o,enforceHaveIBeenPwned:r,enforceNonCommonPassword:i,enforceNumericCharacters:a,enforceSpecialCharacters:l,enforceUpperLowerCase:s,t:Ht,NcButton:Zi,NcCheckboxRadioSwitch:Zv,NcInputField:nu,IconTrashbin:vg}}},_g="_heading_nsb3k_2",yg="_headingWrapper_nsb3k_7",bg="_hint_nsb3k_12",wg="_inputField_nsb3k_17",$g={heading:_g,headingWrapper:yg,hint:bg,inputField:wg};var Eg=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("form",{on:{submit:function(o){o.preventDefault()}}},[e("div",{class:t.$style.headingWrapper},[e("h3",{class:t.$style.heading},[t._v(" "+t._s(t.heading)+" ")]),t.canRemove?e(n.NcButton,{attrs:{"aria-label":n.t("password_policy","Remove policy"),title:n.t("password_policy","Remove policy"),type:"tertiary"},on:{click:function(o){return t.$emit("remove")}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconTrashbin,{attrs:{size:20}})]},proxy:!0}],null,!1,3422420218)}):t._e()],1),e(n.NcInputField,{class:t.$style.inputField,attrs:{label:n.t("password_policy","Minimum password length"),type:"number",min:"0"},model:{value:n.minLength,callback:function(o){n.minLength=o},expression:"minLength"}}),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNonCommonPassword,type:"switch"},on:{"update:checked":function(o){n.enforceNonCommonPassword=o}}},[t._v(" "+t._s(n.t("password_policy","Forbid common passwords"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceUpperLowerCase,type:"switch"},on:{"update:checked":function(o){n.enforceUpperLowerCase=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce upper and lower case characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceNumericCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceNumericCharacters=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce numeric characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceSpecialCharacters,type:"switch"},on:{"update:checked":function(o){n.enforceSpecialCharacters=o}}},[t._v(" "+t._s(n.t("password_policy","Enforce special characters"))+" ")]),e(n.NcCheckboxRadioSwitch,{attrs:{checked:n.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":function(o){n.enforceHaveIBeenPwned=o}}},[t._v(" "+t._s(n.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),e("p",{class:t.$style.hint},[t._v(" "+t._s(n.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)},Cg=[];const Qs={$style:$g};function Sg(t){for(var e in Qs)this[e]=Qs[e]}var Ag=Be(gg,Eg,Cg,!1,Sg);const Tg=Ag.exports,xg={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var kg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Ng=[],Og=Y(xg,kg,Ng,!1,null,null);const tl=Og.exports,Ig={name:"AlertDecagramIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Pg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-decagram-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M13,17H11V15H13V17M13,13H11V7H13V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Rg=[],Lg=Y(Ig,Pg,Rg,!1,null,null);const Dg=Lg.exports,Mg={name:"CheckboxMarkedCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Fg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-marked-circle-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Bg=[],zg=Y(Mg,Fg,Bg,!1,null,null);const jg=zg.exports,Hg={name:"InformationIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Vg=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon information-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},Ug=[],Gg=Y(Hg,Vg,Ug,!1,null,null);const Wg=Gg.exports,qg={name:"NcNoteCard",props:{type:{type:String,default:"warning",validator:t=>["success","info","warning","error"].includes(t)},showAlert:{type:Boolean,default:!1},heading:{type:String,default:""},text:{type:String,default:""}},setup(){return{isLegacy32:Po}},computed:{shouldShowAlert(){return this.showAlert||this.type==="error"},icon(){switch(this.type){case"error":return Dg;case"success":return jg;case"info":return Wg;case"warning":return tl;default:return tl}}}};var Kg=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notecard",class:{[`notecard--${t.type}`]:t.type,"notecard--legacy":t.isLegacy32},attrs:{role:t.shouldShowAlert?"alert":"note"}},[t._t("icon",function(){return[e(t.icon,{tag:"component",staticClass:"notecard__icon",class:{"notecard__icon--heading":t.heading},attrs:{"fill-color":"var(--note-theme)",size:20}})]}),e("div",[t.heading?e("p",{staticClass:"notecard__heading"},[t._v(" "+t._s(t.heading)+" ")]):t._e(),t._t("default",function(){return[e("p",{staticClass:"notecard__text"},[t._v(" "+t._s(t.text)+" ")])]})],2)],2)},Xg=[],Yg=Y(qg,Kg,Xg,!1,null,"f656e861");const Zg=Yg.exports,Jg={__name:"ComplianceConfig",setup(t){const e=Ur(li("password_policy","loginConfig")),n=Ur(li("password_policy","loginConfig"));Jl(e,o,{deep:!0});function o(){for(const[r,i]of Object.entries(e.value)){let a=Math.max(i||0,0);a=Number.isNaN(a)?0:a,console.debug(a,i,n.value[r]),n.value[r]!==a&&(window.OCP.AppConfig.setValue("password_policy",r,JSON.stringify(a)),n.value[r]=a),e.value[r]!==a&&(e.value[r]=a)}}return{__sfc:!0,config:e,oldConfig:n,saveComplianceConfig:o,t:Ht,NcInputField:nu,NcNoteCard:Zg}}},Qg="_form_5u8co_2",t_="_heading_5u8co_8",e_="_inputField_5u8co_13",n_={form:Qg,heading:t_,inputField:e_};var o_=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("form",{class:t.$style.form,on:{submit:function(o){o.preventDefault()}}},[e("h3",{class:t.$style.heading},[t._v(" "+t._s(n.t("password_policy","Login policies"))+" ")]),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Password history size"),"helper-text":n.t("password_policy","Number of passwords to keep (securely hashed) to prevent users from reusing previously used passwords."),min:"0",type:"number"},model:{value:n.config.historySize,callback:function(o){t.$set(n.config,"historySize",o)},expression:"config.historySize"}})],1),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Maximum login attempts"),min:"0",type:"number","helper-text":n.t("password_policy","Number of login attempts before the user account will be disabled until manual action is taken. (0 for no limit)")},model:{value:n.config.maximumLoginAttempts,callback:function(o){t.$set(n.config,"maximumLoginAttempts",o)},expression:"config.maximumLoginAttempts"}}),e(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.maximumLoginAttempts>0,expression:"config.maximumLoginAttempts > 0"}],attrs:{heading:n.t("password_policy","Maximum login attempts"),text:n.t("password_policy","Please note, this option is meant to protect attacked accounts. Disabled accounts have to be re-enabled manually by administration. Attackers that try to guess passwords of accounts will have their IP address blocked by the bruteforce protection independent from this setting."),type:"info"}})],1),e("div",{class:t.$style.inputField},[e(n.NcInputField,{attrs:{label:n.t("password_policy","Number of days until user password expires"),min:"0",type:"number"},model:{value:n.config.expiration,callback:function(o){t.$set(n.config,"expiration",o)},expression:"config.expiration"}}),e(n.NcNoteCard,{directives:[{name:"show",rawName:"v-show",value:n.config.expiration>0,expression:"config.expiration > 0"}],attrs:{heading:n.t("password_policy","Password expiration"),text:n.t("password_policy","Warning: enabling password expiration is nowadays considered a security risk by several security agencies."),type:"warning"}})],1)])},r_=[];const el={$style:n_};function i_(t){for(var e in el)this[e]=el[e]}var a_=Be(Jg,o_,r_,!1,i_);const s_=a_.exports;U.util.warn;function nl(t){return typeof t=="function"?t():fd(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function fi(){return window._nc_focus_trap??=[],window._nc_focus_trap}function l_(){let t=[];return{pause(){t=[...fi()];for(const e of t)e.pause()},unpause(){if(t.length===fi().length)for(const e of t)e.unpause();t=[]}}}function c_(t,e={}){const n=l_();Jl(t,()=>{nl(e.disabled)||(nl(t)?n.pause():n.unpause())}),Yd(()=>{n.unpause()})}function oe(t){return t.split("-")[0]}function an(t){return t.split("-")[1]}function Gn(t){return["top","bottom"].includes(oe(t))?"x":"y"}function ta(t){return t==="y"?"height":"width"}function ol(t){let{reference:e,floating:n,placement:o}=t;const r=e.x+e.width/2-n.width/2,i=e.y+e.height/2-n.height/2;let a;switch(oe(o)){case"top":a={x:r,y:e.y-n.height};break;case"bottom":a={x:r,y:e.y+e.height};break;case"right":a={x:e.x+e.width,y:i};break;case"left":a={x:e.x-n.width,y:i};break;default:a={x:e.x,y:e.y}}const l=Gn(o),s=ta(l);switch(an(o)){case"start":a[l]=a[l]-(e[s]/2-n[s]/2);break;case"end":a[l]=a[l]+(e[s]/2-n[s]/2);break}return a}const u_=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n;let l=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:s,y:c}=ol({...l,placement:o}),u=o,m={};for(let v=0;v({name:"arrow",options:t,async fn(e){const{element:n,padding:o=0}=t??{},{x:r,y:i,placement:a,rects:l,platform:s}=e;if(n==null)return{};const c=ou(o),u={x:r,y:i},m=oe(a),v=Gn(m),_=ta(v),k=await s.getDimensions({element:n}),y=v==="y"?"top":"left",S=v==="y"?"bottom":"right",O=l.reference[_]+l.reference[v]-u[v]-l.floating[_],A=u[v]-l.reference[v],R=await s.getOffsetParent({element:n}),M=R?v==="y"?R.clientHeight||0:R.clientWidth||0:0,Q=O/2-A/2,H=c[y],G=M-k[_]-c[S],W=M/2-k[_]/2+Q,ot=mi(H,W,G);return{data:{[v]:ot,centerOffset:W-ot}}}}),h_={left:"right",right:"left",bottom:"top",top:"bottom"};function Lo(t){return t.replace(/left|right|bottom|top/g,e=>h_[e])}function ru(t,e){const n=an(t)==="start",o=Gn(t),r=ta(o);let i=o==="x"?n?"right":"left":n?"bottom":"top";return e.reference[r]>e.floating[r]&&(i=Lo(i)),{main:i,cross:Lo(i)}}const m_={start:"end",end:"start"};function vi(t){return t.replace(/start|end/g,e=>m_[e])}const v_=["top","right","bottom","left"],g_=v_.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function __(t,e,n){return(t?[...n.filter(o=>an(o)===t),...n.filter(o=>an(o)!==t)]:n.filter(o=>oe(o)===o)).filter(o=>t?an(o)===t||(e?vi(o)!==o:!1):!0)}const y_=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,r,i,a,l;const{x:s,y:c,rects:u,middlewareData:m,placement:v}=e,{alignment:_=null,allowedPlacements:k=g_,autoAlignment:y=!0,...S}=t;if((n=m.autoPlacement)!=null&&n.skip)return{};const O=__(_,y,k),A=await Ko(e,S),R=(o=(r=m.autoPlacement)==null?void 0:r.index)!=null?o:0,M=O[R],{main:Q,cross:H}=ru(M,u);if(v!==M)return{x:s,y:c,reset:{placement:O[0]}};const G=[A[oe(M)],A[Q],A[H]],W=[...(i=(a=m.autoPlacement)==null?void 0:a.overflows)!=null?i:[],{placement:M,overflows:G}],ot=O[R+1];if(ot)return{data:{index:R+1,overflows:W},reset:{placement:ot}};const pt=W.slice().sort((d,f)=>d.overflows[0]-f.overflows[0]),ct=(l=pt.find(d=>{let{overflows:f}=d;return f.every(h=>h<=0)}))==null?void 0:l.placement;return{data:{skip:!0},reset:{placement:ct??pt[0].placement}}}}};function b_(t){const e=Lo(t);return[vi(t),e,vi(e)]}const w_=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l}=e;if((n=i.flip)!=null&&n.skip)return{};const{mainAxis:s=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:m="bestFit",flipAlignment:v=!0,..._}=t,k=oe(r),y=u||(k===l||!v?[Lo(l)]:b_(l)),S=[l,...y],O=await Ko(e,_),A=[];let R=((o=i.flip)==null?void 0:o.overflows)||[];if(s&&A.push(O[k]),c){const{main:G,cross:W}=ru(r,a);A.push(O[G],O[W])}if(R=[...R,{placement:r,overflows:A}],!A.every(G=>G<=0)){var M,Q;const G=((M=(Q=i.flip)==null?void 0:Q.index)!=null?M:0)+1,W=S[G];if(W)return{data:{index:G,overflows:R},reset:{placement:W}};let ot="bottom";switch(m){case"bestFit":{var H;const pt=(H=R.slice().sort((ct,d)=>ct.overflows.filter(f=>f>0).reduce((f,h)=>f+h,0)-d.overflows.filter(f=>f>0).reduce((f,h)=>f+h,0))[0])==null?void 0:H.placement;pt&&(ot=pt);break}case"initialPlacement":ot=l;break}return{data:{skip:!0},reset:{placement:ot}}}return{}}}};function $_(t){let{placement:e,rects:n,value:o}=t;const r=oe(e),i=["left","top"].includes(r)?-1:1,a=typeof o=="function"?o({...n,placement:e}):o,{mainAxis:l,crossAxis:s}=typeof a=="number"?{mainAxis:a,crossAxis:0}:{mainAxis:0,crossAxis:0,...a};return Gn(r)==="x"?{x:s,y:l*i}:{x:l*i,y:s}}const E_=function(t){return t===void 0&&(t=0),{name:"offset",options:t,fn(e){const{x:n,y:o,placement:r,rects:i}=e,a=$_({placement:r,rects:i,value:t});return{x:n+a.x,y:o+a.y,data:a}}}};function C_(t){return t==="x"?"y":"x"}const S_=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:S=>{let{x:O,y:A}=S;return{x:O,y:A}}},...s}=t,c={x:n,y:o},u=await Ko(e,s),m=Gn(oe(r)),v=C_(m);let _=c[m],k=c[v];if(i){const S=m==="y"?"top":"left",O=m==="y"?"bottom":"right",A=_+u[S],R=_-u[O];_=mi(A,_,R)}if(a){const S=v==="y"?"top":"left",O=v==="y"?"bottom":"right",A=k+u[S],R=k-u[O];k=mi(A,k,R)}const y=l.fn({...e,[m]:_,[v]:k});return{...y,data:{x:y.x-n,y:y.y-o}}}}},A_=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n;const{placement:o,rects:r,middlewareData:i}=e,{apply:a,...l}=t;if((n=i.size)!=null&&n.skip)return{};const s=await Ko(e,l),c=oe(o),u=an(o)==="end";let m,v;c==="top"||c==="bottom"?(m=c,v=u?"left":"right"):(v=c,m=u?"top":"bottom");const _=Ae(s.left,0),k=Ae(s.right,0),y=Ae(s.top,0),S=Ae(s.bottom,0),O={height:r.floating.height-(["left","right"].includes(o)?2*(y!==0||S!==0?y+S:Ae(s.top,s.bottom)):s[m]),width:r.floating.width-(["top","bottom"].includes(o)?2*(_!==0||k!==0?_+k:Ae(s.left,s.right)):s[v])};return a?.({...O,...r}),{data:{skip:!0},reset:{rects:!0}}}}};function ea(t){return t?.toString()==="[object Window]"}function _e(t){if(t==null)return window;if(!ea(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function Xo(t){return _e(t).getComputedStyle(t)}function ee(t){return ea(t)?"":t?(t.nodeName||"").toLowerCase():""}function ne(t){return t instanceof _e(t).HTMLElement}function Do(t){return t instanceof _e(t).Element}function T_(t){return t instanceof _e(t).Node}function iu(t){const e=_e(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Yo(t){const{overflow:e,overflowX:n,overflowY:o}=Xo(t);return/auto|scroll|overlay|hidden/.test(e+o+n)}function x_(t){return["table","td","th"].includes(ee(t))}function au(t){const e=navigator.userAgent.toLowerCase().includes("firefox"),n=Xo(t);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||e&&n.willChange==="filter"||e&&(n.filter?n.filter!=="none":!1)}const rl=Math.min,On=Math.max,Mo=Math.round;function un(t,e){e===void 0&&(e=!1);const n=t.getBoundingClientRect();let o=1,r=1;return e&&ne(t)&&(o=t.offsetWidth>0&&Mo(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Mo(n.height)/t.offsetHeight||1),{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function ye(t){return((T_(t)?t.ownerDocument:t.document)||window.document).documentElement}function Zo(t){return ea(t)?{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}:{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function su(t){return un(ye(t)).left+Zo(t).scrollLeft}function k_(t){const e=un(t);return Mo(e.width)!==t.offsetWidth||Mo(e.height)!==t.offsetHeight}function N_(t,e,n){const o=ne(e),r=ye(e),i=un(t,o&&k_(e));let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&n!=="fixed")if((ee(e)!=="body"||Yo(r))&&(a=Zo(e)),ne(e)){const s=un(e,!0);l.x=s.x+e.clientLeft,l.y=s.y+e.clientTop}else r&&(l.x=su(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function Jo(t){return ee(t)==="html"?t:t.assignedSlot||t.parentNode||(iu(t)?t.host:null)||ye(t)}function il(t){return!ne(t)||getComputedStyle(t).position==="fixed"?null:t.offsetParent}function O_(t){let e=Jo(t);for(;ne(e)&&!["html","body"].includes(ee(e));){if(au(e))return e;e=e.parentNode}return null}function gi(t){const e=_e(t);let n=il(t);for(;n&&x_(n)&&getComputedStyle(n).position==="static";)n=il(n);return n&&(ee(n)==="html"||ee(n)==="body"&&getComputedStyle(n).position==="static"&&!au(n))?e:n||O_(t)||e}function al(t){return{width:t.offsetWidth,height:t.offsetHeight}}function I_(t){let{rect:e,offsetParent:n,strategy:o}=t;const r=ne(n),i=ye(n);if(n===i)return e;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&o!=="fixed")&&((ee(n)!=="body"||Yo(i))&&(a=Zo(n)),ne(n))){const s=un(n,!0);l.x=s.x+n.clientLeft,l.y=s.y+n.clientTop}return{...e,x:e.x-a.scrollLeft+l.x,y:e.y-a.scrollTop+l.y}}function P_(t){const e=_e(t),n=ye(t),o=e.visualViewport;let r=n.clientWidth,i=n.clientHeight,a=0,l=0;return o&&(r=o.width,i=o.height,Math.abs(e.innerWidth/o.scale-o.width)<.01&&(a=o.offsetLeft,l=o.offsetTop)),{width:r,height:i,x:a,y:l}}function R_(t){var e;const n=ye(t),o=Zo(t),r=(e=t.ownerDocument)==null?void 0:e.body,i=On(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=On(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+su(t);const s=-o.scrollTop;return Xo(r||n).direction==="rtl"&&(l+=On(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}function lu(t){return["html","body","#document"].includes(ee(t))?t.ownerDocument.body:ne(t)&&Yo(t)?t:lu(Jo(t))}function Fo(t,e){var n;e===void 0&&(e=[]);const o=lu(t),r=o===((n=t.ownerDocument)==null?void 0:n.body),i=_e(o),a=r?[i].concat(i.visualViewport||[],Yo(o)?o:[]):o,l=e.concat(a);return r?l:l.concat(Fo(Jo(a)))}function L_(t,e){const n=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&iu(n)){let o=e;do{if(o&&t===o)return!0;o=o.parentNode||o.host}while(o)}return!1}function D_(t){const e=un(t),n=e.top+t.clientTop,o=e.left+t.clientLeft;return{top:n,left:o,x:o,y:n,right:o+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function sl(t,e){return e==="viewport"?hi(P_(t)):Do(e)?D_(e):hi(R_(ye(t)))}function M_(t){const e=Fo(Jo(t)),n=["absolute","fixed"].includes(Xo(t).position)&&ne(t)?gi(t):t;return Do(n)?e.filter(o=>Do(o)&&L_(o,n)&&ee(o)!=="body"):[]}function F_(t){let{element:e,boundary:n,rootBoundary:o}=t;const r=[...n==="clippingParents"?M_(e):[].concat(n),o],i=r[0],a=r.reduce((l,s)=>{const c=sl(e,s);return l.top=On(c.top,l.top),l.right=rl(c.right,l.right),l.bottom=rl(c.bottom,l.bottom),l.left=On(c.left,l.left),l},sl(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}const B_={getElementRects:t=>{let{reference:e,floating:n,strategy:o}=t;return{reference:N_(e,gi(n),o),floating:{...al(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:t=>I_(t),getOffsetParent:t=>{let{element:e}=t;return gi(e)},isElement:t=>Do(t),getDocumentElement:t=>{let{element:e}=t;return ye(e)},getClippingClientRect:t=>F_(t),getDimensions:t=>{let{element:e}=t;return al(e)},getClientRects:t=>{let{element:e}=t;return e.getClientRects()}},z_=(t,e,n)=>u_(t,e,{platform:B_,...n});var j_=Object.defineProperty,H_=Object.defineProperties,V_=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,cu=Object.prototype.hasOwnProperty,uu=Object.prototype.propertyIsEnumerable,ll=(t,e,n)=>e in t?j_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ue=(t,e)=>{for(var n in e||(e={}))cu.call(e,n)&&ll(t,n,e[n]);if(Bo)for(var n of Bo(e))uu.call(e,n)&&ll(t,n,e[n]);return t},Qo=(t,e)=>H_(t,V_(e)),U_=(t,e)=>{var n={};for(var o in t)cu.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Bo)for(var o of Bo(t))e.indexOf(o)<0&&uu.call(t,o)&&(n[o]=t[o]);return n};function du(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?du(t[n],e[n]):t[n]=e[n])}const Vt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function dn(t,e){let n=Vt.themes[t]||{},o;do o=n[e],typeof o>"u"?n.$extend?n=Vt.themes[n.$extend]||{}:(n=null,o=Vt[e]):n=null;while(n);return o}function G_(t){const e=[t];let n=Vt.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Vt.themes[n.$extend]||{}):n=null;while(n);return e.map(o=>`v-popper--theme-${o}`)}function cl(t){const e=[t];let n=Vt.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Vt.themes[n.$extend]||{}):n=null;while(n);return e}let De=!1;if(typeof window<"u"){De=!1;try{const t=Object.defineProperty({},"passive",{get(){De=!0}});window.addEventListener("test",null,t)}catch{}}let pu=!1;typeof window<"u"&&typeof navigator<"u"&&(pu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const fu=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),ul={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},dl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function pl(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function Dr(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Pt=[];let Ce=null;const fl={};function hl(t){let e=fl[t];return e||(e=fl[t]=[]),e}let _i=function(){};typeof window<"u"&&(_i=window.Element);function V(t){return function(){const e=this.$props;return dn(e.theme,t)}}const Mr="__floating-vue__popper";var hu=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:V("disabled")},positioningDisabled:{type:Boolean,default:V("positioningDisabled")},placement:{type:String,default:V("placement"),validator:t=>fu.includes(t)},delay:{type:[String,Number,Object],default:V("delay")},distance:{type:[Number,String],default:V("distance")},skidding:{type:[Number,String],default:V("skidding")},triggers:{type:Array,default:V("triggers")},showTriggers:{type:[Array,Function],default:V("showTriggers")},hideTriggers:{type:[Array,Function],default:V("hideTriggers")},popperTriggers:{type:Array,default:V("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:V("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:V("popperHideTriggers")},container:{type:[String,Object,_i,Boolean],default:V("container")},boundary:{type:[String,_i],default:V("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:V("strategy")},autoHide:{type:[Boolean,Function],default:V("autoHide")},handleResize:{type:Boolean,default:V("handleResize")},instantMove:{type:Boolean,default:V("instantMove")},eagerMount:{type:Boolean,default:V("eagerMount")},popperClass:{type:[String,Array,Object],default:V("popperClass")},computeTransformOrigin:{type:Boolean,default:V("computeTransformOrigin")},autoMinSize:{type:Boolean,default:V("autoMinSize")},autoSize:{type:[Boolean,String],default:V("autoSize")},autoMaxSize:{type:Boolean,default:V("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:V("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:V("preventOverflow")},overflowPadding:{type:[Number,String],default:V("overflowPadding")},arrowPadding:{type:[Number,String],default:V("arrowPadding")},arrowOverflow:{type:Boolean,default:V("arrowOverflow")},flip:{type:Boolean,default:V("flip")},shift:{type:Boolean,default:V("shift")},shiftCrossAxis:{type:Boolean,default:V("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:V("noAutoFocus")}},provide(){return{[Mr]:{parentPopper:this}}},inject:{[Mr]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:Qo(ue({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var t;return(t=this[Mr])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:ue(ue({shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var o,r;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1,skipAiming:n=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!n&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var t;if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(E_({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?e.middleware.push(y_({alignment:(t=this.placement.split("-")[1])!=null?t:""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(S_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&e.middleware.push(w_({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(f_({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:a})=>{let l;const{centerOffset:s}=a.arrow;return r.startsWith("top")||r.startsWith("bottom")?l=Math.abs(s)>i.reference.width/2:l=Math.abs(s)>i.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:a,middlewareData:l})=>{var s;if((s=l.autoSize)!=null&&s.skip)return{};let c,u;return a.startsWith("top")||a.startsWith("bottom")?c=i.reference.width:u=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(A_({boundary:this.boundary,padding:this.overflowPadding,apply:({width:r,height:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const o=await z_(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:ue(ue({},o.middlewareData.arrow),o.middlewareData.arrowOverflow)})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ce&&this.instantMove&&Ce.instantMove&&Ce!==this.parentPopper){Ce.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ce=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Dr(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Fo(this.$_referenceNode),...Fo(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(o.left+n.offsetLeft),i=e.y+e.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,pl(Pt,this),Pt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of cl(this.theme)){const o=hl(n);pl(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ce===this&&(Ce=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=dn(this.theme,"disposeTimeout");e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Dr(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,ul,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],ul,this.popperTriggers,this.popperShowTriggers,t);const e=n=>o=>{o.usedByTooltip||this.hide({event:o,skipAiming:n})};this.$_registerTriggerListeners(this.$_targetNodes,dl,this.triggers,this.hideTriggers,e(!1)),this.$_registerTriggerListeners([this.$_popperNode],dl,this.popperTriggers,this.popperHideTriggers,e(!0))},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(o=>o.addEventListener(e,n,De?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,o,r){let i=n;o!=null&&(i=typeof o=="function"?o(i):o),i.forEach(a=>{const l=e[a];l&&this.$_registerEventListeners(t,l,r)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:r,handler:i}=n;!t||t===r?o.forEach(a=>a.removeEventListener(r,i)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const o=n.getAttribute(t);o&&(n.removeAttribute(t),n.setAttribute(e,o))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const o=t[n];o==null?e.removeAttribute(n):e.setAttribute(n,o)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$el.getBoundingClientRect();if(In>=t.left&&In<=t.right&&Pn>=t.top&&Pn<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=In-ae,o=Pn-se,r=e.left+e.width/2-ae+(e.top+e.height/2)-se+e.width+e.height,i=ae+n*r,a=se+o*r;return co(ae,se,i,a,e.left,e.top,e.left,e.bottom)||co(ae,se,i,a,e.left,e.top,e.right,e.top)||co(ae,se,i,a,e.right,e.top,e.right,e.bottom)||co(ae,se,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(pu?(document.addEventListener("touchstart",ml,De?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",q_,De?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",ml,!0),window.addEventListener("click",W_,!0)),window.addEventListener("resize",Y_));function ml(t){for(let e=0;e=0;o--){const r=Pt[o];try{const i=r.$_containsGlobalTarget=K_(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&vl(r,i,t)){if(r.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let a=r.parentPopper;for(;a&&vl(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,e),a=a.parentPopper}})}catch{}}}function K_(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function vl(t,e,n){return n.closeAllPopover||n.closePopover&&e||X_(t,n)&&!e}function X_(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function Y_(t){for(let e=0;e{ae=In,se=Pn,In=t.clientX,Pn=t.clientY},De?{passive:!0}:void 0);function co(t,e,n,o,r,i,a,l){const s=((a-r)*(e-i)-(l-i)*(t-r))/((l-i)*(n-t)-(a-r)*(o-e)),c=((n-t)*(e-i)-(o-e)*(t-r))/((l-i)*(n-t)-(a-r)*(o-e));return s>=0&&s<=1&&c>=0&&c<=1}function Z_(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var o=t.indexOf("rv:");return parseInt(t.substring(o+3,t.indexOf(".",o)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}var wo;function yi(){yi.init||(yi.init=!0,wo=Z_()!==-1)}var J_={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var t=this;yi(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight,t.emitOnMount&&t.emitSize()});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",wo&&this.$el.appendChild(e),e.data="about:blank",wo||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!wo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function Q_(t,e,n,o,r,i,a,l,s,c){var u=typeof n=="function"?n.options:n;return t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),u._scopeId=o,n}var ty=J_,vu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},ey=[];vu._withStripped=!0;var ny=void 0,oy="data-v-8859cc6c",bi=Q_({render:vu,staticRenderFns:ey},ny,ty,oy);function ry(t){t.component("resize-observer",bi),t.component("ResizeObserver",bi)}var iy={version:"1.0.1",install:ry},uo=null;typeof window<"u"?uo=window.Vue:typeof sn<"u"&&(uo=sn.Vue),uo&&uo.use(iy);var gu={computed:{themeClass(){return G_(this.theme)}}},ay={name:"VPopperContent",components:{ResizeObserver:bi},mixins:[gu],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}},sy=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"popover",staticClass:"v-popper__popper",class:[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}],style:t.result?{position:t.result.strategy,transform:"translate3d("+Math.round(t.result.x)+"px,"+Math.round(t.result.y)+"px,0)"}:void 0,attrs:{id:t.popperId,"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0},on:{keyup:function(o){if(!o.type.indexOf("key")&&t._k(o.keyCode,"esc",27,o.key,["Esc","Escape"]))return null;t.autoHide&&t.$emit("hide")}}},[n("div",{staticClass:"v-popper__backdrop",on:{click:function(o){t.autoHide&&t.$emit("hide")}}}),n("div",{staticClass:"v-popper__wrapper",style:t.result?{transformOrigin:t.result.transformOrigin}:void 0},[n("div",{ref:"inner",staticClass:"v-popper__inner"},[t.mounted?[n("div",[t._t("default")],2),t.handleResize?n("ResizeObserver",{on:{notify:function(o){return t.$emit("resize",o)}}}):t._e()]:t._e()],2),n("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0},[n("div",{staticClass:"v-popper__arrow-outer"}),n("div",{staticClass:"v-popper__arrow-inner"})])])])},ly=[];function vn(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var u=s.render;s.render=function(v,_){return c.call(_),u(v,_)}}else{var m=s.beforeCreate;s.beforeCreate=m?[].concat(m,c):[c]}return{exports:t,options:s}}const gl={};var cy=vn(ay,sy,ly,!1,uy);function uy(t){for(let e in gl)this[e]=gl[e]}var _u=(function(){return cy.exports})(),na={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},dy={name:"VPopperWrapper",components:{Popper:hu(),PopperContent:_u},mixins:[na,gu],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(t=>t!==this.$refs.popperContent.$el)}}},py=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"target-nodes":t.getTargetNodes,"reference-node":function(){return t.$refs.reference},"popper-node":function(){return t.$refs.popperContent.$el}},scopedSlots:t._u([{key:"default",fn:function(o){var r=o.popperId,i=o.isShown,a=o.shouldMountContent,l=o.skipTransition,s=o.autoHide,c=o.show,u=o.hide,m=o.handleResize,v=o.onResize,_=o.classes,k=o.result;return[n("div",{ref:"reference",staticClass:"v-popper",class:[t.themeClass,{"v-popper--shown":i}]},[t._t("default",null,{shown:i,show:c,hide:u}),n("PopperContent",{ref:"popperContent",attrs:{"popper-id":r,theme:t.theme,shown:i,mounted:a,"skip-transition":l,"auto-hide":s,"handle-resize":m,classes:_,result:k},on:{hide:u,resize:v}},[t._t("popper",null,{shown:i,hide:u})],2)],2)]}}],null,!0)},"Popper",t.$attrs,!1),t.$listeners))},fy=[];const _l={};var hy=vn(dy,py,fy,!1,my);function my(t){for(let e in _l)this[e]=_l[e]}var oa=(function(){return hy.exports})(),vy=Qo(ue({},oa),{name:"VDropdown",vPopperTheme:"dropdown"});let gy,_y;const yl={};var yy=vn(vy,gy,_y,!1,by);function by(t){for(let e in yl)this[e]=yl[e]}var wi=(function(){return yy.exports})(),wy=Qo(ue({},oa),{name:"VMenu",vPopperTheme:"menu"});let $y,Ey;const bl={};var Cy=vn(wy,$y,Ey,!1,Sy);function Sy(t){for(let e in bl)this[e]=bl[e]}var wl=(function(){return Cy.exports})(),Ay=Qo(ue({},oa),{name:"VTooltip",vPopperTheme:"tooltip"});let Ty,xy;const $l={};var ky=vn(Ay,Ty,xy,!1,Ny);function Ny(t){for(let e in $l)this[e]=$l[e]}var El=(function(){return ky.exports})(),Oy={name:"VTooltipDirective",components:{Popper:hu(),PopperContent:_u},mixins:[na],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return dn(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return dn(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(t){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(e,o)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},Iy=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"popper-node":function(){return t.$refs.popperContent.$el}},on:{"apply-show":t.onShow,"apply-hide":t.onHide},scopedSlots:t._u([{key:"default",fn:function(o){var r=o.popperId,i=o.isShown,a=o.shouldMountContent,l=o.skipTransition,s=o.autoHide,c=o.hide,u=o.handleResize,m=o.onResize,v=o.classes,_=o.result;return[n("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":t.loading},attrs:{"popper-id":r,theme:t.theme,shown:i,mounted:a,"skip-transition":l,"auto-hide":s,"handle-resize":u,classes:v,result:_},on:{hide:c,resize:m}},[t.html?n("div",{domProps:{innerHTML:t._s(t.finalContent)}}):n("div",{domProps:{textContent:t._s(t.finalContent)}})])]}}])},"Popper",t.$attrs,!1),t.$listeners))},Py=[];const Cl={};var Ry=vn(Oy,Iy,Py,!1,Ly);function Ly(t){for(let e in Cl)this[e]=Cl[e]}var Dy=(function(){return Ry.exports})();const yu="v-popper--has-tooltip";function My(t,e){let n=t.placement;if(!n&&e)for(const o of fu)e[o]&&(n=o);return n||(n=dn(t.theme||"tooltip","placement")),n}function bu(t,e,n){let o;const r=typeof e;return r==="string"?o={content:e}:e&&r==="object"?o=e:o={content:!1},o.placement=My(o,n),o.targetNodes=()=>[t],o.referenceNode=()=>t,o}function Fy(t,e,n){const o=bu(t,e,n),r=t.$_popper=new U({mixins:[na],data(){return{options:o}},render(a){const l=this.options,{theme:s,html:c,content:u,loadingContent:m}=l,v=U_(l,["theme","html","content","loadingContent"]);return a(Dy,{props:{theme:s,html:c,content:u,loadingContent:m},attrs:v,ref:"popper"})},devtools:{hide:!0}}),i=document.createElement("div");return document.body.appendChild(i),r.$mount(i),t.classList&&t.classList.add(yu),r}function wu(t){t.$_popper&&(t.$_popper.$destroy(),delete t.$_popper,delete t.$_popperOldShown),t.classList&&t.classList.remove(yu)}function Sl(t,{value:e,oldValue:n,modifiers:o}){const r=bu(t,e,o);if(!r.content||dn(r.theme||"tooltip","disabled"))wu(t);else{let i;t.$_popper?(i=t.$_popper,i.options=r):i=Fy(t,e,o),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}var By={bind:Sl,update:Sl,unbind(t){wu(t)}};function Al(t){t.addEventListener("click",$u),t.addEventListener("touchstart",Eu,De?{passive:!0}:!1)}function Tl(t){t.removeEventListener("click",$u),t.removeEventListener("touchstart",Eu),t.removeEventListener("touchend",Cu),t.removeEventListener("touchcancel",Su)}function $u(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Eu(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",Cu),e.addEventListener("touchcancel",Su)}}function Cu(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],o=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Su(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}var zy={bind(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&Al(t)},update(t,{value:e,oldValue:n,modifiers:o}){t.$_closePopoverModifiers=o,e!==n&&(typeof e>"u"||e?Al(t):Tl(t))},unbind(t){Tl(t)}};const xl=Vt,jy=wi;function Hy(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,du(Vt,e),t.directive("tooltip",By),t.directive("close-popper",zy),t.component("v-tooltip",El),t.component("VTooltip",El),t.component("v-dropdown",wi),t.component("VDropdown",wi),t.component("v-menu",wl),t.component("VMenu",wl))}const Vy={version:"1.0.0-beta.19",install:Hy,options:Vt};let po=null;typeof window<"u"?po=window.Vue:typeof sn<"u"&&(po=sn.Vue),po&&po.use(Vy);var Au=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],zo=Au.join(","),Tu=typeof Element>"u",Me=Tu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,jo=!Tu&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},Ho=function(t,e){var n;e===void 0&&(e=!0);var o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),r=o===""||o==="true",i=r||e&&t&&(typeof t.closest=="function"?t.closest("[inert]"):Ho(t.parentNode));return i},Uy=function(t){var e,n=t==null||(e=t.getAttribute)===null||e===void 0?void 0:e.call(t,"contenteditable");return n===""||n==="true"},xu=function(t,e,n){if(Ho(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(zo));return e&&Me.call(t,zo)&&o.unshift(t),o=o.filter(n),o},Vo=function(t,e,n){for(var o=[],r=Array.from(t);r.length;){var i=r.shift();if(!Ho(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,s=Vo(l,!0,n);n.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{var c=Me.call(i,zo);c&&n.filter(i)&&(e||!t.includes(i))&&o.push(i);var u=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),m=!Ho(u,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(u&&m){var v=Vo(u===!0?i.children:u.children,!0,n);n.flatten?o.push.apply(o,v):o.push({scopeParent:i,candidates:v})}else r.unshift.apply(r,i.children)}}return o},ku=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},xe=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Uy(t))&&!ku(t)?0:t.tabIndex},Gy=function(t,e){var n=xe(t);return n<0&&e&&!ku(t)?0:n},Wy=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},Nu=function(t){return t.tagName==="INPUT"},qy=function(t){return Nu(t)&&t.type==="hidden"},Ky=function(t){var e=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return e},Xy=function(t,e){for(var n=0;nsummary:first-of-type"),a=i?t.parentElement:t;if(Me.call(a,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var s=t.parentElement,c=jo(t);if(s&&!s.shadowRoot&&o(s)===!0)return kl(t);t.assignedSlot?t=t.assignedSlot:!s&&c!==t.ownerDocument?t=c.host:t=s}t=l}if(Qy(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return kl(t);return!1},e0=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if(e.tagName==="FIELDSET"&&e.disabled){for(var n=0;n=0)},Ou=function(t){var e=[],n=[];return t.forEach(function(o,r){var i=!!o.scopeParent,a=i?o.scopeParent:o,l=Gy(a,i),s=i?Ou(o.candidates):a;l===0?i?e.push.apply(e,s):e.push(a):n.push({documentOrder:r,tabIndex:l,item:o,isScope:i,content:s})}),n.sort(Wy).reduce(function(o,r){return r.isScope?o.push.apply(o,r.content):o.push(r.content),o},[]).concat(e)},Iu=function(t,e){e=e||{};var n;return e.getShadowRoot?n=Vo([t],e.includeContainer,{filter:$i.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:n0}):n=xu(t,e.includeContainer,$i.bind(null,e)),Ou(n)},o0=function(t,e){e=e||{};var n;return e.getShadowRoot?n=Vo([t],e.includeContainer,{filter:Uo.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):n=xu(t,e.includeContainer,Uo.bind(null,e)),n},Ye=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Me.call(t,zo)===!1?!1:$i(e,t)},r0=Au.concat("iframe:not([inert]):not([inert] *)").join(","),Fr=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Me.call(t,r0)===!1?!1:Uo(e,t)};function Ei(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var s=n.next();return a=s.done,s},e:function(s){l=!0,i=s},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw i}}}}function a0(t,e,n){return(e=d0(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s0(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function l0(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ol(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Il(t){for(var e=1;e0?t[t.length-1]:null},activateTrap:function(t,e){var n=Kt.getActiveTrap(t);e!==n&&Kt.pauseTrap(t);var o=t.indexOf(e);o===-1||t.splice(o,1),t.push(e)},deactivateTrap:function(t,e){var n=t.indexOf(e);n!==-1&&t.splice(n,1),Kt.unpauseTrap(t)},pauseTrap:function(t){var e=Kt.getActiveTrap(t);e?._setPausedState(!0)},unpauseTrap:function(t){var e=Kt.getActiveTrap(t);e&&!e._isManuallyPaused()&&e._setPausedState(!1)}},p0=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},f0=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Rn=function(t){return t?.key==="Tab"||t?.keyCode===9},h0=function(t){return Rn(t)&&!t.shiftKey},m0=function(t){return Rn(t)&&t.shiftKey},Pl=function(t){return setTimeout(t,0)},Sn=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:{},h=f.hasFallback,b=h===void 0?!1:h,$=f.params,T=$===void 0?[]:$,C=r[d];if(typeof C=="function"&&(C=C.apply(void 0,c0(T))),C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var x=C;if(typeof C=="string"){try{x=n.querySelector(C)}catch(N){throw new Error("`".concat(d,'` appears to be an invalid selector; error="').concat(N.message,'"'))}if(!x&&!b)throw new Error("`".concat(d,"` as selector refers to no known node"))}return x},u=function(){var d=c("initialFocus",{hasFallback:!0});if(d===!1)return!1;if(d===void 0||d&&!Fr(d,r.tabbableOptions))if(s(n.activeElement)>=0)d=n.activeElement;else{var f=i.tabbableGroups[0],h=f&&f.firstTabbableNode;d=h||c("fallbackFocus")}else d===null&&(d=c("fallbackFocus"));if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},m=function(){if(i.containerGroups=i.containers.map(function(d){var f=Iu(d,r.tabbableOptions),h=o0(d,r.tabbableOptions),b=f.length>0?f[0]:void 0,$=f.length>0?f[f.length-1]:void 0,T=h.find(function(N){return Ye(N)}),C=h.slice().reverse().find(function(N){return Ye(N)}),x=!!f.find(function(N){return xe(N)>0});return{container:d,tabbableNodes:f,focusableNodes:h,posTabIndexesFound:x,firstTabbableNode:b,lastTabbableNode:$,firstDomTabbableNode:T,lastDomTabbableNode:C,nextTabbableNode:function(N){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,z=f.indexOf(N);return z<0?I?h.slice(h.indexOf(N)+1).find(function(B){return Ye(B)}):h.slice(0,h.indexOf(N)).reverse().find(function(B){return Ye(B)}):f[z+(I?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},v=function(d){var f=d.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?v(f.shadowRoot):f},_=function(d){if(d!==!1&&d!==v(document)){if(!d||!d.focus){_(u());return}d.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=d,p0(d)&&d.select()}},k=function(d){var f=c("setReturnFocus",{params:[d]});return f||(f===!1?!1:d)},y=function(d){var f=d.target,h=d.event,b=d.isBackward,$=b===void 0?!1:b;f=f||fo(h),m();var T=null;if(i.tabbableGroups.length>0){var C=s(f,h),x=C>=0?i.containerGroups[C]:void 0;if(C<0)$?T=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:T=i.tabbableGroups[0].firstTabbableNode;else if($){var N=i.tabbableGroups.findIndex(function(q){var mt=q.firstTabbableNode;return f===mt});if(N<0&&(x.container===f||Fr(f,r.tabbableOptions)&&!Ye(f,r.tabbableOptions)&&!x.nextTabbableNode(f,!1))&&(N=C),N>=0){var I=N===0?i.tabbableGroups.length-1:N-1,z=i.tabbableGroups[I];T=xe(f)>=0?z.lastTabbableNode:z.lastDomTabbableNode}else Rn(h)||(T=x.nextTabbableNode(f,!1))}else{var B=i.tabbableGroups.findIndex(function(q){var mt=q.lastTabbableNode;return f===mt});if(B<0&&(x.container===f||Fr(f,r.tabbableOptions)&&!Ye(f,r.tabbableOptions)&&!x.nextTabbableNode(f))&&(B=C),B>=0){var j=B===i.tabbableGroups.length-1?0:B+1,ut=i.tabbableGroups[j];T=xe(f)>=0?ut.firstTabbableNode:ut.firstDomTabbableNode}else Rn(h)||(T=x.nextTabbableNode(f))}}else T=c("fallbackFocus");return T},S=function(d){var f=fo(d);if(!(s(f,d)>=0)){if(Sn(r.clickOutsideDeactivates,d)){a.deactivate({returnFocus:r.returnFocusOnDeactivate});return}Sn(r.allowOutsideClick,d)||d.preventDefault()}},O=function(d){var f=fo(d),h=s(f,d)>=0;if(h||f instanceof Document)h&&(i.mostRecentlyFocusedNode=f);else{d.stopImmediatePropagation();var b,$=!0;if(i.mostRecentlyFocusedNode)if(xe(i.mostRecentlyFocusedNode)>0){var T=s(i.mostRecentlyFocusedNode),C=i.containerGroups[T].tabbableNodes;if(C.length>0){var x=C.findIndex(function(N){return N===i.mostRecentlyFocusedNode});x>=0&&(r.isKeyForward(i.recentNavEvent)?x+1=0&&(b=C[x-1],$=!1))}}else i.containerGroups.some(function(N){return N.tabbableNodes.some(function(I){return xe(I)>0})})||($=!1);else $=!1;$&&(b=y({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),_(b||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},A=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var h=y({event:d,isBackward:f});h&&(Rn(d)&&d.preventDefault(),_(h))},R=function(d){(r.isKeyForward(d)||r.isKeyBackward(d))&&A(d,r.isKeyBackward(d))},M=function(d){f0(d)&&Sn(r.escapeDeactivates,d)!==!1&&(d.preventDefault(),a.deactivate())},Q=function(d){var f=fo(d);s(f,d)>=0||Sn(r.clickOutsideDeactivates,d)||Sn(r.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},H=function(){if(i.active)return Kt.activateTrap(o,a),i.delayInitialFocusTimer=r.delayInitialFocus?Pl(function(){_(u())}):_(u()),n.addEventListener("focusin",O,!0),n.addEventListener("mousedown",S,{capture:!0,passive:!1}),n.addEventListener("touchstart",S,{capture:!0,passive:!1}),n.addEventListener("click",Q,{capture:!0,passive:!1}),n.addEventListener("keydown",R,{capture:!0,passive:!1}),n.addEventListener("keydown",M),a},G=function(d){i.active&&!i.paused&&a._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var f=new Set,h=new Set,b=Nl(d),$;try{for(b.s();!($=b.n()).done;){var T=$.value;f.add(T);for(var C=typeof ShadowRoot<"u"&&T.getRootNode()instanceof ShadowRoot,x=T;x;){f.add(x);var N=x.parentElement,I=[];N?I=N.children:!N&&C&&(I=x.getRootNode().children,N=x.getRootNode().host,C=typeof ShadowRoot<"u"&&N.getRootNode()instanceof ShadowRoot);var z=Nl(I),B;try{for(z.s();!(B=z.n()).done;){var j=B.value;h.add(j)}}catch(ut){z.e(ut)}finally{z.f()}x=N}}}catch(ut){b.e(ut)}finally{b.f()}f.forEach(function(ut){h.delete(ut)}),i.adjacentElements=h},W=function(){if(i.active)return n.removeEventListener("focusin",O,!0),n.removeEventListener("mousedown",S,!0),n.removeEventListener("touchstart",S,!0),n.removeEventListener("click",Q,!0),n.removeEventListener("keydown",R,!0),n.removeEventListener("keydown",M),a},ot=function(d){var f=d.some(function(h){var b=Array.from(h.removedNodes);return b.some(function($){return $===i.mostRecentlyFocusedNode})});f&&_(u())},pt=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ot):void 0,ct=function(){pt&&(pt.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){pt.observe(d,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var f=l(d,"onActivate"),h=l(d,"onPostActivate"),b=l(d,"checkCanFocusTrap"),$=Kt.getActiveTrap(o),T=!1;if($&&!$.paused){var C;(C=$._setSubtreeIsolation)===null||C===void 0||C.call($,!1),T=!0}try{b||m(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=v(n),f?.();var x=function(){b&&m(),H(),ct(),r.isolateSubtrees&&a._setSubtreeIsolation(!0),h?.()};if(b)return b(i.containers.concat()).then(x,x),this;x()}catch(I){if($===Kt.getActiveTrap(o)&&T){var N;(N=$._setSubtreeIsolation)===null||N===void 0||N.call($,!0)}throw I}return this},deactivate:function(d){if(!i.active)return this;var f=Il({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||a._setSubtreeIsolation(!1),i.alreadySilent.clear(),W(),i.active=!1,i.paused=!1,ct(),Kt.deactivateTrap(o,a);var h=l(f,"onDeactivate"),b=l(f,"onPostDeactivate"),$=l(f,"checkCanReturnFocus"),T=l(f,"returnFocus","returnFocusOnDeactivate");h?.();var C=function(){Pl(function(){T&&_(k(i.nodeFocusedBeforeActivation)),b?.()})};return T&&$?($(k(i.nodeFocusedBeforeActivation)).then(C,C),this):(C(),this)},pause:function(d){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,d)):this},unpause:function(d){return i.active?(i.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,d)):this},updateContainerElements:function(d){var f=[].concat(d).filter(Boolean);return i.containers=f.map(function(h){return typeof h=="string"?n.querySelector(h):h}),r.isolateSubtrees&&G(i.containers),i.active&&(m(),r.isolateSubtrees&&!i.paused&&a._setSubtreeIsolation(!0)),ct(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(d,f){if(i.paused===d)return this;if(i.paused=d,d){var h=l(f,"onPause"),b=l(f,"onPostPause");h?.(),W(),ct(),a._setSubtreeIsolation(!1),b?.()}else{var $=l(f,"onUnpause"),T=l(f,"onPostUnpause");$?.(),a._setSubtreeIsolation(!0),m(),H(),ct(),T?.()}return this}},_setSubtreeIsolation:{value:function(d){r.isolateSubtrees&&i.adjacentElements.forEach(function(f){var h;d?r.isolateSubtrees==="aria-hidden"?((f.ariaHidden==="true"||((h=f.getAttribute("aria-hidden"))===null||h===void 0?void 0:h.toLowerCase())==="true")&&i.alreadySilent.add(f),f.setAttribute("aria-hidden","true")):((f.inert||f.hasAttribute("inert"))&&i.alreadySilent.add(f),f.setAttribute("inert",!0)):i.alreadySilent.has(f)||(r.isolateSubtrees==="aria-hidden"?f.removeAttribute("aria-hidden"):f.removeAttribute("inert"))})}}}),a.updateContainerElements(t),a};const _0={name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){return this.$scopedSlots.default?.({attrs:this.triggerAttrs})}},y0=null,b0=null;var w0=Y(_0,y0,b0,!1,null,null);const $0=w0.exports,E0="_ncPopover_k--Q7",C0={"material-design-icon":"_material-design-icon_WzKjA",ncPopover:E0},Ru="nc-popover-8";xl.themes[Ru]=structuredClone(xl.themes.dropdown);const S0={name:"NcPopover",components:{Dropdown:jy,NcPopoverTriggerProvider:$0},inheritAttrs:!1,props:{shown:{type:Boolean,default:!1},popupRole:{type:String,default:void 0,validator:t=>["menu","listbox","tree","grid","dialog","true"].includes(t)},popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},noFocusTrap:{type:Boolean,default:!1},setReturnFocus:{default:void 0,type:[Boolean,HTMLElement,SVGElement,String,Function]},noAutoReturnFocus:{type:Boolean,default:!1}},emits:["after-show","after-hide","update:shown"],setup(){return{THEME:Ru}},data(){return{internalShown:this.shown}},watch:{shown(t){this.internalShown=t,this.internalShown&&this.checkTriggerA11y()},internalShown(t){this.$emit("update:shown",t)}},beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){if(window.OC?.debug){const t=this.getPopoverTriggerButtonElement();(!t||!t.hasAttributes("aria-expanded","aria-haspopup"))&&U.util.warn("It looks like you are using a custom button as a or other popover #trigger. If you are not using as a trigger, you need to bind attrs from the #trigger slot props to your custom button. See docs for an example.")}},removeFloatingVueAriaDescribedBy(){const t=this.getPopoverTriggerElement().querySelectorAll("[data-popper-shown]");for(const e of t)e.removeAttribute("aria-describedby")},getPopoverContentElement(){return this.$refs.popover?.$refs.popperContent?.$el},getPopoverTriggerElement(){return this.$refs.popover.$refs.reference},getPopoverTriggerButtonElement(){const t=this.getPopoverTriggerElement();return t&&Iu(t)[0]},async useFocusTrap(){if(await this.$nextTick(),this.noFocusTrap||!this.focusTrap)return;const t=this.getPopoverContentElement();t.tabIndex=-1,t&&(this.$focusTrap=g0(t,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus||!this.noAutoReturnFocus&&this.getPopoverTriggerButtonElement(),trapStack:fi(),fallBackFocus:t}),this.$focusTrap.activate())},clearFocusTrap(t={}){try{this.$focusTrap?.deactivate(t),this.$focusTrap=null}catch(e){Yi.warn("Could not clear focus trap",{error:e})}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(t){t.type==="keydown"&&t.key==="Escape"&&t.stopPropagation()},async afterShow(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-show")},{once:!0,passive:!0}),this.removeFloatingVueAriaDescribedBy(),await this.$nextTick(),await this.useFocusTrap(),this.addEscapeStopPropagation()},afterHide(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("after-hide")},{once:!0,passive:!0}),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var A0=function(){var t=this,e=t._self._c;return e("Dropdown",t._g(t._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":[t.$style.ncPopover,t.popoverBaseClass],theme:t.THEME,shown:t.internalShown},on:{"update:shown":function(n){t.internalShown=n},"apply-show":t.afterShow,"apply-hide":t.afterHide},scopedSlots:t._u([{key:"popper",fn:function(n){return[t._t("default",null,null,n)]}}],null,!0)},"Dropdown",t.$attrs,!1),t.$listeners),[e("NcPopoverTriggerProvider",{attrs:{shown:t.internalShown,"popup-role":t.popupRole},scopedSlots:t._u([{key:"default",fn:function(n){return[t._t("trigger",null,null,n)]}}],null,!0)})],1)},T0=[];const Rl={$style:C0};function x0(t){for(var e in Rl)this[e]=Rl[e]}var k0=Y(S0,A0,T0,!1,x0,null);const N0=k0.exports,O0={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var I0=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},P0=[],R0=Y(O0,I0,P0,!1,null,null);const L0=R0.exports;Xi(om);const D0=".focusable",M0={name:"NcActions",components:{NcButton:Zi,NcPopover:N0},provide(){return{"NcActions:isSemanticMenu":$t(()=>this.actionsMenuSemanticType==="menu")}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},forceSemanticType:{type:String,default:null,validator(t){return["dialog","menu","expanded","tooltip"].includes(t)}},primary:{type:Boolean,default:!1},type:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:Ki("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("#content-vue")??document.querySelector("body")},container:{type:[Boolean,String,Object,Element],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0},variant:{type:String,validator(t){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(t)},default:null},size:{type:String,default:"normal",validator(t){return["small","normal","large"].includes(t)}}},emits:["click","blur","focus","close","closed","open","opened","update:open"],setup(){const t=`menu-${kn()}`,e=`trigger-${t}`;return{randomId:t,triggerRandomId:e}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown"}},computed:{triggerButtonVariant(){return(this.type??this.variant)||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId,id:this.randomId,role:"menu"}},expanded:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{id:this.randomId,role:"dialog","aria-labelledby":this.triggerRandomId,"aria-modal":"true"},popoverUlA11yAttrs:{}},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{"aria-labelledby":this.triggerRandomId}}}[this.actionsMenuSemanticType]}},watch:{open(t){t!==this.opened&&(this.opened=t)},opened(){this.opened?document.body.addEventListener("keydown",this.handleEscapePressed):document.body.removeEventListener("keydown",this.handleEscapePressed)}},created(){c_(()=>this.opened,{disabled:()=>this.config.withFocusTrap})},methods:{getActionName(t){return t?.componentOptions?.Ctor?.extendOptions?.name??t?.componentOptions?.tag},isValidSingleAction(t){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(t))},isIconUrl(t){try{return!!new URL(t,t.startsWith("/")?window.location.origin:void 0)}catch{return!1}},openMenu(){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(t=!0){this.opened&&(await this.$nextTick(),this.opened=!1,this.$refs.popover?.clearFocusTrap({returnFocus:t}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,t&&this.$refs.triggerButton?.$el.focus())},onClosed(){this.$emit("closed")},onOpened(){this.$nextTick(()=>{this.focusFirstAction(null),this.resizePopover(),this.$emit("opened")})},resizePopover(){const t=this.$refs.menu.closest(".v-popper__inner"),e=this.$refs.menu.clientHeight,n=this.getMaxMenuHeight();if(e>n){let o=0,r=0;for(const i of this.$refs.menuList.children){if(o+i.clientHeight/2>n){t.style.height=`${o-r/2}px`;break}r=i.clientHeight,o+=r}}else t.style.height="fit-content"},getMaxMenuHeight(){const{top:t,bottom:e}=this.$refs.triggerButton?.$el.getBoundingClientRect()??{top:0,bottom:0},{top:n,bottom:o}=this.boundariesElement?.getBoundingClientRect()??{top:0,bottom:window.innerHeight};return Math.max(Math.min(t-84,t-n),Math.min(window.innerHeight-e-34,o-e))},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(D0)},onKeydown(t){if(t.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}t.preventDefault();const e=this.getFocusableMenuItemElements(),n=[...e].indexOf(document.activeElement);if(n===-1)return;const o=t.shiftKey?n-1:n+1;(o<0||o===e.length)&&this.closeMenu(!0),this.focusIndex=o,this.focusAction();return}this.config.withArrowNavigation&&(t.key==="ArrowUp"&&this.focusPreviousAction(t),t.key==="ArrowDown"&&this.focusNextAction(t),t.key==="PageUp"&&this.focusFirstAction(t),t.key==="PageDown"&&this.focusLastAction(t)),this.handleEscapePressed(t)},onTriggerKeydown(t){t.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},handleEscapePressed(t){t.key==="Escape"&&(this.closeMenu(),t.preventDefault())},removeCurrentActive(){const t=this.$refs.menu.querySelector("li.active");t&&t.classList.remove("active")},focusAction(){const t=this.getFocusableMenuItemElements()[this.focusIndex];if(t){this.removeCurrentActive();const e=t.closest("li.action");t.focus(),e&&e.classList.add("active")}},focusPreviousAction(t){this.opened&&(this.focusIndex===0?this.focusLastAction(t):(this.preventIfEvent(t),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(t){if(this.opened){const e=this.getFocusableMenuItemElements().length-1;this.focusIndex===e?this.focusFirstAction(t):(this.preventIfEvent(t),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(t){if(this.opened){this.preventIfEvent(t);const e=[...this.getFocusableMenuItemElements()].findIndex(n=>n.getAttribute("aria-checked")==="true"&&n.getAttribute("role")==="menuitemradio");this.focusIndex=e>-1?e:0,this.focusAction()}},focusLastAction(t){this.opened&&(this.preventIfEvent(t),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(t){t&&(t.preventDefault(),t.stopPropagation())},onFocus(t){this.$emit("focus",t)},onBlur(t){this.$emit("blur",t),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(t){this.$emit("click",t)}},render(t){const e=(this.$slots.default||[]).filter(l=>this.getActionName(l));if(e.length===0)return;let n=e.filter(this.isValidSingleAction);this.forceMenu&&n.length>0&&this.inline>0&&(U.util.warn("Specifying forceMenu will ignore any inline actions rendering."),n=[]);const o=n.slice(0,this.inline),r=e.filter(l=>!o.includes(l));if(this.forceSemanticType)this.actionsMenuSemanticType=this.forceSemanticType;else{const l=["NcActionInput","NcActionTextEditable"],s=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],c=["NcActionLink","NcActionRouter"],u=r.some(_=>l.includes(this.getActionName(_))),m=r.some(_=>s.includes(this.getActionName(_))),v=r.some(_=>c.includes(this.getActionName(_)));u?this.actionsMenuSemanticType="dialog":m?this.actionsMenuSemanticType="menu":v?this.actionsMenuSemanticType="expanded":e.filter(_=>this.getActionName(_).startsWith("NcAction")).length===e.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown"}const i=l=>{const s=l?.componentOptions?.propsData?.icon,c=l?.data?.scopedSlots?.icon()?.[0]??(this.isIconUrl(s)?t("img",{class:"action-item__menutoggle__icon",attrs:{src:s,alt:""}}):t("span",{class:["icon",s]})),u=l?.data?.attrs||{},m=l?.componentOptions?.listeners?.click,v=l?.componentOptions?.children?.[0]?.text?.trim?.(),_=l?.componentOptions?.propsData?.ariaLabel||v,k=this.forceName?v:"";let y=l?.componentOptions?.propsData?.title;this.forceName||y||(y=v);const S={...l?.componentOptions?.propsData??{}},O=["submit","reset"].includes(S.type)?S.modelValue:"button";return delete S.modelValue,delete S.type,t("NcButton",{class:["action-item action-item--single",l?.data?.staticClass,l?.data?.class],attrs:{...u,"aria-label":_,title:y},ref:l?.data?.ref,props:{...S,disabled:this.disabled||l?.componentOptions?.propsData?.disabled,pressed:l?.componentOptions?.propsData?.modelValue,size:this.size,type:O,variant:(this.type??this.variant)||(k?"secondary":"tertiary")},on:{focus:this.onFocus,blur:this.onBlur,"update:pressed":l?.componentOptions?.listeners?.["update:modelValue"]??(()=>{}),...!!m&&{click:A=>{m&&m(A)}}}},[t("template",{slot:"icon"},[c]),k])},a=l=>{const s=this.$slots.icon?.[0]||(this.defaultIcon?t("span",{class:["icon",this.defaultIcon]}):t(L0,{props:{size:20}}));return t("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,noAutoReturnFocus:!this.withFocusTrap,focusTrap:this.config.withFocusTrap},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"after-show":this.onOpened,hide:this.closeMenu,"after-hide":this.onClosed}},[t("NcButton",{class:"action-item__menutoggle",props:{size:this.size,variant:this.triggerButtonVariant,disabled:this.disabled},slot:"trigger",ref:"triggerButton",attrs:{id:this.triggerRandomId,"aria-label":this.menuName?null:this.ariaLabel,...this.config.triggerA11yAttr},on:{focus:this.onFocus,blur:this.onBlur,click:this.onClick,keydown:this.onTriggerKeydown}},[t("template",{slot:"icon"},[s]),this.menuName]),t("div",{class:{open:this.opened},attrs:{tabindex:"-1",...this.config.popoverContainerA11yAttrs},on:{keydown:this.onKeydown},ref:"menu"},[t("ul",{attrs:{tabindex:"-1",...this.config.popoverUlA11yAttrs},ref:"menuList"},[l])])])};return e.length===1&&n.length===1&&!this.forceMenu?i(e[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.resizePopover(),(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction())}),o.length>0&&this.inline>0?t("div",{class:["action-items",`action-item--${this.triggerButtonVariant}`]},[...o.map(i),r.length>0?t("div",{class:["action-item",{"action-item--open":this.opened}]},[a(r)]):null]):t("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerButtonVariant}`,{"action-item--open":this.opened}]},[a(e)]))}},F0=null,B0=null;var z0=Y(M0,F0,B0,!1,null,"38a26e61");const j0=z0.exports;var H0="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",V0="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";const U0={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}};function G0(t,e){let n=t.$parent;for(;n;){if(n.$options.name===e)return n;n=n.$parent}}const W0={mixins:[U0],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch{return!1}}},methods:{onClick(t){if(this.$emit("click",t),this.closeAfterClick){const e=G0(this,"NcActions");e&&e.closeMenu&&e.closeMenu(!1)}}}},q0={name:"NcActionButton",components:{NcIconSvgWrapper:tu},mixins:[W0],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},setup(){return{mdiCheck:H0,mdiChevronRight:V0}},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 t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(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))}}};var K0=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({staticClass:"action-button button-vue",class:{"action-button--active":t.isChecked,focusable:t.isFocusable},attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e("span",{staticClass:"action-button__longtext-wrapper"},[t.name?e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]):t._e(),t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(" "+t._s(t.text)+" ")]),t.description?e("span",{staticClass:"action-button__description",domProps:{textContent:t._s(t.description)}}):t._e()]),t.isMenu?e("NcIconSvgWrapper",{staticClass:"action-button__menu-icon",attrs:{directional:"",path:t.mdiChevronRight}}):t.isChecked?e("NcIconSvgWrapper",{staticClass:"action-button__pressed-icon",attrs:{path:t.mdiCheck}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},X0=[],Y0=Y(q0,K0,X0,!1,null,"ab2ff78b");const Z0=Y0.exports,J0={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Q0=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon plus-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},tb=[],eb=Be(J0,Q0,tb,!1,null);const nb=eb.exports,ob={name:"ShieldCheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var rb=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon shield-check-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},ib=[],ab=Be(ob,rb,ib,!1,null);const sb=ab.exports,lb={__name:"AddPolicyButton",props:{policies:null},emits:["add-policy"],setup(t){const e=t,n=["account","sharing"],o=$t(()=>n.filter(r=>!(r in e.policies)));return{__sfc:!0,props:e,allPasswordContexts:n,unusedPasswordContexts:o,t:Ht,PolicyHeadings:Uc,NcActions:j0,NcActionButton:Z0,IconPlus:nb,IconShieldCheck:sb}}},cb="_container_10xyb_2",ub={container:cb};var db=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("div",{class:t.$style.container},[e(n.NcActions,{attrs:{"menu-name":n.t("password_policy","Add policy set"),"force-menu":""},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconPlus,{attrs:{size:20}})]},proxy:!0}])},t._l(n.unusedPasswordContexts,function(o){return e(n.NcActionButton,{key:o,attrs:{"close-after-click":""},on:{click:function(r){return t.$emit("add-policy",o)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconShieldCheck,{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v(" "+t._s(n.PolicyHeadings[o])+" ")])}),1)],1)},pb=[];const Ll={$style:ub};function fb(t){for(var e in Ll)this[e]=Ll[e]}var hb=Be(lb,db,pb,!1,fb);const mb=hb.exports,vb={__name:"AdminSettings",setup(t){const e=Ur(vh().password_policy.policies),n=$t(()=>Object.keys(e.value));function o(a,l){console.debug(`Update password policy ${a}`,l);for(const[s,c]of Object.entries(l))if(c!==e.value[a]?.[s]){const u=typeof c=="boolean"?c?"1":"0":String(c);window.OCP.AppConfig.setValue("password_policy",a==="account"?s:`${s}_${a}`,u)}U.set(e.value,a,l)}function r(a){if(a in e.value){console.warn(`Password context "${a}" already registered`);return}const l=[...Object.keys(e.value),a];window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(l)),U.set(e.value,a,{...Zh})}function i(a){console.debug(`Remove password policy ${a}`);const l=Object.keys(e.value).filter(s=>s!==a);window.OCP.AppConfig.setValue("password_policy","passwordContexts",JSON.stringify(l)),U.delete(e.value,a)}return{__sfc:!0,policies:e,configuredPolicies:n,onUpdatePolicy:o,onAddPolicy:r,onRemovePolicy:i,t:Ht,PolicyHeadings:Uc,NcSettingsSection:mm,PasswordPolicy:Tg,ComplianceConfig:s_,AddPolicyButton:mb}}},gb="_policyWrapper_18ut1_2",_b={policyWrapper:gb};var yb=function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e(n.NcSettingsSection,{attrs:{name:n.t("password_policy","Password policy")}},[e(n.ComplianceConfig),e("div",{class:t.$style.policyWrapper},[t._l(n.configuredPolicies,function(o){return e(n.PasswordPolicy,{key:o,attrs:{"can-remove":o!=="account",heading:n.configuredPolicies.length===1?n.t("password_policy","General password policies"):n.PolicyHeadings[o],"model-value":n.policies[o]},on:{"update:modelValue":function(r){return n.onUpdatePolicy(o,r)},remove:function(r){return n.onRemovePolicy(o)}}})}),n.configuredPolicies.lengtht(Eb)}); //# sourceMappingURL=password_policy-settings.mjs.map diff --git a/js/password_policy-settings.mjs.license b/js/password_policy-settings.mjs.license index 0cda04a6..20e298f1 100644 --- a/js/password_policy-settings.mjs.license +++ b/js/password_policy-settings.mjs.license @@ -1,6 +1,7 @@ SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0) SPDX-License-Identifier: AGPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later +SPDX-License-Identifier: ISC SPDX-License-Identifier: MIT SPDX-FileCopyrightText: Anthony Fu SPDX-FileCopyrightText: Anthony Fu @@ -9,10 +10,10 @@ SPDX-FileCopyrightText: David Clark SPDX-FileCopyrightText: David Myers SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 (https://cure53.de/) SPDX-FileCopyrightText: Evan You +SPDX-FileCopyrightText: GitHub Inc. SPDX-FileCopyrightText: Guillaume Chau SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors SPDX-FileCopyrightText: Rob Cresswell -SPDX-FileCopyrightText: Roeland Jago Douma SPDX-FileCopyrightText: atomiks SPDX-FileCopyrightText: escape-html developers @@ -23,8 +24,17 @@ This file is generated from multiple sources. Included packages: - @floating-ui/dom - version: 0.1.10 - license: MIT +- @nextcloud/auth + - version: 2.6.0 + - license: GPL-3.0-or-later +- @nextcloud/browser-storage + - version: 0.5.0 + - license: GPL-3.0-or-later - @nextcloud/capabilities - - version: 1.2.0 + - version: 1.2.1 + - license: GPL-3.0-or-later +- @nextcloud/event-bus + - version: 3.3.3 - license: GPL-3.0-or-later - @nextcloud/initial-state - version: 2.2.0 @@ -35,20 +45,20 @@ This file is generated from multiple sources. Included packages: - @nextcloud/l10n - version: 3.4.1 - license: GPL-3.0-or-later +- @nextcloud/logger + - version: 3.0.3 + - license: GPL-3.0-or-later - @nextcloud/vue - - version: 8.29.1 + - version: 8.39.0 - license: AGPL-3.0-or-later - @vitejs/plugin-vue2 - version: 2.3.4 - license: MIT -- @vueuse/core - - version: 11.0.3 - - license: MIT - @vueuse/shared - version: 11.0.3 - license: MIT - dompurify - - version: 3.4.0 + - version: 3.4.5 - license: (MPL-2.0 OR Apache-2.0) - escape-html - version: 1.0.3 @@ -57,13 +67,16 @@ This file is generated from multiple sources. Included packages: - version: 1.0.0-beta.19 - license: MIT - focus-trap - - version: 7.5.4 + - version: 7.8.0 - license: MIT - password_policy - version: 7.0.0-dev.0 - license: AGPL-3.0-or-later +- semver + - version: 7.8.1 + - license: ISC - tabbable - - version: 6.2.0 + - version: 6.4.0 - license: MIT - vite - version: 7.3.2 diff --git a/js/password_policy-settings.mjs.map b/js/password_policy-settings.mjs.map index 6bf432b1..a50ed5de 100644 --- a/js/password_policy-settings.mjs.map +++ b/js/password_policy-settings.mjs.map @@ -1 +1 @@ -{"version":3,"file":"password_policy-settings.mjs","sources":["../node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js","../node_modules/vue/dist/vue.runtime.esm.js","../node_modules/@nextcloud/capabilities/node_modules/@nextcloud/initial-state/dist/index.mjs","../node_modules/@nextcloud/capabilities/dist/index.mjs","../node_modules/dompurify/dist/purify.es.mjs","../node_modules/escape-html/index.js","../node_modules/@nextcloud/l10n/dist/chunks/translation-DoG5ZELJ.mjs","../src/constants.ts","../node_modules/@nextcloud/vue/node_modules/@nextcloud/initial-state/dist/index.mjs","../node_modules/@nextcloud/l10n/dist/gettext.mjs","../node_modules/@nextcloud/vue/dist/chunks/_l10n-BU8-kQzN.mjs","../node_modules/@nextcloud/vue/dist/chunks/_plugin-vue2_normalizer-DU4iP6Vu.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcSettingsSection-DK0dtGcw.mjs","../node_modules/@nextcloud/vue/dist/chunks/legacy-MK4GvP26.mjs","../node_modules/@nextcloud/vue/dist/Components/NcButton.mjs","../node_modules/@nextcloud/vue/dist/chunks/GenRandomId-CMooMQt0.mjs","../node_modules/@nextcloud/vue/dist/Components/NcLoadingIcon.mjs","../node_modules/@nextcloud/vue/dist/chunks/useModelMigration-EhAWvqDD.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcCheckboxRadioSwitch-BJg75WBj.mjs","../node_modules/@nextcloud/vue/dist/chunks/AlertCircleOutline-DBxbepLy.mjs","../node_modules/@nextcloud/vue/dist/chunks/Check-BkThHPH7.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcInputField-ixOGmIZ8.mjs","../node_modules/vue-material-design-icons/TrashCan.vue","../src/components/PasswordPolicy.vue","../node_modules/@nextcloud/initial-state/dist/index.js","../node_modules/@nextcloud/vue/dist/Components/NcNoteCard.mjs","../src/components/ComplianceConfig.vue","../node_modules/floating-vue/node_modules/@floating-ui/core/dist/floating-ui.core.esm.js","../node_modules/floating-vue/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js","../node_modules/floating-vue/dist/floating-vue.es.js","../node_modules/tabbable/dist/index.esm.js","../node_modules/focus-trap/dist/focus-trap.esm.js","../node_modules/@nextcloud/vue/dist/chunks/focusTrap-HJQ4pqHV.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcPopover-4-YxCZOD.mjs","../node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/shared/index.mjs","../node_modules/@vueuse/core/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/core/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/useTrapStackControl-yqM2SDEs.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcActions-BANvgaMn.mjs","../node_modules/@nextcloud/vue/dist/chunks/mdi-vLkDaZ9y.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionGlobal-DqVa7c7G.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionText-fFcUPi2g.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcIconSvgWrapper-Cb-cPj1R.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcActionButton-CHrE7amZ.mjs","../node_modules/vue-material-design-icons/Plus.vue","../node_modules/vue-material-design-icons/ShieldCheck.vue","../src/components/AddPolicyButton.vue","../src/AdminSettings.vue","../src/settings.ts"],"sourcesContent":["const global = globalThis || void 0 || self;\n\nexport { global as default, global };\n//# sourceMappingURL=index.js.map\n","/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, replacer, 2)\n : String(val);\n}\nfunction replacer(_key, val) {\n // avoid circular deps from v3\n if (val && val.__v_isRef) {\n return val.value;\n }\n return val;\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (process.env.NODE_ENV !== 'production' && info) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock, observeEvenIfShallow) {\n if (observeEvenIfShallow === void 0) { observeEvenIfShallow = false; }\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = shallow ? val && val.__ob__ : observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = shallow ? newVal && newVal.__ob__ : observe(newVal, false, mock);\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (process.env.NODE_ENV !== 'production' && !ob) {\n if (target == null || isPrimitive(target)) {\n warn(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\n warn(\"received object is not a triggerable ref.\");\n }\n if (process.env.NODE_ENV !== 'production') {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\n warn(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (process.env.NODE_ENV !== 'production' && !Object.isExtensible(target)) {\n warn(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = process.env.NODE_ENV !== 'production'\n ? function () {\n warn('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\n \"supports `watch(source, cb, options?) signature.\");\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\n if (process.env.NODE_ENV !== 'production' && !cb) {\n if (immediate !== undefined) {\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n if (deep !== undefined) {\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n }\n var warnInvalidSource = function (s) {\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\n \"function, a ref, a reactive object, or an array of these types.\");\n };\n var instance = currentInstance;\n var call = function (fn, type, args) {\n if (args === void 0) { args = null; }\n var res = invokeWithErrorHandling(fn, null, args, instance, type);\n if (deep && res && res.__ob__)\n res.__ob__.dep.depend();\n return res;\n };\n var getter;\n var forceTrigger = false;\n var isMultiSource = false;\n if (isRef(source)) {\n getter = function () { return source.value; };\n forceTrigger = isShallow(source);\n }\n else if (isReactive(source)) {\n getter = function () {\n source.__ob__.dep.depend();\n return source;\n };\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\n getter = function () {\n return source.map(function (s) {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n s.__ob__.dep.depend();\n return traverse(s);\n }\n else if (isFunction(s)) {\n return call(s, WATCHER_GETTER);\n }\n else {\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\n }\n });\n };\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = function () { return call(source, WATCHER_GETTER); };\n }\n else {\n // no cb -> simple effect\n getter = function () {\n if (instance && instance._isDestroyed) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return call(source, WATCHER, [onCleanup]);\n };\n }\n }\n else {\n getter = noop;\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\n }\n if (cb && deep) {\n var baseGetter_1 = getter;\n getter = function () { return traverse(baseGetter_1()); };\n }\n var cleanup;\n var onCleanup = function (fn) {\n cleanup = watcher.onStop = function () {\n call(fn, WATCHER_CLEANUP);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isServerRendering()) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = noop;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n call(cb, WATCHER_CB, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return noop;\n }\n var watcher = new Watcher(currentInstance, getter, noop, {\n lazy: true\n });\n watcher.noRecurse = !cb;\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n // overwrite default run\n watcher.run = function () {\n if (!watcher.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n var newValue = watcher.get();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some(function (v, i) {\n return hasChanged(v, oldValue[i]);\n })\n : hasChanged(newValue, oldValue))) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n call(cb, WATCHER_CB, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n watcher.get();\n }\n };\n if (flush === 'sync') {\n watcher.update = watcher.run;\n }\n else if (flush === 'post') {\n watcher.post = true;\n watcher.update = function () { return queueWatcher(watcher); };\n }\n else {\n // pre\n watcher.update = function () {\n if (instance && instance === currentInstance && !instance._isMounted) {\n // pre-watcher triggered before\n var buffer = instance._preWatchers || (instance._preWatchers = []);\n if (buffer.indexOf(watcher) < 0)\n buffer.push(watcher);\n }\n else {\n queueWatcher(watcher);\n }\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n watcher.onTrack = onTrack;\n watcher.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n watcher.run();\n }\n else {\n oldValue = watcher.get();\n }\n }\n else if (flush === 'post' && instance) {\n instance.$once('hook:mounted', function () { return watcher.get(); });\n }\n else {\n watcher.get();\n }\n return function () {\n watcher.teardown();\n };\n}\n\nvar activeEffectScope;\nvar EffectScope = /** @class */ (function () {\n function EffectScope(detached) {\n if (detached === void 0) { detached = false; }\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n EffectScope.prototype.run = function (fn) {\n if (this.active) {\n var currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"cannot run an inactive effect scope.\");\n }\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.on = function () {\n activeEffectScope = this;\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.off = function () {\n activeEffectScope = this.parent;\n };\n EffectScope.prototype.stop = function (fromParent) {\n if (this.active) {\n var i = void 0, l = void 0;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].teardown();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n var last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n };\n return EffectScope;\n}());\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n if (scope === void 0) { scope = activeEffectScope; }\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\n \" to be associated with.\");\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"provide() can only be used inside setup().\");\n }\n }\n else {\n // TS doesn't allow symbol as index type\n resolveProvided(currentInstance)[key] = value;\n }\n}\nfunction resolveProvided(vm) {\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n var existing = vm._provided;\n var parentProvides = vm.$parent && vm.$parent._provided;\n if (parentProvides === existing) {\n return (vm._provided = Object.create(parentProvides));\n }\n else {\n return existing;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n var instance = currentInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n var provides = instance.$parent && instance.$parent._provided;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance)\n : defaultValue;\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"inject() can only be used inside setup() or functional components.\");\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.