mirror of
https://github.com/nextcloud/server.git
synced 2026-10-28 15:15:54 +01:00
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 lines
54 KiB
JavaScript
2 lines
54 KiB
JavaScript
"use strict";(globalThis.webpackChunknextcloud_ui_legacy||=[]).push([[162],{56436(t,e,i){var n=i(71354),o=i.n(n),a=i(76314),r=i.n(a)()(o());r.push([t.id,"/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-5ca1e30f] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.checkbox-content[data-v-5ca1e30f] {\n display: flex;\n align-items: center;\n flex-direction: row;\n gap: var(--default-grid-baseline);\n user-select: none;\n min-height: var(--default-clickable-area);\n border-radius: var(--checkbox-radio-switch--border-radius);\n padding: var(--default-grid-baseline) calc((var(--default-clickable-area) - var(--icon-height)) / 2);\n width: 100%;\n max-width: fit-content;\n}\n.checkbox-content__wrapper[data-v-5ca1e30f] {\n flex: 1 0 0;\n max-width: 100%;\n}\n.checkbox-content__text[data-v-5ca1e30f]:empty {\n display: none;\n}\n.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-5ca1e30f], .checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-5ca1e30f], .checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-5ca1e30f] {\n margin-block: calc((var(--default-clickable-area) - 2 * var(--default-grid-baseline) - var(--icon-height)) / 2) auto;\n line-height: 0;\n}\n.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-5ca1e30f], .checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-5ca1e30f], .checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-5ca1e30f] {\n display: flex;\n align-items: center;\n margin-block-end: 0;\n align-self: start;\n}\n.checkbox-content__icon[data-v-5ca1e30f] > * {\n width: var(--icon-size);\n height: var(--icon-height);\n color: var(--color-primary-element);\n}\n.checkbox-content__description[data-v-5ca1e30f] {\n display: block;\n color: var(--color-text-maxcontrast);\n font-weight: var(--font-weight-default, normal);\n}\n.checkbox-content--button-variant .checkbox-content__icon[data-v-5ca1e30f]:not(.checkbox-content__icon--checked) > * {\n color: var(--color-primary-element);\n}\n.checkbox-content--button-variant .checkbox-content__icon--checked[data-v-5ca1e30f] > * {\n color: var(--color-primary-element-text);\n}\n.checkbox-content--has-text[data-v-5ca1e30f] {\n padding-inline-end: calc((var(--default-clickable-area) - 16px) / 2);\n}\n.checkbox-content[data-v-5ca1e30f], .checkbox-content[data-v-5ca1e30f] * {\n cursor: pointer;\n flex-shrink: 0;\n}/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-81045d2a] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.checkbox-radio-switch[data-v-81045d2a] {\n --icon-size: var(--f99d0228);\n --icon-height: var(--v69c82152);\n --checkbox-radio-switch--border-radius: var(--border-radius-element);\n --checkbox-radio-switch--border-radius-outer: calc(var(--checkbox-radio-switch--border-radius) + 2px);\n display: flex;\n align-items: center;\n color: var(--color-main-text);\n background-color: transparent;\n font-size: var(--default-font-size);\n font-weight: var(--font-weight-element, normal);\n line-height: var(--default-line-height);\n padding: 0;\n position: relative;\n}\n.checkbox-radio-switch__input[data-v-81045d2a] {\n position: absolute;\n z-index: -1;\n opacity: 0 !important;\n width: var(--icon-size);\n height: var(--icon-size);\n}\n.checkbox-radio-switch__input:focus-visible + .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch__input[data-v-81045d2a]:focus-visible {\n outline: 2px solid var(--color-main-text);\n border-color: var(--color-main-background);\n outline-offset: -2px;\n}\n.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-81045d2a] {\n opacity: 0.5;\n}\n.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-81045d2a] .checkbox-radio-switch__icon > * {\n color: var(--color-main-text);\n}\n.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-81045d2a], .checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-81045d2a] *:not(a) {\n cursor: default !important;\n}\n.checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-81045d2a]:hover {\n background-color: var(--color-background-hover);\n}\n.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-81045d2a]:hover {\n background-color: var(--color-primary-element-hover);\n}\n.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-81045d2a]:hover {\n background-color: var(--color-primary-element-light-hover);\n}\n.checkbox-radio-switch-switch[data-v-81045d2a]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {\n color: var(--color-text-maxcontrast);\n}\n.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-81045d2a] .checkbox-radio-switch__icon > * {\n color: var(--color-primary-element-light);\n}\n.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-81045d2a] {\n background-color: var(--color-main-background);\n border: 2px solid var(--color-border-maxcontrast);\n overflow: hidden;\n}\n.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-81045d2a] {\n font-weight: var(--font-weight-element, bold);\n}\n.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-81045d2a] {\n background-color: var(--color-primary-element);\n color: var(--color-primary-element-text);\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a] .checkbox-radio-switch__text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {\n color: var(--color-main-text);\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a] .checkbox-radio-switch__icon:empty {\n display: none;\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a]: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-81045d2a] {\n border-radius: var(--checkbox-radio-switch--border-radius);\n}\n.checkbox-radio-switch[data-v-81045d2a] {\n /* Special rules for vertical button groups */\n}\n.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-81045d2a] {\n flex-basis: 100%;\n max-width: unset;\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:first-of-type {\n border-start-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-start-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:last-of-type {\n border-end-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-end-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:not(:last-of-type) {\n border-bottom: 0 !important;\n}\n.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-81045d2a] {\n margin-bottom: 2px;\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:not(:first-of-type) {\n border-top: 0 !important;\n}\n.checkbox-radio-switch[data-v-81045d2a] {\n /* Special rules for horizontal button groups */\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:first-of-type {\n border-start-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-end-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:last-of-type {\n border-start-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-end-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:not(:last-of-type) {\n border-inline-end: 0 !important;\n}\n.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-81045d2a] {\n margin-inline-end: 2px;\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:not(:first-of-type) {\n border-inline-start: 0 !important;\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a] .checkbox-radio-switch__text {\n text-align: center;\n display: flex;\n align-items: center;\n}\n.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-81045d2a] {\n flex-direction: column;\n justify-content: center;\n width: 100%;\n margin: 0;\n gap: 0;\n}","",{version:3,sources:["webpack://./../../node_modules/@nextcloud/vue/dist/assets/NcCheckboxRadioSwitch.css"],names:[],mappings:"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,iCAAiC;EACjC,iBAAiB;EACjB,yCAAyC;EACzC,0DAA0D;EAC1D,oGAAoG;EACpG,WAAW;EACX,sBAAsB;AACxB;AACA;EACE,WAAW;EACX,eAAe;AACjB;AACA;EACE,aAAa;AACf;AACA;EACE,oHAAoH;EACpH,cAAc;AAChB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,iBAAiB;AACnB;AACA;EACE,uBAAuB;EACvB,0BAA0B;EAC1B,mCAAmC;AACrC;AACA;EACE,cAAc;EACd,oCAAoC;EACpC,+CAA+C;AACjD;AACA;EACE,mCAAmC;AACrC;AACA;EACE,wCAAwC;AAC1C;AACA;EACE,oEAAoE;AACtE;AACA;EACE,eAAe;EACf,cAAc;AAChB,CAAC;;;EAGC;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,4BAA4B;EAC5B,+BAA+B;EAC/B,oEAAoE;EACpE,qGAAqG;EACrG,aAAa;EACb,mBAAmB;EACnB,6BAA6B;EAC7B,6BAA6B;EAC7B,mCAAmC;EACnC,+CAA+C;EAC/C,uCAAuC;EACvC,UAAU;EACV,kBAAkB;AACpB;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,qBAAqB;EACrB,uBAAuB;EACvB,wBAAwB;AAC1B;AACA;EACE,yCAAyC;EACzC,0CAA0C;EAC1C,oBAAoB;AACtB;AACA;EACE,YAAY;AACd;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,+CAA+C;AACjD;AACA;EACE,oDAAoD;AACtD;AACA;EACE,0DAA0D;AAC5D;AACA;EACE,oCAAoC;AACtC;AACA;EACE,yCAAyC;AAC3C;AACA;EACE,8CAA8C;EAC9C,iDAAiD;EACjD,gBAAgB;AAClB;AACA;EACE,6CAA6C;AAC/C;AACA;EACE,8CAA8C;EAC9C,wCAAwC;AAC1C;AACA;EACE,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;AACb;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,aAAa;AACf;AACA;EACE,0DAA0D;AAC5D;AACA;EACE,6CAA6C;AAC/C;AACA;EACE,gBAAgB;EAChB,gBAAgB;AAClB;AACA;EACE,4EAA4E;EAC5E,0EAA0E;AAC5E;AACA;EACE,0EAA0E;EAC1E,wEAAwE;AAC1E;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,kBAAkB;AACpB;AACA;EACE,wBAAwB;AAC1B;AACA;EACE,+CAA+C;AACjD;AACA;EACE,4EAA4E;EAC5E,0EAA0E;AAC5E;AACA;EACE,0EAA0E;EAC1E,wEAAwE;AAC1E;AACA;EACE,+BAA+B;AACjC;AACA;EACE,sBAAsB;AACxB;AACA;EACE,iCAAiC;AACnC;AACA;EACE,kBAAkB;EAClB,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,sBAAsB;EACtB,uBAAuB;EACvB,WAAW;EACX,SAAS;EACT,MAAM;AACR",sourcesContent:["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-5ca1e30f] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.checkbox-content[data-v-5ca1e30f] {\n display: flex;\n align-items: center;\n flex-direction: row;\n gap: var(--default-grid-baseline);\n user-select: none;\n min-height: var(--default-clickable-area);\n border-radius: var(--checkbox-radio-switch--border-radius);\n padding: var(--default-grid-baseline) calc((var(--default-clickable-area) - var(--icon-height)) / 2);\n width: 100%;\n max-width: fit-content;\n}\n.checkbox-content__wrapper[data-v-5ca1e30f] {\n flex: 1 0 0;\n max-width: 100%;\n}\n.checkbox-content__text[data-v-5ca1e30f]:empty {\n display: none;\n}\n.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-5ca1e30f], .checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-5ca1e30f], .checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon[data-v-5ca1e30f] {\n margin-block: calc((var(--default-clickable-area) - 2 * var(--default-grid-baseline) - var(--icon-height)) / 2) auto;\n line-height: 0;\n}\n.checkbox-content-checkbox:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-5ca1e30f], .checkbox-content-radio:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-5ca1e30f], .checkbox-content-switch:not(.checkbox-content--button-variant) .checkbox-content__icon--has-description[data-v-5ca1e30f] {\n display: flex;\n align-items: center;\n margin-block-end: 0;\n align-self: start;\n}\n.checkbox-content__icon[data-v-5ca1e30f] > * {\n width: var(--icon-size);\n height: var(--icon-height);\n color: var(--color-primary-element);\n}\n.checkbox-content__description[data-v-5ca1e30f] {\n display: block;\n color: var(--color-text-maxcontrast);\n font-weight: var(--font-weight-default, normal);\n}\n.checkbox-content--button-variant .checkbox-content__icon[data-v-5ca1e30f]:not(.checkbox-content__icon--checked) > * {\n color: var(--color-primary-element);\n}\n.checkbox-content--button-variant .checkbox-content__icon--checked[data-v-5ca1e30f] > * {\n color: var(--color-primary-element-text);\n}\n.checkbox-content--has-text[data-v-5ca1e30f] {\n padding-inline-end: calc((var(--default-clickable-area) - 16px) / 2);\n}\n.checkbox-content[data-v-5ca1e30f], .checkbox-content[data-v-5ca1e30f] * {\n cursor: pointer;\n flex-shrink: 0;\n}/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon[data-v-81045d2a] {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n.checkbox-radio-switch[data-v-81045d2a] {\n --icon-size: var(--f99d0228);\n --icon-height: var(--v69c82152);\n --checkbox-radio-switch--border-radius: var(--border-radius-element);\n --checkbox-radio-switch--border-radius-outer: calc(var(--checkbox-radio-switch--border-radius) + 2px);\n display: flex;\n align-items: center;\n color: var(--color-main-text);\n background-color: transparent;\n font-size: var(--default-font-size);\n font-weight: var(--font-weight-element, normal);\n line-height: var(--default-line-height);\n padding: 0;\n position: relative;\n}\n.checkbox-radio-switch__input[data-v-81045d2a] {\n position: absolute;\n z-index: -1;\n opacity: 0 !important;\n width: var(--icon-size);\n height: var(--icon-size);\n}\n.checkbox-radio-switch__input:focus-visible + .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch__input[data-v-81045d2a]:focus-visible {\n outline: 2px solid var(--color-main-text);\n border-color: var(--color-main-background);\n outline-offset: -2px;\n}\n.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-81045d2a] {\n opacity: 0.5;\n}\n.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-81045d2a] .checkbox-radio-switch__icon > * {\n color: var(--color-main-text);\n}\n.checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-81045d2a], .checkbox-radio-switch--disabled .checkbox-radio-switch__content.checkbox-content[data-v-81045d2a] *:not(a) {\n cursor: default !important;\n}\n.checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-81045d2a]:hover {\n background-color: var(--color-background-hover);\n}\n.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-81045d2a]:hover {\n background-color: var(--color-primary-element-hover);\n}\n.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-81045d2a], .checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-81045d2a]:hover {\n background-color: var(--color-primary-element-light-hover);\n}\n.checkbox-radio-switch-switch[data-v-81045d2a]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {\n color: var(--color-text-maxcontrast);\n}\n.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-81045d2a] .checkbox-radio-switch__icon > * {\n color: var(--color-primary-element-light);\n}\n.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-81045d2a] {\n background-color: var(--color-main-background);\n border: 2px solid var(--color-border-maxcontrast);\n overflow: hidden;\n}\n.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-81045d2a] {\n font-weight: var(--font-weight-element, bold);\n}\n.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-81045d2a] {\n background-color: var(--color-primary-element);\n color: var(--color-primary-element-text);\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a] .checkbox-radio-switch__text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {\n color: var(--color-main-text);\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a] .checkbox-radio-switch__icon:empty {\n display: none;\n}\n.checkbox-radio-switch--button-variant[data-v-81045d2a]: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-81045d2a] {\n border-radius: var(--checkbox-radio-switch--border-radius);\n}\n.checkbox-radio-switch[data-v-81045d2a] {\n /* Special rules for vertical button groups */\n}\n.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-81045d2a] {\n flex-basis: 100%;\n max-width: unset;\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:first-of-type {\n border-start-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-start-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:last-of-type {\n border-end-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-end-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:not(:last-of-type) {\n border-bottom: 0 !important;\n}\n.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-81045d2a] {\n margin-bottom: 2px;\n}\n.checkbox-radio-switch--button-variant-v-grouped[data-v-81045d2a]:not(:first-of-type) {\n border-top: 0 !important;\n}\n.checkbox-radio-switch[data-v-81045d2a] {\n /* Special rules for horizontal button groups */\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:first-of-type {\n border-start-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-end-start-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:last-of-type {\n border-start-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n border-end-end-radius: var(--checkbox-radio-switch--border-radius-outer);\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:not(:last-of-type) {\n border-inline-end: 0 !important;\n}\n.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-81045d2a] {\n margin-inline-end: 2px;\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a]:not(:first-of-type) {\n border-inline-start: 0 !important;\n}\n.checkbox-radio-switch--button-variant-h-grouped[data-v-81045d2a] .checkbox-radio-switch__text {\n text-align: center;\n display: flex;\n align-items: center;\n}\n.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-81045d2a] {\n flex-direction: column;\n justify-content: center;\n width: 100%;\n margin: 0;\n gap: 0;\n}"],sourceRoot:""}]);const c=r;i.d(e,["A",0,c])},40761(t,e,i){var n=i(71354),o=i.n(n),a=i(76314),r=i.n(a)()(o());r.push([t.id,"/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n._material-design-icon_zYnoU {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n._iconToggleSwitch_hhj0H {\n color: var(--v6bd152af);\n transition: color var(--animation-quick) ease;\n}\n._iconToggleSwitch_hhj0H svg {\n /* Unlike other icons, this icon is not a square */\n height: auto !important;\n}\n._iconToggleSwitch_hhj0H circle {\n cx: var(--v16fd8ca9);\n transition: cx var(--animation-quick) ease;\n}","",{version:3,sources:["webpack://./../../node_modules/@nextcloud/vue/dist/assets/NcIconToggleSwitch.css"],names:[],mappings:"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,uBAAuB;EACvB,6CAA6C;AAC/C;AACA;EACE,kDAAkD;EAClD,uBAAuB;AACzB;AACA;EACE,oBAAoB;EACpB,0CAA0C;AAC5C",sourcesContent:["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n* Ensure proper alignment of the vue material icons\n*/\n._material-design-icon_zYnoU {\n display: flex;\n align-self: center;\n justify-self: center;\n align-items: center;\n justify-content: center;\n}\n._iconToggleSwitch_hhj0H {\n color: var(--v6bd152af);\n transition: color var(--animation-quick) ease;\n}\n._iconToggleSwitch_hhj0H svg {\n /* Unlike other icons, this icon is not a square */\n height: auto !important;\n}\n._iconToggleSwitch_hhj0H circle {\n cx: var(--v16fd8ca9);\n transition: cx var(--animation-quick) ease;\n}"],sourceRoot:""}]);const c=r;i.d(e,["A",0,c])},13027(t,e,i){i.d(e,{g:()=>ft,u:()=>kt});var n=i.cw(function(t,e){var i=Object.prototype.hasOwnProperty,n="~";function o(){}function a(t,e,i){this.fn=t,this.context=e,this.once=i||!1}function r(t,e,i,o,r){if("function"!=typeof i)throw new TypeError("The listener must be a function");var c=new a(i,o||t,r),s=n?n+e:e;return t._events[s]?t._events[s].fn?t._events[s]=[t._events[s],c]:t._events[s].push(c):(t._events[s]=c,t._eventsCount++),t}function c(t,e){0===--t._eventsCount?t._events=new o:delete t._events[e]}function s(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),s.prototype.eventNames=function(){var t,e,o=[];if(0===this._eventsCount)return o;for(e in t=this._events)i.call(t,e)&&o.push(n?e.slice(1):e);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},s.prototype.listeners=function(t){var e=n?n+t:t,i=this._events[e];if(!i)return[];if(i.fn)return[i.fn];for(var o=0,a=i.length,r=new Array(a);o<a;o++)r[o]=i[o].fn;return r},s.prototype.listenerCount=function(t){var e=n?n+t:t,i=this._events[e];return i?i.fn?1:i.length:0},s.prototype.emit=function(t,e,i,o,a,r){var c=n?n+t:t;if(!this._events[c])return!1;var s,h,d=this._events[c],l=arguments.length;if(d.fn){switch(d.once&&this.removeListener(t,d.fn,void 0,!0),l){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,e),!0;case 3:return d.fn.call(d.context,e,i),!0;case 4:return d.fn.call(d.context,e,i,o),!0;case 5:return d.fn.call(d.context,e,i,o,a),!0;case 6:return d.fn.call(d.context,e,i,o,a,r),!0}for(h=1,s=new Array(l-1);h<l;h++)s[h-1]=arguments[h];d.fn.apply(d.context,s)}else{var u,b=d.length;for(h=0;h<b;h++)switch(d[h].once&&this.removeListener(t,d[h].fn,void 0,!0),l){case 1:d[h].fn.call(d[h].context);break;case 2:d[h].fn.call(d[h].context,e);break;case 3:d[h].fn.call(d[h].context,e,i);break;case 4:d[h].fn.call(d[h].context,e,i,o);break;default:if(!s)for(u=1,s=new Array(l-1);u<l;u++)s[u-1]=arguments[u];d[h].fn.apply(d[h].context,s)}}return!0},s.prototype.on=function(t,e,i){return r(this,t,e,i,!1)},s.prototype.once=function(t,e,i){return r(this,t,e,i,!0)},s.prototype.removeListener=function(t,e,i,o){var a=n?n+t:t;if(!this._events[a])return this;if(!e)return c(this,a),this;var r=this._events[a];if(r.fn)r.fn!==e||o&&!r.once||i&&r.context!==i||c(this,a);else{for(var s=0,h=[],d=r.length;s<d;s++)(r[s].fn!==e||o&&!r[s].once||i&&r[s].context!==i)&&h.push(r[s]);h.length?this._events[a]=1===h.length?h[0]:h:c(this,a)}return this},s.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,t.exports=s}),o=i(37429),a=i(77687),r=i(12416),c=i(32288);n();class s extends Error{constructor(t,e){var i,n,o;super(t,e),i=this,o="TimeoutError",(n=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(n="name"))in i?Object.defineProperty(i,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[n]=o,Error.captureStackTrace?.(this,s)}}const h=t=>t.reason??new DOMException("This operation was aborted.","AbortError");function d(t,e,i){l(t,e),e.set(t,i)}function l(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(t,e,i){return t.set(A(t,e),i),i}function b(t,e){return t.get(A(t,e))}function A(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,p=new WeakMap,f=new WeakSet;class k{constructor(){var t;l(this,t=f),t.add(this),d(this,v,[]),d(this,p,0)}enqueue(t,e){const{priority:i=0,id:n}=e??{},{size:o}=this,a={priority:i,id:n,run:t};if(0===o)return b(v,this).length=0,u(p,this,0),void b(v,this).push(a);if(b(v,this).at(-1).priority>=i)return void b(v,this).push(a);A(f,this,x).call(this);const r=function(t,e,i){let n=0,o=t.length;for(;o>0;){const a=Math.trunc(o/2);let r=n+a;i(t[r],e)<=0?(n=++r,o-=a+1):o=a}return n}(b(v,this),a,(t,e)=>e.priority-t.priority);b(v,this).splice(r,0,a)}setPriority(t,e){const i=b(v,this).findIndex((e,i)=>i>=b(p,this)&&e.id===t);if(-1===i)throw new ReferenceError(`No promise function with the id "${t}" exists in the queue.`);const[n]=b(v,this).splice(i,1);this.enqueue(n.run,{priority:e,id:t})}remove(t){const e=b(v,this).findIndex((e,i)=>!(i<b(p,this))&&("string"==typeof t?e.id===t:e.run===t));-1!==e&&b(v,this).splice(e,1)}dequeue(){var t;if(b(p,this)===b(v,this).length)return;const e=b(v,this)[b(p,this)];return u(p,this,(t=b(p,this),++t)),b(p,this)===b(v,this).length?(b(v,this).length=0,u(p,this,0)):b(p,this)>100&&b(p,this)>b(v,this).length/2&&A(f,this,x).call(this),e?.run}filter(t){const e=[];for(let i=b(p,this);i<b(v,this).length;i++){const n=b(v,this)[i];n.priority===t.priority&&e.push(n.run)}return e}get size(){return b(v,this).length-b(p,this)}}function x(){0!==b(p,this)&&(b(v,this).splice(0,b(p,this)),u(p,this,0))}function m(t,e,i){w(t,e),e.set(t,i)}function w(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function C(t,e,i){return i(E(t,e))}function g(t,e){return t.get(E(t,e))}function y(t,e,i){return t.set(E(t,e),i),i}function E(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var _=new WeakMap,B=new WeakMap,T=new WeakMap,S=new WeakMap,I=new WeakMap,z=new WeakMap,P=new WeakMap,L=new WeakMap,M=new WeakMap,N=new WeakMap,$=new WeakMap,D=new WeakMap,X=new WeakMap,W=new WeakMap,V=new WeakMap,j=new WeakMap,G=new WeakMap,H=new WeakMap,R=new WeakMap,F=new WeakMap,q=new WeakMap,O=new WeakSet;class U extends(n()){constructor(t){var e;if(super(),w(this,e=O),e.add(this),m(this,_,void 0),m(this,B,void 0),m(this,T,0),m(this,S,void 0),m(this,I,!1),m(this,z,!1),m(this,P,void 0),m(this,L,0),m(this,M,void 0),m(this,N,void 0),m(this,$,void 0),m(this,D,[]),m(this,X,0),m(this,W,void 0),m(this,V,void 0),m(this,j,0),m(this,G,void 0),m(this,H,void 0),m(this,R,1n),m(this,F,new Map),m(this,q,new Set),function(t,e,i){(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}(this,"timeout",void 0),!("number"==typeof(t={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:k,strict:!1,...t}).intervalCap&&t.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${t.intervalCap?.toString()??""}\` (${typeof t.intervalCap})`);if(void 0===t.interval||!(Number.isFinite(t.interval)&&t.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${t.interval?.toString()??""}\` (${typeof t.interval})`);if(t.strict&&0===t.interval)throw new TypeError("The `strict` option requires a non-zero `interval`");if(t.strict&&t.intervalCap===Number.POSITIVE_INFINITY)throw new TypeError("The `strict` option requires a finite `intervalCap`");if(y(_,this,t.carryoverIntervalCount??t.carryoverConcurrencyCount??!1),y(B,this,t.intervalCap===Number.POSITIVE_INFINITY||0===t.interval),y(S,this,t.intervalCap),y(P,this,t.interval),y($,this,t.strict),y(W,this,new t.queueClass),y(V,this,t.queueClass),this.concurrency=t.concurrency,void 0!==t.timeout&&!(Number.isFinite(t.timeout)&&t.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${t.timeout}\` (${typeof t.timeout})`);this.timeout=t.timeout,y(H,this,!1===t.autoStart),E(O,this,ut).call(this)}get concurrency(){return g(G,this)}set concurrency(t){if(!("number"==typeof t&&t>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${t}\` (${typeof t})`);y(G,this,t),E(O,this,dt).call(this)}setPriority(t,e){if("number"!=typeof e||!Number.isFinite(e))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${e}\` (${typeof e})`);g(W,this).setPriority(t,e)}async add(t,e={}){var i,n;if(void 0!==(e={timeout:this.timeout,...e,id:e.id??(y(R,this,(i=g(R,this),n=i++,i)),n).toString()}).timeout&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);return new Promise((i,n)=>{const o=Symbol(`task-${e.id}`);let a=()=>{};const r=async()=>{var r;let c;a(),y(j,this,(r=g(j,this),++r)),g(F,this).set(o,{id:e.id,priority:e.priority??0,startTime:Date.now(),timeout:e.timeout});try{try{e.signal?.throwIfAborted()}catch(t){throw E(O,this,At).call(this),g(F,this).delete(o),t}let n=t({signal:e.signal});if(void 0!==e.timeout&&(n=function(t,e){const{milliseconds:i,fallback:n,message:o,customTimers:a={setTimeout,clearTimeout},signal:r}=e;let c,d;const l=new Promise((e,l)=>{if("number"!=typeof i||1!==Math.sign(i))throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${i}\``);if(r?.aborted)return void l(h(r));if(r&&(d=()=>{l(h(r))},r.addEventListener("abort",d,{once:!0})),t.then(e,l),i===Number.POSITIVE_INFINITY)return;const u=new s;c=a.setTimeout.call(void 0,()=>{if(n)try{e(n())}catch(t){l(t)}else"function"==typeof t.cancel&&t.cancel(),!1===o?e():o instanceof Error?l(o):(u.message=o??`Promise timed out after ${i} milliseconds`,l(u))},i)}).finally(()=>{l.clear(),d&&r&&r.removeEventListener("abort",d)});return l.clear=()=>{a.clearTimeout.call(void 0,c),c=void 0},l}(Promise.resolve(n),{milliseconds:e.timeout,message:`Task timed out after ${e.timeout}ms (queue has ${g(j,this)} running, ${g(W,this).size} waiting)`})),e.signal){const{signal:t}=e;n=Promise.race([n,new Promise((e,i)=>{c=()=>{i(t.reason)},t.addEventListener("abort",c,{once:!0})})])}const a=await n;i(a),this.emit("completed",a)}catch(t){n(t),this.emit("error",t)}finally{c&&e.signal?.removeEventListener("abort",c),g(F,this).delete(o),queueMicrotask(()=>{E(O,this,et).call(this)})}};g(W,this).enqueue(r,e);const c=()=>{g(W,this)instanceof k?g(W,this).remove(r):g(W,this).remove?.(e.id)};if(e.signal){const{signal:t}=e,i=()=>{a(),c(),n(t.reason),E(O,this,ct).call(this),this.emit("next")};if(a=()=>{t.removeEventListener("abort",i),g(q,this).delete(a)},t.aborted)return void i();t.addEventListener("abort",i,{once:!0}),g(q,this).add(a)}this.emit("add"),E(O,this,ct).call(this)})}async addAll(t,e){return Promise.all(t.map(async t=>this.add(t,e)))}start(){return g(H,this)?(y(H,this,!1),E(O,this,dt).call(this),this):this}pause(){y(H,this,!0)}clear(){for(const t of g(q,this))t();y(W,this,new(g(V,this))),E(O,this,at).call(this),E(O,this,vt).call(this),this.emit("empty"),0===g(j,this)&&(E(O,this,rt).call(this),this.emit("idle")),this.emit("next")}async onEmpty(){0!==g(W,this).size&&await E(O,this,lt).call(this,"empty")}async onSizeLessThan(t){g(W,this).size<t||await E(O,this,lt).call(this,["next","active"],()=>g(W,this).size<t)}async onIdle(){0===g(j,this)&&0===g(W,this).size||await E(O,this,lt).call(this,"idle")}async onPendingZero(){0!==g(j,this)&&await E(O,this,lt).call(this,"pendingZero")}async onRateLimit(){this.isRateLimited||await E(O,this,lt).call(this,"rateLimit")}async onRateLimitCleared(){this.isRateLimited&&await E(O,this,lt).call(this,"rateLimitCleared")}onError(){return new Promise((t,e)=>{const i=t=>{this.off("error",i),e(t)};this.on("error",i)})}get size(){return g(W,this).size}sizeBy(t){return g(W,this).filter(t).length}get pending(){return g(j,this)}get isPaused(){return g(H,this)}get isRateLimited(){return g(I,this)}get isSaturated(){return g(j,this)===g(G,this)&&g(W,this).size>0||this.isRateLimited&&g(W,this).size>0}get runningTasks(){return[...g(F,this).values()].map(t=>({...t,timeoutRemaining:t.timeout?Math.max(0,t.startTime+t.timeout-Date.now()):void 0}))}}function Q(t){for(;g(X,this)<g(D,this).length;){const i=g(D,this)[g(X,this)];if(!(void 0!==i&&t-i>=g(P,this)))break;var e;y(X,this,(e=g(X,this),++e))}(g(X,this)>100&&g(X,this)>g(D,this).length/2||g(X,this)===g(D,this).length)&&(y(D,this,g(D,this).slice(g(X,this))),y(X,this,0))}function Y(t){var e;g($,this)?g(D,this).push(t):y(T,this,(e=g(T,this),++e))}function Z(){if(g($,this))g(D,this).length>g(X,this)&&g(D,this).pop();else if(g(T,this)>0){var t;y(T,this,(t=g(T,this),--t))}}function K(){return g(D,this).length-g(X,this)}function J(t){return!!g(B,t)||(g($,t)?E(O,t,K).call(t)<g(S,t):g(T,t)<g(S,t))}function tt(t){return g(j,t)<g(G,t)}function et(){var t;y(j,this,(t=g(j,this),--t)),0===g(j,this)&&this.emit("pendingZero"),E(O,this,ct).call(this),this.emit("next")}function it(){y(N,this,void 0),E(O,this,ht).call(this),E(O,this,st).call(this)}function nt(t){if(g($,this)){if(E(O,this,Q).call(this,t),E(O,this,K).call(this)>=g(S,this)){const e=g(D,this)[g(X,this)],i=g(P,this)-(t-e);return E(O,this,ot).call(this,i),!0}return!1}if(void 0===g(M,this)){const e=g(L,this)-t;if(!(e<0))return E(O,this,ot).call(this,e),!0;y(T,this,g(_,this)?g(j,this):0)}return!1}function ot(t){void 0===g(N,this)&&y(N,this,setTimeout(()=>{E(O,this,it).call(this)},t))}function at(){g(M,this)&&(clearInterval(g(M,this)),y(M,this,void 0))}function rt(){g(N,this)&&(clearTimeout(g(N,this)),y(N,this,void 0))}function ct(){if(0===g(W,this).size){if(E(O,this,at).call(this),this.emit("empty"),0===g(j,this)){if(E(O,this,rt).call(this),g($,this)&&g(X,this)>0){const t=Date.now();E(O,this,Q).call(this,t)}this.emit("idle")}return!1}let t=!1;if(!g(H,this)){const e=Date.now(),i=!E(O,this,nt).call(this,e);if(C(O,this,J)&&C(O,this,tt)){const n=g(W,this).dequeue();g(B,this)||(E(O,this,Y).call(this,e),E(O,this,bt).call(this)),i&&E(O,this,st).call(this),this.emit("active"),n(),t=!0}}return t}function st(){g(B,this)||void 0!==g(M,this)||g($,this)||(y(M,this,setInterval(()=>{E(O,this,ht).call(this)},g(P,this))),y(L,this,Date.now()+g(P,this)))}function ht(){g($,this)||(void 0!==g(M,this)&&(0===g(T,this)&&0===g(j,this)?E(O,this,at).call(this):y(L,this,Date.now()+g(P,this))),y(T,this,g(_,this)?g(j,this):0)),E(O,this,dt).call(this),E(O,this,bt).call(this)}function dt(){for(;E(O,this,ct).call(this););}async function lt(t,e){const i=Array.isArray(t)?t:[t];return new Promise(t=>{const n=()=>{if(!e||e()){for(const t of i)this.off(t,n);t()}};for(const t of i)this.on(t,n)})}function ut(){g(B,this)||(this.on("add",()=>{g(W,this).size>0&&E(O,this,bt).call(this)}),this.on("next",()=>{E(O,this,bt).call(this)}))}function bt(){g(B,this)||g(z,this)||(y(z,this,!0),queueMicrotask(()=>{y(z,this,!1),E(O,this,vt).call(this)}))}function At(){g(B,this)||(E(O,this,Z).call(this),E(O,this,bt).call(this))}function vt(){const t=g(I,this);if(g(B,this)||0===g(W,this).size)return void(t&&(y(I,this,!1),this.emit("rateLimitCleared")));let e;if(g($,this)){const t=Date.now();E(O,this,Q).call(this,t),e=E(O,this,K).call(this)}else e=g(T,this);const i=e>=g(S,this);i!==t&&(y(I,this,i),this.emit(i?"rateLimit":"rateLimitCleared"))}const pt=new U({concurrency:5});function ft(t,e={}){e={size:32,cropPreview:!1,mimeFallback:!0,...e};try{const i=t.attributes?.previewUrl||(0,a.Jv)("/core/preview?fileId={fileid}",{fileid:t.fileid});let n;try{n=new URL(i)}catch{n=new URL(i,window.location.origin)}return n.searchParams.set("x",`${e.size}`),n.searchParams.set("y",`${e.size}`),n.searchParams.set("mimeFallback",`${e.mimeFallback}`),n.searchParams.set("a",!0===e.cropPreview?"0":"1"),n.searchParams.set("c",`${t.attributes.etag}`),n}catch{return null}}function kt(t,e){const i=(0,r.KR)(null),n=(0,r.KR)(!1);return(0,c.nT)(()=>{n.value=!1,i.value=ft((0,r.BA)(t),(0,r.BA)(e||{})),i.value&&(0,r.BA)(t).type===o.pt.File&&function(t){const{resolve:e,promise:i}=Promise.withResolvers();return pt.add(()=>{const n=new Image;return n.onerror=()=>e(!1),n.onload=()=>e(!0),n.src=t,i}),i}(i.value.href).then(t=>{n.value=t})}),{previewURL:i,previewLoaded:n}}},42600(t,e,i){i.d(e,{A:()=>xt});var n=i(85072),o=i.n(n),a=i(97825),r=i.n(a),c=i(77659),s=i.n(c),h=i(55056),d=i.n(h),l=i(10540),u=i.n(l),b=i(41113),A=i.n(b),v=i(56436),p={};p.styleTagTransform=A(),p.setAttributes=d(),p.insert=s().bind(null,"head"),p.domAPI=r(),p.insertStyleElement=u(),o()(v.A,p),v.A&&v.A.locals&&v.A.locals;var f=i(32288),k=i(51784),x=i(72746),m=i(75290),w=i(40761),C={};C.styleTagTransform=A(),C.setAttributes=d(),C.insert=s().bind(null,"head"),C.domAPI=r(),C.insertStyleElement=u(),o()(w.A,C),w.A&&w.A.locals&&w.A.locals;var g=i(31617);const y=(0,f.pM)({__name:"NcIconToggleSwitch",props:{checked:{type:Boolean},size:{default:34},inline:{type:Boolean,default:!1}},setup(t){(0,x.$9)(t=>({v6bd152af:e.value,v16fd8ca9:i.value}));const e=(0,f.EW)(()=>t.checked?"var(--color-primary-element)":"var(--color-text-maxcontrast)"),i=(0,f.EW)(()=>t.checked?"calc(17 / 24 * 100%)":"calc(7 / 24 * 100%)");return(e,i)=>((0,f.uX)(),(0,f.Wv)(g.N,{class:(0,k.C4)(e.$style.iconToggleSwitch),svg:'<svg\n\txmlns="http://www.w3.org/2000/svg"\n\tviewBox="0 0 24 12">\n\t<path d="M17,1H7A5,5 0 0,0 2,6 5,5 0 0,0 7,11H17A5,5 0 0,0 22,6 5,5 0 0,0 17,1Z" />\n\t<circle\n\t\tcy="6"\n\t\tr="3"\n\t\tfill="var(--color-main-background)" />\n</svg>',size:t.size,inline:t.inline},null,8,["class","size","inline"]))}}),E=(0,m._)(y,[["__cssModules",{$style:{"material-design-icon":"_material-design-icon_zYnoU",iconToggleSwitch:"_iconToggleSwitch_hhj0H"}}]]);var _=i(2560),B=i(78577),T=i(81126);const S=Symbol.for("insideRadioGroup"),I={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},z=["aria-hidden","aria-label"],P=["fill","width","height"],L={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"},M={key:0},N=(0,m._)(I,[["render",function(t,e,i,n,o,a){return(0,f.uX)(),(0,f.CE)("span",(0,f.v6)(t.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon checkbox-blank-outline-icon",role:"img",onClick:e[0]||(e[0]=e=>t.$emit("click",e))}),[((0,f.uX)(),(0,f.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,f.Lk)("path",L,[i.title?((0,f.uX)(),(0,f.CE)("title",M,(0,k.v_)(i.title),1)):(0,f.Q3)("",!0)])],8,P))],16,z)}]]),$={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},D=["aria-hidden","aria-label"],X=["fill","width","height"],W={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"},V={key:0},j=(0,m._)($,[["render",function(t,e,i,n,o,a){return(0,f.uX)(),(0,f.CE)("span",(0,f.v6)(t.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon checkbox-marked-icon",role:"img",onClick:e[0]||(e[0]=e=>t.$emit("click",e))}),[((0,f.uX)(),(0,f.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,f.Lk)("path",W,[i.title?((0,f.uX)(),(0,f.CE)("title",V,(0,k.v_)(i.title),1)):(0,f.Q3)("",!0)])],8,X))],16,D)}]]),G={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},H=["aria-hidden","aria-label"],R=["fill","width","height"],F={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"},q={key:0},O=(0,m._)(G,[["render",function(t,e,i,n,o,a){return(0,f.uX)(),(0,f.CE)("span",(0,f.v6)(t.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon minus-box-icon",role:"img",onClick:e[0]||(e[0]=e=>t.$emit("click",e))}),[((0,f.uX)(),(0,f.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,f.Lk)("path",F,[i.title?((0,f.uX)(),(0,f.CE)("title",q,(0,k.v_)(i.title),1)):(0,f.Q3)("",!0)])],8,R))],16,H)}]]),U={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Q=["aria-hidden","aria-label"],Y=["fill","width","height"],Z={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"},K={key:0},J=(0,m._)(U,[["render",function(t,e,i,n,o,a){return(0,f.uX)(),(0,f.CE)("span",(0,f.v6)(t.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon radiobox-blank-icon",role:"img",onClick:e[0]||(e[0]=e=>t.$emit("click",e))}),[((0,f.uX)(),(0,f.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,f.Lk)("path",Z,[i.title?((0,f.uX)(),(0,f.CE)("title",K,(0,k.v_)(i.title),1)):(0,f.Q3)("",!0)])],8,Y))],16,Q)}]]),tt={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},et=["aria-hidden","aria-label"],it=["fill","width","height"],nt={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"},ot={key:0},at=(0,m._)(tt,[["render",function(t,e,i,n,o,a){return(0,f.uX)(),(0,f.CE)("span",(0,f.v6)(t.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon radiobox-marked-icon",role:"img",onClick:e[0]||(e[0]=e=>t.$emit("click",e))}),[((0,f.uX)(),(0,f.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,f.Lk)("path",nt,[i.title?((0,f.uX)(),(0,f.CE)("title",ot,(0,k.v_)(i.title),1)):(0,f.Q3)("",!0)])],8,it))],16,et)}]]),rt="checkbox",ct="radio",st="switch",ht="button",dt={name:"NcCheckboxContent",components:{NcLoadingIcon:_.N,NcIconToggleSwitch:E},props:{iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:t=>[rt,ct,st,ht].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===ht},isSwitchType(){return this.type===st},checkboxRadioIconElement(){return this.type===ct?this.isChecked?at:J:this.indeterminate?O:this.isChecked?j:N}}},lt={key:0,class:"checkbox-content__wrapper"},ut=["id"],bt=["id"],At=(0,m._)(dt,[["render",function(t,e,i,n,o,a){const r=(0,f.g2)("NcLoadingIcon"),c=(0,f.g2)("NcIconToggleSwitch");return(0,f.uX)(),(0,f.CE)("span",{class:(0,k.C4)(["checkbox-content",{["checkbox-content-"+i.type]:!0,"checkbox-content--button-variant":i.buttonVariant,"checkbox-content--has-text":!!t.$slots.default}])},[(0,f.Lk)("span",{class:(0,k.C4)(["checkbox-content__icon",{"checkbox-content__icon--checked":i.isChecked,"checkbox-content__icon--has-description":!a.isButtonType&&t.$slots.description,[i.iconClass]:!0}]),"aria-hidden":!0,inert:""},[(0,f.RG)(t.$slots,"icon",{checked:i.isChecked,loading:i.loading},()=>[i.loading?((0,f.uX)(),(0,f.Wv)(r,{key:0})):a.isSwitchType?((0,f.uX)(),(0,f.Wv)(c,{key:1,checked:i.isChecked,size:i.iconSize,inline:""},null,8,["checked","size"])):i.buttonVariant?(0,f.Q3)("",!0):((0,f.uX)(),(0,f.Wv)((0,f.$y)(a.checkboxRadioIconElement),{key:2,size:i.iconSize},null,8,["size"]))],!0)],2),t.$slots.default||t.$slots.description?((0,f.uX)(),(0,f.CE)("span",lt,[t.$slots.default?((0,f.uX)(),(0,f.CE)("span",{key:0,id:i.labelId,class:(0,k.C4)(["checkbox-content__text",i.textClass])},[(0,f.RG)(t.$slots,"default",{},void 0,!0)],10,ut)):(0,f.Q3)("",!0),!a.isButtonType&&t.$slots.description?((0,f.uX)(),(0,f.CE)("span",{key:1,id:i.descriptionId,class:"checkbox-content__description"},[(0,f.RG)(t.$slots,"description",{},void 0,!0)],8,bt)):(0,f.Q3)("",!0)])):(0,f.Q3)("",!0)],2)}],["__scopeId","data-v-5ca1e30f"]]);(0,B.r)();const vt={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:At},inheritAttrs:!1,props:{id:{type:String,default:()=>"checkbox-radio-switch-"+(0,T.c)(),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=>[rt,ct,st,ht].includes(t)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:t=>["no","vertical","horizontal"].includes(t)},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},class:{type:[String,Array,Object],default:""},style:{type:[String,Array,Object],default:""},description:{type:String,default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const i=(0,f.WQ)(S,void 0);return(0,f.sV)(()=>i?.value.register(!1)),{internalType:(0,f.EW)(()=>i?.value?ct:t.type),internalModelValue:(0,f.EW)({get:()=>i?.value?i.value.modelValue:t.modelValue,set(t){i?.value?i.value.onUpdate(t):e("update:modelValue",t)}}),labelId:(0,T.c)(),descriptionId:(0,T.c)()}},computed:{isButtonType(){return this.internalType===ht},computedWrapperElement(){return this.isButtonType?"button":null!==this.wrapperElement?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},iconSize(){return this.internalType===st?36:20},cssIconSize(){return this.iconSize+"px"},cssIconHeight(){return this.internalType===st?"16px":this.cssIconSize},inputType(){return[rt,ct,ht].includes(this.internalType)?this.internalType:rt},inputRole(){return this.internalType===st?"switch":void 0},isChecked(){return null!==this.value?Array.isArray(this.internalModelValue)?[...this.internalModelValue].indexOf(this.value)>-1:this.internalModelValue===this.value:!0===this.internalModelValue},hasIndeterminate(){return[rt,ct].includes(this.inputType)}},mounted(){if(this.name&&this.internalType===rt&&!Array.isArray(this.internalModelValue))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.internalType===st)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if("boolean"!=typeof this.internalModelValue&&this.internalType===st)throw new Error("Switches can only be used with boolean as modelValue prop.")},methods:{t:B.a,n:B.L,onToggle(t){this.disabled||"a"===t.target.tagName.toLowerCase()||(this.internalType!==ct?this.internalType!==st?"boolean"!=typeof this.internalModelValue?this.isChecked?this.internalModelValue=this.internalModelValue.filter(t=>t!==this.value):this.internalModelValue=[...this.internalModelValue,this.value]:this.internalModelValue=!this.internalModelValue:this.internalModelValue=!this.isChecked:this.internalModelValue=this.value)}}},pt=()=>{(0,x.$9)(t=>({f99d0228:t.cssIconSize,v69c82152:t.cssIconHeight}))},ft=vt.setup;vt.setup=ft?(t,e)=>(pt(),ft(t,e)):pt;const kt=["id","aria-labelledby","aria-describedby","aria-label","disabled","type","role","value","checked",".indeterminate","required","name"],xt=(0,m._)(vt,[["render",function(t,e,i,n,o,a){const r=(0,f.g2)("NcCheckboxContent");return(0,f.uX)(),(0,f.Wv)((0,f.$y)(a.computedWrapperElement),(0,f.v6)({id:i.wrapperId??(a.isButtonType?i.id:null),"aria-label":a.isButtonType&&i.ariaLabel?i.ariaLabel:void 0,class:["checkbox-radio-switch",[t.$props.class,{["checkbox-radio-switch-"+n.internalType]:n.internalType,"checkbox-radio-switch--checked":a.isChecked,"checkbox-radio-switch--disabled":i.disabled,"checkbox-radio-switch--indeterminate":!!a.hasIndeterminate&&i.indeterminate,"checkbox-radio-switch--button-variant":i.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":i.buttonVariant&&"vertical"===i.buttonVariantGrouped,"checkbox-radio-switch--button-variant-h-grouped":i.buttonVariant&&"horizontal"===i.buttonVariantGrouped,"button-vue":a.isButtonType}]],style:i.style,type:a.isButtonType?"button":null},a.isButtonType?t.$attrs:{},(0,f.Tb)(a.isButtonType?a.listeners:{})),{default:(0,f.k6)(()=>[a.isButtonType?(0,f.Q3)("",!0):((0,f.uX)(),(0,f.CE)("input",(0,f.v6)({key:0,id:i.id,"aria-labelledby":a.isButtonType||i.ariaLabel?null:n.labelId,"aria-describedby":a.isButtonType||!i.description&&!t.$slots.description?null:n.descriptionId,"aria-label":i.ariaLabel||void 0,class:"checkbox-radio-switch__input",disabled:i.disabled,type:a.inputType,role:a.inputRole,value:i.value,checked:a.isChecked,".indeterminate":a.hasIndeterminate?i.indeterminate:null,required:i.required,name:i.name},t.$attrs,(0,f.Tb)(a.listeners,!0)),null,48,kt)),(0,f.bF)(r,{id:a.isButtonType?void 0:`${i.id}-label`,class:"checkbox-radio-switch__content",iconClass:"checkbox-radio-switch__icon",textClass:"checkbox-radio-switch__text",type:n.internalType,indeterminate:!!a.hasIndeterminate&&i.indeterminate,buttonVariant:i.buttonVariant,isChecked:a.isChecked,loading:i.loading,labelId:n.labelId,descriptionId:n.descriptionId,iconSize:a.iconSize,onClick:a.onToggle},(0,f.eX)({icon:(0,f.k6)(()=>[(0,f.RG)(t.$slots,"icon",{},void 0,!0)]),_:2},[t.$slots.description||i.description?{name:"description",fn:(0,f.k6)(()=>[(0,f.RG)(t.$slots,"description",{},()=>[(0,f.eW)((0,k.v_)(i.description),1)],!0)]),key:"0"}:void 0,t.$slots.default?{name:"default",fn:(0,f.k6)(()=>[(0,f.RG)(t.$slots,"default",{},void 0,!0)]),key:"1"}:void 0]),1032,["id","type","indeterminate","buttonVariant","isChecked","loading","labelId","descriptionId","iconSize","onClick"])]),_:3},16,["id","aria-label","class","style","type"])}],["__scopeId","data-v-81045d2a"]])},99987(t,e,i){i.d(e,{A:()=>s});var n=i(32288),o=i(12416),a=i(51784),r=i(43967);const c=["data-timestamp","title","textContent"],s=(0,n.pM)({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(t){const e=t,i=(0,n.EW)(()=>({format:e.format})),s=(0,n.EW)(()=>({ignoreSeconds:e.ignoreSeconds,relativeTime:e.relativeTime||"long",update:!1!==e.relativeTime})),h=(0,r.a)((0,o.lW)(()=>e.timestamp),i),d=(0,r.S)((0,o.lW)(()=>e.timestamp),s),l=(0,n.EW)(()=>e.relativeTime?d.value:h.value);return(e,i)=>((0,n.uX)(),(0,n.CE)("span",{class:"nc-datetime",dir:"auto","data-timestamp":t.timestamp,title:(0,o.R1)(h),textContent:(0,a.v_)(l.value)},null,8,c))}})}}]);
|
|
//# sourceMappingURL=162-162.js.map?v=523384523575b67b4252
|